/* Life Academy — Student Classroom */
:root {
  --ink: #12202a;
  --muted: #5a6b76;
  --teal: #0f766e;
  --teal-deep: #115e59;
  --teal-soft: #ecfdf5;
  --gold: #f59e0b;
  --coral: #ea580c;
  --cream: #fffdf8;
  --line: #e7dfd2;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #b91c1c;
  --shadow: 0 14px 36px rgba(18, 32, 42, 0.1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
#see-it-lab,
#teach,
#practice,
#mastery,
.lesson-section.lab,
.lab-stage {
  scroll-margin-top: 5.75rem;
  position: relative;
  z-index: 1;
}
body {
  margin: 0;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.95), rgba(255, 248, 241, 0.92)),
    radial-gradient(ellipse at 15% 0%, rgba(20, 184, 166, 0.14), transparent 50%),
    radial-gradient(ellipse at 90% 5%, rgba(245, 158, 11, 0.1), transparent 45%),
    #f0fdfa;
  line-height: 1.5;
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.15rem;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}
.nav a,
.nav button,
.nav .nav-links,
.nav .logo {
  pointer-events: auto;
}
.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: inherit;
}
.logo span { color: var(--teal); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.nav-links a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.45rem;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.35rem 1.2rem 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  margin: 0 0 0.55rem;
}
h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); margin: 1.5rem 0 0.65rem; }
h3 { font-size: 1.1rem; margin: 1.1rem 0 0.4rem; }

.lead {
  font-weight: 700;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}

.hs-path-banner {
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.hs-path-banner strong { color: var(--ink); }
.hs-path-banner a { color: var(--teal); font-weight: 800; }

.lab-motion {
  width: 100%;
  max-width: 420px;
}
.lab-track {
  position: relative;
  height: 72px;
  background: linear-gradient(#e7dfd2, #d6cbb8);
  border-radius: 10px;
  margin: 0.5rem 0;
  overflow: hidden;
  border: 2px solid var(--ink);
}
.lab-cart {
  position: absolute;
  top: 18px;
  width: 56px;
  height: 36px;
  background: var(--teal);
  border-radius: 8px 8px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  transition: left 0.05s linear;
}
.lab-motion input[type="range"] { width: 100%; }

.goal {
  background: var(--teal-soft);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}
.goal strong {
  display: block;
  color: var(--teal-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.what-box, .worked, .try-me, .mistake, .real-life {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 0.75rem 0;
  font-weight: 700;
}
.what-box { background: #ecfdf5; border: 1px solid rgba(15,118,110,.25); }
.worked { background: #fff7ed; border: 1px solid #fdba74; }
.try-me { background: #eef2ff; border: 1px solid #c7d2fe; }
.mistake { background: #fef2f2; border: 1px solid #fecaca; }
.real-life { background: #f0fdfa; border: 1px dashed rgba(15,118,110,.35); }
.facts-box {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 0.75rem 0;
  font-weight: 700;
}
.facts-box strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: #92400e;
}
.facts-list { margin: 0.35rem 0 0; padding-left: 1.2rem; }
.facts-list li { margin: 0.3rem 0; }
.what-box strong, .worked strong, .try-me strong, .mistake strong, .real-life strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--teal-deep);
}
.worked strong { color: #9a3412; }
.mistake strong { color: #991b1b; }
.steps { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.steps li { margin: 0.35rem 0; }
.tts-bar { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.75rem; }
.btn-tts {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  cursor: pointer;
  font-family: inherit;
}

.teach {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.teach p { margin: 0.55rem 0; font-weight: 700; color: var(--muted); }
.teach p strong, .teach li strong { color: var(--ink); }
.teach ul, .teach ol { margin: 0.4rem 0; padding-left: 1.2rem; font-weight: 700; color: var(--muted); }
.teach li { margin: 0.35rem 0; }

.visual {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #fff7ed);
  border: 1px solid var(--line);
  text-align: center;
}
.visual svg { max-width: 100%; height: auto; }

.lab {
  background: #f8fafc;
  border: 2px solid rgba(15,118,110,.28);
}
.lab-stage {
  display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center;
  margin: 0.75rem 0; min-height: 88px; align-items: center;
}
.lab-dot, .lab-chip {
  width: 52px; height: 52px; border-radius: 14px; border: 2px solid #0f766e;
  background: #0ea5e9; color: #fff; font-weight: 800; font-size: 1.15rem;
  cursor: pointer; font-family: inherit;
}
.lab-chip { width: auto; min-width: 72px; padding: 0 0.7rem; height: 48px; background: #fff; color: #12202a; }
.lab-chip.on, .lab-dot.on { background: #0f766e; color: #fff; transform: scale(1.06); }
.lab-chip.metal { border-color: #64748b; }
.lab-chip.float { background: #e0f2fe; }
.lab-status { font-weight: 800; color: var(--teal-deep); margin: 0.35rem 0 0; min-height: 1.4em; }
.lab-stage:has(.lab-notebook),
.lab-stage:has(.observe-demo) {
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}
.lab-safety {
  width: 100%;
  background: #fff7ed;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-weight: 700;
  text-align: left;
  margin: 0;
}
.observe-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.observe-svg { width: min(100%, 280px); height: auto; }
.lab-notebook {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
}
.lab-notebook label {
  display: grid;
  gap: 0.3rem;
  font-weight: 800;
}
.lab-notebook textarea,
.lab-notebook input {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 2px solid var(--line);
  border-radius: 10px;
}
.paper-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0.35rem;
}
.kid-plain-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--teal-deep);
  margin: 0 0 0.35rem;
}
.phet-frame {
  width: 100%; height: min(520px, 70vh); border: 0; border-radius: 12px;
  background: #0b1220;
}
.lab-note { font-size: 0.9rem; font-weight: 700; color: var(--muted); }

.online-howto {
  background: #ecfdf5;
  border: 2px solid rgba(15, 118, 110, 0.35);
  border-radius: 16px;
  padding: 0.95rem 1.05rem 0.85rem;
  margin: 0 0 1rem;
}
.online-howto strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.online-howto ol {
  margin: 0.35rem 0 0.55rem;
  padding-left: 1.2rem;
  font-weight: 700;
}
.online-howto li { margin: 0.28rem 0; }
.online-howto p {
  margin: 0.35rem 0 0;
  font-weight: 700;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-gold { background: var(--gold); color: #1a1a1a; }
.btn-ghost {
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.85rem 0; }

.grade-grid, .subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
  margin: 1rem 0;
}
.grade-btn, .subject-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 72px;
  padding: 0.9rem 1rem;
  background: rgba(255, 253, 248, 0.96);
  border: 2px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.grade-btn:hover, .subject-card:hover,
.grade-btn:focus-visible, .subject-card:focus-visible {
  border-color: var(--teal);
  transform: translateY(-2px);
  outline: none;
}
.grade-btn.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.subject-card small {
  display: block;
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.subject-card .sub {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.25rem;
}

label.field {
  display: block;
  font-weight: 800;
  margin: 1rem 0 0.4rem;
}
input[type="text"], select {
  width: 100%;
  min-height: 52px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  border: 2px solid var(--ink);
  padding: 0.7rem 1rem;
  background: #fff;
}

.quiz {
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  margin: 1.25rem 0;
}
.quiz fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
}
.quiz legend {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  padding: 0 0.35rem;
}
.quiz label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 700;
  margin: 0.45rem 0;
  cursor: pointer;
}
.quiz input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: var(--teal);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.quiz-result {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  display: none;
}
.quiz-result.show { display: block; }
.quiz-result.pass {
  background: #ecfdf5;
  color: var(--ok);
  border: 1px solid #86efac;
}
.quiz-result.fail {
  background: #fff7ed;
  color: var(--warn);
  border: 1px solid #fdba74;
}
.quiz label.correct { color: var(--ok); }
.quiz label.wrong { color: var(--bad); }

.complete-bar {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--teal-soft);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.studio-link, .teacher-notes {
  display: block;
  margin: 0.75rem 0;
  font-weight: 800;
  color: var(--teal);
  text-decoration: none;
}
.teacher-notes {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.gb-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 253, 248, 0.96);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}
.gb-table th, .gb-table td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.gb-table th {
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mastery {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.mastery-high { background: #dcfce7; color: var(--ok); }
.mastery-mid { background: #fef3c7; color: var(--warn); }
.mastery-low { background: #fee2e2; color: var(--bad); }

.empty {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 253, 248, 0.96);
  border: 1px dashed var(--line);
  border-radius: 16px;
  font-weight: 700;
  color: var(--muted);
}

.student-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.pill {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin: 0 0.25rem 0.55rem 0;
}

@media print {
  .nav, .btns, .no-print { display: none !important; }
  body { background: #fff; }
  .wrap { max-width: none; padding: 0; }
}

@media (max-width: 520px) {
  .wrap { padding: 1.1rem 0.95rem 2.75rem; }
  .grade-grid { grid-template-columns: 1fr 1fr; }
  .lesson-nav { flex-direction: column; }
  .lesson-nav .btn { width: 100%; }
}

/* —— Rich lessons —— */
.lesson-wrap { max-width: 820px; }
.lesson-section {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.15rem;
}
.lesson-section h2 { margin-top: 0.2rem; }
.section-lead {
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 0.85rem;
}
.lesson-hook, .excerpt {
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--ink);
}
.frame {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 0.75rem 1rem;
}
.coach { font-size: 0.95rem; color: var(--muted); }
.cer-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}
.cer-table th, .cer-table td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.6rem;
  text-align: left;
  font-weight: 700;
}
.cer-table th { background: var(--teal-soft); color: var(--teal-deep); }
.steps { font-weight: 700; color: var(--muted); }
.tap-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.65rem 0 0.85rem;
}
.tap-item, .chip-btn {
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
}
.tap-item.selected, .chip-btn.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.tap-item.correct, .fill-row.correct, .choice-row.correct { outline: 2px solid var(--ok); }
.tap-item.wrong, .fill-row.wrong, .choice-row.wrong { outline: 2px solid var(--bad); }
.fill-row {
  margin: 0.55rem 0;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
}
.assignment {
  margin: 1.1rem 0;
  padding: 1rem 1.05rem 1.2rem;
  border: 3px solid var(--teal);
  border-radius: 16px;
  background: #ecfdf5;
}
.assignment h2 { margin-top: 0; }
.reading-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0.6rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
.asg-write-label { display: block; font-weight: 800; margin: 0.8rem 0 0.35rem; }
#asg-write {
  width: 100%;
  min-height: 8rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
}
.assignment .fill-row input { width: min(100%, 12rem); }
.plain-now {
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 1rem;
}
.extra-practice {
  margin: 1.25rem 0;
  padding: 0.7rem 1rem;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.extra-practice summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--muted);
}
body.simple-class .goal { display: none; }
body.simple-class a.teacher-notes { display: none !important; }
body.simple-class:not(.kid-mode):not(.ms-mode):not(.hs-mode) .studio-link { display: none !important; }
body.simple-class .extra-practice:not([open]) > .lesson-section { display: none; }
.kid-path {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1rem;
}
.kid-path a {
  font-weight: 800; color: var(--teal); text-decoration: none;
  background: #fff; border: 2px solid var(--teal); border-radius: 999px;
  padding: 0.35rem 0.75rem; font-size: 0.9rem;
}
.choice-row { margin: 0.75rem 0; padding: 0.65rem; border: 1px solid var(--line); border-radius: 12px; }
.choice-row p { margin: 0 0 0.5rem; font-weight: 700; }
.reveal {
  margin: 0.85rem 0 0.25rem;
  font-weight: 700;
  color: var(--muted);
}
.reveal summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 800;
}
.check-result {
  margin-top: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-weight: 800;
}
.check-result.show.pass { background: #ecfdf5; color: var(--ok); border: 1px solid #86efac; }
.check-result.show.fail { background: #fff7ed; color: var(--warn); border: 1px solid #fdba74; }

textarea#reflection-text {
  width: 100%;
  min-height: 110px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  border: 2px solid var(--ink);
  padding: 0.75rem 1rem;
  background: #fff;
  resize: vertical;
}

.lesson-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0;
  padding: 1rem;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.lesson-nav .btn { flex: 1 1 auto; text-align: center; }
.next-cta {
  margin-top: 0.85rem;
  font-size: 1.1rem;
  min-height: 56px;
  animation: lra-pop 0.45s ease;
}
@keyframes lra-pop {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.continue-panel {
  background: linear-gradient(135deg, #ecfdf5, #fff7ed);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  margin: 1rem 0 1.5rem;
  box-shadow: var(--shadow);
}

/* —— Course outlines —— */
.course-wrap { max-width: 920px; }
.course-progress {
  font-weight: 800;
  color: var(--teal-deep);
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: var(--teal-soft);
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.2);
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}
.week-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 88px;
  padding: 0.85rem 1rem;
  background: rgba(255, 253, 248, 0.96);
  border: 2px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.week-card:hover, .week-card:focus-visible {
  border-color: var(--teal);
  transform: translateY(-2px);
  outline: none;
}
.week-card .week-num {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.week-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.25;
}
.week-card .done-mark {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  color: var(--ok);
  font-size: 1.1rem;
}
.week-card.is-complete {
  border-color: #86efac;
  background: #f0fdf4;
}

/* —— Academic Snapshot / virtual-school UX —— */
.wrap-wide { max-width: 980px; }
.dash-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1.25rem;
}
.dash-links a {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--teal);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  background: var(--teal-soft);
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.snap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}
.snap-card {
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.snap-card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.snap-meta {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.92rem;
}
.pace-badge {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  width: fit-content;
}
.pace-on { background: #dcfce7; color: var(--ok); }
.pace-ahead { background: #dbeafe; color: #1d4ed8; }
.pace-behind { background: #ffedd5; color: var(--warn); }
.bar {
  height: 10px;
  border-radius: 999px;
  background: #e7dfd2;
  overflow: hidden;
  margin: 0.35rem 0;
}
.bar > span {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
}
.pace-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}
.pace-toggle button {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
}
.pace-toggle button.active {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.pace-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 253, 248, 0.96);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  margin: 1rem 0;
}
.pace-table th, .pace-table td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.pace-table th {
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.parent-banner {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 700;
  margin: 0.55rem 0;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.checklist input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.unit-block {
  margin: 1.5rem 0;
}
.unit-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--line);
}
.unit-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--teal-deep);
}
.unit-head .unit-range {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--muted);
}
.week-card .score-mark {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal);
  margin-top: 0.15rem;
}
.course-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 0.75rem 0 1rem;
}
.report-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--ink);
}
.report-header .school {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.35rem;
}
.plain-box {
  background: var(--teal-soft);
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0.75rem 0 1.1rem;
  border: 1px solid rgba(15, 118, 110, 0.18);
}
.plain-box strong { color: var(--ink); }
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin: 0.75rem 0;
}
.field-row .field { flex: 1 1 160px; margin: 0; }
.field-row input[type="date"], .field-row input[type="password"] {
  width: 100%;
  min-height: 48px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  border: 2px solid var(--ink);
  padding: 0.55rem 0.85rem;
  background: #fff;
}
@keyframes lra-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.snap-card, .unit-block {
  animation: lra-fade-up 0.4s ease both;
}
.snap-card:nth-child(2) { animation-delay: 0.05s; }
.snap-card:nth-child(3) { animation-delay: 0.1s; }
.snap-card:nth-child(4) { animation-delay: 0.15s; }
.snap-card:nth-child(5) { animation-delay: 0.2s; }


/* —— Virtual-school polish: report card, units, week scores —— */
.report-sheet {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: #fff;
}
.report-head { margin-bottom: 1rem; }
.week-score {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal);
  margin-top: 0.25rem;
}
.units-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.unit-title {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}
.field-row .field { flex: 1; min-width: 200px; }
.pace-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pace-toggle button {
  font: inherit;
  font-weight: 800;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
}
.pace-toggle button.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pace-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 700;
  margin: 1rem 0;
}
.pace-table th, .pace-table td {
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.55rem 0.65rem;
  text-align: left;
}
.pace-table th { background: rgba(15,118,110,0.08); font-weight: 800; }
.parent-banner {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, #ecfdf5, #f0f9ff);
  font-weight: 700;
  margin: 1rem 0;
}
.dash-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 1rem 0 1.25rem;
  font-weight: 800;
}
.dash-links a { color: var(--teal); text-decoration: none; }
.dash-links a:hover { text-decoration: underline; }
@media print {
  .no-print { display: none !important; }
  .report-sheet { border: none; padding: 0; }
}


/* —— Sources, visuals & how-tos —— */
.sources-media {
  background: linear-gradient(165deg, #f0fdfa 0%, #fffdf8 55%, #eff6ff 100%);
  border: 2px solid rgba(15, 118, 110, 0.25);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1.25rem;
  margin: 1.25rem 0;
}
.sources-media h2 { margin-top: 0; }
.sources-h {
  font-size: 1.05rem;
  margin: 1rem 0 0.45rem;
  letter-spacing: -0.02em;
}
.sources-desk {
  font-weight: 800;
  margin: 0.35rem 0 0.85rem;
}
.sources-desk a { color: var(--teal); }
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin: 0.75rem 0 1rem;
}
.media-figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  background: #e7dfd2;
}
.media-figure figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.55rem 0.75rem 0.7rem;
  line-height: 1.35;
}
.source-list {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
}
.source-list li { margin: 0.35rem 0; }
.source-list a { color: var(--teal); font-weight: 800; }
.video-link { text-decoration: none; }
.video-link:hover { text-decoration: underline; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  margin: 0.75rem 0 0.35rem;
  box-shadow: var(--shadow);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.academic-sources {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
a.academic-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  text-decoration: none;
  color: var(--teal-deep);
  font-weight: 800;
}
a.academic-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 0.2rem;
  line-height: 1.35;
}
a.academic-card:hover { border-color: var(--teal); background: var(--teal-soft); }
.lab-groups {
  align-items: flex-end;
  gap: 0.85rem;
}
.lab-group {
  display: grid;
  grid-template-columns: repeat(3, 18px);
  gap: 4px;
  padding: 0.45rem;
  border: 2px dashed #0f766e;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.lab-group.on { background: #ecfdf5; border-style: solid; }
.lab-dot.mini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: #14b8a6;
  pointer-events: none;
}

.sources-footnote {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0.85rem 0 0;
  line-height: 1.4;
}

/* —— Today: play + STEM —— */
.play-band {
  margin: 0 0 1.6rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #ecfdf5);
  border: 2px solid rgba(245, 158, 11, 0.35);
}
.play-band h2 { margin-top: 0; }
.stem-card {
  border: 2px solid var(--teal) !important;
  background: #ecfdf5 !important;
}
.stem-box {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: #ecfdf5;
  border: 2px solid rgba(15, 118, 110, 0.35);
  font-weight: 700;
}
.stem-box strong { display: block; color: var(--teal-deep); margin-bottom: 0.25rem; }

/* —— K–5 lesson chrome —— */
.kid-path {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}
.kid-path a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
}
.kid-path a:hover { border-color: var(--teal); background: var(--teal-soft); }
.star-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #fff7ed;
  border: 2px solid #f59e0b;
  color: #9a3412;
  font-weight: 800;
  margin: 0 0 0.85rem;
}
body.kid-mode .kid-listen {
  display: flex;
  width: 100%;
  margin: 0 0 1rem;
  min-height: 56px;
  font-size: 1.08rem;
  background: var(--teal);
  color: #fff;
}
body.kid-mode .kid-parent-how {
  background: #ecfdf5;
  border: 2px solid var(--teal);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  font-weight: 700;
}
body.kid-mode .kid-parent-how summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 800;
}
body.kid-mode .kid-parent-how ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
body.kid-mode .kid-parent-how li { margin: 0.3rem 0; }
body.kid-mode a.studio-link.studio-link-hero,
body.ms-mode a.studio-link.studio-link-hero,
body.hs-mode a.studio-link.studio-link-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}
body.ms-mode a.studio-link.studio-link-hero,
body.hs-mode a.studio-link.studio-link-hero {
  background: var(--teal);
  color: #fff;
}
body.kid-mode a.studio-link.studio-link-hero .studio-kicker,
body.ms-mode a.studio-link.studio-link-hero .studio-kicker,
body.hs-mode a.studio-link.studio-link-hero .studio-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c2d12;
}
body.ms-mode a.studio-link.studio-link-hero .studio-kicker,
body.hs-mode a.studio-link.studio-link-hero .studio-kicker { color: #ecfdf5; }
body.kid-mode #see-it-lab,
body.ms-mode #see-it-lab,
body.hs-mode #see-it-lab {
  order: -1;
  border: 3px solid var(--gold);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background: #fffdf8;
  margin: 0 0 1.15rem;
}
body.ms-mode #see-it-lab,
body.hs-mode #see-it-lab { border-color: var(--teal); }
body.kid-mode #see-it-lab h2,
body.ms-mode #see-it-lab h2,
body.hs-mode #see-it-lab h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}
body.ms-mode .kid-parent-how,
body.hs-mode .kid-parent-how {
  background: #ecfdf5;
  border: 2px solid var(--teal);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  font-weight: 700;
}
body.ms-mode .kid-parent-how summary,
body.hs-mode .kid-parent-how summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 800;
}
body.ms-mode .kid-parent-how ol,
body.hs-mode .kid-parent-how ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
body.ms-mode .kid-parent-how li,
body.hs-mode .kid-parent-how li { margin: 0.3rem 0; }
body.kid-mode .howto-details {
  margin: 0 0 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  font-size: 0.92rem;
}
body.kid-mode .howto-details summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--muted);
  min-height: 40px;
  display: flex;
  align-items: center;
}
body.kid-mode .online-howto {
  margin: 0.5rem 0 0;
  border-width: 1px;
  background: transparent;
}
body.kid-mode .btn {
  min-height: 52px;
  font-size: 1.05rem;
}
body.kid-mode .tap-item,
body.kid-mode .chip-btn,
body.kid-mode .lab-group {
  min-height: 52px;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 1.1rem;
}
.tab-row button {
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.tab-row button[aria-selected="true"] {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.official-sheet {
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.6rem;
  box-shadow: var(--shadow);
}
.official-sheet h1 {
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  margin: 0.3rem 0 0.5rem;
}
.gpa-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}
.gpa-box div {
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
  font-weight: 800;
}
.gpa-box strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--teal-deep);
}
.scale-note, .honest-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.45;
}
.honest-note {
  background: #fff7ed;
  border-left: 4px solid var(--gold);
  padding: 0.7rem 0.85rem;
  margin: 1rem 0;
}
.elective-flag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f5f3ff;
  color: #6d28d9;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-weight: 800;
}
.coach-card {
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
  margin: 0.85rem 0;
  box-shadow: var(--shadow);
}
.coach-card h2 { margin-top: 0; }
.claim {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  margin: 0.5rem 0;
  cursor: pointer;
  font-weight: 700;
}
.claim:hover { border-color: var(--teal); }
.claim.got-it { background: #ecfdf5; border-color: var(--ok); }
.claim.miss { background: #fef2f2; border-color: var(--bad); }
.sample-paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  margin: 1rem 0;
  font-weight: 600;
  line-height: 1.6;
}
.sample-paper strong { display: block; color: var(--teal-deep); margin-bottom: 0.35rem; }
.roster-box .field { margin: 0; }
@media (max-width: 560px) {
  body.kid-mode h1 { font-size: 1.7rem; }
  .kid-path a { flex: 1 1 42%; justify-content: center; }
}

/* Campus research / papers */
.excerpt {
  background: #fff;
  border-left: 4px solid var(--teal);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  font-weight: 700;
  line-height: 1.45;
}
.excerpt em { font-style: italic; font-weight: 700; }
.teach-prose {
  margin: 0.85rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #fffdf8;
  border: 1px solid var(--line, #e7dfd2);
  font-weight: 700;
  line-height: 1.5;
}
.teach-prose strong { display: block; color: var(--teal-deep, #0f766e); margin-bottom: 0.4rem; }
.teach-prose p { margin: 0.45rem 0 0; color: var(--ink, #14212b); }
.guided-practice {
  margin: 0.85rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f4fbf8;
  border: 1px solid var(--line, #e7dfd2);
  font-weight: 700;
}
.guided-practice ol { margin: 0.4rem 0 0 1.2rem; }
.guided-practice li { margin: 0.25rem 0; }
.paper-cta {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 800;
}
.cite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0 1rem;
}
.cite-grid .field { margin: 0; }
.cite-out {
  background: #0b1220;
  color: #ecfdf5;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.paper-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.5rem 0 1rem; }
.wordcount { font-weight: 800; color: var(--teal-deep); }
.checklist-row { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.35rem 0; font-weight: 700; }
.pathway {
  display: grid;
  gap: 0.65rem;
}
.pathway article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
}
.pathway article h3 { margin: 0 0 0.35rem; font-family: Georgia, "Times New Roman", serif; }
.source-doc {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.55;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
}
.source-doc p { margin: 0.7rem 0; }
.cite-hint { font-size: 0.88rem; color: var(--muted); font-weight: 700; }
.hook-card {
  background: linear-gradient(135deg, #fff7ed, #ecfdf5);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 0.95rem 1.05rem;
  margin: 0 0 1rem;
}
.hook-card strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a3412;
  margin-bottom: 0.3rem;
}
.hook-card p { margin: 0; font-weight: 800; color: var(--ink); }
.read-aloud { font-size: 1.12rem; line-height: 1.7; }
.lab-board { width: 100%; flex-direction: column; align-items: center; }
.pv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 0.4rem;
  width: 100%;
  max-width: 420px;
}
.pv-cell {
  background: #134e4a;
  border-radius: 12px;
  padding: 0.55rem 0.35rem;
  color: #fff;
  text-align: center;
  font-weight: 800;
}
.pv-cell .digit { display: block; font-size: 2rem; font-family: Georgia, "Times New Roman", serif; line-height: 1.1; }
.pv-label { display: block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.pv-dot { background: #0f766e; }
.moon-disk {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fde68a;
  margin: 0.4rem auto;
  box-shadow: inset -28px 0 0 #0b1220;
}
.blend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  width: 100%;
}
.blend-letter {
  width: 64px;
  height: 72px;
  font-size: 2rem;
  border-radius: 16px;
  border: 3px solid #0f766e;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.blend-letter.on { background: #0f766e; color: #fff; }
.sort-row {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.sort-bin {
  min-width: 140px;
  min-height: 96px;
  border: 2px dashed #0f766e;
  border-radius: 14px;
  padding: 0.5rem;
  background: #fff;
  flex: 1;
}
.sort-bin strong { display: block; margin-bottom: 0.35rem; color: var(--teal-deep); }
.flash-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 88px;
  margin: 0.25rem;
  padding: 0.65rem 0.8rem;
  border-radius: 16px;
  border: 2px solid #0f766e;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  gap: 0.2rem;
}
.flash-card strong { font-size: 1.15rem; color: #0f766e; }
.flash-card span { font-size: 0.82rem; color: var(--muted); }
.flash-card.on { background: #ecfdf5; }
.vocab-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-weight: 700; }

.pic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 0.4rem 0 0.75rem;
}
.pic-tile, .word-tile, .num-hop {
  min-width: 72px;
  min-height: 72px;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 16px;
  border: 3px solid #0f766e;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.word-tile { font-size: 1.15rem; padding: 0.55rem 0.85rem; min-width: 88px; }
.pic-tile.static { cursor: default; border-style: dashed; }
.pic-tile.on, .word-tile.on, .num-hop.on { background: #0f766e; color: #fff; }
.pic-prompt { font-weight: 800; font-size: 1.2rem; text-align: center; margin: 0 0 0.5rem; }
.sort-bins { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-bottom: 0.75rem; }
.sort-bin {
  min-height: 120px;
  border: 3px dashed #0f766e;
  border-radius: 16px;
  padding: 0.6rem;
  background: #f0fdf9;
}
.sort-bin strong { display: block; text-align: center; margin-bottom: 0.4rem; color: #0f766e; }
.numline { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; }
.num-hop { min-width: 48px; min-height: 48px; font-size: 1.15rem; }

body.kid-mode .pic-tile, body.kid-mode .word-tile, body.kid-mode .num-hop {
  min-width: 80px;
  min-height: 80px;
}

.vocab-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-weight: 700; }
.vocab-table th, .vocab-table td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); }
.vocab-table th { color: var(--teal); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 520px) {
  .blend-letter { width: 52px; height: 60px; font-size: 1.6rem; }
  .pv-cell .digit { font-size: 1.5rem; }
}



/* Lesson-specific practice (lessoncheck) */
.lc-q { font-weight: 800; font-size: 1.05rem; margin: .5rem 0 .75rem; }
.lc-prog { color: #5b6b76; font-weight: 700; font-size: .9rem; margin: 0; }
.lab-chip.off { background: #fee2e2; border-color: #dc2626; color: #991b1b; }
.lab-chip.on { outline: 3px solid #0f766e; }
.lab-stage.lc-stage { display:block; text-align:left; }
.lc-stage .pic-row { display:flex; flex-wrap:wrap; gap:.5rem; margin:.4rem 0 .8rem; }
.tutor-panel .tutor-log { max-height: 320px; overflow:auto; margin:.5rem 0; }
.tutor-msg { padding:.5rem .75rem; border-radius:10px; margin:.35rem 0; font-weight:600; }
.tutor-msg.user { background:#eef2ff; }
.tutor-msg.tutor { background:#ecfdf5; }
.tutor-form { display:flex; gap:.5rem; flex-wrap:wrap; }
.tutor-form textarea { flex:1 1 260px; min-height:3rem; font:inherit; padding:.5rem; border-radius:10px; border:1px solid #cbd5e1; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.std-line { font-size:.85rem; color:#475569; margin:.4rem 0 .6rem; } .std-note { font-weight:400; }
.howto-bar { background:#f0f9ff; border:1px solid #bae6fd; border-radius:12px; padding:.5rem .85rem; margin:.5rem 0 .75rem; font-size:.92rem; }
.howto-bar p { margin:.2rem 0; }
@media (max-width: 820px) { .tutor-form button { width:100%; } .howto-bar { font-size:.88rem; } }
/* Fix: the .mastery badge style was shrinking the Mastery check section */
section.lesson-section.mastery { display:block; padding:1.1rem 1.15rem; border-radius:16px; font-size:inherit; font-weight:inherit; }

@media (max-width:700px){table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
