:root{color-scheme:dark;--bg:#07121b;--line:rgba(166,206,222,.13);--muted:#78909c;--text:#e9f4f7;--cyan:#73d9e8;--green:#72d5b5;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;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--text)}body{font-size:12px;letter-spacing:.01em}button,input{font:inherit}button{color:inherit}#app{height:100%;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 15% 5%,rgba(37,93,111,.14),transparent 42%),var(--bg)}.topbar{height:62px;flex:0 0 62px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--line);background:rgba(6,17,25,.88);z-index:3}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-mark{width:29px;height:29px;border:1px solid rgba(126,220,231,.4);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:2px}.brand-mark span{width:3px;border-radius:3px;background:linear-gradient(180deg,#c3f5f7,#3a9aa9);display:block}.brand-mark span:nth-child(1){height:10px}.brand-mark span:nth-child(2){height:17px}.brand-mark span:nth-child(3){height:13px}.eyebrow{font-size:9px;letter-spacing:.17em;color:#83a5b1;font-weight:750}.brand-title{font-size:14px;letter-spacing:.13em;font-weight:750;margin-top:3px}.brand-title span{color:#5c8390;padding:0 3px}.topbar-meta{display:flex;align-items:center;gap:9px;color:#91a9b3;font-size:9px;letter-spacing:.13em;font-weight:700}.live-dot{width:6px;height:6px;background:#69d4b3;border-radius:50%;box-shadow:0 0 9px #69d4b3}.meta-divider{height:12px;width:1px;background:var(--line);margin:0 7px}.icon-button,.small-icon-button{border:1px solid var(--line);background:rgba(24,51,65,.52);border-radius:8px;width:30px;height:30px;display:grid;place-items:center;color:#a9c6d0;cursor:pointer}.icon-button:hover,.small-icon-button:hover{border-color:rgba(115,217,232,.5);color:#fff}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 354px;flex:1;min-height:0}.scene-panel{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#07131c}.scene-mount{position:relative;flex:1;min-height:280px;overflow:hidden;background:radial-gradient(ellipse at 52% 42%,#193a49 0%,#0c2432 39%,#081722 78%);isolation:isolate}.scene-mount canvas{position:absolute;inset:0;width:100%;height:100%;display:block;outline:none}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(3,13,20,.28),transparent 19%,transparent 73%,rgba(3,12,19,.64)),radial-gradient(ellipse at center,transparent 43%,rgba(3,10,17,.35) 100%);z-index:1}.scene-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;z-index:6;background:#091a25;color:#91c8d2;font-size:9px;letter-spacing:.18em;font-weight:700;transition:opacity .35s}.scene-loading.hidden{opacity:0;pointer-events:none}.loader-ring{width:28px;height:28px;border:2px solid rgba(115,217,232,.16);border-top-color:var(--cyan);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.scene-topline{position:absolute;z-index:2;top:16px;left:18px;right:18px;display:flex;justify-content:space-between;pointer-events:none}.scene-chip{padding:7px 10px;border:1px solid rgba(164,220,231,.16);background:rgba(5,18,27,.52);backdrop-filter:blur(12px);border-radius:5px;font-size:8px;letter-spacing:.13em;color:#c6e3e9;font-weight:750}.chip-icon{color:var(--cyan);font-size:12px;margin-right:6px}.muted-chip{color:#82a3af}.scene-callout{position:absolute;z-index:2;display:flex;align-items:center;gap:7px;color:#a6c4ce;font-size:8px;line-height:1.55;letter-spacing:.1em;pointer-events:none;text-shadow:0 2px 8px #07131c}.scene-callout i{display:block;width:7px;height:7px;border:1px solid #7de0e9;border-radius:50%;box-shadow:0 0 10px #7de0e9}.scene-callout b{color:#e4f7f8;font-size:8px}.callout-left{left:7%;top:34%}.callout-right{right:6%;top:48%}.scene-bottomline{position:absolute;z-index:2;left:18px;right:18px;bottom:17px;display:flex;align-items:end;justify-content:space-between;gap:15px;pointer-events:none}.scene-caption{max-width:370px;display:flex;flex-direction:column;gap:5px;color:#c2dbe1;font-size:11px;line-height:1.45;text-shadow:0 2px 8px #07131c}.caption-kicker{color:var(--cyan);font-size:8px;letter-spacing:.15em;font-weight:800}.orbit-hint{color:#7e9da9;font-size:8px;letter-spacing:.11em;white-space:nowrap}.orbit-hint span{padding:0 5px;color:#46616e}.mouse-icon{font-size:13px;color:#a9d9e0}.context-loss{position:absolute;inset:0;z-index:8;background:rgba(4,14,21,.93);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}.context-loss strong{font-size:17px}.context-loss span{max-width:320px;color:var(--muted);line-height:1.5}.scene-controls-row{height:66px;flex:0 0 66px;background:#091823;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:15px}.time-readout{display:flex;align-items:center;gap:9px;min-width:185px}.tiny-label{font-size:8px;letter-spacing:.13em;color:#78939e;font-weight:800}.time-readout strong{font-size:13px;letter-spacing:.08em;font-variant-numeric:tabular-nums}.time-divider{width:1px;height:14px;background:var(--line)}#stepLabel{font-size:8px;color:#6f8995;letter-spacing:.08em}.transport-controls{display:flex;align-items:center;gap:7px}.transport-btn{height:34px;padding:0 12px;border:1px solid rgba(156,197,211,.17);background:rgba(18,43,56,.56);border-radius:5px;font-size:9px;letter-spacing:.1em;font-weight:800;color:#b3cbd3;cursor:pointer;transition:background .18s,border .18s}.transport-btn:hover{border-color:rgba(115,217,232,.5);background:rgba(28,67,81,.75)}.transport-btn.primary{background:#1b5967;border-color:#347f8c;color:#edffff;min-width:88px}.transport-btn.primary:hover{background:#247488}.transport-btn span{font-size:8px;color:#82b7c0;margin-left:3px}.play-symbol{font-size:10px!important;color:#d7ffff!important;margin-right:5px!important}.speed-control{display:flex;align-items:center;gap:8px;min-width:130px}.speed-control label{font-size:8px;color:#7d98a4;letter-spacing:.12em;font-weight:800}.speed-control output{min-width:22px;color:#d4edf1;font-size:10px;font-weight:750}.speed-control input{width:66px}.control-panel{overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#0c1b26,#0b1923);padding:18px 17px 13px;scrollbar-width:thin;scrollbar-color:#254351 transparent}.control-panel::-webkit-scrollbar{width:5px}.control-panel::-webkit-scrollbar-thumb{background:#254351;border-radius:4px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.panel-heading h1{font-size:19px;letter-spacing:-.035em;margin:5px 0 0;font-weight:680}.small-icon-button{width:28px;height:28px;font-size:16px}.section-label{display:flex;align-items:center;gap:8px;color:#87a5b0;font-size:8px;letter-spacing:.14em;font-weight:800;margin-bottom:10px}.section-rule{height:1px;flex:1;background:var(--line)}.status-live{color:#70d3b3;font-size:7px}.readout-section{margin-bottom:18px}.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.metric-card{border:1px solid rgba(151,195,211,.12);border-radius:6px;background:linear-gradient(140deg,rgba(24,50,64,.78),rgba(13,31,43,.82));padding:10px 10px 9px;min-height:77px}.metric-name{font-size:7px;color:#829eaa;letter-spacing:.12em;font-weight:800}.metric-value{font-size:21px;letter-spacing:-.045em;font-weight:680;margin-top:4px;color:#e3f6f8;font-variant-numeric:tabular-nums}.metric-value small{font-size:9px;letter-spacing:0;color:#8fb5c0;font-weight:650}.metric-sub{font-size:7px;color:#68838f;letter-spacing:.07em;margin-top:2px}.energy-strip{display:flex;align-items:center;gap:9px;border:1px solid rgba(115,217,232,.12);background:rgba(18,48,61,.4);padding:8px 9px;margin-top:7px;border-radius:5px}.energy-icon{font-size:17px;color:#e8c78c}.energy-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.energy-copy span{font-size:7px;color:#7f9da8;letter-spacing:.1em;font-weight:750}.energy-copy strong{font-size:12px;color:#e4f1d7;font-variant-numeric:tabular-nums}.energy-meter{height:4px;width:52px;margin-left:auto;background:#203c48;border-radius:4px;overflow:hidden;flex-shrink:0}.energy-meter i{display:block;height:100%;width:70%;background:linear-gradient(90deg,#76cbb5,#e5c78b);border-radius:4px}.presets-section{margin-bottom:18px}.preset-grid{display:grid;grid-template-columns:1fr;gap:5px}.preset-btn{height:38px;display:flex;align-items:center;gap:9px;text-align:left;padding:0 9px;border:1px solid rgba(147,191,206,.12);background:rgba(16,37,49,.52);border-radius:5px;cursor:pointer;transition:.15s}.preset-btn:hover{border-color:rgba(115,217,232,.4)}.preset-btn.active{border-color:rgba(115,217,232,.43);background:rgba(29,78,91,.42);box-shadow:inset 2px 0 #71d4df}.preset-icon{font-size:14px;color:#c5e5e8;width:17px;text-align:center}.preset-btn b{display:block;font-size:9px;font-weight:750;color:#d8e9ed}.preset-btn small{display:block;font-size:7px;color:#7995a1;margin-top:1px}.parameters-section{margin-bottom:16px}.text-tag{font-size:7px;color:#688894;letter-spacing:.09em}.parameter-list{display:flex;flex-direction:column;gap:11px}.parameter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.parameter-head label{font-size:9px;color:#c5d9df;font-weight:600}.parameter-head output{font-size:9px;color:#8ddbe3;font-weight:700;font-variant-numeric:tabular-nums}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:3px;background:linear-gradient(90deg,#3c9bab 0%,#3c9bab 50%,#25404c 50%,#25404c 100%);border-radius:3px;outline:none;display:block;cursor:pointer}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;border-radius:50%;background:#c3f3f4;border:2px solid #2c7e8b;box-shadow:0 0 0 3px rgba(83,188,202,.12)}input[type=range]::-moz-range-thumb{width:8px;height:8px;border-radius:50%;background:#c3f3f4;border:2px solid #2c7e8b;box-shadow:0 0 0 3px rgba(83,188,202,.12)}.range-ends{display:flex;justify-content:space-between;color:#617d89;font-size:7px;margin-top:4px;letter-spacing:.04em}.tools-section{display:flex;align-items:end;justify-content:space-between;padding:10px 0 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:10px}.tool-left{display:flex;flex-direction:column;gap:6px}.tool-label{font-size:7px;color:#7c98a3;letter-spacing:.12em;font-weight:800}.segmented{display:flex;border:1px solid rgba(147,191,206,.16);border-radius:5px;padding:2px;background:#091721}.segmented button{background:transparent;border:0;border-radius:3px;padding:5px 9px;font-size:7px;color:#77939e;letter-spacing:.08em;font-weight:800;cursor:pointer}.segmented button.selected{background:#1a4a58;color:#d9f9fb}.export-btn{height:28px;padding:0 10px;border:1px solid rgba(115,217,232,.24);border-radius:5px;background:rgba(20,60,72,.4);font-size:8px;letter-spacing:.1em;color:#bcebf0;font-weight:800;cursor:pointer}.export-btn:hover{background:#1c5260}.export-btn span{font-size:13px;margin-right:5px}.science-panel{margin-top:12px;border:1px solid rgba(147,191,206,.12);border-radius:6px;background:rgba(11,30,41,.62)}.science-panel summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px;cursor:pointer;color:#c5e1e6;font-size:8px;letter-spacing:.12em;font-weight:800}.science-panel summary::-webkit-details-marker{display:none}.science-icon{font-size:15px;color:#83d9e4}.science-sub{font-size:7px;color:#698792;letter-spacing:.08em;font-weight:600;margin-left:auto}.chevron{font-size:15px;color:#7ca0ab;transition:transform .2s}.science-panel[open] .chevron{transform:rotate(180deg)}.science-content{padding:0 11px 12px;color:#a7c0c9;font-size:9px;line-height:1.6}.science-content h3{font-size:10px;color:#d9edf0;margin:10px 0 4px}.science-content p{margin:4px 0 7px}.equation{padding:8px 7px;border-left:2px solid #3c98a7;background:rgba(22,60,72,.32);color:#d7f4f4;font-size:11px;overflow-x:auto}.equation-note{font-size:8px;color:#7f9ba5}.validation-card{margin:9px 0;padding:9px;border:1px solid rgba(112,211,179,.2);border-radius:5px;background:rgba(27,70,63,.17)}.validation-title{font-size:7px;color:#78d5b8;letter-spacing:.12em;font-weight:800;margin-bottom:7px}.validation-line{display:flex;justify-content:space-between;gap:10px;padding:3px 0;font-size:8px;color:#87a7b1}.validation-line b{font-size:9px;color:#e0f5ee;font-variant-numeric:tabular-nums}.validation-foot{font-size:7px;color:#668b82;margin-top:5px}.science-content ul{padding-left:14px;margin:5px 0}.science-content li{padding:2px 0}.disclaimer{padding-top:8px;border-top:1px solid var(--line);font-size:7px;color:#66818d}.panel-foot{display:flex;justify-content:space-between;color:#5f7b87;font-size:7px;letter-spacing:.09em;padding:11px 1px 0}.panel-foot b{color:#79cdb9;margin-left:5px}.toast{position:fixed;z-index:20;bottom:84px;left:50%;transform:translate(-50%,10px);opacity:0;pointer-events:none;padding:9px 13px;border:1px solid rgba(115,217,232,.28);border-radius:5px;background:rgba(7,23,33,.94);color:#d6f5f5;font-size:9px;letter-spacing:.04em;box-shadow:0 8px 24px rgba(0,0,0,.3);transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.shortcut-modal{position:fixed;inset:0;z-index:30;background:rgba(2,9,14,.72);display:grid;place-items:center;padding:20px;backdrop-filter:blur(7px)}.shortcut-modal[hidden]{display:none}.modal-card{position:relative;width:min(360px,100%);padding:23px;border:1px solid rgba(115,217,232,.25);border-radius:10px;background:#0c202c;box-shadow:0 20px 70px rgba(0,0,0,.5)}.modal-close{position:absolute;right:13px;top:10px;border:0;background:none;color:#9ab7c0;font-size:22px;cursor:pointer}.modal-card h2{font-size:19px;margin:7px 0 16px}.shortcut-row{display:flex;align-items:center;gap:12px;margin:10px 0;color:#bdd4db;font-size:10px}.shortcut-row kbd{min-width:46px;text-align:center;border:1px solid #355463;border-radius:4px;padding:5px 7px;background:#132e3c;color:#e4f8f9;font-size:9px}.modal-card p{margin:17px 0 0;color:#76939e;font-size:9px;line-height:1.5}.embed .topbar{display:none}.embed .workspace{grid-template-columns:minmax(0,1fr) 330px}.embed .scene-controls-row{height:58px;flex-basis:58px}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 320px}.control-panel{padding:15px 13px}.scene-controls-row{padding:0 12px}.time-readout{min-width:150px}.speed-control{min-width:105px}.speed-control input{width:48px}.transport-btn{padding:0 9px}}
@media(max-width:780px){html,body{height:auto;min-height:100%;overflow:auto}#app{height:auto;min-height:100dvh}.topbar{height:54px;flex-basis:54px;padding:0 13px}.topbar-meta{display:none}.workspace{display:flex;flex-direction:column;min-height:0}.scene-panel{border-right:0;border-bottom:1px solid var(--line);flex:0 0 auto}.scene-mount{height:52vh;min-height:360px;max-height:560px;flex:none}.scene-topline{top:11px;left:11px;right:11px}.scene-chip{font-size:7px;padding:6px 7px}.callout-left{left:3%;top:32%}.callout-right{right:2%;top:49%}.scene-bottomline{left:12px;right:12px;bottom:11px}.scene-caption{font-size:9px;max-width:245px}.orbit-hint{font-size:7px}.scene-controls-row{height:auto;min-height:62px;flex-wrap:wrap;padding:9px 12px;gap:8px}.time-readout{min-width:0;flex:1}.transport-controls{order:3;width:100%;justify-content:center}.speed-control{min-width:0}.speed-control input{width:58px}.control-panel{overflow:visible;padding:16px 14px 18px}.panel-heading{margin-bottom:14px}.panel-heading h1{font-size:18px}.preset-grid{grid-template-columns:1fr 1fr}.preset-btn{height:44px}.preset-btn:last-child{grid-column:1/-1}.parameters-section{margin-top:4px}.parameter-list{display:grid;grid-template-columns:1fr 1fr;column-gap:15px;row-gap:13px}.parameter-row{min-width:0}.metric-card{min-height:73px}.panel-foot{padding-bottom:7px}.toast{bottom:20px}.embed .workspace{display:flex}.embed .scene-mount{height:54vh}.embed .control-panel{padding-bottom:16px}}
@media(max-width:390px){.brand-title{font-size:12px}.brand-mark{width:26px;height:26px}.scene-mount{min-height:340px}.scene-caption{max-width:215px}.orbit-hint{display:none}.transport-btn{padding:0 8px;font-size:8px}.time-readout{gap:6px}.time-readout strong{font-size:11px}.speed-control{gap:5px}.parameter-list{column-gap:11px}.parameter-head label{font-size:8px}.parameter-head output{font-size:8px}.preset-btn b{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
