/* Mobile navigation: content uses the entire screen. */
.rx-menu-toggle,.rx-menu-close,.rx-menu-backdrop{display:none}
@media(max-width:900px){
 body.is-guest>.guest-site.rx-guest-left:not([hidden]){display:block!important}
 .rx-guest-left>.guest-main{width:100%!important;grid-column:auto!important;grid-row:auto!important;margin:0!important;padding:16px!important}
 #guestSite.rx-guest-left>#rx-guest-drawer,body:not(.is-guest)>#rx-member-drawer{display:flex!important;position:fixed!important;inset:0 auto 0 0!important;width:min(290px,85vw)!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:20px 16px!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:1002!important;transform:translateX(-110%);visibility:hidden;transition:transform .2s ease,visibility .2s}
 body.rx-menu-open.is-guest #guestSite>#rx-guest-drawer,body.rx-menu-open:not(.is-guest)>#rx-member-drawer{transform:translateX(0);visibility:visible}
 body:not(.is-guest)>.app-frame{margin-left:0!important;width:100%;min-width:0}
 .rx-menu-toggle,.rx-menu-close{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #c7c9e9;border-radius:10px;background:#fff;color:#302878;font:inherit;font-weight:700;padding:10px 12px;min-height:44px;cursor:pointer}
 .rx-menu-close{align-self:flex-end;margin-bottom:12px}
 .rx-menu-backdrop{position:fixed;inset:0;background:rgba(15,20,50,.5);z-index:1001;border:0}
 body.rx-menu-open .rx-menu-backdrop{display:block}
 body.rx-menu-open{overflow:hidden}
 .guest-header{flex-wrap:wrap!important;gap:10px!important;padding:12px 16px!important}
 .guest-header .brand-logo-frame{width:70px!important;height:70px!important}
 .guest-header>nav{flex-wrap:wrap;gap:8px!important}
 .guest-header .btn{padding:9px 12px!important;min-height:42px!important;font-size:12px!important}
 .guest-scan-layout,.guest-hero,.guest-feature-grid,.guest-story{grid-template-columns:minmax(0,1fr)!important}
 .guest-quick-scan{padding:18px!important;border-radius:20px!important}
 .guest-main>*{min-width:0;max-width:100%}
 .guest-scan-result{overflow-wrap:anywhere}
 .topbar{flex-wrap:wrap;height:auto!important;min-height:70px;padding:12px 16px!important}
}
@media(prefers-reduced-motion:reduce){.rx-guest-menu,body>.sidebar{transition:none!important}}
