:root {
  --bg: #0A0B0E;
  --bg-deep: #07080A;
  --surface: #1B1D22;
  --surface-2: #2F333A;
  --ink: #ffffff;
  --muted: #9AA0A8;
  --line: rgba(255, 255, 255, 0.08);
  --orange: #F7931E;
  --go: #5FA04E;
  --go-bg: rgba(95, 160, 78, 0.16);
  --glass: rgba(27, 29, 34, 0.88);
  --glass-strong: rgba(10, 11, 14, 0.94);
  --radius: 16px;
  --radius-btn: 14px;
  --btn-h: 52px;
  --btn-ink: #1A1207;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: calc(72px + var(--safe-bottom));
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "SF Pro Display", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.no-tabs { --tabbar-h: env(safe-area-inset-bottom, 0px); }
a { color: inherit; text-decoration: none; }
h1 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
h2 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.4; }
.accent { color: var(--orange); }
.stack { display: grid; gap: 12px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.page-pad { padding: 0 16px calc(24px + var(--tabbar-h)); }
.phone {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 12px 0 calc(var(--tabbar-h) + 16px);
}
.phone.flush { padding: 0; min-height: 100dvh; position: relative; }
.phone.bare { padding-bottom: 24px; }

.page-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 14px;
}
.page-head h1 { text-align: center; font-size: 18px; }
.track-head { align-items: flex-start; padding-top: 10px; }
.track-titles { text-align: center; }
.track-titles h1 { font-size: 18px; }
.status-line {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.status-line h1 { margin: 0; }
.eta-chip {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border-radius: 999px; background: rgba(95, 160, 78, 0.18); color: var(--go);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}
.eta-chip[hidden] { display: none !important; }
.code-line { margin-top: 4px; font-size: 12px; }
.head-spacer { width: 44px; height: 44px; }
.back-btn, .icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.back-btn img, .icon-btn img, .round-btn img, .menu-ico img {
  width: 22px; height: 22px; object-fit: contain; display: block;
}
.back-btn svg, .icon-btn svg, .tabbar svg, .menu-ico svg, .round-btn svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.status-live { color: var(--go); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
}
.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.btn {
  width: 100%; min-height: var(--btn-h); border: 0; border-radius: var(--radius-btn);
  background: var(--orange); color: var(--btn-ink);
  font: 700 16px/1.2 Manrope, system-ui, sans-serif;
  letter-spacing: 0.01em; cursor: pointer;
  display: grid; place-items: center; text-align: center;
  padding: 14px 18px;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}
.btn:active { transform: scale(0.98); filter: brightness(0.95); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn.ghost, .btn.dark, .btn.secondary {
  background: var(--surface); color: var(--ink);
}
.btn.ghost { border: 0; }
.btn.secondary:active, .btn.ghost:active, .btn.dark:active {
  filter: brightness(1.08);
}

.dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; margin-top: 4px;
}
.dot.go { background: var(--go); box-shadow: 0 0 0 4px var(--go-bg); }
.dot.stop { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16); }

.flash {
  margin: 12px 16px; padding: 12px 14px; border-radius: 14px;
  background: rgba(34, 197, 94, 0.14); color: #d8ffe8; font-size: 14px;
}
.flash.error { background: rgba(239, 68, 68, 0.16); color: #ffd4d4; }
.phone.flush > .flash {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(10px + env(safe-area-inset-top));
}

.home-stage { position: relative; min-height: 100dvh; background: var(--bg-deep); }
.map-full { position: absolute; inset: 0; background: #161616; }
.map { height: 220px; overflow: hidden; background: #161616; }
.map.tall { height: min(46dvh, 360px); border-radius: 0; }
.locked-map {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}
.locked-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: auto;
  background: transparent;
}
.locked-map [class*="ground-pane"],
.locked-map [class*="places-pane"] {
  filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.92);
}
.locked-map [class*="copyrights-pane"],
.locked-map [class*="copyright"],
.locked-map ymaps[class*="copyrights"],
.locked-map [class*="gototech"],
.locked-map a[href*="yandex"],
.locked-map [class*="map-copyrights"],
.locked-map [class*="ymaps-2"][class*="copyright"],
.locked-map [class*="map-copyrights-promo"],
.locked-map [class*="controls-pane"],
.locked-map [class*="float-button"],
.locked-map [class*="gotoymaps"],
.locked-map [class*="balloon"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

.search-float {
  position: absolute; z-index: 20; left: 16px; right: 16px;
  top: calc(12px + env(safe-area-inset-top));
  border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.search-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.search-float .title { margin: 0; font-size: 20px; font-weight: 600; }
.route-card { display: grid; gap: 0; }
.stop { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.stop + .stop { border-top: 1px solid var(--line); }
.stop span { display: grid; gap: 2px; width: 100%; color: var(--muted); font-size: 12px; font-weight: 500; }
.stop input {
  width: 100%; border: 0; background: transparent; color: var(--ink);
  font: 600 16px/1.3 Inter, system-ui, sans-serif; padding: 0; outline: none;
}
.suggest { margin-top: 4px; display: grid; max-height: 150px; overflow: auto; }
.suggest button {
  text-align: left; background: transparent; color: var(--ink); border: 0;
  border-top: 1px solid var(--line); padding: 12px 0; font: 400 14px Inter, system-ui, sans-serif;
}

.sheet {
  position: absolute; z-index: 25; left: 0; right: 0; bottom: var(--tabbar-h);
  max-height: min(56dvh, 500px); overflow: auto;
  border-radius: 24px 24px 0 0; padding: 8px 16px 18px;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.45);
}
.sheet-handle {
  width: 42px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.22);
  margin: 4px auto 12px;
}
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sheet-head h2 { margin: 0; }
.km-chip { color: var(--orange); font-size: 13px; font-weight: 600; }

.fleet {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; overflow: visible; padding: 2px 0 10px; margin-bottom: 8px;
}
.fleet::-webkit-scrollbar { display: none; }
.truck {
  position: relative; display: grid; gap: 2px; justify-items: stretch; text-align: left;
  background: var(--surface); border: 1.5px solid transparent; border-radius: 16px;
  padding: 10px 10px 12px; min-width: 0; width: 100%;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
  cursor: pointer;
}
.truck.on {
  border-color: var(--orange);
  background: rgba(247, 147, 30, 0.06);
}
.truck input { position: absolute; opacity: 0; pointer-events: none; }
.truck img {
  width: 100%; height: 56px; object-fit: contain; margin: 6px 0 4px;
  justify-self: center;
}
.truck strong { font-size: 13px; font-weight: 600; line-height: 1.2; }
.truck small { color: var(--muted); font-size: 11px; line-height: 1.2; }
.truck b { color: var(--ink); font-size: 12px; font-weight: 700; margin-top: 2px; }
.truck.on strong, .truck.on b { color: var(--ink); }

.due-picker {
  width: 100%; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-2); color: var(--ink); padding: 12px; font: 500 15px Manrope, sans-serif;
}

.when-row {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: transparent; border: 0; color: var(--ink); padding: 12px 0; margin-bottom: 10px;
  font: 500 15px Inter, system-ui, sans-serif; cursor: pointer;
}
.when-row strong { color: var(--orange); font-weight: 600; }
.cta-row { display: grid; gap: 8px; }
.bill .row { padding: 5px 0; color: var(--muted); font-size: 14px; }
.bill .foot { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--ink); }
.bill b, .foot b { color: var(--orange); font-size: 20px; font-weight: 700; }
.pay-ok-note {
  text-align: center;
  color: #34c759;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 8px;
}
.guest-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(247, 147, 30, 0.16);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.guest-hint { margin: 10px 2px 0; font-size: 13px; line-height: 1.35; }
.place-row { align-items: flex-start; gap: 10px; }
.place-meta { flex: 1; min-width: 0; }
.place-meta strong { display: block; font-size: 15px; }
.place-meta p { margin: 4px 0 0; font-size: 13px; }
.place-actions { display: flex; gap: 6px; flex-shrink: 0; }
.round-btn.tiny {
  width: 34px; height: 34px; border-radius: 10px;
  border: 0; background: rgba(255,255,255,0.06); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 14px;
}
.round-btn.tiny.on { color: var(--orange); background: rgba(247,147,30,0.16); }
.round-btn.tiny.danger { color: #ff5c5c; }
.receipt { text-align: left; }
.receipt-logo { width: min(180px, 60%); margin-bottom: 12px; }
.receipt h2 { margin: 0; font-size: 22px; }
.receipt-grid { margin: 18px 0; display: grid; gap: 12px; }
.receipt-grid dt { color: var(--muted); font-size: 12px; margin: 0 0 2px; }
.receipt-grid dd { margin: 0; font-size: 15px; font-weight: 600; }
.receipt-grid .money { color: var(--orange); font-size: 20px; }
.receipt-note { margin: 0 0 14px; font-size: 13px; }
@media print {
  .tabbar, .page-head, .flash, .btn { display: none !important; }
  body { background: #fff; color: #111; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}

.tabs.pill {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.tabs.pill a {
  text-align: center; padding: 12px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--surface-2); color: var(--muted);
}
.tabs.pill a.on { background: var(--orange); color: #fff; font-weight: 600; }

.order-card { display: grid; gap: 12px; }
.pill {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--go-bg); color: var(--go);
}
.pill.live { background: var(--go-bg); color: var(--go); }
.pill.wait { background: rgba(255, 122, 0, 0.14); color: var(--orange); }
.pill.done { background: rgba(160, 160, 160, 0.16); color: var(--muted); }
.route-lines { display: grid; gap: 10px; }
.route-lines p { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-foot b { color: var(--ink); font-size: 18px; font-weight: 700; }
.order-foot img { width: 72px; height: 40px; object-fit: contain; }

.track-sheet {
  margin-top: -18px; position: relative; z-index: 5;
  background: var(--surface); border-radius: 24px 24px 0 0;
  padding: 8px 16px calc(24px + var(--tabbar-h));
  min-height: 42dvh;
}
.track-focus { display: grid; gap: 14px; }
.plate-hero {
  display: flex; align-items: center; gap: 14px;
  padding: 4px 0 2px;
}
.plate-hero img { width: 88px; height: 52px; object-fit: contain; flex: none; }
.plate-copy { min-width: 0; }
.plate-number {
  margin: 0; font-size: 28px; font-weight: 800; letter-spacing: 0.08em;
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.plate-name {
  margin: 6px 0 0; color: var(--muted); font-size: 14px; font-weight: 500;
}
.driver-row.slim { padding-top: 2px; }
.driver-label {
  display: block; color: var(--muted); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px;
}
.driver-meta strong { display: block; font-size: 15px; font-weight: 600; }
.bill-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
}
.bill-sum { display: block; margin-top: 2px; color: var(--orange); font-size: 22px; font-weight: 800; }
.pay-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.receipt-link {
  color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px;
}
.receipt-link[hidden] { display: none !important; }
.pay-ok {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.14);
  color: #34c759;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pay-ok::before { content: "✓"; font-weight: 800; }
.empty-state {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 28px 12px 12px;
}
.empty-state img {
  width: min(180px, 56vw); height: auto; object-fit: contain; opacity: 0.92;
}
.empty-state p {
  margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; max-width: 28ch;
}
.empty-state .btn { margin-top: 4px; min-width: 160px; }
.empty-state.wait { padding: 18px 8px 8px; }
.empty-state.wait img { width: min(140px, 46vw); }
.order-actions {
  display: grid; gap: 10px; margin-top: 14px;
  position: sticky; bottom: calc(var(--tabbar-h) + 8px);
  padding-top: 4px; z-index: 6;
}
.driver-row { display: flex; align-items: center; gap: 12px; }
.driver-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #2A241C; border: 1px solid rgba(247, 147, 30, 0.28);
}
.driver-avatar img {
  width: 24px; height: 24px; object-fit: contain;
}
.driver-meta { flex: 1; min-width: 0; }
.driver-actions { display: flex; gap: 8px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 14px; background: var(--surface-2);
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--line);
}
.round-btn img { width: 20px; height: 20px; }

.profile-hero { text-align: center; padding: 8px 0 20px; }
.avatar.brand {
  width: 100px; height: 100px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1a1a1a; border: 1px solid var(--line);
  color: var(--orange); font-size: 42px; font-weight: 700;
}
.avatar-logo {
  width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 16px;
  object-fit: contain; background: #0a0a0a; display: block; padding: 10px;
  border: 1px solid var(--line);
}
.brand-logo {
  width: min(260px, 78%); margin: 0 auto 10px; display: block; object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(255, 122, 0, 0.18));
}
.glass {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sheet { max-height: min(58dvh, 560px); }
@media (min-width: 768px) {
  .phone { width: min(840px, 100%); }
  .fleet { gap: 14px; }
  .truck img { height: 72px; }
  .sheet { max-height: min(52dvh, 620px); }
}
.tagline {
  margin: 0; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 48px; }
.eye-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.eye-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.eye-btn.on { color: var(--orange); }
.chat { display: grid; gap: 8px; max-height: 42dvh; overflow: auto; padding: 4px 0; }
.bubble {
  max-width: 88%; padding: 10px 12px; border-radius: 14px; background: #252525;
}
.bubble.me { margin-left: auto; background: rgba(255,122,0,.18); }
.bubble.them { margin-right: auto; }
.bubble p { font-size: 14px; line-height: 1.4; }
.bubble small { color: var(--muted); font-size: 11px; }
.notice-card { display: grid; gap: 6px; }
.profile-hero h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.menu-card {
  padding: 4px 4px; border-radius: 16px; overflow: hidden;
  background: var(--surface);
}
.menu-row {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 15px 12px; border: 0; background: transparent; color: var(--ink);
  font: 500 15px Manrope, system-ui, sans-serif; text-align: left; cursor: pointer;
}
.menu-row + .menu-row { border-top: 1px solid var(--line); }
.menu-ico { width: 24px; height: 24px; flex: none; display: grid; place-items: center; }
.menu-ico img { width: 22px; height: 22px; opacity: 1; }
.chev {
  margin-left: auto; width: 16px; height: 16px; flex: none;
  object-fit: contain; opacity: 0.55;
}
.edit-link { display: inline-block; margin-top: 12px; color: var(--orange); font-size: 14px; font-weight: 500; }

.switch { position: relative; width: 48px; height: 28px; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute; inset: 0; border-radius: 999px; background: #3a3a3a; transition: 0.2s;
}
.switch span::before {
  content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px;
  border-radius: 50%; background: #fff; transition: 0.2s;
}
.switch input:checked + span { background: var(--orange); }
.switch input:checked + span::before { transform: translateX(20px); }

.field { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  border-radius: 12px; padding: 14px; font: 400 16px Inter, system-ui, sans-serif; outline: none;
}

.auth {
  min-height: 100dvh; display: grid; align-content: center; gap: 18px;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  width: min(420px, 100%); margin: 0 auto;
  background: radial-gradient(560px 260px at 50% -8%, rgba(255, 122, 0, 0.16), transparent 60%), var(--bg-deep);
}
.auth-brand { text-align: center; }
.auth-brand .mark {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px;
  display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 24px; font-weight: 700;
}
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px;
  background: var(--surface); border-radius: 14px;
}
.auth-tabs button {
  border: 0; background: transparent; color: var(--muted); padding: 12px; border-radius: 11px;
  font: 500 14px Inter, system-ui, sans-serif; cursor: pointer;
}
.auth-tabs button.on { background: var(--orange); color: #fff; font-weight: 600; }
.auth-panel { display: none; }
.auth-panel.on { display: grid; gap: 14px; }
.auth-card {
  background: var(--surface); border-radius: 20px; padding: 20px 18px; display: grid; gap: 14px;
}
.auth-note { text-align: center; color: var(--muted); font-size: 13px; }

.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(720px, 100%); display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 6px calc(8px + var(--safe-bottom)); z-index: 100;
  pointer-events: auto;
}
.tabbar a {
  text-align: center; color: var(--muted); font-size: 11px; font-weight: 500;
  padding: 6px 2px; display: grid; gap: 4px; justify-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.tabbar .tab-ico {
  position: relative; width: 24px; height: 24px; display: grid; place-items: center;
}
.tabbar .tab-ico svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.18s ease;
}
.tabbar a.on { color: var(--orange); }
.tabbar a.on .tab-ico svg { transform: translateY(-1px); }
.tabbar a:active { transform: scale(0.96); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.anim-in { animation: rise-in 0.45s ease both; }
.anim-in.delay-1 { animation-delay: 0.06s; }
.anim-in.delay-2 { animation-delay: 0.12s; }
.anim-in.delay-3 { animation-delay: 0.18s; }
.truck { transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease; }
.truck:active { transform: scale(0.97); }
.menu-row { transition: background 0.15s ease; }
.menu-row:active { background: rgba(255,255,255,0.04); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.btn:focus-visible, .back-btn:focus-visible, .icon-btn:focus-visible {
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .anim-in, .tabbar .tab-ico svg, .truck, .menu-row { animation: none !important; transition: none !important; }
}

@media (min-width: 768px) {
  .phone { width: min(860px, 100%); padding-top: 16px; }
  .tabbar { width: min(860px, 100%); }
  .sheet {
    left: 0; right: 0; width: auto; max-width: 860px; margin: 0 auto;
    max-height: min(48dvh, 560px);
  }
  .search-float {
    left: 16px; right: 16px; width: auto; max-width: 828px; margin: 0 auto;
  }
  .fleet { gap: 14px; }
  .truck img { height: 72px; }
  .page-pad { padding-left: 24px; padding-right: 24px; }
  .home-stage { min-height: 100dvh; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .sheet { left: 0; right: 0; width: auto; }
}

