/* Scope header and usual-spot fixes to the approved v18 app shell. */
#app-view>header>.brand{min-width:0;flex:0 1 auto}
#app-view>header>.brand .brand-logo{display:block;flex:none;object-fit:contain;background:#fcf4e1;border-radius:12px;padding:3px}

@media(min-width:850px){
 #app-view>header{box-sizing:border-box;height:68px;padding:6px 32px;min-width:0}
 #app-view>header>.brand .brand-logo{width:56px;height:56px}
 #app-view>header>nav{min-width:0}
}

@media(min-width:601px) and (max-width:849px){
 #app-view>header{height:auto;min-height:60px;padding:6px 16px;gap:8px}
 #app-view>header>.brand .brand-logo{width:48px;height:48px}
 #app-view>header>nav{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}
 #app-view>header>nav>a,#app-view>header>nav>label{white-space:nowrap}
}

@media(max-width:600px){
 #app-view>header>.brand .brand-logo{width:68px;height:68px}
}

/* Keep the venue title flexible while the usual-spot control stays readable. */
#app-view .store-topbar{min-width:0;gap:8px}
#app-view .store-topbar>.collapsed-venue-name{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app-view .store-topbar>.store-actions{display:flex;align-items:center;flex:0 0 auto;gap:6px;min-width:0}
#app-view .store-topbar .store-actions>.usual-spot-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;height:44px;min-width:44px;min-height:44px;padding:0 8px;border-radius:999px;white-space:nowrap;line-height:1.1;font-size:12px;font-weight:600}
#app-view .store-topbar .usual-spot-toggle[aria-pressed="true"]{background:#edf3ef!important;color:#174c37;border:1px solid #a8b6ab!important;filter:none!important;box-shadow:none!important}
#app-view .store-topbar .usual-spot-toggle[aria-pressed="false"]{background:#fff!important;color:#174c37;border:1px solid #a8b6ab!important;filter:none!important;box-shadow:none!important}
#app-view .store-topbar .usual-spot-toggle:focus-visible{outline:3px solid #c77c28;outline-offset:2px}
[data-theme="dark"] #app-view .store-topbar .usual-spot-toggle[aria-pressed="true"]{background:#263b30!important;color:#d7e9dd;border-color:#65796c!important}
[data-theme="dark"] #app-view .store-topbar .usual-spot-toggle[aria-pressed="false"]{background:#1b2720!important;color:#edf3ed;border-color:#65796c!important}

@media(max-width:600px){
 #app-view .store-topbar{gap:5px}
 #app-view .store-topbar>.store-actions{gap:4px}
 #app-view .store-topbar .store-actions>.usual-spot-toggle{padding-inline:8px;font-size:12px}
}

@media(max-width:360px){
 #app-view .store-topbar .store-actions>.usual-spot-toggle{padding-inline:6px;font-size:11px}
}

/* Share buttons keep the reviewed dark surface/foreground pairing. */
[data-theme=dark] #app-view .share-icon-button,[data-theme=dark] #app-view .venue-share-card-button,[data-theme=dark] #app-view .store-topbar .venue-share-button{background:#1b2720;color:#edf3ed;border-color:#4b5c50;box-shadow:none}
[data-theme=dark] #app-view .share-icon-button:hover,[data-theme=dark] #app-view .venue-share-card-button:hover,[data-theme=dark] #app-view .store-topbar .venue-share-button:hover{background:#27382d;color:#f4f7f3}
[data-theme=dark] #app-view .share-icon-button:active,[data-theme=dark] #app-view .venue-share-card-button:active,[data-theme=dark] #app-view .store-topbar .venue-share-button:active{background:#344b3b}
[data-theme=dark] dialog.meal-share-dialog .social-share-buttons button{background:#1b2720;color:#edf3ed;border-color:#4b5c50}
[data-theme=dark] dialog.meal-share-dialog .social-share-buttons button[data-action=native]{background:#b7d9c7;color:#132b19;border-color:#b7d9c7}

/* One compact recovery block instead of empty menu controls and repeated warnings. */
#app-view .menu-load-error{display:grid;justify-items:start;gap:12px;padding:16px 0;max-width:65ch}
#app-view .menu-load-error h2,#app-view .menu-load-error p{margin:0}
#app-view .menu-load-error [data-menu-retry]{min-height:44px;width:auto}

/* Balanced loading placeholders: no oversized orphan on a second desktop row. */
#app-view .app-loading{margin:28px auto}
#app-view .loading-skeleton{grid-template-columns:repeat(3,minmax(0,1fr))}
#app-view .loading-skeleton i{height:112px;border-radius:14px}
#app-view .loading-skeleton i:first-child{grid-column:auto}
@media(max-width:600px){
 #app-view .loading-skeleton{grid-template-columns:minmax(0,1fr)}
 #app-view .loading-skeleton i:nth-child(n+2){display:none}
}

/* Keep unconfirmed reference entries separate from posted menus. */
.food-guide{margin:24px 0;padding:14px 0;border-top:1px solid var(--line)}
.food-guide>summary{min-height:44px;display:list-item;align-content:center;font-weight:650;cursor:pointer;color:var(--text)}
.food-guide>p{font-size:13px;line-height:1.5;color:var(--muted)}
#public-splash .browse-menus{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:999px;background:var(--green,#174c37);color:var(--surface,#fff);font-weight:650;text-decoration:none;margin-top:12px}
#public-splash .browse-menus:focus-visible{outline:3px solid var(--focus,#d07631);outline-offset:3px}
/* Two selects and Filters must fit narrow hall pages without fixed min tracks. */
@media(max-width:600px){.storefront-tools .quick-filters{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto}.storefront-tools .quick-filters>.control{min-width:0}.storefront-tools .quick-filters .ds-root{min-width:0;max-width:100%}}

/* SlugSide actions share a 44px target with compact, quiet visible chrome. */
#app-view .food-actions .share-icon-button,
#app-view .store-topbar .venue-share-button,
[data-theme=dark] #app-view .food-actions .share-icon-button,
[data-theme=dark] #app-view .store-topbar .venue-share-button{display:grid;place-items:center;position:relative;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--text)}
#app-view .food-actions .share-icon-button::before,
#app-view .store-topbar .venue-share-button::before{content:'';display:block;position:absolute;inset:11px;width:22px;height:22px;box-sizing:border-box;border-radius:50%;border:1px solid var(--line);background:var(--surface)}
#app-view .food-actions .share-icon-button svg,
#app-view .store-topbar .venue-share-button svg{position:relative;width:16px;height:16px;stroke-width:1.6}
#app-view .food-actions .share-icon-button:hover,
#app-view .store-topbar .venue-share-button:hover,
#app-view .food-actions .share-icon-button:active,
#app-view .store-topbar .venue-share-button:active{background:transparent;box-shadow:none}
#app-view .food-actions .share-icon-button:hover::before,
#app-view .store-topbar .venue-share-button:hover::before{background:var(--surface-soft)}

.account-settings-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--text)}
.account-settings-status p{margin:0;font-size:13px;line-height:1.5;flex:1 1 180px}
.account-settings-status button{min-height:44px;margin:0}

#app-view>header>.brand{gap:7px;font-weight:750;font-size:20px;color:var(--text)}
#app-view>header>.brand .brand-logo{width:36px;height:36px;background:transparent;border-radius:0;padding:0}
@media(max-width:600px){#app-view>header>.brand .brand-logo{width:32px;height:32px}}
#app-view>header>.brand span{display:inline;color:inherit;font:inherit;letter-spacing:inherit}
