:root{color-scheme:dark;--bg:#060a15;--panel:rgba(13,21,37,.80);--panel2:rgba(14,25,43,.92);--stroke:rgba(163,197,232,.12);--stroke-strong:rgba(163,197,232,.24);--text:#e9f2ff;--muted:#8b9db5;--faint:#607189;--mint:#7bf0d9;--cyan:#66b8ff;--gold:#f3b879;--purple:#bda8ff;--accent:#9ce5e0;--radius:19px;font-family:'DM Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:#060a15;color:var(--text);overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--mint);outline-offset:3px}canvas{display:block;max-width:100%}.aurora{pointer-events:none;position:fixed;z-index:-1;filter:blur(105px);border-radius:50%;opacity:.15}.aurora-a{width:60vw;height:65vh;left:-20vw;top:15vh;background:#266a92}.aurora-b{width:45vw;height:60vh;right:-25vw;top:40vh;background:#71418a}.app-shell{width:min(1760px,calc(100% - 54px));margin:0 auto}
.topbar{height:89px;display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--stroke)}.brand-mark{position:relative;width:47px;height:47px;flex:0 0 auto;display:grid;place-items:center;border:1px solid rgba(124,238,216,.22);border-radius:14px;background:linear-gradient(150deg,rgba(99,205,214,.10),rgba(51,68,112,.08));overflow:hidden}.brand-core{width:9px;height:9px;border-radius:50%;background:#fff2cf;box-shadow:0 0 10px 4px #f9c77e88,0 0 24px 9px #5bc7fc66}.brand-orbit{position:absolute;width:32px;height:18px;border:1px solid #81d9d9aa;border-radius:50%;transform:rotate(-35deg)}.brand-orbit-2{transform:rotate(53deg);border-color:#8d91ef88}.brand-copy{min-width:0}.brand-eyebrow,.section-eyebrow,.small-tag{letter-spacing:.15em;font-size:10px;font-weight:700;color:#7791ad}.brand-eyebrow .slash,.section-eyebrow span{color:#54677c;margin:0 4px}.brand-title{margin-top:5px;font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:.08em;font-size:19px;white-space:nowrap}.brand-title em{font-style:normal;font-weight:400;color:#a3f2df}.title-dot{color:#f2b36f}.header-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.status-badge{display:flex;align-items:center;gap:9px;border:1px solid var(--stroke);border-radius:100px;background:#0d1827;padding:9px 14px;letter-spacing:.11em;font-size:10px;color:#9aafbf;font-weight:700;white-space:nowrap}.signal-dot{display:inline-block;width:7px;height:7px;background:#82ecca;border-radius:50%;box-shadow:0 0 0 4px #79eeca14,0 0 12px #66e2c66b;flex:0 0 auto}.signal-dot.working{background:#ffcd83;box-shadow:0 0 12px #ffc68555}.signal-dot.error{background:#fa8995}.icon-button{width:36px;height:36px;border:1px solid var(--stroke-strong);color:#c4d8f2;background:#0f1b2d;border-radius:50%;font-size:18px;font-family:'Space Grotesk',sans-serif}.icon-button:hover,.view-tab:hover,.plain-button:hover{background:#203049;color:white}
.intro-bar{padding:39px 4px 35px;display:flex;align-items:flex-end;justify-content:space-between;gap:34px}.intro-text{max-width:840px}.small-tag{color:var(--mint)}.intro-bar h1{font-family:'Space Grotesk',sans-serif;font-weight:500;font-size:clamp(30px,3.6vw,51px);letter-spacing:-.048em;line-height:1.08;margin:13px 0}.intro-bar h1 i{font-style:normal;background:linear-gradient(105deg,#abfff0,#73cde5,#c9b2fa);-webkit-background-clip:text;background-clip:text;color:transparent}.intro-bar p{line-height:1.65;color:#94a4ba;font-size:13px;max-width:720px;margin:0}.equation-block{display:flex;flex-direction:column;gap:8px;min-width:316px;max-width:360px;padding:16px 18px 14px;border:1px solid var(--stroke);border-radius:14px;background:linear-gradient(145deg,rgba(25,43,65,.8),rgba(12,20,33,.7));box-shadow:inset 0 1px #ffffff08}.equation-block span{font-size:10px;color:#8199b0;font-weight:700;letter-spacing:.16em}.equation-block strong{font-family:'Space Grotesk',sans-serif;color:#d5f8f5;font-size:15px;font-weight:500;letter-spacing:-.015em}.equation-block small{font-size:9px;color:#667e9a;letter-spacing:.11em}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:20px;align-items:start}.main-column{min-width:0;display:flex;flex-direction:column;gap:17px}.sidebar{display:flex;flex-direction:column;gap:18px}.panel{border:1px solid var(--stroke);background:linear-gradient(148deg,rgba(18,30,47,.90),rgba(9,17,31,.92));border-radius:var(--radius);box-shadow:0 20px 48px #0000001c,inset 0 1px #ffffff08;min-width:0;overflow:hidden}.viewport-card{position:relative}.view-topline{height:70px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.view-label{display:flex;align-items:center;gap:12px}.view-label>div{display:flex;flex-direction:column;gap:5px}.view-label strong{font-size:11px;letter-spacing:.125em;font-weight:700}.view-label span:not(.round-icon){color:#7389a1;font-size:11px}.round-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#1a3141;border:1px solid #34596b;color:#8de9e8;font-size:20px}.view-tabs{display:flex;gap:4px;background:#0b1321;border:1px solid #223149;border-radius:9px;padding:4px}.view-tab{border:0;border-radius:6px;background:transparent;color:#8396ad;font-weight:700;font-size:10px;letter-spacing:.08em;padding:8px 9px;white-space:nowrap}.view-tab.is-active{background:#25364b;color:#d1f8f2;box-shadow:0 1px 6px #0005}.three-host{height:clamp(430px,42vw,615px);position:relative;overflow:hidden;background:radial-gradient(ellipse 90% 70% at 50% 46%,#132640 0%,#0a1325 44%,#060d1b 100%);touch-action:none;cursor:grab}.three-host:active{cursor:grabbing}.three-host canvas{position:absolute;inset:0;width:100%;height:100%}.stage-mist{position:absolute;pointer-events:none;inset:0;background:linear-gradient(180deg,#040a1650,transparent 20%,transparent 65%,#060d1b69),radial-gradient(ellipse at center,transparent 35%,#070b1a68 96%)}.stage-corner{pointer-events:none;position:absolute;display:flex;flex-direction:column;gap:5px;letter-spacing:.1em;font-size:10px;color:#9cafc2;font-weight:700}.stage-corner b{color:#7890aa;font-size:9px;letter-spacing:.14em}.stage-corner small{font-size:9px;color:#576f8b}.top-left{left:23px;top:19px}.top-right{right:24px;top:20px;text-align:right}.bottom-left{left:23px;bottom:22px;gap:11px}.bottom-right{right:24px;bottom:21px;text-align:right}.stage-legend{display:flex;align-items:center;gap:8px;font-size:10px;color:#9fb0c4;font-weight:500;letter-spacing:0}.legend-swatch{display:inline-block;width:7px;height:7px;border-radius:50%}.legend-swatch.luminous{background:#f6e2b5;box-shadow:0 0 10px #efb86d}.legend-swatch.cyan{background:#65f2de;box-shadow:0 0 9px #65f2de}.legend-swatch.amber{background:#efa966;box-shadow:0 0 9px #efa966}.separator-dot{color:#5f7490}.object-label{position:absolute;transform:translate(-50%,-50%);border:1px solid #47728293;border-radius:6px;background:#091626bd;padding:5px 8px;display:none;align-items:center;gap:5px;backdrop-filter:blur(9px);color:#bad7e2;font-size:9px;white-space:nowrap;letter-spacing:.09em;box-shadow:0 6px 20px #0005}.object-label:hover{background:#20384b}.label-cross{color:var(--gold)}.object-info{position:absolute;left:23px;top:85px;width:200px;background:#061523d6;border:1px solid #28536d83;box-shadow:0 20px 40px #0003;backdrop-filter:blur(8px);padding:13px;border-radius:11px;pointer-events:none;opacity:0;transform:translateY(-8px);transition:opacity .18s,transform .18s}.object-info.visible{opacity:1;transform:none}.object-info span{font-size:9px;letter-spacing:.13em;color:var(--mint)}.object-info strong{display:block;font-size:13px;margin:6px 0}.object-info p{font-size:11px;line-height:1.5;margin:0;color:#9bb2c8}.render-fallback{position:absolute;inset:20% 14%;border:1px solid #b3777d99;background:#120c1ce6;box-shadow:0 10px 40px #0008;border-radius:16px;padding:40px;z-index:8;text-align:center}.render-fallback[hidden]{display:none}.render-fallback strong{font-size:22px}.render-fallback p{font-size:13px;color:#d7babc}
.playback-bar{padding:15px 20px 18px;display:flex;align-items:center;gap:13px}.play-button{width:46px;height:46px;flex:0 0 46px;border:1px solid #8bf6df88;border-radius:13px;color:#061c22;background:linear-gradient(160deg,#c0fff0,#6bd0c3);font-size:19px;font-weight:bold;box-shadow:0 0 22px #8ae6da1c}.play-button:hover{filter:brightness(1.15)}.plain-button{background:#152339;border:1px solid #263750;color:#a7bcd0;padding:13px 12px;border-radius:10px;font-size:10px;font-weight:700;white-space:nowrap;letter-spacing:.08em}.time-controls{min-width:0;flex:1;margin:0 13px}.time-header,.time-labels,.param-header,.param-endpoints{display:flex;justify-content:space-between;align-items:center;gap:10px}.time-header{font-size:10px;font-weight:700;letter-spacing:.11em;color:#8199af}.time-header span:last-child{color:#c9e8e6}.time-controls input{margin:12px 0 8px}.time-labels{color:#5e748c;font-size:9px}.speed-box{display:flex;flex-direction:column;align-items:flex-end;gap:7px;white-space:nowrap}.speed-box span{font-size:9px;color:#6e829a;letter-spacing:.11em}.speed-box strong{font-family:'Space Grotesk',sans-serif;font-size:18px;color:#b3ebe3}
input[type=range]{width:100%;accent-color:#8feee2;height:4px;cursor:pointer;appearance:none;-webkit-appearance:none;background:linear-gradient(90deg,#6fddcc var(--progress,50%),#233a4d var(--progress,50%));border-radius:9px}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border:2px solid #dcfff5;background:#84daca;border-radius:50%;box-shadow:0 0 0 5px #81e9d01b,0 0 15px #72fae48a}input[type=range]::-moz-range-thumb{width:10px;height:10px;border:2px solid #dcfff5;background:#84daca;border-radius:50%;box-shadow:0 0 0 5px #81e9d01b}
.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{min-width:0;border:1px solid var(--stroke);border-radius:13px;background:linear-gradient(140deg,rgba(15,30,45,.90),rgba(12,19,32,.95));padding:18px 16px 16px}.metric-label{display:block;font-size:9px;color:#8398b2;font-weight:700;letter-spacing:.1em;white-space:nowrap}.metric-indicator{display:inline-block;width:5px;height:5px;background:var(--mint);border-radius:100%;box-shadow:0 0 7px var(--mint);margin-left:3px}.metric>div{display:flex;align-items:baseline;gap:6px;margin:7px 0 3px}.metric strong{font-family:'Space Grotesk',sans-serif;letter-spacing:-.045em;font-size:clamp(22px,2.3vw,32px);font-weight:500;font-variant-numeric:tabular-nums}.unit{color:#7796aa;font-size:11px}.metric small{color:#61788e;font-size:10px}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.chart-panel{padding:19px 19px 15px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:52px}.panel-heading h2{font-family:'Space Grotesk',sans-serif;font-size:17px;font-weight:500;letter-spacing:-.025em;margin:7px 0 0}.map-toggle{display:flex;gap:2px;padding:3px;border:1px solid #243951;background:#0c1a2c;border-radius:7px}.map-toggle button{background:transparent;border:none;color:#8398ae;font-size:9px;letter-spacing:.06em;font-weight:700;padding:6px 7px;border-radius:5px}.map-toggle button.active{background:#234f57;color:#b7fff1}.data-tag{font-weight:700;color:#6fc5c1;font-size:9px;letter-spacing:.09em;border:1px solid #285b65;padding:6px 8px;border-radius:5px;white-space:nowrap}.canvas-wrap{position:relative;margin:7px 0 0}.canvas-wrap canvas{width:100%;height:265px;touch-action:none}.map-panel .canvas-wrap canvas{cursor:crosshair}.canvas-bottom-label{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);font-size:9px;color:#667e99;letter-spacing:.14em;white-space:nowrap}.micro-copy{display:flex;gap:8px;margin:12px 0 0;line-height:1.5;color:#829ab0;font-size:10px}.micro-copy b{color:#abc8d5}.help-dot{width:12px;height:12px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#21414b;color:#7cdbcc;margin-top:2px}.help-dot:before{content:'i';font-size:9px;font-family:serif}.curve-foot{display:grid;grid-template-columns:1.05fr 1.3fr .7fr;border-top:1px solid var(--stroke);padding-top:13px;gap:8px}.curve-foot>div{display:flex;flex-direction:column;gap:5px}.curve-foot span{font-size:8px;letter-spacing:.08em;color:#6e869c;font-weight:700}.curve-foot strong{font-size:14px;color:#b9d9df;font-weight:600}
.controls-card{padding:25px 22px 19px}.side-heading h2,.field-note h2,.science-intro h2{font-family:'Space Grotesk',sans-serif;font-weight:500;letter-spacing:-.035em}.side-heading h2{margin:8px 0 8px;font-size:25px}.side-heading p{font-size:11px;line-height:1.6;color:#8196ab;margin:0 0 23px}.controls{display:flex;flex-direction:column;gap:21px}.parameter{min-width:0}.param-header label{font-weight:600;color:#d0dfed;font-size:12px}.tooltip-trigger{color:#668498;font-size:11px}.param-header output{font-family:'Space Grotesk',sans-serif;color:#8eebdd;font-size:12px;white-space:nowrap;font-weight:600}.parameter input{margin:16px 0 8px}.param-endpoints{font-size:9px;font-weight:700;letter-spacing:.08em;color:#5d7087}.parameter p{font-size:10px;color:#6c8399;line-height:1.48;margin:9px 0 0}.section-divider{height:1px;background:var(--stroke);margin:21px 0}.side-subheading{margin-bottom:15px}.side-subheading h3{margin:6px 0 0;font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:500}.compact-controls{gap:14px}.compact-controls .parameter input{margin-top:12px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:13px 0;cursor:pointer}.switch-row>span:first-child{display:flex;flex-direction:column;gap:4px}.switch-row strong{font-size:11px;font-weight:600;color:#c8d8e8}.switch-row small{font-size:10px;color:#6a829b}.switch-row input{opacity:0;width:0;height:0;position:absolute}.switch-ui{width:36px;height:20px;border-radius:20px;background:#28384c;position:relative;flex:0 0 36px;transition:background .15s}.switch-ui:after{position:absolute;content:'';top:3px;left:3px;width:14px;height:14px;background:#73859a;border-radius:100%;transition:transform .18s,background .18s}.switch-row input:checked+.switch-ui{background:#23665f}.switch-row input:checked+.switch-ui:after{transform:translateX(16px);background:#a6ffe9}.switch-row input:focus-visible+.switch-ui{outline:2px solid #a6ffe9;outline-offset:3px}.preset-group .section-eyebrow{display:block;margin-bottom:12px}.preset-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preset-buttons button{border:1px solid #2b4158;border-radius:8px;padding:10px 8px;background:#132338;color:#9bb4c8;font-weight:700;letter-spacing:.06em;font-size:9px;transition:background .2s,border-color .2s}.preset-buttons button:hover,.preset-buttons button.selected{background:#20434a;border-color:#4dada4;color:#c6fff4}.status-footer{margin-top:20px;display:flex;align-items:center;gap:9px;font-size:10px;color:#7b998e;border-top:1px solid var(--stroke);padding-top:15px}.field-note{padding:26px 24px;background:radial-gradient(ellipse at 90% 0%,#2244549c,transparent 54%),linear-gradient(145deg,#11253a,#0b1729)}.field-note-icon{width:37px;height:37px;display:grid;place-items:center;color:#ecdeae;background:#33414b;border:1px solid #70796960;border-radius:50%;font-size:22px;margin-bottom:18px}.field-note h2{font-size:24px;line-height:1.12;margin:9px 0 13px}.field-note>p{font-size:12px;line-height:1.75;color:#a5b7c7}.field-note>p em{font-style:normal;color:#a3efdc}.fact-chip{margin-top:23px;display:flex;gap:12px;padding:15px;border:1px solid #35655f55;border-radius:10px;background:#08232066}.fact-chip strong{color:#92e9cc;font-size:10px;letter-spacing:.08em;white-space:nowrap}.fact-chip span{font-size:11px;color:#a4c0bf;line-height:1.55}
.science-section{padding:72px 4px 0}.science-intro{max-width:750px}.science-intro h2{margin:12px 0 14px;font-size:clamp(28px,3vw,41px)}.science-intro p{color:#91a6bb;font-size:13px;line-height:1.75}.learning-objectives{margin:27px 0 -4px;display:flex;gap:15px;flex-wrap:wrap;align-items:center}.learning-objectives strong{font-size:10px;letter-spacing:.14em;color:var(--mint)}.learning-objectives span{font-size:10px;color:#a9bfd0;padding:7px 11px;border:1px solid #294357;border-radius:99px;background:#122234}.science-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 55px}.science-grid article{padding:24px;border:1px solid var(--stroke);border-radius:15px;background:#101c2a96}.science-grid article>span{font-size:10px;letter-spacing:.13em;color:#73c1bc}.science-grid article h3{font-family:'Space Grotesk',sans-serif;margin:15px 0 9px;font-weight:500;font-size:19px}.science-grid article p{font-size:12px;color:#8ea4b7;line-height:1.75;margin:0}.site-footer{display:flex;gap:15px;justify-content:space-between;padding:22px 0 31px;border-top:1px solid var(--stroke);font-size:9px;letter-spacing:.11em;font-weight:700;color:#637a91}.site-footer i{font-style:normal;color:var(--mint)}
.guide-dialog{background:linear-gradient(160deg,#172b3c,#091626);border:1px solid #42687b;border-radius:18px;box-shadow:0 30px 120px #000b;color:#d7e9f1;padding:26px;max-width:min(570px,calc(100% - 28px));max-height:85vh;overflow:auto}.guide-dialog::backdrop{background:#020815c9;backdrop-filter:blur(9px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dialog-head h2{font-family:'Space Grotesk',sans-serif;margin:8px 0 0}.guide-dialog p,.guide-dialog li{font-size:13px;line-height:1.65;color:#abc1d0}.guide-dialog li{margin-bottom:10px}.guide-dialog li strong{color:#d8f3ef}.guide-hint{border-top:1px solid var(--stroke);padding-top:14px}.guide-dialog kbd{border:1px solid #49677c;border-radius:5px;background:#253a4d;padding:2px 6px;font:inherit}
@media(max-width:1250px){.app-shell{width:calc(100% - 36px)}.workspace{grid-template-columns:minmax(0,1fr) 325px;gap:13px}.controls-card{padding:23px 18px}.lower-grid{gap:12px}.chart-panel{padding:16px}.metric-strip{gap:8px}.metric{padding:14px 10px}.metric-label{font-size:8px}.stage-corner.bottom-right{display:none}}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr)}.sidebar{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start}.controls-card .controls:not(.compact-controls){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.controls-card .compact-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.controls-card .parameter p{min-height:45px}.three-host{height:570px}.intro-bar{align-items:center}}
@media(max-width:690px){.app-shell{width:calc(100% - 22px)}.topbar{height:74px;gap:10px}.brand-mark{width:39px;height:39px}.brand-eyebrow{font-size:7px}.brand-title{font-size:15px}.header-actions{gap:7px}.status-badge{padding:7px 8px;font-size:0}.status-badge .signal-dot{width:8px;height:8px}.icon-button{width:32px;height:32px}.intro-bar{padding:28px 2px 25px;display:block}.intro-bar h1{font-size:36px}.intro-bar p{font-size:12px}.equation-block{max-width:none;min-width:0;margin-top:20px}.view-topline{padding:12px;height:66px;gap:5px}.view-label{gap:6px}.view-label strong{font-size:9px}.view-label span:not(.round-icon){font-size:9px}.round-icon{width:30px;height:30px;font-size:17px}.view-tab{font-size:8px;padding:7px 6px}.view-tabs{gap:0;padding:2px}.three-host{height:420px}.stage-corner{font-size:9px}.top-left{left:12px;top:13px}.top-right{right:12px;top:13px}.bottom-left{left:12px;bottom:17px}.bottom-right{display:none}.object-info{left:12px;top:70px}.playback-bar{gap:8px;padding:12px}.play-button{width:39px;height:39px;flex-basis:39px}.plain-button{padding:10px 8px}.plain-button span{display:none}.time-controls{margin:0 2px}.time-header{font-size:8px}.time-labels{font-size:8px}.time-labels span:nth-child(2){display:none}.speed-box{display:none}.metric-strip{grid-template-columns:1fr 1fr}.metric{padding:15px}.metric strong{font-size:29px}.lower-grid{grid-template-columns:1fr}.chart-panel{padding:18px}.canvas-wrap canvas{height:270px}.sidebar{grid-template-columns:1fr}.controls-card .controls:not(.compact-controls){display:flex}.controls-card .compact-controls{display:flex}.controls-card .parameter p{min-height:0}.science-section{padding-top:49px}.science-grid{grid-template-columns:1fr;gap:10px;margin-bottom:35px}.site-footer{flex-wrap:wrap;line-height:1.6}.equation-block strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
