.maps-page { padding-bottom: 48px; }
.maps-catalogue { display:flex; justify-content:space-between; align-items:end; gap:24px; padding:20px 0 28px; border-bottom:1px solid var(--line, #d9e1e8); }
.maps-catalogue label,.maps-controls>label { display:block; font-weight:650; font-size:14px; margin-bottom:8px; }
.maps-catalogue select { min-width:340px; width:100%; padding:12px; background:#fff; border:1px solid #afbfcc; color:#18344a; border-radius:0; font:inherit; }
.maps-catalogue>div { flex:1; max-width:620px; }
.map-intro { display:flex; justify-content:space-between; align-items:end; gap:24px; margin:28px 0 20px; }
.map-intro h2 { margin:10px 0 6px; font-size:24px; line-height:1.25; }
.map-intro p { margin:0; color:#4a6072; font-size:14px; }
.maps-workspace { display:grid; grid-template-columns:260px minmax(0,1fr); border:1px solid #ccd8e2; }
.maps-controls { padding:20px 16px; background:#f8fafc; border-right:1px solid #ccd8e2; min-width:0; }
.maps-controls input[type=search] { width:100%; min-width:0; padding:11px 10px; border:1px solid #b5c4d0; font:inherit; font-size:14px; background:#fff; border-radius:0; }
.map-period-controls { padding:0 0 18px; margin-bottom:4px; border-bottom:1px solid #d9e1e8; }
.map-period-controls label { display:block; margin:0 0 6px; color:#203e54; font-weight:650; font-size:12px; }
.map-period-controls select { width:100%; min-width:0; padding:9px 8px; margin:0 0 12px; border:1px solid #b5c4d0; border-radius:0; background:#fff; color:#18344a; font:inherit; font-size:13px; }
.map-period-controls p { margin:0; color:#5d7182; font-size:11px; line-height:1.5; }
.maps-controls fieldset { margin:24px 0 0; padding:0; border:0; }
.maps-controls legend { font-weight:650; font-size:13px; margin-bottom:12px; color:#203e54; }
.map-layer-choice { display:flex; gap:7px; align-items:center; padding:9px 0; line-height:1.4; font-size:12px; }
.map-layer-choice svg { flex-shrink:0; }
.map-layer-choice input,.map-context-choice input { accent-color:#08588e; margin:0; width:16px; height:16px; flex-shrink:0; }
.map-layer-choice span { flex:1; }
.map-layer-choice small { color:#5c7081; min-width:16px; text-align:right; }
.context-controls { margin-top:20px; padding-top:17px; border-top:1px solid #d9e1e8; }
.context-controls summary { cursor:pointer; font-size:13px; font-weight:650; }
.context-controls fieldset { margin-top:14px; }
.map-context-choice { display:flex; gap:9px; align-items:start; padding:9px 0; font-size:12px; line-height:1.4; }
.map-context-choice svg { width:16px; height:16px; flex-shrink:0; }
.map-context-choice span { flex:1; }
.map-context-choice small { color:#5c7081; min-width:16px; text-align:right; }
  .map-context-marker-symbol { display:flex; align-items:center; justify-content:center; background:transparent; border:0; }
  .map-context-marker-symbol svg { display:block; }
.map-controls-note { color:#6a7d8d; font-size:12px; margin-top:18px; }
.map-main { min-width:0; background:#fff; }
.map-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid #d9e1e8; }
.map-views { display:flex; }
.map-views button { font:inherit; font-size:12px; color:#08588e; background:#fff; border:1px solid #b4c5d2; border-radius:0; padding:8px 12px; cursor:pointer; }
.map-views button+button { border-left:0; }
.map-views button[aria-pressed=true] { color:#fff; background:#08588e; border-color:#08588e; }
.map-toolbar>span { color:#476074; font-size:12px; }
.map-canvas { height:520px; background:#eef2f5; z-index:0; }
.map-canvas .leaflet-control-attribution { font-size:10px; }
.map-comparison-controls { padding:12px 16px; border-top:1px solid #d9e1e8; background:#f8fafc; }
.map-comparison-controls>label:not(.map-comparison-toggle) { display:block; margin:8px 0 4px; color:#385267; font-size:12px; }
.map-comparison-toggle { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:650; color:#203e54; cursor:pointer; }
.map-comparison-toggle input { accent-color:#08588e; width:16px; height:16px; margin:0; }
.map-comparison-controls input[type=range] { display:block; width:100%; accent-color:#08588e; }
.map-comparison-controls p { margin:6px 0 0; color:#5d7182; font-size:11px; line-height:1.5; }
.map-status { margin:0; padding:10px 16px; font-size:12px; color:#4a6072; min-height:38px; border-top:1px solid #d9e1e8; }
.map-status[data-state=error] { color:#943728; background:#fff4ef; }
.map-legend { display:flex; flex-wrap:wrap; gap:12px 20px; padding:12px 16px 16px; border-top:1px solid #edf1f5; font-size:11px; line-height:1.4; }
.map-legend span { display:inline-flex; align-items:center; gap:5px; }
.map-legend svg { width:16px; height:16px; flex-shrink:0; }
.map-legend i { display:inline-block; width:14px; height:14px; margin-left:8px; }
  .map-legend .map-legend-line { width:18px; height:0; border-top:2px solid; background:transparent; }
.map-symbol { background:transparent; border:0; }
.map-symbol svg { width:24px; height:24px; }
.map-symbol:focus-visible,.map-symbol.is-selected { outline:3px solid #112e46; outline-offset:3px; }
.map-popup { max-width:260px; }
.map-popup h3 { margin:0 0 6px; font-size:15px; }
.map-popup p { margin:0 0 9px; }
.map-popup dl { margin:0; }
.map-popup dt { font-size:11px; font-weight:650; margin-top:8px; }
.map-popup dd { margin:2px 0 0; font-size:12px; line-height:1.5; }
.map-popup .popup-source-note { margin-top:12px; padding-top:9px; border-top:1px solid #d9e1e8; font-size:11px; }
.maps-results { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.72fr); gap:28px; margin-top:28px; }
.results-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.results-heading h2,.map-selection h2 { margin:0; font-size:20px; }
.results-heading span { color:#5b7183; font-size:12px; }
.map-results-list .small { margin:10px 0 15px; color:#5b7183; }
.local-list { list-style:none; margin:0; padding:0; max-height:470px; overflow:auto; border:1px solid #d9e1e8; }
.local-item { padding:16px; border-bottom:1px solid #e0e7ed; }
.local-item:last-child { border-bottom:0; }
.local-item.is-selected { background:#edf4fa; border-left:3px solid #08588e; padding-left:13px; }
.local-top { display:flex; gap:9px; align-items:start; }
.local-top svg { margin-top:1px; flex-shrink:0; }
.local-top button { border:0; padding:0; background:none; color:#08588e; font:inherit; font-weight:650; font-size:14px; cursor:pointer; text-align:left; }
.local-top button:disabled { opacity:1; color:#203e54; cursor:default; }
.local-top p { margin:3px 0 0; color:#627687; font-size:11px; }
.local-address { margin:8px 0 8px 29px; font-size:12px; color:#466074; }
.local-unavailable { margin:8px 0 8px 29px; color:#943728; font-size:12px; }
.maps-results-territory { grid-template-columns:1fr; }
.local-item details { margin-left:29px; font-size:12px; }
.local-item summary { color:#4a6478; cursor:pointer; }
.local-item dl,.map-selection dl,.maps-provenance dl { margin:12px 0 0; }
.local-item dt,.map-selection dt,.maps-provenance dt { font-weight:650; font-size:12px; margin-top:10px; }
.local-item dd,.map-selection dd,.maps-provenance dd { margin:3px 0 0; line-height:1.6; font-size:13px; }
.map-selection { padding:20px 24px; border:1px solid #d9e1e8; align-self:start; }
.map-selection .eyebrow { margin-top:0; }
.map-selection h3 { margin:20px 0 7px; font-size:18px; }
.map-selection p { color:#4a6072; font-size:13px; line-height:1.6; }
.maps-provenance { margin-top:32px; padding:16px 18px; border:1px solid #ccd8e2; border-radius:6px; background:#fff; }
.maps-provenance>summary { cursor:pointer; font-size:14px; font-weight:650; }
.maps-provenance-content { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1fr); gap:40px; margin-top:18px; }
.maps-provenance h3 { font-size:15px; margin:0 0 14px; }
.maps-usage-terms { display:grid; gap:10px; color:#4a6072; font-size:12px; line-height:1.65; }
.maps-provenance ul { padding-left:18px; font-size:12px; line-height:1.75; color:#4a6072; }
.maps-provenance li { margin-bottom:8px; }
.maps-source-links { display:flex; flex-wrap:wrap; gap:10px 18px; font-size:12px; margin:20px 0; }
.maps-panel-link { font-size:12px; color:#5b7183; line-height:1.6; }
.maps-panel-link { margin-top:30px; }
.empty-result { padding:24px; font-size:13px; color:#586f80; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.maps-page :focus-visible { outline:3px solid #a85714; outline-offset:3px; }
@media(max-width:900px) { .maps-workspace { grid-template-columns:220px minmax(0,1fr); } .map-canvas { height:480px; } .maps-results { gap:20px; } }
@media(max-width:650px) { .maps-catalogue { flex-direction:column; align-items:stretch; gap:12px; } .maps-catalogue select { min-width:0; font-size:14px; } .map-intro { margin-top:22px; } .map-intro h2 { font-size:21px; } .maps-workspace { display:flex; flex-direction:column; } .maps-controls { border-right:0; border-bottom:1px solid #ccd8e2; padding:16px; } .maps-controls fieldset { margin-top:16px; } .map-layer-choice { padding:8px 0; font-size:13px; } .context-controls { margin-top:14px; } .context-controls:not([open]) { margin-bottom:0; } .map-canvas { height:400px; } .map-toolbar { padding:12px; align-items:start; flex-wrap:wrap; gap:10px; } .maps-results,.maps-provenance-content { grid-template-columns:1fr; gap:24px; } .map-selection { padding:20px; } .results-heading { flex-wrap:wrap; gap:5px; } .local-list { max-height:430px; } .map-legend { gap:8px 12px; } .maps-provenance { margin-top:26px; padding:14px; } }

.map-base-toolbar { display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:12px 16px;border-bottom:1px solid #d9e1e8; }
.map-base-toolbar>span { font-size:12px;font-weight:650;margin-right:6px; }
.map-base-toolbar button { font:inherit;font-size:12px;border:1px solid #afbfcc;padding:8px 10px;cursor:pointer;color:#18344a;background:#fff; }
.map-base-toolbar button[aria-pressed=true] { background:#08588e;color:#fff;border-color:#08588e; }
.map-base-toolbar button[data-map-expand] { margin-left:auto; }
.map-base-status { margin:0;padding:9px 16px;background:#f8fafc;color:#4a6072;font-size:11px;line-height:1.5; }
.map-base-status[data-state=error] { color:#943728;background:#fff4ef; }
.map-symbol-pin { background:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 6px #142f4f99;display:flex;align-items:center;justify-content:center; }
.map-symbol-pin svg { width:23px;height:23px; }
.map-symbol-pin.is-selected { outline:3px solid #f3ca55;outline-offset:3px;box-shadow:0 1px 10px #142f4fbb; }
.map-cluster { border:3px solid #fff;border-radius:50%;background:#08588e;color:white;box-shadow:0 1px 6px #10283b88;display:flex;align-items:center;justify-content:center;font:700 13px sans-serif; }
.map-cluster.is-selected { outline:3px solid #f3ca55;outline-offset:3px; }
.maps-workspace.is-expanded { position:fixed;inset:12px;z-index:10000;box-shadow:0 0 0 20px #12293ccc;overflow:auto; }
.maps-workspace.is-expanded .map-main { display:flex;flex-direction:column; }
.maps-workspace.is-expanded .map-canvas { flex:1;min-height:350px; }
.maps-controls [data-map-filters] { display:none; }
.map-popup { max-height:300px;overflow:auto;overscroll-behavior:contain; }
.map-popup dd,.map-selection dd,.local-item dd { overflow-wrap:anywhere; }
.local-top button { min-height:32px; }
@media(max-width:650px) {
  .maps-controls [data-map-filters] { display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;font:inherit;font-size:14px;font-weight:650;text-align:left;border:1px solid #afbfcc;background:#fff;color:#08588e;padding:10px 12px;cursor:pointer; }
  .maps-controls [data-map-filters]::after { content:'+';font-size:20px; }
  .maps-controls [data-map-filters][aria-expanded=true]::after { content:'−'; }
  [data-map-filter-panel]:not([hidden]) { margin-top:16px; }
  .maps-controls { padding:12px; }
  .map-base-toolbar button,.map-views button,.local-top button,.local-item summary,.context-controls summary { min-height:44px; }
  .local-item summary,.context-controls summary { padding-block:10px; }
  .map-layer-choice,.map-context-choice { min-height:44px; }
  .map-popup { max-height:240px; }
}
.map-canvas .leaflet-control-attribution { max-width:100%;white-space:normal;line-height:1.4;overflow-wrap:anywhere; }
@media(max-width:650px){.map-base-toolbar { padding:10px;gap:5px; }.map-base-toolbar>span { width:100%; }.map-base-toolbar button { font-size:11px; }.maps-workspace.is-expanded { inset:0; }.maps-workspace.is-expanded .maps-controls { display:none; }.maps-workspace.is-expanded .map-main { height:100%; }.map-base-status { padding:8px 12px; }}
