/* APD 480 — first paint geometry only. */
@media (max-width:767px){
  :root{--apd480-blue:#2853bf;--apd480-nav-h:84px;--apd480-nav:calc(var(--apd480-nav-h) + env(safe-area-inset-bottom,0px));--apd480-gate-z:2147483620;--apd480-shield-z:2147483640;--apd480-auth-z:2147483630;--apd480-nav-z:2147483646}
  html body.apd-marketplace-ui:not(.logged-in){padding-bottom:var(--apd480-nav)!important}
  html body.apd-marketplace-ui:not(.logged-in) .apd10-mobile-nav{position:fixed!important;inset:auto 0 0 0!important;width:100%!important;height:var(--apd480-nav)!important;min-height:var(--apd480-nav-h)!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;z-index:var(--apd480-nav-z)!important;background:#fff!important;border-top:1px solid #e7e7e7!important;will-change:transform!important}
  html body.apd-marketplace-ui:not(.logged-in) .apd10-mobile-nav>:is(a,button){min-width:0!important;width:100%!important;min-height:var(--apd480-nav-h)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;color:#6b6b6b!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;overflow:visible!important}
  html body.apd-marketplace-ui:not(.logged-in) .apd10-mobile-nav>:is(a,button).is-active,html body.apd-marketplace-ui:not(.logged-in) .apd10-mobile-nav>:is(a,button)[aria-current="page"]{color:var(--apd480-blue)!important}
  html body #apd5-auth-modal.apd5-auth-modal{position:fixed!important;inset:0 0 var(--apd480-nav) 0!important;z-index:var(--apd480-auth-z)!important;background:#fff!important}
  html body #apd15-favorites-gate.apd15-favorites-gate{position:fixed!important;inset:0 0 var(--apd480-nav) 0!important;z-index:var(--apd480-gate-z)!important;background:#fff!important}
  html body #apd5-auth-modal[hidden],html body #apd15-favorites-gate[hidden]{display:none!important}
  html body #apd5-auth-modal .apd54-identifier-shell,html body #apd5-auth-modal .apd5-auth-identifier-shell{width:100%!important;min-height:66px!important;border:1.15px solid #aaa!important;border-radius:17px!important;background:#fff!important;box-shadow:none!important;outline:0!important;overflow:hidden!important}
  html body #apd5-auth-modal #apd5-auth-identifier{width:100%!important;height:64px!important;min-height:64px!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;-webkit-appearance:none!important;appearance:none!important}
  html body #apd5-auth-modal .apd54-auth-dialog{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:100%!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow-x:hidden!important;overscroll-behavior:none!important}
}

@media (max-width:991px){
  html,body{touch-action:pan-x pan-y!important;}
  a,button,input,select,textarea,label,[role="button"]{touch-action:manipulation!important;}
  :is(.gm-style,.leaflet-container,.mapboxgl-map,[data-apd-results-map],[data-map]){touch-action:auto!important;}
}
