:root{color-scheme:light;--ink:#242824;--muted:#656b63;--paper:#ecece4;--panel:#f5f4ee;--line:#d8d9ce;--accent:#b74c2a;--mono:"Cascadia Mono","Consolas",monospace;--sans:"Bahnschrift","DIN Alternate","Franklin Gothic Medium",sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:var(--sans);background:var(--paper);font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.42}button,summary,a{-webkit-touch-callout:none}button:focus-visible,a:focus-visible,summary:focus-visible,canvas:focus-visible,input:focus-visible+span{outline:2px solid var(--accent);outline-offset:4px}button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:square;stroke-linejoin:miter}button{border:0;background:none}a{color:inherit}.skip-link{position:fixed;left:12px;top:-80px;z-index:10;background:var(--ink);color:white;padding:12px}.skip-link:focus{top:12px}
.masthead{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 42px;background:var(--panel)}.wordmark{text-decoration:none;display:flex;align-items:center;gap:22px}.wordmark>span{font-size:36px;line-height:1;font-weight:600;letter-spacing:-2px;display:flex;align-items:center}.wordmark-rule{height:1px;width:24px;background:var(--ink);margin:0 6px}.wordmark small,.project-location,.eyebrow,.stage-footer,.section-heading>span{font-family:var(--mono);font-size:10px;letter-spacing:1.5px;line-height:1.6}.wordmark small{border-left:1px solid var(--line);padding-left:22px}.project-location{text-align:right}.project-location span{display:block;color:var(--muted);font-size:9px}.menu-button{display:none}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 286px;height:calc(100dvh - 92px);min-height:550px}.stage{position:relative;min-width:0;overflow:hidden;background:var(--paper)}#viewport{width:100%;height:100%;display:block;touch-action:none}.stage-heading{position:absolute;top:38px;left:42px;pointer-events:none;z-index:1}.eyebrow{font-size:9px;color:var(--muted);letter-spacing:1.7px}.stage-heading h1{font-size:clamp(30px,3.3vw,49px);font-weight:400;letter-spacing:-1.8px;margin:9px 0 0;line-height:1.04}.model-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:120px 35px;text-align:center;pointer-events:none}.model-state[hidden]{display:none}.model-state p{font-size:23px;letter-spacing:-.6px;margin:20px 0 9px}.model-state>span:not(.state-mark){font-size:13px;color:var(--muted);max-width:280px;line-height:1.6}.state-mark{display:block;width:64px;height:64px;position:relative}.state-mark i{position:absolute;border:1px solid #b9bdb1;width:36px;height:36px;transform:rotate(30deg) skewY(-15deg)}.state-mark i:nth-child(1){top:0;left:6px}.state-mark i:nth-child(2){top:14px;left:6px}.state-mark i:nth-child(3){top:28px;left:6px;border-color:var(--accent)}body[data-state="loading"] .state-mark{animation:float 1.8s ease-in-out infinite}.model-state .text-button{pointer-events:auto;margin-top:18px}.model-state progress{width:160px;height:2px;margin-top:25px;accent-color:var(--accent);border:0;background:var(--line)}.model-state progress::-webkit-progress-bar{background:var(--line)}.model-state progress::-webkit-progress-value{background:var(--accent)}
.inspector{border-left:1px solid var(--line);background:var(--panel);padding:33px 27px 20px;overflow:auto;display:flex;flex-direction:column;gap:28px}.inspector-intro h2{font-size:30px;letter-spacing:-1px;line-height:1.1;font-weight:400;margin:14px 0 13px}.inspector-intro>p{color:var(--muted);line-height:1.65;font-size:12px;margin:0;max-width:215px}.control-section{border-top:1px solid var(--line);padding-top:18px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-heading h3{font-size:13px;font-weight:500;margin:0}.section-heading>span{font-size:9px;color:#92978c}.view-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.view-button{border:1px solid var(--line);padding:12px 11px;min-height:76px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;background:transparent;font-size:11px;transition:background .15s,border-color .15s}.view-button svg{align-self:flex-end;width:25px;height:25px}.view-button.active{background:var(--ink);border-color:var(--ink);color:#f4f3eb}.view-button:not(:disabled):hover{border-color:var(--ink)}.source-views{margin-top:10px}.source-view{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;min-height:44px}.source-view::after{content:"\2197";font-size:15px;color:var(--muted)}.source-view[aria-pressed="true"]{color:var(--accent)}.layer-controls{display:grid;gap:2px}.layer-row{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:39px;font-size:12px;cursor:pointer;gap:12px}.layer-row input{position:absolute;opacity:0;width:1px;height:1px}.layer-switch{width:27px;height:16px;border:1px solid #acb2a5;position:relative;flex-shrink:0}.layer-switch::after{content:"";position:absolute;width:8px;height:8px;background:#919887;left:3px;top:3px;transition:transform .12s}.layer-row input:checked+.layer-switch{background:var(--ink);border-color:var(--ink)}.layer-row input:checked+.layer-switch::after{background:var(--paper);transform:translateX(11px)}.control-note{font-size:12px;color:var(--muted);margin:0 0 12px;line-height:1.6}.text-button{font-size:11px;padding:8px 0;display:inline-flex;gap:15px;align-items:center;text-decoration:underline;text-underline-offset:4px}.text-button span{font-size:16px;text-decoration:none}.help-section{border-top:1px solid var(--line);padding-top:16px}.help-section summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:11px;cursor:pointer;min-height:28px}.help-section summary::-webkit-details-marker{display:none}.help-section[open] summary>span{transform:rotate(45deg)}.help-section dl{font-size:11px;line-height:1.55;color:var(--muted);margin-bottom:0}.help-section dt{color:var(--ink);margin-top:13px}.help-section dd{margin:3px 0 0}.edition-note{display:flex;gap:12px;align-items:flex-start;margin-top:auto;padding-top:10px;font-family:var(--mono);font-size:9px;line-height:1.8}.tiny-cross{color:var(--accent);font-size:22px;line-height:1}.edition-note p{margin:0}.edition-note p span{color:var(--muted)}
.stage-tools{position:absolute;bottom:70px;right:28px;display:flex;flex-direction:column;background:rgba(245,244,238,.96);border:1px solid var(--line);padding:4px;z-index:2}.icon-button{width:42px;height:42px;display:grid;place-items:center;font-size:25px;font-weight:300}.icon-button:not(:disabled):hover{background:#e1e3d8}.tool-divider{height:1px;background:var(--line);margin:4px 7px}.stage-footer{position:absolute;bottom:0;left:0;right:0;height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 35px 0 42px;border-top:1px solid #d2d6c6;color:var(--muted);font-size:8px;background:rgba(236,236,228,.92)}.model-label{display:flex;align-items:center;gap:8px;letter-spacing:1px}.model-label i{width:5px;height:5px;background:#92998c;display:inline-block}.model-label i.ready{background:var(--accent)}.gesture-hint{font-size:8px;letter-spacing:.7px}.gesture-hint b{font-weight:400;margin:0 10px;color:#adb3a3}.noscript-message{position:fixed;inset:40% 20%;padding:30px;background:var(--panel);border:1px solid var(--line);text-align:center;z-index:8}
@keyframes float{50%{transform:translateY(-6px)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:900px){.masthead{padding:0 25px;height:78px}.wordmark>span{font-size:30px}.wordmark{gap:16px}.wordmark small{padding-left:16px;font-size:8px}.workspace{height:calc(100dvh - 78px);grid-template-columns:minmax(0,1fr) 252px}.inspector{padding:28px 22px;gap:24px}.stage-heading{left:28px;top:30px}.stage-footer{padding-left:28px;padding-right:20px}.gesture-hint{display:none}.stage-tools{right:20px}.inspector-intro h2{font-size:28px}}
@media(max-width:640px){.masthead{height:74px;padding:0 21px}.wordmark small{display:none}.wordmark>span{font-size:30px}.project-location{font-size:8px;margin-left:auto;margin-right:24px;letter-spacing:.7px}.project-location span{font-size:8px}.menu-button{display:flex;gap:12px;align-items:center;font-size:12px;min-height:44px;padding:0}.menu-button>span{font-size:21px;font-weight:300}.menu-button[aria-expanded="true"]>span{transform:rotate(45deg)}.workspace{display:block;height:calc(100dvh - 74px);min-height:410px}.stage{height:100%}.stage-heading{top:27px;left:22px}.stage-heading h1{font-size:33px;letter-spacing:-1px}.eyebrow{font-size:8px}.stage-tools{right:17px;bottom:68px}.icon-button{width:39px;height:39px}.stage-footer{height:44px;padding:0 22px;font-size:8px}.inspector{display:none;position:absolute;top:74px;bottom:0;right:0;width:min(304px,calc(100vw - 42px));z-index:4;box-shadow:-18px 0 40px #24282412;border-left:1px solid #bec3b4;gap:23px;padding:26px}.inspector.open{display:flex}.model-state{padding-top:130px}.model-state p{font-size:21px}.model-state>span:not(.state-mark){max-width:225px}.edition-note{margin-top:15px}}
@media(max-height:680px) and (min-width:641px){.inspector-intro h2{font-size:26px}.inspector{gap:20px}.inspector-intro>p{display:none}.stage-heading{top:26px}.workspace{min-height:490px}}
.stage-heading.compact-view h1,.stage-heading.compact-view>.eyebrow{display:none}.stage-heading.compact-view{top:20px;left:22px;padding:8px 11px;background:#f5f4eceb;border:1px solid #cbd0c3;font-family:var(--mono);font-size:10px;letter-spacing:.7px}
.navigation-button{width:100%;min-height:40px;border:1px solid var(--line);text-align:left;padding:10px 12px;font-size:12px;margin-bottom:8px}.navigation-button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.navigation-levels{display:flex;gap:8px;margin-bottom:12px}.navigation-levels button{flex:1;min-height:36px;border:1px solid var(--line);font-size:11px}.navigation-levels button:hover,.navigation-button:hover{background:#e1e3d8}#viewport.exploring{cursor:crosshair}
#item-panel[hidden]{display:none}#item-name{font-size:15px;line-height:1.4;margin:0 0 10px}#item-close{font-size:10px;text-decoration:underline}.item-materials{padding-left:16px;font-size:11px;line-height:1.65;color:var(--muted)}#explode-range{width:100%;accent-color:var(--accent);margin:10px 0 12px}#explode-value{font-family:var(--mono);font-size:10px}
