/* Beta design exploration: calmer step-based planning and compact selection surfaces. */
#modal.suggestion-dialog form#suggestionSetupForm{display:flex;flex:1;flex-direction:column;min-height:0;overflow:auto;overscroll-behavior:contain}
#modal.suggestion-dialog .suggestion-setup{display:block;min-height:0;overflow:visible}
#modal.suggestion-dialog .suggestion-step{padding:12px;border:1px solid #dce8f5;border-radius:18px;background:linear-gradient(145deg,#f1f7ff,#f5f3ff 58%,#eff8fb);min-height:0}
#modal.suggestion-dialog .suggestion-step[hidden]{display:none}
.suggestion-step-progress{display:block;margin:2px 0 14px;color:#516b86}
.suggestion-step-progress progress{width:100%;height:8px;accent-color:#468bd4;border:0;border-radius:99px;overflow:hidden}
.suggestion-step-progress progress::-webkit-progress-bar{background:#e4edf8;border-radius:99px}
.suggestion-step-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#75afea,#708fd8);border-radius:99px}
.suggestion-step-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#75afea,#708fd8);border-radius:99px}
.suggestion-setup-hint{margin:0 0 14px}
.suggestion-step-heading{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.suggestion-step-heading .suggestion-slot-icon{width:38px;height:38px;border-radius:13px;background:#fff;color:#2875bd;box-shadow:0 4px 12px #3c72a118}
.suggestion-step-heading h3{margin:0;font-size:calc(var(--app-text-scale, 1) * 19px);text-align:center}
.suggestion-step-prompt{margin:10px 0 12px;font-size:calc(var(--app-text-scale, 1) * 16px);font-weight:650;color:#263f59;text-align:center}
.meal-count-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.meal-count-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:62px;padding:6px 5px;border:1px solid #dce6f2;border-radius:14px;background:#ffffffd9;color:#38546f}
.meal-count-choices button:nth-child(3n+1){background:#f1f7ff}
.meal-count-choices button:nth-child(3n+2){background:#f8f4ff}
.meal-count-choices button:nth-child(3n){background:#eff8f6}
.meal-count-choices button[aria-pressed="true"]{border-color:#65a0dc;background:#e4f1ff;color:#205d97;box-shadow:inset 0 0 0 1px #87b5e3,0 3px 10px #377ec21a}
.meal-count-choices button>span{font-size:calc(var(--app-text-scale, 1) * 20px);font-weight:700;line-height:1}
.meal-count-choices button>small{font-size:calc(var(--app-text-scale, 1) * 11px);line-height:1.1;text-align:center}
.meal-count-advanced{margin-top:13px;border-top:1px solid #d9e5f1;padding-top:10px}
.meal-count-advanced>summary{min-height:40px;display:flex;align-items:center;color:#3a6388;font-size:calc(var(--app-text-scale, 1) * 13px);font-weight:600}
.meal-count-advanced[open]>summary{margin-bottom:9px}
.suggestion-range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.suggestion-range-fields>label:not(.suggestion-variety){display:grid;gap:7px;padding:11px 12px;border:1px solid #dbe6f3;border-radius:15px;background:#ffffffd9;font-size:calc(var(--app-text-scale, 1) * 12px);color:#5b7189}
.suggestion-range-fields select{width:100%;min-height:46px;border-color:#dbe6f3;background:#f8fbff;font-size:calc(var(--app-text-scale, 1) * 17px);font-weight:650;color:#24425e}
.suggestion-variety{grid-column:1/-1;display:flex;align-items:center;gap:9px;min-height:46px;padding:10px 12px;border:1px solid #dbe6f3;border-radius:14px;background:#ffffffbd;font-size:calc(var(--app-text-scale, 1) * 13px)}
.suggestion-step-summary{margin:13px 0 0;padding:9px 11px;border-radius:12px;background:#ffffffb8;font-size:calc(var(--app-text-scale, 1) * 13px);font-weight:650;color:#35658e;text-align:center}
.suggestion-step-note{margin:8px 0 0;color:#60768c;font-size:calc(var(--app-text-scale, 1) * 12px);text-align:center}
.suggestion-setup-footer{position:sticky;bottom:0;padding:12px 0 max(12px,env(safe-area-inset-bottom));background:linear-gradient(#fffefaee,#fff 24%);}
.suggestion-setup-footer [data-action="suggestion-step-back"],.suggestion-setup-footer [data-action="close"]{flex:0 1 92px}
.suggestion-setup-footer [data-action="suggestion-step-next"],.suggestion-setup-footer [data-action="suggestion-submit"]{flex:1}
.suggestion-setup-footer [hidden]{display:none!important}
.suggestion-setup-footer button:disabled{opacity:.45;cursor:not-allowed}
.suggestion-remember{display:grid;grid-template-columns:22px minmax(0,1fr) 22px;gap:9px;padding:9px;border-radius:13px}
.suggestion-remember>span{text-align:center;min-width:0}

.discovery-ingredient-filters{display:grid;gap:9px}
.discovery-ingredient-filters>details{padding:11px 12px;border:1px solid #dce7f2;border-radius:16px;background:linear-gradient(135deg,#f2f7ff,#fbfaff)}
.discovery-ingredient-filters>details>summary{display:flex;align-items:center;gap:8px;min-height:42px;font-size:calc(var(--app-text-scale, 1) * 14px);font-weight:650;color:#294864}
.discovery-ingredient-filters>details>summary small{margin-left:auto;padding:4px 8px;border-radius:999px;background:#e3efff;color:#356b9d;font-size:calc(var(--app-text-scale, 1) * 11px);font-weight:600}
.custom-filter-selections{display:flex;flex-wrap:wrap;gap:6px;margin:5px 0 10px}
.custom-filter-selections button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 10px;border:1px solid #a9c9ee;border-radius:999px;background:#e8f2ff;color:#245c96;font-size:calc(var(--app-text-scale, 1) * 12px);font-weight:600}
.custom-filter-selections button span{font-size:calc(var(--app-text-scale, 1) * 16px);line-height:1}
.ingredient-tiles,.equipment-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0 12px}
.ingredient-tiles label,.equipment-tiles label{display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 9px;border:1px solid #dce6f1;border-radius:12px;background:#fff;color:#3f566d;font-size:calc(var(--app-text-scale, 1) * 12px);line-height:1.2}
.ingredient-tiles input,.equipment-tiles input{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#387fc8}
.discovery-choice-icon{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:8px;background:#edf5ff;color:#5785b5;font-size:16px;font-weight:700}
.discovery-choice-icon{font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:16px}
.equipment-tiles .discovery-choice-icon{background:#f0edfb;color:#786dad}
.ingredient-tiles label:has(input:checked),.equipment-tiles label:has(input:checked){border-color:#7eafe2;background:#eaf4ff;color:#245a8a;box-shadow:inset 0 0 0 1px #8db8e4}
.equipment-tiles label:has(input:checked){border-color:#b5a9e0;background:#f1edff;color:#554b83;box-shadow:inset 0 0 0 1px #c0b6e7}
.custom-filter-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.custom-filter-entry label{min-width:0;font-size:calc(var(--app-text-scale, 1) * 12px);color:#586f87}
.custom-filter-entry input{min-height:46px;font-size:calc(var(--app-text-scale, 1) * 16px)}
.custom-filter-entry button{min-height:46px}

.shopping-store-options{display:flex;flex-wrap:wrap;gap:7px;padding:10px 0 3px}
.shopping-store-options label{display:flex;align-items:center;gap:7px;min-height:42px;padding:7px 11px;border:1px solid #d9e5f2;border-radius:999px;background:#fff;color:#3c536d;font-size:calc(var(--app-text-scale, 1) * 12px);font-weight:600}
.shopping-store-options input{width:17px;height:17px;margin:0;accent-color:#347fc9}
.shopping-store-options label:has(input:checked){border-color:#84b3e4;background:#e8f3ff;color:#205d99;box-shadow:inset 0 0 0 1px #9bc3ea}
.shopping-selected-stores{display:block;margin-top:5px;color:#506b83;font-size:calc(var(--app-text-scale, 1) * 12px)}

.shopping-item:has(.shopping-item-photo){grid-template-columns:18px 36px minmax(0,1fr);gap:6px 9px;min-height:58px;padding:9px 10px}
.shopping-item .shopping-item-photo{flex-basis:36px;width:36px;height:36px;min-width:36px;min-height:36px;border-radius:10px;background:#f1f6fb}
.shopping-item:has(.shopping-item-photo)>span:not(.shopping-item-photo){grid-column:3;grid-row:1;align-self:end;font-size:14px;line-height:1.25}
.shopping-item:has(.shopping-item-photo)>b{grid-column:3;grid-row:2;justify-self:start;width:auto;max-width:100%;text-align:left;white-space:normal;color:#60758a;font-size:12px;font-weight:500;line-height:1.3}
.shopping-category-heading{display:flex;align-items:center;gap:8px;margin:16px 0 7px;padding:6px 0;border-bottom:1px solid #e7eef6;color:#57728d;font-size:calc(var(--app-text-scale, 1) * 12px);text-transform:uppercase;letter-spacing:.05em}
.shopping-category-heading::before{content:'🛒';display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:#edf5fd;color:#5482b0;font-size:calc(var(--app-text-scale, 1) * 13px)}
.shopping-compact-day{border-radius:17px}
.shopping-day-main{min-width:0}

.swap-current{margin:0 0 12px;padding:11px 12px;border:1px solid #cfe0f1;border-radius:16px;background:linear-gradient(110deg,#eaf4ff,#f6f3ff)}
.swap-current>small{display:block;margin-bottom:8px;color:#5680a6;font-size:calc(var(--app-text-scale, 1) * 10px);font-weight:700;letter-spacing:.08em}
.swap-current>div{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:10px}
.swap-current-photo,.swap-current-photo .food-placeholder{width:56px;height:56px;margin:0;border-radius:11px;object-fit:cover}
.swap-current>div>div:last-child{display:contents}
.swap-current>div>div:last-child>strong{display:block;grid-column:2;min-width:0;margin-bottom:5px;font-size:calc(var(--app-text-scale, 1) * 14px);line-height:1.3}
.swap-current .macro-line.macro-chips{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;align-items:stretch}
.swap-current .macro-line.macro-chips>.macro-chip{box-sizing:border-box;width:100%;min-width:0;flex-direction:column;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;padding:4px}
.swap-current .macro-line.macro-chips>.macro-chip>span:last-child{min-width:0;max-width:100%}
.swap-current .macro-energy-share{white-space:normal;overflow-wrap:anywhere}
.suggestion-picker-dialog .recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.suggestion-picker-dialog .recipe-tile{overflow:hidden;border-radius:16px}
.suggestion-picker-dialog .suggestion-swap-photo,.suggestion-picker-dialog .recipe-tile>.food-placeholder{width:100%;height:auto;aspect-ratio:1.3;object-fit:cover;border-radius:0}
.suggestion-picker-dialog .recipe-info{padding:10px;gap:5px}
.suggestion-picker-dialog .recipe-info h3{font-size:calc(var(--app-text-scale, 1) * 14px);line-height:1.25}
.suggestion-picker-dialog .recipe-info .macro-line{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.suggestion-picker-dialog .recipe-info .macro-chip{font-size:calc(var(--app-text-scale, 1) * 10px);padding:3px 4px}
.suggestion-picker-dialog .recipe-info button{width:100%;min-height:42px;margin-top:6px}

@media(max-width:600px){
 #modal.suggestion-dialog .suggestion-step{padding:10px}
 .suggestion-range-fields{gap:7px}
 .suggestion-range-fields>label:not(.suggestion-variety){padding:9px}
 .suggestion-step-prompt{font-size:calc(var(--app-text-scale, 1) * 16px)}
 .meal-count-choices{gap:6px}
 .meal-count-choices button{min-height:56px;border-radius:12px}
 .ingredient-tiles,.equipment-tiles{gap:6px}
 .ingredient-tiles label,.equipment-tiles label{min-height:44px;padding:6px 7px;font-size:calc(var(--app-text-scale, 1) * 11px)}
 .shopping-item:has(.shopping-item-photo){grid-template-columns:18px 34px minmax(0,1fr);gap:5px 8px}
 .shopping-item .shopping-item-photo{width:34px;height:34px;min-width:34px;min-height:34px}
}
@media(prefers-reduced-motion:reduce){.suggestion-step-progress progress::-webkit-progress-value,.suggestion-step-progress progress::-moz-progress-bar{transition:none}}

.shopping-item>.shopping-item-photo{grid-column:2;grid-row:1 / span 2;align-self:center}
.shopping-item>input[type="checkbox"]{grid-column:1;grid-row:1 / span 2;align-self:center}

/* Category pictures follow canonical shopping labels, including metadata aliases. */
.shopping-category-heading::before{width:auto;min-width:26px;height:26px;font-size:calc(var(--app-text-scale, 1) * 17px);background:transparent}
.shopping-category-heading[data-category="Frugt og grønt"]::before{content:'🍎🥦'}
.shopping-category-heading[data-category="Brød og kolonial"]::before{content:'🍞🌾🍚'}
.shopping-category-heading[data-category="Mejeri"]::before{content:'🥛'}
.shopping-category-heading[data-category="Æg og mejeri"]::before{content:'🥚🥛'}
.shopping-category-heading[data-category="Krydderier"]::before{content:'🧂'}
.shopping-category-heading[data-category="Bageingredienser"]::before{content:'🧁'}
.shopping-category-heading[data-category="Kød"]::before{content:'🥩'}

.shopping-category-heading[data-category="Nødder"]::before{content:"🥜"}.shopping-category-heading[data-category="Olier"]::before{content:"🫒"}

/* Consistent native disclosures for compact, keyboard-friendly app sections. */
.recipe-detail-accordion>summary,
.account-progressive-disclosure>summary,
.discovery-ingredient-filters>details>summary,
.shopping-accordion>summary,
.recipe-specification>summary,
.shopping-store-picker>summary{list-style:none}
.recipe-detail-accordion>summary::-webkit-details-marker,
.account-progressive-disclosure>summary::-webkit-details-marker,
.discovery-ingredient-filters>details>summary::-webkit-details-marker,
.shopping-accordion>summary::-webkit-details-marker,
.recipe-specification>summary::-webkit-details-marker,
.shopping-store-picker>summary::-webkit-details-marker{display:none}
.discovery-ingredient-filters>details>summary{min-height:48px}
.shopping-accordion>summary{min-height:50px;font-size:calc(var(--app-text-scale, 1) * 15px)}
.account-progressive-disclosure{margin:12px 0;border:1px solid #dce7f0;border-radius:16px;background:#fff;overflow:hidden}
.account-progressive-disclosure>summary{display:flex;align-items:center;min-height:50px;padding:10px 14px;color:#294864;font-weight:680;cursor:pointer}
.account-progressive-disclosure[open]>summary{border-bottom:1px solid #e4edf2}
.account-progressive-body{padding:10px}
.account-progressive-body>.account-preferences,.account-progressive-body>.account-install{margin:0;padding:6px;border:0;box-shadow:none;background:transparent}
.account-progressive-body>.account-preferences>h3,.account-progressive-body>.account-install>h3{display:none}
.recipe-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0 4px;padding:10px;border:1px solid #dfe8f0;border-radius:14px;background:#fff;color:#516b82;font-size:calc(var(--app-text-scale, 1) * 13px);text-align:center}
.recipe-pagination>button{min-width:88px;min-height:44px;padding:8px 12px;border-radius:11px;background:#edf5fc;color:#285b82;font-weight:650}
.recipe-pagination>button:disabled{opacity:.45;cursor:default}
.recipe-pagination>span{font-variant-numeric:tabular-nums}
.day-datebar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.day-datebar .day-repeat-action{margin:0}
@media(max-width:480px){.recipe-pagination{gap:6px;padding:8px}.recipe-pagination>button{min-width:72px;padding:7px}.recipe-pagination>span{font-size:calc(var(--app-text-scale, 1) * 12px)}.account-progressive-body{padding:7px}}
@media(prefers-reduced-motion:reduce){.discovery-ingredient-filters>details>summary::after,.account-progressive-disclosure>summary::after,.shopping-accordion>summary::after,.recipe-specification>summary::after{transition:none}}

#modal .recipe-pagination{position:sticky;bottom:0;z-index:5;box-shadow:0 -4px 12px #173b5410}
.recipe-detail-accordion .recipe-eating>h3{display:none}

/* Beta glass surfaces stay light and readable without relying on blur. */
.account-profile-card,.account-progressive-disclosure,.day-dashboard .day-meal-group,
.week-board .week-planned-meal,.week-board .week-recipe-open,
.shopping-compact-day,.suggestion-dish,.recipe-tile{
 border-color:#ffffffc9;
 background:linear-gradient(145deg,#ffffffed,#f6faffdf);
 box-shadow:inset 0 1px 0 #ffffffd9,0 5px 16px #315b7a12;
}
.account-progressive-disclosure>summary,.account-password-details>summary{position:relative;justify-content:center;text-align:center}
.account-progressive-disclosure>summary::after,.account-password-details>summary::after{position:absolute;right:12px;margin-left:0}
.account-profile-form>button[type="submit"]{width:100%;min-height:48px;text-align:center}
.account-password-details>summary{text-align:center}
.account-profile-card .account-form button:not(.primary):not(.danger):not(.quiet-delete):not([aria-pressed="true"]):not(:disabled),
.account-progressive-body button:not(.primary):not(.danger):not(.quiet-delete):not([aria-pressed="true"]):not(:disabled),
.day-dashboard .meal-group-heading-button,.day-dashboard .meal-group-add,
.day-dashboard .meal-group-copy,.day-dashboard .meal-group-toggle,
.recipe-pagination>button,.shopping-period-options label{
 border-color:#ffffffd9;
 background:linear-gradient(145deg,#ffffffeb,#edf6ffce);
 box-shadow:inset 0 1px 0 #ffffffed,0 2px 7px #315b7a12;
}
.account-profile-card .account-form button:not(.primary):not(.danger):not(.quiet-delete):not([aria-pressed="true"]):not(:disabled):hover,
.account-progressive-body button:not(.primary):not(.danger):not(.quiet-delete):not([aria-pressed="true"]):not(:disabled):hover,
.day-dashboard .meal-group-heading-button:hover,.day-dashboard .meal-group-add:hover,
.day-dashboard .meal-group-copy:hover,.recipe-pagination>button:hover{
 border-color:#a9cbe6;background:#eaf4ff;
}
.day-dashboard .meal-group-header{min-width:0;padding:8px 10px 9px}
.day-dashboard .meal-group-head{display:flex;align-items:center;gap:8px;min-width:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.day-dashboard .meal-group-art{width:54px;height:54px;flex:0 0 54px;border:1px solid #ffffffd9;background:linear-gradient(145deg,#f8fbff,#eaf4fc);box-shadow:inset 0 1px 0 #fff}
.day-dashboard .meal-group-heading-button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:48px;padding:5px 8px;border:0;border-radius:12px;background:transparent;box-shadow:none;color:inherit;text-align:center}
.day-dashboard .meal-group-heading-button:hover{background:#ffffff80}
.day-dashboard .meal-group-heading{display:block;min-width:0;flex:1;text-align:center}
.day-dashboard .meal-group-heading>strong{margin-bottom:2px}
.day-dashboard .meal-group-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.day-dashboard .meal-group-copy,.day-dashboard .meal-group-add{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #c9dff0;border-radius:14px;color:#3278ad;box-shadow:inset 0 1px 0 #fff,0 3px 9px #315b7a16}
.day-dashboard .meal-group-copy svg{width:19px;height:19px}
.day-dashboard .meal-group-add{font-size:calc(var(--app-text-scale, 1) * 28px);line-height:1}
.day-dashboard .meal-group-add>span{margin-top:-2px}
.day-dashboard .meal-group-macros{margin-top:7px}
.day-dashboard .meal-group-macros .meal-group-nutrition{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%}
.day-dashboard .meal-group-macros .meal-group-macro{display:flex;justify-content:center;min-width:0;min-height:30px;padding:3px 2px;border:1px solid #ffffffb8;border-radius:10px;font-size:calc(var(--app-text-scale, 1) * 12px);text-align:center;overflow-wrap:anywhere;white-space:normal;box-shadow:inset 0 1px 0 #ffffffa8}
.day-dashboard .meal-group-energy-share{flex-basis:100%;font-size:calc(var(--app-text-scale, 1) * 12px);line-height:1.1;font-weight:550}
.day-dashboard .meal-group-macro .macro-chip-icon{width:16px;height:16px;flex:0 0 16px}
.day-dashboard .meal-group-tools{border-top:1px solid #e4edf5;background:#f7faffb8}
.day-dashboard .meal-group-tools .meal-group-toggle{min-height:46px;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:left}
.day-dashboard .meal-group-tools .meal-group-toggle:hover{background:#edf6ff}
.day-dashboard .meal-group-tools .meal-group-check{margin:0 7px 0 0}
.day-dashboard .meal-group-copy:focus-visible,.day-dashboard .meal-group-add:focus-visible,.day-dashboard .meal-group-heading-button:focus-visible,.day-dashboard .meal-group-toggle:focus-visible{outline:3px solid #1687bd;outline-offset:2px;z-index:1}
.shopping-period-options label:has(input:checked){border-color:#78aee0;background:linear-gradient(145deg,#edf6ff,#e5f2ff);color:#205b91;box-shadow:inset 0 0 0 1px #9bc3e7,0 2px 7px #315b7a12}
#modal{border-color:#ffffffd9;background:linear-gradient(145deg,#fffffffa,#f4f9fffa);box-shadow:inset 0 1px 0 #fff,0 22px 70px #173b5433}
@media(max-width:600px){
 .day-dashboard .meal-group-header{padding:7px 8px 8px}
 .day-dashboard .meal-group-head{gap:7px}
 .day-dashboard .meal-group-art{width:47px;height:47px;flex-basis:47px}
 .day-dashboard .meal-group-actions{gap:4px}
 .day-dashboard .meal-group-copy,.day-dashboard .meal-group-add{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:13px}
 .day-dashboard .meal-group-macros .meal-group-nutrition{gap:4px}
 .day-dashboard .meal-group-macros .meal-group-macro{font-size:calc(var(--app-text-scale, 1) * 12px);gap:2px;padding-inline:2px}
 .day-dashboard .meal-group-macro .macro-chip-icon{width:15px;height:15px;flex-basis:15px}
}
@media(max-width:350px){.day-dashboard .meal-group-header{padding-inline:6px}.day-dashboard .meal-group-head{gap:5px}.day-dashboard .meal-group-actions{gap:3px}.day-dashboard .meal-group-copy,.day-dashboard .meal-group-add{width:44px;height:44px;min-width:44px}.day-dashboard .meal-group-heading>strong{font-size:calc(var(--app-text-scale, 1) * 16px)}}
@media(prefers-reduced-transparency:reduce){
 .account-profile-card,.account-progressive-disclosure,.day-dashboard .day-meal-group,.week-board .week-planned-meal,.week-board .week-recipe-open,.shopping-compact-day,.suggestion-dish,.recipe-tile{background:#f8fbff}
 .day-dashboard .meal-group-copy,.day-dashboard .meal-group-add,.day-dashboard .meal-group-heading-button,.recipe-pagination>button{background:#eef6fd}
}

/* Shared beta glass palette. Color-coded nutrition and state controls keep their colors. */
:root{--beta-glass-fill:linear-gradient(145deg,#ffffffd9,#edf6ffc7);--beta-glass-edge:#ffffffde;--beta-glass-depth:inset 0 1px 1px #fff, inset 0 -1px 1px #b3d2eb4d,0 5px 18px #315b7a14}
:is(.insight-card,.account-progressive-disclosure,.day-dashboard .day-meal-group,.shopping-list,.shopping-controls,.shopping-accordion,.shopping-compact-day,.recipe-tile,.meal,.suggestion-dish){background:var(--beta-glass-fill);border-color:var(--beta-glass-edge);box-shadow:var(--beta-glass-depth);backdrop-filter:blur(14px) saturate(130%);-webkit-backdrop-filter:blur(14px) saturate(130%)}
:is(.account-progressive-disclosure,.account-password-details)>summary{padding-inline:46px}
:is(.account-preferences,.account-install,.account-profile-card)>:is(h2,h3){text-align:center}
:is(.account-footer,.policy-links) :is(a,button),.day-date-control>button,.day-repeat-action>button,.week-navigation>button,.shopping-period-heading>button,.shopping-item-store-button,.recipe-pagination>button{background:var(--beta-glass-fill);border-color:var(--beta-glass-edge);box-shadow:var(--beta-glass-depth);text-align:center}
button:not(.primary):not(.danger):not(.icon):not(.modal-close):not(.meal-group-heading-button):not(.meal-group-toggle):not(.meal-check):not(.meal-photo-hit):not(.week-photo-hit):not(.recipe-photo-hit):not(.recipe-preview-hit):not(.calc-info-close):not(.calc-protein-info):not(.meal-quick-detail):not([role="switch"]):not([aria-pressed="true"]):not([aria-pressed="mixed"]):not([aria-current]):not(:disabled){background-image:linear-gradient(155deg,#ffffff50,#ffffff05 52%,#b9dfff20);box-shadow:inset 0 1px 0 #ffffffb8,0 3px 10px #315b7a10}
#app button.primary,#modal button.primary{background:linear-gradient(145deg,#1670d0f5,#1768c7f2 55%,#155badf5);border:1px solid #8dc9ffe6;border-radius:18px;color:#fff;box-shadow:inset 0 1px 1px #e4f6ff99,inset 0 -1px 2px #084e974d,0 5px 14px #1d68b52e;text-shadow:0 1px 1px #174b824d}
#app button.primary:hover,#modal button.primary:hover{background:linear-gradient(145deg,#1268c5,#125fb9 55%,#12559f)}
#app button.primary:disabled,#modal button.primary:disabled{opacity:.45;cursor:not-allowed}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--beta-glass-fill:linear-gradient(145deg,#fff,#eff6fc)}}
@media(prefers-reduced-transparency:reduce){
 :root{--beta-glass-fill:#f5f9fe}
 :is(.insight-card,.account-progressive-disclosure,.day-dashboard .day-meal-group,.shopping-list,.shopping-controls,.shopping-accordion,.shopping-compact-day,.recipe-tile,.meal,.suggestion-dish){backdrop-filter:none;-webkit-backdrop-filter:none}
 #app button.primary,#modal button.primary{background:#176bcf;text-shadow:none}
}
@media(forced-colors:active){:is(.insight-card,.account-progressive-disclosure,.day-dashboard .day-meal-group,.shopping-list,.shopping-controls,.shopping-accordion,.shopping-compact-day,.recipe-tile,.meal,.suggestion-dish),#app button.primary,#modal button.primary{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none;text-shadow:none;backdrop-filter:none}}

/* Give each saved dish and its actions a clear, comfortable rhythm. */
.day-dashboard .meal-group-quick-list{padding:4px 14px 12px}
.day-dashboard .meal-group-quick-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:68px;padding:10px 0}
.day-dashboard .meal-group-quick-list>div>.meal-quick-detail,.day-dashboard .meal-group-quick-list>div>span{padding:6px 0;line-height:1.45}
.day-dashboard .meal-quick-actions{gap:12px}
.day-dashboard .meal-quick-actions>[data-action="remove"]{display:grid;place-items:center;border:1px solid #d5e1eb;border-radius:13px;background:#ffffffad;color:#667c8e;box-shadow:inset 0 1px 0 #fff}
.day-dashboard .meal-quick-actions>[data-action="remove"]:hover{background:#fff1f2;border-color:#e4bec5;color:#a53f4d}
.day-dashboard .meal-quick-actions>[data-action="remove"]:focus-visible{outline:3px solid #1687bd;outline-offset:2px}
.day-dashboard .meal-group-tools{padding:5px 7px 5px 0}
.day-dashboard .meal-group-tools .meal-group-toggle{gap:12px;padding-inline:14px}
.day-dashboard .meal-group-tools .meal-group-check{margin-right:7px}
.day-dashboard .meal-group-content{gap:16px;padding:14px}
.day-dashboard .meal-top{gap:16px}
.day-dashboard .meal-actions{gap:12px;margin-top:14px;padding-top:10px}
.day-dashboard .meal-group-actions{gap:8px}
html #weekBoard .week-meal-actions{justify-content:center;gap:12px;min-height:64px;padding:10px 6px;margin-top:6px}
.recipe-info .head-actions.recipe-card-actions{gap:10px;padding-top:10px}
.recipe-info .head-actions.recipe-card-actions>button{min-height:44px}
#modal .suggestion-dish{gap:12px;padding:12px}
#modal .suggestion-dish-content>[data-action="swap-slot"]{margin-top:12px;min-height:44px}
#modal .suggestion-footer{gap:12px;padding-top:14px}
@media(max-width:350px){
 .day-dashboard .meal-group-quick-list{padding-inline:12px}
 .day-dashboard .meal-group-quick-list>div{gap:12px}
 .day-dashboard .meal-quick-actions{gap:10px}
 .day-dashboard .meal-group-actions{gap:5px}
}

.suggestion-step-progress .step-progress-shell{position:relative;display:block;width:100%;min-width:0;height:22px}.suggestion-step-progress .step-progress-shell progress{display:block;width:100%;height:22px;appearance:none;-webkit-appearance:none;background:#e4edf8;border-radius:99px;overflow:hidden}.suggestion-step-progress .step-progress-shell .step-progress-percent{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#20354e;font-size:calc(var(--app-text-scale, 1) * 12px);font-weight:750;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #fff,0 0 3px #fff}

.suggestion-step-progress .step-progress-shell .step-progress-percent{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;width:max-content;height:max-content;margin:auto;padding:1px 7px;border-radius:99px;background:#fff;color:#214f6e;font-size:calc(var(--app-text-scale, 1) * 13px);font-weight:700;font-variant-numeric:tabular-nums;text-shadow:none;line-height:1.4}

/* Appended recipe batches retain the existing cards and scroll position. */
.recipe-load-more{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 12px 30px;text-align:center;color:var(--muted);min-height:126px}
.recipe-load-more p{margin:0;font-size:calc(var(--app-text-scale, 1) * 14px)}.recipe-load-more button{min-height:44px;padding:10px 22px;border-radius:16px;background:var(--beta-glass-fill,#eef6fd);border:1px solid #b9d6e7;color:#234b63;font-weight:650}
.recipe-load-more[data-loading="true"] p:before{content:"";display:inline-block;width:14px;height:14px;border:2px solid #b9d6e7;border-top-color:#197fa9;border-radius:50%;margin-right:8px;vertical-align:-2px;animation:recipe-loading-spin .8s linear infinite}
@keyframes recipe-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.recipe-load-more[data-loading="true"] p:before{animation:none}}
html[data-motion-enabled="false"] .recipe-load-more[data-loading="true"] p:before{animation:none}
