/* Floating controls and quiet markers keep the economic data legible. */
.map-workspace{border-color:#e0e3e9;box-shadow:0 12px 36px #25304a0a}
.map-map-frame{position:relative;min-width:0;height:640px;overflow:hidden;background:#eef1f4}
.map-canvas{height:100%;background:#eef1f4}
.map-canvas.maplibregl-map{display:block;padding:0;text-align:initial;color:inherit;font-size:12px;font-family:Inter,system-ui,sans-serif}
.map-map-controls{position:absolute;top:16px;left:16px;right:58px;z-index:3;display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;pointer-events:none}
.map-basemap-picker,.map-display-picker{display:flex;align-items:center;gap:3px;background:#ffffffed;border:1px solid #dce1e8;border-radius:12px;padding:4px;box-shadow:0 3px 14px #18283c12;pointer-events:auto;backdrop-filter:blur(12px)}
.map-map-controls button{min-height:32px;padding:7px 11px;border-radius:8px;color:#5d687a;font-size:11px;font-weight:650;white-space:nowrap}
.map-map-controls button:hover{background:#f1f3f6;color:#202c3f}
.map-map-controls button[aria-pressed=true]{background:#243044;color:#fff;box-shadow:0 1px 3px #24304416}
.map-display-picker button[aria-pressed=true]{background:var(--accent)}
.map-map-controls button:focus-visible,.map-support-icon:focus-visible{outline:3px solid #c51f2b80;outline-offset:2px}
.map-support-icon.maplibregl-marker{display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:2px solid #fff;border-radius:9px;background:#f5c741;color:#614715;box-shadow:0 2px 8px #35291b2b;font:750 12px Inter,system-ui,sans-serif;cursor:pointer}
.map-support-icon:hover{background:#ffda62}
.maplibregl-ctrl-group{border:1px solid #dce1e8;border-radius:10px!important;box-shadow:0 3px 14px #18283c12!important;overflow:hidden}
.maplibregl-ctrl-top-right .maplibregl-ctrl{margin:16px 14px 0 0}
.maplibregl-ctrl-group button{width:32px;height:32px}
.maplibregl-ctrl-attrib{font:9px/1.5 Inter,system-ui,sans-serif!important;background:#ffffffdb!important;border-radius:7px 0 0 0;color:#657186}
.maplibregl-ctrl-attrib a{color:#4d5f78}
.maplibregl-popup-content{padding:20px;border:1px solid #e3e6ec;border-radius:14px;box-shadow:0 6px 26px #16213920;font-family:Inter,system-ui,sans-serif}
.maplibregl-popup-close-button{font-size:20px;width:28px;height:28px;right:5px;top:5px;color:#627087;border-radius:7px}
.map-support-popup a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.map-density-key{position:absolute;bottom:39px;left:16px;z-index:2;width:216px;padding:14px;background:#fffffff0;border:1px solid #dce1e8;border-radius:12px;box-shadow:0 3px 14px #18283c12;pointer-events:none;color:#5d687a}
.map-density-key[hidden]{display:none}
.map-density-key strong{display:block;font-size:11px;line-height:1.45;color:#243044}
.map-density-gradient{display:block;height:6px;border-radius:6px;margin:10px 0 5px;background:linear-gradient(90deg,#4d8ac4,#79bcac,#f3d776,#ef815b,#b51f3c)}
.map-density-range{display:flex;justify-content:space-between;font-size:9px}
.map-density-key small{display:block;font-size:9px;line-height:1.6;margin-top:8px}
@media(max-width:650px){
 .map-map-frame{height:440px;flex:none}
 .map-map-controls{top:12px;left:12px;right:48px;gap:6px}
 .map-map-controls button{padding:7px 8px;font-size:10px;min-height:30px}
 .map-basemap-picker,.map-display-picker{border-radius:10px;padding:3px}
 .maplibregl-ctrl-top-right .maplibregl-ctrl{margin:12px 10px 0 0}
 .maplibregl-ctrl-group button{width:30px;height:30px}
 .map-density-key{left:12px;bottom:38px;width:192px;padding:12px}
 .map-workspace{border-radius:17px}
}
@media(prefers-reduced-motion:reduce){.map-map-controls button{transition:none}}

/* Compact filtering band remains within the map section while scrolling. */
.map-shell{padding-top:24px}
.map-toolbar{margin-bottom:10px}
.map-heading h1{font-size:30px;margin-bottom:8px}
.map-heading #map-intro{font-size:13px;line-height:1.6;margin-bottom:0}
.map-eyebrow{margin-bottom:6px}
.map-type-hint{padding:7px 12px;margin-bottom:12px;font-size:11px}
.map-controls-band{position:sticky;top:0;z-index:6;background:var(--page);padding:8px 0;margin-bottom:8px;border-bottom:1px solid var(--border)}
.map-controls-band .map-filters{margin:0;padding:10px 12px;border-radius:12px;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:10px}
.map-controls-band .map-filters label{min-width:0}
.map-controls-band .map-filters label:first-child{grid-column:auto}
.map-controls-band .map-filters label span{font-size:10px;margin-bottom:4px}
.map-controls-band input[type=search],.map-controls-band select{min-height:38px;padding:8px 10px;font-size:12px;width:100%;min-width:0}
.map-control-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:8px 2px 0}
.map-control-options .map-toggle{margin:0;flex-shrink:0}
.map-control-options .map-toggle button{padding:8px 12px;font-size:11px;min-height:36px}
.map-control-options .map-layer-bar{margin:0;flex:1;gap:10px}
.map-control-options .map-chip{font-size:11px;padding:8px 12px;min-height:36px}
.map-summary{margin:12px 0 0;flex-wrap:wrap}
.map-share-fallback{margin:10px 0 0}
@media(max-width:900px){
 .map-controls-band .map-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 .map-controls-band .map-filters label:first-child{grid-column:1/-1}
 .map-control-options .map-legend{display:none}
}
@media(max-width:650px){
 .map-shell{padding-top:20px}
 .map-heading h1{font-size:26px}
 .map-controls-band{position:static;padding:0 0 8px}
 .map-controls-band .map-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}
 .map-control-options{gap:8px;padding-top:8px}
 .map-control-options .map-toggle{width:100%}
 .map-control-options .map-layer-bar{min-width:0}
 .map-control-options .map-overlay-toggle{font-size:10px}
 .map-control-options .map-chip{font-size:10px;padding:8px}
 .map-summary .map-actions{flex-wrap:wrap}
}
@media(max-height:650px) and (min-width:651px){.map-controls-band{position:static}}

.map-control-options .map-map-controls{position:static;inset:auto;display:flex;align-items:center;flex-wrap:wrap;gap:6px;pointer-events:auto}
.map-control-options .map-layer-bar{flex:0 1 auto}
.map-control-options .map-basemap-picker,.map-control-options .map-display-picker{box-shadow:none;backdrop-filter:none}
.map-control-options .map-map-controls button{min-height:32px;padding:6px 8px;font-size:10px}
.map-summary .map-legend{margin-left:auto}
@media(max-width:650px){
 .map-control-options .map-map-controls{width:100%;order:3}
 .map-control-options .map-map-controls button{min-height:36px}
 .map-summary .map-legend{margin-left:0;flex-wrap:wrap}
}

.rc-section-heading{font-size:14px;margin:22px 0 12px;padding-top:16px;border-top:1px solid #e0e4de}.rc-purpose summary{cursor:pointer;line-height:1.65}.rc-purpose summary span{display:block;font-weight:600;color:#a91530;margin-top:6px}.rc-purpose p{line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.map-detail dd{overflow-wrap:anywhere}

.map-legend-seat::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:#94652c;box-shadow:0 0 0 2px #fff; margin-right:6px}.rc-seat-note{border-left:3px solid #94652c;padding-left:10px}

/* The support label describes an organisation without changing REG categories. */
.map-support-badge,.map-row .map-support-badge{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:4px 8px;margin:7px 0;border:1px solid #f7c63470;border-radius:7px;background:#f7c63420;color:#421b29;font-size:10px;font-weight:650;line-height:1.4;white-space:normal}
.map-support-badge::before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:#b38311;margin-right:6px}
.support-card>.map-support-badge{margin:0 0 8px}
