.live-map-panel{position:relative;width:100%;height:520px;border:1px solid #dbe1e6;border-radius:8px;overflow:hidden;margin:-10px 0 34px;background:#edf1ed;isolation:isolate}#live-job-map{width:100%;height:100%;font-family:var(--body);background:#e8ece7;z-index:0}.live-map-overlays{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;z-index:700;pointer-events:none}.live-map-overlays>*{pointer-events:auto}.live-map-key{margin:0;padding:17px 18px 14px;border:1px solid #dce2e8;border-radius:7px;background:#fff;box-shadow:0 3px 14px #26364b15;min-width:185px}.live-map-key label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--navy);margin:10px 0;clear:both;cursor:pointer}.live-map-key input{accent-color:var(--pin-colour);margin:0 2px 0 0;width:13px;height:13px}.map-key-dot{width:9px;height:9px;border-radius:50%;background:var(--pin-colour);display:inline-block}.live-map-search-container{width:360px;max-width:48%}.live-map-search{display:flex;align-items:center;gap:10px;background:white;border:1px solid #dce2e8;border-radius:6px;box-shadow:0 3px 14px #26364b15;padding:0 12px;color:var(--muted)}.live-map-search input{height:44px;border:0;background:none;outline:0;font-size:12px;min-width:0;flex:1;color:var(--ink)}.live-map-search button{padding:4px;display:flex;align-items:center;color:var(--navy)}.live-map-search button .icon{width:16px;height:16px}.live-map-search:focus-within{outline:2px solid var(--gold);outline-offset:2px}.live-map-results{margin-top:6px;border:1px solid var(--line);border-radius:5px;background:white;box-shadow:0 5px 18px #26364b20;overflow:hidden;max-height:240px;overflow-y:auto}.live-map-results button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:13px 15px;border-bottom:1px solid var(--line)}.live-map-results button:hover{background:#f5f7fa}.live-map-results button:last-child{border:0}.live-map-results strong{font-size:12px;color:var(--navy)}.live-map-results small{font-size:10px;display:block;margin-top:3px}.live-map-results p{padding:16px;color:var(--muted);font-size:12px}.result-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.live-map-status{position:absolute;left:14px;bottom:16px;z-index:700;background:white;padding:7px 10px;border:1px solid var(--line);border-radius:4px;font-size:10px;color:var(--navy);box-shadow:0 2px 8px #26364b10;max-width:calc(100% - 90px)}.fit-job-map{position:absolute;right:10px;bottom:100px;z-index:700;width:34px;height:34px;background:white;border:2px solid #0003;border-radius:4px;display:grid;place-items:center;color:var(--navy)}.fit-job-map .icon{width:17px;height:17px}.map-load-error{position:absolute;left:50%;bottom:45px;transform:translateX(-50%);z-index:700;background:#fff7e3;padding:10px 14px;border:1px solid #e3cf91;border-radius:4px;font-size:11px;max-width:80%;color:#6a5420}.map-load-error button{text-decoration:underline;font-weight:bold;margin-left:8px}.job-location-marker{background:none;border:none}.job-pin-dot{position:absolute;left:5px;top:5px;width:20px;height:20px;border-radius:50%;background:var(--pin-colour);border:3px solid white;box-shadow:0 2px 6px #1c29394d}.job-pin-halo{display:none}.pin-actions .job-pin-halo{display:block;position:absolute;inset:0;border-radius:50%;background:#c9434340;animation:action-pin-pulse 2s ease-out infinite}.job-location-marker:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:50%}.job-map-popup h3{font-size:14px;color:var(--navy);margin:8px 0}.job-map-popup p{font-size:11px;color:var(--muted);margin:7px 0}.map-popup-type{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.job-map-popup .button{margin-top:12px;font-size:10px}.map-action-summary{background:#fcf0f0;padding:11px;border-left:3px solid var(--red);margin-top:12px}.map-action-summary strong{font-size:11px;color:var(--red)}.map-action-summary p{margin-bottom:0}.live-map-panel .leaflet-control-attribution{font-size:9px;background:#ffffffe8}.live-map-panel .leaflet-bar a{color:var(--navy)}.tile-actions{border-color:var(--red)}.tile-actions .pipeline-number,.tile-actions .tile-arrow{color:var(--red)}.action-required-badge{color:var(--red);background:#fcf0f0}.required-action-notice{background:#fff9f9}.required-action-notice h3{color:var(--red)}.pipeline-tiles{margin-bottom:30px}.current-work-list{margin-top:28px}
/* Filter only street tiles: markers, labels in pop-ups and controls retain their colours. */
#live-job-map .leaflet-tile-pane{filter:grayscale(1) sepia(var(--map-tint-amount,0)) hue-rotate(var(--map-tint-hue,0deg)) saturate(.7) contrast(.93) brightness(1.03)}
#live-job-map{background:#eceeed}
@keyframes action-pin-pulse{0%{transform:scale(.65);opacity:.8}80%,100%{transform:scale(2.1);opacity:0}}
@media(max-width:650px){.live-map-panel{height:540px;margin-bottom:28px}.live-map-overlays{top:12px;left:12px;right:12px;flex-direction:column-reverse;gap:12px}.live-map-search-container{width:100%;max-width:none}.live-map-search input{font-size:11px;height:42px}.live-map-key{min-width:170px;padding:12px 14px 9px}.live-map-key label{font-size:10px;margin:9px 0}.live-map-status{bottom:28px;left:10px;font-size:9px}.map-load-error{bottom:61px;width:85%;max-width:85%}.live-map-panel .leaflet-control-attribution{font-size:8px}}
@media(prefers-reduced-motion:reduce){.pin-actions .job-pin-halo{animation:none;opacity:.5;transform:scale(1.25)}}
.live-map-panel .leaflet-control-attribution{font-size:10px}
@media(max-width:650px){.live-map-panel .leaflet-control-attribution{font-size:9px}}

#live-job-map .leaflet-popup a.leaflet-popup-close-button{top:7px;right:7px;width:30px;height:30px;display:grid;place-items:center;padding:0;line-height:1;border-radius:50%}
#live-job-map .map-popup-type{display:block;padding-right:26px}
.live-map-results mark { background: #ffe39a; color: #30270f; border-radius: 2px; font-weight: 700; }
