/* ATD V2.6 — reversible header / compact journey planner polish.
   Retired markup and original interaction script: docs/ui-archive/atd-v25-home-controls.md.
   Does not modify airport card layouts, booking/payment gates, or site routes. */
body[data-v13-home="true"] .site-header .shell.nav-row{justify-content:space-between}
body[data-v13-home="true"] .desktop-nav{flex:0 1 auto;margin-left:auto;justify-content:flex-end}
body[data-v13-home="true"] .desktop-nav a{font-size:12px}
body[data-v13-home="true"] .v20-booking-topline.v26-single-service{
 min-height:42px;display:flex;justify-content:space-between;gap:12px;
 padding:0 4px;border-bottom:1px solid #e6ebf3
}
body[data-v13-home="true"] .v26-journey-label{
 display:inline-flex;align-items:center;gap:8px;
 color:#075de7;font:850 12px Manrope,Arial,sans-serif;
}
body[data-v13-home="true"] .v26-journey-label>span{font-size:17px}
body[data-v13-home="true"] .v26-journey-subtitle{
 color:#596c85;font:650 11px Manrope,Arial,sans-serif;
}
body[data-v13-home="true"] #fare-form.v20-fare-form.v20-extra-open{
 grid-template-rows:minmax(62px,auto) auto auto auto auto auto auto;
 align-items:start;row-gap:0
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .route-fields,
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-when,
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-passenger-row,
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .primary-submit{
 align-self:start;max-height:75px;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .route-fields .input-wrap{
 min-height:62px!important;max-height:68px!important;
 padding-top:6px;padding-bottom:6px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .route-fields input{
 min-height:22px!important;height:23px!important;font-size:12px!important
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-when .v11-choice-row{
 display:none!important
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v20-more-button{
 grid-row:2;grid-column:1/-1;justify-self:start;
 min-height:34px;margin:5px 0 3px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .trip-toggle{
 grid-row:3;grid-column:1/-1;
 display:flex!important;align-items:center;gap:8px;
 max-width:100%;width:max-content;margin:5px 0 0;
 background:#f4f7fc;padding:7px 10px;border-radius:8px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-bags{
 grid-row:4;grid-column:1/-1;
 display:block!important;box-sizing:border-box;
 width:100%;max-width:100%!important;
 margin:10px 0 0!important;padding:14px 18px!important;
 background:#f8faff;border:1px solid #e1e8f2;
 border-radius:10px;min-height:0!important
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-bags legend{
 display:block;width:auto;font-size:12px;margin:0 0 8px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-bags-check{
 display:flex;align-items:center;gap:10px;max-width:100%;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-bag-details{
 max-width:560px;width:100%;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #return-options:not([hidden]){
 grid-row:5;grid-column:1/-1;display:block!important;
 width:100%;max-width:100%;box-sizing:border-box;
 margin:12px 0 0!important;padding:16px!important;
 background:#f8faff;border:1px solid #dfe7f1;border-radius:10px;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-options .return-route-card{
 width:100%;max-width:900px;margin:8px 0 0;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-options .return-route-row{
 display:flex;align-items:center;justify-content:space-between;gap:15px;
 padding:10px 12px;min-height:48px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-options .return-route-address{
 min-width:0;max-width:100%;overflow-wrap:anywhere
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-options .return-different-field:not([hidden]){
 display:flex!important;flex-direction:column;gap:4px;box-sizing:border-box;
 width:100%;max-width:900px;min-height:0!important;
 margin:0!important;padding:10px 12px!important;
 background:#fff;border:1px solid #e2eaf4;border-radius:8px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-options .return-different-field input{
 width:100%;min-height:36px!important;height:auto!important;
 font-size:13px;padding:8px!important
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-date-control{
 width:100%;max-width:370px;min-height:0;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #promo-field:not([hidden]){
 grid-row:6;grid-column:1/-1;
 width:100%;max-width:400px;min-height:0;
 margin:10px 0 0!important;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #v13-home-status{
 grid-row:7;grid-column:1/-1;
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open #v13-home-status:empty{display:none}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-inline-error{
 grid-row:8;grid-column:1/-1
}
@media(max-width:940px){
 body[data-v13-home="true"] .desktop-nav{display:none}
 body[data-v13-home="true"] #fare-form.v20-fare-form.v20-extra-open{
  grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .route-fields{
  grid-column:1/-1;grid-row:1
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-when{grid-column:1;grid-row:2}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-passenger-row{grid-column:2;grid-row:2}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .primary-submit{grid-column:1/-1;grid-row:3}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v20-more-button{grid-row:4}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .trip-toggle{grid-row:5}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-bags{grid-row:6}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #return-options:not([hidden]){grid-row:7}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #promo-field:not([hidden]){grid-row:8}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #v13-home-status{grid-row:9}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-inline-error{grid-row:10}
}
@media(max-width:650px){
 body[data-v13-home="true"] .v26-single-service{min-height:39px}
 body[data-v13-home="true"] .v26-journey-subtitle{font-size:10px}
 body[data-v13-home="true"] #fare-form.v20-fare-form.v20-extra-open{
  display:flex;flex-direction:column;align-items:stretch;gap:8px
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .route-fields{
  display:flex;flex-direction:column;min-height:0!important;max-height:none!important
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .route-fields .input-wrap{
  min-height:56px!important;max-height:56px!important;
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-when,
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-passenger-row,
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .primary-submit{
  width:100%;min-height:52px;max-height:none
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-bags,
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-options:not([hidden]){
  margin:2px 0!important;padding:12px!important
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .trip-toggle{
  width:100%;flex-wrap:wrap;justify-content:start
 }
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open #return-options .return-route-row{
  padding:9px 4px;gap:8px
 }
}


/* Keep date-timing choices visible in an independent compact row when expanded. */
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v26-timing-choices{
 display:flex!important;flex-wrap:wrap;gap:8px;grid-column:1/-1;grid-row:3;
 width:100%;margin:4px 0 1px;padding:5px 1px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v26-timing-choices .v11-pill{
 min-height:34px;padding:6px 12px;max-width:100%;font-size:11px
}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .trip-toggle{grid-row:4}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-bags{grid-row:5}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #return-options:not([hidden]){grid-row:6}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #promo-field:not([hidden]){grid-row:7}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #v13-home-status{grid-row:8}
body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-inline-error{grid-row:9}
@media(max-width:940px){
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v26-timing-choices{grid-row:5}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .trip-toggle{grid-row:6}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-bags{grid-row:7}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #return-options:not([hidden]){grid-row:8}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #promo-field:not([hidden]){grid-row:9}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #v13-home-status{grid-row:10}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-inline-error{grid-row:11}
}
@media(max-width:650px){
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .route-fields{order:1}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-when{order:2}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-passenger-row{order:3}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .primary-submit{order:4}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v20-more-button{order:5}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v26-timing-choices{order:6;grid-row:auto}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .trip-toggle{order:7}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > .v11-bags{order:8}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #return-options:not([hidden]){order:9}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #promo-field:not([hidden]){order:10}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open > #v13-home-status{order:11}
 body[data-v13-home="true"] .v20-fare-form.v20-extra-open .v11-inline-error{order:12}
}

/* V2.6 mobile screenshot correction: the old base stylesheet gave the
   expanded route column a half-width flex basis despite no overflow. */
@media(max-width:650px){
 body[data-v13-home="true"] #fare-form.v20-fare-form.v20-extra-open > .route-fields{
  box-sizing:border-box;width:100%!important;max-width:100%!important;
  min-width:0!important;flex:0 0 auto!important;
  align-self:stretch!important;flex-direction:column!important;
  align-items:stretch!important;
 }
 body[data-v13-home="true"] #fare-form.v20-fare-form.v20-extra-open > .route-fields .input-wrap{
  box-sizing:border-box;width:100%!important;max-width:100%!important;
  min-width:0!important;flex:0 0 56px!important;
  align-self:stretch!important;
 }
 body[data-v13-home="true"] #fare-form.v20-fare-form.v20-extra-open > .route-fields input{
  box-sizing:border-box;width:100%!important;max-width:100%!important;
 }
 body[data-v13-home="true"] #fare-form.v20-fare-form.v20-extra-open > .route-fields .swap-btn{
  left:auto!important;right:10px!important;top:45px!important
 }
}
