:root{--paper:#e6e8ea;--white:#f7f8f9;--ink:#263236;--muted:#687378;--line:#c5cdcf;--accent:#354f60;--fuel:#a88d1e;--danger:#b44035}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 Arial,Helvetica,sans-serif}button,input,select{font:inherit}button,select{min-height:44px;border:1px solid #aab5bb;border-radius:5px;padding:8px 12px;background:#fff;color:var(--ink);font-weight:700}button{cursor:pointer;touch-action:manipulation}button:hover{background:#e0e7e9}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #728fa2;outline-offset:3px}button.active,button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}button.danger{color:var(--danger);border-color:#ceaaa3;background:#f8ebe6}button.danger.active{color:white;background:var(--danger)}a{color:var(--accent)}header,main{max-width:1560px;margin:auto;padding:0 30px}.topline{display:flex;justify-content:space-between;gap:15px;padding-top:26px;font-size:10px;letter-spacing:1.3px;color:var(--muted)}.topline a{text-decoration:none;font-weight:700}.title-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:24px 0 20px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--muted);margin:0 0 10px}h1{font-size:clamp(36px,4vw,58px);line-height:1.05;letter-spacing:-2px;margin:0}h1 span{color:var(--fuel)}.subtitle{font-size:14px;color:var(--muted);margin:13px 0 0}.manual-badge{border-left:2px solid #bfc8c9;padding-left:22px;font-size:10px;letter-spacing:1px}.manual-badge strong{display:block;font-size:31px;letter-spacing:2px}.manual-badge span{font-size:10px;letter-spacing:0;color:var(--muted)}.notice{font-size:11px;line-height:1.65;background:#e2e5e8;border-left:3px solid #87969a;padding:10px 13px;border-radius:3px}.toolbar{display:flex;align-items:center;gap:9px;margin:19px 0 15px;flex-wrap:wrap}.toolbar>label{font-size:10px;font-weight:700;letter-spacing:.5px}.toolbar select,.toolbar button{font-size:12px}.rate-label{display:flex;align-items:center;gap:7px;margin-left:auto}.toolbar output{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;background:#dce3e8;padding:8px;border-radius:4px}.toolbar output.paused{background:#ebddbd}.cockpit{display:grid;grid-template-columns:1fr .9fr 1.25fr;align-items:center;gap:22px;border:1px solid #aeb9be;border-radius:9px;padding:12px 18px;background:#c7cdce;box-shadow:inset 0 1px #fafbfc;margin-bottom:18px}.quantity-gauges{display:grid;grid-template-columns:1fr 1fr;gap:14px}.quantity-gauges svg{display:block;width:100%;height:158px}.fuel-flow{background:#171d20;border:5px solid #71797c;border-radius:8px;color:#fff;box-shadow:inset 0 0 14px #0008;padding:11px 12px;text-align:center}.fuel-flow h2{font-size:12px;letter-spacing:2px;margin:0 0 6px}.flow-readouts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.flow-readouts>div{display:flex;flex-direction:column}.flow-readouts small{font-size:10px;letter-spacing:1.5px}.flow-readouts strong{font:700 34px/1.25 ui-monospace,Consolas,monospace}.flow-readouts span{font-size:10px}.fuel-flow p{font-size:8px;color:#bec7ca;margin:7px 0 0}.annunciator-panel h2{font-size:9px;letter-spacing:1px;margin:0 0 8px}.annunciator-panel p{font-size:9px;color:#55646b;margin:8px 0 0}#annunciators{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.ann{background:#21282a;border:2px solid #586162;border-radius:3px;padding:6px 3px;min-height:35px;font-size:8px;line-height:1.3;text-align:center;color:#657071;display:grid;place-items:center;font-weight:700}.ann.on{color:#26200b;background:#e6ba54;box-shadow:inset 0 0 10px #ae8038}.ann.on.white{background:#efeee3;color:#29333b;box-shadow:inset 0 0 8px #aeb7bf}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:16px;align-items:start}.diagram-panel{position:sticky;top:10px;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--white);overflow:hidden;box-shadow:0 2px 5px #26373c0c}.diagram-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px 10px}.diagram-head h2{font-size:20px;margin:0;letter-spacing:-.5px}.diagram-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.diagram-head button{font-size:11px;min-height:36px;padding:6px 10px}.view-tabs{display:flex;gap:5px;padding:0 14px 10px}.view-tabs button{flex:1;font-size:11px;min-height:36px}.diagram-window{background:#f0f2f4;border-block:1px solid #cbd2d8;overflow:auto;max-height:66vh}.diagram-window svg{display:block;width:100%;max-height:66vh;aspect-ratio:1000/710}.legend{display:flex;gap:6px 13px;flex-wrap:wrap;font-size:9px;color:var(--muted);padding:9px 15px}.legend span{display:flex;gap:5px;align-items:center}.legend i{width:17px;height:5px;background:#888;border-radius:2px}.legend .feed{background:#b79b23}.legend .scavenge{background:#27837a}.legend .motive{background:#bf6e31}.legend .animated{background:repeating-linear-gradient(90deg,#b79b23 0 5px,#fff 5px 8px)}.legend .fault{background:#ecc2b8;border:1px solid var(--danger);height:9px}.diagram-status{display:flex;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid #cbd2d8;background:#e2e7ec;font-size:11px}.diagram-status strong{color:#344e62}.diagram-status span{font-size:10px;color:#66727c}.panel-tabs{display:flex;gap:4px;margin-bottom:10px;position:sticky;top:0;z-index:2;background:var(--paper);padding-bottom:5px}.panel-tabs button{flex:1;font-size:11px;padding:7px}.panel-tabs span{font-size:9px;background:#d5dfe2;color:#314c5b;border-radius:20px;padding:2px 5px;margin-left:2px}.control-card{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:16px;margin-bottom:10px}.control-card h3{font-size:13px;margin:0 0 12px;letter-spacing:.2px}.control-card p,.control-card li{font-size:11px;line-height:1.65;color:#5c6c71}.control-card ol{padding-left:19px}.control-card p{margin:10px 0 0}.control-card>label{display:block;font-size:11px;font-weight:700;margin:12px 0 5px}.control-card select{width:100%;font-size:11px}.segmented{display:flex;gap:4px}.segmented button{flex:1;min-width:0;font-size:11px;padding:8px 5px}.state-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #dfe3e7;font-size:11px}.state-row strong{font-size:11px;font-variant-numeric:tabular-nums;text-align:right}.state-row span{color:#687579}.control-card .toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;font-weight:400;min-height:35px}.toggle input{width:20px;height:20px;accent-color:var(--accent)}.control-card .slider-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;font-size:11px}.slider-label output{font-size:11px;font-variant-numeric:tabular-nums;color:#526a79}input[type=range]{width:100%;height:28px;accent-color:var(--accent);cursor:pointer;margin:7px 0}.wide{width:100%;font-size:11px;margin-top:8px}.engine-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.engine-title output{font-size:10px;color:#61717e}.active-fault{border:1px solid #ddb0a5;border-radius:4px;background:#f4e3de;font-size:10px;padding:9px;margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:5px}.active-fault button{font-size:10px;min-height:32px;padding:5px 8px}.readout-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.readout-card{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:20px}.readout-card h2{font-size:16px;margin:0 0 12px}.message{background:#ebeff3;border-left:3px solid #7c9295;border-radius:2px;padding:9px 12px;font-size:11px;line-height:1.6;margin:7px 0}.message.caution{background:#f1ecdd;border-color:#b49b4c}.message.danger{background:#f2e2dd;border-color:#b45242}.fineprint{font-size:10px;line-height:1.65;color:#697779}.quantity-row{display:grid;grid-template-columns:46px 1fr 92px;gap:10px;align-items:center;margin:14px 0;font-size:11px}.quantity-row .bar{height:12px;background:#e2e5e9;border:1px solid #c5ccd4;border-radius:3px;overflow:hidden}.quantity-row .bar i{display:block;height:100%;background:#b5a250;transition:width .2s linear}.quantity-row strong{text-align:right;font-size:11px}.quantity-row small{display:block;font-weight:400;font-size:9px;color:#6e7881}.source-notes{background:#e3e6e9;border:1px solid var(--line);border-radius:7px;padding:18px 20px;margin-top:18px}.source-notes summary{font-size:12px;font-weight:700;cursor:pointer}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.notes-grid h3{font-size:12px;margin-top:18px}.notes-grid p,.notes-grid li{font-size:11px;line-height:1.7;color:#5f6d70}.notes-grid ul{padding-left:18px}footer{display:flex;gap:12px 24px;flex-wrap:wrap;padding:26px 0 32px;font-size:10px;color:var(--muted)}footer>span:first-child{margin-right:auto;font-weight:700}dialog{width:min(470px,calc(100% - 24px));border:1px solid #86979b;border-radius:9px;background:var(--white);color:var(--ink);padding:25px;box-shadow:0 20px 90px #162a3866}dialog::backdrop{background:#1c2c3460;backdrop-filter:blur(2px)}dialog h2{font-size:24px;margin:11px 0}dialog p{font-size:12px;line-height:1.7;color:#5e7179}.dialog-close{position:absolute;right:8px;top:7px;min-height:36px;width:36px;font-size:25px;padding:0;border:0;background:transparent}#inspect-state{background:#e7ecf0;border:1px solid #c4ced6;border-radius:5px;padding:12px;margin:12px 0;font-size:12px;line-height:1.65}#inspect-actions{display:grid;gap:7px}#inspect-actions button{font-size:12px}.expanded .diagram-panel{position:fixed;inset:10px;z-index:30;display:flex;flex-direction:column}.expanded .diagram-window{flex:1;max-height:none}.expanded .diagram-window svg{height:100%;max-height:none}.expanded .diagram-status{margin-top:auto}.expanded{overflow:hidden}
/* Original technical drawing; system quantities and movement are model-driven. */
svg text{font-family:Arial,Helvetica,sans-serif;pointer-events:none;user-select:none}.drawing-title{font-size:13px;font-weight:700;letter-spacing:1.4px;fill:#77828b}.wing{fill:#dce2e7;stroke:#a7b2bc;stroke-width:2}.wing-title{font-size:17px;letter-spacing:1px;font-weight:700;fill:#536373}.tank-qty{font-size:20px;font-weight:700;fill:#344e62}.sump{fill:#edf0f3;stroke:#8a99a6;stroke-width:2}.small-label{font-size:13px;fill:#526778;font-weight:700}.pipe{stroke:#77828d;stroke-width:12;fill:none;stroke-linecap:round;stroke-linejoin:round}.fluid{stroke-width:8;fill:none;stroke-linecap:round;stroke-linejoin:round}.motion{fill:none;stroke:#fff9;stroke-width:2.4;stroke-dasharray:5 17;stroke-linecap:round;animation:move 1.5s linear infinite;pointer-events:none}.motion.reverse{animation-direction:reverse}.component{cursor:pointer}.hit{fill:transparent;stroke:transparent;stroke-width:12}.case{fill:url(#metal);stroke:#647b7e;stroke-width:2}.symbol{fill:none;stroke:#4a6267;stroke-width:2}.component:hover .case,.component:focus .case{stroke:#334e63;stroke-width:3.5}.component.fault .case{fill:#eac0b7;stroke:#b14537;stroke-width:3}.component.fault .hit{fill:#b2463210}.component-label{font-size:14px;font-weight:700;fill:#34484d}.component-sub{font-size:11px;fill:#66747f}.component-label,.component-sub,.cross-note,.small-label{paint-order:stroke;stroke:#f0f2f4;stroke-width:3;stroke-linejoin:round}.fault-x{fill:#b54537;stroke:#f2e4dc;stroke-width:2}.fault-cross{stroke:#fff;stroke-width:2}.probe-letter{font-size:15px;font-weight:700;fill:#46616a}.motive-label{font-size:10px;fill:#9e6839;paint-order:stroke;stroke:#f0f2f4;stroke-width:2}.tiny-label{font-size:10px;fill:#7a858e}.junction{fill:#b79b23;stroke:#73818e;stroke-width:2}.cross-note{font-size:11px;fill:#7b6a28;font-weight:700}@keyframes move{to{stroke-dashoffset:-44}}@media(prefers-reduced-motion:reduce){.motion{animation:none}*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:1150px){header,main{padding-inline:22px}.workbench{grid-template-columns:minmax(0,1fr) 300px}.cockpit{gap:13px;padding:10px}.quantity-gauges{gap:4px}.quantity-gauges svg{height:140px}.flow-readouts strong{font-size:28px}.diagram-head{padding:12px}.diagram-head h2{font-size:18px}.diagram-status{display:block}.diagram-status span{display:block;margin-top:3px}.legend{font-size:8px;padding:8px 12px}.manual-badge{display:none}}
@media(max-width:900px){.workbench{grid-template-columns:1fr}.diagram-panel{top:0;z-index:4;box-shadow:0 4px 15px #263d4122}.diagram-window{height:44svh;max-height:44svh}.diagram-window svg{height:100%;max-height:none;aspect-ratio:auto}.panel-tabs{position:static;padding-top:7px}.panel-content{display:grid;grid-template-columns:1fr 1fr;gap:10px}.panel-content[hidden]{display:none}#wing-controls{display:contents}.control-card{margin:0}.diagram-status{display:flex}.diagram-status span{margin:0}.quantity-gauges svg{height:140px}.cockpit{grid-template-columns:1fr .8fr}.annunciator-panel{grid-column:1/-1}.annunciator-panel h2,.annunciator-panel p{display:none}#annunciators{grid-template-columns:repeat(6,1fr)}.ann{min-height:30px;font-size:8px}.fuel-flow{padding:10px}.flow-readouts strong{font-size:34px}.notes-grid{gap:18px}}
@media(max-width:560px){header,main{padding-inline:12px}.topline{font-size:8px;letter-spacing:.5px;padding-top:18px;gap:12px}.title-row{margin:20px 0 16px}.eyebrow{font-size:9px;letter-spacing:1px}h1{font-size:39px;letter-spacing:-1.4px}.subtitle{font-size:12px;line-height:1.6}.notice{font-size:9px;padding:9px 10px}.toolbar{gap:6px;margin:13px 0 12px}.toolbar>label:first-child{display:none}.toolbar>#scenario{width:100%;flex-basis:100%;font-size:12px}.toolbar button{font-size:11px;min-height:42px}.rate-label{margin-left:auto;font-size:10px}.rate-label select{font-size:11px;min-height:40px;padding:5px 6px}.toolbar output{font-size:9px;padding:6px}.cockpit{gap:7px;padding:7px;border-radius:6px;margin-bottom:12px;grid-template-columns:1.2fr 1fr}.quantity-gauges{gap:1px}.quantity-gauges svg{height:100px}.fuel-flow{border-width:3px;padding:7px 4px}.fuel-flow h2{font-size:9px;letter-spacing:1px}.flow-readouts{gap:5px}.flow-readouts small{font-size:8px}.flow-readouts strong{font-size:25px}.flow-readouts span{font-size:8px}.fuel-flow p{font-size:6px;line-height:1.4}.annunciator-panel{padding-top:4px}#annunciators{grid-template-columns:repeat(3,1fr);gap:4px}.ann{font-size:7px;min-height:27px;padding:4px 2px}.diagram-panel{margin-inline:-12px;border-inline:0;border-radius:0}.diagram-head{padding:8px 10px}.diagram-head h2{font-size:15px}.diagram-head p{font-size:9px}.diagram-head button{font-size:9px;min-height:32px;padding:5px 8px}.view-tabs{padding:0 9px 7px;gap:4px}.view-tabs button{font-size:10px;min-height:34px;padding:5px}.diagram-window{height:26svh;max-height:26svh;min-height:170px}.diagram-window.detail svg{height:auto;min-height:0;aspect-ratio:550/630;max-height:none}.diagram-window.detail{overflow-y:auto}.legend{font-size:7px;padding:6px 10px;gap:5px 10px}.legend i{width:12px}.diagram-status{font-size:9px;display:block;padding:7px 10px}.diagram-status span{font-size:8px;display:block;margin-top:2px}.panel-content{grid-template-columns:1fr}.panel-tabs button{font-size:11px;min-height:46px}.control-card{padding:15px}.segmented button{font-size:12px;min-height:46px}.control-card h3{font-size:14px}.control-card .toggle{min-height:44px}.readout-grid,.notes-grid{grid-template-columns:1fr}.readout-card{padding:16px}.readout-card h2{font-size:15px}.notes-grid{gap:0}.source-notes{padding:15px}.source-notes summary{font-size:11px}footer{font-size:9px;gap:10px}footer>span:first-child{width:100%}.expanded .diagram-window{height:auto;max-height:none}.expanded .diagram-window.detail svg{min-height:0}}
@media(max-height:600px) and (orientation:landscape){header,main{padding-inline:14px}.workbench{grid-template-columns:minmax(0,1fr) 280px}.diagram-panel{position:sticky;top:0}.diagram-head{padding:6px 9px}.diagram-head h2{font-size:13px}.diagram-head p{display:none}.diagram-head button{font-size:9px;min-height:28px}.view-tabs{padding:0 7px 6px}.view-tabs button{font-size:9px;min-height:28px}.diagram-window{height:calc(100svh - 145px);max-height:calc(100svh - 145px);min-height:160px}.diagram-window svg{height:100%;max-height:none}.legend{font-size:6px;padding:5px 8px;gap:4px 7px}.diagram-status{font-size:8px;padding:6px 8px;display:block}.diagram-status span{font-size:7px}.panel-content{grid-template-columns:1fr}.panel-tabs{padding-top:0}.panel-tabs button{font-size:10px}.expanded .diagram-window{height:auto;max-height:none}}

.diagram-window.frozen .motion{animation-play-state:paused}

.ann.blank{background:transparent;border-color:transparent;box-shadow:none}
@media(max-width:360px) and (orientation:portrait){.diagram-window{height:20svh;max-height:20svh;min-height:135px}.diagram-head p{font-size:8px}.legend{font-size:6px}.diagram-status{font-size:8px}.diagram-status span{font-size:7px}}
