:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#ebf0f8;background:#07101d;--bg:#07101d;--panel:#0d1929;--line:#24374a;--text:#e7edf6;--muted:#94a7bb;--gold:#f6b986;--cyan:#65ded7;--rose:#ee92a4;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 60% 26% at 80% -4%,#123144 0,transparent 82%),#07101d}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}a{color:inherit;text-decoration:none}button{transition:background .16s,border-color .16s,transform .16s}button:hover{border-color:#63879a!important}button:active{transform:translateY(1px)}.app{max-width:1800px;padding:0 23px;margin:auto}.topbar{height:82px;display:flex;align-items:center;gap:22px;border-bottom:1px solid #244051}.identity{display:flex;align-items:center;gap:13px;white-space:nowrap}.identity strong{font-size:20px;letter-spacing:.26em;font-weight:760}.identity small{display:block;font-size:9px;letter-spacing:.22em;color:#a9b4c4;margin-top:5px}.logo-mark{height:38px;width:39px;display:flex;align-items:center;gap:3px;justify-content:center;border:1px solid #a77463;border-radius:11px;transform:rotate(-5deg);background:linear-gradient(130deg,#b48a6e25,#5a8f9222)}.logo-mark span{display:block;width:4px;height:15px;border-radius:4px;background:var(--gold)}.logo-mark span:nth-child(2){height:28px;background:var(--cyan)}.logo-mark span:nth-child(3){height:20px}.header-meta{display:flex;align-items:center;gap:10px;margin-left:auto}.tag{border:1px solid #2b3e52;color:#b7c7d5;padding:8px 11px;font-size:10px;letter-spacing:.1em;border-radius:5px}.tag.accent{color:#f4bf97;background:#ba825a0c}.status-dot{font-size:10px;letter-spacing:.1em;color:#7f91a4;border-left:1px solid #2a4558;padding-left:13px}.ghost,.primary{border:1px solid #30495d;border-radius:7px;min-height:35px;color:#dce7f1;background:#152537;padding:8px 11px;font-size:12px;font-weight:650;white-space:nowrap}.ghost:hover{background:#1d3449}.primary{color:#142131;background:#eab38a;border-color:#eab38a}.primary:hover{background:#ffc69b}.small{font-size:11px}.intro{padding:35px 9px 29px;display:flex;align-items:flex-end;gap:25px;justify-content:space-between}.intro h1{font-size:clamp(27px,3vw,45px);letter-spacing:-.065em;margin:8px 0 10px;font-weight:660;line-height:1.12}.intro p{color:#aebed0;font-size:13.5px;max-width:770px;margin:0;line-height:1.7}.eyebrow{font-size:9px;letter-spacing:.21em;font-weight:780;color:#edb891}.sep{color:#5f7585;padding:0 4px}.intro-metric{flex-shrink:0;align-self:center;border-left:1px solid #345066;padding:4px 0 4px 21px;display:flex;flex-direction:column;gap:7px}.intro-metric small{font-size:9px;letter-spacing:.15em;color:#7596ab}.intro-metric code{font-size:13px;color:#b4d3d7}.intro-metric span{font-size:11px;color:#849aac}.modes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:12px}.mode{min-width:0;text-align:left;color:#c5d3df;border:1px solid #243b4e;background:#0e1a2b;border-radius:10px;padding:14px 15px;display:flex;flex-direction:column;gap:6px}.mode.active{border-color:#a77b62;background:linear-gradient(135deg,#28283b,#172638);box-shadow:inset 0 1px #bb9b7640}.mode>span{display:flex;justify-content:space-between;font-size:10px;color:#8ba0b1;letter-spacing:.15em}.mode>span b{font-size:16px;color:var(--gold);font-weight:400}.mode strong{font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mode small{font-size:11px;color:#8da0b3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main-grid{display:grid;grid-template-columns:minmax(250px,292px) minmax(380px,1fr) minmax(248px,285px);gap:12px;align-items:stretch}.card{border-radius:12px;border:1px solid #233b4e;background:linear-gradient(145deg,#111f31,#0b1727 88%);min-width:0}.control-panel,.data-panel{padding:19px;min-height:735px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-heading.compact{align-items:center}.panel-heading h2,.chart-heading h2{font-size:18px;letter-spacing:-.035em;font-weight:675;margin:8px 0}.heading-index{font-size:38px;color:#253c4e;font-weight:780;letter-spacing:-.06em}.mode-desc{font-size:12px;color:#a4b6c8;line-height:1.6;min-height:58px;margin:13px 0}.button-line{display:flex;flex-wrap:wrap;gap:5px}.button-line button{flex:1}.section-label{border-top:1px solid #243a50;margin:20px 0 14px;padding-top:14px;font-size:9px;letter-spacing:.18em;color:#d1b38e;font-weight:740}.control{display:block;margin:0 0 15px}.control label,.control>label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#b4c2d1;font-size:11px;margin-bottom:6px}.control output{color:#f2c29c;font-family:ui-monospace,monospace;font-size:10px;white-space:nowrap}input[type=range]{width:100%;margin:2px 0 0;height:4px;accent-color:#e8aa80;cursor:pointer}select{width:100%;border-radius:6px;background:#0b1727;border:1px solid #365168;padding:8px;color:#e2e9f1;font-size:12px}.checkbox{display:flex;align-items:center;gap:8px;font-size:11px;color:#becdd9;margin:9px 0 15px}.checkbox input{accent-color:#df9f78}.helper,.small-txt{color:#859cae;font-size:11px;line-height:1.65}.helper{margin-top:18px;border-left:2px solid #b98768;padding-left:10px}kbd{border:1px solid #4b5b6b;background:#1a2a3c;border-radius:3px;padding:1px 4px;color:#e9e3da}.stage-col{display:flex;flex-direction:column;gap:12px;min-width:0}.stage{position:relative;min-height:535px;flex:1;overflow:hidden;background:radial-gradient(ellipse at 50% 43%,#102c42,#081423 68%)}.stage canvas{position:absolute;inset:42px 0 30px;width:100%;height:calc(100% - 72px);touch-action:none;cursor:grab;display:block}.stage canvas:active{cursor:grabbing}.stage-top{height:42px;position:absolute;inset:0 0 auto 0;border-bottom:1px solid #355062a1;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#0c1928ad;z-index:1;font-size:10px;letter-spacing:.12em;color:#cad4df}.stage-top>div,.stage-top-right{display:flex;align-items:center;gap:9px}.live-dot{width:7px;height:7px;border-radius:50%;background:#6bd5c8;box-shadow:0 0 9px #5acec5}.stage-note{font-size:9px;color:#7e9dab}.stage-top-right{color:#819aaf;white-space:nowrap}.stage-top button{border:0;background:transparent;color:#d7e9f0;font-size:21px;padding:3px 7px}.stage-overlay-left{position:absolute;bottom:49px;left:17px;pointer-events:none;max-width:65%}.axis-key{font-size:10px;letter-spacing:.1em;color:#c9d4df;display:flex;align-items:center;gap:5px}.axis-key i{display:inline-block;width:11px;height:2px;margin-left:7px}.axis-x{background:#edaa7b}.axis-y{background:#70dccc}.axis-z{background:#de93b3}#stageCaption{font-size:9px;color:#8eabbf;line-height:1.5;margin-top:9px}.stage-overlay-right{position:absolute;right:15px;top:64px;pointer-events:none;text-align:right;background:#0c1b2dbb;border:1px solid #344d5a9c;padding:9px 12px;border-radius:8px}.stage-overlay-right small{font-size:9px;letter-spacing:.12em;color:#91a8ba;display:block}.stage-overlay-right strong{display:block;font-size:28px;font-weight:480;letter-spacing:-.05em;color:#f1cb9d;line-height:1.5}.stage-overlay-right strong span{font-size:11px;letter-spacing:0}.stage-footer{position:absolute;inset:auto 0 0 0;height:30px;background:#0b1b2b;border-top:1px solid #2e4558;display:flex;justify-content:space-between;align-items:center;padding:0 13px;gap:7px;font-size:9px;letter-spacing:.1em;color:#7690a5}.instruments{padding:15px}.instruments h2{margin-top:5px}.readout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:13px}.readout-grid>div{padding:10px 8px;border-radius:6px;background:#0a1728;border:1px solid #233b4b;min-width:0}.readout-grid small{display:block;font-size:9px;color:#8eacc0;min-height:25px}.readout-grid strong{display:inline-block;font-size:23px;font-weight:570;letter-spacing:-.04em;color:#eef1f4;margin-top:4px}.readout-grid span{color:#b99c88;font-size:9px;margin-left:3px}.energy-row{border-top:1px solid #2b4255;margin-top:12px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:9px}.energy-row b{display:block;font-size:9px;letter-spacing:.11em;color:#d0b28f}.energy-row small{display:block;font-size:9px;color:#7e9ab0;margin-top:4px}.energy-row strong{font-size:15px;color:#d2e9eb;font-family:ui-monospace,monospace}.notebook-count{font:20px ui-monospace,monospace;color:#f6ba92}.notebook-actions{display:flex;gap:7px;margin:16px 0}.notes{max-height:295px;overflow:auto;display:flex;flex-direction:column;gap:8px}.empty-note{font-size:11px;color:#7e95ab;padding:24px 12px;text-align:center;border:1px dashed #3a4a5d;border-radius:9px;line-height:1.6}.note{padding:11px;border:1px solid #30485a;background:#101f30;border-radius:8px;font-size:10px;color:#aac0d0}.note b{display:block;color:#edc09e;font-size:11px;margin-bottom:6px}.note div{display:flex;justify-content:space-between;margin-top:4px}.note strong{color:#e4f2f5;font-weight:500}.divider{height:1px;background:#2d4254;margin:19px 0}.meter-list{margin-top:12px}.meter-list>div{display:flex;justify-content:space-between;gap:9px;margin-bottom:12px;font-size:11px;color:#a4b9c9}.meter-list strong{font-size:11px;color:#e2eaf1;font-family:ui-monospace,monospace;font-weight:550;text-align:right}.scientific-caution{background:#222335;border-left:2px solid #c99a72;padding:12px;font-size:11px;line-height:1.6;color:#d2b7a0;margin-top:21px;border-radius:0 7px 7px 0}.charts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.chart{padding:17px 19px 10px}.chart-heading{display:flex;justify-content:space-between;align-items:center}.chart-heading h2{font-size:17px}.segmented{display:flex;padding:3px;border:1px solid #344759;border-radius:7px;gap:3px;background:#091424}.segmented button{padding:5px 10px;border:0;border-radius:4px;background:transparent;color:#a2b7c8;font-size:10px}.segmented button.selected{background:#365061;color:#f2fcff}.chart canvas{width:100%;height:198px;display:block;cursor:crosshair;touch-action:manipulation}.chart-tip{font-size:10px;color:#8aa1b4;margin:6px 0 2px;line-height:1.6}.learning{margin-top:12px;padding:0 23px 25px}.learning-tabs{display:flex;align-items:center;gap:0;border-bottom:1px solid #304659;overflow-x:auto}.learning-tabs button{padding:17px 20px;background:transparent;border:0;border-bottom:2px solid transparent;color:#9eb2c2;font-weight:650;font-size:12px;white-space:nowrap}.learning-tabs button.selected{border-bottom-color:#f1b98e;color:#f4dac2}.learn-pane{padding-top:22px}.learn-pane.hidden{display:none}.learning-heading{display:flex;justify-content:space-between;align-items:center;gap:30px}.learning-heading h2{font-size:27px;letter-spacing:-.05em;margin:7px 0}.learning-heading p{max-width:750px;color:#9eafc1;font-size:12px;line-height:1.6}.challenge-controls{display:flex;gap:8px;align-items:center}.challenge-controls label{font-size:11px;color:#91a8bc}.challenge-controls select{width:140px}.challenge-progress{height:4px;background:#203449;border-radius:10px;overflow:hidden;margin:15px 0 19px}.challenge-progress>div{height:100%;background:linear-gradient(90deg,#51cec8,#f0b284);width:0;transition:width .2s}.challenge-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.challenge{border:1px solid #2a4256;border-radius:9px;padding:16px;background:#0a1726}.challenge.solved{border-color:#376d6b}.challenge-top{display:flex;justify-content:space-between;gap:10px;color:#e5ba93;font-size:9px;letter-spacing:.15em}.challenge h3{font-size:15px;margin:8px 0;color:#edf4f9}.challenge p{font-size:12px;line-height:1.58;color:#a9baca;min-height:44px;margin:0 0 12px}.challenge-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.challenge-actions input,.challenge-actions select{background:#101f2f;border:1px solid #3d5568;color:#dce9f1;min-height:34px;border-radius:6px;padding:6px 8px;font-size:12px;flex:1;min-width:100px}.challenge-actions button{min-height:34px}.challenge-detail{margin-top:10px;font-size:11px;color:#d7b99b;line-height:1.65}.challenge-detail.good{color:#78ddd0}.guide-content{max-width:1000px;margin:auto;padding:12px 6px 30px}.guide-content h2{font-size:33px;letter-spacing:-.05em}.guide-content h3,.methods-grid h3{font-size:17px;color:#e9b893;margin:29px 0 9px}.guide-content p,.methods-grid p{font-size:13px;line-height:1.9;color:#b1c1d0;margin:0 0 13px}.guide-content code,.methods-grid code{color:#abede1;background:#11263a;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}.methods-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:25px 15px 35px}footer{display:flex;justify-content:space-between;gap:12px;padding:28px 5px;font-size:10px;letter-spacing:.1em;color:#687f94}.is-fullscreen{position:fixed!important;z-index:999;inset:0!important;border-radius:0!important;min-height:100vh!important}.is-fullscreen canvas{height:calc(100% - 72px)!important}@media(max-width:1250px){.main-grid{grid-template-columns:260px minmax(360px,1fr)}.data-panel{grid-column:1/-1;min-height:0}.notes{max-height:170px}.readout-grid strong{font-size:19px}.control-panel{min-height:0}.stage{min-height:620px}.intro-metric{display:none}}@media(max-width:840px){.app{padding:0 11px}.header-meta .tag{display:none}.topbar{height:67px}.identity strong{font-size:16px}.intro{padding:25px 2px}.modes{grid-template-columns:repeat(5,minmax(140px,1fr));overflow-x:auto;padding-bottom:6px}.main-grid{grid-template-columns:1fr}.control-panel{order:2}.stage-col{order:1}.data-panel{order:3}.stage{min-height:550px}.charts{grid-template-columns:1fr}.learning-heading{flex-direction:column;align-items:flex-start}.challenge-list{grid-template-columns:1fr}.stage-footer span:nth-child(2){display:none}.stage-top-right #fieldStatus{display:none}.methods-grid{grid-template-columns:1fr;gap:0}}@media(max-width:480px){.intro h1{font-size:30px}.intro p{font-size:12px}.intro{padding:24px 4px}.mode{padding:12px}.stage{min-height:470px}.stage-overlay-right{top:57px;right:8px}.stage-overlay-right strong{font-size:20px}.readout-grid{grid-template-columns:repeat(2,1fr)}.control-panel,.data-panel{padding:14px}.challenge-controls{flex-wrap:wrap}.stage-overlay-left{max-width:85%;left:9px}.learning{padding:0 12px 18px}footer{font-size:9px;flex-direction:column}}

/*ms-fix-overflow*/@media(max-width:700px){body>*,main,main>*,aside{min-width:0;max-width:100%}.modes,.mode-list{overflow-x:auto}html,body{overflow-x:hidden}}
