/* NUTRI AI · Emerald. All assets are served locally. */
:root{--bg:#f8f6f0;--card:#fffefa;--soft:#efeee5;--soft2:#e8eee6;--lime:#225b45;--lime-2:#39755a;--green:#245c47;--green-dark:#163e30;--text:#223c30;--muted:#758074;--line:#dedfd3;--shadow:0 10px 28px rgba(39,66,48,.045);--radius:18px}
html,body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}
.topbar{background:rgba(248,246,240,.97);height:78px;border-bottom:1px solid var(--line);padding:12px 24px;box-shadow:none}
.brand-btn{gap:9px}.brand{font-size:21px;font-weight:650;letter-spacing:1.2px}.brand span{font-weight:400}.brand-mark{background:none;border-radius:0;width:30px;height:36px}.brand-mark svg{width:29px;fill:none;stroke:var(--green);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.subtitle{font-size:11px;letter-spacing:.25px}.avatar{box-shadow:none;border:1px solid var(--line);background:#eeeadd;color:var(--green-dark);width:40px;height:40px}
.content{max-width:680px;padding:26px 24px 120px}.bottom-nav{max-width:680px;background:rgba(248,246,240,.98);border-top:1px solid var(--line);box-shadow:none;height:88px;padding-left:14px;padding-right:14px}.bottom-nav .nav-item{color:#8b9388}.bottom-nav .nav-item.active{color:var(--green-dark)}.bottom-nav .nav-item small{font-size:11px;font-weight:500}.bottom-nav .nav-icon{width:23px;height:23px}.bottom-nav .nav-item.active .nav-icon{background:transparent;box-shadow:none}.add-btn{background:var(--green-dark)!important;color:#fffefa!important;border-radius:50%;width:51px;height:51px;box-shadow:0 5px 16px #163e301c;margin-top:-17px}.add-btn svg{stroke:currentColor}
h1,h2,h3{overflow-wrap:anywhere}.page-title h1,.welcome-row h1,.profile-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.7px;font-size:34px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.17em;color:#7a8775}.page-title p,.welcome-row p{font-size:14px;line-height:1.6}
.primary-btn{background:var(--green-dark)!important;color:#fffefa!important;border:1px solid var(--green-dark)!important;box-shadow:none!important;border-radius:13px;font-size:15px;min-height:48px;font-weight:550;letter-spacing:.1px}.secondary-btn{background:transparent!important;color:var(--green-dark)!important;border:1px solid #bec9bb!important;box-shadow:none!important;border-radius:13px;min-height:46px;font-size:14px}.ghost-btn{color:var(--green);font-size:14px;font-weight:500}.primary-btn:disabled,.secondary-btn:disabled,button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #477c5e;outline-offset:3px}input,select,textarea{accent-color:var(--green);border-color:var(--line)}
.hero-card,.target-card,.basket-card,.profile-card,.status-card,.onboarding-card{border:1px solid var(--line);box-shadow:none;background:var(--card)}.meal-card{box-shadow:none!important;background:var(--card)!important;border-color:var(--line)!important}.goal-pill,.family-badge{background:var(--soft2);color:var(--green-dark)}.sheet-card{background:var(--bg);border-radius:24px 24px 0 0}.sheet-title,.meal-detail-head h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}.sheet-close{background:var(--card);color:var(--text)}.sheet-card .emerald-photo{margin:20px -20px 20px;width:calc(100% + 40px)}.sheet-card .emerald-photo img{height:230px}
.emerald-menu-heading{padding:0 0 22px}.emerald-menu-heading .eyebrow{margin-bottom:13px}.emerald-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.emerald-heading-row h1{font-family:Georgia,"Times New Roman",serif;font-size:46px;line-height:1.06;font-weight:400;letter-spacing:-1.3px;margin:0}.emerald-heading-row h1 em{font-weight:400;font-style:italic;color:#526752}.emerald-mode{border:1px solid #c8d0bf;border-radius:40px;font-size:12px;padding:7px 12px;white-space:nowrap;align-self:flex-end;margin-bottom:5px}.emerald-menu-heading p{font-size:13px;color:var(--muted);margin:15px 0 0;letter-spacing:.15px}
.emerald-day-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;background:#eeeee5;border:none;padding:5px;border-radius:13px;margin:0 0 16px}.emerald-day-tabs .day-tab{background:transparent;border:0;border-radius:10px;box-shadow:none;padding:9px 3px;color:#798371;min-width:0}.emerald-day-tabs .day-tab.active{background:var(--green-dark);color:#fffefa;box-shadow:none}.emerald-day-tabs .day-tab b{font-size:12px;font-weight:550}.emerald-day-tabs .day-tab small{font-size:10px;color:inherit;opacity:.72;margin-top:3px}
.emerald-day-summary{display:flex;align-items:end;justify-content:space-between;padding:1px 0 18px;gap:8px}.emerald-day-summary>div>span{display:block;color:var(--muted);font-size:11px;text-transform:capitalize}.emerald-day-summary b{font-size:22px;font-weight:500}.emerald-day-summary b small{font-size:12px;font-weight:400}.emerald-day-summary p{margin:0 0 4px;font-size:11px;white-space:nowrap;color:#727c6b}.emerald-family{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;border-top:1px solid var(--line);padding:14px 0;margin-bottom:3px}.emerald-family small{display:block;color:var(--muted);font-size:10px}.emerald-family button{background:none;border:0;font-size:11px;padding:9px 0;color:var(--green)}
.emerald-meal{margin:0 0 30px}.emerald-meal-label{display:flex;justify-content:space-between;gap:12px;padding:8px 0 12px;font-size:10px;text-transform:uppercase;letter-spacing:.14em}.emerald-meal-label>span:last-child{letter-spacing:.03em;text-transform:none;color:var(--muted);font-size:11px}.emerald-photo-button{background:none;display:block;width:calc(100% + 48px);margin:0 -24px;border:0;padding:0;text-align:left;overflow:hidden;border-radius:0}.emerald-photo{position:relative;margin:0}.emerald-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:0}.emerald-photo figcaption{position:absolute;bottom:12px;right:16px;background:#f8f6f0da;border-radius:20px;padding:3px 8px;color:#59614f;font-size:9px;letter-spacing:.03em}.emerald-meal-copy{padding:20px 0 0}.emerald-meal-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:29px;line-height:1.15;letter-spacing:-.45px;font-weight:400;margin:0 0 8px}.emerald-ingredients{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.emerald-nutrition{display:flex;align-items:center;gap:18px;margin:15px 0 17px;font-size:11px;color:#667563}.emerald-nutrition strong{font-size:18px;font-weight:500;color:var(--text);margin-right:auto}.emerald-nutrition small{font-size:11px;font-weight:400}.emerald-recipe{display:flex;width:100%;align-items:center;justify-content:space-between;padding:14px 18px}.emerald-recipe span:last-child{font-size:20px;line-height:1}.emerald-meal.without-photo{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-bottom:24px}.emerald-meal.without-photo .emerald-meal-copy{padding-top:4px}.emerald-meal.without-photo h2{font-size:27px}.emerald-shopping{display:flex;justify-content:space-between;padding:16px 18px}.emerald-batch{margin-top:22px;border-bottom:1px solid var(--line);font-size:13px;padding:10px 0 18px}.emerald-batch summary{cursor:pointer;color:var(--green)}.emerald-batch .batch-plan-card{box-shadow:none;border:0;padding:12px 0 0;background:none;margin:0}.emerald-batch+button{margin-top:14px}
.lenta-source-tabs{display:flex;gap:4px;background:#eeeee5;padding:4px;border-radius:12px;margin:0 0 24px}.lenta-source-tabs button{flex:1;background:none;border:0;border-radius:9px;padding:10px 3px;font-size:12px;color:var(--muted)}.lenta-source-tabs button.active{background:var(--green-dark);color:#fffefa}.lenta-setup h2{font-family:Georgia,serif;font-size:27px;font-weight:400}.lenta-setup p{color:var(--muted);font-size:14px}.lenta-setup .field{display:block;margin:18px 0}.lenta-setup .field span{font-size:12px}.lenta-setup input,.lenta-setup select,#lentaQuantity{width:100%;min-width:0;background:var(--card);border:1px solid #d6dacd;border-radius:10px;padding:12px 10px;font-size:15px;margin-top:7px}.lenta-settings-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}.lenta-card-choice{display:flex;align-items:center;gap:8px;font-size:12px;padding-top:20px}.lenta-card-choice input{width:18px;margin:0}.lenta-store{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;width:100%;padding:18px 0;font-size:12px}.lenta-store b{display:block;font-size:14px;font-weight:500}.lenta-store small{color:var(--muted)}.lenta-store>span:last-child{flex-shrink:0;font-size:11px}.lenta-footnote{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin:18px 0}
.lenta-store-current{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:5px 0 18px;margin-bottom:20px;width:100%;font-size:12px}.lenta-store-current b{display:block;font-size:19px;font-weight:600}.lenta-store-current small{display:block;color:var(--muted);font-size:11px}.lenta-store-current>span:last-child{flex-shrink:0}.lenta-total{border-radius:17px;background:var(--green-dark);color:#fffefa;padding:23px}.lenta-total>span{font-size:12px;opacity:.75}.lenta-total>strong{display:block;font-family:Georgia,serif;font-size:40px;font-weight:400;line-height:1.35;margin:5px 0}.lenta-total p{font-size:11px;margin:6px 0 14px;opacity:.85}.lenta-total small{display:block;font-size:10px;line-height:1.6;opacity:.7}.lenta-budget{font-size:11px;color:var(--muted);padding:4px 0 10px}.lenta-warning{color:#987022!important}.lenta-notice{border-radius:12px;background:#e9eee2;padding:13px 15px;margin:12px 0 18px;font-size:12px;color:#48634a;line-height:1.6}.lenta-error{font-size:12px;color:#ac4c3a;line-height:1.6}.lenta-error:empty{display:none}.lenta-error button{margin-left:10px;border:0;text-decoration:underline;background:none;color:inherit}.lenta-ingredient{padding:20px 0;border-bottom:1px solid var(--line)}.lenta-ingredient-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.lenta-ingredient h3{margin:0;font-size:16px;font-weight:500}.lenta-ingredient-head span{font-size:11px;color:var(--muted)}.lenta-pantry{border:1px solid #d4d9c9;border-radius:20px;background:none;padding:7px 10px;font-size:10px;flex-shrink:0}.lenta-ingredient.excluded h3{color:#8e9787}.lenta-muted{color:var(--muted);font-size:11px;margin:0}.lenta-chosen{display:flex;gap:14px;align-items:center}.lenta-chosen>img{width:70px;height:90px;object-fit:contain;mix-blend-mode:multiply}.lenta-chosen>div{flex:1;min-width:0}.lenta-chosen b{display:block;font-size:13px;font-weight:500;line-height:1.5}.lenta-chosen small{display:block;color:var(--muted);font-size:10px;line-height:1.8}.lenta-chosen strong{display:block;font-size:18px;font-weight:500;margin:5px 0 0}.lenta-row-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:16px}.lenta-row-actions button,.lenta-row-actions a{background:none;border:0;color:var(--green);padding:5px 0;font-size:11px;text-decoration:none}.lenta-checkout{margin:25px 0 0}.lenta-checkout>small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:13px}.lenta-open-cart{display:block;text-decoration:none;text-align:center;padding:14px 12px;margin-top:10px}
#lentaPickerContent{padding-top:20px}#lentaPickerContent>p{font-size:13px;color:var(--muted)}.lenta-result{display:flex;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.lenta-result>img{width:85px;height:110px;object-fit:contain;mix-blend-mode:multiply}.lenta-result>div{flex:1;min-width:0}.lenta-result b{font-size:13px;font-weight:500;display:block;line-height:1.5}.lenta-result strong{display:block;font-size:20px;font-weight:500;margin:5px 0}.lenta-result small{display:block;font-size:10px;color:var(--muted);line-height:1.6}.lenta-result button{font-size:12px;min-height:34px;padding:6px 12px;margin-top:10px}#lentaSearchForm{display:flex;gap:8px;margin-bottom:12px}#lentaSearchForm input{min-width:0;flex:1;width:100%;font-size:15px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--card)}#lentaSearchForm button{background:var(--green-dark);border:0;border-radius:10px;color:var(--card);font-size:12px;padding:10px}
@media(min-width:700px){.topbar{padding-left:max(24px,calc((100vw - 632px)/2));padding-right:max(24px,calc((100vw - 632px)/2))}.emerald-photo-button{width:100%;margin:0}.emerald-photo img{max-height:400px}.emerald-heading-row h1{font-size:52px}.emerald-meal-copy h2{font-size:34px}.emerald-day-tabs .day-tab b{font-size:14px}}
@media(max-width:350px){.content{padding-left:18px;padding-right:18px}.emerald-photo-button{width:calc(100% + 36px);margin-left:-18px;margin-right:-18px}.emerald-day-tabs .day-tab b{font-size:11px}.emerald-heading-row h1{font-size:40px}.lenta-settings-row{gap:8px}.lenta-card-choice{font-size:11px}.emerald-nutrition{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* 4.8.1 · Mobile-first editorial design, fixed navigation and compact dashboard. */
:root{--bg:#f4f7f2;--card:#fff;--soft:#edf3ed;--soft2:#e1eee6;--green:#176447;--green-dark:#124a36;--text:#18392c;--muted:#607368;--line:#dce7dc;--shadow:0 6px 24px #143c2710}
html,body{width:100%;margin:0;overflow-x:hidden} .app-shell{width:100%;min-width:0} .topbar{height:64px;padding:8px max(16px,calc((100vw - 632px)/2));background:#f4f7f2f5;gap:12px}.brand-btn{min-width:0}.subtitle{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.avatar{flex-shrink:0}.content{width:100%;max-width:680px;padding:18px 18px calc(105px + env(safe-area-inset-bottom,0px));min-width:0}.content>*{max-width:100%;min-width:0}.bottom-nav{width:min(680px,100%);height:calc(68px + env(safe-area-inset-bottom,0px));grid-template-columns:repeat(5,minmax(0,1fr));padding:4px 5px env(safe-area-inset-bottom,0px);background:#f9fbf8f7}.bottom-nav .nav-item{min-width:0;padding:5px 0}.bottom-nav .nav-icon{width:26px;height:26px}.nav-item small{font-size:11px!important}.add-btn{margin:0 auto;width:47px;height:47px}.welcome-row{gap:8px;align-items:flex-start;margin-bottom:14px}.welcome-row>div{min-width:0;flex:1}.welcome-row h1,.page-title h1,.profile-hero h1{font-family:inherit;font-weight:750;font-size:clamp(23px,6.6vw,34px);line-height:1.16;letter-spacing:-.8px}.welcome-row .eyebrow{font-size:11px;letter-spacing:.1em}.welcome-row .goal-pill{font-size:11px;max-width:104px;flex-shrink:0;padding:8px 10px}.welcome-row p{font-size:13px}.hero-card{padding:16px;border:0;border-radius:20px;background:#fff;box-shadow:var(--shadow)}.hero-top{gap:10px}.hero-top b{font-size:30px}.hero-top b small{font-size:12px}.hero-top p{font-size:12px}.cal-ring{width:69px;height:69px}.macro-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.macro-card{display:block;min-width:0;padding:9px 7px;border-radius:12px}.macro-card>span{font-size:11px}.macro-card>b{font-size:15px;white-space:normal;line-height:1.2}.macro-card>b small{font-size:10px}.macro-card .mini-progress{height:4px;margin-top:7px}.home-menu-heading{margin-top:22px}.home-planned-list{display:grid;gap:12px}.home-planned{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);align-items:center;gap:12px;background:#fff;border-radius:15px;overflow:hidden;min-height:110px}.home-photo-button{display:block;align-self:stretch;border:0;background:none;padding:0;min-width:0}.home-photo-button .emerald-photo{height:100%;min-height:110px}.home-photo-button img{height:100%;min-height:110px;aspect-ratio:auto;object-fit:cover}.home-photo-button figcaption{font-size:8px;bottom:4px;right:4px;left:4px;padding:2px 3px;text-align:center}.home-planned-copy{padding:10px 9px 10px 0;min-width:0}.home-planned-copy>span{font-size:11px;font-weight:650;color:var(--green);text-transform:uppercase;letter-spacing:.05em}.home-planned-copy button{display:block;border:0;padding:3px 0;background:none;text-align:left;font-size:16px;font-weight:650;line-height:1.27;overflow-wrap:anywhere}.home-planned-copy small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.emerald-menu-heading{padding-bottom:15px}.emerald-heading-row h1{font-size:36px;font-family:inherit;font-weight:750;line-height:1.05}.emerald-heading-row h1 em{font-size:27px;font-family:inherit;font-style:normal;color:var(--green);font-weight:550}.emerald-meal{margin:0 0 24px;border:0!important;padding:0!important}.emerald-photo-button{width:100%;margin:0;border-radius:0;overflow:hidden}.emerald-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:0;max-height:320px}.emerald-photo figcaption{font-size:10px;background:#f9fbf8e6;color:#214436;right:8px;bottom:8px}.emerald-meal-copy{padding:13px 0 0}.emerald-meal-copy h2{font-family:inherit;font-size:23px;font-weight:650;letter-spacing:-.45px}.emerald-meal-label{font-size:12px;padding:9px 0}.emerald-ingredients{font-size:13px}.emerald-nutrition{font-size:12px;flex-wrap:wrap;gap:9px}.emerald-day-summary{flex-wrap:wrap}.emerald-day-tabs .day-tab{min-width:0}.emerald-recipe,.primary-btn{background:linear-gradient(120deg,#176447,#124a36)!important;box-shadow:0 4px 12px #164c3020!important}.primary-btn,.secondary-btn{min-height:46px}.sheet-card{width:min(680px,100%);max-height:calc(100dvh - 26px);padding:16px 18px calc(25px + env(safe-area-inset-bottom,0px));overflow-x:hidden}.sheet-card .emerald-photo{width:100%;margin:12px 0}.sheet-card .emerald-photo img{height:auto;aspect-ratio:16/10}.sheet-title,.meal-detail-head h2{font-family:inherit;font-weight:700;line-height:1.2}.lenta-total{padding:18px;background:linear-gradient(145deg,#176447,#124a36)}.lenta-total>strong{font-family:inherit;font-size:34px;font-weight:700}.lenta-auto{margin:10px 0 0}.lenta-store-current>span:first-child{min-width:0;overflow-wrap:anywhere}.lenta-ingredient-head>div{min-width:0}.lenta-ingredient h3{overflow-wrap:anywhere}.lenta-result>div,.lenta-chosen>div{overflow-wrap:anywhere}.lenta-source-tabs button{font-size:13px;min-height:42px}.profile-hero,.profile-card,.basket-card,.status-card,.onboarding-card{min-width:0;box-shadow:var(--shadow)}.page-title p{font-size:14px}.wellness-grid{margin-bottom:10px}.lenta-row-actions button,.lenta-row-actions a{font-size:12px;min-height:38px;display:inline-flex;align-items:center}.lenta-pantry{min-height:37px}.lenta-source-tabs{margin-bottom:15px}.sheet-card .sticky-actions{gap:8px}.sheet-card .sticky-actions>*{min-width:0;white-space:normal}.history-chart{max-width:100%;overflow-x:auto}.family-profile-card>div,.profile-hero>div{min-width:0}.text-btn{white-space:nowrap}.goal-pill{overflow-wrap:anywhere}
@media(max-width:350px){.content{padding-left:12px;padding-right:12px}.macro-card>b{font-size:14px}.welcome-row .goal-pill{max-width:90px}.home-planned-copy button{font-size:14px}.nav-item small{font-size:10px!important}.emerald-heading-row h1{font-size:30px}.lenta-settings-row{grid-template-columns:1fr}.lenta-card-choice{padding-top:0}}
