/* ============================================================================
   Bright layer (2026-11-23, owner: "the colours look stale and bland; not bright or uplifting enough").
   Same brand kit (navy, gold #FFC847, teal #39D0C3), turned up: a clean morning-light ground with a
   gold and teal glow, richer side tints, full-strength gold and teal on figures and marks. Loaded last;
   layout untouched. Colour still means a side: gold student, teal family, the blend where both meet.
   ========================================================================== */
body.lt {
  --void: #FFFDF8;
  --surface-2: #FFF9EC; --surface-3: #F3F0E8;
  --gold: #FFC847; --gold-deep: #F2A900; --gold-text: #7A4E00;
  --teal-b: #39D0C3; --teal-deep: #0FA596; --teal-text: #006B60;
  --stu-tint: #FFF3D1; --stu-edge: rgba(242, 169, 0, 0.45);
  --fam-tint: #DDF7F3; --fam-edge: rgba(15, 165, 150, 0.40);
  background:
    radial-gradient(60rem 34rem at 8% -6rem, rgba(255, 200, 71, 0.30), transparent 70%),
    radial-gradient(56rem 32rem at 96% 4rem, rgba(57, 208, 195, 0.24), transparent 70%),
    radial-gradient(48rem 40rem at 50% 110%, rgba(57, 208, 195, 0.12), transparent 70%),
    #FFFDF8;
  background-attachment: fixed;
}
/* The drifting ambient light reads as glow, not haze. */
:root body.lt::after, :root.lamp-on body.lt::after { opacity: 0.55; }

/* Top bar: bright glass with the first-light seam under it (gold into teal: both sides). */
body.lt .topbar { background: rgba(255, 253, 248, 0.82); border-bottom: 0; box-shadow: 0 1px 0 rgba(21, 25, 46, 0.06); }
body.lt .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--gold), #9BE7C4 50%, var(--teal-b)); opacity: 0.9; pointer-events: none; }
body.lt .topbar nav a[aria-current="page"] { color: var(--ink-1); box-shadow: inset 0 -3px 0 var(--gold); background: transparent; }

/* Sheets: crisp white on the glow, with a lift that has a hint of warmth. */
body.lt .card, body.lt .shell > .sheet, body.lt main > .sheet { background: #fff; border-color: rgba(21, 25, 46, 0.08); box-shadow: 0 1px 2px rgba(21, 25, 46, 0.05), 0 12px 32px -12px rgba(122, 78, 0, 0.16); }

/* Avatars: the side's colour with navy letters (white on blue was unreadable). */
body.lt .avatar { color: #15192E; font-weight: 800; }
body.lt .avatar-student { background: var(--gold); box-shadow: inset 0 0 0 1.5px rgba(122, 78, 0, 0.35); }
body.lt .avatar-parent { background: var(--teal-b); box-shadow: inset 0 0 0 1.5px rgba(0, 107, 96, 0.35); }

/* Buttons: the primary is full sunshine; secondary keeps a confident navy edge. */
body.lt .btn-primary { background: var(--gold); color: #15192E; box-shadow: 0 1px 0 rgba(122, 78, 0, 0.25), 0 6px 16px -6px rgba(242, 169, 0, 0.55); }
body.lt .btn-primary:hover { background: #FFD266; }
body.lt .btn-secondary { box-shadow: inset 0 0 0 1.5px rgba(21, 25, 46, 0.55); }
body.lt .btn-secondary:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #15192E; }

/* Lenses: clear, saturated tints with a matching edge. */
body.lt .lens-student { background: var(--stu-tint); border-color: var(--stu-edge); }
body.lt .lens-parent { background: var(--fam-tint); border-color: var(--fam-edge); }
body.lt .lens > h4::before { width: 22px; height: 10px; }
body.lt .lens-student > h4::before { background: var(--gold-deep); }
body.lt .lens-parent > h4::before { background: var(--teal-deep); }
body.lt .lens .hook-chips li { background: #fff; border-color: var(--stu-edge); }

/* Key figures: each tile carries its side's light. */
body.lt .kf { background: #fff; border-color: rgba(21, 25, 46, 0.10); }
body.lt .kf-stu { background: linear-gradient(180deg, rgba(255, 200, 71, 0.16), rgba(255, 200, 71, 0.04)); }
body.lt .kf-fam { background: linear-gradient(180deg, rgba(57, 208, 195, 0.16), rgba(57, 208, 195, 0.04)); }
body.lt .kf-stu dt::before { background: var(--gold-deep); }
body.lt .kf-fam dt::before { background: var(--teal-deep); }

/* Marks and meters at full strength. */
body.lt .ring-track { stroke: #F1ECE0; }
body.lt .ring-high .ring-fill { stroke: var(--teal-deep); }
body.lt .ring-mid .ring-fill { stroke: var(--gold-deep); }
body.lt .band-fill { background: linear-gradient(90deg, #FFD266, var(--gold-deep)); }
body.lt .lens .meter-fill { background: linear-gradient(90deg, #5FE0D3, var(--teal-deep)); }
body.lt .band-track, body.lt .lens .meter-track { background: rgba(21, 25, 46, 0.08); }

/* Footer joins the light instead of sitting in grey. */
body.lt .foot { background: linear-gradient(180deg, transparent, rgba(57, 208, 195, 0.08)); border-top: 0; }

/* Assistant launcher: navy with a gold mark, so it glows on the bright ground. */
body.lt .agent-launch .agent-icon { color: var(--gold); }

/* Each page's sheet opens in morning light: a gold-to-teal wash behind the heading that fades to white. */
body.lt main.shell:not(:has(> .viewbook)):not(:has(> .gate)) {
  background:
    linear-gradient(180deg, transparent 0, #fff 380px),
    linear-gradient(100deg, rgba(255, 200, 71, 0.30), rgba(155, 231, 196, 0.22) 55%, rgba(57, 208, 195, 0.28)),
    #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(21, 25, 46, 0.05), 0 24px 60px -24px rgba(122, 78, 0, 0.22), 0 18px 50px -30px rgba(15, 165, 150, 0.25);
}
/* Cards inside the sheet float a little on that light. */
body.lt main .card { box-shadow: 0 1px 2px rgba(21, 25, 46, 0.05), 0 10px 26px -14px rgba(21, 25, 46, 0.18); }
/* A fair match reads gold, not brown; a stretch stays a warm coral rather than dull red. */
body.lt .ring-low .ring-fill { stroke: var(--gold-deep); }
body.lt .ring-stretch .ring-fill { stroke: #F0764F; }

/* Home: the Grade 11 plan line gets room under the three steps. */
body.lt .plan-home { margin: 20px 0 28px; }

/* ---------- Readable small print (2026-11-23, owner: grey text hard to read) ----------
   Sublines on buttons and the locked talk step were faded with opacity, which dropped them under
   4.5:1. They now keep full strength and take the darker ink instead. */
body.lt .tab-note small, body.lt .lt-hero .lt-btn small { opacity: 1; }
body.lt .lt-hero .lt-btn-s small, body.lt .lt-video-play small { color: #15192E; opacity: 1; }
body.lt .talk-step.is-locked { opacity: 1; background: var(--surface-2); border-style: dashed; }
body.lt .talk-step.is-locked .talk-n { opacity: 0.6; }

/* The site is day-only, but older OS-dark rules in app.css (`:root:not([data-theme="light"]) …`)
   outrank the day styles above and turned gold buttons' text cream and rank badges near-black.
   ":root body.lt" outranks them, so the day look holds whatever the device setting is. */
:root body.lt .btn-primary { color: #15192E; }
:root body.lt .rank-badge { background: rgba(255, 253, 248, 0.94); color: #15192E; }
/* The landing's two doors are buttons, not running-text links: no link blue, no underline. */
body.lt .lt-hero .lt-btn, body.lt .lt-hero .lt-btn :is(span, small) { text-decoration: none; }
body.lt .lt-hero .lt-btn-s { color: #15192E; }
body.lt .lt-hero .lt-btn-f, body.lt .lt-hero .lt-btn-f small { color: var(--teal-text, #006B60); }
