/* The Chromozone: three-tab lesson layout (Plan, Teach, Self study). tools/lesson_tabs.py; first used for 6.10, 11 Nov 2026.
   Site colours only (css/site.css tokens). */

/* ---------- top bar: title, spec, homework and past papers (outside the lesson) ---------- */
.lp.lt .wrap { max-width: 1160px; }
.lp.lp--self.lt .wrap { max-width: 980px; }
.lt-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 8px; }
.lt-headline h1 { margin: 10px 0 0; max-width: 18em; font-size: clamp(2rem, 4vw, 3.2rem); }
.lt-quick { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.lt-qb { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; min-width: 190px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.lt-qb:hover { border-color: var(--leaf); color: var(--ink); }
.lt-qb span { font-size: 0.85rem; color: var(--ink-3); }

/* ---------- tabs ---------- */
.lt-tabs { display: flex; gap: 4px; margin-top: 28px; border-bottom: 2px solid var(--ink); overflow-x: auto; }
.lt-tabs [role=tab] { font: inherit; color: var(--ink); background: none; border: 0; border-radius: 12px 12px 0 0;
  padding: 14px 22px; cursor: pointer; white-space: nowrap; }
.lt-tabs [role=tab] b { font-weight: 600; font-size: 1.05rem; }
.lt-tabs [role=tab] span { font-size: 0.85rem; color: var(--ink-3); margin-left: 4px; }
.lt-tabs [role=tab]:hover { background: var(--leaf-tint); }
.lt-tabs [role=tab][aria-selected=true] { background: var(--ink); color: var(--paper); }
.lt-tabs [role=tab][aria-selected=true] span { color: var(--paper); opacity: 0.8; }
.lt-tabs [role=tab]:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.lt-panel { padding: 28px 0 8px; }

/* ---------- tab 1: the one-page plan (mock-up R6.1) ---------- */
.lt-sheet { max-width: 1000px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 40px 48px; box-shadow: var(--shadow); }
.lt-sheet h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 0; }
.lt-sheet h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 18px 0 8px; }
.lt-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.lt-chips { display: flex; gap: 6px; margin: 4px 0 0; flex-shrink: 0; }
.lt-sheet-meta { color: var(--ink-3); font-size: 0.92rem; margin: 10px 0 4px; }
.lt-sheet-top { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; }
.lt-aims { margin: 0; padding-left: 1.3em; }
.lt-aims li { margin-bottom: 4px; }
.lt-need { background: #eef3ee; border-radius: 8px; padding: 4px 20px 12px; margin-top: 12px; }
.lt-need ul { margin: 0; padding-left: 1.1em; }
.lt-need p { margin: 0; }
.lt-order { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.lt-order th, .lt-order td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line-soft); }
.lt-order thead th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink-3); }
.lt-order tbody th { font-weight: 600; white-space: nowrap; }
.lt-order .lt-t { font-weight: 600; white-space: nowrap; width: 5.5em; }
.lt-order .lt-s { color: var(--ink-3); white-space: nowrap; }
.lt-foot { font-size: 0.85rem; color: var(--ink-3); margin: 8px 0 0; }
.lt-sheet-bottom { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; margin-top: 18px; }
.lt-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 18px 12px; font-size: 0.92rem; }
.lt-card p { margin: 0; }
.lt-pplist { margin: 0; padding-left: 1.1em; }
.lt-pplist li { margin-bottom: 3px; }
.lt-print { max-width: 1000px; margin: 14px auto 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-3); }

/* ---------- tab 2: teach (mock-up R3.9: the strip is the plan) ---------- */
.lt-teachbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lt-teachbar p { margin: 0; color: var(--ink-3); flex: 1 1 360px; }
.lt-how { margin: 12px 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 0.95rem; }
.lt-how summary { cursor: pointer; font-weight: 600; color: var(--leaf-strong); }
.lt-how ul { margin: 10px 0 4px; padding-left: 1.2em; }
.lt-how li { margin-bottom: 6px; }
.lt-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.lt-strip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 14px 10px;
  position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.lt-strip-h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.lt-strip-h strong { font-family: var(--font-display); font-size: 1.1rem; }
.lt-strip-h a { font-size: 0.85rem; }
.lt-group { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 12px 0 5px; }
.lt-item { display: flex; gap: 10px; width: 100%; text-align: left; font: inherit; font-size: 0.86rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 8px; padding: 7px 10px; margin-bottom: 5px; cursor: pointer; }
.lt-item:hover { border-color: var(--leaf); }
.lt-item[aria-current=true] { background: var(--leaf-tint); border: 2px solid var(--leaf); padding: 6px 9px; }
.lt-n { font-weight: 600; min-width: 1.4em; color: var(--ink-2); }
.lt-item b { font-weight: 600; }
.lt-item small { display: block; font-size: 0.8rem; color: var(--ink-2); margin-top: 1px; }
.lt-stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 34px 32px; min-height: 470px; font-size: 1.05rem; box-shadow: var(--shadow); }
.lt-count { font-size: 0.8rem; color: var(--ink-3); margin: 0 0 6px; }
.lt-title { font-family: var(--font-display); font-size: 1.85rem; line-height: 1.15; margin: 0 0 18px; }
.lt-title .mins { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.lt-title .timer-btn { font-size: 0.85rem; vertical-align: middle; }
.lt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.lt-fig .fig { max-width: 100% !important; margin: 0; }
.lt-fig .fig img, .lt-fig .fig svg { max-height: 360px; object-fit: contain; }
.lt-fig .fig svg { width: 100% !important; }
.lt-lines { list-style: none; padding: 0; margin: 0; }
.lt-lines li { position: relative; padding-left: 1.2em; margin: 0 0 0.7em; font-size: 1.3rem; line-height: 1.3; }
.lt-lines li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--leaf); }
.lt-exam { font-size: 0.95rem; background: var(--hl-soft); padding: 2px 8px; border-radius: 6px; }
.lt-slide .kw dt { font-size: 1.15rem; }
.lt-slide .rag { font-size: 1rem; }
.lt-sub { font-family: var(--font-display); margin: 16px 0 8px; }
.lt-slide--do .lt-lines li, .lt-slide[data-n="20"] .lt-lines li { font-size: 1.1rem; }
.lt-stagenav { display: none; }

/* A coloured box round the title says what kind of slide it is (Laura, 11 Nov 2026, 01:32 UTC: "green for task and red
   for stretch ... something to signify to students what it is they're meant to do immediately"). The colours are the
   lesson pages' own box colours (css/lesson-page.css: do, stretch, key words, misconceptions, checklist). */
.lt-slide--do, .lt-slide--stretch, .lt-slide--key, .lt-slide--watch, .lt-slide--check { --band: #1e6b58; }
.lt-slide--stretch { --band: #b03a26; }
.lt-slide--key { --band: #1d5a8a; }
.lt-slide--watch { --band: #6a3d9a; }
.lt-slide--check { --band: #566d67; }
.lt-slide--do .lt-title, .lt-slide--stretch .lt-title, .lt-slide--key .lt-title, .lt-slide--watch .lt-title, .lt-slide--check .lt-title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--band); color: #fff;
  padding: 0.38em 0.6em; border-radius: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.lt-slide .lt-title .mins { color: inherit; font-size: 0.5em; border: 2px solid currentColor; border-radius: 999px; padding: 2px 10px; margin: 0; }
.lt-slide--do .lt-title .timer-btn, .lt-slide--stretch .lt-title .timer-btn { margin-left: auto; font-size: 0.45em; background: #fff; color: var(--band); border: 0; }
.lt-slide .lt-title .timer-btn[aria-pressed="true"] { background: var(--hl); color: var(--ink); }
.lt-item--do { border-left: 4px solid #1e6b58; }
.lt-item--stretch { border-left: 4px solid #b03a26; }
.lt-item--key { border-left: 4px solid #1d5a8a; }
.lt-item--watch { border-left: 4px solid #6a3d9a; }
.lt-item--check { border-left: 4px solid #566d67; }
.lt-item[aria-current=true] { border-left-width: 4px; }
.lt-item--ans { margin-left: 18px; width: calc(100% - 18px); padding-top: 4px; padding-bottom: 4px; }
.lt-item--ans small { display: none; }

/* Fuller slides (Laura, 11 Nov 2026, 01:44 UTC: "so much empty space ... Coloured boxes around text? Something to make
   it feel more like a PowerPoint"): the content is centred in the slide, each key point is a coloured card, each task
   sits in a box, and answers have their own slide instead of a reveal. */
:where(.lt-slide) { --band: #1e6b58; --tint: #eef3ee; }
.lt-slide { display: flex; flex-direction: column; min-height: 420px; }
.lt-slide[hidden] { display: none; }
.lt-slide--do { --tint: #e8f5ef; }
.lt-slide--stretch { --tint: #fbebe7; }
.lt-slide--key { --tint: #eaf1f8; }
.lt-slide--watch { --tint: #f3edf9; }
.lt-slide--check { --tint: #eef1f0; }
.lt-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.8em; }
.lt-lines { display: grid; gap: 0.5em; }
.lt-lines li { margin: 0; padding: 0.45em 0.8em 0.45em 0.9em; background: var(--tint); border-left: 6px solid var(--band); border-radius: 10px; }
.lt-lines li::before { display: none; }
.lt-box { background: var(--tint); border-left: 6px solid var(--band); border-radius: 12px; padding: 0.8em 1.2em; font-size: 1.12em; }
.lt-box > :first-child { margin-top: 0; }
.lt-box > :last-child { margin-bottom: 0; }
.lt-box p, .lt-box li { margin: 0 0 0.45em; }
.lt-box table.data { background: #fff; }
.lt-box .kw { margin: 0; }
.lt-slide--ans .lt-box { font-size: 1em; }
.lt-spec { margin: 0; font-size: 1.3em; line-height: 1.35; background: var(--hl-soft); border: 2px solid var(--hl); border-radius: 12px; padding: 0.7em 1em; }
.lt-spec-n { font-weight: 700; background: var(--ink); color: #fff; border-radius: 6px; padding: 1px 8px; margin-right: 4px; }
/* spec points from the course spec file, in one box (lesson_convert.spec_from_order; Laura, 19 Nov 2026 07:32 UTC: "spec
   points should be on all the learning objective slides") */
.lt-spec--list { font-size: 1.1em; display: grid; gap: 0.3em; }
.lt-spec--many { font-size: 0.9em; gap: 0.2em; }
.lt-spec-line { display: block; }

/* ---------- slide styles Laura chose (11 Nov 2026, 02:37 UTC): R7.1 titles and content cards, R7.2 task cards,
   R7.4 answer rows. One block: change the look here. ---------- */
.lt-slide--teach .lt-title { font-size: 2.1rem; }
.lt-slide--teach .lt-title::after { content: ""; display: block; width: 3.4em; height: 0.17em; margin-top: 0.22em; background: var(--hl); border-radius: 99px; }
.lt-slide .lt-title .mins { background: var(--hl); color: var(--ink); border: 0; font-weight: 600; padding: 0.15em 0.7em; }
.lt-intro { margin: 0; font-size: 1.15em; line-height: 1.35; }
.lt-cfig { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2em; align-items: center; }
.lt-ctext { display: flex; flex-direction: column; gap: 0.8em; }
.lt-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.8em; }
.lt-cards--stack { grid-auto-flow: row; }
.lt-card2 { --cb: var(--ink); --ct: #eef3ee; background: var(--ct); border-radius: 14px; overflow: hidden; }
.lt-c--t { --cb: #1e6b58; --ct: #e3efe9; }
.lt-c--b { --cb: #1d5a8a; --ct: #e6eef8; }
.lt-c--hl { --cb: var(--hl); --ct: #fffbe8; }
.lt-card2 .lt-pill { margin: 0; padding: 0.3em 0.85em; background: var(--cb); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.15em; }
.lt-c--hl .lt-pill { color: var(--ink); }
.lt-card2 ul { list-style: none; margin: 0; padding: 0.5em 0.9em 0.6em; }
.lt-card2 li { position: relative; padding-left: 1.3em; margin: 0 0 0.3em; font-size: 1.12em; line-height: 1.3; }
.lt-card2 li::before { content: "→"; position: absolute; left: 0; color: var(--cb); font-weight: 700; }
.lt-c--hl li::before { color: #9a7a00; }
.lt-stem { background: var(--tint); border-radius: 12px; padding: 0.6em 1em; font-size: 1.08em; }
.lt-stem > :first-child { margin-top: 0; }
.lt-stem > :last-child { margin-bottom: 0; }
.lt-stem table.data { background: #fff; }
.lt-qcards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0.8em; }
.lt-qcard { background: #fff; border: 2px solid var(--tint); border-radius: 14px; overflow: hidden; }
.lt-qcard .lt-pill { margin: 0; padding: 0.2em 0.8em; background: var(--band); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15em; }
.lt-qbody { padding: 0.55em 0.85em 0.65em; font-size: 1.08em; line-height: 1.3; }
.lt-rows { display: grid; gap: 0.5em; }
.lt-row { display: flex; align-items: center; gap: 0.9em; background: var(--tint); border-radius: 28px; padding: 0.45em 1.2em 0.45em 0.5em; font-size: 1.05em; line-height: 1.3; }
.lt-num { flex: none; min-width: 2.6em; text-align: center; background: var(--band); color: #fff; font-family: var(--font-display); font-weight: 700; border-radius: 999px; padding: 0.15em 0.6em; font-size: 1.1em; }
.lt-num--cont { background: transparent; }
.lt-ah { margin: 0.2em 0 0; font-weight: 700; }
.lt-bar { margin: 0; background: var(--hl); border-radius: 28px; padding: 0.45em 1.2em; font-size: 0.98em; }
.lt-slide--watch .lt-qcard .lt-pill, .lt-slide--key .lt-qcard .lt-pill { font-size: 1.05em; }
@media screen and (max-width: 760px) {
  .lt-cfig { grid-template-columns: 1fr; }
  .lt-cards { grid-auto-flow: row; }
  .lt-qcards { grid-template-columns: 1fr; }
}
.lt-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.lt-pos { color: var(--ink-3); }
.lt-notes { margin-top: 14px; }
.lt-say { background: #eef3ee; border-radius: var(--radius-sm); padding: 14px 20px 8px; }
.lt-say h3, .lt-ncard h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lt-only { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 10px; }
.lt-say p { margin: 0 0 5px; }
.lt-tn { font-size: 0.92rem; color: var(--ink-2); }
.lt-quiet { color: var(--ink-3); }
.lt-ncards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.lt-ncard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px 8px; font-size: 0.92rem; }
.lt-ncard p, .lt-ncard li { margin: 0 0 5px; }
.lt-ncard ul, .lt-ncard ol { margin: 0 0 6px; padding-left: 1.2em; }
.lt-ncard table { font-size: 0.85rem; }
.lt-ncard--watch { border-left: 4px solid var(--red); }

/* ---------- the projector window: the slide alone, following the teacher's page ---------- */
html.lt-projector, html.lt-projector body { overflow: hidden; background: #fff; }
html.lt-projector .lt-stage { position: fixed; inset: 0; z-index: 900; border: 0; border-radius: 0; box-shadow: none; margin: 0;
  padding: 3.5vh 5vw 9vh; overflow: auto; font-size: clamp(18px, 1.45vw, 30px); min-height: 0; }
html.lt-projector .lt-title { font-size: 2.1em; margin-bottom: 0.6em; }
html.lt-projector .lt-slide { min-height: calc(87.5vh - 30px); }
html.lt-projector .lt-box { font-size: 1.25em; }
html.lt-projector .lt-slide--ans .lt-box { font-size: 0.95em; }
html.lt-projector .lt-slide--key .lt-box { font-size: 1.08em; }
html.lt-projector .lt-slide--stretch .lt-box { font-size: 1em; }
html.lt-projector .lt-slide--watch .lt-lines li { font-size: 1.2em; padding-top: 0.3em; padding-bottom: 0.3em; }
html.lt-projector .lt-lines li { font-size: 1.45em; }
html.lt-projector .lt-slide--do .lt-lines li, html.lt-projector .lt-slide[data-n="20"] .lt-lines li { font-size: 1.2em; margin-bottom: 0.5em; }
/* 20em: a tall picture shrinks with the text when a slide is fitted, instead of the text alone shrinking (6.11 at
   1280x720: text at 0.6 beside a portrait picture; with the cap 0.95 and up) */
html.lt-projector .lt-fig .fig img, html.lt-projector .lt-fig .fig svg { max-height: min(58vh, 20em); }
/* "wide": true in tools/tabs/<slug>.json: one picture across the slide under its intro line (rule 36) */
.lt-fig--wide .fig { margin: 0 auto; }
.lt-fig--wide .fig img, .lt-fig--wide .fig svg { max-height: 460px; }
html.lt-projector .lt-fig--wide .fig img, html.lt-projector .lt-fig--wide .fig svg { max-height: min(68vh, 30em); }
/* "photo" on a task in tools/tabs/<slug>.json: a short question on one half, its picture on the other (Laura, 18 Nov 2026) */
.lt-qfig { grid-template-columns: 1fr 1fr; }
/* the same for a picture inside a task's question box, with room left for the questions (6.15 Ward 7 plan and 6.16
   litter-bag graph: text at 0.6 or overflowing at 1024 to 1366 px without it; 13em for 2.9's ladder diagram) */
html.lt-projector .lt-stem figure img, html.lt-projector .lt-stem figure svg { max-height: min(40vh, 13em); width: auto; max-width: 100%; }
html.lt-projector .lt-split { gap: 4vw; }
html.lt-projector .lt-stagenav { display: flex; gap: 8px; position: fixed; right: 2vw; bottom: 2vh; z-index: 901; }
.lt-stagenav button { font: inherit; font-size: 15px; background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 12px; cursor: pointer; opacity: 0.6; }
.lt-stagenav button:hover { opacity: 1; }
.lt-stage:fullscreen { background: #fff; }

/* ---------- tab 3: self study ---------- */
.lt-share { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #eef3ee; border-radius: var(--radius-sm);
  padding: 14px 20px; margin-bottom: 24px; }
.lt-share p { margin: 0; flex: 1 1 320px; }
.lt-share .lt-msg { flex-basis: 100%; font-size: 0.9rem; color: var(--leaf-strong); }
.lt-share .lt-msg:empty { display: none; }

/* ---------- smaller screens ---------- */
@media screen and (max-width: 1000px) {
  .lt-grid { grid-template-columns: 1fr; }
  .lt-strip { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .lt-strip-h, .lt-group { flex-basis: 100%; }
  .lt-item { width: auto; margin: 0; }
  .lt-item small { display: none; }
}
@media screen and (max-width: 760px) {
  .lt-top { flex-direction: column; align-items: stretch; }
  .lt-quick { justify-content: flex-start; }
  .lt-qb { min-width: 0; flex: 1 1 140px; }
  .lt-sheet { padding: 22px 18px; }
  .lt-sheet-top, .lt-sheet-bottom, .lt-split { grid-template-columns: 1fr; gap: 12px; }
  .lt-sheet-head { flex-direction: column; }
  .lt-order { font-size: 0.85rem; }
  .lt-order .lt-s { display: none; }
  .lt-order tbody th { white-space: normal; }
  .lt-stage { padding: 20px 18px 28px; min-height: 0; }
  .lt-title { font-size: 1.5rem; }
  .lt-lines li { font-size: 1.1rem; }
}

/* ---------- print: the plan alone, one A4 sheet ---------- */
@media print {
  @page { size: A4; margin: 11mm 12mm; }
  html, body { width: auto !important; min-width: 0 !important; overflow: visible !important; background: #fff !important; }
  body > *:not(main) { display: none !important; }
  .lt-top, .lt-tabs, #pn-teach, #pn-self, .lt-print, .countdown { display: none !important; }
  #pn-plan { display: block !important; padding: 0; }
  .lp, .lp .wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .lt-sheet { border: 0; box-shadow: none; padding: 0; max-width: none; border-radius: 0; background: #fff; }
  .lt-sheet, .lt-sheet * { font-size: 9pt !important; line-height: 1.3 !important; }
  .lt-sheet h2 { font-size: 15pt !important; }
  .lt-sheet h3 { font-size: 10.5pt !important; margin: 8px 0 3px; }
  .lt-sheet .tag { font-size: 7.5pt !important; }
  .lt-sheet-top { grid-template-columns: 1.9fr 1fr; gap: 16px; }
  .lt-sheet-bottom { grid-template-columns: 1fr 1.2fr; gap: 12px; margin-top: 10px; }
  .lt-aims li { margin-bottom: 1px; }
  .lt-ppw { display: none; }
  .lt-order th, .lt-order td { padding: 2.5px 8px 2.5px 0; }
  .lt-need { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .lt-chips .tag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .lt-sheet a { color: inherit; text-decoration: none; }
  .lt-card { padding: 0 12px 8px; }
  /* "Print student worksheet" (Laura, 11 Nov 2026, 02:40 UTC): the tasks on the slides only, no answers */
  html.lt-ws #pn-plan { display: none !important; }
  html.lt-ws #pn-teach { display: block !important; padding: 0; }
  html.lt-ws .lt-teachbar, html.lt-ws .lt-how, html.lt-ws .lt-strip, html.lt-ws .lt-pager, html.lt-ws .lt-notes,
  html.lt-ws .lt-stagenav, html.lt-ws .lt-count, html.lt-ws .timer-btn { display: none !important; }
  html.lt-ws .lt-ws-head { display: block !important; margin-bottom: 6mm; }
  html.lt-ws .lt-ws-head h2 { font-family: var(--font-display); font-size: 15pt; margin: 0 0 2mm; }
  html.lt-ws .lt-grid { display: block; }
  html.lt-ws .lt-stage { border: 0; box-shadow: none; padding: 0; min-height: 0; background: #fff; }
  html.lt-ws .lt-slide { display: none !important; }
  html.lt-ws .lt-slide--do:not(.lt-slide--ans), html.lt-ws .lt-slide--stretch:not(.lt-slide--ans) {
    display: block !important; min-height: 0; break-inside: avoid; margin: 0 0 6mm; font-size: 10pt; }
  html.lt-ws .lt-title { font-size: 14pt !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html.lt-ws .lt-pill, html.lt-ws .lt-stem, html.lt-ws .lt-qcard { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.lt-ws-head { display: none; }
.lt-teachbtns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- subject colours, shared colours and fonts (Laura, 11 Nov 2026, 03:28 UTC, from the R8 sheets: "I like all
   the subject colors, I like option 2 for yellow and 3 for red and green. Text Poppins and nunito"). Card pills take the
   course's three colours (light, mid, dark); yellow, red and green are shared. Task green #5f8a62 is 3.96:1 with
   white, so small text on or in task green uses #567f59 (4.59:1). Fonts self-hosted (SIL Open Font Licence, Latin
   subset): Poppins for titles, Nunito for text, on tabbed lesson pages only until Robbe agrees a site-wide switch. --- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.lt { --s1: #CBDED3; --s2: #8BA49A; --s3: #3B6255; --s1t: #f4f8f5; --s2t: #eef3f0; --s3t: #e6eee9;
  --hl: #e3c567; --hl-soft: #f6ecc8; --task: #5f8a62; --task-text: #567f59; --task-tint: #ebf2eb; --stretch: #9b4a45; --stretch-tint: #f6eceb;
  font-family: 'Nunito', var(--font-body); }
.lt--chem { --s1: #CFDCE3; --s2: #8DA3B3; --s3: #3B5A70; --s1t: #f4f7f9; --s2t: #eef2f5; --s3t: #e6ecf1; }
.lt--phys { --s1: #DCD3E3; --s2: #A296B0; --s3: #5A4A6E; --s1t: #f7f4f9; --s2t: #f2eff5; --s3t: #ebe7f0; }
.lt--psych { --s1: #F0D9C6; --s2: #D19A73; --s3: #9A5A33; --s1t: #fcf6f1; --s2t: #f9efe7; --s3t: #f4e8df; }
.lt h1, .lt h2, .lt h3, .lt .lt-title, .lt .lt-pill, .lt .lt-num, .lt .lt-spec-n, .lt-tabs [role=tab] b,
.lt .lt-strip-h strong, .lt .lt-sheet h2, .lt .lt-sheet h3 { font-family: 'Poppins', var(--font-display); font-weight: 600; }
.lt .lt-title { font-weight: 700; letter-spacing: -0.01em; }
.lt-c--b { --cb: var(--s3); --ct: var(--s3t); }
.lt-c--t { --cb: var(--s2); --ct: var(--s2t); }
.lt-c--x { --cb: var(--s1); --ct: var(--s1t); }
.lt-c--hl { --cb: var(--hl); --ct: #fbf6e3; }
.lt-c--t .lt-pill, .lt-c--x .lt-pill { color: #12302b; }
.lt-card2 li::before { color: var(--s3); }
.lt-c--hl li::before { color: #8a6d12; }
.lt .lt-slide--teach { --band: var(--s3); --tint: var(--s3t); }
.lt .lt-slide--key { --band: var(--s3); --tint: var(--s3t); }
.lt .lt-slide--do { --band: var(--task); --tint: var(--task-tint); }
.lt .lt-slide--stretch { --band: var(--stretch); --tint: var(--stretch-tint); }
.lt .lt-slide--do .lt-title .timer-btn { color: var(--task-text); }
.lt .lt-slide--do .lt-num { background: var(--task-text); }
.lt-item--do { border-left-color: var(--task); }
.lt-item--stretch { border-left-color: var(--stretch); }
.lt-item--key { border-left-color: var(--s3); }
/* Slide background a paler cream than the site's paper #f7f4ec (Laura, 11 Nov 2026, 03:53 UTC); task cards stay white */
.lt .lt-stage, html.lt-projector .lt .lt-stage, .lt .lt-stage:fullscreen { background: #fbf9f4; }
html.lt-projector, html.lt-projector body { background: #fbf9f4; }
/* Self study (tab and student page) in the house colours (Laura, 11 Nov 2026, 03:54 UTC: "the student page should also
   follow the font and color scheme. However keep keywords in a matching blue at the top, and misconceptions in another
   variant of burgundy"). Text contrast: 6.5:1 and up; task-green headings 4.0:1 (large text). */
.lt .lb--key { border-color: #CFDCE3; border-left-color: #3B5A70; background: #eef3f6; }
.lt .lb--key h2, .lt .kw dt { color: #3B5A70; }
.lt .kw dt, .lt .kw dd { border-top-color: #CFDCE3; }
.lt .lb--watch { border-color: #ecd3d6; border-left-color: #7a2f3a; background: #f8eeee; }
.lt .lb--watch h2 { color: #7a2f3a; }
.lt .lb--do { border-color: #d3e3d4; border-left-color: #5f8a62; background: #ebf2eb; }
.lt .lb--do h2 { color: #567f59; }
.lt .lb--stretch { border-color: #ecd6d4; border-left-color: #9b4a45; background: #f6eceb; }
.lt .lb--stretch h2 { color: #9b4a45; }
.lt .lb h2 { font-family: 'Poppins', var(--font-display); font-weight: 600; }
/* Answer rows: all the points for one part in one box, as bullets (Laura, 11 Nov 2026, 04:43 UTC) */
.lt-row .lt-rowpts { margin: 0; padding-left: 1.1em; }
.lt-row .lt-rowpts li { margin: 0 0 0.2em; }
.lt-row .lt-rowpts li:last-child { margin-bottom: 0; }
.lt-row:has(.lt-rowpts) { align-items: flex-start; border-radius: 22px; }
.lt-row:has(.lt-rowpts) .lt-num { margin-top: 0.15em; }
/* "If you have time" (F21, Laura 11 Nov 2026 12:08 UTC): the last slide, in the task colours, with a button that opens
   the extra questions on the slides after it */
.lt-slide--extra { --band: #1e6b58; --tint: #e8f5ef; }
.lt .lt-slide--extra { --band: var(--task); --tint: var(--task-tint); }
.lt-slide--extra .lt-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--band); color: #fff;
  padding: 0.38em 0.6em; border-radius: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.lt-item--extra { border-left: 4px solid #5f8a62; border-left-style: dashed; }
.lt-xbtn { font: inherit; font-family: 'Poppins', var(--font-display); font-weight: 600; font-size: 1.05em; cursor: pointer;
  background: #567f59; color: #fff; border: 0; border-radius: 999px; padding: 0.55em 1.4em; min-height: 44px; }
.lt-xbtn:hover { background: #3f6442; }
a.lt-xbtn { display: inline-flex; align-items: center; text-decoration: none; } /* the link to the student page (13 Nov 2026) */
a.lt-xbtn:hover, a.lt-xbtn:visited { color: #fff; }
.lt-xbtn:focus-visible { outline: 3px solid #e3c567; outline-offset: 2px; }
@media print { .lt-xbtn { display: none; } }
/* Tables in a task's question box: tighter rows on the projector (IGCSE Psychology Murdock: a 15-row tally table ran
   20 to 40 px over even at the smallest text) */
html.lt-projector .lt-stem table th, html.lt-projector .lt-stem table td { padding-top: 0.2em; padding-bottom: 0.2em; }
/* A video on a slide (figure.vid, 16:9, the play button and later the player): on the projector at most about half
   the screen high, so it and its questions fit (IGCSE Physics and Primary "Watch" and results slides ran up to 400 px
   over at 1280x720 with the video at full width) */
html.lt-projector .lt-body figure.vid { width: min(100%, calc(46vh * 16 / 9)); margin-left: auto; margin-right: auto; }
/* Several pictures together in a task (Primary "spot the reaction": five photos; Physics: two transformer diagrams):
   one row on the projector, each picture smaller (the five photos stacked ran 900 px over) */
html.lt-projector .lt-stem .pm-pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(9em, 1fr)); gap: 0.6em; }
html.lt-projector .lt-stem .pm-pics figure { margin: 0; }
html.lt-projector .lt-stem div:has(> figure + figure) figure img,
html.lt-projector .lt-stem div:has(> figure + figure) figure svg { max-height: min(28vh, 9em); }
/* PSHE (trial, Laura 11 Nov 2026: "the style needs to completely change"): calm teal for the title and house rules,
   warm terracotta for activities, soft lavender for the exit ticket; rounder cards, no exam look */
.lt--pshe { --s1: #D7E8EA; --s2: #8FB8BF; --s3: #2F5D6B; --s1t: #f3f8f9; --s2t: #ecf4f5; --s3t: #e4eef0;
  --task: #B5654A; --task-text: #9c5238; --task-tint: #f8ece6; }
.lt--pshe .lt-slide--key { --band: #2F5D6B; --tint: #e6f0f2; }
.lt--pshe .lt-slide--do { --band: #B5654A; --tint: #f8ece6; }
.lt--pshe .lt-slide--check { --band: #6B5B95; --tint: #efebf6; }
.lt--pshe .lt-slide--teach .lt-title { color: #2F5D6B; }
.lt--pshe .lt-item--do { border-left-color: #B5654A; }
.lt--pshe .lt-item--check { border-left-color: #6B5B95; }
.lt--pshe .lt-card2, .lt--pshe .lt-stem, .lt--pshe .lt-qcard { border-radius: 18px; }
.lt-src { margin: 0.6em 0 0; font-size: 0.8em; color: #4a5a5e; }
.lt-src a { color: inherit; }
.pshe-rules { list-style: none; counter-reset: r; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6em; margin: 0.4em 0 0; padding: 0; }
.pshe-rules li { counter-increment: r; background: #e6f0f2; border-radius: 16px; padding: 0.55em 0.8em 0.55em 2.6em; position: relative; }
.pshe-rules li::before { content: counter(r); position: absolute; left: 0.7em; top: 0.5em; width: 1.4em; height: 1.4em; border-radius: 50%;
  background: #2F5D6B; color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 0.85em; }
@media (max-width: 640px) { .pshe-rules { grid-template-columns: minmax(0, 1fr); } }
/* PSHE plans carry longer "You need" notes (local numbers, which slide) and more sources: a little smaller in print so
   the plan stays on one A4 sheet */
@media print {
  .lt--pshe .lt-sheet { font-size: 0.9em; }
  .lt--pshe .lt-need li, .lt--pshe .lt-pplist li { margin-bottom: 0.1em; line-height: 1.25; }
  .lt--pshe .lt-pplist .lt-ppw { display: none; }
}
/* PSHE: the "You need" notes are long (local numbers, which slide), so the box spans the sheet with its list in two
   columns instead of a narrow column beside the aims */
.lt--pshe .lt-sheet-top { grid-template-columns: minmax(0, 1fr); }
.lt--pshe .lt-need ul { columns: 2; column-gap: 1.6em; }
.lt--pshe .lt-need li { break-inside: avoid; }
@media (max-width: 640px) { .lt--pshe .lt-need ul { columns: 1; } }
/* PSHE cards to print (Laura, 11 Nov 2026: Year 7 item and price cards): A4, dashed cut lines, header and footer hidden */
.pp-how { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pp-set { margin: 28px 0; }
.pp-note { color: #4a5a5e; }
.pp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px dashed #8FB8BF; }
.pp-card { border: 1px dashed #8FB8BF; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; break-inside: avoid; }
.pp-grid--m .pp-card { min-height: 46mm; text-align: center; }
.pp-grid--l .pp-card { min-height: 62mm; }
.pp-word { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.6rem; color: #2F5D6B; margin: 0; }
.pp-tag { margin: 8px 0 0; font-size: 0.85rem; color: #6b7c80; }
.pp-prod { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; margin: 0 0 8px; color: #2F5D6B; }
.pp-n { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #B5654A; color: #fff; font-size: 0.85em; margin-right: 4px; }
.pp-tags { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pp-tags li { font-size: 0.95rem; }
.pp-shelf { display: inline-block; background: #f8ece6; color: #9c5238; font-weight: 700; font-size: 0.8rem; border-radius: 6px; padding: 1px 6px; margin-right: 4px; }
.pp-line { display: block; color: #6b7c80; font-size: 0.85rem; margin-top: 2px; }
.pp-best { margin: 10px 0 0; font-size: 0.9rem; }
@media print {
  body:has(main.pp) > *:not(main), .pp .lp-crumb, .pp-how, .pp h1 { display: none !important; }
  body:has(main.pp) main.pp { padding: 0; margin: 0; max-width: none; }
  .pp-set { margin: 0; break-after: page; }
  .pp-set h2 { font-size: 11pt; margin: 0 0 2mm; }
  .pp-note { font-size: 8.5pt; margin: 0 0 3mm; }
  .pp-grid--m .pp-card { min-height: 50mm; }
  .pp-grid--l .pp-card { min-height: 0; padding: 3mm 4mm; }
  .pp-set:last-child { break-after: auto; }
  .pp-tags { gap: 1.5mm; }
  .pp-tags li, .pp-best { font-size: 9.5pt; }
  .pp-line { font-size: 8.5pt; }
}
@media (max-width: 640px) { .pp-grid { grid-template-columns: minmax(0, 1fr); } }
/* The timer on every slide type with a coloured title band (Laura, 11 Nov 2026 14:34 UTC: "the final timer just shows
   a white space": the exit ticket's button had no colours of its own) */
.lt-slide--check .lt-title .timer-btn, .lt-slide--key .lt-title .timer-btn, .lt-slide--watch .lt-title .timer-btn,
.lt-slide--extra .lt-title .timer-btn { margin-left: auto; font-size: 0.45em; background: #fff; color: var(--band); border: 0; }
/* PSHE cards wrap to the next row before a word is squeezed ("communication" did not fit in the teacher view) */
.lt--pshe .lt-cards { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(10em, 1fr)); }
.lt--pshe .lt-card2, .lt--pshe .lt-pill, .lt--pshe .lt-qbody { overflow-wrap: break-word; hyphens: auto; }
.lt--pshe .lt-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Plan table on a phone: long words in "What happens" wrap instead of pushing the table a few pixels past the screen
   (Ego, 11 Nov 2026: B10, B11, B15 and B16 at 375 px) */
@media (max-width: 480px) {
  .lt-order td { overflow-wrap: anywhere; }
  .lt-order tbody th { white-space: normal; }
}

/* A plan with many rows (more than 22: IAL Psychology B15 after the task-variety pass) prints a little tighter, so the
   plan stays on one A4 sheet */
@media print {
  .lt-order--long { font-size: 0.8rem; line-height: 1.3; }
  .lt-order--long th, .lt-order--long td { padding-top: 2px; padding-bottom: 2px; }
}

/* PSHE plans list up to ten sources: in print they take less room, so the plan stays on one A4 sheet (Year 9 Summer 2
   lessons, 12 Nov 2026) */
@media print {
  .lt--pshe .lt-pplist { font-size: 0.8rem; line-height: 1.3; }
  .lt--pshe .lt-pplist li { margin-top: 0; margin-bottom: 2px; padding-top: 0; padding-bottom: 0; }
}
/* Answer boxes, version 2 (pilot on IAL Psychology intro-1 and intro-2, 12 Nov 2026; lesson_convert ANS_V2):
   one box per question, its number in the pill, the heading as a title, bullets only for mark points */
.lt-row--q { align-items: flex-start; border-radius: 18px; padding: 0.6em 1.2em 0.7em 0.6em; }
.lt-row--q .lt-num { margin-top: 0.1em; }
.lt-abody { display: grid; gap: 0.3em; min-width: 0; }
.lt-atitle { margin: 0; font-weight: 700; }
.lt-anote { margin: 0; font-size: 0.92em; color: var(--ink-2, #3c5852); }
.lt-row--q .lt-rowpts { margin: 0; padding-left: 1.1em; }
