:root{color-scheme:dark;--bg:#07141d;--side:#0c1c27;--sub:#0e222d;--hair:#223844;--mint:#7be2cf;--aqua:#50bfc9;--text:#eaf6f5;--secondary:#95aab1;--muted:#6b858f;--warn:#e8bd85;--radius:12px;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:var(--font);font-size:13px}body{overflow:hidden}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #9df9d6;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#27434e;border:2px solid transparent;border-radius:10px;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}
.app{height:100dvh;min-height:600px;display:grid;grid-template-columns:minmax(0,1fr) 334px;grid-template-rows:86px minmax(0,1fr) 32px;grid-template-areas:'header header' 'stage sidebar' 'footer footer';overflow:hidden}
.header{grid-area:header;display:flex;align-items:center;gap:34px;padding:0 25px;background:#081721;border-bottom:1px solid #1c333d;z-index:4}.identity{display:flex;align-items:center;gap:12px;min-width:234px}.logo-mark{width:40px;height:40px;border:1px solid #3d9d9c;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#193c46,#0b202b);box-shadow:inset 0 0 15px #1a696850;color:#9beede;font-size:29px;font-weight:600}.logo-mark span{transform:translateY(-3px)}.identity-copy{display:flex;flex-direction:column;gap:6px}.brand{font-size:11px;letter-spacing:.15em;font-weight:850;white-space:nowrap}.brand i{color:var(--mint);font-style:normal;margin:0 4px}.brand-sub{font-size:9px;letter-spacing:.11em;color:var(--muted);font-weight:700;white-space:nowrap}.headline{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.number{border:1px solid #385663;color:var(--mint);background:#112d37;border-radius:5px;padding:8px 7px;writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:.08em;font-weight:800}.headline h1{font-size:20px;font-weight:650;letter-spacing:-.04em;line-height:1.12;margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.headline h1 .dash{color:var(--mint);font-weight:400}.headline p{margin:0;font-size:11px;letter-spacing:.01em;color:var(--secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-right{display:flex;align-items:center;gap:9px;white-space:nowrap}.status-dot,.mini-led{width:7px;height:7px;border-radius:50%;background:#8df5d2;box-shadow:0 0 12px #73dfc9;display:inline-block}.live-label{font-size:9px;font-weight:800;letter-spacing:.13em;color:var(--mint)}.icon-button{border:1px solid var(--hair);background:var(--sub);color:var(--text);border-radius:7px;width:30px;height:30px}.top-btn{display:none;font-size:18px}
.stage-wrap{grid-area:stage;min-width:0;min-height:0;position:relative;background:#081721}.viewport{height:100%;width:100%;position:relative;overflow:hidden;background:radial-gradient(ellipse at 40% 38%,#284553,#071824 72%)}.render-surface,.render-surface canvas{display:block;width:100%;height:100%}.stage-ui{pointer-events:none;position:absolute}.stage-heading{top:26px;left:30px;max-width:330px;text-shadow:0 2px 16px #09151abe}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.15em;color:#98e3d3;font-weight:750}.signal-pulse{font-size:19px;line-height:10px}.eyebrow .line{width:34px;height:1px;background:#67a99d}.scene-title{font-size:26px;font-weight:670;letter-spacing:-.055em;margin-top:10px}.stage-heading p{margin:7px 0 0;color:#c0d4d7;font-size:12px;line-height:1.6;max-width:285px}.mode-pills{top:29px;right:24px;display:flex;gap:8px}.pill{padding:7px 10px;font-size:9px;letter-spacing:.1em;font-weight:800;border-radius:5px;backdrop-filter:blur(8px)}.pill.green{color:#b6fae7;border:1px solid #5bb8a66b;background:#0a3b3f7a}.pill.neutral{color:#cddae2;border:1px solid #c7e1dd3a;background:#1b303c8c}.world-label{position:absolute;pointer-events:none;display:flex;gap:10px;align-items:flex-start;padding:9px 13px;background:#081e27c9;backdrop-filter:blur(8px);border:1px solid #83d8d07c;border-radius:7px;z-index:2;transform:translate(13px,-19px)}.world-label .label-dot{width:8px;height:8px;border-radius:50%;background:#91f2e4;box-shadow:0 0 10px #91f2e4;margin-top:4px}.world-label div{display:flex;flex-direction:column;gap:4px}.world-label strong{font-size:9px;letter-spacing:.12em}.world-label span:not(.label-dot){font-size:10px;color:#b2cad0}.scene-guide{top:calc(100% - 290px);left:26px;display:flex;align-items:center;gap:10px;color:#c0d7d7;text-shadow:0 2px 8px #091721aa}.guide-cross{font-size:19px;color:#a3e4d7}.scene-guide div{display:flex;flex-direction:column;gap:3px}.scene-guide strong{font-size:9px;letter-spacing:.1em}.scene-guide div span{font-size:10px;color:#c3d6d7}.reset-view{margin-left:16px;pointer-events:auto;border:1px solid #a5d9cb61;color:#cbf6eb;background:#12323aa1;border-radius:5px;padding:7px 9px;font-size:10px}.reset-view span{font-size:16px;margin-right:5px}
.stage-bottom{bottom:0;left:0;right:0;background:linear-gradient(0deg,#071823 5%,#071823e9 70%,#071823b7 100%);border-top:1px solid #3a657071;backdrop-filter:blur(12px);padding:15px 26px 9px}.readout-header,.profile-copy{display:flex;justify-content:space-between;align-items:center;color:var(--secondary);font-size:9px;letter-spacing:.14em;font-weight:800}.readout-header>span:first-child{color:#a3e7da}.readout-header .mini-led{width:5px;height:5px;margin-right:7px}.readouts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:13px;border-bottom:1px solid #3a4c54a1;padding-bottom:12px}.readout{padding:0 10px 0 16px;border-left:1px solid #37545e77;min-width:0}.readout:first-child{border-left:0;padding-left:0}.measure-name{color:#98b3b8;font-size:9px;font-weight:800;letter-spacing:.09em;white-space:nowrap}.measure-name .hint{color:#779e9e;font-weight:500;margin-left:4px}.readout div{display:flex;align-items:baseline;gap:7px;margin-top:5px}.readout b{font-size:31px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.1}.readout small{color:var(--mint);font-size:11px}.readout-note{display:block;color:#728f97;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-row{margin-top:9px}.profile-copy span:first-child{color:#98b8bb}.profile-copy span:last-child{font-weight:500;letter-spacing:.03em}#profileChart{display:block;width:100%;height:45px;margin-top:3px;filter:drop-shadow(0px 0px 5px #57cab73d)}
.sidebar{grid-area:sidebar;min-height:0;min-width:0;background:var(--side);border-left:1px solid var(--hair);overflow:hidden}.sidebar-scroll{height:100%;overflow:auto;scrollbar-gutter:stable}.side-section{padding:18px 22px 20px;border-bottom:1px solid #213642}.side-section.first{padding-top:23px;padding-bottom:16px}.section-header{display:flex;justify-content:space-between;align-items:flex-start}.tiny-index{font-size:9px;letter-spacing:.17em;color:#73c6bc;font-weight:800}.section-header h2{font-size:19px;letter-spacing:-.04em;font-weight:640;margin:7px 0 0}.section-icon{font-size:20px;color:#77c7bd}.section-sub{font-size:11px;color:#93aab2;line-height:1.6;margin:10px 0 0}.group-title{display:flex;justify-content:space-between;font-weight:800;letter-spacing:.09em;font-size:10px;color:#b9d8d8}.group-title span{color:#5f8c92;font-size:9px}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.preset{min-height:57px;border:1px solid #25414c;border-radius:7px;background:#102834;color:#b7cbd0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px}.preset-symbol{font-size:21px;line-height:20px;color:#8ba9b1;font-weight:500}.preset.active,.preset:hover{background:#123d44;border-color:#67c9b7;color:#c4f9ed}.preset.active .preset-symbol{color:#90ffe2}.action-section{padding-top:15px;padding-bottom:16px}.transport{display:flex;gap:8px}.play-button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;background:#79dfc7;color:#09232a;border:1px solid #9be9d5;border-radius:6px;font-size:10px;letter-spacing:.12em;font-weight:850;padding:12px 5px}.play-button span:first-child{font-size:17px;line-height:9px}.play-button:hover{background:#9ef9dd}.secondary-button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:67px;background:#102c38;border:1px solid #34525d;color:#d3e6e6;border-radius:6px;font-size:13px;padding:9px 10px}.secondary-button span{font-size:10px;font-weight:750;letter-spacing:.06em}.secondary-button:hover,.reset-view:hover{border-color:#7ad4c5}.speed-row{display:flex;align-items:center;gap:8px;margin-top:15px}.speed-row label{font-size:9px;font-weight:800;white-space:nowrap;letter-spacing:.06em;color:#8faeb6}.speed-row select{min-width:0;border:1px solid #34515a;background:#122e37;color:#dcf5f1;border-radius:4px;padding:5px 4px;font-size:10px}.speed-row label:nth-of-type(2){margin-left:auto}.sliders-section{padding-top:19px}.slider-group{margin-top:19px}.slider-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.slider-row label{font-size:11px;color:#d1e3e4;font-weight:580}.slider-output{font-size:11px;color:#9af8dd;font-variant-numeric:tabular-nums;font-weight:750}.slider-help{display:flex;justify-content:space-between;align-items:center;color:#65848f;font-size:9px;margin-top:6px}.slider-group input[type=range]{width:100%;margin:0;display:block;height:18px;background:transparent;accent-color:#77e3cc;cursor:pointer}.slider-group input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,#61d6c3 0%,#25414b 100%);height:3px;border-radius:4px}.slider-group input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#9ef4df;border:3px solid #0d2935;box-shadow:0 0 0 1px #78ccbd;width:15px;height:15px;border-radius:50%;margin-top:-6px}.safety-tip{display:flex;gap:9px;color:#91aeb1;background:#0e2932;border:1px solid #2b424b;border-radius:7px;padding:10px 12px;margin-top:19px;font-size:10px;line-height:1.5}.safety-tip span:first-child{color:var(--mint);font-size:15px}.conditions{padding-top:19px}.regime-panel{margin-top:13px;background:#102932;border:1px solid #2b4950;padding:13px 12px;border-radius:7px}.regime-first{display:flex;align-items:center;justify-content:space-between}.regime-first span{color:#e5f7eb;font-size:12px;font-weight:620}.regime-first strong{color:#8be6d7;font-size:12px}.regime-meter{margin-top:13px;background:linear-gradient(90deg,#4a8baa,#a8baa3 53%,#e6b47b 68%,#cf8676);height:5px;border-radius:99px;position:relative}.regime-progress{position:absolute;height:14px;width:3px;top:-4px;background:#f0fffa;border-radius:3px;box-shadow:0 0 0 3px #0e2731;left:70%}.threshold{position:absolute;height:13px;width:1px;background:#d5e5dfaa;left:66.67%;top:-4px}.regime-axis{display:flex;justify-content:space-between;margin-top:9px;font-size:8px;letter-spacing:.05em;color:#728e96}.regime-panel p{font-size:10px;color:#9bb5b9;line-height:1.6;margin:12px 0 0}.validation .check-symbol{border:1px solid #6bbca5;background:#1d453d;color:#a6ffde;border-radius:50%;height:26px;width:26px;display:grid;place-items:center}.validation-table{margin-top:16px;border:1px solid #2a4c55;border-radius:7px;overflow:hidden}.validation-table>div{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #28414b}.validation-table>div:last-child{border-bottom:0}.validation-table span{font-size:9px;letter-spacing:.09em;color:#9db7bc;font-weight:700}.validation-table strong{font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.validation-table .validation-error{color:#8cf0d3}.microcopy{font-size:10px;color:#7f9fa8;line-height:1.55;margin:12px 0 0}.science-section{padding:0}.science-section details{padding:19px 22px}.science-section summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none}.science-section summary::-webkit-details-marker{display:none}.science-section summary>span:first-child{display:flex;flex-direction:column;gap:7px}.science-section summary strong{font-size:17px;letter-spacing:-.025em}.chevron{font-size:23px;color:var(--mint);transition:transform .2s ease}.science-section details[open] .chevron{transform:rotate(180deg)}.science-content{padding-top:16px}.science-content h3{font-size:12px;font-weight:750;color:#c7f3e7;margin:15px 0 8px}.science-content p{font-size:11px;line-height:1.65;color:#a7bfc4;margin:8px 0 14px}.science-content code{display:block;overflow-wrap:anywhere;word-break:break-word;font-size:11px;line-height:1.7;background:#081c25;border-left:2px solid #77dac3;padding:8px 10px;color:#b0f8e1;margin:7px 0}.science-content .science-tag{font-size:9px;letter-spacing:.08em;color:#84c3b7;border-top:1px solid #254149;padding-top:12px}.export-section{padding-top:16px;padding-bottom:24px}.export-button{width:100%;border:1px solid #569e9a;background:#15343d;color:#bbf9e6;padding:13px;display:flex;justify-content:space-between;font-weight:750;letter-spacing:.1em;font-size:10px;border-radius:6px}.export-button:hover{background:#1e4b51}.export-button span{font-size:16px;line-height:12px}
.footer{grid-area:footer;background:#081721;border-top:1px solid #213943;display:flex;justify-content:space-between;gap:20px;padding:8px 22px;font-size:9px;color:#74929b;letter-spacing:.025em}.footer-asterisk{color:#87dfc9;font-size:12px;margin-right:6px}.footer>span{letter-spacing:.08em;font-weight:700;color:#5e858f}
.fallback{position:absolute;inset:18% 15% auto;background:#0b2432ec;border:1px solid #4e9299;padding:25px;border-radius:12px;z-index:7;max-width:470px;margin:auto;box-shadow:0 12px 80px #07141d}.fallback[hidden]{display:none}.fallback-icon{font-size:35px;color:#89e5d5}.fallback h2{font-size:18px}.fallback p{line-height:1.6;color:#bfced1}.fallback button{border:1px solid #5caeae;background:#163e42;border-radius:6px;padding:10px 16px;color:white}
@media(max-width:1180px){.app{grid-template-columns:minmax(0,1fr) 310px}.header{gap:18px;padding:0 16px}.identity{min-width:210px}.headline h1{font-size:17px}.stage-heading{top:19px;left:20px}.mode-pills{right:14px}.pill.neutral{display:none}.stage-bottom{padding:13px 17px 7px}.readout{padding-left:9px}.readout b{font-size:27px}.measure-name{font-size:8px}}
@media(max-width:850px){.header{height:68px}.app{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:68px minmax(0,1fr) 30px}.identity{min-width:auto}.identity-copy{display:none}.headline h1{font-size:16px}.headline p{font-size:10px}.side-section{padding-left:15px;padding-right:15px}.live-label{display:none}.readouts{grid-template-columns:repeat(2,1fr);row-gap:8px}.readout:nth-child(3){border:0;padding-left:0}.stage-heading p{display:none}.stage-bottom{padding-bottom:5px}.stage-heading{max-width:250px}.scene-title{font-size:20px}.scene-guide{top:calc(100% - 322px)}.readout b{font-size:23px}.readout-note{display:none}.profile-row{margin-top:7px}#profileChart{height:32px}}
@media(max-width:650px){body{overflow:auto}.app{height:auto;min-height:100dvh;grid-template-columns:1fr;grid-template-rows:auto auto auto auto;grid-template-areas:'header' 'stage' 'sidebar' 'footer';overflow:visible}.header{height:64px;padding:0 14px;gap:13px}.logo-mark{width:35px;height:35px;font-size:25px}.headline{gap:9px}.headline .number{display:none}.headline h1{font-size:14px;white-space:normal;line-height:1.18;margin:0}.headline p{font-size:9px;white-space:normal;margin-top:3px;line-height:1.15}.status-dot{display:none}.top-btn{display:block}.stage-wrap{height:clamp(490px,65dvh,690px)}.stage-heading{top:14px;left:14px;max-width:230px}.eyebrow{font-size:8px}.scene-title{font-size:19px}.mode-pills{top:16px;right:12px}.pill{font-size:8px;padding:5px}.stage-bottom{padding:9px 12px 4px}.readout-header{font-size:8px}.readouts{margin-top:8px;padding-bottom:7px;grid-template-columns:repeat(4,1fr);gap:0}.readout{padding-left:8px}.readout:nth-child(3){border-left:1px solid #37545e77;padding-left:8px}.readout b{font-size:20px}.readout small{display:block;font-size:8px}.readout div{display:block}.measure-name{font-size:7px;letter-spacing:.02em}.measure-name .hint{display:none}.scene-guide{top:calc(100% - 199px);left:13px;gap:6px}.scene-guide div span{display:none}.scene-guide .guide-cross{font-size:16px}.scene-guide strong{font-size:8px}.reset-view{padding:6px;font-size:9px;margin-left:4px}.profile-row{margin-top:4px}#profileChart{height:27px;margin-top:2px}.sidebar{height:auto;max-height:none;overflow:visible;border-left:none;border-top:1px solid #284650}.sidebar-scroll{height:auto;overflow:visible}.side-section{padding:18px 22px}.footer{flex-wrap:wrap;gap:5px;padding:12px 15px;line-height:1.5}.footer>span{font-size:8px}.world-label{font-size:8px;padding:7px 9px}}
@media(max-width:390px){.stage-wrap{height:500px}.readout b{font-size:18px}.readout small{font-size:8px}.mode-pills .pill.green{max-width:105px;text-align:center;line-height:1.4}.stage-heading{max-width:210px}.scene-title{font-size:17px}.readout-header span:last-child{font-size:7px}}
body.embed .header,body.embed .footer{display:none}body.embed .app{grid-template-rows:minmax(0,1fr);grid-template-areas:'stage sidebar'}body.embed .sidebar:not(.open){display:none}body.embed .app:has(.sidebar:not(.open)){grid-template-columns:1fr}body.embed .stage-wrap{height:100dvh}body.embed .stage-heading{top:20px}body.embed .stage-bottom{bottom:0}
body.embed .embed-panel-button{display:block!important;position:absolute;right:12px;top:52px;z-index:6;border:1px solid #7ccebc;background:#0f333cee;color:#b7f7e5;border-radius:6px;padding:9px 13px}
@media(max-width:650px){body.embed .app{grid-template-columns:1fr;grid-template-areas:'stage' 'sidebar';grid-template-rows:100dvh auto}body.embed .sidebar.open{display:block}body.embed .sidebar:not(.open){display:none}body.embed .stage-wrap{height:100dvh}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
