/* Stable viewport: scroll content without scaling the application. */
html,body{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:clip!important;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body>header,body>main,body>footer{box-sizing:border-box;max-width:100%;min-width:0}
.reference-home>.discovery-intro,.reference-home>#path-discover,.reference-home>.browse{min-width:0!important;max-width:min(100%,1160px)!important}
.reference-home .map-stage{align-self:center!important;width:calc(100% - 28px)!important;max-width:1160px!important;min-width:0!important;box-sizing:border-box!important}
.reference-home.map-fullscreen .map-stage{width:100%!important;max-width:100%!important}
.path-discover-head>*{min-width:0}
.path-discover-head h2{overflow-wrap:anywhere}
.path-suggestions,.gems-list,#categories-mobile{min-width:0!important;max-width:100%!important;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
#map,.maplibregl-canvas-container,.maplibregl-canvas{touch-action:none}
.maplibregl-ctrl-attrib{max-width:100%;overflow-wrap:anywhere}
.brand img{object-fit:contain;border-radius:6px}
@media(pointer:coarse){
 input:not([type=checkbox]):not([type=radio]),textarea,select,[contenteditable=true]{font-size:16px!important}
}
@media(max-width:760px){
 body>header{padding-top:env(safe-area-inset-top)!important;height:auto!important;min-height:68px!important}
 .reference-home.map-fullscreen .map-stage{top:calc(68px + env(safe-area-inset-top))!important}
 .path-discover-head{align-items:flex-start}
 .path-discover-head h2{font-size:22px!important}
 #paths-more{flex:none;max-width:100px;white-space:normal}
}

.reference-home.map-fullscreen .map-stage{align-self:stretch!important;height:calc(100dvh - 68px - env(safe-area-inset-top,0px))!important;max-height:none!important;bottom:0!important}
