:root{color-scheme:dark;--bg:#09131d;--panel:#0f1924;--line:#263644;--line2:#1b2b36;--ink:#e2edf1;--muted:#88a0ad;--soft:#5e7584;--accent:#58ded2;--accent-dim:#1a5c60;--font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;background:var(--bg);font-family:var(--font);color:var(--ink)}body{overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.stage:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.35}
.header{height:70px;background:rgba(9,19,29,.98);border-bottom:1px solid #203341;display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:18px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border:1px solid #2b7d7c;background:#0e3438;color:var(--accent);border-radius:9px}.brand-mark svg{width:26px}.brand strong{font-size:12px;font-weight:750;letter-spacing:.105em;white-space:nowrap}.brand strong span{font-weight:400;color:var(--soft);margin:0 3px}.brand small{display:block;margin-top:5px;color:#748e9e;font-size:9px;letter-spacing:.165em;font-weight:650}.header-id{font-size:10px;letter-spacing:.12em;color:#839aa8;white-space:nowrap}.header-id b{font-weight:600;color:#b1c4ce}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent);margin-right:9px}.divider-pipe{color:#36515e;margin:0 10px}.tag{display:inline-block;border:1px solid #375261;color:#bad0d7;border-radius:5px;padding:9px 12px;font-size:10px;letter-spacing:.13em;font-weight:750;white-space:nowrap}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 352px;min-height:calc(100dvh - 70px);max-width:1920px;margin:0 auto}.viewport{display:flex;flex-direction:column;min-width:0;min-height:calc(100dvh - 70px);background:#0b1721}.stage{isolation:isolate;position:relative;flex:1;min-height:600px;overflow:hidden;background:radial-gradient(circle at 48% 44%,#1a3341,#09131e 72%);touch-action:none}.stage canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-2;display:block;touch-action:none}.grid-aura{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 70% 65% at 57% 52%,transparent 34%,rgba(1,8,14,.35) 100%),linear-gradient(180deg,rgba(3,11,17,.33) 0%,transparent 35%,transparent 65%,rgba(1,8,14,.68) 100%)}
.stage-top{position:absolute;top:28px;left:33px;right:32px;display:flex;justify-content:space-between;gap:14px;pointer-events:none}.eyebrow{color:var(--accent);font-weight:700;font-size:10px;letter-spacing:.16em}.stage-top .eyebrow{display:flex;align-items:center;gap:9px}.eyebrow i{width:17px;height:1px;background:var(--accent);display:inline-block}.stage-top h1{font-size:clamp(21px,2.25vw,34px);margin:12px 0 9px;line-height:1.18;letter-spacing:-.035em;font-weight:700;text-shadow:0 2px 20px #09131d}.stage-top h1 span{color:#80e2db}.stage-top p{font-size:12px;margin:0;color:#a6c1cb;letter-spacing:.025em}.render-stamp{text-align:right;background:rgba(6,18,27,.6);border:1px solid #31505d;padding:12px 15px;min-width:132px;border-radius:7px;height:max-content;backdrop-filter:blur(8px)}.render-stamp small{font-size:8px;letter-spacing:.17em;color:#7b99a8;display:block}.render-stamp strong{font-size:12px;letter-spacing:.09em;margin-top:6px;display:block;color:#e3f1ee}.render-stamp span{font-size:10px;color:#8ca8b1;display:block;margin-top:5px}
.stage-controls{position:absolute;right:28px;top:134px;display:flex;flex-direction:column;gap:7px}.tool{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;color:#b8d3d7;background:rgba(12,28,39,.83);border:1px solid #334d59;transition:.2s}.tool:hover{background:#1c4550;color:white;border-color:var(--accent)}.tool svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.scene-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.scene-label{position:absolute;transform:translate(-50%,-100%);background:rgba(12,29,40,.86);color:#cce5ea;border:1px solid rgba(108,212,209,.43);border-radius:3px;font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:700;white-space:nowrap;padding:7px 8px;pointer-events:auto;box-shadow:0 5px 15px #020b1244;backdrop-filter:blur(3px)}.scene-label:hover{color:#fff;border-color:#9de5df;background:#1a5258}.scene-label i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-right:6px}.scene-label:after{content:"";position:absolute;left:50%;top:100%;height:20px;border-left:1px solid #5ca9ad88}.scene-selection{position:absolute;transform:translate(-50%,12px);padding:4px 7px;background:#c7efe9;color:#0b2430;font-weight:750;letter-spacing:.03em;max-width:190px;overflow:hidden;text-overflow:ellipsis;font-size:10px;white-space:nowrap;border-radius:3px;pointer-events:none}.scene-orientation{position:absolute;left:31px;bottom:122px;font-size:9px;letter-spacing:.12em;color:#809da8;display:flex;gap:10px}.scene-orientation span+span{padding-left:9px;border-left:1px solid #46616d}
.hud-bottom{position:absolute;left:23px;right:23px;bottom:34px;display:grid;grid-template-columns:1fr 1fr 1.2fr 1fr;gap:0;border:1px solid #315260;background:rgba(8,23,32,.85);backdrop-filter:blur(12px);border-radius:8px;box-shadow:0 10px 25px #01090e66}.readout{padding:16px 17px;min-width:0;border-right:1px solid #334752}.readout:last-child{border-right:0}.readout small{display:block;font-size:9px;white-space:nowrap;color:#84a2ae;letter-spacing:.095em;font-weight:700}.readout strong{display:block;font-size:clamp(15px,1.6vw,22px);color:#e6f5f3;font-weight:650;margin-top:5px;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.readout:first-child strong{color:#7ce7dc}.readout.irradiance strong{font-size:clamp(13px,1.18vw,16px);letter-spacing:-.045em}.readout.indicator strong{font-size:12px;letter-spacing:.08em;color:#65d9d0;margin-top:10px}.stage-bottom-left{position:absolute;bottom:12px;left:31px;right:24px;font-size:8px;color:#7796a3;letter-spacing:.10em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-bottom-left span{color:#adc0c9}.stage-bottom-left b{color:#519292;margin:0 7px}
.footer-strip{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#09131b;border-top:1px solid #253b47;color:#77939c;font-size:9px;font-weight:650;letter-spacing:.1em;gap:10px;white-space:nowrap}.footer-strip b{color:var(--accent)}.footer-strip i{display:inline-block;width:3px;height:3px;border-radius:50%;background:var(--accent);vertical-align:middle;margin:0 9px}.mini-circle{display:inline-block;width:5px;height:5px;border:1px solid var(--accent);border-radius:50%;margin-right:8px}
.sidebar{border-left:1px solid #2c4350;background:var(--panel);display:flex;flex-direction:column;overflow-y:auto;max-height:calc(100dvh - 70px);scrollbar-color:#354c5a #101c26}.control-head{padding:26px 24px 14px;display:flex;justify-content:space-between;align-items:end;gap:14px}.control-head h2{font-size:20px;letter-spacing:-.045em;font-weight:650;margin:8px 0 0}.reset-link{border:0;background:none;color:#6dcfc8;font-size:11px;white-space:nowrap;padding:5px 0}.reset-link:hover{text-decoration:underline}.mode-list{display:flex;flex-direction:column;gap:6px;padding:2px 18px 18px}.mode{display:flex;gap:12px;width:100%;background:#121f2b;border:1px solid #263a47;color:#ccdae2;padding:13px 12px;text-align:left;border-radius:6px;align-items:center;transition:.2s}.mode:hover{border-color:#528c91;background:#152b36}.mode.active{border-color:#4db6b0;background:linear-gradient(90deg,#153b40,#172b38);box-shadow:inset 3px 0 var(--accent)}.mode-num{color:#5e8291;font-size:11px;width:23px}.mode.active .mode-num{color:var(--accent)}.mode>span:nth-child(2){flex:1}.mode strong{font-size:12px;display:block;font-weight:700;letter-spacing:.005em}.mode small{font-size:10px;color:#7993a0;display:block;margin-top:5px}.mode-arrow{color:#658996;font-size:15px}.mode.active .mode-arrow{color:var(--accent)}
.sidebar-section{padding:19px 23px 21px;border-top:1px solid #263845}.sidebar-section h3{font-size:10px;letter-spacing:.13em;font-weight:750;color:#b0c9d0;margin:0 0 17px}.slider-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.slider-heading label{color:#c4d3db;font-size:12px}.slider-heading output{font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums}input[type=range]{width:100%;appearance:none;height:4px;background:linear-gradient(90deg,#45a49c,#263844);border-radius:12px;cursor:pointer;margin:13px 0}input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:#b5fff1;border:2px solid #245e63;box-shadow:0 0 0 3px #245e6366}input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#a6fff0;border:2px solid #3b8f8b}.slider-extents{display:flex;justify-content:space-between;font-size:9px;color:#607986;letter-spacing:.08em;margin-bottom:18px}.control-pair{display:flex;gap:8px}.outline-btn,.guide-bar button{flex:1;background:#162934;border:1px solid #31515c;color:#c1dbe0;font-weight:650;font-size:11px;padding:10px 7px;border-radius:5px;white-space:nowrap}.outline-btn:hover,.guide-bar button:hover{color:white;border-color:#65b8b3}.guide-bar{background:#0b2631;margin-top:12px;padding:12px;border:1px solid #3d7377;border-radius:7px}.guide-bar>div:first-child{display:flex;justify-content:space-between;gap:5px;font-size:11px;margin-bottom:12px}.guide-bar span{color:var(--accent)}.guide-bar button{padding:8px}
.control-label{display:block;color:#93aab5;font-size:11px;margin:12px 0 8px}.sidebar select,.sidebar input[type=search]{background:#0c1823;color:#cfe0e4;border:1px solid #36505d;border-radius:5px;width:100%;padding:10px 12px;font-size:11px;outline-offset:2px}.sidebar input[type=search]::placeholder{color:#637c89}.selected-panel{border:1px dashed #35505c;padding:13px;background:#111f29;margin:14px 0}.selected-panel span{display:block;font-size:9px;letter-spacing:.12em;color:#5f8694;margin-bottom:7px}.selected-panel strong{display:block;font-size:11px;line-height:1.45;color:#e4eeef}.selected-panel small{display:block;font-size:10px;color:#7d98a2;margin-top:7px;line-height:1.5}.selected-panel.has-selection{border-color:#55a7a1;background:#0d2c36}.part-list{max-height:180px;overflow:auto}.part-list .small{font-size:10px}.search-result{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #243a47;color:#d1e5e6;padding:8px;font-size:11px}.search-result:hover{background:#1d3843}.search-result small{display:block;color:#6e919b;font-size:9px;margin-top:4px}
.collapsible summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:11px;font-weight:650;color:#c9dce1}.collapsible summary::-webkit-details-marker{display:none}.collapsible summary:before{content:'+';color:var(--accent);font-size:17px;font-weight:400;margin-right:10px}.collapsible[open] summary:before{content:'−'}.collapsible summary span{font-weight:600;color:#688995;font-size:8px;letter-spacing:.09em;margin-left:auto}.visibility-list{display:flex;flex-direction:column;gap:8px;padding:14px 0}.visibility-item{display:flex;align-items:center;gap:7px;font-size:11px;color:#a8c2ca}.visibility-item input{accent-color:#57c7bd}.visibility-item span:nth-child(2){flex:1}.visibility-count{font-size:10px;color:#648291}.setting-line{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:13px}.setting-line>label{font-size:11px;color:#a0b6c1}.setting-line select{width:130px;padding:7px 6px}.setting-line input{accent-color:var(--accent)}
.physics{background:#0c1b26}.physics-header{display:flex;justify-content:space-between;align-items:center;gap:5px}.physics-header h3{margin:0;color:var(--accent)}.physics-header small{font-size:8px;color:#6e939f;letter-spacing:.08em}.section-intro{font-size:10px;color:#89a3ad;line-height:1.65;margin:14px 0 18px}.physics-slider{padding:4px 0 10px}.physics-slider>div{display:flex;justify-content:space-between;font-size:11px}.physics-slider label{color:#9ab4bd}.physics-slider output{color:#d7eaea;font-variant-numeric:tabular-nums}.physics-slider input{margin:11px 0}.verification{display:grid;grid-template-columns:1fr auto;row-gap:5px;background:#112b36;border:1px solid #2f6269;padding:11px 12px;margin:8px 0 0;border-radius:5px}.verification span{font-size:8px;letter-spacing:.08em;color:#7caaa8;align-self:center}.verification strong{font-size:12px;color:var(--accent);font-weight:750}.verification small{grid-column:1/-1;font-size:9px;color:#85abb1}.science-text{padding-top:12px;color:#a4bec7;font-size:11px;line-height:1.65}.science-text p{margin:12px 0}.science-text b{color:#d4e3e6}.science-text #equations{border-top:1px solid #33515d;border-bottom:1px solid #33515d;padding:10px 0}.science-text #equations>div{padding:8px 0}.science-text #equations span{display:block;color:#78c8bf;font-size:10px}.science-text code{display:block;color:#d0e2e3;white-space:normal;font-size:10px;margin-top:4px;overflow-wrap:anywhere}.sidebar-footer{display:flex;justify-content:space-between;gap:4px;margin-top:auto;padding:17px 23px;font-size:9px;color:#5d7b88;letter-spacing:.12em;border-top:1px solid #263845}.muted{color:#6f8f9a}.tiny{font-size:10px}.small{font-size:11px}.mobile-drawer{display:none}.load-screen{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:8;background:rgba(7,18,29,.94);gap:13px}.load-screen[hidden]{display:none}.load-screen b{font-size:11px;letter-spacing:.14em;color:#d6e7ea}.load-screen span{font-size:10px;color:#8cb1bd}.load-ring{width:34px;height:34px;border:2px solid #3b5d65;border-top-color:#63e4d8;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.is-embed body{height:100vh;height:100dvh;overflow:hidden}.is-embed .header,.is-embed .footer-strip{display:none}.is-embed .workspace{height:100vh;height:100dvh;min-height:0}.is-embed .viewport{min-height:0;height:100dvh}.is-embed .sidebar{max-height:100dvh}.is-embed .stage{min-height:0}
@media (min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 393px}.sidebar{font-size:1.05em}.stage-top{top:35px;left:42px}.stage-controls{top:152px}}
@media (max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 310px}.header-id{display:none}.stage-top{left:22px;right:16px}.stage-top h1{font-size:25px}.stage-top p{font-size:11px}.render-stamp{min-width:105px;padding:10px}.stage-controls{right:16px;top:139px}.readout{padding:14px 11px}.readout small{font-size:8px}.readout strong{font-size:16px}.sidebar-section{padding-left:17px;padding-right:17px}}
@media (max-width:740px){html,body{height:100%;max-height:100dvh;overflow:hidden}.header{height:56px;padding:0 13px}.brand strong{font-size:10px}.brand small{font-size:8px}.brand-mark{width:33px;height:33px}.tag{font-size:9px;padding:7px}.workspace{display:block;height:calc(100dvh - 56px);min-height:0;overflow:hidden}.viewport{height:100%;min-height:0}.stage{min-height:0;flex:1}.stage-top{top:17px;left:15px;right:12px}.stage-top h1{font-size:clamp(19px,5.2vw,23px);margin-top:9px;max-width:250px}.stage-top h1 span{display:block}.stage-top p{max-width:230px;font-size:10px;line-height:1.45}.eyebrow{font-size:8px}.render-stamp{min-width:101px;padding:8px 8px;max-width:108px}.render-stamp strong{font-size:9px}.render-stamp small{font-size:7px}.render-stamp span{font-size:9px}.stage-controls{top:156px;right:10px}.tool{width:33px;height:33px}.scene-label{font-size:8px;padding:5px 6px}.scene-orientation{left:14px;bottom:114px;font-size:8px}.hud-bottom{bottom:28px;left:10px;right:10px;grid-template-columns:repeat(3,1fr)}.readout{padding:10px 8px}.readout strong{font-size:14px}.readout small{font-size:7px;letter-spacing:.02em;white-space:normal;min-height:17px}.readout.irradiance strong{font-size:11px}.readout.indicator{display:none}.stage-bottom-left{bottom:8px;left:13px;font-size:7px}.footer-strip{display:none}.mobile-drawer{display:block;flex:0 0 46px;background:#0d202c;border-top:1px solid #315564;padding:6px 12px}.mobile-drawer button{width:100%;height:33px;background:#14323d;color:#a8ece4;border:1px solid #447c81;border-radius:5px;font-size:11px;letter-spacing:.09em;font-weight:700}.sidebar{position:fixed;z-index:15;left:0;right:0;bottom:46px;max-height:70dvh;height:70dvh;border-top:1px solid #4b8c8f;box-shadow:0 -20px 60px #000b;transform:translateY(calc(100% + 46px));transition:transform .23s ease;overflow-y:auto}.sidebar.open{transform:translateY(0)}.is-embed .workspace{height:100dvh}.is-embed .mobile-drawer{display:block}.is-embed .sidebar{bottom:46px}.is-embed .stage{min-height:0}}
@media (max-width:390px){.header .tag{display:none}.stage-top p{display:none}.render-stamp{min-width:96px}.hud-bottom .readout{padding:10px 5px}.scene-labels .scene-label:nth-child(n+4){display:none}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.process-note{position:absolute;top:226px;left:28px;width:230px;padding:12px 13px;border-left:2px solid var(--accent);background:rgba(9,28,39,.83);backdrop-filter:blur(5px);box-shadow:0 10px 22px #03121a55}.process-note[hidden]{display:none}.process-note small{font-size:8px;font-weight:750;color:#74d7cd;letter-spacing:.12em}.process-note strong{display:block;font-size:12px;margin-top:8px;color:#edf8f6}.process-note p{font-size:10px;line-height:1.5;color:#a6c8ce;margin:6px 0 0}@media(max-width:740px){.process-note{top:168px;left:12px;width:206px;padding:9px 10px}}
