/* RoadHero mobility shell — Uber/Rapido structure
   Left rail (desktop) · stage · bottom dock (mobile) · map + sheet pages */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

body.rh-mobility {
  --mob-rail: 232px;
  --mob-bg: #ececec;
  --mob-ink: #0a0a0a;
  --mob-mute: #6b6b6b;
  --mob-line: #e6e6e6;
  --mob-sheet: #ffffff;
  --mob-ok: #05944f;
  --mob-blue: #276ef1;
  --mob-pad-x: 1.25rem;
  --mob-pad-y: 1.15rem;
  --mob-content-max: 960px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  margin: 0;
  font-family: var(--font);
  background: var(--mob-bg);
  color: var(--mob-ink);
  letter-spacing: -0.011em;
}

body.rh-mobility .rh-mob {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--mob-rail) minmax(0, 1fr);
}

/* —— Rail —— */
body.rh-mobility .rh-mob-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 0.9rem 1rem;
  z-index: 40;
}
body.rh-mobility .rh-mob-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  padding: 0.35rem 0.45rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.85rem;
}
body.rh-mobility .rh-mob-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
}
body.rh-mobility .rh-mob-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
body.rh-mobility .rh-mob-brand-text strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.rh-mobility .rh-mob-brand-text small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.rh-mobility .rh-mob-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
body.rh-mobility .rh-mob-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}
body.rh-mobility .rh-mob-nav a .ti { font-size: 1.15rem; }
body.rh-mobility .rh-mob-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
body.rh-mobility .rh-mob-nav a.is-active {
  background: #fff;
  color: #000;
}
body.rh-mobility .rh-mob-rail-foot {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}
body.rh-mobility .rh-mob-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.35rem;
}
body.rh-mobility .rh-mob-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}
body.rh-mobility .rh-mob-user strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
}
body.rh-mobility .rh-mob-user small {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  font-family: var(--mono);
}
body.rh-mobility .rh-mob-logout {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0 0.35rem;
}
body.rh-mobility .rh-mob-logout:hover { color: #fff; }
body.rh-mobility .rh-mob-online {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 0.9rem;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}
body.rh-mobility .rh-mob-online.is-off {
  background: var(--mob-ok);
  color: #fff;
}
body.rh-mobility .rh-mob-online.is-on {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
body.rh-mobility .rh-mob-online .rh-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* —— Stage —— */
body.rh-mobility .rh-mob-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.rh-mobility .rh-mob-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 0.75rem var(--mob-pad-x);
  box-sizing: border-box;
  background: rgba(236, 236, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.rh-mobility .rh-mob-page {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.rh-mobility .rh-mob-top-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
body.rh-mobility .rh-mob-live {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #ddd;
  color: #555;
}
body.rh-mobility .rh-mob-live.is-on {
  background: #eaf7f0;
  color: #05603a;
}
body.rh-mobility .rh-mob-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  flex: 0 0 auto;
}
body.rh-mobility .rh-mob-main {
  flex: 1;
  padding: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
  scrollbar-gutter: stable;
}
body.rh-mobility .rh-mob-main > .rh-alert {
  margin: 1rem 1.25rem 0;
}

/* Hide old footer / topbar if any remnant */
body.rh-mobility .rh-topbar,
body.rh-mobility .rh-app-foot,
body.rh-mobility .rh-app-tabbar { display: none !important; }

/* —— Bottom dock (mobile) —— */
body.rh-mobility .rh-mob-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--mob-line);
  padding: 0.35rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
}
body.rh-mobility .rh-mob-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.45rem 0.25rem;
  text-decoration: none;
  color: var(--mob-mute);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 10px;
}
body.rh-mobility .rh-mob-dock a .ti { font-size: 1.2rem; }
body.rh-mobility .rh-mob-dock a.is-active {
  color: #000;
  background: #f3f3f3;
}

/* —— Map + sheet pages —— */
body.rh-mobility .rh-map-app {
  display: grid;
  grid-template-rows: minmax(180px, 32vh) auto;
  min-height: calc(100vh - 58px);
}
body.rh-mobility .rh-map-canvas {
  position: relative;
  background: #d8ddd8;
  overflow: hidden;
}
body.rh-mobility .rh-map-canvas iframe,
body.rh-mobility .rh-map-canvas .rh-live-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
}
body.rh-mobility .rh-live-map {
  background: #d8ddd8;
}
body.rh-mobility .rh-veh-marker,
body.rh-mobility .rh-pin-marker {
  background: transparent !important;
  border: 0 !important;
}
body.rh-mobility .rh-veh-bubble,
body.rh-mobility .rh-pin-bubble {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: #111;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  border: 2px solid #fff;
}
body.rh-mobility .rh-veh-bike .rh-veh-bubble { background: #05944f; }
body.rh-mobility .rh-veh-car .rh-veh-bubble,
body.rh-mobility .rh-veh-truck .rh-veh-bubble { background: #0a0a0a; }
body.rh-mobility .rh-pin-bubble {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  background: #276ef1;
}
body.rh-mobility .rh-trip-veh {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
body.rh-mobility .rh-map-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(236, 236, 236, 0.95));
  pointer-events: none;
}
body.rh-mobility .rh-map-sheet {
  position: relative;
  margin-top: -28px;
  background: var(--mob-sheet);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  padding: 0.65rem 1.25rem 2rem;
  z-index: 2;
  max-width: 720px;
  width: min(720px, 100%);
  justify-self: center;
}
body.rh-mobility .rh-sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #d4d4d4;
  margin: 0.15rem auto 1rem;
}
body.rh-mobility .rh-sheet-greet {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mob-mute);
  line-height: 1.35;
  display: block;
}
body.rh-mobility .rh-sheet-title {
  margin: 0 0 0.15rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

body.rh-mobility .rh-search-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #f2f2f2;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}
body.rh-mobility .rh-search-pill:hover { background: #ebebeb; }
body.rh-mobility .rh-search-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  flex: 0 0 auto;
}
body.rh-mobility .rh-search-copy {
  flex: 1;
  min-width: 0;
}
body.rh-mobility .rh-search-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-search-copy small {
  display: block;
  color: var(--mob-mute);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}
body.rh-mobility .rh-search-go {
  background: #000;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

body.rh-mobility .rh-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
body.rh-mobility .rh-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.9rem 0.8rem;
  border-radius: 14px;
  background: #f6f6f6;
  text-decoration: none;
  color: inherit;
  min-height: 88px;
}
body.rh-mobility .rh-quick-tile:hover { background: #efefef; }
body.rh-mobility .rh-quick-tile .ti {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
body.rh-mobility .rh-quick-tile strong {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.rh-mobility .rh-sheet-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
body.rh-mobility .rh-sheet-block-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-sheet-block-head a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mob-ink);
  text-decoration: none;
}
body.rh-mobility .rh-sheet-empty {
  margin: 0;
  color: var(--mob-mute);
  font-size: 0.88rem;
}
body.rh-mobility .rh-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body.rh-mobility .rh-activity-list li {
  min-width: 0;
}
body.rh-mobility .rh-activity-list li + li { border-top: 1px solid var(--mob-line); }
body.rh-mobility .rh-activity-list a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
body.rh-mobility .rh-activity-list a > div {
  flex: 1 1 auto;
  min-width: 0;
}
body.rh-mobility .rh-activity-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}
body.rh-mobility .rh-activity-list span {
  display: block;
  color: var(--mob-mute);
  font-size: 0.78rem;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
body.rh-mobility .rh-activity-list em {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Trip sheet */
body.rh-mobility .rh-trip-float {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
  z-index: 3;
}
body.rh-mobility .rh-trip-code {
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.88);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}
body.rh-mobility .rh-map-back {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 5;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  pointer-events: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
body.rh-mobility .rh-trip-app .rh-trip-float {
  left: auto;
  right: 0.85rem;
  top: 0.85rem;
  max-width: calc(100% - 8.5rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}
body.rh-mobility .rh-trip-sheet-back {
  display: inline-flex;
  margin: 0.15rem 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 750;
}
body.rh-mobility .rh-job-app .rh-trip-float { left: auto; }
body.rh-mobility .rh-trip-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
body.rh-mobility .rh-trip-partner {
  margin: 0.25rem 0 0;
  color: var(--mob-mute);
  font-size: 0.9rem;
  font-weight: 600;
}
body.rh-mobility .rh-trip-eta-block {
  text-align: right;
  flex: 0 0 auto;
}
body.rh-mobility .rh-trip-eta-block strong {
  display: block;
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
body.rh-mobility .rh-trip-eta-block span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mob-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.rh-mobility .rh-trip-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
body.rh-mobility .rh-trip-metrics > div {
  background: #f4f4f4;
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
}
body.rh-mobility .rh-trip-metrics span {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mob-mute);
}
body.rh-mobility .rh-trip-metrics strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
}
body.rh-mobility .rh-otp-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
body.rh-mobility .rh-otp-banner > div {
  background: #0a0a0a;
  color: #fff;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}
body.rh-mobility .rh-otp-banner span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
body.rh-mobility .rh-otp-banner strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.55rem;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}
body.rh-mobility .rh-trip-details {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--mob-line);
  border-bottom: 1px solid var(--mob-line);
}
body.rh-mobility .rh-trip-details span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mob-mute);
}
body.rh-mobility .rh-trip-details strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
}
body.rh-mobility .rh-trip-details .rh-fare {
  font-family: var(--mono);
  font-size: 1.15rem;
}
body.rh-mobility .rh-trip-actions {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
body.rh-mobility .rh-receipt-compact {
  border-radius: 16px;
  border: 1px solid var(--mob-line);
  padding: 1rem;
  background: #fafafa;
}
body.rh-mobility .rh-job-pin-line {
  margin: 0 0 1rem;
  color: var(--mob-mute);
  font-size: 0.85rem;
  font-weight: 600;
}
body.rh-mobility .rh-job-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mob-line);
}
body.rh-mobility .rh-job-contact span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--mob-mute);
  letter-spacing: 0.05em;
}
body.rh-mobility .rh-job-contact strong {
  display: block;
  margin-top: 0.15rem;
  font-weight: 700;
}
body.rh-mobility .rh-job-stepper-compact {
  margin: 0 0 1rem !important;
  overflow-x: auto;
}

/* Captain desk */
body.rh-mobility .rh-captain-desk {
  padding: var(--mob-pad-y) var(--mob-pad-x) 2.5rem;
  max-width: var(--mob-content-max);
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
body.rh-mobility .rh-captain-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.35rem;
  border-radius: 22px;
  background: #0a0a0a;
  color: #fff;
  margin-bottom: 1rem;
}
body.rh-mobility .rh-captain-hero.is-online {
  background: linear-gradient(145deg, #0a0a0a 55%, #0f2a1a 130%);
}
body.rh-mobility .rh-captain-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}
body.rh-mobility .rh-captain-hero h1 {
  margin: 0.3rem 0 0.35rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}
body.rh-mobility .rh-captain-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  max-width: 28rem;
}
body.rh-mobility .rh-captain-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}
body.rh-mobility .rh-captain-toggle.is-off {
  background: var(--mob-ok);
  color: #fff;
}
body.rh-mobility .rh-captain-toggle.is-on {
  background: #fff;
  color: #000;
}
body.rh-mobility .rh-captain-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
  width: 100%;
  box-sizing: border-box;
}
body.rh-mobility .rh-metric {
  background: #fff;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  min-width: 0;
  box-sizing: border-box;
}
body.rh-mobility .rh-metric span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mob-mute);
}
body.rh-mobility .rh-metric strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 600;
}
body.rh-mobility .rh-captain-block {
  background: #fff;
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}
body.rh-mobility .rh-captain-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
body.rh-mobility .rh-captain-block-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.rh-mobility .rh-captain-block-head p {
  margin: 0;
  color: var(--mob-mute);
  font-size: 0.82rem;
  font-weight: 600;
}
body.rh-mobility .rh-trip-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--mob-line);
  text-decoration: none;
  color: inherit;
  align-items: center;
}
body.rh-mobility .rh-trip-row:last-child { border-bottom: 0; }
body.rh-mobility .rh-trip-row strong {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-trip-row span {
  display: block;
  color: var(--mob-mute);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
body.rh-mobility .rh-trip-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
body.rh-mobility .rh-trip-row-meta em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.82rem;
}
body.rh-mobility .rh-empty-pulse {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--mob-mute);
}
body.rh-mobility .rh-pulse-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  border: 3px solid #ddd;
  border-top-color: #000;
  animation: rh-spin 1s linear infinite;
}
@keyframes rh-spin { to { transform: rotate(360deg); } }
body.rh-mobility .rh-empty-pulse p {
  margin: 0;
  font-weight: 800;
  color: var(--mob-ink);
}
body.rh-mobility .rh-empty-pulse small { font-size: 0.8rem; }

/* Buttons inside mobility */
body.rh-mobility .rh-btn {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
body.rh-mobility .rh-btn-ink {
  background: #000;
  border-color: #000;
  color: #fff;
}
body.rh-mobility .rh-btn-ink:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}
body.rh-mobility .rh-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.85rem;
  color: #999;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.rh-mobility .rh-auth-divider::before,
body.rh-mobility .rh-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
body.rh-mobility .rh-btn-google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
}
body.rh-mobility .rh-btn-google:hover {
  background: #f8f9fa;
  border-color: #c6c6c6;
}
body.rh-mobility .rh-btn-google::before {
  content: "G";
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 40%, #fbbc05 70%, #ea4335 100%);
  color: #fff;
}
body.rh-mobility .rh-btn-ghost-dark {
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #fff;
}
body.rh-mobility .rh-btn-lg { min-height: 52px; }
body.rh-mobility .rh-input {
  border-radius: 12px;
  border-color: transparent;
  background: #f2f2f2;
}
body.rh-mobility .rh-input:focus {
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}
body.rh-mobility .rh-alert {
  border: 0;
  border-radius: 14px;
}
body.rh-mobility .rh-alert-ok { background: #eaf7f0; color: #05603a; }
body.rh-mobility .rh-alert-err { background: #fdecea; color: #a8071a; }
body.rh-mobility .rh-text-link {
  color: #000;
  font-weight: 800;
  text-decoration: none;
}
body.rh-mobility .rh-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 36px;
}
body.rh-mobility .rh-online-pill.is-on {
  border-color: #05944f;
  background: #eaf7f0;
  color: #05603a;
}
body.rh-mobility .rh-online-pill.is-off {
  border-color: #05944f;
  background: #05944f;
  color: #fff;
}
body.rh-mobility .rh-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}
body.rh-mobility .rh-online-pill.is-on .rh-online-dot {
  background: #05944f;
}
body.rh-mobility .rh-online-pill.is-off .rh-online-dot {
  background: #fff;
}

body.rh-mobility .rh-offer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.75rem 0 0.85rem;
}
body.rh-mobility .rh-offer-split > div {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}
body.rh-mobility .rh-offer-split span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.2rem;
}
body.rh-mobility .rh-offer-split strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-offer-split-lg > div {
  padding: 0.9rem 1rem;
}
body.rh-mobility .rh-offer-split-lg .is-you {
  background: #eaf7f0;
}
body.rh-mobility .rh-offer-split-lg .is-co {
  background: #fff7e8;
}
body.rh-mobility .rh-live-hint {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b6b6b;
}
body.rh-mobility .rh-offer-modal[hidden] { display: none !important; }
body.rh-mobility .rh-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: end center;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
body.rh-mobility .rh-offer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
body.rh-mobility .rh-offer-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  animation: rh-offer-up .28s ease;
}
@keyframes rh-offer-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
body.rh-mobility .rh-offer-modal-head {
  padding: 1.1rem 1.2rem 0.5rem;
  position: relative;
}
body.rh-mobility .rh-offer-modal-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #05944f;
}
body.rh-mobility .rh-offer-modal-head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.rh-mobility .rh-offer-modal-x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
body.rh-mobility .rh-offer-modal-body {
  padding: 0.5rem 1.2rem 1rem;
}
body.rh-mobility .rh-offer-modal-meta {
  margin: 0;
  color: #666;
  font-size: 0.88rem;
  font-weight: 600;
}
body.rh-mobility .rh-offer-modal-addr {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}
body.rh-mobility .rh-offer-modal-amt {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
body.rh-mobility .rh-offer-modal-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #777;
}
body.rh-mobility .rh-offer-modal-timer {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #a8071a;
}
body.rh-mobility .rh-offer-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.55rem;
  padding: 0 1.2rem 1.2rem;
}
body.rh-mobility .rh-offer-modal-actions form { margin: 0; }
body.rh-mobility .rh-offer-modal-actions .rh-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
}

/* Non-map pages padding — keep below offer UI */
body.rh-mobility .rh-mob-main > .rh-book-flow,
body.rh-mobility .rh-mob-main > .rh-book-flow-head,
body.rh-mobility .rh-mob-main > .rh-account-menu,
body.rh-mobility .rh-mob-main > .rh-stat-row,
body.rh-mobility .rh-mob-main > .rh-panel,
body.rh-mobility .rh-mob-main > .rh-desk-home,
body.rh-mobility .rh-mob-main > .rh-ride-home {
  max-width: var(--mob-content-max);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
body.rh-mobility .rh-mob-main > .rh-book-flow,
body.rh-mobility .rh-mob-main > .rh-book-layout,
body.rh-mobility .rh-mob-main > .rh-book-flow-head,
body.rh-mobility .rh-mob-main > form {
  padding-left: var(--mob-pad-x);
  padding-right: var(--mob-pad-x);
}
body.rh-mobility .rh-mob-main > .rh-book-flow-head { padding-top: 1rem; }
body.rh-mobility .rh-mob-main > .rh-stat-row {
  padding: 0 var(--mob-pad-x);
  margin-top: 0.5rem;
}
body.rh-mobility .rh-mob-main > .rh-account-menu { margin: 1rem var(--mob-pad-x); }
body.rh-mobility .rh-mob-main > .rh-panel {
  margin: 1rem 0;
  width: 100%;
  max-width: var(--mob-content-max);
  box-sizing: border-box;
  padding-left: var(--mob-pad-x);
  padding-right: var(--mob-pad-x);
}

/* Offer cards polish */
body.rh-mobility .rh-offer-card-pro {
  border: 0 !important;
  border-radius: 16px !important;
  background: #f4f4f4 !important;
  margin-top: 0.85rem;
  overflow: hidden;
}
body.rh-mobility .rh-job-actions {
  display: grid !important;
  grid-template-columns: 1fr 1.5fr;
  gap: 0.55rem !important;
}
body.rh-mobility .rh-job-actions .rh-btn {
  width: 100%;
  min-height: 48px;
}
body.rh-mobility .rh-job-amt {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.1rem;
}

body.rh-mobility .rh-account-stage {
  padding: var(--mob-pad-y) var(--mob-pad-x) 2.5rem;
  max-width: var(--mob-content-max);
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
body.rh-mobility .rh-account-hero {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.15rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
body.rh-mobility .rh-account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex: 0 0 auto;
}
body.rh-mobility .rh-account-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}
body.rh-mobility .rh-account-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}
body.rh-mobility .rh-account-hero h1,
body.rh-mobility .rh-account-name-row h1 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
body.rh-mobility .rh-account-hero p,
body.rh-mobility .rh-account-hero-copy > p {
  margin: 0.35rem 0 0;
  color: var(--mob-mute);
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.rh-mobility .rh-account-hero .rh-btn { margin-left: auto; }
body.rh-mobility .rh-account-stage .rh-account-menu {
  margin-top: 1rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  background: #fff;
  display: flex;
  flex-direction: column;
  border: 0;
}
body.rh-mobility .rh-account-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  text-decoration: none !important;
  color: inherit;
  border-bottom: 1px solid var(--mob-line);
}
body.rh-mobility .rh-account-row:last-child { border-bottom: 0; }
body.rh-mobility .rh-account-row:hover { background: #fafafa; }
body.rh-mobility .rh-account-row .ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #f0f0f0;
  color: var(--mob-ink);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
body.rh-mobility .rh-account-row .meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
body.rh-mobility .rh-account-row .meta strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-account-row .meta span {
  font-size: 0.8rem;
  color: var(--mob-mute);
}
body.rh-mobility .rh-account-row .go {
  color: var(--mob-mute);
  font-weight: 700;
  flex-shrink: 0;
}
body.rh-mobility .rh-account-stage .rh-panel {
  margin-left: 0;
  margin-right: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  background: #fff;
}
body.rh-mobility .rh-account-stage .rh-book-flow-head h1 {
  margin: 0.35rem 0 0.25rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
body.rh-mobility .rh-account-stage .rh-book-flow-head p {
  margin: 0;
  color: var(--mob-mute);
  font-size: 0.9rem;
}

/* Vendor body: same content column as customer (no old tabbar padding) */
body.rh-mobility.rh-vendor-body,
body.rh-mobility.rh-vendor {
  padding-bottom: 0 !important;
}
body.rh-mobility .rh-mob-main > .rh-alert {
  max-width: var(--mob-content-max);
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  box-sizing: border-box;
  padding-left: var(--mob-pad-x);
  padding-right: var(--mob-pad-x);
}

body.rh-mobility .rh-route-card {
  background: #f4f4f4;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  margin-bottom: 1rem;
}
body.rh-mobility .rh-route-ends {
  display: grid;
  gap: 0.75rem;
}
body.rh-mobility .rh-route-end {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.7rem;
  align-items: start;
}
body.rh-mobility .rh-route-dot {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
body.rh-mobility .rh-route-dot.is-dest {
  background: #276ef1;
  box-shadow: 0 0 0 3px rgba(39, 110, 241, 0.18);
  border-radius: 3px;
}
body.rh-mobility .rh-route-end small {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mob-mute);
}
body.rh-mobility .rh-route-end strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
body.rh-mobility .rh-route-end em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mob-mute);
}
body.rh-mobility .rh-route-track { margin-top: 0.85rem; }
body.rh-mobility .rh-route-bar {
  height: 6px;
  border-radius: 999px;
  background: #ddd;
  overflow: hidden;
}
body.rh-mobility .rh-route-bar span {
  display: block;
  height: 100%;
  background: #000;
  border-radius: 999px;
  transition: width 0.4s ease;
}
body.rh-mobility .rh-route-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mob-mute);
  font-family: var(--mono);
}
body.rh-mobility .rh-pay-later {
  background: #0a0a0a;
  color: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  text-align: center;
}
body.rh-mobility .rh-pay-later strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
}
body.rh-mobility .rh-pay-later span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

body.rh-mobility .rh-bill-box {
  background: #f4f4f4;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.45rem;
}
body.rh-mobility .rh-bill-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 650;
}
body.rh-mobility .rh-bill-row.is-extra { color: #276ef1; }
body.rh-mobility .rh-bill-row.is-total {
  padding-top: 0.45rem;
  border-top: 1px solid #ddd;
  font-weight: 800;
  font-size: 0.95rem;
}
body.rh-mobility .rh-pay-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--mob-mute);
  font-weight: 600;
}
body.rh-mobility .rh-extra-form {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.45rem;
}
body.rh-mobility .rh-extra-form h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}
body.rh-mobility .rh-extra-form > p {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--mob-mute);
}
body.rh-mobility .rh-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* —— Scrollable home feed (mobile-first, phone frame safe) —— */
body.rh-mobility .rh-home-feed {
  padding: var(--mob-pad-y) var(--mob-pad-x) 2rem;
  max-width: var(--mob-content-max);
  width: 100%;
  margin: 0;
  display: grid;
  gap: 1.15rem;
  box-sizing: border-box;
  overflow-x: hidden;
  min-width: 0;
}
body.rh-mobility .rh-home-hero {
  padding: 0.15rem 0.1rem 0;
}
body.rh-mobility .rh-home-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mob-mute);
}
body.rh-mobility .rh-home-hero h1 {
  margin: 0.35rem 0 0.4rem;
  font-size: clamp(1.55rem, 5.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
body.rh-mobility .rh-home-sub {
  margin: 0;
  color: var(--mob-mute);
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 28rem;
}
body.rh-mobility .rh-home-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  min-height: 64px;
}
body.rh-mobility .rh-home-search-ico {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f2f2f2;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 1.15rem;
}
body.rh-mobility .rh-home-search-copy {
  flex: 1;
  min-width: 0;
}
body.rh-mobility .rh-home-search-copy strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-home-search-copy small {
  display: block;
  margin-top: 0.15rem;
  color: var(--mob-mute);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.rh-mobility .rh-home-search-cta {
  flex: 0 0 auto;
  background: #000;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
body.rh-mobility .rh-home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
body.rh-mobility .rh-home-section-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  min-width: 0;
  flex: 1 1 auto;
}
body.rh-mobility .rh-home-section-head a,
body.rh-mobility .rh-home-section-head span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mob-mute);
  text-decoration: none;
  flex: 0 0 auto;
  white-space: nowrap;
}
body.rh-mobility .rh-home-section-head a { color: var(--mob-ink); }
body.rh-mobility .rh-home-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
body.rh-mobility .rh-home-service {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0.9rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  min-height: 96px;
}
body.rh-mobility .rh-home-service .ti,
body.rh-mobility .rh-home-service-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f3f3f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: #111;
}
body.rh-mobility .rh-home-service-ico .rh-svg-ico {
  width: 1rem;
  height: 1rem;
  color: #111;
  stroke: #111;
}
body.rh-mobility .rh-home-service strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-home-service span {
  font-size: 0.75rem;
  color: var(--mob-mute);
  font-weight: 600;
}
body.rh-mobility .rh-home-map {
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #d8ddd8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
body.rh-mobility .rh-home-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.rh-mobility .rh-home-leaflet,
body.rh-mobility .rh-leaflet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
body.rh-mobility .rh-live-map {
  position: relative;
  min-height: 220px;
}
body.rh-mobility .rh-live-map .rh-leaflet-canvas {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
}
body.rh-mobility .rh-home-map-open {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 5;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
}
body.rh-mobility .rh-home-section-card {
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.05rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}
body.rh-mobility .rh-home-section {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body.rh-mobility .rh-home-empty {
  margin: 0;
  color: var(--mob-mute);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Account hero: no cramped CTA row on narrow */
body.rh-mobility .rh-account-hero {
  align-items: center;
}
body.rh-mobility .rh-account-hero > div { flex: 1; min-width: 0; }

@media (max-width: 960px) {
  body.rh-mobility {
    --mob-pad-x: 1rem;
    --mob-dock-h: calc(64px + env(safe-area-inset-bottom, 0px));
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior-y: contain;
  }
  body.rh-mobility .rh-mob {
    grid-template-columns: 1fr;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  body.rh-mobility .rh-mob-rail { display: none; }
  body.rh-mobility .rh-mob-dock {
    display: grid;
    height: auto;
    min-height: 56px;
    padding: 0.3rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
  }
  body.rh-mobility .rh-mob-dock a {
    min-height: 48px;
    justify-content: center;
    gap: 0.2rem;
    border-radius: 12px;
    font-size: 0.66rem;
  }
  body.rh-mobility .rh-mob-dock a .ti { font-size: 1.28rem; }
  body.rh-mobility .rh-mob-stage {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: var(--mob-dock-h);
  }
  body.rh-mobility .rh-mob-top {
    padding: 0.65rem var(--mob-pad-x);
    padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
    background: rgba(236, 236, 236, 0.96);
  }
  body.rh-mobility .rh-mob-page { font-size: 0.95rem; }
  body.rh-mobility .rh-mob-top-online { display: none; }
  body.rh-mobility.rh-vendor .rh-mob-top-online {
    display: inline-flex !important;
  }
  body.rh-mobility .rh-mob-cta {
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
  body.rh-mobility .rh-mob-main > .rh-alert {
    margin: 0.75rem var(--mob-pad-x) 0;
    width: auto;
    max-width: none;
  }

  /* Map + sheet — compact map, more sheet */
  body.rh-mobility .rh-map-app {
    grid-template-rows: minmax(160px, 30dvh) auto;
    min-height: calc(100dvh - var(--mob-dock-h) - 52px);
  }
  body.rh-mobility .rh-map-sheet {
    margin-top: -36px;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    border-radius: 22px 22px 0 0;
    padding: 0.55rem var(--mob-pad-x) calc(1.25rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.14);
  }
  body.rh-mobility .rh-sheet-title {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    margin-bottom: 0.85rem;
  }
  body.rh-mobility .rh-search-pill {
    padding: 0.85rem 0.9rem;
    min-height: 56px;
  }
  body.rh-mobility .rh-search-go {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  body.rh-mobility .rh-quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  body.rh-mobility .rh-quick-tile {
    min-height: 76px;
    padding: 0.8rem 0.75rem;
  }
  body.rh-mobility .rh-activity-list span { max-width: 100%; }
  body.rh-mobility .rh-trip-float {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
    width: auto;
  }
  body.rh-mobility .rh-otp-banner { grid-template-columns: 1fr; }

  /* Content pages */
  body.rh-mobility .rh-account-stage,
  body.rh-mobility .rh-captain-desk {
    padding: 0.85rem var(--mob-pad-x) 1.5rem;
    max-width: none;
  }
  body.rh-mobility .rh-account-hero {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    gap: 0.75rem;
    flex-direction: row;
    align-items: center;
  }
  body.rh-mobility .rh-home-feed {
    padding: 0.85rem var(--mob-pad-x) 1.75rem;
    max-width: none;
  }
  body.rh-mobility .rh-home-map { height: 200px; }
  body.rh-mobility .rh-captain-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1.1rem;
    border-radius: 18px;
  }
  body.rh-mobility .rh-captain-toggle {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }
  body.rh-mobility .rh-captain-metrics {
    gap: 0.5rem;
  }
  body.rh-mobility .rh-metric {
    padding: 0.75rem 0.7rem;
    border-radius: 14px;
  }
  body.rh-mobility .rh-metric strong { font-size: 1.05rem; }
  body.rh-mobility .rh-captain-block {
    padding: 1rem;
    border-radius: 16px;
  }
  body.rh-mobility .rh-job-actions {
    grid-template-columns: 1fr !important;
  }
  body.rh-mobility .rh-job-actions .rh-btn {
    min-height: 52px;
  }
  body.rh-mobility .rh-btn,
  body.rh-mobility .rh-btn-lg {
    min-height: 48px;
  }
  body.rh-mobility .rh-btn-block { width: 100%; }
  body.rh-mobility .rh-input,
  body.rh-mobility .rh-select {
    min-height: 48px;
    font-size: 16px; /* iOS zoom prevent */
  }
  body.rh-mobility .rh-mob-main > .rh-book-flow,
  body.rh-mobility .rh-mob-main > .rh-book-layout,
  body.rh-mobility .rh-mob-main > .rh-book-flow-head,
  body.rh-mobility .rh-mob-main > form {
    padding-left: var(--mob-pad-x);
    padding-right: var(--mob-pad-x);
  }
  body.rh-mobility .rh-mob-main > .rh-panel {
    width: calc(100% - (var(--mob-pad-x) * 2));
  }
  body.rh-mobility .rh-loc-pair {
    grid-template-columns: 1fr !important;
  }
  body.rh-mobility .rh-offer-card .rh-job-actions {
    margin-top: 0.75rem;
  }
}

/* Compact phones */
@media (max-width: 400px) {
  body.rh-mobility {
    --mob-pad-x: 0.85rem;
  }
  body.rh-mobility .rh-captain-metrics {
    grid-template-columns: 1fr;
  }
  body.rh-mobility .rh-account-stage .rh-captain-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  body.rh-mobility .rh-map-app {
    grid-template-rows: minmax(200px, 34dvh) auto;
  }
  body.rh-mobility .rh-sheet-title {
    font-size: 1.3rem;
  }
}

/* Native / APK WebView (?mode=app) — phone preview on desktop, real device full-bleed */
html:has(body.rh-native-app),
body.rh-native-app {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
}
body.rh-mobility.rh-native-app {
  background: #111 !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
body.rh-mobility.rh-native-app .rh-mob.rh-app-device {
  width: min(430px, 100%) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  background: var(--mob-bg) !important;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  flex: 0 1 auto;
  align-self: center;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow-x: hidden;
  overflow-y: hidden;
  box-sizing: border-box;
}
body.rh-mobility.rh-native-app .rh-mob-rail { display: none !important; }
body.rh-mobility.rh-native-app .rh-mob-stage {
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0 !important;
}
body.rh-mobility.rh-native-app .rh-mob-main {
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}
body.rh-mobility.rh-native-app .rh-home-feed,
body.rh-mobility.rh-native-app .rh-mem,
body.rh-mobility.rh-native-app .rh-account-stage,
body.rh-mobility.rh-native-app .rh-book-flow,
body.rh-mobility.rh-native-app .rh-book-flow-head {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body.rh-mobility.rh-native-app .rh-home-services {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.rh-mobility.rh-native-app .rh-home-service {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
/* Dock pinned to phone frame (not browser viewport) */
body.rh-mobility.rh-native-app .rh-mob-dock {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 80 !important;
  min-height: 56px;
  padding: 0.3rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
  background: #fff;
}
/* Live map / job: scroll inside phone, never clip sheet */
body.rh-mobility.rh-native-app .rh-mob-main:has(.rh-map-app) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.rh-mobility.rh-native-app .rh-map-app {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
body.rh-mobility.rh-native-app .rh-map-canvas {
  flex: 0 0 auto;
  height: 170px;
  min-height: 150px;
  max-height: 190px;
  width: 100%;
}
body.rh-mobility.rh-native-app .rh-map-sheet {
  flex: 0 0 auto;
  width: 100% !important;
  max-width: none !important;
  margin: -28px 0 0 !important;
  border-radius: 22px 22px 0 0;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0.65rem 1.1rem 1.5rem !important;
  box-sizing: border-box;
}
body.rh-mobility.rh-native-app .rh-sheet-greet {
  display: block;
  margin: 0 0 0.45rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
body.rh-mobility.rh-native-app .rh-trip-hero {
  position: relative;
  z-index: 0;
  margin-top: 0;
}
body.rh-mobility.rh-native-app .rh-sheet-title {
  margin: 0 0 0.25rem;
}
body.rh-mobility.rh-native-app .rh-home-feed {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
  overflow-x: hidden;
}
body.rh-mobility.rh-native-app .rh-home-map {
  height: 140px;
  max-width: 100%;
}
body.rh-mobility.rh-native-app .rh-home-offers-scroll {
  margin-right: 0 !important;
  padding-right: 0 !important;
  max-width: 100%;
}
body.rh-mobility.rh-native-app .rh-home-offer-tile {
  flex: 0 0 220px !important;
  max-width: 78%;
}
body.rh-mobility.rh-native-app .rh-activity-list,
body.rh-mobility.rh-native-app .rh-activity-list a,
body.rh-mobility.rh-native-app .rh-home-section-head,
body.rh-mobility.rh-native-app .rh-home-section-card {
  max-width: 100% !important;
  min-width: 0 !important;
}
body.rh-mobility.rh-native-app .rh-activity-tabs {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
body.rh-mobility.rh-native-app .rh-trip-cards,
body.rh-mobility.rh-native-app .rh-account-stage,
body.rh-mobility.rh-native-app .rh-mem,
body.rh-mobility.rh-native-app .rh-captain-desk {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow-x: hidden;
}

/* Desktop browser: show centered phone chrome for APK preview */
@media (min-width: 860px) {
  body.rh-mobility.rh-native-app {
    padding: 1.25rem 0 !important;
    min-height: 100vh;
    align-items: center;
  }
  body.rh-mobility.rh-native-app .rh-mob.rh-app-device {
    width: 430px !important;
    min-height: calc(100vh - 2.5rem);
    max-height: calc(100vh - 2.5rem);
    border-radius: 28px;
    overflow: hidden;
  }
}

/* Real phone / narrow viewport: edge-to-edge (actual APK WebView) */
@media (max-width: 859px) {
  body.rh-mobility.rh-native-app {
    background: var(--mob-bg) !important;
    padding: 0 !important;
    overflow-x: hidden;
    align-items: stretch;
  }
  body.rh-mobility.rh-native-app .rh-mob.rh-app-device {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    box-shadow: none;
    max-height: none;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 !important;
    align-self: stretch;
  }
  body.rh-mobility.rh-native-app .rh-mob-dock {
    position: fixed !important;
  }
}

/* Desktop split ONLY on real wide web — never inside phone chrome */
@media (min-width: 1100px) {
  body.rh-mobility:not(.rh-native-app) .rh-map-app {
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-rows: minmax(calc(100vh - 58px), auto);
  }
  body.rh-mobility:not(.rh-native-app) .rh-map-canvas { min-height: calc(100vh - 58px); }
  body.rh-mobility:not(.rh-native-app) .rh-trip-app .rh-map-canvas {
    min-height: 0;
  }
  body.rh-mobility:not(.rh-native-app) .rh-map-sheet {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    width: 100%;
    height: calc(100vh - 58px);
    overflow: auto;
    padding: 1.35rem 1.5rem 2rem;
    justify-self: stretch;
  }
  body.rh-mobility:not(.rh-native-app) .rh-map-fade { display: none; }
  body.rh-mobility:not(.rh-native-app) .rh-sheet-handle { display: none; }
  body.rh-mobility:not(.rh-native-app) .rh-trip-sheet-back {
    display: inline-flex;
    margin-bottom: 1rem;
  }
}

/* Desktop web (sidebar): one stable content column — no page-to-page jump */
@media (min-width: 960px) {
  body.rh-mobility:not(.rh-native-app) {
    --mob-pad-x: 2rem;
    --mob-pad-y: 1.35rem;
    --mob-content-max: 960px;
  }
  body.rh-mobility:not(.rh-native-app) .rh-mob-top {
    padding-left: var(--mob-pad-x);
    padding-right: var(--mob-pad-x);
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-feed,
  body.rh-mobility:not(.rh-native-app) .rh-account-stage,
  body.rh-mobility:not(.rh-native-app) .rh-mem,
  body.rh-mobility:not(.rh-native-app) .rh-captain-desk,
  body.rh-mobility:not(.rh-native-app) .rh-mob-main > .rh-book-flow,
  body.rh-mobility:not(.rh-native-app) .rh-mob-main > .rh-book-layout,
  body.rh-mobility:not(.rh-native-app) .rh-mob-main > .rh-book-flow-head,
  body.rh-mobility:not(.rh-native-app) .rh-mob-main > .rh-panel,
  body.rh-mobility:not(.rh-native-app) .rh-mob-main > .rh-alert,
  body.rh-mobility:not(.rh-native-app) .rh-mob-main > .rh-stat-row,
  body.rh-mobility:not(.rh-native-app) .rh-mob-main > .rh-account-menu {
    max-width: var(--mob-content-max) !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-feed,
  body.rh-mobility:not(.rh-native-app) .rh-account-stage,
  body.rh-mobility:not(.rh-native-app) .rh-mem,
  body.rh-mobility:not(.rh-native-app) .rh-captain-desk {
    padding-left: var(--mob-pad-x);
    padding-right: var(--mob-pad-x);
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-plans-list,
  body.rh-mobility:not(.rh-native-app) .rh-home-mem-active,
  body.rh-mobility:not(.rh-native-app) .rh-home-search {
    max-width: none;
    width: 100%;
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-plans-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-plan-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    min-height: 0;
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-plan-row-side {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0;
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-offers-scroll {
    gap: 0.85rem;
    margin-right: calc(-1 * var(--mob-pad-x));
    padding-right: var(--mob-pad-x);
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-offer-tile {
    flex: 0 0 260px;
  }
  body.rh-mobility:not(.rh-native-app) .rh-mem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.rh-mobility:not(.rh-native-app) .rh-trip-cards {
    max-width: none;
  }
}
body.rh-mobility .rh-home-upgrade-label {
  margin: 0.85rem 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mob-mute);
}


/* —— Auth screens (mobile / APK) —— */
body.rh-mobility-auth {
  -webkit-tap-highlight-color: transparent;
  background: #fff;
}
@media (max-width: 900px) {
  body.rh-mobility-auth .rh-auth-page {
    min-height: 100vh;
    min-height: 100dvh;
  }
  body.rh-mobility-auth .rh-auth-art {
    padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.25rem 1.35rem !important;
    min-height: auto !important;
  }
  body.rh-mobility-auth .rh-auth-art h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
    line-height: 1.15;
  }
  body.rh-mobility-auth .rh-auth-panel {
    padding: 1.25rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.rh-mobility-auth .rh-auth-card,
  body.rh-mobility-auth .rh-auth-card-rich {
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }
  body.rh-mobility-auth .rh-auth-form .rh-input,
  body.rh-mobility-auth .rh-auth-form .rh-btn {
    min-height: 52px;
    font-size: 16px;
  }
  body.rh-mobility-auth .rh-auth-form .rh-btn {
    width: 100%;
    border-radius: 999px;
    font-weight: 800;
  }
  body.rh-mobility-auth.rh-native-app {
    background: #111 !important;
    overflow-x: hidden;
  }
  body.rh-mobility-auth.rh-native-app .rh-auth-page {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    min-height: 100dvh;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}
@media (max-width: 859px) {
  body.rh-mobility-auth.rh-native-app {
    background: #fff !important;
    overflow-x: hidden;
  }
  body.rh-mobility-auth.rh-native-app .rh-auth-page {
    max-width: none;
    overflow-x: hidden;
  }
}

/* —— Activity trip cards —— */
body.rh-mobility .rh-trip-cards {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  width: 100%;
}
body.rh-mobility .rh-trip-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
body.rh-mobility .rh-trip-card:hover {
  border-color: #ddd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* —— Activity status tabs (web + app) —— */
body.rh-mobility .rh-activity-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0.85rem 0 1rem;
  padding: 0.1rem 0 0.25rem;
  width: 100%;
}
body.rh-mobility .rh-activity-tabs::-webkit-scrollbar { display: none; }
body.rh-mobility .rh-activity-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 0.8rem;
  font-weight: 750;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
body.rh-mobility .rh-activity-tab em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mob-mute);
  min-width: 1rem;
  text-align: center;
}
body.rh-mobility .rh-activity-tab.is-on {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}
body.rh-mobility .rh-activity-tab.is-on em { color: rgba(255,255,255,.72); }
body.rh-mobility .rh-activity-section {
  margin: 0 0 1.35rem;
}
body.rh-mobility .rh-activity-section.is-hidden { display: none !important; }
body.rh-mobility .rh-activity-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.55rem;
}
body.rh-mobility .rh-activity-section-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-activity-section-head p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--mob-mute);
  font-weight: 600;
}
body.rh-mobility .rh-activity-count {
  flex: 0 0 auto;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #e8e8e8;
  color: #333;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.rh-mobility .rh-activity-empty {
  margin: 0;
  padding: 0.95rem 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #d8d8d8;
  color: var(--mob-mute);
  font-size: 0.85rem;
  font-weight: 600;
}
body.rh-mobility .rh-activity-section[data-section="live"] .rh-activity-count {
  background: #e8f5ee;
  color: #05603a;
}
body.rh-mobility .rh-activity-section[data-section="pending"] .rh-activity-count {
  background: #fff4df;
  color: #9a6700;
}
body.rh-mobility .rh-activity-section[data-section="completed"] .rh-activity-count {
  background: #eaf2ff;
  color: #1d4ed8;
}
body.rh-mobility .rh-activity-section[data-section="cancelled"] .rh-activity-count {
  background: #fde8e8;
  color: #b91c1c;
}

body.rh-mobility .rh-trip-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
body.rh-mobility .rh-trip-card-top strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--mono);
}
body.rh-mobility .rh-trip-card-addr {
  margin: 0.45rem 0 0.55rem;
  color: var(--mob-mute);
  font-size: 0.85rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.rh-mobility .rh-trip-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mob-mute);
}
body.rh-mobility .rh-trip-card-meta em {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--mob-ink);
  font-size: 0.9rem;
}

/* —— Unified app role gate —— */
html:has(body.rh-app-gate),
body.rh-app-gate {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
}
body.rh-app-gate {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #ececec;
  font-family: var(--font, "Plus Jakarta Sans", sans-serif);
  color: #0a0a0a;
}
body.rh-app-gate.rh-native-app {
  background: #111 !important;
  display: flex;
  justify-content: center;
  padding: 1.25rem 0;
  overflow-x: hidden;
}
body.rh-app-gate .rh-gate {
  width: min(430px, 100%);
  max-width: 100%;
  box-sizing: border-box;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(1.35rem + env(safe-area-inset-top, 0px)) 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: #ececec;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  overflow-x: hidden;
}
body.rh-app-gate.rh-native-app .rh-gate {
  min-height: calc(100vh - 2.5rem);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 859px) {
  body.rh-app-gate.rh-native-app {
    background: #ececec !important;
    padding: 0;
    overflow-x: hidden;
  }
  body.rh-app-gate.rh-native-app .rh-gate {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    min-height: 100dvh;
    overflow-x: hidden;
  }
}
body.rh-app-gate .rh-gate-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
body.rh-app-gate .rh-gate-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
}
body.rh-app-gate .rh-gate-brand strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.rh-app-gate .rh-gate-brand small {
  display: block;
  color: #6b6b6b;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}
body.rh-app-gate h1 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.45rem, 5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
body.rh-app-gate .rh-gate-sub {
  margin: 0 0 0.5rem;
  color: #6b6b6b;
  font-size: 0.9rem;
}
body.rh-app-gate .rh-gate-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  min-height: 84px;
}
body.rh-app-gate .rh-gate-ico {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f2f2f2;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex: 0 0 auto;
}
body.rh-app-gate .rh-gate-ico.is-pro {
  background: #0a0a0a;
  color: #fff;
}
body.rh-app-gate .rh-gate-copy {
  flex: 1;
  min-width: 0;
}
body.rh-app-gate .rh-gate-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-app-gate .rh-gate-copy small {
  display: block;
  margin-top: 0.2rem;
  color: #6b6b6b;
  font-size: 0.8rem;
  line-height: 1.35;
}
body.rh-app-gate .rh-gate-go {
  color: #6b6b6b;
  font-weight: 800;
  font-size: 1.1rem;
}
body.rh-app-gate .rh-gate-demo {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: #6b6b6b;
  line-height: 1.45;
}
body.rh-app-gate .rh-gate-demo code {
  background: #fff;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  font-weight: 700;
  color: #000;
}

/* Reliable scroll inside phone chrome + mobile */
body.rh-mobility .rh-mob {
  height: 100vh;
  height: 100dvh;
}
body.rh-mobility .rh-mob-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.rh-mobility .rh-mob-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* Keep phone-cage scroll model; do not override 430px width here */
body.rh-mobility.rh-native-app .rh-mob.rh-app-device {
  display: flex !important;
  flex-direction: column !important;
  overflow-x: hidden;
  box-sizing: border-box;
}
body.rh-mobility.rh-native-app .rh-mob-stage {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 0 !important;
}
body.rh-mobility.rh-native-app .rh-mob-main {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  width: 100% !important;
  max-width: 100% !important;
}
@media (max-width: 960px) {
  body.rh-mobility .rh-mob-stage {
    padding-bottom: 0;
  }
  body.rh-mobility .rh-mob-main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* —— Account stacks (always vertical) —— */
body.rh-mobility .rh-support-stack {
  display: grid;
  gap: 0.85rem;
}
body.rh-mobility .rh-support-stack > div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--mob-line);
}
body.rh-mobility .rh-support-stack > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
body.rh-mobility .rh-support-stack span {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mob-mute);
}
body.rh-mobility .rh-support-stack strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-word;
}
body.rh-mobility .rh-support-stack a {
  color: inherit;
  text-decoration: none;
}
body.rh-mobility .rh-coupon-stack {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
body.rh-mobility .rh-coupon-card {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
body.rh-mobility .rh-coupon-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mob-mute);
  margin-bottom: 0.35rem;
}
body.rh-mobility .rh-coupon-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-coupon-card p {
  margin: 0 0 0.65rem;
  color: var(--mob-mute);
  font-size: 0.85rem;
  line-height: 1.4;
}
body.rh-mobility .rh-coupon-card strong {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.9rem;
  background: #f2f2f2;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
}
body.rh-mobility .rh-stack-form {
  display: grid !important;
  gap: 0.75rem;
}
body.rh-mobility .rh-stack-form h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}
body.rh-mobility .rh-badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--mob-mute);
}

/*
 * Native app (?mode=app): phone-chrome preview (~430px).
 * Kill portal multi-column layouts so content stays single-column.
 */
body.rh-native-app .rh-book-layout,
body.rh-native-app .rh-confirm-layout,
body.rh-native-app .rh-location-stage,
body.rh-native-app .rh-home-offers,
body.rh-native-app .rh-support-grid,
body.rh-native-app .rh-detail-grid,
body.rh-native-app .rh-desk-grid,
body.rh-native-app .rh-stat-row,
body.rh-native-app .rh-stat-row-3,
body.rh-native-app .rh-confirm-row,
body.rh-native-app .rh-loc-pair,
body.rh-native-app .rh-uber-grid,
body.rh-native-app .rh-vehicle-grid,
body.rh-native-app .rh-pub-grid,
body.rh-native-app .rh-pub-grid-3,
body.rh-native-app .rh-pub-split {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.85rem !important;
}
body.rh-native-app.rh-auth-body:not(.rh-auth-split-page) .rh-auth-page,
body.rh-native-app.rh-auth-body:not(.rh-auth-split-page) .rh-auth-page-app {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
body.rh-native-app .rh-book-side,
body.rh-native-app .rh-confirm-side {
  width: 100% !important;
  max-width: none !important;
  position: static !important;
  margin: 0 !important;
}
body.rh-native-app .rh-home-offer,
body.rh-native-app .rh-panel,
body.rh-native-app .rh-book-flow-head,
body.rh-native-app .rh-empty-state,
body.rh-native-app .rh-pub-cta {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
}
body.rh-native-app .rh-empty-state,
body.rh-native-app .rh-book-flow-head,
body.rh-native-app .rh-pub-cta,
body.rh-native-app > .rh-panel {
  padding-left: 0;
  padding-right: 0;
}
body.rh-native-app .rh-mob-main > .rh-book-flow-head,
body.rh-native-app .rh-mob-main > .rh-empty-state,
body.rh-native-app .rh-mob-main > .rh-pub-cta,
body.rh-native-app .rh-mob-main > .rh-panel,
body.rh-native-app .rh-mob-main > .rh-home-offers,
body.rh-native-app .rh-mob-main > .rh-confirm-layout,
body.rh-native-app .rh-mob-main > .rh-book-layout,
body.rh-native-app .rh-mob-main > .rh-stat-row,
body.rh-native-app .rh-mob-main > form {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: none !important;
}
body.rh-native-app .rh-mob-main > .rh-mem {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body.rh-native-app .sticky-side {
  position: static !important;
  top: auto !important;
}

/* —— Coupons apply —— */
body.rh-mobility .rh-coupon-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
body.rh-mobility .rh-coupon-code {
  font-family: var(--mono);
  font-size: 0.9rem;
  background: #f2f2f2;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}
body.rh-mobility .rh-coupon-apply-form { display: inline; margin: 0; }
body.rh-mobility .rh-btn-sm {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}
body.rh-mobility .rh-account-row-danger .meta strong { color: #b91c1c; }
body.rh-mobility .rh-account-row-danger .ico {
  background: #fdecea;
  color: #b91c1c;
}

/* —— Help desk chatbot —— */
body.rh-mobility .rh-chatbot {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 0.85rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.75rem;
}
body.rh-mobility .rh-chatbot-log {
  max-height: 280px;
  overflow-y: auto;
  display: grid;
  gap: 0.55rem;
  padding: 0.25rem;
}
body.rh-mobility .rh-chat-bubble {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 600;
}
body.rh-mobility .rh-chat-bubble.is-bot {
  background: #f3f3f3;
  color: var(--mob-ink);
  justify-self: start;
  border-bottom-left-radius: 4px;
}
body.rh-mobility .rh-chat-bubble.is-user {
  background: #0a0a0a;
  color: #fff;
  justify-self: end;
  border-bottom-right-radius: 4px;
}
body.rh-mobility .rh-chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
body.rh-mobility .rh-chatbot-chips button {
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
body.rh-mobility .rh-chatbot-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}
body.rh-mobility .rh-check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 650;
}
body.rh-mobility .rh-stack-form textarea.rh-input {
  min-height: 96px;
  resize: vertical;
  font: inherit;
}

/* Trip-linked complaints on tracking */
body.rh-mobility .rh-trip-complaints {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
body.rh-mobility .rh-complaint-list {
  margin-bottom: 0.75rem;
}
body.rh-mobility .rh-complaint-raise {
  border-top: 1px solid var(--mob-line);
  padding-top: 0.65rem;
}
body.rh-mobility .rh-complaint-raise summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.9rem;
  list-style: none;
}
body.rh-mobility .rh-complaint-raise summary::-webkit-details-marker { display: none; }
body.rh-mobility .rh-complaint-raise summary::after {
  content: "＋";
  float: right;
  color: var(--mob-mute);
}
body.rh-mobility .rh-complaint-raise[open] summary::after { content: "−"; }

/* —— Membership plans —— */
body.rh-mobility .rh-mem {
  display: grid;
  gap: 1rem;
  padding: var(--mob-pad-y) var(--mob-pad-x) 1.75rem;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--mob-content-max);
  margin: 0;
}
body.rh-mobility .rh-mem > .rh-book-flow-head {
  padding: 0.15rem 0 0.25rem;
  margin: 0;
}
body.rh-mobility .rh-mem > .rh-book-flow-head h1 {
  margin: 0.35rem 0 0.35rem;
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
body.rh-mobility .rh-mem > .rh-book-flow-head p {
  margin: 0;
  color: var(--mob-mute);
  font-size: 0.88rem;
  line-height: 1.4;
}
body.rh-mobility .rh-mem-active {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: #ecfdf5;
  border: 1px solid #86efac;
}
body.rh-mobility .rh-mem-active-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
body.rh-mobility .rh-mem-active-copy {
  min-width: 0;
}
body.rh-mobility .rh-mem-active-copy strong {
  display: inline;
  font-size: 0.98rem;
  margin-right: 0.35rem;
}
body.rh-mobility .rh-mem-active-copy p {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: var(--mob-mute);
  line-height: 1.4;
}
body.rh-mobility .rh-mem-active-link {
  font-size: 0.8rem;
  font-weight: 800;
  color: #111;
  text-decoration: none;
  padding-top: 0.35rem;
  white-space: nowrap;
}
body.rh-mobility .rh-mem-grid {
  display: grid;
  gap: 1rem;
}
body.rh-mobility .rh-mem-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--mob-line, #e8e8e8);
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.15rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  display: grid;
  gap: 0.85rem;
}
body.rh-mobility .rh-mem-card.is-hot {
  border-color: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
body.rh-mobility .rh-mem-card.is-current { background: #fafafa; }
body.rh-mobility .rh-mem-badge {
  position: static;
  justify-self: start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  width: fit-content;
}
body.rh-mobility .rh-mem-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-right: 0;
  line-height: 1.25;
}
body.rh-mobility .rh-mem-card-head p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--mob-mute);
  line-height: 1.4;
}
body.rh-mobility .rh-mem-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.15rem 0;
}
body.rh-mobility .rh-mem-price strong {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
body.rh-mobility .rh-mem-price small {
  color: var(--mob-mute);
  font-size: 0.85rem;
}
body.rh-mobility .rh-mem-benefits {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0;
  display: grid;
  gap: 0.55rem;
}
body.rh-mobility .rh-mem-benefits li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #222;
}
body.rh-mobility .rh-mem-benefits li .ti {
  color: #16a34a;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}
body.rh-mobility .rh-mem-benefits li.is-more { color: var(--mob-mute); }
body.rh-mobility .rh-mem-benefits li.is-more .ti { color: var(--mob-mute); }
body.rh-mobility .rh-mem-history {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
body.rh-mobility .rh-mem-history h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
body.rh-mobility .rh-mem-history-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--mob-line, #eee);
}
body.rh-mobility .rh-mem-history-row strong { display: block; font-size: 0.9rem; }
body.rh-mobility .rh-mem-history-row span { display: block; font-size: 0.75rem; color: var(--mob-mute); margin-top: 0.2rem; line-height: 1.35; }

/* Home plan rows — roomy, aligned */
body.rh-mobility .rh-home-plans-list {
  display: grid;
  gap: 0.7rem;
}
body.rh-mobility .rh-home-plan-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--mob-line, #e8e8e8);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
body.rh-mobility .rh-home-plan-row.is-hot {
  border-color: #111;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
body.rh-mobility .rh-home-plan-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f4f4f4;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex: 0 0 auto;
}
body.rh-mobility .rh-home-plan-row.is-hot .rh-home-plan-ico {
  background: #f0f0f0;
  box-shadow: inset 0 0 0 1.5px #111;
}
body.rh-mobility .rh-home-plan-row-main {
  min-width: 0;
}
body.rh-mobility .rh-home-plan-row-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
body.rh-mobility .rh-home-plan-row-main strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
body.rh-mobility .rh-home-plan-row-main > span {
  display: block;
  font-size: 0.78rem;
  color: #333;
  margin-top: 0.28rem;
  line-height: 1.3;
  font-weight: 650;
}
body.rh-mobility .rh-home-plan-row-main > small {
  display: block;
  font-size: 0.7rem;
  color: var(--mob-mute);
  margin-top: 0.18rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.rh-mobility .rh-home-plan-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.05rem;
  flex: 0 0 auto;
  padding-left: 0.15rem;
}
body.rh-mobility .rh-home-plan-row-side b {
  font-size: 1rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.1;
}
body.rh-mobility .rh-home-plan-row-side small {
  font-weight: 650;
  font-size: 0.68rem;
  color: var(--mob-mute);
}
body.rh-mobility .rh-home-plans-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
body.rh-mobility .rh-home-plan-tile {
  flex: 0 0 168px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--mob-line, #e8e8e8);
  border-radius: 16px;
  padding: 0.9rem;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.25rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
body.rh-mobility .rh-home-plan-tile.is-hot { border-color: #111; }
body.rh-mobility .rh-home-plan-tile strong { font-size: 0.95rem; }
body.rh-mobility .rh-home-plan-tile em {
  font-style: normal;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
body.rh-mobility .rh-home-plan-tile em small {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--mob-mute);
  margin-left: 0.15rem;
}
body.rh-mobility .rh-home-plan-tile span {
  font-size: 0.72rem;
  color: var(--mob-mute);
  line-height: 1.3;
}
body.rh-mobility .rh-home-plan-badge {
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
body.rh-mobility .rh-home-mem-active {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: #111;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.75rem;
}
body.rh-mobility .rh-home-mem-active .ti { font-size: 1.2rem; }
body.rh-mobility .rh-home-mem-active strong { display: block; font-size: 0.92rem; }
body.rh-mobility .rh-home-mem-active span { display: block; font-size: 0.72rem; opacity: .75; margin-top: 0.1rem; }
body.rh-mobility .rh-home-mem-active em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: .9;
}

/* Booking confirm coupon apply */
body.rh-mobility .rh-coupon-apply-row { margin: 0.35rem 0 0.15rem; }
body.rh-mobility .rh-coupon-apply-row .rh-coupon-apply-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  width: 100%;
}
body.rh-mobility .rh-coupon-apply-row .rh-input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  text-transform: uppercase;
}
body.rh-mobility .rh-coupon-apply-row .rh-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 1rem;
  white-space: nowrap;
}
body.rh-mobility .rh-coupon-applied {
  color: #15803d;
  margin: 0.35rem 0 0;
}
body.rh-mobility .rh-coupon-msg {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}
body.rh-mobility .rh-coupon-msg-err { color: #b91c1c; }
body.rh-mobility .rh-coupon-msg-ok { color: #15803d; }
body.rh-mobility .rh-input.is-invalid,
body.rh-mobility .rh-coupon-apply-row.is-invalid .rh-input,
body.rh-mobility .rh-coupon-manual.is-invalid .rh-input {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
body.rh-mobility .rh-coupon-manual {
  margin: 0 0 1.15rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--mob-line, #e8e8e8);
  border-radius: 16px;
}
body.rh-mobility .rh-coupon-manual .rh-label {
  margin-bottom: 0.4rem;
}
body.rh-mobility .rh-coupon-manual .rh-coupon-apply-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  width: 100%;
  margin: 0;
}
body.rh-mobility .rh-coupon-manual .rh-input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  text-transform: uppercase;
}
body.rh-mobility .rh-coupon-manual .rh-btn {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
}

/* Membership multi-step */
body.rh-mobility .rh-mem-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #111;
  color: #fff;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
  margin: 0;
}
body.rh-mobility .rh-mem-steps-hint {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.15rem 0 0.35rem;
}
body.rh-mobility .rh-mem-steps-hint span {
  font-size: 0.72rem;
  color: var(--mob-mute);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  line-height: 1.25;
}
body.rh-mobility .rh-mem-steps-hint i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  flex: 0 0 auto;
}
body.rh-mobility .rh-mem-progress {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1rem;
}
body.rh-mobility .rh-mem-progress span {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mob-mute);
  padding: 0.5rem 0.3rem;
  border-radius: 10px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
  line-height: 1.2;
}
body.rh-mobility .rh-mem-progress span i {
  font-style: normal;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
body.rh-mobility .rh-mem-progress span.is-on {
  background: #111;
  color: #fff;
}
body.rh-mobility .rh-mem-progress span.is-on i { background: #fff; color: #111; }
body.rh-mobility .rh-mem-progress span.is-done { background: #ecfdf5; color: #15803d; }
body.rh-mobility .rh-mem-progress span.is-done i { background: #16a34a; }
body.rh-mobility .rh-mem-section {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
body.rh-mobility .rh-mem-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}
body.rh-mobility .rh-mem-svc-list { display: grid; gap: 0.65rem; }
body.rh-mobility .rh-mem-svc {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
body.rh-mobility .rh-mem-svc .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f4f4f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
body.rh-mobility .rh-mem-svc strong { display: block; font-size: 0.9rem; }
body.rh-mobility .rh-mem-svc span { display: block; font-size: 0.78rem; color: var(--mob-mute); margin-top: 0.15rem; }
body.rh-mobility .rh-mem-form {
  display: grid;
  gap: 0.55rem;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
body.rh-mobility .rh-mem-form .rh-label { margin-top: 0.35rem; }
body.rh-mobility .rh-mem-credit-board {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
body.rh-mobility .rh-mem-credit-board h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
body.rh-mobility .rh-mem-credit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
body.rh-mobility .rh-mem-credit-tile {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 0.8rem 0.8rem;
}
body.rh-mobility .rh-mem-credit-tile em {
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
}
body.rh-mobility .rh-mem-credit-tile strong {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}
body.rh-mobility .rh-mem-credit-tile span {
  display: block;
  font-size: 0.68rem;
  color: var(--mob-mute);
  margin-top: 0.1rem;
}
body.rh-mobility .rh-mem-success-hero {
  text-align: center;
  padding: 1.25rem 0.5rem 0.5rem;
}
body.rh-mobility .rh-mem-success-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
body.rh-mobility .rh-mem-success-hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}
body.rh-mobility .rh-mem-success-hero p {
  margin: 0 0 1rem;
  color: var(--mob-mute);
  font-size: 0.9rem;
}
body.rh-mobility .rh-member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 22px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  padding: 0 0.55rem;
  border-radius: 999px;
  line-height: 1;
  margin: 0;
  vertical-align: middle;
}
body.rh-mobility .rh-member-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  margin: 0.85rem 0 0;
}
body.rh-mobility .rh-member-banner .ti {
  font-size: 1.25rem;
  flex: 0 0 auto;
}
body.rh-mobility .rh-member-banner > div {
  flex: 1 1 auto;
  min-width: 0;
}
body.rh-mobility .rh-member-banner strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}
body.rh-mobility .rh-member-banner span {
  display: block;
  font-size: 0.72rem;
  opacity: .75;
  margin-top: 0.2rem;
  line-height: 1.35;
}
body.rh-mobility .rh-member-banner em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  flex: 0 0 auto;
}


/* —— Map pin picker + book-for-other + trip chat —— */
body.rh-mobility .rh-pin-map-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
body.rh-mobility .rh-pin-map {
  height: min(42vh, 280px);
  min-height: 220px;
  width: 100%;
  background: #d8ddd8;
  z-index: 1;
}
body.rh-mobility .rh-pin-hint {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  z-index: 500;
  margin: 0;
  background: rgba(10,10,10,.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}
body.rh-mobility .rh-for-other {
  margin: 0.85rem 0 0.5rem;
  padding: 0.85rem 0.9rem;
  background: #f6f6f6;
  border-radius: 14px;
}
body.rh-mobility .rh-for-other-toggle {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
}
body.rh-mobility .rh-for-other-toggle input {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}
body.rh-mobility .rh-for-other-toggle strong {
  display: block;
  font-size: 0.92rem;
}
body.rh-mobility .rh-for-other-toggle small {
  display: block;
  margin-top: 0.15rem;
  color: var(--mob-mute);
  font-size: 0.75rem;
  line-height: 1.35;
}
body.rh-mobility .rh-for-other-fields {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.15rem;
}
body.rh-mobility .rh-for-other-summary {
  margin-top: 0.55rem;
  padding: 0.65rem 0.75rem;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 12px;
  display: grid;
  gap: 0.2rem;
}
body.rh-mobility .rh-for-other-summary strong {
  font-size: 0.82rem;
}
body.rh-mobility .rh-for-other-summary span {
  display: block;
  font-size: 0.8rem;
  color: #166534;
}
body.rh-mobility .rh-trip-chat {
  background: #fff;
  border-radius: 18px;
  padding: 0.9rem 1rem 1rem;
  margin: 0.85rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
body.rh-mobility .rh-chat-log {
  max-height: 240px;
  overflow-y: auto;
  display: grid;
  gap: 0.55rem;
  padding: 0.35rem 0 0.75rem;
  -webkit-overflow-scrolling: touch;
}
body.rh-mobility .rh-chat-empty {
  margin: 0;
  color: var(--mob-mute);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem 0;
}
body.rh-mobility .rh-chat-bubble {
  max-width: 88%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: #f3f3f3;
}
body.rh-mobility .rh-chat-bubble strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  color: var(--mob-mute);
}
body.rh-mobility .rh-chat-bubble p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-word;
}
body.rh-mobility .rh-chat-bubble em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.65rem;
  color: var(--mob-mute);
}
body.rh-mobility .rh-chat-bubble.is-me {
  justify-self: end;
  background: #111;
  color: #fff;
}
body.rh-mobility .rh-chat-bubble.is-me strong,
body.rh-mobility .rh-chat-bubble.is-me em { color: rgba(255,255,255,.65); }
body.rh-mobility .rh-chat-bubble.is-them { justify-self: start; }
body.rh-mobility .rh-chat-compose {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
body.rh-mobility .rh-chat-compose .rh-input {
  flex: 1 1 auto;
  min-width: 0;
}
body.rh-mobility .rh-chat-compose .rh-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 1rem;
}
body.rh-mobility .rh-job-contact {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0;
  padding: 0.85rem 0.95rem;
  background: #f7f7f7;
  border-radius: 14px;
}
body.rh-mobility .rh-job-contact > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}
body.rh-mobility .rh-job-contact span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mob-mute);
}
body.rh-mobility .rh-job-contact strong {
  font-size: 0.9rem;
  text-align: right;
}

/* —— Stable desktop shell (customer + vendor): last wins —— */
html:has(body.rh-mobility:not(.rh-native-app)) {
  scrollbar-gutter: stable;
}
body.rh-mobility:not(.rh-native-app) .rh-mob-stage,
body.rh-mobility:not(.rh-native-app) .rh-mob-main {
  overflow-x: clip;
}
body.rh-mobility:not(.rh-native-app) .rh-mob-main {
  scrollbar-gutter: stable;
}
body.rh-mobility .rh-home-offers-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 0.15rem;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
}
body.rh-mobility .rh-home-offer-tile {
  scroll-snap-align: start;
  flex: 0 0 240px;
  min-height: 148px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #fff;
  background: #1a1a1a;
}
@media (min-width: 960px) {
  body.rh-mobility:not(.rh-native-app) {
    --mob-pad-x: 2rem;
    --mob-content-max: 960px;
  }
  body.rh-mobility:not(.rh-native-app) .rh-home-feed,
  body.rh-mobility:not(.rh-native-app) .rh-account-stage,
  body.rh-mobility:not(.rh-native-app) .rh-mem,
  body.rh-mobility:not(.rh-native-app) .rh-captain-desk {
    max-width: var(--mob-content-max) !important;
    margin: 0 !important;
    width: 100% !important;
    padding-left: var(--mob-pad-x) !important;
    padding-right: var(--mob-pad-x) !important;
  }
  body.rh-mobility:not(.rh-native-app) .rh-mob-top {
    padding-left: var(--mob-pad-x) !important;
    padding-right: var(--mob-pad-x) !important;
  }
  body.rh-mobility:not(.rh-native-app) .rh-mob-nav a {
    transition: background 0.12s ease, color 0.12s ease;
  }
  body.rh-mobility:not(.rh-native-app) .rh-mob-nav a:hover {
    transform: none;
  }
}
