/* Editorial engineering exhibit. Presentation only; state and geometry stay native. */
:root {
  --paper:#f7f4eb; --white:#fffef9; --ink:#123b35; --muted:#52665d;
  --teal:#087963; --orange:#aa4426; --line:#c9d3c5; --lime:#d3ef9b;
  --v-deep:#103c35; --v-gold:#eac36d; --v-shadow:0 12px 32px #173e3410;
}
.masthead { background:var(--white); border-bottom-color:#bac8bc; }
.brand { letter-spacing:.11em; }
.brand>span { color:var(--teal); }
.room-tabs button[aria-selected=true] { background:#e1edda; border-bottom-color:var(--teal); }
.room-tabs button:not([aria-selected=true]):hover { background:#edf2e7; }
.room-heading { margin-bottom:18px; }
.room-heading h2 { font-weight:600; }
.room-heading h2 em { color:var(--teal); }
.eyebrow { color:#9d432a; }
.primary { background:var(--teal); border-color:var(--teal); box-shadow:0 5px 0 #103c35; border-radius:3px; }
.primary:hover { background:#065f4e; }
.primary:active { box-shadow:0 2px 0 #103c35; }
.primary span { display:grid; place-items:center; width:26px; height:26px; border:1px solid #ffffff66; border-radius:50%; }
.note-button:hover,.text-button:hover { color:var(--orange); }
button,a,input,select,summary { -webkit-tap-highlight-color:#08796322; }
summary:focus-visible { outline:3px solid var(--orange); outline-offset:4px; }

/* The opening illustration is the expressive moment; the evidence stays on paper. */
.start-room { grid-template-columns:minmax(0,1fr) minmax(0,1.16fr); gap:32px; }
.intro-copy h1 { font-weight:650; letter-spacing:-.065em; }
.intro-copy h1 em { color:var(--orange); }
.intro-copy>.eyebrow { display:inline-block; padding:6px 9px; border:1px solid #d6b79c; background:#fbebd7; border-radius:2px; margin-bottom:22px; }
.intro-dek { font-weight:450; }
.intro-scene { gap:15px; justify-content:center; }
.intro-scene>img { height:auto; flex:0 1 auto; aspect-ratio:900/640; max-height:470px; border-radius:10px; box-shadow:0 18px 30px #143b3526; object-fit:contain; }
.intro-questions { gap:0; margin-top:0; border:1px solid #c0cdbd; border-radius:5px; background:var(--white); box-shadow:0 5px 15px #173e3407; overflow:hidden; }
.intro-questions button { padding:15px 10px; gap:7px; border-top:0; min-height:118px; }
.intro-questions button+button { border-left:1px solid var(--line); }
.intro-questions button:hover { background:#e8f0dd; }
.intro-questions button:focus-visible { outline-offset:-4px; }
.intro-questions b { color:var(--teal); font-size:11px; font-weight:700; }
.intro-questions span { font-size:12px; }
.intro-questions small { font-size:10px; line-height:1.5; }
.intro-questions i { color:var(--orange); }
.opening-case { border:0; border-left:3px solid var(--orange); background:#eee9dc; padding:12px 14px; border-radius:0 4px 4px 0; }
.opening-case>.eyebrow { margin-bottom:6px; color:#843f2d; }
.opening-case summary { color:#075e4e; }
.opening-brief { border-left:0; padding-left:0; }
.intro-copy .fine { max-width:470px; }

/* A quieter chrome makes the selected step unmistakable. */
.stage-rail,#scale>.stage-rail { background:var(--white); border-color:#b9cabb; box-shadow:0 4px 16px #133f3410; border-radius:5px; }
.stage-rail .stage-choices button { background:#f4f6ef; border-color:#d1dacf; }
.stage-rail .stage-choices button[aria-pressed=true] { background:#d5ebc6; color:#163c31; border-color:#087963; box-shadow:inset 0 -3px #087963; }
.stage-rail .stage-navigation>:last-child,.stage-rail #batch-next,.stage-rail #supply-guide-next,#scale .stage-rail #experiment-next { background:#087963; border-color:#087963; }
.stage-rail .stage-navigation>:last-child:hover { background:#065e4d; }
.batch-story dl { border:1px solid #b9cbbb; border-radius:4px; overflow:hidden; background:#fffef9; }
.batch-story-claim { padding-top:8px; }
.batch-story dl>div,.batch-story dl>div:first-child { padding:12px 14px; }
.batch-story dl>div:nth-child(2) { background:#f7efdf; }
.batch-story dl>div:last-child { background:#edf3e4; }
.batch-story[data-state=held] dl>div:last-child { background:#f5e4d9; }
.batch-story[data-state=held] dl>div:last-child dd { color:#9a3824; }
.batch-story dd { font-size:13px; }
.pod-workbench { border-color:#aabfaf; border-radius:6px; overflow:hidden; box-shadow:var(--v-shadow); }
.pod-stage { background:radial-gradient(ellipse at 45% 40%,#fffff8 15%,#dce9d9 100%); }
.pod-view canvas { filter:saturate(1.25) contrast(1.045); }
.pod-inspector { border-left-color:#b6c7b6; }
.hotspot { border:2px solid #16856b; background:#fffef4; box-shadow:0 3px 8px #103c3526; font-weight:700; }
.hotspot[aria-pressed=true] { background:#087963; color:white; border-color:#087963; box-shadow:0 0 0 4px #cde8c7,0 3px 8px #103c3526; }
.model-label { border-color:#80a997; box-shadow:0 3px 7px #123b3518; }
.batch-picture-scene { background:#edf3e3; border-color:#b7cbb1; }
.batch-drawing { filter:saturate(1.3) contrast(1.06); }
.zone-readout h3 { color:#123b35; }
.pod-layers button[aria-pressed=true] { background:#087963; border-color:#087963; }

/* More visual separation, not extra panels or extra information. */
.supply-theatre { border-color:#b5c8b3; border-radius:6px; box-shadow:var(--v-shadow); }
.supply-system-visual .supply-stage { background:radial-gradient(ellipse at 50% 38%,#f4f9e8,#d9e6ce); }
.supply-system-visual .supply-stage canvas { filter:saturate(1.35) contrast(1.06); }
.supply-system-visual { border-color:#adc5a8; border-radius:4px; overflow:hidden; }
.supply-system-visual .supply-transport { background:#e4eed7; }
#supply-play { background:#f0ca73; border-color:#c29a42; color:#29442f; font-weight:650; }
#supply-curve { background:#fffef9; }
#supply-curve text { fill:#455e50; font-size:16px; }
#supply-curve-key { font-weight:600; }
.supply-system-workspace .case-plan { border-radius:4px; border-color:#b6c6b0; border-left:4px solid #a44e32; background:#fffef9; }
.supply-system-workspace .case-plan.reserve-plan { border-left-color:#aa7b16; background:#faf0d7; }
.supply-system-workspace .case-plan.local-plan { border-left-color:#087963; background:#e9f3dc; }
.supply-system-workspace .case-plan h3 { font-weight:650; }
.supply-system-workspace .case-unmet>b { font-size:32px; font-variant-numeric:tabular-nums; color:#a13d28; }
.supply-system-workspace .case-demand-bar { height:8px; border-radius:1px; }
.supply-system-visual .supply-scene-label { border-color:#5c9678; box-shadow:0 3px 8px #123b3520; }
#dependency-lab,#decision-lab { border-color:#9ab89e; border-radius:4px; }
#dependency-lab>summary,#decision-lab>summary { background:#f1f5e8; }

/* Keep Capacity's dark instrument field; brighten the actual result, not the room. */
#scale .scale-workbench { background:#103c35; border:1px solid #2e6c58; border-radius:6px; overflow:hidden; box-shadow:var(--v-shadow); }
#scale .network-pane { background:radial-gradient(ellipse at 25% 30%,#1b5043,#103c35 85%); }
#scale .scale-controls { background:#194b3e; border-left-color:#47765b; }
#scale .network-bus { stroke:#c0dcad; stroke-width:3; }
#scale .pod-outline { fill:#f6f4de; stroke:#d2e5b4; }
#scale .pod-roof { fill:#b4d2ac; }
#scale .release-box { fill:#d6ef9e; stroke:#ecf6c8; stroke-width:2; }
#scale .output-bars .output-row b { color:#def4a7; }
#scale .output-row i { background:#d6ef9e; }
#scale .scale-readout h3 { color:#f3efcf; }
#scale .scale-readout>p:last-child { color:#d8e6d2; }
#capacity-next { background:#103e32; border-color:#6c9470; }
#capacity-next button:not(:disabled) { border-color:#b7ce95; }
#capacity-next button:not(:disabled):hover { background:#d9edb7; }

.one-console { border-radius:6px; overflow:hidden; border-color:#b3c5b0; box-shadow:var(--v-shadow); }
.one-switch button[aria-pressed=true] { background:#d9ebc8; }
.one-visual { border-radius:4px; }
.evidence-index button[aria-pressed=true],.evidence-index button[aria-selected=true] { background:#e0edcf; }
.evidence-card { border-top:4px solid var(--teal); }
.exhibit-footer { background:#fffef9; border-top-color:#b8c8b9; }
.visual-r10 .exhibit-footer #room-next { border:1px solid #0b715c; background:#087963; color:#fffef9; padding:9px 14px; border-radius:3px; min-height:44px; }
#room-next:hover { background:#065f4e; }
#room-next:focus-visible { outline-color:#aa4426; }

@media (min-width:1500px) {
  .intro-scene>img { max-height:540px; }
  .intro-questions span { font-size:14px; }
  .intro-questions small { font-size:11px; }
}
@media (max-width:1100px) {
  .start-room { gap:24px; }
  .intro-questions { grid-template-columns:1fr; }
  .intro-questions button { min-height:0; padding:10px 12px; align-items:baseline; }
  .intro-questions button+button { border-left:0; border-top:1px solid var(--line); }
  .intro-questions small { display:block; font-size:10px; }
  .intro-scene>img { max-height:410px; }
}
@media (max-width:760px) {
  .start-room { gap:0; }
  .start-room .intro-copy { display:contents; }
  .intro-copy>.eyebrow { margin-bottom:14px; }
  .start-room .intro-scene { gap:12px; order:3; }
  .start-room .intro-scene>img { max-height:none; border-radius:7px; }
  .intro-questions button { padding:12px; min-height:48px; }
  .intro-questions small { display:block; }
  .batch-story dl>div,.batch-story dl>div:first-child { padding:10px; }
  .batch-story dl>div:last-child { padding:9px 10px; }
  .batch-story dd { font-size:12px; }
  #room-next { padding:7px 9px; font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { .visual-r10 .primary { transition:none; } }
@media print {
  .intro-scene>img,.pod-view canvas,.supply-system-visual .supply-stage canvas { filter:none; box-shadow:none; }
  .pod-workbench,.supply-theatre,.one-console,#scale .scale-workbench { box-shadow:none; }
}
