/* Zookzy Rider — /ride mobile-first (under fixed site header, no FAB clutter) */
body.ride-app-page {
  /* Fixed .header overlays content — offset main so map/panel start below nav */
  --ride-header-gap: var(--header-h, 56px);
}
body.ride-app-page #main-content {
  padding-top: var(--ride-header-gap) !important;
  box-sizing: border-box;
  min-height: 100dvh;
}

/* Header lang/country must stay above map/sheet and remain clickable */
body.ride-app-page .header {
  z-index: 10060 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}
body.ride-app-page .header .country-dropdown-menu,
body.ride-app-page .header .lang-dropdown-menu {
  z-index: 10080 !important;
  pointer-events: auto !important;
}
/* Quick-link FAB orbit + admin photo float sit on top of the order form — hide on ride flows.
   site-home-fab uses display:block !important — beat it with equal/higher specificity. */
body.ride-app-page > #siteFabStack,
body.ride-app-page > #siteFabStack.site-fab-stack,
body.ride-app-page .zk-scroll-top,
body.ride-app-page #zkAdminPhotoTools,
body.ride-app-page .zk-admin-photo-tools,
body.ride-app-page .zk-pt-toggle,
body.ride-app-page .page-footer-disclaimer-slot,
body.ride-app-page footer.footer,
body.ride-app-page .site-footer,
body.ride-app-page #pwaInstallBanner,
body.ride-app-page .pwa-install-banner,
body.ride-app-page .cookie-consent,
body.ride-app-page .cookie-banner,
body.ride-app-page #blablaChatRoot,
body.ride-app-page .ai-guide-chat,
body.ride-app-page #aiGuideChat,
body.ride-app-page .site-weather-widget,
body.ride-app-page #siteWeatherWidget,
body.ride-app-page .recruitment-widget {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Rules modal: do NOT kill pointer-events on #main-content — that broke
   Leaflet zoom (+/− / wheel) and made the browser zoom the whole page.
   Order create is gated in JS (RideRulesConsent.require). */
body.ride-app-page.ride-rules-locked .header {
  pointer-events: auto !important;
  z-index: 10060 !important;
}
body.ride-app-page.ride-rules-locked .ride-panel .ride-btn,
body.ride-app-page.ride-rules-locked #btnCreate,
body.ride-app-page.ride-rules-locked #btnConfirm,
body.ride-app-page.ride-rules-locked #btnWhen,
body.ride-app-page.ride-rules-locked #btnEstimate {
  pointer-events: none;
  opacity: 0.45;
}

.ride-rules-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10040;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem
    calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 23, 42, 0.55);
  box-sizing: border-box;
}
.ride-rules-modal.is-open {
  display: flex;
}
.ride-rules-modal__card {
  position: relative;
  width: min(420px, 100%);
  max-height: min(85dvh, 640px);
  overflow: auto;
  background: #fff;
  color: #111827;
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
}
.ride-rules-modal__card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f766e;
}
.ride-rules-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5563;
}
.ride-rules-modal__check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.4;
  cursor: pointer;
}
.ride-rules-modal__check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
}
.ride-rules-modal__check a {
  color: #0f766e;
  text-decoration: underline;
}
.ride-rules-modal__err {
  margin: 0 0 0.65rem;
  color: #b91c1c;
  font-size: 0.85rem;
}
.ride-rules-modal__btn {
  width: 100%;
  margin-top: 0.35rem;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #0f766e;
  cursor: pointer;
}
.ride-rules-modal__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ride-page {
  --ride-ink: #111827;
  --ride-muted: #6b7280;
  --ride-bg: #f3f4f6;
  --ride-card: #ffffff;
  --ride-accent: #0f766e;
  --ride-shell-h: calc(100dvh - var(--ride-header-gap, var(--header-h, 64px)));
  min-height: var(--ride-shell-h);
  background: linear-gradient(180deg, #e8f5f3 0%, var(--ride-bg) 40%, #eef2ff 100%);
  color: var(--ride-ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  position: relative;
  z-index: 0;
  overflow-x: clip;
}
.ride-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: var(--ride-shell-h);
  display: flex;
  flex-direction: column;
  position: relative;
}
.leaflet-div-icon.rider-poi-pin {
  background: transparent !important;
  border: none !important;
  width: 30px !important;
  height: 30px !important;
  margin-left: -15px !important;
  margin-top: -15px !important;
  overflow: visible !important;
}
.rider-poi-pin__dot {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
  line-height: 1 !important;
}
.rider-poi-pin__glyph {
  display: block;
  font-size: 13px;
  line-height: 1;
  transform: translateY(0.5px);
}
.leaflet-div-icon.rider-fleet-pin,
.leaflet-div-icon.zk-veh-pin-wrap {
  background: transparent !important;
  border: none !important;
}

/* Site-style vehicle pins: larger circle, glyph fills most of it */
.zk-veh-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--zk-veh-bg, #0f766e);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.32);
  box-sizing: border-box;
  line-height: 1;
  padding: 0;
  transition: transform 0.35s ease, box-shadow 0.3s ease;
}
.zk-veh-pin svg {
  display: block;
  flex-shrink: 0;
  margin: 0;
}
.zk-veh-pin--letter {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}
.zk-veh-pin--dim {
  opacity: 0.72;
  filter: grayscale(0.25);
}
.zk-veh-pin--live {
  border-width: 2.5px;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--zk-veh-bg, #0f766e) 35%, transparent),
    0 3px 12px rgba(15, 23, 42, 0.35);
}
.zk-veh-pin-wrap--live .zk-veh-pin--live {
  animation: zk-veh-pulse 2.2s ease-out infinite;
}
.zk-veh-pin--moving {
  box-shadow:
    0 0 0 4px color-mix(in srgb, #ea580c 30%, transparent),
    0 3px 14px rgba(15, 23, 42, 0.4);
}
.zk-veh-pin-wrap--moving .zk-veh-pin--moving {
  animation: zk-veh-move 1.1s ease-in-out infinite;
}
@keyframes zk-veh-pulse {
  0% {
    box-shadow:
      0 0 0 0 color-mix(in srgb, var(--zk-veh-bg, #0f766e) 45%, transparent),
      0 3px 12px rgba(15, 23, 42, 0.35);
  }
  70% {
    box-shadow:
      0 0 0 12px transparent,
      0 3px 12px rgba(15, 23, 42, 0.28);
  }
  100% {
    box-shadow:
      0 0 0 0 transparent,
      0 3px 12px rgba(15, 23, 42, 0.28);
  }
}
@keyframes zk-veh-move {
  0%, 100% { transform: rotate(var(--zk-veh-rot, 0deg)) scale(1); }
  50% { transform: rotate(var(--zk-veh-rot, 0deg)) scale(1.06); }
}
.zk-veh-pin--compact {
  border-width: 2px;
}
.ride-map {
  height: min(42vh, 320px);
  min-height: 180px;
  width: 100%;
  z-index: 1;
  background: #d1d5db;
  flex-shrink: 0;
  position: relative;
  touch-action: none !important;
  -ms-touch-action: none !important;
  overscroll-behavior: none !important;
}
.ride-panel {
  flex: 1;
  background: var(--ride-card);
  border-radius: 20px 20px 0 0;
  margin-top: -18px;
  z-index: 2;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #eef2f7;
  isolation: isolate;
}
/* Fills the hole under the sheet while dragging/resizing — no page bleed */
.ride-panel::after {
  content: none;
}
.ride-panel::-webkit-scrollbar {
  width: 8px;
}
.ride-panel::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 8px;
  margin: 12px 0;
}
.ride-panel::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 8px;
  border: 2px solid #eef2f7;
}
.ride-panel::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
.ride-scroll-cue,
.ride-scroll-cue__chip,
.ride-sheet-handle__bar,
.ride-sheet-handle__hint {
  display: none !important;
}
.ride-panel.has-overflow {
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}
.ride-sheet-handle {
  display: none;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 0.55rem 0 0.45rem;
  margin: 0;
  text-align: center;
}
.ride-sheet-handle:active { cursor: grabbing; }
.ride-sheet-handle__chevs {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 22px;
  color: var(--ride-accent, #0f766e);
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.ride-sheet-handle__chev {
  display: block;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.ride-sheet-handle__chev--up,
.ride-sheet-handle__chev--down {
  opacity: 0.35;
  transform: scale(0.92);
}
/* Default mid: both faintly; active direction emphasized */
.ride-sheet-handle.is-affordance-up .ride-sheet-handle__chev--up,
.ride-sheet-handle.is-affordance-both .ride-sheet-handle__chev--up,
.ride-sheet-handle.is-affordance-both .ride-sheet-handle__chev--down,
.ride-sheet-handle.is-affordance-down .ride-sheet-handle__chev--down {
  opacity: 1;
  transform: scale(1);
}
.ride-sheet-handle.is-affordance-up .ride-sheet-handle__chev--down {
  opacity: 0.18;
  transform: scale(0.85) translateY(1px);
}
.ride-sheet-handle.is-affordance-down .ride-sheet-handle__chev--up {
  opacity: 0.18;
  transform: scale(0.85) translateY(-1px);
}
.ride-sheet-handle.is-affordance-up .ride-sheet-handle__chevs {
  animation: ride-chev-nudge-up 1.6s ease-in-out infinite;
}
.ride-sheet-handle.is-affordance-down .ride-sheet-handle__chevs {
  animation: ride-chev-nudge-down 1.6s ease-in-out infinite;
}
@keyframes ride-chev-nudge-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes ride-chev-nudge-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}
.ride-sheet-handle:active .ride-sheet-handle__chevs {
  opacity: 1;
  color: #0d9488;
  animation: none;
}
.ride-map-expand {
  display: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ride-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.ride-map-expand[aria-pressed="true"] {
  background: var(--ride-ink);
  color: #fff;
}

/* TG Mini App (narrow): map under sheet; drag panel — NOT site browser */
@media (max-width: 899px) {
  html.is-tg-webapp:has(body.ride-app-page),
  html.is-tg-webapp body.ride-app-page {
    overscroll-behavior: none;
  }
  html.is-tg-webapp body.ride-app-page {
    overflow: visible;
    height: 100%;
  }
  html.is-tg-webapp body.ride-app-page #main-content {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html.is-tg-webapp body.ride-app-page .ride-page.catalog-page-inner,
  html.is-tg-webapp body.ride-app-page .ride-page.catalog-strip-stack-body {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html.is-tg-webapp body.ride-app-page .ride-site-chrome {
    display: none !important;
  }
  html.is-tg-webapp body.ride-app-page .ride-page {
    height: var(--ride-shell-h);
    min-height: var(--ride-shell-h);
    max-height: var(--ride-shell-h);
    overflow: hidden;
  }
  html.is-tg-webapp body.ride-app-page .ride-shell {
    max-width: none;
    width: 100%;
    height: var(--ride-shell-h);
    min-height: var(--ride-shell-h);
    max-height: var(--ride-shell-h);
    overflow: hidden;
    margin: 0;
    padding: 0 !important;
    position: relative;
  }
  html.is-tg-webapp body.ride-app-page .ride-map {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 0;
    z-index: 1;
    touch-action: none !important;
    -ms-touch-action: none !important;
    overscroll-behavior: none !important;
  }
  html.is-tg-webapp body.ride-app-page .ride-map.leaflet-container {
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
    -ms-touch-action: none !important;
  }
  html.is-tg-webapp body.ride-app-page .ride-map-expand {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
  html.is-tg-webapp body.ride-app-page .ride-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    flex: none;
    width: 100%;
    height: var(--ride-sheet-h, min(58%, calc(var(--ride-shell-h) - 4px)));
    max-height: calc(var(--ride-shell-h) - 4px);
    min-height: 72px;
    margin-top: 0;
    z-index: 2;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    overscroll-behavior-y: none;
    background: var(--ride-card);
    transform: none;
    transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: height;
    border-radius: 20px 20px 0 0;
    padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  html.is-tg-webapp body.ride-app-page .ride-panel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 40vh;
    background: var(--ride-card);
    pointer-events: none;
    z-index: -1;
  }
  html.is-tg-webapp body.ride-app-page .ride-panel.is-sheet-dragging {
    transition: none;
  }
  html.is-tg-webapp body.ride-app-page .ride-panel.is-sheet-high {
    border-radius: 12px 12px 0 0;
  }
  html.is-tg-webapp body.ride-app-page .ride-panel.is-sheet-high .ride-sheet-handle {
    border-radius: 12px 12px 0 0;
  }
  html.is-tg-webapp body.ride-app-page .ride-sheet-handle {
    display: block;
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    color: var(--ride-accent, #0f766e);
    margin: 0 -1rem 0.25rem;
    padding: 0.55rem 1rem 0.4rem;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  }
  html.is-tg-webapp body.ride-app-page .ride-shell.is-map-full .ride-panel {
    overflow: hidden;
  }
  html.is-tg-webapp body.ride-app-page .ride-shell.is-map-full .ride-sheet-handle {
    color: var(--ride-accent);
  }
}
.ride-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}
.ride-sub {
  color: var(--ride-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.ride-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}
.ride-product-tabs {
  margin-bottom: 0.75rem;
}
.ride-catalog {
  margin: 0 0 0.85rem;
}
.ride-catalog__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.ride-catalog__sub,
.ride-catalog__foot {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: var(--ride-muted);
}
.ride-catalog__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 42vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.45rem;
}
.ride-cat-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.ride-cat-card:hover {
  border-color: #a7f3d0;
}
.ride-cat-card.is-selected {
  border-color: var(--ride-accent);
  background: #ecfdf5;
}
.ride-cat-card.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.ride-cat-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--ride-ink);
}
.ride-cat-card__meta {
  font-size: 0.75rem;
  color: var(--ride-muted);
  margin: 0;
  line-height: 1.35;
}
.ride-cat-card__route {
  margin: 0.15rem 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ride-ink);
  line-height: 1.35;
}
.ride-cat-card__cta {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #065f46;
}
.ride-order-core.is-join-mode .ride-booked-for,
.ride-order-core.is-join-mode .ride-when,
.ride-order-core.is-join-mode .ride-class-row,
.ride-order-core.is-join-mode .ride-power-row,
.ride-order-core.is-join-mode .ride-pax,
.ride-order-core.is-join-mode .ride-share-seat,
.ride-order-core.is-join-mode .ride-flight,
.ride-order-core.is-join-mode .ride-child-seat,
.ride-order-core.is-join-mode .ride-notes,
.ride-order-core.is-join-mode .ride-confirm,
.ride-order-core.is-join-mode .ride-guest-fare,
.ride-order-core.is-join-mode .ride-actions {
  display: none !important;
}
.ride-order-core.is-join-mode .ride-route__title::after,
.ride-order-core.is-join-mode .ride-book__route .ride-book__label::after {
  content: " · join pins";
  font-weight: 500;
  color: var(--ride-muted);
  font-size: 0.78em;
}
.ride-cat-card__from,
.ride-cat-card__to {
  display: block;
}
.ride-cat-card__from::before { content: none; }
.ride-cat-card__to::before { content: none; }
.ride-cat-card__vehicle {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f766e;
  line-height: 1.35;
}
.ride-cat-card__badges {
  margin: 0.1rem 0 0.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.ride-cat-card__benefit {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b45309;
  line-height: 1.35;
}
.ride-join-sheet {
  margin-top: 0.65rem;
  padding: 0.75rem;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  background: #ecfdf5;
}
.ride-join-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.ride-join-sheet__head h3 {
  margin: 0;
  font-size: 0.95rem;
}
.ride-join-sheet__x {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #065f46;
}
.ride-join-sheet__trip {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.88rem;
}
.ride-join-sheet__meta,
.ride-join-sheet__hint,
.ride-join-sheet__quote {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  color: var(--ride-muted);
  line-height: 1.35;
}
.ride-join-sheet__quote {
  color: #065f46;
  font-weight: 600;
}
.ride-join-sheet__status {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f766e;
  min-height: 1.1em;
}
.ride-join-sheet__status.is-err {
  color: #b91c1c;
}
.ride-join-sheet__status.is-ok {
  color: #065f46;
}
.ride-join-sheet__actions .ride-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.ride-join-sheet__fields label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0.35rem 0 0.15rem;
}
.ride-join-sheet__fields input,
.ride-join-sheet__fields select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.85rem;
}
.ride-join-sheet__pinrow {
  display: flex;
  gap: 0.35rem;
  align-items: stretch;
}
.ride-join-sheet__pinrow input {
  flex: 1;
  min-width: 0;
  background: #f8fafc;
}
.ride-join-sheet__pinbtn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
}
.ride-join-sheet__actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.ride-join-sheet__actions .ride-btn {
  flex: 1;
}
.ride-cat-any {
  border-style: dashed;
  background: #f9fafb;
}
.ride-mode {
  border: 1px solid #a7f3d0;
  background: #f0fdfa;
  color: #0f766e;
  border-radius: 12px;
  padding: 0.55rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ride-mode.is-active {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}
.ride-field {
  margin-bottom: 0.65rem;
}
.ride-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ride-muted);
  margin-bottom: 0.25rem;
}
.ride-field input,
.ride-field select {
  width: 100%;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  box-sizing: border-box;
  background: #fff;
}
.ride-field input:focus,
.ride-field select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.28);
  border-color: #0f766e;
}
.ride-pin-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.ride-pin-tabs button {
  flex: 1;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.ride-pin-tabs button.is-active {
  background: var(--ride-ink);
  color: #fff;
  border-color: var(--ride-ink);
}
.ride-pax {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.ride-share-seat {
  margin: 0.55rem 0 0.35rem;
  padding: 0.65rem 0.7rem 0.55rem;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 72%);
}
.ride-share-seat[hidden] { display: none !important; }
.ride-share-seat__toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.35rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.ride-share-seat__toggle.is-active {
  border-color: #2563eb;
  background: #dbeafe;
}
.ride-share-seat__ico {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1.4;
}
.ride-share-seat__txt {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ride-share-seat__txt strong {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--ride-ink);
}
.ride-share-seat__txt span {
  font-size: 0.75rem;
  color: var(--ride-muted);
  line-height: 1.35;
}
.ride-share-seat__hint {
  margin: 0.35rem 0 0;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  color: var(--ride-muted);
  line-height: 1.35;
}
.ride-share-seat.is-on .ride-share-seat__hint {
  color: #1d4ed8;
}
.ride-flight {
  margin: 0.55rem 0.85rem 0.45rem;
  padding: 0.65rem 0.7rem 0.55rem;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(180deg, #eef2ff 0%, #fff 75%);
}
.ride-flight[hidden] { display: none !important; }
.ride-flight__legs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.45rem;
}
.ride-flight__fields .ride-field {
  margin: 0.35rem 0;
}
.ride-flight__fields input[type="text"],
.ride-flight__fields input:not([type]),
.ride-flight__fields input[type="datetime-local"] {
  width: 100%;
  box-sizing: border-box;
}
.ride-flight__status {
  margin: 0.25rem 0;
  font-size: 0.75rem;
  color: #3730a3;
  line-height: 1.35;
}
.ride-flight__nofn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  margin: 0.35rem 0 0;
}
.zk-shared-pin-wrap {
  background: transparent !important;
  border: none !important;
}
.zk-shared-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.25));
}
.zk-shared-pin__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #2563eb;
  font-size: 0.85rem;
  line-height: 1;
}
.zk-shared-pin__n {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #1e3a8a;
  background: #dbeafe;
  border-radius: 6px;
  padding: 0 0.3rem;
}
.ride-child-seat {
  margin: 0.55rem 0 0.75rem;
  padding: 0.7rem 0.75rem 0.65rem;
  border-radius: 12px;
  border: 1px solid #a7f3d0;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 70%);
}
.ride-child-seat[hidden] { display: none !important; }
.ride-child-seat__policy {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 750;
  color: #0f766e;
  line-height: 1.3;
}
.ride-child-seat > label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ride-ink);
  margin-bottom: 0.35rem;
}
.ride-child-seat__modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ride-child-seat__modes .ride-mode {
  flex: 1 1 auto;
  min-width: calc(33% - 0.35rem);
  font-size: 0.78rem;
  padding: 0.45rem 0.5rem;
}
.ride-child-seat__hint {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: #5b7c76;
  line-height: 1.35;
}
.ride-vehicle-rules {
  margin: 0.65rem 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #14532d;
}
.ride-vehicle-rules.is-blocked {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}
.ride-vehicle-rules p { margin: 0.2rem 0; }
.ride-child-seat__age {
  margin-top: 0.55rem;
}
.ride-child-seat__age > label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ride-ink);
  margin-bottom: 0.35rem;
}
.ride-child-seat__ages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.45rem;
}
.ride-child-seat__age-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.ride-child-seat__age-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ride-muted, #6b7280);
}
.ride-child-seat__ages input,
.ride-child-seat__age input {
  width: 100%;
  max-width: none;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font-size: 0.9rem;
  box-sizing: border-box;
}
.ride-confirm {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 0.85rem;
  background: #f9fafb;
  margin: 0.85rem 0;
  display: none;
}
.ride-confirm.is-visible { display: block; }
.ride-confirm h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.ride-event-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  padding: 1rem;
}
.ride-event-modal.is-open { display: flex; }
.ride-event-modal[hidden] { display: none !important; }
.ride-event-modal__card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px 16px 12px 12px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.28);
  margin-bottom: 12vh;
}
.ride-event-modal__card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.ride-event-modal__card .ride-btn { width: 100%; margin-top: 0.75rem; }
.ride-confirm dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.6rem;
  font-size: 0.88rem;
}
.ride-confirm dt { color: var(--ride-muted); }
.ride-confirm dd { margin: 0; font-weight: 600; }
.ride-guest-fare {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.ride-guest-fare label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ride-muted);
  margin-bottom: 0.35rem;
}
.ride-guest-fare__display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border: 1px solid #99f6e4;
}
.ride-guest-fare__display[hidden] { display: none !important; }
.ride-guest-fare__amt {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f766e;
  letter-spacing: 0.01em;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ride-guest-fare__edit {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  padding: 0.2rem 0.1rem;
  cursor: pointer;
}
.ride-guest-fare__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ride-guest-fare__row[hidden] { display: none !important; }
.ride-guest-fare input {
  flex: 1;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.ride-guest-fare__cur {
  font-weight: 700;
  color: #0f766e;
  min-width: 2.5rem;
  white-space: nowrap;
}
.ride-guest-fare__hint {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}
.ride-guest-fare__hint[hidden] { display: none !important; }
.ride-guest-fare.is-locked .ride-guest-fare__hint { display: none !important; }
.ride-travel {
  display: flex; flex-wrap: wrap; gap: .45rem .75rem; align-items: baseline;
  margin: 0 0 .75rem; padding: .65rem .75rem; border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5, #f0f9ff);
  border: 1px solid #a7f3d0;
}
.ride-travel__eta {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: #065f46;
}
.ride-travel__km { font-size: .92rem; font-weight: 650; color: #0f766e; }
.ride-travel__note { width: 100%; font-size: .72rem; color: #64748b; margin: 0; }
.ride-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.ride-btn {
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: #0f766e;
  color: #fff;
  box-shadow: 0 1px 0 rgba(15, 118, 110, 0.25);
}
.ride-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ride-btn.sec {
  background: #ecfdf5;
  color: #0f766e;
  border: 1px solid #a7f3d0;
  box-shadow: none;
}
.ride-btn.sec:hover {
  background: #ccfbf1;
  border-color: #5eead4;
}
.ride-settle__label {
  margin: 0.35rem 0 0.4rem;
  font-size: 0.78rem;
  color: var(--ride-muted);
}
.ride-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
}
.ride-chip {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  flex: 0 0 auto;
}
.ride-chip.is-on {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #0f766e;
}
.ride-chip:disabled { opacity: 0.5; cursor: default; }
.ride-settle__custom {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0.15rem 0 0.35rem;
}
.ride-settle__custom input {
  flex: 1;
  min-width: 0;
  padding: 0.4rem 0.55rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 0.85rem;
}
.ride-settle__total {
  font-weight: 700;
  color: #111827 !important;
}
.ride-settle__pay { margin-top: 0.45rem; }
.ride-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.35rem 0;
}
.ride-rate-row__lab {
  font-size: 0.85rem;
  color: var(--ride-muted);
  flex: 0 0 auto;
}
.ride-stars {
  display: inline-flex;
  gap: 0.1rem;
  flex: 0 0 auto;
}
.ride-star {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.1rem 0.12rem;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  min-width: 0;
}
.ride-star.is-on { color: #f59e0b; }
.ride-rate-review {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.5rem 0.55rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  resize: vertical;
  font: inherit;
  font-size: 0.88rem;
  box-sizing: border-box;
}
.ride-banner {
  padding: 0.75rem;
  border-radius: 12px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.ride-prefill {
  font-size: 0.85rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.75rem;
}
.ride-msg {
  font-size: 0.85rem;
  color: var(--ride-muted);
  min-height: 1.2em;
  margin-top: 0.35rem;
}
.ride-trips {
  margin-bottom: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.ride-trips__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e5e7eb;
}
.ride-trips__tab {
  flex: 1;
  border: 0;
  background: #f9fafb;
  padding: 0.55rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ride-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.ride-trips__tab.is-active {
  background: #fff;
  color: var(--ride-ink);
  box-shadow: inset 0 -2px 0 #0f766e;
}
.ride-trips__badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
}
.ride-trips__list {
  max-height: 9.5rem;
  overflow: auto;
  padding: 0.35rem;
}
.ride-trips__empty {
  margin: 0;
  padding: 0.65rem 0.5rem;
  font-size: 0.82rem;
  color: var(--ride-muted);
}
.ride-trips__item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.25rem;
  background: #fafafa;
  border: 1px solid transparent;
}
.ride-trips__item-wrap {
  display: flex;
  gap: 0.35rem;
  align-items: stretch;
  margin-bottom: 0.35rem;
}
.ride-trips__item-wrap .ride-trips__item {
  flex: 1;
  margin-bottom: 0;
  min-width: 0;
}
.ride-trips__rebook {
  flex: 0 0 auto;
  align-self: center;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}
.ride-trips__rebook:active { transform: scale(0.98); }
.ride-trips__item:hover {
  border-color: #a7f3d0;
  background: #ecfdf5;
}
.ride-trips__item-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.ride-trips__status {
  color: #0f766e;
  font-weight: 700;
}
.ride-trips__route {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ride-trips__meta {
  font-size: 0.72rem;
  color: var(--ride-muted);
  margin-top: 0.1rem;
}
.ride-booked-for {
  margin-bottom: 0.75rem;
}
.ride-booked-for__modes {
  margin-top: 0.35rem;
}
.ride-when {
  margin-bottom: 0.75rem;
}
.ride-when__modes {
  margin-top: 0.35rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.ride-when__sched {
  margin-top: 0.45rem;
}
.ride-when__sched label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}
.ride-when__sched input[type="datetime-local"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.5rem 0.55rem;
  font-size: 0.9rem;
}
.ride-when__hint {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: var(--ride-muted);
  line-height: 1.35;
}
.ride-cat-chip {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f766e;
}
.ride-offer__pass span.is-rescue {
  background: #b91c1c;
  color: #fff;
  border-color: #991b1b;
  font-weight: 700;
}
.ride-flight-block {
  margin: 0.55rem 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #fed7aa;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #9a3412;
}
.ride-flight-block__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
}
.ride-flight-block__glyph { font-size: 1.15rem; }
.ride-flight-block__apt { font-weight: 600; opacity: 0.85; }
.ride-flight-block__eta,
.ride-flight-block__st {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #c2410c;
}
.ride-nearby-hint {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ride-muted);
  line-height: 1.35;
}

/* Unified order card: transport → route → whom/when → class/pax */
.ride-book {
  margin: 0 0 0.85rem;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 18px;
  background: linear-gradient(165deg, #f0fdfa 0%, #fff 38%, #fff 100%);
  box-shadow: 0 4px 22px rgba(15, 118, 110, 0.07);
  overflow: hidden;
}
.ride-book__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
}
.ride-book__head--sm {
  margin-bottom: 0.35rem;
}
.ride-book__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9px;
  background: #ecfdf5;
  color: #0f766e;
  flex-shrink: 0;
  border: 1px solid #a7f3d0;
}
.ride-book__head--sm .ride-book__ico {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 8px;
}
.ride-book__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f766e;
  line-height: 1.2;
}
.ride-book__fleet {
  padding: 0.85rem 0.85rem 0.7rem;
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}
.ride-book__modes {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.ride-book__modes .ride-mode {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  min-height: 2.65rem;
  padding: 0.4rem 0.7rem;
  border-radius: 12px;
  font-size: 0.84rem;
  box-sizing: border-box;
}
.ride-mode__ico {
  font-size: 1.15rem;
  line-height: 1;
}
.ride-book__status {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(167, 243, 208, 0.7);
}
.ride-book__status:empty {
  display: none;
}
.ride-book__route.ride-route {
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: none;
  background: transparent;
  padding: 0.85rem 0.85rem 0.7rem;
}
.ride-book__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}
.ride-book__trip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem 0.85rem;
}
.ride-book__cell {
  margin: 0;
  padding: 0.55rem 0.55rem 0.6rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d1fae5;
}
.ride-book__cell .ride-book__label {
  display: block;
}
.ride-book__cell > label.ride-book__label,
.ride-book__head--sm .ride-book__label {
  margin-bottom: 0;
}
.ride-booked-for__modes {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}
.ride-booked-for__modes .ride-mode {
  font-size: 0.78rem;
  padding: 0.45rem 0.25rem;
}
.ride-book__pax {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0;
}
.ride-book__pax .ride-field {
  margin: 0;
}
.ride-book .ride-child-seat,
.ride-book .ride-share-seat,
.ride-book .ride-notes,
.ride-book .ride-confirm,
.ride-book .ride-cta,
.ride-book .ride-actions,
.ride-book .ride-msg {
  margin-left: 0.85rem;
  margin-right: 0.85rem;
}
.ride-book .ride-share-seat,
.ride-book .ride-child-seat {
  margin-top: 0;
}
.ride-book .ride-notes {
  margin-top: 0.35rem;
}
.ride-book .ride-cta,
.ride-book .ride-actions {
  margin-bottom: 0.85rem;
}
.ride-book .ride-msg {
  margin-bottom: 0.75rem;
}
@media (min-width: 420px) {
  .ride-book__meta {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
  .ride-book__trip {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}
@media (min-width: 900px) {
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__meta {
    grid-template-columns: 1.15fr 0.85fr;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__trip {
    grid-template-columns: 1.15fr 1fr;
  }
}

.ride-cat-chip:empty,
.ride-nearby-hint:empty {
  display: none;
}
.ride-search-anim {
  display: block;
  min-height: 5.4rem;
  margin: 0.75rem 0;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa 55%, #fff);
  border: 1px solid #a7f3d0;
  /* Never collapse via display — avoids mobile layout jump on poll */
}
.ride-search-anim.is-hidden { display: none; }
.ride-search-anim__pulse {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  margin: 0 auto 0.55rem;
  background: #0f766e;
  animation: ridePulse 1.2s ease-in-out infinite;
}
.ride-search-anim.is-steady .ride-search-anim__pulse {
  animation: none;
  opacity: 0.75;
  transform: scale(1);
}
.ride-search-anim__title {
  margin: 0;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  min-height: 1.25em;
}
.ride-search-anim__sub {
  margin: 0.25rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ride-muted);
  min-height: 1.2em;
}
@keyframes ridePulse {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 1; }
}
.ride-class-row,
.ride-power-row { display: none; }
.ride-class-row.is-visible,
.ride-power-row.is-visible { display: block; }

/* Rider CRM: profiles / saved / promo */
.ride-crm {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.7rem;
  border: 1px solid #d1fae5;
  border-radius: 14px;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 55%);
}
.ride-crm__profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}
.ride-crm__chip {
  border: 1px solid #a7f3d0;
  background: #fff;
  color: #065f46;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.ride-crm__chip.is-active {
  background: #059669;
  border-color: #047857;
  color: #fff;
}
.ride-crm__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  min-height: 0;
}
.ride-crm__icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid #bbf7d0;
  background: #fff;
  border-radius: 10px;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #064e3b;
  cursor: pointer;
  max-width: 100%;
}
.ride-crm__icon:hover { border-color: #059669; }
.ride-crm__icon .x {
  opacity: 0.55;
  margin-left: 0.15rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  color: inherit;
}
.ride-crm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.5rem;
}
.ride-crm__btn { font-size: 0.75rem !important; padding: 0.35rem 0.6rem !important; }
.ride-crm__promo-row {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
}
.ride-crm__promo-row input { flex: 1; min-width: 0; }
.ride-crm__promo #promoHint { min-height: 1.1em; margin: 0.25rem 0 0; }
.ride-crm__empty {
  font-size: 0.72rem;
  color: #6b7280;
  margin: 0.15rem 0;
}

/* Country + route task + notes */
.ride-country {
  margin-bottom: 0.85rem;
}
.ride-country__locked {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ride-muted);
  padding: 0.45rem 0.65rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.ride-country__switch {
  margin-left: auto;
  font-weight: 500;
}
.ride-country__switch summary {
  cursor: pointer;
  color: #0f766e;
  list-style: none;
}
.ride-country__list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  width: 100%;
}
.ride-country__list a {
  display: block;
  padding: 0.25rem 0;
  color: inherit;
  text-decoration: none;
}
.ride-route {
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 0.85rem 0.7rem 0.65rem;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 48%);
  margin-bottom: 0.85rem;
  box-shadow: 0 1px 0 rgba(15, 118, 110, 0.06);
}
.ride-route__title {
  margin: 0 0 0.65rem 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ride-route__fields {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  overflow-x: clip;
  overflow-y: visible;
  overflow-anchor: none;
}
/* Continuous A → stops → B route ribbon (drawn in JS) */
.ride-route__spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ride-route__spine-glow {
  fill: none;
  stroke: #99f6e4;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.42;
}
.ride-route__spine-line {
  fill: none;
  stroke: #0f766e;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
  stroke-dasharray: 4 6;
  animation: ride-spine-flow 1.4s linear infinite;
}
.ride-route__spine-dot {
  fill: #0f766e;
  stroke: #ecfdf5;
  stroke-width: 1.5;
}
.ride-route__spine-dot--b {
  fill: #0d9488;
}
.ride-route__spine-dot--stop {
  fill: #14b8a6;
  stroke: #ecfdf5;
  stroke-width: 1.2;
}
.ride-route__spine-runner {
  fill: #0f766e;
  opacity: 0.92;
  filter: drop-shadow(0 0 2px rgba(15, 118, 110, 0.35));
}
@keyframes ride-spine-flow {
  to { stroke-dashoffset: -20; }
}
@media (prefers-reduced-motion: reduce) {
  .ride-route__spine-line { animation: none; stroke-dasharray: none; }
  .ride-route__spine-runner { display: none; }
}
/* Mid: fixed strip · path left · ⇅+ centered · small gap under A */
.ride-route__mid {
  position: relative;
  z-index: 1;
  display: block;
  gap: 0;
  padding: 0;
  height: 2.05rem;
  min-height: 2.05rem;
  max-height: 2.05rem;
  margin: 0.2rem 0 0.12rem;
  overflow: hidden;
  flex: 0 0 2.05rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.ride-route__seam {
  position: relative;
  z-index: 1;
  margin: 0;
  display: block;
  pointer-events: auto;
  height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.ride-route__path-wrap {
  position: absolute;
  left: 0.2rem;
  right: 4.1rem;
  top: 0;
  bottom: 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.28rem; /* small gap between last stop and ETA */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ride-route__path-wrap::-webkit-scrollbar { display: none; }
.ride-route__path {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  width: max-content;
  max-width: none;
  flex: 0 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.ride-route__path.is-empty {
  display: none;
}
/* ETA after last stop chip (scrolls with the path) */
.ride-route__path-eta {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.02rem;
  margin-left: 0.12rem;
  max-width: 4.4rem;
  padding: 0.08rem 0.3rem;
  border-radius: 8px;
  border: 1px solid #99f6e4;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 3px rgba(15, 118, 110, 0.1);
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}
.ride-route__path-eta[hidden] { display: none !important; }
.ride-route__path-eta-dur,
.ride-route__path-eta-clock {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ride-route__path-eta-clock {
  font-weight: 700;
  font-size: 0.92em;
  opacity: 0.92;
}
.ride-route__path-eta-clock:empty { display: none; }
.ride-route__btns {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: auto;
  padding: 0;
  box-sizing: border-box;
  z-index: 2;
  background: linear-gradient(90deg, transparent, #fff 18%, #fff 82%, transparent);
  padding: 0.1rem 0.35rem;
}
/* ETA: just right of A/B spine column · between dots and ⇅ */
.ride-route__mid-eta {
  position: absolute;
  left: calc(1.85rem + 5px); /* PC: +5px as requested */
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.02rem;
  min-height: 0;
  max-width: 4.6rem;
  padding: 0.1rem 0.34rem;
  border-radius: 8px;
  border: 1px solid #99f6e4;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 3px rgba(15, 118, 110, 0.1);
  pointer-events: none;
  overflow: hidden;
}
.ride-route__mid-eta-dur,
.ride-route__mid-eta-clock {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ride-route__mid-eta-clock {
  font-weight: 700;
  font-size: 0.92em;
  opacity: 0.92;
}
.ride-route__mid-eta-clock:empty { display: none; }
.ride-route__mid-eta[hidden] { display: none !important; }
.ride-route__mid.has-mid-eta .ride-route__btns {
  left: 56%;
}
.ride-route__mid.has-mid-eta .ride-route__path-wrap {
  left: 6.7rem;
  right: 0.15rem;
}
/* Stops: chips L→R under spine · ETA after last chip · ⇅/+ right */
.ride-route__mid.has-stops {
  height: 2.35rem;
  min-height: 2.35rem;
  max-height: 2.35rem;
  flex-basis: 2.35rem;
}
.ride-route__mid.has-stops .ride-route__mid-eta {
  display: none !important;
}
.ride-route__mid.has-path-eta .ride-route__path-eta:not([hidden]) {
  display: inline-flex;
}
.ride-route__mid.has-stops .ride-route__btns {
  left: auto;
  right: 0.1rem;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, #fff 22%, #fff 100%);
  z-index: 3;
}
.ride-route__mid.has-stops .ride-route__path-wrap {
  left: 0.2rem; /* start near A column so snake reads L→R */
  right: 3.75rem;
}
.ride-route__mid.has-stops .ride-route__path {
  gap: 0.22rem;
  padding-left: 0.1rem;
}
.ride-route__mid.has-stops-many .ride-stop-node {
  width: 1.3rem;
  max-width: 1.3rem;
}
.ride-route__plus,
.ride-route__swap {
  pointer-events: auto;
  position: static;
  transform: none;
  left: auto;
  top: auto;
  border-radius: 999px;
  border: 1.5px solid #0f766e;
  background: #ecfdf5;
  color: #0f766e;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(15, 118, 110, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  margin: 0;
}
.ride-route__swap {
  font-size: 0.82rem;
  background: #fff;
}
.ride-route__plus {
  font-size: 1rem;
  background: #ecfdf5;
}
.ride-route__plus:hover,
.ride-route__swap:hover { background: #ccfbf1; }
.ride-route__plus:disabled { opacity: 0.35; cursor: not-allowed; }

/* Wiggling route connectors ~5 stops/row before wrap */
.ride-path-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.85rem;
  color: #0f766e;
  opacity: 0.9;
  animation: ride-snake-wiggle 1.45s ease-in-out infinite;
}
.ride-path-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.ride-path-arrow--to-b {
  color: #0d9488;
  width: 1.15rem;
}
.ride-path-arrow--to-b .ride-path-arrow__tip {
  animation: ride-snake-nudge 1.45s ease-in-out infinite;
}
@keyframes ride-snake-wiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-2px) rotate(-6deg); }
  70% { transform: translateY(1px) rotate(5deg); }
}
@keyframes ride-snake-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .ride-path-arrow,
  .ride-path-arrow--to-b .ride-path-arrow__tip { animation: none; }
}
.ride-stop-node {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.02rem;
  flex: 0 0 auto;
  width: 1.45rem;
  max-width: 1.45rem;
  box-sizing: border-box;
}
.ride-stop-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  min-height: 1.05rem;
  border: 1px solid #0f766e;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(15, 118, 110, 0.2);
}
.ride-stop-chip:hover { background: #0d9488; border-color: #0d9488; }
.ride-stop-node.is-draft .ride-stop-chip {
  border-style: dashed;
  background: #fff;
  color: #0f766e;
}
.ride-stop-node.is-open .ride-stop-chip {
  outline: 2px solid #5eead4;
  outline-offset: 1px;
}
.ride-stop-chip__wait {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0.9rem;
  max-width: 100%;
  padding: 0.04rem 0.22rem;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ride-stop-chip__wait.is-empty {
  opacity: 0.4;
  border-style: dashed;
  color: #64748b;
  background: #f8fafc;
}
.ride-route__row--stop-edit {
  border: 1px solid #99f6e4;
  border-radius: 14px;
  padding: 0.45rem 0.5rem 0.55rem !important;
  background: #f0fdfa;
}
.ride-stop-done {
  margin-top: 0.45rem;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  font-weight: 750;
  font-size: 0.84rem;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}
.ride-stop-done:hover { background: #0d9488; }

/* Compact schedule strip above Order CTA */
.ride-when-quick {
  margin: 0.35rem 0 0.15rem;
  padding: 0.55rem 0.65rem 0.5rem;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  background: #f0fdfa;
}
.ride-when-quick[hidden] { display: none !important; }
.ride-when-quick__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}
.ride-when-quick__row label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f766e;
}
.ride-when-quick__row input[type="datetime-local"] {
  flex: 1 1 10rem;
  min-width: 0;
  min-height: 2.35rem;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  background: #fff;
  color: #0f172a;
}
.ride-when-quick__now {
  border: 1px solid #0f766e;
  background: #fff;
  color: #0f766e;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}
.ride-when-quick__hint {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  color: #64748b;
}
.ride-act--ghost.is-when-on {
  background: #0f766e;
  color: #ecfdf5;
  border-color: #0f766e;
}
.ride-geo-hit--quick {
  background: #f0fdfa;
  font-weight: 600;
}
.ride-geo-hit--recent .ride-geo-hit__badge {
  color: #92400e;
  background: #fef3c7;
}
.ride-geo-loc.is-busy {
  opacity: 0.55;
  pointer-events: none;
  animation: ride-geo-pulse 0.9s ease-in-out infinite;
}
@keyframes ride-geo-pulse {
  50% { transform: scale(0.94); }
}
/* A/B: no outer card — dot sits beside the input; spine anchors on the dots */
.ride-route__row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.3rem 0.5rem;
  align-items: center;
  margin: 0;
  min-height: 0;
  padding: 0.1rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.ride-route__row.is-active {
  border: 0;
  box-shadow: none;
}
.ride-route__row.is-active .ride-route__dot {
  box-shadow: none;
  outline: 2px solid rgba(94, 234, 212, 0.9);
  outline-offset: 1px;
}
.ride-route__row.is-active .ride-geo-inputwrap > input {
  border-color: #0f766e;
  box-shadow: 0 0 0 1.5px rgba(15, 118, 110, 0.16);
}
.ride-route__dot {
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: #0f766e;
  justify-self: center;
  align-self: center;
  flex-shrink: 0;
}
.ride-route__dot--b { background: #0d9488; }
.ride-route__dot--stop { background: #14b8a6; }
.ride-route__add {
  margin: -0.15rem 0 0.45rem 1.9rem;
}
.ride-route__add-btn {
  border: 1px dashed #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}
.ride-route__add-btn:hover { border-color: #0f766e; background: #ccfbf1; }
.ride-geo-loc--danger { color: #b91c1c; border-color: #fecaca; background: #fff1f2; }
.ride-geo-field {
  position: relative;
  min-width: 0;
  width: 100%;
}
.ride-geo-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}
.ride-geo-inputwrap {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}
.ride-geo-field input,
.ride-geo-inputwrap > input {
  width: 100%;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  font-size: 0.92rem;
  box-sizing: border-box;
  background: #fff;
}
.ride-geo-inputwrap > input {
  padding-right: 4.6rem; /* room for geo tools in one row */
}
.ride-geo-inputwrap--a > input {
  padding-right: 6.85rem; /* clock + me + pin */
}
.ride-geo-inputwrap:has(.ride-geo-tools .ride-geo-loc:only-child) > input,
.ride-geo-inputwrap--one > input {
  padding-right: 2.55rem;
}
.ride-geo-field input:focus,
.ride-geo-inputwrap > input:focus {
  outline: 2px solid rgba(15, 118, 110, 0.28);
  border-color: #0f766e;
}
.ride-geo-suggest {
  display: none;
  background: #fff;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.14);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.ride-geo-suggest.is-open { display: block; }
.ride-geo-suggest--fixed {
  /* host moved to body — avoid panel overflow clipping */
}
.ride-geo-empty {
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  color: var(--ride-muted);
  line-height: 1.35;
}
.ride-geo-actions {
  border-top: 1px solid #ecfdf5;
}
.ride-geo-hit {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.25;
}
.ride-geo-hit:hover,
.ride-geo-hit:focus {
  background: #ecfdf5;
}
.ride-geo-hit--pin {
  font-weight: 600;
  color: #0f766e;
  background: #f0fdfa;
}
.ride-geo-hit__pin { flex-shrink: 0; }
.ride-geo-hit__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ride-geo-hit__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0f766e;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
}
.ride-geo-hit__label {
  word-break: break-word;
}
.ride-geo-hit__sub {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.25;
  word-break: break-word;
}
.ride-stop-wait {
  margin-top: 0.4rem;
}
.ride-stop-wait label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.15rem;
}
.ride-stop-wait input {
  width: 100%;
  max-width: 8rem;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.88rem;
  box-sizing: border-box;
}
.ride-stop-wait__hint {
  margin: 0.25rem 0 0;
  font-size: 0.68rem;
  color: #5b7c76;
  line-height: 1.3;
}
.ride-geo-house input {
  width: 100%;
  border: 1px dashed #99f6e4;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.82rem;
  box-sizing: border-box;
  background: #f8fffc;
}
.ride-geo-tools {
  position: absolute;
  right: 0.28rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.22rem;
  margin: 0;
  align-items: center;
  z-index: 2;
}
.ride-geo-loc {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #0f766e;
  border-radius: 9px;
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ride-geo-loc svg { display: block; }
.ride-geo-loc:hover,
.ride-geo-loc:focus-visible {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}
.ride-geo-loc--pin {
  background: #ccfbf1;
}
.ride-geo-loc--me {
  background: #ecfdf5;
}
.ride-geo-when {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ride-when-cloud {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.28rem);
  transform: translateX(-50%);
  z-index: 4;
  max-width: 7.5rem;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: #0f766e;
  color: #ecfdf5;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.28);
  pointer-events: none;
}
.ride-when-cloud[hidden] { display: none !important; }
.ride-when-cloud::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #0f766e;
}
.ride-geo-loc--when {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
}
.ride-geo-loc--when.is-when-on {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}
.ride-geo-loc--when:hover,
.ride-geo-loc--when:focus-visible {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}
.ride-geo-loc--when.is-when-on:hover {
  background: #0d9488;
  border-color: #0d9488;
}
.ride-when-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 13000;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
  box-sizing: border-box;
}
.ride-when-modal.is-open { display: flex; }
.ride-when-modal[hidden] { display: none !important; }
.ride-when-modal__card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px 16px 14px 14px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.28);
  margin-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
}
.ride-when-modal__x {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.ride-when-modal__card h3 {
  margin: 0 1.75rem 0.35rem 0;
  font-size: 1.05rem;
  color: #0f172a;
}
.ride-when-modal__hint {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}
.ride-when-modal__lab {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.3rem;
}
.ride-when-modal__card input[type="datetime-local"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.65rem;
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  font-size: 1rem;
  font-weight: 650;
}
.ride-when-modal__err {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: #b91c1c;
}
.ride-when-modal__acts {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.ride-when-modal__acts .ride-btn { width: 100%; margin: 0; }
@media (min-width: 720px) {
  .ride-when-modal { align-items: center; }
  .ride-when-modal__card { border-radius: 16px; margin-bottom: 0; }
}
.ride-stop-modal__input {
  position: relative;
  width: 100%;
}
.ride-stop-modal__input input {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.65rem;
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 0.5rem 2.6rem 0.5rem 0.65rem;
  font-size: 1rem;
  font-weight: 650;
}
.ride-stop-modal__input .ride-geo-tools {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
}
.ride-stop-modal__suggest {
  margin-top: 0.25rem;
  max-height: 10rem;
  overflow: auto;
}
.ride-stop-modal__card #stopWaitModal {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.65rem;
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  font-size: 1rem;
  font-weight: 650;
}
.ride-stop-modal__acts {
  grid-template-columns: 1fr 1.35fr;
}
.ride-route__hint {
  margin: 0.55rem 0 0 0.15rem;
  font-size: 0.72rem;
  color: #5b7c76;
  line-height: 1.35;
}
.ride-notes {
  margin-bottom: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ride-notes > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ride-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  user-select: none;
}
.ride-notes > summary::-webkit-details-marker { display: none; }
.ride-notes > summary::after {
  content: "▾";
  color: var(--ride-muted);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.ride-notes[open] > summary::after {
  transform: rotate(180deg);
}
.ride-notes__body {
  padding: 0 0.85rem 0.85rem;
}
.ride-notes textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
}

/* TG Mini App: hide catalog chrome (banners/back/SEO). Site browser always shows it. */
html.is-tg-webapp .ride-site-chrome {
  display: none !important;
}
/* Docks relocated outside .ride-site-chrome must stay hidden in TG (else block sheet). */
html.is-tg-webapp body.ride-app-page .catalog-ad-mobile-dock,
html.is-tg-webapp body.ride-app-page .catalog-page-like-listing {
  display: none !important;
}

/*
 * Site browser (any width, not TG): catalog spine —
 * breadcrumbs → banners → Back → map/form card → SEO/FAQ → footer
 */
html:not(.is-tg-webapp) body.ride-app-page {
  overflow: auto;
}
html:not(.is-tg-webapp) body.ride-app-page #main-content {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html:not(.is-tg-webapp) body.ride-app-page footer.footer,
html:not(.is-tg-webapp) body.ride-app-page .site-footer,
html:not(.is-tg-webapp) body.ride-app-page .page-footer-disclaimer-slot {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
html:not(.is-tg-webapp) body.ride-app-page .zk-scroll-top {
  display: revert !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
/* Guru / BlaBla chat MUST stay hidden on /ride — it sat fixed over the map
   (z-index 1050) and stole pan (I-beam over chat-input) + wheel zoom. */
html:not(.is-tg-webapp) body.ride-app-page #blablaChatRoot,
html:not(.is-tg-webapp) body.ride-app-page .ai-guide-chat,
html:not(.is-tg-webapp) body.ride-app-page #aiGuideChat,
html:not(.is-tg-webapp) body.ride-app-page .ai-guide-widget,
html:not(.is-tg-webapp) body.ride-app-page #aiGuideToggle {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-site-chrome {
  display: block;
}
html:not(.is-tg-webapp) body.ride-app-page {
  /* breadcrumbs + ad strip + back ≈ chrome above the map/order shell */
  --ride-chrome-h: 168px;
  overflow-x: hidden !important;
  max-width: 100%;
}
html:not(.is-tg-webapp) body.ride-app-page #main-content {
  overflow-x: hidden !important;
  max-width: 100%;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-site-chrome,
html:not(.is-tg-webapp) body.ride-app-page .catalog-strip-stack {
  max-width: 100%;
  overflow-x: hidden !important;
  box-sizing: border-box;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-page {
  /* Grow with map+form; page scrolls for SEO below — no locked 800px trap */
  --ride-fill-h: calc(100dvh - var(--ride-header-gap, 56px) - var(--ride-chrome-h, 168px));
  min-height: max(520px, var(--ride-fill-h)) !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100%;
  max-width: min(100%, var(--catalog-rail-max, 1340px));
  margin-left: auto;
  margin-right: auto;
  padding: 0.15rem var(--catalog-rail-px, 12px) 0.35rem;
  box-sizing: border-box;
  background: transparent;
}
/* Trip live page has no SEO block under the shell — keep clear air before site footer */
html:not(.is-tg-webapp) body.ride-app-page #tripApp.ride-page {
  padding-bottom: max(2.75rem, calc(2rem + env(safe-area-inset-bottom, 0px))) !important;
  margin-bottom: 1.75rem;
}
html:not(.is-tg-webapp) body.ride-app-page #tripApp .ride-panel {
  padding-bottom: 1.75rem;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-shell {
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-height: max(520px, var(--ride-fill-h)) !important;
  max-height: none !important;
  max-width: 100% !important;
  width: 100%;
  margin: 0;
  padding: 0.65rem !important;
  gap: 0.65rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-sizing: border-box;
  overflow: visible;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-map {
  position: relative !important;
  inset: auto !important;
  flex: 1 1 auto;
  width: 100%;
  /* Fill most of the first viewport — Leaflet needs real height for gestures */
  height: min(62dvh, 560px) !important;
  min-height: 340px !important;
  max-height: none !important;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
  /* Beat site.css .leaflet-container { touch-action: auto !important } — that zoomed the PAGE */
  touch-action: none !important;
  -ms-touch-action: none !important;
  overscroll-behavior: none !important;
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-map:active,
html:not(.is-tg-webapp) body.ride-app-page .ride-map.leaflet-dragging {
  cursor: grabbing !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-map.leaflet-container {
  /* #rideMap IS the leaflet root — never height:100% on self (collapses sticky calc) */
  width: 100% !important;
  font: inherit;
  touch-action: none !important;
  -ms-touch-action: none !important;
  overscroll-behavior: none !important;
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
/* Outline only for keyboard focus — mouse pan must not flash focus ring */
html:not(.is-tg-webapp) body.ride-app-page .ride-map:focus {
  outline: none;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-map:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.45);
  outline-offset: 2px;
}
/* Panes / tiles — always grab, never I-beam from underlying text selection */
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-map-pane,
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-tile-pane,
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-overlay-pane,
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-shadow-pane,
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-marker-pane,
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-tooltip-pane {
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-map.leaflet-dragging .leaflet-map-pane,
html:not(.is-tg-webapp) body.ride-app-page .ride-map.leaflet-dragging .leaflet-tile-pane {
  cursor: grabbing !important;
}
/* Guest pins must not steal drag; fleet pins are tappable (vehicle modal) */
.ride-map .leaflet-div-icon.zk-guest-pin {
  pointer-events: none !important;
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
.ride-map .leaflet-div-icon.rider-fleet-pin,
.ride-map .leaflet-div-icon.zk-veh-pin-wrap {
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
.ride-map .leaflet-div-icon.rider-poi-pin {
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 50% !important;
}
.ride-map .leaflet-div-icon.rider-poi-pin .rider-poi-pin__dot {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
  border: 2px solid #fff !important;
  opacity: 1;
  pointer-events: none;
}
.ride-map .leaflet-div-icon.rider-fleet-pin *,
.ride-map .leaflet-div-icon.zk-veh-pin-wrap * {
  pointer-events: none !important; /* clicks hit the icon wrapper */
  user-select: none !important;
}

/* Fleet vehicle card (tap pin on /ride · /go) */
.ride-veh-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 23, 42, 0.45);
}
.ride-veh-modal {
  position: fixed;
  z-index: 10051;
  left: 50%;
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(400px, calc(100vw - 1.25rem));
  max-height: min(70vh, 480px);
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  padding: 1rem 1.05rem 1.1rem;
  box-sizing: border-box;
}
.ride-veh-modal[hidden],
.ride-veh-backdrop[hidden] { display: none !important; }
.ride-veh-modal__x {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}
.ride-veh-modal__kind {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f766e;
}
.ride-veh-modal__title {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  padding-right: 1.5rem;
}
.ride-veh-modal__meta,
.ride-veh-modal__blurb {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.35;
}
.ride-veh-modal__offer {
  margin: 0.45rem 0;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.ride-veh-modal__offer label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.25rem;
}
.ride-veh-modal__offer input {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.4rem;
  border-radius: 10px;
  border: 1px solid #99f6e4;
  padding: 0.35rem 0.55rem;
}
.ride-veh-modal__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.ride-veh-modal__acts .ride-btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
}
.ride-poi-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.ride-poi-popup .leaflet-popup-content {
  margin: 10px 12px;
  min-width: 160px;
}
.ride-poi-pop__name {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  color: #0f172a;
  max-width: 200px;
}
.ride-poi-pop__kind {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: capitalize;
  margin-top: 2px;
}
.ride-poi-pop__acts {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.ride-poi-pop__btn {
  flex: 1;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}
.ride-poi-pop__btn--to {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}
/* Floating draggable place card (widget-style, not bottom sheet) */
.ride-place-sheet {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
}
.ride-place-sheet[hidden] {
  display: none !important;
}
.ride-place-sheet__panel {
  pointer-events: auto;
  position: fixed;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  width: min(92vw, 380px);
  max-height: min(72vh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.06);
  animation: ridePlaceSheetIn 0.2s ease-out;
  /* scroll lives on __scroll — not touch-action:none on whole panel */
  touch-action: manipulation;
}
.ride-place-sheet--custom-pos .ride-place-sheet__panel {
  transform: none;
  animation: none;
}
.ride-place-sheet--dragging .ride-place-sheet__panel {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.36);
  opacity: 0.97;
  cursor: grabbing;
  touch-action: none;
}
@keyframes ridePlaceSheetIn {
  from { opacity: 0.55; transform: translateX(-50%) translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.ride-place-sheet__grip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border-radius: 16px 16px 0 0;
}
.ride-place-sheet--dragging .ride-place-sheet__grip {
  cursor: grabbing;
}
.ride-place-sheet__grip-bar {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #cbd5e1;
}
.ride-place-sheet__x {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  touch-action: manipulation;
}
.ride-place-sheet__img {
  height: 112px;
  flex: 0 0 auto;
  background: #e2e8f0 center/cover no-repeat;
}
.ride-place-sheet__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.ride-place-sheet__body {
  padding: 10px 14px 12px;
  touch-action: pan-y;
}
.ride-place-sheet__head {
  cursor: grab;
  touch-action: none;
  user-select: none;
  padding-right: 2rem;
}
.ride-place-sheet__kind {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 650;
}
.ride-place-sheet__name {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 750;
}
.ride-place-sheet__hours,
.ride-place-sheet__addr,
.ride-place-sheet__phones {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.35;
}
.ride-place-sheet__short {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.45;
}
.ride-place-sheet__article {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.45;
  white-space: pre-wrap;
}
.ride-place-sheet__acts {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.ride-place-sheet__btn {
  flex: 1;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 12px;
  padding: 11px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.ride-place-sheet__btn--to {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}
.ride-place-sheet__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.84rem;
  font-weight: 650;
  color: #0f766e;
  text-decoration: none;
  touch-action: manipulation;
}
.ride-place-sheet__more:hover {
  text-decoration: underline;
}
.ride-place-sheet__more.is-muted {
  color: #94a3b8;
  pointer-events: none;
  text-decoration: none;
  cursor: default;
}
.ride-place-sheet__ad {
  flex: 0 0 auto;
  margin: 0 12px 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}
.ride-place-sheet__ad-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
  color: #64748b;
}
.ride-place-sheet__ad-empty code {
  font-size: 0.68rem;
  color: #0f766e;
}
.ride-place-sheet__ad-link {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}
.ride-place-sheet__ad-link:hover { text-decoration: underline; }
.ride-place-sheet__ad .ad-strip-triple {
  margin: 0;
  padding: 0;
}
.ride-place-sheet__ad .ad-strip-card {
  min-height: 64px;
}
@media (max-width: 480px) {
  .ride-place-sheet__panel {
    width: min(94vw, 380px);
    max-height: min(70vh, 520px);
  }
  .ride-place-sheet__img {
    height: 96px;
  }
}
/* A/B stop pins stay draggable */
.ride-map .leaflet-marker-draggable {
  pointer-events: auto !important;
  cursor: grab !important;
}
.ride-map .leaflet-marker-draggable .leaflet-div-icon {
  pointer-events: auto !important;
  cursor: grab !important;
  user-select: none !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-control-zoom,
html:not(.is-tg-webapp) body.ride-app-page .ride-map .leaflet-control-rotate,
html:not(.is-tg-webapp) body.ride-app-page .ride-map .ride-map-chrome {
  pointer-events: auto !important;
  z-index: 1000 !important;
}

/* Stable map chrome — zoom + rotate stay clickable in TG / over rotated tiles */
.ride-map .ride-map-chrome a {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 18px !important;
  font-weight: 700;
  text-align: center;
  color: #0f766e !important;
  background: #fff !important;
  display: block !important;
  text-decoration: none !important;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.ride-map .ride-map-chrome a:hover {
  background: #ecfdf5 !important;
  color: #115e59 !important;
}
.ride-map .ride-map-chrome--rotate a {
  font-size: 15px !important;
  letter-spacing: -0.02em;
}
.ride-map .leaflet-control-container {
  /* Keep controls outside rotated tile transforms */
  transform: none !important;
}
html.is-tg-webapp body.ride-app-page .ride-map .ride-map-chrome {
  pointer-events: auto !important;
  z-index: 1200 !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-panel {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  flex: 0 1 auto;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0;
  overflow: visible !important;
  border-radius: 14px;
  box-shadow: none;
  padding: 0.85rem 1rem 1.1rem;
  z-index: 2;
  transform: none !important;
  transition: none !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-login-hint {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.86rem;
  line-height: 1.35;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-login-hint a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: underline;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-panel::after {
  content: none !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-sheet-handle,
html:not(.is-tg-webapp) body.ride-app-page .ride-map-expand {
  display: none !important;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-seo-wrap {
  margin-top: 0.25rem;
  padding-bottom: 0.5rem;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-seo-wrap .seo-about {
  margin-top: 1.25rem;
}
html:not(.is-tg-webapp) body.ride-app-page .ride-disclaimer-wrap {
  max-width: var(--catalog-rail-max, 1340px);
  margin: 0.5rem auto 1.25rem;
  padding: 0 var(--catalog-rail-px, 12px);
  box-sizing: border-box;
}

/* Mobile site: no ride ads + bottom-sheet over map (TG already hides all chrome). */
@media (max-width: 899px) {
  /* Sheet owns the viewport — page/SEO/footer must not scroll over the form */
  html.is-ride-sheet-lock,
  html.is-ride-sheet-lock body {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    height: 100% !important;
    max-height: 100dvh !important;
  }
  html.is-ride-sheet-lock body.ride-app-page #main-content {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    max-height: 100dvh !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .catalog-strip-stack--ads-only .catalog-page-like-listing,
  html:not(.is-tg-webapp) body.ride-app-page .catalog-strip-stack--ads-only .ad-strip-triple,
  html:not(.is-tg-webapp) body.ride-app-page .catalog-ad-mobile-dock {
    display: none !important;
  }
  /* SEO / disclaimer / site footer stay out of the mobile booking surface */
  html:not(.is-tg-webapp) body.ride-app-page.is-ride-sheet-lock .ride-seo-wrap,
  html:not(.is-tg-webapp) body.ride-app-page.is-ride-sheet-lock .ride-disclaimer-wrap,
  html:not(.is-tg-webapp) body.ride-app-page.is-ride-sheet-lock footer.footer {
    display: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page {
    --ride-chrome-h: 72px; /* breadcrumbs + Back only */
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-page {
    min-height: max(480px, calc(100dvh - var(--ride-header-gap, 56px) - var(--ride-chrome-h, 72px))) !important;
    height: auto !important;
    overflow: hidden !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-shell {
    position: relative !important;
    z-index: 200 !important;
    height: max(480px, calc(100dvh - var(--ride-header-gap, 56px) - var(--ride-chrome-h, 72px))) !important;
    min-height: max(480px, calc(100dvh - var(--ride-header-gap, 56px) - var(--ride-chrome-h, 72px))) !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 18px;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-shell.is-sheet-cover {
    position: fixed !important;
    top: var(--ride-header-gap, 56px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    z-index: 200 !important;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.18);
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-map {
    position: absolute !important;
    inset: 0 !important;
    flex: none !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 14px;
    z-index: 1 !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-shell.is-sheet-cover .ride-map {
    border-radius: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-map.leaflet-container {
    width: 100% !important;
    height: 100% !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-map-expand {
    display: inline-flex !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    flex: none !important;
    width: 100% !important;
    /* --ride-sheet-h set by ride-sheet.js; !important must not freeze mid height */
    height: var(--ride-sheet-h, min(58%, calc(100% - 4px))) !important;
    max-height: calc(100% - 4px) !important;
    min-height: 72px !important;
    margin-top: 0 !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
    z-index: 5 !important;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.12);
    transform: none;
    transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-panel.is-sheet-dragging {
    transition: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-panel.is-sheet-high {
    border-radius: 12px 12px 0 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-sheet-handle {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    color: var(--ride-accent, #0f766e);
    margin: 0 -1rem 0.25rem;
    padding: 0.55rem 1rem 0.4rem;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  }
  html:not(.is-tg-webapp) body.ride-app-page .catalog-ad-mobile-dock--active {
    position: relative;
    z-index: 1; /* under ride-shell (40) */
  }
}

/* TG: shell/panel above any leaked chrome; cover mode to header */
html.is-tg-webapp body.ride-app-page .ride-shell {
  z-index: 40;
}
html.is-tg-webapp body.ride-app-page .ride-panel {
  z-index: 5;
}
@media (max-width: 899px) {
  html.is-tg-webapp body.ride-app-page .ride-shell.is-sheet-cover {
    position: fixed !important;
    top: var(--ride-header-gap, 56px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    z-index: 55 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
}

/* Wide site browser: map left, form right */
@media (min-width: 900px) {
  html.is-tg-webapp body.ride-app-page {
    overflow: visible;
  }
  html.is-tg-webapp body.ride-app-page #main-content {
    height: 100dvh;
    overflow: hidden;
  }
  html.is-tg-webapp body.ride-app-page .ride-page {
    height: var(--ride-shell-h);
    min-height: var(--ride-shell-h);
    max-height: var(--ride-shell-h);
    overflow: hidden;
  }
  html.is-tg-webapp body.ride-app-page .ride-shell {
    max-width: min(1180px, calc(100% - 2rem));
    width: 100%;
    flex-direction: row;
    height: var(--ride-shell-h);
    min-height: var(--ride-shell-h);
    max-height: var(--ride-shell-h);
    padding: 1rem 1rem 1.25rem;
    gap: 1rem;
    align-items: stretch;
    box-sizing: border-box;
  }
  html.is-tg-webapp body.ride-app-page .ride-map {
    flex: 1 1 auto;
    height: 100% !important;
    min-height: 0;
    max-height: none;
    border-radius: 16px;
    overflow: hidden;
  }
  html.is-tg-webapp body.ride-app-page .ride-panel {
    flex: 0 0 min(400px, 36vw);
    width: min(400px, 36vw);
    margin-top: 0;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    height: 100%;
    max-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  html:not(.is-tg-webapp) body.ride-app-page {
    --ride-chrome-h: 176px;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-page {
    height: auto !important;
    min-height: max(640px, var(--ride-fill-h)) !important;
  }
  /* Stacked: compact wide order strip on top, map below */
  html:not(.is-tg-webapp) body.ride-app-page .ride-shell {
    flex-direction: column;
    align-items: stretch;
    height: auto !important;
    min-height: max(640px, var(--ride-fill-h)) !important;
    max-height: none !important;
    gap: 0.65rem;
    overflow: visible !important;
    padding: 0.55rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-panel {
    order: -1;
    flex: 0 0 auto;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    height: auto !important;
    max-height: none !important;
    overflow: visible;
    padding: 0.5rem 0.75rem 0.65rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-map {
    order: 1;
    flex: 0 0 auto;
    position: relative !important;
    top: auto !important;
    inset: auto !important;
    height: min(58dvh, 520px) !important;
    min-height: 360px !important;
    max-height: none !important;
    width: 100% !important;
    align-self: stretch;
    border-radius: 16px;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-map-expand {
    display: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-map.leaflet-container {
    width: 100% !important;
    min-height: inherit;
    touch-action: none !important;
    -ms-touch-action: none !important;
  }

  /* —— PC order strip ONLY on #rideApp (never #tripApp — trip kids must stack) —— */
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel {
    display: grid;
    grid-template-columns: auto minmax(16rem, 22rem) minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tabs . trips"
      "hint hint hint hint"
      "country country country country"
      "prefill prefill prefill prefill"
      "crm crm crm crm"
      "book book book book";
    column-gap: 0.65rem;
    row-gap: 0.35rem;
    align-items: center;
    overflow: visible !important;
    padding-right: 5.5rem !important; /* room for theme toggle on shell */
  }
  html:not(.is-tg-webapp) body.ride-app-page #tripApp .ride-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    padding-right: 0.75rem !important;
    overflow: visible !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page #tripApp .ride-panel > * {
    grid-area: auto !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  html:not(.is-tg-webapp) body.ride-app-page #tripApp .ride-phase-strip {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
  html:not(.is-tg-webapp) body.ride-app-page #tripApp .ride-confirm,
  html:not(.is-tg-webapp) body.ride-app-page #tripApp .ride-search-anim,
  html:not(.is-tg-webapp) body.ride-app-page #tripApp #offersBlock {
    width: 100%;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-brand {
    grid-area: brand;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-product-tabs {
    grid-area: tabs;
    margin: 0 !important;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    gap: 0.3rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-trips {
    grid-area: trips;
    margin: 0;
    justify-self: end;
    padding: 0;
    border: 0;
    background: transparent;
    white-space: nowrap;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-login-hint {
    grid-area: hint;
    margin: 0;
    padding: 0.35rem 0.55rem;
    font-size: 0.76rem;
    line-height: 1.3;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-country {
    grid-area: country;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-prefill {
    grid-area: prefill;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-crm {
    grid-area: crm;
    margin: 0;
    padding: 0.35rem 0.5rem;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel > .ride-book {
    grid-area: book;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-sub--desk,
  html:not(.is-tg-webapp) body.ride-app-page .ride-hint--desk,
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-label--desk,
  html:not(.is-tg-webapp) body.ride-app-page .ride-country__locked {
    display: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-product-tabs .ride-mode {
    min-height: 2.35rem !important;
    padding: 0.25rem 0.2rem !important;
    font-size: 0.72rem !important;
    border-radius: 11px !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-product-tabs .ride-mode__svg svg {
    width: 16px;
    height: 16px;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-trips__sum {
    padding: 0.25rem 0.15rem;
    font-size: 0.74rem;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-theme-toggle {
    top: 0.45rem;
    right: 0.55rem;
    z-index: 5;
  }

  /* Main strip: fleet | route | CTA — no clip, no stretch chaos */
  html:not(.is-tg-webapp) body.ride-app-page .ride-book {
    margin: 0;
    border-radius: 14px;
    padding: 0.55rem 0.65rem;
    overflow: visible !important;
    display: grid;
    grid-template-columns: minmax(12.5rem, auto) minmax(0, 1fr) auto;
    grid-template-areas:
      "fleet route acts"
      "catalog catalog catalog"
      "details details details"
      "msgs msgs msgs";
    column-gap: 0.75rem;
    row-gap: 0.4rem;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core {
    display: contents;
  }
  html:not(.is-tg-webapp) body.ride-app-page #accTransport,
  html:not(.is-tg-webapp) body.ride-app-page #accRoute,
  html:not(.is-tg-webapp) body.ride-app-page #accDetails {
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page #accTransport { grid-area: fleet; }
  html:not(.is-tg-webapp) body.ride-app-page #accRoute { grid-area: route; min-width: 0; }
  html:not(.is-tg-webapp) body.ride-app-page #accDetails { grid-area: details; }
  html:not(.is-tg-webapp) body.ride-app-page #rideCatalogPane {
    grid-area: catalog;
    margin: 0;
    min-width: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-cta {
    grid-area: acts;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    max-width: 16rem;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-cta > .ride-actions {
    margin: 0 !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0 !important;
    background: none !important;
    min-width: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-msg {
    grid-area: msgs;
    margin: 0 !important;
  }

  html:not(.is-tg-webapp) body.ride-app-page #accTransport > .ride-acc__sum,
  html:not(.is-tg-webapp) body.ride-app-page #accRoute > .ride-acc__sum {
    display: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page #accTransport > .ride-acc__body,
  html:not(.is-tg-webapp) body.ride-app-page #accRoute > .ride-acc__body {
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page #accDetails > .ride-acc__sum {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  html:not(.is-tg-webapp) body.ride-app-page #accDetails[open] > .ride-acc__sum {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }
  html:not(.is-tg-webapp) body.ride-app-page #accDetails > .ride-acc__body {
    padding: 0.55rem 0.65rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
  }

  html:not(.is-tg-webapp) body.ride-app-page .ride-book__fleet {
    padding: 0 !important;
    border: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  /* Desktop fleet: keep compact row of vehicle types */
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__modes {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 0.35rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__modes .ride-mode {
    flex: 1 1 0;
    width: auto !important;
    max-width: none !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    min-height: 3.1rem !important;
    padding: 0.35rem 0.25rem !important;
    font-size: 0.72rem !important;
    font-weight: 700;
    border-radius: 12px !important;
    box-sizing: border-box;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__modes .ride-mode__ico .zk-veh-mode-ico {
    width: 1.55rem !important;
    height: 1.55rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__status {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.25;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__status .ride-cat-chip {
    display: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-cta .ride-nearby-hint {
    text-align: right;
    margin-top: 0.25rem;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-msg:empty,
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-msg[hidden],
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-msg[style*="display: none"],
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-msg[style*="display:none"] {
    display: none !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  html:not(.is-tg-webapp) body.ride-app-page .ride-book__route.ride-route,
  html:not(.is-tg-webapp) body.ride-app-page .ride-route {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    min-width: 0;
    overflow: visible !important;
  }
  /* PC: same stack as mobile — A, stop chips, ⇅+, B */
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.22rem !important;
    min-width: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rowPickup,
  html:not(.is-tg-webapp) body.ride-app-page #rowDropoff,
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__mid {
    grid-area: auto !important;
    width: 100%;
    min-width: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__mid {
    height: 2.35rem !important;
    min-height: 2.35rem !important;
    max-height: 2.35rem !important;
    flex: 0 0 2.35rem !important;
    margin: 0.28rem 0 0.18rem !important;
    overflow: hidden !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__swap,
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__plus {
    width: 1.55rem !important;
    height: 1.55rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__seam {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
    min-width: 0;
    padding-left: 0;
    overflow: hidden !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__path-wrap {
    position: absolute !important;
    left: 0.35rem !important;
    right: 4.1rem !important;
    top: 0.22rem !important;
    bottom: 0.18rem !important;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__mid.has-mid-eta:not(.has-stops) .ride-route__path-wrap {
    left: 6.85rem !important;
    right: 0.2rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__mid-eta {
    left: calc(1.85rem + 5px) !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__btns {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto;
    justify-content: center;
    gap: 0.35rem;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__mid.has-mid-eta:not(.has-stops) .ride-route__btns {
    left: 56% !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__mid.has-stops .ride-route__btns {
    left: auto !important;
    right: 0.2rem !important;
    transform: translateY(-50%) !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__mid.has-stops .ride-route__path-wrap {
    left: 0.25rem !important;
    right: 4rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__path {
    width: max-content;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__swap,
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__plus {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    margin: 0 !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__stops-edit:empty {
    display: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__row {
    min-height: 0 !important;
    padding: 0.12rem 0 !important;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.35rem 0.5rem;
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-route__row.is-active {
    border: 0 !important;
    box-shadow: none !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-field {
    min-width: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-inputwrap {
    min-width: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-inputwrap input,
  html:not(.is-tg-webapp) body.ride-app-page .ride-field input,
  html:not(.is-tg-webapp) body.ride-app-page .ride-field select {
    min-height: 2.6rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-inputwrap input {
    padding-right: 4.5rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-inputwrap--a input {
    padding-right: 6.85rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-inputwrap--one input {
    padding-right: 2.6rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-tools {
    right: 0.3rem;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-geo-loc {
    width: 1.85rem !important;
    height: 1.85rem !important;
  }
  /* House # lives in Trip details — keep strip clean */
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__route .ride-opt-house {
    display: none !important;
  }

  html:not(.is-tg-webapp) body.ride-app-page .ride-book__meta,
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__trip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    padding: 0.35rem 0 !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book__cell {
    padding: 0.4rem 0.45rem 0.45rem !important;
    border-radius: 10px;
    min-width: 0;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-actions--icons {
    display: flex !important;
    grid-template-columns: none;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-act--ghost {
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 2.6rem;
    border-radius: 999px;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-act--primary {
    width: 100%;
    min-width: 0;
    min-height: 2.6rem;
    padding: 0 1.1rem;
    font-size: 0.92rem;
    flex: 1 1 auto;
    white-space: nowrap;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book .ride-share-seat,
  html:not(.is-tg-webapp) body.ride-app-page .ride-book .ride-child-seat,
  html:not(.is-tg-webapp) body.ride-app-page .ride-book .ride-notes,
  html:not(.is-tg-webapp) body.ride-app-page .ride-book .ride-confirm {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Mid desktop: keep A/B readable — stack CTA under route instead of crushing fields */
@media (min-width: 900px) and (max-width: 1099px) {
  html:not(.is-tg-webapp) body.ride-app-page .ride-book {
    grid-template-columns: minmax(11rem, auto) minmax(0, 1fr);
    grid-template-areas:
      "fleet route"
      "acts acts"
      "catalog catalog"
      "details details"
      "msgs msgs";
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-order-core > .ride-cta > .ride-actions {
    justify-content: flex-end;
  }
}

.ride-cta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

@media (min-width: 1280px) {
  html.is-tg-webapp body.ride-app-page .ride-shell {
    max-width: min(1280px, calc(100% - 3rem));
  }
  html.is-tg-webapp body.ride-app-page .ride-panel {
    flex-basis: 420px;
    width: 420px;
  }
  html:not(.is-tg-webapp) body.ride-app-page #rideApp .ride-panel {
    flex-basis: auto;
    width: 100%;
    max-width: none;
    padding: 0.6rem 5.5rem 0.75rem 0.9rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page #tripApp .ride-panel {
    padding: 0.6rem 0.9rem 0.75rem !important;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-book {
    padding: 0.65rem 0.75rem;
    column-gap: 1rem;
  }
  html:not(.is-tg-webapp) body.ride-app-page .ride-act--primary {
    min-width: 9.5rem;
  }
}

/* Light / dark toggle for rider shell */
.ride-theme-toggle {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 40;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.92);
  color: #0f172a;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15,23,42,.08);
}
body.ride-app-page.ride-theme-dark .ride-theme-toggle {
  background: rgba(15,23,42,.88);
  color: #e2e8f0;
  border-color: rgba(148,163,184,.35);
}
body.ride-app-page .ride-shell { position: relative; }
body.ride-app-page.ride-theme-dark {
  --ride-panel-bg: #0f172a;
  --ride-panel-fg: #f1f5f9;
  --ride-muted: #94a3b8;
  --ride-line: #334155;
}
body.ride-app-page.ride-theme-dark .ride-panel,
body.ride-app-page.ride-theme-dark .ride-book,
body.ride-app-page.ride-theme-dark .ride-order-core,
body.ride-app-page.ride-theme-dark .ride-route,
body.ride-app-page.ride-theme-dark .ride-join-sheet {
  background: var(--ride-panel-bg, #0f172a) !important;
  color: var(--ride-panel-fg, #f1f5f9) !important;
  border-color: var(--ride-line, #334155) !important;
}
body.ride-app-page.ride-theme-dark .ride-panel input,
body.ride-app-page.ride-theme-dark .ride-panel select,
body.ride-app-page.ride-theme-dark .ride-panel textarea {
  background: #111827 !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}
body.ride-app-page.ride-theme-dark .ride-book__label,
body.ride-app-page.ride-theme-dark label,
body.ride-app-page.ride-theme-dark .ride-muted {
  color: var(--ride-muted, #94a3b8) !important;
}

/* Accordion sections — compact order form */
.ride-acc {
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 14px;
  margin: 0 0 0.55rem;
  background: rgba(255,255,255,0.72);
  overflow: hidden;
}
.ride-acc__sum {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  font-weight: 750;
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
  color: #0f766e;
}
.ride-acc__sum::-webkit-details-marker { display: none; }
.ride-acc__picked {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 0.15rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  flex: 0 0 auto;
  line-height: 0;
  overflow: hidden;
}
.ride-acc__picked .zk-veh-mode-ico {
  width: 1.35rem !important;
  height: 1.35rem !important;
}
/* Closed Transport: selected mode icon between title and chevron */
#accTransport:not([open]) > .ride-acc__sum .ride-acc__picked:not(:empty) {
  display: inline-flex;
}
#accTransport:not([open]) > .ride-acc__sum::after {
  margin-left: 0.4rem;
}
/* Closed Route: compact A→stops→B + total ETA (single line, no stretch) */
.ride-acc__title { flex: 0 0 auto; }
.ride-acc__route-sum {
  display: none;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  margin-right: 0.1rem;
  min-width: 0;
  max-width: min(14.5rem, 58vw);
  flex: 0 1 auto;
  justify-content: flex-end;
  overflow: hidden;
  white-space: nowrap;
}
#accRoute:not([open]) > .ride-acc__sum .ride-acc__route-sum:not([hidden]) {
  display: inline-flex;
}
#accRoute:not([open]) > .ride-acc__sum::after {
  margin-left: 0.35rem;
}
#accRoute[open] > .ride-acc__sum::after {
  margin-left: auto;
}
.ride-acc__route-path {
  display: inline-flex;
  align-items: center;
  gap: 0.14rem;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}
.ride-acc__route-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: #0f766e;
}
.ride-acc__route-pill.is-b { background: #0d9488; }
.ride-acc__route-pill.is-stop { background: #14b8a6; }
.ride-acc__route-arr {
  flex: 0 0 auto;
  color: #5eead4;
  font-size: 0.62rem;
  font-weight: 800;
  opacity: 0.9;
}
.ride-acc__route-eta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  max-width: 5.2rem;
  padding: 0.1rem 0.32rem;
  border-radius: 999px;
  border: 1px solid #99f6e4;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ride-acc__sum::after {
  content: '';
  margin-left: auto;
  width: 0.55rem; height: 0.55rem;
  border-right: 2px solid #0f766e;
  border-bottom: 2px solid #0f766e;
  transform: rotate(45deg);
  transition: transform .2s ease;
  opacity: .7;
  flex: 0 0 auto;
}
.ride-acc[open] > .ride-acc__sum::after { transform: rotate(-135deg); margin-top: 0.25rem; }
#accTransport[open] > .ride-acc__sum::after { margin-left: auto; }
.ride-acc__body { padding: 0 0.65rem 0.75rem; }
.ride-acc .ride-book__fleet,
.ride-acc .ride-book__route { border: 0; margin: 0; box-shadow: none; }

/* Order CTA bar — clock lives in block A */
.ride-actions--icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: stretch;
  gap: 0.45rem;
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 0.55rem 0 0.15rem;
  background: linear-gradient(180deg, transparent, rgba(248,250,252,.95) 28%);
}
.ride-actions--icons .ride-act--primary {
  flex: 1 1 auto;
  width: 100%;
}
.ride-btn--ico {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3.35rem;
  padding: 0.45rem 0.35rem;
  border-radius: 14px;
}
.ride-btn__cap {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1;
}
.ride-btn--primary {
  background: #0f766e;
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.28);
}

/* Mode tabs with SVG + taxi icons */
.ride-product-tabs .ride-mode {
  flex-direction: column;
  gap: 0.2rem;
  min-height: 3.1rem;
  padding: 0.4rem 0.25rem;
  font-size: 0.72rem;
}
.ride-mode__svg { display: inline-flex; color: #0f766e; }
.ride-mode.is-active .ride-mode__svg { color: #fff; }
.ride-mode__txt { font-weight: 700; line-height: 1.1; }
.ride-book__modes .ride-mode__ico {
  display: inline-flex;
  line-height: 0;
}
.ride-book__modes .ride-mode__ico .zk-veh-mode-ico {
  width: 1.85rem !important;
  height: 1.85rem !important;
  flex: 0 0 auto;
}
.ride-book__modes .ride-mode {
  min-height: 2.65rem;
  gap: 0.55rem;
}
.ride-cta .ride-nearby-hint {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.74rem;
  color: #64748b;
}
.ride-cta .ride-nearby-hint:empty {
  display: none;
  margin: 0;
}
body.ride-theme-dark .ride-acc {
  background: rgba(15,23,42,.88);
  border-color: #334155;
}
body.ride-theme-dark .ride-acc__sum { color: #5eead4; }
body.ride-theme-dark .ride-acc__sum::after { border-color: #5eead4; }
body.ride-theme-dark .ride-actions--icons {
  background: linear-gradient(180deg, transparent, rgba(15,23,42,.95) 28%);
}

/* —— Mobile densify (Uber/Bolt/PickMe sheet density) —— */
.ride-opt-house {
  margin-top: 0.25rem;
  border: 0;
}
.ride-opt-house > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 650;
  color: #64748b;
  padding: 0.15rem 0;
}
.ride-opt-house > summary::-webkit-details-marker { display: none; }
.ride-opt-house input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  font-size: 0.88rem;
}
.ride-crm__ico-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  background: #fff;
  color: #065f46;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ride-crm__ico-btn:active { transform: scale(0.96); }
.ride-crm__more {
  margin-top: 0.35rem;
  border: 0;
}
.ride-crm__more > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f766e;
  padding: 0.2rem 0;
}
.ride-crm__more > summary::-webkit-details-marker { display: none; }
.ride-trips--fold > summary.ride-trips__sum {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  color: #0f766e;
  padding: 0.35rem 0.15rem;
}
.ride-trips--fold > summary::-webkit-details-marker { display: none; }
.ride-trips--fold:not([open]) .ride-trips__tabs,
.ride-trips--fold:not([open]) .ride-trips__list { display: none; }

.ride-act {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  transition: transform .12s ease, opacity .12s ease;
}
.ride-act:disabled { opacity: 0.4; cursor: not-allowed; }
.ride-act:not(:disabled):active { transform: scale(0.97); }
.ride-act--ghost {
  width: 2.75rem;
  height: 2.75rem;
  background: #fff;
  color: #0f766e;
  border: 1px solid #a7f3d0;
  box-shadow: 0 1px 4px rgba(15, 118, 110, 0.08);
}
.ride-act--primary {
  flex: 1;
  min-height: 2.85rem;
  padding: 0 1rem;
  background: #0f766e;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.28);
}
.ride-act__label { letter-spacing: 0.01em; }

@media (max-width: 899px) {
  /* Hierarchy: map + Where to? first; everything else collapsed/tight */
  .ride-panel {
    padding: 0.35rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  .ride-brand {
    font-size: 1.05rem !important;
    margin: 0 0 0.15rem !important;
    letter-spacing: -0.02em;
  }
  .ride-sub--desk,
  .ride-hint--desk,
  .ride-geo-label--desk,
  .ride-crm__empty,
  .ride-country__locked {
    display: none !important;
  }
  .ride-product-tabs {
    margin: 0 0 0.4rem !important;
    gap: 0.3rem !important;
  }
  .ride-product-tabs .ride-mode {
    min-height: 2.55rem !important;
    padding: 0.25rem 0.15rem !important;
    border-radius: 12px !important;
    font-size: 0.65rem !important;
  }
  .ride-product-tabs .ride-mode__svg svg {
    width: 18px;
    height: 18px;
  }
  .ride-crm {
    margin: 0 0 0.4rem;
    padding: 0.4rem 0.45rem;
    border-radius: 12px;
  }
  .ride-crm__profiles {
    margin-bottom: 0.3rem;
    gap: 0.3rem;
  }
  .ride-crm__chip {
    padding: 0.22rem 0.55rem;
    font-size: 0.7rem;
  }
  .ride-crm__row {
    gap: 0.25rem;
    margin-bottom: 0.2rem;
  }
  .ride-crm__icon {
    padding: 0.22rem 0.45rem;
    font-size: 0.68rem;
    border-radius: 8px;
  }
  .ride-crm__actions { display: none !important; }
  .ride-trips {
    margin: 0 0 0.4rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .ride-book {
    margin: 0 0 0.4rem;
    border-radius: 14px;
    box-shadow: none;
    border-color: rgba(15, 118, 110, 0.16);
  }
  .ride-acc {
    margin: 0 0 0.35rem;
    border-radius: 12px;
  }
  .ride-acc__sum {
    padding: 0.45rem 0.55rem;
    font-size: 0.78rem;
  }
  .ride-acc__body {
    padding: 0 0.45rem 0.45rem;
  }
  .ride-book__fleet {
    padding: 0.35rem 0 0.25rem !important;
  }
  .ride-book__modes {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.28rem !important;
    width: 100% !important;
  }
  .ride-book__modes .ride-mode {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 3rem !important;
    padding: 0.3rem 0.15rem !important;
    font-size: 0.66rem !important;
    border-radius: 11px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.12rem !important;
  }
  .ride-book__modes .ride-mode__ico .zk-veh-mode-ico {
    width: 1.45rem !important;
    height: 1.45rem !important;
  }
  #accTransport:not([open]) > .ride-acc__sum .ride-acc__picked:not(:empty) {
    display: inline-flex !important;
  }
  #accRoute:not([open]) > .ride-acc__sum .ride-acc__route-sum:not([hidden]) {
    display: inline-flex !important;
    max-width: min(13.5rem, 56vw);
  }
  #accRoute > .ride-acc__sum {
    gap: 0.35rem;
    min-width: 0;
  }
  #accRoute > .ride-acc__sum .ride-acc__title {
    flex: 0 0 auto;
  }
  .ride-acc__route-pill {
    min-width: 0.95rem;
    height: 0.95rem;
    font-size: 0.52rem;
  }
  .ride-acc__route-eta {
    font-size: 0.52rem !important;
    max-width: 4.6rem;
    padding: 0.08rem 0.28rem !important;
  }
  .ride-cta .ride-nearby-hint {
    text-align: center;
    margin-top: 0.3rem;
    font-size: 0.72rem;
  }
  .ride-book__route.ride-route,
  .ride-route {
    padding: 0.35rem 0 0.15rem !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .ride-route__fields {
    gap: 0.16rem !important;
    overflow-x: clip !important;
    max-width: 100% !important;
    overflow-anchor: none !important;
  }
  .ride-route__mid {
    gap: 0 !important;
    height: 2rem !important;
    min-height: 2rem !important;
    max-height: 2rem !important;
    flex: 0 0 2rem !important;
    margin: 0.18rem 0 0.12rem !important;
    overflow: hidden !important;
  }
  .ride-route__row.is-active {
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
  }
  .ride-route__row.is-active .ride-geo-inputwrap > input {
    border-color: #0f766e !important;
    box-shadow: 0 0 0 1.5px rgba(15, 118, 110, 0.16) !important;
  }
  .ride-route__seam {
    z-index: 1;
    height: 100% !important;
    display: block !important;
    overflow: hidden !important;
  }
  .ride-route__path-wrap {
    position: absolute !important;
    left: 1.65rem !important; /* clear A/B spine column */
    right: 3.9rem !important;
    top: 0 !important;
    bottom: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  .ride-route__path {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    width: max-content;
    padding: 0 !important;
  }
  .ride-route__btns {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    justify-content: center !important;
    gap: 0.3rem !important;
  }
  /* Mobile mid: A→B ETA left of ⇅; with stops chips scroll, ⇅ right */
  .ride-route__mid-eta {
    left: 1.65rem !important; /* flush after A/B dots; no PC +5px */
    right: auto !important;
    font-size: 0.52rem !important;
    padding: 0.06rem 0.28rem !important;
    max-width: 3.85rem !important;
    z-index: 4 !important;
  }
  .ride-route__mid.has-mid-eta:not(.has-stops) .ride-route__path-wrap {
    left: 5.55rem !important;
    right: 0.15rem !important;
  }
  .ride-route__mid.has-mid-eta:not(.has-stops) .ride-route__btns {
    left: 52% !important;
  }
  .ride-route__mid.has-stops {
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    max-height: 2.25rem !important;
    flex: 0 0 2.25rem !important;
  }
  .ride-route__mid.has-stops .ride-route__btns {
    left: auto !important;
    right: 0.08rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .ride-route__mid.has-stops .ride-route__path-wrap {
    left: 0.15rem !important; /* chips from left → right through route */
    right: 3.55rem !important;
  }
  .ride-route__mid.has-stops .ride-route__path {
    gap: 0.18rem !important;
  }
  .ride-route__mid.has-stops-many .ride-stop-node {
    width: 1.2rem !important;
    max-width: 1.2rem !important;
  }
  .ride-route__mid.has-stops-many .ride-stop-chip {
    width: 0.95rem !important;
    height: 0.95rem !important;
    min-width: 0.95rem !important;
    min-height: 0.95rem !important;
    font-size: 0.5rem !important;
  }
  .ride-route__mid.has-stops-many .ride-stop-chip__wait {
    font-size: 0.4rem !important;
    min-height: 0.65rem !important;
    padding: 0.02rem 0.14rem !important;
  }
  .ride-route__mid.has-stops .ride-path-arrow {
    width: 0.78rem !important;
    height: 0.7rem !important;
  }
  .ride-route__path-eta {
    margin-left: 0.1rem !important;
    font-size: 0.5rem !important;
    padding: 0.06rem 0.26rem !important;
    max-width: 3.9rem !important;
  }
  .ride-route__swap,
  .ride-route__plus {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 1.45rem !important;
    height: 1.45rem !important;
    z-index: 1 !important;
    margin: 0 !important;
  }
  .ride-route__plus { font-size: 0.95rem !important; }
  .ride-stop-chip {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
    font-size: 0.52rem !important;
    padding: 0 !important;
  }
  .ride-stop-chip__wait {
    font-size: 0.42rem !important;
    min-height: 0.7rem !important;
    padding: 0.04rem 0.2rem !important;
  }
  .ride-path-arrow {
    width: 0.85rem !important;
    height: 0.75rem !important;
  }
  .ride-path-arrow--to-b {
    width: 1.05rem !important;
  }
  .ride-when-cloud {
    font-size: 0.52rem !important;
    max-width: 6.5rem;
  }
  .ride-when-quick {
    margin: 0.25rem 0 0.1rem;
    padding: 0.45rem 0.55rem 0.4rem;
  }
  .ride-route__row {
    min-height: 0 !important;
    padding: 0.08rem 0 !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 0.28rem 0.45rem !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    align-items: center !important;
  }
  .ride-geo-inputwrap input,
  .ride-field input,
  .ride-field select {
    min-height: 2.55rem;
    padding: 0.4rem 0.55rem !important;
    padding-right: 4.4rem !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
  }
  .ride-geo-inputwrap--one input {
    padding-right: 2.5rem !important;
  }
  .ride-geo-loc {
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 999px !important;
  }
  .ride-book__cell {
    padding: 0.35rem 0.4rem 0.4rem !important;
    border-radius: 10px;
  }
  .ride-book__head,
  .ride-book__head--sm {
    margin-bottom: 0.2rem !important;
  }
  .ride-book__meta,
  .ride-book__trip {
    padding: 0.35rem 0 !important;
    gap: 0.35rem !important;
  }
  .ride-booked-for__modes .ride-mode,
  .ride-when__modes .ride-mode {
    min-height: 2.2rem !important;
    padding: 0.3rem 0.2rem !important;
    font-size: 0.72rem !important;
  }
  .ride-confirm {
    padding: 0.55rem 0.6rem !important;
    margin-top: 0.35rem;
  }
  .ride-confirm h3 {
    font-size: 0.85rem !important;
    margin: 0 0 0.35rem !important;
  }
  .ride-actions--icons {
    display: flex;
    grid-template-columns: none;
    gap: 0.4rem;
    align-items: center;
    justify-content: stretch;
    padding: 0.45rem 0 0.05rem;
    background: linear-gradient(180deg, transparent, #f8fafc 22%);
  }
  .ride-actions--icons .ride-act--primary {
    flex: 1 1 auto;
    width: 100%;
  }
  .ride-btn--ico,
  .ride-btn__cap {
    /* legacy classes kept for desktop fallbacks */
  }
  .ride-login-hint {
    font-size: 0.75rem;
    margin: 0 0 0.4rem;
    line-height: 1.35;
  }
  .ride-prefill {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
  }
  .ride-msg {
    font-size: 0.75rem;
    min-height: 0.9em;
    margin: 0.25rem 0 0;
  }
}
