/* Instrument + exhibit. No new content, geometry, state or continuous motion. */
@media screen {
  :root { --paper:#f5f1e6; --white:#fffdf6; --ink:#123d36; --muted:#4c655b; --v-gold:#efbf65; }
  #workspace { background:radial-gradient(ellipse at 85% 0,#e4e9d9 0,transparent 52%),var(--paper); }
  .room { background:transparent; }
  .masthead { background:#103c35; border-bottom:1px solid #315e4e; box-shadow:0 3px 14px #123a351c; }
  .brand { color:#fff9e9; letter-spacing:.1em; }
  .brand>span { color:#efc56e; }
  .edition { color:#bfd0bd; }
  .about-short { color:#fff9e9; border-color:#73937e; }
  .room-tabs button { color:#d8e4d2; }
  .room-tabs button[aria-selected=true] { background:#edf1dc; border-bottom-color:#e9b75d; color:#123d36; }
  .room-tabs button:not([aria-selected=true]):hover { color:#fff9e9; background:#285b4c; }
  .masthead button:focus-visible { outline-color:#f4c77c; outline-offset:-4px; }
  .room-heading h2 { font-size:clamp(29px,3vw,44px); font-weight:650; letter-spacing:-.045em; }
  .room-heading h2 em { color:#086b56; }
  .room-heading .note-button { color:#36594c; }
  .exhibit-footer { background:#fffcf2; border-top-color:#b3c2ae; box-shadow:0 -4px 18px #183a3508; }
  .visual-r10 .exhibit-footer #room-next,
  .primary { color:#173e32; background:#efbf65; border-color:#c59b4c; box-shadow:0 4px 0 #ac7c32; font-weight:700; }
  .visual-r10 .exhibit-footer #room-next:hover,.primary:hover { background:#f6d28a; color:#123d36; }
  .primary span { border-color:#49623d88; }
  .primary:active { box-shadow:0 1px 0 #ac7c32; }
  .visual-r10 .exhibit-footer #room-next { box-shadow:none; }
  .primary:focus-visible,.exhibit-footer #room-next:focus-visible { outline-color:#075c49; }

  /* The existing cutaway and questions become a single exhibit, not two cards. */
  .start-room { grid-template-columns:minmax(0,1fr) minmax(0,1.16fr); gap:38px; }
  .intro-copy h1 { font-size:clamp(62px,7.2vw,112px); line-height:.95; letter-spacing:-.065em; font-weight:700; }
  .intro-copy h1 em { color:#a84727; }
  .intro-copy>.eyebrow { border:0; border-left:3px solid #b76534; background:#eae4d3; color:#784325; padding:5px 10px; font-size:9px; }
  .intro-dek { font-size:clamp(18px,1.65vw,25px); line-height:1.45; margin-top:23px; }
  .opening-case { background:#e9e5d8; border-left-color:#b66035; padding:12px 14px; }
  .opening-case>p:not(.eyebrow) { font-size:13px; }
  .intro-context.opening-brief { color:#405e51; line-height:1.7; }
  .intro-scene { align-self:center; background:#0d342e; border:1px solid #2e6551; border-radius:11px; overflow:hidden; gap:0; padding:0; box-shadow:0 22px 36px -15px #153e355e,0 2px 0 #ffffffa3 inset; }
  .intro-scene>img { border:0; box-shadow:none; border-radius:0; max-height:470px; width:100%; }
  .intro-questions { background:none; border:0; border-top:1px solid #5f856c; border-radius:0; box-shadow:none; margin:0 17px 12px; }
  .intro-questions button { padding:16px 11px; min-height:118px; color:#fff9e8; gap:10px; }
  .intro-questions button+button { border-color:#436d59; }
  .intro-questions button:hover { background:#245a48; }
  .intro-questions b { display:grid; place-items:center; flex:0 0 25px; height:25px; border:1px solid #b4c998; border-radius:50%; color:#e9cf8b; font-size:10px; }
  .intro-questions span { font-size:13px; font-weight:600; }
  .intro-questions small { color:#c0d1bc; font-size:10px; line-height:1.5; }
  .intro-questions i { color:#efbf65; font-size:18px; }
  .intro-questions button:focus-visible { outline-color:#efbf65; outline-offset:-3px; }

  /* Shared chrome stays in the same position, with unambiguous selection. */
  .stage-rail,#scale>.stage-rail { border-color:#bac8b8; background:#fffdf6; border-radius:6px; box-shadow:0 5px 16px #163b3512; }
  .stage-rail .stage-choices button { background:#f1f2e8; border-color:#c9d1c1; color:#425f50; }
  .stage-rail .stage-choices button[aria-pressed=true] { background:#174e3f; border-color:#174e3f; color:#fff9e5; box-shadow:inset 0 -3px #efbf65; }
  .stage-rail .stage-choices button:not([aria-pressed=true]):hover { background:#e4ebd7; border-color:#688a6e; }
  .stage-rail .stage-navigation>:last-child,
  .stage-rail #batch-next,.stage-rail #supply-guide-next,#scale .stage-rail #experiment-next,
  .stage-rail #one-next,.stage-rail #evidence-next { background:#174e3f; border-color:#174e3f; color:#fff9e9; }
  .stage-rail .stage-navigation>:last-child:hover { background:#0c3b30; }
  .batch-story dl { border-color:#b1c0ad; box-shadow:0 3px 12px #153c3409; }
  .batch-story dt { color:#4f6355; }
  .batch-story dd { font-weight:650; }

  /* A connected display field frames the real 3D scene; no filter on its pixels. */
  .pod-workbench { border-color:#7c9e86; border-radius:8px; box-shadow:0 14px 28px -17px #214d4055; }
  .pod-stage { background:#143f35; color:#e5ebd8; }
  .pod-stage .stage-meta,.pod-stage .stage-help,.pod-stage .pod-disclaimer { color:#c4d5bc; }
  .pod-stage .model-label { color:#174333; }
  .pod-stage .pod-trace output { color:#f2ce80; }
  .pod-stage .pod-trace p,.pod-stage .pod-layer-readout p,.pod-stage .pod-records span { color:#cadac2; }
  .pod-stage .pod-records b { color:#e3ecd2; }
  .pod-stage .pod-records b[data-state=missing],.pod-stage .pod-records b[data-state=held] { color:#ffd096; }
  .pod-stage .pod-layer-readout button { color:#173f32; }
  .pod-view.gpu-ready { border:1px solid #4e7961; box-shadow:inset 0 0 0 1px #092e2833; border-radius:5px; }
  .pod-layers button { background:#1f5343; color:#e8f1de; border-color:#628469; }
  .pod-layers button[aria-pressed=true] { background:#e1edc9; color:#174333; border-color:#e1edc9; }
  .pod-layers button:hover:not([aria-pressed=true]) { background:#316a52; color:#fff9e9; }
  .view-toolbar { border-top-color:#638169; }
  .view-toolbar button { background:#ecf0dd; border-color:#9bb18b; color:#174333; }
  #pod .view-toolbar button[aria-pressed=true] { background:#efbf65; color:#153d30; border-color:#efbf65; }
  .pod-stage input[type=range]::-webkit-slider-runnable-track { background:#63836b; border-color:#86a17c; }
  .pod-stage input[type=range]::-webkit-slider-thumb { background:#efc66e; border-color:#153f35; box-shadow:0 0 0 1px #efc66e; }
  .pod-stage input[type=range]::-moz-range-track { background:#63836b; border-color:#86a17c; }
  .pod-stage input[type=range]::-moz-range-thumb { background:#efc66e; border-color:#153f35; }
  .pod-stage input:focus-visible,.pod-stage button:focus-visible { outline-color:#f4c77c; }
  .pod-inspector { background:#fffdf6; }
  .zone-readout h3 { font-family:var(--serif); font-size:30px; letter-spacing:-.035em; }
  .batch-picture-scene { border-color:#adc09f; background:#edf1df; box-shadow:0 3px 9px #163c3408; }

  /* Results, rather than additional ornament, provide Supply's emphasis. */
  .supply-theatre { border-color:#9cb597; border-radius:8px; background:#fffdf6; box-shadow:0 14px 28px -18px #214d4055; }
  #deploy .supply-shared-time { background:#174b3c; border-color:#174b3c; }
  #deploy .supply-shared-time label,#deploy .supply-shared-time output { color:#edf3db; }
  #supply-play { background:#efbf65; border-color:#efbf65; color:#183e31; }
  #supply-play:hover { background:#f6d28a; }
  #deploy .supply-shared-time input::-webkit-slider-runnable-track { background:#6f8e6e; border-color:#90aa82; }
  #deploy .supply-shared-time input::-webkit-slider-thumb { background:#e4efbc; border-color:#174b3c; box-shadow:0 0 0 1px #e4efbc; }
  #deploy .supply-shared-time input::-moz-range-track { background:#6f8e6e; }
  #deploy .supply-shared-time input::-moz-range-thumb { background:#e4efbc; border-color:#174b3c; }
  #deploy .supply-shared-time :focus-visible { outline-color:#f4c77c; }
  #deploy .supply-comparison .case-plan { border-left-width:5px; padding:11px 12px; background:#fffaf0; }
  #deploy .supply-comparison .reserve-plan { background:#f5ecd3; }
  #deploy .supply-comparison .local-plan { background:#e8f0db; }
  #deploy .supply-comparison .case-unmet>b { font-size:35px; letter-spacing:-.045em; }
  #deploy .supply-comparison .case-plan h3 { font-weight:700; }
  #deploy .supply-system-visual { border-color:#7b9b77; border-radius:5px; box-shadow:0 4px 10px #173e3412; }
  #deploy .system-view-tools { background:#e9eddb; }
  #deploy .system-chart { border-top:3px solid #c2a362; background:#fffdf7; border-radius:4px; }
  #deploy .system-chart-heading h4 { font-family:var(--serif); font-size:19px; }
  #deploy .system-chart-key { color:#365b4a; }
  #deploy .supply-plot-side .supply-explain { border-left:3px solid #b6c49d; padding-left:12px; }

  /* The capacity instrument retains its dark field and exact numeric semantics. */
  #scale { background:transparent; }
  #scale .scale-workbench { border-color:#6d8b6c; border-radius:8px; box-shadow:0 14px 28px -17px #214d4066; }
  #scale .network-pane { background:radial-gradient(ellipse at 25% 30%,#235f49,#103a31 85%); }
  #scale .scale-controls { background:#153f34; }
  #scale .release-box { fill:#edcc83; stroke:#f9e6b6; }
  #scale .output-row i { background:#efc66e; }
  #scale .output-bars .output-row b { color:#f0d48a; }
  #scale .scale-readout h3 { color:#fff1cd; }
  #capacity-next { border-color:#75966d; background:#0f332a; }
  #capacity-next button:not(:disabled) { background:#e7eed6; color:#153e30; }
  #capacity-next button:not(:disabled):hover { background:#f5d58a; border-color:#efbf65; }
  #capacity-next #capacity-undo { background:transparent; color:#e5edd6; }

  .one-console,.evidence-card { border-color:#9fb399; box-shadow:0 14px 28px -18px #214d4055; }
  .one-visual { background:#e7edd9; padding:24px 16px; border:1px solid #c2ceb1; }
  .dossier { background:#fffcf0; border-color:#658963; box-shadow:5px 5px 0 #8ca68436; }
  .one-copy h3 { font-family:var(--serif); }
  .one-switch button[aria-pressed=true] { color:#fff6dd; background:#174c3c; box-shadow:inset 0 -3px #efbf65; }
  .evidence-card { border-top:4px solid #b68b42; background:#fffdf6; }
  .evidence-card h3 { font-family:var(--serif); }
  .source-tag { border-color:#94ad8c; background:#e8eed9; }
  dialog { border-top:4px solid #bf9149; }
}

@media screen and (min-width:1500px) {
  .intro-scene>img { max-height:540px; }
  .intro-questions button { padding:20px 14px; }
  .intro-questions span { font-size:15px; }
  .intro-questions small { font-size:12px; }
}
@media screen and (max-width:1100px) {
  .start-room { gap:28px; }
  .intro-questions { margin:0 14px 8px; }
  .intro-questions button { min-height:62px; padding:12px 6px; align-items:center; }
  .intro-questions button+button { border-left:0; border-top-color:#436d59; }
  .intro-questions span { font-size:12px; }
  .intro-questions small { font-size:10px; margin-top:4px; }
  .intro-scene>img { max-height:410px; }
  .intro-context.opening-brief { font-size:12px; }
}
@media screen and (max-width:760px) {
  .masthead { box-shadow:none; }
  .room-heading h2 { font-size:27px; }
  .start-room { gap:0; }
  .intro-copy h1 { font-size:clamp(52px,13.5vw,76px); }
  .intro-copy>.eyebrow { margin-bottom:17px; font-size:8px; }
  .intro-dek { font-size:18px; }
  .start-room .intro-scene { align-self:stretch; border-radius:8px; margin:18px 0; }
  .start-room .intro-scene>img { max-height:none; }
  .intro-questions { margin:0 12px 8px; }
  .intro-questions button { min-height:68px; }
  .intro-questions span { font-size:12px; }
  .intro-context.opening-brief { font-size:13px; }
  .opening-case>p:not(.eyebrow) { font-size:13px; }
  .pod-stage { border-radius:0; }
  .zone-readout h3 { font-size:27px; }
  #deploy .supply-comparison .case-plan { padding:11px; }
  #deploy .supply-comparison .case-unmet>b { font-size:32px; }
  .one-visual { padding:20px 10px; }
}
