.district-price.zoom-price span{background:var(--price-badge)!important;color:var(--price-ink)!important;border:1px solid #ffffffcc!important;border-radius:5px;padding:4px 7px;box-shadow:0 2px 8px #142c3b44;min-width:75px;width:auto;max-width:120px}
.district-price.zoom-price span small,.district-price.zoom-price span em,.district-price.zoom-price span b{color:inherit!important}
.district-price.zoom-price span small{font-size:10px;line-height:1.25}.district-price.zoom-price span b{font-size:17px;line-height:1.2}.district-price.zoom-price span em{font-size:9px}
#inventoryExportPDF{font-size:12px;padding:7px 10px;min-height:36px;border:1px solid #aac8da;border-radius:7px;background:#eef5fa;color:#1d536f}
.satellite-mode .leaflet-overlay-pane path:not(.source-market-point):not(.source-listing-point){fill-opacity:.16!important;stroke:#25c4e8!important;stroke-width:1.3!important}
.satellite-mode .leaflet-overlay-pane path[fill="#eef0f2"]:not(.source-market-point):not(.source-listing-point){fill-opacity:.05!important}
.building-price button{display:flex;flex-direction:column;align-items:center;gap:1px;width:130px;min-height:72px;border:2px solid var(--building-color,#3d6683);border-radius:10px;background:#fff;color:#15394a;box-shadow:0 3px 12px #0004;padding:5px;cursor:pointer;line-height:1.25}.building-price small{font-size:11px;max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.building-price b{font-size:20px;font-variant-numeric:tabular-nums}.building-price em,.building-price span{font-size:10px;font-style:normal}.building-price button:hover{outline:2px solid #168dea;transform:translateY(-2px)}

/* Price tiles use the legend colour with a light translucent fill and white frame. */
.building-price button{background:rgba(var(--building-rgb,61,102,131),.88);border:2px solid rgba(255,255,255,.97);color:var(--building-ink,#fff);box-shadow:0 3px 12px #0005;backdrop-filter:blur(1px)}.building-price button:hover{background:rgba(var(--building-rgb,61,102,131),.98);outline:2px solid #ffffffaa}.building-price small,.building-price em,.building-price span,.building-price b{color:inherit!important}.district-price.zoom-price>span{background:color-mix(in srgb,var(--price-badge,#3d6683) 88%,transparent)!important;border:2px solid #fff!important;color:var(--price-ink,#fff)!important}

/* Compact two-line building prices: name, then amount with currency/unit. */
.building-price button{width:174px;min-height:54px;height:54px;padding:6px 8px;gap:3px;border-radius:8px;justify-content:center}
.building-price small{display:block;width:154px;max-width:154px;font-size:11px;line-height:14px}
.building-price b{display:flex;align-items:baseline;justify-content:center;gap:5px;white-space:nowrap;line-height:21px}
.building-price b strong{font-size:19px;font-weight:750}.building-price b em{font-size:10px;line-height:1;font-weight:500;white-space:nowrap}

/* AI HOME2: numeric map markers must stay readable on the very first render.
   Match the Leaflet icon width to the actual button, including iPad/mobile. */
.leaflet-marker-icon.source-price-pin{overflow:visible!important;white-space:nowrap!important}
.source-price-pin>button{
 box-sizing:border-box!important;
 width:var(--pin-width,82px)!important;
 min-width:70px!important;
 height:34px!important;
 min-height:34px!important;
 padding:3px 6px!important;
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 align-items:center!important;
 line-height:1.15!important;
 color:var(--building-ink,#fff)!important;
 font-size:15px!important;
}
.source-price-pin>button b,.source-price-pin>button strong{
 display:block!important;visibility:visible!important;opacity:1!important;
 color:inherit!important;font-size:15px!important;font-weight:750!important;
 line-height:20px!important;white-space:nowrap!important;
}
@media(max-width:650px){
 .source-price-pin>button{min-width:70px!important;width:var(--pin-width,70px)!important}
 .source-price-pin>button strong{font-size:14px!important}
}

/* AI HOME2 clustered numeric labels: previously styled single prices only.
   MapClusters creates .map-cluster with a price strong and a listing-count small.
   The cluster custom properties are on the button, not the outer Leaflet div. */
.leaflet-marker-icon.map-cluster{
 background:transparent!important;
 border:0!important;
 overflow:visible!important;
 white-space:normal!important;
}
.leaflet-marker-icon.map-cluster>button{
 box-sizing:border-box!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 gap:2px!important;
 width:var(--cluster-size,58px)!important;
 min-width:var(--cluster-size,58px)!important;
 height:var(--cluster-size,58px)!important;
 min-height:var(--cluster-size,58px)!important;
 max-width:none!important;
 padding:5px 3px!important;
 border:2px solid rgba(255,255,255,.96)!important;
 border-radius:13px!important;
 background:var(--cluster,#245e83)!important;
 color:var(--cluster-ink,#fff)!important;
 box-shadow:0 2px 8px #102e4435!important;
 cursor:pointer!important;
 text-align:center!important;
 font-family:Dubai,Arial,sans-serif!important;
 line-height:1.12!important;
 opacity:1!important;
 visibility:visible!important;
 pointer-events:auto!important;
}
.leaflet-marker-icon.map-cluster>button>strong,
.leaflet-marker-icon.map-cluster>button>small{
 display:block!important;
 color:inherit!important;
 opacity:1!important;
 visibility:visible!important;
 font-style:normal!important;
 padding:0!important;
 margin:0!important;
 width:100%!important;
 max-width:100%!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 white-space:nowrap!important;
}
.leaflet-marker-icon.map-cluster>button>strong{
 font-size:clamp(11px,1.3vw,16px)!important;
 font-weight:750!important;
 font-variant-numeric:tabular-nums!important;
 unicode-bidi:isolate!important;
}
.leaflet-marker-icon.map-cluster>button>small{
 font-size:9px!important;
 font-weight:550!important;
}
.leaflet-marker-icon.map-cluster>button>small>span{
 color:inherit!important;
 font:inherit!important;
 font-weight:750!important;
}
@media(max-width:650px){
 .leaflet-marker-icon.map-cluster>button>strong{font-size:12px!important}
 .leaflet-marker-icon.map-cluster>button>small{font-size:8px!important}
}
