:root {
  color-scheme: dark;
  --bg: #07111d;
  --bg-2: #0d1a2b;
  --panel: rgba(10, 20, 33, 0.86);
  --panel-strong: rgba(14, 26, 42, 0.94);
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef5ff;
  --muted: #9bb0ca;
  --muted-strong: #b9c9df;
  --green: #4ade80;
  --blue: #5ea8ff;
  --orange: #ff6a00;
  --orange-soft: rgba(255, 106, 0, 0.18);
  --green-soft: rgba(74, 222, 128, 0.14);
  --blue-soft: rgba(94, 168, 255, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 0, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(94, 168, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #091423, var(--bg) 30%, #08111d 100%);
  color: var(--text);
}

a { color: inherit; }

.site-shell { max-width: 1240px; margin: 0 auto; padding: 24px; }

.site-header, .card, .footer-official {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
  color: var(--text);
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(255, 106, 0, 0.2));
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-wordmark-main,
.brand-wordmark-accent {
  font-weight: 900;
}

.brand-wordmark-main {
  color: #ffffff;
}

.brand-wordmark-accent {
  color: var(--orange);
}

.top-nav, .footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.top-nav {
  align-items: center;
  gap: 26px;
}

.top-nav a, .footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 0;
  color: #dbe7f8;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.hero-actions, .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, var(--orange), #ff9346);
  color: #08111d;
  font-weight: 800;
  text-decoration: none;
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button-location {
  background: linear-gradient(135deg, var(--blue), #87c2ff);
}

.card, .page-hero, .stats-grid, .content-grid, .station-list, .section-heading, .home-hero, .trust-band {
  margin-top: 24px;
}

.card { padding: 22px; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.84fr);
  gap: 30px;
  align-items: stretch;
}

.hero-copy-card {
  padding: 14px 4px 14px 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy, .page-hero {
  padding: 28px 4px;
}

.page-hero.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #2ea1ff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow-accent {
  background: var(--orange-soft);
  color: #ffbe8c;
}

.hero-eyebrow,
.ranking-eyebrow {
  margin-bottom: 18px;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 0.98; margin: 0 0 12px; }
h2 { margin: 0 0 12px; font-size: 1.5rem; }
h3 { margin: 0 0 12px; font-size: 1.05rem; }

p, li, small { color: var(--muted); line-height: 1.6; }

.utility-search {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.search-input-shell {
  position: relative;
  display: block;
}

.search-input-shell input {
  padding: 18px 58px 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(142, 171, 209, 0.18);
  background: linear-gradient(180deg, rgba(33, 53, 82, 0.92), rgba(23, 37, 60, 0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.search-input-shell input::placeholder {
  color: #8ea6c8;
}

.search-input-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  color: #a9bddd;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input-icon svg,
.button-icon svg,
.ranking-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-search-button {
  gap: 10px;
  min-height: 60px;
  padding: 0 24px;
  border-radius: 18px;
  color: #fffaf4;
  box-shadow: 0 20px 44px rgba(255, 106, 0, 0.22);
}

.button-icon {
  width: 18px;
  height: 18px;
}

.hero-city-explore {
  margin-top: 24px;
}

.hero-city-label {
  margin: 0 0 12px;
  color: #f2f7ff;
  font-size: 1rem;
  font-weight: 700;
}

.city-pills {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 0;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.city-pills::-webkit-scrollbar {
  display: none;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 30, 49, 0.96), rgba(11, 21, 35, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  text-decoration: none;
  color: #f0f5fe;
  font-weight: 700;
}

.city-pill-link {
  background: transparent;
  border-color: transparent;
  color: #2ea1ff;
  padding-right: 2px;
  flex: 0 0 auto;
  margin-left: 2px;
}

.ranking-hero {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px 24px 22px;
  background:
    radial-gradient(circle at top right, rgba(36, 87, 159, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(7, 20, 35, 0.98), rgba(10, 22, 37, 0.92));
}

.ranking-stack { display: grid; gap: 12px; }

.ranking-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.ranking-row + .ranking-row {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ranking-row strong { display: block; }
.ranking-row p { margin: 0; }
.ranking-fuel { color: #f4f7fc; font-size: 1.03rem; }

.ranking-station {
  margin-top: 4px;
  color: #d8e1f1;
  font-weight: 700;
  line-height: 1.35;
}

.ranking-location {
  margin-top: 4px;
  color: #99afcb;
  font-size: 0.95rem;
}

.ranking-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #f7fbff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.ranking-badge-gasoleo_a {
  background: linear-gradient(135deg, #111827, #374151);
  border: 1px solid rgba(255,255,255,0.12);
}

.ranking-badge-gasolina_95_e5 {
  background: linear-gradient(135deg, #15803d, #16a34a);
}

.ranking-badge-gasolina_98_e5 {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.price-highlight {
  min-width: 132px;
  text-align: right;
}

.price-highlight strong {
  display: block;
  margin-top: 0;
  font-size: 1.35rem;
  color: inherit;
}

.price-highlight strong span {
  font-size: 0.88rem;
}

.ranking-row-gasoleo_a .price-highlight { color: #f4f7fc; }
.ranking-row-gasolina_95_e5 .price-highlight { color: #4ade80; }
.ranking-row-gasolina_98_e5 .price-highlight { color: #60a5fa; }

.ranking-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(18, 31, 50, 0.92), rgba(13, 24, 40, 0.92));
  color: #40a3ff;
  font-weight: 800;
  text-decoration: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kpi-card {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 108px;
  padding: 18px 22px;
  background:
    radial-gradient(circle at top left, rgba(31, 87, 170, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(10, 20, 33, 0.96), rgba(10, 19, 31, 0.9));
}

.kpi-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 16px 32px rgba(0,0,0,0.18);
}

.kpi-icon svg {
  width: 28px;
  height: 28px;
}

.kpi-card-stations .kpi-icon {
  color: #22c55e;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.22), rgba(10, 35, 24, 0.96));
}

.kpi-card-prices .kpi-icon,
.kpi-card-updated .kpi-icon {
  color: #1d9bff;
  background: radial-gradient(circle at center, rgba(29, 155, 255, 0.2), rgba(8, 28, 48, 0.96));
}

.kpi-copy {
  display: grid;
  gap: 4px;
}

.kpi-copy strong {
  font-size: 1.05rem;
  line-height: 1.15;
}

.kpi-copy > strong {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
  color: #f7fbff;
}

.kpi-copy small,
.kpi-label {
  color: #d5dfef;
  line-height: 1.35;
}

.kpi-label {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
}

.kpi-card strong,
.mini-stat strong,
.price-block strong {
  font-size: 1.8rem;
  display: block;
  margin-top: 6px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.home-app-promo {
  max-width: 440px;
  margin-left: auto;
}

.home-duo {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section-heading p { margin: 0; }

.feature-list, .steps {
  margin: 0;
  padding-left: 18px;
}

.province-blocks,
.history-grid {
  display: grid;
  gap: 16px;
}

.province-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.province-table {
  display: grid;
  gap: 8px;
}

.province-table-head,
.province-table-row,
.phone-row,
.price-row,
.station-row,
.station-main,
.station-meta,
.app-device-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 0.8fr;
  gap: 12px;
  align-items: center;
}

.province-table-head {
  color: var(--muted);
  font-size: 0.88rem;
}

.province-table-row {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.province-table-row strong { color: var(--green); }

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.city-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.city-card span { color: var(--blue); font-size: 0.92rem; }

.filters, .grid-form { display: grid; gap: 12px; }
.grid-form { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

input, select, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
}

textarea { min-height: 140px; }

.toggle { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.toggle input { width: auto; }

.station-card h2 { margin-bottom: 6px; font-size: 1.35rem; }
.station-main, .station-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.station-meta { margin-top: 14px; }

.badge-light {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #9cf0bc;
}

.station-list.compact, .history-list { display: grid; gap: 10px; }

.station-row {
  grid-template-columns: 1fr auto;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
}

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

.map-canvas, .map-fallback {
  min-height: 360px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(94,168,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
}

.mini-map { min-height: 320px; }

.map-fallback {
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.map-helper { margin-top: 0; }

.app-promo {
  display: grid;
  gap: 12px;
  align-content: start;
}

.app-showcase {
  position: relative;
  max-width: none;
  margin-left: 0;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 34px;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 58%, rgba(255, 106, 0, 0.16), transparent 18%),
    radial-gradient(circle at 70% 72%, rgba(94, 168, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(9, 20, 34, 0.96), rgba(8, 18, 31, 0.92));
}

.app-showcase::before,
.app-showcase::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.app-showcase::before {
  width: 340px;
  height: 340px;
  right: -90px;
  bottom: -120px;
  border: 1px solid rgba(255, 106, 0, 0.24);
  box-shadow:
    0 0 0 28px rgba(255, 106, 0, 0.05),
    0 0 0 56px rgba(255, 106, 0, 0.025);
}

.app-showcase::after {
  width: 280px;
  height: 280px;
  right: 180px;
  bottom: -96px;
  border: 1px solid rgba(94, 168, 255, 0.2);
  box-shadow: 0 0 0 24px rgba(94, 168, 255, 0.035);
}

.app-showcase-copy,
.app-showcase-visual {
  position: relative;
  z-index: 1;
}

.app-showcase-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.app-showcase .eyebrow-accent {
  margin-bottom: 0;
  background: transparent;
  color: #ff9c3d;
}

.app-showcase-copy h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.55rem, 4.6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.app-showcase-copy h2 span {
  color: var(--orange);
}

.app-showcase-copy > p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.65;
}

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.app-feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 132px;
}

.app-feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.app-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.app-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.app-feature-icon svg {
  width: 26px;
  height: 26px;
}

.app-feature-icon-green {
  color: var(--green);
  background: radial-gradient(circle at 30% 30%, rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.08));
}

.app-feature-icon-orange {
  color: #ff9c3d;
  background: radial-gradient(circle at 30% 30%, rgba(255, 106, 0, 0.22), rgba(255, 106, 0, 0.08));
}

.app-feature-icon-blue {
  color: var(--blue);
  background: radial-gradient(circle at 30% 30%, rgba(94, 168, 255, 0.2), rgba(94, 168, 255, 0.08));
}

.app-feature-icon-violet {
  color: #9e6bff;
  background: radial-gradient(circle at 30% 30%, rgba(158, 107, 255, 0.22), rgba(158, 107, 255, 0.08));
}

.app-showcase-actions {
  margin-top: 8px;
}

.app-showcase-actions .button {
  min-width: 218px;
  justify-content: center;
}

.app-showcase-visual {
  position: relative;
  margin: 0;
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}

.app-showcase-visual::before,
.app-showcase-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.app-showcase-visual::before {
  width: min(100%, 320px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(94, 168, 255, 0.16) 0%, rgba(94, 168, 255, 0.06) 40%, transparent 72%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
}

.app-showcase-visual::after {
  width: 190px;
  aspect-ratio: 1;
  left: 58%;
  top: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 156, 61, 0.12), transparent 70%);
  filter: blur(14px);
  transform: translate(-50%, -50%);
}

.app-showcase-mockup {
  display: block;
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(100%, 260px);
  max-height: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.32));
}

.site-footer-shell {
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links a {
  display: flex;
  align-items: center;
  color: #d5dfef;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-tagline,
.footer-copy {
  margin: 0;
  color: #c8d3e3;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-copy {
  justify-self: start;
  white-space: nowrap;
}

.footer-tagline {
  text-align: center;
}

.site-footer .footer-links {
  justify-self: end;
  justify-content: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.empty-state {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
}

.stats-page-shell {
  display: grid;
  gap: 22px;
}

.stats-filter-form {
  display: grid;
  gap: 18px;
}

.stats-filter-field {
  display: grid;
  gap: 8px;
}

.stats-filter-field span,
.stats-segment-group legend,
.stats-context-bar small,
.stats-ranking-price small {
  color: var(--muted);
}

.stats-segment-group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.stats-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.stats-segment {
  position: relative;
  flex: 1 1 160px;
}

.stats-segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stats-segment span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-weight: 800;
  text-align: center;
  background: transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.stats-segment input:checked + span {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.4);
  color: #fff4ea;
}

.stats-context-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.stats-context-bar strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.stats-context-average {
  text-align: right;
}

.stats-context-average span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.stats-context-average strong {
  font-size: 1.35rem;
  color: #f7fbff;
}

.stats-ranking-list {
  display: grid;
  gap: 12px;
}

.stats-ranking-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.stats-ranking-row.is-aggregate {
  align-items: start;
}

.stats-ranking-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
  font-size: 1.05rem;
}

.stats-ranking-copy {
  min-width: 0;
}

.stats-ranking-title {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.stats-ranking-copy p {
  margin: 4px 0 0;
}

.stats-ranking-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats-ranking-price {
  text-align: right;
}

.stats-ranking-price strong {
  display: block;
  margin: 0;
  color: var(--green);
  font-size: 1.35rem;
}

.history-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.notice {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
}

.notice.success { background: rgba(74,222,128,0.12); color: #9cf0bc; }
.notice.error { background: rgba(248,113,113,0.12); color: #fecaca; }
.honeypot { position: absolute; left: -9999px; }

.contact-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

.contact-panel {
  background: linear-gradient(180deg, rgba(7, 19, 33, 0.96), rgba(8, 20, 34, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.contact-panel-info {
  display: flex;
  flex-direction: column;
  padding: 42px 36px 32px;
}

.contact-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(94, 168, 255, 0.22);
  border-radius: 999px;
  background: rgba(94, 168, 255, 0.08);
  color: #b6d6ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel-info h1,
.contact-form-header h2 {
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.contact-panel-info h1 {
  font-size: clamp(2.15rem, 4vw, 3.15rem);
}

.contact-intro {
  max-width: 28rem;
  margin: 16px 0 0;
  color: #b7c7dd;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-info-list {
  display: grid;
  gap: 0;
  margin-top: 38px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.contact-info-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-info-icon,
.contact-highlight-icon {
  display: grid;
  place-items: center;
  color: #74adff;
}

.contact-info-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(94, 168, 255, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at top, rgba(94, 168, 255, 0.18), rgba(94, 168, 255, 0.05));
}

.contact-info-icon svg,
.contact-highlight-icon svg,
.contact-submit svg {
  width: 26px;
  height: 26px;
}

.contact-info-item strong,
.contact-highlight strong {
  display: block;
  margin-bottom: 7px;
  color: #f8fbff;
  font-size: 1.12rem;
}

.contact-info-item p,
.contact-highlight p,
.contact-form-header p,
.contact-form-note {
  margin: 0;
  color: #93a6bf;
  line-height: 1.65;
}

.contact-highlight {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  margin-top: auto;
  padding: 24px 22px;
  border: 1px solid rgba(19, 132, 214, 0.55);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 27, 46, 0.92), rgba(8, 24, 40, 0.88));
}

.contact-highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(16, 132, 214, 0.12);
}

.contact-panel-form {
  padding: 34px 34px 28px;
}

.contact-form-header {
  margin-bottom: 20px;
}

.contact-form-header h2 {
  font-size: clamp(1.95rem, 3vw, 2.55rem);
}

.contact-form-header p {
  margin-top: 10px;
}

.contact-form-header p span,
.contact-form label span em {
  color: #ff8a33;
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: #eff5fe;
  font-size: 0.98rem;
  font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(8, 17, 29, 0.82);
  color: #f8fbff;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7f93ad;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(94, 168, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(94, 168, 255, 0.12);
  background: rgba(9, 21, 36, 0.96);
}

.contact-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  color: #b6c6db;
  font-size: 0.97rem;
}

.contact-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--orange);
}

.contact-checkbox a {
  color: #2aa6ff;
  text-decoration: none;
}

.contact-checkbox a:hover {
  color: #73c0ff;
}

.contact-form-note {
  font-size: 0.93rem;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid #ff7a1a;
  border-radius: 13px;
  background: linear-gradient(180deg, #ff861f, #ff6a00);
  color: #ffffff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.contact-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 18px 34px rgba(255, 106, 0, 0.22);
}

.contact-submit:active {
  transform: translateY(1px);
}

@media (max-width: 980px) {
  .contact-shell,
  .home-hero,
  .home-duo,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .contact-panel-info,
  .contact-panel-form {
    padding: 28px 22px 24px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    justify-content: stretch;
  }

  .contact-submit {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-ranking-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .stats-ranking-price {
    grid-column: 2;
    text-align: left;
  }

  .province-table-head,
  .province-table-row {
    grid-template-columns: 1fr 1fr;
  }

  .province-table-head span:nth-child(3),
  .province-table-head span:nth-child(4),
  .province-table-row span:nth-child(3),
  .province-table-row span:nth-child(4) {
    display: none;
  }

  .ranking-hero {
    max-width: none;
  }

  .home-app-promo {
    max-width: none;
    margin-left: 0;
  }

  .app-showcase {
    gap: 24px;
    padding: 28px 24px;
  }

  .app-showcase-copy h2 {
    max-width: 13ch;
  }

  .app-showcase-visual {
    height: auto;
    padding: 20px 0 4px;
  }

  .app-showcase-mockup {
    max-width: min(100%, 230px);
    max-height: 460px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
  }

  .footer-copy {
    justify-self: center;
  }

  .footer-tagline {
    text-align: center;
  }

  .site-footer .footer-links {
    justify-self: center;
    justify-content: center;
    gap: 18px 28px;
  }
}

@media (max-width: 640px) {
  .stats-context-average {
    text-align: left;
  }

  .stats-segment {
    flex-basis: 100%;
  }
}

/* Public statistics dashboard */
.stats-dashboard {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.stats-dashboard-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 4px 12px;
}

.stats-dashboard-header > div {
  max-width: 760px;
}

.stats-dashboard-header .eyebrow {
  margin-bottom: 10px;
}

.stats-dashboard-header h1 {
  max-width: 780px;
  margin-bottom: 10px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.stats-dashboard-header p {
  max-width: 680px;
  margin: 0;
}

.stats-fuel-form {
  flex: 0 0 330px;
  max-width: 100%;
  display: grid;
  gap: 7px;
}

.stats-fuel-form label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats-fuel-control {
  display: flex;
  gap: 8px;
}

.stats-fuel-control select,
.stats-fuel-control button {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
}

.stats-fuel-control select {
  min-width: 0;
  flex: 1;
  padding: 0 38px 0 14px;
  color: var(--text);
  background: var(--panel-strong);
}

.stats-fuel-control button {
  padding: 0 15px;
  color: #07111d;
  background: var(--orange);
  cursor: pointer;
}

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stats-kpi-card,
.stats-panel,
.stats-ranking-card,
.stats-territorial-card {
  border: 1px solid rgba(149, 180, 216, 0.16);
  background:
    linear-gradient(145deg, rgba(13, 29, 47, 0.94), rgba(5, 17, 30, 0.96));
  box-shadow: 0 14px 34px rgba(0,0,0,0.2);
}

.stats-kpi-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 18px;
  border-radius: 14px;
}

.stats-kpi-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #2ea1ff;
  background: rgba(46, 161, 255, 0.08);
}

.stats-kpi-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.stats-kpi-card > div:last-child {
  min-width: 0;
}

.stats-kpi-card span {
  display: block;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.stats-kpi-card strong {
  display: block;
  margin-top: 2px;
  color: #f8fbff;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.stats-kpi-card strong small {
  color: inherit;
  font-size: 0.52em;
  letter-spacing: 0;
}

.stats-kpi-card p {
  overflow: hidden;
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-kpi-card.is-low .stats-kpi-icon,
.stats-kpi-card.is-low strong {
  color: var(--green);
}

.stats-kpi-card.is-low .stats-kpi-icon {
  background: var(--green-soft);
}

.stats-kpi-card.is-high .stats-kpi-icon,
.stats-kpi-card.is-high strong {
  color: #ff553d;
}

.stats-kpi-card.is-high .stats-kpi-icon {
  background: rgba(255, 85, 61, 0.1);
}

.stats-panel {
  padding: 17px;
  border-radius: 15px;
}

.stats-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.stats-section-heading h2 {
  margin: 1px 0 0;
  font-size: 1.08rem;
}

.stats-section-heading > small {
  color: var(--muted);
  font-size: 0.77rem;
}

.stats-section-kicker {
  color: #2ea1ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats-daily-summary {
  padding-bottom: 9px;
}

.stats-fuel-bars {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stats-fuel-bar-row {
  display: grid;
  grid-template-columns: minmax(125px, 0.72fr) minmax(180px, 2fr) minmax(80px, auto);
  gap: 16px;
  align-items: center;
  min-height: 39px;
  border-bottom: 1px solid rgba(255,255,255,0.065);
}

.stats-fuel-bar-row[hidden] {
  display: none !important;
}

.stats-fuel-name {
  overflow: hidden;
  color: #dfeafb;
  font-size: 0.83rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-fuel-track {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(126, 153, 185, 0.16);
}

.stats-fuel-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 16px currentColor;
}

.stats-fuel-fill.is-orange { color: var(--orange); background: var(--orange); }
.stats-fuel-fill.is-amber { color: #f6b900; background: #f6b900; }
.stats-fuel-fill.is-blue { color: #2688e8; background: #2688e8; }
.stats-fuel-fill.is-teal { color: #09aa95; background: #09aa95; }
.stats-fuel-fill.is-cyan { color: #36c4e8; background: #36c4e8; }
.stats-fuel-fill.is-violet { color: #a879ff; background: #a879ff; }

.stats-fuel-bar-row > strong {
  color: #dce8f8;
  font-size: 0.88rem;
  text-align: right;
}

.stats-fuel-bar-row > strong small {
  color: inherit;
}

.stats-inline-action,
.stats-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #28a7ff;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.stats-inline-action {
  margin: 7px 0 0 -5px;
  padding: 8px 5px;
}

.stats-inline-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.stats-inline-action[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.stats-ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.stats-ranking-card,
.stats-territorial-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: none;
}

.stats-ranking-card h3,
.stats-territorial-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
}

.stats-ranking-card.is-success h3,
.stats-territorial-card.is-success h3,
.stats-ranking-card.is-success .stats-table-price,
.stats-territorial-card.is-success .stats-territorial-row strong {
  color: var(--green);
}

.stats-ranking-card.is-danger h3,
.stats-territorial-card.is-danger h3,
.stats-ranking-card.is-danger .stats-table-price,
.stats-territorial-card.is-danger .stats-territorial-row strong {
  color: #ff553d;
}

.stats-ranking-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.stats-table {
  display: grid;
}

.stats-table-head,
.stats-table-row {
  display: grid;
  grid-template-columns: 28px minmax(120px, 1.25fr) minmax(92px, 0.95fr) 84px;
  gap: 8px;
  align-items: center;
  min-height: 31px;
  padding: 0 13px;
}

.stats-table-head {
  min-height: 28px;
  color: #8196b1;
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-table-head span:last-child,
.stats-table-row > :last-child {
  text-align: right;
}

.stats-table-row {
  border-top: 1px solid rgba(255,255,255,0.055);
  color: #b8c8dc;
  font-size: 0.76rem;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.stats-table-row:hover {
  color: #eef6ff;
  background: rgba(255,255,255,0.045);
}

.stats-table-row > strong:not(.stats-table-price) {
  overflow: hidden;
  color: #d9e5f5;
  font-size: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-ranking-card.is-success .stats-table-row:first-of-type {
  background: rgba(74, 222, 128, 0.12);
}

.stats-ranking-card.is-danger .stats-table-row:first-of-type {
  background: rgba(255, 85, 61, 0.12);
}

.stats-territorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stats-territorial-card h3 {
  border-bottom: 0;
}

.stats-territorial-card h3 svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.stats-territorial-card.is-expanded {
  grid-column: span 2;
}

.stats-territorial-list {
  display: grid;
}

.stats-territorial-row {
  display: grid;
  grid-template-columns: 18px minmax(70px, 0.75fr) minmax(65px, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-top: 1px solid rgba(255,255,255,0.055);
  color: #bac9dc;
  font-size: 0.72rem;
  text-decoration: none;
}

.stats-territorial-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-territorial-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(126, 153, 185, 0.14);
}

.stats-territorial-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.stats-territorial-card.is-success .stats-territorial-track i {
  background: #69c34a;
}

.stats-territorial-card.is-danger .stats-territorial-track i {
  background: #ff553d;
}

.stats-territorial-row strong {
  white-space: nowrap;
}

.stats-card-action {
  width: 100%;
  justify-content: center;
  min-height: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stats-empty-state {
  padding: 22px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 980px) {
  .stats-dashboard-header {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .stats-fuel-form {
    flex: none;
    width: 100%;
    max-width: 420px;
  }

  .stats-ranking-grid {
    grid-template-columns: 1fr;
  }

  .stats-territorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .stats-kpi-grid,
  .stats-territorial-grid {
    grid-template-columns: 1fr;
  }

  .stats-territorial-card.is-expanded {
    grid-column: auto;
  }

  .stats-kpi-card {
    min-height: 112px;
  }
}

@media (max-width: 560px) {
  .stats-dashboard {
    margin-top: 12px;
  }

  .stats-dashboard-header {
    padding-top: 10px;
  }

  .stats-dashboard-header h1 {
    font-size: 2.35rem;
  }

  .stats-fuel-control {
    align-items: stretch;
    flex-direction: column;
  }

  .stats-fuel-bar-row {
    grid-template-columns: minmax(92px, 0.8fr) minmax(90px, 1.25fr) 76px;
    gap: 9px;
  }

  .stats-table-head,
  .stats-table-row {
    grid-template-columns: 24px minmax(110px, 1fr) 76px;
  }

  .stats-table-head > :nth-child(3),
  .stats-table-row > :nth-child(3) {
    display: none;
  }

  .stats-panel {
    padding: 13px;
  }

  .stats-territorial-row {
    grid-template-columns: 18px minmax(90px, 1fr) auto;
  }

  .stats-territorial-track {
    display: none;
  }
}

/* Public explore */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.explore-page {
  --explore-blue: #0ea5e9;
  --explore-green: #22c55e;
  --explore-border: rgba(148, 163, 184, 0.2);
  margin-top: 24px;
}

.explore-intro {
  margin-bottom: 18px;
}

.explore-intro .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--explore-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.explore-intro h1 {
  max-width: none;
  margin: 0 0 4px;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.explore-intro p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1rem;
}

.explore-search {
  display: grid;
  grid-template-columns: minmax(320px, 5fr) minmax(180px, 1.55fr) minmax(200px, 2fr) minmax(140px, 1.4fr);
  gap: 12px;
}

.explore-location-field,
.explore-select {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
}

.explore-location-field svg,
.explore-select svg,
.explore-location-button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: currentColor;
}

.explore-location-field svg,
.explore-select svg {
  position: absolute;
  left: 17px;
  z-index: 1;
  color: #cbd5e1;
  pointer-events: none;
}

.explore-search input,
.explore-search select,
.explore-location-button,
.explore-submit {
  min-height: 52px;
  border-radius: 9px;
  font-size: 0.96rem;
}

.explore-search input,
.explore-search select {
  border-color: var(--explore-border);
  background: #101c2a;
}

.explore-location-field input {
  padding-left: 50px;
}

.explore-select select {
  padding-left: 50px;
  cursor: pointer;
}

.explore-fuel-select select {
  padding-left: 16px;
}

.explore-location-button,
.explore-submit,
.explore-compact-select select,
.station-action,
.explore-view-switch button,
.selected-panel-close,
.explore-recenter-control {
  font: inherit;
}

.explore-location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #078ae0;
  background: #071424;
  color: #22a7ff;
  font-weight: 750;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.explore-location-button:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: #38bdf8;
}

.explore-submit {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease;
}

.explore-submit:hover {
  background: #ff7a1a;
}

.explore-submit:active {
  transform: translateY(1px);
}

.explore-location-button:disabled,
.explore-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.explore-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background: rgba(12, 24, 39, 0.88);
}

.explore-compact-select select {
  width: auto;
  min-width: 150px;
  min-height: 38px;
  padding: 7px 34px 7px 12px;
  border-radius: 8px;
  border-color: var(--explore-border);
  background: #101c2a;
  font-size: 0.9rem;
  cursor: pointer;
}

.explore-sort-select select {
  min-width: 230px;
}

.explore-status {
  min-height: 22px;
  padding: 4px 2px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.explore-status.is-error {
  color: #fda4af;
}

.explore-status.is-success {
  color: #86efac;
}

.explore-view-switch {
  display: none;
}

.explore-results {
  display: block;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  background: #091522;
}

.explore-list-panel {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
}

.explore-results-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
}

.explore-results-header h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.explore-results-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.explore-results-note {
  min-height: 1.3rem;
  margin-top: 6px !important;
  color: #cbd5e1 !important;
  font-size: 0.8rem !important;
}

.explore-station-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.explore-station-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 152px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 9px;
  background: #0d1a29;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.explore-station-card:hover {
  border-color: rgba(14, 165, 233, 0.52);
  background: #102033;
}

.explore-station-card.is-selected {
  border-color: var(--explore-blue);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.16);
}

.station-brand-mark,
.selected-station-brand {
  display: grid;
  place-items: center;
  color: #ff6a00;
  background: #f8fafc;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.station-brand-mark {
  width: 70px;
  height: 70px;
  overflow: hidden;
}

.station-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.station-card-copy {
  min-width: 0;
}

.station-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.station-card-heading h3 {
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-card-heading p,
.station-facts,
.station-updated {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.station-card-heading p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-facts {
  display: flex;
  gap: 13px;
  margin-top: 7px;
}

.station-facts .is-open,
.selected-station-copy em {
  color: var(--explore-green);
  font-style: normal;
}

.station-updated {
  margin-top: 5px;
  color: var(--muted);
}

.cheapest-badge {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 4px;
  background: #2ea043;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.station-card-price {
  display: flex;
  min-width: 118px;
  align-items: flex-end;
  flex-direction: column;
  color: var(--muted);
  text-align: right;
}

.station-card-price strong,
.selected-station-price strong {
  color: #f8fafc;
  font-size: 1.45rem;
  line-height: 1.05;
}

.station-card-price strong small,
.selected-station-price strong small {
  color: var(--muted-strong);
  font-size: 0.75rem;
}

.station-card-price > span,
.station-card-price > small {
  margin-top: 4px;
  font-size: 0.76rem;
}

.is-saving {
  color: var(--explore-green);
}

.is-above {
  color: #fb7185;
}

.station-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.station-action {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 7px;
  background: transparent;
  color: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.station-action:hover {
  border-color: rgba(148, 163, 184, 0.46);
  background: rgba(255, 255, 255, 0.04);
}

.station-action-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.station-action-primary:hover {
  border-color: #ff7a1a;
  background: #ff7a1a;
}

.explore-load-more {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: #0d1a29;
  color: #e2e8f0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.explore-load-more:hover {
  border-color: rgba(14, 165, 233, 0.5);
  background: #102033;
}

.explore-load-more:disabled {
  cursor: wait;
  opacity: 0.65;
}

.explore-map-panel,
.explore-map-shell,
.explore-map-canvas {
  min-width: 0;
  min-height: 0;
}

.explore-map-shell {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #0a1724;
}

.explore-map-canvas,
.explore-map-fallback {
  width: 100%;
  height: 100%;
  min-height: 610px;
  border: 0;
  border-radius: 0;
}

.explore-map-fallback {
  display: grid;
  place-content: center;
  padding: 30px;
  color: var(--muted);
  text-align: center;
  background: #0b1724;
}

.explore-map-fallback strong {
  color: var(--text);
}

.explore-map-empty {
  position: absolute;
  z-index: 500;
  left: 50%;
  top: 50%;
  width: min(360px, calc(100% - 40px));
  padding: 16px 18px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 9px;
  background: rgba(6, 15, 25, 0.9);
  color: var(--muted-strong);
  text-align: center;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
}

.explore-map-empty[hidden] {
  display: none;
}

.explore-map-canvas .leaflet-tile-pane {
  filter: brightness(0.58) saturate(0.72) contrast(1.18) hue-rotate(175deg);
}

.explore-map-canvas .leaflet-control-zoom a,
.explore-recenter-control {
  border-color: rgba(148, 163, 184, 0.24) !important;
  background: #0a1724 !important;
  color: #f8fafc !important;
}

.explore-map-canvas .leaflet-control-attribution {
  background: rgba(5, 12, 20, 0.76);
  color: #94a3b8;
}

.explore-map-canvas .leaflet-control-attribution a {
  color: #cbd5e1;
}

.explore-recenter-control {
  width: 34px;
  height: 34px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.price-marker-wrap,
.user-location-marker-wrap {
  border: 0;
  background: transparent;
}

.price-marker {
  position: relative;
  display: inline-flex;
  min-width: 64px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border: 2px solid #cbd5e1;
  border-radius: 15px;
  background: #07111d;
  color: #fff;
  font-size: 0.91rem;
  font-weight: 850;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.38);
}

.price-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 11px;
  height: 11px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
  background: #07111d;
}

.price-marker.is-highlighted {
  min-width: 70px;
  border-color: var(--orange);
  color: var(--explore-green);
  font-size: 1.02rem;
}

.price-marker.is-highlighted::after {
  border-color: var(--orange);
}

.user-location-marker {
  display: block;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #168bff;
  box-shadow: 0 0 0 5px rgba(22, 139, 255, 0.22);
}

.selected-station-panel {
  position: absolute;
  z-index: 600;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto auto 28px;
  gap: 14px;
  min-height: 104px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: rgba(7, 17, 29, 0.95);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.selected-station-panel[hidden] {
  display: none;
}

.selected-station-brand {
  width: 62px;
  height: 62px;
}

.selected-station-copy,
.selected-station-price {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.selected-station-copy > span,
.selected-station-copy > small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-station-price {
  text-align: right;
}

.selected-station-price > span {
  margin-top: 5px;
  font-size: 0.75rem;
}

.selected-panel-close {
  width: 28px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 1.45rem;
  cursor: pointer;
}

.explore-empty-state {
  display: grid;
  min-height: 220px;
  place-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.explore-empty-state strong {
  color: var(--text);
  font-size: 1rem;
}

.explore-empty-state p {
  max-width: 440px;
  margin: 0 auto 8px;
  font-size: 0.88rem;
}

.explore-empty-state > div {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.explore-station-skeleton {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  min-height: 152px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 9px;
  background: #0d1a29;
}

.explore-station-skeleton > span,
.explore-station-skeleton i {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.08));
  background-size: 200% 100%;
  animation: explore-skeleton 1.2s linear infinite;
}

.explore-station-skeleton > span {
  width: 70px;
  height: 70px;
}

.explore-station-skeleton > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.explore-station-skeleton i {
  width: 70%;
  height: 15px;
}

.explore-station-skeleton i:nth-child(2) {
  width: 92%;
}

.explore-station-skeleton i:nth-child(3) {
  width: 48%;
}

@keyframes explore-skeleton {
  to { background-position: -200% 0; }
}

.explore-location-field:focus-within input,
.explore-select:focus-within select,
.explore-location-button:focus-visible,
.explore-submit:focus-visible,
.explore-compact-select select:focus-visible,
.station-action:focus-visible,
.explore-view-switch button:focus-visible,
.selected-panel-close:focus-visible,
.explore-station-card:focus-visible,
.explore-recenter-control:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.42);
  outline-offset: 2px;
}

@media (max-width: 1120px) {
  .explore-search {
    grid-template-columns: minmax(300px, 1fr) minmax(180px, 0.55fr);
  }

  .explore-submit {
    grid-column: 2;
  }

  .explore-results {
    grid-template-columns: minmax(380px, 45fr) minmax(0, 55fr);
  }

  .explore-station-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .station-brand-mark {
    width: 58px;
    height: 58px;
  }

  .station-card-price {
    position: absolute;
    right: 14px;
    bottom: 14px;
  }

  .station-card-copy {
    padding-right: 94px;
  }

  .selected-station-panel {
    grid-template-columns: 52px minmax(0, 1fr) auto 28px;
  }

  .selected-station-brand {
    width: 52px;
    height: 52px;
  }

  .selected-station-price {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-shell:has(.explore-page) {
    padding: 14px;
  }

  .explore-page {
    margin-top: 18px;
  }

  .explore-search {
    grid-template-columns: 1fr;
  }

  .explore-submit {
    grid-column: auto;
  }

  .explore-toolbar {
    align-items: stretch;
  }

  .explore-compact-select,
  .explore-compact-select select {
    width: 100%;
    min-width: 0;
  }

  .explore-view-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 8px;
    padding: 3px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 9px;
    background: #0d1927;
  }

  .explore-view-switch button {
    min-height: 38px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-weight: 750;
    cursor: pointer;
  }

  .explore-view-switch button[aria-selected="true"] {
    background: rgba(14, 165, 233, 0.13);
    color: #38bdf8;
  }

  .explore-results {
    display: block;
    min-height: 560px;
  }

  .explore-list-panel,
  .explore-map-panel {
    height: 560px;
    border-right: 0;
  }

  .explore-results.is-list-view .explore-map-panel,
  .explore-results.is-map-view .explore-list-panel {
    display: none;
  }

  .explore-map-canvas,
  .explore-map-fallback {
    min-height: 560px;
  }

  .selected-station-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .selected-station-brand {
    width: 48px;
    height: 48px;
  }

  .selected-station-panel .station-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .explore-intro h1 {
    font-size: 1.65rem;
  }

  .explore-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .explore-results-header {
    min-height: 84px;
  }

  .explore-station-card {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 176px;
    padding: 12px;
  }

  .station-brand-mark {
    width: 50px;
    height: 50px;
  }

  .station-card-copy {
    padding-right: 0;
  }

  .station-card-heading {
    display: block;
  }

  .cheapest-badge {
    margin-top: 7px;
  }

  .station-card-price {
    position: static;
    grid-column: 2;
    align-items: flex-start;
    margin-top: 2px;
    text-align: left;
  }

  .station-card-actions {
    flex-wrap: wrap;
  }

  .station-action {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-page *,
  .explore-page *::before,
  .explore-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    gap: 12px;
  }

  .top-nav {
    width: 100%;
    gap: 18px;
  }

  .nav-link::after {
    bottom: -6px;
  }

  .utility-search { grid-template-columns: 1fr; }

  .hero-search-button {
    width: 100%;
  }

  .city-pills {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .app-feature-grid {
    grid-template-columns: 1fr;
  }

  .app-showcase-actions .button {
    min-width: 0;
    width: 100%;
  }

  .site-footer {
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .hero-copy-card,
  .ranking-hero {
    padding: 22px 18px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .ranking-row {
    grid-template-columns: auto 1fr;
  }

  .price-highlight {
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

  .app-showcase {
    padding: 24px 18px;
  }

  .app-showcase-copy h2 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .app-feature-card {
    min-height: 0;
  }

  .app-showcase-visual {
    padding: 12px 0 0;
  }

  .app-showcase-mockup {
    max-width: min(100%, 200px);
    max-height: 400px;
  }
}
