/* BasketBoss app surfaces only. Original layout, visibility, actions and state
   remain owned by their existing components. Marketing pages are not themed. */
:root{
 --bb-premium-forest:#123E2D;
 --bb-premium-green:#245E43;
 --bb-premium-forest-soft:var(--bb-premium-green);
 --bb-premium-ivory:#FFFDF6;
 --bb-premium-gold:#C3A45D;
 --bb-premium-gold-light:#D5BC7A;
 --bb-premium-gold-ink:#796430;
 --bb-premium-ink:#173C2D;
 --bb-premium-muted:#607265;
 --bb-premium-border:#DCE5D9;
 --bb-premium-danger:#9B4836;
 --bb-premium-radius:20px;
 --bb-premium-shadow:0 8px 24px #123e2d0d;
 --bb-premium-gloss:linear-gradient(125deg,#ffffff18 0%,#ffffff00 45%),linear-gradient(135deg,#123E2D,#245E43);
}
html body[data-bbnext-view],html body.bb-photo-meal-page{
 background:linear-gradient(160deg,#f8faf3 0%,#f2f5ec 55%,#faf7ee 100%)!important;
 color:var(--bb-premium-ink)!important;
}
html body[data-bbnext-view] .shell,html body.bb-photo-meal-page #bb15AiPremiumHub{
 font-family:"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

/* Forest branding keeps the responsive two-row phone header intact. */
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]{
 background:var(--bb-premium-gloss)!important;
 border:1px solid #c3a45d55!important;border-top:0!important;
 box-shadow:0 7px 22px #123e2d17,inset 0 1px #ffffff21!important;
 -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] .brand h1,
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] .brand h1 span{color:var(--bb-premium-ivory)!important;-webkit-text-fill-color:currentColor!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #saveStatus{color:#e6eddd!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] .brand .logo{background:#fffdf6!important;border-color:#d5bc7a99!important;box-shadow:0 2px 7px #082b2426!important}
/* Public App Store release: keep the header focused on the BasketBoss brand. */
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] .bb-public-beta-badge{display:none!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolRegionPill,
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbuiOpenSettings{background:#ffffff0f!important;border-color:#fffdf650!important;color:var(--bb-premium-ivory)!important;box-shadow:inset 0 1px #ffffff0f!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolUpgradePill{background:linear-gradient(135deg,#f5e9c9,#e8d6a3)!important;border-color:#d5bc7a!important;color:#4c472e!important;box-shadow:inset 0 1px #ffffff9c,0 2px 7px #082b2412!important}

/* Warm, quietly raised cards across planning and discovery. */
html body #app :is(.bb16-filter-panel,.bb-featured-card,.mini-recipe,.bbpol-autofill-card,.bb1759-meal-summary,.bb1756-extra-group,.bb321-leftover-suggestion,.bb321-shop-summary,.bb321-shop-surface){
 background:var(--bb-premium-ivory)!important;border:1px solid var(--bb-premium-border)!important;
 border-radius:var(--bb-premium-radius)!important;box-shadow:var(--bb-premium-shadow)!important;
}
html body #app :is(h1,h2,h3){font-family:"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.025em!important;color:var(--bb-premium-ink)!important;-webkit-text-fill-color:currentColor!important}
html body #app :is(.bb16-filter-panel h2,.bb1759-summary-heading h3){font-weight:800!important;line-height:1.2!important;color:var(--bb-premium-ink)!important}
html body #app .bb16-filter-panel{border-top:3px solid #c3a45d7a!important}
html body #app .bb-featured-card .recipe-body>.eyebrow{color:var(--bb-premium-gold-ink)!important;-webkit-text-fill-color:currentColor!important}
html body #app .bb-featured-card .recipe-body .chip{background:#f0f5e9!important;border-color:#d8e3cf!important;color:var(--bb-premium-green)!important}
/* Opaque fallback keeps image labels readable even without backdrop blur. */
html body #app :is(.recipe-image,.mini-img)>:is(.pill,.time-pill){
 background:rgba(16,42,29,.94)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;
 border:1px solid #ffffff47!important;border-radius:999px!important;
 -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
 line-height:1.35!important;overflow-wrap:anywhere!important;white-space:normal!important;
}
html body #app .recipe-image>.pill{max-width:calc(100% - 132px)!important}
html body #app .mini-img>.pill{max-width:calc(100% - 20px)!important}
html body #app .bb-featured-card .recipe-body h3{min-width:0!important;overflow-wrap:anywhere!important;white-space:normal!important}
html body[data-bbnext-view="discover"] #app .grid-recipes .mini-content h4{
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3;
 height:4.35em!important;min-height:4.35em!important;line-height:1.45!important;
 overflow:hidden!important;overflow-wrap:anywhere!important;white-space:normal!important;
}
html body #app :is([data-bb-measures],.bbpi-readout,.bbpi-summary-amount,.bb18-recipe-meta,.bb15-shop-amount,.bbnext-plan-budget){font-variant-numeric:tabular-nums!important}
html body #app :is(.bbnext-day,.bb-plan-extra,.bb174-leftover-option){border-color:var(--bb-premium-border)!important;background:#fffefa!important;box-shadow:0 2px 9px #123e2d06!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget],
html body #app .bbnext-plan-budget[data-bb-simple-budget]{background:var(--bb-premium-gloss)!important;border-color:#c3a45d66!important;box-shadow:0 8px 22px #123e2d1a,inset 0 1px #ffffff20!important}
html body #app .bbnext-plan-budget[data-bb-simple-budget] :is(h2,.bbnext-plan-budget-line){color:var(--bb-premium-ivory)!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-budget-text>p{color:#edf1e4!important}
html body #app .bbnext-day.has-meal[open]>.bbnext-day-toggle{background:linear-gradient(130deg,#f1f6ed,#e7f0e3)!important;border-bottom-color:#c3a45d66!important}
html body #app .bbnext-day.has-meal>.bbnext-day-toggle{border-top:2px solid #c3a45d55!important}
html body #app .bbnext-day-label{background:#e9f0e3!important;border-color:#d1ddc9!important;color:var(--bb-premium-green)!important}
html body #app :is(.bb-plan-extra-summary,.bbfeed-ingredients,.bb14-ingredients-preview){background:#f0f5eb!important;border-color:#dce5d5!important;color:var(--bb-premium-ink)!important}
html body #app .bb14-recipe-side :is(aside.bb321-need-box,.bb321-leftover-suggestion){background:var(--bb-premium-ivory)!important;border-color:var(--bb-premium-border)!important;box-shadow:var(--bb-premium-shadow)!important;color:var(--bb-premium-ink)!important}
html body #app .bb14-recipe-side .bb321-leftover-suggestion h4{color:var(--bb-premium-ink)!important;-webkit-text-fill-color:currentColor!important}

/* Controls are painted by role, without changing destructive or status colours. */
html body #app :is(button,select,input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea){font-family:inherit!important;-webkit-text-fill-color:currentColor!important}
html body #app :is(select,input[type=search],input[type=text],input[type=number],textarea){
 background:#fffefa!important;border:1px solid #cddbc9!important;color:var(--bb-premium-ink)!important;
 border-radius:13px!important;box-shadow:inset 0 1px 2px #123e2d04!important;min-height:44px!important;
}
html body #app :is(#recipeSearch,#bbpiSearch){border-color:#c6d5bf!important;border-radius:14px!important;background:#fffefa!important;font-size:16px!important}
html body #app :is(#bb172FillSixDinners,.bbnext-plan-primary,#cookRecipe,#bbFeaturedAddWeek,[data-cook],.bb-kitchen-review-open,.bbpi-toolbar-add,.bbpi-add-food,.bbpi-done,.bb80-gallery-add:not(.bb-manual-batch-btn)){
 background:var(--bb-premium-gloss)!important;border:1px solid #245e43!important;color:var(--bb-premium-ivory)!important;
 /* Keep legacy WebKit text-fill rules from painting dark labels on forest actions. */
 -webkit-text-fill-color:currentColor!important;
 border-radius:13px!important;min-height:44px!important;box-shadow:0 3px 9px #123e2d12,inset 0 1px #ffffff14!important;font-weight:750!important;
}
html body #app :is(.bbnext-plan-secondary,.bb16-toggle-filters,.bb-manual-batch-btn,.bb-add-breakfast,.bb-add-dessert,.bb-plan-move-button,.bb-day-done-trigger,.bb-evening-pivot-open,.bbpi-toolbar-filters,.bbpi-edit,.bbpi-step,.bbpi-add-food,.bbps-start,.bbcs-add){
 background:#f1f5eb!important;border:1px solid #cedbc7!important;color:var(--bb-premium-green)!important;
 border-radius:13px!important;min-height:44px!important;box-shadow:inset 0 1px #ffffff8c!important;font-weight:700!important;
}
html body #app .bb-plan-leftovers{background:#edf4e5!important;border:1px solid #c9d9bf!important;color:var(--bb-premium-green)!important;min-height:44px!important;border-radius:13px!important}
html body #app .bb-plan-swap-button{background:#f1f6ed!important;border-color:#cadbc3!important;color:var(--bb-premium-green)!important;box-shadow:0 2px 7px #123e2d08!important}
html body #app #bbpolAutofillCard :is(#bbSimpleBudget>summary,#bbSimpleMealPreferences>summary,#bbAvoidIngredientTab){background:linear-gradient(130deg,#f5ebd0,#ecdfb8)!important;border-color:#d4be85!important;color:#304d38!important;box-shadow:inset 0 1px #ffffff80!important}
html body #app #bbpolAutofillCard :is(#bbSimpleBudget[open]>summary,#bbSimpleMealPreferences[open]>summary,#bbAvoidIngredientTab[aria-expanded=true]){background:#e6d29c!important;border-color:#b99b58!important}
html body #app :is(.bbpi-location,.bb81-pro-pills button,.bb16-categories button){border-color:#d1ddca!important;color:var(--bb-premium-green)!important;background:#f2f6ed!important;min-height:44px!important;border-radius:12px!important}
html body #app :is(.bbpi-location[aria-selected=true],.bbpi-location.is-active,.bb16-categories button.active,.bb81-pro-pills button.active){background:var(--bb-premium-gloss)!important;color:var(--bb-premium-ivory)!important;border-color:var(--bb-premium-green)!important}

/* Discover ingredients stay in aligned rows, with a compact quantity pill. */
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients{
 background:transparent!important;border:0!important;padding:0!important;color:var(--bb-premium-ink)!important;
}
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients>summary{
 display:inline-flex!important;align-items:center!important;min-height:44px!important;
 padding:8px 14px!important;box-sizing:border-box!important;list-style:none!important;
 background:#edf3e7!important;border:1px solid #d4dfca!important;border-radius:999px!important;
 color:var(--bb-premium-green)!important;-webkit-text-fill-color:currentColor!important;
 font-size:14px!important;line-height:1.4!important;font-weight:750!important;
}
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients>summary::-webkit-details-marker{display:none!important}
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients[open]>summary{margin-bottom:12px!important}
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients[open]>.ingredient-row{
 display:block!important;margin:0 0 8px!important;padding:10px 12px!important;
 background:#f4f7ef!important;border:1px solid #dce5d5!important;border-radius:22px!important;
}
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients[open]>.ingredient-row:last-child{margin-bottom:0!important}
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients[open]>.ingredient-row>span{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(72px,38%)!important;
 align-items:center!important;gap:10px!important;min-width:0!important;
 color:var(--bb-premium-ink)!important;-webkit-text-fill-color:currentColor!important;
 font-size:14px!important;line-height:1.45!important;font-weight:600!important;overflow-wrap:anywhere!important;
}
html body[data-bbnext-view="discover"] #app .bbfeed-ingredients[open] .ingredient-row [data-bb-measures]{
 display:inline-block!important;justify-self:end!important;max-width:100%!important;box-sizing:border-box!important;
 margin:0!important;padding:6px 9px!important;background:#e6eedf!important;
 border:1px solid #d4dfca!important;border-radius:999px!important;
 color:var(--bb-premium-green)!important;-webkit-text-fill-color:currentColor!important;
 font-size:13px!important;line-height:1.35!important;font-weight:650!important;overflow-wrap:anywhere!important;
}

/* At home: one clear introduction and consistent pantry surfaces. */
html body #app #bb173ShopFridge.bbpi-enhanced{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html body #app #bb173ShopFridge .bb76-kitchen-intro{background:var(--bb-premium-gloss)!important;border:1px solid #c3a45d66!important;border-radius:20px!important;padding:20px!important;color:var(--bb-premium-ivory)!important;box-shadow:0 7px 20px #123e2d12!important}
html body #app #bb173ShopFridge .bb76-kitchen-intro :is(h2,p){color:var(--bb-premium-ivory)!important}
html body #app #bb173ShopFridge .bb76-kitchen-intro .bb76-kicker{color:#e3d3a3!important}
html body #app #bb173ShopFridge :is(.bbpi-toolbar,.bbpi-summary,.bb76-store,.bb-kitchen-review-card){background:var(--bb-premium-ivory)!important;border:1px solid var(--bb-premium-border)!important;border-radius:18px!important;box-shadow:0 3px 13px #123e2d07!important}
html body #app #bb173ShopFridge .bbpi-summary-row{border-color:#e1e8db!important;background:#fffefa!important}
html body #app #bbKitchenSections{background:#e9efdf!important;border:1px solid #d4dec9!important;border-radius:14px!important}
html body #app #bbKitchenSections button{min-height:44px!important;border-radius:11px!important;color:var(--bb-premium-green)!important}
html body #app #bbKitchenSections button[aria-selected=true]{background:var(--bb-premium-gloss)!important;color:var(--bb-premium-ivory)!important;box-shadow:0 2px 7px #123e2d14!important}
html body #app #bb173ShopFridge .bb-pantry-camera-button{background:linear-gradient(135deg,#f7efd9,#f0e4c1)!important;border-color:#d6c591!important;color:#4c5835!important;border-radius:14px!important;min-height:44px!important}

/* Pantry rows keep one premium card and a small visual stepper with full touch targets. */
html body #app #bb173ShopFridge.bbpi-enhanced [data-bb76-count]{background:#e7f0e9!important;color:#315b42!important;border-radius:999px!important;padding:5px 9px!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bb76-store{
 background:#fff!important;border:0!important;border-radius:22px!important;
 box-shadow:0 8px 24px rgba(16,42,29,.06)!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary{
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary>header[hidden]{display:none!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-list{gap:8px!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-row{
 min-width:0!important;min-height:64px!important;padding:11px 12px!important;gap:8px!important;
 border:1px solid transparent!important;border-radius:16px!important;background:#F8FBF9!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-main{
 gap:3px 6px!important;min-width:0!important;min-height:38px!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-title{
 display:flex!important;align-items:center!important;flex:1 0 100%!important;min-width:0!important;gap:6px!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-title strong{
 flex:0 1 auto!important;min-width:0!important;font-size:14px!important;line-height:1.4!important;font-weight:700!important;overflow-wrap:anywhere!important;
}
html body #app :is(.bbpi-edit,.bbps-start){text-decoration:none!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-amount{
 color:var(--bb-premium-muted)!important;font-size:13px!important;line-height:1.4!important;
 font-variant-numeric:tabular-nums!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bb-kitchen-last-price{font-variant-numeric:tabular-nums!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced #bb76StorageSections .bbpi-summary-main .bbpi-edit{
 flex:none!important;width:auto!important;min-width:44px!important;min-height:44px!important;margin:-12px 0!important;
 padding:0 2px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;
 color:#567462!important;-webkit-text-fill-color:currentColor!important;text-decoration:none!important;
 font-size:12px!important;line-height:20px!important;font-weight:600!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced:not(.bbps-active) .bbpi-summary-actions{
 display:grid!important;position:relative!important;grid-template-columns:44px 44px!important;gap:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-actions::before{
 content:"";position:absolute;top:3px;left:4px;width:80px;height:38px;box-sizing:border-box;
 border:1px solid #D5E2D8;border-radius:12px;background:#fff;pointer-events:none;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-actions::after{
 content:"";position:absolute;top:4px;left:44px;width:1px;height:36px;background:#D5E2D8;pointer-events:none;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-actions:focus-within{outline:3px solid var(--bb-premium-forest)!important;outline-offset:3px!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced #bb76StorageSections .bbpi-summary-actions .bbpi-step{
 position:relative!important;z-index:1;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
 padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;
 color:#1B4D33!important;-webkit-text-fill-color:currentColor!important;font-size:21px!important;line-height:1!important;font-weight:650!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced .bbpi-summary-footer{padding:12px 0 0!important;gap:8px!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced #bb76StorageSections .bbpi-summary-footer .bbpi-add-food{
 flex:1 1 auto!important;min-width:0!important;width:auto!important;min-height:46px!important;
 padding:11px 14px!important;border:1px solid #1B4D33!important;border-radius:14px!important;
 background:#1B4D33!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;
 box-shadow:none!important;font-size:14px!important;line-height:1.4!important;font-weight:750!important;
}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced.bbps-active .bbpi-edit{display:none!important}
html body[data-bbnext-view="shop"] #app #bb173ShopFridge.bbpi-enhanced.bbps-active .bbpi-summary-row.bbps-selected{
 border-color:#4d8b65!important;background:#edf5e9!important;box-shadow:inset 0 0 0 1px #4d8b65!important;
}

/* Shop's mobile summary is an existing sibling of #app. */
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview{color:var(--bb-premium-ink)!important}
html body[data-bbnext-view="shop-list"] .bb-shop-add .bb-shop-add-open{background:#f1f5eb!important;border:1px solid #cedbc7!important;border-radius:14px!important;color:var(--bb-premium-green)!important;-webkit-text-fill-color:currentColor!important;min-height:46px!important;box-shadow:inset 0 1px #ffffff8c!important}
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview .bb-r6-hero,
html body[data-bbnext-view="shop-list"] #bbMobileShopPreview .bbm-shop-hero{background:var(--bb-premium-gloss)!important;border:1px solid #c3a45d66!important;border-radius:22px!important;box-shadow:0 8px 22px #123e2d17!important;color:var(--bb-premium-ivory)!important}
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview .bb-r6-hero :is(h2,p,strong,span){color:var(--bb-premium-ivory)!important}
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview .bb-r6-stat{background:#ffffff0c!important;border-color:#ffffff30!important;color:var(--bb-premium-ivory)!important;box-shadow:inset 0 1px #ffffff12!important;border-radius:15px!important}
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview .bb-r6-list,
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview .bb-cupboard-staples,
html body[data-bbnext-view="shop-list"] #bbMobileShopPreview .bbm-shop-preview{background:var(--bb-premium-ivory)!important;border:1px solid var(--bb-premium-border)!important;border-radius:20px!important;box-shadow:var(--bb-premium-shadow)!important}
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview :is(.bb-r6-begin,.bbm-begin){background:var(--bb-premium-gloss)!important;border-color:var(--bb-premium-green)!important;color:var(--bb-premium-ivory)!important;border-radius:14px!important;min-height:48px!important;box-shadow:0 4px 12px #123e2d14,inset 0 1px #ffffff18!important}
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview :is(.bb-r6-secondary button,.bb-r6-essentials-edit,.bb-weekly-basic-list,.bbcs-add){background:#f2f6ed!important;border-color:#cddbc5!important;color:var(--bb-premium-green)!important;border-radius:12px!important;min-height:44px!important}
html body[data-bbnext-view="shop-list"] #bbReleaseShopOverview select{background:#fffefa!important;color:var(--bb-premium-ink)!important;border-color:#cbd9c4!important;border-radius:13px!important;min-height:46px!important;font-size:16px!important}
html body #app #bb321Printable .bb321-buy-row{background:#fffefa!important;border-color:#dce5d5!important;border-radius:13px!important}
html body #app #bb321Printable .bb321-shop-price{color:var(--bb-premium-green)!important;font-variant-numeric:tabular-nums}

/* Navigation finish only: never change positioning, visibility or keyboard rules. */
html body nav#bbPrimaryNavigation[data-bb-navigation="polished"]{background:#fffdf6!important;border-color:#d3dec8!important;box-shadow:0 5px 24px #123e2d16,inset 0 1px #ffffff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body nav#bbPrimaryNavigation[data-bb-navigation="polished"]>[data-bb-nav-item]{color:#536d58!important}
html body nav#bbPrimaryNavigation[data-bb-navigation="polished"]>[data-bb-nav-current="true"]{background:var(--bb-premium-gloss)!important;color:var(--bb-premium-ivory)!important;box-shadow:0 4px 10px #123e2d1a,inset 0 1px #ffffff21!important}

/* The standalone Cook page uses its original workspace and upload controls. */
html body.bb-photo-meal-page #bb15AiPremiumHub .bbpm-intro{background:var(--bb-premium-gloss)!important;border:1px solid #c3a45d66!important;box-shadow:0 9px 24px #123e2d17,inset 0 1px #ffffff1a!important}
html body.bb-photo-meal-page #bb15AiPremiumHub .bbpm-intro :is(h1,p){color:var(--bb-premium-ivory)!important}
html body.bb-photo-meal-page #bb15AiPremiumHub .bbpm-intro h1 em{color:#e5d19a!important}
html body.bb-photo-meal-page #bb15AiPremiumHub .bbpm-steps li{background:var(--bb-premium-ivory)!important;border-color:#d9e1ce!important;color:var(--bb-premium-green)!important}
html body.bb-photo-meal-page #bb15AiPremiumHub .bbpm-steps li[aria-current=step]{background:var(--bb-premium-gloss)!important;color:var(--bb-premium-ivory)!important;border-color:var(--bb-premium-green)!important}
html body.bb-photo-meal-page #bbToolStage .ai-feature{background:var(--bb-premium-ivory)!important;border-color:var(--bb-premium-border)!important;border-radius:22px!important;box-shadow:var(--bb-premium-shadow)!important}
html body.bb-photo-meal-page #bbToolStage label[for="ai-photo-input"]{background:linear-gradient(145deg,#f5f7e9,#edf3df)!important;border-color:#aabd99!important;color:var(--bb-premium-green)!important;border-radius:18px!important}
html body.bb-photo-meal-page #bbToolStage :is(#scanBtn,#generate){background:var(--bb-premium-gloss)!important;color:var(--bb-premium-ivory)!important;border-color:var(--bb-premium-green)!important;border-radius:13px!important;min-height:44px!important}

/* Immediate, visible interaction feedback; no new motion or action delays. */
html body #app :is(button,[role=button]):not(:disabled):active,
html body[data-bbnext-view] .shell>header.top button:not(:disabled):active{filter:brightness(.94)}
html body #app :is(button,input,select,textarea,summary):focus-visible,
html body nav#bbPrimaryNavigation[data-bb-navigation="polished"]>[data-bb-nav-item]:focus-visible,
html body.bb-photo-meal-page #bbToolStage :is(button,input,select,textarea,label[role=button]):focus-visible{outline:3px solid var(--bb-premium-forest)!important;outline-offset:3px!important}
html body[data-bbnext-view] .shell>header.top :is(button,select):focus-visible{outline:3px solid var(--bb-premium-gold-light)!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){
 html body[data-bbnext-view] .shell *,html body.bb-photo-meal-page #bb15AiPremiumHub *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* Shopping owns the screen. Keep ordinary branding on the other views. */
html body.bb172-storefront-visible[data-bbnext-view] .shell>header.top[data-bb-account-polish],
html body.bb172-storefront-visible .shell>header.top[data-bb-account-polish]{display:none!important;visibility:hidden!important;pointer-events:none!important}
html body #bb172Storefront{overflow-anchor:none;--bb-shop-compact-size:calc(68px + env(safe-area-inset-top,0px));scroll-padding-top:calc(80px + env(safe-area-inset-top,0px))!important}
html body #bb172Storefront .bb172-storefront-header{
 position:sticky!important;top:calc(var(--bb-shop-compact-size) - var(--bb-shop-header-size,280px))!important;z-index:30!important;
 width:100%!important;max-width:none!important;border-radius:0!important;border-bottom:0!important;
 padding:calc(14px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px))!important;
 background:radial-gradient(ellipse at 90% 0%,#ffffff12,transparent 60%),linear-gradient(120deg,#153e5c,#225c7b)!important;
 box-shadow:0 5px 22px #143e5824!important;
}
html body #bb172Storefront .bb172-storefront-header-top{grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-areas:"brand wake exit"!important;min-height:44px!important;gap:8px!important}
html body #bb172Storefront .bbnext-shop-brand{justify-self:start!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:7px!important}
html body #bb172Storefront .bbnext-shop-brand-name{font-size:18px!important}
html body #bb172Storefront :is(.bb172-storefront-wake,.bb172-storefront-exit){min-height:44px!important;min-width:44px!important;border-radius:13px!important;padding:9px!important;font-size:11px!important}
html body #bb172Storefront .bb172-storefront-stat{padding:11px!important;min-height:68px!important;border-radius:15px!important}
html body #bb172Storefront .bb172-storefront-stat strong{font-variant-numeric:tabular-nums!important;font-size:clamp(17px,4.5vw,24px)!important}
html body #bb172Storefront .bb172-storefront-actions{display:flex;align-items:center;gap:12px;margin-top:15px}
html body #bb172Storefront .bb172-storefront-share-hint{flex:1;color:#d7e8ed;font-size:12px;line-height:1.45;max-width:230px}
html body #bb172Storefront .bb172-storefront-add{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-height:46px!important;min-width:46px!important;flex:none;padding:10px 16px!important;border:1px solid #efdb9b!important;border-radius:14px!important;background:linear-gradient(135deg,#faedc6,#ebd393)!important;color:#263f36!important;-webkit-text-fill-color:currentColor!important;box-shadow:0 4px 14px #061e3130,inset 0 1px #fff9!important;font-family:inherit;font-size:14px;font-weight:800;line-height:1.2;text-decoration:none!important;cursor:pointer}
html body #bb172Storefront .bb172-storefront-add:focus-visible{outline:3px solid #fff!important;outline-offset:3px}
html body #bb172Storefront .bb172-storefront-compact{position:absolute;inset:auto 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto auto 44px;align-items:center;gap:12px;height:var(--bb-shop-compact-size);padding:calc(8px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px));visibility:hidden;pointer-events:none}
html body #bb172Storefront .bb172-storefront-compact :is(strong,small){display:block;white-space:nowrap;font-variant-numeric:tabular-nums}
html body #bb172Storefront .bb172-storefront-compact strong{font-size:17px;line-height:1.3;color:white;letter-spacing:-.02em}
html body #bb172Storefront .bb172-storefront-compact small{font-size:10px;line-height:1.4;color:#daebee;font-weight:650}
html body #bb172Storefront .bb172-storefront-compact-count{text-align:center;min-width:44px}
html body #bb172Storefront .bb172-storefront-compact-exit{box-sizing:border-box!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:1px solid #ffffff45!important;border-radius:13px!important;background:#ffffff10!important;color:white!important;-webkit-text-fill-color:currentColor!important;font-size:27px!important;line-height:1!important;box-shadow:none!important;cursor:pointer}
html body #bb172Storefront[data-bb-shop-compact="true"] .bb172-storefront-header>:not(.bb172-storefront-compact){visibility:hidden!important;pointer-events:none!important}
html body #bb172Storefront[data-bb-shop-compact="true"] .bb172-storefront-compact{visibility:visible;pointer-events:auto}
@media(max-width:370px){
 html body #bb172Storefront .bb172-storefront-header-top{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand exit" "wake wake"!important}
 html body #bb172Storefront .bb172-storefront-wake{justify-self:start!important}
 html body #bb172Storefront .bb172-storefront-compact{gap:9px}
 html body #bb172Storefront .bb172-storefront-compact .bb172-storefront-add{width:46px;padding:8px!important}
 html body #bb172Storefront .bb172-storefront-compact .bb172-storefront-add-label{display:none}
 html body #bb172Storefront .bb172-storefront-add-symbol{font-size:23px;line-height:1}
 html body #bb172Storefront .bb172-storefront-compact strong{font-size:16px}
}
@media(prefers-reduced-motion:reduce){html body #bb172Storefront .bb172-storefront-progress-fill{transition:none!important}}
/* Exact food needs stay separate from the purchase pack in both Shop views. */
html body #app .bb321-shop-info .bb-shop-need-context,
html body #bb172Storefront .bb15-shop-ingredient .bb-shop-need-context{display:block!important;margin:4px 0 0!important;color:#61716a!important;font-size:11px!important;font-weight:500!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body #bb172Storefront .bb15-shop-ingredient .bb-shop-need-context{font-size:10px!important;line-height:1.35!important}
/* Give the exact shortfall its own line and keep pack context readable on phones. */
html body #app .bb321-shop-quantity>strong{font-size:17px!important;font-weight:800!important;line-height:1.3!important;color:var(--bb-premium-green)!important}
html body #bb172Storefront .bbcompact-shop-row .bbcompact-main{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto 36px!important;grid-template-rows:auto auto auto auto!important;column-gap:7px!important;row-gap:3px!important;padding:10px 8px!important;align-items:start!important}
html body #bb172Storefront .bbcompact-shop-row .bbcompact-main>.bb15-shop-ingredient{display:contents!important}
html body #bb172Storefront .bbcompact-shop-row .bbcompact-main>.bb172-storefront-checkbox{grid-column:1!important;grid-row:1 / 5!important;align-self:center!important;width:32px!important;height:32px!important;min-width:32px!important;margin:0!important}
html body #bb172Storefront .bbcompact-shop-row .bb172-storefront-item-title{grid-column:2!important;grid-row:1!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:13px!important;line-height:1.3!important}
html body #bb172Storefront .bbcompact-shop-row .bbcompact-main>.bbcompact-qty{grid-column:2 / 4!important;grid-row:2!important;justify-self:start!important;max-width:none!important;padding:0!important;background:transparent!important;border-radius:0!important;color:var(--bb-premium-green)!important;font-size:18px!important;font-weight:800!important;line-height:1.25!important;text-align:left!important;white-space:normal!important}
html body #bb172Storefront .bbcompact-shop-row .bb-shop-need-context{grid-column:2 / 4!important;grid-row:3!important;margin:0!important;font-size:11px!important;line-height:1.4!important}
html body #bb172Storefront .bbcompact-shop-row .bb321-shop-used-in{grid-column:2 / 4!important;grid-row:4!important;margin:0!important;color:#6a7871!important;font-size:10px!important;line-height:1.35!important}
html body #bb172Storefront .bbcompact-shop-row .bb-pantry-mismatch{grid-column:2 / 4!important;grid-row:5!important;margin:0!important}
html body #bb172Storefront .bbcompact-shop-row .bbcompact-main>.bbcompact-price{grid-column:3!important;grid-row:1!important;justify-self:end!important;max-width:84px!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:11px!important;line-height:1.35!important}
html body #bb172Storefront .bbcompact-shop-row .bbcompact-main>.bbcompact-toggle{grid-column:4!important;grid-row:1 / 5!important;align-self:center!important;width:36px!important;min-width:36px!important;height:44px!important;min-height:44px!important}
@media(max-width:350px){html body #bb172Storefront .bbcompact-shop-row .bbcompact-main{column-gap:5px!important;padding-inline:6px!important}html body #bb172Storefront .bbcompact-shop-row .bbcompact-main>.bbcompact-qty{font-size:17px!important}}
