:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #62615c;
  --paper: #fffdfa;
  --panel: #ffffff;
  --line: #ded8cb;
  --gold: #b8913c;
  --gold-deep: #876416;
  --green: #0f6f55;
  --green-soft: #e6f4ef;
  --red: #9e2a2b;
  --shadow: 0 18px 50px rgba(21, 21, 21, 0.1);
  --sbe-booking-step-one-background-colour: #141714;
  --sbe-booking-step-one-panel-colour: #372b1d;
  --sbe-booking-step-one-text-colour: #fffdf5;
  --sbe-booking-step-one-field-background-colour: #ffffff;
  --sbe-booking-step-one-field-border-colour: #eef3ff;
  --sbe-booking-step-one-accent-colour: #df6d61;
  --sbe-booking-step-one-button-colour: #d43146;
  --sbe-booking-step-one-button-secondary-colour: #ff8215;
  --sbe-booking-step-one-error-colour: #fecaca;
  --sbe-booking-step-two-background-colour: #f7f9fc;
  --sbe-booking-step-two-panel-colour: #edf2f7;
  --sbe-booking-step-two-card-colour: #ffffff;
  --sbe-booking-step-two-selected-colour: #c7354d;
  --sbe-booking-step-two-selected-background-colour: #fff7f8;
  --sbe-booking-step-two-button-colour: #d43146;
  --sbe-booking-step-two-price-colour: #10213b;
  --sbe-booking-step-two-progress-colour: #d43146;
  --sbe-booking-step-two-progress-gradient: linear-gradient(105deg, var(--sbe-booking-step-two-progress-colour), var(--sbe-booking-step-one-button-secondary-colour));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fffdfa 0%, #f4f7f2 100%);
  color: var(--ink);
  overflow-x: hidden;
}

html.sbe-homepage-handoff-pending body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 130, 21, 0.16), transparent 34%),
    linear-gradient(135deg, var(--sbe-booking-step-one-panel-colour), var(--sbe-booking-step-one-background-colour));
}

html.sbe-homepage-handoff-pending .sbe-step-one {
  visibility: hidden;
}

html.sbe-homepage-handoff-pending body::before {
  content: "Preparing your quote";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1000;
  transform: translate(-50%, -50%);
  display: grid;
  width: min(340px, calc(100vw - 40px));
  min-height: 116px;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(12, 14, 13, 0.84);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  color: var(--sbe-booking-step-one-text-colour);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

html.sbe-homepage-handoff-pending body::after {
  content: "";
  position: fixed;
  left: 50%;
  top: calc(50% + 42px);
  z-index: 1001;
  width: 42px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(105deg, var(--sbe-booking-step-one-button-colour), var(--sbe-booking-step-one-button-secondary-colour));
  animation: sbe-handoff-pulse 0.9s ease-in-out infinite alternate;
}

@keyframes sbe-handoff-pulse {
  from {
    opacity: 0.45;
    width: 30px;
  }
  to {
    opacity: 1;
    width: 78px;
  }
}

html.sbe-home-widget-embed,
html.sbe-home-widget-embed body {
  width: 100%;
  height: auto;
  min-height: 0;
  background: transparent !important;
}

html.sbe-home-widget-embed body {
  overflow: visible;
}

html.sbe-home-widget-embed .sbe-flow {
  width: 100%;
  background: transparent;
}

html.sbe-home-widget-embed .sbe-step-one {
  min-height: 0;
  padding: 0;
  place-items: stretch;
  overflow: visible;
  background: transparent;
}

html.sbe-home-widget-embed .sbe-step-one__backdrop,
html.sbe-home-widget-embed .sbe-itinerary-card__header,
html.sbe-home-widget-embed .sbe-trust-row,
html.sbe-home-widget-embed .sbe-step-note-field,
html.sbe-home-widget-embed .sbe-step-compact-grid,
html.sbe-home-widget-embed .sbe-journey-options,
html.sbe-home-widget-embed .sbe-quote-step,
html.sbe-home-widget-embed .sbe-confirmation-step {
  display: none !important;
}

html.sbe-home-widget-embed .sbe-itinerary-card {
  width: 100%;
  max-width: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.56), rgba(7, 10, 14, 0.5));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(9px) saturate(116%);
  -webkit-backdrop-filter: blur(9px) saturate(116%);
  padding: 14px;
}

html.sbe-home-widget-embed .sbe-step-one__fields {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

html.sbe-home-widget-embed .sbe-step-field {
  width: 100%;
  max-width: none;
  gap: 4px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
}

html.sbe-home-widget-embed .sbe-step-field b {
  color: #ff6f82;
  font-weight: 600;
}

html.sbe-home-widget-embed .sbe-input-shell {
  width: 100%;
  max-width: none;
  gap: 8px;
  min-height: 45px;
  border: 0;
  border-radius: 10px;
  background: rgba(247, 249, 252, 0.88);
  color: #4f5a6e;
  padding: 0 12px;
  box-shadow: none;
}

html.sbe-home-widget-embed .sbe-input-shell > svg {
  width: 16px;
  height: 16px;
}

html.sbe-home-widget-embed .sbe-input-shell input,
html.sbe-home-widget-embed .sbe-input-shell select,
html.sbe-home-widget-embed .sbe-input-shell textarea {
  min-height: 43px;
  color: #17233f;
  font-size: 12px;
  font-weight: 400;
}

html.sbe-home-widget-embed .sbe-input-shell input::placeholder,
html.sbe-home-widget-embed .sbe-input-shell textarea::placeholder {
  color: rgba(92, 103, 121, 0.72);
  font-weight: 400;
}

html.sbe-home-widget-embed .sbe-location-choice-panel {
  top: calc(100% + 5px);
  gap: 5px;
  border-radius: 10px;
  padding: 6px;
}

html.sbe-home-widget-embed .sbe-location-choice {
  border-radius: 8px;
  padding: 8px 9px;
}

html.sbe-home-widget-embed .sbe-location-choice strong {
  font-size: 12px;
  font-weight: 600;
}

html.sbe-home-widget-embed .sbe-location-choice small {
  font-size: 11px;
  font-weight: 400;
}

html.sbe-home-widget-embed .sbe-chevron {
  display: none !important;
}

html.sbe-home-widget-embed .sbe-input-shell:has(input[type="date"]),
html.sbe-home-widget-embed .sbe-input-shell:has(input[type="time"]) {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
}

html.sbe-home-widget-embed .sbe-input-shell:has(input[type="date"]) > svg:first-child,
html.sbe-home-widget-embed .sbe-input-shell:has(input[type="time"]) > svg:first-child {
  position: absolute;
  top: 50%;
  right: 14px;
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #4b5563;
}

html.sbe-home-widget-embed .sbe-input-shell input[type="date"]::-webkit-calendar-picker-indicator,
html.sbe-home-widget-embed .sbe-input-shell input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  opacity: 0;
  cursor: pointer;
}

html.sbe-home-widget-embed .sbe-input-shell:has(input[type="date"]),
html.sbe-home-widget-embed .sbe-input-shell:has(input[type="time"]),
html.sbe-home-widget-embed .sbe-input-shell input[type="date"],
html.sbe-home-widget-embed .sbe-input-shell input[type="time"] {
  cursor: pointer;
}

html.sbe-home-widget-embed .sbe-input-shell input[type="date"],
html.sbe-home-widget-embed .sbe-input-shell input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  position: relative;
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 0 44px 0 12px;
  box-sizing: border-box;
}

html.sbe-home-widget-embed .sbe-input-shell:has(input[type="date"]) > .sbe-chevron,
html.sbe-home-widget-embed .sbe-input-shell:has(input[type="time"]) > .sbe-chevron {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html.sbe-home-widget-embed .sbe-journey-tabs-field {
  width: 100%;
  gap: 0;
}

html.sbe-home-widget-embed .sbe-journey-tabs-field > span {
  display: none;
}

html.sbe-home-widget-embed .sbe-trip-switches {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 0;
}

html.sbe-home-widget-embed .sbe-trip-switch {
  position: relative;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 50px;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(10, 14, 20, 0.34);
  gap: 8px;
  padding: 8px 50px 8px 10px;
}

html.sbe-home-widget-embed .sbe-native-trip-toggle {
  right: 14px;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
}

html.sbe-home-widget-embed .sbe-native-trip-toggle::after {
  content: none;
}

html.sbe-home-widget-embed .sbe-native-trip-toggle:checked::after {
  content: none;
}

html.sbe-home-widget-embed .sbe-trip-switch__icon {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  color: #eef2f7;
}

html.sbe-home-widget-embed .sbe-trip-switch__icon svg {
  width: 16px;
  height: 16px;
}

html.sbe-home-widget-embed .sbe-trip-switch strong {
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}

html.sbe-home-widget-embed .sbe-trip-switch small {
  margin-top: 1px;
  color: rgba(238, 242, 247, 0.68);
  font-size: 10.5px;
  font-weight: 400;
}

html.sbe-home-widget-embed .sbe-trip-switch i {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 36px;
  height: 22px;
  transform: translateY(-50%);
}

html.sbe-home-widget-embed .sbe-trip-switch i::after {
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
}

html.sbe-home-widget-embed .sbe-trip-switch.is-active i::after {
  transform: translateX(14px);
}

html.sbe-home-widget-embed .sbe-native-trip-toggle:checked + .sbe-trip-switch i::after {
  transform: translateX(14px);
}

html.sbe-home-widget-embed .sbe-journey-tabs {
  width: 100%;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 4px;
}

html.sbe-home-widget-embed .sbe-journey-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #eef2f7;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

html.sbe-home-widget-embed .sbe-journey-tabs button.is-active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(8, 12, 20, 0.14);
  color: #17233f;
  font-weight: 600;
}

html.sbe-home-widget-embed .sbe-return-panel,
html.sbe-home-widget-embed .sbe-via-panel,
html.sbe-home-widget-embed .sbe-hourly-panel {
  width: 100%;
  max-width: none;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(8, 11, 14, 0.24);
  padding: 9px;
}

html.sbe-home-widget-embed .sbe-return-panel__heading,
html.sbe-home-widget-embed .sbe-via-panel__heading,
html.sbe-home-widget-embed .sbe-hourly-panel__heading {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

html.sbe-home-widget-embed .sbe-return-panel__grid,
html.sbe-home-widget-embed .sbe-via-panel__grid,
html.sbe-home-widget-embed .sbe-hourly-panel__grid {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* The embedded card stays dark even when standalone mobile forms are light. */
html.sbe-home-widget-embed .sbe-via-add,
html.sbe-home-widget-embed .sbe-via-remove {
  color: #fffaf0;
  background: #141714;
}

html.sbe-home-widget-embed .sbe-via-help {
  color: #fffaf0;
}

html.sbe-home-widget-embed .sbe-return-panel .sbe-step-field,
html.sbe-home-widget-embed .sbe-via-panel .sbe-step-field,
html.sbe-home-widget-embed .sbe-hourly-panel .sbe-step-field {
  font-size: 12px;
}

html.sbe-home-widget-embed .sbe-hourly-field {
  grid-column: 1 / -1;
}

html.sbe-home-widget-embed .sbe-form-error,
html.sbe-home-widget-embed .sbe-route-note {
  min-height: 0;
  margin: 7px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

html.sbe-home-widget-embed .sbe-form-error:empty,
html.sbe-home-widget-embed .sbe-route-note:empty {
  display: none;
}

html.sbe-home-widget-embed .sbe-form-error:not(:empty),
html.sbe-home-widget-embed .sbe-route-note:not(:empty) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 235, 238, 0.92);
  padding: 0 2px;
  overflow-wrap: anywhere;
}

html.sbe-home-widget-embed .sbe-route-note:not(:empty) {
  color: #1f2937;
}

html.sbe-home-widget-embed .sbe-field-error-note {
  display: none !important;
}

html.sbe-home-widget-embed .sbe-field-error .sbe-input-shell,
html.sbe-home-widget-embed .sbe-field-error input,
html.sbe-home-widget-embed .sbe-field-error select,
html.sbe-home-widget-embed .sbe-field-error textarea {
  border-color: transparent !important;
  box-shadow: none;
}

html.sbe-home-widget-embed .sbe-gradient-action {
  width: 100%;
  max-width: none;
  gap: 12px;
  min-height: 46px;
  margin-top: 8px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(105deg, var(--sbe-booking-step-one-button-colour), var(--sbe-booking-step-one-button-secondary-colour));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--sbe-booking-step-one-button-colour) 22%, transparent);
  color: #fff;
}

html.sbe-home-widget-embed .sbe-gradient-action svg {
  display: block;
  flex: 0 0 auto;
  align-self: center;
  width: 16px;
  height: 16px;
  transform: translateY(1px);
}

html.sbe-home-widget-embed .sbe-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

html.sbe-home-widget-embed .sbe-secure-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke-width: 2;
}

[hidden] {
  display: none !important;
}

button,
input,
textarea,
select {
  min-width: 0;
}

a {
  color: inherit;
}

.sbe-shell,
.admin-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 22px;
}

.brand-strip > div {
  min-width: 0;
}

.brand-strip h1,
.brand-strip p {
  margin: 0;
}

.brand-strip h1 {
  font-size: clamp(2rem, 9vw, 4.8rem);
  line-height: 0.94;
  max-width: 760px;
}

.eyebrow {
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-link,
.plain-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 11px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.booking-stage,
.signin-panel,
.admin-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booking-form {
  display: grid;
  gap: 0;
  min-width: 0;
}

.form-band {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.form-band h2,
.signin-form h2,
.admin-toolbar h2 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.segmented label,
.toggle-grid label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  font-weight: 700;
  min-width: 0;
}

.segmented input,
.toggle-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented input:checked + span,
.toggle-grid input:checked + span {
  color: var(--green);
}

.segmented label:has(input:checked),
.toggle-grid label:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft);
}

.field-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
}

.sbe-admin-body input,
.sbe-admin-body textarea,
.sbe-admin-body select {
  font-weight: 500;
}

textarea {
  resize: vertical;
}

.toggle-grid {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.wide-field {
  margin-top: 14px;
}

.fleet-grid {
  display: grid;
  gap: 10px;
}

.fleet-choice {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 14px;
  text-align: left;
}

.fleet-choice strong {
  font-size: 1rem;
}

.fleet-choice span {
  color: var(--muted);
  font-size: 0.88rem;
}

.fleet-choice[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green-soft);
}

.price-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: #151515;
  color: #fff;
}

.price-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-card span,
.price-card p {
  margin: 0;
  color: #ded8cb;
}

.price-card strong {
  font-size: 1.55rem;
}

.action-bar {
  padding: 18px 20px 20px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #151515;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 16px;
  text-decoration: none;
}

.primary-action:disabled {
  cursor: progress;
  opacity: 0.68;
}

.confirmation {
  padding: 24px;
}

.confirmation h2 {
  margin: 8px 0;
  font-size: 1.8rem;
}

.signin-form {
  display: grid;
  gap: 14px;
  max-width: 440px;
  padding: 22px;
  min-width: 0;
}

.admin-signin-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-signin-mode-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 9px 10px;
}

.admin-signin-mode-button[aria-pressed="true"] {
  border-color: #1266f1;
  background: #edf5ff;
  color: #0f55cc;
}

.admin-signin-mode-button:focus-visible {
  outline: 3px solid rgba(18, 102, 241, 0.22);
  outline-offset: 2px;
}

.admin-signin-fields {
  display: grid;
  gap: 12px;
}

.admin-auth-secondary-action {
  width: 100%;
  text-align: center;
}

.portal-auth-icon {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto 2px;
  opacity: 0.9;
  filter: drop-shadow(0 0 14px rgba(10, 132, 255, 0.18));
}

.portal-nav-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.68;
  pointer-events: none;
  user-select: none;
}

.inline-note {
  min-height: 22px;
  margin: 0;
  color: var(--red);
}

.state-note {
  margin: 0;
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 700;
}

.settings-status-card {
  display: grid;
  gap: 8px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background: #f1f7ff;
  color: #175cd3;
  padding: 14px;
}

.settings-status-card--warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.settings-status-card strong,
.settings-status-card p {
  margin: 0;
}

.settings-status-card ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.email-preview-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.email-preview-output {
  display: grid;
  gap: 10px;
}

.email-preview-output pre {
  margin: 0;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  padding: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.email-settings-workspace-shell {
  background: #fff;
}

.email-settings-form,
.email-settings-workspace {
  min-width: 0;
}

.email-settings-workspace {
  display: grid;
  gap: 18px;
}

.email-settings-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.email-settings-heading h2,
.email-settings-card h3,
.email-matrix-card h3,
.email-content-card h3,
.email-preview-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #101828;
}

.email-settings-heading h2 {
  font-size: 1.8rem;
}

.email-settings-heading p,
.email-guidance p,
.email-settings-card p,
.email-content-card p {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.email-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(145px, 1fr));
}

.email-status-grid article {
  display: grid;
  gap: 10px;
  min-height: 104px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 16px;
}

.email-status-grid span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
}

.email-status-grid strong {
  color: #101828;
  font-size: 1.75rem;
  line-height: 1;
}

.email-status-grid small {
  color: #536178;
}

.email-guidance {
  display: grid;
  gap: 8px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px 16px;
}

.email-settings-grid,
.email-preview-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sbe-admin-body .email-preview-layout {
  grid-template-columns: minmax(0, 1fr);
}

.sbe-admin-body .email-preview-card {
  min-width: 0;
}

.sbe-admin-body .email-preview-card .section-heading-row {
  flex-wrap: wrap;
}

.sbe-admin-body .email-preview-card .section-heading-row > div {
  flex: 1 1 220px;
  min-width: 0;
}

.email-settings-card,
.email-matrix-card,
.email-content-card,
.email-preview-card {
  display: grid;
  gap: 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 18px;
}

.email-settings-card label,
.email-content-grid label {
  display: grid;
  gap: 7px;
  color: #101828;
  font-weight: 800;
}

.email-check-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.email-check-card input {
  width: auto;
  margin-top: 4px;
}

.email-check-card span,
.email-check-card small {
  display: grid;
  gap: 4px;
}

.email-check-card small {
  color: #667085;
  font-weight: 500;
}

.email-matrix {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(90px, 1fr));
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.email-matrix > * {
  min-width: 0;
  border-bottom: 1px solid #e6edf5;
  border-right: 1px solid #e6edf5;
  padding: 12px;
}

.email-matrix > :nth-child(-n+5) {
  background: #f6f7f9;
  color: #101828;
  font-weight: 900;
  text-align: center;
}

.email-matrix > :nth-child(5n+1) {
  text-align: left;
}

.email-matrix strong {
  display: grid;
  gap: 4px;
  color: #101828;
}

.email-matrix small {
  color: #667085;
  font-weight: 500;
}

.email-matrix span {
  text-align: center;
  color: #4f6fa9;
  font-weight: 900;
}

.email-content-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.email-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.email-action-row .primary-action {
  width: auto;
  min-width: 180px;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.notifications-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.notifications-workspace > * {
  min-width: 0;
  max-width: 100%;
}

.notifications-hero {
  padding: 20px 22px;
}

.notifications-hero .outline-action {
  flex: 0 0 auto;
}

.notification-section-switcher {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.notification-section-switcher button,
.notification-overview-card {
  appearance: none;
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  color: #102a1b;
  cursor: pointer;
  font: inherit;
  padding: 10px 11px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.notification-section-switcher button span,
.notification-overview-card span {
  color: #5e6d63;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.notification-section-switcher button strong,
.notification-overview-card strong {
  color: #102a1b;
  font-size: 0.9rem;
}

.notification-section-switcher button[aria-pressed="true"],
.notification-section-switcher button:hover,
.notification-section-switcher button:focus-visible,
.notification-overview-card:hover,
.notification-overview-card:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.notification-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  width: 100%;
}

.notification-status-card {
  appearance: none;
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 102px;
  border: 1px solid #dfe6ef;
  border-left: 5px solid #5b76aa;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  padding: 14px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.notification-status-card:hover,
.notification-status-card:focus-visible {
  border-color: #b9e4c7;
  background: #fbfffd;
  box-shadow: 0 14px 28px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.notification-status-card span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.notification-status-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 1.35rem;
  line-height: 1.1;
}

.notification-status-card small {
  color: #536178;
}

.notification-status-card em {
  align-self: end;
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  padding: 3px 8px;
}

.notification-status-green {
  border-left-color: #17a34a;
}

.notification-status-amber {
  border-left-color: #d97706;
}

.notification-status-muted {
  border-left-color: #94a3b8;
  background: #f8fafc;
}

.notification-status-blue {
  border-left-color: #0b66f0;
}

.notification-guidance {
  display: grid;
  gap: 8px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px 16px;
}

.notification-guidance p {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.notification-overview-page {
  display: grid;
  gap: 12px;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  padding: 14px;
}

.notification-overview-page[hidden],
.notifications-card[hidden],
.notification-matrix-card[hidden],
.email-preview-layout[hidden],
.email-action-row[hidden],
.notification-guidance[hidden] {
  display: none !important;
}

.notification-overview-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.notification-overview-card {
  min-height: 128px;
}

.notification-overview-card small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
}

.notification-overview-card em {
  align-self: end;
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  padding: 3px 8px;
}

.notification-helper-text {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
}

.notifications-panel-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  width: 100%;
}

.notifications-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  padding: 14px;
}

.notifications-card:focus {
  outline: 3px solid rgba(11, 102, 240, 0.22);
  outline-offset: 2px;
}

.notifications-form-grid,
.notifications-content-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notifications-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notifications-form-grid label,
.notifications-content-grid label,
.notifications-card > label {
  display: grid;
  gap: 6px;
  color: #101828;
  font-size: 0.78rem;
  font-weight: 800;
}

.notifications-check-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notification-matrix-card {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.notification-matrix {
  display: grid;
  min-width: 680px;
  grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(100px, 1fr));
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.notification-matrix > * {
  min-width: 0;
  border-bottom: 1px solid #e6edf5;
  border-right: 1px solid #e6edf5;
  padding: 12px;
}

.notification-matrix > :nth-child(-n+4) {
  background: #f6f7f9;
  color: #101828;
  font-weight: 900;
  text-align: center;
}

.notification-matrix strong {
  display: grid;
  gap: 4px;
  color: #101828;
}

.notification-matrix small {
  color: #667085;
  font-weight: 500;
}

.notification-matrix span {
  text-align: center;
  color: #4f6fa9;
  font-weight: 900;
}

.sbe-admin-body .notification-reminder-backdrop {
  grid-template-columns: minmax(0, 1fr);
}

.sbe-admin-body .notification-reminder-modal {
  width: min(520px, 100%);
  min-width: 0;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overflow-wrap: anywhere;
  border-color: #b9e4c7;
}

.general-settings-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.general-settings-hero {
  padding: 20px 22px;
}

.general-section-switcher {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.general-section-switcher button,
.general-overview-card {
  appearance: none;
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  color: #102a1b;
  cursor: pointer;
  font: inherit;
  padding: 10px 11px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.general-section-switcher button span,
.general-overview-card span {
  color: #5e6d63;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.general-section-switcher button strong,
.general-overview-card strong {
  color: #102a1b;
  font-size: 0.9rem;
}

.general-section-switcher button[aria-pressed="true"],
.general-section-switcher button:hover,
.general-section-switcher button:focus-visible,
.general-overview-card:hover,
.general-overview-card:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.general-overview-page {
  display: grid;
  gap: 12px;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  padding: 14px;
}

.general-overview-page[hidden],
.general-settings-card[hidden],
.general-preview-card[hidden],
.general-settings-actions[hidden] {
  display: none !important;
}

.general-overview-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.general-overview-card {
  min-height: 128px;
}

.general-overview-card small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
}

.general-overview-card em {
  align-self: end;
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  padding: 3px 8px;
}

.general-helper-text {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
}

.general-settings-grid,
.general-preview-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.general-settings-grid > .general-settings-card:not([hidden]),
.general-preview-layout.is-single > .general-preview-card {
  grid-column: 1 / -1;
}

.general-settings-card,
.general-preview-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  padding: 14px;
}

.general-settings-card > .admin-panel-heading {
  align-items: start;
}

.general-settings-card label,
.general-colour-control {
  display: grid;
  gap: 6px;
  color: #101828;
  font-size: 0.78rem;
  font-weight: 800;
}

.general-compact-grid,
.general-colour-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.general-asset-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-asset-upload-control {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.admin-asset-upload-preview {
  display: grid;
  place-items: center;
  width: 108px;
  aspect-ratio: 1.35;
  overflow: hidden;
  border: 1px solid #d9e4f2;
  border-radius: 8px;
  background: #fff;
}

.admin-asset-upload-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-asset-upload-preview.is-empty {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 8px;
  text-align: center;
}

.admin-asset-upload-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-asset-upload-copy strong {
  color: #101828;
  font-size: 0.84rem;
}

.admin-asset-upload-copy span,
.admin-asset-upload-copy small {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

.admin-asset-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-asset-path-details {
  grid-column: 1 / -1;
  border-top: 1px solid #e8eef6;
  padding-top: 8px;
}

.admin-asset-path-details summary {
  cursor: pointer;
  color: #475467;
  font-size: 0.72rem;
  font-weight: 600;
}

.admin-asset-path-details label {
  margin-top: 8px;
}

.general-step-one-options {
  display: grid;
  gap: 10px;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.general-step-one-options h4 {
  margin: 0;
  color: #111827;
  font-size: 0.82rem;
}

.general-toggle-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.general-toggle-line {
  align-items: flex-start;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.general-toggle-line span {
  display: grid;
  gap: 3px;
}

.general-toggle-line small {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.general-inline-number {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.general-colour-control {
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  min-height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfdff;
  padding: 8px 10px;
}

.general-colour-control input[type="color"] {
  width: 42px;
  min-height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
}

.general-preview-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.general-preview-heading span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.general-preview-heading strong {
  color: #101828;
  font-size: 0.92rem;
}

.general-booking-preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.general-booking-preview-step-one,
.general-booking-preview-step-two {
  display: grid;
  gap: 10px;
  min-width: 0;
  border-radius: 8px;
  padding: 14px;
}

.general-booking-preview-step-one {
  background: linear-gradient(135deg, var(--preview-booking-step-one-background-colour, #141714), var(--preview-booking-step-one-panel-colour, #372b1d));
  color: var(--preview-booking-step-one-text-colour, #fffdf5);
}

.general-booking-preview-step-one small {
  color: var(--preview-booking-step-one-accent-colour, #df6d61);
  font-weight: 900;
  text-transform: uppercase;
}

.general-booking-preview-step-one h3,
.general-booking-preview-step-one p,
.general-booking-preview-step-two h3 {
  margin: 0;
}

.general-preview-field {
  min-height: 38px;
  border: 2px solid var(--preview-booking-step-one-field-border-colour, #eef3ff);
  border-radius: 8px;
  background: var(--preview-booking-step-one-field-background-colour, #ffffff);
  color: #475467;
  padding: 10px;
}

.general-booking-preview button,
.general-email-preview-shell a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(105deg, var(--preview-booking-step-one-button-colour, #d43146), var(--preview-booking-step-one-button-secondary-colour, #ff8215));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.general-booking-preview-step-two {
  background: var(--preview-booking-step-two-background-colour, #f7f9fc);
  color: var(--preview-booking-step-two-price-colour, #10213b);
}

.general-preview-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.general-preview-progress span {
  min-height: 8px;
  border-radius: 999px;
  background: #dfe6ef;
}

.general-preview-progress .is-active {
  background: var(--preview-booking-step-two-progress-colour, #d43146);
}

.general-preview-vehicle {
  display: grid;
  gap: 4px;
  border: 1px solid var(--preview-booking-step-two-selected-colour, #c7354d);
  border-radius: 8px;
  background: var(--preview-booking-step-two-selected-background-colour, #fff7f8);
  box-shadow: inset 4px 0 0 var(--preview-booking-step-two-selected-colour, #c7354d);
  padding: 10px;
}

.general-preview-vehicle b {
  color: var(--preview-booking-step-two-price-colour, #10213b);
}

.general-booking-preview-step-two button {
  background: var(--preview-booking-step-two-button-colour, #d43146);
}

.general-email-preview {
  --preview-email-layout-header-background-colour: #10213b;
  --preview-email-layout-header-text-colour: #ffffff;
  --preview-email-layout-body-background-colour: #f6f7fb;
  --preview-email-layout-card-background-colour: #ffffff;
  --preview-email-layout-border-colour: #d9e4f1;
  --preview-email-layout-button-colour: #d43146;
  --preview-email-layout-footer-background-colour: #10213b;
  --preview-email-layout-footer-text-colour: #ffffff;
}

.general-email-preview-shell {
  overflow: hidden;
  border: 1px solid var(--preview-email-layout-border-colour);
  border-radius: 8px;
  background: var(--preview-email-layout-body-background-colour);
}

.general-email-preview-shell header,
.general-email-preview-shell footer {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.general-email-preview-shell header {
  background: var(--preview-email-layout-header-background-colour);
  color: var(--preview-email-layout-header-text-colour);
}

.general-email-preview-shell main {
  display: grid;
  gap: 10px;
  margin: 12px;
  border: 1px solid var(--preview-email-layout-border-colour);
  border-radius: 8px;
  background: var(--preview-email-layout-card-background-colour);
  padding: 14px;
}

.general-email-preview-shell p {
  margin: 0;
  color: #344054;
}

.general-email-preview-shell a {
  width: fit-content;
  min-width: 120px;
  background: var(--preview-email-layout-button-colour);
  padding: 0 14px;
}

.general-email-preview-shell footer {
  background: var(--preview-email-layout-footer-background-colour);
  color: var(--preview-email-layout-footer-text-colour);
  font-weight: 800;
}

.general-advanced-card summary {
  cursor: pointer;
  color: #101828;
  font-weight: 900;
}

.general-settings-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.general-settings-actions .primary-action {
  width: auto;
  min-width: 190px;
}

@media (max-width: 1120px) {
  .email-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .email-content-grid,
  .general-settings-grid,
  .general-preview-layout,
  .notifications-panel-grid {
    grid-template-columns: 1fr;
  }

  .notification-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .notifications-content-grid {
    grid-template-columns: 1fr;
  }

  .general-asset-grid,
  .admin-asset-upload-control {
    grid-template-columns: 1fr;
  }

  .admin-asset-upload-preview {
    width: 100%;
    max-width: 180px;
  }
}

@media (max-width: 760px) {
  .email-settings-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .email-settings-heading h2 {
    font-size: 1.45rem;
  }

  .email-status-grid,
  .email-settings-grid,
  .email-preview-layout,
  .notifications-form-grid,
  .notifications-check-grid,
  .general-booking-preview-grid {
    grid-template-columns: 1fr;
  }

  .notification-status-grid {
    grid-template-columns: 1fr;
  }

  .email-matrix {
    min-width: 760px;
  }

}

.maps-settings-workspace-shell {
  background: #fff;
}

.maps-settings-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.maps-settings-workspace > * {
  min-width: 0;
  max-width: 100%;
}

.maps-settings-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.maps-settings-heading h2,
.maps-settings-card h3,
.maps-guidance h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #101828;
}

.maps-settings-heading h2 {
  font-size: 1.8rem;
}

.maps-settings-heading p,
.maps-settings-card p,
.maps-guidance p,
.maps-settings-card small {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.maps-settings-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.maps-settings-actions--left {
  justify-content: flex-start;
}

.maps-integration-switcher,
.system-data-section-switcher {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.maps-integration-switcher button,
.maps-integration-card,
.system-data-section-switcher button,
.system-data-overview-card {
  appearance: none;
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  color: #102a1b;
  cursor: pointer;
  font: inherit;
  padding: 10px 11px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.maps-integration-switcher button span,
.maps-integration-card span,
.system-data-section-switcher button span,
.system-data-overview-card span {
  color: #5e6d63;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.maps-integration-switcher button strong,
.maps-integration-card strong,
.system-data-section-switcher button strong,
.system-data-overview-card strong {
  color: #102a1b;
  font-size: 0.9rem;
}

.maps-integration-switcher button[aria-pressed="true"],
.maps-integration-switcher button:hover,
.maps-integration-switcher button:focus-visible,
.maps-integration-card:hover,
.maps-integration-card:focus-visible,
.system-data-section-switcher button[aria-pressed="true"],
.system-data-section-switcher button:hover,
.system-data-section-switcher button:focus-visible,
.system-data-overview-card:hover,
.system-data-overview-card:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.maps-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  min-width: 0;
  width: 100%;
}

.maps-status-card {
  appearance: none;
  display: grid;
  gap: 10px;
  min-height: 112px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  color: inherit;
  font: inherit;
  padding: 16px;
  text-align: left;
}

.maps-status-card--ready {
  border-color: #cfe9d8;
  background: #fbfffc;
}

.maps-status-card--warn {
  border-color: #f7d48a;
  background: #fffdf7;
}

.maps-status-card--action {
  border-left: 5px solid #17a34a;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.maps-status-card--action:hover,
.maps-status-card--action:focus-visible {
  border-color: #9bd5ad;
  background: #fbfffd;
  box-shadow: 0 16px 30px rgba(18, 108, 60, 0.11);
  outline: 0;
  transform: translateY(-1px);
}

.maps-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
}

.maps-status-card strong {
  color: #101828;
  font-size: 1.75rem;
  line-height: 1;
}

.maps-status-card small {
  color: #536178;
}

.maps-status-card em {
  align-self: end;
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  padding: 3px 8px;
}

.maps-guidance {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #416aac;
  background: #f8fbff;
  padding: 16px 18px;
}

.maps-guidance strong {
  color: #101828;
}

.maps-key-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.maps-integration-overview,
.system-data-overview {
  display: grid;
  gap: 12px;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  padding: 14px;
}

.maps-integration-overview[hidden],
.system-data-overview[hidden],
.system-data-output[hidden],
.maps-settings-card[hidden],
.maps-key-grid.is-hidden,
.maps-action-row[hidden] {
  display: none !important;
}

.maps-integration-card-grid,
.system-data-overview-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.maps-integration-card,
.system-data-overview-card {
  min-height: 128px;
}

.maps-integration-card small,
.system-data-overview-card small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
}

.maps-integration-card em,
.system-data-overview-card em {
  align-self: end;
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  padding: 3px 8px;
}

.maps-helper-text {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
}

.maps-settings-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 18px;
}

.maps-settings-card:focus,
.payments-settings-panel:focus,
.payments-provider-panel:focus {
  outline: 3px solid rgba(11, 102, 240, 0.22);
  outline-offset: 2px;
}

.maps-settings-card label,
.maps-form-grid label {
  display: grid;
  gap: 7px;
  color: #101828;
  font-weight: 800;
}

.maps-key-input-row {
  display: grid;
  align-items: center;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.maps-key-state {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.maps-key-state--ready {
  background: #e8f8ee;
  color: #117a38;
}

.maps-key-state--warn {
  background: #fff3d6;
  color: #92400e;
}

.maps-settings-card .maps-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4b5c73;
}

.maps-settings-card .maps-inline-check input {
  inline-size: 18px;
  block-size: 18px;
}

.maps-quick-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.maps-quick-status-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.maps-quick-status-item span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
}

.maps-quick-status-item strong {
  color: #101828;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.maps-quick-status-item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.maps-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.maps-form-grid-wide {
  grid-column: span 2;
}

.maps-check-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.maps-check-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.maps-check-card input {
  width: auto;
  margin-top: 4px;
}

.maps-check-card span,
.maps-check-card small {
  display: grid;
  gap: 4px;
}

.maps-check-card small {
  color: #667085;
  font-weight: 500;
}

.maps-advanced-settings summary,
.maps-beta-settings summary {
  cursor: pointer;
  color: #101828;
  font-size: 1.05rem;
  font-weight: 900;
}

.maps-advanced-settings[open],
.maps-beta-settings[open] {
  gap: 16px;
}

.maps-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.maps-action-row .primary-action {
  width: auto;
  min-width: 150px;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.maps-settings-workspace-shell .health-output {
  margin-top: 16px;
}

.system-data-workspace {
  gap: 14px;
}

.system-data-control-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-data-card {
  align-content: start;
}

.system-data-workspace .maps-settings-heading:focus,
.system-data-card:focus,
.system-data-output:focus {
  outline: 3px solid rgba(11, 102, 240, 0.22);
  outline-offset: 2px;
}

.system-data-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-data-check-grid {
  grid-template-columns: 1fr;
}

.system-data-output {
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 14px;
}

@media (max-width: 1120px) {
  .maps-status-grid,
  .maps-quick-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maps-form-grid,
  .maps-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Admin operations compact green polish */
.sbe-admin-body .admin-dashboard-command-centre,
.sbe-admin-body .booking-history-hero,
.sbe-admin-body .admin-drivers-hero,
.sbe-admin-body .admin-customers-hero,
.sbe-admin-body .admin-vehicle-hero,
#dispatch-view .admin-dispatch-hero {
  border: 1px solid #d9eadf;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94) 48%, rgba(239, 246, 255, 0.88)),
    #ffffff;
  color: #102a1b;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
  padding: 20px 22px;
}

.sbe-admin-body .admin-dashboard-command-centre h2,
.sbe-admin-body .booking-history-hero h2,
.sbe-admin-body .admin-drivers-hero h2,
.sbe-admin-body .admin-customers-hero h2,
.sbe-admin-body .admin-vehicle-hero h2,
#dispatch-view .admin-dispatch-hero h2 {
  color: #102a1b;
  font-size: clamp(1.38rem, 1.55vw, 1.82rem);
}

.sbe-admin-body .admin-dashboard-command-centre p,
.sbe-admin-body .booking-history-hero p,
.sbe-admin-body .admin-drivers-hero p,
.sbe-admin-body .admin-customers-hero p,
.sbe-admin-body .admin-vehicle-hero p,
#dispatch-view .admin-dispatch-hero p {
  color: #526173;
  font-size: 0.9rem;
}

.sbe-admin-body .admin-dashboard-command-centre .admin-dashboard-eyebrow,
.sbe-admin-body .booking-history-hero .admin-dashboard-eyebrow,
.sbe-admin-body .admin-drivers-hero > div > span,
.sbe-admin-body .admin-customers-hero > div > span,
.sbe-admin-body .admin-vehicle-hero > div > span,
#dispatch-view .admin-dispatch-hero > div:first-child > span {
  color: #486655 !important;
}

.sbe-admin-body .admin-dashboard-command-centre .plain-action,
.sbe-admin-body .booking-history-hero .plain-action,
.sbe-admin-body .admin-drivers-hero .primary-action,
.sbe-admin-body .admin-customers-hero .primary-action,
.sbe-admin-body .admin-vehicle-hero .primary-action,
.sbe-admin-body .admin-customer-detail-hero .primary-action,
.sbe-admin-body .admin-driver-create-card .primary-action,
.sbe-admin-body .admin-customer-create-card .primary-action,
#dispatch-view .admin-dispatch-board .primary-action {
  border-color: #14934f;
  background: #15803d;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16);
}

.sbe-admin-body .admin-help-tip,
.sbe-admin-body .admin-dashboard-command-centre .admin-help-tip,
.sbe-admin-body .booking-history-hero .admin-help-tip,
.sbe-admin-body .admin-drivers-hero .admin-help-tip,
.sbe-admin-body .admin-customers-hero .admin-help-tip,
.sbe-admin-body .admin-vehicle-hero .admin-help-tip,
#dispatch-view .admin-dispatch-hero .admin-help-tip {
  background: #effaf3;
  color: #15803d;
  font-weight: 600;
}

.sbe-admin-body .admin-help-tip [role="tooltip"] {
  width: min(340px, 78vw);
  border-color: #cfe7d8;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.65;
  padding: 10px 11px;
}

.sbe-admin-body .admin-dashboard-stat-strip,
.sbe-admin-body .booking-history-summary-grid,
.sbe-admin-body .admin-driver-status-grid,
.sbe-admin-body .admin-customer-status-grid,
.sbe-admin-body .admin-vehicle-status-grid,
#dispatch-view .admin-dispatch-hero-stats,
#dispatch-view .admin-dispatch-status-grid {
  gap: 9px;
}

.sbe-admin-body .admin-dashboard-stat-card,
.sbe-admin-body .booking-history-metric,
.sbe-admin-body .admin-driver-status-card,
.sbe-admin-body .admin-customer-status-card,
.sbe-admin-body .admin-vehicle-status-card,
#dispatch-view .admin-dispatch-hero-stat,
#dispatch-view .admin-dispatch-status-card {
  appearance: none;
  min-height: 74px;
  border-color: #dce8e0;
  border-left-width: 1px;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 10px 11px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sbe-admin-body .booking-history-metric:hover,
.sbe-admin-body .booking-history-metric:focus-visible,
.sbe-admin-body .admin-dashboard-stat-card:hover,
.sbe-admin-body .admin-dashboard-stat-card:focus-visible,
.sbe-admin-body .admin-driver-status-card:hover,
.sbe-admin-body .admin-driver-status-card:focus-visible,
.sbe-admin-body .admin-customer-status-card:hover,
.sbe-admin-body .admin-customer-status-card:focus-visible,
.sbe-admin-body .admin-vehicle-status-card:hover,
.sbe-admin-body .admin-vehicle-status-card:focus-visible,
#dispatch-view .admin-dispatch-hero-stat:hover,
#dispatch-view .admin-dispatch-hero-stat:focus-visible,
#dispatch-view .admin-dispatch-status-card:hover,
#dispatch-view .admin-dispatch-status-card:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.sbe-admin-body .booking-history-metric.is-active,
.sbe-admin-body .admin-driver-status-card.is-active,
.sbe-admin-body .admin-customer-status-card.is-active,
.sbe-admin-body .admin-vehicle-status-card.is-active,
#dispatch-view .admin-dispatch-status-card[aria-pressed="true"] {
  border-color: #9bd5ad;
  background: #ecfdf3;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.11), 0 0 0 3px rgba(21, 128, 61, 0.08);
}

.sbe-admin-body .admin-dashboard-stat-card strong,
.sbe-admin-body .booking-history-metric strong,
.sbe-admin-body .admin-driver-status-card strong,
.sbe-admin-body .admin-customer-status-card strong,
.sbe-admin-body .admin-vehicle-status-card strong,
#dispatch-view .admin-dispatch-hero-stat strong,
#dispatch-view .admin-dispatch-status-card strong {
  color: #102a1b;
  font-size: 1.28rem;
}

.sbe-admin-body .admin-dashboard-stat-card span,
.sbe-admin-body .booking-history-metric span,
.sbe-admin-body .admin-driver-status-card span,
.sbe-admin-body .admin-customer-status-card span,
.sbe-admin-body .admin-vehicle-status-card span,
#dispatch-view .admin-dispatch-hero-stat span,
#dispatch-view .admin-dispatch-status-card span {
  color: #5e6d63;
  font-size: 0.69rem;
  font-weight: 700;
}

.sbe-admin-body .admin-dashboard-stat-card small,
.sbe-admin-body .booking-history-metric small,
.sbe-admin-body .admin-driver-status-card small,
.sbe-admin-body .admin-customer-status-card small,
.sbe-admin-body .admin-vehicle-status-card small,
#dispatch-view .admin-dispatch-status-card small {
  color: #526173;
  font-size: 0.71rem;
}

.sbe-admin-body .booking-history-filter-form,
.sbe-admin-body .admin-driver-search-form,
.sbe-admin-body .admin-customer-help,
.sbe-admin-body .admin-customer-page-info,
.sbe-admin-body .admin-vehicle-guidance,
#dispatch-view .admin-dispatch-search-card {
  padding: 12px;
}

.sbe-admin-body .booking-history-filter-form label,
.sbe-admin-body .admin-driver-search-form label,
.sbe-admin-body .admin-customer-form-grid label,
.sbe-admin-body .admin-driver-form-row,
.sbe-admin-body .admin-vehicle-form-section label,
#dispatch-view .admin-dispatch-board .admin-dispatch-filter-bar label {
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body .booking-history-filter-form input,
.sbe-admin-body .booking-history-filter-form select,
.sbe-admin-body .admin-driver-search-form input,
.sbe-admin-body .admin-customer-form-grid input,
.sbe-admin-body .admin-customer-form-grid select,
.sbe-admin-body .admin-customer-form-grid textarea,
.sbe-admin-body .admin-driver-form-control input,
.sbe-admin-body .admin-driver-form-control select,
.sbe-admin-body .admin-driver-form-control textarea,
.sbe-admin-body .admin-vehicle-form-section input,
.sbe-admin-body .admin-vehicle-form-section select,
.sbe-admin-body .admin-vehicle-form-section textarea,
#dispatch-view .admin-dispatch-board input,
#dispatch-view .admin-dispatch-board select,
#dispatch-view .admin-dispatch-board textarea {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.sbe-admin-body .admin-customer-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.sbe-admin-body .admin-vehicle-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

/* Admin Fares Deep Audit final cascade lock. */
.sbe-admin-body #pricing-view .pricing-page-heading,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading {
  border: 1px solid #d9eadf !important;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94) 48%, rgba(239, 246, 255, 0.88)),
    #ffffff !important;
  color: #102a1b !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
}

.sbe-admin-body #pricing-view .pricing-page-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading h2 {
  color: #102a1b !important;
  font-size: clamp(1.34rem, 1.5vw, 1.72rem) !important;
  line-height: 1.18;
}

.sbe-admin-body #pricing-view .pricing-page-heading p,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading p,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading p,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading p,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading p {
  color: #526173 !important;
  font-size: 0.88rem !important;
}

.sbe-admin-body #pricing-view .admin-help-tip[data-admin-tooltip],
.sbe-admin-body #settings-view.settings-view-fares .admin-help-tip[data-admin-tooltip] {
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  border-color: #b7e5c8 !important;
  background: #effaf3 !important;
  color: #15803d !important;
  font-size: 0.64rem !important;
  font-weight: 500 !important;
}

.sbe-admin-body #pricing-view .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares .admin-help-tip[data-admin-tooltip]::after {
  border-color: #cfe7d8 !important;
  color: #334155 !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

.sbe-admin-body #pricing-view .primary-action,
.sbe-admin-body #pricing-view .pricing-new-button,
.sbe-admin-body #pricing-view .pricing-inline-control .plain-action,
.sbe-admin-body #settings-view.settings-view-fares .primary-action:not(.admin-action-tab-danger) {
  border-color: #14934f !important;
  background: #15803d !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16) !important;
}

.sbe-admin-body #settings-view.settings-view-fares .outline-action:not(.danger-action),
.sbe-admin-body #settings-view.settings-view-fares .plain-action:not(.admin-action-tab-danger):not(.danger-lite),
.sbe-admin-body #pricing-view .plain-action:not(.admin-action-tab-danger):not(.danger-lite) {
  border-color: #cfe7d8 !important;
  background: #ffffff !important;
  color: #15803d !important;
}

.sbe-admin-body #settings-view.settings-view-fares .danger-action,
.sbe-admin-body #settings-view.settings-view-fares .danger-lite {
  border-color: #f2ccd2 !important;
  background: #fff7f8 !important;
  color: #a43f4b !important;
  box-shadow: none !important;
}

.sbe-admin-body #pricing-view table th,
.sbe-admin-body #settings-view.settings-view-fares table th {
  background: #f2fbf5 !important;
  color: #294235 !important;
}

.sbe-admin-body #pricing-view table td,
.sbe-admin-body #settings-view.settings-view-fares table td {
  border-color: #e3eee7 !important;
}

.sbe-admin-body .fare-delete-modal .admin-action-tab-danger {
  border-color: #b8424d !important;
  background: #b8424d !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.16) !important;
}

/* Final Admin Dashboard deep inspection polish. */
.sbe-admin-body {
  --admin-wp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --admin-wp-text: #1d2327;
  --admin-wp-muted: #50575e;
  --admin-wp-soft: #f6f7f7;
  --admin-wp-panel: #ffffff;
  --admin-wp-border: #dcdcde;
  --admin-wp-border-strong: #c3c4c7;
  --admin-wp-green: #15803d;
  --admin-wp-green-dark: #116632;
  --admin-wp-green-soft: #eef8f1;
  --admin-wp-blue: #2271b1;
  font-family: var(--admin-wp-font);
  color: var(--admin-wp-text);
}

.sbe-admin-body button,
.sbe-admin-body input,
.sbe-admin-body select,
.sbe-admin-body textarea,
.sbe-admin-body .admin-dashboard-output,
.sbe-admin-body .admin-sidebar-brand,
.sbe-admin-body .admin-tabs,
.sbe-admin-body .admin-toolbar {
  font-family: var(--admin-wp-font) !important;
}

.sbe-admin-body .admin-sidebar-brand strong {
  color: var(--admin-wp-text);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.sbe-admin-body .admin-sidebar-brand small,
.sbe-admin-body .admin-tabs button,
.sbe-admin-body .admin-tabs .admin-nav-section {
  font-weight: 600;
  letter-spacing: 0;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] {
  background: #f0f6fc;
  color: #0a4b78;
}

.sbe-admin-body .admin-help-tip,
.sbe-admin-body .admin-dashboard-command-centre .admin-help-tip {
  width: 15px;
  min-width: 15px;
  height: 15px;
  border: 1px solid #d6eadc;
  background: #f4fbf6;
  color: var(--admin-wp-green);
  font-size: 0.6rem;
  font-weight: 500;
}

.sbe-admin-body .admin-dashboard-output {
  gap: 14px;
  color: var(--admin-wp-text);
  font-size: 14px;
  line-height: 1.45;
}

.sbe-admin-body .admin-dashboard-command-centre {
  align-items: center;
  border: 1px solid var(--admin-wp-border);
  background: linear-gradient(135deg, #ffffff 0%, #f6f7f7 68%, #f1f8f3 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.045);
  color: var(--admin-wp-text);
  padding: 18px 20px;
}

.sbe-admin-body .admin-dashboard-command-centre h2 {
  color: var(--admin-wp-text);
  font-size: clamp(1.32rem, 1.45vw, 1.58rem);
  font-weight: 700;
  line-height: 1.18;
}

.sbe-admin-body .admin-dashboard-command-centre p {
  color: var(--admin-wp-muted);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
}

.sbe-admin-body .admin-dashboard-command-centre .admin-dashboard-eyebrow {
  color: #4b5d53 !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.sbe-admin-body .admin-dashboard-command-actions {
  gap: 8px;
}

.sbe-admin-body .admin-dashboard-command-centre .plain-action,
.sbe-admin-body .admin-dashboard-card-action,
.sbe-admin-body .admin-readiness-card .admin-dashboard-card-action {
  min-height: 32px;
  border: 1px solid var(--admin-wp-green);
  border-radius: 6px;
  background: var(--admin-wp-green);
  box-shadow: none;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.1;
  padding: 7px 11px;
}

.sbe-admin-body .admin-dashboard-command-centre .plain-action:hover,
.sbe-admin-body .admin-dashboard-card-action:hover {
  background: var(--admin-wp-green-dark);
  border-color: var(--admin-wp-green-dark);
}

.sbe-admin-body .admin-dashboard-notification-button {
  min-height: 36px;
  border: 1px solid var(--admin-wp-border-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--admin-wp-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 10px;
}

.sbe-admin-body .admin-dashboard-notification-button[aria-expanded="true"] {
  border-color: #b8dec4;
  background: var(--admin-wp-green-soft);
  color: var(--admin-wp-green-dark);
}

.sbe-admin-body .admin-dashboard-notification-count {
  min-width: 20px;
  height: 20px;
  background: var(--admin-wp-green);
  font-size: 0.68rem;
}

.sbe-admin-body .admin-dashboard-status-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid #f0d98c;
  border-left: 4px solid #dba617;
  border-radius: 6px;
  background: #fffaf0;
  color: #3c434a;
  padding: 10px 12px;
}

.sbe-admin-body .admin-dashboard-status-notice strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.sbe-admin-body .admin-dashboard-status-notice span {
  color: var(--admin-wp-muted);
  font-size: 0.8rem;
}

.sbe-admin-body .admin-dashboard-status-notice-error {
  border-color: #f0c6c6;
  border-left-color: #b32d2e;
  background: #fcf0f1;
}

.sbe-admin-body .admin-dashboard-stat-panel {
  display: grid;
  gap: 8px;
}

.sbe-admin-body .admin-dashboard-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sbe-admin-body .admin-dashboard-stat-header h3 {
  margin: 0;
  color: var(--admin-wp-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.sbe-admin-body .admin-dashboard-stat-header .outline-action {
  min-height: 30px;
  border-color: var(--admin-wp-border-strong);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: none;
  color: var(--admin-wp-text);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 10px;
}

.sbe-admin-body .admin-dashboard-stat-header .outline-action:hover {
  border-color: #8c8f94;
  color: #0a4b78;
}

.sbe-admin-body .admin-dashboard-stat-strip {
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.sbe-admin-body .admin-dashboard-stat-card {
  position: relative;
  gap: 6px;
  min-height: 82px;
  border: 1px solid var(--admin-wp-border);
  border-left: 3px solid var(--dash-card-accent, var(--admin-wp-border-strong));
  border-radius: 6px;
  background: var(--admin-wp-panel);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035);
  padding: 11px 12px;
}

.sbe-admin-body .admin-dashboard-stat-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dash-card-accent, var(--admin-wp-border-strong));
}

.sbe-admin-body .admin-dashboard-stat-blue {
  --dash-card-accent: var(--admin-wp-blue);
}

.sbe-admin-body .admin-dashboard-stat-green {
  --dash-card-accent: var(--admin-wp-green);
}

.sbe-admin-body .admin-dashboard-stat-amber {
  --dash-card-accent: #b26200;
}

.sbe-admin-body .admin-dashboard-stat-red {
  --dash-card-accent: #b32d2e;
}

.sbe-admin-body .admin-dashboard-stat-purple {
  --dash-card-accent: #674399;
}

.sbe-admin-body .admin-dashboard-stat-card:hover,
.sbe-admin-body .admin-dashboard-stat-card:focus-visible,
.sbe-admin-body .admin-dashboard-guidance-card.is-actionable:hover,
.sbe-admin-body .admin-dashboard-guidance-card.is-actionable:focus-visible,
.sbe-admin-body .admin-dashboard-quick-card:hover,
.sbe-admin-body .admin-dashboard-quick-card:focus-visible,
.sbe-admin-body .admin-readiness-card:hover,
.sbe-admin-body .admin-readiness-card:focus-visible {
  border-color: #94c9a3;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.065);
  outline: 0;
  transform: translateY(-1px);
}

.sbe-admin-body .admin-dashboard-stat-card span {
  color: var(--admin-wp-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.sbe-admin-body .admin-dashboard-stat-card strong {
  color: var(--admin-wp-text);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.05;
}

.sbe-admin-body .admin-dashboard-stat-card small {
  color: var(--admin-wp-muted);
  font-size: 0.75rem;
}

.sbe-admin-body .admin-dashboard-readiness,
.sbe-admin-body .admin-dashboard-quick-access {
  border: 1px solid var(--admin-wp-border);
  border-radius: 6px;
  background: var(--admin-wp-panel);
  box-shadow: none;
  padding: 15px;
}

.sbe-admin-body .admin-readiness-grid,
.sbe-admin-body .admin-dashboard-quick-grid {
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sbe-admin-body .admin-dashboard-quick-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sbe-admin-body .admin-dashboard-quick-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sbe-admin-body .admin-readiness-card,
.sbe-admin-body .admin-dashboard-guidance-card,
.sbe-admin-body .admin-dashboard-quick-card {
  border: 1px solid var(--admin-wp-border);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035);
}

.sbe-admin-body .admin-readiness-card {
  min-height: 136px;
}

.sbe-admin-body .admin-dashboard-quick-card {
  grid-template-rows: auto auto 1fr auto;
  min-height: 146px;
  padding: 14px;
}

.sbe-admin-body .admin-dashboard-guidance-card {
  min-height: 150px;
}

.sbe-admin-body .admin-readiness-card h3,
.sbe-admin-body .admin-dashboard-guidance-card h3,
.sbe-admin-body .admin-dashboard-quick-card h4,
.sbe-admin-body .admin-dashboard-quick-heading h2 {
  color: var(--admin-wp-text);
  font-weight: 700;
  letter-spacing: 0;
}

.sbe-admin-body .admin-dashboard-quick-heading h2 {
  font-size: 1.02rem;
}

.sbe-admin-body .admin-dashboard-quick-section h3 {
  color: #3c434a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.sbe-admin-body .admin-readiness-card p,
.sbe-admin-body .admin-dashboard-guidance-card p,
.sbe-admin-body .admin-dashboard-quick-card p,
.sbe-admin-body .admin-dashboard-quick-heading p {
  color: var(--admin-wp-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.48;
}

.sbe-admin-body .admin-readiness-card > div > span {
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
}

.sbe-admin-body .admin-readiness-pass {
  border-color: #d7e8dc;
  background: #ffffff;
}

.sbe-admin-body .admin-readiness-pass > div > span {
  background: var(--admin-wp-green-soft);
  color: var(--admin-wp-green-dark);
}

.sbe-admin-body .admin-readiness-warn {
  border-color: #ead8a7;
  background: #fffdf8;
}

.sbe-admin-body .admin-dashboard-card-icon {
  width: 31px;
  height: 31px;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .sbe-admin-body .admin-dashboard-command-centre,
  .sbe-admin-body .admin-dashboard-command-actions,
  .sbe-admin-body .admin-dashboard-stat-header {
    align-items: stretch;
    flex-direction: column;
  }

  .sbe-admin-body .admin-dashboard-guidance-grid,
  .sbe-admin-body .admin-dashboard-quick-grid-three,
  .sbe-admin-body .admin-dashboard-quick-grid-two,
  .sbe-admin-body .admin-readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sbe-admin-body .admin-dashboard-stat-strip,
  .sbe-admin-body .admin-dashboard-guidance-grid,
  .sbe-admin-body .admin-dashboard-quick-grid-three,
  .sbe-admin-body .admin-dashboard-quick-grid-two,
  .sbe-admin-body .admin-readiness-grid {
    grid-template-columns: 1fr;
  }

  .sbe-admin-body .admin-dashboard-command-centre {
    padding: 16px;
  }

  .sbe-admin-body .admin-dashboard-command-actions .plain-action,
  .sbe-admin-body .admin-dashboard-command-actions .admin-dashboard-notification-button,
  .sbe-admin-body .admin-dashboard-stat-header .outline-action {
    width: 100%;
    justify-content: center;
  }
}

/* Admin Payments Deep Audit polish. */
.sbe-admin-body #payments-view .payments-ledger-workspace,
.sbe-admin-body #payments-view .payments-ledger-heading,
.sbe-admin-body #payments-view .payment-summary-grid,
.sbe-admin-body #payments-view .payment-filter-bar,
.sbe-admin-body #payments-view .admin-payment-table-scroll {
  max-width: 1120px;
}

.sbe-admin-body #payments-view .payments-ledger-heading,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-admin-hero,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-methods-hero {
  border: 1px solid #cfe4d6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 252, 248, 0.98), rgba(239, 249, 243, 0.98) 52%, rgba(247, 250, 255, 0.98)),
    #f7fbf8;
  color: #102a20;
  padding: 12px 14px;
}

.sbe-admin-body #payments-view .payments-ledger-heading span,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-admin-hero span,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-methods-hero span {
  color: #287050;
  font-weight: 700;
}

.sbe-admin-body #payments-view .payments-ledger-heading h2,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-admin-hero h2,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-methods-hero h2 {
  color: #102a20;
  font-size: 1.06rem;
}

.sbe-admin-body #payments-view .payments-ledger-heading p,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-admin-hero p,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payments-methods-hero p {
  color: #52637a;
  font-size: 0.8rem;
}

.sbe-admin-body #payments-view .payment-summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.sbe-admin-body #payments-view .admin-payment-status-card {
  display: grid;
  gap: 5px;
  min-height: 82px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 10px 12px;
  text-align: left;
}

.sbe-admin-body #payments-view .admin-payment-status-card span {
  color: #667085;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body #payments-view .admin-payment-status-card strong {
  color: #101828;
  font-size: 1.38rem;
  line-height: 1;
}

.sbe-admin-body #payments-view .admin-payment-status-card small {
  color: #52637a;
  font-size: 0.7rem;
}

.sbe-admin-body #payments-view .admin-payment-status-card:hover,
.sbe-admin-body #payments-view .admin-payment-status-card:focus,
.sbe-admin-body #payments-view .admin-payment-status-card.is-active {
  border-color: #15803d;
  box-shadow: 0 14px 28px rgba(21, 128, 61, 0.12);
}

.sbe-admin-body #payments-view .admin-payment-status-green {
  border-color: #b7e4c7;
  background: #f6fcf7;
}

.sbe-admin-body #payments-view .admin-payment-status-amber {
  border-color: #f3d8a8;
  background: #fffaf0;
}

.sbe-admin-body #payments-view .admin-payment-status-red {
  border-color: #f1c7ce;
  background: #fff8f8;
}

.sbe-admin-body #payments-view .admin-payment-table {
  min-width: 760px;
  font-size: 0.76rem;
}

.sbe-admin-body #payments-view .admin-payment-table th {
  background: #f2fbf5;
  color: #294235;
  font-weight: 700;
}

.sbe-admin-body #payments-view .admin-payment-row td {
  border-bottom-color: #e3eee7;
}

.sbe-admin-body #payments-view .admin-payment-row td:first-child {
  border-left: 4px solid #c8dcf8;
}

.sbe-admin-body #payments-view .admin-payment-row-green td:first-child {
  border-left-color: #28a745;
}

.sbe-admin-body #payments-view .admin-payment-row-amber td:first-child {
  border-left-color: #d99a20;
}

.sbe-admin-body #payments-view .admin-payment-row-red td:first-child {
  border-left-color: #b8424d;
}

.sbe-admin-body #payments-view .admin-payment-record-cell {
  display: grid;
  gap: 5px;
  min-width: 150px;
}

.sbe-admin-body #payments-view .payment-refund-note {
  width: fit-content;
}

.sbe-admin-body #payments-view .payment-open-action,
.sbe-admin-body #payments-view .payment-filter-bar .plain-action,
.sbe-admin-body #settings-view.settings-view-payments-checkout .primary-action {
  border-color: #14934f;
  background: #15803d;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16);
}

.sbe-admin-body #payments-view .payment-copy-note,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-copy-note {
  min-height: 20px;
  margin: 0;
  color: #15803d;
  font-size: 0.74rem;
  font-weight: 500;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-method-live-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7e1ef;
  border-radius: 999px;
  background: #f8fafc;
  color: #52637a;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-method-live-pill--green {
  border-color: #b7e4c7;
  background: #f4fbf6;
  color: #116329;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-method-edit-panel,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-provider-detail {
  border-top: 1px solid #e5edf4;
  margin-top: 8px;
  padding-top: 8px;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-method-edit-panel summary,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-provider-detail summary {
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 8px;
  background: #ffffff;
  color: #15803d;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  list-style-position: inside;
  padding: 6px 10px;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-method-edit-panel[open] summary,
.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-provider-detail[open] summary {
  margin-bottom: 8px;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-method-visible-control {
  width: fit-content;
  margin-bottom: 6px;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-webhook-priority-panel {
  border-color: #b7e4c7;
  background: #fbfffc;
}

.sbe-admin-body #settings-view.settings-view-payments-checkout .payment-webhook-row {
  border-color: #dce9e1;
  background: #ffffff;
}

@media (max-width: 759px) {
  .sbe-admin-body #payments-view .admin-payment-table {
    min-width: 0;
  }

  .sbe-admin-body #payments-view .admin-payment-row td:first-child {
    border-left: 0;
    border-top: 4px solid #c8dcf8;
  }

  .sbe-admin-body #payments-view .admin-payment-row-green td:first-child {
    border-top-color: #28a745;
  }

  .sbe-admin-body #payments-view .admin-payment-row-amber td:first-child {
    border-top-color: #d99a20;
  }

  .sbe-admin-body #payments-view .admin-payment-row-red td:first-child {
    border-top-color: #b8424d;
  }
}

/* Admin Fares Deep Audit green confirmation polish. */
.sbe-admin-body #pricing-view .pricing-page-heading,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading {
  border: 1px solid #d9eadf !important;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94) 48%, rgba(239, 246, 255, 0.88)),
    #ffffff !important;
  color: #102a1b !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
}

.sbe-admin-body #pricing-view .pricing-page-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading h2 {
  color: #102a1b !important;
  font-size: clamp(1.34rem, 1.5vw, 1.72rem) !important;
  line-height: 1.18;
}

.sbe-admin-body #pricing-view .pricing-page-heading p,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading p,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading p,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading p,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading p {
  color: #526173 !important;
  font-size: 0.88rem !important;
}

.sbe-admin-body #pricing-view .admin-help-tip[data-admin-tooltip],
.sbe-admin-body #settings-view.settings-view-fares .admin-help-tip[data-admin-tooltip] {
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  border-color: #b7e5c8 !important;
  background: #effaf3 !important;
  color: #15803d !important;
  font-size: 0.64rem !important;
  font-weight: 500 !important;
}

.sbe-admin-body #pricing-view .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares .admin-help-tip[data-admin-tooltip]::after {
  border-color: #cfe7d8 !important;
  color: #334155 !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

.sbe-admin-body #pricing-view .primary-action,
.sbe-admin-body #pricing-view .pricing-new-button,
.sbe-admin-body #pricing-view .pricing-inline-control .plain-action,
.sbe-admin-body #settings-view.settings-view-fares .primary-action:not(.admin-action-tab-danger) {
  border-color: #14934f !important;
  background: #15803d !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16) !important;
}

.sbe-admin-body #settings-view.settings-view-fares .outline-action:not(.danger-action),
.sbe-admin-body #settings-view.settings-view-fares .plain-action:not(.admin-action-tab-danger):not(.danger-lite),
.sbe-admin-body #pricing-view .plain-action:not(.admin-action-tab-danger):not(.danger-lite) {
  border-color: #cfe7d8 !important;
  background: #ffffff !important;
  color: #15803d !important;
}

.sbe-admin-body #settings-view.settings-view-fares .danger-action,
.sbe-admin-body #settings-view.settings-view-fares .danger-lite {
  border-color: #f2ccd2 !important;
  background: #fff7f8 !important;
  color: #a43f4b !important;
  box-shadow: none !important;
}

.sbe-admin-body #pricing-view .pricing-card,
.sbe-admin-body #settings-view.settings-view-fares .fare-rule-card,
.sbe-admin-body #settings-view.settings-view-fares .fixed-price-create-card,
.sbe-admin-body #settings-view.settings-view-fares .fixed-price-current-card,
.sbe-admin-body #settings-view.settings-view-fares .fixed-price-editor-details,
.sbe-admin-body #settings-view.settings-view-fares .fixed-price-form-section,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-bulk-form,
.sbe-admin-body #settings-view.settings-view-fares .discount-section,
.sbe-admin-body #settings-view.settings-view-fares .discount-return-card,
.sbe-admin-body #settings-view.settings-view-fares .location-surcharge-editor {
  border-color: #dce8e0 !important;
  border-radius: 8px;
  background: #ffffff !important;
}

.sbe-admin-body #pricing-view table th,
.sbe-admin-body #settings-view.settings-view-fares table th {
  background: #f2fbf5 !important;
  color: #294235 !important;
}

.sbe-admin-body #pricing-view table td,
.sbe-admin-body #settings-view.settings-view-fares table td {
  border-color: #e3eee7 !important;
}

.sbe-admin-body #pricing-view .pricing-status-card:hover,
.sbe-admin-body #settings-view.settings-view-fares .fixed-price-status-card:hover,
.sbe-admin-body #settings-view.settings-view-fares .optional-extra-status-card:hover,
.sbe-admin-body #settings-view.settings-view-fares .discount-status-card:hover,
.sbe-admin-body #settings-view.settings-view-fares .location-surcharge-status-card:hover {
  border-color: #9bd5ad !important;
  background: #f0fdf4 !important;
}

.sbe-admin-body #settings-view.settings-view-fares .fare-section-guide {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.sbe-admin-body #settings-view.settings-view-fares .fare-section-guide-card {
  appearance: none;
  display: grid;
  gap: 5px;
  min-height: 104px;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sbe-admin-body #settings-view.settings-view-fares .fare-section-guide-card:hover,
.sbe-admin-body #settings-view.settings-view-fares .fare-section-guide-card:focus-visible {
  border-color: #9bd5ad;
  background: #f7fdf9;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.sbe-admin-body #settings-view.settings-view-fares .fare-section-guide-card span {
  color: #5e6d63;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body #settings-view.settings-view-fares .fare-section-guide-card strong {
  color: #102a1b;
  font-size: 1rem;
}

.sbe-admin-body #settings-view.settings-view-fares .fare-section-guide-card small {
  color: #526173;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
}

.sbe-admin-body .fare-delete-modal {
  border-color: #d9eadf;
}

.sbe-admin-body .fare-delete-badge {
  border-color: #f2ccd2;
  background: #fff7f8;
  color: #a43f4b;
}

.sbe-admin-body .fare-delete-summary {
  border-color: #dce8e0;
  background: #f7fdf9;
}

.sbe-admin-body .fare-delete-modal .admin-action-tab-danger {
  border-color: #b8424d !important;
  background: #b8424d !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.16) !important;
}

/* Admin Zones Deep Audit green polish. */
.sbe-admin-body #settings-view.settings-view-zones .zone-workspace-heading,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-hero,
.sbe-admin-body #settings-view.settings-view-zones .zone-areas-hero,
.sbe-admin-body #settings-view.settings-view-zones .zone-prices-hero,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-hero {
  border: 1px solid #d9eadf;
  background:
    linear-gradient(115deg, rgba(240, 253, 244, 0.98) 0%, rgba(255, 255, 255, 0.96) 54%, rgba(236, 253, 245, 0.9) 100%),
    #ffffff;
  box-shadow: 0 14px 30px rgba(16, 45, 28, 0.075);
  color: #102a1b;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-workspace-heading h2,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-hero h2,
.sbe-admin-body #settings-view.settings-view-zones .zone-areas-hero h2,
.sbe-admin-body #settings-view.settings-view-zones .zone-prices-hero h2,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-hero h2 {
  color: #102a1b;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-workspace-heading p,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-hero p,
.sbe-admin-body #settings-view.settings-view-zones .zone-areas-hero p,
.sbe-admin-body #settings-view.settings-view-zones .zone-prices-hero p,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-hero p {
  color: #526173;
  font-weight: 500;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-workspace-heading .admin-help-tip,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-hero .admin-help-tip,
.sbe-admin-body #settings-view.settings-view-zones .zone-areas-hero .admin-help-tip,
.sbe-admin-body #settings-view.settings-view-zones .zone-prices-hero .admin-help-tip,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-hero .admin-help-tip {
  background: #effaf3;
  color: #15803d;
}

.sbe-admin-body #settings-view.settings-view-zones .admin-help-tip[data-admin-tooltip]::after {
  max-width: min(360px, calc(100vw - 36px));
  border-color: #cfe7d8;
  color: #324238;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-operating-guidance,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-guidance,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-guidance,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-guidance {
  border: 1px solid #cfe7d8;
  border-left: 4px solid #15803d;
  background: #f8fcf9;
  color: #304237;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-operating-guidance strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-guidance strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-guidance strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-guidance strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-editor-heading h3,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-card-heading h3,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-scope-note strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-rule-card h4 {
  color: #102a1b;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-operating-guidance p,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-guidance p,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-guidance p,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-guidance p,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-scope-note span,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-rule-card p,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-rule-card small,
.sbe-admin-body #settings-view.settings-view-zones .zone-form-note {
  color: #526173;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-operating-guidance b,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-guidance b,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-guidance b,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-guidance b {
  color: #1f3a2b;
  font-weight: 700;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-card,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-list-card,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-list-card,
.sbe-admin-body #settings-view.settings-view-zones .admin-zone-editor,
.sbe-admin-body #settings-view.settings-view-zones .zone-service-area-editor,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-rule-card {
  border-color: #d9eadf;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 45, 28, 0.055);
}

.sbe-admin-body #settings-view.settings-view-zones .zone-area-metric,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-summary article,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-saved-grid article,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-form-summary article,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-metric,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-summary article,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-summary article,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-readiness-grid article,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-flow article {
  border-color: #dce8e0;
  background: #ffffff;
  color: #102a1b;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-area-metric:hover,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-metric:focus-visible,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-metric.is-active,
.sbe-admin-body #settings-view.settings-view-zones button.zone-price-metric:hover,
.sbe-admin-body #settings-view.settings-view-zones button.zone-price-metric:focus-visible,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-metric.is-active {
  border-color: #9bd5ad;
  background: #ecfdf3;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1), 0 0 0 3px rgba(21, 128, 61, 0.07);
  outline: 0;
}

.sbe-admin-body #settings-view.settings-view-zones button.zone-price-metric:hover,
.sbe-admin-body #settings-view.settings-view-zones button.zone-price-metric:focus-visible {
  transform: translateY(-1px);
}

.sbe-admin-body #settings-view.settings-view-zones .zone-area-metric span,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-summary span,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-saved-grid span,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-form-summary span,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-metric span,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-summary span,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-readiness-grid span,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-summary span,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-flow span {
  color: #5e6d63;
  font-size: 0.69rem;
  font-weight: 700;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-area-metric strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-summary strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-saved-grid strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-form-summary strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-metric strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-summary strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-readiness-grid strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-summary strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-flow strong {
  color: #102a1b;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-area-metric small,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-summary small,
.sbe-admin-body #settings-view.settings-view-zones .zone-operating-saved-grid small,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-form-summary small,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-metric small,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-summary small,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-readiness-grid small,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-summary small,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-flow small,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-code-details summary,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-code-details small,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-table td small,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-table td small {
  color: #526173;
  font-weight: 500;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-operating-editor .primary-action,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-editor .primary-action,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-editor .primary-action,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-page .primary-action {
  border-color: #14934f;
  background: #15803d;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16);
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-readiness-panel,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-summary article,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-default-price,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-empty-state,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-warning,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-empty-state,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-scope-note,
.sbe-admin-body #settings-view.settings-view-zones .zone-radius-readout,
.sbe-admin-body #settings-view.settings-view-zones .zone-advanced-fields {
  border-color: #d9eadf;
  background: #f8fcf9;
  color: #26382f;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-warning,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-empty-state {
  display: grid;
  gap: 7px;
  border: 1px dashed #b9d8c4;
  border-radius: 8px;
  padding: 12px;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-warning {
  margin-bottom: 12px;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-warning strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-empty-state strong,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-empty-state strong {
  color: #102a1b;
  font-size: 0.92rem;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-warning span,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-empty-state span,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-empty-state span {
  color: #526173;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
}

.sbe-admin-body #settings-view.settings-view-zones .admin-zone-map {
  border-color: #d9eadf;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.9), rgba(255, 255, 255, 0.84)),
    #ffffff;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-radius-readout small,
.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-flow span,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-pair b,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-override-chip strong {
  color: #15803d;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-flow span {
  background: #e9f8ef;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-override-chip {
  border-color: #bfe8d0;
  background: #f1fbf5;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-table th,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-table th {
  background: #f0fdf4;
  color: #205337;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-table td,
.sbe-admin-body #settings-view.settings-view-zones .zone-area-table td {
  border-bottom-color: #e3eee7;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-rule-card {
  border-left-color: #15803d;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-rule-manual_review {
  border-left-color: #b7791f;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-coverage-rule-block {
  border-left-color: #b42332;
}

.sbe-admin-body .zone-price-delete-modal {
  border-color: #d9eadf;
}

.sbe-admin-body .zone-price-delete-badge {
  border-color: #f2ccd2;
  background: #fff7f8;
  color: #a43f4b;
}

/* Admin single help tooltip layer. */
.sbe-admin-body .admin-help-tip [role="tooltip"] {
  display: none !important;
}

.sbe-admin-body .admin-help-tip[data-admin-tooltip]::after {
  content: attr(data-admin-tooltip);
  position: fixed;
  z-index: 2147483001;
  top: 92px;
  left: 50%;
  width: min(420px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(2px);
  border: 1px solid #9bd5ad;
  border-radius: 7px;
  background: #ffffff;
  color: #243244;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0;
  padding: 10px 11px;
  pointer-events: none;
  text-align: left;
  transition: opacity 0.12s ease, transform 0.12s ease;
  visibility: hidden;
  white-space: normal;
}

.sbe-admin-body .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body .admin-help-tip[data-admin-tooltip]:focus-within::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

/* Distance & Time page section help stays near the icon. */
.sbe-admin-body #pricing-view .pricing-page-heading .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #pricing-view .pricing-card-heading .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #pricing-view .pricing-control-panel > h3 .admin-help-tip[data-admin-tooltip]::after {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(360px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(4px);
}

.sbe-admin-body #pricing-view .pricing-page-heading .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #pricing-view .pricing-page-heading .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #pricing-view .pricing-page-heading .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #pricing-view .pricing-card-heading .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #pricing-view .pricing-card-heading .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #pricing-view .pricing-card-heading .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #pricing-view .pricing-control-panel > h3 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #pricing-view .pricing-control-panel > h3 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #pricing-view .pricing-control-panel > h3 .admin-help-tip[data-admin-tooltip]:focus-within::after {
  transform: translateX(-50%) translateY(0);
}

/* Fares non-table help stays near the icon; table header help keeps the fixed layer. */
.sbe-admin-body #settings-view.settings-view-fares h2 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares h3 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares h4 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares summary .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares legend .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares p .admin-help-tip[data-admin-tooltip]::after {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(360px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(4px);
}

.sbe-admin-body #settings-view.settings-view-fares h2 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-fares h2 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-fares h2 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-fares h3 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-fares h3 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-fares h3 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-fares h4 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-fares h4 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-fares h4 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-fares summary .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-fares summary .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-fares summary .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-fares legend .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-fares legend .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-fares legend .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-fares p .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-fares p .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-fares p .admin-help-tip[data-admin-tooltip]:focus-within::after {
  transform: translateX(-50%) translateY(0);
}

/* Zones help stays near the icon. */
.sbe-admin-body #settings-view.settings-view-zones h2 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-zones h3 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-zones h4 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-zones legend .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-zones p .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-zones .check-line .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-zones .zone-field-label .admin-help-tip[data-admin-tooltip]::after {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(360px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(4px);
}

.sbe-admin-body #settings-view.settings-view-zones .check-line .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-zones .zone-field-label .admin-help-tip[data-admin-tooltip]::after {
  right: 0;
  left: auto;
  transform: translateY(4px);
}

.sbe-admin-body #settings-view.settings-view-zones h2 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-zones h2 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-zones h2 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-zones h3 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-zones h3 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-zones h3 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-zones h4 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-zones h4 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-zones h4 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-zones legend .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-zones legend .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-zones legend .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-zones p .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-zones p .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-zones p .admin-help-tip[data-admin-tooltip]:focus-within::after {
  transform: translateX(-50%) translateY(0);
}

.sbe-admin-body #settings-view.settings-view-zones .check-line .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-zones .check-line .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-zones .check-line .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-zones .zone-field-label .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-zones .zone-field-label .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-zones .zone-field-label .admin-help-tip[data-admin-tooltip]:focus-within::after {
  transform: translateY(0);
}

/* Payments help stays near the icon. */
.sbe-admin-body #payments-view .payments-ledger-heading .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h2 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h3 .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout legend .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout p .admin-help-tip[data-admin-tooltip]::after {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(360px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(4px);
}

.sbe-admin-body #payments-view .payments-ledger-heading .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #payments-view .payments-ledger-heading .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #payments-view .payments-ledger-heading .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h2 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h2 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h2 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h3 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h3 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout h3 .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout legend .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout legend .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout legend .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout p .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout p .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #settings-view.settings-view-payments-checkout p .admin-help-tip[data-admin-tooltip]:focus-within::after {
  transform: translateX(-50%) translateY(0);
}

/* Payouts help stays near the icon. */
.sbe-admin-body #payouts-view .admin-payouts-heading .admin-help-tip[data-admin-tooltip]::after {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(360px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(4px);
}

.sbe-admin-body #payouts-view .admin-payouts-heading .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #payouts-view .admin-payouts-heading .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #payouts-view .admin-payouts-heading .admin-help-tip[data-admin-tooltip]:focus-within::after {
  transform: translateX(-50%) translateY(0);
}

/* Invoices help stays near the icon. */
.sbe-admin-body #invoices-view .admin-invoices-heading .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #invoices-view .invoice-document-settings-card h3 .admin-help-tip[data-admin-tooltip]::after {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(360px, calc(100vw - 36px));
  transform: translateX(-50%) translateY(4px);
}

.sbe-admin-body #invoices-view .admin-invoices-heading .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #invoices-view .admin-invoices-heading .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #invoices-view .admin-invoices-heading .admin-help-tip[data-admin-tooltip]:focus-within::after,
.sbe-admin-body #invoices-view .invoice-document-settings-card h3 .admin-help-tip[data-admin-tooltip]:hover::after,
.sbe-admin-body #invoices-view .invoice-document-settings-card h3 .admin-help-tip[data-admin-tooltip]:focus::after,
.sbe-admin-body #invoices-view .invoice-document-settings-card h3 .admin-help-tip[data-admin-tooltip]:focus-within::after {
  transform: translateX(-50%) translateY(0);
}

/* Admin Zones Slice B Zone Prices strict polish. */
.sbe-admin-body .zone-price-readiness-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 252, 249, 0.98), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
  padding: 13px;
}

.sbe-admin-body .zone-price-readiness-panel > div:first-child {
  display: grid;
  gap: 4px;
}

.sbe-admin-body .zone-price-readiness-panel > div:first-child > span {
  color: #5e6d63;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body .zone-price-readiness-panel h3 {
  margin: 0;
  color: #102a1b;
  font-size: 1rem;
}

.sbe-admin-body .zone-price-readiness-panel p {
  margin: 0;
  color: #526173;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
}

.sbe-admin-body .zone-price-readiness-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(96px, 1fr));
  gap: 8px;
}

.sbe-admin-body .zone-price-readiness-grid article {
  display: grid;
  gap: 3px;
  min-height: 58px;
  border: 1px solid #e3eee7;
  border-radius: 7px;
  background: #ffffff;
  padding: 8px 9px;
}

.sbe-admin-body .zone-price-readiness-grid span {
  color: #5e6d63;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body .zone-price-readiness-grid strong {
  color: #102a1b;
  font-size: 1.02rem;
  line-height: 1;
}

.sbe-admin-body .zone-price-readiness-grid small {
  color: #526173;
  font-size: 0.66rem;
  font-weight: 500;
}

.sbe-admin-body .zone-price-readiness-needs-setup {
  border-color: #f1d8a8;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.95)),
    #ffffff;
}

.sbe-admin-body .zone-price-readiness-needs-setup h3 {
  color: #7a4d05;
}

.sbe-admin-body .zone-price-route-summary {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(220px, 1.4fr) minmax(120px, 0.8fr);
  gap: 8px;
}

.sbe-admin-body .zone-price-route-summary article {
  display: grid;
  gap: 3px;
  border: 1px solid #e3eee7;
  border-radius: 7px;
  background: #f8fcf9;
  padding: 9px 10px;
}

.sbe-admin-body .zone-price-route-summary span {
  color: #5e6d63;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body .zone-price-route-summary strong {
  color: #102a1b;
  font-size: 0.88rem;
  line-height: 1.25;
}

.sbe-admin-body .zone-price-route-summary small {
  color: #526173;
  font-size: 0.68rem;
  font-weight: 500;
}

.sbe-admin-body .zone-vehicle-price-card {
  gap: 8px;
}

.sbe-admin-body .zone-vehicle-price-card.has-override {
  border-color: #9bd5ad;
  background: #f0fdf4;
}

.sbe-admin-body .zone-vehicle-price-card-head {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sbe-admin-body .zone-vehicle-price-card-head strong,
.sbe-admin-body .zone-vehicle-price-card-head small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbe-admin-body .zone-vehicle-price-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
}

.sbe-admin-body .zone-vehicle-price-input-row input {
  min-width: 0;
}

.sbe-admin-body .zone-vehicle-price-input-row em {
  color: #526173;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 600;
}

.sbe-admin-body .zone-price-route-pair {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 8px;
}

.sbe-admin-body .zone-price-route-pair span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid #e3eee7;
  border-radius: 7px;
  background: #ffffff;
  padding: 7px 8px;
}

.sbe-admin-body .zone-price-route-pair em {
  color: #5e6d63;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body .zone-price-route-pair strong {
  color: #102a1b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbe-admin-body .zone-price-route-pair b {
  color: #15803d;
  font-size: 1rem;
  font-weight: 700;
}

.sbe-admin-body .zone-price-code-details {
  margin-top: 6px;
}

.sbe-admin-body .zone-price-code-details summary {
  color: #526173;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
}

.sbe-admin-body .zone-price-code-details small {
  font-size: 0.66rem;
  font-weight: 500;
}

.sbe-admin-body .zone-price-empty-state {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  border: 1px dashed #b9d8c4;
  border-radius: 8px;
  background: #f8fcf9;
  color: #26382f;
  padding: 13px;
}

.sbe-admin-body .zone-price-empty-state strong {
  color: #102a1b;
  font-size: 0.92rem;
}

.sbe-admin-body .zone-price-empty-state span {
  color: #526173;
  font-size: 0.76rem;
  font-weight: 500;
}

.sbe-admin-body .zone-price-empty-state .plain-action {
  justify-self: start;
}

@media (max-width: 1180px) {
  .sbe-admin-body .zone-price-readiness-panel,
  .sbe-admin-body .zone-price-readiness-grid,
  .sbe-admin-body .zone-price-route-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sbe-admin-body .zone-price-readiness-panel,
  .sbe-admin-body .zone-price-readiness-grid,
  .sbe-admin-body .zone-price-route-summary,
  .sbe-admin-body .zone-price-route-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-admin-body .zone-price-route-pair b {
    display: none;
  }
}

/* Admin Zones Slice A green compact polish. */
.sbe-admin-body .zone-workspace-heading,
.sbe-admin-body .zone-operating-hero,
.sbe-admin-body .zone-areas-hero,
.sbe-admin-body .zone-prices-hero,
.sbe-admin-body .zone-coverage-hero {
  border: 1px solid #d9eadf !important;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.97), rgba(255, 255, 255, 0.95) 50%, rgba(236, 253, 245, 0.88)),
    #ffffff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
  color: #102a1b !important;
  padding: 18px 20px !important;
}

.sbe-admin-body .zone-workspace-heading h2,
.sbe-admin-body .zone-operating-hero h2,
.sbe-admin-body .zone-areas-hero h2,
.sbe-admin-body .zone-prices-hero h2,
.sbe-admin-body .zone-coverage-hero h2 {
  color: #102a1b !important;
  font-size: clamp(1.3rem, 1.45vw, 1.7rem) !important;
}

.sbe-admin-body .zone-workspace-heading p,
.sbe-admin-body .zone-operating-hero p,
.sbe-admin-body .zone-areas-hero p,
.sbe-admin-body .zone-prices-hero p,
.sbe-admin-body .zone-coverage-hero p {
  color: #526173 !important;
}

.sbe-admin-body .zone-workspace-heading .admin-help-tip,
.sbe-admin-body .zone-operating-hero .admin-help-tip,
.sbe-admin-body .zone-areas-hero .admin-help-tip,
.sbe-admin-body .zone-prices-hero .admin-help-tip,
.sbe-admin-body .zone-coverage-hero .admin-help-tip {
  background: #effaf3 !important;
  color: #15803d !important;
}

.sbe-admin-body .zone-operating-summary,
.sbe-admin-body .zone-area-metrics,
.sbe-admin-body .zone-operating-saved-grid,
.sbe-admin-body .zone-area-form-summary,
.sbe-admin-body .zone-price-metrics,
.sbe-admin-body .zone-coverage-summary {
  gap: 9px;
}

.sbe-admin-body .zone-area-metric,
.sbe-admin-body .zone-operating-summary article,
.sbe-admin-body .zone-operating-saved-grid article,
.sbe-admin-body .zone-area-form-summary article,
.sbe-admin-body .zone-price-metric,
.sbe-admin-body .zone-coverage-summary article {
  min-height: 72px;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  color: #102a1b;
  padding: 10px 11px;
}

.sbe-admin-body .zone-area-metric {
  appearance: none;
  display: grid;
  gap: 4px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sbe-admin-body .zone-area-metric:hover,
.sbe-admin-body .zone-area-metric:focus-visible,
.sbe-admin-body .zone-area-metric.is-active {
  border-color: #9bd5ad;
  background: #ecfdf3;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
}

.sbe-admin-body .zone-area-metric:hover,
.sbe-admin-body .zone-area-metric:focus-visible {
  transform: translateY(-1px);
}

.sbe-admin-body .zone-area-metric strong,
.sbe-admin-body .zone-operating-summary strong,
.sbe-admin-body .zone-operating-saved-grid strong,
.sbe-admin-body .zone-area-form-summary strong,
.sbe-admin-body .zone-price-metric strong,
.sbe-admin-body .zone-coverage-summary strong {
  color: #102a1b;
  font-size: 1.22rem;
}

.sbe-admin-body .zone-area-metric span,
.sbe-admin-body .zone-operating-summary span,
.sbe-admin-body .zone-operating-saved-grid span,
.sbe-admin-body .zone-area-form-summary span,
.sbe-admin-body .zone-price-metric span,
.sbe-admin-body .zone-coverage-summary span {
  color: #5e6d63;
  font-size: 0.69rem;
  font-weight: 700;
}

.sbe-admin-body .zone-area-metric small,
.sbe-admin-body .zone-operating-summary small,
.sbe-admin-body .zone-operating-saved-grid small,
.sbe-admin-body .zone-area-form-summary small,
.sbe-admin-body .zone-price-metric small,
.sbe-admin-body .zone-coverage-summary small {
  color: #526173;
  font-size: 0.7rem;
  font-weight: 500;
}

.sbe-admin-body .zone-area-filter-state,
.sbe-admin-body .zone-price-filter-state {
  margin: 8px 0 0;
  color: #526173;
  font-size: 0.72rem;
  font-weight: 500;
}

.sbe-admin-body .zone-operating-saved-record {
  display: grid;
  gap: 10px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: #f8fcf9;
  padding: 12px;
}

.sbe-admin-body .zone-operating-rule-editor {
  display: grid;
  gap: 12px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 45, 28, 0.055);
  padding: 14px;
}

.sbe-admin-body .zone-operating-rule-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.35fr) minmax(220px, 1fr);
  align-items: end;
  gap: 12px;
}

.sbe-admin-body .zone-operating-requirement-card {
  display: grid;
  gap: 4px;
  min-height: 74px;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #f8fcf9;
  padding: 11px 12px;
}

.sbe-admin-body .zone-operating-requirement-card span {
  color: #5e6d63;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body .zone-operating-requirement-card strong {
  color: #102a1b;
  font-size: 1rem;
}

.sbe-admin-body .zone-operating-requirement-card small,
.sbe-admin-body .zone-operating-list-heading p {
  margin: 0;
  color: #526173;
  font-size: 0.74rem;
  font-weight: 500;
}

.sbe-admin-body .zone-operating-list-heading {
  align-items: center;
}

.sbe-admin-body .zone-operating-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 190px;
}

.sbe-admin-body .zone-operating-rule-editor .primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.sbe-admin-body .zone-operating-saved-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.sbe-admin-body .zone-operating-saved-grid article {
  display: grid;
  gap: 5px;
}

.sbe-admin-body .zone-area-filter-state strong,
.sbe-admin-body .zone-price-filter-state strong {
  color: #15803d;
  font-weight: 700;
}

.sbe-admin-body .zone-operating-editor .primary-action,
.sbe-admin-body .zone-area-editor .primary-action,
.sbe-admin-body .zone-price-route-editor .primary-action,
.sbe-admin-body .zone-coverage-page .primary-action {
  border-color: #14934f;
  background: #15803d !important;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16) !important;
}

.sbe-admin-body .settings-view-zones input[type="checkbox"],
.sbe-admin-body .zone-operating-page input[type="checkbox"],
.sbe-admin-body .zone-areas-page input[type="checkbox"],
.sbe-admin-body .zone-prices-page input[type="checkbox"],
.sbe-admin-body .zone-coverage-page input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px !important;
  accent-color: #15803d;
  padding: 0 !important;
}

.sbe-admin-body .settings-view-zones .check-line,
.sbe-admin-body .zone-operating-page .check-line,
.sbe-admin-body .zone-areas-page .check-line,
.sbe-admin-body .zone-prices-page .check-line,
.sbe-admin-body .zone-coverage-page .check-line {
  min-height: 26px;
  gap: 7px;
}

.sbe-admin-body .zone-manual-coordinate-fields {
  grid-column: 1 / -1;
}

.sbe-admin-body .zone-manual-coordinate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.sbe-admin-body .zone-manual-coordinate-fields > small {
  display: block;
  margin-top: 8px;
  color: #526173;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
}

.sbe-admin-body .admin-zone-map {
  min-height: 250px;
  border-color: #d9eadf;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.88), rgba(255, 255, 255, 0.8)),
    #ffffff;
}

.sbe-admin-body .zone-radius-readout,
.sbe-admin-body .zone-area-guidance,
.sbe-admin-body .zone-price-guidance,
.sbe-admin-body .zone-operating-guidance,
.sbe-admin-body .zone-coverage-guidance,
.sbe-admin-body .zone-coverage-scope-note {
  border-color: #d9eadf;
  background: #f8fcf9;
}

.sbe-admin-body .zone-area-table,
.sbe-admin-body .zone-price-table {
  min-width: 760px;
}

.sbe-admin-body .zone-area-table th,
.sbe-admin-body .zone-price-table th {
  background: #f0fdf4;
  color: #205337;
}

.sbe-admin-body .zone-area-table td,
.sbe-admin-body .zone-price-table td {
  border-bottom-color: #e3eee7;
}

@media (max-width: 980px) {
  .sbe-admin-body .zone-manual-coordinate-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Admin Fares header help visibility and distance-cell alignment. */
.sbe-admin-body .admin-table-help-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.sbe-admin-body .optional-extra-table th,
.sbe-admin-body .discount-date-table th {
  position: relative;
  overflow: visible;
}

.sbe-admin-body .optional-extra-table th .admin-table-help-heading,
.sbe-admin-body .discount-date-table th .admin-table-help-heading {
  overflow: visible;
}

.sbe-admin-body .optional-extra-table th .admin-help-tip,
.sbe-admin-body .discount-date-table th .admin-help-tip {
  flex: 0 0 18px;
  margin-left: 0 !important;
  position: relative;
  z-index: 3;
}

.sbe-admin-body .settings-view-fares .admin-help-tip,
.sbe-admin-body .pricing-page .admin-help-tip,
.sbe-admin-body .optional-extra-table th .admin-help-tip,
.sbe-admin-body .discount-date-table th .admin-help-tip {
  display: inline-grid !important;
  place-items: center;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 1px solid #9bd5ad !important;
  border-radius: 999px;
  background: #f0fdf4 !important;
  color: #116b34 !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  line-height: 1;
  opacity: 1 !important;
  text-indent: 0;
  vertical-align: middle;
}

.sbe-admin-body .settings-view-fares .admin-help-tip [role="tooltip"],
.sbe-admin-body .pricing-page .admin-help-tip [role="tooltip"] {
  z-index: 80;
  color: #334155;
  font-size: 0.69rem;
  font-weight: 400;
  line-height: 1.55;
  white-space: normal;
}

.sbe-admin-body .pricing-page #pricing-distance-head th:first-child,
.sbe-admin-body .pricing-page #pricing-distance-body td:first-child {
  width: 152px !important;
  min-width: 152px !important;
  max-width: 152px !important;
}

.sbe-admin-body .pricing-page .pricing-range-cell {
  display: grid !important;
  grid-template-columns: 54px 14px 54px !important;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 4px !important;
}

.sbe-admin-body .pricing-page .pricing-range-cell > span {
  display: inline-grid;
  place-items: center;
  min-width: 12px;
  color: #526173;
  font-weight: 700;
}

.sbe-admin-body .pricing-page .pricing-range-cell input {
  box-sizing: border-box;
  width: 54px !important;
  min-width: 0;
  border: 1px solid #d4e7dc !important;
  border-radius: 5px;
  background: #ffffff !important;
  color: #102a1b !important;
  font-weight: 700 !important;
  text-align: center;
}

/* Admin Fares final strict-audit polish. */
.sbe-admin-body .pricing-page .pricing-matrix {
  width: 100%;
  min-width: 860px !important;
  table-layout: fixed;
}

.sbe-admin-body .pricing-page .pricing-matrix th,
.sbe-admin-body .pricing-page .pricing-matrix td {
  padding: 6px !important;
  vertical-align: middle;
  text-align: center;
  font-size: 0.75rem !important;
  line-height: 1.25;
}

.sbe-admin-body .pricing-page .pricing-matrix th {
  font-weight: 700;
}

.sbe-admin-body .pricing-page .pricing-matrix td {
  height: 42px;
  font-weight: 600;
}

.sbe-admin-body .pricing-page .pricing-matrix input,
.sbe-admin-body .pricing-page .pricing-matrix select {
  min-height: 30px !important;
  padding: 4px 5px !important;
  font-size: 0.76rem !important;
  font-weight: 600;
}

.sbe-admin-body .pricing-page .pricing-range-cell {
  grid-template-columns: minmax(44px, 1fr) 6px minmax(48px, 1fr);
  gap: 3px;
}

.sbe-admin-body .pricing-page .pricing-matrix th:last-child,
.sbe-admin-body .pricing-page .pricing-matrix td:last-child {
  width: 162px;
}

.sbe-admin-body .settings-view-fares input[type="checkbox"],
.sbe-admin-body .pricing-page input[type="checkbox"],
.sbe-admin-body .optional-extra-table input[type="checkbox"],
.sbe-admin-body .discount-table input[type="checkbox"],
.sbe-admin-body .location-surcharge-editor input[type="checkbox"] {
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  margin: 0;
  padding: 0 !important;
  accent-color: #15803d;
  box-shadow: none;
}

.sbe-admin-body .pricing-row-actions .checkbox-line,
.sbe-admin-body .settings-view-fares .check-line {
  align-items: center;
  min-height: 26px;
  gap: 6px;
  font-size: 0.75rem;
}

.sbe-admin-body .location-surcharge-editor .management-grid {
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.sbe-admin-body .location-surcharge-editor label {
  align-self: start;
  min-height: 0;
}

.sbe-admin-body .location-surcharge-editor .check-line {
  justify-self: start;
  width: auto;
}

.sbe-admin-body .pricing-matrix th .admin-help-tip,
.sbe-admin-body .fixed-price-table th .admin-help-tip,
.sbe-admin-body .optional-extra-table th .admin-help-tip,
.sbe-admin-body .discount-date-table th .admin-help-tip,
.sbe-admin-body .discount-table th .admin-help-tip {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-left: 0;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 600;
  vertical-align: middle;
}

.sbe-admin-body .pricing-table-scroll,
.sbe-admin-body .fixed-price-table-scroll,
.sbe-admin-body .optional-extra-table-scroll,
.sbe-admin-body .discount-table-scroll {
  overflow-x: auto;
  overflow-y: visible;
}

/* Admin Fares compact green polish final overrides. */
.sbe-admin-body .pricing-page-heading,
.sbe-admin-body .fare-rules-heading,
.sbe-admin-body .fixed-prices-heading,
.sbe-admin-body .optional-extras-heading,
.sbe-admin-body .discounts-heading {
  border: 1px solid #d9eadf !important;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94) 48%, rgba(239, 246, 255, 0.88)),
    #ffffff !important;
  color: #102a1b !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
  padding: 18px 20px;
}

.sbe-admin-body .pricing-page-heading h2,
.sbe-admin-body .fare-rules-heading h2,
.sbe-admin-body .fixed-prices-heading h2,
.sbe-admin-body .optional-extras-heading h2,
.sbe-admin-body .discounts-heading h2 {
  color: #102a1b !important;
  font-size: 1.48rem;
  line-height: 1.18;
}

.sbe-admin-body .pricing-page-heading p,
.sbe-admin-body .fare-rules-heading p,
.sbe-admin-body .fixed-prices-heading p,
.sbe-admin-body .optional-extras-heading p,
.sbe-admin-body .discounts-heading p {
  color: #526173 !important;
  font-size: 0.88rem;
}

.sbe-admin-body .pricing-page-heading .admin-help-tip,
.sbe-admin-body .fare-rules-heading .admin-help-tip,
.sbe-admin-body .fixed-prices-heading .admin-help-tip,
.sbe-admin-body .optional-extras-heading .admin-help-tip,
.sbe-admin-body .discounts-heading .admin-help-tip,
.sbe-admin-body .settings-view-fares > .management-band > h2 .admin-help-tip {
  background: #effaf3 !important;
  color: #15803d !important;
}

.sbe-admin-body .pricing-status-grid,
.sbe-admin-body .fixed-price-status-grid,
.sbe-admin-body .optional-extra-status-grid,
.sbe-admin-body .discount-status-grid,
.sbe-admin-body .location-surcharge-status-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.sbe-admin-body .pricing-status-card,
.sbe-admin-body .fixed-price-status-card,
.sbe-admin-body .optional-extra-status-card,
.sbe-admin-body .discount-status-card,
.sbe-admin-body .location-surcharge-status-card {
  appearance: none;
  display: grid;
  gap: 6px;
  min-height: 74px;
  border: 1px solid #dce8e0;
  border-left-width: 1px;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 10px 11px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sbe-admin-body .pricing-status-card:hover,
.sbe-admin-body .pricing-status-card:focus-visible,
.sbe-admin-body .fixed-price-status-card:hover,
.sbe-admin-body .fixed-price-status-card:focus-visible,
.sbe-admin-body .optional-extra-status-card:hover,
.sbe-admin-body .optional-extra-status-card:focus-visible,
.sbe-admin-body .discount-status-card:hover,
.sbe-admin-body .discount-status-card:focus-visible,
.sbe-admin-body .location-surcharge-status-card:hover,
.sbe-admin-body .location-surcharge-status-card:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.sbe-admin-body .fixed-price-status-card.is-active,
.sbe-admin-body .optional-extra-status-card.is-active,
.sbe-admin-body .location-surcharge-status-card.is-active {
  border-color: #9bd5ad;
  background: #ecfdf3;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.11), 0 0 0 3px rgba(21, 128, 61, 0.08);
}

.sbe-admin-body .pricing-status-card span,
.sbe-admin-body .fixed-price-status-card span,
.sbe-admin-body .optional-extra-status-card span,
.sbe-admin-body .discount-status-card span,
.sbe-admin-body .location-surcharge-status-card span {
  color: #5e6d63;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sbe-admin-body .pricing-status-card strong,
.sbe-admin-body .fixed-price-status-card strong,
.sbe-admin-body .optional-extra-status-card strong,
.sbe-admin-body .discount-status-card strong,
.sbe-admin-body .location-surcharge-status-card strong {
  color: #102a1b;
  font-size: 1.28rem;
  line-height: 1;
}

.sbe-admin-body .pricing-status-card small,
.sbe-admin-body .fixed-price-status-card small,
.sbe-admin-body .optional-extra-status-card small,
.sbe-admin-body .discount-status-card small,
.sbe-admin-body .location-surcharge-status-card small {
  color: #526173;
  font-size: 0.71rem;
}

.sbe-admin-body .pricing-card,
.sbe-admin-body .fare-rule-card,
.sbe-admin-body .pricing-control-panel,
.sbe-admin-body .fixed-price-create-card,
.sbe-admin-body .fixed-price-current-card,
.sbe-admin-body .fixed-price-editor-details,
.sbe-admin-body .fixed-price-form-section,
.sbe-admin-body .optional-extras-bulk-form,
.sbe-admin-body .discount-section,
.sbe-admin-body .discount-return-card,
.sbe-admin-body .discount-return-value-card,
.sbe-admin-body .location-surcharge-editor {
  border-color: #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.sbe-admin-body .fixed-price-guidance,
.sbe-admin-body .optional-extra-guidance,
.sbe-admin-body .discount-guidance,
.sbe-admin-body .location-surcharge-guidance,
.sbe-admin-body .fare-rule-note,
.sbe-admin-body .pricing-info-note {
  border: 1px solid #cfe7d8;
  border-left-width: 1px;
  border-radius: 8px;
  background: #f7fdf9;
  color: #294235;
}

.sbe-admin-body .fixed-price-guidance p,
.sbe-admin-body .optional-extra-guidance p,
.sbe-admin-body .discount-guidance p,
.sbe-admin-body .location-surcharge-guidance p {
  color: #334155;
  font-size: 0.83rem;
}

.sbe-admin-body .fare-rules-workspace,
.sbe-admin-body .fixed-prices-workspace,
.sbe-admin-body .optional-extras-workspace,
.sbe-admin-body .discounts-workspace,
.sbe-admin-body .location-surcharges-workspace {
  gap: 12px;
}

.sbe-admin-body .fare-rule-card-grid {
  gap: 9px;
}

.sbe-admin-body .fare-rule-card,
.sbe-admin-body .fixed-price-create-card,
.sbe-admin-body .fixed-price-current-card,
.sbe-admin-body .discount-section,
.sbe-admin-body .location-surcharge-editor {
  padding: 12px;
}

.sbe-admin-body .fare-rule-grid label,
.sbe-admin-body .pricing-control-panel label,
.sbe-admin-body .fixed-price-form-section label,
.sbe-admin-body .discount-return-field,
.sbe-admin-body .location-surcharge-editor label {
  gap: 4px;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body .location-surcharge-editor small,
.sbe-admin-body .fixed-price-form-section small,
.sbe-admin-body .discount-table td small,
.sbe-admin-body .optional-extra-footnote {
  color: #64748b;
  font-size: 0.71rem;
  font-weight: 400;
  line-height: 1.45;
}

.sbe-admin-body .fare-rule-grid input,
.sbe-admin-body .fare-rule-grid select,
.sbe-admin-body .pricing-control-panel input,
.sbe-admin-body .fixed-price-form-section input,
.sbe-admin-body .fixed-price-form-section select,
.sbe-admin-body .discount-table input,
.sbe-admin-body .discount-table select,
.sbe-admin-body .discount-return-field input,
.sbe-admin-body .location-surcharge-editor input,
.sbe-admin-body .location-surcharge-editor select {
  min-height: 36px;
  border-color: #d9e5dd;
  border-radius: 6px;
  background: #ffffff;
  color: #102a1b;
  font-size: 0.82rem;
  padding: 7px 9px;
}

.sbe-admin-body .pricing-matrix th,
.sbe-admin-body .fixed-price-table th,
.sbe-admin-body .optional-extra-table th,
.sbe-admin-body .discount-table th {
  background: #f2fbf5;
  color: #294235;
  font-size: 0.69rem;
  font-weight: 800;
}

.sbe-admin-body .pricing-matrix th,
.sbe-admin-body .pricing-matrix td,
.sbe-admin-body .fixed-price-table th,
.sbe-admin-body .fixed-price-table td,
.sbe-admin-body .optional-extra-table th,
.sbe-admin-body .optional-extra-table td,
.sbe-admin-body .discount-table th,
.sbe-admin-body .discount-table td {
  border-color: #e3eee7;
  padding: 8px;
}

.sbe-admin-body .pricing-table-scroll,
.sbe-admin-body .fixed-price-table-scroll,
.sbe-admin-body .optional-extra-table-scroll,
.sbe-admin-body .discount-table-scroll {
  border-color: #dce8e0;
  border-radius: 8px;
}

.sbe-admin-body .pricing-unit-switch button[aria-pressed="true"],
.sbe-admin-body .pricing-new-button,
.sbe-admin-body .pricing-actions .primary-action,
.sbe-admin-body .pricing-controls-card .primary-action,
.sbe-admin-body .fixed-price-editor .primary-action,
.sbe-admin-body .discounts-bulk-form > .discounts-workspace > .primary-action,
.sbe-admin-body .optional-extras-bulk-form > .primary-action,
.sbe-admin-body .location-surcharge-editor .primary-action {
  border-color: #14934f;
  background: #15803d;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16);
}

.sbe-admin-body .fixed-prices-heading .outline-action,
.sbe-admin-body .optional-extras-heading .outline-action,
.sbe-admin-body .discount-section-heading .outline-action,
.sbe-admin-body .fare-rules-heading .outline-action {
  border-color: #cfe7d8;
  background: #ffffff;
  color: #15803d;
}

.sbe-admin-body .settings-view-fares > .management-band > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #102a1b;
  font-size: 1.05rem;
  font-weight: 800;
}

.sbe-admin-body .location-surcharge-status-grid {
  margin-bottom: 0;
}

.sbe-admin-body .location-surcharge-guidance,
.sbe-admin-body .location-surcharge-list-heading {
  display: grid;
  gap: 8px;
}

.sbe-admin-body .location-surcharge-guidance h3,
.sbe-admin-body .location-surcharge-list-heading h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #102a1b;
  font-size: 0.96rem;
}

.sbe-admin-body .location-surcharge-list-heading p {
  margin: 0;
  color: #526173;
  font-size: 0.82rem;
}

.sbe-admin-body .location-surcharge-list {
  display: grid;
  gap: 9px;
}

.sbe-admin-body .location-surcharge-editor .management-grid {
  gap: 9px;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.sbe-admin-body .pricing-inline-control .plain-action {
  border-color: #14934f;
  background: #15803d;
  color: #ffffff;
}

@media (max-width: 760px) {
  .maps-settings-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .maps-settings-heading h2 {
    font-size: 1.45rem;
  }

  .maps-settings-actions {
    justify-content: flex-start;
  }

  .maps-status-grid,
  .maps-key-grid,
  .maps-integration-switcher,
  .maps-integration-card-grid,
  .system-data-section-switcher,
  .system-data-overview-card-grid,
  .maps-quick-status-grid,
  .system-data-control-grid,
  .maps-form-grid,
  .maps-check-grid {
    grid-template-columns: 1fr;
  }

  .maps-key-input-row {
    grid-template-columns: 1fr;
  }

  .maps-form-grid-wide {
    grid-column: auto;
  }
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.section-heading-row h3 {
  margin: 0 0 4px;
}

.section-heading-row .state-note {
  padding: 0;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 14px;
}

.admin-tabs button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.admin-tabs button[aria-pressed="true"] .portal-nav-icon {
  opacity: 1;
}

.admin-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-metric-card,
.admin-data-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.admin-metric-card span,
.admin-metric-card small {
  color: var(--muted);
}

.admin-metric-card strong {
  color: var(--ink);
  font-size: 1.55rem;
}

.admin-data-card {
  margin-top: 14px;
}

.admin-data-card h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 1rem;
}

.booking-field-lock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #305f9c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
}

.booking-field-lock-note {
  margin: 0;
}

.booking-location-choice-manager {
  display: grid;
  gap: 14px;
  margin: 18px 0 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.booking-location-choice-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.booking-location-choice-heading h3 {
  margin: 0;
}

.booking-location-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.booking-location-choice-card {
  background: #fff;
}

.booking-form-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.admin-owner-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-owner-card:hover,
.admin-owner-card:focus-visible {
  border-color: #0876dd;
  background: #f7fbff;
  outline: none;
}

.admin-data-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-mini-list {
  display: grid;
  gap: 8px;
}

.admin-mini-row {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.admin-mini-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-mini-row b {
  color: var(--green);
}

.filter-bar {
  display: grid;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-layout {
  display: grid;
  min-width: 0;
}

.list-panel,
.detail-panel {
  min-height: 280px;
  min-width: 0;
}

.list-panel {
  border-bottom: 1px solid var(--line);
}

.reservation-list {
  display: grid;
}

.reservation-card {
  display: grid;
  gap: 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 14px 18px;
  text-align: left;
}

.reservation-card strong {
  font-size: 0.98rem;
}

.reservation-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.detail-output {
  padding: 18px;
  min-width: 0;
}

.admin-booking-detail-shell {
  display: grid;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.admin-booking-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.admin-booking-detail-hero h2 {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 1.55rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.admin-booking-detail-hero span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-booking-detail-hero-meta {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 4px;
  min-width: 168px;
  padding: 20px 22px;
}

.admin-booking-detail-hero-meta strong {
  color: #0f172a;
  font-size: 1.3rem;
}

.admin-booking-detail-hero-main {
  min-width: 0;
  padding: 20px 22px;
}

.admin-booking-detail-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #e6edf5;
  background: #fbfcfe;
}

.admin-booking-fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-right: 1px solid #e6edf5;
  padding: 18px 22px;
}

.admin-booking-fact:last-child {
  border-right: 0;
}

.admin-booking-fact-icon,
.admin-booking-summary-icon,
.admin-booking-info-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #dce6f3;
  border-radius: 50%;
  background: #fff;
  color: #3151a3;
}

.admin-booking-fact-icon svg,
.admin-booking-summary-icon svg,
.admin-booking-info-icon svg,
.admin-booking-quick-action-row svg,
.admin-booking-more-menu svg {
  width: 17px;
  height: 17px;
}

.admin-booking-fact-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-booking-fact-copy small,
.admin-booking-summary-card small {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 600;
}

.admin-booking-fact-copy strong,
.admin-booking-summary-card strong {
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-booking-fact-copy em,
.admin-booking-summary-card em {
  color: #667085;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.3;
}

.admin-booking-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-booking-summary-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 88px;
  min-width: 0;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  padding: 16px;
}

.admin-booking-summary-card > span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-booking-summary-green .admin-booking-summary-icon {
  background: #eaf8ef;
  color: #16a34a;
}

.admin-booking-summary-amber .admin-booking-summary-icon {
  background: #fff3e4;
  color: #d97706;
}

.admin-booking-summary-purple .admin-booking-summary-icon {
  background: #f1eafe;
  color: #7c3aed;
}

.admin-booking-summary-blue .admin-booking-summary-icon {
  background: #ebf2ff;
  color: #3151a3;
}

.admin-booking-detail-sections {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-booking-detail-section {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.admin-booking-info-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  min-height: 218px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  padding: 20px;
}

.admin-booking-info-card header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-booking-info-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
}

.admin-booking-info-card .detail-grid {
  gap: 13px;
  margin: 0;
}

.admin-booking-card-action {
  align-self: end;
  margin-top: auto;
}

.admin-booking-info-card .admin-action-strip {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
}

.admin-booking-drilldown {
  background: #fff;
  padding: 14px;
}

.admin-booking-drilldown[open] {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.admin-booking-drilldown-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.admin-booking-drilldown-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  border: 1px solid #e0e7f0;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 16px;
}

.admin-booking-drilldown-card:focus {
  outline: 2px solid rgba(49, 81, 163, 0.35);
  outline-offset: 2px;
}

.admin-booking-drilldown-card header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-booking-drilldown-card h4 {
  margin: 0;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 700;
}

.admin-booking-drilldown-card .detail-grid {
  gap: 11px;
  margin: 0;
}

.admin-booking-drilldown-card .detail-row span {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.admin-booking-drilldown-card .detail-row strong {
  color: #111827;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}

.admin-booking-detail-shell .detail-row {
  gap: 4px;
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-booking-info-card .detail-row span,
.admin-booking-detail-advanced .detail-row span,
.admin-booking-history-section .detail-row span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.admin-booking-info-card .detail-row strong,
.admin-booking-detail-advanced .detail-row strong,
.admin-booking-history-section .detail-row strong {
  color: #101828;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.admin-booking-detail-section h3 {
  margin: 0;
  font-size: 0.86rem;
}

.admin-booking-detail-section > summary,
.admin-booking-detail-advanced > summary,
.admin-price-breakdown-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.admin-booking-detail-section > summary::-webkit-details-marker,
.admin-booking-detail-advanced > summary::-webkit-details-marker,
.admin-price-breakdown-panel > summary::-webkit-details-marker,
.admin-booking-more-menu > summary::-webkit-details-marker {
  display: none;
}

.admin-booking-detail-section > summary small {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 500;
}

.admin-booking-detail-section .detail-grid,
.admin-booking-actions-section .admin-action-strip,
.admin-booking-actions-section .admin-document-links {
  margin: 0;
}

.admin-booking-update-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-booking-update-form label {
  display: grid;
  gap: 6px;
  color: #42526a;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-booking-wide-field,
.admin-booking-update-form button[type="submit"] {
  grid-column: 1 / -1;
}

.detail-grid {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 14px 0;
}

.detail-row {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.detail-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-action-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  margin: 14px 0;
  padding: 12px;
}

.admin-action-strip .inline-note {
  min-height: 0;
}

.admin-booking-command-rail {
  display: grid;
  gap: 10px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
}

.admin-booking-command-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-booking-command-card {
  display: grid;
  gap: 4px;
  min-height: 64px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #6f8ed6;
  border-radius: 8px;
  background: #f8fbff;
  padding: 9px 10px;
}

.admin-booking-command-card span,
.admin-booking-command-card small,
.admin-dispatch-check-item span,
.admin-dispatch-check-item small,
.admin-dispatch-option-card span,
.admin-dispatch-option-card small,
.admin-customer-status-card span,
.admin-customer-status-card small,
.admin-audit-command-card span,
.admin-account-guidance-grid span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-booking-command-card strong,
.admin-dispatch-check-item strong,
.admin-dispatch-option-card strong,
.admin-customer-status-card strong,
.admin-audit-command-card strong,
.admin-account-guidance-grid strong {
  color: #101828;
}

.admin-booking-command-green,
.admin-dispatch-check-green,
.admin-customer-status-green {
  border-left-color: #16a34a;
}

.admin-booking-command-amber,
.admin-dispatch-check-amber,
.admin-customer-status-amber {
  border-left-color: #f59e0b;
}

.admin-dispatch-check-red {
  border-left-color: #dc2626;
}

.admin-booking-command-neutral,
.admin-dispatch-check-neutral,
.admin-customer-status-neutral {
  border-left-color: #98a2b3;
}

.admin-booking-command-actions {
  margin: 0;
}

.admin-booking-quick-actions {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 14px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  padding: 18px 20px;
}

.admin-booking-quick-actions header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-booking-quick-actions h3 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1rem;
}

.admin-booking-quick-actions .state-note {
  margin: 0;
}

.admin-booking-quick-action-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-booking-quick-action-row > .plain-action,
.admin-booking-more-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  text-align: center;
}

.admin-booking-quick-action-row .plain-action svg {
  flex: 0 0 auto;
}

.admin-booking-more-menu {
  position: relative;
  min-width: 0;
}

.admin-booking-more-menu[open] {
  z-index: 30;
}

.admin-booking-more-menu > summary {
  list-style: none;
}

.admin-booking-more-menu > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 8px;
  min-width: 220px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
  padding: 10px;
}

.admin-booking-more-menu > div .plain-action {
  justify-content: flex-start;
  width: 100%;
}

.admin-booking-action-notes {
  display: grid;
  gap: 4px;
}

.admin-booking-action-notes .inline-note {
  margin: 0;
}

.admin-booking-restore-actions {
  border-color: #d8dee8;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.admin-booking-restore-actions .admin-booking-quick-action-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-booking-recovery-section {
  border-color: #d8dee8;
  background: #fbfcfe;
}

.admin-booking-recovery-section header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.admin-booking-recovery-section header h3 {
  margin: 0 0 5px;
}

.admin-booking-recovery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-booking-recovery-grid .detail-row {
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.admin-booking-breadcrumb {
  min-width: 0;
  color: #42526a;
  font-size: 0.78rem;
  font-weight: 600;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.management-band {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.management-band h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.management-form,
.fleet-management,
.vehicle-management,
.optional-extras-management,
.payment-methods-management,
.voucher-management,
.special-date-rate-management,
.audit-filter-form,
.migration-form {
  display: grid;
  gap: 12px;
}

.management-grid {
  display: grid;
  gap: 12px;
}

.management-grid__wide {
  grid-column: 1 / -1;
}

.fleet-editor,
.vehicle-editor,
.optional-extra-editor,
.payment-method-editor,
.voucher-editor,
.special-date-rate-editor,
.zone-editor,
.zone-price-editor {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.payments-admin-workspace {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 880px;
}

.payments-admin-workspace > * {
  min-width: 0;
  max-width: 100%;
}

.payments-admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid #cfe4d6;
  border-radius: 8px;
  padding: 12px 14px;
  color: #102a20;
  background:
    linear-gradient(135deg, rgba(245, 251, 247, 0.96), rgba(238, 248, 242, 0.98) 52%, rgba(246, 249, 255, 0.98)),
    #f7fbf8;
  box-shadow: none;
}

.payments-admin-hero span {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #287050;
}

.payments-admin-hero h2,
.payments-admin-hero p {
  margin: 0;
}

.payments-admin-hero h2 {
  margin-top: 4px;
  font-size: 1.02rem;
  color: #102a20;
}

.payments-admin-hero p {
  max-width: 760px;
  margin-top: 5px;
  color: #52637a;
  font-size: 0.78rem;
}

.payments-admin-hero-actions {
  flex: 0 0 auto;
}

.payment-gateway-grid,
.payment-status-band,
.payments-compact-grid,
.payments-provider-grid,
.payments-provider-stack,
.payments-toggle-row {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.payment-gateway-card,
.payments-settings-panel,
.payments-provider-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.payment-gateway-card {
  display: grid;
  gap: 4px;
  min-height: 0;
  padding: 8px 9px;
  box-shadow: none;
}

.payment-gateway-card span {
  color: #667085;
  font-size: 0.68rem;
  font-weight: 700;
}

.payment-gateway-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 0.9rem;
  font-weight: 700;
}

.payment-gateway-card small {
  color: #667085;
  font-size: 0.68rem;
}

.payment-status-band {
  gap: 8px;
}

.payment-status-band h3 {
  margin: 0;
  color: #101828;
  font-size: 0.92rem;
}

.payment-gateway-grid--readiness {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.payment-readiness-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.payment-readiness-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  border: 1px solid #d7e1ef;
  border-radius: 999px;
  padding: 3px 6px;
  color: #344054;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.payment-readiness-flag b {
  color: #667085;
  font-size: 0.66rem;
}

.payment-readiness-flag--green {
  border-color: #b7e4c7;
  background: #f4fbf6;
  color: #116329;
}

.payment-readiness-flag--amber {
  border-color: #f9d38a;
  background: #fff7df;
  color: #8a5700;
}

.payment-readiness-flag--muted {
  background: #f8fafc;
}

.payment-gateway-card--green {
  border-color: #b7e4c7;
  background: #f4fbf6;
}

.payment-gateway-card--amber {
  border-color: #f9d38a;
  background: #fffbeb;
}

.payment-gateway-card--blue {
  border-color: #bfd3ff;
  background: #f7faff;
}

.payment-gateway-card--muted {
  background: #f8fafc;
}

.payments-settings-panel,
.payments-provider-panel {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
}

.payment-guidance-block {
  display: grid;
  gap: 6px;
  border: 1px solid #cfe4d6;
  border-radius: 8px;
  background: #fbfefc;
  padding: 10px 12px;
}

.payment-guidance-block h3,
.payment-guidance-block p {
  margin: 0;
}

.payment-guidance-block h3 {
  color: #101828;
  font-size: 0.84rem;
}

.payment-guidance-block p {
  color: #344054;
  font-size: 0.76rem;
  line-height: 1.42;
}

.payment-guidance-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-guidance-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid #d7e1ef;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 8px;
}

.payment-guidance-facts b {
  color: #667085;
  font-size: 0.68rem;
}

.payments-provider-stack {
  max-width: 880px;
  gap: 10px;
  grid-template-columns: 1fr;
}

.payments-section-heading {
  display: grid;
  gap: 4px;
  grid-column: 1 / -1;
}

.payments-section-heading h3,
.payments-section-heading p {
  margin: 0;
}

.payments-section-heading h3 {
  color: #101828;
  font-size: 0.9rem;
}

.payments-section-heading p {
  color: #667085;
  font-size: 0.76rem;
}

.payments-settings-panel h3,
.payments-provider-panel h3 {
  margin: 0;
  font-size: 0.92rem;
}

.payments-provider-panel {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: 10px 12px 12px;
}

.payments-provider-panel h3 {
  margin-bottom: 2px;
  color: #101828;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
}

.payments-provider-panel label,
.payments-settings-panel label {
  font-size: 0.78rem;
}

.payments-provider-panel label:not(.check-line):not(.payment-settings-row) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  max-width: none;
  color: #111827;
  font-weight: 700;
}

.payments-provider-panel input,
.payments-provider-panel select,
.payments-settings-panel input,
.payments-settings-panel select,
.payments-settings-panel textarea {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 0.78rem;
}

.payments-provider-panel input,
.payments-provider-panel select {
  width: 100%;
  max-width: none;
}

.payment-settings-fields {
  display: grid;
  gap: 0;
  border-top: 1px solid #edf1f5;
}

.payment-settings-row {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 460px);
  gap: 16px;
  align-items: start;
  margin: 0;
  border-bottom: 1px solid #edf1f5;
  color: #344054;
  padding: 8px 0;
}

.payment-settings-row:last-child {
  border-bottom: 0;
}

.payment-settings-label {
  padding-top: 6px;
  color: #172033;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.payment-settings-control {
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 520px;
}

.payment-settings-control input,
.payment-settings-control select,
.payment-settings-control textarea {
  width: 100%;
  max-width: 460px;
}

.payment-settings-row--textarea .payment-settings-control,
.payment-settings-row--textarea textarea {
  max-width: 560px;
}

.payment-settings-control small {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

.payment-provider-status-strip {
  display: block;
  padding-bottom: 2px;
}

.payment-provider-status-strip .payment-readiness-facts {
  margin-top: 0;
}

.payment-gateway-toggles {
  max-width: 720px;
}

.payment-method-toggle-list {
  display: grid;
  gap: 6px;
  max-width: 360px;
}

.payment-method-static-checkline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 700;
}

.payment-method-static-check {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #5f8794;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
}

.payments-compact-grid__wide {
  grid-column: 1 / -1;
}

.payments-toggle-row {
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fbff;
}

.payments-toggle-row .check-line,
.payment-method-toggle-list .check-line {
  color: #344054;
  font-size: 0.82rem;
  font-weight: 700;
}

.payment-webhook-list {
  display: grid;
  gap: 8px;
}

.payment-webhook-row {
  display: grid;
  grid-template-columns: minmax(86px, 120px) minmax(0, 1fr) minmax(110px, auto) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  background: #f8fafc;
  font-size: 0.76rem;
}

.payment-webhook-row code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #475467;
}

.payment-webhook-row span {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 800;
}

.payments-ledger-workspace {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: 1040px;
}

#payments-view,
#payments-output,
#payments-view .management-band {
  min-width: 0;
}

.payments-ledger-heading {
  display: grid;
  gap: 4px;
  max-width: 1040px;
}

.payments-ledger-heading span,
.payments-admin-hero span {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payments-ledger-heading h2,
.payments-ledger-heading p {
  margin: 0;
}

.payment-summary-grid {
  width: 100%;
  min-width: 0;
  max-width: 1040px;
}

.payment-filter-bar {
  width: 100%;
  min-width: 0;
  max-width: 1040px;
}

.admin-payment-table-scroll {
  width: 100%;
  min-width: 0;
  max-width: 1040px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-payment-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.74rem;
}

.admin-payment-table th,
.admin-payment-table td {
  border-bottom: 1px solid #edf1f5;
  color: #172033;
  padding: 6px 8px;
  text-align: left;
  vertical-align: middle;
}

.admin-payment-table th {
  background: #f8fafc;
  color: #667085;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-payment-table tr:last-child td {
  border-bottom: 0;
}

.admin-payment-table strong,
.admin-payment-table small {
  display: block;
}

.admin-payment-table strong {
  color: #101828;
  font-weight: 700;
}

.admin-payment-table small {
  margin-top: 2px;
  color: #667085;
  font-size: 0.64rem;
  font-weight: 700;
}

.payment-link-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.payment-link-state {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
}

.payment-link-state-muted {
  background: #f2f4f7;
  color: #667085;
}

.payment-copy-button {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 0.72rem;
}

.admin-invoices-workspace {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 1180px;
}

#invoices-view,
#invoices-output,
#invoices-view .management-band {
  min-width: 0;
}

.admin-invoices-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid #cfe4d6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 252, 248, 0.98), rgba(240, 249, 244, 0.98) 52%, rgba(247, 250, 255, 0.98)),
    #f7fbf8;
  color: #102a20;
  box-shadow: none;
  padding: 12px 14px;
}

.admin-invoices-heading span {
  display: block;
  color: #287050;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-invoices-heading h2,
.admin-invoices-heading p {
  margin: 0;
}

.admin-invoices-heading h2 {
  margin-top: 4px;
  color: #102a20;
  font-size: 1.04rem;
}

.admin-invoices-heading p {
  max-width: 760px;
  margin-top: 5px;
  color: #52637a;
  font-size: 0.78rem;
}

.admin-invoice-status-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  min-width: 0;
}

.admin-invoice-status-card {
  display: grid;
  gap: 6px;
  min-height: 82px;
  cursor: pointer;
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  box-shadow: none;
  padding: 10px 11px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-invoice-status-card span {
  color: #667085;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-invoice-status-card strong {
  color: #101828;
  font-size: 1.34rem;
  line-height: 1;
}

.admin-invoice-status-card small {
  color: #536178;
  font-size: 0.72rem;
}

.admin-invoice-status-card.is-active,
.admin-invoice-status-card:focus,
.admin-invoice-status-card:hover {
  border-color: #2f9461;
  box-shadow: 0 12px 26px rgba(47, 148, 97, 0.13);
  transform: translateY(-1px);
}

.admin-invoice-status-blue {
  border-color: #cfe0f6;
  background: #f7fbff;
}

.admin-invoice-status-amber {
  border-color: #f3d8a8;
  background: #fffcf4;
}

.admin-invoice-status-green {
  border-color: #caead6;
  background: #f7fff9;
}

.admin-invoice-status-red {
  border-color: #f1c7ce;
  background: #fff8f8;
}

.admin-invoice-summary-grid,
.admin-invoice-filter-bar {
  width: 100%;
  min-width: 0;
  max-width: 1180px;
}

.admin-invoice-filter-bar {
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: #fbfffd;
  padding: 10px;
}

.admin-invoice-ledger {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.admin-invoice-ledger-card {
  display: grid;
  overflow: hidden;
  border: 1px solid #dfe7e3;
  border-left: 4px solid #2f9461;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.045);
}

.admin-invoice-ledger-card-amber {
  border-left-color: #d79022;
}

.admin-invoice-ledger-card-blue {
  border-left-color: #2f68b8;
}

.admin-invoice-ledger-card-green {
  border-left-color: #2f9461;
}

.admin-invoice-ledger-card-red {
  border-left-color: #c44646;
}

.admin-invoice-ledger-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid #edf2ef;
  background: #fbfffd;
  padding: 12px 14px;
}

.admin-invoice-ledger-title,
.admin-invoice-ledger-price {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-invoice-ledger-title strong {
  color: #101828;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.admin-invoice-ledger-title small,
.admin-invoice-ledger-price small {
  color: #667085;
  font-size: 0.74rem;
  font-weight: 600;
}

.admin-invoice-ledger-price {
  text-align: right;
}

.admin-invoice-ledger-price strong {
  color: #102a20;
  font-size: 1.05rem;
  font-weight: 900;
}

.admin-invoice-ledger-main {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  padding: 10px 12px 12px;
}

.admin-invoice-fact {
  display: grid;
  gap: 4px;
  min-height: 74px;
  border: 1px solid #edf2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 9px 10px;
}

.admin-invoice-fact span {
  color: #667085;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-invoice-fact strong {
  color: #101828;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-invoice-fact small {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-invoice-document-fact {
  min-width: min(100%, 220px);
}

.admin-invoice-ledger-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #edf2ef;
  padding: 10px 12px;
}

.invoice-document-cell,
.invoice-action-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.invoice-document-cell {
  align-items: flex-start;
  flex-direction: column;
}

.invoice-document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.invoice-document-state {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
}

.invoice-document-state-muted {
  background: #f2f4f7;
  color: #667085;
}

.sbe-admin-body .invoice-action-cell .primary-action,
.sbe-admin-body .admin-invoice-generate-action {
  min-height: 32px;
  border-radius: 8px;
  background: #2f9461;
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 148, 97, 0.18);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 7px 11px;
}

.sbe-admin-body .admin-invoice-open-action,
.sbe-admin-body .invoice-document-link {
  border-color: #bed8c8;
  color: #1f6c46;
  font-weight: 800;
}

.admin-invoice-empty-state {
  display: grid;
  gap: 4px;
  border: 1px dashed #bed8c8;
  border-radius: 8px;
  background: #fbfffd;
  color: #52637a;
  padding: 18px;
}

.admin-invoice-empty-state strong {
  color: #102a20;
  font-size: 0.96rem;
}

.admin-invoice-empty-state small {
  color: #667085;
  font-size: 0.78rem;
}

.admin-invoice-settings-note {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: #fbfffd;
  color: #52637a;
  padding: 10px 12px;
}

.admin-invoice-settings-note strong {
  color: #1f6c46;
  white-space: nowrap;
}

.admin-invoice-settings-note span {
  font-size: 0.8rem;
}

.invoice-document-settings-card {
  display: grid;
  gap: 10px;
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.invoice-document-settings-form {
  display: grid;
  gap: 10px;
}

.invoice-document-settings-form label {
  font-size: 0.82rem;
}

.invoice-branding-studio {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
  align-items: start;
}

.invoice-branding-controls {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.invoice-branding-controls .admin-asset-upload-control {
  border-color: #d7e7dc;
  background: #fbfffd;
}

.invoice-branding-controls .admin-asset-upload-preview {
  background: #ffffff;
}

.invoice-colour-panel {
  display: grid;
  gap: 10px;
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: linear-gradient(135deg, #fbfffd, #f4fbf7);
  padding: 12px;
}

.invoice-colour-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.invoice-colour-panel-heading strong {
  color: #102a20;
  font-size: 0.84rem;
}

.invoice-colour-panel-heading span {
  max-width: 280px;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
}

.invoice-colour-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.invoice-colour-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  border: 1px solid #dfe9e4;
  border-radius: 8px;
  background: #fff;
  color: #101828;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 8px 10px;
}

.invoice-colour-control input[type="color"] {
  width: 42px;
  min-height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
}

.invoice-numbering-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.invoice-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.invoice-settings-actions .inline-note {
  margin: 0;
}

.invoice-preview-shell {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: #f8fcfa;
  padding: 12px;
}

.invoice-preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.invoice-preview-toolbar span {
  display: block;
  color: #287050;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-preview-toolbar strong {
  display: block;
  color: #102a20;
  font-size: 0.88rem;
}

.invoice-preview-toolbar small {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.invoice-preview-document {
  --invoice-primary-colour: #1f7a4d;
  --invoice-accent-colour: #5fbf86;
  --invoice-header-text-colour: #ffffff;
  --invoice-body-background-colour: #f4f8f6;
  --invoice-text-colour: #101828;
  overflow: hidden;
  border: 1px solid #dfe9e4;
  border-radius: 8px;
  background: #fff;
  color: var(--invoice-text-colour);
  box-shadow: 0 18px 42px rgba(16, 42, 32, 0.08);
}

.invoice-preview-topline {
  height: 7px;
  background: linear-gradient(90deg, var(--invoice-primary-colour), var(--invoice-accent-colour));
}

.invoice-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--invoice-primary-colour), var(--invoice-accent-colour));
  color: var(--invoice-header-text-colour);
  padding: 18px;
}

.invoice-preview-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.invoice-preview-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 72px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--invoice-primary-colour);
  font-size: 1rem;
  font-weight: 900;
}

.invoice-preview-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.invoice-preview-brand strong,
.invoice-preview-title strong {
  display: block;
  color: inherit;
  font-weight: 900;
  line-height: 1.2;
}

.invoice-preview-brand small,
.invoice-preview-title small {
  display: block;
  margin-top: 4px;
  color: color-mix(in srgb, var(--invoice-header-text-colour) 78%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
}

.invoice-preview-title {
  text-align: right;
}

.invoice-preview-title span {
  display: block;
  color: color-mix(in srgb, var(--invoice-header-text-colour) 88%, transparent);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-preview-title strong {
  margin-top: 4px;
  font-size: 1.08rem;
}

.invoice-preview-meta {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #edf4ef;
  border-bottom: 1px solid #edf4ef;
  background: var(--invoice-body-background-colour);
  padding: 10px 12px;
}

.invoice-preview-meta div,
.invoice-preview-lines div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.invoice-preview-meta span,
.invoice-preview-lines span {
  color: #667085;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-preview-meta strong,
.invoice-preview-lines strong {
  color: var(--invoice-text-colour);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.invoice-preview-meta small {
  color: #667085;
  font-size: 0.68rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.invoice-preview-lines {
  display: grid;
  gap: 0;
  padding: 8px 18px 12px;
}

.invoice-preview-lines div {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid #edf4ef;
  padding: 9px 0;
}

.invoice-preview-lines div:last-child {
  border-bottom: 0;
}

.invoice-preview-lines b {
  color: var(--invoice-text-colour);
  font-size: 0.82rem;
  font-weight: 900;
}

.invoice-preview-total b {
  color: var(--invoice-primary-colour);
  font-size: 1rem;
}

.invoice-preview-footer {
  display: grid;
  gap: 7px;
  border-top: 1px solid #edf4ef;
  background: var(--invoice-body-background-colour);
  color: #667085;
  padding: 13px 18px 16px;
}

.invoice-preview-footer p,
.invoice-preview-footer small {
  margin: 0;
  color: #667085;
  font-size: 0.72rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.invoice-preview-footer p {
  color: var(--invoice-primary-colour);
  font-weight: 700;
}

.sbe-admin-body .invoice-reference-modal {
  border-color: #cfe4d6;
  box-shadow: 0 24px 60px rgba(16, 42, 32, 0.18);
}

.sbe-admin-body .invoice-reference-modal > span {
  display: block;
  color: #287050;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sbe-admin-body .invoice-reference-modal h3 {
  color: #102a20;
}

.sbe-admin-body .invoice-reference-modal-note {
  color: #b42318;
  font-weight: 700;
}

.sbe-admin-body .invoice-reference-modal .admin-action-tab-success {
  border-color: #2f9461;
  background: #2f9461;
  color: #fff;
}

@media (max-width: 980px) {
  .invoice-branding-studio,
  .invoice-numbering-grid,
  .invoice-preview-meta {
    grid-template-columns: 1fr;
  }

  .invoice-preview-header,
  .invoice-preview-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .invoice-preview-title {
    text-align: left;
  }

  .invoice-preview-lines div {
    grid-template-columns: 1fr;
  }

  .invoice-colour-panel-heading {
    display: grid;
  }

  .invoice-colour-panel-heading span {
    max-width: none;
    text-align: left;
  }
}

#payments-checkout-settings-form,
.payment-methods-management,
#new-payment-method-host {
  max-width: 880px;
}

.payments-methods-page {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.payments-methods-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid #cfe4d6;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 252, 248, 0.98), rgba(240, 249, 244, 0.98) 52%, rgba(247, 250, 255, 0.98)),
    #f7fbf8;
  color: #102a20;
  box-shadow: none;
  padding: 12px 14px;
}

.payments-methods-hero span {
  display: block;
  color: #287050;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payments-methods-hero h2,
.payments-methods-hero p {
  margin: 0;
}

.payments-methods-hero h2 {
  margin-top: 4px;
  color: #102a20;
  font-size: 1.02rem;
}

.payments-methods-hero p {
  max-width: 760px;
  margin-top: 5px;
  color: #52637a;
  font-size: 0.78rem;
}

.payment-method-summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  max-width: 680px;
}

.payment-method-summary-card {
  display: grid;
  gap: 3px;
  min-height: 62px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: 9px 10px;
}

.payment-method-summary-card span {
  color: #667085;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-method-summary-card strong {
  color: #101828;
  font-size: 1.12rem;
  line-height: 1;
}

.payment-method-summary-card small {
  color: #667085;
  font-size: 0.68rem;
}

.payment-method-summary-card--green {
  border-color: #b7e4c7;
  background: #f6fcf7;
}

.payment-method-summary-card--blue {
  border-color: #c8dcf8;
  background: #f7faff;
}

.payment-method-summary-card--amber {
  border-color: #f3d8a8;
  background: #fffaf0;
}

.payment-method-editor {
  gap: 8px;
  border-color: #dfe6ef;
  background: #fff;
  box-shadow: none;
  padding: 10px 12px;
}

.payment-method-editor--green {
  border-color: #b7e4c7;
  background: #fbfffc;
}

.payment-method-editor--blue {
  border-color: #c8dcf8;
  background: #fdfdff;
}

.payment-method-editor--muted {
  background: #f8fafc;
}

.payment-method-editor-head,
.payment-method-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.payment-method-editor-head strong {
  display: block;
  color: #101828;
  font-size: 0.84rem;
  font-weight: 700;
}

.payment-method-editor-head small {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 0.68rem;
}

.payment-method-state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.payment-method-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #d7e1ef;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 3px 7px;
}

.payment-method-state-pill b {
  color: #667085;
  font-size: 0.62rem;
}

.payment-method-state-pill--green {
  border-color: #b7e4c7;
  background: #f4fbf6;
  color: #116329;
}

.payment-method-state-pill--blue {
  border-color: #c8dcf8;
  background: #f7faff;
  color: #1d4ed8;
}

.payment-method-state-pill--amber {
  border-color: #f3d8a8;
  background: #fff7df;
  color: #8a5700;
}

.payment-method-state-pill--muted {
  background: #f8fafc;
}

.payment-method-compact-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid #edf1f5;
}

.payment-method-compact-grid label {
  color: #344054;
  font-weight: 700;
}

.payment-method-compact-grid input,
.payment-method-compact-grid select {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 0.78rem;
}

.payment-method-editor .payment-settings-row {
  grid-template-columns: minmax(120px, 155px) minmax(0, 360px);
  gap: 12px;
  padding: 6px 0;
}

.payment-method-editor .payment-settings-label {
  font-size: 0.74rem;
}

.payment-method-editor .payment-settings-control small {
  font-size: 0.66rem;
}

.payments-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sbe-admin-body .payments-settings-actions .primary-action {
  width: fit-content;
  min-height: 38px;
  border-radius: 8px;
  background: #16704a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 112, 74, 0.18);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 14px;
}

.sbe-admin-body .payment-method-editor .primary-action,
.sbe-admin-body .invoice-document-settings-form .primary-action {
  background: #16704a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 112, 74, 0.18);
}

.sbe-payment-action-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin-right: 10px;
}

@media (min-width: 760px) {
  .payment-gateway-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .payments-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payments-provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payments-toggle-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .payments-admin-hero,
  .payments-methods-hero,
  .payment-webhook-row {
    grid-template-columns: 1fr;
  }

  .payments-admin-hero,
  .payments-methods-hero {
    display: grid;
  }

  .payment-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-payment-table {
    min-width: 0;
  }

  .admin-payment-table thead {
    display: none;
  }

  .admin-payment-table,
  .admin-payment-table tbody,
  .admin-payment-table tr,
  .admin-payment-table td {
    display: block;
    width: 100%;
  }

  .admin-payment-table tr {
    border-bottom: 1px solid #edf1f5;
    padding: 8px 0;
  }

  .admin-payment-table tr:last-child {
    border-bottom: 0;
  }

  .admin-payment-table td {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 0;
    padding: 6px 10px;
  }

  .admin-payment-table td::before {
    content: attr(data-label);
    color: #667085;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .payments-provider-panel label:not(.check-line),
  .payment-settings-row,
  .payment-method-editor .payment-settings-row,
  .payment-method-compact-grid {
    grid-template-columns: 1fr;
  }

  .payment-settings-label {
    padding-top: 0;
  }

  .payment-method-editor-head,
  .payment-method-editor-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

.fleet-image-preview {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  overflow: hidden;
  padding: 12px;
}

.fleet-image-preview img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(12, 20, 32, 0.13));
}

.fleet-image-preview.is-empty {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.health-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.health-check {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.health-check span {
  width: fit-content;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.health-check p {
  margin: 0;
  color: var(--muted);
}

.health-pass span {
  background: var(--green-soft);
  color: var(--green);
}

.health-warn span {
  background: #fff5da;
  color: var(--gold-deep);
}

.health-blocked span {
  background: #fee2e2;
  color: #b42318;
}

.beta-launch-panel,
.backup-status-panel,
.retention-preview-panel {
  margin-top: 16px;
}

.launch-readiness-section {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.launch-readiness-section h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.retention-candidate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-line input {
  width: auto;
  min-height: auto;
}

.settings-check-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.settings-check-group legend {
  padding: 0 6px;
  font-size: 0.85rem;
  font-weight: 800;
}

.settings-check-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.table-scroll {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  max-width: 100%;
  overflow-x: auto;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  font-size: 0.86rem;
}

.preview-table th,
.preview-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.preview-table th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 10px;
  text-transform: uppercase;
}

.status-pill.status-warn {
  background: #fff5da;
  color: var(--gold-deep);
}

.status-pill.status-blocked {
  background: #fee2e2;
  color: #b42318;
}

.sbe-admin-body {
  background: #f4f6f8;
  color: #172033;
}

.sbe-admin-body .admin-shell {
  width: 100%;
  padding: 0;
}

.sbe-admin-body #admin-landing-strip,
.sbe-admin-body .signin-panel {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.sbe-admin-body .signin-panel {
  margin-bottom: 28px;
}

.sbe-admin-body .admin-panel {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  border-right: 1px solid #dce3ec;
  background: #fff;
  color: #172033;
  padding: 20px 14px;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e8eef6;
  padding: 0 8px 18px;
}

.admin-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f6bff;
  color: #fff;
  font-weight: 900;
}

.admin-sidebar-brand strong,
.admin-sidebar-brand small {
  display: block;
}

.admin-sidebar-brand small {
  color: #667085;
  font-size: 0.78rem;
}

.sbe-admin-body .admin-tabs {
  display: grid;
  align-content: start;
  gap: 5px;
  border: 0;
  padding: 18px 0;
}

.sbe-admin-body .admin-tabs button {
  justify-content: start;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #24324a;
  padding: 0 14px;
  text-align: left;
}

.sbe-admin-body .admin-tabs .portal-nav-icon {
  width: 18px;
  height: 18px;
  opacity: 0.66;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] {
  background: #eef6ff;
  color: #0f6bff;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] .portal-nav-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(34%) sepia(94%) saturate(2451%) hue-rotate(207deg) brightness(98%) contrast(94%);
}

.sbe-admin-body .admin-tabs .portal-nav-icon,
.customer-bottom-nav .portal-nav-icon,
.driver-bottom-nav .portal-nav-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(43%) sepia(18%) saturate(656%) hue-rotate(178deg) brightness(90%) contrast(90%);
}

.customer-bottom-nav button[aria-pressed="true"] .portal-nav-icon,
.driver-bottom-nav button[aria-pressed="true"] .portal-nav-icon {
  filter: brightness(0) saturate(100%) invert(34%) sepia(94%) saturate(2451%) hue-rotate(207deg) brightness(98%) contrast(94%);
}

.admin-nav-section {
  display: block;
  color: #6f7d95;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 16px 8px 5px;
  text-transform: uppercase;
}

.admin-nav-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #c8d5e8;
  border-radius: 5px;
  color: #597094;
  font-size: 0.68rem;
  font-weight: 900;
}

.admin-subnav {
  display: grid;
  gap: 2px;
  margin: -2px 0 2px 30px;
}

.sbe-admin-body .admin-tabs .admin-subnav button {
  min-height: 34px;
  color: #536179;
  font-size: 0.82rem;
  font-weight: 800;
  padding-left: 12px;
}

.sbe-admin-body .admin-tabs .admin-subnav button::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.admin-sidebar-link {
  border: 1px solid #d6e1ef;
  border-radius: 8px;
  color: #24324a;
  font-weight: 800;
  padding: 12px;
  text-decoration: none;
}

.admin-main {
  min-width: 0;
}

.sbe-admin-body .admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 76px;
  border-bottom: 1px solid #d9e0e8;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  padding: 18px 26px;
}

.admin-toolbar h1,
.admin-toolbar h2,
.admin-toolbar p {
  margin: 0;
}

.admin-toolbar h1,
.admin-toolbar h2 {
  font-size: 1.55rem;
}

.admin-toolbar-eyebrow {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #667085;
  font-weight: 800;
}

.admin-content {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.settings-owner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.05);
}

.settings-owner-tabs button {
  min-height: 38px;
  border: 1px solid #d6e1ef;
  border-radius: 6px;
  background: #f8fafc;
  color: #213043;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0 12px;
}

.settings-owner-tabs button[aria-pressed="true"] {
  border-color: #0876dd;
  background: #0876dd;
  color: #fff;
}

.pricing-page {
  display: grid;
  gap: 14px;
}

.pricing-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #0f6bff;
  font-size: 0.82rem;
  font-weight: 800;
}

.pricing-breadcrumb span {
  color: #98a2b3;
}

.pricing-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.pricing-page-heading h2,
.pricing-page-heading p,
.pricing-card-heading h3,
.pricing-control-panel h3 {
  margin: 0;
}

.pricing-page-heading h2 {
  color: #101828;
  font-size: 1.8rem;
  line-height: 1.18;
}

.pricing-page-heading p {
  color: #536179;
  margin-top: 8px;
}

.pricing-unit-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(44px, 1fr));
  gap: 4px;
  border: 1px solid #d6e1ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 4px;
}

.pricing-unit-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #536179;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.pricing-unit-switch button[aria-pressed="true"] {
  background: #0f6bff;
  color: #fff;
}

.pricing-card {
  display: grid;
  gap: 14px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.05);
  padding: 16px;
}

.settings-view-fares .settings-owner-tabs {
  display: none;
}

.fare-rules-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.fare-rules-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.fare-rules-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: #101828;
  font-size: 1.45rem;
  line-height: 1.18;
}

.fare-rules-heading p,
.fare-rule-note {
  margin: 0;
  color: #536178;
  line-height: 1.45;
}

.fare-rule-card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fare-rule-card {
  display: grid;
  gap: 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 14px;
}

.fare-rule-card h3 {
  margin: 0;
  color: #101828;
  font-size: 0.98rem;
}

.fare-rule-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fare-rule-grid label {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 800;
}

.fare-rule-grid input,
.fare-rule-grid select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid #d6e1ef;
  border-radius: 6px;
  background: #fff;
  color: #101828;
  font: inherit;
  padding: 6px 8px;
}

.fare-rule-checkbox {
  align-self: end;
  min-height: 34px;
}

.fare-rule-card-time {
  grid-column: 1 / -1;
}

.fare-rule-note {
  border: 1px solid #cce4ff;
  border-radius: 8px;
  background: #f3f9ff;
  color: #0f6bff;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 10px 12px;
}

.pricing-card-heading,
.pricing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-card-heading h3,
.pricing-control-panel h3 {
  color: #101828;
  font-size: 1rem;
}

.pricing-table-scroll {
  overflow-x: auto;
  border: 1px solid #dce3ec;
  border-radius: 8px;
}

.pricing-matrix {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-matrix th,
.pricing-matrix td {
  border-bottom: 1px solid #e6edf5;
  border-right: 1px solid #e6edf5;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

.pricing-matrix th {
  background: #fbfcfe;
  color: #172033;
  font-size: 0.75rem;
  font-weight: 900;
}

.pricing-matrix tr:last-child td {
  border-bottom: 0;
}

.pricing-matrix th:last-child,
.pricing-matrix td:last-child {
  border-right: 0;
}

.pricing-matrix input,
.pricing-matrix select,
.pricing-control-panel input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #d6e1ef;
  border-radius: 6px;
  background: #fff;
  color: #101828;
  font: inherit;
  padding: 6px 8px;
}

.pricing-range-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.pricing-row-actions .checkbox-line {
  justify-content: center;
  font-size: 0.82rem;
}

.pricing-empty-row {
  color: #667085;
  font-weight: 800;
  text-align: left !important;
}

.pricing-controls-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
}

.pricing-control-panel {
  display: grid;
  gap: 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.pricing-calculator-panel {
  border-color: #b7ebc6;
  background: #fbfffc;
}

.pricing-inline-control {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  margin-top: 7px;
}

.pricing-inline-control span {
  color: #344054;
  font-weight: 800;
}

.pricing-minimum-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.pricing-info-note {
  margin: 0;
  border: 1px solid #cce4ff;
  border-radius: 8px;
  background: #f3f9ff;
  color: #0f6bff;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 12px 14px;
}

.sbe-admin-body .management-band {
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.05);
  padding: 18px;
}

.sbe-admin-body .filter-bar {
  grid-template-columns: 1.3fr 0.85fr 0.8fr 0.8fr auto auto;
  align-items: end;
  border: 0;
  padding: 0 0 16px;
}

.sbe-admin-body .audit-filter-form {
  grid-template-columns: 1.2fr 1fr 0.65fr auto;
  align-items: end;
  padding-bottom: 16px;
}

.sbe-admin-body .admin-layout {
  border: 1px solid #dce3ec;
  border-radius: 8px;
  overflow: hidden;
}

.sbe-admin-body .list-panel,
.sbe-admin-body .detail-panel {
  min-height: 520px;
}

.sbe-admin-body .reservation-card {
  background: #fff;
  padding: 13px 16px;
}

.sbe-admin-body .reservation-card:hover,
.admin-table-button:hover {
  background: #f7fbff;
}

.booking-history-workspace {
  display: grid;
  gap: 18px;
}

.booking-history-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.11), rgba(255, 255, 255, 0.82) 44%, rgba(248, 250, 252, 0.96)),
    #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
  padding: 26px 28px;
}

.booking-history-hero h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  color: #101828;
  font-size: clamp(1.75rem, 2vw, 2.4rem);
  line-height: 1.05;
}

.booking-history-hero p {
  max-width: 860px;
  margin: 9px 0 0;
  color: #536178;
  line-height: 1.5;
}

.booking-history-hero .plain-action {
  flex: 0 0 auto;
  border-color: #b7e3c6;
  background: #f3fbf6;
  color: #137a3b;
  font-weight: 900;
}

.booking-history-hero .admin-help-tip {
  background: #effaf3;
  color: #15803d;
}

.booking-history-hero .admin-dashboard-eyebrow {
  color: #4b6256 !important;
  font-weight: 700;
}

.sbe-admin-body .booking-history-filter-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  align-items: end;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
  padding: 18px;
}

.booking-history-filter-heading {
  grid-column: 1 / -1;
}

.sbe-admin-body .booking-history-filter-form > label:first-of-type {
  grid-column: span 2;
}

.booking-history-filter-heading h3 {
  margin: 0 0 5px;
  color: #101828;
  font-size: 1.1rem;
}

.booking-history-filter-heading p {
  margin: 0;
  color: #536178;
  line-height: 1.45;
}

.sbe-admin-body .booking-history-filter-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 800;
}

.sbe-admin-body .booking-history-filter-form button[type="submit"] {
  border-color: #168a43;
  background: #168a43;
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 138, 67, 0.18);
}

.sbe-admin-body .booking-history-layout {
  display: block;
  gap: 18px;
  border: 0;
  overflow: visible;
}

.sbe-admin-body .booking-history-layout .list-panel,
.sbe-admin-body .booking-history-layout .detail-panel {
  min-height: 0;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.sbe-admin-body .booking-history-layout .detail-panel {
  margin-top: 18px;
}

.sbe-admin-body .booking-history-layout .detail-panel[data-empty="true"] {
  display: none;
}

.booking-history-list-shell {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.booking-history-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.booking-history-metric {
  display: grid;
  gap: 6px;
  min-height: 78px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.035);
  padding: 11px 12px;
}

.booking-history-metric.is-active,
.admin-dispatch-status-card.is-active,
.admin-customer-status-card.is-active,
.admin-payout-status-card.is-active {
  border-color: #9ed8b2;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.065), 0 0 0 3px rgba(22, 163, 74, 0.08);
}

.booking-history-metric span {
  color: #7a8597;
  font-size: 0.68rem;
  font-weight: 700;
}

.booking-history-metric strong {
  color: #111a2f;
  font-size: 1.35rem;
  line-height: 1;
}

.booking-history-metric small {
  color: #536178;
  font-size: 0.72rem;
}

.booking-history-metric-blue {
  border-color: #cfdbe8;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.booking-history-metric-green {
  border-color: #caead6;
  background: linear-gradient(180deg, #fff 0%, #f7fff9 100%);
}

.booking-history-metric-amber {
  border-color: #f3d8a8;
  background: linear-gradient(180deg, #fff 0%, #fffcf4 100%);
}

.booking-history-metric-red {
  border-color: #efd2d6;
  background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.booking-history-summary-grid-cancelled .booking-history-metric.is-active {
  border-color: #dfa0a9;
  box-shadow: 0 14px 30px rgba(185, 66, 80, 0.08), 0 0 0 3px rgba(185, 66, 80, 0.06);
}

.booking-history-summary-grid-deleted .booking-history-metric.is-active {
  border-color: #8b99ad;
  box-shadow: 0 14px 30px rgba(82, 97, 115, 0.1), 0 0 0 3px rgba(82, 97, 115, 0.07);
}

.booking-history-metric-neutral {
  border-color: #d6dce6;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.booking-history-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  color: #536178;
  font-size: 0.78rem;
  padding: 9px 11px;
}

.booking-history-bulk-actions,
.booking-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.booking-history-selection-note {
  color: #647084;
  font-size: 0.72rem;
  font-weight: 600;
}

.booking-history-count-bar strong {
  color: #101828;
}

.booking-history-empty-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  padding: 16px;
}

.booking-history-empty-panel span {
  color: #6f7c91;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-history-empty-panel strong {
  display: block;
  color: #101828;
  font-size: 1rem;
  margin-top: 4px;
}

.booking-history-empty-panel p {
  color: #536178;
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 5px 0 0;
  max-width: 620px;
}

.booking-history-empty-panel-cancelled {
  border-color: #f0ccd1;
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.booking-history-empty-panel-cancelled span {
  color: #9f3d4a;
}

.booking-history-empty-panel-deleted {
  border-color: #d8dee8;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.booking-history-empty-panel-deleted span {
  color: #526173;
}

.booking-history-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.booking-history-table-scroll {
  overflow-x: auto;
  border: 1px solid #dce7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 12px 28px rgba(15, 23, 42, 0.035);
}

.booking-history-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.74rem;
}

.booking-history-table th,
.booking-history-table td {
  border-bottom: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  padding: 8px 7px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.booking-history-table th {
  background: #f8fbf9;
  color: #344054;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-history-table th:first-child,
.booking-history-table td:first-child {
  width: 34px;
  text-align: center;
}

.booking-history-table th:last-child,
.booking-history-table td:last-child {
  width: 74px;
  border-right: 0;
}

.booking-history-table tr:last-child td {
  border-bottom: 0;
}

.booking-history-table strong {
  display: block;
  color: #101828;
  font-size: 0.76rem;
  font-weight: 700;
}

.booking-history-reference-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #101828;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  padding: 0;
  text-align: left;
}

.booking-history-reference-button:hover,
.booking-history-reference-button:focus-visible {
  color: #137a3b;
  text-decoration: underline;
}

.booking-history-table small,
.booking-history-table td > span:not(.admin-status-badge) {
  display: block;
  color: #667085;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.32;
}

.booking-history-row:nth-child(even) {
  background: #fbfdfb;
}

.booking-history-row:hover {
  background: #f6fbf8;
}

.booking-history-row-cancelled {
  background: #fffafa;
}

.booking-history-row-cancelled:nth-child(even) {
  background: #fff7f8;
}

.booking-history-row-cancelled td {
  border-bottom-color: #f3d4d9;
}

.booking-history-row-cancelled .booking-history-reference-button {
  color: #9f3d4a;
}

.booking-history-row-cancelled .plain-action {
  border-color: #efc7cd;
  background: #fff;
}

.booking-history-row-deleted {
  background: #fbfcfe;
}

.booking-history-row-deleted:nth-child(even) {
  background: #f6f8fb;
}

.booking-history-row-deleted td {
  border-bottom-color: #d8dee8;
}

.booking-history-row-deleted .booking-history-reference-button {
  color: #344054;
}

.booking-history-row-deleted .plain-action {
  border-color: #cfd8e6;
  background: #fff;
  color: #344054;
}

.booking-history-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.booking-history-badges span {
  border: 1px solid #e5edf6;
  border-radius: 999px;
  background: #fff;
  color: #536178;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  padding: 4px 6px;
}

.booking-history-check-cell {
  display: inline-flex;
  justify-content: center;
}

.booking-history-table .plain-action {
  width: 100%;
  min-height: 28px;
  margin-bottom: 5px;
  padding: 5px 7px;
}

.booking-history-table .plain-action:last-child {
  margin-bottom: 0;
}

.booking-history-row-actions {
  display: grid;
  gap: 5px;
}

.booking-history-table .booking-history-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  border-color: #d7e4ee;
  border-radius: 7px;
  background: #ffffff;
  color: #334155;
  line-height: 1;
  padding: 5px 6px;
  white-space: nowrap;
}

.booking-history-table .booking-history-action-primary {
  border-color: #168a43;
  background: #168a43;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(22, 138, 67, 0.16);
}

.booking-history-table .booking-history-action:hover,
.booking-history-table .booking-history-action:focus-visible {
  border-color: #168a43;
  color: #137a3b;
}

.booking-history-table .booking-history-action-primary:hover,
.booking-history-table .booking-history-action-primary:focus-visible {
  color: #ffffff;
}

.booking-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 107, 255, 0.1), rgba(22, 163, 74, 0.08)),
    #fbfcfe;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  padding: 13px 14px;
}

.booking-calendar-toolbar span {
  display: block;
  color: #466181;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-calendar-toolbar strong {
  display: block;
  color: #101828;
  font-size: 1.12rem;
}

.booking-calendar-toolbar small {
  display: block;
  margin-top: 2px;
  color: #536178;
  font-size: 0.72rem;
  font-weight: 500;
}

.booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  padding: 9px 11px;
}

.booking-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  color: #344054;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
}

.booking-calendar-legend i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.booking-calendar-legend-amber i {
  background: #d4941e;
}

.booking-calendar-legend-purple i {
  background: #7c3aed;
}

.booking-calendar-legend-orange i {
  background: #ea580c;
}

.booking-calendar-legend-blue i {
  background: #2563eb;
}

.booking-calendar-legend-green i {
  background: #16803a;
}

.booking-calendar-legend-red i {
  background: #dc2626;
}

.booking-calendar-scroll {
  overflow-x: auto;
  border: 1px solid #d6e0ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.booking-calendar-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  table-layout: fixed;
}

.booking-calendar-table th,
.booking-calendar-table td {
  border-right: 1px solid #e6edf6;
  border-bottom: 1px solid #e6edf6;
  vertical-align: top;
}

.booking-calendar-table th {
  background: #eef4ff;
  color: #28466f;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 8px;
  text-align: left;
  text-transform: uppercase;
}

.booking-calendar-table td {
  height: 132px;
  background: #fff;
  padding: 8px;
}

.booking-calendar-table td.has-bookings {
  background: #fcfdff;
}

.booking-calendar-table td.booking-calendar-empty-day {
  background: #fbfcfe;
}

.booking-calendar-table td.booking-calendar-outside {
  background: #f5f7fb;
  color: #98a2b3;
}

.booking-calendar-table td.booking-calendar-today {
  box-shadow: inset 0 0 0 2px #315fd0;
}

.booking-calendar-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #101828;
  margin-bottom: 7px;
}

.booking-calendar-day-head span {
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.66rem;
  font-weight: 700;
  min-width: 22px;
  padding: 2px 6px;
  text-align: center;
}

.booking-calendar-booking {
  --booking-calendar-tone: #64748b;
  --booking-calendar-soft: #f8fafc;
  --booking-calendar-text: #334155;
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid #dfe6ef;
  border-left: 4px solid var(--booking-calendar-tone);
  border-radius: 6px;
  background: var(--booking-calendar-soft);
  color: #101828;
  cursor: pointer;
  font: inherit;
  margin-bottom: 5px;
  min-height: 76px;
  padding: 6px 7px;
  text-align: left;
}

.booking-calendar-booking:hover {
  border-color: var(--booking-calendar-tone);
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.booking-calendar-booking strong,
.booking-calendar-booking span,
.booking-calendar-booking small,
.booking-calendar-booking em,
.booking-calendar-empty,
.booking-calendar-more {
  display: block;
  overflow-wrap: anywhere;
}

.booking-calendar-booking-time {
  justify-self: start;
  border-radius: 999px;
  background: #fff;
  color: var(--booking-calendar-tone);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  padding: 3px 7px;
}

.booking-calendar-booking strong {
  color: #101828;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.booking-calendar-booking span,
.booking-calendar-booking small,
.booking-calendar-empty,
.booking-calendar-more {
  color: #667085;
  font-size: 0.64rem;
  font-weight: 500;
}

.booking-calendar-booking em {
  color: #536178;
  display: -webkit-box;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.booking-calendar-booking-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.booking-calendar-booking-badges b,
.booking-calendar-agenda-item em b {
  border-radius: 999px;
  background: #fff;
  color: var(--booking-calendar-text);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
}

.booking-calendar-tone-amber {
  --booking-calendar-tone: #d4941e;
  --booking-calendar-soft: #fff9eb;
  --booking-calendar-text: #8a5a05;
}

.booking-calendar-tone-purple {
  --booking-calendar-tone: #7c3aed;
  --booking-calendar-soft: #f5f0ff;
  --booking-calendar-text: #5b21b6;
}

.booking-calendar-tone-orange {
  --booking-calendar-tone: #ea580c;
  --booking-calendar-soft: #fff4ed;
  --booking-calendar-text: #9a3412;
}

.booking-calendar-tone-blue {
  --booking-calendar-tone: #2563eb;
  --booking-calendar-soft: #eff6ff;
  --booking-calendar-text: #1d4ed8;
}

.booking-calendar-tone-green {
  --booking-calendar-tone: #16803a;
  --booking-calendar-soft: #effaf2;
  --booking-calendar-text: #166534;
}

.booking-calendar-tone-red {
  --booking-calendar-tone: #dc2626;
  --booking-calendar-soft: #fff1f2;
  --booking-calendar-text: #b42318;
}

.booking-calendar-tone-slate {
  --booking-calendar-tone: #64748b;
  --booking-calendar-soft: #f8fafc;
  --booking-calendar-text: #334155;
}

.booking-calendar-more {
  font-weight: 700;
}

.booking-smart-list-shell {
  min-height: 160px;
  place-items: center;
}

.sbe-admin-body .booking-history-workspace[data-booking-mode="create"] .booking-history-hero,
.sbe-admin-body .booking-history-workspace[data-booking-mode="create"] .booking-history-filter-form,
.sbe-admin-body .booking-history-workspace[data-booking-mode="create"] .detail-panel {
  display: none;
}

.sbe-admin-body .booking-history-workspace[data-booking-mode="smart"] .booking-history-filter-form,
.sbe-admin-body .booking-history-workspace[data-booking-mode="smart"] .detail-panel,
.sbe-admin-body .booking-history-workspace[data-booking-mode="smart"] .booking-history-hero .plain-action[form="booking-filters"] {
  display: none;
}

.booking-create-shell {
  padding: 0;
}

.booking-create-hero,
.booking-smart-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
}

.booking-create-hero span,
.booking-smart-panel > span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-create-hero h3,
.booking-smart-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 6px;
  color: #101828;
  font-size: 1.25rem;
}

.booking-create-hero p,
.booking-smart-panel p {
  margin: 0;
  color: #536178;
  font-size: 0.92rem;
  line-height: 1.55;
}

.booking-create-hero strong {
  border: 1px solid #caead6;
  border-radius: 999px;
  background: #f7fff9;
  color: #15803d;
  padding: 7px 10px;
}

.admin-create-booking-form,
.admin-booking-update-groups {
  display: grid;
  gap: 16px;
}

.admin-create-booking-card,
.admin-booking-update-card {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.04);
}

.admin-create-booking-card h4,
.admin-booking-update-card h4 {
  margin: 0;
  color: #101828;
  font-size: 0.9rem;
}

.admin-create-card-head {
  display: grid;
  gap: 4px;
}

.admin-create-card-head p,
.admin-create-payment-note {
  margin: 0;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

.admin-create-booking-grid,
.admin-booking-update-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-create-booking-grid label,
.admin-booking-update-grid label,
.admin-booking-update-card > label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-create-booking-wide,
.admin-booking-wide-field {
  grid-column: 1 / -1;
}

.admin-create-booking-form input,
.admin-create-booking-form select,
.admin-create-booking-form textarea,
.admin-booking-update-form input,
.admin-booking-update-form select,
.admin-booking-update-form textarea {
  width: 100%;
}

.admin-create-booking-checkbox {
  align-content: end;
  min-height: 42px;
}

.admin-create-booking-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.admin-create-booking-actions .inline-note {
  flex: 1 1 220px;
}

.admin-booking-advanced-fields {
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 10px;
}

.admin-booking-advanced-fields summary {
  cursor: pointer;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-booking-advanced-fields .admin-booking-update-grid {
  margin-top: 10px;
}

.admin-booking-detail-advanced {
  grid-column: 1 / -1;
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 10px 12px;
}

.admin-booking-detail-advanced summary {
  cursor: pointer;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-booking-detail-advanced .detail-grid {
  margin-top: 10px;
}

.admin-booking-update-submit {
  justify-self: start;
}

.booking-smart-list-shell {
  place-items: stretch;
}

.booking-smart-panel {
  display: grid;
  gap: 16px;
  border-color: #d7e5dc;
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.09), rgba(255, 255, 255, 0.86) 38%, rgba(248, 250, 252, 0.96)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.booking-smart-flow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.booking-smart-flow article {
  display: grid;
  gap: 5px;
  border: 1px solid #dfe8ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
}

.booking-smart-flow strong {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #168a43;
  color: #fff;
}

.booking-smart-flow span {
  color: #101828;
  font-weight: 800;
}

.booking-smart-flow small {
  color: #536178;
  line-height: 1.35;
}

.booking-smart-intake-form {
  display: grid;
  gap: 12px;
  border: 1px solid #d7e5dc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
}

.booking-smart-intake-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 700;
}

.booking-smart-intake-form textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.55;
}

.booking-smart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.booking-smart-actions .inline-note {
  flex: 1 1 220px;
}

.booking-smart-review-shell {
  display: grid;
  gap: 14px;
}

.booking-smart-empty,
.booking-smart-review-card {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.booking-smart-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  text-align: center;
}

.booking-smart-empty strong {
  color: #101828;
  font-size: 0.98rem;
}

.booking-smart-empty span {
  color: #667085;
  font-size: 0.84rem;
}

.booking-smart-review-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.booking-smart-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 14px;
}

.booking-smart-review-head span {
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-smart-review-head h4 {
  margin: 4px 0 5px;
  color: #101828;
  font-size: 1.05rem;
}

.booking-smart-review-head p {
  max-width: 760px;
  margin: 0;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.5;
}

.booking-smart-review-head strong {
  flex: 0 0 auto;
  border: 1px solid #caead6;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  padding: 8px 11px;
  font-size: 0.82rem;
}

.booking-smart-missing-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-smart-duplicate-panel {
  display: grid;
  gap: 8px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.booking-smart-duplicate-panel span {
  color: #475467;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-smart-duplicate-panel strong {
  color: #101828;
  font-size: 0.92rem;
}

.booking-smart-duplicate-panel small {
  color: #667085;
  font-size: 0.78rem;
}

.booking-smart-duplicate-list {
  display: grid;
  gap: 8px;
}

.booking-smart-duplicate-list button {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #101828;
  padding: 10px;
  text-align: left;
}

.booking-smart-duplicate-list button:hover {
  border-color: #fb923c;
  box-shadow: 0 10px 22px rgba(251, 146, 60, 0.12);
}

.booking-smart-duplicate-list b {
  color: #9a3412;
}

.booking-smart-duplicate-list em {
  color: #475467;
  font-size: 0.74rem;
  font-style: normal;
}

.booking-smart-chip {
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  padding: 6px 9px;
  font-size: 0.75rem;
  font-weight: 700;
}

.booking-smart-chip-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.booking-smart-review-form {
  gap: 14px;
}

.booking-calendar-agenda {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  padding: 14px;
}

.booking-calendar-agenda-list {
  display: grid;
  gap: 12px;
  max-height: 460px;
  overflow: auto;
}

.booking-calendar-agenda-day {
  display: grid;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
}

.booking-calendar-agenda-day header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.booking-calendar-agenda-day header span,
.booking-calendar-agenda-day header b {
  color: #536178;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-calendar-agenda-day header strong {
  display: block;
  color: #111827;
  font-size: 0.88rem;
}

.booking-calendar-agenda-day header b {
  border-radius: 999px;
  background: #eef4ff;
  color: #315aa6;
  padding: 4px 8px;
}

.booking-calendar-agenda-day-list {
  display: grid;
  gap: 8px;
}

.booking-calendar-agenda-item {
  --booking-calendar-tone: #64748b;
  --booking-calendar-soft: #f8fafc;
  --booking-calendar-text: #334155;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 3px 10px;
  width: 100%;
  border: 1px solid #dfe6ef;
  border-left: 4px solid var(--booking-calendar-tone);
  border-radius: 8px;
  background: var(--booking-calendar-soft);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}

.booking-calendar-agenda-item:hover {
  border-color: var(--booking-calendar-tone);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.booking-calendar-agenda-time {
  grid-row: span 3;
  align-self: start;
  border-radius: 999px;
  background: #fff;
  color: var(--booking-calendar-tone);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
  text-align: center;
}

.booking-calendar-agenda-item small {
  color: #667085;
  font-size: 0.7rem;
}

.booking-calendar-agenda-item strong {
  color: #101828;
  font-size: 0.82rem;
  line-height: 1.25;
}

.booking-calendar-agenda-item em {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  color: #536178;
  font-style: normal;
}

.booking-calendar-agenda-item em i {
  margin-left: auto;
  border: 1px solid #c9d7ed;
  border-radius: 999px;
  background: #fff;
  color: #315aa6;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  padding: 3px 8px;
}

.admin-dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  margin-top: 18px;
}

.admin-dashboard-output {
  display: grid;
  gap: 16px;
  font-family: "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.admin-dashboard-output button,
.admin-dashboard-output input,
.admin-dashboard-output select,
.admin-dashboard-output textarea {
  font-family: inherit;
}

.admin-dashboard-command-centre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  background:
    linear-gradient(115deg, #172238 0%, #243053 55%, #a64552 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(16, 25, 45, 0.13);
  padding: 22px 24px;
}

.admin-dashboard-command-centre h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 1.8vw, 2.08rem);
  font-weight: 700;
  line-height: 1.05;
}

.admin-dashboard-command-centre p {
  max-width: 760px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.91rem;
  line-height: 1.5;
}

.admin-dashboard-eyebrow {
  margin: 0 0 8px !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-dashboard-command-centre .plain-action {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.7);
  background: #fff;
  color: #b8424d;
  font-weight: 700;
}

.admin-dashboard-command-centre .admin-help-tip {
  background: rgba(255, 255, 255, 0.88);
  color: #4269a5;
}

.admin-dashboard-stat-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
}

.admin-dashboard-stat-card {
  appearance: none;
  display: grid;
  gap: 8px;
  min-height: 108px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 16px;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-dashboard-stat-card:hover,
.admin-dashboard-stat-card:focus-visible {
  border-color: #9db8dd;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
  outline: 0;
  transform: translateY(-1px);
}

.admin-dashboard-stat-card span {
  color: #7a8597;
  font-size: 0.79rem;
  font-weight: 700;
}

.admin-dashboard-stat-card strong {
  color: #111a2f;
  font-size: clamp(1.45rem, 1.8vw, 1.95rem);
  font-weight: 700;
  line-height: 1;
}

.admin-dashboard-stat-card small {
  color: #536178;
  line-height: 1.35;
}

.admin-dashboard-stat-blue {
  border-color: #c9dcfb;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.admin-dashboard-stat-green {
  border-color: #caead6;
  background: linear-gradient(180deg, #fff 0%, #f7fff9 100%);
}

.admin-dashboard-stat-amber {
  border-color: #f3d8a8;
  background: linear-gradient(180deg, #fff 0%, #fffcf4 100%);
}

.admin-dashboard-stat-red {
  border-color: #f1c7ce;
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.admin-dashboard-stat-purple {
  border-color: #d8d4f7;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.admin-dashboard-readiness {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.admin-readiness-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 300px));
  justify-content: start;
}

.admin-readiness-card {
  display: grid;
  align-items: start;
  align-content: start;
  gap: 10px;
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-readiness-card:hover,
.admin-readiness-card:focus-visible {
  border-color: #b9cbe4;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  outline: 0;
  transform: translateY(-1px);
}

.admin-readiness-card span {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  background: #eef4ff;
  color: #345f99;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 7px;
}

.admin-readiness-card h3 {
  margin: 8px 0 5px;
  color: #101828;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-readiness-card p {
  margin: 0;
  color: #536178;
  font-size: 0.76rem;
  line-height: 1.42;
}

.admin-readiness-pass {
  border-color: #caead6;
  background: #fbfffc;
}

.admin-readiness-pass span {
  background: #e8f8ee;
  color: #2f8753;
}

.admin-readiness-warn {
  border-color: #f1d29b;
  background: #fffbf4;
}

.admin-readiness-warn span {
  background: #fff0d4;
  color: #9a5b17;
}

.admin-dashboard-guidance-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.admin-dashboard-guidance-card {
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.025);
  padding: 13px;
}

.admin-dashboard-guidance-card.is-actionable {
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-dashboard-guidance-card.is-actionable:hover,
.admin-dashboard-guidance-card.is-actionable:focus-visible {
  border-color: #b9cbe4;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  outline: 0;
  transform: translateY(-1px);
}

.admin-dashboard-guidance-card h3 {
  margin: 0;
  color: #101828;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-dashboard-guidance-card p,
.admin-dashboard-quick-heading p,
.admin-dashboard-quick-card p {
  margin: 0;
  color: #536178;
  font-size: 0.84rem;
  line-height: 1.48;
}

.admin-dashboard-quick-access {
  gap: 15px;
  padding: 18px;
}

.admin-dashboard-quick-heading {
  align-items: flex-start;
  margin-bottom: 0;
}

.admin-dashboard-quick-heading h2 {
  margin: 0 0 4px;
  font-size: 1.22rem;
  font-weight: 700;
}

.admin-dashboard-quick-section {
  display: grid;
  gap: 10px;
  border-top: 1px solid #edf1f6;
  padding-top: 14px;
}

.admin-dashboard-quick-section h3 {
  margin: 0;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: none;
}

.admin-dashboard-quick-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 300px));
  justify-content: start;
}

.admin-dashboard-quick-grid-three {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 300px));
}

.admin-dashboard-quick-grid-two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 300px));
}

.admin-dashboard-quick-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
  cursor: pointer;
  min-height: 156px;
  padding: 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-dashboard-quick-card:hover,
.admin-dashboard-quick-card:focus-visible {
  border-color: #b9cbe4;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
  outline: 0;
  transform: translateY(-1px);
}

.admin-dashboard-card-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f7fbff;
  color: #49637f;
}

.admin-dashboard-card-icon svg {
  width: 16px;
  height: 16px;
}

.admin-dashboard-card-icon-blue {
  border-color: #d7e7ff;
  background: #f2f7ff;
  color: #416aac;
}

.admin-dashboard-card-icon-green {
  border-color: #ccefd9;
  background: #f0fff6;
  color: #2f8753;
}

.admin-dashboard-card-icon-amber {
  border-color: #efdfbd;
  background: #fff8ed;
  color: #b76727;
}

.admin-dashboard-card-icon-purple {
  border-color: #dad8fb;
  background: #f6f4ff;
  color: #6256cc;
}

.admin-dashboard-card-icon-red {
  border-color: #f3cbd1;
  background: #fff5f6;
  color: #b8424d;
}

.admin-dashboard-quick-card h4 {
  margin: 0;
  color: #101828;
  font-size: 0.92rem;
  font-weight: 700;
}

.sbe-admin-body .admin-dashboard-card-action {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: auto;
  min-height: 32px;
  margin-top: 2px;
  border-radius: 7px;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 9px 18px rgba(184, 66, 77, 0.14);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 7px 11px;
}

.admin-dispatch-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  margin-top: 18px;
}

.admin-dispatch-workspace > *,
.admin-dispatch-side,
.admin-card-panel {
  min-width: 0;
}

.admin-dispatch-workspace > .admin-card-panel {
  overflow-x: hidden;
}

.admin-dispatch-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.admin-dispatch-filter-bar {
  display: grid;
  align-items: end;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.admin-dispatch-filter-bar label {
  display: grid;
  gap: 6px;
  color: #42526a;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-dispatch-filter-bar p {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: #667085;
  font-size: 0.86rem;
}

.admin-card-panel {
  display: grid;
  gap: 14px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.admin-help-panel {
  grid-column: 1 / -1;
}

.admin-help-lead {
  margin: 0;
  color: #344054;
  line-height: 1.55;
}

.admin-help-columns {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-help-columns h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.admin-check-list,
.admin-help-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-check-list li,
.admin-help-list li {
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #f8fbff;
  color: #344054;
  padding: 10px 12px;
}

.admin-check-list li::before {
  content: "";
  display: inline-block;
  width: 0.58rem;
  height: 0.58rem;
  margin-right: 8px;
  border: 2px solid #0b7ed8;
  border-radius: 999px;
  vertical-align: -1px;
}

.admin-users-workspace {
  display: grid;
  gap: 16px;
  max-width: 1180px;
}

.admin-users-heading {
  display: grid;
  gap: 6px;
}

.admin-users-heading span {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-users-heading h2,
.admin-users-heading p {
  margin: 0;
}

.admin-users-scope-note {
  margin-top: 6px !important;
  color: #667085;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

.admin-users-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.admin-users-status-card {
  appearance: none;
  display: grid;
  position: relative;
  gap: 7px;
  min-height: 106px;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.055);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 13px;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-users-status-card:hover,
.admin-users-status-card:focus-visible {
  border-color: #6ac38f;
  box-shadow: 0 16px 32px rgba(22, 101, 52, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.admin-users-status-card.is-active {
  border-color: #1f9d62;
  box-shadow: 0 16px 34px rgba(22, 101, 52, 0.14);
}

.admin-users-status-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: #2563eb;
}

.admin-users-status-card span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-users-status-card strong {
  color: #101828;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
}

.admin-users-status-card small {
  color: #536178;
  font-size: 0.78rem;
  line-height: 1.35;
}

.admin-users-status-card em {
  align-self: end;
  color: #176b4a;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.admin-users-status-blue {
  border-color: #c8dcf8;
  background: #f6faff;
}

.admin-users-status-blue::before {
  background: #2563eb;
}

.admin-users-status-amber {
  border-color: #f3d8a8;
  background: #fffcf4;
}

.admin-users-status-amber::before {
  background: #d08713;
}

.admin-users-status-green {
  border-color: #caead6;
  background: #f7fff9;
}

.admin-users-status-green::before {
  background: #22a06b;
}

.admin-users-card {
  display: grid;
  position: relative;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.052);
  overflow: hidden;
  padding: 16px;
}

.admin-users-card[hidden] {
  display: none !important;
}

.admin-users-card.is-active {
  border-color: #7bd3a0;
  box-shadow: 0 18px 38px rgba(22, 101, 52, 0.12);
}

.admin-users-card.is-active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #25b66d, #0f8a55);
}

.admin-users-compact-grid,
.admin-users-text-grid,
.admin-users-check-grid {
  display: grid;
  gap: 10px;
}

.admin-users-compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-users-text-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-users-check-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-users-guidance-checks {
  grid-template-columns: minmax(0, 1fr);
}

.admin-users-wide {
  grid-column: 1 / -1;
}

.admin-users-card label {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-users-card input,
.admin-users-card select,
.admin-users-card textarea {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 0.82rem;
}

.admin-users-card input:focus,
.admin-users-card select:focus,
.admin-users-card textarea:focus {
  border-color: #24a66a;
  box-shadow: 0 0 0 3px rgba(34, 166, 106, 0.12);
  outline: none;
}

.admin-users-card .settings-check-group {
  margin: 0;
}

.admin-users-card .settings-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-users-widget-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid #d9eee2;
  border-radius: 8px;
  background: #f6fbf8;
  padding: 10px;
}

.admin-users-widget-preview span,
.admin-users-empty-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #bfe7cf;
  border-radius: 999px;
  background: #ffffff;
  color: #145c42;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 9px;
}

.admin-users-empty-chip {
  color: #667085;
}

.admin-users-prepared-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #bfecd1;
  border-radius: 999px;
  background: #effaf3;
  color: #145c42;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 4px 9px;
  white-space: nowrap;
}

.admin-users-prepared-amber {
  border-color: #f1d69d;
  background: #fff8e8;
  color: #8a5a05;
}

.admin-users-enforcement-note {
  display: grid;
  gap: 3px;
  border: 1px solid #f0d49f;
  border-radius: 8px;
  background: #fffaf0;
  color: #66501e;
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 10px 12px;
}

.admin-users-enforcement-note strong {
  color: #7a4e03;
  font-size: 0.78rem;
}

.admin-users-enforcement-note-soft {
  border-color: #d6eadf;
  background: #f7fcf9;
  color: #355a49;
}

.admin-users-enforcement-note-soft strong {
  color: #176b4a;
}

.admin-users-guidance-details {
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px 12px;
}

.admin-users-guidance-details summary {
  cursor: pointer;
  color: #172033;
  font-weight: 800;
}

.admin-users-guidance-details[open] summary {
  margin-bottom: 10px;
}

.admin-users-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.sbe-admin-body .admin-users-action-row .primary-action {
  width: fit-content;
  min-height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #178153, #25a66a);
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 128, 82, 0.22);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 14px;
}

@media (max-width: 640px) {
  .admin-users-status-grid,
  .admin-users-compact-grid,
  .admin-users-text-grid,
  .admin-users-check-grid,
  .admin-users-card .settings-check-grid {
    grid-template-columns: 1fr;
  }

  .admin-users-card,
  .admin-users-guidance-details {
    padding: 12px;
  }

  .admin-users-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .sbe-admin-body .admin-users-action-row .primary-action {
    width: 100%;
  }
}

.admin-price-breakdown-panel {
  display: grid;
  gap: 14px;
  margin: 16px 0;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.admin-booking-detail-shell .admin-price-breakdown-panel {
  margin: 0;
  background: #fff;
}

.admin-price-breakdown-panel > summary strong {
  margin-left: auto;
  color: #0f172a;
  font-size: 0.95rem;
}

.admin-price-breakdown-panel[open] > summary {
  margin-bottom: 4px;
}

.admin-price-breakdown-panel .admin-panel-heading {
  margin: 0;
}

.admin-price-breakdown-panel .admin-panel-heading h3 {
  margin: 0;
}

.admin-price-breakdown-panel .admin-panel-heading span {
  color: #667085;
  font-size: 0.86rem;
}

.admin-price-breakdown-panel .admin-panel-heading > strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.admin-price-breakdown-list {
  display: grid;
  gap: 8px;
}

.admin-price-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e3eaf3;
  padding-bottom: 8px;
}

.admin-price-breakdown-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-price-breakdown-row span {
  color: #42526a;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-price-breakdown-row strong {
  color: #0f172a;
}

.admin-price-code-grid {
  margin: 0;
}

.admin-customer-detail-panel {
  margin-top: 16px;
}

.settings-overview-output {
  display: grid;
  gap: 16px;
}

.reports-summary-output {
  display: grid;
  gap: 16px;
}

.admin-ops-export-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(14, 24, 48, 0.98) 0%, rgba(22, 34, 66, 0.96) 50%, rgba(184, 66, 77, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  color: #fff;
  padding: 24px;
}

.admin-ops-export-hero > div:first-child {
  display: grid;
  gap: 8px;
}

.admin-ops-export-hero span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-ops-export-hero h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.1;
}

.admin-ops-export-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.admin-ops-export-hero .admin-help-tip {
  background: #2f68b8;
  color: #fff;
}

.admin-ops-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-audit-command-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-audit-command-card {
  display: grid;
  gap: 6px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #2f68b8;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.admin-reports-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-report-breakdown {
  padding: 14px;
}

.admin-report-list {
  display: grid;
  gap: 8px;
}

.admin-report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e8edf3;
  padding: 8px 0;
}

.admin-report-row:last-child {
  border-bottom: 0;
}

.admin-report-exports {
  padding: 14px;
  margin-top: 16px;
}

.admin-report-export-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-report-export-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  text-decoration: none;
  background: #fff;
}

.admin-report-export-link span {
  display: grid;
  gap: 3px;
}

.admin-report-export-link small {
  color: var(--muted);
}

.admin-report-export-link b {
  color: var(--accent);
  white-space: nowrap;
}

.settings-overview-output h3 {
  margin: 4px 0 0;
  font-size: 1rem;
}

.settings-default-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-driver-roster {
  display: grid;
  gap: 12px;
}

.admin-driver-roster-card {
  display: grid;
  gap: 10px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  padding: 12px;
}

.admin-driver-roster-card > form {
  display: grid;
  gap: 12px;
}

.admin-driver-roster-card h3 {
  margin: 0;
}

.admin-driver-roster-card > div:first-child {
  display: grid;
  gap: 4px;
}

.admin-driver-roster-card span {
  color: #667085;
  font-size: 0.86rem;
}

.admin-drivers-board {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.admin-drivers-board > * {
  max-width: 100%;
  min-width: 0;
}

.admin-drivers-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(14, 24, 48, 0.98) 0%, rgba(22, 34, 66, 0.96) 48%, rgba(184, 66, 77, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  color: #fff;
  padding: 28px;
}

.admin-drivers-hero > div {
  display: grid;
  gap: 10px;
}

.admin-drivers-hero span,
.admin-driver-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-drivers-hero > div > span {
  color: rgba(255, 255, 255, 0.74);
}

.admin-drivers-hero h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
}

.admin-drivers-hero p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.45;
}

.admin-drivers-hero .admin-help-tip {
  background: #2f68b8;
  color: #fff;
}

.sbe-admin-body .admin-drivers-hero .primary-action,
.sbe-admin-body .admin-driver-create-card .primary-action {
  justify-self: start;
  width: auto;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body .admin-drivers-hero .primary-action {
  min-width: 220px;
}

.sbe-admin-body .admin-driver-create-card .primary-action {
  min-width: 160px;
}

.admin-driver-important {
  display: grid;
  gap: 8px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #b8424d;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
  padding: 16px 18px;
}

.admin-driver-important h3 {
  margin: 0;
  color: #101828;
  font-size: 0.98rem;
}

.admin-driver-important p,
.admin-driver-filter-note,
.admin-driver-create-card .admin-panel-heading span {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.admin-driver-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.admin-driver-status-card {
  display: grid;
  gap: 6px;
  min-height: 88px;
  cursor: pointer;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
  padding: 12px;
  text-align: left;
}

.admin-driver-status-card strong {
  color: #101828;
  font-size: 1.45rem;
  line-height: 1;
}

.admin-driver-status-card small {
  color: #536178;
  font-size: 0.72rem;
  line-height: 1.35;
}

.admin-driver-status-card.is-active,
.admin-driver-status-card:focus,
.admin-driver-status-card:hover {
  border-color: #6f8ed6;
  box-shadow: inset 4px 0 0 #6f8ed6, 0 12px 26px rgba(15, 23, 42, 0.06);
}

.admin-driver-search-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.admin-driver-search-form label {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-driver-search-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d7dfeb;
  border-radius: 8px;
  font: inherit;
  padding: 8px 10px;
}

.admin-driver-filter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  padding: 14px 16px;
}

.admin-driver-filter-strip small {
  color: #536178;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-driver-table-card {
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.admin-driver-table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.admin-driver-table-row {
  grid-template-columns:
    48px
    minmax(88px, 0.85fr)
    minmax(112px, 1fr)
    minmax(104px, 0.9fr)
    minmax(112px, 0.95fr)
    minmax(70px, 0.6fr)
    minmax(108px, 0.9fr)
    minmax(150px, 0.95fr);
  align-items: start;
  gap: 8px;
  min-width: 0;
}

.admin-driver-photo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 34px;
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fbff;
  color: #49637f;
  font-weight: 900;
}

.admin-driver-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-driver-photo-empty {
  background: #f2f7ff;
}

.admin-driver-name-cell,
.admin-driver-contact-cell,
.admin-driver-phone-cell,
.admin-driver-vehicle-cell,
.admin-driver-reg-cell,
.admin-driver-date-cell,
.admin-driver-bank-cell,
.admin-driver-count-cell,
.admin-driver-availability-cell,
.admin-driver-status-cell,
.admin-driver-recent-cell,
.admin-driver-compliance-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-driver-name-cell strong,
.admin-driver-contact-cell strong,
.admin-driver-phone-cell strong,
.admin-driver-vehicle-cell strong,
.admin-driver-reg-cell strong,
.admin-driver-date-cell strong,
.admin-driver-bank-cell strong,
.admin-driver-count-cell strong,
.admin-driver-availability-cell strong,
.admin-driver-status-cell strong,
.admin-driver-recent-cell strong,
.admin-driver-compliance-cell strong {
  color: #101828;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-driver-name-cell small,
.admin-driver-contact-cell small,
.admin-driver-phone-cell small,
.admin-driver-vehicle-cell small,
.admin-driver-reg-cell small,
.admin-driver-date-cell small,
.admin-driver-bank-cell small,
.admin-driver-count-cell small,
.admin-driver-availability-cell small,
.admin-driver-status-cell span,
.admin-driver-recent-cell span,
.admin-driver-compliance-cell small {
  color: #667085;
  font-size: 0.71rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.admin-driver-account-pill {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 24px;
  border: 1px solid #b7e4c6;
  border-radius: 8px;
  background: #ecfdf3;
  color: #087443;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  padding: 5px 9px;
}

.admin-driver-account-pill.is-deactivated {
  border-color: #e5e7eb;
  background: #f8fafc;
  color: #667085;
}

.admin-driver-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.admin-action-tabs {
  align-items: center;
}

.admin-action-tab,
.admin-driver-actions .plain-action.admin-action-tab {
  min-height: 38px;
  border-radius: 8px;
  border-color: #d8e2f2;
  background: #fff;
  color: #344054;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.admin-action-tab:hover,
.admin-action-tab:focus {
  border-color: #9eb5e9;
  color: #1f3d8f;
  box-shadow: 0 12px 24px rgba(31, 61, 143, 0.12);
}

.admin-action-tab-open {
  color: #253b66;
}

.admin-action-tab-edit {
  border-color: #c8d8fb;
  background: #f6f9ff;
  color: #2457c5;
}

.admin-action-tab-danger {
  border-color: #f2ccd2;
  background: #fff7f8;
  color: #a43f4b;
}

.admin-action-tab-success {
  border-color: #bfe8d0;
  background: #f1fbf5;
  color: #087443;
}

.admin-driver-row-inactive {
  background: #fbfcfe;
  box-shadow: inset 4px 0 0 #e5e7eb;
}

.admin-driver-compliance-expired strong,
.admin-driver-compliance-due strong,
.admin-driver-compliance-missing strong {
  color: #9f3d4a;
}

.admin-driver-compliance-ok strong {
  color: #166534;
}

.admin-driver-no-match,
.admin-driver-empty-card {
  padding: 18px;
}

.admin-driver-modal-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.42);
  padding: 24px;
}

.admin-driver-modal {
  display: grid;
  gap: 16px;
  width: min(980px, 94vw);
  max-height: 88vh;
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  padding: 18px;
}

.admin-driver-account-action-modal {
  display: grid;
  gap: 12px;
  width: min(520px, 94vw);
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  padding: 22px;
}

.admin-driver-account-action-modal h3 {
  margin: 0;
  color: #101828;
  font-size: 1.18rem;
  line-height: 1.25;
}

.admin-driver-account-action-modal p {
  margin: 0;
  color: #536178;
  font-size: 0.88rem;
  line-height: 1.55;
}

.admin-driver-account-action-badge {
  justify-self: start;
  border: 1px solid #f2ccd2;
  border-radius: 8px;
  background: #fff7f8;
  color: #a43f4b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 10px;
}

.admin-driver-account-action-success {
  border-color: #bfe8d0;
  background: #f1fbf5;
  color: #087443;
}

.admin-driver-account-action-summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 12px;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.admin-driver-account-action-summary span {
  color: #667085;
  font-size: 0.74rem;
  font-weight: 700;
}

.admin-driver-account-action-summary strong {
  color: #101828;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.admin-driver-account-action-summary .admin-driver-account-pill {
  margin-top: -2px;
}

.admin-driver-account-action-note {
  min-height: 22px;
}

.admin-driver-account-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #edf1f5;
  padding-top: 12px;
}

.admin-driver-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf1f5;
  padding-bottom: 12px;
}

.admin-driver-modal-title,
.admin-driver-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-driver-modal-title span {
  display: grid;
  gap: 2px;
}

.admin-driver-modal-title strong {
  color: #101828;
  font-size: 1rem;
}

.admin-driver-modal-title small {
  color: #667085;
  font-size: 0.76rem;
}

.admin-driver-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-driver-detail-grid section {
  display: grid;
  gap: 8px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.admin-driver-detail-grid h3 {
  margin: 0;
  color: #101828;
  font-size: 0.86rem;
}

.admin-driver-detail-documents-section {
  grid-column: 1 / -1;
}

.admin-driver-detail-documents {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-driver-detail-document {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 8px 10px;
}

.admin-driver-detail-document span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-driver-detail-document strong {
  color: #101828;
  font-size: 0.76rem;
}

.admin-driver-detail-document small {
  color: #667085;
  font-size: 0.72rem;
}

.admin-driver-detail-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.admin-driver-detail-item span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-driver-detail-item strong,
.admin-driver-detail-wide p {
  margin: 0;
  color: #101828;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-driver-detail-wide {
  grid-column: 1 / -1;
}

.plain-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.admin-driver-action-note {
  color: #b8424d;
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-driver-editors {
  display: grid;
  gap: 10px;
}

.admin-driver-editors h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #101828;
}

.admin-driver-editor-card {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  padding: 0;
}

.admin-driver-editor-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  padding: 14px 16px;
}

.admin-driver-editor-card summary span {
  color: #101828;
  font-weight: 900;
}

.admin-driver-editor-card summary small {
  color: #667085;
}

.admin-driver-editor-card form {
  border-top: 1px solid #edf1f6;
  padding: 16px;
}

.admin-driver-create-card {
  gap: 16px;
}

.admin-driver-create-card .admin-panel-heading {
  margin-bottom: 0;
}

.admin-account-guidance-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-account-guidance-grid article {
  display: grid;
  gap: 5px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
}

.admin-account-create-form {
  gap: 14px;
}

.admin-customers-board {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.admin-customers-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(14, 24, 48, 0.98) 0%, rgba(21, 37, 68, 0.96) 48%, rgba(184, 66, 77, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  color: #fff;
  padding: 28px;
}

.admin-customers-hero > div {
  display: grid;
  gap: 10px;
}

.admin-customers-hero span,
.admin-customer-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-customers-hero > div > span {
  color: rgba(255, 255, 255, 0.74);
}

.admin-customers-hero h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
}

.admin-customers-hero p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.45;
}

.admin-customers-hero .admin-help-tip {
  background: #2f68b8;
  color: #fff;
}

.sbe-admin-body .admin-customers-hero .primary-action,
.sbe-admin-body .admin-customer-detail-hero .primary-action,
.sbe-admin-body .admin-customer-create-card .primary-action {
  justify-self: start;
  width: auto;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.admin-customer-hero-actions,
.admin-customer-detail-actions,
.admin-customer-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-customer-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
}

.admin-customer-status-card {
  display: grid;
  gap: 8px;
  min-height: 100px;
  cursor: pointer;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #6f8ed6;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
  padding: 12px;
  text-align: left;
}

.admin-customer-status-card strong {
  font-size: 1.7rem;
  line-height: 1;
}

.admin-customer-status-purple {
  border-left-color: #7c3aed;
}

.admin-filter-context-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  color: #536178;
  font-size: 0.84rem;
  padding: 10px 12px;
}

.admin-filter-context-strip strong {
  color: #101828;
}

.admin-customer-help {
  display: grid;
  gap: 8px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #2f68b8;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}

.admin-customer-help h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #101828;
  font-size: 0.98rem;
}

.admin-customer-help p {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.admin-customer-page-info {
  display: grid;
  gap: 8px;
  border: 1px solid #dbeafe;
  border-left: 4px solid #2f68b8;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px 16px;
}

.admin-customer-page-info h3 {
  margin: 0;
  color: #101828;
  font-size: 0.98rem;
}

.admin-customer-page-info p {
  max-width: 980px;
  margin: 0;
  color: #475467;
  line-height: 1.5;
}

.admin-customer-list-card,
.admin-customer-create-card {
  display: grid;
  gap: 14px;
}

.admin-customer-notice {
  display: grid;
  gap: 4px;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: 8px;
  background: #f0fdf4;
  color: #14532d;
  padding: 12px 14px;
}

.admin-customer-notice-danger {
  border-color: #fecdd3;
  border-left-color: #e11d48;
  background: #fff1f2;
  color: #881337;
}

.admin-customer-notice strong {
  color: inherit;
  font-size: 0.92rem;
}

.admin-customer-notice span {
  color: inherit;
  font-size: 0.84rem;
}

.admin-customer-empty-state {
  display: grid;
  gap: 8px;
  justify-items: start;
  border: 1px dashed #b8c4d6;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 18px;
}

.admin-customer-empty-state strong {
  color: #101828;
  font-size: 1rem;
}

.admin-customer-empty-state span {
  color: #536178;
  line-height: 1.45;
}

.admin-customer-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-customer-table {
  overflow-x: auto;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
}

.admin-customer-table-row {
  display: grid;
  grid-template-columns:
    minmax(210px, 1.35fr)
    minmax(190px, 1.12fr)
    minmax(170px, 0.95fr)
    minmax(130px, 0.7fr)
    minmax(130px, 0.72fr)
    minmax(220px, 1.2fr);
  gap: 14px;
  align-items: center;
  min-width: 1080px;
  border-bottom: 1px solid #edf1f5;
  padding: 12px 14px;
}

.admin-customer-table-row:last-child {
  border-bottom: 0;
}

.admin-customer-table-head {
  min-height: 42px;
  background: #f8fafc;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-customer-name-cell,
.admin-customer-contact-cell,
.admin-customer-account-cell,
.admin-customer-booking-cell,
.admin-customer-status-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-customer-name-cell {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
}

.admin-customer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #eef4ff;
  color: #175cd3;
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-customer-name-cell strong,
.admin-customer-contact-cell span,
.admin-customer-account-cell span,
.admin-customer-booking-cell strong {
  min-width: 0;
  overflow: hidden;
  color: #101828;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-customer-name-cell small,
.admin-customer-name-cell em,
.admin-customer-contact-cell small,
.admin-customer-account-cell small,
.admin-customer-booking-cell small {
  min-width: 0;
  overflow: hidden;
  color: #667085;
  font-size: 0.78rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-customer-name-cell em {
  color: #b8424d;
  font-weight: 800;
}

.admin-customer-toggle {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #536178;
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-customer-toggle input {
  width: 16px;
  height: 16px;
}

.admin-customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-customer-actions .plain-action {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-customer-actions .admin-customer-action-primary {
  border-color: rgba(47, 104, 184, 0.28);
  background: #eef4ff;
  color: #175cd3;
  font-weight: 900;
}

.admin-customer-add-board,
.admin-customer-detail-page,
.admin-customer-notes-board,
.admin-customer-profile-grid {
  display: grid;
  gap: 16px;
}

.admin-customer-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: 10px;
  background: #101828;
  color: #fff;
  padding: 22px;
}

.admin-customer-detail-hero span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-customer-detail-hero h2 {
  margin: 0;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.15;
}

.admin-customer-detail-hero p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.admin-customer-form-card {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.admin-customer-form-card h3 {
  margin: 0;
  color: #101828;
  font-size: 1rem;
}

.admin-customer-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-customer-form-grid label,
.admin-customer-advanced label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-customer-form-grid input,
.admin-customer-form-grid select,
.admin-customer-form-grid textarea,
.admin-customer-advanced input {
  width: 100%;
  min-width: 0;
}

.admin-customer-wide-field {
  grid-column: 1 / -1;
}

.admin-customer-checkbox {
  align-self: end;
}

.admin-customer-advanced {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.admin-customer-advanced summary {
  cursor: pointer;
  color: #344054;
  font-weight: 900;
}

.admin-customer-advanced label {
  margin-top: 12px;
}

.admin-customer-notes-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-customer-note-card {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #b8424d;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
  padding: 14px;
}

.admin-customer-note-card span {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-customer-note-card strong {
  display: block;
  color: #101828;
}

.admin-customer-note-card small,
.admin-customer-note-meta {
  color: #667085;
  font-size: 0.82rem;
}

.admin-customer-note-card p {
  margin: 0;
  color: #344054;
  line-height: 1.5;
}

.admin-customer-note-meta {
  display: grid;
  gap: 4px;
}

.admin-create-customer-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #14532d;
  padding: 10px 12px;
}

.admin-create-customer-link strong {
  color: inherit;
  font-size: 0.82rem;
}

.admin-create-customer-link span {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-vehicle-class-board {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.admin-vehicle-class-board > * {
  max-width: 100%;
  min-width: 0;
}

.admin-vehicle-class-board h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #101828;
  font-size: 1.8rem;
}

.admin-vehicle-class-board p {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.admin-vehicle-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.admin-vehicle-status-card {
  display: grid;
  gap: 10px;
  min-height: 126px;
  cursor: pointer;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 16px;
  text-align: left;
}

.admin-vehicle-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-vehicle-status-card strong {
  color: #101828;
  font-size: 2rem;
  line-height: 1;
}

.admin-vehicle-status-card small {
  color: #536178;
  font-size: 0.9rem;
}

.admin-vehicle-status-card.is-active,
.admin-vehicle-status-card:focus,
.admin-vehicle-status-card:hover {
  border-color: #6f8ed6;
}

.admin-vehicle-notice {
  display: grid;
  gap: 4px;
  border: 1px solid #c7e7d6;
  border-left: 4px solid #139a5a;
  border-radius: 8px;
  background: #f3fbf6;
  color: #05603a;
  padding: 12px 14px;
}

.admin-vehicle-notice strong {
  color: #05603a;
  font-size: 0.92rem;
}

.admin-vehicle-notice span {
  color: #26724f;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-vehicle-notice-danger {
  border-color: #f2ccd2;
  border-left-color: #b8424d;
  background: #fff7f8;
  color: #a43f4b;
}

.admin-vehicle-notice-danger strong,
.admin-vehicle-notice-danger span {
  color: #a43f4b;
}

.admin-vehicle-guidance {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #416aac;
  background: #fff;
  padding: 16px 18px;
}

.admin-vehicle-guidance h3 {
  margin: 0;
  color: #101828;
  font-size: 0.98rem;
}

.admin-vehicle-create-card,
.admin-vehicle-current-card {
  display: grid;
  gap: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 18px;
}

.admin-vehicle-class-form {
  gap: 16px;
  border: 0;
  padding: 0;
}

.admin-vehicle-form-badges,
.admin-vehicle-table-badges,
.admin-vehicle-capacity-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-vehicle-form-badges {
  justify-content: flex-end;
}

.admin-vehicle-form-badges span,
.admin-vehicle-table-badges span,
.admin-vehicle-capacity-badges span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #f2f7ff;
  color: #315eb4;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}

.admin-vehicle-form-badges span:nth-child(2),
.admin-vehicle-table-badges span:first-child {
  background: #ecfdf3;
  color: #15803d;
}

.admin-vehicle-form-badges span:nth-child(3),
.admin-vehicle-table-badges span:nth-child(3) {
  background: #f2f4ff;
  color: #4f46e5;
}

.admin-vehicle-form-badges span:nth-child(4) {
  background: #fff7ed;
  color: #9a3412;
}

.admin-vehicle-preview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-vehicle-preview-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.admin-vehicle-preview-grid span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-vehicle-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.admin-vehicle-form-section {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 16px;
}

.admin-vehicle-form-section:nth-child(5) {
  max-width: 420px;
}

.admin-vehicle-form-section h3 {
  margin: 0;
  color: #101828;
  font-size: 1rem;
}

.admin-vehicle-form-section label,
.admin-vehicle-two-grid label {
  display: grid;
  gap: 7px;
  color: #101828;
  font-weight: 800;
}

.admin-vehicle-form-section small,
.admin-vehicle-two-grid small {
  color: #667085;
  font-weight: 500;
  line-height: 1.4;
}

.admin-vehicle-pricing-note {
  margin: 0;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  background: #ffffff;
  color: #536178;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  padding: 10px 12px;
}

.admin-vehicle-two-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-vehicle-safe-order {
  display: grid;
  gap: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.admin-vehicle-safe-order span,
.admin-vehicle-safe-order strong {
  color: #101828;
}

.admin-vehicle-class-form .primary-action {
  justify-self: start;
  width: auto;
  min-width: 160px;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.admin-vehicle-class-form .checkbox-line input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: #5b8792;
}

.admin-vehicle-current-card .admin-panel-heading {
  margin-bottom: 0;
}

.admin-vehicle-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.admin-vehicle-table-scroll .admin-vehicle-class-row {
  grid-template-columns:
    minmax(54px, 0.35fr)
    minmax(220px, 1.35fr)
    minmax(210px, 1.25fr)
    minmax(150px, 0.9fr)
    minmax(120px, 0.72fr)
    minmax(120px, 0.72fr)
    minmax(150px, 0.88fr)
    minmax(130px, 0.75fr);
  align-items: start;
  min-width: 1180px;
}

.admin-vehicle-class-row .admin-vehicle-class-name,
.admin-vehicle-class-row .admin-vehicle-class-capacity,
.admin-vehicle-class-row .admin-vehicle-image-cell,
.admin-vehicle-class-row .admin-vehicle-actions {
  display: grid;
  gap: 6px;
}

.admin-vehicle-class-name strong,
.admin-vehicle-class-capacity strong,
.admin-vehicle-class-row strong {
  color: #101828;
}

.admin-vehicle-class-name small,
.admin-vehicle-class-row small {
  color: #667085;
}

.admin-vehicle-table-image {
  width: 84px;
  height: 44px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  object-fit: contain;
  background: #f8fbff;
}

.admin-vehicle-image-cell a,
.admin-vehicle-actions span {
  color: #b8424d;
  font-weight: 800;
  text-decoration: none;
}

.admin-vehicle-editors {
  display: grid;
  gap: 10px;
}

.admin-vehicle-editor-details {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
}

.admin-vehicle-editor-details summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
}

.admin-vehicle-editor-details summary span {
  color: #101828;
  font-weight: 900;
}

.admin-vehicle-editor-details summary small {
  color: #667085;
}

.admin-vehicle-editor-details .admin-vehicle-class-form {
  border-top: 1px solid #edf1f6;
  padding: 16px;
}

.admin-real-vehicle-records {
  margin-top: 12px;
}

.admin-vehicle-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(14, 24, 48, 0.98) 0%, rgba(22, 34, 66, 0.96) 48%, rgba(184, 66, 77, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  color: #fff;
  padding: 26px 28px;
}

.admin-vehicle-hero > div {
  display: grid;
  gap: 9px;
}

.admin-vehicle-hero span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-vehicle-hero h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
}

.admin-vehicle-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.45;
}

.admin-vehicle-hero .admin-help-tip {
  background: #2f68b8;
  color: #fff;
}

.sbe-admin-body .admin-vehicle-hero .primary-action {
  width: auto;
  min-width: 180px;
  background: #fff;
  color: #b8424d;
  box-shadow: none;
}

.sbe-admin-body .admin-vehicle-hero .outline-action {
  border-color: rgba(255, 255, 255, 0.72);
  background: #fff;
  color: #b8424d;
}

.admin-vehicle-important,
.admin-vehicle-form-card {
  display: grid;
  gap: 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 16px 18px;
}

.admin-vehicle-important {
  border-left: 4px solid #b8424d;
}

.admin-vehicle-important h3 {
  margin: 0;
  color: #101828;
  font-size: 0.96rem;
}

.admin-vehicle-form-page {
  max-width: 1180px;
}

.admin-vehicle-form-card {
  max-width: 1040px;
}

.admin-vehicle-form-card .admin-vehicle-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-vehicle-form-card .admin-vehicle-form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-vehicle-form-card .admin-vehicle-form-section:nth-child(5) {
  max-width: none;
}

.admin-vehicle-form-section label,
.admin-vehicle-two-grid label {
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-vehicle-form-section input,
.admin-vehicle-form-section select,
.admin-vehicle-form-section textarea {
  min-height: 38px;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 10px;
}

.admin-vehicle-form-section small,
.admin-vehicle-form-section p,
.admin-vehicle-two-grid small {
  font-size: 0.78rem;
  font-weight: 500;
}

.admin-vehicle-photo-control {
  display: grid;
  gap: 10px;
}

.admin-vehicle-photo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-vehicle-photo-actions small {
  color: #667085;
  flex-basis: 100%;
  font-weight: 500;
}

.admin-vehicle-photo-path-details,
.admin-driver-picture-path-details {
  background: rgba(248, 251, 255, 0.72);
  border-radius: 8px;
  padding: 8px;
}

.admin-vehicle-advanced-fields {
  display: grid;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.admin-vehicle-advanced-fields summary {
  color: #40526b;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-vehicle-active-line {
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  border: 1px solid #dce7d9;
  border-radius: 8px;
  background: #f7fbf5;
  padding: 10px 12px;
}

.admin-vehicle-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-vehicle-class-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-vehicle-class-table .admin-vehicle-col-photo {
  width: 112px;
}

.admin-vehicle-class-table .admin-vehicle-col-name {
  width: auto;
}

.admin-vehicle-class-table .admin-vehicle-col-capacity {
  width: 190px;
}

.admin-vehicle-class-table .admin-vehicle-col-pricing {
  width: 160px;
}

.admin-vehicle-class-table .admin-vehicle-col-position {
  width: 116px;
}

.admin-vehicle-class-table .admin-vehicle-col-active {
  width: 124px;
}

.admin-vehicle-class-table .admin-vehicle-col-action {
  width: 94px;
}

.admin-vehicle-class-table th,
.admin-vehicle-class-table td {
  border-bottom: 1px solid #e6edf5;
  color: #253149;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.admin-vehicle-class-table th {
  background: #f7faff;
  color: #647084;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-vehicle-class-table th:nth-child(1),
.admin-vehicle-class-table td:nth-child(1),
.admin-vehicle-class-table th:nth-child(4),
.admin-vehicle-class-table td:nth-child(4),
.admin-vehicle-class-table th:nth-child(5),
.admin-vehicle-class-table td:nth-child(5),
.admin-vehicle-class-table th:nth-child(6),
.admin-vehicle-class-table td:nth-child(6),
.admin-vehicle-class-table th:nth-child(7),
.admin-vehicle-class-table td:nth-child(7) {
  text-align: center;
}

.admin-vehicle-class-table .admin-vehicle-class-name strong,
.admin-vehicle-class-table td > strong {
  display: block;
  color: #101828;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-vehicle-class-table .admin-vehicle-class-name small,
.admin-vehicle-class-table td > small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 500;
}

.admin-vehicle-class-table code {
  color: #40526b;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-vehicle-class-table .plain-action {
  min-height: 34px;
  padding: 7px 12px;
}

.admin-vehicle-class-row .admin-vehicle-class-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-vehicle-class-capacity span {
  display: inline-flex;
  margin: 2px;
  border-radius: 999px;
  background: #f2f7ff;
  color: #315eb4;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 7px;
}

.admin-vehicle-table-photo {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 54px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fbff;
  color: #667085;
  font-size: 0.7rem;
  font-weight: 700;
}

.admin-vehicle-table-photo.is-empty {
  background: #f7f8fa;
}

.admin-vehicle-table-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 7px;
  object-fit: contain;
}

.admin-vehicle-empty {
  color: #667085;
  text-align: center;
}

.admin-vehicle-active-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  border: 1px solid #dce7d9;
  border-radius: 999px;
  background: #f7fbf5;
  color: #2f5c36;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 8px;
}

.admin-vehicle-active-check input {
  width: 15px;
  height: 15px;
  min-height: 0;
  accent-color: #5b8792;
}

.optional-extras-workspace-shell {
  border-bottom: 0;
}

.optional-extras-workspace {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.optional-extras-workspace > * {
  max-width: 100%;
  min-width: 0;
}

.optional-extras-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.optional-extras-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #101828;
  font-size: 1.8rem;
}

.optional-extras-heading p,
.optional-extra-table-head p,
.optional-extra-footnote {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.sbe-admin-body .outline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #9bb4dc;
  border-radius: 8px;
  background: #fff;
  color: #335f9f;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 16px;
  text-decoration: none;
  white-space: nowrap;
}

.sbe-admin-body .outline-action.danger-action {
  color: #b8424d;
}

.optional-extra-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.optional-extra-status-card {
  display: grid;
  gap: 10px;
  min-height: 116px;
  cursor: pointer;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 16px;
  text-align: left;
}

.optional-extra-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
}

.optional-extra-status-card strong {
  color: #101828;
  font-size: 1.9rem;
  line-height: 1;
}

.optional-extra-status-card small {
  color: #536178;
  font-size: 0.9rem;
}

.optional-extra-status-card.is-active,
.optional-extra-status-card:focus,
.optional-extra-status-card:hover {
  border-color: #6f8ed6;
}

.optional-extra-guidance {
  display: grid;
  gap: 10px;
  border: 1px solid #c5d8ff;
  border-left: 4px solid #416aac;
  border-radius: 8px;
  background: #eef5ff;
  padding: 16px 18px;
}

.optional-extra-guidance h3,
.optional-extra-table-head h3 {
  margin: 0;
  color: #101828;
}

.optional-extra-guidance p {
  margin: 0;
  color: #2f405d;
  line-height: 1.5;
}

.optional-extras-bulk-form {
  display: grid;
  gap: 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 18px;
}

.optional-extra-table-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.optional-extra-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.optional-extra-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}

.optional-extra-table th,
.optional-extra-table td {
  border-bottom: 1px solid #e6edf5;
  border-right: 1px solid #e6edf5;
  padding: 12px;
  vertical-align: top;
}

.optional-extra-table th:last-child,
.optional-extra-table td:last-child {
  border-right: 0;
}

.optional-extra-table th {
  background: #f6f7f9;
  color: #101828;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.optional-extra-table th:first-child,
.optional-extra-table td:first-child {
  text-align: left;
}

.optional-extra-table input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #aeb7c3;
  border-radius: 8px;
  background: #fff;
  color: #101828;
  font: inherit;
  padding: 9px 11px;
}

.optional-extra-table input[readonly] {
  background: #f8fafc;
  color: #536178;
}

.optional-extra-label-cell {
  display: grid;
  gap: 8px;
}

.optional-extra-check-cell {
  text-align: center;
}

.optional-extra-check-cell input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: #5b8792;
}

.optional-extra-empty-row td {
  color: #667085;
  font-weight: 800;
  text-align: center;
}

.optional-extras-bulk-form .primary-action {
  justify-self: start;
  width: auto;
  min-width: 190px;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

@media (max-width: 980px) {
  .optional-extras-heading,
  .optional-extra-table-head {
    align-items: stretch;
    flex-direction: column;
  }

  .optional-extra-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .optional-extra-status-grid {
    grid-template-columns: 1fr;
  }

  .optional-extras-heading h2 {
    font-size: 1.45rem;
  }

  .optional-extras-bulk-form,
  .optional-extra-guidance {
    padding: 14px;
  }
}

.fixed-prices-workspace-shell {
  border-bottom: 0;
}

.fixed-prices-workspace {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.fixed-prices-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fixed-prices-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #101828;
  font-size: 1.8rem;
}

.fixed-prices-heading p,
.fixed-price-create-card p,
.fixed-price-current-card p {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.fixed-price-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.fixed-price-status-card {
  display: grid;
  gap: 10px;
  min-height: 116px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 16px;
}

.fixed-price-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
}

.fixed-price-status-card strong {
  color: #101828;
  font-size: 1.9rem;
  line-height: 1;
}

.fixed-price-status-card small {
  color: #536178;
}

.fixed-price-guidance {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #416aac;
  background: #fff;
  padding: 16px 18px;
}

.fixed-price-guidance h3 {
  margin: 0;
  color: #101828;
}

.fixed-price-guidance p {
  margin: 0;
  color: #2f405d;
  line-height: 1.5;
}

.fixed-price-create-card,
.fixed-price-current-card {
  display: grid;
  gap: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 18px;
}

.fixed-price-editor {
  gap: 16px;
  border: 0;
  padding: 0;
}

.fixed-price-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fixed-price-form-section {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 16px;
}

.fixed-price-form-section h3 {
  margin: 0;
  color: #101828;
}

.fixed-price-form-section label {
  display: grid;
  gap: 7px;
  color: #101828;
  font-weight: 800;
}

.fixed-price-form-section small {
  color: #667085;
  font-weight: 500;
  line-height: 1.4;
}

.fixed-price-advanced {
  display: grid;
  gap: 10px;
}

.fixed-price-advanced summary {
  cursor: pointer;
  color: #335f9f;
  font-weight: 800;
}

.fixed-price-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.fixed-price-table {
  width: 100%;
  min-width: 1160px;
  border-collapse: collapse;
  table-layout: fixed;
}

.fixed-price-id-col {
  width: 48px;
}

.fixed-price-route-col {
  width: 18%;
}

.fixed-price-place-col {
  width: 15%;
}

.fixed-price-journey-col {
  width: 84px;
}

.fixed-price-vehicles-col {
  width: 28%;
}

.fixed-price-order-col {
  width: 74px;
}

.fixed-price-status-col {
  width: 90px;
}

.fixed-price-actions-col {
  width: 132px;
}

.fixed-price-table th,
.fixed-price-table td {
  border-bottom: 1px solid #e6edf5;
  border-right: 1px solid #e6edf5;
  padding: 12px;
  vertical-align: top;
}

.fixed-price-table th:last-child,
.fixed-price-table td:last-child {
  border-right: 0;
}

.fixed-price-table th {
  background: #f6f7f9;
  color: #101828;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.fixed-price-table td {
  color: #25324a;
}

.fixed-price-table td strong,
.fixed-price-table td small {
  display: block;
}

.fixed-price-table td small {
  margin-top: 4px;
  color: #667085;
}

.fixed-price-table tr.is-selected td {
  background: #f4fbf6;
}

.fixed-price-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fixed-price-vehicle-pill {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid #dbe7de;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 9px;
}

.fixed-price-vehicle-pill span,
.fixed-price-vehicle-pill strong,
.fixed-price-vehicle-pill small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fixed-price-vehicle-pill span {
  color: #344054;
  font-size: 0.7rem;
  font-weight: 700;
}

.fixed-price-vehicle-pill strong {
  color: #102a1b;
  font-size: 0.88rem;
  font-weight: 800;
}

.fixed-price-vehicle-pill small {
  color: #667085;
  font-size: 0.68rem;
  font-weight: 600;
}

.fixed-price-vehicle-pill.is-inactive {
  border-color: #e4e7ec;
  background: #f8fafc;
  opacity: 0.72;
}

.fixed-price-row-action {
  width: 100%;
  min-height: 38px;
  justify-content: center;
}

.fixed-price-active-editor {
  display: grid;
  gap: 12px;
  border: 1px solid #cfe7d8;
  border-radius: 8px;
  background: #fbfffc;
  padding: 12px;
}

.fixed-price-missing-vehicles {
  display: grid;
  gap: 10px;
  border: 1px dashed #b7d8c4;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.fixed-price-missing-vehicles h4 {
  margin: 0;
  color: #102a1b;
  font-size: 0.98rem;
  font-weight: 800;
}

.fixed-price-missing-vehicles p {
  margin: 0;
  color: #667085;
  font-size: 0.78rem;
  line-height: 1.45;
}

.fixed-price-missing-vehicles.is-complete {
  border-style: solid;
  background: #f8fafc;
}

.fixed-price-missing-list {
  display: grid;
  gap: 8px;
}

.fixed-price-missing-details {
  border-color: #cfe7d8;
}

.fixed-price-list-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
}

.fixed-price-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}

.fixed-price-search-form label {
  display: grid;
  flex: 1 1 280px;
  gap: 5px;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 700;
}

.fixed-price-search-form input {
  min-height: 40px;
}

.fixed-price-search-form button {
  min-height: 40px;
}

.fixed-price-list-summary {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 600;
}

.fixed-price-list-summary strong {
  color: #102a1b;
  font-size: 0.86rem;
}

.fixed-price-empty {
  color: #667085;
  font-weight: 800;
  text-align: center;
}

.fixed-price-editors {
  display: grid;
  gap: 10px;
}

.fixed-price-editor-details {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
}

.fixed-price-editor-details summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
}

.fixed-price-editor-details summary span {
  color: #101828;
  font-weight: 900;
}

.fixed-price-editor-details summary small {
  color: #667085;
}

.fixed-price-editor-details .fixed-price-editor {
  border-top: 1px solid #edf1f6;
  padding: 16px;
}

.fixed-price-editor .primary-action {
  justify-self: start;
  width: auto;
  min-width: 160px;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

@media (max-width: 1100px) {
  .fixed-price-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .fixed-prices-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .fixed-price-status-grid,
  .fixed-price-form-grid {
    grid-template-columns: 1fr;
  }

  .fixed-price-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .fixed-price-list-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .fixed-price-list-summary {
    justify-items: start;
  }

  .fixed-prices-heading h2 {
    font-size: 1.45rem;
  }
}

.discounts-workspace-shell {
  background: #fff;
}

.discounts-management {
  min-width: 0;
}

.discounts-bulk-form {
  display: block;
}

.discounts-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.discounts-heading,
.discount-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.discounts-heading h2,
.discount-section-heading h3,
.discount-guidance h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #101828;
}

.discounts-heading h2 {
  font-size: 1.8rem;
}

.discounts-heading p,
.discount-section-heading p,
.discount-section .state-note {
  margin: 0;
  color: #536178;
  line-height: 1.5;
}

.discount-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(145px, 1fr));
}

.discount-status-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 240px));
}

.discount-status-card {
  display: grid;
  gap: 10px;
  min-height: 88px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 12px;
}

.discount-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
}

.discount-status-card strong {
  color: #101828;
  font-size: 1.45rem;
  line-height: 1;
}

.discount-status-card small {
  color: #536178;
}

.discount-guidance {
  display: grid;
  gap: 10px;
  border: 1px solid #bfd0f5;
  border-left: 4px solid #416aac;
  border-radius: 8px;
  background: #eef4ff;
  padding: 12px 14px;
}

.discount-guidance p {
  margin: 0;
  color: #233654;
  line-height: 1.55;
}

.discount-section {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 14px;
}

.discount-return-field {
  display: grid;
  gap: 6px;
  max-width: 360px;
  color: #101828;
  font-weight: 800;
}

.discount-return-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  align-items: center;
  gap: 14px;
  border: 1px solid #d5e1f1;
  border-radius: 8px;
  background: #f7faff;
  padding: 14px;
}

.discount-return-copy {
  display: grid;
  gap: 4px;
}

.discount-return-copy strong {
  color: #101828;
  font-size: 0.98rem;
}

.discount-return-copy span {
  color: #4d617f;
  line-height: 1.45;
}

.discount-return-value-card {
  max-width: none;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.discount-return-field small {
  color: #667085;
  font-weight: 500;
}

.discount-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.discount-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

.discount-date-table {
  min-width: 980px;
  table-layout: auto;
}

.discount-voucher-table {
  min-width: 920px;
  table-layout: auto;
}

.discount-table th,
.discount-table td {
  border-bottom: 1px solid #e6edf5;
  border-right: 1px solid #e6edf5;
  padding: 7px;
  vertical-align: top;
}

.discount-table th:last-child,
.discount-table td:last-child {
  border-right: 0;
}

.discount-table th {
  background: #f6f7f9;
  color: #101828;
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.discount-table input,
.discount-table select {
  min-height: 34px;
  padding: 6px 8px;
  font-size: 0.82rem;
}

.discount-table input[type="time"] {
  min-width: 78px;
}

.discount-table td small {
  display: block;
  margin-top: 4px;
  color: #667085;
}

.discount-id-cell input {
  font-family: Consolas, "Courier New", monospace;
}

.discount-window-cell {
  width: 190px;
  min-width: 190px;
}

.discount-window-inputs {
  display: grid;
  grid-template-columns: minmax(118px, 1fr) minmax(76px, 0.7fr);
  gap: 6px;
}

.discount-window-inputs input[type="date"],
.discount-window-inputs input[type="time"] {
  width: 100%;
  min-width: 0;
}

.discount-validity-cell {
  width: 230px;
  min-width: 230px;
}

.discount-validity-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
  gap: 6px;
}

.discount-validity-inputs input[type="date"] {
  width: 100%;
  min-width: 0;
}

.discount-preview-note {
  color: #2f68b8;
  font-weight: 800;
}

.discount-voucher-table .outline-action,
.discount-date-table .outline-action {
  white-space: nowrap;
}

.discount-checkbox-cell {
  text-align: center;
}

.discount-checkbox-cell input {
  width: auto;
}

.discounts-bulk-form > .discounts-workspace > .primary-action {
  justify-self: start;
  width: auto;
  min-width: 220px;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

@media (max-width: 1120px) {
  .discount-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .discount-return-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .discounts-heading,
  .discount-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .discounts-heading h2 {
    font-size: 1.45rem;
  }

  .discount-status-grid {
    grid-template-columns: 1fr;
  }
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.checkbox-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.checkbox-line input {
  width: auto;
}

.admin-panel-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.admin-metric-card {
  min-height: 108px;
  border-color: #dce3ec;
  background: #fff;
}

.admin-metric-card:nth-child(1) {
  border-left: 5px solid #0a74da;
}

.admin-metric-card:nth-child(2) {
  border-left: 5px solid #16a34a;
}

.admin-metric-card:nth-child(3) {
  border-left: 5px solid #f59e0b;
}

.admin-metric-card:nth-child(4) {
  border-left: 5px solid #ef4444;
}

.admin-metric-card:nth-child(5) {
  border-left: 5px solid #7c3aed;
}

.admin-metric-card:nth-child(6) {
  border-left: 5px solid #0891b2;
}

.admin-table-card {
  overflow-x: auto;
  border: 1px solid #dce3ec;
  border-radius: 8px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.1fr 0.8fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  color: #172033;
  font: inherit;
  padding: 10px 14px;
  text-align: left;
}

.admin-driver-table-card .admin-driver-table-row {
  grid-template-columns:
    48px
    minmax(88px, 0.85fr)
    minmax(112px, 1fr)
    minmax(104px, 0.9fr)
    minmax(112px, 0.95fr)
    minmax(70px, 0.6fr)
    minmax(108px, 0.9fr)
    minmax(96px, 0.75fr);
  align-items: start;
  gap: 8px;
  min-width: 0;
}

.admin-dispatch-table .admin-table-row {
  grid-template-columns: minmax(98px, 0.8fr) minmax(95px, 0.85fr) minmax(145px, 0.8fr) minmax(220px, 1.3fr) minmax(120px, 0.85fr) minmax(120px, 0.85fr) minmax(100px, 0.75fr) minmax(115px, 0.8fr) minmax(150px, 1fr);
  min-width: 1080px;
}

.admin-attention-table .admin-table-row {
  grid-template-columns: minmax(180px, 1.1fr) 1fr 0.9fr 0.9fr;
}

.admin-audit-table .admin-table-row {
  grid-template-columns: minmax(120px, 0.9fr) minmax(150px, 1fr) minmax(95px, 0.7fr) minmax(130px, 0.9fr) minmax(90px, 0.65fr) minmax(220px, 1.4fr);
}

.admin-booking-audit-table .admin-table-row {
  grid-template-columns: 1.1fr 1fr 0.9fr minmax(220px, 1.4fr);
}

.admin-mail-table .admin-table-row {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.85fr) minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, 0.5fr);
  min-width: 0;
}

.sbe-admin-body .admin-mail-table .admin-table-button span {
  white-space: normal;
  overflow-wrap: anywhere;
}

.admin-mail-retry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid #edf1f5;
}

.admin-mail-retry-actions > span {
  flex: 1 1 220px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-backup-table .admin-table-row {
  grid-template-columns: minmax(120px, 0.9fr) minmax(120px, 0.9fr) minmax(220px, 1.4fr) minmax(70px, 0.45fr) minmax(90px, 0.55fr);
}

.admin-table-head {
  min-height: 42px;
  background: #f8fafc;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-table-button {
  cursor: pointer;
}

.admin-dispatch-row.is-selected {
  background: #f4f8ff;
  box-shadow: inset 4px 0 0 #2f68b8;
}

.admin-table-row:last-child {
  border-bottom: 0;
}

.admin-table-row span,
.admin-table-row strong,
.admin-table-row b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-status-badge {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  background: #eaf1fb;
  color: #175cd3;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}

.dispatch-status-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.dispatch-payout-cell {
  display: grid;
  gap: 3px;
}

.dispatch-payout-cell strong {
  font-size: 0.9rem;
}

.dispatch-payout-cell small {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-dispatch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  overflow: visible;
  white-space: normal;
}

.admin-dispatch-actions .plain-action {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-dispatch-board {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.admin-dispatch-board > *,
.admin-dispatch-search-card,
.admin-dispatch-results-card,
.admin-dispatch-table {
  max-width: 100%;
  min-width: 0;
}

.admin-dispatch-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(14, 24, 48, 0.98) 0%, rgba(20, 29, 57, 0.96) 45%, rgba(184, 66, 77, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  color: #fff;
  padding: 28px;
}

.admin-dispatch-hero > div:first-child {
  display: grid;
  gap: 10px;
}

.admin-dispatch-hero span,
.admin-dispatch-filter-intro span,
.admin-dispatch-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-dispatch-hero > div:first-child > span {
  color: rgba(255, 255, 255, 0.74);
}

.admin-dispatch-hero h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 2.3rem;
  line-height: 1.05;
}

.admin-dispatch-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.45;
}

.admin-dispatch-hero .admin-help-tip {
  background: #2f68b8;
  color: #fff;
}

.admin-dispatch-hero-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
}

.admin-dispatch-hero-stat {
  display: grid;
  gap: 8px;
  min-width: 128px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 14px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-dispatch-hero-stat span {
  color: rgba(255, 255, 255, 0.68);
}

.admin-dispatch-hero-stat strong {
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.admin-dispatch-filter-note {
  margin: 0;
  color: #667085;
}

.admin-dispatch-status-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(135px, 1fr));
}

.admin-dispatch-status-card {
  display: grid;
  gap: 10px;
  min-height: 126px;
  cursor: pointer;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 16px;
  text-align: left;
}

.admin-dispatch-status-card[aria-pressed="true"] {
  border-color: #9bd5ad;
  background: #ecfdf3;
  color: #126c3c;
}

.admin-dispatch-status-card strong {
  color: #101828;
  font-size: 2rem;
  line-height: 1;
}

.admin-dispatch-status-card small {
  color: #536178;
  font-size: 0.9rem;
}

.admin-dispatch-status-card-blue:focus,
.admin-dispatch-status-card-blue:hover {
  border-color: #9bd5ad;
  background: #f0fdf4;
}

.admin-dispatch-status-card-red:focus,
.admin-dispatch-status-card-red:hover {
  border-color: #d47782;
}

.admin-dispatch-status-card-green:focus,
.admin-dispatch-status-card-green:hover {
  border-color: #85c99b;
}

/* Admin Payouts Deep Audit green ledger polish. */
.admin-payouts-board {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  max-width: 1180px;
}

#payouts-view,
#payouts-output,
#payouts-view .management-band {
  min-width: 0;
}

.admin-payouts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #cfe9d8;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5fff7 0%, #ffffff 58%, #f7fbff 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  padding: 16px;
}

.admin-payouts-heading span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #15803d;
}

.admin-payouts-heading h2,
.admin-payouts-heading p {
  margin: 0;
}

.admin-payouts-heading h2 {
  color: #07101b;
  font-size: 1.28rem;
  font-weight: 700;
}

.admin-payouts-heading p {
  color: #536178;
  font-size: 0.88rem;
  font-weight: 500;
}

.admin-payout-workflow-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dcebe2;
  border-radius: 8px;
  background: #f9fffb;
  color: #344054;
  padding: 10px 12px;
}

.admin-payout-workflow-note strong {
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-payout-workflow-note span {
  font-size: 0.84rem;
  font-weight: 500;
}

.admin-payout-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  min-width: 0;
}

.admin-payout-status-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  cursor: pointer;
  border: 1px solid #d9e5ee;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
  padding: 12px;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-payout-status-card:hover,
.admin-payout-status-card:focus {
  border-color: #86c99b;
  box-shadow: 0 16px 30px rgba(21, 128, 61, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.admin-payout-status-card span {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-payout-status-card strong {
  color: #101828;
  font-size: 1.58rem;
  line-height: 1;
}

.admin-payout-status-card small {
  color: #536178;
  font-weight: 500;
}

.admin-payout-status-blue {
  border-color: #d4e2f5;
  background: #f8fbff;
}

.admin-payout-status-amber {
  border-color: #f3d8a8;
  background: #fffcf4;
}

.admin-payout-status-green {
  border-color: #caead6;
  background: #f7fff9;
}

.admin-payout-status-red {
  border-color: #f1c7ce;
  background: #fff8f8;
}

.admin-payout-filter-bar,
.admin-payout-summary-grid {
  width: 100%;
  min-width: 0;
  max-width: 1180px;
}

.admin-payout-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}

.admin-payout-metric-card {
  display: grid;
  gap: 7px;
  min-height: 96px;
  cursor: pointer;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
  padding: 12px;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-payout-metric-card:hover,
.admin-payout-metric-card:focus,
.admin-payout-metric-card.is-active {
  border-color: #86c99b;
  box-shadow: 0 16px 30px rgba(21, 128, 61, 0.11);
  outline: none;
  transform: translateY(-1px);
}

.admin-payout-metric-card span {
  color: #667085;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-payout-metric-card strong {
  color: #07101b;
  font-size: 1.2rem;
  line-height: 1.05;
}

.admin-payout-metric-card small {
  color: #536178;
  font-size: 0.78rem;
  font-weight: 500;
}

.admin-payout-metric-green,
.admin-payout-status-card.is-active {
  background: #f6fff8;
}

.admin-payout-metric-blue {
  background: #f7fbff;
}

.admin-payout-metric-amber {
  background: #fffbf2;
}

.admin-payout-ledger {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-payout-ledger-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.055);
  padding: 14px;
}

.admin-payout-ledger-green {
  border-left: 4px solid #16a34a;
}

.admin-payout-ledger-blue {
  border-left: 4px solid #2f68b8;
}

.admin-payout-ledger-amber {
  border-left: 4px solid #d98f13;
}

.admin-payout-ledger-red {
  border-left: 4px solid #b8424d;
}

.admin-payout-ledger-neutral {
  border-left: 4px solid #94a3b8;
}

.admin-payout-ledger-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 10px;
}

.admin-payout-ledger-head strong,
.admin-payout-ledger-field strong,
.admin-payout-ledger-total strong {
  display: block;
  min-width: 0;
  color: #07101b;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.admin-payout-ledger-head small,
.admin-payout-ledger-field small,
.admin-payout-ledger-total small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 0.76rem;
  font-weight: 500;
}

.admin-payout-ledger-total {
  min-width: 112px;
  text-align: right;
}

.admin-payout-ledger-total strong {
  font-size: 1.18rem;
}

.admin-payout-ledger-grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.9fr) minmax(240px, 1.8fr) minmax(150px, 0.9fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.admin-payout-ledger-field {
  min-width: 0;
}

.admin-payout-ledger-field > span {
  display: block;
  margin-bottom: 5px;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-payout-ledger-route strong,
.admin-payout-ledger-route small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-payout-ledger-action {
  display: flex;
  justify-content: flex-end;
}

.admin-payout-open-action {
  border-color: #b9dcc5 !important;
  background: #15803d !important;
  color: #fff !important;
  box-shadow: 0 12px 22px rgba(21, 128, 61, 0.16);
}

.admin-payout-empty-state {
  display: grid;
  gap: 8px;
  border: 1px solid #dcebe2;
  border-radius: 8px;
  background: #fbfffc;
  color: #344054;
  padding: 18px;
}

.admin-payout-empty-state strong {
  color: #07101b;
  font-weight: 700;
}

.admin-payout-empty-state span {
  color: #667085;
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 980px) {
  .admin-payout-ledger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-payout-ledger-action {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .admin-payouts-heading,
  .admin-payout-workflow-note,
  .admin-payout-ledger-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-payout-ledger-grid {
    grid-template-columns: 1fr;
  }

  .admin-payout-ledger-route strong,
  .admin-payout-ledger-route small {
    white-space: normal;
  }

  .admin-payout-ledger-total {
    text-align: left;
  }

  .admin-payout-open-action {
    width: 100%;
  }
}

.admin-dispatch-search-card,
.admin-dispatch-results-card {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  padding: 16px;
}

.admin-dispatch-results-card {
  overflow: hidden;
}

.admin-dispatch-board .admin-dispatch-filter-bar {
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  border: 0;
  background: transparent;
  padding: 0;
}

.admin-dispatch-filter-intro {
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
}

.admin-dispatch-filter-intro h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #101828;
  font-size: 1.55rem;
}

.admin-dispatch-filter-intro p {
  margin: 0;
  color: #536178;
}

.admin-dispatch-board .admin-dispatch-filter-bar .primary-action,
.admin-dispatch-board .admin-dispatch-filter-bar .plain-action {
  align-self: end;
  min-height: 44px;
}

.admin-dispatch-board .primary-action {
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.admin-dispatch-board .admin-dispatch-filter-bar p:last-child {
  grid-column: 1 / -1;
}

.admin-dispatch-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 14px;
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px 14px;
}

.admin-dispatch-results-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-dispatch-results-head strong {
  color: #101828;
  font-size: 1rem;
}

.admin-dispatch-results-head span {
  border: 1px solid #d8e3f3;
  border-radius: 999px;
  background: #fff;
  color: #536178;
  font-weight: 800;
  padding: 7px 10px;
}

.admin-dispatch-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-dispatch-pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid #9ab5df;
  border-radius: 8px;
  background: #fff;
  color: #4268a7;
  font-weight: 900;
}

.admin-dispatch-pagination button.is-active {
  border-color: #b8424d;
  background: #b8424d;
  color: #fff;
}

.admin-dispatch-table .admin-table-row {
  grid-template-columns:
    minmax(44px, 0.42fr)
    minmax(130px, 0.95fr)
    minmax(80px, 0.58fr)
    minmax(70px, 0.5fr)
    minmax(120px, 0.82fr)
    minmax(190px, 1.25fr)
    minmax(190px, 1.25fr)
    minmax(92px, 0.62fr)
    minmax(110px, 0.72fr)
    minmax(100px, 0.7fr)
    minmax(96px, 0.64fr)
    minmax(110px, 0.72fr)
    minmax(130px, 0.82fr)
    minmax(112px, 0.7fr);
  align-items: start;
  min-width: 1540px;
}

.admin-dispatch-reference,
.admin-dispatch-row-id {
  color: #b8424d;
}

.admin-dispatch-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  border: 1px solid #d8dde6;
  border-radius: 999px;
  background: #fff;
  color: #667085;
  font-weight: 900;
  padding: 4px 10px;
}

.admin-dispatch-assignment-card {
  margin-top: 2px;
}

.admin-dispatch-assignment-route {
  display: grid;
  gap: 5px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background: #f4f8ff;
  padding: 12px;
}

.admin-dispatch-assignment-route span,
.admin-dispatch-assignment-route small {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-dispatch-assignment-route strong {
  color: #172033;
  font-size: 0.98rem;
}

.admin-dispatch-assignment-checklist {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-dispatch-check-item {
  display: grid;
  gap: 4px;
  min-height: 70px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #6f8ed6;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.admin-dispatch-allocation-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-dispatch-choice-panel {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.admin-dispatch-choice-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #101828;
  font-size: 0.95rem;
}

.admin-dispatch-option-list {
  display: grid;
  gap: 8px;
}

.admin-dispatch-option-card {
  display: grid;
  gap: 4px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  padding: 10px 11px;
}

.admin-dispatch-option-card.is-selected {
  border-color: #6f8ed6;
  background: #f4f8ff;
  box-shadow: inset 3px 0 0 #2f68b8;
}

.admin-readiness-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-dispatch-flag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  background: #f1f7ff;
  color: #175cd3;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-dispatch-flag-ready-for-dispatch {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #15803d;
}

.admin-dispatch-flag-payment-pending,
.admin-dispatch-flag-needs-confirmation,
.admin-dispatch-flag-assign-driver,
.admin-dispatch-flag-assign-vehicle {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.admin-dispatch-flag-conflict-warning,
.admin-dispatch-flag-driver-rejected,
.admin-dispatch-flag-cancellation-request,
.admin-dispatch-flag-cancelled {
  border-color: #fecaca;
  background: #fff1f2;
  color: #be123c;
}

.admin-warning-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff4e5;
  color: #b45309;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-warning-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid #f5c77f;
  border-radius: 8px;
  background: #fffaf0;
  padding: 14px;
}

.admin-warning-panel h3 {
  margin: 0;
  color: #92400e;
}

.admin-cancellation-form,
.admin-review-form {
  display: grid;
  gap: 12px;
}

.admin-cancellation-form label,
.admin-review-form label {
  display: grid;
  gap: 6px;
  color: #42526a;
  font-weight: 800;
}

.admin-cancellation-form textarea,
.admin-review-form textarea,
.admin-review-form select {
  width: 100%;
  min-height: 92px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  font: inherit;
  padding: 10px 12px;
}

.admin-review-form select {
  min-height: 42px;
}

.admin-status-pending,
.admin-status-offered,
.admin-status-unassigned {
  background: #fff4e5;
  color: #b45309;
}

.admin-status-assigned,
.admin-status-accepted,
.admin-status-details-sent,
.admin-status-confirmed {
  background: #e8f7ee;
  color: #15803d;
}

.admin-status-cancelled,
.admin-status-rejected {
  background: #feecec;
  color: #b42318;
}

.admin-status-deleted {
  background: #eef2f6;
  color: #475467;
}

.sbe-admin-body .admin-data-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.sbe-admin-body .admin-data-card {
  border-color: #dce3ec;
  background: #fff;
  box-shadow: none;
}

@media (min-width: 720px) {
  .sbe-shell,
  .admin-shell {
    padding: 28px;
  }

  .booking-form {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .form-band {
    grid-column: 1;
  }

  .price-card,
  .action-bar {
    grid-column: 2;
  }

  .price-card {
    align-self: start;
    position: sticky;
    top: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .action-bar {
    align-self: end;
    border-left: 1px solid var(--line);
  }

  .field-grid,
  .toggle-grid,
  .fleet-grid,
  .filter-bar,
  .audit-filter-form,
  .management-grid,
  .settings-default-strip,
  .health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-layout {
    grid-template-columns: 360px minmax(0, 1fr);
  }

  .list-panel {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .sbe-shell,
  .admin-shell {
    padding: 16px 12px;
  }

  .brand-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand-strip h1 {
    font-size: 2.45rem;
    line-height: 1;
  }

  .admin-link {
    max-width: 100%;
    white-space: normal;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .segmented {
    grid-template-columns: 1fr;
  }

  .admin-users-status-grid,
  .admin-users-compact-grid,
  .admin-users-text-grid,
  .admin-users-check-grid,
  .admin-users-card .settings-check-grid {
    grid-template-columns: 1fr;
  }

  .form-band,
  .price-card,
  .action-bar,
  .detail-output,
  .management-band {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 980px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
    grid-template-rows: auto auto auto;
  }

  .sbe-admin-body .admin-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sbe-admin-body .admin-tabs button {
    justify-content: center;
    text-align: center;
  }

  .admin-nav-section {
    grid-column: 1 / -1;
  }

  .admin-subnav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
  }

  .pricing-page-heading,
  .fare-rules-heading,
  .pricing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fare-rule-card-grid {
    grid-template-columns: 1fr;
  }

  .fare-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-controls-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-grid,
  .admin-dispatch-workspace {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-command-centre {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-readiness-card {
    grid-template-columns: 1fr;
  }

  .admin-readiness-card .plain-action {
    width: 100%;
  }

  .admin-dispatch-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-drivers-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-customers-hero,
  .admin-ops-export-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-dispatch-status-grid,
  .admin-dispatch-hero-stats,
  .admin-driver-status-grid,
  .admin-customer-status-grid,
  .admin-vehicle-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-history-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-vehicle-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-vehicle-form-card .admin-vehicle-form-grid {
    grid-template-columns: 1fr;
  }

  .sbe-admin-body .booking-history-filter-form,
  .booking-history-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-guidance-grid,
  .admin-dashboard-quick-grid-three,
  .admin-vehicle-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-vehicle-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-booking-detail-sections,
  .admin-booking-detail-facts,
  .admin-booking-summary-grid,
  .admin-booking-quick-action-row,
  .admin-booking-recovery-grid,
  .admin-booking-drilldown-grid,
  .admin-booking-update-form,
  .admin-create-booking-grid,
  .admin-booking-update-grid,
  .admin-customer-form-grid,
  .admin-dispatch-allocation-grid {
    grid-template-columns: 1fr;
  }

  .admin-customer-detail-hero {
    grid-template-columns: 1fr;
  }

  .admin-booking-command-grid,
  .admin-dispatch-assignment-checklist,
  .admin-account-guidance-grid,
  .admin-audit-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-booking-detail-hero {
    grid-template-columns: 1fr;
  }

  .admin-booking-detail-hero-meta {
    justify-items: start;
    padding-top: 0;
  }

  .admin-booking-fact {
    border-right: 0;
    border-bottom: 1px solid #e6edf5;
  }

  .admin-booking-fact:last-child {
    border-bottom: 0;
  }

  .admin-help-columns {
    grid-template-columns: 1fr;
  }

  .admin-users-compact-grid,
  .admin-users-text-grid,
  .admin-users-check-grid,
  .admin-users-card .settings-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-admin-body .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dispatch-filter-bar,
  .admin-dispatch-board .admin-dispatch-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-admin-body .audit-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sbe-admin-body .admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fare-rule-grid {
    grid-template-columns: 1fr;
  }

  .admin-top-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .sbe-admin-body .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-content {
    padding: 14px;
  }

  .booking-detail-page-toolbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .admin-booking-breadcrumb {
    order: -1;
    text-align: left;
    white-space: normal;
  }

  .admin-booking-more-menu > div {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
  }

  .admin-booking-detail-hero-main,
  .admin-booking-detail-hero-meta,
  .admin-booking-fact,
  .admin-booking-info-card,
  .admin-booking-quick-actions {
    padding: 16px;
  }

  .admin-dashboard-command-centre {
    padding: 20px;
  }

  .admin-dispatch-hero {
    padding: 20px;
  }

  .admin-drivers-hero {
    padding: 20px;
  }

  .admin-customers-hero,
  .admin-ops-export-hero {
    padding: 20px;
  }

  .admin-dispatch-hero h2 {
    font-size: 1.8rem;
  }

  .admin-drivers-hero h2 {
    font-size: 1.7rem;
  }

  .admin-customers-hero h2,
  .admin-ops-export-hero h2 {
    font-size: 1.7rem;
  }

  .admin-customer-hero-actions,
  .admin-customer-detail-actions,
  .admin-customer-form-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .admin-customer-hero-actions .primary-action,
  .admin-customer-hero-actions .plain-action,
  .admin-customer-detail-actions .primary-action,
  .admin-customer-detail-actions .plain-action,
  .admin-customer-form-actions .primary-action,
  .admin-customer-form-actions .plain-action {
    width: 100%;
  }

  .admin-customer-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-customer-table {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  .admin-customer-table-head {
    display: none;
  }

  .admin-customer-table {
    display: grid;
    gap: 10px;
  }

  .admin-customer-table-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-width: 0;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
  }

  .admin-customer-table-row > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .admin-customer-table-row > div::before {
    content: attr(data-label);
    color: #667085;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .admin-customer-name-cell {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .admin-customer-name-cell .admin-customer-avatar {
    grid-column: 2;
    grid-row: 1;
  }

  .admin-customer-name-cell > div {
    grid-column: 2;
  }

  .admin-customer-actions {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .admin-customer-actions .plain-action {
    width: 100%;
  }

  .booking-history-hero {
    padding: 20px;
  }

  .admin-vehicle-hero {
    align-items: stretch;
    gap: 16px;
    padding: 22px;
  }

  .admin-vehicle-hero h2 {
    flex-wrap: wrap;
    font-size: 1.75rem;
  }

  .sbe-admin-body .admin-vehicle-hero .primary-action,
  .sbe-admin-body .admin-vehicle-hero .outline-action {
    width: 100%;
    min-width: 0;
  }

  .admin-vehicle-form-card {
    padding: 14px;
  }

  .admin-vehicle-form-card .admin-vehicle-preview-grid,
  .admin-vehicle-form-card .admin-vehicle-form-grid,
  .admin-vehicle-two-grid {
    grid-template-columns: 1fr;
  }

  .admin-vehicle-form-badges {
    justify-content: flex-start;
  }

  .admin-vehicle-photo-actions,
  .admin-vehicle-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-vehicle-photo-actions .outline-action,
  .admin-vehicle-photo-actions .plain-action,
  .admin-vehicle-form-actions .primary-action,
  .admin-vehicle-form-actions .outline-action {
    width: 100%;
  }

  .admin-vehicle-table-scroll {
    overflow-x: visible;
    border: 0;
  }

  .admin-vehicle-class-table,
  .admin-vehicle-class-table tbody,
  .admin-vehicle-class-table tr,
  .admin-vehicle-class-table td {
    display: block;
  }

  .admin-vehicle-class-table {
    min-width: 0;
    border-collapse: separate;
  }

  .admin-vehicle-class-table colgroup,
  .admin-vehicle-class-table thead {
    display: none;
  }

  .admin-vehicle-class-table tbody {
    display: grid;
    gap: 10px;
  }

  .admin-vehicle-class-table tr {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px 12px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
  }

  .admin-vehicle-class-table td {
    border-bottom: 0;
    padding: 0;
    text-align: left;
  }

  .admin-vehicle-class-table td:nth-child(1) {
    grid-row: 1 / span 6;
  }

  .admin-vehicle-class-table td:nth-child(n + 2) {
    grid-column: 2;
  }

  .admin-vehicle-class-table td:nth-child(4),
  .admin-vehicle-class-table td:nth-child(5),
  .admin-vehicle-class-table td:nth-child(6),
  .admin-vehicle-class-table td:nth-child(7) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .admin-vehicle-class-table td:nth-child(4)::before {
    content: "Pricing";
  }

  .admin-vehicle-class-table td:nth-child(5)::before {
    content: "Position";
  }

  .admin-vehicle-class-table td:nth-child(6)::before {
    content: "Step 2";
  }

  .admin-vehicle-class-table td:nth-child(7)::before {
    content: "Action";
  }

  .admin-vehicle-class-table td:nth-child(4)::before,
  .admin-vehicle-class-table td:nth-child(5)::before,
  .admin-vehicle-class-table td:nth-child(6)::before,
  .admin-vehicle-class-table td:nth-child(7)::before {
    color: #647084;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .admin-vehicle-class-table .admin-vehicle-empty {
    grid-column: 1 / -1;
    padding: 12px;
    text-align: center;
  }

  .admin-dashboard-stat-strip,
    .admin-dispatch-status-grid,
    .admin-dispatch-hero-stats,
    .admin-driver-status-grid,
    .admin-customer-status-grid,
    .admin-vehicle-status-grid,
    .admin-dashboard-guidance-grid,
    .admin-dashboard-quick-grid-three,
    .admin-dashboard-quick-grid-two,
    .admin-vehicle-preview-grid,
    .sbe-admin-body .booking-history-filter-form,
    .booking-history-summary-grid,
    .admin-create-booking-grid,
    .admin-booking-update-grid,
    .admin-booking-detail-facts,
    .admin-booking-summary-grid,
    .admin-booking-quick-action-row,
    .admin-booking-recovery-grid,
    .admin-booking-drilldown-grid,
    .booking-smart-flow,
    .admin-booking-command-grid,
    .admin-dispatch-assignment-checklist,
    .admin-account-guidance-grid,
    .admin-audit-command-grid {
    grid-template-columns: 1fr;
  }

  .booking-history-count-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-history-empty-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-history-empty-actions {
    justify-content: stretch;
  }

  .booking-history-empty-actions .plain-action,
  .booking-history-empty-actions .outline-action {
    width: 100%;
  }

  .admin-dashboard-quick-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-dispatch-results-head,
  .admin-dispatch-results-head > div:first-child {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-driver-search-form,
  .admin-driver-filter-strip {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .sbe-admin-body .filter-bar,
  .sbe-admin-body .audit-filter-form,
  .admin-dispatch-filter-bar,
  .admin-dispatch-board .admin-dispatch-filter-bar,
  .settings-default-strip,
  .sbe-admin-body .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-table-row,
  .admin-attention-table .admin-table-row,
  .admin-audit-table .admin-table-row,
  .admin-backup-table .admin-table-row,
  .admin-dispatch-table .admin-table-row {
    grid-template-columns: minmax(130px, 1fr) minmax(160px, 1.2fr);
    min-width: 520px;
  }

  .admin-table-head span:nth-child(n + 3),
  .admin-dispatch-row span:nth-child(n + 3):not(.admin-dispatch-actions),
  .admin-table-button span:nth-child(n + 3),
  .admin-table-button b,
  .admin-table-button .admin-status-badge {
    display: none;
  }

  .sbe-admin-body .admin-mail-table .admin-table-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0;
  }

  .sbe-admin-body .admin-mail-table .admin-table-button span:nth-child(n + 3) {
    display: block;
    grid-column: 1 / -1;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .admin-dispatch-actions {
    display: flex;
  }

  .admin-driver-table-row {
    grid-template-columns: 52px minmax(0, 1fr);
    min-width: 0;
  }

  .admin-driver-table-row > span:nth-child(n + 3),
  .admin-driver-table-row b,
  .admin-driver-table-row .admin-status-badge {
    display: block;
  }

  .admin-driver-table-row > span:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .admin-driver-name-cell,
  .admin-driver-contact-cell,
  .admin-driver-phone-cell,
  .admin-driver-vehicle-cell,
  .admin-driver-reg-cell,
  .admin-driver-date-cell,
  .admin-driver-bank-cell,
  .admin-driver-count-cell,
  .admin-driver-availability-cell,
  .admin-driver-status-cell,
  .admin-driver-recent-cell,
  .admin-driver-compliance-cell,
  .admin-driver-actions {
    display: flex;
  }

  .admin-driver-editor-card summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-vehicle-class-row > span:nth-child(n + 3),
  .admin-vehicle-class-row b,
  .admin-vehicle-class-row .admin-status-badge {
    display: block;
  }

  .admin-vehicle-class-name,
  .admin-vehicle-class-capacity,
  .admin-vehicle-image-cell,
  .admin-vehicle-actions {
    display: grid;
  }

  .admin-vehicle-editor-details summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-create-hero,
  .booking-smart-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-smart-actions,
  .booking-smart-review-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-create-booking-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-create-booking-actions .primary-action,
  .admin-create-booking-actions .plain-action {
    width: 100%;
  }

  #bookings-view .booking-history-table-scroll {
    overflow-x: visible;
    border: 0;
  }

  #bookings-view .booking-history-table,
  #bookings-view .booking-history-table tbody,
  #bookings-view .booking-history-table tr,
  #bookings-view .booking-history-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  #bookings-view .booking-history-table colgroup,
  #bookings-view .booking-history-table thead {
    display: none;
  }

  #bookings-view .booking-history-table tbody {
    display: grid;
    gap: 10px;
  }

  #bookings-view .booking-history-row {
    display: grid;
    gap: 7px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
  }

  #bookings-view .booking-history-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    border: 0;
    padding: 0;
  }

  #bookings-view .booking-history-table td::before {
    color: #647084;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  #bookings-view .booking-history-table td:nth-child(1)::before {
    content: "Select";
  }

  #bookings-view .booking-history-table td:nth-child(2)::before {
    content: "Booking";
  }

  #bookings-view .booking-history-table td:nth-child(3)::before {
    content: "Pickup";
  }

  #bookings-view .booking-history-table td:nth-child(4)::before {
    content: "Route";
  }

  #bookings-view .booking-history-table td:nth-child(5)::before {
    content: "Customer";
  }

  #bookings-view .booking-history-table td:nth-child(6)::before {
    content: "Payment";
  }

  #bookings-view .booking-history-table td:nth-child(7)::before {
    content: "Status";
  }

  #bookings-view .booking-history-table td:nth-child(8)::before {
    content: "Action";
  }

  #bookings-view .booking-history-table .plain-action {
    width: auto;
    margin: 0;
  }

  #bookings-view .booking-history-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .booking-calendar-scroll {
    display: none;
  }

  .booking-calendar-toolbar,
  .booking-calendar-agenda-day header {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-calendar-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-calendar-actions .plain-action {
    padding-inline: 8px;
  }

  .booking-calendar-agenda-item {
    grid-template-columns: 1fr;
  }

  .booking-calendar-agenda-time {
    justify-self: start;
    grid-row: auto;
  }
}

.sbe-flow {
  --sbe-navy: var(--sbe-booking-step-two-price-colour);
  --sbe-muted: #667084;
  --sbe-border: #d9dee7;
  --sbe-soft: #edf2f7;
  --sbe-panel: #ffffff;
  --sbe-red: #d43146;
  --sbe-orange: #ff8215;
  --sbe-green: #2f8c54;
  --sbe-cream: #fffaf0;
  width: min(100%, 1920px);
  margin: 0 auto;
  color: var(--sbe-navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.sbe-flow [hidden],
.lz-sbe-quick [hidden] {
  display: none !important;
}

.sbe-flow svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sbe-step-one {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: 100vh;
  padding: 36px 16px 54px;
  overflow: hidden;
}

.sbe-step-one__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 24, 18, 0.58), rgba(18, 20, 20, 0.22)),
    linear-gradient(135deg, var(--sbe-booking-step-one-panel-colour) 0%, var(--sbe-booking-step-one-background-colour) 48%, var(--sbe-booking-step-one-accent-colour) 100%);
}

.sbe-itinerary-card {
  position: relative;
  z-index: 1;
  width: min(1430px, calc(100% - 24px));
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 32px;
  background: linear-gradient(105deg, color-mix(in srgb, var(--sbe-booking-step-one-panel-colour) 86%, transparent), color-mix(in srgb, var(--sbe-booking-step-one-background-colour) 88%, transparent) 52%, color-mix(in srgb, var(--sbe-booking-step-one-accent-colour) 52%, var(--sbe-booking-step-one-panel-colour)));
  box-shadow: 0 24px 70px rgba(10, 13, 18, 0.35);
  padding: 74px 76px 50px;
}

.sbe-itinerary-card__header {
  display: grid;
  gap: 18px;
  margin-bottom: 58px;
}

.sbe-itinerary-card__intro {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sbe-round-icon {
  display: none;
}

.sbe-quote-kicker {
  margin: 0 0 62px;
  color: var(--sbe-booking-step-one-accent-colour);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.sbe-itinerary-card h1 {
  max-width: 1120px;
  margin: 0;
  color: var(--sbe-booking-step-one-text-colour);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.2vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.sbe-mobile-subtitle,
.sbe-price-badge {
  display: none;
}

.sbe-step-one__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 31px 42px;
  border: 3px solid color-mix(in srgb, var(--sbe-booking-step-one-field-border-colour) 92%, transparent);
  border-radius: 42px;
  background: rgba(10, 13, 14, 0.58);
  padding: 52px 41px 44px;
}

.sbe-step-field {
  position: relative;
  display: grid;
  gap: 20px;
  min-width: 0;
  color: var(--sbe-booking-step-one-text-colour);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.sbe-step-field b,
.sbe-panel b {
  color: var(--sbe-booking-step-one-accent-colour);
}

.sbe-step-field--wide {
  grid-column: 1 / -1;
}

.sbe-input-shell {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
  min-height: 130px;
  border: 2px solid color-mix(in srgb, var(--sbe-booking-step-one-field-border-colour) 95%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--sbe-booking-step-one-field-background-colour) 86%, transparent);
  color: #858a96;
  padding: 0 44px;
}

.sbe-input-shell > svg {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.sbe-input-shell input,
.sbe-input-shell select,
.sbe-input-shell textarea {
  width: 100%;
  min-width: 0;
  min-height: 74px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sbe-navy);
  font: inherit;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0;
}

.sbe-input-shell .sbe-place-source {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.sbe-place-autocomplete {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  color-scheme: light;
}

.sbe-input-shell select {
  appearance: none;
}

.sbe-input-shell textarea {
  min-height: 96px;
  resize: vertical;
  padding: 18px 0;
}

.sbe-step-note-field .sbe-input-shell {
  align-items: flex-start;
  padding-top: 18px;
  padding-bottom: 18px;
}

.sbe-input-shell input::placeholder,
.sbe-input-shell textarea::placeholder {
  color: #8f96a5;
  opacity: 1;
}

.sbe-step-field.sbe-location-choice-open {
  z-index: 60;
}

.sbe-location-choice-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.98);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
  padding: 10px;
}

.sbe-location-choice-panel[hidden] {
  display: none;
}

.sbe-location-choice {
  display: grid;
  gap: 2px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: #fff;
  color: #17233f;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 11px 13px;
}

.sbe-location-choice:hover,
.sbe-location-choice:focus {
  border-color: rgba(212, 49, 70, 0.42);
  box-shadow: 0 0 0 3px rgba(212, 49, 70, 0.1);
  outline: 0;
}

.sbe-location-choice strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.18;
}

.sbe-location-choice small {
  color: #5f6b7d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.sbe-field-error .sbe-input-shell,
.sbe-field-error input,
.sbe-field-error select,
.sbe-field-error textarea {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.sbe-field-error-note {
  display: block;
  margin-top: -10px;
  color: var(--sbe-booking-step-one-error-colour);
  font-size: 0.78em;
  font-weight: 800;
  line-height: 1.25;
}

.sbe-panel .sbe-field-error-note,
.sbe-payment-grid .sbe-field-error-note,
.sbe-terms-line .sbe-field-error-note {
  margin-top: 8px;
  color: #b91c1c;
  font-size: 0.84rem;
}

.sbe-step-two-form .sbe-field-error .sbe-input-shell,
.sbe-step-two-form .sbe-field-error input,
.sbe-step-two-form .sbe-field-error select,
.sbe-step-two-form .sbe-field-error textarea {
  border-color: #d94b55 !important;
  box-shadow: 0 0 0 2px rgba(212, 49, 70, 0.09);
}

.sbe-step-two-form .sbe-field-error-note {
  margin-top: 6px;
  color: #a5242f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-step-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.sbe-step-compact-grid label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.sbe-step-compact-grid input,
.sbe-step-compact-grid select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sbe-navy);
  font: inherit;
  font-size: 16px;
  padding: 0 14px;
}

.sbe-step-compact-grid__wide {
  grid-column: span 2;
}

.sbe-step-check-line {
  align-content: end;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.sbe-step-check-line input {
  width: 22px;
  min-height: 22px;
}

.sbe-journey-select-field {
  display: none !important;
}

.sbe-journey-tabs-field {
  gap: 12px;
}

.sbe-journey-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
}

.sbe-journey-tabs[data-visible-count="1"] {
  grid-template-columns: minmax(0, 1fr) !important;
}

.sbe-journey-tabs[data-visible-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.sbe-journey-tabs[data-visible-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.sbe-journey-tabs button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.sbe-journey-tabs button.is-active {
  border-color: transparent;
  background: linear-gradient(105deg, var(--sbe-booking-step-one-button-colour), var(--sbe-booking-step-one-button-secondary-colour));
  box-shadow: 0 12px 28px rgba(211, 49, 70, 0.22);
  color: #fff;
}

.sbe-journey-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.sbe-trip-switches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sbe-trip-switches[hidden] {
  display: none;
}

.sbe-trip-switches[data-visible-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.sbe-native-trip-toggle {
  position: absolute;
  top: 50%;
  right: 18px;
  z-index: 2;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  appearance: none;
  accent-color: var(--sbe-booking-step-one-button-secondary-colour);
  cursor: pointer;
  pointer-events: none;
  transform: translateY(-50%);
  white-space: nowrap;
}

.sbe-native-trip-toggle::after {
  content: none;
}

.sbe-trip-switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--sbe-booking-step-one-text-colour);
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 14px 72px 14px 16px;
}

.sbe-trip-switch[hidden] {
  display: none;
}

.sbe-trip-switch:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.sbe-trip-switch__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  color: var(--sbe-booking-step-one-text-colour);
}

.sbe-trip-switch__icon svg {
  width: 22px;
  height: 22px;
}

.sbe-trip-switch strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
}

.sbe-trip-switch small {
  display: block;
  margin-top: 4px;
  color: #aab2c0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.sbe-trip-switch i {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.sbe-trip-switch i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  transition: transform 0.16s ease;
}

.sbe-trip-switch.is-active {
  border-color: color-mix(in srgb, var(--sbe-booking-step-one-button-colour) 72%, white);
  background: rgba(216, 41, 71, 0.18);
}

.sbe-native-trip-toggle:checked + .sbe-trip-switch {
  border-color: color-mix(in srgb, var(--sbe-booking-step-one-button-colour) 72%, white);
  background: rgba(216, 41, 71, 0.18);
}

.sbe-trip-switch.is-active i {
  background: linear-gradient(105deg, var(--sbe-booking-step-one-button-colour), var(--sbe-booking-step-one-button-secondary-colour));
}

.sbe-native-trip-toggle:checked + .sbe-trip-switch i {
  background: linear-gradient(105deg, var(--sbe-booking-step-one-button-colour), var(--sbe-booking-step-one-button-secondary-colour));
}

.sbe-trip-switch.is-active i::after {
  transform: translateX(20px);
}

.sbe-native-trip-toggle:checked + .sbe-trip-switch i::after {
  transform: translateX(20px);
}

.sbe-native-trip-toggle:checked::after {
  transform: translateX(20px);
}

.sbe-trip-switch:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sbe-booking-step-one-button-secondary-colour) 58%, white);
  outline-offset: 3px;
}

.sbe-native-trip-toggle:focus-visible + .sbe-trip-switch {
  outline: 3px solid color-mix(in srgb, var(--sbe-booking-step-one-button-secondary-colour) 58%, white);
  outline-offset: 3px;
}

.sbe-input-shell input[type="date"]::-webkit-calendar-picker-indicator,
.sbe-input-shell input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
}

.sbe-chevron {
  width: 24px;
  height: 24px;
  color: #657080;
  pointer-events: none;
}

.sbe-journey-options {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 4px 0;
  color: #fff;
}

.sbe-flexible-option,
.sbe-check-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
}

.sbe-flexible-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.sbe-check-box {
  display: block;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  border: 4px solid var(--sbe-booking-step-one-button-colour);
  border-radius: 9px;
  background: #fff;
}

.sbe-flexible-option input:checked + .sbe-check-box {
  background: var(--sbe-booking-step-one-button-colour);
  box-shadow: inset 0 0 0 8px #fff;
}

.sbe-flexible-option strong {
  display: block;
  color: var(--sbe-booking-step-one-text-colour);
  font-size: 18px;
}

.sbe-flexible-option small {
  display: block;
  margin-top: 4px;
  color: #98a0b0;
  font-size: 14px;
  font-weight: 500;
}

.sbe-return-panel,
.sbe-via-panel,
.sbe-hourly-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.sbe-return-panel[hidden],
.sbe-via-panel[hidden],
.sbe-hourly-panel[hidden] {
  display: none;
}

.sbe-return-panel__heading,
.sbe-via-panel__heading,
.sbe-hourly-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sbe-booking-step-one-text-colour);
  font-size: 17px;
  font-weight: 700;
}

.sbe-return-panel__grid,
.sbe-via-panel__grid,
.sbe-hourly-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sbe-return-panel .sbe-step-field,
.sbe-via-panel .sbe-step-field,
.sbe-hourly-panel .sbe-step-field {
  font-size: 18px;
}

.sbe-via-stops-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.sbe-via-stop-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  min-width: 0;
}

.sbe-via-stop-row .sbe-step-field {
  min-width: 0;
}

.sbe-via-add,
.sbe-via-remove {
  min-height: 44px;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: transparent;
  color: var(--sbe-booking-step-one-text-colour);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
}

.sbe-via-add {
  justify-self: start;
}

.sbe-via-add[hidden] {
  display: none;
}

.sbe-via-add:focus-visible,
.sbe-via-remove:focus-visible {
  outline: 3px solid #f45a1f;
  outline-offset: 3px;
}

.sbe-via-help {
  margin: 0;
  color: var(--sbe-booking-step-one-text-colour);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .sbe-via-stop-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-via-remove {
    justify-self: start;
  }
}

.sbe-hourly-field {
  grid-column: 1 / -1;
}

.sbe-form-error {
  min-height: 28px;
  margin: 20px 0 0;
  color: var(--sbe-booking-step-one-error-colour);
  font-size: 24px;
  font-weight: 800;
}

.sbe-step-two-form .sbe-form-error {
  min-height: 0;
  margin: 10px 0 0;
  color: #a5242f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-step-two-form .sbe-form-error:empty {
  display: none;
}

.sbe-step-two-form .sbe-form-error:not(:empty) {
  overflow-wrap: anywhere;
}

.sbe-route-note {
  min-height: 28px;
  margin: 8px 0 20px;
  color: var(--sbe-booking-step-one-text-colour);
  font-size: 21px;
  font-weight: 700;
}

.sbe-gradient-action,
.sbe-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  min-height: 82px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.sbe-gradient-action {
  margin-top: 0;
  background: linear-gradient(105deg, var(--sbe-booking-step-one-button-colour), var(--sbe-booking-step-two-button-colour) 48%, var(--sbe-booking-step-one-button-secondary-colour));
  box-shadow: 0 18px 44px rgba(211, 49, 70, 0.25);
  color: #fff;
}

.sbe-gradient-action svg {
  display: block;
  flex: 0 0 auto;
  align-self: center;
  width: 34px;
  height: 34px;
  transform: translateY(1px);
}

.sbe-gradient-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: saturate(0.78);
  box-shadow: none;
}

.sbe-gradient-action[data-validation-state="checking"]:disabled {
  cursor: progress;
  opacity: 0.72;
  filter: none;
  box-shadow: 0 18px 44px rgba(211, 49, 70, 0.25);
}

.sbe-secure-note {
  display: none;
}

.sbe-trust-row {
  display: none;
}

.sbe-quote-step,
.sbe-confirmation-step {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 28px 24px 52px;
  background: var(--sbe-booking-step-two-background-colour);
}

.sbe-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.sbe-progress span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--sbe-border);
  border-radius: 9px;
  background: #f3f5f8;
  color: #697384;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.12;
}

.sbe-progress b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(16, 33, 59, 0.12);
  color: #7d8795;
  font-size: 12px;
}

.sbe-progress .is-active {
  background: var(--sbe-booking-step-two-progress-gradient);
  color: #fff;
}

.sbe-progress .is-active b {
  color: var(--sbe-booking-step-two-progress-colour);
}

.sbe-summary-card,
.sbe-panel,
.sbe-confirm-card {
  border: 1px solid var(--sbe-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 33, 59, 0.06);
}

.sbe-summary-card {
  min-height: 0;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.sbe-summary-card h2,
.sbe-panel h2 {
  margin: 0 0 14px;
  color: var(--sbe-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.sbe-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  color: var(--sbe-navy);
  font-size: 13px;
}

.sbe-summary-list div {
  display: grid;
  gap: 2px;
}

.sbe-summary-list strong {
  font-weight: 700;
}

.sbe-summary-list span {
  color: #26334b;
}

.sbe-summary-card .sbe-route-note {
  min-height: auto;
  margin: 10px 0 0;
  color: #536178;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.sbe-panel {
  padding: 18px;
  margin-bottom: 18px;
  background: var(--sbe-booking-step-two-panel-colour);
}

.sbe-panel > p {
  margin: -4px 0 14px;
  color: #526074;
  font-size: 13px;
  line-height: 1.4;
}

.sbe-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sbe-vehicle-card {
  display: grid;
  grid-template-columns: 20px 108px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 98px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--sbe-booking-step-two-card-colour);
  color: var(--sbe-navy);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.sbe-vehicle-card.is-selected {
  border-color: var(--sbe-booking-step-two-selected-colour);
  background: var(--sbe-booking-step-two-selected-background-colour);
  box-shadow: 0 14px 32px rgba(16, 33, 59, 0.08);
}

.sbe-radio-dot {
  width: 16px;
  height: 16px;
  border: 2px solid #8b929d;
  border-radius: 50%;
  background: #fff;
}

.sbe-vehicle-card.is-selected .sbe-radio-dot {
  border: 5px solid var(--sbe-booking-step-two-selected-colour);
}

.sbe-vehicle-art {
  position: relative;
  display: block;
  width: 100px;
  height: 48px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(#edf5ff, #f8fbff);
}

.sbe-vehicle-art.has-image {
  background: #f7fafc;
}

.sbe-vehicle-art.has-image::before,
.sbe-vehicle-art.has-image::after {
  display: none;
}

.sbe-vehicle-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 9px rgba(12, 20, 32, 0.15));
}

.sbe-vehicle-art::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 13px;
  bottom: 15px;
  height: 20px;
  border-radius: 16px 26px 9px 9px;
  background: linear-gradient(180deg, #14181e, #020406);
  box-shadow: 12px -10px 0 -5px #242b33;
}

.sbe-vehicle-art::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b0d10;
  box-shadow: 56px 0 0 #0b0d10;
}

.sbe-vehicle-copy {
  display: grid;
  gap: 4px;
}

.sbe-vehicle-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.sbe-vehicle-copy strong,
.sbe-vehicle-price {
  color: var(--sbe-booking-step-two-price-colour);
  font-size: 15px;
  font-weight: 700;
}

.sbe-vehicle-badge {
  border-radius: 999px;
  background: #e7f0ff;
  color: #0a63d8;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
}

.sbe-vehicle-copy small,
.sbe-vehicle-note,
.sbe-capacity-row {
  color: #526074;
}

.sbe-vehicle-note {
  font-size: 0.76rem;
  line-height: 1.35;
}

.sbe-capacity-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sbe-capacity-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.sbe-capacity-row svg {
  width: 14px;
  height: 14px;
  color: #657080;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sbe-capacity-row em {
  color: #657080;
  font-style: normal;
}

.sbe-vehicle-price {
  justify-self: end;
  font-size: 19px;
  font-weight: 700;
}

.sbe-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sbe-booker-panel {
  padding: 18px 20px;
}

.sbe-booker-panel h2 {
  margin-bottom: 14px;
}

.sbe-booker-panel .sbe-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.sbe-detail-grid__wide {
  grid-column: 1 / -1;
}

.sbe-booker-panel .sbe-detail-grid__wide {
  grid-column: span 2;
}

.sbe-party-panel {
  margin-top: 14px;
}

.sbe-booker-panel .sbe-party-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sbe-capacity-note {
  margin: -2px 0 0;
  color: #526074;
  font-size: 12px;
  font-weight: 500;
}

.sbe-travel-detail-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--sbe-border);
  border-radius: 12px;
  background: #eef3f8;
  margin: 12px 0 14px;
  padding: 14px;
}

.sbe-travel-detail-panel[hidden] {
  display: none;
}

.sbe-travel-detail-panel h3 {
  margin: 0;
  color: var(--sbe-navy);
  font-size: 15px;
  font-weight: 700;
}

.sbe-travel-check-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: end;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-top: 21px;
}

.sbe-travel-check-line input {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  min-height: 18px;
  border: 2px solid #8b929d;
  border-radius: 4px;
  background: #fff;
  margin: 0;
  padding: 0;
}

.sbe-travel-check-line input:checked {
  border-color: #d43a50;
  background: #d43a50;
  box-shadow: inset 0 0 0 3px #fff;
}

.sbe-panel label,
.sbe-textarea-field {
  color: var(--sbe-navy);
  font-size: 13px;
  font-weight: 600;
}

.sbe-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.sbe-panel input,
.sbe-panel select,
.sbe-panel textarea {
  min-height: 40px;
  border: 1px solid var(--sbe-border);
  border-radius: 9px;
  background: #fff;
  color: var(--sbe-navy);
  font: inherit;
  margin-top: 6px;
  padding: 9px 11px;
}

.sbe-panel input::placeholder,
.sbe-panel textarea::placeholder {
  color: #a7adb8;
  opacity: 1;
}

.sbe-panel input:focus-visible,
.sbe-panel select:focus-visible,
.sbe-panel textarea:focus-visible,
.sbe-vehicle-card:focus-visible,
.sbe-extra-choice:focus-within,
.sbe-payment-grid label:focus-within,
.sbe-secondary-action:focus-visible,
.sbe-bottom-actions .sbe-gradient-action:focus-visible {
  outline: 3px solid rgba(35, 96, 165, 0.28);
  outline-offset: 2px;
}

.sbe-check-line {
  margin: 12px 0;
  color: var(--sbe-navy);
  gap: 12px;
  font-weight: 600;
}

.sbe-booker-panel .sbe-check-line {
  margin: 10px 0;
}

.sbe-check-line input,
.sbe-subpanel input[type="checkbox"],
.sbe-payment-grid input {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  border: 2px solid #8b929d;
  background: #fff;
  margin: 0;
  padding: 0;
}

.sbe-check-line input,
.sbe-subpanel input[type="checkbox"] {
  border-radius: 4px;
}

.sbe-payment-grid input {
  border-radius: 50%;
}

.sbe-check-line input:checked,
.sbe-subpanel input[type="checkbox"]:checked {
  border-color: #d43a50;
  background: #d43a50;
  box-shadow: inset 0 0 0 3px #fff;
}

.sbe-payment-grid input:checked {
  border-color: #c7354d;
  box-shadow: inset 0 0 0 4px #fff;
  background: #c7354d;
}

.sbe-check-line em {
  color: #697384;
  font-style: normal;
  font-weight: 500;
}

.sbe-passenger-fields {
  margin-bottom: 14px;
}

.sbe-booker-panel .sbe-passenger-fields,
.sbe-booker-panel .sbe-account-fields {
  margin: 8px 0 14px;
}

.sbe-subpanel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--sbe-border);
  border-radius: 12px;
  background: #eef3f8;
  margin: 14px 0;
  padding: 14px;
}

.sbe-booker-panel .sbe-subpanel {
  gap: 10px;
  margin: 12px 0;
  padding: 14px;
}

.sbe-subpanel h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.sbe-subpanel p {
  margin: 0;
  color: #526074;
  font-size: 13px;
  font-weight: 400;
}

.sbe-subpanel label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sbe-option-list {
  display: grid;
  gap: 10px;
}

.sbe-booker-panel .sbe-option-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sbe-extra-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #fff;
  padding: 10px 12px;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.sbe-booker-panel .sbe-extra-choice {
  gap: 8px 10px;
  padding: 10px;
}

.sbe-extra-choice:has(input:checked) {
  border-color: var(--sbe-booking-step-two-selected-colour);
  background: #fff7f8;
  box-shadow: inset 3px 0 0 var(--sbe-booking-step-two-selected-colour);
}

.sbe-extra-choice span {
  display: grid;
  gap: 3px;
}

.sbe-extra-choice strong,
.sbe-extra-choice em {
  color: var(--sbe-navy);
  font-style: normal;
  font-weight: 700;
}

.sbe-extra-choice small {
  color: #526074;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.sbe-textarea-field {
  display: grid;
  margin: 16px 0;
}

.sbe-booker-panel .sbe-textarea-field {
  margin: 12px 0;
}

.sbe-booker-panel textarea[name="public_notes"] {
  min-height: 78px;
}

.sbe-booker-panel > label:not(.sbe-check-line):not(.sbe-textarea-field) {
  display: grid;
  max-width: 360px;
}

.sbe-voucher-field small {
  display: block;
  margin-top: 7px;
  color: #5f6c80;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-booker-panel .sbe-payment-grid {
  gap: 10px;
}

.sbe-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sbe-payment-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 126px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 33, 59, 0.05);
  padding: 8px 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.sbe-booker-panel .sbe-payment-grid label {
  min-height: 48px;
  padding: 8px 12px;
}

.sbe-payment-grid label:has(input:checked) {
  border-color: var(--sbe-booking-step-two-selected-colour);
  background: #fff7f8;
  box-shadow: 0 10px 24px rgba(199, 53, 77, 0.12);
}

.sbe-payment-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  min-width: 0;
}

.sbe-payment-grid em {
  color: var(--sbe-navy);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.sbe-payment-grid strong {
  color: #2360a5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sbe-payment-plan-panel {
  display: grid;
  gap: 12px;
  border-top: 1px solid #dbe3ee;
  padding-top: 14px;
}

.sbe-payment-plan-panel[hidden],
.sbe-payment-amount-field[hidden] {
  display: none;
}

.sbe-payment-amount-field {
  display: grid;
  gap: 7px;
  max-width: 280px;
}

.sbe-payment-amount-field span {
  color: var(--sbe-navy);
  font-weight: 700;
}

.sbe-payment-amount-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--sbe-navy);
  padding: 8px 10px;
}

.sbe-payment-page {
  min-height: 100vh;
  background: #f4f7fb;
}

.sbe-payment-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.sbe-payment-card {
  display: grid;
  gap: 18px;
  width: min(680px, 100%);
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 33, 59, 0.12);
  padding: 30px;
}

.sbe-payment-kicker {
  color: #2360a5;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sbe-payment-card h1 {
  margin: 0;
  color: var(--sbe-navy);
  font-size: 2rem;
  letter-spacing: 0;
}

.sbe-payment-detail,
.sbe-payment-lines {
  display: grid;
  gap: 12px;
}

.sbe-payment-reference,
.sbe-payment-lines div {
  display: grid;
  gap: 4px;
  border: 1px solid #e5edf6;
  border-radius: 8px;
  background: #f8fbff;
  padding: 13px 14px;
}

.sbe-payment-reference span,
.sbe-payment-lines span {
  color: #526074;
  font-size: 0.78rem;
  font-weight: 800;
}

.sbe-payment-reference strong,
.sbe-payment-lines strong {
  color: var(--sbe-navy);
  overflow-wrap: anywhere;
}

.sbe-payment-note {
  margin: 0;
  color: #526074;
}

.sbe-terms-line {
  align-items: flex-start;
  border-top: 1px solid var(--sbe-border);
  padding-top: 16px;
}

.sbe-bottom-actions {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.sbe-bottom-actions .sbe-secondary-action,
.sbe-bottom-actions .sbe-gradient-action {
  min-height: 62px;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 700;
}

.sbe-bottom-actions .sbe-gradient-action {
  background: var(--sbe-booking-step-two-progress-gradient);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--sbe-booking-step-two-progress-colour) 24%, transparent);
}

.sbe-secondary-action {
  border: 1px solid var(--sbe-border);
  background: #f8fafc;
  color: var(--sbe-navy);
}

.sbe-confirm-card {
  max-width: 1360px;
  margin-top: 78px;
  padding: 30px;
  background: #f4fbf3;
}

.sbe-confirm-banner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border: 1px solid #c8e4c7;
  border-radius: 18px;
  background: #f3fbf2;
  padding: 28px;
}

.sbe-confirm-check {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #6aaa63;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.sbe-confirm-banner h2 {
  margin: 0 0 8px;
  color: #2f7c4d;
  font-size: 30px;
}

.sbe-confirm-banner p {
  margin: 8px 0 0;
  color: #48566a;
  font-size: 21px;
}

.sbe-confirm-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 28px 26px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 33, 59, 0.08);
  overflow: hidden;
}

.sbe-confirm-details div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  border-bottom: 1px solid #edf0f4;
  padding: 26px 34px;
}

.sbe-confirm-details span {
  color: var(--sbe-navy);
  font-size: 17px;
  font-weight: 900;
}

.sbe-confirm-details strong {
  color: #26334b;
  font-size: 24px;
}

.sbe-confirm-card > p {
  margin: 28px;
  color: #48566a;
  font-size: 22px;
}

.sbe-confirm-payment-note {
  border: 1px solid #f2d37c;
  border-radius: 10px;
  background: #fff8df;
  color: #5a4310;
  font-weight: 800;
  padding: 14px 16px;
}

.sbe-driver-body {
  min-height: 100vh;
  background: #050a12;
}

.driver-portal {
  min-height: 100vh;
  color: #f8fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.driver-signin,
.driver-app {
  min-height: 100vh;
  padding: 24px;
}

.driver-signin {
  display: grid;
  place-items: center;
}

.driver-shell {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(420px, 560px);
  justify-content: center;
  gap: 28px;
  min-height: calc(100vh - 48px);
}

.driver-phone-card {
  border: 1px solid #182437;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(12, 22, 36, 0.92), rgba(3, 8, 15, 0.98)),
    #050a12;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
}

.driver-auth-card {
  width: min(420px, 100%);
  padding: 34px;
}

.driver-auth-card h1,
.driver-main-card h1,
.driver-main-card h2,
.driver-detail-card h2 {
  margin: 0;
  color: #f8fbff;
  font-size: 18px;
}

.driver-kicker,
.driver-topbar p {
  margin: 0 0 4px;
  color: #8da0b9;
  font-size: 12px;
  font-weight: 800;
}

.driver-auth-card label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: #c9d5e5;
  font-size: 13px;
  font-weight: 800;
}

.driver-auth-card input,
.driver-reject-form textarea {
  width: 100%;
  border: 1px solid #1b2a41;
  border-radius: 12px;
  background: #0b1421;
  color: #f8fbff;
  font: inherit;
  padding: 13px 15px;
}

.driver-main-card,
.driver-detail-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: min(860px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.driver-detail-card {
  grid-template-rows: auto minmax(0, 1fr);
}

.driver-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  border-bottom: 1px solid #111c2c;
  padding: 18px 22px;
}

.driver-icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #203049;
  border-radius: 50%;
  background: #07101b;
  color: #dbe8f8;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.driver-count-pill {
  margin-left: auto;
  border-radius: 999px;
  background: #0a56d6;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 8px;
}

.driver-content,
.driver-detail-output {
  overflow: auto;
  padding: 20px;
}

.driver-bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #111c2c;
  background: #050a12;
  padding: 9px 14px 14px;
}

.driver-bottom-nav button {
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 54px;
  border: 0;
  background: transparent;
  color: #8b98aa;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.driver-bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.driver-bottom-nav .portal-nav-icon {
  width: 23px;
  height: 23px;
}

.driver-bottom-nav button[aria-pressed="true"] {
  color: #0a84ff;
}

.driver-bottom-nav button[aria-pressed="true"] svg,
.driver-bottom-nav button[aria-pressed="true"] .portal-nav-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(10, 132, 255, 0.34));
}

.driver-job-list {
  display: grid;
  gap: 14px;
}

.driver-job-card,
.driver-help-card,
.driver-earnings-band,
.driver-earnings-panel,
.driver-profile-card,
.driver-password-form,
.driver-detail-section,
.driver-actions-panel {
  border: 1px solid #162338;
  border-radius: 14px;
  background: #0a1320;
}

.driver-job-card {
  position: relative;
  display: grid;
  gap: 7px;
  width: 100%;
  color: #dce8f7;
  cursor: pointer;
  font: inherit;
  padding: 16px;
  text-align: left;
}

.driver-job-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: #0a84ff;
}

.driver-card-date {
  color: #f8fbff;
  font-size: 14px;
  font-weight: 900;
}

.driver-job-card strong {
  color: #f8fbff;
  font-size: 13px;
}

.driver-job-card span,
.driver-job-card small,
.driver-state-note,
.driver-inline-note {
  color: #8fa1b8;
}

.driver-job-card small {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
}

.driver-job-card em {
  font-style: normal;
}

.driver-job-card b {
  justify-self: end;
  color: #22c55e;
  font-size: 13px;
}

.driver-status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 7px;
  background: #05346d;
  color: #60a5fa;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 7px;
}

.driver-status-badge.is-complete {
  background: #09351d;
  color: #34d399;
}

.driver-empty {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 560px;
  overflow: hidden;
  border-radius: 24px;
  text-align: center;
}

.driver-night-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 17, 0.04) 0%, rgba(3, 9, 17, 0.18) 48%, rgba(3, 9, 17, 0.82) 100%),
    url("driver-assets/ride-offers-airport-car-background.png") center / cover no-repeat;
}

.driver-empty h2 {
  position: relative;
  margin: 0 0 44px;
  color: #f8fbff;
  font-size: 17px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.driver-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #14365d;
}

.driver-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8da0b9;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 12px;
}

.driver-tabs button[aria-pressed="true"] {
  border-color: #0a84ff;
  color: #0a84ff;
}

.driver-earnings-band {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 15px 16px;
}

.driver-earnings-band span {
  color: #9fb2c8;
  font-weight: 800;
}

.driver-earnings-band strong {
  color: #22c55e;
}

.driver-earnings-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
}

.driver-earnings-panel h3 {
  margin: 0;
  color: #f8fbff;
  font-size: 16px;
}

.driver-earnings-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.driver-earnings-grid div {
  display: grid;
  gap: 6px;
  border: 1px solid #162b46;
  border-radius: 12px;
  background: #07101d;
  padding: 14px;
}

.driver-earnings-grid span,
.driver-earnings-grid small {
  color: #91a4bb;
  font-size: 12px;
  font-weight: 800;
}

.driver-earnings-grid strong {
  color: #22c55e;
  font-size: 18px;
}

.driver-payout-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.driver-payout-status-card {
  display: grid;
  gap: 5px;
  border: 1px solid #162b46;
  border-radius: 12px;
  background: #07101d;
  padding: 12px;
}

.driver-payout-status-card span,
.driver-payout-status-card small {
  color: #91a4bb;
  font-size: 11px;
  font-weight: 800;
}

.driver-payout-status-card strong {
  color: #22c55e;
  font-size: 15px;
}

.driver-payout-status-card[data-status="held"] strong {
  color: #f59e0b;
}

.driver-earnings-list {
  display: grid;
  gap: 10px;
}

.driver-earnings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid #162b46;
  border-radius: 12px;
  background: #07101d;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.driver-earnings-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.driver-earnings-row strong,
.driver-earnings-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.driver-earnings-row strong {
  color: #f8fbff;
  font-size: 13px;
}

.driver-earnings-row small,
.driver-earnings-row em {
  color: #91a4bb;
  font-size: 11px;
  font-style: normal;
}

.driver-earnings-row b {
  color: #22c55e;
  font-size: 13px;
}

.driver-earnings-row em {
  grid-column: 1 / -1;
}

.driver-profile-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  text-align: center;
}

.driver-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #0a84ff);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  overflow: hidden;
}

.driver-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.driver-avatar-small {
  width: 48px;
  height: 48px;
  margin: 0;
  font-size: 18px;
}

.driver-mini-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.driver-mini-profile div:last-child {
  display: grid;
  gap: 3px;
}

.driver-mini-profile strong {
  color: #f8fbff;
}

.driver-mini-profile span {
  color: #8fa1b8;
  font-size: 12px;
}

.driver-profile-card h2,
.driver-password-form h3,
.driver-detail-section h3 {
  margin: 0;
  color: #f8fbff;
}

.driver-password-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  text-align: left;
}

.driver-password-form label {
  display: grid;
  gap: 8px;
  color: #c9d5e5;
  font-size: 12px;
  font-weight: 800;
}

.driver-password-form input {
  width: 100%;
  border: 1px solid #1f2937;
  border-radius: 10px;
  background: #08111f;
  color: #f8fbff;
  font: inherit;
  padding: 12px 14px;
}

.driver-info-list {
  display: grid;
  gap: 10px;
  text-align: left;
}

.driver-info-list div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #132033;
  padding-bottom: 10px;
}

.driver-info-list span {
  color: #7890ad;
  font-size: 11px;
  font-weight: 800;
}

.driver-info-list strong {
  color: #e8f1ff;
  font-size: 13px;
  line-height: 1.35;
}

.driver-help-list {
  display: grid;
  gap: 12px;
}

.driver-help-card {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.driver-help-card strong {
  color: #f8fbff;
}

.driver-help-card span {
  color: #91a4bb;
  font-size: 12px;
}

.driver-detail-section,
.driver-actions-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
}

.driver-primary-action,
.driver-outline-action,
.driver-danger-action {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.driver-primary-action {
  border: 0;
  background: linear-gradient(135deg, #0a84ff, #045bd7);
  color: #fff;
}

.driver-outline-action {
  border: 1px solid #25466f;
  background: #081321;
  color: #dce8f7;
}

.driver-danger-action {
  border: 1px solid #7f1d1d;
  background: rgba(127, 29, 29, 0.16);
  color: #ff6b6b;
}

.driver-primary-action:disabled,
.driver-outline-action:disabled,
.driver-danger-action:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.driver-reject-form {
  display: grid;
  gap: 10px;
}

@media (max-width: 940px) {
  .driver-signin,
  .driver-app {
    padding: 0;
  }

  .driver-shell {
    display: block;
    min-height: 100vh;
  }

  .driver-phone-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .driver-main-card,
  .driver-detail-card {
    min-height: 100vh;
    max-height: 100vh;
  }

  .driver-detail-card {
    position: fixed;
    inset: 0;
    z-index: 20;
  }
}

/* Admin reference layout polish from the user-supplied Price Settings screen. */
.sbe-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sbe-admin-body {
  --admin-blue: #0b66f0;
  --admin-blue-soft: #eef6ff;
  --admin-ink: #111827;
  --admin-muted: #536179;
  --admin-line: #dde5ef;
  --admin-bg: #f7f9fc;
  background: var(--admin-bg);
  color: var(--admin-ink);
  font-size: 14px;
}

.sbe-admin-body svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.sbe-admin-body .admin-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sbe-admin-body .admin-panel {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  background: var(--admin-bg);
  box-shadow: none;
  color: var(--admin-ink);
}

.sbe-admin-body .admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--admin-line);
  background: #ffffff;
  box-shadow: 8px 0 26px rgba(15, 23, 42, 0.025);
  padding: 0;
}

.sbe-admin-body .admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  border-bottom: 1px solid #e7edf5;
  padding: 0 18px;
}

.sbe-admin-body .admin-brand-mark {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b66f0, #1385ff);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(11, 102, 240, 0.24);
}

.sbe-admin-body .admin-brand-icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.9;
}

.sbe-admin-body .admin-sidebar-brand strong {
  display: flex;
  align-items: baseline;
  color: var(--admin-ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.sbe-admin-body .admin-sidebar-brand small {
  display: none;
}

.sbe-admin-body .admin-tabs {
  display: grid;
  align-content: start;
  gap: 2px;
  border: 0;
  padding: 17px 12px 26px;
}

.sbe-admin-body .admin-tabs button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #25334b;
  cursor: pointer;
  font: inherit;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0 10px;
  text-align: left;
}

.sbe-admin-body .admin-tabs button:hover {
  background: #f5f8fc;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] {
  background: var(--admin-blue-soft);
  color: var(--admin-blue);
  box-shadow: none;
}

.sbe-admin-body .admin-nav-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #667897;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] .admin-nav-icon,
.sbe-admin-body .admin-tabs button[aria-pressed="true"] .admin-nav-chevron,
.sbe-admin-body .admin-tabs button[aria-pressed="true"] .admin-nav-dot {
  color: var(--admin-blue);
}

.sbe-admin-body .admin-nav-section {
  display: block;
  color: #667897;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 18px 4px 7px;
  text-transform: uppercase;
}

.sbe-admin-body .admin-nav-chevron {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: #71819a;
}

.sbe-admin-body .admin-subnav {
  display: grid;
  gap: 2px;
  margin: 0 0 3px 24px;
}

.sbe-admin-body .admin-tabs .admin-subnav button {
  min-height: 32px;
  gap: 8px;
  border-radius: 6px;
  color: #536179;
  font-size: 0.78rem;
  font-weight: 600;
  padding-left: 8px;
}

.sbe-admin-body .admin-tabs .admin-subnav button::before {
  content: none;
}

.sbe-admin-body .admin-nav-dot {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  color: #9aa9bd;
  stroke-width: 1.6;
}

.sbe-admin-body .admin-main {
  min-width: 0;
  background: var(--admin-bg);
}

.sbe-admin-body .admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 44px minmax(300px, 390px) minmax(20px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  border-bottom: 1px solid var(--admin-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  padding: 0 25px;
}

.sbe-admin-body .admin-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sbe-admin-body .admin-icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #263449;
  cursor: pointer;
  padding: 0;
}

.sbe-admin-body .admin-icon-button svg {
  width: 20px;
  height: 20px;
}

.sbe-admin-body .admin-menu-button {
  border-radius: 8px;
}

.sbe-admin-body .admin-global-search {
  grid-column: 2;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid #d8e1ee;
  border-radius: 6px;
  background: #ffffff;
  color: #65758f;
  padding: 0 11px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
}

.sbe-admin-body .admin-global-search svg {
  width: 18px;
  height: 18px;
}

.sbe-admin-body .admin-global-search input {
  width: 100%;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #263449;
  font: inherit;
  font-size: 0.84rem;
  outline: 0;
  padding: 0;
}

.sbe-admin-body .admin-global-search kbd {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 26px;
  border: 1px solid #d7e0ed;
  border-radius: 5px;
  background: #f8fafc;
  color: #63708a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.sbe-admin-body .admin-top-actions {
  grid-column: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #263449;
  font-weight: 600;
}

.sbe-admin-body .admin-top-actions span,
.sbe-admin-body .admin-top-actions strong,
.sbe-admin-body .admin-top-actions small {
  display: initial;
}

.sbe-admin-body .admin-top-actions span::before {
  content: none;
  display: none;
}

.sbe-admin-body .admin-notification-button span {
  position: absolute;
  top: 1px;
  right: 2px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff3b30;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
}

.sbe-admin-body .admin-profile-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #1f2937;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.sbe-admin-body .admin-avatar {
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9179ff, #7367f0);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-admin-body .admin-profile-copy {
  display: grid !important;
  gap: 2px;
  min-width: 84px;
  text-align: left;
}

.sbe-admin-body .admin-profile-copy strong {
  color: #111827;
  font-size: 0.83rem;
  font-weight: 700;
}

.sbe-admin-body .admin-profile-copy small {
  color: #667897;
  font-size: 0.72rem;
  font-weight: 600;
}

.sbe-admin-body .admin-profile-button > svg {
  width: 15px;
  height: 15px;
  color: #42526b;
}

.sbe-admin-body .admin-content {
  display: grid;
  gap: 18px;
  padding: 21px 24px 34px;
}

.sbe-admin-body .pricing-page {
  display: grid;
  gap: 15px;
  max-width: 1120px;
}

.sbe-admin-body .pricing-breadcrumb {
  gap: 10px;
  color: var(--admin-blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.sbe-admin-body .pricing-breadcrumb span {
  color: #8794aa;
}

.sbe-admin-body .pricing-page-heading {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 6px;
}

.sbe-admin-body .pricing-page-heading h2 {
  color: var(--admin-ink);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
}

.sbe-admin-body .pricing-page-heading p {
  color: #536179;
  font-size: 0.89rem;
  line-height: 1.45;
  margin-top: 10px;
}

.sbe-admin-body .pricing-unit-switch {
  grid-template-columns: repeat(2, 48px);
  gap: 4px;
  border-color: #d8e1ee;
  border-radius: 7px;
  background: #ffffff;
}

.sbe-admin-body .pricing-unit-switch button {
  min-height: 32px;
  border-radius: 5px;
  font-size: 0.82rem;
}

.sbe-admin-body .pricing-card,
.sbe-admin-body .management-band,
.sbe-admin-body .settings-owner-tabs,
.sbe-admin-body .admin-card-panel {
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.sbe-admin-body .pricing-card {
  gap: 13px;
  padding: 16px;
}

.sbe-admin-body .pricing-card-heading {
  min-height: 24px;
}

.sbe-admin-body .pricing-card-heading h3,
.sbe-admin-body .pricing-control-panel h3 {
  color: var(--admin-ink);
  font-size: 1rem;
  font-weight: 800;
}

.sbe-admin-body .pricing-table-scroll {
  border-color: var(--admin-line);
  border-radius: 6px;
}

.sbe-admin-body .pricing-matrix {
  min-width: 980px;
  table-layout: fixed;
}

.sbe-admin-body .pricing-matrix th,
.sbe-admin-body .pricing-matrix td {
  border-color: #e5ebf3;
  color: #111827;
  font-size: 0.82rem;
  padding: 10px 9px;
}

.sbe-admin-body .pricing-matrix th {
  background: #fbfdff;
  font-size: 0.68rem;
  font-weight: 800;
}

.sbe-admin-body .pricing-matrix td {
  height: 54px;
  font-weight: 700;
}

.sbe-admin-body .pricing-matrix input,
.sbe-admin-body .pricing-matrix select {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 6px;
  text-align: center;
}

.sbe-admin-body .pricing-matrix select {
  text-align-last: center;
}

.sbe-admin-body .pricing-matrix input:focus,
.sbe-admin-body .pricing-matrix select:focus {
  border-color: #9cc7ff;
  background: #ffffff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(11, 102, 240, 0.12);
}

.sbe-admin-body .pricing-range-cell {
  grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr);
  gap: 4px;
}

.sbe-admin-body .pricing-row-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  white-space: nowrap;
}

.sbe-admin-body .pricing-row-actions .checkbox-line {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 32px;
  border: 1px solid #d8e1ee;
  border-radius: 6px;
  background: #ffffff;
  color: #52637d;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0 8px;
}

.sbe-admin-body .pricing-row-actions .danger-lite {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 9px;
  font-weight: 600;
}

.sbe-admin-body .pricing-new-button {
  justify-self: start;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: #16a34a;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 15px;
}

.sbe-admin-body .pricing-new-button::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  line-height: 1;
}

.sbe-admin-body .pricing-controls-card {
  padding: 16px;
}

.sbe-admin-body .pricing-controls-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 32px;
}

.sbe-admin-body .pricing-control-panel {
  border-color: var(--admin-line);
  border-radius: 6px;
  background: #ffffff;
  padding: 14px;
}

.sbe-admin-body .pricing-calculator-panel {
  border-color: #aee5bc;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffc 100%);
}

.sbe-admin-body .pricing-inline-control {
  grid-template-columns: minmax(90px, 1fr) 44px auto;
  gap: 0;
}

.sbe-admin-body .pricing-inline-control input {
  border-radius: 5px 0 0 5px;
}

.sbe-admin-body .pricing-inline-control span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid #d8e1ee;
  border-left: 0;
  background: #f8fafc;
  color: #111827;
  font-size: 0.82rem;
}

.sbe-admin-body .pricing-inline-control .plain-action {
  min-height: 38px;
  margin-left: 10px;
  border-color: var(--admin-blue);
  background: var(--admin-blue);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0 15px;
}

.sbe-admin-body .pricing-control-panel input {
  border-color: #d8e1ee;
  border-radius: 5px;
  font-size: 0.95rem;
}

.sbe-admin-body .pricing-minimum-panel {
  margin-top: 1px;
}

.sbe-admin-body .pricing-minimum-grid {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
}

.sbe-admin-body .pricing-actions {
  justify-content: flex-start;
  gap: 14px;
}

.sbe-admin-body .pricing-actions .primary-action,
.sbe-admin-body .pricing-controls-card .primary-action {
  min-height: 39px;
  border-radius: 5px;
  background: #16a34a;
  box-shadow: none;
  font-size: 0.86rem;
  padding: 0 18px;
}

.sbe-admin-body .pricing-info-note {
  border-color: #cfe4ff;
  border-radius: 6px;
  background: #f3f9ff;
  color: var(--admin-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 12px 14px;
}

@media (max-width: 1100px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .sbe-admin-body .admin-toolbar {
    grid-template-columns: 44px minmax(240px, 1fr) auto;
  }

  .sbe-admin-body .admin-top-actions {
    grid-column: 3;
  }

  .sbe-admin-body .pricing-minimum-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 860px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: 1fr;
  }

  .sbe-admin-body .admin-sidebar {
    position: static;
    min-height: auto;
    max-height: none;
  }

  .sbe-admin-body .admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-admin-body .admin-nav-section,
  .sbe-admin-body .admin-subnav {
    grid-column: 1 / -1;
  }

  .sbe-admin-body .admin-toolbar {
    position: static;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    padding: 14px;
  }

  .sbe-admin-body .admin-global-search {
    grid-column: 2;
  }

  .sbe-admin-body .admin-top-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .sbe-admin-body .pricing-page-heading,
  .sbe-admin-body .pricing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sbe-admin-body .pricing-controls-grid,
  .sbe-admin-body .pricing-minimum-grid {
    grid-template-columns: 1fr;
  }
}

.sbe-customer-body {
  min-height: 100vh;
  background: #050505;
}

.customer-portal {
  min-height: 100vh;
  color: #f8fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.customer-signin,
.customer-app {
  min-height: 100vh;
  padding: 24px;
}

.customer-signin {
  display: grid;
  place-items: center;
}

.customer-shell {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(420px, 560px);
  justify-content: center;
  gap: 28px;
  min-height: calc(100vh - 48px);
}

.customer-phone-card {
  border: 1px solid #1a1a1a;
  border-radius: 30px;
  background: #020202;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.customer-auth-card {
  display: grid;
  gap: 18px;
  width: min(420px, 100%);
  max-width: 420px;
  padding: 34px;
}

.customer-auth-card h1,
.customer-topbar h1,
.customer-topbar h2,
.customer-detail-card h2,
.customer-empty h2,
.customer-profile-card h2,
.customer-account-form h2 {
  margin: 0;
  color: #f8fbff;
  font-size: 18px;
}

.customer-kicker {
  margin: 0;
  color: #8b98aa;
  font-size: 12px;
  font-weight: 900;
}

.customer-auth-card label,
.customer-account-form label {
  display: grid;
  gap: 8px;
  color: #c9d5e5;
  font-size: 13px;
  font-weight: 800;
}

.customer-auth-card input,
.customer-account-form input,
.customer-action-form textarea {
  width: 100%;
  border: 1px solid #1f2937;
  border-radius: 10px;
  background: #0b0f16;
  color: #f8fbff;
  font: inherit;
  padding: 12px 14px;
}

.customer-action-form textarea {
  min-height: 96px;
  resize: vertical;
}

.customer-main-card,
.customer-detail-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: min(860px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.customer-detail-card {
  grid-template-rows: auto minmax(0, 1fr);
}

.customer-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  border-bottom: 1px solid #151515;
  padding: 18px 22px;
}

.customer-count-pill {
  margin-left: auto;
  border-radius: 999px;
  background: #0a84ff;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 8px;
}

.customer-icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #27272a;
  border-radius: 50%;
  background: #080808;
  color: #dbe8f8;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.customer-content,
.customer-detail-output {
  overflow: auto;
  padding: 20px;
}

.customer-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #151515;
  background: #0b0b0b;
  padding: 9px 14px 14px;
}

.customer-bottom-nav button {
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 54px;
  border: 0;
  background: transparent;
  color: #7f8794;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.customer-bottom-nav button[aria-pressed="true"] {
  color: #0a84ff;
}

.customer-bottom-nav button[aria-pressed="true"] svg,
.customer-bottom-nav button[aria-pressed="true"] .portal-nav-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(10, 132, 255, 0.34));
}

.customer-bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-bottom-nav .portal-nav-icon {
  width: 23px;
  height: 23px;
}

.customer-grid {
  display: grid;
  gap: 12px;
  align-self: start;
}

.customer-section-label {
  margin: 0 0 12px;
  color: #8fa1b8;
  font-size: 12px;
  font-weight: 800;
}

.customer-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
  border-bottom: 1px solid #17395f;
}

.customer-segment span,
.customer-segment strong {
  color: #8fa1b8;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  padding: 10px;
}

.customer-segment strong {
  border-bottom: 2px solid #0a84ff;
  color: #0a84ff;
}

.customer-booking-card,
.customer-payment-card,
.customer-profile-card,
.customer-account-form,
.customer-detail-output,
.customer-empty {
  border: 1px solid #1d2633;
  border-radius: 14px;
  background: #0a0d12;
}

.customer-booking-card {
  position: relative;
  display: grid;
  gap: 7px;
  width: 100%;
  color: #e8f1ff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 16px;
}

.customer-payment-card {
  display: grid;
  gap: 10px;
  color: #e8f1ff;
  padding: 16px;
}

.customer-booking-card strong {
  color: #f8fbff;
  font-size: 15px;
}

.customer-payment-card > strong {
  color: #f8fbff;
  font-size: 15px;
}

.customer-booking-card span,
.customer-booking-card small,
.customer-payment-card > span:not(.customer-status-pill),
.customer-state-note,
.customer-inline-note {
  color: #8fa1b8;
}

.customer-card-date {
  color: #f8fbff;
  font-size: 13px;
  font-weight: 800;
}

.customer-route-line {
  position: relative;
  display: block;
  padding-left: 24px;
  line-height: 1.35;
}

.customer-route-line i {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid #0a84ff;
  border-radius: 50%;
}

.customer-booking-card b {
  color: #22c55e;
  font-size: 14px;
}

.customer-booking-card small {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-booking-card em {
  font-style: normal;
}

.customer-payment-actions {
  display: grid;
  gap: 8px;
}

.customer-status-pill {
  justify-self: start;
  border-radius: 999px;
  background: #052e1a;
  color: #34d399;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 8px;
}

.customer-status-pill[data-status="cancellation_requested"] {
  background: #332100;
  color: #fbbf24;
}

.customer-status-pill[data-status="cancelled"] {
  background: #3f1111;
  color: #f87171;
}

.customer-status-pill[data-status="pending"] {
  background: #172554;
  color: #93c5fd;
}

.customer-profile-card,
.customer-account-form,
.customer-empty {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.customer-profile-card {
  justify-items: center;
  margin-bottom: 14px;
  text-align: center;
}

.customer-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a84ff, #22c55e);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.customer-profile-card p {
  margin: 0;
  color: #8fa1b8;
}

.customer-detail-grid,
.customer-form-grid {
  display: grid;
  gap: 12px;
}

.customer-detail-section {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid #1d2633;
  border-radius: 14px;
  background: #0a0d12;
  padding: 16px;
}

.customer-detail-section .customer-status-pill {
  justify-self: end;
}

.customer-detail-grid div {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid #1c2634;
  padding-bottom: 10px;
}

.customer-detail-grid span {
  color: #7890ad;
  font-size: 12px;
  font-weight: 800;
}

.customer-detail-grid strong {
  color: #e8f1ff;
  line-height: 1.35;
}

.customer-detail-output h3 {
  margin: 0;
  color: #f8fbff;
}

.customer-driver-card {
  display: grid;
  gap: 5px;
  border: 1px solid #1d2633;
  border-radius: 14px;
  background: #0f141d;
  padding: 14px;
}

.customer-driver-card strong {
  color: #f8fbff;
}

.customer-driver-card span {
  color: #8fa1b8;
}

.customer-payment-link {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a84ff, #045bd7);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 0 16px;
}

.customer-document-list {
  display: grid;
  gap: 8px;
}

.customer-document-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #1c2634;
  border-radius: 12px;
  background: #080c12;
  color: #8fa1b8;
  padding: 12px;
}

.customer-document-row strong {
  color: #e8f1ff;
}

.customer-document-link {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  border: 1px solid #1f5fd0;
  border-radius: 999px;
  color: #9bc5ff;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
}

.customer-document-link:hover {
  background: #0d1d34;
}

  .customer-action-form {
    display: grid;
    gap: 12px;
}

.customer-action-form[hidden] {
  display: none;
}

.customer-action-form label {
  display: grid;
  gap: 8px;
  color: #c9d5e5;
  font-size: 13px;
  font-weight: 800;
}

.customer-primary-action,
.customer-danger-action {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 16px;
}

.customer-primary-action {
  background: linear-gradient(135deg, #0a84ff, #045bd7);
  color: #fff;
}

.customer-danger-action {
  border: 1px solid #7f1d1d;
  background: rgba(127, 29, 29, 0.16);
  color: #ff6b6b;
}

@media (max-width: 940px) {
  .customer-signin,
  .customer-app {
    padding: 0;
  }

  .customer-shell {
    display: block;
    min-height: 100vh;
  }

  .customer-phone-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .customer-main-card,
  .customer-detail-card {
    min-height: 100vh;
    max-height: 100vh;
  }

  .customer-detail-card {
    position: fixed;
    inset: 0;
    z-index: 20;
  }
}

@media (max-width: 760px) {
  .sbe-step-one {
    min-height: auto;
    padding: 20px 0 34px;
    background: #fff;
  }

  .sbe-step-one__backdrop {
    display: none;
  }

  .sbe-itinerary-card {
    width: calc(100% - 28px);
    border-color: rgba(23, 35, 63, 0.14);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(23, 35, 63, 0.1);
    padding: 34px 36px 28px;
  }

  .sbe-itinerary-card__header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
  }

  .sbe-itinerary-card__intro {
    align-items: center;
  }

  .sbe-round-icon {
    display: grid;
    place-items: center;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff2ec;
    color: #f45a1f;
  }

  .sbe-round-icon svg {
    width: 32px;
    height: 32px;
  }

  .sbe-quote-kicker {
    display: none;
  }

  .sbe-itinerary-card h1 {
    color: var(--sbe-navy);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.12;
  }

  .sbe-mobile-subtitle {
    display: block;
    margin: 6px 0 0;
    color: #667085;
    font-size: 20px;
    line-height: 1.35;
  }

  .sbe-price-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    border: 1px solid #ffc7ac;
    border-radius: 999px;
    background: #fff3ed;
    color: #e6531c;
    font-size: 13px;
    font-weight: 900;
    padding: 11px 14px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .sbe-price-badge svg {
    width: 20px;
    height: 20px;
  }

  .sbe-step-one__fields {
    grid-template-columns: 1fr;
    gap: 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .sbe-step-field {
    gap: 12px;
    color: var(--sbe-navy);
    font-size: 23px;
  }

  .sbe-input-shell {
    min-height: 82px;
    border: 1px solid rgba(23, 35, 63, 0.14);
    border-radius: 22px;
    background: #fff;
    color: #4f5a6e;
    padding: 0 24px;
  }

  .sbe-input-shell input,
  .sbe-input-shell select,
  .sbe-input-shell textarea {
    font-size: 22px;
  }

  .sbe-step-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(23, 35, 63, 0.14);
    background: #fff;
    padding: 18px;
  }

  .sbe-step-compact-grid label {
    color: var(--sbe-navy);
    font-size: 17px;
  }

  .sbe-journey-tabs {
    border: 1px solid rgba(23, 35, 63, 0.14);
    background: #fff;
  }

  .sbe-journey-tabs button {
    border-color: #e3e8ef;
    background: #f7f9fc;
    color: var(--sbe-navy);
    font-size: 16px;
  }

  .sbe-trip-switches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sbe-trip-switch {
    min-height: 68px;
    border-color: rgba(23, 35, 63, 0.14);
    background: #fff;
    color: var(--sbe-navy);
    gap: 12px;
    padding: 12px 14px;
  }

  .sbe-trip-switch__icon {
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: transparent;
    color: #f45a1f;
  }

  .sbe-trip-switch strong {
    color: var(--sbe-navy);
    font-size: 16px;
    font-weight: 700;
  }

  .sbe-trip-switch small {
    color: #667085;
    font-size: 13px;
    font-weight: 500;
  }

  .sbe-trip-switch.is-active {
    border-color: rgba(211, 49, 70, 0.48);
    background: #fff7f4;
  }

  .sbe-journey-options {
    min-height: 74px;
    border: 1px solid rgba(23, 35, 63, 0.14);
    border-radius: 22px;
    background: #fff;
    color: var(--sbe-navy);
    padding: 16px 18px;
  }

  .sbe-flexible-option strong {
    color: var(--sbe-navy);
    font-size: 18px;
  }

  .sbe-flexible-option small {
    margin-top: 7px;
    color: #667085;
    font-size: 14px;
  }

  .sbe-return-panel,
  .sbe-via-panel,
  .sbe-hourly-panel {
    border: 1px solid rgba(23, 35, 63, 0.14);
    border-radius: 22px;
    background: #fff;
    padding: 20px;
  }

  .sbe-return-panel__heading,
  .sbe-via-panel__heading {
    color: var(--sbe-navy);
    font-size: 23px;
  }

  .sbe-via-add,
  .sbe-via-remove,
  .sbe-via-help {
    color: var(--sbe-navy);
  }

  .sbe-return-panel__grid,
  .sbe-via-panel__grid {
    gap: 18px;
  }

  .sbe-return-panel .sbe-step-field,
  .sbe-via-panel .sbe-step-field {
    color: var(--sbe-navy);
    font-size: 21px;
  }

  .sbe-gradient-action {
    min-height: 88px;
    margin-top: 24px;
    border-radius: 22px;
    font-size: 30px;
  }

  .sbe-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 0;
    color: #667085;
    font-size: 18px;
    font-weight: 700;
  }

  .sbe-secure-note svg {
    width: 20px;
    height: 20px;
  }

  .sbe-trust-row {
    display: grid;
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
    border: 1px solid rgba(23, 35, 63, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 44px rgba(23, 35, 63, 0.08);
    overflow: hidden;
  }

  .sbe-trust-row div {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 18px 22px;
  }

  .sbe-trust-row div + div {
    border-top: 1px solid rgba(23, 35, 63, 0.12);
  }

  .sbe-trust-icon {
    color: #f45a1f;
    font-size: 25px;
  }

  .sbe-quote-step,
  .sbe-confirmation-step {
    padding: 24px 0 48px;
  }

  .sbe-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px;
  }

  .sbe-progress span {
    min-height: 42px;
    border-radius: 10px;
    font-size: 13px;
    padding: 0 10px;
  }

  .sbe-progress b {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .sbe-summary-card,
  .sbe-panel,
  .sbe-confirm-card {
    border-radius: 16px;
    margin-left: 24px;
    margin-right: 24px;
  }

  .sbe-summary-card {
    min-height: auto;
    padding: 24px;
  }

  .sbe-summary-card h2,
  .sbe-panel h2 {
    font-size: 20px;
  }

  .sbe-summary-list {
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 14px;
  }

  .sbe-panel {
    padding: 18px;
  }

  .sbe-panel > p {
    font-size: 14px;
  }

  .sbe-vehicle-grid,
  .sbe-detail-grid {
    grid-template-columns: 1fr;
  }

  .sbe-booker-panel .sbe-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-booker-panel .sbe-detail-grid__wide {
    grid-column: 1 / -1;
  }

  .sbe-booker-panel .sbe-option-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-vehicle-card {
    grid-template-columns: 22px 96px minmax(0, 1fr);
    min-height: 100px;
    gap: 10px;
    border-radius: 12px;
    padding: 12px;
  }

  .sbe-vehicle-price {
    grid-column: 3;
    justify-self: start;
    margin-top: 2px;
    font-size: 18px;
  }

  .sbe-vehicle-art {
    width: 96px;
    height: 48px;
  }

  .sbe-vehicle-copy strong {
    font-size: 16px;
    line-height: 1.15;
  }

  .sbe-vehicle-copy small,
  .sbe-vehicle-note,
  .sbe-capacity-row {
    font-size: 13px;
    line-height: 1.25;
  }

  .sbe-panel label,
  .sbe-textarea-field {
    font-size: 14px;
  }

  .sbe-panel input,
  .sbe-panel select,
  .sbe-panel textarea {
    min-height: 46px;
    border-radius: 11px;
    font-size: 15px;
    padding: 10px 12px;
  }

  .sbe-subpanel {
    border-radius: 13px;
    padding: 14px;
  }

  .sbe-subpanel h3 {
    font-size: 17px;
  }

  .sbe-subpanel p,
  .sbe-subpanel label,
  .sbe-check-line {
    font-size: 15px;
  }

  .sbe-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-payment-grid label {
    min-width: 0;
    min-height: 50px;
    border-radius: 12px;
    padding: 8px 10px;
  }

  .sbe-payment-grid span {
    gap: 7px;
    justify-content: space-between;
    width: 100%;
    font-size: 15px;
  }

  .sbe-payment-grid strong {
    display: none;
  }

  .sbe-bottom-actions {
    grid-template-columns: 1fr;
    margin: 24px 24px 0;
  }

  .sbe-secondary-action,
  .sbe-bottom-actions .sbe-gradient-action {
    min-height: 60px;
    font-size: 18px;
  }

  .sbe-confirm-card {
    margin-top: 34px;
    padding: 30px;
  }

  .sbe-confirm-banner {
    gap: 22px;
    padding: 28px;
  }

  .sbe-confirm-banner h2 {
    font-size: 26px;
  }

  .sbe-confirm-banner p {
    font-size: 17px;
  }

  .sbe-confirm-details {
    grid-template-columns: 1fr;
    margin: 26px 0;
  }

  .sbe-confirm-details span {
    font-size: 16px;
  }

  .sbe-confirm-details strong {
    font-size: 22px;
  }

  .sbe-confirm-card > p {
    margin: 20px 0;
    font-size: 17px;
  }
}

@media (max-width: 430px) {
  .sbe-flow {
    overflow-x: hidden;
  }

  .sbe-itinerary-card {
    padding: 24px 20px 22px;
  }

  .sbe-itinerary-card__header {
    display: grid;
  }

  .sbe-itinerary-card h1 {
    font-size: 24px;
  }

  .sbe-mobile-subtitle,
  .sbe-secure-note {
    font-size: 16px;
  }

  .sbe-input-shell {
    min-height: 66px;
    border-radius: 17px;
    gap: 12px;
    padding: 0 14px;
  }

  .sbe-input-shell input,
  .sbe-input-shell select,
  .sbe-input-shell textarea {
    font-size: 16px;
  }

  .sbe-step-compact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .sbe-step-compact-grid__wide {
    grid-column: 1;
  }

  .sbe-step-compact-grid label {
    font-size: 15px;
  }

  .sbe-step-compact-grid input,
  .sbe-step-compact-grid select {
    min-height: 46px;
    border-radius: 12px;
    font-size: 15px;
  }

  .sbe-input-shell > svg {
    width: 25px;
    height: 25px;
  }

  .sbe-step-field {
    font-size: 18px;
  }

  .sbe-journey-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .sbe-journey-tabs button {
    font-size: 15px;
  }

  .sbe-trip-switches {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sbe-trip-switch {
    min-height: 62px;
    border-color: rgba(23, 35, 63, 0.14);
    background: #fff;
    color: var(--sbe-navy);
    gap: 11px;
    padding: 11px 12px;
  }

  .sbe-trip-switch__icon {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: transparent;
    color: #f45a1f;
  }

  .sbe-trip-switch__icon svg {
    width: 19px;
    height: 19px;
  }

  .sbe-trip-switch strong {
    color: var(--sbe-navy);
    font-size: 15px;
    font-weight: 700;
  }

  .sbe-trip-switch small {
    color: #667085;
    font-size: 12px;
    font-weight: 500;
  }

  .sbe-trip-switch.is-active {
    border-color: rgba(211, 49, 70, 0.48);
    background: #fff7f4;
  }

  .sbe-flexible-option strong {
    font-size: 16px;
  }

  .sbe-flexible-option small {
    font-size: 13px;
  }

  .sbe-return-panel,
  .sbe-via-panel,
  .sbe-hourly-panel {
    padding: 16px;
  }

  .sbe-return-panel__heading,
  .sbe-return-panel .sbe-step-field,
  .sbe-via-panel__heading,
  .sbe-via-panel .sbe-step-field,
  .sbe-hourly-panel__heading,
  .sbe-hourly-panel .sbe-step-field {
    font-size: 18px;
  }

  .sbe-return-panel__grid,
  .sbe-via-panel__grid,
  .sbe-hourly-panel__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sbe-check-box {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    border-width: 3px;
  }

  .sbe-gradient-action {
    min-height: 68px;
    font-size: 22px;
  }

  .sbe-quote-step,
  .sbe-confirmation-step {
    padding: 22px 0 44px;
    overflow-x: hidden;
  }

  .sbe-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0 10px;
  }

  .sbe-progress span {
    gap: 5px;
    min-height: 38px;
    border-radius: 9px;
    font-size: 11.5px;
    padding: 0 7px;
  }

  .sbe-progress b {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    font-size: 11px;
  }

  .sbe-summary-card,
  .sbe-panel,
  .sbe-confirm-card {
    margin-left: 16px;
    margin-right: 16px;
    border-radius: 18px;
  }

  .sbe-summary-card,
  .sbe-panel {
    padding: 18px;
  }

  .sbe-summary-card h2,
  .sbe-panel h2 {
    font-size: 20px;
  }

  .sbe-summary-list {
    gap: 10px;
    font-size: 14px;
  }

  .sbe-panel > p {
    font-size: 15px;
    line-height: 1.4;
  }

  .sbe-vehicle-card {
    grid-template-columns: 22px 78px minmax(0, 1fr);
    gap: 8px;
    min-height: 96px;
    border-radius: 14px;
    padding: 12px;
  }

  .sbe-radio-dot {
    width: 18px;
    height: 18px;
  }

  .sbe-vehicle-card.is-selected .sbe-radio-dot {
    border-width: 6px;
  }

  .sbe-vehicle-art {
    width: 72px;
    height: 42px;
  }

  .sbe-vehicle-copy {
    gap: 5px;
  }

  .sbe-vehicle-copy strong {
    font-size: 15px;
    line-height: 1.15;
  }

  .sbe-vehicle-copy small,
  .sbe-vehicle-note,
  .sbe-capacity-row {
    font-size: 12px;
    line-height: 1.25;
  }

  .sbe-vehicle-note {
    display: none;
  }

  .sbe-capacity-row {
    gap: 8px;
  }

  .sbe-vehicle-price {
    grid-column: 3;
    justify-self: start;
    margin-top: 2px;
    font-size: 17px;
  }

  .sbe-panel label,
  .sbe-textarea-field {
    font-size: 14px;
    line-height: 1.25;
  }

  .sbe-panel input,
  .sbe-panel select,
  .sbe-panel textarea {
    min-height: 46px;
    border-radius: 11px;
    font-size: 15px;
    padding: 10px 12px;
  }

  .sbe-booker-panel .sbe-detail-grid,
  .sbe-booker-panel .sbe-option-list {
    grid-template-columns: 1fr;
  }

  .sbe-check-line input,
  .sbe-subpanel input[type="checkbox"],
  .sbe-payment-grid input {
    width: 22px;
    height: 22px;
    min-height: 22px;
    flex-basis: 22px;
    padding: 0;
  }

  .sbe-payment-grid input {
    border-radius: 50%;
  }

  .sbe-check-line,
  .sbe-subpanel p,
  .sbe-subpanel label {
    font-size: 15px;
    line-height: 1.35;
  }

  .sbe-subpanel {
    border-radius: 13px;
    padding: 14px;
  }

  .sbe-subpanel h3 {
    font-size: 17px;
  }

  .sbe-payment-grid {
    gap: 12px;
  }

  .sbe-payment-grid label {
    min-height: 50px;
    border-radius: 12px;
    padding: 8px 10px;
  }

  .sbe-payment-grid span {
    justify-content: space-between;
    width: 100%;
    gap: 7px;
    font-size: 15px;
  }

  .sbe-payment-grid em {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sbe-payment-grid strong {
    max-width: 48px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: clip;
  }

  .sbe-bottom-actions {
    margin: 24px 16px 0;
  }

  .sbe-secondary-action,
  .sbe-bottom-actions .sbe-gradient-action {
    min-height: 60px;
    border-radius: 14px;
    font-size: 18px;
  }

  .sbe-confirm-banner {
    padding: 20px;
  }

  .sbe-confirm-check {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 27px;
  }

  .sbe-confirm-banner h2 {
    font-size: 24px;
  }

  .sbe-confirm-banner p,
  .sbe-confirm-card > p {
    font-size: 18px;
  }

  .sbe-confirm-details span {
    font-size: 17px;
  }

  .sbe-confirm-details strong {
    font-size: 22px;
  }
}

/* Portal final polish, aligned to the supplied RideAdmin-style reference. */
.sbe-admin-body {
  background: #f6f8fb;
}

.sbe-admin-body .admin-panel {
  grid-template-columns: 246px minmax(0, 1fr);
  color: #121826;
}

.sbe-admin-body #admin-landing-strip {
  position: relative;
  width: min(430px, calc(100% - 32px));
  align-items: flex-start;
  padding: 84px 0 18px;
}

.sbe-admin-body #admin-landing-strip h1 {
  color: #111827;
  font-size: 2rem;
  line-height: 1.08;
}

.sbe-admin-body #admin-landing-strip .admin-link {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 3;
}

.sbe-admin-body .signin-panel {
  width: min(430px, calc(100% - 32px));
  border-color: #dfe6ef;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.sbe-admin-body .signin-form {
  max-width: none;
  padding: 32px;
}

.sbe-admin-body .signin-form h2 {
  color: #111827;
  font-size: 1.12rem;
}

.sbe-admin-body .signin-form label {
  color: #536179;
}

.sbe-admin-body .signin-form input {
  border-color: #d9e4f1;
  background: #ffffff;
}

.sbe-admin-body .admin-sidebar {
  border-right: 1px solid #e1e7f0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 10px 0 30px rgba(15, 23, 42, 0.035);
  padding: 18px 14px;
}

.sbe-admin-body .admin-sidebar-brand {
  gap: 13px;
  padding: 0 4px 18px;
}

.sbe-admin-body .admin-brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1266f1, #0b85ff);
  box-shadow: 0 10px 24px rgba(18, 102, 241, 0.26);
}

.sbe-admin-body .admin-sidebar-brand strong {
  color: #111827;
  font-size: 1.08rem;
}

.sbe-admin-body .admin-tabs {
  gap: 3px;
  padding: 17px 0;
}

.sbe-admin-body .admin-tabs button {
  gap: 12px;
  min-height: 42px;
  border-radius: 8px;
  color: #27364f;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0 12px;
}

.sbe-admin-body .admin-tabs button:hover {
  background: #f4f8fd;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] {
  background: #edf5ff;
  color: #0b66f0;
  box-shadow: inset 3px 0 0 #0b66f0;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] .admin-nav-icon {
  border-color: #bfdbfe;
  background: #ffffff;
  color: #0b66f0;
}

.sbe-admin-body .admin-nav-section {
  color: #7a88a2;
  font-size: 0.7rem;
  padding: 17px 8px 6px;
}

.sbe-admin-body .admin-nav-icon {
  border-color: #d4deec;
  background: #fbfdff;
  color: #667a98;
}

.sbe-admin-body .admin-subnav {
  gap: 1px;
  margin: 0 0 4px 31px;
}

.sbe-admin-body .admin-tabs .admin-subnav button {
  min-height: 32px;
  border-radius: 7px;
  color: #5b6b84;
  font-size: 0.8rem;
}

.sbe-admin-body .admin-sidebar-link {
  border-color: #d9e4f1;
  background: #f8fbff;
  color: #1f314e;
  text-align: center;
}

.sbe-admin-body .admin-main {
  background: #f6f8fb;
}

.sbe-admin-body .admin-toolbar {
  min-height: 74px;
  border-bottom: 1px solid #dfe6ef;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  padding: 16px 28px;
}

.sbe-admin-body .admin-toolbar h1,
.sbe-admin-body .admin-toolbar h2 {
  color: #111827;
  font-size: 1.62rem;
  letter-spacing: 0;
}

.sbe-admin-body .admin-toolbar-eyebrow {
  color: #0b66f0;
  font-weight: 900;
}

.sbe-admin-body .admin-top-actions {
  color: #1f2937;
}

.sbe-admin-body .admin-top-actions span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sbe-admin-body .admin-top-actions span::before {
  content: "AD";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b7cf6, #6d5df7);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.sbe-admin-body .admin-content {
  gap: 18px;
  padding: 24px 28px 32px;
}

.sbe-admin-body .admin-content > .admin-view {
  min-width: 0;
  max-width: 100%;
}

.sbe-admin-body .booking-history-workspace,
.sbe-admin-body .booking-history-layout,
.sbe-admin-body .booking-history-layout .list-panel,
.sbe-admin-body .booking-history-layout .detail-panel,
.sbe-admin-body .booking-history-list-shell,
.sbe-admin-body .booking-history-summary-grid,
.sbe-admin-body .booking-history-count-bar,
.sbe-admin-body .booking-history-table-scroll {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.sbe-admin-body .booking-history-workspace,
.sbe-admin-body .reservation-list,
.sbe-admin-body .booking-history-list-shell {
  grid-template-columns: minmax(0, 1fr);
}

#bookings-view .booking-history-summary-grid-unassigned {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.sbe-admin-body .management-band,
.sbe-admin-body .pricing-card,
.sbe-admin-body .settings-owner-tabs,
.sbe-admin-body .admin-card-panel {
  border-color: #dfe6ef;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.sbe-admin-body .pricing-breadcrumb {
  color: #0b66f0;
}

.sbe-admin-body .pricing-page-heading h2 {
  font-size: clamp(1.55rem, 2.1vw, 2rem);
}

.sbe-admin-body .pricing-matrix th {
  background: #fbfdff;
}

.sbe-admin-body .pricing-matrix th,
.sbe-admin-body .pricing-matrix td {
  border-color: #e5ebf3;
}

.sbe-admin-body .plain-action,
.sbe-admin-body .admin-link {
  border-color: #d9e4f1;
  background: #fff;
}

.sbe-admin-body .primary-action {
  background: #17a34a;
  box-shadow: 0 10px 24px rgba(23, 163, 74, 0.18);
}

.sbe-admin-body .admin-dispatch-board .primary-action {
  background: #b8424d;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body #fleet-view .primary-action {
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body .optional-extras-bulk-form .primary-action {
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body .fixed-price-editor .primary-action {
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body .discounts-bulk-form .primary-action {
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body #email-settings-form .primary-action {
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body #system-data-settings-form .primary-action {
  background: #15803d;
  color: #fff;
  box-shadow: 0 12px 24px rgba(21, 128, 61, 0.18);
}

.sbe-admin-body .admin-metric-card {
  border-color: #dfe6ef;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.sbe-customer-body,
.sbe-driver-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.customer-portal,
.driver-portal {
  color: #142033;
}

.customer-signin,
.driver-signin,
.customer-app,
.driver-app {
  padding: 24px;
}

.customer-phone-card,
.driver-phone-card {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.customer-auth-card,
.driver-auth-card {
  gap: 18px;
  width: min(430px, 100%);
  border-radius: 12px;
  padding: 34px;
}

.sbe-admin-body .portal-auth-icon,
.customer-auth-card .portal-auth-icon,
.driver-auth-card .portal-auth-icon {
  width: 56px;
  height: 56px;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  background: linear-gradient(135deg, #1266f1, #0b85ff);
  box-shadow: 0 14px 28px rgba(18, 102, 241, 0.22);
  padding: 12px;
}

.customer-auth-card h1,
.customer-topbar h1,
.customer-topbar h2,
.customer-detail-card h2,
.customer-empty h2,
.customer-profile-card h2,
.customer-account-form h2,
.driver-auth-card h1,
.driver-main-card h1,
.driver-main-card h2,
.driver-detail-card h2,
.driver-empty h2,
.driver-profile-card h2,
.driver-password-form h3,
.driver-detail-section h3,
.driver-earnings-panel h3 {
  color: #111827;
}

.customer-kicker,
.driver-kicker,
.driver-topbar p {
  color: #0b66f0;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-auth-card label,
.customer-account-form label,
.customer-action-form label,
.driver-auth-card label,
.driver-password-form label {
  color: #536179;
}

.customer-auth-card input,
.customer-account-form input,
.customer-action-form textarea,
.driver-auth-card input,
.driver-password-form input,
.driver-reject-form textarea {
  border-color: #d9e4f1;
  background: #ffffff;
  color: #111827;
}

.customer-main-card,
.customer-detail-card,
.driver-main-card,
.driver-detail-card {
  min-height: min(860px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
}

.customer-topbar,
.driver-topbar {
  border-bottom: 1px solid #e5ebf3;
  background: rgba(255, 255, 255, 0.94);
}

.customer-count-pill,
.driver-count-pill {
  background: #0b66f0;
}

.customer-count-pill:empty,
.driver-count-pill:empty {
  display: none;
}

.customer-icon-button,
.driver-icon-button {
  border-color: #d9e4f1;
  background: #f8fbff;
  color: #24324a;
}

.customer-content,
.customer-detail-output,
.driver-content,
.driver-detail-output {
  background: #f7f9fc;
}

.customer-bottom-nav,
.driver-bottom-nav {
  border-color: #e5ebf3;
  background: #ffffff;
}

.customer-bottom-nav button,
.driver-bottom-nav button {
  color: #6b7890;
}

.customer-bottom-nav button[aria-pressed="true"],
.driver-bottom-nav button[aria-pressed="true"] {
  color: #0b66f0;
}

.customer-bottom-nav button[aria-pressed="true"] svg,
.customer-bottom-nav button[aria-pressed="true"] .portal-nav-icon,
.driver-bottom-nav button[aria-pressed="true"] svg,
.driver-bottom-nav button[aria-pressed="true"] .portal-nav-icon {
  filter: none;
}

.customer-booking-card,
.customer-payment-card,
.customer-profile-card,
.customer-account-form,
.customer-detail-output,
.customer-empty,
.customer-detail-section,
.customer-driver-card,
.driver-job-card,
.driver-help-card,
.driver-earnings-band,
.driver-earnings-panel,
.driver-profile-card,
.driver-password-form,
.driver-detail-section,
.driver-actions-panel {
  border-color: #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  color: #142033;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.customer-booking-card:hover,
.driver-job-card:hover,
.driver-earnings-row:hover {
  border-color: #b9d5ff;
  background: #fbfdff;
}

.customer-booking-card strong,
.customer-payment-card > strong,
.customer-card-date,
.customer-detail-grid strong,
.customer-driver-card strong,
.customer-document-row strong,
.driver-job-card strong,
.driver-card-date,
.driver-mini-profile strong,
.driver-info-list strong,
.driver-help-card strong,
.driver-earnings-row strong {
  color: #111827;
}

.customer-booking-card span,
.customer-booking-card small,
.customer-payment-card > span:not(.customer-status-pill),
.customer-state-note,
.customer-inline-note,
.customer-section-label,
.customer-segment span,
.customer-profile-card p,
.customer-driver-card span,
.customer-document-row,
.driver-job-card span,
.driver-job-card small,
.driver-state-note,
.driver-inline-note,
.driver-mini-profile span,
.driver-info-list span,
.driver-help-card span,
.driver-earnings-grid span,
.driver-earnings-grid small,
.driver-earnings-row small,
.driver-earnings-row em {
  color: #65758f;
}

.customer-route-line i {
  border-color: #0b66f0;
}

.customer-booking-card b,
.driver-job-card b,
.driver-earnings-band strong,
.driver-earnings-grid strong,
.driver-payout-status-card strong,
.driver-earnings-row b {
  color: #16a34a;
}

.customer-detail-grid div,
.driver-info-list div {
  border-bottom-color: #e7edf5;
}

.customer-document-row,
.driver-earnings-grid div,
.driver-payout-status-card,
.driver-earnings-row {
  border-color: #dfe6ef;
  background: #f8fbff;
}

.customer-payment-link,
.customer-primary-action,
.driver-primary-action {
  background: #0b66f0;
  box-shadow: 0 10px 24px rgba(11, 102, 240, 0.18);
}

.customer-danger-action,
.driver-danger-action {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b42318;
}

.driver-outline-action {
  border-color: #d9e4f1;
  background: #ffffff;
  color: #24324a;
}

.driver-job-card::before {
  background: #0b66f0;
}

.driver-status-badge {
  background: #edf5ff;
  color: #0b66f0;
}

.driver-status-badge.is-complete,
.customer-status-pill {
  background: #e9f8ef;
  color: #12843b;
}

.customer-status-pill[data-status="cancellation_requested"] {
  background: #fff7df;
  color: #b77905;
}

.customer-status-pill[data-status="cancelled"] {
  background: #fff1f2;
  color: #b42318;
}

.customer-status-pill[data-status="pending"] {
  background: #edf5ff;
  color: #0b66f0;
}

.driver-empty {
  border: 1px solid #dfe6ef;
  background: #ffffff;
}

.driver-empty h2 {
  color: #ffffff;
}

@media (min-width: 941px) {
  .customer-shell,
  .driver-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    grid-template-columns: minmax(620px, 1fr) minmax(360px, 0.72fr);
    gap: 22px;
  }

  @supports selector(:has(*)) {
    .customer-shell:has(.customer-detail-card[hidden]),
    .driver-shell:has(.driver-detail-card[hidden]) {
      grid-template-columns: minmax(0, 980px);
    }
  }

  .customer-main-card,
  .driver-main-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .customer-topbar,
  .driver-topbar {
    grid-column: 2;
    min-height: 74px;
  }

  .customer-content,
  .driver-content {
    grid-column: 2;
  }

  .customer-bottom-nav,
  .driver-bottom-nav {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    border-top: 0;
    border-right: 1px solid #e5ebf3;
    padding: 78px 12px 14px;
  }

  .customer-bottom-nav::before,
  .driver-bottom-nav::before {
    position: absolute;
  }

  .customer-bottom-nav button,
  .driver-bottom-nav button {
    grid-template-columns: 24px minmax(0, 1fr);
    justify-items: start;
    min-height: 42px;
    border-radius: 8px;
    padding: 0 12px;
    text-align: left;
  }

  .customer-bottom-nav button[aria-pressed="true"],
  .driver-bottom-nav button[aria-pressed="true"] {
    background: #edf5ff;
    box-shadow: inset 3px 0 0 #0b66f0;
  }
}

@media (max-width: 940px) {
  .customer-signin,
  .customer-app,
  .driver-signin,
  .driver-app {
    padding: 0;
  }

  .customer-phone-card,
  .driver-phone-card {
    border-radius: 0;
    box-shadow: none;
  }

  .customer-main-card,
  .driver-main-card,
  .customer-detail-card,
  .driver-detail-card {
    min-height: 100vh;
    max-height: 100vh;
  }
}

/* Admin reference final overrides: kept after the portal polish block so the Admin shell follows the supplied layout. */
.sbe-admin-body .admin-panel {
  grid-template-columns: 222px minmax(0, 1fr);
  background: var(--admin-bg, #f7f9fc);
  box-shadow: none;
}

.sbe-admin-body .admin-sidebar {
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--admin-line, #dde5ef);
  background: #ffffff;
  box-shadow: 8px 0 26px rgba(15, 23, 42, 0.025);
  padding: 0;
}

.sbe-admin-body .admin-sidebar-brand {
  min-height: 78px;
  border-bottom: 1px solid #e7edf5;
  padding: 0 18px;
}

.sbe-admin-body .admin-brand-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0b66f0, #1385ff);
}

.sbe-admin-body .admin-sidebar-brand strong {
  display: flex;
  color: #111827;
  font-size: 1.2rem;
  font-weight: 900;
}

.sbe-admin-body .admin-sidebar-brand small {
  display: none;
}

.sbe-admin-body .admin-tabs {
  gap: 2px;
  padding: 17px 12px 26px;
}

.sbe-admin-body .admin-tabs button {
  min-height: 38px;
  border-radius: 6px;
  color: #25334b;
  font-size: 0.91rem;
  font-weight: 700;
  padding: 0 10px;
}

.sbe-admin-body .admin-tabs button[aria-pressed="true"] {
  background: #eef6ff;
  color: #0b66f0;
  box-shadow: none;
}

.sbe-admin-body .admin-nav-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  color: #667897;
}

.sbe-admin-body .admin-nav-section {
  color: #667897;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 18px 4px 7px;
}

.sbe-admin-body .admin-subnav {
  gap: 2px;
  margin: 0 0 3px 24px;
}

.sbe-admin-body .admin-tabs .admin-subnav button {
  min-height: 32px;
  border-radius: 6px;
  color: #536179;
  font-size: 0.78rem;
  font-weight: 700;
  padding-left: 8px;
}

.sbe-admin-body .admin-toolbar {
  display: grid;
  grid-template-columns: 44px minmax(40px, 1fr) minmax(300px, 390px) minmax(40px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  border-bottom: 1px solid var(--admin-line, #dde5ef);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  padding: 0 25px;
}

.sbe-admin-body .admin-global-search {
  grid-column: 3;
}

.sbe-admin-body .admin-toolbar h1.admin-page-title,
.sbe-admin-body .admin-toolbar h2.admin-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sbe-admin-body .admin-top-actions {
  grid-column: 5;
  gap: 13px;
  color: #263449;
}

.sbe-admin-body .admin-top-actions span::before {
  content: none;
  display: none;
}

.sbe-admin-body .admin-content {
  gap: 18px;
  padding: 21px 24px 34px;
}

.sbe-admin-body .pricing-page {
  gap: 15px;
  max-width: 1120px;
}

.sbe-admin-body .pricing-page-heading h2 {
  color: #111827;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.sbe-admin-body .pricing-card,
.sbe-admin-body .management-band,
.sbe-admin-body .settings-owner-tabs,
.sbe-admin-body .admin-card-panel {
  border: 1px solid var(--admin-line, #dde5ef);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.sbe-admin-body .pricing-matrix th,
.sbe-admin-body .pricing-matrix td {
  border-color: #e5ebf3;
  color: #111827;
  font-size: 0.82rem;
  padding: 10px 9px;
}

.sbe-admin-body .pricing-matrix th {
  background: #fbfdff;
  font-size: 0.68rem;
  font-weight: 800;
}

.sbe-admin-body .pricing-matrix input,
.sbe-admin-body .pricing-matrix select {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 6px;
  text-align: center;
}

.sbe-admin-body .pricing-matrix input[type="number"] {
  appearance: textfield;
}

.sbe-admin-body .pricing-matrix input[type="number"]::-webkit-inner-spin-button,
.sbe-admin-body .pricing-matrix input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.sbe-admin-body .pricing-range-cell {
  grid-template-columns: minmax(40px, 1fr) 8px minmax(48px, 1fr);
}

.sbe-admin-body .pricing-range-cell input {
  padding-inline: 2px;
}

.sbe-admin-body .pricing-new-button,
.sbe-admin-body .pricing-actions .primary-action,
.sbe-admin-body .pricing-controls-card .primary-action {
  border-radius: 5px;
  background: #16a34a;
  box-shadow: none;
}

.sbe-admin-body .pricing-actions .primary-action {
  width: auto;
  min-width: 132px;
  padding-inline: 18px;
}

.sbe-admin-body .pricing-controls-card .pricing-actions .primary-action {
  min-width: 86px;
}

@media (max-width: 1100px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .sbe-admin-body .admin-toolbar {
    grid-template-columns: 44px minmax(240px, 1fr) auto;
  }

  .sbe-admin-body .admin-top-actions {
    grid-column: 3;
  }
}

@media (max-width: 860px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: 1fr;
  }

  .sbe-admin-body .admin-sidebar {
    position: static;
    min-height: auto;
    max-height: none;
  }

  .sbe-admin-body .admin-toolbar {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: auto;
    padding: 14px;
  }

  .sbe-admin-body .admin-global-search {
    grid-column: 2;
  }

  .sbe-admin-body .admin-top-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

/* Admin reference expanded sidebar menu. */
.sbe-admin-body .admin-panel {
  grid-template-columns: 308px minmax(0, 1fr);
}

.sbe-admin-body .admin-sidebar {
  display: flex;
  flex-direction: column;
}

.sbe-admin-body .admin-sidebar-brand {
  flex: 0 0 auto;
  gap: 12px;
  padding: 0 16px;
}

.sbe-admin-body .admin-sidebar-brand small {
  display: block;
  color: #536179;
  font-size: 0.73rem;
  font-weight: 700;
}

.sbe-admin-body .admin-tabs.admin-menu-reference {
  flex: 1 1 auto;
  gap: 0;
  padding: 12px 10px 12px;
}

.sbe-admin-body .admin-menu-reference .admin-nav-group {
  display: grid;
  gap: 1px;
}

.sbe-admin-body .admin-menu-reference > button,
.sbe-admin-body .admin-menu-reference .admin-nav-group > button {
  min-height: 36px;
  border-radius: 6px;
  color: #142033;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0 9px;
}

.sbe-admin-body .admin-menu-reference .admin-nav-parent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 14px;
  align-items: center;
}

.sbe-admin-body .admin-menu-reference .admin-nav-chevron {
  width: 14px;
  height: 14px;
  color: #142033;
}

.sbe-admin-body .admin-menu-reference .admin-nav-section {
  border-top: 1px solid #edf2f8;
  color: #34445e;
  font-size: 0.66rem;
  letter-spacing: 0;
  margin: 8px -10px 3px;
  padding: 12px 16px 6px;
}

.sbe-admin-body .admin-menu-reference .admin-nav-section:first-of-type {
  border-top: 0;
  margin-top: 4px;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0 0 8px 38px;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button {
  min-width: 0;
  min-height: 23px;
  border-radius: 4px;
  color: #1b273a;
  font-size: 0.64rem;
  font-weight: 700;
  gap: 5px;
  line-height: 1.1;
  padding: 0 2px;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button[aria-pressed="true"] {
  background: #edf5ff;
  color: #0b66f0;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid .admin-nav-dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  color: #637189;
}

.sbe-admin-body .admin-subitem-mark {
  display: inline-grid;
  flex: 0 0 12px;
  height: 12px;
  place-items: center;
  color: #142033;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1;
}

.sbe-admin-body .admin-sidebar-footer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid #edf2f8;
  padding: 12px 14px 16px;
}

.sbe-admin-body .admin-sidebar-footer .admin-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.75rem;
}

.sbe-admin-body .admin-sidebar-user {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sbe-admin-body .admin-sidebar-user strong {
  color: #142033;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-admin-body .admin-sidebar-user small {
  color: #536179;
  font-size: 0.68rem;
  font-weight: 600;
}

.sbe-admin-body .admin-sidebar-user .admin-sidebar-build {
  color: #7f8ea3;
  font-size: 0.5rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.sbe-admin-body .admin-sidebar-user .admin-sidebar-powered {
  color: #8b98aa;
  font-size: 0.52rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.sbe-admin-body .admin-sidebar-user div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px 6px;
  margin-top: 5px;
}

.sbe-admin-body .admin-sidebar-footer button {
  min-height: 18px;
  border: 0;
  background: transparent;
  color: #536179;
  cursor: pointer;
  font: inherit;
  font-size: 0.55rem;
  font-weight: 600;
  overflow: hidden;
  padding: 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbe-admin-body .admin-sidebar-footer button:hover {
  color: #0b66f0;
}

@media (max-width: 1200px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: 288px minmax(0, 1fr);
  }

  .sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid {
    gap: 1px 5px;
    margin-left: 36px;
  }
}

@media (max-width: 860px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: 1fr;
  }

  .sbe-admin-body .admin-tabs.admin-menu-reference {
    max-height: 58vh;
    overflow: auto;
  }
}

.sbe-admin-body .zone-management,
.sbe-admin-body .zone-price-management,
.sbe-admin-body .zone-service-area-management {
  display: grid;
  gap: 12px;
}

.sbe-admin-body .admin-help-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: 4px;
  border-radius: 999px;
  background: #eef4ff;
  color: #4269a5;
  cursor: help;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
}

.sbe-admin-body .admin-help-tip [role="tooltip"] {
  position: absolute;
  z-index: 25;
  bottom: calc(100% + 7px);
  left: 50%;
  width: min(260px, 72vw);
  transform: translateX(-50%);
  border: 1px solid #d5e2f2;
  border-radius: 7px;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0;
  padding: 9px 10px;
  pointer-events: none;
  text-align: left;
  transition: opacity 0.16s ease;
  visibility: hidden;
}

.sbe-admin-body .admin-help-tip:hover [role="tooltip"],
.sbe-admin-body .admin-help-tip:focus [role="tooltip"],
.sbe-admin-body .admin-help-tip:focus-within [role="tooltip"] {
  opacity: 1;
  visibility: visible;
}

.sbe-admin-body .zone-workspace {
  gap: 14px;
}

.sbe-admin-body #settings-view > .settings-owner-tabs {
  display: flex;
}

.sbe-admin-body #settings-view:not(.settings-view-default) > .settings-owner-tabs {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-zones > .settings-owner-tabs {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-admin-help > .settings-owner-tabs {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-branding > .settings-owner-tabs {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-email > .settings-owner-tabs {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-integrations > .settings-owner-tabs {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-system-data > .settings-owner-tabs {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-integrations .maps-advanced-settings,
.sbe-admin-body #settings-view.settings-view-integrations .maps-beta-settings,
.sbe-admin-body #settings-view.settings-view-integrations .maps-settings-workspace-shell > .health-output {
  display: none;
}

.sbe-admin-body #settings-view.settings-view-integrations .maps-settings-workspace {
  max-width: none;
}

.sbe-admin-body #settings-view.settings-view-system-data .maps-settings-workspace-shell,
.sbe-admin-body #settings-view.settings-view-system-data .system-data-workspace {
  max-width: none;
}

.sbe-admin-body #settings-view.settings-view-system-data .system-data-output .admin-card-panel {
  margin-top: 0;
}

.sbe-admin-body #settings-view.settings-view-system-data .health-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 759px) {
  .sbe-admin-body #settings-view.settings-view-system-data .health-grid {
    grid-template-columns: 1fr;
  }
}

.sbe-admin-body .zone-workspace-heading,
.sbe-admin-body .zone-panel-heading,
.sbe-admin-body .zone-price-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sbe-admin-body .zone-workspace-heading h2,
.sbe-admin-body .zone-panel-heading h3,
.sbe-admin-body .zone-price-card-heading h3 {
  margin: 0;
}

.sbe-admin-body .zone-operating-page,
.sbe-admin-body .zone-prices-page {
  display: grid;
  gap: 14px;
}

.sbe-admin-body .zone-operating-hero,
.sbe-admin-body .zone-prices-hero,
.sbe-admin-body .zone-price-form-card,
.sbe-admin-body .zone-price-list-card {
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.035);
  padding: 16px;
}

.sbe-admin-body .zone-operating-hero h2,
.sbe-admin-body .zone-prices-hero h2 {
  margin: 0 0 7px;
  color: #17223a;
  font-size: 1.25rem;
}

.sbe-admin-body .zone-operating-hero p,
.sbe-admin-body .zone-prices-hero p,
.sbe-admin-body .zone-form-note,
.sbe-admin-body .zone-price-filter-state {
  margin: 0;
  color: #536179;
  font-size: 0.86rem;
  font-weight: 700;
}

.sbe-admin-body .zone-operating-summary,
.sbe-admin-body .zone-price-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
}

.sbe-admin-body .zone-operating-summary {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.sbe-admin-body .zone-operating-summary article,
.sbe-admin-body .zone-price-metric {
  display: grid;
  gap: 5px;
  min-height: 82px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  color: #1d293d;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.sbe-admin-body button.zone-price-metric {
  cursor: pointer;
}

.sbe-admin-body .zone-price-metric.is-active {
  border-color: #2f68b8;
  box-shadow: inset 3px 0 0 #2f68b8;
}

.sbe-admin-body .zone-operating-summary span,
.sbe-admin-body .zone-price-metric span {
  color: #4f5f78;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sbe-admin-body .zone-operating-summary strong,
.sbe-admin-body .zone-price-metric strong {
  color: #111827;
  font-size: 1.28rem;
  line-height: 1.05;
}

.sbe-admin-body .zone-operating-summary small,
.sbe-admin-body .zone-price-metric small {
  color: #5a6880;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-admin-body .zone-operating-guidance,
.sbe-admin-body .zone-price-guidance {
  display: grid;
  gap: 8px;
  border: 1px solid #c9dcfb;
  border-left: 4px solid #2f68b8;
  border-radius: 7px;
  background: #f8fbff;
  color: #304158;
  padding: 12px 14px;
}

.sbe-admin-body .zone-operating-guidance strong,
.sbe-admin-body .zone-price-guidance strong {
  color: #17223a;
}

.sbe-admin-body .zone-operating-guidance p,
.sbe-admin-body .zone-price-guidance p {
  margin: 0;
  color: #49586f;
  font-size: 0.86rem;
}

.sbe-admin-body .zone-price-route-editor {
  display: grid;
  gap: 14px;
}

.sbe-admin-body .zone-price-route-grid {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(130px, 0.75fr);
  gap: 10px;
  align-items: start;
}

.sbe-admin-body .zone-price-route-grid label,
.sbe-admin-body .zone-vehicle-price-card {
  display: grid;
  gap: 7px;
  color: #1f2d44;
  font-weight: 800;
}

.sbe-admin-body .zone-field-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sbe-admin-body .zone-field-label .admin-help-tip {
  margin-left: 0;
}

.sbe-admin-body .zone-price-route-grid small,
.sbe-admin-body .zone-vehicle-price-card small {
  color: #65738b;
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body .zone-vehicle-price-fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.sbe-admin-body .zone-vehicle-price-fieldset legend {
  color: #1f2d44;
  font-weight: 900;
  padding: 0;
}

.sbe-admin-body .zone-vehicle-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.sbe-admin-body .zone-vehicle-price-card {
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 9px;
}

.sbe-admin-body .zone-price-active-line {
  width: fit-content;
}

.sbe-admin-body .zone-price-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sbe-admin-body .zone-price-search-form input {
  max-width: 320px;
}

.sbe-admin-body .zone-price-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.sbe-admin-body .zone-price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.sbe-admin-body .zone-price-table th,
.sbe-admin-body .zone-price-table td {
  border-bottom: 1px solid #e6ecf4;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.sbe-admin-body .zone-price-table th {
  background: #f7f9fc;
  color: #1d293d;
  font-size: 0.76rem;
  font-weight: 900;
}

.sbe-admin-body .zone-price-table td strong,
.sbe-admin-body .zone-price-table td small {
  display: block;
}

.sbe-admin-body .zone-price-table td small {
  color: #68758c;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 4px;
}

.sbe-admin-body .zone-price-route-cell {
  min-width: 240px;
}

.sbe-admin-body .zone-price-route-cell strong {
  line-height: 1.25;
}

.sbe-admin-body .zone-price-vehicle-cell {
  min-width: 260px;
}

.sbe-admin-body .zone-price-price-stack {
  display: grid;
  gap: 8px;
}

.sbe-admin-body .zone-price-default-price,
.sbe-admin-body .zone-price-override-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #dfe7f1;
  border-radius: 7px;
  background: #f8fbff;
  color: #25344c;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 8px;
}

.sbe-admin-body .zone-price-default-price {
  max-width: 220px;
  background: #ffffff;
}

.sbe-admin-body .zone-price-default-price em,
.sbe-admin-body .zone-price-override-chip em {
  color: #536179;
  font-style: normal;
  font-weight: 900;
}

.sbe-admin-body .zone-price-override-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sbe-admin-body .zone-price-override-chip {
  background: #edf5ff;
  border-color: #cfe0fb;
}

.sbe-admin-body .zone-price-override-chip strong {
  color: #1d4ed8;
}

.sbe-admin-body .zone-price-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 3px 9px;
}

.sbe-admin-body .zone-price-status-active {
  background: #e9f8ef;
  color: #16803a;
}

.sbe-admin-body .zone-price-status-inactive {
  background: #f3f5f8;
  color: #5f6b7c;
}

.sbe-admin-body .zone-price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  white-space: nowrap;
}

.sbe-admin-body .danger-lite {
  color: #b42332;
}

.sbe-admin-body .zone-areas-page {
  display: grid;
  gap: 14px;
}

.sbe-admin-body .zone-areas-hero,
.sbe-admin-body .zone-area-list-card {
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.035);
  padding: 16px;
}

.sbe-admin-body .zone-areas-hero h2 {
  margin: 0 0 7px;
  color: #17223a;
  font-size: 1.25rem;
}

.sbe-admin-body .zone-areas-hero p {
  margin: 0;
  color: #536179;
  font-size: 0.86rem;
  font-weight: 700;
}

.sbe-admin-body .zone-area-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
}

.sbe-admin-body .zone-area-metrics article {
  display: grid;
  gap: 5px;
  min-height: 82px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.sbe-admin-body .zone-area-metrics span {
  color: #4f5f78;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sbe-admin-body .zone-area-metrics strong {
  color: #111827;
  font-size: 1.28rem;
  line-height: 1.05;
}

.sbe-admin-body .zone-area-metrics small {
  color: #5a6880;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-admin-body .zone-area-guidance {
  display: grid;
  gap: 8px;
  border: 1px solid #c9dcfb;
  border-left: 4px solid #2f68b8;
  border-radius: 7px;
  background: #f8fbff;
  color: #304158;
  padding: 12px 14px;
}

.sbe-admin-body .zone-area-guidance strong {
  color: #17223a;
}

.sbe-admin-body .zone-area-guidance p {
  margin: 0;
  color: #49586f;
  font-size: 0.86rem;
}

.sbe-admin-body .zone-area-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sbe-admin-body .zone-area-editor-heading h3 {
  margin: 0;
  color: #17223a;
}

.sbe-admin-body .zone-area-form-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.sbe-admin-body .zone-area-form-summary article {
  display: grid;
  gap: 4px;
  border: 1px solid #e4ebf4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 11px 12px;
}

.sbe-admin-body .zone-area-form-summary span {
  color: #52617a;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sbe-admin-body .zone-area-form-summary strong {
  color: #111827;
  font-size: 1rem;
  line-height: 1.1;
}

.sbe-admin-body .zone-area-form-summary small {
  color: #5a6880;
  font-size: 0.75rem;
  font-weight: 700;
}

.sbe-admin-body .admin-zone-editor,
.sbe-admin-body .zone-price-editor,
.sbe-admin-body .zone-service-area-editor {
  border-color: #dfe7f1;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.035);
}

.sbe-admin-body .zone-service-area-editor {
  display: grid;
  gap: 13px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.sbe-admin-body .zone-coverage-scope-note {
  display: grid;
  gap: 4px;
  border: 1px solid #cfe0fb;
  border-radius: 8px;
  background: #f8fbff;
  color: #304158;
  padding: 11px 12px;
}

.sbe-admin-body .zone-coverage-scope-note strong {
  color: #17223a;
  font-size: 0.9rem;
}

.sbe-admin-body .zone-coverage-scope-note span {
  color: #536179;
  font-size: 0.82rem;
  font-weight: 700;
}

.sbe-admin-body .zone-coverage-page {
  display: grid;
  gap: 14px;
}

.sbe-admin-body .zone-coverage-hero {
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.035);
  padding: 16px;
}

.sbe-admin-body .zone-coverage-hero h2 {
  margin: 0 0 7px;
  color: #17223a;
  font-size: 1.25rem;
}

.sbe-admin-body .zone-coverage-hero p {
  margin: 0;
  color: #536179;
  font-size: 0.86rem;
  font-weight: 700;
}

.sbe-admin-body .zone-coverage-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
}

.sbe-admin-body .zone-coverage-summary article {
  display: grid;
  gap: 4px;
  min-height: 76px;
  border: 1px solid #e4ebf4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.sbe-admin-body .zone-coverage-summary span {
  color: #52617a;
  font-size: 0.78rem;
  font-weight: 800;
}

.sbe-admin-body .zone-coverage-summary strong {
  color: #111827;
  font-size: 1.18rem;
  line-height: 1.1;
}

.sbe-admin-body .zone-coverage-summary small {
  color: #5a6880;
  font-size: 0.75rem;
  font-weight: 700;
}

.sbe-admin-body .zone-coverage-guidance {
  display: grid;
  gap: 8px;
  border: 1px solid #c9dcfb;
  border-left: 4px solid #2f68b8;
  border-radius: 7px;
  background: #f8fbff;
  color: #304158;
  padding: 12px 14px;
}

.sbe-admin-body .zone-coverage-guidance strong {
  color: #17223a;
}

.sbe-admin-body .zone-coverage-guidance p {
  margin: 0;
  color: #49586f;
  font-size: 0.86rem;
}

.sbe-admin-body .zone-coverage-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sbe-admin-body .zone-coverage-flow article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.sbe-admin-body .zone-coverage-flow span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #edf5ff;
  color: #2f68b8;
  font-weight: 900;
}

.sbe-admin-body .zone-coverage-flow strong {
  color: #17223a;
  font-size: 0.9rem;
}

.sbe-admin-body .zone-coverage-flow small {
  grid-column: 2;
  color: #5a6880;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-admin-body .zone-coverage-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sbe-admin-body .zone-coverage-rule-card {
  display: grid;
  gap: 12px;
  border: 1px solid #e1e8f2;
  border-left: 4px solid #2f68b8;
  border-radius: 8px;
  background: #ffffff;
  padding: 13px;
}

.sbe-admin-body .zone-coverage-rule-allow {
  border-left-color: #16803a;
}

.sbe-admin-body .zone-coverage-rule-manual_review {
  border-left-color: #b7791f;
}

.sbe-admin-body .zone-coverage-rule-block {
  border-left-color: #b42332;
}

.sbe-admin-body .zone-coverage-rule-card h4 {
  margin: 0 0 5px;
  color: #17223a;
  font-size: 0.96rem;
}

.sbe-admin-body .zone-coverage-rule-card p,
.sbe-admin-body .zone-coverage-rule-card small {
  margin: 0;
  color: #5a6880;
  font-size: 0.8rem;
  font-weight: 700;
}

.sbe-admin-body .zone-coverage-rule-card label {
  display: grid;
  gap: 7px;
  color: #1f2d44;
  font-weight: 800;
}

.sbe-admin-body .admin-zone-editor-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 14px;
  align-items: start;
}

.sbe-admin-body .admin-zone-map-panel {
  display: grid;
  gap: 10px;
}

.sbe-admin-body .admin-zone-map {
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06)),
    #f8fbff;
}

.sbe-admin-body .admin-zone-map-status {
  min-height: 18px;
  margin: 0;
  color: #52617a;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-admin-body .admin-zone-map-status.is-error {
  color: #b42318;
}

.sbe-admin-body .zone-radius-readout {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid #dce5f1;
  border-radius: 7px;
  background: #f8fbff;
  padding: 9px 11px;
}

.sbe-admin-body .zone-radius-readout span {
  color: #52617a;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sbe-admin-body .zone-radius-readout strong {
  color: #111827;
}

.sbe-admin-body .zone-radius-readout small {
  color: #2f68b8;
  font-weight: 800;
  justify-self: end;
}

.sbe-admin-body .admin-zone-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sbe-admin-body .admin-zone-fields > label:first-child {
  grid-column: 1 / -1;
}

.sbe-admin-body .zone-operating-active-line {
  grid-column: 1 / -1;
  align-self: end;
}

.sbe-admin-body .zone-advanced-fields {
  grid-column: 1 / -1;
  border: 1px solid #e4ebf4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
}

.sbe-admin-body .zone-advanced-fields summary {
  cursor: pointer;
  color: #23324a;
  font-weight: 900;
}

.sbe-admin-body .zone-advanced-fields label {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.sbe-admin-body .zone-area-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.sbe-admin-body .zone-area-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.sbe-admin-body .zone-area-table th,
.sbe-admin-body .zone-area-table td {
  border-bottom: 1px solid #e6ecf4;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.sbe-admin-body .zone-area-table th {
  background: #f7f9fc;
  color: #1d293d;
  font-size: 0.76rem;
  font-weight: 900;
}

.sbe-admin-body .zone-area-table td strong,
.sbe-admin-body .zone-area-table td small {
  display: block;
}

.sbe-admin-body .zone-area-table td small {
  color: #68758c;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .sbe-admin-body .admin-zone-editor-layout,
  .sbe-admin-body .admin-zone-fields,
  .sbe-admin-body .zone-coverage-summary,
  .sbe-admin-body .zone-coverage-controls,
  .sbe-admin-body .zone-coverage-flow,
  .sbe-admin-body .zone-price-metrics,
  .sbe-admin-body .zone-operating-summary,
  .sbe-admin-body .zone-operating-saved-grid,
  .sbe-admin-body .zone-price-route-grid,
  .sbe-admin-body .zone-vehicle-price-grid,
  .sbe-admin-body .zone-area-form-summary,
  .sbe-admin-body .zone-area-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-admin-body .zone-operating-rule-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .sbe-admin-body .zone-operating-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sbe-admin-body .zone-operating-list-heading .plain-action {
    min-height: 42px;
  }
}

/* Admin accordion sidebar correction: subfields stay hidden until their main field is opened. */
.sbe-admin-body .admin-menu-reference .admin-nav-group .admin-subnav.admin-subnav-grid {
  display: none;
}

.sbe-admin-body .admin-menu-reference .admin-nav-group.admin-nav-group-open .admin-subnav.admin-subnav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0 0 8px 38px;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button {
  justify-content: flex-start;
  min-height: 27px;
  font-size: 0.68rem;
  line-height: 1.2;
  padding: 2px 6px;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button span:last-child {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.sbe-admin-body .admin-menu-reference .admin-nav-parent[aria-expanded="true"] .admin-nav-chevron {
  transform: rotate(180deg);
}

@media (max-width: 1200px) {
  .sbe-admin-body .admin-menu-reference .admin-nav-group.admin-nav-group-open .admin-subnav.admin-subnav-grid {
    margin-left: 36px;
  }
}

/* Admin compact density and shared reference header polish. */
.sbe-admin-body {
  font-size: 14px;
}

.sbe-admin-body .management-band,
.sbe-admin-body .admin-card-panel,
.sbe-admin-body .pricing-card,
.sbe-admin-body .settings-owner-tabs,
.sbe-admin-body .email-settings-card,
.sbe-admin-body .email-matrix-card,
.sbe-admin-body .email-content-card,
.sbe-admin-body .email-preview-card,
.sbe-admin-body .maps-settings-card,
.sbe-admin-body .fixed-price-create-card,
.sbe-admin-body .fixed-price-current-card,
.sbe-admin-body .optional-extras-bulk-form,
.sbe-admin-body .discount-section,
.sbe-admin-body .zone-price-form-card,
.sbe-admin-body .zone-price-list-card,
.sbe-admin-body .zone-area-list-card,
.sbe-admin-body .zone-coverage-rule-card {
  padding: 14px;
}

.sbe-admin-body .pricing-page-heading,
.sbe-admin-body .zone-workspace-heading,
.sbe-admin-body .fixed-prices-heading,
.sbe-admin-body .discounts-heading,
.sbe-admin-body .email-settings-heading,
.sbe-admin-body .maps-settings-heading,
.sbe-admin-body .optional-extras-heading,
.sbe-admin-body .admin-users-heading,
.sbe-admin-body .payments-ledger-heading,
.sbe-admin-body .zone-prices-hero,
.sbe-admin-body .zone-areas-hero,
.sbe-admin-body .zone-coverage-hero {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(115deg, #10192d 0%, #1f2b52 52%, #b8424d 100%);
  box-shadow: 0 14px 30px rgba(16, 25, 45, 0.14);
  color: #ffffff;
  padding: 18px 20px;
}

.sbe-admin-body .pricing-page-heading h2,
.sbe-admin-body .zone-workspace-heading h2,
.sbe-admin-body .fixed-prices-heading h2,
.sbe-admin-body .discounts-heading h2,
.sbe-admin-body .email-settings-heading h2,
.sbe-admin-body .maps-settings-heading h2,
.sbe-admin-body .optional-extras-heading h2,
.sbe-admin-body .admin-users-heading h2,
.sbe-admin-body .payments-ledger-heading h2,
.sbe-admin-body .zone-prices-hero h2,
.sbe-admin-body .zone-areas-hero h2,
.sbe-admin-body .zone-coverage-hero h2 {
  color: #ffffff;
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
}

.sbe-admin-body .pricing-page-heading p,
.sbe-admin-body .zone-workspace-heading p,
.sbe-admin-body .fixed-prices-heading p,
.sbe-admin-body .discounts-heading p,
.sbe-admin-body .email-settings-heading p,
.sbe-admin-body .maps-settings-heading p,
.sbe-admin-body .optional-extras-heading p,
.sbe-admin-body .admin-users-heading p,
.sbe-admin-body .payments-ledger-heading p,
.sbe-admin-body .zone-prices-hero p,
.sbe-admin-body .zone-areas-hero p,
.sbe-admin-body .zone-coverage-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.sbe-admin-body .pricing-page-heading .admin-help-tip,
.sbe-admin-body .zone-workspace-heading .admin-help-tip,
.sbe-admin-body .fixed-prices-heading .admin-help-tip,
.sbe-admin-body .discounts-heading .admin-help-tip,
.sbe-admin-body .email-settings-heading .admin-help-tip,
.sbe-admin-body .maps-settings-heading .admin-help-tip,
.sbe-admin-body .optional-extras-heading .admin-help-tip,
.sbe-admin-body .admin-users-heading .admin-help-tip,
.sbe-admin-body .payments-ledger-heading .admin-help-tip,
.sbe-admin-body .zone-prices-hero .admin-help-tip,
.sbe-admin-body .zone-areas-hero .admin-help-tip,
.sbe-admin-body .zone-coverage-hero .admin-help-tip {
  background: #ffffff;
  color: #2f68b8;
}

.sbe-admin-body .admin-users-heading {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(115deg, #0d3528 0%, #176b4a 54%, #35a86a 100%);
  box-shadow: 0 16px 34px rgba(20, 108, 72, 0.18);
}

.sbe-admin-body .admin-users-heading .admin-help-tip {
  color: #176b4a;
}

.sbe-admin-body input,
.sbe-admin-body select,
.sbe-admin-body textarea {
  min-height: 36px;
  border-radius: 6px;
  font-size: 0.84rem;
  padding: 7px 10px;
}

.sbe-admin-body textarea {
  min-height: 92px;
}

.sbe-admin-body .primary-action,
.sbe-admin-body .outline-action,
.sbe-admin-body .plain-action,
.sbe-admin-body .admin-link {
  width: auto;
  min-width: 0;
  min-height: 34px;
  border-radius: 7px;
  font-size: 0.82rem;
  padding: 7px 12px;
}

.sbe-admin-body .primary-action {
  align-self: start;
  justify-self: start;
  color: #ffffff;
}

.sbe-admin-body .zone-price-route-editor .primary-action {
  background: #b8424d;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body .zone-area-editor .primary-action,
.sbe-admin-body .zone-coverage-page .primary-action {
  background: #b8424d;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

.sbe-admin-body table th,
.sbe-admin-body table td,
.sbe-admin-body .booking-history-table th,
.sbe-admin-body .booking-history-table td,
.sbe-admin-body .fixed-price-table th,
.sbe-admin-body .fixed-price-table td,
.sbe-admin-body .optional-extra-table th,
.sbe-admin-body .optional-extra-table td,
.sbe-admin-body .discount-table th,
.sbe-admin-body .discount-table td,
.sbe-admin-body .zone-price-table th,
.sbe-admin-body .zone-price-table td,
.sbe-admin-body .zone-area-table th,
.sbe-admin-body .zone-area-table td {
  padding: 8px 10px;
}

.sbe-admin-body table th,
.sbe-admin-body table td {
  font-size: 0.82rem;
}

.sbe-admin-body .discount-date-table th,
.sbe-admin-body .discount-date-table td,
.sbe-admin-body .discount-voucher-table th,
.sbe-admin-body .discount-voucher-table td {
  padding: 7px 8px;
}

.sbe-admin-body .discount-date-table input,
.sbe-admin-body .discount-date-table select,
.sbe-admin-body .discount-voucher-table input,
.sbe-admin-body .discount-voucher-table select {
  padding-inline: 7px;
}

.sbe-admin-body .discount-date-table .outline-action,
.sbe-admin-body .discount-voucher-table .outline-action {
  padding-inline: 8px;
}

.sbe-admin-body .admin-dashboard-stat-card,
.sbe-admin-body .admin-metric-card,
.sbe-admin-body .booking-history-summary-grid article,
.sbe-admin-body .admin-booking-command-card,
.sbe-admin-body .admin-dispatch-check-item,
.sbe-admin-body .admin-dispatch-status-card,
.sbe-admin-body .admin-driver-status-card,
.sbe-admin-body .admin-customer-status-card,
.sbe-admin-body .admin-vehicle-status-card,
.sbe-admin-body .optional-extra-status-card,
.sbe-admin-body .fixed-price-status-card,
.sbe-admin-body .discount-status-card,
.sbe-admin-body .email-status-grid article,
.sbe-admin-body .maps-status-card,
.sbe-admin-body .zone-area-form-summary article,
.sbe-admin-body .zone-coverage-flow article,
.sbe-admin-body .zone-price-metric,
.sbe-admin-body .zone-area-metrics article {
  min-height: 76px;
  padding: 11px 12px;
}

.sbe-admin-body .admin-dashboard-stat-card strong,
.sbe-admin-body .admin-metric-card strong,
.sbe-admin-body .admin-booking-command-card strong,
.sbe-admin-body .admin-dispatch-check-item strong,
.sbe-admin-body .admin-dispatch-status-card strong,
.sbe-admin-body .admin-driver-status-card strong,
.sbe-admin-body .admin-customer-status-card strong,
.sbe-admin-body .admin-vehicle-status-card strong,
.sbe-admin-body .optional-extra-status-card strong,
.sbe-admin-body .fixed-price-status-card strong,
.sbe-admin-body .discount-status-card strong,
.sbe-admin-body .email-status-grid strong,
.sbe-admin-body .maps-status-card strong,
.sbe-admin-body .zone-area-form-summary strong,
.sbe-admin-body .zone-price-metric strong,
.sbe-admin-body .zone-area-metrics strong {
  font-size: 1.35rem;
}

.sbe-admin-body .admin-zone-map {
  min-height: 260px;
}

.sbe-admin-body .zone-price-route-editor,
.sbe-admin-body .fixed-price-editor,
.sbe-admin-body .admin-zone-editor,
.sbe-admin-body .email-settings-workspace,
.sbe-admin-body .maps-settings-workspace,
.sbe-admin-body .discounts-workspace,
.sbe-admin-body .optional-extras-workspace {
  gap: 12px;
}

.sbe-admin-body .zone-price-route-grid,
.sbe-admin-body .fixed-price-form-grid,
.sbe-admin-body .admin-vehicle-form-grid,
.sbe-admin-body .maps-form-grid {
  gap: 10px;
}

/* Admin compact typography correction: keeps tables, forms, and booking details at one lighter density. */
.sbe-admin-body {
  font-weight: 500;
  letter-spacing: 0;
}

.sbe-admin-body label,
.sbe-admin-body .filter-bar label,
.sbe-admin-body .audit-filter-form label,
.sbe-admin-body .booking-history-filter-form label,
.sbe-admin-body .admin-booking-update-form label {
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body input,
.sbe-admin-body select,
.sbe-admin-body textarea {
  font-size: 0.78rem;
  font-weight: 500;
}

.sbe-admin-body .primary-action,
.sbe-admin-body .outline-action,
.sbe-admin-body .plain-action,
.sbe-admin-body .admin-link {
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body table th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}

.sbe-admin-body table td {
  font-size: 0.76rem;
  font-weight: 500;
}

.sbe-admin-body table strong,
.sbe-admin-body .detail-row strong {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
}

.sbe-admin-body table small,
.sbe-admin-body table td > span:not(.admin-status-badge),
.sbe-admin-body .detail-row span,
.sbe-admin-body .state-note,
.sbe-admin-body .inline-note {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-admin-body .detail-row span {
  font-size: 0.66rem;
  font-weight: 700;
}

.sbe-admin-body .admin-status-badge,
.sbe-admin-body .status-pill {
  font-size: 0.66rem;
  font-weight: 600;
}

.sbe-admin-body .booking-history-table {
  min-width: 860px;
}

.sbe-admin-body .booking-history-layout .detail-output {
  padding: 12px;
}

.sbe-admin-body .admin-booking-detail-shell {
  max-width: 1120px;
}

.sbe-admin-body .admin-booking-command-card span,
.sbe-admin-body .admin-booking-command-card small,
.sbe-admin-body .admin-booking-summary-card small,
.sbe-admin-body .admin-booking-summary-card em,
.sbe-admin-body .admin-booking-fact-copy small,
.sbe-admin-body .admin-booking-fact-copy em,
.sbe-admin-body .admin-booking-detail-metrics .admin-metric-card span,
.sbe-admin-body .admin-booking-detail-metrics .admin-metric-card small {
  font-size: 0.68rem;
  font-weight: 600;
}

.sbe-admin-body .admin-booking-command-card strong,
.sbe-admin-body .admin-booking-summary-card strong,
.sbe-admin-body .admin-booking-fact-copy strong,
.sbe-admin-body .admin-booking-detail-metrics .admin-metric-card strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.sbe-admin-body .admin-booking-detail-metrics .admin-metric-card {
  min-height: 62px;
  padding: 9px 10px;
}

.sbe-admin-body .admin-booking-detail-section h3,
.sbe-admin-body .admin-panel-heading h3,
.sbe-admin-body .booking-history-filter-heading h3 {
  font-size: 0.86rem;
  font-weight: 700;
}

.sbe-admin-body .booking-history-workspace[data-booking-mode="list"] .detail-panel {
  display: none;
}

.sbe-admin-body .booking-history-workspace[data-booking-mode="detail"] .booking-history-hero,
.sbe-admin-body .booking-history-workspace[data-booking-mode="detail"] .booking-history-filter-form,
.sbe-admin-body .booking-history-workspace[data-booking-mode="detail"] .list-panel {
  display: none;
}

.sbe-admin-body .booking-history-workspace[data-booking-mode="detail"] .booking-history-layout,
.sbe-admin-body .booking-history-workspace[data-booking-mode="detail"] .detail-panel {
  border: 0;
  margin: 0;
  overflow: visible;
}

.sbe-admin-body .booking-history-workspace[data-booking-mode="detail"] .detail-output {
  padding: 0;
}

.booking-detail-page-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto 10px;
}

.admin-compact-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-compact-pagination button {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid #9ab5df;
  border-radius: 8px;
  background: #fff;
  color: #4268a7;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 9px;
}

.admin-compact-pagination button.is-active {
  border-color: #168a43;
  background: #168a43;
  color: #fff;
}

.admin-compact-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

#bookings-view .booking-history-count-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, auto);
  align-items: center;
}

#bookings-view .booking-history-table {
  min-width: 960px;
  font-size: 0.72rem;
}

#bookings-view .booking-history-table th,
#bookings-view .booking-history-table td {
  padding: 7px 8px;
}

#bookings-view .booking-history-table col.booking-history-select-col {
  width: 34px;
}

#bookings-view .booking-history-table col.booking-history-booking-col {
  width: 16%;
}

#bookings-view .booking-history-table col.booking-history-pickup-col {
  width: 12%;
}

#bookings-view .booking-history-table col.booking-history-route-col {
  width: 23%;
}

#bookings-view .booking-history-table col.booking-history-customer-col {
  width: 17%;
}

#bookings-view .booking-history-table col.booking-history-payment-col {
  width: 12%;
}

#bookings-view .booking-history-table col.booking-history-status-col {
  width: 13%;
}

#bookings-view .booking-history-table col.booking-history-actions-col {
  width: 118px;
}

#bookings-view .booking-history-table strong {
  font-size: 0.73rem;
  font-weight: 600;
}

#bookings-view .booking-history-table small,
#bookings-view .booking-history-table td > span:not(.admin-status-badge) {
  font-size: 0.68rem;
  font-weight: 500;
}

#bookings-view .booking-history-table .booking-history-action {
  min-height: 26px;
  padding: 5px 6px;
  font-size: 0.7rem;
}

#bookings-view .booking-history-table .booking-history-action-primary {
  border-color: #168a43;
  background: #168a43;
  color: #ffffff;
}

@media (min-width: 641px) {
  #bookings-view .booking-history-table th:last-child,
  #bookings-view .booking-history-table td:last-child {
    position: sticky;
    right: 0;
    z-index: 1;
    background: #ffffff;
    box-shadow: -8px 0 14px rgba(15, 23, 42, 0.04);
  }

  #bookings-view .booking-history-table th:last-child {
    background: #f8fbf9;
    z-index: 2;
  }
}

#bookings-view .admin-booking-detail-shell {
  max-width: 1120px;
  gap: 16px;
}

#bookings-view .admin-booking-detail-section {
  gap: 14px;
}

.sbe-admin-body .admin-payment-focus-section {
  border-color: #b8424d;
  box-shadow: 0 0 0 3px rgba(184, 66, 77, 0.08);
}

#bookings-view .admin-booking-update-form {
  gap: 10px;
}

#bookings-view .admin-booking-update-form input,
#bookings-view .admin-booking-update-form select,
#bookings-view .admin-booking-update-form textarea {
  min-height: 36px;
}

#dispatch-view .admin-dispatch-hero {
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 28px 30px;
}

#dispatch-view .admin-dispatch-hero > div:first-child > span {
  color: #52708f;
  font-size: 0.74rem;
}

#dispatch-view .admin-dispatch-hero h2 {
  color: #0f172a;
  font-size: 2.05rem;
  letter-spacing: 0;
}

#dispatch-view .admin-dispatch-hero p {
  color: #526173;
}

#dispatch-view .admin-dispatch-hero .admin-help-tip {
  background: #eff6ff;
  color: #1d4ed8;
}

#dispatch-view .admin-dispatch-hero-stats {
  grid-template-columns: repeat(4, minmax(104px, 1fr));
}

#dispatch-view .admin-dispatch-hero-stat {
  border-color: #dfe7f0;
  border-radius: 10px;
  background: #fff;
  padding: 13px 14px;
}

#dispatch-view .admin-dispatch-hero-stat span {
  color: #64748b;
}

#dispatch-view .admin-dispatch-hero-stat:nth-child(1) {
  border-color: #fde68a;
  background: #fffbeb;
}

#dispatch-view .admin-dispatch-hero-stat:nth-child(2) {
  border-color: #fecaca;
  background: #fff1f2;
}

#dispatch-view .admin-dispatch-hero-stat:nth-child(3) {
  border-color: #bbf7d0;
  background: #ecfdf3;
}

#dispatch-view .admin-dispatch-hero-stat:nth-child(4) {
  border-color: #bfdbfe;
  background: #eff6ff;
}

#dispatch-view .admin-dispatch-hero-stat:hover,
#dispatch-view .admin-dispatch-hero-stat:focus {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 22px rgba(18, 108, 60, 0.12);
  transform: translateY(-1px);
}

#dispatch-view .admin-dispatch-hero-stat:focus-visible {
  outline: 3px solid rgba(46, 125, 50, 0.22);
  outline-offset: 2px;
}

#dispatch-view .admin-dispatch-hero-stat strong {
  color: #0f172a;
  font-size: 1.45rem;
}

#dispatch-view .admin-dispatch-board .admin-dispatch-filter-bar label,
#dispatch-view .admin-dispatch-assignment-card label {
  font-size: 0.76rem;
  font-weight: 700;
}

#dispatch-view .admin-dispatch-board .admin-dispatch-filter-bar {
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(130px, 1fr));
}

#dispatch-view .admin-dispatch-filter-count {
  color: #526173;
  font-size: 0.82rem;
  font-weight: 700;
}

#dispatch-view .admin-dispatch-results-head {
  align-items: center;
}

#dispatch-view .admin-dispatch-status-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#dispatch-view .admin-dispatch-status-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 34px;
  border-color: #dce7df;
  border-radius: 999px;
  background: #fbfefc;
  color: #334155;
  padding: 8px 13px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

#dispatch-view .admin-dispatch-status-card span,
#dispatch-view .admin-dispatch-status-card strong {
  display: inline-flex;
  margin: 0;
}

#dispatch-view .admin-dispatch-status-card span {
  color: #334155;
  font-size: 0.78rem;
}

#dispatch-view .admin-dispatch-status-card strong {
  color: #0f172a;
  font-size: 0.82rem;
}

#dispatch-view .admin-dispatch-status-card small {
  display: none;
}

#dispatch-view .admin-dispatch-table {
  display: grid;
  gap: 12px;
  overflow: visible;
}

#dispatch-view .admin-dispatch-table-head,
#dispatch-view .admin-dispatch-row {
  grid-template-columns:
    minmax(138px, 0.92fr)
    minmax(185px, 1.45fr)
    minmax(105px, 0.85fr)
    minmax(105px, 0.85fr)
    minmax(115px, 0.95fr)
    minmax(90px, 0.7fr);
  gap: 10px;
}

#dispatch-view .admin-dispatch-table-head {
  display: grid;
  align-items: center;
  padding: 2px 18px 0 24px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

#dispatch-view .admin-dispatch-row {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.055);
  padding: 16px 18px 16px 24px;
}

#dispatch-view .admin-dispatch-row.is-selected {
  border-color: #9ab5df;
  background: #fbfdff;
  box-shadow: 0 16px 30px rgba(47, 104, 184, 0.12);
}

#dispatch-view .admin-dispatch-accent {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 5px;
  border-radius: 0 6px 6px 0;
  background: #2563eb;
}

#dispatch-view .admin-dispatch-row-amber .admin-dispatch-accent {
  background: #f59e0b;
}

#dispatch-view .admin-dispatch-row-green .admin-dispatch-accent {
  background: #16a34a;
}

#dispatch-view .admin-dispatch-row-red .admin-dispatch-accent {
  background: #dc2626;
}

#dispatch-view .admin-dispatch-row span,
#dispatch-view .admin-dispatch-row strong,
#dispatch-view .admin-dispatch-row small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

#dispatch-view .admin-dispatch-row strong {
  display: block;
  color: #111827;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.28;
}

#dispatch-view .admin-dispatch-row small {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

#dispatch-view .admin-dispatch-booking-cell,
#dispatch-view .admin-dispatch-route-cell,
#dispatch-view .admin-dispatch-customer-cell,
#dispatch-view .admin-dispatch-driver-cell,
#dispatch-view .admin-dispatch-readiness-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

#dispatch-view .admin-dispatch-reference {
  color: #b8424d;
  font-size: 0.86rem;
  font-weight: 800;
}

#dispatch-view .admin-dispatch-route-cell {
  gap: 6px;
}

#dispatch-view .admin-dispatch-route-step {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

#dispatch-view .admin-dispatch-route-step i {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border: 2px solid #2563eb;
  border-radius: 999px;
  background: #fff;
}

#dispatch-view .admin-dispatch-route-step:first-child::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -14px;
  left: 4px;
  width: 2px;
  background: #cbd5e1;
}

#dispatch-view .admin-dispatch-route-dropoff i {
  border-color: #64748b;
  background: #64748b;
}

#dispatch-view .admin-dispatch-readiness-cell {
  align-items: start;
  justify-content: start;
}

#dispatch-view .admin-dispatch-readiness-cell .admin-dispatch-flag {
  margin: 0 6px 6px 0;
}

#dispatch-view .admin-dispatch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

#dispatch-view .admin-dispatch-action-button {
  min-height: 38px;
  border: 1px solid #cddbf0;
  border-radius: 9px;
  background: #fff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 9px 12px;
}

#dispatch-view .admin-dispatch-assign-action {
  border-color: #b8424d;
  background: #b8424d;
  color: #fff;
  box-shadow: 0 12px 20px rgba(184, 66, 77, 0.18);
}

#dispatch-view .admin-dispatch-open-action:hover,
#dispatch-view .admin-dispatch-open-action:focus {
  border-color: #9ab5df;
  background: #eff6ff;
}

.admin-dispatch-flag-clear {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #15803d;
}

.admin-dispatch-flag-rejected,
.admin-dispatch-flag-driver-conflict,
.admin-dispatch-flag-vehicle-conflict {
  border-color: #fecaca;
  background: #fee2e2;
  color: #b91c1c;
}

#dispatch-view .admin-dispatch-assignment-card {
  border-color: #cfe0f5;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

#dispatch-view .admin-dispatch-assignment-card .admin-panel-heading {
  border-bottom: 1px solid #e8eef6;
  padding-bottom: 10px;
}

#dispatch-view .admin-dispatch-assignment-card .management-form {
  display: grid;
  gap: 14px;
}

#dispatch-view .admin-dispatch-detail-screen {
  display: grid;
  gap: 18px;
}

#dispatch-view .admin-dispatch-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

#dispatch-view .admin-dispatch-detail-toolbar > div {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

#dispatch-view .admin-dispatch-detail-toolbar strong {
  color: #0f172a;
  font-size: 1rem;
}

#dispatch-view .admin-dispatch-detail-assignment-card {
  border-color: #cfe0f5;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.72) 0%, rgba(255, 255, 255, 0.96) 36%),
    #fff;
}

#dispatch-view .admin-dispatch-detail-assignment-form {
  gap: 16px;
}

#dispatch-view .admin-dispatch-summary-panel {
  border-color: #e2e8f0;
  background: #fff;
}

#dispatch-view .admin-dispatch-detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#dispatch-view .admin-dispatch-detail-card {
  display: grid;
  gap: 14px;
  min-height: 214px;
  border: 1px solid #dfe8f2;
  border-top: 4px solid #2563eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 16px;
}

#dispatch-view .admin-dispatch-detail-card-green {
  border-top-color: #16a34a;
}

#dispatch-view .admin-dispatch-detail-card-amber {
  border-top-color: #f59e0b;
}

#dispatch-view .admin-dispatch-detail-card-purple {
  border-top-color: #7c3aed;
}

#dispatch-view .admin-dispatch-detail-card-red {
  border-top-color: #dc2626;
}

#dispatch-view .admin-dispatch-detail-card-neutral {
  border-top-color: #64748b;
}

#dispatch-view .admin-dispatch-detail-card header {
  display: flex;
  align-items: center;
  gap: 10px;
}

#dispatch-view .admin-dispatch-detail-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
}

#dispatch-view .admin-dispatch-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
}

#dispatch-view .admin-dispatch-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

#dispatch-view .admin-dispatch-detail-lines {
  display: grid;
  gap: 12px;
}

#dispatch-view .admin-dispatch-detail-line {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-top: 1px solid #edf2f7;
  padding-top: 11px;
}

#dispatch-view .admin-dispatch-detail-line:first-child {
  border-top: 0;
  padding-top: 0;
}

#dispatch-view .admin-dispatch-detail-line small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

#dispatch-view .admin-dispatch-detail-line strong {
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

#dispatch-view .admin-dispatch-detail-line em {
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

#dispatch-view .admin-dispatch-selected-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(220px, 1fr);
  gap: 14px;
  overflow: hidden;
  border: 1px solid #dfe8f2;
  border-left: 5px solid #2563eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  padding: 16px;
}

#dispatch-view .admin-dispatch-selected-amber {
  border-left-color: #f59e0b;
}

#dispatch-view .admin-dispatch-selected-green {
  border-left-color: #16a34a;
}

#dispatch-view .admin-dispatch-selected-red {
  border-left-color: #dc2626;
}

#dispatch-view .admin-dispatch-selected-main,
#dispatch-view .admin-dispatch-selected-route,
#dispatch-view .admin-dispatch-selected-facts,
#dispatch-view .admin-dispatch-selected-readiness {
  min-width: 0;
}

#dispatch-view .admin-dispatch-selected-kicker,
#dispatch-view .admin-dispatch-selected-facts span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

#dispatch-view .admin-dispatch-selected-main strong {
  display: block;
  margin-top: 8px;
  color: #b8424d;
  font-size: 1rem;
  line-height: 1.2;
}

#dispatch-view .admin-dispatch-selected-main small,
#dispatch-view .admin-dispatch-selected-facts small {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.35;
}

#dispatch-view .admin-dispatch-selected-route {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 12px;
}

#dispatch-view .admin-dispatch-selected-facts {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#dispatch-view .admin-dispatch-selected-facts article {
  display: grid;
  gap: 4px;
  border: 1px solid #e3ebf4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 11px;
}

#dispatch-view .admin-dispatch-selected-facts strong {
  color: #111827;
  font-size: 0.88rem;
  line-height: 1.25;
}

#dispatch-view .admin-dispatch-selected-readiness {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e3ebf4;
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
}

#dispatch-view .admin-dispatch-selected-readiness strong {
  color: #0f172a;
  font-size: 0.92rem;
}

#dispatch-view .admin-dispatch-selected-readiness span {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

#dispatch-view .admin-dispatch-assignment-checklist {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#dispatch-view .admin-dispatch-check-item {
  min-height: 76px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

#dispatch-view .admin-dispatch-allocation-grid {
  gap: 14px;
}

#dispatch-view .admin-dispatch-choice-panel {
  border-radius: 12px;
  background: #fbfdff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
}

#dispatch-view .admin-dispatch-option-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#dispatch-view .admin-dispatch-option-card {
  position: relative;
  grid-template-columns: 42px minmax(0, 1fr);
  border-radius: 11px;
  padding: 12px;
}

#dispatch-view .admin-dispatch-option-card strong,
#dispatch-view .admin-dispatch-option-card span:not(.admin-dispatch-option-icon),
#dispatch-view .admin-dispatch-option-card small {
  grid-column: 2;
}

#dispatch-view .admin-dispatch-option-card strong {
  color: #111827;
  font-size: 0.88rem;
  line-height: 1.25;
}

#dispatch-view .admin-dispatch-option-card span:not(.admin-dispatch-option-icon) {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
}

#dispatch-view .admin-dispatch-option-card small {
  color: #64748b;
  font-size: 0.74rem;
}

#dispatch-view .admin-dispatch-option-icon {
  display: inline-flex;
  grid-row: 1 / span 3;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 900;
}

#dispatch-view .admin-dispatch-option-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

#dispatch-view .admin-dispatch-driver-available {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

#dispatch-view .admin-dispatch-driver-available .admin-dispatch-option-icon {
  background: #dcfce7;
  color: #15803d;
}

#dispatch-view .admin-dispatch-driver-busy {
  border-color: #fde68a;
  background: #fffbeb;
}

#dispatch-view .admin-dispatch-driver-busy .admin-dispatch-option-icon {
  background: #fef3c7;
  color: #b45309;
}

#dispatch-view .admin-dispatch-driver-offline {
  border-color: #fecaca;
  background: #fff1f2;
}

#dispatch-view .admin-dispatch-driver-offline .admin-dispatch-option-icon {
  background: #fee2e2;
  color: #b91c1c;
}

#dispatch-view .admin-dispatch-vehicle-option .admin-dispatch-option-icon {
  background: #f3e8ff;
  color: #7e22ce;
}

#dispatch-view .admin-dispatch-option-card.is-selected {
  border-color: #2f68b8;
  background: #f4f8ff;
  box-shadow: inset 4px 0 0 #2f68b8, 0 12px 24px rgba(47, 104, 184, 0.08);
}

#dispatch-view .admin-dispatch-save-grid {
  border: 1px solid #e3ebf4;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.admin-dispatch-empty-state {
  display: grid;
  gap: 8px;
  place-items: start;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  color: #536178;
  padding: 18px;
}

.admin-dispatch-empty-state strong {
  color: #101828;
  font-size: 1rem;
}

.admin-dispatch-empty-state .plain-action {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  #dispatch-view .admin-dispatch-board .admin-dispatch-filter-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #dispatch-view .admin-dispatch-table-head {
    display: none;
  }

  #dispatch-view .admin-dispatch-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  #dispatch-view .admin-dispatch-booking-cell,
  #dispatch-view .admin-dispatch-route-cell,
  #dispatch-view .admin-dispatch-actions {
    grid-column: 1 / -1;
  }

  #dispatch-view .admin-dispatch-actions {
    justify-content: flex-start;
  }

  #dispatch-view .admin-dispatch-selected-card,
  #dispatch-view .admin-dispatch-selected-facts,
  #dispatch-view .admin-dispatch-allocation-grid,
  #dispatch-view .admin-dispatch-detail-summary-grid {
    grid-template-columns: 1fr;
  }

  #dispatch-view .admin-dispatch-option-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  #bookings-view .booking-history-count-bar,
  .booking-detail-page-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .booking-detail-page-toolbar {
    display: flex;
  }
}

@media (max-width: 640px) {
  #dispatch-view .admin-dispatch-board .admin-dispatch-filter-bar,
  #dispatch-view .admin-dispatch-row {
    grid-template-columns: 1fr;
  }

  #dispatch-view .admin-dispatch-action-button {
    flex: 1 1 0;
  }

  #dispatch-view .admin-dispatch-selected-readiness {
    align-items: flex-start;
    flex-direction: column;
  }

  #dispatch-view .admin-dispatch-selected-readiness span {
    justify-content: flex-start;
  }

  #dispatch-view .admin-dispatch-detail-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  #dispatch-view .admin-dispatch-detail-toolbar > div {
    justify-items: start;
  }

  #dispatch-view .admin-dispatch-assignment-checklist {
    grid-template-columns: 1fr;
  }
}

.sbe-admin-body .admin-tabs button[data-nav-key^="dispatch"][aria-pressed="true"],
.sbe-admin-body .admin-tabs button[data-nav-key="dispatch"][aria-pressed="true"] {
  background: #f0fdf4;
  color: #126c3c;
  box-shadow: inset 0 0 0 1px #cfe8d8;
}

.sbe-admin-body .admin-tabs button[data-nav-key^="dispatch"][aria-pressed="true"] .admin-nav-icon,
.sbe-admin-body .admin-tabs button[data-nav-key="dispatch"][aria-pressed="true"] .admin-nav-icon,
.sbe-admin-body .admin-tabs button[data-nav-key^="dispatch"][aria-pressed="true"] .admin-nav-dot,
.sbe-admin-body .admin-tabs button[data-nav-key="dispatch"][aria-pressed="true"] .admin-nav-dot {
  border-color: #bbf7d0;
  background: #fff;
  color: #126c3c;
}

.sbe-admin-body .admin-dispatch-board .primary-action,
#dispatch-view .admin-dispatch-assign-action {
  border-color: #178348;
  background: #178348;
  color: #fff;
  box-shadow: 0 10px 20px rgba(23, 131, 72, 0.16);
}

#dispatch-view .admin-dispatch-board {
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.96)),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.055) 0 1px, transparent 1px 44px);
  padding: 16px;
}

#dispatch-view .admin-dispatch-hero {
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
  padding: 22px 24px;
}

#dispatch-view .admin-dispatch-hero h2 {
  font-size: 1.72rem;
}

#dispatch-view .admin-dispatch-hero-stat:nth-child(3) {
  border-color: #bbf7d0;
  background: #ecfdf3;
}

#dispatch-view .admin-dispatch-status-card[aria-pressed="true"] {
  border-color: #9bd5ad;
  background: #ecfdf3;
  color: #126c3c;
}

#dispatch-view .admin-dispatch-status-card[aria-pressed="true"] span,
#dispatch-view .admin-dispatch-status-card[aria-pressed="true"] strong {
  color: #126c3c;
}

#dispatch-view .admin-dispatch-status-card-neutral:hover,
#dispatch-view .admin-dispatch-status-card-neutral:focus,
#dispatch-view .admin-dispatch-status-card-blue:hover,
#dispatch-view .admin-dispatch-status-card-blue:focus {
  border-color: #9bd5ad;
  background: #f0fdf4;
}

#dispatch-view .admin-dispatch-status-card-amber:hover,
#dispatch-view .admin-dispatch-status-card-amber:focus {
  border-color: #fde68a;
  background: #fffbeb;
}

#dispatch-view .admin-dispatch-results-card {
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

#dispatch-view .admin-dispatch-table {
  gap: 9px;
}

#dispatch-view .admin-dispatch-table-head,
#dispatch-view .admin-dispatch-row {
  grid-template-columns:
    minmax(112px, 0.84fr)
    minmax(74px, 0.58fr)
    minmax(0, 1.16fr)
    minmax(0, 0.74fr)
    minmax(0, 0.96fr)
    minmax(60px, 0.52fr)
    minmax(96px, 0.82fr)
    minmax(78px, 0.5fr);
  gap: 8px;
}

#dispatch-view .admin-dispatch-table-head {
  padding: 0 10px;
  font-size: 0.66rem;
}

#dispatch-view .admin-dispatch-row {
  min-height: 72px;
  overflow: visible;
  border-color: #dce5ee;
  border-radius: 8px;
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.04);
  padding: 10px;
}

#dispatch-view .admin-dispatch-row-amber {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 74%, rgba(255, 251, 235, 0.88) 100%);
}

#dispatch-view .admin-dispatch-row-green {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 76%, rgba(236, 253, 243, 0.86) 100%);
}

#dispatch-view .admin-dispatch-row-red {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 74%, rgba(255, 241, 242, 0.78) 100%);
}

#dispatch-view .admin-dispatch-row.is-selected {
  border-color: #9bd5ad;
  background: #f7fff9;
  box-shadow: 0 14px 26px rgba(23, 131, 72, 0.11);
}

#dispatch-view .admin-dispatch-accent {
  display: none;
}

#dispatch-view .admin-dispatch-booking-cell,
#dispatch-view .admin-dispatch-when-cell,
#dispatch-view .admin-dispatch-route-cell,
#dispatch-view .admin-dispatch-pickup-cell,
#dispatch-view .admin-dispatch-dropoff-cell,
#dispatch-view .admin-dispatch-customer-cell,
#dispatch-view .admin-dispatch-allocation-cell,
#dispatch-view .admin-dispatch-driver-cell,
#dispatch-view .admin-dispatch-vehicle-cell,
#dispatch-view .admin-dispatch-payment-cell,
#dispatch-view .admin-dispatch-readiness-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#dispatch-view .admin-dispatch-row span,
#dispatch-view .admin-dispatch-row strong,
#dispatch-view .admin-dispatch-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

#dispatch-view .admin-dispatch-route-cell {
  gap: 4px;
}

#dispatch-view .admin-dispatch-route-cell .admin-dispatch-route-step {
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 7px;
}

#dispatch-view .admin-dispatch-route-cell .admin-dispatch-route-step i {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-color: #22c55e;
}

#dispatch-view .admin-dispatch-route-cell .admin-dispatch-route-step:first-child::after {
  top: 15px;
  bottom: -12px;
  left: 3px;
  background: #bbf7d0;
}

#dispatch-view .admin-dispatch-route-cell .admin-dispatch-route-dropoff i {
  border-color: #94a3b8;
  background: #94a3b8;
}

#dispatch-view .admin-dispatch-allocation-cell strong + small + strong {
  margin-top: 5px;
}

#dispatch-view .admin-dispatch-when-cell strong,
#dispatch-view .admin-dispatch-booking-cell .admin-dispatch-reference,
#dispatch-view .admin-dispatch-payment-cell strong,
#dispatch-view .admin-dispatch-payment-cell small {
  overflow-wrap: normal;
  white-space: nowrap;
}

#dispatch-view .admin-dispatch-row strong {
  font-size: 0.76rem;
  line-height: 1.22;
}

#dispatch-view .admin-dispatch-row small {
  margin-top: 0;
  font-size: 0.68rem;
  line-height: 1.25;
}

#dispatch-view .admin-dispatch-reference {
  color: #126c3c;
  font-size: 0.77rem;
  font-weight: 900;
}

#dispatch-view .admin-dispatch-readiness-cell .admin-dispatch-flag {
  min-height: 22px;
  margin: 0 5px 5px 0;
  font-size: 0.65rem;
  padding: 3px 7px;
}

#dispatch-view .admin-dispatch-actions {
  gap: 5px;
}

#dispatch-view .admin-dispatch-action-button {
  min-height: 28px;
  border-radius: 7px;
  font-size: 0.66rem;
  padding: 5px 8px;
}

#dispatch-view .admin-dispatch-open-action {
  color: #1d4ed8;
}

#dispatch-view .admin-dispatch-open-action:hover,
#dispatch-view .admin-dispatch-open-action:focus {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #126c3c;
}

#dispatch-view .admin-dispatch-unassigned-card {
  display: grid;
  gap: 14px;
}

#dispatch-view .admin-dispatch-unassigned-table {
  display: grid;
  gap: 8px;
}

#dispatch-view .admin-dispatch-unassigned-table-head,
#dispatch-view .admin-dispatch-unassigned-row {
  display: grid;
  grid-template-columns:
    minmax(0, 0.86fr)
    minmax(0, 0.6fr)
    minmax(0, 1.45fr)
    minmax(0, 0.95fr)
    minmax(0, 0.68fr)
    minmax(0, 1fr)
    minmax(92px, 0.66fr);
  gap: 8px;
  align-items: center;
}

#dispatch-view .admin-dispatch-unassigned-table-head {
  padding: 0 10px;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

#dispatch-view .admin-dispatch-unassigned-row {
  min-height: 72px;
  border: 1px solid #dce8e1;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 76%, rgba(236, 253, 243, 0.72) 100%);
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.04);
  padding: 10px;
}

#dispatch-view .admin-dispatch-unassigned-row span,
#dispatch-view .admin-dispatch-unassigned-row strong,
#dispatch-view .admin-dispatch-unassigned-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

#dispatch-view .admin-dispatch-unassigned-row strong {
  display: block;
  color: #111827;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.22;
}

#dispatch-view .admin-dispatch-unassigned-row small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
}

#dispatch-view .admin-dispatch-unassigned-route strong,
#dispatch-view .admin-dispatch-unassigned-route small {
  overflow-wrap: anywhere;
}

#dispatch-view .admin-dispatch-unassigned-actions {
  justify-content: flex-end;
}

#dispatch-view .admin-dispatch-monitoring-card {
  display: grid;
  gap: 14px;
}

#dispatch-view .admin-dispatch-monitoring-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#dispatch-view .admin-dispatch-monitoring-summary article {
  display: grid;
  gap: 4px;
  min-height: 68px;
  border: 1px solid #dbe8e0;
  border-radius: 8px;
  background: #f8fdf9;
  padding: 11px 12px;
}

#dispatch-view .admin-dispatch-monitoring-summary span,
#dispatch-view .admin-dispatch-monitoring-table-head span {
  color: #64748b;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

#dispatch-view .admin-dispatch-monitoring-summary strong {
  color: #126c3c;
  font-size: 1.28rem;
  line-height: 1;
}

#dispatch-view .admin-dispatch-monitoring-table {
  display: grid;
  gap: 8px;
}

#dispatch-view .admin-dispatch-monitoring-table-head,
#dispatch-view .admin-dispatch-monitoring-row {
  display: grid;
  grid-template-columns:
    minmax(96px, 0.8fr)
    minmax(78px, 0.62fr)
    minmax(112px, 0.9fr)
    minmax(112px, 0.9fr)
    minmax(110px, 0.86fr)
    minmax(116px, 0.96fr)
    minmax(150px, 1.18fr)
    minmax(116px, 0.92fr)
    minmax(64px, 0.44fr);
  gap: 8px;
  align-items: center;
}

#dispatch-view .admin-dispatch-monitoring-table-head {
  padding: 0 10px;
}

#dispatch-view .admin-dispatch-monitoring-row {
  min-height: 72px;
  border: 1px solid #dce8e1;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 78%, rgba(236, 253, 243, 0.8) 100%);
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.04);
  padding: 10px;
}

#dispatch-view .admin-dispatch-monitoring-row-attention {
  border-color: #f1d68b;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 76%, rgba(255, 251, 235, 0.92) 100%);
}

#dispatch-view .admin-dispatch-monitoring-row span,
#dispatch-view .admin-dispatch-monitoring-row strong,
#dispatch-view .admin-dispatch-monitoring-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

#dispatch-view .admin-dispatch-monitoring-row strong {
  display: block;
  color: #111827;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.22;
}

#dispatch-view .admin-dispatch-monitoring-row small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
}

#dispatch-view .admin-dispatch-monitoring-status {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #ecfdf3;
  color: #126c3c;
  font-size: 0.66rem;
  font-weight: 900;
  padding: 4px 8px;
}

#dispatch-view .admin-dispatch-monitoring-status-amber {
  border-color: #fde68a;
  background: #fffbeb;
  color: #a16207;
}

#dispatch-view .admin-dispatch-monitoring-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  border: 1px solid #dbe8e0;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(240, 253, 244, 0.86), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(21, 128, 61, 0.05) 0 1px, transparent 1px 42px);
  padding: 18px;
}

#dispatch-view .admin-dispatch-monitoring-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #fff;
  color: #126c3c;
}

#dispatch-view .admin-dispatch-monitoring-empty-icon svg {
  width: 24px;
  height: 24px;
}

#dispatch-view .admin-dispatch-monitoring-empty strong {
  color: #10291c;
  font-size: 1.05rem;
}

#dispatch-view .admin-dispatch-monitoring-empty span {
  color: #526173;
  font-size: 0.9rem;
}

#dispatch-view .admin-dispatch-monitoring-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#dispatch-view .admin-dispatch-selected-card {
  border-left: 1px solid #dfe8f2;
  border-top: 3px solid #178348;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

#dispatch-view .admin-dispatch-selected-amber {
  border-top-color: #f59e0b;
}

#dispatch-view .admin-dispatch-selected-green {
  border-top-color: #178348;
}

#dispatch-view .admin-dispatch-selected-red {
  border-top-color: #dc2626;
}

#dispatch-view .admin-dispatch-selected-main strong {
  color: #126c3c;
}

#dispatch-view .admin-dispatch-option-card.is-selected {
  border-color: #9bd5ad;
  background: #f5fff8;
  box-shadow: 0 10px 22px rgba(23, 131, 72, 0.08);
}

#dispatch-view .admin-dispatch-assignment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(15, 23, 42, 0.28);
  padding: 28px;
}

#dispatch-view .admin-dispatch-modal-assignment-form {
  display: grid;
  width: min(920px, calc(100vw - 40px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  border: 1px solid #d9e4ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

#dispatch-view .admin-dispatch-modal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #e3ebf4;
  padding: 16px 18px;
}

#dispatch-view .admin-dispatch-modal-heading span,
#dispatch-view .admin-dispatch-modal-summary span,
#dispatch-view .admin-dispatch-modal-summary-grid span,
#dispatch-view .admin-dispatch-modal-route-card span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

#dispatch-view .admin-dispatch-modal-heading h2 {
  margin: 3px 0 0;
  color: #111827;
  font-size: 1.16rem;
  letter-spacing: 0;
}

#dispatch-view .admin-dispatch-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 1rem;
  font-weight: 900;
}

#dispatch-view .admin-dispatch-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
  background: #fbfdff;
  padding: 16px;
}

#dispatch-view .admin-dispatch-modal-main,
#dispatch-view .admin-dispatch-modal-summary {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

#dispatch-view .admin-dispatch-modal-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  border: 1px solid #d9e5f1;
  border-radius: 8px;
  background: #f5f9fd;
  padding: 6px;
}

#dispatch-view .admin-dispatch-modal-tabs span {
  display: grid;
  gap: 3px;
  min-height: 44px;
  border-radius: 7px;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 8px 9px;
}

#dispatch-view .admin-dispatch-modal-tabs span.is-active {
  border: 1px solid #9bd5ad;
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 131, 72, 0.08);
}

#dispatch-view .admin-dispatch-modal-tabs small {
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

#dispatch-view .admin-dispatch-modal-tabs strong {
  color: #111827;
  font-size: 0.8rem;
  line-height: 1.1;
}

#dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-allocation-grid {
  gap: 10px;
}

#dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-choice-panel {
  border-radius: 8px;
  background: #fff;
}

#dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-choice-panel h3 {
  font-size: 0.85rem;
}

#dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-option-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-option-card {
  grid-template-columns: 38px minmax(0, 1fr);
  border-radius: 8px;
  padding: 10px;
}

#dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-option-icon {
  width: 34px;
  height: 34px;
}

#dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-save-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 8px;
  padding: 12px;
}

#dispatch-view .admin-dispatch-modal-route-card,
#dispatch-view .admin-dispatch-modal-summary-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: #fff;
  padding: 11px;
}

#dispatch-view .admin-dispatch-modal-route-card {
  background: #f8fbff;
}

#dispatch-view .admin-dispatch-modal-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#dispatch-view .admin-dispatch-modal-summary strong,
#dispatch-view .admin-dispatch-modal-route-card strong {
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 0.82rem;
  line-height: 1.3;
}

#dispatch-view .admin-dispatch-modal-summary small,
#dispatch-view .admin-dispatch-modal-route-card small {
  overflow-wrap: anywhere;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
}

#dispatch-view .admin-dispatch-modal-summary .admin-dispatch-flag {
  margin: 0 4px 4px 0;
}

#dispatch-view .admin-dispatch-modal-checklist[hidden] {
  display: none;
}

#dispatch-view .admin-dispatch-modal-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #e3ebf4;
  background: #fff;
  padding: 13px 16px;
}

#dispatch-view .admin-dispatch-modal-footer .inline-note {
  margin: 0;
}

#dispatch-view .admin-dispatch-modal-footer .primary-action,
#dispatch-view .admin-dispatch-modal-footer .plain-action {
  min-height: 34px;
  border-radius: 8px;
  padding: 0 14px;
}

#dispatch-view .admin-dispatch-modal-footer .primary-action {
  min-width: 178px;
}

@media (max-width: 1180px) {
  #dispatch-view .admin-dispatch-table-head,
  #dispatch-view .admin-dispatch-unassigned-table-head,
  #dispatch-view .admin-dispatch-monitoring-table-head {
    display: none;
  }

  #dispatch-view .admin-dispatch-row,
  #dispatch-view .admin-dispatch-unassigned-row,
  #dispatch-view .admin-dispatch-monitoring-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #dispatch-view .admin-dispatch-booking-cell,
  #dispatch-view .admin-dispatch-pickup-cell,
  #dispatch-view .admin-dispatch-dropoff-cell,
  #dispatch-view .admin-dispatch-actions {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  #dispatch-view .admin-dispatch-row,
  #dispatch-view .admin-dispatch-unassigned-row,
  #dispatch-view .admin-dispatch-monitoring-row,
  #dispatch-view .admin-dispatch-modal-body,
  #dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-save-grid,
  #dispatch-view .admin-dispatch-modal-assignment-form .admin-dispatch-option-list,
  #dispatch-view .admin-dispatch-modal-summary-grid,
  #dispatch-view .admin-dispatch-modal-tabs,
  #dispatch-view .admin-dispatch-monitoring-summary,
  #dispatch-view .admin-dispatch-modal-footer {
    grid-template-columns: 1fr;
  }

  #dispatch-view .admin-dispatch-assignment-modal {
    align-items: start;
    padding: 14px;
  }

  #dispatch-view .admin-dispatch-modal-assignment-form {
    width: min(100%, calc(100vw - 28px));
  }
}

.sbe-admin-body .admin-driver-table-card {
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.sbe-admin-body .admin-driver-table-scroll {
  overflow-x: auto;
}

.sbe-admin-body .admin-driver-table-row {
  grid-template-columns:
    48px
    minmax(88px, 0.85fr)
    minmax(112px, 1fr)
    minmax(104px, 0.9fr)
    minmax(112px, 0.95fr)
    minmax(70px, 0.6fr)
    minmax(108px, 0.9fr)
    minmax(150px, 0.95fr);
  gap: 8px;
  min-width: 0;
}

.sbe-admin-body .admin-driver-table-row > span {
  min-width: 0;
}

.sbe-admin-body .admin-driver-actions {
  align-items: start;
  gap: 6px;
}

.sbe-admin-body .admin-driver-actions .plain-action.admin-action-tab {
  min-height: 38px;
  border-radius: 8px;
  border-color: #d8e2f2;
  background: #ffffff;
  color: #344054;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.sbe-admin-body .admin-driver-actions .plain-action.admin-action-tab-open {
  color: #253b66;
}

.sbe-admin-body .admin-driver-actions .plain-action.admin-action-tab-edit {
  border-color: #c8d8fb;
  background: #f6f9ff;
  color: #2457c5;
}

.sbe-admin-body .admin-driver-actions .plain-action.admin-action-tab-danger {
  border-color: #f2ccd2;
  background: #fff7f8;
  color: #a43f4b;
}

.sbe-admin-body .admin-driver-actions .plain-action.admin-action-tab-success {
  border-color: #bfe8d0;
  background: #f1fbf5;
  color: #087443;
}

@media (max-width: 640px) {
  .sbe-admin-body .admin-driver-table-row {
    grid-template-columns: 52px minmax(0, 1fr);
    min-width: 0;
  }

  .sbe-admin-body .admin-driver-table-row > span:nth-child(n + 3) {
    grid-column: 1 / -1;
  }
}

.sbe-admin-body .admin-driver-form-page {
  display: grid;
  gap: 16px;
}

.sbe-admin-body .admin-driver-form-hero {
  border-radius: 8px;
  padding: 22px 24px;
}

.sbe-admin-body .admin-driver-form-hero h2 {
  font-size: 1.45rem;
}

.sbe-admin-body .admin-driver-form-hero .plain-action {
  border-color: rgba(255, 255, 255, 0.78);
  background: #fff;
  color: #b8424d;
  font-weight: 700;
}

.sbe-admin-body .admin-driver-full-form {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.sbe-admin-body .admin-driver-form-card {
  display: grid;
  gap: 14px;
  max-width: 820px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.045);
  padding: 18px 20px;
}

.sbe-admin-body .admin-driver-form-card h3 {
  margin: 0;
  color: #101828;
  font-size: 1rem;
  font-weight: 700;
}

.sbe-admin-body .admin-driver-form-fields {
  display: grid;
  gap: 12px;
}

.sbe-admin-body .admin-driver-form-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 390px);
  gap: 12px;
  align-items: start;
  margin: 0;
}

.sbe-admin-body .admin-driver-form-row > span:first-child {
  color: #101828;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  padding-top: 9px;
}

.sbe-admin-body .admin-driver-form-control {
  display: grid;
  gap: 5px;
}

.sbe-admin-body .admin-driver-form-control input,
.sbe-admin-body .admin-driver-form-control select,
.sbe-admin-body .admin-driver-form-control textarea {
  min-height: 32px;
  border-radius: 8px;
  font-size: 0.76rem;
}

.sbe-admin-body .admin-driver-form-control textarea {
  min-height: 92px;
}

.sbe-admin-body .admin-driver-form-control small {
  color: #536178;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-admin-body .admin-driver-upload-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.sbe-admin-body .admin-driver-picture-control {
  gap: 7px;
}

.sbe-admin-body .admin-driver-picture-editor {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.sbe-admin-body .admin-driver-picture-preview {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f2f7ff;
  color: #49637f;
  font-size: 0.78rem;
  font-weight: 800;
}

.sbe-admin-body .admin-driver-picture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.sbe-admin-body .admin-driver-picture-fields {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.sbe-admin-body .admin-driver-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sbe-admin-body .admin-driver-crop-controls {
  display: grid;
  gap: 5px;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  background: #f8fbff;
  padding: 8px;
}

.sbe-admin-body .admin-driver-crop-controls[hidden] {
  display: none;
}

.sbe-admin-body .admin-driver-crop-controls label {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #536178;
  font-size: 0.72rem;
  font-weight: 700;
}

.sbe-admin-body .admin-driver-crop-controls input[type="range"] {
  min-height: 0;
}

.sbe-admin-body .admin-driver-upload-actions .plain-action {
  min-height: 30px;
  padding: 5px 10px;
}

.sbe-admin-body .admin-driver-upload-row small {
  grid-column: 1 / -1;
}

.sbe-admin-body .admin-driver-documents-card {
  max-width: 920px;
}

.sbe-admin-body .admin-driver-documents-card > p {
  margin: -4px 0 0;
  color: #536178;
  font-size: 0.78rem;
  line-height: 1.45;
}

.sbe-admin-body .admin-driver-document-list {
  display: grid;
  gap: 10px;
}

.sbe-admin-body .admin-driver-document-control {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr) minmax(210px, 0.9fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 12px;
}

.sbe-admin-body .admin-driver-document-main {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.sbe-admin-body .admin-driver-document-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #fff;
  color: #49637f;
}

.sbe-admin-body .admin-driver-document-icon svg {
  width: 16px;
  height: 16px;
}

.sbe-admin-body .admin-driver-document-main span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sbe-admin-body .admin-driver-document-main strong {
  color: #101828;
  font-size: 0.82rem;
}

.sbe-admin-body .admin-driver-document-main small,
.sbe-admin-body .admin-driver-document-actions small {
  color: #536178;
  font-size: 0.72rem;
  line-height: 1.35;
}

.sbe-admin-body .admin-driver-document-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(130px, 0.8fr);
  gap: 8px;
}

.sbe-admin-body .admin-driver-document-fields label {
  display: grid;
  gap: 4px;
  color: #536178;
  font-size: 0.7rem;
  font-weight: 700;
}

.sbe-admin-body .admin-driver-document-fields input {
  min-height: 32px;
  border: 1px solid #d7dfeb;
  border-radius: 8px;
  font-size: 0.76rem;
  padding: 6px 8px;
}

.sbe-admin-body .admin-driver-document-checkbox {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: #344054;
  font-size: 0.74rem;
  font-weight: 700;
}

.sbe-admin-body .admin-driver-document-checkbox input {
  width: 16px;
  min-height: 16px;
}

.sbe-admin-body .admin-driver-document-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.sbe-admin-body .admin-driver-document-actions small {
  flex-basis: 100%;
  overflow-wrap: anywhere;
}

.admin-driver-document-missing {
  border-color: #e4eaf2;
}

.admin-driver-document-required {
  border-color: #f2b7bd;
  background: #fff9fa;
}

.admin-driver-document-optional {
  border-color: #dce5f2;
  background: #fbfcfe;
}

.admin-driver-document-expired {
  border-color: #f2b7bd;
  background: #fff8f8;
}

.admin-driver-document-due {
  border-color: #f6d99c;
  background: #fffaf0;
}

.admin-driver-document-saved {
  border-color: #ccd8ee;
  background: #f8fbff;
}

.admin-driver-document-ok {
  border-color: #bfe3cf;
  background: #f6fbf8;
}

.sbe-admin-body .admin-driver-full-form > .primary-action {
  min-width: 138px;
  background: #b8424d;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.18);
}

@media (max-width: 760px) {
  .sbe-admin-body .admin-driver-form-row,
  .sbe-admin-body .admin-driver-upload-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-admin-body .admin-driver-picture-editor {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-admin-body .admin-driver-document-control,
  .sbe-admin-body .admin-driver-document-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-driver-detail-documents {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-driver-modal {
    width: min(96vw, 640px);
    padding: 14px;
  }

  .admin-driver-account-action-modal {
    width: min(96vw, 520px);
    padding: 16px;
  }

  .admin-driver-account-action-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-driver-modal-header,
  .admin-driver-modal-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-driver-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-driver-detail-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-admin-body .admin-driver-form-row > span:first-child {
    padding-top: 0;
  }
}

/* Driver portal mobile reference pass from the user-supplied Main Ui screen. */
.sbe-driver-body {
  background:
    radial-gradient(circle at 50% -14%, rgba(20, 96, 180, 0.16), transparent 36%),
    #02070d;
  color: #eef6ff;
}

.sbe-driver-body .driver-portal {
  color: #eef6ff;
}

.sbe-driver-body .driver-phone-card {
  border-color: rgba(63, 84, 112, 0.46);
  background:
    radial-gradient(circle at 50% 0%, rgba(15, 72, 127, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(8, 17, 29, 0.98), #03070d 72%);
  color: #eef6ff;
}

.sbe-driver-body .driver-topbar,
.sbe-driver-body .driver-content,
.sbe-driver-body .driver-detail-output,
.sbe-driver-body .driver-bottom-nav {
  background: transparent;
}

.sbe-driver-body .driver-topbar {
  border-bottom-color: rgba(82, 104, 136, 0.22);
}

.sbe-driver-body .driver-main-card h1,
.sbe-driver-body .driver-main-card h2,
.sbe-driver-body .driver-detail-card h2,
.sbe-driver-body .driver-profile-card h2,
.sbe-driver-body .driver-detail-section h3,
.sbe-driver-body .driver-earnings-panel h3 {
  color: #f7fbff;
}

.sbe-driver-body .driver-topbar p,
.sbe-driver-body .driver-kicker {
  color: #9eaec4;
}

.sbe-driver-body .driver-icon-button {
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(2, 8, 15, 0.8);
  color: #f7fbff;
}

.sbe-driver-body .driver-job-card,
.sbe-driver-body .driver-help-card,
.sbe-driver-body .driver-earnings-band,
.sbe-driver-body .driver-earnings-panel,
.sbe-driver-body .driver-profile-card,
.sbe-driver-body .driver-password-form,
.sbe-driver-body .driver-detail-section,
.sbe-driver-body .driver-actions-panel,
.sbe-driver-body .driver-empty {
  border-color: rgba(72, 95, 126, 0.56);
  background:
    linear-gradient(145deg, rgba(14, 27, 43, 0.92), rgba(6, 13, 23, 0.96)),
    #07101b;
  color: #eef6ff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.sbe-driver-body .driver-job-card:hover,
.sbe-driver-body .driver-earnings-row:hover {
  border-color: rgba(23, 135, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(14, 30, 49, 0.94), rgba(6, 14, 25, 0.98)),
    #07101b;
}

.sbe-driver-body .driver-job-card strong,
.sbe-driver-body .driver-card-date,
.sbe-driver-body .driver-mini-profile strong,
.sbe-driver-body .driver-info-list strong,
.sbe-driver-body .driver-help-card strong,
.sbe-driver-body .driver-earnings-row strong {
  color: #f7fbff;
}

.sbe-driver-body .driver-job-card span,
.sbe-driver-body .driver-job-card small,
.sbe-driver-body .driver-state-note,
.sbe-driver-body .driver-inline-note,
.sbe-driver-body .driver-mini-profile span,
.sbe-driver-body .driver-info-list span,
.sbe-driver-body .driver-help-card span,
.sbe-driver-body .driver-earnings-grid span,
.sbe-driver-body .driver-earnings-grid small,
.sbe-driver-body .driver-earnings-row small,
.sbe-driver-body .driver-earnings-row em {
  color: #a5b4c8;
}

.sbe-driver-body .driver-bottom-nav {
  border-top-color: rgba(84, 104, 132, 0.28);
  background:
    linear-gradient(180deg, rgba(9, 15, 24, 0.9), rgba(2, 6, 11, 0.98)),
    #02070d;
}

.sbe-driver-body .driver-bottom-nav button {
  color: #d7deea;
}

.sbe-driver-body .driver-bottom-nav .portal-nav-icon {
  opacity: 0.86;
  filter: none;
}

.sbe-driver-body .driver-bottom-nav button[aria-pressed="true"] {
  background: transparent;
  color: #0a84ff;
  box-shadow: none;
}

.sbe-driver-body .driver-bottom-nav button[aria-pressed="true"] .portal-nav-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(43%) sepia(97%) saturate(2043%) hue-rotate(190deg) brightness(105%) contrast(106%)
    drop-shadow(0 0 9px rgba(10, 132, 255, 0.38));
}

.sbe-driver-body .driver-line-icon {
  width: 1.18em;
  height: 1.18em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sbe-driver-body .driver-icon-button .portal-system-icon,
.sbe-customer-body .customer-icon-button .portal-system-icon {
  width: 18px;
  height: 18px;
}

.sbe-driver-body .driver-card-time {
  color: #0a84ff;
  font-weight: 800;
}

.sbe-driver-body .driver-card-route,
.sbe-driver-body .driver-route-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.sbe-driver-body .driver-card-route::before,
.sbe-driver-body .driver-route-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 6px;
  border-left: 2px dashed rgba(151, 171, 199, 0.55);
}

.sbe-driver-body .driver-route-point {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.sbe-driver-body .driver-route-point strong {
  display: block;
  color: #f7fbff;
  font-size: 0.88rem;
  line-height: 1.25;
}

.sbe-driver-body .driver-route-point small {
  display: block;
  margin-top: 4px;
  color: #a5b4c8;
  font-size: 0.76rem;
  line-height: 1.28;
}

.sbe-driver-body .driver-route-dot {
  width: 13px;
  height: 13px;
  margin-top: 4px;
  border-radius: 50%;
  background: #168cff;
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.12);
}

.sbe-driver-body .driver-route-point.is-dropoff .driver-route-dot {
  background: #21d46b;
  box-shadow: 0 0 0 4px rgba(33, 212, 107, 0.12);
}

.sbe-driver-body .driver-detail-hero .driver-route-point.is-dropoff .driver-route-dot,
.sbe-driver-body .driver-detail-card .driver-route-point.is-dropoff .driver-route-dot {
  background: #20d46a;
}

.sbe-driver-body .driver-detail-card .driver-detail-hero .driver-route-point.is-dropoff:first-of-type .driver-route-dot {
  background: #e11d48;
}

.sbe-driver-body .driver-card-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  color: #b8c6d9;
}

.sbe-driver-body .driver-card-metric {
  display: inline-grid;
  grid-template-columns: auto minmax(0, max-content);
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.sbe-driver-body .driver-card-metric .driver-line-icon {
  color: #0a84ff;
}

.sbe-driver-body .driver-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #a5b4c8;
  font-size: 0.75rem;
  font-weight: 700;
}

.sbe-driver-body .driver-card-footer b,
.sbe-driver-body .driver-job-card b,
.sbe-driver-body .driver-earnings-band strong,
.sbe-driver-body .driver-earnings-grid strong,
.sbe-driver-body .driver-payout-status-card strong,
.sbe-driver-body .driver-earnings-row b {
  color: #22e06f;
}

.sbe-driver-body .driver-price-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  min-height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a84ff, #0057d8);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0 10px;
}

.sbe-driver-body .driver-card-chevron {
  position: absolute;
  top: 24px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #dbe6f5;
}

.sbe-driver-body .driver-status-badge {
  background: rgba(10, 132, 255, 0.18);
  color: #0a84ff;
}

.sbe-driver-body .driver-status-badge.is-completed,
.sbe-driver-body .driver-status-badge.is-complete {
  background: rgba(22, 163, 74, 0.2);
  color: #35d86f;
}

.sbe-driver-body .driver-tabs {
  border-bottom-color: rgba(10, 132, 255, 0.45);
}

.sbe-driver-body .driver-tabs button {
  color: #a5b4c8;
}

.sbe-driver-body .driver-tabs button[aria-pressed="true"] {
  border-color: #0a84ff;
  color: #0a84ff;
}

.sbe-driver-body .driver-profile-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sbe-driver-body .driver-profile-hero {
  position: relative;
  width: max-content;
  margin: 0 auto;
}

.sbe-driver-body .driver-profile-check {
  position: absolute;
  right: 1px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 3px solid #08111c;
  border-radius: 50%;
  background: #0a84ff;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
}

.sbe-driver-body .driver-menu-list,
.sbe-driver-body .driver-menu-row {
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(12, 25, 41, 0.92), rgba(5, 12, 22, 0.96)),
    #07101b;
}

.sbe-driver-body .driver-menu-list div,
.sbe-driver-body .driver-menu-row {
  display: grid;
  grid-template-columns: 28px minmax(82px, 0.55fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-bottom: 1px solid rgba(79, 101, 130, 0.34);
  padding: 11px 15px;
  text-align: left;
}

.sbe-driver-body .driver-menu-list div:last-child {
  border-bottom: 0;
}

.sbe-driver-body .driver-menu-list .driver-line-icon,
.sbe-driver-body .driver-menu-row .driver-line-icon {
  color: #0a84ff;
  font-size: 1.18rem;
}

.sbe-driver-body .driver-menu-list span,
.sbe-driver-body .driver-menu-row span {
  color: #b9c6d7;
  font-size: 0.77rem;
  font-weight: 800;
}

.sbe-driver-body .driver-menu-list strong {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-driver-body .driver-menu-list i,
.sbe-driver-body .driver-menu-row i {
  display: grid;
  color: #dbe6f5;
  font-style: normal;
}

.sbe-driver-body .driver-menu-row {
  width: 100%;
  border: 1px solid rgba(72, 95, 126, 0.56);
  color: #eef6ff;
  cursor: pointer;
  font: inherit;
}

.sbe-driver-body .driver-logout-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-color: rgba(239, 68, 68, 0.75);
  background: rgba(127, 29, 29, 0.16);
  color: #ff4d4d;
}

.sbe-driver-body .driver-help-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 18px;
  gap: 4px 14px;
  align-items: center;
  min-height: 74px;
  padding: 13px 16px;
}

.sbe-driver-body .driver-help-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #ffffff;
}

.sbe-driver-body .driver-help-card.is-shield .driver-help-icon,
.sbe-driver-body .driver-help-card.is-book .driver-help-icon {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.sbe-driver-body .driver-help-card.is-user .driver-help-icon {
  background: linear-gradient(135deg, #ff4d4d, #dc2626);
}

.sbe-driver-body .driver-help-card.is-location .driver-help-icon {
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.sbe-driver-body .driver-help-card.is-bag .driver-help-icon {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.sbe-driver-body .driver-help-card strong {
  font-size: 0.94rem;
  line-height: 1.1;
}

.sbe-driver-body .driver-help-card span:not(.driver-help-icon) {
  font-size: 0.74rem;
  line-height: 1.35;
}

.sbe-driver-body .driver-help-chevron {
  grid-column: 3;
  grid-row: 1 / 3;
  color: #dbe6f5;
}

.sbe-driver-body .driver-detail-section {
  border-radius: 16px;
}

.sbe-driver-body .driver-detail-hero {
  position: relative;
  gap: 12px;
}

.sbe-driver-body .driver-detail-hero .driver-status-badge {
  top: 18px;
  right: 18px;
}

.sbe-driver-body .driver-detail-hero .driver-card-date {
  max-width: calc(100% - 104px);
}

.sbe-driver-body .driver-info-list div {
  border-bottom-color: rgba(79, 101, 130, 0.34);
}

.sbe-driver-body .driver-actions-panel {
  z-index: 4;
  margin-bottom: 0;
  border-color: rgba(72, 95, 126, 0.56);
  background:
    linear-gradient(180deg, rgba(12, 20, 31, 0.9), rgba(4, 8, 14, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.sbe-driver-body .driver-action-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 62px;
  border-radius: 999px;
  font-size: 1rem;
}

.sbe-driver-body .driver-action-pill span:first-child,
.sbe-driver-body .driver-action-pill span:last-child {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.sbe-driver-body .driver-primary-action.driver-action-pill {
  justify-content: flex-start;
  padding: 4px 18px 4px 4px;
  background: linear-gradient(135deg, #0a84ff, #0057d8);
}

.sbe-driver-body .driver-primary-action.driver-action-pill span:first-child {
  background: rgba(0, 0, 0, 0.12);
}

.sbe-driver-body .driver-danger-action.driver-action-pill {
  justify-content: flex-end;
  padding: 4px 4px 4px 18px;
  background: linear-gradient(135deg, rgba(22, 29, 41, 0.95), rgba(18, 24, 35, 0.95));
  color: #ffffff;
}

.sbe-driver-body .driver-danger-action.driver-action-pill span:last-child {
  background: #b80f24;
}

.sbe-driver-body .driver-reject-form label {
  display: grid;
  gap: 7px;
  color: #d1ddea;
  font-size: 0.82rem;
  font-weight: 700;
}

.sbe-driver-body .driver-reject-form textarea {
  min-height: 92px;
  border-color: rgba(87, 109, 137, 0.6);
  background: rgba(8, 16, 27, 0.92);
}

.sbe-driver-body .is-reject-hint {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
}

@media (max-width: 940px) {
  .sbe-driver-body .driver-signin,
  .sbe-driver-body .driver-app {
    padding: 0;
  }

  .sbe-driver-body .driver-shell {
    display: block;
    min-height: 100dvh;
  }

  .sbe-driver-body .driver-phone-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sbe-driver-body .driver-main-card,
  .sbe-driver-body .driver-detail-card {
    min-height: 100dvh;
    max-height: 100dvh;
  }

  .sbe-driver-body .driver-main-card {
    grid-template-rows: 78px minmax(0, 1fr) 94px;
  }

  .sbe-driver-body .driver-detail-card {
    position: fixed;
    inset: 0;
    z-index: 30;
    grid-template-rows: 78px minmax(0, 1fr);
  }

  .sbe-driver-body .driver-topbar {
    position: relative;
    justify-content: center;
    min-height: 78px;
    padding: 16px 64px 12px;
    text-align: center;
  }

  .sbe-driver-body .driver-topbar .driver-icon-button {
    position: absolute;
    left: 16px;
    top: 20px;
  }

  .sbe-driver-body .driver-topbar > div {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
  }

  .sbe-driver-body .driver-topbar p {
    min-height: 18px;
    margin: 0;
    color: #c8d4e4;
    font-size: 0.79rem;
    font-weight: 700;
    text-transform: none;
  }

  .sbe-driver-body .driver-topbar p:empty {
    display: none;
  }

  .sbe-driver-body .driver-main-card h1,
  .sbe-driver-body .driver-main-card h2,
  .sbe-driver-body .driver-detail-card h2 {
    margin: 0;
    color: #f7fbff;
    font-size: 1.06rem;
    line-height: 1.15;
  }

  .sbe-driver-body .driver-count-pill {
    display: none;
  }

  .sbe-driver-body .driver-content,
  .sbe-driver-body .driver-detail-output {
    padding: 17px 15px 108px;
    background:
      radial-gradient(circle at 50% 0%, rgba(14, 88, 160, 0.16), transparent 44%),
      linear-gradient(180deg, rgba(5, 11, 19, 0.52), rgba(2, 7, 13, 0.9));
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .sbe-driver-body .driver-content::-webkit-scrollbar,
  .sbe-driver-body .driver-detail-output::-webkit-scrollbar {
    display: none;
  }

  .sbe-driver-body .driver-detail-output {
    padding-bottom: 22px;
  }

  .sbe-driver-body .driver-job-list,
  .sbe-driver-body .driver-help-list {
    gap: 14px;
  }

  .sbe-driver-body .driver-reference-card {
    min-height: 172px;
    gap: 10px;
    border-radius: 17px;
    padding: 19px 18px 50px;
  }

  .sbe-driver-body .driver-reference-card.is-offer {
    padding-right: 70px;
  }

  .sbe-driver-body .driver-reference-card.is-accepted,
  .sbe-driver-body .driver-reference-card.is-past {
    min-height: 166px;
    padding-bottom: 18px;
  }

  .sbe-driver-body .driver-reference-card.is-accepted .driver-card-chevron,
  .sbe-driver-body .driver-reference-card.is-past .driver-card-chevron {
    display: none;
  }

  .sbe-driver-body .driver-card-date {
    color: #f7fbff;
    font-size: 1.34rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
  }

  .sbe-driver-body .driver-card-time {
    font-size: 1rem;
  }

  .sbe-driver-body .driver-card-route {
    margin-top: 4px;
  }

  .sbe-driver-body .driver-card-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid rgba(79, 101, 130, 0.34);
  }

  .sbe-driver-body .driver-reference-card.is-offer .driver-card-metrics {
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    padding-right: 54px;
  }

  .sbe-driver-body .driver-reference-card.is-offer .driver-card-metrics .driver-card-metric:nth-child(4) {
    display: none;
  }

  .sbe-driver-body .driver-status-badge {
    top: 18px;
    right: 18px;
  }

  .sbe-driver-body .driver-card-chevron {
    top: 24px;
    right: 17px;
  }

  .sbe-driver-body .driver-empty {
    min-height: calc(100dvh - 172px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .sbe-driver-body .driver-empty h2 {
    margin-bottom: 74px;
    font-size: 1.28rem;
    font-weight: 800;
  }

  .sbe-driver-body .driver-night-visual {
    inset: -17px -15px -108px;
    background:
      linear-gradient(180deg, rgba(3, 8, 15, 0.02), rgba(3, 8, 15, 0.1) 48%, rgba(2, 6, 12, 0.84) 100%),
      url("driver-assets/ride-offers-airport-car-background.png") center / cover no-repeat;
  }

  .sbe-driver-body .driver-bottom-nav {
    min-height: 94px;
    padding: 9px 26px 13px;
  }

  .sbe-driver-body .driver-bottom-nav button {
    gap: 7px;
    min-height: 68px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .sbe-driver-body .driver-bottom-nav .portal-nav-icon {
    width: 31px;
    height: 31px;
  }

  .sbe-driver-body .driver-tabs {
    margin: 0 0 18px;
  }

  .sbe-driver-body .driver-tabs button {
    min-height: 44px;
    font-size: 0.78rem;
  }

  .sbe-driver-body .driver-profile-card {
    gap: 15px;
    padding: 18px 0 0;
  }

  .sbe-driver-body .driver-avatar {
    width: 104px;
    height: 104px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    font-size: 2.35rem;
  }

  .sbe-driver-body .driver-profile-card h2 {
    margin: 0 0 4px;
    font-size: 1.3rem;
    font-weight: 900;
  }

  .sbe-driver-body .driver-detail-section,
  .sbe-driver-body .driver-actions-panel {
    margin-bottom: 14px;
    padding: 16px;
  }

  .sbe-driver-body .driver-detail-hero {
    padding: 18px;
  }

  .sbe-driver-body .driver-detail-hero .driver-card-date {
    font-size: 1.42rem;
  }

  .sbe-driver-body .driver-detail-hero .driver-card-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 5px;
  }

  .sbe-driver-body .driver-action-pill {
    min-height: 60px;
  }

  .sbe-driver-body .driver-action-pill span:first-child,
  .sbe-driver-body .driver-action-pill span:last-child {
    width: 52px;
    height: 52px;
  }
}

/* Driver portal unified reference layout: desktop and mobile use the same phone-style UI. */
.sbe-driver-body .driver-signin,
.sbe-driver-body .driver-app {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.sbe-driver-body .driver-signin[hidden],
.sbe-driver-body .driver-app[hidden] {
  display: none !important;
}

.sbe-driver-body .driver-shell {
  display: block;
  width: min(430px, calc(100vw - 32px));
  min-height: min(860px, calc(100vh - 48px));
  margin: 0 auto;
}

.sbe-driver-body .driver-phone-card {
  border-radius: 34px;
}

.sbe-driver-body .driver-main-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 78px minmax(0, 1fr) 94px;
  min-height: min(860px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.sbe-driver-body .driver-detail-card {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 30;
  display: grid;
  width: min(430px, calc(100vw - 32px));
  min-height: min(860px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  transform: translate(-50%, -50%);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 78px minmax(0, 1fr);
  overflow: hidden;
}

.sbe-driver-body .driver-detail-card[hidden] {
  display: none !important;
}

.sbe-driver-body .driver-topbar,
.sbe-driver-body .driver-content,
.sbe-driver-body .driver-bottom-nav {
  grid-column: auto;
}

.sbe-driver-body .driver-topbar {
  position: relative;
  justify-content: center;
  min-height: 78px;
  padding: 16px 64px 12px;
  text-align: center;
}

.sbe-driver-body .driver-topbar .driver-icon-button {
  position: absolute;
  top: 20px;
  left: 16px;
}

.sbe-driver-body .driver-topbar > div {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 2px;
}

.sbe-driver-body .driver-topbar p {
  min-height: 18px;
  margin: 0;
  color: #c8d4e4;
  font-size: 0.79rem;
  font-weight: 700;
  text-transform: none;
}

.sbe-driver-body .driver-topbar p:empty {
  display: none;
}

.sbe-driver-body .driver-main-card h1,
.sbe-driver-body .driver-main-card h2,
.sbe-driver-body .driver-detail-card h2 {
  margin: 0;
  color: #f7fbff;
  font-size: 1.06rem;
  line-height: 1.15;
}

.sbe-driver-body .driver-count-pill {
  display: none;
}

.sbe-driver-body .driver-content,
.sbe-driver-body .driver-detail-output {
  padding: 17px 15px 108px;
  background:
    radial-gradient(circle at 50% 0%, rgba(14, 88, 160, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(5, 11, 19, 0.52), rgba(2, 7, 13, 0.9));
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sbe-driver-body .driver-detail-output {
  padding-bottom: 22px;
}

.sbe-driver-body .driver-content::-webkit-scrollbar,
.sbe-driver-body .driver-detail-output::-webkit-scrollbar {
  display: none;
}

.sbe-driver-body .driver-bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row: auto;
  align-items: center;
  gap: 0;
  min-height: 94px;
  border-top: 1px solid rgba(84, 104, 132, 0.28);
  border-right: 0;
  padding: 9px 26px 13px;
}

.sbe-driver-body .driver-bottom-nav::before {
  content: none;
}

.sbe-driver-body .driver-bottom-nav button {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 7px;
  min-height: 68px;
  border-radius: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}

.sbe-driver-body .driver-bottom-nav .portal-nav-icon {
  width: 31px;
  height: 31px;
  border-radius: 0;
  background: transparent;
}

.sbe-driver-body .driver-reference-card {
  min-height: 172px;
  gap: 10px;
  border-radius: 17px;
  padding: 19px 18px 50px;
}

.sbe-driver-body .driver-reference-card.is-offer {
  padding-right: 70px;
}

.sbe-driver-body .driver-reference-card.is-accepted,
.sbe-driver-body .driver-reference-card.is-past {
  min-height: 166px;
  padding-bottom: 18px;
}

.sbe-driver-body .driver-reference-card.is-accepted .driver-card-chevron,
.sbe-driver-body .driver-reference-card.is-past .driver-card-chevron {
  display: none;
}

.sbe-driver-body .driver-card-date {
  color: #f7fbff;
  font-size: 1.34rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}

.sbe-driver-body .driver-card-time {
  font-size: 1rem;
}

.sbe-driver-body .driver-card-route {
  margin-top: 4px;
}

.sbe-driver-body .driver-card-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 5px;
  padding-top: 12px;
  border-top: 1px solid rgba(79, 101, 130, 0.34);
}

.sbe-driver-body .driver-reference-card.is-offer .driver-card-metrics {
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  padding-right: 54px;
}

.sbe-driver-body .driver-reference-card.is-offer .driver-card-metrics .driver-card-metric:nth-child(4) {
  display: none;
}

.sbe-driver-body .driver-status-badge {
  top: 18px;
  right: 18px;
}

.sbe-driver-body .driver-card-chevron {
  top: 24px;
  right: 17px;
}

.sbe-driver-body .driver-empty {
  min-height: calc(100vh - 172px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sbe-driver-body .driver-empty h2 {
  margin-bottom: 74px;
  font-size: 1.28rem;
  font-weight: 800;
}

.sbe-driver-body .driver-night-visual {
  inset: -17px -15px -108px;
  background:
    linear-gradient(180deg, rgba(3, 8, 15, 0.02), rgba(3, 8, 15, 0.1) 48%, rgba(2, 6, 12, 0.84) 100%),
    url("driver-assets/ride-offers-airport-car-background.png") center / cover no-repeat;
}

.sbe-driver-body .driver-tabs {
  margin: 0 0 18px;
}

.sbe-driver-body .driver-tabs button {
  min-height: 44px;
  font-size: 0.78rem;
}

.sbe-driver-body .driver-profile-card {
  gap: 15px;
  padding: 18px 0 0;
}

.sbe-driver-body .driver-avatar {
  width: 104px;
  height: 104px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  font-size: 2.35rem;
}

.sbe-driver-body .driver-profile-card h2 {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 900;
}

.sbe-driver-body .driver-detail-section,
.sbe-driver-body .driver-actions-panel {
  margin-bottom: 14px;
  padding: 16px;
}

.sbe-driver-body .driver-detail-hero {
  padding: 18px;
}

.sbe-driver-body .driver-detail-hero .driver-card-date {
  font-size: 1.42rem;
}

.sbe-driver-body .driver-detail-hero .driver-card-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 5px;
}

.sbe-driver-body .driver-action-pill {
  min-height: 60px;
}

.sbe-driver-body .driver-action-pill span:first-child,
.sbe-driver-body .driver-action-pill span:last-child {
  width: 52px;
  height: 52px;
}

@media (max-width: 940px) {
  .sbe-driver-body .driver-signin,
  .sbe-driver-body .driver-app {
    padding: 0;
  }

  .sbe-driver-body .driver-shell {
    width: 100%;
    min-height: 100dvh;
  }

  .sbe-driver-body .driver-main-card,
  .sbe-driver-body .driver-detail-card {
    width: auto;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .sbe-driver-body .driver-phone-card {
    border-radius: 0;
  }

  .sbe-driver-body .driver-detail-card {
    inset: 0;
    top: 0;
    left: 0;
    transform: none;
  }

  .sbe-driver-body .driver-empty {
    min-height: calc(100dvh - 172px);
  }
}

/* Driver typography reference layer: keep this last so it wins over older portal styles. */
.sbe-driver-body,
.sbe-driver-body button,
.sbe-driver-body input,
.sbe-driver-body textarea,
.sbe-driver-body select {
  font-family: "Segoe UI Variable Text", "Segoe UI Variable Display", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

.sbe-driver-body .driver-main-card h1,
.sbe-driver-body .driver-main-card h2,
.sbe-driver-body .driver-detail-card h2 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.sbe-driver-body .driver-topbar p {
  color: rgba(216, 227, 241, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sbe-driver-body .driver-card-date {
  color: #ffffff;
  font-size: 23px;
  font-weight: 700;
  line-height: 27px;
}

.sbe-driver-body .driver-job-card .driver-card-date {
  color: #ffffff;
}

.sbe-driver-body .driver-detail-hero .driver-card-date {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.sbe-driver-body .driver-card-time {
  color: #0a84ff;
  font-size: 17px;
  font-weight: 700;
  line-height: 21px;
}

.sbe-driver-body .driver-job-card .driver-card-time {
  color: #0a84ff;
}

.sbe-driver-body .driver-route-point strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-driver-body .driver-route-point small {
  color: rgba(201, 213, 230, 0.72);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.sbe-driver-body .driver-card-footer {
  color: #dce8f7;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sbe-driver-body .driver-card-footer span {
  color: #dce8f7;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sbe-driver-body .driver-card-footer b,
.sbe-driver-body .driver-job-card b {
  color: #26e779;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.sbe-driver-body .driver-card-metric {
  color: #d4e1f2;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
}

.sbe-driver-body .driver-card-metric span {
  color: #d4e1f2;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
}

.sbe-driver-body .driver-card-metric .driver-line-icon {
  width: 14px;
  height: 14px;
}

.sbe-driver-body .driver-price-pill {
  min-width: 60px;
  min-height: 34px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
}

.sbe-driver-body .driver-status-badge {
  color: #0a84ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}

.sbe-driver-body .driver-tabs button {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.sbe-driver-body .driver-bottom-nav button {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sbe-driver-body .driver-bottom-nav button span {
  color: inherit;
}

.sbe-driver-body .driver-bottom-nav button[aria-pressed="true"] {
  color: #0a84ff;
  font-weight: 600;
}

.sbe-driver-body .driver-bottom-nav .portal-nav-icon {
  width: 32px;
  height: 32px;
}

.sbe-driver-body .driver-detail-section h3,
.sbe-driver-body .driver-earnings-panel h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.sbe-driver-body .driver-info-list span {
  color: rgba(197, 209, 226, 0.72);
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
}

.sbe-driver-body .driver-info-list strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-driver-body .driver-state-note,
.sbe-driver-body .driver-inline-note {
  color: rgba(210, 222, 238, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.sbe-driver-body .driver-profile-card h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
}

.sbe-driver-body .driver-menu-list span,
.sbe-driver-body .driver-menu-row span {
  color: rgba(210, 222, 238, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.sbe-driver-body .driver-menu-list strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.sbe-driver-body .driver-help-card strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-driver-body .driver-help-card span:not(.driver-help-icon) {
  color: rgba(218, 229, 243, 0.8);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.sbe-driver-body .driver-action-pill {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.sbe-driver-body .driver-reject-form label {
  color: #dbe6f5;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-driver-body .driver-reject-form textarea {
  color: #f7fbff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

/* Driver compact reference correction: closer to supplied phone UI density. */
.sbe-driver-body .driver-main-card {
  grid-template-rows: 74px minmax(0, 1fr) 88px;
}

.sbe-driver-body .driver-detail-card {
  grid-template-rows: 74px minmax(0, 1fr);
}

.sbe-driver-body .driver-topbar {
  min-height: 74px;
  padding: 15px 58px 10px;
}

.sbe-driver-body .driver-content {
  padding: 14px 14px 98px;
}

.sbe-driver-body .driver-bottom-nav {
  min-height: 88px;
  padding: 7px 26px 10px;
}

.sbe-driver-body .driver-bottom-nav button {
  gap: 6px;
  min-height: 64px;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

.sbe-driver-body .driver-bottom-nav .portal-nav-icon {
  width: 30px;
  height: 30px;
}

.sbe-driver-body .driver-reference-card {
  min-height: 151px;
  gap: 7px;
  border-radius: 16px;
  padding: 15px 16px 42px;
}

.sbe-driver-body .driver-reference-card.is-offer {
  padding-right: 66px;
}

.sbe-driver-body .driver-reference-card.is-accepted,
.sbe-driver-body .driver-reference-card.is-past {
  min-height: 148px;
  padding-bottom: 15px;
}

.sbe-driver-body .driver-card-date,
.sbe-driver-body .driver-job-card .driver-card-date {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.sbe-driver-body .driver-card-date-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  max-width: calc(100% - 92px);
}

.sbe-driver-body .driver-card-date-line > .driver-line-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #0a84ff;
}

.sbe-driver-body .driver-card-date-line > span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.sbe-driver-body .driver-card-time,
.sbe-driver-body .driver-job-card .driver-card-time {
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-driver-body .driver-card-route {
  gap: 10px;
  margin-top: 2px;
}

.sbe-driver-body .driver-card-route::before {
  top: 17px;
  bottom: 17px;
  left: 9px;
}

.sbe-driver-body .driver-route-point {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
}

.sbe-driver-body .driver-route-dot {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0a84ff;
  box-shadow: none;
}

.sbe-driver-body .driver-route-dot .driver-line-icon {
  width: 18px;
  height: 18px;
}

.sbe-driver-body .driver-route-point strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}

.sbe-driver-body .driver-route-point small {
  margin-top: 2px;
  font-size: 11px;
  line-height: 14px;
}

.sbe-driver-body .driver-card-footer,
.sbe-driver-body .driver-card-footer span {
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

.sbe-driver-body .driver-card-footer b,
.sbe-driver-body .driver-job-card b {
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}

.sbe-driver-body .driver-card-metrics {
  gap: 7px;
  margin-top: 2px;
  padding-top: 10px;
}

.sbe-driver-body .driver-card-metric,
.sbe-driver-body .driver-card-metric span {
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

.sbe-driver-body .driver-card-metric .driver-line-icon {
  width: 13px;
  height: 13px;
}

.sbe-driver-body .driver-price-pill {
  right: 16px;
  bottom: 16px;
  min-width: 56px;
  min-height: 32px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}

.sbe-driver-body .driver-card-chevron {
  top: 18px;
  right: 15px;
  width: 22px;
  height: 22px;
}

/* Driver detail/profile finishing pass from the supplied mobile reference. */
.sbe-driver-body .driver-detail-output {
  padding: 14px 15px 24px;
}

.sbe-driver-body .driver-detail-section,
.sbe-driver-body .driver-actions-panel {
  border-radius: 16px;
}

.sbe-driver-body .driver-detail-section {
  margin-bottom: 14px;
  padding: 16px;
}

.sbe-driver-body .driver-detail-hero {
  gap: 9px;
  padding: 17px 16px;
}

.sbe-driver-body .driver-detail-hero .driver-card-date {
  max-width: calc(100% - 92px);
  font-size: 22px;
  line-height: 26px;
}

.sbe-driver-body .driver-detail-hero .driver-card-date-line {
  max-width: calc(100% - 92px);
}

.sbe-driver-body .driver-detail-hero .driver-card-time {
  font-size: 14px;
  line-height: 18px;
}

.sbe-driver-body .driver-detail-hero .driver-route-timeline {
  gap: 11px;
  margin-top: 2px;
}

.sbe-driver-body .driver-detail-hero .driver-route-timeline::before {
  top: 18px;
  bottom: 18px;
  left: 9px;
}

.sbe-driver-body .driver-detail-hero .driver-card-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3px;
  padding-top: 10px;
}

.sbe-driver-body .driver-status-badge {
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 10px;
  line-height: 12px;
}

.sbe-driver-body .driver-actions-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.sbe-driver-body .driver-actions-panel .driver-state-note {
  margin: 0;
}

.sbe-driver-body .driver-action-pill {
  min-height: 60px;
  border-radius: 999px;
  font-size: 17px;
  line-height: 21px;
}

.sbe-driver-body .driver-action-pill span:first-child,
.sbe-driver-body .driver-action-pill span:last-child {
  width: 52px;
  height: 52px;
}

.sbe-driver-body .driver-reject-form {
  display: grid;
  gap: 12px;
}

.sbe-driver-body .driver-reject-note-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 14px;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(12, 25, 41, 0.84), rgba(5, 12, 22, 0.94)),
    #07101b;
}

.sbe-driver-body .driver-reject-note-card > span {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: rgba(219, 230, 245, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.sbe-driver-body .driver-reject-note-card textarea {
  min-height: 54px;
  border-color: rgba(87, 109, 137, 0.5);
  border-radius: 11px;
  padding: 10px 12px;
  background: rgba(4, 10, 18, 0.72);
  font-size: 13px;
  line-height: 18px;
}

.sbe-driver-body .is-reject-hint {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  line-height: 17px;
}

.sbe-driver-body .driver-info-list div {
  min-height: 52px;
  padding: 10px 0;
}

.sbe-driver-body .driver-info-list div:has(.driver-line-icon) {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
}

.sbe-driver-body .driver-info-list div:has(.driver-line-icon) > .driver-line-icon {
  grid-row: 1 / 3;
  width: 18px;
  height: 18px;
  color: #0a84ff;
}

.sbe-driver-body .driver-info-list div:has(.driver-line-icon) > span,
.sbe-driver-body .driver-info-list div:has(.driver-line-icon) > strong {
  grid-column: 2 / -1;
}

.sbe-driver-body .driver-detail-section h3 {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 20px;
}

.sbe-driver-body .driver-profile-card {
  gap: 14px;
  padding-top: 18px;
}

.sbe-driver-body .driver-avatar {
  width: 102px;
  height: 102px;
}

.sbe-driver-body .driver-menu-list div,
.sbe-driver-body .driver-menu-row {
  min-height: 58px;
}

.sbe-driver-body .driver-help-list {
  gap: 14px;
}

.sbe-driver-body .driver-help-card {
  min-height: 82px;
  border-radius: 14px;
  padding: 14px 16px;
}

/* Driver portal reference alignment pass. Bottom navigation is intentionally left untouched. */
.sbe-driver-body .driver-topbar > div {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.sbe-driver-body .driver-topbar h1,
.sbe-driver-body .driver-topbar h2,
.sbe-driver-body .driver-detail-card h2 {
  order: 1;
}

.sbe-driver-body .driver-topbar p {
  order: 2;
  margin: 0;
}

.sbe-driver-body .driver-topbar h1:empty,
.sbe-driver-body .driver-topbar h2:empty {
  display: none;
}

.sbe-driver-body[data-driver-view="offers"] .driver-main-card:has(.driver-empty) .driver-topbar {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  min-height: 96px;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(3, 9, 17, 0.82), rgba(3, 9, 17, 0));
  padding: 44px 24px 12px;
}

.sbe-driver-body[data-driver-view="offers"] .driver-main-card:has(.driver-empty) .driver-content {
  grid-row: 1 / 3;
  padding: 0;
}

.sbe-driver-body[data-driver-view="offers"] .driver-main-card:has(.driver-empty) .driver-empty {
  align-items: end;
  min-height: 100%;
  padding: 0 24px 132px;
}

.sbe-driver-body[data-driver-view="offers"] .driver-main-card:has(.driver-empty) .driver-night-visual {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 7, 13, 0.03) 0%, rgba(2, 7, 13, 0.08) 42%, rgba(2, 7, 13, 0.72) 76%, rgba(2, 7, 13, 0.96) 100%),
    url("driver-assets/ride-offers-airport-car-background.png") center 46% / cover no-repeat;
}

.sbe-driver-body[data-driver-view="offers"] .driver-main-card:has(.driver-empty) .driver-empty h2 {
  margin: 0;
  max-width: 320px;
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 800;
  line-height: 1.16;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.76);
}

.sbe-driver-body .driver-reference-card {
  box-shadow: none;
}

.sbe-driver-body .driver-reference-card.is-accepted,
.sbe-driver-body .driver-reference-card.is-past {
  min-height: 134px;
  gap: 9px;
  padding: 14px 15px 15px;
}

.sbe-driver-body .driver-reference-card.is-accepted .driver-card-date-line,
.sbe-driver-body .driver-reference-card.is-past .driver-card-date-line {
  max-width: calc(100% - 86px);
}

.sbe-driver-body .driver-reference-card.is-accepted .driver-card-date,
.sbe-driver-body .driver-reference-card.is-past .driver-card-date {
  font-size: 18px;
  line-height: 22px;
}

.sbe-driver-body .driver-reference-card.is-accepted .driver-card-route,
.sbe-driver-body .driver-reference-card.is-past .driver-card-route {
  gap: 8px;
  margin-left: 2px;
}

.sbe-driver-body .driver-reference-card .driver-card-route::before {
  top: 14px;
  bottom: 14px;
  left: 6px;
  border-left: 1px dashed rgba(114, 133, 161, 0.58);
}

.sbe-driver-body .driver-reference-card .driver-route-point {
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 9px;
}

.sbe-driver-body .driver-reference-card .driver-route-dot {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: #168cff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}

.sbe-driver-body .driver-reference-card .driver-route-point.is-dropoff .driver-route-dot {
  background: #20d46a;
  box-shadow: 0 0 0 3px rgba(32, 212, 106, 0.12);
}

.sbe-driver-body .driver-reference-card .driver-route-dot .driver-line-icon {
  display: none;
}

.sbe-driver-body .driver-reference-card .driver-route-point strong {
  font-size: 12px;
  line-height: 15px;
}

.sbe-driver-body .driver-reference-card .driver-route-point small {
  font-size: 10px;
  line-height: 13px;
}

.sbe-driver-body .driver-reference-card.is-accepted .driver-card-metrics,
.sbe-driver-body .driver-reference-card.is-past .driver-card-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: start;
  border-top: 1px solid rgba(79, 101, 130, 0.34);
  padding-top: 10px;
}

.sbe-driver-body .driver-detail-card .driver-topbar {
  min-height: 76px;
  padding: 22px 46px 12px;
  background:
    linear-gradient(180deg, rgba(7, 20, 33, 0.99), rgba(7, 20, 33, 0.96)),
    #071421;
}

.sbe-driver-body .driver-detail-card .driver-topbar > div {
  justify-items: start;
}

.sbe-driver-body .driver-detail-output {
  padding: 12px 13px 22px;
}

.sbe-driver-body .driver-detail-section {
  margin-bottom: 12px;
  border-color: rgba(72, 95, 126, 0.42);
  border-radius: 13px;
  padding: 14px;
}

.sbe-driver-body .driver-detail-hero {
  gap: 8px;
  padding: 14px;
}

.sbe-driver-body .driver-detail-hero .driver-card-date,
.sbe-driver-body .driver-detail-hero .driver-card-date-line {
  max-width: calc(100% - 92px);
}

.sbe-driver-body .driver-detail-hero .driver-card-date {
  font-size: 20px;
  line-height: 24px;
}

.sbe-driver-body .driver-detail-hero .driver-route-timeline {
  gap: 10px;
}

.sbe-driver-body .driver-detail-hero .driver-route-timeline::before {
  top: 18px;
  bottom: 18px;
  left: 17px;
  border-left: 1px dashed rgba(114, 133, 161, 0.5);
}

.sbe-driver-body .driver-detail-hero .driver-route-point {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
}

.sbe-driver-body .driver-detail-hero .driver-route-dot {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(10, 132, 255, 0.5);
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.1);
  color: #0a84ff;
}

.sbe-driver-body .driver-detail-hero .driver-route-point.is-dropoff .driver-route-dot {
  background: rgba(10, 132, 255, 0.1);
  color: #0a84ff;
  box-shadow: none;
}

.sbe-driver-body .driver-detail-section h3 {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 19px;
}

.sbe-driver-body .driver-detail-section .driver-info-list div {
  min-height: 44px;
  padding: 9px 0;
}

.sbe-driver-body .driver-detail-section .driver-info-list div:has(.driver-line-icon) {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  column-gap: 10px;
}

.sbe-driver-body .driver-detail-section .driver-info-list div:has(.driver-line-icon) > .driver-line-icon {
  width: 18px;
  height: 18px;
  justify-self: center;
}

.sbe-driver-body .driver-actions-panel {
  gap: 10px;
  margin-bottom: 12px;
}

.sbe-driver-body .driver-action-pill {
  min-height: 54px;
}

.sbe-driver-body .driver-profile-card {
  gap: 8px;
  padding: 10px 0 0;
}

.sbe-driver-body .driver-profile-card h2 {
  margin: 0 0 2px;
  font-size: 23px;
  line-height: 27px;
}

.sbe-driver-body .driver-profile-hero {
  margin-top: 2px;
}

.sbe-driver-body .driver-avatar {
  width: 80px;
  height: 80px;
}

.sbe-driver-body .driver-menu-list,
.sbe-driver-body .driver-menu-row {
  border-radius: 18px;
}

.sbe-driver-body .driver-profile-card .driver-menu-list div,
.sbe-driver-body .driver-profile-card .driver-menu-row {
  grid-template-columns: 32px minmax(0, 1fr) 26px;
  column-gap: 10px;
  min-height: 48px;
  padding: 7px 14px;
}

.sbe-driver-body .driver-profile-card .driver-menu-list .driver-line-icon,
.sbe-driver-body .driver-profile-card .driver-menu-row .driver-line-icon {
  width: 22px;
  height: 22px;
  justify-self: center;
  color: #5f8cff;
}

.sbe-driver-body .driver-profile-card .driver-menu-list span,
.sbe-driver-body .driver-profile-card .driver-menu-list strong,
.sbe-driver-body .driver-profile-card .driver-menu-row span {
  grid-column: 2;
}

.sbe-driver-body .driver-profile-card .driver-menu-list span,
.sbe-driver-body .driver-profile-card .driver-menu-row span {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.sbe-driver-body .driver-profile-card .driver-menu-list strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
}

.sbe-driver-body .driver-profile-card .driver-menu-list i,
.sbe-driver-body .driver-profile-card .driver-menu-row i {
  grid-column: 3;
  grid-row: 1 / 3;
  justify-self: end;
  align-self: center;
  width: 28px;
  height: 28px;
  color: #5f8cff;
}

.sbe-driver-body .driver-profile-card .driver-menu-list i .driver-line-icon,
.sbe-driver-body .driver-profile-card .driver-menu-row i .driver-line-icon {
  width: 22px;
  height: 22px;
}

.sbe-driver-body .driver-profile-card .driver-logout-action {
  min-height: 48px;
}

.sbe-driver-body .driver-help-card {
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  min-height: 72px;
  padding: 12px 14px;
}

.sbe-driver-body .driver-help-icon {
  width: 42px;
  height: 42px;
}

.sbe-driver-body .driver-help-chevron {
  justify-self: end;
}

@media (min-width: 941px) {
  .sbe-driver-body .driver-shell {
    align-items: center;
  }

  .sbe-driver-body .driver-main-card,
  .sbe-driver-body .driver-detail-card {
    min-height: min(852px, calc(100vh - 48px));
  }
}

@media (max-width: 420px) {
  .sbe-driver-body .driver-profile-card .driver-menu-list div,
  .sbe-driver-body .driver-profile-card .driver-menu-row {
    grid-template-columns: 30px minmax(0, 1fr) 26px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .sbe-driver-body .driver-profile-card h2 {
    font-size: 24px;
    line-height: 29px;
  }
}

/* Shared portal icon system. */
.portal-system-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-ui-icon {
  display: inline-grid;
  place-items: center;
  color: currentColor;
}

.portal-ui-icon .portal-system-icon {
  width: 100%;
  height: 100%;
}

/* Driver Portal customer-parity polish: login, phone shell, You, Help, and Earnings nav. */
.sbe-driver-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -18%, rgba(9, 132, 255, 0.16), transparent 38%),
    linear-gradient(180deg, #02060c 0%, #00040a 100%);
}

.sbe-driver-body .driver-signin,
.sbe-driver-body .driver-app {
  padding: 24px;
}

.sbe-driver-body .driver-shell {
  width: min(390px, calc(100vw - 32px));
  min-height: min(844px, calc(100vh - 48px));
}

.sbe-driver-body .driver-phone-card {
  position: relative;
  border: 1px solid rgba(133, 143, 160, 0.42);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(2, 8, 15, 0.99), rgba(1, 6, 11, 0.99)),
    #02070d;
  box-shadow:
    0 0 0 7px #05070a,
    0 0 0 8px rgba(180, 190, 205, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 86px rgba(0, 0, 0, 0.54);
}

.sbe-driver-body .driver-main-card,
.sbe-driver-body .driver-detail-card {
  width: min(390px, calc(100vw - 32px));
  min-height: min(844px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
}

.sbe-driver-body .driver-main-card {
  grid-template-rows: 112px minmax(0, 1fr) 88px;
}

.sbe-driver-body .driver-detail-card {
  grid-template-rows: 112px minmax(0, 1fr);
}

.sbe-driver-body .driver-main-card::before,
.sbe-driver-body .driver-detail-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 106px;
  height: 25px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  pointer-events: none;
}

.sbe-driver-body .driver-auth-card {
  width: min(420px, calc(100vw - 32px));
  padding: 34px;
}

.sbe-driver-body .driver-auth-form {
  display: grid;
  gap: 14px;
}

.sbe-driver-body .driver-access-panel {
  margin-top: 16px;
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 14px;
  background: rgba(3, 10, 18, 0.54);
}

.sbe-driver-body .driver-access-panel summary {
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  list-style: none;
  padding: 14px;
}

.sbe-driver-body .driver-access-panel summary::-webkit-details-marker {
  display: none;
}

.sbe-driver-body .driver-access-panel p {
  margin: 0;
  color: rgba(211, 224, 240, 0.78);
  font-size: 13px;
  line-height: 18px;
  padding: 0 14px 14px;
}

.sbe-driver-body .driver-topbar {
  min-height: 112px;
  border: 0;
  background: linear-gradient(180deg, rgba(4, 11, 19, 0.96), rgba(4, 11, 19, 0.74));
  padding: 57px 22px 10px;
}

.sbe-driver-body .driver-topbar .driver-icon-button {
  top: 56px;
  left: 14px;
}

.sbe-driver-body .driver-topbar p {
  min-height: 0;
}

.sbe-driver-body .driver-main-card h1,
.sbe-driver-body .driver-main-card h2,
.sbe-driver-body .driver-detail-card h2 {
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
}

.sbe-driver-body .driver-detail-card h2 {
  font-size: 23px;
  line-height: 28px;
}

.sbe-driver-body .driver-view-subtitle {
  margin: 3px 0 0;
  color: rgba(203, 215, 231, 0.7);
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
}

.sbe-driver-body .driver-content,
.sbe-driver-body .driver-detail-output {
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(10, 132, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #030a12 0%, #02070d 100%);
  padding: 11px 14px 94px;
}

.sbe-driver-body .driver-detail-output {
  padding-bottom: 24px;
}

.sbe-driver-body .driver-bottom-nav {
  grid-template-columns: repeat(4, 1fr);
  min-height: 88px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(5, 15, 26, 0.68), rgba(3, 10, 18, 0.96)),
    rgba(3, 10, 18, 0.96);
  box-shadow: 0 -16px 32px rgba(0, 0, 0, 0.28);
  padding: 6px 14px 9px;
}

.sbe-driver-body .driver-bottom-nav::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: rgba(72, 95, 126, 0.42);
}

.sbe-driver-body .driver-bottom-nav button {
  min-height: 64px;
  gap: 6px;
  border: 0;
  background: transparent;
  font-size: 11px;
  line-height: 14px;
}

.sbe-driver-body .driver-bottom-nav .portal-nav-icon {
  width: 30px;
  height: 30px;
}

.sbe-driver-body .driver-bottom-nav .portal-nav-asset {
  object-fit: contain;
}

.sbe-driver-body .driver-profile-card {
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 0 0;
  text-align: center;
}

.sbe-driver-body .driver-profile-hero {
  position: relative;
  display: grid;
  justify-self: center;
  margin: 0;
}

.sbe-driver-body .driver-avatar {
  width: 102px;
  height: 102px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #314159, #101827);
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
}

.sbe-driver-body .driver-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.sbe-driver-body .driver-profile-check {
  right: 5px;
  bottom: 5px;
  width: 24px;
  height: 24px;
  border: 2px solid #02070d;
  background: #0a84ff;
  color: #ffffff;
}

.sbe-driver-body .driver-profile-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 27px;
}

.sbe-driver-body .driver-profile-card .driver-menu-list,
.sbe-driver-body .driver-account-panel {
  overflow: hidden;
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(12, 25, 41, 0.86), rgba(5, 12, 22, 0.96)),
    #07101b;
}

.sbe-driver-body .driver-profile-card .driver-menu-list div,
.sbe-driver-body .driver-profile-card .driver-menu-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-height: 58px;
  border-bottom: 1px solid rgba(72, 95, 126, 0.3);
  border-radius: 0;
  padding: 10px 14px;
}

.sbe-driver-body .driver-profile-card .driver-menu-list div:last-child {
  border-bottom: 0;
}

.sbe-driver-body .driver-profile-card .driver-menu-row {
  width: 100%;
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 14px;
}

.sbe-driver-body .driver-help-copy {
  margin: -4px 0 0;
  color: rgba(211, 224, 240, 0.78);
  font-size: 13px;
  line-height: 18px;
  text-align: left;
}

.sbe-driver-body .driver-account-panel {
  display: grid;
  gap: 0;
  margin-top: 14px;
  padding: 0;
}

.sbe-driver-body .driver-account-panel summary {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  list-style: none;
  padding: 15px;
}

.sbe-driver-body .driver-account-panel summary::-webkit-details-marker {
  display: none;
}

.sbe-driver-body .driver-account-form {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 15px 15px;
}

.sbe-driver-body .driver-account-form label,
.sbe-driver-body .driver-auth-form label {
  display: grid;
  gap: 7px;
  color: rgba(210, 222, 238, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.sbe-driver-body .driver-account-form input,
.sbe-driver-body .driver-account-form select,
.sbe-driver-body .driver-auth-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(87, 109, 137, 0.5);
  border-radius: 11px;
  background: rgba(4, 10, 18, 0.72);
  color: #f7fbff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 10px 12px;
}

.sbe-driver-body .driver-help-card {
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  min-height: 0;
  padding: 12px 13px;
}

.sbe-driver-body .driver-help-card span:not(.driver-help-icon) {
  font-size: 12px;
  line-height: 17px;
}

/* Driver Portal visual fixes for Offers, Earnings, and detail overlay. */
.sbe-driver-body:has(.driver-detail-card:not([hidden])) .driver-main-card {
  opacity: 0;
  pointer-events: none;
}

.sbe-driver-body:has(.driver-detail-card:not([hidden])) .driver-detail-card {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 30;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 7px #05070a,
    0 0 0 8px rgba(180, 190, 205, 0.2),
    0 34px 96px rgba(0, 0, 0, 0.62);
}

.sbe-driver-body .driver-main-card h1,
.sbe-driver-body .driver-main-card h2,
.sbe-driver-body .driver-detail-card h2 {
  font-size: 23px;
  font-weight: 700;
  line-height: 28px;
}

.sbe-driver-body .driver-detail-card h2 {
  font-size: 22px;
  line-height: 27px;
}

.sbe-driver-body .driver-content {
  padding-bottom: 116px;
}

.sbe-driver-body .driver-detail-output {
  padding-bottom: 40px;
}

.sbe-driver-body[data-driver-view="offers"] .driver-main-card:has(.driver-empty) .driver-empty {
  padding: 0 28px 142px;
}

.sbe-driver-body[data-driver-view="offers"] .driver-main-card:has(.driver-empty) .driver-empty h2 {
  max-width: 250px;
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.sbe-driver-body .driver-card-date,
.sbe-driver-body .driver-reference-card.is-accepted .driver-card-date,
.sbe-driver-body .driver-reference-card.is-past .driver-card-date {
  font-size: 17px;
  font-weight: 700;
  line-height: 21px;
}

.sbe-driver-body .driver-detail-hero .driver-card-date {
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
}

.sbe-driver-body .driver-route-point strong,
.sbe-driver-body .driver-reference-card .driver-route-point strong {
  font-weight: 700;
}

.sbe-driver-body .driver-bottom-nav .driver-nav-earnings-asset {
  width: 30px;
  height: 30px;
  transform: none;
}

.sbe-driver-body .driver-reference-card .driver-card-route::before,
.sbe-driver-body .driver-detail-hero .driver-route-timeline::before {
  top: 8px;
  bottom: 8px;
  left: 4px;
  border-left-width: 1px;
}

.sbe-driver-body .driver-reference-card .driver-route-dot,
.sbe-driver-body .driver-detail-hero .driver-route-dot {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border: 0;
  border-radius: 50%;
  background: #168cff;
  color: transparent;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}

.sbe-driver-body .driver-reference-card .driver-route-point.is-dropoff .driver-route-dot,
.sbe-driver-body .driver-detail-hero .driver-route-point.is-dropoff .driver-route-dot {
  background: #20d46a;
  color: transparent;
  box-shadow: 0 0 0 3px rgba(32, 212, 106, 0.12);
}

.sbe-driver-body .driver-reference-card .driver-route-dot .driver-line-icon,
.sbe-driver-body .driver-detail-hero .driver-route-dot .driver-line-icon {
  display: none;
}

.sbe-driver-body .driver-detail-hero .driver-route-timeline {
  gap: 10px;
  margin-left: 2px;
}

.sbe-driver-body .driver-detail-hero .driver-route-timeline::before {
  top: 8px;
  bottom: 8px;
}

.sbe-driver-body .driver-detail-hero .driver-route-point {
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
}

.sbe-driver-body .driver-earnings-panel {
  border-color: rgba(72, 95, 126, 0.5);
  background:
    linear-gradient(145deg, rgba(13, 27, 45, 0.9), rgba(5, 13, 24, 0.96)),
    #07101b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.sbe-driver-body .driver-earnings-grid div,
.sbe-driver-body .driver-payout-status-card,
.sbe-driver-body .driver-earnings-row {
  border-color: rgba(80, 105, 137, 0.46);
  background:
    linear-gradient(145deg, rgba(12, 26, 43, 0.92), rgba(5, 12, 22, 0.98)),
    #07101b;
}

.sbe-driver-body .driver-earnings-row:hover {
  border-color: rgba(10, 132, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(14, 31, 51, 0.94), rgba(5, 13, 24, 0.98)),
    #07101b;
}

.sbe-driver-body .driver-earnings-grid span,
.sbe-driver-body .driver-earnings-grid small,
.sbe-driver-body .driver-payout-status-card span,
.sbe-driver-body .driver-payout-status-card small,
.sbe-driver-body .driver-earnings-row small,
.sbe-driver-body .driver-earnings-row em {
  color: rgba(183, 198, 219, 0.76);
  font-weight: 600;
}

.sbe-driver-body .driver-earnings-grid strong,
.sbe-driver-body .driver-payout-status-card strong,
.sbe-driver-body .driver-earnings-row b {
  color: #78e08f;
}

.sbe-driver-body .driver-earnings-row strong {
  color: #f5f8fd;
  font-weight: 700;
}

.sbe-driver-body .driver-payout-status-grid {
  gap: 10px;
}

.sbe-driver-body .driver-payout-status-card {
  min-height: 76px;
  padding: 12px;
}

.sbe-driver-body .driver-earnings-row {
  min-height: 70px;
  padding: 13px;
}

@media (max-width: 940px) {
  .sbe-driver-body .driver-signin,
  .sbe-driver-body .driver-app {
    padding: 0;
  }

  .sbe-driver-body .driver-shell,
  .sbe-driver-body .driver-main-card,
  .sbe-driver-body .driver-detail-card {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
  }

  .sbe-driver-body .driver-phone-card,
  .sbe-driver-body .driver-main-card,
  .sbe-driver-body .driver-detail-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sbe-driver-body:has(.driver-detail-card:not([hidden])) .driver-detail-card {
    inset: 0;
    top: 0;
    left: 0;
    transform: none;
  }

  .sbe-driver-body .driver-auth-card {
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
  }
}

/* Customer Portal reference polish from the supplied mobile UI. */
.sbe-customer-body,
.sbe-customer-body button,
.sbe-customer-body input,
.sbe-customer-body textarea,
.sbe-customer-body select {
  font-family: "Segoe UI Variable Text", "Segoe UI Variable Display", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

.sbe-customer-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -18%, rgba(9, 132, 255, 0.16), transparent 38%),
    linear-gradient(180deg, #02060c 0%, #00040a 100%);
}

.sbe-customer-body .customer-portal {
  min-height: 100vh;
  color: #f7fbff;
}

.sbe-customer-body .customer-signin,
.sbe-customer-body .customer-app {
  min-height: 100vh;
  padding: 24px;
}

.sbe-customer-body .customer-signin {
  display: grid;
  place-items: center;
}

.sbe-customer-body .customer-shell {
  display: grid;
  grid-template-columns: minmax(360px, 390px);
  justify-content: center;
  align-items: start;
  gap: 24px;
  min-height: calc(100vh - 48px);
}

.sbe-customer-body .customer-shell:has(.customer-detail-card:not([hidden])) {
  grid-template-columns: minmax(360px, 390px) minmax(360px, 390px);
}

.sbe-customer-body .customer-phone-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(133, 143, 160, 0.42);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(2, 8, 15, 0.99), rgba(1, 6, 11, 0.99)),
    #02070d;
  box-shadow:
    0 0 0 7px #05070a,
    0 0 0 8px rgba(180, 190, 205, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 86px rgba(0, 0, 0, 0.54);
}

.sbe-customer-body .customer-main-card,
.sbe-customer-body .customer-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 112px minmax(0, 1fr) 82px;
  width: min(390px, calc(100vw - 32px));
  min-height: min(844px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
}

.sbe-customer-body .customer-detail-card {
  grid-template-rows: 112px minmax(0, 1fr);
}

.sbe-customer-body .customer-main-card::before,
.sbe-customer-body .customer-detail-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 106px;
  height: 25px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  pointer-events: none;
}

.sbe-customer-body .customer-auth-card {
  width: min(420px, calc(100vw - 32px));
  padding: 34px;
}

.sbe-customer-body .portal-auth-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #0a84ff;
  background: rgba(10, 132, 255, 0.12);
  padding: 12px;
}

.sbe-customer-body .customer-topbar {
  grid-column: auto;
  min-height: 112px;
  border: 0;
  padding: 57px 22px 10px;
  background: linear-gradient(180deg, rgba(4, 11, 19, 0.96), rgba(4, 11, 19, 0.74));
}

.sbe-customer-body .customer-topbar .customer-kicker {
  display: none;
}

.sbe-customer-body .customer-kicker {
  margin: 0;
  color: rgba(203, 215, 231, 0.64);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sbe-customer-body .customer-topbar h1,
.sbe-customer-body .customer-topbar h2,
.sbe-customer-body .customer-detail-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
}

.sbe-customer-body .customer-detail-card h2 {
  font-size: 23px;
  line-height: 28px;
}

.sbe-customer-body .customer-view-subtitle {
  margin: 3px 0 0;
  color: rgba(203, 215, 231, 0.7);
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
}

.sbe-customer-body .customer-auth-card h1,
.sbe-driver-body .driver-auth-card h1 {
  color: #f8fbff;
}

.sbe-customer-body .customer-count-pill {
  min-width: 24px;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.16);
  color: #58aaff;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  padding: 5px 8px;
}

.sbe-customer-body .customer-icon-button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 20px;
}

.sbe-customer-body .customer-icon-button .portal-system-icon {
  width: 24px;
  height: 24px;
}

.sbe-customer-body .customer-content,
.sbe-customer-body .customer-detail-output {
  grid-column: auto;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 0, rgba(10, 132, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #030a12 0%, #02070d 100%);
  padding: 11px 14px 94px;
  scrollbar-width: none;
}

.sbe-customer-body .customer-content::-webkit-scrollbar,
.sbe-customer-body .customer-detail-output::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.sbe-customer-body .customer-detail-output {
  border: 0;
  border-radius: 0;
  padding-bottom: 24px;
}

.sbe-customer-body .customer-section-label {
  margin: 0 0 14px;
  color: rgba(208, 220, 236, 0.74);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.sbe-customer-body .customer-grid {
  display: grid;
  gap: 14px;
}

.sbe-customer-body .customer-reference-card,
.sbe-customer-body .customer-detail-section,
.sbe-customer-body .customer-action-form,
.sbe-customer-body .customer-account-panel {
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(12, 25, 41, 0.86), rgba(5, 12, 22, 0.96)),
    #07101b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 16px 40px rgba(0, 0, 0, 0.22);
}

.sbe-customer-body .customer-booking-card,
.sbe-customer-body .customer-payment-card {
  position: relative;
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 0;
  border-radius: 16px;
  color: #e8f2ff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 13px 14px;
}

.sbe-customer-body .customer-booking-card:hover,
.sbe-customer-body .customer-payment-card:hover {
  border-color: rgba(10, 132, 255, 0.52);
}

.sbe-customer-body .customer-payment-card {
  min-height: 0;
  padding-bottom: 16px;
}

.sbe-customer-body .customer-status-pill {
  position: absolute;
  top: 13px;
  right: 13px;
  justify-self: auto;
  border-radius: 7px;
  background: rgba(19, 115, 52, 0.62);
  color: #2bf07c;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  padding: 5px 8px;
}

.sbe-customer-body .customer-status-pill[data-status="pending"],
.sbe-customer-body .customer-status-pill[data-status="reviewed"],
.sbe-customer-body .customer-status-pill[data-status="received"] {
  background: rgba(18, 74, 151, 0.62);
  color: #7bb9ff;
}

.sbe-customer-body .customer-status-pill[data-status="cancellation_requested"] {
  background: rgba(136, 84, 8, 0.62);
  color: #ffd166;
}

.sbe-customer-body .customer-status-pill[data-status="cancelled"] {
  background: rgba(134, 31, 31, 0.64);
  color: #ff6b6b;
}

.sbe-customer-body .customer-card-date {
  max-width: calc(100% - 92px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-customer-body .customer-card-date-line {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  max-width: calc(100% - 92px);
}

.sbe-customer-body .customer-card-date-line > .customer-line-icon {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  color: #0a84ff;
}

.sbe-customer-body .customer-card-date-line > span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.sbe-customer-body .customer-card-date-line .customer-card-date {
  max-width: none;
}

.sbe-customer-body .customer-card-time {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sbe-customer-body .customer-card-route {
  position: relative;
  display: grid;
  gap: 11px;
  margin-top: 4px;
}

.sbe-customer-body .customer-card-route::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 11px;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(114, 136, 166, 0.56) 0 4px, transparent 4px 8px);
}

.sbe-customer-body .customer-route-point {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.sbe-customer-body .customer-route-dot {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0a84ff;
  box-shadow: none;
}

.sbe-customer-body .customer-route-point.is-dropoff .customer-route-dot {
  color: #0a84ff;
  box-shadow: none;
}

.sbe-customer-body .customer-route-dot .customer-line-icon {
  width: 21px;
  height: 21px;
}

.sbe-customer-body .customer-route-point strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
}

.sbe-customer-body .customer-route-point small {
  display: block;
  margin-top: 3px;
  color: rgba(201, 213, 230, 0.72);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.sbe-customer-body .customer-card-footer {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: rgba(220, 232, 247, 0.92);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

.sbe-customer-body .customer-card-footer .customer-vehicle-meta {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.sbe-customer-body .customer-card-footer .customer-vehicle-meta > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sbe-customer-body .customer-card-footer strong {
  overflow: hidden;
  color: #dce8f7;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbe-customer-body .customer-card-footer small {
  color: rgba(201, 213, 230, 0.72);
  font-size: 10px;
  font-weight: 500;
}

.sbe-customer-body .customer-card-footer b {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.sbe-customer-body .customer-card-footer i {
  display: grid;
  place-items: center;
  color: rgba(230, 239, 250, 0.88);
  font-style: normal;
}

.sbe-customer-body .customer-line-icon {
  width: 18px;
  height: 18px;
  color: #0a84ff;
}

.sbe-customer-body .customer-primary-action .customer-line-icon,
.sbe-customer-body .customer-danger-action .customer-line-icon,
.sbe-customer-body .customer-payment-link .customer-line-icon,
.sbe-driver-body .driver-primary-action .driver-line-icon,
.sbe-driver-body .driver-danger-action .driver-line-icon,
.sbe-driver-body .driver-outline-action .driver-line-icon {
  color: currentColor;
}

.sbe-customer-body .customer-card-footer .customer-line-icon {
  width: 22px;
  height: 22px;
}

.sbe-customer-body .customer-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -2px 0 14px;
  border: 0;
}

.sbe-customer-body .customer-segment span,
.sbe-customer-body .customer-segment strong {
  border-bottom: 1px solid rgba(66, 90, 121, 0.56);
  color: rgba(209, 221, 236, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  padding: 10px 8px;
}

.sbe-customer-body .customer-segment strong {
  border-bottom: 2px solid #0a84ff;
  color: #0a84ff;
}

.sbe-customer-body .customer-detail-hero {
  position: relative;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(12, 25, 41, 0.92), rgba(5, 12, 22, 0.98)),
    #07101b;
  padding: 17px 16px;
  margin-bottom: 14px;
}

.sbe-customer-body .customer-detail-hero .customer-card-date {
  font-size: 16px;
  line-height: 20px;
}

.sbe-customer-body .customer-detail-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.sbe-customer-body .customer-detail-status-row .customer-status-pill {
  position: static;
  justify-self: start;
  max-width: 100%;
  white-space: normal;
}

.sbe-customer-body .customer-detail-hero .customer-card-date-line {
  max-width: none;
}

.sbe-customer-body .customer-detail-grid {
  display: grid;
  gap: 0;
}

.sbe-customer-body .customer-journey-grid {
  margin-top: 5px;
  border-top: 1px solid rgba(72, 95, 126, 0.38);
  padding-top: 8px;
}

.sbe-customer-body .customer-detail-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-bottom: 1px solid rgba(72, 95, 126, 0.3);
  padding: 9px 0;
}

.sbe-customer-body .customer-detail-row:last-child {
  border-bottom: 0;
}

.sbe-customer-body .customer-detail-row span {
  color: rgba(218, 229, 243, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sbe-customer-body .customer-detail-row strong {
  max-width: 190px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-align: right;
  overflow-wrap: anywhere;
}

.sbe-customer-body .customer-detail-section {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 16px;
}

.sbe-customer-body .customer-detail-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.sbe-customer-body .customer-detail-section h3 .customer-line-icon {
  width: 18px;
  height: 18px;
  color: #0a84ff;
}

.sbe-customer-body .customer-state-note,
.sbe-customer-body .customer-inline-note,
.sbe-customer-body .customer-help-copy {
  margin: 0;
  color: rgba(211, 224, 240, 0.78);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.sbe-customer-body .customer-primary-action,
.sbe-customer-body .customer-secondary-action,
.sbe-customer-body .customer-danger-action,
.sbe-customer-body .customer-payment-link {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
}

.sbe-customer-body .customer-primary-action {
  border: 0;
  background: linear-gradient(180deg, #0b83ff, #0064df);
  color: #ffffff;
}

.sbe-customer-body .customer-secondary-action {
  border: 1px solid rgba(10, 132, 255, 0.72);
  background: rgba(10, 132, 255, 0.08);
  color: #d9ecff;
}

.sbe-customer-body .customer-danger-action {
  border: 1px solid rgba(255, 72, 72, 0.68);
  background: rgba(102, 13, 20, 0.28);
  color: #ff4d4d;
}

.sbe-customer-body .customer-wide-action {
  width: 100%;
  margin-bottom: 12px;
}

.sbe-customer-body .customer-action-form {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
}

.sbe-customer-body .customer-action-form[hidden] {
  display: none;
}

.sbe-customer-body .customer-auth-form {
  display: grid;
  gap: 12px;
}

.sbe-customer-body .customer-access-panel {
  border: 1px solid rgba(45, 66, 93, 0.74);
  border-radius: 14px;
  background: rgba(6, 16, 28, 0.74);
  padding: 12px;
}

.sbe-customer-body .customer-access-panel summary {
  cursor: pointer;
  color: #f7fbff;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-customer-body .customer-access-panel[open] summary {
  margin-bottom: 12px;
}

.sbe-customer-body .customer-action-form label,
.sbe-customer-body .customer-auth-card label,
.sbe-customer-body .customer-account-form label {
  color: rgba(221, 233, 247, 0.88);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.sbe-customer-body .customer-auth-card input,
.sbe-customer-body .customer-account-form input,
.sbe-customer-body .customer-action-form textarea {
  border: 1px solid rgba(87, 109, 137, 0.5);
  border-radius: 11px;
  background: rgba(4, 10, 18, 0.72);
  color: #f7fbff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 11px 12px;
}

.sbe-customer-body .customer-profile-card {
  display: grid;
  justify-items: stretch;
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 0 0;
  text-align: center;
}

.sbe-customer-body .customer-avatar-wrap {
  position: relative;
  display: grid;
  justify-self: center;
}

.sbe-customer-body .customer-avatar {
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #314159, #101827);
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
}

.sbe-customer-body .customer-avatar-check {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #02070d;
  border-radius: 50%;
  background: #0a84ff;
  color: #ffffff;
}

.sbe-customer-body .customer-avatar-check .customer-line-icon {
  width: 14px;
  height: 14px;
  color: currentColor;
}

.sbe-customer-body .customer-profile-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
}

.sbe-customer-body .customer-info-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(12, 25, 41, 0.86), rgba(5, 12, 22, 0.96)),
    #07101b;
}

.sbe-customer-body .customer-info-list div,
.sbe-customer-body .customer-menu-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid rgba(72, 95, 126, 0.3);
  background: transparent;
  color: #ffffff;
  text-align: left;
  padding: 10px 14px;
}

.sbe-customer-body .customer-info-list div:last-child {
  border-bottom: 0;
}

.sbe-customer-body .customer-info-list span,
.sbe-customer-body .customer-menu-row span {
  color: rgba(210, 222, 238, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.sbe-customer-body .customer-info-list strong {
  grid-column: 2 / -1;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.sbe-customer-body .customer-menu-row {
  width: 100%;
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 14px;
  cursor: default;
}

.sbe-customer-body .customer-menu-row i {
  display: grid;
  place-items: center;
  color: rgba(220, 232, 247, 0.82);
  font-style: normal;
}

.sbe-customer-body .customer-logout-action {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
}

.sbe-customer-body .customer-account-panel {
  display: grid;
  gap: 0;
  margin-top: 14px;
  padding: 0;
}

.sbe-customer-body .customer-account-panel summary {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  list-style: none;
  padding: 15px;
}

.sbe-customer-body .customer-account-panel summary::-webkit-details-marker {
  display: none;
}

.sbe-customer-body .customer-account-form {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 15px 15px;
}

.sbe-customer-body .customer-form-grid {
  display: grid;
  gap: 12px;
}

.sbe-customer-body .customer-document-list {
  display: grid;
  gap: 8px;
}

.sbe-customer-body .customer-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(72, 95, 126, 0.42);
  border-radius: 12px;
  background: rgba(3, 10, 18, 0.5);
  color: rgba(214, 226, 241, 0.8);
  padding: 11px 12px;
}

.sbe-customer-body .customer-document-row strong,
.sbe-customer-body .customer-document-link {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.sbe-customer-body .customer-payment-actions {
  display: grid;
  gap: 8px;
}

.sbe-customer-body .customer-empty {
  border: 1px solid rgba(72, 95, 126, 0.56);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(12, 25, 41, 0.86), rgba(5, 12, 22, 0.96)),
    #07101b;
  padding: 26px 18px;
  text-align: center;
}

.sbe-customer-body .customer-empty h2 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.sbe-customer-body .customer-empty p {
  margin: 0;
  color: rgba(211, 224, 240, 0.78);
  font-size: 13px;
  line-height: 18px;
}

.sbe-customer-body .customer-bottom-nav {
  position: relative;
  grid-column: auto;
  grid-row: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex-direction: initial;
  align-items: initial;
  gap: 0;
  min-height: 88px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(5, 15, 26, 0.68), rgba(3, 10, 18, 0.96)),
    rgba(3, 10, 18, 0.96);
  box-shadow: 0 -16px 32px rgba(0, 0, 0, 0.28);
  padding: 6px 18px 9px;
}

.sbe-customer-body .customer-bottom-nav::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: rgba(72, 95, 126, 0.42);
}

.sbe-customer-body .customer-bottom-nav button {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  justify-items: center;
  gap: 6px;
  min-height: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-align: center;
  padding: 0;
}

.sbe-customer-body .customer-bottom-nav button:focus {
  outline: none;
}

.sbe-customer-body .customer-bottom-nav button:focus-visible {
  outline: none;
}

.sbe-customer-body .customer-bottom-nav button[aria-pressed="true"] {
  background: transparent;
  color: #0a84ff;
  font-weight: 600;
  box-shadow: none;
}

.sbe-customer-body .customer-bottom-nav .portal-nav-icon {
  width: 28px;
  height: 28px;
}

.sbe-customer-body .customer-bottom-nav button[aria-pressed="true"] .portal-nav-icon {
  filter: drop-shadow(0 0 9px rgba(10, 132, 255, 0.38));
}

@media (max-width: 940px) {
  .sbe-customer-body .customer-signin,
  .sbe-customer-body .customer-app {
    padding: 0;
  }

  .sbe-customer-body .customer-shell,
  .sbe-customer-body .customer-shell:has(.customer-detail-card:not([hidden])) {
    display: block;
    width: 100%;
    min-height: 100dvh;
  }

  .sbe-customer-body .customer-phone-card,
  .sbe-customer-body .customer-main-card,
  .sbe-customer-body .customer-detail-card {
    width: auto;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .sbe-customer-body .customer-detail-card {
    position: fixed;
    inset: 0;
    z-index: 20;
  }

  /* Authentication forms grow when access instructions or errors are shown.
     Keep every field/action reachable without changing the app's fixed cards. */
  .sbe-customer-body .customer-auth-card {
    max-height: none;
  }
}

/* Driver response notifications and slide-confirm portal actions */
.admin-dashboard-command-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-dashboard-notification-button {
  display: inline-grid;
  grid-template-columns: 18px auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 11px;
}

.admin-dashboard-notification-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.admin-dashboard-notification-button[aria-expanded="true"] {
  background: #fff;
  color: #b8424d;
}

.admin-dashboard-notification-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #b8424d;
  color: #fff;
  font-size: 0.74rem;
  line-height: 1;
}

.admin-driver-notification-panel {
  border: 1px solid #d9e4f2;
  border-left: 5px solid #1d4d8f;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 25, 45, 0.1);
  padding: 16px;
}

.admin-driver-notification-list {
  display: grid;
  gap: 8px;
}

.admin-driver-notification-row {
  display: grid;
  grid-template-columns: 92px minmax(130px, 1fr) minmax(120px, 0.9fr) minmax(120px, 0.85fr) minmax(160px, 1.4fr) minmax(120px, 0.9fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #e0e8f3;
  border-radius: 8px;
  background: #f8fbff;
  color: #172033;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 12px;
  text-align: left;
}

.admin-driver-notification-row strong {
  color: #b8424d;
  font-weight: 800;
}

.admin-driver-notification-row small {
  color: #61708a;
  font-size: 0.72rem;
  font-weight: 600;
}

.admin-driver-notification-status {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 8px;
  text-transform: uppercase;
}

.admin-driver-notification-accepted {
  background: #e9f8f0;
  color: #20734a;
}

.admin-driver-notification-rejected {
  background: #fff0f1;
  color: #b8424d;
}

.admin-driver-notification-due {
  background: #fff7ed;
  color: #a84f12;
}

.admin-driver-notification-urgent,
.admin-driver-notification-expired {
  background: #fff0f1;
  color: #b8424d;
}

.sbe-driver-body .driver-slide-action {
  --slide-progress: 0;
  --slide-offset: 0px;
  --slide-fill-width: 0%;
  --slide-bg: rgba(8, 18, 31, 0.92);
  --slide-border: rgba(83, 113, 154, 0.52);
  --slide-fill-start: rgba(88, 108, 136, 0.38);
  --slide-fill-end: rgba(112, 132, 160, 0.46);
  --slide-thumb-color: #8fa6c7;
  --slide-label-color: rgba(236, 244, 255, 0.86);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.sbe-driver-body .driver-slide-accept {
  --slide-bg: rgba(28, 63, 48, 0.44);
  --slide-border: rgba(93, 132, 111, 0.48);
  --slide-fill-start: rgba(62, 111, 82, 0.42);
  --slide-fill-end: rgba(83, 132, 96, 0.54);
  --slide-thumb-color: #6f9d78;
}

.sbe-driver-body .driver-slide-details {
  --slide-bg: rgba(30, 55, 82, 0.44);
  --slide-border: rgba(91, 124, 158, 0.5);
  --slide-fill-start: rgba(57, 91, 127, 0.42);
  --slide-fill-end: rgba(77, 111, 148, 0.54);
  --slide-thumb-color: #7698bd;
}

.sbe-driver-body .driver-slide-on-route {
  --slide-bg: rgba(74, 57, 32, 0.44);
  --slide-border: rgba(142, 116, 76, 0.46);
  --slide-fill-start: rgba(128, 94, 47, 0.4);
  --slide-fill-end: rgba(152, 119, 70, 0.52);
  --slide-thumb-color: #b39563;
}

.sbe-driver-body .driver-slide-arrived {
  --slide-bg: rgba(48, 48, 82, 0.44);
  --slide-border: rgba(107, 110, 157, 0.46);
  --slide-fill-start: rgba(83, 83, 130, 0.4);
  --slide-fill-end: rgba(105, 105, 151, 0.52);
  --slide-thumb-color: #898bb8;
}

.sbe-driver-body .driver-slide-passenger {
  --slide-bg: rgba(28, 64, 68, 0.44);
  --slide-border: rgba(82, 130, 135, 0.46);
  --slide-fill-start: rgba(55, 110, 116, 0.4);
  --slide-fill-end: rgba(76, 132, 136, 0.52);
  --slide-thumb-color: #72a4a8;
}

.sbe-driver-body .driver-slide-completed {
  --slide-bg: rgba(34, 67, 44, 0.44);
  --slide-border: rgba(93, 137, 103, 0.46);
  --slide-fill-start: rgba(60, 116, 72, 0.4);
  --slide-fill-end: rgba(82, 137, 88, 0.52);
  --slide-thumb-color: #79a875;
}

.sbe-driver-body .driver-slide-danger {
  --slide-bg: rgba(78, 38, 44, 0.44);
  --slide-border: rgba(143, 82, 89, 0.46);
  --slide-fill-start: rgba(130, 62, 72, 0.4);
  --slide-fill-end: rgba(156, 84, 92, 0.52);
  --slide-thumb-color: #b77a80;
}

.sbe-driver-body .driver-slide-action[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.sbe-driver-body .driver-slide-action.is-dragging {
  cursor: grabbing;
}

.sbe-driver-body .driver-slide-track {
  position: relative;
  display: block;
  min-height: 60px;
  overflow: hidden;
  border: 1px solid var(--slide-border);
  border-radius: 999px;
  background: var(--slide-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.sbe-driver-body .driver-slide-fill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: var(--slide-fill-width);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--slide-fill-start), var(--slide-fill-end));
  opacity: 1;
}

.sbe-driver-body .driver-slide-danger .driver-slide-fill {
  right: 4px;
  left: auto;
  background: linear-gradient(270deg, var(--slide-fill-start), var(--slide-fill-end));
}

.sbe-driver-body .driver-slide-label {
  position: absolute;
  inset: 0 66px;
  display: grid;
  place-items: center;
  color: var(--slide-label-color);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  pointer-events: none;
  text-align: center;
}

.sbe-driver-body .driver-slide-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  color: var(--slide-thumb-color);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  transform: translateX(var(--slide-offset));
  transition: transform 160ms ease;
  pointer-events: none;
}

.sbe-driver-body .driver-slide-action.is-dragging .driver-slide-thumb,
.sbe-driver-body .driver-slide-action.is-dragging .driver-slide-fill {
  transition: none;
}

.sbe-driver-body .driver-slide-danger .driver-slide-thumb {
  right: 4px;
  left: auto;
  transform: translateX(calc(var(--slide-offset) * -1));
}

.sbe-driver-body .driver-slide-thumb svg {
  width: 22px;
  height: 22px;
}

.sbe-driver-body .driver-completion-form {
  display: grid;
  gap: 12px;
}

.sbe-driver-body .driver-completion-form textarea {
  min-height: 74px;
  border-color: rgba(87, 109, 137, 0.5);
  border-radius: 11px;
  background: rgba(4, 10, 18, 0.72);
  font-size: 13px;
  line-height: 18px;
  padding: 10px 12px;
}

@media (max-width: 980px) {
  .admin-dashboard-command-centre,
  .admin-dashboard-command-actions {
    align-items: stretch;
  }

  .admin-dashboard-command-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-driver-notification-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sbe-admin-body .admin-users-status-grid,
  .sbe-admin-body .admin-users-compact-grid,
  .sbe-admin-body .admin-users-text-grid,
  .sbe-admin-body .admin-users-check-grid,
  .sbe-admin-body .admin-users-card .settings-check-grid {
    grid-template-columns: 1fr;
  }

  .sbe-admin-body .admin-users-workspace h2,
  .sbe-admin-body .admin-users-workspace h3 {
    overflow-wrap: anywhere;
  }

  .sbe-admin-body .admin-users-workspace .admin-help-tip [role="tooltip"] {
    display: none;
  }

  .sbe-admin-body .admin-users-workspace .admin-help-tip:hover [role="tooltip"],
  .sbe-admin-body .admin-users-workspace .admin-help-tip:focus [role="tooltip"],
  .sbe-admin-body .admin-users-workspace .admin-help-tip:focus-within [role="tooltip"] {
    display: block;
  }
}

/* Admin wired topbar polish. */
.sbe-admin-body .admin-panel.admin-sidebar-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.sbe-admin-body .admin-panel.admin-sidebar-collapsed .admin-sidebar {
  display: none;
}

.sbe-admin-body .admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(300px, 460px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  overflow: visible;
  min-height: 76px;
  padding: 0 22px;
}

.sbe-admin-body .admin-menu-button {
  width: 40px;
  height: 40px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #ffffff;
}

.sbe-admin-body .admin-menu-button:hover,
.sbe-admin-body .admin-menu-button:focus-visible,
.sbe-admin-body .admin-notification-button:hover,
.sbe-admin-body .admin-notification-button:focus-visible,
.sbe-admin-body .admin-help-button:hover,
.sbe-admin-body .admin-help-button:focus-visible {
  background: #f4f7fb;
  outline: 0;
}

.sbe-admin-body .admin-global-search {
  grid-column: 3;
  justify-self: stretch;
  width: 100%;
  max-width: 460px;
}

.sbe-admin-body .admin-search-results {
  position: absolute;
  top: 62px;
  left: 50%;
  z-index: 30;
  display: grid;
  width: min(460px, calc(100% - 48px));
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  transform: translateX(-50%);
}

.sbe-admin-body .admin-search-results[hidden] {
  display: none !important;
}

.sbe-admin-body .admin-search-results button {
  display: grid;
  gap: 3px;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: #ffffff;
  color: #182235;
  cursor: pointer;
  font: inherit;
  padding: 11px 14px;
  text-align: left;
}

.sbe-admin-body .admin-search-results button:last-child {
  border-bottom: 0;
}

.sbe-admin-body .admin-search-results button:hover,
.sbe-admin-body .admin-search-results button:focus-visible {
  background: #f6f9fd;
  outline: 0;
}

.sbe-admin-body .admin-search-results strong {
  font-size: 0.86rem;
  font-weight: 800;
}

.sbe-admin-body .admin-search-results small,
.sbe-admin-body .admin-search-empty {
  color: #65758f;
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body .admin-search-empty {
  margin: 0;
  padding: 13px 14px;
}

.sbe-admin-body .admin-top-actions {
  position: relative;
  grid-column: 5;
  gap: 10px;
}

.sbe-admin-body .admin-notification-button,
.sbe-admin-body .admin-help-button {
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.sbe-admin-body .admin-notification-button span[hidden] {
  display: none !important;
}

.sbe-admin-body .admin-notification-button span {
  top: -5px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 4px;
}

.sbe-admin-body .admin-profile-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 3px 6px;
}

.sbe-admin-body .admin-profile-button:hover,
.sbe-admin-body .admin-profile-button:focus-visible {
  border-color: #dce5f0;
  background: #f8fafc;
  outline: 0;
}

.sbe-admin-body .admin-account-menu {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  z-index: 35;
  display: grid;
  gap: 6px;
  min-width: 224px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 12px;
}

.sbe-admin-body .admin-account-menu[hidden] {
  display: none !important;
}

.sbe-admin-body .admin-account-menu > strong {
  color: #101828;
  font-size: 0.88rem;
  font-weight: 800;
}

.sbe-admin-body .admin-account-menu > small {
  color: #667897;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sbe-admin-body .admin-account-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #24324a;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 10px;
  text-align: left;
}

.sbe-admin-body .admin-account-menu button::after {
  content: "Open";
  color: #176b4a;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sbe-admin-body .admin-account-menu #signout-button {
  color: #9b1c31;
}

.sbe-admin-body .admin-account-menu #signout-button::after {
  content: "Exit";
  color: #9b1c31;
}

.sbe-admin-body .admin-account-menu button:hover,
.sbe-admin-body .admin-account-menu button:focus-visible {
  border-color: #bfe7cf;
  background: #f6fbf8;
  outline: 0;
}

.sbe-admin-body .admin-topbar-popover {
  position: absolute;
  top: 62px;
  right: 22px;
  z-index: 34;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100% - 44px));
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 13px;
}

.sbe-admin-body .admin-topbar-popover[hidden] {
  display: none !important;
}

.sbe-admin-body .admin-topbar-popover-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 10px;
}

.sbe-admin-body .admin-topbar-popover-heading strong {
  display: block;
  color: #101828;
  font-size: 0.95rem;
  font-weight: 800;
}

.sbe-admin-body .admin-topbar-popover-heading small {
  color: #667897;
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body .admin-topbar-popover-heading b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ad4653;
  color: #ffffff;
  font-size: 0.8rem;
}

.sbe-admin-body .admin-topbar-notification-list {
  display: grid;
  gap: 7px;
  max-height: 360px;
  overflow: auto;
}

.sbe-admin-body .admin-topbar-notification-section {
  color: #667897;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sbe-admin-body .admin-topbar-notification-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  border: 1px solid #edf1f6;
  border-radius: 7px;
  background: #fbfdff;
  color: #24324a;
  cursor: pointer;
  font: inherit;
  padding: 9px;
  text-align: left;
}

.sbe-admin-body .admin-topbar-notification-row:hover,
.sbe-admin-body .admin-topbar-notification-row:focus-visible {
  border-color: #d7e2ee;
  background: #f6f9fd;
  outline: 0;
}

.sbe-admin-body .admin-topbar-notification-row .admin-driver-notification-status {
  grid-row: span 3;
  align-self: start;
}

.sbe-admin-body .admin-topbar-notification-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 800;
}

.sbe-admin-body .admin-topbar-notification-row small,
.sbe-admin-body .admin-topbar-notification-row em {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #667897;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.sbe-admin-body .admin-topbar-popover-action {
  justify-self: start;
}

.sbe-admin-body .admin-topbar-popover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1100px) {
  .sbe-admin-body .admin-toolbar {
    grid-template-columns: 42px minmax(220px, 1fr) auto;
  }

  .sbe-admin-body .admin-global-search {
    grid-column: 2;
    justify-self: stretch;
    max-width: none;
  }

  .sbe-admin-body .admin-top-actions {
    grid-column: 3;
  }
}

@media (max-width: 860px) {
  .sbe-admin-body .admin-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-admin-body .admin-panel:not(.admin-sidebar-open) .admin-sidebar {
    display: none;
  }

  .sbe-admin-body .admin-panel.admin-sidebar-open .admin-sidebar {
    display: flex;
  }
}

@media (max-width: 720px) {
  .sbe-admin-body .admin-toolbar {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: auto;
    padding: 10px 12px;
  }

  .sbe-admin-body .admin-global-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .sbe-admin-body .admin-global-search kbd,
  .sbe-admin-body .admin-profile-copy,
  .sbe-admin-body .admin-profile-button > svg {
    display: none !important;
  }

  .sbe-admin-body .admin-top-actions {
    grid-column: 3;
    gap: 6px;
  }

  .sbe-admin-body .admin-search-results {
    top: 104px;
    width: calc(100% - 24px);
  }

  .sbe-admin-body .admin-topbar-popover {
    top: 104px;
    right: 12px;
    width: calc(100% - 24px);
  }

  .sbe-admin-body .admin-account-menu {
    right: 0;
    min-width: min(224px, calc(100vw - 24px));
  }
}

/* Admin reports and audit polish. */
.sbe-admin-body .reports-audit-workspace.management-band {
  display: grid;
  gap: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.sbe-admin-body #reports-view .admin-ops-export-hero {
  border: 1px solid #d9eadf;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.97), rgba(255, 255, 255, 0.96) 50%, rgba(239, 246, 255, 0.9)),
    #ffffff;
  color: #102a1b;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
  padding: 20px 22px;
}

.sbe-admin-body #reports-view .admin-ops-export-hero span {
  color: #486655;
  font-size: 0.72rem;
  font-weight: 700;
}

.sbe-admin-body #reports-view .admin-ops-export-hero h2 {
  color: #102a1b;
  font-size: clamp(1.38rem, 1.55vw, 1.82rem);
}

.sbe-admin-body #reports-view .admin-ops-export-hero p {
  color: #526173;
  font-size: 0.9rem;
}

.sbe-admin-body #reports-view .admin-ops-export-hero .admin-help-tip {
  background: #effaf3;
  color: #15803d;
  font-weight: 600;
}

.sbe-admin-body #reports-view .admin-ops-export-actions .plain-action {
  border-color: #c9dfd0;
  background: #ffffff;
  color: #166534;
  box-shadow: none;
}

.sbe-admin-body #reports-view .admin-ops-export-actions .plain-action:hover,
.sbe-admin-body #reports-view .admin-ops-export-actions .plain-action:focus-visible {
  border-color: #9bd5ad;
  background: #ecfdf3;
  color: #14532d;
  outline: 0;
}

.sbe-admin-body [data-reports-panel][hidden] {
  display: none !important;
}

.sbe-admin-body .reports-audit-card,
.sbe-admin-body .reports-import-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--admin-line, #dde5ef);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.sbe-admin-body .report-helper-text {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
}

.sbe-admin-body .reports-focus-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sbe-admin-body .report-focus-card {
  min-height: 92px;
  border-color: #dce8e0;
  border-left-width: 1px;
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
}

.sbe-admin-body button.report-focus-card {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.sbe-admin-body .report-focus-card strong {
  color: #102a1b;
}

.sbe-admin-body .report-focus-card small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 400;
}

.sbe-admin-body .report-focus-card em {
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  padding: 3px 8px;
}

.sbe-admin-body .report-focus-card.is-actionable:hover,
.sbe-admin-body .report-focus-card.is-actionable:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.sbe-admin-body .admin-audit-command-card {
  appearance: none;
  color: #253149;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.sbe-admin-body #reports-view .admin-audit-command-card {
  min-height: 104px;
  border-color: #dce8e0;
  border-left-color: #22c55e;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.sbe-admin-body #reports-view .admin-audit-command-card strong {
  color: #102a1b;
  font-size: 0.94rem;
}

.sbe-admin-body #reports-view .admin-audit-command-card span {
  color: #64748b;
  font-size: 0.77rem;
  font-weight: 400;
  line-height: 1.5;
}

.sbe-admin-body .admin-audit-command-card:hover,
.sbe-admin-body .admin-audit-command-card:focus-visible,
.sbe-admin-body .admin-report-export-link:hover,
.sbe-admin-body .admin-report-export-link:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  outline: 0;
}

.sbe-admin-body .reports-audit-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sbe-admin-body .reports-audit-quick-row button {
  min-height: 34px;
  border: 1px solid #dce5f0;
  border-radius: 999px;
  background: #ffffff;
  color: #40516c;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
}

.sbe-admin-body .reports-audit-quick-row button[aria-pressed="true"] {
  border-color: #9bd5ad;
  background: #effaf3;
  color: #15803d;
}

.sbe-admin-body .reports-audit-quick-row button:hover,
.sbe-admin-body .reports-audit-quick-row button:focus-visible {
  border-color: #9fb6d3;
  outline: 0;
}

.sbe-admin-body .audit-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(170px, 0.85fr) minmax(112px, 0.5fr) auto auto;
  align-items: end;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.sbe-admin-body .reports-audit-advanced {
  grid-column: 1 / -1;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  background: #ffffff;
  padding: 9px 10px;
}

.sbe-admin-body .reports-audit-advanced summary {
  color: #166534;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.sbe-admin-body .reports-audit-advanced[open] {
  display: grid;
  gap: 10px;
}

.sbe-admin-body .audit-filter-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #51627d;
  font-size: 0.76rem;
  font-weight: 800;
}

.sbe-admin-body .audit-filter-form input,
.sbe-admin-body .audit-filter-form select {
  min-height: 36px;
  border: 1px solid #d5dfec;
  border-radius: 6px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  font-size: 0.84rem;
  padding: 7px 9px;
}

.sbe-admin-body .audit-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sbe-admin-body .audit-filter-context-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sbe-admin-body .audit-filter-context-strip span {
  border: 1px solid #dce8e0;
  border-radius: 999px;
  background: #f8fffb;
  color: #486655;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
}

.sbe-admin-body .admin-audit-table .admin-table-row {
  grid-template-columns: minmax(240px, 1.35fr) minmax(150px, 0.75fr) minmax(110px, 0.6fr) minmax(260px, 1.45fr) minmax(118px, 0.55fr);
  min-width: 920px;
}

.sbe-admin-body .admin-audit-table .admin-table-button {
  text-align: left;
}

.sbe-admin-body .reports-audit-row {
  align-items: center;
}

.sbe-admin-body .reports-audit-row em {
  justify-self: end;
  width: fit-content;
  border: 1px solid #cfe7d8;
  border-radius: 999px;
  background: #effaf3;
  color: #15803d;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  padding: 4px 8px;
}

.sbe-admin-body .reports-audit-row:not(.is-clickable) em {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #64748b;
}

.sbe-admin-body .reports-audit-activity {
  display: grid;
  gap: 4px;
  overflow: visible;
  white-space: normal;
}

.sbe-admin-body .reports-audit-activity strong {
  color: #102a1b;
  font-size: 0.9rem;
  white-space: normal;
}

.sbe-admin-body .reports-audit-activity small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 400;
}

.sbe-admin-body .audit-change-text {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  color: #334155;
  font-size: 0.82rem;
}

.sbe-admin-body .reports-import-card .migration-form {
  display: grid;
  gap: 12px;
}

.sbe-admin-body .reports-import-card .migration-form textarea {
  min-height: 160px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
}

.sbe-admin-body .migration-preview-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sbe-admin-body .migration-safeguard-details {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .sbe-admin-body .reports-focus-grid,
  .sbe-admin-body .audit-status-grid,
  .sbe-admin-body .migration-preview-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-admin-body .audit-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sbe-admin-body .reports-audit-workspace,
  .sbe-admin-body .reports-audit-card,
  .sbe-admin-body .reports-import-card,
  .sbe-admin-body .reports-summary-output,
  .sbe-admin-body .audit-output,
  .sbe-admin-body .admin-audit-command-grid,
  .sbe-admin-body .audit-filter-form,
  .sbe-admin-body .admin-audit-table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .sbe-admin-body .admin-ops-export-hero,
  .sbe-admin-body .admin-ops-export-actions {
    align-items: stretch;
  }

  .sbe-admin-body .admin-ops-export-actions,
  .sbe-admin-body .reports-focus-grid,
  .sbe-admin-body .audit-status-grid,
  .sbe-admin-body .migration-preview-summary,
  .sbe-admin-body .admin-audit-command-grid,
  .sbe-admin-body .audit-filter-form {
    grid-template-columns: 1fr;
  }

  .sbe-admin-body .admin-audit-table .admin-table-head {
    display: none !important;
  }

  .sbe-admin-body .admin-audit-table .admin-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px;
    min-width: 0 !important;
  }

  .sbe-admin-body .admin-audit-table .admin-table-button > * {
    display: grid;
    gap: 2px;
  }

  .sbe-admin-body .admin-audit-table .admin-table-button > *::before {
    content: attr(data-label);
    color: #74849a;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
  }
}

/* Admin operations compact green polish final overrides. */
.sbe-admin-body .admin-dashboard-command-centre,
.sbe-admin-body .booking-history-hero,
.sbe-admin-body .admin-drivers-hero,
.sbe-admin-body .admin-customers-hero,
.sbe-admin-body .admin-vehicle-hero,
#dispatch-view .admin-dispatch-hero {
  border: 1px solid #d9eadf;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94) 48%, rgba(239, 246, 255, 0.88)),
    #ffffff;
  color: #102a1b;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
  padding: 20px 22px;
}

.sbe-admin-body .admin-dashboard-command-centre h2,
.sbe-admin-body .booking-history-hero h2,
.sbe-admin-body .admin-drivers-hero h2,
.sbe-admin-body .admin-customers-hero h2,
.sbe-admin-body .admin-vehicle-hero h2,
#dispatch-view .admin-dispatch-hero h2 {
  color: #102a1b;
  font-size: clamp(1.38rem, 1.55vw, 1.82rem);
}

.sbe-admin-body .admin-dashboard-command-centre p,
.sbe-admin-body .booking-history-hero p,
.sbe-admin-body .admin-drivers-hero p,
.sbe-admin-body .admin-customers-hero p,
.sbe-admin-body .admin-vehicle-hero p,
#dispatch-view .admin-dispatch-hero p {
  color: #526173;
  font-size: 0.9rem;
}

.sbe-admin-body .admin-dashboard-command-centre .admin-dashboard-eyebrow,
.sbe-admin-body .booking-history-hero .admin-dashboard-eyebrow,
.sbe-admin-body .admin-drivers-hero > div > span,
.sbe-admin-body .admin-customers-hero > div > span,
.sbe-admin-body .admin-vehicle-hero > div > span,
#dispatch-view .admin-dispatch-hero > div:first-child > span {
  color: #486655 !important;
}

.sbe-admin-body .admin-dashboard-command-centre .plain-action,
.sbe-admin-body .booking-history-hero .plain-action,
.sbe-admin-body .admin-drivers-hero .primary-action,
.sbe-admin-body .admin-customers-hero .primary-action,
.sbe-admin-body .admin-vehicle-hero .primary-action,
.sbe-admin-body .admin-customer-detail-hero .primary-action,
.sbe-admin-body .admin-driver-create-card .primary-action,
.sbe-admin-body .admin-customer-create-card .primary-action,
#dispatch-view .admin-dispatch-board .primary-action {
  border-color: #14934f;
  background: #15803d;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16);
}

.sbe-admin-body .admin-help-tip,
.sbe-admin-body .admin-dashboard-command-centre .admin-help-tip,
.sbe-admin-body .booking-history-hero .admin-help-tip,
.sbe-admin-body .admin-drivers-hero .admin-help-tip,
.sbe-admin-body .admin-customers-hero .admin-help-tip,
.sbe-admin-body .admin-vehicle-hero .admin-help-tip,
#dispatch-view .admin-dispatch-hero .admin-help-tip {
  background: #effaf3;
  color: #15803d;
  font-weight: 600;
}

.sbe-admin-body .admin-help-tip [role="tooltip"] {
  width: min(340px, 78vw);
  border-color: #cfe7d8;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.65;
  padding: 10px 11px;
}

.sbe-admin-body .admin-dashboard-stat-strip,
.sbe-admin-body .booking-history-summary-grid,
.sbe-admin-body .admin-driver-status-grid,
.sbe-admin-body .admin-customer-status-grid,
.sbe-admin-body .admin-vehicle-status-grid,
#dispatch-view .admin-dispatch-hero-stats,
#dispatch-view .admin-dispatch-status-grid {
  gap: 9px;
}

.sbe-admin-body .admin-dashboard-stat-card,
.sbe-admin-body .booking-history-metric,
.sbe-admin-body .admin-driver-status-card,
.sbe-admin-body .admin-customer-status-card,
.sbe-admin-body .admin-vehicle-status-card,
#dispatch-view .admin-dispatch-hero-stat,
#dispatch-view .admin-dispatch-status-card {
  appearance: none;
  min-height: 74px;
  border-color: #dce8e0;
  border-left-width: 1px;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 10px 11px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sbe-admin-body .booking-history-metric:hover,
.sbe-admin-body .booking-history-metric:focus-visible,
.sbe-admin-body .admin-dashboard-stat-card:hover,
.sbe-admin-body .admin-dashboard-stat-card:focus-visible,
.sbe-admin-body .admin-driver-status-card:hover,
.sbe-admin-body .admin-driver-status-card:focus-visible,
.sbe-admin-body .admin-customer-status-card:hover,
.sbe-admin-body .admin-customer-status-card:focus-visible,
.sbe-admin-body .admin-vehicle-status-card:hover,
.sbe-admin-body .admin-vehicle-status-card:focus-visible,
#dispatch-view .admin-dispatch-hero-stat:hover,
#dispatch-view .admin-dispatch-hero-stat:focus-visible,
#dispatch-view .admin-dispatch-status-card:hover,
#dispatch-view .admin-dispatch-status-card:focus-visible {
  border-color: #9bd5ad;
  background: #f0fdf4;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.sbe-admin-body .booking-history-metric.is-active,
.sbe-admin-body .admin-driver-status-card.is-active,
.sbe-admin-body .admin-customer-status-card.is-active,
.sbe-admin-body .admin-vehicle-status-card.is-active,
#dispatch-view .admin-dispatch-status-card[aria-pressed="true"] {
  border-color: #9bd5ad;
  background: #ecfdf3;
  box-shadow: 0 12px 24px rgba(18, 108, 60, 0.11), 0 0 0 3px rgba(21, 128, 61, 0.08);
}

.sbe-admin-body .admin-dashboard-stat-card strong,
.sbe-admin-body .booking-history-metric strong,
.sbe-admin-body .admin-driver-status-card strong,
.sbe-admin-body .admin-customer-status-card strong,
.sbe-admin-body .admin-vehicle-status-card strong,
#dispatch-view .admin-dispatch-hero-stat strong,
#dispatch-view .admin-dispatch-status-card strong {
  color: #102a1b;
  font-size: 1.28rem;
}

.sbe-admin-body .admin-dashboard-stat-card span,
.sbe-admin-body .booking-history-metric span,
.sbe-admin-body .admin-driver-status-card span,
.sbe-admin-body .admin-customer-status-card span,
.sbe-admin-body .admin-vehicle-status-card span,
#dispatch-view .admin-dispatch-hero-stat span,
#dispatch-view .admin-dispatch-status-card span {
  color: #5e6d63;
  font-size: 0.69rem;
  font-weight: 700;
}

.sbe-admin-body .admin-dashboard-stat-card small,
.sbe-admin-body .booking-history-metric small,
.sbe-admin-body .admin-driver-status-card small,
.sbe-admin-body .admin-customer-status-card small,
.sbe-admin-body .admin-vehicle-status-card small,
#dispatch-view .admin-dispatch-status-card small {
  color: #526173;
  font-size: 0.71rem;
}

.sbe-admin-body .booking-history-filter-form,
.sbe-admin-body .admin-driver-search-form,
.sbe-admin-body .admin-customer-help,
.sbe-admin-body .admin-customer-page-info,
.sbe-admin-body .admin-vehicle-guidance,
#dispatch-view .admin-dispatch-search-card {
  padding: 12px;
}

.sbe-admin-body .booking-history-filter-form label,
.sbe-admin-body .admin-driver-search-form label,
.sbe-admin-body .admin-customer-form-grid label,
.sbe-admin-body .admin-driver-form-row,
.sbe-admin-body .admin-vehicle-form-section label,
#dispatch-view .admin-dispatch-board .admin-dispatch-filter-bar label {
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}

.sbe-admin-body .booking-history-filter-form input,
.sbe-admin-body .booking-history-filter-form select,
.sbe-admin-body .admin-driver-search-form input,
.sbe-admin-body .admin-customer-form-grid input,
.sbe-admin-body .admin-customer-form-grid select,
.sbe-admin-body .admin-customer-form-grid textarea,
.sbe-admin-body .admin-driver-form-control input,
.sbe-admin-body .admin-driver-form-control select,
.sbe-admin-body .admin-driver-form-control textarea,
.sbe-admin-body .admin-vehicle-form-section input,
.sbe-admin-body .admin-vehicle-form-section select,
.sbe-admin-body .admin-vehicle-form-section textarea,
#dispatch-view .admin-dispatch-board input,
#dispatch-view .admin-dispatch-board select,
#dispatch-view .admin-dispatch-board textarea {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.sbe-admin-body .admin-customer-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.sbe-admin-body .admin-vehicle-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

/* Admin Fares Deep Audit final EOF lock. */
.sbe-admin-body #pricing-view .pricing-page-heading,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading {
  border: 1px solid #d9eadf !important;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94) 48%, rgba(239, 246, 255, 0.88)),
    #ffffff !important;
  color: #102a1b !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
}

.sbe-admin-body #pricing-view .pricing-page-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading h2,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading h2 {
  color: #102a1b !important;
  font-size: clamp(1.34rem, 1.5vw, 1.72rem) !important;
  line-height: 1.18;
}

.sbe-admin-body #pricing-view .pricing-page-heading p,
.sbe-admin-body #settings-view.settings-view-fares .fare-rules-heading p,
.sbe-admin-body #settings-view.settings-view-fares .fixed-prices-heading p,
.sbe-admin-body #settings-view.settings-view-fares .optional-extras-heading p,
.sbe-admin-body #settings-view.settings-view-fares .discounts-heading p {
  color: #526173 !important;
  font-size: 0.88rem !important;
}

.sbe-admin-body #pricing-view .admin-help-tip[data-admin-tooltip],
.sbe-admin-body #settings-view.settings-view-fares .admin-help-tip[data-admin-tooltip] {
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  border-color: #b7e5c8 !important;
  background: #effaf3 !important;
  color: #15803d !important;
  font-size: 0.64rem !important;
  font-weight: 500 !important;
}

.sbe-admin-body #pricing-view .admin-help-tip[data-admin-tooltip]::after,
.sbe-admin-body #settings-view.settings-view-fares .admin-help-tip[data-admin-tooltip]::after {
  border-color: #cfe7d8 !important;
  color: #334155 !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

.sbe-admin-body #pricing-view .primary-action,
.sbe-admin-body #pricing-view .pricing-new-button,
.sbe-admin-body #pricing-view .pricing-inline-control .plain-action,
.sbe-admin-body #settings-view.settings-view-fares .primary-action:not(.admin-action-tab-danger) {
  border-color: #14934f !important;
  background: #15803d !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.16) !important;
}

.sbe-admin-body #settings-view.settings-view-fares .outline-action:not(.danger-action),
.sbe-admin-body #settings-view.settings-view-fares .plain-action:not(.admin-action-tab-danger):not(.danger-lite),
.sbe-admin-body #pricing-view .plain-action:not(.admin-action-tab-danger):not(.danger-lite) {
  border-color: #cfe7d8 !important;
  background: #ffffff !important;
  color: #15803d !important;
}

.sbe-admin-body #settings-view.settings-view-fares .danger-action,
.sbe-admin-body #settings-view.settings-view-fares .danger-lite {
  border-color: #f2ccd2 !important;
  background: #fff7f8 !important;
  color: #a43f4b !important;
  box-shadow: none !important;
}

.sbe-admin-body #pricing-view table th,
.sbe-admin-body #settings-view.settings-view-fares table th {
  background: #f2fbf5 !important;
  color: #294235 !important;
}

.sbe-admin-body #pricing-view table td,
.sbe-admin-body #settings-view.settings-view-fares table td {
  border-color: #e3eee7 !important;
}

.sbe-admin-body .fare-delete-modal .admin-action-tab-danger {
  border-color: #b8424d !important;
  background: #b8424d !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(184, 66, 77, 0.16) !important;
}

/* Final Admin Dashboard true-end overrides. */
.sbe-admin-body .admin-dashboard-command-centre {
  border-color: #dcdcde !important;
  background: linear-gradient(135deg, #ffffff 0%, #f6f7f7 68%, #f1f8f3 100%) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.045) !important;
  color: #1d2327 !important;
}

.sbe-admin-body .admin-dashboard-command-centre h2,
.sbe-admin-body .admin-dashboard-stat-card strong,
.sbe-admin-body .admin-readiness-card h3,
.sbe-admin-body .admin-dashboard-guidance-card h3,
.sbe-admin-body .admin-dashboard-quick-card h4,
.sbe-admin-body .admin-dashboard-quick-heading h2 {
  color: #1d2327 !important;
  font-weight: 700 !important;
}

.sbe-admin-body .admin-dashboard-command-centre p,
.sbe-admin-body .admin-dashboard-stat-card span,
.sbe-admin-body .admin-dashboard-stat-card small,
.sbe-admin-body .admin-readiness-card p,
.sbe-admin-body .admin-dashboard-guidance-card p,
.sbe-admin-body .admin-dashboard-quick-card p,
.sbe-admin-body .admin-dashboard-quick-heading p {
  color: #50575e !important;
}

.sbe-admin-body .admin-dashboard-stat-card {
  border-color: #dcdcde !important;
  border-left: 3px solid var(--dash-card-accent, #c3c4c7) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035) !important;
}

.sbe-admin-body .admin-dashboard-readiness,
.sbe-admin-body .admin-dashboard-quick-access,
.sbe-admin-body .admin-readiness-card,
.sbe-admin-body .admin-dashboard-guidance-card,
.sbe-admin-body .admin-dashboard-quick-card {
  border-color: #dcdcde !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035) !important;
}

.sbe-admin-body .admin-dashboard-stat-card:hover,
.sbe-admin-body .admin-dashboard-stat-card:focus-visible,
.sbe-admin-body .admin-dashboard-guidance-card.is-actionable:hover,
.sbe-admin-body .admin-dashboard-guidance-card.is-actionable:focus-visible,
.sbe-admin-body .admin-dashboard-quick-card:hover,
.sbe-admin-body .admin-dashboard-quick-card:focus-visible,
.sbe-admin-body .admin-readiness-card:hover,
.sbe-admin-body .admin-readiness-card:focus-visible {
  border-color: #94c9a3 !important;
  background: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.065) !important;
}

/* Admin Sidebar Option 2 executive dark rail. */
.sbe-admin-body #admin-panel.admin-panel {
  grid-template-columns: 304px minmax(0, 1fr);
  background: #f5f7fa;
}

.sbe-admin-body .admin-sidebar {
  border-right: 1px solid #1d2c3f !important;
  background:
    linear-gradient(180deg, rgba(20, 34, 52, 0.98), rgba(12, 22, 35, 0.99)),
    #101b2b !important;
  color: #dce7f3 !important;
  box-shadow: 18px 0 34px rgba(15, 23, 42, 0.12);
}

.sbe-admin-body .admin-sidebar-brand {
  min-height: 80px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding: 16px 18px !important;
}

.sbe-admin-body .admin-brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(43, 214, 126, 0.48);
  background: rgba(34, 197, 94, 0.1);
  color: #2bd67e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.06);
}

.sbe-admin-body .admin-brand-icon,
.sbe-admin-body .admin-sidebar .admin-nav-icon,
.sbe-admin-body .admin-sidebar .admin-nav-chevron,
.sbe-admin-body .admin-sidebar .admin-nav-dot {
  color: currentColor;
  stroke: currentColor;
}

.sbe-admin-body .admin-sidebar-brand strong {
  color: #f8fafc !important;
  font-size: 0.97rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.sbe-admin-body .admin-sidebar-brand small {
  color: #9fb1c6 !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
}

.sbe-admin-body .admin-tabs.admin-menu-reference {
  gap: 2px !important;
  padding: 10px 12px 14px !important;
  scrollbar-color: rgba(43, 214, 126, 0.38) transparent;
}

.sbe-admin-body .admin-menu-reference > button,
.sbe-admin-body .admin-menu-reference .admin-nav-group > button {
  position: relative;
  min-height: 38px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #c9d5e5 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  gap: 11px !important;
  padding: 0 10px !important;
}

.sbe-admin-body .admin-menu-reference .admin-nav-parent {
  grid-template-columns: 20px minmax(0, 1fr) 14px !important;
}

.sbe-admin-body .admin-menu-reference > button::before,
.sbe-admin-body .admin-menu-reference .admin-nav-group > button::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: transparent;
}

.sbe-admin-body .admin-menu-reference > button:hover,
.sbe-admin-body .admin-menu-reference .admin-nav-group > button:hover,
.sbe-admin-body .admin-menu-reference > button:focus-visible,
.sbe-admin-body .admin-menu-reference .admin-nav-group > button:focus-visible {
  border-color: rgba(148, 163, 184, 0.16) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: #f8fafc !important;
  outline: 0 !important;
}

.sbe-admin-body .admin-tabs.admin-menu-reference > button[aria-pressed="true"],
.sbe-admin-body .admin-tabs.admin-menu-reference .admin-nav-group > button[aria-pressed="true"] {
  border-color: rgba(43, 214, 126, 0.16) !important;
  background: rgba(255, 255, 255, 0.085) !important;
  color: #2bd67e !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.sbe-admin-body .admin-tabs.admin-menu-reference > button[aria-pressed="true"]::before,
.sbe-admin-body .admin-tabs.admin-menu-reference .admin-nav-group > button[aria-pressed="true"]::before {
  background: #2bd67e;
  box-shadow: 0 0 16px rgba(43, 214, 126, 0.4);
}

.sbe-admin-body .admin-sidebar .admin-nav-icon {
  width: 19px !important;
  height: 19px !important;
  color: #b9c7d8 !important;
}

.sbe-admin-body .admin-sidebar .admin-nav-chevron {
  width: 14px !important;
  height: 14px !important;
  color: #b9c7d8 !important;
  opacity: 0.92;
}

.sbe-admin-body .admin-tabs.admin-menu-reference button[aria-pressed="true"] .admin-nav-icon,
.sbe-admin-body .admin-tabs.admin-menu-reference button[aria-pressed="true"] .admin-nav-chevron,
.sbe-admin-body .admin-tabs.admin-menu-reference button[aria-pressed="true"] .admin-nav-dot {
  color: #2bd67e !important;
}

.sbe-admin-body .admin-menu-reference .admin-nav-section {
  border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
  color: #2bd67e !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.035em !important;
  margin: 10px 0 4px !important;
  padding: 13px 10px 5px !important;
  text-transform: uppercase;
}

.sbe-admin-body .admin-menu-reference .admin-nav-section:first-of-type {
  border-top: 0 !important;
  margin-top: 6px !important;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid {
  gap: 2px !important;
  margin: 1px 0 9px 32px !important;
  padding: 3px 0 5px 9px;
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button {
  min-height: 27px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #9fb1c6 !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  gap: 7px !important;
  padding: 0 8px !important;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button:hover,
.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button:focus-visible {
  border-color: rgba(148, 163, 184, 0.14) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #e2e8f0 !important;
  outline: 0 !important;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid button[aria-pressed="true"] {
  border-color: rgba(43, 214, 126, 0.16) !important;
  background: rgba(43, 214, 126, 0.1) !important;
  color: #6ee7a5 !important;
}

.sbe-admin-body .admin-menu-reference .admin-subnav.admin-subnav-grid .admin-nav-dot {
  width: 12px !important;
  height: 12px !important;
  color: #8ea0b6 !important;
}

.sbe-admin-body .admin-subitem-mark {
  color: #8ea0b6 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

.sbe-admin-body .admin-sidebar-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: rgba(8, 14, 24, 0.22);
  padding: 14px 16px 16px !important;
}

.sbe-admin-body .admin-sidebar-footer .admin-avatar {
  border: 1px solid #2bd67e;
  background: rgba(43, 214, 126, 0.12);
  color: #2bd67e;
  box-shadow: 0 0 0 4px rgba(43, 214, 126, 0.06);
}

.sbe-admin-body .admin-sidebar-user strong {
  color: #f8fafc !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.sbe-admin-body .admin-sidebar-user small {
  color: #91a3bb !important;
  font-size: 0.67rem !important;
  font-weight: 500 !important;
}

.sbe-admin-body .admin-sidebar-user .admin-sidebar-build {
  color: #7f8ea3 !important;
  font-size: 0.5rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.sbe-admin-body .admin-sidebar-user .admin-sidebar-powered {
  color: #8b98aa !important;
  font-size: 0.52rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.sbe-admin-body .admin-sidebar-footer button {
  color: #91a3bb !important;
  font-size: 0.57rem !important;
  font-weight: 600 !important;
}

.sbe-admin-body .admin-sidebar-footer button:hover,
.sbe-admin-body .admin-sidebar-footer button:focus-visible {
  color: #6ee7a5 !important;
  outline: 0;
}

@media (max-width: 1200px) {
  .sbe-admin-body #admin-panel.admin-panel {
    grid-template-columns: 292px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .sbe-admin-body #admin-panel.admin-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbe-admin-body .admin-sidebar {
    max-height: calc(100vh - 72px);
    overflow: auto;
  }
}

/* Final approved Step 2 payment method polish. */
.sbe-passenger-hidden-airport-field {
  display: none !important;
}

.sbe-meet-greet-option [data-sbe-field-help="meet_and_greet"] {
  grid-column: 2;
  margin-top: -7px;
  color: #65748b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-payment-section {
  gap: 12px;
  border-color: #dfe7f2;
  background: var(--sbe-booking-step-two-panel-colour);
  padding: 14px;
}

.sbe-payment-executive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(164px, 210px);
  gap: 18px;
  align-items: center;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: var(--sbe-booking-step-two-card-colour);
  box-shadow: 0 10px 28px rgba(16, 33, 59, 0.05);
  padding: 20px 24px;
}

.sbe-payment-heading-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.sbe-payment-heading-copy .sbe-payment-kicker {
  display: none;
}

.sbe-payment-heading-copy h3 {
  margin: 0;
  color: #101827;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.16;
}

.sbe-payment-heading-copy > p:not(.sbe-payment-kicker) {
  margin: 0;
  color: #536178;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.sbe-payment-secure-line,
.sbe-payment-total-card small,
.sbe-payment-safe-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sbe-payment-secure-line {
  width: fit-content;
  color: #60708a;
  font-size: 13px;
  font-weight: 500;
}

.sbe-payment-secure-line svg,
.sbe-payment-total-card small svg,
.sbe-payment-safe-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sbe-payment-total-card {
  display: grid;
  gap: 6px;
  min-height: 78px;
  align-content: center;
  border-left: 1px solid #dfe7f2;
  padding-left: 24px;
}

.sbe-payment-total-card span {
  color: #60708a;
  font-size: 13px;
  font-weight: 600;
}

.sbe-payment-total-card strong {
  color: var(--sbe-booking-step-two-price-colour);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.sbe-payment-total-card small {
  color: #15935f;
  font-size: 12px;
  font-weight: 600;
}

.sbe-payment-executive-list {
  display: grid;
  grid-template-columns: 1fr;
  flex-wrap: initial;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: var(--sbe-booking-step-two-card-colour);
  box-shadow: 0 12px 32px rgba(16, 33, 59, 0.05);
}

.sbe-payment-executive-list .sbe-payment-method-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(180px, 1fr) minmax(132px, 196px) minmax(108px, 146px) 28px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  border: 0;
  border-bottom: 1px solid #dfe7f2;
  border-radius: 0;
  background: var(--sbe-booking-step-two-card-colour);
  box-shadow: none;
  color: var(--sbe-navy);
  cursor: pointer;
  font: inherit;
  padding: 12px 18px;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.sbe-payment-executive-list .sbe-payment-method-row:last-child {
  border-bottom: 0;
}

.sbe-payment-grid.sbe-payment-executive-list label.sbe-payment-method-row:has(input:checked) {
  z-index: 1;
  border: 0;
  border-radius: 10px;
  background: var(--sbe-booking-step-two-selected-background-colour);
  box-shadow:
    inset 0 0 0 1px var(--sbe-booking-step-two-selected-colour),
    0 10px 26px rgba(16, 33, 59, 0.07);
  margin: 0;
}

.sbe-payment-executive-list .sbe-payment-method-row input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  opacity: 0;
  cursor: pointer;
}

.sbe-payment-executive-list .sbe-payment-logo-tile {
  display: grid;
  place-items: center;
  width: 84px;
  height: 44px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 33, 59, 0.06);
}

.sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img {
  display: block;
  width: 70px;
  height: 28px;
  max-width: 70px;
  max-height: 28px;
  object-fit: contain;
}

.sbe-payment-executive-list .sbe-payment-logo--stripe .sbe-payment-logo-img {
  width: 68px;
  height: 28px;
  max-width: 68px;
  max-height: 28px;
}

.sbe-payment-executive-list .sbe-payment-logo--paypal .sbe-payment-logo-img,
.sbe-payment-executive-list .sbe-payment-logo--square .sbe-payment-logo-img,
.sbe-payment-executive-list .sbe-payment-logo--sumup .sbe-payment-logo-img {
  width: 72px;
  height: 26px;
  max-width: 72px;
  max-height: 26px;
}

.sbe-payment-executive-list .sbe-payment-logo--cash .sbe-payment-logo-img {
  width: 36px;
  height: 25px;
  max-width: 36px;
  max-height: 25px;
}

.sbe-payment-executive-list .sbe-payment-method-copy {
  display: grid;
  gap: 6px;
  align-items: start;
  justify-content: start;
  min-width: 0;
}

.sbe-payment-executive-list .sbe-payment-method-copy em {
  overflow: hidden;
  color: #111827;
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbe-payment-executive-list .sbe-payment-method-copy strong {
  display: block;
  color: #536178;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.38;
  white-space: normal;
}

.sbe-payment-executive-list .sbe-payment-method-icons {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  color: #6a7890;
}

.sbe-payment-executive-list .sbe-payment-helper-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.sbe-payment-executive-list .sbe-payment-helper-icon--money {
  width: 28px;
  height: 20px;
  flex-basis: 28px;
}

.sbe-payment-executive-list .sbe-payment-method-separator {
  width: 1px;
  height: 24px;
  background: #dfe7f2;
}

.sbe-payment-executive-list .sbe-payment-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid #dfe7f2;
  border-radius: 7px;
  background: #f7f9fc;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 0 9px;
  white-space: nowrap;
}

.sbe-payment-executive-list .sbe-payment-mini-badge--logo {
  min-width: 58px;
  padding: 0 8px;
}

.sbe-payment-executive-list .sbe-payment-mini-badge--logo .sbe-payment-logo-img {
  display: block;
  width: auto;
  height: 15px;
  max-width: 54px;
  object-fit: contain;
}

.sbe-payment-executive-list .sbe-payment-mini-badge--apple-pay .sbe-payment-logo-img {
  height: 16px;
}

.sbe-payment-executive-list .sbe-payment-mini-badge--google-pay .sbe-payment-logo-img {
  height: 15px;
}

.sbe-payment-executive-list .sbe-payment-method-badge {
  display: inline-flex;
  width: fit-content;
  justify-content: center;
  justify-self: start;
  border-radius: 999px;
  background: #eef5ff;
  color: #1764d8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 13px;
  white-space: nowrap;
}

.sbe-payment-executive-list .sbe-payment-method-row--stripe .sbe-payment-method-badge {
  background: #eaf8ef;
  color: #099250;
}

.sbe-payment-executive-list .sbe-payment-method-row--cash .sbe-payment-method-icons,
.sbe-payment-executive-list .sbe-payment-method-row--cash .sbe-payment-radio {
  color: #4f9b4b;
}

.sbe-payment-executive-list .sbe-payment-radio {
  display: block;
  justify-self: end;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  border: 0 !important;
  background: url("assets/payment-methods/icons/radio-unselected.svg") center / contain no-repeat !important;
  box-shadow: none !important;
}

.sbe-payment-executive-list .sbe-payment-method-row:has(input:checked) .sbe-payment-radio {
  border: 0 !important;
  background: url("assets/payment-methods/icons/radio-selected.svg") center / contain no-repeat !important;
  box-shadow: none !important;
}

.sbe-payment-safe-note {
  justify-content: center;
  margin: 2px 0 0;
  color: #65748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-payment-section #payment-methods-note {
  margin: 0;
  color: #65748b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
}

@media (max-width: 940px) {
  .sbe-payment-executive-header {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .sbe-payment-total-card {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid #dfe7f2;
    padding: 16px 0 0;
  }

  .sbe-payment-executive-list .sbe-payment-method-row {
    grid-template-columns: 86px minmax(0, 1fr) 26px;
    grid-template-areas:
      "logo copy radio"
      ". icons ."
      ". badge .";
    gap: 10px 12px;
    min-height: 86px;
    padding: 14px;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile {
    grid-area: logo;
    width: 78px;
    height: 42px;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy {
    grid-area: copy;
  }

  .sbe-payment-executive-list .sbe-payment-method-icons {
    grid-area: icons;
    gap: 10px;
  }

  .sbe-payment-executive-list .sbe-payment-method-badge {
    grid-area: badge;
  }

  .sbe-payment-executive-list .sbe-payment-radio {
    grid-area: radio;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img {
    width: 62px;
    max-width: 62px;
  }

  .sbe-payment-executive-list .sbe-payment-logo--paypal .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--square .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--sumup .sbe-payment-logo-img {
    width: 64px;
    height: 24px;
    max-width: 64px;
    max-height: 24px;
  }
}

@media (max-width: 540px) {
  .sbe-payment-section {
    padding: 12px;
  }

  .sbe-payment-heading-copy h3 {
    font-size: 21px;
  }

  .sbe-payment-heading-copy > p:not(.sbe-payment-kicker) {
    font-size: 14px;
  }

  .sbe-payment-total-card strong {
    font-size: 27px;
  }

  .sbe-payment-executive-list .sbe-payment-method-row {
    grid-template-columns: 68px minmax(0, 1fr) 24px;
    grid-template-areas:
      "logo copy radio"
      "icons icons icons"
      "badge badge badge";
    row-gap: 9px;
    min-height: 84px;
    padding: 13px;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile {
    width: 60px;
    height: 40px;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img {
    width: 50px;
    height: 24px;
    max-width: 50px;
    max-height: 24px;
  }

  .sbe-payment-executive-list .sbe-payment-logo--paypal .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--square .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--sumup .sbe-payment-logo-img {
    width: 50px;
    height: 21px;
    max-width: 50px;
    max-height: 21px;
  }

  .sbe-payment-executive-list .sbe-payment-method-icons,
  .sbe-payment-executive-list .sbe-payment-method-badge {
    justify-self: start;
    margin-left: 72px;
  }

  .sbe-payment-executive-list .sbe-payment-helper-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy em {
    font-size: 15px;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy strong,
  .sbe-payment-section #payment-methods-note,
  .sbe-payment-safe-note {
    font-size: 11.5px;
  }
}

/* Final Step 2 payment responsive pass. */
.sbe-payment-executive-list {
  container-type: inline-size;
}

@container (max-width: 720px) {
  .sbe-payment-executive-list {
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .sbe-payment-executive-list .sbe-payment-method-row {
    grid-template-columns: 74px minmax(0, 1fr) 26px;
    grid-template-areas:
      "logo copy radio"
      "logo meta radio";
    gap: 8px 12px;
    min-height: 76px;
    border: 1px solid #dfe7f2;
    border-radius: 10px;
    background: var(--sbe-booking-step-two-card-colour);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    padding: 11px 12px;
  }

  .sbe-payment-executive-list .sbe-payment-method-row:last-child {
    border-bottom: 1px solid #dfe7f2;
  }

  .sbe-payment-grid.sbe-payment-executive-list label.sbe-payment-method-row:has(input:checked) {
    border-radius: 10px;
    box-shadow:
      inset 0 0 0 1px var(--sbe-booking-step-two-selected-colour),
      0 10px 22px rgba(15, 23, 42, 0.06);
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile {
    grid-area: logo;
    align-self: start;
    width: 62px;
    height: 42px;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img {
    width: 52px;
    height: 24px;
    max-width: 52px;
    max-height: 24px;
  }

  .sbe-payment-executive-list .sbe-payment-logo--stripe .sbe-payment-logo-img {
    width: 52px;
    height: 24px;
    max-width: 52px;
    max-height: 24px;
  }

  .sbe-payment-executive-list .sbe-payment-logo--paypal .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--square .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--sumup .sbe-payment-logo-img {
    width: 54px;
    height: 21px;
    max-width: 54px;
    max-height: 21px;
  }

  .sbe-payment-executive-list .sbe-payment-logo--cash .sbe-payment-logo-img {
    width: 34px;
    height: 22px;
    max-width: 34px;
    max-height: 22px;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy {
    grid-area: copy;
    gap: 4px;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy em {
    font-size: 15px;
    line-height: 1.15;
    white-space: normal;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .sbe-payment-executive-list .sbe-payment-method-icons {
    grid-area: meta;
    gap: 8px;
    align-self: center;
    justify-self: start;
    margin-left: 0;
  }

  .sbe-payment-executive-list .sbe-payment-method-badge {
    grid-area: meta;
    align-self: center;
    justify-self: end;
    margin-left: 0;
    font-size: 11.5px;
    padding: 7px 10px;
  }

  .sbe-payment-executive-list .sbe-payment-helper-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .sbe-payment-executive-list .sbe-payment-helper-icon--money {
    width: 24px;
    height: 17px;
    flex-basis: 24px;
  }

  .sbe-payment-executive-list .sbe-payment-mini-badge {
    min-height: 24px;
    padding: 0 7px;
  }

  .sbe-payment-executive-list .sbe-payment-mini-badge--logo {
    min-width: 52px;
  }

  .sbe-payment-executive-list .sbe-payment-radio {
    grid-area: radio;
    align-self: center;
    width: 21px;
    min-width: 21px;
    height: 21px;
    min-height: 21px;
  }
}

@container (max-width: 480px) {
  .sbe-payment-executive-list .sbe-payment-method-row {
    grid-template-columns: 54px minmax(0, 1fr) 23px;
    grid-template-areas:
      "logo copy radio"
      ". meta .";
    gap: 7px 9px;
    padding: 10px;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy {
    align-items: stretch;
    justify-content: stretch;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile {
    width: 50px;
    height: 36px;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--stripe .sbe-payment-logo-img {
    width: 42px;
    height: 22px;
    max-width: 42px;
    max-height: 22px;
  }

  .sbe-payment-executive-list .sbe-payment-logo--paypal .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--square .sbe-payment-logo-img,
  .sbe-payment-executive-list .sbe-payment-logo--sumup .sbe-payment-logo-img {
    width: 44px;
    height: 19px;
    max-width: 44px;
    max-height: 19px;
  }

  .sbe-payment-executive-list .sbe-payment-method-copy strong {
    display: block;
    overflow: visible;
    width: 100%;
    font-size: 11.5px;
    max-width: none;
    text-overflow: clip;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
  }

  .sbe-payment-executive-list .sbe-payment-method-icons {
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
  }

  .sbe-payment-executive-list .sbe-payment-method-badge {
    font-size: 11px;
    line-height: 1.15;
    max-width: 100%;
    padding: 6px 8px;
    text-align: center;
    white-space: normal;
  }

  .sbe-payment-executive-list .sbe-payment-mini-badge--logo {
    min-width: 46px;
  }

  .sbe-payment-executive-list .sbe-payment-mini-badge--logo .sbe-payment-logo-img {
    max-width: 42px;
  }
}

/* Final approved Step 2 vehicle card polish. */
.sbe-step-two-form .sbe-vehicle-grid {
  gap: 9px;
}

.sbe-step-two-form .sbe-vehicle-card {
  grid-template-columns: 18px 94px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 88px;
  border-color: #dfe7f2;
  border-radius: 8px;
  background: var(--sbe-booking-step-two-card-colour);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
  padding: 10px 12px;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sbe-step-two-form .sbe-vehicle-card:hover {
  border-color: rgba(68, 91, 133, 0.32);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.055);
  transform: translateY(-1px);
}

.sbe-step-two-form .sbe-vehicle-card.is-selected {
  border-color: var(--sbe-booking-step-two-selected-colour);
  background: var(--sbe-booking-step-two-selected-background-colour);
  box-shadow: inset 0 0 0 1px var(--sbe-booking-step-two-selected-colour), 0 12px 26px rgba(15, 23, 42, 0.06);
}

.sbe-step-two-form .sbe-radio-dot {
  grid-area: selection;
  align-self: center;
  justify-self: center;
  width: 14px;
  height: 14px;
  border-width: 1.5px;
  border-color: #94a3b8;
  box-shadow: inset 0 0 0 2px #fff;
}

.sbe-step-two-form .sbe-vehicle-card.is-selected .sbe-radio-dot {
  border-width: 4px;
}

.sbe-step-two-form .sbe-vehicle-art {
  width: 88px;
  height: 42px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8fafc;
}

.sbe-step-two-form .sbe-vehicle-art.has-image {
  background: #fff;
}

.sbe-step-two-form .sbe-vehicle-image {
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(12, 20, 32, 0.11));
}

.sbe-step-two-form .sbe-vehicle-copy {
  gap: 3px;
  min-width: 0;
}

.sbe-step-two-form .sbe-vehicle-title-row {
  gap: 6px;
}

.sbe-step-two-form .sbe-vehicle-copy strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
}

.sbe-step-two-form .sbe-vehicle-copy small,
.sbe-step-two-form .sbe-vehicle-note {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.sbe-step-two-form .sbe-vehicle-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 7px;
}

.sbe-step-two-form .sbe-capacity-row {
  gap: 7px;
  color: #5f6f86;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
}

.sbe-step-two-form .sbe-capacity-row span {
  gap: 3px;
}

.sbe-step-two-form .sbe-capacity-row svg {
  width: 13px;
  height: 13px;
}

.sbe-step-two-form .sbe-vehicle-price {
  justify-self: end;
  padding-left: 8px;
  color: var(--sbe-booking-step-two-price-colour);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 940px) {
  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 18px 86px minmax(0, 1fr);
    min-height: 86px;
    padding: 10px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 80px;
    height: 40px;
  }

  .sbe-step-two-form .sbe-vehicle-price {
    grid-column: 3;
    justify-self: start;
    padding-left: 0;
    font-size: 15px;
  }
}

@media (max-width: 540px) {
  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 16px 70px minmax(0, 1fr);
    gap: 8px;
    min-height: 82px;
    padding: 10px;
  }

  .sbe-step-two-form .sbe-radio-dot {
    width: 13px;
    height: 13px;
  }

  .sbe-step-two-form .sbe-vehicle-card.is-selected .sbe-radio-dot {
    border-width: 3.5px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 66px;
    height: 38px;
  }

  .sbe-step-two-form .sbe-vehicle-copy strong {
    font-size: 13.5px;
  }

  .sbe-step-two-form .sbe-vehicle-copy small,
  .sbe-step-two-form .sbe-capacity-row,
  .sbe-step-two-form .sbe-vehicle-price {
    font-size: 11.5px;
  }

  .sbe-step-two-form .sbe-vehicle-note,
  .sbe-step-two-form .sbe-vehicle-badge {
    display: none;
  }
}

/* Final approved Step 2 details and warning polish. */
.sbe-step-two-form .sbe-booker-panel {
  border-color: #dfe7f2;
  background: var(--sbe-booking-step-two-panel-colour);
}

.sbe-step-two-form .sbe-booker-heading,
.sbe-step-two-form .sbe-travel-detail-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.sbe-step-two-form .sbe-booker-heading h2,
.sbe-step-two-form .sbe-travel-detail-heading h3 {
  margin: 0;
  color: #111827;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.16;
}

.sbe-step-two-form .sbe-booker-heading h2 {
  font-size: 21px;
}

.sbe-step-two-form .sbe-travel-detail-heading h3 {
  font-size: 16px;
}

.sbe-step-two-form .sbe-booker-heading p,
.sbe-step-two-form .sbe-travel-detail-heading p {
  margin: 0;
  color: #65748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-step-two-form .sbe-booker-panel > .sbe-detail-grid {
  grid-template-columns: minmax(110px, 0.68fr) minmax(190px, 1.2fr) minmax(190px, 1.2fr);
  gap: 11px;
}

.sbe-step-two-form .sbe-booker-panel label {
  min-width: 0;
}

.sbe-step-two-form .sbe-booker-panel .sbe-detail-grid__wide {
  grid-column: span 2;
}

.sbe-step-two-form .sbe-travel-detail-panel {
  border-color: #dfe7f2;
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  margin: 12px 0;
  padding: 13px;
}

.sbe-step-two-form .sbe-travel-detail-panel .sbe-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sbe-step-two-form .sbe-waiting-fields .sbe-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sbe-step-two-form .sbe-travel-detail-panel .sbe-paid-waiting-field {
  grid-column: auto;
}

.sbe-step-two-form .sbe-paid-waiting-field small {
  display: block;
  margin-top: 5px;
  color: #65748b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-step-two-form .sbe-label-text {
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.22;
}

.sbe-step-two-form .sbe-label-text b {
  color: #be6a28;
  font-weight: 700;
}

.sbe-step-two-form .sbe-panel input:not([type="checkbox"]):not([type="radio"]),
.sbe-step-two-form .sbe-panel select,
.sbe-step-two-form .sbe-panel textarea {
  border-color: #dfe7f2;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.sbe-step-two-form .sbe-panel input:not([type="checkbox"]):not([type="radio"]):hover,
.sbe-step-two-form .sbe-panel select:hover,
.sbe-step-two-form .sbe-panel textarea:hover {
  border-color: #cbd5e1;
}

.sbe-step-two-form .sbe-panel input:not([type="checkbox"]):not([type="radio"]):focus,
.sbe-step-two-form .sbe-panel select:focus,
.sbe-step-two-form .sbe-panel textarea:focus {
  border-color: var(--sbe-booking-step-two-selected-colour);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  outline: 0;
}

.sbe-step-two-form .sbe-field-error {
  scroll-margin-top: 118px;
}

.sbe-step-two-form .sbe-field-error .sbe-input-shell,
.sbe-step-two-form .sbe-field-error input,
.sbe-step-two-form .sbe-field-error select,
.sbe-step-two-form .sbe-field-error textarea {
  border-color: #d99d32 !important;
  background: #fffaf0;
  box-shadow: 0 0 0 2px rgba(217, 157, 50, 0.12);
}

.sbe-step-two-form .sbe-field-error-note {
  display: block;
  grid-column: 1 / -1;
  flex-basis: 100%;
  max-width: none;
  margin-top: 4px;
  color: #8a5a12;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.32;
}

.sbe-step-two-form label.sbe-field-error {
  align-content: start;
}

.sbe-step-two-form .sbe-terms-line.sbe-field-error .sbe-field-error-note,
.sbe-step-two-form .sbe-payment-option.sbe-field-error .sbe-field-error-note {
  margin-left: 28px;
}

.sbe-step-two-form .sbe-form-error {
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  border: 1px solid #f0d69a;
  border-radius: 8px;
  background: #fff8e7;
  color: #8a5a12;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  margin: 10px 0 0;
  padding: 7px 10px;
}

.sbe-step-two-form .sbe-validation-summary {
  width: auto;
  margin: 10px 0 0;
  justify-self: stretch;
  align-items: center;
  gap: 8px;
}

.sbe-step-two-form .sbe-validation-summary:not(:empty) {
  display: flex;
}

.sbe-step-two-form .sbe-validation-summary::before {
  content: "!";
  display: inline-grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #f4d58c;
  color: #6f470c;
  font-size: 11px;
  font-weight: 700;
}

.sbe-step-two-form .sbe-form-error:empty {
  display: none;
}

.sbe-step-two-form .sbe-terms-line.sbe-field-error {
  border: 1px solid #f0d69a;
  border-radius: 8px;
  background: #fffaf0;
  padding: 8px 10px;
}

@media (max-width: 940px) {
  .sbe-step-two-form .sbe-booker-panel > .sbe-detail-grid,
  .sbe-step-two-form .sbe-travel-detail-panel .sbe-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbe-step-two-form .sbe-booker-panel .sbe-detail-grid__wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .sbe-step-two-form .sbe-booker-panel > .sbe-detail-grid,
  .sbe-step-two-form .sbe-travel-detail-panel .sbe-detail-grid {
    grid-template-columns: 1fr;
  }

  .sbe-step-two-form .sbe-waiting-fields .sbe-detail-grid {
    grid-template-columns: 1fr;
  }

  .sbe-step-two-form .sbe-travel-detail-panel .sbe-paid-waiting-field {
    grid-column: 1 / -1;
  }

  .sbe-step-two-form .sbe-booker-heading h2 {
    font-size: 19px;
  }

  .sbe-step-two-form .sbe-booker-heading p,
  .sbe-step-two-form .sbe-travel-detail-heading p,
  .sbe-step-two-form .sbe-field-error-note,
  .sbe-step-two-form .sbe-form-error {
    font-size: 11px;
  }
}

/* Final approved Step 2 extras, voucher, terms, and action polish. */
.sbe-step-two-form .sbe-extras-panel {
  border-color: #dfe7f2;
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.sbe-step-two-form .sbe-subpanel-heading {
  display: grid;
  gap: 4px;
}

.sbe-step-two-form .sbe-subpanel-heading h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.16;
}

.sbe-step-two-form .sbe-subpanel-heading p {
  margin: 0;
  color: #65748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sbe-step-two-form .sbe-booker-panel .sbe-option-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.sbe-step-two-form .sbe-extra-choice {
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 58px;
  border-color: #dfe7f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  padding: 10px 11px;
}

.sbe-step-two-form .sbe-extra-choice:hover {
  border-color: rgba(68, 91, 133, 0.3);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.055);
}

.sbe-step-two-form .sbe-extra-choice:has(input:checked) {
  border-color: var(--sbe-booking-step-two-selected-colour);
  background: var(--sbe-booking-step-two-selected-background-colour);
  box-shadow: inset 0 0 0 1px var(--sbe-booking-step-two-selected-colour), 0 12px 24px rgba(15, 23, 42, 0.055);
}

.sbe-step-two-form .sbe-panel input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  flex: 0 0 20px;
  align-self: center;
  border-width: 1.5px;
  border-color: #94a3b8;
  border-radius: 4px;
  margin: 0;
  padding: 0;
}

.sbe-step-two-form .sbe-extra-choice input[type="checkbox"]:checked {
  border-color: var(--sbe-booking-step-two-selected-colour);
  background: var(--sbe-booking-step-two-selected-colour);
  box-shadow: inset 0 0 0 3px #fff;
}

.sbe-step-two-form .sbe-extra-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sbe-step-two-form .sbe-extra-copy strong {
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.sbe-step-two-form .sbe-extra-copy small {
  color: #65748b;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
}

.sbe-step-two-form .sbe-extra-price {
  align-self: center;
  border-radius: 999px;
  background: #eef5ff;
  color: #1764d8;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  padding: 6px 9px;
  white-space: nowrap;
}

.sbe-step-two-form .sbe-note-field,
.sbe-step-two-form .sbe-voucher-field {
  max-width: none;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
  padding: 12px;
}

.sbe-step-two-form .sbe-note-field {
  gap: 7px;
}

.sbe-step-two-form .sbe-note-field textarea {
  min-height: 72px;
  resize: vertical;
}

.sbe-step-two-form .sbe-voucher-field {
  display: grid;
  grid-template-columns: minmax(0, 430px);
  gap: 7px;
  align-items: start;
  max-width: 430px;
  margin: 12px 0;
}

.sbe-step-two-form .sbe-voucher-field input {
  grid-column: 1;
}

.sbe-step-two-form .sbe-voucher-field small {
  grid-column: 1;
  margin: 0;
  color: #65748b;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  max-width: 390px;
}

.sbe-step-two-form .sbe-terms-line,
.sbe-step-two-form .sbe-marketing-line {
  align-items: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  margin: 9px 0;
  padding: 2px 0;
}

.sbe-step-two-form .sbe-terms-line strong,
.sbe-step-two-form .sbe-marketing-line strong {
  color: #111827;
  font-weight: 700;
}

.sbe-step-two-form .sbe-terms-line input,
.sbe-step-two-form .sbe-marketing-line input {
  width: 15px;
  height: 15px;
  min-height: 15px;
  border-width: 1.5px;
  border-color: #94a3b8;
}

.sbe-step-two-form .sbe-terms-line input:checked,
.sbe-step-two-form .sbe-marketing-line input:checked {
  border-color: var(--sbe-booking-step-two-selected-colour);
  background: var(--sbe-booking-step-two-selected-colour);
  box-shadow: inset 0 0 0 3px #fff;
}

.sbe-step-two-form .sbe-terms-line.sbe-field-error {
  border: 0;
  background: transparent;
}

.sbe-step-two-form .sbe-bottom-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid #dfe7f2;
  background: linear-gradient(180deg, rgba(244, 247, 251, 0), rgba(244, 247, 251, 0.96) 18%, rgba(244, 247, 251, 0.98));
  margin-top: 12px;
  padding: 14px 0 0;
}

.sbe-step-two-form .sbe-bottom-actions .sbe-validation-summary {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

.sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action,
.sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
  min-height: 54px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action {
  border-color: #dfe7f2;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
  box-shadow: 0 14px 28px color-mix(in srgb, var(--sbe-booking-step-two-progress-colour) 20%, transparent);
}

@media (max-width: 940px) {
  .sbe-step-two-form .sbe-voucher-field {
    grid-template-columns: 1fr;
  }

  .sbe-step-two-form .sbe-voucher-field input,
  .sbe-step-two-form .sbe-voucher-field small {
    grid-column: 1;
  }
}

@media (max-width: 540px) {
  .sbe-step-two-form .sbe-booker-panel .sbe-option-list {
    grid-template-columns: 1fr;
  }

  .sbe-step-two-form .sbe-extra-choice {
    min-height: 54px;
  }

  .sbe-step-two-form .sbe-bottom-actions {
    grid-template-columns: 1fr;
  }

  .sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action,
  .sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
    min-height: 50px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  html.sbe-home-widget-embed .sbe-itinerary-card {
    border-radius: 14px;
    padding: 12px;
  }

  html.sbe-home-widget-embed .sbe-step-one__fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  html.sbe-home-widget-embed .sbe-step-field {
    gap: 4px;
    font-size: 11.5px;
  }

  html.sbe-home-widget-embed .sbe-input-shell {
    min-height: 44px;
    border-radius: 10px;
    gap: 6px;
    padding: 0 10px;
  }

  html.sbe-home-widget-embed .sbe-input-shell > svg {
    width: 16px;
    height: 16px;
  }

  html.sbe-home-widget-embed .sbe-input-shell input,
  html.sbe-home-widget-embed .sbe-input-shell select,
  html.sbe-home-widget-embed .sbe-input-shell textarea {
    min-height: 42px;
    font-size: 12px;
  }

  html.sbe-home-widget-embed .sbe-input-shell input[type="date"],
  html.sbe-home-widget-embed .sbe-input-shell input[type="time"] {
    min-height: 42px;
    padding: 0 36px 0 10px;
  }

  html.sbe-home-widget-embed .sbe-journey-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    border-radius: 12px;
    padding: 4px;
  }

  html.sbe-home-widget-embed .sbe-journey-tabs button {
    min-height: 36px;
    border-radius: 9px;
    font-size: 10px;
  }

  html.sbe-home-widget-embed .sbe-trip-switches {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  html.sbe-home-widget-embed .sbe-trip-switch {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 48px;
    border-radius: 9px;
    gap: 7px;
    padding: 8px 48px 8px 9px;
  }

  html.sbe-home-widget-embed .sbe-trip-switch__icon {
    width: 26px;
    height: 26px;
  }

  html.sbe-home-widget-embed .sbe-trip-switch__icon svg {
    width: 15px;
    height: 15px;
  }

  html.sbe-home-widget-embed .sbe-trip-switch strong {
    font-size: 12px;
    font-weight: 500;
  }

  html.sbe-home-widget-embed .sbe-trip-switch small {
    font-size: 10px;
    font-weight: 400;
  }

  html.sbe-home-widget-embed .sbe-trip-switch i {
    right: 8px;
    width: 34px;
    height: 20px;
  }

  html.sbe-home-widget-embed .sbe-trip-switch i::after {
    width: 12px;
    height: 12px;
  }

  html.sbe-home-widget-embed .sbe-trip-switch.is-active i::after {
    transform: translateX(14px);
  }

  html.sbe-home-widget-embed .sbe-return-panel,
  html.sbe-home-widget-embed .sbe-via-panel,
  html.sbe-home-widget-embed .sbe-hourly-panel {
    border-radius: 10px;
    padding: 9px;
  }

  html.sbe-home-widget-embed .sbe-return-panel__heading,
  html.sbe-home-widget-embed .sbe-via-panel__heading,
  html.sbe-home-widget-embed .sbe-hourly-panel__heading,
  html.sbe-home-widget-embed .sbe-return-panel .sbe-step-field,
  html.sbe-home-widget-embed .sbe-via-panel .sbe-step-field,
  html.sbe-home-widget-embed .sbe-hourly-panel .sbe-step-field {
    font-size: 12px;
  }

  html.sbe-home-widget-embed .sbe-return-panel__grid,
  html.sbe-home-widget-embed .sbe-via-panel__grid,
  html.sbe-home-widget-embed .sbe-hourly-panel__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  html.sbe-home-widget-embed .sbe-gradient-action {
    min-height: 46px;
    margin-top: 8px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
  }
}

/* Booking form Step 1 and Step 2 refinement. */
html.sbe-home-widget-embed .sbe-itinerary-card {
  box-shadow:
    0 20px 55px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

html.sbe-home-widget-embed .sbe-step-one__fields {
  align-items: start;
}

html.sbe-home-widget-embed .sbe-input-shell {
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

html.sbe-home-widget-embed .sbe-input-shell:focus-within {
  border-color: color-mix(in srgb, var(--sbe-booking-step-one-button-colour) 58%, white);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(199, 53, 77, 0.16);
}

html.sbe-home-widget-embed .sbe-journey-tabs {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html.sbe-home-widget-embed .sbe-trip-switch {
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

html.sbe-home-widget-embed .sbe-trip-switch:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.13);
}

html.sbe-home-widget-embed .sbe-step-field > span:first-child,
html.sbe-home-widget-embed .sbe-trip-switch strong,
html.sbe-home-widget-embed .sbe-journey-tabs button,
html.sbe-home-widget-embed .sbe-gradient-action {
  letter-spacing: 0;
}

.sbe-trust-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 999px;
  background: #fff3ed;
  color: #c7354d;
}

.sbe-trust-icon svg {
  width: 20px;
  height: 20px;
}

.sbe-step-two-form .sbe-vehicle-meta {
  display: grid;
  align-self: center;
  justify-items: end;
  gap: 7px;
  min-width: 86px;
}

.sbe-step-two-form .sbe-vehicle-meta .sbe-vehicle-price {
  grid-column: auto;
  justify-self: end;
  padding-left: 0;
}

.sbe-step-two-form .sbe-vehicle-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 26px;
  border: 1px solid #dfe7f2;
  border-radius: 999px;
  background: #f8fafc;
  color: #44546a;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sbe-step-two-form .sbe-vehicle-card.is-selected .sbe-vehicle-action {
  border-color: color-mix(in srgb, var(--sbe-booking-step-two-selected-colour) 42%, white);
  background: var(--sbe-booking-step-two-selected-colour);
  color: #fff;
}

.sbe-step-two-form .sbe-vehicle-card:hover .sbe-vehicle-action {
  border-color: rgba(68, 91, 133, 0.3);
  background: #fff;
}

.sbe-step-two-form .sbe-vehicle-card.is-selected:hover .sbe-vehicle-action {
  background: var(--sbe-booking-step-two-selected-colour);
}

@media (min-width: 760px) {
  html.sbe-home-widget-embed .sbe-step-one__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.sbe-home-widget-embed .sbe-journey-tabs-field,
  html.sbe-home-widget-embed .sbe-step-field--wide,
  html.sbe-home-widget-embed .sbe-journey-options {
    grid-column: 1 / -1;
  }

  html.sbe-home-widget-embed .sbe-step-field:has([name="service_date"]),
  html.sbe-home-widget-embed .sbe-step-field:has([name="service_time"]) {
    grid-column: auto;
  }
}

@media (max-width: 940px) {
  .sbe-step-two-form .sbe-vehicle-meta {
    grid-column: 3;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: start;
    justify-items: start;
    min-width: 0;
  }

  .sbe-step-two-form .sbe-vehicle-meta .sbe-vehicle-price {
    justify-self: end;
  }

  .sbe-step-two-form .sbe-vehicle-action {
    min-width: 60px;
    min-height: 24px;
    font-size: 11px;
  }
}

@media (max-width: 540px) {
  .sbe-step-two-form .sbe-vehicle-meta {
    gap: 6px;
  }

  .sbe-step-two-form .sbe-vehicle-action {
    display: none;
  }
}

/* Desktop standalone booking polish: let Step 1 and Step 3 grow naturally. */
html:not(.sbe-home-widget-embed) .sbe-step-one {
  align-items: start;
  min-height: 100vh;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(18, 24, 18, 0.58), rgba(18, 20, 20, 0.22)),
    linear-gradient(135deg, var(--sbe-booking-step-one-panel-colour) 0%, var(--sbe-booking-step-one-background-colour) 48%, var(--sbe-booking-step-one-accent-colour) 100%);
}

html:not(.sbe-home-widget-embed) .sbe-step-one__backdrop {
  min-height: 100%;
}

html:not(.sbe-home-widget-embed) .sbe-itinerary-card {
  width: min(1280px, calc(100% - 48px));
  max-height: none;
  overflow: visible;
  padding: 54px 58px 44px;
}

html:not(.sbe-home-widget-embed) .sbe-itinerary-card__header {
  margin-bottom: 42px;
}

html:not(.sbe-home-widget-embed) .sbe-quote-kicker {
  margin-bottom: 42px;
  font-size: 22px;
}

html:not(.sbe-home-widget-embed) .sbe-itinerary-card h1 {
  max-width: 940px;
  font-size: clamp(40px, 3.6vw, 64px);
}

html:not(.sbe-home-widget-embed) .sbe-step-one__fields {
  gap: 24px 30px;
  border-radius: 32px;
  padding: 38px 34px 34px;
}

html:not(.sbe-home-widget-embed) .sbe-step-field {
  gap: 14px;
  font-size: 22px;
}

html:not(.sbe-home-widget-embed) .sbe-input-shell {
  gap: 20px;
  min-height: 86px;
  border-radius: 20px;
  padding: 0 30px;
}

html:not(.sbe-home-widget-embed) .sbe-input-shell > svg {
  width: 28px;
  height: 28px;
}

html:not(.sbe-home-widget-embed) .sbe-input-shell input,
html:not(.sbe-home-widget-embed) .sbe-input-shell select,
html:not(.sbe-home-widget-embed) .sbe-input-shell textarea {
  min-height: 58px;
  font-size: 24px;
}

html:not(.sbe-home-widget-embed) .sbe-input-shell textarea {
  min-height: 78px;
}

html:not(.sbe-home-widget-embed) .sbe-journey-tabs button,
html:not(.sbe-home-widget-embed) .sbe-gradient-action,
html:not(.sbe-home-widget-embed) .sbe-secondary-action {
  min-height: 54px;
  font-size: 16px;
}

html:not(.sbe-home-widget-embed) .sbe-trip-switch {
  min-height: 72px;
}

html:not(.sbe-home-widget-embed) .sbe-confirmation-step {
  background: var(--sbe-booking-step-two-background-colour);
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card {
  margin-top: 18px;
  padding: 22px;
  background: var(--sbe-booking-step-two-panel-colour);
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner {
  gap: 16px;
  border-color: var(--sbe-border);
  border-radius: 14px;
  background: var(--sbe-booking-step-two-panel-colour);
  padding: 18px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-check {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
  font-size: 25px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details {
  margin: 18px 0;
  border: 1px solid var(--sbe-border);
  box-shadow: none;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details div {
  min-height: 72px;
  padding: 16px 18px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details span {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details strong {
  font-size: 16px;
  line-height: 1.3;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card > p {
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.45;
}

html:not(.sbe-home-widget-embed) #start-new-booking {
  width: auto;
  min-width: 220px;
  margin-top: 6px;
}

@media (max-width: 760px) {
  html:not(.sbe-home-widget-embed) .sbe-step-one {
    background: #fff;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card {
    width: calc(100% - 28px);
    padding: 34px 36px 28px;
  }

  html:not(.sbe-home-widget-embed) .sbe-input-shell input,
  html:not(.sbe-home-widget-embed) .sbe-input-shell select,
  html:not(.sbe-home-widget-embed) .sbe-input-shell textarea {
    font-size: 20px;
  }
}

/* 20260620 Step 2 premium density pass. */
.sbe-step-two-form {
  color: #172033;
  font-weight: 500;
}

.sbe-step-two-form .sbe-progress {
  margin-bottom: 10px;
}

.sbe-step-two-form .sbe-progress span {
  min-height: 38px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-summary-card,
.sbe-step-two-form .sbe-panel {
  border-radius: 10px;
}

.sbe-step-two-form .sbe-summary-card {
  padding: 18px 20px;
}

.sbe-step-two-form .sbe-summary-card h2,
.sbe-step-two-form .sbe-panel > h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.sbe-step-two-form .sbe-panel > p,
.sbe-step-two-form .sbe-summary-list,
.sbe-step-two-form .sbe-summary-card .sbe-route-note {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.38;
}

.sbe-step-two-form .sbe-summary-list strong {
  color: #25324a;
  font-weight: 600;
}

.sbe-step-two-form .sbe-vehicle-panel {
  padding: 18px;
}

.sbe-step-two-form .sbe-vehicle-grid {
  gap: 8px;
}

.sbe-step-two-form .sbe-vehicle-card {
  grid-template-columns: 16px 86px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 78px;
  border-radius: 8px;
  padding: 9px 11px;
}

.sbe-step-two-form .sbe-vehicle-art {
  width: 82px;
  height: 38px;
  border-radius: 7px;
}

.sbe-step-two-form .sbe-vehicle-copy strong {
  font-size: 13.5px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-vehicle-copy small,
.sbe-step-two-form .sbe-vehicle-note {
  font-size: 11.5px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-capacity-row {
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-capacity-row span {
  min-height: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  padding: 2px 6px;
}

.sbe-step-two-form .sbe-capacity-row svg {
  width: 12px;
  height: 12px;
}

.sbe-step-two-form .sbe-vehicle-price {
  font-size: 15.5px;
  font-weight: 700;
}

.sbe-step-two-form .sbe-vehicle-action {
  min-width: 62px;
  min-height: 24px;
  font-size: 11px;
  font-weight: 700;
}

.sbe-step-two-form .sbe-booker-panel {
  padding: 18px;
}

.sbe-step-two-form .sbe-booker-heading h2 {
  font-size: 20px;
  font-weight: 700;
}

.sbe-step-two-form .sbe-travel-detail-heading h3,
.sbe-step-two-form .sbe-subpanel-heading h3,
.sbe-step-two-form .sbe-party-panel h3 {
  font-size: 15px;
  font-weight: 700;
}

.sbe-step-two-form .sbe-booker-heading p,
.sbe-step-two-form .sbe-travel-detail-heading p,
.sbe-step-two-form .sbe-subpanel-heading p,
.sbe-step-two-form .sbe-party-panel p,
.sbe-step-two-form .sbe-capacity-note {
  font-size: 11.5px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-label-text {
  font-size: 11.5px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-panel input:not([type="checkbox"]):not([type="radio"]),
.sbe-step-two-form .sbe-panel select,
.sbe-step-two-form .sbe-panel textarea {
  min-height: 42px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 0 12px;
}

.sbe-step-two-form .sbe-panel textarea {
  padding-top: 11px;
  padding-bottom: 11px;
}

.sbe-step-two-form .sbe-travel-detail-panel,
.sbe-step-two-form .sbe-extras-panel,
.sbe-step-two-form .sbe-party-panel {
  border-radius: 9px;
  padding: 12px;
}

.sbe-step-two-form .sbe-booker-panel .sbe-detail-grid,
.sbe-step-two-form .sbe-travel-detail-panel .sbe-detail-grid {
  gap: 9px;
}

.sbe-step-two-form .sbe-check-line {
  min-height: 32px;
  font-size: 12.5px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-check-line strong {
  font-weight: 600;
}

.sbe-step-two-form .sbe-extra-choice {
  min-height: 52px;
  padding: 9px 10px;
}

.sbe-step-two-form .sbe-extra-copy strong {
  font-size: 12.5px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-extra-copy small {
  font-size: 11px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-extra-price {
  background: #f1f5f9;
  color: #24405f;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 8px;
}

.sbe-step-two-form .sbe-note-field,
.sbe-step-two-form .sbe-voucher-field {
  border-radius: 9px;
  padding: 11px;
}

.sbe-step-two-form .sbe-note-field textarea {
  min-height: 68px;
}

.sbe-step-two-form .sbe-voucher-field small {
  font-size: 11px;
  font-weight: 500;
}

.sbe-payment-executive-header {
  gap: 18px;
  padding: 16px;
}

.sbe-payment-heading-copy h3 {
  font-size: 17px;
  font-weight: 700;
}

.sbe-payment-heading-copy p,
.sbe-payment-secure-line,
.sbe-payment-section #payment-methods-note,
.sbe-payment-safe-note {
  font-size: 11.5px;
  font-weight: 500;
}

.sbe-payment-total-card {
  min-height: 68px;
  padding-left: 18px;
}

.sbe-payment-total-card strong {
  font-size: 24px;
  font-weight: 700;
}

.sbe-payment-executive-list .sbe-payment-method-row {
  grid-template-columns: 82px minmax(180px, 1fr) minmax(108px, 168px) minmax(96px, 126px) 24px;
  gap: 11px;
  min-height: 66px;
  padding: 10px 14px;
}

.sbe-payment-executive-list .sbe-payment-logo-tile {
  width: 72px;
  height: 38px;
}

.sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img {
  width: 58px;
  height: 24px;
  max-width: 58px;
  max-height: 24px;
}

.sbe-payment-executive-list .sbe-payment-logo--stripe .sbe-payment-logo-img {
  width: 56px;
  height: 24px;
  max-width: 56px;
  max-height: 24px;
}

.sbe-payment-executive-list .sbe-payment-method-copy {
  gap: 4px;
}

.sbe-payment-executive-list .sbe-payment-method-copy em {
  font-size: 14px;
  font-weight: 700;
}

.sbe-payment-executive-list .sbe-payment-method-copy strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.32;
}

.sbe-payment-executive-list .sbe-payment-method-icons {
  gap: 8px;
}

.sbe-payment-executive-list .sbe-payment-helper-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.sbe-payment-executive-list .sbe-payment-method-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 9px;
}

.sbe-payment-executive-list .sbe-payment-radio {
  width: 19px;
  min-width: 19px;
  height: 19px;
  min-height: 19px;
}

.sbe-step-two-form .sbe-bottom-actions {
  gap: 10px;
  padding-top: 12px;
}

.sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action,
.sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
  min-height: 50px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 940px) {
  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 16px 78px minmax(0, 1fr);
    min-height: 76px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 74px;
    height: 36px;
  }

  .sbe-payment-executive-list .sbe-payment-method-row {
    grid-template-columns: 70px minmax(0, 1fr) 24px;
    min-height: 76px;
    padding: 11px;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile {
    width: 64px;
    height: 36px;
  }
}

@media (max-width: 540px) {
  .sbe-step-two-form .sbe-summary-card,
  .sbe-step-two-form .sbe-panel,
  .sbe-step-two-form .sbe-booker-panel {
    padding: 14px;
  }

  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 15px 64px minmax(0, 1fr);
    min-height: 74px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 60px;
    height: 34px;
  }

  .sbe-step-two-form .sbe-capacity-row span {
    padding: 2px 5px;
  }

  .sbe-payment-executive-list .sbe-payment-method-row {
    grid-template-columns: 52px minmax(0, 1fr) 22px;
    min-height: 76px;
  }

  .sbe-payment-executive-list .sbe-payment-logo-tile {
    width: 48px;
    height: 34px;
  }
}

/* 20260620 Step 2 visual polish: lighter professional type and tighter scan density. */
.sbe-step-two-form {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: #182235;
}

.sbe-step-two-form .sbe-progress {
  margin-bottom: 8px;
}

.sbe-step-two-form .sbe-progress span {
  min-height: 36px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-summary-card,
.sbe-step-two-form .sbe-panel,
.sbe-step-two-form .sbe-booker-panel {
  border-color: #dfe7f2;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.sbe-step-two-form .sbe-summary-card {
  padding: 16px 18px;
  margin-bottom: 16px;
}

.sbe-step-two-form .sbe-summary-card h2,
.sbe-step-two-form .sbe-panel > h2,
.sbe-step-two-form .sbe-booker-heading h2 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.18;
}

.sbe-step-two-form .sbe-summary-list {
  gap: 8px 18px;
  color: #25324a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.32;
}

.sbe-step-two-form .sbe-summary-list div {
  gap: 1px;
}

.sbe-step-two-form .sbe-summary-list strong {
  color: #172033;
  font-weight: 600;
}

.sbe-step-two-form .sbe-summary-list span,
.sbe-step-two-form .sbe-summary-card .sbe-route-note,
.sbe-step-two-form .sbe-panel > p,
.sbe-step-two-form .sbe-booker-heading p,
.sbe-step-two-form .sbe-travel-detail-heading p,
.sbe-step-two-form .sbe-subpanel-heading p,
.sbe-step-two-form .sbe-party-panel p,
.sbe-step-two-form .sbe-capacity-note {
  color: #56657a;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.35;
}

.sbe-step-two-form .sbe-summary-card .sbe-route-note {
  margin-top: 8px;
}

.sbe-step-two-form .sbe-vehicle-panel,
.sbe-step-two-form .sbe-booker-panel {
  padding: 16px;
}

.sbe-step-two-form .sbe-vehicle-grid {
  gap: 8px;
}

.sbe-step-two-form .sbe-vehicle-card {
  grid-template-columns: 16px 86px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 80px;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.03);
  padding: 9px 10px;
}

.sbe-step-two-form .sbe-vehicle-card:hover {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.sbe-step-two-form .sbe-vehicle-card.is-selected {
  box-shadow: inset 0 0 0 1px var(--sbe-booking-step-two-selected-colour), 0 10px 22px rgba(15, 23, 42, 0.045);
}

.sbe-step-two-form .sbe-vehicle-art {
  width: 80px;
  height: 38px;
}

.sbe-step-two-form .sbe-vehicle-copy strong {
  font-size: 13px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-vehicle-copy small,
.sbe-step-two-form .sbe-vehicle-note {
  color: #56657a;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.sbe-step-two-form .sbe-vehicle-badge {
  font-size: 10px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-capacity-row {
  gap: 6px;
  color: #607086;
  font-size: 10.5px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-capacity-row span {
  min-height: 18px;
  padding: 1px 5px;
}

.sbe-step-two-form .sbe-vehicle-price {
  font-size: 15.5px;
  font-weight: 700;
}

.sbe-step-two-form .sbe-vehicle-action {
  min-width: 58px;
  min-height: 23px;
  font-size: 10.5px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-booker-heading,
.sbe-step-two-form .sbe-travel-detail-heading {
  margin-bottom: 10px;
}

.sbe-step-two-form .sbe-travel-detail-heading h3,
.sbe-step-two-form .sbe-subpanel-heading h3,
.sbe-step-two-form .sbe-party-panel h3,
.sbe-payment-heading-copy h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.sbe-step-two-form .sbe-label-text {
  color: #334155;
  font-size: 11px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-label-text b,
.sbe-step-two-form .sbe-terms-line b,
.sbe-payment-section h3 b {
  color: #d43146;
  font-weight: 600;
}

.sbe-step-two-form .sbe-panel input:not([type="checkbox"]):not([type="radio"]),
.sbe-step-two-form .sbe-panel select,
.sbe-step-two-form .sbe-panel textarea {
  min-height: 40px;
  border-radius: 8px;
  color: #172033;
  font-size: 12.5px;
  font-weight: 400;
}

.sbe-step-two-form .sbe-panel input::placeholder,
.sbe-step-two-form .sbe-panel textarea::placeholder {
  color: #9aa7ba;
  font-weight: 400;
}

.sbe-step-two-form .sbe-travel-detail-panel,
.sbe-step-two-form .sbe-extras-panel,
.sbe-step-two-form .sbe-party-panel {
  border-radius: 9px;
  padding: 11px;
}

.sbe-step-two-form .sbe-booker-panel > .sbe-detail-grid,
.sbe-step-two-form .sbe-travel-detail-panel .sbe-detail-grid {
  gap: 8px 10px;
}

.sbe-step-two-form .sbe-check-line,
.sbe-step-two-form .sbe-terms-line,
.sbe-step-two-form .sbe-marketing-line {
  color: #334155;
  font-size: 11.5px;
  font-weight: 400;
}

.sbe-step-two-form .sbe-check-line strong,
.sbe-step-two-form .sbe-terms-line strong,
.sbe-step-two-form .sbe-marketing-line strong,
.sbe-step-two-form .sbe-extra-copy strong {
  font-weight: 600;
}

.sbe-step-two-form .sbe-extra-choice {
  min-height: 50px;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.025);
  padding: 8px 9px;
}

.sbe-step-two-form .sbe-extra-choice:hover,
.sbe-step-two-form .sbe-extra-choice:has(input:checked) {
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.045);
}

.sbe-step-two-form .sbe-extra-copy strong {
  font-size: 12px;
}

.sbe-step-two-form .sbe-extra-copy small {
  color: #56657a;
  font-size: 10.8px;
  font-weight: 400;
}

.sbe-step-two-form .sbe-extra-price {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
}

.sbe-step-two-form .sbe-note-field,
.sbe-step-two-form .sbe-voucher-field {
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.03);
  padding: 10px;
}

.sbe-step-two-form .sbe-note-field textarea {
  min-height: 64px;
}

.sbe-payment-executive-header {
  padding: 14px;
}

.sbe-payment-heading-copy p,
.sbe-payment-secure-line,
.sbe-payment-section #payment-methods-note,
.sbe-payment-safe-note {
  font-size: 11px;
  font-weight: 400;
}

.sbe-payment-total-card strong {
  font-size: 22px;
  font-weight: 700;
}

.sbe-payment-executive-list .sbe-payment-method-row {
  min-height: 62px;
  padding: 9px 12px;
}

.sbe-payment-executive-list .sbe-payment-method-copy em {
  font-size: 13px;
  font-weight: 600;
}

.sbe-payment-executive-list .sbe-payment-method-copy strong {
  font-size: 11.5px;
  font-weight: 400;
}

.sbe-step-two-form .sbe-bottom-actions {
  position: static;
  bottom: auto;
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  z-index: auto;
}

.sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action,
.sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
  min-height: 50px;
  font-size: 14.5px;
  font-weight: 600;
}

@media (max-width: 940px) {
  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 16px 78px minmax(0, 1fr);
    min-height: 78px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 72px;
    height: 36px;
  }
}

@media (max-width: 540px) {
  .sbe-step-two-form .sbe-summary-card,
  .sbe-step-two-form .sbe-panel,
  .sbe-step-two-form .sbe-booker-panel {
    padding: 13px;
  }

  .sbe-step-two-form .sbe-summary-card h2,
  .sbe-step-two-form .sbe-panel > h2,
  .sbe-step-two-form .sbe-booker-heading h2 {
    font-size: 17px;
  }

  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 15px 64px minmax(0, 1fr);
    min-height: 74px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 60px;
    height: 34px;
  }

  .sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action,
  .sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
    min-height: 48px;
    font-size: 14px;
  }
}

/* 20260620 Step 3 confirmation and payment handoff polish. */
html:not(.sbe-home-widget-embed) .sbe-confirmation-step {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 28px 16px 48px;
  color: #172033;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card {
  border-color: #dfe7f2;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  margin-bottom: 16px;
  padding: 16px 18px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card h2 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card {
  display: grid;
  gap: 14px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: var(--sbe-booking-step-two-panel-colour);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  margin-top: 0;
  padding: 18px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner {
  gap: 14px;
  align-items: center;
  border-color: #dfe7f2;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
  padding: 16px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-check {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  background: #2f9461;
  font-size: 23px;
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card[data-confirmation-state="received"] .sbe-confirm-check {
  background: #2563eb;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card[data-confirmation-state="payment_pending"] .sbe-confirm-check {
  background: #d97706;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #207a49;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 7px;
  padding: 5px 8px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card[data-confirmation-state="received"] .sbe-confirm-status-pill {
  background: #eaf2ff;
  color: #1d4ed8;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card[data-confirmation-state="payment_pending"] .sbe-confirm-status-pill {
  background: #fff4df;
  color: #a45307;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner h2 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner p {
  margin-top: 3px;
  color: #56657a;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
  margin: 0;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details div {
  gap: 4px;
  min-height: 62px;
  border-right: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
  padding: 12px 14px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details div:nth-child(4n) {
  border-right: 0;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details div:last-child {
  grid-column: span 2;
  border-right: 0;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details span {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details strong {
  color: #172033;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

html:not(.sbe-home-widget-embed) #confirmation-price,
html:not(.sbe-home-widget-embed) #confirmation-payment-due,
html:not(.sbe-home-widget-embed) #confirmation-payment-balance {
  color: var(--sbe-booking-step-two-price-colour);
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-payment-note {
  border: 1px solid #f1d8a5;
  border-radius: 9px;
  background: #fff8e8;
  color: #6f470c;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  padding: 10px 12px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card > p {
  color: #56657a;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #dfe7f2;
  padding-top: 12px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-gradient-action,
html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-secondary-action {
  width: auto;
  min-width: 190px;
  min-height: 46px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 20px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-actions #start-new-booking {
  margin-top: 0;
}

@media (max-width: 820px) {
  html:not(.sbe-home-widget-embed) .sbe-confirm-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-details div:nth-child(4n) {
    border-right: 1px solid #edf2f7;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-details div:nth-child(2n) {
    border-right: 0;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-details div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  html:not(.sbe-home-widget-embed) .sbe-confirmation-step {
    padding: 18px 12px 34px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-banner {
    align-items: flex-start;
    padding: 14px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-check {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-banner h2 {
    font-size: 19px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-details {
    grid-template-columns: 1fr;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-details div,
  html:not(.sbe-home-widget-embed) .sbe-confirm-details div:nth-child(2n),
  html:not(.sbe-home-widget-embed) .sbe-confirm-details div:nth-child(4n) {
    border-right: 0;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-details div:last-child {
    grid-column: auto;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-gradient-action,
  html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-secondary-action {
    width: 100%;
  }
}

/* Step 1 homepage widget final thin type guard. */
html.sbe-home-widget-embed .sbe-itinerary-card,
html.sbe-home-widget-embed .sbe-itinerary-card * {
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

html.sbe-home-widget-embed .sbe-itinerary-card {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

html.sbe-home-widget-embed .sbe-step-field,
html.sbe-home-widget-embed .sbe-step-field > span:first-child {
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
}

html.sbe-home-widget-embed .sbe-step-field b {
  font-weight: 500 !important;
}

html.sbe-home-widget-embed .sbe-input-shell input,
html.sbe-home-widget-embed .sbe-input-shell select,
html.sbe-home-widget-embed .sbe-input-shell textarea {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}

html.sbe-home-widget-embed .sbe-input-shell input::placeholder,
html.sbe-home-widget-embed .sbe-input-shell textarea::placeholder {
  font-weight: 400 !important;
}

html.sbe-home-widget-embed .sbe-journey-tabs button,
html.sbe-home-widget-embed .sbe-journey-tabs button.is-active {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

html.sbe-home-widget-embed .sbe-trip-switch strong,
html.sbe-home-widget-embed .sbe-return-panel__heading,
html.sbe-home-widget-embed .sbe-via-panel__heading,
html.sbe-home-widget-embed .sbe-hourly-panel__heading {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
}

html.sbe-home-widget-embed .sbe-trip-switch small,
html.sbe-home-widget-embed .sbe-secure-note {
  font-size: 10.5px !important;
  font-weight: 300 !important;
  line-height: 1.25 !important;
}

html.sbe-home-widget-embed .sbe-gradient-action {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* 20260622 public mobile responsive clipping fix. */
html.sbe-home-widget-embed,
html.sbe-home-widget-embed body,
html.sbe-home-widget-embed .sbe-flow,
html.sbe-home-widget-embed .sbe-step-one,
html.sbe-home-widget-embed .sbe-itinerary-card {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip;
}

.sbe-quote-step,
.sbe-confirmation-step,
.sbe-step-two-form,
.sbe-step-two-form *,
.sbe-step-two-form *::before,
.sbe-step-two-form *::after {
  box-sizing: border-box;
}

.sbe-step-two-form,
.sbe-step-two-form .sbe-summary-card,
.sbe-step-two-form .sbe-panel,
.sbe-step-two-form .sbe-booker-panel,
.sbe-step-two-form .sbe-subpanel,
.sbe-step-two-form .sbe-travel-detail-panel,
.sbe-step-two-form .sbe-payment-section {
  max-width: 100%;
  min-width: 0;
}

.sbe-step-two-form .sbe-summary-list span,
.sbe-step-two-form .sbe-summary-card .sbe-route-note,
.sbe-step-two-form .sbe-vehicle-copy,
.sbe-step-two-form .sbe-vehicle-note,
.sbe-step-two-form .sbe-extra-copy,
.sbe-step-two-form .sbe-extra-choice small,
.sbe-step-two-form .sbe-capacity-note,
.sbe-step-two-form .sbe-payment-method-copy,
.sbe-step-two-form .sbe-terms-line span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sbe-step-two-form .sbe-party-grid label {
  display: grid;
  align-items: start;
  gap: 5px;
}

.sbe-step-two-form .sbe-party-grid .sbe-label-text {
  white-space: nowrap;
}

.sbe-step-two-form .sbe-party-grid select {
  width: 100%;
  margin-top: 0;
}

@media (max-width: 540px) {
  .sbe-quote-step,
  .sbe-confirmation-step {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sbe-step-two-form .sbe-progress {
    gap: 5px;
    padding-left: 0;
    padding-right: 0;
  }

  .sbe-step-two-form .sbe-progress span {
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 0 5px;
    text-align: center;
    font-size: 10px;
    line-height: 1.12;
    overflow: hidden;
  }

  .sbe-step-two-form .sbe-progress b {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    font-size: 10px;
  }

  .sbe-step-two-form .sbe-summary-card,
  .sbe-step-two-form .sbe-panel,
  .sbe-step-two-form .sbe-booker-panel,
  .sbe-step-two-form .sbe-confirm-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .sbe-step-two-form .sbe-summary-list,
  .sbe-step-two-form .sbe-vehicle-grid,
  .sbe-step-two-form .sbe-booker-panel > .sbe-detail-grid,
  .sbe-step-two-form .sbe-travel-detail-panel .sbe-detail-grid,
  .sbe-step-two-form .sbe-party-grid,
  .sbe-step-two-form .sbe-booker-panel .sbe-option-list,
  .sbe-step-two-form .sbe-payment-executive-header,
  .sbe-step-two-form .sbe-bottom-actions {
    grid-template-columns: 1fr !important;
  }

  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 18px 64px minmax(0, 1fr);
    width: 100%;
  }

  .sbe-step-two-form .sbe-vehicle-meta {
    grid-column: 3;
  }

  .sbe-step-two-form .sbe-vehicle-title-row {
    gap: 5px;
  }

  .sbe-step-two-form .sbe-extra-choice {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    width: 100%;
  }

  .sbe-step-two-form .sbe-extra-price {
    white-space: nowrap;
  }

  .sbe-step-two-form .sbe-payment-total-card,
  .sbe-step-two-form .sbe-voucher-field {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .sbe-step-two-form .sbe-progress span {
    font-size: 9.5px;
  }

  .sbe-step-two-form .sbe-progress b {
    display: none;
  }
}

/* The parent owns mobile gutters; avoid a second inset while retaining the desktop cap. */
html.sbe-home-widget-embed,
html.sbe-home-widget-embed body {
  --sbe-home-widget-width: min(420px, 100%);
  max-width: 100% !important;
  overflow-x: hidden !important;
}

html.sbe-home-widget-embed *,
html.sbe-home-widget-embed *::before,
html.sbe-home-widget-embed *::after {
  box-sizing: border-box;
}

html.sbe-home-widget-embed .sbe-flow,
html.sbe-home-widget-embed .sbe-step-one,
html.sbe-home-widget-embed .sbe-itinerary-card,
html.sbe-home-widget-embed .sbe-step-one__fields,
html.sbe-home-widget-embed .sbe-step-field,
html.sbe-home-widget-embed .sbe-input-shell,
html.sbe-home-widget-embed .sbe-journey-tabs,
html.sbe-home-widget-embed .sbe-trip-switches,
html.sbe-home-widget-embed .sbe-trip-switch,
html.sbe-home-widget-embed .sbe-return-panel,
html.sbe-home-widget-embed .sbe-via-panel,
html.sbe-home-widget-embed .sbe-hourly-panel,
html.sbe-home-widget-embed .sbe-form-error,
html.sbe-home-widget-embed .sbe-route-note,
html.sbe-home-widget-embed .sbe-gradient-action,
html.sbe-home-widget-embed .sbe-secure-note {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

html.sbe-home-widget-embed .sbe-step-one__fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

html.sbe-home-widget-embed .sbe-journey-tabs-field,
html.sbe-home-widget-embed .sbe-step-field--wide,
html.sbe-home-widget-embed .sbe-step-field:has([name="service_date"]),
html.sbe-home-widget-embed .sbe-step-field:has([name="service_time"]) {
  grid-column: 1 / -1 !important;
}

html.sbe-home-widget-embed .sbe-itinerary-card {
  width: var(--sbe-home-widget-width) !important;
  max-width: var(--sbe-home-widget-width) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: hidden;
}

html.sbe-home-widget-embed .sbe-step-one__fields,
html.sbe-home-widget-embed .sbe-step-field,
html.sbe-home-widget-embed .sbe-input-shell,
html.sbe-home-widget-embed .sbe-journey-tabs,
html.sbe-home-widget-embed .sbe-trip-switches,
html.sbe-home-widget-embed .sbe-trip-switch,
html.sbe-home-widget-embed .sbe-gradient-action,
html.sbe-home-widget-embed .sbe-secure-note {
  width: 100% !important;
}

html.sbe-home-widget-embed .sbe-journey-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html.sbe-home-widget-embed .sbe-journey-tabs button {
  width: 100%;
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.sbe-home-widget-embed .sbe-input-shell input,
html.sbe-home-widget-embed .sbe-input-shell select,
html.sbe-home-widget-embed .sbe-input-shell textarea {
  min-width: 0 !important;
  max-width: 100% !important;
}

html.sbe-home-widget-embed .sbe-trip-switch strong,
html.sbe-home-widget-embed .sbe-trip-switch small,
html.sbe-home-widget-embed .sbe-form-error,
html.sbe-home-widget-embed .sbe-route-note,
html.sbe-home-widget-embed .sbe-secure-note {
  overflow-wrap: anywhere;
}

@media (max-width: 380px) {
  html.sbe-home-widget-embed .sbe-itinerary-card {
    padding: 12px;
  }

  html.sbe-home-widget-embed .sbe-journey-tabs {
    gap: 4px;
    padding: 4px;
  }

  html.sbe-home-widget-embed .sbe-journey-tabs button {
    font-size: 9.5px;
  }
}

/* Step 2 presentation: readable type, consistent cards and explicit responsive layouts. */
.sbe-step-two-form {
  --sbe-step2-border: #dbe5f0;
  --sbe-step2-border-strong: #cfdbea;
  --sbe-step2-muted: #5f6f84;
  --sbe-step2-soft: #f6f9fc;
  --sbe-step2-card-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

.sbe-step-two-form .sbe-progress {
  gap: 8px;
  margin-bottom: 8px;
}

.sbe-step-two-form .sbe-progress span {
  min-height: 34px;
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  color: #56657a;
  font-size: 12px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-progress span.is-active {
  color: #ffffff;
  font-weight: 600;
}

.sbe-step-two-form .sbe-progress b {
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  font-weight: 600;
  display: grid;
}

.sbe-step-two-form .sbe-summary-card,
.sbe-step-two-form .sbe-panel,
.sbe-step-two-form .sbe-booker-panel {
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  box-shadow: var(--sbe-step2-card-shadow);
  background: #ffffff;
}

.sbe-step-two-form .sbe-summary-card {
  background: #ffffff;
  padding: 14px 16px;
}

.sbe-step-two-form .sbe-summary-card h2,
.sbe-step-two-form .sbe-panel > h2,
.sbe-step-two-form .sbe-booker-heading h2 {
  color: #172033;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 8px;
}

.sbe-step-two-form .sbe-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 28px;
  font-size: 12px;
  line-height: 1.4;
}

.sbe-step-two-form .sbe-summary-list div {
  display: grid;
  grid-template-columns: minmax(86px, 112px) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.sbe-step-two-form .sbe-summary-list strong {
  color: #233044;
  font-size: 12px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-summary-list span,
.sbe-step-two-form .sbe-summary-card .sbe-route-note,
.sbe-step-two-form .sbe-panel > p,
.sbe-step-two-form .sbe-booker-heading p,
.sbe-step-two-form .sbe-travel-detail-heading p,
.sbe-step-two-form .sbe-subpanel-heading p,
.sbe-step-two-form .sbe-party-panel p,
.sbe-step-two-form .sbe-capacity-note {
  color: var(--sbe-step2-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.sbe-step-two-form .sbe-vehicle-panel,
.sbe-step-two-form .sbe-booker-panel {
  background: var(--sbe-step2-soft);
  padding: 14px;
}

.sbe-step-two-form .sbe-vehicle-grid {
  gap: 8px;
}

.sbe-step-two-form .sbe-vehicle-card {
  grid-template-columns: 20px 108px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 100px;
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.025);
  padding: 12px;
  grid-template-areas: "selection image copy price";
  align-items: center;
}

.sbe-step-two-form .sbe-vehicle-card:hover {
  border-color: #cbd8e8;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.045);
}

.sbe-step-two-form .sbe-vehicle-card.is-selected {
  background: var(--sbe-booking-step-two-selected-background-colour);
  box-shadow: inset 0 0 0 1px var(--sbe-booking-step-two-selected-colour), 0 12px 24px rgba(15, 23, 42, 0.045);
}

.sbe-step-two-form .sbe-vehicle-art {
  width: 108px;
  height: 72px;
  border-radius: 0;
  background: transparent;
  grid-area: image;
  align-self: center;
  border: 0;
}

.sbe-step-two-form .sbe-vehicle-copy {
  grid-area: copy;
}

.sbe-step-two-form .sbe-vehicle-copy strong {
  color: #172033;
  font-size: 14px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-vehicle-copy small,
.sbe-step-two-form .sbe-vehicle-note {
  color: #5f6f84;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.sbe-step-two-form .sbe-vehicle-note {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sbe-step-two-form .sbe-capacity-row {
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
}

.sbe-step-two-form .sbe-capacity-row span {
  min-height: 20px;
  border-color: #d9e2ee;
  background: transparent;
  padding: 0;
  border: 0;
}

.sbe-step-two-form .sbe-capacity-row svg {
  width: 14px;
  height: 14px;
}

.sbe-step-two-form .sbe-vehicle-meta {
  align-items: end;
  gap: 6px;
  grid-area: price;
  grid-column: 4;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  align-self: center;
  justify-items: end;
  text-align: right;
}

.sbe-step-two-form .sbe-vehicle-price {
  color: var(--sbe-booking-step-two-price-colour);
  font-size: 17px;
  font-weight: 600;
  padding-left: 0;
}

.sbe-step-two-form .sbe-vehicle-action {
  min-width: 56px;
  min-height: 22px;
  border-radius: 999px;
  font-size: 10.2px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-booker-heading,
.sbe-step-two-form .sbe-travel-detail-heading,
.sbe-step-two-form .sbe-subpanel-heading {
  margin-bottom: 8px;
}

.sbe-step-two-form .sbe-travel-detail-heading h3,
.sbe-step-two-form .sbe-subpanel-heading h3,
.sbe-step-two-form .sbe-party-panel h3,
.sbe-step-two-form .sbe-payment-heading-copy h3 {
  color: #172033;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.22;
}

.sbe-step-two-form .sbe-label-text {
  color: #25324a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.sbe-step-two-form .sbe-label-text b,
.sbe-step-two-form .sbe-terms-line b,
.sbe-step-two-form .sbe-payment-section h3 b {
  color: #d43146;
  font-weight: 600;
}

.sbe-step-two-form .sbe-panel input:not([type="checkbox"]):not([type="radio"]),
.sbe-step-two-form .sbe-panel select,
.sbe-step-two-form .sbe-panel textarea {
  min-height: 38px;
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  font-size: 12.4px;
  font-weight: 400;
}

.sbe-step-two-form .sbe-panel input::placeholder,
.sbe-step-two-form .sbe-panel textarea::placeholder {
  color: #9aa7ba;
  font-weight: 400;
}

.sbe-step-two-form .sbe-travel-detail-panel,
.sbe-step-two-form .sbe-extras-panel,
.sbe-step-two-form .sbe-party-panel,
.sbe-step-two-form .sbe-instructions-panel,
.sbe-step-two-form .sbe-passenger-fields,
.sbe-step-two-form .sbe-account-fields {
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.sbe-step-two-form .sbe-booker-panel > .sbe-detail-grid,
.sbe-step-two-form .sbe-travel-detail-panel .sbe-detail-grid,
.sbe-step-two-form .sbe-party-grid {
  gap: 8px 10px;
}

.sbe-step-two-form .sbe-instructions-panel .sbe-detail-grid__wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.sbe-step-two-form .sbe-party-grid .sbe-label-text {
  white-space: normal;
}

.sbe-step-two-form .sbe-check-line,
.sbe-step-two-form .sbe-terms-line,
.sbe-step-two-form .sbe-marketing-line {
  min-height: 44px;
  color: #25324a;
  font-size: 12px;
  font-weight: 400;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  line-height: 1.4;
  cursor: pointer;
  padding: 6px 0;
}

.sbe-step-two-form .sbe-check-line strong,
.sbe-step-two-form .sbe-terms-line strong,
.sbe-step-two-form .sbe-marketing-line strong,
.sbe-step-two-form .sbe-extra-copy strong {
  font-weight: 500;
}

.sbe-step-two-form .sbe-extra-choice {
  min-height: 54px;
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.02);
  padding: 10px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.sbe-step-two-form .sbe-extra-choice:has(input:checked) {
  background: var(--sbe-booking-step-two-selected-background-colour);
  box-shadow: inset 0 0 0 1px var(--sbe-booking-step-two-selected-colour);
}

.sbe-step-two-form .sbe-extra-copy strong {
  color: #172033;
  font-size: 12px;
}

.sbe-step-two-form .sbe-extra-copy small {
  color: #5f6f84;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.sbe-step-two-form .sbe-extra-price {
  border-radius: 999px;
  background: #f3f6fa;
  color: #25324a;
  font-size: 11px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-note-field,
.sbe-step-two-form .sbe-voucher-field {
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  color: #25324a;
  font-size: 12px;
  font-weight: 500;
  padding: 10px;
}

.sbe-step-two-form .sbe-note-field textarea {
  min-height: 62px;
}

.sbe-step-two-form .sbe-voucher-field small,
.sbe-step-two-form .sbe-payment-heading-copy p,
.sbe-step-two-form .sbe-payment-secure-line,
.sbe-step-two-form .sbe-payment-section #payment-methods-note,
.sbe-step-two-form .sbe-payment-safe-note {
  color: var(--sbe-step2-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.sbe-step-two-form .sbe-payment-heading-copy p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.sbe-step-two-form .sbe-payment-section {
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
}

.sbe-step-two-form .sbe-payment-executive-header {
  gap: 12px;
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.sbe-step-two-form .sbe-payment-total-card {
  border-color: var(--sbe-step2-border);
  border-radius: 8px;
  background: var(--sbe-step2-soft);
  padding: 10px 12px;
}

.sbe-step-two-form .sbe-payment-total-card span {
  font-size: 12px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-payment-total-card strong {
  font-size: 23px;
  font-weight: 600;
}

.sbe-step-two-form .sbe-payment-total-card small {
  font-size: 12px;
  font-weight: 500;
}

.sbe-step-two-form .sbe-payment-executive-list {
  border: 1px solid var(--sbe-step2-border);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.025);
  gap: 0;
  background: #ffffff;
  overflow: visible;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-row {
  grid-template-columns: 78px minmax(0, 1fr) minmax(108px, auto) 24px;
  gap: 11px;
  min-height: 68px;
  padding: 12px;
  grid-template-areas: "logo copy badge radio";
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--sbe-step2-border);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-row:last-child {
  border-bottom: 0;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo-tile {
  width: 68px;
  height: 36px;
  border-radius: 0;
  box-shadow: none;
  grid-area: logo;
  align-self: center;
  border: 0;
  background: transparent;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img {
  width: 58px;
  height: 24px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo--stripe .sbe-payment-logo-img {
  width: 56px;
  height: 24px;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo--paypal .sbe-payment-logo-img,
.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo--square .sbe-payment-logo-img,
.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo--sumup .sbe-payment-logo-img {
  width: 60px;
  height: 23px;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo--cash .sbe-payment-logo-img {
  width: 32px;
  height: 22px;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-copy {
  gap: 3px;
  grid-area: copy;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-copy em {
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-copy strong {
  color: var(--sbe-step2-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-icons {
  display: none;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-badge {
  justify-self: end;
  border-radius: 999px;
  background: #f1f6fd;
  font-size: 10.2px;
  font-weight: 500;
  padding: 6px 9px;
  grid-area: badge;
}

.sbe-step-two-form .sbe-payment-executive-list .sbe-payment-radio {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  grid-area: radio;
  align-self: center;
}

.sbe-step-two-form .sbe-bottom-actions {
  gap: 10px;
  border-top: 1px solid var(--sbe-step2-border);
  margin-top: 10px;
  padding-top: 12px;
}

.sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action,
.sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
  min-height: 48px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
}

@media (max-width: 940px) {
  .sbe-step-two-form .sbe-summary-list div {
    grid-template-columns: minmax(80px, 104px) minmax(0, 1fr);
  }

  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 20px 108px minmax(0, 1fr) auto;
  }

  .sbe-step-two-form .sbe-vehicle-meta {
    grid-column: 4;
    align-items: end;
    justify-content: end;
  }
}

@media (max-width: 640px) {
  .sbe-step-two-form .sbe-summary-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-row {
    grid-template-columns: 58px minmax(0, 1fr) 22px;
    grid-template-areas: "logo copy radio";
  }

  .sbe-step-two-form .sbe-payment-executive-list .sbe-payment-method-badge {
    display: none;
  }
}

@media (max-width: 540px) {
  .sbe-step-two-form .sbe-progress {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sbe-step-two-form .sbe-progress b {
    display: grid;
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 12px;
  }

  .sbe-step-two-form .sbe-summary-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    align-items: start;
  }

  .sbe-step-two-form .sbe-progress span {
    min-height: 44px;
    font-size: 13px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    line-height: 1.3;
    text-align: left;
    padding: 8px 12px;
    overflow: visible;
  }

  .sbe-step-two-form .sbe-summary-card,
  .sbe-step-two-form .sbe-panel,
  .sbe-step-two-form .sbe-booker-panel {
    padding: 12px;
  }

  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 20px 90px minmax(0, 1fr) auto;
    min-height: 104px;
    grid-template-areas: "selection image copy price";
    gap: 8px;
    padding: 10px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 90px;
    height: 64px;
  }

  .sbe-step-two-form .sbe-vehicle-note {
    display: none;
  }

  .sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo-tile {
    width: 52px;
    height: 32px;
  }

  .sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo-tile .sbe-payment-logo-img,
  .sbe-step-two-form .sbe-payment-executive-list .sbe-payment-logo--stripe .sbe-payment-logo-img {
    width: 42px;
    height: 21px;
  }

  .sbe-step-two-form .sbe-bottom-actions .sbe-secondary-action,
  .sbe-step-two-form .sbe-bottom-actions .sbe-gradient-action {
    min-height: 46px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .sbe-step-two-form .sbe-vehicle-card {
    grid-template-columns: 20px 90px minmax(0, 1fr);
    grid-template-areas:
      "selection image copy"
      "selection image price";
    gap: 6px;
    padding: 8px;
  }

  .sbe-step-two-form .sbe-vehicle-art {
    width: 90px;
    height: 64px;
  }

  .sbe-step-two-form .sbe-vehicle-meta {
    grid-column: 3;
    justify-self: end;
  }
}

/* 20260622 Step 3 confirmation final polish. */
html:not(.sbe-home-widget-embed) .sbe-confirmation-step {
  width: min(100%, 1040px);
  padding: 24px 16px 44px;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

html:not(.sbe-home-widget-embed) .sbe-confirmation-step .sbe-progress {
  gap: 8px;
  margin-bottom: 8px;
}

html:not(.sbe-home-widget-embed) .sbe-confirmation-step .sbe-progress span {
  min-height: 34px;
  border-color: #dbe5f0;
  border-radius: 8px;
  color: #56657a;
  font-size: 11.5px;
  font-weight: 600;
}

html:not(.sbe-home-widget-embed) .sbe-confirmation-step .sbe-progress span.is-active {
  color: #ffffff;
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card {
  border-color: #dbe5f0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
  margin-bottom: 14px;
  padding: 14px 16px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card h2 {
  color: #172033;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 8px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card .sbe-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 28px;
  font-size: 11.5px;
  line-height: 1.28;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card .sbe-summary-list div {
  display: grid;
  grid-template-columns: minmax(86px, 112px) minmax(0, 1fr);
  gap: 8px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card .sbe-summary-list strong {
  color: #233044;
  font-size: 11.5px;
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-route-card .sbe-summary-list span {
  color: #5f6f84;
  font-size: 11.2px;
  font-weight: 500;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card {
  gap: 12px;
  border-color: #dbe5f0;
  border-radius: 10px;
  background: #eef4fa;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
  padding: 14px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  overflow: hidden;
  border-color: #dbe5f0;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.025);
  padding: 14px 16px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #2f9461;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card[data-confirmation-state="received"] .sbe-confirm-banner::before {
  background: #2563eb;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card[data-confirmation-state="payment_pending"] .sbe-confirm-banner::before {
  background: #d97706;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-check {
  position: relative;
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

html:not(.sbe-home-widget-embed) .sbe-confirm-status-pill {
  min-height: 20px;
  margin-bottom: 6px;
  border-radius: 999px;
  font-size: 10.2px;
  font-weight: 600;
  padding: 4px 8px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner h2 {
  margin-bottom: 3px;
  color: #172033;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.16;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-banner p {
  color: #5f6f84;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

html:not(.sbe-home-widget-embed) #sbe-email-notice {
  color: #64748b;
  font-weight: 500;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details div {
  min-height: 58px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.02);
  padding: 10px 12px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details div:nth-child(4n),
html:not(.sbe-home-widget-embed) .sbe-confirm-details div:last-child {
  border-right: 1px solid #dbe5f0;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details span {
  color: #64748b;
  font-size: 10.4px;
  font-weight: 600;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details strong {
  color: #172033;
  font-size: 13.4px;
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) #confirmation-reference {
  color: #111827;
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) #confirmation-price,
html:not(.sbe-home-widget-embed) #confirmation-payment-due,
html:not(.sbe-home-widget-embed) #confirmation-payment-balance {
  color: var(--sbe-booking-step-two-price-colour);
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-payment-note {
  border-color: #f1d8a5;
  border-radius: 8px;
  background: #fff8e8;
  color: #70480c;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 12px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card[data-confirmation-state="payment_pending"] .sbe-confirm-payment-note {
  border-color: #f1c574;
  background: #fff6e2;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-card > p {
  color: #5f6f84;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-actions {
  gap: 10px;
  align-items: stretch;
  border-top: 1px solid #dbe5f0;
  padding-top: 12px;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-gradient-action,
html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-secondary-action {
  min-width: 180px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 13.2px;
  font-weight: 700;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-payment-action-link:not([hidden]) {
  flex: 1 1 260px;
  box-shadow: 0 14px 28px rgba(217, 61, 60, 0.16);
}

html:not(.sbe-home-widget-embed) .sbe-confirm-actions #start-new-booking {
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  html:not(.sbe-home-widget-embed) .sbe-confirm-route-card .sbe-summary-list,
  html:not(.sbe-home-widget-embed) .sbe-confirm-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-details div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  html:not(.sbe-home-widget-embed) .sbe-confirmation-step {
    padding: 16px 10px 34px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirmation-step .sbe-progress {
    gap: 5px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirmation-step .sbe-progress span {
    min-height: 32px;
    font-size: 10.2px;
    padding: 0 5px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-route-card,
  html:not(.sbe-home-widget-embed) .sbe-confirm-card {
    padding: 12px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-route-card .sbe-summary-list,
  html:not(.sbe-home-widget-embed) .sbe-confirm-details {
    grid-template-columns: 1fr;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-route-card .sbe-summary-list div {
    grid-template-columns: minmax(76px, 94px) minmax(0, 1fr);
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-banner {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 13px 14px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-check {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-banner h2 {
    font-size: 18px;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-gradient-action,
  html:not(.sbe-home-widget-embed) .sbe-confirm-actions .sbe-secondary-action {
    width: 100%;
  }
}

/* 20260628 visual polish: restore standalone mobile booking to the configured Step 1 theme. */
@media (max-width: 760px) {
  html:not(.sbe-home-widget-embed) .sbe-step-one {
    min-height: 100vh;
    padding: 16px 0 30px;
    background:
      linear-gradient(90deg, rgba(18, 24, 18, 0.58), rgba(18, 20, 20, 0.22)),
      linear-gradient(135deg, var(--sbe-booking-step-one-panel-colour) 0%, var(--sbe-booking-step-one-background-colour) 48%, var(--sbe-booking-step-one-accent-colour) 100%);
    color: var(--sbe-booking-step-one-text-colour);
  }

  html:not(.sbe-home-widget-embed) .sbe-step-one__backdrop {
    display: block;
    min-height: 100%;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card {
    width: calc(100% - 24px);
    border-color: color-mix(in srgb, var(--sbe-booking-step-one-field-border-colour) 62%, transparent);
    background:
      linear-gradient(105deg, color-mix(in srgb, var(--sbe-booking-step-one-panel-colour) 88%, transparent), color-mix(in srgb, var(--sbe-booking-step-one-background-colour) 92%, transparent) 55%, color-mix(in srgb, var(--sbe-booking-step-one-accent-colour) 38%, var(--sbe-booking-step-one-panel-colour)));
    box-shadow: 0 22px 52px rgba(10, 13, 18, 0.34);
    color: var(--sbe-booking-step-one-text-colour);
    padding: 26px 22px 24px;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card__header {
    display: grid;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card__intro {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    align-items: center;
  }

  html:not(.sbe-home-widget-embed) .sbe-round-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    background: color-mix(in srgb, var(--sbe-booking-step-one-accent-colour) 18%, transparent);
    color: var(--sbe-booking-step-one-accent-colour);
  }

  html:not(.sbe-home-widget-embed) .sbe-round-icon svg {
    width: 25px;
    height: 25px;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card h1 {
    max-width: none;
    color: var(--sbe-booking-step-one-text-colour);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.08;
  }

  html:not(.sbe-home-widget-embed) .sbe-mobile-subtitle {
    color: color-mix(in srgb, var(--sbe-booking-step-one-text-colour) 76%, transparent);
    font-size: 15px;
    line-height: 1.35;
  }

  html:not(.sbe-home-widget-embed) .sbe-price-badge {
    justify-self: start;
    border-color: color-mix(in srgb, var(--sbe-booking-step-one-accent-colour) 48%, transparent);
    background: color-mix(in srgb, var(--sbe-booking-step-one-panel-colour) 72%, transparent);
    color: var(--sbe-booking-step-one-text-colour);
  }

  html:not(.sbe-home-widget-embed) .sbe-step-one__fields {
    gap: 18px;
    border: 2px solid color-mix(in srgb, var(--sbe-booking-step-one-field-border-colour) 68%, transparent);
    border-radius: 24px;
    background: rgba(10, 13, 14, 0.62);
    padding: 24px 18px 20px;
  }

  html:not(.sbe-home-widget-embed) .sbe-step-field {
    gap: 10px;
    color: var(--sbe-booking-step-one-text-colour);
    font-size: 19px;
  }

  html:not(.sbe-home-widget-embed) .sbe-input-shell {
    gap: 12px;
    min-height: 62px;
    border-color: color-mix(in srgb, var(--sbe-booking-step-one-field-border-colour) 82%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--sbe-booking-step-one-field-background-colour) 92%, transparent);
    padding: 0 15px;
  }

  html:not(.sbe-home-widget-embed) .sbe-input-shell > svg {
    width: 22px;
    height: 22px;
  }

  html:not(.sbe-home-widget-embed) .sbe-input-shell input,
  html:not(.sbe-home-widget-embed) .sbe-input-shell select,
  html:not(.sbe-home-widget-embed) .sbe-input-shell textarea {
    min-height: 44px;
    font-size: 16px;
  }

  html:not(.sbe-home-widget-embed) .sbe-journey-tabs,
  html:not(.sbe-home-widget-embed) .sbe-journey-options {
    border-color: color-mix(in srgb, var(--sbe-booking-step-one-field-border-colour) 54%, transparent);
    background: rgba(255, 255, 255, 0.08);
    color: var(--sbe-booking-step-one-text-colour);
  }

  html:not(.sbe-home-widget-embed) .sbe-journey-tabs button {
    background: rgba(255, 255, 255, 0.1);
    color: color-mix(in srgb, var(--sbe-booking-step-one-text-colour) 84%, transparent);
  }

  html:not(.sbe-home-widget-embed) .sbe-journey-tabs button.is-active {
    color: #fff;
  }

  html:not(.sbe-home-widget-embed) .sbe-trip-switch.is-active strong {
    color: var(--sbe-booking-step-one-text-colour);
  }

  html:not(.sbe-home-widget-embed) .sbe-trip-switch.is-active small {
    color: color-mix(in srgb, var(--sbe-booking-step-one-text-colour) 82%, transparent);
  }

  html:not(.sbe-home-widget-embed) .sbe-return-panel,
  html:not(.sbe-home-widget-embed) .sbe-via-panel,
  html:not(.sbe-home-widget-embed) .sbe-hourly-panel {
    border-color: color-mix(in srgb, var(--sbe-booking-step-one-text-colour) 28%, transparent);
    background: rgba(255, 255, 255, 0.08);
  }

  html:not(.sbe-home-widget-embed) .sbe-flexible-option strong,
  html:not(.sbe-home-widget-embed) .sbe-return-panel__heading,
  html:not(.sbe-home-widget-embed) .sbe-via-panel__heading,
  html:not(.sbe-home-widget-embed) .sbe-hourly-panel__heading {
    color: var(--sbe-booking-step-one-text-colour);
  }
}

@media (max-width: 430px) {
  html:not(.sbe-home-widget-embed) .sbe-itinerary-card {
    padding: 22px 16px 22px;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card__header {
    gap: 12px;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card__intro {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  html:not(.sbe-home-widget-embed) .sbe-round-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  html:not(.sbe-home-widget-embed) .sbe-itinerary-card h1 {
    font-size: 26px;
  }

  html:not(.sbe-home-widget-embed) .sbe-step-one__fields {
    padding: 20px 14px 18px;
  }
}

/* 20260628 visual polish: mobile Admin touch sizing and topbar rhythm. */
@media (max-width: 720px) {
  .sbe-admin-body .admin-toolbar {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .sbe-admin-body .admin-menu-button,
  .sbe-admin-body .admin-icon-button,
  .sbe-admin-body .admin-notification-button,
  .sbe-admin-body .admin-help-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .sbe-admin-body .admin-global-search {
    min-height: 44px;
  }

  .sbe-admin-body .admin-global-search input {
    min-height: 42px;
    font-size: 0.86rem;
  }

  .sbe-admin-body .admin-top-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .sbe-admin-body .admin-profile-button {
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
  }

  .sbe-admin-body .admin-dashboard-notification-button,
  .sbe-admin-body .admin-dashboard-command-actions .admin-dashboard-notification-button {
    min-height: 42px;
  }
}

/* 20260628 visual polish: customer portal micro-overflow and utility action sizing. */
.sbe-customer-body .customer-card-footer {
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 8px;
}

.sbe-customer-body .customer-card-footer .customer-vehicle-meta {
  min-width: 0;
}

.sbe-customer-body .customer-card-footer b {
  white-space: nowrap;
}

.sbe-customer-body .customer-card-footer i {
  min-width: 20px;
}

.sbe-customer-body .customer-icon-button {
  width: 40px;
  height: 40px;
}

.sbe-customer-body .customer-document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  padding: 0 12px;
}

/* 20260629 Admin settings polish: lighter labels, safer controls, and less cramped setup cards. */
.sbe-admin-body label,
.sbe-admin-body .filter-bar label,
.sbe-admin-body .audit-filter-form label,
.sbe-admin-body .booking-history-filter-form label,
.sbe-admin-body .admin-booking-update-form label,
.sbe-admin-body .zone-field-label,
.sbe-admin-body .payment-settings-label,
.sbe-admin-body .booking-location-choice-card label,
.sbe-admin-body .payment-method-editor label {
  font-weight: 600;
}

.sbe-admin-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.sbe-admin-body select,
.sbe-admin-body textarea {
  min-height: 38px;
  font-size: 0.8rem;
  font-weight: 500;
}

.sbe-admin-body .primary-action,
.sbe-admin-body .outline-action,
.sbe-admin-body .plain-action,
.sbe-admin-body .admin-link {
  min-height: 38px;
  font-size: 0.78rem;
  font-weight: 600;
}

.sbe-admin-body table th {
  font-weight: 600;
}

.sbe-admin-body table strong,
.sbe-admin-body .detail-row strong,
.sbe-admin-body .payment-method-editor-head strong,
.sbe-admin-body .payment-gateway-card strong,
.sbe-admin-body .zone-vehicle-price-card-head strong {
  font-weight: 600;
}

.sbe-admin-body table small,
.sbe-admin-body table td > span:not(.admin-status-badge),
.sbe-admin-body .detail-row span,
.sbe-admin-body .state-note,
.sbe-admin-body .inline-note,
.sbe-admin-body .payment-settings-control small {
  font-weight: 500;
}

.sbe-admin-body .payment-method-state-pill,
.sbe-admin-body .payment-readiness-flag,
.sbe-admin-body .payment-guidance-facts span {
  font-weight: 700;
}

.sbe-admin-body .payments-provider-panel input,
.sbe-admin-body .payments-provider-panel select,
.sbe-admin-body .payments-settings-panel input,
.sbe-admin-body .payments-settings-panel select,
.sbe-admin-body .payments-settings-panel textarea,
.sbe-admin-body .payment-method-compact-grid input,
.sbe-admin-body .payment-method-compact-grid select {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.8rem;
}

.sbe-admin-body .payment-settings-row {
  padding: 9px 0;
}

.sbe-admin-body .payment-settings-label {
  padding-top: 8px;
}

.sbe-admin-body .payments-toggle-row .check-line,
.sbe-admin-body .payment-method-toggle-list .check-line,
.sbe-admin-body .payment-method-static-checkline {
  font-weight: 600;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-editor label,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-route-grid label,
.sbe-admin-body #settings-view.settings-view-zones .zone-vehicle-price-card label {
  font-weight: 600;
}

.sbe-admin-body .payments-settings-panel:focus,
.sbe-admin-body .payments-provider-panel:focus {
  outline: 2px solid rgba(11, 102, 240, 0.16);
  outline-offset: 1px;
}

.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-warning {
  align-items: start;
}

.sbe-admin-body .zone-price-inline-action,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-form-warning .zone-price-inline-action,
.sbe-admin-body #settings-view.settings-view-zones .zone-price-empty-state .zone-price-inline-action {
  justify-self: start;
  width: auto;
  min-width: 0;
  max-width: max-content;
}

.booking-location-choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.booking-location-choice-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.booking-location-choice-card .management-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.booking-location-choice-card label {
  min-width: 0;
}

.booking-location-choice-card input,
.booking-location-choice-card select {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-location-choice-card [name="choice_place_id"],
.booking-location-choice-card [name="choice_place_types"] {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
}

@media (max-width: 720px) {
  .sbe-admin-body .admin-menu-button,
  .sbe-admin-body .admin-notification-button,
  .sbe-admin-body .admin-help-button {
    width: 42px;
    height: 42px;
  }

  .sbe-admin-body .admin-profile-button {
    min-height: 42px;
    padding-inline: 4px;
  }

  .sbe-admin-body .management-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .sbe-admin-body .management-form select,
  .sbe-admin-body .management-form textarea,
  .sbe-admin-body .management-form .primary-action,
  .sbe-admin-body .management-form .outline-action,
  .sbe-admin-body .management-form .plain-action,
  .sbe-admin-body .payments-provider-panel input,
  .sbe-admin-body .payments-provider-panel select,
  .sbe-admin-body .payments-settings-panel input,
  .sbe-admin-body .payments-settings-panel select,
  .sbe-admin-body .payments-settings-panel textarea,
  .sbe-admin-body .payment-method-compact-grid input,
  .sbe-admin-body .payment-method-compact-grid select {
    min-height: 42px;
  }

  .sbe-admin-body #settings-view.settings-view-zones .zone-price-inline-action {
    min-height: 42px;
  }
}

@media (max-width: 640px) {
  .booking-location-choice-manager {
    padding: 14px;
  }

  .booking-location-choice-grid,
  .booking-location-choice-card .management-grid {
    grid-template-columns: 1fr;
  }
}

/* 20260629 Public booking visual audit follow-up: safer mobile Step 2 touch targets. */
@media (max-width: 640px) {
  .sbe-step-two-form .sbe-panel input:not([type="checkbox"]):not([type="radio"]),
  .sbe-step-two-form .sbe-panel select,
  .sbe-step-two-form .sbe-panel textarea {
    min-height: 42px;
  }
}

/* 20260701 strict audit follow-up: final page-level polish after rendered checks. */
.sbe-admin-body .management-band > h2,
.sbe-admin-body .settings-section h3,
.sbe-admin-body .settings-section h4,
.sbe-admin-body .payment-settings-label,
.sbe-admin-body .booking-location-choice-card label,
.sbe-admin-body .payment-method-editor label,
.sbe-admin-body .payments-provider-panel label,
.sbe-admin-body .payments-settings-panel label {
  font-weight: 600;
}

@media (max-width: 720px) {
  .sbe-admin-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .sbe-admin-body select,
  .sbe-admin-body textarea,
  .sbe-admin-body .primary-action,
  .sbe-admin-body .outline-action,
  .sbe-admin-body .plain-action,
  .sbe-admin-body .admin-link {
    min-height: 42px;
  }
}

.sbe-step-two-form .sbe-summary-card h2,
.sbe-step-two-form .sbe-booker-heading h2,
.sbe-step-two-form .sbe-travel-detail-heading h3,
.sbe-step-two-form .sbe-subpanel-heading h3,
.sbe-step-two-form .sbe-party-panel h3,
.sbe-payment-heading-copy h3,
html:not(.sbe-home-widget-embed) .sbe-confirm-banner h2,
html:not(.sbe-home-widget-embed) .sbe-confirm-route-card h2 {
  font-weight: 600;
}

.sbe-step-two-form .sbe-label-text,
.sbe-step-two-form .sbe-check-line strong,
.sbe-step-two-form .sbe-terms-line strong,
.sbe-step-two-form .sbe-marketing-line strong {
  font-weight: 500;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details strong {
  font-weight: 600;
}

html:not(.sbe-home-widget-embed) .sbe-confirm-details span {
  font-weight: 500;
}

.sbe-customer-body .customer-payment-detail-section .customer-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sbe-customer-body .customer-payment-detail-section .customer-detail-row {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  min-height: 0;
  border: 1px solid rgba(72, 95, 126, 0.34);
  border-radius: 10px;
  background: rgba(6, 16, 28, 0.44);
  padding: 8px;
}

.sbe-customer-body .customer-payment-detail-section .customer-detail-row:last-child {
  border-bottom: 1px solid rgba(72, 95, 126, 0.34);
}

.sbe-customer-body .customer-payment-detail-section .customer-detail-row .customer-line-icon {
  width: 17px;
  height: 17px;
}

.sbe-customer-body .customer-payment-detail-section .customer-detail-row span {
  font-size: 11px;
  line-height: 15px;
}

.sbe-customer-body .customer-payment-detail-section .customer-detail-row strong {
  grid-column: 2;
  max-width: 100%;
  font-size: 11.5px;
  line-height: 15px;
  text-align: left;
}

.sbe-customer-body .customer-review-card h3 {
  color: #f8fbff;
}

.sbe-customer-body .customer-review-card .customer-state-note {
  color: rgba(218, 229, 243, 0.78);
}

.sbe-driver-body .driver-detail-card .driver-icon-button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}

.sbe-shell .brand-strip h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1;
}

.sbe-payment-card {
  gap: 14px;
  border-radius: 10px;
  padding: 26px;
}

.sbe-payment-card h1 {
  font-size: clamp(1.65rem, 6vw, 2rem);
  font-weight: 700;
}

.sbe-payment-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--sbe-navy);
  font-weight: 700;
  text-decoration: none;
  padding: 0 14px;
}

.sbe-payment-detail .sbe-form-error,
.sbe-payment-detail .sbe-state-note {
  border-radius: 8px;
  padding: 13px 14px;
}

@media (max-width: 640px) {
  .sbe-shell,
  .admin-shell {
    padding: 14px 12px 24px;
  }

  .sbe-shell .brand-strip {
    gap: 10px;
    padding-bottom: 16px;
  }

  .sbe-shell .brand-strip h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .sbe-shell .booking-stage,
  .sbe-shell .signin-panel,
  .sbe-shell .detail-output {
    border-radius: 10px;
  }

  .sbe-shell .signin-form,
  .sbe-shell .detail-output {
    padding: 16px;
  }

  .sbe-payment-shell {
    align-items: start;
    padding: 16px;
  }

  .sbe-payment-card {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .sbe-customer-body .customer-payment-detail-section .customer-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Booking reliability states retain the approved vehicle artwork and card layout. */
.sbe-step-two-form .sbe-vehicle-card:disabled {
  cursor: not-allowed;
}

.sbe-price-retry-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  justify-items: start;
  min-width: 0;
}

.sbe-price-retry-panel .sbe-state-note,
.sbe-booking-policy-note p {
  margin: 0;
  overflow-wrap: anywhere;
}

.sbe-booking-policy-note {
  display: grid;
  gap: 8px;
  font-size: .875rem;
  line-height: 1.5;
}

.sbe-booking-policy-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sbe-booking-policy-note a:focus-visible,
.sbe-price-retry:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* The recovery notice stays outside the hidden booking steps, with its own card scope. */
.sbe-booking-recovery-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(1040px, calc(100% - 32px));
  margin: 16px auto 0;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: var(--sbe-booking-step-two-card-colour);
  padding: 16px;
  color: #172033;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.sbe-booking-recovery-notice > p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

html .sbe-booking-recovery-notice > .sbe-gradient-action {
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
}

.sbe-booking-recovery-notice > .sbe-gradient-action:focus-visible {
  outline: 2px solid var(--sbe-booking-step-two-price-colour);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .sbe-booking-recovery-notice {
    grid-template-columns: minmax(0, 1fr);
  }

  html .sbe-booking-recovery-notice > .sbe-gradient-action {
    width: 100%;
  }
}
