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

    * { box-sizing: border-box; }
    html { background: var(--navy); scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--navy);
      color: var(--paper);
      font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    button, input { font: inherit; }
    button { cursor: pointer; }
    button:disabled { cursor: not-allowed; }
    a { color: var(--amber); text-underline-offset: .18em; }
    a:hover { text-decoration-thickness: 2px; }
    :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
    [hidden] { display: none !important; }

    .page { width: min(100% - 32px, 1120px); margin: 0 auto; padding: 28px 0 42px; }
    .masthead { max-width: 760px; margin-bottom: 22px; }
    .lab-nav { margin: -12px 0 10px; font-size: .9rem; font-weight: 700; }
    .lab-nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
    .lab-nav a:hover { text-decoration: underline; }
    .eyebrow, .section-kicker {
      margin: 0 0 8px;
      color: var(--amber);
      font-size: .78rem;
      font-weight: 750;
      letter-spacing: .11em;
      text-transform: uppercase;
    }
    h1, h2, h3, p { margin-top: 0; }
    h1 { max-width: 18ch; margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.04; letter-spacing: -.035em; }
    h2 { margin-bottom: 8px; font-size: 1.3rem; line-height: 1.2; }
    h3 { margin-bottom: 7px; font-size: 1.04rem; }
    .lede { max-width: 68ch; margin-bottom: 10px; font-size: 1.02rem; }
    .context-line, .subtle { color: var(--muted); }
    .context-line { margin-bottom: 0; font-size: .93rem; }
    .layout { display: grid; gap: 16px; }
    .panel {
      min-width: 0;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--panel);
    }
    .section-heading { margin-bottom: 16px; }
    .section-heading p:last-child { margin-bottom: 0; }
    .small { font-size: .88rem; }
    .source-ref { font-size: .78em; font-weight: 800; white-space: nowrap; }
    .note {
      margin: 14px 0 0;
      padding: 10px 12px;
      border-left: 3px solid var(--amber);
      color: var(--muted);
      background: var(--panel-raised);
      font-size: .9rem;
    }

    fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
    fieldset + fieldset { margin-top: 19px; }
    legend { width: 100%; margin-bottom: 8px; font-weight: 750; }
    .legend-note { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; font-weight: 450; }
    .choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .choice {
      display: flex;
      min-width: 0;
      min-height: 82px;
      align-items: flex-start;
      gap: 11px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--navy);
      cursor: pointer;
    }
    .choice:has(input:checked) { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
    .choice input { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--amber); }
    .choice-copy { min-width: 0; }
    .choice-title { display: block; font-weight: 750; line-height: 1.3; }
    .choice-detail { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; line-height: 1.35; }
    .cost-chip { display: block; margin-top: 5px; color: var(--amber); font-size: .76rem; font-weight: 700; }

    .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
    .button {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      padding: 10px 15px;
      border: 1px solid var(--amber);
      border-radius: 9px;
      color: var(--ink);
      background: var(--amber);
      font-weight: 800;
      text-align: center;
      line-height: 1.2;
    }
    .button.secondary { border-color: var(--line); color: var(--paper); background: var(--panel-raised); }
    .button:disabled { color: var(--paper); background: #27384e; border-color: var(--line); }
    .button:focus-visible, .choice input:focus-visible { outline-offset: 4px; }

    .timeline-wrap {
      margin-top: 14px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--navy);
    }
    .timeline-title { margin-bottom: 2px; font-size: .88rem; font-weight: 750; }
    .timeline-caption { margin: 0; color: var(--muted); font-size: .78rem; }
    .timeline-points {
      position: relative;
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 6px;
      margin: 16px 0 0;
      padding: 0;
      list-style: none;
    }
    .timeline-points::before {
      position: absolute;
      top: 7px;
      right: 7%;
      left: 7%;
      height: 3px;
      border-radius: 99px;
      background: #718096;
      content: "";
    }
    .timeline-points li { position: relative; min-width: 0; color: var(--muted); text-align: center; font-size: .74rem; }
    .timeline-dot {
      display: block;
      width: 16px;
      height: 16px;
      margin: 0 auto 6px;
      border: 3px solid var(--navy);
      border-radius: 50%;
      background: #718096;
      box-shadow: 0 0 0 1px #718096;
    }
    .timeline-points li.is-complete .timeline-dot,
    .timeline-points li[aria-current="step"] .timeline-dot {
      background: var(--amber);
      box-shadow: 0 0 0 1px var(--amber);
    }
    .timeline-points li[aria-current="step"] { color: var(--paper); font-weight: 800; }

    .run-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr); gap: 14px; align-items: start; }
    .counter-card, .result-box, .fact-card, .impact-card {
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--panel-raised);
    }
    .counter-card { min-height: 100%; }
    .counter-label { display: block; color: var(--muted); font-size: .82rem; }
    .counter-value { display: block; margin: 4px 0; color: var(--amber); font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; }
    .counter-foot { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
    .run-status { min-height: 1.5em; margin: 12px 0 0; color: var(--muted); font-size: .9rem; }

    .incident-options { display: grid; gap: 10px; }
    .incident-choice { min-height: 70px; }
    .incident-choice .choice-title { font-size: .98rem; }

    .result-box { margin-top: 15px; }
    .result-box.is-failure { border-color: var(--red); }
    .result-title { margin-bottom: 5px; font-weight: 850; }
    .result-box.is-failure .result-title { color: var(--red); }
    .result-copy { margin-bottom: 0; color: var(--muted); }
    .reveal-list { display: grid; gap: 10px; margin: 16px 0; padding: 0; list-style: none; counter-reset: reveal; }
    .reveal-list li {
      position: relative;
      min-height: 70px;
      padding: 13px 14px 13px 52px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--navy);
      counter-increment: reveal;
    }
    .reveal-list li::before {
      position: absolute;
      top: 13px;
      left: 13px;
      display: grid;
      width: 26px;
      height: 26px;
      place-items: center;
      border-radius: 50%;
      color: var(--ink);
      background: var(--amber);
      content: counter(reveal);
      font-weight: 850;
      line-height: 1;
    }
    .reveal-list p { margin: 0; color: var(--muted); }
    .reveal-list strong { color: var(--paper); }
    .supporting-note { margin: 12px 0; color: var(--muted); font-size: .9rem; }
    .impact-card { margin-top: 14px; }
    .impact-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 11px 0 0; padding: 0; list-style: none; }
    .impact-list li { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); background: var(--navy); font-size: .82rem; }
    .controls-line { margin: 14px 0 0; padding: 12px; border-left: 3px solid var(--amber); color: var(--paper); background: var(--panel-raised); }
    .source-register { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
    .source-list { display: grid; gap: 7px; margin: 10px 0 0; padding-left: 24px; }
    .source-list li { color: var(--muted); font-size: .79rem; }
    .source-id { color: var(--paper); font-weight: 800; }

    footer {
      max-width: 90ch;
      margin: 18px auto 0;
      padding: 13px 2px 0;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: .82rem;
    }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 760px) {
      .page { width: min(100% - 24px, 620px); padding-top: 20px; }
      .panel { padding: 17px; }
      .choice-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
      .choice { min-height: 70px; }
      .run-grid { grid-template-columns: minmax(0, 1fr); }
      .counter-card { min-height: auto; }
      .counter-value { font-size: 2.5rem; }
    }
    @media (max-width: 390px) {
      .page { width: min(100% - 20px, 620px); }
      .panel { padding: 14px; }
      .timeline-wrap { padding: 10px 7px; }
      .timeline-points { gap: 1px; }
      .timeline-points li { font-size: .68rem; }
      .actions .button { flex: 1 1 100%; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
      }
    }
  