:root { font-family:Arial,Helvetica,sans-serif; color:#26352e; background:#f5f6f3; --line:#dbe1d8; --muted:#6b776e; }
* { box-sizing:border-box; } body { margin:0; min-width:320px; height:100dvh; overflow:hidden; } h1,h2,h3,p { margin:0; } button,input,select { font:inherit; color:inherit; } button { cursor:pointer; border:1px solid var(--line); border-radius:2px; background:#fff; } button:hover { background:#edf3ec; } button:disabled { opacity:.5; cursor:default; } a { color:inherit; text-decoration:none; } a:hover { text-decoration:underline; } [hidden] { display:none!important; } :focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; } .skip { position:fixed; top:-60px; left:10px; z-index:100; padding:10px; background:#fff; } .skip:focus { top:5px; }
.app-header { display:flex; height:40px; align-items:center; gap:28px; padding:0 14px; background:#fff; border-bottom:1px solid var(--line); } .brand { display:flex; gap:7px; font-size:24px; font-weight:700; letter-spacing:-1.5px; } .brand span { font-size:14px; font-weight:400; padding-top:3px; } nav { display:flex; align-self:stretch; gap:24px; } nav a { display:flex; align-items:center; font-size:11px; color:var(--muted); border-bottom:2px solid transparent; white-space:nowrap; } nav a[aria-current] { color:#26352e; border-color:#26352e; } .mobile-name { display:none; } .app-header > button { margin-left:auto; }
.text-button { border:0; background:transparent; font:10px/1.5 monospace; padding:3px 0; white-space:nowrap; } .text-button:hover { background:transparent; text-decoration:underline; text-underline-offset:3px; }
main { height:calc(100dvh - 40px); display:flex; flex-direction:column; padding:6px 10px 8px; gap:6px; min-height:0; } .filter-bar { display:flex; align-items:center; gap:12px; min-height:34px; flex-shrink:0; } h1 { font-size:16px; font-weight:500; letter-spacing:-.3px; margin-right:8px; white-space:nowrap; } .search { flex:1; max-width:390px; min-width:110px; } .search input { width:100%; font-size:11px; border:1px solid var(--line); padding:7px 10px; border-radius:2px; background:#fff; } select { padding:6px 7px; border:1px solid var(--line); background:#fff; font-size:11px; min-width:0; max-width:190px; } #export-sites { margin-left:auto; }
.summary-strip { display:flex; align-items:center; gap:22px; padding:7px 10px; min-height:32px; flex-shrink:0; border:1px solid var(--line); background:#fff; font-size:10px; color:var(--muted); } .summary-strip strong { font:500 14px/1.2 Arial,sans-serif; color:#26352e; margin-right:3px; font-variant-numeric:tabular-nums; } #catalogue-period { font:9px/1.5 monospace; } .feed-status { margin-left:auto; font:9px/1.5 monospace; background:none; border:0; padding:0; color:#687c72; text-align:right; } .feed-status::before { content:''; display:inline-block; width:5px; height:5px; border-radius:50%; background:#87978c; margin-right:6px; } .feed-status.fresh { color:#22745c; } .feed-status.fresh::before { background:#22745c; } .feed-status.stale { color:#9c713b; } .feed-status.stale::before { background:#b4823f; } .feed-status.unavailable { color:#936555; }
.generation-workspace { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 330px; border:1px solid var(--line); background:white; } .map-column { min-width:0; min-height:0; display:flex; flex-direction:column; } .map-heading { display:flex; align-items:center; gap:12px; padding:8px 11px; border-bottom:1px solid var(--line); flex-shrink:0; } .map-heading h2 { font-size:12px; font-weight:500; } .map-heading > span { font:9px monospace; color:var(--muted); } .map-heading > button { margin-left:auto; font-size:9px; }
.map-stage { flex:1; position:relative; min-height:0; overflow:hidden; isolation:isolate; background:var(--map-sea); } #generation-map { width:100%; height:100%; position:absolute; inset:0; display:block; touch-action:none; } .map-context { position:absolute; top:13px; left:14px; pointer-events:none; color:var(--ink); font:9px/1.5 monospace; letter-spacing:.06em; } .map-context small { display:block; margin-top:5px; color:var(--muted); letter-spacing:0; font:8px/1.5 Arial,sans-serif; } .map-controls { position:absolute; top:12px; right:12px; display:flex; flex-direction:column; } .map-controls button { width:30px; height:30px; color:var(--ink); background:var(--surface-raised); border:1px solid var(--control-border); border-bottom:0; font-size:20px; border-radius:0; } .map-controls button:last-child { border-bottom:1px solid var(--control-border); font-size:18px; } .map-controls button:hover { background:var(--surface-hover); } .empty-map { position:absolute; top:45%; left:0; right:0; text-align:center; font:12px Arial,sans-serif; color:var(--muted); pointer-events:none; }
.bubble-key { display:flex; align-items:center; flex-wrap:wrap; gap:6px 16px; flex-shrink:0; color:var(--muted); font:8px/1.5 monospace; background:var(--surface); padding:5px 11px; border-top:1px solid var(--line); } .bubble-key > span { color:var(--ink); } #bubble-scale { display:flex; align-items:center; gap:12px; min-height:22px; } .bubble-item { display:flex; align-items:center; gap:5px; } .bubble-item i { display:block; border:1px solid #777; border-radius:50%; background:#ffffff0a; } .bubble-key p { font:8px/1.6 Arial,sans-serif; color:var(--muted); margin-left:auto; }
.technology-key { display:flex; align-items:center; gap:8px 14px; flex-wrap:wrap; padding:8px 11px; border-top:1px solid var(--line); flex-shrink:0; font-size:9px; color:var(--muted); } .technology-key > span { display:flex; align-items:center; gap:5px; white-space:nowrap; } .technology-key i { width:7px; height:7px; border-radius:50%; display:inline-block; }
.map-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:4px 10px; border-top:1px solid var(--line); font:8px/1.5 monospace; color:var(--muted); flex-shrink:0; } .map-footer .text-button { font-size:8px; }
.data-panel { border-left:1px solid var(--line); display:flex; flex-direction:column; min-height:0; min-width:0; } .panel-tabs { display:flex; padding:6px 8px; gap:4px; border-bottom:1px solid var(--line); flex-shrink:0; } .panel-tabs button { flex:1; font-size:11px; border:0; padding:7px; } .panel-tabs button[aria-pressed=true] { color:#25654e; background:#edf3ed; } .panel-body { flex:1; min-height:0; overflow:auto; padding:12px; overscroll-behavior:contain; }
.list-heading,.snapshot-heading { display:flex; justify-content:space-between; align-items:baseline; gap:8px; padding-bottom:8px; } .list-heading h2,.snapshot-heading h2 { font-size:12px; font-weight:500; } .list-heading > span { font:8px monospace; color:var(--muted); } .list-column-head { display:flex; justify-content:space-between; padding:8px 4px; font:8px monospace; color:var(--muted); border-bottom:1px solid var(--line); } .site-row { display:grid; grid-template-columns:minmax(0,1fr) 55px; gap:7px; width:100%; border:0; border-bottom:1px solid #e8ece5; padding:9px 4px; text-align:left; align-items:baseline; border-radius:0; } .site-row strong { font-size:11px; font-weight:400; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .site-row small { display:block; font-size:8px; color:var(--muted); margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .site-row > span:last-child { font:10px monospace; text-align:right; } .site-row[aria-pressed=true] { background:#edf4ee; } .list-note { font-size:10px; line-height:1.7; color:var(--muted); padding-top:10px; }
.site-detail { padding:0 0 14px; margin-bottom:15px; border-bottom:1px solid var(--line); } .detail-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:9px; color:var(--muted); } .site-detail h2 { font-size:21px; font-weight:400; line-height:1.3; margin:6px 0; overflow-wrap:anywhere; } #detail-place { font-size:10px; line-height:1.6; color:var(--muted); } .detail-capacity { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin-top:13px; } .detail-capacity strong { font-size:28px; font-weight:400; letter-spacing:-.6px; } .detail-capacity > span { font-size:9px; color:var(--muted); } .facts { margin:12px 0; } .facts > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:7px 0; border-bottom:1px solid #e8ece5; font-size:10px; } .facts dt { color:var(--muted); flex-shrink:0; } .facts dd { margin:0; font:10px/1.6 monospace; text-align:right; overflow-wrap:anywhere; } .site-detail > a,.panel-link { font:9px/1.6 monospace; color:#38765b; text-decoration:underline; text-underline-offset:3px; } .panel-link { display:block; margin:12px 0; }
.reading-note { color:var(--muted); font:10px/1.7 Arial,sans-serif; padding:9px; background:#f3f6ef; margin:10px 0; } .muted { font:10px/1.7 monospace; color:var(--muted); } .generation-mix { margin:4px 0 12px; } .fuel-row { position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 4px; border-bottom:1px solid #e7ece5; font-size:10px; } .fuel-row > span { z-index:1; } .fuel-row > strong { z-index:1; font:10px monospace; } .fuel-bar { position:absolute; bottom:0; left:0; height:2px; background:#7ca794; opacity:.8; }
.error-banner { padding:9px 12px; background:#fff1e9; color:#81563d; border:1px solid #d8b99e; font-size:11px; } dialog { max-width:620px; width:calc(100% - 30px); max-height:85dvh; overflow:auto; padding:22px; border:1px solid var(--line); color:inherit; } dialog::backdrop { background:#000000b3; } .dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:15px; } .dialog-heading h2 { font-size:22px; font-weight:400; } .dialog-heading button { border:0; font-size:25px; padding:0 4px; } dialog p { font:12px/1.8 Arial,sans-serif; color:#637166; margin:12px 0; } dialog a { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:1150px) { .generation-workspace { grid-template-columns:minmax(0,1fr) 290px; } .filter-bar { gap:9px; } h1 { font-size:14px; } #country { max-width:140px; } #catalogue-period { display:none; } .summary-strip { gap:14px; } .technology-key { gap:6px 12px; } .app-header { gap:22px; } nav { gap:20px; } }
@media(max-width:850px) { body { height:auto; overflow:auto; } main { height:auto; min-height:calc(100dvh - 40px); padding:6px; } .generation-workspace { grid-template-columns:1fr; } .map-stage { min-height:450px; height:65dvh; flex:none; } .data-panel { border-left:0; border-top:1px solid var(--line); min-height:380px; } .panel-body { max-height:620px; } .filter-bar { flex-wrap:wrap; gap:7px; } h1 { width:100%; padding:3px 0; } .search { max-width:none; flex:1; } .filter-bar label:not(.search) { flex:1; } select { width:100%; max-width:none!important; } #export-sites { margin-left:0; } .summary-strip { flex-wrap:wrap; gap:6px 14px; padding:7px; } .summary-strip p { font-size:9px; } .summary-strip strong { font-size:13px; } .feed-status { font-size:8px; } .map-heading { flex-wrap:wrap; gap:6px; } .map-heading > span { font-size:8px; } .technology-key { padding:8px; font-size:8px; } .map-footer { flex-wrap:wrap; font-size:7px; gap:3px; padding:5px 7px; } .site-list { display:grid; grid-template-columns:1fr 1fr; gap:0 15px; } }
@media(max-width:600px) { .app-header { padding:0 8px; gap:10px; } .brand { font-size:21px; gap:3px; } .brand span { font-size:12px; } nav { gap:11px; } nav a { font-size:10px; } .desktop-name { display:none; } .mobile-name { display:inline; } .app-header > button { font-size:8px; } .search { flex-basis:100%; } .summary-strip .feed-status { width:100%; text-align:left; margin-left:0; } .map-stage { min-height:410px; height:57dvh; } .map-heading { padding:8px; } .map-heading > span { font-size:7px; } .map-heading > button { font-size:8px; } .map-context { top:10px; left:10px; font-size:8px; } .map-context small { font-size:7px; } .bubble-key { left:8px; bottom:8px; padding:5px 7px; font-size:7px; } .bubble-key p { font-size:7px; } #bubble-scale { gap:8px; min-height:30px; } .bubble-item { gap:3px; } .site-list { display:block; } .map-controls { top:10px; right:8px; } .map-controls button { width:29px; height:29px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
.map-view-switch { display:flex; gap:2px; border:1px solid var(--line); padding:2px; }
.map-view-switch button { border:0; background:transparent; color:var(--muted); font-size:10px; padding:4px 8px; }
.map-view-switch button[aria-pressed=true] { color:var(--ink); background:var(--surface-hover); }
.overview-intro { font:11px/1.7 Arial,sans-serif; color:var(--muted); margin:0 0 12px; }
.overview-column-head { display:flex; justify-content:space-between; padding:8px 4px; border-bottom:1px solid var(--line); color:var(--muted); font:9px monospace; }
.overview-row { position:relative; width:100%; display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:11px 4px; border:0; border-bottom:1px solid var(--line); background:transparent; text-align:left; border-radius:0; }
.overview-row > span { font-size:11px; } .overview-row > strong { font:11px/1.5 monospace; white-space:nowrap; }
.overview-row > i { position:absolute; left:4px; bottom:0; height:2px; background:#888; opacity:.65; }
.overview-row:hover { background:var(--surface-hover); }
.overview-scope-chip { position:absolute; left:14px; top:51px; padding:5px 8px; font:10px/1.4 Arial,sans-serif; border:1px solid #666; background:var(--surface); color:var(--ink); }
.selected-region-detail { margin:0 0 16px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.selected-region-detail h2 { font-size:19px; font-weight:400; margin-bottom:7px; }
.selected-region-detail > p { font:11px/1.7 Arial,sans-serif; color:var(--muted); }
.selected-region-detail details { margin-top:8px; font-size:10px; } .selected-region-detail summary { padding:4px 0; cursor:pointer; color:var(--muted); }
.region-type-row { display:grid; grid-template-columns:8px minmax(0,1fr) auto; gap:7px; align-items:center; padding:6px 0; font-size:10px; }
.region-type-row i { width:6px; height:6px; border-radius:50%; } .region-type-row strong { font:10px monospace; }
@media(max-width:600px) { .map-heading { gap:7px 10px; } .map-heading #map-reading { order:4; width:100%; font-size:9px; line-height:1.5; } .map-view-switch button { padding:4px 6px; } .overview-scope-chip { left:10px; top:48px; } }
.map-heading #map-reading { font-size:10px; line-height:1.5; }
.map-context { font-size:10px; } .map-context small { font-size:9px; }
.bubble-key { font-size:10px; } .bubble-key p { font-size:10px; line-height:1.5; }
.map-footer,.map-footer .text-button { font-size:9px; }
/* The highlighted marker and its readout provide the keyboard focus indicator. */
.generation-region:focus-visible { outline:none; }
