:root{color-scheme:dark;--bg:#080d13;--panel:#101821;--panel-2:#131e28;--line:#263440;--line-soft:#1b2934;--text:#e8edf0;--muted:#8c9ba5;--dim:#61717c;--orange:#ff8245;--amber:#ffb45d;--cyan:#6bd2d4;--green:#79d4a0;--radius:12px;--gap:8px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:13px;letter-spacing:.01em}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible{outline:2px solid #ffad69;outline-offset:3px}.app-shell{min-height:100vh;max-width:1920px;margin:0 auto;padding:0 24px 14px;background:radial-gradient(ellipse at 38% 0%,rgba(42,62,76,.2),transparent 48%),var(--bg)}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft);gap:16px}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-mark{width:27px;height:27px;display:flex;align-items:flex-end;gap:3px;padding:4px;border:1px solid #394b56;border-radius:7px;transform:skew(-8deg)}.brand-mark span{display:block;width:4px;border-radius:2px;background:linear-gradient(180deg,#ffb45d,#f16b39)}.brand-mark span:nth-child(1){height:8px}.brand-mark span:nth-child(2){height:15px}.brand-mark span:nth-child(3){height:11px}.brand-name{font-size:11px;font-weight:800;letter-spacing:.16em}.brand-name span{font-weight:500;color:#8fa0aa}.brand-sub{font-size:8px;letter-spacing:.18em;color:#72838e;margin-top:4px}.top-meta{display:flex;align-items:center;gap:9px;color:#8c9ba5;font-size:9px;letter-spacing:.12em}.top-meta b{color:#e8edf0;font-weight:600}.live-dot,.control-status i{width:6px;height:6px;border-radius:50%;background:#71d49b;box-shadow:0 0 10px rgba(113,212,155,.7)}.top-divider{height:13px;width:1px;background:#31404a;margin:0 6px}.icon-button{width:27px;height:27px;border:1px solid var(--line);background:#101820;border-radius:50%;cursor:pointer;color:#aab8c0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 342px;gap:16px;padding-top:16px;align-items:start}.visual-column{min-width:0}.scene-frame{position:relative;min-height:500px;height:clamp(500px,60vw,670px);max-height:690px;overflow:hidden;border:1px solid #273641;border-radius:14px;background:radial-gradient(ellipse at 50% 44%,#28323a 0%,#141e26 48%,#0b1118 100%);isolation:isolate}.scene-canvas-wrap{position:absolute;inset:0;z-index:1}.scene-canvas-wrap canvas{display:block;width:100%;height:100%;outline:none}.scene-headline{position:absolute;z-index:4;top:24px;left:26px;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:.16em;font-weight:700;color:#93a4ad;display:flex;align-items:center;gap:8px}.eyebrow-line{width:18px;height:1px;background:var(--orange)}h1{font-size:clamp(26px,3vw,38px);letter-spacing:-.045em;line-height:1.05;margin:12px 0 6px;font-weight:650}h1 em{font-style:normal;color:#ff9b5a}.scene-headline p{margin:0;color:#a0afb8;font-size:12px}.scene-legend{position:absolute;z-index:4;top:31px;right:24px;display:flex;flex-direction:column;gap:9px;font-size:8px;letter-spacing:.12em;color:#a9b6bd;pointer-events:none}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.legend-dot.hot{background:#ff7840;box-shadow:0 0 9px #f46b32}.legend-dot.crust{background:#5c6970}.legend-dot.void{background:#17232a;border:1px solid #73818a}.scene-label{position:absolute;z-index:4;display:flex;flex-direction:column;gap:3px;pointer-events:none;text-shadow:0 1px 8px #05090d}.scene-label strong{font-size:11px;font-weight:650;color:#f0f3f3}.scene-label small{font-size:9px;color:#9baab2}.label-kicker{font-size:7px;letter-spacing:.16em;color:#ffb16c;font-weight:700}.label-crust{top:35%;left:5%}.label-core{top:66%;left:5%}.label-tube{top:53%;right:5%;text-align:right}.scene-hud{position:absolute;z-index:4;top:118px;right:24px;display:flex;flex-direction:column;align-items:flex-end;pointer-events:none}.hud-caption{font-size:8px;letter-spacing:.16em;color:#82939e}.scene-hud strong{font-size:19px;font-variant-numeric:tabular-nums;letter-spacing:.03em;margin:3px 0;color:#f1f2ed}.hud-sub{font-size:8px;color:#7e8f99;letter-spacing:.1em}.scene-bottom-left,.scene-bottom-right{position:absolute;z-index:5;bottom:15px;display:flex;align-items:center;gap:9px;color:#7f909a;font-size:8px;letter-spacing:.12em}.scene-bottom-left{left:18px;pointer-events:none}.north-indicator{width:18px;height:18px;border:1px solid #53636d;border-radius:50%;display:grid;place-items:center;color:#d0d8dc;font-size:8px}.scene-bottom-right{right:16px}.scene-tool{border:1px solid rgba(132,153,165,.25);background:rgba(9,15,21,.72);backdrop-filter:blur(8px);border-radius:6px;padding:7px 9px;color:#b3c0c7;font-size:8px;letter-spacing:.1em;cursor:pointer}.scene-tool:hover{border-color:#ff9857;color:#fff}.scene-tool span{font-size:12px;margin-right:4px;color:#ff9a59}.loading-cover{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:#0c141b;color:#a8b5bc;font-size:9px;letter-spacing:.16em;transition:opacity .4s}.loading-cover.done{opacity:0;pointer-events:none}.loader-ring{width:28px;height:28px;border:2px solid #33424b;border-top-color:#ff8b4c;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.webgl-warning[hidden]{display:none}.webgl-warning{position:absolute;inset:0;z-index:8;display:grid;place-items:center;background:rgba(8,13,19,.94);padding:30px;text-align:center;color:#ffc18c}.telemetry-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(115deg,#101821,#0d151d);overflow:hidden}.telemetry-heading{grid-column:1/-1;display:flex;justify-content:space-between;padding:8px 14px 7px;border-bottom:1px solid var(--line-soft);font-size:7px;letter-spacing:.13em;color:#758792}.telemetry-heading span:first-child{color:#a2b0b7;font-weight:700}.telemetry-item{padding:13px 15px 12px;min-width:0;border-right:1px solid var(--line-soft)}.telemetry-item:last-child{border-right:0}.telemetry-label{font-size:8px;letter-spacing:.12em;color:#8999a3;white-space:nowrap}.telemetry-icon{display:inline-block;margin-right:5px;font-size:12px}.temp-icon{color:#ff9c5b}.crust-icon{color:#9aa7ad}.flow-icon{color:#70d2d0}.tube-icon{color:#b0a0e7}.telemetry-value{font-size:22px;font-weight:650;letter-spacing:-.04em;margin:7px 0 3px;font-variant-numeric:tabular-nums}.telemetry-value small{font-size:11px;color:#9baab2;font-weight:500;letter-spacing:0}.telemetry-note{font-size:9px;color:#73848f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.science-panel{margin-top:10px;border:1px solid var(--line);border-radius:10px;background:#0e161e;overflow:hidden}.science-toggle{width:100%;border:0;background:transparent;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;text-align:left}.science-toggle-left{display:flex;align-items:center;gap:11px}.science-symbol{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#202d37;color:#ffad69;font-size:16px}.science-toggle strong{display:block;font-size:11px}.science-toggle small{display:block;font-size:9px;color:#7f909a;margin-top:3px}.science-toggle-right{display:flex;align-items:center;gap:12px;font-size:8px;letter-spacing:.12em;color:#84949e}.chevron{font-size:16px;transition:transform .25s}.science-toggle[aria-expanded="true"] .chevron{transform:rotate(180deg)}.science-content{padding:2px 16px 16px;border-top:1px solid var(--line-soft)}.science-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:16px 0}.science-index{font-size:8px;letter-spacing:.13em;color:#ffab69;font-weight:700}.science-grid h3,.validation-row h3{font-size:12px;margin:7px 0 6px}.science-grid p,.validation-row p{font-size:10px;line-height:1.55;color:#91a0a9;margin:0}.equation{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.7;color:#d4e0e4;background:#121e27;border:1px solid #263742;border-radius:6px;padding:8px;margin:10px 0}.science-vars{font-size:9px!important;color:#6f818c!important}.science-vars b{color:#c1cdd2}.validation-row{display:grid;grid-template-columns:1fr auto;gap:22px;padding:14px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);align-items:center}.validation-metrics{display:flex;gap:18px}.validation-metrics div{min-width:90px}.validation-metrics small{display:block;font-size:7px;letter-spacing:.1em;color:#71838d;margin-bottom:5px}.validation-metrics strong{font-size:15px;font-variant-numeric:tabular-nums}.validation-metrics i{font-style:normal;font-size:9px;color:#8b9aa3;font-weight:400}.validation-diff{color:#82d5a6}.assumptions{display:flex;gap:13px;padding-top:12px;font-size:9px;line-height:1.55;color:#81919b}.assumptions b{white-space:nowrap;color:#aab8bf;font-size:8px;letter-spacing:.1em}.control-column{border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#111b24,#0e161e);padding:16px 16px 13px;min-width:0}.control-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--line-soft)}.control-header h2{font-size:19px;letter-spacing:-.035em;margin:6px 0 0}.control-status{font-size:7px;letter-spacing:.12em;color:#83d5a3;display:flex;align-items:center;gap:6px}.control-status i{width:5px;height:5px}.preset-section{padding:13px 0 14px;border-bottom:1px solid var(--line-soft)}.section-heading{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.14em;color:#9aabb4;font-weight:700}.section-count{font-size:8px;color:#667781;font-variant-numeric:tabular-nums}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}.preset-card{min-width:0;border:1px solid #2a3944;border-radius:7px;background:#121e27;padding:8px 6px 7px;text-align:left;cursor:pointer;transition:border-color .2s,background .2s;display:flex;flex-direction:column;gap:4px}.preset-card:hover{border-color:#627681}.preset-card.active{border-color:#b76d44;background:linear-gradient(145deg,rgba(107,57,35,.34),#17212a)}.preset-glyph{font-size:17px;line-height:1;color:#ff9d5d}.typical-glyph{color:#e7b36d}.drain-glyph{color:#76c9cb}.preset-card strong{font-size:8px;white-space:nowrap}.preset-card small{font-size:7px;color:#82939d;line-height:1.3;min-height:18px}.parameter-heading{padding:14px 0 9px}.parameter-list{display:flex;flex-direction:column;gap:11px}.parameter{min-width:0}.parameter-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.parameter label{font-size:10px;color:#d3dce0}.parameter output{font-size:10px;color:#f2a46b;font-variant-numeric:tabular-nums}.parameter input[type=range],.speed-slider{width:100%;height:3px;margin:0;appearance:none;background:linear-gradient(90deg,#d87846 0%,#d87846 var(--pct,50%),#34434d var(--pct,50%),#34434d 100%);border-radius:3px;outline:none;cursor:pointer}.parameter input[type=range]::-webkit-slider-thumb,.speed-slider::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border:2px solid #f4a36c;border-radius:50%;background:#15212a;box-shadow:0 0 0 3px rgba(242,140,80,.12)}.parameter input[type=range]::-moz-range-thumb,.speed-slider::-moz-range-thumb{width:8px;height:8px;border:2px solid #f4a36c;border-radius:50%;background:#15212a}.range-ends{display:flex;justify-content:space-between;color:#687984;font-size:7px;margin-top:4px}.playback-section{border-top:1px solid var(--line-soft);margin-top:14px;padding-top:13px}.playback-top,.speed-row{display:flex;justify-content:space-between;align-items:center}.section-heading-text,.speed-row label{font-size:8px;letter-spacing:.13em;color:#9aabb4;font-weight:700}.playback-clock,.speed-row output{font-size:10px;color:#e9a16b;font-variant-numeric:tabular-nums}.transport-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:6px;margin:10px 0 12px}.transport-button{height:31px;border:1px solid #344550;background:#17232d;border-radius:6px;color:#c4d0d5;font-size:8px;letter-spacing:.06em;cursor:pointer;white-space:nowrap}.transport-button:hover{border-color:#81939e}.transport-button.primary{background:#b95f37;border-color:#d47a4e;color:#fff;font-weight:700}.transport-button.primary:hover{background:#d07143}.transport-button span:first-child{font-size:12px;margin-right:4px}.speed-row{margin-bottom:7px}.speed-slider{background:linear-gradient(90deg,#d87846 0%,#d87846 var(--pct,20%),#34434d var(--pct,20%),#34434d 100%)}.speed-ends{margin-top:5px}.quality-row{border-top:1px solid var(--line-soft);margin-top:13px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.12em;color:#9aabb4;font-weight:700}.quality-switch{display:flex;padding:2px;border-radius:6px;background:#0a1117;border:1px solid #283742}.quality-switch button{border:0;background:transparent;padding:5px 9px;border-radius:4px;font-size:7px;letter-spacing:.1em;color:#7d8e98;cursor:pointer}.quality-switch button.selected{background:#2b3b45;color:#e8eff2}.control-footnote{display:flex;align-items:center;gap:7px;margin-top:12px;color:#71828c;font-size:8px}.info-dot{width:13px;height:13px;border:1px solid #51636e;border-radius:50%;display:grid;place-items:center;font-size:8px}.app-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 2px 0;color:#566873;font-size:7px;letter-spacing:.14em}.app-footer b{color:#7d8d97;font-weight:600}.embed .topbar,.embed .app-footer{display:none}.embed{padding:0}.embed .workspace{padding-top:0;gap:10px}.embed .scene-frame{border-radius:0}.embed .control-column{border-radius:0}
@media(max-width:1100px){.app-shell{padding-left:14px;padding-right:14px}.workspace{grid-template-columns:minmax(0,1fr) 315px;gap:10px}.scene-frame{height:560px}.scene-label{display:none}.scene-hud{top:105px}.telemetry-item{padding:11px 10px}.telemetry-value{font-size:19px}.control-column{padding:13px}.preset-card strong{font-size:7px}.preset-card small{font-size:6px}}
@media(max-width:820px){.workspace{grid-template-columns:1fr}.scene-frame{height:clamp(420px,65vw,560px);min-height:420px}.control-column{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;align-items:start}.control-header,.preset-section,.parameter-heading,.parameter-list,.playback-section,.quality-row,.control-footnote{grid-column:1/-1}.parameter-list{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.preset-grid{max-width:460px}.control-header h2{font-size:17px}.science-grid{gap:12px}.validation-row{grid-template-columns:1fr}.validation-metrics{justify-content:space-between}.app-footer{font-size:6px}}
@media(max-width:540px){.app-shell{padding:0 9px 10px}.topbar{height:55px}.brand-name{font-size:10px}.brand-sub{font-size:7px}.top-meta{font-size:7px;gap:6px}.top-meta .top-divider{margin:0 2px}.workspace{padding-top:9px;gap:9px}.scene-frame{height:470px;min-height:430px;border-radius:10px}.scene-headline{top:16px;left:15px}.scene-headline h1{font-size:27px;margin:9px 0 5px}.scene-headline p{font-size:10px;max-width:210px}.scene-legend{top:18px;right:12px;font-size:6px;gap:7px}.scene-hud{top:105px;right:13px}.scene-hud strong{font-size:15px}.hud-caption,.hud-sub{font-size:6px}.scene-bottom-left{left:10px;bottom:11px;font-size:6px}.scene-bottom-right{right:9px;bottom:9px;gap:5px}.scene-tool{font-size:6px;padding:6px}.telemetry-strip{grid-template-columns:repeat(2,1fr)}.telemetry-heading{padding:7px 11px}.telemetry-item{padding:10px 11px;border-bottom:1px solid var(--line-soft)}.telemetry-item:nth-child(3),.telemetry-item:nth-child(5){border-right:0}.telemetry-item:nth-child(4),.telemetry-item:nth-child(5){border-bottom:0}.telemetry-label{font-size:7px}.telemetry-value{font-size:20px;margin:5px 0 2px}.telemetry-note{font-size:8px}.control-column{display:block;padding:12px}.control-header{padding-bottom:12px}.preset-grid{gap:6px}.preset-card{padding:8px 6px}.preset-card strong{font-size:8px}.preset-card small{font-size:7px}.parameter-list{display:flex;gap:12px}.parameter label,.parameter output{font-size:10px}.science-grid{grid-template-columns:1fr;gap:16px}.science-grid article{padding-bottom:12px;border-bottom:1px solid var(--line-soft)}.science-grid article:last-child{border-bottom:0;padding-bottom:0}.validation-metrics{gap:8px}.validation-metrics div{min-width:0}.validation-metrics strong{font-size:13px}.validation-metrics small{font-size:6px}.assumptions{display:block}.assumptions b{display:block;margin-bottom:5px}.app-footer{gap:8px;line-height:1.5;flex-wrap:wrap}.app-footer span:nth-child(2){display:none}.scene-label{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
