/* Header: a dark background keeps the original white wordmark legible. */
.tv-nav{background:#12364b;border-bottom:3px solid #2f9e9b;box-shadow:0 3px 16px #12364b12}.tv-nav-inner{min-height:104px}.tv-brand{padding:4px 12px 4px 0;flex-shrink:0}.tv-brand img{width:138px;max-height:86px;object-fit:contain}.tv-links>a,.tv-menu>summary{color:#fff}.tv-links>a:hover,.tv-menu>summary:hover{color:#fff;background:#ffffff16}.tv-links>a[aria-current=page],.tv-menu:has(a[aria-current=page])>summary{background:#ffffff1f;color:#fff}.tv-menu[open]>summary{background:#ffffff1f}.tv-dropdown{top:calc(100% + 8px)}.tv-dropdown a{color:#17334b}.tv-nav :focus-visible{outline-color:#ffd479}
.community-explorer{padding-bottom:16px}.map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;flex-wrap:wrap}.map-toolbar>p{margin:0;display:flex;align-items:center;gap:8px;font-size:12px;color:#526578}.map-legend{display:inline-block;width:11px;height:11px;border:1px solid #becbd5;border-radius:3px;background:#e1e8ed;margin-left:14px}.map-legend:first-child{margin-left:0}.map-legend.active{background:#2a8b86;border-color:#2a8b86}.map-toolbar label{font-size:12px;font-weight:700;color:#526578;display:flex;align-items:center;gap:10px}.map-toolbar select{max-width:260px;min-height:42px;border:1px solid #b7c8d1;border-radius:8px;padding:8px 10px;color:#17334b;background:white}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.spain-map-wrap{background:linear-gradient(145deg,#fff,#edf5f7);border:1px solid #dce5ec;border-radius:20px;overflow:hidden;padding:14px}.spain-map{display:block;width:100%;height:auto;overflow:visible}.region-shape{stroke:#fff;stroke-width:1.5;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:filter .15s,stroke .15s}.map-region{cursor:pointer;outline:none}.map-region.no-data .region-shape{stroke:#aabdc9;stroke-width:.8}.map-region:hover .region-shape,.map-region:focus .region-shape,.map-region.is-selected .region-shape{stroke:#12364b;stroke-width:2.5;filter:drop-shadow(0 2px 3px #12364b44)}.map-region.is-selected .region-label,.map-region:focus .region-label{fill:#0a4e68;font-weight:900}.region-label{text-anchor:middle;dominant-baseline:middle;font:700 16px 'Open Sans',sans-serif;fill:#17334b;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round;pointer-events:none}.map-region.no-data .region-label{fill:#526578;font-weight:600}.city-marker{fill:#c8d5de;stroke:white;stroke-width:2}.canary-inset{fill:#ffffff90;stroke:#bdcfd8;stroke-dasharray:5 5}.inset-caption{font:700 11px 'Open Sans',sans-serif;letter-spacing:1px;fill:#6d8393}.community-panel{position:sticky;top:24px;background:#12364b;border-radius:18px;padding:28px 24px;color:white;min-height:356px;box-shadow:0 12px 28px #17334b14}.community-panel .portal-eyebrow{color:#9fe0d6;font-size:10px;display:block;margin:12px 0}.community-panel h2{color:#fff;font-size:27px;font-weight:800;line-height:1.2;margin:12px 0 16px}.community-panel p{color:#cbdde5;font-size:14px;line-height:1.65}.map-panel-symbol{font-size:36px;color:#9fe0d6;line-height:1}.map-coverage{display:inline-block;border:1px solid #6a9ba0;border-radius:24px;font-size:11px;padding:7px 11px;margin-top:12px;color:#c7f1e7}.map-panel-flag{width:76px;height:50px;object-fit:contain;object-position:left center;border-radius:3px;background:#ffffff0d;margin-bottom:6px}.map-panel-actions{display:grid;gap:12px;margin:22px 0 8px}.map-action{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px;border:1px solid #ffffff44;border-radius:10px;background:#fff;color:#17334b!important;text-decoration:none!important;transition:transform .15s}.map-action:hover{transform:translateX(3px);background:#d4eee8}.map-action strong{display:block;font-size:16px;font-weight:800}.map-action small{display:block;font-size:11px;margin-top:3px;color:#526578}.map-action>span:last-child{font-size:23px}.map-action[aria-disabled=true]{background:#ffffff09;color:#cad9df!important;border-color:#ffffff22;cursor:default;transform:none}.map-action[aria-disabled=true] small{color:#afc4cf}.community-panel .map-panel-tip{font-size:11px;margin:25px 0 0;border-top:1px solid #ffffff22;padding-top:16px;color:#a8c3cf}.map-directory{margin-top:24px;border:1px solid #dce5ec;border-radius:12px;background:#fff;padding:18px 20px}.map-directory summary{cursor:pointer;font-weight:700;color:#24588f}.map-directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.map-directory-grid article{padding:16px;background:#f5f8fa;border-radius:9px}.map-directory-grid h3{font-size:15px;font-weight:800}.map-directory-grid p{font-size:12px;color:#526578}.map-directory-grid a{font-size:13px;font-weight:700;color:#24588f;margin-right:15px}.map-credits{margin-top:18px;color:#6b7f8b;font-size:11px}.map-credits summary{cursor:pointer}.map-credits p{max-width:900px;margin-top:12px;line-height:1.7}.map-credits a{color:#526578}.community-panel [hidden]{display:none!important}
@media(max-width:1000px){.map-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.community-panel{padding:23px 20px}.community-panel h2{font-size:24px}.region-label{font-size:18px}.map-toolbar label{width:100%;justify-content:flex-end}}
@media(max-width:720px){.map-layout{grid-template-columns:1fr}.community-panel{position:static;min-height:0}.map-panel-intro{display:grid;grid-template-columns:38px 1fr;column-gap:10px}.map-panel-intro .map-panel-symbol{grid-row:1/3}.map-panel-intro h2{margin:0 0 10px}.map-panel-intro .portal-eyebrow{margin:0 0 6px}.map-panel-intro p,.map-panel-intro .map-coverage{grid-column:1/-1}.map-panel-intro .map-coverage{justify-self:start}.map-panel-actions{grid-template-columns:1fr 1fr}.community-panel .map-panel-tip{margin-top:16px}.map-toolbar{gap:12px}.map-toolbar label{justify-content:space-between}.map-toolbar select{width:65%;max-width:none}.spain-map-wrap{padding:8px;border-radius:14px}.map-directory-grid{grid-template-columns:1fr 1fr}.region-label{font-size:19px;stroke-width:6px}}
@media(max-width:600px){.tv-nav-inner{min-height:0;padding-top:12px;padding-bottom:12px;gap:8px}.tv-brand{padding:0}.tv-brand img{width:125px;max-height:78px}.tv-dropdown{top:142px}.map-toolbar>p{font-size:10px;gap:6px}.map-legend{margin-left:9px}.community-panel{padding:22px}.map-action{padding:13px 12px}.map-action small{font-size:10px}.map-panel-actions{gap:9px}.map-directory{padding:16px}.map-directory-grid{gap:8px}.map-directory-grid article{padding:12px}}
@media(prefers-reduced-motion:reduce){.region-shape,.map-action{transition:none}}
