/* Desktop map workspace; mobile keeps its existing sheet layout. */
@media(min-width:761px){
 .mobile-map-toolbar{display:flex;align-items:center;justify-content:space-evenly;gap:4px;position:fixed;z-index:980;bottom:calc(76px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(340px,calc(100vw - 28px));min-height:58px;padding:6px 9px;border:1px solid #ffffffc9;border-radius:999px;background:#eff7ffdf;box-shadow:0 5px 24px #143b5f35;backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%);color:#214e78}
 .mobile-map-toolbar>button,.mobile-map-toolbar summary{position:relative;display:flex;align-items:center;justify-content:center;min-width:42px;width:44px;height:44px;min-height:44px;margin:0;padding:9px;border:0;border-radius:50%;background:transparent;color:inherit;box-shadow:none;cursor:pointer}
 .mobile-map-toolbar svg{display:block;width:25px;height:25px}
 .mobile-map-toolbar button:hover,.mobile-map-toolbar summary:hover,.mobile-map-toolbar button.active{background:#d7e9ff}
 .mobile-map-toolbar .area-controls{padding:0;gap:0;flex-wrap:nowrap}
 .mobile-map-toolbar .area-controls.is-editing #area-draw{font-size:11px;min-width:44px;padding:3px;border-radius:16px}
 .mobile-map-toolbar .area-controls.is-editing .area-hand-icon{display:none}
 .mobile-map-toolbar .area-controls #area-cancel,.mobile-map-toolbar .area-controls #area-clear{position:absolute;bottom:calc(100% + 8px);inset-inline-start:0;padding:8px 15px;border-radius:20px;background:#f4f9fff2;border:1px solid #bed3e8;box-shadow:0 3px 14px #163e5c25}
 .mobile-map-toolbar #area-status{position:absolute;bottom:calc(100% + 57px);left:0;max-width:100%;font-size:12px;pointer-events:none}
 .mobile-map-toolbar .toolbar-count,.mobile-map-toolbar #overlay-count:not(:empty){position:absolute;top:0;inset-inline-end:0;border-radius:9px;background:#4169e1;color:white;font-size:10px;line-height:16px;min-width:16px;text-align:center}
 .toolbar-map-style summary{list-style:none}.toolbar-map-style summary::-webkit-details-marker{display:none}
 .toolbar-style-panel{position:absolute;bottom:calc(100% + 10px);inset-inline-end:0;padding:10px;border-radius:18px;border:1px solid #ffffffce;background:#edf6fff2;box-shadow:0 5px 24px #143b5f35;min-width:0;width:max-content}
 .toolbar-map-style:not([open]) .toolbar-style-panel{display:none}
 .toolbar-style-panel .basemap-switch{display:flex;gap:5px}.toolbar-style-panel button{min-height:44px;border-radius:12px;padding:8px 14px}.toolbar-style-panel button.active{background:#4169e1;color:white}
 body .overlay-panel.overlay-floating{z-index:1300;max-height:calc(100dvh - 170px)}

}
@media(min-width:761px){
 .browse-mode .explore-scene{--desktop-results-width:clamp(380px,46vw,660px)}
 body.browse-mode .explore-scene .results{inset-inline:auto;right:0;left:auto;top:var(--header-height);bottom:0;width:var(--desktop-results-width);max-width:calc(100vw - 32px);max-height:none;padding:16px;border-radius:0;overflow:auto;background:rgba(246,250,253,.87);backdrop-filter:blur(22px) saturate(110%);-webkit-backdrop-filter:blur(22px) saturate(110%);scrollbar-width:thin;scrollbar-color:rgba(92,119,141,.38) transparent;scrollbar-gutter:stable}
 body .explore-scene .results-controls{top:-16px;margin:-16px -16px 12px;border-radius:0;background:rgba(246,250,253,.94);grid-template-columns:32px minmax(0,1fr) 40px 42px 38px;grid-template-areas:'drag views publish liked close'}
 body .explore-scene .results .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
 body .explore-scene .results .cards>.empty{grid-column:1/-1}
 body .explore-scene .results .cards .compact-card{display:grid;grid-template-columns:minmax(0,1fr);border-radius:18px;min-width:0}
 body .explore-scene .results .cards .compact-card.has-photo:not(.minimal-card){grid-template-columns:minmax(0,1fr)}
 body .explore-scene .results .cards .compact-card .photo-btn{grid-column:1;grid-row:1;width:100%;height:auto;min-height:0;aspect-ratio:4/3;overflow:hidden}
 body .explore-scene .results .cards .compact-card .photo-btn img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
 body .explore-scene .results .cards .compact-card.has-photo:not(.minimal-card) .card-info{grid-column:1;grid-row:2;padding:12px}
 body .explore-scene .results .cards .compact-card:not(.minimal-card) .price{max-width:none;font-size:clamp(18px,1.5vw,23px)}
 body .explore-scene .results .cards .compact-card.has-photo .card-summary{padding-inline-end:0}
 body .explore-scene .results .cards .minimal-card .card-info{grid-template-columns:minmax(0,1fr)}
 body .explore-scene .results .cards .minimal-card .price{grid-column:1;grid-row:2;max-width:none}
 body .explore-scene .results .cards .minimal-card .specs{grid-row:3}
 body .explore-scene .results .cards .minimal-card .card-summary{grid-row:4}
 body.browse-mode .explore-scene .smart-dock{inset-inline:auto;left:16px;right:calc(var(--desktop-results-width) + 32px);top:calc(var(--header-height) + 16px);width:auto;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 .smart-dock>.panel-drag-handle{width:32px;height:20px;margin:0 auto 4px;border-radius:999px;background:#eff7ffc9}
 body .smart-dock>.filters{background:transparent;border:0;padding:0;box-shadow:none}
 body .smart-dock .search-field{border-radius:999px;padding:6px;min-height:58px}
 body .smart-dock .quick-filters{gap:7px;padding-top:8px}
 .smart-dock .quick-filter>summary,.smart-dock .quick-more,.smart-dock .quick-save,.smart-dock .quick-actions>button{border-radius:999px;background:#eff7ffdf;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
 .smart-dock .quick-save{background:#125bea}
 .smart-dock .quick-panel{border-radius:24px}
 body .smart-dock #smart-feedback:not(:empty){margin-top:10px;padding:8px;border:1px solid #ffffffb3;border-radius:24px;background:#eff7ffdf;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
 .browse-mode .map-top .map-tools{display:none}
 body .mobile-map-toolbar{left:calc((100vw - var(--desktop-results-width) - 16px)/2);bottom:28px;width:min(370px,calc(100vw - var(--desktop-results-width) - 40px));background:#eff7ffcf}
 .mobile-map-toolbar .area-controls .area-draw-label{display:none}
 .mobile-map-toolbar .area-controls:not(.is-editing) .area-hand-icon{display:block;width:27px;height:27px}
 .mobile-map-toolbar .area-controls.is-editing .area-draw-mobile-label{display:inline}
 body.browse-mode .explore-scene .list-reopen{inset-inline:auto;right:16px;left:auto;top:calc(var(--header-height) + 16px);bottom:auto;border-radius:999px;transform:none}
 .explore-scene .leaflet-control-zoom{border:1px solid #ffffffc9!important;border-radius:999px!important;overflow:hidden;box-shadow:0 5px 20px #143b5f25!important}
 .explore-scene .leaflet-control-zoom a{background:#eff7ffdf;color:#2459a6}
 .results-view,.results-view button,.explore-scene .list-layers button{border-radius:999px}
 /* The desktop welcome menu uses the same pill language. */
 .welcome-page .welcome-grid>.welcome-group{border-radius:30px}
 .welcome-page .welcome-tool,.welcome-page .welcome-menu-actions>button,.welcome-page .welcome-slideshow-controls>button{border-radius:999px}
}
@media(min-width:761px){
 .welcome-page .welcome-grid>.welcome-group:not([open]){border-radius:999px}
 .welcome-page .welcome-group-heading{border-radius:999px}
}

@media(min-width:761px){
 .browse-mode .explore-scene .results::-webkit-scrollbar{width:5px}
 .browse-mode .explore-scene .results::-webkit-scrollbar-track{background:transparent;margin-block:56px 12px}
 .browse-mode .explore-scene .results::-webkit-scrollbar-thumb{background:rgba(92,119,141,.38);border-radius:999px}
 .browse-mode .explore-scene .results::-webkit-scrollbar-thumb:hover{background:rgba(92,119,141,.6)}
 .browse-mode .explore-scene .results::-webkit-scrollbar-button{display:none;width:0;height:0}
 .browse-mode .explore-scene .results .cards .compact-card{background:rgba(255,255,255,.72)}
}

/* Separate glass circles leave the map visible between actions. */
body .mobile-map-toolbar{justify-content:center;gap:clamp(6px,2vw,12px);width:max-content;max-width:calc(100vw - 20px);min-height:44px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none}
body .mobile-map-toolbar>button,body .mobile-map-toolbar .toolbar-map-style>summary,body .mobile-map-toolbar .area-controls #area-draw{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:9px;border:1px solid #ffffffb3;border-radius:50%;background:#f0f8ffc4;color:#2459a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 3px 12px #14365720;pointer-events:auto;cursor:pointer}
body .mobile-map-toolbar>button:hover,body .mobile-map-toolbar .toolbar-map-style>summary:hover,body .mobile-map-toolbar .area-controls #area-draw:hover{background:#e0eefff2}
body .mobile-map-toolbar>button:focus-visible,body .mobile-map-toolbar .toolbar-map-style>summary:focus-visible,body .mobile-map-toolbar .area-controls #area-draw:focus-visible{outline:2px solid #2459a6;outline-offset:3px}
body .mobile-map-toolbar .area-controls{flex:0 0 44px;background:transparent;border:0;box-shadow:none}
body .mobile-map-toolbar .area-controls.is-editing #area-draw{padding:3px;font-size:10px;white-space:normal;line-height:1.2}
body .mobile-map-toolbar .area-controls #area-draw[aria-pressed=true]{background:#4169e1;color:white}
body .mobile-map-toolbar .toolbar-style-panel,body .mobile-map-toolbar #area-cancel,body .mobile-map-toolbar #area-clear{pointer-events:auto}
.results-controls>.sheet-publish{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:40px;height:44px;flex:0 0 40px;padding:3px;border:1px solid #ffffff90;border-radius:18px;color:#2459a6;background:#edf5ff99}
.results-controls>.sheet-publish svg{width:18px;height:18px;flex-shrink:0}
.results-controls>.sheet-publish span{font-size:10px;line-height:1.2;font-weight:500;white-space:nowrap}
.results-controls>.sheet-liked{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:44px;padding:6px;border:0;border-radius:50%;color:#2459a6;background:#edf5ff99}
.results-controls>.sheet-liked svg{width:24px;height:24px}
.sheet-liked .toolbar-count{position:absolute;top:0;right:0;min-width:16px;line-height:16px;font-size:10px;border-radius:9px;background:#4169e1;color:white;text-align:center}
@media(max-width:760px){.mobile-property-sheet .sheet-liked,.mobile-property-sheet .sheet-publish{flex-basis:38px;width:38px}}
@media(min-width:761px){.results-controls>.sheet-publish{grid-area:publish}.results-controls>.sheet-liked{grid-area:liked}}

/* Primary navigation is one floating pill; map tools stay as four separate circles. */
body .explore-scene.has-map-navigation .mobile-map-toolbar{left:50%;bottom:calc(94px + env(safe-area-inset-bottom))}
.map-navigation-dock{position:fixed;z-index:980;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;justify-content:space-evenly;gap:6px;width:min(360px,calc(100vw - 24px));min-height:62px;padding:6px 10px;border:1px solid #ffffffc9;border-radius:999px;background:#eff7ffcf;color:#2459a6;box-shadow:0 5px 24px #143b5f35;backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%)}
.map-navigation-dock>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;min-width:0;height:48px;margin:0;padding:4px 2px;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer}
.map-navigation-dock>button>svg{display:block;width:24px;height:24px;flex-shrink:0}
.map-navigation-dock>button>span:not(.toolbar-count){font-size:11px;line-height:1.2;font-weight:500;white-space:nowrap}
.map-navigation-dock>button:hover,.map-navigation-dock>button[aria-expanded=true]{background:#d7e9ff}
.map-navigation-dock>button:focus-visible{outline:2px solid #2459a6;outline-offset:2px}
.map-navigation-dock .toolbar-count{top:0;right:calc(50% - 23px)}
body .has-map-navigation .list-reopen{display:none!important}
@media(max-width:760px){
 body.browse-mode .has-map-navigation .results.mobile-property-sheet[data-snap=peek]{border:0;box-shadow:none;visibility:hidden!important;pointer-events:none!important}
 body.valuation-mode .has-map-navigation .valuation-glass{bottom:calc(154px + env(safe-area-inset-bottom));max-height:calc(100dvh - 182px)}
}
@media(min-width:761px){
 body .has-map-navigation .results-controls{grid-template-columns:32px minmax(0,1fr) 38px;grid-template-areas:'drag views close'}
 body .has-map-navigation .results{padding-bottom:160px!important}
}

/* A quiet, compact property-sheet heading with a centered drag grip. */
@media(max-width:760px){
 body .explore-scene .mobile-property-sheet .sheet-controls{min-height:54px;height:54px;padding:10px 10px 0;gap:6px;background:transparent;border-bottom:1px solid #ffffff30}
 body .explore-scene .mobile-property-sheet .sheet-handle{position:absolute;top:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:0;width:64px;min-width:64px;min-height:22px;height:22px;padding:8px 0 0;margin:0;background:transparent;border:0;border-radius:12px;z-index:2}
 body .explore-scene .mobile-property-sheet .sheet-handle>span{width:44px;height:4px;background:#f7fbffe6;box-shadow:0 1px 3px #254c7040;border-radius:999px}
 .mobile-property-sheet .sheet-title{display:flex;align-items:center;gap:7px;flex:1;min-width:0;padding-inline-start:6px;color:#284f70}
 .mobile-property-sheet .sheet-title>b{font-size:13px;font-weight:500;line-height:1.3}
 .mobile-property-sheet .sheet-result-count{font-size:11px;font-weight:400;color:#657e92;font-variant-numeric:tabular-nums}
 body .explore-scene .mobile-property-sheet .sheet-controls .results-view{display:flex;gap:2px;padding:0;border:0;border-radius:999px;background:transparent;box-shadow:none;height:40px}
 body .explore-scene .mobile-property-sheet .sheet-controls .results-view button{display:flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:10px;border:0;border-radius:12px;background:transparent;color:#627d94;box-shadow:none}
 body .explore-scene .mobile-property-sheet .sheet-controls .results-view button[aria-pressed=true]{background:#deebf8b3;color:#2459a6;box-shadow:none}
 body .explore-scene .mobile-property-sheet .sheet-controls .results-view button svg{display:block;width:18px;height:18px}
 body .explore-scene .mobile-property-sheet .sheet-controls .results-view button>span{display:none}
 body .explore-scene .mobile-property-sheet .sheet-controls .list-collapse{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;min-height:40px;height:40px;padding:10px;margin:0;background:transparent;border:0;box-shadow:none;color:#41627d;border-radius:50%}
 body .explore-scene .mobile-property-sheet .sheet-controls .list-collapse svg{width:20px;height:20px}
}
/* Property favorites use red outlines and solid red for saved homes. */
body .heart[data-save],body .heart[data-save]>svg,body #detail-save>svg{color:#d83954}
body .heart[data-save].saved>svg,body .heart[data-save][aria-pressed=true]>svg,body #detail-save.saved>svg,body #detail-save[aria-pressed=true]>svg{fill:#d83954;color:#d83954}
body #detail-save.saved{background:#fff0f3;border-color:#f0b8c2;color:#bc2d46}

/* The entire free header surface drags; tools track the sheet's top edge. */
@media(max-width:760px){
 body .explore-scene .mobile-property-sheet .sheet-controls{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
 body .explore-scene.sheet-is-dragging .sheet-controls{cursor:grabbing}
 body .explore-scene.has-map-navigation.has-property-sheet .mobile-map-toolbar{bottom:max(calc(94px + env(safe-area-inset-bottom)),calc(var(--mobile-results-height,0px) + 12px));transition:bottom .24s ease}
 body .explore-scene.has-map-navigation.sheet-is-dragging .mobile-map-toolbar{transition:none}
}
@media(prefers-reduced-motion:reduce){body .explore-scene.has-map-navigation.has-property-sheet .mobile-map-toolbar{transition:none}}

/* Lightweight property favorites; sharing stays in the open property window. */
body .cards .property-card.compact-card .heart[data-save]{width:40px;height:40px;padding:8px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
body .cards .property-card.compact-card .heart[data-save]>svg{width:24px;height:24px;filter:drop-shadow(0 1px 1px #ffffffb3)}
body .property-actions #share-property{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:10px;border-radius:50%}
body .property-actions #share-property>svg{width:22px;height:22px}

/* Two result views: horizontal photo rows, or compact photo-first tiles. */
body .explore-scene .results .cards[data-layout=list]{display:grid;grid-template-columns:minmax(0,1fr)}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card{display:grid;grid-template-columns:minmax(0,1fr);border-radius:16px;min-width:0;align-self:stretch;align-content:start}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .photo-btn,
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .card-photo-empty{position:relative;grid-column:1;grid-row:1;width:100%;height:auto;min-height:0;aspect-ratio:4/3;padding:0;overflow:hidden}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .photo-btn img{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .card-photo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#e7eff4;color:#6a8193;font-size:12px}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .card-photo-empty svg{width:28px;height:28px}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .card-info{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:4px;padding:9px;min-width:0}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .card-summary{padding:0;min-height:0;gap:3px 5px;font-size:10px;line-height:1.4}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .card-kind{font-size:11px}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .price{font-size:clamp(16px,4.5vw,21px);line-height:1.3;max-width:none;margin:0;padding:0;align-self:stretch}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .card-address{font-size:13px;line-height:1.4;min-height:36px;margin:0;padding:0;text-align:start}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .specs{font-size:12px;line-height:1.5;gap:3px 7px;margin:0;flex-wrap:wrap}
body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview) .minimal-card .heart{top:4px;inset-inline-start:4px;inset-inline-end:auto}
@media(max-width:359px){body :is(.explore-scene .results .cards:is([data-layout=tiles],[data-layout=single]),.seller-card-preview){grid-template-columns:minmax(0,1fr)}}
@media(min-width:761px){
 body .explore-scene .results .cards[data-layout=list] .compact-card.has-photo:not(.minimal-card){grid-template-columns:34% minmax(0,1fr)}
 body .explore-scene .results .cards[data-layout=list] .compact-card .photo-btn{grid-column:1;grid-row:1;aspect-ratio:auto;height:100%;min-height:144px}
 body .explore-scene .results .cards[data-layout=list] .compact-card.has-photo:not(.minimal-card) .card-info{grid-column:2;grid-row:1}
 body .explore-scene .results .cards[data-layout=list] .compact-card .photo-btn img{position:absolute;inset:0}
}

/* The information panel is portalled to body, so its controls are self-contained. */
body .overlay-panel.overlay-floating{display:flex;flex-direction:column;gap:0;padding:14px;border-radius:24px;border:1px solid #ffffffd9;background:rgba(246,250,253,.96);color:#193d58;box-shadow:0 12px 36px #153c592b;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);overflow:hidden}
body .overlay-panel[hidden]{display:none}
body .overlay-panel .overlay-heading{flex:none;gap:10px;align-items:center}
body .overlay-panel .overlay-title-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:12px;background:#e1edfb;color:#285ca0}
body .overlay-panel .overlay-title-copy{flex:1;min-width:0}
body .overlay-panel .overlay-heading strong{display:block;font-size:15px;line-height:1.45;font-weight:700}
body .overlay-panel #overlay-selection-count{display:block;margin-top:3px;font-size:11px;line-height:1.4;color:#62798c}
body .overlay-panel #overlay-close{display:flex;align-items:center;justify-content:center;flex:none;width:40px;min-width:40px;height:40px;padding:9px;border:1px solid #d7e3ed;border-radius:50%;background:#ffffff9c;color:#35566e}
body .overlay-panel .overlay-actions{display:flex;gap:8px;margin:13px 0 10px;flex:none}
body .overlay-panel .overlay-actions button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:38px;padding:7px 10px;border-radius:999px;background:#e7eff8;border:1px solid #d7e3ef;color:#28578c;font-size:12px}
body .overlay-panel .overlay-actions svg{width:16px;height:16px}
body .overlay-panel .overlay-options{display:block;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#b4c6d7 transparent;padding:0 2px 3px}
body .overlay-panel .overlay-group+.overlay-group{margin-top:10px}
body .overlay-panel .overlay-group h3{margin:3px 7px 5px;font-size:11px;font-weight:500;color:#697f91}
body .overlay-panel .overlay-options button{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:6px 8px;margin:3px 0;border:1px solid transparent;border-radius:14px;background:#ffffff91;text-align:start;font-size:13px;line-height:1.4}
body .overlay-panel .overlay-options button[aria-pressed=true]{background:#e6f0ff;border-color:#afccef}
body .overlay-panel .overlay-option-icon{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:10px;background:#f1f5f8;color:var(--layer-color)}
body .overlay-panel .overlay-option-icon svg{width:21px;height:21px}
body .overlay-panel .overlay-option-label{flex:1;min-width:0}
body .overlay-panel .overlay-option-label small{display:inline-block;margin-inline-start:6px;padding:1px 5px;border-radius:5px;background:#edf0f4;color:#6b7985;font-size:10px}
body .overlay-panel .overlay-switch{position:relative;flex:none;display:block;width:30px;height:18px;border-radius:999px;background:#b9c7d3;transition:background .15s}
body .overlay-panel .overlay-switch span{position:absolute;top:2px;inset-inline-start:2px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #2345;transition:inset-inline-start .15s}
body .overlay-panel [aria-pressed=true] .overlay-switch{background:#2168dc}
body .overlay-panel [aria-pressed=true] .overlay-switch span{inset-inline-start:14px}
body .overlay-panel button:focus-visible{outline:2px solid #2464bb;outline-offset:-2px}
body .overlay-panel #overlay-status{flex:none;font-size:11px;line-height:1.5;margin:9px 2px 0;padding-top:8px;border-top:1px solid #dbe5ee;max-height:60px;overflow:auto;color:#577085}
body .overlay-panel #overlay-status:empty{display:none}
@media(prefers-reduced-motion:reduce){body .overlay-panel .overlay-switch,body .overlay-panel .overlay-switch span{transition:none}}

/* A valuation has no results sheet to open. Keep its map tools at rest. */
body.valuation-mode .map-navigation-dock #map-properties{display:none}
body.valuation-mode .explore-scene.has-map-navigation.has-property-sheet .mobile-map-toolbar{bottom:calc(94px + env(safe-area-inset-bottom))}

@media(max-width:760px){body .map-navigation-dock{bottom:calc(6px + env(safe-area-inset-bottom))}}
