/* Map-led layout: only the screenshot's day buttons and time slider precede the atlas. */
.wrap{max-width:1600px;padding:0 18px 36px}.lead-controller{background:#faf9f5;padding:12px 18px 13px;border-radius:0 0 14px 14px;margin:0 0 12px}.lead-controller .planning-days{padding:0 0 4px;gap:7px}.lead-controller .day-choice{flex:1 0 56px;min-height:56px;border-radius:12px;font-size:12px}.lead-controller .day-choice span{font-size:15px;margin-top:2px}.lead-controller .time-scrubber{margin:12px 0 0}.lead-controller .time-scrubber label{font-size:12px}.lead-controller .time-scrubber output{font-size:20px}.lead-controller .time-scrubber input{margin:4px 0;height:29px}.lead-controller .planning-note{margin:7px 0 0;font-size:10px}.map-section{margin:0;border-radius:15px;border-color:#ddd9cd}.map-stage{position:relative;background:#bdd9d4;overflow:hidden}.map-stage #poolMap{height:clamp(460px,calc(100svh - 200px),780px);width:100%;background-color:#bdd9d4;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='34' viewBox='0 0 58 34'%3E%3Cpath d='M-8 9 Q0 3 8 9 T24 9 T40 9 T56 9 T72 9 M-20 26 Q-12 20 -4 26 T12 26 T28 26 T44 26 T60 26' fill='none' stroke='%23e4eee3' stroke-width='1.3' opacity='.68'/%3E%3C/svg%3E")}.leaflet-tile-pane{filter:none}.map-stage .minimap-hud{top:16px;left:58px;max-width:240px;padding:6px 10px;border:1px solid #62665166;background:#fffbeded;color:#424b3d;box-shadow:2px 2px 0 #60756422;letter-spacing:.8px;pointer-events:none}.minimap-hud b{font-family:Georgia,serif;font-size:12px}.minimap-hud span{font-size:9px}.illustrated-map>.controls{background:#faf9f5;border:0;border-top:1px solid #ddd9cd;border-bottom:1px solid #ddd9cd;border-radius:0;padding:17px 20px}.illustrated-map>.map-topbar{padding:14px 20px;background:#fff;border-bottom:0}.illustrated-map>.region-chips{padding:0 20px 16px;background:#fff}.map-under{display:grid;grid-template-columns:280px minmax(0,1fr);border-top:1px solid var(--line)}.map-utilities{padding:15px;background:#faf9f5}.map-utilities .map-tools{display:grid;grid-template-columns:1fr 1fr;border:0;padding:0;gap:7px;background:none}.map-tools .btn{background:#fff;border-radius:8px;white-space:normal}.map-tools #resetMapArea{margin-left:0}.map-hint,.map-origin{background:none;color:#70695e;padding:10px 0 0;font-size:10px}.map-origin{padding-bottom:7px}.map-utilities .location-panel{margin-top:8px}.map-utilities .locationrow{flex-wrap:wrap}.map-utilities .location-buttons{width:100%;display:flex;flex-wrap:wrap}.map-utilities .location-buttons button{flex:1;min-height:36px;padding:5px}.map-utilities .field label{font-size:10px}.map-panel{padding:18px 22px;border-left:1px solid var(--line)}.map-panel-empty{padding:0;max-width:620px}.map-panel-empty h3{font-size:20px;margin-top:5px}.map-panel-empty p{margin:5px 0}.map-panel-empty small{margin-top:8px}.map-panel:has(.pool-focus-summary){display:grid;grid-template-columns:1.1fr 1fr;gap:22px;align-items:start}.map-panel .map-journey{margin:0;border-top:0;border-left:1px solid var(--line);padding:0 0 0 22px}.map-count b{font-size:34px}.map-count{padding:11px}.map-freshness{margin:7px 0}.map-panel h3{font-size:20px}.footer-brand{font-size:19px;font-weight:800;letter-spacing:-1px;margin-right:12px;color:#30291f}.leaflet-control-attribution{font-size:8px!important;background:#fffbeddd!important}.leaflet-control-zoom a{background:#fffbed;color:#4a5341;border-color:#6e7759}.leaflet-control-scale-line{background:#fffbedcc!important;color:#4a5341!important;border-color:#6e7759!important}.leaflet-tooltip{border:1px solid #75745a;background:#fffbed;color:#3c4638;border-radius:7px;box-shadow:2px 3px 0 #525d3c22;font:12px/1.35 system-ui;white-space:normal;max-width:240px}.leaflet-interactive:focus{stroke:#8c713d;stroke-width:3}
/* Original illustrated POIs; count badges retain the established lane colours. */
.atlas-nature,.atlas-city-marker{background:none;border:0;pointer-events:none!important}.atlas-nature svg{width:100%;height:auto;display:block;overflow:visible;filter:drop-shadow(1px 2px 0 #59654613)}.atlas-feature-name{font:600 10px/1.05 'Chalkboard SE','Comic Sans MS',cursive;color:#435442;white-space:nowrap;text-align:center;display:block;text-shadow:1px 1px #f1e8c4, -1px -1px #f1e8c4}.atlas-city-label{display:block;width:100%;font:700 13px/1.1 Georgia,serif;letter-spacing:1px;color:#545d43;text-transform:uppercase;text-align:center;white-space:nowrap;text-shadow:1px 1px #fff7da,-1px -1px #fff7da;opacity:.86}.atlas-water-label{color:#4d807c;text-shadow:1px 1px #d2e6df,-1px -1px #d2e6df;font-style:italic;text-transform:none;letter-spacing:1px}.pool-map-marker,.map-cluster-marker{background:none;border:0}.atlas-caption{font-family:Georgia,serif}
@media(max-width:990px){.map-under{grid-template-columns:1fr}.map-utilities{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.map-utilities .map-tools{grid-column:1/-1;display:flex;flex-wrap:wrap}.map-utilities .location-panel{grid-column:1/-1}.map-panel{border-left:0;border-top:1px solid var(--line)}.illustrated-map>.controls{padding:15px}.map-stage #poolMap{height:clamp(430px,calc(100svh - 205px),700px)}}
@media(max-width:650px){.wrap{padding:0 8px 28px}.lead-controller{padding:10px 10px 11px;margin-bottom:8px}.lead-controller .planning-days{gap:6px}.lead-controller .day-choice{flex:0 0 58px;min-height:51px;font-size:11px}.lead-controller .day-choice span{font-size:12px}.lead-controller .planning-note{font-size:9px}.lead-controller .time-scrubber{margin-top:10px}.lead-controller .time-scrubber output{font-size:17px}.map-stage #poolMap{height:clamp(300px,80vw,360px)}.map-stage .minimap-hud{left:51px;top:12px;padding:5px 7px}.minimap-hud b{font-size:10px}.minimap-hud span{font-size:8px}.illustrated-map>.controls{padding:13px}.illustrated-map>.map-topbar{padding:13px 13px 9px;align-items:flex-start}.illustrated-map>.map-topbar h2{font-size:14px}.illustrated-map>.map-topbar span{font-size:9px}.illustrated-map>.region-chips{padding:0 13px 12px;overflow-x:auto;flex-wrap:nowrap}.region-chip{min-height:35px}.map-utilities{display:block;padding:13px}.map-utilities .map-tools{display:grid;grid-template-columns:1fr 1fr}.map-panel{padding:16px}.map-panel:has(.pool-focus-summary){grid-template-columns:1fr;gap:17px}.map-panel .map-journey{border-left:0;border-top:1px solid var(--line);padding:15px 0 0}.pool-landmark .landmark-name{font-size:8px;max-width:100px}.atlas-city-label{font-size:11px}.atlas-feature-name{font-size:9px}}

.leaflet-popup-content-wrapper{background:#fffbed;color:#354632;border:1.5px solid #657253;border-radius:10px;box-shadow:3px 4px 0 #52623a24}.leaflet-popup-tip{background:#fffbed}.atlas-popup strong{display:block;font:700 14px/1.3 Georgia,serif;margin:0 0 5px}.atlas-popup>span{display:block;font:650 12px/1.3 system-ui;margin-bottom:7px}.atlas-popup a{font-size:11px;color:#496447!important}
/* Temporary three-direction comparison: pool markers are intentionally identical. */
.map-style-review{flex-basis:100%;display:flex;gap:10px 18px;align-items:center;flex-wrap:wrap;margin-top:7px}.map-style-options{display:flex;flex-wrap:wrap;gap:7px}.map-style-option{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;min-height:39px;border:1px solid #d9d4c9;border-radius:8px;background:#fff;color:#30291f;font:600 11px/1.3 system-ui}.map-style-option[aria-pressed=true]{background:#302f27;color:#fff;border-color:#302f27}.map-style-swatch{display:inline-block;width:20px;height:20px;border-radius:50%;border:1px solid #7775;flex-shrink:0}.map-style-swatch.coastal{background:linear-gradient(130deg,#bdd9d4 50%,#e9e4bd 50%)}.map-style-swatch.contour{background:linear-gradient(130deg,#cbdfe4 50%,#edf4ee 50%)}.map-style-swatch.field{background:linear-gradient(130deg,#f4edda 50%,#55633f 50%)}.style-review-note{font-size:11px;color:#70695e}
.count-dot{width:36px;height:36px;border:1.8px solid #35472f;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#283b26;font:800 14px/1 system-ui;box-shadow:0 0 0 3px #fffbedc4,1px 3px 5px #2d493c24}.count-dot.closed{font-size:7px;letter-spacing:.3px}.count-dot.unknown{border-style:dashed}.count-dot.selected{outline:3px solid #c29e58;outline-offset:3px}.count-cluster{width:44px;height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fffbed;color:#35472f;border:2px solid #6c7c59;border-radius:13px;box-shadow:0 0 0 3px #fffbedab,1px 3px 5px #2d493c24}.count-cluster b{font:750 14px/1 system-ui}.count-cluster small{font:9px/1.2 system-ui;margin-top:2px}
.map-stage[data-map-style=contour] #poolMap{background:#cbdfe4;background-image:none}.map-stage[data-map-style=contour] .atlas-city-label{font-family:system-ui,sans-serif;text-transform:none;letter-spacing:0;font-size:12px;color:#49665e;text-shadow:1px 1px #edf4ee,-1px -1px #edf4ee}.map-stage[data-map-style=contour] .atlas-water-label{color:#648995;text-shadow:1px 1px #cbdfe4,-1px -1px #cbdfe4}.map-stage[data-map-style=contour] .atlas-feature-name{font-family:system-ui;color:#658578;text-shadow:1px 1px #edf4ee,-1px -1px #edf4ee}.map-stage[data-map-style=contour] .atlas-nature svg{filter:none}
.map-stage[data-map-style=field] #poolMap{background-color:#f4edda;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='34' viewBox='0 0 58 34'%3E%3Cpath d='M-8 9 Q0 3 8 9 T24 9 T40 9 T56 9 T72 9 M-20 26 Q-12 20 -4 26 T12 26 T28 26 T44 26 T60 26' fill='none' stroke='%23b5bea8' stroke-width='1' opacity='.55'/%3E%3C/svg%3E")}.map-stage[data-map-style=field] .atlas-city-label{color:#fff1ce;text-shadow:1px 1px #55633f,-1px -1px #55633f}.map-stage[data-map-style=field] .atlas-water-label{color:#526450;text-shadow:1px 1px #f4edda,-1px -1px #f4edda}.map-stage[data-map-style=field] .atlas-feature-name{color:#efe5c9;text-shadow:1px 1px #55633f,-1px -1px #55633f}
@media(max-width:650px){.map-style-option{font-size:10px;padding:8px;min-height:42px}.map-style-review{gap:7px}.style-review-note{font-size:10px}.map-style-swatch{width:16px;height:16px}}

.pool-map-marker:focus{outline:2px solid #806b36;outline-offset:5px;border-radius:50%}
