:root {
  --ink: #1a392f; --muted: #537168; --bg: #f6fcfa; --line: #e0f0eb;
  --lime: #33bb8f; --green: #30a881; --red: #34bd92; --red-deep: #258a6a;
  --night: #183c31; --paper: #fff;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline-color: #37c99a; }
.header { background: #ffffff; border-color: #e0f0eb; }
.header .brand, .header nav a { color: #1d3b31; }
.header .brand-light, .header nav a:hover, .header nav a.active { color: #34bd92; }
.primary, .site-install, .market-map { background: #34bd92; color: #fff; }
.primary:hover, .site-install:hover, .market-map:hover { background: #279371; }
.driver-strip { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 8px max(14px, calc((100% - 1340px) / 2)); background: #f0fcf8; border-bottom: 1px solid #e1f6ef; scrollbar-width: thin; }
.driver-strip a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 7px 10px; border: 1px solid #d1f0e6; border-radius: 9px; background: white; color: #276f56; min-height: 36px; }
.driver-strip a:first-child { background: #34bd92; color: #fff; border-color: #34bd92; }
.driver-strip a:hover { box-shadow: 0 2px 6px #337b6329; }
.driver-strip .km-icon { width: 15px; height: 15px; flex-basis: 15px; }
.map-home .workspace { min-height: 480px; height: max(480px, calc(100dvh - 126px)); }
.market { background: radial-gradient(ellipse at 92% 2%, #e1faf2 0, transparent 56%), #f5fdfa; color: #1e4337; }
.market-heading h1, .market-heading h2 { color: #194335; }
.market-heading p:last-child, .market-source, .market-empty, .market-chart-head > span { color: #527268; }
.market-heading .market-kicker { color: #2fa27c; }
.market-card { color: #1e4c3d; background: #fff; border-color: #d1ebe3; }
.market-card:hover, .market-card[aria-current] { background: #ecfcf7; border-color: #5fcfab; }
.market-label, .market-card strong small, .market-delta, .market-delta small { color: #4b7064; }
.market-label .km-icon { color: #2fa27c; }
.market-delta.up { color: #a82843; }
.market-delta.down { color: #116648; }
.market-chart { background: #fff; border-color: #dbf1ea; }
.trend-svg text, .oil-quote .trend-svg text { fill: #4b7064; }
.trend-gridline { stroke: #abd2c5; }
.trend-metrics > div { background: #f1fcf9; }
.trend-metrics span, .trend-totals { color: #4b7064; }
.trend-totals b, .trend-metrics strong { color: #214e3f; }
.trend-table summary { color: #2b8c6c; }
.portal-hero, .news-hero { background: radial-gradient(ellipse at 95% 0%, #e0faf1, transparent 75%), #edfcf7; color: #205040; }
.portal-hero p, .news-hero p { color: #4e7b6c; }
.app.dark .sidebar, .app.dark .source { background: #1c3930; }
.sidebar .intro h1, .sidebar .intro h2 { color: var(--ink); }
.app.dark .sidebar .intro h1 { color: white; }
.fuel-tabs button, .route-toggle, .secondary, .summary-fuel, .load-more { background: #edfcf7; color: #247258; }
.fuel-tabs .selected, .mobile-nav button:first-child { background: #34bd92; color: white; }
.station-row:hover, .row-selected, .seo-prices tbody tr:hover { background: #f0fcf8; }
.map-summary { background: #1c4d3d; }
.map-summary .summary-icon, .map-label .pill, .tool-card > span { background: #e1faf2; color: #278767; }
.price-pin, .cluster-pin { background: #1f5141; border-color: #61c0a1; }
.price-pin.best, .price-pin.chosen { background: #31b68b; border-color: #35b58c; }
.map-legend i, .live-dot, .source-dot { background: #33bb8f; }
.footer.km-footer { background: #1b4235; }
.km-footer a:hover { color: #c5f5e5; }
.breadcrumb a, .article a:not(.primary), .page-card > a, .fuel-links a, .seo-prices td strong { color: #2c886a; }
.article-cta, .calc-results > div, .pagination [aria-current], .fuel-links a, .code-wrap, .editor-toolbar button { background: #ecfcf6; color: #266f56; }
.page-card:hover, .sign-card:hover { border-color: #5ac6a2; }
.home-section { padding-top: 36px; padding-bottom: 22px; }
.home-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.home-heading h2, .home-section h2 { line-height: 1.14; letter-spacing: -.035em; font-size: clamp(24px,3.9vw,43px); margin: 0 0 9px; }
.home-heading p, .home-about p:first-child { color: #2d9673; font-weight: 750; margin: 0 0 6px; }
.station-board, .driver-board, .home-about { background: white; border: 1px solid var(--line); border-radius: 18px; padding: clamp(12px,2.4vw,26px); box-shadow: 0 12px 42px #3277610b; }
.driver-filters { display: flex; gap: 9px; align-items: end; flex-wrap: wrap; }
.driver-filters label, .review-comment { display: grid; gap: 5px; font-weight: 720; }
.driver-filters label:first-child { flex: 2 1 190px; }
.driver-filters label:not(:first-child) { flex: 1 1 130px; }
.driver-filters .driver-check { display: flex; align-items: center; min-height: 43px; }
.driver-filters input:not([type=checkbox]), .driver-filters select, .review-comment textarea { width: 100%; padding: 10px 12px; border: 1px solid #c4e3d9; border-radius: 8px; background: #f9fefc; color: #1d4a3b; font-size: 16px; }
.home-station-list { display: grid; gap: 7px; padding: 8px 0 13px; }
.home-station-row { border: 1px solid #e3f2ed; background: #fafefd; border-radius: 12px; display: grid; grid-template-columns: minmax(160px, 1.3fr) minmax(270px, 2fr) auto; gap: 11px; align-items: center; padding: 10px 12px; }
.home-station-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.home-station-name span:last-child { min-width: 0; }
.home-station-name strong, .home-station-name small { display: block; overflow-wrap: anywhere; }
.home-station-name .km-icon, .station-dot { color: #34bd92; flex-shrink: 0; }
.home-station-name small, .home-station-prices small { color: #568677; }
.home-station-prices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.home-station-prices span { display: grid; gap: 2px; padding: 5px 4px; }
.home-station-prices b { font-size: clamp(15px,2vw,20px); color: #226d54; font-variant-numeric: tabular-nums; }
.station-rate-link { border: 1px solid #c5f0e2; padding: 7px 9px; border-radius: 8px; color: #247157; background: #fff; font-weight: 750; white-space: nowrap; }
.station-rate-link:hover { background: #e9fbf5; }
.station-board > small { margin-top: 6px; display: block; color: var(--muted); }
.home-faq { display: grid; gap: 7px; }
.home-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; }
.home-faq summary { color: #256a53; cursor: pointer; font-weight: 750; }
.home-faq p { color: #446c5f; margin: 10px 0 3px; }
.home-about, .review-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.home-review-cta { border-radius: 13px; background: #edfcf7; padding: 16px; align-self: center; }
.home-about p, .home-market-grid p { line-height: 1.7; }
.home-market-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.home-market-grid strong { font-size: clamp(22px,3vw,35px); font-variant-numeric: tabular-nums; color: #247559; }
.review-stars { border: 0; padding: 8px 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 7px; }
.review-stars label { cursor: pointer; display: flex; gap: 2px; align-items: center; padding: 6px; background: #f1fdf9; border-radius: 6px; }
.review-comment { margin-bottom: 12px; }
.review-list article { padding: 10px 0; border-top: 1px solid var(--line); }
.review-list time { float: right; color: #4b7064; }
.review-average { color: #237157; }
.driver-map-canvas { height: clamp(320px,55vh,660px); background: #e9f8f3; border-radius: 13px; z-index: 1; }
.driver-pin { border-radius: 50%; color: #fff; display: grid; place-items: center; background: #34bd92; border: 2px solid white; box-shadow: 0 1px 5px #1b423570; font-weight: bold; }
.driver-results { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 10px; margin: 12px 0; }
.driver-result { padding: 12px; background: #f8fefc; border: 1px solid var(--line); border-radius: 10px; }
.driver-result h3, .driver-popup h3 { margin: 0 0 6px; }
.driver-result p, .driver-popup p { margin: 0 0 6px; }
.driver-result small { display: block; }
.driver-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.driver-links a { text-decoration: underline; color: #2b8b6b; }
.driver-result button { margin-top: 7px; }
.ket-answers { display: grid; gap: 8px; max-width: 720px; }
.ket-answers button { padding: 12px; text-align: left; border: 1px solid #c3eadd; border-radius: 8px; background: #f1fcf9; color: #1d4a3b; cursor: pointer; }
.ket-answers button.ket-correct { background: #dff6e9; border-color: #4a9d63; opacity: 1; }
.ket-answers button.ket-wrong { background: #ffeaee; border-color: #c77e8b; opacity: 1; }
.ket-sign { display: block; width: 160px; height: 100px; object-fit: contain; margin: 12px 0; }
.europe-table th, .europe-table td { white-space: nowrap; }
@media (max-width: 740px) {
  .map-home .workspace { height: max(420px, calc(100dvh - 116px - env(safe-area-inset-top))); min-height: 420px; }
  .mobile-nav { background: #1d4a3b; }
  .mobile-nav a, .mobile-nav button { background: #316c59; }
  .mobile-nav button:first-child { background: #34bd92; }
  .home-station-row { grid-template-columns: 1fr auto; gap: 5px; }
  .home-station-prices { grid-row: 2; grid-column: 1/-1; }
  .station-rate-link { grid-column: 2; grid-row: 1; }
  .home-about, .review-layout { grid-template-columns: 1fr; }
}
@media (max-width: 410px) {
  .home-market-grid { grid-template-columns: 1fr; }
}
.europe-note { padding: 10px 12px; border-radius: 8px; background: #f1fcf9; color: #287158; }
