/* One real booking card, using the former homepage planner palette. */
body.booking-document .panel:has(.compact-customer-booking) {
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.customer-request-steps.compact-customer-booking {
  --compact-bg:#112d33;
  --compact-field:#15353a;
  --compact-border:#48605e;
  --compact-gold:#f3cb84;
  --compact-text:#f9f1df;
  border:1px solid #93754b;
  border-radius:20px;
  background:var(--compact-bg);
  color:var(--compact-text);
  box-shadow:0 14px 36px #040f1529;
}
.compact-customer-booking .customer-step-indicator { border-color:#93754b; }
.compact-customer-booking .customer-step-tab {
  min-height:48px;
  padding:8px 11px;
  gap:7px;
  background:var(--compact-bg);
  color:#cbd6d2;
  font-size:.78rem;
}
.compact-customer-booking .customer-step-tab[aria-selected=true] {
  background:#1d4146;
  color:var(--compact-gold);
}
.compact-customer-booking .customer-step-tab b,
.compact-customer-booking .customer-step-tab[aria-selected=true] b {
  flex-basis:24px;
  height:24px;
  border-color:#bb965a;
  color:var(--compact-gold);
}
.compact-customer-booking .customer-step-tab + .customer-step-tab { border-color:#48605e; }
.compact-customer-booking .customer-step-focus {
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.compact-customer-booking .customer-step-fields {
  margin:0;
  padding:12px;
}
.compact-customer-booking .customer-trip-panel {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  align-items:start;
  gap:7px;
}
.compact-customer-booking .customer-step-fields[hidden] { display:none; }
.compact-customer-booking .customer-trip-panel > *,
.compact-customer-booking .compact-plan-builder > * { grid-column:1/-1; min-width:0; }
.compact-customer-booking .customer-trip-panel > .plan-builder { display:contents; }
.compact-customer-booking .customer-address-search {
  position:relative;
  margin:0;
  min-width:0;
}
.compact-customer-booking .customer-address-search > label {
  display:grid;
  box-sizing:border-box;
  min-width:0;
  margin:0;
  padding:6px 10px;
  gap:3px;
  border:1px solid var(--compact-border);
  border-radius:11px;
  background:var(--compact-field);
}
.compact-customer-booking .customer-address-search label > span {
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:var(--compact-gold);
  font-size:11px;
  font-weight:700;
  line-height:1.4;
  letter-spacing:.05em;
}
.compact-customer-booking .customer-address-search label b {
  display:grid;
  flex:0 0 18px;
  place-items:center;
  height:18px;
  border:1px solid #bb965a;
  border-radius:50%;
  font-size:10px;
}
.compact-customer-booking .customer-address-search input {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:2px 0;
  border:0;
  border-radius:3px;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:16px;
  line-height:1.35;
}
.compact-customer-booking .customer-address-search input::placeholder { color:#b8c5c3; opacity:1; }
.compact-customer-booking .address-full-value,
.compact-customer-booking .customer-address-message { color:#d2d9d2; font-size:12px; }
.compact-customer-booking .customer-address-options {
  position:static;
  width:100%;
  max-width:100%;
  max-height:min(320px,42vh);
  margin:6px 0 0;
  overflow-x:hidden;
  overflow-y:auto;
  border:1px solid #a48650;
  border-radius:10px;
  background:#10292e;
  overscroll-behavior:contain;
}
.compact-customer-booking .customer-address-options button {
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:48px;
  padding:9px 10px;
  gap:9px;
  border:0;
  border-bottom:1px solid var(--compact-border);
  border-radius:0;
  background:#10292e;
  color:#fff;
  font:inherit;
  font-size:14px;
  text-align:start;
  white-space:normal;
}
.compact-customer-booking .customer-address-options button[aria-selected=true] { background:#24444a; }
.compact-customer-booking .customer-address-options button > span:first-child { flex-shrink:0; color:var(--compact-gold); }
.compact-customer-booking .compact-booking-counter {
  order:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  min-height:44px;
  margin:0;
  padding:3px 10px;
  border:1px solid var(--compact-border);
  border-radius:10px;
  background:var(--compact-field);
}
.compact-customer-booking .compact-counter-label { min-width:0; color:var(--compact-gold); font-size:13px; font-weight:600; }
.compact-customer-booking .compact-counter-controls {
  display:grid;
  grid-template-columns:36px 28px 36px;
  flex:0 0 auto;
  width:auto;
  margin:0;
  border:1px solid var(--compact-border);
  border-radius:7px;
  background:transparent;
  direction:ltr;
}
.compact-customer-booking .compact-counter-controls > button {
  display:grid;
  place-items:center;
  width:36px;
  min-width:0;
  min-height:34px;
  margin:0;
  padding:0;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--compact-text);
  font:inherit;
  font-size:22px;
  line-height:1;
  box-shadow:none;
}
.compact-customer-booking .compact-counter-controls > output {
  display:grid;
  place-items:center;
  border-inline:1px solid var(--compact-border);
  color:var(--compact-text);
  font-size:16px;
  font-weight:600;
}
.compact-customer-booking .compact-counter-controls > button:disabled { opacity:.4; }
.compact-customer-booking .single-departure {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:5px 7px;
  margin:0;
  padding:0;
}
.compact-customer-booking .single-departure > button {
  width:auto;
  min-height:42px;
  margin:0;
  padding:6px 9px;
  border:1px solid var(--compact-border);
  border-radius:9px;
  background:var(--compact-field);
  color:var(--compact-gold);
  font:inherit;
  font-size:12px;
}
body.booking-document .compact-customer-booking .single-departure .compact-departure {
  margin:0;
  border-color:var(--compact-border);
  background:var(--compact-field);
  color:var(--compact-text);
}
.compact-customer-booking .compact-native-picker { border-color:var(--compact-border); }
.compact-customer-booking .single-departure > small { grid-column:1/-1; margin:0; color:#cbd6d2; font-size:11px; line-height:1.4; }
.compact-customer-booking .customer-trip-options,
.compact-customer-booking .customer-items-disclosure,
.compact-customer-booking .customer-conditions-disclosure {
  margin:0;
  padding:0;
  border:1px solid var(--compact-border);
  border-radius:10px;
  background:var(--compact-field);
  color:var(--compact-text);
}
.compact-customer-booking .customer-trip-options > summary,
.compact-customer-booking .customer-items-disclosure > summary,
.compact-customer-booking .customer-conditions-disclosure > summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  min-width:0;
  min-height:38px;
  padding:6px 10px;
  cursor:pointer;
  font-size:13px;
  line-height:1.4;
}
.compact-trip-options-body { display:grid; gap:8px; padding:4px 10px 10px; }
.customer-trip-options:not([open]) > .compact-trip-options-body { display:none; }
.compact-customer-booking .compact-trip-options-body .field { margin:0; min-width:0; gap:4px; }
.compact-customer-booking .compact-trip-options-body .field > span,
.compact-customer-booking .compact-trip-options-body legend { color:var(--compact-gold); font-size:12px; }
.compact-customer-booking .compact-trip-options-body .tiny,
.compact-customer-booking .compact-trip-options-body small { color:#d2d9d2; font-size:12px; }
.compact-customer-booking .compact-trip-options-body .plan-settings { gap:8px; }
.compact-customer-booking .compact-trip-options-body .customer-stop { order:0; }
.compact-customer-booking .customer-items-disclosure > .travel-items { margin:0; padding:4px 10px 10px; border:0; color:#d2d9d2; }
.compact-customer-booking .customer-items-disclosure .field > span { color:var(--compact-gold); }
.compact-customer-booking .customer-items-disclosure legend { font-size:12px; color:var(--compact-gold); }
.compact-customer-booking .customer-conditions-disclosure > p { margin:0; padding:2px 10px 10px; color:#d2d9d2; }
.compact-customer-booking .customer-contact-panel { margin:12px; padding:12px; border-radius:12px; background:var(--route-paper); color:var(--route-ink); }
.compact-customer-booking .customer-step-footer { padding:11px 12px; border-top:1px solid var(--compact-border); background:var(--compact-bg); color:var(--compact-text); }
.compact-customer-booking .customer-step-footer > div > span { color:var(--compact-gold); font-size:11px; }
.compact-customer-booking .customer-step-footer > div > strong { color:var(--compact-text); }
.compact-customer-booking .customer-step-footer .primary { min-height:44px; border:1px solid #f9c976; border-radius:12px; padding:9px 14px; background:linear-gradient(120deg,#f7c779,#eda72d); color:#13292c; }
.compact-customer-booking .customer-step-error { color:#ffe2ba; }
/* Keep the route preview and its map, metrics and fare presentation unchanged. */
.compact-customer-booking .customer-route-estimate { background:var(--route-paper); color:var(--route-ink); }
@media (min-width:720px) {
  .compact-customer-booking .customer-trip-panel > .customer-address-search { grid-column:span 6; }
  .compact-customer-booking .customer-trip-panel > .compact-booking-counter { grid-column:span 6; }
}
@media (max-width:380px) {
  .compact-customer-booking .single-departure { grid-template-columns:minmax(0,1fr); }
  .compact-customer-booking .single-departure > button { justify-self:start; min-height:30px; padding:3px 8px; }
}

html.main-page body #app .v7hero .v7hero-inner {
  grid-template:"intro intro" auto "vehicle vehicle" auto "story proof" auto / minmax(0,1fr) minmax(0,1fr);
}
@media (max-width:920px) {
  html.main-page body #app .v7hero .v7hero-inner { grid-template:"intro" auto "vehicle" auto "story" auto "proof" auto / minmax(0,1fr); }
}

html.main-page #waseem-planning .w-price-card.price-wave-enabled { isolation:isolate; overflow:hidden; }
html.main-page #waseem-planning .w-price-card.price-wave-enabled::after {
  content:"";
  position:absolute;
  inset:-70% -30%;
  z-index:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(165deg,transparent 28%,#e8b65c3d 43%,#8cafa425 58%,transparent 73%);
  opacity:calc(var(--price-wave-progress,0) * .9);
  transform:translate3d(0,calc((1 - var(--price-wave-progress,0)) * 36%),0);
}
html.main-page #waseem-planning .w-price-card.price-wave-enabled > * { position:relative; z-index:1; }
@media (prefers-reduced-motion:reduce) {
  html.main-page #waseem-planning .w-price-card.price-wave-enabled::after { display:none; }
}

/* Text follows the actual surface, including localized child spans. */
.compact-customer-booking .customer-items-disclosure > .travel-items {
  margin:0 8px 8px; padding:10px; border-radius:9px;
  background:#f8f5eb; color:#18363a;
}
.compact-customer-booking .customer-items-disclosure .travel-items :is(legend,label,summary,p,small,span) {
  color:#18363a;
}
.compact-customer-booking .customer-items-disclosure .travel-items .field > span { color:#18363a; }
.compact-customer-booking .travel-items :is(input,select,textarea) {
  color:#18363a; background:#fff; color-scheme:light; font-size:16px;
}
.compact-customer-booking .travel-items :is(input,textarea)::placeholder { color:#5a6a6a; opacity:1; }
.compact-customer-booking .travel-items .carried-options label { opacity:1; }
.compact-customer-booking .travel-items .carried-options input { accent-color:#18363a; }
.compact-customer-booking .travel-items .luggage-choice-field { grid-column:1/-1; margin:0; }
.compact-customer-booking .travel-items .luggage-choice-field select { width:100%; min-height:44px; }
.compact-customer-booking .single-departure > small,
.compact-customer-booking .single-departure > small [data-waseem-text],
.compact-customer-booking .compact-trip-options-body :is(small,.tiny),
.compact-customer-booking .compact-trip-options-body :is(small,.tiny) [data-waseem-text],
.compact-customer-booking .customer-conditions-disclosure > p,
.compact-customer-booking .customer-conditions-disclosure > p [data-waseem-text] { color:#dce5e0; }
.compact-customer-booking .compact-trip-options-body .customer-add-stop,
.compact-customer-booking .compact-trip-options-body .customer-add-stop [data-waseem-text] { color:#f9f1df; }
.compact-customer-booking .customer-contact-route-preview { padding:0 12px 12px; min-width:0; }
.agreement-route-preview { min-width:0; margin:16px 0; }
.agreement-route-preview > .customer-route-estimate { margin-block:0; }

.draft-route-calculator { min-width:0; }
.manual-route-adjustment { margin:10px 0; padding:10px 12px; border:1px solid #d2d4c7; border-radius:10px; background:#f8f5eb; color:#18363a; }
.manual-route-adjustment > summary { cursor:pointer; font-size:14px; font-weight:600; }
.manual-route-adjustment[open] > summary { margin-bottom:12px; }

/* The itinerary editor lives on the dark intake surface, including standalone
   booking. Nested itinerary cards keep their existing light background. */
body.booking-document .compact-customer-booking .compact-trip-options-body :is(.plan-settings,.plan-editor) {
  background:var(--compact-field) !important;
  color:var(--compact-text);
}

body.booking-document .compact-customer-booking .customer-trip-panel :is(.secondary,.text-btn) {
  background:var(--compact-field);
  border-color:var(--compact-gold);
  color:var(--compact-text);
  opacity:1;
}

body.booking-document .compact-customer-booking .customer-trip-panel :is(.secondary,.text-btn):hover:not(:disabled) {
  background:#24444a;
  color:#fffdf8;
}

body.booking-document .compact-customer-booking .customer-trip-panel :is(.secondary,.text-btn) [data-waseem-text] {
  color:inherit;
}

body.booking-document .compact-customer-booking .compact-trip-options-body :is(.plan-heading,.plan-weekdays,.plan-total,.plan-duration-label,.consent) {
  color:var(--compact-text);
}

/* These original cream panels must use dark text, not inherit the intake's
   cream text or its gold field labels. This also covers translated spans. */
body.booking-document .compact-customer-booking :is(.plan-trip,.plan-summary,.plan-calculation,.plan-mode .consent,.manual-route-adjustment) {
  color:#18363a;
}

body.booking-document .compact-customer-booking :is(.plan-trip,.plan-summary,.plan-calculation,.plan-mode .consent,.manual-route-adjustment) :is(label,legend,summary,p,small,span,h3,h4,b,strong) {
  color:#18363a;
}

body.booking-document .compact-customer-booking :is(.plan-trip,.plan-summary,.plan-calculation,.plan-mode .consent,.manual-route-adjustment) :is(.secondary,.text-btn) {
  background:transparent;
  color:#18363a;
  border-color:#586b68;
}

body.booking-document .compact-customer-booking :is(.plan-trip,.plan-summary,.plan-calculation,.plan-mode .consent,.manual-route-adjustment) :is(.secondary,.text-btn):hover:not(:disabled) {
  background:#e9eee7;
  color:#18363a;
}

body.booking-document .compact-customer-booking .customer-trip-panel :is(.secondary,.text-btn):focus-visible {
  outline:3px solid var(--compact-gold);
  outline-offset:3px;
}

body.booking-document .compact-customer-booking :is(.plan-trip,.plan-summary,.plan-calculation,.plan-mode .consent,.manual-route-adjustment) :is(.secondary,.text-btn):focus-visible {
  outline-color:#18363a;
}

/* Inactive controls stay genuinely disabled and still have readable labels. */
body.booking-document .compact-customer-booking :is(.primary,.secondary,.text-btn):disabled {
  background:#3f5554;
  color:#e0e7e2;
  border-color:#8a9d96;
  opacity:1;
}

body.booking-document .compact-customer-booking .compact-counter-controls > button:disabled {
  opacity:.65;
}
