@font-face {
  font-family: "Onest";
  src: url("/vendor/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #082b59;
  --navy-soft: #1359a6;
  --navy-pale: #eaf2ff;
  --ink: #152033;
  --muted: #657187;
  --line: #dce3ec;
  --canvas: #f3f6fa;
  --surface: #ffffff;
  --green: #19724a;
  --green-pale: #e8f5ee;
  --yellow: #f6c543;
  --yellow-pale: #fff6d8;
  --red: #b3483c;
  --red-pale: #faecea;
  --shadow: 0 20px 60px rgb(12 42 79 / 14%);
}

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: "Onest", system-ui, sans-serif; font-size: 15px; line-height: 1.45; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #2d79d1; outline-offset: 2px; }
::selection { background: #c9dcf8; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; padding: 10px 14px; background: white; color: var(--navy); transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: none; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; display: flex; width: 232px; flex-direction: column; padding: 22px 14px 18px; color: #dbe9fa; background: var(--navy); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 7px 28px; color: white; font-size: 24px; font-weight: 760; letter-spacing: -0.045em; text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: white; background: rgb(255 255 255 / 8%); }
.brand-mark svg { width: 27px; height: 27px; stroke-width: 2.2; }
.brand-mark.small { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); }
.brand-mark.small svg { width: 22px; height: 22px; }
.brand-dot { color: var(--yellow); }
.nav-list { display: grid; gap: 7px; }
.nav-item { position: relative; display: flex; width: 100%; min-height: 48px; align-items: center; gap: 13px; padding: 0 14px; border: 0; border-radius: 9px; color: #c3d6ed; background: transparent; cursor: pointer; text-align: left; font-weight: 560; }
.nav-item svg { width: 21px; height: 21px; }
.nav-item:hover { color: white; background: rgb(255 255 255 / 6%); }
.nav-item.active { color: white; background: var(--navy-soft); }
.nav-item.active::before { position: absolute; inset: 12px auto 12px -14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--yellow); content: ""; }
.nav-count { min-width: 22px; margin-left: auto; padding: 2px 6px; border-radius: 999px; color: var(--navy); background: var(--yellow); font-size: 11px; font-weight: 760; text-align: center; }
.sidebar-foot { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 12px 9px 0; border-top: 1px solid rgb(255 255 255 / 10%); color: #9eb8d8; font-size: 12px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgb(246 197 67 / 12%); }

.main { min-height: 100vh; margin-left: 232px; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; height: 64px; align-items: center; justify-content: flex-end; gap: 18px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(16px); }
.source-health { display: flex; align-items: center; gap: 10px; }
.source-health > span:last-child { display: grid; }
.source-health strong { font-size: 12px; font-weight: 680; }
.source-health small { color: var(--muted); font-size: 10px; }
.status-orb { width: 9px; height: 9px; border-radius: 50%; background: #93a0b2; box-shadow: 0 0 0 5px #eef1f5; }
.source-health.healthy .status-orb { background: var(--green); box-shadow: 0 0 0 5px var(--green-pale); }
.source-health.degraded .status-orb { background: var(--yellow); box-shadow: 0 0 0 5px var(--yellow-pale); }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 650; text-decoration: none; transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease; }
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: var(--navy-soft); }
.button-secondary { border-color: var(--line); background: white; }
.button-secondary:hover { border-color: #aab7c8; }
.refresh-button { min-width: 124px; }
.refresh-button.loading svg { animation: spin 750ms linear infinite; }
.mobile-brand, .mobile-nav { display: none; }

.view { padding: 28px 30px 30px; }
.content-view { max-width: 1480px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.page-heading h1 { margin: 0; font-size: clamp(28px, 2.3vw, 38px); font-weight: 720; letter-spacing: -0.045em; line-height: 1.08; }
.page-heading p { max-width: 660px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.headline-stats { display: flex; flex: 0 0 auto; gap: 0; padding-bottom: 2px; }
.headline-stats > div { min-width: 148px; display: grid; padding: 0 22px; border-left: 1px solid var(--line); }
.headline-stats strong { font-size: 25px; font-weight: 740; letter-spacing: -0.04em; }
.headline-stats span { color: var(--muted); font-size: 11px; }

.filter-panel { margin-bottom: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.search-field { display: flex; height: 48px; align-items: center; gap: 11px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe; }
.search-field:focus-within { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgb(19 89 166 / 10%); }
.search-field svg { width: 20px; height: 20px; color: #7d8999; }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-field input::placeholder { color: #8b96a6; }
.search-field kbd { padding: 3px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; color: #7c8796; background: white; font: 10px "Onest", sans-serif; }
.filter-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.fuel-filters { display: flex; flex: 1; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.fuel-filters::-webkit-scrollbar { display: none; }
.fuel-chip { min-width: max-content; height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 18px; color: #445066; background: white; cursor: pointer; font-weight: 620; }
.fuel-chip:hover { border-color: #9baabd; }
.fuel-chip.active { border-color: var(--navy); color: white; background: var(--navy); }
.availability-toggle { display: inline-flex; min-width: max-content; align-items: center; gap: 9px; cursor: pointer; color: #425069; font-size: 13px; font-weight: 560; }
.availability-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { position: relative; width: 34px; height: 20px; border-radius: 20px; background: #cad2dd; transition: background 160ms; }
.toggle-track::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgb(0 0 0 / 20%); content: ""; transition: transform 160ms; }
.availability-toggle input:checked + .toggle-track { background: var(--green); }
.availability-toggle input:checked + .toggle-track::after { transform: translateX(14px); }
.availability-toggle input:focus-visible + .toggle-track { outline: 3px solid #2d79d1; outline-offset: 2px; }
.locate-button { min-width: max-content; }
.mobile-segment { display: none; }

.map-workspace { height: calc(100vh - 262px); min-height: 520px; display: grid; grid-template-columns: 420px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 3px 14px rgb(11 41 77 / 5%); }
.station-rail { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: white; }
.rail-head { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; border-bottom: 1px solid var(--line); }
.rail-head > div { display: grid; }
.rail-head strong { font-size: 13px; }
.rail-head span { color: var(--muted); font-size: 10px; }
.rail-head select { max-width: 145px; height: 34px; border: 1px solid var(--line); border-radius: 7px; color: #526077; background: white; font-size: 11px; }
.station-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.station-row { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 16px; border: 0; border-bottom: 1px solid #edf0f4; background: white; cursor: pointer; text-align: left; }
.station-row:hover, .station-row.selected { background: #f7faff; }
.station-row.selected::before { position: absolute; inset: 10px auto 10px 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--navy-soft); content: ""; }
.station-row-head { min-width: 0; }
.station-row-head strong { display: block; overflow: hidden; font-size: 13px; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.station-row-head span { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.station-distance { align-self: start; color: var(--navy-soft); font-size: 11px; font-weight: 680; }
.fuel-state { display: flex; align-items: center; gap: 7px; }
.fuel-state-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 680; }
.fuel-state-badge::before { width: 6px; height: 6px; border-radius: 50%; content: ""; }
.fuel-state-badge.available { color: var(--green); background: var(--green-pale); }
.fuel-state-badge.available::before { background: var(--green); }
.fuel-state-badge.unavailable { color: #7a5c00; background: var(--yellow-pale); }
.fuel-state-badge.unavailable::before { background: #d59a00; }
.fuel-state-badge.unknown { color: #667286; background: #edf1f5; }
.fuel-state-badge.unknown::before { background: #8793a4; }
.station-mode { color: var(--muted); font-size: 10px; }
.station-row-arrow { position: absolute; right: 13px; bottom: 15px; width: 14px; height: 14px; color: #9aa5b4; }
.list-message { display: grid; min-height: 240px; place-items: center; padding: 34px; color: var(--muted); text-align: center; }
.list-message strong { display: block; margin-bottom: 5px; color: var(--ink); }
.skeleton-row { height: 104px; margin: 0; border-bottom: 1px solid #edf0f4; background: linear-gradient(90deg, #fff, #f5f7fa, #fff); background-size: 200% 100%; animation: shimmer 1.1s infinite; }
.map-panel { position: relative; z-index: 0; min-width: 0; overflow: hidden; isolation: isolate; background: #e6ebef; }
#map { position: absolute; inset: 0; background: #e6ebef; }
.leaflet-container { font-family: "Onest", sans-serif; }
.leaflet-control-zoom a { color: var(--navy) !important; }
.leaflet-control-attribution { color: #637085; font-size: 9px; }
.leaflet-control-attribution a { color: var(--navy-soft); }
.map-legend { position: absolute; z-index: 500; left: 14px; bottom: 14px; display: flex; gap: 12px; padding: 8px 10px; border: 1px solid rgb(207 216 228 / 90%); border-radius: 7px; background: rgb(255 255 255 / 92%); box-shadow: 0 6px 20px rgb(24 53 87 / 10%); color: #536078; font-size: 10px; backdrop-filter: blur(8px); }
.map-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px rgb(0 0 0 / 13%); }
.legend-dot.available { background: var(--green); }
.legend-dot.unavailable { background: var(--yellow); }
.legend-dot.unknown { background: #8793a4; }

.station-drawer { position: fixed; z-index: 1200; inset: 0 0 0 auto; width: min(480px, 100vw); overflow-y: auto; padding: 26px; background: white; box-shadow: -18px 0 58px rgb(8 43 89 / 18%); transform: translateX(105%); transition: transform 230ms cubic-bezier(.2,.8,.2,1); }
.station-drawer.open { transform: none; }
.drawer-backdrop { position: fixed; z-index: 1100; inset: 0; background: rgb(7 24 45 / 28%); backdrop-filter: blur(2px); }
.drawer-close, .dialog-close { position: absolute; top: 18px; right: 18px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.drawer-close svg, .dialog-close svg { width: 18px; height: 18px; }
.drawer-kicker { margin: 0 48px 4px 0; color: var(--navy-soft); font-size: 11px; font-weight: 700; }
.drawer-title { margin: 0 48px 0 0; font-size: 28px; letter-spacing: -0.04em; line-height: 1.15; }
.drawer-address { margin: 7px 48px 0 0; color: var(--muted); font-size: 13px; }
.drawer-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.meta-pill { padding: 6px 9px; border-radius: 7px; color: #536078; background: #f0f3f7; font-size: 11px; }
.meta-pill.open { color: var(--green); background: var(--green-pale); }
.drawer-section { padding: 21px 0; border-top: 1px solid var(--line); }
.drawer-section h3 { margin: 0 0 12px; font-size: 14px; }
.price-list { display: grid; gap: 8px; }
.price-row { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; }
.price-fuel { font-weight: 730; }
.price-state { color: var(--muted); font-size: 10px; }
.price-state strong { display: block; color: var(--green); font-size: 11px; }
.price-state strong.no { color: #956d00; }
.price-value { font-size: 17px; font-weight: 730; }
.price-value small { color: var(--muted); font-size: 10px; font-weight: 500; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.route-link { color: var(--navy); background: var(--navy-pale); }
.watch-active { border-color: var(--green); color: var(--green); background: var(--green-pale); }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.service-tag { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: #526077; font-size: 10px; }
.drawer-note { padding: 12px; border-radius: 8px; color: #6f5700; background: var(--yellow-pale); font-size: 10px; }
.drawer-loading { display: grid; min-height: 60vh; place-items: center; color: var(--muted); }

.watch-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .75fr); gap: 20px; }
.watch-list { min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.watch-empty { display: grid; min-height: 360px; place-items: center; padding: 40px; text-align: center; }
.watch-empty svg { width: 42px; height: 42px; margin: 0 auto 15px; color: #8b9aae; }
.watch-empty h2 { margin: 0 0 6px; font-size: 18px; }
.watch-empty p { max-width: 420px; margin: 0; color: var(--muted); }
.watch-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.watch-row:last-child { border-bottom: 0; }
.watch-row h3 { margin: 0; font-size: 14px; }
.watch-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.watch-row-actions { display: flex; align-items: center; gap: 9px; }
.watch-row button { border: 0; color: var(--red); background: none; cursor: pointer; font-size: 11px; font-weight: 650; }
.telegram-card { padding: 28px; border-radius: 12px; color: white; background: var(--navy); }
.telegram-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: white; background: #269bd8; }
.telegram-icon svg { width: 25px; height: 25px; }
.telegram-card h2 { margin: 22px 0 8px; font-size: 21px; line-height: 1.18; }
.telegram-card p { color: #c0d3e9; font-size: 13px; }
.telegram-card ul { padding-left: 18px; color: #dfebf8; font-size: 12px; }
.telegram-card li { margin: 7px 0; }
.stage-badge { display: inline-flex; margin-top: 14px; padding: 7px 10px; border-radius: 6px; color: var(--yellow); background: rgb(246 197 67 / 11%); font-size: 10px; font-weight: 680; }

.analytics-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.analytics-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.analytics-panel.wide { grid-row: span 2; }
.panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-title h2 { margin: 0; font-size: 17px; }
.panel-title span { color: var(--muted); font-size: 10px; }
.fuel-bars { display: grid; gap: 18px; }
.fuel-bar-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 7px; font-size: 12px; }
.fuel-bar-head strong { font-weight: 680; }
.fuel-bar-head span { color: var(--muted); }
.bar-track { height: 10px; overflow: hidden; border-radius: 8px; background: #edf1f5; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--green); }
.bar-fill.medium { background: #d4a019; }
.bar-fill.low { background: var(--red); }
.city-risk-list { display: grid; gap: 7px; }
.city-risk { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid #edf0f4; }
.city-risk:last-child { border-bottom: 0; }
.city-risk strong { font-size: 12px; }
.city-risk span { color: var(--muted); font-size: 10px; }
.city-risk b { grid-row: span 2; align-self: center; color: #8d6500; font-size: 13px; }
.history-placeholder { display: grid; place-items: center; padding: 5px 14px 8px; text-align: center; }
.history-placeholder svg { width: 100%; height: 90px; color: var(--navy-soft); }
.history-placeholder svg path { fill: none; stroke-width: 3; }
.history-placeholder strong { margin-top: 4px; font-size: 13px; }
.history-placeholder span { max-width: 360px; margin-top: 5px; color: var(--muted); font-size: 10px; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.about-lead, .about-facts, .disclaimer { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.about-lead h2 { max-width: 720px; margin: 0 0 18px; font-size: clamp(24px, 3vw, 42px); letter-spacing: -0.05em; line-height: 1.08; }
.about-lead p { max-width: 680px; margin: 0; color: var(--muted); }
.about-facts { display: grid; gap: 18px; }
.about-facts div { display: grid; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.about-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.about-facts strong { font-size: 19px; }
.about-facts span { color: var(--muted); font-size: 11px; }
.disclaimer { grid-column: 1 / -1; display: flex; gap: 17px; background: var(--yellow-pale); }
.disclaimer > svg { width: 28px; height: 28px; flex: 0 0 auto; color: #8a6400; }
.disclaimer h2 { margin: 0 0 4px; font-size: 15px; }
.disclaimer p { margin: 0; color: #6e5d2f; font-size: 12px; }

.telegram-dialog { width: min(490px, calc(100vw - 30px)); padding: 30px; border: 0; border-radius: 15px; color: var(--ink); box-shadow: var(--shadow); }
.telegram-dialog::backdrop { background: rgb(8 27 51 / 48%); backdrop-filter: blur(3px); }
.telegram-dialog h2 { margin: 20px 40px 8px 0; font-size: 23px; letter-spacing: -0.035em; }
.telegram-dialog p { color: var(--muted); font-size: 13px; }
.dialog-close { top: 16px; right: 16px; }
.dialog-ok { width: 100%; margin-top: 9px; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 25px; max-width: min(420px, calc(100vw - 30px)); padding: 10px 15px; border-radius: 8px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity 180ms, transform 180ms; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 1180px) {
  .map-workspace { grid-template-columns: 360px minmax(0, 1fr); }
  .headline-stats > div { min-width: 125px; padding: 0 16px; }
  .locate-button { width: 42px; min-width: 42px; padding: 0; }
  .locate-button { font-size: 0; }
  .locate-button svg { width: 18px; height: 18px; }
}

@media (max-width: 920px) {
  body { padding-bottom: 68px; }
  body.drawer-open .map-panel { visibility: hidden; }
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .topbar { height: 60px; justify-content: space-between; padding: 0 18px; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--navy); background: transparent; font-size: 18px; font-weight: 760; letter-spacing: -0.04em; }
  .source-health { margin-left: auto; }
  .refresh-button { min-width: 42px; width: 42px; padding: 0; }
  .refresh-button span { display: none; }
  .mobile-nav { position: fixed; z-index: 80; inset: auto 0 0; display: grid; height: 68px; grid-template-columns: repeat(4, 1fr); padding: 6px 8px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(18px); }
  .mobile-nav button { display: grid; place-items: center; gap: 2px; border: 0; color: #738097; background: transparent; font-size: 9px; }
  .mobile-nav svg { width: 21px; height: 21px; }
  .mobile-nav button.active { color: var(--navy-soft); font-weight: 680; }
  .view { padding: 22px 18px 18px; }
  .map-heading { align-items: flex-start; }
  .headline-stats { align-self: center; }
  .filter-row { flex-wrap: wrap; }
  .fuel-filters { order: 1; width: 100%; flex-basis: 100%; }
  .availability-toggle { order: 2; }
  .locate-button { order: 3; margin-left: auto; }
  .map-workspace { height: calc(100vh - 342px); min-height: 430px; grid-template-columns: 330px minmax(0, 1fr); }
  .watch-layout, .analytics-grid, .about-grid { grid-template-columns: 1fr; }
  .analytics-panel.wide { grid-row: auto; }
}

@media (max-width: 680px) {
  .topbar { padding: 0 14px; }
  .source-health small { display: none; }
  .source-health strong { max-width: 116px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .page-heading { align-items: flex-start; }
  .map-heading { display: block; }
  .page-heading h1 { font-size: 29px; }
  .page-heading p { font-size: 12px; }
  .headline-stats { margin-top: 18px; }
  .headline-stats > div { min-width: 0; flex: 1; padding: 0 14px 0 0; border-left: 0; border-right: 1px solid var(--line); }
  .headline-stats > div + div { padding-left: 14px; border-right: 0; }
  .headline-stats strong { font-size: 22px; }
  .search-field kbd { display: none; }
  .filter-panel { padding: 10px; }
  .availability-toggle { font-size: 12px; }
  .mobile-segment { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 10px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: white; }
  .mobile-segment button { height: 34px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 650; }
  .mobile-segment button.active { color: white; background: var(--navy); }
  .map-workspace { height: calc(100vh - 420px); min-height: 410px; display: block; }
  .station-rail, .map-panel { width: 100%; height: 100%; border: 0; }
  .map-workspace[data-mobile-pane-active="list"] .map-panel { display: none; }
  .map-workspace[data-mobile-pane-active="map"] .station-rail { display: none; }
  .rail-head { min-height: 58px; }
  .station-drawer { inset: 8% 0 0; width: 100%; border-radius: 18px 18px 0 0; transform: translateY(105%); }
  .station-drawer.open { transform: none; }
  .drawer-actions { grid-template-columns: 1fr; }
  .page-heading > .button { min-width: 42px; padding: 10px; font-size: 0; }
  .watch-layout { display: flex; flex-direction: column-reverse; }
  .telegram-card { padding: 23px; }
  .disclaimer { display: block; }
  .disclaimer > svg { margin-bottom: 10px; }
}

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