/* ── ZANDE — Premium Light ECD Platform ──────────────────────────────────── */
/* Clean Light · Dark Sidebar · Emerald · Plus Jakarta Sans                   */

/* Self-hosted font — eliminates Google Fonts round-trip latency */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/PlusJakartaSans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Backgrounds */
  --bg:            #F8FAFC;
  --surface:       #FFFFFF;
  --surface-2:     #F1F5F9;
  --surface-3:     #E8EDF2;

  /* Sidebar (light) */
  --sidebar-bg:    #FFFFFF;
  --sidebar-surf:  #F8FAFC;

  /* Accent: Emerald */
  --accent:        #059669;
  --accent-hover:  #047857;
  --accent-glow:   rgba(5, 150, 105, 0.20);
  --accent-dim:    rgba(5, 150, 105, 0.10);
  --accent-light:  rgba(5, 150, 105, 0.15);
  --accent-pale:   rgba(5, 150, 105, 0.06);

  /* Status */
  --danger:        #DC2626;
  --danger-dim:    rgba(220, 38, 38, 0.08);
  --danger-light:  rgba(220, 38, 38, 0.08);
  --warning:       #D97706;
  --warning-dim:   rgba(217, 119, 6, 0.08);
  --warning-light: rgba(217, 119, 6, 0.08);

  /* Text */
  --text:          #0F172A;
  --text-muted:    #64748B;
  --text-light:    #94A3B8;

  /* Borders */
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:     0 4px 12px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
  --shadow-md:  0 10px 30px rgba(15,23,42,.10), 0 4px 8px rgba(15,23,42,.06);

  /* Geometry */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 32px;

  /* Layout */
  --sidebar-w: 252px;

  /* Type */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── SCROLL REVEAL ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── LAYOUT ───────────────────────────────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100dvh;
}

/* ── SIDEBAR (DARK) ───────────────────────────────────────────────────────── */
/* ── TOPBAR ───────────────────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  z-index: 90;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}

.topbar-hamburger {
  width: 36px; height: 36px;
  border: none; background: transparent; cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border-radius: 8px; padding: 0; flex-shrink: 0;
  transition: background 0.2s;
}
.topbar-hamburger:hover { background: var(--surface-2); }
.topbar-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.32,0.72,0,1);
}

.topbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center;
  text-decoration: none;
}
.topbar-logo-img {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
}
.topbar-logo-text { display: none; }

.topbar-school {
  margin-left: auto;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.topbar-signout {
  display: flex; align-items: center; gap: 6px;
  margin-left: 12px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  color: var(--danger);
  background: var(--danger-dim);
  border: 1px solid rgba(220,38,38,.18);
  text-decoration: none;
  transition: background 0.2s var(--ease-expo), border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.topbar-signout:hover {
  background: rgba(220,38,38,.14);
  border-color: rgba(220,38,38,.35);
  color: var(--danger);
}

/* ── SIDEBAR BACKDROP ─────────────────────────────────────────────────────── */
.sidebar-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.35);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  z-index: 199;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.32,0.72,0,1);
}
.sidebar-backdrop.visible {
  opacity: 1; pointer-events: all;
}

/* ── SIDEBAR ──────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
  box-shadow: none;
}
.sidebar.open {
  transform: translateX(0);
  box-shadow: 8px 0 48px rgba(15,23,42,.12);
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(5,150,105,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.sidebar > * { position: relative; z-index: 1; }

.sidebar-logo {
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo-row {
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar-close {
  width: 30px; height: 30px;
  border: none; background: transparent; cursor: pointer;
  border-radius: 7px; font-size: .8rem; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s; flex-shrink: 0;
}
.sidebar-close:hover { background: var(--surface-2); color: var(--text); }

.sidebar-logo .logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.sidebar-logo .logo-mark img {
  width: 32px; height: 32px;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
}

/* ── Global logo icon (CSS mark — replaces logo.png on light backgrounds) ── */
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 8px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  user-select: none;
}
.logo-icon--lg {
  width: 56px; height: 56px;
  font-size: 26px;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* Sidebar variant — light background */
.sidebar-logo .logo-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  font-size: 15px;
}

.sidebar-logo .logo-text,
.sidebar-logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.sidebar-logo .school-name {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: 6px;
  padding-left: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  padding: 8px 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-section-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 14px 10px 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .83rem;
  font-weight: 500;
  transition: background 0.2s var(--ease-expo), color 0.2s var(--ease-expo);
  margin-bottom: 1px;
  cursor: pointer;
  position: relative;
}

.nav-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-item.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.nav-icon { font-size: .9rem; width: 18px; text-align: center; flex-shrink: 0; opacity: .7; }
.nav-item.active .nav-icon { opacity: 1; }

.nav-badge {
  margin-left: auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: .58rem;
  padding: 1px 6px;
  border-radius: 20px;
  font-weight: 600;
  color: var(--text-light);
}

.nav-item.soon { opacity: .35; cursor: default; pointer-events: none; }

.sidebar-footer {
  padding: 12px 10px;
  border-top: 1px solid var(--border);
}

.sidebar-signout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--danger-dim);
  border: 1px solid rgba(220,38,38,.18);
  color: var(--danger);
  font-size: .84rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease-expo), border-color 0.2s;
}

.sidebar-signout-btn:hover {
  background: rgba(220,38,38,.14);
  border-color: rgba(220,38,38,.35);
  color: var(--danger);
}

/* ── MAIN CONTENT ─────────────────────────────────────────────────────────── */
.main {
  margin-left: 0;
  padding-top: 56px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--bg);
}

.page-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 56px;
  z-index: 40;
}

.page-header h1,
.page-header .page-title-school {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.page-eyebrow {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 2px;
}

.page-header .page-sub {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

.page-header-actions { display: flex; align-items: center; gap: 8px; }

.page-body { padding: 24px 28px; flex: 1; }

/* ── EMAIL VERIFICATION BANNER ────────────────────────────────────────────── */
.verify-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  padding: 10px 28px;
  font-size: .84rem;
  color: #92400E;
}
.verify-banner-icon { font-size: 1rem; flex-shrink: 0; }
.verify-banner-text { flex: 1; }
.verify-banner-btn {
  background: #F59E0B;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.verify-banner-btn:hover { background: #D97706; }

/* ── FLASH MESSAGES ───────────────────────────────────────────────────────── */
.flash-wrap { padding: 0 28px; }

.flash {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  margin: 10px 0 0;
  font-size: .84rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid;
}

.flash.success { background: #F0FDF4; border-color: #BBF7D0; color: #15803D; }
.flash.error   { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }
.flash.info    { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }

/* ── CARD ─────────────────────────────────────────────────────────────────── */
.card-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2px;
  box-shadow: var(--shadow-sm);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card-shell > .card { border-radius: calc(var(--radius-xl) - 2px); }

.card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-header h2 { font-size: .9rem; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }

.card-body { padding: 20px; }

.card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ── STAT CARDS ───────────────────────────────────────────────────────────── */
.stats-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-expo), transform 0.3s var(--ease-expo);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.stat-halo {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
  animation: halo-orbit 10s linear infinite;
}

.stat-card.danger .stat-halo  { background: radial-gradient(circle, rgba(220,38,38,.12) 0%, transparent 70%); }
.stat-card.warning .stat-halo { background: radial-gradient(circle, rgba(217,119,6,.10) 0%, transparent 70%); }

@keyframes halo-orbit {
  0%   { top: -10%; left: -10%; }
  25%  { top: -10%; left: 80%; }
  50%  { top: 80%;  left: 80%; }
  75%  { top: 80%;  left: -10%; }
  100% { top: -10%; left: -10%; }
}

.stat-label {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: 10px;
  position: relative;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1;
  position: relative;
}

.stat-value.accent  { color: var(--accent); }
.stat-value.danger  { color: var(--danger); }
.stat-value.warning { color: var(--warning); }

.stat-sub { font-size: .72rem; color: var(--text-muted); margin-top: 6px; position: relative; }

/* ── PROGRESS BAR ─────────────────────────────────────────────────────────── */
.progress-wrap { background: var(--surface-2); border-radius: 20px; height: 5px; overflow: hidden; }

.progress-bar {
  height: 100%;
  border-radius: 20px;
  background: var(--accent);
  transition: width 0.6s var(--ease-expo);
}

.progress-bar.danger  { background: var(--danger); }
.progress-bar.warning { background: var(--warning); }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: .84rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all 0.22s var(--ease-expo);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  letter-spacing: -0.1px;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 0 0 var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }

.btn-outline { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--bg); color: var(--text); border-color: #94A3B8; }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-danger { background: var(--danger-dim); color: var(--danger); border: 1px solid rgba(220,38,38,.2); }
.btn-danger:hover { background: rgba(220,38,38,.14); color: var(--danger); }

.btn-wa { background: #25D366; color: #fff; display:inline-flex;align-items:center;gap:6px; }
.btn-wa:hover { background: #1ebe5d; color: #fff; }

.btn-sm { padding: 6px 14px; font-size: .78rem; }
.btn-lg { padding: 13px 28px; font-size: .96rem; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }

/* ── MODAL ── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease;
}
.modal-backdrop.modal-open { opacity: 1; }
.modal-card {
  width: 100%;
  max-width: 440px;
  transform: translateY(12px);
  transition: transform .2s ease;
}
.modal-backdrop.modal-open .modal-card { transform: translateY(0); }

.btn-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  transition: transform 0.22s var(--ease-expo);
  flex-shrink: 0;
}

.btn-outline .btn-arrow, .btn-ghost .btn-arrow { background: var(--surface-2); }
.btn:hover .btn-arrow { transform: translate(2px, -1px) scale(1.1); }

/* ── TABLES ───────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }

th {
  text-align: left;
  padding: 9px 14px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg); }
.td-name  { font-weight: 600; }
.td-muted { color: var(--text-muted); font-size: .78rem; }

/* ── BADGES ───────────────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 20px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.badge-green  { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.badge-red    { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.badge-yellow { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.badge-gray   { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }
.badge-blue   { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }

/* ── FORMS ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }

label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

label .req { color: var(--danger); }

input[type=text], input[type=email], input[type=password], input[type=number],
input[type=date], input[type=tel], select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s var(--ease-expo), box-shadow 0.2s var(--ease-expo);
  outline: none;
  appearance: none;
}

input::placeholder, textarea::placeholder { color: var(--text-light); }

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

textarea { min-height: 90px; resize: vertical; }
.form-hint { font-size: .72rem; color: var(--text-muted); margin-top: 4px; }
.form-row   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── TABS ─────────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; padding: 3px; }

.tab {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .80rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease-expo);
  border: none;
  background: transparent;
  text-decoration: none;
  font-family: var(--font);
}

.tab:hover { color: var(--text); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ── SEARCH ───────────────────────────────────────────────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 0 14px; height: 38px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-bar input { border: none; box-shadow: none; padding: 0; flex: 1; width: 200px; background: transparent; }
.search-bar input:focus { box-shadow: none; border: none; }
.search-bar .search-icon { color: var(--text-muted); font-size: .9rem; }

/* ── EMPTY STATE ──────────────────────────────────────────────────────────── */
.empty-state { padding: 60px 20px; text-align: center; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: .3; }
.empty-state h3 { font-size: .96rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty-state p  { font-size: .84rem; margin-bottom: 20px; }

/* ── AVATAR ───────────────────────────────────────────────────────────────── */
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
  flex-shrink: 0;
  border: 1px solid var(--accent-light);
}

/* ── AUTH PAGES ───────────────────────────────────────────────────────────── */
.auth-wrap {
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.auth-card-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-md);
}

.auth-card {
  background: var(--surface);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 40px;
}

.auth-logo { text-align: center; margin-bottom: 32px; }

.auth-logo .logo-icon {
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.auth-logo .logo-img {
  width: 100px; height: 100px;
  border-radius: 0;
  object-fit: contain;
  margin-bottom: 8px;
  display: inline-block;
}

.auth-logo h1 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }
.auth-logo p  { font-size: .8rem; color: var(--text-muted); margin-top: 5px; }
.auth-footer  { text-align: center; margin-top: 22px; font-size: .8rem; color: var(--text-muted); }

/* ── ONBOARDING WIZARD ────────────────────────────────────────────────────── */
.wizard-wrap {
  min-height: 100dvh; display: flex; align-items: flex-start;
  justify-content: center; background: var(--bg); padding: 40px 24px;
}

.wizard-card-shell {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2px;
  width: 100%; max-width: 600px;
  box-shadow: var(--shadow-md);
}

.wizard-card { background: var(--surface); border-radius: calc(var(--radius-xl) - 2px); }

.wizard-header { padding: 28px 32px 20px; border-bottom: 1px solid var(--border); }
.wizard-steps  { display: flex; margin-top: 16px; }

.wizard-step {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; color: var(--text-light); position: relative;
}

.wizard-step::after {
  content: ''; flex: 1; height: 1px; background: var(--border); margin: 0 8px;
}

.wizard-step:last-child::after { display: none; }

.wizard-step .step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; flex-shrink: 0;
}

.wizard-step.done .step-num   { background: var(--accent); border-color: var(--accent); color: #fff; }
.wizard-step.done             { color: var(--accent); }
.wizard-step.done::after      { background: var(--accent); opacity: 0.3; }
.wizard-step.active .step-num { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.wizard-step.active           { color: var(--text); }

.wizard-body   { padding: 28px 32px; }
.wizard-footer { padding: 20px 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

/* ── AG TABLE ─────────────────────────────────────────────────────────────── */
.ag-row { display: grid; grid-template-columns: 1fr 1fr 100px 40px; gap: 8px; align-items: start; margin-bottom: 8px; }
.ag-row input { margin-bottom: 0; }

/* ── DIVIDER ──────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 24px 0; }


/* ────────────────────────────────────────────────────────────────────────── */
/*  LANDING PAGE                                                               */
/* ────────────────────────────────────────────────────────────────────────── */
.landing-body { background: #F8FAFC; color: var(--text); min-height: 100dvh; }

/* ── NAV ──────────────────────────────────────────────────────────────────── */
.landing-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  z-index: 50;
  pointer-events: none;
}

.landing-nav-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 7px 7px 7px 18px;
  width: 100%;
  max-width: 860px;
  pointer-events: all;
  box-shadow: 0 4px 24px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.05), inset 0 1px 0 rgba(255,255,255,.8);
}

.landing-nav .logo-mark {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; margin-right: 8px; flex-shrink: 0;
}

.landing-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.landing-nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1;
}

.landing-nav-link {
  font-size: .82rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  padding: 7px 14px; border-radius: 100px;
  transition: all 0.25s var(--ease-expo);
}
.landing-nav-link:hover { color: var(--text); background: var(--surface-2); }

.landing-nav-actions { display: flex; align-items: center; gap: 6px; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.landing-hero {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0D1F17;
  overflow: hidden;
}

/* Dark overlay */
.landing-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3,8,18,.68) 0%,
    rgba(3,8,18,.55) 40%,
    rgba(3,8,18,.80) 85%,
    #F8FAFC 100%
  );
  pointer-events: none; z-index: 0;
}

/* Smooth bottom fade into page background */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #F8FAFC);
  z-index: 2; pointer-events: none;
}

/* Hero content above overlay */
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 120px 40px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(5,150,105,.18);
  border: 1px solid rgba(16,185,129,.30);
  color: #34D399; border-radius: 100px;
  padding: 6px 16px; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
  color: #fff;
  text-shadow: 0 2px 32px rgba(0,0,0,.25);
}

.hero-title .hero-accent {
  background: linear-gradient(135deg, #34D399 0%, #6EE7B7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.70);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-cta {
  display: flex; align-items: center;
  justify-content: center;
  gap: 12px; flex-wrap: wrap;
}

.hero-meta {
  font-size: .72rem;
  color: rgba(255,255,255,.38);
  margin-top: 20px;
  letter-spacing: .02em;
}

/* Ghost button for hero dark bg */
.hero-ghost-btn {
  color: #fff !important;
  border-color: rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.08) !important;
  backdrop-filter: blur(8px);
}
.hero-ghost-btn:hover {
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.45) !important;
}

/* ── SHARED SECTION LAYOUT ─────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--text-muted); border-radius: 100px;
  padding: 5px 14px; font-size: .63rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 12px; line-height: 1.15;
}

.section-sub {
  font-size: .92rem; color: var(--text-muted);
  line-height: 1.75; max-width: 520px;
  margin: 0 auto;
}

/* ── FEATURES ─────────────────────────────────────────────────────────────── */
.features-section {
  max-width: 1060px; margin: 0 auto;
  padding: 96px 40px 96px;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px; position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-expo), transform 0.3s var(--ease-expo), border-color 0.3s;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.feature-card.span-2 { grid-column: span 2; }
.feature-card.span-3 { grid-column: span 3; }
.feature-card.span-4 { grid-column: span 4; }

/* Split layout for Financial Reports card */
.feature-card--split {
  display: flex; align-items: center; gap: 36px;
}

.feature-card-body { flex: 1; }

.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 18px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: .93rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text); letter-spacing: -0.2px;
}
.feature-card p {
  font-size: .82rem; color: var(--text-muted); line-height: 1.65;
}

/* Financial stat mini-cards (light mode) */
.fsc-stack {
  flex-shrink: 0;
  display: flex; flex-direction: column;
  gap: 8px; min-width: 156px;
}

.fsc-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px;
}

.fsc-label {
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-light); margin-bottom: 6px;
}

.fsc-value {
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text);
}

.fsc-value--green { color: var(--accent); }

.fsc-bar-wrap {
  background: var(--surface-3);
  border-radius: 20px; height: 4px;
  margin-top: 10px; overflow: hidden;
}

.fsc-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 20px;
}

/* ── BUILT FOR SA ─────────────────────────────────────────────────────────── */
.sa-section {
  max-width: 1060px; margin: 0 auto;
  padding: 0 40px 96px;
}

.sa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.sa-text { display: flex; flex-direction: column; gap: 0; }
.sa-text .section-eyebrow { margin-bottom: 16px; }
.sa-text .section-title { margin-bottom: 14px; text-align: left; }
.sa-sub { margin: 0; text-align: left; max-width: 100%; }

.sa-checks {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}

.sa-check {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--text-muted); line-height: 1.5;
}

.sa-check::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: var(--accent);
  font-weight: 700;
}

.sa-images {
  display: flex; flex-direction: column; gap: 10px;
}

.sa-img-shell {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3px;
  box-shadow: var(--shadow-md);
}

.sa-img-shell--sm { border-radius: var(--radius-lg); }

.sa-img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 3px);
  display: block; object-fit: cover;
}

.sa-img--materials {
  border-radius: calc(var(--radius-lg) - 3px);
  max-height: 180px;
}

/* ── PRICING ──────────────────────────────────────────────────────────────── */
.pricing-section {
  max-width: 820px; margin: 0 auto;
  padding: 0 40px 96px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; text-align: left; margin-top: 44px;
}

.pricing-card-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.pricing-card-shell.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(5,150,105,.12);
}

.pricing-card {
  background: var(--surface);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 32px;
}

.pricing-tier {
  font-size: .63rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-muted); margin-bottom: 16px;
}

.pricing-card-shell.featured .pricing-tier { color: var(--accent); }

.pricing-price {
  font-size: 3rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text);
  line-height: 1; margin-bottom: 4px;
}

.pricing-period {
  font-size: .78rem; color: var(--text-muted); margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 11px;
  font-size: .84rem; margin-bottom: 28px;
  color: var(--text-muted);
}

.pricing-features li {
  display: flex; align-items: center; gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-light);
  color: var(--accent); font-size: .6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.btn-block {
  display: flex; align-items: center;
  justify-content: center; width: 100%;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.landing-footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}

.footer-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}

.footer-logo {
  width: 24px; height: 24px;
  border-radius: 6px; object-fit: cover; flex-shrink: 0;
}

.footer-brand-name {
  font-size: .88rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.2px;
}

.footer-copy {
  font-size: .75rem; color: var(--text-light);
}

.footer-links {
  display: flex; align-items: center; gap: 20px;
}

.footer-links a {
  font-size: .78rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s var(--ease-expo);
}
.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main { margin-left: 0; }
  .page-header { padding: 14px 16px; }
  .page-body   { padding: 16px; }
  .flash-wrap  { padding: 0 16px; }

  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .stats-bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-value  { font-size: 1.6rem; letter-spacing: -1px; }
  .stat-card   { padding: 16px 16px 14px; }

  /* #6 — Topbar: hide school name on tablet/mobile, it's in the sidebar */
  .topbar-school { display: none; }
  /* Sign out: keep icon + text at tablet */
  .topbar-signout { padding: 6px 12px; font-size: .75rem; }

  /* Landing responsive */
  .landing-nav       { padding: 10px 12px; }
  .landing-nav-links { display: none; }
  .hero-inner        { padding: 90px 24px 72px; }
  .landing-hero      { min-height: 82vh; }

  .features-section  { padding: 64px 20px 64px; }
  .features-bento    { grid-template-columns: 1fr; }
  .feature-card.span-2,
  .feature-card.span-3,
  .feature-card.span-4 { grid-column: span 1; }
  .feature-card--split { flex-direction: column; gap: 20px; }
  .fsc-stack         { width: 100%; flex-direction: row; }
  .fsc-card          { flex: 1; }

  .sa-section        { padding: 0 20px 64px; }
  .sa-grid           { grid-template-columns: 1fr; gap: 32px; }
  .sa-text .section-title { text-align: left; }

  .pricing-section   { padding: 0 20px 64px; }
  .landing-footer    { padding: 24px 20px; }
  .footer-inner      { flex-direction: column; align-items: flex-start; gap: 16px; }

  .auth-card     { padding: 28px 22px; }
  .wizard-body   { padding: 20px 22px; }
  .wizard-footer { padding: 16px 22px; }
  .wizard-header { padding: 20px 22px 16px; }
}

@media (min-width: 769px) { .mobile-nav { display: none; } }

/* ── SMALL PHONES (≤ 480px) ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* #5 — Stats: single column so R amounts don't get crushed */
  .stats-bento { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-value  { font-size: 2rem; letter-spacing: -1.5px; }
  .stat-card   { padding: 18px 18px 16px; }

  /* #6 — Topbar: icon-only sign out on tiny screens */
  .topbar-signout span { display: none; }
  .topbar-signout { padding: 7px 10px; gap: 0; }

  .page-body  { padding: 12px; }
  .page-header { padding: 12px 14px; }
}

/* ── ATTENDANCE ───────────────────────────────────────────────────────────── */
.att-date-picker {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: .78rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  outline: none;
}
.att-date-picker:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }

.att-btns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.btn-warning { background: rgba(217,119,6,.12); color: var(--warning); border: 1px solid rgba(217,119,6,.25); }
.btn-warning:hover { background: rgba(217,119,6,.2); color: var(--warning); }

.att-row-present { background: rgba(5,150,105,.03); }
.att-row-late    { background: rgba(217,119,6,.04); }
.att-row-absent  { background: rgba(220,38,38,.04); }

/* Month view table */
.att-month-table { border-collapse: collapse; width: 100%; font-size: .82rem; }
.att-day-col { text-align: center; padding: 6px 3px; font-size: .65rem; min-width: 26px; }
.att-cell    { text-align: center; padding: 5px 2px; }

.att-dot { display: inline-block; font-size: .78rem; font-weight: 700; width: 20px; text-align: center; }
.att-present { color: var(--accent); }
.att-late    { color: var(--warning); }
.att-absent  { color: var(--danger); }
.att-empty   { color: var(--border-strong); font-weight: 400; font-size: 1rem; }

.att-rate-good { color: var(--accent); font-size: .84rem; }
.att-rate-warn { color: var(--warning); font-size: .84rem; }
.att-rate-bad  { color: var(--danger); font-size: .84rem; }

/* ── LEARNER PROFILE ── */
.learner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 860px) {
  .learner-grid { grid-template-columns: 1fr; }
}

.detail-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 12px;
  font-size: .875rem;
}
.detail-list dt {
  color: var(--text-muted);
  font-weight: 600;
}
.detail-list dd { margin: 0; }

.att-legend {
  display: flex; gap: 20px; padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--text-muted);
}

/* ── UTILITIES ────────────────────────────────────────────────────────────── */
.text-right   { text-align: right; }
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-sm      { font-size: .82rem; }
.text-xs      { font-size: .72rem; }
.fw-bold      { font-weight: 700; }
.mt-4   { margin-top: 4px; }   .mt-8  { margin-top: 8px; }
.mt-16  { margin-top: 16px; }  .mt-24 { margin-top: 24px; }
.mb-16  { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }

/* ── DOE TRACKER ── */
.doe-checkbox-wrap { display:flex; align-items:center; justify-content:center; cursor:pointer; }
.doe-checkbox-wrap input[type="checkbox"] {
  width: 18px; height: 18px; cursor: pointer;
  accent-color: var(--accent);
}
.doe-row-done td { opacity: .55; }
.doe-row-done td:first-child { opacity: 1; }
