.booking-panel--flight-compact-preview { width: min(100% - 32px, 1380px); margin-top: -28px; overflow: visible; border-radius: 18px; }
.booking-panel--flight-compact-preview .booking-header { padding: 14px 22px 0; }
.booking-panel--flight-compact-preview .booking-header .booking-tabs { gap: 28px; padding-bottom: 0; border-bottom: 0; }
.booking-panel--flight-compact-preview .booking-form { padding: 18px 22px 22px; }
.booking-panel--flight-compact-preview .booking-form-fields--flights.active { display: block; }
.flight-preview-search { position: relative; color: #101827; }
.booking-panel--flight-compact-preview .booking-form fieldset.flight-preview-trip-inline { position: relative !important; z-index: 45 !important; display: flex !important; width: max-content !important; max-width: 100% !important; min-height: 38px !important; align-items: center !important; gap: 22px !important; margin: -16px 8px 6px !important; margin-inline-end: auto !important; padding: 6px 12px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-trip-inline > legend { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-trip-inline > label { display: inline-flex !important; width: auto !important; min-height: 30px !important; align-items: center !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #263244 !important; font-size: 12px !important; font-weight: 850 !important; white-space: nowrap !important; cursor: pointer !important; touch-action: manipulation; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-trip-inline input[type='radio'] { position: static !important; width: 18px !important; height: 18px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 1.5px solid #9ba6b5 !important; border-radius: 50% !important; background: #fff !important; box-shadow: none !important; appearance: none !important; }
.flight-preview-trip-inline input[type='radio']:checked { border-color: #c27b00 !important; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 9px #d99100 !important; }
.flight-preview-bar { display: grid; grid-template-columns: minmax(180px,1.35fr) 0 minmax(180px,1.35fr) minmax(150px,.9fr) minmax(110px,.62fr) minmax(145px,.72fr); min-height: 78px; align-items: stretch; overflow: visible; border: 1px solid #d9e0e8; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.08); }
.booking-panel--flight-compact-preview .booking-form .flight-preview-field { position: relative; display: flex; min-width: 0; min-height: 74px !important; flex-direction: column; justify-content: center; align-items: stretch; gap: 5px; padding: 11px 16px !important; border: 0 !important; border-inline-start: 1px solid #e8ebef !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: start; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-airport { border-inline-start: 0 !important; }
.flight-preview-field > span { display: flex; align-items: center; gap: 6px; color: #6b7688; font-size: 10px; font-weight: 800; }
.flight-preview-field > span i { color: #b97900; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-field input,.booking-panel--flight-compact-preview .booking-form .flight-preview-field select { width: 100%; min-width: 0; min-height: 28px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; background-image: none !important; box-shadow: none !important; color: #172033; font-size: 13px !important; font-weight: 750 !important; }
.flight-preview-airport input::placeholder { color: #94a3b8; opacity: 1; }
.flight-preview-airport .booking-place-hint,
.flight-preview-airport [data-booking-place-invalid][hidden] { display: none !important; }
.flight-preview-swap { position: relative; z-index: 2; width: 30px; min-width: 30px; margin-inline: -15px; padding: 0; border: 0; background: transparent; color: #a66b00; cursor: pointer; }
.flight-preview-swap :is(i,svg) { position: absolute; top: 50%; left: 50%; display: grid; width: 15px; height: 15px; place-items: center; border: 0; border-radius: 0; background: transparent; transform: translate(-50%,-50%); }
.booking-panel--flight-compact-preview .booking-form .flight-preview-traveller-trigger { display: flex; width: 100%; height: 100%; min-height: 52px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #172033; text-align: start; cursor: pointer; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-traveller-trigger > span { display: flex; align-items: center; gap: 6px; color: #6b7688; font-size: 10px; font-weight: 800; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-traveller-trigger > span i { color: #b97900; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-traveller-trigger > strong { display: block; width: 100%; overflow: hidden; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-traveller-trigger:focus-visible { outline: 2px solid #172033; outline-offset: 4px; }
.flight-preview-traveller-panel[hidden],.flight-preview-sheet-backdrop[hidden] { display: none !important; }
.flight-preview-traveller-panel { position: absolute; z-index: 10050; inset-block-start: calc(100% + 14px); left: 50%; right: auto; width: min(320px,calc(100vw - 32px)); padding: 16px; border: 1px solid #dce3eb; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(15,23,42,.18); transform: translateX(-50%); }
.flight-preview-traveller-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid #e6eaf0; }
.flight-preview-traveller-head > div { display: grid; gap: 3px; }
.flight-preview-traveller-head strong { color: #111827; font-size: 16px; }
.flight-preview-traveller-head small { color: #738095; font-size: 11px; }
.flight-preview-traveller-head > button { min-height: 32px; padding: 0 4px; border: 0; border-radius: 0; background: transparent; color: #6f4800; font-weight: 900; cursor: pointer; }
.flight-preview-stepper { display: grid; grid-template-columns: 40px 48px 40px; justify-content: center; align-items: center; gap: 10px; padding: 12px 0; direction: ltr; }
.flight-preview-stepper > button { min-height: 46px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #101827; font-size: 21px; font-weight: 900; cursor: pointer; }
.flight-preview-stepper > button:hover:not(:disabled),.flight-preview-stepper > button:focus-visible { color: #b87300; background: #fff8eb; }
.flight-preview-stepper > button:disabled { opacity: .35; cursor: default; }
.flight-preview-stepper > div { display: grid; min-height: 50px; justify-items: center; align-content: center; gap: 2px; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-stepper input { width: 56px; min-height: 28px !important; padding: 0 !important; background: transparent !important; color: #101827; font-size: 20px !important; font-weight: 900 !important; text-align: center !important; appearance: textfield; }
.flight-preview-stepper input::-webkit-inner-spin-button { display: none; }
.flight-preview-stepper > div > span { color: #7a8699; font-size: 9px; font-weight: 700; }
.flight-preview-traveller-groups { display: grid; padding: 4px 0; }
.flight-preview-traveller-row { display: grid; grid-template-columns: minmax(0,1fr) 124px; align-items: center; gap: 10px; min-height: 58px; border-bottom: 1px solid #edf1f5; }
.flight-preview-traveller-row:last-child { border-bottom: 0; }
.flight-preview-traveller-copy { display: grid; gap: 2px; min-width: 0; text-align: start; }
.flight-preview-traveller-copy strong { color: #172033; font-size: 12px; font-weight: 850; }
.flight-preview-traveller-copy small { color: #7a8699; font-size: 9px; font-weight: 700; }
.flight-preview-mini-stepper { display: grid; grid-template-columns: 38px 42px 38px; align-items: center; justify-content: end; direction: ltr; }
.flight-preview-mini-stepper button { display: grid; min-height: 40px; place-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; color: #101827; font-size: 20px; font-weight: 900; cursor: pointer; }
.flight-preview-mini-stepper button:hover:not(:disabled),.flight-preview-mini-stepper button:focus-visible { background: #fff8eb; color: #a66b00; }
.flight-preview-mini-stepper button:disabled { color: #aeb7c3; cursor: default; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-mini-stepper input { width: 42px; min-height: 34px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #101827; font-size: 18px !important; font-weight: 900 !important; text-align: center !important; appearance: textfield; }
.flight-preview-mini-stepper input::-webkit-inner-spin-button { display: none; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-control { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; justify-items: stretch; gap: 6px; min-height: 44px; padding: 10px 0 0; border-top: 1px solid #eef1f4; text-align: center; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-control > span { width: 100%; padding: 0; color: #536277; font-size: 11px; font-weight: 800; text-align: start; }
.flight-preview-cabin-picker { position: relative; min-width: 0; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-trigger { position: relative; display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: center; gap: 10px; padding: 0 34px; border: 1px solid #d5dde7; border-radius: 8px; background: #fff; color: #172033; font-size: 12px; font-weight: 800; text-align: center; cursor: pointer; }
.flight-preview-cabin-trigger i { color: #768397; font-size: 10px; transition: transform .16s ease; }
[dir='rtl'] .flight-preview-cabin-trigger i { position: absolute; left: 12px; }
[dir='ltr'] .flight-preview-cabin-trigger i { position: absolute; right: 12px; }
.flight-preview-cabin-trigger[aria-expanded='true'] i { transform: rotate(180deg); }
.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-trigger:focus-visible { outline: 2px solid #d99100; outline-offset: 2px; }
.flight-preview-cabin-options[hidden] { display: none !important; }
.flight-preview-cabin-options { position: static; z-index: 3; overflow: hidden; margin-top: 6px; border: 1px solid #dce3eb; border-radius: 9px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.16); }
.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-options > button { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 11px; border: 0; border-bottom: 1px solid #edf0f4; border-radius: 0; background: #fff; color: #263244; font-size: 12px; font-weight: 750; text-align: start; cursor: pointer; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-options > button:last-child { border-bottom: 0; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-options > button:hover,.booking-panel--flight-compact-preview .booking-form .flight-preview-cabin-options > button:focus-visible { background: #fff8e8; color: #744b00; }
.flight-preview-cabin-options > button[aria-selected='true'] { background: #fff8e8; color: #744b00; font-weight: 900; }
.flight-preview-cabin-check { flex: 0 0 auto; color: #9a6500; font-size: 13px; font-weight: 900; opacity: 0; }
.flight-preview-cabin-options > button[aria-selected='true'] .flight-preview-cabin-check { opacity: 1; }
.flight-preview-sheet-backdrop { display: none; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-date-trigger { display: block; width: 100%; min-height: 28px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #172033; text-align: start; cursor: pointer; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-date-trigger strong { display: block; overflow: hidden; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-date-trigger:disabled { color: #9aa4b2; cursor: default; }
.booking-panel--flight-compact-preview .booking-form .flight-preview-date-trigger:focus-visible { outline: 2px solid #d99100; outline-offset: 3px; }
.flight-preview-calendar-panel[hidden] { display: none !important; }
.flight-preview-calendar-panel { position: absolute; z-index: 10050; inset-block-start: calc(100% + 14px); inset-inline-end: 0; width: min(430px,calc(100vw - 32px)); padding: 18px; border: 1px solid #dce3eb; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(15,23,42,.18); }
.flight-preview-calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #e6eaf0; }
.flight-preview-calendar-head > div { display: grid; gap: 3px; }
.flight-preview-calendar-head strong { color: #172033; font-size: 15px; }
.flight-preview-calendar-head small { color: #738095; font-size: 11px; }
.flight-preview-calendar-head button { min-height: 32px; padding: 0 4px; border: 0; border-radius: 0; background: transparent; color: #6f4800; font-weight: 900; cursor: pointer; }
.flight-preview-calendar-nav { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; margin: 12px 0 14px; pointer-events: none; }
.flight-preview-calendar-nav > strong { color: #39465a; font-size: 12px; text-align: center; }
.flight-preview-calendar-nav button { position: relative; z-index: 2; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #f5f7fa; color: #4b596d; cursor: pointer; pointer-events: auto; }
.flight-preview-calendar-months { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.flight-preview-calendar-month h3 { margin: 0 0 12px; color: #26324a; font-size: 14px; text-align: center; }
.flight-preview-calendar-weekdays,.flight-preview-calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); text-align: center; }
.flight-preview-calendar-weekdays { margin-bottom: 5px; color: #8490a2; font-size: 10px; font-weight: 800; }
.flight-preview-calendar-days { row-gap: 3px; }
.flight-preview-calendar-days > span { min-height: 32px; }
.flight-preview-calendar-days button { width: 32px; height: 32px; justify-self: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #2c3749; font-size: 12px; cursor: pointer; }
.flight-preview-calendar-days button:hover:not(:disabled) { background: #fff3d8; }
.flight-preview-calendar-days button:disabled { color: #c8ced7; cursor: default; }
.flight-preview-calendar-days button.is-in-range { border-radius: 0; background: #fff3d8; }
.flight-preview-calendar-days button.is-start,.flight-preview-calendar-days button.is-end { position: relative; z-index: 2; background: #f2aa19; color: #111827; box-shadow: 0 0 0 2px #fff; font-weight: 900; }
.booking-form .flight-preview-bar .flight-preview-submit { grid-column: 6; grid-row: 1; align-self: center; width: auto; min-height: 52px; height: 52px; margin: 10px 12px; padding-inline: 18px; border: 1px solid #d99100; border-radius: 7px; background: #f2aa19; box-shadow: 0 7px 18px rgba(176,112,0,.16); color: #101722; font-size: 14px; letter-spacing: 0; gap: 9px; white-space: nowrap; transition: background-color .18s ease,box-shadow .18s ease; }
.booking-form .flight-preview-bar .flight-preview-submit:hover { background: #eaa20d; box-shadow: 0 9px 20px rgba(176,112,0,.2); transform: none; }
.booking-form .flight-preview-bar .flight-preview-submit:focus-visible { outline: 3px solid rgba(217,145,0,.32); outline-offset: 3px; }
.booking-form .flight-preview-bar .flight-preview-submit:active { background: #df9708; box-shadow: 0 4px 10px rgba(176,112,0,.2); }
.booking-form .flight-preview-bar .flight-preview-submit::before,.booking-form .flight-preview-bar .flight-preview-submit::after { content: none !important; display: none !important; }
.flight-preview-note { display: none; align-items: center; gap: 7px; margin: 8px 10px 0; color: #a24734; font-size: 10px; font-weight: 750; line-height: 1.5; }
.flight-preview-note.is-visible { display: flex; }
.flight-preview-note i { color: #d99100; }.flight-preview-note.is-highlighted { color: #825600; }
/* Keep the complete Flight search in one compact row through tablet widths. */
@media (min-width:768px) and (max-width:1100px) {
  .booking-panel--flight-compact-preview .booking-form { padding: 14px; }
  .flight-preview-bar { grid-template-columns: minmax(0,1.35fr) 0 minmax(0,1.35fr) minmax(0,.9fr) minmax(0,.62fr) minmax(108px,.72fr); }
  .booking-panel--flight-compact-preview .booking-form .flight-preview-field { padding-inline: 8px !important; }
  .booking-form .flight-preview-bar .flight-preview-submit { grid-column: 6; grid-row: 1; justify-self: stretch; width: calc(100% - 16px); min-width: 0; margin-inline: 8px; padding-inline: 10px; }
  .flight-preview-note { margin-inline: 4px; }
}
@media (max-width:767.98px) { .booking-panel--flight-compact-preview { width: min(100% - 20px,520px); margin-top: -20px; border-radius: 16px; }.booking-panel--flight-compact-preview .booking-header { padding: 12px 12px 0; }.booking-panel--flight-compact-preview .booking-form { padding: 14px; } }
@media (max-width:767.98px) { .booking-panel--flight-compact-preview .booking-form fieldset.flight-preview-trip-inline { min-height: 36px !important; gap: 18px !important; margin-top: -13px !important; padding: 5px 9px !important; }.booking-panel--flight-compact-preview .booking-form .flight-preview-trip-inline > label { min-height: 28px !important; font-size: 11px !important; }.booking-panel--flight-compact-preview .booking-form .flight-preview-trip-inline input[type='radio'] { width: 17px !important; height: 17px !important; }.flight-preview-bar { position: relative; grid-template-columns: 1fr 42px; min-height: 0; overflow: hidden; }.flight-preview-swap { position: absolute; z-index: 30; inset-block-start: 62px; left: auto; right: 18px; width: 36px; min-width: 36px; height: 36px; margin: 0; border: 0; background: transparent; box-shadow: none; transform: translate(50%,-50%) rotate(90deg); }.flight-preview-swap :is(i,svg) { position: static; display: block; width: 14px; height: 14px; border: 0; border-radius: 0; background: transparent; font-size: 14px; transform: none; filter: drop-shadow(0 1px 0 #fff); }html[dir='rtl'] .flight-preview-swap { left: 18px; right: auto; transform: translate(-50%,-50%) rotate(90deg); }.booking-panel--flight-compact-preview .booking-form .flight-preview-field,.flight-preview-date,.flight-preview-travel { grid-column: 1 / -1; min-height: 62px !important; border-inline-start: 0 !important; border-bottom: 1px solid #e6e9ee !important; }.booking-panel--flight-compact-preview .booking-form .flight-preview-airport:has(input[name='flight_origin']) { position: relative; border-bottom: 0 !important; }.booking-panel--flight-compact-preview .booking-form .flight-preview-airport:has(input[name='flight_origin'])::after { content: ''; position: absolute; z-index: 1; inset-inline: 18px; inset-block-end: 0; height: 1px; background: #e4e8ed; pointer-events: none; }.booking-panel--flight-compact-preview .booking-form .flight-preview-airport:has(input[name='flight_destination']) { border-bottom: 1px solid #e6e9ee !important; }.booking-form .flight-preview-bar .flight-preview-submit { grid-column: 1 / -1; grid-row: auto; width: auto; }.flight-preview-calendar-panel,.flight-preview-traveller-panel { position: fixed; z-index: 10060; inset: auto 0 0; width: 100%; max-height: min(78dvh,620px); overflow-y: auto; padding: 17px 16px calc(86px + env(safe-area-inset-bottom)); border: 0; border-radius: 14px 14px 0 0; box-shadow: 0 -18px 60px rgba(15,23,42,.22); transform: none; }.flight-preview-travel-sheet.is-open .flight-preview-sheet-backdrop:not([hidden]) { position: fixed; z-index: 10055; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(9,16,29,.45); backdrop-filter: blur(2px); }.flight-preview-calendar-months { grid-template-columns: 1fr; }.flight-preview-calendar-month:nth-child(2) { display: none; }.flight-preview-note { align-items: flex-start; } }
@media (prefers-reduced-motion:reduce) { .flight-preview-note { transition: none; } }

/* Match the shared compact system: clean wide rail, subtle dividers when stacked. */
.booking-panel--flight-compact-preview,
.booking-panel--flight-compact-preview .flight-preview-bar,
.booking-panel--flight-compact-preview .booking-form .flight-preview-field{
  border:0!important;
}

@media(max-width:767.98px){
  .booking-panel--flight-compact-preview .flight-preview-bar{
    border:1px solid rgba(148,163,184,.16)!important;
  }
  .booking-panel--flight-compact-preview .booking-form .flight-preview-field,
  .booking-panel--flight-compact-preview .flight-preview-date,
  .booking-panel--flight-compact-preview .flight-preview-travel{
    border:0!important;
    border-bottom:1px solid rgba(148,163,184,.18)!important;
  }
  .booking-panel--flight-compact-preview .booking-form .flight-preview-airport:has(input[name='flight_origin']){
    border-bottom:0!important;
  }
  .booking-panel--flight-compact-preview .booking-form .flight-preview-airport:has(input[name='flight_origin'])::after{
    display:block;
    background:rgba(148,163,184,.18);
  }
  .booking-panel--flight-compact-preview .booking-form .flight-preview-airport:has(input[name='flight_destination']){
    border-bottom:1px solid rgba(148,163,184,.18)!important;
  }
  .booking-panel--flight-compact-preview .booking-form .flight-preview-travel{
    border-bottom:0!important;
  }
}
/* Let the stacked form use the available tablet and phone width. */
@media(max-width:767.98px){.booking-panel--flight-compact-preview{width:calc(100% - 20px)}}
