:root {
  --app-viewport-height: 100vh;
  --bg: #edf1f5;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.76);
  --text: #121826;
  --muted: #667085;
  --line: rgba(18, 24, 38, 0.08);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --green: #28a36a;
  --green-soft: rgba(40, 163, 106, 0.12);
  --yellow: #d59a18;
  --yellow-soft: rgba(213, 154, 24, 0.14);
  --red: #e4544a;
  --red-soft: rgba(228, 84, 74, 0.12);
  --blue: #2b6ef2;
  --blue-soft: rgba(43, 110, 242, 0.1);
  --slate: #758195;
  --slate-soft: rgba(117, 129, 149, 0.14);
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --color-campfire-orange: #ff6b1a;
  --color-sunlit-cream: #fef3c7;
  --color-midnight-ink: #171717;
  --color-paper-white: #ffffff;
  --color-parchment: #fffdf9;
  --color-fog-gray: #f5f5f5;
  --color-linen: #f0f0f0;
  --color-ash-gray: #a3a3a3;
  --color-slate: #737373;
  --color-stone: #8f7668;
  --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --radius-card: 12px;
  --radius-card-lg: 16px;
  --radius-pill: 9999px;
  --shadow-refero-sm:
    rgba(0, 0, 0, 0.05) 0px 3px 6px -3px,
    rgba(0, 0, 0, 0.05) 0px 2px 4px -2px,
    rgba(0, 0, 0, 0.05) 0px 1px 2px -1px,
    rgba(0, 0, 0, 0.05) 0px 1px 1px -1px,
    rgba(0, 0, 0, 0.05) 0px 1px 0px -1px;
  --shadow-refero-subtle:
    rgba(0, 0, 0, 0.08) 0px 1px 1px -1px,
    rgba(0, 0, 0, 0.08) 0px 2px 2px -1px,
    rgba(0, 0, 0, 0.08) 0px 3px 3px -1px;
  --shadow-refero-subtle-2: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  --station-card-canvas: var(--color-parchment);
  --station-card-surface: var(--color-paper-white);
  --station-card-muted-surface: var(--color-fog-gray);
  --station-card-divider: var(--color-linen);
  --station-card-text: var(--color-midnight-ink);
  --station-card-muted: var(--color-slate);
  --station-card-soft-text: var(--color-stone);
  --station-card-accent: var(--color-campfire-orange);
  --station-card-accent-soft: var(--color-sunlit-cream);
  --mobile-browser-chrome-clearance: 0px;
}

@supports (height: 100dvh) {
  :root {
    --app-viewport-height: 100dvh;
  }
}

@media (max-width: 1023px) {
  :root {
    --mobile-browser-chrome-clearance: clamp(88px, 13vh, 136px);
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.seo-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  color: inherit;
}

input {
  border: 0;
  outline: 0;
  background: transparent;
}

.app-shell {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  min-height: var(--app-viewport-height);
  height: 100vh;
  height: var(--app-viewport-height);
  overflow: hidden;
  background: var(--bg);
}

.map-root {
  position: absolute;
  inset: 0;
  background: #e7edf3;
}

.leaflet-container {
  width: 100%;
  height: 100%;
  background: #dfe7ef;
  font: inherit;
}

.leaflet-tile-pane {
  filter: saturate(1.18) contrast(1.06) brightness(0.985);
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
  z-index: 1;
}

.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: var(--shadow-soft) !important;
}

.leaflet-control-zoom a {
  width: 42px !important;
  height: 42px !important;
  line-height: 40px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--text) !important;
}

.leaflet-control-zoom a:first-child {
  border-radius: 14px 14px 0 0 !important;
}

.leaflet-control-zoom a:last-child {
  border-radius: 0 0 14px 14px !important;
}

.leaflet-control-attribution {
  margin: 0 8px 8px 0 !important;
  padding: 4px 8px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--muted) !important;
  box-shadow: var(--shadow-soft);
}

.leaflet-control-attribution a {
  color: inherit !important;
}

.map-pin-wrap {
  width: 40px;
  height: 54px;
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  transform-origin: 50% 76%;
  transition:
    transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.26s ease;
  will-change: transform;
}

.map-pin-wrap--active {
  width: 40px;
  height: 54px;
  transform: scale(2.04);
}

.map-pin {
  --pin-accent: var(--green);
  --pin-glow: rgba(40, 163, 106, 0.32);
  --pin-ring: rgba(40, 163, 106, 0.24);
  --pin-shadow: rgba(40, 163, 106, 0.22);
  position: relative;
  width: 38px;
  height: 50px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  transform-origin: 50% 76%;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.map-pin::before,
.map-pin::after {
  content: "";
  position: absolute;
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.map-pin::before {
  top: -4px;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--pin-glow) 0%, rgba(255, 255, 255, 0) 72%);
  opacity: 0.95;
}

.map-pin::after {
  top: -3px;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  transform: translateX(-50%) scale(0.9);
}

.map-pin.map-pin--active {
  filter: saturate(1.12) brightness(1.05);
}

.map-pin--yes {
  --pin-accent: #58db87;
  --pin-glow: rgba(88, 219, 135, 0.3);
  --pin-ring: rgba(88, 219, 135, 0.28);
  --pin-shadow: rgba(88, 219, 135, 0.22);
}

.map-pin--maybe {
  --pin-accent: #f39a38;
  --pin-glow: rgba(243, 154, 56, 0.28);
  --pin-ring: rgba(243, 154, 56, 0.28);
  --pin-shadow: rgba(243, 154, 56, 0.22);
}

.map-pin--limit {
  --pin-accent: #ef8b2c;
  --pin-glow: rgba(239, 139, 44, 0.3);
  --pin-ring: rgba(239, 139, 44, 0.28);
  --pin-shadow: rgba(239, 139, 44, 0.22);
}

.map-pin--no {
  --pin-accent: #ff6b6b;
  --pin-glow: rgba(255, 107, 107, 0.28);
  --pin-ring: rgba(255, 107, 107, 0.28);
  --pin-shadow: rgba(255, 107, 107, 0.22);
}

.map-pin--stale-state {
  --pin-accent: #93a0b2;
  --pin-glow: rgba(147, 160, 178, 0.2);
  --pin-ring: rgba(147, 160, 178, 0.22);
  --pin-shadow: rgba(147, 160, 178, 0.18);
}

.map-pin__body,
.map-pin__tail {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.map-pin__body {
  top: 0;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1a2332 0%, #0f1724 100%);
  border: 3px solid var(--pin-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 24px rgba(15, 23, 42, 0.18),
    0 0 0 2px var(--pin-ring),
    0 8px 20px var(--pin-shadow),
    0 0 24px var(--pin-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-pin__body::before {
  content: "";
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("./assets/pixel-ui/icon_zapravok.svg");
  display: block;
  flex: 0 0 auto;
}

.map-pin__tail {
  top: 24px;
  z-index: 1;
  width: 20px;
  height: 22px;
  background: linear-gradient(180deg, var(--pin-accent), var(--pin-accent));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.16));
}

.map-pin__icon {
  display: none;
}

.map-pin--queue::before {
  background: radial-gradient(circle, rgba(243, 154, 56, 0.34) 0%, rgba(255, 255, 255, 0) 72%);
}

.map-pin--limit::before {
  background: radial-gradient(circle, rgba(239, 139, 44, 0.34) 0%, rgba(255, 255, 255, 0) 72%);
}

.map-pin--stale-state::before {
  background: radial-gradient(circle, rgba(117, 129, 149, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}

.map-pin--queue::after,
.map-pin--limit::after,
.map-pin--stale::after,
.map-pin--changing::after {
  opacity: 1;
}

.map-pin--queue::after {
  box-shadow: 0 0 0 3px rgba(243, 154, 56, 0.2);
}

.map-pin--limit::after {
  box-shadow: 0 0 0 3px rgba(239, 139, 44, 0.24);
}

.map-pin--stale::after {
  background: rgba(117, 129, 149, 0.12);
  box-shadow: 0 0 0 1px rgba(117, 129, 149, 0.3);
}

.map-pin--changing::after {
  box-shadow: 0 0 0 3px rgba(43, 110, 242, 0.18);
}

.map-pin--changing::after {
  animation: map-pin-pulse 1.8s ease-in-out infinite;
  animation-delay: -0.9s;
}

.map-pin--stale-state .map-pin__body {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 20px rgba(15, 23, 42, 0.12),
    0 0 0 2px rgba(147, 160, 178, 0.18),
    0 6px 16px var(--pin-shadow);
}

.map-pin--active .map-pin__body {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 28px rgba(15, 23, 42, 0.22),
    0 0 0 3px var(--pin-ring),
    0 10px 24px var(--pin-shadow),
    0 0 28px var(--pin-glow);
}

.map-pin.map-pin--active::before,
.map-pin.map-pin--active::after {
  display: block;
  opacity: 1;
}

.map-pin.map-pin--active::before {
  animation: map-pin-active-glow 2.2s ease-in-out infinite;
  animation-delay: -1.1s;
}

.map-pin.map-pin--active::after {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px var(--pin-ring);
  animation: map-pin-active-ring 1.9s ease-in-out infinite;
  animation-delay: -0.95s;
}

.map-pin.map-pin--active .map-pin__body {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 28px rgba(15, 23, 42, 0.24),
    0 0 0 3px var(--pin-ring),
    0 12px 28px var(--pin-shadow),
    0 0 34px var(--pin-glow);
}

.leaflet-marker-icon.leaflet-cluster-icon {
  background: transparent;
  border: 0;
}

.cluster-pin {
  --cluster-size: 50px;
  --cluster-ring-width: 5px;
  position: relative;
  width: var(--cluster-size);
  height: var(--cluster-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cluster-pin::before,
.cluster-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.cluster-pin::before {
  background: conic-gradient(var(--cluster-ring));
  box-shadow:
    0 16px 28px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(18, 24, 38, 0.05);
}

.cluster-pin::after {
  inset: var(--cluster-ring-width);
  background: linear-gradient(180deg, #1a2332 0%, #0f1724 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cluster-pin__body,
.cluster-pin__alert {
  position: relative;
  z-index: 1;
}

.cluster-pin__body {
  width: calc(100% - (var(--cluster-ring-width) * 2));
  height: calc(100% - (var(--cluster-ring-width) * 2));
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cluster-pin__alert {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(18, 24, 38, 0.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.cluster-pin.is-changing::before {
  box-shadow: 0 18px 34px rgba(43, 110, 242, 0.22);
  animation: cluster-pulse 2.2s ease-in-out infinite;
}

.cluster-pin.is-stale::after {
  background: linear-gradient(180deg, #313c4c 0%, #1e2835 100%);
}

.cluster-pin.is-stale .cluster-pin__body {
  color: #d6dde7;
}

.cluster-pin.is-changing .cluster-pin__body {
  color: #fff;
}

@keyframes map-pin-pulse {
  0%,
  100% {
    transform: scale(0.82);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes map-pin-active-bob {
  0%,
  100% {
    transform: scale(2.04);
  }
  50% {
    transform: scale(2.18);
  }
}

@keyframes map-pin-active-glow {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(-50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.22);
  }
}

@keyframes map-pin-active-ring {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(-50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes cluster-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.map-user {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 5px solid rgba(255, 255, 255, 0.98);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(43, 110, 242, 0.28);
}

.route-time-marker,
.route-station-marker {
  background: transparent;
  border: 0;
}

.route-time-pill,
.route-station-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.route-station-pill {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 14px;
}

.sheet__eyebrow,
.station-list__eyebrow,
.detail-panel__brand,
.map-state__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet__head h2,
.station-list__head h2,
.detail-panel__head h1,
.map-state h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.topbar {
  position: absolute;
  top: calc(16px + var(--safe-area-top));
  left: 16px;
  right: 16px;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  pointer-events: none;
}

.topbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  pointer-events: auto;
}

.topbar__group--summary {
  margin-left: auto;
}

.topbar__group--right {
  justify-content: flex-end;
}

.pill,
.station-list,
.detail-panel,
.sheet,
.toast,
.map-state {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pill {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.pill--strong {
  background: rgba(255, 255, 255, 0.98);
}

.pill--summary {
  background: rgba(18, 24, 38, 0.92);
  color: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.map-state {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 132px;
  z-index: 1040;
  max-width: 360px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

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

.map-state h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.map-state p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.map-state__button {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.station-list {
  position: absolute;
  top: 82px;
  left: 16px;
  bottom: 16px;
  width: 332px;
  z-index: 1080;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 252, 0.94)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 34px 84px rgba(15, 23, 42, 0.15),
    0 16px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.84);
  padding: 24px 20px 20px;
  display: none;
  flex-direction: column;
  isolation: isolate;
}

.station-sidebar-top {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.92));
  border: 1px solid rgba(18, 24, 38, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 36px rgba(15, 23, 42, 0.06);
}

.station-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.station-sidebar-brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, #172133 0%, #101826 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 30px rgba(15, 23, 42, 0.16);
}

.station-sidebar-brand__eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-sidebar-brand__title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.station-sidebar-fuel {
  display: grid;
  gap: 10px;
}

.station-sidebar-fuel__label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.station-sidebar-fuel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-fuel-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 20px rgba(15, 23, 42, 0.05);
}

.sidebar-fuel-chip.is-active {
  background: linear-gradient(180deg, rgba(30, 40, 59, 0.98), rgba(16, 23, 36, 0.96));
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.station-sidebar-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.station-sidebar-action {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(15, 23, 42, 0.05);
}

.station-sidebar-action--primary {
  background: linear-gradient(180deg, rgba(29, 39, 58, 0.98), rgba(17, 24, 37, 0.96));
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.16);
}

.station-list__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 2px;
}

.station-list__side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.station-list__head h2 {
  font-size: 30px;
}

.station-list__back {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 22px rgba(15, 23, 42, 0.06);
}

.station-list__back[hidden],
.station-list__count[hidden] {
  display: none !important;
}

.station-list__count {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 20px rgba(15, 23, 42, 0.05);
}

.station-list__items,
.sheet-list {
  overflow: auto;
  display: grid;
  gap: 10px;
}

.station-list__items {
  flex: 1;
  min-height: 0;
  padding-right: 4px;
  padding-bottom: calc(6px + var(--mobile-browser-chrome-clearance));
}

.station-list.is-detail .station-list__items {
  gap: 18px;
  padding-right: 0;
}

.station-list.is-detail .station-sidebar-top {
  display: none;
}

.station-list.is-detail .station-list__head {
  display: none;
}

.station-row {
  width: 100%;
  padding: 13px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.station-row--placeholder {
  border-style: dashed;
  border-color: rgba(18, 24, 38, 0.08);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.72);
}

.station-row.is-active {
  border-color: rgba(18, 24, 38, 0.1);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.station-row__head,
.station-row__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.station-row__head {
  margin-bottom: 8px;
}

.station-row__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
}

.station-row__distance,
.station-row__address,
.station-row__time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.station-row__address {
  margin: 0 0 10px;
  line-height: 1.45;
}

.station-sidebar-detail {
  display: grid;
  gap: 14px;
  align-content: start;
}

.station-sidebar-detail__top {
  display: flex;
  justify-content: flex-start;
}

.station-sidebar-detail__address {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.station-sidebar-detail__route {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  background: #f4f6f8;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.station-sidebar-detail__meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.station-sidebar-detail__actions {
  display: grid;
  gap: 10px;
}

.station-focus {
  display: grid;
  gap: 14px;
  align-content: start;
  font-family: "Inter", "Manrope", sans-serif;
}

.station-focus__hero {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, var(--station-soft, rgba(238, 244, 255, 0.96)) 0%, rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 252, 0.97));
  border: 1px solid rgba(18, 24, 38, 0.05);
  display: grid;
  gap: 14px;
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  isolation: isolate;
}

.station-focus__hero::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -14px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: var(--station-accent, rgba(43, 110, 242, 0.28));
  opacity: 0.1;
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.station-focus__back {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: rgba(245, 247, 251, 0.96);
  color: #73839a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 22px rgba(15, 23, 42, 0.05);
}

.station-focus__hero-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.station-focus__hero-center {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 0;
}

.station-focus__hero-center--aligned {
  justify-items: start;
}

.station-focus__title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  max-width: 100%;
}

.station-focus__title-row .brand-badge {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  font-size: 16px;
}

.station-focus__distance {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(233, 240, 255, 0.96));
  color: var(--text);
  border: 1px solid rgba(66, 114, 232, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 20px rgba(47, 88, 201, 0.08);
}

.station-focus__name {
  margin: 0;
  font-size: 25px;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-align: left;
}

.station-focus__address {
  margin: 0;
  color: #68778d;
  font-size: 15px;
  line-height: 1.46;
  text-align: left;
}

.station-focus__address--centered {
  max-width: 310px;
}

.station-focus__hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 54px;
}

.station-focus__traffic {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 248, 252, 0.98), rgba(238, 243, 249, 0.96));
  border: 1px solid rgba(18, 24, 38, 0.06);
  color: #405067;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 18px rgba(15, 23, 42, 0.04);
}

.station-focus__action-card {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

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

.station-focus__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.station-focus__fuel-card {
  overflow: hidden;
  box-shadow: none;
  border-radius: 26px;
}

.station-focus .status-pill {
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 18px rgba(15, 23, 42, 0.05);
}

.station-status-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 98px;
  padding: 18px 19px;
  border-radius: 26px;
  border: 1px solid rgba(18, 24, 38, 0.05);
  overflow: hidden;
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.station-status-card__orb.sheet-action__circle {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.station-status-card__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.station-status-card__eyebrow {
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-status-card__title {
  color: #171f2c;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.station-status-card__sub {
  color: #5d6c80;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.station-status-card--yes {
  background: linear-gradient(180deg, rgba(241, 250, 246, 0.98), rgba(232, 246, 238, 0.95));
  border-color: rgba(61, 181, 112, 0.18);
}

.station-status-card--no {
  background: linear-gradient(180deg, rgba(255, 242, 244, 0.98), rgba(255, 233, 236, 0.95));
  border-color: rgba(228, 84, 74, 0.16);
}

.station-status-card--limit,
.station-status-card--maybe {
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.99), rgba(255, 241, 207, 0.96));
  border-color: rgba(226, 170, 36, 0.18);
}

.quick-action {
  min-height: 86px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(18, 24, 38, 0.05);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  text-align: left;
  box-shadow:
    0 14px 26px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.quick-action__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(244, 248, 255, 1), rgba(235, 242, 255, 0.96));
  border: 1px solid rgba(43, 110, 242, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 10px 18px rgba(43, 110, 242, 0.08);
}

.quick-action__icon .sheet-action__icon-asset {
  width: 24px;
  height: 24px;
}

.quick-action__icon .sheet-action__icon-asset--route {
  width: 26px;
  height: 26px;
}

.quick-action__label {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.quick-action__share-icon {
  width: 24px;
  height: 24px;
  stroke: #141a24;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-action__share-accent {
  fill: #2f73ff;
  stroke: none;
}

.station-trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.detail-pill {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 38, 0.06);
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.99), rgba(242, 245, 249, 0.97));
  color: #556377;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  box-shadow:
    0 10px 18px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

button.detail-pill {
  cursor: pointer;
}

.detail-pill__label {
  line-height: 1.2;
}

.detail-pill .icon {
  color: var(--text);
}

.detail-pill--reports {
  border-color: rgba(43, 110, 242, 0.1);
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.99), rgba(237, 243, 255, 0.97));
  color: var(--text);
}

.detail-pill--muted {
  color: #617288;
}

.detail-pill--alert {
  border-color: rgba(226, 170, 36, 0.14);
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.99), rgba(255, 241, 207, 0.96));
  color: #ac7814;
}

.detail-pill--traffic {
  color: #44546a;
}

.detail-pill--confidence {
  color: inherit;
}

.info-chip--interactive {
  flex: 1 1 200px;
  border: 0;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.info-chip--confidence {
  flex: 1 1 170px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-chip__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.info-chip__icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.station-sidebar-detail__insights,
.detail-panel__insights {
  display: grid;
  gap: 10px;
}

.station-signal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-pill {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.signal-pill--stale {
  background: var(--slate-soft);
  color: var(--slate);
}

.signal-pill--changing {
  background: var(--blue-soft);
  color: var(--text);
}

.signal-pill--queue {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.station-insight {
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(18, 24, 38, 0.06);
  background: #f8fafc;
  display: grid;
  gap: 4px;
}

.station-insight__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.station-insight__value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.brand-badge {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: var(--brand-bg);
  color: var(--brand-color);
  border: 1px solid rgba(18, 24, 38, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 30px rgba(15, 23, 42, 0.08);
}

.brand-badge--logo {
  background: rgba(255, 255, 255, 0.97);
}

.brand-badge__fallback {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 0;
}

.brand-badge__image {
  width: 76%;
  height: 76%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.station-card {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(18, 24, 38, 0.06);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 249, 252, 0.965));
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 34px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.station-card.is-active {
  border-color: rgba(21, 34, 55, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 24px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.station-card__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.station-card__fuel-tag {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.station-card__fuel-tag--yes {
  background: var(--green-soft);
  color: var(--green);
}

.station-card__fuel-tag--maybe {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.station-card__fuel-tag--no {
  background: var(--red-soft);
  color: var(--red);
}

.station-card__meta-tag {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.station-card__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
}

.station-card__body {
  min-width: 0;
}

.station-card__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.station-card__line {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.station-card__line--muted {
  margin-top: 4px;
  color: var(--muted);
}

.station-card__side {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.station-card__distance {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.station-card__confirmations {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  max-width: 112px;
}

.station-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.status-pill {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 10px 18px rgba(15, 23, 42, 0.04);
}

.status-pill--yes {
  background: linear-gradient(180deg, rgba(235, 251, 242, 0.98), rgba(218, 245, 230, 0.96));
  color: #248c58;
  border-color: rgba(40, 163, 106, 0.14);
}

.status-pill--maybe {
  background: linear-gradient(180deg, rgba(255, 246, 221, 0.98), rgba(255, 238, 195, 0.96));
  color: #c18316;
  border-color: rgba(213, 154, 24, 0.14);
}

.status-pill--no {
  background: linear-gradient(180deg, rgba(255, 235, 236, 0.98), rgba(255, 221, 223, 0.96));
  color: #d4585f;
  border-color: rgba(228, 84, 74, 0.14);
}

.status-pill--queue {
  background: linear-gradient(180deg, rgba(255, 241, 221, 0.98), rgba(255, 228, 184, 0.96));
  color: #b67418;
  border-color: rgba(213, 154, 24, 0.18);
}

.detail-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  padding: 16px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96)),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    0 28px 68px rgba(15, 23, 42, 0.14),
    0 10px 24px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.78);
  max-width: 500px;
  max-height: min(52vh, 500px);
  overflow: auto;
}

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

.detail-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.detail-panel__head h1 {
  font-size: 26px;
}

.detail-panel__head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.detail-panel__brand {
  margin-bottom: 6px;
}

.detail-panel__side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.detail-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(244, 247, 251, 0.96);
  color: #74839a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 22px rgba(15, 23, 42, 0.06);
}

.detail-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.detail-panel__updated,
.detail-panel__signal {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.action-chip {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f4f6f8;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.action-chip--primary {
  background: var(--text);
  color: #fff;
}

.pill:disabled,
.action-chip:disabled,
.action-button:disabled,
.map-state__button:disabled {
  opacity: 0.56;
  cursor: default;
}

.fuel-card {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 249, 252, 0.98), rgba(242, 244, 248, 0.96));
  border: 1px solid rgba(18, 24, 38, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.fuel-row {
  min-height: 64px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(18, 24, 38, 0.06);
}

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

.fuel-row__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fuel-row__status {
  min-width: 82px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.fuel-row__status--yes {
  background: rgba(71, 183, 117, 0.09);
  border-color: rgba(71, 183, 117, 0.18);
  color: #2b9f64;
}

.fuel-row__status--maybe {
  background: rgba(245, 213, 62, 0.2);
  border-color: rgba(245, 213, 62, 0.28);
  color: #8c7600;
}

.fuel-row__status--no {
  background: rgba(240, 104, 111, 0.1);
  border-color: rgba(240, 104, 111, 0.16);
  color: #d24d59;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px 16px calc(16px + var(--mobile-browser-chrome-clearance));
  background: rgba(9, 14, 24, 0.22);
}

.overlay[hidden] {
  display: none;
}

#menu-overlay,
#search-overlay,
#saved-overlay {
  padding: var(--spacing-16);
}

#search-overlay .sheet {
  max-height: min(
    720px,
    calc(var(--app-viewport-height) - var(--safe-area-top) - var(--safe-area-bottom) - (var(--spacing-16) * 2))
  );
}

#suggest-overlay {
  padding: 16px;
  overflow-y: auto;
  place-items: center;
}

.sheet {
  width: min(520px, 100%);
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sheet--menu {
  width: min(420px, 100%);
}

.sheet--tall {
  width: min(560px, 100%);
  max-height: min(720px, calc(var(--app-viewport-height) - var(--safe-area-top) - 32px - var(--mobile-browser-chrome-clearance)));
  display: flex;
  flex-direction: column;
}

.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.sheet__head h2 {
  font-size: 30px;
}

.sheet__head-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sheet__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f3f5f7;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sheet__hint {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  flex-shrink: 0;
}

.menu-grid {
  display: grid;
  gap: 10px;
}

.menu-action {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: #f4f6f8;
  color: var(--text);
  text-align: left;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 800;
}

#route-overlay .sheet {
  width: min(430px, 100%);
  padding: var(--spacing-24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-refero-sm);
}

.route-sheet__head {
  margin-bottom: var(--spacing-12);
}

.route-sheet__title {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--station-card-text);
}

.route-sheet__hint {
  margin: 0;
  color: var(--station-card-muted);
  font-size: 14px;
  line-height: 1.5;
}

.route-sheet__apps {
  display: grid;
  gap: var(--spacing-12);
  margin-top: var(--spacing-20);
}

.route-app-button {
  width: 100%;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-card-lg);
  background: linear-gradient(180deg, var(--station-card-surface) 0%, var(--station-card-muted-surface) 100%);
  color: var(--station-card-text);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  box-shadow: var(--shadow-refero-subtle-2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.route-app-button__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-paper-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px rgba(18, 24, 38, 0.05),
    0 8px 16px rgba(15, 23, 42, 0.06);
}

.route-app-button__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.route-app-button__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.route-app-button__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--station-card-text);
}

.route-app-button__meta {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--station-card-muted);
}

.route-app-button__chevron {
  margin-left: auto;
  color: var(--station-card-soft-text);
  font-size: 22px;
  line-height: 1;
}

.route-sheet__cancel {
  width: 100%;
  min-height: 52px;
  margin-top: var(--spacing-20);
  border: 1px solid rgba(18, 24, 38, 0.06);
  border-radius: var(--radius-pill);
  background: rgba(249, 250, 251, 0.98);
  color: var(--station-card-text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

@media (hover: hover) {
  .route-app-button:hover {
    transform: translateY(-1px);
    border-color: rgba(23, 23, 23, 0.1);
    background: linear-gradient(180deg, var(--color-paper-white) 0%, var(--color-parchment) 100%);
    box-shadow:
      rgba(0, 0, 0, 0.08) 0px 1px 1px -1px,
      rgba(0, 0, 0, 0.08) 0px 2px 2px -1px,
      rgba(0, 0, 0, 0.08) 0px 3px 3px -1px;
  }

  .route-sheet__cancel:hover {
    transform: translateY(-1px);
    border-color: rgba(18, 24, 38, 0.08);
    background: #f6f7f8;
  }
}

.route-app-button:active,
.route-sheet__cancel:active {
  transform: translateY(1px);
}

.route-app-button:focus-visible,
.route-sheet__cancel:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(255, 107, 26, 0.16),
    var(--shadow-refero-subtle);
}

@media (max-width: 640px) {
  #route-overlay .sheet {
    padding: 20px;
    border-radius: 24px;
  }

  .route-sheet__title {
    font-size: 24px;
  }

  .route-app-button {
    min-height: 70px;
  }

  .route-app-button__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

.search-field {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 16px;
  background: #f4f6f8;
  color: var(--muted);
  margin-bottom: 10px;
}

.search-field input {
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.search-field input::placeholder {
  color: var(--muted);
}

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

.suggest-sheet {
  max-height: min(720px, calc(var(--app-viewport-height) - var(--safe-area-top) - var(--safe-area-bottom) - 32px));
  overflow: hidden;
  overscroll-behavior: contain;
}

.suggest-sheet .sheet__head,
.suggest-sheet .sheet__hint {
  flex-shrink: 0;
}

.suggest-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 2px 2px calc(12px + var(--safe-area-bottom)) 0;
}

.suggest-sheet__body::-webkit-scrollbar {
  display: none;
}

.suggest-sheet__actions {
  padding-right: 2px;
}

.saved-sheet {
  max-height: min(
    720px,
    calc(var(--app-viewport-height) - var(--safe-area-top) - var(--safe-area-bottom) - (var(--spacing-16) * 2))
  );
  overflow: hidden;
  overscroll-behavior: contain;
}

.saved-sheet .sheet__head,
.saved-sheet .sheet__hint {
  flex-shrink: 0;
}

.saved-sheet .sheet__head {
  align-items: center;
  margin-bottom: 10px;
}

.saved-sheet .sheet__close {
  align-self: flex-start;
}

.saved-sheet .sheet__hint {
  margin: 0;
  color: #7b8796;
  font-size: 13px;
  line-height: 1.45;
}

.saved-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: var(--spacing-12) 2px calc(var(--spacing-16) + var(--safe-area-bottom)) 0;
}

.saved-sheet__body--empty {
  align-content: center;
}

.saved-sheet__body::-webkit-scrollbar {
  display: none;
}

.saved-sheet .sheet-list {
  overflow: visible;
  flex: 0 0 auto;
  min-height: auto;
  gap: 14px;
  padding-right: 0;
}

.saved-sheet .empty-card {
  margin-top: 0;
  padding: 18px 16px;
  border-style: solid;
  border-color: rgba(18, 24, 38, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfd, #f6f8fa);
  display: grid;
  gap: 6px;
}

.saved-sheet .empty-card h3 {
  margin: 0;
  font-size: 18px;
}

.saved-sheet .empty-card p {
  color: #6d7887;
}

.station-row--saved {
  padding: 14px;
  border-color: rgba(18, 24, 38, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
  display: grid;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.station-row--saved.is-active {
  border-color: rgba(34, 167, 112, 0.18);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.station-row__saved-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.station-row__saved-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.station-row__saved-brand {
  color: #8a95a6;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.station-row__saved-title {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.station-row__saved-distance {
  align-self: start;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.station-row__saved-address {
  margin: 0;
  color: #687485;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.station-row__saved-meta {
  display: grid;
  gap: 8px;
}

.station-row__saved-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.station-row__saved-submeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.station-row__saved-freshness {
  min-width: 0;
  color: #7b8796;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.station-row__saved-bookmark {
  flex-shrink: 0;
  color: #5f6d7e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.station-row--saved .status-pill,
.station-row--saved .signal-pill {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.station-row--saved .signal-pill {
  border: 1px solid transparent;
}

.station-row--saved .signal-pill--stale {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #6b7280;
}

.station-row--saved .signal-pill--changing {
  background: #eef4ff;
  border-color: #dbe6fb;
  color: var(--text);
}

.station-row--saved .signal-pill--queue {
  background: #fff7e8;
  border-color: #f3ddb0;
  color: #a16207;
}

@media (hover: hover) {
  .station-row--saved:hover {
    border-color: rgba(18, 24, 38, 0.12);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  }
}

.station-row--saved:active {
  transform: translateY(1px);
}

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

.form-field__label {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.form-field__hint {
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.form-field input,
.form-field__value,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: #f4f6f8;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
  font: inherit;
}

.form-field__value {
  display: flex;
  align-items: center;
}

.sheet-list {
  flex: 1;
  min-height: 0;
  padding-right: 2px;
}

.empty-card {
  margin-top: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(18, 24, 38, 0.12);
  background: #f8fafb;
}

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

.empty-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.empty-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.moderation-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  background: #ffffff;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.moderation-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.moderation-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.moderation-card__meta,
.moderation-card__coords,
.moderation-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.moderation-card__coords {
  color: var(--text);
  font-weight: 700;
}

.moderation-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.moderation-card__button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.moderation-card__button--approve {
  background: var(--green-soft);
  color: var(--green);
}

.moderation-card__button--reject {
  background: var(--red-soft);
  color: var(--red);
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 46px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  background: #f3f5f7;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.filter-chip.is-active {
  background: var(--green-soft);
  color: var(--green);
}

.sheet__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  flex-shrink: 0;
}

.sheet__actions--stacked {
  grid-template-columns: 1fr;
}

.action-button {
  min-height: 54px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96));
  color: #172033;
  font-size: 15px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.action-button--primary {
  border-color: rgba(34, 167, 112, 0.22);
  background: linear-gradient(180deg, #28b576 0%, #1f9f66 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(34, 167, 112, 0.24);
}

.action-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

@media (hover: hover) {
  .action-button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 14px 28px rgba(15, 23, 42, 0.08);
  }

  .action-button--primary:not(:disabled):hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 18px 38px rgba(34, 167, 112, 0.28);
  }
}

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

.report-fuel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.report-fuel-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid #d8e0ea;
  background: #f7f9fc;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.report-fuel-chip.is-active {
  background: rgba(34, 167, 112, 0.12);
  border-color: rgba(34, 167, 112, 0.24);
  color: #1f8a5a;
  box-shadow: inset 0 0 0 1px rgba(34, 167, 112, 0.08);
}

.report-card {
  --report-card-accent: #98a2b3;
  --report-card-soft: rgba(152, 162, 179, 0.1);
  --report-card-outline: rgba(152, 162, 179, 0.2);
  --report-card-icon-surface: #f3f5f8;
  --report-card-icon-active-surface: var(--report-card-soft);
  min-height: 108px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  font-size: 15px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

.report-card--green {
  --report-card-accent: #22a770;
  --report-card-soft: rgba(34, 167, 112, 0.12);
  --report-card-outline: rgba(34, 167, 112, 0.22);
}

.report-card--yellow {
  --report-card-accent: #d18a0d;
  --report-card-soft: rgba(232, 150, 0, 0.12);
  --report-card-outline: rgba(209, 138, 13, 0.22);
}

.report-card--red {
  --report-card-accent: var(--red);
  --report-card-soft: rgba(228, 84, 74, 0.14);
  --report-card-outline: rgba(228, 84, 74, 0.24);
  --report-card-icon-surface: rgba(228, 84, 74, 0.14);
  --report-card-icon-active-surface: rgba(228, 84, 74, 0.2);
}

.report-queue-block {
  margin-top: 16px;
  padding-top: 2px;
}

.report-queue-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.report-queue-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-queue-chip {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #d8e0ea;
  background: #ffffff;
  color: #172033;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 20px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.report-queue-chip.is-active,
.report-queue-chip:active {
  background: rgba(34, 167, 112, 0.12);
  border-color: rgba(34, 167, 112, 0.24);
  color: #1f8a5a;
  box-shadow:
    inset 0 0 0 1px rgba(34, 167, 112, 0.08),
    0 10px 24px rgba(34, 167, 112, 0.08);
}

.report-queue-chip:disabled {
  opacity: 0.45;
  cursor: default;
}

.share-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

#share-overlay .sheet {
  width: min(500px, 100%);
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

#share-overlay {
  padding: 16px;
  overflow-y: auto;
  place-items: center;
}

#share-overlay .sheet__head {
  margin-bottom: 14px;
}

#share-overlay .sheet__head h2 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

#share-overlay .sheet__close {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #f5f7fa;
}

#share-overlay .sheet__hint {
  margin: -2px 0 12px;
  font-size: 13px;
  line-height: 1.42;
}

#share-overlay .sheet__actions {
  margin-top: 18px;
}

#share-overlay .action-button {
  min-height: 48px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(15, 23, 42, 0.04);
}

#share-overlay .share-action-button {
  background: #f5f7fa;
}

#share-overlay .share-later-button {
  font-size: 13px;
}

#share-overlay .status-pill {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
}

#share-overlay .station-sheet-card,
#share-overlay .station-card,
#share-overlay .share-preview-card {
  min-height: 88px;
  padding: 12px 14px;
  border-radius: 18px;
}

.share-target-card {
  min-height: 108px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 20px;
  background: #f8fafd;
  color: var(--text);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 12px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

#share-overlay .share-target-grid {
  gap: 8px;
  margin-bottom: 12px;
}

#share-overlay .share-target-card {
  min-height: 92px;
  border-radius: 16px;
  gap: 8px;
  padding: 10px 12px;
  background: #f8fafc;
}

.share-target-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(18, 24, 38, 0.05),
    0 6px 14px rgba(15, 23, 42, 0.06);
}

#share-overlay .share-target-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(18, 24, 38, 0.04),
    0 4px 10px rgba(15, 23, 42, 0.05);
}

.share-target-card__icon-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.share-target-card__icon--telegram,
.share-target-card__icon--max {
  background: #ffffff;
}

.share-target-card__icon--wa {
  background: linear-gradient(180deg, #42d56e, #23c15d);
}

.share-target-card__label {
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

#share-overlay .share-target-card__label {
  font-size: 13px;
}

@media (hover: hover) {
  .share-target-card:hover {
    background: #ffffff;
    border-color: rgba(18, 24, 38, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  }
}

.share-target-card:active {
  transform: translateY(1px);
  background: #f3f6fb;
}

.share-action-button {
  background: #f3f5f8;
}

.share-later-button {
  min-height: 48px;
  border: 1px solid rgba(18, 24, 38, 0.06);
  border-radius: 12px;
  background: rgba(249, 250, 251, 0.98);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

@media (hover: hover) {
  .share-later-button:hover {
    transform: translateY(-1px);
    border-color: rgba(18, 24, 38, 0.08);
    background: #f6f7f8;
  }
}

.share-later-button:active {
  transform: translateY(1px);
}

.report-feed-card {
  --report-accent: #98a2b3;
  --report-soft: rgba(152, 162, 179, 0.12);
  --report-text: #667085;
  position: relative;
  overflow: hidden;
  padding: 16px 18px 18px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 252, 0.96));
  border: 0;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 10px;
}

.report-feed-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: var(--report-accent);
}

.report-feed-card--yes {
  --report-accent: #22a770;
  --report-soft: rgba(34, 167, 112, 0.12);
  --report-text: #1f8a5a;
}

.report-feed-card--no {
  --report-accent: #b41c18;
  --report-soft: rgba(180, 28, 24, 0.1);
  --report-text: #b13631;
}

.report-feed-card--queue,
.report-feed-card--limit {
  --report-accent: #e89600;
  --report-soft: rgba(232, 150, 0, 0.12);
  --report-text: #b87808;
}

.report-feed-card--stale,
.report-feed-card--summary {
  --report-accent: #98a2b3;
  --report-soft: rgba(152, 162, 179, 0.12);
  --report-text: #667085;
  background: linear-gradient(180deg, rgba(251, 252, 253, 0.98), rgba(245, 247, 250, 0.95));
  box-shadow:
    inset 0 0 0 1px rgba(18, 24, 38, 0.05),
    0 12px 28px rgba(15, 23, 42, 0.05);
}

.report-feed-card--aggregate {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.94));
}

.report-feed-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.report-feed-card__badge {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--report-soft);
  color: var(--report-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.report-feed-card__badge--summary {
  --report-soft: rgba(152, 162, 179, 0.12);
  --report-text: #667085;
}

.report-feed-card__body {
  display: grid;
  gap: 6px;
}

.report-feed-card__title,
.report-feed-card__meta,
.report-feed-card__note {
  margin: 0;
}

.report-feed-card__title {
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.report-feed-card__title--compact {
  font-size: 16px;
  font-weight: 700;
}

.report-feed-card__meta {
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.report-feed-card__time {
  color: #7d8698;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.report-feed-card__note {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #8b95a7;
}

#reports-overlay .sheet {
  width: min(620px, calc(100vw - 32px));
  max-height: min(760px, calc(var(--app-viewport-height) - var(--safe-area-top) - 32px - var(--mobile-browser-chrome-clearance)));
  padding: 30px 28px 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97));
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

#reports-overlay .sheet__head {
  margin-bottom: 10px;
}

#reports-overlay .sheet__eyebrow {
  margin: 0 0 10px;
  color: #7b8498;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#reports-overlay .sheet__head h2 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

#reports-overlay .sheet__hint {
  margin: 0 0 20px;
  color: #667085;
  font-size: 15px;
  line-height: 1.45;
  max-width: 520px;
}

#reports-overlay .sheet__close {
  background: rgba(245, 247, 250, 0.94);
  color: #7b8498;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 38, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

#reports-overlay .sheet__close:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(18, 24, 38, 0.06),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

#reports-list {
  display: grid;
  gap: 12px;
  padding-right: 4px;
}

@media (max-width: 767px) {
  #reports-overlay .sheet {
    width: min(100%, calc(100vw - 16px));
    padding: 24px 18px 20px;
    border-radius: 28px;
  }

  #reports-overlay .sheet__hint {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .report-feed-card {
    padding: 15px 16px 16px 20px;
    border-radius: 20px;
  }
}

.nearest-overlay__lead {
  margin-bottom: 14px;
}

.support-card {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafb;
  border: 1px solid var(--line);
}

.support-card__label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.support-card__value {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

#missing-station-overlay .sheet {
  width: min(430px, 100%);
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97));
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

#missing-station-overlay .sheet__head {
  margin-bottom: 12px;
}

#missing-station-overlay .sheet__eyebrow {
  margin: 0 0 10px;
  color: #7b8498;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#missing-station-overlay .sheet__head h2 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

#missing-station-overlay .sheet__hint {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

#missing-station-overlay .sheet__close {
  background: rgba(245, 247, 250, 0.94);
  color: #7b8498;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 38, 0.06);
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.missing-station-sheet__step {
  display: grid;
  gap: 18px;
}

.missing-station-sheet__actions {
  gap: 12px;
  margin-top: 0;
}

.missing-station-sheet__note {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  color: #172033;
  font-size: 14px;
  line-height: 1.48;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 8px 20px rgba(15, 23, 42, 0.04);
}

@media (max-width: 767px) {
  #missing-station-overlay {
    padding: 16px;
    overflow-y: auto;
  }

  #missing-station-overlay .sheet {
    width: min(100%, calc(100vw - 16px));
    padding: 20px 16px 18px;
    border-radius: 24px;
  }

  #missing-station-overlay .sheet__head h2 {
    font-size: 28px;
  }

  #missing-station-overlay .sheet__hint,
  .missing-station-sheet__note {
    font-size: 13px;
  }
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1300;
  min-height: 52px;
  max-width: min(520px, calc(100vw - 28px));
  padding: 10px 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.76), rgba(18, 24, 38, 0.64)),
    rgba(18, 24, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  opacity: 0;
  transform: translate(-50%, 10px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.toast__emoji {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.toast__text {
  min-width: 0;
  flex: 1 1 auto;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.toast[data-tone="success"] {
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.74), rgba(16, 48, 35, 0.66)),
    rgba(18, 24, 38, 0.6);
  border-color: rgba(79, 214, 143, 0.22);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.22),
    0 10px 28px rgba(34, 167, 112, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.toast[data-tone="success"] .toast__emoji {
  background: rgba(34, 167, 112, 0.22);
}

.toast[data-tone="warning"] {
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.74), rgba(69, 46, 18, 0.66)),
    rgba(18, 24, 38, 0.6);
  border-color: rgba(243, 154, 56, 0.24);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.22),
    0 10px 28px rgba(243, 154, 56, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.toast[data-tone="warning"] .toast__emoji {
  background: rgba(243, 154, 56, 0.2);
}

.toast[data-tone="danger"] {
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.74), rgba(67, 24, 24, 0.68)),
    rgba(18, 24, 38, 0.6);
  border-color: rgba(255, 107, 107, 0.24);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.22),
    0 10px 28px rgba(255, 107, 107, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.toast[data-tone="danger"] .toast__emoji {
  background: rgba(255, 107, 107, 0.2);
}

.toast[data-tone="info"] {
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.74), rgba(24, 41, 68, 0.68)),
    rgba(18, 24, 38, 0.6);
  border-color: rgba(92, 163, 255, 0.22);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.22),
    0 10px 28px rgba(92, 163, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.toast[data-tone="info"] .toast__emoji {
  background: rgba(92, 163, 255, 0.18);
}

.toast[hidden] {
  display: none;
}

.detail-panel:not([hidden]) ~ .toast {
  bottom: clamp(280px, 56vh, 420px);
}

.route-badge {
  position: absolute;
  left: 50%;
  bottom: calc(308px + var(--safe-area-bottom));
  transform: translateX(-50%);
  z-index: 1115;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(18, 24, 38, 0.94);
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.route-badge[hidden] {
  display: none;
}

.detail-panel {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 0 0;
  border-radius: 28px 28px 0 0;
  background: #ffffff;
  border: 0;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.16);
  max-width: none;
  max-height: min(68vh, calc(100vh - 88px));
  overflow: auto;
  scrollbar-width: none;
  transform: translateY(var(--sheet-drag-offset, 0px));
  transition:
    max-height 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
  isolation: isolate;
  font-family: "Inter", "Manrope", sans-serif;
}

.detail-panel::-webkit-scrollbar {
  display: none;
}

.detail-panel.is-expanded {
  max-height: min(88vh, 860px);
}

.detail-panel__handle-zone {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  touch-action: none;
}

.detail-panel__handle {
  width: 64px;
  height: 28px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.detail-panel__handle span {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(120, 132, 149, 0.26);
  box-shadow: none;
}

.detail-panel__hero {
  position: relative;
  margin: 8px 0 0;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, var(--hero-soft, rgba(238, 244, 255, 0.96)) 0%, rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 252, 0.97));
  border: 1px solid rgba(18, 24, 38, 0.05);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  isolation: isolate;
}

.detail-panel__hero::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -14px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: var(--hero-accent, rgba(43, 110, 242, 0.28));
  opacity: 0.1;
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.detail-panel__hero-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.detail-panel__hero-badge .brand-badge {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.99);
  color: var(--brand-color);
  font-size: 15px;
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.detail-panel__hero-center {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
  padding: 0;
}

.detail-panel__hero-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  max-width: 100%;
}

.detail-panel__hero-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-align: left;
}

.detail-panel__hero-address {
  margin: 0;
  color: #68778d;
  font-size: 14px;
  line-height: 1.48;
  text-align: left;
}

.detail-panel__distance {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(233, 240, 255, 0.96));
  border: 1px solid rgba(66, 114, 232, 0.14);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 20px rgba(47, 88, 201, 0.08);
}

.detail-panel__hero-pills {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 54px;
}

.detail-panel__traffic-pill {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0.98), rgba(239, 243, 248, 0.96));
  border: 1px solid rgba(18, 24, 38, 0.06);
  color: #405067;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 18px rgba(15, 23, 42, 0.04);
}

.detail-panel__body {
  padding: 14px 0 0;
  background: transparent;
  box-shadow: none;
}

.detail-panel__head {
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 14px;
}

.detail-panel__title-wrap {
  min-width: 0;
}

.detail-panel__head h1 {
  font-size: 36px;
  line-height: 0.96;
}

.detail-panel__head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 17px;
}

.detail-panel__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.sheet-action__circle {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 247, 251, 0.98));
  border: 1px solid rgba(18, 24, 38, 0.06);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.sheet-action__circle--status {
  border: 0;
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.sheet-action__circle--yes {
  background: linear-gradient(180deg, #ddf6e6 0%, #72d29a 100%);
}

.sheet-action__circle--maybe {
  background: linear-gradient(180deg, #fff1c6 0%, #efbf68 100%);
  color: #705000;
}

.sheet-action__circle--limit {
  background: linear-gradient(180deg, #fff0b3 0%, #efb15b 100%);
  color: #6a4c00;
}

.sheet-action__circle--no {
  background: linear-gradient(180deg, #ffe2e6 0%, #ef7d89 100%);
}

.sheet-action__circle-copy {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sheet-action__icon-asset {
  width: 28px;
  height: 28px;
  display: block;
}

.detail-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.info-chip {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.99), rgba(241, 244, 248, 0.97));
  border: 1px solid rgba(18, 24, 38, 0.05);
  display: grid;
  align-content: center;
  gap: 2px;
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.info-chip__label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.info-chip__sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.info-chip--signal {
  background: rgba(243, 247, 255, 0.98);
}

.info-chip--signal .info-chip__label {
  color: var(--text);
}

.info-chip--signal .icon {
  flex-shrink: 0;
  color: #8b96a8;
}

.info-chip--confidence-high {
  background: linear-gradient(180deg, rgba(232, 249, 240, 0.98), rgba(224, 245, 235, 0.96));
  border-color: rgba(40, 163, 106, 0.16);
  color: #2fa56a;
}

.info-chip--confidence-medium {
  background: linear-gradient(180deg, rgba(255, 248, 230, 0.99), rgba(255, 242, 212, 0.96));
  border-color: rgba(213, 154, 24, 0.16);
  color: #bc851b;
}

.info-chip--confidence-low {
  background: linear-gradient(180deg, rgba(255, 241, 243, 0.99), rgba(255, 233, 236, 0.96));
  border-color: rgba(228, 84, 74, 0.14);
  color: #d05b62;
}

.info-chip--confidence-stale {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.99), rgba(255, 241, 221, 0.97));
  border-color: rgba(223, 171, 54, 0.16);
  color: #b77d1d;
}

.info-chip--confidence-changing {
  background: linear-gradient(180deg, rgba(239, 245, 255, 0.99), rgba(232, 240, 255, 0.97));
  border-color: rgba(66, 114, 232, 0.14);
  color: var(--text);
}

.detail-panel__utility {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-panel__insights {
  margin-bottom: 16px;
}

.detail-panel__wide-button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(239, 241, 244, 0.98), rgba(234, 237, 241, 0.96));
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.detail-panel__wide-button--secondary {
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.99), rgba(242, 245, 249, 0.97));
}

.fuel-card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.99), rgba(243, 245, 249, 0.97));
  border: 1px solid rgba(18, 24, 38, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.fuel-row {
  min-height: 62px;
  padding: 0 18px;
}

.fuel-row__side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.fuel-row__main {
  display: grid;
  gap: 3px;
}

.fuel-row__name {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.fuel-row__meta {
  color: #9aa4b2;
  font-size: 12px;
  font-weight: 700;
}

.fuel-row__limit {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(243, 208, 27, 0.22);
  color: #826800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.station-extra-panel {
  margin-top: 14px;
}

.station-extra {
  border-radius: 20px;
  border: 1px solid rgba(18, 24, 38, 0.05);
  background: rgba(255, 255, 255, 0.99);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.station-extra[open] {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.station-extra__summary {
  min-height: 54px;
  padding: 0 18px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.station-extra__summary::-webkit-details-marker {
  display: none;
}

.station-extra__summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #8b96a8;
  border-bottom: 2px solid #8b96a8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.station-extra[open] .station-extra__summary::after {
  transform: rotate(-135deg);
}

.station-extra__body {
  padding: 0 18px 18px;
  display: grid;
  gap: 12px;
}

.station-extra__row {
  display: grid;
  gap: 6px;
}

.station-extra__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.station-extra__value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.detail-panel:not([hidden]) ~ .toast {
  bottom: clamp(324px, 42vh, 500px);
}

.detail-panel.is-expanded ~ .toast {
  bottom: min(calc(100vh - 164px), 560px);
}

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

.icon--16 {
  width: 16px;
  height: 16px;
}

@media (min-width: 1100px) {
  .station-list {
    display: flex;
    width: 424px;
  }

  .detail-panel {
    left: 436px;
    right: auto;
    width: min(760px, calc(100vw - 468px));
  }

  .route-badge {
    left: calc(436px + min(760px, calc(100vw - 468px)) / 2);
  }
}

@media (max-width: 1099px) {
  .topbar__group--summary {
    display: none;
  }
}

@media (max-width: 899px) {
  .topbar {
    flex-direction: column;
  }

  .topbar__group,
  .topbar__group--right {
    width: 100%;
  }

  .topbar__group--right {
    justify-content: flex-start;
  }

  .pill {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .map-state {
    top: 124px;
  }

  .detail-panel {
    max-height: min(380px, calc(100vh - 96px));
  }

  .detail-panel__head h1,
  .sheet__head h2,
  .map-state h2 {
    font-size: 24px;
  }

  .report-grid,
  .sheet__actions {
    grid-template-columns: 1fr;
  }

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

  .moderation-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }

  .topbar__group {
    gap: 8px;
  }

  .pill {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

  .map-state {
    left: 12px;
    right: 12px;
    top: 116px;
  }

  .detail-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px 16px;
    border-radius: 28px;
    max-height: min(78vh, calc(100vh - 76px));
  }

  .detail-panel__hero {
    margin: 6px 0 0;
    padding: 16px;
    border-radius: 24px;
  }

  .detail-panel__body {
    padding: 14px 0 0;
  }

  .detail-panel__hero-title,
  .detail-panel__head h1 {
    font-size: 24px;
  }

  .detail-panel__hero-center {
    gap: 8px;
    padding: 0;
  }

  .detail-panel__hero-badge .brand-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .detail-panel__distance {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .detail-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .detail-panel__hero-pills {
    margin-top: 10px;
    padding-left: 50px;
  }

  .station-status-card {
    min-height: 88px;
    padding: 16px;
    gap: 12px;
    border-radius: 22px;
  }

  .station-status-card__orb.sheet-action__circle {
    width: 56px;
    height: 56px;
  }

  .station-status-card__title {
    font-size: 20px;
  }

  .station-status-card__sub {
    font-size: 12px;
  }

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

  .detail-panel__meta {
    gap: 8px;
  }

  .fuel-row__name {
    font-size: 16px;
  }

  .fuel-row {
    min-height: 58px;
    padding: 0 14px;
  }

  .fuel-row__side {
    gap: 6px;
  }

  .fuel-row__status {
    min-width: auto;
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .fuel-row__limit {
    min-height: 26px;
    padding: 0 8px;
  }

  .report-fuel-grid {
    gap: 8px;
  }

  .report-fuel-chip {
    width: 100%;
    justify-content: center;
  }

  .report-queue-title {
    font-size: 20px;
  }

  .report-queue-chip {
    width: 100%;
    justify-content: center;
  }

  .share-target-card {
    min-height: 98px;
    padding: 10px 8px;
  }

  .share-target-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .share-target-card__label {
    font-size: 13px;
  }

  .sheet-action {
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .sheet-action__circle {
    width: 68px;
    height: 68px;
  }

  .quick-action {
    min-height: 78px;
    padding: 12px;
    border-radius: 18px;
  }

  .quick-action__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .quick-action__label {
    font-size: 12px;
  }

  .sheet-action__icon-asset {
    width: 22px;
    height: 22px;
  }

  .station-trust-grid {
    gap: 7px;
  }

  .detail-pill {
    min-height: 34px;
    padding: 0 11px;
  }

  .detail-panel__wide-button {
    min-height: 48px;
  }

  .route-badge {
    bottom: 288px;
    font-size: 13px;
  }

  .leaflet-control-zoom {
    margin: 0 12px 142px 0 !important;
  }

  .leaflet-control-attribution {
    display: none;
  }
}

/* Minimal flat refresh */
.pill,
.station-list,
.detail-panel,
.sheet,
.map-state {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.map-pin {
  filter: none;
}

.map-pin::before,
.map-pin::after {
  display: none;
}

.map-pin__body {
  width: 30px;
  height: 30px;
  background: #1f2937;
  border-width: 2px;
  box-shadow: none;
}

.map-pin__tail {
  top: 22px;
  width: 14px;
  height: 16px;
  filter: none;
}

.map-pin--active {
  transform: none;
}

.cluster-pin::before {
  box-shadow: none;
}

.cluster-pin::after {
  background: #1f2937;
  box-shadow: none;
}

.cluster-pin__alert {
  box-shadow: none;
}

.cluster-pin.is-changing::before {
  animation: none;
}

.map-user {
  box-shadow: none;
}

.route-time-pill,
.route-station-pill {
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.pill {
  border: 1px solid rgba(18, 24, 38, 0.08);
  background: #ffffff;
  box-shadow: none;
}

.pill--strong {
  background: #ffffff;
}

.pill--summary {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: none;
}

.station-list {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.station-sidebar-top {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.station-sidebar-brand__logo {
  background: #111827;
  box-shadow: none;
}

.sidebar-fuel-chip,
.station-sidebar-action,
.station-list__back,
.station-list__count,
.station-row {
  border: 1px solid rgba(18, 24, 38, 0.08);
  background: #ffffff;
  box-shadow: none;
}

.sidebar-fuel-chip.is-active,
.station-sidebar-action--primary {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: none;
}

.station-row.is-active {
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: none;
}

.brand-badge,
.station-focus__title-row .brand-badge,
.detail-panel__hero-badge .brand-badge {
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.station-focus__title-row .brand-badge.brand-badge--logo,
.detail-panel__hero-badge .brand-badge.brand-badge--logo {
  width: 46px;
  height: 46px;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.station-focus__hero,
.detail-panel__hero {
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.station-focus__hero-top,
.detail-panel__hero-top {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
}

.station-focus__name,
.detail-panel__hero-title {
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.station-focus__address,
.detail-panel__hero-address {
  color: #6b7280;
}

.station-focus__hero::before,
.detail-panel__hero::before {
  content: none;
}

.station-focus__back,
.detail-close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6b7280;
  box-shadow: none;
}

.station-focus__distance,
.detail-panel__distance {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: none;
}

.station-focus__hero-bottom,
.detail-panel__hero-pills {
  margin-top: 10px;
  gap: 6px;
  padding-left: 0;
}

.station-focus__hero-bottom:empty,
.detail-panel__hero-pills:empty {
  display: none;
}

.station-focus__traffic,
.detail-panel__traffic-pill {
  min-height: 30px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.station-focus__traffic--alert,
.detail-panel__traffic-pill--alert {
  background: #fff8e7;
  border-color: #efd9a7;
  color: #a16207;
}

.status-pill {
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.status-pill--yes {
  background: #f0fdf4;
  border-color: #cdebd6;
  color: #15803d;
}

.status-pill--maybe {
  background: #fff7e8;
  border-color: #f3ddb0;
  color: #a16207;
}

.status-pill--no {
  background: #fef2f2;
  border-color: #f3c9c9;
  color: #b42318;
}

.status-pill--queue {
  background: #fff7e8;
  border-color: #f3ddb0;
  color: #a16207;
}

.detail-panel {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.station-status-card {
  min-height: 0;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.station-status-card__orb.sheet-action__circle,
.sheet-action__circle,
.sheet-action__circle--status {
  width: 12px;
  height: 12px;
  background: #9ca3af;
  border: 0;
  box-shadow: none;
}

.sheet-action__circle--yes {
  background: #22c55e;
  color: transparent;
}

.sheet-action__circle--maybe,
.sheet-action__circle--limit {
  background: #d97706;
  color: transparent;
}

.sheet-action__circle--no {
  background: #dc2626;
  color: transparent;
}

.sheet-action__circle-copy {
  display: none;
}

.station-status-card__eyebrow {
  color: #64748b;
}

.station-status-card__title {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.station-status-card__sub {
  color: #6b7280;
}

.station-status-card--yes {
  background: #ffffff;
  border-color: rgba(18, 24, 38, 0.08);
}

.station-status-card--no {
  background: #ffffff;
  border-color: rgba(18, 24, 38, 0.08);
}

.station-status-card--limit,
.station-status-card--maybe {
  background: #ffffff;
  border-color: rgba(18, 24, 38, 0.08);
}

.quick-action {
  min-height: 72px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.quick-action__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.quick-action__share-accent {
  fill: #141a24;
}

.detail-pill {
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.detail-pill--reports {
  background: #ffffff;
  border-color: rgba(18, 24, 38, 0.08);
  color: #111827;
}

.detail-pill--muted,
.detail-pill--traffic {
  background: #ffffff;
  color: #6b7280;
}

.detail-pill--alert {
  background: #fff7e8;
  border-color: #f3ddb0;
  color: #a16207;
}

.detail-pill--confidence,
.info-chip--confidence-high,
.info-chip--confidence-medium,
.info-chip--confidence-low,
.info-chip--confidence-stale,
.info-chip--confidence-changing {
  box-shadow: none;
}

.info-chip--confidence-high {
  background: #f0fdf4;
  border-color: #d5ebdc;
  color: #15803d;
}

.info-chip--confidence-medium,
.info-chip--confidence-stale {
  background: #fffaf0;
  border-color: #f2e3bd;
  color: #a16207;
}

.info-chip--confidence-low {
  background: #fff7f7;
  border-color: #f0d4d7;
  color: #b42318;
}

.info-chip--confidence-changing {
  background: #fffaf0;
  border-color: #f2e3bd;
  color: #a16207;
}

.fuel-card,
.station-extra {
  background: #ffffff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  box-shadow: none;
}

.station-extra[open] {
  box-shadow: none;
}

.fuel-row {
  border-bottom: 1px solid rgba(18, 24, 38, 0.08);
}

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

.fuel-row__status {
  box-shadow: none;
}

.fuel-row__limit {
  background: #fff7e8;
  border: 1px solid #f3ddb0;
  color: #a16207;
}

@media (max-width: 640px) {
  .detail-panel {
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  }

  .detail-panel__hero {
    border-radius: 20px;
    padding: 14px;
  }

  .detail-panel__hero-pills {
    padding-left: 0;
  }

  .station-status-card {
    min-height: 0;
    padding: 14px;
  }

  .station-status-card__orb.sheet-action__circle,
  .sheet-action__circle,
  .sheet-action__circle--status {
    width: 10px;
    height: 10px;
  }

  .quick-action {
    min-height: 68px;
    padding: 12px;
  }

  .quick-action__icon {
    width: 34px;
    height: 34px;
  }

  .station-focus__hero-top,
  .detail-panel__hero-top {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .station-focus__name,
  .detail-panel__hero-title {
    font-size: 20px;
  }

  .station-focus__distance,
  .detail-panel__distance {
    font-size: 13px;
  }
}

/* First screen pixel-perfect refresh */

:root {
  --first-screen-shell-width: min(393px, 100vw);
  --first-screen-map-height: clamp(360px, 49.5vh, 497px);
  --first-screen-detail-panel-overlap: 14px;
  --first-screen-detail-panel-peek-height: clamp(208px, 27vh, 224px);
  --station-map-fuel-strip-sheet-gap: var(--spacing-16);
  --desktop-sidebar-width: clamp(468px, 36vw, 520px);
  --first-screen-card-border: #eaeaea;
  --first-screen-control-border: #ececec;
  --first-screen-chip-border: #e4e4e4;
  --first-screen-chip-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  --first-screen-header-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  --first-screen-green: #22a770;
}

.desktop-sidebar-shell {
  display: block;
}

.topbar {
  top: 12px;
  left: 8px;
  right: auto;
  width: calc(var(--first-screen-shell-width) - 16px);
  z-index: 1120;
  display: block;
  pointer-events: auto;
}

.topbar__legacy {
  display: none !important;
}

.radar-header {
  min-height: 58px;
  padding: 9px;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: var(--first-screen-header-shadow);
  display: flex;
  align-items: center;
  gap: 6px;
}

.radar-header__brand {
  display: flex;
  align-items: center;
  flex: 1 1 134px;
  min-width: 122px;
  max-width: 194px;
  min-height: 40px;
  padding: 4px 6px 4px 2px;
  border-radius: 14px;
  gap: 8px;
  flex-shrink: 1;
  cursor: pointer;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.radar-header__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.radar-header__brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.radar-header__brand-title {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.radar-header__brand-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #5b6574;
  white-space: nowrap;
}

.radar-header__city,
.radar-header__icon-button {
  border: 0;
  background: #ffffff;
}

.radar-header__city {
  flex: 0 1 auto;
  width: auto;
  min-width: 128px;
  max-width: min(45vw, 194px);
  height: 38px;
  padding: 0 10px;
  border-radius: 13px;
  box-shadow:
    inset 0 0 0 1px var(--first-screen-control-border),
    0 1px 2px rgba(15, 23, 42, 0.03);
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 6px;
  flex-shrink: 1;
  color: var(--station-card-text);
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.radar-header__city-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  justify-self: center;
}

.radar-header__city #city-pill-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--station-card-text);
}

.radar-header__city-chevron {
  position: relative;
  width: 14px;
  height: 14px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

.radar-header__city-chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid #b9c0ca;
  border-bottom: 1.8px solid #b9c0ca;
  transform: translateY(-1px) rotate(45deg);
}

.radar-header__icon-button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  box-shadow:
    inset 0 0 0 1px #eceff3,
    0 1px 2px rgba(15, 23, 42, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.radar-header__icon-button img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.radar-header__brand,
.radar-header__city,
.radar-header__icon-button {
  outline: none;
}

@media (hover: hover) {
  .radar-header__city:hover,
  .radar-header__icon-button:hover {
    background: #f8fafc;
    box-shadow:
      inset 0 0 0 1px rgba(18, 24, 38, 0.08),
      0 8px 18px rgba(15, 23, 42, 0.08);
  }
}

.radar-header__city:active,
.radar-header__icon-button:active {
  background: #f3f5f8;
  transform: translateY(1px) scale(0.985);
}

.radar-header__brand:focus-visible,
.radar-header__city:focus-visible,
.radar-header__icon-button:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(43, 110, 242, 0.38),
    0 0 0 3px rgba(43, 110, 242, 0.12);
}

.map-fuel-strip {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-height: 41px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 7px 8px;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.map-fuel-strip::-webkit-scrollbar {
  display: none;
}

.map-fuel-strip__track {
  display: inline-flex;
  min-height: 33px;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  padding-right: 7px;
}

.map-fuel-pill {
  min-width: 68px;
  height: 33px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--first-screen-chip-border), var(--first-screen-chip-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.04em;
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.map-fuel-pill--selected {
  min-width: 0;
  padding: 0 14px;
  gap: 8px;
  background: var(--first-screen-green);
  box-shadow: var(--first-screen-chip-shadow);
  color: #ffffff;
}

.map-fuel-pill[data-fuel="ДТ"] {
  min-width: 48px;
  padding-left: 9px;
  padding-right: 9px;
}

.map-fuel-pill:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(34, 167, 112, 0.24),
    0 0 0 3px rgba(34, 167, 112, 0.12);
}

@media (hover: hover) {
  .map-fuel-pill:hover {
    background: #f6fbf8;
    box-shadow:
      inset 0 0 0 1px rgba(34, 167, 112, 0.24),
      0 8px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
  }

  .map-fuel-pill--selected:hover {
    background: #1f9a66;
    box-shadow: 0 10px 20px rgba(34, 167, 112, 0.22);
  }
}

@media (max-width: 1023px) {
  .map-fuel-pill,
  .map-fuel-pill--selected {
    box-shadow: inset 0 0 0 1px var(--first-screen-chip-border);
  }

  .map-fuel-pill--selected {
    box-shadow: inset 0 0 0 1px rgba(34, 167, 112, 0.22);
  }
}

.map-fuel-pill__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: -0.04em;
}

.map-fuel-pill__dismiss {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.map-fuel-pill__close {
  font-size: 17px;
  line-height: 1;
}

.station-list {
  --list-sheet-reveal-progress: 0.42;
  position: absolute;
  top: calc(var(--first-screen-map-height) + 18px);
  left: 0;
  right: auto;
  bottom: 0;
  width: var(--first-screen-shell-width);
  z-index: 1090;
  padding: 0;
  display: block !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: translateY(var(--list-sheet-drag-offset, 0px));
  transition:
    top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: top, transform;
}

.station-list[hidden] {
  display: none !important;
}

.station-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: calc(86px - 34px * var(--list-sheet-reveal-progress));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.48) 45%,
    rgba(255, 255, 255, 0.88) 76%,
    #ffffff 100%
  );
  opacity: calc(1 - var(--list-sheet-reveal-progress));
  transform: translateY(calc(14px * (1 - var(--list-sheet-reveal-progress))));
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    height 0.24s ease;
  pointer-events: none;
}

.station-list.is-expanded {
  top: calc(var(--safe-area-top) + 126px);
}

.station-list.is-detail::after,
.station-list.is-expanded::after {
  opacity: 0;
}

.station-list__surface {
  position: relative;
  height: 100%;
  padding: 18px 0 0;
  border-radius: 32px 32px 0 0;
  background: #ffffff;
  border: 0;
  box-shadow: 0 -6px 22px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transition:
    border-radius 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.station-list__surface::-webkit-scrollbar {
  display: none;
}

.station-list.is-expanded .station-list__surface {
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.08);
}

.station-list__handle-outer {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  padding: 8px 0 12px;
  touch-action: none;
}

.station-list__handle {
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: #b0b0b0;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

.station-list.is-expanded .station-list__handle {
  transform: scaleX(1.08);
  background: rgba(23, 23, 23, 0.34);
}

.station-list__fuel-hint {
  margin: 0 17px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.02em;
  color: var(--muted);
  text-align: center;
}

.station-list__actions-scroll {
  flex: 0 0 auto;
  overflow-x: auto;
  margin-top: 10px;
  padding: 0 7px 10px;
  min-height: 60px;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.station-list__actions-scroll::-webkit-scrollbar {
  display: none;
}

.station-list__actions-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  padding-right: 7px;
}

.sheet-action-card {
  flex: none;
  min-height: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.sheet-action-card--primary {
  width: 186px;
  min-height: 48px;
  height: 48px;
  padding: 0 16px;
  background: var(--first-screen-green);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sheet-action-card--selected-state {
  width: auto;
  min-width: 186px;
  padding: 0 16px;
}

.sheet-action-card--secondary {
  min-width: 134px;
  padding: 0 16px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ededed;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.sheet-action-card__title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.sheet-action-card__subtitle {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  opacity: 0.96;
}

.sheet-action-card__icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

@media (hover: hover) {
  .sheet-action-card--primary:hover {
    background: #1f9a67;
    box-shadow: 0 10px 22px rgba(34, 167, 112, 0.22);
  }

  .sheet-action-card--secondary:hover {
    background: #ffffff;
    box-shadow:
      inset 0 0 0 1px rgba(18, 24, 38, 0.08),
      0 10px 20px rgba(15, 23, 42, 0.06);
  }
}

.sheet-action-card:active {
  transform: translateY(1px);
}

.station-list__head {
  flex: 0 0 auto;
  margin: 14px 17px 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  touch-action: pan-x;
}

.station-list__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.04em;
  color: #cacaca;
  text-transform: none;
}

.station-list__head h2 {
  margin: 5px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.04em;
}

.station-list__beta-note {
  margin: 8px 0 0;
  max-width: 280px;
  font-size: 11px;
  line-height: 1.35;
  color: #7d8798;
}

.station-list__count {
  display: none !important;
}

.station-list__items {
  flex: 0 0 auto;
  margin-top: 16px;
  padding: 0 17px 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.station-list__support-footer {
  margin-top: auto;
  padding: 10px 17px calc(20px + var(--mobile-browser-chrome-clearance));
}

.station-list__support-button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  height: 48px;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.station-list.is-detail .station-list__handle-outer,
.station-list.is-detail .station-list__fuel-hint,
.station-list.is-detail .station-list__actions-scroll,
.station-list.is-detail .station-list__head,
.station-list.is-detail .station-list__support-footer {
  display: none;
}

.station-list.is-detail .station-list__items {
  margin-top: 0;
  padding-top: 0;
}

.station-sheet-card {
  width: 100%;
  min-height: 92px;
  padding: 10px 14px 10px 10px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--first-screen-card-border);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
}

.station-sheet-card.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: inset 0 0 0 1px rgba(18, 24, 38, 0.14);
}

.station-sheet-card__avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 38, 0.08);
}

.station-sheet-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.station-sheet-card__avatar-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--avatar-brand-bg, linear-gradient(180deg, #fbfcfe, #eef2f6));
  color: var(--avatar-brand-color, #4c5768);
}

.station-sheet-card__avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--avatar-brand-color, #4c5768);
  background: var(--avatar-brand-bg, linear-gradient(180deg, #fbfcfe, #eef2f6));
}

.station-sheet-card__avatar-inner .station-sheet-card__avatar-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.station-sheet-card__avatar-fallback--icon {
  color: #657285;
}

.station-sheet-card__avatar-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.station-sheet-card__body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.station-sheet-card__headline,
.station-sheet-card__info,
.station-sheet-card__side,
.station-sheet-card__meta {
  display: flex;
}

.station-sheet-card__info {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
}

.station-sheet-card__headline {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.station-sheet-card__title {
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-sheet-card__status-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex-wrap: wrap;
  overflow: visible;
  margin-top: 1px;
  row-gap: 6px;
}

.station-sheet-card__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--first-screen-green);
  flex-shrink: 0;
}

.station-sheet-card__status {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #252b35;
  flex-shrink: 1;
}

.station-sheet-card__address {
  min-width: 0;
  color: #7a8493;
  font-size: 13px;
  line-height: 1.38;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.station-sheet-card__badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
  flex-shrink: 1;
  align-self: center;
  line-height: 1;
}

.station-sheet-card__badge {
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef2f6;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 38, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: #4b5565;
}

.station-sheet-card__badge--available {
  background: rgba(40, 163, 106, 0.12);
  box-shadow: inset 0 0 0 1px rgba(40, 163, 106, 0.18);
  color: #248c58;
}

.station-sheet-card__badge--no {
  background: rgba(228, 84, 74, 0.1);
  box-shadow: inset 0 0 0 1px rgba(228, 84, 74, 0.18);
  color: #c94d45;
}

.station-sheet-card__side {
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  justify-self: end;
  align-self: center;
  margin-left: auto;
}

.station-sheet-card__meta {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
}

.station-sheet-card__distance {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.station-sheet-card__proof {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #7a8493;
  white-space: nowrap;
}

.station-sheet-card__chevron {
  color: #c4ccd8;
  font-size: 24px;
  line-height: 1;
}

.station-sheet-card--search {
  min-height: 112px;
  align-items: flex-start;
}

.station-sheet-card--search .station-sheet-card__body {
  align-items: flex-start;
}

.station-sheet-card--search .station-sheet-card__info {
  gap: 5px;
}

.station-sheet-card--search .station-sheet-card__side {
  align-self: flex-start;
  padding-top: 2px;
}

.city-sheet {
  width: min(420px, 100%);
  max-height: min(
    720px,
    calc(var(--app-viewport-height) - var(--safe-area-top) - var(--safe-area-bottom) - (var(--spacing-16) * 2))
  );
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.city-sheet .sheet__head,
.city-sheet .sheet__hint,
.city-sheet__recenter,
.city-sheet .menu-action {
  flex-shrink: 0;
}

.city-sheet .sheet__hint {
  margin-bottom: 16px;
}

.city-sheet__search {
  margin-bottom: 14px;
}

.city-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  display: grid;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 2px 4px calc(14px + var(--mobile-browser-chrome-clearance)) 0;
}

.city-list__section {
  display: grid;
  gap: 10px;
}

.city-list__section-title {
  padding: 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.city-list__button {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.city-list__button.is-active {
  border-color: rgba(34, 167, 112, 0.24);
  background: rgba(34, 167, 112, 0.06);
}

.city-list__button-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.city-list__button-title {
  font-size: 15px;
  font-weight: 700;
}

.city-list__button-subtitle,
.city-list__button-check {
  font-size: 12px;
  color: var(--muted);
}

.city-list__empty {
  min-height: 132px;
  padding: 24px 18px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 18px;
  background: #ffffff;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
}

.city-list__empty strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.city-list__empty span {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.city-sheet__recenter,
.city-sheet .menu-action {
  min-height: 46px;
  margin-top: 18px;
  border: 1px solid rgba(18, 24, 38, 0.06);
  border-radius: 14px;
  background: rgba(249, 250, 251, 0.98);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

@media (hover: hover) {
  .city-sheet__recenter:hover,
  .city-sheet .menu-action:hover {
    transform: translateY(-1px);
    border-color: rgba(18, 24, 38, 0.08);
    background: #f6f7f8;
  }
}

.city-sheet__recenter:active,
.city-sheet .menu-action:active {
  transform: translateY(1px);
}

.station-map-back {
  position: absolute;
  top: calc(76px + var(--safe-area-top));
  left: 16px;
  z-index: 1120;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #232323;
}

.station-map-back span {
  font-size: 28px;
  line-height: 1;
  transform: translateX(-1px);
}

@keyframes mapGpsPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 167, 112, 0.18);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(34, 167, 112, 0);
  }
}

.map-gps-button {
  position: absolute;
  top: calc(76px + var(--safe-area-top));
  right: 16px;
  z-index: 1120;
  min-height: 42px;
  max-width: min(224px, calc(100vw - 32px));
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(18, 24, 38, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-refero-subtle);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.map-gps-button:active {
  transform: translateY(1px);
}

.map-gps-button:disabled {
  cursor: default;
}

.map-gps-button__icon {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(34, 167, 112, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--first-screen-green, var(--green));
  flex: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.map-gps-button__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-gps-button__label {
  min-width: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--station-card-text);
}

.map-gps-button.is-loading .map-gps-button__icon {
  animation: mapGpsPulse 1.25s ease-in-out infinite;
}

.map-gps-button.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--station-card-text);
}

.map-gps-button.is-active .map-gps-button__icon {
  background: var(--first-screen-green, var(--green));
  color: #ffffff;
}

.map-gps-button.is-error .map-gps-button__icon {
  background: rgba(228, 84, 74, 0.12);
  color: var(--red);
}

.station-map-fuel-strip {
  position: absolute;
  left: 16px;
  bottom: calc(
    var(--app-viewport-height) - var(--first-screen-map-height) + var(--first-screen-detail-panel-overlap) + var(--station-map-fuel-strip-sheet-gap)
  );
  z-index: 1110;
  width: calc(var(--first-screen-shell-width) - 32px);
  pointer-events: none;
}

.station-map-fuel-strip__track {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}

.station-map-fuel-strip__track--available {
  border: 1px solid rgba(34, 167, 112, 0.12);
}

.station-map-fuel-strip__track--empty,
.station-map-fuel-strip__track--stale {
  border: 1px solid rgba(18, 24, 38, 0.08);
}

.station-map-fuel-strip__label,
.station-map-fuel-strip__empty {
  font-size: 14px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: -0.04em;
  color: #3f3f3f;
}

.station-map-fuel-strip__chip {
  min-width: 31px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(34, 167, 112, 0.12);
  color: #12925b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.station-map-fuel-strip__chip--selected {
  background: #22a770;
  color: #ffffff;
}

.station-map-fuel-strip__note {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.03em;
  color: #8b8b8b;
}

.detail-panel {
  --detail-sheet-reveal-progress: 0.24;
  position: absolute;
  left: 0;
  right: auto;
  top: calc(var(--first-screen-map-height) - var(--first-screen-detail-panel-overlap));
  bottom: 0;
  z-index: 1105;
  width: var(--first-screen-shell-width);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, var(--station-card-canvas) 0%, var(--station-card-surface) 88px);
  box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(var(--sheet-drag-offset, 0px));
  transition:
    top 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: calc(94px - 38px * var(--detail-sheet-reveal-progress));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.42) 42%,
    rgba(255, 255, 255, 0.84) 72%,
    #ffffff 100%
  );
  opacity: calc(1 - var(--detail-sheet-reveal-progress));
  transform: translateY(calc(16px * (1 - var(--detail-sheet-reveal-progress))));
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    height 0.24s ease;
  pointer-events: none;
}

.detail-panel.is-expanded {
  top: calc(var(--safe-area-top) + 126px);
}

.detail-panel.is-route-focused {
  top: calc(var(--app-viewport-height) - (214px + var(--safe-area-bottom)));
}

.detail-panel.is-peek-collapsed {
  top: calc(var(--app-viewport-height) - (var(--first-screen-detail-panel-peek-height) + var(--safe-area-bottom)));
}

.detail-panel__handle-zone {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 4;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 12px 0 20px;
  touch-action: none;
}

.detail-panel__handle {
  width: 80px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-panel__handle span {
  width: 56px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(23, 23, 23, 0.18);
}

.detail-panel__content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: auto;
  padding: 10px 0 calc(var(--spacing-24) + var(--safe-area-bottom) + var(--mobile-browser-chrome-clearance));
  scrollbar-width: none;
}

.detail-panel__content::-webkit-scrollbar {
  display: none;
}

.station-detail {
  display: grid;
  gap: var(--spacing-16);
  padding-bottom: var(--spacing-8);
  color: var(--station-card-text);
  font-family: var(--font-inter);
}

.station-detail__extended {
  display: grid;
  gap: var(--spacing-16);
  opacity: calc(0.3 + 0.7 * var(--detail-sheet-reveal-progress));
  transform: translateY(calc((1 - var(--detail-sheet-reveal-progress)) * 18px));
  transform-origin: top center;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
  will-change: opacity, transform;
}

.station-detail__back-row {
  display: none;
}

.station-detail__back {
  width: 42px;
  height: 42px;
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-pill);
  background: var(--station-card-surface);
  color: var(--station-card-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-refero-subtle-2);
}

.station-detail__back span {
  font-size: 28px;
  line-height: 1;
  transform: translateX(-1px);
}

.station-detail-hero {
  display: grid;
  gap: var(--spacing-16);
  padding: var(--spacing-20);
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-card-lg);
  background: linear-gradient(180deg, var(--station-card-surface) 0%, var(--station-card-canvas) 100%);
  box-shadow: var(--shadow-refero-sm);
}

.station-detail-hero--yes {
  border-color: rgba(40, 163, 106, 0.16);
}

.station-detail-hero--warn {
  border-color: rgba(213, 154, 24, 0.18);
}

.station-detail-hero--no {
  border-color: rgba(228, 84, 74, 0.16);
}

.station-detail-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-12);
}

.station-detail-hero__status-wrap {
  display: grid;
  gap: var(--spacing-8);
}

.station-detail-hero__eyebrow {
  color: var(--station-card-soft-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-detail-hero__status {
  width: fit-content;
  min-height: 36px;
  padding: 0 var(--spacing-16);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.station-detail-hero__status--yes {
  background: var(--green-soft);
  color: var(--green);
}

.station-detail-hero__status--warn {
  background: rgba(255, 107, 26, 0.12);
  color: var(--station-card-accent);
}

.station-detail-hero__status--no {
  background: var(--red-soft);
  color: var(--red);
}

.station-detail-hero__status--neutral {
  background: var(--station-card-muted-surface);
  color: var(--station-card-text);
}

.station-detail-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--spacing-16);
}

.station-detail-summary__brand .brand-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-card-lg);
  font-size: 16px;
  box-shadow: var(--shadow-refero-subtle-2);
}

.station-detail-summary__copy {
  min-width: 0;
  display: grid;
  gap: var(--spacing-8);
}

.station-detail-summary__eyebrow {
  margin: 0;
  color: var(--station-card-soft-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-detail-summary__title {
  margin: 0;
  color: var(--station-card-text);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.station-detail-summary__address {
  margin: 0;
  color: var(--station-card-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.station-detail-summary__save {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-card);
  background: var(--station-card-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-refero-subtle-2);
  flex-shrink: 0;
}

.station-detail-summary__save img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.station-detail-summary__save.is-active {
  background: var(--station-card-accent-soft);
  border-color: rgba(255, 107, 26, 0.18);
}

.station-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-8);
}

.station-detail-chip {
  min-height: 32px;
  padding: 0 var(--spacing-12);
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-pill);
  background: var(--station-card-muted-surface);
  color: var(--station-card-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.station-detail-chip--distance {
  background: var(--station-card-surface);
}

.station-detail-chip--accent {
  border-color: rgba(255, 107, 26, 0.18);
  background: var(--station-card-accent-soft);
  color: var(--station-card-accent);
}

.station-detail-chip--muted {
  color: var(--station-card-muted);
}

.station-detail-hero__support {
  margin: 0;
  color: var(--station-card-soft-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.station-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-12);
}

.station-detail-action-card {
  min-height: 88px;
  padding: var(--spacing-16);
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--station-card-divider);
  background: var(--station-card-surface);
  color: var(--station-card-text);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-12);
  text-align: left;
  box-shadow: var(--shadow-refero-subtle-2);
}

.station-detail-action-card:disabled {
  opacity: 0.62;
  cursor: default;
}

.station-detail-action-card--primary {
  grid-column: 1 / -1;
  border-color: rgba(23, 23, 23, 0.12);
  background: var(--station-card-text);
  color: #ffffff;
  box-shadow: var(--shadow-refero-subtle);
}

.station-detail-action-card--ghost {
  background: var(--station-card-muted-surface);
}

.station-detail-action-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--station-card-muted-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.station-detail-action-card__icon--primary {
  background: rgba(255, 255, 255, 0.14);
}

.station-detail-action-card__icon-image {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.station-detail-action-card__icon-image--report {
  width: 20px;
  height: 20px;
}

.station-detail-action-card__copy {
  min-width: 0;
  display: grid;
  gap: var(--spacing-4);
}

.station-detail-action-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.station-detail-action-card__subtitle {
  color: var(--station-card-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.station-detail-action-card--primary .station-detail-action-card__subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.station-detail-action-card__chevron {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 1;
}

.station-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-12);
}

.station-detail-fact {
  min-width: 0;
  padding: var(--spacing-16);
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-card);
  background: var(--station-card-surface);
  display: grid;
  gap: var(--spacing-8);
  box-shadow: var(--shadow-refero-subtle-2);
}

.station-detail-fact--wide {
  grid-column: 1 / -1;
}

.station-detail-fact__label {
  color: var(--station-card-soft-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-detail-fact__value {
  color: var(--station-card-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.station-detail-fact__value-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.station-detail-fact__value--numeric {
  font-size: 29px;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.station-detail-fact__unit,
.station-detail-fact__hint {
  color: var(--station-card-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.station-detail-section,
.station-detail-updates {
  display: grid;
  gap: var(--spacing-12);
}

.station-detail-section__head,
.station-detail-updates__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-12);
}

.station-detail-section__title,
.station-detail-updates__title {
  margin: 0;
  color: var(--station-card-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.station-detail-section__subtitle,
.station-detail-updates__subtitle {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--station-card-muted);
}

.station-detail-section__badge {
  min-height: 28px;
  padding: 0 var(--spacing-12);
  border-radius: var(--radius-pill);
  background: var(--station-card-accent-soft);
  color: var(--station-card-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.station-detail-fuels__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-8);
}

.station-detail-fuels__chip {
  min-height: 28px;
  padding: 0 var(--spacing-12);
  border-radius: var(--radius-pill);
  background: var(--station-card-muted-surface);
  color: var(--station-card-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.station-detail-fuels__card {
  overflow: hidden;
}

.station-detail-fuels .fuel-card {
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--station-card-divider);
  background: var(--station-card-surface);
  box-shadow: var(--shadow-refero-subtle-2);
}

.station-detail-fuels .fuel-row {
  min-height: 58px;
  padding: 0 var(--spacing-16);
  border-bottom: 1px solid var(--station-card-divider);
}

.station-detail-fuels .fuel-row:last-child {
  border-bottom: 0;
}

.station-detail-fuels .fuel-row__name {
  color: var(--station-card-text);
  font-size: 16px;
  font-weight: 600;
}

.station-detail-fuels .fuel-row__meta {
  color: var(--station-card-muted);
}

.station-detail-fuels .fuel-row__status {
  min-height: 28px;
  padding: 0 var(--spacing-12);
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

.station-detail-fuels__empty {
  padding: var(--spacing-16);
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-card);
  background: var(--station-card-muted-surface);
  color: var(--station-card-muted);
  font-size: 14px;
  line-height: 1.45;
}

.station-detail-updates__list {
  display: grid;
  gap: var(--spacing-8);
}

.station-detail-update {
  min-height: 64px;
  padding: var(--spacing-12);
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-card);
  background: var(--station-card-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-12);
  box-shadow: var(--shadow-refero-subtle-2);
}

.station-detail-update__left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-12);
}

.station-detail-update__marker {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-card);
  background: var(--station-card-muted-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.station-detail-update__marker img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.station-detail-update__marker--yes {
  background: rgba(34, 167, 112, 0.12);
}

.station-detail-update__marker--queue,
.station-detail-update__marker--limit {
  background: rgba(213, 154, 24, 0.14);
}

.station-detail-update__marker--no {
  background: rgba(228, 84, 74, 0.12);
}

.station-detail-update__copy {
  min-width: 0;
  display: grid;
  gap: var(--spacing-4);
}

.station-detail-update__title {
  margin: 0;
  color: var(--station-card-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.station-detail-update__detail,
.station-detail-update__time {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--station-card-muted);
}

.station-detail-update__time {
  flex-shrink: 0;
  white-space: nowrap;
}

.station-detail-updates__more {
  min-height: 46px;
  padding: 0 var(--spacing-16);
  border: 1px solid var(--station-card-divider);
  border-radius: var(--radius-card);
  background: var(--station-card-muted-surface);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-12);
  color: var(--station-card-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  box-shadow: var(--shadow-refero-subtle-2);
}

.station-detail-updates__more-arrow {
  color: var(--station-card-muted);
  font-size: 20px;
  line-height: 1;
}

.report-form {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.report-form__section {
  display: grid;
  gap: 12px;
}

.report-form__title {
  margin: 0;
  color: #101828;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.report-grid--status {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.report-card {
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 16px;
  align-items: start;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.15;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.report-card.is-active {
  transform: translateY(-1px);
  border-color: var(--report-card-outline);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), var(--report-card-soft));
  box-shadow:
    inset 0 0 0 1px var(--report-card-outline),
    0 16px 28px rgba(15, 23, 42, 0.08);
}

.report-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--report-card-icon-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.report-card__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.report-card__label {
  color: #172033;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.report-card.is-active .report-card__label {
  color: var(--report-card-accent);
}

.report-card.is-active .report-card__icon {
  background: var(--report-card-icon-active-surface);
}

.report-limit-block {
  margin-top: -4px;
}

.search-field--compact {
  min-height: 50px;
  margin-bottom: 0;
  border-radius: 14px;
}

#report-overlay .sheet {
  width: min(860px, calc(100vw - 36px));
  max-height: min(900px, calc(var(--app-viewport-height) - var(--safe-area-top) - var(--safe-area-bottom) - 32px));
  padding: 24px 24px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97));
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
}

#report-overlay .sheet__head {
  margin-bottom: 12px;
  flex-shrink: 0;
}

#report-overlay .sheet__eyebrow {
  margin: 0 0 10px;
  color: #7b8498;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#report-overlay .sheet__head h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  max-width: 760px;
}

#report-overlay .sheet__hint {
  margin: 0 0 18px;
  max-width: 700px;
  color: #667085;
  font-size: 15px;
  line-height: 1.48;
  flex-shrink: 0;
}

#report-overlay .sheet__close {
  background: rgba(245, 247, 250, 0.94);
  color: #7b8498;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 38, 0.06);
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

#report-overlay .sheet__actions {
  gap: 12px;
}

#report-overlay .action-button {
  min-height: 52px;
  font-size: 15px;
  border-radius: 14px;
}

#report-intro-actions {
  max-width: 460px;
  flex-shrink: 0;
}

#report-overlay .report-form__section + .report-form__section {
  padding-top: 4px;
}

#report-overlay .report-form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  width: min(100%, 680px);
  margin: 18px auto 0;
  padding-right: 4px;
  padding-bottom: calc(12px + var(--safe-area-bottom));
  scroll-padding-bottom: calc(24px + var(--safe-area-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

#report-overlay .report-form::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#report-overlay.is-intro-step .sheet__head > div {
  flex: 1;
  text-align: center;
}

#report-overlay.is-intro-step .sheet__eyebrow {
  text-align: center;
}

#report-overlay.is-intro-step .sheet__head h2 {
  margin: 0 auto;
  max-width: 680px;
  font-size: clamp(28px, 3.8vw, 42px);
}

#report-overlay.is-intro-step .sheet__hint {
  margin: 0 auto 16px;
  text-align: center;
}

#report-overlay.is-intro-step #report-intro-actions {
  width: min(460px, 100%);
  margin: 0 auto;
}

#report-overlay .search-field--compact {
  border: 1px solid rgba(18, 24, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 20px rgba(15, 23, 42, 0.04);
}

#report-overlay .search-field--compact input {
  font-size: 14px;
}

@media (hover: hover) {
  .report-fuel-chip:hover,
  .report-queue-chip:hover,
  .report-card:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 767px) {
  #report-overlay {
    padding: 16px;
    overflow-y: auto;
  }

  #report-overlay .sheet {
    width: min(100%, calc(100vw - 16px));
    padding: 20px 16px 18px;
    border-radius: 24px;
  }

  #report-overlay .sheet__head h2 {
    font-size: 28px;
  }

  #report-overlay .sheet__hint {
    font-size: 13px;
  }

  .report-grid--status {
    gap: 10px;
  }

  .report-card {
    min-height: 88px;
    padding: 12px;
    gap: 10px;
  }

  .report-card__icon {
    width: 34px;
    height: 34px;
  }

  .report-card__icon img {
    width: 18px;
    height: 18px;
  }

  .report-card__label {
    font-size: 13px;
  }

  #report-overlay.is-intro-step .sheet__head h2 {
    font-size: 24px;
  }

  .sheet > .sheet__actions:last-child,
  #report-overlay.is-intro-step #report-intro-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin-top: auto;
    padding-top: 12px;
    padding-bottom: calc(8px + var(--safe-area-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 18px, rgba(255, 255, 255, 0.99) 100%);
  }

  #report-overlay.is-intro-step #report-intro-actions,
  #report-overlay .report-form > .sheet__actions {
    background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0%, rgba(247, 249, 252, 0.94) 18px, rgba(247, 249, 252, 0.98) 100%);
  }

  #report-overlay .report-form > .sheet__actions {
    position: static;
    z-index: auto;
    margin-top: 18px;
    padding-top: 0;
    padding-bottom: 0;
    background: none;
  }

  .sheet > .route-sheet__cancel:last-child {
    position: sticky;
    bottom: calc(4px + var(--safe-area-bottom));
    z-index: 3;
    margin-top: 20px;
  }
}

@media (min-width: 1100px) {
  :root {
    --first-screen-shell-width: 393px;
  }

  .station-list {
    width: 393px;
  }
}

@media (max-width: 1099px) {
  .route-badge {
    bottom: calc(var(--app-viewport-height) - var(--first-screen-map-height) + 54px + var(--safe-area-bottom));
  }
}

@media (max-width: 640px) {
  :root {
    --first-screen-map-height: clamp(330px, 48vh, 497px);
  }

  .topbar {
    top: calc(12px + var(--safe-area-top));
    left: 8px;
    right: 8px;
    width: auto;
  }

  .radar-header {
    padding: 8px;
    gap: 5px;
  }

  .station-map-back {
    top: calc(80px + var(--safe-area-top));
    left: 8px;
  }

  .map-gps-button {
    top: calc(80px + var(--safe-area-top));
    right: 8px;
    max-width: min(224px, calc(100vw - 16px));
  }

  .radar-header__brand {
    flex-basis: 118px;
    min-width: 112px;
    gap: 6px;
    padding-right: 4px;
  }

  .radar-header__city {
    min-width: 128px;
    max-width: min(50vw, 186px);
  }

  .radar-header__logo {
    width: 38px;
    height: 38px;
  }

  .radar-header__brand-title {
    font-size: 14px;
  }

  .radar-header__brand-subtitle {
    font-size: 10.5px;
  }

  .map-fuel-strip {
    min-height: 41px;
  }

  .station-list__actions-scroll {
    margin-top: 12px;
    padding: 0 7px 12px;
    min-height: 58px;
  }

  .sheet-action-card--primary {
    width: 178px;
    min-width: 178px;
    min-height: 46px;
    height: 46px;
  }

  .sheet-action-card--selected-state {
    min-width: 178px;
  }

  .sheet-action-card--secondary {
    min-width: 128px;
    padding: 0 14px;
  }

  .station-map-fuel-strip {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .station-list {
    left: 0;
    right: 0;
    width: auto;
  }

  .detail-panel {
    left: 0;
    right: 0;
    width: auto;
  }

  .detail-panel.is-expanded {
    top: calc(var(--safe-area-top) + 126px);
  }

  .station-list__surface {
    border-radius: 28px 28px 0 0;
  }

  .station-detail {
    gap: var(--spacing-12);
  }

  .station-detail-hero {
    padding: var(--spacing-16);
  }

  .station-detail-summary {
    gap: var(--spacing-12);
  }

  .station-list__head h2 {
    font-size: 22px;
  }

  .station-detail-summary__title {
    font-size: 22px;
  }

  .station-detail-action-card {
    min-height: 82px;
    padding: 14px;
  }

  .station-detail-action-card__icon {
    width: 40px;
    height: 40px;
  }

  .station-detail-action-card__title {
    font-size: 14px;
  }

  .station-detail-action-card__subtitle {
    font-size: 11px;
  }

  .station-detail-fact {
    padding: var(--spacing-12);
  }

  .station-detail-fact__value {
    font-size: 16px;
  }

  .station-detail-fact__value--numeric {
    font-size: 22px;
  }

  .station-detail-section__head,
  .station-detail-updates__head {
    align-items: flex-start;
  }

  .sheet-action-card--secondary {
    min-width: 120px;
  }
}

@media (min-width: 1024px) {
  .app-shell {
    display: grid;
    grid-template-columns: var(--desktop-sidebar-width) minmax(0, 1fr);
    grid-template-rows: 100vh;
    background: #ffffff;
  }

  .desktop-sidebar-shell {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    min-width: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0 0;
    background: #ffffff;
    border-right: 1px solid rgba(18, 24, 38, 0.08);
  }

  .map-root {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    width: 100%;
    height: 100vh;
    min-width: 0;
  }

  .topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    z-index: 3;
    display: block;
    pointer-events: auto;
    padding: 0 20px;
  }

  .radar-header__brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .radar-header__city {
    width: fit-content;
    min-width: 0;
    max-width: 172px;
    padding-right: 8px;
    grid-template-columns: 16px auto 14px;
  }

  .radar-header__city #city-pill-text {
    text-align: left;
  }

  .map-fuel-pill,
  .map-fuel-pill--selected {
    box-shadow: inset 0 0 0 1px var(--first-screen-chip-border);
  }

  .map-fuel-pill[data-fuel="ДТ"] {
    min-width: 44px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .map-fuel-strip {
    width: 100%;
    min-height: 41px;
    padding: 0 0 8px;
  }

  .map-fuel-strip__track {
    padding-right: 0;
  }

  .map-state {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: 3;
    max-width: none;
    margin: 0 24px;
  }

  .station-list {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 24px 24px;
    display: flex !important;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .station-list__surface {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    /* Keep desktop list content scrollable inside the fixed left rail. */
    overflow-x: hidden;
    overflow-y: auto;
  }

  .station-list__handle-outer {
    display: none;
  }

  .station-list__fuel-hint {
    margin: 0 0 10px;
    text-align: left;
  }

  .station-list__actions-scroll {
    margin-top: 12px;
    padding: 0 0 10px;
    min-height: 58px;
  }

  .station-list__actions-track {
    padding-right: 0;
  }

  .station-list__head {
    margin: 12px 0 0;
  }

  .station-list__items {
    margin-top: 16px;
    padding: 0 0 12px;
  }

  .station-list.is-detail .station-list__items {
    padding: 0;
  }

  .station-map-back {
    display: none !important;
  }

  .map-gps-button {
    top: 24px;
    right: 24px;
    max-width: 290px;
  }

  .station-map-fuel-strip {
    left: calc(var(--desktop-sidebar-width) + 24px);
    right: 24px;
    bottom: 24px;
    width: auto;
    max-width: none;
  }

  .detail-panel {
    display: none !important;
  }

  .station-list.is-detail .station-list__items {
    padding: 0 0 32px;
  }

  .station-detail--desktop {
    padding-top: 4px;
  }

  .station-detail--desktop .station-detail__back-row {
    display: flex;
  }

  .station-detail--desktop .station-detail-summary__brand .brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .station-detail--desktop .station-detail-summary__title {
    font-size: 32px;
  }

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

  .station-detail--desktop .station-detail-fact--wide {
    grid-column: auto;
  }

.route-badge {
    left: calc(50vw + (var(--desktop-sidebar-width) / 2));
    bottom: calc(28px + var(--safe-area-bottom));
  }
}

.station-detail--sheet {
  gap: 0;
  padding-bottom: 0;
  color: #000000;
  font-family: "Manrope", sans-serif;
}

.station-detail-sheet {
  --station-sheet-surface: #ffffff;
  --station-sheet-surface-muted: #d9d9d9;
  --station-sheet-surface-soft: #edf7ef;
  --station-sheet-surface-warm: #fff6e5;
  --station-sheet-surface-danger: #fff0ef;
  --station-sheet-stroke-soft: #e4e4e4;
  --station-sheet-stroke-card: #eaeaea;
  --station-sheet-stroke-divider: #f5f5f5;
  --station-sheet-text: #000000;
  --station-sheet-text-muted: #898989;
  --station-sheet-text-soft: #919191;
  --station-sheet-green: #22a770;
  --station-sheet-orange: #e79600;
  --station-sheet-orange-deep: #e76800;
  --station-sheet-red: #b41c18;
  --station-sheet-shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.15);
  --station-sheet-shadow-float: 0 4px 25px rgba(0, 0, 0, 0.13);
  width: 100%;
  margin: 0;
  padding: 0 18px calc(24px + var(--safe-area-bottom));
}

.station-detail-sheet__summary {
  display: flex;
  align-items: center;
  gap: 15px;
}

.station-detail-sheet__logo {
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--station-sheet-surface-muted);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.station-detail-sheet__logo .brand-badge {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  box-shadow: none;
  font-size: 12px;
}

.station-detail-sheet__logo .brand-badge__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.station-detail-sheet__summary-copy {
  min-width: 0;
  flex: 1;
}

.station-detail-sheet__title {
  margin: 0;
  color: var(--station-sheet-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: -0.88px;
}

.station-detail-sheet__distance {
  margin: 1px 0 0;
  color: var(--station-sheet-text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.56px;
}

.station-detail-sheet__save {
  margin-left: auto;
  width: 41px;
  height: 41px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--station-sheet-surface);
  box-shadow: var(--station-sheet-shadow-float);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.station-detail-sheet__save-icon {
  position: absolute;
  width: 15px;
  height: 20px;
  object-fit: contain;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.station-detail-sheet__save-icon--accent {
  opacity: 0;
}

.station-detail-sheet__save.is-active .station-detail-sheet__save-icon--default {
  opacity: 0;
}

.station-detail-sheet__save.is-active .station-detail-sheet__save-icon--accent {
  opacity: 1;
}

.station-detail-sheet__save:active {
  transform: scale(0.965);
}

.station-detail-sheet__save:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(43, 110, 242, 0.12),
    var(--station-sheet-shadow-float);
}

.station-detail-sheet__fuel-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0 47px;
}

.station-detail-sheet__fuel-summary-pill {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.station-detail-sheet__fuel-summary-pill--yes {
  background: rgba(34, 167, 112, 0.1);
  color: #1a8a57;
  box-shadow: inset 0 0 0 1px rgba(34, 167, 112, 0.18);
}

.station-detail-sheet__fuel-summary-pill--no {
  background: rgba(180, 28, 24, 0.08);
  color: #b41c18;
  box-shadow: inset 0 0 0 1px rgba(180, 28, 24, 0.14);
}

.station-detail-sheet__fuel-summary-pill--neutral {
  background: #f4f6f8;
  color: #6e7787;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 38, 0.08);
}

.station-detail-sheet__fuel-summary-key {
  font-weight: 800;
}

.station-detail-sheet__fuel-summary-values {
  font-weight: 700;
}

.station-detail-sheet__save.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(34, 167, 112, 0.2),
    0 4px 25px rgba(0, 0, 0, 0.13);
  background: rgba(237, 247, 239, 0.9);
}

.station-detail-sheet__divider {
  height: 1px;
  margin: 16px -18px 23px;
  background: var(--station-sheet-stroke-divider);
}

.station-detail-sheet__divider--wide-gap {
  margin: 21px -18px 31px;
}

.station-detail-sheet__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px;
}

.station-detail-sheet__action-card {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.station-detail-sheet__action-card:disabled {
  opacity: 0.62;
  cursor: default;
}

.station-detail-sheet__action-card--status {
  cursor: default;
}

.station-detail-sheet__action-circle {
  width: 71px;
  height: 71px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background-color 0.18s ease;
}

.station-detail-sheet__action-circle--green {
  background: var(--station-sheet-green);
}

.station-detail-sheet__action-circle--white {
  background: var(--station-sheet-surface);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.station-detail-sheet__action-circle--queue {
  background: #e89600;
}

.station-detail-sheet__action-circle--danger {
  background: #b41c18;
}

.station-detail-sheet__action-circle-text {
  padding: 0 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.36px;
}

.station-detail-sheet__action-circle-text--queue {
  padding: 0 8px;
  font-weight: 700;
  letter-spacing: -0.24px;
}

.station-detail-sheet__action-icon {
  display: block;
  object-fit: contain;
}

.station-detail-sheet__action-icon--check {
  width: 25px;
  height: 19px;
}

.station-detail-sheet__action-icon--plane {
  width: 22px;
  height: 20px;
}

.station-detail-sheet__action-icon--route {
  width: 34px;
  height: 34px;
}

.station-detail-sheet__action-icon--status {
  width: 19px;
  height: 19px;
}

.station-detail-sheet__action-icon--stale {
  width: 33px;
  height: 33px;
}

.station-detail-sheet__action-icon--report {
  width: 32px;
  height: 38px;
}

.station-detail-sheet__action-circle--report {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.station-detail-sheet__action-label {
  margin: 14px 0 0;
  color: var(--station-sheet-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.56px;
  text-align: center;
  transition: color 0.18s ease;
}

.station-detail-sheet__action-label--multi {
  width: 80px;
}

@media (hover: hover) {
  .station-detail-sheet__action-card:hover .station-detail-sheet__action-circle,
  .station-detail-sheet__action-card--status:hover .station-detail-sheet__action-circle {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
    filter: saturate(1.04);
  }

  .station-detail-sheet__action-card:hover .station-detail-sheet__action-label,
  .station-detail-sheet__action-card--status:hover .station-detail-sheet__action-label {
    color: #161c25;
  }

  .station-detail-sheet__action-card:disabled:hover .station-detail-sheet__action-circle {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.14);
    filter: none;
  }
}

.station-detail-sheet__action-card:focus-visible .station-detail-sheet__action-circle {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.18),
    0 0 0 3px rgba(34, 167, 112, 0.14);
}

.station-detail-sheet__action-card:focus-visible .station-detail-sheet__action-label {
  color: #161c25;
}

.station-detail-sheet__action-card:active .station-detail-sheet__action-circle {
  transform: translateY(0) scale(0.98);
}

.station-detail-sheet__panel-stack {
  display: grid;
  gap: 8px;
  margin-top: 25px;
}

.station-detail-sheet__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  padding: 0;
}

.station-detail-sheet__panel {
  min-height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 6px 12px;
  text-align: left;
}

.station-detail-sheet__panel-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
  flex: 1;
}

.station-detail-sheet__panel--confidence {
  gap: 10px;
  align-items: flex-start;
  min-height: 66px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.station-detail-sheet__panel--confidence-high {
  background: var(--station-sheet-surface-soft);
}

.station-detail-sheet__panel--confidence-medium {
  background: var(--station-sheet-surface-warm);
}

.station-detail-sheet__panel--confidence-low {
  background: var(--station-sheet-surface-danger);
}

.station-detail-sheet__panel--confirmations {
  border: 1px solid var(--station-sheet-stroke-card);
  background: var(--station-sheet-surface);
  justify-content: space-between;
}

.station-detail-sheet__panel-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: none;
}

.station-detail-sheet__panel-icon--confidence {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.station-detail-sheet__panel-title {
  color: var(--station-sheet-green);
  font-size: 12px;
  font-weight: 800;
  line-height: 15px;
  letter-spacing: -0.36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.station-detail-sheet__panel-subtitle {
  color: #b3b3b3;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-detail-sheet__panel--confidence-medium .station-detail-sheet__panel-title {
  color: var(--station-sheet-orange);
}

.station-detail-sheet__panel--confidence-low .station-detail-sheet__panel-title {
  color: var(--station-sheet-red);
}

.station-detail-sheet__panel--confirmations-medium .station-detail-sheet__panel-title {
  color: var(--station-sheet-orange);
}

.station-detail-sheet__panel--confirmations-low .station-detail-sheet__panel-title {
  color: var(--station-sheet-red);
}

.station-detail-sheet__panel-why {
  width: fit-content;
  border: 0;
  padding: 0;
  background: none;
  color: #7f7f7f;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: underline;
}

.station-detail-sheet__confidence-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.station-detail-sheet__confidence-meter-track {
  position: relative;
  flex: 1;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.station-detail-sheet__confidence-meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.station-detail-sheet__confidence-meter-fill--high {
  background: var(--station-sheet-green);
}

.station-detail-sheet__confidence-meter-fill--medium {
  background: #e89600;
}

.station-detail-sheet__confidence-meter-fill--low {
  background: var(--station-sheet-red);
}

.station-detail-sheet__confidence-meter-value {
  min-width: 42px;
  height: 22px;
  border-radius: 999px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.22px;
  flex: none;
}

.station-detail-sheet__confidence-meter-value--high {
  color: var(--station-sheet-green);
}

.station-detail-sheet__confidence-meter-value--medium {
  color: #c77f00;
}

.station-detail-sheet__confidence-meter-value--low {
  color: var(--station-sheet-red);
}

.station-detail-sheet__panel-chevron {
  margin-left: 8px;
  color: #bcbcbc;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.station-detail-sheet__panel-chevron svg {
  width: 12px;
  height: 12px;
  display: block;
}

.station-detail-sheet__confidence-note {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f8f8f8;
  box-shadow: inset 0 0 0 1px #efefef;
}

.station-detail-sheet__confidence-note-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.station-detail-sheet__confidence-note-title,
.station-detail-sheet__confidence-note-text {
  margin: 0;
}

.station-detail-sheet__confidence-note-title {
  color: var(--station-sheet-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: -0.36px;
}

.station-detail-sheet__confidence-note-close {
  width: 28px;
  height: 28px;
  margin: -4px -4px 0 0;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: #9aa1ab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.station-detail-sheet__confidence-note-close svg {
  width: 14px;
  height: 14px;
  display: block;
}

@media (hover: hover) {
  .station-detail-sheet__confidence-note-close:hover {
    background: rgba(18, 24, 38, 0.06);
    color: #4f5763;
  }
}

.station-detail-sheet__confidence-note-close:focus-visible {
  background: rgba(18, 24, 38, 0.06);
  color: #4f5763;
}

.station-detail-sheet__confidence-note-close:active {
  transform: scale(0.96);
}

.station-detail-sheet__confidence-note-text {
  margin-top: 6px;
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.42;
}

.station-detail-sheet__share {
  width: 100%;
  height: 36px;
  margin: 8px auto 0;
  border: 0;
  border-radius: 8px;
  background: var(--station-sheet-surface);
  box-shadow:
    inset 0 0 0 1px #f4f4f4,
    var(--station-sheet-shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #1e1e1e;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.42px;
}

.station-detail-sheet__share-icon {
  width: 16px;
  height: 14px;
  object-fit: contain;
}

.station-detail-sheet__address {
  width: 100%;
  margin-top: 7px;
  border: 0;
  padding: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.station-detail-sheet__address-text {
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.24px;
}

.station-detail-sheet__address-copy {
  width: 20px;
  height: 20px;
  color: #9a9a9a;
  flex: none;
}

.station-detail-sheet__address-copy svg {
  width: 100%;
  height: 100%;
  display: block;
}

.station-detail-sheet__updates-title {
  margin: 0;
  color: var(--station-sheet-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: -0.88px;
}

.station-detail-sheet__updates-subtitle {
  margin: 1px 0 0;
  color: var(--station-sheet-text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.56px;
}

.station-detail-sheet__updates-list {
  margin-top: 14px;
}

.station-detail-sheet__update-item {
  min-height: 51px;
  border-top: 1px solid var(--station-sheet-surface-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.station-detail-sheet__update-item:last-child {
  border-bottom: 1px solid var(--station-sheet-surface-muted);
}

.station-detail-sheet__update-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.station-detail-sheet__update-marker {
  position: relative;
  width: 39px;
  height: 28px;
  flex: none;
}

.station-detail-sheet__update-dot {
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.station-detail-sheet__update-marker img {
  position: absolute;
  left: 15px;
  top: 0;
  width: 24px;
  height: 28px;
  object-fit: contain;
}

.station-detail-sheet__update-copy {
  min-width: 0;
}

.station-detail-sheet__update-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.64px;
}

.station-detail-sheet__update-detail {
  margin: -2px 0 0;
  color: var(--station-sheet-text-soft);
  font-size: 10px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.4px;
}

.station-detail-sheet__update-time {
  color: var(--station-sheet-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.56px;
  white-space: nowrap;
  flex: none;
}

.station-detail-sheet__update-item--queue .station-detail-sheet__update-title {
  color: var(--station-sheet-orange);
}

.station-detail-sheet__update-item--queue .station-detail-sheet__update-dot {
  background: var(--station-sheet-orange);
}

.station-detail-sheet__update-item--fuel .station-detail-sheet__update-title {
  color: var(--station-sheet-green);
}

.station-detail-sheet__update-item--fuel .station-detail-sheet__update-dot {
  background: var(--station-sheet-green);
}

.station-detail-sheet__update-item--limit .station-detail-sheet__update-title {
  color: var(--station-sheet-orange-deep);
}

.station-detail-sheet__update-item--limit .station-detail-sheet__update-dot {
  background: var(--station-sheet-orange-deep);
}

.station-detail-sheet__update-item--no .station-detail-sheet__update-title {
  color: var(--station-sheet-red);
}

.station-detail-sheet__update-item--no .station-detail-sheet__update-dot {
  background: var(--station-sheet-red);
}

.station-detail-sheet__update-item--empty .station-detail-sheet__update-title {
  color: #7f8791;
}

.station-detail-sheet__update-item--empty .station-detail-sheet__update-dot {
  background: #a7afb8;
}

.station-detail-sheet__updates-more {
  margin-top: 9px;
  border: 0;
  padding: 4px 2px;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--station-sheet-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: -0.36px;
}

.station-detail-sheet__updates-more-arrow {
  font-size: 22px;
  line-height: 1;
}

.station-detail-sheet__stats {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.station-detail-sheet__stat-card {
  height: 50px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--station-sheet-surface);
  box-shadow: inset 0 0 0 1px var(--station-sheet-stroke-card);
  display: flex;
  align-items: center;
  gap: 8px;
}

.station-detail-sheet__stat-card--small {
  width: 136px;
  flex: none;
}

.station-detail-sheet__stat-card--wide {
  width: 174px;
  flex: none;
}

.station-detail-sheet__stat-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: none;
}

.station-detail-sheet__stat-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.station-detail-sheet__stat-title {
  color: var(--station-sheet-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 16px;
  letter-spacing: -0.36px;
  white-space: nowrap;
}

.station-detail-sheet__stat-subtitle {
  margin-top: 0;
  color: var(--station-sheet-text-soft);
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.station-detail-sheet__missing-link-row {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.station-detail-sheet__missing-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #9298a4;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.18s ease;
}

@media (hover: hover) {
  .station-detail-sheet__missing-link:hover {
    color: #6f7787;
  }
}

@media (max-width: 380px) {
  .station-detail-sheet__actions,
  .station-detail-sheet__panels,
  .station-detail-sheet__stats {
    gap: 10px;
  }

  .station-detail-sheet__panels {
    grid-template-columns: 1fr;
  }

  .station-detail-sheet__stats {
    flex-wrap: wrap;
  }

  .station-detail-sheet__stat-card--small,
  .station-detail-sheet__stat-card--wide {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .station-detail--desktop {
    padding: 4px 0 0;
  }

  .station-detail--desktop .station-detail__back-row {
    display: flex;
    margin-bottom: 12px;
    padding: 0;
  }

  .station-detail--desktop .station-detail-sheet {
    width: 100%;
    padding: 20px;
    border: 1px solid var(--station-sheet-stroke-card);
    border-radius: 24px;
    background: var(--station-sheet-surface);
    box-shadow: var(--shadow-refero-sm);
  }

  .station-detail--desktop .station-detail-sheet__divider {
    margin-left: -20px;
    margin-right: -20px;
  }

  .station-detail--desktop .station-detail-sheet__fuel-summary {
    margin-left: 47px;
  }
}
