:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  --bg: #0b1017;
  --panel: #121b25;
  --line: #314355;
  --muted: #aabac9;
  --text: #edf4fa;
  --cyan: #7fdbf6;
  --green: #93e4b2;
  --amber: #ffd17e;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; }
a { color: var(--cyan); }
button, input, select, textarea { font: inherit; }
button, input, select, textarea { color: var(--text); background: #0c151e; border: 1px solid #526e82; padding: .65rem .75rem; border-radius: 3px; }
button { cursor: pointer; min-height: 42px; }
button:hover { background: #263f51; }
button:disabled { cursor: default; opacity: .54; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.primary { background: #16465d; border-color: #75c7e1; font-weight: 650; }
.top, footer { min-height: 54px; padding: .8rem clamp(1rem, 3vw, 2.5rem); display: flex; gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--line); background: #0f1721; }
.top .sim { margin-left: auto; color: var(--amber); }
.wordmark { color: white; font-size: 1.1rem; font-weight: 500; letter-spacing: .14em; text-decoration: none; white-space: nowrap; }
.wordmark strong { color: var(--cyan); }
#mode, .sim, .label, footer, .mono, .flag { font-family: "IBM Plex Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
#mode, .sim, .label { letter-spacing: .08em; font-size: .81rem; }
main { max-width: 1550px; min-height: calc(100vh - 108px); margin: auto; padding: 1.4rem clamp(.8rem, 2.5vw, 2rem); }
footer { border-top: 1px solid var(--line); border-bottom: 0; justify-content: space-between; color: var(--muted); font-size: .78rem; }
h1, h2, h3, p { margin: 0 0 .75rem; }
h1 { font-size: clamp(1.6rem, 3vw, 2.55rem); line-height: 1.08; }
h2 { font-size: 1rem; }
h3 { font-size: 1rem; }
.intro { margin: 0 auto; max-width: 580px; padding-top: 7vh; }
.label { color: var(--muted); }
.muted, .source { color: var(--muted); }
.amber { color: var(--amber); }
.green { color: var(--green); }
.cyan { color: var(--cyan); }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--line); padding: 1rem; border-radius: 4px; }
.panel > :last-child { margin-bottom: 0; }
.stack, form { display: grid; gap: .8rem; align-content: start; }
label { display: grid; gap: .35rem; }
select, textarea { max-width: 100%; }
.line { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.line.spread { justify-content: space-between; }
.metrics { display: flex; flex-wrap: wrap; gap: 1rem; }
.metrics > div { border-left: 2px solid var(--line); padding-left: .8rem; min-width: 115px; }
.metrics b { display: block; font-size: 1.1rem; margin-top: .25rem; }
.heading { padding: .5rem 0 1rem; }
.banner { margin-bottom: 1rem; padding: .8rem 1rem; background: #142936; border-left: 3px solid var(--cyan); }
.critical-reminder:not([hidden]) { position: sticky; top: .5rem; z-index: 4; display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; margin-bottom: .75rem; padding: .65rem .85rem; border: 1px solid #86683f; border-left: 4px solid var(--amber); background: #281f13; }
.critical-reminder strong, .critical-reminder small, .watch-strip b .amber { color: var(--amber); }
.critical-reminder small:empty { display: none; }
.panel[id^="instrument-"] { scroll-margin-top: 8rem; }
.columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.flag { font-size: .78rem; padding: .18rem .35rem; border: 1px solid currentColor; border-radius: 2px; }
.chart { width: 100%; height: 182px; display: block; }
.value { color: var(--cyan); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.value small { font-size: 1.1rem; }
.chart-note { font-size: .87rem; }
.instrument-controls { padding: .8rem; border: 1px solid var(--line); background: #101923; }
.instrument-controls > label { font-weight: 650; }
.effects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.effects > div { display: grid; align-content: start; gap: .25rem; padding: .65rem; background: #0b141d; border-left: 2px solid #7483a3; }
.effects b { font-size: .87rem; }
.effects .mono { font-size: 1.12rem; }
.flight-window { margin-bottom: 1rem; }
.flight-window-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: .8rem; }
.camera-view { margin: 0; min-width: 0; background: #080f16; border: 1px solid var(--line); }
.camera-view img { display: block; width: 100%; height: 205px; object-fit: contain; }
.camera-view figcaption, .archive-photo figcaption { padding: .45rem .6rem; font-size: .8rem; }
#orbit-chart { width: 100%; height: 150px; border: 1px solid var(--line); }
#vehicle-chart { width: 100%; height: 85px; border: 1px solid var(--line); background: #080f16; }
.window-telemetry { padding: .65rem .75rem; background: #0d1720; border-left: 3px solid var(--cyan); }
.window-telemetry > .line { gap: .55rem 1rem; }
.window-telemetry b { margin-right: .25rem; }
.window-telemetry p { margin: .35rem 0 0; }
.command-strip { padding: .65rem .75rem; border: 1px solid var(--line); }
.command-strip p { margin: .4rem 0 0; }
.archive-photo { margin: .75rem 0; border: 1px solid var(--line); }
.archive-photo img { width: 100%; max-height: 320px; object-fit: contain; display: block; background: #0b1017; }
#nasa-archive h3 { margin-top: .8rem; }
#archive-data { display: grid; gap: .65rem; }
#archive-data p { margin-bottom: 0; }
.voice-player { width: min(100%, 330px); margin-top: .4rem; }
.message-log { max-height: 240px; overflow: auto; padding: 0; list-style: none; }
.message-log li { padding: .55rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.message-log li p { margin: .25rem 0 0; }
.roster { display: grid; gap: .3rem; }
.roster > div { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .28rem 0; border-bottom: 1px solid var(--line); }
.roster > div:last-child { border: 0; }
.roster small { font-size: .75rem; text-align: right; }
.roster button { min-height: 26px; padding: .15rem .4rem; }
.solo-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1.25rem; margin-bottom: 1rem; }
.solo-toolbar .line { align-items: end; }
.solo-toolbar select { max-width: min(70vw, 18rem); }
.top:has(#department-link:not([hidden])) { position: sticky; top: 0; z-index: 8; gap: clamp(.5rem, 2vw, 1.5rem); }
#department-link { font-size: .82rem; }
.department-panel { margin-bottom: .75rem; scroll-margin-top: 4.5rem; }
.department-calls, .department-roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: .45rem; }
.department-calls > div, .department-roster > div { min-width: 0; padding: .5rem; background: #101f2b; border-top: 2px solid #526e82; }
.department-calls > div { display: grid; align-content: start; gap: .2rem; }
.department-calls b { font-family: Consolas, monospace; }
.department-calls [data-status="CALLED"] { border-color: var(--cyan); }
.department-calls [data-status="GO"] { border-color: var(--green); color: var(--green); }
.department-calls [data-status="NO-GO"] { border-color: var(--amber); color: var(--amber); }
.department-panel details, .department-panel form, #department-actions:not(:empty) { margin-top: .6rem; }
.department-roster ul { list-style: none; padding: 0; margin: .3rem 0 0; font-size: .79rem; }
.department-roster li { display: grid; gap: .15rem; padding-block: .15rem; }
.department-panel button { min-height: 32px; padding: .3rem .55rem; }
.department-panel summary { cursor: pointer; }
.camera-panel { display: grid; gap: .5rem; }
.camera-panel :is(h2, p, figure) { margin: 0; }
#camera-simulation, #iss-player iframe, .camera-archive-grid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #060c13; border: 1px solid #345367; }
#camera-simulation[hidden] { display: none; }
#iss-player iframe { margin-top: .5rem; }
.camera-archive-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: .5rem; padding-top: .5rem; }
.camera-archive-grid figcaption { padding-top: .35rem; font-size: .8rem; }
.camera-panel summary { cursor: pointer; }
.camera-panel #iss-camera button { margin-block: .5rem; }
.read-instructions { margin-bottom: .65rem; }
.read-instructions button { min-height: 32px; }
#board-audio-caption:empty { display: none; }
.station-tracking { gap: .55rem; }
.station-tracking :is(h2, h3, p) { margin: 0; }
.station-tracking canvas { display: block; width: 100%; background: #080f16; border: 1px solid #345367; }
#station-track { height: 190px; }
#station-range { height: 95px; }
.tracking-trend { display: grid; gap: .35rem; }
.tracking-trend h3 { color: #c2d6e3; font: .78rem "IBM Plex Mono", Consolas, monospace; }
.tracking-radio { border-top: 1px solid #345367; padding-top: .4rem; font: .75rem "IBM Plex Mono", Consolas, monospace; }
.tracking-radio progress { width: 100%; height: .4rem; accent-color: var(--cyan); }
.watch-columns .briefing-image { height: 205px; }
.chart-key { display: flex; flex-wrap: wrap; gap: .65rem; color: #c2d6e3; font-size: .78rem; }
.chart-key span::before { content: ""; display: inline-block; width: .9rem; margin-right: .27rem; vertical-align: middle; border-top: 2px solid var(--cyan); }
.chart-key span:nth-child(2)::before { border-top: 2px dashed var(--amber); }
.chart-key span:nth-child(3)::before { border-top: 2px dashed #baadff; }
.instrument-notes summary { color: #bdd0df; cursor: pointer; }
.instrument-notes p:first-of-type { margin-top: .65rem; }
.margin-chart { position: relative; display: grid; align-items: center; height: .75rem; }
.margin-chart progress { appearance: none; width: 100%; height: .28rem; border: 0; background: #263b4c; }
.margin-chart progress::-webkit-progress-bar { background: #263b4c; }
.margin-chart progress::-webkit-progress-value { background: var(--cyan); }
.margin-chart span { position: absolute; left: 50%; height: .68rem; border-left: 2px solid var(--amber); }
.system-preview { display: block; width: 100%; height: 84px; border: 1px solid #345367; background: #080f16; }
.image-trigger { display: block; width: 100%; padding: 0; border: 0; background: #080f16; cursor: zoom-in; }
.briefing-image .image-trigger { min-height: 0; overflow: hidden; }
.briefing-image figcaption { pointer-events: none; }
.briefing-image figcaption span { color: #b7d0dd; font: .72rem "IBM Plex Mono", Consolas, monospace; }
.school-image-credit { min-height: 30px; border-color: #5a788e; }
.archive-viewer { width: min(100% - 1rem, 1050px); max-height: 95vh; padding: 1rem; border: 1px solid #526e82; background: #101923; color: var(--text); }
.archive-viewer::backdrop { background: #05090de8; }
.archive-viewer form { display: flex; justify-content: end; }
.archive-viewer figure { margin: .6rem 0; }
.archive-viewer img { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #080f16; }
.archive-viewer figcaption { margin-top: .55rem; }
.command-strip #command-result:empty { display: none; }
.error { color: var(--amber); min-height: 1.2em; }
.mission-map { position: relative; isolation: isolate; min-height: 290px; display: grid; place-items: center; overflow: hidden; background: #090e15; border: 1px solid var(--line); }
.mission-map::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(#27415840 1px, transparent 1px), linear-gradient(90deg,#27415840 1px,transparent 1px); background-size: 35px 35px; mask-image: radial-gradient(ellipse, black, transparent 85%); }
.planet { border-radius: 50%; aspect-ratio: 1; height: 68%; max-height: 365px; position: absolute; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 33% 30%, #bc825d, #82472f 49%, #3b211c 78%); box-shadow: 0 0 45px #c6733935; }
.planet img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.orbit { position: absolute; width: min(69%, 660px); height: 56%; border: 2px solid #7fdbf6; border-radius: 50%; transform: rotate(-15deg); }
.orbit::after { content: ""; width: 10px; height: 10px; border: 2px solid #d9f4ff; background: #1c5168; position: absolute; right: 6%; top: 12%; }
.map-label { position: absolute; top: 1rem; left: 1rem; }
.map-credit { position: absolute; bottom: .6rem; right: .8rem; font-size: .72rem; }
.map-note { position: absolute; bottom: .6rem; left: .8rem; color: var(--muted); font-size: .78rem; }
.board-title h1 { font-size: clamp(2rem, 4.6vw, 4.6rem); }
.board .mission-map { min-height: clamp(320px, 50vh, 620px); }
.board .label { font-size: clamp(.83rem, 1.2vw, 1.13rem); }
.board .map-credit, .board .map-note { font-size: clamp(.65rem, 1vw, .9rem); }
.board .metrics b { font-size: clamp(1.3rem, 2.45vw, 2.6rem); }
.board-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 1rem; }
.board-side .panel { padding: clamp(.85rem, 1.6vw, 1.5rem); }
.board-side p { font-size: clamp(1.05rem, 1.6vw, 1.65rem); }
.board-side h2 { font-size: clamp(1rem, 1.55vw, 1.6rem); }
.board-phases { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; margin-top: 1rem; }
.board-phases div { padding: .7rem; border-top: 3px solid var(--line); background: var(--panel); }
.board-phases [aria-current] { border-color: var(--cyan); color: var(--cyan); }
:fullscreen #fullscreen { display: none; }
.rover-grid { display: grid; grid-template-columns: repeat(4, minmax(40px, 70px)); gap: 2px; }
.rover-grid span { background: #0b121a; border: 1px solid var(--line); display: grid; place-items: center; min-height: 43px; font-family: Consolas, monospace; }
.rover-grid .path-cell { background: #173d4f; color: var(--cyan); border-color: #5299b2; }
details summary { cursor: pointer; }
dl { display: grid; grid-template-columns: minmax(100px, auto) 1fr; gap: .5rem .8rem; }
dt { color: var(--cyan); }
dd { margin: 0; }
@media (max-width: 760px) {
  .columns, .board-grid, .flight-window-grid { grid-template-columns: 1fr; }
  .board-phases { grid-template-columns: repeat(2, 1fr); }
  .top { gap: .7rem; }
  #mode { font-size: .68rem; }
  footer { gap: .7rem; }
}

/* Mission consoles use compact, aligned instrument rows and visible procedures. */
.ops { background: #0a1119; font-size: 14px; }
.ops .top { min-height: 40px; background: #111e29; }
.ops main { padding-top: .65rem; }
.ops .panel { border-radius: 0; border-color: #344855; background: #111c26; }
.ops .heading { padding: .4rem 0 .65rem; }
.ops h1 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); margin-bottom: .4rem; }
.ops .panel h2 { border-bottom: 1px solid #344855; padding-bottom: .4rem; letter-spacing: .035em; }
.ops .watch-columns { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: .65rem; }
.ops .stack { gap: .55rem; }
.ops .banner { padding: .5rem .75rem; margin-bottom: .5rem; }
.ops .error:empty, .ops [id^="alert-"]:empty { display: none; }
.ops .flight-window { margin: 0; }
.ops .flight-window-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: .55rem; }
.ops .camera-view img { height: 140px; }
.ops #orbit-chart { height: 115px; }
.ops #vehicle-chart { height: 73px; }
.ops .command-strip button, .ops .instrument-controls button { min-height: 36px; }
.ops .command-strip h3 { margin: 0; font: 600 .78rem Consolas, monospace; color: #bddbea; }
.ops .command-strip #command-result { margin: .45rem 0 0; }
.ops .command-strip #command-result:empty { margin: 0; }
.ops .chart { height: 140px; }
.ops .effects > div { background: #0a141d; border-left: 0; border-top: 2px solid #587386; }
.ops .instrument-controls { padding: .65rem; background: transparent; }
.watch-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 .55rem; background: #385466; border: 1px solid #385466; }
.watch-strip > div { display: grid; gap: .16rem; padding: .5rem .7rem; background: #122330; }
.watch-strip span { font: .71rem Consolas, monospace; color: #bdcdd8; }
.watch-strip b { color: #b3e9fa; }
.watch-mode .panel h2 { color: #d6edf9; }
.watch-mode .watch-heading { border-bottom: 1px solid #385466; margin-bottom: .55rem; }

.wall-mode { background: #070d14; }
.wall-mode .top, .wall-mode footer { display: none; }
.wall-mode #app { max-width: 2200px; min-height: 100vh; padding: clamp(.6rem, 1.3vw, 1.5rem); }
.control-wall { display: grid; gap: clamp(.45rem, .8vw, 1rem); }
.wall-clockbar { display: grid; grid-template-columns: minmax(170px, 1.45fr) repeat(4, minmax(94px, 1fr)) auto; align-items: stretch; border: 1px solid #375063; background: #111f2c; }
.wall-clockbar > div { padding: clamp(.52rem, 1.02vw, 1.25rem); min-width: 0; border-right: 1px solid #375063; }
.wall-clockbar span, .wall-objective span { display: block; color: #bacbd7; font: clamp(.67rem, .86vw, 1.1rem)/1.25 Consolas, monospace; }
.wall-clockbar h1 { margin: .26rem 0 0; font-size: clamp(1.2rem, 1.9vw, 2.7rem); }
.wall-clockbar strong { color: #ffce79; display: block; margin-top: .26rem; font: 600 clamp(1.13rem, 1.8vw, 2.4rem)/1.05 Consolas, monospace; white-space: nowrap; }
.wall-clockbar small { color: #e7b768; font-size: .48em; }
.wall-clockbar button { align-self: center; margin: .55rem; white-space: nowrap; }
.wall-monitors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr) minmax(0, 1fr); gap: inherit; align-items: stretch; }
.wall-monitor { min-width: 0; border: 1px solid #3b586d; background: #0f1924; }
.wall-monitor h2 { display: flex; align-items: center; gap: .55em; margin: 0; padding: .4em .65em; border-bottom: 1px solid #46708b; background: #1a3b54; font-size: clamp(.99rem, 1.4vw, 1.85rem); }
.wall-monitor h2 span { padding-right: .52em; border-right: 1px solid #63839a; color: #b9e8f8; font: .8em Consolas, monospace; }
.wall-block { padding: clamp(.5rem, .8vw, .92rem); border-bottom: 1px solid #294050; }
.wall-block:last-child { border-bottom: 0; }
.wall-block h3 { margin: 0 0 .42rem; color: #b8dbea; font: 600 clamp(.71rem, .95vw, 1.2rem) Consolas, monospace; }
.wall-note { color: #b8c9d6; font-size: clamp(.75rem, .94vw, 1.13rem); margin: .45rem 0 0; }
.wall-log { list-style: none; padding: 0; margin: 0; min-height: 5.7em; }
.wall-log li { display: grid; grid-template-columns: 5em 1fr; gap: .48em; padding: .23em .35em; border-bottom: 1px solid #273d4d; }
.wall-log li:first-child { background: #142c3d; }
.wall-log time, .wall-links td, .wall-readings dd { font-family: Consolas, monospace; font-variant-numeric: tabular-nums; }
.wall-log time { color: #ffd17e; }
.wall-links, .wall-log, .wall-readings, .wall-status { font-size: clamp(.8rem, 1.04vw, 1.36rem); }
.wall-links { width: 100%; border-collapse: collapse; }
.wall-links th, .wall-links td { padding: .32em .35em; border-bottom: 1px solid #2e4454; text-align: left; }
.wall-links thead th { color: #b9c9d5; background: #122331; font-size: .88em; }
.link-receiving { color: #9be3be; }
.link-shadow, .link-pending { color: #ffd17e; }
.wall-status p { margin: 0 0 .36em; }
.wall-status strong { color: #a3e2fa; }
.wall-map { margin: 0; position: relative; background: #080f16; }
.wall-map img { display: block; width: 100%; height: clamp(132px, 23vh, 315px); object-fit: cover; object-position: 50% 50%; }
.wall-map figcaption { position: absolute; bottom: 0; left: 0; background: #07101a; color: #f2f7fa; padding: .35em .65em; font: clamp(.7rem, .92vw, 1.12rem) Consolas, monospace; }
.wall-orbit canvas, .wall-plot canvas, #wall-vehicle { display: block; width: 100%; border: 1px solid #314c5f; height: clamp(120px, 20vh, 310px); }
.wall-orbit canvas { height: clamp(105px, 21vh, 255px); }
#wall-vehicle { height: clamp(77px, 10.5vh, 150px); margin-top: .55rem; background: #080f16; }
#wall-vehicle[hidden] { display: none; }
.wall-readings { margin: 0; grid-template-columns: 1fr auto; gap: 0; }
.wall-readings dt, .wall-readings dd { padding: .33em .4em; border-bottom: 1px solid #294050; }
.wall-readings dt { color: #c3d4df; }
.wall-readings dd { color: #9de5fb; font-weight: 600; text-align: right; }
.wall-objective { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35em .85em; padding: .52rem .72rem; background: #102334; border-left: 3px solid #6baac8; font-size: clamp(.93rem, 1.25vw, 1.65rem); }
.wall-objective p { flex-basis: 100%; margin: 0; color: #b8c9d6; font-size: .84em; }
.wall-objective p:empty { display: none; }
.wall-objective .wall-critical { color: var(--amber); font-size: inherit; }
.control-wall .board-phases { margin: 0; font-size: clamp(.72rem, 1.02vw, 1.25rem); gap: .3rem; }
.control-wall .board-phases { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wall-outbound { grid-column: span 2; }
.wall-outbound .panel { padding: clamp(1.1rem, 2vw, 2.2rem); background: #0f1924; border: 0; font-size: clamp(1.05rem, 1.45vw, 1.6rem); }
.wall-outbound h2 { font-size: 1.35em; }
.outbound-flight progress { width: 100%; height: .8rem; accent-color: var(--cyan); }
.flight-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; gap: .25rem; }
.flight-steps li { padding: .4em; border-top: 2px solid #426075; color: var(--muted); }
.flight-steps li[aria-current] { background: #18364a; border-color: var(--cyan); color: var(--text); }
.control-wall .board-phases > div { background: #0f1924; border-radius: 0; padding: .45em .55em; }
.control-wall .board-phases > [aria-current] { background: #1b3a4d; }
.control-wall .error { margin: 0; }
@media (max-width: 1040px) {
  .wall-clockbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wall-clockbar .wall-title { grid-column: span 3; }
  .wall-clockbar button { grid-row: 1; grid-column: 4; justify-self: end; }
  .wall-monitors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .ops .watch-columns { grid-template-columns: 1fr; }
  .wall-monitors { grid-template-columns: 1fr; }
  .wall-outbound { grid-column: auto; }
  .control-wall .board-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 525px) {
  .watch-strip, .wall-clockbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall-clockbar .wall-title { grid-column: 1; }
  .wall-clockbar button { grid-column: 2; }
}
@media (min-width: 851px) and (max-height: 800px) {
  .control-wall { gap: .55rem; }
  .wall-plot canvas { height: max(110px, 17vh); }
  #wall-vehicle { height: max(72px, 9.5vh); }
}
