@font-face {
  font-family: DDIN;
  src: url("fonts/D-DIN.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DDIN;
  src: url("fonts/D-DIN-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f7f6f1;
  --white: #fffefa;
  --ink: #183c35;
  --green: #246d57;
  --muted: #53665c;
  --text-body: 1rem;
  --text-ui: 0.9375rem;
  --text-note: 0.875rem;
  --text-caption: 0.8125rem;
  --text-overline: 0.75rem;
  --line: #d9dfd7;
  --sea: #e8efec;
  --lime: #dce9b6;
  --orange: #b16b40;
  --serif: Georgia, "Times New Roman", serif;
  font-family: DDIN, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b87924;
  outline-offset: 4px;
}
button:hover,
a:hover {
  color: var(--green);
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1440px;
  margin: auto;
  padding: 0 56px;
}
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.brand-sub {
  display: block;
  font-size: var(--text-note);
  letter-spacing: 1.9px;
  font-weight: 400;
  margin-top: 4px;
}
.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}
.site-header nav a {
  text-decoration: none;
}
.nav-active {
  position: relative;
}
.nav-active:after {
  content: "";
  height: 2px;
  background: var(--green);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
}
.text-button {
  padding: 0;
  font-size: var(--text-note);
  text-align: left;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 42px 0 38px;
  gap: 24px;
}
.eyebrow {
  font-size: var(--text-note);
  letter-spacing: 1.6px;
  font-weight: 700;
  margin: 0 0 13px;
  display: block;
}
.small-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--green);
  vertical-align: middle;
  margin-right: 10px;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin: 0;
}
h1 em {
  font-weight: 400;
  color: var(--green);
}
.intro-copy {
  font-size: 16px;
  line-height: 1.5;
  padding-right: 35px;
}
.intro-copy p {
  margin: 0 0 12px;
}
.intro-copy .muted {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.coverage {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-note);
  margin-top: 17px;
}
.status-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.utc-label {
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 6px;
  color: var(--muted);
}
.explorer {
  border: 1px solid #cdd7cf;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  background: var(--white);
  scroll-margin-top: 20px;
}
.map-column {
  min-width: 0;
}
.map-toolbar {
  min-height: 61px;
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 3px;
  gap: 2px;
  background: #f7f8f3;
  border-radius: 5px;
}
.segmented button {
  padding: 7px 12px;
  font-size: var(--text-note);
  border-radius: 3px;
  white-space: nowrap;
}
.segmented button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 1px 2px #183c3510;
}
.flow-toggle {
  font-size: var(--text-note);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
}
.flow-toggle input {
  accent-color: var(--green);
  margin: 0;
}
.map-stage {
  position: relative;
  background: var(--sea);
  height: 571px;
  overflow: hidden;
}
#map {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
#map:active {
  cursor: grabbing;
}
.country-shape {
  vector-effect: non-scaling-stroke;
  stroke: #fffefa;
  stroke-width: 0.65;
  cursor: pointer;
  transition: fill 0.3s;
}
.country-shape.unavailable {
  cursor: default;
}
.country-shape:hover {
  stroke: var(--ink);
  stroke-width: 1.3;
}
.country-shape.selected {
  stroke: var(--ink);
  stroke-width: 1.8;
}
.map-label {
  font-family: DDIN, sans-serif;
  fill: #334d43;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: #fffefa;
  stroke-width: 3px;
  stroke-linejoin: round;
  font-size: var(--text-note);
}
.map-label-value {
  font-size: var(--text-note);
  fill: #466353;
}
.flow-path {
  fill: none;
  stroke-width: 1.5;
  stroke: #204d45;
  vector-effect: non-scaling-stroke;
  opacity: 0.75;
  pointer-events: none;
}
.flow-label {
  font-size: var(--text-note);
  text-anchor: middle;
  fill: #244e43;
  paint-order: stroke;
  stroke: #f5f8ee;
  stroke-width: 4px;
  stroke-linejoin: round;
  pointer-events: none;
}
.selected-marker {
  fill: var(--ink);
  stroke: white;
  stroke-width: 2;
  pointer-events: none;
}
.map-kicker {
  position: absolute;
  top: 20px;
  left: 22px;
  pointer-events: none;
  background: #e8efecd9;
  max-width: 80%;
  padding: 3px 0;
}
.map-kicker span {
  display: block;
  font-size: var(--text-note);
  font-weight: 700;
}
.map-kicker small {
  display: block;
  color: #496052;
  font-size: var(--text-note);
  margin-top: 5px;
}
.map-buttons {
  position: absolute;
  right: 18px;
  top: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #cbd6ce;
  background: #fffffaf0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px #203e3510;
}
.map-buttons button {
  width: 32px;
  height: 32px;
  font-size: 21px;
  line-height: 1;
  border-bottom: 1px solid var(--line);
}
.map-buttons button:last-child {
  border: 0;
  font-size: 22px;
}
.map-buttons button:hover {
  background: var(--lime);
}
.map-legend {
  position: absolute;
  bottom: 24px;
  left: 22px;
  width: 250px;
  background: #e8efecdf;
  padding: 7px 0;
}
.legend-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-note);
  margin-bottom: 5px;
}
.legend-ramp {
  height: 6px;
  background: linear-gradient(
    to right,
    #e6e9c5,
    #bbce91,
    #7eaa71,
    #43825a,
    #154b42
  );
}
.legend-note {
  font-size: var(--text-note);
  color: #496052;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  white-space: nowrap;
}
.legend-note i {
  background: #d6ddd6;
  border: 1px solid #b7c4b8;
  width: 8px;
  height: 8px;
  display: inline-block;
}
.legend-note span {
  margin-left: 6px;
}
.map-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: var(--text-note);
  color: #496052;
}
.map-tooltip {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  background: var(--ink);
  color: white;
  border-radius: 4px;
  padding: 11px 13px;
  box-shadow: 0 3px 10px #17392d20;
  font-size: var(--text-note);
  line-height: 1.5;
  max-width: 245px;
}
.map-tooltip strong {
  display: block;
  font-size: 14px;
}
.map-tooltip small {
  display: block;
  color: #cedcd1;
  font-size: var(--text-note);
}
.timeline {
  padding: 17px 22px 12px;
  border-top: 1px solid var(--line);
  min-height: 138px;
}
.timeline-top {
  display: flex;
  align-items: center;
  gap: 13px;
}
.timeline-top .eyebrow {
  font-size: var(--text-note);
  letter-spacing: 1.3px;
  margin-bottom: 3px;
}
.timeline-top output {
  font-size: var(--text-note);
}
.timeline-top > div {
  flex: 1;
}
#play-time {
  border: 1px solid var(--line);
  height: 30px;
  width: 30px;
  border-radius: 50%;
  font-size: var(--text-note);
  padding-left: 8px;
}
.small-button {
  border: 1px solid var(--line);
  padding: 7px 12px;
  font-size: var(--text-note);
  border-radius: 3px;
  background: var(--white);
}
.small-button.active {
  border-color: #56775e;
  background: #edf1e3;
}
#time-slider {
  display: block;
  width: 100%;
  height: 15px;
  margin: 13px 0 3px;
  accent-color: var(--green);
  cursor: ew-resize;
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: var(--text-note);
}
.country-panel {
  border-left: 1px solid var(--line);
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  overflow: visible;
}
.country-heading {
  display: flex;
  gap: 12px;
  align-items: center;
}
.country-code {
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: var(--text-note);
  border-radius: 50%;
  background: var(--paper);
}
.country-heading > div {
  flex: 1;
  min-width: 0;
}
select {
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 0;
}
#country-select {
  font-size: 23px;
  font-family: var(--serif);
  letter-spacing: -0.5px;
  max-width: 100%;
  padding: 0 16px 0 0;
  margin-left: -4px;
}
#country-time {
  font-size: var(--text-note);
  margin: 5px 0 0;
}
.icon-button {
  width: 26px;
  height: 32px;
  font-size: 22px;
}
.country-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 5px;
}
.metric-label {
  font-size: var(--text-note);
  color: var(--muted);
}
.big-number {
  font-size: 65px;
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin-top: 2px;
}
.big-number span {
  font-size: 25px;
  margin-left: 3px;
  letter-spacing: -1px;
}
.secondary-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
  margin-top: 12px;
}
.secondary-stat strong {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.secondary-stat > .muted {
  font-size: var(--text-note);
}
.country-story {
  font-size: var(--text-note);
  line-height: 1.5;
  min-height: 39px;
  margin: 13px 0 16px;
  color: #516658;
}
.mix-strip {
  display: flex;
  width: 100%;
  height: 9px;
  gap: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: #e6e9e0;
  flex-shrink: 0;
}
.mix-strip span {
  height: 100%;
}
.panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin: 22px 0 13px;
  gap: 22px;
}
.panel-tabs button {
  font-size: var(--text-note);
  padding: 0 0 11px;
  position: relative;
  color: var(--muted);
}
.panel-tabs button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
}
.panel-tabs button[aria-pressed="true"]:after {
  content: "";
  height: 2px;
  background: var(--ink);
  left: 0;
  right: 0;
  bottom: -1px;
  position: absolute;
}
.mix-list {
  display: grid;
  gap: 12px;
  min-height: 196px;
}
.mix-row {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) 75px 44px;
  align-items: center;
  gap: 7px;
  font-size: var(--text-note);
}
.mix-row i {
  height: 7px;
  width: 7px;
  border-radius: 50%;
}
.mix-row .mix-value {
  text-align: right;
  color: var(--muted);
  font-size: var(--text-note);
}
.mix-row .mix-percent {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fine-print {
  font-size: var(--text-note);
  line-height: 1.55;
  color: var(--muted);
  margin: 12px 0;
}
.flows-list {
  display: grid;
  gap: 3px;
  min-height: 175px;
}
.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-note);
  border-bottom: 1px solid #e6e9e0;
  padding: 8px 0;
  width: 100%;
  gap: 8px;
  text-align: left;
}
.flow-row:last-child {
  border: 0;
}
.flow-row span:nth-child(2) {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.flow-row .direction {
  font-size: 17px;
  color: var(--orange);
}
.flow-row.import .direction {
  color: var(--green);
}
.flow-row:hover {
  background: #f3f5ec;
}
.price-peek {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 0;
  margin-top: auto;
}
.price-peek .eyebrow {
  font-size: var(--text-note);
  letter-spacing: 1.1px;
  margin-bottom: 7px;
}
.price-peek strong {
  font-size: 21px;
  font-weight: 400;
}
.price-peek strong small {
  font-size: var(--text-note);
  color: var(--muted);
  margin-left: 3px;
}
.price-peek > div:last-child {
  text-align: right;
}
.price-peek select {
  font-size: var(--text-note);
  max-width: 175px;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  text-align: right;
}
.price-peek .muted {
  font-size: var(--text-note);
  display: block;
  margin-top: 6px;
}
.panel-bottom {
  padding: 15px 0;
}
.panel-bottom button {
  font-size: var(--text-note);
  color: var(--muted);
}
.history-section {
  padding: 43px 0 28px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.65px;
  margin: 0;
}
.section-heading .eyebrow {
  font-size: var(--text-note);
  margin-bottom: 10px;
}
.section-heading h2 span {
  color: #5d7264;
  margin-left: 7px;
  font-size: 23px;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 10px;
}
#chart-caption {
  font-size: var(--text-note);
  color: var(--muted);
  margin: 5px 0;
}
.chart-legend {
  display: flex;
  gap: 17px;
  font-size: var(--text-note);
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-legend i {
  width: 15px;
  height: 2px;
  background: currentColor;
}
.chart-wrap {
  position: relative;
  height: 245px;
  margin-top: 7px;
}
#history-chart {
  width: 100%;
  height: 100%;
  display: block;
}
#chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}
.chart-axis text {
  fill: #4b6255;
  font-family: DDIN, sans-serif;
  font-size: var(--text-note);
}
.chart-axis path {
  display: none;
}
.chart-axis line {
  stroke: #dce1d7;
  stroke-dasharray: 2, 4;
}
.chart-line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-footer {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-note);
  color: var(--muted);
  gap: 20px;
  margin-top: 9px;
}
.chart-footer button {
  font-size: var(--text-note);
}
.denmark-section {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.danish-intro {
  flex: 1;
}
.danish-intro h2 {
  font-size: 25px;
}
.danish-intro > p:not(.eyebrow) {
  font-size: var(--text-note);
  line-height: 1.5;
  color: var(--muted);
  max-width: 300px;
}
.danish-intro > p.fine-print {
  font-size: var(--text-note);
}
.danish-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 54%;
}
.danish-card {
  background: #ecefe3;
  border: 1px solid #d9e0cf;
  padding: 22px 24px;
}
.danish-card .eyebrow {
  font-size: var(--text-note);
  margin-bottom: 7px;
}
.danish-card h3 {
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 14px;
}
.danish-card .co2-value {
  font-size: 37px;
  letter-spacing: -1.5px;
}
.danish-card .co2-value small {
  font-size: var(--text-note);
  letter-spacing: 0;
  margin-left: 5px;
}
.danish-card .co2-caption {
  font-size: var(--text-note);
  margin: 3px 0 15px;
  color: var(--muted);
}
.danish-mini {
  border-top: 1px solid #cdd6c1;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--text-note);
}
.danish-card time {
  display: block;
  color: var(--muted);
  font-size: var(--text-note);
  margin-top: 13px;
}
.compare-section {
  padding: 38px 0 50px;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-note);
  color: var(--muted);
}
.sort-label select {
  border: 1px solid var(--line);
  padding: 8px;
  font-size: var(--text-note);
  color: var(--ink);
  max-width: 170px;
}
#compare-note {
  font-size: var(--text-note);
  margin: 17px 0 20px;
}
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
  margin-bottom: 22px;
}
.ranking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-note);
  text-align: left;
  min-width: 0;
}
.ranking-row:hover {
  background: #edf1e5;
}
.ranking-row.selected .ranking-name {
  font-weight: 700;
}
.rank-no {
  font-size: var(--text-note);
  color: var(--muted);
  width: 18px;
}
.ranking-name {
  width: 102px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ranking-bar {
  height: 4px;
  flex: 1;
  background: #e2e6db;
  max-width: 120px;
}
.ranking-bar i {
  display: block;
  height: 100%;
  background: #62916b;
}
.ranking-value {
  font-variant-numeric: tabular-nums;
  width: 47px;
  text-align: right;
}
.ranking-value small {
  font-size: var(--text-note);
}
footer {
  background: var(--ink);
  color: #e5eadb;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 34px;
  padding-bottom: 24px;
  gap: 25px;
}
.footer-inner .brand {
  font-size: 22px;
}
.footer-inner p {
  font-size: var(--text-note);
  line-height: 1.6;
  color: #b5c5b4;
  margin-top: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  padding-top: 5px;
  font-size: var(--text-note);
}
.footer-links a {
  text-decoration: none;
}
.footer-links span {
  font-size: var(--text-note);
  color: #a8bba9;
}
.footer-links button {
  font-size: var(--text-note);
}
.source-line {
  border-top: 1px solid #3b594b;
  padding-top: 18px;
  flex-basis: 100%;
  font-size: var(--text-note);
  color: #a8bba9;
  line-height: 1.8;
}
.source-line a {
  text-decoration: none;
}
.footer-inner a:hover,
.footer-inner button:hover {
  color: var(--lime);
}
dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 44px;
  max-width: 670px;
  width: calc(100% - 32px);
  max-height: 88vh;
  border-radius: 4px;
}
dialog::backdrop {
  background: #142e26a3;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 33px;
  line-height: 1.2;
  margin-bottom: 25px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 11px;
  font-size: 28px;
}
.about-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 25px 0 8px;
}
.about-content p,
.about-content li {
  font-size: 14px;
  line-height: 1.65;
  color: #536658;
}
.about-content ul {
  padding-left: 20px;
}
.about-content a {
  text-underline-offset: 3px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  z-index: 20;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: var(--text-note);
  box-shadow: 0 4px 15px #0002;
}
.error-banner {
  padding: 20px;
  background: #fff0da;
  border: 1px solid #d9bb8a;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  display: block;
  padding: 12px;
  background: white;
}
.empty-note {
  color: var(--muted);
  font-size: var(--text-note);
  line-height: 1.6;
  padding: 15px 0;
}
.stale {
  color: #855332 !important;
}
@media (min-width: 1500px) {
  .shell {
    max-width: 1510px;
  }
  .map-stage {
    height: 601px;
  }
  .country-panel {
    height: auto;
  }
  .country-main {
    margin-top: 34px;
  }
  .mix-list {
    gap: 15px;
  }
}
@media (max-width: 1100px) {
  .shell {
    padding-left: 30px;
    padding-right: 30px;
  }
  .explorer {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .country-panel {
    padding-left: 20px;
    padding-right: 20px;
  }
  .intro-copy {
    padding-right: 0;
  }
  h1 {
    font-size: 41px;
  }
  .map-toolbar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .segmented button {
    padding: 7px 9px;
  }
  .flow-toggle {
    font-size: var(--text-note);
  }
  .map-kicker {
    left: 16px;
  }
  .ranking-grid {
    gap: 0 20px;
  }
  .ranking-name {
    width: 85px;
  }
  .intro-copy .desktop-break {
    display: none;
  }
  .intro-copy {
    max-width: 340px;
  }
  .danish-areas {
    width: 56%;
    gap: 12px;
  }
  .danish-card {
    padding: 18px;
  }
}
@media (max-width: 800px) {
  .shell {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    height: 85px;
  }
  .site-header nav {
    gap: 20px;
    font-size: var(--text-note);
  }
  .github-header {
    display: none;
  }
  .brand {
    font-size: 21px;
  }
  .intro {
    padding: 30px 0;
    gap: 25px;
  }
  h1 {
    font-size: 35px;
  }
  .intro-copy {
    max-width: 290px;
    font-size: 14px;
  }
  .intro-copy .muted {
    font-size: var(--text-note);
  }
  .coverage {
    flex-wrap: wrap;
    font-size: var(--text-note);
  }
  .explorer {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .country-panel {
    padding-left: 16px;
    padding-right: 16px;
  }
  .map-toolbar {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 90px;
  }
  .map-stage {
    height: 542px;
  }
  .map-toolbar .segmented {
    width: 100%;
    justify-content: space-between;
  }
  .map-toolbar .segmented button {
    font-size: var(--text-note);
    padding: 6px 8px;
    flex: 1;
  }
  .flow-toggle {
    margin-left: auto;
  }
  .country-main {
    margin-top: 24px;
  }
  .big-number {
    font-size: 54px;
  }
  .secondary-stat {
    padding-left: 10px;
  }
  .secondary-stat strong {
    font-size: 19px;
  }
  #country-select {
    font-size: 21px;
  }
  .country-heading {
    gap: 9px;
  }
  .country-code {
    width: 30px;
    height: 30px;
    font-size: var(--text-note);
  }
  .icon-button {
    width: 20px;
  }
  .mix-row {
    font-size: var(--text-note);
    grid-template-columns: 9px minmax(0, 1fr) 75px 44px;
    gap: 5px;
  }
  .price-peek select {
    max-width: 175px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading h2 span {
    font-size: 20px;
  }
  .ranking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ranking-name {
    width: 100px;
  }
  .danish-intro {
    max-width: 250px;
  }
  .denmark-section {
    gap: 20px;
  }
  .danish-areas {
    width: 58%;
    gap: 10px;
  }
  .danish-card {
    padding: 15px;
  }
  .danish-mini {
    flex-direction: column;
    gap: 6px;
  }
  .danish-card h3 {
    font-size: 15px;
  }
  .danish-card .co2-value {
    font-size: 31px;
  }
  .danish-card .co2-value small {
    font-size: var(--text-note);
  }
}
@media (max-width: 620px) {
  .shell {
    padding-left: 18px;
    padding-right: 18px;
  }
  .site-header {
    height: 78px;
  }
  .brand {
    font-size: 20px;
    gap: 9px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand-sub {
    font-size: var(--text-note);
    letter-spacing: 1.6px;
  }
  .site-header nav {
    gap: 14px;
  }
  .site-header nav .nav-active {
    display: none;
  }
  .site-header .text-button {
    font-size: var(--text-note);
  }
  .intro {
    padding: 28px 0 25px;
    display: block;
  }
  .intro .eyebrow {
    font-size: var(--text-note);
    margin-bottom: 12px;
  }
  h1 {
    font-size: 37px;
    line-height: 1.08;
  }
  .intro-copy {
    max-width: none;
    margin-top: 20px;
  }
  .intro-copy > p:first-child {
    display: none;
  }
  .intro-copy .muted {
    font-size: var(--text-note);
    max-width: 310px;
    line-height: 1.45;
  }
  .coverage {
    font-size: var(--text-note);
    margin-top: 15px;
  }
  .explorer {
    display: flex;
    flex-direction: column;
  }
  .map-toolbar {
    min-height: 60px;
    flex-wrap: nowrap;
    padding: 11px 10px;
    gap: 8px;
  }
  .map-toolbar .segmented {
    width: auto;
  }
  .map-toolbar .segmented button {
    padding: 6px 8px;
    font-size: var(--text-note);
  }
  .flow-toggle {
    font-size: var(--text-note);
    gap: 3px;
  }
  .map-stage {
    height: 430px;
  }
  .map-kicker {
    left: 15px;
    top: 15px;
  }
  .map-kicker span {
    font-size: var(--text-note);
  }
  .map-kicker small {
    font-size: var(--text-note);
    max-width: 220px;
  }
  .map-buttons {
    top: 15px;
    right: 12px;
  }
  .map-buttons button {
    width: 29px;
    height: 29px;
  }
  .map-legend {
    bottom: 19px;
    left: 15px;
    width: 220px;
  }
  .legend-note span {
    display: none;
  }
  .timeline {
    min-height: 138px;
    padding: 15px 15px 10px;
  }
  .country-panel {
    height: auto;
    overflow: visible;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 23px 23px 0;
  }
  .country-heading {
    gap: 12px;
  }
  .country-code {
    height: 36px;
    width: 36px;
    font-size: var(--text-note);
  }
  #country-select {
    font-size: 26px;
  }
  #country-time {
    font-size: var(--text-note);
  }
  .country-main {
    margin-top: 23px;
  }
  .big-number {
    font-size: 68px;
  }
  .secondary-stat strong {
    font-size: 27px;
  }
  .secondary-stat {
    padding-left: 20px;
    min-width: 115px;
  }
  .country-story {
    font-size: 14px;
    min-height: 0;
  }
  .mix-list {
    gap: 15px;
    min-height: 0;
    padding: 5px 0;
  }
  .mix-row {
    font-size: var(--text-note);
    grid-template-columns: 9px minmax(0, 1fr) 75px 44px;
    gap: 7px;
  }
  .mix-row .mix-value {
    font-size: var(--text-note);
  }
  .panel-tabs button {
    font-size: var(--text-note);
  }
  .fine-print {
    font-size: var(--text-note);
  }
  .price-peek {
    margin-top: 14px;
    padding: 18px 0;
  }
  .price-peek strong {
    font-size: 24px;
  }
  .price-peek select {
    font-size: var(--text-note);
    max-width: 220px;
  }
  .price-peek .muted {
    font-size: var(--text-note);
  }
  .panel-bottom {
    padding: 17px 0;
  }
  .panel-bottom button {
    font-size: var(--text-note);
  }
  .history-section {
    padding-top: 30px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 17px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading h2 span {
    font-size: 18px;
    margin-left: 3px;
  }
  .section-heading .eyebrow {
    font-size: var(--text-note);
  }
  .chart-tabs {
    margin-top: 0;
  }
  .chart-tabs button {
    padding: 6px 14px;
    font-size: var(--text-note);
  }
  .chart-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 15px;
  }
  .chart-wrap {
    height: 220px;
  }
  .chart-footer {
    font-size: var(--text-note);
    align-items: center;
  }
  .chart-footer button {
    font-size: var(--text-note);
    white-space: nowrap;
  }
  .denmark-section {
    flex-direction: column;
    align-items: stretch;
    padding-top: 27px;
    gap: 18px;
  }
  .danish-intro {
    max-width: none;
  }
  .danish-intro > p:not(.eyebrow) {
    max-width: none;
  }
  .danish-intro .fine-print {
    margin-bottom: 0;
  }
  .danish-areas {
    width: 100%;
    gap: 12px;
  }
  .danish-card {
    padding: 18px 15px;
  }
  .danish-card h3 {
    font-size: 17px;
  }
  .danish-card .co2-value {
    font-size: 37px;
  }
  .danish-card .co2-value small {
    font-size: var(--text-note);
  }
  .danish-mini {
    font-size: var(--text-note);
  }
  .compare-section {
    padding-top: 28px;
    padding-bottom: 35px;
  }
  .ranking-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ranking-name {
    width: 135px;
  }
  .ranking-bar {
    max-width: none;
  }
  .ranking-row {
    padding: 13px 0;
    font-size: var(--text-note);
  }
  .sort-label {
    font-size: var(--text-note);
  }
  .sort-label select {
    font-size: var(--text-note);
  }
  .footer-inner {
    gap: 20px;
    padding-top: 28px;
  }
  .footer-links {
    align-items: flex-start;
    font-size: var(--text-note);
    gap: 13px;
  }
  .source-line {
    font-size: var(--text-note);
  }
  dialog {
    padding: 30px 23px;
  }
  dialog h2 {
    font-size: 29px;
  }
  .about-content p,
  .about-content li {
    font-size: var(--text-note);
  }
}
/* Text stays legible as the layout reflows; narrow screens never shrink it. */
body {
  font-size: var(--text-body);
  line-height: 1.5;
}
.brand-sub,
.eyebrow,
.timeline-top .eyebrow,
.price-peek .eyebrow,
.section-heading .eyebrow,
.danish-card .eyebrow,
.intro .eyebrow {
  font-size: var(--text-overline);
  letter-spacing: 1.15px;
}
.intro-copy .muted,
.country-story,
.mix-row,
.flow-row,
.danish-intro > p:not(.eyebrow),
.ranking-row,
.about-content p,
.about-content li {
  font-size: var(--text-body);
}
.segmented button,
.map-toolbar .segmented button,
.chart-tabs button,
.text-button,
.panel-tabs button,
.flow-toggle,
.price-peek select,
.sort-label select,
.site-header nav,
.site-header .text-button,
.small-button {
  font-size: var(--text-ui);
}
.fine-print,
.danish-intro > p.fine-print,
#country-time,
.metric-label,
.mix-row .mix-value,
.panel-bottom button,
#chart-caption,
.chart-footer,
.chart-footer button,
.chart-legend,
.footer-inner p,
.footer-links,
.footer-links button,
.source-line,
.footer-links span {
  font-size: var(--text-note);
}
.coverage {
  font-size: var(--text-note);
  flex-wrap: wrap;
  row-gap: 8px;
}
.status-dot {
  flex-shrink: 0;
}
.map-column {
  display: flex;
  flex-direction: column;
}
.map-toolbar {
  min-height: 76px;
  flex-wrap: wrap;
  gap: 12px;
}
.segmented button {
  min-height: 38px;
}
.flow-toggle {
  min-height: 36px;
  gap: 7px;
}
.flow-toggle input {
  width: 17px;
  height: 17px;
}
.map-stage {
  min-height: 620px;
  flex: 1;
}
.map-buttons button {
  width: 40px;
  height: 40px;
}
.map-kicker {
  max-width: calc(100% - 85px);
  padding: 6px 0;
}
.map-kicker span {
  font-size: var(--text-ui);
}
.map-kicker small {
  font-size: var(--text-caption);
  line-height: 1.5;
  max-width: 360px;
}
.map-label {
  font-size: var(--text-note);
}
.map-label-value,
.flow-label {
  font-size: var(--text-caption);
}
.map-credit {
  font-size: var(--text-overline);
}
.legend-note {
  flex-wrap: wrap;
  white-space: normal;
  font-size: var(--text-caption);
}
.legend-note span {
  flex-basis: 100%;
  margin-left: 0;
}
.legend-labels {
  font-size: var(--text-caption);
}
.map-tooltip {
  font-size: var(--text-ui);
  max-width: 270px;
}
.map-tooltip strong {
  font-size: var(--text-body);
}
.map-tooltip small {
  font-size: var(--text-caption);
}
.timeline {
  flex-shrink: 0;
  padding: 20px 22px 16px;
}
.timeline-top output {
  font-size: var(--text-note);
}
.timeline-top > div {
  min-width: 0;
}
.timeline-top .small-button {
  flex-shrink: 0;
}
#play-time {
  height: 38px;
  width: 38px;
  flex-shrink: 0;
}
.country-panel {
  height: auto;
  overflow: visible;
  padding: 26px 26px 0;
}
.country-heading {
  align-items: flex-start;
}
.country-code {
  flex-shrink: 0;
}
#country-select {
  font-size: 27px;
}
#country-time {
  line-height: 1.5;
}
.icon-button {
  min-width: 30px;
  flex-shrink: 0;
}
.country-main {
  gap: 14px;
  flex-wrap: wrap;
}
.country-story {
  min-height: 0;
  line-height: 1.6;
}
.secondary-stat {
  flex-shrink: 0;
}
.secondary-stat > .muted {
  font-size: var(--text-caption);
}
.panel-tabs {
  gap: 20px;
}
.panel-tabs button {
  padding-top: 5px;
  padding-bottom: 13px;
}
.mix-list {
  gap: 14px;
  min-height: 0;
}
.mix-row {
  min-height: 26px;
}
.mix-row .mix-value {
  white-space: nowrap;
}
.mix-row i {
  width: 8px;
  height: 8px;
}
.flows-list {
  min-height: 0;
}
.flow-row {
  min-height: 44px;
}
.flow-row span:nth-child(2) {
  white-space: nowrap;
}
.price-peek {
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 0;
  margin-top: 20px;
}
.price-peek strong small,
.price-peek .muted {
  font-size: var(--text-caption);
}
.price-peek select {
  min-height: 32px;
}
.panel-bottom {
  padding: 18px 0;
}
.chart-header {
  flex-wrap: wrap;
  row-gap: 12px;
}
.chart-legend {
  flex-wrap: wrap;
}
.chart-wrap {
  height: 285px;
}
.chart-axis text {
  font-size: var(--text-caption);
}
.chart-footer {
  flex-wrap: wrap;
  gap: 12px 24px;
}
.danish-intro > p:not(.eyebrow) {
  max-width: 370px;
}
.danish-areas {
  width: 58%;
}
.danish-mini {
  flex-wrap: wrap;
  font-size: var(--text-note);
}
.danish-card time {
  font-size: var(--text-caption);
  line-height: 1.65;
}
.danish-card .co2-caption {
  font-size: var(--text-note);
}
.danish-card .co2-value small {
  font-size: var(--text-caption);
}
.ranking-name {
  width: 130px;
  flex-shrink: 0;
}
.ranking-value {
  width: 66px;
  flex-shrink: 0;
}
.rank-no {
  width: 22px;
  flex-shrink: 0;
}
.sort-label select {
  max-width: 210px;
}
.footer-links {
  gap: 17px;
}
.footer-links span {
  color: #c4d3c0;
}
.source-line {
  color: #c4d3c0;
}

@media (max-width: 1200px) {
  .explorer {
    grid-template-columns: minmax(0, 1fr) 370px;
  }
  .country-panel {
    padding-left: 22px;
    padding-right: 22px;
  }
  .ranking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro {
    gap: 40px;
  }
  .intro-copy {
    max-width: 360px;
  }
}
@media (max-width: 1000px) {
  .explorer {
    display: flex;
    flex-direction: column;
  }
  .map-stage {
    height: 600px;
    min-height: 600px;
  }
  .map-toolbar .segmented {
    width: auto;
  }
  .map-toolbar .segmented button {
    padding: 8px 15px;
  }
  .country-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 28px 0;
  }
  .country-main {
    justify-content: flex-start;
    gap: 40px;
  }
  .mix-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
  .price-peek {
    justify-content: flex-start;
    gap: 35px;
  }
  .price-peek > div:last-child {
    text-align: left;
  }
  .price-peek select {
    text-align: left;
    max-width: 240px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .denmark-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .danish-intro {
    max-width: none;
  }
  .danish-intro > p:not(.eyebrow) {
    max-width: none;
  }
  .danish-areas {
    width: 100%;
  }
}
@media (max-width: 620px) {
  .site-header {
    height: 90px;
  }
  .site-header .text-button {
    font-size: var(--text-note);
  }
  .brand-sub {
    font-size: 11px;
    letter-spacing: 0.8px;
  }
  .intro-copy {
    max-width: none;
  }
  .intro-copy .muted {
    max-width: none;
  }
  .map-toolbar {
    padding: 12px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .map-toolbar .segmented {
    width: 100%;
  }
  .map-toolbar .segmented button {
    padding: 8px 10px;
  }
  .flow-toggle {
    margin-left: auto;
  }
  .map-stage {
    height: 520px;
    min-height: 520px;
  }
  .map-kicker small {
    max-width: 255px;
  }
  .map-legend {
    bottom: 30px;
  }
  .timeline {
    padding: 18px 15px 14px;
  }
  .timeline-top {
    gap: 10px;
  }
  .timeline-top .eyebrow {
    font-size: 11px;
    letter-spacing: 0.8px;
  }
  .country-panel {
    padding-left: 20px;
    padding-right: 20px;
  }
  .country-main {
    gap: 18px;
    justify-content: space-between;
  }
  .big-number {
    font-size: 58px;
  }
  .secondary-stat {
    min-width: 108px;
    padding-left: 14px;
  }
  .mix-list {
    grid-template-columns: 1fr;
  }
  .panel-tabs {
    gap: 18px;
  }
  .price-peek {
    gap: 12px;
    justify-content: space-between;
  }
  .price-peek select {
    max-width: 170px;
  }
  .chart-wrap {
    height: 255px;
  }
  .chart-footer {
    align-items: flex-start;
  }
  .chart-footer button {
    min-height: 36px;
  }
  .danish-areas {
    grid-template-columns: 1fr;
  }
  .danish-card {
    padding: 22px;
  }
  .danish-mini {
    flex-direction: row;
    justify-content: flex-start;
    gap: 25px;
  }
  .ranking-grid {
    grid-template-columns: 1fr;
  }
  .ranking-name {
    width: 135px;
  }
  .source-line {
    line-height: 1.8;
  }
}
@media (max-width: 380px) {
  .map-toolbar .segmented button {
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Forecasts share the explorer's typography and restrained green palette. */
.forecast-section { margin: 64px 0; scroll-margin-top: 24px; }
.forecast-heading { align-items: flex-start; gap: 20px; }
.forecast-intro { font-size: 17px; line-height: 1.5; margin: 14px 0 24px; max-width: 680px; }
.forecast-badge { padding: 8px 12px; border: 1px solid #b6c6a1; background: var(--lime); border-radius: 4px; font-size: 15px; white-space: nowrap; }
.forecast-surface { border: 1px solid var(--line); background: var(--white); }
.forecast-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.forecast-toolbar .segmented button { font-size: 16px; padding: 10px 14px; }
.forecast-regions span { font-size: 14px; opacity: .8; margin-left: 5px; }
.forecast-status { padding: 14px 24px; font-size: 15px; line-height: 1.6; color: var(--muted); background: #f2f5ed; }
.forecast-status[data-status="delayed"], .forecast-status[data-status="unavailable"] { background: #f8eedc; color: #805126; }
.forecast-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px 0; flex-wrap: wrap; }
.forecast-chart-heading .panel-tabs { border-bottom: 0; margin: 0; padding: 0; }
.forecast-chart-heading .panel-tabs button { font-size: 16px; padding: 12px 0; margin-right: 24px; }
.forecast-chart-heading .panel-tabs button[aria-pressed="true"] { color: var(--green); box-shadow: inset 0 -2px var(--green); }
.forecast-legend { display: flex; gap: 20px; font-size: 15px; }
.forecast-legend span { display: flex; align-items: center; gap: 8px; }
.forecast-legend i { width: 22px; border-top: 3px solid var(--ink); }
.forecast-legend .forecast-predicted-key { border-top: 3px dashed var(--green); }
.forecast-chart-wrap { position: relative; padding: 12px 12px 0; min-height: 300px; }
#forecast-chart { width: 100%; display: block; overflow: visible; }
.forecast-axis { font: 14px DDIN, Arial, sans-serif; color: var(--muted); }
.forecast-axis text { font: 14px DDIN, Arial, sans-serif; }
.forecast-axis .domain { stroke: var(--line); }
.forecast-axis .tick line { stroke: var(--line); opacity: .65; }
.forecast-unit { font: 14px DDIN, Arial, sans-serif; fill: var(--muted); }
.forecast-line { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.forecast-range-band { fill: var(--green); fill-opacity: .16; stroke: none; pointer-events: none; }
.forecast-legend .forecast-range-key { width: 22px; height: 12px; background: #21765e2b; border: 1px solid #21765e50; }
.forecast-legend [hidden], #forecast-explanation[hidden] { display: none; }
.forecast-legend { flex-wrap: wrap; }
.forecast-options { padding: 12px 24px 0; }
.forecast-options label { display: inline-flex; gap: 10px; align-items: center; font-size: 16px; cursor: pointer; flex-wrap: wrap; }
.forecast-options input { width: 20px; height: 20px; accent-color: var(--green); margin: 0; cursor: pointer; }
.forecast-options label span { color: var(--muted); }
.forecast-range-note { padding: 0 24px 18px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.forecast-explanation { padding: 0 24px; border-top: 1px solid var(--line); }
.forecast-explanation summary { padding: 18px 0; font-size: 17px; cursor: pointer; color: var(--ink); }
.forecast-explanation-content { padding-bottom: 24px; font-size: 16px; line-height: 1.6; }
.forecast-explanation-content>p { max-width: 860px; margin: 0 0 16px; }
.forecast-explanation-picker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.forecast-explanation-picker select { font-size: 16px; border: 1px solid var(--line); padding: 8px 12px; color: var(--ink); background: var(--white); }
.forecast-explanation-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.forecast-explanation-values>div { display: flex; flex-direction: column; margin: 0 0 18px; }
.forecast-explanation-values strong { font-size: 24px; font-weight: 400; }
.forecast-explanation-values .metric-label, .forecast-explanation-values .muted { font-size: 14px; }
.forecast-explanation-caption { font-weight: bold; }
.forecast-contribution { display: grid; grid-template-columns: 190px minmax(60px,1fr) 90px; gap: 20px; align-items: center; padding: 8px 0; }
.forecast-contribution-track { position: relative; height: 22px; }
.forecast-contribution-track:before { content: ''; position: absolute; left: 50%; height: 100%; border-left: 1px solid var(--muted); }
.forecast-contribution-track i { position: absolute; height: 16px; top: 3px; background: var(--green); }
.forecast-contribution-track .negative { background: #af7444; }
.forecast-contribution strong { font-weight: 400; text-align: right; }
.forecast-explanation-content .forecast-explanation-note { font-size: 14px; margin-top: 20px; color: var(--muted); }
.forecast-observed { stroke: var(--ink); }
.forecast-predicted { stroke: var(--green); stroke-dasharray: 6 4; }
.forecast-transition { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-dasharray: 1 4; stroke-linecap: round; opacity: .7; }
.forecast-legend .forecast-transition-key { border-top: 2px dotted var(--muted); opacity: .7; }
.forecast-origin { stroke: #98ab9f; stroke-dasharray: 3 5; }
.forecast-cursor { stroke: var(--orange); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.forecast-tooltip { position: absolute; top: 40px; padding: 12px 16px; background: var(--ink); color: white; font-size: 15px; line-height: 1.7; min-width: min(210px, calc(100% - 16px)); max-width: min(320px, calc(100% - 16px)); border-radius: 4px; pointer-events: none; box-shadow: 0 5px 20px #183c3522; }
.forecast-tooltip div:first-child { font-weight: bold; margin-bottom: 3px; }
.forecast-empty { position: absolute; top: 30%; left: 10%; right: 10%; text-align: center; font-size: 17px; line-height: 1.7; color: var(--muted); }
.forecast-stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.forecast-stats>div { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.forecast-stats>div+div { border-left: 1px solid var(--line); }
.forecast-stats .metric-label { font-size: 15px; }
.forecast-stats strong { font-size: 29px; font-weight: 400; }
.forecast-stats .muted { font-size: 14px; line-height: 1.5; }
.forecast-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; border-top: 1px solid var(--line); }
.forecast-footer p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 75%; }
.forecast-footer button { font-size: 15px; white-space: nowrap; }
.forecast-methodology { margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 980px; }
.forecast-methodology summary { cursor: pointer; color: var(--ink); font-weight: 700; padding: 8px 0; }
.forecast-methodology p { margin: 12px 0; }
@media(max-width: 700px) {
  .forecast-section { margin: 44px 0; }
  .forecast-heading { flex-wrap: wrap; }
  .forecast-badge { margin-bottom: 16px; }
  .forecast-toolbar, .forecast-chart-heading { padding-left: 14px; padding-right: 14px; }
  .forecast-toolbar { gap: 12px; }
  .forecast-toolbar .segmented { width: 100%; }
  .forecast-toolbar .segmented button { flex: 1; padding: 10px 8px; }
  .forecast-regions span { display: block; margin-left: 0; margin-top: 3px; }
  .forecast-status { padding: 12px 14px; }
  .forecast-chart-wrap { padding: 8px 0 0; }
  .forecast-chart-heading .panel-tabs button { font-size: 15px; margin-right: 18px; }
  .forecast-stats { grid-template-columns: 1fr; }
  .forecast-stats>div { padding: 15px 18px; gap: 5px; }
  .forecast-stats>div+div { border-left: 0; border-top: 1px solid var(--line); }
  .forecast-stats strong { font-size: 27px; }
  .forecast-footer { padding: 16px 18px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .forecast-footer p { max-width: 100%; }
  .forecast-options { padding: 14px 14px 0; }
  .forecast-range-note { padding: 0 18px 16px; }
  .forecast-explanation { padding: 0 18px; }
  .forecast-explanation-values { grid-template-columns: 1fr; gap: 0; }
  .forecast-contribution { grid-template-columns: minmax(110px,1.5fr) minmax(55px,1fr) 70px; gap: 10px; font-size: 15px; }
}
