:root {
  --paper:#fff8f4;--white:#fffdfb;--line:#d6dcd4;--muted:#525b55;
  --plot-grid:#d5dfd8;--plot-zero:#618fae;--plot-ink:#4e5b53;
  --plot-event:#ffe3d4;--plot-stroke:#a43e1e;--plot-cursor:#36322c;
  --stage-bg:#edf5f8;--stage-grid:#d2dfe2;--stage-major:#b3c4ca;
  --control:#fffdf9;--readout:#f0f6ef;--transport:#f6f8f1;
}
:root[data-theme="night"] {
  color-scheme:dark;
  --paper:#111716;--white:#182120;--ink:#edf3ef;--line:#384844;
  --muted:#aabbb4;--dark:#83e9ab;--readout:#1d2926;--transport:#182220;
  --control:#212c2a;--plot-grid:#3a4b46;--plot-zero:#7dd8f0;--plot-ink:#aabbb4;
  --plot-event:#402c21;--plot-stroke:#ff8d66;--plot-cursor:#f0ede1;
  --stage-bg:#192323;--stage-grid:#354745;--stage-major:#566b66;
}
html{scroll-behavior:smooth}
.wrap{width:min(1480px,100% - 64px)}
.top{box-shadow:none}.head{min-height:71px}.logo img{width:178px}
.head nav{gap:18px}.head a{color:#130d0c}
.head #locale{background:#cbf6d8;border:1px solid #064719;border-radius:4px}
.head a:focus-visible,.theme-switch button:focus-visible{outline-color:#130d0c}
.theme-switch{display:inline-flex;gap:2px;border:1px solid #075221;border-radius:7px;padding:2px;background:#d6f5e0}
.theme-switch button{font-size:13px;min-width:42px;min-height:31px;padding:4px 9px;border:1px solid transparent;border-radius:4px;color:#130d0c;background:transparent}
.theme-switch button[aria-pressed=true]{background:#fffdf9;border-color:#487254}
.theme-switch button:hover{background:#eaf9ed;border-color:#487254}
.intro{padding-top:31px}.intro h1{font-size:clamp(32px,4vw,60px);letter-spacing:-.045em}
#nominal-duration{color:var(--dark)}
.player{box-shadow:none;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(300px,345px)}
.stage{background:var(--stage-bg)}#flight-canvas{height:clamp(360px,43vw,532px)}
.phase{background:#d7f2dc;color:#12241a;border-radius:99px}
.readouts{background:linear-gradient(155deg,var(--readout),var(--white));padding:21px}
.clock{color:var(--dark)}
.comparison th,.comparison td{border-color:var(--line)}
.comparison :is(th,td):first-child{color:var(--muted)}
.comparison :is(th,td):nth-child(4){color:var(--ink)}
.transport{background:var(--transport)}
body{--reference:#326781;--active:#9d3818}
button,select,.phases button{background:var(--control);border-color:var(--line);color:var(--ink)}
button.primary{background:var(--green);border-color:#12833e;color:#0d2013}
button.primary:hover{background:#48d873}
button:not(.primary):hover,select:hover{border-color:var(--muted);background:var(--readout)}
.stage-bar label.ghost-label,.axis-key{background:var(--control);color:var(--ink)}
.delta-chart,details,.evidence-panel{background:var(--white);border:1px solid var(--line);border-radius:10px}
details{padding:11px 15px;margin:12px 0 0;max-width:none}
:root[data-theme="night"] body{--reference:#7dd8f0;--active:#ff8d66}
:root[data-theme="night"] .landing-note{background:#402c21}
:root[data-theme="night"] .scenarios button[aria-pressed=true]{background:#4a2920;color:#ffb29b}
:root[data-theme="night"] .phases button[aria-current=true],
:root[data-theme="night"] #chart-window[aria-pressed=true]{background:#284d37;color:#cdf7d9}
.evidence{display:grid;gap:16px;padding-block:24px 38px}
.evidence h2{font-size:clamp(20px,2.5vw,28px);letter-spacing:-.04em}
.evidence h3{font-size:1rem;margin:0 0 5px}
.evidence p{margin:6px 0;color:var(--muted)}
.evidence-panel{min-width:0;padding:clamp(13px,2vw,22px)}
.summary-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(255px,1fr);gap:16px}
.data-table{border-collapse:collapse;width:100%;margin-top:11px;font-size:.83rem;font-variant-numeric:tabular-nums}
.data-table th,.data-table td{padding:8px 5px;border-bottom:1px solid var(--line);text-align:left}
.data-table td:not(:first-child),.data-table th:not(:first-child){text-align:right}
.data-table td:not(:first-child){white-space:nowrap}
.summary-list{display:grid;grid-template-columns:1fr auto;gap:0 10px;margin-block:11px}
.summary-list dt,.summary-list dd{margin:0;padding:6px 0;border-bottom:1px solid var(--line);font-size:.84rem}
.summary-list dt{color:var(--muted)}.summary-list dd{text-align:right;font-weight:800}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cards img{width:100%;aspect-ratio:16/9;object-fit:contain;background:#f4f3ed;border-radius:5px;margin-bottom:11px}
.evidence-panel a{font-weight:800}
.archive-links{display:flex;gap:.3rem 1rem;flex-wrap:wrap;margin:10px 0 2px;padding:0;list-style:none;font-size:.84rem}
@media(max-width:950px){.wrap{width:min(1480px,100% - 38px)}.readouts{padding:13px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:735px){.wrap{width:calc(100% - 24px)}.logo img{width:130px}.head{min-height:61px}.head nav{gap:5px 8px}.intro{padding-top:20px}.player,.summary-grid,.cards{grid-template-columns:1fr}#flight-canvas{height:clamp(285px,79vw,426px)}}
@media(max-width:510px){.head nav{display:grid;grid-template-columns:auto auto;justify-items:end}.head nav a[href="#evidence"]{grid-row:2;grid-column:1/-1}.theme-switch button{font-size:12px;padding-inline:6px}.data-table{font-size:.75rem}.data-table th,.data-table td{padding-inline:2px}}
@media print{.head nav,.transport,.scenario-bar,.delta-controls{display:none}.evidence-panel{break-inside:avoid}.cards{grid-template-columns:repeat(3,1fr)}}
.configuration .summary-list{grid-template-columns:1fr auto 1fr auto;column-gap:14px;margin-bottom:0}
@media(max-width:735px){.configuration .summary-list{grid-template-columns:1fr auto}}
@media print {
  :root[data-theme]{color-scheme:light;--paper:white;--white:white;--ink:#130d0c;--dark:#0f6336;--muted:#525b55;--line:#d6dcd4;--readout:white}
  body,:root[data-theme] body{--reference:#326781;--active:#9d3818}
  .stage{min-height:190px;background:white}
  #flight-canvas,#delta-canvas,.axis-key,.stage-bar,.delta-chart{display:none!important}
  .stage .fallback[hidden]{display:block!important;inset:0;width:100%;height:100%}
}

@media(max-width:510px){.head nav a.point-nav{grid-row:3;grid-column:1/-1;justify-self:end}}

@media(max-width:510px){.head nav a.system-nav{grid-row:4;grid-column:1/-1;justify-self:end}}

@media(max-width:510px){.head nav a.sync-nav{grid-row:5;grid-column:1/-1;justify-self:end}}
