:root{color-scheme:dark;--bg:#080d14;--panel:#0d141e;--panel2:#111b27;--line:rgba(157,184,209,.13);--line2:rgba(157,184,209,.22);--text:#e9f1f8;--muted:#8191a2;--dim:#536475;--cyan:#66d5e8;--cyan2:#2e9fb7;--amber:#ffb76b;--orange:#ff794c;--green:#70d6a3;--danger:#ff785f;--radius:12px;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{background:var(--bg);scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 36% -20%,rgba(42,79,103,.19),transparent 52%),var(--bg);color:var(--text);font-size:13px;line-height:1.45;min-width:320px}button,input{font:inherit}button{color:inherit}.app-shell{max-width:1800px;margin:0 auto;padding:0 22px 16px}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand-lockup,.topbar-right,.live-indicator{display:flex;align-items:center}.brand-lockup{gap:12px}.brand-mark{width:30px;height:30px;border:1px solid rgba(102,213,232,.5);border-radius:9px;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:6px;background:linear-gradient(145deg,rgba(102,213,232,.14),rgba(102,213,232,.015))}.brand-mark span{display:block;width:3px;border-radius:4px;background:var(--cyan);box-shadow:0 0 9px rgba(102,213,232,.55)}.brand-mark span:nth-child(1){height:7px}.brand-mark span:nth-child(2){height:14px}.brand-mark span:nth-child(3){height:10px}.brand-name{font-size:11px;font-weight:800;letter-spacing:.15em}.brand-name span{color:#708496;font-weight:600;letter-spacing:.11em;margin-left:6px}.brand-subtitle{font-size:9px;color:#66788a;letter-spacing:.19em;margin-top:2px}.topbar-right{gap:20px}.live-indicator{gap:7px;font-size:9px;letter-spacing:.15em;color:#9bb0bd}.live-indicator i,.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 11px rgba(112,214,163,.7)}.seed-label{font-size:9px;letter-spacing:.13em;color:#6e8192}.seed-label strong{color:#b7c7d4;font-size:10px;margin-left:5px}.icon-button,.scene-icon-button{border:1px solid var(--line2);background:rgba(11,19,29,.65);border-radius:8px;width:30px;height:30px;cursor:pointer;color:#a9bbc8;transition:.2s}.icon-button:hover,.scene-icon-button:hover{border-color:var(--cyan);color:var(--cyan);background:rgba(102,213,232,.08)}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:16px;padding-top:16px;align-items:start}.stage-column{min-width:0}.stage-frame{position:relative;height:clamp(520px,calc(100vh - 255px),760px);min-height:520px;overflow:hidden;border:1px solid rgba(127,158,183,.19);border-radius:14px;background:radial-gradient(ellipse at 48% 45%,#162536 0%,#0a131e 58%,#080e16 100%);isolation:isolate}.scene-host{position:absolute;inset:0;z-index:0}.scene-host canvas{display:block;width:100%;height:100%;outline:none}.stage-vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(5,10,17,.48),transparent 23%,transparent 66%,rgba(5,10,17,.68)),linear-gradient(90deg,rgba(5,10,17,.17),transparent 28%,transparent 78%,rgba(5,10,17,.1))}.scene-topline{position:absolute;z-index:2;top:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:.18em;font-weight:700;color:#80a2b7}.eyebrow-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--orange);margin-right:7px;vertical-align:1px;box-shadow:0 0 9px rgba(255,121,76,.7)}.scene-title-block h1{font-size:clamp(26px,3.2vw,42px);line-height:1.05;letter-spacing:-.045em;margin:10px 0 7px;font-weight:700}.scene-title-block h1 em{font-style:normal;color:var(--amber)}.scene-title-block p{font-size:11px;color:#9aabb9;margin:0;letter-spacing:.015em}.stage-status{display:flex;align-items:center;gap:8px;border:1px solid rgba(123,168,178,.24);background:rgba(7,15,23,.68);border-radius:20px;padding:7px 11px;color:#9ab8c4;font-size:8px;letter-spacing:.14em;backdrop-filter:blur(8px)}.status-dot{width:5px;height:5px}.annotation{position:absolute;z-index:3;display:flex;align-items:center;gap:7px;color:#c2d2df;font-size:8px;font-weight:700;letter-spacing:.14em;text-shadow:0 1px 5px #07111b;pointer-events:none;white-space:nowrap}.annotation i{display:block;width:5px;height:5px;border-radius:50%;background:var(--cyan);box-shadow:0 0 9px var(--cyan)}.annotation-plume{top:33%;right:16%}.annotation-charge{top:57%;right:7%}.annotation-charge i{background:var(--amber);box-shadow:0 0 9px var(--amber)}.annotation-vent{bottom:23%;left:43%}.annotation-vent i{background:var(--orange);box-shadow:0 0 9px var(--orange)}.scene-bottom-left{position:absolute;z-index:3;left:22px;bottom:18px;display:flex;flex-direction:column;gap:7px}.scene-key{font-size:8px;color:#8ea1b0;letter-spacing:.12em;display:flex;align-items:center;gap:8px;text-shadow:0 1px 4px #000}.key-swatch{width:15px;height:2px;border-radius:2px;display:inline-block}.key-positive{background:#ffb76b;box-shadow:0 0 8px #ffb76b}.key-negative{background:#5dd4ec;box-shadow:0 0 8px #5dd4ec}.key-field{background:#a9d7e6;box-shadow:0 0 8px #a9d7e6}.scene-bottom-right{position:absolute;z-index:3;right:18px;bottom:17px;display:flex;align-items:center;gap:8px}.camera-hint{font-size:8px;color:#8195a6;letter-spacing:.1em;margin-right:5px}.camera-hint b{color:#4d6578;margin:0 4px}.mouse-icon{font-size:13px;color:#a5b7c5;margin-right:4px}.scene-icon-button{width:32px;height:32px;font-size:18px;background:rgba(8,15,23,.72);backdrop-filter:blur(7px)}.context-notice{position:absolute;z-index:6;inset:40% 20%;padding:20px;border:1px solid rgba(255,120,95,.3);border-radius:12px;background:rgba(12,19,28,.94);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px;color:#ffd1c8}.context-notice[hidden],.shortcuts-popover[hidden]{display:none}.context-notice span{font-size:11px;color:#9eabb7}.shortcuts-popover{position:absolute;z-index:8;top:68px;right:20px;width:235px;border:1px solid var(--line2);border-radius:12px;background:rgba(12,20,30,.97);box-shadow:0 14px 40px rgba(0,0,0,.4);padding:12px 14px;backdrop-filter:blur(16px)}.popover-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.popover-head button{background:none;border:0;color:#9db1c0;font-size:20px;cursor:pointer}.shortcuts-popover>div:not(.popover-head){display:flex;align-items:center;gap:12px;padding:5px 0;color:#a5b4c0;font-size:10px}.shortcuts-popover kbd{min-width:26px;padding:3px 5px;text-align:center;border:1px solid var(--line2);border-radius:5px;color:#e2edf5;background:#172331;font-size:10px}
.telemetry-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:linear-gradient(180deg,rgba(15,24,35,.93),rgba(10,16,24,.96));overflow:hidden}.telemetry-cell{padding:14px 16px 12px;min-width:0;border-right:1px solid var(--line)}.telemetry-cell:last-child{border-right:0}.telemetry-label{font-size:8px;color:#8b9eae;letter-spacing:.12em;font-weight:700;white-space:nowrap;display:flex;align-items:center;gap:6px}.tag-illustrative,.tag-textbook{font-size:7px;letter-spacing:.08em;padding:2px 4px;border-radius:3px;font-weight:800;white-space:nowrap}.tag-illustrative{color:#e7b986;background:rgba(208,137,75,.12);border:1px solid rgba(208,137,75,.22)}.tag-textbook{color:#86d4c4;background:rgba(85,180,157,.1);border:1px solid rgba(85,180,157,.2)}.telemetry-value{font-size:25px;line-height:1.2;letter-spacing:-.04em;font-weight:650;margin:8px 0 5px;font-variant-numeric:tabular-nums}.telemetry-value small{font-size:10px;color:#90a2b2;letter-spacing:0;font-weight:500;margin-left:5px}.telemetry-sub{font-size:9px;color:#65788a}.telemetry-track{height:3px;border-radius:3px;background:#1b2a38;overflow:hidden;margin-top:10px}.telemetry-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#54b9cf,#ffb76b);transition:width .25s}.timeline-row{height:48px;display:grid;grid-template-columns:120px minmax(0,1fr) 120px;align-items:center;gap:14px;padding:0 10px}.timeline-meta{display:flex;flex-direction:column;gap:1px}.timeline-meta span{font-size:7px;color:#718495;letter-spacing:.14em;font-weight:700}.timeline-meta strong{font-size:11px;font-weight:650;font-variant-numeric:tabular-nums}.timeline-right{text-align:right;align-items:flex-end}.timeline-bar{height:3px;background:#1b2936;border-radius:4px;position:relative}.timeline-bar span{display:block;height:100%;width:10%;background:linear-gradient(90deg,#4b9bb1,#ffb76b);border-radius:4px;transition:width .2s}.timeline-bar i{position:absolute;top:50%;left:10%;width:6px;height:6px;border-radius:50%;background:#e5b77e;transform:translate(-50%,-50%);box-shadow:0 0 8px rgba(255,183,107,.65)}
.control-panel{border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,rgba(16,25,36,.98),rgba(11,18,27,.98));padding:18px 18px 14px;min-width:0;max-height:calc(100vh - 100px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#304252 transparent}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line)}.panel-heading h2{font-size:18px;letter-spacing:-.025em;margin:4px 0 0}.panel-index{font-size:25px;font-weight:700;letter-spacing:-.06em;color:#d6e3eb}.panel-index span{font-size:10px;color:#6d8090;letter-spacing:0;margin-left:2px}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:8px;font-weight:800;color:#9fb0bd;letter-spacing:.14em;margin-bottom:10px}.micro-note{font-size:7px;color:#5f7385;font-weight:600;letter-spacing:.11em}.preset-section{padding:15px 0 16px;border-bottom:1px solid var(--line)}.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;border:1px solid var(--line);border-radius:8px;background:rgba(19,31,44,.62);cursor:pointer;transition:border-color .18s,background .18s}.preset-button:hover{border-color:rgba(102,213,232,.35)}.preset-button.selected{border-color:rgba(102,213,232,.55);background:linear-gradient(90deg,rgba(57,131,148,.15),rgba(20,32,45,.75))}.preset-icon{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;font-size:16px;flex:none}.dry-icon{color:#ffb76b;background:rgba(255,183,107,.1)}.moist-icon{color:#6fd2e4;background:rgba(102,213,232,.1)}.high-icon{color:#a6b7f0;background:rgba(135,151,219,.12)}.preset-button strong{font-size:10px;font-weight:700;display:block}.preset-button small{display:block;font-size:8px;color:#75889a;margin-top:1px}.controls-section{padding:15px 0 5px}.control-item{margin:0 0 12px}.control-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px}.control-label label{font-size:10px;color:#c2d0da;font-weight:550}.control-label output{font-size:9px;color:#8ed5e1;font-variant-numeric:tabular-nums}.range-ends{display:flex;justify-content:space-between;color:#5d7182;font-size:7px;margin-top:2px}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:4px;border-radius:5px;background:linear-gradient(90deg,#357f94 0%,#244150 100%);outline:none;display:block;margin:0;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#c5edf0;border:2px solid #1d6273;box-shadow:0 0 0 3px rgba(102,213,232,.11);cursor:grab}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#c5edf0;border:2px solid #1d6273;box-shadow:0 0 0 3px rgba(102,213,232,.11);cursor:grab}.two-col-control{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-col-control .control-label{align-items:flex-start;flex-direction:column;gap:1px}.two-col-control .control-label output{font-size:8px}.two-col-control .range-ends{font-size:7px}.panel-footer-controls{border-top:1px solid var(--line);padding-top:13px}.transport-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:6px}.transport-button{height:34px;border:1px solid var(--line2);border-radius:7px;background:rgba(20,32,45,.75);font-size:8px;font-weight:800;letter-spacing:.1em;cursor:pointer;transition:.18s}.transport-button:hover{border-color:rgba(102,213,232,.45);background:rgba(48,83,101,.3)}.transport-button span:last-child{font-size:15px;vertical-align:-1px;margin-left:3px;color:#a5bbc7}.transport-button.primary{background:linear-gradient(100deg,#276f81,#24596b);border-color:#377f90;color:#f0fbfc}.transport-button.primary:hover{background:linear-gradient(100deg,#31869a,#286a7d)}.transport-button.primary span:first-child{font-size:11px;margin-right:6px}.speed-row{padding:12px 0 10px;border-bottom:1px solid var(--line)}.speed-row>label,.quality-row>span{font-size:8px;font-weight:800;letter-spacing:.13em;color:#8fa2b1}.speed-control{display:flex;align-items:center;gap:12px;margin-top:6px}.speed-control output{font-size:10px;color:#b7dce3;min-width:32px;text-align:right}.quality-row{display:flex;align-items:center;justify-content:space-between;padding-top:10px}.segmented-control{display:flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:7px;background:#0a121b}.quality-button{border:0;background:transparent;color:#728596;border-radius:4px;padding:4px 9px;font-size:7px;font-weight:800;letter-spacing:.1em;cursor:pointer}.quality-button.selected{color:#c5e6eb;background:#234451}
.science-section{margin-top:15px;border:1px solid var(--line);border-radius:12px;background:rgba(13,21,31,.9);overflow:hidden}.science-section details>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px 17px;cursor:pointer}.science-section details>summary::-webkit-details-marker{display:none}.science-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(102,213,232,.25);border-radius:8px;background:rgba(102,213,232,.07);color:var(--cyan);font-size:16px}.science-section summary strong{font-size:11px;display:block}.science-section summary small{font-size:9px;color:#718597;display:block;margin-top:2px}.summary-meta{margin-left:auto;color:#728697;font-size:8px;letter-spacing:.13em}.summary-meta b{font-size:15px;color:#9bb1c0;margin-left:8px}.science-section details[open] .summary-meta b{display:inline-block;transform:rotate(45deg)}.science-content{padding:5px 18px 18px;border-top:1px solid var(--line)}.science-intro{padding:14px 0 16px}.science-kicker{font-size:8px;letter-spacing:.16em;color:var(--cyan);font-weight:800}.science-intro h3{font-size:17px;letter-spacing:-.025em;margin:5px 0}.science-intro p{max-width:920px;color:#95a6b5;font-size:10px;margin:0;line-height:1.65}.equation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.equation-grid article{border:1px solid var(--line);border-radius:8px;padding:12px;background:rgba(19,30,42,.55)}.equation-number{font-size:7px;letter-spacing:.13em;color:#688497;font-weight:800}.equation-grid h4{font-size:10px;margin:5px 0 9px}.equation{font-family:Georgia,serif;font-size:14px;color:#d4e5eb;white-space:nowrap;letter-spacing:-.02em;min-height:26px}.equation sub{font-size:9px}.equation-grid p{font-size:9px;color:#7f92a2;line-height:1.6;margin:8px 0 0}.equation-grid p b{color:#b8cbd6;font-weight:600}.science-footnotes{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:16px;border-top:1px solid var(--line);margin-top:14px;padding-top:13px}.science-footnotes strong{font-size:8px;color:#9bb0bf;letter-spacing:.13em}.science-footnotes p{font-size:9px;color:#75899a;line-height:1.6;margin:5px 0 0}.science-footnotes .tag-textbook,.science-footnotes .tag-illustrative{display:inline-block;margin-right:3px}.site-footer{display:flex;justify-content:space-between;gap:12px;padding:13px 2px 2px;color:#4f6375;font-size:7px;letter-spacing:.12em}.site-footer span:nth-child(2){letter-spacing:.02em;text-align:center}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button:focus:not(:focus-visible),input:focus:not(:focus-visible){outline:none}.embed .app-shell{padding:0 10px 10px}.embed .topbar,.embed .site-footer{display:none}.embed .workspace{padding-top:0;grid-template-columns:minmax(0,1fr) 340px}.embed .stage-frame{height:calc(100vh - 185px);min-height:360px}.embed .science-section{margin-top:8px}
@media(max-width:1120px){.app-shell{padding:0 14px 14px}.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:12px}.control-panel{padding:15px 14px}.telemetry-cell{padding:12px 10px}.telemetry-label{font-size:7px}.telemetry-value{font-size:22px}.equation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.science-footnotes{grid-template-columns:1fr 1fr}.science-footnotes>div:last-child{grid-column:1/-1}}
@media(max-width:820px){.workspace{grid-template-columns:minmax(0,1fr)}.stage-frame{height:58vh;min-height:430px;max-height:650px}.control-panel{max-height:none;overflow:visible}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preset-button{align-items:flex-start;flex-direction:column;gap:5px;min-height:76px}.preset-button strong{font-size:9px}.preset-button small{font-size:7px}.controls-section{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.controls-section>.section-label{grid-column:1/-1}.control-item{margin-bottom:13px}.two-col-control{grid-column:1/-1}.panel-footer-controls{margin-top:0}.science-section{margin-top:12px}.embed .workspace{grid-template-columns:1fr}.embed .stage-frame{height:52vh}.embed .control-panel{max-height:none}}
@media(max-width:520px){.app-shell{padding:0 8px 10px}.topbar{height:54px}.brand-mark{width:26px;height:26px}.brand-name{font-size:9px}.brand-name span{font-size:8px}.brand-subtitle{font-size:7px}.topbar-right{gap:9px}.live-indicator{font-size:7px}.seed-label{font-size:7px}.icon-button{width:26px;height:26px}.workspace{padding-top:8px;gap:9px}.stage-frame{height:52vh;min-height:390px;border-radius:10px}.scene-topline{top:15px;left:14px;right:12px}.scene-title-block h1{font-size:27px;margin:7px 0 5px}.scene-title-block p{font-size:9px;max-width:230px}.eyebrow{font-size:7px}.stage-status{font-size:6px;padding:6px 8px;gap:5px}.annotation{font-size:6px}.annotation-plume{right:8%;top:36%}.annotation-charge{right:3%;top:58%}.annotation-vent{left:34%;bottom:22%}.scene-bottom-left{left:12px;bottom:13px;gap:5px}.scene-key{font-size:6px}.scene-bottom-right{right:10px;bottom:10px;gap:5px}.camera-hint{display:none}.scene-icon-button{width:29px;height:29px}.telemetry-strip{grid-template-columns:1fr 1fr;border-radius:0 0 9px 9px}.telemetry-cell{padding:9px 10px;border-bottom:1px solid var(--line)}.telemetry-cell:nth-child(2){border-right:0}.telemetry-cell:nth-child(3),.telemetry-cell:nth-child(4){border-bottom:0}.telemetry-label{font-size:6px;letter-spacing:.09em;white-space:normal;min-height:13px;gap:4px}.tag-illustrative,.tag-textbook{font-size:6px}.telemetry-value{font-size:22px;margin:5px 0 3px}.telemetry-value small{font-size:8px}.telemetry-sub{font-size:7px}.telemetry-track{margin-top:7px}.timeline-row{grid-template-columns:82px minmax(0,1fr) 82px;gap:8px;height:43px;padding:0 4px}.timeline-meta span{font-size:6px}.timeline-meta strong{font-size:9px}.control-panel{padding:13px 12px;border-radius:10px}.panel-heading{padding-bottom:12px}.panel-heading h2{font-size:16px}.panel-index{font-size:22px}.preset-section{padding:12px 0}.preset-button{padding:7px 6px;min-height:74px}.preset-icon{width:24px;height:24px}.preset-button strong{font-size:8px}.preset-button small{font-size:6px}.section-label{font-size:7px}.micro-note{font-size:6px}.controls-section{column-gap:12px}.control-label label{font-size:9px}.control-label output{font-size:8px}.range-ends{font-size:6px}.control-item{margin-bottom:12px}.transport-button{height:33px;font-size:7px}.science-section summary{padding:11px 12px}.science-content{padding:4px 12px 13px}.science-intro h3{font-size:15px}.science-intro p{font-size:9px}.equation-grid{grid-template-columns:1fr;gap:7px}.equation-grid article{padding:10px}.equation-grid p{font-size:8px}.science-footnotes{grid-template-columns:1fr;gap:10px}.science-footnotes>div:last-child{grid-column:auto}.site-footer{font-size:6px;flex-wrap:wrap;justify-content:center}.site-footer span:nth-child(2){order:3;width:100%}.embed .stage-frame{height:49vh;min-height:340px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
