:root{color-scheme:dark;--bg:#071018;--panel:#0d1821;--panel-2:#101e28;--line:rgba(177,207,215,.12);--line-strong:rgba(177,207,215,.2);--text:#e8f0f1;--muted:#8da2aa;--dim:#5d737d;--mint:#71e0bd;--cyan:#71cde0;--amber:#f2a36b;--red:#f07e5d;--pad:16px;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%;min-height:100%;background:var(--bg);color:var(--text)}body{overflow-x:hidden}.app-shell{min-height:100svh;background:radial-gradient(ellipse at 35% 0%,rgba(27,61,70,.2),transparent 45%),var(--bg)}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);background:rgba(7,16,24,.94);position:relative;z-index:3}.brand-lockup{display:flex;align-items:center;gap:13px}.brand-mark{width:30px;height:30px;border:1px solid rgba(113,224,189,.45);border-radius:9px;display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-8deg)}.brand-mark span{display:block;width:3px;border-radius:4px;background:var(--mint);transform:skewY(-24deg)}.brand-mark span:nth-child(1){height:9px;opacity:.55}.brand-mark span:nth-child(2){height:17px}.brand-mark span:nth-child(3){height:12px;opacity:.75}.eyebrow,.section-kicker{font-size:9px;letter-spacing:.16em;font-weight:800;color:#86a5a9}.eyebrow span{color:#536d75;font-weight:600}.brand-lockup h1{font-size:14px;font-weight:650;letter-spacing:-.02em;margin:3px 0 0}.brand-lockup h1 em{font-style:normal;color:var(--mint);padding:0 3px}.top-actions{display:flex;align-items:center;gap:9px}.live-indicator{display:flex;align-items:center;gap:8px;color:#9bb0b5;font-size:9px;letter-spacing:.12em;font-weight:800;margin-right:9px}.live-indicator i,.tag-dot,.validation-ok i{width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 12px rgba(113,224,189,.8)}.icon-button{width:34px;height:34px;display:grid;place-items:center;background:#10212a;border:1px solid var(--line);border-radius:9px;color:#a7c0c4}.icon-button svg,.secondary-button svg,.transport-button svg,.primary-control svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.icon-button:hover,.secondary-button:hover,.transport-button:hover{border-color:rgba(113,224,189,.5);color:var(--mint)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 368px;gap:12px;padding:12px 14px 14px;max-width:1800px;margin:0 auto;min-height:calc(100svh - 68px)}.visual-column{min-width:0;display:flex;flex-direction:column;gap:10px}.scene-frame{height:calc(100svh - 198px);min-height:420px;max-height:760px;position:relative;overflow:hidden;border:1px solid rgba(146,188,195,.18);border-radius:14px;background:radial-gradient(ellipse at 48% 40%,#182a31 0%,#0b1720 54%,#081018 100%);isolation:isolate}.scene-mount,.scene-mount canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,10,15,.34),transparent 23%,transparent 70%,rgba(4,10,15,.45));z-index:1}.scene-topline{position:absolute;z-index:2;top:14px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.scene-tag{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.13em;font-weight:800;color:#b4c7c8;background:rgba(8,18,25,.64);border:1px solid rgba(177,207,215,.14);padding:8px 10px;border-radius:7px;backdrop-filter:blur(10px)}.tag-dot{width:5px;height:5px}.scene-tools{display:flex;align-items:center;gap:10px}.scene-scale{font-size:9px;letter-spacing:.06em;color:#80999f}.scene-scale b{color:#425a62;padding:0 4px}.micro-button{pointer-events:auto;border:1px solid rgba(177,207,215,.2);background:rgba(8,18,25,.72);border-radius:6px;padding:7px 9px;color:#a8c3c4;font-size:8px;letter-spacing:.12em;font-weight:800}.micro-button[aria-pressed="false"]{color:var(--amber);border-color:rgba(242,163,107,.4)}.world-labels{position:absolute;inset:0;z-index:2;pointer-events:none}.world-label{position:absolute;display:flex;align-items:center;gap:6px;white-space:nowrap;color:#d2e2e2;font-size:8px;letter-spacing:.12em;font-weight:800;text-shadow:0 2px 7px #000;transition:opacity .2s}.world-label i{width:5px;height:5px;border-radius:50%;background:var(--mint);box-shadow:0 0 9px var(--mint)}.label-chamber i{background:#ff9a61;box-shadow:0 0 9px #ff9a61}.label-station i{background:#74d7ed;box-shadow:0 0 9px #74d7ed}.scene-bottom-left{position:absolute;z-index:2;left:16px;bottom:14px;display:flex;flex-wrap:wrap;gap:13px;pointer-events:none}.legend-item{display:flex;align-items:center;gap:6px;color:#8ca2a7;font-size:8px;letter-spacing:.04em}.legend-item i{width:7px;height:7px;border-radius:50%;display:block}.legend-lava{background:#ff8c55;box-shadow:0 0 8px #ff8c55}.legend-wave{background:#6ddcc5;box-shadow:0 0 8px #6ddcc5}.legend-rock{background:#8a9390}.scene-bottom-right{position:absolute;z-index:2;right:16px;bottom:14px;pointer-events:none}.orbit-hint{display:flex;align-items:center;gap:6px;color:#6f878d;font-size:8px;letter-spacing:.1em;font-weight:750}.orbit-hint svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.6}.orbit-hint b{color:#3f555c}.under-scene{border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#0d1a23,#0a151d);padding:10px 14px 8px;min-height:91px}.under-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.under-title .section-kicker{color:#7d9a9f}.under-subtitle{font-size:9px;color:#6f858c}.seismo-wrap{height:56px;position:relative}.seismo-wrap svg{width:100%;height:50px;overflow:visible}.chart-grid{stroke:rgba(152,187,190,.13);stroke-width:1;fill:none;stroke-dasharray:2 4}.seismo-fill{fill:url(#traceGlow)}.seismo-path{fill:none;stroke:#71e0bd;stroke-width:1.6;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 3px rgba(113,224,189,.55))}.chart-axis{display:flex;justify-content:space-between;color:#526b72;font-size:7px;letter-spacing:.06em;margin-top:-1px}.control-panel{min-width:0;max-height:calc(100svh - 94px);border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,rgba(14,27,36,.98),rgba(10,20,28,.98));overflow:hidden}.panel-scroll{height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#28414a transparent}.panel-scroll::-webkit-scrollbar{width:5px}.panel-scroll::-webkit-scrollbar-thumb{background:#28414a;border-radius:5px}.panel-section{padding:16px 16px 15px;border-bottom:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:13px}.section-heading h2{font-size:13px;font-weight:650;letter-spacing:-.015em;margin:4px 0 0}.step-count{font-size:9px;letter-spacing:.12em;color:#66818a;font-weight:800}.step-count i{font-style:normal;color:#3e5962;padding:0 2px}.preset-grid{display:grid;grid-template-columns:1fr;gap:6px}.preset-button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:8px 10px;background:#101f29;border:1px solid rgba(177,207,215,.1);border-radius:8px;transition:border-color .18s,background .18s}.preset-button:hover{border-color:rgba(113,224,189,.35)}.preset-button.active{border-color:rgba(113,224,189,.48);background:linear-gradient(90deg,rgba(43,99,87,.23),rgba(16,31,41,.94))}.preset-button b{display:block;font-size:10px;font-weight:700}.preset-button small{display:block;font-size:8px;color:#7b9298;margin-top:2px}.preset-orb{width:23px;height:23px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.14);position:relative;overflow:hidden}.preset-orb:after{content:"";position:absolute;inset:5px;border-radius:50%;filter:blur(1px)}.orb-quiet{background:radial-gradient(circle at 40% 30%,#254f53,#0c1d26)}.orb-quiet:after{background:#6f9d96}.orb-resonant{background:radial-gradient(circle at 40% 30%,#76452f,#1d2930)}.orb-resonant:after{background:#ff9b60;box-shadow:0 0 9px #ff744c}.orb-bubbly{background:radial-gradient(circle at 40% 30%,#375d68,#111e29)}.orb-bubbly:after{background:#7ac4d4;box-shadow:0 0 8px #7ac4d4}.control-list{display:flex;flex-direction:column;gap:12px}.control-label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px}.control-label label{font-size:10px;color:#c5d3d4;font-weight:550}.control-label output{font-size:10px;color:var(--mint);font-weight:750;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:4px;display:block;appearance:none;background:linear-gradient(90deg,#4cae9a,#27434b);border-radius:8px;outline:none;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#d5fff0;border:2px solid #3c9c85;box-shadow:0 0 0 3px rgba(113,224,189,.12)}input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#d5fff0;border:2px solid #3c9c85;box-shadow:0 0 0 3px rgba(113,224,189,.12)}.range-ends{display:flex;justify-content:space-between;color:#526b73;font-size:8px;margin-top:5px;font-variant-numeric:tabular-nums}.readout-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.readout-card{min-height:79px;padding:10px 10px 8px;background:linear-gradient(145deg,#142630,#0f1d26);border:1px solid rgba(177,207,215,.1);border-radius:8px}.readout-name{display:block;font-size:7px;letter-spacing:.12em;color:#80999f;font-weight:800;white-space:nowrap}.readout-card>div{display:flex;align-items:baseline;gap:5px;margin:8px 0 4px}.readout-card strong{font-size:21px;letter-spacing:-.04em;font-weight:650;font-variant-numeric:tabular-nums}.readout-card small{font-size:9px;color:#7f999e}.data-tag{font-size:7px;letter-spacing:.1em;font-style:normal;font-weight:800}.data-tag.textbook{color:#7cc8d2}.data-tag.illustrative{color:#f1b27c}.data-tag.scaled{color:#8ddbbf}.validation-card{margin-top:9px;padding:11px 11px 9px;border:1px solid rgba(113,224,189,.18);border-radius:8px;background:linear-gradient(130deg,rgba(25,67,61,.22),rgba(13,27,34,.45))}.validation-head{display:flex;justify-content:space-between;align-items:center;color:#86a7a6;font-size:7px;letter-spacing:.13em;font-weight:850}.validation-ok{display:flex;align-items:center;gap:5px;color:var(--mint);font-size:7px}.validation-ok i{width:5px;height:5px}.validation-title{font-size:9px;color:#d1dfdf;margin:7px 0 9px}.validation-values{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}.validation-values small{display:block;color:#68848a;font-size:7px;letter-spacing:.1em;margin-bottom:3px}.validation-values b{font-size:11px;color:#d9e9e6;font-variant-numeric:tabular-nums}.validation-foot{font-size:7px;color:#69858b;margin-top:8px}.validation-foot span{padding:0 4px;color:#3e5961}.transport-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:6px}.primary-control,.transport-button{min-height:37px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;font-size:8px;font-weight:850;letter-spacing:.1em}.primary-control{background:linear-gradient(120deg,#63d6b2,#3cae9d);color:#071a1b;border:1px solid #6cddba}.primary-control svg{stroke:#09201d;width:14px;height:14px}.transport-button{background:#13242e;border:1px solid var(--line);color:#a9c0c3}.transport-button svg{width:13px;height:13px}.speed-row{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.speed-row label{font-size:9px;color:#8da5aa}.speed-row select{background:#12232c;border:1px solid var(--line-strong);border-radius:6px;padding:6px 8px;color:#c5d6d6;font-size:8px;letter-spacing:.06em}.export-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.secondary-button{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border-radius:7px;background:transparent;border:1px solid var(--line);color:#8ca5a9;font-size:8px;letter-spacing:.08em;font-weight:800}.secondary-button svg{width:13px;height:13px}.science-panel{border-bottom:1px solid var(--line)}.science-panel summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:14px 16px}.science-panel summary::-webkit-details-marker{display:none}.science-panel summary>span:first-child{display:flex;flex-direction:column;gap:4px}.science-panel summary b{font-size:12px;font-weight:650}.chevron{color:#76939a;font-size:18px;transition:transform .2s}.science-panel[open] .chevron{transform:rotate(180deg)}.science-content{padding:0 16px 16px}.science-intro{font-size:9px;line-height:1.6;color:#9db1b3;margin:0 0 11px}.equation-block{padding:9px 10px;border-radius:7px;background:#101f28;border:1px solid rgba(177,207,215,.09);margin:7px 0}.equation-block span{display:block;color:#7fa09f;font-size:7px;letter-spacing:.12em;font-weight:850;margin-bottom:7px}.equation-block code{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#d4e6df;font-size:10px;line-height:1.7;white-space:normal}.equation-block small{display:block;color:#7e969a;font-size:8px;line-height:1.5;margin-top:5px}.assumption-list{font-size:8px;line-height:1.6;color:#9db0b2;margin-top:12px}.assumption-list>b{font-size:7px;letter-spacing:.13em;color:#7e9b9d}.assumption-list ul{padding-left:15px;margin:6px 0}.assumption-list li{margin:3px 0}.source-note{border-top:1px solid var(--line);padding-top:10px;margin-top:10px;font-size:8px;line-height:1.55;color:#829a9f}.source-note b{font-size:7px;letter-spacing:.12em;color:#8ca9a8}.disclaimer{font-size:8px;color:#667e84;line-height:1.5;margin:10px 0 0}.panel-footer{padding:11px 16px;color:#526c73;font-size:7px;letter-spacing:.14em;font-weight:800}.panel-footer span{padding:0 5px;color:#344c54}.context-overlay{position:absolute;inset:0;z-index:10;background:rgba(4,10,14,.86);display:grid;place-items:center;backdrop-filter:blur(5px)}.context-overlay[hidden]{display:none}.context-card{display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center;padding:24px;border:1px solid var(--line-strong);border-radius:12px;background:#10212b;max-width:260px}.context-icon{font-size:25px;color:var(--amber)}.context-card strong{font-size:13px}.context-card span{font-size:9px;color:#92a8ac;line-height:1.5}.context-card button{margin-top:4px;background:#1e4e48;color:#baf5df;border:1px solid #3d8e7b;border-radius:6px;padding:8px 13px;font-size:8px;letter-spacing:.1em;font-weight:800}.toast{position:absolute;z-index:12;left:50%;bottom:54px;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:rgba(8,19,25,.92);border:1px solid rgba(113,224,189,.28);color:#bde9d8;padding:8px 12px;border-radius:7px;font-size:9px;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:9px;padding:9px}.panel-section{padding:13px}.control-panel{max-height:calc(100svh - 86px)}.scene-frame{height:calc(100svh - 190px)}}
@media(max-width:760px){.topbar{height:60px;padding:0 13px}.brand-mark{width:27px;height:27px}.eyebrow{font-size:8px}.brand-lockup h1{font-size:12px}.live-indicator{font-size:8px;margin-right:2px}.top-actions{gap:6px}.icon-button{width:31px;height:31px}.workspace{display:flex;flex-direction:column;padding:8px;gap:8px;min-height:calc(100svh - 60px)}.visual-column{gap:8px}.scene-frame{height:clamp(330px,104vw,450px);min-height:330px;max-height:450px;border-radius:11px}.scene-topline{top:10px;left:10px;right:10px}.scene-tag{font-size:7px;padding:7px 8px}.scene-scale{display:none}.micro-button{font-size:7px;padding:6px 7px}.scene-bottom-left{left:10px;bottom:10px;gap:8px}.legend-item{font-size:7px}.scene-bottom-right{right:10px;bottom:10px}.orbit-hint{font-size:7px}.under-scene{padding:9px 11px 7px;min-height:86px}.under-title .section-kicker{font-size:8px}.under-subtitle{font-size:8px}.control-panel{max-height:none;overflow:visible;border-radius:11px}.panel-scroll{height:auto;overflow:visible}.panel-section{padding:14px 13px}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.preset-button{flex-direction:column;align-items:flex-start;gap:6px;padding:8px 7px;min-height:67px}.preset-button b{font-size:8px;line-height:1.2}.preset-button small{font-size:7px}.preset-orb{width:19px;height:19px}.control-list{display:grid;grid-template-columns:1fr 1fr;column-gap:13px;row-gap:13px}.control-label label{font-size:9px}.control-label output{font-size:9px}.range-ends{font-size:7px}.readout-card{min-height:75px;padding:9px}.readout-card strong{font-size:20px}.validation-values b{font-size:10px}.science-panel summary{padding:13px}.science-content{padding:0 13px 14px}.panel-footer{padding:10px 13px}.world-label{font-size:7px}.label-station{display:none}}
@media(max-width:380px){.brand-lockup h1{font-size:11px}.topbar{padding:0 9px}.top-actions{gap:4px}.live-indicator{display:none}.scene-frame{height:335px}.control-list{grid-template-columns:1fr}.preset-button{min-height:62px}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
.embed .topbar{display:none}.embed .workspace{min-height:100svh;padding:0;gap:0}.embed .scene-frame{border-radius:0;min-height:380px;height:calc(100svh - 100px)}.embed .control-panel{max-height:none;border-radius:0}
