.location-mode #viewer,.location-mode .intro,.location-mode .controls,.location-mode #floor-dock,.location-mode footer,.location-mode #unit-labels,.location-mode #floor-style,.location-mode #webgl-fallback,.location-mode .model-label,.location-mode #exterior-unit-card{display:none!important}#location-pane{position:fixed;inset:82px 0 0;z-index:11;display:grid;grid-template-columns:330px 1fr;background:#f4f5ed}#location-pane[hidden]{display:none}#location-sidebar{background:#f7f8f1;overflow:auto;padding:30px 26px 20px;scrollbar-width:thin;border-right:1px solid #d5decc}.location-eyebrow{font-size:9px;letter-spacing:2px;color:#7d9079}#location-sidebar h1{font-size:27px;line-height:1.3;letter-spacing:-.5px;margin:15px 0;color:#294c38}.location-address{font-size:12px;color:#7a8972;line-height:1.8}#location-explore{width:100%;background:#344f3e;color:#fff;border:0;border-radius:6px;padding:13px 15px;font-size:12px;display:flex;justify-content:space-between;margin:20px 0 25px}.location-categories{display:grid;grid-template-columns:1fr 1fr;gap:6px}.location-categories button{background:transparent;border:1px solid #ccd7c4;padding:9px 7px;border-radius:18px;font-size:11px}.location-categories button[aria-pressed=true]{background:#e0e9d6;border-color:#8fa481;color:#294c38}.location-list-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 8px;font-size:11px}.location-list-heading span{font-size:9px;color:#8c9881}.location-pois{display:grid}.location-pois button{display:flex;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid #e1e6d9;background:transparent;padding:13px 5px;transition:background .15s;border-radius:5px}.location-pois button:hover,.location-pois button.hover{background:#e5ecdc}.location-pois i{flex-shrink:0;display:grid;place-items:center;color:#fff;font-style:normal;width:25px;height:25px;border-radius:50%;font-size:10px}.location-pois span{flex:1}.location-pois strong{font-size:11px;line-height:1.5;font-weight:500;display:block}.location-pois small{display:block;font-size:9px;color:#87947e;margin-top:4px}.location-pois em{font-style:normal;color:#a1ad97}.location-source-note{font-size:9px;color:#8d9984;line-height:1.8;margin-top:20px}.location-source-note button{display:block;padding:10px 0;background:transparent;border:0;color:#466a47;font-size:10px}#location-map-area{position:relative;min-width:0}#location-map{position:absolute;inset:0;background:#e4e9df}#location-tools{position:absolute;z-index:450;top:20px;left:22px;right:22px;display:flex;gap:8px;align-items:center;pointer-events:none}#location-tools>*{pointer-events:auto}#location-tools button,.map-caption{background:#fffff4f5;border:1px solid #d4ddcc;box-shadow:0 4px 12px #293d3110;border-radius:6px;padding:11px 14px;font-size:11px}.map-caption{margin-right:auto;letter-spacing:1.5px;font-size:9px;display:flex;align-items:center;gap:8px}.map-caption i{background:#568263;width:6px;height:6px;border-radius:50%}#location-notice{position:absolute;z-index:450;top:75px;left:22px;max-width:calc(100% - 44px);background:#fafcf1ed;padding:7px 10px;border-radius:4px;font-size:10px;color:#74886d;pointer-events:none}.location-marker span{background:var(--poi-color);border:2px solid white;box-shadow:0 3px 9px #233c3f40;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:white;font-size:11px;transition:transform .2s}.location-marker.poi-active span{transform:scale(1.35);outline:5px solid #cfb58080}.harvey-map-marker{text-align:center}.harvey-map-marker span{display:grid;place-items:center;margin:auto;border:3px solid #f5f4df;background:#496d37;width:50px;height:50px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);font:27px Georgia;color:#fff;box-shadow:0 5px 18px #263d314d}.harvey-map-marker b{display:block;margin-top:9px;font-size:10px;letter-spacing:1.1px;color:#294b34;background:#f9faeeeb;padding:4px;border-radius:3px}#location-detail{position:absolute;z-index:460;bottom:40px;left:24px;width:320px;max-width:calc(100% - 80px);background:#fbfcf4f5;border:1px solid #fff;border-radius:10px;box-shadow:0 10px 35px #203a3025;padding:22px;backdrop-filter:blur(12px)}#location-detail[hidden]{display:none}.location-detail-close{position:absolute;right:10px;top:8px;background:transparent;border:0;font-size:23px}#location-detail small{font-size:9px;letter-spacing:1px}#location-detail h3{font-size:19px;line-height:1.4;font-weight:500;margin:10px 0 5px}.original-place{font-size:10px;color:#8a9780;margin:0 0 18px}.place-distance{font-size:20px;color:#36533c}.place-distance span{display:block;font-size:9px;color:#87927d;line-height:1.6;margin-top:5px}.place-note{font-size:10px;color:#839078;line-height:1.7}#location-detail a{display:inline-block;font-size:11px;color:#3b644b;margin-top:6px}#location-reference{width:min(1200px,95vw);padding:30px 12px 12px;border-radius:10px}#location-reference .close{position:absolute;right:10px;top:4px;border:0;background:transparent;font-size:25px}#location-reference img{display:block;width:100%;max-height:80vh;object-fit:contain}#location-reference p{text-align:center;font-size:11px;color:#7d8c74}@media(max-width:900px){#location-pane{grid-template-columns:275px 1fr}#location-sidebar{padding:25px 18px}.map-caption{display:none}#location-tools{justify-content:flex-end}}@media(max-width:700px){#location-pane{top:118px;display:flex;flex-direction:column}#location-map-area{height:55%;order:0}#location-sidebar{height:45%;order:1;padding:15px 18px;display:block;border-top:1px solid #cbd6c1}#location-sidebar h1{font-size:20px;margin:8px 0}.location-address{margin:0;font-size:10px}#location-explore{margin:10px 0}.location-categories{grid-template-columns:repeat(4,1fr)}.location-list-heading{margin-top:15px}#location-tools{top:12px;left:12px;right:12px}#location-tools button{padding:8px 11px;font-size:10px}#location-notice{top:52px;left:12px;font-size:9px}#location-detail{bottom:25px;left:12px;padding:14px;width:275px}#location-detail h3{font-size:15px}.original-place,.place-note{display:none}.place-distance{font-size:16px}.app-header .mode-switch button{padding-left:8px;padding-right:8px}}


#geo-tools{position:fixed;bottom:86px;left:50%;transform:translateX(-50%);z-index:15;display:flex;gap:5px;padding:5px;background:#fafbf3ed;border:1px solid #d1daca;border-radius:24px;box-shadow:0 5px 25px #273c3020}#geo-tools button{border:0;border-radius:20px;padding:10px 14px;background:transparent;font-size:11px;white-space:nowrap}#geo-tools button[aria-pressed=true]{background:#395a46;color:white}#geo-credit{position:fixed;bottom:4px;right:10px;z-index:15;font-size:9px;background:#f8faf0dd;padding:3px 6px}#geo-credit a{color:inherit}#geo-note{position:fixed;bottom:133px;left:50%;transform:translateX(-50%);z-index:15;font-size:10px;background:#fbfcf1e0;padding:5px 10px;border-radius:5px;pointer-events:none}.geo-poi{position:fixed;z-index:8;transform:translate(-50%,-100%);border:1px solid #95a894;border-radius:15px;background:#f8fbf2ed;color:#36543e;padding:7px 10px;font-size:10px;box-shadow:0 2px 8px #16382022}.geo-poi:before{content:'●';color:#597b57;margin-right:5px}#geo-tools[hidden],#geo-credit[hidden],#geo-note[hidden],#geo-labels[hidden],.geo-poi[hidden]{display:none}.location-mode #geo-tools,.location-mode #geo-credit,.location-mode #geo-note,.location-mode #geo-labels{display:none}@media(max-width:700px){#geo-tools{bottom:78px;max-width:96vw}#geo-tools button{font-size:10px;padding:9px}#geo-note{bottom:125px;font-size:8px;white-space:nowrap}}

#building-map{position:fixed;inset:0;z-index:0;background:#eff0e9}#building-map[hidden]{display:none}.map-exterior #viewer{visibility:hidden;pointer-events:none}.map-exterior .model-label{display:none!important}.map-exterior .controls [data-view],.map-exterior .navigation,.map-exterior footer .hint{visibility:hidden}.map-exterior .intro{pointer-events:none}.map-exterior .intro .source-badge{display:none}#map-scene-bar{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);z-index:18;background:#fafbf5f2;border:1px solid #d7ded1;border-radius:12px;padding:7px;display:flex;gap:6px;align-items:center;box-shadow:0 5px 30px #30403615}#map-scene-bar button{padding:11px 14px;border:0;background:#e8eee1;border-radius:7px;font-size:11px;white-space:nowrap}#map-scene-bar span{font-size:9px;padding:0 8px;white-space:nowrap;color:#788571}#map-scene-status{position:fixed;bottom:82px;left:50%;transform:translateX(-50%);font-size:9px;background:#fafcf2d9;border-radius:6px;padding:5px 10px;z-index:18;white-space:nowrap}#map-scene-bar[hidden],#map-scene-status[hidden]{display:none}.map-place{border:1px solid #a6b69f;background:#fbfcf5;color:#395443;font-size:10px;border-radius:16px;padding:6px 10px;box-shadow:0 2px 7px #2d493022}.maplibregl-ctrl-bottom-right{right:8px;bottom:12px}.maplibregl-ctrl-bottom-left{bottom:8px}.maplibregl-popup{z-index:25}@media(max-width:700px){#map-scene-bar{bottom:25px;max-width:95vw}#map-scene-bar span{display:none}#map-scene-bar button{padding:10px;font-size:10px}#map-scene-status{bottom:76px;font-size:8px}}
.location-mode #building-map,.location-mode #map-scene-bar,.location-mode #map-scene-status{display:none!important}.map-exterior .toggle-row:has(#rotate){display:none}

#map-scene-bar button[aria-pressed=true]{background:#395e49;color:#fff}.map-place[hidden]{display:none!important}#nearby-tray{position:fixed;top:112px;left:285px;right:255px;z-index:12;background:#f9fbf1ed;border:1px solid #fff;border-radius:10px;padding:10px 12px;box-shadow:0 4px 20px #30433012}#nearby-tray>strong{display:block;font-size:10px;color:#4b6550;margin-bottom:7px}.nearby-row{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}.nearby-row button{flex:0 0 145px;text-align:left;background:#edf2e6;border:1px solid #d9e3d1;border-radius:7px;padding:9px 10px;min-height:55px}.nearby-row span{display:block;font-size:10px;line-height:1.4}.nearby-row small{display:block;font-size:9px;color:#72856c;margin-top:4px}#nearby-tray[hidden],.location-mode #nearby-tray{display:none!important}@media(max-width:900px){#nearby-tray{left:225px;right:220px}.nearby-row button{flex-basis:125px}}@media(max-width:700px){#nearby-tray{top:115px;left:10px;right:10px;padding:7px}.nearby-row button{min-height:46px;padding:6px;flex-basis:130px}#map-scene-bar{gap:2px;padding:4px}#map-scene-bar button{padding:9px 6px;font-size:9px}}

/* Both map views now use the same vector style; no CSS tinting. */
#location-map{background:#f1f1e9}#location-map canvas{filter:none}#location-map .location-marker{padding:0;border:0;background:transparent;width:32px;height:32px}#location-map .harvey-map-marker{width:104px;height:84px;padding:0;border:0;background:transparent;z-index:5}#location-map .harvey-map-marker span{transform:none;border-radius:50%;font-size:24px;background:#395a46;border-color:#fafbf3}#location-map .maplibregl-popup-content{background:#fbfcf4;border-radius:8px;color:#36533c;padding:16px;font-size:12px;line-height:1.6}#location-map .map-project-open{display:block;margin-top:12px;padding:9px 14px;border:0;border-radius:5px;background:#395a46;color:#fff;font-size:11px}#location-map .maplibregl-ctrl-bottom-right{bottom:5px;right:5px}#location-map .maplibregl-ctrl-bottom-left{bottom:5px}

/* Compact category pins and an optional nearby drawer. */
.place-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:var(--place-color,#4d7054);color:white;font-style:normal}.place-icon svg{width:17px;height:17px}.map-place{display:flex;align-items:center;gap:7px;padding:5px 10px 5px 5px;border:1px solid #fff;border-radius:12px;background:#fafcf5ed;box-shadow:0 4px 14px #263d3026;max-width:215px;text-align:left}.map-place>span{font-size:10px;line-height:1.35}.map-place:hover{box-shadow:0 5px 20px #263d3040;border-color:#93aa90}.location-marker svg{width:18px;height:18px}.location-pois i svg{width:15px;height:15px}
#nearby-tray{top:auto;left:auto;right:250px;bottom:95px;width:310px;max-height:min(470px,65vh);padding:14px;background:#fafcf5f5;backdrop-filter:blur(14px);border:1px solid #fff;border-radius:14px;box-shadow:0 12px 45px #263d302b;overflow:auto}.nearby-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.nearby-head strong{font-size:13px;letter-spacing:.3px}.nearby-head button{border:0;background:transparent;font-size:24px;width:28px;height:28px;line-height:1}.nearby-markers-toggle{width:100%;padding:9px 10px;margin-bottom:10px;border:1px solid #d8e2d2;border-radius:7px;background:#f0f3eb;text-align:left;font-size:10px}.nearby-markers-toggle:after{content:'○';float:right}.nearby-markers-toggle[aria-pressed=true]:after{content:'●';color:#4d7054}.nearby-row{display:grid;gap:6px;overflow:visible}.nearby-row button{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px;border:0;background:transparent;border-radius:8px}.nearby-row button:hover{background:#e9efe2}.nearby-row button>span{flex:1;font-size:11px}.nearby-row button>small{white-space:nowrap;font-size:9px;margin:0}.nearby-row .place-icon{width:30px;height:30px;flex-basis:30px}#map-scene-bar button[aria-expanded=true]{background:#395e49;color:white}@media(max-width:900px){#nearby-tray{right:225px;width:285px}}@media(max-width:700px){#nearby-tray{top:auto;left:auto;right:10px;bottom:90px;width:min(310px,calc(100vw - 20px));max-height:55vh;padding:12px}.nearby-row button{flex-basis:auto;min-height:48px}.map-place{max-width:170px}.map-place>span{font-size:9px}}

.motion-settings{margin-top:15px;padding-top:12px;border-top:1px solid #d9e1d2}.motion-heading{font-size:10px;letter-spacing:1px;margin-bottom:8px}.motion-settings label{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin:9px 0;gap:7px}.motion-settings input{accent-color:#507654}.motion-settings small{font-size:8px;line-height:1.5;color:#81917a;display:block}.place-arrival .place-icon{animation:place-arrival .7s ease-out}@keyframes place-arrival{0%{transform:scale(.65);box-shadow:0 0 0 0 #71916655}65%{transform:scale(1.15);box-shadow:0 0 0 10px #71916600}100%{transform:scale(1);box-shadow:none}}.floor-transition #map-scene-bar{opacity:.65}.native-floor #viewer{animation:floor-reveal .3s ease-out}@keyframes floor-reveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.place-arrival .place-icon,.native-floor #viewer{animation:none}}

.motion-disabled .native-floor #viewer,.motion-disabled.native-floor #viewer,.motion-disabled .place-arrival .place-icon{animation:none}

/* Compact source disclosure and recoverable map failures. */
#map-sources{width:min(620px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:30px;color:#35443b;background:#f8f9f3;border:1px solid #d4dcce;border-radius:18px}
#map-sources::backdrop{background:#182b2866;backdrop-filter:blur(5px)}
#map-sources h2{padding-right:28px;font-size:23px}#map-sources h3{font-size:14px;margin-top:24px}#map-sources p{font-size:13px;line-height:1.8}#map-sources small{display:block;margin-top:24px;color:#6c756c}#map-sources a{color:#355a49}
#map-scene-status button{margin-left:10px;border:1px solid #aebcae;border-radius:6px;background:#fffdf4;padding:5px 10px;color:#355146;cursor:pointer}
#map-scene-bar{max-width:calc(100vw - 28px);flex-wrap:wrap}#map-scene-status{max-width:calc(100vw - 28px)}
#location-retry,#location-retry-reference{margin:12px 8px 12px 0;padding:12px;border:1px solid #aab7a7;border-radius:8px;background:#eff2e7;color:#355146;cursor:pointer}

/* Geographic anchor is the pin tip, not the label centre. */
.map-place::after{content:'';position:absolute;left:50%;bottom:-8px;margin-left:-6px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #fafcf5;pointer-events:none}
#location-map .location-marker{height:42px;display:flex;align-items:flex-start;justify-content:center}
.location-marker::after{content:'';position:absolute;left:50%;bottom:0;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:10px solid white;pointer-events:none}
.location-marker.poi-active span{transform:scale(1.15);transform-origin:50% 100%}
.place-address{font-size:11px;line-height:1.5;color:#4c6550}.poi-source-link{margin-left:12px}

/* Exterior labels live above the GPU canvas, below the existing app chrome. */
#exterior-map-labels{position:fixed;inset:0;z-index:3;pointer-events:none;overflow:hidden}
#exterior-map-labels[hidden],#exterior-map-labels [hidden]{display:none!important}
#exterior-map-labels>svg{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
#exterior-map-labels path{fill:none;stroke:#f9fcf1;stroke-width:1.5;filter:drop-shadow(0 1px 1px #20362aaa)}
#exterior-map-labels circle{fill:#4d7054;stroke:#fff;stroke-width:1.5}
#exterior-map-labels .project-leader{stroke:#f6e5b2;stroke-width:2}
#exterior-map-labels .project-anchor{fill:#d5b878;stroke:#fff;stroke-width:2}
#exterior-map-labels>button{position:absolute;left:0;top:0;margin:0;box-sizing:border-box;pointer-events:auto;transition:transform 80ms linear,opacity .18s;touch-action:manipulation}
#exterior-map-labels .adaptive-place{max-width:none;gap:7px;padding:5px;white-space:nowrap;border-radius:13px;overflow:hidden}
#exterior-map-labels .adaptive-place:after{display:none}
#exterior-map-labels .adaptive-place .place-icon{width:32px;height:32px;flex-basis:32px}
#exterior-map-labels .adaptive-place>span{overflow:hidden;text-overflow:ellipsis;font-size:11px;white-space:nowrap}
#exterior-map-labels .adaptive-place[data-size=icon]>span{display:none}
#exterior-map-labels .adaptive-place[data-size=cluster]>span{font-weight:700;font-size:12px;overflow:visible;flex-shrink:0}
#exterior-map-labels .project-location-pin{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px 14px;border-radius:14px;background:#354d3bf2;border:1px solid #e3d2a5;color:#fff;box-shadow:0 5px 20px #20382c35;text-align:left}
#exterior-map-labels .project-location-pin b{font-size:13px;letter-spacing:1.5px}
#exterior-map-labels .project-location-pin span{font-size:10px;color:#e9e8d5}
#exterior-map-labels button:focus-visible{outline:3px solid #d1af63;outline-offset:3px}
@media(prefers-reduced-motion:reduce){#exterior-map-labels>button{transition:none}}
body.motion-disabled #exterior-map-labels>button{transition:none}

body.interior-tour-mode #exterior-map-labels,body.interior-panorama-mode #exterior-map-labels{display:none!important}

/* Two exterior presentations share one building; no alternate vector basemap. */
.exterior-modes{display:flex;gap:3px;flex-shrink:0}
#map-scene-bar:has([data-exterior-mode="building"][aria-pressed="true"]){bottom:82px}
#map-scene-bar [hidden]{display:none!important}
@media(max-width:700px){#map-scene-bar{flex-wrap:wrap;justify-content:center}#map-scene-bar .orbit-lock{display:none}}
@media(max-width:700px){
 #map-scene-bar:has([data-exterior-mode="building"][aria-pressed="true"]){top:136px;bottom:auto;left:12px;transform:none;width:max-content;max-width:calc(100vw - 130px)}
 body[data-exterior-mode="building"]:not(.native-floor) .intro{display:none}
}
