    :root {
      color-scheme: dark;
      --navy: #0f1b2d;
      --panel: #16253a;
      --panel-raised: #1b2d44;
      --line: #687d95;
      --paper: #f5f4ef;
      --muted: #c0cad6;
      --amber: #f2b134;
      --red: #ff786f;
      --green: #8fd6a4;
      --ink: #0f1b2d;
      --focus: #ffe09a;
      --radius: 14px;
    }

    * { box-sizing: border-box; }

    /* Projector scale: 1rem is the body size. 24px from 1024px up, 28px on large displays. */
    html { background: var(--navy); font-size: 18px; }
    @media (min-width: 600px) { html { font-size: 20px; } }
    @media (min-width: 1024px) { html { font-size: 24px; } }
    @media (min-width: 1800px) { html { font-size: 28px; } }

    body {
      margin: 0;
      background: var(--navy);
      color: var(--paper);
      font: 1rem/1.45 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    a { color: var(--amber); text-underline-offset: .18em; }

    :focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }

    h1, h2, h3, p, ol, ul { margin-top: 0; }
    h2:focus { outline: none; }

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

    .bar {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 22px;
      align-items: center;
      justify-content: space-between;
      width: min(100% - 32px, 1640px);
      margin: 0 auto;
      padding: 12px 0;
      border-bottom: 1px solid var(--line);
      font-size: .72rem;
    }
    .bar a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; text-decoration: none; }
    .bar a:hover { text-decoration: underline; }
    .bar-title { margin: 0; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .bar-title strong { color: var(--paper); }

    .steps { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
    .steps li { display: inline-flex; gap: 6px; align-items: center; }
    .steps li::before { content: ""; width: .55em; height: .55em; border: 2px solid var(--line); border-radius: 50%; }
    .steps li.done::before { border-color: var(--amber); background: var(--amber); }
    .steps li[aria-current="step"] { color: var(--paper); font-weight: 800; }
    .steps li[aria-current="step"]::before { border-color: var(--paper); background: var(--paper); }

    .stage { width: min(100% - 32px, 1640px); margin: 0 auto; padding: 28px 0 48px; }

    .kicker {
      margin: 0 0 10px;
      color: var(--amber);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .11em;
      text-transform: uppercase;
    }

    h1 { max-width: 22ch; margin-bottom: 14px; font-size: 2.2rem; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
    h2 { max-width: 30ch; margin-bottom: 18px; font-size: 1.75rem; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
    h3 { margin-bottom: 12px; font-size: 1.05rem; line-height: 1.25; }
    .lede { max-width: 46ch; color: var(--muted); }
    .muted { color: var(--muted); }
    .small { font-size: .78rem; }
    .note { max-width: 70ch; color: var(--muted); font-size: .72rem; }

    .src {
      display: inline-block;
      padding: 0 .35em;
      border: 1px solid var(--line);
      border-radius: 5px;
      color: var(--amber);
      font-size: .72em;
      font-weight: 750;
      line-height: 1.4;
      white-space: nowrap;
      vertical-align: .08em;
    }
    a.src { text-decoration: none; }
    .tag {
      display: inline-block;
      margin-left: .3em;
      padding: 0 .4em;
      border-radius: 5px;
      color: var(--ink);
      background: var(--muted);
      font-size: .62em;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
      vertical-align: .15em;
    }

    .button {
      display: inline-flex;
      gap: .4em;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: .45em 1em;
      border: 2px solid var(--amber);
      border-radius: 10px;
      color: var(--ink);
      background: var(--amber);
      font: inherit;
      font-weight: 800;
      line-height: 1.2;
      cursor: pointer;
    }
    .button:hover { background: #ffc85a; }
    .button.secondary { color: var(--paper); background: transparent; border-color: var(--line); }
    .button.secondary:hover { border-color: var(--paper); }
    .button.quiet { min-height: 44px; padding: .3em .7em; color: var(--paper); background: transparent; border-color: transparent; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
    .button:disabled { cursor: not-allowed; opacity: .55; }
    .actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 24px; }

    .panel { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }

    [hidden] { display: none !important; }

    /* Pick */
    .pick-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
    .scenario-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
    .scenario {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 6px 22px;
      align-items: center;
      padding: 20px 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
    }
    .scenario-year { grid-row: 1 / span 2; font-size: 2.1rem; font-weight: 800; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
    .scenario h3 { margin: 0; }
    .scenario p { grid-column: 2; margin: 0; color: var(--muted); font-size: .78rem; }
    .scenario .button { grid-column: 3; grid-row: 1 / span 2; }
    .agenda { margin: 0 0 18px; padding: 0; list-style: none; }
    .agenda li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid #33445b; font-size: .85rem; }
    .agenda li:first-child { border-top: 0; }
    .agenda time { color: var(--amber); font-weight: 800; font-variant-numeric: tabular-nums; }
    .setting { margin: 0; padding: 0; border: 0; }
    .setting legend { margin-bottom: 8px; padding: 0; font-weight: 750; font-size: .85rem; }
    .segmented { display: flex; flex-wrap: wrap; gap: 8px; }
    .segmented label { position: relative; }
    .segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; }
    .segmented span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 .8em; border: 2px solid var(--line); border-radius: 9px; font-weight: 750; cursor: pointer; }
    .segmented input:checked + span { border-color: var(--amber); color: var(--ink); background: var(--amber); }
    .segmented input:focus-visible + span { outline: 4px solid var(--focus); outline-offset: 3px; }

    /* Brief */
    .brief-list { max-width: 48ch; margin: 0 0 18px; padding-left: 1.2em; }
    .brief-list li { margin-bottom: 12px; }
    .brief-list li::marker { color: var(--amber); }

    /* Decide */
    .decide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px 48px; align-items: start; }
    .context { max-width: 48ch; color: var(--muted); }
    .discuss { margin: 0 0 20px; padding: 14px 18px; border-left: 6px solid var(--amber); border-radius: 0 10px 10px 0; background: var(--panel); }
    .discuss p { margin: 0; font-size: 1.05rem; font-weight: 650; }
    .discuss .kicker { margin-bottom: 4px; }
    .data-table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: .78rem; font-variant-numeric: tabular-nums; }
    .data-table caption { margin-bottom: 6px; color: var(--muted); font-size: .9em; text-align: left; }
    .data-table th, .data-table td { padding: 5px 10px 5px 0; border-bottom: 1px solid #33445b; text-align: left; }
    .data-table th { color: var(--muted); font-weight: 700; }

    .timer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; align-items: center; }
    .timer-readout { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
    .timer.is-done .timer-readout { color: var(--amber); }
    .timer.is-skipped { grid-template-columns: minmax(0, 1fr); }
    .timer.is-skipped .timer-readout, .timer.is-skipped .timer-track, .timer.is-skipped #timer-toggle, .timer.is-skipped #timer-reset, .timer.is-skipped #timer-skip { display: none; }
    .timer:not(.is-skipped) #timer-unskip { display: none; }
    .timer-track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: #33445b; overflow: hidden; }
    .timer-fill { display: block; height: 100%; width: 100%; background: var(--amber); transition: width .25s linear; }
    .timer-state { margin: 0; color: var(--muted); font-size: .78rem; }
    .timer-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }

    .choice-set { margin: 0; padding: 0; border: 0; min-width: 0; }
    .choice-set legend { margin-bottom: 12px; padding: 0; font-weight: 800; }
    .options { display: grid; gap: 12px; }
    /* Fixed tally track: an auto track took the input's intrinsic width and crushed the option text. */
    .option { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: stretch; }
    .option.has-tally { grid-template-columns: minmax(0, 1fr) 6.5rem; }
    .option-choice {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 2px 14px;
      align-items: start;
      padding: 14px 18px;
      border: 2px solid var(--line);
      border-radius: 12px;
      background: var(--panel);
      cursor: pointer;
    }
    .option-choice:hover { border-color: var(--paper); }
    .option-choice:has(input:checked) { border-color: var(--amber); background: var(--panel-raised); }
    .option-choice input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--amber); }
    .option-choice input:focus-visible { outline: none; }
    .option-choice:has(input:focus-visible) { outline: 4px solid var(--focus); outline-offset: 3px; }
    .option-label { font-weight: 800; }
    .option-detail { grid-column: 2; color: var(--muted); font-size: .78rem; }
    .tally-field { display: grid; align-content: center; gap: 4px; min-width: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .72rem; font-weight: 750; color: var(--muted); }
    .tally-field input {
      width: 100%;
      min-width: 0;
      min-height: 48px;
      padding: 0 .4em;
      border: 2px solid var(--line);
      border-radius: 8px;
      color: var(--paper);
      background: var(--navy);
      font: inherit;
      font-size: 1.5rem;
      font-weight: 800;
      text-align: center;
      font-variant-numeric: tabular-nums;
    }
    .tally-field input[aria-invalid="true"] { border-color: var(--red); }
    .tally-toggle { display: flex; gap: 12px; align-items: center; min-height: 48px; margin-top: 16px; font-weight: 700; cursor: pointer; }
    .tally-toggle input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--amber); }
    .form-error { margin: 14px 0 0; padding: 10px 14px; border-left: 6px solid var(--red); border-radius: 0 8px 8px 0; background: #2a1d2a; color: var(--paper); font-weight: 700; }

    /* Run */
    .outcome { max-width: 1100px; }
    .outcome-card { padding: 24px 26px; border: 2px solid var(--green); border-radius: var(--radius); background: var(--panel); }
    .outcome-card.is-failure { border-color: var(--red); }
    .outcome-card p { max-width: 62ch; }
    .outcome-label { margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
    .outcome-card.is-failure .outcome-label { color: var(--red); }
    .counter { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin: 0 0 14px; }
    .counter strong { font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
    .counter span { color: var(--muted); font-size: .78rem; }
    .steps-list { margin: 0; padding-left: 1.3em; }
    .run-record { max-width: 1100px; margin-top: 18px; }
    .steps-list li { margin-bottom: 8px; }
    .steps-list strong { color: var(--amber); }

    /* Debrief */
    .compare { width: 100%; margin-bottom: 28px; border-collapse: collapse; }
    .compare th, .compare td { padding: 12px 14px 12px 0; border-bottom: 1px solid #33445b; text-align: left; vertical-align: top; }
    .compare thead th { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
    .compare tbody th { width: 20%; font-weight: 800; }
    .compare td { width: 40%; }
    .compare .tally { display: block; color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
    .compare .record-note { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; }
    .match { display: inline-block; margin-top: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .match.same { color: var(--muted); }
    .match.diff { color: var(--amber); }
    .two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin-bottom: 28px; }
    .two-up .panel p:last-child, .two-up .panel ul:last-child { margin-bottom: 0; }
    .history-list { margin: 0; padding-left: 1.1em; }
    .history-list li { margin-bottom: 8px; }
    .questions { margin: 0 0 24px; padding-left: 1.3em; max-width: 64ch; }
    .questions li { margin-bottom: 14px; font-size: 1.05rem; }
    .questions li::marker { color: var(--amber); font-weight: 800; }
    .register { margin: 0; padding: 0; list-style: none; font-size: .72rem; color: var(--muted); }
    .register li { margin-bottom: 6px; }
    .register li:target { color: var(--paper); }

    /* Summary sheet: a printable page, light on screen and on paper. */
    .sheet {
      max-width: 820px;
      padding: 36px 40px;
      border-radius: 6px;
      color: #111a26;
      background: #fff;
      font-size: 15px;
      line-height: 1.4;
    }
    .sheet h2 { max-width: none; margin-bottom: 2px; font-size: 24px; letter-spacing: -.01em; }
    .sheet h3 { margin: 16px 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #5a3e00; }
    .sheet p, .sheet li { font-size: 14px; }
    .sheet .meta { margin-bottom: 6px; color: #3a4656; font-size: 13px; }
    .sheet table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
    .sheet th, .sheet td { padding: 5px 8px 5px 0; border-bottom: 1px solid #c9ced6; text-align: left; vertical-align: top; }
    .sheet thead th { color: #3a4656; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
    .sheet .tally { display: block; color: #3a4656; font-size: 12px; }
    .sheet ul, .sheet ol { margin: 0; padding-left: 1.2em; }
    .sheet li { margin-bottom: 3px; }
    .sheet .src { border-color: #8a95a5; color: #5a3e00; }
    .sheet .tag { color: #fff; background: #3a4656; }
    .sheet .sources { color: #3a4656; font-size: 11.5px; }
    .sheet .sources li { font-size: 11.5px; margin-bottom: 1px; }
    .sheet .limits { margin: 12px 0 0; color: #3a4656; font-size: 11.5px; }
    .sheet .lines { margin: 4px 0 0; padding: 0; list-style: none; }
    .sheet .lines li { height: 26px; border-bottom: 1px solid #c9ced6; }

    @media (max-width: 1100px) {
      .pick-grid, .decide-grid { grid-template-columns: minmax(0, 1fr); }
    }

    @media (max-width: 600px) {
      .option.has-tally { grid-template-columns: minmax(0, 1fr); gap: 6px; }
      .tally-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; }
      .tally-field input { width: 5.5rem; flex: none; }
    }

    @media (max-width: 760px) {
      .bar, .stage { width: min(100% - 24px, 680px); }
      .stage { padding-top: 18px; }
      h1 { font-size: 1.8rem; }
      h2 { font-size: 1.4rem; }
      .scenario { grid-template-columns: auto minmax(0, 1fr); }
      .scenario .button { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
      .scenario-year { grid-row: 1; }
      .scenario p { grid-column: 1 / -1; }
      .two-up { grid-template-columns: minmax(0, 1fr); }
      .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
      .compare thead { display: none; }
      .compare tr { padding: 10px 0; border-bottom: 1px solid #33445b; }
      .compare th, .compare td, .compare tbody th { width: 100%; padding: 4px 0; border: 0; }
      .compare td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
      .sheet { padding: 22px 18px; }
      .sheet th, .sheet td { padding-right: 6px; }
    }

    @media (prefers-reduced-motion: reduce) {
      /* Off, not shortened: a short duration on every element creates transitions on every property. */
      *, *::before, *::after { transition: none !important; animation: none !important; }
    }

    footer.note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
    footer.note a { display: inline-flex; align-items: center; min-height: 48px; }
    .bar a, .button.quiet { min-height: 48px; }
    @page { margin: 12mm; }
    @media print {
      :root { color-scheme: light; }
      html, body { background: #fff; font-size: 12pt; }
      .sheet { font-size: 10pt; line-height: 1.32; }
      .sheet h2 { font-size: 17pt; }
      .sheet h3 { margin: 9px 0 3px; font-size: 8.5pt; }
      .sheet p, .sheet li { font-size: 9.5pt; }
      .sheet .meta { font-size: 9pt; }
      .sheet table { font-size: 9.5pt; }
      .sheet th, .sheet td { padding: 3px 8px 3px 0; }
      .sheet thead th { font-size: 7.5pt; }
      .sheet .tally { font-size: 8.5pt; }
      .sheet .lines li { height: 20px; }
      .sheet .sources { columns: 2; column-gap: 18px; }
      .sheet .sources li { font-size: 7.5pt; break-inside: avoid; }
      .sheet .limits { margin-top: 8px; font-size: 7.5pt; }
      .bar, .screen:not(#summary), .no-print, #live { display: none !important; }
      .stage { width: auto; padding: 0; }
      .sheet { max-width: none; padding: 0; border-radius: 0; }
      .sheet tr, .sheet li { break-inside: avoid; }
    }


.local-layout-1 {margin-top:14px}


.local-layout-2 {margin-top:14px}


.local-layout-3 {margin-top:0;margin-bottom:20px}


.local-layout-4 {margin-top:14px}
