:root {
  --paper: #f3f0e9;
  --paper-deep: #ebe6dc;
  --surface: #fbfaf7;
  --ink: #162523;
  --muted: #69736d;
  --line: #d8d3c8;
  --line-dark: #b7b8ac;
  --petrol: #244f55;
  --petrol-deep: #17383d;
  --copper: #bd5c39;
  --copper-soft: #ecd4c7;
  --up: #af5138;
  --down: #287865;
  --shadow: 0 18px 45px rgba(28, 38, 33, 0.08);
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button { font: inherit; }

.site-shell { max-width: 1440px; margin: 0 auto; padding: 0 5.5vw; overflow: hidden; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid var(--line);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand-mark { color: var(--copper); font-size: 1.35rem; line-height: 1; }
.brand-domain { color: var(--copper); }

.site-nav { display: flex; gap: 25px; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 0.78rem; text-decoration: none; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-status i, .signal-key__dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--copper); }

.demo-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 8px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.01em;
}

.demo-bar__marker { color: var(--copper); font-weight: 700; letter-spacing: 0.08em; }
.demo-bar__date { margin-left: auto; }

.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: end;
  gap: 8vw;
  padding: 92px 0 75px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--copper);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 27px;
  font-size: clamp(3rem, 6.2vw, 6.25rem);
  font-weight: 650;
  letter-spacing: -0.085em;
  line-height: 0.93;
}

.hero-lead { max-width: 545px; margin-bottom: 28px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.text-link { color: var(--petrol); font-size: 0.83rem; font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 8px; color: var(--copper); font-size: 1rem; transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }

.hero-note { align-self: center; padding-top: 16px; border-top: 2px solid var(--petrol); }
.hero-note__line { display: block; width: 28px; height: 2px; margin-bottom: 17px; background: var(--copper); }
.hero-note p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.7; }

.section { padding: 90px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 650; letter-spacing: -0.07em; line-height: 0.95; }
.section-caption { margin: 0 0 2px; color: var(--muted); font-size: 0.76rem; }

.current-layout { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 18px; }
.price-board, .market-board { background: var(--surface); border: 1px solid var(--line); }
.price-board { display: grid; grid-template-columns: 1fr 1fr; }
.price-item { min-height: 245px; padding: 31px; border-left: 1px solid var(--line); }
.price-item:first-child { border-left: 0; }
.price-item--main { background: var(--petrol); color: #f8f5ed; }
.price-item__heading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.78rem; }
.price-item--main .price-item__heading { color: #cad8d4; }
.fuel-icon { display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid currentColor; font-family: var(--mono); font-size: 0.7rem; font-weight: 700; }
.fuel-icon--gas { color: var(--copper); }
.fuel-icon--diesel { color: var(--petrol); }
.price-item--main .fuel-icon--gas { color: #f0b399; }
.price-value { margin-top: 50px; font-family: var(--mono); font-size: clamp(2.45rem, 5vw, 4.5rem); letter-spacing: -0.09em; line-height: 0.88; white-space: nowrap; }
.price-value small { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; letter-spacing: -0.02em; }
.price-footnote { margin-top: 20px; color: var(--muted); font-size: 0.7rem; }
.price-item--main .price-footnote { color: #afc3bd; }

.market-board { padding: 25px 29px 20px; }
.market-board__header, .market-board__footer { display: flex; justify-content: space-between; gap: 14px; }
.market-board__header { align-items: start; margin-bottom: 18px; }
.market-board__header .eyebrow { margin-bottom: 0; }
.market-board__stamp { color: var(--muted); font-family: var(--mono); font-size: 0.6rem; }
.market-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.market-name, .market-unit { display: block; }
.market-name { font-size: 0.88rem; font-weight: 700; }
.market-unit { margin-top: 4px; color: var(--muted); font-size: 0.67rem; }
.market-row strong { font-family: var(--mono); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.06em; }
.market-row strong small { font-size: 0.7rem; }
.change { min-width: 52px; font-family: var(--mono); font-size: 0.66rem; text-align: right; }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }
.market-board__footer { align-items: center; margin-top: 15px; color: var(--muted); font-size: 0.62rem; }
.signal-key { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }

.reading-board { min-height: 245px; padding: 25px 29px 20px; background: var(--surface); border: 1px solid var(--line); }
.reading-board__header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.reading-board__header .eyebrow { margin-bottom: 0; }
.reading-board__stamp { color: var(--muted); font-family: var(--mono); font-size: 0.6rem; }
.reading-trend { display: flex; align-items: center; gap: 17px; margin: 23px 0 24px; }
.trend-arrow { display: inline-grid; width: 48px; height: 48px; place-items: center; color: var(--copper); border: 1px solid currentColor; font-size: 1.65rem; line-height: 1; }
.reading-trend.down .trend-arrow { color: var(--down); transform: rotate(90deg); }
.reading-trend.flat .trend-arrow { color: var(--muted); transform: rotate(45deg); }
.reading-trend strong { display: block; margin-top: 5px; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.05em; }
.reading-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; }
.reading-row strong { color: var(--ink); font-family: var(--mono); font-size: 0.77rem; font-weight: 500; }
.reading-board__footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 14px; color: var(--muted); font-size: 0.62rem; }

.home-links-section { border-bottom: 1px solid var(--line); }
.home-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.home-link { display: flex; flex-direction: column; gap: 9px; min-height: 150px; padding: 22px 22px 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.home-link:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: var(--shadow); }
.home-link__icon { color: var(--copper); font-size: 1.15rem; line-height: 1; }
.home-link strong { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.03em; }
.home-link span:last-child { color: var(--muted); font-size: 0.72rem; line-height: 1.5; }

.section-heading--forecast { align-items: center; }
.forecast-tabs { display: flex; gap: 6px; }
.forecast-tab { padding: 10px 14px; color: var(--muted); background: transparent; border: 1px solid var(--line); cursor: pointer; font-family: var(--mono); font-size: 0.68rem; }
.forecast-tab:hover, .forecast-tab.is-active { color: var(--surface); background: var(--petrol); border-color: var(--petrol); }
.forecast-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.forecast-card { min-height: 420px; padding: 27px 25px 22px; background: var(--surface); border: 1px solid var(--line); transition: border-color 180ms ease, transform 180ms ease; }
.forecast-card:hover, .forecast-card.is-selected { border-color: var(--petrol); transform: translateY(-3px); }
.forecast-card.featured { background: var(--petrol-deep); color: #f8f5ed; border-color: var(--petrol-deep); }
.forecast-card__topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.forecast-card .eyebrow { margin-bottom: 0; }
.forecast-card.featured .eyebrow { color: #e5a58c; }
.forecast-confidence { color: var(--muted); font-family: var(--mono); font-size: 0.62rem; }
.featured .forecast-confidence { color: #b4cbc4; }
.forecast-card h3 { margin: 27px 0 30px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.04em; }
.forecast-prices { display: grid; gap: 17px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.featured .forecast-prices { border-color: rgba(221, 233, 227, 0.22); }
.forecast-prices span, .forecast-range span, .insight-metric span, .insight-range span { display: block; color: var(--muted); font-size: 0.69rem; }
.featured .forecast-prices span, .featured .forecast-range span { color: #abc0ba; }
.forecast-prices strong { display: block; margin-top: 5px; font-family: var(--mono); font-size: 1.8rem; font-weight: 500; letter-spacing: -0.08em; }
.forecast-prices strong small { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0; }
.forecast-range { padding: 19px 0 17px; }
.forecast-range strong { display: block; margin-top: 6px; font-family: var(--mono); font-size: 0.76rem; font-weight: 500; }
.forecast-signal { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-family: var(--mono); font-size: 0.65rem; }
.forecast-signal .signal-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.forecast-detail { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.64rem; }
.featured .forecast-detail { border-color: rgba(221, 233, 227, 0.22); color: #abc0ba; }
.forecast-detail b { color: var(--ink); font-family: var(--mono); font-size: 0.65rem; font-weight: 500; }
.featured .forecast-detail b { color: #f8f5ed; }
.confidence-panel { margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); }
.featured .confidence-panel { border-color: rgba(221, 233, 227, 0.22); }
.confidence-panel__heading, .confidence-panel__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.confidence-panel__heading span { color: var(--muted); font-size: 0.65rem; }
.featured .confidence-panel__heading span { color: #abc0ba; }
.confidence-panel__heading strong { font-family: var(--mono); font-size: 1.15rem; font-weight: 500; }
.confidence-meter { height: 5px; margin: 10px 0 8px; overflow: hidden; background: var(--line); }
.confidence-meter i { display: block; height: 100%; background: var(--copper); }
.featured .confidence-meter { background: rgba(221, 233, 227, 0.2); }
.confidence-panel__meta { color: var(--muted); font-family: var(--mono); font-size: 0.58rem; }
.featured .confidence-panel__meta { color: #abc0ba; }
.confidence-components { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 12px; }
.confidence-components span { display: grid; gap: 4px; color: var(--muted); font-family: var(--mono); font-size: 0.48rem; text-transform: uppercase; }
.confidence-components i { display: block; width: 100%; height: 3px; background: var(--petrol); }
.confidence-components i::before { content: ""; display: block; width: 100%; height: 100%; background: var(--copper); }
.featured .confidence-components span { color: #abc0ba; }
.featured .confidence-components i { background: rgba(221, 233, 227, 0.2); }
.confidence-details { margin-top: 11px; color: var(--muted); font-size: 0.6rem; line-height: 1.45; }
.confidence-details summary { color: var(--petrol); cursor: pointer; font-weight: 700; }
.featured .confidence-details summary { color: #e5a58c; }
.confidence-details ul { display: grid; gap: 3px; margin: 7px 0; padding-left: 15px; }
.confidence-details small { display: block; color: var(--muted); font-size: 0.56rem; }
.featured .confidence-details small { color: #abc0ba; }
.forecast-disclaimer { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 0.7rem; line-height: 1.6; }

.section-heading--news { align-items: center; }

.news-layout { display: grid; gap: 18px; }

.news-hero { display: block; padding: 32px 34px 28px; background: var(--petrol-deep); color: #f8f5ed; border: 1px solid var(--petrol-deep); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.news-hero:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-hero__topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.news-hero__topline time { color: #b4cbc4; font-family: var(--mono); font-size: 0.62rem; }
.news-kicker { color: #e5a58c; font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.news-hero__title { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
.news-hero:hover .news-hero__title { text-decoration: underline; text-underline-offset: 6px; }
.news-hero__intro { max-width: 780px; margin: 0 0 20px; color: #c9d6d1; font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; }
.news-hero__source { color: #b4cbc4; font-family: var(--mono); font-size: 0.68rem; }

.news-subgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.news-card { display: flex; flex-direction: column; padding: 22px 22px 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.news-card:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: var(--muted); font-family: var(--mono); font-size: 0.6rem; }
.news-tag { padding: 3px 7px; color: var(--copper); background: var(--copper-soft); font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.05em; text-transform: uppercase; }
.news-card__title { margin: 0 0 14px; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.22; }
.news-card:hover .news-card__title { color: var(--petrol-deep); }
.news-card__summary { margin: 0 0 16px; color: var(--muted); font-family: var(--serif); font-size: 0.95rem; line-height: 1.5; }
.news-card__source { margin-top: auto; color: var(--muted); font-family: var(--mono); font-size: 0.64rem; }

.news-group-label { margin: 30px 0 14px; color: var(--muted); font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.news-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.news-card--mini { min-height: 0; padding: 16px 17px 14px; gap: 10px; }
.news-card--mini .news-card__source { margin-top: 0; font-size: 0.56rem; text-transform: uppercase; }
.news-card--mini .news-card__title { margin: 0; font-size: 1.02rem; line-height: 1.25; }
.news-card--mini .news-card__summary { margin: 0; font-size: 0.82rem; line-height: 1.45; }
.news-card--mini time { color: var(--muted); font-family: var(--mono); font-size: 0.58rem; }

.news-empty { margin: 0; padding: 28px 22px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); font-size: 0.8rem; }
.news-disclaimer { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.6; }

.section-heading--history { align-items: end; }
.history-summary { min-width: 145px; padding-top: 13px; border-top: 2px solid var(--petrol); }
.history-summary span { display: block; color: var(--muted); font-size: 0.68rem; }
.history-summary strong { display: block; margin-top: 8px; font-family: var(--mono); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.06em; }
.history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; color: var(--muted); font-size: 0.7rem; }
.history-tabs { display: flex; gap: 5px; }
.history-tab { padding: 9px 12px; color: var(--muted); background: transparent; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.64rem; text-decoration: none; }
.history-tab:hover, .history-tab.is-active { color: var(--surface); background: var(--petrol); border-color: var(--petrol); }
.history-chart-wrap { padding: 22px 15px 4px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.history-chart-shell { position: relative; }
.history-chart { display: block; width: 100%; height: auto; min-height: 290px; overflow: visible; }
.chart-unit { fill: var(--copper); font-family: var(--mono); font-size: 11px; font-weight: 700; }
.chart-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.chart-tick-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 7; opacity: 0.55; }
.chart-axis { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.chart-axis--value { font-size: 10px; }
.chart-axis--date { font-size: 11px; font-weight: 600; }
.chart-area { fill: var(--copper); opacity: 0.11; }
.chart-line { fill: none; stroke: var(--copper); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.chart-point { fill: var(--surface); stroke: var(--copper); stroke-width: 2; opacity: 0.25; outline: none; transition: opacity 140ms ease, r 140ms ease, stroke-width 140ms ease; }
.chart-point:hover, .chart-point:focus, .chart-point.is-active { opacity: 1; stroke-width: 3; }
.chart-point--latest { fill: var(--copper); opacity: 1; stroke: var(--surface); stroke-width: 3; }
.chart-tooltip { position: absolute; z-index: 3; display: grid; min-width: 150px; padding: 11px 13px 10px; color: var(--surface); background: var(--petrol-deep); border-left: 3px solid var(--copper); box-shadow: 0 12px 25px rgba(22, 37, 35, 0.17); pointer-events: none; transform: translate(-50%, -100%); }
.chart-tooltip__date { color: #b4cbc4; font-family: var(--mono); font-size: 0.63rem; }
.chart-tooltip__price { margin-top: 5px; font-family: var(--mono); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.06em; }
.chart-tooltip small { margin-top: 4px; color: #b4cbc4; font-size: 0.62rem; }
.history-footer { display: flex; gap: 26px; padding-top: 15px; color: var(--muted); font-family: var(--mono); font-size: 0.62rem; }
.history-footer span:last-child { margin-left: auto; }
.history-footer strong { color: var(--ink); font-weight: 500; }

.section-heading--stations { align-items: center; }
.location-button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; color: var(--surface); background: var(--petrol); border: 1px solid var(--petrol); cursor: pointer; font-size: 0.75rem; font-weight: 700; }
.location-button:hover { background: var(--petrol-deep); border-color: var(--petrol-deep); }
.location-button:disabled { cursor: wait; opacity: 0.65; }
.station-search-row { position: relative; margin-bottom: 15px; padding: 16px 19px 14px; background: var(--surface); border: 1px solid var(--line); }
.station-search-field { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 14px 22px; color: var(--muted); font-size: 0.68rem; }
.station-search-field > span { color: var(--ink); font-weight: 700; }
.station-search-field input { width: 100%; padding: 11px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); font: inherit; font-size: 0.74rem; outline: none; }
.station-search-field input:focus { border-color: var(--petrol); box-shadow: 0 0 0 2px rgba(36, 79, 85, 0.1); }
.station-search-field small { grid-column: 2; margin-top: -6px; color: var(--muted); font-size: 0.61rem; }
.place-suggestions { position: absolute; z-index: 700; top: 82px; left: calc(33.33% + 19px); right: 19px; overflow: hidden; background: var(--surface); border: 1px solid var(--petrol); box-shadow: var(--shadow); }
.place-suggestion { display: block; width: 100%; padding: 11px 13px; color: var(--ink); background: var(--surface); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; font-size: 0.74rem; }
.place-suggestion:last-child { border-bottom: 0; }
.place-suggestion:hover, .place-suggestion:focus { color: var(--surface); background: var(--petrol); outline: 0; }
.place-suggestion small { display: block; margin-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 0.59rem; }
.place-suggestion:hover small, .place-suggestion:focus small { color: #b4cbc4; }
.stations-toolbar { display: grid; grid-template-columns: 1fr 1.45fr 0.8fr 0.9fr; gap: 12px; margin-bottom: 15px; }
.station-field { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.66rem; }
.station-field > span { display: flex; justify-content: space-between; gap: 10px; }
.station-field output { color: var(--ink); font-family: var(--mono); }
.station-field select { width: 100%; padding: 10px 11px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); font: inherit; font-size: 0.72rem; }
.station-field input[type="range"] { width: 100%; height: 34px; accent-color: var(--copper); }
.stations-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 15px; }
.station-map-wrap { position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--line); }
.station-map { min-height: 540px; width: 100%; }
.map-note { position: absolute; right: 10px; bottom: 10px; z-index: 500; padding: 6px 8px; color: var(--muted); background: rgba(251, 250, 247, 0.9); font-family: var(--mono); font-size: 0.57rem; pointer-events: none; }
.station-results { min-height: 540px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.station-results__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 19px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 0.62rem; }
.station-results__header span:first-child { color: var(--ink); font-weight: 700; }
.station-list { max-height: 490px; overflow-y: auto; }
.station-card { padding: 17px 19px; border-bottom: 1px solid var(--line); cursor: pointer; }
.station-card:hover { background: var(--paper); }
.station-card__top, .station-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.station-brand, .station-distance, .station-card__address, .station-card__bottom span { color: var(--muted); font-size: 0.64rem; }
.station-brand { font-family: var(--mono); font-weight: 700; text-transform: uppercase; }
.station-distance { font-family: var(--mono); }
.station-card__name { display: block; margin: 13px 0 4px; font-size: 0.88rem; font-weight: 650; letter-spacing: -0.03em; }
.station-card__address { display: block; margin-bottom: 15px; }
.station-card__price { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; }
.station-card__price--cheap { color: var(--down); }
.station-card__price--average { color: var(--copper); }
.station-card__price--expensive { color: var(--up); }
.station-empty { margin: 28px 19px; color: var(--muted); font-size: 0.75rem; line-height: 1.6; }
.station-status { margin: 14px 0 0; color: var(--muted); font-size: 0.68rem; line-height: 1.6; }
.station-popup { display: grid; min-width: 170px; gap: 6px; color: var(--ink); font-family: var(--sans); }
.station-popup strong { font-size: 0.9rem; }
.station-popup span, .station-popup small { color: var(--muted); font-size: 0.68rem; }
.station-popup b { color: var(--copper); font-family: var(--mono); font-size: 0.9rem; font-weight: 500; }
.station-popup a { color: var(--petrol); font-size: 0.7rem; font-weight: 700; text-decoration: none; }
.leaflet-container { font-family: var(--sans); }
.leaflet-control-zoom a { color: var(--petrol) !important; }

.insight-section { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 30px; align-items: end; }
.insight-copy h2 { max-width: 450px; margin-bottom: 20px; }
.insight-copy p:not(.eyebrow) { max-width: 510px; margin-bottom: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.insight-metric, .insight-range { padding-top: 16px; border-top: 2px solid var(--copper); }
.insight-range { border-top-color: var(--petrol); }
.insight-metric strong, .insight-range strong { display: block; margin: 18px 0 7px; font-family: var(--mono); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.07em; }
.insight-metric strong { color: var(--up); }
.insight-metric small, .insight-range small { color: var(--muted); font-size: 0.68rem; }

.methodology-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10vw; align-items: center; }
.method-intro p:not(.eyebrow) { max-width: 415px; margin: 20px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.method-points { border-top: 1px solid var(--line-dark); }
.method-points > div { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 19px; min-height: 65px; border-bottom: 1px solid var(--line); }
.method-points strong { color: var(--copper); font-family: var(--mono); font-size: 0.72rem; font-weight: 500; }
.method-points span { color: var(--muted); font-size: 0.82rem; }
.formula-panel { border-top: 1px solid var(--line-dark); }
.formula-line, .formula-total { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 65px; border-bottom: 1px solid var(--line); }
.formula-line span, .formula-total span { color: var(--muted); font-size: 0.75rem; }
.formula-line strong { font-family: var(--mono); font-size: 1.15rem; font-weight: 500; }
.formula-line em { color: var(--petrol); font-size: 0.88rem; font-style: normal; font-weight: 700; text-align: right; }
.formula-total { grid-template-columns: 1fr auto; border-bottom: 0; }
.formula-total strong { color: var(--copper); font-size: 0.85rem; font-weight: 700; }

.site-footer { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 25px; min-height: 125px; color: var(--muted); font-size: 0.68rem; }
.site-footer p { margin: 0; }
.site-footer > span { text-align: right; }

@media (max-width: 900px) {
  .site-shell { padding: 0 4vw; }
  .hero { grid-template-columns: 1fr; gap: 45px; min-height: 0; padding: 72px 0 60px; }
  .hero-note { max-width: 370px; justify-self: end; }
  .current-layout, .methodology-section { grid-template-columns: 1fr; }
  .forecast-grid { grid-template-columns: 1fr; }
  .news-mini-grid { grid-template-columns: 1fr 1fr; }
  .home-links { grid-template-columns: 1fr 1fr; }
  .forecast-card { min-height: 0; }
  .forecast-card:not(.is-selected) { opacity: 0.72; }
  .insight-section { grid-template-columns: 1fr 1fr; }
  .insight-copy { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > span { text-align: left; }
  .reading-board { min-height: 0; }
  .stations-toolbar { grid-template-columns: 1fr 1fr; }
  .stations-layout { grid-template-columns: 1fr; }
  .station-results { min-height: 0; }
  .station-list { max-height: 390px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 74px; gap: 15px; }
  .site-nav { display: none; }
  .header-status { margin-left: auto; font-size: 0.54rem; }
  .demo-bar { display: block; padding: 10px 0; line-height: 1.5; }
  .demo-bar__marker { display: block; margin-bottom: 3px; }
  .demo-bar__date { display: block; margin: 2px 0 0; }
  .hero { padding: 57px 0 51px; }
  h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
  .section { padding: 64px 0; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-caption { margin-top: 15px; }
  .price-board { grid-template-columns: 1fr; }
  .price-item { min-height: 190px; padding: 24px; border-top: 1px solid var(--line); border-left: 0; }
  .price-item:first-child { border-top: 0; }
  .price-value { margin-top: 34px; font-size: 3.5rem; }
  .market-board { padding: 23px 20px 18px; }
  .market-row { gap: 10px; }
  .market-board__footer { display: block; line-height: 1.7; }
  .market-board__footer > span:last-child { display: block; margin-top: 5px; }
  .reading-board { padding: 23px 20px 18px; }
  .reading-board__footer { display: block; line-height: 1.7; }
  .reading-board__footer > span:last-child { display: block; margin-top: 5px; }
  .section-heading--stations { display: flex; align-items: end; }
  .location-button { width: 100%; justify-content: center; margin-top: 20px; }
  .station-search-field { grid-template-columns: 1fr; gap: 8px; }
  .station-search-field small { grid-column: auto; margin-top: 0; line-height: 1.5; }
  .place-suggestions { top: 119px; left: 19px; right: 19px; }
  .stations-toolbar { grid-template-columns: 1fr; gap: 14px; }
  .station-map { min-height: 360px; }
  .station-results { min-height: 0; }
  .station-list { max-height: 420px; }
  .section-heading--forecast { display: flex; align-items: end; flex-wrap: wrap; }
  .forecast-tabs { width: 100%; margin-top: 22px; }
  .forecast-tab { flex: 1; }
  .forecast-card:not(.is-selected) { display: none; }
  .forecast-card.is-selected { transform: none; }
  .news-subgrid { grid-template-columns: 1fr; }
  .news-mini-grid { grid-template-columns: 1fr; }
  .news-hero { padding: 24px 20px 20px; }
  .home-links { grid-template-columns: 1fr; }
  .home-link { min-height: 0; }
  .history-toolbar { display: block; }
  .history-tabs { margin-top: 16px; }
  .history-tab { flex: 1; text-align: center; }
  .history-chart-wrap { padding-right: 4px; }
  .history-chart { min-height: 230px; }
  .history-footer { flex-wrap: wrap; gap: 10px 18px; line-height: 1.5; }
  .history-footer span:last-child { width: 100%; margin-left: 0; }
  .insight-section { grid-template-columns: 1fr; gap: 27px; }
  .insight-copy { grid-column: auto; }
  .methodology-section { gap: 42px; }
  .formula-line { grid-template-columns: 1fr auto; gap: 10px; }
  .formula-line em { grid-column: 1 / -1; grid-row: 2; margin-top: -25px; text-align: left; font-size: 0.73rem; }
  .formula-line { min-height: 75px; }
  .formula-total { min-height: 65px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
}

.account-nav { display: flex; align-items: center; gap: 12px; margin-left: 20px; }
.account-nav a { color: var(--muted); font-size: 0.78rem; text-decoration: none; white-space: nowrap; }
.account-nav a:hover { color: var(--ink); }
.account-nav .nav-premium { color: var(--copper); font-weight: 700; }
.account-badge { padding: 3px 7px; color: #f8f5ed; background: var(--copper); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.06em; }
.account-logout { margin: 0; }
.account-logout button { padding: 0; color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 0.78rem; }
.account-logout button:hover { color: var(--ink); }

.consent-banner { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: var(--petrol-deep); color: #f8f5ed; }
.consent-banner p { margin: 0; flex: 1; font-size: 0.72rem; line-height: 1.5; }
.consent-banner__actions { display: flex; gap: 8px; }
.consent-banner button { padding: 8px 12px; cursor: pointer; font-size: 0.7rem; border: 1px solid transparent; }
.consent-banner [data-consent="reject"] { color: #f8f5ed; background: transparent; border-color: #f8f5ed; }
.consent-banner [data-consent="accept"] { color: var(--petrol-deep); background: #f8f5ed; font-weight: 700; }

.ads-slot { margin: 16px 0; }
.ads-slot ins { display: block; min-height: 90px; }

.auth-section { max-width: 480px; }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }
.auth-form label { display: grid; gap: 7px; color: var(--muted); font-size: 0.72rem; }
.auth-form input { padding: 11px 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); font: inherit; font-size: 0.85rem; }
.auth-form input:focus { outline: 0; border-color: var(--petrol); box-shadow: 0 0 0 2px rgba(36, 79, 85, 0.12); }
.auth-hint { margin: -6px 0 0; color: var(--muted); font-size: 0.64rem; }
.auth-alt { margin: 16px 0 0; color: var(--muted); font-size: 0.74rem; }
.auth-alt a { color: var(--petrol); font-weight: 700; }

.primary-button { display: inline-block; padding: 12px 18px; color: var(--surface); background: var(--petrol); border: 1px solid var(--petrol); cursor: pointer; font-size: 0.78rem; font-weight: 700; text-decoration: none; text-align: center; }
.primary-button:hover { background: var(--petrol-deep); border-color: var(--petrol-deep); }
.primary-button:disabled { cursor: not-allowed; opacity: 0.55; }

.form-error { margin: 18px 0 0; padding: 11px 14px; color: #7c2f1d; background: var(--copper-soft); border-left: 3px solid var(--copper); font-size: 0.76rem; }
.form-success { margin: 18px 0 0; padding: 11px 14px; color: #1d5a48; background: #ddeae5; border-left: 3px solid var(--down); font-size: 0.76rem; }

.account-panel { margin-top: 22px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); }
.account-row { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.8rem; }
.account-row:first-child { padding-top: 0; }
.account-row span { color: var(--muted); }
.account-row strong { font-family: var(--mono); font-weight: 500; }
.account-actions { margin-top: 18px; }

.premium-lead { max-width: 560px; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.plan { display: flex; flex-direction: column; padding: 26px 26px 22px; background: var(--surface); border: 1px solid var(--line); }
.plan--featured { border-color: var(--copper); }
.plan h3 { margin-bottom: 14px; font-size: 1.15rem; letter-spacing: -0.03em; }
.plan ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); font-size: 0.78rem; line-height: 1.9; }
.plan .primary-button { margin-top: auto; width: 100%; }
.premium-note { margin-top: 14px; color: var(--muted); font-size: 0.68rem; }
.premium-status { margin-top: 24px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); }
.premium-status__badge { display: inline-block; padding: 4px 9px; margin-bottom: 10px; color: #f8f5ed; background: var(--down); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; }
.premium-status p { margin: 0 0 16px; color: var(--muted); font-size: 0.82rem; }

.legal-copy { max-width: 720px; color: var(--muted); font-size: 0.85rem; line-height: 1.75; }
.legal-copy ul { padding-left: 20px; }
.legal-copy li { margin-bottom: 10px; }
.legal-copy strong { color: var(--ink); }
.legal-copy a { color: var(--petrol); }

.footer-meta { display: grid; gap: 8px; text-align: right; }
.footer-links { display: flex; gap: 14px; justify-content: flex-end; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 620px) {
  .account-nav { margin-left: 0; gap: 8px; }
  .account-badge { display: none; }
  .consent-banner { flex-direction: column; align-items: stretch; }
  .pricing { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 36px; height: 36px; padding: 8px; background: transparent; border: 1px solid var(--line); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 1200; background: rgba(22, 37, 35, 0.45); }
.site-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1300; width: min(82vw, 320px); display: flex; flex-direction: column; padding: 22px 24px; background: var(--surface); border-right: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(-105%); transition: transform 220ms ease; overflow-y: auto; }
.site-drawer.is-open { transform: translateX(0); }
.site-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.drawer-close { width: 32px; height: 32px; font-size: 1.4rem; line-height: 1; color: var(--ink); background: transparent; border: 1px solid var(--line); cursor: pointer; }
.site-drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 14px; }
.site-drawer__nav a { display: block; padding: 13px 4px; color: var(--ink); font-size: 1rem; font-weight: 650; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.site-drawer__nav a:hover, .site-drawer__nav a.is-active { color: var(--copper); }
.site-drawer__account { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-drawer__account a { display: block; padding: 11px 4px; color: var(--petrol); font-size: 0.9rem; text-decoration: none; }
.site-drawer__account .nav-premium { color: var(--copper); font-weight: 700; }
.site-drawer__account .account-badge { align-self: flex-start; margin: 4px; }
.site-drawer__account .account-logout button { padding: 11px 4px; color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 0.9rem; }
body.drawer-open { overflow: hidden; }

@media (max-width: 620px) {
  .nav-toggle { display: flex; }
  .account-nav { display: none; }
}
