.property-map-section{margin-top:24px;border-top:1px solid var(--line);padding-top:26px;scroll-margin-top:115px}
.property-map-intro{display:flex;align-items:center;justify-content:space-between;gap:24px}
.property-map-intro .eyebrow{margin-bottom:10px}
.property-map-intro h2{font-size:clamp(1.65rem,3vw,2rem);letter-spacing:-.65px;line-height:1.2;margin-bottom:10px}
.property-map-intro p:not(.eyebrow){color:var(--muted);margin-bottom:0;max-width:650px}
.property-map-intro>.button{flex-shrink:0;min-height:48px}
#property-map-panel{margin-top:24px}
.property-map-filters{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:16px}
.property-map-filters label{font-size:13px;min-width:0}
.property-map-filters select{width:100%;min-height:46px;font-size:16px;background:#fff;color:var(--ink)}
.property-map-filters button{min-height:46px}
.property-map-status{font-size:14px;font-weight:600;color:var(--ink);margin:18px 0 6px}
.property-map-note{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:14px;max-width:850px}
.property-map-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:12px}
.map-legend{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:12px;margin-right:auto}
.map-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-left:8px}
.map-dot:first-child{margin-left:0}.map-dot.sale{background:#991b20}.map-dot.rent{background:#226b59}.map-dot.approximate{border:1.5px dashed var(--ink);background:transparent}
.property-map-tools .text-button{font-size:13px;min-height:44px}
.property-map-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:18px}
.property-map-canvas{height:440px;background:#ece7df;border:1px solid var(--line);border-radius:5px;position:relative;isolation:isolate;z-index:0;min-width:0}
.property-map-canvas.leaflet-container{font-family:var(--sans)}
.property-map-canvas .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;color:var(--ink)}
.property-map-canvas .leaflet-control-attribution{font-size:10px;line-height:1.4;max-width:100%;background:#fffffff0;color:#292521}
.property-map-canvas .leaflet-control-attribution a{color:#701318}
.property-map-marker{background:none;border:0}
.map-marker-label{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50% 50% 50% 3px;transform:rotate(-45deg);border:3px solid #fff;box-shadow:0 2px 7px #0005;background:#991b20;color:white;font:bold 16px/1 Arial}
.map-marker-label>span{transform:rotate(45deg);font-size:24px}
.map-marker-label.rent{background:#226b59}.map-marker-label.mixed{background:linear-gradient(135deg,#991b20 50%,#226b59 50%)}
.map-marker-label.approximate{outline:2px dashed #fff;outline-offset:-6px}
.property-map-results{max-height:440px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:5px;background:#fffdfb;padding:16px;min-width:0}
.property-map-results h3{font-size:15px;font-weight:600;margin-bottom:12px}
.property-map-results ul{list-style:none;margin:0;padding:0}
.property-map-results li{padding:14px 0;border-top:1px solid var(--line)}
.map-result-select{display:block;text-align:left;padding:0;background:none;border:0;color:var(--ink);width:100%;min-height:44px;line-height:1.5}
.map-result-select span{display:block;color:var(--muted);font-size:11px}
.map-result-select strong,.map-result-title strong{font-size:14px}
.map-result-select:hover strong{color:var(--red);text-decoration:underline}
.property-map-results li>p{font-size:14px;margin:5px 0}
.property-map-results li>small{display:block;color:var(--muted);font-size:11px;line-height:1.6}
.property-map-results li>a{display:inline-flex;align-items:center;min-height:44px;color:var(--red);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.map-popup{font-family:var(--sans);line-height:1.5;color:#272522}
.map-popup article+article{border-top:1px solid #e7e1da;padding-top:14px;margin-top:14px}
.map-popup img{width:100%;height:120px;object-fit:cover;border-radius:3px}
.map-popup h3{font-size:16px;line-height:1.4;margin:8px 0}
.map-popup p{font-size:12px;margin:6px 0!important}
.map-popup .map-popup-operation{font-size:11px;color:#701318}
.map-popup .map-popup-note{color:#716b64;font-size:11px}
.map-popup a{color:#991b20!important;display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:underline}
.map-popup-group{font-weight:bold}
.property-map-canvas .leaflet-popup-close-button{width:44px!important;height:44px!important;line-height:44px!important;z-index:1;background:#ffffffe8;border-radius:50%;color:#272522!important}
#map-instructions,.map-attribution{margin:12px 0 0;line-height:1.6}
.map-attribution a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:800px){.property-map-intro{align-items:start;flex-direction:column;gap:18px}.property-map-layout{grid-template-columns:1fr}.property-map-results{max-height:260px}.property-map-canvas{height:380px}.property-map-filters{grid-template-columns:1fr 1fr}.property-map-filters label:nth-child(3){grid-column:1/-1}}
@media(max-width:600px){.property-map-intro>.button{width:100%}.property-map-section{padding-top:22px}.property-map-canvas{height:350px}.property-map-filters{gap:12px}.property-map-status{line-height:1.6}.map-legend{width:100%;font-size:11px}.property-map-tools{gap:4px 14px}.property-map-note{font-size:12px}}

.map-area-label{display:flex;align-items:center;justify-content:center;width:92px;height:32px;border:2px dashed #826b51;border-radius:18px;background:#fff6e5;color:#624c32;font:600 12px/1 Arial;box-shadow:0 1px 5px #0002}

.map-reference-key{border:1px dashed #826b51;border-radius:12px;background:#fff6e5;color:#624c32;font:600 10px/1.3 Arial;padding:3px 5px;margin-left:8px}

/* Price markers and a mobile selection sheet independent of map gestures. */
.property-map-stage{position:relative;isolation:isolate;min-width:0;align-self:start}
.map-interaction-toolbar{position:absolute;right:12px;top:12px;z-index:500;pointer-events:none;max-width:calc(100% - 82px)}
.map-interaction-button{pointer-events:auto;min-height:48px;max-width:100%;padding:10px 14px;border:1px solid var(--red);border-radius:9px;background:#fffdfb;color:var(--red);box-shadow:0 2px 10px #20121124;font-size:.8125rem;font-weight:600;line-height:1.4}
.map-interaction-button[aria-pressed=true]{background:var(--red);color:#fffdfb}
.property-map-stage.map-preview .property-map-canvas{touch-action:pan-y pinch-zoom;cursor:default}
.property-map-stage.map-exploring .property-map-canvas{touch-action:none}
.property-map-marker{display:flex;justify-content:center;align-items:flex-start}
.map-marker-label{position:relative;width:max-content;min-width:88px;max-width:144px;height:44px;padding:4px 9px;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;transform:none;border:2px solid #fffdfb;border-radius:9px;background:#991b20;color:#fffdfb;font:600 13px/1.15 Arial;box-shadow:0 2px 8px #20121140;white-space:nowrap}
.map-marker-label::after{content:"";position:absolute;bottom:-7px;left:calc(50% - 6px);border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #991b20}
.map-marker-label>small{font:400 11px/1 Arial;letter-spacing:.02em}
.map-marker-label>strong{font:600 13px/1.2 Arial;font-variant-numeric:tabular-nums}
.map-marker-label.rent{background:#226b59}.map-marker-label.rent::after{border-top-color:#226b59}
.map-marker-label.approximate{outline:0;border-style:dashed}
.map-cluster-label{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:3px solid #fffdfb;border-radius:50%;background:var(--ink);color:#fffdfb;box-shadow:0 2px 8px #20121140;font:600 16px/1 Arial}
.map-area-label{width:100px;height:44px;font-size:12px}
.map-marker-selected .map-marker-label,.map-marker-selected .map-cluster-label,.map-marker-selected .map-area-label{outline:3px solid var(--ink);outline-offset:2px}
.map-property-sheet{position:absolute;left:12px;right:12px;bottom:32px;z-index:510;border:1px solid var(--line);border-radius:12px;background:#fffdfb;color:var(--ink);padding:12px;box-shadow:0 5px 24px #20121136;font-family:var(--sans)}
.map-sheet-close{position:absolute;top:4px;right:4px;z-index:1;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#fffdfb;color:var(--ink);font:400 24px/1 Arial}
.map-sheet-property{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;min-height:76px;padding-right:30px;color:var(--ink)}
.map-sheet-property>img,.map-sheet-photo-placeholder{width:72px;height:76px;object-fit:cover;border-radius:6px;background:#ede4dc}
.map-sheet-photo-placeholder{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}
.map-sheet-summary{display:flex;flex-direction:column;gap:4px;min-width:0}
.map-sheet-price{font-size:1.125rem;font-weight:700;line-height:1.25;font-variant-numeric:tabular-nums;color:var(--red-dark);overflow-wrap:anywhere}
.map-sheet-title{font:400 1rem/1.3 var(--serif);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.map-sheet-location{font-size:.75rem;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.map-sheet-facts{font-size:.8125rem;line-height:1.45;margin:10px 0 4px;overflow-wrap:anywhere}
.map-sheet-note{font-size:.75rem;line-height:1.4;margin:0 0 10px;color:var(--muted);overflow-wrap:anywhere}
.map-sheet-visit{display:flex;width:100%;min-height:48px;padding:11px 12px;border-radius:7px;font-size:.875rem}
.map-sheet-pager{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:-4px 32px 8px -4px}
.map-sheet-pager button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:6px;background:#fffdfb;color:var(--red);font-size:24px;line-height:1}
.map-sheet-pager button:disabled{opacity:.4}
.map-sheet-pager span{font-size:.75rem;line-height:1.4}
.map-popup .map-popup-visit{display:flex;justify-content:center;padding:10px;margin-top:8px;background:#991b20;border-radius:6px;color:#fffdfb!important;text-decoration:none}
@media(min-width:801px){.map-property-sheet{display:none}}
@media(max-width:800px){.property-map-canvas{height:clamp(350px,62svh,420px)}.property-map-stage.has-map-selection .property-map-canvas{min-height:calc(var(--map-selection-height,220px) + 160px)}.property-map-results{max-height:none;overflow:visible;overscroll-behavior:auto}.property-map-results li{break-inside:avoid}}
@media(max-width:360px){.map-property-sheet{left:8px;right:8px;padding:10px}.map-sheet-property{grid-template-columns:60px minmax(0,1fr);gap:8px}.map-sheet-property>img,.map-sheet-photo-placeholder{width:60px;height:72px}.map-sheet-price{font-size:1.0625rem}}

.property-map-stage .property-map-canvas .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}
