:root{color-scheme:dark;--bg:#101b22;--panel:#15242c;--panel2:#192b34;--line:#3c5158;--text:#eaf0ee;--muted:#a6b9b8;--warm:#e2b877;--button:#243740;--sans:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #f0cd8f;outline-offset:3px}a{color:#ffdaaa;overflow-wrap:anywhere}a:hover{color:white}.shell{max-width:1740px;margin:0 auto;padding:0 clamp(16px,2.2vw,36px)}.topbar{height:64px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:15px}.identity,.location,.chapter,.eyebrow,.key,.object-mark,.stage-label,.status-pill,.inspector-number,.footer,.badge-soft{font-size:10px;font-weight:650;letter-spacing:.16em}.identity{display:flex;align-items:center;gap:13px}.mark{font-size:31px;color:var(--warm)}.location{color:var(--muted)}.location span{color:var(--warm);margin:0 8px}.main-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.9fr);gap:clamp(18px,2vw,36px);padding-top:24px;min-height:calc(100vh - 119px)}.viewer-column{min-width:0}.title-row{min-height:115px;display:flex;align-items:start;justify-content:space-between;gap:16px}.chapter{color:var(--warm)}h1{font:normal clamp(30px,3.3vw,49px)/1.07 var(--serif);letter-spacing:-.035em;margin:11px 0 8px}.lead{color:var(--muted);margin:0 0 20px}.object-mark{color:var(--warm);border:1px solid var(--line);padding:11px 13px;white-space:nowrap;margin-top:24px}.stage{height:clamp(380px,57vh,720px);border:1px solid #49606a;position:relative;overflow:hidden;background:linear-gradient(#88a8b9 0%,#e6cfa2 74%,#c2a67c);isolation:isolate}#world{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#world:active{cursor:grabbing}.stage-vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 -120px 90px -140px #001018,inset 0 0 90px #0c22212e}.stage-label{position:absolute;top:18px;left:18px;display:flex;align-items:center;gap:9px;color:#f9f3e3;text-shadow:0 1px 3px #102029;background:#182e358f;padding:10px 12px;border:1px solid #d9d9c750;max-width:calc(100% - 148px)}.stage-dot{width:7px;height:7px;border-radius:50%;background:#c9e9c0;box-shadow:0 0 0 3px #c9e9c027}.status-pill{position:absolute;top:59px;left:18px;color:#f2e1c4;background:#152f36ad;padding:6px 9px}.compass{position:absolute;right:18px;top:18px;display:flex;flex-direction:column;align-items:center;color:#faf2da;text-shadow:0 1px 4px #123;line-height:1}.compass span:first-child{font-size:13px;font-weight:800}.compass-needle{font-size:30px}.stage-actions{position:absolute;right:18px;bottom:18px;display:flex;gap:8px}.stage-actions button{border:1px solid #e1d0ad88;background:#193039dd;color:white;padding:10px 13px;font-size:12px}.stage-actions button:hover{background:#294b55}.viewer-caption{padding:13px 0;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line);line-height:1.9}.key{color:var(--warm);font-size:9px}.narrative{display:flex;gap:18px;align-items:flex-start;padding:22px 6px;color:#c5cfca;font:normal clamp(16px,1.5vw,20px)/1.5 var(--serif)}.narrative p{margin:0;max-width:870px}.accent-rule{height:54px;width:2px;flex:none;background:var(--warm)}.workbench{border:1px solid var(--line);background:var(--panel);min-width:0;align-self:start;max-height:calc(100vh - 117px);display:flex;flex-direction:column}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 16px;border-bottom:1px solid var(--line);gap:12px}.panel-heading h2{font:normal 25px/1.2 var(--serif);margin:8px 0 0}.badge-soft{color:var(--warm);white-space:nowrap}.panel-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#4d6568 transparent}.control-section{padding:19px 22px 20px;border-bottom:1px solid var(--line)}.line-heading,.metric-top,.switch-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.line-heading{margin-bottom:16px}.line-heading h3{font-size:13px;font-weight:650;letter-spacing:.025em;margin:0}.line-heading>span{font-size:10px;letter-spacing:.1em;color:var(--muted)}.button-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.button-grid button,.hotspot-buttons button{background:var(--button);border:1px solid #465861;color:var(--text);font-size:11px;min-height:37px;padding:6px 4px}.button-grid button:hover,.hotspot-buttons button:hover,.button-grid button.selected{border-color:var(--warm);color:#ffe1a7;background:#3b3b36}.switch-row{font-size:12px;margin-top:17px}.toggle-segment{display:flex;border:1px solid #4a5d61}.toggle-segment button{background:transparent;color:var(--muted);padding:7px 14px;border:0}.toggle-segment button.active{background:#d2ac76;color:#13232b;font-weight:700}.metric-top{font-size:12px;margin:16px 0 11px}.metric-top label{color:#d7e2dc}.metric-top output{color:var(--warm);font-variant-numeric:tabular-nums}.micro{font-size:10px;line-height:1.55;color:var(--muted);margin:8px 0 15px}input[type=range]{display:block;width:100%;margin:0;cursor:ew-resize;accent-color:#debb80}.select-label{display:block;color:#c9d5cf;font-size:12px;margin:18px 0 8px}select{width:100%;background:#273943;border:1px solid #50636b;color:#eef3e9;padding:9px 11px;border-radius:0}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:19px}.metric-card{background:#1e323b;border:1px solid #39515a;min-height:86px;padding:12px}.metric-card>span{display:block;color:#c8d1c9;font-size:10px;min-height:16px}.metric-card strong{display:block;color:#f9dbad;font-size:23px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin:5px 0 1px}.metric-card small{font-size:10px;color:#aabdb9}.check-card{border-color:#708376}.hotspot-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.hotspot-buttons button{padding:9px 6px}.hotspot-buttons button.active{border-color:var(--warm);background:#3f3c32;color:#ffe0ad}.inspector{background:#20333a;padding:15px;margin-top:12px;border-left:2px solid var(--warm)}.inspector-number{color:var(--warm);font-size:9px}.inspector h4{font:normal 20px var(--serif);margin:9px 0}.inspector p{font-size:12px;line-height:1.55;color:#d0dbd5;margin:0 0 11px}.inspector span:last-child{color:#ebc994;font-size:9px;letter-spacing:.08em}.science{padding:20px 22px}.science summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:650}.science summary::-webkit-details-marker{display:none}.science summary span{font-size:19px;color:var(--warm)}.science[open] summary span{transform:rotate(45deg)}.science-content{padding-top:14px;color:#c0cfca;font-size:12px;line-height:1.55}.science-content h4{color:#f2d6a8;font-size:13px;margin:15px 0 5px}.science-content p{margin:7px 0 13px}.disclaimer{font-style:italic;border-left:2px solid var(--warm);padding-left:11px}.source-links{padding-left:20px}.source-links li{margin-bottom:9px}.footer{display:flex;justify-content:space-between;gap:20px;color:#819996;border-top:1px solid var(--line);padding:17px 0;font-size:9px}
body.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .topbar,.embed-mode .footer,.embed-mode .title-row,.embed-mode .narrative{display:none}.embed-mode .shell{height:100%;padding:0}.embed-mode .main-layout{padding:0;height:100%;min-height:0;gap:0;grid-template-columns:minmax(0,1.7fr) minmax(295px,.8fr)}.embed-mode .viewer-column{height:100%;display:flex;flex-direction:column}.embed-mode .stage{height:auto;flex:1;min-height:0}.embed-mode .viewer-caption{padding:8px 12px}.embed-mode .workbench{height:100%;max-height:100%;border-top:0;border-bottom:0}
@media(max-width:1020px){.main-layout{grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr)}.object-mark{display:none}.button-grid{grid-template-columns:repeat(2,1fr)}.topbar{height:58px}}
@media(max-width:760px){.shell{padding:0 13px}.topbar{height:53px}.location{font-size:8px}.eyebrow{font-size:8px}.main-layout{display:flex;flex-direction:column;padding-top:17px;gap:18px}.title-row{min-height:auto}.lead{font-size:12px}.stage{height:min(52dvh,480px);min-height:330px}.stage-label{top:10px;left:10px;font-size:8px;max-width:calc(100% - 77px);padding:8px}.status-pill{top:44px;left:10px;font-size:8px}.compass{top:13px;right:12px}.stage-actions{right:9px;bottom:9px}.stage-actions button{padding:9px}.viewer-caption{font-size:10px}.narrative{padding:15px 2px}.workbench{max-height:none}.panel-scroll{overflow:visible}.panel-heading{padding:18px}.control-section,.science{padding:17px 18px}.button-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.footer{font-size:8px}.embed-mode .main-layout{display:flex;flex-direction:column;height:100dvh}.embed-mode .viewer-column{height:55%;flex:none}.embed-mode .stage{height:calc(100% - 35px);min-height:0;flex:1}.embed-mode .viewer-caption{font-size:8px;white-space:nowrap;overflow:hidden;padding:7px}.embed-mode .workbench{height:45%;max-height:45%;flex:none;overflow:hidden}.embed-mode .panel-heading{padding:10px 14px}.embed-mode .panel-heading h2{font-size:18px;margin-top:3px}.embed-mode .panel-scroll{overflow:auto}.embed-mode .control-section,.embed-mode .science{padding:10px 14px}}
@media(max-width:420px){h1{font-size:31px}.stage{height:43dvh;min-height:300px}.viewer-caption{font-size:9px}.stage-actions button{font-size:10px}.footer span:nth-child(2){display:none}.metric-card strong{font-size:20px}.stage-label{font-size:7px;letter-spacing:.1em}.hotspot-buttons button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.native-markers{position:absolute;inset:0;pointer-events:none}.native-marker{position:absolute;transform:translate(-50%,-50%);border:2px solid #17363e;background:#fee1a5;color:#183541;border-radius:50%;width:30px;height:30px;font-size:11px;font-weight:800;box-shadow:0 3px 15px #1727209c;pointer-events:auto}.native-marker:hover,.native-marker.active{background:#fff1c9;border-color:#284950;box-shadow:0 0 0 5px #f8dda755}.native-marker[hidden]{display:none}
