:root {
  --sf-paper: #fbfaf6;
  --sf-surface: #fffdf8;
  --sf-white: #ffffff;
  --sf-ink: #0b101b;
  --sf-muted: #69717d;
  --sf-gold: #eea70c;
  --sf-gold-dark: #925f00;
  --sf-primary: #ffb91e;
  --sf-primary-hover: #f3aa0a;
  --sf-primary-soft: #fff1cd;
  --sf-border: #e5e1d7;
  --sf-border-soft: #eeebe3;
  --sf-shadow: 0 8px 24px rgba(26, 32, 41, .05);
  --sf-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17231f; background: #eef0eb; font-synthesis: none; }
* { box-sizing: border-box; }
/* Public pages use normal document scrolling. Only map workspaces are bounded. */
html, body, #root { width: 100%; margin: 0; }
html { min-height: 100%; overflow-x: hidden; overflow-y: auto; }
body, #root { min-height: 100vh; min-height: 100dvh; }
button, input { font: inherit; }
button { color: inherit; }
.app-shell { height: 100vh; height: 100dvh; overflow: hidden; display: grid; grid-template-rows: 58px 1fr; background: #eef0eb; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid #d7dcd5; background: rgba(250,251,248,.97); z-index: 1000; }
.region-pill { display: flex; align-items: center; gap: 6px; margin-left: 18px; padding: 7px 10px; border: 1px solid #d7dcd5; border-radius: 5px; color: #4a5a54; font-size: 12px; background: #fff; }
.topbar-actions { margin-left: auto; }
.workspace-switch { display: flex; align-items: center; height: 34px; margin-left: 18px; padding: 2px; border: 1px solid #d2d8d1; border-radius: 5px; background: #e9ede8; }
.workspace-switch button { height: 28px; padding: 0 12px; border: 0; border-radius: 3px; background: transparent; color: #52605a; cursor: pointer; font-size: 11px; font-weight: 700; }
.workspace-switch button.active { background: #fff; color: #164b3e; box-shadow: 0 1px 3px rgba(23,35,31,.12); }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 5px; cursor: pointer; }
.icon-button:hover { background: #e7ebe5; }
.workspace { min-height: 0; display: grid; grid-template-columns: 310px minmax(300px, 1fr) 340px; transition: grid-template-columns .2s ease; }
.workspace.filters-closed { grid-template-columns: 0 minmax(300px, 1fr) 340px; }.workspace.details-closed { grid-template-columns: 310px minmax(300px, 1fr) 0; }.workspace.filters-closed.details-closed { grid-template-columns: 0 minmax(300px, 1fr) 0; }
.filters-panel, .details-panel { min-width: 0; overflow: hidden; background: #f8f9f6; z-index: 500; }
.filters-panel { border-right: 1px solid #d8ddd6; display: block; overflow-y: auto; scrollbar-gutter: stable; }.details-panel { border-left: 1px solid #d8ddd6; }
.panel-heading { min-height: 86px; padding: 18px 18px 14px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid #e0e4de; }
.eyebrow { display: block; color: #65726c; font-size: 10px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 7px; }
h1, h2, h3, p { margin-top: 0; } h1, h2 { font-size: 19px; line-height: 1.25; margin-bottom: 0; letter-spacing: 0; } h3 { font-size: 12px; letter-spacing: 0; }
.search-box { height: 39px; margin: 14px 16px 10px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #ccd3cc; border-radius: 5px; background: #fff; color: #66736d; }
.search-box:focus-within { border-color: #407d6e; box-shadow: 0 0 0 2px rgba(64,125,110,.12); }.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; font-size: 12px; color: #17231f; }
.filter-group { padding: 10px 16px; }.filter-group > label, .label-line label { display: block; font-size: 11px; color: #56635e; font-weight: 650; }
.segmented { height: 34px; margin-top: 7px; display: grid; grid-template-columns: repeat(2, 1fr); padding: 2px; border: 1px solid #d6dcd5; border-radius: 5px; background: #e9ede8; }
.segmented.three-way { grid-template-columns: repeat(3, 1fr); }
.segmented.four-way { grid-template-columns: repeat(4, 1fr); }
.segmented button { border: 0; border-radius: 3px; background: transparent; cursor: pointer; font-size: 11px; }.segmented button.active { background: #fff; color: #164b3e; font-weight: 700; box-shadow: 0 1px 3px rgba(23,35,31,.1); }
.label-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }.label-line output { flex: 0 0 auto; color: #164b3e; font-size: 11px; font-weight: 750; }
.range-group input { width: 100%; margin: 12px 0 2px; accent-color: #28735f; }.range-ends { display: flex; justify-content: space-between; color: #89928e; font-size: 9px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 7px 16px; border-top: 1px solid #e0e4de; }.results-heading > div:first-child { display: flex; align-items: baseline; gap: 5px; }.results-heading span { font-size: 12px; font-weight: 750; }.results-heading small { font-size: 10px; color: #7b8681; }.page-controls { display: flex; align-items: center; gap: 4px; }.page-controls button { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 1px solid #d0d6d0; border-radius: 4px; background: #fff; cursor: pointer; }.page-controls button:disabled { opacity: .35; cursor: default; }
.compact-fields select, .evidence-filter-grid select { width: 100%; height: 31px; margin-top: 7px; padding: 0 8px; border: 1px solid #ccd3cc; border-radius: 4px; background: #fff; color: #34443d; font-size: 10px; }
.sort-control { display: grid; grid-template-columns: minmax(0, 1fr) 31px; gap: 5px; }.sort-control button { width: 31px; height: 31px; display: grid; place-items: center; margin-top: 7px; padding: 0; border: 1px solid #ccd3cc; border-radius: 4px; background: #fff; color: #315c50; cursor: pointer; }.sort-control button:hover { background: #eef2ed; }
.evidence-filter-grid { display: grid; gap: 6px; }.evidence-filter-grid select { margin-top: 0; }.evidence-filter-grid > label { margin-bottom: 1px; }
.result-list { min-height: 92px; overflow: visible; border-top: 1px solid #e5e8e3; }.result-row { width: 100%; min-height: 56px; padding: 9px 13px 9px 16px; display: grid; grid-template-columns: 8px 1fr 16px; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid #e7eae6; background: transparent; text-align: left; cursor: pointer; }
.result-row:hover { background: #f3f0e7; }.result-row.selected { background: #f5e9c7; box-shadow: inset 3px 0 #b47b00; }.status-dot { width: 7px; height: 7px; border-radius: 50%; }.status-dot.reference { background: #d69b0c; }.status-dot.broad { background: #e1bd58; }
.result-main { min-width: 0; display: flex; flex-direction: column; }.result-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.result-main small { margin-top: 4px; color: #707c76; font-size: 10px; }.empty-results { padding: 30px 18px; color: #69756f; text-align: center; font-size: 12px; }
.map-stage { position: relative; min-width: 0; min-height: 0; }.leaflet-container { width: 100%; height: 100%; background: #dfe5df; font-family: inherit; }.leaflet-tooltip-pane { z-index: 1000 !important; pointer-events: none; }.leaflet-popup-pane { z-index: 1200 !important; }.leaflet-popup { z-index: 1201 !important; }.leaflet-tooltip { border: 0; border-radius: 4px; box-shadow: 0 2px 10px rgba(20,35,30,.18); font-size: 11px; line-height: 1.45; }
.map-info-tooltip { width: min(280px, 70vw); padding: 0 !important; overflow: hidden; border: 1px solid #cbd3cc !important; background: rgba(252,253,250,.98) !important; color: #26342e; pointer-events: none; }
.map-info-heading { padding: 6px 9px; border-bottom: 1px solid #dce2dc; background: #eef2ed; color: #607069; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.map-info-item { display: flex; flex-direction: column; gap: 2px; padding: 6px 9px; border-bottom: 1px solid #e6e9e5; }.map-info-item:last-child { border-bottom: 0; }.map-info-item strong { font-size: 10px; line-height: 1.25; }.map-info-item span { color: #697670; font-size: 9px; line-height: 1.3; }
.map-toolbar { position: absolute; z-index: 800; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }.map-toolbar > * { pointer-events: auto; }
.tool-button, .basemap-control { height: 36px; border: 1px solid #cbd2cb; border-radius: 5px; background: rgba(255,255,255,.96); box-shadow: 0 2px 8px rgba(28,43,37,.12); }.tool-button { display: flex; align-items: center; gap: 7px; padding: 0 10px; cursor: pointer; font-size: 11px; font-weight: 700; }
.basemap-control { display: flex; padding: 2px; margin-left: auto; }.basemap-control button { display: flex; align-items: center; gap: 5px; padding: 0 9px; border: 0; border-radius: 3px; background: transparent; cursor: pointer; font-size: 11px; }.basemap-control button.active { background: #1b4d40; color: #fff; }
.map-legend { position: absolute; z-index: 800; bottom: 34px; left: 14px; display: flex; flex-wrap: wrap; gap: 10px 14px; max-width: calc(100% - 200px); padding: 8px 10px; border: 1px solid #d0d6d0; border-radius: 5px; background: rgba(255,255,255,.94); box-shadow: 0 2px 8px rgba(28,43,37,.1); font-size: 9px; color: #4d5b55; }
.map-legend span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }.legend-swatch { width: 10px; height: 10px; border-radius: 2px; }.legend-swatch.reference { background: #efbd3d; border: 1px solid #a56f00; }.legend-swatch.broad { background: #f4d77e; border: 1px solid #b78c20; }.legend-line { width: 14px; height: 2px; background: #a44938; }.legend-point { width: 8px; height: 8px; border-radius: 50%; background: #245f91; border: 1px solid #fff; box-shadow: 0 0 0 1px #245f91; }.legend-benchmark { width: 14px; height: 10px; border: 1.5px solid #000; background: rgba(40,168,157,.12); }.legend-benchmark.proposed { border-color: #000; background: rgba(199,129,145,.12); }.legend-benchmark.withdrawn { border-color: #000; background: rgba(174,181,177,.12); }.legend-boundary { width: 16px; height: 0; border-top: 1.5px solid #000; }.legend-boundary.dashed { border-top-style: dashed; }.geometry-key { display: grid; gap: 4px; padding: 0 0 5px 37px; }.geometry-key small { display: flex; align-items: center; gap: 7px; color: #68736d; }.legend-evidence { width: 11px; height: 8px; border: 1px solid; }.legend-evidence.zoning { background: rgba(139,121,178,.45); border-color: #66558c; }.legend-evidence.flood { background: rgba(85,164,207,.55); border-color: #2676a6; }.legend-evidence.ecology { background: rgba(120,168,110,.5); border-color: #4f8149; }.legend-evidence.protected { background: rgba(182,109,132,.5); border-color: #8a4d63; }

.benchmark-popup { color: #1d2c29; min-width: 260px; }
.benchmark-popup-kicker { color: #087f78; display: block; font-size: 10px; font-weight: 800; letter-spacing: 0; margin-bottom: 3px; text-transform: uppercase; }
.benchmark-popup > strong { display: block; font-size: 16px; line-height: 1.25; margin-bottom: 10px; }
.benchmark-popup dl { display: grid; gap: 6px; margin: 0; }
.benchmark-popup dl div { display: grid; gap: 2px; grid-template-columns: 94px 1fr; }
.benchmark-popup dt { color: #73807c; font-size: 11px; }
.benchmark-popup dd { font-size: 12px; font-weight: 700; margin: 0; }
.benchmark-popup p { border-top: 1px solid #dbe2de; color: #66736f; font-size: 11px; line-height: 1.45; margin: 10px 0 7px; padding-top: 8px; }
.benchmark-popup a { color: #075c57; font-size: 12px; font-weight: 750; }
.legend-evidence.soil-poor { background: #a65649; border-color: #6d332e; }
.legend-evidence.maori-land { background: rgba(169,87,63,.52); border-color: #713726; }
.legend-evidence.buildings { background: rgba(231,241,237,.88); border-color: #1f3d47; }
.legend-attribution { color: #4d5b55; white-space: nowrap; }
.leaflet-control-scale { margin-left: 14px !important; margin-bottom: var(--map-legend-clearance, 58px) !important; }.leaflet-control-scale-line { border-color: #4e554f; border-top: 0; background: rgba(255,255,255,.88); color: #28322e; font-size: 9px; line-height: 16px; }
.layer-drawer { position: absolute; z-index: 800; right: 12px; bottom: 34px; width: 184px; padding: 9px 11px; border: 1px solid #d0d6d0; border-radius: 5px; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(28,43,37,.1); }.layer-drawer > span { display: block; margin-bottom: 7px; color: #66736d; font-size: 9px; font-weight: 750; text-transform: uppercase; }.layer-divider { height: 1px; margin: 8px 0; background: #dce1db; }
.toggle-row { display: flex; align-items: center; gap: 7px; margin: 6px 0; font-size: 10px; }.switch { position: relative; width: 25px; height: 14px; padding: 0; border: 0; border-radius: 8px; background: #b6bdb9; cursor: pointer; }.switch span { position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .15s; }.switch.on { background: #28735f; }.switch.on span { transform: translateX(11px); }
.details-panel { display: flex; flex-direction: column; }.detail-heading { min-height: 86px; }.detail-heading h2 { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.detail-scroll { min-height: 0; overflow-y: auto; }.detail-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; padding: 40px; text-align: center; color: #77827c; }.detail-placeholder p { max-width: 220px; font-size: 12px; line-height: 1.6; }
.classification { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #dce1db; font-size: 10px; font-weight: 750; }.classification small { font-weight: 500; color: #66736d; }.classification.reference { background: #e4f0eb; color: #175b4b; }.classification.broad { background: #f5ecd9; color: #7f5914; }
.evidence-section { padding: 17px 18px; border-bottom: 1px solid #e0e4de; }.evidence-section h3 { margin-bottom: 12px; color: #34443d; }.metrics { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 12px; }.metrics div { min-width: 0; }.metrics dt { margin-bottom: 3px; color: #77827d; font-size: 9px; line-height: 1.3; }.metrics dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 700; line-height: 1.3; }
.method-note { margin: 14px 0 0; padding: 9px 10px; border-left: 3px solid #97aaa2; background: #eef2ee; color: #5f6d67; font-size: 10px; line-height: 1.5; }.method-note.warning { border-left-color: #b98128; background: #f7f0e2; color: #735a2e; }.member-ids { margin: 10px 0 0; color: #596660; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }.unknowns ul { margin: 0; padding-left: 17px; color: #53615b; font-size: 11px; line-height: 1.8; }
.evidence-copy { margin: 0; color: #53615b; font-size: 11px; line-height: 1.6; }.evidence-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }.evidence-list li { display: flex; flex-direction: column; gap: 2px; font-size: 10px; color: #68746f; }.evidence-list strong { color: #34443d; font-size: 11px; text-transform: capitalize; }
.source-strip { display: flex; gap: 9px; margin: 14px 18px 18px; padding: 11px; border: 1px solid #d8ddd7; border-radius: 5px; color: #68746f; background: #fff; }.source-strip svg { flex: 0 0 auto; }.source-strip span { display: flex; flex-direction: column; font-size: 9px; line-height: 1.5; }.source-strip strong { color: #35443e; font-size: 10px; }
.check-workspace { min-height: 0; display: grid; grid-template-columns: 320px minmax(320px, 1fr) 350px; }
.check-search-panel, .check-result-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #f8f9f6; z-index: 500; }
.check-search-panel { border-right: 1px solid #d8ddd6; }.check-result-panel { border-left: 1px solid #d8ddd6; }
.check-intro { padding: 14px 18px 2px; color: #5d6964; font-size: 11px; line-height: 1.55; }
.address-search-wrap { position: relative; z-index: 900; }.address-search-wrap .search-box { margin-top: 12px; }
.mini-loader { flex: 0 0 auto; width: 14px; height: 14px; border: 2px solid #ccd5cf; border-top-color: #28735f; border-radius: 50%; animation: spin .8s linear infinite; }
.address-results { position: absolute; top: 44px; left: 16px; right: 16px; overflow: hidden; border: 1px solid #cdd4cd; border-radius: 5px; background: #fff; box-shadow: 0 8px 24px rgba(23,35,31,.18); }
.address-results button { width: 100%; min-height: 52px; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 0; border-bottom: 1px solid #e4e8e3; background: #fff; text-align: left; cursor: pointer; }
.address-results button:last-child { border-bottom: 0; }.address-results button:hover { background: #f5edda; }.address-results strong { font-size: 11px; }.address-results span { color: #74807a; font-size: 10px; }
.check-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 30px; color: #77827c; text-align: center; }.check-empty strong { color: #46534e; font-size: 12px; }.check-empty > span:not(.loader) { max-width: 220px; font-size: 11px; line-height: 1.55; }
.inline-error { margin: 12px 16px; padding: 10px; border-left: 3px solid #a65343; background: #f5e8e4; color: #7b3f34; font-size: 11px; line-height: 1.5; }
.address-confirmation { margin-top: auto; padding: 17px 18px; border-top: 1px solid #dde2dc; background: #f5ecd8; display: flex; flex-direction: column; gap: 5px; }.address-confirmation > strong { font-size: 12px; }.address-confirmation > span:not(.eyebrow) { color: #65716c; font-size: 10px; }.address-confirmation p { margin: 7px 0 0; color: #6e5a34; font-size: 10px; line-height: 1.5; }
.check-status { display: flex; flex-direction: column; gap: 4px; padding: 13px 18px; border-bottom: 1px solid #dce1db; }.check-status strong { font-size: 11px; }.check-status span { font-size: 9px; }.check-status.complete { background: #e4f0eb; color: #175b4b; }.check-status.preliminary { background: #f5ecd9; color: #7f5914; }
.legend-neighbour { width: 14px; height: 9px; border: 1.5px solid #e0aa18; background: transparent; }
.legend-resource { width: 14px; height: 9px; border: 1px solid rgba(30,45,39,.3); }.legend-resource.low { background: #4f83a5; }.legend-resource.high { background: #b85c35; }
.check-layer-drawer { max-height: calc(100% - 74px); overflow-y: auto; }
.scenario-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 2px; color: #596660; font-size: 10px; }
.mini-segmented { display: flex; padding: 1px; border: 1px solid #d2d8d1; border-radius: 4px; background: #e9ede8; }
.mini-segmented button { min-width: 29px; height: 20px; padding: 0 6px; border: 0; border-radius: 3px; background: transparent; cursor: pointer; font-size: 9px; }
.mini-segmented button.active { background: #fff; color: #164b3e; font-weight: 750; box-shadow: 0 1px 2px rgba(23,35,31,.12); }
.load-state { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; color: #53615b; }.load-state span { font-size: 12px; }.loader { width: 26px; height: 26px; border: 3px solid #ccd5cf; border-top-color: #28735f; border-radius: 50%; animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.modal-backdrop { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(17,29,25,.55); }.about-modal { position: relative; width: min(520px, 100%); max-height: 90vh; overflow-y: auto; padding: 26px; border-radius: 7px; background: #fbfcf9; box-shadow: 0 18px 50px rgba(15,27,23,.3); }.modal-close { position: absolute; top: 12px; right: 12px; }.about-modal h2 { margin-bottom: 15px; font-size: 22px; }.about-modal h3 { margin: 0 0 8px; }.about-modal p { color: #53615b; font-size: 12px; line-height: 1.65; }.about-modal a { color: #176451; font-size: 12px; font-weight: 750; }.about-divider { height: 1px; margin: 20px 0; background: #dce1db; }
.mobile-only { display: none; }
.brand-home { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.brand-logo { display: block; max-width: 100%; height: auto; aspect-ratio: 2109 / 588; overflow: hidden; position: relative; background: transparent; }
.brand-logo > img { position: absolute; width: 128.94%; max-width: none; height: auto; left: -16.76%; top: -24.38%; }
.workspace-brand { flex: 0 0 auto; }
.workspace-brand .brand-logo { width: 150px; }
.solar-atlas-workspace { min-height: 0; display: grid; grid-template-columns: 310px minmax(360px, 1fr) 330px; }
.solar-atlas-panel, .solar-detail-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; background: #f8f9f6; z-index: 500; }
.solar-atlas-panel { border-right: 1px solid #d8ddd6; }.solar-detail-panel { border-left: 1px solid #d8ddd6; }
.solar-atlas-intro { margin: 14px 18px 2px; color: #5d6964; font-size: 11px; line-height: 1.55; }.solar-farm-list { overflow: visible; }
.energy-theme-select { margin-top: 14px; }.energy-theme-select small { display: block; margin-top: 6px; color: #65716c; font-size: 10px; line-height: 1.4; }
.legend-benchmark.consented { border-color: #bb7d13; background: rgba(187,125,19,.23); }.legend-swatch.solar-region { background: #d9991d; border: 1px solid #a87912; }
.solar-layer-note { display: flex; align-items: flex-start; gap: 5px; color: #65716c; font-size: 9px; line-height: 1.4; }.solar-source-link { display: block; margin: 0 18px 18px; color: #075c57; font-size: 12px; font-weight: 750; }
.solar-farm-label { padding: 1px 3px !important; border: 0 !important; border-radius: 2px !important; background: rgba(255,255,255,.82) !important; box-shadow: 0 1px 3px rgba(20,35,30,.2) !important; color: #293530 !important; font-size: 9px !important; font-weight: 700; white-space: nowrap; }
.solar-farm-label:before { display: none; }
.generation-icon-wrapper { background: transparent; border: 0; cursor: pointer !important; pointer-events: auto !important; }
.generation-icon-wrapper * { cursor: pointer !important; pointer-events: auto !important; }
.generation-icon { width: 18px; height: 18px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px rgba(20,35,30,.36), 0 0 0 1px rgba(28,48,41,.5); color: #fff; font-family: Georgia, serif; font-size: 14px; font-weight: 700; line-height: 1; text-shadow: 0 1px 1px rgba(0,0,0,.18); }
.generation-icon-hydro { background: #167b9a; }
.generation-icon-wind { background: #5c729e; }
.generation-icon-geothermal { background: #b35e36; }
.generation-icon-thermal { background: #6c596c; }
.generation-icon-cogeneration { background: #8b6d3e; }
.generation-icon-solar { background: #bd8212; }
.generation-icon-battery { background: #31715d; }
.generation-popup { color: #1d2c29; min-width: 250px; }
.generation-popup > strong { display: block; margin: 2px 0 10px; font-size: 16px; line-height: 1.25; }
.generation-popup dl { display: grid; gap: 6px; margin: 0; }
.generation-popup dl div { display: grid; gap: 2px; grid-template-columns: 94px 1fr; }
.generation-popup dt { color: #73807c; font-size: 11px; }
.generation-popup dd { margin: 0; font-size: 12px; font-weight: 700; }
.generation-popup p { margin: 10px 0 7px; padding-top: 8px; border-top: 1px solid #dbe2de; color: #66736f; font-size: 11px; line-height: 1.45; }
.generation-popup a { color: #075c57; font-size: 12px; font-weight: 750; }
.admin-shell { overflow: auto; background: #f4f6f2; }.admin-workspace { width: min(1420px, 100%); margin: 0 auto; padding: 28px; }.admin-heading, .admin-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.admin-heading { margin-bottom: 25px; }.admin-heading h1 { margin: 4px 0 8px; font-size: 28px; }.admin-heading p, .admin-section-heading p { max-width: 720px; margin: 0; color: #627069; font-size: 12px; line-height: 1.55; }.admin-section { margin: 20px 0; padding: 20px; border: 1px solid #dce2db; border-radius: 7px; background: #fff; box-shadow: 0 2px 8px rgba(25,42,34,.04); }.admin-section-heading h2 { margin: 3px 0 7px; font-size: 17px; }.admin-section-heading > small { color: #78847e; font-size: 10px; }.admin-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 17px; }.admin-stat-grid.other-generation { grid-template-columns: repeat(4, minmax(0,1fr)); }.admin-stat-card { min-height: 106px; display: flex; flex-direction: column; padding: 14px; border: 1px solid #dce3dc; border-radius: 5px; background: #f9fbf8; }.admin-stat-card > span { color: #5d6b64; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }.admin-stat-card > strong { margin: 10px 0 5px; color: #1d5547; font-size: 25px; }.admin-stat-card > small { color: #6f7b75; font-size: 10px; line-height: 1.4; }.admin-stat-card.consented > strong { color: #9a6815; }.admin-stat-card.planned > strong { color: #7e4e62; }.admin-lists { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 16px; }.admin-list { overflow: hidden; border: 1px solid #dce2db; border-radius: 5px; }.admin-list h3 { display: flex; justify-content: space-between; margin: 0; padding: 11px 13px; background: #f2f5f0; font-size: 12px; }.admin-list h3 span { color: #64716a; }.admin-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 13px; border-top: 1px solid #e4e9e3; }.admin-row > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.admin-row strong { font-size: 11px; }.admin-row small { color: #6d7973; font-size: 9px; line-height: 1.4; }.admin-row a { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: #176451; font-size: 9px; font-weight: 750; text-decoration: none; }.discovery-section { border-color: #d6dfd4; }.admin-scan-button { flex: 0 0 auto; background: #1b4d40; color: #fff; border-color: #1b4d40; }.admin-scan-button:disabled { opacity: .6; cursor: wait; }.discovery-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 16px 0; color: #68756e; font-size: 10px; }.source-checks { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid #e0e6df; border-radius: 5px; overflow: hidden; }.source-checks div { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-right: 1px solid #e0e6df; }.source-checks strong { font-size: 10px; }.source-checks span { color: #6d7973; font-size: 9px; line-height: 1.35; }.scan-log { margin-top: 14px; border: 1px solid #e0e6df; border-radius: 5px; background: #f9fbf8; }.scan-log summary { padding: 10px 12px; color: #1d5547; font-size: 11px; font-weight: 750; cursor: pointer; }.scan-log > p { margin: 0; padding: 0 12px 10px; color: #6d7973; font-size: 10px; line-height: 1.4; }.scan-log div { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(260px, 1.5fr) minmax(180px, .9fr); gap: 10px; padding: 9px 12px; border-top: 1px solid #e0e6df; }.scan-log strong, .scan-log code, .scan-log span { min-width: 0; font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }.scan-log code { color: #53615b; white-space: normal; }.scan-log span { color: #6d7973; }.discovery-findings { margin-top: 14px; border: 1px solid #e0e6df; border-radius: 5px; overflow: hidden; }.discovery-findings > p { margin: 0; padding: 18px; color: #6c7872; font-size: 11px; }.assisted-discovery { margin-top: 18px; padding: 16px; border: 1px solid #d9e3d7; border-radius: 5px; background: #f8fbf7; }.assisted-discovery h3 { margin: 3px 0 6px; font-size: 13px; }.assisted-discovery p { max-width: 760px; margin: 0; color: #627069; font-size: 10px; line-height: 1.5; }.assisted-discovery p a { color: #176451; font-weight: 750; }.assisted-discovery form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }.assisted-discovery input, .assisted-discovery textarea { width: 100%; min-width: 0; padding: 8px 9px; border: 1px solid #cfd9ce; border-radius: 4px; background: #fff; color: #25332d; font-size: 10px; }.assisted-discovery textarea { grid-column: span 2; resize: vertical; }.assisted-discovery form button { justify-self: start; font-size: 10px; }.assisted-items { margin-top: 14px; overflow: hidden; border: 1px solid #dce2db; border-radius: 5px; background: #fff; }.admin-caveat { margin: 20px 2px; color: #637068; font-size: 10px; line-height: 1.5; }
.scan-progress { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 14px; margin: 14px 0; padding: 10px 12px; border: 1px solid #ccdcca; border-radius: 5px; background: #f4f9f2; color: #315a48; font-size: 10px; }.scan-progress > span { color: #64746b; }.scan-progress-window { grid-column: span 2; overflow: hidden; width: min(100%, 620px); }.scan-progress-track { display: flex; width: max-content; gap: 10px; animation: scan-source-scroll 11s linear infinite; }.scan-progress-track i { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: #dfeede; color: #426452; font-size: 9px; font-style: normal; white-space: nowrap; }@keyframes scan-source-scroll { from { transform: translateX(0); } to { transform: translateX(-20%); } }.council-coverage-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 14px; }.council-coverage-stats > div { display: flex; flex-direction: column; gap: 3px; padding: 11px; border: 1px solid #dce4da; border-radius: 5px; background: #f9fbf8; }.council-coverage-stats strong { color: #1d5547; font-size: 20px; }.council-coverage-stats span { font-size: 10px; font-weight: 750; text-transform: capitalize; }.council-coverage-stats small { color: #6b7871; font-size: 9px; line-height: 1.35; }.council-coverage-list { margin-top: 14px; border: 1px solid #e0e6df; border-radius: 5px; overflow: hidden; }.council-coverage-list summary { padding: 10px 12px; color: #1d5547; font-size: 11px; font-weight: 750; cursor: pointer; }.council-coverage-list > div { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(180px, .8fr) minmax(260px, 1.5fr) auto; gap: 10px; align-items: start; padding: 10px 12px; border-top: 1px solid #e0e6df; }.council-coverage-list strong, .council-coverage-list span, .council-coverage-list small, .council-coverage-list a { font-size: 9px; line-height: 1.4; }.council-coverage-list span, .council-coverage-list small { color: #64726b; }.council-coverage-list a { color: #176451; font-weight: 750; text-decoration: none; white-space: nowrap; }
.assisted-discovery select { width: 100%; min-width: 0; padding: 8px 9px; border: 1px solid #cfd9ce; border-radius: 4px; background: #fff; color: #25332d; font-size: 10px; }
.finding-filter { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 12px; border-bottom: 1px solid #e0e6df; background: #f8faf7; }.finding-filter button { padding: 5px 8px; border: 1px solid #cbd7ca; border-radius: 999px; background: #fff; color: #52645a; font-size: 9px; font-weight: 750; cursor: pointer; }.finding-filter button.active { border-color: #1b4d40; background: #1b4d40; color: #fff; }
.finding-priority-note { margin: 0; padding: 8px 12px; border-bottom: 1px solid #e0e6df; color: #6d7973; font-size: 9px; line-height: 1.4; }

@media (max-width: 1050px) { .workspace { grid-template-columns: 280px minmax(280px, 1fr) 310px; }.workspace.filters-closed { grid-template-columns: 0 minmax(280px,1fr) 310px; }.workspace.details-closed { grid-template-columns: 280px minmax(280px,1fr) 0; } }
@media (max-width: 1050px) { .solar-atlas-workspace { grid-template-columns: 270px minmax(300px, 1fr) 290px; } }
@media (max-width: 780px) {
  .region-pill { display: none; }.workspace-switch { margin-left: auto; }.workspace-switch button { padding: 0 8px; }.workspace, .workspace.filters-closed, .workspace.details-closed, .workspace.filters-closed.details-closed { display: block; position: relative; }
  .filters-panel, .details-panel { position: absolute; z-index: 1200; top: 0; bottom: 0; width: min(88vw, 340px); transition: transform .2s ease; box-shadow: 4px 0 20px rgba(18,35,28,.2); }
  .filters-panel { left: 0; }.details-panel { right: 0; box-shadow: -4px 0 20px rgba(18,35,28,.2); }.filters-closed .filters-panel { transform: translateX(-105%); }.details-closed .details-panel { transform: translateX(105%); }
  .map-stage { position: absolute; inset: 0; }.mobile-only { display: inline-grid; }.map-legend { max-width: calc(100% - 28px); bottom: 102px; }.layer-drawer { left: 14px; right: auto; bottom: 14px; width: 172px; }.map-toolbar { align-items: flex-start; }.basemap-control { margin-left: 0; }.topbar { padding: 0 12px; }
  .check-workspace { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(260px, 42vh) minmax(0, 1fr); overflow-y: auto; }.check-search-panel, .check-result-panel { overflow: visible; }.check-search-panel .panel-heading { min-height: 72px; }.check-empty { display: none; }.address-confirmation { margin-top: 8px; }.check-workspace .map-stage { position: relative; inset: auto; }.check-result-panel { min-height: 420px; }.check-result-panel .detail-scroll { overflow: visible; }
  .solar-atlas-workspace { display: block; position: relative; }.solar-atlas-panel, .solar-detail-panel { display: none; }.solar-atlas-workspace .map-stage { position: absolute; inset: 0; }
  .admin-workspace { padding: 16px; }.admin-heading, .admin-section-heading { flex-direction: column; }.admin-stat-grid, .admin-stat-grid.other-generation, .admin-lists, .source-checks, .assisted-discovery form, .council-coverage-stats { grid-template-columns: 1fr; }.source-checks div { border-right: 0; border-bottom: 1px solid #e0e6df; }.scan-log div, .council-coverage-list > div { grid-template-columns: 1fr; gap: 3px; }.assisted-discovery textarea { grid-column: span 1; }
}

.solar-detail-panel .method-note { overflow-wrap: anywhere; }
.browser-review-panel { margin: 16px 0; padding: 18px; border: 1px solid #d7b756; border-radius: 12px; background: #fffaf0; }
.browser-review-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.browser-review-task { display: grid; gap: 5px; padding: 12px 0; border-bottom: 1px solid #ded9c8; overflow-wrap: anywhere; }
.browser-review-panel summary { cursor: pointer; margin-top: 14px; }

.public-page-shell {
  min-height: 100vh;
  background: var(--sf-paper);
  color: var(--sf-ink);
  font-family: var(--sf-font);
}

/* Shared navigation: keep the homepage header and logo sizing unchanged. */
.public-header { min-height: 82px; padding: 14px clamp(22px, 5vw, 74px); display: flex; align-items: center; gap: 28px; border-bottom: 1px solid #e4e0d7; background: #fffffd; position: sticky; top: 0; z-index: 20; }
.public-brand { flex: 0 0 auto; }
.public-brand .brand-logo { width: 188px; height: auto; }
.public-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.public-nav button, .public-footer button { appearance: none; border: 0; background: transparent; color: #505968; font: 600 14px/1.2 Inter, system-ui, sans-serif; padding: 11px 12px; cursor: pointer; border-radius: 8px; transition: background-color .16s ease, color .16s ease, box-shadow .16s ease; }
.public-nav button:is(:hover, :focus-visible), .public-footer button:is(:hover, :focus-visible) { color: var(--sf-gold-dark); background: var(--sf-primary-soft); box-shadow: inset 0 0 0 1px rgba(238, 167, 12, .2); }
.public-nav button:focus-visible, .public-footer button:focus-visible { outline: 3px solid var(--sf-gold-dark); outline-offset: 4px; }
.public-footer { border-top: 1px solid #e4e0d7; padding: 24px clamp(22px, 5vw, 74px); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #6e7681; font: 500 13px/1.4 Inter, system-ui, sans-serif; background: #fff; }
.public-footer div { display: flex; gap: 3px; }
.public-nav > a, .public-footer a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 12px; border-radius: 8px; color: #505968; text-decoration: none; white-space: nowrap; font: 600 14px/1.2 Inter, system-ui, sans-serif; transition: background-color .16s ease, color .16s ease, box-shadow .16s ease; }
.public-nav > a:is(:hover, :focus-visible), .public-footer a:is(:hover, :focus-visible) { color: var(--sf-gold-dark); background: var(--sf-primary-soft); box-shadow: inset 0 0 0 1px rgba(238, 167, 12, .2); }
.public-nav > a:focus-visible, .public-footer a:focus-visible { outline: 3px solid var(--sf-gold-dark); outline-offset: 4px; }
.public-nav > .public-email-action { background: var(--sf-primary); color: var(--sf-ink); margin-left: 8px; }
.public-nav > .public-email-action:hover { background: var(--sf-primary-hover); color: var(--sf-ink); }
.public-nav > a[aria-current="page"] { color: var(--sf-gold-dark); background: var(--sf-primary-soft); }
@media (max-width: 1050px) { .public-header { flex-wrap: wrap; gap: 12px; } .public-nav { flex-wrap: wrap; } }
@media (max-width: 850px) { .public-nav > a { padding: 9px 6px; } .public-nav { flex-wrap: nowrap; } }

.public-page-main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 70px) 52px; }
.public-hero { max-width: 780px; padding: 60px 0 42px; }
.public-hero h1 { margin: 0; color: var(--sf-ink); font-size: clamp(34px, 4.5vw, 52px); font-weight: 750; letter-spacing: -.045em; line-height: 1.12; }
.public-hero p { max-width: 700px; margin: 16px 0 0; color: var(--sf-muted); font-size: 17px; line-height: 1.65; }
.public-section { padding: 32px 0; border-top: 1px solid var(--sf-border); }
.public-section h2 { margin: 0 0 20px; font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.public-prose { max-width: 78ch; }
.public-prose p { margin: 0 0 16px; color: var(--sf-muted); font-size: 15px; line-height: 1.75; }
.public-prose p:last-child { margin-bottom: 0; }
.public-about-intro { max-width: 850px; padding-bottom: 32px; }
.public-about-details { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: 32px; }
.public-about-details h2 { margin-bottom: 0; }
.public-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.public-tool { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 24px; border: 1px solid var(--sf-border); border-radius: 12px; background: var(--sf-white); }
.public-tool > svg { color: var(--sf-gold-dark); }
.public-tool-coverage { align-self: center; color: var(--sf-muted); font-size: 11px; }
.public-tool h3 { grid-column: 1 / -1; margin: 18px 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.public-tool p { grid-column: 1 / -1; margin: 0 0 16px; color: var(--sf-muted); font-size: 14px; line-height: 1.65; }
.public-tool-link { display: inline-flex; align-items: center; justify-self: start; align-self: end; gap: 7px; min-height: 36px; padding: 7px 0; border: 0; background: transparent; color: var(--sf-gold-dark); font: 650 13px/1.4 var(--sf-font); text-align: left; cursor: pointer; }
.public-tool > .public-tool-link { grid-column: 1 / -1; }
.public-tool-link:hover { color: #704800; text-decoration: underline; }
.public-coverage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 18px; }
.public-coverage-list > div { padding-left: 16px; border-left: 3px solid var(--sf-gold); }
.public-coverage-list dt { margin-bottom: 5px; font-size: 14px; font-weight: 650; }
.public-coverage-list dd { margin: 0; color: var(--sf-muted); font-size: 14px; line-height: 1.5; }
.public-coverage-summary > p { margin: 0; color: var(--sf-muted); font-size: 14px; line-height: 1.6; }
.public-page-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 0 0; border-top: 1px solid var(--sf-border); }
.public-page-note p { max-width: 720px; margin: 0; color: var(--sf-muted); font-size: 13px; line-height: 1.65; }
.public-page-note .public-tool-link { flex-shrink: 0; align-self: center; }

.source-list { border-top: 1px solid var(--sf-border); }
.source-row { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--sf-border); }
.source-row h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.source-row-details > p { margin: 0; color: var(--sf-ink); font-size: 14px; line-height: 1.6; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 10px; }
.source-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--sf-gold-dark); font-size: 13px; font-weight: 550; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.source-links a:hover { color: #704800; }
.source-links svg { flex-shrink: 0; }
.source-row-details > .source-note { color: var(--sf-muted); font-size: 12px; }
.public-sources-hero + .source-list + .public-page-note { border-top: 0; }

.public-page-shell :is(button, a):focus-visible { outline: 3px solid var(--sf-gold-dark); outline-offset: 4px; }

@media (max-width: 850px) {
  .public-header { gap: 14px; padding: 12px 22px; flex-wrap: wrap; }
  .public-brand .brand-logo { width: 164px; }
  .public-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; overflow-x: auto; }
  .public-nav button { padding: 9px 6px; white-space: nowrap; }
  .public-tool-grid { grid-template-columns: 1fr; }
  .public-about-details { grid-template-columns: 1fr; gap: 16px; }
  .public-tool { padding: 22px; }
  .public-tool h3 { margin-top: 12px; }
  .public-page-note { align-items: flex-start; flex-direction: column; gap: 10px; }
  .public-page-note .public-tool-link { align-self: flex-start; }
  .source-row { grid-template-columns: minmax(140px, .7fr) minmax(0, 2fr); gap: 24px; }
}

@media (max-width: 560px) {
  .public-page-main { padding: 0 20px 34px; }
  .public-header { padding: 11px 18px; }
  .public-brand .brand-logo { width: 145px; }
  .public-hero { padding: 36px 0 30px; }
  .public-hero p { font-size: 16px; }
  .public-section { padding: 26px 0; }
  .public-section h2 { font-size: 22px; }
  .public-coverage-list { grid-template-columns: 1fr; gap: 18px; }
  .public-footer { padding: 20px; display: block; }
  .public-footer div { margin-top: 10px; }
  .source-row { grid-template-columns: 1fr; gap: 10px; padding: 23px 0; }
  .source-links { gap: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-nav button, .public-footer button { transition: none; }
}

body, .page { background: var(--sf-paper); color: var(--sf-ink); }
