:root{color-scheme:dark;--bg:#090d12;--panel:#101720;--panel-2:#131d27;--line:#26333f;--line-soft:rgba(145,166,183,.14);--text:#e8edf0;--muted:#8796a2;--dim:#60707d;--sand:#e6b66e;--sand-bright:#ffd69a;--cyan:#78cbd0;--green:#89c6a2;--danger:#ed987d;--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-width:320px;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:13px;letter-spacing:.005em}button,input,select{font:inherit}button{color:inherit}.app-shell{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 52% 42%,rgba(57,78,87,.14),transparent 55%),var(--bg)}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--line-soft);background:rgba(10,15,21,.9);flex-shrink:0}.brand-lockup{display:flex;align-items:center;gap:13px}.brand-mark{width:32px;height:32px;border:1px solid rgba(230,182,110,.5);border-radius:9px;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:7px 6px;transform:rotate(-4deg)}.brand-mark span{display:block;width:4px;border-radius:4px 4px 1px 1px;background:var(--sand)}.brand-mark span:nth-child(1){height:8px;opacity:.65}.brand-mark span:nth-child(2){height:15px}.brand-mark span:nth-child(3){height:11px;opacity:.8}.eyebrow{font-size:9px;letter-spacing:.16em;font-weight:750;color:var(--muted);line-height:1.4}.brand-lockup h1{margin:3px 0 0;font-size:17px;font-weight:620;letter-spacing:-.025em}.brand-lockup h1 span{color:var(--sand);padding:0 3px}.topbar-right{display:flex;align-items:center;gap:16px}.live-indicator,.version-tag{font-size:9px;letter-spacing:.12em;font-weight:750;color:#a9b7c0}.live-indicator{display:flex;align-items:center;gap:7px}.live-indicator i,.status-dot,.readout-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px rgba(137,198,162,.55)}.version-tag{border:1px solid var(--line);border-radius:5px;padding:6px 8px;color:var(--dim)}.workspace{display:grid;grid-template-columns:276px minmax(380px,1fr) 258px;gap:12px;padding:12px;flex:1;min-height:0}.panel{background:linear-gradient(180deg,rgba(19,29,39,.98),rgba(14,21,29,.98));border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}.controls-panel,.telemetry-panel{padding:17px 16px;display:flex;flex-direction:column;gap:16px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between}.panel-heading h2{margin:4px 0 0;font-size:15px;font-weight:620;letter-spacing:-.02em}.panel-index{font-size:10px;color:#596b79;font-weight:700;letter-spacing:.12em}.preset-block{display:flex;flex-direction:column;gap:7px}.section-label{font-size:9px;font-weight:750;letter-spacing:.12em;color:var(--muted)}.select-control{width:100%;height:34px;border:1px solid #33414d;background:#111a23;color:#dce4e8;border-radius:7px;padding:0 10px;outline:none;font-size:11px}.select-control:focus-visible,.button:focus-visible,.tool-button:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.control-list{display:flex;flex-direction:column;gap:15px}.control-row{display:flex;flex-direction:column;gap:6px}.control-label-line{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.control-label-line label{font-size:11px;color:#c7d1d7;font-weight:550}.control-label-line output{font-variant-numeric:tabular-nums;font-size:10px;color:var(--sand-bright);font-weight:650;white-space:nowrap}.range-ends{display:flex;justify-content:space-between;color:#637380;font-size:9px}.control-row input[type=range],.transport-controls input[type=range]{width:100%;height:4px;margin:3px 0 0;appearance:none;background:linear-gradient(90deg,#b98a4c 0%,#b98a4c 50%,#34424e 50%,#34424e 100%);border-radius:99px;outline:none;cursor:pointer}.control-row input[type=range]::-webkit-slider-thumb,.transport-controls input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#f2c47e;border:2px solid #18212a;box-shadow:0 0 0 1px rgba(242,196,126,.5)}.control-row input[type=range]::-moz-range-thumb,.transport-controls input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#f2c47e;border:2px solid #18212a;box-shadow:0 0 0 1px rgba(242,196,126,.5)}.transport-controls{border-top:1px solid var(--line-soft);padding-top:13px;display:flex;flex-direction:column;gap:7px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.button{height:34px;border:1px solid #34424e;background:#18232d;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:650;color:#c4d0d7;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}.button:hover,.tool-button:hover{background:#202e39;border-color:#526574}.button:active,.tool-button:active{transform:translateY(1px)}.button-primary{background:rgba(191,143,77,.16);border-color:rgba(220,171,101,.45);color:#f1cb91}.button-primary:hover{background:rgba(191,143,77,.25)}.button-icon{font-size:13px;line-height:1}.panel-footnote{margin-top:auto;padding-top:9px;border-top:1px solid var(--line-soft);display:flex;align-items:center;gap:7px;color:#8e9ca6;font-size:9px;letter-spacing:.06em}.panel-footnote .status-dot{width:5px;height:5px}.footnote-separator{color:#4d5d69}.stage-column{min-width:0;display:flex;flex-direction:column;gap:8px}.stage-toolbar{height:44px;display:flex;justify-content:space-between;align-items:center;padding:0 4px}.stage-title{display:flex;flex-direction:column;gap:3px}.stage-title strong{font-size:12px;font-weight:620;color:#dce5e9}.stage-tools{display:flex;gap:7px}.tool-button{height:30px;border:1px solid #2b3945;border-radius:6px;background:#121b24;padding:0 9px;color:#91a0aa;font-size:9px;font-weight:750;letter-spacing:.08em;cursor:pointer;transition:all .18s}.tool-button b{color:var(--sand-bright);font-size:9px;margin-left:3px}.tool-button-accent{color:#e8bd7f;border-color:rgba(219,171,103,.35);background:rgba(183,133,66,.10)}.stage{position:relative;flex:1;min-height:410px;overflow:hidden;border:1px solid #2a3742;border-radius:11px;background:radial-gradient(ellipse at 48% 54%,#28333a 0%,#151e26 45%,#0d141c 100%);isolation:isolate}.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:1}.stage-grid{position:absolute;inset:0;z-index:0;opacity:.18;background-image:linear-gradient(rgba(140,165,178,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(140,165,178,.12) 1px,transparent 1px);background-size:40px 40px;mask-image:linear-gradient(to bottom,transparent 0%,black 25%,black 78%,transparent 100%)}.stage-overlay-top,.stage-overlay-bottom{position:absolute;z-index:3;left:13px;right:13px;display:flex;justify-content:space-between;pointer-events:none}.stage-overlay-top{top:12px}.stage-overlay-bottom{bottom:11px;color:#82919a;font-size:8px;letter-spacing:.1em}.overlay-chip{border:1px solid rgba(141,164,178,.22);background:rgba(11,17,23,.56);backdrop-filter:blur(8px);padding:5px 7px;border-radius:4px;font-size:8px;letter-spacing:.1em;color:#9caab2}.stage-overlay-bottom i{color:var(--sand);font-style:normal;padding:0 4px}.stage-loading{position:absolute;z-index:5;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;background:rgba(8,13,18,.86);font-size:9px;letter-spacing:.14em;color:#aab7bf}.loader{width:13px;height:13px;border:1px solid #465966;border-top-color:var(--sand);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.stage-error{position:absolute;z-index:8;inset:20% 10%;height:max-content;padding:16px;background:#281b1b;border:1px solid #81544a;border-radius:8px;color:#f0b7a8;font-size:12px;line-height:1.55}.annotations{position:absolute;inset:0;z-index:2;pointer-events:none}.annotation{position:absolute;transform:translate(-50%,-50%);font-size:8px;font-weight:800;letter-spacing:.13em;color:#f5d4a2;text-shadow:0 1px 5px #111,0 0 10px #111;white-space:nowrap}.annotation:after{content:"";position:absolute;left:50%;top:14px;width:1px;height:12px;background:rgba(243,198,135,.75)}.scene-readout{position:absolute;z-index:3;bottom:34px;left:13px;display:flex;align-items:center;gap:7px;background:rgba(9,15,20,.72);border:1px solid rgba(145,166,183,.18);padding:6px 8px;border-radius:5px;color:#bdc8ce;font-size:8px;font-weight:700;letter-spacing:.1em;pointer-events:none}.readout-dot{width:5px;height:5px;background:var(--sand);box-shadow:0 0 8px rgba(230,182,110,.65)}.cause-strip{min-height:62px;border:1px solid var(--line-soft);border-radius:8px;background:rgba(17,25,33,.78);display:flex;align-items:center;justify-content:space-around;padding:8px 9px;gap:5px}.cause-strip>div{display:flex;align-items:center;gap:8px;min-width:0}.cause-number{font-size:9px;color:var(--sand);font-weight:800}.cause-strip b{display:block;font-size:8px;letter-spacing:.12em;color:#c8d2d8}.cause-strip small{display:block;margin-top:3px;font-size:9px;color:#82919a;white-space:nowrap}.cause-arrow{color:#5b6c78;font-size:14px}.primary-metric{border:1px solid rgba(216,169,103,.24);background:linear-gradient(145deg,rgba(189,139,75,.11),rgba(17,27,36,.45));border-radius:9px;padding:13px 12px 12px}.metric-topline{display:flex;justify-content:space-between;align-items:center;color:#a6b2b9;font-size:8px;letter-spacing:.12em;font-weight:750}.metric-state{color:var(--sand);font-size:8px}.metric-number{display:flex;align-items:baseline;gap:7px;margin:8px 0 9px}.metric-number strong{font-size:36px;line-height:1;font-weight:560;letter-spacing:-.06em;color:#f3d09b;font-variant-numeric:tabular-nums}.metric-number span{font-size:13px;color:#c3a576}.metric-meter,.mini-meter{height:3px;background:#34414b;border-radius:10px;overflow:hidden}.metric-meter i,.mini-meter i{display:block;height:100%;width:40%;background:linear-gradient(90deg,#a87942,#f3cb8c);border-radius:10px;transition:width .25s}.metric-caption{margin-top:8px;font-size:9px;color:#8d9aa3}.metric-caption span{color:#c4a16e;font-size:8px;letter-spacing:.07em}.telemetry-list{display:flex;flex-direction:column;gap:14px}.telemetry-item{display:flex;flex-direction:column;gap:6px;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}.telemetry-item:last-child{border:0;padding-bottom:0}.telemetry-item>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:5px}.telemetry-name{font-size:10px;color:#bac6cd}.telemetry-tag{font-size:7px;letter-spacing:.1em;color:#7d8c96}.telemetry-item>strong{font-size:18px;font-weight:560;letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:#e5ebee}.telemetry-item>strong small{font-size:10px;color:#8d9ba4;font-weight:500}.mini-meter{height:2px}.mini-meter i{background:linear-gradient(90deg,#5e9da2,#9ed7d1)}.telemetry-note{display:flex;gap:8px;padding:9px;background:rgba(115,145,157,.07);border:1px solid rgba(130,155,167,.12);border-radius:7px}.note-icon{flex:0 0 14px;width:14px;height:14px;border:1px solid #667b87;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#9aabb4;font-size:9px;font-style:normal}.telemetry-note p{margin:0;font-size:9px;line-height:1.5;color:#8e9da6}.science-details{border-top:1px solid var(--line-soft);padding-top:12px}.science-details summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;font-size:9px;font-weight:800;letter-spacing:.14em;color:#d5dfe3}.science-details summary::-webkit-details-marker{display:none}.summary-plus{font-size:14px;color:var(--sand);transition:transform .2s}.science-details[open] .summary-plus{transform:rotate(45deg)}.science-content{padding-top:12px;color:#9aa8b0;font-size:10px;line-height:1.55}.science-content h3{font-size:11px;color:#e0e7ea;margin:12px 0 5px}.science-content h3:first-child{margin-top:0}.science-content p{margin:5px 0 9px}.science-content b{color:#d5dfe3}.equation{font-family:Georgia,serif;font-size:14px;color:#f0ca91;padding:9px 7px;margin:7px 0;background:rgba(202,156,94,.07);border-left:2px solid rgba(230,182,110,.55);white-space:normal}.validation-grid{display:grid;grid-template-columns:1fr auto;gap:7px 9px;padding:9px;background:#0e171f;border:1px solid var(--line-soft);border-radius:6px;font-size:9px}.validation-grid b{font-variant-numeric:tabular-nums;color:#e5edf0}.validation-grid .validation-pass{color:var(--green)}.science-caveat{font-size:9px;color:#748590!important}.science-content ul{padding-left:16px;margin:6px 0 10px}.science-content li{margin:4px 0}.textbook-label{font-size:8px!important;letter-spacing:.09em;color:#d3ad76!important}.footer{display:flex;justify-content:space-between;gap:12px;padding:9px 16px 12px;color:#566570;font-size:8px;letter-spacing:.1em;flex-shrink:0}.embed .topbar,.embed .footer{display:none}.embed .workspace{padding:0;gap:0;grid-template-columns:260px minmax(300px,1fr) 230px}.embed .panel{border-radius:0}.embed .stage-column{padding:8px}.embed .stage{border-radius:8px}.embed .workspace{min-height:100vh}.embed .controls-panel,.embed .telemetry-panel{padding:14px}
@media(max-width:1120px){.workspace{grid-template-columns:250px minmax(300px,1fr)}.telemetry-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:start;gap:14px}.telemetry-panel .panel-heading{grid-column:1/-1}.telemetry-panel .telemetry-list{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px}.telemetry-panel .telemetry-note{align-self:start}.telemetry-panel .science-details{grid-column:1/-1}.stage{min-height:420px}}
@media(max-width:720px){.topbar{height:64px;padding:0 13px}.brand-mark{width:28px;height:28px}.brand-lockup h1{font-size:14px}.topbar-right{gap:8px}.version-tag{display:none}.workspace{display:flex;flex-direction:column;padding:8px;gap:8px}.stage-column{order:0}.stage-toolbar{height:40px}.stage-title strong{font-size:11px}.stage-tools{gap:5px}.tool-button{height:28px;padding:0 7px;font-size:8px}.stage{min-height:340px;height:44vh;max-height:440px;flex:none}.stage-overlay-bottom{font-size:7px}.cause-strip{min-height:60px;padding:7px 5px}.cause-strip>div{gap:5px}.cause-strip small{font-size:7px;white-space:normal;max-width:92px}.cause-arrow{font-size:11px}.controls-panel{order:1;padding:14px;gap:13px}.control-list{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px}.control-row{min-width:0}.control-label-line label{font-size:10px}.control-label-line output{font-size:9px}.range-ends{font-size:8px}.telemetry-panel{order:2;display:flex;padding:14px;gap:13px}.telemetry-panel .telemetry-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.telemetry-panel .telemetry-note{align-self:stretch}.telemetry-panel .science-details{width:100%}.footer{padding:9px 12px 12px;font-size:7px;line-height:1.5}.footer span:last-child{display:none}.panel-footnote{margin-top:0}.stage-overlay-top{left:9px;right:9px;top:9px}.annotation{font-size:7px}.scene-readout{left:9px;bottom:29px}.embed .workspace{display:flex;flex-direction:column}.embed .stage-column{padding:0 8px 8px}.embed .controls-panel,.embed .telemetry-panel{border-radius:8px;margin:0 8px}.embed .stage{height:44vh}}
@media(max-width:390px){.brand-lockup h1{font-size:12px}.eyebrow{font-size:8px}.live-indicator{font-size:8px}.stage-tools .tool-button:first-child{display:none}.stage{min-height:310px}.cause-strip small{max-width:78px}.control-list{gap:12px 9px}.controls-panel,.telemetry-panel{padding:12px}.metric-number strong{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
