:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#e7ecf5;background:#080e19;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#080e19}body{background:radial-gradient(circle at 65% -35%,#192a42 0%,transparent 50%),#080e19;color:#e8eff9}button,input{font:inherit}button{cursor:pointer;border:1px solid #28354a;background:#111d2d;color:#d5e2f1;border-radius:6px;transition:background .15s,border-color .15s}button:hover{background:#1a2b40;border-color:#506882}button:focus-visible,input:focus-visible{outline:2px solid #82d4fa;outline-offset:3px}.app-shell{max-width:1860px;margin:auto;padding:0 28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:94px;border-bottom:1px solid #253044}.brand{display:flex;align-items:center;gap:16px}.brand-mark{position:relative;display:grid;place-items:center;width:52px;height:52px;border:1px solid #ad693f;border-radius:12px;background:linear-gradient(145deg,#553d34,#1b2636 62%);box-shadow:0 0 32px #b2683526;font-size:31px;font-weight:500;color:#ffb681}.brand-mark span{font-size:9px;font-weight:750;position:absolute;bottom:3px;right:5px;color:#ffcead}.brand-label{font-size:9px!important;letter-spacing:.23em!important}.brand-title{margin-top:3px;letter-spacing:.015em;font-weight:780;font-size:24px;line-height:1}.brand-title>span:last-child{font-weight:500;color:#f3a474}.slash{color:#5a728b}.eyebrow{color:#718aa7;font-size:10px;font-weight:780;letter-spacing:.13em}.orange{color:#eda574}.header-meta{display:flex;gap:18px;align-items:center;flex-wrap:wrap;color:#788ca6;font-size:10px;font-weight:720;letter-spacing:.08em}.signal{color:#9ed6ae}.signal i,.stage-live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6ee5ad;box-shadow:0 0 12px #5ce6a1;margin-right:6px}.separator{height:17px;border-left:1px solid #2b384b}.headline{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:27px 0 24px}.headline h1{margin:8px 0 9px;font-size:clamp(24px,2.15vw,35px);letter-spacing:-.042em;line-height:1.15}.headline h1 span{color:#b5c6db;font-weight:440}.subtitle{margin:0;color:#758eaa;font-size:12px;line-height:1.6}.headbadge{display:grid;gap:4px;text-align:right;padding-left:25px;border-left:1px solid #344153}.headbadge span,.headbadge small{font-size:9px;letter-spacing:.12em;color:#7d91a8}.headbadge strong{color:#dfa475;font-size:23px;font-weight:550}.workbench{display:grid;grid-template-columns:284px minmax(440px,1fr) 262px;gap:14px;align-items:stretch;min-height:710px}.panel,.stage-area{border:1px solid #273348;background:#0d1725;border-radius:10px;overflow:hidden}.panel{padding:21px 19px}.section-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}.section-index{display:grid;place-items:center;flex:0 0 26px;height:26px;border:1px solid #394358;border-radius:4px;color:#c6a58f;font-size:10px;font-weight:750}.section-head h2{margin:4px 0 0;font-size:16px;letter-spacing:-.02em}.subheading{font-size:10px;font-weight:800;letter-spacing:.13em;color:#7e95ac;margin:18px 0 13px}.preset-stack{display:grid;gap:7px}.preset{display:flex;align-items:center;text-align:left;padding:10px 12px;gap:10px;background:#111c2c}.preset.selected{background:#292232;border-color:#936949}.preset>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:3px}.preset b{font-weight:680;font-size:12px}.preset small{font-size:10px;color:#7e92aa}.dot{width:8px;height:8px;border-radius:50%}.coral{background:#f5a179}.blue{background:#7bceeb}.violet{background:#9e9bee}.chevron{color:#6f8298}.divider-line{border-top:1px solid #29364a;margin:22px 0 14px}.parameter{display:block;margin:15px 0 18px}.parameter>span{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:9px}.parameter b{font-size:11px;font-weight:620;color:#becde0}.parameter output{font:700 10px ui-monospace,SFMono-Regular,Consolas,monospace;color:#e7ad85}.parameter small{display:block;color:#627c97;font-size:10px;margin-top:5px}.parameter input{display:block;width:100%;height:4px;appearance:none;outline:none;border-radius:10px;background:linear-gradient(90deg,#b37d5e,#34465e);cursor:pointer}.parameter input::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border:2px solid #ffc496;border-radius:50%;background:#192231;box-shadow:0 0 0 3px #ffffff0c}.parameter input::-moz-range-thumb{width:9px;height:9px;border:2px solid #ffc496;border-radius:50%;background:#192231}.solver-note{display:flex;align-items:center;gap:9px;margin-top:14px;padding:12px;border:1px solid #2a403f;background:#142a2a;border-radius:6px;font-size:10px;font-weight:800;color:#9bcfbb}.solver-icon{font-size:22px;color:#70c8af}.solver-note small{display:block;font-size:10px;font-weight:500;color:#77988f;margin-top:2px}.stage-area{position:relative;display:flex;flex-direction:column;min-width:0;background:#091522}.stage-top{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:18px 20px;background:linear-gradient(180deg,#111d2d,#0c1929);border-bottom:1px solid #293448;min-height:78px}.stage-title{margin-top:8px;font-size:14px;font-weight:800;letter-spacing:.08em}.stage-live{padding-left:12px;font-size:9px;color:#94af9c;font-weight:720;white-space:nowrap}.stage-actions{display:flex;gap:6px}.stage-actions button{padding:8px;font-size:10px}.stage-actions button.on{background:#22403f;border-color:#4c998d;color:#bce4d8}.stage-view{position:relative;flex:1;min-height:365px;overflow:hidden;background:radial-gradient(ellipse at 40% 40%,#182b42 0%,#0b1b2b 56%,#081421 100%)}#sim-canvas{display:block;width:100%;height:100%;touch-action:none}.scope-frame{position:absolute;width:20px;height:20px;pointer-events:none;border-color:#7f90a3;opacity:.6}.corner-tl{top:16px;left:17px;border-top:1px solid;border-left:1px solid}.corner-tr{top:16px;right:17px;border-top:1px solid;border-right:1px solid}.corner-bl{bottom:16px;left:17px;border-bottom:1px solid;border-left:1px solid}.corner-br{bottom:16px;right:17px;border-bottom:1px solid;border-right:1px solid}.stage-float{position:absolute;font-size:10px;letter-spacing:.09em;color:#9cb2c8;pointer-events:none}.stage-float.upper-left{left:31px;top:28px;color:#77b0cc}.stage-float .glow{display:inline-block;width:6px;height:6px;background:#8bceee;border-radius:50%;margin-right:7px;box-shadow:0 0 10px #65c3ef}.stage-float.lower-left{left:30px;bottom:27px}.stage-float.lower-right{right:30px;bottom:27px;text-align:right}.stage-float b{display:block;font:650 18px ui-monospace,Consolas,monospace;color:#e3f0fb;margin-top:5px}.stage-float b span{font-size:10px;font-weight:500;color:#7392ac}.status-small{font-weight:700;font-size:9px;color:#7392ac}.stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#101e2f;border-top:1px solid #293649;border-bottom:1px solid #293649;padding:10px 16px}.mode-set{display:flex;align-items:center;gap:6px}.mode-set>.eyebrow{margin-right:9px}.mode{font-size:10px;padding:7px 10px}.mode.selected{border-color:#a47860;color:#ffd0ae;background:#3c302d}.hint{font-size:9px;color:#8ba9ba;letter-spacing:.05em}.actionbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 16px;border-bottom:1px solid #273649}.actionbar button{padding:9px 12px;font-size:11px;font-weight:640}.actionbar .primary-action{background:#bc7753;border-color:#d28e69;color:#151821}.actionbar .primary-action:hover{background:#e99d70}.push{flex:1}.chart-panel{padding:15px 20px 8px;background:#0b1727;min-height:162px}.chart-heading,.chart-heading>div,.chart-key{display:flex;align-items:center;gap:10px}.chart-heading{justify-content:space-between;gap:15px}.chart-heading b{font-size:12px}.chart-heading small{display:block;font-size:9px;margin-top:3px;color:#6c829a}.chart-key{font-size:9px;color:#9cb1c3;gap:13px;white-space:nowrap}.chart-key i{display:inline-block;width:14px;height:3px;vertical-align:middle;margin-right:3px}.line-energy{background:#efab81}.line-interface{background:#6cbbef}#history-chart{display:block;width:100%;height:100px;margin-top:3px}.metric{border:1px solid #2b394b;border-radius:7px;padding:13px;background:linear-gradient(140deg,#152439,#101b2b)}.metric>span{font-size:9px;letter-spacing:.1em;font-weight:760;color:#849cb6}.metric strong{display:block;color:#eea67a;font-size:24px;font-weight:670;letter-spacing:-.035em;margin:5px 0}.metric small{font-size:9px;color:#70849a}.metric.large{margin-bottom:11px}.metric.large strong{font-size:33px}.metric-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.metric-pair .metric{padding:11px 9px}.metric-pair strong{font-size:18px}.metric-pair .metric>span{font-size:8px}.map-wrap{width:100%;aspect-ratio:1;position:relative;border:1px solid #3c5068;padding:6px;background:#18283a;box-shadow:0 0 25px #648fbd1a;border-radius:5px}.map-wrap canvas{width:100%;height:100%;image-rendering:auto;display:block;cursor:crosshair;border-radius:2px}.map-cross{pointer-events:none;position:absolute;background:#cde8ff24}.map-cross.x{left:50%;height:100%;top:0;width:1px}.map-cross.y{top:50%;width:100%;height:1px;left:0}.legend{display:flex;justify-content:space-between;gap:5px;margin-top:14px;font-size:8px;font-weight:700;color:#98afc4}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px}.phase-a{background:#4674cd}.phase-b{background:#ea8357}.map-caption{margin:10px 0 4px;font-size:9px;color:#6b829b;line-height:1.5}.data-list{display:grid;gap:13px}.data-list>div{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:11px;color:#879cb0}.data-list b{font:640 11px ui-monospace,Consolas,monospace;color:#dce8f5}.footnote{margin-top:24px;padding:12px;border:1px solid #28443c;border-radius:6px;background:#132620;color:#a8d7b9;font-size:9px;letter-spacing:.07em;font-weight:800}.footnote .good{float:right;color:#9ce5b8}.footnote p{font-size:10px;font-weight:450;letter-spacing:0;line-height:1.5;color:#789e91;margin:9px 0 0}footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 2px 26px;color:#617993;font-size:9px;font-weight:700;letter-spacing:.07em}#startup-error:not([hidden]){position:absolute;inset:20px;display:grid;place-items:center;padding:32px;text-align:center;background:#210c14f0;border:1px solid #d77c82;border-radius:8px;color:#ffbdbd;font-size:16px;z-index:5}@media(max-width:1450px){.workbench{grid-template-columns:250px minmax(380px,1fr) 232px}.panel{padding:18px 14px}.app-shell{padding:0 18px}.header-meta{gap:10px}.stage-top{padding:15px}.mode-set>.eyebrow{display:none}.hint{display:none}.chart-key{gap:7px}}@media(max-width:1120px){.workbench{grid-template-columns:250px 1fr}.telemetry{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;column-gap:16px}.telemetry .section-head{grid-column:1/-1}.telemetry .divider-line{display:none}.telemetry>.subheading{grid-column:auto}.telemetry .metric-pair{grid-column:2;grid-row:2}.telemetry .map-wrap{max-width:250px;grid-column:3;grid-row:2/5}.telemetry .legend{grid-column:3}.telemetry .map-caption{grid-column:3}.telemetry .data-list{grid-column:1}.telemetry .footnote{grid-column:2;margin-top:0}.sidebar{grid-row:1}.stage-area{grid-row:1}.header-meta span:last-child{display:none}}@media(max-width:760px){.app-shell{padding:0 12px}.topbar{min-height:76px}.brand-mark{width:40px;height:40px;font-size:24px}.brand-title{font-size:19px}.header-meta{display:none}.headline{margin:20px 0}.headline h1{font-size:26px}.headbadge{display:none}.workbench{display:flex;flex-direction:column}.stage-area{order:1}.sidebar{order:2}.telemetry{order:3;display:block}.stage-view{min-height:300px}.stage-top{padding:13px}.stage-toolbar{padding:9px}.stage-float.upper-left{font-size:8px}.actionbar{padding:10px}.mode{padding:7px}.chart-heading{flex-wrap:wrap}.chart-key{margin-left:auto}.map-wrap{max-width:300px;margin:auto}.legend{max-width:300px;margin:12px auto}.metric-pair{margin:0 0 12px}.footnote{margin-top:15px}footer{flex-wrap:wrap}.telemetry .divider-line{display:block}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
