/* Kkinidam Concept 3 — High-Trust Financial-Grade Design System (Deep Royal Navy + Ice Slate + Emerald Trust) */
:root{
 --green:#1b2d4f;
 --accent:#1b2d4f;
 --navy:#1b2d4f;
 --navy-deep:#13223d;
 --emerald:#0f9d7a;
 --emerald-ink:#047857;
 --emerald-soft:#ecfdf5;
 --ink:#121b2b;
 --ink-2:#334155;
 --muted:#64748b;
 --line:#e6ecf3;
 --sage:#edf3fa;
 --surface:#f1f5f9;
 background:#eef2f7;
}
body{
 background:#f6f8fb;
 color:var(--ink);
 box-shadow:0 0 60px rgba(18,27,43,.06);
 letter-spacing:-.018em;
 -webkit-font-smoothing:antialiased;
 font-family:-apple-system,BlinkMacSystemFont,"Pretendard Variable","Pretendard","Apple SD Gothic Neo","Noto Sans KR",sans-serif;
}
button,input,select,textarea{font-weight:550}
button.secondary{background:#f1f5f9;color:#334155;border:1px solid #dbe4ef;box-shadow:none}
button.secondary:hover{background:#e2e8f0}
button,a,summary{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2.5px solid #1b2d4f;outline-offset:2px}

/* Top Header — Unified 34px Pills, Zero Clashing Hues */
.mast{
 background:rgba(255,255,255,.92);
 backdrop-filter:blur(18px) saturate(140%);
 -webkit-backdrop-filter:blur(18px) saturate(140%);
 border-bottom:1px solid #e6ecf3;
 padding-block:10px;
}
.mast b{font-size:19px;font-weight:850;letter-spacing:-.045em;color:var(--ink)}
.brandmark{width:30px;height:30px;border-radius:9px}
.mast-actions{display:flex;align-items:center;gap:6px;min-width:0;max-width:calc(100% - 98px)}
.mast #summary{
 height:34px;min-height:34px;
 border:1px solid #e2e8f0;border-radius:999px;
 background:#f8fafc;color:#334155;
 font-size:12px;font-weight:650;padding:0 11px;
 max-width:none;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 box-shadow:none;
 display:inline-flex;align-items:center;
}
.mast .account-pill{
 flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
 height:34px;min-height:34px;padding:0 11px 0 5px;max-width:134px;border-radius:999px;
 border:1px solid #dbe4ef;background:#ffffff;
 color:#1b2d4f;font-size:12px;font-weight:700;
 box-shadow:0 1px 3px rgba(18,27,43,.05);
}
.mast .account-pill[data-signed-in=true]{
 border-color:#dbe4ef;background:#ffffff;color:#121b2b;
 box-shadow:0 1px 3px rgba(18,27,43,.05);
}
.mast .account-pill .acct-dot{width:7px;height:7px;border-radius:50%;background:#0f9d7a;flex:none}
.mast .account-pill .acct-avatar{
 width:24px;height:24px;border-radius:50%;flex:none;
 display:grid;place-items:center;
 background:#e8eef6;color:#1b2d4f;font-size:11px;font-weight:800;line-height:1;
}
.mast .account-pill .acct-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}

main{padding-inline:16px;padding-bottom:calc(104px + env(safe-area-inset-bottom))}
.titlebar{border-top:0;padding:18px 0 12px}
h1,h2,h3{color:var(--ink)}
.titlebar h1{font-weight:850;letter-spacing:-.035em;font-size:22px;line-height:1.25}
.titlebar small{display:block;margin-top:4px;font-size:12.5px;font-weight:450;line-height:1.5;color:var(--muted)}

/* Segmented Control */
.segmented-control,.retailer-tabs,.recipe-switch{
 display:grid;
 padding:4px;gap:4px;
 background:#eaeff5;
 border:1px solid #e2e8f0;
 border-radius:14px;
 box-shadow:none;
}
.segmented-control button,.retailer-tabs button,.recipe-switch button{
 border:1px solid transparent;border-radius:10px;background:transparent;
 min-height:42px;padding:7px 6px;
 font-size:13px;font-weight:650;color:#64748b;
 display:flex;align-items:center;justify-content:center;gap:6px;
}
.segmented-control button[aria-pressed=true],.recipe-switch button[aria-pressed=true]{
 background:#ffffff;border-color:#e2e8f0;color:#1b2d4f;font-weight:750;
 box-shadow:0 2px 6px rgba(18,27,43,.08);
}

/* 5-Tab High-Trust Bottom Navigation */
.bottom-nav{
 background:rgba(255,255,255,.95);
 backdrop-filter:blur(20px);
 -webkit-backdrop-filter:blur(20px);
 border-top:1px solid #e6ecf3;
 box-shadow:0 -4px 18px rgba(18,27,43,.05);
 z-index:8;
 padding:4px 6px calc(4px + env(safe-area-inset-bottom));
 gap:2px;
}
.bottom-nav button{
 flex:1;min-width:0;height:58px;padding:4px 2px;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
 border-radius:12px;background:transparent;color:#94a3b8;
 font-size:10.5px;font-weight:550;
}
.bottom-nav .nav-icon{position:relative;display:grid;place-items:center;width:23px;height:23px}
.bottom-nav .nav-icon svg{width:21px;height:21px;display:block}
.bottom-nav .nav-icon svg.icon-filled{display:none}
.bottom-nav button[aria-current=true]{
 color:#1b2d4f;font-weight:800;
 background:#eef3f9;
 box-shadow:none;
}
.bottom-nav button:not([aria-current=true]):focus,.bottom-nav button:not([aria-current=true]):hover{
 background:transparent;box-shadow:none;
}
.bottom-nav button:not([aria-current=true]):focus-visible{
 outline:2px solid #1b2d4f;outline-offset:-2px;
}
.bottom-nav button[aria-current=true] .nav-icon svg.icon-outline{display:none}
.bottom-nav button[aria-current=true] .nav-icon svg.icon-filled{display:block}
.bottom-nav button[aria-current=true]:before{display:none}
.bottom-nav .nav-label{display:inline-flex;align-items:center;gap:3px;line-height:1.15;white-space:nowrap}
#cartBadge{font-size:9.5px;padding:1px 5px;border-radius:999px;background:#0f9d7a;color:#fff;font-weight:800}

/* Signature Deep Royal Navy Hero Budget Report Card (Plan + Basket) */
body[data-screen=plan] .titlebar{padding:16px 0 10px}
body[data-screen=plan] .titlebar h1{font-size:21px}
body[data-screen=plan] #estimate,
body[data-screen=basket] #estimate{
 background:linear-gradient(155deg,#1e3256 0%,#13223d 100%);
 border:1px solid rgba(255,255,255,.08);
 border-radius:22px;
 padding:18px 18px 16px;
 margin:4px 0 18px;
 color:#ffffff;
 box-shadow:0 12px 28px -10px rgba(19,34,61,.38);
}
#estimate .receipt{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:0;border:0;background:transparent}
#estimate .receipt>*{grid-column:1/-1;min-width:0}
.receipt-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
body[data-screen=plan] .receipt #estimateLabel,
body[data-screen=basket] .receipt #estimateLabel{
 font-size:11.5px;font-weight:550;color:rgba(255,255,255,.72);margin:0;
}
.budget-trust-badge{
 display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;
 font-size:11px;font-weight:750;letter-spacing:-.01em;
 background:rgba(16,185,129,.22);color:#6ee7b7;
}
body[data-over-budget=true] .budget-trust-badge{
 background:rgba(248,113,113,.24);color:#fecaca;
}
.receipt-main{display:flex;align-items:center;justify-content:space-between;gap:12px}
body[data-screen=plan] .receipt strong,
body[data-screen=basket] .receipt strong{
 font-size:26px;font-weight:850;letter-spacing:-.035em;color:#ffffff;
 font-variant-numeric:tabular-nums;line-height:1.15;
}
body[data-screen=plan] .receipt #editBudget,
body[data-screen=basket] .receipt #editBudget{
 color:#ffffff;font-size:12px;font-weight:700;padding:6px 12px;min-height:34px;
 border:1px solid rgba(255,255,255,.22);border-radius:10px;
 background:rgba(255,255,255,.12);backdrop-filter:blur(8px);
 text-decoration:none;box-shadow:none;white-space:nowrap;
}
.receipt-gauge{
 width:100%;height:6px;border-radius:999px;overflow:hidden;
 background:rgba(255,255,255,.16);margin:2px 0;
}
.receipt-gauge-fill{
 height:100%;border-radius:inherit;background:#34d399;transition:width .3s ease;
}
body[data-over-budget=true] .receipt-gauge-fill{background:#f87171}
body[data-screen=plan] .receipt #budgetNote,
body[data-screen=basket] .receipt #budgetNote{
 color:rgba(255,255,255,.74);font-size:11.5px;line-height:1.5;font-variant-numeric:tabular-nums;
}
#estimate #quick{
 margin-top:8px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);
}
#estimate #quick label{color:rgba(255,255,255,.85);font-size:12px}
#estimate #quick input{background:#ffffff;color:#121b2b;border-color:transparent;border-radius:10px}
#estimate #quick span{color:rgba(255,255,255,.8)}
#estimate #quick button{background:#34d399;color:#0f241d;font-weight:800;border-radius:10px}

/* Plan Screen — Clean Timeline Cards */
body[data-screen=plan] .plan-tools{margin:0 0 10px;padding:0 2px;min-height:38px;flex-wrap:nowrap;gap:10px}
body[data-screen=plan] .plan-tools h2{font-size:14px;font-weight:750;color:#121b2b;white-space:nowrap}
.plan-tools #alternate{
 font-size:12px;padding:6px 12px;min-height:34px;border:1px solid #dbe4ef;
 background:#ffffff;color:#334155;font-weight:700;border-radius:10px;
 box-shadow:0 1px 2px rgba(18,27,43,.04);
}
.plan-tools #alternate:disabled{border:1px dashed #cbd5e1;background:#f8fafc;color:#94a3b8;box-shadow:none;cursor:not-allowed;font-weight:550}

.day-group,.day-group[data-single=true]{
 display:block;
 background:#ffffff;
 border:1px solid rgba(18,27,43,.07);
 border-radius:20px;padding:4px 14px 10px;margin:0 0 12px;
 box-shadow:0 4px 16px -8px rgba(18,27,43,.08);
 overflow:hidden;
}
.day-group h3,.day-group[data-single=true] h3{
 display:flex;align-items:center;justify-content:flex-start;gap:8px;
 min-height:46px;margin:0;padding:6px 0;
 border-bottom:1px solid #eef2f6;
 text-align:left;font-size:13.5px;font-weight:800;color:#121b2b;
}
.day-group time,.day-group[data-single=true] time{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
.day-group time small{font-size:12.5px;font-weight:600;color:#64748b}

/* Flat Trust Status Labels */
.day-group .today-label,.day-group[data-single=true] .today-label{
 background:#ecfdf5;color:#047857;border:0;box-shadow:none;
 padding:2px 7px;font-size:10.5px;font-weight:800;border-radius:6px;line-height:1.45;cursor:default;pointer-events:none;
}
.meal-status-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.pin-status-badge{
 display:inline-flex;align-items:center;
 background:#f1f5f9;color:#475569;border:0;box-shadow:none;
 font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:6px;cursor:default;pointer-events:none;
}
.menu-detail .added-meal{
 display:inline-flex;width:fit-content;align-items:center;
 background:#ecfdf5;color:#047857;border:0;box-shadow:none;
 font-size:10.5px;font-weight:750;padding:2px 7px;border-radius:6px;margin-top:0;cursor:default;pointer-events:none;
}
.weekend-special-badge{
 display:inline-flex;align-items:center;gap:3px;
 padding:2px 7px;border-radius:6px;font-size:10.5px;font-weight:750;letter-spacing:-.01em;
 background:#eef3fa;border:0;color:#1b2d4f;
}

/* Primary Day CTA — Deep Navy (Unadded) vs Calm Emerald (Added) */
.day-group .scope-day,.day-group[data-single=true] .scope-day{
 margin:0 0 0 auto;padding:6px 12px;min-height:32px;min-width:0;white-space:nowrap;
 background:#1b2d4f;border:1px solid transparent;border-radius:10px;
 color:#ffffff;font-size:12px;font-weight:750;
 box-shadow:0 2px 6px rgba(27,45,79,.18);
}
.day-group .scope-day[data-added=true],.day-group[data-single=true] .scope-day[data-added=true]{
 background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;box-shadow:none;
}

.daily-meal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;gap:6px;min-width:0;padding:4px 0 8px}
.daily-meal+.daily-meal{border-top:1px solid #eef2f6;padding-top:8px}
.daily-meal .menu-detail,.daily-meal:has(.meal-pin) .menu-detail{
 grid-column:1/-1;display:grid;grid-template-columns:68px minmax(0,1fr) 12px;align-items:center;gap:12px;
 width:100%;min-height:82px;padding:10px 0 8px;text-align:left;background:transparent;border-radius:0;
}
.menu-detail .meal-image{
 width:68px;height:68px;border-radius:14px;overflow:hidden;background:#f1f5f9;display:block;
 box-shadow:0 3px 10px rgba(18,27,43,.1);
}
.menu-detail .dish-photo,body[data-screen=plan] .day-group:first-of-type .menu-detail .dish-photo{width:100%;height:100%;border-radius:0;object-fit:cover}
.menu-detail .meal-copy{min-width:0;display:block}
.menu-detail .meal-copy>small:first-child{color:#64748b;font-size:11px;font-weight:600;margin-bottom:2px;letter-spacing:.01em}
.menu-detail b{font-size:16px;font-weight:800;line-height:1.32;letter-spacing:-.03em;overflow-wrap:anywhere;color:#121b2b}
.menu-detail .meal-composition{font-size:11.5px;line-height:1.45;margin-top:3px;color:#64748b}
.menu-detail .meal-arrow{font-size:20px;color:#94a3b8;font-weight:400}

/* Lightweight Secondary Action Strip (Replaces Noisy 4-Style Buttons) */
.daily-meal>.meal-pin{
 position:static;grid-column:1;grid-row:2;min-width:0;padding:5px 4px;min-height:34px;
 font-size:11.5px;border-radius:9px;font-weight:650;
 color:#475569;background:#f8fafc;border:1px solid #e6ecf3;box-shadow:none;
}
.daily-meal>.meal-pin[aria-pressed=true]{
 color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;font-weight:750;box-shadow:none;
}
.daily-meal>.slot-swap,.daily-meal>.family-options{display:contents}
.daily-meal>.slot-swap>summary,.daily-meal>.meal-pin+.slot-swap>summary,.daily-meal>.family-options>summary,.daily-meal>.family-toggle{
 position:static;display:flex;align-items:center;justify-content:center;gap:4px;grid-row:2;
 min-height:34px;min-width:0;padding:5px 4px;margin:0;
 border:1px solid #e6ecf3;border-radius:9px;background:#f8fafc;
 font-size:11.5px;font-weight:650;color:#475569;list-style:none;text-align:center;box-shadow:none;
}
.daily-meal>.slot-swap>summary{grid-column:2}
.daily-meal>.slot-swap>summary:before{content:'⇄';font-size:13px;font-weight:600}
.daily-meal>.family-options>summary,.daily-meal>.family-toggle{grid-column:3;color:#1b2d4f;border-color:#dbe4ef;background:#f1f5f9}
.daily-meal>.family-options>summary::-webkit-details-marker,.daily-meal>.slot-swap>summary::-webkit-details-marker{display:none}
.daily-meal>.family-options>summary:after{content:'+';font-size:14px;line-height:1}
.daily-meal>.family-options[open]>summary:after{content:'−'}
.daily-meal>details[open]>summary{background:#e2e8f0;border-color:#cbd5e1;color:#121b2b}
.daily-meal>.slot-swap>div,.daily-meal>.family-options>div{grid-column:1/-1;min-width:0}
.daily-meal>.slot-swap::details-content,.daily-meal>.family-options::details-content{display:contents}
.daily-meal>.slot-swap>div{grid-row:3}
.daily-meal>.family-options>div{grid-row:4}
.daily-meal>details:not([open])>div{display:none}
.daily-meal>.slot-swap[open]>div,.slot-swap[open]>div{display:block;padding:10px 0 4px;overflow:visible;max-width:100%}
.swap-cards{display:flex;gap:10px;padding:4px 0 6px;overflow-x:auto;max-width:100%;scroll-snap-type:x proximity}
.swap-option{background:#f8fafc;border:1px solid #e2e8f0;padding:12px;flex:0 0 min(76%,232px);border-radius:14px}
.swap-option b{font-size:14.5px}.swap-option small,.swap-option span{font-size:12px;line-height:1.5;color:#64748b}
.family-option{background:#f8fafc;border:1px solid #e2e8f0;padding:14px;margin:10px 0;border-radius:14px}

/* Primary Buttons */
#accept,.mobile-actions>button{
 background:linear-gradient(155deg,#1e3256,#13223d);
 border-radius:14px;font-weight:750;min-height:50px;color:#ffffff;
 box-shadow:0 8px 20px -6px rgba(19,34,61,.32);
}
#accept{margin:18px 0 10px}
.cart-shortcut{border:1px solid #cbd5e1;background:#ffffff;color:#1b2d4f;border-radius:14px;font-size:13.5px;font-weight:750;margin:6px 0 14px}
.share-action-btn{width:100%;min-height:44px;margin:4px 0 14px;border-radius:12px;border:1px solid #dbe4ef;background:#ffffff;color:#334155;font-size:12.5px;font-weight:700}

/* Fridge Inventory Screen (Tab 2) — Slim Summary + Inline Search + Navy Chips */
.fridge-summary,.fridge-summary.glass-card{
 display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
 padding:16px 18px;border-radius:20px;margin:0 0 14px;
 background:linear-gradient(155deg,#1e3256 0%,#13223d 100%);
 border:1px solid rgba(255,255,255,.08);color:#ffffff;
 box-shadow:0 10px 24px -10px rgba(19,34,61,.34);
}
.fridge-summary .dash-badge{background:rgba(16,185,129,.22);color:#6ee7b7}
.fridge-summary h2{font-size:18px;font-weight:850;margin:6px 0 4px;color:#ffffff}
.fridge-summary h2 strong{color:#6ee7b7}
.fridge-summary p{font-size:12px;color:rgba(255,255,255,.78);margin:0;line-height:1.5}
.fridge-summary .fridge-clear-btn{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);color:#ffffff;border-radius:10px;padding:7px 12px;min-height:36px;font-size:12px;font-weight:700}

.fridge-search-wrap{
 position:relative;margin:0 0 14px;
}
.fridge-search-input{
 width:100%;min-height:44px;padding:10px 14px 10px 38px;
 border-radius:14px;border:1px solid #dbe4ef;background:#ffffff;
 font-size:13.5px;color:#121b2b;
 box-shadow:0 2px 8px rgba(18,27,43,.04);
}
.fridge-search-input::placeholder{color:#94a3b8}
.fridge-search-icon{
 position:absolute;left:13px;top:50%;transform:translateY(-50%);
 color:#64748b;pointer-events:none;font-size:14px;line-height:1;
}

.fridge-matches{margin:0 0 20px}
.fridge-group{padding:15px 16px;border-radius:18px;margin:0 0 12px;background:#ffffff;border:1px solid #e6ecf3;box-shadow:0 2px 10px rgba(18,27,43,.04)}
.fridge-group h3{margin:0 0 11px;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:space-between;color:#121b2b}
.fridge-chips{display:flex;flex-wrap:wrap;gap:7px}
.fridge-chip{
 min-height:36px;padding:6px 12px;border-radius:10px;
 background:#f1f5f9;border:1px solid transparent;color:#334155;
 font-size:12.5px;font-weight:650;box-shadow:none;
}
.fridge-chip[aria-pressed=true]{
 background:#1b2d4f;border-color:#1b2d4f;color:#ffffff;font-weight:750;
 box-shadow:0 3px 10px rgba(27,45,79,.2);
}
.fridge-chip[hidden]{display:none}
.fridge-owned-pill{
 display:inline-block;margin-top:4px;padding:2px 7px;border-radius:6px;
 font-style:normal;font-size:11px;font-weight:700;
 background:#ecfdf5;color:#047857;border:0;cursor:default;
}

.fridge-exclude-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:11px 13px;margin:10px 0 14px;border-radius:14px;background:#ecfdf5;border:1px solid #a7f3d0;font-size:12px;color:#065f46}
.fridge-exclude-bar strong{font-weight:800}
.fridge-exclude-btn{min-height:34px;padding:6px 12px;border-radius:9px;background:#0f9d7a;color:#fff;font-size:12px;font-weight:750;white-space:nowrap}
.checkout-share-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.checkout-share-row button{width:100%;min-height:44px;margin:0!important;background:#ffffff;border:1px solid #dbe4ef;color:#334155;border-radius:12px;font-size:12.5px;font-weight:700}
.share-preview{margin:12px 0 16px;padding:14px 16px;border-radius:16px;background:#ffffff;border:1px solid #dbe4ef;box-shadow:0 4px 14px rgba(18,27,43,.06)}
.share-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:12px;color:#1b2d4f}
.share-preview-text{margin:0;padding:12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;font-family:inherit;font-size:12px;line-height:1.65;color:#1e293b;white-space:pre-wrap;word-break:break-word;user-select:all}
.floating-toast{
 position:fixed;left:50%;bottom:calc(78px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:20;
 max-width:min(350px,calc(100vw - 32px));padding:11px 16px;border-radius:12px;
 background:rgba(18,27,43,.94);backdrop-filter:blur(12px);
 color:#fff;font-size:13px;font-weight:650;text-align:center;line-height:1.45;
 box-shadow:0 10px 28px rgba(18,27,43,.26);
}
.service-note{margin:32px 0 12px;border-top:1px solid var(--line);padding-top:20px;color:#64748b;font-size:12px;line-height:1.7}
.service-note b{font-size:13px;font-weight:700;color:#334155}
.service-note p{margin:6px 0}.service-note a{display:inline-flex;align-items:center;min-height:40px;gap:8px;color:#475569;font-size:12px}
#goBack{background:rgba(246,248,251,.92);border-bottom:1px solid #e6ecf3;color:#334155;font-size:13px;font-weight:700;backdrop-filter:blur(14px);padding-block:4px}

/* Recipe Detail & Settings */
.recipe>.dish-photo{border-radius:20px;aspect-ratio:1.65;margin-bottom:6px;box-shadow:0 10px 26px rgba(18,27,43,.12)}
.recipe-meta{gap:8px;margin:14px 0}
.recipe-meta span{border:0;background:#eef3f9;border-radius:8px;font-size:12px;font-weight:650;color:#334155;padding:5px 10px;cursor:default}
.recipe-switch{grid-template-columns:1fr 1fr;margin:16px 0}
.recipe .ingredient-list{border:1px solid #e6ecf3;background:#ffffff;border-radius:18px;padding:4px 16px;box-shadow:0 4px 14px -6px rgba(18,27,43,.06)}
.recipe .ingredient-list li{min-height:48px}
.recipe .cooking-steps li{padding:4px 0 20px 38px}
.recipe .cooking-steps li:before{background:#eef3f9;color:#1b2d4f}
.card,fieldset{
 border:1px solid rgba(18,27,43,.07);border-radius:20px;padding:18px;margin:16px 0;
 background:#ffffff;box-shadow:0 4px 16px -8px rgba(18,27,43,.08);
}
#settings label{font-size:13.5px;line-height:1.6}
#settings input,#settings select{border-color:#cbd5e1;border-radius:11px;padding:10px 12px;background:#ffffff;color:var(--ink)}
.mobile-actions{
 background:rgba(255,255,255,.94);backdrop-filter:blur(18px);
 border-color:#e6ecf3;box-shadow:0 -6px 20px rgba(18,27,43,.07);
 bottom:calc(66px + env(safe-area-inset-bottom));padding:12px 16px;
}

/* Cart & Shopping Screen — Compact High-Trust Checklist */
#shoppingJourney{margin:8px 0 14px}
.shopping-steps{gap:8px;margin-top:0}
.shopping-steps li{background:#eaeff5;color:#64748b;padding:10px 10px;font-size:12px;border-radius:12px}
.shopping-steps li span{background:#cbd5e1;color:#334155}
.shopping-steps li[aria-current=step]{background:#1b2d4f;color:#ffffff;font-weight:750;border:0}
.shopping-steps li[aria-current=step] span{background:#34d399;color:#0f241d;font-weight:850}
.pick-item{padding:12px 0;gap:10px;align-items:center}
.pick-row{display:flex;align-items:center;gap:10px;min-width:0}
.pick-row input{order:0;flex:none;accent-color:#0f9d7a}
.pick-thumb{
 order:1;width:46px;height:46px;flex:none;border-radius:12px;overflow:hidden;
 background:#ffffff;border:1px solid #e6ecf3;display:grid;place-items:center;box-shadow:none;
}
.pick-thumb img{width:100%;height:100%;object-fit:contain;padding:2px;display:block;background:#fff}
.pick-row>span{order:2;display:grid;gap:2px;min-width:0}
.pick-price-tag{display:inline-flex;align-items:center;width:fit-content;margin-top:2px;font-style:normal;font-size:11.5px;font-weight:750;font-variant-numeric:tabular-nums}
.pick-price-tag.verified{color:#121b2b}
.pick-price-tag.ref{color:#1b2d4f;background:#eef3f9;padding:1px 6px;border-radius:5px;font-size:11px;font-weight:700}
.pick-qty-hint{display:inline-block;margin-top:2px;font-style:normal;font-size:10.5px;font-weight:650;color:#64748b}
.substitute-pill{display:inline-block;margin-top:3px;font-style:normal;font-size:10.5px;font-weight:700;color:#92400e;background:#fffbeb;border:1px solid #fde68a;padding:2px 7px;border-radius:6px;line-height:1.35}
.substitute-badge{display:inline-block;font-style:normal;padding:1px 6px;border-radius:5px;background:#fffbeb;color:#b45309;border:1px solid #fde68a;font-size:10.5px;font-weight:750}
.substitute-note{margin:8px 0 6px;padding:7px 10px;border-radius:9px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:11.5px;line-height:1.45}
.substitute-banner{margin:10px 0;padding:10px 12px;border-radius:12px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:12px;line-height:1.5}
.substitute-banner b{display:block;font-size:12.5px;margin-bottom:2px}
.substitute-banner p{margin:0}
.serving-basis-pill{display:inline-block;padding:2px 7px;border-radius:6px;font-size:10.5px;font-weight:700}
.serving-basis-pill.scaled{background:#ecfdf5;color:#047857}
.serving-basis-pill.fixed{background:#f1f5f9;color:#475569}
.serving-basis-note{margin:8px 0 10px;padding:8px 11px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-size:12px;line-height:1.5}
.product-unit-pill.warn{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.fridge-replace-btn{width:100%;margin-top:4px;padding:6px 8px;border-radius:9px;border:1px solid #dbe4ef;background:#fff;color:#475569;font-size:11px;font-weight:700;cursor:pointer}
.buy-check.visited{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}
.quick-return-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;border-radius:11px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;font-size:12px;margin-bottom:8px}
.quick-confirm-btn{background:#0f9d7a!important;color:#fff!important;border-color:#0f9d7a!important;font-weight:750}

.basket-meals{
 padding:14px 16px 10px;margin-bottom:14px;border-radius:18px;
 background:#ffffff;border:1px solid #e6ecf3;box-shadow:0 4px 14px -8px rgba(18,27,43,.07);
}
.basket-meals h2{font-size:15px;margin:0 0 8px}
.basket-meal{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-color:#eef2f6}
.basket-meal-main{display:flex;align-items:center;gap:11px;min-width:0;flex:1}
.basket-meal-main .meal-image,.basket-meal-main .dish-photo{width:44px;height:44px;border-radius:11px;flex:none;object-fit:cover;box-shadow:0 2px 6px rgba(18,27,43,.1)}
.basket-meal span{display:grid;gap:2px;min-width:0}.basket-meal small{font-size:11px;color:var(--muted)}.basket-meal b{font-size:13.5px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.basket-meal button{flex:none;font-size:11.5px;font-weight:700;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9px;padding:5px 10px;min-height:32px}
.more-meals summary{font-size:12px;font-weight:650;color:#64748b;min-height:40px;align-content:center}
.scope-box{font-size:12.5px;border:1px solid #e6ecf3;border-radius:14px;padding:12px 14px;margin-bottom:14px;background:#ffffff}
.scope-box details>summary{font-size:12px;font-weight:700;color:#1b2d4f}
.retailer-shopping{margin-top:20px}
.retailer-shopping .plan-tools{margin-bottom:12px}
.retailer-shopping .plan-tools .text-button{padding:6px 11px;border:1px solid #dbe4ef;border-radius:10px;background:#ffffff;color:#1b2d4f;font-weight:700;min-height:36px;box-shadow:none}

/* Retailer Bar */
.retailer-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0}
.retailer-tabs.single-retailer{display:block;padding:10px 14px;background:#ffffff;border:1px solid #dbe4ef;box-shadow:none}
.single-retailer-pill{display:flex;align-items:center;gap:8px;color:#1b2d4f;font-size:13.5px}
.single-retailer-pill b{font-weight:800;font-size:14px}
.single-retailer-pill .info-label{margin-left:auto;background:#eef3f9;color:#1b2d4f}
.retailer-tabs button[aria-pressed=true]{background:#fff;border:1.5px solid #1b2d4f;color:#1b2d4f;box-shadow:0 3px 10px rgba(18,27,43,.08);font-weight:800}
.retailer-mark{width:22px;height:22px;font-size:11px;flex:none}
.affiliate-notice{border-radius:14px;padding:12px 14px;margin:12px 0;color:#475569;font-size:11.5px;line-height:1.6;background:#ffffff;border:1px solid #e6ecf3;box-shadow:none}
.affiliate-notice b{font-size:11.5px;font-weight:750;color:#121b2b}
.affiliate-notice small{font-size:11px;color:#64748b;line-height:1.55}
.catalog-offline-note{margin:12px 0;padding:11px 14px;border-radius:12px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:12px;line-height:1.6}
.retailer-help{font-size:12px;line-height:1.6;color:#64748b;margin:12px 0 18px}

/* Compact Shopping Checklist Cards (Cut Vertical Bloat Dramatically) */
.ingredient-group{margin:20px 0}
.ingredient-group h3{font-size:14px;font-weight:800;color:#121b2b;margin-bottom:10px;display:flex;align-items:center;gap:7px}
.ingredient-group h3>span,.info-label{background:#eaeff5;color:#475569;border:0;font-size:11px;font-weight:700;border-radius:6px;padding:2px 7px;cursor:default}

.retailer-product{
 border:1px solid #e6ecf3;border-radius:16px;padding:13px 14px;margin:10px 0;
 background:#ffffff;box-shadow:0 2px 10px -4px rgba(18,27,43,.06);
}
.ingredient-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid #eef2f6}
.retailer-product .ingredient-title>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.ingredient-title strong{font-size:15px;font-weight:800;color:#121b2b}
.ingredient-title small{font-size:10.5px;font-weight:700;color:#475569;background:#f1f5f9;border:0;padding:2px 7px;border-radius:6px;cursor:default}

.buy-check{
 flex:none;display:inline-flex;align-items:center;gap:5px;min-height:30px;
 padding:3px 9px;border-radius:999px;cursor:pointer;
 background:#f8fafc;border:1px solid #dbe4ef;font-size:11px;font-weight:750;color:#475569;
}
.buy-check input{width:14px;height:14px;margin:0;accent-color:#0f9d7a}
.retailer-product.done{opacity:.58;background:#f8fafc}
.retailer-product.done .buy-check{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.retailer-product.done .product-title{text-decoration:line-through;color:#94a3b8}

.retailer-product-body{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;margin-top:10px}
.product-thumb{
 width:64px;height:64px;border-radius:12px;overflow:hidden;
 background:#ffffff;border:1px solid #e6ecf3;display:grid;place-items:center;
 box-shadow:none;text-decoration:none;
}
.product-thumb img{width:100%;height:100%;object-fit:contain;padding:3px;display:block;background:#fff}
.product-thumb-fallback{font-size:24px;line-height:1}
.pick-thumb .product-thumb-fallback{font-size:18px}
.product-meta{min-width:0}
.product-caption{display:block;font-size:10.5px;letter-spacing:.01em;font-weight:700;color:#64748b;margin-bottom:2px}
.partner-linked-badge{display:inline-block;font-style:normal;padding:1px 6px;border-radius:5px;background:#ecfdf5;color:#047857;font-size:10.5px;font-weight:750}
.product-title{
 font-weight:650;font-size:13px;line-height:1.4;color:#1e293b;margin:0 0 5px;
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.product-price-row{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.product-price{font-size:18px;letter-spacing:-.03em;color:#121b2b;font-weight:850;font-variant-numeric:tabular-nums}
.product-price.ref-priced{font-size:15.5px;font-weight:800;color:#1b2d4f;letter-spacing:-.02em}
.product-price.unpriced{font-size:12.5px;font-weight:650;color:#64748b;letter-spacing:-.01em}
.product-unit-each{font-size:11px;font-weight:600;color:#64748b}
.product-spec-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px}
.product-unit-pill{display:inline-block;padding:2px 7px;border-radius:6px;background:#f1f5f9;color:#475569;font-size:10.5px;font-weight:700}
.product-leftover{font-size:10.5px;color:#64748b;margin:0}
.retailer-product .price-source{font-size:11px;line-height:1.45;color:#64748b;margin:8px 0 9px}

/* Dignified Deep Navy Coupang Link Button (Eliminates Loud Royal-Blue Clutter) */
.retailer-product .retailer-buy{
 background:#1b2d4f;border:1px solid transparent;color:#ffffff;
 border-radius:11px;min-height:40px;padding:8px 14px;font-size:13px;font-weight:750;
 box-shadow:0 3px 10px rgba(27,45,79,.16);
}
.retailer-product .retailer-buy:visited{color:#ffffff}
.retailer-buy span{margin-left:auto;font-size:15px}
.affiliate-micro{display:block;margin:5px 0 0;font-size:10.5px;color:#94a3b8;text-align:center}

/* Affiliate Sold-out & Fallback Recovery UI */
.fallback-return-banner{margin-top:10px;padding:12px 13px;border-radius:12px;background:#f0fdf4;border:1px solid #bbf7d0;display:grid;gap:8px}
.fallback-return-banner p{margin:0 0 8px;font-size:12.5px;font-weight:750;color:#14532d}
.stepper-next-btn{width:100%;min-height:42px;padding:9px 13px;border-radius:11px;border:0;background:#0f9d7a;color:#fff;font-size:13.5px;font-weight:800;cursor:pointer;box-shadow:0 4px 12px rgba(15,157,122,.22)}
.stepper-next-btn:hover{filter:brightness(1.04)}
.fallback-return-sub{display:grid;gap:6px;padding-top:8px;border-top:1px dashed #cbd5e1}
.fallback-return-sub>span{font-size:11px;color:#475569;font-weight:600}
.fallback-return-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fallback-details{margin-top:9px;border:1px solid #e6ecf3;border-radius:11px;background:#f8fafc;overflow:hidden}
.fallback-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:6px 12px;font-size:11.5px;font-weight:650;color:#64748b;list-style:none}
.fallback-details>summary::-webkit-details-marker{display:none}
.fallback-details>summary:after{content:'▾';font-size:12px;color:#94a3b8}
.fallback-details[open]>summary{border-bottom:1px solid #e6ecf3;background:#f1f5f9}
.fallback-details[open]>summary:after{content:'▴'}
.fallback-panel{padding:12px;display:grid;gap:9px}
.fallback-panel p{margin:0;font-size:11.5px;line-height:1.55;color:#64748b}
.fallback-box{margin-top:6px;padding:14px;border-radius:14px;background:#fef2f2;border:1px dashed #fca5a5}
.fallback-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.soldout-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:#dc2626;color:#fff;font-size:10.5px;font-weight:750}
.text-link-btn{background:transparent;border:0;padding:4px 0;min-height:30px;color:#1b2d4f;font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.fallback-title{margin:0 0 5px;font-size:14px;font-weight:750;color:#991b1b}
.fallback-desc{margin:0 0 12px;font-size:12px;line-height:1.55;color:#64748b}
.fallback-search-btn{
 display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;
 padding:9px 13px;border-radius:11px;background:#ffffff;border:1px solid #cbd5e1;
 color:#1b2d4f;font-size:12.5px;font-weight:750;text-decoration:none;
}
.fallback-search-btn:visited{color:#1b2d4f}
.fallback-search-btn.primary{background:#1b2d4f;border-color:transparent;color:#ffffff;box-shadow:0 4px 12px rgba(27,45,79,.2)}
.fallback-search-btn.primary:visited{color:#ffffff}
.soldout-mark-btn{
 min-height:38px;padding:7px 11px;border-radius:10px;
 background:rgba(220,38,38,.08);border:1px solid rgba(220,38,38,.22);
 color:#b91c1c;font-size:11.5px;font-weight:700;
}
.soldout-mark-btn.full{width:100%}
.fallback-alt-links{margin-top:6px;padding-top:10px;border-top:1px solid #e2e8f0}
.fallback-alt-links>span{display:block;font-size:11px;font-weight:650;color:#64748b;margin-bottom:6px}
.fallback-alt-links>div{display:flex;flex-wrap:wrap;gap:7px}
.fallback-alt-link{
 display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 10px;
 border-radius:9px;background:#ffffff;border:1px solid #dbe4ef;
 color:#334155;font-size:11.5px;font-weight:650;text-decoration:none;
}
.fallback-alt-link:visited{color:#334155}
.fallback-alt-link .retailer-mark{width:18px;height:18px;font-size:10px}

.retailer-checkout{
 background:#ffffff;border:1px solid #dbe4ef;border-radius:20px;padding:20px 18px;margin:24px 0;
 box-shadow:0 6px 20px -8px rgba(18,27,43,.09);
}
.retailer-checkout .cart-link{background:linear-gradient(155deg,#1e3256,#13223d);color:#fff;min-height:48px;margin:14px 0;border-radius:13px}
.retailer-checkout strong{font-size:26px;color:#121b2b;font-variant-numeric:tabular-nums}
.retailer-checkout #copy{background:#f8fafc;border:1px solid #dbe4ef;color:#334155;min-height:44px;margin-top:8px}

/* Empty State */
.empty-state,.empty-cart{
 padding:34px 22px;background:#ffffff;
 border:1px solid #e6ecf3;border-radius:22px;text-align:center;
 box-shadow:0 6px 20px -8px rgba(18,27,43,.08);
}
.empty-visual{width:76px;height:76px;margin:0 auto 14px}
.empty-visual svg{width:100%;height:100%;display:block}
.empty-eyebrow{display:inline-block;padding:4px 10px;margin-bottom:8px;border-radius:999px;background:#eef3f9;color:#1b2d4f;font-size:11px;font-weight:750}
.empty-state h2,.empty-cart h2{font-size:19px;font-weight:850;letter-spacing:-.03em;margin:4px 0 0;color:#121b2b}
.empty-state p,.empty-cart p{font-size:13.5px;color:#64748b;line-height:1.7;margin:10px auto 22px;max-width:300px}
.empty-actions{display:grid;gap:9px;max-width:260px;margin:0 auto}
.empty-actions button{width:100%;min-height:46px;border-radius:13px;font-size:13.5px;font-weight:750}
.empty-actions .secondary{background:#f8fafc;border:1px solid #dbe4ef;color:#334155}

/* Progress Bar & Quick Shopping Launcher in Basket */
.basket-progress{padding:14px 16px;margin:0 0 14px;border-radius:18px;background:#ffffff;border:1px solid #dbe4ef;box-shadow:0 4px 16px -8px rgba(18,27,43,.08)}
.basket-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:12.5px}
.basket-progress-head>div{display:grid;gap:3px;min-width:0}
.basket-progress-head b{font-weight:800;font-size:14.5px;color:#121b2b;line-height:1.3}
.basket-progress-head>span{font-weight:800;color:#0f9d7a;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.basket-progress-track{height:7px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.basket-progress-fill{height:100%;border-radius:inherit;background:#0f9d7a;transition:width .25s ease}

.quick-shop-card{display:grid;gap:11px}
.quick-shop-card.done-all{border-color:#a7f3d0;background:linear-gradient(180deg,#f0fdf4 0%,#ffffff 100%)}
.quick-shop-eyebrow{
 display:inline-flex;align-items:center;width:fit-content;padding:2px 8px;border-radius:999px;
 background:#eef3f9;color:#1b2d4f;font-size:10.5px;font-weight:800;letter-spacing:-.01em;
}
.quick-shop-eyebrow.done{background:#d1fae5;color:#047857}
.quick-undo-strip{
 display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
 padding:8px 11px;border-radius:11px;background:#ecfdf5;border:1px solid #a7f3d0;
 font-size:12px;color:#065f46;
}
.quick-undo-strip b{font-weight:800;color:#047857}
.quick-undo-actions{display:flex;align-items:center;gap:6px}
.quick-undo-actions button{
 min-height:28px;padding:3px 9px;border-radius:8px;
 background:#ffffff;border:1px solid #a7f3d0;color:#047857;font-size:11px;font-weight:750;
}
.quick-shop-item{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:11px 12px;border-radius:13px;background:#f8fafc;border:1px solid #e6ecf3;
}
.quick-shop-item-copy{display:grid;gap:2px;min-width:0}
.quick-shop-item-copy small{font-size:10.5px;font-weight:750;color:#64748b}
.quick-shop-item-copy strong{font-size:15px;font-weight:850;color:#121b2b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-shop-item-copy span{font-size:11.5px;color:#475569;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-shop-item-btns{display:flex;align-items:center;gap:5px;flex:none}
.quick-mini-btn{
 min-height:30px;padding:4px 9px;border-radius:8px;
 background:#ffffff;border:1px solid #dbe4ef;color:#475569;font-size:11px;font-weight:700;white-space:nowrap;
}
.quick-shop-cta{
 display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:46px;padding:10px 16px;
 border-radius:13px;background:linear-gradient(155deg,#1e3256 0%,#13223d 100%);
 color:#ffffff;font-size:14px;font-weight:800;text-decoration:none;text-align:center;
 box-shadow:0 8px 18px -6px rgba(19,34,61,.34);
}
.quick-shop-cta:visited{color:#ffffff}
.quick-shop-cta.done{background:linear-gradient(155deg,#0f9d7a 0%,#047857 100%);box-shadow:0 8px 18px -6px rgba(15,157,122,.34)}
.quick-shop-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.quick-auto-toggle{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:650;color:#475569;cursor:pointer}
.quick-auto-toggle input{width:15px;height:15px;margin:0;accent-color:#0f9d7a}
.quick-shop-micro{font-size:10.5px;color:#94a3b8;font-weight:600}

/* Sticky Floating Thumb-Zone Dock (Always Reachable While Scrolling Basket) */
body[data-screen=basket] main{padding-bottom:calc(172px + env(safe-area-inset-bottom))}
.quick-shop-dock{
 position:fixed;left:50%;transform:translateX(-50%);
 bottom:calc(68px + env(safe-area-inset-bottom));
 width:min(calc(100vw - 24px),460px);z-index:12;
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:10px 12px 10px 14px;border-radius:16px;
 background:linear-gradient(155deg,#1e3256 0%,#13223d 100%);color:#ffffff;
 border:1px solid rgba(255,255,255,.12);
 box-shadow:0 12px 30px -8px rgba(15,23,42,.42);
}
.quick-shop-dock.done{background:linear-gradient(155deg,#0f9d7a 0%,#047857 100%)}
.quick-dock-meta{display:grid;gap:1px;min-width:0;flex:1}
.quick-dock-meta small{font-size:10.5px;font-weight:650;color:rgba(255,255,255,.74);font-variant-numeric:tabular-nums}
.quick-dock-meta strong{font-size:13.5px;font-weight:800;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-dock-actions{display:flex;align-items:center;gap:6px;flex:none}
.quick-dock-skip{
 min-height:36px;padding:0 10px;border-radius:10px;
 background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);
 color:#ffffff;font-size:11.5px;font-weight:700;white-space:nowrap;
}
.quick-dock-cta{
 display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border-radius:10px;
 background:#34d399;color:#0f241d;font-size:12.5px;font-weight:850;text-decoration:none;white-space:nowrap;
}
.quick-dock-cta:visited{color:#0f241d}
.quick-dock-cta.done{background:#ffffff;color:#047857}
.quick-dock-cta.done:visited{color:#047857}
body[data-screen=basket] .floating-toast{bottom:calc(150px + env(safe-area-inset-bottom))}

/* Account Sync Banner & Auth Modal */
.account-sync-bar{
 display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
 margin:0 0 14px;padding:12px 14px;border-radius:16px;
 background:#ffffff;border:1px solid #dbe4ef;box-shadow:0 2px 10px -4px rgba(18,27,43,.06);
}
.account-sync-bar.signed-in{background:#f0fdf4;border-color:#bbf7d0}
.account-sync-copy{min-width:0;flex:1 1 190px}
.account-sync-copy strong{display:block;font-size:13px;font-weight:800;color:#121b2b;line-height:1.35}
.account-sync-bar.signed-in .account-sync-copy strong{color:#065f46}
.account-sync-copy small{display:block;margin-top:2px;font-size:11.5px;line-height:1.45;color:#64748b}
.account-sync-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.account-sync-btn{
 min-height:34px;padding:6px 12px;border-radius:10px;font-size:12px;font-weight:750;
 background:#1b2d4f;color:#fff;border:0;box-shadow:none;white-space:nowrap;
}
.account-sync-btn.subtle{background:#f8fafc;color:#334155;border:1px solid #dbe4ef}
.account-card-meta{display:grid;gap:4px;margin:10px 0 14px;padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e6ecf3}
.account-card-meta b{font-size:15px;color:#121b2b}
.account-card-meta span{font-size:12.5px;color:#64748b}
.account-card-meta small{font-size:11.5px;color:#0f9d7a;font-weight:700}
.account-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.account-card-actions button{flex:1 1 120px;min-height:42px;border-radius:12px;font-size:13px;font-weight:750}

.auth-modal-backdrop{
 position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px;
 background:rgba(15,23,42,.52);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.auth-modal-backdrop[hidden]{display:none}
.auth-modal{
 width:100%;max-width:400px;max-height:90vh;overflow-y:auto;
 padding:22px 20px 20px;border-radius:24px;
 background:#ffffff;border:1px solid #e6ecf3;
 box-shadow:0 24px 56px rgba(15,23,42,.28);
}
.auth-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}
.auth-modal-head h2{margin:0;font-size:19px;font-weight:850;letter-spacing:-.03em;color:#121b2b}
.auth-modal-head p{margin:4px 0 0;font-size:12.5px;line-height:1.55;color:#64748b}
.auth-close-btn{
 flex:none;width:34px;height:34px;min-height:0;padding:0;border-radius:10px;border:1px solid #e2e8f0;
 background:#f8fafc;color:#475569;font-size:18px;line-height:1;display:grid;place-items:center;
}
.auth-tabs{grid-template-columns:1fr 1fr;margin-bottom:14px}
.auth-tabs button{min-height:38px;font-size:13px}
.auth-form{display:grid;gap:12px}
.auth-form label{display:grid;gap:5px;font-size:12.5px;font-weight:700;color:#334155}
.auth-form input[type="email"],.auth-form input[type="password"],.auth-form input[type="text"]{
 width:100%;min-height:44px;padding:10px 13px;border-radius:12px;
 border:1px solid #cbd5e1;background:#ffffff;font-size:14px;color:#121b2b;
}
.auth-check{
 display:flex!important;align-items:flex-start;gap:8px;
 padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;
 font-size:12px!important;font-weight:600!important;line-height:1.5;color:#334155!important;
}
.auth-check input{margin-top:2px;width:16px;height:16px;accent-color:#1b2d4f;flex:none}
.auth-check a{color:#1b2d4f;text-decoration:underline;font-weight:750}
.auth-error{margin:0;padding:10px 12px;border-radius:11px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:12.5px;font-weight:650;line-height:1.5}
.auth-submit-btn{
 width:100%;min-height:48px;border-radius:14px;border:0;
 background:linear-gradient(155deg,#1e3256,#13223d);color:#fff;
 font-size:14.5px;font-weight:800;box-shadow:0 8px 18px rgba(19,34,61,.24);
}
.auth-note{margin:12px 0 0;font-size:11.5px;line-height:1.6;color:#64748b}

/* Choose Screen Actions */
.ingredient-actions{display:grid;gap:12px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.ingredient-actions #pickTotal{margin:0;line-height:1.6}
.ingredient-actions button{width:100%;min-height:50px}
body[data-screen=choose] main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}

/* Meal Shorts Video Reference Cards */
.daily-meal>.meal-shorts-ref{
 grid-column:1/-1;display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:10px;
 margin:0 0 6px;padding:7px 10px 7px 8px;border-radius:12px;
 background:#f8fafc;border:1px solid #e6ecf3;text-decoration:none;color:inherit;box-shadow:none;
}
.daily-meal>.meal-shorts-ref.matched{background:#f8fafc;border-color:#dbe4ef}
.daily-meal>.meal-shorts-ref.compact{
 grid-template-columns:20px minmax(0,1fr) auto;gap:7px;
 padding:5px 9px;border-radius:9px;min-height:32px;
 background:#f8fafc;border-color:#e6ecf3;box-shadow:none;
}
.meal-shorts-dot{
 width:18px;height:18px;border-radius:50%;display:grid;place-items:center;
 background:#1b2d4f;color:#fff;font-size:8px;padding-left:1.5px;flex:none;
}
.meal-shorts-line{font-size:11.5px;color:#475569;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meal-shorts-line b{font-weight:750;color:#121b2b}
.daily-meal>.meal-shorts-ref:visited{color:inherit}
.meal-shorts-thumb{position:relative;display:block;width:68px;height:44px;border-radius:10px;overflow:hidden;background:#1e293b;flex:none}
.meal-shorts-thumb.large{width:96px;height:66px;border-radius:12px}
.meal-shorts-thumb img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.9)}
.meal-shorts-play{
 position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
 width:24px;height:24px;border-radius:50%;display:grid;place-items:center;
 background:rgba(18,27,43,.86);color:#fff;font-size:10px;padding-left:2px;
}
.meal-shorts-thumb.large .meal-shorts-play{width:30px;height:30px;font-size:12px}
.meal-shorts-meta{display:grid;gap:2px;min-width:0}
.meal-shorts-tag{display:inline-block;width:fit-content;font-size:10.5px;font-weight:750;color:#1b2d4f}
.meal-shorts-tag.live{color:#dc2626}
.meal-shorts-meta b{font-size:12.5px;font-weight:750;color:#121b2b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meal-shorts-meta small{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meal-shorts-cta{flex:none;padding:5px 9px;border-radius:8px;background:#fff;border:1px solid #dbe4ef;color:#1b2d4f;font-size:11px;font-weight:750;white-space:nowrap}
.recipe-ref-row{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.recipe-ref-copy{min-width:0;flex:1}
.recipe-ref-copy h3{margin:4px 0 3px;font-size:14.5px;line-height:1.4}
.recipe-ref-copy p{margin:0 0 6px;font-size:12px;color:#64748b}

/* Fridge Combo & Rare Details */
.fridge-rare-details{padding:14px 16px}
.fridge-rare-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;font-size:13.5px;font-weight:750;color:#334155;list-style:none;cursor:pointer}
.fridge-rare-details>summary::-webkit-details-marker{display:none}
.fridge-rare-note{margin:6px 0 10px;font-size:12px;line-height:1.5;color:#64748b}
.fridge-match-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
.fridge-match-open{display:flex;flex-direction:column;flex:1;width:100%;padding:0;border:0;background:transparent;text-align:left;color:var(--ink)}
.fridge-hit-list{display:block;font-style:normal;margin-top:4px;font-size:11px;font-weight:750;color:#0f9d7a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fridge-quick-add{
 margin:0 10px 10px;min-height:34px;padding:5px 10px;border-radius:10px;
 background:#eef3f9;border:1px solid #dbe4ef;color:#1b2d4f;font-size:12px;font-weight:750;
}
.fridge-quick-add.cook-now{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.swap-more-btn{width:100%;min-height:40px;margin-top:8px;padding:8px 12px;border-radius:11px;background:#f8fafc;border:1px dashed #cbd5e1;color:#1b2d4f;font-size:12.5px;font-weight:750}

.shorts-ingredients .more-chip{background:#f1f5f9;color:#475569}
.method-source-bar{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:11px 13px;margin:0 0 12px;border-radius:14px;
 background:#f8fafc;border:1px solid #e2e8f0;
}
.method-source-bar>div{min-width:0;display:grid;gap:2px}
.method-source-bar b{font-size:13px;font-weight:780;color:#121b2b;line-height:1.35}
.method-source-bar small{font-size:11.5px;color:#64748b;line-height:1.35}
.method-video-btn{
 flex:none;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;
 padding:7px 12px;border-radius:999px;background:#1b2d4f;color:#fff;
 font-size:12px;font-weight:750;text-decoration:none;
}
.method-video-btn:hover{background:#13223d}
.method-alt{margin-top:14px;padding:10px 14px}
.method-alt>summary{font-size:13px;font-weight:700;color:#475569;cursor:pointer}
.method-alt .cooking-steps{margin-top:10px}
.footer-policy-links{margin-top:8px;font-size:12px}
.footer-policy-links a{color:#64748b;text-decoration:underline}

/* Onboarding Card */
#firstHousehold.first-onboarding:not([hidden]){
 display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;
 padding:16px;margin:0 0 14px;border-radius:20px;gap:12px;
 background:#ffffff;border:1px solid #dbe4ef;box-shadow:0 6px 20px -8px rgba(18,27,43,.09);
}
#firstHousehold.first-onboarding[hidden]{display:none}
.onboard-head{display:grid;gap:4px}
.onboard-head b{font-size:15px;font-weight:800;color:#121b2b}
.onboard-row{display:grid;gap:6px;min-width:0}
.onboard-label{font-size:12px;font-weight:750;color:#64748b}
.onboard-chips{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.onboard-chip{min-height:36px;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:700;white-space:nowrap;background:#f1f5f9;border:1px solid transparent;color:#334155}
.onboard-chip[aria-pressed=true]{background:#1b2d4f;border-color:#1b2d4f;color:#fff}
#firstHousehold.first-onboarding select{min-height:36px;padding:5px 10px;border-radius:999px;font-size:12px;width:auto;min-width:70px;white-space:nowrap;border:1px solid #cbd5e1}
.onboard-done-btn{width:100%;min-height:44px;border-radius:12px;font-size:13.5px;font-weight:800;margin-top:2px;background:#1b2d4f;color:#fff}

.fridge-combo-card{padding:15px 16px;margin:0 0 16px;border-radius:18px;display:grid;gap:10px;background:#ffffff;border:1px solid #dbe4ef}
.fridge-combo-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.fridge-combo-rate{font-size:11.5px;font-weight:800;color:#047857;background:#ecfdf5;padding:3px 9px;border-radius:999px}
.fridge-combo-card h3{margin:0;font-size:15px;font-weight:800;color:#121b2b}
.fridge-combo-list{display:grid;gap:7px}
.fridge-combo-dish{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:12px;background:#f8fafc;border:1px solid #e6ecf3;text-align:left;color:#121b2b}
.fridge-combo-dish .dish-photo{width:42px;height:42px;border-radius:10px;object-fit:cover;flex:none}
.fridge-combo-dish span{display:grid;gap:2px;min-width:0}
.fridge-combo-dish b{font-size:13.5px;font-weight:750}
.fridge-combo-dish small{font-size:11px;color:#0f9d7a;font-weight:700}
.fridge-combo-meta{margin:0;font-size:12px;line-height:1.5;color:#475569}
.fridge-combo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fridge-combo-actions button{min-height:40px;font-size:12px;font-weight:750;padding:7px 10px;border-radius:11px}
.fridge-filter-row{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.fridge-filter-pill{min-height:32px;padding:4px 11px;border-radius:999px;font-size:11.5px;font-weight:700;background:#ffffff;border:1px solid #dbe4ef;color:#475569}
.fridge-filter-pill[aria-pressed=true]{background:#1b2d4f;border-color:#1b2d4f;color:#fff}

.recipe-taste-bar{display:flex;gap:8px;margin:8px 0 12px}
.taste-btn{flex:1;min-height:38px;padding:6px 10px;border-radius:11px;font-size:12.5px;font-weight:750;background:#f8fafc;border:1px solid #e2e8f0;color:#475569}
.taste-btn.like[aria-pressed=true]{background:#eef3f9;border-color:#1b2d4f;color:#1b2d4f}
.taste-btn.dislike[aria-pressed=true]{background:#f1f5f9;border-color:#94a3b8;color:#334155}
.taste-manage-group{display:grid;gap:6px;margin-top:10px}
.taste-manage-group small{font-size:12px;font-weight:750;color:#64748b}
.taste-manage-chips{display:flex;flex-wrap:wrap;gap:7px}
.taste-chip{min-height:32px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#f8fafc;border:1px solid #dbe4ef;color:#334155}
.taste-chip.like{background:#eef3f9;border-color:#bfdbfe;color:#1b2d4f}

.shared-plan-banner,.shared-plan-banner.glass-card{padding:15px 16px;margin:0 0 14px;border-radius:18px;display:grid;gap:9px;border:1px solid #bfdbfe;background:#eff6ff}
.shared-plan-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.shared-plan-head small{font-size:12px;font-weight:750;color:#1b2d4f}
.shared-plan-dishes{margin:0;display:flex;flex-wrap:wrap;gap:6px}
.shared-plan-dishes span{padding:4px 10px;border-radius:999px;background:#fff;border:1px solid #dbe4ef;font-size:12px;font-weight:700;color:#121b2b}
.shared-plan-actions{display:grid;grid-template-columns:1fr auto;gap:8px}
.shared-plan-actions button{min-height:40px;font-size:12.5px;font-weight:750}
.plan-share-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 0}
.plan-share-row .share-action-btn{margin:0;width:100%}
.share-card-img{width:100%;height:auto;border-radius:14px;border:1px solid #dbe4ef;display:block;margin:8px 0}
.share-download-link{display:inline-block;margin-top:4px;font-size:12.5px;font-weight:750;color:#1b2d4f;text-decoration:underline}

/* Clean Natural Food Photography Grading (Zero Heavy Warm Glaze) */
.meal-image{position:relative;overflow:hidden;border-radius:14px;box-shadow:0 3px 10px rgba(18,27,43,.1)}
.meal-image .dish-photo,.hero-media .dish-photo,.theme-photo .dish-photo,.masonry-photo .dish-photo,.recipe>.dish-photo{
 filter:saturate(1.06) contrast(1.03);
 will-change:transform;
}
.meal-image::after{
 content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;
 box-shadow:inset 0 0 0 1px rgba(18,27,43,.06);
}

/* Consumer Profile & Avatar UI */
.profile-hero-card{padding:18px 18px 14px}
.profile-hero-top{display:flex;align-items:center;gap:14px}
.profile-avatar-lg{
 width:52px;height:52px;border-radius:50%;flex:none;
 display:grid;place-items:center;
 background:#e8eef6;border:2px solid #ffffff;box-shadow:0 3px 10px rgba(18,27,43,.08);
 color:#1b2d4f;font-size:20px;font-weight:850;letter-spacing:-.03em;
}
.profile-hero-info{flex:1;min-width:0}
.profile-hero-info strong{display:block;font-size:16.5px;font-weight:800;letter-spacing:-.03em;color:#121b2b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-hero-info small{display:block;margin-top:3px;font-size:12px;color:#64748b;line-height:1.4}
.profile-edit-pill{flex:none;padding:7px 13px;border-radius:999px;border:1px solid #dbe4ef;background:#ffffff;color:#1b2d4f;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.profile-edit-pill:hover{background:#f8fafc}
.profile-hero-foot{margin-top:14px;padding-top:12px;border-top:1px solid #eef2f6;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:#64748b}
.profile-hero-links{display:flex;align-items:center;gap:12px}
.profile-hero-links .text-link-btn{font-size:12px;font-weight:750;color:#1b2d4f;padding:0;background:none;border:0;cursor:pointer}
.profile-edit-head{align-items:center;margin-bottom:8px}
.profile-avatar-wrap{display:flex;justify-content:center;padding:8px 0 16px}
.profile-avatar-xl{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#e8eef6;color:#1b2d4f;font-size:30px;font-weight:850;letter-spacing:-.04em}
.profile-edit-form .profile-field{display:block;margin:0 0 14px}
.profile-edit-form .profile-field span{display:block;font-size:12px;font-weight:700;color:#64748b;margin-bottom:6px}
.profile-edit-form .profile-field input{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:12px;border:1px solid transparent;background:#f1f5f9;color:#121b2b;font-size:14.5px;font-weight:600}
.profile-edit-form .profile-field input:focus{outline:none;background:#fff;border-color:#1b2d4f}
.profile-edit-form .profile-field input.readonly-field{color:#64748b;font-weight:500}
.handle-input-wrap{display:flex;align-items:center;padding:0 14px;border-radius:12px;border:1px solid transparent;background:#f1f5f9;transition:background .15s,border-color .15s}
.handle-input-wrap:focus-within{background:#fff;border-color:#1b2d4f}
.handle-at{color:#64748b;font-size:14.5px;font-weight:700;margin-right:2px;user-select:none}
.profile-edit-form .handle-input-wrap input{border:0!important;background:transparent!important;padding:12px 0;min-height:42px;box-shadow:none}
.profile-edit-form .handle-input-wrap input:focus{outline:none}
.profile-field-hint{display:block;margin-top:5px;font-size:11.5px;color:#64748b}
.profile-link-box{margin-top:16px;padding-top:14px;border-top:1px solid #eef2f6;display:grid;gap:10px}
.profile-link-copy b{display:block;font-size:13.5px;color:#121b2b}
.profile-link-copy small{display:block;margin-top:2px;font-size:12px;color:#64748b;line-height:1.45}
.account-delete{margin-top:12px;padding-top:10px;border-top:1px solid #eef2f6;font-size:12px;color:#64748b}
.account-delete summary{cursor:pointer;font-weight:650}

@media(min-width:520px){
 .daily-meal .menu-detail,.daily-meal:has(.meal-pin) .menu-detail{grid-template-columns:80px minmax(0,1fr) 12px;gap:14px}
 .menu-detail .meal-image{width:80px;height:80px}.menu-detail b{font-size:17.5px}
 .day-group,.day-group[data-single=true]{padding-inline:18px}
}
@media(max-width:360px){
 main,.mast{padding-inline:12px}
 .day-group,.day-group[data-single=true]{padding-inline:11px}
 .daily-meal{gap:5px}
 .daily-meal .menu-detail,.daily-meal:has(.meal-pin) .menu-detail{grid-template-columns:60px minmax(0,1fr) 8px;gap:10px;min-height:74px;padding:8px 0 6px}
 .menu-detail .meal-image{width:60px;height:60px}.menu-detail b{font-size:15px}
 .daily-meal>.meal-pin,.daily-meal>.slot-swap>summary,.daily-meal>.family-options>summary,.daily-meal>.family-toggle{font-size:11px;padding:4px 3px}
 .retailer-product{padding:12px}
 .retailer-product-body{grid-template-columns:56px minmax(0,1fr);gap:10px}
 .product-thumb{width:56px;height:56px}
 .pick-thumb{width:40px;height:40px}
 .bottom-nav button{font-size:10px}
 .empty-state,.empty-cart{padding:26px 16px}
}
@media(prefers-reduced-motion:no-preference){
 button,a,summary{transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .12s ease}
 button:active{transform:scale(.985)}
 .menu-detail .dish-photo,.theme-photo .dish-photo,.masonry-photo .dish-photo{transition:transform .28s cubic-bezier(.22,1,.36,1)}
 .menu-detail:hover .dish-photo,.theme-card:hover .dish-photo,.masonry-card:hover .dish-photo{transform:scale(1.05)}
}
@supports not selector(details::details-content){
 .daily-meal{display:block}
 .daily-meal>.meal-pin{display:block;width:100%;margin-bottom:6px}
 .daily-meal>.slot-swap,.daily-meal>.family-options{display:block;margin:6px 0;padding:0;background:transparent}
 .daily-meal>.family-toggle{width:100%}
}
@media(hover:hover){
 .menu-detail:hover{background:rgba(241,245,249,.45)}
 .daily-meal>.meal-pin:hover,.daily-meal>details>summary:hover,.daily-meal>.family-toggle:hover{background:#eef2f7;border-color:#cbd5e1}
 .retailer-product .retailer-buy:hover{filter:brightness(1.08)}
 .fallback-search-btn:hover{background:#f8fafc}
 .fallback-search-btn.primary:hover{filter:brightness(1.08)}
}
.history-title{display:block;margin-bottom:3px;line-height:1.45}
.history-summary{display:block;margin-bottom:6px;font-size:12px;color:#64748b;line-height:1.45}
.excluded-preview-note{margin:0 0 8px;padding:8px 10px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;line-height:1.45}
#goBack{position:static;top:auto;display:inline-flex;align-items:center;width:auto;min-height:36px;margin:8px 0 0;padding:4px 2px;background:transparent;border:0;backdrop-filter:none;color:#475569;font-size:13.5px;font-weight:700}
body[data-screen=basket] main{padding-bottom:calc(108px + env(safe-area-inset-bottom))}
body[data-screen=detail] main,body[data-screen=settings] main{padding-bottom:calc(156px + env(safe-area-inset-bottom))}
.basket-meals-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:6px}
.basket-meals-head h2{margin:0}
.basket-meals-head small{font-size:12px;color:#64748b;font-weight:600}
.scope-inline{margin-top:10px;padding-top:10px;border-top:1px solid #eef2f6}
.scope-inline summary{cursor:pointer;font-size:12.5px;font-weight:700;color:#334155}
.scope-inline form{display:grid;gap:8px;margin-top:10px}
.scope-inline label{display:flex;align-items:center;gap:8px;font-size:13px;color:#121b2b}
.pantry-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 6px;padding:8px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;color:#475569}
.affiliate-line{margin:12px 2px 0;padding:8px 0 0;border-top:1px solid #e6ecf3;color:#64748b;font-size:11.5px;line-height:1.45}
.detail-pin-row{margin:12px 0 4px}
.detail-pin-row button{width:100%;min-height:44px;border-radius:12px}
.nested-price-edit{margin-top:14px;padding-top:12px;border-top:1px solid #eef2f6}
.nested-price-edit summary{cursor:pointer;font-size:13px;font-weight:700;color:#334155;margin-bottom:10px}
