:root{color-scheme:light;--ink:#252d2b;--muted:#69736e;--line:#d7d2c6;--paper:#f5f2e9;--panel:#fffdf8;--sand:#e7dfcf;--bronze:#9a6d3d;--green:#536a56;--good:#426a4b;--warn:#956a35;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink)}body{font-size:14px;line-height:1.45}.brand-header{height:58px;padding:0 24px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);background:#fbf9f3}.brand-mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#f7f0df;font-family:Georgia,serif;font-weight:700}.brand-name{font-size:12px;letter-spacing:.16em;font-weight:800}.brand-sub{font-size:9px;letter-spacing:.13em;color:var(--muted);margin-top:1px}.header-right{margin-left:auto;font-size:10px;letter-spacing:.15em;color:var(--muted)}.app-shell{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(360px,.8fr);gap:0;max-width:1800px;margin:0 auto;min-height:calc(100vh - 58px)}.stage-column{position:sticky;top:0;align-self:start;padding:18px 18px 24px 22px;min-width:0;display:flex;flex-direction:column;gap:10px}.stage{position:relative;min-height:540px;height:calc(100vh - 150px);flex:none;overflow:hidden;border:1px solid #cbc4b5;border-radius:14px;background:linear-gradient(180deg,#c8d0c9 0%,#e7d9bd 52%,#a18c68 100%);box-shadow:0 12px 30px rgba(53,48,36,.09)}#scene{display:block;width:100%;height:100%;min-height:540px;touch-action:none;outline:none}.stage-caption{position:absolute;top:16px;left:17px;display:flex;align-items:center;gap:9px;padding:8px 11px;border:1px solid rgba(255,255,255,.55);border-radius:5px;background:rgba(250,248,240,.82);backdrop-filter:blur(8px);font-size:9px;font-weight:800;letter-spacing:.13em;color:#39413d}.live-dot{width:7px;height:7px;border-radius:50%;background:#6b8a62;box-shadow:0 0 0 3px rgba(107,138,98,.16)}.caption-divider{color:#9c927e}.hotspots{position:absolute;inset:0;pointer-events:none}.scene-hotspot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;width:28px;height:28px;border-radius:50%;border:1px solid #f8f4e8;background:#293a35;color:#fff;font-size:10px;font-weight:800;box-shadow:0 2px 10px rgba(0,0,0,.22);cursor:pointer}.scene-hotspot:hover,.scene-hotspot:focus-visible{background:#a16d3b;outline:2px solid white;outline-offset:2px}.scene-status{position:absolute;bottom:13px;left:14px;padding:7px 10px;border-radius:5px;background:rgba(248,246,238,.82);color:#414a45;font-size:10px;pointer-events:none}.fallback-note{position:absolute;right:12px;bottom:12px;background:#fff5dc;color:#6e4c1d;padding:6px 9px;border-radius:5px;font-size:10px}.stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tool-group{display:flex;align-items:center;gap:6px}.tool-button,.quality-button,.preset-button{border:1px solid var(--line);border-radius:6px;background:#fbf9f3;color:var(--ink);font:inherit;cursor:pointer}.tool-button{padding:8px 11px;font-size:11px}.tool-button span{margin-left:4px}.tool-button:hover,.preset-button:hover,.quality-button:hover{border-color:#a98b66;background:#fff}.toolbar-label{font-size:9px;letter-spacing:.12em;color:var(--muted);font-weight:700;margin-right:4px}.quality-button{padding:6px 10px;font-size:10px}.quality-button.active{background:#31413a;color:#fff;border-color:#31413a}.camera-presets{display:flex;gap:6px;flex-wrap:wrap}.preset-button{padding:7px 12px;font-size:10px;color:#5d655f}.preset-button.active{border-color:#8d704c;color:#5b3d20;background:#f0e5d4}.inspector{border-left:1px solid var(--line);padding:22px 22px 26px;background:#f8f6ef;min-width:0}.intro-block{padding-bottom:17px;border-bottom:1px solid var(--line)}.eyebrow{font-size:9px;font-weight:800;letter-spacing:.16em;color:var(--bronze)}h1{font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1.08;font-weight:500;letter-spacing:-.03em;margin:8px 0 8px}.intro-copy{font-size:12px;color:#626b64;max-width:430px;margin:0 0 12px}.fact-row{display:flex;gap:7px;flex-wrap:wrap}.fact-row span{font-size:9px;color:#5d665f;border:1px solid #d9d1c2;border-radius:20px;padding:4px 8px;background:#fcfaf5}.control-section,.hotspot-section{padding:17px 0;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;gap:9px;margin-bottom:13px}.section-index{font-size:9px;letter-spacing:.1em;color:#a17a4d;font-weight:800}.section-heading h2{font-family:Georgia,serif;font-size:18px;font-weight:500;margin:0}.control-item{margin:12px 0}.control-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.control-label-row label,.select-row label{font-size:11px;font-weight:650}.control-label-row output{font-size:10px;color:#795c3d;font-variant-numeric:tabular-nums}.range-ends{display:flex;justify-content:space-between;font-size:9px;color:#8a9089;margin-top:1px}input[type=range]{width:100%;accent-color:#8d6840;cursor:pointer;margin:4px 0 0}select{font:inherit;font-size:11px;color:var(--ink);background:#fffdf8;border:1px solid #d6cebd;border-radius:5px;padding:7px 10px;min-width:132px}.select-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-description{font-size:10px;line-height:1.5;color:#717970;margin:-4px 0 10px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:15px}.metric-card{border:1px solid #ded7ca;background:#fffdf8;border-radius:7px;padding:9px 10px;min-width:0}.metric-label{display:block;font-size:9px;color:#727a72;letter-spacing:.03em}.metric-card strong{display:block;font-size:21px;font-weight:650;letter-spacing:-.03em;margin:3px 0 0;font-variant-numeric:tabular-nums}.metric-card small{display:block;font-size:9px;color:#899087;line-height:1.35}.check-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0 0;font-size:9px;color:#69736b}.check-line strong{font-size:10px;color:#31443a;font-variant-numeric:tabular-nums}.stability-status{margin-top:8px;padding:8px 9px;border-radius:5px;background:#edf1e8;color:#486348;font-size:9px;line-height:1.45}.stability-status.warning{background:#f6ead9;color:#80551f}.hotspot-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.hotspot-choice{display:flex;align-items:center;gap:8px;text-align:left;padding:8px;border:1px solid #ded7ca;border-radius:5px;background:#fffdf8;color:#39433d;font:inherit;font-size:10px;cursor:pointer}.hotspot-choice span{font-size:9px;color:#a17a4d;font-weight:800}.hotspot-choice.active{border-color:#a78458;background:#f1e7d8}.hotspot-info{margin-top:9px;padding:10px 11px;background:#eee9dd;border-radius:6px}.hotspot-info strong{font-family:Georgia,serif;font-size:14px;font-weight:500}.hotspot-info p{font-size:10px;line-height:1.5;color:#697269;margin:4px 0 0}.science-panel{margin-top:14px;border:1px solid var(--line);border-radius:7px;background:#fffdf8;overflow:hidden}.science-panel summary{list-style:none;display:flex;align-items:center;gap:9px;padding:12px;cursor:pointer;font-family:Georgia,serif;font-size:16px}.science-panel summary::-webkit-details-marker{display:none}.summary-mark{margin-left:auto;font-family:Arial,sans-serif;color:#8c6a43;font-size:18px}.science-panel[open] .summary-mark{transform:rotate(45deg)}.science-content{padding:0 13px 13px;font-size:10px;line-height:1.55;color:#687169}.science-content h3{font-family:Georgia,serif;font-size:13px;font-weight:500;color:#343e37;margin:12px 0 5px}.science-content p{margin:5px 0}.science-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#60492f;background:#f2eee5;padding:2px 4px;border-radius:3px}.science-content ul{padding-left:17px;margin:5px 0}.science-content li{margin:4px 0}.required-note{font-weight:700;color:#465a48!important;border-left:2px solid #8b9a7e;padding-left:8px;margin-top:12px!important}.source-list{padding-left:16px;margin:5px 0}.source-list li{margin:6px 0}.source-list a{color:#71522f;text-decoration:underline;text-underline-offset:2px}.footer-note{font-size:9px;line-height:1.5;color:#92978e;margin-top:14px}.brand-header,.stage-toolbar,.camera-presets,.inspector{isolation:isolate}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #a16d3b;outline-offset:2px}
@media(max-width:1050px){.app-shell{grid-template-columns:minmax(0,1.3fr) minmax(330px,.9fr)}.stage-column{padding-left:14px;padding-right:14px}.inspector{padding-left:16px;padding-right:16px}}
@media(max-width:820px){.brand-header{height:48px;padding:0 13px}.header-right{font-size:8px}.app-shell{display:flex;flex-direction:column;min-height:calc(100vh - 48px)}.stage-column{padding:10px 10px 12px;gap:8px}.stage{min-height:48dvh;height:48dvh;flex:none;border-radius:10px}#scene{min-height:48dvh;height:48dvh}.stage-caption{top:9px;left:9px;padding:6px 8px;font-size:8px}.scene-status{bottom:7px;left:7px;font-size:9px}.stage-toolbar{gap:7px}.tool-button{padding:7px 8px;font-size:10px}.tool-button span{display:none}.toolbar-label{font-size:8px}.camera-presets{gap:5px}.preset-button{padding:6px 9px;font-size:9px}.inspector{border-left:0;border-top:1px solid var(--line);padding:16px 14px 22px}.intro-block{padding-bottom:13px}h1{font-size:29px}.control-section,.hotspot-section{padding:14px 0}.science-panel{margin-top:10px}.hotspot-buttons{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.stage{height:46dvh;min-height:330px}#scene{height:46dvh;min-height:330px}.brand-sub{font-size:8px}.header-right{letter-spacing:.07em}.metric-card strong{font-size:19px}.fact-row span{font-size:8px}.tool-group{gap:4px}.tool-button{padding:7px}.quality-button{padding:6px 8px}.scene-hotspot{width:25px;height:25px}}
body.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .brand-header{display:none}.embed-mode .app-shell{height:100vh;height:100dvh;min-height:0}.embed-mode .stage-column{min-height:0}.embed-mode .inspector{overflow:auto;overscroll-behavior:contain}@media(max-width:820px){.embed-mode .app-shell{height:100dvh;overflow:hidden}.embed-mode .stage-column{flex:none}.embed-mode .stage{height:48dvh;min-height:0}.embed-mode #scene{height:48dvh;min-height:0}.embed-mode .inspector{flex:1;min-height:0;overflow:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
