/* v1139K — Fast Track mobile density and header correction.
   Mobile only. Desktop layout is intentionally untouched. */

@media (max-width:700px){
  /* Remove the desktop/chat safe-zone spacer that created a large blank area
     below Continue to Step 2 on mobile. */
  html body.fasttrack-polished-v1136W .fasttrack-registration-form-v1136AI::after{
    content:none!important;
    display:none!important;
    height:0!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-registration-card-v1136AI{
    padding:16px 12px 18px!important;
    border-radius:20px!important;
    min-height:0!important;
    height:auto!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-registration-form-v1136AI{
    gap:10px!important;
  }

  /* Use more of the narrow screen: reduce the repeated left/right indentation
     on the page shell, content cards and text sections. */
  html body.fasttrack-polished-v1136W main.emergency-article-shell-v787FR,
  html body.fasttrack-polished-v1136W .emergency-article-layout-v787FR{
    width:100%!important;
    max-width:100%!important;
    padding-left:8px!important;
    padding-right:8px!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-article-v1136V,
  html body.fasttrack-polished-v1136W .fasttrack-right-rail-v1137G{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  html body.fasttrack-polished-v1136W .emergency-guide-box-v787FR,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G,
  html body.fasttrack-polished-v1136W .fasttrack-availability-notes-v1137V{
    margin-left:0!important;
    margin-right:0!important;
  }

  html body.fasttrack-polished-v1136W .emergency-guide-box-v787FR{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-feature-list-v1136V li,
  html body.fasttrack-polished-v1136W .fasttrack-service-steps-v1136V li{
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:8px!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-icon-v1136V{
    width:34px!important;
    height:34px!important;
  }

  /* Compact fee matrix: service column wraps to two lines and airport columns
     are only wide enough for a short price/N/A/Request value. */
  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:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN{
    width:500px!important;
    min-width:500px!important;
    max-width:500px!important;
    table-layout:fixed!important;
    font-size:11.5px!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:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    line-height:1.25!important;
    text-align:left!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN th:not(:first-child),
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN td:not(:first-child){
    width:62px!important;
    min-width:62px!important;
    max-width:62px!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!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:8px 6px!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-v1135ZN{
    font-size:14px!important;
    line-height:1.1!important;
  }

  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-na-v1135ZN,
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-quote-v1137I{
    font-size:11px!important;
    line-height:1.15!important;
  }

  /* Smaller mobile Apply Now keeps the logo visible. */
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .container.nav,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .nav{
    gap:8px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand.brand-logo,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand-logo{
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
  }

  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand.brand-logo img,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand-logo img{
    width:auto!important;
    height:34px!important;
    max-width:155px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }

  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .mobile-only.btn,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar > .mobile-only{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:86px!important;
    max-width:96px!important;
    min-height:42px!important;
    padding:8px 12px!important;
    font-size:13px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

@media (max-width:420px){
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN{
    width:472px!important;
    min-width:472px!important;
    max-width:472px!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:172px!important;
    min-width:172px!important;
    max-width:172px!important;
  }
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN th:not(:first-child),
  html body.fasttrack-polished-v1136W .fasttrack-price-card-v1137G .vge-airport-price-table-v1135ZN td:not(:first-child){
    width:60px!important;
    min-width:60px!important;
    max-width:60px!important;
  }
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand.brand-logo img,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand-logo img{
    max-width:140px!important;
    height:31px!important;
  }
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .mobile-only.btn,
  html body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar > .mobile-only{
    min-width:78px!important;
    max-width:86px!important;
    min-height:39px!important;
    padding:7px 9px!important;
    font-size:12px!important;
  }
}
