:root{font-family:Nunito,system-ui,-apple-system,sans-serif;color:#193b2b;background:#f7f8f4}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}.mc-top{min-height:76px;padding:18px clamp(18px,4vw,52px);display:flex;align-items:center;gap:20px;background:#fff;border-bottom:1px solid #e8ede8}.mc-brand{font-size:25px;font-weight:900;color:#238b45}.mc-top>span{color:#405d4e;font-size:14px;font-weight:800}.mc-top small{font-size:11px;color:#68776d}.mc-new{margin-left:auto;background:#238b45;color:#fff;padding:12px 17px;border-radius:12px;font-size:13px;font-weight:800}.mc-shell{max-width:1150px;margin:0 auto;padding:38px 22px 85px}.mc-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:25px}.mc-kicker{color:#418663;font-weight:900;font-size:11px;letter-spacing:.14em}.mc-heading h1{font-size:clamp(30px,4vw,47px);letter-spacing:-.04em;margin:5px 0 7px}.mc-heading p{color:#67786d;margin:0}.mc-action{display:inline-block;border-radius:12px;background:#238b45;color:white;padding:13px 20px;font-weight:800;font-size:13px;white-space:nowrap}#mcNotice:not(:empty){padding:14px 18px;background:#edf5eb;border:1px solid #d5e7d6;color:#3d634c;border-radius:12px;margin:0 0 18px;font-size:13px}.mc-today{background:#fff;border:1px solid #e7ebe5;border-radius:20px;padding:25px;margin:22px 0 30px;box-shadow:0 12px 34px #18392208}.mc-today[hidden]{display:none}.mc-today-head,.mc-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.mc-today h2{font-size:24px;margin:6px 0 16px}.mc-today-head a{font-size:13px;font-weight:800;color:#268454}.mc-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:5px 0 15px}.mc-days button{min-height:60px;border-radius:12px;border:1px solid #e8eee6;background:#f7faf6;color:#405f4e;cursor:pointer;font-size:13px;font-weight:700;font-family:inherit}.mc-days button b{display:block;font-size:17px;margin-top:4px}.mc-days button.active{background:#256d46;color:#fff;border-color:#256d46}.mc-meals{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.mc-meal{padding:16px;border:1px solid #e8ebe6;border-radius:12px;display:grid;gap:7px}.mc-meal small,.mc-meal span{font-size:12px;color:#6a786a}.mc-meal b{font-size:15px}.mc-title{margin:0 0 15px}.mc-title h2,.mc-extras h2{font-size:23px;margin:0}.mc-title span{font-size:12px;color:#68776e}.mc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mc-plan,.mc-empty{background:#fff;border:1px solid #e6ece5;border-radius:16px;padding:22px;min-height:182px}.mc-plan-header{display:flex;justify-content:space-between;align-items:center}.mc-tag{background:#edf6ee;border-radius:99px;padding:5px 10px;color:#377955;font-size:11px;font-weight:800}.mc-dot{height:9px;width:9px;border-radius:100%;background:#7fcba0}.mc-plan h3{font-size:20px;margin:19px 0 4px}.mc-plan p{font-size:13px;color:#69776d;margin:0}.mc-plan-actions{border-top:1px solid #eef1ec;margin-top:18px;padding-top:12px;text-align:right;color:#176b42;font-size:13px;font-weight:900}.mc-plan-actions span{margin-left:8px}.mc-empty{grid-column:1/-1}.mc-empty p{color:#6a776e}.mc-extras{margin-top:38px}.mc-links{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.mc-links>a{background:#fff;border:1px solid #e6ece5;border-radius:16px;padding:19px;display:grid;gap:7px}.mc-links span{font-size:25px;color:#238b45}.mc-links small{color:#67786b}.mc-links b{font-size:15px}@media(max-width:750px){.mc-heading{align-items:start;flex-direction:column}.mc-grid{grid-template-columns:1fr 1fr}.mc-links{grid-template-columns:1fr}.mc-top{gap:10px}.mc-top small{display:none}}@media(max-width:510px){.mc-shell{padding:25px 14px 60px}.mc-grid{grid-template-columns:1fr}.mc-days{gap:4px}.mc-days button{min-height:55px;font-size:10px}.mc-top{padding:15px}.mc-top>span{display:none}.mc-today{padding:16px}.mc-today-head{align-items:start}}@media(prefers-reduced-motion:no-preference){.mc-plan,.mc-links>a{transition:transform .2s ease,box-shadow .2s ease}.mc-plan:hover,.mc-links>a:hover{transform:translateY(-2px);box-shadow:0 12px 26px #173c2610}}


/* V2 visual system – scoped, additive; no application logic changes. */
:root{--mkv2-ink:#203c2e;--mkv2-muted:#64786c;--mkv2-green:#176b42;--mkv2-green-dark:#195e3b;--mkv2-green-light:#eaf6ed;--mkv2-border:#e1e9e0;--mkv2-radius:18px;--mkv2-ring:0 0 0 3px #54a97655}

/* Menu hub: reusable typography, stronger saved-plan hierarchy. */
body{background:linear-gradient(180deg,#f0f7ee 0,#f8f9f5 300px,#fff 100%);color:var(--mkv2-ink);min-height:100vh}
.mc-top{min-height:74px}.mc-brand{color:var(--mkv2-green-dark);letter-spacing:-.045em}
.mc-shell{max-width:1320px;padding-inline:clamp(14px,3vw,38px)}
.mc-heading h1{letter-spacing:-.045em;line-height:1.13}
.mc-heading p{line-height:1.65}
.mc-new,.mc-action{background:var(--mkv2-green);box-shadow:0 6px 14px #2378471b}
.mc-new:hover,.mc-action:hover{background:var(--mkv2-green-dark)}
.mc-today{border-color:var(--mkv2-border);border-radius:24px;box-shadow:0 15px 45px #1e412914}
.mc-days button{transition:background .18s,border-color .18s,transform .18s}
.mc-days button:hover:not(.active){background:#ebf5ed;border-color:#b2d5bd;transform:translateY(-1px)}
.mc-days button.active{background:var(--mkv2-green-dark);border-color:var(--mkv2-green-dark)}
.mc-meal{border-radius:16px;background:#fcfdfb;min-width:0}.mc-meal b{overflow-wrap:anywhere}
.mc-grid{gap:18px}.mc-plan,.mc-empty{border-color:var(--mkv2-border);border-radius:20px;box-shadow:0 5px 20px #1a422806}
.mc-plan h3{letter-spacing:-.03em;line-height:1.3;overflow-wrap:anywhere}
.mc-plan-actions{color:var(--mkv2-green)}.mc-links>a{border-radius:20px}
.mc-top a:focus-visible,.mc-shell a:focus-visible,.mc-shell button:focus-visible{outline:2px solid var(--mkv2-green);outline-offset:3px;box-shadow:var(--mkv2-ring)}
@media(max-width:760px){.mc-heading{align-items:stretch}.mc-today{padding:18px}.mc-grid{gap:12px}.mc-plan{padding:17px}.mc-days{overflow-x:auto;display:flex;scroll-snap-type:x proximity;padding-bottom:5px}.mc-days button{flex:0 0 69px;scroll-snap-align:start}}
@media(max-width:420px){.mc-top{flex-wrap:wrap}.mc-new{padding:10px 12px}.mc-shell{padding-block:25px 55px}.mc-today{padding:15px}.mc-days button{flex-basis:61px}}
@media(prefers-reduced-motion:reduce){.mc-days button{transition:none!important}}

/* MaiKaja shared shell — scoped to weekly menu center */
body.weekly-menu-center-page{font-family:Nunito,system-ui,-apple-system,sans-serif;background:linear-gradient(180deg,#f3f7f1 0%,#f5f8f2 43%,#fbf8f1 100%);background-attachment:fixed;color:#203f31;min-height:100vh}
body.weekly-menu-center-page .site-header{position:sticky;top:0;z-index:1000;background:#fff}
body.weekly-menu-center-page .mc-shell{width:min(100%,1280px);max-width:1280px;margin:0 auto;padding:34px 24px 76px}
body.weekly-menu-center-page .mc-heading{margin-bottom:24px}
body.weekly-menu-center-page .mc-heading h1{font-weight:800;color:#1d4935;font-size:clamp(29px,3.2vw,42px)}
body.weekly-menu-center-page .mc-heading p{color:#597566;font-weight:500}
body.weekly-menu-center-page .mc-action{background:#278445;border-radius:12px;color:#fff;box-shadow:0 5px 14px #224d2c17}
body.weekly-menu-center-page .mc-action:hover{background:#176936;color:#fff}
body.weekly-menu-center-page .mc-today{border-radius:20px;background:#fff;box-shadow:0 12px 32px #24482d0b}
body.weekly-menu-center-page .mc-plan,body.weekly-menu-center-page .mc-empty,body.weekly-menu-center-page .mc-links>a{background:#fff;border:1px solid #dfebdf;border-radius:16px}
body.weekly-menu-center-page .mc-days button{font-family:inherit}
body.weekly-menu-center-page .mc-kicker{color:#29854f}
body.weekly-menu-center-page .mc-title h2,body.weekly-menu-center-page .mc-extras h2{color:#1e4734;font-weight:900}
body.weekly-menu-center-page .mc-meal{background:#fff}
body.weekly-menu-center-page .mc-links>a:hover{border-color:#acd5b6}
@media(max-width:600px){body.weekly-menu-center-page .mc-shell{padding:24px 15px 60px}body.weekly-menu-center-page .mc-heading{align-items:stretch;flex-direction:column}body.weekly-menu-center-page .mc-heading .mc-action{align-self:flex-start}}

/* Weekly hub UX refinements */
body.weekly-menu-center-page .mc-heading .mc-action{background:#ebf4eb!important;border:1px solid #d3e7d7!important;color:#225c3b!important;box-shadow:none!important;padding:11px 16px!important;font-weight:800;}
body.weekly-menu-center-page .mc-heading .mc-action:hover{background:#deeddf!important;border-color:#b4d9ba!important}
body.weekly-menu-center-page .mc-plan{min-height:0;padding:15px 17px}
body.weekly-menu-center-page .mc-plan h3{font-size:17px;margin:11px 0 4px}
body.weekly-menu-center-page .mc-plan-actions{margin-top:12px;padding-top:9px}
body.weekly-menu-center-page .mc-plan-header .mc-tag{font-size:10px;padding:4px 8px}
.mc-week-nav{display:flex;align-items:center;gap:10px;margin:4px 0 14px}
.mc-week-arrow{flex:0 0 42px;width:42px;height:42px;border:1px solid #d8e7da;border-radius:12px;background:#f1f8f1;color:#28754c;display:grid;place-items:center;cursor:pointer;transition:background .2s,transform .2s}
.mc-week-arrow:hover{background:#deeddf;transform:translateY(-1px)}
.mc-week-label{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;gap:9px;flex:1;background:#f7faf6;border:1px solid #e6eee6;border-radius:12px;min-height:42px;padding:8px 12px;color:#285e40;font-size:13px;font-weight:800;cursor:pointer;text-align:center}
.mc-week-picker{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.mc-meals-enter{animation:mc-content-enter .3s ease both}
@keyframes mc-content-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
body.weekly-menu-center-page .mc-meal{display:flex;align-items:center;gap:13px;min-width:0;padding:11px 13px;cursor:pointer;transition:box-shadow .2s,transform .2s,border-color .2s}
body.weekly-menu-center-page .mc-meal:hover{border-color:#b0d8ba;box-shadow:0 9px 22px #163e2114;transform:translateY(-2px)}
.mc-meal-img{flex:0 0 78px;width:78px;height:78px;border-radius:12px;overflow:hidden;background:#e9f3ea;display:grid;place-items:center;color:#51916a}
.mc-meal-img img{width:100%;height:100%;object-fit:cover}
.mc-meal-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.mc-meal-info b{font-size:15px;line-height:1.35;color:#254b35}
.mc-meal-meta{display:flex;flex-wrap:wrap;gap:7px 13px;color:#5e7a6c;font-size:11px}
.mc-meal-arrow{font-size:12px;color:#468363;opacity:.55;transition:transform .2s,opacity .2s}
.mc-meal:hover .mc-meal-arrow{opacity:1;transform:translate(2px,-2px)}
.mc-no-meals{grid-column:1/-1;color:#65796a}
@media(max-width:600px){.mc-week-nav{gap:6px}.mc-week-arrow{flex-basis:34px;width:34px;height:38px}.mc-week-label{font-size:11px;padding:6px}.mc-meal-img{flex-basis:62px;width:62px;height:62px}}
@media(prefers-reduced-motion:reduce){.mc-meals-enter{animation:none}.mc-meal,.mc-week-arrow{transition:none}}

/* Grouped saved weeks, accessible calendar and reliable image tiles */
.mc-grid{display:block}.mc-plan-group{margin:0 0 24px}.mc-plan-group>h3{font-size:15px;font-weight:900;color:#285c40;margin:0 0 11px}.mc-plan-group>h3 span{font-size:12px;color:#69786e;font-weight:700;margin-left:5px}.mc-plan-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mc-plan-group-past .mc-plan{background:#fafbf9;border-color:#e1e5de}.mc-plan-group-future .mc-plan{border-color:#cfe4d5}
.mc-calendar-toggle{border:0;background:none;color:inherit;font:inherit;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:8px;min-width:0}.mc-calendar-toggle:hover{color:#19753d}.mc-calendar{background:#fff;border:1px solid #d9e8dc;box-shadow:0 10px 28px #153c2412;border-radius:16px;padding:14px;margin:-5px 0 16px}.mc-calendar-title{font-weight:900;color:#285f40;margin-bottom:10px}.mc-calendar-weeks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:215px;overflow-y:auto;gap:6px}.mc-calendar-weeks button{font:inherit;border:1px solid #e0e9df;border-radius:8px;background:#f8fbf7;color:#345c45;cursor:pointer;padding:9px;font-size:12px}.mc-calendar-weeks button.is-selected,.mc-calendar-weeks button:hover{background:#e0f0e3;border-color:#77b28b}.mc-calendar-custom{display:flex;align-items:center;gap:10px;font-size:12px;color:#566b5c;margin-top:12px}.mc-calendar-custom input{font:inherit;max-width:190px;border:1px solid #d7e5d8;border-radius:8px;padding:7px}
.mc-meal-img img{display:block}.mc-meal-img img[src=""]{display:none}
@media(max-width:750px){.mc-plan-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-calendar-weeks{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:510px){.mc-plan-group-grid{grid-template-columns:1fr}.mc-calendar-weeks{grid-template-columns:1fr}}

/* Saved menu summary: compact facts drawn only from stored plan data */
body.weekly-menu-center-page .mc-plan-summary{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
body.weekly-menu-center-page .mc-plan-stat{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e1ebdf;border-radius:8px;background:#f6faf5;color:#567363;font-size:11px;line-height:1.25;white-space:nowrap}
body.weekly-menu-center-page .mc-plan-stat i{font-size:11px;color:#348153}
body.weekly-menu-center-page .mc-plan-stat strong{color:#24553a;font-weight:800}
body.weekly-menu-center-page .mc-plan-actions{margin-top:14px}

/* Clearly distinguish days without saved recipes, without disabling navigation. */
body.weekly-menu-center-page .mc-days button.mc-day-empty:not(.active){background:#f2f1ee;border-color:#e5e3de;color:#707671;}
body.weekly-menu-center-page .mc-days button.mc-day-empty:not(.active):hover{background:#eaece7;border-color:#cbd6ca;color:#526e59;}
body.weekly-menu-center-page .mc-days button.mc-day-planned:not(.active){background:#edf6ee;border-color:#d8e9da;color:#2c6446;}
body.weekly-menu-center-page .mc-days button.active{background:#256d46;border-color:#256d46;color:#fff;}

/* Kijelölt, de recept nélküli nap: megkülönböztethető az aktív, tervezett naptól. */
body.weekly-menu-center-page .mc-days button.mc-day-empty.active {
  background: #667c8a;
  border-color: #526b7a;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(102, 124, 138, .16);
}
body.weekly-menu-center-page .mc-days button.mc-day-empty.active:hover {
  background: #586e7c;
  border-color: #465e6c;
}
body.weekly-menu-center-page .mc-days button.mc-day-empty.active b { color: inherit; }

/* Daily shopping list: same category/tag/checklist visual language as the weekly planner */
.mc-daily-shop{margin-top:25px;padding-top:21px;border-top:1px solid #e2eae0}
.mc-daily-shop h3{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:#1b4e34;font-size:20px;font-weight:900}
.mc-daily-shop h3 i{color:#2b8650;font-size:17px}
.mc-shop-status{display:flex;justify-content:space-between;gap:12px;color:#4b6b58;font-size:12px;font-weight:800;margin-bottom:8px}
.mc-shop-progress{height:6px;border-radius:8px;background:#e8eee7;overflow:hidden;margin-bottom:16px}.mc-shop-progress span{height:100%;display:block;border-radius:8px;background:#3e9c63;transition:width .25s ease}
.mc-shop-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.mc-shop-toolbar input{border:1px solid #dce8dc;border-radius:12px;padding:11px 14px;min-width:190px;flex:1 1 250px;font:inherit;color:#254732;background:#fff}
.mc-shop-toolbar input:focus{outline:2px solid #9ed5ad;outline-offset:1px}
.mc-shop-tabs{display:flex;gap:5px;border:1px solid #dce9dd;border-radius:12px;background:#f4f8f2;padding:4px;flex-wrap:wrap}
.mc-shop-tabs button{border:0;border-radius:8px;color:#51725c;background:transparent;padding:9px 12px;font:800 12px Nunito,inherit;cursor:pointer}
.mc-shop-tabs button[aria-pressed=true]{background:#fff;color:#206641;box-shadow:0 1px 6px #1f5e2d18}
.mc-shop-grid{columns:3 260px;column-gap:14px}
.mc-shop-group{break-inside:avoid;display:inline-block;width:100%;vertical-align:top;margin:0 0 14px;border:1px solid #e2eae0;border-radius:16px;background:#fff;box-shadow:0 4px 14px #24452a08;overflow:hidden}
.mc-shop-group-head{display:flex;align-items:center;text-align:left;width:100%;gap:9px;border:0;background:#f7faf5;padding:13px 14px;color:#274b35;cursor:pointer;font:inherit}
.mc-shop-group-head strong{font-weight:900;font-size:13px;flex:1;min-width:0}.mc-shop-emoji{font-size:17px}.mc-shop-count{font-size:11px;color:#637a68;background:#e9f1e9;border-radius:99px;padding:3px 8px}
.mc-shop-group-head i{font-size:10px;color:#5f7b69;transition:transform .2s}.mc-shop-group.is-collapsed .mc-shop-group-head i{transform:rotate(-90deg)}
.mc-shop-group.is-collapsed .mc-shop-group-body{display:none}
.mc-shop-item{border-top:1px solid #edf1e9;padding:11px 13px}.mc-shop-item.is-done{opacity:.65}
.mc-shop-item-main{display:flex;align-items:flex-start;gap:8px;cursor:pointer;font-size:13px;color:#284636;line-height:1.35}
.mc-shop-item-main input{accent-color:#28834b;margin:3px 2px 0 0}.mc-shop-item-main span{flex:1;min-width:0;overflow-wrap:anywhere}.mc-shop-item-main b{font-weight:800;color:#28794d;white-space:nowrap;font-size:12px}
.mc-shop-detail{margin:7px 0 0 25px}.mc-shop-detail summary{display:inline-flex;align-items:center;color:#617a6d;font-size:11px;cursor:pointer;list-style:none;gap:5px}.mc-shop-detail summary::-webkit-details-marker{display:none}.mc-shop-detail summary::after{content:'⌄';font-size:15px;line-height:1}.mc-shop-detail[open] summary::after{transform:rotate(180deg)}
.mc-shop-detail>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#5d7161;padding:5px 0}.mc-shop-detail>div b{white-space:nowrap;color:#366b49}.mc-shop-empty{color:#607967;font-size:13px}
@media(max-width:950px){.mc-shop-grid{columns:2 240px}}@media(max-width:620px){.mc-shop-grid{columns:1}.mc-shop-tabs{width:100%;justify-content:center}.mc-shop-tabs button{flex:1}}

/* Weekly center: clickable plans, accessible chevrons, stable desktop grid and saved preferences */
body.weekly-menu-center-page .mc-plan-clickable{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
body.weekly-menu-center-page .mc-plan-clickable:hover{transform:translateY(-3px);border-color:#acd4b5;box-shadow:0 12px 28px #204e3215}
body.weekly-menu-center-page .mc-plan-clickable:focus-visible{outline:3px solid #7dbf94;outline-offset:3px}
body.weekly-menu-center-page .mc-shop-detail summary{display:inline-flex;align-items:center;gap:7px;max-width:100%}
body.weekly-menu-center-page .mc-shop-detail summary::after{content:none!important}
body.weekly-menu-center-page .mc-shop-detail-chevron{font-size:10px;line-height:1;color:#397953;transition:transform .2s ease}
body.weekly-menu-center-page .mc-shop-detail[open] .mc-shop-detail-chevron{transform:rotate(180deg)}
@media(min-width:1050px){body.weekly-menu-center-page .mc-shop-grid{columns:3!important;column-width:auto!important;column-gap:14px}}
@media(min-width:650px) and (max-width:1049px){body.weekly-menu-center-page .mc-shop-grid{columns:2!important;column-width:auto!important}}
@media(max-width:649px){body.weekly-menu-center-page .mc-shop-grid{columns:1!important}}
body.weekly-menu-center-page .mc-preferences{margin:17px 0 19px}
body.weekly-menu-center-page .mc-preferences>h3{font-size:15px;font-weight:900;color:#2a6243;margin:0 0 11px}
body.weekly-menu-center-page .mc-preferences-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.weekly-menu-center-page .mc-pref-group{min-width:0;border:1px solid #e1eadf;border-radius:16px;background:#fff;padding:13px 14px}
body.weekly-menu-center-page .mc-pref-group h4{font-size:12px;font-weight:900;color:#285b40;margin:0 0 10px}
body.weekly-menu-center-page .mc-pref-chips{display:flex;gap:6px;flex-wrap:wrap}
body.weekly-menu-center-page .mc-pref-chip{font-size:11px;line-height:1.45;padding:5px 9px;border-radius:8px;border:1px solid #e1ebdf;background:#f5f9f3;color:#3b604a;overflow-wrap:anywhere}
body.weekly-menu-center-page .mc-pref-chip strong{color:#235739}
@media(max-width:900px){body.weekly-menu-center-page .mc-preferences-grid{grid-template-columns:1fr 1fr}}
@media(max-width:590px){body.weekly-menu-center-page .mc-preferences-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.weekly-menu-center-page .mc-plan-clickable,body.weekly-menu-center-page .mc-shop-detail-chevron{transition:none!important}}

/* Daily shopping details: same status typography as the weekly planner. */
body.weekly-menu-center-page .mc-shop-status{font-size:13px;font-weight:400;color:#527261;align-items:center;line-height:1.45}
body.weekly-menu-center-page .mc-shop-status b{font-weight:900}
body.weekly-menu-center-page .mc-shop-detail summary{display:inline-flex;align-items:center;gap:6px;line-height:1.35;vertical-align:middle}
body.weekly-menu-center-page .mc-shop-detail summary::after{content:none!important}
body.weekly-menu-center-page .mc-shop-detail-chevron{display:inline-block;flex:none;position:static;font-size:10px;line-height:1;vertical-align:middle;transform:none;transition:transform .18s ease}
body.weekly-menu-center-page .mc-shop-detail[open] .mc-shop-detail-chevron{transform:rotate(180deg)}

/* Week overview: editor action inside the week selector. */
body.weekly-menu-center-page .mc-week-label{gap:8px}
body.weekly-menu-center-page .mc-week-edit{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 11px;border-radius:8px;background:#e7f3e8;border:1px solid #d1e5d5;color:#246d45;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none}
body.weekly-menu-center-page .mc-week-edit:hover{background:#d9ecde;color:#175d36}
body.weekly-menu-center-page .mc-week-label .mc-calendar-toggle{flex:1;min-width:0}
body.weekly-menu-center-page .mc-shop-status b{font-weight:800}
@media(max-width:510px){body.weekly-menu-center-page .mc-week-edit{padding:7px;font-size:11px}body.weekly-menu-center-page .mc-week-edit i{font-size:12px}}

.mc-no-meals-action{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.mc-no-meals-action p{margin:0}.mc-plan-empty-week{display:inline-flex;align-items:center;gap:8px;border-radius:12px;padding:10px 14px;border:1px solid #bcdac5;background:#eaf4ed;color:#205a3b;font-weight:800;text-decoration:none;transition:background .2s ease}.mc-plan-empty-week:hover{background:#dceddf;color:#164b2f}

/* Match the weekly planner's full-page gradient. */
body.weekly-menu-center-page {
  background: linear-gradient(180deg, #f3f7f1 0%, #fbf8f1 100%);
  background-attachment: scroll;
}

/* Give the selected week's date range more visual prominence. */
body.weekly-menu-center-page .mc-week-label .mc-calendar-toggle {
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 900;
  line-height: 1.35;
}
body.weekly-menu-center-page .mc-week-label .mc-calendar-toggle i {
  font-size: .9em;
}
@media (max-width: 510px) {
  body.weekly-menu-center-page .mc-week-label .mc-calendar-toggle {
    font-size: 14px;
  }
}

/* Clear readable guest storage notice on the green page background. */
body.weekly-menu-center-page #mcNotice:not(:empty){background:#fff9e9;border:1px solid #e8d29b;color:#654b1e;font-size:14px;font-weight:750;box-shadow:0 3px 12px rgba(90,68,22,.07)}
/* Purchase counters: heavier numbers only, without changing the labels. */
body.weekly-menu-center-page .mc-shop-status b,body.weekly-menu-center-page .mc-shop-status strong{font-weight:800}

/* Week switcher: same minimal arrow treatment as the planner's day-selection step. */
body.weekly-menu-center-page .mc-week-arrow{width:45px;min-width:45px;flex:0 0 45px;height:50px;border:1px solid transparent;border-radius:16px;background:transparent;color:#216742;box-shadow:none;font-size:20px;transition:background .2s,border-color .2s,transform .2s,color .2s}
body.weekly-menu-center-page .mc-week-arrow[data-week-shift="1"]{background:transparent;border-color:transparent}
body.weekly-menu-center-page .mc-week-arrow:hover{background:#e2f0e5;border-color:#c3ddca;transform:translateY(-1px)}
body.weekly-menu-center-page .mc-week-arrow:active{transform:scale(.96)}
body.weekly-menu-center-page .mc-week-label .mc-calendar-toggle{flex-wrap:wrap;gap:5px 12px;font-size:15px;font-weight:600;line-height:1.4}
body.weekly-menu-center-page .mc-week-context{font-size:15px;font-weight:800;color:#204d36;white-space:nowrap}
body.weekly-menu-center-page .mc-week-range{font-size:15px;font-weight:600;color:#617b6a;white-space:nowrap}
body.weekly-menu-center-page .mc-week-label .mc-calendar-toggle i{font-size:14px;color:#26724b}
@media(max-width:590px){body.weekly-menu-center-page .mc-week-arrow{flex-basis:34px;width:34px;min-width:34px;height:40px;font-size:16px}body.weekly-menu-center-page .mc-week-context,body.weekly-menu-center-page .mc-week-range{font-size:12px}body.weekly-menu-center-page .mc-week-label .mc-calendar-toggle{gap:4px 7px;padding:5px}}
@media(prefers-reduced-motion:reduce){body.weekly-menu-center-page .mc-week-arrow{transition:none}}

/* Saved-recipe days: subtle background when not selected. */
body.weekly-menu-center-page .mc-days button.mc-day-planned:not(.active){background:#f7faf6;}

/* Main page title typography. */
body.weekly-menu-center-page .mc-heading h1{letter-spacing:-.03em;font-weight:700;}

/* Days without saved recipes: lighter day number, including the selected empty day. */
body.weekly-menu-center-page .mc-days button.mc-day-empty b { font-weight: 600; }

/* Weekly hub: status, calendar, card actions, purchase categories */
body.weekly-menu-center-page .mc-day-count{display:block;font-size:10px;font-weight:650;line-height:1.2;margin-top:2px;opacity:.83}
body.weekly-menu-center-page .mc-today-mark{display:inline-block;font-size:9px;font-weight:800;padding:1px 5px;border-radius:5px;background:#dceee1;color:#195f3a;margin-top:3px}
body.weekly-menu-center-page .mc-days button.active .mc-today-mark{background:#ffffff29;color:#fff}
body.weekly-menu-center-page .mc-meal{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
body.weekly-menu-center-page .mc-meal:hover{transform:translateY(-2px);box-shadow:0 9px 22px #204e3215;border-color:#c7dfcc}
body.weekly-menu-center-page .mc-meal-cta{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#21764c;font-size:11px;font-weight:800;margin-left:auto}
body.weekly-menu-center-page .mc-meal-cooked{font-size:11px;color:#21764c;font-weight:750;display:inline-flex;gap:4px;align-items:center}
body.weekly-menu-center-page .mc-plan-preview{display:none;border-top:1px solid #e6eee5;margin-top:12px;padding-top:9px}
body.weekly-menu-center-page .mc-plan-preview.is-open{display:block}
body.weekly-menu-center-page .mc-plan-preview-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;font-size:11px;color:#43614e;padding:5px 0}
body.weekly-menu-center-page .mc-plan-preview-row span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.weekly-menu-center-page .mc-plan-preview.is-open~.mc-plan-actions .mc-preview-toggle i{transform:rotate(180deg)}
body.weekly-menu-center-page .mc-plan-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
/* Balanced masonry by native columns: category cards flow into the available space. */
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced{columns:3;column-gap:12px}
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced>.mc-shop-group{break-inside:avoid;display:inline-block;width:100%;margin:0 0 12px;vertical-align:top}
@media(max-width:950px){body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced{columns:2}}
@media(max-width:620px){body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced{columns:1}body.weekly-menu-center-page .mc-meal-cta{font-size:10px}}

/* Slimmer week navigation arrows without vertical padding. */
body.weekly-menu-center-page .mc-week-arrow {
  flex: 0 0 30px;
  width: 30px;
  min-width: 30px;
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 590px) {
  body.weekly-menu-center-page .mc-week-arrow {
    flex-basis: 28px;
    width: 28px;
    min-width: 28px;
    height: 34px;
  }
}
/* Highlight only the quantities in the daily shopping status. */
body.weekly-menu-center-page .mc-shop-status strong { font-weight: 800; }

/* MaiKaja homepage-aligned weekly center: visual refresh */
body.weekly-menu-center-page .mc-shell{max-width:1280px;width:min(100%,1280px);}
/* Remove the dashboard-like outer white surface; keep independent content surfaces. */
body.weekly-menu-center-page .mc-today{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;}
body.weekly-menu-center-page .mc-week-nav,body.weekly-menu-center-page .mc-days{background:#fff;border:1px solid #e3ece2;border-radius:16px;box-shadow:0 4px 16px #264f320d;}
body.weekly-menu-center-page .mc-week-nav{padding:12px 15px;margin:0 0 16px;border-radius:16px;}
body.weekly-menu-center-page .mc-days{padding:12px 14px;gap:9px;border-radius:16px;margin:0 0 18px;}
body.weekly-menu-center-page .mc-days button{border-radius:12px;min-height:71px;transition:background .2s ease,border-color .2s ease,transform .22s ease,box-shadow .22s ease;}
body.weekly-menu-center-page .mc-days button:hover{transform:translateY(-2px);box-shadow:0 6px 14px #24563812;}
body.weekly-menu-center-page .mc-days button.active{box-shadow:0 7px 18px #195c3621;}
body.weekly-menu-center-page .mc-meals{gap:14px;margin-bottom:22px;}
body.weekly-menu-center-page .mc-meal{padding:15px 17px;border-radius:16px;background:#fff;min-height:120px;border:1px solid #e3ebe2;box-shadow:0 5px 15px #214a2c09;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;}
body.weekly-menu-center-page .mc-meal-img{width:102px;height:102px;flex-basis:102px;border-radius:16px;}
body.weekly-menu-center-page .mc-meal-info{gap:7px;}
body.weekly-menu-center-page .mc-meal-info>b{font-size:17px;line-height:1.28;font-weight:800;letter-spacing:-.015em;}
body.weekly-menu-center-page .mc-meal-info>small{font-weight:650;color:#67796d;font-size:12px;}
body.weekly-menu-center-page .mc-meal-meta{font-size:12px;gap:8px 15px;font-weight:600;}
body.weekly-menu-center-page .mc-meal-cta{font-weight:800;letter-spacing:-.01em;}
body.weekly-menu-center-page .mc-daily-shop{margin-top:20px;border:1px solid #e1eae0;border-radius:20px;padding:23px;background:#ffffffed;box-shadow:0 8px 26px #274a3010;}
body.weekly-menu-center-page .mc-daily-shop h3{font-weight:800;letter-spacing:-.025em;font-size:21px;}
/* Fit three actual category columns; avoid CSS multicolumn balancing gaps on wide screens. */
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:13px;columns:auto!important;column-width:auto!important;}
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced>.mc-shop-group{display:block;min-width:0;width:100%;margin:0;break-inside:auto;border-radius:16px;}
body.weekly-menu-center-page .mc-shop-group-head{padding:13px 14px;}
body.weekly-menu-center-page .mc-shop-group-head strong{font-size:13px;font-weight:800;}
body.weekly-menu-center-page .mc-plan-group>h3,body.weekly-menu-center-page .mc-title h2{font-weight:800;letter-spacing:-.028em;}
body.weekly-menu-center-page .mc-plan-group-grid{gap:18px;}
body.weekly-menu-center-page .mc-plan{border-radius:20px;padding:18px 19px;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;}
body.weekly-menu-center-page .mc-plan:hover{transform:translateY(-3px);box-shadow:0 12px 30px #214b2d16;}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan{border-color:#c8e1ce;background:#fff;}
body.weekly-menu-center-page .mc-plan-preview-row{display:flex;align-items:center;gap:10px;padding:6px 0;}
body.weekly-menu-center-page .mc-plan-preview-photo{height:44px;width:50px;flex:0 0 50px;background:#edf4ed;border-radius:8px;display:grid;place-items:center;overflow:hidden;color:#5b7b64;}
body.weekly-menu-center-page .mc-plan-preview-photo img{width:100%;height:100%;object-fit:cover;}
body.weekly-menu-center-page .mc-plan-preview-desc{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:12px;}
body.weekly-menu-center-page .mc-plan-preview-desc small{font-size:10px;color:#67786d;}
body.weekly-menu-center-page .mc-plan-preview-desc>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750;}
body.weekly-menu-center-page .mc-plan-summary{margin-top:13px;gap:7px;}
body.weekly-menu-center-page .mc-shop-group,body.weekly-menu-center-page .mc-plan{transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease;}
body.weekly-menu-center-page .mc-shop-group:hover{border-color:#d2e4d3;box-shadow:0 6px 17px #214a2c0c;}
@media(max-width:960px){body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced{grid-template-columns:1fr;}body.weekly-menu-center-page .mc-daily-shop{padding:15px;}body.weekly-menu-center-page .mc-week-nav{padding:8px;}body.weekly-menu-center-page .mc-days{padding:5px 8px 11px;}body.weekly-menu-center-page .mc-meal{padding:11px;gap:10px;}body.weekly-menu-center-page .mc-meal-img{width:72px;height:72px;flex-basis:72px;}body.weekly-menu-center-page .mc-meal-info>b{font-size:15px;}}
@media(prefers-reduced-motion:reduce){body.weekly-menu-center-page .mc-meal,body.weekly-menu-center-page .mc-plan,body.weekly-menu-center-page .mc-shop-group,body.weekly-menu-center-page .mc-days button{transition:none!important;animation:none!important;}}

/* Shared cooking status and quick edit actions */
body.weekly-menu-center-page .mc-meal-controls{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px;max-width:320px}
body.weekly-menu-center-page .mc-meal-controls button,body.weekly-menu-center-page .mc-meal-controls a{font-family:inherit;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;text-decoration:none}
body.weekly-menu-center-page .mc-cooked-toggle{background:#f2f7f1;border:1px solid #dbe9dc;color:#315e43}
body.weekly-menu-center-page .mc-cooked-toggle[aria-pressed="true"]{background:#d9f2df;border-color:#abd9b5;color:#166b37}
body.weekly-menu-center-page .mc-meal-replace{background:#fff;border:1px solid #dbe9dc;color:#26734a}
body.weekly-menu-center-page .mc-meal-controls .mc-meal-cta{background:#217949;color:#fff;margin-left:0}
body.weekly-menu-center-page .mc-meal-controls .mc-meal-cta:hover{background:#175d37;color:#fff}
@media(max-width:750px){body.weekly-menu-center-page .mc-meal-controls{max-width:none;width:100%;justify-content:flex-start;margin-left:0}}

/* Daily list: show recipe attribution only if the day contains multiple meals. */
body.weekly-menu-center-page .mc-shop-recipe-hint{display:block;margin:4px 0 0 25px;color:#63786e;font-size:11px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 30px)}
body.weekly-menu-center-page .mc-shop-detail summary{gap:6px;font-weight:600;color:#537968}
body.weekly-menu-center-page .mc-shop-detail summary .fa-rectangle-list{font-size:10px;color:#59866d}
body.weekly-menu-center-page .mc-meal-people{color:#426d56;font-weight:700}

/* Whole recipe tile opens its detail page; action buttons keep their own click handlers. */
body.weekly-menu-center-page .mc-meal[data-recipe-url]{cursor:pointer;}
body.weekly-menu-center-page .mc-meal[data-recipe-url]:focus-visible{outline:3px solid #278653;outline-offset:3px;}
body.weekly-menu-center-page .mc-meal[data-recipe-url]:hover{border-color:#85c49b;box-shadow:0 12px 25px #194f2c1b;transform:translateY(-2px);}

/* Empty dates get a gentler lift than dates with recipes. */
body.weekly-menu-center-page .mc-days button.mc-day-empty:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(36,86,56,.07);
}

/* Add a selected recipe to a specific weekly menu slot */
.mc-add-overlay{position:fixed;inset:0;background:rgba(12,37,27,.66);z-index:10000;display:grid;place-items:center;padding:18px;overflow:auto}
.mc-add-dialog{position:relative;width:min(100%,510px);background:#fff;border-radius:20px;padding:30px;box-shadow:0 28px 80px #071b1640;color:#183d2a;font-family:Nunito,system-ui,sans-serif}
.mc-add-close{position:absolute;right:15px;top:14px;border:0;background:#edf5ee;border-radius:50%;width:37px;height:37px;font-size:25px;cursor:pointer}
.mc-add-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#238652;font-weight:800}
.mc-add-dialog h2{font-size:25px;margin:7px 0 4px}.mc-add-recipe{margin:0 0 20px;color:#66796c}
.mc-add-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mc-add-form label{display:grid;gap:6px;font-size:13px;font-weight:800}.mc-add-form input,.mc-add-form select{height:43px;padding:0 11px;border:1px solid #cbdfd0;border-radius:12px;background:#fff;color:#173d29;font:inherit;width:100%;min-width:0}
.mc-add-form input:focus-visible,.mc-add-form select:focus-visible{outline:2px solid #238652;outline-offset:2px}.mc-add-status,.mc-add-actions{grid-column:1/-1}.mc-add-status{font-size:13px;color:#ad582c;margin:0;min-height:19px}.mc-add-actions{display:flex;justify-content:flex-end;gap:10px}.mc-add-actions button{padding:10px 18px;border-radius:12px;border:1px solid #bcd9c6;background:#fff;font-weight:800;cursor:pointer}.mc-add-actions .mc-add-save{background:#20834c;color:#fff;border-color:#20834c}.mc-add-save:disabled{opacity:.55;cursor:wait}
@media(max-width:430px){.mc-add-dialog{padding:23px 16px}.mc-add-form{grid-template-columns:1fr}}

/* Weekly cooking dashboard — extension to existing menu UI. */
body.weekly-menu-center-page .mc-overview{margin:0 0 16px;padding:18px;background:linear-gradient(120deg,#f2faf3,#fffaf1);border:1px solid #dbe9dc;border-radius:16px}
.mc-overview-header,.mc-overview-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px;color:#41654e}.mc-overview-header>span{font-weight:900}.mc-overview-header i{color:#24804b;margin-right:6px}.mc-overview-header strong{color:#285e3b;font-size:12px}
.mc-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.mc-overview-stat{padding:13px 10px;border-radius:12px;background:#fff;border:1px solid #e1ebe0;display:grid;justify-items:center;gap:5px;text-align:center}.mc-overview-stat i{color:#31905d;font-size:16px}.mc-overview-stat strong{font-size:25px;line-height:1;color:#204f35;font-weight:900}.mc-overview-stat span{font-size:11px;color:#64786a;font-weight:700}
.mc-overview-foot{font-size:12px;font-weight:750;margin-bottom:6px}.mc-overview-progress{height:7px;background:#d9e9dc;border-radius:30px;overflow:hidden}.mc-overview-progress span{display:block;height:100%;background:#27864e;border-radius:30px;transition:width .2s}
body.weekly-menu-center-page .mc-meal-controls .mc-meal-cook{background:#247d4d;color:white;border:1px solid #247d4d}body.weekly-menu-center-page .mc-meal-controls .mc-meal-cook:hover{background:#185f39;color:#fff}
.mc-shop-changes{background:#fffaec;border:1px solid #efdfb8;color:#625331;border-radius:12px;padding:12px 15px;margin:0 0 17px;font-size:12px}.mc-shop-changes summary{cursor:pointer;font-weight:900}.mc-shop-changes summary span{float:right}.mc-shop-changes p{margin:8px 0;overflow-wrap:anywhere}.mc-shop-changes small{color:#7e765f}
body.weekly-menu-center-page .mc-meal{min-width:0}body.weekly-menu-center-page .mc-meal-info{min-width:0}body.weekly-menu-center-page .mc-meal-info>b{overflow-wrap:anywhere;word-break:normal}
@media(max-width:650px){.mc-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-overview-stat strong{font-size:22px}body.weekly-menu-center-page .mc-days{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:12px;overscroll-behavior-x:contain}body.weekly-menu-center-page .mc-days button{flex:0 0 72px;scroll-snap-align:center}body.weekly-menu-center-page .mc-meals{grid-template-columns:1fr}body.weekly-menu-center-page .mc-meal-controls .mc-meal-cook{order:-1}}

.mc-shop-jump{display:none;border:0;background:#21784b;color:white;border-radius:999px;padding:11px 18px;font-family:inherit;font-weight:850;cursor:pointer;box-shadow:0 8px 24px #13432730}
@media(max-width:650px){body.weekly-menu-center-page .mc-shop-jump{display:flex;gap:8px;align-items:center;position:sticky;bottom:calc(70px + env(safe-area-inset-bottom));z-index:12;margin:0 0 12px auto}.mc-daily-shop{scroll-margin-top:80px}}

/* 2026-10-22: compact weekly dashboard, comfortable single-recipe days,
   prominent saved menus. Presentation only: no data or save behavior changes. */
body.weekly-menu-center-page .mc-overview{
  margin:10px 0 14px;
  padding:13px 16px 14px;
  border-radius:16px;
  box-shadow:0 3px 12px #21462e08;
}
body.weekly-menu-center-page .mc-overview-header{font-size:12px;}
body.weekly-menu-center-page .mc-overview-grid{gap:9px;margin:10px 0 11px;}
body.weekly-menu-center-page .mc-overview-stat{
  padding:10px 9px;
  gap:3px;
  border-radius:12px;
  min-height:74px;
}
body.weekly-menu-center-page .mc-overview-stat i{font-size:13px;}
body.weekly-menu-center-page .mc-overview-stat strong{font-size:21px;line-height:1.1;}
body.weekly-menu-center-page .mc-overview-stat span{font-size:10px;line-height:1.25;}
body.weekly-menu-center-page .mc-overview-foot{margin-bottom:5px;font-size:11px;}
body.weekly-menu-center-page .mc-overview-progress{height:5px;}

/* One or two meals fill the available width without stretching their contents. */
body.weekly-menu-center-page .mc-meals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;}
body.weekly-menu-center-page .mc-meals:has(> .mc-meal:only-child){grid-template-columns:minmax(0,1fr);}
body.weekly-menu-center-page .mc-meals:has(> .mc-meal:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr));}
body.weekly-menu-center-page .mc-meal{
  width:100%;
  min-height:108px;
  padding:12px 14px;
  gap:12px;
  align-items:center;
}
body.weekly-menu-center-page .mc-meal-img{width:90px;height:90px;flex:0 0 90px;}
body.weekly-menu-center-page .mc-meal-info{flex:1 1 200px;min-width:0;}
body.weekly-menu-center-page .mc-meal-info>b{font-size:15px;line-height:1.3;}
body.weekly-menu-center-page .mc-meal-controls{flex:0 1 auto;max-width:235px;gap:6px;}
body.weekly-menu-center-page .mc-meal-controls button,
body.weekly-menu-center-page .mc-meal-controls a{padding:7px 9px;}

/* Saved menus: intentional hierarchy, larger cards and clearer open action. */
body.weekly-menu-center-page .mc-plan-group{margin-top:24px;}
body.weekly-menu-center-page .mc-plan-group>h3{font-size:15px;margin:0 0 11px;color:#1c583a;}
body.weekly-menu-center-page .mc-plan-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;}
body.weekly-menu-center-page .mc-plan{
  position:relative;
  padding:19px 20px;
  min-height:190px;
  border:1px solid #cfe5d4;
  border-top:3px solid #2c8752;
  background:linear-gradient(145deg,#fff 58%,#f3faf4 100%);
  box-shadow:0 8px 28px #1e4d3010;
}
body.weekly-menu-center-page .mc-plan-header{gap:10px;}
body.weekly-menu-center-page .mc-plan h3{font-size:20px;margin:14px 0 5px;color:#1d5135;}
body.weekly-menu-center-page .mc-plan p{font-size:12px;}
body.weekly-menu-center-page .mc-plan-summary{margin-top:14px;}
body.weekly-menu-center-page .mc-plan-actions{border-top:1px solid #e0eae0;margin-top:15px;padding-top:12px;}
body.weekly-menu-center-page .mc-plan:focus-visible{outline:3px solid #328a55;outline-offset:3px;}
@media(max-width:1020px){
  body.weekly-menu-center-page .mc-meals{grid-template-columns:1fr;}
  body.weekly-menu-center-page .mc-plan-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:650px){
  body.weekly-menu-center-page .mc-overview{padding:11px;margin:9px 0 12px;}
  body.weekly-menu-center-page .mc-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  body.weekly-menu-center-page .mc-overview-stat{min-height:69px;padding:8px;}
  body.weekly-menu-center-page .mc-meals{grid-template-columns:1fr;}
  body.weekly-menu-center-page .mc-meal{flex-wrap:wrap;padding:11px;}
  body.weekly-menu-center-page .mc-meal-img{width:76px;height:76px;flex-basis:76px;}
  body.weekly-menu-center-page .mc-meal-controls{max-width:none;width:100%;justify-content:flex-start;}
  body.weekly-menu-center-page .mc-plan-group-grid{grid-template-columns:1fr;}
  body.weekly-menu-center-page .mc-plan{min-height:0;padding:17px;}
}

/* Weekly dashboard: unified meal actions and unambiguous weekly counters */
body.weekly-menu-center-page .mc-overview-stat span{max-width:170px;text-wrap:balance;}
body.weekly-menu-center-page .mc-meal{flex-wrap:wrap;}
body.weekly-menu-center-page .mc-meal-controls{
  display:flex;flex:0 1 auto;max-width:100%;min-width:0;align-items:center;justify-content:flex-end;
  flex-wrap:wrap;gap:8px;margin-left:auto;
}
body.weekly-menu-center-page .mc-meal-controls .kaja-btn{white-space:nowrap}
/* Current week is already visible above. Present its saved entry as a compact library row. */
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-group-grid{grid-template-columns:minmax(0,1fr);}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week{
  min-height:0;padding:12px 16px;border-top:1px solid #cfe5d4;border-left:4px solid #24834c;
  display:grid;grid-template-columns:minmax(150px,1fr) auto;column-gap:14px;align-items:center;
}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week .mc-plan-header{grid-column:1;}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week h3{grid-column:1;margin:3px 0;font-size:15px;}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week>p{grid-column:1;margin:0;}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week .mc-plan-summary{grid-column:1;margin-top:7px;gap:5px;}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week .mc-plan-stat{padding:3px 6px;}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week .mc-plan-actions{
  grid-column:2;grid-row:1 / span 4;border:0;margin:0;padding:0;display:flex;align-items:center;gap:9px;
}
body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week .mc-plan-preview{grid-column:1 / -1;grid-row:5;}
@media(max-width:850px){
 body.weekly-menu-center-page .mc-meal-controls{max-width:100%;justify-content:flex-start;}
 body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week{grid-template-columns:1fr;}
 body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week .mc-plan-actions{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:10px;}
 body.weekly-menu-center-page .mc-plan-group-current .mc-plan-this-week .mc-plan-preview{grid-row:auto;}
}
@media(max-width:460px){
 body.weekly-menu-center-page .mc-meal-controls{width:100%;display:grid;grid-template-columns:1fr 1fr;}
 body.weekly-menu-center-page .mc-meal-controls .mc-meal-cook{grid-column:1 / -1;}
 body.weekly-menu-center-page .mc-meal-controls .kaja-btn{justify-content:center}
}
/* Weekly shopping scope and keyboard-friendly overview navigation */
body.weekly-menu-center-page .mc-shop-scope{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0 12px}
body.weekly-menu-center-page .mc-shop-scope button{border:1px solid #d8e6dc;background:#f6faf7;color:#285d43;padding:8px 13px;border-radius:999px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
body.weekly-menu-center-page .mc-shop-scope button[aria-pressed="true"]{background:#227649;border-color:#227649;color:white}
body.weekly-menu-center-page button.mc-overview-stat{appearance:none;font:inherit;cursor:pointer;text-align:center;border:1px solid #e4eee5}
body.weekly-menu-center-page button.mc-overview-stat:hover{border-color:#9bd5af;background:#f2faf4}
body.weekly-menu-center-page button.mc-overview-stat:focus-visible,body.weekly-menu-center-page .mc-shop-scope button:focus-visible{outline:3px solid #ed9a52;outline-offset:2px}

/* 2026-10-22: Shopping categories flow vertically without CSS Grid's shared-row height.
   Keep each complete category together and fill the next available column. */
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced {
  display:block;
  columns:3 0;
  column-count:3;
  column-width:auto;
  column-gap:13px;
}
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced > .mc-shop-group {
  display:inline-block;
  width:100%;
  margin:0 0 13px;
  vertical-align:top;
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  page-break-inside:avoid;
}
@media (max-width:960px) {
  body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced {column-count:2;}
}
@media (max-width:640px) {
  body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced {column-count:1;}
}

/* JS-positioned, shortest-column Masonry: overrides legacy columns and grid rules. */
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced{
 display:block!important;position:relative;columns:auto!important;
 column-count:auto!important;column-width:auto!important;
 grid-template-columns:none!important;column-gap:0!important;
 width:100%;min-width:0;
}
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced > .mc-shop-group{
 display:block!important;position:absolute;min-width:0;margin:0!important;
 box-sizing:border-box;break-inside:auto!important;
}
body.weekly-menu-center-page .mc-shop-grid.mc-shop-grid-balanced > .mc-shop-empty{
 position:relative;margin:0;
}
