:root {
  --bg: #f6f5f1; --paper: #fbfaf7; --ink: #17171a; --muted: #5e5d58; --rule: #dcdad2; --soft: #ecebe5;
  --accent: oklch(0.50 0.14 250);
  --hh: 64px;
  --sans: 'IBM Plex Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; --serif: 'IBM Plex Serif', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; color-scheme: light; }
html:root, html:root > body { background: var(--bg); }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
a.quiet { text-decoration: none; }
h1, h2 { font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.08; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
p { text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); }
.r { text-align: right; }

main { padding: 0 clamp(16px, 4vw, 40px) 56px; max-width: 1440px; margin: 0 auto; animation: fade .5s cubic-bezier(.2,.7,.2,1) both; }
main.home { max-width: none; padding: 0 0 56px; }
main.home > section:not(.hero) { max-width: 1440px; margin-left: auto; margin-right: auto; padding: 0 clamp(16px, 4vw, 40px); }
main > section, main > article, main > h2, main > nav, main > form, main > .table-wrap { margin-top: 36px; }

.intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.intro h1 { grid-column: 1 / -1; max-width: 18ch; }
.stats { display: flex; gap: 40px; margin: 0; flex-wrap: wrap; }
.stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.stats dd { margin: 4px 0 0; font: 500 28px/1 var(--mono); }
.search, .filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search input { flex: 1 1 240px; }
input, select, button { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 9px 12px; min-height: 40px; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
button { background: var(--ink); color: var(--paper); border-color: var(--ink); cursor: pointer; padding: 9px 16px; }
/* Dropdowns: every <select> uses the site's chevron and focus ring, never the browser default (house rule, see CLAUDE.md).
   Set colours with background-color, not the background shorthand, or the chevron disappears. Dark panels add .sel-dark. */
select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 36px; border-radius: 10px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%235e5d58' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 12px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
select:hover { border-color: var(--ink); }
select:focus { outline: none; }
select:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
select::-ms-expand { display: none; }
select option, select optgroup { color: var(--ink); background-color: var(--paper); }
.sel-dark, .near-controls select { background-color: transparent; color: var(--paper); border-color: #4a4a50; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23d8d7d1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sel-dark:hover, .near-controls select:hover { border-color: #8a8a90; background-color: rgba(255,255,255,.04); }
.sel-dark:focus-visible, .near-controls select:focus-visible { border-color: var(--paper); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
/* Styled dropdown that replaces each <select> on screen (assets/select.js); the real select stays hidden for forms */
.sel-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); border: 0 !important; opacity: 0; pointer-events: none; }
.sel-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 40px; padding: 9px 12px 9px 14px; border: 1px solid var(--rule); border-radius: 10px; background-color: var(--paper); color: var(--ink); font: inherit; font-weight: 400; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.sel-btn:hover { background-color: var(--paper); border-color: var(--ink); }
.sel-btn:focus { outline: none; }
.sel-btn:focus-visible, .sel-btn.is-open { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.sel-btn .sel-v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-btn.is-empty .sel-v { color: var(--muted); }
.sel-btn svg { flex: none; width: 12px; height: 12px; color: var(--muted); transition: transform .2s; }
.sel-btn.is-open svg { transform: rotate(180deg); }
.near-controls .sel-btn, .sel-btn.sel-dark { background-color: transparent; color: var(--paper); border-color: #4a4a50; }
.near-controls .sel-btn:hover, .sel-btn.sel-dark:hover { background-color: rgba(255,255,255,.05); border-color: #8a8a90; }
.near-controls .sel-btn.is-open, .near-controls .sel-btn:focus-visible, .sel-btn.sel-dark.is-open { border-color: var(--paper); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.near-controls .sel-btn svg, .near-controls .sel-btn.is-empty .sel-v { color: #c9c8c2; }
.filters .sel-btn { flex: 0 1 200px; }
.sel-dd { position: fixed; z-index: 1300; padding: 6px; overflow: auto; overscroll-behavior: contain; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 18px 48px rgba(20, 20, 25, .18); animation: hs-in .16s ease-out both; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.sel-dd[hidden] { display: none; }
.sel-dd:focus { outline: none; }
.sel-o { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; line-height: 1.3; color: var(--ink); cursor: pointer; }
.sel-o.is-hi { background: var(--soft); }
.sel-o svg { flex: none; width: 13px; height: 13px; opacity: 0; color: var(--accent); }
.sel-o[aria-selected="true"] { font-weight: 500; }
.sel-o[aria-selected="true"] svg { opacity: 1; }
.sel-o.is-off { color: var(--muted); cursor: default; opacity: .6; }
.sel-g { padding: 10px 12px 4px; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
button:hover { background: #33333a; }
.filters input { flex: 1 1 260px; }
.filters select { flex: 0 1 200px; min-width: 0; }

/* Header */
header.site { position: sticky; top: 0; z-index: 1100; height: var(--hh); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 0 clamp(16px, 3vw, 32px); background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; letter-spacing: -0.01em; }
.brand small { display: block; font: 400 11px/1.2 var(--mono); color: var(--muted); letter-spacing: 0.02em; }
.mark { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--paper); }
header.site nav { display: flex; gap: 2px; justify-self: start; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
header.site nav a { position: relative; text-decoration: none; padding: 8px 12px; border-radius: 6px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
header.site nav a:hover { color: var(--ink); background: var(--soft); }
header.site nav a[aria-current] { color: var(--ink); }
header.site nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: calc((var(--hh) - 36px) / -2); height: 2px; background: var(--ink); }
.hdr-tools { display: flex; align-items: center; gap: 12px; }
.hdr-search { position: relative; display: flex; align-items: center; }
.hdr-ico { position: absolute; left: 14px; top: 50%; width: 13px; height: 13px; margin-top: -7px; border: 1.75px solid var(--muted); border-radius: 50%; pointer-events: none; transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1); }
.hdr-ico::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 6px; height: 1.75px; background: var(--muted); border-radius: 2px; transform: rotate(45deg); transition: background .2s; }
.hdr-search input { width: 260px; height: 40px; min-height: 0; padding: 0 44px 0 38px; border: 1px solid transparent; border-radius: 999px; background: var(--soft); font-size: 14px; transition: width .35s cubic-bezier(.2,.7,.2,1), background .2s, border-color .2s, box-shadow .2s; }
.hdr-search input::placeholder { color: var(--muted); }
.hdr-search input:hover { border-color: var(--rule); }
.hdr-search input:focus { width: 340px; outline: none; background: var(--paper); border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent), 0 10px 28px rgba(20,20,25,.08); }
.hdr-search:focus-within .hdr-ico { border-color: var(--ink); transform: scale(1.06); }
.hdr-search:focus-within .hdr-ico::after { background: var(--ink); }
.hdr-search kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; font: 500 11px var(--mono); color: var(--muted); background: var(--paper); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 7px; pointer-events: none; transition: opacity .2s; }
.hdr-search:focus-within kbd { opacity: 0; }
.hs-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 1200; width: max(100%, 400px); max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 24px 60px rgba(20,20,25,.16), 0 2px 6px rgba(20,20,25,.05); animation: hs-in .18s cubic-bezier(.2,.7,.2,1) both; overscroll-behavior: contain; }
.hs-pop[hidden] { display: none; }
@keyframes hs-in { from { opacity: 0; transform: translateY(-4px) scale(.985); } to { opacity: 1; transform: none; } }
.hs-h { margin: 10px 10px 4px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hs-i { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.hs-i.on { background: var(--soft); color: var(--ink); }
.hs-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--soft); font: 500 9.5px var(--mono); color: var(--muted); }
.hs-i.on .hs-ic { background: var(--paper); }
.hs-plant::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ink)); box-shadow: 0 0 0 3px color-mix(in oklab, var(--c, var(--ink)) 20%, transparent); }
.hs-owner::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--muted); border-radius: 2px; }
.hs-t { display: grid; min-width: 0; }
.hs-n { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-n mark { background: none; color: var(--accent); }
.hs-s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-m { font-size: 12px; color: var(--muted); white-space: nowrap; }
.hs-all { grid-template-columns: minmax(0, 1fr) auto; margin-top: 6px; border-top: 1px solid var(--rule); border-radius: 0 0 10px 10px; padding-top: 12px; }
.hs-all .hs-n { font-weight: 400; color: var(--muted); }
.hs-all.on .hs-n { color: var(--ink); }
.hs-empty { margin: 10px; font-size: 14px; color: var(--muted); }
/* Stat blocks: labels may wrap to two lines; keep every number on one baseline */
.stats > div, .ab-stats div, .pl-stats div { display: grid; grid-template-rows: 1fr auto; align-content: stretch; }
.stats dt, .ab-stats dt, .pl-stats dt { align-self: end; text-wrap: balance; line-height: 1.35; }
.stats dd, .ab-stats dd, .pl-stats dd { white-space: nowrap; }
.cty-hero h1 { max-width: 17ch; }
@media (max-width: 1240px) { .brand-ct { display: none; } }
.pill { font: 12px var(--mono); color: var(--muted); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }

/* Full-bleed map */
.hero { position: relative; height: calc(100vh - var(--hh) - 88px); min-height: 520px; margin-top: 0 !important; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero .map { position: absolute; inset: 0; height: 100%; }
.map { height: min(72vh, 720px); width: 100%; background: #fff; }
.map.small { height: 400px; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.leaflet-container { background: #fff; font-family: var(--sans); }
.panel { position: absolute; z-index: 600; background: color-mix(in oklab, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 40px rgba(20, 20, 25, 0.10); }
.hud { top: 20px; left: clamp(16px, 3vw, 32px); width: min(360px, calc(100% - 32px)); padding: 20px; display: grid; gap: 16px; animation: slide .7s .1s cubic-bezier(.2,.7,.2,1) both; }
.hud h1 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.1; letter-spacing: -0.02em; max-width: none; text-wrap: balance; }
.hud .stats { gap: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); padding-top: 14px; }
.hud .stats dd { font-size: 22px; }
.hud-stats { margin: 0; display: grid; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.hud-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.hud-stats div + div { border-top: 1px solid var(--rule); }
.hud-stats dt { font-size: 13px; color: var(--muted); }
.hud-stats dd { margin: 0; font: 500 18px/1.2 var(--mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud-stats dd small { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.hud .search { display: grid; grid-template-columns: minmax(0, 1fr) auto; flex-wrap: nowrap; }
.hud .search input, .hud .search button, .hud-actions .btn { min-height: 42px; height: 42px; }
.hud .search input { min-width: 0; }
.hud-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hud-actions .btn { justify-content: center; gap: 8px; white-space: nowrap; border-radius: 10px; }
.hud-actions .btn.dark { grid-column: 1 / -1; }
.btn { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 14px; border-radius: 6px; font-size: 14px; text-decoration: none; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.btn:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.dark:hover { background: #33333a; color: var(--paper); }
.map-legend { top: 20px; right: clamp(16px, 3vw, 32px); width: 220px; max-height: calc(100% - 120px); overflow: auto; padding: 12px 14px; font-size: 13px; animation: slide-r .7s .2s cubic-bezier(.2,.7,.2,1) both; }
.map-legend header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.map-legend header h2 { margin: 0; font-size: 11px; }
.map-legend header button { min-height: 0; padding: 2px 8px; font-size: 11px; background: none; color: var(--muted); border: 1px solid var(--rule); }
.map-legend header button:hover { color: var(--ink); background: none; border-color: var(--ink); }
#legend { display: grid; gap: 1px; }
#legend label { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px; cursor: pointer; padding: 3px 4px; margin: 0 -4px; border-radius: 4px; transition: background .15s, opacity .2s; }
#legend label:hover { background: var(--soft); }
#legend label:has(input:not(:checked)) { opacity: .45; }
#legend input { -webkit-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; border: 1.5px solid var(--rule); border-radius: 5px; background: var(--paper) center / 10px 10px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s; }
#legend input:hover { border-color: var(--ink); }
#legend input:checked { background-color: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4.1 7.2 8 2.8' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
#legend input:focus { outline: none; }
#legend input:focus-visible { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
#legend i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
#legend .mono { color: var(--muted); font-size: 11px; text-align: right; }
.map-status { left: 50%; bottom: 20px; transform: translateX(-50%); padding: 7px 14px; font-size: 12px; color: var(--muted); border-radius: 999px; white-space: nowrap; }
.map:not(.hero .map) + .map-status { position: static; }
.leaflet-control-zoom { border: 1px solid var(--rule) !important; border-radius: 8px !important; overflow: hidden; box-shadow: 0 6px 20px rgba(20,20,25,.08) !important; margin: 0 clamp(16px, 3vw, 32px) 20px 0 !important; }
.leaflet-control-zoom a { width: 36px !important; height: 36px !important; line-height: 34px !important; color: var(--ink) !important; background: var(--paper) !important; }
.leaflet-control-zoom a:hover { background: var(--soft) !important; }
.leaflet-control-attribution { background: rgba(255,255,255,.8) !important; color: var(--muted) !important; font: 10px var(--mono); }
.pp-tip { background: var(--ink); color: var(--paper); border: 0; border-radius: 6px; padding: 6px 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); display: grid; gap: 1px; font: 13px/1.35 var(--sans); }
.pp-tip span { font: 11px var(--mono); opacity: .7; }
.pp-tip::before { border-top-color: var(--ink) !important; }
.pp-popup .leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: 0 16px 48px rgba(20,20,25,.18); }
.pp-popup .leaflet-popup-content { margin: 14px 16px; }
.pop { font: 13px/1.4 var(--sans); display: grid; gap: 7px; animation: fade .3s ease both; }
.pop-k { font-size: 10.5px; color: var(--muted); }
.pop-name { font-weight: 600; font-size: 15px; text-decoration: none; }
.pop-meta { display: flex; gap: 12px; align-items: center; }
.pop-links { display: flex; gap: 14px; padding-top: 8px; border-top: 1px solid var(--soft); font-size: 11.5px; }
.pp-ring { animation: ring 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }

.fuel { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.fuel i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 64px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bars li { display: grid; grid-template-columns: minmax(110px, 1.1fr) minmax(60px, 2fr) 76px 56px; gap: 12px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--soft); }
.bars li > a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 8px; background: var(--soft); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
.bars .mono { text-align: right; font-size: 13px; }

.page-head { display: grid; gap: 10px; }
.page-head p { margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); }
.lede { display: flex; gap: 16px; align-items: center; font-size: 17px; flex-wrap: wrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--rule); background: var(--bg); white-space: nowrap; }
td { padding: 9px 14px; border-bottom: 1px solid var(--soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg); }
td.r { white-space: nowrap; }
.plants td:first-child { min-width: 220px; }
.plants td:last-child { min-width: 180px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.fields { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.fields div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.fields dt { color: var(--muted); font-size: 13px; }
.fields dd { margin: 0; overflow-wrap: anywhere; }
.gen { max-width: 760px; }

.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a { text-decoration: none; padding: 4px 9px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); }
.country-index { margin-top: 28px; columns: 3 300px; column-gap: 48px; }
.country-index section { break-inside: avoid; margin-bottom: 24px; }
.country-index ul { list-style: none; margin: 0; padding: 0; }
.country-index li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--soft); }
.country-index li .mono { font-size: 12px; white-space: nowrap; }

.thanks { max-width: 720px; }
.thanks .kicker { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; }
.thanks h1 { margin-bottom: 20px; }
.thanks .lede { display: block; font-size: 20px; line-height: 1.45; }
.thanks section { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }
.thanks section p { font-size: 16px; line-height: 1.6; }
.thanks blockquote { margin: 0; padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; font-size: 13px; line-height: 1.6; }
.thanks ul { padding-left: 18px; line-height: 1.9; font-size: 16px; }

footer.site-old { border-top: 1px solid var(--rule); padding: 24px clamp(16px, 4vw, 40px); display: grid; gap: 6px; font-size: 13px; color: var(--muted); background: var(--paper); }
footer.site a { color: var(--muted); }

/* Homepage blocks */
.block { margin-top: 88px !important; }
.hero + .block { margin-top: 36px !important; }
.block-head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 760px; }
.block-head p { margin: 0; }
.eyebrow { margin: 0; }
.block-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.sub-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.sub-head a { font-size: 13px; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.country-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.country-cards a { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; height: 100%;
  transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.country-cards a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20,20,25,.08); color: var(--ink); }
.rank { color: var(--muted); font-size: 12px; padding-top: 2px; }
.cc-name { font-weight: 600; }
.cc-meta { grid-column: 2; font-size: 12px; color: var(--muted); }
.mix { grid-column: 1 / -1; display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin-top: 10px; gap: 1px; background: var(--soft); }
.mix i { display: block; min-width: 2px; }
.city-list { list-style: none; margin: 0; padding: 0; columns: 2 160px; column-gap: 20px; }
.city-list li { break-inside: avoid; }
.city-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--soft); text-decoration: none; transition: padding .25s cubic-bezier(.2,.7,.2,1), color .2s; }
.city-list a:hover { padding-left: 6px; }
.city-list .mono { font-size: 12px; }

.near { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding: clamp(24px, 4vw, 44px); background: var(--ink); color: var(--paper); border-radius: 14px; }
.near .eyebrow { color: #a9a8a3; }
.near .muted { color: #b5b4ae; }
.near a { color: var(--paper); text-decoration-color: #55555a; }
.near-intro { display: grid; gap: 14px; align-content: start; }
.near-intro p { margin: 0; }
.near-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.near-controls button { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 500; }
.near-controls button:hover { background: #fff; }
.near-controls button:disabled { opacity: .6; cursor: progress; }
.near-msg { font-size: 13px; color: #c9c8c2; min-height: 1.4em; }
.near-msg b { color: #fff; font-weight: 500; }
.near-results { display: grid; gap: 16px; align-content: start; }
.near-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid #2e2e33; }
.near-list li { animation: fade .4s cubic-bezier(.2,.7,.2,1) both; }
.near-list li:nth-child(2) { animation-delay: 40ms; } .near-list li:nth-child(3) { animation-delay: 80ms; } .near-list li:nth-child(4) { animation-delay: 120ms; }
.near-list li:nth-child(5) { animation-delay: 160ms; } .near-list li:nth-child(6) { animation-delay: 200ms; } .near-list li:nth-child(7) { animation-delay: 240ms; } .near-list li:nth-child(8) { animation-delay: 280ms; }
.near-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; border-bottom: 1px solid #2e2e33; text-decoration: none; }
.near-list a:hover .nm { text-decoration: underline; }
.near-list .fuel { grid-row: span 2; padding-top: 6px; }
.near-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.near-list .mono.muted { grid-column: 2; font-size: 12px; }
.near-list .mono:last-child { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 13px; }
.near-empty { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 220px; border: 1px dashed #3a3a40; border-radius: 10px; }
.near-empty[hidden], .near-list[hidden] { display: none; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #1d6cf2; box-shadow: 0 0 0 0 rgba(29,108,242,.6); animation: beacon 2s infinite; }
.near-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.near-actions .btn { background: transparent; color: var(--paper); border-color: #4a4a50; }
.near-actions .btn:hover { border-color: var(--paper); color: var(--paper); background: transparent; }
.near-actions .btn.dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.near-actions [hidden] { display: none; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.cat-grid a { display: grid; gap: 8px; height: 100%; padding: 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; text-decoration: none; align-content: start;
  transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.cat-grid a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20,20,25,.08); color: var(--ink); }
.cat-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.cat-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 0 4px color-mix(in oklab, var(--c) 22%, transparent); }
.cat-name { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-top: 6px; }
.cat-desc { color: var(--muted); font-size: 14px; line-height: 1.45; min-height: 2.9em; }
.cat-stats { display: flex; justify-content: space-between; font-size: 12.5px; margin-top: 4px; }

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.faq .block-head { position: sticky; top: calc(var(--hh) + 24px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 17px; font-weight: 500; transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { margin: 0; padding: 0 40px 20px 0; color: #3d3c38; font-size: 15.5px; line-height: 1.65; }
.faq-list details[open] p { animation: fade .35s cubic-bezier(.2,.7,.2,1) both; }

@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(29,108,242,.6); } 100% { box-shadow: 0 0 0 18px rgba(29,108,242,0); } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes slide-r { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
/* About */
.about { max-width: 1080px; margin-left: auto !important; margin-right: auto !important; padding-bottom: 24px; }
.ab-label { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.ab-h { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; text-transform: none; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 14px; font-weight: 500; }
.ab-hero { text-align: center; display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.ab-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 14px 6px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); animation: fade .6s both; }
.ab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.ab-hero h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; max-width: 15ch; animation: fade .7s .08s both; }
.ab-lede { margin: 0; max-width: 60ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #3d3c38; animation: fade .7s .16s both; }
.ab-stats { margin: 14px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 760px); border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); overflow: hidden; animation: fade .7s .24s both; }
.ab-stats div { padding: 18px 12px; display: grid; gap: 6px; }
.ab-stats div + div { border-left: 1px solid var(--rule); }
.ab-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.ab-stats dd { margin: 0; font: 500 clamp(20px, 2.4vw, 28px)/1 var(--mono); letter-spacing: -0.02em; }
.ab-founder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 18px; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.ab-founder::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); pointer-events: none; }
.ab-founder .ab-label { color: #a9a8a2; }
.ab-founder .ab-h { color: var(--paper); font-size: clamp(32px, 4vw, 48px); }
.ab-founder p { margin: 0; font-size: 16px; line-height: 1.6; color: #d6d5cf; max-width: 52ch; }
.ab-person { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.04); }
.ab-person .ab-label { margin-bottom: 4px; }
.ab-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 16px; }
.ab-name { font-size: 19px !important; font-weight: 500; color: var(--paper) !important; }
.ab-btn { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 8px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; transition: transform .2s, background .2s; }
.ab-btn:hover { color: var(--ink); background: #fff; transform: translateY(-1px); }
.ab-sec { padding-top: clamp(48px, 6vw, 80px); }
.ab-sec-head { text-align: center; margin-bottom: 28px; }
.ab-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.ab-feats li { background: var(--paper); padding: 24px; display: grid; gap: 8px; align-content: start; transition: background .25s; }
.ab-feats li:hover { background: #fff; }
.ab-feats li span { font-size: 12px; color: var(--accent); }
.ab-feats h3 { margin: 6px 0 0; font-size: 17px; font-weight: 500; }
.ab-feats p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.ab-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 24px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ab-card:hover { transform: translateY(-3px); border-color: #c9c7be; box-shadow: 0 14px 34px rgba(20,20,25,.07); }
.ab-card .ab-label { margin: 0; }
.ab-card h3 { margin: 0; font-size: 19px; font-weight: 500; }
.ab-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3d3c38; }
.ab-card > a { font-size: 14px; font-weight: 500; text-decoration: none; }
.ab-sec-head .ab-label a { color: inherit; }
.ab-badge { display: inline-block; padding: 4px 10px; border: 1.5px solid var(--ink); border-radius: 6px; font-size: 16px; }
.ab-cite { margin: 16px 0 0; padding: 22px 24px; border: 1px dashed #c9c7be; border-radius: 14px; }
.ab-cite .ab-label { margin-bottom: 8px; }
.ab-cite blockquote { margin: 0; font-size: 13px; line-height: 1.7; color: #3d3c38; overflow-wrap: anywhere; }
.ab-thanks { margin-top: clamp(48px, 6vw, 80px) !important; text-align: center; display: grid; justify-items: center; padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 56px); border-radius: 18px; background: var(--soft); }
.ab-thanks > p:not(.ab-label) { margin: 0; max-width: 64ch; font-size: 16px; line-height: 1.65; color: #3d3c38; }
.ab-links { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ab-links a { display: block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); text-decoration: none; font-size: 14px; transition: border-color .2s; }
.ab-links a:hover { border-color: var(--ink); color: var(--ink); }
.ab-sec .table-wrap { margin-top: 16px; }
.ab-sec table.gen { width: 100%; }
.ab-thx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.ab-thx .ab-thanks { margin-top: 0 !important; align-content: start; }
.ab-disclaimer { margin: 28px auto 0; max-width: 64ch; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .ab-founder, .ab-cards, .ab-thx { grid-template-columns: minmax(0, 1fr); }
  .ab-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stats div:nth-child(3) { border-left: 0; }
  .ab-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) { .ab-feats { grid-template-columns: minmax(0, 1fr); } }

/* Countries index */
.ctys { max-width: 1280px; margin: 0 auto; }
.cty-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.cty-hero-l { display: grid; gap: 18px; justify-items: start; }
.cty-hero h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; animation: fade .7s .06s both; }
.cty-big { font-family: var(--mono); font-weight: 500; letter-spacing: -0.06em; color: var(--accent); }
.cty-lede { margin: 0; max-width: 48ch; font-size: 17px; line-height: 1.55; color: #3d3c38; animation: fade .7s .12s both; }
.cty-podium { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cty-podium li { animation: slide-r .7s cubic-bezier(.2,.7,.2,1) both; }
.cty-podium li:nth-child(2) { animation-delay: .08s; } .cty-podium li:nth-child(3) { animation-delay: .16s; }
.cty-podium a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); text-decoration: none; transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1); }
.cty-podium a:hover { border-color: var(--ink); color: var(--ink); transform: translateX(-3px); }
.cty-podium a > .muted { grid-column: 1 / -1; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.cty-pn { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.cty-podium a > .mono:not(.muted) { font-size: 16px; align-self: center; }
.cty-pbar { grid-column: 1 / -1; height: 3px; margin-top: 8px; background: var(--soft); border-radius: 2px; overflow: hidden; }
.cty-pbar i { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: grow 1.1s .3s cubic-bezier(.2,.7,.2,1) both; }
.cty-tools { position: sticky; top: var(--hh); z-index: 50; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 14px 0; margin-top: 0 !important; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.cty-search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.cty-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in oklab, var(--ink) 8%, transparent); }
.cty-search > span { color: var(--muted); font-size: 18px; }
.cty-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 0; height: 100%; font-size: 15px; }
.cty-search input:focus { outline: none; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.seg button { min-height: 38px; padding: 6px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 14px; }
.seg button:hover { background: var(--soft); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cty-count { font-size: 13px; margin-left: auto; }
.letters-bar { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 16px !important; transition: opacity .25s; }
.letters-bar.off { opacity: .3; pointer-events: none; }
.letters-bar a { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 6px; text-decoration: none; font-size: 13px; color: var(--muted); }
.letters-bar a:hover { background: var(--ink); color: var(--paper); }
.cty-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.cty-letter { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 28px; font-weight: 500; color: var(--ink); }
.cty-letter::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.cty[hidden], .cty-letter[hidden] { display: none; }
.cty a { height: 100%; display: grid; gap: 10px; align-content: start; padding: 16px 16px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); text-decoration: none; transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.cty a:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,20,25,.08); }
.cty-top { display: flex; justify-content: space-between; align-items: center; }
.cty-rank { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); padding: 3px 7px; border: 1px solid var(--rule); border-radius: 5px; }
.cty-go { color: var(--muted); transition: transform .3s cubic-bezier(.2,.7,.2,1), color .2s; }
.cty a:hover .cty-go { color: var(--ink); transform: translateX(3px); }
.cty-name { font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.cty-fig { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.cty .mix { margin-top: 2px; height: 7px; }
.cty-lead { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.cty-lead i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cty-lead .mono { font-size: 12px; margin-left: auto; }
.cty-empty { text-align: center; padding: 48px 0; }
@media (max-width: 860px) { .cty-hero { grid-template-columns: minmax(0, 1fr); } .cty-count { margin-left: 0; } }

/* All plants */
.pl { max-width: 1280px; margin: 0 auto; }
.pl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, auto); gap: 28px 56px; align-items: end; padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.pl-hero-l { display: grid; gap: 16px; justify-items: start; }
.pl-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; animation: fade .6s .05s both; }
.pl-lede { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.55; color: #3d3c38; animation: fade .6s .1s both; }
.pl-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(min-content, 1fr)); border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); overflow: hidden; animation: fade .6s .15s both; }
.pl-stats div { padding: 18px 18px 16px; display: grid; gap: 8px; }
.pl-stats div + div { border-left: 1px solid var(--rule); }
.pl-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.pl-stats dd { margin: 0; font: 500 clamp(20px, 2.2vw, 26px)/1 var(--mono); letter-spacing: -0.02em; white-space: nowrap; }
.pl-tools { position: sticky; top: var(--hh); z-index: 50; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 0; margin: 0 !important; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.pl-q { flex: 1 1 320px; }
.pl-sel { flex: 0 1 220px; min-width: 0; height: 46px; border-radius: 10px; padding: 0 36px 0 14px; }
.pl-tools .seg a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 7px; color: var(--muted); font-size: 14px; text-decoration: none; transition: background .15s, color .15s; }
.pl-tools .seg a:hover { background: var(--soft); color: var(--ink); }
.pl-tools .seg a[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pl-fuels { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; margin-top: 8px !important; scrollbar-width: thin; }
.pl-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.pl-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--ink)); }
.pl-chip .mono { font-size: 12px; color: var(--muted); }
.pl-chip:hover { border-color: var(--c, var(--ink)); color: var(--ink); transform: translateY(-1px); }
.pl-chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pl-chip.on .mono { color: #c9c8c2; }
.pl-chip.on i { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--c, var(--paper)); }
.pl-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin: 18px 0 10px !important; }
.pl-bar > p { margin: 0; font-size: 13px; }
.pl-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pl-pills a { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--soft); color: var(--ink); text-decoration: none; font-size: 13px; }
.pl-pills a:hover { background: var(--rule); color: var(--ink); }
.pl-pills b { font-weight: 400; font-size: 15px; line-height: 1; color: var(--muted); }
.pl-pills .pl-clear { background: none; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.pl-table { border-radius: 14px; }
.pl-table th { position: sticky; top: 0; padding-top: 12px; padding-bottom: 12px; }
.pl-table td { padding-top: 12px; padding-bottom: 12px; vertical-align: middle; }
.pl-table tbody tr { position: relative; transition: background .12s; }
.pl-table tbody tr td:first-child { box-shadow: inset 3px 0 0 transparent; transition: box-shadow .15s; }
.pl-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--c); }
.pl-n { width: 1%; color: var(--muted); font-size: 12px; text-align: right; padding-right: 4px !important; }
.plants td.pl-n { min-width: 0; }
.pl-name { display: block; font-weight: 500; color: var(--ink); text-decoration: none; }
.pl-name:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pl-id { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.pl-cap { display: inline-grid; justify-items: end; gap: 6px; min-width: 96px; }
.pl-capbar { width: 96px; height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; display: flex; justify-content: flex-end; }
.pl-capbar i { display: block; height: 100%; border-radius: 2px; background: var(--c); }
.pl-owner { max-width: 260px; }
.pl-none { padding: 48px 16px !important; text-align: center; }
.pl-none p { margin: 0 0 14px; font-size: 16px; color: var(--muted); }
.pl-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px !important; font-size: 14px; }
.pl-pg-nums { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pl-pg, .pl-pg-step { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); text-decoration: none; }
.pl-pg:hover, .pl-pg-step:hover { border-color: var(--ink); color: var(--ink); }
.pl-pg.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pl-pg-step.off { color: var(--rule); border-color: var(--soft); }
.pl-pg-gap { display: inline-grid; place-items: center; min-width: 24px; color: var(--muted); }
@media (max-width: 1000px) {
  .pl-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .pl-sel { flex: 1 1 200px; }
  .pl-tools { position: static; }
}
@media (max-width: 560px) {
  .pl-pg-step { padding: 0 10px; }
  .pl-pg-nums .pl-pg:not(.on) { display: none; }
  .pl-pg-gap { display: none; }
}

/* Electricity output */
.gen-sec { margin-top: 48px !important; }
.gen-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--ink); }
.gen-head .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 500; }
.gen-title { margin: 6px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.gen-key { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.gen-key span { display: inline-flex; align-items: center; gap: 6px; }
.gen-key i { width: 12px; height: 12px; border-radius: 3px; }
.k-rep, .gc-rep { background: var(--c, var(--ink)); }
.k-est, .gc-est { background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--c, var(--ink)) 70%, transparent) 0 3px, color-mix(in oklab, var(--c, var(--ink)) 22%, transparent) 3px 6px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c, var(--ink)) 70%, transparent); }
.gen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px 40px; align-items: stretch; }
.gen-stats { margin: 0; display: grid; gap: 0; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); overflow: hidden; }
.gen-stats > div { padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.gen-stats > div + div { border-top: 1px solid var(--rule); }
.gen-stats.row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 20px !important; }
.gen-stats.row > div + div { border-top: 0; border-left: 1px solid var(--rule); }
.gen-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.gen-stats dd { margin: 0; font: 500 clamp(22px, 2.4vw, 30px)/1.05 var(--mono); letter-spacing: -0.02em; }
.gen-stats dd.gen-src { font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.gen-stats p { margin: 0; font-size: 13px; }
.out-tag { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 11px; color: var(--muted); background: var(--soft); white-space: nowrap; }
.out-tag.rep { color: var(--ink); background: color-mix(in oklab, var(--accent) 14%, var(--paper)); }
.out-cell { display: inline-grid; justify-items: end; gap: 3px; }
.gen-chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; min-height: 240px; padding: 20px 18px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); background-image: linear-gradient(var(--soft) 1px, transparent 1px); background-size: 100% 25%; background-position: 0 20px; }
.gc-col { display: grid; grid-template-rows: 1fr auto; gap: 8px; height: 100%; text-align: center; }
.gc-col > span { font-size: 12px; color: var(--muted); }
.gc-bars { display: flex; gap: 3px; align-items: flex-end; justify-content: center; height: 100%; min-height: 180px; }
.gc-bars i { flex: 1 1 0; max-width: 22px; border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow-y .8s cubic-bezier(.2,.7,.2,1) both; }
.gc-col:nth-child(2) i { animation-delay: .04s; } .gc-col:nth-child(3) i { animation-delay: .08s; } .gc-col:nth-child(4) i { animation-delay: .12s; } .gc-col:nth-child(5) i { animation-delay: .16s; } .gc-col:nth-child(6) i { animation-delay: .2s; } .gc-col:nth-child(7) i { animation-delay: .24s; }
@keyframes grow-y { from { transform: scaleY(0); } }
.gen-table { margin-top: 14px !important; }
.gen-table summary { cursor: pointer; font-size: 14px; color: var(--muted); padding: 6px 0; width: max-content; }
.gen-table summary:hover { color: var(--ink); }
.gen-table .table-wrap { margin-top: 8px; }
.mix-cmp { display: grid; gap: 10px; margin-bottom: 20px !important; }
.mix-cmp > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; align-items: center; }
.mix-cmp .mono { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.mix.mix-lg { height: 18px; border-radius: 5px; }
.gen-mix td { vertical-align: middle; }
@media (max-width: 860px) {
  .gen-grid { grid-template-columns: minmax(0, 1fr); }
  .gen-stats.row > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}

/* Owners */
.ow-type { display: inline-block; padding: 3px 9px; border: 1px solid var(--rule); border-radius: 999px; font-size: 11px; color: var(--ink); background: var(--paper); white-space: nowrap; }
.ow-res { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 4px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: color-mix(in oklab, var(--accent) 16%, var(--paper)); vertical-align: 2px; }
.ow-badges .ow-res { margin-left: 0; }
.ow-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ow-cards a { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: inset 0 3px 0 var(--c); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ow-cards a:hover { transform: translateY(-3px); border-color: #c9c7be; box-shadow: inset 0 3px 0 var(--c), 0 14px 30px rgba(20,20,25,.07); color: var(--ink); }
.ow-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.ow-card-name { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.ow-card-latest { font-size: 14px; line-height: 1.55; color: #3d3c38; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ow-card-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--soft); }
.ow-cgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.ow-cgrid a { height: 100%; display: grid; gap: 4px; padding: 14px 16px; background: var(--paper); color: var(--ink); text-decoration: none; transition: background .15s; }
.ow-cgrid a:hover { background: #fff; color: var(--ink); }
.ow-cg-name { font-weight: 500; }
.ow-cgrid .mono { font-size: 12px; }
.ow-cg-top { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ow-hero { display: grid; gap: 18px; padding: clamp(28px, 4vw, 52px) 0 8px; }
.ow-hero .crumbs { margin: 0; }
.ow-hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.ow-hero-l { display: grid; gap: 12px; max-width: 760px; }
.ow-hero-l > p { margin: 0; }
.ow-hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; animation: fade .6s .05s both; }
.ow-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ow-site { white-space: nowrap; }
.ow-hero .pl-stats { justify-self: start; min-width: min(100%, 640px); }
.ow-profile { margin-top: 40px !important; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 48px; }
.ow-col > .eyebrow { margin-bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 500; }
.ow-note { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--soft); font-size: 14px; line-height: 1.55; }
.ow-links { justify-content: flex-start; margin-top: 16px; }
.ow-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1.5px solid var(--rule); display: grid; gap: 20px; }
.ow-timeline li { position: relative; display: grid; gap: 4px; }
.ow-timeline li::before { content: ""; position: absolute; left: -24px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.ow-timeline li:first-child::before { background: var(--accent); }
.ow-timeline time { font-size: 12px; color: var(--muted); }
.ow-timeline p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.ow-timeline a { font-size: 12px; text-decoration: none; }
.ow-empty { margin-top: 32px !important; padding: 18px 20px; border: 1px dashed #c9c7be; border-radius: 12px; }
.ow-empty p { margin: 0; color: #3d3c38; }
.ow-sub { margin: 28px 0 10px; font-size: 15px; font-weight: 600; }
.ow-var { display: inline-flex; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; }
@media (max-width: 860px) { .ow-profile { grid-template-columns: minmax(0, 1fr); } }

/* Journal */
.bl-index { max-width: 1120px; margin: 0 auto; }
.bl-mast { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; padding: clamp(32px, 5vw, 64px) 0 28px; }
.bl-mast > div { display: grid; gap: 14px; justify-items: start; }
.bl-mast h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7.5vw, 96px); line-height: .92; letter-spacing: -0.035em; animation: fade .7s .05s both; }
.bl-mast-lede { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: #3d3c38; animation: fade .7s .12s both; }
.bl-meta { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bl-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.bl-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--accent)); }
.bl-pill.solid { justify-self: start; background: color-mix(in oklab, var(--c) 18%, var(--paper)); }
.bl-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 11px; border-radius: 8px; background: rgba(15,15,18,.72); color: #fff; font-size: 11.5px; backdrop-filter: blur(6px); }
.bl-chip b { font-weight: 500; font-size: 14px; }
.bl-hero { position: relative; display: block; border-radius: 22px; overflow: hidden; min-height: clamp(460px, 62vh, 640px); color: #fff; text-decoration: none; isolation: isolate; background: #111; }
.bl-hero:hover { color: #fff; }
.bl-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); z-index: -2; animation: fade 1s both; }
.bl-hero:hover img { transform: scale(1.06); }
.bl-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,12,.15) 0%, rgba(10,10,12,.05) 35%, rgba(10,10,12,.82) 100%); }
.bl-hero-txt { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 16px; padding: clamp(24px, 4vw, 48px); max-width: 920px; }
.bl-hero-top { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-hero-t { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.bl-hero-d { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: rgba(255,255,255,.88); max-width: 60ch; }
.bl-hero-by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 12px; color: rgba(255,255,255,.78); text-transform: uppercase; letter-spacing: .06em; }
.bl-hero-go { margin-left: auto; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); letter-spacing: .02em; text-transform: none; font-size: 13px; transition: transform .2s; }
.bl-hero:hover .bl-hero-go { transform: translateX(4px); }
.bl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; }
.bl-card { grid-column: span 2; }
.bl-card.big { grid-column: span 3; }
.bl-cards.three .bl-card { grid-column: span 2; }
.bl-card a { display: grid; gap: 16px; color: var(--ink); text-decoration: none; height: 100%; }
.bl-card a:hover { color: var(--ink); }
.bl-card-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: color-mix(in oklab, var(--c) 20%, var(--soft)); }
.bl-card.big .bl-card-img { aspect-ratio: 16 / 10; }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.bl-card a:hover .bl-card-img img { transform: scale(1.05); }
.bl-card-img .bl-pill { position: absolute; top: 14px; left: 14px; }
.bl-card-img .bl-chip { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); }
.bl-card-txt { display: grid; gap: 8px; align-content: start; }
.bl-card-t { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 26px); line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; }
.bl-card.big .bl-card-t { font-size: clamp(24px, 2.6vw, 32px); }
.bl-card a:hover .bl-card-t { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.bl-card-d { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: #4a4945; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-cta { margin-top: 72px !important; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: clamp(24px, 4vw, 40px); border-radius: 18px; background: var(--ink); color: var(--paper); }
.bl-cta .ab-kicker { background: transparent; border-color: rgba(255,255,255,.2); color: #c9c8c2; }
.bl-cta-t { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; max-width: 28ch; }
.bl-cta-a { display: flex; flex-wrap: wrap; gap: 10px; }
.bl-cta .btn.dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.bl-cta .btn:not(.dark) { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.35); }
.bl-photo-note { margin: 20px 0 0; font-size: 12px; text-align: center; }
.bl-cover { margin: 8px auto 48px !important; max-width: 1180px; }
.bl-cover img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; background: var(--soft); animation: fade .8s .1s both; }
.bl-cover figcaption, .bl-fig figcaption { margin-top: 10px; font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--muted); }
.bl-credit { color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; white-space: nowrap; }
.bl-credit:hover { color: var(--ink); }
.bl-fig { margin: 2.2em 0 !important; }
.bl-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: var(--soft); }
.bl-fig.wide { margin-left: clamp(-120px, -8vw, 0px) !important; margin-right: clamp(-120px, -8vw, 0px) !important; }
.bl-fig.wide img { aspect-ratio: 16 / 9; }
.bl-fig figcaption a { color: var(--muted); text-decoration-color: var(--rule); }
.bl-prose .bl-fig figcaption a { text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; }
.bl-related .bl-cards { margin-top: 8px; }
.bl-stat { position: relative; display: grid; align-content: end; gap: 6px; min-height: 150px; padding: 20px; border-radius: 14px; background: color-mix(in oklab, var(--c) 16%, var(--paper)); overflow: hidden; isolation: isolate; }
.bl-stat::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--c) 45%, transparent); box-shadow: 0 0 0 28px color-mix(in oklab, var(--c) 10%, transparent), 0 0 0 56px color-mix(in oklab, var(--c) 6%, transparent); z-index: -1; }
.bl-stat.lg { min-height: 260px; padding: 28px; }
.bl-stat-v { font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.bl-stat.lg .bl-stat-v { font-size: clamp(56px, 7vw, 96px); }
.bl-stat-l { font-size: 14px; line-height: 1.4; color: #2b2b2e; max-width: 26ch; }
.bl-stat-cat { position: absolute; top: 16px; left: 20px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #2b2b2e; }
.bl-stat.lg .bl-stat-cat { top: 24px; left: 28px; }
.bl-stat.lg .bl-stat-l { position: absolute; top: 22px; right: 28px; max-width: min(26ch, 55%); text-align: right; }
.bl-by { display: flex; align-items: center; gap: 12px; }
.bl-by > span:last-child { display: grid; gap: 2px; }
.bl-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; }
.bl-av.lg { width: 56px; height: 56px; font-size: 16px; }
.bl-by-n { font-weight: 500; font-size: 15px; }
.bl-by-m { font-size: 12px; color: var(--muted); }
.bl-cats { margin: 24px 0 8px !important; }
.bl-list { list-style: none; margin: 0; padding: 0; }
.bl-list li { border-bottom: 1px solid var(--rule); }
.bl-list a { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px 48px; align-items: center; padding: 28px 0; color: var(--ink); text-decoration: none; }
.bl-list a:hover { color: var(--ink); }
.bl-list a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.bl-li-txt { display: grid; gap: 10px; }
.bl-list h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.bl-li-d { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.55; color: #3d3c38; max-width: 60ch; }
.bl { max-width: 1180px; margin: 0 auto; }
.bl-progress { position: fixed; left: 0; right: 0; top: var(--hh); height: 3px; z-index: 900; background: transparent; }
.bl-progress i { display: block; height: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; }
.bl-head { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; padding: clamp(36px, 6vw, 80px) 0 28px; }
.bl-head .crumbs { margin: 0; }
.bl-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; animation: fade .6s .05s both; }
.bl-dek { margin: 0; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: #4a4945; animation: fade .6s .1s both; }
.bl-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 8px; }
.bl-share { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; }
.bl-share:hover { background: var(--soft); border-color: var(--ink); }
.bl-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: 56px; }
.bl-toc nav { position: sticky; top: calc(var(--hh) + 32px); max-height: calc(100vh - var(--hh) - 64px); overflow: auto; }
.bl-toc-h { margin: 0 0 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.bl-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); display: grid; }
.bl-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .15s, border-color .15s; }
.bl-toc a:hover { color: var(--ink); }
.bl-toc a[aria-current] { color: var(--ink); border-left-color: var(--c); font-weight: 500; }
.bl-body > .bl-stat { margin-bottom: 36px; }
.bl-prose { font-family: var(--serif); font-size: 20px; line-height: 1.72; color: #1f1f22; }
.bl-prose > * { margin: 0 0 1.15em; }
.bl-prose h2 { margin: 2.2em 0 .6em; font-family: var(--sans); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; text-transform: none; color: var(--ink); scroll-margin-top: 96px; }
.bl-prose h3 { margin: 1.6em 0 .4em; font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.3; scroll-margin-top: 96px; }
.bl-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--c) 70%, var(--ink)); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.bl-prose a:hover { color: var(--accent); }
.bl-prose sup { font-family: var(--mono); font-size: .58em; line-height: 0; margin-left: 1px; }
.bl-prose sup a { text-decoration: none; color: var(--accent); padding: 0 1px; }
.bl-prose ul, .bl-prose ol { padding-left: 1.3em; }
.bl-prose li { margin-bottom: .45em; padding-left: .2em; }
.bl-prose strong { font-weight: 600; }
.bl-prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.45; margin: 1.6em 0; display: block; overflow-x: auto; }
.bl-prose .table-wrap { margin: 1.6em 0; }
.bl-prose .table-wrap table { display: table; max-width: none; margin: 0; }
.bl-prose .table-wrap tbody tr:last-child td { border-bottom: 0; }
.bl-prose thead th { padding: 10px 12px; border-bottom: 1.5px solid var(--ink); background: none; font-size: 11.5px; }
.bl-prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.bl-prose a.quiet { text-decoration: none; }
.bl-lead { font-size: 23px; line-height: 1.6; color: #2b2b2e; }
.bl-lead::first-letter { float: left; font-size: 3.6em; line-height: .9; padding: .06em .1em 0 0; font-weight: 500; color: var(--ink); }
.bl-takeaways { font-family: var(--sans); padding: 22px 26px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); box-shadow: inset 0 3px 0 var(--c); }
.bl-takeaways ul { margin: 0; padding-left: 1.1em; font-size: 16.5px; line-height: 1.6; }
.bl-takeaways li { margin-bottom: .5em; }
.bl-tk-label { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.bl-callout { margin: 1.8em 0 !important; padding: 4px 0 4px 24px; border-left: 3px solid var(--c); }
.bl-callout p { margin: 0; font-size: 19px; font-style: italic; color: #2b2b2e; }
.bl-callout strong { font-style: normal; }
.bl-formula { font-family: var(--mono); font-size: 16px; padding: 16px 20px; border-radius: 10px; background: var(--soft); text-align: center; }
/* Journal charts and tools: bar lists (static or driven by assets/blog-tools.js) */
.bl-chart { margin: 2em 0 !important; padding: 22px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); font-family: var(--sans); }
.bl-chart-h { margin: 0 0 4px !important; font-size: 17px !important; font-weight: 600; line-height: 1.35; }
.bl-chart-sub { margin: 0 0 16px !important; font-size: 13.5px !important; line-height: 1.45; color: var(--muted); }
.bl-bars { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 7px; }
.bl-bars li { display: grid; grid-template-columns: 128px minmax(0, 1fr) 92px; align-items: center; gap: 12px; margin: 0 !important; font-size: 14px; line-height: 1.3; }
.bl-bars .bl-bar-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-bars .bl-bar-t { height: 14px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.bl-bars .bl-bar-t i { display: block; height: 100%; border-radius: 4px; background: var(--c); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.bl-bars .bl-bar-v { font-family: var(--mono); font-size: 13px; text-align: right; white-space: nowrap; }
.bl-chart-note { margin: 14px 0 0 !important; font-size: 12.5px !important; line-height: 1.45; color: var(--muted); }
.bl-seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.bl-seg button { min-height: 34px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 13.5px; transition: border-color .15s, background-color .15s, color .15s; }
.bl-seg button:hover { border-color: var(--ink); }
.bl-seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bl-seg button:focus-visible { outline: none; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.bl-cmp-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 16px; }
.bl-cmp-pick .sel-btn, .bl-cmp-pick select { width: 100%; }
.bl-cmp-vs { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.bl-cmp table { width: 100%; margin: 0 !important; display: table !important; font-size: 14.5px; }
.bl-cmp td:nth-child(2), .bl-cmp td:nth-child(3), .bl-cmp th:nth-child(2), .bl-cmp th:nth-child(3) { text-align: right; font-family: var(--mono); font-size: 13.5px; }
.bl-cmp td.win { font-weight: 600; color: var(--ink); box-shadow: inset 0 -2px 0 var(--c); }
@media (max-width: 600px) { .bl-chart { padding: 18px 16px; } .bl-bars li { grid-template-columns: 96px minmax(0, 1fr) 78px; gap: 8px; font-size: 13px; } }
.bl-refs { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink); }
.bl-refs h2 { margin: 0 0 16px; font-size: 13px; }
.bl-refs ol { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.bl-refs li { scroll-margin-top: 96px; }
.bl-refs li:target { background: color-mix(in oklab, var(--c) 18%, transparent); border-radius: 4px; }
.bl-refs a { color: var(--ink); overflow-wrap: anywhere; }
.bl-author { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); }
.bl-author p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.bl-author-n { font-weight: 600; font-size: 16px !important; margin-bottom: 4px !important; }
.bl-related { margin-top: 72px !important; padding-top: 28px; border-top: 1px solid var(--ink); }
.bl-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.bl-related a { display: grid; gap: 12px; color: var(--ink); text-decoration: none; }
.bl-related a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.bl-related h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
@media (max-width: 1040px) { .bl-grid { grid-template-columns: minmax(0, 720px); } .bl-toc { display: none; } }
@media (max-width: 1040px) { .bl-fig.wide { margin-left: 0 !important; margin-right: 0 !important; } }
@media (max-width: 900px) { .bl-card, .bl-card.big, .bl-cards.three .bl-card { grid-column: span 3; } }
@media (max-width: 600px) { .bl-card, .bl-card.big, .bl-cards.three .bl-card { grid-column: 1 / -1; } .bl-hero-go { margin-left: 0; } .bl-cover img { aspect-ratio: 4 / 3; } }
@media (max-width: 760px) {
  .bl-feat, .bl-list a { grid-template-columns: minmax(0, 1fr); }
  .bl-list .bl-stat { min-height: 110px; }
  .bl-prose { font-size: 18.5px; }
}

/* Country search (map HUD) */
.cs { position: relative; }
.hud .cs { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.cs-box { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.cs-box:focus-within { border-color: #00b8d9; box-shadow: 0 0 0 4px rgba(0, 229, 255, .18); }
.cs-ic { position: relative; flex: none; width: 13px; height: 13px; margin: 0 2px 2px 0; border: 1.75px solid var(--muted); border-radius: 50%; }
.cs-ic::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 6px; height: 1.75px; background: var(--muted); border-radius: 2px; transform: rotate(45deg); }
.cs-box:focus-within .cs-ic { border-color: var(--ink); }
.cs-box:focus-within .cs-ic::after { background: var(--ink); }
.cs-box input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: none; font-size: 15px; }
.cs-box input:focus { outline: none; }
.hud .cs button[type=submit] { height: 42px; min-height: 42px; padding: 0 18px; border-radius: 10px; }
.cs-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow: auto; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 18px 44px rgba(20,20,25,.16); animation: fade .18s both; }
.cs-list li { display: grid; gap: 2px; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.cs-list li[aria-selected="true"] { background: #0e1a1d; color: #fff; }
.cs-list li[aria-selected="true"] .cs-meta { color: #8fe9f5; }
.cs-list li[aria-selected="true"] mark { color: #4df3ff; }
.cs-name { font-weight: 500; font-size: 15px; }
.cs-name mark { background: none; color: #0095b3; font-weight: 600; }
.cs-meta { font-size: 11.5px; color: var(--muted); }
.cs-empty { color: var(--muted); font-size: 14px; cursor: default !important; }
.cs-focus { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: #0b1416; color: #e8fbff; font-size: 13.5px; box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .35), 0 0 18px rgba(0, 229, 255, .12); animation: fade .25s both; }
.cs-focus[hidden] { display: none; }
.cs-dot { width: 9px; height: 9px; border-radius: 50%; background: #00e5ff; box-shadow: 0 0 8px #00e5ff, 0 0 2px #fff; }
.cs-fname { font-weight: 600; }
.cs-fmeta { color: #8fe9f5; font-size: 12px; }
.cs-focus a { margin-left: auto; color: #4df3ff; text-decoration: none; font-size: 13px; }
.cs-focus a:hover { color: #fff; text-decoration: underline; }
.cs-focus button { width: 26px; height: 26px; min-height: 0; padding: 0; border: 0; border-radius: 6px; background: rgba(255,255,255,.08); color: #e8fbff; font-size: 16px; line-height: 1; }
.cs-focus button:hover { background: rgba(255,255,255,.18); }
.leaflet-hl-pane .pp-neon { filter: drop-shadow(0 0 3px #00e5ff) drop-shadow(0 0 8px rgba(0, 229, 255, .7)); }
.leaflet-hl-pane .pp-neon-glow { filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) { .leaflet-hl-pane .pp-neon { animation: neon-pulse 2.4s ease-in-out infinite; } }
@keyframes neon-pulse { 50% { stroke-opacity: .7; } }

/* Footer */
.ft { margin-top: 96px; background: var(--ink); color: #c9c8c2; font-size: 14.5px; }
.ft a { color: #e9e8e2; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-in { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 40px; display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(0, 1fr)); gap: 40px 40px; }
.ft-brand { display: grid; gap: 14px; align-content: start; max-width: 420px; }
.ft-brand p { margin: 0; line-height: 1.6; }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: #fff !important; }
.ft-logo .mark { background: #fff; }
.ft-logo .mark::after { background: var(--ink); }
.ft-data { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.5; color: #9d9c96; }
.ft-data li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
.ft-data li > span:first-child { color: #6f6e69; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; padding-top: 1px; }
.ft-data a { color: #c9c8c2; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); }
.ft-col { display: grid; gap: 10px; align-content: start; }
.ft-h { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #8a8984; }
.ft-bar { max-width: 1280px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9d9c96; }
.ft-bar p { margin: 0; }
.ft-bar-a { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-btn { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #e9e8e2; font-size: 13px; }
.ft-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
main.home + .ft { margin-top: 0; }
@media (max-width: 900px) { .ft-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .ft-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Legal pages */
.lg-page { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: 56px; padding-top: clamp(28px, 5vw, 56px); }
.lg-side { display: grid; gap: 28px; align-content: start; position: sticky; top: calc(var(--hh) + 28px); max-height: calc(100vh - var(--hh) - 56px); overflow: auto; }
.lg-side nav { display: grid; gap: 2px; }
.lg-side nav a { padding: 7px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.lg-side nav a:hover { background: var(--soft); color: var(--ink); }
.lg-side nav a[aria-current] { background: var(--ink); color: var(--paper); }
.lg-side .ft-h { color: var(--muted); padding: 0 12px; }
.lg-side-btn { margin-top: 8px; justify-self: start; min-height: 36px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 13.5px; }
.lg-side-btn:hover { background: var(--soft); }
.lg-toc a { font-size: 13px !important; padding: 5px 12px !important; }
.lg-body { min-width: 0; }
.lg-body h1 { margin: 12px 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.lg-dek { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: #4a4945; }
.lg-upd { margin: 14px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.lg-prose { font-size: 16.5px; line-height: 1.7; color: #1f1f22; }
.lg-prose > * { margin: 0 0 1em; }
.lg-prose h2 { margin: 2em 0 .5em; font-size: 22px; font-weight: 600; text-transform: none; letter-spacing: -0.01em; color: var(--ink); scroll-margin-top: 96px; }
.lg-prose h3 { margin: 1.4em 0 .3em; font-size: 17px; font-weight: 600; }
.lg-prose ul { padding-left: 1.2em; }
.lg-prose li { margin-bottom: .4em; }
.lg-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lg-prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.lg-prose th { padding: 10px; border-bottom: 1.5px solid var(--ink); background: none; }
.lg-prose td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.lg-lead { font-family: var(--serif); font-size: 19px; line-height: 1.6; }
.lg-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--rule); background: var(--paper); }
.lg-box p { margin: 0; flex: 1 1 280px; }
.lg-inline { display: inline; padding: 0; min-height: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lg-inline:hover { color: var(--accent); background: none; }
@media (max-width: 900px) { .lg-page { grid-template-columns: minmax(0, 1fr); gap: 24px; } .lg-side { position: static; max-height: none; } .lg-toc { display: none !important; } .lg-side nav:first-child { display: flex; flex-wrap: wrap; gap: 6px; } .lg-side nav:first-child .ft-h { width: 100%; } }

/* Intro loader */
html.is-loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--bg); clip-path: circle(150% at 50% 42%); transition: clip-path .85s cubic-bezier(.7,0,.2,1), opacity .85s; }
.loader.out { clip-path: circle(0% at 50% 42%); opacity: 0; pointer-events: none; }
.ld-orb { position: relative; width: 168px; height: 168px; display: grid; place-items: center; margin-bottom: 8px; }
.ld-ring { position: absolute; inset: 44px; border-radius: 50%; border: 1.5px solid var(--c); opacity: 0; animation: ld-ring 2.2s var(--d) cubic-bezier(.2,.6,.3,1) infinite; }
.ld-orbit { position: absolute; inset: 0; animation: ld-spin 9s linear infinite; }
.ld-orbit i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--c); transform: rotate(var(--a)) translateY(-78px); animation: ld-pop 1.6s var(--d) ease-in-out infinite; }
.ld-mark { width: 44px; height: 44px; animation: ld-beat 1.6s ease-in-out infinite; }
.ld-mark::after { inset: 14px; }
.ld-count { display: flex; align-items: baseline; gap: 10px; }
.ld-n { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; min-width: 6ch; text-align: right; font-variant-numeric: tabular-nums; }
.ld-of { color: var(--muted); font-size: 14px; }
.ld-bar { width: 260px; height: 2px; background: var(--rule); overflow: hidden; border-radius: 2px; }
.ld-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.ld-msg { margin: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
@keyframes ld-ring { 0% { transform: scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@keyframes ld-pop { 0%, 100% { transform: rotate(var(--a)) translateY(-78px) scale(.35); opacity: .35; } 50% { transform: rotate(var(--a)) translateY(-66px) scale(1.15); opacity: 1; } }
@keyframes ld-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
/* Page-transition loader */
.pg-load { position: fixed; inset: var(--hh) 0 0; z-index: 1500; display: grid; place-items: center; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.pg-load[hidden] { display: none; }
.pg-load.in { opacity: 1; }
.pg-load.out { opacity: 0; pointer-events: none; }
.pg-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden; background: var(--soft); }
.pg-line i { position: absolute; top: 0; bottom: 0; width: 35%; background: linear-gradient(90deg, transparent, var(--ink) 30%, var(--ink) 70%, transparent); animation: pg-sweep 1.1s cubic-bezier(.5,0,.3,1) infinite; }
.pg-card { display: grid; justify-items: center; gap: 18px; transform: translateY(-4vh) scale(.96); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pg-load.in .pg-card { transform: translateY(-4vh) scale(1); }
.pg-orb { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
.pg-ring { position: absolute; inset: 30px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; animation: ld-ring 1.8s var(--d, 0s) cubic-bezier(.2,.6,.3,1) infinite; }
.pg-orbit { position: absolute; inset: 0; animation: ld-spin 3.2s linear infinite; }
.pg-orbit i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--c); transform: rotate(var(--a)) translateY(-46px); animation: pg-pop 1.2s var(--d) ease-in-out infinite; }
.pg-mark { width: 30px; height: 30px; animation: ld-beat 1.2s ease-in-out infinite; }
.pg-mark::after { inset: 9px; }
.pg-msg { display: flex; align-items: baseline; gap: 2px; margin: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.pg-dots { display: inline-flex; gap: 3px; margin-left: 4px; }
.pg-dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: pg-dot 1s ease-in-out infinite; }
.pg-dots i:nth-child(2) { animation-delay: .15s; } .pg-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pg-sweep { from { left: -35%; } to { left: 100%; } }
@keyframes pg-pop { 0%, 100% { transform: rotate(var(--a)) translateY(-46px) scale(.4); opacity: .4; } 50% { transform: rotate(var(--a)) translateY(-38px) scale(1.1); opacity: 1; } }
@keyframes pg-dot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 1240px) { .hdr-search input { width: 220px; } .hdr-search input:focus { width: 260px; } }
@media (max-width: 1080px) {
  .hdr-search input { width: 40px; padding: 0; cursor: pointer; }
  .hdr-search input::placeholder { color: transparent; }
  .hdr-search input:focus, .hdr-search input:not(:placeholder-shown) { width: 220px; padding: 0 14px 0 38px; cursor: text; }
  .hdr-search input:focus::placeholder { color: var(--muted); }
  .hdr-search kbd { display: none; }
}
@media (max-width: 860px) { .hdr-tools { display: none; } header.site { grid-template-columns: auto 1fr; } header.site nav { justify-self: end; } }
@media (max-width: 960px) { .loc-grid, .near, .faq { grid-template-columns: minmax(0, 1fr); } .faq .block-head { position: static; } }
@media (max-width: 760px) {
  .intro, .detail { grid-template-columns: minmax(0, 1fr); }
  .fields div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  :root { --hh: 104px; }
  header.site { grid-template-columns: 1fr; gap: 2px; align-content: center; }
  header.site nav { margin: 0 -12px; }
  header.site nav a[aria-current]::after { bottom: -2px; }
  .hero { height: auto; min-height: 0; overflow: visible; }
  .hero .map { position: relative; height: 60vh; }
  .panel { position: relative; inset: auto; width: auto; max-height: none; margin: 12px 16px 0; animation: none; }
  .map-status { transform: none; left: auto; bottom: auto; text-align: center; white-space: normal; }
  #legend { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .bars li { grid-template-columns: minmax(90px, 1fr) minmax(40px, 1fr) 68px; }
  .bars li > .mono.muted { display: none; }
}

/* ---- Ownership (company.php, companies.php, plant/country ownership blocks) ---- */
.own-type { display: inline-block; padding: 3px 9px; border: 1px solid var(--rule); border-radius: 999px; font-size: 11px; color: var(--ink); background: var(--paper); white-space: nowrap; vertical-align: 1px; }
.own-t-state, .own-t-state-body { border-color: color-mix(in oklch, oklch(0.62 0.17 30) 45%, var(--rule)); background: color-mix(in oklch, oklch(0.62 0.17 30) 9%, var(--paper)); color: oklch(0.42 0.13 30); }
.own-list .own-type, .own-chain .own-type { font-size: 10px; padding: 1px 7px; }
.own-stats { grid-template-columns: repeat(5, minmax(max-content, 1fr)) !important; }
.own-summary { margin-top: 28px !important; max-width: 820px; }
.own-summary p { margin: 0; font: 400 clamp(17px, 1.6vw, 19px)/1.65 var(--serif); color: #2c2b28; }
.own-summary b { font-weight: 500; font-family: var(--mono); font-size: .92em; }
.own-local { margin: 0; font-size: 17px; }
.own-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 16px; }
.own-card { border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); padding: 18px 20px 16px; min-width: 0; }
.own-card + .own-card.own-wide, .own-wide { margin-top: 16px; }
.gen-head + .own-wide, .gen-stats + .own-wide { margin-top: 0; }
.own-h { margin: 0 0 14px; font: 500 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.own-h4 { margin: 18px 0 8px; font: 500 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.own-card .bars li { grid-template-columns: minmax(120px, 1.3fr) minmax(60px, 2fr) 76px 64px; }
.own-peers .bars li { grid-template-columns: minmax(150px, 1.3fr) minmax(60px, 2fr) 76px 130px; }
.own-bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.own-stack { display: flex; height: 14px; border-radius: 4px; overflow: hidden; gap: 2px; background: var(--soft); }
.own-stack.own-big { height: 22px; border-radius: 6px; }
.own-stack i { display: block; min-width: 3px; transform-origin: left; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
.own-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 20px; font-size: 13.5px; }
.own-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 44px; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--soft); }
.own-legend i { width: 10px; height: 10px; border-radius: 3px; }
.own-legend .mono { text-align: right; font-size: 12.5px; }
.own-cols { display: block; width: 100%; height: auto; max-height: 240px; overflow: visible; }
.own-cols rect { fill: color-mix(in oklch, var(--accent) 70%, var(--paper)); transition: fill .15s; }
.own-cols rect.hi, .own-cols g:hover rect { fill: var(--accent); }
.own-cols text { font: 11px var(--mono); fill: var(--muted); }
.own-cols text.v { fill: var(--ink); font-size: 10.5px; }
.own-cols line { stroke: var(--rule); }
.own-list { list-style: none; margin: 0; padding: 0; display: grid; }
.own-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--soft); font-size: 14.5px; }
.own-list li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.own-list li > .mono { white-space: nowrap; }
.own-a { font-weight: 500; }
.own-a:hover { text-decoration: underline; }
.own-chain { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; }
.own-chain li { position: relative; display: grid; gap: 2px; padding: 0 0 12px 22px; font-size: 14px; }
.own-chain li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--accent); background: var(--paper); }
.own-chain li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--rule); }
.own-chain-s { color: var(--muted); font-size: 12px; }
.own-state { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.own-state p { margin: 0 0 8px; font-size: 14px; }
.own-state .bar { background: var(--paper); }
.own-small { margin: 12px 0 0; font-size: 13px; }
.own-more { margin: 20px 0 0; }
.own-more-h { margin: 0 0 10px; font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.own-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.own-chip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.own-chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.own-chip-n { font-weight: 500; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.own-chip-m { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12px; color: var(--muted); }
.own-chip-go { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; color: var(--muted); transition: transform .15s, color .15s; }
.own-chip:hover .own-chip-go { transform: translateX(3px); color: var(--ink); }
.own-plant .own-src { margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--soft); }
.own-note { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.own-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.own-two .eyebrow { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.own-faq details { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.own-faq details:first-child { border-top: 1px solid var(--rule); }
.own-faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.own-faq summary::-webkit-details-marker { display: none; }
.own-faq summary::after { content: '+'; font: 400 18px/1 var(--mono); color: var(--muted); }
.own-faq details[open] summary::after { content: '−'; }
.own-faq p { margin: 10px 0 2px; color: #3d3c38; line-height: 1.6; }
.own-method { margin-top: 48px !important; padding: 18px 20px; border-radius: 14px; background: var(--soft); font-size: 14px; line-height: 1.6; max-width: 980px; }
.own-method p { margin: 0; }
.own-src { margin: 10px 0 0 !important; font-size: 12px; color: var(--muted); }
.own-mix { display: flex; height: 8px; width: 120px; margin: 0; }
.own-rank th a[aria-current] { color: var(--ink); font-weight: 500; }
.own-tools { position: static; }
.own-plant .own-card, .own-country .own-card { background: var(--paper); }
@media (max-width: 860px) {
  .own-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .own-stats div + div { border-left: 0; }
  .own-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .own-stats div:nth-child(even) { border-left: 1px solid var(--rule); }
  .own-two { grid-template-columns: minmax(0, 1fr); }
  .own-card .bars li { grid-template-columns: minmax(96px, 1.2fr) minmax(40px, 1.4fr) 64px; }
  .own-card .bars li > .mono:last-child { display: none; }
  .own-mix { width: 64px; }
}
@media (max-width: 560px) {
  .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pl-stats div + div { border-left: 0; }
  .pl-stats div:nth-child(even) { border-left: 1px solid var(--rule); }
  .pl-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .pl-stats dd { font-size: 20px; }
}
.own .pl-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.own .pl-hero h1 { max-width: 16ch; }
.own .pl-hero .pl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.own .pl-hero .pl-stats dt { white-space: normal; }
@media (max-width: 1000px) { .own .pl-hero { grid-template-columns: minmax(0, 1fr); } }

/* Ownership tab: switch between companies.php and owners.php */
.own-switch { margin: clamp(20px, 3vw, 32px) 0 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.own-switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 7px; color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.own-switch a:hover { background: var(--soft); color: var(--ink); }
.own-switch a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* Owner-type key under the stacked bar: one line per item, numbers in aligned columns */
.own-key { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 28px; }
.own-key li { grid-template-columns: 10px minmax(0, 1fr) 76px 46px; align-items: baseline; gap: 10px; padding: 9px 0; }
.own-key li i { align-self: center; }
.own-key-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.own-key .mono { font-variant-numeric: tabular-nums; }

/* ---------- Plant page (pv-) ---------- */
.pv-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; padding: clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); }
.pv-hero-l { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.pv-hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
.pv-local { margin: -4px 0 0; font-size: 18px; color: var(--muted); }
.pv-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pv-tech { font-size: 13px; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); }
.pv-place { margin: 0; font-size: 13px; color: var(--muted); }
.pv-stats { min-width: min(100%, 520px); }
.pv-stats dd small { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.pv-stats dd.pv-st { font-family: inherit; font-size: 18px; }
.pv-overview { margin-top: 8px; }
.pv-ov-l { display: grid; gap: 16px; align-content: start; min-width: 0; }
.pv-lead { margin: 0; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; text-wrap: pretty; }
.pv-sum { margin: 0; color: #3d3c38; font-size: 15.5px; line-height: 1.7; }
.pv-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); overflow: hidden; }
.pv-facts div { padding: 14px 18px; display: grid; gap: 6px; align-content: start; box-shadow: 1px 0 0 var(--rule), 0 1px 0 var(--rule); }
.pv-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.pv-facts dd { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.pv-pledge { margin-top: 16px; }
.pv-pl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--soft); border-radius: 10px; overflow: hidden; }
.pv-pl-facts div { padding: 12px 14px; min-width: 0; }
.pv-pl-facts div + div { border-left: 1px solid var(--soft); }
.pv-pl-facts dt { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pv-pl-facts dd { margin: 6px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; }
.pv-pl-facts dd b { font-size: 22px; font-weight: 500; color: var(--ink); }
.pv-pl-facts dd small { font-size: 12.5px; color: var(--muted); }
.pv-pl-tl { padding: 46px 4px 34px; }
.pv-pl-tl.has-down { padding-bottom: 62px; }
.pv-pl-track { position: relative; height: 4px; border-radius: 4px; background: var(--soft); }
.pv-pl-run { position: absolute; top: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--ink), color-mix(in oklch, var(--ink) 25%, var(--paper))); transform-origin: left; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
.pv-pl-tick { position: absolute; top: 10px; width: 1px; height: 6px; background: var(--rule); }
.pv-pl-tick span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font: 11px var(--mono); color: var(--muted); }
.pv-pl-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.pv-pl-dot.now { background: var(--ink); }
.pv-pl-dot.ret { background: oklch(0.62 0.17 30); border-color: oklch(0.62 0.17 30); }
.pv-pl-dot b { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 12px/1.2 var(--sans); color: var(--ink); background: var(--paper); padding: 2px 6px; border: 1px solid var(--rule); border-radius: 6px; }
.pv-pl-dot.now b { font-weight: 400; color: var(--muted); border-color: transparent; }
.pv-pl-dot.down b { bottom: auto; top: 34px; }
.pv-pl-dot.now b { left: -4px; transform: none; padding-left: 0; }
.pv-cmp { display: grid; gap: 4px; }
.pv-cmp-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(80px, 2.2fr) 72px; gap: 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.pv-cmp-l { display: grid; gap: 2px; min-width: 0; }
.pv-cmp-k { font-size: 14px; color: var(--muted); }
.pv-cmp-s { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-cmp-s a { color: inherit; }
.pv-cmp-s a:hover { color: var(--ink); }
.pv-cmp-bar { height: 10px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.pv-cmp-bar i { display: block; height: 100%; border-radius: 6px; background: color-mix(in oklch, var(--ink) 22%, var(--soft)); transform-origin: left; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
.pv-cmp-v { text-align: right; font-size: 13.5px; color: var(--muted); }
.pv-cmp-row.is-me .pv-cmp-k { color: var(--ink); font-weight: 500; }
.pv-cmp-row.is-me .pv-cmp-bar { height: 14px; }
.pv-cmp-row.is-me .pv-cmp-bar i { background: var(--c); }
.pv-cmp-row.is-me .pv-cmp-v { color: var(--ink); font-size: 15px; font-weight: 500; }
.pv-cmp-note { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.pv-tl { display: grid; gap: 4px; }
.pv-tl-row { display: grid; grid-template-columns: minmax(70px, 160px) minmax(0, 1fr); gap: 12px; align-items: center; font-size: 12.5px; }
.pv-tl-n { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-tl-track { position: relative; height: 14px; background: var(--soft); border-radius: 4px; }
.pv-tl-track i { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; }
.pv-tl-track i.pv-tl-plan, .pv-tl-plan-k { background: repeating-linear-gradient(90deg, oklch(0.50 0.14 250 / .45) 0 4px, transparent 4px 7px); }
.pv-tl-axis .pv-tl-track { background: none; height: 18px; border-top: 1px solid var(--rule); border-radius: 0; }
.pv-tl-axis .pv-tl-track > span { position: absolute; top: 3px; transform: translateX(-50%); font: 11px var(--mono); color: var(--muted); }
.pv-tl-now { position: absolute; top: -260px; bottom: 16px; width: 0; border-left: 1px dashed var(--ink); opacity: .35; pointer-events: none; }
.pv-tl { overflow: hidden; }
.pv-tl-key { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.pv-tl-key li { grid-template-columns: 10px minmax(0, 1fr); }
.pv-tl-plan-k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.pv-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.pv-links li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.pv-links a { display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: var(--ink); }
.pv-links a:hover .pv-ln { color: var(--accent); }
.pv-links i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.pv-ln { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-links .mono { flex: none; font-size: 12px; white-space: nowrap; }
.pv-faq { margin-top: clamp(48px, 6vw, 72px); }
.pv-ids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 28px; }
.pv-ids li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.pv-ids li > span:first-child { color: var(--muted); font-size: 13px; }
.pv-ids li > span:last-child { overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .pv-hero { grid-template-columns: minmax(0, 1fr); }
  .pv-stats { min-width: 0; }
}
@media (max-width: 560px) {
  .pv-tl-row { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .pv-ids li { grid-template-columns: 110px minmax(0, 1fr); }
}
.pv table.gen { width: 100%; max-width: none; }
.pv table.gen td:first-child { min-width: 120px; }
.pv-rel .own-card, .pv-links li, .pv-links a { min-width: 0; }
.pv-links li > a { flex: 1 1 auto; }

/* near-me pages (near.php) */
.nm-table { max-width: none; }
.nm-table td { vertical-align: top; padding-top: 12px; padding-bottom: 12px; }
.nm-table th:first-child, .nm-table td:first-child { width: 16%; }
.nm-table td.r, .nm-table th.r { width: 13%; white-space: nowrap; }
.nm-sub { display: block; margin-top: 2px; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.nm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.nm-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; height: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.nm-grid a:hover { border-color: var(--ink); }
.nm-grid .mono { font-size: 12.5px; color: var(--muted); }
.nm-grid .all a { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 500; }
.nm-grid .all .mono { color: #b5b4ae; }
.nm-h3 { margin: 36px 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nm-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nm-pills a { display: inline-flex; align-items: center; min-height: 40px; box-sizing: border-box; padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; text-decoration: none; transition: border-color .15s; }
.nm-pills a:hover { border-color: var(--ink); }
@media (max-width: 700px) { .nm-table th:first-child, .nm-table td:first-child { width: auto; } .nm-table th:nth-child(4), .nm-table td:nth-child(4) { display: none; } .nm-table td, .nm-table th { padding-left: 10px; padding-right: 10px; } .nm-table th, .nm-table th.r, .nm-table td.r { width: auto; white-space: normal; } .nm-grid { grid-template-columns: 1fr 1fr; } }

/* nuclear evacuation zones (nuclear-zones.php): a dark map console, distance explorer, zone cards, comparison bars */
.nz-head h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.nz-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 14px 0 0; max-width: 860px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); overflow: hidden; }
.nz-stats div { padding: 14px 18px; border-left: 1px solid var(--rule); }
.nz-stats div:first-child { border-left: 0; }
.nz-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.nz-stats dd { margin: 6px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }
.nz { --zb: #0c0d0f; --zp: #141519; --zl: #2a2b31; --zt: #ecebe5; --zm: #9b9a94;
  position: relative; display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); margin-top: 26px; border-radius: 16px; overflow: hidden; background: var(--zb); color: var(--zt);
  box-shadow: 0 30px 80px -30px rgba(10, 10, 20, .55), inset 0 0 0 1px #1f2025; }
.nz-side { position: relative; z-index: 2; display: grid; gap: 14px; align-content: start; padding: 22px; background: linear-gradient(180deg, #15161a, #0f1013); border-right: 1px solid var(--zl); }
.nz-lab { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--zm); margin: 0; }
.nz-pick { position: relative; display: grid; gap: 8px; }
.nz-pick-box { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 14px; border: 1px solid #34353c; border-radius: 12px; background: #0b0c0e; transition: border-color .15s, box-shadow .15s; }
.nz-pick-box:focus-within { border-color: #a46bff; box-shadow: 0 0 0 4px rgba(164, 107, 255, .2); }
.nz-pick-box .cs-ic { border-color: var(--zm); }
.nz-pick-box .cs-ic::after { background: var(--zm); }
.nz-pick-box input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--zt); font-size: 15px; }
.nz-pick-box input::placeholder { color: #75746f; }
.nz-pick-box input:focus { outline: none; }
.nz-pick-x { width: 30px; height: 30px; min-height: 0; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--zt); font-size: 18px; line-height: 1; }
.nz-pick-x:hover { background: rgba(255,255,255,.14); }
.nz-pick-x[hidden] { display: none; }
.nz-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 340px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: #17181c; border: 1px solid #34353c; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.55); animation: hs-in .16s ease-out both; scrollbar-width: thin; scrollbar-color: #3a3b42 transparent; }
.nz-list[hidden] { display: none; }
.nz-list li[role=option] { display: grid; gap: 1px; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.nz-list li[aria-selected="true"] { background: #2a2140; }
.nz-o-n { font-weight: 500; font-size: 14.5px; }
.nz-o-m { font-size: 11.5px; color: var(--zm); }
.nz-list mark { background: none; color: #c9a6ff; font-weight: 600; }
.nz-list-h, .nz-list-none { padding: 8px 12px 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--zm); }
.nz-list-none { text-transform: none; letter-spacing: 0; font-size: 13.5px; padding: 10px 12px; }
.nz-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nz-me { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: #ecebe5; color: #111; font-weight: 500; transition: transform .15s, background .15s; }
.nz-me:hover { background: #fff; transform: translateY(-1px); }
.nz-me:disabled { opacity: .7; cursor: progress; transform: none; }
.nz-me-ic { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #1d6cf2; box-shadow: 0 0 0 3px rgba(29,108,242,.25); }
.nz-me.busy .nz-me-ic { animation: beacon 1s ease-out infinite; }
.nz-or { font-size: 12px; color: var(--zm); }
.nz-priv { margin: 0; font-size: 11.5px; color: #6f6e69; }
.nz-out { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--zl); }
.nz-out p { margin: 0; }
.nz-pop > * { animation: fade .35s cubic-bezier(.2,.7,.2,1) both; }
.nz-pop > *:nth-child(2) { animation-delay: .05s; } .nz-pop > *:nth-child(3) { animation-delay: .1s; } .nz-pop > *:nth-child(4) { animation-delay: .15s; } .nz-pop > *:nth-child(n+5) { animation-delay: .2s; }
.nz-msg { padding: 10px 12px; border-radius: 10px; background: #221a12; color: #f2c99a; font-size: 13.5px; }
.nz-empty { display: grid; justify-items: center; gap: 14px; padding: 12px 6px 4px; text-align: center; color: var(--zm); font-size: 14px; line-height: 1.55; }
.nz-empty b { color: var(--zt); font-weight: 500; }
.nz-empty-art { position: relative; width: 120px; height: 120px; }
.nz-empty-art i { position: absolute; inset: calc(var(--k) * 15px); border-radius: 50%; border: 1.5px solid var(--c); opacity: .7; animation: nz-breathe 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * -.4s); }
.nz-empty-art i:nth-child(1) { --k: 0; --c: #5b9bff; } .nz-empty-art i:nth-child(2) { --k: 1; --c: #f5c400; } .nz-empty-art i:nth-child(3) { --k: 2; --c: #ff8a1f; } .nz-empty-art i:nth-child(4) { --k: 3; --c: #ff4d4f; }
.nz-empty-art b { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #a46bff; box-shadow: 0 0 12px #a46bff; }
@keyframes nz-breathe { 50% { transform: scale(1.05); opacity: 1; } }
.nz-verdict { position: relative; display: grid; gap: 6px; padding: 16px; border-radius: 14px; background: radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--c) 26%, transparent), transparent 60%), #101114; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 45%, transparent); }
.nz-v-lab { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--zm); }
.nz-v-km { font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.nz-v-km small { font-size: 18px; color: var(--zm); letter-spacing: 0; }
.nz-v-km span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0; color: var(--zm); }
.nz-v-zone { font-size: 15px; color: var(--zt); }
.nz-v-zone b { color: var(--c); font-weight: 600; }
.nz-v-do { font-size: 13.5px; line-height: 1.55; color: #c9c8c2; }
.nz-v-nat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #c9b6ef; }
.nz-v-nat i { width: 10px; height: 10px; border: 2px dashed #b07cff; border-radius: 50%; flex: none; }
.nz-p-st { display: flex; align-items: center; gap: 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--zm); }
.nz-p-st i { width: 8px; height: 8px; border-radius: 50%; background: #a46bff; box-shadow: 0 0 8px #a46bff; }
.nz-p-st i.con { background: #4b3d66; box-shadow: inset 0 0 0 1.5px #8d7bb3; }
.nz-name { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; text-transform: none; color: #fff; }
.nz-meta { margin-top: 4px !important; font-size: 12px; color: var(--zm); }
.nz-zones { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nz-zones button { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 0; padding: 9px 10px; border: 0; border-radius: 10px; background: rgba(255,255,255,.03); color: var(--zt); text-align: left; font-size: 13px; line-height: 1.3; transition: background .15s, transform .15s; }
.nz-zones button:hover { background: color-mix(in oklab, var(--c) 18%, transparent); transform: translateX(2px); }
.nz-zones b { color: var(--c); font-weight: 600; margin-right: 4px; }
.nz-zones .mono { font-size: 12.5px; color: #fff; }
.nz-sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.nz-sw.nz-dash { background: none; box-shadow: none; border: 2px dashed var(--c); width: 10px; height: 10px; }
.nz-nat { display: flex; gap: 10px; align-items: baseline; font-size: 13px !important; line-height: 1.5; color: #c9c8c2; }
.nz-near { display: grid; gap: 4px; }
.nz-near .nz-lab { margin-bottom: 4px; }
.nz-near button { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 0; padding: 8px 10px; border: 1px solid var(--zl); border-radius: 10px; background: none; color: var(--zt); text-align: left; font-size: 13.5px; }
.nz-near button:hover { border-color: #a46bff; background: rgba(164,107,255,.08); }
.nz-near small { display: block; font-size: 11.5px; color: var(--zm); }
.nz-near .mono { font-size: 12.5px; white-space: nowrap; }
.nz-more { display: inline-flex; gap: 6px; justify-self: start; font-size: 14px; color: #d9c6ff !important; text-decoration: none; }
.nz-more:hover span { transform: translateX(3px); }
.nz-more span { transition: transform .2s; }
.nz-mapwrap { position: relative; min-height: 700px; }
.nz-map { position: absolute; inset: 0; background: #0b0c0e; }
.nz-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.35); }
.nz-map .leaflet-control-attribution { background: rgba(12,13,15,.75) !important; color: #8a8984 !important; }
.nz-map .leaflet-control-attribution a { color: #b9b8b2 !important; }
.nz-map .leaflet-bar a { background: #17181c; color: var(--zt); border-color: #2a2b31; }
.nz-map .leaflet-bar a:hover { background: #24252b; }
.nz-map .nz-dot { filter: drop-shadow(0 0 4px rgba(164, 107, 255, .8)); }
.nz-tip { background: #17181c !important; color: var(--zt) !important; border: 1px solid #34353c !important; border-radius: 8px !important; box-shadow: 0 10px 30px rgba(0,0,0,.4) !important; font-size: 12.5px; }
.nz-tip::before { border-top-color: #34353c !important; }
.nz-tip-d { font: 500 12.5px var(--mono); padding: 5px 9px; }
.nz-beacon i, .nz-beacon b { position: absolute; inset: 0; border-radius: 50%; }
.nz-beacon b { inset: 6px; background: #fff; box-shadow: 0 0 14px #fff, 0 0 30px #a46bff; }
.nz-beacon i { border: 2px solid #fff; animation: ring 1.8s ease-out infinite; }
.nz-you-pin i { position: absolute; inset: 0; border-radius: 50%; background: #1d6cf2; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(29,108,242,.6); animation: beacon 1.6s ease-out infinite; }
.nz-legend { position: absolute; z-index: 500; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 28px); }
.nz-legend button { display: inline-flex; align-items: center; gap: 7px; min-height: 0; height: 32px; padding: 0 12px 0 10px; border: 1px solid #34353c; border-radius: 999px; background: rgba(14,15,18,.82); backdrop-filter: blur(8px); color: var(--zt); font: 500 12px var(--mono); letter-spacing: .04em; transition: opacity .15s, border-color .15s, background .15s; }
.nz-legend button:hover { border-color: var(--c); background: rgba(14,15,18,.95); }
.nz-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.nz-legend .nz-lg-nat i { background: none; border: 2px dashed var(--c); box-shadow: none; width: 9px; height: 9px; }
.nz-legend .nz-lg-nat { display: none; }
.nz-legend.has-nat .nz-lg-nat { display: inline-flex; }
.nz-legend button[aria-pressed="false"] { opacity: .45; }
.nz-legend button[aria-pressed="false"] i { background: none; box-shadow: inset 0 0 0 1.5px var(--c); }
.nz-keys { position: absolute; z-index: 500; left: 14px; bottom: 14px; display: flex; gap: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(14,15,18,.82); backdrop-filter: blur(8px); font-size: 11.5px; color: var(--zm); }
.nz-keys span { display: inline-flex; align-items: center; gap: 6px; }
.nz-keys i { width: 9px; height: 9px; border-radius: 50%; }
.nz-k-op { background: #a46bff; box-shadow: 0 0 6px #a46bff; } .nz-k-con { background: #4b3d66; box-shadow: inset 0 0 0 1.5px #8d7bb3; }
.nz-note { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid #ff4d4f; background: var(--paper); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.55; max-width: 900px; }
/* distance explorer */
.nz-ex { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); }
.nz-ex-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.nz-ex-plant { font-size: 12px; color: var(--muted); }
.nz-ex-read { display: flex; align-items: baseline; gap: 14px; }
.nz-ex-km { font-size: clamp(44px, 7vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.nz-ex-mi { font-size: 15px; color: var(--muted); }
.nz-track { position: relative; padding: 0 0 26px; }
.nz-bands { position: relative; height: 54px; border-radius: 12px; overflow: hidden; background: var(--soft); }
.nz-bands span { position: absolute; top: 0; bottom: 0; background: color-mix(in oklab, var(--c) 22%, var(--paper)); border-right: 1px solid var(--paper); transition: background .2s; }
.nz-bands span.on { background: color-mix(in oklab, var(--c) 55%, var(--paper)); }
.nz-bands span.on em { color: color-mix(in oklab, var(--c) 35%, #000); }
.nz-bands span em { position: absolute; left: 8px; top: 8px; font: 600 11px var(--mono); font-style: normal; letter-spacing: .06em; color: color-mix(in oklab, var(--c) 55%, #000); }
.nz-bands .nz-band-out { background: repeating-linear-gradient(135deg, var(--soft) 0 6px, var(--paper) 6px 12px); border: 0; }
.nz-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; font-size: 11px; color: var(--muted); }
.nz-ticks span { position: absolute; transform: translateX(-50%); }
.nz-ticks span:first-child { transform: none; }
.nz-ticks span::after { content: " km"; }
.nz-ticks span:not(:last-child)::after { content: ""; }
#nz-range { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 54px; margin: 0; padding: 0; border: 0; border-radius: 12px; background: none; -webkit-appearance: none; appearance: none; cursor: ew-resize; min-height: 0; }
#nz-range:focus { outline: none; }
#nz-range::-webkit-slider-runnable-track { height: 54px; background: none; border-radius: 12px; }
#nz-range::-moz-range-track { height: 54px; background: none; border-radius: 12px; }
#nz-range::-webkit-slider-thumb { -webkit-appearance: none; width: 8px; height: 70px; margin-top: -8px; border-radius: 6px; background: var(--ink); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--ink), 0 6px 16px rgba(0,0,0,.25); }
#nz-range::-moz-range-thumb { width: 6px; height: 66px; border-radius: 6px; background: var(--ink); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--ink), 0 6px 16px rgba(0,0,0,.25); }
#nz-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 6px color-mix(in oklab, var(--accent) 30%, transparent); }
#nz-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 6px color-mix(in oklab, var(--accent) 30%, transparent); }
.nz-ex-zone { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; border-left: 4px solid var(--c); background: color-mix(in oklab, var(--c) 9%, var(--paper)); max-width: 820px; }
.nz-ex-zone p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.nz-ex-n { font-size: 17px !important; }
.nz-ex-n b { margin-right: 6px; color: color-mix(in oklab, var(--c) 70%, #000); }
/* zone cards */
.nz-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nz-card { display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.nz-card:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 18px 40px -18px color-mix(in oklab, var(--c) 60%, transparent); }
.nz-card-art { position: relative; width: 64px; height: 64px; }
.nz-card-art i { position: absolute; border-radius: 50%; border: 1.5px solid var(--rule); }
.nz-card-art i:nth-child(1) { inset: 24px; } .nz-card-art i:nth-child(2) { inset: 16px; } .nz-card-art i:nth-child(3) { inset: 8px; } .nz-card-art i:nth-child(4) { inset: 0; }
.nz-card-art i.on { border-color: color-mix(in oklab, var(--c) 45%, var(--rule)); }
.nz-card-art i.on:nth-child(1) { background: var(--c); border-color: var(--c); }
.nz-card:nth-child(1) .nz-card-art i:nth-child(1), .nz-card:nth-child(2) .nz-card-art i:nth-child(2), .nz-card:nth-child(3) .nz-card-art i:nth-child(3), .nz-card:nth-child(4) .nz-card-art i:nth-child(4) { border: 2.5px solid var(--c); background: color-mix(in oklab, var(--c) 14%, transparent); }
.nz-card:nth-child(1) .nz-card-art i:nth-child(1) { background: var(--c); }
.nz-card-ab { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: color-mix(in oklab, var(--c) 70%, #000); }
.nz-card h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.25; }
.nz-card-km { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 10px 0; border-block: 1px solid var(--soft); }
.nz-card-km dt { font-size: 10.5px; color: var(--muted); }
.nz-card-km dd { margin: 2px 0 0; font-size: 18px; font-weight: 500; }
.nz-card-do { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
/* comparison bars */
.nz-cmp { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 980px; }
.nz-cmp li { display: grid; grid-template-columns: 110px minmax(0, 1.2fr) minmax(0, 1fr) 70px; gap: 14px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--soft); font-size: 14px; }
.nz-cmp-who { font-size: 12px; color: var(--muted); }
.nz-cmp-bar { height: 12px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.nz-cmp-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--c); transform-origin: left; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
.nz-cmp-r { text-align: right; font-size: 13px; }
.nz-small { font-size: 13px; margin-top: 12px; max-width: 900px; }
.nz-table td { vertical-align: top; }
.nz-table { max-width: none; }
.nz-src { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 14.5px; }
.nz-src li:target { background: #fff6d6; }
@media (max-width: 1080px) { .nz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .nz { grid-template-columns: 1fr; }
  .nz-side { border-right: 0; border-top: 1px solid var(--zl); }
  .nz-mapwrap { order: -1; min-height: 420px; }
  .nz-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nz-stats div:nth-child(3) { border-left: 0; } .nz-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .nz-cmp li { grid-template-columns: 80px minmax(0, 1fr) 62px; } .nz-cmp-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) { .nz-cards { grid-template-columns: 1fr; } .nz-bands span em { display: none; } .nz-legend button { height: 28px; padding: 0 9px 0 8px; font-size: 11px; } .nz-keys { display: none; } }

/* header dropdowns: Near me, Tools (assets/nav.js) */
.nav-dd-btn { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px 8px 12px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: inherit; white-space: nowrap; cursor: pointer; min-height: 0; transition: color .2s, background .2s; }
.nav-dd-btn:hover, .nav-dd-btn[aria-expanded="true"] { color: var(--ink); background: var(--soft); }
.nav-dd-btn[aria-current] { color: var(--ink); }
.nav-dd-btn[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: calc((var(--hh) - 36px) / -2); height: 2px; background: var(--ink); }
.nav-dd-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dd { position: fixed; z-index: 1200; width: 300px; max-width: calc(100vw - 24px); padding: 6px; display: grid; gap: 1px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 18px 48px rgba(20, 20, 25, .16); animation: fade .16s ease-out both; }
.nav-dd[hidden] { display: none; }
.nav-dd a { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.nav-dd a:hover, .nav-dd a:focus-visible { background: var(--soft); outline: none; }
.nav-dd a[aria-current] { background: var(--soft); }
.nav-dd i { width: 10px; height: 10px; border-radius: 50%; }
.nav-dd b { display: block; font-weight: 500; font-size: 14.5px; }
.nav-dd small { display: block; margin-top: 1px; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.nav-dd-tools { width: 320px; }
.nav-dd .nav-ic { position: relative; width: 10px; height: 10px; border-radius: 50%; box-sizing: border-box; }
.nav-ic-zone { border: 2px solid #c1272d; box-shadow: 0 0 0 3px color-mix(in oklab, #c1272d 18%, transparent); }
.nav-ic-near { background: #1d6cf2; box-shadow: 0 0 0 3px rgba(29,108,242,.2); }
.nav-ic-map { border-radius: 3px !important; background: var(--ink); }
.nav-ic-sun { background: #f5a400; box-shadow: 0 0 0 3px rgba(245,164,0,.25); }
.nav-ic-units { border-radius: 2px !important; background: linear-gradient(90deg, #f5c400 0 33%, #ff8a1f 33% 66%, #ff4d4f 66%); }
.nav-dd-all { display: flex !important; justify-content: space-between; margin-top: 5px; padding-top: 11px !important; border-top: 1px solid var(--soft); border-radius: 0 0 8px 8px !important; font-size: 14px; }
.nav-dd-all b { font-weight: 500; }
.nav-dd-all > span:last-child { color: var(--muted); transition: transform .2s; }
.nav-dd-all:hover > span:last-child { transform: translateX(3px); color: var(--ink); }
/* tools hub (tools.php) */
.tl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.tl-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; padding: 24px; border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.tl-card:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 22px 50px -24px rgba(20,20,25,.35); }
.tl-big { grid-column: 1 / -1; grid-template-columns: 200px minmax(0, 1fr); padding: 30px; background: #0f1013; color: #ecebe5; border-color: #0f1013; }
.tl-big:hover { color: #ecebe5; border-color: #a46bff; box-shadow: 0 26px 60px -24px rgba(110, 60, 200, .55); }
.tl-big .tl-d, .tl-big .tl-go { color: #b5b4ae; }
.tl-big .pill { color: #c9c8c2; border-color: #3a3b42; }
.tl-body { display: grid; gap: 10px; }
.tl-t { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; text-transform: none; color: inherit; }
.tl-big .tl-t { font-size: clamp(24px, 3vw, 34px); }
.tl-d { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 62ch; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-go { font-size: 13px; color: var(--muted); transition: transform .2s; }
.tl-card:hover .tl-go { transform: translateX(4px); color: inherit; }
.tl-art { position: relative; aspect-ratio: 1; border-radius: 14px; background: var(--soft); overflow: hidden; }
.tl-art i, .tl-art b { position: absolute; border-radius: 50%; }
.tl-art-zone { background: #0a0b0d; }
.tl-art-zone i { border: 1.5px solid var(--c); animation: nz-breathe 3s ease-in-out infinite; }
.tl-art-zone i:nth-child(1) { --c: #5b9bff; inset: 8%; } .tl-art-zone i:nth-child(2) { --c: #f5c400; inset: 21%; animation-delay: -.5s; } .tl-art-zone i:nth-child(3) { --c: #ff8a1f; inset: 33%; animation-delay: -1s; background: rgba(255,138,31,.12); }
.tl-art-zone b { left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; background: #ff4d4f; box-shadow: 0 0 14px #ff4d4f; }
.tl-art-near i { width: 10px; height: 10px; background: var(--muted); opacity: .5; }
.tl-art-near i:nth-child(1) { left: 22%; top: 30%; } .tl-art-near i:nth-child(2) { left: 70%; top: 24%; background: #1f8a70; opacity: 1; } .tl-art-near i:nth-child(3) { left: 60%; top: 72%; }
.tl-art-near b { left: 44%; top: 48%; width: 16px; height: 16px; background: #1d6cf2; border: 3px solid #fff; animation: beacon 1.8s ease-out infinite; }
.tl-art-map { background: #111113; }
.tl-art-map i { width: 8px; height: 8px; background: #f5c400; box-shadow: 0 0 8px #f5c400; }
.tl-art-map i:nth-child(1) { left: 24%; top: 36%; } .tl-art-map i:nth-child(2) { left: 62%; top: 30%; width: 12px; height: 12px; background: #5b9bff; box-shadow: 0 0 8px #5b9bff; } .tl-art-map i:nth-child(3) { left: 46%; top: 64%; background: #ff8a1f; box-shadow: 0 0 8px #ff8a1f; }
.tl-art-map b { left: 72%; top: 66%; width: 6px; height: 6px; background: #4df3ff; box-shadow: 0 0 8px #4df3ff; }
.tl-card:not(.tl-big):last-child:nth-child(even) { grid-column: 1 / -1; } /* no orphan card in the two-column grid */
.tl-art-sun { background: linear-gradient(180deg, #fff3d6, #ffe2a8); }
.tl-art-sun b { left: 50%; top: 42%; width: 34%; height: 34%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 35%, #ffd66b, #f5a400 60%, #ff7a1a); box-shadow: 0 0 24px rgba(245,164,0,.6); }
.tl-art-sun i { left: 12%; right: 12%; height: 9%; border-radius: 3px; background: #23324a; transform: skewX(-18deg); }
.tl-art-sun i:nth-child(1) { bottom: 26%; } .tl-art-sun i:nth-child(2) { bottom: 14%; opacity: .85; } .tl-art-sun i:nth-child(3) { bottom: 2%; opacity: .7; }
.tl-art-units { background: #f3efe2; }
.tl-art-units i { bottom: 22%; width: 16%; border-radius: 4px; transform-origin: bottom; animation: uc-grow-y 2.4s cubic-bezier(.2,.7,.2,1) infinite alternate; }
.tl-art-units i:nth-child(1) { left: 18%; height: 18%; background: #f5c400; } .tl-art-units i:nth-child(2) { left: 42%; height: 36%; background: #ff8a1f; animation-delay: .2s; } .tl-art-units i:nth-child(3) { left: 66%; height: 56%; background: #ff4d4f; animation-delay: .4s; }
.tl-art-units b { left: 14%; right: 14%; bottom: 18%; height: 2px; border-radius: 0; background: var(--ink); }
@keyframes uc-grow-y { from { transform: scaleY(.55); } }
.tl-more { margin-top: 22px; font-size: 14px; }
@media (max-width: 760px) { .tl-grid { grid-template-columns: 1fr; } .tl-card, .tl-big { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 20px; } }
@media (max-width: 860px) { .nav-dd-btn[aria-current]::after { bottom: -2px; } }

/* power unit converter (power-unit-converter.php): a light meter console with tabs, live results, a log-scale size bar, conversion tables */
.uc-head h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.uc { margin-top: 26px; padding: clamp(16px, 2.4vw, 28px); border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); box-shadow: 0 30px 80px -40px rgba(10, 10, 20, .35); }
.uc-tabs { display: flex; width: 100%; max-width: 760px; overflow-x: auto; scrollbar-width: none; }
.uc-tabs button { flex: 1 0 auto; display: grid; gap: 1px; justify-items: start; padding: 8px 16px; text-align: left; color: var(--muted); }
.uc-tabs button span { font-size: 11px; opacity: .75; }
.uc-tabs button[aria-pressed="true"]:hover { background: var(--ink); color: var(--paper); }
.uc-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 36px; margin-top: 24px; animation: fade .35s cubic-bezier(.2,.7,.2,1) both; }
.uc-panel[hidden] { display: none; }
.uc-in { display: grid; gap: 10px; align-content: start; }
.uc-in-3 { grid-template-columns: minmax(0, 1fr); }
.uc-in-3 > div { display: grid; gap: 8px; }
.uc-lab { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.uc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, auto); gap: 8px; }
.uc-num { min-width: 0; height: 64px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); font: 500 clamp(24px, 3vw, 32px)/1 var(--mono); letter-spacing: -0.02em; transition: border-color .15s, box-shadow .15s; }
.uc-in-3 .uc-num { height: 52px; font-size: 22px; }
.uc-num:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.uc-row .sel-btn { height: 100%; min-height: 52px; border-radius: 12px; }
.uc-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.uc-quick > span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.uc-quick button { min-height: 34px; padding: 4px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13.5px; }
.uc-quick button:hover { background: var(--soft); border-color: var(--ink); }
.uc-out { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); align-content: start; }
.uc-out li { display: grid; grid-template-columns: minmax(0, 1fr) 150px 64px; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--rule); animation: fade .3s both; }
.uc-out li.on { background: var(--soft); border-radius: 8px; padding-left: 12px; padding-right: 8px; }
.uc-out output { overflow-wrap: anywhere; font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.uc-out li span { font-size: 13.5px; color: var(--muted); }
.uc-out li b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.uc-out .uc-err { display: block; color: var(--muted); padding: 16px 4px; }
.uc-copy { min-height: 32px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 8px; background: transparent; color: var(--muted); font-size: 12.5px; }
.uc-copy:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.uc-copy.ok { color: #1a7f45; border-color: #1a7f45; }
.uc-formula { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--soft); font-size: 15px; overflow-wrap: anywhere; }
.uc-panel#uc-p-time { grid-template-columns: minmax(0, 1fr); }
#uc-p-time .uc-in-3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.uc-scale { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 8px; }
.uc-scale-bar { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #d9e4f5, #9fbbe8 25%, #f5c400 50%, #ff8a1f 75%, #ff4d4f); }
.uc-scale-bar i { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: left .35s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.uc-scale-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.uc-like { margin: 4px 0 0; font-size: 15px; min-height: 1.5em; }
.uc-units { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); overflow: hidden; }
.uc-unit { display: grid; gap: 4px; align-content: start; padding: 18px; border-left: 1px solid var(--rule); animation: fade .4s both; animation-delay: calc(var(--i) * .05s); }
.uc-unit:first-child { border-left: 0; }
.uc-unit b { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.uc-unit small { font-size: 13px; line-height: 1.4; }
.uc-bands { display: grid; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; max-width: 860px; }
.uc-bands li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 80px; align-items: center; gap: 14px; font-size: 13.5px; }
.uc-bar { height: 12px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.uc-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--ink); transform-origin: left; animation: uc-grow .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * .06s); }
@keyframes uc-grow { from { transform: scaleX(0); } }
.uc-ladder { max-width: 860px; }
.uc-ladder table { max-width: none; width: 100%; }
.uc-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; }
.uc-tables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.uc-tab { width: 100%; max-width: none; }
.uc-tab caption { padding: 12px 14px 4px; text-align: left; font-weight: 600; }
.uc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.uc-steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); animation: fade .4s both; animation-delay: calc(var(--i) * .06s); }
.uc-steps h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.uc-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: #3d3c38; }
.uc-step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 14px; }
.uc-tip { max-width: 860px; margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; }
.uc-tip b { color: var(--ink); font-weight: 600; }
.uc-forms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); overflow: hidden; }
.uc-form { display: grid; gap: 6px; align-content: start; padding: 18px; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.uc-form:nth-child(4n+1) { border-left: 0; } .uc-form:nth-child(-n+4) { border-top: 0; }
.uc-form h3 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.uc-form p { margin: 0; font-size: 14px; }
.uc-form-f { font-size: 16px !important; font-weight: 500; color: var(--ink); }
.uc-cap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; max-width: 1080px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); overflow: hidden; }
.uc-cap div { padding: 18px; border-left: 1px solid var(--rule); }
.uc-cap div:first-child { border-left: 0; }
.uc-cap dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.uc-cap dd { margin: 6px 0 4px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.uc-cap div:first-child dd { font-size: 18px; line-height: 1.3; }
.uc-cap p { margin: 0; font-size: 13px; }
@media (max-width: 1100px) { .uc-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); } .uc-units { grid-template-columns: repeat(3, minmax(0, 1fr)); } .uc-unit:nth-child(4) { border-left: 0; } .uc-unit:nth-child(n+4) { border-top: 1px solid var(--rule); } }
@media (max-width: 860px) { .uc-panel { grid-template-columns: minmax(0, 1fr); } .uc-steps { grid-template-columns: minmax(0, 1fr); }
  .uc-forms, .uc-cap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .uc-form:nth-child(n) { border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); } .uc-form:nth-child(odd) { border-left: 0; } .uc-form:nth-child(-n+2) { border-top: 0; }
  .uc-cap div:nth-child(odd) { border-left: 0; } .uc-cap div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 480px) { .uc-forms, .uc-cap { grid-template-columns: minmax(0, 1fr); } .uc-form:nth-child(n), .uc-cap div:nth-child(n) { border-left: 0; border-top: 1px solid var(--rule); } .uc-form:first-child, .uc-cap div:first-child { border-top: 0; } }
@media (max-width: 600px) {
  .uc-tabs button { flex: 1 1 0; justify-items: center; padding: 8px 6px; text-align: center; }
  .uc-tabs button span { display: none; }
  .uc-row { grid-template-columns: minmax(0, 1fr); }
  .uc-out li { grid-template-columns: minmax(0, 1fr) 64px; }
  .uc-out li span { grid-row: 2; }
  .uc-out li .uc-copy { grid-row: 1 / 3; grid-column: 2; }
  #uc-p-time .uc-in-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #uc-p-time .uc-in-3 > div:first-child { grid-column: 1 / -1; }
  .uc-units { grid-template-columns: repeat(2, minmax(0, 1fr)); } .uc-unit:nth-child(n) { border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); } .uc-unit:nth-child(odd) { border-left: 0; } .uc-unit:nth-child(-n+2) { border-top: 0; }
  .uc-tables { grid-template-columns: minmax(0, 1fr); }
  .uc-bands li { grid-template-columns: 96px minmax(0, 1fr) 64px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .uc-panel, .uc-out li, .uc-unit, .uc-bar i, .uc-steps li { animation: none; } .uc-scale-bar i { transition: none; } }

/* solar panel calculator (solar-panel-calculator.php): controls on the left (map, mode, mounting), results on the right (big figure, stats, monthly bars) */
.sp-head h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.sp { --sun: #f5a400; --sun2: #ff7a1a; --warm: #fff6e4; display: grid; grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); margin-top: 26px; border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(60, 40, 10, .35); }
.sp-side { display: grid; gap: 0; align-content: start; border-right: 1px solid var(--rule); background: linear-gradient(180deg, var(--warm), var(--paper) 340px); }
.sp-group { display: grid; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--rule); }
.sp-lab { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sp-map { height: 210px; border-radius: 12px; border: 1px solid var(--rule); background: #e8e4d8; z-index: 0; }
.sp-pin i { position: absolute; inset: 3px; border-radius: 50%; background: var(--sun); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(245,164,0,.28), 0 4px 12px rgba(0,0,0,.3); }
.sp-loc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.sp-loc .sel-btn { min-height: 44px; }
.sp-me { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.sp-me-ic { width: 10px; height: 10px; border-radius: 50%; background: #1d6cf2; box-shadow: 0 0 0 3px rgba(29,108,242,.3); }
.sp-me.busy .sp-me-ic { animation: beacon 1s ease-out infinite; }
.sp-me:disabled { opacity: .7; cursor: progress; }
.sp-where { margin: 0; font-size: 12.5px; color: var(--muted); }
.sp-mode { display: flex; width: 100%; }
.sp-mode button { flex: 1; font-size: 13.5px; padding: 6px 8px; }
.sp-mode button[aria-pressed="true"]:hover { background: var(--ink); color: var(--paper); }
.sp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sp-fields[hidden] { display: none; }
.sp-fields label { display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.sp-fields label:only-child, .sp-fields label:nth-child(3):last-child { grid-column: 1 / -1; }
#sp-f-need label:first-child { grid-column: 1 / -1; }
.sp-num { width: 100%; min-width: 0; min-height: 44px; border-radius: 10px; font: 500 16px var(--mono); }
.sp-fields .sel-btn { min-height: 44px; }
.sp-size { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; padding: 12px 14px; border: 1px solid #f0d9a6; border-radius: 12px; background: var(--warm); }
.sp-size-l { grid-column: 1 / -1; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sp-size b { font: 500 30px/1.1 var(--mono); letter-spacing: -0.03em; }
.sp-size b small { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.sp-size-x { font-size: 13px; color: var(--muted); }
.sp-size:empty { display: none; }
.sp-check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14.5px; cursor: pointer; }
.sp-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; min-height: 0; cursor: pointer; }
.sp-box { flex: none; position: relative; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); transition: background .15s; }
.sp-box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.sp-check input:checked + .sp-box { background: var(--ink); }
.sp-check input:checked + .sp-box::after { transform: rotate(45deg) scale(1); }
.sp-check input:focus-visible + .sp-box { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent); }
.sp-manual { display: grid; gap: 10px; transition: opacity .2s; }
.sp-manual.off { opacity: .4; }
.sp-tilt { display: grid; gap: 6px; }
.sp-tilt label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.sp-tilt output { color: var(--ink); font-weight: 500; }
#sp-tilt { --p: 39%; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; min-height: 0; background: none; -webkit-appearance: none; appearance: none; cursor: ew-resize; }
#sp-tilt:focus { outline: none; }
#sp-tilt::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--sun) var(--p), var(--rule) var(--p)); }
#sp-tilt::-moz-range-track { height: 6px; border-radius: 99px; background: var(--rule); }
#sp-tilt::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--sun); }
#sp-tilt::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
#sp-tilt::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
#sp-tilt:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 25%, transparent); }
.sp-tilt-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.sp-priv { margin: 0; padding: 14px 20px 18px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.sp-main { position: relative; display: grid; align-content: start; padding: clamp(18px, 2.6vw, 32px); min-height: 520px; }
.sp-empty { display: grid; justify-items: center; align-content: center; gap: 18px; min-height: 440px; text-align: center; color: var(--muted); }
.sp-empty b { color: var(--ink); font-weight: 600; }
.sp-empty[hidden] { display: none; }
.sp-sun { position: relative; width: 120px; height: 120px; }
.sp-sun::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(var(--sun) 0 6deg, transparent 6deg 30deg); -webkit-mask: radial-gradient(circle, transparent 42%, #000 43%, #000 70%, transparent 71%); mask: radial-gradient(circle, transparent 42%, #000 43%, #000 70%, transparent 71%); animation: sp-spin 24s linear infinite; }
.sp-sun i { position: absolute; inset: 32%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd66b, var(--sun) 60%, var(--sun2)); box-shadow: 0 0 40px rgba(245,164,0,.55); }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-res { display: grid; gap: 14px; animation: fade .35s both; transition: opacity .2s; }
.sp-res[hidden] { display: none; }
.sp.loading .sp-res { opacity: .45; }
.sp.loading .sp-main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--sun), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: sp-load 1s linear infinite; }
@keyframes sp-load { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.sp-k { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sp-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.sp-big output { font-variant-numeric: tabular-nums; font-size: clamp(44px, 6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.sp-big span { font-size: 18px; color: var(--muted); }
.sp-sub { margin: 0; font-size: 15.5px; max-width: 62ch; }
.sp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 6px 0 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.sp-stats div { display: grid; gap: 2px; padding: 12px 14px; border-left: 1px solid var(--rule); }
.sp-stats div:first-child { border-left: 0; }
.sp-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sp-stats dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; }
.sp-stats span { font-size: 12px; }
.sp-chart-t { margin: 6px 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sp-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; height: 190px; align-items: end; }
.sp-bar { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 4px; outline: none; }
.sp-bar b { font-size: 10.5px; font-weight: 500; text-align: center; color: var(--muted); align-self: end; font-variant-numeric: tabular-nums; }
.sp-bar i { align-self: end; height: var(--h); min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #ffc94d, var(--sun)); transform-origin: bottom; animation: uc-grow-y .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * .03s); }
.sp-bar.hi i { background: linear-gradient(180deg, #ffb13b, var(--sun2)); }
.sp-bar.lo i { background: #f1dcaa; }
.sp-bars { position: relative; padding-bottom: 0; }
.sp-bars::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px; background: var(--ink); opacity: .25; pointer-events: none; }
.sp-chart-k { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 13.5px; }
.sp-chart-k b { font-weight: 600; }
.sp-chart-k i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.sp-chart-k i.hi { background: var(--sun2); } .sp-chart-k i.lo { background: #f1dcaa; }
.sp-bar span { font-size: 11px; text-align: center; color: var(--muted); }
.sp-bar:hover i, .sp-bar:focus-visible i { filter: brightness(.9); }
.sp-bar:focus-visible b { color: var(--ink); }
.sp-near ul { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.sp-near li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.sp-near li span { flex: none; font-size: 12.5px; }
.sp-src { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.sp-msg { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff1e0; color: #8a4b00; font-size: 14.5px; }
.sp-msg[hidden] { display: none; }
.sp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1200px; }
.sp-cols p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #3d3c38; }
.sp-city-t { width: 100%; max-width: none; }
.sp-city-b { min-height: 0; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; cursor: pointer; }
.sp-city-b:hover { background: none; color: var(--accent); text-decoration-color: currentColor; }
.sp-bar-h, .sp-bar-c { width: 28%; }
.sp-bar-c .uc-bar i, .sp-dirs .uc-bar i { background: #f5a400; } /* outside .sp, where --sun is not defined */
.sp-dirs li { grid-template-columns: 110px minmax(0, 1fr) 150px; }
@media (max-width: 1100px) { .sp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-stats div:nth-child(3) { border-left: 0; } .sp-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); } .sp-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 760px; } }
@media (max-width: 860px) { .sp { grid-template-columns: minmax(0, 1fr); } .sp-side { border-right: 0; border-bottom: 1px solid var(--rule); } .sp-main { min-height: 0; } .sp-empty { min-height: 220px; } .sp-bar-h, .sp-bar-c { display: none; } }
@media (max-width: 480px) { .sp-bars { gap: 3px; height: 160px; } .sp-bar b { font-size: 9px; writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; } .sp-bar span em { display: none; } .sp-dirs li { grid-template-columns: 84px minmax(0, 1fr) 96px; font-size: 12.5px; } .sp-city-t td:nth-child(5), .sp-city-t th:nth-child(5) { display: none; } }
@media (prefers-reduced-motion: reduce) { .sp-sun::before, .sp-bar i, .sp-res { animation: none; } }
@media (max-width: 640px) {
  .pv-pl-facts { grid-template-columns: minmax(0, 1fr); }
  .pv-pl-facts div + div { border-left: 0; border-top: 1px solid var(--soft); }
  .pv-pl-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .pv-pl-facts dd { margin: 0; justify-content: flex-end; }
  .pv-pl-facts dd b { font-size: 17px; }
  .pv-pl-dot b { font-size: 11px; padding: 1px 5px; }
  .pv-pl-k, .pv-pl-dot.now b { display: none; }
  .pv-cmp-row { grid-template-columns: minmax(0, 1fr) 64px; gap: 6px 12px; }
  .pv-cmp-bar { grid-column: 1 / -1; grid-row: 2; }
}


/* ---- Home solar system output calculator (solar-system.php): size-first, dark control bar, output tiles ---- */
.ss-head h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; max-width: 22ch; }
.ss-lede { max-width: 780px; margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: #3d3c38; }
.ss-lede b { color: var(--ink); font-weight: 600; }
.ss-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.ss-sizes a { padding: 7px 13px; border: 1px solid var(--rule); border-radius: 999px; font: 500 13.5px var(--mono); color: var(--ink); text-decoration: none; background: var(--paper); transition: background .15s, border-color .15s; }
.ss-sizes a:hover { border-color: var(--ink); }
.ss-sizes a[aria-current="page"] { background: #0f2a2e; border-color: #0f2a2e; color: #ffd36a; }
.ss { --deep: #0f2a2e; --deep2: #163a3f; --gold: #ffc23d; --gold2: #ff9d1c; margin-top: 26px; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 30px 80px -45px rgba(15, 42, 46, .55); }
.ss-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 14px; align-items: end; padding: 18px 20px; background: linear-gradient(120deg, var(--deep), var(--deep2)); color: #e9f1ef; }
.ss-ctl { display: grid; gap: 6px; min-width: 0; }
.ss-lab { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: #9fc0bb; }
.ss-kw { display: flex; align-items: center; height: 46px; border-radius: 10px; background: #fff; overflow: hidden; }
.ss-num { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 0 0 12px; font: 600 20px var(--mono); color: var(--deep); background: transparent; }
.ss-num:focus { outline: none; }
.ss-kw:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.ss-kw span { padding: 0 12px; font: 500 14px var(--mono); color: #5e7d79; }
.ss-bar .sel-btn { min-height: 46px; width: 100%; }
.ss-map-t { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font-size: 14px; white-space: nowrap; cursor: pointer; }
.ss-map-t:hover, .ss-map-t[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.ss-pin-ic { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(255,194,61,.35); }
.ss-map-w { border-bottom: 1px solid var(--rule); }
.ss-map-w[hidden] { display: none; }
.ss-map { height: 300px; z-index: 0; }
.ss-pin i { position: absolute; inset: 3px; border-radius: 50%; background: var(--gold2, #ff9d1c); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(255,157,28,.3), 0 4px 12px rgba(0,0,0,.3); }
.ss-note { margin: 0; padding: 8px 20px 10px; font-size: 11.5px; color: var(--muted); }
.ss-out { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px 28px; padding: clamp(18px, 2.6vw, 30px); transition: opacity .2s; }
.ss.loading .ss-out { opacity: .5; }
.ss.loading .ss-out::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold2), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: sp-load 1s linear infinite; }
.ss-k { grid-column: 1 / -1; margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ss-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.ss-tile { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--rule); background: #fff; }
.ss-tile span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ss-tile b { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ss-tile small { font-size: 12.5px; color: var(--muted); }
.ss-tile-day { background: linear-gradient(140deg, #fff3cf, #ffe2a3); border-color: #f2d28a; }
.ss-tile-day b { font-size: clamp(36px, 5vw, 64px); color: #3a2a00; }
.ss-home { grid-column: 1 / -1; display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: #eef5f3; border: 1px solid #cfe2dd; }
.ss-home[hidden] { display: none; }
.ss-home-t { display: flex; align-items: baseline; gap: 10px; }
.ss-home-t b { font-size: 26px; font-weight: 600; color: #0f2a2e; }
.ss-home p { margin: 0; font-size: 13.5px; }
.ss-meter { display: block; height: 10px; border-radius: 6px; background: #d6e6e2; overflow: hidden; }
.ss-meter i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #1f7a6d, #2fb39f); transform-origin: left; animation: uc-grow .8s cubic-bezier(.2,.7,.2,1) both; }
.ss-sub { margin: 0 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ss-mbars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; height: 180px; align-items: end; }
.ss-mb { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 4px; }
.ss-mb b { align-self: end; font-size: 10px; font-weight: 500; text-align: center; color: var(--muted); }
.ss-mb i { align-self: end; height: var(--h); min-height: 3px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #2fb39f, #1f7a6d); transform-origin: bottom; animation: uc-grow-y .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * .03s); }
.ss-mb.hi i { background: linear-gradient(180deg, var(--gold), var(--gold2)); }
.ss-mb.lo i { background: #b9d3cd; }
.ss-mb span { font-size: 10.5px; text-align: center; color: var(--muted); }
.ss-cmp ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.ss-cmp li { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; }
.ss-cmp li:nth-child(odd) { background: var(--soft); }
.ss-cmp li.on { background: #0f2a2e; color: #fff; }
.ss-cmp li.on a, .ss-cmp li.on .muted { color: #ffd36a; }
.ss-cmp a { font-weight: 600; }
.ss-src { grid-column: 1 / -1; margin: 0; font-size: 11.5px; color: var(--muted); }
.ss-msg { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-radius: 10px; background: #fff1e8; color: #8a3300; font-size: 14px; }
.ss-msg[hidden] { display: none; }
.ss-t .ss-bar-c { width: 22%; } .ss-t .ss-bar-h { width: 22%; }
.ss-city-b { padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--accent); cursor: pointer; text-align: left; }
.ss-city-b:hover { text-decoration: underline; }
.ss-ctry { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ss-ctry-c { padding: 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
.ss-ctry-c h3 { margin: 0 0 6px; font-size: 15px; }
.ss-ctry-v { margin: 0 0 8px; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: #0f2a2e; }
.ss-ctry-v small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.ss-ctry-c p.muted { margin: 0; font-size: 13.5px; line-height: 1.5; }
.ss-pan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; max-width: 900px; }
.ss-pan li { display: grid; gap: 2px; padding: 16px; border-radius: 14px; background: #0f2a2e; color: #e9f1ef; animation: fade .4s both; animation-delay: calc(var(--i) * .06s); }
.ss-pan b { font-size: 34px; font-weight: 600; color: #ffd36a; }
.ss-pan small.muted { color: #9fc0bb; }
.ss-sz tr.on td { background: #fff3cf; font-weight: 600; }
.ss-mt td.ss-heat { background: rgba(255, 176, 41, calc(var(--a) * .55)); }
.ss-about { margin: 8px auto 0; padding: 28px clamp(16px, 4vw, 40px); border-top: 1px solid var(--rule); max-width: 1240px; }
.ss-about h2 { margin: 0 0 6px; font-size: 18px; }
.ss-about p { margin: 0 0 12px; max-width: 820px; color: var(--muted); font-size: 14.5px; }
.ss-about-l { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
@media (max-width: 1000px) { .ss-bar { grid-template-columns: 130px minmax(0, 1fr); } .ss-out { grid-template-columns: minmax(0, 1fr); } .ss-ctry { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ss-bar { grid-template-columns: minmax(0, 1fr); } .ss-tiles { grid-template-columns: 1fr 1fr; } .ss-tile-day { grid-column: 1 / -1; } .ss-pan { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ss-ctry { grid-template-columns: minmax(0, 1fr); } .ss-mb b { display: none; } }
.ss-t td:first-child { white-space: nowrap; }
.ss-t .ss-bar-c, .ss-t .ss-bar-h { width: 16%; min-width: 80px; }
@media (max-width: 640px) { .ss-t .ss-bar-c, .ss-t .ss-bar-h { display: none; } }
.ss-t, .ss-sz, .ss-mt, #enough table.gen { width: 100%; max-width: none; }
.ss-t td, .ss-t th { vertical-align: middle; }
.ss-t td { padding-top: 9px; padding-bottom: 9px; }
.ss-about h2 { font: 600 18px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); }

/* ---- Solar atlas (solar-atlas.php): full map with heat grid, details panel on the right ---- */
.sa-head h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; max-width: 24ch; }
.sa-lede { max-width: 800px; margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: #3d3c38; }
.sa { display: grid; grid-template-columns: minmax(0, 1fr) 360px; margin-top: 26px; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 80px -45px rgba(120, 30, 20, .45); }
.sa-map-w { position: relative; border-right: 1px solid var(--rule); }
.sa-map { height: min(68vh, 620px); min-height: 420px; z-index: 0; background: #dfe6ea; }
.sa-tools { position: absolute; top: 12px; right: 12px; z-index: 500; display: grid; gap: 8px; justify-items: end; }
.sa-layer { background: var(--paper); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.sa-layer button { font-size: 13px; padding: 6px 12px; }
.sa-farms { padding: 4px 12px; border-radius: 10px; background: var(--paper); box-shadow: 0 6px 20px rgba(0,0,0,.15); font-size: 13.5px; min-height: 36px; }
.sa-legend { position: absolute; left: 12px; bottom: 26px; z-index: 500; display: grid; grid-template-columns: auto 160px auto; align-items: center; gap: 4px 8px; padding: 8px 12px; border-radius: 10px; background: color-mix(in oklab, var(--paper) 92%, transparent); box-shadow: 0 6px 20px rgba(0,0,0,.12); font-size: 11.5px; }
.sa-legend i { height: 10px; border-radius: 5px; }
.sa-legend small { grid-column: 1 / -1; color: var(--muted); }
.sa-panel { position: relative; display: grid; align-content: start; gap: 12px; padding: 20px; max-height: min(68vh, 620px); min-height: 420px; overflow-y: auto; }
.sa.loading .sa-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #ec682c, transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: sp-load 1s linear infinite; }
.sa-empty { display: grid; justify-items: center; align-content: center; gap: 16px; min-height: 360px; text-align: center; color: var(--muted); }
.sa-empty b { color: var(--ink); }
.sa-empty[hidden], .sa-res[hidden] { display: none; }
.sa-globe { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6 0 18%, transparent 19%), conic-gradient(from 200deg, #c6deec, #faeca0, #fcbe50, #ec682c, #961820, #ec682c, #fcbe50, #faeca0, #c6deec); box-shadow: inset -10px -12px 24px rgba(0,0,0,.18), 0 12px 30px -10px rgba(150,24,32,.5); animation: sp-spin 40s linear infinite; }
.sa-res { display: grid; gap: 12px; animation: fade .3s both; }
.sa-k { margin: 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sa-big { display: grid; gap: 2px; margin: 0; }
.sa-big output { font-size: 54px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: #8a1d16; }
.sa-big span { font-size: 13.5px; color: var(--muted); }
.sa-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.sa-stats div { display: grid; gap: 1px; padding: 10px 12px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sa-stats div:nth-child(-n+2) { border-top: 0; } .sa-stats div:nth-child(odd) { border-left: 0; }
.sa-stats dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sa-stats dd { margin: 0; font-size: 16px; font-weight: 500; }
.sa-stats span { font-size: 11.5px; }
.sa-mbars { height: 130px; }
.sa-mbars .ss-mb i { background: linear-gradient(180deg, #fcbe50, #ec682c); }
.sa-mbars .ss-mb.hi i { background: linear-gradient(180deg, #ec682c, #961820); }
.sa-mbars .ss-mb.lo i { background: #f3d9b8; }
.sa-near ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; }
.sa-near li { display: flex; justify-content: space-between; gap: 10px; }
.sa-near li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-near li span { flex: none; }
.sa-sys { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff3cf; font-size: 13.5px; line-height: 1.5; }
.sa-src { margin: 0; font-size: 11px; color: var(--muted); }
.sa-bands li { grid-template-columns: 90px minmax(0, 1fr) 150px; }
.sa-bands .uc-bar i { background: linear-gradient(90deg, #fcbe50, #ec682c); }
.sa-t { width: 100%; max-width: none; }
.sa-t td.sa-heat { background: rgba(236, 104, 44, calc(var(--a) * .45)); font-weight: 500; }
.sa-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sa-tabs button { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font-size: 14px; cursor: pointer; }
.sa-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sa-tabs button[aria-selected="true"] .muted { color: #bbb; }
.sa-reg[hidden] { display: none; }
.sa-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 960px) { .sa { grid-template-columns: minmax(0, 1fr); } .sa-map-w { border-right: 0; border-bottom: 1px solid var(--rule); } .sa-panel { max-height: none; min-height: 0; } .sa-empty { min-height: 160px; } .sa-map { height: 58vh; min-height: 340px; } }
@media (max-width: 520px) { .sa-legend { grid-template-columns: auto 90px auto; } .sa-bands li { grid-template-columns: 64px minmax(0, 1fr) 118px; } }
.nav-ic-home { border-radius: 3px !important; background: linear-gradient(180deg, #ffc23d 0 45%, #0f2a2e 45%); }
.nav-ic-globe { background: conic-gradient(#c6deec, #fcbe50, #ec682c, #961820, #c6deec); }
.tl-art-home { background: linear-gradient(180deg, #e7f1ef, #cfe2dd); }
.tl-art-home b { left: 62%; top: 26%; width: 22%; height: 22%; background: radial-gradient(circle at 35% 35%, #ffd66b, #ffc23d 60%, #ff9d1c); box-shadow: 0 0 22px rgba(255,194,61,.7); }
.tl-art-home i { bottom: 16%; width: 15%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #2fb39f, #0f2a2e); transform-origin: bottom; animation: uc-grow-y 2.4s cubic-bezier(.2,.7,.2,1) infinite alternate; }
.tl-art-home i:nth-child(1) { left: 14%; height: 22%; } .tl-art-home i:nth-child(2) { left: 32%; height: 38%; animation-delay: .2s; } .tl-art-home i:nth-child(3) { left: 50%; height: 30%; animation-delay: .4s; }
.tl-art-globe { background: #e9eef0; }
.tl-art-globe b { left: 50%; top: 50%; width: 58%; aspect-ratio: 1; height: auto; border-radius: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 200deg, #c6deec, #faeca0, #fcbe50, #ec682c, #961820, #ec682c, #fcbe50, #faeca0, #c6deec); box-shadow: inset -8px -10px 20px rgba(0,0,0,.2); animation: sp-spin 30s linear infinite; }
.tl-art-globe i { display: none; }
/* Atlas v2: place bar, full-width map, results in three columns under the map. Headings: one or two lines. */
.sa-head h1, .ss-head h1 { max-width: none; text-wrap: balance; }
.sa { grid-template-columns: minmax(0, 1fr); }
.sa-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); background: linear-gradient(120deg, #fff6e4, var(--paper)); }
.sa-bar .ss-lab { color: var(--muted); }
.sa-bar .sel-btn { min-height: 44px; min-width: 220px; }
.sa-hint { margin: 0; font-size: 13.5px; color: var(--muted); }
.sa-map-w { border-right: 0; border-bottom: 1px solid var(--rule); }
.sa-map { height: min(62vh, 560px); }
.sa-panel { max-height: none; min-height: 0; overflow: visible; padding: clamp(18px, 2.4vw, 28px); }
.sa-res { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .9fr); gap: 24px 32px; align-items: start; }
.sa-col { display: grid; gap: 12px; min-width: 0; }
.sa-big output { font-size: clamp(44px, 5vw, 64px); }
.sa-stats dd { white-space: nowrap; }
.sa-mbars { height: 160px; }
.sa-near ul { gap: 8px; }
@media (max-width: 1000px) { .sa-res { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sa-col-main { grid-column: 1 / -1; } .sa-col-main .sa-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sa-col-main .sa-stats div { border-top: 0; border-left: 1px solid var(--rule); } .sa-col-main .sa-stats div:first-child { border-left: 0; } }
@media (max-width: 640px) { .sa-res { grid-template-columns: minmax(0, 1fr); } .sa-col-main .sa-stats { grid-template-columns: 1fr 1fr; } .sa-col-main .sa-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); } .sa-col-main .sa-stats div:nth-child(3) { border-left: 0; } .sa-bar .sel-btn { min-width: 0; flex: 1; } .sa-hint { width: 100%; } }
/* One-line keyword titles with a question subtitle; wide section titles; tab text; comparison table */
.sa-head h1, .ss-head h1 { font-size: clamp(32px, 4.6vw, 56px); }
.sa-sub { margin: 6px 0 0; font: 500 clamp(19px, 2.2vw, 26px)/1.3 var(--sans); letter-spacing: -0.01em; color: #3d3c38; }
.sa-head .sa-lede, .ss-head .ss-lede { margin-top: 16px; }
.block-head.wide { max-width: none; }
.block-head.wide > p.muted { max-width: 820px; }
.sa-tabs button { color: var(--ink); }
.sa-tabs button[aria-selected="true"] { color: var(--paper); }
.sa-cmp th[scope="row"] { width: 16%; text-align: left; font-weight: 600; color: var(--ink); background: var(--soft); white-space: nowrap; }
.sa-cmp td { width: 28%; vertical-align: top; line-height: 1.5; }
.sa-cmp thead th:not(:first-child) { text-align: left; }
@media (max-width: 640px) { .sa-cmp th[scope="row"] { white-space: normal; } .sa-cmp { min-width: 640px; } }

/* ---- Gridhours Solar Report (solar-report.php): premium, three step cards on the left, live estimate on the right ---- */
.sr-head h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.035em; }
.sr-lede { max-width: 820px; margin: 18px 0 0; font: 400 18px/1.65 var(--serif); color: #2f2e2a; }
.sr-steps-h { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; max-width: 980px; }
.sr-steps-h li { display: flex; gap: 12px; padding: 14px 16px; border-top: 2px solid var(--ink); }
.sr-steps-h b { font-size: 13px; color: #b08a2e; }
.sr-steps-h span { display: grid; gap: 3px; font-size: 13.5px; color: var(--muted); }
.sr-steps-h strong { font-size: 15px; color: var(--ink); font-weight: 600; }
.sr { --gold: #c9a24a; display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: 0 40px 90px -50px rgba(20, 20, 30, .5); }
.sr-ctl { display: grid; align-content: start; border-right: 1px solid var(--rule); background: #f3f1ea; }
.sr-card { display: grid; gap: 12px; margin: 0; padding: 20px; border: 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.sr-card legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font: 600 16px var(--sans); display: flex; align-items: baseline; gap: 10px; }
.sr-card legend b { font-size: 12px; color: #b08a2e; }
.sr-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.sr-search input { min-height: 44px; border-radius: 10px; padding: 0 12px; font-size: 15px; min-width: 0; }
.sr-search .btn { min-height: 44px; }
.sr-row2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.sr-row2 .sel-btn { min-height: 44px; }
.sr-map { height: 200px; border-radius: 12px; border: 1px solid var(--rule); z-index: 0; }
.sr-where { margin: 0; font-size: 12px; color: var(--muted); }
.sr-mode { display: flex; width: 100%; } .sr-mode button { flex: 1; font-size: 13.5px; padding: 6px 8px; }
.sr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sr-fields[hidden] { display: none; }
.sr-fields > label { display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.sr-fields > label.sp-check { display: flex; color: var(--ink); font-size: 14px; }
.sr-fields .sr-wide { grid-column: 1 / -1; }
.sr-fields input[type=text], .sr-fields textarea { width: 100%; min-width: 0; border-radius: 10px; padding: 9px 12px; font-size: 15px; }
.sr-fields textarea { resize: vertical; font: inherit; }
.sr-fields input[type=color] { width: 100%; height: 44px; padding: 3px; border-radius: 10px; border: 1px solid var(--rule); background: #fff; cursor: pointer; }
.sr-fields input[type=file] { font-size: 12.5px; max-width: 100%; }
.sr-fields .sel-btn { min-height: 44px; width: 100%; }
.sr-dir[hidden], .sr-tiltw[hidden], .sr-months-in[hidden] { display: none; }
.sr-months-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sr-months-in label { display: grid; gap: 3px; font-size: 11px; color: var(--muted); }
.sr-months-in input { min-height: 38px; font-size: 14px; padding: 0 8px; }
.sr-more { border-top: 1px dashed var(--rule); padding-top: 10px; }
.sr-more summary { cursor: pointer; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.sr-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.sr-pdf { width: 100%; min-height: 50px; font-size: 15px; justify-content: center; }
.sr-pdf:disabled { opacity: .45; cursor: not-allowed; }
.sr-out { position: relative; display: grid; align-content: start; padding: clamp(20px, 2.8vw, 34px); min-width: 0; }
.sr.loading .sr-out::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: sp-load 1s linear infinite; }
.sr.loading .sr-res { opacity: .5; }
.sr-empty { display: grid; justify-items: center; align-content: center; gap: 16px; min-height: 420px; text-align: center; color: var(--muted); }
.sr-empty[hidden], .sr-res[hidden] { display: none; }
.sr-res { display: grid; gap: 18px; transition: opacity .2s; }
.sr-k { margin: 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sr-hero { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.sr-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; }
.sr-big output { font-size: clamp(48px, 6.4vw, 84px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.sr-big span { font-size: 17px; color: var(--muted); }
.sr-sys { margin: 0; font-size: 15px; } .sr-sys b { font-weight: 600; }
.sr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.sr-stats div { display: grid; gap: 2px; padding: 12px 14px; border-left: 1px solid var(--rule); }
.sr-stats div:first-child { border-left: 0; }
.sr-stats dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sr-stats dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; }
.sr-stats span { font-size: 11.5px; }
.sr-chart-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.sr-legend { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sr-legend i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; margin-left: 8px; }
.sr-legend i.g { background: #1b1b1f; } .sr-legend i.u { background: #d0662a; height: 3px; }
.sr-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; height: 200px; align-items: end; }
.sr-bar { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 4px; }
.sr-bar b { align-self: end; font-size: 10px; font-weight: 500; text-align: center; color: var(--muted); }
.sr-bar i { align-self: end; height: var(--h); min-height: 3px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #3a3a42, #17171a); transform-origin: bottom; animation: uc-grow-y .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * .03s); }
.sr-bar.hi i { background: linear-gradient(180deg, #e3c27a, var(--gold)); }
.sr-bar u { position: absolute; left: 8%; right: 8%; bottom: calc(18px + (100% - 36px) * var(--u) / 100); height: 3px; border-radius: 2px; background: #d0662a; text-decoration: none; }
.sr-bar span { font-size: 10.5px; text-align: center; color: var(--muted); }
.sr-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.sr-mini { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sr-mini td { padding: 7px 4px; border-bottom: 1px solid var(--rule); }
.sr-mini tr.on td { font-weight: 600; background: #f6efdc; }
.sr-mini td.r { text-align: right; white-space: nowrap; }
.sr-life { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.sr-life div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #f3f1ea; }
.sr-life span { font-size: 11px; } .sr-life b { font-size: 17px; font-weight: 500; } .sr-life small { font-size: 11px; color: var(--muted); }
.sr-life .sr-life-t { background: #17171a; color: #f3f1ea; } .sr-life .sr-life-t span, .sr-life .sr-life-t small { color: #bdb9ad; }
.sr-save { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #f6efdc; font-size: 14px; line-height: 1.55; }
.sr-src { margin: 0; font-size: 11.5px; color: var(--muted); }
.sr-mt td.ss-heat { background: rgba(201, 162, 74, calc(var(--a) * .5)); }
.sr-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sr-pages li { display: grid; gap: 8px; align-content: start; }
.sr-pages h3 { margin: 6px 0 0; font-size: 16px; } .sr-pages p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.sr-pg { position: relative; display: block; aspect-ratio: 210 / 297; max-width: 170px; border-radius: 6px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 18px 40px -26px rgba(0,0,0,.45); overflow: hidden; }
.sr-pg i { position: absolute; left: 10%; right: 10%; height: 4%; border-radius: 2px; background: #e6e3da; }
.sr-pg i:nth-child(1) { top: 10%; } .sr-pg i:nth-child(2) { top: 18%; right: 35%; } .sr-pg i:nth-child(3) { top: 26%; right: 20%; }
.sr-pg1::before { content: ""; position: absolute; inset: 0 0 62% 0; background: #0f2a2e; } .sr-pg1 i { background: rgba(255,255,255,.35); }
.sr-pg2::after { content: ""; position: absolute; left: 10%; right: 10%; top: 40%; height: 26%; background: repeating-linear-gradient(90deg, #17171a 0 6%, transparent 6% 8.5%); -webkit-mask: linear-gradient(0deg, #000 60%, transparent); }
.sr-pg3::after { content: ""; position: absolute; left: 10%; right: 10%; top: 40%; bottom: 14%; background: repeating-linear-gradient(180deg, #e6e3da 0 1px, transparent 1px 9%); }
.sr-pg4::after { content: ""; position: absolute; left: 10%; right: 10%; top: 40%; bottom: 20%; background: repeating-linear-gradient(180deg, #ecebe5 0 3%, transparent 3% 7%); }
.sr-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; max-width: 1100px; }
.sr-defs div { padding: 14px 0; border-top: 1px solid var(--rule); }
.sr-defs dt { font-weight: 600; margin-bottom: 4px; } .sr-defs dd { margin: 0; color: #3d3c38; font-size: 15px; line-height: 1.6; }
@media (max-width: 1060px) { .sr { grid-template-columns: minmax(0, 1fr); } .sr-ctl { border-right: 0; } .sr-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sr-steps-h { grid-template-columns: minmax(0, 1fr); } .sr-stats { grid-template-columns: 1fr 1fr; } .sr-stats div:nth-child(3) { border-left: 0; } .sr-stats div:nth-child(n+3) { border-top: 1px solid var(--rule); } .sr-grid2, .sr-defs { grid-template-columns: minmax(0, 1fr); } .sr-bar b { display: none; } .sr-fields { grid-template-columns: minmax(0, 1fr); } .sr-months-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nav-ic-report { border-radius: 2px !important; background: linear-gradient(180deg, #c9a24a 0 30%, #17171a 30%); }
.tl-art-report { background: linear-gradient(160deg, #f3f1ea, #e6dfc9); }
.tl-art-report b { left: 28%; top: 14%; width: 44%; height: 72%; border-radius: 3px; background: #fff; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); }
.tl-art-report i { left: 34%; right: 34%; height: 5%; border-radius: 2px; background: #17171a; z-index: 1; }
.tl-art-report i:nth-child(1) { top: 22%; background: #c9a24a; } .tl-art-report i:nth-child(2) { top: 34%; right: 44%; } .tl-art-report i:nth-child(3) { top: 46%; }
@media (min-width: 1061px) { .sr-out { position: sticky; top: calc(var(--hh) + 12px); align-self: start; } }
/* Solar Report heading v2: title block left, short intro and fact chips right */
.sr-hero-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-top: 6px; padding-bottom: 8px; }
.sr-eyebrow { margin: 0 0 10px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: #a67f22; }
.sr-hero-head h1 { margin: 0; }
.sr-intro p { margin: 0; font-size: 16.5px; line-height: 1.65; color: #3d3c38; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 12px; }
.sr-chips li { padding: 6px 11px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); }
.sr-chips li:first-child { border-color: #e2cf9c; background: #faf3df; }
.sr-pages { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sr-pg5::after { content: ""; position: absolute; left: 10%; right: 10%; top: 40%; bottom: 18%; background: repeating-linear-gradient(180deg, #c9a24a 0 3%, transparent 3% 5%, #ecebe5 5% 8%, transparent 8% 14%); }
.sr-recs { display: grid; gap: 10px; }
.sr-recs[hidden], .sr-recs:empty { display: none; }
.sr-recs ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sr-recs li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 10px; background: #f6f3ea; font-size: 14px; line-height: 1.55; }
.sr-recs li b.mono { font-size: 12px; color: #a67f22; padding-top: 2px; }
.sr-recs li strong { display: block; font-weight: 600; margin-bottom: 2px; }
.sr-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sr-facts li { padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; font-size: 13.5px; line-height: 1.5; }
@media (max-width: 1060px) { .sr-pages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .sr-hero-head { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 640px) { .sr-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sr-facts { grid-template-columns: minmax(0, 1fr); } }
.sr-recs .sr-facts li { display: block; background: transparent; }
.sr-hero-head .sa-sub { margin-top: 8px; }
.sr-status { margin: 0; font-size: 13px; line-height: 1.45; }
.sr-status:empty { display: none; }
.sr-status.busy { color: var(--muted); }
.sr-status.busy::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; border: 2px solid #c9a24a; border-right-color: transparent; vertical-align: -1px; animation: sp-spin .8s linear infinite; }
.sr-status.ok { padding: 8px 10px; border-radius: 8px; background: #f6efdc; }
.sr-status.ok a { font-weight: 600; white-space: nowrap; }
@media (min-width: 1061px) { .sr-status.ok a { display: none; } }
