/* v1139H — root correction for Fast Track two-column proportions.
   Do not widen the right lane. Keep the main content wide, make the form
   controls shorter inside the existing sidebar, and remove desktop fee-table
   horizontal scrolling caused by the old 780px minimum width. */

@media (min-width:981px){
  html body.fasttrack-polished-v1136W .emergency-article-layout-v787FR{
    grid-template-columns:minmax(0,1fr) 330px!important;
    column-gap:28px!important;
    align-items:start!important;
    overflow:visible!important;
    overflow-x:visible!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-article-v1136V{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    overflow-x:visible!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-right-rail-v1137G{
    width:330px!important;
    min-width:330px!important;
    max-width:330px!important;
    justify-self:end!important;
    box-sizing:border-box!important;
    padding:0 14px 42px 0!important;
    overflow:visible!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-registration-rail-v1136AI,
  html body.fasttrack-polished-v1136W .fasttrack-registration-card-v1136AI,
  html body.fasttrack-polished-v1136W .fasttrack-scroll-register-v1136AI{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Shorten the actual controls instead of stealing width from the article. */
  html body.fasttrack-polished-v1136W .fasttrack-registration-card-v1136AI{
    padding-left:24px!important;
    padding-right:24px!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-registration-form-v1136AI,
  html body.fasttrack-polished-v1136W .fasttrack-registration-head-v1136AI{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-registration-field-v1136AI select,
  html body.fasttrack-polished-v1136W .fasttrack-registration-field-v1136AI input,
  html body.fasttrack-polished-v1136W .fasttrack-registration-addon-toggle-v1136AI,
  html body.fasttrack-polished-v1136W .fasttrack-registration-passenger-control-v1137H,
  html body.fasttrack-polished-v1136W .fasttrack-registration-result-v1136AI,
  html body.fasttrack-polished-v1136W .fasttrack-registration-continue-v1136AI{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Desktop fee tables must fit the restored main column instead of forcing
     the legacy 780px minimum and showing a horizontal scrollbar. */
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-table-wrap-v1137G,
  html body.fasttrack-polished-v1136W .vge-airport-price-table-wrap-v1135ZN{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:fixed!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN th:first-child,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN td:first-child{
    width:34%!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN thead th,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody th,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN tbody td{
    padding-left:10px!important;
    padding-right:10px!important;
    overflow-wrap:anywhere!important;
  }
}

@media (max-width:980px){
  html body.fasttrack-polished-v1136W .fasttrack-right-rail-v1137G{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding:0!important;
  }

  /* Small screens may still scroll the wide matrix naturally. */
  html body.fasttrack-polished-v1136W .fasttrack-price-table-wrap-v1137G,
  html body.fasttrack-polished-v1136W .vge-airport-price-table-wrap-v1135ZN{
    overflow-x:auto!important;
  }
}
