:root{--ink:#0b232c;--panel:#102e37;--line:#24434b;--muted:#94adb2;--accent:#efb36b;--soft:#ebf1ed;--cyan:#a5e7db}*{box-sizing:border-box}html{background:#071922}body{margin:0;background:radial-gradient(ellipse at 30% -18%,#1d4451 0%,#071923 57%);color:var(--soft);font:15px/1.52 Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:.02em}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #f9d48b;outline-offset:3px}.shell{max-width:1600px;margin:auto;padding:0 36px}.sitebar{height:68px;border-bottom:1px solid #26424b;display:flex;justify-content:space-between;align-items:center}.brand{font-size:14px;text-decoration:none;color:#e9f2ed;font-weight:800;letter-spacing:.025em}.brand-mark{color:var(--accent);font-size:24px;vertical-align:-2px;margin-right:6px}.brand-sub{color:#67878f;font-size:10px;font-weight:700;letter-spacing:.14em;margin-left:11px}.sitebar nav{display:flex;gap:25px}.sitebar nav a{color:#acc2c5;text-decoration:none;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:750}.sitebar nav a:hover{color:white}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:27px 0 23px}.eyebrow{font-size:10px;letter-spacing:.26em;color:#e2b479;font-weight:800;margin:0 0 7px}.intro h1{font-size:clamp(38px,4.2vw,67px);line-height:.99;letter-spacing:-.072em;margin:0;color:#eef7ee;font-weight:900}.intro h1 em{color:#d9a96a;font-style:normal;font-weight:350}.title-mark{color:#c1f0dc}.intro-copy{color:#94afb2;font-size:12px;margin:11px 0 0;max-width:610px}.intro-meta{white-space:nowrap;display:flex;gap:11px;align-items:center;color:#b3bfc0;font-size:10px;letter-spacing:.1em;font-weight:700;padding-bottom:5px}.live-dot,.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#84ddba;box-shadow:0 0 14px #84ddbaba}.divider-vertical{height:16px;width:1px;background:#46616a}.workgrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:17px;align-items:start}.main-pane{min-width:0;border:1px solid #274851;background:#0e2a34;border-radius:16px;overflow:hidden;box-shadow:0 24px 70px #0005}.scene-top{height:38px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;background:#11323c;border-bottom:1px solid #244751;color:#d5e4dd;font-size:10px;font-weight:800;letter-spacing:.115em}.scene-label,.scene-readout{display:flex;align-items:center;gap:15px}.scene-readout{color:#9bd9c8}.scene-readout #status-label{color:#e2b879}.stage{position:relative;background:#143340;line-height:0;overflow:hidden}.stage canvas{width:100%;aspect-ratio:1100/610;display:block;touch-action:none}.stage-tip{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:800;letter-spacing:.115em;color:#d9ede3;background:#071b23c9;padding:8px 13px;border:1px solid #53747980;border-radius:5px;white-space:nowrap;line-height:1.1;pointer-events:none}.stage-shade{position:absolute;inset:0;background:linear-gradient(#04182099,#051925db);display:flex;align-items:center;justify-content:center;padding:20px;line-height:1.45}.stage-shade.hidden{display:none}.modal{width:min(460px,95%);text-align:center;background:linear-gradient(148deg,#183d47ee,#0b232eF9);border:1px solid #63818075;box-shadow:0 24px 85px #000a;padding:27px 27px 25px;border-radius:12px}.modal-kicker{font-size:10px;letter-spacing:.26em;color:#efba77;font-weight:800}.modal h2{font-size:clamp(22px,2.8vw,33px);line-height:1.15;letter-spacing:-.045em;margin:11px 0 9px}.modal p{color:#b2cbd0;font-size:12px;margin:0 auto;max-width:365px}.modal-stats{display:flex;justify-content:center;gap:15px;color:#86cbb9;font-size:10px;padding:17px 0 20px;flex-wrap:wrap}.big-btn{width:100%;min-height:45px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:5px;background:#eab879;color:#152831;font-size:12px;font-weight:900;letter-spacing:.07em;padding:0 20px;transition:background .15s,transform .15s}.big-btn:hover{background:#ffd293;transform:translateY(-1px)}.big-btn span{font-size:18px}.operator-bar{background:#0f2c36;display:flex;align-items:stretch;gap:11px;padding:12px 15px;border-top:1px solid #315561}.ops-group{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.ops-title{color:#88a6ac;letter-spacing:.12em;font-size:9px;font-weight:850}.ops-buttons{display:flex;gap:7px}.ops-buttons button,.brake-btn,.action-btn{height:39px;border-radius:5px;border:1px solid #46636a;background:#1d404b;color:#f3f7ed;font-weight:800;transition:background .12s,transform .12s;touch-action:none;user-select:none}.ops-buttons button:active,.ops-buttons button.held,.brake-btn:active,.brake-btn.held{background:#46727a;transform:translateY(1px)}.ops-buttons button{width:50%;font-size:16px}.action-ops{flex:1.8}.action-btn{background:#e9b779;border-color:#e9b779;color:#162830;text-align:left;padding:0 12px;font-size:11px;white-space:nowrap}.action-btn span,.brake-btn span{font-size:9px;opacity:.7;float:right}.action-btn:hover{background:#ffd59d}.stabilizer{flex:1.05}.brake-btn{padding:0 10px;text-align:left;font-size:11px}.scene-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;background:#0c252f;padding:9px 15px;color:#7398a1;letter-spacing:.11em;font-size:8px;font-weight:800}.scene-foot button{flex:none;color:#b4d6cf;background:none;border:0;font-size:10px;font-weight:850}.side-pane{min-width:0;display:flex;flex-direction:column;gap:11px}.hud-card{background:#102d37;border:1px solid #2d4b52;border-radius:10px;padding:17px;box-shadow:0 12px 30px #0002}.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8ca6ad;font-size:9px;font-weight:850;letter-spacing:.16em}.contract{background:linear-gradient(153deg,#1a3c46,#0f2b35 74%);border-color:#42616a}.contract h2{font-size:24px;letter-spacing:-.055em;line-height:1.05;margin:16px 0 8px}.contract p{font-size:11px;color:#aac3c7;margin:0 0 16px;min-height:29px}.progressline,.meter{height:6px;background:#2b4b54;border-radius:12px;overflow:hidden}.progressline>div{height:100%;width:0;background:linear-gradient(90deg,#8bceb9,#e6c887);transition:width .25s}.stat-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;color:#8cabb0;font-size:10px;letter-spacing:.1em;font-weight:800}.stat-row strong{font-size:18px;letter-spacing:-.035em;color:#f2e7d5}.tag{background:#2e625c;color:#9cf0c7;border-radius:3px;padding:3px 6px;font-size:8px}.cargo-line{display:flex;align-items:center;gap:10px;margin:18px 0}.cargo-swatch{width:38px;height:38px;flex:none;background:#589cc0;border:2px solid #ffffff3b;border-radius:5px;box-shadow:inset -6px -5px 0 #0003}.cargo-info{min-width:0;flex:1}.cargo-info strong,.cargo-info small{display:block;white-space:normal}.cargo-info strong{font-size:11px;color:#e5f2ea}.cargo-info small{font-size:9px;color:#96b0b5;margin-top:2px}.cargo-step{font-size:22px;color:#607d84;font-weight:800}.distance-box{display:flex;align-items:center;justify-content:space-between;color:#93adb3;font-size:10px;letter-spacing:.1em;font-weight:800;margin:13px 0 6px}.distance-box strong{color:#edf1df;letter-spacing:0;font-size:12px}.meter i{display:block;height:100%;width:0%;background:linear-gradient(90deg,#89d5bc,#f5b572);transition:width .15s}.tiny-amber{color:#d9b474}.console-grid{margin:17px 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.console-grid>div{padding:10px;border:1px solid #34515a;background:#0a2530;border-radius:5px}.console-grid span,.console-grid strong{display:block}.console-grid span{font-size:9px;letter-spacing:.1em;color:#8aa8ac}.console-grid strong{font-size:19px;letter-spacing:-.025em;margin-top:3px;color:#dff0e7;font-variant-numeric:tabular-nums}.cta-stack{display:flex;gap:7px}.secondary-btn{flex:1;min-height:36px;background:#21434d;border:1px solid #43626a;border-radius:4px;color:#d0dfd8;font-size:9px;letter-spacing:.06em;font-weight:850}.secondary-btn:hover{background:#305660}.guide-row{display:flex;gap:12px;border-bottom:1px solid #2a4a52;padding:11px 0}.guide-row b{color:#d2a66e;font-size:12px}.guide-row p{margin:0;color:#99b3b7;font-size:10px}.guide-row p strong{color:#daeae6;font-weight:800}.hotkeys{color:#7fa5a7;font-size:9px;line-height:1.8;margin:13px 0 0}.footer{display:flex;justify-content:space-between;gap:15px;padding:27px 0;color:#65848b;font-size:10px}.operator-bar button:disabled,.secondary-btn:disabled{opacity:.45;cursor:default}@media(max-width:1150px){.shell{padding:0 22px}.workgrid{grid-template-columns:minmax(0,1fr) 264px;gap:12px}.hud-card{padding:13px}.operator-bar{padding:10px;gap:8px}.ops-group{gap:4px}.intro h1{font-size:48px}.guide{display:none}}@media(max-width:890px){.workgrid{display:block}.side-pane{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.guide{display:block}.intro-meta{display:none}.intro{padding:25px 0 19px}.intro h1{font-size:clamp(36px,7vw,58px)}.shell{padding:0 18px}.footer{flex-wrap:wrap}}@media(max-width:520px){.shell{padding:0 10px}.sitebar{height:52px}.sitebar nav{gap:12px}.sitebar nav a{font-size:9px}.brand{font-size:12px}.brand-sub{display:none}.intro{padding:18px 2px 14px}.intro h1{font-size:43px}.intro-copy{font-size:10px;margin-top:8px}.scene-top{padding:0 9px;font-size:8px;height:32px}.scene-label,.scene-readout{gap:8px}.scene-readout #wind-label{display:none}.stage-tip{font-size:7px;bottom:7px;max-width:97%;text-overflow:ellipsis;overflow:hidden}.operator-bar{padding:9px 7px;gap:5px}.ops-group{gap:4px}.ops-title{font-size:8px}.ops-buttons{gap:3px}.ops-buttons button,.brake-btn,.action-btn{height:43px;font-size:12px}.action-ops{flex:1.65}.action-btn{font-size:9px;padding:0 5px;white-space:normal}.action-btn span,.brake-btn span{display:none}.brake-btn{font-size:10px;padding:0 5px}.scene-foot{padding:8px;font-size:7px}.scene-foot>span{max-width:70%}.side-pane{grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.hud-card{padding:11px}.contract h2{font-size:20px;margin:11px 0 6px}.contract p{font-size:10px;margin-bottom:10px}.stat-row{margin-top:8px}.stat-row strong{font-size:14px}.cargo-line{margin:8px 0}.cargo-swatch{width:27px;height:27px}.cargo-info strong{font-size:9px}.cargo-info small{font-size:8px}.cargo-step{display:none}.distance-box{font-size:8px;margin:10px 0 4px}.distance-box strong{font-size:10px}.station-card,.guide{display:none}.card-head{font-size:8px}.modal{padding:19px 14px}.modal h2{font-size:24px}.modal-stats{gap:7px}.footer{font-size:9px;padding:16px 0}.stage canvas{min-height:245px;object-fit:cover}}@media(max-width:350px){.intro h1{font-size:37px}.cargo-info small{font-size:7px}.ops-buttons button{font-size:10px}.stage canvas{min-height:220px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

.levels-card .board-copy{color:#82a3ac;font-size:10px;margin:9px 0 10px}.level-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.level-grid button{height:32px;border:1px solid #42606a;background:#1d3943;color:#b7cbc7;border-radius:4px;font-weight:750;font-size:10px}.level-grid button.current{color:#132930;background:#e0b679;border-color:#e0b679}.level-grid button.completed:not(.current){border-color:#659887;color:#9dd8c0}.level-grid button:disabled{opacity:.38;cursor:default}.level-grid button:hover:not(:disabled):not(.current){background:#356270}@media(min-width:891px) and (max-width:1499px){.workgrid{max-width:1076px;margin:0 auto;grid-template-columns:minmax(0,1fr) 292px}.intro{max-width:1076px;margin:0 auto;padding:17px 0 12px}.intro h1{font-size:48px}.sitebar{height:54px}}@media(max-width:520px){.levels-card{grid-column:1/-1}.level-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.level-grid button{height:32px}}

/* V0.635-Q1 — Flight Deck / Human Factors Upgrade */
:root{--glass:#0c2532;--ready:#a7efc5;--warn:#ffce8b}
.main-pane{border-color:#456572;box-shadow:0 2px 0 #99e0d01c inset,0 20px 90px #010e17a9;position:relative}
.scene-top{background:linear-gradient(90deg,#132e3b,#204758 56%,#102e39);border-color:#536e724f}
.scene-label,.scene-readout{font-variant-numeric:tabular-nums}
.stage{isolation:isolate}.stage::after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 35px #071a238a;z-index:1}
.floating-safety{position:absolute;top:12px;left:12px;z-index:2;pointer-events:none;display:flex;align-items:center;gap:8px;background:#0a2332df;border:1px solid #72909d8c;border-radius:7px;box-shadow:0 9px 24px #0006;padding:8px 11px;color:#cfe9dd;font-size:10px;font-weight:800;letter-spacing:.07em;line-height:1.2;max-width:72%}
.floating-safety .safety-light{width:8px;height:8px;border-radius:50%;background:#edb982;box-shadow:0 0 14px #edb98270;flex:none}
.floating-safety.ready{border-color:#98e6b89c}.floating-safety.ready .safety-light{background:#a3ecc4;box-shadow:0 0 15px #79e8b6}
.floating-safety.warning{border-color:#f2b5798c}.floating-safety.warning .safety-light{background:#f4a77a}
.safety-sep{opacity:.35}#safety-detail{color:#98b7bb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.operator-bar{border-top:1px solid #496b7080;background:linear-gradient(110deg,#143440,#0b2634);box-shadow:inset 0 1px #d5f1e30b}
.ops-buttons button,.brake-btn,.action-btn{border-radius:7px;font-weight:900;min-height:43px;box-shadow:inset 0 1px #ffffff20,0 3px 10px #0002}
.action-btn{background:linear-gradient(120deg,#f4d297,#dca86e);border-color:#f4d297}
.brake-btn{background:linear-gradient(120deg,#28545b,#1c424b);border-color:#568287}
.assist-row{display:flex;gap:7px;padding:9px 12px;align-items:center;border-top:1px solid #2e505b;background:linear-gradient(95deg,#102b38,#122f3e)}
.assist-row button{border:1px solid #456772;background:#1e3a49;color:#d4eae2;border-radius:6px;padding:7px 10px;white-space:nowrap;font-size:9px;font-weight:900;letter-spacing:.045em;min-height:32px}
.assist-row button[aria-pressed=true]{background:#255451;border-color:#4f9d84;color:#b4ffdb}
.assist-row button span{color:#b8dbcc}.assist-row button:hover{background:#346075}
#coach-inline{color:#a8c7cc;font-size:10px;margin-left:auto;max-width:42%;text-align:right;line-height:1.25}
.hud-card{border-color:#41616a60;box-shadow:0 8px 25px #020e1636,inset 0 1px #c4e9d209}.contract{background:linear-gradient(125deg,#214550,#102b35 77%)}
.combo-row strong{color:#b5f1cc}
.drop-readiness{margin:15px -2px 0;padding:13px 12px;border:1px solid #466572;border-radius:9px;background:linear-gradient(135deg,#163b49,#102b37);display:flex;flex-direction:column;gap:4px}
.drop-readiness.ready{border-color:#6cad96;background:linear-gradient(135deg,#164b49,#163a3e)}
.readiness-kicker{font-size:8px;color:#93b6be;letter-spacing:.17em;font-weight:900}
.drop-readiness strong{font-size:13px;font-weight:900;letter-spacing:.025em;color:#e8c18d}
.drop-readiness.ready strong{color:#a8f4c5}
.drop-readiness p{margin:0;color:#c0d2cd;font-size:10px;line-height:1.55}
.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:6px}
.check-grid span{background:#123140;border:1px solid #375563;padding:5px 4px;border-radius:5px;color:#9cabb0;font-size:8px;font-weight:850;text-align:center;letter-spacing:.025em}
.check-grid .pass{color:#b0f5c9;background:#1b4a46;border-color:#4f9b7d}
.scene-foot{border-top:1px solid #ffffff0c}
@media(max-width:890px){.floating-safety{top:8px;left:8px;padding:5px 7px;font-size:8px}.assist-row{flex-wrap:wrap}.assist-row button{font-size:9px}.drop-readiness{margin-top:11px}}
@media(max-width:520px){.floating-safety{max-width:83%;font-size:7px;gap:5px;top:6px;left:6px}.floating-safety .safety-light{width:6px;height:6px}.floating-safety #safety-detail{display:none}.assist-row{padding:7px;gap:5px}.assist-row button{min-height:33px;padding:5px 7px;font-size:8px}.assist-row #coach-inline{flex:1 0 100%;max-width:100%;text-align:left;font-size:9px;margin-left:0}.drop-readiness{padding:9px}.drop-readiness strong{font-size:11px}.drop-readiness p{font-size:9px}.check-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.check-grid span{font-size:7px;padding:4px 1px}.stage-tip{bottom:6px}.stage canvas{min-height:0;object-fit:contain}}
@media(min-width:891px) and (max-width:1499px){.intro{padding:12px 0 9px}.intro h1{font-size:43px}.intro-copy{margin-top:6px}.scene-top{height:34px}.operator-bar{padding:8px 12px}.scene-foot{padding:6px 12px}.assist-row{padding:6px 12px}.assist-row button{min-height:30px;padding:5px 8px}.workgrid{max-width:1080px}.sitebar{height:50px}}
@media(prefers-reduced-motion:reduce){.stage::after{box-shadow:inset 0 0 12px #071a2335}}

/* V0.635-Q2 Command Deck — high-contrast, responsive, state-driven game interface */
:root{--night:#081e28;--steel:#2a4f5a;--cream:#f3f1df;--gold:#edc18a;--sea:#75d5bc}
body{background:radial-gradient(ellipse 100% 65% at 10% 0%,#235063 0%,#0a2732 43%,#061923 90%);color:#ebf5ef}
.shell{max-width:1670px}.sitebar{border-color:#64838830}.brand-mark{display:inline-block;transform:rotate(3deg)}
.intro h1{font-weight:850;letter-spacing:-.075em}.intro h1 em{font-weight:380}.intro-copy{max-width:700px;color:#b3c8ca}
.main-pane{border:1px solid #5b808c88;box-shadow:0 27px 95px #0008,0 1px 0 #d9faf218 inset;border-radius:13px}
.scene-top{background:linear-gradient(100deg,#1c4551,#102e3e);border-bottom-color:#4f7a8290}
.work-sequence{padding:8px 13px 9px;display:flex;align-items:center;gap:14px;border-top:1px solid #4e6d765f;border-bottom:1px solid #4e6d765f;background:linear-gradient(95deg,#103341,#173f4b 62%,#102b39);min-height:46px}
.sequence-heading{display:flex;flex-direction:column;flex:none;width:148px;gap:1px;font-size:8px;letter-spacing:.14em;font-weight:850;color:#8ab0b7}
.sequence-heading strong{color:#f0d0a0;font-size:9px;letter-spacing:.045em}
.sequence-steps{flex:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.sequence-steps span{display:flex;justify-content:center;align-items:center;text-align:center;min-height:27px;white-space:nowrap;padding:3px;border:1px solid #46626b;background:#14313e;border-radius:5px;font-size:9px;letter-spacing:.025em;color:#8daeb4;font-weight:850}
.sequence-steps span.passed{background:#205346;border-color:#45876f;color:#bbf8d3}.sequence-steps span.active{background:linear-gradient(100deg,#ffd99e,#dfae70);border-color:#ffe4b8;color:#20323a;box-shadow:0 0 16px #eac79020}
.operator-bar{background:#0b2935;border-top-color:#73929762}.operator-bar button{transition:background .13s,transform .13s,box-shadow .13s}.operator-bar button:hover{filter:brightness(1.12)}
.action-btn{background:linear-gradient(130deg,#ffe1ad,#e9b878);font-size:12px}.action-btn.drop-ready{background:linear-gradient(125deg,#b7f9d1,#65d5a6);border-color:#b6f7d1;animation:beacon 1.8s infinite}
@keyframes beacon{50%{box-shadow:0 0 0 3px #65d5a52b,inset 0 1px #fff8}}
.assist-row{background:linear-gradient(100deg,#123541,#0e2b38);flex-wrap:wrap;gap:6px}
.assist-row #focus-btn[aria-pressed=true]{border-color:#e3c08a;background:#554733;color:#ffe4b6}
.assist-row #effects-btn[aria-pressed=false]{background:#27363e;color:#b2bac0;border-color:#53636b}
#coach-inline{max-width:100%;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:150px}
.hud-card{background:linear-gradient(140deg,#143641,#0c2a36);border-color:#45646e80;border-radius:11px}
.contract{background:linear-gradient(145deg,#204852,#102e3b)}
.manifest-route{margin-top:14px;border-top:1px solid #50717b70;padding-top:11px}
.manifest-heading{display:flex;justify-content:space-between;gap:10px;font-size:9px;font-weight:850;color:#a7c7c7;letter-spacing:.11em}
.manifest-heading span:last-child{color:#eaca95;white-space:nowrap}
.manifest-track{display:flex;gap:5px;margin-top:8px}
.manifest-item{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px 3px;background:#102e38;border:1px solid #466672;border-top:3px solid var(--cargo-hex);border-radius:4px;color:#97acb5;font-size:8px;font-weight:850}
.manifest-item .manifest-glyph{font-size:11px;color:#e9ece6}.manifest-item.current{background:#22505a;border-color:#f3dbab;border-top-color:var(--cargo-hex)}.manifest-item.delivered{background:#205147;border-color:#408b71}.manifest-item.delivered .manifest-glyph{color:#9df3c6}
.alignment-map{margin:13px 0 5px;position:relative;height:43px;border-radius:7px;border:1px solid #40616c;background:repeating-linear-gradient(90deg,#0e2e39 0,#0e2e39 12%,#113745 12%,#113745 13%);box-shadow:inset 0 1px 10px #0004}
.alignment-map::before{content:'';position:absolute;inset:5px 43% 18px;border:1px dashed #97e9c3aa;border-radius:2px}
.alignment-center{position:absolute;width:2px;left:50%;top:0;bottom:12px;background:#a3ecc2;opacity:.7}
.alignment-dot{position:absolute;top:8px;left:50%;width:12px;height:12px;border-radius:50%;background:#ffd08f;transform:translateX(-50%);box-shadow:0 0 12px #e5aa69;border:2px solid #fff5d4;transition:left .08s linear}
.alignment-dot.aligned{background:#8aebbd;box-shadow:0 0 12px #60d5a6}
.alignment-legend{position:absolute;bottom:2px;inset-inline:6px;display:flex;align-items:center;justify-content:space-between;color:#829da6;font-size:7px;font-weight:850;letter-spacing:.045em}
.alignment-legend span:nth-child(2){color:#dbdac2;font-size:8px;max-width:60%;text-align:center}
.run-history{margin:13px 0 0;padding:11px 0 0;border-top:1px solid #43606b}
.history-head{display:flex;justify-content:space-between;gap:6px;font-size:8px;font-weight:850;color:#94b2b9;letter-spacing:.11em}
.history-head span:last-child{color:#e6bb82;text-align:right}.history-items{margin-top:8px;display:grid;gap:5px}
.history-items>span{font-size:9px;color:#75969e}.log-row{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #4b6671;background:#122c38;border-radius:5px;font-size:9px;color:#a5c9bc}
.log-row strong{color:#b4f1cf}.log-row.failed{border-color:#8a6159}.log-row.failed strong{color:#ecaf96}
.stage-tip{border-color:#73939d8c;box-shadow:0 3px 16px #03131ba6}
.focus-mode .intro,.focus-mode .side-pane{display:none!important}.focus-mode .workgrid{display:block;max-width:none}.focus-mode .main-pane{width:min(100%,calc((100vh - 220px)*1.803));margin:0 auto}.focus-mode .scene-foot{display:none}.focus-mode .sitebar{height:42px}.focus-mode .stage canvas{width:100%;max-height:calc(100vh - 225px)}.focus-mode .operator-bar{padding:7px 10px}.focus-mode .work-sequence{padding:5px 10px;min-height:35px}
@media(max-width:1150px){.work-sequence{gap:7px}.sequence-heading{width:128px}.sequence-steps span{font-size:8px}}
@media(max-width:890px){.work-sequence{padding:8px 10px}.focus-mode .main-pane{width:min(100%,calc((100vh - 225px)*1.803))}.side-pane{align-items:start}}
@media(max-width:520px){.intro{padding-top:13px}.intro h1{font-size:41px}.intro-copy{font-size:11px}.work-sequence{padding:6px;display:block;min-height:60px}.sequence-heading{width:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 2px 5px}.sequence-heading strong{font-size:8px}.sequence-steps{gap:3px}.sequence-steps span{font-size:7px;line-height:1.15;min-height:23px;padding:3px 1px;white-space:normal}.operator-bar{gap:4px;padding:7px 6px}.ops-buttons button,.brake-btn,.action-btn{min-height:47px}.assist-row #coach-inline{flex:1 0 100%;max-width:100%;white-space:normal}.manifest-track{gap:3px}.manifest-item{font-size:7px}.contract h2{margin-top:8px}.manifest-route{margin-top:9px}.focus-mode .main-pane{width:100%}.focus-mode .intro{display:none}.focus-mode .stage canvas{max-height:unset}}
@media(max-width:350px){.sequence-steps span{font-size:6.5px}.ops-title{font-size:7px}.work-sequence{min-height:63px}}
@media(prefers-reduced-motion:reduce){.action-btn.drop-ready{animation:none}.alignment-dot{transition:none}}
.side-pane,.side-pane>.hud-card,.alignment-map{min-width:0}
.alignment-legend>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.alignment-legend span:nth-child(2){flex:1;max-width:none;padding:0 2px;font-size:7px}
@media(max-width:520px){.side-pane{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hud-card{min-width:0}.alignment-map{max-width:100%}.history-head{flex-wrap:wrap}}

.assist-row #camera-btn[aria-pressed=true]{background:#294a59;border-color:#75d7c9;color:#c8fbec}
@media(max-width:520px){.assist-row #camera-btn{min-width:89px}}
