.re-page{max-width:1160px}.re-back{display:inline-block;margin:4px 0 20px;color:#ffb36b;font-weight:750}.re-back:hover{color:#ffd0a3}
.re-hero{padding:clamp(25px,5vw,48px);border:1px solid #34485c;border-radius:18px;background:radial-gradient(ellipse at 82% 15%,#ff8a3220,transparent 42%),linear-gradient(130deg,#18283a,#101720);margin-bottom:22px}
.re-hero h2{margin:12px 0;color:#f5f8fb;font-size:clamp(2rem,5vw,3.25rem);letter-spacing:-.05em}.re-hero h2 span{color:#ffad68}.re-hero>p{max-width:800px;color:#b7c5d3;font-size:1.02rem}
.re-equation{margin:22px 0 5px;padding:13px;border:1px solid #42566b;border-radius:10px;background:#0c1520;color:#fff;text-align:center;font-size:clamp(1.15rem,3vw,1.7rem)}.re-caption{display:block;color:#9eafc1;text-align:center;font-size:.78rem}
.re-simulator{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:17px;align-items:start}.re-config,.re-results{min-width:0;padding:clamp(16px,2.5vw,23px);border:1px solid #304255;border-radius:15px;background:#111b27}
.re-section-heading,.re-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.re-section-heading h3,.re-results-head h3{margin:5px 0 0;color:#f5f8fb;font-size:1.22rem}.re-reset{padding:8px 12px;border:1px solid #52677c;border-radius:8px;background:#1b2a3a;color:#eaf0f6;font:inherit;font-weight:700;cursor:pointer}.re-reset:hover{border-color:#ff8a32;color:#ffbd82}
.re-fields{display:grid;gap:19px}.re-field{min-width:0}.re-field>label{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#f5f8fb;font-weight:750}.re-field>label span{color:#ffbd82;font-size:.82rem}.re-control{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:12px}.re-control input[type=range]{width:100%;accent-color:#ff8a32}.re-control input[type=number]{width:100%;min-width:0;padding:8px;border:1px solid #34485c;border-radius:7px;background:#0b121b;color:#f5f8fb;font:inherit;font-variant-numeric:tabular-nums}.re-control input[aria-invalid=true]{border-color:#df7569}.re-control input:focus-visible,.re-reset:focus-visible{outline:2px solid #ff8a32;outline-offset:3px}.re-field small{display:block;margin-top:5px;color:#91a3b5;font-size:.77rem;line-height:1.45}.re-status{margin:19px 0 0;color:#9eafc1;font-size:.82rem}
.re-primary-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.re-primary-results article{padding:16px;border:1px solid #4a5d70;border-radius:11px;background:linear-gradient(145deg,#1d3043,#172536)}.re-primary-results span,.re-primary-results small{display:block;color:#aebdca;font-size:.8rem}.re-primary-results strong{display:block;margin:6px 0 0;color:#ffb36b;font-size:clamp(1.8rem,3vw,2.5rem);font-weight:850;letter-spacing:-.045em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.re-primary-results small{margin-top:2px}
.re-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px;margin-top:17px}.re-result-grid>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:10px 0;border-bottom:1px solid #293b4d}.re-result-grid span{color:#9eafc1;font-size:.78rem}.re-result-grid strong{color:#f0f4f8;text-align:right;font-size:.85rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.re-flow-state{margin-top:17px;padding:11px;border:1px solid #53677b;border-radius:8px;background:#1b2a3a;color:#c5d4e2;font-size:.76rem;font-weight:850;letter-spacing:.045em}.re-flow-state[data-state=over]{border-color:#bd7651;background:#42291f;color:#ffc09a}.re-flow-state[data-state=under]{border-color:#477d9c;background:#193246;color:#a9d8f5}.re-flow-state[data-state=matched]{border-color:#397b5a;background:#173b2c;color:#9de0b8}.re-result-note{margin:12px 0 0;color:#91a3b5;font-size:.78rem;line-height:1.5}
.re-explain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:19px}.re-explain-grid article,.re-model-note{padding:20px;border:1px solid #304255;border-radius:13px;background:#111b27}.re-explain-grid h3,.re-model-note h3{margin:8px 0;color:#f5f8fb;font-size:1.1rem}.re-explain-grid p,.re-model-note p{color:#b1bfcd;font-size:.88rem;line-height:1.6}.re-formula{padding:8px;border-radius:8px;background:#0b121b;text-align:center;overflow-x:auto}.re-model-note{margin-top:16px;border-left:3px solid #ff8a32}.re-disclaimer{margin:17px 0;text-align:center;color:#8294a7;font-size:.78rem}
@media(max-width:900px){.re-simulator{grid-template-columns:1fr}.re-explain-grid{grid-template-columns:1fr 1fr}.re-results{order:0}}
@media(max-width:620px){.re-explain-grid{grid-template-columns:1fr}.re-control{grid-template-columns:minmax(0,1fr) 90px}.re-result-grid{grid-template-columns:1fr}.re-hero{padding:24px 18px}}
@media(max-width:360px){.re-control{grid-template-columns:1fr}.re-control input[type=number]{max-width:140px}}

/* Stage 7.7.3 — responsive live engine cutaway */
.re-equation{font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.015em}
.re-visual-section{margin-top:20px;padding:clamp(16px,3vw,25px);border:1px solid #304255;border-radius:15px;background:#111b27;min-width:0}
.re-visual-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
.re-visual-heading h3{margin:5px 0;color:#f5f8fb;font-size:1.3rem}
.re-visual-heading p{margin:0;color:#aebdca;font-size:.86rem}
.re-visual-chip{flex:0 0 auto;padding:8px 10px;border:1px solid #477d9c;border-radius:7px;background:#193246;color:#a9d8f5;font-size:.68rem;font-weight:850;letter-spacing:.04em;text-align:center}
.re-visual-chip[data-state=over]{border-color:#bd7651;background:#42291f;color:#ffc09a}
.re-visual-chip[data-state=matched]{border-color:#397b5a;background:#173b2c;color:#9de0b8}
.re-visual-frame{overflow:hidden;border:1px solid #2e4357;border-radius:11px;background:#0b121b}
.re-visual-frame svg{display:block;width:100%;height:auto;min-height:190px}
.re-svg-label text,.re-svg-dim text,.re-svg-annotations text{fill:#aebdca;font:700 12px system-ui,sans-serif;letter-spacing:1px}
.re-svg-dim text{font-size:11px;letter-spacing:.3px}.re-svg-annotations text{fill:#ffbd82;font-size:10px}
#re-flow-particles circle{filter:drop-shadow(0 0 4px #ffb45f);animation:re-flow 1.8s linear infinite}
#re-flow-particles circle:nth-child(2){animation-delay:-.25s}#re-flow-particles circle:nth-child(3){animation-delay:-.5s}#re-flow-particles circle:nth-child(4){animation-delay:-.75s}#re-flow-particles circle:nth-child(5){animation-delay:-1s}#re-flow-particles circle:nth-child(6){animation-delay:-1.25s}#re-flow-particles circle:nth-child(7){animation-delay:-1.5s}
@keyframes re-flow{0%{transform:translateX(-12px);opacity:.25}50%{opacity:1}100%{transform:translateX(45px);opacity:.25}}
.re-visual-legend{display:flex;flex-wrap:wrap;gap:10px 22px;margin:13px 2px 0;color:#aebdca;font-size:.76rem}
.re-visual-legend span{display:flex;align-items:center;gap:7px}.re-visual-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}
.re-legend-chamber{background:#ffbf68}.re-legend-throat{background:#fff0c2}.re-legend-exhaust{background:#ff7040}
.re-visual-note{margin:12px 0 0;color:#879bad;font-size:.76rem;line-height:1.5}
@media(max-width:620px){.re-visual-heading{flex-direction:column}.re-visual-chip{max-width:100%}.re-visual-frame svg{min-height:130px}.re-svg-label text{font-size:15px}}
@media(prefers-reduced-motion:reduce){#re-flow-particles circle{animation:none}}

/* Readable math and live cutaway telemetry */
.re-formula{padding:14px 10px;border-radius:8px;background:#0b121b;text-align:center;overflow-x:auto;color:#f5d2a8;font-size:clamp(.88rem,1.8vw,1.08rem);line-height:2}
.re-formula strong{font-weight:700;white-space:normal}.re-formula sub,.re-formula sup{font-size:.72em}
.re-visual-readouts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin-top:13px}
.re-visual-readouts span{display:flex;flex-direction:column;gap:4px;padding:9px 10px;border:1px solid #293e52;border-radius:8px;background:#0c1520;color:#8196aa;font-size:.64rem;font-weight:800;letter-spacing:.045em}
.re-visual-readouts strong{color:#ffbd82;font-size:.88rem;font-variant-numeric:tabular-nums;letter-spacing:0}
/* Stage 7.7.4 — altitude-linked ambient conditions and performance chart */
.re-environment-control{padding:13px;border:1px solid #34485c;border-radius:9px;background:#0c1520}
.re-env-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.re-env-heading>label,.re-altitude-control>label:first-child{color:#f2f5f8;font-size:.84rem;font-weight:750}
.re-env-heading select{max-width:58%;padding:7px;border:1px solid #52677c;border-radius:7px;background:#172536;color:#f5f8fb;font:inherit;font-size:.82rem}
.re-altitude-control{display:grid;grid-template-columns:1fr auto;gap:9px 12px;align-items:center;margin-top:14px}
.re-altitude-control>label:first-child{display:flex;flex-direction:column;gap:3px}
.re-altitude-control strong{color:#ffbd82;font-variant-numeric:tabular-nums}
.re-altitude-control input[type=range]{grid-column:1/-1;width:100%;accent-color:#ff8a32}
.re-vacuum-option{grid-column:1/-1;display:flex;align-items:center;gap:8px;color:#b8c6d4;font-size:.8rem}
.re-vacuum-option input{accent-color:#ff8a32}
.re-environment-control>small{display:block;margin-top:10px;color:#91a3b5;font-size:.74rem;line-height:1.45}
.re-control input:disabled,.re-altitude-control input:disabled{opacity:.42;cursor:not-allowed}
.re-altitude-section{margin-top:20px;padding:clamp(16px,3vw,25px);border:1px solid #304255;border-radius:15px;background:#111b27;min-width:0}
.re-altitude-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.re-altitude-heading h3{margin:5px 0;color:#f5f8fb;font-size:1.3rem}
.re-altitude-heading p{margin:0;color:#aebdca;font-size:.86rem}
.re-altitude-heading>strong{padding:8px 10px;border:1px solid #52677c;border-radius:7px;background:#0b121b;color:#ffbd82;font-size:.8rem;text-align:right;white-space:nowrap}
.re-chart-legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin:17px 0 8px;color:#b9c7d4;font-size:.78rem}
.re-chart-legend span{display:flex;align-items:center;gap:7px}.re-chart-legend i{width:18px;height:3px;display:inline-block;border-radius:2px}
.re-chart-thrust{background:#ffad68}.re-chart-isp{background:#75c5f2}
.re-chart-frame{width:100%;overflow:hidden;border:1px solid #2e4357;border-radius:10px;background:#0b121b}
#re-altitude-chart{display:block;width:100%;height:300px}
.re-chart-note{margin:10px 0;color:#91a3b5;font-size:.76rem;line-height:1.5}
.re-altitude-section h4{margin:17px 0 9px;color:#eaf0f6;font-size:.92rem}
.re-altitude-reference-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.re-altitude-reference-grid>div{padding:10px;border:1px solid #293e52;border-radius:8px;background:#0c1520;min-width:0}
.re-altitude-reference-grid span,.re-altitude-reference-grid strong{display:block}
.re-altitude-reference-grid span{color:#91a3b5;font-size:.72rem}
.re-altitude-reference-grid strong{margin-top:5px;color:#f0f4f8;font-size:.78rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:700px){.re-altitude-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.re-altitude-heading{flex-direction:column}.re-altitude-heading>strong{white-space:normal;text-align:left}}
@media(prefers-reduced-motion:reduce){.re-altitude-section *{scroll-behavior:auto}}

/* Stage 7.7.5 — real-engine reference presets */
.re-preset-panel{margin:0 0 19px;padding:14px;border:1px solid #43586d;border-radius:10px;background:linear-gradient(135deg,#182a3c,#0c1520)}
.re-preset-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.re-preset-heading h4{margin:4px 0 0;color:#f3f6fa;font-size:1rem}
.re-preset-tag{padding:5px 8px;border:1px solid #765338;border-radius:6px;color:#ffbd82;font-size:.67rem;font-weight:850}
.re-preset-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.re-preset-controls select{width:100%;min-width:0;padding:9px;border:1px solid #43586d;border-radius:7px;background:#0b121b;color:#f3f6fa;font:inherit;font-size:.83rem}
.re-preset-controls button{padding:9px 12px;border:1px solid #a95e2c;border-radius:7px;background:#a84d20;color:#fff;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}
.re-preset-controls button:hover{background:#c7612b}
.re-preset-description{margin:10px 0;color:#b6c5d3;font-size:.8rem;line-height:1.5}
.re-preset-reference{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.re-preset-reference>div{min-width:0;padding:9px;border:1px solid #2d4256;border-radius:7px;background:#0b121b}
.re-preset-reference span,.re-preset-reference strong{display:block}
.re-preset-reference span{color:#8499ad;font-size:.61rem;font-weight:850;letter-spacing:.04em}
.re-preset-reference strong{margin-top:5px;color:#ffbd82;font-size:.8rem;line-height:1.35;overflow-wrap:anywhere}
.re-preset-caveat{margin:10px 0 5px;color:#9baec0;font-size:.73rem;line-height:1.5}
#re-preset-source{color:#8fc8ec;font-size:.76rem;font-weight:750}
.re-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}
@media(max-width:420px){.re-preset-controls{grid-template-columns:1fr}.re-preset-controls button{width:100%}}

/* 7.7.5.2 — engine comparison */
.re-compare-panel{margin:0 0 19px;padding:14px;border:1px solid #43586d;border-radius:10px;background:#101d2a}
.re-compare-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.re-compare-options label{display:flex;align-items:flex-start;gap:8px;padding:8px;border:1px solid #2d4256;border-radius:7px;background:#0b121b;color:#c5d2de;font-size:.76rem;line-height:1.35}
.re-compare-options input{flex:0 0 auto;accent-color:#ff8a32}
.re-compare-button{padding:9px 12px;border:1px solid #a95e2c;border-radius:7px;background:#a84d20;color:#fff;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}
.re-compare-output{max-width:100%;overflow-x:auto;margin-top:12px}
.re-compare-output>p{color:#9baec0;font-size:.78rem}
.re-compare-table{width:100%;border-collapse:collapse;color:#d7e0e8;font-size:.75rem;white-space:normal}
.re-compare-table th,.re-compare-table td{padding:9px;text-align:left;vertical-align:top;border:1px solid #30465a;min-width:105px}
.re-compare-table th{background:#1b3043;color:#ffbd82;font-size:.68rem}
.re-compare-table td:first-child{font-weight:800;color:#f4f7fa}
@media(max-width:420px){.re-compare-options{grid-template-columns:1fr}}

/* 7.7.5.3 — model/reference difference columns */
.re-compare-table .re-compare-difference{font-weight:800;font-variant-numeric:tabular-nums;color:#ffbd82}

/* 7.7.6 — learning, equations, worked example and references */
.re-learning-section{margin:2rem 0;padding:1.5rem;border:1px solid #293d50;border-radius:16px;background:#111d29}
.re-learning-section>h2{margin:.35rem 0 .7rem;font-size:1.55rem}
.re-learning-section>p,.re-learning-grid p,.re-worked-example p,.re-model-note p,.re-source-list p{color:#b8c8d7;line-height:1.65}
.re-learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.2rem 0}
.re-learning-grid article,.re-worked-example,.re-source-list{padding:1rem;border:1px solid #293d50;border-radius:12px;background:#152332}
.re-learning-grid h3,.re-worked-example h3,.re-source-list h3{margin:.1rem 0 .55rem}
.re-learning-grid .re-formula{overflow-x:auto;padding:.8rem;border-radius:8px;background:#0c1722;color:#ffd0a5;line-height:1.8}
.re-worked-example ul{padding-left:1.25rem;line-height:1.8}
.re-source-list a{color:#ffbd82;text-decoration:underline;text-underline-offset:3px}
.re-source-list p{margin:.6rem 0}
@media(max-width:680px){.re-learning-section{padding:1rem}.re-learning-grid{grid-template-columns:1fr}}


/* 7.7.7 — interpretation, operating regimes and accessibility */
.re-compare-interpretation{margin:13px 0 4px;padding:12px 14px;border-left:3px solid #ff8a32;border-radius:7px;background:#172737}
.re-compare-interpretation h5{margin:0 0 5px;color:#ffd0a5;font-size:.82rem}
.re-compare-interpretation p{margin:0;color:#c0ceda;font-size:.76rem;line-height:1.6}
.re-flow-guide{margin-top:10px;border:1px solid #30465a;border-radius:8px;background:#111e2b;color:#d5e0e9}
.re-flow-guide summary{padding:10px 12px;color:#ffbd82;font-size:.8rem;font-weight:800;cursor:pointer}
.re-flow-guide summary:focus-visible,.re-compare-button:focus-visible,.re-compare-options input:focus-visible,.re-preset-controls select:focus-visible,.re-control input:focus-visible,.re-altitude-control input:focus-visible{outline:2px solid #ff8a32;outline-offset:3px}
.re-flow-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 12px 10px}
.re-flow-guide-grid article{padding:10px;border:1px solid #2d4256;border-radius:7px;background:#152332}
.re-flow-guide-grid h5{margin:0 0 5px;color:#f4f7fa;font-size:.76rem}
.re-flow-guide-grid p,.re-flow-guide-note{margin:0;color:#afbfce;font-size:.73rem;line-height:1.55}
.re-flow-guide-note{padding:0 12px 12px}
.re-compare-table caption{padding:8px;text-align:left;color:#afbfce;font-size:.72rem;caption-side:top}
@media(max-width:620px){.re-flow-guide-grid{grid-template-columns:1fr}}
