/* Per-user dashboard styles.
 *
 * Sections inherit `.glass-panel` from 03-core-ui.css. This file only carries
 * the dashboard-specific extras: section titles, cost grid, settings forms,
 * activity chart frame.
 */

/* Lazy-panel placeholder shown while a tab's fragment is being fetched. */
.dashboard-loading {
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgb(148, 163, 184);
}
.dashboard-loading::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  vertical-align: -2px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-top-color: rgb(148, 163, 184);
  border-radius: 50%;
  animation: dashboard-spin 0.7s linear infinite;
}
.dashboard-loading--error::before{display:none}
.dashboard-loading--error .dashboard-btn{margin-left:.75rem}
@keyframes dashboard-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dashboard-loading::before { animation: none; } }

/* ===== Shared dashboard component kit — used by student / teacher / admin tabs ===== */

/* Section header: small icon + the section title (the heading keeps its own type). */
.dash-section-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; }
.dash-section-head > svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; color: rgb(34, 211, 238); }
.dash-section-head .dashboard-section-title { margin: 0; }

/* Stat tiles (icon · value · label), with accent variants. */
.dash-stats { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dash-stat {
  display: flex; align-items: center; gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 0.9rem;
  padding: 0.8rem 0.95rem;
}
.dash-stat__icon {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 0.6rem;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, 0.14); color: rgb(34, 211, 238);
}
.dash-stat__icon svg { width: 1.15rem; height: 1.15rem; }
.dash-stat__body { display: flex; flex-direction: column; min-width: 0; }
.dash-stat__value { font-family: 'Sora', system-ui, sans-serif; font-size: 1.35rem; font-weight: 600; color: #fff; line-height: 1.1; }
.dash-stat__label { font-size: 0.74rem; color: rgb(148, 163, 184); }
.dash-stat--emerald .dash-stat__icon { background: rgba(16, 185, 129, 0.16); color: rgb(52, 211, 153); }
.dash-stat--violet  .dash-stat__icon { background: rgba(168, 85, 247, 0.16); color: rgb(196, 181, 253); }
.dash-stat--amber   .dash-stat__icon { background: rgba(245, 158, 11, 0.16); color: rgb(251, 191, 36); }

/* Progress / comparison bar (track + fill). 0-safe: caller sets fill width %. */
.dash-bar { display: flex; align-items: center; gap: 0.6rem; }
.dash-bar__track { flex: 1 1 auto; height: 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.dash-bar__fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22d3ee, #3b82f6); }
.dash-bar__fill--muted { background: rgba(148, 163, 184, 0.5); }
.dash-bar__fill--done { background: linear-gradient(90deg, #34d399, #10b981); }
.dash-bar__num { flex: 0 0 auto; font-size: 0.78rem; color: rgb(203, 213, 225); font-variant-numeric: tabular-nums; min-width: 2.4rem; text-align: right; }

/* Table: rounded container + header + hover + subtle separators. */
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.dash-table thead th {
  text-align: left; font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgb(100, 116, 139);
  padding: 0.5rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-table tbody td { padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: rgb(203, 213, 225); }
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Empty state: icon + message, centered. */
.dash-empty { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem 1rem; text-align: center; color: rgb(148, 163, 184); }
.dash-empty > svg { width: 2rem; height: 2rem; opacity: 0.55; }
.dash-empty p { margin: 0; font-size: 0.9rem; }

.dashboard-section-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

/* ---------- Cost summary ---------- */
.dashboard-cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}
.dashboard-cost-cell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
}
.dashboard-cost-cell-total {
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.12), rgba(99, 102, 241, 0.10));
  border-color: rgba(34, 211, 238, 0.28);
}
.dashboard-cost-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(148, 163, 184);
}
.dashboard-cost-value {
  margin-top: 0.35rem;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: rgb(226, 232, 240);
  font-variant-numeric: tabular-nums;
}

/* ---------- Score / points (matches the header badge's gold star) ---------- */
.dashboard-score-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.dashboard-score-star {
  width: 2rem;
  height: 2rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
  flex-shrink: 0;
}
.dashboard-score-value {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: #fde68a;
  font-variant-numeric: tabular-nums;
}
.dashboard-score-caption {
  font-size: 0.85rem;
  color: rgb(148, 163, 184);
}

/* ---------- Action buttons inside job tables ---------- */
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.dashboard-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgb(203, 213, 225);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease;
}
.dashboard-action-btn svg {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}
.dashboard-action-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgb(241, 245, 249);
  transform: translateY(-1px);
}
.dashboard-action-btn:active {
  transform: translateY(0);
}
.dashboard-action-btn:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.45);
  outline-offset: 2px;
}
/* Preview = primary (sky-tinted), echoes .dl-icon-btn--sky. Defined after the
   base rule so its border/bg/color win when both classes are applied. */
.dashboard-action-btn--primary {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0.08) 100%);
  color: rgb(125, 211, 252);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 12px -4px rgba(56, 189, 248, 0.25);
}
.dashboard-action-btn--primary:hover {
  border-color: rgba(125, 211, 252, 0.55);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.32) 0%, rgba(56, 189, 248, 0.16) 100%);
  color: rgb(224, 242, 254);
}

/* ---------- eXam activity sub-blocks ---------- */
.dashboard-subblock {
  margin-top: 1.25rem;
}
.dashboard-subblock:first-child {
  margin-top: 0;
}
.dashboard-subblock-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgb(226, 232, 240);
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.dashboard-subblock-link {
  font-weight: 500;
  font-size: 0.8rem;
  color: rgb(103, 232, 249);
  text-decoration: underline;
}

.dashboard-test-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dashboard-test-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.dashboard-test-list li:last-child {
  border-bottom: none;
}
.dashboard-test-list a {
  color: rgb(226, 232, 240);
  font-weight: 500;
}
.dashboard-test-list a:hover {
  text-decoration: underline;
}
.dashboard-test-meta {
  color: rgb(100, 116, 139);
  font-size: 0.82rem;
}

.dashboard-practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem;
}
.dashboard-practice-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.7rem;
  padding: 0.65rem 0.85rem;
}
.dashboard-practice-subject {
  font-weight: 500;
  color: rgb(226, 232, 240);
  margin-bottom: 0.2rem;
}
.dashboard-practice-stats {
  display: flex;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: rgb(148, 163, 184);
}

.dashboard-chart-wrap {
  position: relative;
  width: 100%;
  height: 220px;
}

/* ---------- Profile + settings ---------- */
.dashboard-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.dashboard-profile-grid dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(100, 116, 139);
  margin-bottom: 0.15rem;
}
.dashboard-profile-grid dd {
  color: rgb(226, 232, 240);
  font-weight: 500;
}

.dashboard-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.dashboard-settings-form {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.9rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.dashboard-input {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(2, 6, 23, 0.85);
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  color: rgb(226, 232, 240);
}
.dashboard-input::placeholder {
  color: rgb(100, 116, 139);
}
.dashboard-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.18);
}
.dashboard-input:focus-visible {
  outline: none;
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.4);
}
.dashboard-submit {
  align-self: flex-start;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.85), rgba(99, 102, 241, 0.75));
  color: white;
  border: none;
  border-radius: 0.65rem;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.dashboard-submit:hover {
  filter: brightness(1.1);
}
.dashboard-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.dashboard-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.6);
}
.dashboard-form-err {
  color: rgb(252, 165, 165);
  font-size: 0.82rem;
  margin: 0;
}
.dashboard-form-ok {
  color: rgb(110, 231, 183);
  font-size: 0.82rem;
  margin: 0;
}
.dashboard-form-note {
  color: rgb(100, 116, 139);
  font-size: 0.75rem;
  margin: 0.25rem 0 0;
}

/* ---------- Logout ---------- */
.dashboard-logout-row {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}
.dashboard-logout {
  background: transparent;
  border: 1px solid rgba(252, 165, 165, 0.35);
  color: rgb(252, 165, 165);
  border-radius: 0.65rem;
  padding: 0.45rem 1rem;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
}
.dashboard-logout:hover {
  background: rgba(252, 165, 165, 0.08);
}

/* ---------- Expired marker ---------- */
.dashboard-expired {
  color: rgb(100, 116, 139);
  font-style: italic;
}

/* ---------- Admin: Users directory table ---------- */
/* The primary table is compact; its optional details stay within the workspace. */
.users-table-wrap {
  overflow-x: auto;
}
.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
.users-table thead th {
  padding: 0.55rem 0.6rem;
  text-align: left;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgb(100, 116, 139);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.users-table thead th.num,
.users-table tbody td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.users-table tbody td {
  padding: 0.5rem 0.6rem;
  white-space: nowrap;
  color: rgb(148, 163, 184);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.users-table tbody tr:last-child td {
  border-bottom: 0;
}
.users-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}
.users-table tbody tr:hover td {
  background: rgba(56, 189, 248, 0.07);
}
.users-table .u-name {
  color: #fff;
  font-weight: 600;
}
.users-table .u-date {
  color: rgb(148, 163, 184);
  font-variant-numeric: tabular-nums;
}
.users-table td.zero {
  color: rgb(71, 85, 105); /* dim true zeros so real numbers stand out */
}
.users-table td.cost {
  color: rgb(103, 232, 249);
  font-weight: 500;
}
.users-table td.cost.zero {
  color: rgb(71, 85, 105);
  font-weight: 400;
}

/* Role badges */
.role-pill {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 500;
}
.role-pill.student {
  background: rgba(34, 211, 238, 0.14);
  color: rgb(103, 232, 249);
}
.role-pill.teacher {
  background: rgba(167, 139, 250, 0.18);
  color: rgb(196, 181, 253);
}
.role-pill.admin {
  background: rgba(245, 158, 11, 0.16);
  color: rgb(252, 211, 77);
}

/* Keep the username column visible while scrolling on narrow screens. */
@media (max-width: 768px) {
  .users-table thead th:first-child,
  .users-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: rgb(12, 18, 33);
  }
}

/* ---------- Admin: Site-overview stats tables ---------- */
/* The Site tab's many tables (AI spend, top routes, recent jobs/errors) get the
   same treatment as .users-table above so they read just as cleanly: a tinted
   header shelf, zebra rows, a sky-tint hover, tabular numerics and a cyan cost
   accent. Each table sits in a .glass-panel or a bordered wrapper supplied by
   the template (admin/_stats_panel.html); this styles the table itself. The
   per-cell flavour comes from semantic classes (.num/.mono/.muted/.cost/.zero)
   instead of inline utilities, mirroring how the users table is built. */
.admin-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.admin-stats-table thead th {
  padding: 0.5rem 1rem;
  text-align: left;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(100, 116, 139);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.admin-stats-table tbody td {
  padding: 0.5rem 1rem;
  color: rgb(148, 163, 184);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}
.admin-stats-table tbody tr:last-child td {
  border-bottom: 0;
}
.admin-stats-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}
.admin-stats-table tbody tr:hover td {
  background: rgba(56, 189, 248, 0.07);
}

/* Column flavours (apply to both <th> and <td> where sensible) */
.admin-stats-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.admin-stats-table td.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
  color: rgb(203, 213, 225);
}
.admin-stats-table td.ts {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  white-space: nowrap;
}
.admin-stats-table td.muted {
  color: rgb(100, 116, 139);
}
.admin-stats-table td.cost {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: rgb(103, 232, 249);
  font-weight: 500;
}
/* Dim true zeros so the real numbers stand out (matches .users-table). Placed
   last so it wins over .cost / .num / .muted colour for a zero cell. */
.admin-stats-table td.zero {
  color: rgb(71, 85, 105);
  font-weight: 400;
}
.admin-stats-table td.empty {
  padding: 1.75rem 1rem;
  text-align: center;
  color: rgb(100, 116, 139);
}

/* Keep the first (identifier) column visible while the wide tables scroll on
   narrow screens. Higher specificity + later source order than the zebra/hover
   rules above so the sticky cell stays opaque. Supersedes the bundled rule that
   used to live in 12-mobile.css. */
@media (max-width: 767px) {
  .admin-stats-table thead th:first-child,
  .admin-stats-table tbody tr td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: rgb(12, 18, 33);
  }
  .admin-stats-table tbody tr:hover td:first-child {
    background: rgb(12, 18, 33);
  }
}

/* ============================================================================
   "Bold & glowing" redesign. Everything is scoped under .dash-root (so it only
   touches the dashboard) and themed off --accent-rgb, which dashboard.html sets
   per effective role (admin=violet, teacher=emerald, student=cyan) and which
   cascades into the lazily-injected panel fragments. Page-scoped sheet → no
   Tailwind/bundle rebuild.
   ========================================================================== */
.dash-root { --accent-rgb: 34, 211, 238; }  /* fallback; overridden inline per role */

/* --- Hero stats pill (mirrors the landing-hero pill) --- */
.dash-hero-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(var(--accent-rgb), 0.08);
  padding: 0.32rem 0.85rem;
  font-size: 0.78rem; color: rgb(203, 213, 225);
  box-shadow: 0 0 22px -10px rgba(var(--accent-rgb), 0.5);
}
.dash-hero-stat { display: inline-flex; align-items: baseline; gap: 0.32rem; }
.dash-hero-stat b {
  font-family: 'Sora', system-ui, sans-serif; font-weight: 600; color: #fff;
  font-variant-numeric: tabular-nums;
}
.dash-hero-sep { width: 1px; height: 0.85rem; background: rgba(var(--accent-rgb), 0.32); }

/* --- Tab bar → glowing pill bar --- */
.dash-tabs { border-color: rgba(var(--accent-rgb), 0.16); }
.dash-tabs .tab-active {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.26), rgba(var(--accent-rgb), 0.12));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.32) inset,
              0 0 16px -6px rgba(var(--accent-rgb), 0.55);
}
.dash-tabs .tab-inactive:hover {
  color: rgb(226, 232, 240);
  background: rgba(var(--accent-rgb), 0.09);
  box-shadow: 0 0 14px -7px rgba(var(--accent-rgb), 0.45);
}

/* --- Cards: accent glow + hover-lift --- */
.dash-root .dash-stat,
.dash-root .dashboard-cost-cell,
.dash-root .dashboard-practice-cell {
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dash-root .dash-stat:hover,
.dash-root .dashboard-cost-cell:hover,
.dash-root .dashboard-practice-cell:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.55),
              0 0 26px -10px rgba(var(--accent-rgb), 0.38);
}
/* Default (un-variant) stat icon takes the role accent; --emerald/--violet/--amber keep theirs. */
.dash-root .dash-stat:not([class*="dash-stat--"]) .dash-stat__icon {
  background: rgba(var(--accent-rgb), 0.16);
  color: rgb(var(--accent-rgb));
}
.dash-root .dashboard-cost-cell-total {
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.16), rgba(99, 102, 241, 0.10));
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow: 0 0 34px -14px rgba(var(--accent-rgb), 0.45);
}
.dash-root .dashboard-score-star {
  color: rgb(var(--accent-rgb));
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.55));
}

/* --- Tables → modern glass --- */
.dash-root .dash-table thead th,
.dash-root .teacher-table thead th,
.dash-root .users-table thead th,
.dash-root .admin-stats-table thead th {
  background: rgba(var(--accent-rgb), 0.06);
  color: rgb(148, 163, 184);
}
.dash-root .dash-table tbody tr:nth-child(even) td,
.dash-root .teacher-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}
.dash-root .dash-table tbody tr:hover td,
.dash-root .teacher-table tbody tr:hover td,
.dash-root .users-table tbody tr:hover td,
.dash-root .admin-stats-table tbody tr:hover td {
  background: rgba(var(--accent-rgb), 0.07);
}

/* --- Section header → accent icon tile + bigger title --- */
.dash-root .dash-section-head { gap: 0.7rem; }
.dash-root .dash-section-head > svg {
  width: 1.9rem; height: 1.9rem; padding: 0.4rem; box-sizing: border-box;
  border-radius: 0.6rem;
  background: rgba(var(--accent-rgb), 0.14);
  color: rgb(var(--accent-rgb));
  box-shadow: 0 0 16px -5px rgba(var(--accent-rgb), 0.5);
}
.dash-root .dashboard-section-title { font-size: 1.05rem; }

/* --- Empty state → glowing icon --- */
.dash-root .dash-empty svg {
  color: rgb(var(--accent-rgb));
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.4));
}

/* --- Motion: gentle staggered entrance for the top stat / cost cards --- */
@media (prefers-reduced-motion: no-preference) {
  body:not(.page-entered) .dash-root .dash-stats > .dash-stat,
  body:not(.page-entered) .dash-root .dashboard-cost-grid > .dashboard-cost-cell {
    animation: page-slide-in 0.32s ease-out both;
  }
  .dash-root .dash-stats > .dash-stat:nth-child(2) { animation-delay: 60ms; }
  .dash-root .dash-stats > .dash-stat:nth-child(3) { animation-delay: 120ms; }
  .dash-root .dash-stats > .dash-stat:nth-child(4) { animation-delay: 180ms; }
}

/* Marked papers a teacher published after marking (roadmap Plan 9). */
.dash-marked-list { margin-top: 0.6rem; display: grid; gap: 0.4rem; }
.dash-marked-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; padding: 0.55rem 0.7rem; border-radius: 0.7rem; background: rgba(255, 255, 255, 0.03); }
.dash-marked-list a { font-weight: 600; color: rgb(110, 231, 183); }
.dash-marked-score { color: rgb(226, 232, 240); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.dash-marked-date { margin-left: auto; color: rgb(148, 163, 184); font-size: 0.76rem; }

/* ---- Medals from the /code rewards (web/medals.py): the shelf under "My progress" and on a
   teacher's student page (plans/2026-09-15-programming-club-code-page.md §7). ---- */
.dash-medals { margin-top: 1.1rem; }
.dash-medals-title {
  display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fbbf24;
}
.dash-medals-count { padding: .05rem .45rem; border-radius: 9999px; background: rgba(251, 191, 36, .15); color: #fde68a; font-size: .72rem; }
.dash-medals-list { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.dash-medal {
  --tier: #e08a3c;
  display: flex; align-items: center; gap: .5rem;
  padding: .3rem .8rem .3rem .3rem; border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--tier) 55%, transparent);
  background: color-mix(in srgb, var(--tier) 12%, transparent);
}
.dash-medal--gold { --tier: #fbbf24; }
.dash-medal--silver { --tier: #cbd5e1; }
.dash-medal--bronze { --tier: #e08a3c; }
.dash-medal-disc {
  display: grid; flex: none; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--tier) 40%, color-mix(in srgb, var(--tier) 50%, #000) 100%);
  color: #3b2300;
}
.dash-medal-disc svg { width: 1rem; height: 1rem; }
.dash-medal-name { font-size: .86rem; font-weight: 600; color: #f1f5f9; }
.dashboard-form-err.is-ok { color: #86efac; }
/* AI Learn on the student's own dashboard (roadmap Plan 21). */
.dash-ailearn { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.dash-ailearn-line { margin: 0.2rem 0 0.5rem; font-size: 0.88rem; color: #cbd5e1; }
.dash-ailearn-level { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.6rem; font-size: 0.82rem; color: #94a3b8; }
.dash-ailearn-bar { flex: 1 1 8rem; height: 0.35rem; min-width: 6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.dash-ailearn-bar span { display: block; height: 100%; border-radius: 999px; background: rgb(56, 189, 248); }
.dash-ailearn-next { font-size: 0.75rem; }

/* ---------- Admin: who is online ---------- */
.online-lead {
  margin: 0 0 0.9rem;
  max-width: 46rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgb(148, 163, 184);
}
.online-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
.online-search { max-width: 18rem; width: 100%; }
.online-fresh { margin: 0; font-size: 0.75rem; color: rgb(100, 116, 139); }
.online-stats { margin-bottom: 0.85rem; }
.online-where {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: rgb(148, 163, 184);
}
.online-where-label { color: rgb(203, 213, 225); }
.online-place b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.online-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; }
.online-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgb(203, 213, 225);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  cursor: pointer;
}
.online-chip:hover { border-color: rgba(167, 139, 250, 0.45); color: #fff; }
.online-chip[aria-pressed="true"] {
  background: rgba(167, 139, 250, 0.22);
  border-color: rgba(167, 139, 250, 0.55);
  color: #fff;
}
.online-chip-n { font-variant-numeric: tabular-nums; opacity: 0.8; }
.online-table-wrap { overflow-x: auto; }
.online-table th,
.online-table td { white-space: nowrap; }
.online-table .u-name { color: #fff; font-weight: 600; }
.online-table .u-date { font-variant-numeric: tabular-nums; }
.online-row-actions { display: flex; align-items: center; gap: .35rem; }
.online-table tbody tr.is-online td:nth-child(2) { box-shadow: inset 3px 0 0 rgb(52, 211, 153); }
.online-table tr[hidden] { display: none; }
.online-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: rgb(71, 85, 105);
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.28);
  vertical-align: 0;
}
.online-dot.is-on {
  background: rgb(52, 211, 153);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}
.online-none { margin: 0.4rem 0 0; font-size: 0.85rem; color: rgb(148, 163, 184); }
.online-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Coins, level, badges and last-seen on a student's page (2026-09-20 review, F). */
.student-score { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: .75rem; }
.student-score__item { display: flex; flex-direction: column; line-height: 1.15; }
.student-score__value { font-size: 1.35rem; font-weight: 700; color: #e2e8f0; }
.student-score__label { font-size: .72rem; text-transform: uppercase;
  letter-spacing: .06em; color: #94a3b8; }
.student-score__item--seen .student-score__value { color: #94a3b8; }
.student-score__item--seen.is-online .student-score__value { color: #6ee7b7; }
.student-level { margin-top: .55rem; height: 5px; max-width: 22rem; border-radius: 999px;
  background: rgba(148,163,184,.20); overflow: hidden; }
.student-level__fill { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #a78bfa); }
/* Light mode: the generated block below drops the selected chip's violet fill
   and greys the online bar. The extra .dash-root is what beats that block. */
html[data-theme="light"] .dash-root .online-chip[aria-pressed="true"] {
  background-color: rgba(109, 40, 217, 0.16);
  border-color: rgba(91, 33, 182, 0.7);
  color: rgb(76, 29, 149);
}
html[data-theme="light"] .dash-root .online-table tbody tr.is-online td:first-child {
  box-shadow: inset 3px 0 0 rgb(5, 150, 105);
}
/* Admin Site overview: compact cards, sections and readable tables on phones. */
.dashboard-btn{display:inline-flex;align-items:center;justify-content:center;min-height:2.35rem;padding:.45rem .85rem;border:1px solid rgba(34,211,238,.45);border-radius:.65rem;background:rgba(34,211,238,.16);color:#a5f3fc;font-size:.85rem;font-weight:650;cursor:pointer;white-space:nowrap}
.dashboard-btn:hover{background:rgba(34,211,238,.26)}
.dashboard-btn:focus-visible{outline:2px solid #67e8f9;outline-offset:2px}
.dashboard-btn:disabled{opacity:.5;cursor:default}
.site-overview{display:grid;gap:1.25rem;min-width:0;color:#cbd5e1}
.site-overview-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1rem}
.site-overview-intro{display:grid;gap:.2rem}
.site-overview-head h2{margin:0;color:#f8fafc;font-size:1.55rem;font-weight:700;letter-spacing:-.035em}
.site-overview-head p,.site-section>p,.site-explain{margin:0;color:#94a3b8;font-size:.85rem;line-height:1.55}
.site-as-of{color:#8391a8;font-size:.72rem}
.site-as-of--parity{color:#8fdfc1}
.site-overview-head form{display:flex;align-items:end;gap:.5rem}
.site-overview-head label{display:grid;gap:.3rem;font-size:.8rem}
.site-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem}
.site-metrics--hero{grid-template-columns:repeat(4,minmax(0,1fr))}
.site-metric{display:grid;align-content:center;gap:.38rem;min-width:0;padding:1rem;border:1px solid rgba(148,163,184,.16);border-radius:.9rem;background:rgba(255,255,255,.035)}
.site-metric span{font-size:.78rem;color:#94a3b8;line-height:1.4}
.site-metric strong{font-size:1.7rem;line-height:1.1;color:#f8fafc;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.site-metrics--hero .site-metric{position:relative;min-height:6.1rem;padding:1rem 1.05rem 1rem 1.2rem;overflow:hidden;background:linear-gradient(130deg,rgba(255,255,255,.055),rgba(255,255,255,.016))}
.site-metrics--hero .site-metric::before{content:'';position:absolute;inset:.9rem auto .9rem 0;width:3px;border-radius:3px;background:#38bdf8}
.site-metrics--hero .site-metric--human::before{background:#34d399}
.site-metrics--hero .site-metric--clicks::before{background:#67e8f9}
.site-metrics--hero .site-metric--bot::before{background:#f59e0b}
.site-metrics--hero .site-metric--unknown::before{background:#94a3b8}
.site-report-context{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1rem;padding:.8rem 1rem;border:1px solid rgba(148,163,184,.13);border-radius:.8rem;background:rgba(148,163,184,.045)}
.site-report-context p{flex:1 1 30rem;margin:0;color:#aebbd0;font-size:.76rem;line-height:1.5}
.site-section{display:grid;gap:1rem;min-width:0;padding:1.2rem;border:1px solid rgba(148,163,184,.15);border-radius:1rem;background:rgba(255,255,255,.025);scroll-margin-top:5rem}
.site-overview[data-site-pending] .dashboard-btn{justify-self:start}
.site-section[hidden],[data-online-add-form][hidden]{display:none!important}
.site-section-heading{display:flex;align-items:baseline;gap:.75rem}
.site-section-index{color:#67e8f9;font-size:.72rem;font-weight:750;letter-spacing:.12em;font-variant-numeric:tabular-nums}
.site-section-heading>div{display:grid;gap:.2rem}
.site-section-heading p{margin:0;color:#94a3b8;font-size:.78rem;line-height:1.5}
.site-section h3{margin:0;font-size:1.15rem;font-weight:700;color:#f8fafc;letter-spacing:-.02em}
.site-section h4{margin:.2rem 0 0;font-size:.9rem;font-weight:700;color:#e2e8f0}
.site-data-head{display:flex;align-items:center;justify-content:space-between;padding-top:.25rem;border-top:1px solid rgba(148,163,184,.12)}
.site-table-wrap{max-width:100%;overflow-x:auto}
.site-table{width:100%;min-width:34rem;border-collapse:collapse;font-size:.78rem}
.site-section[data-site-section=engagement] .site-table,.site-section[data-site-section=health] .site-table{min-width:52rem}
.site-table th{text-align:left;position:sticky;top:0;background:#172235;color:#94a3b8;font-weight:600;white-space:nowrap}
.site-table th,.site-table td{padding:.5rem .6rem;border-bottom:1px solid rgba(148,163,184,.1)}
.site-section[data-site-section=traffic] .site-table td:first-child,.site-section[data-site-section=engagement] .site-table td:first-child{white-space:nowrap}
.site-table tbody tr:hover td{background:rgba(148,163,184,.05)}
.site-table td:first-child{color:#e2e8f0}
.site-table a{color:#67e8f9;text-decoration:underline;text-underline-offset:2px}
.site-table .site-num{text-align:right;font-variant-numeric:tabular-nums}
.site-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:1rem}
.site-chips{display:flex;flex-wrap:wrap;gap:.45rem}
.site-chips span{padding:.35rem .6rem;border:1px solid rgba(148,163,184,.18);border-radius:99px;font-size:.8rem}
.site-chips a,.site-report-link{display:inline-block;padding:.35rem .6rem;border:1px solid rgba(103,232,249,.26);border-radius:99px;color:#67e8f9;font-size:.8rem;text-decoration:none}
.site-chips a:hover,.site-report-link:hover{background:rgba(103,232,249,.1)}
.site-report-link{justify-self:start}
.site-empty{color:#94a3b8}
.site-chart{display:grid;gap:.85rem;min-width:0;padding:.35rem 0 .25rem}
.site-chart-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;color:#aebbd0;font-size:.73rem}
.site-chart-legend>span{display:inline-flex;align-items:center;gap:.4rem}
.site-swatch{display:inline-block;width:.6rem;height:.6rem;border-radius:2px}
.site-swatch--human{background:#34d399}
.site-swatch--bot{background:#f59e0b}
.site-swatch--unknown{background:#94a3b8}
.site-chart-plot{min-width:0;overflow-x:auto}
.site-chart-plot svg{display:block;width:100%;min-width:520px;height:auto;font-size:11px;font-variant-numeric:tabular-nums}
.site-chart-grid{stroke:rgba(148,163,184,.2);stroke-width:1}
.site-chart-y-label,.site-chart-x-label{fill:#aebbd0}
.site-chart-series--human{color:#34d399}
.site-chart-series--bot{color:#f59e0b}
.site-chart-series--unknown{color:#94a3b8}
.site-chart-series polyline{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.site-chart-series circle{fill:currentColor;stroke:#151d2c;stroke-width:1.5;vector-effect:non-scaling-stroke}
.site-chart-hit{fill:transparent;pointer-events:all;cursor:crosshair}
.site-chart-hover-guide{stroke:rgba(226,232,240,.48);stroke-width:1;stroke-dasharray:3 3;pointer-events:none;opacity:0}
.site-chart-tooltip{opacity:0;pointer-events:none;transition:opacity .12s ease}
.site-chart-day:hover .site-chart-hover-guide,.site-chart-day:focus .site-chart-hover-guide,
.site-chart-day:hover .site-chart-tooltip,.site-chart-day:focus .site-chart-tooltip{opacity:1}
.site-chart-day:focus{outline:none}
.site-chart-tooltip rect{fill:#101827;stroke:rgba(148,163,184,.6);stroke-width:1}
.site-chart-tip-date{fill:#e2e8f0;font-weight:700}
.site-chart-tip-label{font-size:10px}
.site-chart-tip-label--human{fill:#34d399}
.site-chart-tip-label--bot{fill:#fbbf24}
.site-chart-tip-label--unknown{fill:#cbd5e1}
.site-chart-tip-label--domain-cn{fill:#c4b5fd}
.site-chart-tip-label--domain-lol{fill:#67e8f9}
.site-chart-tip-label--domain-both{fill:#c4b5fd}
.site-chart-tip-value{fill:#f8fafc;font-size:10px;font-weight:700}
.site-chart-series--domain-cn,.site-chart-series--domain-both{color:#c4b5fd}
.site-chart-series--domain-lol{color:#67e8f9}
.site-swatch--domain-cn,.site-swatch--domain-both{background:#c4b5fd}
.site-swatch--domain-lol{background:#67e8f9}
.site-chart-series--trend-0{color:#c4b5fd}.site-swatch--trend-0{background:#c4b5fd}.site-chart-tip-label--trend-0{fill:#c4b5fd}
.site-chart-series--trend-1{color:#67e8f9}.site-swatch--trend-1{background:#67e8f9}.site-chart-tip-label--trend-1{fill:#67e8f9}
.site-chart-series--trend-2{color:#6ee7b7}.site-swatch--trend-2{background:#6ee7b7}.site-chart-tip-label--trend-2{fill:#6ee7b7}
.site-chart-series--trend-3{color:#fbbf24}.site-swatch--trend-3{background:#fbbf24}.site-chart-tip-label--trend-3{fill:#fbbf24}
.site-chart-series--trend-other{color:#94a3b8}.site-swatch--trend-other{background:#94a3b8}.site-chart-tip-label--trend-other{fill:#cbd5e1}
.site-chart-series--trend-unknown{color:#fda4af}.site-swatch--trend-unknown{background:#fda4af}.site-chart-tip-label--trend-unknown{fill:#fda4af}
.site-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.site-report-kpis--content{grid-template-columns:repeat(3,minmax(0,1fr))}
.site-report-kpi{--report-accent:#a78bfa;position:relative;display:grid;align-content:start;gap:.35rem;min-width:0;min-height:8.3rem;padding:1rem 1rem .9rem 1.15rem;overflow:hidden;border:1px solid rgba(148,163,184,.16);border-radius:.9rem;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018))}
.site-report-kpi::before{position:absolute;inset:.9rem auto .9rem 0;width:3px;border-radius:3px;background:var(--report-accent);content:''}
.site-report-kpi--violet{--report-accent:#c4b5fd}.site-report-kpi--cyan{--report-accent:#67e8f9}.site-report-kpi--mint{--report-accent:#6ee7b7}.site-report-kpi--amber{--report-accent:#fbbf24}.site-report-kpi--rose{--report-accent:#fb7185}
.site-report-kpi>span{color:#aebbd0;font-size:.76rem;line-height:1.3}
.site-report-kpi strong{color:#f8fafc;font-size:clamp(1.45rem,2vw,2rem);font-weight:750;line-height:1.1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.site-report-kpi small{align-self:end;color:#8fa0b8;font-size:.69rem;line-height:1.35}
.site-report-support{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
.site-report-support>div{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.7rem .85rem;border:1px solid rgba(148,163,184,.12);border-radius:.7rem;background:rgba(148,163,184,.045)}
.site-report-support span{color:#aebbd0;font-size:.76rem}.site-report-support strong{color:#f8fafc;font-size:1.05rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.site-report-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(16rem,.85fr);gap:.8rem;min-width:0}
.site-report-split--even{grid-template-columns:repeat(2,minmax(0,1fr))}
.site-report-split--engagement{grid-template-columns:minmax(0,1fr)}
.site-domain-chart{display:grid;gap:.25rem;min-width:0;padding-top:.7rem;border-top:1px solid rgba(148,163,184,.14)}
.site-domain-chart h5{margin:0;color:#e2e8f0;font-size:.82rem;font-weight:700}
.site-domain-chart-note{margin:0;color:#94a3b8;font-size:.72rem;line-height:1.45}
.site-report-card{display:grid;align-content:start;gap:.8rem;min-width:0;padding:1rem;border:1px solid rgba(148,163,184,.13);border-radius:.85rem;background:rgba(11,18,32,.28)}
.site-report-card-head{display:flex;justify-content:space-between;align-items:start;gap:1rem}
.site-report-card-head h4{margin:0;color:#f1f5f9;font-size:.98rem;font-weight:700}
.site-report-card-head p{margin:.25rem 0 0;color:#94a3b8;font-size:.74rem;line-height:1.45}
.site-report-card .site-chart-legend{gap:.45rem .8rem}
.site-rank-list{display:grid;gap:.82rem;min-width:0}
.site-rank-row{display:grid;gap:.35rem;min-width:0}
.site-rank-line{display:flex;justify-content:space-between;gap:.7rem;min-width:0;font-size:.78rem}
.site-rank-line strong{overflow:hidden;color:#dce5f3;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.site-rank-line span{flex:none;color:#f1f5f9;font-variant-numeric:tabular-nums}
.site-rank-track,.site-host-track,.site-page-track{display:block;height:.32rem;overflow:hidden;border-radius:99px;background:rgba(148,163,184,.14)}
.site-rank-track i,.site-host-track i,.site-page-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#67e8f9)}
.site-rank-list--areas .site-rank-track i{background:linear-gradient(90deg,#a78bfa,#6ee7b7)}
.site-rank-list--countries .site-rank-track i{background:linear-gradient(90deg,#67e8f9,#6ee7b7)}
.site-host-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.65rem}
.site-host-card{display:grid;gap:.5rem;min-width:0;padding:.85rem;border:1px solid rgba(148,163,184,.14);border-radius:.75rem;background:rgba(148,163,184,.045)}
.site-host-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.78rem}
.site-host-top strong{overflow:hidden;color:#f1f5f9;text-overflow:ellipsis;white-space:nowrap}.site-host-top span{color:#67e8f9;font-variant-numeric:tabular-nums}
.site-host-count{color:#f8fafc;font-size:1.45rem;font-weight:700;font-variant-numeric:tabular-nums}.site-host-count span,.site-host-card small{color:#94a3b8;font-size:.73rem;font-weight:400}
.site-host-track i{background:linear-gradient(90deg,#22d3ee,#6ee7b7)}
.site-pages-table{min-width:34rem}.site-pages-table td:nth-child(2){min-width:14rem;max-width:28rem;overflow-wrap:anywhere}.site-pages-table td:nth-child(2) a{display:block}.site-page-track{max-width:12rem;margin-top:.3rem}.site-rank-number{color:#8fa0b8;font-variant-numeric:tabular-nums}
.site-report-links{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;color:#94a3b8;font-size:.75rem}.site-report-links a{padding:.3rem .55rem;border:1px solid rgba(103,232,249,.25);border-radius:99px;color:#67e8f9;text-decoration:none}.site-report-links a:hover{background:rgba(103,232,249,.1)}
.site-report-method{padding:.75rem .9rem;border-left:2px solid rgba(148,163,184,.35);color:#94a3b8;font-size:.73rem;line-height:1.5}
.site-monitor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.65rem}
.site-monitor-card{display:grid;align-content:start;gap:.35rem;padding:.85rem;border:1px solid rgba(148,163,184,.14);border-radius:.75rem;background:rgba(148,163,184,.045)}
.site-monitor-top{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.site-monitor-top strong{color:#f1f5f9;font-size:.9rem;text-transform:capitalize}.site-monitor-card small,.site-monitor-card p{margin:0;color:#9baac0;font-size:.73rem;line-height:1.45}
.site-monitor-state{display:inline-flex;align-items:center;gap:.3rem;padding:.22rem .5rem;border-radius:99px;font-size:.67rem;font-weight:700;white-space:nowrap}.site-monitor-state::before{width:.4rem;height:.4rem;border-radius:50%;background:currentColor;content:''}
.site-monitor-state--up{color:#6ee7b7;background:rgba(52,211,153,.12)}.site-monitor-state--down{color:#fda4af;background:rgba(251,113,133,.13)}.site-monitor-state--stale,.site-monitor-state--unknown{color:#fcd34d;background:rgba(251,191,36,.12)}.site-monitor-state--event{color:#cbd5e1;background:rgba(148,163,184,.12)}
.site-errors-table td:first-child{white-space:nowrap}.site-errors-table td:nth-child(2){min-width:9rem;overflow-wrap:anywhere}.site-error-detail{min-width:18rem;max-width:42rem;color:#dce5f3;overflow-wrap:anywhere}
@media(max-width:1100px){.site-report-split{grid-template-columns:1fr}.site-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.site-report-kpis--content{grid-template-columns:repeat(2,minmax(0,1fr))}.site-report-kpis--content .site-report-kpi:last-child{grid-column:1/-1;min-height:5.5rem}.site-report-support{grid-template-columns:1fr}.site-report-kpi{min-height:7.4rem;padding:.85rem .75rem .8rem 1rem}.site-report-card{padding:.8rem}.site-report-kpi strong{font-size:1.45rem}.site-host-grid{grid-template-columns:1fr}}
@media(max-width:850px){.site-metrics--hero{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.site-overview-head form{width:100%}.site-overview-head form label{flex:1}.site-overview-head select{width:100%}.site-metrics--hero .site-metric{min-height:5.5rem}.site-metrics--hero .site-metric strong{font-size:1.45rem}.site-section{padding:.85rem}}
html[data-theme=light] .site-overview-head h2,html[data-theme=light] .site-section h3,html[data-theme=light] .site-section h4,html[data-theme=light] .site-metric strong{color:#1e293b}
html[data-theme=light] .site-metric,html[data-theme=light] .site-section{background:rgba(15,23,42,.025);border-color:rgba(15,23,42,.12)}
html[data-theme=light] .site-metrics--hero .site-metric{background:linear-gradient(130deg,rgba(15,23,42,.045),rgba(15,23,42,.012))}
html[data-theme=light] .site-report-context{background:rgba(15,23,42,.025);border-color:rgba(15,23,42,.12)}
html[data-theme=light] .site-report-context p,html[data-theme=light] .site-chart-y-label,html[data-theme=light] .site-chart-x-label{fill:#526079}
html[data-theme=light] .site-section-heading p{color:#526079}
html[data-theme=light] .site-chart-grid{stroke:rgba(71,85,105,.22)}
html[data-theme=light] .site-chart-series circle{stroke:#fff}
html[data-theme=light] .site-chart-hover-guide{stroke:rgba(30,41,59,.55)}
html[data-theme=light] .site-table th{background:#e9eef5;color:#475569}
html[data-theme=light] .site-table td:first-child{color:#334155}
html[data-theme=light] .dashboard-btn{background:rgba(8,145,178,.12);border-color:rgba(8,145,178,.48);color:#0e7490}
html[data-theme=light] .dashboard-btn:hover{background:rgba(8,145,178,.2)}

/* ▼▼ LIGHT THEME — GENERATED by scripts/build_light_theme.py from the rules above. Do not edit by hand: run the builder. Hand tuning goes in 36-theme-light.css. ▼▼ */
html[data-theme="light"] .dashboard-loading{color:rgb(61 75 94)}
html[data-theme="light"] .dash-section-head > svg{color:rgb(6 107 122)}
html[data-theme="light"] .dash-stat{border-color:rgb(15 23 42/0.112);background-color:rgb(15 23 42/0.025)}
html[data-theme="light"] .dash-stat__icon{color:rgb(6 107 122)}
html[data-theme="light"] .dash-stat__value{color:rgb(51 63 82)}
html[data-theme="light"] .dash-stat__label{color:rgb(61 75 94)}
html[data-theme="light"] .dash-stat--emerald .dash-stat__icon{color:rgb(22 112 79)}
html[data-theme="light"] .dash-stat--violet .dash-stat__icon{color:rgb(28 0 132)}
html[data-theme="light"] .dash-stat--amber .dash-stat__icon{color:rgb(127 92 0)}
html[data-theme="light"] .dash-bar__track{background-color:rgb(15 23 42/0.08)}
html[data-theme="light"] .dash-bar__num{color:rgb(48 65 85)}
html[data-theme="light"] .dash-table thead th{color:rgb(87 101 122);border-bottom-color:rgb(15 23 42/0.112)}
html[data-theme="light"] .dash-table tbody td{border-bottom-color:rgb(15 23 42/0.06);color:rgb(48 65 85)}
html[data-theme="light"] .dash-table tbody tr:hover td{background-color:rgb(15 23 42/0.02)}
html[data-theme="light"] .dash-empty{color:rgb(61 75 94)}
html[data-theme="light"] .dashboard-section-title{color:rgb(51 63 82)}
html[data-theme="light"] .dashboard-cost-cell{background-color:rgb(15 23 42/0.025);border-color:rgb(15 23 42/0.084)}
html[data-theme="light"] .dashboard-cost-label{color:rgb(61 75 94)}
html[data-theme="light"] .dashboard-cost-value{color:rgb(44 63 88)}
html[data-theme="light"] .dashboard-score-star{color:rgb(127 92 0);filter:none}
html[data-theme="light"] .dashboard-score-value{color:rgb(117 94 0)}
html[data-theme="light"] .dashboard-score-caption{color:rgb(61 75 94)}
html[data-theme="light"] .dashboard-action-btn{border-color:rgb(15 23 42/0.168);background-color:rgb(15 23 42/0.04);color:rgb(48 65 85)}
html[data-theme="light"] .dashboard-action-btn:hover{border-color:rgb(15 23 42/0.18);background-color:rgb(15 23 42/0.08);color:rgb(38 66 94)}
html[data-theme="light"] .dashboard-action-btn--primary{color:rgb(0 90 133);box-shadow:0px 4px 12px -4px rgb(15 23 42/0.055)}
html[data-theme="light"] .dashboard-action-btn--primary:hover{color:rgb(1 79 132)}
html[data-theme="light"] .dashboard-subblock-title{color:rgb(44 63 88)}
html[data-theme="light"] .dashboard-subblock-link{color:rgb(2 111 126)}
html[data-theme="light"] .dashboard-test-list li{border-bottom-color:rgb(15 23 42/0.06)}
html[data-theme="light"] .dashboard-test-list a{color:rgb(44 63 88)}
html[data-theme="light"] .dashboard-test-meta{color:rgb(87 101 122)}
html[data-theme="light"] .dashboard-practice-cell{background-color:rgb(15 23 42/0.02);border-color:rgb(15 23 42/0.07)}
html[data-theme="light"] .dashboard-practice-subject{color:rgb(44 63 88)}
html[data-theme="light"] .dashboard-practice-stats{color:rgb(61 75 94)}
html[data-theme="light"] .dashboard-profile-grid dt{color:rgb(87 101 122)}
html[data-theme="light"] .dashboard-profile-grid dd{color:rgb(44 63 88)}
html[data-theme="light"] .dashboard-settings-form{background-color:rgb(15 23 42/0.025);border-color:rgb(15 23 42/0.084)}
html[data-theme="light"] .dashboard-input{border-color:rgb(15 23 42/0.14);background-color:rgb(250 251 252/0.85);color:rgb(44 63 88)}
html[data-theme="light"] .dashboard-input::placeholder{color:rgb(87 101 122)}
html[data-theme="light"] .dashboard-input:focus{box-shadow:0px 0px 0px 2px rgb(14 158 180/0.306)}
html[data-theme="light"] .dashboard-input:focus-visible{box-shadow:0px 0px 0px 2px rgb(14 158 180/0.55)}
html[data-theme="light"] .dashboard-submit{color:rgb(51 63 82)}
html[data-theme="light"] .dashboard-submit:focus-visible{box-shadow:0px 0px 0px 2px rgb(14 158 180/0.55)}
html[data-theme="light"] .dashboard-form-err{color:rgb(131 1 1)}
html[data-theme="light"] .dashboard-form-ok{color:rgb(16 111 73)}
html[data-theme="light"] .dashboard-form-note{color:rgb(87 101 122)}
html[data-theme="light"] .dashboard-logout-row{border-top-color:rgb(15 23 42/0.084)}
html[data-theme="light"] .dashboard-logout{color:rgb(131 1 1)}
html[data-theme="light"] .dashboard-expired{color:rgb(87 101 122)}
html[data-theme="light"] .users-table thead th{color:rgb(87 101 122);background-color:rgb(15 23 42/0.02);border-bottom-color:rgb(15 23 42/0.14)}
html[data-theme="light"] .users-table tbody td{color:rgb(61 75 94);border-bottom-color:rgb(15 23 42/0.07)}
html[data-theme="light"] .users-table tbody tr:nth-child(even) td{background-color:rgb(15 23 42/0.018)}
html[data-theme="light"] .users-table .u-name{color:rgb(51 63 82)}
html[data-theme="light"] .users-table .u-date{color:rgb(61 75 94)}
html[data-theme="light"] .users-table td.cost{color:rgb(2 111 126)}
html[data-theme="light"] .role-pill.student{color:rgb(2 111 126)}
html[data-theme="light"] .role-pill.teacher{color:rgb(28 0 132)}
html[data-theme="light"] .role-pill.admin{color:rgb(126 96 0)}
@media (max-width: 768px){html[data-theme="light"] .users-table thead th:first-child,html[data-theme="light"] .users-table tbody td:first-child{background-color:rgb(246 247 250)}}
html[data-theme="light"] .admin-stats-table thead th{color:rgb(87 101 122);background-color:rgb(15 23 42/0.02);border-top-color:rgb(15 23 42/0.112);border-bottom-color:rgb(15 23 42/0.14)}
html[data-theme="light"] .admin-stats-table tbody td{color:rgb(61 75 94);border-bottom-color:rgb(15 23 42/0.07)}
html[data-theme="light"] .admin-stats-table tbody tr:nth-child(even) td{background-color:rgb(15 23 42/0.018)}
html[data-theme="light"] .admin-stats-table td.mono{color:rgb(48 65 85)}
html[data-theme="light"] .admin-stats-table td.muted{color:rgb(87 101 122)}
html[data-theme="light"] .admin-stats-table td.cost{color:rgb(2 111 126)}
html[data-theme="light"] .admin-stats-table td.empty{color:rgb(87 101 122)}
@media (max-width: 767px){html[data-theme="light"] .admin-stats-table thead th:first-child,html[data-theme="light"] .admin-stats-table tbody tr td:first-child{background-color:rgb(246 247 250)}html[data-theme="light"] .admin-stats-table tbody tr:hover td:first-child{background-color:rgb(246 247 250)}}
html[data-theme="light"] .dash-hero-pill{color:rgb(48 65 85);box-shadow:0px 7px 22px -10px rgb(15 23 42/0.12)}
html[data-theme="light"] .dash-hero-stat b{color:rgb(51 63 82)}
html[data-theme="light"] .dash-tabs .tab-active{color:rgb(51 63 82);box-shadow:inset 0px 0px 0px 1px color-mix(in srgb,rgba(var(--accent-rgb), 0.32) 62%,#0f172a),0px 5px 16px -6px rgb(15 23 42/0.12)}
html[data-theme="light"] .dash-tabs .tab-inactive:hover{color:rgb(44 63 88);box-shadow:0px 4px 14px -7px rgb(15 23 42/0.12)}
html[data-theme="light"] .dash-root .dash-stat:hover,html[data-theme="light"] .dash-root .dashboard-cost-cell:hover,html[data-theme="light"] .dash-root .dashboard-practice-cell:hover{box-shadow:0px 12px 28px -14px rgb(15 23 42/0.176),0px 8px 26px -10px rgb(15 23 42/0.12)}
html[data-theme="light"] .dash-root .dash-stat:not([class*="dash-stat--"]) .dash-stat__icon{color:color-mix(in srgb,rgb(var(--accent-rgb)) 44%,#0f172a)}
html[data-theme="light"] .dash-root .dashboard-cost-cell-total{box-shadow:0px 10px 34px -14px rgb(15 23 42/0.12)}
html[data-theme="light"] .dash-root .dashboard-score-star{color:color-mix(in srgb,rgb(var(--accent-rgb)) 44%,#0f172a);filter:none}
html[data-theme="light"] .dash-root .dash-table thead th,html[data-theme="light"] .dash-root .teacher-table thead th,html[data-theme="light"] .dash-root .users-table thead th,html[data-theme="light"] .dash-root .admin-stats-table thead th{color:rgb(61 75 94)}
html[data-theme="light"] .dash-root .dash-table tbody tr:nth-child(even) td,html[data-theme="light"] .dash-root .teacher-table tbody tr:nth-child(even) td{background-color:rgb(15 23 42/0.018)}
html[data-theme="light"] .dash-root .dash-section-head > svg{color:color-mix(in srgb,rgb(var(--accent-rgb)) 44%,#0f172a);box-shadow:0px 5px 16px -5px rgb(15 23 42/0.12)}
html[data-theme="light"] .dash-root .dash-empty svg{color:color-mix(in srgb,rgb(var(--accent-rgb)) 44%,#0f172a);filter:none}
html[data-theme="light"] .dash-marked-list li{background-color:rgb(15 23 42/0.03)}
html[data-theme="light"] .dash-marked-list a{color:rgb(16 111 73)}
html[data-theme="light"] .dash-marked-score{color:rgb(44 63 88)}
html[data-theme="light"] .dash-marked-date{color:rgb(61 75 94)}
html[data-theme="light"] .dash-medals-title{color:rgb(127 92 0)}
html[data-theme="light"] .dash-medals-count{color:rgb(117 94 0)}
html[data-theme="light"] .dash-medal-disc{background-image:radial-gradient(circle at 35% 30%, #fff 0%, var(--tier) 40%, color-mix(in srgb, var(--tier) 50%, rgb(255 255 255)) 100%)}
html[data-theme="light"] .dash-medal-name{color:rgb(38 66 94)}
html[data-theme="light"] .dashboard-form-err.is-ok{color:rgb(12 113 49)}
html[data-theme="light"] .dash-ailearn{border-top-color:rgb(15 23 42/0.112)}
html[data-theme="light"] .dash-ailearn-line{color:rgb(48 65 85)}
html[data-theme="light"] .dash-ailearn-level{color:rgb(61 75 94)}
html[data-theme="light"] .dash-ailearn-bar{background-color:rgb(15 23 42/0.08)}
html[data-theme="light"] .online-lead{color:rgb(61 75 94)}
html[data-theme="light"] .online-fresh{color:rgb(87 101 122)}
html[data-theme="light"] .online-where{color:rgb(61 75 94)}
html[data-theme="light"] .online-where-label{color:rgb(48 65 85)}
html[data-theme="light"] .online-place b{color:rgb(51 63 82)}
html[data-theme="light"] .online-chip{border-color:rgb(15 23 42/0.168);background-color:rgb(15 23 42/0.03);color:rgb(48 65 85)}
html[data-theme="light"] .online-chip:hover{color:rgb(51 63 82)}
html[data-theme="light"] .online-chip[aria-pressed="true"]{color:rgb(51 63 82)}
html[data-theme="light"] .online-table .u-name{color:rgb(51 63 82)}
html[data-theme="light"] .online-table tbody tr.is-online td:nth-child(2){box-shadow:inset 3px 0px rgb(15 23 42/0.2)}
html[data-theme="light"] .online-dot{box-shadow:0px 0px 0px 3px rgb(15 23 42/0.16)}
html[data-theme="light"] .online-dot.is-on{box-shadow:0px 0px 0px 3px rgb(35 159 114/0.425)}
html[data-theme="light"] .online-none{color:rgb(61 75 94)}
html[data-theme="light"] .student-score__value{color:rgb(44 63 88)}
html[data-theme="light"] .student-score__label{color:rgb(61 75 94)}
html[data-theme="light"] .student-score__item--seen .student-score__value{color:rgb(61 75 94)}
html[data-theme="light"] .student-score__item--seen.is-online .student-score__value{color:rgb(16 111 73)}
html[data-theme="light"] .dashboard-btn{color:rgb(1 111 124)}
html[data-theme="light"] .site-overview{color:rgb(48 65 85)}
html[data-theme="light"] .site-overview-head h2{color:rgb(38 66 94)}
html[data-theme="light"] .site-overview-head p,html[data-theme="light"] .site-section>p,html[data-theme="light"] .site-explain{color:rgb(61 75 94)}
html[data-theme="light"] .site-as-of{color:rgb(72 83 102)}
html[data-theme="light"] .site-as-of--parity{color:rgb(28 107 77)}
html[data-theme="light"] .site-metric{background-color:rgb(15 23 42/0.035)}
html[data-theme="light"] .site-metric span{color:rgb(61 75 94)}
html[data-theme="light"] .site-metric strong{color:rgb(38 66 94)}
html[data-theme="light"] .site-metrics--hero .site-metric{background-image:linear-gradient(130deg,rgb(15 23 42/0.055),rgb(15 23 42/0.016))}
html[data-theme="light"] .site-report-context p{color:rgb(48 62 85)}
html[data-theme="light"] .site-section{background-color:rgb(15 23 42/0.025)}
html[data-theme="light"] .site-section-index{color:rgb(2 111 126)}
html[data-theme="light"] .site-section-heading p{color:rgb(61 75 94)}
html[data-theme="light"] .site-section h3{color:rgb(38 66 94)}
html[data-theme="light"] .site-section h4{color:rgb(44 63 88)}
html[data-theme="light"] .site-table th{background-color:rgb(240 243 247);color:rgb(61 75 94)}
html[data-theme="light"] .site-table td:first-child{color:rgb(44 63 88)}
html[data-theme="light"] .site-table a{color:rgb(2 111 126)}
html[data-theme="light"] .site-chips a,html[data-theme="light"] .site-report-link{color:rgb(2 111 126)}
html[data-theme="light"] .site-empty{color:rgb(61 75 94)}
html[data-theme="light"] .site-chart-legend{color:rgb(48 62 85)}
html[data-theme="light"] .site-chart-grid{stroke:rgb(61 75 94/0.85)}
html[data-theme="light"] .site-chart-y-label,html[data-theme="light"] .site-chart-x-label{fill:rgb(48 62 85)}
html[data-theme="light"] .site-chart-series--human{color:rgb(22 112 79)}
html[data-theme="light"] .site-chart-series--bot{color:rgb(143 91 2)}
html[data-theme="light"] .site-chart-series--unknown{color:rgb(61 75 94)}
html[data-theme="light"] .site-chart-hover-guide{stroke:rgb(44 63 88/0.85)}
html[data-theme="light"] .site-chart-tooltip rect{stroke:rgb(61 75 94/0.85)}
html[data-theme="light"] .site-chart-tip-date{fill:rgb(44 63 88)}
html[data-theme="light"] .site-chart-tip-label--human{fill:rgb(22 112 79)}
html[data-theme="light"] .site-chart-tip-label--bot{fill:rgb(127 92 0)}
html[data-theme="light"] .site-chart-tip-label--unknown{fill:rgb(48 65 85)}
html[data-theme="light"] .site-chart-tip-label--domain-cn{fill:rgb(28 0 132)}
html[data-theme="light"] .site-chart-tip-label--domain-lol{fill:rgb(2 111 126)}
html[data-theme="light"] .site-chart-tip-label--domain-both{fill:rgb(28 0 132)}
html[data-theme="light"] .site-chart-tip-value{fill:rgb(38 66 94)}
html[data-theme="light"] .site-chart-series--domain-cn,html[data-theme="light"] .site-chart-series--domain-both{color:rgb(28 0 132)}
html[data-theme="light"] .site-chart-series--domain-lol{color:rgb(2 111 126)}
html[data-theme="light"] .site-chart-series--trend-0{color:rgb(28 0 132)}
html[data-theme="light"] .site-chart-tip-label--trend-0{fill:rgb(28 0 132)}
html[data-theme="light"] .site-chart-series--trend-1{color:rgb(2 111 126)}
html[data-theme="light"] .site-chart-tip-label--trend-1{fill:rgb(2 111 126)}
html[data-theme="light"] .site-chart-series--trend-2{color:rgb(16 111 73)}
html[data-theme="light"] .site-chart-tip-label--trend-2{fill:rgb(16 111 73)}
html[data-theme="light"] .site-chart-series--trend-3{color:rgb(127 92 0)}
html[data-theme="light"] .site-chart-tip-label--trend-3{fill:rgb(127 92 0)}
html[data-theme="light"] .site-chart-series--trend-other{color:rgb(61 75 94)}
html[data-theme="light"] .site-chart-tip-label--trend-other{fill:rgb(48 65 85)}
html[data-theme="light"] .site-chart-series--trend-unknown{color:rgb(133 0 16)}
html[data-theme="light"] .site-chart-tip-label--trend-unknown{fill:rgb(133 0 16)}
html[data-theme="light"] .site-report-kpi{background-image:linear-gradient(145deg,rgb(15 23 42/0.065),rgb(15 23 42/0.018))}
html[data-theme="light"] .site-report-kpi>span{color:rgb(48 62 85)}
html[data-theme="light"] .site-report-kpi strong{color:rgb(38 66 94)}
html[data-theme="light"] .site-report-kpi small{color:rgb(60 76 97)}
html[data-theme="light"] .site-report-support span{color:rgb(48 62 85)}
html[data-theme="light"] .site-report-support strong{color:rgb(38 66 94)}
html[data-theme="light"] .site-domain-chart h5{color:rgb(44 63 88)}
html[data-theme="light"] .site-domain-chart-note{color:rgb(61 75 94)}
html[data-theme="light"] .site-report-card{background-color:rgb(247 248 251/0.28)}
html[data-theme="light"] .site-report-card-head h4{color:rgb(38 66 94)}
html[data-theme="light"] .site-report-card-head p{color:rgb(61 75 94)}
html[data-theme="light"] .site-rank-line strong{color:rgb(32 59 100)}
html[data-theme="light"] .site-rank-line span{color:rgb(38 66 94)}
html[data-theme="light"] .site-host-top strong{color:rgb(38 66 94)}
html[data-theme="light"] .site-host-top span{color:rgb(2 111 126)}
html[data-theme="light"] .site-host-count{color:rgb(38 66 94)}
html[data-theme="light"] .site-host-count span,html[data-theme="light"] .site-host-card small{color:rgb(61 75 94)}
html[data-theme="light"] .site-rank-number{color:rgb(60 76 97)}
html[data-theme="light"] .site-report-links{color:rgb(61 75 94)}
html[data-theme="light"] .site-report-links a{color:rgb(2 111 126)}
html[data-theme="light"] .site-report-method{color:rgb(61 75 94)}
html[data-theme="light"] .site-monitor-top strong{color:rgb(38 66 94)}
html[data-theme="light"] .site-monitor-card small,html[data-theme="light"] .site-monitor-card p{color:rgb(56 70 90)}
html[data-theme="light"] .site-monitor-state--up{color:rgb(16 111 73)}
html[data-theme="light"] .site-monitor-state--down{color:rgb(133 0 16)}
html[data-theme="light"] .site-monitor-state--stale,html[data-theme="light"] .site-monitor-state--unknown{color:rgb(126 96 0)}
html[data-theme="light"] .site-monitor-state--event{color:rgb(48 65 85)}
html[data-theme="light"] .site-error-detail{color:rgb(32 59 100)}
/* ▲▲ LIGHT THEME END ▲▲ */
