:root{--paper:#f4f2e9;--ink:#183e41;--muted:#667571;--teal:#236568;--orange:#d87840;--line:#deded2;--card:#fffefa;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,a,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button:disabled{cursor:default;opacity:.6}a{color:inherit}header{max-width:1440px;margin:auto;min-height:75px;padding:20px 40px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.brand{font-size:12px;font-weight:750;letter-spacing:1.3px;text-decoration:none}.brand span{font-weight:400}.edition{font:10px var(--mono);letter-spacing:1.4px;color:var(--muted)}main{max-width:1440px;margin:auto;padding:0 40px}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:36px 0 27px}.eyebrow{font:10px/1.5 var(--mono);letter-spacing:1.3px;margin:0 0 10px;color:var(--muted)}h1{font-size:clamp(32px,3.5vw,49px);font-weight:500;letter-spacing:-1.8px;margin:0;line-height:1.15}.dek{font-size:14px;line-height:1.7;margin:12px 0 0;color:var(--muted)}.model-tag{font:10px var(--mono);color:var(--muted);padding-bottom:5px}.mode-row{display:flex;gap:20px;align-items:center;margin:0 0 22px}.segmented{display:flex;flex:none;border:1px solid #c6cdc1;border-radius:8px;padding:4px;background:#eaece2}.segmented button{border:0;background:transparent;color:var(--teal);padding:12px 20px;border-radius:5px;min-height:44px;font-size:12px}.segmented button[aria-pressed=true]{background:var(--teal);color:#fffefa;box-shadow:0 1px 4px #153a3722}.mode-row p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.lab{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.visual{min-width:0;position:sticky;top:14px;z-index:3;background:var(--paper)}.circuit-card{border:1px solid #254b4b;border-radius:14px;background:#123b40;color:#e5eadd;overflow:hidden}.diagram-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px 0}.diagram-head .eyebrow{font-size:9px;color:#aec7bd;margin:0}.phase{font:9px var(--mono);color:#9cd9c4;background:#244e4f;border:1px solid #456c63;border-radius:4px;padding:5px 7px}#circuit{display:block;width:100%;height:auto;padding:8px 5px 0}.component{fill:#183f44;stroke:#6d8e85;stroke-width:1.6}.machine{fill:#254e50;stroke:#6caa99;stroke-width:2}.gcu{fill:#294d52;stroke:#a296c2;stroke-width:1.6}.wire{fill:none;stroke-width:5;stroke-linejoin:round}.quiet{stroke:#43625f}.flow{fill:none;stroke-width:4.5;stroke-linejoin:round;stroke-dasharray:8 12;animation:current 1s linear infinite;opacity:0}.flow.active{opacity:1}.flow.reverse{animation-direction:reverse}.starter-flow{stroke:#f2b56d}.generator-flow{stroke:#5bccb7}.battery-flow{stroke:#a5cee0;stroke-width:3}.field-flow{stroke:#c2a6ee;stroke-width:4}.command-wire{fill:none;stroke:#8d93a3;stroke-width:1.8;stroke-dasharray:4 5;opacity:.55}.terminal{fill:#eceddb}.switch{fill:none;stroke-width:5;stroke-linecap:round;transition:d .16s}.switch.starter{stroke:#f2b56d}.switch.generator{stroke:#5bccb7}.label{font:12px var(--mono);fill:#dbe7d9;letter-spacing:.35px}.small{font:11px var(--mono);fill:#bfd0c6}.tiny{font:10px var(--mono);fill:#b2c4b9}.wire-label{font:11px var(--mono);fill:#bccdc3}.muted{fill:#8ca79d}.purple{fill:#c2a6ee}#rotor{transform-origin:411px 209px}.running #rotor{animation:spin .9s linear infinite}.starting #rotor{animation-duration:2.5s}#mechanicalArrow{opacity:.25}#mechanicalArrow.active{opacity:1}#faultBolt[hidden]{display:none}.legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding:1px 12px 15px;font:9px var(--mono);color:#bbd0c5}.key:before{content:"";display:inline-block;width:12px;height:3px;margin-right:5px;vertical-align:2px;background:var(--color)}.start-key{--color:#f2b56d}.field-key{--color:#c2a6ee}.gen-key{--color:#5bccb7}.battery-key{--color:#a5cee0}.meters{display:grid;grid-template-columns:repeat(4,1fr);background:#f9f8ef;color:var(--ink);padding:18px 8px}.meters>div{padding:0 14px;border-right:1px solid var(--line);min-width:0}.meters>div:last-child{border:none}.meters span{display:block;font:9px var(--mono);color:var(--muted)}.meters strong{display:block;font:27px var(--mono);margin:8px 0 5px;white-space:nowrap;letter-spacing:-1px}.meters strong small{font:11px var(--mono)}.meters>div>small{display:block;color:var(--muted);font:9px var(--mono);line-height:1.5}.insight{display:flex;align-items:flex-start;gap:10px;padding:15px 4px;min-height:70px}.insight>span{flex:none;width:7px;height:7px;border-radius:50%;background:#317366;margin-top:5px}.insight p{font-size:12px;line-height:1.6;margin:0}.insight.warning{color:#994a30}.insight.warning>span{background:#c26640}.controls{border:1px solid var(--line);background:#fcfbf5;border-radius:14px;padding:20px 20px 0}.controls-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.controls-head .eyebrow{font-size:9px;margin:0}.controls-head>span{font:8px var(--mono);color:var(--muted)}.control{padding:21px 0 19px;border-bottom:1px solid var(--line)}.control-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:8px}.control h2{font-weight:550;font-size:15px;margin:0;white-space:nowrap}.control h2 span{font:10px var(--mono);color:#a4a897;margin-right:7px}.state-badge{font:9px var(--mono);background:#e9ebdf;padding:5px 6px;border-radius:4px;color:#5a746a}.state-badge.on{background:#d4e9d9;color:#245e51}.control output{font:17px var(--mono);color:#8763a4}.primary{border:1px solid #b0c4b7;border-radius:7px;min-height:44px;padding:11px;color:var(--teal);background:#f8faf2;font-size:12px}.primary.active{background:var(--teal);color:#fffdf2;border-color:var(--teal)}.starter-control .primary.active{background:#ab6939;border-color:#ab6939}.full{width:100%}.control p{font-size:11px;line-height:1.65;color:var(--muted);margin:12px 0 0}.sequence{font:8px/1.7 var(--mono);color:var(--muted);padding:16px 0;text-align:center}input[type=range]{display:block;width:100%;margin:0;appearance:none;-webkit-appearance:none;height:44px;background:linear-gradient(to right,#9a77b2 0%,#9a77b2 var(--fill),#dddcd1 var(--fill),#dddcd1 100%) center/100% 5px no-repeat;cursor:pointer;touch-action:pan-y}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:25px;height:25px;background:#8c67a2;border:4px solid var(--card);border-radius:50%;box-shadow:0 0 0 1px #9a77b2}input[type=range]::-moz-range-thumb{width:17px;height:17px;background:#8c67a2;border:4px solid var(--card);border-radius:50%}.range-ends{display:flex;justify-content:space-between;font:8px var(--mono);color:var(--muted)}[hidden]{display:none!important}.exercises{margin-top:23px;border-top:1px solid var(--line);padding-top:27px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-head h2{font-size:18px;letter-spacing:-.3px;font-weight:500;margin:0}.section-head>span{font:10px/1.6 var(--mono);color:var(--muted)}.section-head .eyebrow{font-size:9px;margin-bottom:7px}.scenario-buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:19px 0 12px}.scenario-buttons button{display:flex;align-items:center;justify-content:space-between;border:1px solid #cbd1c3;border-radius:7px;background:#fbfaf2;padding:13px 15px;color:var(--teal);font-size:12px;min-height:46px}.scenario-buttons button.active{border-color:#236568;background:#e4ecde}.scenario-buttons button span{color:#a9875c;font-size:17px}.exercise-note{display:flex;align-items:center;gap:15px}.exercise-note p{flex:1;font-size:12px;line-height:1.7;margin:3px 0;color:var(--muted)}.quiet-button{border:0;color:var(--teal);font-size:11px;min-height:44px;background:none;padding:8px 0;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.lower{display:grid;grid-template-columns:1.7fr 1fr;gap:24px;margin:27px 0 30px}.history-card,.lesson-card{border:1px solid var(--line);border-radius:12px;background:#fcfbf5;padding:20px}.history-card h2{font-size:15px}.history-card .section-head>span{font-size:9px}.history-card svg{width:100%;height:auto;display:block;margin-top:10px}.history-card svg text{font:10px var(--mono);fill:var(--muted)}.grid{fill:none;stroke:#e6e6d8;stroke-width:1}.target{fill:none;stroke:#9b9e88;stroke-dasharray:4 5;stroke-width:1.5}#historyLine{stroke:#318575;stroke-width:2.5;fill:none;stroke-linejoin:round}.history-legend{display:flex;justify-content:space-between;gap:10px;font:9px/1.7 var(--mono);color:var(--muted)}.lesson-card{background:#e9ede1;display:flex;flex-direction:column;justify-content:center}.lesson-card h2{font-size:24px;font-weight:500;letter-spacing:-.6px;margin:0 0 12px}.lesson-card p:not(.eyebrow){font-size:12px;line-height:1.8;color:#587165;margin:0}.about{border-top:1px solid var(--line)}.about summary{cursor:pointer;font-size:12px;padding:22px 0;color:var(--teal)}.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:0 0 26px}.about h3{font-size:13px;font-weight:550}.about p{font-size:11px;line-height:1.8;color:var(--muted)}.about a{display:block;font-size:11px;line-height:1.7;color:var(--teal)}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0 35px;color:var(--muted);font:9px var(--mono);gap:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes current{to{stroke-dashoffset:-40}}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.flow,#rotor{animation:none!important}.flow{stroke-dasharray:8 12}.switch{transition:none}}
@media(max-width:1000px){header{padding:18px 24px}main{padding:0 24px}.lab{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.controls{padding:18px 16px 0}.model-tag{display:none}.meters{padding:15px 4px}.meters>div{padding:0 9px}.meters strong{font-size:23px}.legend{gap:10px;font-size:8px}.control{padding:17px 0}.intro{padding:28px 0 22px}.lower{gap:16px}.about-grid{grid-template-columns:1fr 1fr}.about-grid>section:last-child{grid-column:1/-1}}
@media(max-width:740px){header{min-height:55px;padding:16px}.brand{font-size:10px}.edition{font-size:8px}main{padding:0 14px}.intro{padding:25px 2px 20px}.intro .eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:32px;letter-spacing:-1.2px}.dek{font-size:12px;line-height:1.6;margin-top:9px;max-width:320px}.mode-row{display:block;margin-bottom:16px}.segmented{width:100%}.segmented button{flex:1;padding:10px 8px;font-size:11px}.mode-row p{font-size:10px;margin:9px 2px 0}.lab{display:flex;flex-direction:column;gap:0;align-items:stretch}.visual{top:0;margin:0 -4px;padding:5px 4px 0;border-bottom:1px solid var(--line);box-shadow:0 5px 10px #f4f2e999}.circuit-card{border-radius:10px}.diagram-head{padding:10px 11px 0}.diagram-head .eyebrow{font-size:7px;letter-spacing:.7px}.phase{font-size:7px;padding:4px 5px}#circuit{padding:5px 0 0;max-height:210px}.legend{padding:0 6px 9px;gap:8px;font-size:6px}.key:before{width:8px;height:2px;margin-right:3px}.meters{padding:9px 2px}.meters>div{padding:0 7px}.meters span{font-size:6px;letter-spacing:.2px}.meters strong{font-size:20px;letter-spacing:-.7px;margin:5px 0 3px}.meters strong small{font-size:8px}.meters>div>small{font-size:6px}.insight{padding:9px 2px;min-height:0;gap:7px}.insight p{font-size:10px;line-height:1.5}.insight>span{width:5px;height:5px;margin-top:5px}.controls{border:0;background:none;padding:17px 2px 0;border-radius:0}.controls-head{margin-bottom:3px}.controls-head .eyebrow{font-size:8px}.controls-head>span{font-size:7px}.control{padding:14px 0 13px;display:grid;grid-template-columns:1fr 1.05fr;column-gap:14px;align-items:center}.control-top{margin:0;gap:5px;flex-wrap:wrap}.control h2{font-size:13px}.control h2 span{font-size:8px;margin-right:5px}.control .state-badge{font-size:7px;padding:4px 5px}.control output{font-size:14px}.control p{grid-column:1/-1;font-size:10px;line-height:1.5;margin-top:7px}.primary{font-size:11px;min-height:44px;padding:10px 6px}.range-ends{font-size:6px}.sequence{padding:12px 0;font-size:7px}.exercises{margin-top:10px;padding-top:20px}.section-head{gap:8px}.section-head h2{font-size:16px}.section-head>span{font-size:8px;max-width:135px}.section-head .eyebrow{font-size:8px}.scenario-buttons{grid-template-columns:repeat(2,1fr);gap:7px;margin-top:15px}.scenario-buttons button:first-child{grid-column:1/-1}.scenario-buttons button{font-size:11px;padding:10px 12px;min-height:44px}.exercise-note{flex-wrap:wrap;gap:0 20px}.exercise-note p{flex-basis:100%;font-size:11px;margin-bottom:2px}.quiet-button{font-size:10px}.lower{grid-template-columns:1fr;margin:18px 0 24px;gap:13px}.history-card,.lesson-card{padding:16px}.history-card h2{font-size:13px}.history-card .section-head>span{font-size:7px}.history-legend{font-size:8px}.lesson-card h2{font-size:22px}.lesson-card p:not(.eyebrow){font-size:11px}.about-grid{grid-template-columns:1fr;gap:5px}.about-grid>section:last-child{grid-column:auto}.about summary{font-size:11px;line-height:1.6}.about p,.about a{font-size:11px}footer{font-size:8px;line-height:1.5;padding-bottom:25px}}
@media(max-width:360px){h1{font-size:28px}.meters strong{font-size:17px}.meters>div{padding:0 5px}.legend{gap:6px;font-size:5.7px}.control h2{font-size:12px}.control{column-gap:9px}.diagram-head .eyebrow{font-size:6px}#circuit{max-height:171px}}
@media(max-width:740px){.controls button,.controls input{scroll-margin-top:365px;scroll-margin-bottom:70px}#circuit .label{font-size:17px}#circuit .small{font-size:15px}#circuit .wire-label{font-size:13px}#circuit .tiny,#machineRole,#batteryDirection,#engineState{display:none}#gcuAction{display:block;font-size:12px}#circuit .command-wire{opacity:.35}}

.sg-symbol{font:500 32px ui-sans-serif,system-ui;fill:#e5eadd;letter-spacing:-1px}.battery-switch{stroke:#a5cee0}.aircraft-controls{margin:0 -20px;padding:20px;border-radius:0 0 14px 14px;border-top:1px solid var(--line);background:#edf0e5}.aircraft-control{margin-top:18px}.aircraft-control-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.aircraft-control h2{font-size:14px;font-weight:550;margin:0}.aircraft-control p{font-size:10px;line-height:1.6;color:var(--muted);margin:9px 0 0}.aircraft-control .battery-spec{font:8px/1.6 var(--mono)}.aircraft-control .battery-status{font:11px/1.6 var(--mono);color:var(--teal)}.battery-explainer{font-size:10px;line-height:1.7;color:var(--muted);border-top:1px solid #d5dccc;padding-top:13px;margin:16px 0 0}.battery-status.discharging{color:#a15f32}
@media(max-width:1000px){.aircraft-controls{margin:0 -16px;padding:18px 16px}}@media(max-width:740px){.aircraft-controls{margin:3px 0 0;padding:16px;border:1px solid var(--line);border-radius:10px}.aircraft-control{display:grid;grid-template-columns:1fr 1.2fr;column-gap:12px;align-items:center;margin-top:16px}.aircraft-control-heading{margin:0;gap:5px;flex-wrap:wrap}.aircraft-control h2{font-size:12px}.aircraft-control p{grid-column:1/-1}.aircraft-control .battery-spec{font-size:8px}.aircraft-control .battery-status{font-size:11px}.aircraft-control .state-badge{font-size:7px}.battery-explainer{font-size:10px}#circuit .sg-symbol{font-size:35px}}

#machineRole{display:none}.engine-symbol{font:500 17px ui-sans-serif,system-ui;fill:#e5eadd;letter-spacing:.8px}#mechanicalArrow:not(.active){opacity:0}@media(max-width:740px){#circuit .engine-symbol{font-size:22px}}

.gcu-pilot{margin-top:16px;padding:15px;background:#e9eee2;border:1px solid #ced9c9;border-radius:9px}.gcu-pilot h2{font-size:15px;margin:0;font-weight:550}.gcu-pilot p{font-size:11px;line-height:1.65;color:var(--muted);margin:10px 0 0}.output-heading{padding-top:20px}.output-status{font:11px/1.6 var(--mono);color:#526f65;background:#eff0e6;border-left:3px solid #b3cbbf;border-radius:3px;padding:11px 10px;min-height:44px;display:flex;align-items:center}.field-control .output-status{border-left-color:#bba3cb}#lineCommand{stroke:#c2a6ee;opacity:.85}.gcu-pilot .control-top{margin-bottom:10px}@media(max-width:740px){.gcu-pilot{display:grid;grid-template-columns:1fr 1.2fr;column-gap:12px;align-items:center;margin-top:12px;padding:13px}.gcu-pilot .control-top{margin:0}.gcu-pilot p{grid-column:1/-1;font-size:10px;margin-top:8px}.gcu-pilot h2{font-size:13px}.output-heading{padding-top:17px}.output-status{font-size:10px;padding:9px}.gcu-pilot .state-badge{font-size:8px}#lineCommand{opacity:.85!important}}

.coil-key{--color:#dce795}.coil-wire{stroke:#546753;stroke-width:2}.coil-flow{fill:none;stroke:#dce795;stroke-width:2.5;stroke-dasharray:5 7;opacity:0;animation:current 1.4s linear infinite}.coil-flow.active{opacity:1}.relay-coil{fill:#1a4144;stroke:#95a581;stroke-width:1.5}.relay-coil.energized{fill:#819246;stroke:#e4efa2;filter:drop-shadow(0 0 4px #dae88b66)}.coil-mark{stroke:#d2dfac;stroke-width:1.5;fill:none;pointer-events:none}.coil-label{font:9px var(--mono);fill:#c8d5ac}.coil-terminal{fill:#dce795}.pilot-switch{fill:none;stroke:#dce795;stroke-width:2.5;stroke-linecap:round}.mechanical-link{fill:none;stroke:#adc6b7;stroke-width:1.4;stroke-dasharray:3 3}.relay-state{font-size:9px!important}#lineCommand{stroke:#dce795;opacity:0}#lineCommand.active{opacity:1}@media(max-width:740px){#lineCommand{opacity:0!important}#lineCommand.active{opacity:1!important}.coil-label{font-size:10px}.relay-state{font-size:12px!important}.legend{gap:6px;font-size:5.8px}}@media(prefers-reduced-motion:reduce){.coil-flow{animation:none!important}}

.relay-coil{fill:none;stroke:#aeb88c;stroke-width:1.8}.relay-coil.energized{fill:none;stroke:#eef7a5;filter:drop-shadow(0 0 3px #e8f294cc)}.armature-rod{fill:none;stroke:#d0d6bf;stroke-width:2.5}.armature-joint{fill:#d0d6bf}.gcu-supply-wire{fill:none;stroke:#48636f;stroke-width:2}.gcu-supply-wire.live{stroke:#7bb9ee}.supply-flow{stroke:#a3d4ff;stroke-width:2.7}.supply-junction,.supply-arrow{fill:#a3d4ff}.supply-label{fill:#a3d4ff}.supply-key{--color:#a3d4ff}@media(max-width:740px){#masterLabel{font-size:15px!important}.legend{gap:5px;font-size:5.8px}.armature-rod{stroke-width:3}.relay-coil{stroke-width:2.2}#gcuSupplyLabel{font-size:13px!important}}

.switch{transition:none}

.gcu-power-switch{fill:none;stroke:#8ca1a4;stroke-width:2.8;stroke-linecap:round}.gcu-power-switch.live{stroke:#a3d4ff}.supply-contact{fill:#718b8c}.supply-contact.live{fill:#a3d4ff}@media(max-width:740px){#gcuPowerLabel,#gcuBusVoltage{font-size:13px!important}#gcuSupplyLabel{font-size:12px!important}.gcu-power-switch{stroke-width:3.4}}

.supply-switch-body{fill:#183f44;stroke:#6d8e85;stroke-width:1.2}

.back-home{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1.5px solid var(--teal);border-radius:8px;background:var(--card);color:var(--teal);font-size:13px;font-weight:650;line-height:1.3;text-decoration:none}.back-home:hover{background:#e3eade}.back-home span{font-size:18px}@media(max-width:740px){header{gap:12px;flex-wrap:wrap}.back-home{font-size:12px;padding:10px 13px}.edition{margin-left:auto}}

/* Follow the operating sequence, with lesson tools separate from aircraft controls. */
.control-mode{padding-bottom:18px;border-bottom:1px solid var(--line)}
.controls .mode-row{display:block;margin:0}.controls .segmented{width:100%}.controls .segmented button{flex:1;padding:10px 7px;font-size:11px}.controls .mode-row p{margin:10px 0 0;font-size:11px}
.controls .aircraft-controls{margin:0;padding:18px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none}
.controls .aircraft-control{margin-top:18px}.controls .aircraft-control h2{font-size:15px}.controls .battery-explainer{font-size:11px;border:0;padding:0;margin-top:10px}
.engine-control{padding-top:18px;border-top:1px solid var(--line)}.engine-control .starter-control{padding:4px 0 13px;border:0}.engine-control .starter-control h2{font-size:13px}.engine-control .sequence{padding:12px 0 0}
.controls .gcu-pilot{margin:18px 0 0}.generator-outputs .line-control{border-bottom:0}.controls .exercises{margin-top:0;padding-top:18px}.controls .exercises .section-head{display:block}.controls .exercises .section-head>span{display:block;margin-top:10px;font:10px/1.6 var(--mono);max-width:none}.controls .scenario-buttons{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.controls .scenario-buttons button{font-size:11px;padding:10px;min-height:44px}.controls .scenario-buttons button:first-child{grid-column:1/-1}.controls .exercise-note{display:block}.controls .exercise-note p{font-size:11px}
.reset-controls{display:grid;gap:3px;margin-top:18px;padding:17px 0;border-top:1px solid var(--line)}.reset-controls .eyebrow{margin-bottom:2px}.reset-controls .quiet-button{text-align:left;white-space:normal;font-size:11px}
.insight{margin-top:14px;padding:17px 18px;gap:12px;min-height:80px;background:#e3ebe0;border:1px solid #bccfbd;border-left:4px solid #317366;border-radius:9px;color:#173e37}.insight p{font-size:18px;font-weight:550;line-height:1.55}.insight>span{width:9px;height:9px;margin-top:9px}.insight.warning{background:#fff0e4;border-color:#deb695;border-left-color:#b4512e;color:#783a22}
@media(max-width:740px){.control-mode{padding-bottom:16px}.controls .mode-row p{font-size:11px}.controls .aircraft-controls{padding:16px 0}.controls .aircraft-control{display:block}.controls .aircraft-control-heading{margin-bottom:10px}.engine-control .starter-control{display:grid}.engine-control .sequence{font-size:8px}.controls .battery-explainer{font-size:11px}.insight{margin-top:8px;padding:11px 12px;gap:9px;min-height:0}.insight p{font-size:15px;line-height:1.45}.insight>span{width:7px;height:7px;margin-top:7px}.controls button,.controls input{scroll-margin-top:440px}}

/* Pressurization-family training-manual palette. Presentation only. */
:root{--paper:#e7e9eb;--ink:#25343f;--muted:#516574;--teal:#126ba5;--orange:#a96516;--line:#bec8d0;--card:#f8fafb;--start:#b3540d;--field:#8055a8;--gen:#007d66;--battery:#25669a;--coil:#946000;--supply:#00768e}
body{background:var(--paper);color:var(--ink)}header{border-color:var(--line)}h1{font-weight:700}.eyebrow{color:#3d667a}
.circuit-card{background:var(--card);color:var(--ink);border-color:#a7b7c3;border-radius:7px}.diagram-head{background:#e1eff7;border-top:3px solid #16828d;padding-bottom:12px}.diagram-head .eyebrow{color:#245979}.phase{color:#294f66;background:#f8fafb;border-color:#92adbf;border-radius:3px}
.component{fill:#fff;stroke:#708696}.machine{fill:#edf2f6;stroke:#486b82}.gcu{fill:#f1edf7;stroke:var(--field)}.supply-switch-body{fill:#fff;stroke:#708696}.quiet{stroke:#7b8b97}.terminal{fill:#344854}.label,.small,.tiny,.wire-label,.engine-symbol,.sg-symbol{fill:#2b4352}.muted{fill:#526a79}.purple{fill:var(--field)}
.starter-flow,.switch.starter{stroke:var(--start)}.generator-flow,.switch.generator{stroke:var(--gen)}.battery-flow,.battery-switch{stroke:var(--battery)}.field-flow{stroke:var(--field)}
.starter-flow{stroke-dasharray:14 6}.generator-flow{stroke-dasharray:10 5}.battery-flow{stroke-dasharray:3 5}.field-flow{stroke-dasharray:3 7}.coil-flow{stroke:var(--coil);stroke-dasharray:4 5}.supply-flow{stroke:var(--supply);stroke-dasharray:12 4 2 4}
.coil-wire{stroke:#858775}.relay-coil{stroke:#777e70}.relay-coil.energized{stroke:var(--coil);filter:drop-shadow(0 0 2px #d99f3055)}.coil-label{fill:#654911}.coil-terminal{fill:var(--coil)}.pilot-switch{stroke:var(--coil)}.armature-rod{stroke:#485c68}.armature-joint{fill:#485c68}#lineCommand{stroke:var(--coil)}
.gcu-supply-wire{stroke:#7b8b97}.gcu-supply-wire.live,.gcu-power-switch.live{stroke:var(--supply)}.supply-junction,.supply-arrow,.supply-contact.live{fill:var(--supply)}.supply-label{fill:#175d72}.gcu-power-switch{stroke:#657985}.supply-contact{fill:#657985}
.legend{color:#344f60}.start-key{--color:var(--start)}.field-key{--color:var(--field)}.gen-key{--color:var(--gen)}.battery-key{--color:var(--battery)}.coil-key{--color:var(--coil)}.supply-key{--color:var(--supply)}.key:before{width:19px;background:var(--color)}.start-key:before{background:repeating-linear-gradient(90deg,var(--color) 0 9px,transparent 9px 12px)}.field-key:before{background:repeating-linear-gradient(90deg,var(--color) 0 2px,transparent 2px 5px)}.battery-key:before{background:repeating-linear-gradient(90deg,var(--color) 0 3px,transparent 3px 6px)}.coil-key:before{background:repeating-linear-gradient(90deg,var(--color) 0 4px,transparent 4px 7px)}.supply-key:before{background:repeating-linear-gradient(90deg,var(--color) 0 8px,transparent 8px 11px,var(--color) 11px 13px,transparent 13px 16px)}
.meters{background:#11161c;color:#fff;border-top:1px solid #526575}.meters>div{border-color:#42525e}.meters span,.meters>div>small{color:#dce5e8}.meters strong,.meters strong small{color:#fff}
.controls,.history-card,.lesson-card{background:var(--card);border-color:#bac5cd;border-radius:7px}.lesson-card{background:#edf2f6}.lesson-card p:not(.eyebrow){color:#405867}.segmented{background:#e8eef2;border-color:#b4c2cc;border-radius:4px}.segmented button{color:#244e68;border-radius:3px}.segmented button[aria-pressed=true]{background:#126ba5;color:#fff;box-shadow:none}.state-badge{color:#3c5566;background:#e8eef2;border:1px solid #bdcad3;border-radius:3px}.state-badge.on{color:#14604f;background:#dff2eb;border-color:#80b8a7}.control h2 span{color:#617587}.control output{color:#704599}
.primary{background:#edf4f8;color:#175b84;border-color:#94afc1;border-radius:4px}.primary:hover:not(:disabled){background:#d9eaf5;border-color:#588ba9}.primary.active{background:#126ba5;color:#fff;border-color:#126ba5}.primary.active:hover:not(:disabled){background:#095683}.starter-control .primary.active{background:#a35414;border-color:#a35414}.starter-control .primary.active:hover{background:#81400f}.gcu-pilot{background:#e7f1f8;border-color:#a4c1d3;border-radius:4px}.output-status{color:#354f61;background:#edf2f6;border-left-color:#708d9f}.field-control .output-status{border-left-color:var(--field)}.battery-status.discharging{color:#985219}
input[type=range]{background:linear-gradient(to right,var(--field) 0%,var(--field) var(--fill),#c5ced6 var(--fill),#c5ced6 100%) center/100% 5px no-repeat}input[type=range]::-webkit-slider-thumb{background:var(--field);border-color:#fff;box-shadow:0 0 0 1px var(--field)}input[type=range]::-moz-range-thumb{background:var(--field);border-color:#fff}
.scenario-buttons button{background:#f0f4f7;color:#28556f;border-color:#a9bdca;border-radius:4px}.scenario-buttons button.active{background:#dceef9;border-color:#126ba5;box-shadow:inset 3px 0 #126ba5}.scenario-buttons button span{color:#875414}.scenario-buttons button[data-scenario=short],.scenario-buttons button[data-scenario=overload]{color:#943e25}.scenario-buttons button[data-scenario=short].active,.scenario-buttons button[data-scenario=overload].active{background:#fff0df;border-color:#ad6030;box-shadow:inset 3px 0 #ad6030}
.insight{background:#e1eff8;border-color:#9bbbd0;border-left-color:#126ba5;color:#203e52;border-radius:4px}.insight>span{background:#126ba5}.insight.warning{background:#fff1dc;border-color:#c7a267;border-left-color:#ab4b25;color:#713817}.insight.warning>span{background:#ab4b25}
.grid{stroke:#d1dbe2}.target{stroke:#6e8190}#historyLine{stroke:#126ba5}.back-home{border-radius:4px}.back-home:hover{background:#dcebf5}
@media(max-width:740px){.visual{box-shadow:0 5px 10px #e7e9ebbb}.controls{background:var(--card);border:1px solid #bac5cd;padding:17px 12px 0;margin-top:13px}.diagram-head{padding-bottom:8px}.key:before{width:10px}.legend{gap:5px;color:#344f60}.meters span,.meters>div>small{font-size:6.5px}.control h2{white-space:normal}}
@media(prefers-reduced-motion:reduce){.starter-flow{stroke-dasharray:14 6}.generator-flow{stroke-dasharray:10 5}.battery-flow{stroke-dasharray:3 5}.field-flow{stroke-dasharray:3 7}.supply-flow{stroke-dasharray:12 4 2 4}}
