/* ============================================
   iOS App 風格 V5 — 含登入頁面
   ============================================ */

:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #000000;
  --text-secondary: #6e6e73;
  --accent: #007aff;
  --green: #34c759;
  --red: #ff3b30;
  --orange: #ff9500;
  --separator: rgba(60, 60, 67, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  font-family: -apple-system, "SF Pro Display", "Helvetica Neue", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   登入頁面
   ============================================ */
#login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: var(--bg);
}

.login-container {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.login-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  color: white;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: -apple-system, sans-serif;
}

.login-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.login-subtitle {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.login-form input {
  width: 100%;
  padding: 16px 18px;
  border: none;
  border-bottom: 0.33px solid var(--separator);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: transparent;
}

.login-form input:last-of-type {
  border-bottom: none;
}

.login-form input:focus {
  outline: none;
  background: rgba(0, 122, 255, 0.04);
}

.login-form input::placeholder {
  color: #c7c7cc;
}

.login-form .btn {
  margin: 16px;
  width: calc(100% - 32px);
  border-radius: 12px;
}

.login-error {
  color: var(--red);
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* ============================================
   頂部導航
   ============================================ */
header {
  background: rgba(242, 242, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.33px solid rgba(0, 0, 0, 0.15);
  padding: 8px 16px 12px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

#user-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.logout-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 0;
}

header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

/* 系統切換 */
#system-switcher {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.system-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.system-btn.active {
  background: var(--accent);
  color: white;
}

.sub-nav {
  display: flex;
  background: rgba(118, 118, 128, 0.12);
  border-radius: 9px;
  padding: 2px;
  max-width: 400px;
  margin: 0 auto;
}

nav {
  max-width: 400px;
  margin: 0 auto;
}

.nav-btn {
  flex: 1;
  background: transparent;
  color: var(--text);
  border: none;
  padding: 7px 0;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-btn.active {
  background: var(--card);
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12), 0 1px 1px rgba(0,0,0,0.06);
}

.nav-btn.hidden { display: none; }

/* ============================================
   內容區
   ============================================ */
main {
  max-width: 540px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.section-title {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0 16px;
  margin-bottom: 8px;
}

.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

/* ============================================
   表單
   ============================================ */
.form-row {
  display: flex;
  flex-direction: column;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-bottom: 0.33px solid var(--separator);
  border-radius: 0;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  appearance: none;
  -webkit-appearance: none;
}

.form-row input:last-child,
.form-row select:last-child { border-bottom: none; }

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23c7c7cc' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  background: rgba(0, 122, 255, 0.03);
}

.form-row input::placeholder { color: #c7c7cc; }

/* ============================================
   按鈕
   ============================================ */
.btn {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.12s ease;
  margin-bottom: 8px;
}

.btn:active { transform: scale(0.975); opacity: 0.8; }
.btn-primary { background: var(--accent); color: white; }
.btn-success { background: var(--green); color: white; }

.btn-danger {
  background: transparent;
  color: var(--red);
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 400;
  width: auto;
  display: inline;
}

/* ============================================
   頁面切換
   ============================================ */
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   列表
   ============================================ */
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 0.33px solid var(--separator);
}

.list-item:last-child { border-bottom: none; }
.list-item-info { flex: 1; }
.list-item-info .name { font-weight: 500; font-size: 1rem; }
.list-item-info .detail { color: var(--text-secondary); font-size: 0.82rem; margin-top: 2px; }

/* ============================================
   點名
   ============================================ */
.att-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 0.33px solid var(--separator);
  gap: 10px;
}

.att-row:last-child { border-bottom: none; }
.att-row .name { flex: 1; font-size: 1rem; }

.att-status { display: flex; gap: 8px; }

.att-status button {
  width: 38px; height: 38px;
  border: none; border-radius: 50%;
  background: var(--bg);
  font-size: 0.78rem; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
}

.att-status button:active { transform: scale(0.85); }
.att-status button.present.selected { background: var(--green); color: white; box-shadow: 0 2px 12px rgba(52,199,89,0.4); }
.att-status button.absent.selected { background: var(--red); color: white; box-shadow: 0 2px 12px rgba(255,59,48,0.4); }
.att-status button.late.selected { background: var(--orange); color: white; box-shadow: 0 2px 12px rgba(255,149,0,0.4); }

/* ============================================
   Toast / Empty
   ============================================ */
.empty-msg { text-align: center; color: var(--text-secondary); padding: 24px 16px; font-size: 0.95rem; }

.toast {
  position: fixed; bottom: 50px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.78); backdrop-filter: blur(20px);
  color: white; padding: 13px 26px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; z-index: 999;
  animation: toastAnim 2s ease forwards;
}

@keyframes toastAnim {
  0% { opacity: 0; transform: translateX(-50%) translateY(20px) scale(0.85); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================
   課程學生管理
   ============================================ */
.course-expand {
  margin-top: 10px; padding: 14px 16px;
  background: var(--bg); border-radius: 10px;
}

.course-expand select {
  padding: 10px 12px; border: none; border-radius: 10px;
  font-family: inherit; font-size: 0.9rem; background: var(--card); margin-right: 8px;
}

.course-student-tag {
  display: inline-flex; align-items: center;
  background: rgba(0,122,255,0.1); color: var(--accent);
  padding: 6px 14px; border-radius: 50px; margin: 3px;
  font-size: 0.85rem; font-weight: 500;
}

.course-student-tag .remove { cursor: pointer; margin-left: 6px; color: var(--text-secondary); font-size: 0.75rem; }
.course-student-tag .remove:hover { color: var(--red); }

/* ============================================
   課程卡片
   ============================================ */
.course-card {
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.course-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.course-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.course-card-count {
  background: rgba(0,122,255,0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-card-info {
  margin-bottom: 12px;
}

.course-card-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 0.33px solid var(--separator);
}

.course-card-row:last-child { border-bottom: none; }

.course-card-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.course-card-value {
  font-size: 0.85rem;
  font-weight: 500;
}

.course-card-actions {
  display: flex;
  gap: 8px;
}

.course-card-btn {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.course-card-btn.edit {
  background: rgba(0,122,255,0.1);
  color: var(--accent);
}

.course-card-btn.students {
  background: rgba(52,199,89,0.1);
  color: var(--green);
}

.course-card-btn.delete {
  background: rgba(255,59,48,0.08);
  color: var(--red);
}

.course-card-btn:active { opacity: 0.6; }

.course-edit-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.course-edit-form label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.course-edit-form select,
.course-edit-form input {
  padding: 10px 12px;
  border: 1px solid var(--separator);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--bg);
}

.course-edit-form select:focus,
.course-edit-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ============================================
   班級卡片網格
   ============================================ */
.class-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.class-card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.15s;
}

.class-card:active { transform: scale(0.96); }

.class-card-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(0,122,255,0.1);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.class-card-name {
  font-size: 1rem;
  font-weight: 700;
}

.class-card-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================
   學生網格（5人一排）
   ============================================ */
.student-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.student-grid-item {
  background: var(--card);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background 0.15s;
}

.student-grid-item:active { background: var(--bg); }

.student-grid-num {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.student-grid-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.student-grid-class {
  font-size: 0.65rem;
  color: var(--accent);
  margin-top: 2px;
}

/* 已加入的學生 */
.student-grid-item.enrolled {
  position: relative;
  border: 1px solid rgba(52,199,89,0.3);
  background: rgba(52,199,89,0.04);
}

.student-grid-remove {
  position: absolute;
  top: 2px; right: 4px;
  font-size: 0.65rem;
  color: var(--red);
  cursor: pointer;
  padding: 2px;
}

/* 可勾選的學生 */
.student-grid-item.selectable {
  position: relative;
  cursor: pointer;
}

.student-chk-mark {
  width: 16px; height: 16px;
  border: 2px solid var(--separator);
  border-radius: 50%;
  margin: 4px auto 0;
}

.student-grid-item.selectable:has(input:checked),
.student-grid-item.checked {
  border: 2px solid var(--accent);
  background: rgba(0,122,255,0.06);
}

.student-grid-item.selectable:has(input:checked) .student-chk-mark,
.student-grid-item.checked .student-chk-mark {
  background: var(--accent);
  border-color: var(--accent);
}

/* 小型班級卡片 */
.class-card.mini {
  padding: 12px 8px;
}

.class-card.mini .class-card-name {
  font-size: 0.9rem;
}

.class-card.mini .class-card-count {
  font-size: 0.72rem;
}

/* ============================================
   彈窗 Modal
   ============================================ */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.2s;
}

.modal-content {
  background: var(--bg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 0.33px solid var(--separator);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close {
  background: var(--separator);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 16px 20px 40px;
}

.modal-body .section-title {
  margin-top: 16px;
}

/* 角色標籤 */
.role-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.role-tag.admin { background: rgba(0,122,255,0.1); color: var(--accent); }
.role-tag.teacher { background: rgba(52,199,89,0.1); color: var(--green); }

/* ============================================
   總表 Dashboard
   ============================================ */
.dashboard-stats {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.dashboard-stats span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

/* 匯入分頁切換 */
.import-tab {
  padding: 6px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: var(--bg);
  color: var(--text-secondary);
}
.import-tab.active {
  background: var(--accent);
  color: white;
}

/* ============================================
   老師課程卡片
   ============================================ */
.teacher-course-card {
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border-left: 4px solid var(--separator);
}

.teacher-course-card.today {
  border-left-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,122,255,0.12);
}

/* 課堂時間條 */
.session-time-bar {
  display: flex;
  justify-content: space-around;
  background: rgba(0,122,255,0.08);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* 點名時間標籤 */
.att-time {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-left: 6px;
}

/* 出缺席明細表 */
.att-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
}

.att-detail-table th, .att-detail-table td {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 0.33px solid var(--separator);
  white-space: nowrap;
}

.att-detail-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text-secondary);
  position: sticky;
  top: 0;
  z-index: 1;
}

.att-detail-table .sticky-col {
  position: sticky;
  left: 0;
  background: var(--card);
  z-index: 2;
  text-align: left;
  font-weight: 500;
  min-width: 60px;
}

.att-detail-table th.sticky-col {
  background: var(--bg);
  z-index: 3;
}

.att-cell.present { color: var(--green); font-weight: 700; }
.att-cell.absent { color: var(--red); font-weight: 700; }
.att-cell.count-present { color: var(--green); font-weight: 700; background: rgba(52,199,89,0.06); }
.att-cell.count-absent { color: var(--red); font-weight: 700; background: rgba(255,59,48,0.06); }

/* 管理員點名摘要卡片 */
.att-summary-card {
  padding: 14px 16px;
  border-bottom: 0.33px solid var(--separator);
}
.att-summary-card:last-child { border-bottom: none; }

.att-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.att-summary-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.att-summary-teacher {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.att-summary-details {
  background: var(--bg);
  border-radius: 10px;
  padding: 8px 12px;
}

.att-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.85rem;
}

.att-summary-row span:first-child {
  color: var(--text-secondary);
}

.stat-present { background: rgba(52,199,89,0.12); color: var(--green); }
.stat-late { background: rgba(255,149,0,0.12); color: var(--orange); }
.stat-absent { background: rgba(255,59,48,0.12); color: var(--red); }
.stat-rate { background: rgba(0,122,255,0.1); color: var(--accent); }

/* ============================================
   管理學生列表
   ============================================ */
.manage-student-list {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.manage-student-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 0.33px solid var(--separator);
  gap: 10px;
}

.manage-student-row:last-child { border-bottom: none; }

.manage-student-num {
  font-size: 0.75rem;
  color: var(--text-secondary);
  min-width: 22px;
  text-align: center;
}

.manage-student-name {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.manage-student-name:active { color: var(--accent); }

.manage-student-actions {
  display: flex;
  gap: 6px;
}

.manage-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.manage-btn.edit {
  background: rgba(0,122,255,0.1);
  color: var(--accent);
}

.manage-btn.delete {
  background: rgba(255,59,48,0.08);
  color: var(--red);
}

.manage-btn:active { opacity: 0.6; }

/* ============================================
   經手人卡片
   ============================================ */
.pc-handler-card {
  padding: 10px 18px;
  border-radius: 12px;
  border: 2px solid var(--separator);
  background: var(--card);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.pc-handler-card:active { transform: scale(0.95); }

.pc-handler-card.selected {
  border-color: var(--orange);
  background: rgba(255,149,0,0.1);
  color: var(--orange);
}

/* ============================================
   點名篩選列
   ============================================ */
.att-filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.att-filter-btn {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: var(--bg);
  color: var(--text-secondary);
  transition: all 0.15s;
}

.att-filter-btn.active {
  background: var(--accent);
  color: white;
}
.att-filter-btn.active.green {
  background: var(--green);
}
.att-filter-btn.active.red {
  background: var(--red);
}

/* ============================================
   點名卡片模式（5人一排）
   ============================================ */
.att-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.att-card {
  background: var(--card);
  border-radius: 14px;
  padding: 16px 6px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 2.5px solid var(--separator);
  transition: all 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.att-card:active { transform: scale(0.92); }

.att-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.att-card-status {
  font-size: 0.75rem;
  font-weight: 700;
  min-height: 1.1em;
}

.att-card.present {
  background: rgba(52,199,89,0.1);
  border-color: var(--green);
}
.att-card.present .att-card-status { color: var(--green); }

.att-card.absent {
  background: rgba(255,59,48,0.08);
  border-color: var(--red);
}
.att-card.absent .att-card-status { color: var(--red); }
