/* Camera controls share the same language across atlas, building and apartment. */
.cameraModes{position:absolute;z-index:6;left:16px;bottom:47px;display:flex;gap:4px;padding:4px;border:1px solid #afc9ba;background:#f4faf5e8;border-radius:14px;backdrop-filter:blur(16px);box-shadow:0 4px 15px #173b2721}.cameraModes>button{min-height:40px;min-width:76px;padding:8px 11px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;background:transparent;color:#416d50;font-size:11px}.cameraModes>button[aria-pressed=true]{background:#2a5c3d;color:#fff;box-shadow:inset 0 1px #ffffff30,0 2px 8px #234e3420}.cameraModes .icon{width:16px;height:16px}.sceneHost canvas[data-camera-mode=move],.interiorModel canvas[data-camera-mode=move]{cursor:grab}.sceneHost canvas[data-camera-mode=rotate],.interiorModel canvas[data-camera-mode=rotate]{cursor:all-scroll}.sceneHost canvas:active,.interiorModel canvas:active{cursor:grabbing}.interiorModel .cameraModes{bottom:47px;left:16px}.noWebGL .cameraModes,.modelFailed .cameraModes{display:none}.sceneHost .mapTools>button,.interiorTools>button{min-width:40px;min-height:40px}.sceneHost .sceneHint{font-size:10px;bottom:15px;max-width:calc(100% - 32px);line-height:1.7}.refinedInterior .modelStatus{right:20px;bottom:15px;max-width:calc(100% - 40px)}
/* One global header offset, one compact top summary; the existing comparison dock remains below. */
:root{--sticky-header:68px}.contextSummary{display:none}.contextSummary[hidden]{display:none!important}.fitQuickActions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding-top:20px}.fitQuickActions>.button{font-size:12px;min-height:44px}.fitQuickActions>.textLink{font-size:11px;min-height:44px}#returnToFitResults[hidden]{display:none!important}.fitBelow{scroll-margin-top:calc(var(--sticky-header) + 85px)}.preferenceWorkbench{scroll-margin-top:calc(var(--sticky-header) + 12px)}body.dialogOpen .contextSummary{display:none!important}
@media(max-width:820px){.topbar{position:sticky;top:0;z-index:35}.contextSummary{position:fixed;top:var(--sticky-header);left:104px;right:20px;z-index:31;display:flex;align-items:center;gap:11px;padding:10px 13px;border:1px solid #a8c5b3;border-radius:0 0 15px 15px;background:#f3faf5f2;box-shadow:0 6px 19px #163c2821;backdrop-filter:blur(20px);min-height:65px;color:#416c50}.contextIcon{width:35px;height:35px;display:grid;place-items:center;flex-shrink:0;color:#528765}.contextIcon>svg{width:35px;height:35px}.exploreSummary .contextIcon>.icon{width:23px;height:23px}.contextSummary>div{flex:1;min-width:0}.contextSummary strong{display:block;font-size:12px;font-weight:500;color:#335c40;line-height:1.6}.contextSummary small{display:block;font-size:9px;color:#6a8773;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contextSummary>.button{font-size:11px;min-height:42px;padding:10px 13px;gap:7px;flex-shrink:0}.contextSummary>.button>.icon{height:15px;width:15px}.preferenceWorkbench{overflow:visible;isolation:auto}.workbenchBody{display:block}.workbenchVisual{display:contents;position:static;border:0;padding:0;background:transparent}.workbenchChart{position:sticky;top:calc(var(--sticky-header) + 7px);z-index:20;min-height:180px;height:clamp(180px,30dvh,265px);padding:10px 15px 12px;margin-bottom:16px;border:1px solid #c2d9ca;border-radius:15px;background:linear-gradient(145deg,#fafffbf5,#e8f2ebf5);backdrop-filter:blur(20px);box-shadow:0 7px 23px #1b442b17;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:center}.workbenchChart>.eyebrow{display:block;font-size:8px;letter-spacing:1.4px}.workbenchChart #radar{min-height:0;height:100%;display:grid;place-items:center}.workbenchChart #radar svg{display:block;height:100%;width:auto;max-width:100%;max-height:205px;margin:0 auto}.workbenchChart #radar svg text{display:block;font-size:11px}.workbenchChart #workbenchLead{display:block}.workbenchChart .miniMixBar{max-width:260px;height:4px;margin:0 auto 5px}.workbenchChart #workbenchLead>span{font-size:9px;line-height:1.6;display:block}.desktopMixSummary{display:none}.workbenchControls .factorTabs{display:none}.workbenchControls .compactWorkbenchActions{display:none}.workbenchControls .workbenchDrop,.workbenchControls .weightLegend{display:none}.workbenchControls .sliderStack,.workbenchControls .sliderStack.showAllSliders{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-height:none!important;overflow:visible!important;scrollbar-width:auto;border:0;border-radius:0}.workbenchControls .workbenchSlider,.workbenchControls .workbenchSlider.isActive,.sliderStack.showAllSliders .workbenchSlider{display:block!important;padding:15px 14px 12px;border:1px solid #c8d9ce;background:#f6fbf7;margin:0;border-radius:13px}.workbenchSlider>span:first-child{margin:0;gap:8px}.workbenchSlider strong{font-size:12px}.workbenchSlider .icon{display:block;height:17px;width:17px}.workbenchSlider output{font-size:18px}.workbenchSlider output small{font-size:10px}.workbenchSlider input{height:33px;margin:7px 0 2px;touch-action:pan-y}.workbenchSlider .rangeEnds{display:flex}.workbenchSlider .rangeEnds small{font-size:9px}.workbenchSlider>.importanceShare{font-size:10px;line-height:1.8;min-height:51px;padding:9px 10px;margin-top:10px}.workbenchStatus{margin-top:16px;padding-top:15px;font-size:10px}.fitQuickActions{padding-top:18px}.fitQuickActions .button{min-height:44px}.preferenceWorkbench .fitPresets{display:flex}.fitPresets>button{min-height:38px;font-size:10px}.workbenchHeading{display:flex}.workbenchHeading h2{font-size:28px}body[data-focus-phase=compact] .workbenchChart{visibility:hidden}.appFooter{padding-bottom:100px}}
@media(max-width:600px){.cameraModes{left:11px;bottom:47px;padding:3px;border-radius:12px;gap:3px}.cameraModes>button{min-height:40px;min-width:70px;font-size:10px;gap:6px;padding:8px 10px}.cameraModes .icon{width:14px;height:14px}.interiorModel .cameraModes{left:11px;bottom:48px}.sceneHost .sceneHint{font-size:9px;bottom:13px;left:12px;max-width:calc(100% - 24px);line-height:1.8;text-align:left}.refinedInterior .modelStatus{font-size:9px;bottom:13px;left:12px;right:12px;max-width:calc(100% - 24px);line-height:1.8}.interiorTools{right:10px;gap:6px}.interiorTools>button{min-height:40px;min-width:40px}.sceneHost .mapTools{right:12px}.sceneHost .mapTools>button{min-height:40px;min-width:40px}.contextSummary{left:12px;right:12px;min-height:64px;padding:9px 11px;gap:9px}.contextSummary strong{font-size:11px}.contextSummary small{font-size:8px}.contextSummary>.button{font-size:10px;padding:10px 11px;min-height:42px}.contextSummary .contextIcon{width:30px;height:32px}.contextIcon>svg{width:30px;height:32px}.workbenchControls .sliderStack,.workbenchControls .sliderStack.showAllSliders{grid-template-columns:1fr;gap:11px}.preferenceWorkbench{padding:19px 15px}.workbenchHeading{display:flex;margin-bottom:14px}.workbenchHeading h2{font-size:27px}.workbenchHeading .eyebrow{display:block;font-size:7px}.preferenceWorkbench>.fitPresets{margin-bottom:13px;overflow:auto;gap:6px;scrollbar-width:none}.preferenceWorkbench>.fitPresets>button{font-size:9px;min-height:36px;padding:8px 10px;white-space:nowrap}.workbenchChart{height:clamp(175px,29dvh,245px);min-height:175px;margin-bottom:13px;padding:10px 12px;border-radius:13px}.workbenchChart>.eyebrow{font-size:7px;letter-spacing:1.2px}.workbenchChart #radar svg{width:auto;height:100%;max-width:100%;max-height:185px;margin:0}.workbenchChart #radar svg text{display:block;font-size:12px}.workbenchChart .miniMixBar{height:4px;margin:0 auto 5px}.workbenchChart #workbenchLead>span{font-size:8px;line-height:1.6}.workbenchControls .workbenchSlider{padding:15px 13px 12px}.workbenchSlider strong{font-size:13px}.workbenchSlider output{font-size:19px}.workbenchSlider input{height:33px;margin-top:8px}.workbenchSlider>.importanceShare{min-height:0;font-size:10px;padding:8px 10px}.fitQuickActions{display:flex;padding-top:17px;gap:8px;align-items:flex-start;flex-direction:column}.fitQuickActions>.button{min-height:44px;font-size:11px;padding:12px 14px}.fitQuickActions>.textLink{font-size:10px;min-height:40px}.workbenchStatus{font-size:10px;line-height:1.8}.workbenchStatus>span:last-child{font-size:9px}.fitBelow{scroll-margin-top:calc(var(--sticky-header) + 83px)}}
@media(max-width:600px) and (max-height:650px){.workbenchChart{height:170px;min-height:170px;padding:8px 10px}.workbenchChart>.eyebrow{display:none}.workbenchChart #radar svg{max-height:135px}.workbenchChart #radar svg text{font-size:12px}.workbenchChart #workbenchLead>span{font-size:8px}.workbenchHeading h2{font-size:25px}}
@media(max-width:820px) and (max-height:500px) and (min-width:601px){.workbenchBody{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px}.workbenchChart{grid-column:1;grid-row:1;align-self:start;height:180px;min-height:180px;padding:8px 10px}.workbenchControls{grid-column:2;grid-row:1}.workbenchControls .sliderStack{grid-template-columns:1fr}.workbenchChart #radar svg{max-height:140px}.workbenchChart>.eyebrow{font-size:6px}.workbenchChart #workbenchLead>span{font-size:7px}.preferenceWorkbench>.fitPresets{display:none}.workbenchHeading{display:none}}
@media(max-width:360px){.contextSummary{padding:9px;gap:7px}.contextSummary small{font-size:7px}.contextSummary>.button{font-size:9px;padding:10px}.workbenchChart{padding:8px 10px}.workbenchChart #radar svg{height:100%;width:auto;max-height:165px}.cameraModes>button{min-width:63px;padding:8px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.contextSummary,.workbenchChart{transition:none}}
/* The atlas title doubles as a clear spatial home button, including neighborhood views. */
.atlasModes>.atlasHome{display:flex;align-items:center;gap:9px;text-align:left;min-height:48px;padding:9px 13px;background:#f0f7f2;color:#2e5d40;border-right:1px solid #c1d7c8;letter-spacing:1.1px;line-height:1.5}.atlasHome>.icon{height:17px;width:17px;flex-shrink:0}.atlasHome>span{font-size:8px;font-weight:500;display:block}.atlasHome small{display:block;font-size:8px;letter-spacing:.2px;font-weight:400;color:#63816e;margin-top:3px}.atlasModes>.atlasHome:hover{background:#dceee2;color:#234e34}.atlasModes>.atlasHome:focus-visible{outline:2px solid #3e7854;outline-offset:-3px}.atlasModes{align-items:stretch}.atlasModes>button:not(.atlasHome){min-height:44px}.atlasModes>.atlasHome:active{background:#d1e6d8}
@media(max-width:600px){.atlasModes{flex-wrap:wrap;max-width:calc(100% - 92px);overflow:hidden;border-radius:12px}.atlasModes>.atlasHome{flex-basis:100%;width:100%;min-height:46px;border-right:0;border-bottom:1px solid #c1d7c8;padding:8px 11px;gap:8px}.atlasHome>span{font-size:8px;letter-spacing:1px}.atlasHome small{font-size:7px;margin-top:2px}.atlasHome>.icon{height:16px;width:16px}.atlasModes>button:not(.atlasHome){flex:1;min-height:40px;font-size:8px;padding:9px 10px}}
