:root{--ink:#182a32;--muted:#65747a;--paper:#f0efe9;--panel:#fffefa;--line:#d9ddd7;--teal:#286c68;--gold:#c89c55;--soft:#e7ebe5;--shadow:0 12px 32px rgba(29,43,43,.08)}
*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}body{margin:0;min-width:320px;background:var(--paper)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #d6a65d;outline-offset:2px}.site-header{height:104px;padding:18px clamp(18px,3vw,44px);display:flex;align-items:center;gap:16px;background:#f8f7f1;border-bottom:1px solid var(--line)}.brand-mark{width:42px;height:42px;border:1px solid #b9c4bd;border-radius:12px;display:grid;place-items:center;color:var(--teal);font-family:Georgia,serif;font-size:25px;font-weight:700;background:#edf1e9}.header-copy{min-width:0}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#74827c}.header-copy h1{font:600 23px/1.15 Georgia,"Times New Roman",serif;margin:4px 0 3px}.header-copy p{font-size:12px;color:var(--muted);margin:0}.header-meta{margin-left:auto;font-size:11px;color:#52666a;display:flex;align-items:center;gap:8px;white-space:nowrap}.status-dot,.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6e9d7a;box-shadow:0 0 0 3px rgba(110,157,122,.14)}.page-shell{max-width:1640px;margin:0 auto;padding:22px clamp(14px,2.4vw,36px) 30px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.stage-column{min-width:0}.stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 10px}.stage-label{font-size:10px;letter-spacing:.14em;font-weight:800;color:#5f706e;display:flex;align-items:center;gap:9px}.toolbar-actions{display:flex;gap:7px;flex-wrap:wrap}.tool-button{border:1px solid #d4dad4;background:#fafaf6;color:#31464a;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:700}.tool-button.primary{background:#244e4d;border-color:#244e4d;color:white}.tool-button:hover,.camera-button:hover{border-color:#77938b}.canvas-stage{height:clamp(510px,64vw,690px);max-height:690px;min-height:470px;position:relative;overflow:hidden;border-radius:14px;background:linear-gradient(180deg,#b9c9c7 0%,#dbe0d7 48%,#c6c4b6 100%);box-shadow:var(--shadow);border:1px solid rgba(40,70,66,.16)}#view{display:block;width:100%;height:100%;touch-action:none;outline:none}.stage-corner{position:absolute;left:17px;display:flex;gap:14px;color:rgba(28,51,53,.72);font-size:9px;font-weight:800;letter-spacing:.13em;pointer-events:none}.stage-corner.top-left{top:15px}.stage-corner.bottom-left{bottom:14px}.stage-corner.bottom-left span:last-child{opacity:.7}.hotspot-layer{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:27px;height:27px;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:#285c58;color:white;font-size:9px;font-weight:800;box-shadow:0 2px 9px rgba(0,0,0,.22);pointer-events:auto;transition:transform .15s,background .15s}.hotspot:hover,.hotspot.active{background:#d39e4e;color:#1b292a;transform:translate(-50%,-50%) scale(1.12)}.canvas-fallback{position:absolute;right:12px;bottom:12px;background:#fffdf1;border:1px solid #d6cba8;border-radius:8px;padding:8px 10px;font-size:10px;color:#564c35;max-width:260px}.stage-footer{display:flex;gap:19px;align-items:center;flex-wrap:wrap;padding:11px 3px 0;color:#65746f;font-size:10px}.stage-footer b{color:#263d3e;font-size:12px}.footer-spacer{flex:1}.seed-label{font-size:9px;letter-spacing:.12em;font-weight:800;color:#8a948c}.control-panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.panel-heading{padding:16px 16px 13px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line)}.panel-heading h2{font:600 19px/1.2 Georgia,serif;margin:5px 0 0}.quality-toggle{display:flex;background:#edf0eb;padding:3px;border-radius:8px;gap:2px}.quality-toggle button{border:0;background:transparent;color:#69756e;border-radius:6px;padding:6px 8px;font-size:10px;font-weight:700}.quality-toggle button[aria-pressed=true]{background:#fff;color:#1e4e4b;box-shadow:0 1px 3px rgba(0,0,0,.1)}.control-section{padding:14px 16px;border-bottom:1px solid #e7e9e3}.control-section:last-child{border-bottom:0}.section-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.section-title>span{width:21px;height:21px;border-radius:6px;background:#e8eee8;color:#39716c;display:grid;place-items:center;font-size:9px;font-weight:800}.section-title h3{font:600 14px Georgia,serif;margin:0}.range-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#586a68}.range-head output{font-weight:800;color:#294d4a;font-variant-numeric:tabular-nums}.control-section input[type=range]{width:100%;accent-color:#34756f;margin:12px 0 6px}.range-scale{display:flex;justify-content:space-between;color:#8a9690;font-size:9px}.control-hint{font-size:10px;line-height:1.45;color:#7b8881;margin:8px 0 0}.select-row{display:flex;align-items:center;justify-content:space-between;margin-top:9px;gap:10px;font-size:11px;color:#596a66}.select-row select{min-width:116px;border:1px solid #d8ded7;background:#fbfcf8;border-radius:7px;padding:6px 8px;color:#2c4848;font-size:11px}.experiment-intro{font-size:10px;line-height:1.5;color:#728079;margin:-2px 0 10px}.readout-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.readout{padding:9px 7px;background:#eff3ed;border-radius:7px;min-width:0}.readout span{display:block;font-size:9px;line-height:1.25;color:#6c7b73;min-height:22px}.readout strong{display:block;font-size:14px;color:#234d49;margin-top:3px;font-variant-numeric:tabular-nums;white-space:nowrap}.check-line{display:flex;justify-content:space-between;gap:8px;margin-top:10px;font-size:9px;color:#7a8780}.check-line strong{color:#304e49;font-variant-numeric:tabular-nums}.check-status{margin-top:8px;font-size:9px;color:#588064;display:flex;align-items:center;gap:7px}.check-status .status-dot{width:6px;height:6px}.camera-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:12px}.camera-button{border:1px solid #d9dfd9;border-radius:7px;padding:7px 4px;background:#fbfcf8;color:#5b6b66;font-size:10px;font-weight:700}.camera-button.active{background:#e7efea;color:#24534e;border-color:#a8c0b3}.hotspot-list{display:grid;gap:4px}.hotspot-list button{display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;column-gap:8px;text-align:left;border:1px solid transparent;background:transparent;border-radius:7px;padding:7px 6px;color:#2b4141}.hotspot-list button:hover,.hotspot-list button.active{background:#f0f4ee;border-color:#dfe7de}.hotspot-list button>span{grid-row:1/3;align-self:center;width:22px;height:22px;border-radius:50%;background:#e7eee7;color:#3d706a;display:grid;place-items:center;font-size:9px;font-weight:800}.hotspot-list b{font-size:10px}.hotspot-list small{font-size:9px;color:#839089;margin-top:2px}.information-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin-top:18px}.info-panel{background:#fffefa;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 18px rgba(29,43,43,.04);overflow:hidden}.info-panel summary{list-style:none;cursor:pointer;padding:16px 18px;display:flex;align-items:center;gap:10px}.info-panel summary::-webkit-details-marker{display:none}.info-panel summary .eyebrow{flex:1}.info-panel summary strong{font:600 15px Georgia,serif;margin-right:auto}.summary-chevron{color:#81918a;transition:transform .2s}.info-panel[open] .summary-chevron{transform:rotate(180deg)}.info-content{padding:0 18px 18px;font-size:11px;line-height:1.6;color:#5c6e68}.info-content h3{font:600 13px Georgia,serif;color:#25423f;margin:16px 0 7px}.info-content p{margin:8px 0}.notice{padding:9px 11px;background:#edf3ec;border-left:3px solid #7fa38b;color:#31584d;font-weight:700}.equation{display:flex;align-items:center;gap:12px;padding:7px 0;border-bottom:1px solid #edf0ea}.equation code{min-width:135px;color:#244c49;font-size:12px;font-weight:700}.equation span{color:#738078;font-size:10px}.evidence-list{padding-left:17px}.evidence-list li{margin:6px 0}.source-list{padding-left:17px}.source-list li{margin:5px 0}.source-list a{color:#2b6a65;text-decoration:none}.source-list a:hover{text-decoration:underline}.page-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 2px 0;color:#89938d;font-size:9px;letter-spacing:.04em}.embed-mode{height:100vh;height:100dvh;overflow:hidden;background:#f0efe9}.embed-mode .site-header{display:none}.embed-mode .page-shell{height:100%;max-width:none;padding:8px}.embed-mode .workspace{height:100%;grid-template-columns:minmax(0,1fr) 310px}.embed-mode .stage-column{min-height:0;display:flex;flex-direction:column}.embed-mode .stage-toolbar{flex:0 0 auto}.embed-mode .canvas-stage{height:auto;min-height:0;max-height:none;flex:1}.embed-mode .stage-footer{flex:0 0 auto}.embed-mode .control-panel{max-height:100%;overflow:auto}.embed-mode .information-grid,.embed-mode .page-footer{display:none}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 300px}.canvas-stage{height:clamp(470px,60vw,620px)}.readout strong{font-size:12px}}
@media(max-width:760px){.site-header{height:auto;min-height:82px;padding:13px 15px;gap:11px}.brand-mark{width:36px;height:36px;border-radius:10px}.header-copy h1{font-size:19px}.header-copy p{font-size:10px}.header-meta{display:none}.page-shell{padding:12px 10px 22px}.workspace{grid-template-columns:minmax(0,1fr);gap:12px}.stage-toolbar{align-items:flex-start;flex-direction:column;padding-bottom:8px}.toolbar-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.tool-button{padding:8px 4px;font-size:10px}.tool-button span{display:inline}.canvas-stage{height:clamp(390px,54vh,520px);min-height:390px;max-height:520px;border-radius:10px}.stage-corner{left:10px;font-size:8px;gap:8px}.stage-corner.top-left{top:10px}.stage-corner.bottom-left{bottom:10px;flex-direction:column;gap:3px}.hotspot{width:25px;height:25px}.stage-footer{gap:10px 15px;font-size:9px}.stage-footer b{font-size:11px}.control-panel{border-radius:10px}.panel-heading{padding:14px}.control-section{padding:13px 14px}.information-grid{grid-template-columns:1fr;gap:10px;margin-top:12px}.info-panel summary{padding:13px 14px}.info-panel summary strong{font-size:14px}.info-content{padding:0 14px 14px}.page-footer{font-size:8px}.embed-mode .page-shell{padding:5px}.embed-mode .workspace{display:flex;flex-direction:column;height:100%;gap:6px}.embed-mode .stage-column{flex:1 1 60%;min-height:0}.embed-mode .stage-toolbar{flex:0 0 auto;flex-direction:row;align-items:center}.embed-mode .stage-label{font-size:8px}.embed-mode .toolbar-actions{display:flex;width:auto}.embed-mode .tool-button{font-size:9px;padding:6px}.embed-mode .tool-button span{display:none}.embed-mode .canvas-stage{flex:1;min-height:0;height:auto;max-height:none}.embed-mode .stage-footer{font-size:8px;padding-top:5px}.embed-mode .control-panel{flex:0 0 36%;width:100%;max-height:36%;overflow:auto}.embed-mode .panel-heading{padding:8px 10px}.embed-mode .panel-heading h2{font-size:14px}.embed-mode .control-section{padding:8px 10px}.embed-mode .information-grid{display:none}}
@media(max-width:400px){.header-copy h1{font-size:17px}.canvas-stage{height:410px;min-height:410px}.toolbar-actions{gap:5px}.tool-button{font-size:9px}.stage-footer{gap:7px 11px}.readout-grid{gap:4px}.readout{padding:8px 5px}.readout strong{font-size:11px}.readout span{font-size:8px}.embed-mode .control-panel{flex-basis:39%;max-height:39%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.selected-note{margin:8px 0 0;padding:10px 11px;background:#f0f4ee;border:1px solid #e0e8df;border-radius:8px;display:grid;gap:4px}.selected-note b{font:600 12px Georgia,serif;color:#274e49}.selected-note span{font-size:10px;line-height:1.5;color:#687870}
