/* Keep campus navigation useful without pushing the menu below a tall masthead. */
@media(max-width:849px){
 #app-view>header{height:auto;min-height:60px;padding:8px 12px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
 #app-view>header>.brand{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;white-space:nowrap}
 #app-view>header>.brand .brand-logo{width:28px;height:28px;flex:none}
 #app-view>header>.brand>span{display:block;font-size:20px;line-height:1.1;font-weight:800;letter-spacing:-.6px;color:var(--text)}
 #app-view>header>nav{display:flex!important;align-items:center;justify-content:flex-end;flex:1 1 auto;flex-wrap:wrap;gap:6px;min-width:0;width:auto}
 #app-view>header>nav>a{display:none}
 #app-view>header [data-account-controls]:not([hidden]){display:inline-flex;align-items:center;flex:0 1 auto;flex-wrap:nowrap;gap:6px;min-width:0}
 #app-view>header [data-account-controls] .account-name{display:none}
 #app-view>header [data-account-controls][hidden]{display:none!important}
 #app-view>header :is([data-open-feedback],[data-account-controls] button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:8px 10px;font-size:13px;line-height:1.2;white-space:nowrap}
 #app-view>header [data-open-feedback]{border:1px solid var(--line);background:var(--surface-soft)}
 /* Full account notices remain available in You; the header keeps its action. */
 #app-view>header .account-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #app-view .store-topbar{--storebar-height:56px;height:56px;min-height:56px;padding:6px 16px;margin-bottom:0}
 #app-view .store-topbar:not(.is-collapsed){margin-bottom:0}
 #app-view .venue-page .venue-hero{height:clamp(180px,53vw,224px)}
 #app-view .store-hero-shell .store-identity{padding:16px}
 #app-view .store-hero-shell .store-identity h1{font-size:clamp(24px,6.7vw,28px);line-height:1.1;margin-bottom:6px}
 #app-view .store-hero-shell .store-identity p{font-size:13px}
 #app-view .published-hours-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 0}
 #app-view .published-hours-strip .venue-links{margin:0}
 #app-view .published-hours-strip .directions-button{min-height:44px;padding:8px 12px;font-size:12px}
}
/* The bottom navigation starts at 600px; keep the existing header links above it. */
@media(min-width:601px) and (max-width:849px){
 #app-view>header>nav>a{display:inline-flex;align-items:center}
}
@media(max-width:359px){
 #app-view>header>.brand>span{font-size:18px}
 #app-view>header :is([data-open-feedback],[data-account-controls] button){font-size:12px;padding-inline:8px}
}

/* Reserve the account action before discovery resolves; hidden content remains
   inaccessible while its real slot prevents neighboring controls from moving. */
#app-view>header [data-account-controls],
#app-view>header [data-account-controls]:not([hidden]){display:inline-flex;flex:0 0 100px;inline-size:100px;min-inline-size:100px;justify-content:flex-end;min-height:44px}
#app-view>header [data-account-controls][hidden]{display:inline-flex!important;visibility:hidden}
/* The footer belongs below the first viewport even while the menu is pending.
   Use the existing responsive header heights, without delaying real content. */
#app-view>main{box-sizing:border-box;min-block-size:calc(100svh - 68px)}
@media(max-width:849px){#app-view>main{min-block-size:calc(100svh - 60px)}}
