body.cockpit-active{height:var(--game-height,100dvh);min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:0!important;background:#0d1523}
body.cockpit-active>main,body.cockpit-active>#lessons,body.cockpit-active>#earthGuideDock{display:none!important}
body.cockpit-active>header{padding:8px 14px;flex:none;gap:10px;min-height:60px}
body.cockpit-active>header .brand{font-size:20px}body.cockpit-active>header .brand img{width:34px;height:34px}body.cockpit-active>header .brand small{font-size:11px}
body.cockpit-active>header nav>*{display:none}body.cockpit-active>header nav>#paper,body.cockpit-active>header nav>#options,body.cockpit-active>header nav>#earthFullscreen{display:inline-flex;align-items:center;min-height:44px}
body.cockpit-active #help #lessons{display:flex;flex-direction:column;overflow:visible;padding:5px;background:transparent}body.cockpit-active #help #lessons button{text-align:left;white-space:normal}
#earthFullscreen{font-size:12px}#cockpit{min-height:0;flex:1;display:flex;flex-direction:column;padding:9px 12px 12px;gap:9px;color:#e9eef6}
.cockpit-mission{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.cockpit-mission h2{font:700 18px/1.2 Arc,system-ui;margin:0}.cockpit-phases{display:flex;gap:9px;font-size:11px;color:#aebdd0}.cockpit-phases [aria-current=true]{color:#f5d392;border-bottom:2px solid #dfbd7e}
.cockpit-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(295px,34%);gap:12px;flex:1;min-height:0}
.cockpit-field{display:flex;flex-direction:column;min-width:0;min-height:0;gap:7px}.cockpit-sources{font-size:13px;line-height:1.8;margin:0;flex:none}.cockpit-sources span,.cockpit-hud span{padding:2px 4px;border:1px solid transparent;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.cockpit-hud{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:11px;line-height:1.5;background:#162237;padding:6px;border:1px solid #516278;border-radius:4px}
.cockpit-scene-host{flex:1;min-height:140px;display:flex;flex-direction:column}.cockpit-scene-host .scene-wrap{flex:1;min-height:120px;position:relative}.cockpit-scene-host #scene{width:100%;height:100%;position:absolute;inset:0;max-height:none}
.cockpit-scene-host #scene text{font-size:12px;fill:#eaf1f7;paint-order:stroke;stroke:#132134;stroke-width:3px;stroke-linejoin:round}.cockpit-vector{stroke:#d4b5f4;stroke-width:2;fill:none}
.cockpit-console.controls{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:10px;border-color:#756384;background:#182033;border-top-width:1px;position:relative}
.cockpit-console h3{font-size:15px;color:#f4d59c;margin:0 0 6px}.cockpit-work{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px;scroll-padding:8px}.cockpit-actions{flex:none;padding-top:8px;border-top:1px solid #61526f;display:flex;gap:7px}.cockpit-actions button{min-height:44px;padding:7px 10px;font-size:12px}.cockpit-actions .primary{flex:1;background:#e7c78e;color:#172133;border-color:#f4d395}
.tchart{margin:0;table-layout:fixed;border:0;font-size:14px}.tchart th,.tchart td{padding:4px;border:0;border-bottom:1px solid #3e4a60;background:transparent;vertical-align:middle}.tchart th{width:24%;font-weight:500}.tchart thead th{font-size:11px;color:#c4d0e0}.tchart small{display:block;font-size:11px;color:#b8c7da}.tchart td{width:38%}.tchart td:last-child{border-left:1px solid #4b5b72}
.tchart input,.tchart .chart-value{width:100%;height:44px;min-width:0;min-height:44px;padding:7px 6px;font-size:17px!important;text-align:center;background:#0f1828;color:#f1d49d;border:1px solid #758299;border-radius:4px}.tchart .chart-value small{font-size:11px}.tchart input::placeholder{color:#adb8c7;opacity:1}.tchart [data-cell][aria-selected=true]{outline:2px solid #d0afea;outline-offset:-1px;background:#34293f;box-shadow:0 0 9px #b989e655}.tchart [data-cell]:focus-visible{outline:3px solid #f2d290;outline-offset:1px}
.cockpit-lit{border-color:#d0afea!important;box-shadow:0 0 8px #be91e955;background:#33263f;color:#f4e8ff!important}
.cockpit-helper{font-size:12px;line-height:1.4;border-left:3px solid #c2a4df;padding:8px 9px;margin:8px 0;background:#282238}.cockpit-helper b{display:block;font-size:12px;color:#ecdbfc;margin-bottom:3px}.cockpit-helper p{margin:0}.cockpit-source-echo{font-size:11px;color:#d9c3ec;margin:0 0 5px}
.cockpit-formula{font-size:12px;line-height:1.4;color:#cfe4ed;margin:7px 0;white-space:pre-line}.cockpit-error{color:#ffd4bb;font-size:12px;line-height:1.4;margin:5px 0}.cockpit-small{font-size:11px;color:#c0cddc;line-height:1.4;margin:6px 0}
.cockpit-tools{display:flex;gap:5px;flex-wrap:wrap}.cockpit-tools button,.cockpit-tools a{font-size:11px;min-height:44px;padding:6px 9px}.cockpit-console textarea{width:100%;font-size:16px;min-height:88px;background:#101929;color:#eff2f7}.cockpit-console label{font-size:13px}
.cockpit-field .transport{padding:6px 0;margin:0;flex:none;border:0}.cockpit-field .transport button{min-height:44px}.cockpit-field .transport label{display:none}.cockpit-field .transport #clock{font-size:13px}.cockpit-field #replay{font-size:12px}
.cockpit-field #trial{width:100%;max-width:340px;padding:7px;font-size:13px}.cockpit-field #editWrap{display:flex;align-items:center;gap:8px;font-size:12px}.cockpit-field #edit{width:90px;padding:6px}
.cockpit-evidence{display:none;flex:1;min-height:0;overflow:auto;background:#162132;border:1px solid #536278;padding:8px}.cockpit-field[data-view=graph] .cockpit-scene-host{display:none}.cockpit-field[data-view=graph] .cockpit-evidence{display:block}.cockpit-evidence #graphPanel{display:block!important}.cockpit-evidence #chart{max-height:300px;min-height:140px}.cockpit-evidence table{font-size:12px}.cockpit-evidence .scrub-label{margin:0}.cockpit-evidence #scrub{height:28px}
.cockpit-view-switch{display:flex;gap:6px}.cockpit-view-switch button{font-size:11px;min-height:44px;padding:6px 9px}.cockpit-view-switch [aria-pressed=true]{border-color:#c6a7e8;background:#342a44;color:#efdefd}
.cockpit-review-data{font-size:12px;line-height:1.5;padding:8px;background:#101a2b;margin:6px 0;white-space:pre-line}.cockpit-review-data strong{color:#f0d299}.cockpit-review-select{width:100%;font-size:12px;padding:7px;margin:7px 0}.cockpit-console details{padding:0;font-size:12px}.cockpit-console summary{font-size:12px;min-height:44px}.cockpit-console details p{font-size:12px}
.cockpit-given-table{font-size:11px;margin:4px 0 8px}.cockpit-given-table th,.cockpit-given-table td{padding:3px 5px}
.angle-components{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.angle-value{display:flex;flex-direction:column;gap:4px;min-width:0}.angle-value>span{font-size:14px}.angle-value small{font-size:11px;color:#bbcadb}.angle-value input,.angle-value button{width:100%;height:44px;min-height:44px;font-size:17px!important;background:#101929;color:#f1d49d;border:1px solid #758299;border-radius:4px;padding:6px;text-align:center}.angle-value [aria-selected=true]{outline:2px solid #d0afea;background:#34293f;box-shadow:0 0 9px #b989e655}.angle-value input:focus-visible{outline:3px solid #f2d290}.angle-interval{display:block;color:#f1d49d;font-size:13px!important;margin:0 0 9px}.angle-interval select,#angleQuestion,#angleInspect{width:100%;min-height:44px;font-size:13px;padding:6px;margin:4px 0}#angledTchart .angle-value>span{display:none}#angledTchart .angle-value{display:block}#angleTelemetry{padding:4px 6px;margin:0;background:#19273b}#angleFormula{margin:4px 0}#angleFormula p{font-size:12px;line-height:1.4}
.cockpit-console.number-pad-open .cockpit-actions{visibility:hidden}.cockpit-console.number-pad-open .cockpit-work{overflow:hidden}.cockpit-console .number-pad{padding:9px}.cockpit-console .number-pad-keys{gap:5px}.cockpit-console .number-pad-keys button{min-height:44px}
.tchart .chart-value[data-cell=t]{height:auto;min-height:54px}#missionMenuLinks{margin:10px 0}#missionMenuLinks>label{min-width:140px}
body.cockpit-active.soa-native-entry .cockpit-console{position:fixed;z-index:40;right:8px;top:calc(var(--entry-top,0px) + 8px);height:calc(var(--entry-height,100dvh) - 16px);width:min(360px,calc(100% - 16px))}
@media(max-width:760px) and (orientation:portrait){body.cockpit-active>header{padding:5px 9px}body.cockpit-active>header .brand{font-size:15px}body.cockpit-active>header .brand small,body.cockpit-active>header .brand img{display:none}body.cockpit-active>header nav{gap:3px}body.cockpit-active>header nav>*{font-size:11px!important;padding:6px!important}#cockpit{padding:7px;gap:6px}.cockpit-mission{align-items:center}.cockpit-mission h2{font-size:16px}.cockpit-phases{font-size:10px;gap:5px}.cockpit-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(175px,40%) minmax(0,1fr);gap:7px}.cockpit-field{gap:4px}.cockpit-sources{font-size:11px;line-height:1.45}.cockpit-hud{padding:3px;font-size:10px}.cockpit-scene-host{min-height:100px}.cockpit-scene-host .scene-wrap{min-height:80px}.cockpit-console.controls{padding:6px}.cockpit-field #trial{padding:4px;font-size:12px;min-height:36px}.cockpit-field .transport{padding:0}.cockpit-field .transport button{padding:5px;font-size:12px}.cockpit-field .transport #clock{font-size:11px}.cockpit-console h3{font-size:14px}.cockpit-source-echo{position:sticky;top:-4px;background:#282238;padding:5px;z-index:1}.cockpit-helper{padding:6px;margin:5px 0}}
@media(max-height:540px) and (orientation:landscape){body.cockpit-active>header{min-height:48px;padding:3px 8px}body.cockpit-active>header .brand small{display:none}#cockpit{padding:4px 7px;gap:4px}.cockpit-mission h2{font-size:15px}.cockpit-layout{grid-template-columns:minmax(0,1fr) minmax(270px,38%);gap:7px}.cockpit-console.controls{padding:5px}.cockpit-sources{font-size:11px;line-height:1.5}.cockpit-hud{padding:2px}.cockpit-actions{padding-top:4px}.cockpit-field{gap:3px}}
@media(prefers-reduced-motion:no-preference){.cockpit-lit{animation:chart-cue 2.6s ease-in-out 2}@keyframes chart-cue{50%{box-shadow:0 0 13px #c299ed99}}}
@media print{#cockpit,#earthFullscreen{display:none!important}}
#angledTchart thead th:first-child{width:20%}#angledTchart thead th:not(:first-child){width:40%}.angle-value input::-webkit-inner-spin-button,.angle-value input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.angle-value input{-moz-appearance:textfield;appearance:textfield}.angled-console #graphPanel .graph-heading label{display:none}
