/* Location features: the Today banner, a project's coordinates card, and the equipment map. Phone first (375 px), 16 px gutters come from the page. */
.geo-card .pad, .geo-loc { display: grid; gap: 8px; }
.geo-card .row-btns, .geo-banner .row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.geo-card .btn.big, .geo-banner .btn.big { min-height: 48px; }
.geo-banner { background: var(--accent-soft); border: 1px solid #b7d8d3; border-radius: 12px; padding: 16px; margin: 12px 0 8px; display: grid; gap: 4px; }
.geo-banner .gb-text { font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.geo-loc { grid-template-columns: 1fr; }
.geo-loc .row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.geo-loc .row-btns .btn { min-height: 44px; flex: 1 1 140px; }
.geo-results { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.geo-results .more-row { min-height: 56px; }
.geo-results .more-row b { overflow-wrap: anywhere; }
.geo-stamp { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.geo-stamp .hint { flex: 1 1 180px; }
.geo-stamp .btn { min-height: 44px; }

.geo-filters { margin-bottom: 12px; }
/* isolation keeps Leaflet's own z-indexes (400+) inside the map, so sheets, the bottom bar and the Agents panel sit on top of it */
.geo-mapwrap { position: relative; z-index: 0; isolation: isolate; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #e8eef1; }
.geo-map { height: clamp(300px, 52vh, 520px); width: 100%; }
.geo-loading { display: grid; place-items: center; height: 100%; padding: 16px; text-align: center; }
.geo-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 12px 0 4px; font-size: 13px; color: var(--ink-2); }
.geo-legend .btn { min-height: 44px; margin-left: auto; }
.geo-legend .lg { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--accent); }
.geo-legend .lg.warehouse { border-radius: 3px; }
.geo-legend .lg.site { border-radius: 50%; background: #1d4ed8; }
.geo-legend .lg.person { background: #b45309; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.geo-count { margin: 4px 0 0; }

.geo-pin { background: none; border: 0; display: grid; place-items: center; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.geo-pin span { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; font: 700 15px/1 -apple-system, "SF Text", system-ui, sans-serif; background: var(--accent); border-radius: 10px; border: 3px solid #fff; }
.geo-pin.store span { background: #475a68; }
.geo-pin.site span { background: #1d4ed8; border-radius: 50%; }
.geo-pin.person span { background: #b45309; border: 0; border-radius: 0; width: 44px; height: 44px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.geo-pin:focus-visible span { outline: 3px solid #111; outline-offset: 2px; }
.om-logo { height: 20px; width: 20px; vertical-align: middle; }
.leaflet-container { font: inherit; }
.leaflet-touch .leaflet-bar a, .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
.leaflet-control-attribution { font-size: 11px; }

.eq-list { display: grid; gap: 0; }
.eq-item { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.eq-item:first-child { border-top: 0; }
.eq-main { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.eq-item .btn { min-height: 44px; flex: none; }
@media (max-width: 767px) { .eq-item { flex-wrap: wrap; } .eq-item .btn { width: 100%; } }
