:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #607069;
  --quiet: #edf5f1;
  --soft: #dfeee7;
  --line: #cddbd5;
  --panel: #f7fbf8;
  --accent: #087a52;
  --accent-dark: #04593d;
  --navy: #14384c;
  --surface: #eaf3ef;
  --warn: #b42318;
  --price: #083b2b;
  --shadow: 0 12px 32px rgba(20, 56, 76, 0.1);
  --strong-shadow: 0 18px 42px rgba(20, 56, 76, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(8, 122, 82, 0.08) 0 1px, transparent 1px 64px),
    linear-gradient(180deg, #dfeee8 0%, #eef5f2 34%, #e1edf1 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 56, 76, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(20, 56, 76, 0.06);
}

.topbar-inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  text-decoration: none;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #08a66a 0%, #04764f 58%, #03422f 100%);
  box-shadow:
    0 11px 22px rgba(4, 89, 61, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -9px 18px rgba(0, 0, 0, 0.16);
}

.mark::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(8, 122, 82, 0.18);
  border-radius: 18px;
}

.mark-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
}

.mark-pin {
  fill: rgba(255, 255, 255, 0.96);
}

.mark-pump {
  fill: none;
  stroke: var(--accent-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.mark-check {
  fill: none;
  stroke: #08a66a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  letter-spacing: 0;
  line-height: 1;
  position: relative;
}

.wordmark span {
  color: var(--ink);
}

.wordmark strong {
  color: var(--accent-dark);
}

.wordmark::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: -7px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(8, 122, 82, 0.08));
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover {
  background: var(--quiet);
  color: var(--ink);
}

.search-strip,
.content,
.info-band,
.footer {
  width: min(1160px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.search-strip {
  position: sticky;
  top: 70px;
  z-index: 18;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 122, 82, 0.96), rgba(20, 56, 76, 0.98));
  color: #ffffff;
  box-shadow: var(--strong-shadow);
}

.search-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #bcefd8;
  font-size: 12px;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

#modeLabel {
  flex: 0 0 auto;
  color: #d8eee5;
  font-size: 13px;
  font-weight: 800;
}

.search-body {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 132px 150px 210px 118px 188px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: #f1f8f4;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(4, 38, 29, 0.2);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.required-mark {
  color: #b83535;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfefd;
  color: var(--ink);
  outline: none;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 800;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 122, 82, 0.12);
}

.fuel-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.fuel-tab {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e6f1ec;
  color: var(--ink);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.fuel-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fuel-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.icon-button {
  gap: 8px;
}

.button-icon,
.link-icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn-label {
  min-width: 0;
}

.btn-primary {
  background: linear-gradient(180deg, #0b8d60, var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 18px rgba(4, 89, 61, 0.22);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #dcebe5;
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(8, 122, 82, 0.46);
  background: #e3f3ed;
  color: var(--accent-dark);
}

#locationBtn {
  border-color: rgba(8, 122, 82, 0.28);
  background: linear-gradient(180deg, #f6fffb, #e8f5ef);
  color: var(--accent-dark);
  box-shadow: inset 0 -1px 0 rgba(4, 89, 61, 0.08);
}

#locationBtn:disabled {
  cursor: progress;
  opacity: 0.72;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
}

.results-panel,
.station-page {
  scroll-margin-top: 74px;
}

.panel,
.page-panel {
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-head {
  min-height: 68px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(20, 56, 76, 0.1);
  background: linear-gradient(180deg, #f2faf6, #eaf4ef);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.panel-head p,
#loadingState {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.results {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #edf6f1, #e7f0ed);
}

.station-index-hero .search-title {
  margin-bottom: 0;
}

.station-index-hero .search-title > span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.13);
  color: #e6fff4;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.station-index-hero-copy {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(230, 255, 244, 0.86);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.station-index-content {
  display: grid;
  grid-template-columns: 1fr;
}

.station-index-panel {
  overflow: hidden;
}

.station-index-search-panel {
  padding: 14px;
}

.station-index-search {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) 128px minmax(150px, 0.8fr) 190px 108px auto;
  gap: 10px;
  align-items: end;
}

.station-index-search input,
.station-index-search select {
  background: #ffffff;
  box-shadow: inset 0 -1px 0 rgba(20, 56, 76, 0.05);
}

.station-index-search label {
  min-width: 0;
}

.station-index-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 420px;
}

.station-index-summary span {
  min-height: 28px;
  border: 1px solid rgba(8, 122, 82, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: #174838;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.station-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #edf6f1, #e7f0ed);
  list-style: none;
}

.station-area-link {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfefd, #eef7f2);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.station-area-link:hover,
.station-area-link:focus-visible {
  border-color: rgba(8, 122, 82, 0.5);
  box-shadow: 0 0 0 3px rgba(8, 122, 82, 0.09);
  outline: none;
  transform: translateY(-1px);
}

.station-area-link span {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-area-link strong {
  min-width: 34px;
  min-height: 26px;
  border-radius: 6px;
  background: rgba(8, 122, 82, 0.1);
  color: var(--accent-dark);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.station-area-link strong::after {
  content: " stations";
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.station-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: linear-gradient(180deg, #edf6f1, #e7f0ed);
}

.station-index-card {
  min-height: 134px;
  border: 1px solid rgba(20, 56, 76, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 122, 82, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfefd, #eef7f2);
  color: var(--ink);
  text-decoration: none;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(184px, auto);
  gap: 12px;
  align-items: center;
  padding: 13px;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.station-index-card:hover,
.station-index-card:focus-visible {
  border-color: rgba(8, 122, 82, 0.54);
  box-shadow:
    0 0 0 3px rgba(8, 122, 82, 0.09),
    0 12px 26px rgba(20, 56, 76, 0.11);
  outline: none;
  transform: translateY(-1px);
}

.station-index-rank {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #14384c, #0c2d40);
  color: var(--accent-dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.station-index-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.station-index-name,
.station-index-address,
.station-index-brand,
.station-index-meta,
.station-index-updated {
  display: block;
  min-width: 0;
}

.station-index-name {
  overflow-wrap: anywhere;
  color: #12352e;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.station-index-address {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-index-brand {
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(20, 56, 76, 0.08);
  color: #31574c;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-index-brand-row {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.station-index-best {
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  border: 1px solid rgba(8, 122, 82, 0.18);
  border-radius: 6px;
  background: #dff5eb;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
}

.station-index-meta {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.station-index-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.station-index-prices span {
  min-height: 58px;
  min-width: 84px;
  border: 1px solid rgba(8, 122, 82, 0.18);
  border-radius: 6px;
  background: #f7fcfa;
  color: #073d2b;
  display: grid;
  align-content: center;
  justify-items: center;
  align-items: center;
  justify-content: center;
  padding: 7px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.station-index-prices span.is-lowest {
  border-color: rgba(8, 122, 82, 0.46);
  background: linear-gradient(180deg, #e7fbf2, #d2f1e3);
  box-shadow: inset 0 -1px 0 rgba(4, 89, 61, 0.1);
}

.station-index-prices small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.station-index-prices strong {
  color: var(--price);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.1;
}

.station-index-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.station-index-updated {
  align-self: center;
  justify-self: end;
  max-width: 128px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(8, 122, 82, 0.1);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
}

.station-index-view {
  min-height: 30px;
  border-radius: 6px;
  background: var(--navy);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.station-card {
  width: 100%;
  min-height: 82px;
  border: 1px solid rgba(20, 56, 76, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #f0f8f4, #e9f3ee);
  padding: 12px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  text-align: left;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.station-card:hover,
.station-card.selected {
  border-color: rgba(8, 122, 82, 0.55);
  background:
    linear-gradient(180deg, #eef9f3, #dfeee7);
  box-shadow:
    0 0 0 3px rgba(8, 122, 82, 0.1),
    0 10px 24px rgba(20, 56, 76, 0.1);
  transform: translateY(-1px);
}

.rank {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #d9eee5, #c9e3d8);
  color: var(--accent-dark);
  font-weight: 900;
}

.station-main,
.station-title {
  min-width: 0;
}

.station-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.station-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-brand-logo {
  width: 42px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fcfa;
}

.station-detail-logo {
  width: 58px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.fallback-logo {
  display: inline-grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 1px;
  color: #ffffff;
  background: linear-gradient(145deg, #087a52, #14384c);
  border-color: rgba(8, 122, 82, 0.2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  text-align: center;
}

.station-detail-logo.fallback-logo {
  width: 86px;
  height: 44px;
  border-radius: 6px;
  padding: 5px;
}

.station-brand-logo.fallback-logo {
  width: 52px;
  height: 34px;
  padding: 4px;
  border-radius: 6px;
}

.fallback-logo-mark {
  display: block;
  max-width: 100%;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.station-detail-logo .fallback-logo-mark {
  font-size: 18px;
}

.fallback-logo-text {
  display: block;
  max-width: 100%;
  font-size: 5.5px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-detail-logo .fallback-logo-text {
  font-size: 7px;
}

.station-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-meta {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.stale-text {
  color: var(--warn) !important;
}

.stale-text-yellow {
  color: #9a6700 !important;
}

.stale-text-amber {
  color: #c2410c !important;
}

.stale-text-red {
  color: #b42318 !important;
}

.freshness-alert {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-left: 2px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-weight: 900;
  line-height: 1.2;
}

.freshness-alert-yellow {
  background: #fff8cc;
  color: #8a6500 !important;
}

.freshness-alert-amber {
  background: #ffedd5;
  color: #c2410c !important;
}

.freshness-alert-red {
  background: #fee2e2;
  color: #b42318 !important;
}

.price-board .stale-text {
  color: #ffc1b8 !important;
}

.price-board .stale-text-yellow {
  color: #ffe08a !important;
}

.price-board .stale-text-amber {
  color: #ffb15f !important;
}

.price-board .stale-text-red {
  color: #ff8a80 !important;
}

.price-board .fuel-name small.stale-text {
  color: #ffd8d2 !important;
}

.price-board .fuel-name small.stale-text-yellow {
  color: #ffe08a !important;
}

.price-board .fuel-name small.stale-text-amber {
  color: #ffb15f !important;
}

.price-board .fuel-name small.stale-text-red {
  color: #ff8a80 !important;
}

.sync-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 5px;
  border: 1px solid rgba(5, 150, 105, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(226, 244, 237, 0.72)),
    #e4f5ef;
  color: #164e40;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 18px rgba(15, 57, 82, 0.06);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 3px 8px 3px 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(20, 83, 69, 0.06);
}

.status-chip-muted {
  opacity: 0.82;
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 5px;
  color: #047857;
}

.status-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-icon-data {
  background: rgba(4, 120, 87, 0.1);
}

#priceStats {
  padding: 5px;
}

.fuel-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 9px 4px 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(20, 83, 69, 0.06);
}

.fuel-stat + .fuel-stat {
  margin-left: 0;
}

.fuel-stat-diesel .status-icon {
  background: rgba(15, 57, 82, 0.1);
  color: #0f394f;
}

.fuel-stat-petrol .status-icon {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}

.fuel-stat-body {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.fuel-stat-body strong {
  color: #12352e;
}

.fuel-metrics {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 7px;
}

.fuel-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 3px 7px 3px 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(20, 83, 69, 0.08);
  white-space: nowrap;
}

.metric-icon {
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex: 0 0 21px;
}

.metric-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fuel-metric-low .metric-icon {
  color: #ffffff;
  background: #047857;
}

.fuel-metric-average .metric-icon {
  color: #ffffff;
  background: #14384c;
}

.fuel-metric-high .metric-icon {
  color: #ffffff;
  background: #9f3412;
}

.metric-label {
  color: #547067;
  font-weight: 800;
}

.metric-value {
  color: #163a31;
  font-weight: 900;
}

.price {
  min-width: 82px;
  justify-self: end;
  padding: 7px 8px 6px;
  border: 1px solid rgba(216, 255, 122, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(216, 255, 122, 0.08), transparent 42%),
    #07120e;
  color: #d8ff7a;
  font-family: Consolas, "Courier New", monospace;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  text-align: right;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 8px rgba(216, 255, 122, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -8px 14px rgba(0, 0, 0, 0.34);
}

.empty-results {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(20, 56, 76, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 15%, rgba(8, 122, 82, 0.12), transparent 34%),
    linear-gradient(135deg, #f2faf6, #dfeee7);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}

.empty-results-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(145deg, #08a66a, #14384c);
  color: #fff;
  box-shadow:
    0 14px 28px rgba(20, 56, 76, 0.18),
    inset 0 -10px 18px rgba(0, 0, 0, 0.18);
}

.empty-results-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.empty-results-copy {
  display: grid;
  gap: 6px;
}

.empty-results-copy strong {
  font-size: 22px;
  line-height: 1.15;
}

.empty-results-copy span {
  max-width: 480px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.station-page {
  position: sticky;
  top: 76px;
  overflow: hidden;
  border-color: rgba(216, 255, 122, 0.22);
  background:
    radial-gradient(circle at 86% 0%, rgba(216, 255, 122, 0.14), transparent 28%),
    linear-gradient(180deg, #07130f 0%, #0a241b 54%, #06110d 100%);
  box-shadow: 0 22px 48px rgba(5, 17, 13, 0.28);
}

@media (min-width: 1041px) {
  .station-page {
    top: 282px;
  }
}

.station-head {
  padding: 15px 16px;
  background:
    linear-gradient(135deg, #17211d, #14384c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.station-head strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.station-head p {
  margin: 4px 0 0;
  color: #d9e2de;
  font-size: 13px;
  line-height: 1.35;
}

.brand-emblem {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: min(360px, 48vw);
  height: auto;
  min-height: 44px;
  padding: 7px 12px 7px 8px;
  border-radius: 8px;
  background: #fff;
  color: #17211d;
  font-size: 14px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.brand-emblem > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-board {
  margin: 12px;
  border: 1px solid rgba(216, 255, 122, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(216, 255, 122, 0.04), transparent 24%),
    #08120e;
  color: #eef7f2;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(5, 11, 8, 0.16);
}

@media (min-width: 900px) {
  .station-head strong,
  .price-board {
    cursor: pointer;
  }

  .station-head strong:hover,
  .station-head strong:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .price-board:hover,
  .price-board:focus-visible {
    border-color: rgba(216, 255, 122, 0.36);
  }
}

.board-row {
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row.selected-fuel {
  background:
    linear-gradient(90deg, rgba(216, 255, 122, 0.1), transparent 28%),
    rgba(8, 122, 82, 0.26);
}

.fuel-name {
  min-width: 0;
  display: grid;
  gap: 3px;
  color: #d6e2dd;
  font-size: 12px;
  font-weight: 900;
}

.fuel-name small {
  min-width: 0;
  color: #98aaa1;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
  overflow-wrap: anywhere;
}

.digital-price {
  min-width: 112px;
  padding: 8px 10px 7px;
  border: 1px solid rgba(216, 255, 122, 0.2);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(216, 255, 122, 0.08), transparent 42%),
    #050b08;
  color: #d8ff7a;
  font-family: Consolas, "Courier New", monospace;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(216, 255, 122, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 18px rgba(0, 0, 0, 0.4);
}

.muted-price {
  color: #f1df91;
  border-color: rgba(241, 223, 145, 0.2);
  text-shadow: 0 0 10px rgba(241, 223, 145, 0.3);
}

.unavailable-price {
  min-width: 132px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7e2dc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  text-shadow: none;
}

.digital-price.stale-text:not(.unavailable-price) {
  color: #ffc1b8 !important;
  border-color: rgba(255, 193, 184, 0.34);
  text-shadow: 0 0 10px rgba(255, 193, 184, 0.32);
}

.digital-price.stale-text-yellow:not(.unavailable-price),
.price.stale-text-yellow:not(.unavailable-price) {
  color: #ffe45f !important;
  border-color: rgba(255, 228, 95, 0.45);
  text-shadow: 0 0 10px rgba(255, 228, 95, 0.26);
}

.digital-price.stale-text-amber:not(.unavailable-price),
.price.stale-text-amber:not(.unavailable-price) {
  color: #ff9f43 !important;
  border-color: rgba(255, 159, 67, 0.48);
  text-shadow: 0 0 10px rgba(255, 159, 67, 0.28);
}

.digital-price.stale-text-red:not(.unavailable-price),
.price.stale-text-red:not(.unavailable-price) {
  color: #ff5b57 !important;
  border-color: rgba(255, 91, 87, 0.52);
  text-shadow: 0 0 10px rgba(255, 91, 87, 0.28);
}

.digital-price.unavailable-price.stale-text,
.price.unavailable-price.stale-text {
  color: #e6ddd2 !important;
}

.station-details {
  padding: 0 12px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-width: 0;
  background: transparent;
}

.station-details > * {
  min-width: 0;
  max-width: 100%;
}

.uk-price-context {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(8, 122, 82, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(216, 255, 122, 0.16), transparent 44%),
    #eaf7f1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.context-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, auto);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.context-row span {
  font-weight: 900;
}

.context-row strong {
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.context-row strong.best-price {
  color: #d8ff7a;
}

.context-row strong.above-price {
  color: #ffdf8f;
}

.drive-button {
  min-height: 54px;
  font-size: 18px;
}

.station-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.9fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 255, 122, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 29, 22, 0.98) 0%, rgba(9, 46, 34, 0.96) 100%);
}

.station-main-page {
  max-width: 1160px;
  margin: 0 auto;
  min-height: calc(100vh - 58px);
  padding: 22px 18px 104px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.station-detail-page {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 122, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 8%, rgba(216, 255, 122, 0.22), transparent 25%),
    radial-gradient(circle at 6% 0%, rgba(8, 122, 82, 0.34), transparent 30%),
    linear-gradient(145deg, #07130f 0%, #0c2e22 45%, #06110d 100%);
  box-shadow: 0 30px 74px rgba(5, 17, 13, 0.38);
}

.station-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  min-height: 240px;
  padding: 34px 36px 30px;
  background:
    linear-gradient(90deg, rgba(5, 18, 14, 0.96) 0%, rgba(6, 39, 28, 0.9) 58%, rgba(8, 122, 82, 0.22) 100%),
    radial-gradient(circle at 78% 24%, rgba(216, 255, 122, 0.28), transparent 28%);
  color: #f7fff9;
  border-bottom: 1px solid rgba(216, 255, 122, 0.18);
}

.station-hero::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8ff7a, rgba(8, 122, 82, 0.92), transparent 78%);
}

.station-hero > div,
.station-hero-copy {
  min-width: 0;
}

.station-hero-logo-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  order: 2;
}

.station-hero h1 {
  margin: 8px 0 12px;
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.station-hero p {
  margin: 0;
  color: #c7ddd4;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.station-confirmed-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(134, 239, 172, 0.52);
  border-radius: 999px;
  background: rgba(20, 83, 45, 0.62);
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.station-hero .eyebrow {
  color: #d8ff7a;
}

.large-emblem {
  width: auto;
  max-width: min(260px, 34%);
  height: auto;
  min-height: 42px;
  padding: 8px 11px;
  font-size: 13px;
}

.station-logo-badge {
  max-width: min(280px, 100%);
  min-width: 172px;
  min-height: 118px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #f2f8f5);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.34),
    0 0 0 8px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.station-logo-badge .station-detail-logo {
  width: 148px;
  height: 72px;
}

.station-price-board {
  margin: 0;
  border-color: rgba(216, 255, 122, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 48px rgba(0, 0, 0, 0.3);
}

.detail-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(216, 255, 122, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(7, 19, 15, 0.72);
  color: #a9c9bd;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.detail-line strong {
  color: #f3fff8;
  text-align: right;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.service {
  --service-accent: #d8ff7a;
  --service-accent-rgb: 216, 255, 122;
  --service-bg-start: rgba(18, 61, 46, 0.92);
  --service-bg-end: rgba(9, 34, 26, 0.96);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 54px;
  border: 1px solid rgba(var(--service-accent-rgb), 0.26);
  border-left-width: 3px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(var(--service-accent-rgb), 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(7, 19, 15, 0.86);
  color: #f2fff8;
  padding: 9px 10px 9px 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

.service-shop,
.service-food {
  --service-accent: #f7c948;
  --service-accent-rgb: 247, 201, 72;
  --service-bg-start: rgba(70, 50, 10, 0.92);
  --service-bg-end: rgba(38, 30, 12, 0.96);
}

.service-toilet,
.service-water,
.service-air {
  --service-accent: #72ddf7;
  --service-accent-rgb: 114, 221, 247;
  --service-bg-start: rgba(14, 62, 74, 0.92);
  --service-bg-end: rgba(9, 34, 44, 0.96);
}

.service-wash {
  --service-accent: #8ce99a;
  --service-accent-rgb: 140, 233, 154;
  --service-bg-start: rgba(18, 68, 48, 0.92);
  --service-bg-end: rgba(10, 39, 31, 0.96);
}

.service-cash,
.service-pay {
  --service-accent: #b7f26b;
  --service-accent-rgb: 183, 242, 107;
  --service-bg-start: rgba(42, 67, 22, 0.92);
  --service-bg-end: rgba(24, 39, 18, 0.96);
}

.service-adblue,
.service-lpg,
.service-fuel-24,
.service-charge {
  --service-accent: #ff8a65;
  --service-accent-rgb: 255, 138, 101;
  --service-bg-start: rgba(76, 38, 28, 0.92);
  --service-bg-end: rgba(40, 24, 20, 0.96);
}

.service-parking,
.service-truck {
  --service-accent: #a8b3ff;
  --service-accent-rgb: 168, 179, 255;
  --service-bg-start: rgba(38, 44, 80, 0.92);
  --service-bg-end: rgba(24, 28, 49, 0.96);
}

.service-label {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-text-only {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.1);
  color: #c7ddd4;
  background: rgba(255, 255, 255, 0.055);
}

.service-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 6px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.24), transparent 34%),
    rgba(var(--service-accent-rgb), 0.18);
  fill: none;
  stroke: var(--service-accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(var(--service-accent-rgb), 0.2);
}

.notice {
  margin: 0;
  color: #a9c9bd;
  font-size: 13px;
  line-height: 1.45;
  padding: 11px 13px;
  border: 1px solid rgba(216, 255, 122, 0.14);
  border-radius: 10px;
  background: rgba(7, 19, 15, 0.58);
}

.station-access-panel {
  border-top: 1px solid rgba(20, 56, 76, 0.14);
  padding-top: 12px;
}

.station-access-panel summary {
  cursor: pointer;
  list-style: none;
  width: fit-content;
}

.station-access-panel summary::-webkit-details-marker {
  display: none;
}

.station-access-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.station-access-panel:not([open]) .station-access-form {
  display: none;
}

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

.station-access-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.station-access-form input,
.station-access-form select,
.station-access-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  font: inherit;
}

.info-band {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: #14384c;
  box-shadow: 0 8px 22px rgba(20, 56, 76, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.info-band p {
  margin: 0;
  color: #d7e7e0;
  font-size: 13px;
  line-height: 1.45;
}

.station-action-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.station-action-row > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.station-action-row .station-access-panel {
  border-top: 0;
  padding-top: 0;
}

.station-action-row .station-access-panel[open] {
  grid-column: 1 / -1;
}

.station-action-row .station-access-panel summary {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(188, 239, 216, 0.42);
  border-radius: 6px;
  background: #14523f;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: 0 8px 18px rgba(5, 18, 14, 0.18);
}

.station-action-row .report-link span {
  max-width: none;
  white-space: nowrap;
}

.station-action-row .station-access-panel summary:hover,
.station-action-row .station-access-panel summary:focus-visible,
.station-action-row .report-link:hover,
.station-action-row .report-link:focus-visible {
  background: #0f3f31;
  border-color: rgba(188, 239, 216, 0.62);
  color: #ffffff;
  outline: none;
}

.report-link {
  flex: 0 0 auto;
  width: fit-content;
}

.report-link span {
  display: inline-block;
  max-width: 150px;
  line-height: 1.08;
  white-space: normal;
}

.station-bottom-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 25;
  width: min(680px, calc(100% - 24px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid rgba(20, 56, 76, 0.16);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 24px rgba(20, 56, 76, 0.14);
  backdrop-filter: blur(12px);
}

.station-bottom-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(20, 56, 76, 0.14);
  border-radius: 12px;
  background: #f7fbf8;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.station-bottom-action:hover,
.station-bottom-action:focus-visible {
  border-color: rgba(8, 122, 82, 0.32);
  background: #eef8f3;
  outline: none;
}

.station-bottom-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(8, 122, 82, 0.18);
}

.station-bottom-primary:hover,
.station-bottom-primary:focus-visible {
  background: var(--accent-dark);
  color: #ffffff;
}

@media (max-width: 620px) {
  .station-action-row {
    grid-template-columns: 1fr;
  }
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.link-icon {
  width: 17px;
  height: 17px;
}

.footer {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: #17211d;
  color: #d7e7e0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer a {
  color: #bcefd8;
  text-decoration: none;
}

.footer .admin-login-link {
  color: #7f9189;
  font-weight: 700;
  opacity: 0.58;
}

.footer .admin-login-link:hover {
  color: #bcefd8;
  opacity: 1;
}

.page-shell {
  width: min(860px, calc(100% - 32px));
  margin: 24px auto 40px;
  display: grid;
  gap: 14px;
}

.trust-shell {
  width: min(980px, calc(100% - 32px));
}

.page-panel {
  padding: 18px;
  background: #f7fbf8;
}

.trust-hero {
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(8, 122, 82, 0.14), rgba(20, 56, 76, 0.08)),
    #edf7f2;
}

.trust-hero .eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.trust-hero h1 {
  max-width: 720px;
}

.trust-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.trust-summary span {
  min-height: 54px;
  padding: 10px;
  border: 1px solid rgba(8, 122, 82, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: #173f35;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.trust-warning {
  border-color: rgba(181, 83, 4, 0.28);
  background: linear-gradient(180deg, #fff7ed, #f6ead8);
}

.trust-warning h2 {
  color: #92400e;
}

.page-panel h1,
.page-panel h2 {
  margin: 0 0 9px;
}

.page-panel h1 {
  font-size: 32px;
  line-height: 1.1;
}

.page-panel h2 {
  font-size: 20px;
}

.page-panel p,
.page-panel li {
  color: var(--muted);
  line-height: 1.55;
}

.page-panel ul {
  margin: 0;
  padding-left: 20px;
}

.page-panel p + p,
.page-panel p + ul,
.page-panel ul + p {
  margin-top: 10px;
}

.muted-copy {
  color: var(--muted);
}

.feedback-shell,
.admin-shell {
  width: min(1040px, calc(100% - 32px));
}

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

.feedback-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.feedback-pagination span {
  color: var(--muted);
  font-size: 0.92rem;
}

.locked-field,
select.locked-field,
select:disabled {
  background: #eef4f1;
  color: #315149;
  cursor: not-allowed;
}

.feedback-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, #f5fbf7, #eaf4ef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.feedback-card-test {
  border-color: rgba(190, 18, 60, 0.42);
  background: linear-gradient(180deg, #fff1f2, #ffe4e6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 0 1px rgba(190, 18, 60, 0.08);
}

.feedback-card p {
  margin: 0;
  color: #233932;
  overflow-wrap: anywhere;
}

.feedback-card-head,
.admin-actions,
.admin-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feedback-card-head strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.feedback-card-head span,
.feedback-meta,
.admin-small {
  color: var(--muted);
  font-size: 13px;
}

.feedback-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 7px;
  background: #ffffff;
  color: #14384c;
  font-size: 12px;
  font-weight: 900;
}

.feedback-status.public-status {
  border-color: rgba(8, 122, 82, 0.22);
  background: #e0f4eb;
  color: #087a52;
}

.feedback-status.test-status,
.feedback-card-test .feedback-status {
  border-color: rgba(190, 18, 60, 0.32);
  background: #be123c;
  color: #ffffff;
}

.feedback-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.feedback-meta span {
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.65);
}

.feedback-response {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-left: 4px solid var(--accent);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.64);
}

.feedback-response strong {
  color: var(--accent-dark);
  font-size: 13px;
}

.feedback-response span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.feedback-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.feedback-replies,
.admin-replies-list {
  display: grid;
  gap: 10px;
}

.feedback-reply,
.feedback-reply-form,
.admin-reply-row {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.feedback-reply strong,
.admin-reply-row strong {
  color: var(--ink);
}

.feedback-reply span,
.admin-reply-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.feedback-reply p,
.admin-reply-row p {
  margin: 0;
}

.feedback-reply-fields {
  display: grid;
  gap: 10px;
}

.admin-replies-panel {
  display: grid;
  gap: 10px;
}

.admin-replies-panel h3 {
  margin: 0;
  font-size: 16px;
}

.admin-reply-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.admin-reply-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
}

.admin-filters {
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-filters label,
.admin-login label {
  flex: 1 1 180px;
}

.admin-feedback-card textarea {
  min-height: 84px;
}

.admin-ai-draft-panel {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(74, 123, 230, 0.22);
  border-radius: 8px;
  background: #eef4ff;
  color: #19345d;
}

.admin-ai-draft-panel strong {
  font-size: 13px;
}

.admin-ai-draft-panel span {
  color: #315173;
  font-size: 12px;
  font-weight: 800;
}

.admin-dashboard-head,
.admin-head-actions,
.admin-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-dashboard-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-tabs {
  flex-wrap: wrap;
}

.admin-tab {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(20, 56, 76, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.admin-tab.active {
  border-color: rgba(18, 96, 69, 0.36);
  background: #126045;
  color: #ffffff;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-menu-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(20, 56, 76, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 20px rgba(4, 38, 29, 0.06);
}

.admin-menu-card:hover {
  border-color: rgba(18, 96, 69, 0.36);
  background: rgba(241, 248, 244, 0.96);
}

.admin-menu-card strong {
  color: var(--ink);
  font-size: 18px;
}

.admin-menu-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.admin-stat-card {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 20px rgba(4, 38, 29, 0.06);
}

.admin-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.admin-stat-card.attention {
  border-color: rgba(18, 96, 69, 0.32);
  background: rgba(18, 96, 69, 0.11);
}

.admin-stat-card.danger {
  border-color: rgba(184, 53, 53, 0.36);
  background: rgba(184, 53, 53, 0.1);
}

.admin-stat-card.traffic-card {
  border-color: rgba(20, 56, 76, 0.28);
  background: rgba(20, 56, 76, 0.1);
}

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

.admin-alert {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-alert strong {
  color: var(--ink);
  font-size: 14px;
}

.admin-alert span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-alert.ok {
  border-color: rgba(18, 96, 69, 0.26);
  background: rgba(18, 96, 69, 0.08);
}

.admin-alert.watch {
  border-color: rgba(179, 125, 40, 0.34);
  background: rgba(179, 125, 40, 0.1);
}

.admin-alert.danger {
  border-color: rgba(184, 53, 53, 0.36);
  background: rgba(184, 53, 53, 0.1);
}

.admin-panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.admin-feedback-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.admin-feedback-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-feedback-main strong,
.admin-feedback-main span,
.admin-feedback-main em,
.admin-feedback-side span {
  overflow-wrap: anywhere;
}

.admin-feedback-main em {
  color: #315149;
  font-style: normal;
}

.admin-feedback-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-feedback-details {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 56, 76, 0.1);
}

.admin-feedback-card.open {
  border-color: rgba(18, 96, 69, 0.32);
  background: rgba(241, 248, 244, 0.96);
}

.compact-card .admin-feedback-main em {
  display: none;
}

.admin-system-list {
  display: grid;
  gap: 10px;
}

.admin-system-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.admin-system-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-system-row strong {
  color: var(--ink);
  text-align: right;
}

.admin-system-row.danger-row {
  border-color: rgba(184, 53, 53, 0.34);
  background: rgba(184, 53, 53, 0.09);
}

.admin-system-row.success-row {
  border-color: rgba(8, 122, 82, 0.24);
  background: rgba(8, 122, 82, 0.08);
}

button.admin-system-row {
  width: 100%;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

button.admin-system-row:hover {
  border-color: rgba(8, 122, 82, 0.34);
  background: rgba(8, 122, 82, 0.07);
}

.admin-email-row.active {
  border-color: rgba(8, 122, 82, 0.42);
  background: rgba(8, 122, 82, 0.09);
}

.admin-email-row.unread strong {
  font-weight: 950;
}

.admin-email-row span {
  display: grid;
  gap: 4px;
}

.admin-email-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.admin-email-body {
  min-height: 320px;
  max-height: 58vh;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 16px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  line-height: 1.55;
}

.admin-password-form {
  display: grid;
  gap: 10px;
}

.admin-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-station-edit-form {
  padding: 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: #fff;
}

.admin-wide-card {
  grid-column: 1 / -1;
}

.admin-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.admin-check-row label,
.admin-user-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-user-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.admin-user-form .admin-check-row,
.admin-user-form button {
  align-self: end;
}

.admin-user-form .admin-check-row {
  grid-column: span 2;
}

.admin-security-row,
.admin-audit-row,
.admin-user-row {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.admin-security-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-user-row {
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

.admin-security-row div,
.admin-audit-row,
.admin-user-main {
  min-width: 0;
}

.admin-security-row strong,
.admin-audit-row strong,
.admin-user-main strong {
  display: block;
  color: var(--ink);
}

.admin-security-row span,
.admin-security-row em,
.admin-audit-row span,
.admin-audit-row em,
.admin-user-main span,
.admin-user-main em {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.admin-user-controls {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 0.8fr) repeat(3, auto) auto auto;
  gap: 8px;
  align-items: end;
}

.admin-user-controls label {
  margin: 0;
}

.admin-user-controls input[type="text"],
.admin-user-controls select {
  min-height: 38px;
}

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

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 800;
}

.admin-checkbox input {
  width: auto;
  min-height: auto;
}

.admin-action-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(18, 96, 69, 0.16);
  border-radius: 8px;
  background: rgba(229, 239, 234, 0.78);
}

.admin-action-checklist legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-action-checklist .admin-checkbox {
  min-height: 38px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.admin-action-checklist .admin-checkbox:has(input:checked) {
  border-color: rgba(18, 96, 69, 0.42);
  background: rgba(18, 96, 69, 0.12);
}

.admin-small {
  margin: 0;
}

.not-found-shell {
  width: min(940px, calc(100% - 32px));
  min-height: calc(100vh - 174px);
  margin: 24px auto 30px;
  display: grid;
  place-items: center;
}

.not-found-panel {
  width: 100%;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(20, 56, 76, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(8, 122, 82, 0.16), transparent 28%),
    linear-gradient(135deg, #f4fbf7, #ddeee6);
  box-shadow: var(--strong-shadow);
  text-align: center;
}

.not-found-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(70px, 14vw, 134px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.not-found-code svg {
  width: clamp(64px, 12vw, 112px);
  height: clamp(64px, 12vw, 112px);
  padding: 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #08a66a, #14384c);
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
  box-shadow:
    0 16px 34px rgba(20, 56, 76, 0.2),
    inset 0 -10px 18px rgba(0, 0, 0, 0.18);
}

.not-found-panel .eyebrow {
  color: var(--accent-dark);
}

.not-found-panel h1 {
  max-width: 680px;
  margin: 0 auto 12px;
  font-size: clamp(30px, 5vw, 52px);
}

.not-found-copy {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .station-index-search {
    grid-template-columns: minmax(0, 1fr) 128px minmax(150px, 0.8fr);
  }

  .station-index-search .btn {
    width: 100%;
  }

  .station-index-summary {
    justify-content: flex-start;
    max-width: none;
  }

  .station-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .admin-alert-list {
    grid-template-columns: 1fr;
  }

  .admin-panel-split {
    grid-template-columns: 1fr;
  }

  .search-body {
    grid-template-columns: minmax(0, 1fr) 132px 150px;
  }

  .search-body .btn {
    grid-column: auto;
  }

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

  .station-page {
    position: static;
  }
}

@media (max-width: 720px) {
  .station-index-search {
    grid-template-columns: 1fr;
  }

  .station-index-search .btn {
    width: 100%;
  }

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

  .station-index-list {
    grid-template-columns: 1fr;
  }

  .station-index-card {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 156px;
  }

  .station-index-rank {
    width: 34px;
    height: 34px;
  }

  .station-index-meta {
    grid-column: 2;
    width: 100%;
    justify-self: start;
    justify-items: start;
  }

  .station-index-prices {
    width: 100%;
  }

  .station-index-prices span {
    min-width: 0;
  }

  .station-index-card-foot {
    width: 100%;
    justify-content: space-between;
  }

  .station-index-updated {
    max-width: none;
    text-align: left;
  }

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

  .topbar-inner,
  .search-strip,
  .content,
  .info-band,
  .footer,
  .page-shell {
    width: min(100% - 20px, 1160px);
  }

  .topbar-inner {
    min-height: 56px;
    gap: 8px;
  }

  .brand {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 13px;
  }

  .mark::after {
    border-radius: 16px;
  }

  .mark-icon {
    width: 30px;
    height: 30px;
  }

  .nav {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 7px 8px;
    font-size: 13px;
  }

  .nav a:first-child {
    display: none;
  }

  .search-strip {
    position: static;
    top: auto;
    z-index: auto;
    padding-top: 12px;
  }

  .search-title {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 25px;
  }

  #modeLabel {
    max-width: 110px;
    text-align: right;
  }

  .search-body {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px;
  }

  .place-field,
  .radius-field,
  .max-age-field,
  .fuel-tabs {
    grid-column: 1 / -1;
  }

  .search-body .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search-body .btn-primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .search-body .btn-secondary {
    grid-column: 1 / -1;
  }

  input,
  select,
  .btn,
  .fuel-tab {
    min-height: 44px;
  }

  .panel-head {
    min-height: auto;
    align-items: flex-start;
    padding: 12px;
  }

  .panel-head h2 {
    font-size: 18px;
  }

  .results {
    padding: 8px;
  }

  .station-card {
    grid-template-columns: 30px minmax(0, 1fr) 76px;
    min-height: 78px;
    gap: 8px;
    padding: 10px;
  }

  .rank {
    width: 30px;
    height: 30px;
  }

  .station-name {
    font-size: 14px;
  }

  .station-meta {
    font-size: 12px;
  }

  .price {
    min-width: 72px;
    font-size: 21px;
  }

  .station-head,
  .station-details {
    padding-left: 12px;
    padding-right: 12px;
  }

  .station-content-grid {
    grid-template-columns: 1fr;
    padding: 14px 12px 18px;
    overflow: hidden;
  }

  .station-content-grid > .station-price-board,
  .station-content-grid > .station-details {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .station-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 146px;
    padding: 18px 15px 16px;
  }

  .station-hero-copy {
    padding-right: 84px;
  }

  .station-hero h1 {
    margin: 5px 0 8px;
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.02;
  }

  .station-hero p {
    font-size: 12px;
    line-height: 1.35;
  }

  .station-hero .eyebrow {
    font-size: 12px;
  }

  .large-emblem {
    max-width: 100%;
  }

  .station-hero-logo-line {
    position: absolute;
    top: 18px;
    right: 16px;
    justify-content: flex-end;
    order: 2;
    align-self: start;
  }

  .station-logo-badge {
    min-width: 74px;
    min-height: 54px;
    padding: 9px 10px;
    border-radius: 16px;
    box-shadow:
      0 16px 30px rgba(0, 0, 0, 0.28),
      0 0 0 5px rgba(255, 255, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .station-logo-badge .station-detail-logo {
    width: 60px;
    height: 34px;
  }

  .station-page {
    border-width: 2px;
    border-color: rgba(8, 122, 82, 0.32);
  }

  .price-board {
    margin: 10px;
  }

  .station-price-board {
    margin: 14px 12px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    min-width: 0;
    border-radius: 16px;
  }

  .digital-price {
    min-width: 88px;
    font-size: 27px;
  }

  .station-price-board .board-row {
    grid-template-columns: minmax(0, 1fr) minmax(86px, auto);
    gap: 8px;
    padding: 10px;
  }

  .station-price-board .digital-price.unavailable-price {
    min-width: 86px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 18px;
    line-height: 1.05;
    white-space: normal;
  }

  .info-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .station-details {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .trust-summary,
  .admin-edit-grid,
  .admin-action-checklist,
  .admin-alert-list,
  .admin-menu-grid,
  .admin-summary-grid,
  .admin-login {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head,
  .admin-feedback-summary {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head,
  .admin-head-actions {
    flex-direction: column;
  }

  .admin-tabs,
  .admin-head-actions {
    width: 100%;
  }

  .admin-tab,
  .admin-head-actions .btn {
    flex: 1 1 auto;
  }

  .admin-feedback-side {
    justify-items: start;
  }

  .feedback-card-head,
  .admin-security-row,
  .admin-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-security-row {
    grid-template-columns: 1fr;
  }
}

/* Admin dashboard v2 */
.admin-body {
  min-height: 100vh;
  background: #eef3f0;
}

.admin-login-screen[hidden],
.admin-dashboard[hidden],
.admin-section[hidden],
[hidden] {
  display: none !important;
}

.admin-app-shell {
  min-height: 100vh;
}

.admin-login-screen {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100vh;
  padding: 32px 18px;
  background:
    linear-gradient(135deg, rgba(7, 122, 82, 0.1), rgba(20, 56, 76, 0.08)),
    #f5f8f6;
}

.admin-login-brand,
.admin-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.admin-login-brand {
  margin-bottom: 22px;
}

.admin-login-card {
  display: grid;
  gap: 22px;
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(20, 56, 76, 0.14);
}

.admin-kicker {
  margin: 0 0 7px;
  color: #087a52;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-login-card h1,
.admin-topline h1 {
  margin: 0;
  color: var(--ink);
}

.admin-login-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-login-form {
  display: grid;
  gap: 13px;
}

.admin-login-form label,
.admin-password-form label,
.admin-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid rgba(20, 56, 76, 0.1);
  background: #0f2f2b;
  color: #ffffff;
}

.admin-sidebar .wordmark,
.admin-sidebar .wordmark strong,
.admin-sidebar .wordmark span {
  color: #ffffff;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 7px;
}

.admin-tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.admin-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 950;
}

.admin-tab span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-tab em {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.admin-tab.active {
  border-color: rgba(255, 255, 255, 0.14);
  background: #ffffff;
  color: #0f2f2b;
}

.admin-tab.active .admin-nav-icon {
  background: #087a52;
  color: #ffffff;
}

.admin-tab:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.admin-sidebar-footer {
  display: grid;
  gap: 8px;
}

.admin-sidebar-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.admin-main {
  min-width: 0;
  padding: 24px;
}

.admin-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-user-pill {
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 56, 76, 0.11);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.admin-live-status {
  max-width: 240px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-hero-panel,
.admin-card,
.admin-section-head {
  border: 1px solid rgba(20, 56, 76, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(20, 56, 76, 0.07);
}

.admin-hero-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.admin-hero-panel h2,
.admin-section-head h2,
.admin-card h2 {
  margin: 0;
  color: var(--ink);
}

.admin-hero-panel h2 {
  max-width: 760px;
  font-size: 24px;
  line-height: 1.2;
}

.admin-hero-actions,
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-section-head,
.admin-card {
  padding: 18px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.admin-card-wide {
  min-width: 0;
}

.admin-station-access-list {
  display: grid;
  gap: 12px;
}

.admin-station-access-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 56, 76, 0.12);
  border-radius: 8px;
  background: #f8fbf9;
}

.admin-station-access-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.admin-station-access-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-station-access-card label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.admin-station-access-card textarea {
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  font: inherit;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.admin-stat-card,
.admin-alert,
.admin-system-row,
.admin-security-row,
.admin-audit-row,
.admin-user-row,
.admin-module-list button,
.admin-placeholder-grid > *,
.admin-disabled-actions {
  border: 1px solid rgba(20, 56, 76, 0.1);
  border-radius: 8px;
  background: #f9fbfa;
}

.admin-stat-card {
  min-height: 92px;
  padding: 14px;
  box-shadow: none;
}

.admin-stat-card span,
.admin-system-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.admin-stat-card strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
}

.admin-stat-card.attention {
  border-color: rgba(8, 122, 82, 0.24);
  background: #edf8f3;
}

.admin-stat-card.danger {
  border-color: rgba(184, 53, 53, 0.25);
  background: #fff2f0;
}

.admin-stat-card.traffic-card {
  border-color: rgba(20, 56, 76, 0.18);
  background: #eef4f2;
}

.admin-alert-list,
.admin-system-list,
.admin-module-list,
.admin-placeholder-grid,
.admin-disabled-actions {
  display: grid;
  gap: 10px;
}

.admin-alert {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 13px;
}

.admin-alert strong,
.admin-module-list strong,
.admin-placeholder-grid strong {
  color: var(--ink);
}

.admin-alert span,
.admin-module-list span,
.admin-placeholder-grid span,
.admin-disabled-actions p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.admin-alert.ok {
  border-color: rgba(8, 122, 82, 0.22);
  background: #eef9f4;
}

.admin-alert.watch {
  border-color: rgba(179, 125, 40, 0.28);
  background: #fff7e9;
}

.admin-alert.danger {
  border-color: rgba(184, 53, 53, 0.28);
  background: #fff2f0;
}

.admin-system-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.admin-system-row strong {
  color: var(--ink);
  text-align: right;
}

.admin-module-list button,
.admin-placeholder-grid > * {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 13px;
  color: inherit;
  text-align: left;
}

.admin-module-list button {
  cursor: pointer;
}

.admin-module-list button:disabled,
.admin-placeholder-grid button:disabled,
.admin-disabled-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

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

.admin-placeholder-grid.single {
  grid-template-columns: 1fr;
}

.admin-lab-form {
  align-content: start;
  display: grid;
  gap: 14px;
}

.admin-lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.admin-lab-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-lab-summary div,
.admin-lab-reply {
  border: 1px solid rgba(20, 56, 76, 0.1);
  border-radius: 8px;
  background: #f9fbfa;
  padding: 13px;
}

.admin-lab-summary strong {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 6px;
}

.admin-lab-summary span,
.admin-lab-reply p:last-child {
  color: var(--ink);
  font-weight: 850;
  line-height: 1.45;
}

.admin-lab-result {
  display: grid;
  gap: 12px;
}

.admin-lab-reply {
  background: #eef4f2;
}

.admin-disabled-actions {
  padding: 14px;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.admin-bulk-bar {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(25, 37, 56, 0.1);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
}

.admin-folder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.admin-folder-tabs button {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(25, 37, 56, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.admin-folder-tabs button.active {
  border-color: rgba(18, 96, 69, 0.34);
  background: rgba(18, 96, 69, 0.1);
  color: var(--ink);
}

.btn-danger {
  border-color: rgba(184, 53, 53, 0.34);
  background: #fff2f0;
  color: #9f2f2f;
}

.admin-bulk-bar label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-bulk-bar select {
  margin-left: 8px;
  min-width: 180px;
}

.admin-feedback-select {
  margin: 0 0 8px;
  width: fit-content;
}

.admin-feedback-list {
  display: grid;
  gap: 12px;
}

.admin-feedback-card {
  background: #ffffff;
}

.admin-feedback-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.admin-feedback-main {
  min-width: 0;
}

.admin-feedback-main strong,
.admin-feedback-main span,
.admin-feedback-main em,
.admin-feedback-side span {
  overflow-wrap: anywhere;
}

.admin-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.admin-password-form {
  display: grid;
  gap: 10px;
}

.admin-security-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 13px;
}

.admin-audit-row {
  padding: 13px;
}

@media (max-width: 1180px) {
  .admin-dashboard {
    grid-template-columns: 218px minmax(0, 1fr);
  }

  .admin-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-form,
  .admin-user-row,
  .admin-user-controls {
    grid-template-columns: 1fr;
  }

  .admin-user-form .admin-check-row {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 14px;
  }

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

  .admin-main {
    padding: 14px;
  }

  .admin-topline,
  .admin-hero-panel,
  .admin-card-head,
  .feedback-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-head-actions,
  .admin-hero-actions {
    justify-content: flex-start;
  }

  .admin-summary-grid,
  .admin-placeholder-grid,
  .admin-lab-grid,
  .admin-lab-summary,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-feedback-summary,
  .admin-security-row,
  .admin-user-row,
  .admin-user-controls,
  .admin-reply-row {
    grid-template-columns: 1fr;
  }

  .admin-reply-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .station-area-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .search-strip,
  .content,
  .info-band,
  .footer,
  .page-shell {
    width: min(100% - 16px, 1160px);
  }

  .nav {
    gap: 0;
  }

  .nav a {
    font-size: 12px;
  }

  .nav a[href="/feedback.html"] {
    display: none;
  }

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

  .radius-field,
  .max-age-field,
  .search-body .btn-primary {
    grid-column: 1;
    grid-row: auto;
  }

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

  .rank {
    display: none;
  }
}
