/* AI Learn — the hub, the course page and the lesson player (roadmap Plan 21).
 *
 * Page-scoped plain CSS, like 37-lab.css: loaded only by the /ailearn templates, so no Tailwind
 * rebuild is needed and scripts/build_light_theme.py picks it up by its number.
 */

:root {
  --al-accent: 56, 189, 248;     /* sky-400 — the "learning path" colour */
  --al-ok: 16, 185, 129;
  --al-warn: 245, 158, 11;
  --al-bad: 244, 63, 94;
}

/* The player needs the room a 16:9 clip and a practice frame want. */
#site-main.al-wide { max-width: 88rem; }

/* ── shared chrome ────────────────────────────────────────────────────────── */
.al-crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.8rem; font-size: 0.8rem; color: #94a3b8; }
.al-crumbs a { color: #cbd5e1; }
.al-crumbs a:hover { color: #f8fafc; }

.al-head { margin-bottom: 1.4rem; }
.al-eyebrow { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--al-accent)); }
.al-title { margin: 0.2rem 0 0.4rem; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; color: #f8fafc; }
.al-lead { max-width: 46rem; margin: 0; font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; }
.al-source { margin: 0.3rem 0 0; font-size: 0.72rem; color: #64748b; }
.al-empty { font-size: 0.9rem; color: #94a3b8; }

.al-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.al-btn:hover { background: rgba(255, 255, 255, 0.1); }
.al-btn:disabled { opacity: 0.5; cursor: default; }
.al-btn--primary { border-color: rgba(var(--al-accent), 0.5); background: rgba(var(--al-accent), 0.22); color: #e0f2fe; }
.al-btn--primary:hover { background: rgba(var(--al-accent), 0.32); }
.al-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

/* ── hub ──────────────────────────────────────────────────────────────────── */
.al-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.al-course-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s, background 0.15s;
}
.al-course-card:hover { border-color: rgba(var(--al-accent), 0.5); background: rgba(var(--al-accent), 0.07); }
.al-course-card a { display: block; padding: 1.1rem 1.2rem; }
.al-course-card h2 { margin: 0 0 0.3rem; font-size: 1.1rem; font-weight: 700; color: #f8fafc; }
.al-course-meta { margin: 0; font-size: 0.8rem; color: #94a3b8; }

/* ── course page ──────────────────────────────────────────────────────────── */
.al-units { display: grid; gap: 1.1rem; }
.al-unit { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 1rem; padding: 1rem 1.1rem; }
.al-unit-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.7rem; font-size: 1.05rem; font-weight: 700; color: #f1f5f9; }
.al-unit-n {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.6rem;
  background: rgba(var(--al-accent), 0.18);
  color: #e0f2fe;
  font-size: 0.85rem;
}
.al-unit-weeks { margin-left: auto; font-size: 0.72rem; font-weight: 500; color: #64748b; }

.al-window {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border: 1px dashed rgba(var(--al-warn), 0.45);
  border-radius: 1rem;
  background: rgba(var(--al-warn), 0.05);
  color: #fde68a;
  font-size: 0.9rem;
}
.al-window:hover { background: rgba(var(--al-warn), 0.1); }
.al-window-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.al-window-title { font-weight: 600; color: #fef3c7; }
.al-window-weeks { margin-left: auto; font-size: 0.72rem; color: #a16207; }

.al-sub { margin-top: 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 0.5rem; }
.al-sub > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.35rem 0; cursor: pointer; font-size: 0.92rem; color: #e2e8f0; }
.al-sub-code { min-width: 2.4rem; font-variant-numeric: tabular-nums; font-weight: 700; color: rgb(var(--al-accent)); }
.al-sub-title { font-weight: 600; }
.al-sub-flag { padding: 0.05rem 0.45rem; border: 1px solid rgba(var(--al-ok), 0.45); border-radius: 999px; font-size: 0.66rem; font-weight: 700; color: #6ee7b7; }
.al-sub-cov { margin-left: auto; font-size: 0.7rem; color: #64748b; }

.al-bullets { margin: 0.2rem 0 0.6rem 3rem; padding: 0; list-style: disc; font-size: 0.82rem; line-height: 1.6; color: #94a3b8; }
.al-coming { margin: 0.2rem 0 0.4rem 3rem; font-size: 0.82rem; color: #64748b; }

.al-lessons { display: grid; gap: 0.3rem; margin: 0.2rem 0 0.5rem; padding: 0; list-style: none; }
.al-lesson { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.al-lesson-link { display: flex; align-items: center; gap: 0.6rem; flex: 1 1 18rem; min-height: 2.5rem; padding: 0.3rem 0.6rem; border-radius: 0.6rem; }
.al-lesson-link:hover { background: rgba(255, 255, 255, 0.05); }
.al-lesson-mark { width: 1.1rem; color: #475569; font-size: 0.9rem; }
.al-lesson.is-started .al-lesson-mark { color: rgb(var(--al-warn)); }
.al-lesson.is-done .al-lesson-mark { color: rgb(var(--al-ok)); }
.al-lesson-name { font-size: 0.9rem; font-weight: 600; color: #e2e8f0; }
.al-lesson-meta { margin-left: auto; font-size: 0.72rem; color: #64748b; }
.al-lesson.is-coming { padding: 0.3rem 0.6rem; opacity: 0.55; }
.al-lesson-soon { font-size: 0.72rem; color: #64748b; }
.al-assign { font-size: 0.72rem; color: #a5b4fc; }

/* ── the player ───────────────────────────────────────────────────────────── */
.al-player { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.al-side { position: sticky; top: 1rem; display: grid; gap: 0.6rem; max-height: calc(100dvh - 2rem); overflow-y: auto; }
.al-preview { margin: 0; padding: 0.3rem 0.6rem; border: 1px solid rgba(var(--al-warn), 0.5); border-radius: 0.5rem; font-size: 0.75rem; color: #fcd34d; }
.al-lesson-title { margin: 0; font-size: 1.15rem; font-weight: 700; color: #f8fafc; }
.al-covers { display: grid; gap: 0.2rem; margin: 0; padding: 0; list-style: none; font-size: 0.75rem; line-height: 1.45; color: #94a3b8; }
.al-covers span { margin-right: 0.35rem; font-variant-numeric: tabular-nums; font-weight: 700; color: rgb(var(--al-accent)); }
.al-bar { height: 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.al-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: rgb(var(--al-accent)); transition: width 0.3s ease; }
.al-progress { margin: 0; font-size: 0.75rem; color: #94a3b8; }
.al-rail ol { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.al-rail-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.2rem;
  padding: 0.25rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: none;
  color: #cbd5e1;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}
.al-rail-btn:hover { background: rgba(255, 255, 255, 0.05); }
.al-rail-item.is-on .al-rail-btn { border-color: rgba(var(--al-accent), 0.5); background: rgba(var(--al-accent), 0.12); color: #f8fafc; }
.al-rail-mark { width: 1rem; color: #475569; }
.al-rail-ico { width: 1.1rem; color: #64748b; font-size: 0.78rem; }
.al-rail-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-sidelink { margin: 0; font-size: 0.75rem; color: #94a3b8; }
.al-sidelink a { color: #a5b4fc; }

.al-stage { min-width: 0; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 1rem; padding: 1.1rem 1.2rem; background: rgba(255, 255, 255, 0.02); }
.al-stage-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.7rem; margin-bottom: 0.8rem; }
.al-stage-head h2 { margin: 0; font-size: 1.1rem; font-weight: 700; color: #f8fafc; }
.al-stage-step { margin-left: auto; font-size: 0.75rem; color: #64748b; }
.al-stage-body { min-height: 12rem; }
.al-stage-body:focus { outline: none; }
.al-stage-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }

/* blocks */
.al-video video { width: 100%; max-height: 62vh; border-radius: 0.8rem; background: #000; }
.al-chapters { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.al-chapter { padding: 0.2rem 0.6rem; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: none; color: #cbd5e1; font: inherit; font-size: 0.75rem; cursor: pointer; }
.al-chapter:hover { background: rgba(255, 255, 255, 0.07); }
.al-video-end { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.al-unavailable { padding: 1rem; border: 1px dashed rgba(255, 255, 255, 0.15); border-radius: 0.7rem; font-size: 0.85rem; color: #94a3b8; }
.al-caption { margin: 0.4rem 0 0; font-size: 0.78rem; color: #94a3b8; }
.al-frame { width: 100%; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.8rem; background: #0b1120; }
.al-frame--practice { min-height: 32rem; }
.al-frame--code { min-height: 40rem; }
.al-frame--sim { min-height: 30rem; }

.al-prose { font-size: 0.95rem; line-height: 1.7; color: #cbd5e1; }
.al-prose h3 { margin: 1rem 0 0.4rem; font-size: 1rem; font-weight: 700; color: #f1f5f9; }
.al-prose p { margin: 0 0 0.7rem; }
.al-prose ul, .al-prose ol { margin: 0 0 0.8rem 1.2rem; }
.al-prose li { margin-bottom: 0.25rem; }
.al-prose table { width: 100%; margin: 0.6rem 0 1rem; border-collapse: collapse; font-size: 0.86rem; }
.al-prose th, .al-prose td { padding: 0.35rem 0.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); text-align: left; }
.al-prose th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }
.al-prose code { padding: 0.05rem 0.3rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.07); font-size: 0.86em; }
.al-hint { margin: 0.6rem 0 0; font-size: 0.8rem; color: #94a3b8; }
.al-hint.is-error { color: #fda4af; }
.al-notes-h { margin: 0.8rem 0 0.3rem; font-size: 0.95rem; font-weight: 700; color: #f1f5f9; }

.al-exercise { display: grid; gap: 0.6rem; }
.al-prompt { font-size: 0.95rem; line-height: 1.65; color: #e2e8f0; }
.al-marks { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #64748b; }
.al-options { display: grid; gap: 0.3rem; margin: 0; padding: 0; border: 0; }
.al-option { display: flex; align-items: flex-start; gap: 0.5rem; min-height: 2.5rem; padding: 0.35rem 0.5rem; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.6rem; cursor: pointer; }
.al-option:hover { background: rgba(255, 255, 255, 0.04); }
.al-option input { margin-top: 0.25rem; width: 1.05rem; height: 1.05rem; }
.al-option-letter { font-weight: 700; color: rgb(var(--al-accent)); }
.al-option-text { font-size: 0.9rem; color: #e2e8f0; }
.al-answer {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  font: inherit;
  font-size: 0.92rem;
  resize: vertical;
}
.al-feedback { padding: 0.6rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0.7rem; font-size: 0.88rem; line-height: 1.6; color: #cbd5e1; }
.al-feedback.is-right { border-color: rgba(var(--al-ok), 0.5); background: rgba(var(--al-ok), 0.08); }
.al-feedback.is-partial { border-color: rgba(var(--al-warn), 0.5); background: rgba(var(--al-warn), 0.07); }
.al-feedback.is-hint { border-color: rgba(var(--al-accent), 0.5); background: rgba(var(--al-accent), 0.07); }
.al-feedback.is-error { border-color: rgba(var(--al-bad), 0.5); color: #fda4af; }
.al-verdict { margin: 0 0 0.3rem; font-weight: 700; color: #f1f5f9; }
.al-reason { margin: 0 0 0.4rem; }
.al-again { margin: 0; font-size: 0.82rem; color: #fcd34d; }
.al-solution { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.al-solution h4 { margin: 0 0 0.3rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #94a3b8; }

.al-cp-item { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.al-cp-item:last-of-type { border-bottom: 0; }

.al-complete { margin-top: 1rem; padding: 1rem 1.2rem; border: 1px solid rgba(var(--al-ok), 0.45); border-radius: 0.9rem; background: rgba(var(--al-ok), 0.07); }
.al-complete h3 { margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 700; color: #6ee7b7; }
.al-complete p { margin: 0 0 0.35rem; font-size: 0.9rem; color: #d1fae5; }
.al-levelup { font-weight: 700; color: #fcd34d !important; }
.al-rank { color: #bae6fd !important; }

/* `hidden` has to win over every display above (the trap at 13-account.css:117). */
.al-video-end[hidden], .al-feedback[hidden], .al-actions[hidden] { display: none; }

/* ── phones ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .al-player { grid-template-columns: 1fr; }
  .al-side { position: static; max-height: none; }
  .al-rail ol { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .al-rail-btn { width: auto; min-height: 2.75rem; }
  .al-rail-name { display: none; }
}
@media (max-width: 640px) {
  .al-stage { padding: 0.9rem; }
  .al-btn { min-height: 2.75rem; }
  .al-option { min-height: 2.75rem; }
  .al-frame--practice, .al-frame--code { min-height: 70vh; }
  /* Back / Next stay at the END of the stage on a phone, not stuck to the bottom of the
     viewport: a sticky bar there covers the block's own Check / Hint / Notes row. */
  .al-stage-actions { padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px)); }
  .al-lesson-meta { margin-left: 0; width: 100%; }
}
/* ── the teacher's Progress tab (roadmap Plan 21) ─────────────────────────── */
.progress-panel { display: grid; gap: 0.9rem; }
.pg-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 0.7rem; }
.pg-scroll { overflow-x: auto; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.pg-table th, .pg-table td { padding: 0.4rem 0.55rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; vertical-align: top; }
.pg-name-h { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; }
.pg-lesson-h { min-width: 8.5rem; max-width: 12rem; }
.pg-lesson-unit { display: block; font-size: 0.66rem; font-weight: 700; color: rgb(var(--al-accent)); }
.pg-lesson-name { display: block; font-size: 0.78rem; font-weight: 600; color: #e2e8f0; }
.pg-classbar { display: block; height: 0.25rem; margin: 0.3rem 0 0.15rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pg-classbar span { display: block; height: 100%; border-radius: 999px; background: rgb(var(--al-ok)); }
.pg-classnum { font-size: 0.66rem; font-weight: 500; color: #64748b; }
.pg-name a { font-weight: 600; color: #e2e8f0; white-space: nowrap; }
.pg-name a:hover { color: #f8fafc; }
.pg-cell { text-align: center; font-variant-numeric: tabular-nums; }
.pg-mark { display: block; font-size: 1rem; color: #475569; }
.pg-cell.is-started .pg-mark { color: rgb(var(--al-warn)); }
.pg-cell.is-done .pg-mark { color: rgb(var(--al-ok)); }
.pg-score { display: block; font-size: 0.7rem; color: #94a3b8; }
.pg-help { padding-top: 0.6rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pg-help[hidden] { display: none; }
.pg-help-list { display: grid; gap: 0.3rem; margin: 0.4rem 0 0; padding: 0; list-style: none; }
.pg-help-item { font-size: 0.85rem; color: #cbd5e1; }
.pg-help-link { margin-left: 0.5rem; font-size: 0.75rem; color: #a5b4fc; }
@media (max-width: 640px) {
  /* Touch targets: 44 px wherever a finger lands. The two links are inline inside a sentence,
     so they take the height as padding rather than as a line box. */
  .pg-filters .teacher-btn-mini,
  .pg-filters .teacher-select-mini { min-height: 2.75rem; }
  .pg-name a, .pg-help-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.35rem; }
  .pg-lesson-h { min-width: 7rem; }
}

/* ▼▼ 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"] .al-crumbs{color:rgb(61 75 94)}
html[data-theme="light"] .al-crumbs a{color:rgb(48 65 85)}
html[data-theme="light"] .al-crumbs a:hover{color:rgb(38 66 94)}
html[data-theme="light"] .al-eyebrow{color:color-mix(in srgb,rgb(var(--al-accent)) 44%,#0f172a)}
html[data-theme="light"] .al-title{color:rgb(38 66 94)}
html[data-theme="light"] .al-lead{color:rgb(48 65 85)}
html[data-theme="light"] .al-source{color:rgb(87 101 122)}
html[data-theme="light"] .al-empty{color:rgb(61 75 94)}
html[data-theme="light"] .al-btn{border:1px solid rgb(15 23 42/0.196);background-color:rgb(15 23 42/0.05);color:rgb(44 63 88)}
html[data-theme="light"] .al-btn:hover{background-color:rgb(15 23 42/0.1)}
html[data-theme="light"] .al-btn--primary{color:rgb(1 79 132)}
html[data-theme="light"] .al-course-card{border:1px solid rgb(15 23 42/0.14);background-color:rgb(15 23 42/0.03)}
html[data-theme="light"] .al-course-card h2{color:rgb(38 66 94)}
html[data-theme="light"] .al-course-meta{color:rgb(61 75 94)}
html[data-theme="light"] .al-unit{border:1px solid rgb(15 23 42/0.112)}
html[data-theme="light"] .al-unit-title{color:rgb(38 66 94)}
html[data-theme="light"] .al-unit-n{color:rgb(1 79 132)}
html[data-theme="light"] .al-unit-weeks{color:rgb(87 101 122)}
html[data-theme="light"] .al-window{color:rgb(117 94 0)}
html[data-theme="light"] .al-window-title{color:rgb(117 94 0)}
html[data-theme="light"] .al-sub{border-top:1px solid rgb(15 23 42/0.084)}
html[data-theme="light"] .al-sub > summary{color:rgb(44 63 88)}
html[data-theme="light"] .al-sub-code{color:color-mix(in srgb,rgb(var(--al-accent)) 44%,#0f172a)}
html[data-theme="light"] .al-sub-flag{color:rgb(16 111 73)}
html[data-theme="light"] .al-sub-cov{color:rgb(87 101 122)}
html[data-theme="light"] .al-bullets{color:rgb(61 75 94)}
html[data-theme="light"] .al-coming{color:rgb(87 101 122)}
html[data-theme="light"] .al-lesson-link:hover{background-color:rgb(15 23 42/0.05)}
html[data-theme="light"] .al-lesson.is-started .al-lesson-mark{color:color-mix(in srgb,rgb(var(--al-warn)) 44%,#0f172a)}
html[data-theme="light"] .al-lesson.is-done .al-lesson-mark{color:color-mix(in srgb,rgb(var(--al-ok)) 44%,#0f172a)}
html[data-theme="light"] .al-lesson-name{color:rgb(44 63 88)}
html[data-theme="light"] .al-lesson-meta{color:rgb(87 101 122)}
html[data-theme="light"] .al-lesson-soon{color:rgb(87 101 122)}
html[data-theme="light"] .al-assign{color:rgb(1 24 131)}
html[data-theme="light"] .al-preview{color:rgb(126 96 0)}
html[data-theme="light"] .al-lesson-title{color:rgb(38 66 94)}
html[data-theme="light"] .al-covers{color:rgb(61 75 94)}
html[data-theme="light"] .al-covers span{color:color-mix(in srgb,rgb(var(--al-accent)) 44%,#0f172a)}
html[data-theme="light"] .al-bar{background-color:rgb(15 23 42/0.08)}
html[data-theme="light"] .al-progress{color:rgb(61 75 94)}
html[data-theme="light"] .al-rail-btn{color:rgb(48 65 85)}
html[data-theme="light"] .al-rail-btn:hover{background-color:rgb(15 23 42/0.05)}
html[data-theme="light"] .al-rail-item.is-on .al-rail-btn{color:rgb(38 66 94)}
html[data-theme="light"] .al-rail-ico{color:rgb(87 101 122)}
html[data-theme="light"] .al-sidelink{color:rgb(61 75 94)}
html[data-theme="light"] .al-sidelink a{color:rgb(1 24 131)}
html[data-theme="light"] .al-stage{border:1px solid rgb(15 23 42/0.126);background-color:rgb(15 23 42/0.02)}
html[data-theme="light"] .al-stage-head h2{color:rgb(38 66 94)}
html[data-theme="light"] .al-stage-step{color:rgb(87 101 122)}
html[data-theme="light"] .al-stage-actions{border-top:1px solid rgb(15 23 42/0.098)}
html[data-theme="light"] .al-video video{background-color:rgb(255 255 255)}
html[data-theme="light"] .al-chapter{border:1px solid rgb(15 23 42/0.168);color:rgb(48 65 85)}
html[data-theme="light"] .al-chapter:hover{background-color:rgb(15 23 42/0.07)}
html[data-theme="light"] .al-unavailable{border:1px dashed rgb(15 23 42/0.21);color:rgb(61 75 94)}
html[data-theme="light"] .al-caption{color:rgb(61 75 94)}
html[data-theme="light"] .al-frame{border:1px solid rgb(15 23 42/0.14);background-color:rgb(247 248 251)}
html[data-theme="light"] .al-prose{color:rgb(48 65 85)}
html[data-theme="light"] .al-prose h3{color:rgb(38 66 94)}
html[data-theme="light"] .al-prose th,html[data-theme="light"] .al-prose td{border-bottom:1px solid rgb(15 23 42/0.14)}
html[data-theme="light"] .al-prose th{color:rgb(61 75 94)}
html[data-theme="light"] .al-prose code{background-color:rgb(15 23 42/0.07)}
html[data-theme="light"] .al-hint{color:rgb(61 75 94)}
html[data-theme="light"] .al-hint.is-error{color:rgb(133 0 16)}
html[data-theme="light"] .al-notes-h{color:rgb(38 66 94)}
html[data-theme="light"] .al-prompt{color:rgb(44 63 88)}
html[data-theme="light"] .al-marks{color:rgb(87 101 122)}
html[data-theme="light"] .al-option{border:1px solid rgb(15 23 42/0.14)}
html[data-theme="light"] .al-option:hover{background-color:rgb(15 23 42/0.04)}
html[data-theme="light"] .al-option-letter{color:color-mix(in srgb,rgb(var(--al-accent)) 44%,#0f172a)}
html[data-theme="light"] .al-option-text{color:rgb(44 63 88)}
html[data-theme="light"] .al-answer{border:1px solid rgb(15 23 42/0.196);background-color:rgb(244 245 249/0.6);color:rgb(44 63 88)}
html[data-theme="light"] .al-feedback{border:1px solid rgb(15 23 42/0.168);color:rgb(48 65 85)}
html[data-theme="light"] .al-feedback.is-error{color:rgb(133 0 16)}
html[data-theme="light"] .al-verdict{color:rgb(38 66 94)}
html[data-theme="light"] .al-again{color:rgb(126 96 0)}
html[data-theme="light"] .al-solution{border-top:1px solid rgb(15 23 42/0.14)}
html[data-theme="light"] .al-solution h4{color:rgb(61 75 94)}
html[data-theme="light"] .al-cp-item{border-bottom:1px solid rgb(15 23 42/0.098)}
html[data-theme="light"] .al-complete h3{color:rgb(16 111 73)}
html[data-theme="light"] .al-complete p{color:rgb(10 115 61)}
html[data-theme="light"] .al-levelup{color:rgb(126 96 0)!important}
html[data-theme="light"] .al-rank{color:rgb(1 87 132)!important}
html[data-theme="light"] .pg-table th,html[data-theme="light"] .pg-table td{border-bottom:1px solid rgb(15 23 42/0.112)}
html[data-theme="light"] .pg-name-h{color:rgb(61 75 94)}
html[data-theme="light"] .pg-lesson-unit{color:color-mix(in srgb,rgb(var(--al-accent)) 44%,#0f172a)}
html[data-theme="light"] .pg-lesson-name{color:rgb(44 63 88)}
html[data-theme="light"] .pg-classbar{background-color:rgb(15 23 42/0.08)}
html[data-theme="light"] .pg-classnum{color:rgb(87 101 122)}
html[data-theme="light"] .pg-name a{color:rgb(44 63 88)}
html[data-theme="light"] .pg-name a:hover{color:rgb(38 66 94)}
html[data-theme="light"] .pg-cell.is-started .pg-mark{color:color-mix(in srgb,rgb(var(--al-warn)) 44%,#0f172a)}
html[data-theme="light"] .pg-cell.is-done .pg-mark{color:color-mix(in srgb,rgb(var(--al-ok)) 44%,#0f172a)}
html[data-theme="light"] .pg-score{color:rgb(61 75 94)}
html[data-theme="light"] .pg-help{border-top:1px solid rgb(15 23 42/0.112)}
html[data-theme="light"] .pg-help-item{color:rgb(48 65 85)}
html[data-theme="light"] .pg-help-link{color:rgb(1 24 131)}
/* ▲▲ LIGHT THEME END ▲▲ */
