#map-screen{position:fixed;inset:0;z-index:32;display:none;background:var(--bg)}
#map-screen.active{display:flex;flex-direction:column}
.map-bar{height:56px;flex:none;display:flex;align-items:center;gap:12px;padding:8px 16px;background:var(--bg);border-bottom:1px solid var(--border)}
.map-bar .gallery-action{flex-shrink:0}
.map-title{font-weight:750;font-size:14px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-controls{flex:none;margin-left:0;display:flex;align-items:center;gap:6px;padding:8px 12px;background:var(--bg);border-bottom:1px solid var(--border)}
.map-price-input{width:72px;height:32px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px;min-width:0}
.map-price-dash{color:var(--ink-soft);font-size:12px}
.map-currency-select{height:32px;padding:0 6px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px;max-width:88px}
.map-apply{margin-left:auto;height:32px;padding:0 14px;border:0;border-radius:8px;background:var(--brand-yellow);color:var(--on-yellow);font-weight:750;font-size:12px;cursor:pointer;white-space:nowrap}
#map{position:relative;flex:1;min-height:0}
.map-cluster-count{background:var(--brand-yellow);color:#221b10;border:1px solid #d6a638;border-radius:50%;font-weight:800;font-size:11px;line-height:1;box-shadow:0 1px 3px #0003}
.map-popup{font-size:12px;line-height:1.5;max-width:240px}
.map-popup b{display:block;margin-bottom:4px}
.map-popup-photo{display:block;width:200px;height:110px;object-fit:cover;border-radius:8px;margin-bottom:8px;background:var(--surface)}
.map-popup-price{margin:4px 0 8px;font-weight:800;color:#111;font-size:14px}
.map-open{border:0;background:var(--brand-yellow);color:var(--on-yellow);border-radius:7px;padding:7px 12px;font-weight:700;cursor:pointer}
.leaflet-container{font-family:inherit}
.zone-tab.map-toggle{cursor:pointer}
.filter-bar .map-toggle{border-color:var(--accent);color:var(--accent);font-weight:700}
.pin-picker-stage{height:280px;border-radius:12px;overflow:hidden;margin-bottom:12px}
.pin-picker-stage .leaflet-container{height:100%;width:100%}
[data-theme="dark"] .leaflet-container{background:#1a1f18}
[data-theme="dark"] .leaflet-tile{filter:brightness(.85) saturate(.9)}
/* Быстрые фильтры недвижимости */
.quick-filters{display:flex;flex-wrap:wrap;gap:10px 16px;padding:12px 22px 0;max-width:var(--content-max);margin:0 auto}
.quick-group{display:flex;align-items:center;gap:8px}
.quick-label{font-size:11px;color:var(--ink-soft);font-weight:700}
.quick-options{display:flex;gap:6px}
.quick-btn{border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:8px;font-size:12px;font-weight:650;padding:7px 12px;min-height:34px;cursor:pointer}
.quick-btn.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}
/* Цена на метках карты */
/* Пресеты-чекбоксы в панели фильтров */
.spec-check{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}
.spec-check input{width:18px;height:18px;margin:0}
.map-price-pin span{display:inline-block;background:var(--brand-yellow);color:#221b10;font-size:10.5px;font-weight:800;line-height:1;padding:3px 7px;border-radius:8px;box-shadow:0 1px 3px #0003;white-space:nowrap;border:1px solid #d6a638}
.map-price-pin{background:none;border:0}