/* ============================================================
   HARVEST · THE WEBSITE'S LOOK  (2026-10-19)

   Loaded after every other stylesheet. It brings HARVEST onto faithschooling.com's own visual
   language (themes/faith-education/style.css and the curriculum page): Libre Caslon Text, the
   warm paper ground (--fs-bg), restrained gold, one hairline border and the site's soft card
   shadow, and a real photograph from the homepage instead of drawn hills. The question screens
   stay quiet: the child's question in the open, the parent's controls in a small area beneath.

   The fonts are copies of the website's own self-hosted files (OFL, fonts/OFL-LibreCaslonText.txt),
   so HARVEST still works offline and from the standalone launcher.
   ============================================================ */

@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-400-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-700.woff2) format('woff2');
}
/* The website's two other faces (fonts/fonts.css there; OFL-Caveat.txt, OFL-NunitoSans.txt here):
   Caveat for the one handwritten line over a section, Nunito Sans for badges, labels and buttons. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/caveat-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/nunitosans-latin.woff2) format('woff2');
}

:root {
  --font-display: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-heading: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-body: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  /* What the child reads: a print face with single-story a and g. AbcPrint where it is
     installed; Lexend (loaded in index.html) everywhere else. */
  --font-child: 'AbcPrint', 'Lexend', 'Segoe UI', system-ui, sans-serif;
  --font-script: 'Libre Caslon Text', Georgia, serif;
  --shadow-paper: 0 2px 12px rgba(61, 28, 2, 0.08);
  --shadow-lg: 0 4px 16px rgba(61, 28, 2, 0.10);
  --shadow-md: 0 2px 12px rgba(61, 28, 2, 0.08);
  --r-lg: 12px;
  --r-xl: 16px;
}

body {
  background: var(--fs-bg);
  font-family: var(--font-body);
  color: var(--fs-text);
}

/* No drawn landscape: the website uses real photographs only. */
.atmosphere { display: none !important; }

/* ── The page ─────────────────────────────────────────────── */
.app-header {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid var(--fs-border-light);
  border-radius: 0;
}
.stage {
  border: 1px solid var(--fs-border-light);
  border-top: 1px solid var(--fs-border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-paper);
}
.stage::before { display: none; }
.app-footer {
  background: transparent;
  box-shadow: none;
  border: 0;
  color: var(--fs-text-muted);
  text-align: center;
  font-size: 0.85rem;
}
.card, .card-soft, .modal {
  box-shadow: var(--shadow-md);
}

/* Things a parent never needs on screen: item codes, the "Proctor:" label, the running session
   clock, section letters, and the program descriptions that sat beside every question. The
   reading timer in the passage section is its own control and stays. */
.item-header .item-id { display: none !important; }
.proctor-banner .proctor-status,
.proctor-banner .proctor-timer { display: none !important; }
.fs-context-rail { display: none !important; }
.progress-step .step-num { display: none; }

/* "Take a break" shows only while a check is running. */
.btn-break { display: none; }
body.kid-mode .btn-break { display: inline-flex; }
.btn-break {
  align-items: center;
  gap: 6px;
  font: 600 0.9rem var(--font-body);
  color: var(--fs-text-light);
  background: transparent;
  border: 1px solid var(--fs-border-light);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.btn-break svg { width: 16px; height: 16px; }
.btn-break:hover { border-color: var(--fs-secondary); color: var(--fs-secondary); }

/* "I helped with this question": one quiet pill at the bottom of the screen. */
.proctor-banner {
  background: transparent;
  box-shadow: none;
  border: 0;
  pointer-events: none;
}
.proctor-banner .proctor-flag-btn {
  pointer-events: auto;
  font: 600 0.85rem var(--font-body);
  background: var(--fs-card-bg);
  color: var(--fs-text-light);
  border: 1px solid var(--fs-border-light);
  box-shadow: var(--shadow-md);
}

/* ── The start screen ─────────────────────────────────────── */
.hv-start { max-width: 760px; margin: 0 auto; }
.hv-start-photo {
  margin: 0 0 var(--sp-5);
  border-radius: var(--r-md, 12px);
  overflow: hidden;
  height: clamp(140px, 24vw, 230px);
  background: var(--paper-cream);
}
.hv-start-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% 62%;
}
.hv-start h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem);
  line-height: 1.2;
  color: var(--fs-primary);
  margin: 0 0 var(--sp-3);
}
.hv-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fs-text-light);
  margin: 0 0 var(--sp-5);
}
.hv-step {
  margin: var(--sp-5) 0 0;
}
.hv-step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fs-text);
  margin: 0 0 var(--sp-3);
}
.hv-subjects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.hv-subject {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--fs-card-bg);
  border: 1px solid var(--fs-border-light);
  border-radius: var(--r-md, 12px);
  padding: var(--sp-4);
  cursor: pointer;
}
.hv-subject:hover { border-color: var(--fs-primary); }
.hv-subject[aria-pressed="true"] {
  border-color: var(--fs-primary);
  box-shadow: inset 0 0 0 1px var(--fs-primary);
  background: #F4F8EF;
}
.hv-subject:focus-visible,
.hv-option:focus-visible { outline: 3px solid var(--fs-accent); outline-offset: 2px; }
.hv-tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid rgba(61, 28, 2, 0.35);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: transparent;
}
.hv-subject[aria-pressed="true"] .hv-tick,
.hv-option[aria-pressed="true"] .hv-tick {
  background: var(--fs-primary);
  border-color: var(--fs-primary);
  color: #fff;
}
.hv-tick svg { width: 14px; height: 14px; }
.hv-subject-name { display: block; font-weight: 700; font-size: 1.1rem; color: var(--fs-text); }
.hv-subject-meta { display: block; font-size: 0.92rem; color: var(--fs-text-muted); margin-top: 2px; line-height: 1.45; }

.hv-more { margin-top: var(--sp-3); }
.hv-more > summary {
  cursor: pointer;
  color: var(--fs-secondary);
  font-weight: 600;
  padding: 6px 0;
  width: max-content;
}
.hv-options { display: grid; gap: 8px; margin-top: var(--sp-2); }
.hv-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--fs-card-bg);
  border: 1px solid var(--fs-border-light);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}
.hv-option[aria-pressed="true"] { border-color: var(--fs-primary); background: #F4F8EF; }
.hv-option-name { font-weight: 700; }
.hv-option-meta { display: block; font-size: 0.88rem; color: var(--fs-text-muted); line-height: 1.4; }
.hv-chosen { margin: var(--sp-2) 0 0; color: var(--fs-text-muted); font-size: 0.92rem; }

/* The child's name, grade and Start, embedded in the start screen. */
.hv-start .qs-form { margin: 0; padding: 0; background: none; box-shadow: none; border: 0; }
.hv-start .qs-body { margin: 0; }
.hv-start .qs-actions { justify-content: flex-start; margin-top: var(--sp-4); }
.hv-start .qs-start { min-width: 220px; }
.hv-small-links { margin: var(--sp-5) 0 0; font-size: 0.9rem; color: var(--fs-text-muted); }
.hv-small-links button { font: inherit; color: var(--fs-secondary); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

@media (max-width: 560px) {
  .hv-subjects { grid-template-columns: 1fr; }
  .hv-start .qs-start { width: 100%; }
}

/* ── Question screens: the child's space and the parent's ──── */
.child-zone { }
.parent-zone {
  margin-top: var(--sp-5);
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  border-top: 1px solid var(--fs-border-light);
  background: var(--paper-warm);
  border-radius: 0 0 var(--r-md, 12px) var(--r-md, 12px);
  font-family: var(--font-body);
}
.parent-zone-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fs-text-muted);
  margin: 0 0 var(--sp-2);
  font-weight: 700;
}
.parent-zone .proctor-cue { margin: 0 0 var(--sp-2); }
.parent-zone .form-help { text-align: left !important; margin: 0 0 var(--sp-2); }
.parent-zone .item-choices { gap: 8px; }
.parent-zone .item-choices .choice-btn {
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 8px 12px;
}
.parent-zone .item-controls { margin-top: var(--sp-3); padding-top: 0; border-top: 0; }
body.kid-mode .parent-zone .item-controls { margin-top: var(--sp-3); }
.undo-btn {
  font: 600 0.9rem var(--font-body);
  color: var(--fs-secondary);
  background: transparent;
  border: 1px solid var(--fs-border-light);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.undo-btn:hover { border-color: var(--fs-secondary); }
.undo-note { font-size: 0.85rem; color: var(--fs-text-muted); margin-left: 8px; }

/* ── The result ────────────────────────────────────────────── */
.ps-open-btn { margin-top: var(--sp-3); display: inline-flex; }
.ps-lead { font-size: 1.05rem; color: var(--fs-text-light); margin: var(--sp-2) 0 0; line-height: 1.6; }
.ps-actions-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin: var(--sp-4) 0 var(--sp-2); }
.ps-fold {
  border: 1px solid var(--fs-border-light);
  border-radius: var(--r-md, 12px);
  background: var(--fs-card-bg);
  padding: 0 var(--sp-4);
  margin: var(--sp-3) 0;
}
.ps-fold > summary {
  cursor: pointer;
  padding: var(--sp-3) 0;
  font-weight: 700;
  color: var(--fs-text);
}
.ps-fold[open] > summary { border-bottom: 1px solid var(--fs-border-light); margin-bottom: var(--sp-3); }
.ps-fold > :last-child { margin-bottom: var(--sp-4); }
@media print {
  .ps-fold { border: 0; padding: 0; }
  .ps-fold > summary { display: none; }
  .ps-fold:not([open]) { display: none; }
}

/* ── Fixes from looking at the screens (2026-10-19) ─────────── */
/* setStage() moves focus to <main> for screen readers; it must not draw a second border. */
#main-content:focus,
#main-content:focus-visible { outline: none; box-shadow: none; }
/* One row of header on a phone: the HARVEST mark alone (the site's own header is above it). */
.app-header { flex-wrap: nowrap; border-top: 0; }
@media (max-width: 600px) {
  .app-header .cobrand-parent,
  .app-header .cobrand-divider { display: none; }
}
/* Left-aligned, like the website's own pages: easier to read than centred blocks. */
.hv-start,
.hv-start h1,
.hv-start .hv-lead,
.hv-start .hv-step-title,
.hv-start .hv-chosen,
.hv-start .qs-block,
.hv-start .qs-q,
.hv-start .qs-help,
.hv-start .qs-missing,
.hv-start .qs-more-summary { text-align: left; }
.hv-start .qs-name-input { display: block; width: 100%; max-width: 380px; margin-left: 0; margin-right: 0; }
@media (max-width: 560px) {
  .hv-lead { font-size: 0.98rem; line-height: 1.6; }
}
/* Question screens: the card fits the question (no tall empty panel), and the header strip that
   only ever held the hidden item code takes no room. */
body.kid-mode .stage { min-height: 0; }
body.kid-mode .item-header { border-bottom: 0; padding-bottom: 0; margin-bottom: var(--sp-2); min-height: 0; }
/* The result: no step-by-step progress bar over the answer, and the materials button reads
   clearly on the green start cards (light button on green, like the website's own bands). */
body:has(.report) .progress-strip { display: none !important; }
.parent-headline .ps-open-btn {
  background: #FFFFFF;
  color: var(--fs-primary);
  border: 0;
  font-weight: 700;
}
.parent-headline .ps-open-btn:hover { background: #F4F8EF; color: var(--fs-primary-dark); }

/* ============================================================
   THE START SCREEN, THE CHROME AND THE QUESTION SCREENS AS THE WEBSITE'S OWN (2026-10-19)
   The vocabulary of css/page-hero.css and css/curriculum.css: a photograph with the words on its
   light side, doors with the real books, pill buttons in Nunito Sans, one handwritten line in
   Caveat, Libre Caslon Text for everything else. Real pictures only.
   ============================================================ */
:root {
  --sl-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sl-hand: 'Caveat', 'Patrick Hand', 'Segoe Print', cursive;
  --sl-ui: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sl-paper: #FBF7EF;
  --sl-card: #FFFDF8;
  --sl-line: #D9CFB2;
  --sl-ink-2: #3B3830;
  --sl-ink-3: #5A564C;
  --sl-green: #2D5016;
  --sl-green-hover: #1E3A0E;
  --sl-brown: #7B3F00;
  --sl-amber: #8A5C06;
  --sl-gold: #C8860A;
  --sl-fr-bg: #EAF2F7;
  --sl-ft-bg: #F6EEDC;
  --sl-shadow: 0 2px 12px rgba(61, 28, 2, 0.08);
  --sl-shadow-lg: 0 10px 30px rgba(61, 28, 2, 0.14);
}

/* ── Buttons everywhere: the website's pills ── */
.btn { border-radius: 999px; font-family: var(--sl-ui); font-weight: 700; letter-spacing: 0; }
.btn-primary { background: var(--sl-green); color: #fff; box-shadow: 0 6px 16px rgba(45, 80, 22, .22); }
.btn-primary:hover:not(:disabled) { background: var(--sl-green-hover); box-shadow: 0 8px 20px rgba(45, 80, 22, .26); }
.btn-secondary { background: var(--sl-card); color: var(--sl-green); border: 2px solid var(--sl-green); }
.btn-secondary:hover:not(:disabled) { background: var(--sl-green); color: #fff; border-color: var(--sl-green); }
.btn-ghost { background: transparent; color: var(--sl-green); border: 2px solid var(--sl-line); }
.btn-ghost:hover:not(:disabled) { background: var(--sl-card); border-color: var(--sl-green); }
.btn-gold { background: var(--sl-brown); color: #fff; box-shadow: 0 6px 16px rgba(123, 63, 0, .2); }
.btn-gold:hover:not(:disabled) { filter: none; background: #5A2E00; }
.btn:focus-visible { outline: 3px solid var(--sl-gold); outline-offset: 3px; box-shadow: none; }

/* ── The header ── */
.app-header { padding: 10px 16px; margin-bottom: 20px; gap: 12px; }
.app-header .harvest-exit-btn { font: 700 13px/1.2 var(--sl-ui); border-radius: 999px; }
.cobrand-lockup.is-compact { gap: 14px; }
.cobrand-lockup.is-compact .cobrand-divider { height: 34px; }
.cobrand-product-eyebrow { font: 800 10px/1 var(--sl-ui); letter-spacing: .16em; color: var(--sl-brown); }
.cobrand-product-name { font: 700 1.35rem/1 var(--sl-serif); color: var(--sl-green); letter-spacing: 0; }
.cobrand-lockup.is-compact .cobrand-product-name { font-size: 1.35rem; }
.btn-break { font: 700 13px/1.2 var(--sl-ui); white-space: nowrap; border: 2px solid var(--sl-line); color: var(--sl-green); padding: 7px 14px; }
.btn-break:hover { border-color: var(--sl-green); color: var(--sl-green); background: var(--sl-card); }
.app-footer .footer-meta { font: 600 13px/1.5 var(--sl-ui); color: var(--fs-text-muted); }
@media (max-width: 600px) {
  .app-header { padding: 8px 12px; margin-bottom: 14px; }
  .cobrand-product-eyebrow { display: none; }
  .cobrand-product-name { font-size: 1.2rem; }
  .btn-break { padding: 6px 10px; font-size: 12px; }
}

/* ── The start screen as a page ── */
body:has(.hv-start) .stage {
  max-width: 1200px; background: transparent; box-shadow: none; border: 0; padding: 0; min-height: 0; overflow: visible;
}
body:has(.hv-start) .stage::before { display: none; }
.hv-start { max-width: none; margin: 0; }
.hv-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sl-paper); border-radius: 18px; }
.hv-hero-media, .hv-hero-pic, .hv-hero-pic img { display: block; width: 100%; }
.hv-hero-pic img { height: 100%; object-fit: cover; object-position: 30% 55%; }
.hv-hero-wash { display: none; }
.hv-hero-in { position: relative; z-index: 2; padding: 26px 24px 30px; }
.hv-eyebrow { font: 600 26px/1 var(--sl-hand); color: var(--sl-amber); margin: 0 0 10px; }
.hv-start h1 { font: 700 clamp(1.9rem, 3.1vw, 2.8rem)/1.12 var(--sl-serif); color: var(--sl-green); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
.hv-ul { text-decoration: underline; text-decoration-color: var(--sl-gold); text-decoration-thickness: 5px; text-underline-offset: 8px; text-decoration-skip-ink: none; }
.hv-lead { font: 400 17px/1.6 var(--sl-serif); color: var(--sl-ink-2); margin: 16px 0 0; max-width: 620px; }
.hv-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; font: 700 13px/1.3 var(--sl-ui); color: var(--sl-green); }
.hv-facts li::before { content: '\2713'; color: var(--sl-gold); margin-right: 6px; font-weight: 900; }
@media (min-width: 1000px) {
  .hv-hero { min-height: 420px; }
  .hv-hero-media { position: absolute; inset: 0; height: 100%; }
  .hv-hero-pic { height: 100%; }
  .hv-hero-wash {
    display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(251, 246, 236, 0) 36%, rgba(251, 246, 236, .84) 55%, rgba(251, 246, 236, .92) 72%, rgba(251, 246, 236, .92) 100%);
  }
  .hv-hero-in {
    min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
    padding: 40px clamp(32px, 4vw, 72px) 44px 40px;
  }
  .hv-hero-in > * { width: clamp(440px, 44%, 540px); }
  .hv-eyebrow { color: #6B4704; }
}
@media (max-width: 999px) { .hv-hero-pic { aspect-ratio: 2.2 / 1; } }
@media (max-width: 599px) { .hv-hero-pic { aspect-ratio: 4 / 3; } .hv-hero-pic img { object-position: 50% 45%; } .hv-hero { border-radius: 14px; } }

.hv-body { max-width: 980px; margin: 0 auto; padding: 4px 24px 40px; }
.hv-step { margin: 0; }
.hv-step-title { font: 700 1.45rem/1.2 var(--sl-serif); color: var(--sl-green); margin: 34px 0 14px; }
.hv-subjects { grid-template-columns: 1fr 1fr; gap: 18px; }
.hv-subject {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  padding: 16px 18px 16px 16px; border: 2px solid var(--sl-line); border-radius: 16px;
  background: var(--sl-card); box-shadow: var(--sl-shadow); text-align: left; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hv-subject-reading { background: var(--sl-fr-bg); }
.hv-subject-math { background: var(--sl-ft-bg); }
.hv-subject-pic img { display: block; width: 92px; height: auto; border-radius: 5px; box-shadow: 0 8px 18px rgba(61, 28, 2, .22); transform: rotate(-3deg); }
.hv-subject:hover { border-color: var(--sl-green); transform: translateY(-2px); box-shadow: var(--sl-shadow-lg); }
.hv-subject[aria-pressed="true"] { border-color: var(--sl-green); box-shadow: inset 0 0 0 1px var(--sl-green), var(--sl-shadow); background: var(--sl-card); }
.hv-subject-text { min-width: 0; }
.hv-subject-name { display: flex; align-items: center; gap: 10px; font: 700 1.3rem/1.2 var(--sl-serif); color: var(--sl-green); }
.hv-subject-meta { display: block; font: 600 13.5px/1.45 var(--sl-ui); color: var(--sl-ink-3); margin-top: 6px; }
.hv-tick { width: 24px; height: 24px; border-width: 2px; border-color: rgba(61, 28, 2, .35); border-radius: 7px; background: #fff; margin: 0; }
.hv-more { margin-top: 14px; }
.hv-more > summary { font: 700 15px/1.3 var(--sl-ui); color: var(--sl-brown); }
.hv-options { gap: 10px; }
.hv-option { border: 2px solid var(--sl-line); border-radius: 14px; background: var(--sl-card); padding: 12px 16px; }
.hv-option[aria-pressed="true"] { border-color: var(--sl-green); background: var(--sl-card); box-shadow: inset 0 0 0 1px var(--sl-green); }
.hv-option-name { font: 700 1.05rem/1.25 var(--sl-serif); color: var(--sl-green); }
.hv-option-meta { font: 600 13px/1.4 var(--sl-ui); color: var(--sl-ink-3); }
.hv-chosen { font: 600 14px/1.4 var(--sl-ui); color: var(--sl-ink-3); margin-top: 10px; }

.hv-who .qs-block { background: var(--sl-card); border: 1px solid var(--sl-line); border-radius: 14px; box-shadow: var(--sl-shadow); }
.hv-who .qs-q { font: 700 1.05rem/1.3 var(--sl-serif); color: var(--sl-green); }
.hv-who .qs-help, .hv-who .qs-note { font: 600 13px/1.45 var(--sl-ui); color: var(--sl-ink-3); }
.hv-who .qs-name-input { font-family: var(--sl-serif); border-radius: 12px; }
.hv-who .qs-grade { border: 2px solid var(--sl-line); border-radius: 999px; background: var(--sl-card); padding: 10px 16px; }
.hv-who .qs-grade .qs-choice-main { font: 700 15px/1.2 var(--sl-ui); color: var(--sl-green); }
.hv-who .qs-grade.selected, .hv-who .qs-grade:has(input:checked) { background: var(--sl-green); border-color: var(--sl-green); }
.hv-who .qs-grade.selected .qs-choice-main, .hv-who .qs-grade:has(input:checked) .qs-choice-main { color: #fff; }
.hv-who .qs-more { border: 1px dashed var(--sl-line); border-radius: 14px; }
.hv-who .qs-more-summary { font: 700 15px/1.3 var(--sl-ui); color: var(--sl-brown); }
.hv-who .qs-start { min-height: 54px; padding: 0 32px; font: 700 17px/1.2 var(--sl-ui); border-radius: 999px; }
.hv-small-links { font: 600 14px/1.5 var(--sl-ui); }
@media (max-width: 640px) {
  .hv-subjects { grid-template-columns: 1fr; gap: 12px; }
  .hv-body { padding: 0 16px 32px; }
  .hv-subject { grid-template-columns: 72px 1fr; padding: 12px 14px; }
  .hv-subject-pic img { width: 72px; }
  .hv-subject-name { font-size: 1.15rem; }
  .hv-step-title { margin-top: 26px; }
}

/* ── The section intro: the child's own book, the title, one handwritten line ── */
.section-intro { text-align: center; padding: 12px 0 20px; }
.section-cover img { display: block; width: 118px; height: auto; margin: 0 auto 20px; border-radius: 6px; box-shadow: 0 10px 24px rgba(61, 28, 2, .22); transform: rotate(-3deg); }
.section-intro h1 { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--sl-serif); color: var(--sl-green); margin: 0 0 8px; }
.section-intro .subtitle { font: 600 24px/1.2 var(--sl-hand) !important; color: var(--sl-brown) !important; font-style: normal !important; margin: 0 0 18px; }
.script-proctor { border-radius: 12px; }
.script-proctor summary { font: 700 14px/1.3 var(--sl-ui); }

/* ── The question screens: the child's space, then the parent's ── */
body.kid-mode .stage { border-radius: 18px; }
.parent-zone {
  margin: 26px -8px 0; padding: 16px 18px 18px;
  background: var(--sl-ft-bg); border-top: 0; border-radius: 14px;
}
.parent-zone-label { font: 800 11px/1.3 var(--sl-ui); letter-spacing: .12em; color: var(--sl-brown); margin-bottom: 8px; }
.parent-zone .proctor-cue { font: italic 400 15px/1.5 var(--sl-serif); color: var(--sl-ink-2); }
.parent-zone .form-help { font: 600 13px/1.45 var(--sl-ui); color: var(--sl-ink-3); }
.parent-zone .item-choices .choice-btn {
  border: 2px solid var(--sl-line); border-radius: 999px; background: var(--sl-card); color: var(--sl-green);
  font: 700 15px/1.2 var(--sl-ui); min-height: 46px; padding: 8px 16px;
}
.parent-zone .item-choices .choice-btn:hover:not(:disabled) { border-color: var(--sl-green); }
.parent-zone .item-choices .choice-btn.selected, .parent-zone .item-choices .choice-btn[aria-pressed="true"] { background: var(--sl-green); border-color: var(--sl-green); color: #fff; }
.undo-btn { font: 700 13px/1.2 var(--sl-ui); border: 2px solid var(--sl-line); color: var(--sl-green); padding: 7px 14px; }
.undo-btn:hover { border-color: var(--sl-green); background: var(--sl-card); }
.parent-zone .item-controls .btn { min-height: 44px; }
.proctor-banner .proctor-flag-btn { font: 700 13px/1.2 var(--sl-ui); border-radius: 999px; }
@media (max-width: 600px) {
  .parent-zone { margin: 22px -4px 0; padding: 14px; }
  body.kid-mode .stage { padding-bottom: 84px; }
}

/* ── The owner's HARVEST logo as the header lockup (2026-10-19) ── */
.cobrand-lockup .harvest-logo { display: block; height: 54px; width: auto; }
body.kid-mode .cobrand-lockup .harvest-logo { height: 46px; }
.report-masthead-logo .harvest-logo { display: block; height: 120px; width: auto; margin: 0 auto; }
@media (max-width: 600px) {
  .cobrand-lockup .harvest-logo { height: 40px; }
  body.kid-mode .cobrand-lockup .harvest-logo { height: 36px; }
  .report-masthead-logo .harvest-logo { height: 72px; }
}
