/* Reflow by available content width, including when browser zoom narrows the viewport.
   Screen-only: printed tickets retain their own layout. Never disable browser zoom. */
@media screen {
 body :is(.thb-portal,.thb-supervisor-portal),
 body :is(.thb-portal,.thb-supervisor-portal) *,
 body :is(.thb-portal,.thb-supervisor-portal) *::before,
 body :is(.thb-portal,.thb-supervisor-portal) *::after{box-sizing:border-box}
 body :is(.thb-portal,.thb-supervisor-portal) :is(section,article,main,aside,form,fieldset,label,header,footer){min-width:0}
 body :is(.thb-portal,.thb-supervisor-portal) :is(h1,h2,h3,h4,p,small,label,button,a){overflow-wrap:anywhere}
 body :is(.thb-portal,.thb-supervisor-portal) :is(input,select,textarea){max-width:100%;min-width:0}
 body :is(.thb-portal,.thb-supervisor-portal) :is(button,.button,.thb-pick,.thb-search-button){white-space:normal;line-height:1.45;height:auto;min-height:44px;max-width:100%}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-portal-top,.thb-portal-utils,.thb-supervisor-top,.thb-search-head,.thb-search-actions,.thb-results-top,.thb-result-searchbar,.thb-wizard-head,.thb-wizard-actions){flex-wrap:wrap;gap:12px;min-width:0;height:auto!important}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-portal-utils{max-width:100%!important}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-user,.thb-supervisor-account){min-width:0!important;overflow-wrap:anywhere}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-portal-brand,.thb-supervisor-brand){min-width:0;max-width:100%;flex-wrap:wrap}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-results-area,.thb-results-shell,.thb-results-list,.thb-offer>div,.thb-airline-logo>div,.thb-journey,.thb-time,.thb-offer-price){min-width:0!important;max-width:100%}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-results-area{container:thb-results / inline-size}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-results-list{container:thb-offers / inline-size}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-offer{display:grid!important;grid-template-columns:minmax(110px,160px) minmax(0,1fr) minmax(170px,220px)!important;gap:18px!important;height:auto!important}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-offer-price{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;grid-column:auto;grid-row:auto!important;min-width:0!important}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-offer-price>*{grid-column:auto!important;grid-row:auto!important;max-width:100%;margin-block:0;overflow-wrap:anywhere;white-space:normal!important}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-airline-logo{min-width:0;flex-wrap:wrap;align-content:start}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-airline-logo img{flex-shrink:0}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-flight-times{grid-template-columns:minmax(0,1fr) minmax(90px,1.5fr) minmax(0,1fr)!important;gap:8px!important}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-time strong{white-space:nowrap;letter-spacing:normal;line-height:1.3}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results :is(.thb-flight-line,.thb-route-details){min-width:0!important;width:auto!important;max-width:100%}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-journey>header{flex-wrap:wrap}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-filter-body{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));min-width:0}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-filter-option{min-width:0;white-space:normal;gap:10px}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-filter-option input{flex-shrink:0}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results :is(.thb-pagination,.thb-pagination-controls){max-width:100%;flex-wrap:wrap}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine .thb-search-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-passenger-grid,.thb-wizard-fields){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-trip-tabs{height:auto!important;flex-wrap:wrap}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-trip-tabs label{white-space:normal!important;height:auto!important}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-r-table-wrap,.thb-a-table-wrap,.thb-ba-table-wrap,.thb-topup-table-wrap,.thb-supervisor-content){min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-checkout-grid,.thb-bd-grid,.thb-wizard-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))!important}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-checkout-summary,.thb-wizard-summary){min-width:0;max-width:100%}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-checkout-flight-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-checkout-times{grid-template-columns:minmax(0,1fr) minmax(80px,1.5fr) minmax(0,1fr)!important}
 body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-total-row,.thb-checkout-journey>header){flex-wrap:wrap}
 body :is(.thb-portal,.thb-supervisor-portal) .thb-checkout-segments>div{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))!important}
 body .thb-fare-dialog .thb-brand-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important}
 body .thb-fare-dialog :is(.thb-brand-card,.thb-brand-services){min-width:0;overflow-wrap:anywhere}
 @container thb-results (max-width:1150px){
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-results-shell{grid-template-columns:minmax(0,1fr)!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-filter-panel{position:relative!important;top:auto!important;max-height:none!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-filter-body{display:grid}
 }
 @container thb-offers (max-width:760px){
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-offer{grid-template-columns:minmax(0,1fr)!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-offer-price{grid-column:1/-1!important;border-inline:0!important;border-top:1px solid #e1e5eb!important;padding:14px 0 0!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-airline-logo{flex-direction:row!important;align-items:center}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-route-popover{position:static!important;inset:auto!important;transform:none!important;min-width:0!important;max-width:100%;width:100%;margin-top:12px}
 }
 @container thb-offers (max-width:300px){
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-flight-times{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-flight-times>.thb-time:first-child{grid-column:1;grid-row:1}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-flight-times>.thb-time:last-child{grid-column:2;grid-row:1}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-flight-times>.thb-route-details{grid-column:1/-1;grid-row:2}
 }
 @media(max-width:1000px){
  body :is(.thb-portal,.thb-supervisor-portal) .thb-supervisor-layout{grid-template-columns:minmax(0,1fr)!important}
  body .thb-supervisor-sidebar{min-height:0!important}
  body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-checkout-summary,.thb-wizard-summary){position:relative!important;top:auto!important}
 }
 @media(max-width:600px){
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-offer{padding:14px!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-time strong{font-size:21px!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-flight-engine.is-results .thb-offer-price strong{font-size:25px!important}
  body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-search-button,.thb-search-actions>label){min-width:0!important;width:100%}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-portal-utils{flex-basis:100%;justify-content:flex-start!important}
  body :is(.thb-portal,.thb-supervisor-portal) :is(.thb-supervisor-main,.thb-portal-page){padding:12px!important}
  body :is(.thb-portal,.thb-supervisor-portal) .thb-wizard-head{position:relative}
 }
}
