:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#e4e8eb;background:#0d171c;--line:#34444b;--gold:#e2bc7c;--muted:#9baeb6}*{box-sizing:border-box}html,body{margin:0;min-height:100%;}body{font-size:14px}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible,summary:focus-visible{outline:2px solid #e6c185;outline-offset:2px}button{background:#1a292f;border:1px solid #46535a;color:#eaf0f1;border-radius:7px;min-height:34px}button:hover{border-color:var(--gold);background:#243841}#shell{max-width:1760px;margin:auto;height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column}.brand{height:88px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:12px clamp(14px,3vw,42px)}.seal{border:1px solid #ad966b;color:var(--gold);border-radius:50%;width:45px;height:45px;display:grid;place-items:center;font-size:28px}.eyebrow,.kicker{letter-spacing:.18em;font-size:10px;font-weight:800;color:var(--gold);margin:0 0 6px}.brand h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em;margin:0;font-size:clamp(21px,2vw,29px)}.brand h1 em{font-weight:400;font-style:normal;color:#acb8ba}.location{margin-left:auto;font-size:11px;color:#a7b4b7;letter-spacing:.13em}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:minmax(0,1fr);gap:0;flex:1;height:calc(100vh - 129px);height:calc(100dvh - 129px);min-height:0;overflow:hidden}.stage-wrap{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--line)}.stage-header,.stage-footer{height:37px;min-height:37px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:10px;letter-spacing:.095em;color:#bec7c8}.stage-header{background:#132126}.stage-header span{display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;border-radius:100%;background:#b2b8b6;display:inline-block}.status-dot.ready{background:#a6d0a1}.stage{position:relative;flex:1;min-height:0;background:radial-gradient(circle at 50% 25%,#586c79,#9baeb2);overflow:hidden}.stage canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-3px}.stage-tools{position:absolute;right:15px;top:13px;display:flex;gap:7px;pointer-events:none}.stage-tools button{pointer-events:auto;width:35px;height:35px;font-size:22px;background:#14232bcc;box-shadow:0 4px 16px #0005}.stage-caption{pointer-events:none;position:absolute;bottom:14px;left:17px;right:17px;color:#f9f3e5;text-shadow:0 1px 8px #000a;font-size:11px;letter-spacing:.06em}.stage-caption span{margin:0 6px;color:#eec789}.stage-footer{border-top:1px solid var(--line);font-size:9px;background:#132026}.controls{display:flex;flex-direction:column;min-height:0;background:#101e24}.tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}.tab{border:0;border-radius:0;background:transparent;color:#9aafb6;padding:12px 0;border-bottom:2px solid transparent;font-size:12px}.tab.active{color:#f0dcac;border-bottom-color:var(--gold);background:#192b31}.control-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:25px 25px 20px;scrollbar-color:#5d7076 transparent}.pane{display:none}.pane.active{display:block}.pane h2{font-family:Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.03em;margin:0 0 9px}.intro{line-height:1.65;color:#afbec3;margin:0 0 27px;font-size:12px}.field-label,.row-form{display:flex;align-items:center;justify-content:space-between;gap:12px}.field-label{margin:18px 0 8px}.field-label label,.row-form label{font-weight:650;font-size:12px}.field-label output{color:#edc488;font-size:11px;white-space:nowrap}input[type=range]{width:100%;accent-color:#ddaf68;cursor:pointer}.stepline{display:flex;justify-content:space-between;font-size:8px;color:#869ca5}.hint{font-size:11px;line-height:1.6;color:#9eb0b8}.row-form{margin:18px 0}.row-form select{color:#dae6e9;background:#1b2b32;border:1px solid #53636a;padding:9px 8px;border-radius:6px;max-width:175px;font-size:11px}.presets{display:flex;gap:7px;margin:20px 0}.presets button{flex:1;font-size:11px}.hint-box{background:#1d3035;padding:14px 13px;line-height:1.5;border-left:2px solid #b6a37a;color:#c1cbca;font-size:11px}.readout-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:19px 0}.readout-grid>div{border:1px solid #3b4d55;background:#192b32;padding:12px;min-width:0}.readout-grid small{display:block;color:#9db0b9;letter-spacing:.08em;font-size:8px;font-weight:700;margin-bottom:8px}.readout-grid strong{color:#f2dab5;font-size:25px;font-weight:550;font-variant-numeric:tabular-nums}.readout-grid span{margin-left:5px;color:#a4b8be;font-size:10px}.wide{width:100%;padding:10px;background:#433a2f;border-color:#98815e;color:#ffe1ab}.detail{padding:14px;background:#1b3035;border-left:3px solid #d6b17a;margin:13px 0;color:#d1dee2;line-height:1.55}.detail p{margin-bottom:0;color:#b4c4c9}.hotspot-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:24px}.hotspot-buttons button{font-size:10px;text-align:left;padding:6px 9px}details{border-top:1px solid #3c4f56;padding:13px 0;color:#c2d0d3;line-height:1.65;font-size:11px}summary{cursor:pointer;color:#f0d5a5;font-size:12px;font-weight:650}details a{color:#f0c78a;overflow-wrap:anywhere}details p{margin:10px 0}.control-bottom{margin-top:auto;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 23px;font-size:10px;color:#899eaa}.control-bottom button{width:26px;height:26px;min-height:26px;border-radius:100%;font-size:14px}.footnote{border-top:1px solid var(--line);color:#82949a;display:flex;justify-content:space-between;padding:12px 25px;font-size:10px}.toast{position:fixed;z-index:1000;bottom:20px;left:50%;transform:translate(-50%,20px);opacity:0;transition:opacity .2s,transform .2s;background:#f0d8ad;color:#1e2b31;padding:10px 15px;border-radius:5px;font-weight:650;pointer-events:none;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}body.embed-mode{height:100vh;height:100dvh;overflow:hidden}body.embed-mode #shell{height:100%;min-height:0}body.embed-mode .brand,body.embed-mode .footnote{display:none}body.embed-mode .workspace{min-height:0;overflow:hidden}body.embed-mode .stage{min-height:0}@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 320px}.control-scroll{padding:19px 17px}}@media(max-width:700px){#shell{height:auto;min-height:100vh;min-height:100dvh}.brand{height:74px;padding:11px 13px}.seal{width:38px;height:38px}.brand h1{font-size:19px}.location{display:none}.eyebrow{font-size:8px}.workspace{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}.stage-wrap{height:49vh;height:49dvh;flex:none;border-right:0}.stage{min-height:0}.stage-header{height:31px;min-height:31px;padding:0 13px}.stage-footer{height:26px;min-height:26px;padding:0 12px;font-size:7px}.stage-caption{font-size:9px;bottom:9px}.controls{min-height:290px}.control-scroll{max-height:none}.tabs .tab{padding:9px 0}.footnote{padding:10px 13px;font-size:9px}body.embed-mode .stage-wrap{height:53%;flex:0 0 53%}body.embed-mode .controls{height:47%;min-height:0}body.embed-mode .control-scroll{max-height:none}}@media(max-width:410px){.readout-grid strong{font-size:22px}.stage-tools{right:9px;top:9px}.stage-tools button{width:31px;height:31px;min-height:31px}.stage-caption{right:7px;left:9px}.stage-footer span:first-child{font-size:6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
