/* Mobile browser shell policy. Keep in-app canvas pointer gestures intact. */
html{scroll-padding-top:100px}
@media(max-width:900px),(pointer:coarse){
 html,body{box-sizing:border-box;width:100%;max-width:100%;min-width:0!important;margin-inline:0;overflow-x:clip!important;overscroll-behavior-x:none;touch-action:pan-y}
 #root{box-sizing:border-box;width:100%;max-width:100%;min-width:0!important;overflow-x:clip}
 iframe{max-width:100%}
 input,textarea,select{font-size:max(16px,1em)}
 [data-mobile-cards]{display:block!important;width:100%!important;min-width:0!important;table-layout:auto}
 [data-mobile-cards]>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 [data-mobile-cards]>tbody{display:block;width:100%}
 [data-mobile-cards]>tbody>tr{display:block!important;width:100%;padding:10px 0;border-bottom:1px solid #e2e5e9}
 [data-mobile-cards]>tbody>tr>td{display:grid!important;grid-template-columns:minmax(68px,30%) minmax(0,1fr);align-items:start;gap:8px;width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box;padding:8px 12px!important;border:0!important;text-align:left!important}
 [data-mobile-cards]>tbody>tr>td::before{content:attr(data-mobile-label);font-size:11px;line-height:1.7;font-weight:600;color:#697387;white-space:normal}
 [data-mobile-cards]>tbody>tr>td[colspan]{display:block!important}
 [data-mobile-cards]>tbody>tr>td[colspan]::before{display:none}
 [data-mobile-cards] td>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .atlas-header{position:sticky!important;top:0;z-index:100;background:#f7f6f2!important}
 .topbar{position:sticky!important;top:0;z-index:60;background:#fff!important}
 .bq-entry-header{position:sticky!important;top:0;z-index:100;background:#fff!important}
 .header.home-header,.header{background:#fffdf9!important;border-bottom:1px solid #e0e5e6!important}
 .home-header .brand,.home-header .main-nav a,.home-header .nav-actions,.home-header .nav-actions button,.home-header .nav-actions a,.home-header .mobile-menu-toggle{color:#32566d!important;text-shadow:none!important}
 .home-header .main-nav a.active{color:#947543!important}
 .home-header .main-nav.open{background:#fffdf9!important;border-bottom:1px solid #e0e5e6}
 .site-header{background:#f9fcff!important}
}

/* Landing headers remain visible at every viewport width. */
.atlas-header{position:sticky!important;top:0;z-index:100;background:#f7f6f2!important}
.topbar{position:sticky!important;top:0;z-index:60;background:#fff!important}
.bq-entry-header{position:sticky!important;top:0;z-index:100;background:#fff!important}
.header.home-header,.header{background:#fffdf9!important;border-bottom:1px solid #e0e5e6!important}
.home-header .brand,.home-header .main-nav a,.home-header .nav-actions,.home-header .nav-actions button,.home-header .nav-actions a,.home-header .mobile-menu-toggle{color:#32566d!important;text-shadow:none!important}
.home-header .main-nav a.active{color:#947543!important}
.home-header .main-nav.open{background:#fffdf9!important;border-bottom:1px solid #e0e5e6}
.site-header{background:#f9fcff!important}
.home-header .logo{color:#32566d!important;text-shadow:none!important}
.guide-header{position:sticky!important;top:0;z-index:100;background:#f9fcff!important}
@media(max-width:600px){.hero-art{right:0!important;width:100%!important}.hero-art .hero-runner{right:0}.hero-art .preview-comparison{right:2%}}

.header:not(.home-header){position:sticky!important;top:0;z-index:100}
@media(max-width:900px){.admin-app .app-sidebar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:visible!important;width:100%;gap:5px}.admin-app .app-sidebar>button{white-space:normal!important;min-width:0;justify-content:flex-start;overflow-wrap:anywhere}.admin-app .app-sidebar>.admin-nav-label{display:none}}
@media(max-width:900px){.region-chips,.stay-filters .tabs,.backoffice .bo-tabs,.backoffice .bo-filter-tabs{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;max-width:100%}.region-chips>button{white-space:normal}}
.bo-topbar{position:sticky!important;top:0;z-index:100;background:#fff!important}
@media(max-width:900px){.sa-tabs,.booking-history-tabs,.pa-filter-tabs{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;max-width:100%;height:auto!important}.sa-tabs>button,.booking-history-tabs>button,.pa-filter-tabs>button{white-space:normal!important;min-width:0}}
@media(max-width:900px),(pointer:coarse){
 [data-mobile-cards][data-mobile-header-controls]>thead{display:block!important;position:static;width:100%;height:auto;overflow:visible;clip-path:none;white-space:normal}
 [data-mobile-cards][data-mobile-header-controls]>thead>tr{display:flex;flex-wrap:wrap;width:100%}
 [data-mobile-cards][data-mobile-header-controls]>thead>tr>th{display:block;flex:1 1 90px;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:8px 12px}
}
@media(max-width:900px){.sa-fieldset>legend{float:none!important;width:auto!important}.sa-fieldset>.sa-field{clear:both;width:100%}.sa-day-picker{grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important}}

@media(max-width:900px){.booking-days{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;overflow:visible!important;width:100%;padding-inline:0!important}.booking-days>button{min-width:0!important;width:100%!important;padding-inline:0!important}}

@media(max-width:900px){.bo-settings-nav>nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;overflow:visible!important;padding:8px}.bo-settings-nav>nav>button{width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;padding:10px!important}}

@media(max-width:600px){.bo-topbar{min-width:0;gap:8px!important}.bo-top-crumb{min-width:0;flex:1;overflow-wrap:anywhere}.bo-top-crumb>strong{display:none!important}.bo-top-user{flex-shrink:0!important;min-width:30px!important;max-width:50px!important}.bo-top-user>strong,.bo-top-user>span{display:none!important}.bo-global-search{min-width:0!important}}
