/* =====================================================================
 * course.css — the companion guide's stylesheet.
 *
 * One sheet for every page. Section 1 and section 2 each carried an
 * identical copy of this inline; section 2's was the fuller of the two
 * and is what this file is. A page now adds only what is its own: the
 * fact-check page's own layout rules, and nothing else so far.
 *
 * Changing a token here changes it everywhere, which is the point.
 * ===================================================================== */
:root {
  --bg:       #0E0E0E;
  --surface:  #191A1A;
  --rule:     #2A2A2A;
  /* DOAC's outline-variant. Added 20/11/2026 for the 3.4 chart, which had
     been drawing its grid and its baselines in two off-palette greys: a
     grid rule and a stronger baseline need two weights, and --rule to
     --text-3 is too big a jump for the second.                        */
  --rule-2:   #484848;
  --text:     #E7E5E4;
  --text-2:   #ACABAA;
  --text-3:   #8A8A8A;
  --accent:   #DBFF00;
  --caution:  #EE7D77;

  /* Two accents, two jobs. Yellow is function: the thing to press, the
     control you are on, the focus ring. Cream is attention: the words and
     figures we want read. Nothing cream is ever clickable, which is why
     it can carry the voice without competing with the one action on
     screen.

     #FFE0C6 is DOAC's own warm wash, read off thediaryofaceo.com where it
     is used at 15% opacity. It replaced lilac #DCCBFF on 20/11/2026: the
     lilac had no DOAC source at all, and the sage #D0D5D2 tried first
     measured dE 6.8 against body text, which is a near-neutral and marks
     nothing. The cream sits at 15.38:1 on the canvas, the same as body
     text, so it emphasises by hue and not by brightness.                */
  --highlight:      #FFE0C6;
  --highlight-tint: rgba(255, 224, 198, 0.07);
  --highlight-rule: rgba(255, 224, 198, 0.55);
  --highlight-hair: rgba(255, 224, 198, 0.18);

  /* Reflection's own colour, taken from the diary icon so the card and
     its mark are the same object. It sits at 3.4:1 on paper, which is
     below the 4.5:1 that normal text needs and above the 3:1 that text
     of 18.66px bold or larger needs. So it is legible ONLY at the label
     size set below. Shrink that label back toward 12px and the colour
     has to go back to ink.                                            */
  --coral:      #D85A30;

  /* Coral that can carry small text. #D85A30 measures 3.81:1 on sheet
     paper: enough for the bar, the bullets and the ticks, and short of
     the 4.5:1 that text under 18.66px bold needs. Darkened to the same
     hue at 4.65:1, so a label can be coral at any size it likes.     */
  --coral-ink:  #C44E28;

  /* Paper. The reflection activity is the one light surface in the course:
     the learner has stopped reading and started filling something in. Ink
     is warm rather than black so the card does not ring against the page. */
  --paper:      #F2F0EB;
  --paper-sheet:#FFFDF8;
  --ink:        #1A1A18;
  --ink-2:      #4A4844;
  --ink-3:      #6A6862;
  --paper-rule: #D8D5CE;
  --paper-edge: #CFCCC4;

  /* Caution. The brand coral cannot do this job: it already means "the
     workbook" everywhere else, and a destructive control wearing the
     same colour as the invitation to fill something in is a trap.

     DOAC keeps its loud brand red (#FF3333, --color-tertiary) apart from
     a quieter error family, and this pair follows that split: --caution
     #EE7D77 is their error-text, for the dark page (7.20:1); this is
     their error-container, for paper. 9.2:1 on sheet paper, 8.2:1 on
     page paper -- both better than the invented #B3261E it replaced on
     20/11/2026, which was 6.4 and 5.7. #BB5551, their error-dim, was
     the first candidate and was rejected: 4.07:1 on page paper fails AA
     for .wb-clear-warn, which is 14px.                               */
  --caution-ink: #7F2927;

  --gutter:   24px;
  /* Scrollbar width, set by course.js. Used by full-bleed elements
     sized from 100vw, which counts the scrollbar and the page does not. */
  --sbw:      0px;
  --measure:  680px;

  /* Where a jumped-to block comes to rest below the top of the window.
     24px put the kicker's cap-height about 30px down and the heading read
     as clipped; this gives the block head air above it before the eye
     lands on it. One value, used by .block and .activity alike, so the
     two can never drift apart.                                         */
  --land:     80px;
  /* Replaced by course.js with the header's measured height, which moves
     with the brand's wrap. This is the two-line phone case. */
  --hdr-h:    60px;

  /* ── Activity type scale ───────────────────────────────────────────
     Six steps, and every size inside a reflection card is one of them.
     Written as tokens on 21/11/2026, when the five cards had drifted to
     fourteen sizes. Two causes: section-03's own sheet re-declared roles
     this file already owned, so a32-a34 drifted from a11/a22; and one
     role — the thing being asked — was wearing five class names
     (.question, .pick-line — now .stage-intro — .stem-group-head,
      .stage-num, .col-label)
     at five sizes.

     The order is not the usual one. The learner's own words are the
     LARGEST type in the card, above the intro that sets them up: the
     card is a worksheet, and what the learner writes on it outranks
     what we wrote first. That is why --act-input is the serif and
     nothing else in the card is.

     Changing a role's size means changing it here. A px value inside
     an activity rule is a bug from 21/11/2026 onward.               */
  --act-head:   14px;  /* label + title: one tracked-caps run        */
  --act-input:  19px;  /* anything the learner types, picks or ticks */
  --act-intro:  18px;  /* setup prose: the card's intro and parts   */
  --act-prompt: 16px;  /* every sub-prompt: the thing being asked    */
  --act-gloss:  14px;  /* the helper line under a prompt            */
  --act-mark:   12px;  /* stage numbers, group heads, field labels,
                          the card foot — structure, not voice      */
  --act-serif:  Newsreader, Georgia, serif;
}

/* The prompt is the only step that moves with width: at 1000px the card
   has the measure for it to sit a step above its gloss rather than level
   with it. The header follows the eyebrow down below 520px, where the
   label and title stop sharing a line. Nothing else in the card changes
   size, so these two lines are the whole responsive story.           */
@media (min-width: 1000px) { :root { --act-prompt: 17px; } }
@media (max-width:  520px) { :root { --act-head:   13px; } }


*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text-2); }
a:hover { color: var(--text); }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px; height: 20px; flex: none; margin: 0;
}

h1, h2, h3 { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 40;
  background: var(--accent); color: var(--bg);
  font-weight: 700; padding: 12px 20px; text-decoration: none;
}
.skip:focus { left: 0; color: var(--bg); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header --------------------------------------------------------------- */

/* Not sticky: the guide's name is an entry statement, read once. The
   wayfinder below is the thing that persists. */
.site-header {
  position: sticky; top: 0; z-index: 30;
  padding: 8px var(--gutter);
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

/* Dead centre, not centred in what the burger leaves: the outer tracks
   are equal, so the brand sits on the page's midline with the burger
   hanging in the left one. The 44px floors are the button's own target
   size -- below them the brand would squeeze it rather than wrap itself. */
.site-header .brand { grid-column: 2; }

/* Structural label, level 1. Yellow + caps + centred marks the one element
   that names the whole guide; nothing below it gets all three at once. */
.site-header .brand {
  max-width: 30ch;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; line-height: 1.4;
  text-transform: uppercase; text-align: center;
  color: var(--accent); text-decoration: none;
}
.site-header .brand:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header .brand .nobr { white-space: nowrap; }

/* Contents nav --------------------------------------------------------- */

/* 24/11/2026. Below 1200px the contents open from a burger in the sticky
   header instead of a pill in the reading column. The pill's own spans are
   still in the markup of all five pages -- they are hidden here, not
   deleted, so going back to it is this one rule and the .burger span, as
   with .block-kicker and .stem-note. */
.nav-toggle {
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--text); background: none;
  border: 1px solid var(--rule); border-radius: 999px;
}

/* UNUSED since 24/11/2026: the pill's label and sign. Kept, with their
   rules, because restoring the pill means showing them again. */
.nav-toggle .nav-label,
.nav-toggle .sign { display: none; }
.nav-toggle .sign { font-size: 16px; color: var(--text-2); }
.nav-toggle .nav-pos { color: var(--text-2); font-weight: 400; }
.nav-toggle .nav-sep { color: var(--rule); }

/* Three bars that become a cross on open. The cross is the only thing in
   the header that moves, and it moves because it is reporting state. */
.burger { display: block; position: relative; width: 18px; height: 12px; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: transform 200ms var(--m-ease), opacity 200ms var(--m-ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 5px; }
.burger span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* In the header the nav is a 44px button in the left track. At rail width
   the block below lifts it into the margin and gives it the rail's size. */
.contents-nav { width: auto; max-width: none; margin: 0; justify-self: start; }

/* The drawer. Off the left, under the header, because the burger is at the
   top left and a panel should arrive from the thing that opened it.
   Built on the same shapes as the fact-check panel (.fcp): an is-open
   class, a scrim, Escape, a focus trap, focus handed back to the opener.

   It does NOT reuse that panel's scroll lock. body.fcp-locked is
   position:fixed, which takes a sticky header off screen with it -- and
   this header holds the burger the reader needs to close the drawer. The
   root's overflow is used instead; see html.nav-locked below. */
.nav-panel {
  position: fixed; top: var(--hdr-h); left: 0; bottom: 0; z-index: 29;
  width: min(320px, 86vw);
  margin: 0; padding: 22px var(--gutter) 28px;
  background: var(--bg);
  border-right: 1px solid var(--rule);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; transform: translateX(-100%);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
              visibility 0s linear 260ms;
}
.nav-panel.is-open {
  visibility: visible; transform: none;
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
              visibility 0s;
}
/* Before course.js runs the panel still carries its hidden attribute, so
   there is no flash of an un-slid drawer on load. */
.nav-panel[hidden] { display: none; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 28;
  background: rgba(0, 0, 0, 0.66);
  opacity: 0; transition: opacity 220ms ease;
}
.nav-scrim.is-open { opacity: 1; }

/* The page behind holds still while the drawer is open. Scroll position is
   kept by the engine rather than saved and restored, which is the whole
   reason for preferring this to the .fcp lock. */
html.nav-locked { overflow: hidden; }

/* Rail ----------------------------------------------------------------- *
 * One permanent wayfinding surface. Because it answers "where am I"
 * continuously and in the margin, nothing in the reading column has to.  */

/* Visible in the drawer and in the rail. It was display:none while the
   pill's button carried the word "Contents" itself. */
.rail-label {
  display: block;
  margin: 0 0 10px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}

.rail { list-style: none; margin: 0; padding: 0; }
.rail a { display: block; text-decoration: none; }


.rail-section > a {
  display: flex; gap: 10px; align-items: baseline;
  padding: 5px 0; font-size: 13px; line-height: 1.35;
  color: var(--text-3);
}
.rail-section > a:hover { color: var(--text-2); }

.rail-num { font-variant-numeric: tabular-nums; }

.rail-section.is-current > a { color: var(--text); font-weight: 700; }

/* The way back to the landing. It is not a section and takes no number,
   but it has to occupy the same first column or every title below it
   shifts. Separated by a rule rather than a gap, because it belongs to a
   different thing from the four sections under it. */
.rail-intro { margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
.rail-intro > a { color: var(--text-2); }
.rail-intro > a:hover { color: var(--text); }
.rail-intro .rail-num { width: 2ch; }
.rail-section.is-current .rail-num { color: var(--accent); }

/* Block titles sit a step below the section titles they hang under: the
   two were the same 13px, so the rail had indentation and a hairline to
   mark the level and nothing else.

   The rows are tight on purpose -- the rail is mostly padding, and that
   padding is what makes it tall enough to reach the footer. 5px is as
   far as it goes: a 12px title at 1.3 in a 5px row measures 25.6px, and
   WCAG 2.2 puts the floor for a target at 24px. Take either number down
   and the rail stops meeting it. */
.rail-blocks { list-style: none; margin: 2px 0 8px; padding: 0; }

.rail-blocks a {
  padding: 5px 0 5px 13px;
  border-left: 2px solid var(--rule);
  font-size: 12px; line-height: 1.3; color: var(--text-2);
}
.rail-blocks a:hover { color: var(--text); }
.rail-blocks a.is-here { color: var(--text); border-left-color: var(--accent); }
/* Still ahead of the reader. Dimmed, never disabled: the rail is the way
   past the gate, not another thing to be let through. */
.rail-blocks a.is-ahead { color: var(--text-3); }
.rail-blocks a.is-ahead:hover { color: var(--text-2); }

/* The rail has nothing to say while the opener is on screen. Visibility
   rides with the fade so its links cannot be tabbed into while hidden. */
.contents-nav {
  opacity: 1; visibility: visible;
  transition: opacity 240ms ease, visibility 0s;
}
.contents-nav.is-dormant {
  opacity: 0; visibility: hidden;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

/* ...and recedes at the foot of the page. The rail is fixed, so it has
   no way to end with the page: left alone it sits on top of the footer
   once the reader reaches it. The trigger is the collision rather than
   the footer arriving -- see course.js -- so on a window tall enough to
   hold both, nothing happens at all.

   Dormancy and recession differ in the one way that matters. The
   opener's dormancy takes the rail out of the tab order, because the
   parts line is the keyboard route on that screen. There is no parts
   line at the foot, and the foot is where a reader is most likely to
   want the way back, so the rail stays reachable here and returns the
   moment a link inside it takes focus. Faded, never a thing that can
   take focus while invisible. */
.contents-nav.is-receded { opacity: 0; pointer-events: none; }
.contents-nav.is-receded:focus-within { opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .contents-nav,
  .contents-nav.is-dormant,
  .contents-nav.is-receded,
  .nav-panel,
  .nav-panel.is-open,
  .nav-scrim,
  .burger span { transition: none; }
}

/* Layout --------------------------------------------------------------- */

main { padding: 48px var(--gutter) 64px; }

.reading {
  width: 100%; max-width: var(--measure); margin: 0 auto;
  display: flex; flex-direction: column; gap: 64px;
}

h1 {
  font-size: 40px; font-weight: 900;
  line-height: 0.95; letter-spacing: -0.02em;
}

/* Chapter opener -------------------------------------------------------- *
 * The first screen holds the section and nothing else. The number can be
 * a label here without competing, because there is nothing to compete
 * with; the rail stays dormant until the reader starts reading.          */

.section-head {
  min-height: calc(100svh - 230px);
  display: flex; flex-direction: column; justify-content: center;
}

.opener-num {
  margin: 0 0 20px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
}

/* Opener parts line ----------------------------------------------------- *
 * The contents page's parts line, repeated on the section it belongs to,
 * so a reader who arrives straight at a section sees what is in it as
 * plainly as a reader who came through the contents. Contents' colour and
 * separator, at opener scale: here it is a standfirst under a 40/72 title,
 * not a line inside a list entry, so it runs at 17/19 rather than 14/15.
 * The titles are the live block headings in page order - change a heading
 * and this line changes with it, or the opener starts lying about the
 * section it opens. */

.section-parts {
  margin: 24px 0 0;
  font-size: 17px; line-height: 1.6; color: var(--text-2);
}
/* Dimmer than the titles so the line reads as four things rather than one
   sentence, and hidden from screen readers, which would otherwise announce
   the character itself between every title. */
.section-parts .sep { color: var(--text-3); }

/* The parts line is also the section's contents. The rail is dormant while
   the opener holds the screen -- and out of the keyboard and screen-reader
   order with it -- so these titles are the only way into the blocks from
   here apart from Begin. Nothing is added to say so: the titles simply sit
   at full strength while the middots drop back, so the line reads as four
   named things rather than one grey sentence. An underline at rest was
   tried and rejected -- four marks on a page whose subject is quiet. The
   underline is kept for hover and for the focus ring's company, which is
   also the only cue a learner gets on a touch screen, where there is no
   hover to find it with. */
.section-parts a {
  color: var(--text);
  text-decoration: none;
}

.section-parts a:hover,
.section-parts a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}

/* No hover, no cue. A learner on a phone never reaches the state above, so
   where the primary pointer cannot hover the line carries the underline at
   rest -- the treatment turned down for the desktop opener, kept for the one
   place where it is the only affordance going. A hybrid laptop reports its
   mouse as the primary pointer, so a touchscreen alone will not trigger it. */
@media (hover: none) {
  .section-parts a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--text-3);
    text-underline-offset: 4px;
  }
}

.opener-actions {
  margin: 44px 0 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}

.opener-cue { margin: 0; font-size: 13px; color: var(--text-3); }

.cue-arrow {
  width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: cue-bob 2.4s ease-in-out infinite;
}

@keyframes cue-bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(2px, 2px); }
}

@media (prefers-reduced-motion: reduce) {
  .cue-arrow { animation: none; }
}

.block { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: var(--land); }

/* Block head ----------------------------------------------------------- *
 * Sections take numerals, blocks do not: the contents nav already draws
 * that line, with .rail-num on .rail-section and no number at all on
 * .rail-blocks. What marks a block here is the divider under its heading.
 *
 * An earlier build also hung the rail's own 2px left rule in the gutter.
 * It is gone. Against a divider at 5.6:1 a rule at --rule (1.3:1) could
 * not be seen, and the only way to make it carry was to raise it to the
 * kicker's grey, at which point it was no longer the rail's mark and the
 * whole reason for having it had gone. One mark, doing the job properly.
 * The column keeps a single clean left edge as a result: kicker, title,
 * body text, clip and quote rule all start at the same place.            */
.block-head {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 14px;
  /* Deliberately the kicker's own colour, so the label and the line
     belong to one object and the title is the one bright thing between
     them. Nothing decorative on this page is brighter than the words.  */
  border-bottom: 1px solid var(--text-3);
}

/* Structural label, level 3. Deliberately one rung under .opener-num in
   colour: same size and tracking, but text-3 rather than text-2, so a
   block label and a section label are never the same object.           */
.block-kicker {
  margin: 0; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3);
}

/* KICKERS OFF (19/11/2026). The block titles were rewritten to draw the
 * learner in rather than describe the block, which left the kicker saying
 * the descriptive thing the title had just stopped saying — two labels
 * competing above one heading. Hidden rather than deleted so the decision
 * can be reversed in one move.
 *
 * TO RESTORE: delete this rule. Nothing else needs touching — the eleven
 * <p class="block-kicker"> elements are still in section-01/02/03.html
 * with their copy intact, and .block-head is a flex column, so the label
 * reappears above the title with its 8px gap and nothing shifts.
 *
 * display:none (not visibility or opacity) so the label is out of the
 * accessibility tree too: a screen reader should not announce a label a
 * sighted learner cannot see.                                          */
.block-kicker { display: none; }

/* Sized up 22 -> 28 and 700 -> 800 on 19/11/2026, when the kickers came
 * off. The kicker and title together read as a heading by pattern, so 22px
 * was enough; alone, the title has to win on size, and at 22 it lost to the
 * pull quote (24/700) and the evidence headings (25/600) inside its own
 * block. 28/800 clears both and sits a clear rung under the h1 (40/900).
 * .inv-title stays at 22/700 deliberately: an activity invitation should
 * now read as subordinate to the block it sits in, not equal to it.    */
.block > h2, .block-head h2 { font-size: 28px; font-weight: 800; line-height: 1.15; }

/* Block strapline (21/11/2026) ----------------------------------------- *
 * The block titles pique curiosity and no longer say what the block is
 * about; the kickers that used to say it are off. This line restores the
 * description, under the title rather than above it, so the title is read
 * first and the strapline answers it. Amy's copy.
 *
 * Sits inside .block-head, so it takes that column's 8px gap and sits
 * above the rule - the rule still closes the whole heading object. Body
 * weight and text-2 deliberately: a second label above the rule would
 * compete with the title, which is the one bright thing in the object. */
.block-strap {
  margin: 0; font-size: 16px; font-weight: 400; line-height: 1.5;
  color: var(--text-2); max-width: 46ch;
}

.body-text { margin: 0; font-size: 18px; line-height: 1.6; }

/* The quoted passage. The left rule is gone: the opening mark does that
   job now, set inline so the first words run straight on from it. Lilac,
   not yellow, because yellow on this page means pressable and the one
   pressable thing in this block is the clip link under the quote.      *
 *
 * The cut-out floats top right. The quote wraps alongside it and then
 * opens out to the full column once it passes the bottom of the image.
 * The image is cropped flat across the torso, so that cut edge lands
 * inside the text rather than at a boundary.                           */
.quoted { margin: 0; padding-left: 0; border-left: 0; }
.quoted .q-body::after { content: ""; display: block; clear: both; }
.quoted p { margin: 0 0 14px; font-size: 18px; line-height: 1.6; }
.quoted p:last-child { margin-bottom: 0; }
/* A key phrase inside a quoted body. The pull-quote's .key-word is colour
   alone, which works there because that text is already 24px/700 and the
   cream reads as a change of voice. At 18px regular it does not: #FFE0C6
   sits at 1.0:1 against #E7E5E4, so colour alone is all but invisible and
   gone entirely for a reader who cannot separate those hues. Weight does
   the work; the colour says which kind of emphasis it is.             */
.quoted .key-word { color: var(--highlight); font-weight: 600; }
/* Two different things ended up sharing this name. A speaker's name is
   an attribution and is set like a pull quote's -- right, behind an em
   dash. A "Watch the clip" link is a control, so it runs straight on
   from the closing mark and only drops to its own line when the measure
   will not carry it.                                                 */
.quoted p.attribution {
  margin: 18px 0 0; font-size: 14px; color: var(--text-2);
  text-align: right;
}
.quoted p.attribution::before { content: "\2014\00a0"; }

/* The gap before the link is carried by the closing quote mark's
   margin-right rather than this element's margin-left, because the two
   behave differently at a line break: a leading margin travels with the
   link and indents it by 10px when it drops to a line of its own, where
   a trailing margin stays at the end of the line above and is not drawn.
   Same gap inline, flush left when it wraps. The :has() keeps it to a
   mark that actually has a link after it, so the other closing marks in
   the build are untouched and a new run-on needs no extra class.     */
.quoted .mark.m-close:has(+ .run-on) { margin-right: 10px; }
.quoted .run-on {
  display: inline-block; white-space: nowrap;
  font-size: 14px; line-height: 1.6;
}

/* Floated, so the quote wraps alongside her and then runs the full
   column once it clears the bottom of the image.                       */
.quoted .q-figure {
  float: right; width: 46%; max-width: 240px; margin: 2px 0 14px 22px;
}
/* Flipped so she faces into the column she now sits above, rather than
   out of the page. Done here rather than in the file, so the source PNG
   stays the way it was cut.                                            */
.quoted .q-figure img { display: block; width: 100%; height: auto; transform: scaleX(-1); }

/* line-height 0 stops a 40px glyph stretching the first line box; the
   vertical-align drops it onto the text's own centre.                  */
/* -0.40em puts the glyph's ink top on the cap height of the text beside
   it, so the first line reads level with the top of the mark instead of
   below it. The number is the mark's own ink top (~0.73em of 40px) less
   the text's cap height (~0.727em of 18px); it holds at the breakpoint
   too, because both sides scale together. line-height 0 keeps the mark
   out of the line box, so a 40px glyph never stretches the first line. */
.quoted .mark {
  display: inline-block; font-size: 40px; font-weight: 900;
  line-height: 0; vertical-align: -0.40em; color: var(--highlight);
}
.quoted .m-open { margin-right: 5px; }
.quoted .m-close { margin-left: 3px; }

/* Yellow: the one thing in this block to press. */
.quoted .run-on a {
  color: var(--accent); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(219, 255, 0, 0.4); padding-bottom: 2px;
}
.quoted .run-on a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Video ---------------------------------------------------------------- */

.clip {
  background: var(--surface);
  border: 1px solid var(--rule);
}

.clip-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.clip-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Poster facade -------------------------------------------------------- *
 * Nothing is requested from YouTube until the reader clicks play, so the
 * player's own title bar, channel name and chrome never appear on the
 * page. The block title is NOT here: it sits above the clip with every
 * other block heading, so the poster carries only the one action.
 * The art layer is a placeholder; swap it for the designed frame.        */

.poster {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.poster-art {
  position: absolute; inset: 0;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.poster-art::after {
  content: "Poster frame";
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
  border: 1px dashed var(--rule); padding: 10px 16px;
}

/* A designed frame replaces the placeholder. The grade does two jobs:
   it pulls the source's coral back so it stops competing with the accent,
   and drops the whole image below the title so the type sits on the
   image rather than in it. Values live here, not on the element.       */
.poster-art.has-frame {
  background: #000 center / cover no-repeat;
  filter: brightness(0.74) contrast(1.14) saturate(0.78);
}
.poster-art.has-frame::after { content: none; }

.poster-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 42%,
    rgba(0,0,0,0) 38%, rgba(0,0,0,0.72) 100%);
}

/* The flat placeholder needs less help than a photograph does, so the
   heavier scrim is scoped to posters that carry a frame. Lighter than it
   was: it used to carry a 24px heading as well as the button, and only
   the button is left, so the picture can come back up.                 */
.poster-art.has-frame ~ .poster-scrim {
  background: linear-gradient(to top,
    rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.42) 34%, rgba(0,0,0,0) 66%);
}

/* Narrow screens used to need a 3/2 poster: at 16:9 a 327px column gives
   a 184px frame, and a wrapped 24px title plus the Play button took about
   110px of it, leaving a sliver of picture. With the title moved above
   the clip the button alone takes ~84px, so 16:9 holds and the override
   is gone. Restore it if a caption is ever put back on the poster.     */

.poster-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.45) 38%, rgba(0,0,0,0) 72%);
}

.poster-text {
  position: relative;
  padding: 20px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px;
}

/* Primary action. Yellow marks the one thing to do on the screen you are
   on; the opener's Begin and a poster's Play are never on screen at the
   same time, so the colour never has to arbitrate between two of them. */
.btn-accent {
  font-family: inherit; font-size: 15px; font-weight: 700;
  color: var(--bg); background: var(--accent);
  border: 0; border-radius: 999px;
  padding: 12px 22px; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.btn-accent:hover { filter: brightness(1.08); color: var(--bg); }
.btn-accent[disabled] { opacity: 0.6; cursor: default; }

/* The one control that opens a workbook entry rather than moving the
   course on. Coral on the page's near-black is 5.0:1, clearing 4.5:1 as
   a fill with --bg text on it. Yellow still means "the way on" -- Play
   clip, Begin, Continue; this is the detour off it. Same box as
   .btn-accent so the two sit at one weight side by side.             */
.btn-coral {
  font-family: inherit; font-size: 15px; font-weight: 700;
  color: var(--bg); background: var(--coral);
  border: 0; border-radius: 999px;
  padding: 12px 22px; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.btn-coral:hover { filter: brightness(1.08); color: var(--bg); }
.btn-coral[disabled] { opacity: 0.6; cursor: default; }

.btn-accent .play-mark {
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.clip-pending {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center; background: var(--surface);
}
.clip-pending .label { margin: 0; font-size: 16px; font-weight: 700; }
.clip-pending .hint { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-3); max-width: 46ch; }
.clip-pending code { font-size: 13px; color: var(--text-2); }
.clip-pending .local-link { margin: 4px 0 0; }
.clip-pending .local-link a { font-size: 15px; font-weight: 700; color: var(--accent); }

.clip-meta {
  padding: 16px 20px;
  border-top: 1px solid var(--rule);
  font-size: 13px; line-height: 1.5; color: var(--text-2);
}

/* The meta row doubles as the passage's own control. Where a clip has a
   transcript, the row is the passage disclosure's <summary>: position in
   the episode, the way into the words, and the way out to YouTube, all
   on one line under the player instead of a separate panel below it.
   Where a clip has no transcript the row stays a plain <p> and none of
   this applies, which is why every interactive rule is scoped to
   summary.clip-meta rather than to the class on its own.             */
summary.clip-meta {
  margin: 0; min-height: 44px; cursor: pointer; list-style: none;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
}
summary.clip-meta::-webkit-details-marker { display: none; }
/* Caps, because with the timestamp gone this is the only thing on the
   row that is a label rather than a link, and it reads as one of the
   small structural marks used all down the page -- the block kicker,
   the activity eyebrow, "Next" -- rather than as a caption.
   The sign is yellow: it is the pressable thing in this row, and yellow
   is what pressable means everywhere else on the page.               */
summary.clip-meta .cm-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 800; line-height: 1.2;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--text);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
summary.clip-meta .cm-toggle .sign { font-size: 20px; color: var(--accent); }
summary.clip-meta:hover .cm-toggle { border-bottom-color: var(--text-3); }

/* The YouTube link is the quietest thing on the row: it is the way out
   when the embed will not play, not a third thing to choose between.
   It lives inside the summary, so course.js stops its click short of
   the toggle -- following the link must not also open the passage.   */
summary.clip-meta [data-clip-link] {
  color: var(--text-3); text-decoration: none;
  border-bottom: 1px solid var(--text-3); padding-bottom: 1px;
}
summary.clip-meta [data-clip-link]:hover { color: var(--text); border-bottom-color: var(--text); }

/* Clip progress -------------------------------------------------------- *
 * How far through the CLIP the reader is. YouTube's own scrubber spans
 * the whole episode, which runs past two hours, so an 85-second clip is
 * about 1% of that bar and the time beside it counts the episode rather
 * than the clip. Once the poster is gone, this row is the only thing on
 * the page that can say.
 *
 * The track is transparent on purpose: at rest the reader sees the row's
 * own top border and nothing else, so an unplayed clip looks exactly as
 * it did before any of this existed. The fill grows along that hairline
 * and thickens it to 3px as it goes. 3px rather than the 6px of 3.4's
 * chapter rail, because that rail is apparatus you press and this is a
 * report on the player above it.
 *
 * Read-only by decision: no seeking, aria-hidden, out of the tab order.
 * The clip's length is spoken by the play button's aria-label, which is
 * where a screen reader should find it.
 *
 * course.js builds it rather than the markup carrying it, following the
 * "Watch on YouTube" link in this same row: a clip added later gets the
 * track with nothing to remember. The cost is that the feature census
 * cannot see it, so the build tests cover it instead.
 *
 * Opt out with data-clip-bar="off" on the clip slot. 3.4 does: its
 * chapter rail is already a proportional track with a playhead on it,
 * and two progress marks under one player is one more than it needs.  */

.clip-meta { position: relative; }

.cp-track {
  position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: transparent; pointer-events: none;
}
.cp-fill {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  /* Matches course.js's 300ms poll, so the fill travels rather than
     stepping -- the same bargain as 3.4's playhead mark. */
  transition: width 300ms linear;
}
/* The clip re-cues at its out-point and the fill empties with it.
   Snapped, because the transition above would otherwise wipe it
   backwards across the whole row on the way to zero. */
.cp-fill.is-snap { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .cp-fill { transition: none; }
}

/* Inside a clip the panel's tint and rule move off the closed row and
   onto the body, so the shut state reads as a caption and the open one
   still puts the episode's words on their own ground.                */
.clip > details.disclosure.passage {
  border-left: 0; background: none; padding: 0;
}
.clip > details.disclosure.passage > .disclosure-body {
  border-left: 3px solid var(--highlight-rule);
  background: var(--highlight-tint);
  padding: 16px 20px 20px;
}

/* Written long enough to outrank "details.disclosure > summary" and
   "details.disclosure.passage > summary", which between them set the
   padding, weight and colour every other drop-down on the page wants
   and this row does not.                                             */
.clip > details.disclosure.passage > summary.clip-meta {
  padding: 16px 20px; font-size: 13px; font-weight: 400; color: var(--text-2);
}

/* The plain row survives on a clip with no transcript, where it carries
   the YouTube link alone. Left like everything else on the row.      */
p.clip-meta:empty { padding: 0; }
p.clip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
p.clip-meta [data-clip-link] {
  color: var(--text-3); text-decoration: none;
  border-bottom: 1px solid var(--text-3); padding-bottom: 1px;
}
p.clip-meta [data-clip-link]:hover { color: var(--text); border-bottom-color: var(--text); }

details.disclosure {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* The passage is the episode speaking, so it is a panel rather than a
   hairline drop-down — distinct from "View as text" and "View the
   evidence", which are apparatus. The tint carries from closed to open,
   so what you press is what you get.                                   */
details.disclosure.passage {
  border-top: 0; border-bottom: 0;
  border-left: 3px solid var(--highlight-rule);
  background: var(--highlight-tint);
  padding: 0 20px;
}
details.disclosure.passage > summary { color: var(--text); font-weight: 700; }
details.disclosure.passage .disclosure-body {
  padding-bottom: 20px; font-size: 17px; color: var(--text);
}
details.disclosure.passage .edit-note { border-bottom-color: var(--highlight-hair); }

/* Narration inside a passage. Where a stretch is an exchange rather than
   one speaker, the scene-setting lines are ours, not the episode's, and
   they carry no quotation marks. Without a rule of their own they set
   identically to the quoted paragraphs, which quietly hands our words to
   the speaker -- the exact error the passages exist to avoid. So they
   take the edit-note's register: smaller, quieter, and set apart.    */
details.disclosure.passage .disclosure-body p.beat {
  font-size: 14px; line-height: 1.5; color: var(--text-3);
  padding-left: 14px; border-left: 2px solid var(--highlight-hair);
}

/* Yellow here too: in this build yellow is the one thing to press, and a
   stage direction that carries a jump into the video is pressable.   */
details.disclosure.passage .disclosure-body p.beat a {
  color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(219, 255, 0, 0.4); padding-bottom: 1px;
}
details.disclosure.passage .disclosure-body p.beat a:hover { border-bottom-color: var(--accent); }

details.disclosure > summary {
  padding: 16px 0; min-height: 44px;
  font-size: 16px; color: var(--text-2);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
details.disclosure > summary .sign { font-size: 20px; }
details.disclosure[open] > summary .sign::after { content: "\2212"; }
details.disclosure:not([open]) > summary .sign::after { content: "+"; }

details.disclosure .disclosure-body {
  padding-bottom: 16px;
  font-size: 15px; line-height: 1.6; color: var(--text-2);
}
details.disclosure .disclosure-body p { margin: 0 0 12px; }
details.disclosure .disclosure-body p:last-child { margin-bottom: 0; }

.edit-note {
  margin: 0 0 16px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px; line-height: 1.45; color: var(--text-3);
}

/* Pull-out figure ------------------------------------------------------ */

.figure-callout { margin-top: 12px; }

.figure-callout .figure {
  margin: 0; font-size: 34px; font-weight: 900;
  line-height: 0.95; letter-spacing: -0.02em; color: var(--highlight);
}

.figure-callout .gloss {
  margin: 16px 0 0; font-size: 18px; line-height: 1.6;
}

.source {
  margin: 16px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-2);
}

/* Pull quote ----------------------------------------------------------- */

/* The block's own 20px gap is right between a quote and a drop-down. It
   is not enough between the passage and the line pulled out of it, where
   the eye needs to register that the second is a restatement of the
   first and not the next paragraph of it.                            */
.quoted + .pull-quote,
.quoted + .quote-callout { margin-top: 24px; }

.pull-quote {
  margin: 0; padding: 0;
}
.pull-quote p {
  margin: 0; font-size: 24px; font-weight: 700;
  line-height: 1.25; letter-spacing: -0.01em; color: var(--highlight);
}
/* Right, behind an em dash: the quote is the thing, the name is the
   footnote to it.                                                    */
.pull-quote .attribution {
  margin: 14px 0 0; font-size: 14px; color: var(--text-2); font-weight: 400;
  text-align: right;
}
.pull-quote .attribution::before { content: "\2014\00a0"; }

/* Reflection activity -------------------------------------------------- */

.activity {
  scroll-margin-top: var(--land);
  background: var(--paper-sheet); background-clip: padding-box;
  color: var(--ink);
  /* The border IS the mat: a margin of page paper, exactly as a sheet
     has in workbook.html. The hairline between mat and sheet is an
     inset shadow rather than a second border, which an element cannot
     have. Change the two together or the sheet loses its edge.     */
  border: 18px solid var(--paper);
  box-shadow: inset 0 0 0 1px var(--paper-edge);
  padding: 26px 28px 24px;
  display: flex; flex-direction: column; gap: 28px;
}

/* The focus ring is yellow everywhere else on the page, which has nothing
   to hold onto against paper. Inside the card it is ink.               */
.activity a:focus-visible, .activity button:focus-visible,
.activity input:focus-visible, .activity textarea:focus-visible {
  outline-color: var(--ink);
}

/* Both labels match the small structural marks used elsewhere (the rail
   heading, "Next —"), rather than being quiet grey lines of their own. */
.activity .eyebrow {
  margin: 0 0 8px; font-size: var(--act-mark); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
/* Eyebrow over title, with the icon floated beside both so the title
   wraps around it. The whole header is pulled up by the difference
   between the card padding and the icon inset, which top-aligns the
   eyebrow with the icon and lets the icon keep a zero top margin.      */
.act-head { display: block; margin-top: 0; }
.act-head::after { content: ""; display: block; clear: both; }
/* The card's flex gap sets the rhythm between its blocks, but the header
   is now a single line of small type and sits too far off the question
   it introduces. Pulled back here rather than by changing the gap, which
   would also close up Part 2.                                          */
.act-head { margin-bottom: 0; }
/* .sh-head, from workbook.html: the entry's name on the left, what it
   is on the right, a rule under both. Order rather than markup order,
   so the heading still comes first for a screen reader.            */
.head-text {
  line-height: 1.25;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--paper-rule);
}
.activity .head-text h2 { order: 1; }
.activity .head-text .eyebrow {
  order: 2; flex: none; margin: 0;
  font-size: var(--act-head); font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--coral-ink);
}
/* Grown, the label takes enough of the row to break a two-word title in
   half on a phone. Below the width where both fit it goes above the
   title and reads as a kicker, which is what the blocks do already. */
@media (max-width: 520px) {
  .head-text { flex-direction: column-reverse; align-items: flex-start; gap: 7px; }
  .activity .head-text .eyebrow { font-size: var(--act-head); }
}
/* Bigger than the 12px structural marks used elsewhere on the page: this
   one names what the card is, so it carries more weight than a caption.
   Inline, so it and the title are one run of text sharing a baseline.  */
.head-text .eyebrow { display: inline; margin: 0; }
/* Below the one-line width the label and title cannot share a line at
   all, so the title takes its own and the bar goes — a bar at the end of
   a line with nothing after it is a stray mark, not a separator.       */
/* Set to the eyebrow exactly — family, size, weight, tracking, case —
   so the header is one continuous mark and only colour separates the
   label from the title. Scoped past `.activity h2`, which is equally
   specific and comes later in the sheet, so it would otherwise win.    */
.activity .head-text h2 {
  display: inline; margin: 0;
  font-size: var(--act-head); font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
/* Matched to the question text below it, so the card opens at one size
   and steps down rather than opening with a caption.                   */
/* Ink at this size. Coral measures 3.4:1 on paper, which clears the 3:1
   that bold text of 18.66px or larger needs and fails the 4.5:1 that
   normal-size text needs — so the colour returns only in the 1000px
   block below, where the label is 28px. The bar still separates label
   from title here.                                                    */
.act-head .eyebrow {
  color: var(--ink-3); font-size: var(--act-head); letter-spacing: 0.08em;
}
/* Inline-block, so its bottom edge sits on the baseline without any
   vertical positioning of its own. Height is the cap height of the type
   either side of it, which is now one size rather than two.            */
.act-bar {
  display: inline-block; vertical-align: baseline;
  width: 3px; height: 14px; margin: 0 7px;
  background: var(--coral);
}
/* Pulled out of the card's own padding so it sits near the corner rather
   than inside the text column. The negative margins are written against
   the card padding, so changing the padding moves the icon with it and
   the inset below stays what it says it is. It stays a float, so the
   title still wraps around it — absolute positioning would take it out
   of flow and let the text run underneath.                             */
/* Gone with the sheet: workbook.html's entries carry no mark, and the
   head row has no width to spare for one. The markup stays so it can
   come back by deleting this rule.                                  */
.act-icon, .activity .act-bar { display: none; }
.activity h2 { font-size: var(--act-head); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }

/* Inside .act-head, directly under the header text, with the gap set by
   this one margin. It does NOT wrap the icon: the icon is kept shorter
   than the header text plus this margin, so the float has ended before
   the first line starts. Grow the icon past that and the wrap returns. */
.activity .act-intro {
  margin: 18px 0 0; font-size: var(--act-intro); line-height: 1.55; color: var(--ink);
}


/* The paragraph that opens a Part does the same job as the one that opens
   the card, so it takes the same role: setup prose, not a sub-prompt. It
   wore --act-prompt until 23/11/2026, which left it a step below the
   intro and — because --act-prompt is the one token that moves with
   width — a different step at each width. Moved here from section-03's
   own sheet at the same time; its link colour and type-pick spacing stay
   there, being section-local. Left unqualified, as it was there, so the
   section-local modifiers still outrank it.
   Was .pick-line until later the same day, which named the one card it
   started in rather than the job it does.                             */
.stage-intro { margin: 0 0 20px; font-size: var(--act-intro); line-height: 1.55; }

.activity .prompt { margin: 0 0 20px; font-size: var(--act-prompt); line-height: 1.6; }

.tick-list {
  border: 0; margin: 0; padding: 0; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.tick-list legend { padding: 0; }

.tick-list label {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; line-height: 1.4; min-height: 44px; cursor: pointer;
}

/* The card's flex gap sets the rhythm between its blocks, but between the
   last tick and the paragraph that follows it the gap plus this padding
   read as two separate cards rather than two parts of one. The negative
   margin eats into the flex gap so the rule sits closer to the list;
   change the two numbers together to move it.                         */
.activity .act-optional {
  border-top: 1px solid var(--paper-rule);
  margin-top: -8px; padding-top: 16px;
}

/* A merged item has to be seen to land, or Save looks as though it did
   nothing. The wash fades out over a couple of seconds and leaves no
   permanent mark — once it has landed it is an ordinary item.        */
@keyframes own-landed {
  from { background: rgba(216, 90, 48, 0.20); box-shadow: 0 0 0 6px rgba(216, 90, 48, 0.20); }
  to   { background: transparent; box-shadow: 0 0 0 6px transparent; }
}
.tick-list label.just-added { animation: own-landed 2.4s ease-out forwards; }
@media (prefers-reduced-motion: reduce) {
  .tick-list label.just-added { animation: none; }
}

.activity .question {
  display: block; margin: 0 0 16px; font-size: var(--act-prompt); line-height: 1.65;
}
/* An optional block is quieter than the step it hangs off, so its ask is
   set one tone back. Colour and leading only — an earlier version of this
   comment claimed a size step too, which the rule has never carried: the
   ask keeps --act-prompt like every other .question.
   Named .part-2 until 23/11/2026, which was a position word for a meaning
   that is about optionality: a33 has a stage the learner sees labelled
   Part 2 with one of these nested inside it.                          */
.activity .act-optional .question { line-height: 1.6; color: var(--ink-2);
}
.activity .tick-list label { font-family: var(--act-serif); font-size: var(--act-input); }

/* Part 2 is now the same shape as Part 1 — a tick and a line of text —
   so that when a typed item is merged upward on Save it lands in a list
   it already resembles, rather than changing form on the way.          */
.own-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 44px;
}
/* Underline rather than a box: an empty row should read as a ruled line
   waiting to be written on, not as an input field sitting in the card. */
.activity .own-input {
  flex: 1 1 auto; min-width: 0;
  background: none; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--paper-edge);
  font-family: var(--act-serif); font-size: var(--act-input); line-height: 1.45;
  padding: 9px 2px;
}
.activity .own-input::placeholder {
  color: var(--ink-2); opacity: 1;
  font-family: Inter, system-ui, sans-serif; font-size: var(--act-gloss);
}
.activity .own-input:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
  border-bottom-color: transparent;
}
/* A disabled tick beside an empty line would otherwise look broken; it
   is quiet instead, and comes alive the moment there is text to tick. */
.activity .own-row input[type="checkbox"]:disabled { opacity: 0.35; }
/* UNUSED in the live build from 23/11/2026, following the .stem-note /
   .appendix-note convention: 1.1 carried the only .own-hint and its copy
   was merged into the ask above it. The rule is kept so restoring a
   separate hint line is markup only.
   What it does: sets the hint a step under the ask in the gloss size. */
.activity .own-hint {
  margin: 12px 0 0; font-size: var(--act-gloss); line-height: 1.5; color: var(--ink-2);
}

.activity .controls {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}

/* DISABLED 21/11/2026, following the .appendix-note / .stem-note
   convention: Amy asked for Save / Update workbook to look the same as
   Edit this, so the save button now falls through to the plain
   .btn-outline pill plus .activity .btn-outline's ink colour below -
   exactly what the revealed entry's button gets. Restoring the
   coral-underline control is uncommenting these two rules.
   What they did: scoped to .controls so it was the save button alone
   that matched workbook.html's .wb-do, not every outline button in a
   card -- 3.2's timer is one. That parity with .wb-do is what the
   change gives up.
.activity .controls .btn-outline {
  font-size: 14px; font-weight: 700; color: var(--ink);
  background: none; border: 0; border-bottom: 2px solid var(--coral);
  border-radius: 0; padding: 0 0 2px; min-height: 0;
}
.activity .controls .btn-outline:hover {
  background: none; color: var(--ink); border-bottom-width: 3px;
}
                                                                      */
.activity .btn-outline { color: var(--ink); border-color: var(--ink); }
.activity .btn-plain { color: var(--ink-2); }
.activity .status-note { color: var(--ink-3); }
.activity input[type="checkbox"] { accent-color: var(--coral); }

/* The foot. Where the workbook's sheets point back to the block they came
   from, the card points forward to the workbook -- and carries the one
   thing every card has to say about where the answers actually live. */
.card-foot {
  margin-top: -10px; padding-top: 12px;
  border-top: 1px solid var(--paper-rule);
  font-size: var(--act-mark); color: var(--ink-3);
}
/* Unused from 20/11/2026, and kept deliberately. The foot's "Your
   workbook" link and its arrow came out of all five cards along with
   Clear this, leaving the storage notice as the whole foot. The markup
   is what went, not these rules, so putting either control back is one
   line per card rather than a rebuild. The same classes are live in
   workbook.html's own sheet feet, which these do not reach. */
.card-foot .wb-from { font-size: var(--act-mark); color: var(--ink-3); text-decoration: none; }
.card-foot .wb-from:hover {
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}
.card-foot .ar { opacity: 0.6; }

.card-foot .keep { display: block; margin-top: 6px; line-height: 1.5; }
/* With the link and Clear this gone the notice is the foot's first line,
   so the 6px that used to separate it from them would now sit under the
   rule as a gap with nothing above it. */
.card-foot .keep:first-child { margin-top: 0; }

/* Clear this ----------------------------------------------------------- *
 * Unused from 20/11/2026: the control came out of all five card feet.
 * courseClear in course.js is untouched and still looks for
 * [data-clear], so restoring the button is markup alone. Kept for that.
 *
 * It was the card's quietest control, on the foot's first line beside
 * the workbook link, and absent altogether until there was something
 * stored. Ink at rest so it did not nag an untouched card; caution ink
 * only on approach. Padding carried it to 24px for WCAG 2.2 target
 * size, which 12px text alone would not reach.                       */

.card-foot .card-clear {
  font: inherit; font-size: var(--act-mark); color: var(--ink-3);
  background: none; border: 0; padding: 6px 0; margin-left: 14px;
  cursor: pointer; display: inline-block; min-height: 24px;
}
.card-foot .card-clear::before {
  content: "\00B7"; margin-right: 14px; opacity: 0.5;
}
.card-foot .card-clear:hover,
.card-foot .card-clear:focus-visible {
  color: var(--caution-ink); text-decoration: underline; text-underline-offset: 3px;
}
.card-foot .card-clear[hidden] { display: none; }

/* The gate -------------------------------------------------------------- *
 * Opt-in, per activity. An activity wrapped in .act-gate is not on the
 * page until it is asked for: the page carries an invitation row built
 * from its own furniture, and the card opens in the row's place when the
 * row is pressed.
 *
 * Nothing here touches an ungated activity, so the three in section 3
 * stay as they are and the two formats can be read against each other.
 *
 * The hiding hangs on .is-gated, which course.js adds. With scripting off
 * the row never appears and the card is simply open, exactly as it was
 * before the gate existed -- the same bargain the step gating makes.
 *
 * The row goes when the card opens rather than staying above it. Both
 * carry the same label and the same title, and two of each reads as a
 * fault rather than as a frame.                                        */

.act-gate { scroll-margin-top: var(--land); }
.act-invite { display: none; }
.act-gate.is-gated > .act-invite { display: block; }
.act-gate.is-gated > .activity { display: none; }
.act-gate.is-gated.is-open > .activity { display: flex; }
.act-gate.is-gated.is-open > .act-invite { display: none; }

/* The rule above and the kicker's own grey are the two marks a block head
   already uses, so the row reads as part of the page rather than as a
   second kind of card. The coral bar is the one thing it borrows from the
   activity, which is what ties the press to the thing that opens.      */
.act-invite {
  border-top: 1px solid var(--text-3);
  padding-top: 18px;
}

.inv-label { margin: 0 0 9px; display: flex; align-items: center; gap: 2px; }
.inv-label .act-bar { margin: 0 9px 0 0; height: 13px; }
.inv-kicker {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
}

/* The block heading's size and weight, because that is what it is: the
   activity's title, standing in the reading column.                    */
.inv-title { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 10px; }

/* Two sentences at most: what it costs, and where what they write goes.
   The second is the whole reason the row can be skipped without loss --
   a learner who reads on knows what they have passed up.              */
.inv-copy { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--text-2); }

.inv-controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* The button rides the kicker and the title rather than waiting under
   the copy, so the row stops reading as a block with a button bolted on.
   .is-open stays (0,4,0) and still wins, so an opened card hides the row.
   Held back to 560px: the pill takes about 99px of the right-hand column,
   and below this the left column falls under ~220px, which breaks
   "How intentional was your day?" across three lines.                 */
@media (min-width: 560px) {
  .act-gate.is-gated > .act-invite {
    display: grid; grid-template-columns: 1fr auto;
    column-gap: 24px; align-items: start;
  }
  .act-gate.is-gated > .act-invite > .inv-label,
  .act-gate.is-gated > .act-invite > .inv-title,
  .act-gate.is-gated > .act-invite > .inv-copy { grid-column: 1; }
  .act-gate.is-gated > .act-invite > .inv-copy { margin-bottom: 0; }
  .act-gate.is-gated > .act-invite > .inv-controls {
    grid-column: 2; grid-row: 1 / span 3; padding-top: 2px;
  }
}

@media (min-width: 1000px) {
  .act-invite { padding-top: 22px; }
  .inv-title { font-size: 25px; }
  .inv-copy { font-size: 17px; margin-bottom: 20px; }
}

.btn-outline {
  font-family: inherit; font-size: 16px; font-weight: 700;
  color: var(--text); background: none;
  border: 1px solid var(--text); border-radius: 999px;
  padding: 12px 24px; min-height: 44px; cursor: pointer;
}

/* Step transitions ------------------------------------------------------ *
 * A sequential spine laid over a page that still scrolls freely. Continue
 * is deliberately quieter than Begin and Play: filled yellow stays with
 * entering and playing, outline carries moving on.                        */

.step-end {
  display: flex; justify-content: center;
  padding-top: 4px;
}

.step-end .btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--accent); border-color: var(--accent);
}
.step-end .btn-outline:hover { color: var(--bg); background: var(--accent); }

.btn-plain {
  font-family: inherit; font-size: 16px;
  color: var(--text-2); background: none; border: none;
  text-decoration: underline; cursor: pointer; min-height: 44px;
}

/* The note answers a press and nothing else. It starts empty and the
   scripts add .is-shown when there is something to report, so no card
   announces a save, a restore or a verdict at load. visibility rather
   than display, so the note appearing costs no layout shift.
   Lifted out of section-03.html 19/11/2026, where the rule was scoped
   to section 3 while sections 1 and 2 still carried the bug.        */
.status-note { font-size: 14px; color: var(--text-3); visibility: hidden; }
.status-note.is-shown { visibility: visible; }

/* Carousel ------------------------------------------------------------- */

.carousel-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.carousel-head .counter { font-size: 14px; color: var(--text-2); }

.cards { position: relative; }

.card {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.card[hidden] { display: none; }

.card .card-kicker {
  margin: 0; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--highlight);
}
.card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; }
.card .card-source { font-size: 13px; line-height: 1.45; color: var(--text-2); }

.carousel-controls {
  display: flex; align-items: center; gap: 16px;
}

.arrow {
  font-family: inherit; width: 44px; height: 44px; flex: none;
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  color: var(--text); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.arrow:disabled { color: var(--text-3); border-color: var(--rule); cursor: default; }

.dots { display: flex; gap: 8px; }

.dot {
  width: 24px; height: 24px; padding: 0;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dot::after {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--text-3);
}
.dot[aria-current="true"]::after { background: var(--accent); }

.text-version { margin-top: 4px; }
.text-version .disclosure-body .card-as-text { margin-bottom: 20px; }
.text-version .disclosure-body .card-as-text:last-child { margin-bottom: 0; }

.scope-note {
  margin: 4px 0 0; padding-left: 14px;
  border-left: 2px solid var(--caution);
  font-size: 14px; line-height: 1.5; color: var(--text-2);
}

/* Public records ------------------------------------------------------- *
   Optional reading, closed by default, sitting after the block has made
   its point. Newsprint is NEUTRAL where the reflection card's paper is
   warm, and a step down from a fresh sheet: a near-white panel floating
   on a dark page reads as something you type into, whatever its hue.
   Rebased on DOAC's own light ramp on 20/11/2026 -- the eight values
   below had been invented, including a green that was the only green in
   the build. The body
   is set in the serif for the same reason -- nothing the learner fills in
   is serifed. The italic question above each headline is the learner's
   thread through the three; the headline beneath it stays documentary so
   the sheet still reads as a record and not a magazine.                 */

:root {
  --np-sheet: #F4F4F4;   /* SB site, page background                    */
  --np-tint:  #EDEDED;   /* DOAC shop                                    */
  --np-rule:  #DCDCDC;   /* SB site, rule                                */
  --np-edge:  #A3A3A3;   /* SB site, faint                               */
  --np-ink:   #151515;   /* SB site, ink       -- 16.6:1 on the sheet     */
  --np-ink-2: #303030;   /* SB site, body text -- 12.0:1                  */
  --np-ink-3: #5F5F5F;   /* SB site, muted     --  5.8:1, now passes AA   */
  --np-link:  #133C72;   /* 1% Diary navy      --  9.9:1                  */
  --serif:    Newsreader, Georgia, "Times New Roman", serif;
}

details.records > summary { padding: 18px 0; color: var(--text); }

.rec-lead {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 14px;
}

/* UNUSED in the live build as of 20/11/2026: every evidence panel now
   wears the fact check's own mark (.rec-glyph.is-fc below), so no
   summary carries this SVG any more. Kept, not deleted -- the markup
   is one swap away if the two panel kinds ever want separate marks.

   A page under a magnifier. The three tilted sheets this replaces said
   "documents" honestly enough, but at 34x26 three flat rectangles read
   as nothing in particular. The lens takes the page's own fill in the
   page colour's negative so the ring cuts clear of the sheet beneath
   it, and both keep the newsprint palette the cards inside use.      */
.rec-glyph { flex: none; width: 36px; height: 32px; }
.rec-glyph svg { display: block; width: 100%; height: 100%; }
.rec-glyph .g-page { fill: var(--np-tint); stroke: var(--np-edge); stroke-width: 1; }
.rec-glyph .g-fold { fill: none; stroke: var(--np-edge); stroke-width: 1; }
.rec-glyph .g-line {
  fill: none; stroke: var(--np-ink-3); stroke-width: 1.2;
  stroke-linecap: round; opacity: 0.55;
}
.rec-glyph .g-lens { fill: var(--bg); stroke: var(--np-tint); stroke-width: 2; }
.rec-glyph .g-handle {
  fill: none; stroke: var(--np-tint); stroke-width: 2.6; stroke-linecap: round;
}

/* Where the panel leads on the independent fact check it wears the
   fact check's own mark, the one the learner met on the resources
   shelf. 36px against the research glyph's 36x32, because this icon's
   drawing fills less of its box -- see the note on .fc-pointer .fc-mark. */
.rec-glyph.is-fc { height: 36px; }
.rec-glyph.is-fc img { display: block; width: 36px; height: 36px; }

.rec-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rec-text b { font-size: 17px; font-weight: 700; line-height: 1.3; }
.rec-text .rec-sub { font-size: 13px; line-height: 1.4; color: var(--text-3); }

/* UNUSED as of 20/11/2026. The finding was promoted here when it had no
   card of its own to live on; now every panel carries one, so the summary
   went back to a single small descriptive line in .rec-sub above and the
   finding is stated on the card inside. Kept so the promotion is one
   class away if a line ever needs it again. */
.rec-text .rec-sub.is-finding { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.rec-text .rec-sub.is-finding + .rec-sub.is-finding { margin-top: 4px; }

details.records .rec-body {
  padding-bottom: 20px;
  display: flex; flex-direction: column; gap: 16px;
}

/* Reading order is question, headline, body, source. The question takes
   the block kicker's own type -- 13px, 700, 0.06em, uppercase -- so the
   learner's thread through the three sheets is the same structural label
   they have been reading all down the page, in ink rather than grey.
   Kind and date ride top right opposite it; the link sits on the source
   line at the foot, where the eye already is when the body runs out.  */

.rec {
  background: var(--np-sheet); color: var(--np-ink);
  border: 1px solid var(--np-edge);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 12px;
}

.rec-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 16px;
}

.rec .rec-ask {
  margin: 0; flex: 1 1 14em;
  font-size: 13px; font-weight: 700; line-height: 1.35;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--np-ink-2);
}

/* Allowed to wrap, 24/11/2026.  The row was flex: 0 0 auto with no
   wrap, so the pill and the date were held on one line whatever the
   width.  "Independent fact check" + "October 2026" needs 294px and a
   phone's card gives 281, so four cards in section 1 and the same pair
   wherever else it appears pushed 13px past the sheet's edge; "Released
   documents / 9 August 2024" cleared it by 7px and would have gone the
   same way on a 360px phone.  Wrapping drops the date under the pill
   only when there is no room for both, so nothing moves above 520px or
   on any card whose pair already fits.  row-gap is tighter than the
   9px column gap: stacked, the two are one block, not two items.    */
.rec .rec-meta {
  margin: 0; flex: 0 1 auto; min-width: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px;
  font-size: 11px; font-weight: 700; line-height: 1.4;
  letter-spacing: 0.09em; text-transform: uppercase;
}

/* np-ink-3 was #6B6F62 and sat at about 4.2:1 on the old sheet, under the
   4.5:1 that text this size needs, so both labels took np-ink-2 instead.
   Since the 20/11/2026 rebase it is #5F5F5F at 5.8:1 and would pass --
   the labels are LEFT on np-ink-2 deliberately, because that is the
   weight they were set to read at, not because they have to be.       */
/* --np-tint is only a shade off the sheet, so a pill filled with it
   reads as nothing at all. The tag gets its own darker stock and a
   drawn edge, and a real radius, so it is unmistakably a pill.      */
.rec .rec-kind {
  padding: 4px 10px; border-radius: 999px;
  color: var(--np-ink);
  background: #CDD1C6; border: 1px solid #A9AE9F;
}
.rec .rec-when { color: var(--np-ink-2); font-weight: 500; letter-spacing: 0.05em; }

/* The independent fact check is not one source among the others, so its
   pill does not wear the others' stock. Built exactly like .rec-kind --
   np-ink text, drawn edge, same radius -- so the hue alone carries the
   difference. The fill is the terracotta family of the landing page's
   fact-check icon, which is where the learner met this mark first.
   12.1:1 on ink, and it stands the same distance off the sheet (1.20)
   as the grey-green pill does (1.22), so it is distinct without being
   louder.                                                            */
.rec .rec-kind.is-fc { background: #E8CCBF; border-color: #C9A28F; }

.rec h3 {
  font-family: var(--serif); font-size: 25px; line-height: 1.15;
  font-weight: 600; letter-spacing: -0.005em; color: var(--np-ink);
}

.rec .rec-copy {
  margin: 0; font-family: var(--serif);
  font-size: 17.5px; line-height: 1.52; color: var(--np-ink);
}

.rec-foot {
  margin-top: 2px; padding-top: 12px;
  border-top: 1px solid var(--np-rule);
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 4px 18px;
}

.rec .rec-from {
  margin: 0; flex: 1 1 auto;
  font-size: 13px; line-height: 1.4; color: var(--np-ink-2);
}

.rec .rec-link {
  flex: 0 0 auto;
  font-size: 13px; font-weight: 400; color: var(--np-ink-2);
  text-decoration: underline; text-underline-offset: 3px;
}
.rec .rec-link:hover { color: var(--np-link); }

/* The evidence family's expand sign sits in the passage panel's own
   column, so the + reads as one control all the way down the page.
   Written at .disclosure.records so it outranks the desktop block
   below wherever this lands in the sheet.                            */
details.disclosure.records > summary {
  padding: 18px 20px; align-items: flex-start;
}
details.disclosure.records > summary .sign { line-height: 22px; }

/* A full citation sits on the source line, in .rec-from's own size and
   colour, flush left with no hanging indent. .rec-from's own flex sizes
   from its content, which on a citation this long takes the whole row
   and pushes the link to a line of its own; basis 0 lets it share the
   row instead and wrap against the link. Below the min-width there is
   no room for both, so the link drops and keeps to the right.        */
.rec .rec-cite { flex: 1 1 0; min-width: 16em; }
.rec .rec-cite + .rec-link { margin-left: auto; }

/* The note runs the panel's full width like the sheets above it, rather
   than the 31em the >=1000px rule gives every other .disclosure-body
   paragraph: it is a caveat ON the cards, so a short measure reads as a
   stray aside sitting under them. Its caution rule and 14px indent stay
   -- that is the note's own mark, not a margin.                       */
details.records .rec-body .scope-note { margin: 4px 0 0; max-width: none; }

/* Two columns only where the measure can carry them. */
@media (min-width: 1000px) {
  .rec { padding: 22px 24px; }
  .rec .rec-copy {
    column-count: 2; column-gap: 26px;
    column-rule: 1px solid var(--np-rule);
  }
}

/* Cheat sheet (3.1) ---------------------------------------------------- *
 * A third kind of drop-down, and it has to read as a third kind: the
 * passage is the episode speaking, records are the evidence, and this is
 * apparatus you act on with the phone in your other hand. So it takes the
 * page's own dark surface rather than paper or newsprint, sets its paths
 * in ink against grey body copy, and numbers every step.
 * Signed off 14/11/2026 and moved here from section-03.html, so any
 * later cheat sheet gets the same treatment from one place.
 * The picker is hidden until script shows it, so with JS off all three
 * cards stand open under their own names instead of two disappearing. */
/* The mark. Treatment D, chosen 20/11/2026 from five in
   sheet-glyph-treatments.html. The phone it replaces was 17px wide in
   grey, sitting directly under a 36px fact-check mark, so it read as
   nothing in particular -- the same failure the three tilted sheets had
   before the magnifier replaced them. Two things fix it: size, 22x40 in
   a 40x44 box, and a screen split down the middle, accent on one side
   and grey on the other. The split is why this one won: it says what
   the sheet is FOR rather than naming the device the steps are for.
   The outline stays --text-2 and not accent, because the colour inside
   the screen is doing the work and a yellow frame around it would read
   as a second signal. Drawn with the markup that was already there --
   <span class="sheet-glyph"><i></i></span> -- so this rule is the whole
   change; there is no SVG and no extra element.                      */
.sheet-glyph { flex: none; width: 40px; height: 44px; position: relative; }
.sheet-glyph i {
  position: absolute; left: 9px; top: 2px; width: 22px; height: 40px;
  border: 1.5px solid var(--text-2); border-radius: 4px;
}
.sheet-glyph i::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 4px; bottom: 6px;
  background: linear-gradient(to right,
    var(--accent) 0 50%, var(--text-3) 50% 100%);
}

/* Matched to .records above it: the two drop-downs sit one under the
   other in 3.1, and the + has to be in one column down the page.    */
details.disclosure.sheet > summary {
  padding: 18px 20px; color: var(--text); align-items: flex-start;
}
details.disclosure.sheet > summary .sign { line-height: 22px; }
@media (min-width: 1000px) {
  details.disclosure.sheet > summary { padding: 18px 28px; }
}
.sheet-body { padding-bottom: 22px; }

.sheet-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sheet-tab {
  font: inherit; font-size: 14px; line-height: 1;
  padding: 0 16px; min-height: 44px;
  background: none; color: var(--text-2);
  border: 1px solid var(--rule); border-radius: 999px; cursor: pointer;
}
.sheet-tab:hover { color: var(--text); border-color: var(--text-3); }
.sheet-tab[aria-pressed="true"] {
  color: var(--bg); background: var(--accent);
  border-color: var(--accent); font-weight: 700;
}

/* The panel: one box holding the phone card on show and the caveats
   under it. Added 21/11/2026, when Amy chose to combine the two cards
   that used to stand one above the other. It sits inside the cheat
   sheet's disclosure body, below the phone picker, which deliberately
   stays outside it - the tabs choose what the panel holds, so they are
   not part of it. The surface, border and padding that .sheet-card and
   .sheet-caveats each carried now live here, once.                  */
.sheet-panel {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 22px;
}

/* A card is now just the run of copy inside that panel, so it sets no
   surface, border or padding of its own. With no JS all three stand
   open, and they separate from each other with the same hairline the
   caveats use rather than as three boxes with gaps between them.   */
.sheet-card { background: none; border: 0; padding: 0; }
/* :not([hidden]) matters, and was missing on 21/11/2026. The script
   hides the cards it is not showing, but `+` pairs siblings whatever
   their state, so Samsung and Pixel each took a top rule from the card
   above even when that card was hidden - putting a divider at the top
   of the panel, above the phone name, which iPhone never showed
   because nothing precedes it. The separator now needs a visible card
   in front of it, so it appears only in the no-JS case where all three
   stand open.                                                      */
.sheet-card:not([hidden]) + .sheet-card {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule);
}
/* The card's head, added 21/11/2026 when Amy moved the button up beside
   the phone name. It carries the rule that used to hang off .sheet-add,
   so the divider now runs the full width of the panel under name and
   button together rather than under the button alone.
   padding-bottom is 12px, not the 18px .sheet-add had: .status-note
   reserves its line whether or not there is a message (deliberately -
   see its rule - so the card does not jump when one arrives), and that
   reserved line sits between the head row and the rule.           */
.sheet-head {
  margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.sheet-name {
  margin: 0; font-size: 18px; font-weight: 800;
  line-height: 1.2; color: var(--text);
}
/* The escape hatch is the one step that is genuinely out of order: you do
   it before anything else so you are never stuck grey. Accent, because it
   is the thing to act on, and it is never a link.                     */
.sheet-first {
  margin: 0 0 4px; padding: 14px 16px;
  background: rgba(219, 255, 0, 0.06);
  border-left: 2px solid var(--accent);
  font-size: 15px; line-height: 1.6; color: var(--text-2);
}
.sheet-first b, .sheet-card .sheet-steps b, .sheet-blocked b { color: var(--text); font-weight: 700; }
/* Lifted from --text-3 to --text on 14/11/2026. The two signal colours
   are both already working inside this card - accent on the "do this
   first" panel, lilac on the row the phone cannot do - so the route
   headings separate themselves by weight and brightness instead of
   spending either one.                                              */
.sheet-card h4 {
  margin: 22px 0 10px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
/* course.css caps .disclosure-body p at 31em above 1000px. Right for
   prose, wrong here: the "Do this bit first" panel and the notes carry a
   tint and a left rule, so a cap on the paragraph caps the panel too and
   leaves it short of the card edge while the numbered steps beside it run
   full width. Inside a card, the card sets the measure.              */
details.disclosure.sheet > .disclosure-body p { max-width: none; }

/* And course.css also sets `details.disclosure .disclosure-body p
   { margin: 0 0 12px }` at (0,2,2), which outranks every plain .sheet-*
   class below it. So none of the sheet's own paragraph spacing has ever
   applied - first panel, notes and the dated line were all 0 0 12px
   whatever their rule said. Restored here at matching specificity;
   the margins in the class rules below are left as the record of
   intent, and these are what actually land.                         */
details.disclosure.sheet > .disclosure-body .sheet-first   { margin: 0 0 4px; }
details.disclosure.sheet > .disclosure-body .sheet-note    { margin: 18px 0 0; }
details.disclosure.sheet > .disclosure-body .sheet-blocked { margin: 0; }
details.disclosure.sheet > .disclosure-body .sheet-dated   { margin: 16px 0 0; }

.sheet-steps { margin: 0; padding-left: 22px; }
.sheet-steps li { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.sheet-steps li:last-child { margin-bottom: 0; }
/* 18px not 12px: at 12px the note sat barely further from the last step
   than the steps sit from each other, so it read as a sixth step rather
   than as a change of voice. Still inside the 22px the route headings
   take, so the card's rhythm is heading > steps > note.              */
.sheet-note { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* Lilac is the course's attention colour and is never clickable, which is
   exactly right for a row that says "your phone cannot do this".      */
.sheet-blocked {
  margin: 0; padding: 14px 16px;
  background: var(--highlight-tint); border-left: 2px solid var(--highlight-rule);
  font-size: 15px; line-height: 1.6; color: var(--text-2);
}

/* The caveats apply to all three phones, so they still cannot live
   inside a phone card - the cards are mutually exclusive and only one
   is ever on screen, so the list would have to be written three times
   to sit in them. Until 21/11/2026 they took a card of their own,
   matching the phone card above. Amy chose to combine the two, so the
   box belongs to .sheet-panel now and the caveats are simply the last
   run of copy inside it, marked off by a hairline instead of by a card
   edge. Still one copy, still sitting under whichever phone shows. */
.sheet-caveats {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.sheet-caveats h4 {
  margin: 0 0 12px; font-size: 13px; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.sheet-caveats ul { margin: 0; padding-left: 22px; }
.sheet-caveats li { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.sheet-caveats li:last-child { margin-bottom: 0; }
.sheet-caveats li b { color: var(--text); font-weight: 700; }
.sheet-dated { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.sheet-dated a { color: var(--text-2); }
.sheet-dated a:hover { color: var(--text); }

/* 3.1 cheat sheet — add to workbook ------------------------------------ *
 * One toggle per card, revealed by script: with no JS there is nothing
 * to press and nothing to store, so the control never appears at all.
 * Adding and changing your mind are the same button, which is why it
 * says which state it is in rather than leaving colour to carry it.
 * Moved to the head of the card on 20/11/2026, under the phone name and
 * above "Do this bit first": a learner who knows which phone they have
 * can send the steps to the workbook without reading to the foot of a
 * long card first. So the rule that separated it is now below it.   */
.sheet-add {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 14px 0 0;
}
.sheet-add .btn-outline[aria-pressed="true"] {
  border-color: var(--coral); color: var(--coral);
}

/* Top right, in line with the phone name, following the invitation rows
   of 14/11/2026 - and held to the same 560px, so phones keep the
   stacked order: name, then button, then message.
   .sheet-add becomes display:contents so the button and the message can
   take their own cells in the head's grid. The :not([hidden]) guard is
   load-bearing: the row is hidden in the markup and revealed by script,
   and a bare `display` here would beat the hidden attribute's
   display:none and show a button that cannot work without JS.
   The message spans both columns rather than riding the narrow
   right-hand one, because it is a sentence - "Samsung added, replacing
   iPhone." - not a word.                                          */
@media (min-width: 560px) {
  .sheet-head {
    display: grid; grid-template-columns: 1fr auto;
    column-gap: 24px; row-gap: 6px; align-items: center;
  }
  .sheet-head > .sheet-add:not([hidden]) { display: contents; }
  .sheet-head > .sheet-name { grid-column: 1; grid-row: 1; }
  .sheet-head [data-add] { grid-column: 2; grid-row: 1; justify-self: end; }
  .sheet-head [data-add-status] { grid-column: 1 / -1; grid-row: 2; }
}


/* Beats ---------------------------------------------------------------- */

.beats {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column;
}

.beats li {
  display: flex; gap: 20px;
  border-top: 1px solid var(--rule); padding: 20px 0;
}
.beats li:last-child { border-bottom: 1px solid var(--rule); }

.beats .beat-number {
  flex: none; width: 28px;
  font-size: 14px; color: var(--text-3); padding-top: 4px;
}

.beats p { margin: 0; font-size: 18px; line-height: 1.6; }

/* The five beats as a stepped sequence --------------------------------- *
 *
 * One illustration carrying all five beats without a cut. Every shape is
 * tweened point for point between five states, so nothing ever appears or
 * jumps; it only moves. The travelling line is drawn twice, as lineUp and
 * lineDown, identical until beat 04. A single polyline cannot fork, and
 * two lines held apart from the start would give the fork away three
 * beats early.
 *
 * The learner advances it with a click. It used to advance on scroll,
 * against a pinned stage and 870px of track -- the only place in the
 * course where the page stopped doing what pages do, and two and a half
 * screens tall. Pressing for it matches the vocabulary every other block
 * already teaches: Play, Read it instead, Open it, Continue.
 *
 * Caption and drawing sit side by side from 900px, so the block's height
 * is the taller of the two rather than the sum, and the whole thing --
 * words, picture and the control to move on -- is readable without
 * scrolling. The drawing is sized from its height with a vh cap, so on a
 * short window the picture gives way before the button does.
 *
 * Stacked, the order is drawing, beat, controls -- picture, words, then
 * the control, which is the order a phone reader expects and the only
 * one that puts all three on screen at once. The DOM order is unchanged
 * (caption first), which costs nothing here because the drawing is
 * aria-hidden and holds nothing focusable, so neither the reading order
 * nor the tab order follows the visual swap.
 *
 * Colour follows the page's own rule. The rail is pressable, so the step
 * the learner is on is yellow; the eyebrow above is lilac because it is
 * read, not pressed. The screen at the end is cold white and deliberately
 * outside the semantic palette: it is not a function, not an invitation
 * and not reflection, so it borrows none of those three colours.       */

.seq { display: none; }
.js .seq { display: grid; gap: 22px; margin-top: 4px; grid-template-areas: "fig" "caps" "ctrl"; }

.seq-words { grid-area: caps; display: flex; flex-direction: column; }
.seq-figure { grid-area: fig; }
.seq-controls { grid-area: ctrl; display: flex; flex-direction: column; gap: 14px; }

/* All five captions share one grid cell, so the slot is exactly as tall
   as the longest of them at whatever width the page is, with no fixed
   height to guess at and nothing to re-measure on resize.             */
.seq-caps { display: grid; align-content: start; flex: 1; }
.seq-cap {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0;
}
/* If the script never runs or dies, the block shows beat 01 rather than
   all five stacked on top of each other. */
.seq-cap:first-child { opacity: 1; }

/* Number and label are one line: the beat is named once, not twice. */
.seq-eyebrow {
  margin: 0; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--highlight);
}

/* The beat IS the quote. There was a paraphrase above it restating the
   same sentence, which made five beats read as ten. Serif, curly marks
   and the cream hairline are the build's existing language for "this is
   her voice".                                                         */
.seq-quote {
  margin: 0; padding-left: 16px;
  border-left: 2px solid var(--highlight-rule);
}
.seq-quote p {
  margin: 0; font-family: var(--serif);
  font-size: 21px; line-height: 1.38; letter-spacing: -0.005em;
}

/* Provenance. All five beats come from one continuous passage, so this
   row is the same at every beat: it sits outside the stacked caption
   cell and never fades.                                              */
.seq-source {
  margin: 18px 0 0; padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  font-size: 13px; line-height: 1.45; color: var(--text-3);
}
.seq-source .who { font-size: 14px; color: var(--text-2); }
.seq-source .who::before { content: "— "; }
.seq-source .note { flex: 1 1 100%; }
.seq-source .watch { color: var(--accent); text-decoration: none; font-weight: 700; }
.seq-source .watch:hover { text-decoration: underline; }

.seq-figure {
  padding: 10px; justify-self: center; align-self: start;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 10px;
}
/* Sized from the height, not the width. The viewBox is 4:3 and so is the
   frame, so there is no letterboxing to leave dead margins inside it. */
/* The vw cap is the stacked layout's, added 24/11/2026.  Sizing from
   the height is right beside the text at >=900px, where the figure sits
   in an auto column; stacked on a phone it is not, because a 4:3 box
   276px tall is 368px wide and the reading column at 375px is 327 --
   so the figure ran 63px past the column and gave the whole page 39px
   of sideways scroll.  58vw holds the DERIVED width to about 78vw,
   inside the column at every width below 900px (checked 320/360/375/
   500/899).  Redo the sum if the gutter or the measure changes.  The
   >=900px block below replaces this height outright, so the cap never
   reaches the side-by-side layout.                                  */
.seq-art { display: block; height: min(300px, 34vh, 58vw); width: auto; aspect-ratio: 4 / 3; }

/* Treatment B, chosen 24/11/2026, and the second half of it: stacked, the
   drawing comes down to 150px on a phone so the WHOLE block -- drawing,
   beat and Next -- is 543px, inside the 551 a 640px phone shows under its
   address bar. At 209px it was 608 and Next sat below the fold, so every
   one of the five beats cost a scroll. Compared in
   Mockups/1_4-mobile-treatments.html against three alternatives; the
   measurements in it are taken live, not written down.

   Held to 560px, which is where this sheet already divides phones from
   everything wider (the invitation row's top-right grid), rather than a
   number invented for this block. Above it the stacked layout keeps the
   height rule above: a 200px drawing is right on a phone and lost in a
   tablet's 680px column.                                             */
@media (max-width: 559px) {
  .seq-art { height: min(150px, 40vw); }
}

.seq-rail { display: flex; gap: 6px; }
.seq-step {
  flex: 1; display: block; min-height: 24px;
  padding: 11px 0; background: none; border: 0; cursor: pointer;
}
.seq-step .bar {
  display: block; height: 2px; background: var(--rule); border-radius: 2px;
  position: relative; overflow: hidden;
}
.seq-step .bar i {
  position: absolute; inset: 0; transform-origin: left center;
  background: var(--text); transform: scaleX(0);
}
.seq-step[aria-current="step"] .bar i { background: var(--accent); }
.seq-step:hover .bar { background: var(--text-3); }

.seq-moves { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.seq-back {
  font-family: inherit; font-size: 15px; font-weight: 700;
  color: var(--text-2); background: none; border: 0;
  padding: 12px 2px; min-height: 44px; cursor: pointer;
}
.seq-back:hover:not([disabled]) { color: var(--text); }
.seq-next {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); border-color: var(--accent);
}
.seq-next:hover:not([disabled]) { color: var(--bg); background: var(--accent); }
.seq-back[disabled], .seq-next[disabled] { opacity: 0.32; cursor: default; }

@media (min-width: 900px) {
  .js .seq {
    grid-template-areas: "caps fig" "ctrl ctrl";
    grid-template-columns: 1fr auto;
    gap: 20px 28px;
  }
  .seq-quote p { font-size: 19px; }
  .seq-art { height: min(250px, 32vh); }
}

/* Reduced motion keeps the sequence and drops the tweening: path position
   snaps, so exactly one caption is ever at full opacity and the
   illustration holds five still states.                              */

/* Without JavaScript the sequence is never built, so the full list below
   it stands open and the block reads as an ordinary numbered argument. */
html:not(.js) .beats-full > summary { display: none; }
html:not(.js) .beats-full { border-top: 0; }

/* Section footer nav --------------------------------------------------- */

.section-nav {
  border-top: 1px solid var(--rule); padding-top: 32px;
  display: flex; flex-direction: column; gap: 20px;
}

.section-nav .next-label {
  margin: 0; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}

.section-nav .next-link {
  font-size: 25px; font-weight: 700; line-height: 1.2;
  color: var(--text); text-decoration: none;
}
.section-nav .next-link:hover { color: var(--accent); }

/* Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule); padding: 24px var(--gutter);
}
.site-footer p {
  margin: 0 auto; width: 100%; max-width: 880px;
  font-size: 13px; line-height: 1.45; color: var(--text-2);
}

/* The episode title is the only link in the footer, and the only link on
   the landing page that leaves the guide. Marked as a link but not
   coloured as one: a step darker than the sentence it sits in, underlined
   at a distance, so it reads as a citation and not as a call to action.
   Carried over from index.html's .episode-credit a when the credit moved
   into the footer, 20/11/2026. */
.site-footer a {
  color: var(--text); text-decoration: underline;
  text-decoration-color: var(--rule); text-underline-offset: 3px;
}
.site-footer a:hover { text-decoration-color: var(--text-3); }

/* Desktop -------------------------------------------------------------- */

@media (min-width: 1000px) {
  :root { --gutter: 64px; }

  .site-header .brand { max-width: none; font-size: 13px; }

  main { padding: 80px var(--gutter) 96px; }

  .reading { gap: 80px; }

  h1 { font-size: 72px; }

  .section-head { min-height: calc(100svh - 280px); }
  .opener-num { margin-bottom: 24px; }
  .section-parts { margin-top: 28px; font-size: 19px; }
  .opener-actions { margin-top: 56px; }
  .opener-cue { font-size: 14px; }

  .block { gap: 24px; }
  .block > h2, .block-head h2 { font-size: 25px; }
  .block-strap { font-size: 17px; }
  .block-head { padding-bottom: 16px; }

  .body-text, .quoted p { font-size: 20px; }

  .quoted .q-figure { width: 44%; max-width: 300px; margin: 4px 0 18px 28px; }
  .quoted .mark { font-size: 46px; }

  .clip-meta { padding: 18px 24px; font-size: 14px; }

  .poster-text { padding: 32px; gap: 20px; }
  .btn-accent { font-size: 16px; padding: 13px 26px; }

  details.disclosure > summary { padding: 18px 0; }
  details.disclosure .disclosure-body { font-size: 16px; padding-bottom: 18px; }
  details.disclosure.passage { padding: 0 28px; }
  .clip > details.disclosure.passage { padding: 0; }
  .clip > details.disclosure.passage > summary.clip-meta { padding: 18px 28px; }
  summary.clip-meta .cm-toggle { font-size: 16px; }
  .clip > details.disclosure.passage > .disclosure-body {
    padding: 20px 28px 26px; font-size: 18px;
  }
  details.disclosure.records > summary { padding: 18px 28px; }
  .fc-pointer { padding: 18px 28px; }
  .fc-pointer .fc-find { font-size: 17px; }
  details.disclosure.passage .disclosure-body { font-size: 18px; padding-bottom: 26px; }
  details.disclosure .disclosure-body p { max-width: 31em; }

  /* Quoted passages run the full reading column rather than the 68-character
     measure. Scoped deliberately: the episode's words fill the column, our
     own voice (evidence notes, card text) stays capped. */
  details.disclosure.passage .disclosure-body p { max-width: none; }

  .figure-callout { margin-top: 32px; }
  .figure-callout .figure { font-size: 49px; }
  .figure-callout .gloss { margin-top: 20px; font-size: 20px; max-width: 560px; }
  .source { margin-top: 20px; }

  .pull-quote p { font-size: 29px; }

  .activity { border-width: 26px; padding: 32px 34px 30px; gap: 32px; }

  /* Five rows instead of ten, so Part 2 arrives before the fold. The grid
     stays flush only while every tick fits on one line: keep new items
     under about 28 characters or a row will wrap and break the rhythm. */
  .activity .tick-list {
    display: grid; grid-template-columns: 1fr 1fr;
    column-gap: 32px; row-gap: 2px;
  }
  .activity h2 { }
  .act-head { margin-bottom: 0; }
  .activity .act-intro { margin: 20px 0 0; }
  .activity .prompt { margin-bottom: 24px; }
  .activity .question { margin-bottom: 20px; }
  .activity .act-optional { margin-top: -10px; padding-top: 18px; }
  /* Part 1 goes to two columns at this width; Part 2 does not — a typed
     line needs the full measure, and two half-width rules read as a form. */
  .activity .own-list { display: flex; }
  .activity .own-input { padding: 11px 2px; }
  .activity .controls { margin-top: 20px; gap: 24px; }

  .card { padding: 32px; }
  .card h3 { font-size: 22px; }
  .card p { max-width: 31em; }

  .beats p { font-size: 20px; }

  .site-footer { padding: 32px var(--gutter); display: flex; justify-content: center; }
  .site-footer p { font-size: 14px; line-height: 1.5; }
}

/* Two-column desktop ---------------------------------------------------- */

/* The reading column is centred on the page at every width. Above 1200px
   the nav is lifted out of flow and hung in the left margin beside it,
   32px clear of the column edge; 1200px is the first width where a 212px
   nav fits there without crowding the window edge. Below that it stays in
   flow above the column, capped to the same measure. */
@media (min-width: 1200px) {
  main { position: relative; }

  .contents-nav {
    position: fixed; top: 80px; z-index: 5;
    right: calc(50% + (var(--measure) / 2) + 32px);
    width: 212px; max-width: none; margin: 0;
  }

  /* The burger is a stand-in for the rail at widths that cannot hold one,
     and the header goes back to being the static centred bar it was: the
     contents are permanently on screen here, so nothing has to follow the
     reader down. */
  .site-header {
    position: static; z-index: auto;
    padding: 16px var(--gutter);
    display: flex; align-items: center; justify-content: center;
  }

  .nav-toggle { display: none; }

  .nav-panel {
    position: static; width: auto; z-index: auto;
    margin: 0; padding: 0;
    background: none; border-right: 0;
    overflow: visible;
    visibility: visible; transform: none; transition: none;
  }

  /* Lifting the nav out of flow gives the reading column back the 84px
     it occupied, so the opener has to grow by the same amount or the
     next block rides up above the fold. The subtrahend is what sits
     above and below the opener at this width: header 51, main padding
     80, column gap 80 — less a few px so nothing peeks on a rounding
     error. The opener is the whole first screen; the first thing below
     it should arrive only when the reader asks for it. */
  .section-head { min-height: calc(100svh - 200px); }
}

/* Motion ---------------------------------------------------------------- *
 * Two moves, reused everywhere, so the page reads as one system rather
 * than a tour of effects.
 *
 *   up    a short fade and rise as a unit of content arrives
 *   stat  the paired move kept for the figure callout, where the dial
 *         arriving on the right carries meaning rather than decorating
 *
 * The rules the motion keeps to: each reveal fires once on entry and
 * never again on the way back up; nothing moves while it is being read;
 * only opacity and transform are animated. Without JavaScript, or where
 * reduced motion is asked for, every element is simply present.
 * ----------------------------------------------------------------------- */

:root {
  /* Every number the motion uses lives here. Slower and gentler than a
     typical web entrance on purpose: this is a page about attention, so
     nothing should feel like it is grabbing for it.

     The curve matters more than the duration. The old one started at
     speed and braked hard, which reads as snappy however long it runs.
     This one eases in as well as out, so a reveal has no sharp edge at
     either end. Travel is longer to match: at these durations a short
     distance reads as a crawl rather than a glide.                     */

  --m-dur:        900ms;   /* scroll reveals                            */
  --m-dur-open:   900ms;   /* the opener's three fades                  */
  --m-draw:      1500ms;   /* the dial counting out its 47 seconds      */
  --m-ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --m-rise:       24px;    /* vertical travel on a reveal               */
  --m-shift:      36px;    /* the callout text settling leftward        */
  --m-shift-dial: 28px;    /* the dial arriving from the right          */
}

/* Opener. A load sequence, not a scroll one: the first screen must never
   wait on a scroll that may never come. Begin is clickable from the first
   frame; only its paint is delayed. */

.js .section-head > * { opacity: 0; transform: translateY(var(--m-rise)); }

.js.is-ready .section-head > * {
  opacity: 1; transform: none;
  transition: opacity var(--m-dur-open) var(--m-ease),
              transform var(--m-dur-open) var(--m-ease);
}
.js.is-ready .section-head > *:nth-child(1) { transition-delay: 100ms; }
.js.is-ready .section-head > *:nth-child(2) { transition-delay: 320ms; }
.js.is-ready .section-head > *:nth-child(3) { transition-delay: 560ms; }
.js.is-ready .section-head > *:nth-child(4) { transition-delay: 720ms; }

/* up -------------------------------------------------------------------- */

.js [data-anim="up"] { opacity: 0; transform: translateY(var(--m-rise)); }
.js [data-anim="up"].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--m-dur) var(--m-ease),
              transform var(--m-dur) var(--m-ease);
}

/* stat ------------------------------------------------------------------ *
 * The dial is hidden from screen readers and absent below the desktop
 * breakpoint, where the columns stack and a sideways move would stop
 * meaning anything. Its space is reserved in the grid, so nothing
 * reflows when it arrives. Scoped to .has-dial so the 52% callout in
 * 1.4 keeps the full measure.                                           */

.figure-dial { display: none; }

@media (min-width: 1000px) {
  .figure-callout.has-dial {
    display: grid;
    grid-template-columns: 1fr 132px;
    column-gap: 36px;
    align-items: start;
  }
  /* Placed explicitly: the citation sits in a row of its own below both
     columns, so it is set to the full measure rather than the body's
     512px, and a shorter gloss moves it down instead of under the dial. */
  .figure-callout.has-dial .figure-callout-body { grid-column: 1; grid-row: 1; }
  .figure-callout.has-dial .figure-dial {
    display: block; width: 132px; grid-column: 2; grid-row: 1;
  }
  .figure-callout.has-dial > .source { grid-column: 1 / -1; grid-row: 2; }
  .figure-dial svg { display: block; width: 100%; height: auto; }
}

.js [data-anim="stat"] .figure-callout-body,
.js [data-anim="stat"] .figure-callout.has-dial > .source { opacity: 0; }
.js [data-anim="stat"].is-in .figure-callout-body,
.js [data-anim="stat"].is-in .figure-callout.has-dial > .source {
  opacity: 1;
  transition: opacity var(--m-dur) var(--m-ease),
              transform var(--m-dur) var(--m-ease);
}

@media (min-width: 1000px) {
  .js [data-anim="stat"] .figure-callout-body,
  .js [data-anim="stat"] .figure-callout.has-dial > .source {
    transform: translateX(var(--m-shift));
  }
  .js [data-anim="stat"].is-in .figure-callout-body,
  .js [data-anim="stat"].is-in .figure-callout.has-dial > .source { transform: none; }

  .js [data-anim="stat"] .figure-dial {
    opacity: 0; transform: translateX(var(--m-shift-dial));
  }
  .js [data-anim="stat"].is-in .figure-dial {
    opacity: 1; transform: none;
    transition: opacity var(--m-dur) var(--m-ease) 220ms,
                transform var(--m-dur) var(--m-ease) 220ms;
  }
}

/* The dial counts its own 47 seconds, once, finishing before the gloss
   beneath it has been read. Delete the four rules below and the dial
   simply arrives whole, already marked. */

.js [data-anim="stat"] .dial-arc { stroke-dashoffset: 230; }
.js [data-anim="stat"] .dial-hand {
  transform: rotate(0deg);
  transform-origin: 60px 60px;
  transform-box: view-box;
}
.js [data-anim="stat"].is-in .dial-arc {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--m-draw) var(--m-ease) 460ms;
}
.js [data-anim="stat"].is-in .dial-hand {
  transform: rotate(282deg);
  transition: transform var(--m-draw) var(--m-ease) 460ms;
}

/* Pull quote with an eye ------------------------------------------------ *
 * The 1.3 quote borrows the figure callout's grid and its arrival: same
 * columns, same gap, same breakpoint, so its text column lands on exactly
 * the measure the 47-second gloss uses.
 *
 * The eye is drawn on the dial's own weights, mark for mark — aperture 3
 * for its arc, lashes 1.5 for its ticks, iris 2.5 for its hand, pupil
 * solid for its centre dot. Nothing is filled but the pupil. Earlier
 * drafts used tapered, filled lashes, which were better drawings and
 * wholly wrong here: a filled shape beside a hairline clock reads as two
 * unrelated pictures however well it is made.                           */

.pull-quote.is-marked p { color: var(--text); }
.pull-quote.is-marked .key-word { color: var(--highlight); }

/* The attribution sits on a row of its own spanning both columns, so it
   aligns to the right edge of the whole callout rather than to the end
   of the text column -- and clears the eye rather than running under
   it, which a negative margin on the text column would not.         */
.quote-callout .attribution {
  margin: 16px 0 0; font-size: 14px; font-weight: 400; color: var(--text-2);
  text-align: right;
}
.quote-callout .attribution::before { content: "\2014\00a0"; }

.quote-eye { display: none; }
.quote-eye svg { color: var(--highlight); }

@media (min-width: 1000px) {
  .quote-callout.has-eye {
    display: grid;
    grid-template-columns: 1fr 132px;
    column-gap: 36px;
    align-items: start;
  }
  .quote-callout.has-eye .quote-callout-body { grid-row: 1; }
  .quote-callout.has-eye .attribution { grid-column: 1 / -1; }
  /* The column stays 132px to match the dial's, but the drawing renders
     18px wider and is pulled back into the gutter either side. The eye
     needs that size to be read as an eye; the quote cannot spare another
     18px of measure at 29px, and this way it gives up none.            */
  .quote-callout.has-eye .quote-eye { display: block; width: 132px; grid-row: 1; }
  .quote-eye svg { display: block; width: 150px; max-width: none; height: auto; margin: 0 -9px; }
}

/* eye ------------------------------------------------------------------- *
 * Same pairing as stat: the body settles leftward while the drawing
 * arrives from the right 220ms later. Nothing draws itself — the eye is
 * whole from the first frame and only the iris moves afterwards.        */

.js [data-anim="eye"] .quote-callout-body { opacity: 0; }
.js [data-anim="eye"].is-in .quote-callout-body {
  opacity: 1;
  transition: opacity var(--m-dur) var(--m-ease),
              transform var(--m-dur) var(--m-ease);
}

@media (min-width: 1000px) {
  .js [data-anim="eye"] .quote-callout-body { transform: translateX(var(--m-shift)); }
  .js [data-anim="eye"].is-in .quote-callout-body { transform: none; }

  .js [data-anim="eye"] .quote-eye {
    opacity: 0; transform: translateX(var(--m-shift-dial));
  }
  .js [data-anim="eye"].is-in .quote-eye {
    opacity: 1; transform: none;
    transition: opacity var(--m-dur) var(--m-ease) 220ms,
                transform var(--m-dur) var(--m-ease) 220ms;
  }
}

/* The eye looks once, left and right, then back to the front. Every leg
   is eased in as well as out. A first version was modelled on real
   saccades — snap across, hold, snap back — which is accurate and read
   as a twitch at this size. The iris is clipped to the aperture, so at
   the extremes it runs behind the lids rather than over them. Delete the
   two rules below and the eye simply arrives looking ahead. */

@keyframes eye-scan {
  0%,  12%  { transform: translateX(0);     animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); }
  34%, 44%  { transform: translateX(-14px); animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); }
  70%, 80%  { transform: translateX(14px);  animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); }
  100%      { transform: translateX(0); }
}
.js [data-anim="eye"].is-in .eye-iris {
  animation: eye-scan 4200ms linear 900ms 1 both;
}

@media (prefers-reduced-motion: reduce) {
  .js .section-head > *,
  .js.is-ready .section-head > *,
  .js [data-anim="up"],
  .js [data-anim="up"].is-in,
  .js [data-anim="stat"] .figure-callout-body,
  .js [data-anim="stat"] .figure-callout.has-dial > .source,
  .js [data-anim="stat"] .figure-dial,
  .js [data-anim="eye"] .quote-callout-body,
  .js [data-anim="eye"] .quote-eye {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js [data-anim="stat"] .dial-arc,
  .js [data-anim="stat"].is-in .dial-arc {
    stroke-dashoffset: 0; transition: none;
  }
  .js [data-anim="stat"] .dial-hand,
  .js [data-anim="stat"].is-in .dial-hand {
    transform: rotate(282deg); transition: none;
  }
  .js [data-anim="eye"].is-in .eye-iris { animation: none; transform: none; }
}


/* ====================================================================== *
 * Section 02 additions
 * ====================================================================== */

/* Course voice ---------------------------------------------------------
 * Carries a pull quote's weight, because it is making the same size of
 * point, but it is not a quote: no marks, no attribution. Section 1 has
 * taught the reader that highlight-coloured display type is Yousef
 * speaking, so the short rule above is the tell that this one is not.  */

.statement { margin: 0; }

.statement .statement-mark {
  display: block; width: 40px; height: 3px; margin: 0 0 20px;
  background: var(--highlight);
}

/* One run of text, one size. It was two, and the step down mid-sentence
   made the second half read as a caption on the first. Weight and
   colour carry the emphasis instead, so the hook still lands and the
   leading is even all the way through. The measure comes down with the
   size change -- 22em at 24px was 528px, which is 15.5em at 34px.    */
.statement p {
  margin: 0; max-width: none;
  font-size: 34px; font-weight: 700;
  line-height: 1.3; letter-spacing: -0.02em; color: var(--text);
}

.statement .lede {
  font-weight: 900; color: var(--highlight);
}

/* Two-column sort ------------------------------------------------------
 * One column by default. The reading measure is 680px and the card
 * reaches it well before the page's 1000px breakpoint, so the columns
 * are allowed to split earlier than the rest of the layout does — at
 * 327px two 44px tick rows side by side leave nothing for the label.  */

.col-pair { display: grid; grid-template-columns: 1fr; gap: 28px; }
.col { min-width: 0; }

.col-head {
  margin: 0 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--paper-edge);
}
.col-head .col-label {
  margin: 0; font-size: var(--act-mark); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.col-head .col-gloss {
  margin: 4px 0 0; font-size: var(--act-gloss); line-height: 1.5; color: var(--ink-3);
}

@media (min-width: 760px) {
  .col-pair { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Recall panel ---------------------------------------------------------
 * Reads back what the learner ticked in 1.1. Set on page paper, a shade
 * under the sheet it sits on, so it is visibly a quotation of their
 * earlier self and not another question. It was the lighter of the two
 * until the card itself became the sheet; the relationship is the same,
 * inverted.                                                           */

.recall {
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 16px;
}

.recall .question { margin: 0; }

.recall .recall-label {
  margin: 0; font-size: var(--act-mark); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}

.recall .recall-empty {
  margin: 0; font-size: var(--act-gloss); line-height: 1.6; color: var(--ink-3);
}
.recall .recall-empty a { color: var(--ink); }

.recall .tick-list label { min-height: 40px; }



/* The resources entry sits below the four sections and is ruled off from
   them, because it is not part of the sequence: it is the evidence the
   sequence rests on, reachable from any point and never gated. */
.rail-resources { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); }
.rail-resources > a { color: var(--text-2); }
.rail-resources > a:hover { color: var(--text); }
.rail-resources .rail-num { width: 2ch; color: var(--accent); }

/* The two resource marks are line drawings of the shelf's pair in
   index.html, inlined per entry the way .rec-glyph already is. Two
   things let one drawing serve both surfaces:

     stroke="currentColor"  the dark rail paints them in --accent, from
                            the rule above; workbook.html's paper re-ink
                            paints them in --ink-2. No second file, no
                            override, nothing to keep in step.

     sized off the column   width comes from .rail-num's 2ch above, so
                            the drawing tracks the rail's 13px type at
                            every width instead of being pinned to one
                            screen. The column is deliberately NOT
                            widened for them: at 2ch it already measures
                            what they were drawn for, and widening it
                            would have to apply to .rail-num generally
                            or the first column stops being one column,
                            moving every title in the rail -- numbered
                            sections included -- for no gain.

   flex: none because a sized flex item holding no text can otherwise be
   shrunk under its width on a tight row; the type glyphs these replaced
   were held up by their own content. */
.rail-resources .ricon { flex: none; }
.rail-resources .ricon svg {
  display: block; width: 100%; height: auto;
  /* Drops the drawing's foot below the baseline by about what a digit's
     curve overshoots it, so it sits on the line the numbers sit on
     rather than floating above it. */
  margin-bottom: -0.14em;
}
/* Two resource entries read as one group: only the first carries the rule. */
.rail-resources + .rail-resources { margin-top: 0; padding-top: 0; border-top: 0; }

/* UNUSED as of 20/11/2026 -- no .fc-pointer survives in the live build.
   The pointer row was a separate object sitting under a panel (or inside
   one), which left the course with two ways of presenting the same
   evidence. Every claim now goes through the panel: small line in the
   summary, account on a card inside, link on the card. Kept rather than
   deleted because the row is still the right shape for a claim that
   never earns a panel of its own; delete this block and the four rules
   under it if that never happens.

   A pointer from a claim in the course to its entry in the independent
   fact check. Deliberately quiet: it is an offer to check the work, not
   a call to leave the page. */
/* The claim pointer ---------------------------------------------------
 *
 * It carries the FINDING, not the entry's title. A pitch reader who
 * never presses a "+" should still pick up the evidence posture of a
 * section, and "Independent fact check: Grayscale mode and reduced
 * screen time" told them only that a document exists. The card inside
 * the records panel still carries the full account: summary outside,
 * account inside, so the two are not duplicates of each other even
 * when they point at the same entry.
 *
 * The row mirrors "details.disclosure.records > summary" exactly --
 * same horizontal inset, same 36x32 mark column, same 14px gap, same
 * centring -- so the pointer and the panel above it line up as one
 * apparatus stack rather than two objects that happen to be adjacent.
 * If the summary's padding changes, this has to change with it.
 *
 * The mark is the landing page's own fact-check icon, so the shelf
 * entry, the rail entry and the in-course pointer are one object. It
 * is drawn for dark surfaces and needs no recolour; it sits in a 36px
 * box to keep the text column on the panel's own left edge.         */
.fc-pointer {
  margin: 20px 0 0; padding: 18px 20px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 14px;
}

/* Directly under a records panel the two hairlines would double, and
   the pointer reads as that panel's foot rather than a separate thing.
   The panel's own border-bottom draws the line they share.          */
details.disclosure.records + .fc-pointer { margin-top: 0; border-top: 0; }

/* Inside a panel the pointer is the closing row of the evidence, not a
   thing of its own: it keeps the body's own left edge, takes a rule
   above to separate it from the last card, and drops the box below.
   Used where the panel has no independent-fact-check CARD yet (1.3 and
   2.1) and so has nowhere else to put the link to the entry. When
   those get cards, these rows come out. */
.rec-body .fc-pointer {
  margin: 0; padding: 16px 0 0;
  border-top: 1px solid var(--rule); border-bottom: 0;
}

/* 36px, not the icon's native 32: the records glyph's page fills 94% of
   its 36x32 box and this icon's fills 81% of its own, so at equal box
   sizes this one reads a size smaller than the mark it sits under. The
   BOX stays 36px wide either way, which is what holds the text column
   on the panel's left edge.                                          */
.fc-pointer .fc-mark {
  flex: none; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.fc-pointer .fc-mark img { display: block; width: 36px; height: 36px; }

/* Mirrors .rec-text, which is the column this one has to align with. */
.fc-pointer .fc-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.fc-pointer .fc-label {
  font-size: 11.5px; font-weight: 800; line-height: 1.4;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}
.fc-pointer .fc-find { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.fc-pointer .fc-find + .fc-find { margin-top: 8px; }

/* Where a block points at two entries (1.3 does), centring leaves the
   mark adrift between the two findings. Top-aligned it sits beside the
   label, where it belongs. Set in the markup rather than with :has() so
   the rule does not depend on selector support.                      */
.fc-pointer.is-multi { align-items: flex-start; }
.fc-pointer.is-multi .fc-mark { margin-top: -2px; }
.fc-pointer a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.fc-pointer a:hover { color: var(--text); }

/* An entry. Scroll-margin matches the course's --land so a jumped-to
   entry comes to rest at the same height as a jumped-to block. */
.fc-entry {
  padding: 0 var(--gutter); margin: 0 auto 64px; max-width: var(--measure);
  scroll-margin-top: var(--land);
}
.fc-entry:focus { outline: none; }   /* focused only by script, never tabbed to */
.fc-entry > h2 {
  font-family: Newsreader, Georgia, serif; font-weight: 600;
  font-size: clamp(24px, 4vw, 30px); line-height: 1.2; letter-spacing: -0.01em;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}
.fc-claim { margin: 22px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--highlight-rule); }
.fc-claim p {
  margin: 0 0 10px; font-family: Newsreader, Georgia, serif;
  font-style: italic; font-size: 17px; line-height: 1.6; color: var(--text);
}
.fc-claim p:last-child { margin-bottom: 0; }
.fc-claim-label {
  display: block; margin-bottom: 8px; font-family: Inter, sans-serif;
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}
.fc-verdict p { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: var(--text); }

/* The report's own structure, restored 20/11/2026 -------------------- *
 * The page was built from a text extraction of the PhiloScript PDF that
 * had lost the speakers, the bullet lists, the sub-headings and the
 * figure captions, and had spliced quote lines into the verdicts. These
 * four rules carry what the rebuilt markup now needs; nothing else on
 * the page changed.                                                    */

/* Who said it. Upright and sans inside the italic serif claim, so the
   attribution reads as apparatus rather than as part of the quote --
   the same break .fc-claim-label makes above it, one step quieter. */
.fc-who {
  font-family: Inter, sans-serif; font-style: normal;
  font-weight: 700; font-size: 13px; letter-spacing: 0.01em; color: var(--text-2);
}

/* A heading inside a verdict. Takes the structural-label type the build
   already uses for .rec-ask and the block kickers, so a reader meets one
   vocabulary of small labels across the course and the report. */
.fc-verdict h3 {
  margin: 28px 0 0; font-family: Inter, sans-serif;
  font-size: 13px; font-weight: 700; line-height: 1.35;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
}
.fc-verdict h3 + p { margin-top: 10px; }

/* The report's bullet lists. Markers sit in the gutter rather than the
   measure, so the text edge stays flush with the paragraphs above. */
.fc-list { margin: 14px 0 0; padding-left: 22px; }
.fc-list li {
  margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--text);
}
.fc-list li::marker { color: var(--text-3); }

/* A caption for a chart that is in the PDF and not on this page. Quiet,
   ruled off, and deliberately not dressed as a figure it cannot show. */
.fc-figure {
  margin: 18px 0 0; padding-left: 14px;
  border-left: 1px solid var(--rule);
  font-size: 14px; line-height: 1.55; color: var(--text-3);
}

/* Where the claim is used in the course. A reciprocal link: the course
   points in, this points back out, so neither side is a dead end. */
.fc-back {
  margin: 20px 0 0; padding: 10px 14px;
  background: var(--highlight-tint); border: 1px solid var(--highlight-hair);
  border-radius: 3px; font-size: 13px; color: var(--text-2);
}
.fc-back a { color: var(--text); }

.fc-entry details.disclosure { margin-top: 22px; }
.fc-refs { margin: 0; padding: 0 0 0 22px; }
.fc-refs li { margin-bottom: 12px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.fc-refs li:last-child { margin-bottom: 0; }
.fc-refs a { word-break: break-word; }

/* ---------------------------------------------------------------------
 * The fact-check panel.
 *
 * A claim pointer opens its entry over the page instead of navigating to
 * it. The reason is the gating: the revealed stage is not persisted, so
 * leaving a section and coming back collapses the learner to stage 1 and
 * undoes their progress through it. The full resource page is unchanged
 * and still linked, from the contents rail and from the foot of the
 * panel; this is only the read in passing.
 *
 * Phone: a sheet off the bottom. Above 760px: a drawer off the right.
 * ------------------------------------------------------------------- */
.fcp-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, 0.66);
  opacity: 0; transition: opacity 220ms ease;
}
.fcp-scrim.is-open { opacity: 1; }

.fcp {
  position: fixed; z-index: 91;
  left: 0; right: 0; bottom: 0; max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  transform: translateY(100%);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fcp.is-open { transform: none; }

@media (min-width: 760px) {
  .fcp {
    left: auto; top: 0; bottom: 0; width: min(560px, 92vw); max-height: none;
    border-top: 0; border-left: 1px solid var(--rule);
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fcp, .fcp-scrim { transition: none; }
}

.fcp-head {
  flex: none; display: flex; align-items: flex-start; gap: 16px;
  padding: 18px var(--gutter) 14px; border-bottom: 1px solid var(--rule);
}
.fcp-head > div { flex: 1 1 auto; min-width: 0; }
.fcp-eyebrow {
  margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}
.fcp-title {
  margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 600;
  font-size: clamp(20px, 3.4vw, 25px); line-height: 1.22; letter-spacing: -0.01em;
  color: var(--text);
}

/* 44px of hit area around a 20px glyph, so the target is thumb-sized on a
   phone without the button looking it. */
.fcp-close {
  flex: none; width: 44px; height: 44px; margin: -8px -8px 0 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 3px; cursor: pointer;
  color: var(--text-2); font-size: 22px; line-height: 1;
}
.fcp-close:hover { color: var(--text); background: var(--highlight-tint); }

.fcp-body {
  flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 2px var(--gutter) 28px;
  overscroll-behavior: contain;
}

/* Inside the panel the entry is the whole column, so it drops the page's
   centring and its own heading, which the panel header now carries. */
.fcp-body .fc-entry { max-width: none; margin: 0; padding: 0; }
.fcp-body .fc-claim { margin-top: 20px; }

.fcp-note { margin: 24px 0 0; font-size: 14px; color: var(--text-3); }

/* Unused since 20/11/2026 and kept deliberately. The panel's foot held
   one link, "Open the full fact check", and the panel became the
   terminus instead: landing on the full page left the reader with no way
   back to the block they were reading, and the contents rail carries
   that route from every page. Restoring it is putting the <p> back in
   course.js's panel template. Left in place, as with .appendix-note and
   .stem-note — an empty foot would paint a bare 29px strip with a rule
   across it, which is why the element is removed and not just blanked. */
.fcp-foot {
  flex: none; padding: 14px var(--gutter);
  border-top: 1px solid var(--rule); font-size: 13px;
}
.fcp-foot a { color: var(--text-2); }
.fcp-foot a:hover { color: var(--text); }

/* Held still behind the panel, at the offset it was scrolled to, so
   closing puts the learner back on the claim they left. */
body.fcp-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }



/* Workbook answer language ============================================== *
 *
 * These rules were workbook.html's own until 20/11/2026. They moved here
 * when the activity cards started showing the entry they had just
 * written, so the card and the workbook render a saved answer with one
 * set of rules rather than two that have to be kept in step. Only the
 * answer language moved: the sheet furniture around it (.sheet-e,
 * .sh-head, .sh-foot, .wb-tool, .wb-rule, the .wb-edit field re-inking)
 * is workbook-page chrome and stays in workbook.html.
 *
 * The card needs no .sheet-e of its own because the card already IS
 * sheet paper - that was the 14/11 decision, the card as the sheet it
 * becomes. So the answer drops straight onto it.
 * ===================================================================== */

.wb-ask { margin: 16px 0 0; font-size: var(--act-gloss); line-height: 1.5; color: var(--ink-2); }

.wb-ans {
  margin: 12px 0 0; font-family: Newsreader, Georgia, serif;
  font-size: 21px; line-height: 1.5; color: var(--ink);
}
.wb-ans p { margin: 0 0 4px; }

.wb-list { margin: 12px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 30px; }
.wb-list li {
  break-inside: avoid; padding: 5px 0 5px 20px; position: relative;
  font-family: Newsreader, Georgia, serif; font-size: 19px; line-height: 1.45;
}
.wb-list li::before {
  content: ""; position: absolute; left: 2px; top: .6em;
  width: 8px; height: 8px; background: var(--coral);
}
.wb-sub {
  margin: 22px 0 0; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}

.wb-stat { margin: 16px 0 0; font-family: Newsreader, Georgia, serif; font-size: 21px; line-height: 1.45; }
.wb-big { display: block; font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; margin-bottom: 6px; }
.wb-stat .unit { font-size: 24px; }
.wb-aside { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
.wb-note { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 60ch; }

@media (max-width: 620px) { .wb-list { columns: 1; } }

/* One column whatever the width, for a list of sentences rather than of
   names: 3.3's rules are the only one so far. Passed as listOf's third
   argument in course.js. Added 23/11/2026.                           */
.wb-list.is-single { columns: 1; }

/* A .wb-list inside a half-width .col must not split again: 2.2's saved
   and edit faces put the two lists side by side from 21/11/2026, and
   columns:2 inside each half turns four short items into four columns of
   one. Scoped to .col so the full-width lists keep their two columns. */
.col .wb-list { columns: 1; }

/* The gap under the line that introduces the columns. Stacked, 2.2's two
   lists were .wb-sub headings and that heading's own 22px top margin set
   this space; .col-head carries none, so the columns sat straight under
   the intro line. 28px rather than 22 because the heads are two lines
   deep now the glosses are there. Only on an entry's columns - the
   card's own fields take their rhythm from .act-head above them.     */
.col-pair.wb-cols { margin-top: 28px; }


/* The saved view of an activity card =================================== *
 *
 * On save the card's fields collapse and the card shows the workbook
 * entry it has just become: the workbook's question, the workbook's
 * rendering of the stored answer, and a way back in. It is the 12/11
 * decision - a preview of the workbook growing, not a plain
 * confirmation - built in place rather than as a modal, because the
 * card is already made of the workbook's paper and a dialog would put a
 * second surface over the one the learner is reading.
 *
 * Rendered from storage, never from the fields, so what the learner sees
 * is the record itself. That is the whole point: 3.3 can write eight
 * rule sentences out of a set of slots, and reading them back off the
 * card would prove nothing about what was written.
 * ===================================================================== */

/* Pulled up out of the card's 28px flex gap, which left the entry's
   question 38px off the header rule while the rule itself carries only
   14px above it. -14 makes those two match.                          */
.act-done { margin: -14px 0 0; }
.act-done[hidden] { display: none; }

/* The flag is the only new voice on the card. It stays small, and as of
   21/11/2026 it sits in the tools row beside Edit this - the place the
   workbook link held - rather than above the entry, so the entry is
   still what the eye lands on first. margin:0 matters now because it is
   a flex child of .done-tools, not a block above the question. */
.act-done .done-flag {
  display: flex; align-items: center; gap: 8px;
  margin: 0; font-size: var(--act-mark); font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--coral-ink);
}
.act-done .done-flag .done-mark {
  flex: none; width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
  color: var(--coral-ink);
}
.act-done .done-flag .done-mark svg { display: block; width: 100%; height: auto; }

/* The question the entry answers. On the card it replaces the card's own
   instruction, which reads wrong over a finished answer: "take a couple
   of minutes to think about your workspace" above the answer you already
   gave. The workbook's own wording is used, so the two surfaces ask the
   same thing. */
/* 0 since 21/11/2026: with the flag moved to the tools row the question
   is the panel's first child, and a top margin here would open a gap
   where the fields used to start. */
.act-done .wb-ask {
  margin: 0; padding-bottom: 28px;
  font-size: var(--act-intro); line-height: 1.55; color: var(--ink);
}
/* padding, not margin: .wb-ask and .done-body are adjacent blocks inside
   .act-done, so a bottom margin here collapses against the first thing
   the entry renders (12px on .wb-list, 16px on .wb-stat) instead of
   adding to it — the gap came out as the larger of the two, not the sum,
   and varied by which card you were on. Padding cannot collapse, and
   zeroing that first margin makes 28px mean 28px on all five. 28 is the
   card's own block rhythm, so the entry reads as the next block.     */
.act-done .done-body > :first-child { margin-top: 0; }
/* An entry with no question line of its own - 3.2 from 23/11/2026 - has
   .done-body as the panel's first child, and .act-done's -14px margin was
   cut against a .wb-ask that is no longer there. This puts the card's
   28px block rhythm back for that case and touches no other.         */
.act-done > .done-body:first-child { padding-top: 14px; }

.act-done .done-tools {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 18px; margin: 26px 0 0;
}

/* Edit this carries .btn-outline, the card's own control class, so it is
   the same button Save to workbook was. Nothing is restyled here. */

/* UNUSED since 21/11/2026: the "See it in your workbook" link came out
   of the tools row, the rail being the route to the workbook. Kept, as
   with .card-clear, because course.js carries the markup to restore. */
.act-done .done-link { font-size: var(--act-mark); color: var(--ink-3); text-decoration: none; }
.act-done .done-link:hover { color: var(--ink); text-decoration: underline; }
.act-done .done-link .ar { font-style: normal; }

/* The settle. The entry arrives as if it were set down on the paper
   rather than swapped in: a short rise and fade, no movement across the
   page, nothing that reads as a thing flying somewhere. Fields leaving
   are not animated at all - they are gone by the time this starts, and
   animating both ways would make a two-beat event out of one. */
@keyframes act-settle {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.act-done.is-fresh { animation: act-settle 280ms ease-out both; }

@media (prefers-reduced-motion: reduce) {
  .act-done.is-fresh { animation: none; }
}


/* The rail's workbook tally ============================================ *
 *
 * UNUSED since 20/11/2026: Amy had the counter pill removed from the
 * rail, and course.js no longer paints it. The rules are kept, as with
 * .appendix-note and .card-clear, because restoring the pill is one
 * deleted line in course.js's tally module and nothing here.
 *
 * What they style, if it comes back: the count of entries the workbook
 * holds, beside its rail entry, so a save has a visible destination
 * outside the card it happened in. Built by course.js rather than
 * written into the three section files, because it is the same markup in
 * all of them and nothing about it has to be hand-kept.
 * ===================================================================== */

.rail-tally {
  margin-left: auto; padding: 0 5px; min-width: 17px;
  font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums;
  line-height: 16px; text-align: center; border-radius: 2px;
  color: var(--bg); background: var(--accent);
}
.rail-tally[hidden] { display: none; }

/* A single pulse on the save that changed it. The rail is often off the
   edge of a phone, so this is a reward for the learner who can see it
   and nothing the save depends on. */
@keyframes rail-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.28); }
  100% { transform: scale(1); }
}
.rail-tally.is-bumped { animation: rail-bump 420ms ease-out; }

@media (prefers-reduced-motion: reduce) {
  .rail-tally.is-bumped { animation: none; }
}

/* The one line the entry cannot carry itself - see courseReveal's note. */
.act-done .done-note {
  margin: 14px 0 0; font-size: var(--act-gloss); line-height: 1.55;
  color: var(--ink-3); max-width: 60ch;
}
.act-done .done-note[hidden] { display: none; }

/* Term explainers ====================================================== *
 * A small "i" beside a term in the main copy, opening a short definition
 * in a popover. Chosen 23/11/2026, for PROSE only: inside a quote or a
 * precis an expanding body would push the sentence apart, which is why
 * 3.3's activity explainers stay disclosures (.info / .info-body) and
 * these do not. The two never share a surface either -- 3.3's sit on
 * paper inside a reflection card, these on the dark page -- so they are
 * deliberately two components and not one with a variant.
 *
 * The panel is position:absolute inside the trigger's own inline-block,
 * so it travels with the text on scroll by itself. course.js only clamps
 * it horizontally and flips it above the line when the room below runs
 * out, both on open and on resize. The course still carries no scroll
 * listener and this does not add one.
 *
 * Yellow, not cream, on the open state: this is a control, and the
 * palette keeps cream for the words we want read. See :root.
 * ===================================================================== */

.term-aside { position: relative; display: inline-block; }

.term-btn {
  width: 18px; height: 18px; flex: 0 0 auto; padding: 0;
  margin-left: 5px; vertical-align: 2px;
  border: 1px solid var(--rule-2); border-radius: 50%; background: none;
  color: var(--text-3); font: inherit; font-size: 11px; font-weight: 700;
  font-style: italic; line-height: 1; cursor: pointer;
}
.term-btn:hover { border-color: var(--text-2); color: var(--text); }
.term-btn[aria-expanded="true"] {
  background: var(--accent); border-color: var(--accent); color: var(--bg);
}

.term-pop {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 40;
  display: block; box-sizing: border-box;
  width: min(300px, calc(100vw - (2 * var(--gutter)) - var(--sbw)));
  padding: 13px 15px 14px;
  border: 1px solid var(--rule-2); border-radius: 5px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  font-size: 15px; font-style: normal; font-weight: 400; line-height: 1.6;
  color: var(--text-2); text-align: left; white-space: normal;
}
.term-pop[hidden] { display: none; }

/* The term again at the head of the panel, so the definition stands on
   its own for a screen reader arriving at it cold. */
.term-pop .tp-head {
  display: block; margin-bottom: 5px;
  font-size: 12px; font-weight: 700; font-style: normal;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--highlight);
}

.term-pop.is-above { top: auto; bottom: calc(100% + 10px); }

/* --caret-x is set by course.js, so the caret stays over the trigger
   however far the panel had to be pulled back off the gutter. */
.term-pop::before {
  content: ""; position: absolute; left: var(--caret-x, 11px); top: -5px;
  width: 9px; height: 9px; transform: rotate(45deg);
  border-left: 1px solid var(--rule-2); border-top: 1px solid var(--rule-2);
  background: var(--surface);
}
.term-pop.is-above::before {
  top: auto; bottom: -5px; transform: rotate(225deg);
}
