.aw-form-contact-bar,.site-header.aw-ux-header #main-menu .aw-form-mobile-book { display: none; }
/* The two directions already have visible labels. Surface the validation prompt at the group when it receives focus. */
#trip-form .direction-tabs:not(:focus-within) + #direction-status,
#trip-form #direction-status:empty { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; }
#trip-form [data-step="1"] #direction-status + .field { margin-block-start: 12px; }
/* The empty form holds no amount to quote. Keep the instructions beside the input it asks for. */
#trip-form [data-step="1"]:is(:not(:has([data-direction][aria-pressed="true"])),:has(#city:invalid),:has(#vehicle:invalid),:has(#return-trip:invalid),:has(#city-town:enabled:invalid)) .fare-teaser { display: none; }
#trip-form [data-step="1"] .field:has(#return-trip):not(:has(option[value="yes"]:checked)) > small,
#trip-form [data-step="1"] .field:has(#vehicle:invalid) > small { display: none; }
@media (max-width: 700px) {
  /* A dedicated space in the header keeps contact actions available beside the form. */
  body:has(.aw-form-contact-bar) > .aw-dispatch-contact { display: none !important; }
  body.aw-editorial:has(.aw-form-contact-bar) { padding-bottom: env(safe-area-inset-bottom); }
  html:has(.aw-form-contact-bar) { scroll-padding-top: calc(102px + env(safe-area-inset-top)); scroll-padding-bottom: 12px; }
  body:has(.aw-form-contact-bar) :is(input,select,textarea,button,summary,a[href]) { scroll-margin-block: 8px; }
  body:has(.aw-form-contact-bar) .site-header.aw-ux-header { position: sticky; top: 0; z-index: 31; padding-block: 4px; }
  body:has(.aw-form-contact-bar) .site-header .header-cta { display: none; }
  .site-header.aw-ux-header #main-menu .aw-form-mobile-book { display: flex; }
  .site-header .aw-form-contact-bar {
    display: grid; grid-column: 3; grid-row: 1; justify-items: stretch; gap: 2px; align-self: center;
  }
  .aw-form-contact-bar a {
    display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px;
    min-height: 44px; box-sizing: border-box; padding: 4px 10px;
    border: 1px solid #91acd1; border-radius: 22px; color: #fff; background: #102b50;
    font: 650 14px/1.15 Manrope, system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  }
  .aw-form-contact-bar .aw-live { background: #164673; }
  .aw-form-contact-bar img { width: 23px; height: 23px; object-fit: cover; border-radius: 50%; }
  .aw-form-contact-bar svg { width: 23px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .aw-form-contact-bar a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
  .aw-form-contact-bar a:hover { text-decoration: underline; text-underline-offset: 2px; }
  body:has(.aw-form-contact-bar) .planner-card,body:has(.aw-form-contact-bar) .aw-quote-form { scroll-margin-bottom:12px; }
}
