/* GasBro — a compact, data-first dark interface. */
:root {
  color-scheme: dark;
  --bg: #101411;
  --surface: #171d18;
  --surface-2: #1d251e;
  --surface-3: #242e25;
  --line: #2b352c;
  --text: #e0e7df;
  --muted: #98a598;
  --subtle: #879787;
  --accent: #c2f970;
  --accent-dim: #243323;
  --warning: #e8ba78;
  --radius: 16px;
  --sidebar: 224px;
  --font: "Noto Sans Georgian", sans-serif;
  --number: "Manrope", var(--font);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a,
button {
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
svg {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.4;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
[hidden],
.hidden {
  display: none !important;
}
.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;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.app-sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 34px 16px 24px;
  border-right: 1px solid var(--line);
  background: #121813;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 48px;
  min-height: 41px;
}
.brand .brand-symbol {
  display: none;
  width: 36px;
  height: 36px;
}
.brand .brand-lockup {
  width: 100%;
  max-width: 160px;
  height: auto;
}
.footer-brand img {
  width: 112px;
  height: auto;
}
.nav-caption {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 600;
  padding: 0 14px;
  display: block;
  margin-bottom: 12px;
}
.side-nav {
  display: grid;
  gap: 6px;
}
.side-nav a,
.nav-shortcuts a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.side-nav a > span:first-child,
.nav-shortcuts a > span {
  display: flex;
}
.side-nav a svg,
.nav-shortcuts a svg {
  width: 19px;
  height: 19px;
}
.side-nav a.active {
  color: var(--accent);
  background: #253322;
  box-shadow: inset 0 0 0 1px #34462c;
}
.side-nav i {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: auto;
}
.side-nav a:hover,
.nav-shortcuts a:hover {
  background: var(--surface-3);
  color: var(--text);
}
.side-nav a.active:hover {
  background: #2b3c26;
  color: var(--accent);
}
.nav-shortcuts {
  margin-top: 36px;
}
.nav-shortcuts a {
  min-height: 42px;
  font-size: 12px;
}
.sidebar-note {
  margin: auto 12px 0;
  padding-top: 40px;
  color: var(--subtle);
  font-size: 11px;
}
.sidebar-note > span:first-child {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
}
.sidebar-note strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.sidebar-note p {
  margin-top: 8px;
  line-height: 1.9;
}
.sidebar-location {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
}
.sidebar-location > span {
  font: 600 10px var(--number);
  border: 1px solid var(--line);
  padding: 3px 5px;
  border-radius: 4px;
}
.app-content {
  margin-left: var(--sidebar);
}
.page-shell {
  max-width: 1456px;
  margin: auto;
  padding: 36px 40px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 8px;
}
.eyebrow i {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.accent {
  color: var(--accent);
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface);
}
.icon-button:hover {
  color: var(--accent);
  border-color: var(--subtle);
}
.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.button svg {
  width: 17px;
  height: 17px;
}
.button-primary {
  background: var(--accent);
  color: #172310;
}
.button-primary:hover {
  background: #d3ff96;
}
.button-secondary {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}
.button-secondary:hover {
  background: var(--surface-3);
  border-color: var(--subtle);
}
.text-button {
  font-size: 11px;
  color: var(--muted);
  padding: 10px 5px;
}
.text-button:hover {
  color: var(--accent);
}
select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 28px 10px 12px;
  max-width: 100%;
  min-height: 40px;
  font-size: 12px;
}
.filter-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.fuel-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 8px;
  gap: 4px;
}
.fuel-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.fuel-tab b {
  font: 700 13px var(--number);
  letter-spacing: -0.4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}
.fuel-tab:hover {
  background: var(--surface-2);
  color: var(--text);
}
.fuel-tab[aria-pressed="true"] {
  background: var(--accent);
  color: #1e2b15;
}
.fuel-tab[aria-pressed="true"] b {
  border-color: #8cbf4c;
  background: #b2e565;
}
.filter-toolbar {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
}
.service-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.service-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  color: var(--muted);
  min-height: 38px;
}
.service-filter > svg {
  width: 16px;
  height: 16px;
}
.service-filter .checkbox-mark {
  width: 15px;
  height: 15px;
  border: 1px solid var(--subtle);
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.checkbox-mark svg {
  width: 12px;
  height: 12px;
  visibility: hidden;
}
.service-filter[aria-pressed="true"] {
  color: var(--text);
  border-color: #465543;
  background: #242f23;
}
.service-filter[aria-pressed="true"] .checkbox-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: #1e2b15;
}
.service-filter[aria-pressed="true"] .checkbox-mark svg {
  visibility: visible;
}
.service-filter:hover {
  border-color: var(--muted);
}
.brand-select-label select {
  background: transparent;
  min-width: 155px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}
.comparison-main {
  min-width: 0;
}
.market-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
  gap: 14px;
}
.summary-stat {
  min-width: 0;
}
.summary-stat + .summary-stat {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.summary-stat > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 7px;
}
.summary-stat strong {
  font: 700 24px/1.3 var(--number);
  letter-spacing: -1px;
}
.summary-stat:first-child strong {
  color: var(--accent);
}
.summary-stat strong small {
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 3px;
  color: var(--muted);
  font-weight: 500;
}
.summary-stat .summary-time {
  font: 600 16px/1.95 var(--font);
  letter-spacing: -0.2px;
}
.summary-stat > small {
  font-size: 10px;
  color: var(--subtle);
  display: block;
  margin-top: 5px;
}
.summary-stat .price-stale,
.price-stale {
  color: var(--warning) !important;
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 14px;
}
.results-heading h2 {
  font-size: 14px;
}
.results-heading h2 > span {
  font: 600 10px var(--number);
  color: var(--muted);
  background: var(--surface-3);
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 6px;
  margin-left: 5px;
  vertical-align: middle;
}
.sort-label {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--subtle);
}
.sort-label svg {
  width: 14px;
  height: 14px;
}
.offers-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.offer-header,
.offer-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 104px 92px;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
}
.offer-header {
  background: #1c241d;
  color: var(--subtle);
  font-size: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.offer-header > span:not(:first-child) {
  text-align: right;
}
.offer-row {
  position: relative;
  border-top: 1px solid var(--line);
  min-height: 94px;
}
.offer-row.is-best {
  background: linear-gradient(90deg, #25332280, transparent);
  border-left: 3px solid var(--accent);
  padding-left: 15px;
}
.offer-row:hover {
  background-color: #202920;
}
.offer-identity {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}
.brand-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: #f0f0e7;
  border-radius: 11px;
  padding: 7px;
  overflow: hidden;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-logo-socar {
  padding: 5px 11px;
}
.brand-logo-rompetrol {
  padding: 5px;
}
.brand-logo-connect {
  padding: 6px;
}
.brand-logo-lukoil {
  padding: 5px;
}
.brand-logo-fallback {
  font-weight: 700;
  background: var(--surface-3);
  color: var(--text);
}
.offer-name {
  min-width: 0;
}
.offer-name h3 {
  font: 700 14px/1.4 var(--number);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.best-pill {
  font: 500 9px/1.5 var(--font);
  color: var(--accent);
  white-space: nowrap;
}
.offer-name > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.offer-type {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--subtle);
  font-size: 10px;
  margin-top: 5px;
}
.offer-type svg {
  width: 12px;
  height: 12px;
}
.offer-type.self_service {
  color: #b6cca9;
}
.offer-price,
.offer-total {
  text-align: right;
  align-self: center;
  white-space: nowrap;
}
.offer-price strong {
  font: 700 21px/1.3 var(--number);
  letter-spacing: -0.6px;
}
.is-best .offer-price strong {
  color: var(--accent);
}
.offer-price > small,
.offer-total > small {
  display: block;
  font-size: 10px;
  color: var(--subtle);
  margin-top: 6px;
}
.offer-total strong {
  font: 600 14px/1.4 var(--number);
}
.offer-total .diff-positive {
  color: var(--muted);
}
.offer-total .diff-best {
  color: var(--accent);
}
.offer-freshness {
  font-size: 9px;
  color: var(--subtle);
  display: inline-block;
  margin-left: 6px;
}
.comparison-note {
  display: flex;
  gap: 7px;
  margin-top: 13px;
  font-size: 10px;
  color: var(--subtle);
  line-height: 1.8;
}
.comparison-note svg {
  width: 13px;
  height: 13px;
  margin-top: 3px;
}
.offers-stale-note {
  font-size: 11px;
  color: var(--warning);
  background: #30271b;
  padding: 12px 16px;
  border-bottom: 1px solid #51402a;
}
.empty-state {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  padding: 42px 22px;
  color: var(--muted);
}
.empty-state h2 {
  font-size: 16px;
  color: var(--text);
}
.empty-state p {
  font-size: 12px;
  max-width: 330px;
}
.empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 50%;
}
.empty-inline {
  color: var(--muted);
  font-size: 12px;
  padding: 16px 0;
  text-align: center;
}
.calculator-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 24px;
  scroll-margin-top: 24px;
}
.panel-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.panel-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border: 1px solid #3b4c31;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
}
.panel-heading h2 {
  font-size: 13px;
}
.panel-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.calc-modes {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 9px;
  margin-bottom: 20px;
  gap: 2px;
}
.calc-modes button {
  flex: 1;
  min-height: 35px;
  padding: 6px 3px;
  border-radius: 6px;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.calc-modes button[aria-pressed="true"] {
  background: #303b2d;
  color: var(--text);
  box-shadow: 0 1px 4px #0003;
}
.calc-modes button:hover {
  color: var(--accent);
}
.field-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.number-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #3b4839;
  border-radius: 9px;
  background: var(--bg);
  padding: 12px 14px;
}
.number-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #c2f97014;
}
.number-field input {
  color: var(--text);
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  font: 700 25px/1.3 var(--number);
  appearance: textfield;
  -moz-appearance: textfield;
  padding: 0;
}
.number-field input::-webkit-inner-spin-button,
.number-field input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.number-field input:focus-visible {
  outline: none;
}
.number-field span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.number-field:has([aria-invalid="true"]) {
  border-color: var(--warning);
}
.amount-presets {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}
.amount-presets button {
  flex: 1;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 32px;
  padding: 4px;
  font-size: 10px;
}
.amount-presets button[aria-pressed="true"] {
  border-color: #647b4b;
  color: var(--accent);
  background: var(--accent-dim);
}
.amount-presets button:hover {
  color: var(--accent);
  border-color: var(--subtle);
}
.trip-fields .field-label:not(:first-child) {
  margin-top: 12px;
}
.trip-fields .number-field {
  padding: 9px 12px;
}
.trip-fields .number-field input {
  font-size: 22px;
}
.calculator-result {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed #384534;
}
.calc-result-label {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.calc-result-value {
  font: 700 38px/1.35 var(--number);
  letter-spacing: -1.5px;
  color: var(--accent);
  display: block;
  margin: 5px 0;
}
.calc-result-value small {
  font: 500 13px var(--font);
  letter-spacing: 0;
  color: var(--muted);
}
.calc-winner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 16px;
}
.calc-winner .brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  padding: 5px;
}
.calc-winner .brand-logo-socar {
  padding: 4px 8px;
}
.calc-winner strong {
  font: 700 12px var(--number);
  display: block;
}
.calc-winner small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.calc-saving {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--accent-dim);
  border: 1px solid #33442d;
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.calc-saving span {
  font-size: 10px;
  color: #bccfb0;
}
.calc-saving strong {
  font: 700 16px var(--number);
  white-space: nowrap;
  color: var(--accent);
}
.calc-result-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 10px 0 14px;
}
.calculator-result .button {
  width: 100%;
  font-size: 11px;
}
.calc-footnote {
  font-size: 10px;
  color: var(--subtle);
  line-height: 1.8;
  margin-top: 15px;
}
.field-error {
  color: var(--warning);
  font-size: 11px;
  margin-top: 8px;
}
.brand-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 36px;
  scroll-margin-top: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.section-title {
  display: flex;
  gap: 13px;
  align-items: center;
}
.section-number {
  font: 600 12px var(--number);
  color: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
}
.section-heading h2 {
  font-size: 18px;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.subtle-label {
  font-size: 11px;
  color: var(--subtle);
  white-space: nowrap;
}
.brand-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.catalog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.catalog-card > header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}
.catalog-card h3 {
  font: 700 16px var(--number);
}
.catalog-card header p {
  font-size: 10px;
  color: var(--subtle);
  margin-top: 4px;
}
.catalog-card header > a {
  margin-left: auto;
  color: var(--subtle);
  padding: 6px;
  display: flex;
  border-radius: 6px;
}
.catalog-card header > a:hover {
  color: var(--accent);
  background: var(--surface-3);
}
.catalog-card header > a svg {
  width: 16px;
  height: 16px;
}
.catalog-columns,
.catalog-fuel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 65px 65px;
  gap: 8px;
  align-items: center;
}
.catalog-columns {
  color: var(--subtle);
  font-size: 9px;
  padding: 0 0 9px;
  border-bottom: 1px solid var(--line);
}
.catalog-columns span:not(:first-child) {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}
.catalog-columns svg {
  width: 12px;
  height: 12px;
}
.catalog-fuel {
  width: 100%;
  border-bottom: 1px solid #273029;
  text-align: left;
  padding: 10px 0;
  min-height: 41px;
}
.catalog-fuel:last-child {
  border-bottom: 0;
}
.catalog-fuel:hover {
  background: var(--surface-2);
  color: var(--accent);
}
.catalog-fuel > span {
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.catalog-fuel b {
  font: 600 9px var(--number);
  color: var(--subtle);
  min-width: 22px;
}
.catalog-fuel strong {
  font: 600 12px var(--number);
  text-align: right;
}
.catalog-unit {
  color: var(--subtle);
  font-size: 9px;
  padding-top: 10px;
  margin-top: auto;
}
.catalog-note {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.9;
  margin-top: 14px;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font: 800 17px var(--number);
  letter-spacing: -0.7px;
}
.page-footer p {
  font-size: 10px;
  color: var(--subtle);
}
.page-footer > a:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}
.page-footer > a:last-child:hover {
  color: var(--accent);
}
.page-footer svg {
  width: 14px;
  height: 14px;
}
.data-notice {
  font-size: 12px;
  color: var(--warning);
  background: #30271b;
  border: 1px solid #51402a;
  border-radius: 9px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.data-notice button {
  color: var(--warning);
  text-decoration: underline;
  white-space: nowrap;
}
.loading-text {
  padding: 20px;
  color: var(--muted);
  font-size: 12px;
  grid-column: 1/-1;
}
.skeleton {
  min-height: 80px;
  border-radius: 9px;
  background: linear-gradient(
    100deg,
    var(--surface) 30%,
    #283226 50%,
    var(--surface) 70%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
.offer-skeleton {
  height: 94px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
.catalog-skeleton {
  height: 250px;
}
.toast {
  position: fixed;
  left: calc(50% + var(--sidebar) / 2);
  bottom: 24px;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  max-width: calc(100% - 32px);
  border: 1px solid #536944;
  background: #2a3825;
  color: var(--text);
  box-shadow: 0 8px 30px #0005;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 12px;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript-notice {
  padding: 20px;
  background: var(--surface);
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 80;
}
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.text-divider {
  color: var(--subtle);
  margin: 0 8px;
}
.map-shell {
  padding-bottom: 24px;
}
.map-filters {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
}
.map-filter-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1;
  min-width: 0;
  color: var(--subtle);
}
.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: none;
  outline: none;
  color: var(--text);
  font-size: 12px;
}
.search-field:focus-within {
  border-color: var(--accent);
}
.search-field svg {
  width: 17px;
  height: 17px;
}
.map-fuel-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.map-fuel-label select {
  min-width: 155px;
}
.radius-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
  padding: 8px 0 8px 12px;
  border-left: 1px solid var(--line);
}
.radius-chip svg {
  width: 16px;
  height: 16px;
}
.map-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
  margin-top: 13px;
  border-top: 1px solid var(--line);
}
.brand-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.brand-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font: 600 11px var(--number);
  min-height: 38px;
}
.brand-filter .brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  padding: 4px;
}
.brand-filter .brand-logo-socar {
  padding: 4px 7px;
}
.brand-filter.active,
.brand-filter[aria-pressed="true"] {
  color: var(--accent);
  border-color: #617849;
  background: var(--accent-dim);
}
.brand-filter:hover {
  border-color: var(--subtle);
  color: var(--text);
}
.map-disclaimer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.8;
  color: var(--subtle);
  padding: 13px 0;
}
.map-disclaimer svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
.map-disclaimer strong {
  font-weight: 500;
  color: var(--muted);
}
.map-status {
  font-size: 11px;
  color: var(--warning);
}
.map-status:not(:empty) {
  margin-bottom: 12px;
}
.station-explorer {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  height: calc(100dvh - 342px);
  min-height: 460px;
  max-height: 850px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.station-list-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
}
.list-heading {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.list-heading strong {
  font-size: 12px;
}
.list-heading select {
  font-size: 10px;
  min-height: 34px;
  padding: 7px 23px 7px 8px;
}
.station-list {
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #3d4d36 transparent;
}
.station-attribution {
  font-size: 9px;
  color: var(--subtle);
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}
.map-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #131d16;
}
.map-wrap > #map {
  height: 100%;
  width: 100%;
}
.map-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
  background:
    radial-gradient(ellipse at center, #24332188, transparent 60%),
    linear-gradient(#1b281a50 1px, transparent 1px),
    linear-gradient(90deg, #1b281a50 1px, transparent 1px), #121b14;
  background-size:
    auto,
    40px 40px,
    40px 40px,
    auto;
}
.map-empty h2,
.map-empty > strong {
  font-size: 19px;
  font-weight: 600;
  max-width: 350px;
}
.map-empty p,
.map-empty > span {
  color: var(--muted);
  font-size: 12px;
  max-width: 340px;
}
.map-empty-art {
  width: 100px;
  height: 100px;
  border: 1px solid #475b38;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 25px #283b201f,
    0 0 0 50px #283b2010;
  color: var(--accent);
  margin-bottom: 20px;
}
.map-empty-art svg {
  width: 36px;
  height: 36px;
}
.map-attribution {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #172017;
  font-size: 9px;
  padding: 3px 8px;
  color: var(--muted);
}
.station-card {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.station-card:hover {
  background: var(--surface-2);
}
.station-card.active {
  background: var(--accent-dim);
  box-shadow: inset 3px 0 var(--accent);
}
.station-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.station-info {
  flex: 1;
  min-width: 0;
}
.station-info strong,
.station-info h3 {
  font-size: 12px;
  line-height: 1.5;
  display: block;
}
.station-info p,
.station-info > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.station-price {
  text-align: right;
  white-space: nowrap;
}
.station-price strong {
  font: 700 17px var(--number);
  color: var(--accent);
  display: block;
}
.station-price small,
.station-price span {
  font-size: 9px;
  color: var(--subtle);
  display: block;
}
.station-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0;
}
.station-meta svg {
  width: 13px;
  height: 13px;
}
.station-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.station-focus,
.route-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  min-height: 34px;
}
.route-link {
  color: var(--accent);
  flex: 1;
}
.station-focus:hover,
.route-link:hover {
  background: #32422a;
}
.station-actions svg {
  width: 14px;
  height: 14px;
}
.info-window {
  color: #203026;
  font: 12px/1.6 var(--font);
  padding: 5px;
  max-width: 260px;
}
.info-window strong {
  color: #152014;
}
.info-window p {
  margin: 8px 0;
}
.info-window a {
  color: #355c13;
  font-weight: 600;
  text-decoration: underline;
}
.info-window .brand-logo {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 8px;
}
.map-view-toggle {
  display: none;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
  }
  .offer-header,
  .offer-row {
    grid-template-columns: minmax(180px, 1fr) 130px 120px;
    padding-inline: 22px;
  }
  .offer-row.is-best {
    padding-left: 19px;
  }
  .offer-identity {
    gap: 14px;
  }
  .offer-price strong {
    font-size: 23px;
  }
  .calculator-panel {
    padding: 24px;
  }
  .calc-modes button {
    font-size: 11px;
  }
  .offer-name > p {
    font-size: 12px;
  }
  .offer-type {
    font-size: 11px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 200px;
  }
  .page-shell {
    padding: 28px 24px 0;
  }
  .app-sidebar {
    padding-inline: 12px;
  }
  .side-nav a {
    font-size: 11px;
    gap: 9px;
  }
  .brand {
    padding-inline: 10px;
    gap: 9px;
  }
  .brand > span {
    font-size: 23px;
  }
  .brand small {
    font-size: 9px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
  }
  .calculator-panel {
    padding: 16px;
  }
  .fuel-tab {
    gap: 7px;
    font-size: 11px;
  }
  .fuel-tab b {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .offer-header,
  .offer-row {
    grid-template-columns: minmax(135px, 1fr) 78px 70px;
    gap: 10px;
    padding-inline: 12px;
  }
  .offer-row.is-best {
    padding-left: 9px;
  }
  .offer-identity {
    gap: 9px;
  }
  .offer-identity .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .offer-name h3 {
    font-size: 12px;
  }
  .offer-name > p {
    font-size: 10px;
  }
  .offer-price strong {
    font-size: 19px;
  }
  .offer-total strong {
    font-size: 12px;
  }
  .summary-stat + .summary-stat {
    padding-left: 12px;
  }
  .summary-stat > span {
    font-size: 10px;
  }
  .summary-stat strong {
    font-size: 22px;
  }
  .summary-stat .summary-time {
    font-size: 13px;
    line-height: 2.2;
  }
  .brand-catalog {
    gap: 12px;
  }
  .catalog-card {
    padding: 14px;
  }
  .catalog-columns,
  .catalog-fuel {
    grid-template-columns: minmax(0, 1fr) 56px 56px;
    gap: 5px;
  }
  .catalog-columns {
    font-size: 8px;
  }
  .catalog-fuel > span {
    font-size: 10px;
    gap: 3px;
  }
  .catalog-fuel b {
    font-size: 8px;
    min-width: 19px;
  }
  .station-explorer {
    grid-template-columns: 330px minmax(0, 1fr);
  }
  .map-shell {
    padding-bottom: 24px;
  }
}
@media (max-width: 1020px) {
  :root {
    --sidebar: 80px;
  }
  .app-sidebar {
    padding: 28px 12px;
  }
  .brand {
    padding: 0;
    justify-content: center;
    margin-bottom: 36px;
  }
  .brand .brand-symbol {
    display: block;
  }
  .brand .brand-lockup,
  .nav-caption,
  .nav-shortcuts,
  .sidebar-note,
  .side-nav a > span:nth-child(2),
  .side-nav i {
    display: none;
  }
  .side-nav a {
    justify-content: center;
    min-height: 48px;
  }
  .side-nav a svg {
    width: 21px;
    height: 21px;
  }
  .side-nav a {
    font-size: 0;
  }
  .page-shell {
    padding-top: 28px;
  }
  .brand-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .page-shell {
    padding-inline: 20px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 14px;
  }
  .fuel-tab {
    flex-direction: column;
    gap: 5px;
    padding: 9px 4px;
    font-size: 10px;
  }
  .fuel-tab b {
    border: 0;
    height: 24px;
  }
  .filter-toolbar {
    padding: 10px;
    gap: 8px;
  }
  .service-filter {
    font-size: 10px;
    padding: 7px;
    gap: 5px;
  }
  .service-filter > svg {
    display: none;
  }
  .brand-select-label select {
    min-width: 120px;
    font-size: 10px;
  }
  .offer-header,
  .offer-row {
    grid-template-columns: minmax(0, 1fr) 84px;
  }
  .offer-header > span:last-child,
  .offer-total {
    display: none;
  }
  .offer-name h3 {
    font-size: 13px;
  }
  .offer-row {
    min-height: 96px;
  }
  .market-summary {
    grid-template-columns: 1fr 1fr;
  }
  .summary-stat:last-child {
    display: none;
  }
  .brand-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-columns,
  .catalog-fuel {
    grid-template-columns: minmax(0, 1fr) 64px 64px;
  }
  .catalog-fuel > span {
    font-size: 11px;
  }
  .catalog-columns {
    font-size: 9px;
  }
  .page-footer p {
    max-width: 230px;
  }
  .station-explorer {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .map-filter-top {
    gap: 10px;
  }
  .map-fuel-label > span,
  .radius-chip {
    display: none;
  }
  .brand-filter {
    font-size: 10px;
    gap: 5px;
    padding-right: 7px;
  }
  .brand-filters {
    gap: 6px;
  }
  .map-empty {
    padding: 24px;
  }
  .map-empty h2 {
    font-size: 17px;
  }
}
@media (max-width: 680px) {
  :root {
    --sidebar: 0px;
  }
  html {
    scroll-padding-top: 16px;
  }
  .app-sidebar {
    inset: auto 0 0;
    width: 100%;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
    background: #151d17f5;
    backdrop-filter: blur(16px);
    border: 0;
    border-top: 1px solid #35412f;
    flex-direction: row;
    align-items: center;
  }
  .app-sidebar > .brand {
    display: none;
  }
  .side-nav {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 460px;
    margin: auto;
  }
  .side-nav a {
    flex: 1;
    gap: 8px;
    min-height: 44px;
    padding: 10px;
    border-radius: 10px;
  }
  .side-nav a > span:nth-child(2) {
    display: block;
    font-size: 11px;
  }
  .side-nav a svg {
    width: 18px;
    height: 18px;
  }
  .side-nav a.active {
    box-shadow: none;
    background: #283823;
  }
  .app-content {
    margin-left: 0;
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .page-shell {
    padding: 24px 16px 0;
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 12px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 7px;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -0.7px;
  }
  .page-heading p {
    font-size: 11px;
    margin-top: 6px;
  }
  .refresh-button {
    width: 36px;
    height: 36px;
  }
  .fuel-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 6px;
    gap: 4px;
  }
  .fuel-tab {
    flex-direction: row;
    min-height: 48px;
    gap: 7px;
    font-size: 11px;
    padding: 8px 5px;
  }
  .fuel-tab b {
    font-size: 12px;
    width: 27px;
    height: 27px;
  }
  .filter-toolbar {
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
  }
  .service-filters {
    flex: 1;
  }
  .service-filter {
    font-size: 10px;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    padding: 8px;
    min-height: 38px;
  }
  .brand-select-label {
    width: 100%;
  }
  .brand-select-label select {
    width: 100%;
    font-size: 11px;
    min-height: 36px;
  }
  .workspace-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .comparison-main {
    width: 100%;
    display: contents;
  }
  .market-summary {
    order: 0;
    width: 100%;
    padding-bottom: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .summary-stat:last-child {
    display: block;
  }
  .summary-stat + .summary-stat {
    padding-left: 10px;
  }
  .summary-stat strong {
    font-size: 21px;
  }
  .summary-stat .summary-time {
    font-size: 13px;
    line-height: 2.1;
  }
  .summary-stat > small {
    font-size: 9px;
  }
  .summary-stat > span {
    font-size: 9px;
    line-height: 1.6;
  }
  .summary-stat strong small {
    font-size: 10px;
  }
  .calculator-panel {
    order: 3;
    width: 100%;
    position: static;
    padding: 18px;
    margin-top: 0;
  }
  .results-heading {
    order: 1;
    width: 100%;
    margin: 0 0 -7px;
  }
  .offers-table {
    order: 2;
    width: 100%;
  }
  .comparison-note {
    order: 2;
    margin-top: -7px;
    font-size: 10px;
  }
  .offer-header,
  .offer-row {
    grid-template-columns: minmax(0, 1fr) 83px 66px;
    gap: 12px;
    padding: 14px;
  }
  .offer-header {
    padding-block: 9px;
    font-size: 9px;
  }
  .offer-header > span:last-child,
  .offer-total {
    display: block;
  }
  .offer-row {
    min-height: 98px;
  }
  .offer-row.is-best {
    padding-left: 11px;
  }
  .offer-identity .brand-logo {
    width: 34px;
    height: 34px;
  }
  .offer-name h3 {
    font-size: 13px;
    gap: 5px;
  }
  .offer-name > p {
    font-size: 10px;
  }
  .offer-price strong {
    font-size: 21px;
  }
  .offer-total strong {
    font-size: 12px;
  }
  .offer-type {
    font-size: 9px;
  }
  .offer-price > small,
  .offer-total > small {
    font-size: 9px;
  }
  .best-pill {
    font-size: 8px;
  }
  .panel-heading h2 {
    font-size: 15px;
  }
  .panel-heading p {
    font-size: 11px;
  }
  .calc-modes button {
    font-size: 11px;
    min-height: 38px;
  }
  .field-label {
    font-size: 12px;
  }
  .number-field input {
    font-size: 28px;
  }
  .amount-presets button {
    font-size: 11px;
    min-height: 36px;
  }
  .calculator-result {
    position: relative;
  }
  .calc-result-value {
    font-size: 40px;
  }
  .calc-result-label {
    font-size: 12px;
  }
  .calc-saving span {
    font-size: 12px;
  }
  .calculator-result .button {
    font-size: 12px;
  }
  .calc-footnote,
  .calc-result-note {
    font-size: 11px;
  }
  .brand-section {
    margin-top: 30px;
    padding-top: 24px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-number {
    display: none;
  }
  .subtle-label {
    font-size: 10px;
  }
  .brand-catalog {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-card {
    padding: 18px;
  }
  .catalog-columns,
  .catalog-fuel {
    grid-template-columns: minmax(0, 1fr) 83px 83px;
    gap: 10px;
  }
  .catalog-fuel > span {
    font-size: 12px;
  }
  .catalog-columns {
    font-size: 10px;
  }
  .catalog-fuel strong {
    font-size: 14px;
  }
  .catalog-fuel {
    min-height: 44px;
  }
  .catalog-unit {
    font-size: 10px;
  }
  .catalog-note {
    font-size: 10px;
  }
  .page-footer {
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0;
  }
  .page-footer p {
    order: 3;
    width: 100%;
    max-width: none;
  }
  .page-footer > a:last-child {
    font-size: 10px;
  }
  .toast {
    left: 50%;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: max-content;
  }
  .map-shell {
    padding-bottom: 16px;
  }
  .map-page .page-heading .button {
    font-size: 0;
    padding: 10px;
    min-width: 40px;
  }
  .map-page .page-heading .button > span:last-child {
    display: none;
  }
  .map-page .page-heading .button svg {
    width: 20px;
    height: 20px;
  }
  .map-filters {
    padding: 12px;
  }
  .map-filter-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .search-field {
    flex-basis: 100%;
    padding: 12px;
  }
  .map-fuel-label {
    width: 100%;
    justify-content: space-between;
  }
  .map-fuel-label > span {
    display: block;
  }
  .map-fuel-label select {
    flex: 1;
    max-width: 210px;
  }
  .map-brand-row {
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
  }
  .brand-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .brand-filter {
    font-size: 11px;
    justify-content: center;
    padding: 6px;
    min-height: 40px;
  }
  .map-brand-row > .text-button {
    margin-left: auto;
    min-height: 32px;
    padding-block: 5px;
  }
  .map-disclaimer {
    font-size: 10px;
    padding-block: 12px;
  }
  .map-view-toggle {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 12px;
  }
  .map-view-toggle button {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--muted);
  }
  .map-view-toggle button[aria-pressed="true"] {
    background: var(--accent-dim);
    color: var(--accent);
  }
  .map-view-toggle svg {
    width: 16px;
    height: 16px;
  }
  .station-explorer {
    display: block;
    height: 520px;
    min-height: 420px;
    max-height: 65dvh;
  }
  .station-list-panel {
    height: 100%;
    border: 0;
  }
  .map-wrap {
    height: 100%;
  }
  .station-explorer[data-view="list"] .map-wrap {
    display: none;
  }
  .station-explorer[data-view="map"] .station-list-panel {
    display: none;
  }
  .station-card {
    padding: 16px;
  }
  .station-info strong,
  .station-info h3 {
    font-size: 13px;
  }
  .station-info p,
  .station-info > span {
    font-size: 11px;
  }
  .station-price strong {
    font-size: 20px;
  }
  .station-focus,
  .route-link {
    font-size: 11px;
    min-height: 38px;
  }
  .map-empty h2 {
    font-size: 20px;
  }
}
@media (max-width: 380px) {
  .page-shell {
    padding-inline: 12px;
  }
  h1 {
    font-size: 24px;
  }
  .offer-header,
  .offer-row {
    grid-template-columns: minmax(0, 1fr) 80px;
    gap: 10px;
  }
  .offer-header > span:last-child,
  .offer-total {
    display: none;
  }
  .fuel-tab {
    font-size: 10px;
  }
  .summary-stat strong {
    font-size: 19px;
  }
  .summary-stat .summary-time {
    font-size: 11px;
  }
  .catalog-columns,
  .catalog-fuel {
    grid-template-columns: minmax(0, 1fr) 73px 73px;
  }
  .service-filter {
    font-size: 9px;
  }
}
.side-nav .mobile-calc {
  display: none;
}
.offers-stale-note > svg {
  width: 13px;
  height: 13px;
  margin-right: 4px;
}
.tie-label {
  font: 10px var(--font);
  color: var(--muted);
}
.map-empty .empty-state > svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 18px;
}
.map-empty .empty-state h3 {
  font-size: 19px;
  color: var(--text);
}
@media (max-width: 680px) {
  .side-nav .mobile-calc {
    display: flex;
  }
  .side-nav a {
    flex-direction: column;
    gap: 3px;
    padding: 4px;
    min-height: 48px;
  }
  .side-nav a > span:nth-child(2) {
    font-size: 9px;
  }
  .side-nav a svg {
    width: 19px;
    height: 19px;
  }
}
/* Before consent, one focused permission prompt replaces inactive map controls. */
.map-shell:has([data-gated="true"]) .map-filters,
.map-shell:has([data-gated="true"]) .map-disclaimer,
.map-shell:has([data-gated="true"]) .map-view-toggle,
.map-shell:has([data-gated="true"]) .page-heading > .locate-action {
  display: none;
}
.station-explorer[data-gated="true"] {
  grid-template-columns: 1fr;
  height: calc(100dvh - 210px);
}
.station-explorer[data-gated="true"] .station-list-panel {
  display: none;
}
.station-explorer[data-gated="true"] .map-wrap {
  display: block;
}
@media (max-width: 680px) {
  .brand-filters {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
  }
  .brand-filter {
    padding: 4px;
    font-size: 9px;
  }
  .brand-filter > span:not(.brand-logo) {
    display: none;
  }
  .map-brand-row > .text-button:disabled {
    display: none;
  }
  .station-explorer[data-gated="true"] {
    min-height: 380px;
    max-height: calc(100dvh - 250px);
  }
  .map-empty .empty-state {
    padding: 20px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
