/* The property map (owner, 31 Oct 2026, harmony-ops#697 item 6): price pins, clusters, "Search this area", the listing's mini map and the
   listing form's "Drop a pin" step. Leaflet's own CSS loads with the map (assets/js/ep-map.js). */
.sr-mapwrap { position: relative; }
.has-live-map ~ .sr-map-list { display: none; }   /* the area list stands in for the map only when the map cannot load */
.sr-here { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 500; min-height: 48px; padding: 0 24px; border: 0; border-radius: 8px; background: #146c75; color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; }   /* the one primary action on the map: EasyProperty green */
.sr-here[hidden] { display: none; }
.sr-here:hover { background: #0f555c; }
.sr-here:focus-visible { outline: 3px solid #1c2529; outline-offset: 2px; }
.ep-pin, .ep-cluster { background: transparent; border: 0; }
/* pins and price labels are neutral and readable (owner's design rule, 31 Oct): green is kept for primary actions */
.ep-pin b { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 32px; padding: 0 8px; border-radius: 8px; background: #fff; color: #1c2529; font: 700 14px/1 system-ui, sans-serif; border: 1px solid #5f6b70; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); white-space: nowrap; }
.ep-pin.is-exact b { border: 2px solid #1c2529; }
.ep-pin:focus-visible b, .ep-pin:hover b { background: #1c2529; color: #fff; border-color: #1c2529; }
.ep-cluster b { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #3b4549; color: #fff; font: 700 15px/1 system-ui, sans-serif; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); }
.ep-cluster:focus-visible b, .ep-cluster:hover b { background: #1c2529; }
.leaflet-touch .leaflet-bar a, .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 20px; }
/* 44 px taps on phones (harmony-ops#1105, 23 Nov 2026): Leaflet's CSS loads after this file and its ".leaflet-touch .leaflet-bar a" (30 px) beat the line above */
.leaflet-container.leaflet-touch .leaflet-bar a, .leaflet-container .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; font-size: 20px; }
.leaflet-container .leaflet-control-attribution { font-size: 12px; }
.sr-pop small { color: #4b5559; }

/* the listing page's location card and the landing page's map */
.ep-minimap { height: 240px; border-radius: 8px; border: 1px solid #cfd5d8; background: #e6e9eb; z-index: 0; }
/* before the map has started (it waits until it is near the screen, 4 Nov 2026): its label in the middle of the grey box */
.ep-minimap[data-ep-minimap]:not(.leaflet-container):not([hidden]) { display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: #4a5a61; font-size: 14px; }
.ep-minimap[data-ep-minimap]:not(.leaflet-container)::before { content: attr(aria-label); }
.lnd-map .ep-minimap { height: 320px; }
.ep-map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ep-map-note { font-size: 15px; line-height: 1.5; color: #3d4a4f; margin: 8px 0 0; }
.ep-map-note a { text-decoration: underline; }   /* the OpenStreetMap credit: told apart by more than its colour (4 Nov 2026; Leaflet's own CSS, which used to underline it, now loads only with the map) */

/* "Drop a pin" on the listing forms */
.ep-pinstep .ep-minimap { height: 296px; margin-top: 8px; }
.ep-pin-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ep-pin-tools button { min-height: 48px; }
.ep-pin-status { font-size: 14px; color: #12303a; margin: 8px 0 0; min-height: 1.2em; }
.ep-pin-exact { display: flex; gap: 8px; align-items: flex-start; min-height: 48px; padding: 8px 0; font-size: 15px; }
.ep-pin-exact input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
