.view-switch{display:flex;gap:0;margin-right:auto;border:1px solid var(--line);background:#fff}.view-switch button{display:grid;place-items:center;width:42px;height:42px;padding:8px;border:0;background:#fff;text-decoration:none}.view-switch button img{display:block;width:26px;height:26px;object-fit:contain}.view-switch button[aria-pressed="true"]{background:var(--accent)}.view-switch button:hover{background:var(--soft);text-decoration:none}.view-switch button[aria-pressed="true"]:hover{background:var(--accent)}
#map-results{padding-top:10px}#directory-map{height:min(68vh,680px);min-height:520px;direction:ltr;background:#f2f2ef}#directory-map .leaflet-tile-pane{filter:grayscale(1) contrast(.88) brightness(1.08)}#directory-map .leaflet-control-zoom a{border-radius:0!important}
.map-marker{display:flex;align-items:center;justify-content:flex-end;gap:4px;width:180px;height:16px;white-space:nowrap;pointer-events:none}
.map-label{max-width:154px;overflow:hidden;text-overflow:ellipsis;padding:1px 4px 0;background:rgba(255,255,255,.88);font-family:Abraham,Arial,sans-serif;font-size:12px;font-weight:700;line-height:1.2;color:var(--ink);direction:rtl}
.map-dot{display:grid;place-items:center;flex:0 0 12px;width:12px;height:12px;border-radius:50%;border:1px solid var(--ink);background:var(--accent);box-shadow:0 0 0 1px #fff;color:var(--ink);pointer-events:auto}
.map-marker-home .map-label{background:rgba(255,255,255,.92)}
.map-home{display:block;flex:0 0 12px;width:12px;height:12px;border-radius:50%;background:var(--ink);border:2px solid var(--accent);box-shadow:0 0 0 1px #fff;pointer-events:auto}
.map-note{margin:12px 0 0;color:var(--muted);font-size:var(--type-supporting);line-height:1.55}
.map-choice-popup .leaflet-popup-content-wrapper,.map-choice-popup .leaflet-popup-tip{border-radius:0;background:#fff}.map-choice-popup .leaflet-popup-content{margin:18px 20px;direction:rtl}.map-chooser{display:grid;gap:8px;min-width:230px;font-family:Abraham,Arial,sans-serif}.map-chooser>strong{font-size:18px}.map-chooser>span{font-size:13px;color:var(--muted)}.map-chooser>button{width:100%;padding:9px 10px;background:var(--soft);border:0;text-align:right;font-size:14px;line-height:1.35}.map-chooser>button:hover,.map-chooser>button:focus-visible{background:var(--accent);text-decoration:none}
@media(max-width:800px){.view-switch{gap:16px}.result-toolbar{align-items:center}#directory-map{height:58vh;min-height:430px}.map-marker{width:150px}.map-label{max-width:126px;font-size:11px}}@media(max-width:420px){#directory-map{height:55vh;min-height:380px}}
