:root{color-scheme:dark;--bg:#10232b;--panel:#17323a;--fg:#f1f6f4;--muted:#b6cdca;--line:#35535b;--accent:#9fd6cb}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.5 system-ui,sans-serif}body.light{color-scheme:light;--bg:#f3f6f2;--panel:#fff;--fg:#172f33;--muted:#47646a;--line:#c9d6d1;--accent:#146d66}a{color:inherit}
header{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:1240px;margin:auto;padding:10px 24px}header>a{display:flex;align-items:center;min-height:44px;min-width:0}header img{display:block;width:112px;max-width:100%;height:auto}header .light-logo{display:none}body.light .dark-logo{display:none}body.light .light-logo{display:block}.header-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-tools button{font-size:13px;padding:8px 12px;white-space:nowrap}
button,a.button,select,summary{min-height:44px;touch-action:manipulation}button,a.button,select{font:inherit;border:1px solid var(--line);background:var(--panel);color:var(--fg);border-radius:9px;padding:10px 16px;cursor:pointer;text-decoration:none}button:hover,a.button:hover{border-color:var(--accent)}button.primary,button[aria-selected=true],a.primary{background:var(--accent);color:var(--bg);border-color:var(--accent);font-weight:700}body.light button.primary,body.light button[aria-selected=true],body.light a.primary{color:white}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
main{max-width:1240px;padding:4px 24px 32px;margin:auto;min-width:0}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);font-weight:750;margin:8px 0 6px;overflow-wrap:anywhere}h1{font-size:clamp(26px,3.5vw,40px);line-height:1.12;letter-spacing:-.025em;margin:0 0 8px}h2{font-size:24px;line-height:1.2}p{margin:0 0 14px}.intro{max-width:740px;color:var(--muted);font-size:16px;margin-bottom:10px}
.status{border:1px solid var(--line);border-left:3px solid #d1ab67;border-radius:8px;background:var(--panel);color:var(--muted);max-width:900px;margin:10px 0}.status>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:8px 12px;font-size:13px;cursor:pointer}.status>summary::-webkit-details-marker{display:none}.status strong{color:var(--fg)}.status-brief{display:block;font-size:12px;margin-top:2px}.status-info{display:grid;place-items:center;width:22px;height:22px;border:1px solid currentColor;border-radius:50%;flex-shrink:0;font:700 14px Georgia,serif}.status[open] .status-info{background:var(--accent);color:var(--bg)}.status>p{border-top:1px solid var(--line);margin:0;padding:12px;font-size:13px}
.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:600px;margin:12px 0}.tabs button{min-width:0;white-space:nowrap;padding:9px 12px;font-size:15px}.panel{min-width:0;scroll-margin-top:12px}.panel[hidden]{display:none}.model-frame{display:block;width:100%;height:66dvh;min-height:380px;max-height:850px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.model-frame.full-model{position:fixed;inset:0;width:100%;height:100dvh;min-height:0;max-height:none;z-index:10000;border:0;border-radius:0;background:#142933}
.quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 20px}.small{font-size:14px;color:var(--muted)}.sheet-picker{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:14px}.sheet-picker select{flex:1;min-width:0;max-width:100%}.sheet-image{display:block;width:100%;max-height:70dvh;object-fit:contain;background:#fff;border-radius:12px;border:1px solid var(--line)}.sheet-image[hidden]{display:none}.card{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:22px;margin:16px 0;overflow-wrap:anywhere}.checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.checks .card{margin:0}.checks h3{margin:0 0 8px}.check-mark{font-weight:750;color:#d1ab67}.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted)}.legend span{padding:6px 0}details.record{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:0 18px;margin:14px 0}details.record summary{padding:14px 0;cursor:pointer;font-weight:650}details.record .inside{padding:0 0 18px}ul{padding-left:22px}li{margin-bottom:8px}.note{color:var(--muted)}.hash{font:12px/1.5 ui-monospace,monospace;overflow-wrap:anywhere}.download-group{display:flex;flex-wrap:wrap;gap:10px}footer{padding-top:24px;font-size:13px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}#nativeCAD[hidden]{display:none}#drawingStatus{min-height:24px}video{width:100%;max-height:62dvh;background:#000;border-radius:12px}#videoPanel[hidden]{display:none}.source-list{display:flex;flex-wrap:wrap;gap:14px;overflow-wrap:anywhere}.scope-price{font-size:20px;font-weight:650}.scope-match{border-color:#d1ab67}
@media(max-width:700px){header{padding:8px 14px;gap:8px}header img{width:104px}main{padding:2px 14px 24px}h1{font-size:26px}.intro{font-size:14px;margin-bottom:8px}.eyebrow{font-size:10px;letter-spacing:.1em;margin-top:6px}.status{margin:8px 0}.status>summary{padding:7px 10px;font-size:12px}.status-brief{font-size:11px}.tabs{gap:6px;margin:10px 0}.tabs button{font-size:14px;padding:8px 6px}.model-frame{height:60dvh;min-height:360px}.checks{grid-template-columns:1fr}.card{padding:18px}.sheet-picker{gap:8px}.sheet-picker label{flex-basis:100%;font-size:13px}.sheet-picker select{flex-basis:100%}.quick-actions .button,.quick-actions button{flex:1 1 auto;text-align:center;font-size:14px}}
@media(max-width:360px){header img{width:96px}.header-tools{gap:6px}h1{font-size:24px}}@media(orientation:landscape) and (max-height:550px){.model-frame{height:78dvh;min-height:290px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Consolidated project workspace: visual first, depth on demand. */
main>.eyebrow{display:none}main>h1{font-size:24px;margin:0;display:inline-block}main>.intro{display:inline-block;margin:0 0 0 10px;font-size:13px}header{padding:6px 20px}header img{width:90px}.status{max-width:none;margin:8px 0}.status>summary{min-height:44px;padding:6px 10px;font-size:12px}.status>summary>span:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}.status-brief{display:inline;margin:0;font-size:11px}.tabs{max-width:none;margin:8px 0}.tabs button{font-size:14px;padding:8px 12px}.model-frame{height:calc(100dvh - 228px);min-height:340px;max-height:950px}.quick-actions{margin:8px 0 12px;gap:8px}.quick-actions button{font-size:13px;padding:8px 12px}.scope-intro h2{font-size:22px;margin:16px 0 6px}.scope-intro p{font-size:14px;color:var(--muted);max-width:65ch}.scope-group>.inside>.card{margin:0 0 12px;padding:14px}.scope-group>.inside>.card h2{font-size:19px}.scope-group>.inside>.record{margin:8px 0;padding:0 12px}.scope-group p,.scope-group li{font-size:14px}.scope-group .scope-price{font-size:16px}.scope-group>.inside>h2{font-size:20px}.scope-group[open]>summary{border-bottom:1px solid var(--line);margin-bottom:12px}footer{padding-top:12px;font-size:11px}body:has(.model-frame.full-model)>.go3d-help-launch{display:none!important}
@media(min-width:900px){.scope-intro{max-width:760px}.scope-group{max-width:900px}.model-frame{height:calc(100dvh - 224px)}}
@media(max-width:700px){header{padding:4px 14px}header img{width:82px}.header-tools button{padding:7px 9px}main{padding-top:0}main>h1{font-size:22px}main>.intro{font-size:12px}.model-frame{height:calc(100dvh - 224px);min-height:290px}.status>summary{gap:6px}.status>p{font-size:12px}.tabs{gap:6px}.tabs button{font-size:13px}.scope-group{padding:0 12px}.scope-group>summary{font-size:15px}.scope-group .inside{padding-bottom:12px}.quick-actions button{flex:1 1 30%;font-size:12px;padding:8px 6px}}
/* One model workspace. Files and scope are reversible drawers. */
.review-studio{height:100dvh;overflow:hidden}.review-studio>header{position:fixed;inset:0 0 auto;height:56px;max-width:none;z-index:50;background:var(--bg);border-bottom:1px solid var(--line);padding:6px 12px;gap:10px}.studio-title{flex:1;min-width:0;font-size:14px;font-weight:650;line-height:1.2}.studio-title small{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-top:3px}.review-studio main{max-width:none;padding:0}.review-studio main>h1,.review-studio main>.intro,.review-studio footer{display:none}.review-studio main>.status{position:fixed;z-index:35;top:62px;left:12px;right:12px;margin:0;background:var(--panel);max-height:calc(100dvh - 150px);overflow:auto}.review-studio .tabs{position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:50;width:min(390px,calc(100% - 24px));margin:0;padding:5px;background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 24px #0003}.review-studio .tabs button{padding:7px 12px;min-height:44px}.review-studio #panel-model{position:fixed;inset:110px 0 calc(72px + env(safe-area-inset-bottom));z-index:0}.review-studio .model-frame{height:100%;min-height:0;max-height:none;border:0;border-radius:0}.review-studio .model-frame.full-model{position:fixed;inset:0;height:100dvh;z-index:10000}.review-studio #panel-drawings,.review-studio #panel-scope{position:fixed;z-index:30;top:110px;bottom:calc(76px + env(safe-area-inset-bottom));right:12px;width:min(600px,calc(100% - 24px));overflow:auto;overscroll-behavior:contain;padding:14px;background:var(--bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 40px #0005}.review-studio[data-panel=drawings] #modelFrame,.review-studio[data-panel=scope] #modelFrame{pointer-events:auto}.review-studio .scope-intro h2{margin-top:2px}.review-studio .scope-intro>button{float:right;margin:0 0 8px 8px}.review-studio .sheet-picker{margin-top:8px}.review-studio .quick-actions{margin-top:0}.review-studio .status[open]{box-shadow:0 6px 20px #0005}.review-studio .status-brief{white-space:nowrap}@media(min-width:1000px){.review-studio #panel-drawings,.review-studio #panel-scope{width:540px}}@media(max-width:400px){.review-studio .studio-title{font-size:12px}.review-studio header img{width:68px}.review-studio .header-tools{gap:4px}.review-studio .status>summary{font-size:11px}.review-studio .status-brief{font-size:10px}}
.review-studio:has(.model-frame.full-model) #panel-model{z-index:10000}

/* Bounded drawers with a sticky exit; no document-length mobile overlay. */
.drawer-heading{position:sticky;top:-12px;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--bg);padding:8px 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px}.drawer-heading button{min-height:44px}.review-studio .header-tools{display:flex;align-items:center;gap:6px}.review-studio header img{width:94px;height:34px;object-fit:contain}.review-studio #panel-drawings,.review-studio #panel-scope{scrollbar-gutter:stable;max-height:calc(100dvh - 190px)}.review-studio .download-group>*{min-height:44px}.review-studio .sheet-image{max-height:35dvh}.review-studio .card{padding:12px;margin:12px 0}.review-studio .quick-actions{gap:6px}.review-studio .quick-actions button{font-size:12px}.review-studio .status>summary{min-height:40px}.review-studio:has(.model-frame.full-model)>.go3d-help-launch{display:none!important}@media(max-width:450px){.review-studio #panel-drawings,.review-studio #panel-scope{right:8px;width:calc(100% - 16px);padding:10px;top:108px;bottom:calc(76px + env(safe-area-inset-bottom))}.review-studio header img{width:86px}.review-studio .studio-title{font-size:12px}.review-studio .download-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.review-studio .download-group>*{font-size:12px;text-align:center;padding:8px 6px}.review-studio .drawer-heading{top:-10px}.review-studio .status-brief{display:none}.review-studio .sheet-picker{gap:6px}}
/* Landscape dedicates height to the model, not stacked chrome. */
@media(orientation:landscape) and (max-height:550px){.review-studio>header{height:44px}.review-studio .studio-title small{display:none}.review-studio main>.status{top:5px;left:42%;right:170px;max-height:70vh;font-size:11px}.review-studio .status>summary{min-height:32px;font-size:10px;padding:3px 7px}.review-studio .status-brief{display:none}.review-studio #panel-model{top:48px;bottom:54px}.review-studio .tabs{bottom:5px;max-width:310px;padding:3px}.review-studio .tabs button{min-height:40px;padding:5px 8px;font-size:12px}.review-studio #panel-drawings,.review-studio #panel-scope{top:48px;bottom:54px;max-height:none}}

/* Archival references stay inside the existing source drawer. */
.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.photo-grid figure{margin:0;min-width:0;border:1px solid var(--line);border-radius:9px;padding:10px}.photo-grid figure>a{display:block}.photo-grid img{display:block;width:100%;height:170px;object-fit:contain;background:var(--bg);border-radius:6px}.photo-grid span{display:block;padding:10px 0;min-height:44px}.photo-grid figcaption{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.photo-grid figcaption a{display:inline-block;min-height:44px;padding:10px 0}.photo-grid figcaption p{margin:0}@media(max-width:600px){.photo-grid{grid-template-columns:minmax(0,1fr)}}

.review-studio.cinema-active #panel-model{inset:0;z-index:40}.review-studio.cinema-active>header,.review-studio.cinema-active main>.status,.review-studio.cinema-active .tabs{opacity:0;pointer-events:none}.review-studio.cinema-active>.go3d-help-launch{z-index:55;opacity:.5}
