@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400..800&family=Noto+Sans+Arabic:wght@400..800&display=swap");

:root {
  --ink: #102a2e;
  --muted: #617377;
  --surface: #ffffff;
  --surface-soft: #f2f7f6;
  --line: #d9e4e2;
  --brand: #0f766e;
  --brand-dark: #0a554f;
  --accent: #f4a261;
  --danger: #b42318;
  --success: #15803d;
  --shadow: 0 18px 50px rgba(16, 42, 46, 0.1);
  --radius: 26px;
  --radius-small: 16px;
  --radius-item: 20px;
  --radius-pill: 999px;
}

/* The HTML hidden attribute must win over component display rules. */
[hidden] {
  display: none !important;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf5f3;
  --muted: #aac0bd;
  --surface: #142025;
  --surface-soft: #1b2a2f;
  --line: #31464b;
  --brand: #4bc0b2;
  --brand-dark: #2d9186;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body:not(.home-page),
html[data-theme="dark"] .route-results-page {
  color: #edf5f3;
  background: #0e171b;
}

html[data-theme="dark"] .home-page {
  color: #edf5f3;
  background: #0e171b;
}

html[data-theme="dark"] .home-page main > section:not(.premium-hero) {
  color: #edf5f3;
  background: #0e171b;
}

html[data-theme="dark"] .site-header:not(.home-header),
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .section-soft {
  color: #edf5f3;
  background: #142025;
  border-color: #31464b;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .auth-form,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .route-booking-card,
html[data-theme="dark"] .journey-form,
html[data-theme="dark"] .journey-tabs,
html[data-theme="dark"] .language-menu,
html[data-theme="dark"] .pickup-picker,
html[data-theme="dark"] .return-picker,
html[data-theme="dark"] .duration-picker {
  color: #edf5f3;
  background: #142025;
  border-color: #31464b;
}

html[data-theme="dark"] .journey-field,
html[data-theme="dark"] .journey-extras,
html[data-theme="dark"] .journey-passengers,
html[data-theme="dark"] .journey-field input,
html[data-theme="dark"] .journey-field select,
html[data-theme="dark"] .pickup-toggle,
html[data-theme="dark"] .return-toggle,
html[data-theme="dark"] .return-picker-trigger,
html[data-theme="dark"] .theme-toggle:not(.home-theme),
html[data-theme="dark"] .language-trigger:not(.home-language),
html[data-theme="dark"] .button-secondary {
  color: #edf5f3;
  background: #142025;
  border-color: #31464b;
}

html[data-theme="dark"] .journey-field label,
html[data-theme="dark"] .journey-duration-label,
html[data-theme="dark"] .journey-passenger-label,
html[data-theme="dark"] .pickup-toggle-copy > span,
html[data-theme="dark"] .pickup-schedule-fields label,
html[data-theme="dark"] .muted {
  color: #aac0bd;
}

html[data-theme="dark"] .journey-tab:not(.active),
html[data-theme="dark"] .language-menu button,
html[data-theme="dark"] .pickup-picker,
html[data-theme="dark"] .return-picker,
html[data-theme="dark"] .duration-picker {
  color: #edf5f3;
}

html[data-theme="dark"] .language-menu button:hover,
html[data-theme="dark"] .pickup-toggle:hover,
html[data-theme="dark"] .pickup-toggle[aria-expanded="true"],
html[data-theme="dark"] .return-toggle:hover,
html[data-theme="dark"] .return-picker-trigger:hover {
  background: #203238;
}

html[data-theme="dark"] .pickup-picker-heading,
html[data-theme="dark"] .pickup-schedule-option {
  color: #edf5f3;
}

html[data-theme="dark"] .pickup-picker-heading button[aria-pressed="false"] {
  color: #aac0bd;
  background: #1b2a2f;
  border-color: #31464b;
}

html[data-theme="dark"] .pickup-schedule-option {
  border-top-color: #31464b;
}

html[data-theme="dark"] .pickup-schedule-option small {
  color: #aac0bd;
}

html[data-theme="dark"] .pickup-schedule-fields input {
  color: #edf5f3;
  background: #1b2a2f;
  border-color: #42636a;
  color-scheme: dark;
}

/* Route results */
.route-results-page {
  min-height: 100vh;
  padding-bottom: 108px;
  color: #142128;
  background: #f7f7f5;
}

.route-results-page::before {
  display: none;
}

.route-results-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: #fff;
  background: rgba(5, 8, 9, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.route-results-nav {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.route-results-page .route-results-brand {
  color: #fff;
  font-size: 1.45rem;
}

.route-results-brand .brand-mark {
  color: #101a1e;
  background: #f5ad3f;
}

.route-results-header .nav-actions {
  margin-left: auto;
}

.route-results-header .language-trigger,
.route-results-header .currency-trigger,
.route-results-header .route-help-link,
.route-results-header .route-signup {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.route-results-header .language-trigger:hover,
.route-results-header .currency-trigger:hover,
.route-results-header .currency-trigger[aria-expanded="true"],
.route-results-header .route-help-link:hover,
.route-results-header .route-signup:hover {
  background: rgba(255, 255, 255, 0.1);
}

.currency-picker {
  position: relative;
}

.currency-static {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.currency-static small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 650;
}

.currency-trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.currency-globe {
  font-size: 1rem;
  line-height: 1;
}

.currency-chevron {
  margin-left: 1px;
  font-size: 0.85rem;
  transition: transform 180ms ease;
}

.currency-trigger[aria-expanded="true"] .currency-chevron {
  transform: rotate(180deg);
}

.currency-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 210px;
  padding: 6px;
  color: #172126;
  background: #fff;
  border: 1px solid #e4e1da;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(7, 24, 32, 0.2);
}

.currency-menu[hidden] {
  display: none !important;
}

.currency-menu button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  text-align: start;
}

.currency-menu button:hover {
  background: #f7f4ed;
}

.currency-menu button[aria-checked="true"] {
  color: #fff;
  background: #172126;
}

.route-results-header .route-login {
  color: #111b20;
  background: #fff;
}

.route-help-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 750;
}

.route-results-main {
  padding: 42px 0 72px;
}

.route-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: 34px;
}

.route-results-content {
  min-width: 0;
}

.route-map-card {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  background: #dfe5e3;
  border: 1px solid #d5ddda;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(19, 34, 39, 0.1);
}

.route-map {
  position: absolute;
  inset: 0;
}

.route-map.leaflet-container {
  width: 100%;
  height: 100%;
  color: #142128;
  background: #dfe5e3;
  font: inherit;
}

.route-map .leaflet-tile-pane {
  filter: saturate(0.68) contrast(0.94) brightness(1.04);
}

.route-map .leaflet-control-zoom {
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 42, 46, 0.2);
}

.route-map .leaflet-control-zoom a {
  color: #142128;
  border: 0;
}

.route-map .leaflet-control-attribution {
  color: #53686e;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.viamu-route-marker {
  background: transparent;
  border: 0;
}

.viamu-route-marker span {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--marker-color, #102a2e);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(16, 42, 46, 0.26);
  font-size: 0.75rem;
  font-weight: 850;
  place-items: center;
}

.route-map-loading,
.route-map-error {
  position: absolute;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 55% 45%, rgba(255, 255, 255, 0.95), rgba(234, 239, 237, 0.84)),
    #e8edeb;
}

.route-map-loading[hidden],
.route-map-error[hidden] {
  display: none;
}

.route-map-loading {
  flex-direction: column;
}

.route-map-loading strong {
  margin-top: 4px;
  font-size: 1.1rem;
}

.route-map-loading small {
  color: #6b797c;
}

.route-loading-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(16, 42, 46, 0.17);
  border-top-color: #f5ad3f;
  border-radius: 50%;
  animation: route-spinner 0.8s linear infinite;
}

@keyframes route-spinner {
  to {
    transform: rotate(360deg);
  }
}

.route-map-error {
  flex-wrap: wrap;
  text-align: left;
}

.route-map-error > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: #7a350d;
  background: #ffdcbd;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 850;
  place-items: center;
}

.route-map-error div {
  max-width: 430px;
}

.route-map-error p {
  margin: 3px 0 0;
  color: #617377;
}

.route-map-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 700;
  display: flex;
  max-width: calc(100% - 36px);
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  color: #15262b;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(16, 42, 46, 0.14);
  backdrop-filter: blur(10px);
}

.route-map-badge > span {
  display: grid;
  width: 34px;
  height: 34px;
  color: #101a1e;
  background: #f5ad3f;
  border-radius: 50%;
  place-items: center;
}

.route-map-badge div {
  display: grid;
  line-height: 1.25;
}

.route-map-badge strong {
  font-size: 0.84rem;
}

.route-map-badge small {
  color: #677579;
  font-size: 0.72rem;
}

.route-confidence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px 10px 12px;
  color: #516367;
  font-size: 0.9rem;
}

.route-confidence > span:first-child {
  display: grid;
  width: 24px;
  height: 24px;
  color: #0f766e;
  background: #daf2ec;
  border-radius: 50%;
  font-weight: 850;
  place-items: center;
}

.route-confidence strong {
  color: #142128;
}

.ride-options-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 24px;
  margin: 40px 0 22px;
}

.ride-options-heading .eyebrow {
  margin-bottom: 7px;
  color: #0f766e;
}

.ride-options-heading h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ride-options-heading > p {
  margin: 0;
  color: #657579;
}

.ride-option-list {
  display: grid;
  gap: 16px;
}

.ride-choice {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  min-height: 180px;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7dfdc;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(16, 42, 46, 0.06);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
  cursor: pointer;
}

.ride-choice:hover,
.ride-choice:focus-visible {
  z-index: 2;
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 20px 44px rgba(16, 42, 46, 0.12);
  transform: translateY(-3px);
}

.ride-choice.is-selected {
  border: 2px solid #102a2e;
  box-shadow: 0 18px 44px rgba(16, 42, 46, 0.13);
}

.ride-choice.is-unavailable {
  filter: grayscale(0.75);
  opacity: 0.48;
  cursor: not-allowed;
}

.ride-choice.is-unavailable:hover {
  transform: none;
}

.ride-choice-visual {
  position: relative;
  display: grid;
  width: 100%;
  height: 132px;
  min-width: 0;
  align-self: center;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 42, 46, 0.13);
  border-radius: 17px;
  box-shadow: 0 12px 26px rgba(14, 31, 36, 0.16);
  place-items: center;
}

.ride-choice-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 26, 31, 0.06), transparent 42%);
  content: "";
  pointer-events: none;
}

.ride-choice-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ride-choice-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ride-choice:hover .ride-choice-visual img,
.ride-choice:focus-visible .ride-choice-visual img,
.ride-choice.is-selected .ride-choice-visual img {
  transform: scale(1.045);
}

.ride-choice-visual.executive img {
  object-position: 52% 57%;
}

.ride-choice-visual.group img {
  object-position: 53% 64%;
}

.ride-choice-visual.minibus img {
  filter: saturate(0.92) contrast(1.05);
}

.ride-choice-visual svg {
  display: block;
  width: 100%;
  max-height: 132px;
  overflow: visible;
  filter: drop-shadow(0 12px 10px rgba(14, 31, 36, 0.16));
  stroke-linejoin: round;
}

.ride-choice-visual svg[hidden] {
  display: none !important;
}

.ride-choice-visual .vehicle-ground-shadow {
  fill: rgba(14, 31, 36, 0.17);
  stroke: none;
}

.ride-choice-visual .vehicle-body {
  stroke: #24363b;
  stroke-width: 2.8;
}

.ride-choice-visual .vehicle-window {
  stroke: #b7c5c8;
  stroke-width: 2;
}

.ride-choice-visual .vehicle-window-divider {
  fill: none;
  stroke: rgba(220, 229, 230, 0.78);
  stroke-width: 2.2;
}

.ride-choice-visual .vehicle-window-glow {
  fill: rgba(235, 244, 245, 0.2);
  stroke: none;
}

.ride-choice-visual .vehicle-body-highlight {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-linecap: round;
  stroke-width: 2.2;
}

.ride-choice-visual .vehicle-door-line {
  fill: none;
  stroke: rgba(32, 49, 54, 0.48);
  stroke-width: 1.8;
}

.ride-choice-visual .vehicle-trim {
  fill: none;
  stroke: #526469;
  stroke-width: 3;
}

.ride-choice-visual .executive-trim,
.ride-choice-visual .minibus-trim {
  stroke: #c69748;
}

.ride-choice-visual .vehicle-handle {
  fill: #54666a;
  stroke: rgba(255, 255, 255, 0.64);
  stroke-width: 1;
}

.ride-choice-visual .executive-handle {
  fill: #caa258;
  stroke: none;
}

.ride-choice-visual .vehicle-light {
  stroke: rgba(25, 42, 48, 0.7);
  stroke-width: 1.4;
}

.ride-choice-visual .vehicle-light-front {
  fill: #eff7cf;
}

.ride-choice-visual .vehicle-light-rear {
  fill: #d95a4f;
}

.ride-choice-visual .vehicle-grille {
  fill: #111d21;
  stroke: #7e9094;
  stroke-width: 1.5;
}

.ride-choice-visual .vehicle-roof-rail,
.ride-choice-visual .vehicle-skid-plate,
.ride-choice-visual .vehicle-step {
  fill: none;
  stroke: #4e5f63;
  stroke-linecap: round;
  stroke-width: 3;
}

.ride-choice-visual .vehicle-tire {
  fill: #121c20;
  stroke: #f8faf9;
  stroke-width: 5;
}

.ride-choice-visual .vehicle-rim {
  fill: #b7c2c4;
  stroke: #34464b;
  stroke-width: 2.2;
}

.ride-choice-visual .executive-rim {
  fill: #8e999c;
  stroke: #d8bd85;
}

.ride-choice-visual .vehicle-hub {
  fill: #f2f5f5;
  stroke: #6a7b7f;
  stroke-width: 1.5;
}

.ride-choice-visual .group-body {
  stroke: #4f4a43;
}

.ride-choice-visual .minibus-body {
  stroke: #132b30;
}

.ride-choice-visual .minibus-window {
  stroke: #8ea4a9;
}

.ride-choice-copy h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.ride-choice-copy p {
  margin: 9px 0 16px;
  color: #68777b;
}

.ride-choice-title,
.ride-choice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ride-choice-title span {
  padding: 4px 9px;
  color: #17653d;
  background: #e7f7ed;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ride-choice-meta {
  color: #415459;
  font-size: 0.82rem;
  font-weight: 700;
}

.ride-choice-meta span {
  padding: 5px 9px;
  background: #f2f5f4;
  border-radius: 8px;
}

.ride-choice-price {
  display: grid;
  min-width: 150px;
  justify-items: end;
  line-height: 1.25;
}

.ride-choice-price small,
.ride-choice-price span {
  color: #788588;
  font-size: 0.72rem;
}

.ride-choice-price strong {
  margin: 4px 0;
  font-size: 1.4rem;
}

.ride-choice-check {
  position: absolute;
  top: 18px;
  right: 18px;
  display: none;
  width: 27px;
  height: 27px;
  color: #fff;
  background: #102a2e;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 850;
  place-items: center;
}

.ride-choice.is-selected .ride-choice-check {
  display: grid;
}

.route-booking-card {
  position: sticky;
  top: 116px;
  overflow: hidden;
  padding: 28px;
  background: #fff;
  border: 1px solid #e0e5e3;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(20, 33, 40, 0.09);
}

/* Keep an open date or time picker above the neighbouring interactive map. */
.route-booking-card:has(.viamu-datetime-popover:not([hidden])) {
  z-index: 35;
  overflow: visible;
}

.legacy-booking-summary {
  display: none;
}

.booking-summary-enhanced {
  display: grid;
  gap: 24px;
}

.trip-card-title,
.journey-leg-header,
.route-price-line,
.route-price-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.trip-card-title h2 {
  margin: 0;
  font-size: 1.12rem;
}

.trip-card-title .passenger-chip {
  padding: 5px 12px;
  color: #385071;
  background: #fff;
  border-color: #d9e2ee;
  font-size: 0.78rem;
}

.journey-leg {
  display: grid;
  gap: 14px;
}

.return-journey-leg {
  padding-top: 24px;
  border-top: 1px solid #e1e8f0;
}

.return-journey-leg[hidden],
.booking-summary-enhanced [data-return-price-row][hidden],
.booking-summary-enhanced .return-summary[hidden] {
  display: none !important;
}

.journey-leg-header p {
  margin: 0;
  color: #647793;
  font-size: 0.9rem;
}

.journey-leg-date-time {
  white-space: nowrap;
}

.journey-leg-header p strong {
  color: #4e6381;
}

.journey-leg-header a,
.journey-leg-header button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #50647f;
  background: transparent;
  border: 0;
  font-size: 0.88rem;
}

.journey-leg-header button:hover,
.journey-leg-header button:focus-visible {
  color: #0f766e;
  text-decoration: underline;
}

.booking-summary-enhanced .route-timeline {
  gap: 12px;
  padding: 0;
}

.booking-summary-enhanced .route-timeline-line {
  top: 10px;
  bottom: 10px;
  left: 4px;
  background: #111;
  overflow: hidden;
}

.booking-summary-enhanced .route-timeline-line::after {
  position: absolute;
  top: -20px;
  left: 0;
  width: 2px;
  height: 22px;
  background: #f6ae3d;
  box-shadow: 0 0 9px rgba(246, 174, 61, 0.8);
  content: "";
  animation: route-timeline-travel 2.35s ease-in-out infinite;
}

@keyframes route-timeline-travel {
  0% {
    transform: translateY(-12px);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100% + 34px));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-summary-enhanced .route-timeline-line::after {
    animation: none;
  }
}

/* Consolidated support, FAQ and password-free trip access */
.unified-public-header {
  position: relative;
  z-index: 40;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.unified-public-header .nav {
  display: grid;
  min-height: 96px;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  gap: 28px;
}
.unified-public-header .brand { justify-self: start; color: var(--ink); font-size: 1.15rem; letter-spacing: -.03em; }
.unified-public-header .brand .brand-mark { width: 46px; height: 46px; color: #fff; background: var(--brand); border-radius: 14px 14px 14px 5px; font-size: 1.15rem; }
.unified-public-header .public-nav-links { justify-self: center; gap: 18px; white-space: nowrap; }
.unified-public-header .public-nav-actions { justify-self: end; }

@media (max-width: 1280px) {
  .unified-public-header .nav { display: flex; min-height: 76px; }
  .unified-public-header .public-nav-links,
  .unified-public-header .public-nav-actions { justify-self: auto; }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  .unified-public-header .nav { grid-template-columns: auto 1fr auto; gap: 20px; }
  .unified-public-header .public-nav-links { gap: 14px; font-size: .86rem; }
}

@media (max-width: 1280px) {
  .unified-public-header .nav-links,
  .unified-public-header .nav-actions { display: none; }
  .unified-public-header .nav-toggle { display: grid; place-items: center; }
  .unified-public-header .public-nav-links { top: 68px; }
  .unified-public-header .public-nav-links a { padding: 7px 10px; border-radius: 8px; }
  .unified-public-header .public-nav-links a:hover,
  .unified-public-header .public-nav-links a[aria-current="page"] { background: var(--surface-soft); }
  .unified-public-header .public-nav-actions { top: 432px; }
  .unified-public-header .nav.open .nav-links,
  .unified-public-header .nav.open .nav-actions { display: flex; }
}

.home-faq-section { border-block: 1px solid var(--border); }
.home-faq-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.home-faq-group { min-width: 0; }
.home-faq-group h3 { margin: 0 0 14px; color: var(--text); font-size: 1.05rem; }
.home-faq-group .faq-list { gap: 10px; }
.home-faq-group .faq-list details { border-radius: 14px; }
.support-route-card { display: flex; min-height: 100%; flex-direction: column; align-items: flex-start; }
.support-route-card .button { margin-top: auto; }
.trip-access-main { min-height: calc(100vh - 190px); display: grid; align-items: center; }
.trip-access-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.trip-access-copy { max-width: 650px; }
.trip-access-copy h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .98; }
.trip-access-copy > p { max-width: 58ch; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.trip-access-notes { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.trip-access-notes li { position: relative; padding-left: 28px; color: var(--muted); }
.trip-access-notes li::before { position: absolute; left: 0; content: "✓"; color: var(--accent); font-weight: 800; }
.trip-access-form-card { width: 100%; }
.trip-access-submit { width: 100%; }
.trip-access-help { margin: 18px 0 0; color: var(--muted); text-align: center; }
.form-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 980px) {
  .home-faq-groups { grid-template-columns: 1fr; gap: 28px; }
  .trip-access-layout { grid-template-columns: 1fr; gap: 32px; }
  .trip-access-copy { max-width: 720px; }
}

@media (max-width: 600px) {
  .trip-access-main .section { padding-top: 42px; }
  .trip-access-copy h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .trip-access-form-card { padding: 22px; }
}

.booking-summary-enhanced .route-stop {
  grid-template-columns: 16px minmax(0, 1fr) auto;
  min-height: 48px;
  gap: 9px;
}

.booking-summary-enhanced .route-stop-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.booking-summary-enhanced .route-stop-dot.destination {
  background: #f6ae3d;
}

.booking-summary-enhanced .route-stop strong {
  color: #17212d;
  font-size: 0.97rem;
  font-weight: 540;
}

.booking-summary-enhanced .route-stop div span {
  margin-top: 3px;
  color: #8ba0bd;
  font-size: 0.76rem;
}

.booking-summary-enhanced .route-stop time {
  align-self: start;
  color: #627794;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.booking-summary-enhanced .route-metrics {
  margin: 0 0 0 24px;
}

.booking-summary-enhanced .route-metrics span {
  padding: 3px 7px;
  color: #455b76;
  background: #fff;
  border-color: #dce5ef;
  font-size: 0.75rem;
}

.booking-summary-enhanced .return-summary {
  padding: 10px 12px;
  border-style: solid;
}

.return-trip-toggle {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  color: #0f766e;
  background: #f1fbf8;
  border: 1px solid #bde4da;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
}

.return-trip-toggle:hover,
.return-trip-toggle:focus-visible {
  color: #075f57;
  background: #dff6ef;
  border-color: #75cbbb;
}

.return-trip-toggle > span:first-child {
  display: grid;
  width: 17px;
  height: 17px;
  color: #fff;
  background: #0f766e;
  border-radius: 50%;
  font-size: 0.94rem;
  line-height: 1;
  place-items: center;
}

.return-trip-toggle.is-removing {
  color: #9b3c2b;
  background: #fff6f1;
  border-color: #f1c8bb;
}

.return-trip-toggle.is-removing > span:first-child {
  background: #c94f36;
}

.return-trip-toggle.has-return {
  color: #334d70;
  background: #f2f6fb;
  border-color: #cbd8e8;
}

.return-trip-toggle.has-return > span:first-child {
  background: #46627f;
}

.return-schedule-panel {
  display: grid;
  gap: 15px;
  padding: 18px;
  background: #f7f9fb;
  border: 1px solid #d7e1ec;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(37, 52, 76, 0.08);
}

.return-schedule-panel[hidden] {
  display: none;
}

.return-schedule-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.return-schedule-heading > div {
  display: grid;
  gap: 3px;
}

.return-schedule-heading strong {
  color: #263a54;
  font-size: 0.92rem;
}

.return-schedule-heading span {
  color: #71839b;
  font-size: 0.75rem;
  line-height: 1.45;
}

.return-schedule-heading > button {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  padding: 0;
  color: #60738d;
  background: #fff;
  border: 1px solid #d6e0eb;
  border-radius: 50%;
  font-size: 1.1rem;
  place-items: center;
}

.return-schedule-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.return-schedule-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.return-schedule-field > label {
  color: #536985;
  font-size: 0.72rem;
  font-weight: 800;
}

.return-schedule-fields input {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 8px 9px;
  color: #263a54;
  background: #fff;
  border: 1px solid #cbd7e4;
  border-radius: 9px;
  color-scheme: light;
  font: inherit;
  font-size: 0.78rem;
}

.return-schedule-fields input:focus {
  border-color: #0f766e;
  outline: 3px solid rgba(15, 118, 110, 0.13);
}

.return-schedule-hint,
.return-schedule-error {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
}

.return-schedule-hint {
  color: #71839b;
}

.return-schedule-error {
  padding: 8px 10px;
  color: #9b3c2b;
  background: #fff2ee;
  border-radius: 8px;
  font-weight: 750;
}

.return-schedule-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 3px;
}

.return-schedule-actions .button {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 0.74rem;
}

.return-remove-button {
  margin-right: auto;
  padding: 5px 0;
  color: #a14130;
  background: transparent;
  border: 0;
  font-size: 0.72rem;
  font-weight: 800;
}

.return-remove-button:hover,
.return-remove-button:focus-visible {
  color: #7e281a;
  text-decoration: underline;
}

.flight-details-section {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid #e1e8f0;
}

.flight-details-section[hidden] {
  display: none !important;
}

.flight-details-heading {
  display: grid;
  gap: 5px;
}

.flight-details-eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flight-details-heading h2,
.flight-details-heading h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #17212d;
  font-size: 1.02rem;
  font-weight: 560;
}

.flight-details-heading > p:last-child {
  margin: 0;
  color: #4d607c;
  font-size: 0.82rem;
  line-height: 1.45;
}

.flight-info-badge {
  display: inline-grid;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #687789;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  place-items: center;
}

.flight-number-field {
  display: grid;
  min-height: 58px;
  align-items: center;
  grid-template-columns: 32px minmax(0, 1fr);
  padding: 7px 16px;
  background: #f7f7f9;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.flight-number-field:focus-within {
  background: #fff;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.flight-number-field[data-state="checking"] {
  border-color: #d8a23d;
}

.flight-number-field[data-state="success"] {
  background: #f0fbf7;
  border-color: #62bda9;
}

.flight-number-field[data-state="error"] {
  background: #fff8f5;
  border-color: #d4775f;
}

.flight-number-icon {
  color: #121a1e;
  font-family: sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  transform: rotate(-2deg);
}

.flight-number-field input {
  width: 100%;
  min-width: 0;
  padding: 7px 0;
  color: #17212d;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1.04rem;
  font-weight: 560;
  letter-spacing: 0.015em;
}

.flight-number-field input::placeholder {
  color: #87909b;
  opacity: 1;
  font-weight: 460;
}

.flight-validation-message,
.flight-details-help {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
}

.flight-validation-message {
  padding: 9px 11px;
  color: #4c5f78;
  background: #f4f7fa;
  border-radius: 8px;
  font-weight: 650;
}

.flight-validation-message[data-state="checking"] {
  color: #7b5b16;
  background: #fff8e8;
}

.flight-validation-message[data-state="success"] {
  color: #0f6659;
  background: #eaf8f3;
}

.flight-validation-message[data-state="error"] {
  color: #963f2d;
  background: #fff1ed;
}

.flight-validation-message[hidden] {
  display: none;
}

.flight-details-help {
  color: #8290a1;
}

.booking-summary-enhanced .route-price-details {
  display: grid;
  gap: 13px;
  margin-top: 0;
  padding-top: 22px;
}

.booking-summary-enhanced .route-price-details h3 {
  margin: 0;
  color: #4d607c;
  font-size: 0.95rem;
}

.booking-summary-enhanced .route-price-line,
.booking-summary-enhanced .route-price-total {
  min-width: 0;
  color: #4d607c;
}

.booking-summary-enhanced .route-price-line > span,
.booking-summary-enhanced .route-price-total > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.booking-summary-enhanced .route-price-line strong {
  color: #28394f;
  font-size: 0.94rem;
  font-weight: 540;
}

.booking-summary-enhanced .night-surcharge-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin: 0;
  padding: 11px 12px;
  color: #6f4300;
  background: #fff2d2;
  border: 1px solid #f0d39a;
  border-radius: 9px;
}

.booking-summary-enhanced .night-surcharge-line > span {
  color: inherit;
  background: transparent;
  line-height: 1.4;
}

.booking-summary-enhanced .night-surcharge-line strong {
  padding-left: 8px;
  color: #603900;
  background: transparent;
  font-weight: 850;
  white-space: nowrap;
}

.booking-summary-enhanced .route-price-total {
  padding-top: 4px;
  color: #30445f;
  font-size: 1rem;
}

.booking-summary-enhanced .route-price-total strong {
  color: #25344c;
  font-size: 1.48rem;
  letter-spacing: -0.03em;
}

.booking-summary-enhanced .route-price-details p {
  display: none;
}

@media (max-width: 420px) {
  .booking-summary-enhanced .route-price-details {
    gap: 12px;
  }

  .booking-summary-enhanced .route-price-line,
  .booking-summary-enhanced .route-price-total {
    gap: 10px;
  }

  .booking-summary-enhanced .night-surcharge-line {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  }

  .booking-summary-enhanced .night-surcharge-line strong {
    padding-left: 4px;
    text-align: right;
  }

  html[dir="rtl"] .booking-summary-enhanced .night-surcharge-line strong {
    padding-right: 4px;
    padding-left: 0;
    text-align: left;
  }
}

.route-booking-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.route-booking-title .eyebrow {
  margin: 0 0 3px;
  color: #0f766e;
}

.route-booking-title h2 {
  margin: 0;
  font-size: 1.65rem;
}

.passenger-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  color: #405459;
  background: #f8faf9;
  border: 1px solid #dae2df;
  border-radius: 999px;
  font-size: 0.76rem;
}

.route-summary-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 16px;
  color: #53686e;
  border-bottom: 1px solid #e3e8e6;
  font-size: 0.9rem;
}

.route-summary-date a {
  color: #0f766e;
  font-weight: 750;
}

.route-timeline {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px 0 18px;
}

.route-timeline-line {
  position: absolute;
  top: 47px;
  bottom: 47px;
  left: 6px;
  width: 2px;
  background: linear-gradient(#102a2e 0 58%, #f5ad3f 58%);
}

.route-stop {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
}

.route-stop-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 12px;
  height: 12px;
  background: #102a2e;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #102a2e;
}

.route-stop-dot.destination {
  background: #f5ad3f;
  box-shadow: 0 0 0 1px #f5ad3f;
}

.route-stop > div {
  display: grid;
  min-width: 0;
  line-height: 1.35;
}

.route-stop small,
.route-stop div span {
  color: #829093;
  font-size: 0.72rem;
}

.route-stop strong {
  overflow: hidden;
  font-size: 0.93rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-stop time {
  color: #41585e;
  font-size: 0.82rem;
  font-weight: 750;
}

.route-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 28px;
}

.route-metrics span {
  padding: 4px 8px;
  color: #3f555c;
  background: #f7f9f8;
  border: 1px solid #dbe3e0;
  border-radius: 7px;
  font-size: 0.73rem;
}

.return-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  color: #5f6f73;
  background: #fafbf9;
  border: 1px dashed #cbd5d2;
  border-radius: 12px;
  font-size: 0.78rem;
}

.return-summary > span:first-child {
  color: #f0a238;
  font-size: 1.1rem;
}

.return-summary span:nth-child(2) {
  flex: 1;
}

.return-summary a {
  color: #0f766e;
  font-weight: 750;
}

.route-price-details {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e3e8e6;
}

.route-price-details h3 {
  margin: 0 0 14px;
  font-size: 0.92rem;
}

.route-price-details > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.route-price-details > div > strong {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.route-price-details p {
  margin: 8px 0 0;
  color: #829093;
  font-size: 0.69rem;
  line-height: 1.45;
}

.route-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.route-benefits span {
  padding: 6px 9px;
  color: #3f555c;
  background: #f7f9f8;
  border: 1px solid #dce4e1;
  border-radius: 999px;
  font-size: 0.7rem;
}

.route-api-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px -28px -28px;
  padding: 13px 28px;
  color: #728185;
  background: #f7f8f7;
  border-top: 1px solid #e3e8e6;
  font-size: 0.7rem;
}

.route-api-note > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  color: #fff;
  background: #0f766e;
  border-radius: 50%;
  font-weight: 850;
  place-items: center;
}

.selection-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(207, 217, 214, 0.9);
  box-shadow: 0 -12px 32px rgba(16, 42, 46, 0.08);
  backdrop-filter: blur(16px);
}

.selection-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.selection-dock-inner > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.selection-dock-icon {
  display: grid;
  width: 38px;
  height: 38px;
  color: #102a2e;
  background: #f5ad3f;
  border-radius: 12px;
  place-items: center;
}

.selection-dock-total {
  margin-left: 14px;
  color: #0f766e;
  font-weight: 850;
}

.route-results-page .selection-continue {
  min-width: min(390px, 38vw);
  justify-content: center;
  gap: 24px;
  background: #142128;
}

@media (max-width: 1080px) {
  .route-results-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.8fr);
    gap: 22px;
  }

  .ride-choice {
    grid-template-columns: 145px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .route-results-main {
    padding-top: 26px;
  }

  .route-results-layout {
    grid-template-columns: 1fr;
  }

  .route-booking-card {
    position: static;
    grid-row: 1;
  }

  .route-results-content {
    grid-row: 2;
  }

  .route-map-card {
    min-height: clamp(390px, 58vw, 520px);
  }

  .route-booking-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .route-booking-title,
  .route-summary-date,
  .return-summary,
  .route-price-details,
  .route-benefits,
  .route-api-note {
    grid-column: 1 / -1;
  }

  .route-timeline {
    grid-column: 1 / -1;
  }

  .ride-options-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .route-results-page {
    padding-bottom: 128px;
  }

  .route-results-nav {
    min-height: 70px;
  }

  .route-results-brand {
    font-size: 1.2rem;
  }

  .route-results-brand .brand-mark {
    width: 34px;
    height: 34px;
  }

  .route-results-header .route-help-link,
  .route-results-header .route-signup {
    display: none;
  }

  .route-results-header .nav-actions {
    gap: 7px;
  }

  .route-results-header .language-trigger,
  .route-results-header .currency-trigger,
  .route-results-header .route-login {
    min-height: 38px;
    padding: 7px 10px;
  }

  .route-results-main {
    padding-top: 16px;
  }

  .route-results-layout {
    gap: 16px;
  }

  .route-booking-card {
    display: block;
    padding: 20px;
    border-radius: 18px;
  }

  .route-map-card {
    min-height: 390px;
    border-radius: 18px;
  }

  .route-map-badge {
    top: 12px;
    left: 12px;
  }

  .route-confidence {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-inline: 4px;
  }

  .route-confidence > span:last-child {
    flex-basis: 100%;
    margin-left: 33px;
  }

  .ride-options-heading {
    margin-top: 30px;
  }

  .ride-options-heading h1 {
    font-size: 2.35rem;
  }

  .ride-choice {
    grid-template-columns: 100px minmax(0, 1fr);
    min-height: 0;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
  }

  .ride-choice-visual {
    height: 104px;
    align-self: center;
    border-radius: 14px;
  }

  .ride-choice-copy h2 {
    font-size: 1.25rem;
  }

  .ride-choice-copy p {
    margin-bottom: 10px;
    font-size: 0.82rem;
  }

  .ride-choice-price {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    min-width: 0;
    align-items: end;
    justify-items: start;
    padding-top: 12px;
    border-top: 1px solid #e1e7e5;
  }

  .ride-choice-price strong {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
  }

  .ride-choice-price span {
    grid-column: 1;
  }

  .selection-dock {
    padding: 10px 0;
  }

  .selection-dock-inner {
    align-items: stretch;
    gap: 10px;
  }

  .selection-dock-inner > div {
    min-width: 0;
    flex: 1;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.15;
  }

  .selection-dock-icon {
    display: none;
  }

  .selection-dock-inner > div > span:nth-child(2) {
    flex-basis: 100%;
    color: #748286;
    font-size: 0.7rem;
  }

  .selection-dock-total {
    flex-basis: 100%;
    margin-left: 0;
    font-size: 0.86rem;
  }

  .selection-continue {
    min-width: 42%;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-loading-spinner {
    animation-duration: 1.8s;
  }

  .ride-choice {
    transition-duration: 0.01ms;
  }
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #102a2e;
  background: rgba(241, 178, 74, 0.42);
}

html[data-theme="dark"] ::selection {
  color: #f4f8f7;
  background: rgba(75, 192, 178, 0.42);
}

:is(
  a,
  button,
  summary,
  label,
  [role="button"],
  [role="link"],
  [role="tab"],
  [role="menuitem"],
  [role="option"],
  [role="radio"],
  [role="checkbox"],
  [role="switch"]
) {
  -webkit-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 5%, rgba(244, 162, 97, 0.14), transparent 25rem),
    radial-gradient(circle at 5% 25%, rgba(15, 118, 110, 0.09), transparent 28rem);
}

.auth-page {
  min-height: 100vh;
  color: var(--ink);
  background: var(--surface);
}

.auth-page::before {
  z-index: -2;
  background:
    radial-gradient(circle at 90% 5%, rgba(244, 162, 97, 0.14), transparent 25rem),
    radial-gradient(circle at 5% 25%, rgba(15, 118, 110, 0.09), transparent 28rem);
  filter: none;
  opacity: 1;
  transform: none;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(244, 162, 97, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 228, 226, 0.8);
  backdrop-filter: blur(16px);
}

.auth-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(217, 228, 226, 0.8);
}

.auth-page .nav-links {
  color: #355156;
}

.auth-page .nav-links a:hover,
.auth-page .nav-links a[aria-current="page"] {
  color: var(--brand);
}

.auth-page .nav-actions .button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.auth-page .nav-actions .button:not(.button-secondary) {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.nav {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--brand);
  border-radius: 12px 12px 12px 4px;
  place-items: center;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: .82em;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.16em;
  padding-right: .14em;
  text-indent: -.02em;
  transform: skew(-7deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #355156;
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .is-authenticated-nav-hidden {
  display: none !important;
}

.nav-profile-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #27a79c);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  place-items: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-profile-button:hover,
.nav-profile-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 32, 39, 0.2);
  outline: 0;
}

.nav-profile-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-profile-initials {
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.home-header .nav-profile-button {
  background: linear-gradient(145deg, #f1b24a, #eb7e4b);
  border-color: rgba(255, 255, 255, 0.84);
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.checkout-language-picker {
  margin-inline-start: auto;
}

.standalone-language-picker {
  position: absolute;
  z-index: 20;
  inset-block-start: max(18px, env(safe-area-inset-top));
  inset-inline-end: max(18px, env(safe-area-inset-right));
}

.auth-main:has(.standalone-language-picker) {
  position: relative;
}

.theme-toggle {
  display: inline-grid;
  width: 40px;
  min-height: 40px;
  padding: 0;
  color: #355156;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 1.05rem;
  place-items: center;
}

.theme-toggle:hover,
.theme-toggle[aria-pressed="true"] {
  color: #172126;
  border-color: #f1b24a;
}

.home-theme {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(8, 13, 20, 0.32);
  border-color: rgba(255, 255, 255, 0.18);
}

.home-theme:hover,
.home-theme[aria-pressed="true"] {
  color: #fff;
  background: rgba(8, 13, 20, 0.58);
  border-color: rgba(241, 178, 74, 0.72);
}

.language-trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  color: #355156;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  color: #172126;
  border-color: #f1b24a;
}

.language-chevron {
  font-size: 0.8rem;
  transition: transform 180ms ease;
}

.language-trigger[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 184px;
  max-height: min(430px, calc(100vh - 104px));
  gap: 4px;
  padding: 7px;
  overflow-y: auto;
  color: #172126;
  background: #fff;
  border: 1px solid #e4e1da;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(7, 24, 32, 0.2);
}

.language-menu[hidden] {
  display: none !important;
}

.language-menu button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 11px;
  color: #172126;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: start;
}

.language-menu button:hover {
  background: #f7f4ed;
}

.language-menu button[aria-checked="true"] {
  color: #fff;
  background: #172126;
}

.flag-icon {
  display: inline-block;
  width: 22px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid rgba(16, 30, 35, 0.14);
  border-radius: 2px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 1px 2px rgba(16, 30, 35, 0.12);
}

.flag-icon[data-country="gb"] {
  background-image: url("../images/flags/gb.svg");
}

.flag-icon[data-country="fr"] {
  background-image: url("../images/flags/fr.svg");
}

.flag-icon[data-country="sa"] {
  background-image: url("../images/flags/sa.svg");
}

.flag-icon[data-country="es"] {
  background-image: url("../images/flags/es.svg");
}

.flag-icon[data-country="pt"] {
  background-image: url("../images/flags/pt.svg");
}

.flag-icon[data-country="it"] {
  background-image: url("../images/flags/it.svg");
}

.flag-icon[data-country="de"] {
  background-image: url("../images/flags/de.svg");
}

.flag-icon[data-country="pl"] {
  background-image: url("../images/flags/pl.svg");
}

.flag-icon[data-country="nl"] {
  background-image: url("../images/flags/nl.svg");
}

.flag-icon[data-country="ro"] {
  background-image: url("../images/flags/ro.svg");
}

.flag-icon[data-country="ru"] {
  background-image: url("../images/flags/ru.svg");
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .home-header .language-menu {
  right: 0;
  left: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 0;
  border-radius: 12px;
  font-size: 1.3rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 13px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.2);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--brand);
  background: var(--surface-soft);
  border-color: var(--brand);
}

.button-accent {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.button-small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.text-link {
  color: var(--brand);
  font-weight: 750;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 64px;
  grid-template-columns: 1.1fr 0.9fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-row span::before {
  margin-right: 7px;
  color: var(--brand);
  content: "✓";
}

.route-card {
  position: relative;
  min-height: 460px;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.route-card::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  content: "";
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255, 255, 255, 0.07) 23px 25px);
  border-radius: 50%;
}

.route-line {
  position: absolute;
  top: 25px;
  left: 52px;
  width: 58%;
  height: 190px;
  border-right: 4px dashed var(--accent);
  border-bottom: 4px dashed var(--accent);
  border-radius: 0 0 80px 0;
  transform: rotate(-8deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: #fff;
  border: 8px solid rgba(255, 255, 255, 0.25);
  border-radius: 50% 50% 50% 8px;
  font-weight: 900;
  transform: rotate(-45deg);
  place-items: center;
}

.map-pin span {
  transform: rotate(45deg);
}

.map-pin.start {
  top: 0;
  left: 20px;
}

.map-pin.end {
  right: 32px;
  bottom: 28px;
  background: var(--accent);
}

.driver-chip {
  position: absolute;
  right: 4px;
  bottom: 82px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #27a79c);
  border-radius: 50%;
  font-weight: 850;
  place-items: center;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-large {
  width: 86px;
  height: 86px;
  font-size: 1.55rem;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.grid-3,
.grid-2,
.stats-grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(16, 42, 46, 0.05);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--brand);
  background: #e3f3f1;
  border-radius: 15px;
  font-size: 1.4rem;
  place-items: center;
}

.muted {
  color: var(--muted);
}

.stat {
  padding: 20px 0;
}

.stat strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote {
  position: relative;
}

.quote::before {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  content: "“";
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.8;
}

.stars {
  color: #d97706;
  letter-spacing: 0.1em;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 48px;
  color: #fff;
  background: var(--ink);
  border-radius: 30px;
}

.cta-panel h2 {
  margin-bottom: 8px;
}

.cta-panel p {
  max-width: 580px;
  margin: 0;
  color: #c8d7d9;
}

.page-hero {
  padding: 64px 0 40px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.auth-shell {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), 1100px);
  min-height: 760px;
  margin: 48px auto 72px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(16, 42, 46, 0.16);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.auth-aside {
  position: relative;
  display: flex;
  min-height: 760px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 48%, rgba(244, 162, 97, 0.2), transparent 23%),
    radial-gradient(circle at 85% 9%, rgba(15, 118, 110, 0.42), transparent 26%),
    linear-gradient(160deg, #102a2e 0%, #0a554f 54%, #0f766e 100%);
  isolation: isolate;
}

.auth-aside h1 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.auth-visual::before,
.auth-visual::after {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.auth-visual::before {
  top: 31%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.36);
}

.auth-visual::after {
  top: 31%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.68);
}

.auth-visual-copy {
  position: relative;
  z-index: 2;
  max-width: 390px;
}

.auth-visual-copy > p:last-child {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.auth-visual-kicker,
.auth-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-visual-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.auth-visual-orbit {
  position: relative;
  display: grid;
  width: min(360px, 88%);
  aspect-ratio: 1;
  margin: -18px auto 0;
  place-items: center;
}

.auth-visual-orbit::before,
.auth-visual-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  content: "";
}

.auth-visual-orbit::before {
  inset: 17%;
  box-shadow: 0 0 36px rgba(255, 255, 255, 0.16);
}

.auth-visual-orbit::after {
  inset: 7%;
  border-color: rgba(255, 255, 255, 0.13);
}

.auth-orbit-icon {
  position: absolute;
  display: grid;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand);
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(16, 42, 46, 0.24);
  font-size: 1.4rem;
  font-weight: 800;
}

.auth-orbit-icon:nth-child(1) { top: 4%; left: 45%; background: var(--accent); color: var(--ink); }
.auth-orbit-icon:nth-child(2) { top: 17%; right: 9%; background: var(--brand); }
.auth-orbit-icon:nth-child(3) { top: 49%; right: 0; background: var(--brand-dark); }
.auth-orbit-icon:nth-child(4) { right: 12%; bottom: 14%; background: #d9e4e2; color: var(--ink); }
.auth-orbit-icon:nth-child(5) { bottom: 0; left: 44%; background: var(--accent); color: var(--ink); }
.auth-orbit-icon:nth-child(6) { bottom: 14%; left: 12%; background: var(--brand); }
.auth-orbit-icon:nth-child(7) { top: 49%; left: 0; background: var(--brand-dark); }
.auth-orbit-icon:nth-child(8) { top: 17%; left: 9%; background: #d9e4e2; color: var(--ink); }

.auth-visual-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 150px;
  height: 150px;
  align-content: center;
  justify-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent) 0%, var(--brand) 58%, var(--brand-dark) 100%);
  border: 8px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 24px 42px rgba(16, 42, 46, 0.3), 0 0 0 20px rgba(255, 255, 255, 0.08), 0 0 46px rgba(244, 162, 97, 0.38);
}

.auth-visual-core strong {
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: -0.12em;
  line-height: 0.8;
  transform: translateX(-3px);
}

.auth-visual-core small {
  margin-top: 12px;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.22em;
}

.auth-visual-foot {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.auth-visual-foot a {
  color: #fff;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-benefits {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-benefits li::before {
  display: grid;
  width: 26px;
  height: 26px;
  color: var(--ink);
  content: "✓";
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  place-items: center;
}

.auth-main {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  padding: 56px 56px 48px;
  background: #fff;
  place-items: center;
}

.form-card {
  width: min(100%, 620px);
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card {
  width: min(100%, 500px);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-back-link {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-back-link:hover {
  color: var(--brand);
}

.auth-card .auth-kicker {
  color: var(--brand);
}

.auth-card h2 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.auth-card .auth-subtitle {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.auth-switch {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-page .text-link {
  color: var(--brand);
  font-weight: 750;
}

.form-card h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.form-card > p {
  margin-top: 0;
  color: var(--muted);
}

.auth-provider-block {
  margin: 30px 0 0;
}

.auth-provider-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-provider-divider::before,
.auth-provider-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.auth-provider-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-provider-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px 12px 54px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 42, 46, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.auth-provider-button:hover {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--brand);
  box-shadow: 0 8px 18px rgba(16, 42, 46, 0.08);
  transform: translateY(-1px);
}

.auth-provider-button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.auth-provider-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.auth-provider-logo {
  position: absolute;
  left: 16px;
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  object-position: center;
}

.auth-provider-logo-google {
  width: 21px;
  height: 21px;
}

.auth-provider-logo-apple {
  width: 20px;
  height: 22px;
}

.auth-provider-logo-microsoft {
  width: 22px;
  height: 22px;
}

.auth-provider-logo-yahoo {
  width: 23px;
  height: 23px;
}

.auth-provider-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 20px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form-divider::before,
.auth-form-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.auth-form {
  gap: 16px;
}

.booking-auth-panel {
  margin: 24px 0 0;
  padding: 20px;
  background: #f2f9f7;
  border-color: #b8ddd6;
}

.booking-auth-panel[hidden],
.booking-auth-otp[hidden] {
  display: none;
}

.booking-auth-panel .verification-method-head {
  margin-bottom: 12px;
}

.booking-auth-copy,
.booking-auth-otp-copy {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.booking-auth-panel .auth-form {
  margin-top: 0;
}

.booking-auth-otp {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #cfe3de;
}

.booking-auth-otp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 12px;
}

.booking-auth-otp-actions .verification-resend {
  margin-top: 0;
}

.auth-form .field label {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.auth-form .field input,
.auth-form .phone-control {
  min-height: 50px;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  border-radius: 11px;
  box-shadow: none;
}

.auth-form .field input:focus,
.auth-form .phone-control:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.auth-page .auth-submit {
  min-height: 52px;
  margin-top: 4px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.2);
}

.auth-page .auth-submit:hover {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}

.auth-legal {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.auth-footer-link {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-provider-status[data-state="error"] {
  color: var(--danger);
}

.auth-provider-status[data-state="success"] {
  color: var(--success);
}

.auth-provider-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.recovery-card {
  max-width: 680px;
}

.recovery-card .eyebrow {
  margin-bottom: 6px;
}

.recovery-step[hidden] {
  display: none;
}

.recovery-method-toggle {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 5px;
  background: #edf5f3;
  border: 1px solid #d8e7e3;
  border-radius: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.recovery-method {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.recovery-method:hover,
.recovery-method:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.recovery-method.is-active {
  color: var(--brand-dark);
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 33, 40, 0.08);
}

.recovery-card h3 {
  margin: 26px 0 0;
  font-size: 1.18rem;
}

.recovery-destination {
  margin: 8px 0 0;
  color: var(--muted);
}

.recovery-destination strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.recovery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.recovery-change {
  padding: 8px 0;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.recovery-demo-note {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 13px 15px;
  color: #185c56;
  background: #eef8f5;
  border: 1px solid #b9e0d8;
  border-radius: 12px;
  font-size: 0.9rem;
}

.recovery-demo-note[hidden] {
  display: none;
}

.recovery-demo-note strong {
  color: var(--brand-dark);
}

.recovery-demo-note b {
  letter-spacing: 0.12em;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: grid;
  gap: 7px;
}

.form-grid > .field {
  align-content: start;
}

.field-full {
  grid-column: 1 / -1;
}

.phone-field.field-full .phone-control {
  width: 100%;
}

.phone-field.field-full .phone-control > input[type="tel"] {
  min-width: 0;
  font-size: 1rem;
}

.field label,
.field-label {
  font-size: 0.9rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfd0ce;
  border-radius: 12px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #89999c;
}

.field-hint {
  color: var(--muted);
  font-size: 0.78rem;
}

.field-hint[data-state="success"] {
  color: #0f766e;
}

.field-hint[data-state="error"] {
  color: #b42318;
}

.check-row {
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.form-footer .button {
  min-width: 160px;
}

.form-note {
  margin-top: 20px;
  text-align: center;
}

.supabase-status[data-state="success"] {
  color: #0f766e;
}

.supabase-status[data-state="error"] {
  color: #b42318;
}

.booking-layout,
.contact-layout {
  display: grid;
  align-items: start;
  gap: 28px;
}

.booking-layout {
  grid-template-columns: 1.25fr 0.75fr;
}

.contact-layout {
  grid-template-columns: 0.85fr 1.15fr;
}

.summary-card {
  position: sticky;
  top: 104px;
}

.summary-list,
.contact-list,
.sidebar-nav,
.footer-links {
  padding: 0;
  list-style: none;
}

.summary-list {
  display: grid;
  gap: 14px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-total {
  font-size: 1.2rem;
  font-weight: 850;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: start;
  gap: 12px;
}

.contact-list .card-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  flex: 0 0 auto;
  font-size: 1rem;
}

.notice {
  padding: 16px 18px;
  color: #5c3a12;
  background: #fff7e8;
  border: 1px solid #f4d4a4;
  border-radius: 13px;
  font-size: 0.9rem;
}

.review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.review-toolbar .inline-actions select {
  min-height: 44px;
  min-width: 150px;
  padding: 0 40px 0 16px;
  color: var(--ink);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%230f766e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 14px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 5px 16px rgba(16, 42, 46, 0.06);
  font-size: 0.9rem;
  font-weight: 750;
  appearance: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.review-toolbar .inline-actions select:hover {
  background-color: var(--surface-soft);
  border-color: var(--brand);
}

.review-toolbar .inline-actions select:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.16);
  outline: 0;
}

html[data-theme="dark"] .review-toolbar .inline-actions select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%234bc0b2' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

@media (max-width: 620px) {
  .review-toolbar .inline-actions {
    width: 100%;
  }

  .review-toolbar .inline-actions select {
    flex: 1 1 0;
    min-width: 0;
  }
}

.rating-overview {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rating-number {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-head,
.booking-head,
.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-author,
.profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card p {
  color: #496165;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  color: var(--brand-dark);
  background: #e3f3f1;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.tag.warning {
  color: #7c4a03;
  background: #fff0d6;
}

.tag.neutral {
  color: #526266;
  background: #edf1f1;
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.rating-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
}

.rating-input label {
  color: #c8d1d0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: #d97706;
}

.booking-list {
  display: grid;
  gap: 16px;
}

.booking-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.route-points {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.route-point {
  display: flex;
  gap: 10px;
}

.route-point::before {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  content: "";
  background: var(--brand);
  border: 3px solid #cde9e6;
  border-radius: 50%;
}

.route-point:last-child::before {
  background: var(--accent);
  border-color: #fbe1cb;
}

.empty-state {
  padding: 58px 24px;
  text-align: center;
}

.legal {
  display: grid;
  gap: 28px;
}

.legal nav {
  padding: 20px;
  background: var(--surface-soft);
  border-radius: 14px;
}

.legal nav ol {
  margin-bottom: 0;
}

.legal section {
  scroll-margin-top: 110px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

summary {
  cursor: pointer;
  font-weight: 750;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

html[data-theme="dark"] details {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.error-page {
  display: grid;
  min-height: calc(100vh - 76px);
  padding: 60px 20px;
  text-align: center;
  place-items: center;
}

.error-code {
  margin: 0;
  color: var(--brand);
  font-size: clamp(6rem, 22vw, 13rem);
  font-weight: 950;
  letter-spacing: -0.11em;
  line-height: 0.75;
}

.site-footer {
  padding: 54px 0 28px;
  color: #d5e0e1;
  background: #0b2428;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.6fr repeat(3, 1fr);
}

.site-footer .brand {
  color: #fff;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.site-footer p {
  max-width: 350px;
  color: #aabdc0;
}

.footer-links {
  display: grid;
  gap: 9px;
  color: #aabdc0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.35em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  color: #89a2a5;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: 360px;
  padding: 15px 18px;
  color: #fff;
  background: var(--ink);
  border-left: 1px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.network-status {
  position: fixed;
  z-index: 10000;
  inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: fit-content;
  max-width: min(520px, calc(100vw - 24px));
  margin-inline: auto;
  padding: 11px 16px;
  border: 1px solid #f0b34a;
  border-radius: 12px;
  background: #fff4dc;
  color: #563600;
  box-shadow: 0 12px 32px rgb(0 0 0 / 24%);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.network-status[hidden] {
  display: none;
}

html[data-theme="dark"] .network-status {
  border-color: #f0b34a;
  background: #3b2b0d;
  color: #ffe4ae;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
    position: relative;
    z-index: 4;
    flex: 0 0 44px;
    place-items: center;
  }

  .nav-links,
  .nav-actions {
    position: absolute;
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
  }

  .nav-links {
    top: 68px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow);
  }

  .nav-actions {
    top: 270px;
    align-items: stretch;
    flex-direction: column;
    border-top: 0;
    border-radius: 0 0 16px 16px;
  }

  .nav-actions .nav-profile-button {
    align-self: center;
  }

  .nav.open .nav-links,
  .nav.open .nav-actions {
    display: flex;
  }

  .site-header:not(.home-header) .nav-actions .language-trigger {
    width: 100%;
  }

  .site-header:not(.home-header) .nav-actions .language-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
  }

  .hero-grid,
  .booking-layout,
  .contact-layout,
  .account-layout,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    min-height: auto;
    padding: 56px 30px;
  }

  .auth-shell {
    width: min(calc(100% - 32px), 680px);
    min-height: 0;
    margin: 28px auto 48px;
  }

  .auth-main {
    grid-column: 1;
    grid-row: 1;
    padding: 42px 34px;
  }

  .auth-aside {
    grid-column: 1;
    grid-row: 2;
    min-height: 520px;
    padding: 40px 34px;
  }

  .auth-visual-orbit {
    width: min(300px, 76%);
    margin-top: 8px;
  }

  .auth-aside h1 {
    margin-top: 30px;
  }

  .grid-3,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-card,
  .sidebar {
    position: static;
  }

  .sidebar-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .container > *,
  .grid > *,
  .checkout-layout > *,
  .legal > * {
    min-width: 0;
  }

  .legal,
  .legal > * {
    overflow-wrap: anywhere;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    gap: 40px;
  }

  .route-card {
    min-height: 390px;
    padding: 26px;
  }

  .grid-3,
  .grid-2,
  .stats-grid,
  .form-grid,
  .footer-grid,
  .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading,
  .cta-panel,
  .form-footer,
  .review-toolbar,
  .review-head,
  .booking-head,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-panel {
    padding: 32px 24px;
  }

  .auth-main {
    padding: 36px 14px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .auth-shell {
    width: calc(100% - 20px);
    margin: 18px auto 32px;
    border-radius: 22px;
  }

  .auth-main {
    padding: 30px 22px 34px;
  }

  .auth-card {
    padding: 0;
  }

  .auth-back-link {
    margin-bottom: 30px;
  }

  .auth-provider-grid {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    min-height: 440px;
    padding: 34px 24px;
  }

  .auth-aside h1 {
    font-size: 2.4rem;
  }

  .auth-visual-orbit {
    width: min(260px, 84%);
  }

  .field-full {
    grid-column: auto;
  }

  .driver-documents-heading {
    flex-direction: column;
    gap: 12px;
  }

  .driver-documents-badge {
    justify-self: start;
  }

  .driver-document-grid {
    grid-template-columns: 1fr;
  }

  .profile-head {
    align-items: flex-start;
  }

  .profile-metrics {
    grid-template-columns: 1fr;
  }
}

/* VIAMU premium homepage */
.home-page {
  background: #fbfaf7;
}

.home-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  isolation: isolate;
  color: #fff;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.home-header::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(66, 68, 72, 0.94) 0%,
    rgba(71, 73, 77, 0.7) 42%,
    rgba(76, 78, 82, 0.28) 72%,
    rgba(76, 78, 82, 0) 100%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.home-header.is-scrolled::before,
.home-header:has(.nav.open)::before {
  opacity: 1;
}

.home-header .nav {
  position: relative;
  z-index: 1;
  min-height: 194px;
}

.home-brand {
  position: absolute;
  top: 18px;
  left: 0;
  z-index: 2;
  padding-bottom: 20px;
  color: #fff;
  font-size: 2.35rem;
  letter-spacing: 0.04em;
  transform: none;
}

.home-brand .brand-mark {
  width: 64px;
  height: 64px;
  color: #111;
  background: #f1b24a;
  border-radius: 50% 50% 50% 8px;
  font-size: 1.55rem;
}

.home-nav-links {
  position: absolute;
  top: 108px;
  left: 50%;
  margin: 0;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(8, 13, 20, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition:
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
  white-space: nowrap;
}

.home-header.is-scrolled .nav {
  min-height: 88px;
}

.home-header.is-scrolled .home-nav-links {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition:
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 320ms;
}

.home-nav-links a {
  padding: 7px 10px;
  border-radius: 999px;
}

.home-nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.home-language {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(8, 13, 20, 0.32);
  border-color: rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  font-weight: 750;
}

.home-language:hover,
.home-language[aria-expanded="true"] {
  color: #fff;
  background: rgba(8, 13, 20, 0.58);
  border-color: rgba(241, 178, 74, 0.72);
}

.home-signup {
  color: #fff;
  background: rgba(8, 13, 20, 0.34);
  border-color: rgba(255, 255, 255, 0.4);
}

.home-signup:hover {
  color: #111820;
  background: #f1b24a;
  border-color: #f1b24a;
}

.home-login {
  color: #111820;
  background: #fff;
  border-color: #fff;
}

.home-login:hover {
  color: #111820;
  background: #f1b24a;
  border-color: #f1b24a;
}

.home-nav-actions {
  position: absolute;
  top: 20px;
  right: 0;
  margin-left: auto;
}

.premium-hero {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 850px;
  align-items: stretch;
  overflow: visible;
  color: #fff;
  background-color: #071321;
  background-image: url("../images/viamu-chauffeur-hero.png");
  background-image: image-set(
    url("../images/viamu-chauffeur-hero.webp") type("image/webp") 1x,
    url("../images/viamu-chauffeur-hero.png") type("image/png") 1x
  );
  background-position: center center;
  background-size: cover;
}

.premium-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 8, 14, 0.45) 0%, rgba(3, 8, 14, 0.08) 32%, rgba(3, 8, 14, 0.46) 72%, rgba(3, 8, 14, 0.84) 100%),
    linear-gradient(90deg, rgba(3, 8, 14, 0.33), rgba(3, 8, 14, 0.05) 48%, rgba(3, 8, 14, 0.2));
}

.premium-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  padding-top: 205px;
  padding-bottom: 100px;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1101px) {
  .premium-hero-content {
    width: min(1320px, calc(100% - 28px));
  }
}

.premium-hero-copy {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.premium-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #f4c878;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.premium-kicker span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.premium-hero h1 {
  max-width: none;
  margin-bottom: 20px;
  font-size: clamp(3.7rem, 7vw, 6.6rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.premium-hero-copy > p:last-child {
  max-width: 610px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.05rem;
}

.journey-panel {
  position: relative;
  z-index: 20;
  margin-top: 0;
  padding-top: 0;
  scroll-margin-top: 112px;
}

.journey-tabs {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 10px;
  padding: 3px;
  background: #fff;
  border: 0;
  border-radius: 11px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.journey-tab {
  display: inline-flex;
  height: 30px;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: #746f65;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.journey-tab span {
  font-size: 0.78rem;
}

.journey-tab.active {
  color: #fff;
  background: #15181d;
}

.journey-form {
  display: grid;
  min-height: 68px;
  padding: 8px;
  color: #172126;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  grid-template-columns: minmax(155px, 0.84fr) minmax(155px, 0.84fr) minmax(430px, 1.75fr) minmax(110px, 0.68fr) 170px;
}

@media (min-width: 1101px) {
  .journey-form:has([data-hourly-field]:not([hidden])) {
    grid-template-columns:
      minmax(220px, 1.5fr)
      minmax(150px, 1fr)
      minmax(190px, 0.82fr)
      minmax(130px, 0.68fr)
      minmax(190px, 0.88fr);
  }

}

.journey-field {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: center;
  padding: 8px 14px 6px 44px;
  border-right: 1px solid #e4e5e5;
}

.journey-field:has([data-current-pickup-date]),
.journey-field:has([data-current-pickup-time]),
.field:has([data-current-pickup-date]),
.field:has([data-current-pickup-time]) {
  display: none;
}

.journey-field[hidden] {
  display: none !important;
}

.journey-field-error {
  margin: 4px 0 0;
  color: #a2372b;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
}

.journey-field-error[hidden] {
  display: none;
}

.journey-field label,
.journey-duration-label,
.journey-passenger-label {
  color: #887f70;
  font-size: 0.69rem;
  font-weight: 700;
}

.journey-field input,
.journey-field select {
  width: 100%;
  min-width: 0;
  height: 26px;
  padding: 0;
  color: #162024;
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 750;
}

.journey-field input::placeholder {
  color: #9e988d;
  font-weight: 600;
}

.journey-field:has(.gps-button) {
  padding-right: 60px;
}

.journey-field.journey-field--airport-origin {
  padding-right: 14px;
}

.journey-field.journey-field--airport-origin .gps-button {
  display: none;
}

.gps-button {
  position: absolute;
  z-index: 45;
  right: 12px;
  bottom: 15px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #172126;
  background: #f4f1ea;
  border: 1px solid #dedbd3;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(22, 32, 36, 0.08);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gps-button:hover {
  color: #071820;
  background: #f1b24a;
  border-color: #f1b24a;
  transform: translateY(-1px);
}

.gps-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gps-button span {
  display: none;
}

.gps-button[data-state="loading"] svg {
  animation: gps-locate 900ms linear infinite;
}

.gps-button[data-state="success"] {
  color: #071820;
  background: #f1b24a;
  border-color: #f1b24a;
}

.gps-button[data-state="error"] {
  color: #a72828;
  background: #fff1f1;
  border-color: #e8b4b4;
}

@keyframes gps-locate {
  to {
    transform: rotate(360deg);
  }
}

body.location-map-open {
  overflow: hidden;
}

html.viamu-datetime-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

body.viamu-datetime-scroll-locked {
  position: fixed;
  top: var(--viamu-datetime-scroll-offset, 0);
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.viamu-datetime-scroll-locked .viamu-datetime-popover:not([hidden]) {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.location-map-modal[hidden] {
  display: none !important;
}

.location-map-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 15, 20, 0.72);
  backdrop-filter: blur(8px);
}

.location-map-window {
  width: min(650px, 100%);
  overflow: hidden;
  background: #f9f8f4;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
  animation: location-map-in 220ms ease-out both;
}

.location-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 16px;
  color: #f8f7f2;
  background: #071820;
}

.location-map-kicker {
  display: block;
  margin-bottom: 3px;
  color: #f1b24a;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-map-header h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

.location-map-close,
.location-map-external {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #071820;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(7, 24, 32, 0.18);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.location-map-close {
  position: relative;
  box-sizing: border-box;
  padding: 0;
  aspect-ratio: 1;
  font-size: 0;
  line-height: 0;
}

.location-map-close::before,
.location-map-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2.5px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.location-map-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.location-map-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.location-map-close:hover,
.location-map-external:hover {
  color: #071820;
  background: #f1b24a;
}

.location-map-shell {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(241, 178, 74, 0.14), transparent 45%),
    #e8e7e2;
}

.location-map-canvas {
  position: absolute;
  inset: 0;
}

.location-map-canvas.is-leaflet.location-map-leaflet-picking {
  cursor: crosshair;
}

.location-map-canvas.is-unavailable {
  opacity: 0.28;
  background:
    linear-gradient(30deg, transparent 48%, #c9c8c2 49%, #c9c8c2 51%, transparent 52%) 0 0 / 42px 42px,
    #eeede8;
}

.location-map-loading,
.location-map-unavailable {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  max-width: 320px;
  place-content: center;
  justify-items: center;
  gap: 12px;
  margin: auto;
  padding: 28px;
  color: #33454b;
  text-align: center;
  font-weight: 750;
}

.location-map-loading[hidden],
.location-map-unavailable[hidden] {
  display: none;
}

.location-map-pick-hint {
  position: absolute;
  z-index: 5;
  top: 16px;
  left: 50%;
  max-width: calc(100% - 140px);
  padding: 9px 13px;
  color: #f8f7f2;
  background: #071820;
  border: 1px solid rgba(241, 178, 74, 0.5);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(7, 24, 32, 0.24);
  font-size: 0.76rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.location-map-modal.is-picking .location-map-pick-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

.location-map-modal.is-picking .location-map-shell {
  box-shadow: inset 0 0 0 3px #f1b24a;
}

.location-map-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(7, 24, 32, 0.16);
  border-top-color: #f1b24a;
  border-radius: 50%;
  animation: gps-locate 800ms linear infinite;
}

.location-map-card {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 13px 16px;
  color: #071820;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(7, 24, 32, 0.1);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(7, 24, 32, 0.2);
  backdrop-filter: blur(8px);
}

.location-map-card span,
.location-map-card small,
.location-map-footer span {
  display: block;
  color: #718086;
  font-size: 0.72rem;
  font-weight: 750;
}

.location-map-card strong {
  display: block;
  margin: 2px 0;
  font-size: 0.98rem;
}

.location-map-external {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  text-decoration: none;
}

.location-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px 20px;
}

.location-map-footer strong {
  display: block;
  margin-top: 3px;
  color: #172126;
  font-size: 0.92rem;
}

.location-map-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-map-actions .button {
  min-height: 44px;
  white-space: nowrap;
}

.location-map-actions [aria-pressed="true"] {
  color: #f8f7f2;
  background: #071820;
  border-color: #071820;
}

@keyframes location-map-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .location-map-modal {
    padding: 10px;
  }

  .location-map-window {
    border-radius: 19px;
  }

  .location-map-shell {
    min-height: 300px;
  }

  .location-map-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .location-map-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .location-map-footer .button {
    width: 100%;
  }
}

.viamu-place-autocomplete {
  position: relative;
  z-index: 35;
  display: block;
  width: 100%;
  color: #162024;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 750;
  line-height: 1.25;
}

.maps-autocomplete-ready:has(.viamu-place-suggestions:not([hidden])) {
  z-index: 120;
}

.viamu-place-suggestions {
  position: absolute;
  z-index: 150;
  top: calc(100% + 10px);
  left: 0;
  width: min(470px, calc(100vw - 32px));
  max-height: min(465px, 62vh);
  overflow-x: hidden;
  overflow-y: auto;
  color: #172126;
  background: #fff;
  border: 1px solid #e5e1d9;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(7, 20, 27, 0.32);
  overscroll-behavior: contain;
}

.viamu-place-suggestions[hidden] {
  display: none !important;
}

.viamu-place-status {
  padding: 17px 18px;
  color: #766f63;
  font-size: 0.82rem;
  font-weight: 650;
}

.viamu-place-results {
  display: grid;
}

.viamu-place-suggestion {
  display: grid;
  width: 100%;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  color: #172126;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #efede8;
  grid-template-columns: 46px minmax(0, 1fr);
  transition: background-color 140ms ease, transform 140ms ease;
}

.viamu-place-suggestion:hover,
.viamu-place-suggestion.is-active {
  background: #f5f2eb;
}

.viamu-place-suggestion:active {
  transform: scale(0.995);
}

.viamu-place-suggestion-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #172126;
  background: #f0ede5;
  border-radius: 13px;
  font-size: 1.12rem;
  font-weight: 900;
}

.viamu-place-suggestion-icon svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viamu-place-suggestion-icon[data-kind="airport"],
.viamu-place-suggestion-icon[data-kind="rail"],
.viamu-place-suggestion-icon[data-kind="bus"],
.viamu-place-suggestion-icon[data-kind="port"] {
  color: #24343a;
  background: #eeece6;
}

.viamu-place-suggestion-icon[data-kind="airport"] {
  color: #24343a;
  background: #eeece6;
}

.viamu-place-suggestion-icon[data-kind="airport"] svg {
  fill: currentColor;
  stroke: none;
}

.viamu-place-suggestion-icon[data-kind="hotel"] {
  color: #7f5520;
  background: #fbefdc;
}

.viamu-place-suggestion-icon[data-kind="landmark"] {
  color: #8a611d;
  background: #fff2d2;
}

.viamu-place-suggestion-icon[data-kind="park"] {
  color: #236247;
  background: #e5f3eb;
}

.viamu-place-suggestion-icon[data-kind="place"] {
  color: #9c6a18;
  background: #fff4dd;
}

.viamu-place-suggestion-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.viamu-place-suggestion-copy strong,
.viamu-place-suggestion-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viamu-place-suggestion-copy strong {
  color: #172126;
  font-size: 0.94rem;
  font-weight: 800;
}

.viamu-place-suggestion-copy small {
  color: #8b8375;
  font-size: 0.78rem;
  font-weight: 500;
}

.viamu-place-attribution {
  position: sticky;
  bottom: 0;
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
  padding: 8px 14px;
  color: #6d7779;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #efede8;
  font-size: 0.72rem;
  font-weight: 650;
}

.viamu-place-attribution img {
  width: 120px;
  height: auto;
}

.viamu-place-attribution a {
  color: inherit;
  text-decoration: none;
}

.viamu-place-attribution a:hover {
  color: #0d746e;
  text-decoration: underline;
}

.journey-field > input.maps-invalid {
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(184, 70, 45, 0.5);
}

.field > input.maps-invalid {
  border-color: rgba(184, 70, 45, 0.65);
}

.viamu-place-autocomplete:focus,
.viamu-place-autocomplete:focus-visible,
.viamu-place-autocomplete:focus-within {
  outline: 0 !important;
  box-shadow: none !important;
}

.viamu-place-autocomplete::part(input) {
  width: 100%;
  min-width: 0;
  min-height: 30px;
  padding: 0;
  color: #162024;
  background: transparent;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  font: inherit;
}

.viamu-place-autocomplete::part(focus-ring) {
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.viamu-place-autocomplete::part(prediction-list) {
  z-index: 100;
  width: min(460px, calc(100vw - 32px));
  max-height: 370px;
  margin-top: 14px;
  overflow: hidden;
  color: #172126;
  background: #fff;
  border: 1px solid #e2e0da;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(9, 20, 24, 0.28);
}

.viamu-place-autocomplete::part(prediction-item) {
  min-height: 68px;
  padding: 12px 16px;
  border-bottom: 1px solid #eeece7;
}

.viamu-place-autocomplete::part(prediction-item-selected) {
  background: #f4f1ea;
}

.viamu-place-autocomplete::part(prediction-item-icon) {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #162024;
  background: #f1eee7;
  border-radius: 12px;
}

.viamu-place-autocomplete::part(prediction-item-main-text) {
  color: #172126;
  font-size: 0.94rem;
  font-weight: 800;
}

.viamu-place-autocomplete::part(prediction-item-secondary-text) {
  margin-top: 3px;
  color: #8c8578;
  font-size: 0.8rem;
}

.journey-field:has(.viamu-place-autocomplete:focus-within) {
  background: #fffaf0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #f1b24a;
}

.viamu-place-autocomplete.maps-invalid {
  outline: 0 !important;
  box-shadow: none !important;
}

.journey-field:has(.viamu-place-autocomplete.maps-invalid) {
  background: #fff8f6;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(184, 70, 45, 0.45);
}

.field .viamu-place-autocomplete {
  min-height: 48px;
  padding: 0 12px;
  background-color: #fff;
  border: 1px solid #bfd0ce;
  border-radius: 12px;
  font-weight: 500;
}

.field .viamu-place-autocomplete:focus-within {
  border-color: #f1b24a;
}

.field .viamu-place-autocomplete.maps-invalid {
  border-color: rgba(184, 70, 45, 0.55);
}

.field .viamu-place-autocomplete::part(input) {
  min-height: 46px;
}

.location-field {
  position: relative;
}

.location-field > input,
.location-field .viamu-place-autocomplete::part(input) {
  padding-right: 112px;
}

.location-field .gps-button {
  top: 33px;
  right: 8px;
  bottom: auto;
  width: auto;
  min-width: 94px;
  height: 32px;
  gap: 6px;
  padding: 0 10px;
}

.location-field .gps-button span {
  display: inline;
  font-size: 0.76rem;
  font-weight: 800;
}

.journey-icon {
  position: absolute;
  top: 31px;
  left: 18px;
  color: #f1b24a;
  font-size: 0.78rem;
}

.destination-icon {
  font-size: 0.67rem;
}

.journey-duration {
  overflow: visible;
}

.journey-duration-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  color: #162024;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
}

.journey-duration-trigger strong {
  overflow: hidden;
  font-size: 0.91rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-duration-trigger > span {
  color: #746f65;
  font-size: 1.05rem;
  transition: transform 160ms ease;
}

.journey-duration-trigger[aria-expanded="true"] > span {
  transform: rotate(180deg);
}

.duration-picker {
  position: absolute;
  z-index: 160;
  top: calc(100% + 14px);
  left: 50%;
  width: min(380px, calc(100vw - 32px));
  padding: 20px;
  color: #172126;
  background: #fff;
  border: 1px solid #e6e2da;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(3, 11, 16, 0.34);
  transform: translateX(-50%);
}

.duration-picker[hidden] {
  display: none !important;
}

.duration-picker-heading {
  margin-bottom: 16px;
}

.duration-picker-heading > span {
  display: block;
  margin-bottom: 5px;
  color: #a36e18;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.duration-picker-heading h3 {
  margin: 0;
  color: #172126;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.duration-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.duration-options button {
  display: grid;
  min-height: 64px;
  place-content: center;
  gap: 1px;
  padding: 8px;
  color: #172126;
  background: #f7f5f0;
  border: 1px solid #e6e2da;
  border-radius: 12px;
  text-align: center;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.duration-options button:hover {
  background: #f8e7c7;
  border-color: #f1b24a;
  transform: translateY(-1px);
}

.duration-options button[aria-pressed="true"] {
  color: #fff;
  background: #172126;
  border-color: #172126;
}

.duration-options strong {
  font-size: 1rem;
  line-height: 1;
}

.duration-options span {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.72;
}

.duration-custom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e8e5df;
}

.duration-custom-label {
  display: block;
  color: #172126;
  font-size: 0.82rem;
  font-weight: 850;
}

.duration-custom > p {
  margin: 3px 0 10px;
  color: #887f70;
  font-size: 0.72rem;
}

.duration-unit-toggle {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 4px;
  background: #f2f0eb;
  border-radius: 11px;
  grid-template-columns: 1fr 1fr;
}

.duration-unit-toggle button {
  min-height: 36px;
  padding: 0 12px;
  color: #746f65;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 850;
}

.duration-unit-toggle button[aria-pressed="true"] {
  color: #fff;
  background: #172126;
  box-shadow: 0 5px 14px rgba(23, 33, 38, 0.18);
}

.duration-custom-stepper {
  display: grid;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 6px;
  background: #f8f7f3;
  border: 1px solid #dedbd3;
  border-radius: 12px;
  grid-template-columns: 40px 1fr 40px;
}

.duration-custom-stepper button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #172126;
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 50%;
  font-size: 1.1rem;
  place-items: center;
}

.duration-custom-stepper button:hover:not(:disabled) {
  background: #f1b24a;
  border-color: #f1b24a;
}

.duration-custom-stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.duration-custom-stepper output {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 850;
}

.duration-custom-apply {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 14px;
  color: #172126;
  background: #f1b24a;
  border: 0;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 850;
}

.duration-custom-apply:hover {
  background: #ffc765;
}

.journey-passengers {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 10px;
}

.passenger-stepper {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.passenger-stepper button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #1c2528;
  background: #fff;
  border: 1px solid #d8d8d5;
  border-radius: 50%;
  line-height: 1;
  place-items: center;
}

.passenger-stepper button:hover {
  color: #fff;
  background: #111820;
  border-color: #111820;
}

.passenger-stepper output {
  min-width: 16px;
  text-align: center;
  font-weight: 850;
}

.journey-submit {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 46px;
  color: #101820;
  background: #f1b24a;
  border: 0;
  border-radius: 13px;
  font-weight: 850;
  text-align: center;
}

.journey-submit:hover {
  background: #ffc765;
}

.journey-submit [data-submit-label] {
  position: absolute;
  inset-inline: 46px;
  text-align: center;
}

.journey-submit span:last-child {
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.premium-proof {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.79rem;
  font-weight: 700;
}

.premium-proof span {
  display: inline-flex;
  align-items: center;
}

.premium-proof span:not(:last-child)::after {
  margin: 0 13px;
  color: #f1b24a;
  content: "•";
}

.premium-intro {
  padding: 90px 0 35px;
}

.premium-intro-grid {
  display: grid;
  align-items: end;
  gap: 70px;
  grid-template-columns: 1.1fr 0.9fr;
}

.premium-intro h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.premium-intro-grid > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1.05rem;
}

.premium-fleet {
  padding-top: 60px;
}

.fleet-card {
  position: relative;
  min-height: 360px;
  padding-top: 68px;
  overflow: hidden;
}

.fleet-card.featured {
  color: #fff;
  background: #0b2027;
  border-color: #0b2027;
  transform: translateY(-14px);
}

.fleet-card.featured .muted {
  color: #b9c9ca;
}

.fleet-card.featured .text-link {
  color: #f1b24a;
}

.fleet-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #d9e2e0;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.featured .fleet-number {
  color: rgba(255, 255, 255, 0.14);
}

.fleet-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 16px 0 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.82rem;
}

.featured .fleet-specs {
  color: #b9c9ca;
  border-color: rgba(255, 255, 255, 0.12);
}

.fleet-specs li::before {
  margin-right: 6px;
  color: #f1b24a;
  content: "✓";
}

.premium-steps article {
  padding: 28px 28px 12px 0;
  border-top: 1px solid #bfcfcd;
}

.step-index {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--brand);
  font-weight: 850;
}

.premium-testimonial {
  padding-bottom: 40px;
}

.testimonial-panel {
  display: grid;
  gap: 60px;
  padding: 62px;
  color: #fff;
  background: #0b2027;
  border-radius: 30px;
  grid-template-columns: 1.35fr 0.65fr;
}

.testimonial-panel blockquote {
  max-width: 730px;
  margin: 26px 0;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.testimonial-panel p {
  color: #d0dcdd;
}

.testimonial-panel p span {
  color: #8ea4a7;
}

.testimonial-rating {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-rating strong {
  font-size: 4.8rem;
  letter-spacing: -0.08em;
  line-height: 1;
}

.testimonial-rating small {
  margin: 6px 0 24px;
  color: #8ea4a7;
}

.premium-cta {
  background:
    radial-gradient(circle at 80% 10%, rgba(241, 178, 74, 0.14), transparent 20rem),
    #071820;
}

@media (max-width: 1100px) {
  .journey-form {
    gap: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-field,
  .journey-extras,
  .journey-passengers {
    min-height: 78px;
    border-bottom: 1px solid #e4e5e5;
  }

  .journey-submit {
    min-height: 54px;
    grid-column: 1 / -1;
  }

  .premium-hero {
    min-height: 980px;
  }

  .premium-hero-content {
    padding-bottom: 72px;
  }
}

@media (max-width: 920px) {
  .home-header .nav {
    min-height: 88px;
  }

  .home-brand {
    top: 14px;
    font-size: 1.85rem;
  }

  .home-brand .brand-mark {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .home-nav-links {
    top: 88px;
    left: 0;
    margin: 0;
    transform: none;
    white-space: normal;
  }

  .home-nav-actions {
    top: 236px;
    right: 0;
    left: 0;
    margin: 0;
  }

  .home-header .nav-toggle {
    margin-left: auto;
  }

  .home-header .nav-toggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  .home-header .nav-links,
  .home-header .nav-actions {
    color: #fff;
    background: #0b2027;
    border-color: rgba(255, 255, 255, 0.12);
  }

  .home-header .nav-links {
    border-radius: 16px 16px 0 0;
  }

  .home-header .nav-actions {
    border-radius: 0 0 16px 16px;
  }

  .home-language {
    padding: 10px;
  }

  .home-header .home-nav-actions {
    top: 18px;
    right: 58px;
    left: auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-header .home-nav-links {
    border-radius: 16px;
  }

  .home-header.is-scrolled .nav.open .home-nav-links {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition:
      opacity 220ms ease,
      transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  .premium-intro-grid,
  .testimonial-panel {
    grid-template-columns: 1fr;
  }

  .testimonial-rating {
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .home-header .nav {
    min-height: 88px;
  }

  .home-brand {
    top: 18px;
    padding-bottom: 0;
    gap: 8px;
    font-size: 1.2rem;
  }

  .home-brand .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.92rem;
  }

  .home-header .home-nav-actions {
    top: 21px;
    right: 52px;
    gap: 4px;
  }

  .home-header .nav-toggle {
    position: absolute;
    top: 18px;
    right: 0;
    margin: 0;
  }

  .home-header .home-language {
    min-height: 34px;
    gap: 3px;
    padding: 5px;
    font-size: 0.68rem;
  }

  .home-header .home-language .language-chevron {
    display: none;
  }

  .home-header .home-login,
  .home-header .home-signup {
    min-height: 34px;
    padding: 5px 8px;
    border-radius: 10px;
    font-size: 0.68rem;
  }

  .home-header .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .premium-hero {
    min-height: 1050px;
    background-position: 60% center;
  }

  .premium-hero-content {
    padding-top: 136px;
    padding-bottom: 52px;
  }

  .premium-hero h1 {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .premium-hero-copy > p:last-child {
    font-size: 0.95rem;
  }

  .journey-panel {
    padding-top: 40px;
  }

  .journey-tabs {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
  }

  .journey-tab {
    flex: 0 0 auto;
    justify-content: center;
  }

  .journey-form {
    padding: 8px;
    grid-template-columns: 1fr;
  }

  .journey-field,
  .journey-extras,
  .journey-passengers {
    min-height: 70px;
    border-right: 0;
  }

  #home-journey-form > .journey-field:has(#home-from),
  #home-journey-form > .journey-field:has(#home-to) {
    min-height: 72px;
    margin-bottom: 8px;
    padding-block: 9px 7px;
    background: #fbfbfa;
    border: 1px solid #e4e3df;
    border-radius: 12px;
  }

  #home-journey-form > .journey-field:has(#home-from):focus-within,
  #home-journey-form > .journey-field:has(#home-to):focus-within {
    background: #fff;
    border-color: #d7d4cd;
    box-shadow: none;
  }

  .journey-submit {
    min-height: 54px;
    grid-column: auto;
  }

  .premium-proof {
    flex-wrap: wrap;
    gap: 5px 0;
  }

  .premium-intro {
    padding-top: 68px;
  }

  .premium-intro-grid {
    gap: 28px;
  }

  .fleet-card.featured {
    transform: none;
  }

  .testimonial-panel {
    gap: 30px;
    padding: 36px 24px;
  }
}

/* Homepage conversion and service-story enhancements */
.journey-extras {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  padding: 8px 12px;
  color: #172126;
  border-right: 1px solid #e4e5e5;
  order: 1;
}

.pickup-control {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 1 50%;
  align-items: center;
}

.journey-passengers {
  order: 2;
}

.journey-submit {
  order: 3;
}

.return-control {
  position: relative;
  display: flex;
  width: 100%;
  flex: 1 1 50%;
  align-items: center;
}

.return-control[hidden],
.pickup-control[hidden],
.return-fields[hidden] {
  display: none !important;
}

.pickup-toggle {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: #172126;
  background: transparent;
  border: 0;
  border-radius: 12px;
  text-align: left;
}

.pickup-toggle:hover,
.pickup-toggle:focus-visible,
.pickup-toggle[aria-expanded="true"] {
  background: #f8f6f1;
}

.pickup-toggle-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: #111820;
  background: #f1b24a;
  border-radius: 50%;
  font-size: 0.88rem;
  place-items: center;
}

.pickup-toggle-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.pickup-toggle-copy > span,
.pickup-schedule-fields label {
  color: #887f70;
  font-size: 0.68rem;
  font-weight: 750;
}

.pickup-toggle-copy strong {
  overflow: hidden;
  color: #172126;
  font-size: 0.78rem;
  white-space: nowrap;
}

.pickup-toggle > span:last-child {
  margin-left: auto;
  color: #756f64;
}

.pickup-picker {
  position: absolute;
  z-index: 145;
  top: calc(100% + 10px);
  left: 0;
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  background: #fff;
  border: 1px solid #e2ded6;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(7, 24, 32, 0.2);
}

.pickup-picker[hidden] {
  display: none;
}

/* A viewport-centered calendar is portaled to body. Hide the inline shell so
   its heading and fields cannot ghost through underneath the real sheet. */
.pickup-picker.is-calendar-portaled {
  visibility: hidden;
  pointer-events: none;
}

.pickup-picker-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #172126;
  font-size: 0.82rem;
  font-weight: 800;
}

.pickup-picker-heading button {
  min-height: 34px;
  padding: 6px 10px;
  color: #172126;
  background: #f8e7c7;
  border: 1px solid #f1b24a;
  border-radius: 8px;
  font-weight: 800;
}

.pickup-picker-heading button[aria-pressed="false"] {
  color: #746f65;
  background: #fff;
  border-color: #e2ded6;
}

.pickup-schedule-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #ece8e0;
  color: #172126;
}

.pickup-schedule-option input {
  accent-color: #172126;
}

.pickup-schedule-option span {
  display: grid;
  gap: 2px;
}

.pickup-schedule-option small {
  color: #887f70;
}

.pickup-schedule-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 0.8fr;
  padding-top: 2px;
}

.pickup-schedule-fields > div {
  display: grid;
  gap: 5px;
}

.pickup-schedule-fields input {
  min-height: 40px;
  padding: 6px 8px;
  color: #172126;
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 8px;
  color-scheme: light;
}

.return-toggle {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  padding: 8px 10px;
  color: #887f70;
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.return-toggle:hover,
.return-toggle:focus-visible {
  color: #111820;
  background: #f8e7c7;
}

.return-toggle [data-return-symbol] {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: #111820;
  background: #f1b24a;
  border-radius: 50%;
  font-size: 1rem;
  place-items: center;
}

.return-toggle [data-return-label] {
  white-space: nowrap;
}

.return-toggle[aria-expanded="true"] {
  position: absolute;
  z-index: 146;
  top: 7px;
  right: 7px;
  width: 30px;
  min-height: 30px;
  padding: 0;
  justify-content: center;
  color: #6d665b;
  background: transparent;
}

.return-toggle[aria-expanded="true"] [data-return-label] {
  display: none;
}

.return-toggle[aria-expanded="true"] [data-return-symbol] {
  width: 28px;
  height: 28px;
  background: #f3f1ec;
  font-size: 0.9rem;
}

.return-fields {
  display: flex;
  width: 100%;
  align-items: center;
}

.return-fields label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
}

.return-fields input {
  min-height: 34px;
  padding: 5px 8px;
  color: #fff;
  color-scheme: dark;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-size: 0.78rem;
}

.return-picker-trigger {
  display: inline-grid;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 8px 38px 8px 8px;
  color: #172126;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
}

.return-picker-trigger:hover,
.return-picker-trigger:focus-visible {
  background: #f8f6f1;
  border-color: #e6e1d8;
}

.return-picker-trigger > span:first-child {
  color: #887f70;
  font-size: 0.68rem;
  font-weight: 750;
}

.return-picker-trigger strong {
  font-size: 0.88rem;
}

.return-picker-trigger > span:last-child {
  position: absolute;
  right: 14px;
  align-self: center;
  color: #887f70;
  font-size: 1.15rem;
}

.return-picker {
  position: absolute;
  z-index: 140;
  top: calc(100% + 14px);
  left: 0;
  width: min(620px, calc(100vw - 40px));
  padding: 18px 20px 16px;
  color: #172126;
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(3, 11, 16, 0.34);
}

.return-picker[hidden] {
  display: none !important;
}

.return-picker-header {
  display: grid;
  align-items: center;
  margin-bottom: 10px;
  grid-template-columns: 36px 1fr 1fr 36px;
}

.return-picker-header h3 {
  margin: 0;
  font-size: 0.98rem;
  text-align: center;
}

.return-picker-header button {
  display: grid;
  width: 34px;
  height: 34px;
  color: #172126;
  background: #f3f1ec;
  border: 0;
  border-radius: 50%;
  font-size: 1.1rem;
  place-items: center;
}

.return-picker-header button:hover:not(:disabled) {
  background: #f1b24a;
}

.return-picker-header button:disabled {
  cursor: default;
  opacity: 0;
}

.return-calendar-panels {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.return-calendar-weekdays,
.return-calendar-days {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(7, 1fr);
}

.return-calendar-weekdays {
  margin-bottom: 8px;
}

.return-calendar-weekdays span {
  color: #948d80;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.return-calendar-days button,
.return-calendar-spacer {
  aspect-ratio: 1;
}

.return-calendar-days button {
  display: grid;
  min-width: 0;
  color: #22272d;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 0.78rem;
  place-items: center;
}

.return-calendar-days button:hover:not(:disabled) {
  background: #f8e7c7;
}

.return-calendar-days button.is-selected {
  color: #fff;
  background: #172126;
  box-shadow: none;
  font-weight: 850;
}

.return-calendar-days button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.return-picker-details {
  display: grid;
  gap: 20px;
  margin-top: 14px;
  border-top: 1px solid #e8e5df;
  grid-template-columns: 1fr;
}

.return-date-details,
.return-time-details {
  display: grid;
}

.return-date-summary {
  position: relative;
  display: grid;
  min-height: 60px;
  align-content: center;
  padding: 9px 8px 9px 20px;
  border-bottom: 1px solid #ece9e3;
}

.return-date-summary > span:not(.return-date-dot),
.return-time-control span,
.return-time-control label {
  color: #8b8376;
  font-size: 0.72rem;
  font-weight: 750;
}

.return-date-summary strong {
  margin-top: 4px;
  font-size: 0.88rem;
}

.return-date-dot {
  position: absolute;
  top: 18px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 2px solid #172126;
  border-radius: 50%;
}

.return-date-dot.pickup {
  background: #172126;
}

.return-time-control {
  display: grid;
  min-height: 60px;
  align-content: center;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px solid #ece9e3;
}

.return-time-control input,
.return-time-display {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  padding: 7px 10px;
  color: #172126;
  color-scheme: light;
  background: #f3f1ec;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
}

.return-time-display {
  font-weight: 500;
}

.airport-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
}

.airport-note span {
  margin-right: 6px;
  color: #f1b24a;
}

.service-highlights {
  overflow: hidden;
  padding: 72px 0;
  background: #fff;
}

.service-highlights .container {
  /* Anchor the strip on the left in every locale; cards retain RTL text. */
  direction: ltr;
  width: 100%;
  max-width: none;
  padding: 16px 0 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.service-highlight-grid {
  display: flex;
  width: max-content;
  align-items: flex-start;
  gap: 20px;
  animation: service-card-flow 42s linear infinite;
  direction: ltr;
  will-change: transform;
}

.service-highlight-card {
  position: relative;
  display: flex;
  min-height: 250px;
  width: clamp(300px, 26vw, 390px);
  flex: 0 0 clamp(300px, 26vw, 390px);
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px 24px;
  overflow: hidden;
  background: #f1f2f4;
  border: 1px solid transparent;
  border-radius: 18px;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition:
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 360ms ease,
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .service-highlight-card:hover {
    border-color: rgba(241, 178, 74, 0.65);
    box-shadow:
      0 18px 38px rgba(7, 24, 32, 0.16),
      inset 0 0 0 1px rgba(241, 178, 74, 0.16);
    transform: translate3d(0, -5px, 0) scale(1.018);
  }
}

.service-highlight-card h2 {
  max-width: 100%;
  margin: 0 0 12px;
  color: #151d2b;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.service-highlight-card p {
  max-width: 90%;
  margin: 0;
  color: #5f6b7d;
  font-size: 0.96rem;
  line-height: 1.55;
}

.service-highlight-details {
  margin-top: auto;
  padding: 18px 0 0;
  color: #151d2b;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(21, 29, 43, 0.16);
  border-radius: 0;
}

.service-highlight-details summary {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.service-highlight-details summary::-webkit-details-marker {
  display: none;
}

.service-highlight-details summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.service-highlight-details[open] summary svg {
  transform: rotate(180deg);
}

.service-highlight-details > div {
  padding-top: 14px;
}

.service-highlight-details > div p {
  max-width: none;
  font-size: 0.86rem;
}

.service-highlight-details > div a {
  display: inline-flex;
  margin-top: 14px;
  color: #0a625c;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@keyframes service-card-flow {
  to {
    transform: translate3d(var(--service-loop-distance, -50%), 0, 0);
  }
}

@media (max-width: 1100px) {
  .service-highlight-grid {
    animation-duration: 36s;
  }
}

@media (max-width: 620px) {
  .service-highlights {
    padding: 46px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-highlights .container {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .service-highlight-grid {
    animation: none;
  }
}

.promise-bar {
  position: relative;
  z-index: 1;
  padding: 26px 0 28px;
  color: #15181d;
  background: #f1b24a;
}

.promise-label {
  margin: 0 0 18px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.promise-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
}

.promise-grid article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 4px 24px;
  border-left: 1px solid rgba(17, 24, 32, 0.2);
}

.promise-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.promise-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: #f1b24a;
  background: #111820;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 900;
  place-items: center;
}

.promise-grid strong,
.promise-grid small {
  display: block;
}

.promise-grid strong {
  margin-bottom: 3px;
  font-size: 0.84rem;
}

.promise-grid small {
  max-width: 210px;
  color: rgba(17, 24, 32, 0.68);
  font-size: 0.72rem;
  line-height: 1.4;
}

.service-stories {
  padding-top: 54px;
}

.story-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
}

.story-card {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: 30px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 25px;
  isolation: isolate;
}

.story-airport {
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(241, 178, 74, 0.2), transparent 15rem),
    #0b2027;
}

.story-city {
  color: #172126;
  background: #efe8da;
}

.story-hourly {
  color: #fff;
  background: #0f766e;
}

.story-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-index {
  color: currentColor;
  font-size: 0.74rem;
  font-weight: 900;
  opacity: 0.55;
}

.story-tag {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-city .story-tag {
  background: rgba(23, 33, 38, 0.06);
  border-color: rgba(23, 33, 38, 0.12);
}

.story-copy {
  position: relative;
  z-index: 2;
}

.story-copy > p {
  margin-bottom: 12px;
  color: #f1b24a;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-city .story-copy > p {
  color: #8d5e17;
}

.story-hourly .story-copy > p {
  color: #ffe0a9;
}

.story-copy h3 {
  max-width: 440px;
  margin-bottom: 24px;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.08;
}

.story-copy a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 850;
}

.story-copy a span {
  transition: transform 180ms ease;
}

.story-copy a:hover span {
  transform: translateX(4px);
}

.story-orbit {
  position: absolute;
  top: 42px;
  right: -90px;
  z-index: 1;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.story-orbit::before,
.story-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.story-orbit::before {
  inset: 46px;
}

.story-orbit::after {
  inset: 96px;
  background: #f1b24a;
  border: 9px solid rgba(255, 255, 255, 0.08);
}

.story-route {
  position: absolute;
  top: 100px;
  right: 22px;
  left: 22px;
  z-index: 1;
  height: 150px;
  border-bottom: 2px dashed rgba(23, 33, 38, 0.2);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.story-route i {
  position: absolute;
  width: 15px;
  height: 15px;
  background: #0f766e;
  border: 4px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.story-route i:first-child {
  bottom: -8px;
  left: 0;
}

.story-route i:nth-child(2) {
  bottom: 32px;
  left: 50%;
}

.story-route i:last-child {
  right: 0;
  bottom: -8px;
  background: #f1b24a;
}

.story-clock {
  position: absolute;
  top: 72px;
  right: -52px;
  z-index: 1;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.story-clock::before,
.story-clock::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  content: "";
  background: rgba(255, 255, 255, 0.52);
  border-radius: 2px;
  transform-origin: bottom center;
}

.story-clock::before {
  height: 72px;
  transform: translate(-50%, -100%) rotate(25deg);
}

.story-clock::after {
  height: 50px;
  transform: translate(-50%, -100%) rotate(115deg);
}

.story-clock i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #f1b24a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.floating-support {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  min-height: 48px;
  align-items: center;
  width: 48px;
  height: 48px;
  justify-content: center;
  padding: 7px;
  color: #111820;
  background: #f1b24a;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  font-size: 0.78rem;
}

.floating-support strong {
  display: none;
}

.floating-support span {
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #111820;
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.floating-support:hover {
  background: #ffc765;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .journey-extras {
    align-items: flex-start;
    flex-direction: column;
  }

  .promise-grid,
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .promise-grid article:nth-child(n + 3) {
    margin-top: 18px;
  }

  .story-airport {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .return-control,
  .return-fields {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .return-fields input {
    width: 100%;
  }

  .return-picker-trigger {
    width: 100%;
  }

  .return-picker {
    width: calc(100vw - 36px);
    max-height: 76vh;
    padding: 18px;
    overflow-y: auto;
  }

  .return-calendar-weekdays,
  .return-calendar-days {
    gap: 2px;
  }

  .return-picker-header {
    grid-template-columns: 36px 1fr 36px;
  }

  .return-picker-header h3:nth-of-type(2),
  .return-calendar-panel:nth-child(2) {
    display: none;
  }

  .return-calendar-panels {
    grid-template-columns: 1fr;
  }

  .return-picker-details {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .promise-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .promise-grid article,
  .promise-grid article:first-child,
  .promise-grid article:nth-child(3) {
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(17, 24, 32, 0.18);
    border-left: 0;
  }

  .promise-grid article:first-child {
    border-top: 0;
  }

  .story-airport {
    grid-column: auto;
  }

  .story-card {
    min-height: 390px;
  }

}

@media (min-width: 840px) and (max-width: 1100px) {
  .journey-form {
    grid-template-columns: 1.12fr 1.12fr 1.05fr 0.7fr 150px;
  }

  .journey-form:has([data-hourly-field]:not([hidden])) {
    grid-template-columns: 1.4fr 1fr 0.7fr 150px;
  }

  .journey-field,
  .journey-extras,
  .journey-passengers {
    min-height: 66px;
    border-bottom: 0;
  }

  .journey-submit {
    min-height: 54px;
    grid-column: auto;
  }
}

html[dir="rtl"] .service-highlight-card h2 {
  width: 100%;
  max-width: none;
}

html[dir="rtl"] .service-highlight-card {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .journey-field {
  padding-right: 44px;
  padding-left: 14px;
  border-right: 0;
  border-left: 1px solid #e4e5e5;
}

html[dir="rtl"] .journey-field:has(.gps-button) {
  padding-right: 44px;
  padding-left: 60px;
}

html[dir="rtl"] .journey-field.journey-field--airport-origin {
  padding-right: 44px;
  padding-left: 14px;
}

html[dir="rtl"] .journey-icon {
  right: 18px;
  left: auto;
}

html[dir="rtl"] .gps-button {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .return-picker-trigger {
  padding-right: 8px;
  padding-left: 38px;
  text-align: right;
}

html[dir="rtl"] .return-picker-trigger > span:last-child {
  right: auto;
  left: 14px;
}

html[dir="rtl"] .location-field > input,
html[dir="rtl"] .location-field .viamu-place-autocomplete::part(input) {
  padding-right: 12px;
  padding-left: 112px;
}

html[dir="rtl"] .location-field .gps-button {
  right: auto;
  left: 8px;
}

/* Passenger details and payment checkout */
.checkout-page {
  min-height: 100vh;
  color: #142128;
  background: #f5f6f4;
}

.checkout-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #dfe5e2;
}

.checkout-header .route-results-nav {
  min-height: 78px;
}

.checkout-main {
  padding: 34px 0 84px;
}

.checkout-progress {
  display: flex;
  max-width: 700px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  color: #7b898b;
  font-size: 0.78rem;
  font-weight: 800;
}

.checkout-progress span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.checkout-progress span:not(:last-child)::after {
  width: clamp(28px, 8vw, 110px);
  height: 1px;
  margin-left: 4px;
  background: #cfd8d5;
  content: "";
}

.checkout-progress b {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  background: #e6ebe9;
  border-radius: 50%;
  font-size: 0.72rem;
  place-items: center;
}

.checkout-progress .is-complete,
.checkout-progress .is-current {
  color: #142128;
}

.checkout-progress .is-complete b {
  color: #fff;
  background: #0f766e;
}

.checkout-progress .is-current b {
  color: #142128;
  background: #f1b24a;
}

.checkout-layout {
  display: grid;
  align-items: start;
  gap: 30px;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.65fr);
}

.checkout-card,
.checkout-summary {
  background: #fff;
  border: 1px solid #dfe5e2;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(16, 42, 46, 0.07);
}

.checkout-card {
  padding: clamp(24px, 4vw, 46px);
}

.checkout-heading {
  margin-bottom: 28px;
}

.checkout-heading .eyebrow {
  margin-bottom: 8px;
}

.checkout-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
}

.checkout-heading > p:last-child {
  max-width: 640px;
  margin: 0;
  color: #657579;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 26px;
}

.request-pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #142128;
  background: #fff;
  border: 1px solid #cbd5d2;
  border-radius: 999px;
  font-weight: 750;
}

.request-pill:hover,
.request-pill:focus-visible,
.request-pill[aria-expanded="true"] {
  background: #f8f3e8;
  border-color: #d7a750;
}

.request-pill span {
  font-size: 1.2rem;
  font-weight: 400;
}

.request-panel {
  margin-bottom: 18px;
  padding: 20px;
  background: #f7f8f6;
  border: 1px solid #e1e6e3;
  border-radius: 16px;
}

.request-panel[hidden] {
  display: none;
}

.request-panel .field textarea {
  min-height: 105px;
}

.form-section {
  margin: 0;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid #e1e6e3;
}

.form-section h2,
.form-section legend {
  margin: 0 0 20px;
  padding: 0;
  color: #101b20;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.passenger-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phone-field {
  position: relative;
}

.phone-control {
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: stretch;
  overflow: hidden;
  background: #f8f8f7;
  border: 1px solid #e0e4e2;
  border-radius: 12px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.phone-control:focus-within {
  background: #fff;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.phone-country-trigger {
  display: inline-flex;
  min-width: 122px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  color: #142128;
  background: transparent;
  border: 0;
  border-right: 1px solid #dce2df;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.phone-country-trigger:hover,
.phone-country-trigger[aria-expanded="true"] {
  background: #f1f3f1;
}

.phone-country-trigger:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(241, 178, 74, 0.6);
  outline-offset: -3px;
}

.phone-country-flag,
.phone-country-option-flag {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: cover;
  border: 1px solid rgba(20, 33, 40, 0.12);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(20, 33, 40, 0.12);
}

.phone-country-chevron {
  color: #6e7d80;
  font-size: 0.9rem;
  transition: transform 160ms ease;
}

.phone-country-trigger[aria-expanded="true"] .phone-country-chevron {
  transform: rotate(180deg);
}

.phone-control > input[type="tel"] {
  min-width: 0;
  min-height: 54px;
  flex: 1 1 auto;
  padding-inline: 15px;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
}

.phone-control > input[type="tel"]:focus {
  background: transparent;
  border: 0;
  outline: 0;
}

.phone-country-menu {
  position: absolute;
  z-index: 85;
  top: 82px;
  right: 0;
  left: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c7d0cd;
  border-radius: 13px;
  box-shadow: 0 22px 55px rgba(16, 42, 46, 0.22);
}

.phone-country-menu[hidden] {
  display: none;
}

.phone-country-search {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #e1e6e3;
}

.phone-country-search > span {
  color: #6f7e80;
  font-size: 1.25rem;
}

.phone-field .phone-country-search input {
  min-height: 42px;
  padding: 8px 10px;
  background: #f7f8f6;
  border: 1px solid #dce2df;
  border-radius: 9px;
}

.phone-field .phone-country-search input:focus {
  background: #fff;
  border-color: #0f766e;
  outline: 2px solid rgba(15, 118, 110, 0.12);
}

.phone-country-options {
  max-height: 285px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px;
}

.phone-country-option {
  display: grid;
  width: 100%;
  min-height: 45px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: #142128;
  background: transparent;
  border: 0;
  border-radius: 9px;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  text-align: left;
}

.phone-country-option:hover,
.phone-country-option:focus-visible {
  background: #f1f4f2;
  outline: 0;
}

.phone-country-option[aria-selected="true"] {
  color: #0b625b;
  background: #e7f3f0;
}

.phone-country-option strong {
  color: #5f6f72;
  font-size: 0.86rem;
  font-weight: 800;
}

.phone-country-empty {
  margin: 0;
  padding: 24px;
  color: #748285;
  text-align: center;
}

.passenger-fields .field input,
.passenger-fields .field select,
.request-panel .field select,
.request-panel .field textarea {
  min-height: 56px;
  background: #f8f8f7;
  border-color: #e0e4e2;
}

.passenger-fields .field input:focus,
.passenger-fields .field select:focus,
.request-panel .field select:focus,
.request-panel .field textarea:focus {
  background: #fff;
  border-color: #0f766e;
  outline: 3px solid rgba(15, 118, 110, 0.13);
}

.notification-section > p {
  margin: -11px 0 18px;
  color: #6e7d80;
  font-size: 0.88rem;
}

.notification-option {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 15px 18px;
  background: #f7f8f6;
  border: 1px solid #e4e8e6;
  border-radius: 16px;
  cursor: pointer;
}

.notification-option:hover {
  border-color: #c3cecb;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 22px 0 0;
  color: #526266;
  font-size: 0.9rem;
  line-height: 1.5;
}

.consent-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: #0f766e;
}

.consent-option:has(input:invalid) {
  color: #526266;
}

.notification-copy {
  display: grid;
  gap: 3px;
}

.notification-copy strong {
  font-size: 0.98rem;
}

.notification-copy small {
  color: #738184;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 50px;
  height: 29px;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch > span {
  position: absolute;
  inset: 0;
  background: #cbd3d1;
  border-radius: 999px;
  transition: 180ms ease;
}

.switch > span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(16, 42, 46, 0.2);
  content: "";
  transition: 180ms ease;
}

.switch input:checked + span {
  background: #142128;
}

.switch input:checked + span::after {
  transform: translateX(21px);
}

.switch input:focus-visible + span {
  outline: 3px solid rgba(241, 178, 74, 0.5);
  outline-offset: 3px;
}

.form-error {
  margin: 10px 0 0 !important;
  color: #a2372b !important;
  font-weight: 750;
}

.checkout-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid #e1e6e3;
}

.checkout-back {
  color: #526266;
  font-weight: 750;
}

.checkout-back:hover {
  color: #0f766e;
}

.checkout-continue {
  min-width: min(100%, 260px);
  justify-content: center;
  gap: 12px;
  background: #142128;
}

.checkout-continue:disabled {
  color: #7c898b;
  background: #dce2e0;
  cursor: not-allowed;
  opacity: 1;
}

.verification-methods {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.verification-method {
  padding: 22px;
  background: #fbfbfa;
  border: 1px solid #dfe5e2;
  border-radius: 18px;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.verification-method.is-verified {
  background: #f2f9f7;
  border-color: #a9d4cd;
}

.verification-method-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.verification-method-head > div {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 2px;
}

.verification-method-head small {
  color: #718083;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.verification-method-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verification-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #142128;
  background: #f1b24a;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  place-items: center;
}

.verification-badge {
  padding: 6px 10px;
  color: #6e7d80;
  background: #eaeeec;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
}

.is-verified .verification-badge {
  color: #0b625b;
  background: #d9efe9;
}

.verification-code-form {
  display: grid;
  gap: 8px;
}

.verification-code-form > label {
  font-size: 0.84rem;
  font-weight: 750;
}

.verification-code-control {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.verification-code-control input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 10px 15px;
  color: #142128;
  background: #fff;
  border: 1px solid #cbd5d2;
  border-radius: 11px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.verification-code-control input:focus {
  border-color: #0f766e;
  outline: 3px solid rgba(15, 118, 110, 0.13);
}

.verification-code-control .button {
  min-width: 145px;
  justify-content: center;
}

.verification-help,
.verification-status {
  min-height: 18px;
  margin: 0;
  color: #748285;
  font-size: 0.76rem;
}

.verification-confirmed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #0b625b;
  background: #e1f2ed;
  border-radius: 11px;
}

.verification-confirmed[hidden] {
  display: none;
}

.verification-confirmed span {
  display: grid;
  width: 25px;
  height: 25px;
  color: #fff;
  background: #0f766e;
  border-radius: 50%;
  place-items: center;
}

.verification-resend {
  margin-top: 13px;
  padding: 0;
  color: #0f766e;
  background: transparent;
  border: 0;
  font-size: 0.8rem;
  font-weight: 800;
}

.verification-resend:hover,
.verification-resend:focus-visible {
  color: #142128;
  text-decoration: underline;
}

.verification-demo-note {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 28px;
  padding: 14px 16px;
  color: #665328;
  background: #fff7e7;
  border: 1px solid #efdba9;
  border-radius: 13px;
  font-size: 0.84rem;
}

.verification-demo-note strong {
  padding: 4px 8px;
  color: #fff;
  background: #8d6417;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.checkout-summary {
  position: sticky;
  top: 24px;
  padding: 28px;
}

.checkout-summary h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.checkout-route {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 4px 0 24px 27px;
  border-bottom: 1px solid #e1e6e3;
}

.checkout-route::before {
  position: absolute;
  top: 15px;
  bottom: 37px;
  left: 7px;
  width: 1px;
  background: #aab8b5;
  content: "";
}

.checkout-route > div {
  position: relative;
  display: grid;
  gap: 2px;
}

.checkout-route small {
  color: #7a888a;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.checkout-route strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.checkout-route-dot {
  position: absolute;
  top: 6px;
  left: -26px;
  z-index: 1;
  width: 13px;
  height: 13px;
  background: #fff;
  border: 3px solid #0f766e;
  border-radius: 50%;
}

.checkout-route-dot.destination {
  border-color: #f1b24a;
}

.checkout-facts {
  display: grid;
  gap: 11px;
  margin: 22px 0;
}

.checkout-facts div,
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-facts dt {
  color: #748285;
}

.checkout-facts dd {
  margin: 0;
  text-align: right;
  font-weight: 750;
}

.checkout-total {
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid #e1e6e3;
}

.checkout-total span {
  font-weight: 750;
}

.checkout-total strong {
  color: #0f766e;
  font-size: 1.55rem;
}

.checkout-fine-print {
  margin: 20px 0 0;
  color: #7a888a;
  font-size: 0.78rem;
  line-height: 1.55;
}

.checkout-night-note {
  margin: 18px 0 0;
  padding: 10px 12px;
  color: #7a510d;
  background: #fff5df;
  border: 1px solid #efdcaf;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.45;
}

.payment-method-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-top: 28px;
  border-top: 1px solid #e1e6e3;
}

.payment-method-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.payment-method-heading span {
  padding: 6px 10px;
  color: #0f766e;
  background: #e5f3f0;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.stripe-checkout-container {
  min-height: 220px;
  margin: 18px 0 8px;
}

[data-payment-message] {
  margin: 0 0 16px;
  color: #657579;
  line-height: 1.55;
}

.payment-security {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 30px;
  padding: 16px;
  color: #526266;
  background: #f7f8f6;
  border-radius: 14px;
}

.payment-security > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: #fff;
  background: #0f766e;
  border-radius: 50%;
  place-items: center;
}

.payment-security p,
.payment-security strong,
.payment-security small {
  display: block;
  margin: 0;
}

.payment-success {
  padding: 54px 20px 20px;
  text-align: center;
}

.payment-success > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: #fff;
  background: #0f766e;
  border-radius: 50%;
  font-size: 1.65rem;
  place-items: center;
}

.payment-success h2 {
  font-size: 2rem;
}

.payment-success p {
  max-width: 480px;
  margin: 10px auto 24px;
  color: #657579;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .checkout-main {
    padding-top: 22px;
  }

  .checkout-progress {
    gap: 6px;
    font-size: 0.66rem;
  }

  .checkout-progress span:not(:last-child)::after {
    width: 8px;
  }

  .checkout-progress b {
    width: 23px;
    height: 23px;
  }

  .checkout-card,
  .checkout-summary {
    border-radius: 18px;
  }

  .checkout-card,
  .checkout-summary {
    padding: 22px 18px;
  }

  .request-actions,
  .checkout-actions,
  .payment-method-heading,
  .verification-demo-note {
    align-items: stretch;
    flex-direction: column;
  }

  .verification-code-control {
    grid-template-columns: 1fr;
  }

  .verification-code-control .button {
    width: 100%;
  }

  .request-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .passenger-fields {
    grid-template-columns: 1fr;
  }

  .checkout-continue {
    width: 100%;
  }

  .checkout-back {
    text-align: center;
  }
}

/* Shared VIAMU date and time controls */
.viamu-datetime-host {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 6px;
}

.viamu-datetime-source {
  display: none !important;
}

.viamu-datetime-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px 9px 13px;
  color: #81909e;
  background: linear-gradient(180deg, #fff 0%, #fbfcfc 100%);
  border: 1px solid #cbd7e1;
  border-radius: 11px;
  box-shadow: 0 1px 1px rgba(22, 42, 52, 0.04);
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pickup-date-field--calendar-only > .viamu-datetime-trigger {
  display: none;
}

.viamu-datetime-trigger:hover {
  border-color: #8ca8ad;
  box-shadow: 0 5px 15px rgba(31, 59, 67, 0.08);
}

.viamu-datetime-trigger:focus-visible,
.viamu-datetime-trigger[aria-expanded="true"] {
  border-color: #0f766e;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.viamu-datetime-trigger:active {
  transform: translateY(1px);
}

.viamu-datetime-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.viamu-datetime-trigger.has-value {
  color: #243b45;
}

.viamu-datetime-summary {
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viamu-datetime-icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #0f766e;
  background: #e8f5f2;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 850;
  place-items: center;
}

.viamu-datetime-icon.date::before {
  width: 13px;
  height: 12px;
  content: "";
  border: 1.7px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 0 3px 0 rgba(15, 118, 110, 0.13);
}

.viamu-datetime-icon.date::after {
  position: absolute;
  top: 7px;
  width: 9px;
  content: "";
  border-top: 1.5px solid currentColor;
}

.viamu-datetime-icon.time::before {
  width: 14px;
  height: 14px;
  content: "";
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.viamu-datetime-icon.time::after {
  position: absolute;
  width: 4px;
  height: 5px;
  content: "";
  border-bottom: 1.7px solid currentColor;
  border-left: 1.7px solid currentColor;
  transform: translate(1px, -1px);
}

.viamu-datetime-popover {
  position: absolute;
  z-index: 220;
  top: calc(100% + 9px);
  left: 0;
  width: min(324px, calc(100vw - 32px));
  padding: 16px;
  color: #20363f;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #d5e0e5;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(21, 46, 54, 0.2), 0 3px 12px rgba(21, 46, 54, 0.08);
  backdrop-filter: blur(14px);
}

.viamu-datetime-popover[hidden] {
  display: none !important;
}

[data-picker-type="time"] > .viamu-datetime-popover {
  right: 0;
  left: auto;
}

.viamu-picker-header {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.viamu-picker-title {
  color: #19333c;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
}

.viamu-picker-nav,
.viamu-picker-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  color: #2e4b55;
  background: #f2f7f6;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  place-items: center;
}

.viamu-picker-nav:hover,
.viamu-picker-close:hover {
  color: #0f766e;
  background: #e3f2ef;
}

.viamu-picker-nav:focus-visible,
.viamu-picker-close:focus-visible,
.viamu-date-day:focus-visible,
.viamu-picker-text-button:focus-visible,
.viamu-picker-today:focus-visible,
.viamu-time-stepper button:focus-visible,
.viamu-time-period button:focus-visible,
.viamu-time-quick button:focus-visible,
.viamu-time-apply:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  outline-offset: 1px;
}

.viamu-picker-nav:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.viamu-date-weekdays,
.viamu-date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.viamu-date-weekdays {
  margin-bottom: 5px;
  color: #84949b;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.viamu-date-weekdays span {
  padding: 5px 0;
}

.viamu-date-days {
  gap: 3px;
}

.viamu-date-day {
  display: grid;
  min-width: 0;
  height: 36px;
  padding: 0;
  color: #2c444d;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 720;
  place-items: center;
}

.viamu-date-day:hover:not(:disabled) {
  color: #0f766e;
  background: #e8f5f2;
}

.viamu-date-day.is-outside {
  color: #afbac0;
}

.viamu-date-day.is-today:not(.is-selected) {
  color: #0f766e;
  box-shadow: inset 0 0 0 1px #91c4bd;
}

.viamu-date-day.is-selected {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #135f5a);
  box-shadow: 0 7px 14px rgba(15, 118, 110, 0.22);
}

.viamu-date-day:disabled {
  cursor: not-allowed;
  opacity: 0.26;
}

.viamu-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9eff1;
}

.viamu-picker-text-button,
.viamu-picker-today {
  min-height: 34px;
  padding: 6px 11px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.viamu-picker-text-button {
  color: #72858c;
  background: transparent;
}

.viamu-picker-today {
  color: #0f625d;
  background: #e8f5f2;
}

.viamu-picker-today:disabled {
  opacity: 0.38;
}

.viamu-time-heading {
  display: grid;
  gap: 2px;
}

.viamu-time-heading span {
  color: #809097;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.viamu-time-heading strong {
  color: #19333c;
  font-size: 0.93rem;
}

.viamu-time-dial {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  padding: 13px 10px;
  background: #f5f8f8;
  border: 1px solid #e5ecee;
  border-radius: 14px;
}

.viamu-time-stepper {
  display: grid;
  width: 62px;
  gap: 4px;
  justify-items: stretch;
  text-align: center;
}

.viamu-time-stepper > span {
  color: #7c8d94;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.viamu-time-stepper button {
  height: 25px;
  padding: 0;
  color: #557078;
  background: #fff;
  border: 1px solid #dbe6e8;
  border-radius: 7px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
}

.viamu-time-stepper button:hover {
  color: #0f766e;
  border-color: #9fcac5;
}

.viamu-time-stepper output {
  display: grid;
  height: 42px;
  color: #173941;
  background: #fff;
  border: 1px solid #dbe6e8;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  place-items: center;
}

.viamu-time-separator {
  align-self: center;
  margin-top: 14px;
  color: #5c747c;
  font-size: 1.3rem;
  font-weight: 900;
}

.viamu-time-period {
  display: grid;
  width: 48px;
  gap: 5px;
}

.viamu-time-period button {
  min-height: 34px;
  padding: 5px;
  color: #6e8087;
  background: #fff;
  border: 1px solid #dbe6e8;
  border-radius: 8px;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 850;
}

.viamu-time-period button[aria-pressed="true"] {
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
}

.viamu-time-quick {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  grid-template-columns: repeat(2, 1fr);
}

.viamu-time-quick button {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  color: #708289;
  background: #fff;
  border: 1px solid #e0e8ea;
  border-radius: 10px;
  font: inherit;
  text-align: left;
}

.viamu-time-quick button:hover {
  border-color: #9fcac5;
  background: #f3faf8;
}

.viamu-time-quick span {
  font-size: 0.61rem;
  font-weight: 750;
}

.viamu-time-quick strong {
  color: #24434b;
  font-size: 0.72rem;
}

.viamu-time-error {
  margin: 10px 0 0;
  padding: 8px 10px;
  color: #9b3c2b;
  background: #fff1ed;
  border-radius: 9px;
  font-size: 0.7rem;
  font-weight: 750;
}

.viamu-time-apply {
  width: 100%;
  min-height: 41px;
  margin-top: 12px;
  padding: 9px 14px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #155e59);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 8px 17px rgba(15, 118, 110, 0.2);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 850;
}

html[data-theme="dark"] .viamu-datetime-trigger,
html[data-theme="dark"] .viamu-datetime-popover,
html[data-theme="dark"] .viamu-time-stepper button,
html[data-theme="dark"] .viamu-time-stepper output,
html[data-theme="dark"] .viamu-time-period button,
html[data-theme="dark"] .viamu-time-quick button {
  color: #eaf3f1;
  background: #142025;
  border-color: #344a4f;
}

html[data-theme="dark"] .viamu-datetime-trigger.has-value,
html[data-theme="dark"] .viamu-picker-title,
html[data-theme="dark"] .viamu-time-heading strong,
html[data-theme="dark"] .viamu-time-stepper output,
html[data-theme="dark"] .viamu-time-quick strong {
  color: #eef7f5;
}

html[data-theme="dark"] .viamu-time-dial {
  background: #101b1f;
  border-color: #31464b;
}

html[data-theme="dark"] .viamu-picker-footer {
  border-color: #31464b;
}

html[data-theme="dark"] .viamu-date-day {
  color: #dceae7;
}

html[data-theme="dark"] .viamu-date-day.is-outside {
  color: #66797c;
}

@media (max-width: 620px) {
  .viamu-datetime-popover {
    width: min(310px, calc(100vw - 28px));
    padding: 14px;
  }

  .return-schedule-fields,
  .pickup-schedule-fields {
    grid-template-columns: 1fr;
  }

  .return-schedule-field .viamu-datetime-popover,
  .pickup-schedule-fields .viamu-datetime-popover {
    right: auto;
    left: 0;
  }
}

/* Reference booking calendar: spacious dual-month layout with a simple pickup footer. */
.return-picker {
  top: calc(100% + 10px);
  left: 50%;
  width: min(750px, calc(100vw - 24px));
  padding: 22px 24px 20px;
  border-color: #e6e3dd;
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(20, 27, 30, 0.18);
  transform: translateX(-50%);
}

.return-picker-header {
  grid-template-columns: 1fr 1fr 42px;
  column-gap: 12px;
  margin-bottom: 18px;
}

.return-picker-header [data-calendar-previous] {
  display: none;
}

.return-picker-header h3 {
  color: #1f272b;
  font-size: 1.16rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.return-picker-header button[data-calendar-next] {
  width: 42px;
  height: 42px;
  justify-self: end;
  color: #1f272b;
  background: #fff;
  font-size: 1.65rem;
  font-weight: 400;
}

.return-picker-header button[data-calendar-next]:hover:not(:disabled) {
  color: #1f272b;
  background: #f3f0eb;
}

.return-calendar-panels {
  gap: 42px;
  padding: 0 8px 18px;
}

.return-calendar-weekdays {
  margin-bottom: 12px;
}

.return-calendar-weekdays span {
  color: #938b7f;
  font-size: 0.72rem;
  font-weight: 700;
}

.return-calendar-days {
  gap: 6px 2px;
}

.return-calendar-days button,
.return-calendar-spacer {
  min-height: 38px;
}

.return-calendar-days button {
  color: #24292d;
  font-size: 0.93rem;
  font-weight: 450;
}

.return-calendar-days button.is-selected {
  color: #fff;
  background: #1c2529;
  font-weight: 750;
}

.return-picker-details {
  gap: 32px;
  margin-top: 0;
  padding: 14px 8px 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.9fr);
}

.return-date-summary {
  min-height: 62px;
  padding: 8px 8px 8px 22px;
  border-bottom: 0;
}

.return-date-summary > span:not(.return-date-dot),
.return-time-control label {
  color: #918a7d;
  font-size: 0.73rem;
  font-weight: 700;
}

.return-date-summary strong {
  margin-top: 5px;
  color: #20282c;
  font-size: 0.92rem;
  font-weight: 700;
}

.return-date-dot {
  top: 17px;
  left: 2px;
  width: 12px;
  height: 12px;
  border: 0;
}

.return-time-control {
  min-height: 62px;
  padding: 3px 0 0;
  gap: 6px;
  border-bottom: 0;
}

.return-time-control .viamu-datetime-trigger {
  min-height: 40px;
  padding: 7px 12px 7px 13px;
  color: #252b2f;
  background: #f3f0eb;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

.return-time-control .viamu-datetime-trigger:hover,
.return-time-control .viamu-datetime-trigger:focus-visible,
.return-time-control .viamu-datetime-trigger[aria-expanded="true"] {
  border: 0;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

.return-time-control .viamu-datetime-summary {
  font-size: 0.9rem;
  font-weight: 500;
}

.return-time-control .viamu-datetime-icon {
  display: none;
}

.return-time-control .viamu-datetime-trigger::after {
  width: 8px;
  height: 8px;
  margin-right: 3px;
  content: "";
  border-right: 2px solid #aaa294;
  border-bottom: 2px solid #aaa294;
  transform: translateY(-2px) rotate(45deg);
}

/* The compact pickup-date card above the calendar. */
.return-picker-trigger {
  position: relative;
  display: grid;
  min-height: 68px;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 8px 38px 8px 8px;
  background: #fbfbfa;
  border: 1px solid #a8a6a1;
  border-radius: 14px;
}

.return-picker-trigger::before {
  position: relative;
  display: block;
  width: 18px;
  height: 16px;
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: center;
  content: "";
  border: 1.8px solid #8f887c;
  border-radius: 3px;
  box-shadow: inset 0 4px 0 #e7e2d9;
}

.return-picker-trigger::after {
  position: absolute;
  top: 10px;
  left: 22px;
  width: 10px;
  height: 5px;
  content: "";
  border-top: 1.8px solid #8f887c;
}

.return-picker-trigger > span:first-child {
  grid-column: 2;
  grid-row: 1;
}

.return-picker-trigger strong {
  grid-column: 2;
  grid-row: 2;
  margin-top: 2px;
}

.return-toggle [data-return-symbol] {
  width: auto;
  height: auto;
  color: #948b7d;
  background: transparent;
  border-radius: 0;
  font-size: 1.25rem;
  font-weight: 450;
}

@media (max-width: 900px) {
  .return-picker {
    left: 0;
    width: calc(100vw - 24px);
    padding: 18px;
    transform: none;
  }

  .return-picker-details {
    gap: 0;
    padding-inline: 0;
    grid-template-columns: 1fr;
  }

  .return-calendar-panels {
    padding-inline: 0;
  }
}

/* Compact calendar proportions from the reference menu. */
.return-picker {
  width: min(620px, calc(100vw - 24px));
  padding: 18px 20px 16px;
  border-radius: 16px;
}

.return-picker-header {
  margin-bottom: 12px;
}

.return-picker-header h3 {
  font-size: 1.02rem;
}

.return-picker-header button[data-calendar-next] {
  width: 36px;
  height: 36px;
  font-size: 1.35rem;
}

.return-calendar-panels {
  gap: 24px;
  padding: 0 4px 12px;
}

.return-calendar-weekdays {
  margin-bottom: 8px;
}

.return-calendar-weekdays span {
  font-size: 0.66rem;
}

.return-calendar-days {
  gap: 3px 1px;
}

.return-calendar-days button,
.return-calendar-spacer {
  min-height: 32px;
}

.return-calendar-days button {
  font-size: 0.84rem;
}

.return-picker-details {
  gap: 20px;
  padding: 11px 4px 0;
}

.return-date-summary,
.return-time-control {
  min-height: 54px;
}

.return-date-summary strong {
  font-size: 0.86rem;
}

/* Wheel-style time selector from the reference clock menu. */
.viamu-time-popover {
  width: min(336px, calc(100vw - 24px));
  padding: 20px;
  color: #202020;
  background: #fff;
  border-color: #e1e1e1;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.viamu-time-popover .viamu-picker-header {
  min-height: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}

.viamu-time-heading strong {
  color: #202020;
  font-size: 1rem;
  font-weight: 700;
}

.viamu-time-popover .viamu-picker-close {
  display: none;
}

.viamu-time-format {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
}

.viamu-time-format button {
  min-height: 36px;
  padding: 5px 10px;
  color: #918b80;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 0.98rem;
}

.viamu-time-format button[aria-pressed="true"] {
  color: #272727;
  background: #d3d3d3;
  font-weight: 650;
}

.viamu-time-popover .viamu-time-dial {
  display: grid;
  min-height: 224px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  grid-template-columns: 62px 1px 62px 52px;
}

.viamu-time-wheel {
  display: grid;
  min-width: 0;
  align-items: center;
  justify-items: center;
  grid-template-rows: 22px 1fr 22px;
}

.viamu-time-wheel-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.viamu-time-wheel-arrow {
  display: grid;
  width: 28px;
  height: 22px;
  padding: 0;
  color: #222;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  place-items: center;
}

.viamu-time-wheel-arrow:hover {
  background: #f3f3f3;
  border-radius: 4px;
}

.viamu-time-wheel-viewport {
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  display: grid;
  width: 54px;
  height: 180px;
  align-content: center;
  gap: 0;
  overflow: hidden;
  border: 0;
  grid-template-rows: repeat(5, 36px);
}

.viamu-time-wheel-option {
  display: grid;
  width: 44px;
  height: 36px;
  align-items: center;
  justify-self: center;
  padding: 0;
  color: #252525;
  background: #fff;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 450;
  place-items: center;
}

.viamu-time-wheel-option:hover,
.viamu-time-wheel-option:focus-visible {
  background: #f1f1f1;
}

.viamu-time-wheel-option.is-selected {
  color: #fff;
  background: #1f1f1f;
  font-weight: 700;
}

.viamu-time-separator {
  width: 1px;
  height: 166px;
  margin: 0;
  overflow: hidden;
  color: transparent;
  background: #e5e5e5;
  font-size: 0;
}

.viamu-time-wheel-period {
  grid-template-rows: 22px 1fr 22px;
}

.viamu-time-wheel-period .viamu-time-wheel-arrow {
  visibility: hidden;
}

.viamu-time-wheel-period .viamu-time-wheel-viewport {
  width: 52px;
  height: 108px;
  grid-template-rows: repeat(2, 44px);
}

.viamu-time-wheel-period .viamu-time-wheel-option {
  width: 46px;
  height: 44px;
}

.viamu-time-popover .viamu-time-error {
  margin: 12px 0 0;
}

.viamu-time-popover .viamu-time-apply {
  min-height: 50px;
  margin-top: 14px;
  color: #fff;
  background: #050505;
  border-radius: 5px;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 650;
}

.viamu-time-popover .viamu-time-apply:hover {
  background: #222;
}

@media (max-width: 660px) {
  .return-picker {
    width: calc(100vw - 20px);
  }

  .viamu-time-popover {
    width: calc(100vw - 24px);
  }
}

/* Unified compact calendar and clock menus. */
.viamu-date-popover {
  width: min(318px, calc(100vw - 24px));
  padding: 14px 16px 12px;
  color: #202020;
  background: #fff;
  border-color: #e1e1e1;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.viamu-date-popover .viamu-picker-header {
  min-height: 32px;
  margin-bottom: 8px;
}

.viamu-date-popover .viamu-picker-title {
  color: #202020;
  font-size: 0.98rem;
  font-weight: 600;
}

.viamu-date-popover .viamu-picker-nav {
  width: 32px;
  height: 32px;
  color: #202020;
  background: transparent;
  border-radius: 6px;
  font-size: 1.18rem;
}

.viamu-date-popover .viamu-picker-nav:hover {
  color: #000;
  background: #f1f1f1;
}

.viamu-date-popover .viamu-date-weekdays {
  margin-bottom: 4px;
  color: #8f887c;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.viamu-date-popover .viamu-date-days {
  gap: 2px;
}

.viamu-date-popover .viamu-date-day {
  height: 36px;
  color: #242424;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 500;
}

.viamu-date-popover .viamu-date-day:hover:not(:disabled) {
  color: #111;
  background: #eeeeec;
}

.viamu-date-popover .viamu-date-day.is-outside {
  color: #b9b6b0;
}

.viamu-date-popover .viamu-date-day.is-today:not(.is-selected) {
  color: #202020;
  box-shadow: inset 0 0 0 1px #8f887c;
}

.viamu-date-popover .viamu-date-day.is-selected {
  color: #fff;
  background: #1f1f1f;
  box-shadow: none;
  font-weight: 700;
}

.viamu-date-popover .viamu-picker-footer {
  margin-top: 8px;
  padding-top: 9px;
  border-color: #e5e5e5;
}

.viamu-date-popover .viamu-picker-text-button,
.viamu-date-popover .viamu-picker-today {
  color: #202020;
  background: transparent;
  border-radius: 5px;
  font-size: 0.76rem;
}

.viamu-date-popover .viamu-picker-text-button:hover,
.viamu-date-popover .viamu-picker-today:hover {
  background: #f1f1f1;
}

.return-picker {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(430px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  padding: 16px 18px 14px;
  border-color: #e1e1e1;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
}

.return-picker-header {
  display: grid;
  margin-bottom: 8px;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
}

.return-picker-header [data-calendar-previous] {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #202020;
  background: transparent;
  border-radius: 6px;
  place-items: center;
}

.return-picker-header h3 {
  color: #202020;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.return-picker-header h3[data-calendar-next-month] {
  display: none;
}

.return-picker-header button[data-calendar-next] {
  width: 34px;
  height: 34px;
  color: #202020;
  background: transparent;
  border-radius: 6px;
  font-size: 1.18rem;
}

.return-calendar-panels {
  display: grid;
  gap: 0;
  padding: 0 2px 10px;
  grid-template-columns: minmax(0, 1fr);
}

.return-calendar-panel:nth-child(2) {
  display: none;
}

.return-calendar-weekdays {
  margin-bottom: 4px;
}

.return-calendar-weekdays span {
  color: #8f887c;
  font-size: 0.7rem;
  font-weight: 650;
}

.return-calendar-days {
  gap: 2px;
}

.return-calendar-days button,
.return-calendar-spacer {
  width: 36px;
  height: 36px;
  min-height: 36px;
  aspect-ratio: auto;
  justify-self: center;
}

.return-calendar-days button {
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 500;
}

.return-calendar-days button:hover:not(:disabled) {
  color: #111;
  background: #eeeeec;
}

.return-calendar-days button.is-selected {
  color: #fff;
  background: #1f1f1f;
  box-shadow: none;
  font-weight: 700;
}

.return-picker-details {
  gap: 14px;
  padding: 10px 2px 0;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.78fr);
}

.return-date-summary,
.return-time-control {
  min-height: 50px;
}

.return-time-control > .viamu-time-popover {
  z-index: 230;
}

.viamu-datetime-popover.opens-above {
  top: auto;
  bottom: calc(100% + 9px);
}

.viamu-datetime-popover.is-viewport-centered,
.viamu-datetime-popover.is-dialog-centered,
.return-time-control > .viamu-time-popover.is-dialog-centered {
  position: fixed;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
}

html[data-theme="dark"] .viamu-date-popover {
  color: #f4f1ec;
  background: #171717;
  border-color: #3a3a3a;
}

html[data-theme="dark"] .viamu-date-popover .viamu-picker-title,
html[data-theme="dark"] .viamu-date-popover .viamu-picker-nav,
html[data-theme="dark"] .viamu-date-popover .viamu-date-day,
html[data-theme="dark"] .viamu-date-popover .viamu-picker-text-button,
html[data-theme="dark"] .viamu-date-popover .viamu-picker-today {
  color: #f4f1ec;
}

html[data-theme="dark"] .viamu-date-popover .viamu-date-day.is-outside {
  color: #77736d;
}

html[data-theme="dark"] .viamu-date-popover .viamu-date-day.is-selected {
  color: #151515;
  background: #fff;
}

@media (max-width: 900px) {
  .return-picker {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 520px) {
  .return-picker {
    width: calc(100vw - 16px);
    padding: 14px;
  }

  .return-picker-details {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .return-time-control > .viamu-time-popover {
    width: min(336px, calc(100vw - 28px));
  }
}

/* Global soft edge system */
button,
.button {
  border-radius: var(--radius-pill);
}

input,
select,
textarea {
  border-radius: var(--radius-item);
}

.card,
.form-card,
.auth-form,
.summary-card,
.route-booking-card,
.journey-form,
.journey-tabs,
.language-menu,
.currency-menu,
.pickup-picker,
.return-picker,
.duration-picker,
.route-map-card,
.route-confidence,
.ride-choice,
.checkout-card,
.checkout-summary,
.verification-method,
.selection-dock,
.support-card,
.account-card {
  border-radius: var(--radius);
}

.auth-provider-button {
  border-radius: var(--radius-item);
}

.route-results-header .route-help-link,
.route-results-header .currency-trigger,
.route-results-header .language-trigger,
.route-results-header .route-signup,
.route-results-header .route-login,
.currency-static,
.nav-toggle,
.theme-toggle {
  border-radius: var(--radius-pill);
}

.language-menu button,
.currency-menu button,
.return-calendar-days button {
  border-radius: var(--radius-item);
}

/* Homepage booking controls: keep nested surfaces soft but intentional. */
.journey-tabs {
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.journey-tab {
  height: 38px;
  min-height: 38px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.journey-tab.active {
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(21, 24, 29, 0.2);
}

.journey-tab:not(.active):hover {
  color: #15181d;
  background: #f2f3f1;
}

.journey-submit {
  min-height: 58px;
  padding: 12px 52px 12px 22px;
  border-radius: var(--radius-item);
  box-shadow: 0 10px 22px rgba(241, 178, 74, 0.24);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.journey-submit:hover {
  box-shadow: 0 13px 26px rgba(241, 178, 74, 0.3);
  transform: translateY(-1px);
}

.journey-form {
  transition: opacity 180ms ease, transform 180ms ease;
}

.journey-form.is-mode-switching {
  opacity: 0.48;
  pointer-events: none;
  transform: translateY(3px);
}

html[data-theme="dark"] .journey-tabs {
  background: rgba(20, 32, 37, 0.97);
}

html[data-theme="dark"] .journey-tab:not(.active):hover {
  color: #edf5f3;
  background: #203238;
}

@media (max-width: 620px) {
  .journey-tab {
    height: 36px;
    min-height: 36px;
    padding-inline: 14px;
  }

  .journey-submit {
    min-height: 62px;
    padding: 12px 54px 12px 20px;
    border-radius: var(--radius-item);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-tab,
  .journey-submit,
  .journey-form {
    transition: none;
  }

  .journey-form.is-mode-switching {
    opacity: 1;
    transform: none;
  }
}

/* Dark-mode contrast: separate controls from their surrounding surfaces. */
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .auth-page .nav-actions .button-secondary,
html[data-theme="dark"] .theme-toggle:not(.home-theme),
html[data-theme="dark"] .language-trigger:not(.home-language) {
  color: #edf5f3;
  background: #243f45;
  border-color: #5d858a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .button-secondary:hover,
html[data-theme="dark"] .theme-toggle:not(.home-theme):hover,
html[data-theme="dark"] .language-trigger:not(.home-language):hover {
  color: #071820;
  background: #59cabc;
  border-color: #59cabc;
}

html[data-theme="dark"] .journey-tab.active {
  color: #071820;
  background: #4bc0b2;
}

html[data-theme="dark"] .service-highlight-details {
  color: #edf5f3;
  background: transparent;
  border-color: rgba(237, 245, 243, 0.18);
}

html[data-theme="dark"] .service-highlight-details > div a {
  color: #72d3c6;
}

html[data-theme="dark"] .pickup-toggle-copy strong,
html[data-theme="dark"] .journey-duration-trigger {
  color: #edf5f3;
}

html[data-theme="dark"] .pickup-toggle > span:last-child,
html[data-theme="dark"] .journey-duration-trigger > span {
  color: #aac0bd;
}

html[data-theme="dark"] .journey-duration-trigger:hover,
html[data-theme="dark"] .journey-duration-trigger:focus-visible {
  background: #203238;
}

html[data-theme="dark"] .language-menu button[aria-checked="true"],
html[data-theme="dark"] .duration-options button[aria-pressed="true"],
html[data-theme="dark"] .duration-unit-toggle button[aria-pressed="true"] {
  color: #071820;
  background: #4bc0b2;
  border-color: #4bc0b2;
}

html[data-theme="dark"] .duration-options button:not([aria-pressed="true"]),
html[data-theme="dark"] .duration-unit-toggle button:not([aria-pressed="true"]) {
  color: #edf5f3;
  background: #203238;
  border-color: #42636a;
}

html[data-theme="dark"] .duration-options button:not([aria-pressed="true"]):hover,
html[data-theme="dark"] .duration-unit-toggle button:not([aria-pressed="true"]):hover {
  background: #2b4a50;
  border-color: #5d858a;
}

html[data-theme="dark"] .duration-custom-stepper {
  background: #203238;
  border-color: #42636a;
}

html[data-theme="dark"] .duration-custom-stepper button {
  color: #edf5f3;
  background: #142025;
  border-color: #42636a;
}

/* Trip confirmation, Safety Center and cancellation policy */
.trip-page {
  background: var(--surface-soft);
}

.trip-hero {
  padding: 78px 0 72px;
  color: #f4fbfa;
  background:
    radial-gradient(circle at 12% 14%, rgba(75, 192, 178, 0.28), transparent 34%),
    linear-gradient(125deg, #0a554f, #102a2e 68%, #173e43);
}

.trip-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  align-items: end;
  gap: 48px;
}

.trip-hero h1,
.trip-hero p,
.trip-hero .eyebrow {
  color: inherit;
}

.trip-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
}

.trip-hero-copy {
  max-width: 660px;
  color: rgba(244, 251, 250, 0.82) !important;
  font-size: 1.12rem;
}

.trip-hero-actions,
.hero-actions,
.trip-side-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.trip-hero-actions {
  margin-top: 28px;
}

.trip-hero .button-secondary,
.trip-hero .button-secondary:hover,
.trip-hero .button-secondary:focus-visible {
  color: #f4fbfa;
  border-color: rgba(244, 251, 250, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.trip-hero-card {
  padding: 28px;
  border: 1px solid rgba(244, 251, 250, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 29, 33, 0.5);
  box-shadow: 0 22px 60px rgba(2, 20, 23, 0.24);
  backdrop-filter: blur(12px);
}

.trip-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 12px;
  color: #eafff8;
  border: 1px solid rgba(171, 255, 228, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(23, 128, 100, 0.36);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.trip-status-badge[data-state="warning"] {
  color: #fff8e8;
  border-color: rgba(244, 162, 97, 0.62);
  background: rgba(146, 84, 28, 0.42);
}

.trip-status-badge[data-state="danger"] {
  color: #fff0ef;
  border-color: rgba(255, 153, 145, 0.62);
  background: rgba(148, 49, 42, 0.42);
}

.trip-status-badge[data-state="loading"] {
  opacity: 0.76;
}

.trip-status-dot,
.trip-live-pulse > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.trip-reference {
  margin: 28px 0 8px;
  color: rgba(244, 251, 250, 0.72) !important;
  font-size: 0.92rem;
}

.trip-reference strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.trip-status-detail {
  min-height: 48px;
  margin: 0;
  color: #f4fbfa !important;
  font-weight: 700;
}

.trip-updated {
  margin: 18px 0 0;
  color: rgba(244, 251, 250, 0.6) !important;
  font-size: 0.8rem;
}

.trip-content-section {
  padding-top: 34px;
}

.trip-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: start;
  gap: 24px;
}

.trip-main-column,
.trip-side-column {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.compact-heading {
  margin-bottom: 24px;
}

.compact-heading h2 {
  margin-bottom: 0;
}

.trip-status-panel,
.trip-route-card,
.trip-live-card,
.trip-driver-card,
.trip-payment-card,
.trip-support-card,
.trip-cancel-card {
  overflow: hidden;
}

.trip-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trip-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  min-height: 68px;
  padding-bottom: 22px;
}

.trip-step:last-child {
  min-height: 0;
  padding-bottom: 0;
}

.trip-step:not(:last-child)::before {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 2px;
  content: "";
  background: var(--line);
}

.trip-step.is-complete:not(:last-child)::before,
.trip-step.is-current:not(:last-child)::before {
  background: color-mix(in srgb, var(--brand) 52%, var(--line));
}

.trip-step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--muted);
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
}

.trip-step.is-complete .trip-step-marker,
.trip-step.is-current .trip-step-marker {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.trip-step.is-current .trip-step-marker {
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 15%, transparent);
}

.trip-step.is-cancelled .trip-step-marker {
  color: #fff;
  border-color: var(--danger);
  background: var(--danger);
}

.trip-step-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-top: 2px;
}

.trip-step-copy strong {
  color: var(--ink);
}

.trip-step-copy span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.trip-step.is-current .trip-step-copy strong {
  color: var(--brand-dark);
}

.trip-step.is-cancelled .trip-step-copy strong {
  color: var(--danger);
}

.trip-last-event,
.trip-action-status {
  min-height: 1.4em;
  margin: 22px 0 0;
  font-size: 0.88rem;
}

.trip-route {
  display: grid;
  gap: 22px;
}

.trip-route-leg + .trip-route-leg {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.trip-route-leg-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.trip-route-points {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 0 13px;
  align-items: stretch;
}

.trip-route-point {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 3px 0 14px;
}

.trip-route-point:last-child {
  padding-bottom: 3px;
}

.trip-route-point > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.trip-route-point strong {
  overflow-wrap: anywhere;
}

.trip-route-point small {
  font-size: 0.8rem;
}

.trip-route-label {
  align-self: start;
  padding-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trip-route-label::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  content: "";
  vertical-align: -1px;
}

.trip-route-label.destination::before {
  border-radius: 3px;
  border-color: var(--accent);
}

.trip-route-line {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  width: 2px;
  height: calc(100% - 32px);
  min-height: 26px;
  background: var(--line);
}

.trip-route-facts {
  margin: 14px 0 0;
  font-size: 0.85rem;
}

.payment-method-selector {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  border: 0;
}

.payment-method-selector legend {
  margin-bottom: 4px;
  color: #27383b;
  font-weight: 800;
}

.payment-method-option {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 12px;
  padding: 12px 14px;
  color: #26373a;
  background: #fff;
  border: 1px solid #d7e1de;
  border-radius: 12px;
  cursor: pointer;
}

.payment-method-option:hover {
  border-color: #72a9a3;
}

.payment-method-option:focus-within {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 2px;
}

.payment-method-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #0f766e;
}

.payment-method-option span,
.payment-method-option strong,
.payment-method-option small {
  display: block;
}

.payment-method-option strong {
  font-size: 0.96rem;
}

.payment-method-option small,
.payment-crypto-note {
  color: #657579;
  font-size: 0.82rem;
  line-height: 1.5;
}

.payment-crypto-note {
  margin: -6px 0 16px;
  padding: 12px;
  background: #f7f8f6;
  border-radius: 10px;
}
.trip-flight-timing {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
}

.trip-flight-timing strong {
  color: var(--brand-dark);
}

.trip-flight-number {
  color: var(--brand-dark);
  font-weight: 700;
}

.trip-flight-timing small,
.driver-ride-flight {
  line-height: 1.45;
}

.trip-flight-adjustment {
  color: var(--brand-dark);
  font-weight: 700;
}

.trip-route-instructions {
  color: var(--brand-dark);
}

.trip-live-card {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}

.trip-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trip-live-pulse > span {
  animation: trip-live-pulse 1.6s ease-in-out infinite;
  background: var(--success);
}

@keyframes trip-live-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

.trip-live-surface {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
}

.trip-live-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--brand);
  font-weight: 900;
}

.trip-live-surface strong {
  display: block;
  margin-bottom: 5px;
}

.trip-live-surface p {
  margin: 0;
  font-size: 0.9rem;
}

.trip-driver-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trip-driver-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-size: 1.25rem;
  font-weight: 900;
}

.trip-driver-details {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.trip-driver-details span {
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.trip-call-button {
  flex: 0 0 auto;
}

.trip-verify-note {
  margin: 20px 0 0;
}

.trip-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.trip-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.trip-facts div:first-child {
  padding-top: 0;
}

.trip-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.trip-facts dt {
  color: var(--muted);
  font-size: 0.87rem;
}

.trip-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.trip-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trip-action-grid .button {
  width: 100%;
}

.trip-emergency-card {
  padding: 28px;
  color: #f4fbfa;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #0a554f, #102a2e);
  box-shadow: var(--shadow);
}

.trip-emergency-card h2,
.trip-emergency-card p,
.trip-emergency-card .eyebrow {
  color: inherit;
}

.trip-emergency-card p:not(.eyebrow) {
  color: rgba(244, 251, 250, 0.78);
  font-size: 0.92rem;
}

.button-light,
.button-ghost-light {
  border: 1px solid #f4fbfa;
  color: #0a554f;
  background: #f4fbfa;
}

.button-light:hover,
.button-light:focus-visible {
  color: #0a554f;
  background: #fff;
}

.button-ghost-light {
  color: #f4fbfa;
  background: transparent;
  border-color: rgba(244, 251, 250, 0.45);
}

.button-ghost-light:hover,
.button-ghost-light:focus-visible {
  color: #0a554f;
  background: #f4fbfa;
}

.trip-cancel-card[data-state="requested"] {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
}

.trip-cancel-card[data-state="closed"] {
  opacity: 0.92;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--brand);
  content: "✓";
  font-size: 0.67rem;
  font-weight: 900;
}

.trip-cancel-dialog {
  width: min(560px, calc(100vw - 28px));
  max-width: 560px;
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.trip-cancel-dialog::backdrop {
  background: rgba(8, 29, 33, 0.66);
  backdrop-filter: blur(4px);
}

.trip-cancel-dialog form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.dialog-heading h2 {
  margin-bottom: 8px;
}

.dialog-heading p:last-child {
  margin-bottom: 0;
}

.dialog-actions {
  justify-content: flex-end;
  margin-top: 4px;
}

.dialog-actions .button {
  min-width: 132px;
}

.safety-hero,
.policy-hero {
  background: linear-gradient(135deg, var(--surface-soft), #dff1ed 76%, #f8e8d8);
}

.safety-hero h1,
.policy-hero h1 {
  max-width: 760px;
}

.safety-hero p:not(.eyebrow),
.policy-hero p:not(.eyebrow) {
  max-width: 700px;
}

.safety-emergency-section {
  padding-top: 30px;
}

.safety-emergency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 28px;
  align-items: center;
  padding: 30px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(125deg, #8e241c, #542421 75%, #3b2222);
  box-shadow: var(--shadow);
}

.safety-emergency h2,
.safety-emergency p,
.safety-emergency .eyebrow {
  color: inherit;
}

.safety-emergency p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.8);
}

.emergency-number-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.emergency-number-grid > div,
.emergency-number-grid a {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.emergency-number-grid a:hover,
.emergency-number-grid a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.emergency-number-grid strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.emergency-number-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.55;
}

.emergency-number-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.safety-source-note {
  margin: 12px 4px 0;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.safety-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(16, 42, 46, 0.05);
}

.safety-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  margin-bottom: 22px;
  color: var(--brand-dark);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--brand) 13%, var(--surface));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.safety-card h3 {
  margin-bottom: 9px;
}

.safety-card > p {
  margin-bottom: 0;
}

.safety-card-compact {
  padding: 24px;
}

.safety-card-compact .card-icon {
  margin-bottom: 16px;
}

.safety-faq-layout,
.policy-faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
}

.policy-faq {
  display: grid;
  gap: 10px;
}

.policy-faq details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
}

.policy-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  list-style-position: outside;
}

.policy-faq details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.safety-cta,
.policy-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.safety-cta h2,
.policy-cta h2 {
  margin-bottom: 0;
}

.policy-summary-section {
  padding-top: 30px;
}

.policy-callout {
  margin-bottom: 24px;
  padding: 18px 20px;
  color: #71400e;
  border: 1px solid #f2c88d;
  border-radius: var(--radius-small);
  background: #fff8e9;
  line-height: 1.6;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.policy-summary-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.policy-summary-card-accent {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
}

.policy-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 4px 9px;
  color: var(--brand-dark);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  font-size: 0.76rem;
  font-weight: 900;
}

.policy-summary-card h2 {
  font-size: 1.18rem;
}

.policy-summary-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.policy-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.policy-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.policy-table caption {
  padding: 20px 22px 12px;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.policy-table th,
.policy-table td {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.policy-table thead th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.policy-table tbody th {
  width: 28%;
  color: var(--ink);
}

.policy-table tbody td {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.policy-result {
  display: inline-flex;
  padding: 6px 9px;
  color: #71400e;
  border-radius: var(--radius-pill);
  background: #fff1d6;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.policy-result.is-positive {
  color: #0d6731;
  background: #ddf5e5;
}

.policy-result.is-warning {
  color: #8f311c;
  background: #ffe7df;
}

.policy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

html[data-theme="dark"] .safety-hero,
html[data-theme="dark"] .policy-hero {
  background: linear-gradient(135deg, #182c31, #223c40 76%, #44352c);
}

html[data-theme="dark"] .policy-callout {
  color: #ffe2ad;
  border-color: #73542b;
  background: #3b3021;
}

html[data-theme="dark"] .policy-result {
  color: #ffe2ad;
  background: #4d3c25;
}

html[data-theme="dark"] .policy-result.is-positive {
  color: #b9f5cb;
  background: #1d4530;
}

html[data-theme="dark"] .policy-result.is-warning {
  color: #ffc0b7;
  background: #4c2926;
}

html[data-theme="dark"] .trip-step.is-current .trip-step-copy strong {
  color: var(--brand);
}

html[data-theme="dark"] .trip-route-instructions {
  color: var(--brand);
}

@media (max-width: 980px) {
  .trip-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .trip-emergency-card {
    grid-row: span 2;
  }

  .policy-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .trip-hero-grid,
  .safety-emergency,
  .safety-faq-layout,
  .policy-faq-layout {
    grid-template-columns: 1fr;
  }

  .trip-hero-card {
    max-width: 560px;
  }

  .safety-grid,
  .safety-grid-three,
  .policy-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-cta,
  .policy-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .trip-hero {
    padding: 58px 0 52px;
  }

  .trip-hero-grid {
    gap: 30px;
  }

  .trip-hero-card,
  .safety-emergency,
  .safety-card,
  .policy-summary-card,
  .trip-cancel-dialog form {
    padding: 22px;
  }

  .trip-side-column,
  .safety-grid,
  .safety-grid-three,
  .policy-summary,
  .policy-detail-grid {
    grid-template-columns: 1fr;
  }

  .trip-emergency-card {
    grid-row: auto;
  }

  .trip-action-grid {
    grid-template-columns: 1fr;
  }

  .trip-route-point {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .trip-route-label {
    padding-top: 0;
  }

  .trip-route-line {
    display: none;
  }

  .trip-driver-content {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .trip-call-button {
    width: 100%;
  }

  .emergency-number-grid {
    grid-template-columns: 1fr;
  }

  .emergency-number-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dialog-actions .button {
    width: 100%;
  }
}

@media print {
  .site-header,
  .site-footer,
  .trip-side-column,
  .trip-action-grid,
  .trip-action-status,
  .trip-hero-actions,
  [data-trip-refresh] {
    display: none !important;
  }

  .trip-hero {
    padding: 18px 0;
    color: #102a2e;
    background: #fff;
  }

  .trip-hero h1,
  .trip-hero p,
  .trip-hero .eyebrow,
  .trip-hero-card,
  .trip-status-detail,
  .trip-reference,
  .trip-reference strong,
  .trip-updated {
    color: #102a2e !important;
  }

  .trip-hero-card {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .trip-layout {
    display: block;
  }

  .trip-main-column > * {
    margin-bottom: 18px;
    break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trip-live-pulse > span {
    animation: none;
  }
}

/* Keep the first typed location character clear of the marker at narrow widths. */
#home-journey-form .journey-field:has(> input[data-place-autocomplete]) > input[data-place-autocomplete] {
  position: relative;
  z-index: 1;
  padding-inline-start: 6px;
}

#home-journey-form .journey-field:has(> input[data-place-autocomplete]) > .journey-icon {
  z-index: 0;
  pointer-events: none;
}

#home-journey-form .journey-field:has(> input[data-place-autocomplete]) > .gps-button {
  z-index: 2;
}

/* Shared line-icon system: keeps decorative symbols consistent across every page. */
.viamu-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  vertical-align: -0.125em;
  pointer-events: none;
}

.viamu-icon path,
.viamu-icon circle,
.viamu-icon rect {
  vector-effect: non-scaling-stroke;
}

.nav-toggle > .viamu-icon {
  width: 1.3rem;
  height: 1.3rem;
}

.journey-icon > .viamu-icon {
  width: 16px;
  height: 16px;
}

.journey-tab > span[aria-hidden="true"] > .viamu-icon,
.pickup-toggle-icon > .viamu-icon,
.journey-duration-trigger > span[aria-hidden="true"] > .viamu-icon,
.return-picker-trigger > span[aria-hidden="true"] > .viamu-icon,
.phone-country-chevron > .viamu-icon,
.language-chevron > .viamu-icon,
.currency-chevron > .viamu-icon {
  width: 0.95em;
  height: 0.95em;
}

.auth-orbit-icon > .viamu-icon {
  width: 1.45em;
  height: 1.45em;
}

.card-icon > .viamu-icon {
  width: 1.45rem;
  height: 1.45rem;
}

.ride-choice-check > .viamu-icon {
  width: 14px;
  height: 14px;
}

.passenger-chip > span[aria-hidden="true"] > .viamu-icon,
.route-map-error > span[aria-hidden="true"] > .viamu-icon,
.route-map-badge > span[aria-hidden="true"] > .viamu-icon,
.route-confidence > span[aria-hidden="true"] > .viamu-icon,
[data-return-symbol] > .viamu-icon,
[data-theme-icon] > .viamu-icon {
  width: 1em;
  height: 1em;
}

a.checkout-back > .viamu-icon,
a.text-link > .viamu-icon {
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.12em;
}

/* Homepage booking form: explicit responsive compositions for each ride mode. */
#home-journey-form {
  align-items: stretch;
  gap: 0;
}

#home-journey-form > .journey-extras {
  display: contents;
}

#home-journey-form > .journey-field:has(#home-from) {
  grid-area: from;
}

#home-journey-form > .journey-field:has(#home-to) {
  grid-area: to;
}

#home-journey-form > .journey-extras > .pickup-control {
  grid-area: pickup;
}

#home-journey-form > .journey-extras > .return-control {
  grid-area: return;
}

#home-journey-form > .journey-passengers {
  grid-area: passengers;
  order: initial;
}

#home-journey-form > .journey-submit {
  grid-area: submit;
  order: initial;
}

/* Multilingual resilience: translated labels are content, not fixed-width UI.
   These rules keep the booking controls and header readable when a locale
   expands (German/Russian) or changes writing direction (Arabic). */
html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[lang="ar"] .journey-form,
html[lang="ar"] .journey-tabs,
html[lang="ar"] .service-highlight-card,
html[lang="ar"] .testimonial-panel {
  text-align: right;
}

.language-menu {
  width: max-content;
  min-width: 184px;
  max-width: min(286px, calc(100vw - 24px));
}

.language-menu button {
  min-width: 0;
}

.language-menu button > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.journey-tab,
.journey-submit,
.pickup-toggle-copy,
.return-toggle,
.service-highlight-card h2,
.service-highlight-card p,
.service-highlight-link {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.return-toggle [data-return-label] {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  line-height: 1.2;
}

.journey-submit [data-submit-label] {
  position: static;
  inset-inline: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

@media (max-width: 700px) {
  .journey-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-tab {
    width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .journey-submit {
    padding-inline: 18px 48px;
  }
}

@media (max-width: 620px) {
  .home-header .home-nav {
    position: relative;
  }

  .home-header .home-brand {
    max-width: calc(100% - 238px);
    min-width: 0;
    flex: 0 1 auto;
    overflow: visible;
    white-space: nowrap;
  }

  .home-header .home-brand .brand-mark {
    flex: 0 0 36px;
  }

  .home-header .home-nav-actions {
    right: 46px;
    left: auto;
    width: min(210px, calc(100% - 158px));
    max-width: calc(100% - 158px);
    min-width: 0;
    justify-content: flex-end;
  }

  .home-header .home-nav-actions > * {
    min-width: 0;
  }

  /* The compact header cannot fit a full theme control beside the language
     picker and two auth actions. Hide it rather than letting flexbox collapse
     it into an unusable sliver; the desktop control remains available. */
  .home-header .home-theme {
    display: none;
  }

  .home-header .home-signup {
    width: 92px;
    min-width: 0;
    padding-inline: 7px;
    white-space: normal;
    line-height: 1.05;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .home-header .home-login {
    width: 54px;
    min-width: 0;
    padding-inline: 6px;
    white-space: normal;
    line-height: 1.05;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .home-header .home-language {
    flex: 0 0 32px;
  }

  .home-header .language-menu {
    position: fixed;
    top: 68px;
    right: 12px;
    left: auto;
    width: min(286px, calc(100vw - 24px));
    max-height: calc(100vh - 84px);
  }

  html[dir="rtl"] .home-header .language-menu {
    right: 12px;
    left: auto;
  }
}

@media (max-width: 380px) {
  .home-header .home-brand {
    max-width: calc(100% - 145px);
    gap: 6px;
    font-size: 0.9rem;
    overflow: visible;
  }

  .home-header .home-brand .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    flex-shrink: 0;
    font-size: 0.82rem;
  }

  .home-header .home-nav-actions {
    width: auto;
    max-width: none;
    right: 52px;
    overflow: visible;
  }

  .home-header .home-signup {
    flex: 0 0 56px;
    width: 56px;
    font-size: 0.58rem;
  }

  .home-header .home-login {
    flex: 0 0 42px;
    width: 42px;
    font-size: 0.58rem;
  }
}

html[dir="rtl"] .home-header .home-brand {
  text-align: left;
}

/* READABILITY FLOOR
   Keep secondary copy readable on pale cards and image-backed navigation.
   Decorative text on dark gradient panels keeps its existing light palette. */
.journey-field label,
.journey-duration-label,
.journey-passenger-label,
.pickup-toggle-copy > span,
.return-toggle,
.ride-choice-price small,
.ride-choice-price > span,
.checkout-fine-print,
.verification-help,
.verification-badge,
.auth-form small,
.checkout-card small {
  color: #59696c;
}

.home-nav-links a {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.home-signup {
  background: rgba(8, 13, 20, 0.72);
}

.card .stars,
.rating-overview .stars {
  color: #9a5200;
}

.testimonial-rating .stars {
  color: #ffd27a;
}

.rating-input label {
  color: #6f7d7f;
}

html[data-theme="dark"] .journey-field label,
html[data-theme="dark"] .journey-duration-label,
html[data-theme="dark"] .journey-passenger-label,
html[data-theme="dark"] .pickup-toggle-copy > span,
html[data-theme="dark"] .return-toggle,
html[data-theme="dark"] .ride-choice-price small,
html[data-theme="dark"] .ride-choice-price > span,
html[data-theme="dark"] .checkout-fine-print,
html[data-theme="dark"] .verification-help,
html[data-theme="dark"] .verification-badge,
html[data-theme="dark"] .auth-form small,
html[data-theme="dark"] .checkout-card small {
  color: #bfd0cd;
}

html[data-theme="dark"] .card .stars,
html[data-theme="dark"] .rating-overview .stars {
  color: #ffbd63;
}

html[data-theme="dark"] .rating-input label {
  color: #aabdb9;
}

#home-journey-form > .journey-extras > .pickup-control,
#home-journey-form > .journey-extras > .return-control {
  width: auto;
  min-width: 0;
  flex: none;
}

@media (min-width: 1101px) {
  #home-journey-form {
    grid-template-columns:
      minmax(180px, 1.08fr)
      minmax(180px, 1.08fr)
      minmax(170px, 0.92fr)
      minmax(160px, 0.88fr)
      minmax(145px, 0.78fr)
      minmax(176px, 0.9fr);
    grid-template-areas: "from to pickup return passengers submit";
  }

  #home-journey-form > .journey-field,
  #home-journey-form > .journey-extras > .pickup-control,
  #home-journey-form > .journey-extras > .return-control,
  #home-journey-form > .journey-passengers {
    min-height: 74px;
    border-right: 1px solid #e4e5e5;
    border-bottom: 0;
  }

  #home-journey-form > .journey-extras > .pickup-control,
  #home-journey-form > .journey-extras > .return-control {
    display: flex;
    align-items: center;
    padding: 8px 10px;
  }

  #home-journey-form > .journey-submit {
    align-self: stretch;
    min-height: 54px;
    margin: 0 0 0 10px;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  #home-journey-form {
    gap: 8px;
    padding: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "from to"
      "pickup return"
      "passengers passengers"
      "submit submit";
  }

  #home-journey-form > .journey-field,
  #home-journey-form > .journey-extras > .pickup-control,
  #home-journey-form > .journey-extras > .return-control,
  #home-journey-form > .journey-passengers {
    min-height: 72px;
    background: #fbfbfa;
    border: 1px solid #e4e3df;
    border-radius: 14px;
  }

  #home-journey-form > .journey-field {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  #home-journey-form > .journey-extras > .pickup-control,
  #home-journey-form > .journey-extras > .return-control {
    display: flex;
    align-items: center;
    padding: 0;
  }

  #home-journey-form > .journey-extras > .return-control {
    flex-direction: column;
    align-items: stretch;
  }

  #home-journey-form .pickup-toggle,
  #home-journey-form .return-toggle {
    min-height: 70px;
    padding: 10px 12px;
    border-radius: 13px;
  }

  #home-journey-form > .journey-passengers {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 18px;
  }

  #home-journey-form .passenger-stepper {
    justify-content: flex-start;
  }

  #home-journey-form > .journey-submit {
    min-height: 58px;
    margin: 0;
  }
}

@media (max-width: 700px) {
  #home-journey-form {
    gap: 8px;
    padding: 8px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "from"
      "to"
      "pickup"
      "return"
      "passengers"
      "submit";
  }

  #home-journey-form > .journey-field,
  #home-journey-form > .journey-extras > .pickup-control,
  #home-journey-form > .journey-extras > .return-control,
  #home-journey-form > .journey-passengers {
    min-height: 72px;
    margin: 0;
    background: #fbfbfa;
    border: 1px solid #e4e3df;
    border-radius: 13px;
  }

  #home-journey-form > .journey-field {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  #home-journey-form > .journey-extras > .pickup-control,
  #home-journey-form > .journey-extras > .return-control {
    display: flex;
    align-items: stretch;
    padding: 0;
  }

  #home-journey-form > .journey-extras > .return-control {
    flex-direction: column;
  }

  #home-journey-form .pickup-toggle,
  #home-journey-form .return-toggle {
    min-height: 70px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  #home-journey-form > .journey-passengers {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 18px;
  }

  #home-journey-form .passenger-stepper {
    justify-content: flex-start;
  }

  #home-journey-form > .journey-submit {
    min-height: 56px;
    margin: 0;
  }

  #home-journey-form > .journey-field .journey-icon {
    top: 50%;
    transform: translateY(-50%);
  }

  #home-journey-form > .journey-field .gps-button {
    bottom: 50%;
    transform: translateY(50%);
  }
}

/* Reference pickup date and time sheets. */
.viamu-date-popover,
.viamu-time-popover {
  width: min(430px, calc(100vw - 16px));
  max-height: min(620px, calc(100vh - 16px));
  padding: 0;
  color: #242424;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(18, 24, 27, 0.24), 0 4px 14px rgba(18, 24, 27, 0.08);
  overflow-x: hidden;
  overflow-y: auto;
}

.viamu-date-popover .viamu-picker-header,
.viamu-time-popover .viamu-picker-header {
  min-height: 60px;
  margin: 0;
  padding: 0 20px;
  border-bottom: 1px solid #ebe8e2;
}

.viamu-date-popover .viamu-picker-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
}

.viamu-picker-sheet-title,
.viamu-time-heading strong {
  color: #202020;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.viamu-date-popover .viamu-picker-close,
.viamu-time-popover .viamu-picker-close {
  display: grid;
  width: 36px;
  height: 36px;
  color: #202020;
  background: #f1eee8;
  border: 0;
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  place-items: center;
}

.viamu-date-popover .viamu-picker-close:hover,
.viamu-time-popover .viamu-picker-close:hover {
  color: #000;
  background: #e5e1d9;
}

.viamu-calendar-monthbar {
  display: grid;
  min-height: 58px;
  align-items: center;
  padding: 8px 20px 2px;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
}

.viamu-calendar-monthbar .viamu-picker-title {
  color: #202020;
  font-size: 1.08rem;
  font-weight: 500;
  text-align: center;
}

.viamu-calendar-monthbar .viamu-picker-nav {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #202020;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  place-items: center;
}

.viamu-calendar-monthbar .viamu-picker-nav:hover:not(:disabled) {
  background: #f1eee8;
}

.viamu-date-popover .viamu-date-weekdays {
  margin: 0;
  padding: 0 20px;
  color: #958d80;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.viamu-date-popover .viamu-date-weekdays span {
  padding: 7px 0 6px;
}

.viamu-date-popover .viamu-date-days {
  gap: 3px 2px;
  padding: 0 20px 14px;
}

.viamu-date-popover .viamu-date-day {
  width: 40px;
  height: 40px;
  justify-self: center;
  color: #292929;
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 500;
}

.viamu-date-popover .viamu-date-day:hover:not(:disabled) {
  color: #111;
  background: #eeece8;
}

.viamu-date-popover .viamu-date-day.is-outside {
  color: #c3c0ba;
}

.viamu-date-popover .viamu-date-day.is-today:not(.is-selected) {
  color: #202020;
  box-shadow: inset 0 0 0 1px #9b9386;
}

.viamu-date-popover .viamu-date-day.is-selected {
  color: #fff;
  background: #171717;
  box-shadow: none;
  font-weight: 700;
}

.viamu-picker-selection {
  display: grid;
  gap: 4px;
  padding: 13px 20px 15px;
  border-top: 1px solid #ebe8e2;
}

.viamu-picker-selection-label {
  color: #958d80;
  font-size: 0.72rem;
  font-weight: 600;
}

.viamu-picker-selection-value {
  min-height: 22px;
  color: #202020;
  font-size: 0.98rem;
  font-weight: 700;
}

.viamu-picker-save,
.viamu-time-popover .viamu-time-apply {
  width: calc(100% - 32px);
  min-height: 56px;
  margin: 0 16px 16px;
  padding: 10px 16px;
  color: #fff;
  background: #151515;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.viamu-picker-save:hover,
.viamu-time-popover .viamu-time-apply:hover {
  background: #2a2a2a;
}

.viamu-time-popover .viamu-picker-header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
}

.viamu-time-heading {
  justify-self: center;
}

.viamu-picker-back {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #202020;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  place-items: center;
}

.viamu-picker-back:hover {
  background: #f1eee8;
}

.viamu-time-popover .viamu-time-format {
  gap: 8px;
  margin: 0;
  padding: 14px 20px 10px;
}

.viamu-time-popover .viamu-time-format button {
  min-height: 36px;
  padding: 5px 10px;
  color: #958d80;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 0.98rem;
}

.viamu-time-popover .viamu-time-format button[aria-pressed="true"] {
  color: #272727;
  background: #d3d3d3;
  font-weight: 650;
}

.viamu-time-popover .viamu-time-dial {
  display: grid;
  min-height: 224px;
  align-items: center;
  justify-content: stretch;
  gap: 0;
  padding: 0 20px;
  background: #fff;
  border: 0;
  border-radius: 0;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) minmax(54px, 0.82fr);
}

.viamu-time-wheel {
  display: grid;
  min-width: 0;
  height: 224px;
  align-items: center;
  justify-items: center;
  grid-template-rows: 1fr;
}

.viamu-time-wheel-arrow {
  display: none !important;
}

.viamu-time-wheel-viewport {
  display: grid;
  width: 100%;
  height: 220px;
  align-content: center;
  gap: 0;
  overflow: hidden;
  border: 0;
  grid-template-rows: repeat(5, 44px);
}

.viamu-time-wheel-option {
  display: grid;
  width: min(54px, 100%);
  height: 44px;
  align-items: center;
  justify-self: center;
  padding: 0;
  color: #252525;
  background: #fff;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 450;
  place-items: center;
}

.viamu-time-wheel-option:hover {
  background: #f1f1f1;
}

.viamu-time-wheel-option.is-selected {
  color: #fff;
  background: #171717;
  font-weight: 700;
}

.viamu-time-wheel-hour,
.viamu-time-wheel-minute {
  border-right: 1px solid #e5e2dc;
}

.viamu-time-separator {
  width: 1px;
  height: 180px;
  margin: 0;
  overflow: hidden;
  color: transparent;
  background: #e5e2dc;
  font-size: 0;
}

.viamu-time-wheel-period {
  height: 132px;
  align-self: center;
}

.viamu-time-wheel-period .viamu-time-wheel-viewport {
  height: 132px;
  align-content: center;
  grid-template-rows: repeat(2, 44px);
}

.viamu-time-wheel-period .viamu-time-wheel-option {
  width: 54px;
}

.viamu-time-popover .viamu-time-error {
  margin: 10px 20px 0;
}

.viamu-date-popover button:focus-visible,
.viamu-time-popover button:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

html[data-theme="dark"] .viamu-date-popover,
html[data-theme="dark"] .viamu-time-popover {
  color: #edf5f3;
  background: #142025;
  border-color: #31464b;
}

html[data-theme="dark"] .viamu-date-popover .viamu-picker-header,
html[data-theme="dark"] .viamu-picker-selection,
html[data-theme="dark"] .viamu-time-wheel-hour,
html[data-theme="dark"] .viamu-time-wheel-minute {
  border-color: #31464b;
}

html[data-theme="dark"] .viamu-picker-sheet-title,
html[data-theme="dark"] .viamu-time-heading strong,
html[data-theme="dark"] .viamu-calendar-monthbar .viamu-picker-title,
html[data-theme="dark"] .viamu-calendar-monthbar .viamu-picker-nav,
html[data-theme="dark"] .viamu-picker-back,
html[data-theme="dark"] .viamu-picker-selection-value,
html[data-theme="dark"] .viamu-date-popover .viamu-date-day,
html[data-theme="dark"] .viamu-time-wheel-option {
  color: #edf5f3;
}

html[data-theme="dark"] .viamu-date-popover .viamu-date-day.is-outside,
html[data-theme="dark"] .viamu-picker-selection-label,
html[data-theme="dark"] .viamu-date-popover .viamu-date-weekdays,
html[data-theme="dark"] .viamu-time-popover .viamu-time-format button {
  color: #9db5b1;
}

html[data-theme="dark"] .viamu-date-popover .viamu-date-day.is-selected,
html[data-theme="dark"] .viamu-time-wheel-option.is-selected,
html[data-theme="dark"] .viamu-picker-save,
html[data-theme="dark"] .viamu-time-popover .viamu-time-apply {
  color: #fff;
  background: #050505;
}

html[data-theme="dark"] .viamu-date-popover .viamu-picker-close,
html[data-theme="dark"] .viamu-time-popover .viamu-picker-close {
  color: #edf5f3;
  background: #25343a;
}

@media (max-width: 620px) {
  .viamu-date-popover,
  .viamu-time-popover {
    width: calc(100vw - 16px);
    border-radius: 22px;
  }

  .viamu-date-popover .viamu-picker-header,
  .viamu-time-popover .viamu-picker-header,
  .viamu-time-popover .viamu-time-format {
    padding-right: 16px;
    padding-left: 16px;
  }

  .viamu-calendar-monthbar,
  .viamu-date-popover .viamu-date-weekdays,
  .viamu-date-popover .viamu-date-days,
  .viamu-picker-selection {
    padding-right: 16px;
    padding-left: 16px;
  }

  .viamu-time-popover .viamu-time-dial {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* Scheduled pickups open one combined date/time sheet. */
.pickup-picker:is([data-picker-mode="city"], [data-picker-mode="airport"]):has(.viamu-date-popover:not([hidden])) {
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  overflow: visible;
}

.pickup-picker:is([data-picker-mode="city"], [data-picker-mode="airport"]):has(.viamu-date-popover:not([hidden])) > .pickup-picker-heading {
  display: none;
}

.pickup-picker:is([data-picker-mode="city"], [data-picker-mode="airport"]):has(.viamu-date-popover:not([hidden]))
  .pickup-date-field > .viamu-datetime-trigger {
  visibility: hidden;
}

.viamu-date-popover .viamu-picker-selection {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.viamu-picker-selection-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.viamu-picker-time-summary {
  display: grid;
  min-width: 154px;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #202020;
  background: #f1eee8;
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  grid-template-columns: 20px minmax(0, 1fr) 13px;
}

.viamu-picker-time-summary:hover {
  background: #e7e2da;
}

.viamu-picker-time-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viamu-picker-time-chevron {
  color: #746d61;
  font-size: 1.2rem;
  line-height: 1;
}

.viamu-picker-time-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  color: #8d8679;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.viamu-picker-time-icon::before,
.viamu-picker-time-icon::after {
  position: absolute;
  left: 50%;
  display: block;
  width: 1px;
  content: "";
  background: currentColor;
  transform-origin: bottom center;
}

.viamu-picker-time-icon::before {
  top: 2px;
  height: 5px;
}

.viamu-picker-time-icon::after {
  top: 7px;
  height: 4px;
  transform: rotate(125deg);
}

html[data-theme="dark"] .pickup-picker:is([data-picker-mode="city"], [data-picker-mode="airport"]):has(.viamu-date-popover:not([hidden])) {
  background: transparent;
}

html[data-theme="dark"] .viamu-picker-time-summary {
  color: #edf5f3;
  background: #25343a;
}

html[data-theme="dark"] .viamu-picker-time-summary:hover {
  background: #31464b;
}

@media (max-width: 420px) {
  .viamu-date-popover .viamu-picker-selection {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
  }

  .viamu-picker-time-summary {
    justify-self: stretch;
  }
}

/* Protected operations workspace */
.operations-main {
  min-height: calc(100vh - 12rem);
  background: var(--surface-soft);
}

.operations-gate {
  max-width: 680px;
  margin: 3rem auto;
}

.operations-gate .button {
  margin-top: 0.75rem;
}

.operations-heading,
.operations-panel-heading,
.operations-booking-heading,
.operations-heading-actions,
.operations-inline-actions,
.operations-form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.operations-heading {
  margin: 1.5rem 0;
  align-items: end;
}

.operations-heading h1,
.operations-panel-heading h2,
.operations-booking-heading h3,
.operations-action-block h3,
.operations-staff-form-card h3,
.operations-staff-list h3 {
  margin: 0;
}

.operations-heading p:not(.eyebrow),
.operations-panel-heading p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.operations-status {
  margin: 0 0 1rem;
}

.operations-status[data-state="success"] {
  color: var(--success);
}

.operations-status[data-state="warning"] {
  color: #9a5b00;
}

.operations-alerts {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}

.operations-alert {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid #d6942c;
  border-radius: var(--radius-small);
  background: #fff5df;
  color: #5f3900;
}

.operations-alert-danger {
  border-color: #c95e5e;
  background: #fff0f0;
  color: #712727;
}

.operations-alert p {
  margin: .25rem 0 0;
}

.operations-filters {
  display: grid;
  grid-template-columns: minmax(14rem, 2fr) minmax(11rem, 1fr) minmax(10rem, 1fr) auto;
  gap: .75rem;
  align-items: end;
  margin: 1rem 0;
  padding: 1rem;
}

.operations-filters .field {
  margin: 0;
}

.operations-filters [data-booking-filter-count] {
  grid-column: 1 / -1;
  margin: 0;
}

.operations-activity-item {
  display: grid;
  gap: .5rem;
  padding: 1rem 1.25rem;
}

.operations-activity-item p {
  margin: 0;
}

.operations-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.operations-stat {
  display: grid;
  gap: 0.35rem;
  min-height: 10rem;
  padding: 1.25rem;
}

.operations-stat span,
.operations-stat small {
  color: var(--muted);
}

.operations-stat strong {
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.operations-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.operations-tabs button {
  min-height: 2.8rem;
  padding: 0.5rem 0.85rem;
  color: var(--ink);
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.operations-tabs button:hover,
.operations-tabs button:focus-visible,
.operations-tabs button.is-active {
  color: #fff;
  background: var(--brand-dark);
}

.operations-tabs button span {
  display: inline-grid;
  min-width: 1.45rem;
  height: 1.45rem;
  margin-left: 0.25rem;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.75rem;
}

.operations-panel-heading {
  margin: 2rem 0 1rem;
}

.operations-queue {
  display: grid;
  gap: 1rem;
}

.operations-booking-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.operations-booking-heading {
  align-items: flex-start;
}

.operations-booking-heading .eyebrow {
  margin-bottom: 0.2rem;
}

.operations-route {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  overflow: hidden;
  background: var(--surface-soft);
  border-radius: var(--radius-small);
}

.operations-route strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-booking-facts,
.operations-report .trip-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.operations-booking-facts div,
.operations-report .trip-facts div {
  min-width: 0;
}

.operations-booking-facts dt,
.operations-report dt {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.operations-booking-facts dd,
.operations-report dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.operations-action-block {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.operations-enquiry-message {
  margin: 0;
  padding: 0.9rem 1rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  background: var(--surface-soft);
  border-radius: var(--radius-small);
}

.operations-action-block textarea,
.operations-action-block select {
  width: 100%;
}

.operations-action-block > select {
  max-width: 38rem;
}

/* Static utility classes keep the document CSP free of inline style attributes. */
.viamu-u-mt-38 { margin-top: 38px; }
.viamu-u-error-title { font-size: clamp(2rem, 5vw, 3.7rem); }
.viamu-u-mx-auto { margin-inline: auto; }
.viamu-u-justify-center { justify-content: center; }
.viamu-u-width-full { width: 100%; }
.viamu-u-section-pad-top { padding-top: 24px; }
.viamu-u-heading-sm { font-size: 1.7rem; }
.viamu-u-mt-24 { margin-top: 24px; }
.viamu-u-max-760 { max-width: 760px; }
.viamu-u-heading-lg { font-size: 2rem; }
.viamu-u-pre { white-space: pre-wrap; line-height: 1.7; margin: 24px 0 0; }
.viamu-u-eyebrow-gold { color: #f1b24a; }
.viamu-u-mb-34 { margin-bottom: 34px; }
.viamu-route-marker .marker-a { --marker-color: #102a2e; }
.viamu-route-marker .marker-b { --marker-color: #f5ad3f; }


.operations-manual-driver-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.operations-manual-driver-fields .field {
  display: grid;
  gap: 5px;
}

.operations-manual-driver-fields .field > span {
  font-size: .78rem;
  font-weight: 750;
}

.operations-manual-driver-fields textarea {
  min-height: 70px;
  resize: vertical;
}

.operations-demo-banner {
  margin-bottom: 1.25rem;
  border-color: var(--accent);
}

.operations-history-list {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 1rem 0 0 1.2rem;
  border-top: 1px solid var(--line);
}

.operations-history-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.operations-history-list strong {
  color: var(--text);
}

.operations-history-list small {
  flex-basis: 100%;
}

.operations-history {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}

.operations-history summary {
  cursor: pointer;
  font-weight: 750;
}

@media (max-width: 700px) {
  .operations-manual-driver-fields {
    grid-template-columns: 1fr;
  }

  .operations-filters {
    grid-template-columns: 1fr;
  }

  .operations-alert {
    align-items: flex-start;
    flex-direction: column;
  }
}

.operations-inline-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.operations-report {
  margin-top: 1rem;
}

.operations-staff-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.operations-staff-form-card {
  align-self: start;
}

.operations-permission-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.operations-permission-list legend {
  padding: 0 0.35rem;
  font-weight: 800;
}

.operations-permission-list label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink);
}

.operations-permission-list input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
}

.operations-staff-list {
  display: grid;
  gap: 0.75rem;
}

.operations-staff-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
}

.operations-staff-card .operations-booking-heading > div {
  display: grid;
  gap: 0.15rem;
}

@media (max-width: 940px) {
  .operations-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-booking-facts,
  .operations-report .trip-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .operations-staff-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .operations-heading,
  .operations-panel-heading,
  .operations-booking-heading,
  .operations-heading-actions,
  .operations-inline-actions,
  .operations-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-stat-grid,
  .operations-booking-facts,
  .operations-report .trip-facts {
    grid-template-columns: 1fr 1fr;
  }

  .operations-booking-heading .tag,
  .operations-heading-actions .tag,
  .operations-inline-actions .button,
  .operations-form-actions .button {
    width: 100%;
    text-align: center;
  }

  .operations-route {
    align-items: flex-start;
    flex-direction: column;
  }

  .operations-route strong {
    white-space: normal;
  }
}

/* Operations workspace polish: clearer hierarchy, calmer density, and useful
   state cues for staff scanning the queue. */
.operations-main {
  padding-top: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.demo-trip-banner {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  color: #5b3a18;
  background: #fff2dc;
  border-bottom: 1px solid #f1c98f;
  font-size: 0.92rem;
}

.demo-trip-banner strong {
  color: #874c12;
}

@media (max-width: 620px) {
  .demo-trip-banner {
    align-items: flex-start;
    flex-direction: column;
    text-align: center;
  }
}

.operations-main > .container > [data-operations-app] {
  max-width: 1180px;
  margin: 0 auto;
}

.operations-heading {
  position: relative;
  margin: 0 0 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  color: #fff;
  background: var(--brand-dark);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(16, 42, 46, 0.14);
}

.operations-heading h1 {
  color: #fff;
  letter-spacing: -0.03em;
}

.operations-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.operations-heading .eyebrow {
  color: var(--accent);
}

.operations-heading-actions {
  align-self: center;
}

.operations-heading-actions .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.operations-heading-actions .button-secondary:hover,
.operations-heading-actions .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.operations-stat-grid {
  gap: 0.85rem;
  margin: 0 0 1.35rem;
}

.operations-stat {
  position: relative;
  min-height: 8.8rem;
  padding: 1.15rem 1.2rem;
  overflow: hidden;
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(16, 42, 46, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.operations-stat::after {
  position: absolute;
  right: -1.1rem;
  bottom: -1.5rem;
  width: 4.5rem;
  height: 4.5rem;
  content: "";
  border: 10px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%;
}

.operations-stat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand-dark) 38%, var(--line));
  box-shadow: 0 14px 28px rgba(16, 42, 46, 0.1);
}

.operations-stat span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.operations-stat strong {
  color: var(--brand-dark);
  font-size: 2.35rem;
  letter-spacing: -0.04em;
}

.operations-stat small {
  max-width: 22ch;
  line-height: 1.35;
}

.operations-tabs {
  position: sticky;
  z-index: 4;
  top: 0.75rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 18px rgba(16, 42, 46, 0.07);
}

.operations-tabs button {
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.operations-tabs button:active {
  transform: translateY(1px);
}

.operations-panel-heading {
  margin-top: 1.7rem;
  padding-top: 0.25rem;
}

.operations-panel-heading h2 {
  letter-spacing: -0.025em;
}

.operations-booking-card {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 42, 46, 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.operations-booking-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand-dark) 34%, var(--line));
  box-shadow: 0 14px 30px rgba(16, 42, 46, 0.1);
}

.operations-booking-heading .tag {
  flex-shrink: 0;
}

.operations-route {
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-soft) 78%, var(--accent) 22%);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
}

.operations-route .muted {
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.operations-action-block {
  padding-top: 1.2rem;
}

.operations-action-block h3 {
  color: var(--brand-dark);
  font-size: 1rem;
}

.operations-report {
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 42, 46, 0.05);
}

.operations-history {
  padding-top: 0.95rem;
}

.operations-history summary {
  color: var(--brand-dark);
}

html[data-theme="dark"] .operations-heading {
  background: #0c3f3b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .operations-stat,
html[data-theme="dark"] .operations-booking-card,
html[data-theme="dark"] .operations-report {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

@media (max-width: 620px) {
  .operations-heading {
    border-radius: var(--radius-small);
  }

  .operations-tabs {
    top: 0.35rem;
  }
}

/* Theme coherence: keep shared surfaces readable instead of inheriting a
   light card background with dark-mode text (or vice versa). */
html[data-theme="dark"] .site-header:not(.home-header) .nav-links {
  color: #d5e4e1;
}

html[data-theme="dark"] .site-header:not(.home-header) .nav-links a:hover,
html[data-theme="dark"] .site-header:not(.home-header) .nav-links a[aria-current="page"] {
  color: #66d6c8;
}

html[data-theme="dark"] .form-card,
html[data-theme="dark"] .auth-page .auth-main {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

html[data-theme="dark"] .form-card > p,
html[data-theme="dark"] .form-card .muted,
html[data-theme="dark"] .form-card .auth-back-link,
html[data-theme="dark"] .form-card .auth-subtitle,
html[data-theme="dark"] .form-card .auth-switch,
html[data-theme="dark"] .form-card .auth-provider-divider,
html[data-theme="dark"] .form-card .auth-provider-note,
html[data-theme="dark"] .form-card .auth-legal,
html[data-theme="dark"] .form-card .form-note {
  color: var(--muted);
}

html[data-theme="dark"] .form-card input,
html[data-theme="dark"] .form-card select,
html[data-theme="dark"] .form-card textarea,
html[data-theme="dark"] .form-card .auth-provider-button {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line);
}

html[data-theme="dark"] .form-card input::placeholder,
html[data-theme="dark"] .form-card textarea::placeholder {
  color: #8fa6a4;
}

html[data-theme="dark"] .form-card .verification-method,
html[data-theme="dark"] .form-card .booking-auth-panel {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line);
}

html[data-theme="dark"] .form-card .verification-method-head small {
  color: var(--muted);
}

html[data-theme="dark"] .form-card .auth-kicker,
html[data-theme="dark"] .form-card .text-link {
  color: #63d4c5;
}

html[data-theme="dark"] .review-card p {
  color: #b8cbca;
}

/* Keep the CTA visually separated from the passenger column divider at every width. */
#home-journey-form > .journey-submit { margin-inline-start: 12px !important; }
@media (max-width: 700px) {
  #home-journey-form > .journey-submit { margin: 8px 4px !important; }
}

/* Give the narrow-screen CTA a deliberate buffer from the form's card edges
   so its shadow and rounded corners read as a button, not a squeezed grid row. */
@media (max-width: 700px) {
  #home-journey-form > .journey-submit {
    min-height: 60px;
    margin: 4px;
    border-radius: var(--radius-item);
  }
}

/* Keep the service rail moving continuously. Hovering it must not leave the
   homepage frozen after the visitor has finished reading one card. */
.service-highlight-grid {
  touch-action: pan-x pan-y;
  animation-play-state: running;
}

.viamu-datetime-icon.date:has(svg)::before,
.viamu-datetime-icon.date:has(svg)::after {
  display: none;
}

.viamu-datetime-icon.date > svg {
  width: 18px;
  height: 18px;
}

.service-highlights .container:hover .service-highlight-grid {
  animation-play-state: paused;
}

.service-highlight-card:nth-child(3n + 2) {
  background: #e7f3f1;
}

.service-highlight-card:nth-child(3n + 3) {
  background: #fff1dc;
}

html[data-theme="dark"] .service-highlight-card {
  background: #17282d;
  border-color: #2e474c;
}

html[data-theme="dark"] .service-highlight-card:nth-child(3n + 2) {
  background: #1b3738;
}

html[data-theme="dark"] .service-highlight-card:nth-child(3n + 3) {
  background: #24343a;
  border-color: #3b5359;
}

html[data-theme="dark"] .service-highlight-card h2 {
  color: #f1f7f5;
}

html[data-theme="dark"] .service-highlight-card p {
  color: #b6c8c8;
}

@media (max-width: 700px), (max-height: 500px) and (pointer: coarse) {
  .home-header .nav,
  .unified-public-header .nav {
    padding-right: max(14px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .home-brand,
  .home-nav .nav-toggle,
  .home-nav .language-trigger,
  .home-nav .theme-toggle,
  .journey-tab,
  .gps-button,
  .passenger-stepper button {
    min-height: 44px;
  }

  .home-nav .nav-toggle,
  .home-nav .theme-toggle,
  .gps-button,
  .passenger-stepper button {
    width: 44px;
  }

  .journey-tab {
    height: 44px;
  }

  .gps-button {
    height: 44px;
    right: 10px;
    bottom: 10px;
  }

  .journey-field:has(.gps-button) {
    padding-right: 64px;
  }

  .passenger-stepper {
    min-height: 44px;
  }

  .passenger-stepper button {
    height: 44px;
  }

  .service-highlights .container {
    --service-mobile-card-width: clamp(232px, 65vw, 268px);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .service-highlights .container::-webkit-scrollbar {
    display: none;
  }

  .service-highlight-grid {
    animation: none;
    transform: none !important;
    align-items: flex-start;
    gap: 12px;
    padding-inline: calc((100vw - var(--service-mobile-card-width)) / 2);
    width: max-content;
    cursor: grab;
  }

  .service-highlights .container:active .service-highlight-grid {
    cursor: grabbing;
  }

  .service-highlight-card {
    height: 220px;
    min-height: 220px;
    width: var(--service-mobile-card-width);
    flex-basis: var(--service-mobile-card-width);
    padding: 19px 18px 17px;
    opacity: 0.82;
    border-radius: 16px;
    transform: translate3d(0, 0, 0) scale(0.9);
    transition:
      transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 220ms ease,
      border-color 220ms ease,
      box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .service-highlight-card.is-current {
    z-index: 1;
    opacity: 1;
    border-color: rgba(241, 178, 74, 0.42);
    box-shadow: 0 14px 30px rgba(7, 24, 32, 0.14);
    transform: translate3d(0, 0, 0) scale3d(1.07, 1.02, 1);
  }

  .service-highlight-card:has(.service-highlight-details[open]) {
    height: auto;
  }

  .service-highlight-card h2 {
    margin-bottom: 7px;
    font-size: 1.02rem;
  }

  .service-highlight-card p {
    max-width: 100%;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .service-highlight-details {
    padding-top: 9px;
  }

  .service-highlight-details summary {
    min-height: 44px;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .service-highlight-card {
    transition: opacity 120ms ease, border-color 120ms ease;
  }
}

@media (max-width: 620px) {
  .home-faq-section {
    padding-block: 34px;
  }

  .home-faq-section .section-heading {
    gap: 7px;
    margin-bottom: 18px;
  }

  .home-faq-section .section-heading h2 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    line-height: 1.08;
  }

  .home-faq-section .section-heading > p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .home-faq-groups {
    gap: 18px;
  }

  .home-faq-group {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
  }

  .home-faq-group > summary {
    position: relative;
    display: flex;
    min-height: 52px;
    padding: 10px 40px 10px 14px;
    align-items: center;
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 750;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
  }

  .home-faq-group > summary::-webkit-details-marker {
    display: none;
  }

  .home-faq-group > summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    content: "";
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 180ms ease;
  }

  .home-faq-group[open] > summary::after {
    transform: translateY(-35%) rotate(225deg);
  }

  .home-faq-group .faq-list {
    padding: 0 12px 12px;
  }

  .home-faq-group .faq-list {
    gap: 6px;
  }

  .home-faq-group .faq-list details {
    padding: 0 12px;
    border-radius: 12px;
  }

  .home-faq-group .faq-list summary {
    position: relative;
    display: flex;
    min-height: 48px;
    padding: 6px 22px 6px 0;
    align-items: center;
    font-size: 0.84rem;
    line-height: 1.25;
    list-style: none;
  }

  .home-faq-group .faq-list summary::-webkit-details-marker {
    display: none;
  }

  .home-faq-group .faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 7px;
    height: 7px;
    content: "";
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 180ms ease;
  }

  .home-faq-group .faq-list details[open] summary::after {
    transform: translateY(-35%) rotate(225deg);
  }

  .home-faq-group .faq-list details p {
    margin: 0;
    padding: 0 0 12px;
    font-size: 0.8rem;
    line-height: 1.45;
  }
}

/* Responsive homepage booking cards: the light-mode breakpoint surfaces
   must not leak into the dark theme. Keep From and To equal, calm and
   visually related to the pickup/return controls below them. */
@media (max-width: 1100px) {
  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-from),
  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-to) {
    min-height: 72px;
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
  }

  html[data-theme="dark"] #home-journey-form > .journey-passengers {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
  }

  html[data-theme="dark"] #home-journey-form > .journey-extras > .pickup-control,
  html[data-theme="dark"] #home-journey-form > .journey-extras > .return-control {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
  }

  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-from):focus-within,
  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-to):focus-within {
    background: var(--surface-soft);
    border-color: #4bc0b2;
    box-shadow: 0 0 0 1px rgba(75, 192, 178, 0.24);
  }

  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-from) input,
  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-to) input {
    height: 32px;
    padding-inline: 12px;
    color: var(--ink);
    background: #0e171b;
    border-radius: var(--radius-pill);
  }

  html[data-theme="dark"] #home-journey-form .gps-button {
    color: var(--ink);
    background: var(--surface-soft);
    border-color: var(--line);
    box-shadow: none;
  }

  html[data-theme="dark"] #home-journey-form .gps-button:hover,
  html[data-theme="dark"] #home-journey-form .gps-button:focus-visible {
    color: #071820;
    background: #59cabc;
    border-color: #59cabc;
  }

  html[data-theme="dark"] #home-journey-form .passenger-stepper button {
    color: var(--ink);
    background: var(--surface-soft);
    border-color: var(--line);
  }

  html[data-theme="dark"] #home-journey-form .passenger-stepper button:hover,
  html[data-theme="dark"] #home-journey-form .passenger-stepper button:focus-visible {
    color: #071820;
    background: #59cabc;
    border-color: #59cabc;
  }
}


/* =============================================================================
   ADMIN INTERFACE
   Formerly admin.css; consolidated here as the single stylesheet.
   ============================================================================= */
:root {
  --admin-ink: #102a2e;
  --admin-muted: #6b7e80;
  --admin-surface: #ffffff;
  --admin-surface-soft: #f5f8f7;
  --admin-line: #dfe9e7;
  --admin-line-strong: #cddcd9;
  --admin-sidebar: #103538;
  --admin-sidebar-soft: #18474a;
  --admin-teal: #0f766e;
  --admin-teal-soft: #dff2ee;
  --admin-coral: #e98958;
  --admin-coral-soft: #fff0e8;
  --admin-amber: #b27624;
  --admin-amber-soft: #fff3d9;
  --admin-green: #1d8950;
  --admin-green-soft: #e5f6ec;
  --admin-blue: #5478b7;
  --admin-blue-soft: #edf2fb;
  --admin-radius: 14px;
  --admin-shadow: 0 18px 45px rgba(16, 42, 46, 0.08);
}

.admin-page {
  min-height: 100vh;
  color: var(--admin-ink);
  background: #f4f7f6;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.admin-page * { box-sizing: border-box; }
.admin-page button, .admin-page input, .admin-page select { font: inherit; }
.admin-page button { cursor: pointer; }
.admin-page ::selection { color: #fff; background: var(--admin-teal); }
.admin-page [hidden] { display: none !important; }
.admin-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.admin-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.admin-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.admin-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { display: flex; position: sticky; top: 0; z-index: 40; flex-direction: column; min-height: 100vh; padding: 26px 16px 18px; color: #e9f5f2; background: var(--admin-sidebar); }
.admin-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 26px; }
.admin-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.05rem; font-weight: 820; letter-spacing: .13em; text-decoration: none; }
.admin-brand .brand-mark { display: grid; width: 30px; height: 30px; place-items: center; color: #1b3335; background: var(--admin-coral); border-radius: 9px; font-size: 1rem; letter-spacing: 0; }
.admin-icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; padding: 0; color: var(--admin-muted); background: transparent; border: 1px solid transparent; border-radius: 10px; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.admin-icon-button:hover { color: var(--admin-ink); background: var(--admin-surface-soft); border-color: var(--admin-line); }
.admin-icon-button:active { transform: translateY(1px); }
.admin-icon-button:focus-visible, .admin-page button:focus-visible, .admin-page a:focus-visible, .admin-page input:focus-visible, .admin-page select:focus-visible { outline: 3px solid rgba(233, 137, 88, .38); outline-offset: 2px; }
.admin-sidebar .admin-icon-button { color: #a8c2be; }
.admin-sidebar .admin-icon-button:hover { color: #fff; background: var(--admin-sidebar-soft); border-color: rgba(255,255,255,.1); }
.admin-sidebar-close { display: none; }
.admin-workspace-switcher { display: flex; width: 100%; align-items: center; gap: 10px; margin-bottom: 28px; padding: 10px; color: #dcebe8; text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 11px; }
.admin-workspace-switcher:hover { background: rgba(255,255,255,.1); }
.admin-workspace-symbol { display: grid; width: 28px; height: 28px; place-items: center; color: var(--admin-sidebar); background: #dff2ee; border-radius: 8px; font-size: .78rem; font-weight: 850; }
.admin-workspace-copy { display: grid; min-width: 0; gap: 1px; flex: 1; }
.admin-workspace-copy small { color: #97b7b2; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-workspace-copy strong { overflow: hidden; color: #fff; font-size: .8rem; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.admin-chevron { width: 15px; height: 15px; color: #8eaba7; }
.admin-nav { display: grid; gap: 3px; }
.admin-nav-label { margin: 0 10px 8px; color: #83a5a0; font-size: .68rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.admin-nav-label-spaced { margin-top: 24px; }
.admin-nav-item { display: flex; width: 100%; min-height: 42px; align-items: center; gap: 12px; padding: 0 11px; color: #b9cfcb; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 10px; font-weight: 620; transition: color 180ms ease, background 180ms ease; }
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-nav-item.is-active { color: #fff; background: var(--admin-sidebar-soft); border-color: rgba(255,255,255,.06); }
.admin-nav-item .admin-icon { width: 17px; height: 17px; color: #91b2ad; }
.admin-nav-item.is-active .admin-icon { color: var(--admin-coral); }
.admin-nav-item span:nth-child(2) { flex: 1; }
.admin-nav-count { display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px; color: #fff; background: rgba(255,255,255,.12); border-radius: 7px; font-size: .68rem; font-weight: 760; }
.admin-nav-count-soft { color: #f6c5a7; background: rgba(233,137,88,.13); }
.admin-sidebar-bottom { display: grid; gap: 18px; margin-top: auto; }
.admin-support-card { padding: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.admin-support-icon { display: grid; width: 26px; height: 26px; place-items: center; margin-bottom: 10px; color: var(--admin-coral); background: rgba(233,137,88,.15); border-radius: 7px; }
.admin-support-icon .admin-icon { width: 14px; height: 14px; }
.admin-support-card strong { display: block; color: #fff; font-size: .82rem; }
.admin-support-card p { margin: 4px 0 12px; color: #9eb8b4; font-size: .72rem; line-height: 1.5; }
.admin-text-button { display: inline-flex; align-items: center; gap: 7px; padding: 0; color: var(--admin-teal); background: transparent; border: 0; font-size: .78rem; font-weight: 760; }
.admin-text-button:hover { color: #0a554f; text-decoration: underline; text-underline-offset: 3px; }
.admin-text-button .admin-icon { width: 15px; height: 15px; }
.admin-text-button-light { color: #f6c5a7; }
.admin-text-button-light:hover { color: #fff; }
.admin-account-button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 8px; color: #fff; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 10px; }
.admin-account-button:hover { background: rgba(255,255,255,.06); }
.admin-account-button > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 1px; }
.admin-account-button strong { overflow: hidden; font-size: .76rem; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.admin-account-button small { color: #91b2ad; font-size: .69rem; }
.admin-account-button > .admin-icon { width: 15px; color: #91b2ad; }
.admin-avatar { display: inline-grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; color: var(--admin-sidebar); background: #e0f0ed; border-radius: 9px; font-size: .67rem; font-weight: 840; }
.admin-avatar-coral { color: #67351e; background: #f6c5a7; }
.admin-avatar-teal { color: #0c5953; background: #c9e9e4; }
.admin-avatar-blue { color: #315486; background: #dce7fa; }
.admin-avatar-amber { color: #79571d; background: #fae5b0; }

.admin-main { min-width: 0; background: #f4f7f6; }
.admin-topbar { position: sticky; top: 0; z-index: 25; display: flex; min-height: 78px; align-items: center; gap: 22px; padding: 0 34px; background: rgba(244,247,246,.96); border-bottom: 1px solid var(--admin-line); }
.admin-mobile-menu { display: none; }
.admin-breadcrumbs { display: inline-flex; align-items: center; gap: 10px; color: #7d8e8f; font-size: .78rem; }
.admin-breadcrumbs strong { color: var(--admin-ink); font-weight: 760; }
.admin-topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.admin-search { display: flex; width: min(360px, 33vw); min-height: 40px; align-items: center; gap: 9px; padding: 0 11px; color: #7a8d8d; background: var(--admin-surface); border: 1px solid var(--admin-line); border-radius: 10px; }
.admin-search:focus-within { border-color: #9dc4be; box-shadow: 0 0 0 3px rgba(15,118,110,.08); }
.admin-search .admin-icon { width: 16px; height: 16px; }
.admin-search input { min-width: 0; flex: 1; color: var(--admin-ink); background: transparent; border: 0; outline: 0; font-size: .78rem; }
.admin-search input::placeholder { color: #9aacac; }
.admin-search kbd { display: inline-grid; min-width: 20px; height: 21px; place-items: center; color: #8b9a9a; background: #f1f5f4; border: 1px solid var(--admin-line); border-radius: 5px; font-size: .67rem; }
.admin-notification-button { position: relative; color: var(--admin-ink); background: var(--admin-surface); border-color: var(--admin-line); }
.admin-notification-button:hover { color: var(--admin-teal); background: var(--admin-surface); }
.admin-notification-dot { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; background: var(--admin-coral); border: 1px solid #fff; border-radius: 50%; }
.admin-topbar-avatar { display: grid; width: 38px; height: 38px; place-items: center; color: #67351e; background: #f6c5a7; border: 0; border-radius: 10px; font-size: .7rem; font-weight: 840; }
.admin-topbar-avatar:hover { box-shadow: 0 0 0 3px rgba(233,137,88,.2); }
.admin-content { max-width: 1540px; margin: 0 auto; padding: 22px 34px 48px; }
.admin-data-banner { display: flex; min-height: 38px; align-items: center; gap: 8px; margin-bottom: 26px; padding: 8px 12px; color: #516d6d; background: #edf6f3; border: 1px solid #d6e9e5; border-radius: 9px; font-size: .74rem; }
.admin-data-banner strong { color: #2f5b58; font-size: .72rem; }
.admin-data-banner [data-data-mode-copy] { flex: 1; }
.admin-banner-action { padding: 0; color: var(--admin-teal); background: transparent; border: 0; font-size: .72rem; font-weight: 760; }
.admin-banner-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.admin-live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; background: var(--admin-green); border-radius: 50%; box-shadow: 0 0 0 3px rgba(29,137,80,.12); }
.admin-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.admin-page-heading h1 { margin: 0; color: var(--admin-ink); font-size: 1.8rem; font-weight: 790; letter-spacing: -.035em; line-height: 1.12; }
.admin-page-heading p { margin: 6px 0 0; color: var(--admin-muted); font-size: .84rem; }
.admin-heading-actions { display: flex; align-items: center; gap: 9px; }
.admin-button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid transparent; border-radius: 9px; font-size: .77rem; font-weight: 760; transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.admin-button:active { transform: translateY(1px); }
.admin-button .admin-icon { width: 15px; height: 15px; }
.admin-button-primary { color: #fff; background: var(--admin-teal); border-color: var(--admin-teal); }
.admin-button-primary:hover { background: #0a5d57; border-color: #0a5d57; }
.admin-button-secondary { color: var(--admin-ink); background: var(--admin-surface); border-color: var(--admin-line-strong); }
.admin-button-secondary:hover { color: var(--admin-teal); background: #f7fbfa; border-color: #a9cbc5; }
.admin-live-strip { display: flex; min-height: 42px; align-items: center; gap: 14px; margin-bottom: 18px; padding: 0 14px; color: #6f8080; background: var(--admin-surface); border: 1px solid var(--admin-line); border-radius: 10px; font-size: .74rem; }
.admin-live-label { display: inline-flex; align-items: center; gap: 8px; color: #2b625d; font-weight: 760; }
.admin-strip-location { margin-left: auto; color: #889998; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.admin-stat-card { min-width: 0; padding: 16px; background: var(--admin-surface); border: 1px solid var(--admin-line); border-radius: var(--admin-radius); }
.admin-stat-card-teal { color: #fff; background: var(--admin-sidebar); border-color: var(--admin-sidebar); }
.admin-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 15px; }
.admin-stat-icon { display: grid; width: 30px; height: 30px; place-items: center; color: var(--admin-teal); background: var(--admin-teal-soft); border-radius: 8px; }
.admin-stat-card-teal .admin-stat-icon { color: #fff; background: rgba(255,255,255,.11); }
.admin-stat-icon-soft { color: #557c78; background: #e8f3f1; }
.admin-stat-icon-amber { color: #9b661d; background: var(--admin-amber-soft); }
.admin-stat-icon-coral { color: #bd6338; background: var(--admin-coral-soft); }
.admin-stat-card strong { display: block; margin-bottom: 2px; font-size: 1.85rem; font-weight: 790; letter-spacing: -.04em; line-height: 1; }
.admin-stat-card > span:not(.admin-stat-change) { display: block; color: var(--admin-ink); font-size: .76rem; font-weight: 740; }
.admin-stat-card-teal > span:not(.admin-stat-change) { color: #fff; }
.admin-stat-card small { display: block; margin-top: 7px; overflow: hidden; color: var(--admin-muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-stat-card-teal small { color: #a9c1bd; }
.admin-stat-change { display: inline-flex; align-items: center; gap: 2px; padding: 4px 6px; color: var(--admin-green); background: var(--admin-green-soft); border-radius: 5px; font-size: .63rem; font-weight: 790; white-space: nowrap; }
.admin-stat-change .admin-icon { width: 11px; height: 11px; }
.admin-stat-positive { color: #8ce1ae; background: rgba(115,215,155,.13); }
.admin-stat-card:not(.admin-stat-card-teal) .admin-stat-positive { color: var(--admin-green); background: var(--admin-green-soft); }
.admin-stat-neutral { color: #738383; background: #f0f4f3; }
.admin-stat-warning { color: #b16f20; background: var(--admin-amber-soft); }
.admin-primary-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); gap: 16px; align-items: start; }
.admin-side-stack { display: grid; gap: 16px; }
.admin-secondary-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 16px; margin-top: 16px; }
.admin-panel { min-width: 0; background: var(--admin-surface); border: 1px solid var(--admin-line); border-radius: var(--admin-radius); }
.admin-panel-heading, .admin-table-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 17px 18px 13px; }
.admin-panel-heading h2, .admin-table-heading h2 { margin: 0; color: var(--admin-ink); font-size: .97rem; font-weight: 780; letter-spacing: -.02em; }
.admin-panel-heading p, .admin-table-heading p { margin: 4px 0 0; color: var(--admin-muted); font-size: .72rem; }
.admin-status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 6px; font-size: .64rem; font-weight: 760; }
.status-live { color: var(--admin-green); background: var(--admin-green-soft); }
.status-live .admin-live-dot { width: 5px; height: 5px; box-shadow: none; }
.admin-control-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px 13px; }
.admin-segmented { display: inline-flex; max-width: 100%; align-items: center; gap: 3px; padding: 3px; overflow-x: auto; background: #f1f5f4; border: 1px solid #e6eeec; border-radius: 8px; scrollbar-width: none; }
.admin-segmented::-webkit-scrollbar { display: none; }
.admin-segmented button { min-height: 29px; padding: 0 9px; color: #728383; background: transparent; border: 0; border-radius: 6px; font-size: .67rem; font-weight: 740; white-space: nowrap; }
.admin-segmented button:hover { color: var(--admin-ink); }
.admin-segmented button.is-active { color: var(--admin-ink); background: #fff; box-shadow: 0 1px 3px rgba(16,42,46,.08); }
.admin-segmented button span { margin-left: 3px; color: #9aabaa; font-weight: 680; }
.admin-segmented-large { padding: 4px; }
.admin-segmented-large button { min-height: 34px; padding: 0 12px; font-size: .72rem; }
.admin-filter-button { width: 32px; height: 32px; color: #7f9190; border-color: var(--admin-line); }
.admin-filter-button:hover { color: var(--admin-teal); background: var(--admin-teal-soft); border-color: #b8dad4; }
.admin-ride-list { display: grid; }
.admin-empty-row { display: grid; gap: 4px; padding: 24px 18px; color: var(--admin-muted); border-top: 1px solid #edf2f1; font-size: .7rem; }
.admin-empty-row strong { color: var(--admin-ink); font-size: .75rem; }
.admin-empty-row span { font-size: .67rem; }
.admin-ride-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(150px, .6fr) auto 26px; gap: 12px; align-items: center; padding: 13px 18px; border-top: 1px solid #edf2f1; transition: background 180ms ease; }
.admin-ride-item:hover { background: #fbfdfc; }
.admin-ride-time { display: grid; gap: 1px; }
.admin-ride-time strong { color: var(--admin-ink); font-size: .78rem; font-weight: 790; }
.admin-ride-time span { color: var(--admin-muted); font-size: .65rem; }
.admin-ride-route { min-width: 0; }
.admin-ride-route-line { display: flex; min-width: 0; align-items: center; gap: 6px; color: var(--admin-ink); font-size: .75rem; font-weight: 730; }
.admin-ride-route-line strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-ride-route-line > span { color: #9aabaa; }
.admin-ride-route small { display: block; margin-top: 4px; overflow: hidden; color: var(--admin-muted); font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-route-mark { display: inline-grid; width: 7px; height: 7px; flex: 0 0 auto; background: var(--admin-teal); border-radius: 50%; }
.admin-route-mark.end { background: var(--admin-coral); }
.admin-ride-driver { display: flex; min-width: 0; align-items: center; gap: 8px; }
.admin-ride-driver > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: #315b58; background: #d9eeea; border-radius: 8px; font-size: .62rem; font-weight: 820; }
.admin-ride-driver > div { display: grid; min-width: 0; gap: 1px; }
.admin-ride-driver strong { overflow: hidden; color: var(--admin-ink); font-size: .69rem; font-weight: 740; text-overflow: ellipsis; white-space: nowrap; }
.admin-ride-driver small { overflow: hidden; color: var(--admin-muted); font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-status { display: inline-flex; min-height: 25px; align-items: center; justify-content: center; padding: 0 7px; border-radius: 6px; font-size: .62rem; font-weight: 760; white-space: nowrap; }
.status-in-progress { color: #2e6a63; background: #e1f2ee; }
.status-waiting { color: #9f661e; background: #fff3d9; }
.status-arrived { color: #5572aa; background: #edf2fb; }
.status-onboard { color: #6c5e9f; background: #f1edff; }
.status-completed { color: #5f7473; background: #eef3f2; }
.status-active { color: var(--admin-green); background: var(--admin-green-soft); }
.status-inactive { color: #6c7b7b; background: #eef3f2; }
.status-pending { color: #a26b22; background: var(--admin-amber-soft); }
.status-suspended { color: #bd6338; background: var(--admin-coral-soft); }
.admin-row-action { display: inline-grid; width: 28px; height: 28px; place-items: center; padding: 0; color: #96a5a5; background: transparent; border: 0; border-radius: 6px; }
.admin-row-action:hover { color: var(--admin-ink); background: #eff5f3; }
.admin-row-action .admin-icon { width: 15px; height: 15px; }
.admin-fleet-list { display: grid; gap: 16px; padding: 0 18px 16px; }
.admin-fleet-row { display: grid; grid-template-columns: minmax(110px, 1fr) 26px 36px; gap: 6px 10px; align-items: center; color: var(--admin-muted); font-size: .68rem; }
.admin-fleet-label { display: inline-flex; align-items: center; gap: 7px; color: var(--admin-ink); font-size: .72rem; font-weight: 680; }
.admin-fleet-row strong { color: var(--admin-ink); font-size: .78rem; font-weight: 780; }
.admin-fleet-row > span:not(.admin-status-dot) { text-align: right; }
.admin-status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }
.dot-green { background: var(--admin-green); }
.dot-teal { background: var(--admin-teal); }
.dot-amber { background: #d89c3d; }
.dot-muted { background: #a9b7b6; }
.admin-fleet-meter { grid-column: 1 / -1; height: 4px; overflow: hidden; background: #edf2f1; border-radius: 999px; }
.admin-fleet-meter span { display: block; height: 100%; background: var(--admin-green); border-radius: inherit; }
.admin-fleet-meter.meter-teal span { background: var(--admin-teal); }
.admin-fleet-meter.meter-amber span { background: #d89c3d; }
.admin-fleet-meter.meter-muted span { background: #a9b7b6; }
.admin-full-width-button { display: flex; width: calc(100% - 36px); min-height: 36px; align-items: center; justify-content: center; gap: 7px; margin: 0 18px 18px; color: var(--admin-teal); background: var(--admin-teal-soft); border: 1px solid #cde7e2; border-radius: 8px; font-size: .7rem; font-weight: 760; }
.admin-full-width-button:hover { background: #d3ece7; }
.admin-full-width-button .admin-icon { width: 14px; height: 14px; }
.admin-count-label { color: var(--admin-coral); font-size: .68rem; font-weight: 760; }
.admin-attention-list { display: grid; gap: 0; margin: 0; padding: 0 18px 8px; list-style: none; }
.admin-attention-list li { display: grid; grid-template-columns: 29px minmax(0, 1fr) 28px; gap: 9px; align-items: center; padding: 11px 0; border-top: 1px solid #edf2f1; }
.admin-attention-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; }
.admin-attention-icon .admin-icon { width: 14px; height: 14px; }
.attention-warning { color: #a26b22; background: var(--admin-amber-soft); }
.attention-coral { color: #bd6338; background: var(--admin-coral-soft); }
.attention-teal { color: var(--admin-teal); background: var(--admin-teal-soft); }
.admin-attention-list li > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.admin-attention-list strong { overflow: hidden; color: var(--admin-ink); font-size: .7rem; font-weight: 740; text-overflow: ellipsis; white-space: nowrap; }
.admin-attention-list small { overflow: hidden; color: var(--admin-muted); font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-attention-list button { display: inline-grid; width: 28px; height: 28px; place-items: center; padding: 0; color: #8fa1a0; background: transparent; border: 0; border-radius: 6px; }
.admin-attention-list button:hover { color: var(--admin-teal); background: var(--admin-teal-soft); }
.admin-attention-list button .admin-icon { width: 14px; height: 14px; }
.admin-activity-list { display: grid; padding: 0 18px 11px; }
.admin-activity-item { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #edf2f1; }
.admin-activity-item > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 2px; }
.admin-activity-item strong { overflow: hidden; color: var(--admin-ink); font-size: .7rem; font-weight: 710; text-overflow: ellipsis; white-space: nowrap; }
.admin-activity-item small { color: var(--admin-muted); font-size: .62rem; }
.admin-activity-status { color: var(--admin-green); font-size: .64rem; font-weight: 760; }
.admin-quick-actions { display: grid; gap: 7px; padding: 0 18px 16px; }
.admin-quick-actions button { display: grid; grid-template-columns: 32px minmax(0, 1fr) 17px; gap: 10px; align-items: center; min-height: 50px; padding: 7px; color: var(--admin-ink); text-align: left; background: transparent; border: 1px solid transparent; border-radius: 9px; }
.admin-quick-actions button:hover { background: #f6faf9; border-color: var(--admin-line); }
.admin-quick-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; }
.admin-quick-icon .admin-icon { width: 15px; height: 15px; }
.quick-teal { color: var(--admin-teal); background: var(--admin-teal-soft); }
.quick-coral { color: #bd6338; background: var(--admin-coral-soft); }
.quick-amber { color: #a26b22; background: var(--admin-amber-soft); }
.admin-quick-actions button > span:nth-child(2) { display: grid; gap: 2px; }
.admin-quick-actions strong { font-size: .7rem; font-weight: 740; }
.admin-quick-actions small { color: var(--admin-muted); font-size: .62rem; }
.admin-quick-arrow { width: 15px; height: 15px; color: #99a9a8; }

.admin-view { animation: admin-view-in 220ms ease-out both; }
@keyframes admin-view-in { from { opacity: .75; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.admin-page-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.admin-table-panel { overflow: hidden; }
.admin-table-heading { align-items: center; padding-bottom: 15px; }
.admin-table-note { display: inline-flex; align-items: center; gap: 6px; color: #7e918f; font-size: .67rem; white-space: nowrap; }
.admin-table-note .admin-icon { width: 14px; height: 14px; color: var(--admin-green); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; min-width: 770px; border-collapse: collapse; }
.admin-table th { padding: 10px 18px; color: #829391; background: #f8faf9; border-top: 1px solid #edf2f1; border-bottom: 1px solid var(--admin-line); font-size: .65rem; font-weight: 760; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 13px 18px; color: #45605f; border-bottom: 1px solid #edf2f1; font-size: .72rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background 180ms ease; }
.admin-table tbody tr:hover { background: #fbfdfc; }
.admin-table .admin-person-cell { display: flex; min-width: 165px; align-items: center; gap: 9px; }
.admin-table .admin-person-cell > span:last-child { display: grid; min-width: 0; gap: 2px; }
.admin-table .admin-person-cell strong { overflow: hidden; color: var(--admin-ink); font-size: .73rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.admin-table .admin-person-cell small { color: var(--admin-muted); font-size: .63rem; }
.admin-table .admin-contact-cell { display: grid; gap: 2px; }
.admin-table .admin-contact-cell span { color: var(--admin-ink); font-size: .69rem; }
.admin-table .admin-contact-cell small { color: var(--admin-muted); font-size: .63rem; }
.admin-table .admin-number-cell { color: var(--admin-ink); font-weight: 760; }
.admin-table .admin-muted-cell { color: var(--admin-muted); font-size: .68rem; }
.admin-table .admin-table-id { color: var(--admin-ink); font-size: .69rem; font-weight: 760; letter-spacing: .02em; }
.admin-warning-text { color: #a26b22 !important; }
.admin-table .admin-actions-cell { width: 46px; text-align: right; }
.admin-locked-label { color: #7d8e8e; font-size: .64rem; font-weight: 740; }
.admin-mini-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.admin-mini-stat-grid > div { display: flex; min-height: 60px; align-items: center; gap: 8px; padding: 0 14px; background: var(--admin-surface); border: 1px solid var(--admin-line); border-radius: 10px; }
.admin-mini-stat-grid strong { color: var(--admin-ink); font-size: 1.1rem; font-weight: 790; }
.admin-mini-stat-grid span:last-child { color: var(--admin-muted); font-size: .68rem; }
.admin-mini-stat-grid .admin-status-dot { margin-right: 1px; }
.admin-inline-select, .admin-inline-search { position: relative; display: inline-flex; min-height: 34px; align-items: center; gap: 7px; color: #7b8d8c; background: var(--admin-surface); border: 1px solid var(--admin-line); border-radius: 8px; }
.admin-inline-select { padding: 0 8px 0 10px; }
.admin-inline-select > span { font-size: .65rem; font-weight: 730; }
.admin-inline-select select { min-width: 115px; padding: 0 18px 0 0; color: var(--admin-ink); appearance: none; background: transparent; border: 0; outline: 0; font-size: .69rem; font-weight: 720; }
.admin-inline-select > .admin-icon { position: absolute; right: 7px; width: 13px; height: 13px; pointer-events: none; }
.admin-inline-search { width: 208px; padding: 0 9px; }
.admin-inline-search .admin-icon { width: 14px; height: 14px; }
.admin-inline-search input { min-width: 0; flex: 1; color: var(--admin-ink); background: transparent; border: 0; outline: 0; font-size: .7rem; }
.admin-inline-search input::placeholder { color: #9aabaa; }
.admin-report-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 16px; }
.admin-report-total { color: var(--admin-teal); font-size: .78rem; font-weight: 790; }
.admin-chart { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 8px 18px 22px; }
.admin-chart-y { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 21px; color: #98a8a7; font-size: .62rem; }
.admin-chart-area { position: relative; display: grid; height: 218px; grid-template-rows: 1fr 21px; }
.admin-chart-gridline { position: relative; z-index: 0; border-top: 1px dashed #e3ecea; }
.admin-chart-bars { position: absolute; right: 5px; bottom: 21px; left: 0; z-index: 1; display: flex; height: calc(100% - 21px); align-items: flex-end; justify-content: space-around; gap: 12px; }
.admin-chart-bars > span { position: relative; display: block; width: min(38px, 11%); min-height: 8px; background: var(--admin-teal); border-radius: 5px 5px 2px 2px; }
.admin-chart-bars > span:nth-child(4n) { background: var(--admin-coral); }
.admin-chart-bars > span i { position: absolute; right: 0; bottom: 0; left: 0; height: 26%; background: rgba(255,255,255,.28); border-radius: inherit; }
.admin-chart-x { display: flex; justify-content: space-around; color: #98a8a7; font-size: .62rem; }
.admin-breakdown-list { display: grid; gap: 15px; padding: 3px 18px 17px; }
.admin-breakdown-list > div { display: flex; align-items: center; justify-content: space-between; color: #526a69; font-size: .72rem; }
.admin-breakdown-list > div > span { display: inline-flex; align-items: center; gap: 8px; }
.admin-breakdown-list strong { color: var(--admin-ink); font-size: .75rem; }
.admin-breakdown-swatch { display: inline-block; width: 8px; height: 8px; border-radius: 3px; }
.swatch-teal { background: var(--admin-teal); }
.swatch-coral { background: var(--admin-coral); }
.swatch-amber { background: #d89c3d; }
.admin-report-callout { display: grid; gap: 3px; margin: 2px 18px 18px; padding: 12px; background: #f5f9f8; border-radius: 9px; }
.admin-report-callout strong { color: var(--admin-ink); font-size: .72rem; }
.admin-report-callout span { color: var(--admin-muted); font-size: .67rem; }

.admin-toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: flex; min-width: 230px; max-width: min(360px, calc(100vw - 48px)); align-items: center; gap: 9px; padding: 12px 14px; color: #fff; background: var(--admin-sidebar); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; box-shadow: var(--admin-shadow); font-size: .74rem; }
.admin-toast.is-visible { animation: admin-toast-in 220ms ease-out both; }
@keyframes admin-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.admin-dialog { width: min(520px, calc(100vw - 32px)); padding: 0; color: var(--admin-ink); background: var(--admin-surface); border: 1px solid var(--admin-line); border-radius: 16px; box-shadow: 0 28px 90px rgba(16,42,46,.22); }
.admin-dialog::backdrop { background: rgba(16,42,46,.36); }
.admin-dialog-form { padding: 22px; }
.admin-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.admin-dialog-heading > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.admin-dialog-icon { display: grid; width: 34px; height: 34px; grid-row: span 3; place-items: center; color: #bd6338; background: var(--admin-coral-soft); border-radius: 9px; }
.admin-dialog-icon-teal { color: var(--admin-teal); background: var(--admin-teal-soft); }
.admin-dialog-icon .admin-icon { width: 17px; height: 17px; }
.admin-dialog-heading h2 { margin: 0; font-size: 1.05rem; letter-spacing: -.02em; }
.admin-dialog-heading p { grid-column: 2; margin: 4px 0 0; color: var(--admin-muted); font-size: .74rem; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-field { display: grid; gap: 6px; }
.admin-field-full { grid-column: 1 / -1; }
.admin-field label { color: var(--admin-ink); font-size: .7rem; font-weight: 760; }
.admin-field input, .admin-field select { width: 100%; min-height: 40px; padding: 0 11px; color: var(--admin-ink); background: #fbfdfc; border: 1px solid var(--admin-line-strong); border-radius: 8px; outline: 0; font-size: .76rem; }
.admin-field input:focus, .admin-field select:focus { border-color: #9dc4be; box-shadow: 0 0 0 3px rgba(15,118,110,.08); }
.admin-field small { color: var(--admin-muted); font-size: .65rem; }
.admin-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 25px; padding-top: 16px; border-top: 1px solid #edf2f1; }
.admin-detail-dialog { width: min(560px, calc(100vw - 32px)); }
.admin-detail-body { display: grid; gap: 10px; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-detail-item { display: grid; gap: 3px; padding: 10px 11px; background: #f7faf9; border-radius: 8px; }
.admin-detail-item span { color: var(--admin-muted); font-size: .64rem; }
.admin-detail-item strong { color: var(--admin-ink); font-size: .74rem; font-weight: 750; }
.admin-detail-assignment-section { display: grid; gap: 9px; padding-top: 4px; }
.admin-detail-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.admin-detail-section-heading strong { color: var(--admin-ink); font-size: .76rem; }
.admin-detail-section-heading span { color: var(--admin-muted); font-size: .64rem; text-align: right; }
.admin-detail-assignment-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 11px; background: #f7faf9; border: 1px solid #edf2f1; border-radius: 9px; }
.admin-detail-assignment-form .admin-button { min-height: 40px; white-space: nowrap; }
.admin-detail-status-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding-top: 4px; }
.admin-detail-status-form .admin-button { min-height: 40px; }

@media (max-width: 1180px) {
  .admin-shell { grid-template-columns: 226px minmax(0, 1fr); }
  .admin-sidebar { padding-right: 12px; padding-left: 12px; }
  .admin-content, .admin-topbar { padding-right: 24px; padding-left: 24px; }
  .admin-primary-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); }
  .admin-ride-item { grid-template-columns: 48px minmax(0, 1fr) auto 26px; }
  .admin-ride-driver { display: none; }
}

@media (max-width: 920px) {
  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 246px; min-height: 0; transform: translateX(-102%); transition: transform 220ms ease-out; box-shadow: 14px 0 45px rgba(16,42,46,.16); }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-sidebar-close, .admin-mobile-menu { display: inline-grid; }
  .admin-sidebar-backdrop { position: fixed; inset: 0; z-index: 35; background: rgba(16,42,46,.32); }
  .admin-mobile-menu { color: var(--admin-ink); background: var(--admin-surface); border-color: var(--admin-line); }
  .admin-topbar { gap: 12px; }
  .admin-primary-grid, .admin-secondary-grid, .admin-report-grid { grid-template-columns: 1fr; }
  .admin-side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .admin-topbar { min-height: 66px; padding: 0 16px; }
  .admin-content { padding: 16px 16px 34px; }
  .admin-breadcrumbs { display: none; }
  .admin-search { width: auto; flex: 1; }
  .admin-search kbd { display: none; }
  .admin-topbar-actions { width: 100%; }
  .admin-data-banner { align-items: flex-start; flex-wrap: wrap; gap: 5px 8px; margin-bottom: 18px; }
  .admin-data-banner [data-data-mode-copy] { flex: 1 0 calc(100% - 18px); padding-left: 15px; }
  .admin-banner-action { margin-left: auto; }
  .admin-page-heading { display: block; }
  .admin-heading-actions { margin-top: 14px; }
  .admin-heading-actions .admin-button { flex: 1; }
  .admin-page-heading h1 { font-size: 1.55rem; }
  .admin-strip-location { display: none; }
  .admin-live-strip { gap: 10px; overflow: hidden; white-space: nowrap; }
  .admin-live-strip > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
  .admin-stat-grid { gap: 8px; }
  .admin-stat-card { padding: 13px; border-radius: 12px; }
  .admin-stat-card strong { font-size: 1.55rem; }
  .admin-stat-card small { white-space: normal; }
  .admin-side-stack { grid-template-columns: 1fr; }
  .admin-control-row { display: block; }
  .admin-control-row .admin-filter-button { margin-top: 9px; }
  .admin-ride-item { grid-template-columns: 45px minmax(0, 1fr) 26px; gap: 8px; padding-right: 14px; padding-left: 14px; }
  .admin-ride-item .admin-status { grid-column: 2; justify-self: start; margin-top: -4px; }
  .admin-ride-item .admin-row-action { grid-column: 3; grid-row: 1 / span 2; }
  .admin-panel-heading, .admin-table-heading { padding-right: 14px; padding-left: 14px; }
  .admin-panel-heading .admin-text-button { font-size: .7rem; }
  .admin-fleet-list, .admin-attention-list, .admin-activity-list, .admin-quick-actions { padding-right: 14px; padding-left: 14px; }
  .admin-full-width-button { width: calc(100% - 28px); margin-right: 14px; margin-left: 14px; }
  .admin-page-controls { display: block; }
  .admin-page-controls > .admin-button { margin-top: 10px; }
  .admin-segmented-large { display: flex; width: 100%; }
  .admin-segmented-large button { flex: 1; padding: 0 7px; }
  .admin-mini-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-mini-stat-grid > div { padding: 0 10px; }
  .admin-table-heading { display: block; }
  .admin-table-heading > * + * { margin-top: 12px; }
  .admin-inline-search { width: 100%; }
  .admin-inline-select { width: max-content; }
  .admin-report-chart { overflow: hidden; }
  .admin-chart { padding-right: 12px; padding-left: 12px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-field-full { grid-column: auto; }
  .admin-dialog-form { padding: 18px; }
  .admin-dialog-actions .admin-button { flex: 1; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-section-heading { display: grid; gap: 3px; }
  .admin-detail-section-heading span { text-align: left; }
  .admin-detail-assignment-form { grid-template-columns: 1fr; }
  .admin-detail-status-form { grid-template-columns: 1fr; }
  .admin-toast { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-view, .admin-toast.is-visible, .admin-sidebar { animation: none; transition: none; }
  .admin-page *, .admin-page *::before, .admin-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Shared booking feedback and picker contrast. */
.notice {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.form-status { color: var(--muted); }
.journey-field-error,
.form-error { color: var(--danger) !important; }

.viamu-date-popover,
.viamu-time-popover {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(16, 42, 46, 0.2), 0 6px 18px rgba(16, 42, 46, 0.1);
}

.viamu-date-popover .viamu-picker-header,
.viamu-time-popover .viamu-picker-header,
.viamu-picker-selection {
  border-color: var(--line);
}

.viamu-picker-sheet-title,
.viamu-time-heading strong,
.viamu-calendar-monthbar .viamu-picker-title,
.viamu-calendar-monthbar .viamu-picker-nav,
.viamu-picker-back,
.viamu-picker-selection-value,
.viamu-date-popover .viamu-date-day,
.viamu-time-wheel-option { color: var(--ink); }

.viamu-date-popover .viamu-picker-close,
.viamu-time-popover .viamu-picker-close,
.viamu-picker-time-summary {
  color: var(--ink);
  background: var(--surface-soft);
}

.viamu-date-popover .viamu-picker-close:hover,
.viamu-time-popover .viamu-picker-close:hover,
.viamu-picker-time-summary:hover,
.viamu-calendar-monthbar .viamu-picker-nav:hover:not(:disabled),
.viamu-time-wheel-option:hover {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
}

.viamu-date-popover .viamu-date-day.is-selected,
.viamu-time-wheel-option.is-selected,
.viamu-picker-save,
.viamu-time-popover .viamu-time-apply {
  color: #fff;
  background: var(--brand);
}

.viamu-date-popover .viamu-date-day.is-selected:hover,
.viamu-time-wheel-option.is-selected:hover,
.viamu-picker-save:hover,
.viamu-time-popover .viamu-time-apply:hover {
  background: var(--brand-dark);
}

.viamu-time-wheel-hour,
.viamu-time-wheel-minute,
.viamu-time-separator {
  border-color: var(--line);
  background-color: var(--line);
}

html[data-theme="dark"] .journey-field-error,
html[data-theme="dark"] .form-error {
  color: #ffad9f !important;
}

html[data-theme="dark"] .toast {
  color: #edf5f3;
  background: #1b2a2f;
  border-color: #42636a;
  border-left-color: #f4b24a;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

@supports not (color: color-mix(in srgb, white, black)) {
  .notice { background: var(--surface-soft); border-color: var(--line); }
  .viamu-date-popover .viamu-picker-close,
  .viamu-time-popover .viamu-picker-close,
  .viamu-picker-time-summary { background: var(--surface-soft); }
  .viamu-date-popover .viamu-picker-close:hover,
  .viamu-time-popover .viamu-picker-close:hover,
  .viamu-picker-time-summary:hover,
  .viamu-calendar-monthbar .viamu-picker-nav:hover:not(:disabled),
  .viamu-time-wheel-option:hover { background: var(--surface-soft); }
}

/* Final picker token pass: no hardcoded light surfaces inside dark mode. */
.viamu-time-popover .viamu-time-dial {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line);
}

.viamu-time-popover .viamu-time-format button {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.viamu-time-popover .viamu-time-format button[aria-pressed="true"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 18%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
}

.viamu-time-wheel-option,
.viamu-time-period button,
.viamu-time-stepper button,
.viamu-time-stepper output,
.viamu-time-quick button {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.viamu-time-wheel-option:hover,
.viamu-time-wheel-option:focus-visible,
.viamu-time-period button:hover,
.viamu-time-stepper button:hover,
.viamu-time-quick button:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  border-color: var(--brand);
}

.viamu-time-wheel-option.is-selected,
.viamu-time-period button[aria-pressed="true"] {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.viamu-time-wheel-option.is-selected:hover,
.viamu-time-period button[aria-pressed="true"]:hover {
  color: #fff;
  background: var(--brand-dark);
}

.viamu-time-error {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--line));
}

.viamu-time-wheel-arrow,
.viamu-time-separator {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.viamu-date-popover .viamu-date-day:disabled,
.return-calendar-days button:disabled {
  color: var(--muted);
  opacity: 0.42;
}
/* Return-trip calendar uses the same semantic theme tokens as the pickup picker. */
.return-picker {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 30px 80px rgba(3, 11, 16, 0.28);
}

.return-picker-header h3,
.return-picker-header button,
.return-calendar-days button,
.return-date-summary strong {
  color: var(--ink);
}

.return-picker-header button,
.return-picker-header button:hover:not(:disabled) {
  background: var(--surface-soft);
  border-color: var(--line);
}

.return-picker-header button:hover:not(:disabled) {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.return-calendar-weekdays span,
.return-date-summary > span:not(.return-date-dot),
.return-time-control span,
.return-time-control label {
  color: var(--muted);
}

.return-calendar-days button {
  background: transparent;
}

.return-calendar-days button:hover:not(:disabled) {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
}

.return-calendar-days button.is-selected {
  color: #fff;
  background: var(--brand);
}

.return-picker-details,
.return-date-summary,
.return-time-control {
  border-color: var(--line);
}

.return-time-control input,
.return-time-display {
  color: var(--ink);
  color-scheme: light;
  background: var(--surface-soft);
  border-color: var(--line);
}

.return-time-control input:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
  outline: 0;
}

.return-date-dot.pickup {
  background: var(--brand);
}

html[data-theme="dark"] .return-time-control input,
html[data-theme="dark"] .return-time-display {
  color-scheme: dark;
}
/* Return-trip toggle: the label carries the action; the close icon only appears after enabling it. */
.return-toggle [data-return-symbol] {
  display: none;
}

.return-toggle[aria-expanded="true"] [data-return-symbol] {
  display: grid;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  place-items: center;
}

html[data-theme="dark"] .return-toggle[aria-expanded="true"] [data-return-symbol] {
  color: #edf5f3;
  background: #243f45;
  border-color: #5d858a;
}
/* Results and checkout surfaces share the same readable theme tokens. */
html[data-theme="dark"] .route-map-loading,
html[data-theme="dark"] .route-map-error {
  color: #edf5f3;
  background:
    radial-gradient(circle at 55% 45%, rgba(36, 63, 69, 0.96), rgba(14, 23, 27, 0.96)),
    #0e171b;
}

html[data-theme="dark"] .route-map-loading small,
html[data-theme="dark"] .route-map-error p {
  color: #aac0bd;
}

html[data-theme="dark"] .route-map-error > span {
  color: #ffd2a0;
  background: #5a3825;
}

html[data-theme="dark"] .route-map-badge {
  color: #edf5f3;
  background: rgba(20, 32, 37, 0.94);
  border-color: #42636a;
}

html[data-theme="dark"] .route-confidence,
html[data-theme="dark"] .ride-choice,
html[data-theme="dark"] .route-booking-card {
  color: #edf5f3;
  background: #142025;
  border-color: #31464b;
}

html[data-theme="dark"] .ride-choice-visual {
  background: #1b2a2f;
  border-color: #3a555a;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .ride-choice-visual::after {
  background: linear-gradient(0deg, rgba(8, 26, 31, 0.22), transparent 42%);
}

html[data-theme="dark"] .ride-choice-copy p,
html[data-theme="dark"] .ride-choice-meta,
html[data-theme="dark"] .ride-choice-price small,
html[data-theme="dark"] .ride-choice-price > span,
html[data-theme="dark"] .route-price-details > p,
html[data-theme="dark"] .route-price-line,
html[data-theme="dark"] .route-stop > div > span,
html[data-theme="dark"] .route-stop time {
  color: #aac0bd;
}

html[data-theme="dark"] .ride-choice-meta span,
html[data-theme="dark"] .route-metrics span,
html[data-theme="dark"] .route-price-line strong {
  color: #edf5f3;
  background: #203238;
}

html[data-theme="dark"] .booking-summary-enhanced .route-price-line strong {
  background: transparent;
}

html[data-theme="dark"] .booking-summary-enhanced .night-surcharge-line {
  color: #ffe0ad;
  background: #50321f;
  border-color: #805231;
}

html[data-theme="dark"] .booking-summary-enhanced .night-surcharge-line > span,
html[data-theme="dark"] .booking-summary-enhanced .night-surcharge-line > strong {
  color: #ffe0ad;
  background: transparent;
}

html[data-theme="dark"] .ride-choice.is-selected {
  border-color: #4bc0b2;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .ride-choice-price strong,
html[data-theme="dark"] .route-price-total strong {
  color: #edf5f3;
}

html[data-theme="dark"] .checkout-page {
  color: #edf5f3;
  background: #0e171b;
}

html[data-theme="dark"] .checkout-header {
  background: rgba(14, 23, 27, 0.96);
  border-color: #31464b;
}

html[data-theme="dark"] .checkout-card,
html[data-theme="dark"] .checkout-summary,
html[data-theme="dark"] .payment-method-option,
html[data-theme="dark"] .verification-method {
  color: #edf5f3;
  background: #142025;
  border-color: #31464b;
}

html[data-theme="dark"] .checkout-heading > p:last-child,
html[data-theme="dark"] [data-payment-message],
html[data-theme="dark"] .payment-security small,
html[data-theme="dark"] .payment-method-option small,
html[data-theme="dark"] .notification-section > p,
html[data-theme="dark"] .consent-option,
html[data-theme="dark"] .checkout-back {
  color: #aac0bd;
}

html[data-theme="dark"] .payment-security,
html[data-theme="dark"] .request-panel,
html[data-theme="dark"] .verification-method.is-verified {
  background: #1b2a2f;
  border-color: #42636a;
}

html[data-theme="dark"] .passenger-fields .field input,
html[data-theme="dark"] .passenger-fields .field select,
html[data-theme="dark"] .request-panel .field select,
html[data-theme="dark"] .request-panel .field textarea,
html[data-theme="dark"] .phone-control,
html[data-theme="dark"] .verification-code-control input {
  color: #edf5f3;
  background: #1b2a2f;
  border-color: #42636a;
}

html[data-theme="dark"] .payment-method-heading,
html[data-theme="dark"] .form-section,
html[data-theme="dark"] .checkout-actions {
  border-color: #31464b;
}

html[data-theme="dark"] .payment-method-heading span {
  color: #9fe1d7;
  background: #203f40;
}

html[data-theme="dark"] .payment-security {
  color: #edf5f3;
}

html[data-theme="dark"] .checkout-continue:disabled {
  color: #7f9796;
  background: #243238;
}

/* Time picker interaction polish */
.viamu-time-wheel-viewport { position: relative; cursor: grab; scroll-behavior: smooth; }
.viamu-time-wheel-viewport:active { cursor: grabbing; }
.viamu-time-wheel-option { transition: color 140ms ease, background-color 140ms ease, transform 140ms ease, opacity 140ms ease; }
.viamu-time-wheel-viewport::before,
.viamu-time-wheel-viewport::after { position: absolute; z-index: 2; right: 0; left: 0; height: 28px; pointer-events: none; content: ""; }
.viamu-time-wheel-viewport::before { top: 0; background: linear-gradient(#fff, transparent); }
.viamu-time-wheel-viewport::after { bottom: 0; background: linear-gradient(transparent, #fff); }
html[data-theme="dark"] .viamu-time-wheel-viewport::before { background: linear-gradient(#142025, transparent); }
html[data-theme="dark"] .viamu-time-wheel-viewport::after { background: linear-gradient(transparent, #142025); }


/* Booking picker finish: keep schedule labels readable in compact layouts and both themes. */
#home-journey-form .pickup-toggle-copy {
  flex: 1 1 auto;
}
#home-journey-form .pickup-toggle-copy strong {
  overflow: visible;
  min-width: 0;
  line-height: 1.2;
  text-overflow: clip;
  white-space: normal;
}
#home-journey-form .return-toggle [data-return-label] {
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.2;
}
html[data-theme="dark"] .return-picker,
html[data-theme="dark"] .return-picker-trigger {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .return-picker-header h3,
html[data-theme="dark"] .return-picker-header button,
html[data-theme="dark"] .return-calendar-days button,
html[data-theme="dark"] .return-date-summary strong,
html[data-theme="dark"] .return-time-control .viamu-datetime-trigger {
  color: var(--ink);
}
html[data-theme="dark"] .return-picker-header button,
html[data-theme="dark"] .return-time-control .viamu-datetime-trigger {
  background: var(--surface-soft);
  border-color: var(--line);
}
html[data-theme="dark"] .return-picker-header button:hover:not(:disabled),
html[data-theme="dark"] .return-calendar-days button:hover:not(:disabled),
html[data-theme="dark"] .return-time-control .viamu-datetime-trigger:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
}
html[data-theme="dark"] .return-calendar-weekdays,
html[data-theme="dark"] .return-calendar-weekdays span,
html[data-theme="dark"] .return-date-summary > span:not(.return-date-dot),
html[data-theme="dark"] .return-time-control label,
html[data-theme="dark"] .return-picker-trigger > span:first-child,
html[data-theme="dark"] .return-picker-trigger > span:last-child {
  color: var(--muted);
}
html[data-theme="dark"] .return-calendar-days button.is-selected {
  color: #071820;
  background: var(--brand);
}
html[data-theme="dark"] .return-picker-details {
  border-color: var(--line);
}
html[data-theme="dark"] .return-picker-trigger::before,
html[data-theme="dark"] .return-picker-trigger::after {
  border-color: var(--muted);
  box-shadow: inset 0 4px 0 var(--line);
}
html[data-theme="dark"] .return-picker-trigger:hover,
html[data-theme="dark"] .return-picker-trigger:focus-visible {
  background: var(--surface-soft);
  border-color: var(--line);
}
html[data-theme="dark"] .return-fields input {
  color: var(--ink);
  color-scheme: dark;
  background: var(--surface-soft);
  border-color: var(--line);
}
html[data-theme="dark"] .pickup-picker .viamu-date-popover,
html[data-theme="dark"] .pickup-picker .viamu-date-popover .viamu-picker-sheet-title,
html[data-theme="dark"] .pickup-picker .viamu-date-popover .viamu-picker-selection-label {
  color: var(--ink);
}
html[data-theme="dark"] .pickup-picker .viamu-date-popover .viamu-picker-selection {
  border-color: var(--line);
}

/* Final contrast pass for shared controls and checkout/results content. */
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .button,
html[data-theme="dark"] .button-accent,
html[data-theme="dark"] .journey-submit,
html[data-theme="dark"] .trip-access-submit {
  color: #071820;
}

html[data-theme="dark"] .checkout-progress .is-complete,
html[data-theme="dark"] .checkout-progress .is-current {
  color: #edf5f3;
}

html[data-theme="dark"] .checkout-progress .is-complete b {
  color: #edf5f3;
  background: #0f766e;
}

html[data-theme="dark"] .checkout-progress .is-current b {
  color: #071820;
  background: #f1b24a;
}

html[data-theme="dark"] .flight-details-heading h2,
html[data-theme="dark"] .flight-details-heading h3,
html[data-theme="dark"] .form-section h2,
html[data-theme="dark"] .form-section legend {
  color: #edf5f3;
}

html[data-theme="dark"] .flight-details-eyebrow {
  color: #70d9cb;
}

html[data-theme="dark"] .flight-details-heading > p:last-child,
html[data-theme="dark"] #flight-number-help,
html[data-theme="dark"] .notification-section > p,
html[data-theme="dark"] .consent-option {
  color: #bfd0cd;
}

html[data-theme="dark"] .notification-option {
  color: #edf5f3;
  background: #1b2a2f;
  border-color: #42636a;
}

html[data-theme="dark"] .notification-option .notification-copy strong {
  color: #edf5f3;
}

html[data-theme="dark"] .notification-option .notification-copy small {
  color: #bfd0cd;
}

html[data-theme="dark"] .route-confidence strong,
html[data-theme="dark"] .route-stop > div > strong {
  color: #edf5f3;
}

html[data-theme="dark"] .ride-options-heading > p,
html[data-theme="dark"] .route-confidence > span:last-child,
html[data-theme="dark"] .route-price-details > h3,
html[data-theme="dark"] .route-price-total > span,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .journey-leg-header > p > strong,
html[data-theme="dark"] [data-summary-date],
html[data-theme="dark"] [data-summary-date-time],
html[data-theme="dark"] [data-outward-edit] {
  color: #bfd0cd;
}

html[data-theme="dark"] small[data-route-badge-detail] {
  color: #bfd0cd;
}

html[data-theme="dark"] span[data-night-surcharge-label] {
  color: inherit;
  background: transparent;
}

html[data-theme="dark"] .safety-card-number {
  color: #b8f1e7;
}

html[data-theme="dark"] .service-reviews-page .tag,
html[data-theme="dark"] .review-card .tag {
  color: #b8f1e7;
  background: #203f40;
}

html:not([data-theme="dark"]) .policy-summary-card-accent > p {
  color: #526467;
}

html:not([data-theme="dark"]) .ride-options-heading > p {
  color: #5b6d70;
}

html:not([data-theme="dark"]) .checkout-progress {
  color: #526467;
}

html:not([data-theme="dark"]) #flight-number-help,
html:not([data-theme="dark"]) fieldset > p:nth-child(2),
html:not([data-theme="dark"]) .passenger-fields small,
html:not([data-theme="dark"]) .checkout-summary dt {
  color: #526467;
}

html:not([data-theme="dark"]) .button,
html:not([data-theme="dark"]) .trip-access-submit {
  color: #fff;
}

html:not([data-theme="dark"]) .checkout-continue {
  color: #fff;
}

html:not([data-theme="dark"]) .button-secondary:hover,
html:not([data-theme="dark"]) .button-secondary:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--brand);
}

html:not([data-theme="dark"]) .button-accent,
html:not([data-theme="dark"]) .button-accent:hover,
html:not([data-theme="dark"]) .button-accent:focus-visible {
  color: #102a2e;
  background: #f4a261;
  border-color: #f4a261;
}

html:not([data-theme="dark"]) .button-small:not(.button-secondary),
html:not([data-theme="dark"]) .trip-access-submit {
  background: #0b625c;
  border-color: #0b625c;
}

html[data-theme="dark"] .button-small,
html[data-theme="dark"] .operations-page .button-secondary {
  color: #edf5f3;
  background: #243f45;
  border-color: #5d858a;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: #0b625c;
  border-color: #0b625c;
}

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .button:focus-visible {
  color: #071820;
  background: #59cabc;
  border-color: #59cabc;
}

html[data-theme="dark"] .unified-public-header .brand .brand-mark,
html[data-theme="dark"] .home-brand .brand-mark,
html[data-theme="dark"] .route-results-brand .brand-mark,
html[data-theme="dark"] .admin-brand .brand-mark,
html[data-theme="dark"] .brand .brand-mark {
  color: #071820;
}

html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .auth-page .nav-actions .button-secondary,
html[data-theme="dark"] .trip-hero .button-secondary {
  color: #edf5f3;
  background: #243f45;
  border-color: #5d858a;
}

html[data-theme="dark"] .button-secondary:hover,
html[data-theme="dark"] .button-secondary:focus-visible,
html[data-theme="dark"] .trip-hero .button-secondary:hover,
html[data-theme="dark"] .trip-hero .button-secondary:focus-visible {
  color: #071820;
  background: #59cabc;
  border-color: #59cabc;
}

html[data-theme="dark"] .checkout-continue,
html[data-theme="dark"] .selection-continue {
  color: #edf5f3;
}

html[data-theme="dark"] .phone-country-trigger {
  color: #edf5f3;
  border-right-color: #42636a;
}

html[data-theme="dark"] .phone-control {
  color: #edf5f3;
  background: #1b2a2f;
  border-color: #42636a;
}

html[data-theme="dark"] .checkout-route small,
html[data-theme="dark"] .checkout-facts dt,
html[data-theme="dark"] .checkout-summary dt,
html[data-theme="dark"] .checkout-route > div > small {
  color: #bfd0cd;
}

html:not([data-theme="dark"]) .passenger-fields .field-hint,
html:not([data-theme="dark"]) .checkout-route small {
  color: #526467;
}

html[data-theme="dark"] .selection-dock {
  color: #edf5f3;
  background: #142025;
  border-top-color: #31464b;
}

html[data-theme="dark"] .selection-dock-inner > div > span:nth-child(2) {
  color: #bfd0cd;
}

html[data-theme="dark"] .selection-dock-total {
  color: #70d9cb;
}

html[data-theme="dark"] .ride-options-heading .eyebrow {
  color: #70d9cb;
}

html[data-theme="dark"] .admin-button-primary,
html[data-theme="dark"] .operations-demo-banner .button {
  color: #071820;
  background: #4bc0b2;
  border-color: #4bc0b2;
}

html:not([data-theme="dark"]) .admin-button-primary,
html:not([data-theme="dark"]) .operations-demo-banner .button,
html:not([data-theme="dark"]) .admin-button-primary:hover,
html:not([data-theme="dark"]) .operations-demo-banner .button:hover {
  color: #071820;
  background: #4bc0b2;
  border-color: #4bc0b2;
}

/* Keep every transient button state above WCAG AA contrast thresholds. */
html:not([data-theme="dark"]) .button:not(.button-secondary):not(.button-accent),
html:not([data-theme="dark"]) .button:not(.button-secondary):not(.button-accent):hover,
html:not([data-theme="dark"]) .button:not(.button-secondary):not(.button-accent):focus-visible {
  color: #fff !important;
  background: #0b625c !important;
  border-color: #0b625c !important;
}

html:not([data-theme="dark"]) .button-secondary,
html:not([data-theme="dark"]) .button-secondary:hover,
html:not([data-theme="dark"]) .button-secondary:focus-visible {
  color: #102a2e !important;
  background: #eef5f5 !important;
  border-color: #65888a !important;
}

html[data-theme="dark"] .button:not(.button-secondary):not(.button-accent),
html[data-theme="dark"] .button:not(.button-secondary):not(.button-accent):hover,
html[data-theme="dark"] .button:not(.button-secondary):not(.button-accent):focus-visible {
  color: #071820 !important;
  background: #59cabc !important;
  border-color: #59cabc !important;
}

html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .button-secondary:hover,
html[data-theme="dark"] .button-secondary:focus-visible {
  color: #edf5f3 !important;
  background: #243f45 !important;
  border-color: #5d858a !important;
}

html[data-theme="dark"] .journey-tab.active {
  color: #071820 !important;
  background: #4bc0b2 !important;
}
/* Return-trip minus control: keep the removal action visible without the decorative circle. */
.return-toggle[aria-expanded="true"] [data-return-symbol] {
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  place-items: center;
}

html[data-theme="dark"] .return-toggle[aria-expanded="true"] [data-return-symbol] {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
}
/* Calendar glyph finish: make the return-date icon unmistakably a calendar. */
.return-picker-trigger::before {
  display: block;
  width: 22px;
  height: 20px;
  color: #71878a;
  border: 2px solid currentColor;
  border-radius: 4px;
  background:
    linear-gradient(currentColor, currentColor) 0 5px / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 5px -4px / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) 15px -4px / 2px 7px no-repeat;
  box-shadow: none;
}

.return-picker-trigger::after {
  display: none;
}

html[data-theme="dark"] .return-picker-trigger::before {
  color: #9db5b1;
}
/* Return date uses the same circular calendar logo as pickup date. */
.return-picker-trigger::before,
.return-picker-trigger::after {
  display: none;
}

.return-picker-trigger .return-calendar-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #111820;
  background: #f1b24a;
  border: 0;
  border-radius: 50%;
  font-size: 0.88rem;
  grid-column: 1;
  grid-row: 1 / span 2;
}

html[data-theme="dark"] .return-picker-trigger .return-calendar-icon {
  color: #111820;
  background: #f1b24a;
}
/* Return date card layout: icon, label, value, and chevron occupy explicit grid slots. */
.return-picker-trigger > span.return-calendar-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.return-picker-trigger > span:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
  color: #887f70;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}

.return-picker-trigger > strong {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
  color: #172126;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-theme="dark"] .return-picker-trigger > span:nth-of-type(2) {
  color: var(--muted);
}

html[data-theme="dark"] .return-picker-trigger > strong {
  color: var(--ink);
}
/* Return calendar SVG matches pickup icon color exactly. */
.return-picker-trigger > span.return-calendar-icon {
  color: #111820;
}

html[data-theme="dark"] .return-picker-trigger > span.return-calendar-icon {
  color: #111820;
}
/* Desktop booking polish: balanced schedule cards and readable validation states. */
@media (min-width: 901px) {
  .pickup-picker {
    width: min(420px, calc(100vw - 32px));
  }

  .pickup-schedule-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .pickup-schedule-fields .viamu-datetime-summary {
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
  }

  #home-journey-form .pickup-toggle,
  #home-journey-form .return-picker-trigger {
    min-height: 68px;
  }

  #home-journey-form .pickup-toggle-copy strong,
  #home-journey-form .return-picker-trigger > strong {
    max-width: 100%;
    overflow: visible;
    line-height: 1.15;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #home-journey-form .return-picker-trigger > strong {
    min-height: 0;
  }

  .journey-field-error,
  .form-error {
    padding: 8px 10px;
    color: var(--danger) !important;
    background: color-mix(in srgb, var(--danger) 9%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--danger) 24%, var(--line));
    border-radius: 8px;
  }

  html[data-theme="dark"] .journey-field-error,
  html[data-theme="dark"] .form-error {
    color: #ffb4aa !important;
    background: rgba(180, 35, 24, 0.14);
    border-color: rgba(255, 180, 170, 0.3);
  }
}

@media (min-width: 1101px) {
  #home-journey-form {
    grid-auto-rows: 74px;
    min-height: 90px;
  }
}

/* Arabic RTL polish: keep translated controls readable and naturally aligned. */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .journey-form,
html[dir="rtl"] .journey-tabs {
  direction: rtl;
}

html[dir="rtl"] .journey-field input,
html[dir="rtl"] .journey-field select,
html[dir="rtl"] .pickup-toggle,
html[dir="rtl"] .return-picker-trigger {
  text-align: right;
}

html[dir="rtl"] .journey-submit {
  direction: rtl;
}

/* Keep the English brand and mixed-script footer metadata visually isolated in RTL. */
html[dir="rtl"] .brand,
html[dir="rtl"] .brand * {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .footer-bottom > span {
  unicode-bidi: plaintext;
}

/* Calendar navigation follows the reading direction while retaining its action. */
html[dir="rtl"] .viamu-picker-nav .viamu-icon,
html[dir="rtl"] [data-calendar-previous] .viamu-icon,
html[dir="rtl"] [data-calendar-next] .viamu-icon {
  transform: scaleX(-1);
}

/* Time picker interaction polish v2 */
.viamu-time-wheel-viewport {
  position: relative;
  cursor: grab;
  touch-action: none;
  user-select: none;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border-radius: 16px;
  background: #f3f7f5;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.14), inset 0 12px 20px rgba(7, 24, 32, 0.06), inset 0 -12px 20px rgba(7, 24, 32, 0.06);
}
.viamu-time-wheel-viewport::-webkit-scrollbar { display: none; }
.viamu-time-wheel-viewport.is-dragging { cursor: grabbing; background: #e7f1ee; }
.viamu-time-wheel-period .viamu-time-wheel-viewport { cursor: default; }
.viamu-time-wheel-option {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  color: #526267;
  opacity: 0.58;
  transform: scale(0.92);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.viamu-time-wheel-option:hover,
.viamu-time-wheel-option:focus-visible {
  color: #16363a;
  background: rgba(15, 118, 110, 0.1);
}
.viamu-time-wheel-option.is-selected,
.viamu-time-wheel-option.is-selected:hover {
  color: #fff;
  background: #0f766e;
  box-shadow: 0 8px 16px rgba(15, 118, 110, 0.22);
  opacity: 1;
  transform: scale(1.04);
}
.viamu-time-wheel-viewport.is-shifting[data-motion="forward"] .viamu-time-wheel-option {
  animation: viamu-time-wheel-shift-forward 170ms cubic-bezier(0.22, 1, 0.36, 1);
}
.viamu-time-wheel-viewport.is-shifting[data-motion="backward"] .viamu-time-wheel-option {
  animation: viamu-time-wheel-shift-backward 170ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes viamu-time-wheel-shift-forward {
  from { opacity: 0.45; transform: translateY(6px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes viamu-time-wheel-shift-backward {
  from { opacity: 0.45; transform: translateY(-6px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-theme="dark"] .viamu-time-wheel-viewport {
  background: #101c20;
  box-shadow: inset 0 0 0 1px rgba(111, 209, 194, 0.16), inset 0 12px 20px rgba(0, 0, 0, 0.18), inset 0 -12px 20px rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"] .viamu-time-wheel-viewport.is-dragging { background: #142a2e; }
html[data-theme="dark"] .viamu-time-wheel-option { color: #a8c0bb; }
html[data-theme="dark"] .viamu-time-wheel-option:hover,
html[data-theme="dark"] .viamu-time-wheel-option:focus-visible { color: #edf5f3; background: rgba(111, 209, 194, 0.14); }
html[data-theme="dark"] .viamu-time-wheel-option.is-selected,
html[data-theme="dark"] .viamu-time-wheel-option.is-selected:hover { color: #fff; background: #0f766e; }
@media (prefers-reduced-motion: reduce) {
  .viamu-time-wheel-option,
  .viamu-time-wheel-viewport { transition: none !important; animation: none !important; }
}


/* Keep the full chauffeur scene visible on narrow screens instead of
   cropping the wide desktop composition into its empty center. */
@media (max-width: 620px) {
  .premium-hero {
    background-image:
      linear-gradient(180deg, rgba(7, 19, 33, 0) 0%, rgba(7, 19, 33, 0) 42%, rgba(7, 19, 33, 0.74) 82%, #071321 100%),
      image-set(
        url("../images/viamu-chauffeur-hero.webp") type("image/webp") 1x,
        url("../images/viamu-chauffeur-hero.png") type("image/png") 1x
      );
    background-repeat: no-repeat;
    background-position: center top, center top;
    background-size: 100% 438px, 180% auto;
  }

  .premium-hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 8, 14, 0.01) 0%, rgba(3, 8, 14, 0.03) 30%, rgba(3, 8, 14, 0.56) 58%, rgba(3, 8, 14, 0.94) 100%),
      linear-gradient(90deg, rgba(3, 8, 14, 0.04), rgba(3, 8, 14, 0.01) 50%, rgba(3, 8, 14, 0.07));
  }
}/* Keep the light/dark control reachable on compact home headers. */
@media (max-width: 620px) {
  .home-header .home-theme {
    display: inline-grid;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 10px;
  }

  .home-header .home-signup {
    width: 76px;
  }

  .home-header .home-login {
    width: 48px;
  }
}

@media (max-width: 380px) {
  .home-header .home-signup {
    width: 56px;
  }

  .home-header .home-login {
    width: 42px;
  }
}

/* Touch devices should not depend on sticky hover states for feedback. */
@media (hover: none) {
  .button:hover,
  .button-secondary:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: none;
    transform: none;
  }

  .button-secondary:hover {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
  }

  .ride-choice:hover {
    border-color: #d7dfdc;
    box-shadow: 0 14px 36px rgba(16, 42, 46, 0.06);
    transform: none;
  }

  .button:active,
  .ride-choice:active {
    transform: translateY(1px);
  }
}

/* Respect display cutouts and home indicators on fixed mobile surfaces. */
.selection-dock {
  padding-right: max(0px, env(safe-area-inset-right));
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  padding-left: max(0px, env(safe-area-inset-left));
}

/* Touch-first controls: keep primary actions comfortable on coarse pointers. */
@media (pointer: coarse) {
  button,
  a.button,
  .button,
  .nav-toggle,
  .theme-toggle,
  .language-trigger,
  .nav-profile-button,
  .request-pill,
  .journey-leg-edit,
  .return-trip-toggle,
  .verification-resend,
  .phone-country-trigger,
  .admin-segmented button,
  .admin-filter-button,
  .admin-full-width-button,
  .admin-row-action,
  .admin-attention-list button,
  .admin-inline-select,
  .admin-field input,
  .admin-field select,
  .admin-detail-assignment-form .admin-button {
    min-height: 48px;
  }

  .nav-profile-button {
    width: 48px;
  }

  .theme-toggle,
  .nav-toggle {
    width: 48px;
  }

  .admin-filter-button,
  .admin-row-action,
  .admin-attention-list button {
    width: 48px;
  }

  .admin-field input,
  .admin-field select {
    font-size: 1rem;
  }

  .button-small {
    min-height: 48px;
    padding-block: 11px;
  }
}

/* Make notification switches unmistakable on dark surfaces. */
html[data-theme="dark"] .notification-section .switch > span {
  background: #40565a;
  border: 1px solid #668084;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .notification-section .switch input:checked + span {
  background: #4bc0b2;
  border-color: #8be4d8;
}

html[data-theme="dark"] .notification-section .switch input:checked + span::after {
  background: #092f2c;
}
/* Calendar state hierarchy: today is a reference point; selected is the choice. */
.viamu-date-popover .viamu-date-day.is-today:not(.is-selected),
.return-calendar-days button.is-today:not(.is-selected) {
  position: relative;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.viamu-date-popover .viamu-date-day.is-today:not(.is-selected)::after,
.return-calendar-days button.is-today:not(.is-selected)::after {
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.viamu-date-popover .viamu-date-day.is-selected,
.return-calendar-days button.is-selected {
  position: relative;
  box-shadow: 0 7px 14px rgba(15, 118, 110, 0.22);
}

.viamu-date-popover .viamu-date-day.is-selected.is-today,
.return-calendar-days button.is-selected.is-today {
  box-shadow: 0 0 0 2px var(--accent), 0 7px 14px rgba(15, 118, 110, 0.22);
}

.viamu-date-popover .viamu-picker-today {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 68%, var(--line));
}

html[data-theme="dark"] .viamu-date-popover .viamu-date-day.is-today:not(.is-selected),
html[data-theme="dark"] .return-calendar-days button.is-today:not(.is-selected) {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 23%, var(--surface));
  box-shadow: inset 0 0 0 2px var(--accent);
}

html[data-theme="dark"] .viamu-date-popover .viamu-date-day.is-selected,
html[data-theme="dark"] .return-calendar-days button.is-selected {
  color: #071820;
  background: var(--brand);
}

html[data-theme="dark"] .viamu-date-popover .viamu-date-day.is-selected.is-today,
html[data-theme="dark"] .return-calendar-days button.is-selected.is-today {
  box-shadow: 0 0 0 2px var(--accent), 0 7px 14px rgba(0, 0, 0, 0.3);
}
/* Time summary icon clarity: keep the clock legible at a glance. */
.viamu-picker-time-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  border-width: 2.2px;
}

.viamu-picker-time-icon::before,
.viamu-picker-time-icon::after {
  width: 2px;
  background: currentColor;
}

.viamu-picker-time-icon::before {
  top: 3px;
  height: 6px;
}

.viamu-picker-time-icon::after {
  top: 9px;
  height: 5px;
}

html[data-theme="dark"] .viamu-picker-time-icon {
  color: #7ce1d4;
  background: #163d3a;
}
/* Time icon high-contrast finish for both time-trigger variants. */
.viamu-picker-time-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  color: #102a2e;
  background: var(--accent);
  border: 2px solid #102a2e;
  box-shadow: 0 2px 5px rgba(16, 42, 46, 0.18);
}

.viamu-picker-time-icon::before,
.viamu-picker-time-icon::after {
  background: currentColor;
}

.viamu-picker-time-icon::before {
  top: 3px;
  height: 7px;
}

.viamu-picker-time-icon::after {
  top: 10px;
  height: 6px;
}

.viamu-datetime-icon.time {
  color: #102a2e;
  background: var(--accent);
  box-shadow: 0 2px 5px rgba(16, 42, 46, 0.18);
}

.viamu-datetime-icon.time::before {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.viamu-datetime-icon.time::after {
  border-width: 0 0 2px 2px;
}

html[data-theme="dark"] .viamu-picker-time-icon,
html[data-theme="dark"] .viamu-datetime-icon.time {
  color: #102a2e;
  background: #f4a261;
  border-color: #f8d3a8;
}
/* Time icon quiet finish: compact, soft, and easy to scan. */
.viamu-picker-time-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  color: #5f7f7f;
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  border: 1.8px solid currentColor;
  box-shadow: none;
}

.viamu-picker-time-icon::before,
.viamu-picker-time-icon::after {
  width: 1.5px;
  background: currentColor;
}

.viamu-picker-time-icon::before {
  top: 2px;
  height: 5px;
}

.viamu-picker-time-icon::after {
  top: 7px;
  height: 4px;
}

.viamu-datetime-icon.time {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  box-shadow: none;
}

.viamu-datetime-icon.time::before {
  width: 14px;
  height: 14px;
  border-width: 1.7px;
}

.viamu-datetime-icon.time::after {
  border-width: 0 0 1.7px 1.7px;
}

html[data-theme="dark"] .viamu-picker-time-icon {
  color: #8ccbc1;
  background: rgba(111, 209, 194, 0.1);
  border-color: currentColor;
}

html[data-theme="dark"] .viamu-datetime-icon.time {
  color: #8ccbc1;
  background: rgba(111, 209, 194, 0.1);
}
/* Time icon hand geometry: a clear clock face without extra visual weight. */
.viamu-picker-time-icon::before {
  left: 50%;
  top: 3px;
  width: 1.6px;
  height: 6px;
  background: currentColor;
  border: 0;
  transform: translateX(-50%);
}

.viamu-picker-time-icon::after {
  left: 50%;
  top: 50%;
  width: 5px;
  height: 1.6px;
  background: currentColor;
  border: 0;
  transform: translateY(-50%) rotate(28deg);
  transform-origin: left center;
}

.viamu-datetime-icon.time::after {
  left: 50%;
  top: 50%;
  width: 6px;
  height: 1.8px;
  background: currentColor;
  border: 0;
  transform: translateY(-50%) rotate(28deg);
  transform-origin: left center;
}
/* Mobile touch targets: keep compact desktop styling, but make every
   header and picker dismissal/navigation control comfortably tappable. */
@media (pointer: coarse) {
  .home-header .home-language,
  .home-header .home-theme,
  .home-header .nav-toggle {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .home-header .home-login,
  .home-header .home-signup {
    min-height: 48px;
  }

  .location-map-close,
  .location-map-external {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .viamu-calendar-monthbar .viamu-picker-nav,
  .viamu-date-popover .viamu-picker-close,
  .viamu-time-popover .viamu-picker-close,
  .return-picker-header button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

/* Location map modal theme parity: the map tiles may remain light for
   geographic legibility, but its chrome and unavailable state follow the
   active light/dark theme. */
html[data-theme="dark"] .location-map-window {
  background: var(--surface);
  border-color: var(--line);
}

html[data-theme="dark"] .location-map-shell {
  background:
    linear-gradient(135deg, rgba(241, 178, 74, 0.12), transparent 45%),
    #0f1c21;
}

html[data-theme="dark"] .location-map-canvas.is-unavailable {
  opacity: 0.42;
  background:
    linear-gradient(30deg, transparent 48%, #30454b 49%, #30454b 51%, transparent 52%) 0 0 / 42px 42px,
    #14252a;
}

html[data-theme="dark"] .location-map-loading,
html[data-theme="dark"] .location-map-unavailable {
  color: var(--ink);
}

html[data-theme="dark"] .location-map-loading span {
  border-color: rgba(237, 245, 243, 0.2);
  border-top-color: var(--accent);
}

html[data-theme="dark"] .location-map-card {
  color: var(--ink);
  background: rgba(20, 32, 37, 0.95);
  border-color: var(--line);
}

html[data-theme="dark"] .location-map-card span,
html[data-theme="dark"] .location-map-card small,
html[data-theme="dark"] .location-map-footer span {
  color: var(--muted);
}

html[data-theme="dark"] .location-map-footer strong {
  color: var(--ink);
}

/* Keep the home place fields visually flat in dark mode. The field shell
   already supplies the border and focus treatment; the nested input should
   not render as a second black pill behind the placeholder. */
@media (max-width: 1100px) {
  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-from) input,
  html[data-theme="dark"] #home-journey-form > .journey-field:has(#home-to) input {
    padding-inline: 6px;
    background: transparent;
    border-radius: 0;
  }
}

/* Passenger stepper: the coarse-pointer height override must also widen the
   +/- controls, otherwise the 30px desktop width becomes a vertical oval. */
@media (pointer: coarse) {
  .passenger-stepper button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    aspect-ratio: 1;
    border-radius: 50%;
  }
}

/* Public mobile navigation is one bounded drawer. Keeping the links and
   appearance controls in the same surface prevents detached panels from
   covering page content or disappearing below short mobile viewports. */
.unified-public-header .public-nav-drawer {
  display: contents;
}

@media (max-width: 1280px) {
  .unified-public-header .public-nav-drawer {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 45;
    display: none;
    max-height: calc(100dvh - 100px - env(safe-area-inset-bottom, 0px));
    gap: 12px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(7, 24, 32, 0.22);
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .unified-public-header .nav.open .public-nav-drawer {
    display: grid;
  }

  .unified-public-header .public-nav-drawer .public-nav-links,
  .unified-public-header .public-nav-drawer .public-nav-actions {
    position: static;
    inset: auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .unified-public-header .nav.open .public-nav-drawer .public-nav-links {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    white-space: normal;
  }

  .unified-public-header .public-nav-drawer .public-nav-links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 10px 14px;
    color: var(--ink);
    border-radius: 10px;
    overflow-wrap: anywhere;
  }

  .unified-public-header .public-nav-drawer .public-nav-links a:hover,
  .unified-public-header .public-nav-drawer .public-nav-links a:focus-visible,
  .unified-public-header .public-nav-drawer .public-nav-links a[aria-current="page"] {
    color: var(--brand);
    background: var(--surface-soft);
  }

  .unified-public-header .nav.open .public-nav-drawer .public-nav-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: start;
    gap: 10px;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
  }

  .unified-public-header .public-nav-actions .language-picker {
    min-width: 0;
  }

  .unified-public-header .public-nav-actions .language-trigger,
  .unified-public-header .public-nav-actions .theme-toggle {
    min-height: 48px;
  }

  .unified-public-header .public-nav-actions .language-trigger {
    width: 100%;
  }

  .unified-public-header .public-nav-actions .theme-toggle {
    width: 48px;
  }

  .unified-public-header .public-nav-actions .language-menu {
    position: static;
    width: 100%;
    max-height: min(360px, calc(100dvh - 250px));
    margin-top: 8px;
  }
}

@media (max-width: 390px) {
  .unified-public-header .nav {
    gap: 12px;
  }

  .unified-public-header .brand {
    min-width: 0;
    font-size: 1rem;
  }

  .unified-public-header .brand .brand-mark {
    width: 42px;
    height: 42px;
  }
}

/* Operations workspace v2 — task-first control room */
.operations-demo-notice {
  display: flex;
  gap: .65rem 1rem;
  align-items: center;
  margin-bottom: .75rem;
  padding: .8rem 1rem;
  color: #593b09;
  background: #fff3d8;
  border: 1px solid #e4bd64;
  border-radius: 12px;
}

.operations-demo-page {
  direction: ltr;
}

.operations-demo-notice strong {
  flex: 0 0 auto;
}

.operations-demo-page .operations-stat:disabled {
  opacity: 1;
  cursor: default;
}

.operations-demo-page .operations-tabs button {
  cursor: default;
}

@media (max-width: 700px) {
  .operations-demo-notice {
    align-items: flex-start;
    flex-direction: column;
  }
}

.operations-page {
  --ops-navy: #102b30;
  --ops-navy-soft: #183a40;
  --ops-canvas: #f3f6f5;
  --ops-panel: #ffffff;
  --ops-border: #dce5e2;
  --ops-shadow: 0 12px 32px rgba(17, 46, 50, .07);
}

.operations-page .operations-main {
  padding-top: 1.25rem;
  background:
    radial-gradient(circle at 85% 0, rgba(230, 166, 53, .1), transparent 24rem),
    var(--ops-canvas);
}

.operations-page .operations-main > .container {
  width: min(1500px, calc(100% - 2rem));
}

.operations-page .operations-heading {
  padding: 1.35rem 1.5rem;
  margin: 0 0 .65rem;
  color: #f7fbfa;
  background: linear-gradient(125deg, var(--ops-navy), #1c454b);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  box-shadow: var(--ops-shadow);
}

.operations-page .operations-heading h1,
.operations-page .operations-heading p:not(.eyebrow) {
  color: inherit;
}

.operations-page .operations-heading h1 {
  max-width: none;
  font-size: clamp(2rem, 2.5vw, 2.25rem);
  line-height: 1.02;
  white-space: nowrap;
}

.operations-page .operations-heading .eyebrow {
  color: #f4bd5e;
}

.operations-page .operations-heading-actions .tag {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .2);
}

.operations-page .operations-refresh {
  color: #17343a;
  background: #fff;
  border-color: #fff;
}

.operations-live-bar {
  display: flex;
  gap: .55rem;
  align-items: center;
  min-height: 2rem;
  margin: 0 .35rem .75rem;
}

.operations-live-bar .operations-status {
  margin: 0;
}

.operations-live-dot {
  width: .55rem;
  height: .55rem;
  flex: 0 0 auto;
  background: #2e9f70;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46, 159, 112, .13);
}

.operations-last-updated {
  margin-left: auto;
  color: var(--muted);
  font-size: .78rem;
}

.operations-page .operations-stat-grid {
  gap: .75rem;
  margin: .75rem 0 1rem;
}

.operations-page .operations-stat {
  position: relative;
  min-height: 8.25rem;
  padding: 1.1rem 1.2rem 1rem;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--ops-border);
  box-shadow: none;
}

.operations-page .operations-stat::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: #6e8b90;
}

.operations-page .operations-stat-warning::before { background: #dd9b2d; }
.operations-page .operations-stat-danger::before { background: #cb5c62; }
.operations-page .operations-stat-info::before { background: #4b82bc; }
.operations-page .operations-stat-success::before { background: #2e9f70; }

.operations-page .operations-stat:hover,
.operations-page .operations-stat:focus-visible {
  border-color: #a9bfba;
  box-shadow: 0 10px 25px rgba(17, 46, 50, .08);
  transform: translateY(-2px);
}

.operations-page .operations-stat strong {
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.operations-workspace-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.operations-page .operations-tabs {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: .25rem;
  padding: .65rem;
  overflow: visible;
  background: var(--ops-navy);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--ops-shadow);
}

.operations-page .operations-tabs button {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: .45rem;
  align-items: center;
  min-height: 2.8rem;
  padding: .55rem .65rem;
  color: #c5d4d2;
  text-align: left;
  border-radius: 10px;
}

.operations-page .operations-tabs button:hover,
.operations-page .operations-tabs button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.operations-page .operations-tabs button.is-active {
  color: #17343a;
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .15);
}

.operations-page .operations-tabs button > span:last-child:not(.operations-nav-icon) {
  margin: 0;
}

.operations-nav-icon {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  font-size: 1rem;
}

.operations-nav-label {
  margin: .65rem .65rem .2rem;
  color: #79979a;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.operations-content {
  min-width: 0;
}

.operations-page .operations-filters {
  grid-template-columns: minmax(15rem, 2fr) minmax(10rem, 1fr) minmax(10rem, 1fr) auto;
  margin: 0 0 1rem;
  padding: .85rem;
  border-color: var(--ops-border);
  border-radius: 14px;
  box-shadow: none;
}

.operations-page .operations-filters input,
.operations-page .operations-filters select {
  min-height: 2.65rem;
  background: #f8faf9;
}

.operations-page .operations-panel-heading {
  margin: .4rem 0 1rem;
  padding: 0 .15rem;
}

.operations-page .operations-panel-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.operations-page .operations-queue {
  gap: .75rem;
}

.operations-page .operations-booking-card,
.operations-page .operations-activity-item,
.operations-page .operations-report {
  border: 1px solid var(--ops-border);
  border-radius: 15px;
  box-shadow: none;
}

.operations-page .operations-booking-card {
  gap: .8rem;
  padding: 1rem 1.15rem;
}

.operations-page .operations-booking-card:hover {
  border-color: #aec4bf;
  box-shadow: 0 8px 24px rgba(17, 46, 50, .06);
}

.operations-page .operations-route {
  padding: .72rem .85rem;
  background: #f4f7f6;
  border: 1px solid #e6ecea;
}

.operations-page .operations-booking-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem 1rem;
}

.operations-page .operations-booking-facts div {
  padding-left: .7rem;
  border-left: 2px solid #e2e9e7;
}

.operations-page .operations-action-block {
  margin: .15rem -.1rem -.1rem;
  padding: .9rem;
  background: #f8faf9;
  border: 1px solid #e4ebe9;
  border-radius: 11px;
}

.operations-confirmation {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .7rem .8rem;
  color: var(--ink);
  background: #fff8e9;
  border: 1px solid #ead29e;
  border-radius: 9px;
  font-size: .86rem;
  font-weight: 650;
}

.operations-confirmation input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .1rem;
  flex: 0 0 auto;
}

.operations-page .operations-alerts {
  margin: .75rem 0;
}

.operations-page .operations-alert {
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(17, 46, 50, .05);
}

html[data-theme="dark"] .operations-page {
  --ops-canvas: #0d1b1e;
  --ops-panel: #132529;
  --ops-border: #294247;
}

html[data-theme="dark"] .operations-page .operations-filters input,
html[data-theme="dark"] .operations-page .operations-filters select,
html[data-theme="dark"] .operations-page .operations-route,
html[data-theme="dark"] .operations-page .operations-action-block {
  background: #172a2e;
  border-color: #2b4449;
}

@media (max-width: 980px) {
  .operations-workspace-shell {
    grid-template-columns: 1fr;
  }

  .operations-page .operations-tabs {
    position: static;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .operations-page .operations-tabs::-webkit-scrollbar,
  .operations-page .operations-stat-grid::-webkit-scrollbar {
    display: none;
  }

  .operations-page .operations-tabs button {
    display: flex;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .operations-nav-label {
    display: none;
  }
}

@media (max-width: 700px) {
  .operations-page .operations-main {
    padding-top: .65rem;
  }

  .operations-page .operations-main > .container {
    width: min(100% - 1rem, 1500px);
  }

  .operations-page .operations-heading {
    padding: 1rem;
    border-radius: 16px;
  }

  .operations-page .operations-heading h1 {
    white-space: normal;
  }

  .operations-page .operations-heading-actions {
    width: 100%;
    flex-direction: row;
  }

  .operations-page .operations-stat-grid {
    display: flex;
    gap: .65rem;
    padding-bottom: .3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .operations-page .operations-stat {
    min-width: min(76vw, 270px);
    min-height: 7.5rem;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .operations-page .operations-tabs {
    margin-inline: -.05rem;
    border-radius: 13px;
  }

  .operations-page .operations-tabs button {
    min-height: 2.65rem;
  }

  .operations-nav-icon {
    display: none;
  }

  .operations-page .operations-filters {
    grid-template-columns: 1fr 1fr;
  }

  .operations-search-field,
  .operations-page .operations-filters [data-booking-filter-count] {
    grid-column: 1 / -1;
  }

  .operations-page .operations-booking-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-last-updated {
    display: none;
  }
}

@media (max-width: 430px) {
  .operations-page .operations-filters {
    grid-template-columns: 1fr;
  }

  .operations-search-field,
  .operations-page .operations-filters [data-booking-filter-count] {
    grid-column: auto;
  }

  .operations-page .operations-booking-facts {
    grid-template-columns: 1fr;
  }

  .operations-page .operations-route {
    align-items: flex-start;
    flex-direction: column;
  }

  .operations-page .operations-route strong {
    width: 100%;
    white-space: normal;
  }
}

/* Reserve actual touch-target widths; absolute offsets cannot account for
   the coarse-pointer sizing above. Keep this after the legacy header rules. */
@media (max-width: 920px) {
  .home-header .nav.home-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 16px;
    align-items: center;
    min-height: 88px;
    direction: ltr;
  }

  .home-header .home-nav > .home-brand {
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: max-content;
    flex: 0 0 auto;
    max-width: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    font-size: 16px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: visible;
  }

  .home-header .home-nav > .home-brand .brand-mark {
    width: 30px;
    height: 30px;
    min-width: 30px;
    flex: 0 0 30px;
    font-size: 13px;
  }

  .home-header .home-nav > .home-nav-actions {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: auto;
    flex: 0 0 auto;
    max-width: none;
    gap: 12px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    margin-left: auto;
  }

  .home-header .home-nav .home-language,
  .home-header .home-nav .home-theme,
  .home-header .home-nav .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    margin: 0;
    flex: 0 0 44px;
    box-sizing: border-box;
  }

  .home-header .home-nav .nav-toggle {
    position: static;
    order: 3;
    grid-column: 3;
    grid-row: 1;
  }

  .home-header .home-nav .language-chevron { display: none; }
  .home-header .home-nav > .home-nav-links,
  .home-header.is-scrolled .home-nav > .home-nav-links {
    top: 100%;
  }
}
