/* BasketBoss Plan / My Week UI refinement. All rules are presentational.
   Keep original DOM IDs, input elements, handlers and budget ring mechanics. */
:root { --bbpol-forest:#174b35;--bbpol-green:#047857;--bbpol-border:#d9e5dc; }
body .shell { max-width:744px!important;width:100%!important;margin-inline:auto!important;padding-inline:12px!important;padding-bottom:calc(144px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important; }
body .shell > header.top {max-width:720px!important;width:100%!important;min-height:60px!important;margin:0 auto 11px!important;padding:9px 13px!important;box-sizing:border-box!important;position:relative!important;overflow:visible!important;border-radius:0 0 17px 17px!important;}
body .shell #app {width:100%!important;max-width:720px!important;margin-inline:auto!important;padding-bottom:calc(155px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;}
body .shell > header.top .brand h1{font-family:"Avenir Next",ui-sans-serif,system-ui,sans-serif!important;font-weight:800!important;letter-spacing:-.03em!important;font-size:clamp(17px,3vw,23px)!important;}
body .shell > header.top .bb-public-beta-badge{border-radius:999px!important;font-size:9px!important;letter-spacing:.075em!important;font-weight:800!important;padding:3px 8px!important;}
body .shell > header.top .bbui-header-actions{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;}
body .shell > header.top .bbpol-header-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;max-width:155px!important;min-width:0!important;flex-shrink:1!important;padding:8px 10px!important;border-radius:12px!important;border:1px solid #c4dbca!important;background:#edf7ef!important;color:#165c3e!important;font-size:11px!important;font-weight:800!important;white-space:normal!important;line-height:1.25!important;cursor:pointer!important;box-shadow:none!important;}
body .shell > header.top .bbpol-header-pill:hover{background:#dff3e5!important}
body .shell > header.top .bbpol-header-pill:focus-visible{outline:3px solid #d7a243!important;outline-offset:2px!important}
body .shell > header.top .bbpol-upgrade{background:#145f40!important;color:#fff!important;border-color:#145f40!important;white-space:nowrap!important;}
body .shell > header.top .bbpol-upgrade:hover{background:#0d4c31!important;}
body .shell > header.top .bbpol-upgrade[hidden]{display:none!important;}
/* Preserve the real shopping-region card and its existing select/save handlers.
   Its compact face moves to a single header button; the original editor pops down. */
body .shell > header.top #bb17RegionCard.bbpol-region-popover.bb17513-region-collapsed{display:none!important;}
body .shell > header.top #bb17RegionCard.bbpol-region-popover:not(.bb17513-region-collapsed){display:block!important;position:absolute!important;top:calc(100% + 7px)!important;right:0!important;left:0!important;width:100%!important;max-width:720px!important;z-index:100!important;margin:0!important;padding:14px!important;border-radius:17px!important;background:white!important;border:1px solid #caddce!important;box-shadow:0 14px 42px #172b2229!important;box-sizing:border-box!important;}
body .shell > header.top #bb17RegionCard.bbpol-region-popover:not(.bb17513-region-collapsed) .bb17-region-top{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
body .shell > header.top #bb17RegionCard .bb17513-region-summary{display:none!important}
/* Core weekly budget: two balanced columns, no watermark, original live ring. */
#app.bbnext-plan .bbnext-plan-budget{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;column-gap:18px!important;row-gap:8px!important;align-items:center!important;justify-items:stretch!important;padding:20px!important;border-radius:21px!important;background:#fff!important;border:1px solid #dce7dd!important;box-shadow:0 9px 30px #102d1b12!important;}
#app.bbnext-plan .bbnext-plan-budget .bb-myweek-emblem{grid-column:1!important;grid-row:1!important;position:relative!important;align-self:center!important;justify-self:center!important;width:108px!important;height:108px!important;max-width:108px!important;min-width:0!important;margin:0!important;display:grid!important;place-items:center!important;}
#app.bbnext-plan .bbnext-plan-budget .bb-myweek-emblem .bb77-week-mark,
#app.bbnext-plan .bbnext-plan-budget .bb-myweek-emblem .bb-myweek-watermark,
#app.bbnext-plan .bbnext-plan-budget .bb-myweek-emblem >svg{display:none!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-donut{position:static!important;grid-column:auto!important;grid-row:auto!important;justify-self:center!important;margin:0!important;width:106px!important;height:106px!important;box-shadow:none!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-donut-core{width:78px!important;height:78px!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-budget-text{min-width:0!important;grid-column:2!important;grid-row:1!important;justify-self:stretch!important;text-align:left!important;align-items:start!important;margin:0!important;padding:0!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-kicker{font-size:10px!important;color:#1e7650!important;font-weight:850!important;letter-spacing:.10em!important;text-align:left!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-budget-text h2{font-size:clamp(26px,4.8vw,34px)!important;line-height:1.12!important;letter-spacing:-.042em!important;text-align:left!important;margin:3px 0 9px!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-budget-line{font-size:14px!important;text-align:left!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-budget-text>p{font-size:12px!important;margin:7px 0!important;max-width:none!important;text-align:left!important;}
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-budget-text>small{margin:0!important;max-width:none!important;text-align:left!important;font-size:10px!important;}
#app.bbnext-plan .bbnext-plan-budget .bb77-budget-form{width:100%!important;max-width:none!important;margin:12px 0 0!important;text-align:left!important;}
#app.bbnext-plan .bbnext-plan-budget .bb77-budget-controls{display:flex!important;gap:7px!important;justify-content:flex-start!important;flex-wrap:wrap!important;}
#app.bbnext-plan .bb77-budget-controls input{flex:1 1 85px!important;width:100%!important;min-width:75px!important;max-width:180px!important;min-height:40px!important;border:1px solid #c8dacd!important;border-radius:11px!important;background:#fbfdfb!important;color:#173d2c!important;font-variant-numeric:tabular-nums!important;padding:8px 10px!important;}
#app.bbnext-plan .bb77-budget-controls button{min-height:40px!important;flex:0 1 auto!important;border-radius:11px!important;padding:8px 12px!important;font-size:12px!important;white-space:nowrap!important;}
#app.bbnext-plan .bb77-budget-controls input::-webkit-inner-spin-button,
#app.bbnext-plan .bb77-budget-controls input::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important;}
#app.bbnext-plan .bb77-budget-controls input[type=number]{-moz-appearance:textfield!important;appearance:textfield!important;}
/* Day pills, filled meals, and deliberate empty slots. Native <details> still owns toggles. */
#app.bbnext-plan .bb1759-days{gap:11px!important;}
#app.bbnext-plan .bbnext-day{border-radius:17px!important;border:1px solid #d9e6dd!important;background:white!important;box-shadow:0 3px 14px #1427190b!important;overflow:hidden!important;}
#app.bbnext-plan .bbnext-day:not(.has-meal):not(.is-locked){border:1.5px dashed #cbd5e1!important;background:#f8fafc!important;}
#app.bbnext-plan .bbnext-day-toggle{display:flex!important;align-items:center!important;gap:12px!important;min-height:96px!important;padding:12px!important;}
#app.bbnext-plan .bbnext-day-label{display:grid!important;place-items:center!important;flex:0 0 45px!important;width:45px!important;height:68px!important;background:#e9f4ec!important;border:1px solid #d6e7d8!important;border-radius:12px!important;color:#185c40!important;font:850 12px/1 system-ui,sans-serif!important;letter-spacing:.07em!important;}
#app.bbnext-plan .bbnext-day-toggle img.bb-beta-day-thumb{flex:0 0 84px!important;width:84px!important;height:84px!important;min-width:84px!important;max-width:84px!important;max-height:84px!important;aspect-ratio:1!important;display:block!important;object-fit:cover!important;border-radius:12px!important;box-shadow:0 2px 8px #00000014!important;}
#app.bbnext-plan .bbnext-day-description{flex:1 1 auto!important;display:grid!important;align-content:center!important;gap:6px!important;min-width:0!important;text-align:left!important;}
#app.bbnext-plan .bbnext-day-description strong{font-size:clamp(15px,2.4vw,17px)!important;line-height:1.25!important;font-weight:750!important;overflow-wrap:break-word!important;letter-spacing:-.012em!important;}
#app.bbnext-plan .bbnext-day-description small.bbpol-meta-done{display:flex!important;flex-wrap:wrap!important;gap:6px!important;font-size:11px!important;text-align:left!important;}
#app.bbnext-plan .bbpol-time,#app.bbnext-plan .bbpol-price{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:5px 8px!important;font-size:11px!important;line-height:1.2!important;font-weight:750!important;white-space:normal!important;}
#app.bbnext-plan .bbpol-time{background:#f1f5f3!important;color:#52675a!important;}
#app.bbnext-plan .bbpol-price{background:#ecfdf5!important;color:#047857!important;}
#app.bbnext-plan .bbnext-day:not(.has-meal) .bbnext-day-description{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;column-gap:12px!important;align-items:center!important;}
#app.bbnext-plan .bbnext-day:not(.has-meal) .bbnext-day-description:before{content:'+'!important;grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;width:72px!important;height:72px!important;border:1.5px dashed #cbd5e1!important;border-radius:12px!important;background:#edf3f5!important;color:#7a9a89!important;font-size:30px!important;font-weight:350!important;}
#app.bbnext-plan .bbnext-day:not(.has-meal) .bbnext-day-description strong{grid-column:2!important;grid-row:1!important;align-self:end!important;}
#app.bbnext-plan .bbnext-day:not(.has-meal) .bbnext-day-description small{grid-column:2!important;grid-row:2!important;align-self:start!important;}
#app.bbnext-plan .bbnext-day-caret{flex:0 0 auto!important;font-size:20px!important;}
/* Expanded dinners keep their summary above one compact set of actions. The
   original controls stay in place so moving, cooking and saving still work. */
#app.bbnext-plan .bbnext-day.has-meal[open]{border-color:#2d5a40!important;}
#app.bbnext-plan .bbnext-day.has-meal[open]>.bbnext-day-toggle,
#app.bbnext-plan .bbnext-day.has-meal>.bbnext-day-toggle:active{
 background:#ebf3ee!important;color:#234b35!important;
}
#app.bbnext-plan .bbnext-day.has-meal[open]>.bbnext-day-toggle{border-bottom:1px solid #2d5a40!important;}
#app.bbnext-plan .bbnext-day.has-meal[open]>.bbnext-day-toggle .bbnext-day-description strong{color:#234b35!important;}
#app.bbnext-plan .bbnext-day.has-meal[open]>.bbnext-day-toggle .bb77-tonight{background:#d5e7db!important;color:#24563b!important;}
#app.bbnext-plan .bbnext-day.has-meal[open]>.bbnext-day-toggle .bbpol-time{background:#f8fbf8!important;color:#405e4a!important;}
#app.bbnext-plan .bbnext-day.has-meal[open]>.bbnext-day-toggle .bbfeed-control{background:#fffdf6!important;border-color:#b9cfbf!important;color:#24563b!important;}
#app.bbnext-plan .bbnext-day-content{border-top:0!important;}
#app.bbnext-plan .bbnext-day-content>.day{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card{display:block!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card>.bb14-meal-heading,
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card>.bb14-meal-body>.bb14-meal-photo{display:none!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card>.bb14-meal-body,
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb14-meal-commands{display:block!important;width:100%!important;min-width:0!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb172-planner-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;margin:0!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb172-planner-controls>select[data-move],
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb172-planner-controls>[data-cook]{width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:9px 12px!important;border-radius:12px!important;font-size:14px!important;line-height:1.3!important;box-shadow:none!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb172-planner-controls>select[data-move]{grid-column:1!important;background:#f2f7f3!important;border:1px solid #b9cfbf!important;color:#234e36!important;-webkit-text-fill-color:#234e36!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb172-planner-controls>[data-cook]{grid-column:2!important;background:#1d6848!important;border:1px solid #1d6848!important;color:#fffdf6!important;-webkit-text-fill-color:#fffdf6!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb172-planner-controls>.bb-evening-pivot{grid-column:1/-1!important;width:100%!important;margin:0!important;}
#app.bbnext-plan .bbnext-day-content>.day>.planned.bb14-meal-card .bb-evening-pivot-open{width:100%!important;min-height:48px!important;margin:0!important;padding:10px 12px!important;border:1px solid #c9d7c0!important;border-radius:12px!important;background:#eef5e8!important;color:#2d5a40!important;font-size:12px!important;line-height:1.35!important;box-shadow:none!important;}
#app.bbnext-plan .bbnext-day-content .bb-leftover-panel{margin:10px 0 0!important;padding:11px 12px!important;border:1px solid #d5e2d7!important;border-radius:12px!important;background:#f7faf5!important;}
/* Warm Pro feature strip and clean status pills for school lunches. */
#app.bbnext-plan .bb81-pro-filters,#app.bbnext-plan .bbnext-plan-autofill,#app.bbnext-plan #bb172SixDinnerPanel{background:#fcfbf7!important;border:1px solid #e6e5da!important;border-radius:16px!important;box-shadow:none!important;}
#app.bbnext-plan .bb81-pro-pill{border-radius:999px!important;background:#fff!important;border:1px solid #cfded1!important;min-height:39px!important;font-size:12px!important;padding:8px 13px!important;}
#app.bbnext-plan .bb81-pro-pill:focus-visible{outline:3px solid #d5a443!important;outline-offset:2px!important;}
#app.bbnext-plan .bb1756-extra-group>summary span{margin-left:auto!important;display:inline-flex!important;align-items:center!important;border-radius:999px!important;background:#edf7f0!important;color:#27664a!important;border:1px solid #d2e5d7!important;padding:5px 10px!important;font-size:11px!important;font-weight:800!important;}
/* The native 5-tab dock remains fully clickable, elevated and non-overlapping. */
body .shell .tabs{max-width:720px!important;width:min(calc(100vw - 24px),720px)!important;box-sizing:border-box!important;background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;box-shadow:0 13px 45px #102d1c26,0 2px 10px #15301b12!important;border:1px solid #d7e8db!important;z-index:90!important;}
/* Existing Pro modal gains a non-destructive direct link to the checkout route. */
#bb81PremiumPreviewDialog .bbpol-direct-plans{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;background:#17613f;color:white;padding:10px 14px;font-size:13px;font-weight:800;text-decoration:none;}
#bb81PremiumPreviewDialog .bbpol-direct-plans:focus-visible{outline:3px solid #d7a243;outline-offset:2px;}
@media(max-width:600px){
 body .shell>header.top{padding:8px!important;gap:7px!important}
 body .shell>header.top .bbui-header-actions{gap:4px!important}
 body .shell>header.top .bbpol-header-pill{min-height:35px!important;padding:6px 7px!important;font-size:10px!important;max-width:104px!important}
 body .shell>header.top .brand{gap:5px!important}
 body .shell>header.top .brand h1{font-size:16px!important}
 body .shell>header.top .bbui-settings-trigger{width:36px!important;height:36px!important;min-height:36px!important}
 #app.bbnext-plan .bbnext-plan-budget{grid-template-columns:82px minmax(0,1fr)!important;column-gap:12px!important;padding:13px!important}
 #app.bbnext-plan .bbnext-plan-budget .bb-myweek-emblem{width:82px!important;height:82px!important}
 #app.bbnext-plan .bbnext-plan-budget .bbnext-plan-donut{width:80px!important;height:80px!important}
 #app.bbnext-plan .bbnext-plan-budget .bbnext-plan-donut-core{width:59px!important;height:59px!important}
 #app.bbnext-plan .bbnext-plan-budget .bbnext-plan-donut-core strong{font-size:11px!important}
 #app.bbnext-plan .bbnext-plan-budget .bbnext-plan-budget-text h2{font-size:27px!important}
 #app.bbnext-plan .bbnext-day-toggle{gap:8px!important;padding:9px!important}
 #app.bbnext-plan .bbnext-day-label{width:38px!important;flex-basis:38px!important;height:61px!important;font-size:11px!important}
 #app.bbnext-plan .bbnext-day-toggle img.bb-beta-day-thumb{width:72px!important;height:72px!important;min-width:72px!important;max-width:72px!important;max-height:72px!important;flex-basis:72px!important}
 #app.bbnext-plan .bbnext-day:not(.has-meal) .bbnext-day-description{grid-template-columns:72px minmax(0,1fr)!important;column-gap:7px!important}
 #app.bbnext-plan .bbnext-day-description strong{font-size:14px!important}
}
@media(max-width:375px){
 body .shell>header.top .bbpol-upgrade{max-width:70px!important}
 #app.bbnext-plan .bbnext-day-label{flex-basis:33px!important;width:33px!important}
 #app.bbnext-plan .bbnext-day-toggle img.bb-beta-day-thumb{width:63px!important;height:63px!important;min-width:63px!important;max-width:63px!important;flex-basis:63px!important}
 #app.bbnext-plan .bbnext-day:not(.has-meal) .bbnext-day-description{grid-template-columns:62px minmax(0,1fr)!important}
 #app.bbnext-plan .bbnext-day:not(.has-meal) .bbnext-day-description:before{height:62px!important;width:62px!important}
}
@media(prefers-reduced-motion:reduce){body .shell .tabs{scroll-behavior:auto!important}}

/* Original budget aria-valuenow drives this SVG; no duplicated spending math. */
#app.bbnext-plan .bbnext-plan-budget .bbnext-plan-donut:has(.bbpol-ring-svg){background:transparent!important;position:relative!important;}
#app.bbnext-plan .bbnext-plan-budget .bbpol-ring-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg);pointer-events:none;}
#app.bbnext-plan .bbpol-ring-svg circle{fill:none;stroke-width:10;stroke-linecap:round;}
#app.bbnext-plan .bbpol-ring-track{stroke:#e0ebe4;}
#app.bbnext-plan .bbpol-ring-progress{stroke:#287646;stroke-dasharray:263.894;stroke-dashoffset:263.894;transition:stroke-dashoffset .25s ease;}
@media(prefers-reduced-motion:reduce){#app.bbnext-plan .bbpol-ring-progress{transition:none}}
@media(max-width:430px){
 body .shell > header.top{flex-wrap:wrap!important;row-gap:6px!important;}
 body .shell > header.top .brand{flex:1 1 100%!important;}
 body .shell > header.top .bbui-header-actions{width:100%!important;justify-content:flex-end!important;}
 body .shell > header.top .bbpol-header-pill{max-width:145px!important;}
}
/* One balanced budget card in portrait and landscape; original numbers and form. */
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]{grid-template-columns:132px minmax(0,1fr)!important;gap:20px!important;align-items:center!important;padding:23px!important;border:1px solid #e0e5d5!important;border-radius:24px!important;background:radial-gradient(ellipse at 0 0,#f0f5e8,transparent 60%),#fffdf8!important;box-shadow:0 9px 28px #2449300b!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem{grid-column:1!important;grid-row:1!important;align-self:center!important;width:132px!important;height:132px!important;max-width:132px!important;aspect-ratio:1!important;display:grid!important;place-items:center!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem>.bbnext-plan-donut{grid-column:auto!important;grid-row:auto!important;width:124px!important;height:124px!important;border:0!important;box-shadow:none!important;background:transparent!important;display:grid!important;place-items:center!important;margin:0!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem .bbnext-plan-donut-core{width:91px!important;height:91px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border:1px solid #e5e8db!important;background:#fffef9!important;box-shadow:0 3px 12px #25482f08!important;line-height:1.15!important;text-align:center!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem .bbnext-plan-donut-core strong{font:750 18px/1.15 system-ui,-apple-system,sans-serif!important;letter-spacing:-.7px!important;font-variant-numeric:tabular-nums!important;color:#214f39!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem .bbnext-plan-donut-core small{font-size:9px!important;letter-spacing:.03em!important;color:#7b8269!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]:has(.bbpol-ring-svg) .bb-r7-ring{display:none!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpol-ring-svg circle{stroke-width:7!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpol-ring-svg .bbpol-ring-detail{stroke:#d9caa5!important;stroke-width:.7!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpol-ring-track{stroke:#e8ecdf!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbnext-plan-budget-text{grid-column:2!important;grid-row:1!important;text-align:left!important;min-width:0!important;align-self:center!important;width:100%!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbnext-plan-budget-text h2{font-size:29px!important;letter-spacing:-1px!important;margin:4px 0 10px!important;text-align:left!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb77-budget-form{text-align:left!important;margin-top:13px!important;width:100%!important;max-width:none!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb77-budget-controls{display:grid!important;grid-template-columns:minmax(0,180px) auto!important;gap:8px!important;justify-content:start!important;align-items:stretch!important;width:100%!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb77-budget-controls input{width:100%!important;min-width:0!important;min-height:44px!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb77-budget-controls button{min-height:44px!important;white-space:normal!important}
@media(max-width:400px){html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]{grid-template-columns:100px minmax(0,1fr)!important;gap:13px!important;padding:15px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem{width:100px!important;height:100px!important;max-width:100px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem>.bbnext-plan-donut{width:98px!important;height:98px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem .bbnext-plan-donut-core{width:72px!important;height:72px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb-myweek-emblem .bbnext-plan-donut-core strong{font-size:15px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbnext-plan-budget-text h2{font-size:24px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb77-budget-controls{grid-template-columns:minmax(0,1fr)!important}}
@media(orientation:landscape) and (max-height:520px){html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]{grid-template-columns:132px minmax(0,1fr)!important;gap:22px!important;padding:18px 22px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbnext-plan-budget-text h2{font-size:26px!important}html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bb77-budget-controls{grid-template-columns:minmax(0,180px) auto!important}}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]>.bb77-budget-form,html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]>.bb-r7-budget-pill{grid-column:2!important;grid-row:2!important;justify-self:stretch!important;width:100%!important;max-width:none!important;margin:0!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]>.bb77-budget-form{border:0!important;background:transparent!important;padding:0!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"]>.bb-r7-budget-pill{min-height:44px!important;padding:10px 14px!important;border:1px solid #dce5d3!important;border-radius:12px!important;background:#f1f5e9!important;color:#365c3d!important;box-shadow:none!important;font-size:12px!important;white-space:normal!important}
html body #app.bbnext-plan .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbnext-plan-kicker{justify-self:start!important;text-align:left!important;margin-left:0!important}
html body .toast{pointer-events:none!important}


/* One planning control group; all controls below are the original live nodes. */
#app.bbnext-plan #bbpolAutofillCard{margin:0 0 18px;padding:17px;border:1px solid #d8e3ce;border-radius:21px;background:linear-gradient(135deg,#f5f9ee 0%,#fffdf7 76%);box-shadow:0 5px 18px #234a3210;color:#234b35;overflow:visible;box-sizing:border-box}
#app.bbnext-plan #bbpolAutofillCard>.bb81-pro-filters{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-filters-heading{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-filters-heading strong{font:800 17px/1.3 system-ui,-apple-system,sans-serif;color:#214e35;letter-spacing:-.035em}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-filters-heading>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:5px 8px;border:1px solid #dfd5b7;border-radius:999px;background:#faf2df;color:#7b612c;font-size:10px;font-weight:800;line-height:1.3;white-space:nowrap}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0 15px}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-pill{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px!important;padding:9px 8px!important;border:1px solid #d5e1ce!important;border-radius:11px!important;background:#fffefa!important;color:#3c6449!important;box-shadow:0 1px 2px #234a3205;font-size:11px!important;font-weight:750;line-height:1.3;white-space:normal;transition:background .16s ease,border-color .16s ease}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-pill:hover{border-color:#a9c49f!important;background:#f1f7e9!important}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-pill.selected,#app.bbnext-plan #bbpolAutofillCard .bb81-pro-pill[aria-pressed="true"]{background:#e4f0da!important;border-color:#77a76c!important;color:#245137!important;box-shadow:inset 0 0 0 1px #b7d3a8}
#app.bbnext-plan #bbpolAutofillCard>.bbnext-plan-actions{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8px;margin:0!important}
#app.bbnext-plan #bbpolAutofillCard .bbnext-plan-actions>button{box-sizing:border-box;min-width:0;min-height:48px!important;border-radius:12px!important;font-size:12px!important;line-height:1.35;white-space:normal;cursor:pointer}
#app.bbnext-plan #bbpolAutofillCard #bb172FillSixDinners{padding:12px 10px!important;border:1px solid #1e6040!important;background:linear-gradient(135deg,#2e7c4a,#1e6240)!important;color:#fff!important;box-shadow:0 3px 8px #1d623324!important;font-weight:800;letter-spacing:-.015em}
#app.bbnext-plan #bbpolAutofillCard .bbnext-plan-actions>.bbnext-plan-secondary:not(#bbPantryPlannerButton){padding:12px 9px!important;border:1px solid #cadcc1!important;background:#fffdf6!important;color:#365c3f!important;box-shadow:0 1px 2px #234a3206!important;font-weight:750}
#app.bbnext-plan #bbpolAutofillCard .bbnext-plan-actions>#bbPantryPlannerButton{grid-column:1/-1;margin:5px 0 0!important;padding:11px 1px!important;min-height:44px!important;border:0!important;border-top:1px solid #dce6d3!important;border-radius:0!important;background:transparent!important;color:#4a7150!important;box-shadow:none!important;text-align:left;font-size:11px!important;font-weight:700}
#app.bbnext-plan #bbpolAutofillCard>.bbnext-plan-autofill{margin:1px 0 0!important;padding:0!important;border:0!important;border-top:1px solid #dce6d3!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#app.bbnext-plan #bbpolAutofillCard>.bbnext-plan-autofill>summary{min-height:44px;box-sizing:border-box;padding:13px 0 10px!important;color:#5b7654!important;font-size:11px!important;font-weight:700;line-height:1.5;cursor:pointer}
#app.bbnext-plan #bbpolAutofillCard>.bbnext-plan-autofill>summary::marker{color:#8aa075;font-size:10px}
#app.bbnext-plan #bbpolAutofillCard #bb172SixDinnerPanel{padding:5px 0 9px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#app.bbnext-plan #bbpolAutofillCard #bb172SixDinnerPanel h3{font-size:16px;color:#315a3e}
#app.bbnext-plan #bbpolAutofillCard .bb81-pro-filter-note{margin:3px 0 8px;font-size:11px;line-height:1.6;color:#6b7d5b}
#app.bbnext-plan #bbpolAutofillCard button:focus-visible,#app.bbnext-plan #bbpolAutofillCard summary:focus-visible{outline:3px solid #c9a851!important;outline-offset:3px!important}
@media(min-width:600px){#app.bbnext-plan #bbpolAutofillCard{padding:20px}#app.bbnext-plan #bbpolAutofillCard .bb81-pro-pills{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:360px){#app.bbnext-plan #bbpolAutofillCard{padding:13px;border-radius:18px}#app.bbnext-plan #bbpolAutofillCard .bb81-pro-filters-heading{gap:7px}#app.bbnext-plan #bbpolAutofillCard .bb81-pro-filters-heading strong{font-size:16px}#app.bbnext-plan #bbpolAutofillCard .bb81-pro-filters-heading>span{font-size:9px;padding:5px 6px}}
@media(prefers-reduced-motion:reduce){#app.bbnext-plan #bbpolAutofillCard .bb81-pro-pill{transition:none}}

/* Discover meal names and key details: larger type, full titles, same cards/photos. */
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content h4{font-size:17px!important;line-height:1.35!important;display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;-webkit-box-orient:initial!important;overflow-wrap:anywhere!important;word-break:normal!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content .bb18-recipe-meta,body[data-bbnext-view="discover"] #app .grid-recipes .mini-content .bb18-recipe-meta>span,body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.muted{font-size:13px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important}
body[data-bbnext-view="discover"] #app .recipe-body h3{font-size:36px!important;line-height:1.16!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow-wrap:anywhere!important}
body[data-bbnext-view="discover"] #app .recipe-body>.chips,body[data-bbnext-view="discover"] #app .recipe-body>.chips .chip{font-size:14px!important;line-height:1.45!important}
body[data-bbnext-view="discover"] #app .recipe-body>.tip{font-size:14px!important;line-height:1.6!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content .bb80-gallery-add,body[data-bbnext-view="discover"] #app .grid-recipes .mini-content .bb18-unlock-cta,body[data-bbnext-view="discover"] #app .bb-featured-card .recipe-body .swipe-actions .bb-featured-add-week,body[data-bbnext-view="discover"] #app .bb-featured-card .recipe-body #bbFeaturedBatch{font-size:14px!important;line-height:1.35!important;white-space:normal!important}
@media(max-width:700px){body[data-bbnext-view="discover"] #app .grid-recipes .mini-content h4{font-size:16px!important}body[data-bbnext-view="discover"] #app .recipe-body h3{font-size:28px!important}}
/* Factual recipe benefits use only the labels supplied by the recipe renderer. */
body[data-bbnext-view="discover"] #app .bb-discover-benefits{display:flex!important;flex-wrap:wrap!important;align-items:flex-start;gap:6px;margin:6px 0 10px;min-width:0;min-height:0}
body[data-bbnext-view="discover"] #app .bb-discover-benefits:empty{display:none!important;margin:0!important;padding:0!important}
body[data-bbnext-view="discover"] #app .bb-discover-benefit{display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;padding:5px 8px;border:1px solid #d8e5cf;border-radius:999px;background:#f0f6e8;color:#426042;font-size:13px!important;font-weight:650;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere}
/* Old price-row alignment must not leave empty space above current meal details. */
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content h4{min-height:0!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content .bb18-recipe-meta{min-height:0!important;height:auto!important;justify-content:flex-start!important;margin:6px 0!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.muted{min-height:0!important;height:auto!important;padding-bottom:0!important;margin-bottom:10px!important}
/* Keep the two actions together at the foot of each card. Full titles and
   factual recipe benefits keep their natural height without clipping. */
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.bb80-gallery-add[data-bb80-add-week]{margin-top:auto!important;margin-bottom:0!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.bb-manual-batch-btn{margin-top:8px!important;margin-bottom:0!important;min-height:48px!important;gap:5px!important;padding:9px 6px!important;font-size:12px!important;font-weight:750!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.bb-manual-batch-btn .bb-premium-feature-badge{margin:0!important;align-self:center!important}

/* Discover catalogue: each row shares natural title, time, highlight and action
   tracks. Full names remain visible; repeated collection prose stays in the
   featured recipe and filters rather than filling every small card. */
body[data-bbnext-view="discover"] #app .grid-recipes{grid-auto-rows:auto!important;align-items:stretch!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content{padding:15px!important;gap:10px!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content h4{margin:0!important}
body[data-bbnext-view="discover"] #app .grid-recipes .mini-content .bb18-recipe-meta{margin:0!important}
body[data-bbnext-view="discover"] #app .grid-recipes .bb-discover-benefits{margin:0!important;align-content:start!important;gap:6px!important}
body[data-bbnext-view="discover"] #app .grid-recipes .bb-discover-benefit{font-size:12px!important;padding:4px 7px!important}
body[data-bbnext-view="discover"] #app .grid-recipes .bb-discover-card-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:4px;align-self:stretch;min-width:0}
body[data-bbnext-view="discover"] #app .grid-recipes .bb-discover-card-actions>.bb80-gallery-add,
body[data-bbnext-view="discover"] #app .grid-recipes .bb-discover-card-actions>.bb18-unlock-cta{margin:0!important;min-height:46px!important;display:flex!important;align-items:center;justify-content:center;width:100%;line-height:1.35!important}
body[data-bbnext-view="discover"] #app .grid-recipes .bb-discover-card-actions>.bb-manual-batch-btn{min-height:44px!important;padding:9px 6px!important;font-size:12px!important;font-weight:750!important;gap:5px!important}
body[data-bbnext-view="discover"] #app .grid-recipes .bb-discover-card-actions .bb-premium-feature-badge{margin:0!important;align-self:center!important}
@supports(grid-template-rows:subgrid){
 body[data-bbnext-view="discover"] #app .grid-recipes>.mini-recipe{display:grid!important;grid-template-rows:subgrid!important;grid-row:span 5;row-gap:0!important;height:auto!important;min-height:0!important}
 body[data-bbnext-view="discover"] #app .grid-recipes>.mini-recipe>.mini-img{grid-row:1;min-height:0!important;align-self:start}
 body[data-bbnext-view="discover"] #app .grid-recipes>.mini-recipe>.mini-content{display:grid!important;grid-template-rows:subgrid!important;grid-row:2/span 4;row-gap:10px!important;align-content:stretch!important}
 body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>h4{grid-row:1;align-self:start}
 body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.bb18-recipe-meta{grid-row:2;align-self:start}
 body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.bb-discover-benefits{grid-row:3;align-self:start}
 body[data-bbnext-view="discover"] #app .grid-recipes .mini-content>.bb-discover-card-actions{grid-row:4;align-self:stretch;margin-top:0!important}
}
@media(max-width:370px){body[data-bbnext-view="discover"] #app .grid-recipes .mini-content{padding:12px!important}}

/* Compact Plan: original controls above the schedule, secondary tools below it. */
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard{position:relative;padding:12px!important;margin:0 0 12px!important;border-radius:18px;overflow:visible!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>.bbnext-plan-actions{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:8px;margin:0 34px 9px 0!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bbnext-plan-actions>button{min-height:46px!important;padding:9px 8px!important;font-size:12px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bbpc-filter-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);gap:6px;align-items:start}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb81-pro-filters{display:contents!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb81-pro-filters-heading{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences,
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbIngredientPicker{position:static!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;min-width:0}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences>summary,
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbAvoidIngredientTab,
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbPantryPlannerButton{display:flex!important;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;width:100%;min-width:0;min-height:44px!important;height:44px;margin:0!important;padding:6px!important;border:1px solid #cbdcc5!important;border-radius:999px!important;background:#fffdf6!important;color:#365e42!important;box-shadow:none!important;font:750 11px/1.25 system-ui,-apple-system,sans-serif!important;text-align:center;white-space:normal!important;cursor:pointer}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences>summary:after{font-size:12px;flex-shrink:0}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbPantryPlannerButton{border-color:#d6bd78!important;background:#faf1d8!important;color:#6c5826!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb-avoid-tab-icon,
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb-avoid-chevron{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb-avoid-count{padding:2px 4px;font-size:9px}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb-avoid-count:empty{display:none}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences>.bb81-pro-pills,
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bbpc-info-content{position:absolute!important;top:calc(100% + 6px);left:0;right:0;z-index:50;box-sizing:border-box;margin:0!important;padding:14px!important;max-height:min(60dvh,var(--bbpc-popover-height,480px));overflow-y:auto;overscroll-behavior:contain;border:1px solid #cbdcc5!important;border-radius:16px!important;background:#fffdf6!important;box-shadow:0 12px 32px #183d2a26!important;color:#365e42}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences>.bb81-pro-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences:not([open])>.bb81-pro-pills{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb-avoid-options{max-height:none;overflow:visible}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>#bbnextPlanAutofill{position:static!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;min-height:0}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>#bbnextPlanAutofill>summary{position:absolute;top:12px;right:8px;display:grid;place-items:center;box-sizing:border-box;width:32px;min-height:44px;height:44px;padding:0!important;list-style:none;border-radius:10px;color:#597450!important;font-size:22px!important;line-height:1;cursor:pointer}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>#bbnextPlanAutofill>summary::-webkit-details-marker{display:none}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>#bbnextPlanAutofill:not([open])>.bbpc-info-content{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bbpc-info-content>p{font-size:12px;line-height:1.5;margin:0 0 10px}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary{margin-top:0!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary .bb1759-summary-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px 8px!important;align-items:center;margin-bottom:12px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary .bb1759-summary-heading>div{display:contents}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary .bb1759-summary-heading h3{grid-column:1;grid-row:1;font-size:20px!important;margin:0!important;line-height:1.25}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary .bb1759-summary-heading p{grid-column:1;grid-row:2;font-size:11px!important;line-height:1.35;margin:0!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary .bb1759-count{grid-column:2;grid-row:2;margin:0!important;padding:5px 8px!important;font-size:11px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary .bb77-clear-week{grid-column:2;grid-row:1;min-height:36px!important;padding:5px 0!important;margin:0!important;font-size:12px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbsw-next-step{padding:12px!important;flex-direction:row;align-items:center;gap:10px}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbsw-next-step p{font-size:11px}
@media(max-width:360px){html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard{padding:10px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences>summary,html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbAvoidIngredientTab,html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbPantryPlannerButton{font-size:10px!important;padding:5px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] #bb1759MealsSummary .bb1759-summary-heading h3{font-size:18px!important}}
/* The picker keeps its full selection count for assistive technology; the
   narrow pill uses a small numeric badge so its label remains two lines. */
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbAvoidIngredientTab{position:relative}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bb-avoid-count{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbAvoidIngredientTab.has-selection{border-color:#bba35e!important;background:#faf1d8!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbAvoidIngredientTab.has-selection:after{content:attr(data-bbpc-count);position:absolute;top:-6px;right:3px;display:grid;place-items:center;box-sizing:border-box;min-width:18px;height:18px;padding:0 3px;border:1px solid #fffdf6;border-radius:999px;background:#245e43;color:#fffdf6;font:750 10px/1 system-ui}

/* Wider Plan and At home headers keep their compact row. */
@media(min-width:621px){
html body.bbpol-compact-header[data-bbnext-view]:not(.bb172-storefront-visible) .shell>header.top[data-bb-account-polish]{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:5px!important;padding:6px 9px!important;min-height:54px!important;box-sizing:border-box;margin-bottom:10px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;gap:5px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand .logo{width:26px!important;min-width:26px!important;height:30px!important;margin:0!important;padding:2px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand .logo svg{width:24px!important;height:26px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand h1{font-size:15px!important;line-height:1.1!important;white-space:nowrap!important;letter-spacing:-.5px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] .bb-public-beta-badge,
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #saveStatus,
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.bbui-header-actions>.budget{display:none!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.bbui-header-actions{display:contents!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolRegionPill,
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolUpgradePill{grid-column:auto!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:36px!important;padding:6px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important;font-size:10px!important;line-height:1.25!important;border-radius:11px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolRegionPill{flex:1 1 auto!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolUpgradePill{flex:0 1 auto!important;max-width:160px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbuiOpenSettings{position:static!important;inset:auto!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;border-radius:11px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bb17RegionCard.bbpol-region-popover{top:calc(100% + 6px)!important;right:0!important;left:auto!important;width:min(310px,calc(100vw - 28px))!important;box-sizing:border-box}
}
/* Phones share a tidy brand row and two equally sized, fully readable actions. */
@media(max-width:620px){
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center!important;gap:8px!important;padding:10px!important;min-height:0!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand{grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:0 54px 0 0!important;gap:8px!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand>div:last-child{min-width:0!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand .logo{width:36px!important;min-width:36px!important;height:36px!important;margin:0!important;padding:3px!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand .logo svg{width:28px!important;height:28px!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.brand h1{font-size:20px!important;line-height:1.15!important;white-space:nowrap!important;letter-spacing:-.6px!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.bbui-header-actions{display:contents!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish]>.bbui-header-actions>.budget{display:none!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolRegionPill{grid-column:1!important;grid-row:2!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolUpgradePill{grid-column:2!important;grid-row:2!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] #bbpolUpgradePill{width:100%!important;min-width:0!important;max-width:none!important;min-height:44px!important;margin:0!important;padding:7px 8px!important;font-size:12px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important;align-self:stretch!important;box-sizing:border-box!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbuiOpenSettings{position:absolute!important;inset:10px 10px auto auto!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:10px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] .bb-public-beta-badge,
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #saveStatus{display:none!important}
html body[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bb17RegionCard.bbpol-region-popover{top:calc(100% + 6px)!important;right:0!important;left:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* The green overview is separate from its original budget/household editor. */
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget]{display:block!important;padding:12px 14px!important;margin:0 0 10px!important;border-radius:18px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview{display:grid;grid-template-columns:74px minmax(0,1fr);gap:13px;align-items:center}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bb-myweek-emblem,
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-donut{width:74px!important;height:74px!important;min-width:0!important;max-width:74px!important;margin:0!important;position:relative!important;inset:auto!important;transform:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-donut-core{width:56px!important;height:56px!important;background:#fffdf5!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-donut-core strong{font-size:12px!important;color:#194c35!important;white-space:nowrap!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-donut-core small{font-size:8px!important;color:#526b5a!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-budget-text{min-width:0!important;margin:0!important;padding:0!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-kicker{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-budget-text h2{font-size:24px!important;line-height:1.1!important;margin:0 0 5px!important;color:#fffdf5!important;letter-spacing:-.6px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-budget-text>p{font-size:12px!important;line-height:1.35!important;margin:0!important;color:#e3efdf!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-budget-text>.bb77-pantry-savings{font-size:11px!important;margin-top:4px!important;color:#f2d997!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bb77-price-note{font-size:10px!important;line-height:1.3;color:#f2d997!important;margin-top:4px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bb77-pantry-savings:empty,
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bb77-price-note:empty{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bbpc-filter-row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.1fr);margin-bottom:9px}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>.bbnext-plan-actions{margin-bottom:0!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>#bbnextPlanAutofill>summary{top:auto!important;bottom:12px}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleBudget{position:static!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-width:0}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleBudget>summary{display:flex!important;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;width:100%;height:44px;min-height:44px!important;padding:5px!important;margin:0!important;list-style:none;border:1px solid #cbdcc5!important;border-radius:999px!important;background:#fffdf6!important;color:#365e42!important;font:750 10px/1.1 system-ui,-apple-system,sans-serif!important;text-align:center;cursor:pointer}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleBudget>summary:after{content:'⌄';font-size:12px;flex-shrink:0}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleBudget>summary::-webkit-details-marker{display:none}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleBudget>.bbs-budget-body{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:50;box-sizing:border-box;margin:0;padding:14px;max-height:min(60dvh,var(--bbpc-popover-height,480px));overflow:auto;overscroll-behavior:contain;border:1px solid #cbdcc5;border-radius:16px;background:#fffdf6;color:#365e42;box-shadow:0 12px 32px #183d2a26}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleBudget:not([open])>.bbs-budget-body{display:none!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbPantryPlannerButton{width:100%!important;min-height:44px!important;height:auto!important;margin:0 0 12px!important;padding:10px 12px!important;text-align:center}
@media(max-width:350px){html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget]{padding:11px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview{grid-template-columns:62px minmax(0,1fr);gap:10px}html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bb-myweek-emblem,html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-donut{width:62px!important;height:62px!important;max-width:62px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-donut-core{width:48px!important;height:48px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-donut-core strong{font-size:10px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-budget-text h2{font-size:22px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbpc-budget-overview .bbnext-plan-budget-text>p{font-size:11px!important}}
/* Compact controls keep a full iPhone tap target. */
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolRegionPill,
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbpolUpgradePill{min-height:44px!important}
html body.bbpol-compact-header[data-bbnext-view] .shell>header.top[data-bb-account-polish] #bbuiOpenSettings{width:44px!important;min-width:44px!important;flex-basis:44px!important;height:44px!important;min-height:44px!important}
/* Keep the numeric core inside the progress arc after extracting the hero. */
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem .bbnext-plan-donut-core{width:56px!important;height:56px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem .bbnext-plan-donut-core strong{font-size:12px!important}
html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem .bbnext-plan-donut-core small{font-size:8px!important}
@media(max-width:350px){html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem .bbnext-plan-donut-core{width:48px!important;height:48px!important}html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem .bbnext-plan-donut-core strong{font-size:10px!important}}

/* Keep the desktop ring square: the older premium rule otherwise leaves a
   124px height inside the compact 74px track and clips it against the card. */
@media(min-width:741px){
 html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget] .bbpc-budget-overview{grid-template-columns:88px minmax(0,1fr)}
 html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget][data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem,
 html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget][data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem>.bbnext-plan-donut{
  width:88px!important;height:88px!important;min-height:88px!important;max-width:88px!important;max-height:88px!important;
  grid-template-rows:88px!important;aspect-ratio:1!important;
 }
 html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget][data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem .bbnext-plan-donut-core{width:66px!important;height:66px!important}
 html body #app.bbnext-plan[data-bb-compact-plan="true"] .bbnext-plan-budget[data-bb-simple-budget][data-bb-budget-polish="premium"] .bbpc-budget-overview .bb-myweek-emblem .bbnext-plan-donut-core strong{font-size:14px!important}
}

/* Highlight the three planning controls with the existing warm gold palette. */
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard :is(#bbSimpleBudget>summary,#bbSimpleMealPreferences>summary,#bbAvoidIngredientTab){
 background:#f5e6bb!important;border:1px solid #d6bd78!important;color:#244d3c!important;
 min-height:44px!important;height:44px;padding:6px 7px!important;gap:4px;
 font-size:11px!important;font-weight:750!important;line-height:1.15!important;
 text-align:center;text-wrap:balance;box-shadow:0 1px 2px #58471f0d!important;
}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard :is(#bbSimpleBudget[open]>summary,#bbSimpleMealPreferences[open]>summary,#bbAvoidIngredientTab[aria-expanded=true]){
 background:#ead495!important;border-color:#b99242!important;
}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard :is(#bbSimpleBudget>summary,#bbSimpleMealPreferences>summary,#bbAvoidIngredientTab):focus-visible{
 outline:2px solid #245e43;outline-offset:3px;
}
@media(hover:hover){html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard :is(#bbSimpleBudget>summary,#bbSimpleMealPreferences>summary,#bbAvoidIngredientTab):hover{background:#ead495!important}}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences>summary{position:relative}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard #bbSimpleMealPreferences>summary[data-bb-choice-count]:not([data-bb-choice-count="0"]):before{
 content:attr(data-bb-choice-count);position:absolute;top:-6px;right:3px;display:grid;place-items:center;
 min-width:18px;height:18px;padding:0 3px;box-sizing:border-box;border:1px solid #fffdf6;border-radius:999px;
 background:#245e43;color:#fffdf6;font:750 10px/1 system-ui;
}

/* One planner card, two original plans. Tab selection is presentation only. */
html body .shell #app.bbnext-plan{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))!important}
#app.bbnext-plan #bb1759MealsSummary[data-bb-planner-tabs]{overflow-anchor:none}
#app.bbnext-plan .bbs-planner-tabs{display:flex;align-items:center;gap:9px;min-width:0;margin:0 0 12px}
#app.bbnext-plan .bbs-planner-tablist{display:flex;flex:1 1 auto;gap:4px;padding:4px;min-width:0;border:1px solid #c9d9bf;border-radius:999px;background:#e9efdf;box-sizing:border-box}
#app.bbnext-plan .bbs-planner-tablist>[role="tab"]{display:flex;align-items:center;justify-content:center;flex:1 1 auto;gap:5px;min-width:0;min-height:44px;padding:8px 9px;border:0;border-radius:999px;background:transparent;color:#385c42;font:750 12px/1.2 system-ui,-apple-system,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:none}
#app.bbnext-plan .bbs-planner-tablist>[role="tab"][aria-selected="true"]{background:#24563e;color:#fffdf5;box-shadow:0 2px 5px #173d2520}
#app.bbnext-plan .bbs-planner-tab-count{font-size:11px;font-variant-numeric:tabular-nums;font-weight:650}
#app.bbnext-plan .bbs-planner-tablist>[role="tab"]:focus-visible{outline:2px solid #b38b38;outline-offset:2px}
#app.bbnext-plan .bbs-planner-tabs>#clearWeek{flex:0 0 auto;margin:0!important;padding:8px 10px!important;font-size:11px!important;white-space:nowrap}
#app.bbnext-plan #bb1759MealsSummary[data-bb-planner-tabs]>.bb1759-summary-heading h3,
#app.bbnext-plan #bb1759MealsSummary[data-bb-planner-tabs]>.bb1759-summary-heading .bb1759-step,
#app.bbnext-plan #bb1759MealsSummary[data-bb-planner-tabs]>.bb1759-summary-heading .bb1759-count{display:none!important}
#app.bbnext-plan #bb1759MealsSummary[data-bb-planner-tabs]>.bb1759-summary-heading{margin:0 0 12px!important}
#app.bbnext-plan #bbSimpleDinnersPane[hidden],
#app.bbnext-plan #bbSimpleSchoolLunchesPane[hidden],
#app.bbnext-plan[data-bb-planner-pane="lunches"] #bb1759MealsSummary[data-bb-planner-tabs]>.bb1759-summary-heading,
#app.bbnext-plan[data-bb-planner-pane="lunches"] .bbs-planner-tabs>#clearWeek,
#app.bbnext-plan[data-bb-planner-pane="lunches"] [data-bb307-extras="week"]{display:none!important}
#app.bbnext-plan #bbSimpleSchoolLunchesPane{min-width:0}
#app.bbnext-plan #bbSimpleSchoolLunchesPane #bb321SchoolLunchbox{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0}
#app.bbnext-plan #bbSimpleSchoolLunchesPane #bb321SchoolLunchbox>.section-head{display:block!important;margin-bottom:12px!important}
#app.bbnext-plan #bbSimpleSchoolLunchesPane #bb321SchoolLunchbox>.section-head .chip{display:none!important}
#app.bbnext-plan #bbSimpleSchoolLunchesPane #bb321SchoolLunchbox>.section-head h3{display:block!important;margin:0 0 7px!important;font-size:19px!important;color:#24563e!important;line-height:1.25!important}
#app.bbnext-plan #bbSimpleSchoolLunchesPane #bb321SchoolLunchbox>.section-head .chip{flex-shrink:0;font-size:10px}
@media(max-width:350px){
 #app.bbnext-plan .bbs-planner-tabs{flex-wrap:wrap;gap:7px}
 #app.bbnext-plan .bbs-planner-tablist{flex-basis:100%}
 #app.bbnext-plan .bbs-planner-tablist>[role="tab"]{font-size:12px;padding-inline:8px}
 #app.bbnext-plan .bbs-planner-tabs>#clearWeek{margin-left:auto!important}
 #app.bbnext-plan #bbSimpleSchoolLunchesPane #bb321SchoolLunchbox>.section-head h3{font-size:17px!important}
}

/* Keep the original lunch section ID as the visible legacy jump target. */
#app.bbnext-plan #bbSimpleSchoolLunchesPane>#bb1756Lunchboxes{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#app.bbnext-plan #bbSimpleSchoolLunchesPane>#bb1756Lunchboxes>summary{display:none!important}
#app.bbnext-plan #bbSimpleSchoolLunchesPane>#bb1756Lunchboxes>.bb1756-extra-content{margin:0!important;padding:0!important;border:0!important;background:transparent!important}


/* Center only the four rows in the compact My Week controls card. */
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard .bbpc-filter-row,
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>.bbnext-plan-actions{
 box-sizing:border-box;width:100%;min-width:0;margin-inline:auto!important;justify-content:center;
}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>.bbnext-plan-actions{
 margin:0!important;
}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>.bbnext-plan-actions>.bb-pantry-first-controls{
 justify-self:center;width:100%;margin-inline:auto;
}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>.bbnext-plan-actions>.bb-pantry-first-next-week{
 justify-self:start;width:calc(100% - 52px);
}
html body #app.bbnext-plan[data-bb-compact-plan="true"] #bbpolAutofillCard>#bbnextPlanAutofill>summary{
 width:44px!important;right:12px!important;bottom:12px;
}
