/* Shared navigation: desktop single row; medium screens centred second row. */
@media(min-width:1201px){html:root body header.top:is(.top,#av215-header) nav.av209-nav{display:flex!important;flex-flow:row nowrap!important;position:static!important;transform:none!important;gap:20px!important;width:auto!important;max-width:none!important;flex:0 1 auto!important;margin:0 auto!important}html:root body header.top:is(.top,#av215-header) nav.av209-nav>a{grid-area:auto!important;white-space:nowrap!important}}
@media(min-width:851px) and (max-width:1200px){html:root body header.top:is(.top,#av215-header) nav.av209-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;position:static!important;transform:none!important;gap:2px 10px!important;margin:auto!important}html:root body header.top:is(.top,#av215-header) nav.av209-nav>.av209-nav-earn{grid-area:2/1/3/3!important;justify-self:center!important}}
/* Date title and control occupy separate rows, centred outside the home page. */
html:root body :is(.av136-form,#av215-form) .av136-dates{display:grid!important;grid-template-columns:minmax(0,600px) 130px!important;grid-template-rows:auto auto!important;justify-content:center!important;align-items:end!important;gap:4px 10px!important;width:100%!important;margin:0 auto 12px!important}
html:root body :is(.av136-form,#av215-form) .av136-dates:before{display:none!important}
html:root body :is(.av136-form,#av215-form) .av136-dates>strong{position:static!important;transform:none!important;grid-area:1/1/2/2!important;width:auto!important;margin:0!important;font-size:13px!important;line-height:18px!important;text-align:left!important}
html:root body :is(.av136-form,#av215-form) .av136-dates>.av139-range{grid-area:2/1/3/2!important;width:100%!important;max-width:none!important;min-width:0!important;flex-basis:auto!important;margin:0!important;box-sizing:border-box!important}
html:root body :is(.av136-form,#av215-form) .av136-dates>.av170-age{grid-area:1/2/3/3!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;gap:4px!important}
html:root body :is(.av136-form,#av215-form) .av136-dates>.av170-age>span{font-size:13px!important;line-height:18px!important;margin:0!important}
html:root body :is(.av136-form,#av215-form) .av136-dates>.av170-age>select{min-height:44px!important;height:44px!important;width:100%!important;box-sizing:border-box!important}
@media(min-width:601px) and (max-width:1200px){html:root body :is(.av136-form,#av215-form) .av136-dates{grid-template-columns:minmax(0,480px) 130px!important}}
@media(max-width:600px){html:root body :is(.av136-form,#av215-form) .av136-dates{grid-template-columns:minmax(0,4fr) minmax(64px,1fr)!important}}
@media(max-width:1200px){html:root body :is(.av136-form,#av215-form) .av136-bar{display:flex!important;flex-flow:row nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;width:100%!important;gap:8px!important;scrollbar-width:thin;touch-action:pan-x;overscroll-behavior-x:contain}html:root body :is(.av136-form,#av215-form) .av136-bar>*{flex-shrink:0!important}html:root body :is(.av136-form,#av215-form) .av136-bar>.av76-view-switch{position:static!important;inset:auto!important;margin-left:0!important;box-shadow:none!important}}
/* Medium home layout: date area reduced, independent grid cells for actions. */
@media(min-width:851px) and (max-width:1200px){html:root body .hero.av93-home .search:is(.av94-fixed,:not(.av94-fixed)) .av100-search-row{grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) minmax(152px,1.44fr) minmax(64px,.6fr) 110px 90px!important}html:root body .hero.av93-home .search:is(.av94-fixed,:not(.av94-fixed)) .av100-search-row>.home-filter-wrap{grid-area:1/5/2/6!important;position:relative!important;inset:auto!important}html:root body .hero.av93-home .search:is(.av94-fixed,:not(.av94-fixed)) .av100-search-row>#homeGoBtn{grid-area:1/6/2/7!important;position:static!important;inset:auto!important}}
/* Dock is the only booking action on compact screens. Keep original handler in DOM. */
@media(max-width:1100px){html:root body.av214-car #carPage #bookBtn,html:root body.av214-car #carPage .av153-booking-total,html:root body.av214-car #carPage #calc .av170-breakdown>.line:last-child{display:none!important}}
html:root body #av214-dock .av214-dock-inner{max-width:none!important;width:100%!important;box-sizing:border-box!important;justify-content:flex-end!important;padding-left:24px!important;padding-right:24px!important}
html:root body #av214-dock strong{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
html:root body #av214-dock .av215-total-value{white-space:normal;overflow-wrap:normal}
html:root body #av214-dock button{margin-left:12px!important;flex-shrink:0!important}
@media(max-width:1100px){html:root body #av214-dock .av214-dock-inner{justify-content:space-between!important}}
@media(max-width:600px){html:root body #av214-dock .av214-dock-inner{padding-left:12px!important;padding-right:12px!important;gap:8px!important}html:root body #av214-dock strong{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:0 7px!important;align-items:end!important;font-size:13px!important}#av214-dock .av215-total-label>span{display:block}html:root body #av214-dock button{margin-left:0!important;max-width:46%!important}}
