/* phase 510: one look for every map on the site */
/* clearer map: slightly crisper tiles on every map */
.leaflet-container .leaflet-tile-pane{filter:contrast(1.06) saturate(1.12)}
/* pins: green for sale, orange for rent, white chip so the price is easy to read */
.leaflet-container .pin-chip{--pin:#0f766e}
.leaflet-container .pin-chip.pin-rent{--pin:#d97706}
.pin-wrap .pin-chip.pin-rent{--pin:#d97706}
.mp .pin-chip.pin-rent{border-color:#d97706!important}.mp .pin-chip.pin-rent:before{background-color:#d97706!important}
.mp .pin-chip.pin-sell,.mp .pin-chip.pin-buy{border-color:#0f766e!important}
.mp .pin-chip.pin-rent.is-active{background:#b45309!important;color:#fff!important}
/* you are here: blue, so it never looks like a listing */
.me-dot{background:#2563eb!important;box-shadow:0 0 0 3px #fff,0 0 0 9px rgba(37,99,235,.22)!important}
/* map key, bottom left */
.lsm-key{display:flex;gap:12px;flex-wrap:wrap;background:var(--ls-surface,#fff);color:var(--ink,#0f172a);border-radius:10px;padding:7px 10px;font:600 12px/1.2 var(--ls-font,Inter,system-ui,sans-serif);box-shadow:0 3px 12px rgba(15,23,42,.16);margin:0 0 12px 12px!important}
.lsm-key span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.lsm-key i{width:10px;height:10px;border-radius:50%;display:inline-block}
.lsm-key i.is-me{box-shadow:0 0 0 3px rgba(37,99,235,.25)}
/* empty view: where the nearest listings are */
.lsm-empty{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:900;display:flex;gap:14px;align-items:center;max-width:calc(100% - 32px);background:#0f172a;color:#fff;border-radius:12px;padding:10px 12px 10px 14px;box-shadow:0 10px 26px rgba(0,0,0,.3);font:500 13px/1.35 var(--ls-font,Inter,system-ui,sans-serif)}
.lsm-empty span{display:grid;gap:2px;min-width:0}.lsm-empty small{color:#cbd5e1;font-size:12px}
.lsm-empty button{flex:none;border:0;border-radius:9px;background:#14b8a6;color:#04201d;font:800 13px/1 inherit;font-family:inherit;padding:10px 12px;cursor:pointer}
.lsm-empty button:focus-visible{outline:2px solid #fcd34d;outline-offset:2px}
/* Map / Satellite switch top right on every map */
.leaflet-top.leaflet-right .map-switch{margin:12px 12px 0 0!important}
/* zoom buttons: larger and easy to tap */
.leaflet-container .leaflet-control-zoom a{width:38px;height:38px;line-height:38px;font-size:20px}
.leaflet-container .leaflet-control-zoom{border:0!important;border-radius:10px!important;overflow:hidden;box-shadow:0 3px 12px rgba(15,23,42,.16)!important}
/* map page: the list follows the map */
.mp-sync{margin:2px 0 8px;font-size:.8rem;color:var(--ls-text-muted,#64748b)}
.mp-none{margin:6px 0 10px;padding:12px 14px;border-radius:12px;background:#f1f8f7;color:#35514d;font-size:.9rem}
@media (max-width:700px){.lsm-key{display:none}.lsm-empty{left:12px;right:12px;transform:none;max-width:none;bottom:auto;top:70px}}
/* map page: the hint sits under the search box (the "Search this area" button is at the bottom) and replaces the small note */
.mp .lsm-empty{bottom:auto;top:64px}
.mp-map:has(.lsm-empty) .sx-mapnote{display:none!important}
@media (max-width:700px){.mp .lsm-empty{top:76px;right:76px}}
[data-theme=dark] .lsm-key{background:#111a19;color:#e2e8f0}[data-theme=dark] .mp-none{background:#132423;color:#cfe5e1}
/* map page: the "no map location yet" note was stretched into a tall white panel over the map tools; now a small note under the search box */
.mp .sx-mapnote{position:absolute!important;left:50%!important;right:auto!important;top:64px!important;bottom:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:min(440px,calc(100% - 32px))!important;height:auto!important;min-height:0!important;margin:0!important;padding:7px 12px!important;border-radius:10px!important;background:var(--ls-surface,#fff)!important;color:#334155!important;font:500 12.5px/1.35 var(--ls-font,Inter,system-ui,sans-serif)!important;box-shadow:0 3px 12px rgba(15,23,42,.16)!important;z-index:800!important;pointer-events:none}
.mp .sx-mapnote[hidden]{display:none!important}
@media (max-width:700px){.mp .sx-mapnote{top:112px!important}}
