:root {
  --bg: #F5F4F0;
  --card: #FFFFFF;
  --chip: #E8E6E0;
  --text: #17181A;
  --text-2: #3C3F44;
  --muted: #5F6368;
  --accent: #1F4FD1;
  --accent-shadow: rgba(31, 79, 209, .28);
  --ok-bg: #DCEFE3; --ok: #145532; --ok-strong: #1E7A45;
  --warn-bg: #F7E6C4; --warn: #6B3D00;
  --bad-bg: #F6D6D3; --bad: #7A1A14;
  --ash: #D3CFC6;
  --fuse: #B8763A;
  --fuse-hi: #E7C9A0;
  --char: #3B2A1E;
  --solid: #17181A;
  --on-solid: #FFFFFF;
  --accent-soft: #E3EAFB;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --card: #1C1D20;
    --chip: #2A2B2F;
    --text: #F1F0EC;
    --text-2: #D2D0CA;
    --muted: #A3A6AB;
    --accent: #5B85F0;
    --accent-shadow: rgba(91, 133, 240, .25);
    --ok-bg: #173A26; --ok: #9BDDB3; --ok-strong: #2E9A5C;
    --warn-bg: #3D2C0E; --warn: #F2C77E;
    --bad-bg: #3F1A17; --bad: #F2A59D;
    --ash: #45423C;
    --fuse: #C98A4E;
    --fuse-hi: #F0D7B4;
    --char: #0B0807;
    --solid: #F1F0EC;
    --on-solid: #17181A;
    --accent-soft: #1D2A4D;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 Onest, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }

.app {
  max-width: 440px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
main { flex: 1; display: flex; flex-direction: column; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.no-chrome .topbar { display: none; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--chip); }
.tabs button { height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 600; }
.tabs button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.stack { flex: 1; display: flex; flex-direction: column; gap: 16px; padding-top: 20px; }
.muted { color: var(--muted); }
.sub { font-size: 17px; color: var(--muted); }
.line { font-size: 17px; line-height: 1.5; }
.hint { font-size: 14px; color: var(--muted); text-align: center; }
.label { font-size: 14px; font-weight: 600; color: var(--muted); }

.btn { height: 54px; border: 0; border-radius: 16px; font-size: 17px; font-weight: 600; width: 100%; }
.btn.solid { background: var(--solid); color: var(--on-solid); }
.btn.soft { background: var(--chip); color: var(--text); }
.btn.link { background: transparent; color: var(--accent); height: 46px; }
.btn.on { background: var(--ok-strong); color: #FFFFFF; }
.actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

/* ---- фитиль ---- */
.fuse-wrap { position: relative; width: 220px; height: 220px; }
.fuse-wrap svg { position: absolute; inset: 0; overflow: visible; }
.fuse-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.fuse-num .big { font-size: 78px; font-weight: 800; line-height: 1; letter-spacing: -3px; }
.fuse-num .small { font-size: 16px; color: var(--muted); }
.fuse-arc { transition: stroke-dasharray 1s linear; }
.spark { transition: transform 1s linear; }
.flame { animation: flick .18s infinite alternate ease-in-out; }
.flame2 { animation: flick .11s infinite alternate-reverse ease-in-out; }
@keyframes flick { from { transform: scale(.8); } to { transform: scale(1.25); } }
.ember { animation: fly .9s infinite ease-out; }
.e1 { --dx: 14px; --dy: -16px; }
.e2 { --dx: -12px; --dy: -14px; animation-delay: .3s; animation-duration: .7s; }
.e3 { --dx: 4px; --dy: -22px; animation-delay: .55s; animation-duration: 1.1s; }
@keyframes fly { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .flame, .flame2, .ember { animation: none; } .fuse-arc, .spark { transition: none; } }

/* ---- карточки автобусов ---- */
.buses { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bus {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 14px 10px 10px; border-radius: 14px; background: var(--card); text-align: left; border: 2px solid transparent;
}
.bus.sel { border-color: var(--solid); }
.bus.typical { border-style: dashed; border-color: var(--ash); }
.bus.typical.sel { border-color: var(--solid); }
.bus .bar { position: absolute; left: 0; right: 0; top: 0; height: 6px; }
.bus .t { font-size: 19px; font-weight: 700; }
.bus .s { font-size: 13px; color: var(--muted); }
.pill { display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.lv0 { background: var(--ok-bg); color: var(--ok); }
.lv1 { background: var(--warn-bg); color: var(--warn); }
.lv2 { background: var(--bad-bg); color: var(--bad); }
.lvn { background: var(--chip); color: var(--muted); }

/* ---- выходи ---- */
.go-icon { width: 120px; height: 120px; border-radius: 999px; background: var(--ok-strong); display: flex; align-items: center; justify-content: center; }
.headline { font-size: 44px; font-weight: 800; letter-spacing: -1px; }

/* ---- оценка ---- */
.pct { font-size: 76px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.word { font-size: 20px; font-weight: 600; }
.range-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; margin: 14px 0;
  background: linear-gradient(90deg, #2E8B57 0%, #9BBF4A 30%, #E0B33A 55%, #E07A2E 78%, #C8443B 100%); outline: none;
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; border-radius: 999px; background: #FFFFFF; border: 3px solid #17181A; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
input[type=range]::-moz-range-thumb { width: 34px; height: 34px; border-radius: 999px; background: #FFFFFF; border: 3px solid #17181A; }
input[type=range]:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.card { background: var(--card); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; text-align: left; width: 100%; }
.scale { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #2E8B57 0%, #9BBF4A 30%, #E0B33A 55%, #E07A2E 78%, #C8443B 100%); }
.scale .iqr { position: absolute; top: -5px; height: 24px; border: 2px solid var(--solid); border-radius: 8px; }
.scale .mark { position: absolute; top: -9px; width: 6px; height: 32px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 2px var(--card); }

/* ---- вечер ---- */
.leave-btn {
  width: 240px; height: 240px; border-radius: 999px; border: 0; background: var(--accent); color: #FFFFFF;
  font-size: 34px; font-weight: 700; box-shadow: 0 12px 32px var(--accent-shadow);
}
.kicker { font-size: 16px; color: var(--muted); }
.stop-name { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.tone { align-self: flex-start; border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 600; }
.facts { background: var(--card); border-radius: 20px; padding: 16px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.facts .k { font-size: 13px; color: var(--muted); }
.facts .v { font-size: 19px; font-weight: 700; }
.note { font-size: 14px; line-height: 1.45; color: var(--warn); background: var(--warn-bg); border-radius: 12px; padding: 10px 12px; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; background: var(--card); border: 0; border-radius: 14px; padding: 10px 14px; }
.opt .t { font-size: 16px; font-weight: 700; }
.opt .s { font-size: 13px; color: var(--muted); }
.opt .d { flex-shrink: 0; max-width: 130px; text-align: right; font-size: 13px; font-weight: 600; color: var(--muted); }
.opt .d.better { color: var(--ok); }
.opt .d.sched { color: var(--warn); }
.err { color: var(--bad); font-size: 15px; }

/* ---- обновление Android-приложения ---- */
.update-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; width: 100%; margin-bottom: 10px;
  border: 0; border-radius: 14px; padding: 12px 14px; background: var(--accent); color: #FFFFFF; text-align: left; font-size: 14px;
}
.update-banner b { font-size: 15px; }
.update-banner span { flex: 1 1 100%; opacity: .9; }
.update-banner .go { flex: 0 0 auto; margin-left: auto; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; color: var(--accent); font-weight: 700; opacity: 1; }
.update-overlay {
  position: fixed; inset: 0; z-index: 10; background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center;
}
.update-overlay .u-title { font-size: 26px; font-weight: 700; }
.update-overlay .u-bar { width: 80%; max-width: 320px; height: 10px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.update-overlay #u-fill { width: 0; height: 100%; background: var(--accent); transition: width .2s; }
.update-overlay .u-pct { color: var(--muted); }
.update-overlay .btn { max-width: 320px; }

/* ---- места ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border: 2px solid transparent; border-radius: 999px; background: var(--card); color: var(--text); font-size: 15px; font-weight: 600; }
.chip.on { background: var(--solid); color: var(--on-solid); }
.chip.add { border: 2px dashed var(--ash); background: transparent; color: var(--muted); }
.leave-btn:disabled { opacity: .4; }
.field { width: 100%; height: 48px; border: 2px solid var(--chip); border-radius: 12px; padding: 0 14px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.field:focus { outline: none; border-color: var(--accent); }
.x-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 22px; flex-shrink: 0; }
.btn:disabled { opacity: .4; }

/* ---- значки мест ---- */
.badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; flex-shrink: 0; }
.badge.sq { border-radius: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 5px; height: 42px; }
.chip.add { padding: 0 16px; }
.icon-btn { width: 48px; height: 48px; flex-shrink: 0; border: 0; border-radius: 14px; background: var(--card); color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn.float { box-shadow: 0 2px 10px rgba(0,0,0,.14); }

/* ---- настройки ---- */
.set-head { display: flex; align-items: center; gap: 12px; }
.set-title { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.set-sec { display: flex; flex-direction: column; gap: 8px; }
.set-cap { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.set-card { background: var(--card); border-radius: 18px; overflow: hidden; }
.set-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-top: 1px solid var(--chip); background: transparent; color: var(--text); text-align: left; min-height: 60px; }
.set-row:first-child { border-top: 0; }
.set-row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.set-row .t { font-size: 16px; font-weight: 700; }
.set-row .s { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-row .chev { color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--chip); color: var(--text); font-size: 20px; }

/* ---- место на карте ---- */
.pe { position: fixed; inset: 0; z-index: 5; background: #EAE7DF; }
.pe-map { position: absolute; inset: 0; }
.pe-top { position: absolute; z-index: 1000; left: 16px; right: 16px; top: calc(12px + env(safe-area-inset-top)); display: flex; gap: 8px; }
.pe-search { flex: 1; height: 48px; border-radius: 14px; background: var(--card); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); }
.pe-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.pe-results { position: absolute; z-index: 1000; left: 16px; right: 16px; top: calc(68px + env(safe-area-inset-top)); max-height: 45vh; overflow: auto; background: var(--card); border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.pe-results .opt { background: transparent; }
.pe-pin { position: absolute; z-index: 999; left: 50%; top: 38%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.pe-tip { background: var(--solid); color: var(--on-solid); border-radius: 12px; padding: 7px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.pe-here { position: absolute; z-index: 1000; right: 16px; top: 44%; }
.pe-sheet { position: absolute; z-index: 1000; left: 0; right: 0; bottom: 0; background: var(--card); border-radius: 24px 24px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.14); padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; }
.pe-sheet .grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--ash); }
.pe-addr { display: flex; align-items: flex-start; gap: 10px; }
.pe-addr .t { font-size: 16px; font-weight: 700; }
.pe-addr .s { font-size: 13px; color: var(--muted); }
.pe-name { display: flex; align-items: flex-end; gap: 10px; }
.pe-name .grow { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pe-name .cap { font-size: 12px; font-weight: 600; color: var(--muted); }
.field.strong { border-color: var(--accent); font-weight: 600; font-size: 17px; background: var(--card); }
.ic-row { display: flex; justify-content: space-between; gap: 4px; }
.ic-btn { width: 44px; height: 44px; border-radius: 12px; border: 2px solid transparent; background: var(--bg); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.ic-btn.on { border-color: var(--c); color: var(--c); background: var(--card); }
.btn.primary { background: var(--accent); color: #FFFFFF; }
.btn.danger { color: var(--bad); }
.leaflet-control-attribution { font-size: 10px; }
.pe-results[hidden], .err[hidden] { display: none; }

/* ---- v2: «Поехали» ---- */
.from-row { display: flex; gap: 10px; align-items: center; }
.from { flex: 1; min-width: 0; height: 52px; border-radius: 14px; background: var(--card); display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.from .grow, .slot .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cap { font-size: 12px; color: var(--muted); }
.from .t { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chips.scroll .chip { flex-shrink: 0; }
.seg2 { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--chip); }
.seg2 button { flex: 1; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg2 button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.bk { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; border-radius: 18px; background: var(--solid); color: var(--on-solid); text-align: left; flex-wrap: wrap; }
.bk .grow { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bk b { font-size: 16px; }
.bk span span, .bk .grow > span { font-size: 13px; opacity: .8; }
.bk-actions { display: flex; gap: 8px; width: 100%; }
.bk-btn { flex: 1; height: 44px; border: 0; border-radius: 12px; background: rgba(127,127,127,.25); color: inherit; font-size: 15px; font-weight: 700; }
.bk-btn.main { background: #FFB347; color: #17181A; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; }
.list-head span { font-size: 13px; flex-shrink: 0; }
.slots { display: flex; flex-direction: column; gap: 8px; }
.slot { background: var(--card); border-radius: 18px; padding: 12px 14px; border: 2px solid transparent; }
.slot.best { border-color: #2E8B57; }
.slot.booked { border-color: var(--solid); }
.slot.late { opacity: .55; }
.slot-main { width: 100%; display: flex; gap: 12px; align-items: center; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.s-left { width: 76px; flex-shrink: 0; display: flex; flex-direction: column; }
.s-left .big { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.s-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row1 { display: flex; align-items: center; gap: 6px; font-size: 14px; min-width: 0; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb { flex-shrink: 0; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #FFFFFF; background: var(--accent); }
.load { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.lbar { flex: 1; min-width: 24px; height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; display: block; }
.lbar span { display: block; height: 100%; border-radius: 3px; }
.s-right { width: 76px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.s-right .mid { font-size: 20px; font-weight: 800; }
.fit { font-size: 12px; font-weight: 700; color: var(--muted); }
.fit.ok { color: var(--ok); }
.fit.bad { color: var(--bad); }
.slot-more { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--chip); }
.sig-line { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sig-line .dot { width: 8px; height: 8px; border-radius: 4px; flex-shrink: 0; }
.dot.o { background: #FFB347; }
.dot.r { background: var(--bad); }
.slot-more .btn { margin-top: 4px; }

/* шторка выбора времени */
.sheet-back { position: fixed; inset: 0; z-index: 20; background: rgba(23,24,26,.4); }
.sheet { position: fixed; z-index: 21; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; background: var(--card); border-radius: 24px 24px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.sheet .grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--ash); }
.sheet-title { font-size: 20px; font-weight: 800; }
.tpick { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tcol { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tcol span { font-size: 56px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.tcol button { width: 64px; height: 40px; border: 0; border-radius: 12px; background: var(--chip); color: var(--text); font-size: 18px; }
.tsep { font-size: 52px; font-weight: 800; }
.qrow { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.qchip { height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--chip); color: var(--text); font-size: 14px; font-weight: 600; }
.qchip.on { background: var(--solid); color: var(--on-solid); }

/* в пути */
.t18 { font-size: 18px; font-weight: 800; }
.race { position: relative; background: var(--card); border-radius: 22px; padding: 18px 40px 30px 16px; display: flex; flex-direction: column; gap: 20px; }
.race::after { content: ''; position: absolute; right: 26px; top: 14px; bottom: 30px; width: 3px; border-radius: 2px; background: var(--solid); }
.lane { display: flex; flex-direction: column; gap: 8px; }
.lane-head { display: flex; justify-content: space-between; font-size: 14px; }
.lane-head span { color: var(--muted); }
.track { position: relative; height: 32px; }
.track::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 2px; background: var(--chip); }
.track .fill { position: absolute; left: 0; top: 14px; height: 4px; border-radius: 2px; transition: width .6s; }
.fill.f-me { background: var(--accent); }
.fill.f-bus { background: var(--solid); }
.track .dot { position: absolute; top: 1px; transform: translateX(-50%); height: 30px; min-width: 30px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #FFFFFF; transition: left .6s; box-sizing: border-box; }
.dot.d-me { background: var(--accent); }
.dot.d-bus { background: var(--solid); color: var(--on-solid); border-radius: 8px; }
.stop-mark { position: absolute; right: 8px; bottom: 6px; font-size: 12px; font-weight: 700; }
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nums > div { background: var(--card); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; }
.nums b { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.nums small { font-size: 18px; }

/* настройки */
.sw { width: 50px; height: 30px; border-radius: 999px; padding: 3px; background: var(--ash); display: inline-flex; flex-shrink: 0; }
.sw span { width: 24px; height: 24px; border-radius: 999px; background: #FFFFFF; }
.sw.on { background: var(--accent); justify-content: flex-end; }
.seg-mini { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--chip); }
.seg-mini button { height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.seg-mini button.on { background: var(--card); color: var(--text); }
.stopn { font-size: 13px; color: var(--text-2); }
.s-mid { gap: 4px; }

.offline { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #2b2b2e; color: #fff; font-size: 14px; line-height: 1.4; }
.taxi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--card, #fff); color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.taxi .grow { flex: 1; }
.cap.rush { color: var(--warn); font-weight: 600; }
