/* GrubGlance: approved orange / plum / cream. Visual skin only: no layout or lifecycle rules. */
:root{--gg-plum:#351044;--gg-orange:#ff7217;--gg-cream:#fff7e7;--gg-lilac:#f2eafa;--gg-muted:#6c5878;--green:var(--gg-plum);--mint:var(--gg-lilac);--cream:#fffaf2;--ink:#30133e;--muted:var(--gg-muted);--orange:var(--gg-orange);--border:#e7ddeb}
body{background:var(--cream)}
h1,h2,h3,.brand,.mobile-brand,.onboarding-brand,.restaurant-app-brand{font-family:ui-rounded,"Trebuchet MS",system-ui,sans-serif;font-weight:800}
.sidebar-note{background:var(--gg-cream)}
.sidebar nav button.active,.mobile-nav button.active{background:var(--gg-lilac);color:var(--gg-plum)}
.primary,.map-sheet .location-actions>.primary,#onboarding-next{background:var(--gg-orange);color:var(--gg-plum);font-weight:800;box-shadow:0 3px 0 #35104418}
.primary:hover,.map-sheet .location-actions>.primary:hover,#onboarding-next:hover{background:#ff8538;color:var(--gg-plum)}
.secondary,.text-btn,.restaurant-actions a,.restaurant-actions button,.map-recenter{color:var(--gg-plum)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a24700;outline-offset:3px}
.hero{background:var(--gg-plum)}.hero .eyebrow,.hero p{color:var(--gg-cream)}.hero .primary{background:var(--gg-orange);color:var(--gg-plum)}
.onboarding-progress{accent-color:var(--gg-orange)}.onboarding-progress::-webkit-progress-value{background:var(--gg-orange)}.onboarding-progress::-moz-progress-bar{background:var(--gg-orange)}
#onboarding-dialog,.onboarding-top{background:#fffaf2}.onboarding-option.selected{border-color:var(--gg-plum);background:var(--gg-lilac)}
.onboarding-option.selected .option-indicator{background:var(--gg-plum);border-color:var(--gg-plum);color:#fff}
.onboarding-preview{background:var(--gg-cream);border-color:#efdcc0}.onboarding-ready-icon{background:var(--gg-orange);color:var(--gg-plum)}
.category-tab.active,.detail-menu-tabs button[aria-selected=true]{background:var(--gg-plum);color:white}
.brand-choice-icon{width:24px;height:24px;object-fit:contain;vertical-align:middle;margin-right:8px;flex:none}
.onboarding-option>span:first-child{min-width:0}.onboarding-option strong .brand-choice-icon{width:22px;height:22px}
.brand-logo-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.brand-icon{background:var(--gg-plum)}
.onboarding-welcome-mark{background:var(--gg-plum);overflow:hidden}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Requested onboarding alignment; the other screens keep their existing layout. */
[data-onboarding-step="welcome"]{text-align:center}[data-onboarding-step="diet"]>.onboarding-help,[data-onboarding-step="exclusions"]>.onboarding-help{text-align:center}
[data-energy-result]:not(:empty){background:#fff7e7;border:2px solid #351044;border-radius:12px;padding:16px;font-weight:700;scroll-margin-block:100px}

.restaurant-save,.save-btn{display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0;flex-shrink:0}.restaurant-save img{display:block;width:24px;height:24px;pointer-events:none}.restaurant-save.is-saved{background:#f2eafa;border:2px solid #351044}
.source-product-photo{margin:0;flex:0 0 80px;text-align:center}.source-product-photo img{display:block;width:80px;height:80px;object-fit:contain;background:white;border-radius:10px}.source-product-photo figcaption{font-size:10px;line-height:1.3;color:#6c5878;margin-top:4px}

.order-category-rail{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:4px 0 12px;grid-column:1/-1}.order-category-rail button{white-space:nowrap;border:1px solid #e7ddeb;border-radius:20px;padding:10px 14px;min-height:44px;background:#fff7e7;color:#351044;font-weight:700}.order-category-note{grid-column:1/-1;color:#6c5878;font-size:12px}.menu-category[data-order-section]{scroll-margin-top:200px}

.source-product-photo img[hidden]{display:none}
