:root{--ink:#173b46;--muted:#5c727c;--teal:#087e85;--orange:#e7903b;--line:#d9e5e8;--paper:#fff;--page:#eef4f5;font-family:Inter,'Segoe UI','Yu Gothic',system-ui,sans-serif;color:var(--ink);background:var(--page)}*{box-sizing:border-box}body{margin:0;line-height:1.5}button,select,input{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:10px 15px;color:var(--ink);background:var(--paper);font-weight:650}button:hover:not(:disabled){border-color:var(--teal);background:#e7f4f3}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #df8b22;outline-offset:4px}a{color:#087780}h1,h2,h3,p{margin-top:0}h2{font-size:20px;line-height:1.3;margin-bottom:20px;display:flex;align-items:center;gap:12px}h3{font-size:17px}canvas{display:block;max-width:100%}.topbar{background:#163b4b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:15px max(24px,calc((100vw - 1380px)/2));gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff}.brand img{border-radius:6px;object-fit:contain;background:white}.brand strong{display:block;font-size:21px}.brand small{display:block;color:#c4dce3;font-size:12px}.vv-language-switcher{display:flex;flex-wrap:wrap;gap:4px;border:1px solid #5b7b88;border-radius:30px;padding:4px}.vv-language-switcher button{background:transparent;color:#e5f5f8;border:0;padding:7px 12px;border-radius:20px;font-size:13px}.vv-language-switcher button[aria-pressed=true]{background:#fff;color:#164b55}.vv-language-switcher button:hover:not(:disabled){color:var(--ink)}main{max-width:1428px;margin:auto;padding:34px 24px 44px}.hero{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:18px}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:var(--teal);margin-bottom:8px}.hero h1{font-size:clamp(25px,3vw,39px);letter-spacing:-.04em;margin:0 0 4px}.hero-question{font-size:22px;font-weight:550;margin:0 0 8px}.intro{max-width:790px;font-size:15px;color:var(--muted);margin:0}.mission{display:flex;gap:14px;align-items:center;border-left:3px solid var(--orange);padding-left:20px;max-width:310px;min-width:220px}.mission-icon{font-size:52px;color:var(--teal);line-height:1}.mission span:not(.mission-icon){display:block;font-size:11px;letter-spacing:.12em;font-weight:800;color:var(--muted)}.mission strong{font-size:18px;line-height:1.35;display:block}.toolbar{display:flex;align-items:center;gap:25px;margin-bottom:20px;font-size:13px}.text-button{background:transparent;border:0;padding:8px 0;color:var(--teal);text-align:left}.toolbar a{font-weight:650}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:23px;box-shadow:0 5px 20px #173b4605}.design-panel{padding:24px}.step{font:800 12px/1.8 ui-monospace,monospace;color:var(--teal);background:#e2f2f0;border-radius:5px;padding:2px 7px;flex-shrink:0}fieldset{border:0;padding:0;margin:0;min-width:0}.field-title,.field-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:700;margin:18px 0 10px}.field-title:first-of-type{margin-top:0}select{width:100%;padding:10px 12px;border:1px solid #bdcfd5;border-radius:8px;color:var(--ink);background:var(--paper)}.package-data{display:grid;grid-template-columns:1fr 1fr;margin:12px 0 7px;background:#f3f7f8;border-radius:8px;padding:10px;gap:10px}.package-data small{display:block;font-size:11px;color:var(--muted)}.package-data b{font:650 14px/1.4 ui-monospace,monospace}.hint{color:var(--muted);font-size:12px;line-height:1.55;margin:7px 0 17px}.field-head output{white-space:nowrap;font:750 15px/1.3 ui-monospace,monospace;color:var(--teal)}input[type=range]{width:100%;height:20px;accent-color:var(--teal);margin:0}.mixture-labels,.mixture-masses{display:flex;justify-content:space-between;gap:14px;font-size:13px;margin-bottom:5px}.fuel-label{color:#985013}.oxidizer-label{color:#066d78}.mixture-bar{height:12px;border-radius:5px;overflow:hidden;display:flex;margin:8px 0}.mixture-bar span:first-child{background:#e6a04c}.mixture-bar span:last-child{background:#219cad}.mixture-masses{font:600 12px ui-monospace,monospace;color:var(--muted)}.preflight{border-top:1px solid var(--line);padding-top:16px}.mass-total{display:flex;justify-content:space-between;align-items:center;font-size:14px}.mass-total strong{font:800 23px ui-monospace,monospace}.preflight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}.preflight-grid span{display:block;font-size:10px;color:var(--muted)}.preflight-grid b{font:700 14px ui-monospace,monospace}.preflight p{font-size:12px;background:#e9f5ef;border-radius:8px;padding:11px;line-height:1.5}.preflight p.is-held{background:#fff0de;color:#775016}button.primary{background:var(--teal);border-color:var(--teal);color:white;width:100%;padding:14px;font-size:16px}button.primary:hover:not(:disabled){background:#066570;color:white}.flight-panel{min-width:0}.flight-scene{background:#102e43;border-radius:16px;overflow:hidden;position:relative;color:white;border:1px solid #244a60}.scene-heading{position:absolute;top:20px;left:22px;right:22px;z-index:1;display:flex;gap:12px;align-items:center;justify-content:space-between}.scene-heading .light{color:#9dcedc;font-size:10px;margin:0}.phase-label{font-size:12px;border:1px solid #568192;border-radius:25px;padding:5px 12px;background:#173c50dd}.flight-scene canvas{width:100%;height:430px}.scene-foot{position:absolute;bottom:14px;left:20px;right:20px;font-size:11px;color:#c4dbe3}.flight-controls{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.flight-controls button{font-size:12px;padding:8px 12px}.telemetry{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:18px}.telemetry div{padding:13px 16px;border-right:1px solid var(--line)}.telemetry div:last-child{border:0}.telemetry span,.result-grid span{display:block;font-size:11px;line-height:1.35;color:var(--muted);margin-bottom:6px}.telemetry strong{font:750 clamp(14px,1.6vw,21px)/1.2 ui-monospace,monospace;white-space:nowrap}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.section-head h2{margin-bottom:16px}.section-head .text-button{font-size:12px}.result-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:16px}.result-grid strong{font:750 18px/1.2 ui-monospace,monospace;display:block}.altitude-result strong{font-size:27px;color:var(--teal)}.result-explanation{font-size:13px;color:var(--muted);margin:18px 0 0}.graph-panel,.notebook{margin-top:22px}.graph-panel canvas{width:100%;height:260px}.graph-panel .hint{margin:0}.legend{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.current-dot,.previous-dot{width:20px;border-top:3px solid #087e85}.previous-dot{border-color:#be8040;border-top-style:dashed;margin-left:12px}.notebook-actions{display:flex;gap:18px;align-items:center;font-size:12px}.notebook-actions .text-button{color:var(--muted)}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;width:100%;min-width:750px;text-align:left;font-size:13px}th{background:#edf5f5;padding:12px;font-size:11px;font-weight:750}td{padding:12px;border-top:1px solid var(--line)}td.numeric{font-family:ui-monospace,monospace}tbody tr:last-child{background:#f1f9f7}.empty-row{text-align:center;color:var(--muted);padding:25px}.best-result{padding:12px 16px;border-left:3px solid var(--teal);background:#eaf6f0;margin:0 0 18px;font-size:14px}.best-result strong{font-family:ui-monospace,monospace;font-size:20px;margin-left:12px}.session-note{color:var(--muted);font-size:11px;margin:12px 0}.science-tip{margin:20px 0 0;background:#f2f6f7;padding:15px 18px;border-radius:8px;font-size:13px;color:var(--muted)}.model-note{text-align:center;font-size:12px;color:var(--muted);margin:24px auto 0;max-width:850px}footer{padding:20px 24px 90px;max-width:1428px;margin:auto;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:18px;max-width:760px;width:calc(100% - 32px);max-height:86vh;padding:28px;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#102e43aa;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-header button{font-size:12px}dialog h3{margin:25px 0 7px}dialog p,dialog li{font-size:14px;color:var(--muted)}.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}[hidden]{display:none!important}html[data-vv-theme=dark]{--paper:#142b37;--page:#0d202b;--ink:#e4f1f5;--muted:#b4c8d0;--line:#3a5360}html[data-vv-theme=dark] .package-data,html[data-vv-theme=dark] .telemetry,html[data-vv-theme=dark] th,html[data-vv-theme=dark] .science-tip{background:#1b3542}html[data-vv-theme=dark] .preflight p,html[data-vv-theme=dark] .best-result,html[data-vv-theme=dark] tbody tr:last-child{background:#193d3b}html[data-vv-theme=dark] .fuel-label{color:#f0b46e}html[data-vv-theme=dark] .oxidizer-label,html[data-vv-theme=dark] a,html[data-vv-theme=dark] .text-button{color:#6dd8dc}html[data-vv-theme=dark] .preflight p.is-held{background:#493a26;color:#f5d6a8}html[data-vv-theme=dark] .altitude-result strong,html[data-vv-theme=dark] .field-head output{color:#70d3cf}
@media(max-width:1050px){.workspace{grid-template-columns:300px minmax(0,1fr);gap:16px}.design-panel{padding:18px}.telemetry{grid-template-columns:1fr 1fr}.telemetry div:nth-child(2){border-right:0}.telemetry div:nth-child(-n+2){border-bottom:1px solid var(--line)}.result-grid{grid-template-columns:1fr 1fr}.mission{display:none}.section-head{flex-wrap:wrap;gap:10px}.section-head h2{margin-bottom:8px}.graph-panel .section-head{margin-bottom:15px}.flight-scene canvas{height:400px}}
@media(max-width:720px){main{padding:24px 14px 30px}.topbar{padding:12px 15px;flex-wrap:wrap;gap:13px}.brand img{width:58px;height:38px}.brand strong{font-size:18px}.vv-language-switcher{gap:0;padding:2px}.vv-language-switcher button{font-size:12px;padding:6px 9px}.hero{margin-bottom:12px}.hero h1{font-size:30px}.hero-question{font-size:19px}.intro{font-size:14px}.toolbar{gap:18px;flex-wrap:wrap}.workspace{grid-template-columns:1fr}.design-panel{padding:20px}.package-data{grid-template-columns:1fr 1fr}.field-head{margin-top:16px}.flight-scene canvas{height:370px}.scene-heading{left:15px;right:15px;top:14px;flex-wrap:wrap;gap:8px}.phase-label{font-size:11px}.panel{padding:18px}.telemetry strong{font-size:20px}.flight-controls button{flex:1 1 40%}.section-head .text-button{padding-top:0}.notebook-actions{flex-wrap:wrap;gap:14px}.graph-panel canvas{height:240px}.result-grid{gap:18px}.graph-panel .legend{font-size:10px}footer{padding-bottom:100px}dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
