/* Approved Nutrition board. Scope palette and shell to Nutrition only. */
html[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]){--ff-bg:#111212;--ff-card:#1c1d1d;--ff-soft:#252626;--ff-border:#3c3d3d;--ff-ink:#fafafa;--ff-muted:#b9baba;--ff-accent:#ff841f;--ff-accent-ink:#16110b;--ff-tint:#382719;background:var(--ff-bg);color:var(--ff-ink)}
html[data-theme="light"] body.app-view:is([data-page="nutrition"],[data-page="food"]){--ff-bg:#fbf9f7;--ff-card:#fff;--ff-soft:#f3f0ed;--ff-border:#d7d1ca;--ff-ink:#161616;--ff-muted:#5e5954;--ff-accent:#e96800;--ff-accent-ink:#fff;--ff-tint:#fff0e4}
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) .wordmark{font-weight:800;letter-spacing:0;font-size:19px}
body:is([data-page="nutrition"],[data-page="food"]) .wordmark::before{content:'//';color:var(--ff-accent);font-style:italic;font-size:24px;margin-right:6px}
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) .wordmark{flex-direction:row;align-items:center}
body:is([data-page="nutrition"],[data-page="food"]) .wordmark span,body:is([data-page="nutrition"],[data-page="food"]) .topbar-settings,body:is([data-page="nutrition"],[data-page="food"]) .rewards-header{display:none!important}
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) .rp-header-profile{margin-left:auto}
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) main{padding-bottom:110px!important}
html[data-theme] #screen .nt-screen{width:100%;max-width:none;font-size:15px;line-height:1.45;color:var(--ff-ink)}
html[data-theme] #screen .nt-screen *{box-sizing:border-box;min-width:0}
html[data-theme] #screen .nt-screen h2{font-size:29px;margin:0;line-height:1.2;font-weight:750;letter-spacing:-.6px}
html[data-theme] #screen .nt-screen h3{font-size:20px;margin:0 0 12px;line-height:1.3;letter-spacing:-.3px}
html[data-theme] #screen .nt-screen small{font-size:12px;color:var(--ff-muted);line-height:1.45}
html[data-theme] #screen .nt-screen p{margin:5px 0 12px}
html[data-theme] #screen .nt-screen button{min-height:44px;border:1px solid var(--ff-border);border-radius:9px;padding:9px 13px;background:var(--ff-card);color:var(--ff-ink);font:600 14px/1.3 system-ui;cursor:pointer;max-width:100%;white-space:normal}
html[data-theme] #screen .nt-screen button:disabled{opacity:.65;cursor:default}
html[data-theme] #screen .nt-screen .nt-primary{background:linear-gradient(#ff9b3d,#ff790b);color:#181008;border-color:#ffa457;font-weight:750}
html[data-theme="light"] #screen .nt-screen .nt-primary{color:#17100a}
.nt-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) #screen .nt-heading{padding:0;border:0;min-height:0}
.nt-heading p{font-size:14px;color:var(--ff-muted)}
.nt-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html[data-theme] #screen .nt-heading-actions button{font-size:13px;border-radius:22px}
.nt-summary{display:grid;grid-template-columns:minmax(140px,1fr) 160px minmax(220px,1.6fr);gap:20px;align-items:center;border:1px solid var(--ff-border);border-radius:12px;padding:20px 24px;background:linear-gradient(130deg,var(--ff-soft),var(--ff-card));margin-bottom:16px}
.nt-summary-title h3{margin-bottom:5px!important}.nt-summary-title small{display:block}
.nt-energy{--nt-energy-value:60%;width:132px;height:132px;border-radius:50%;background:conic-gradient(var(--ff-accent) var(--nt-energy-value),var(--ff-border) 0);display:grid;place-items:center;margin:auto}
.nt-energy>div{border-radius:50%;width:111px;height:111px;background:var(--ff-card);display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}
.nt-energy strong{font-size:24px}.nt-energy span{font-size:13px}.nt-no-target{background:var(--ff-border)}
.nt-macros{list-style:none;margin:0;padding:0;display:grid;gap:17px}
.nt-macros li{display:grid;grid-template-columns:75px minmax(45px,1fr) 95px;align-items:center;gap:14px;font-size:14px}
.nt-macros strong{text-align:right;font-size:13px;white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums}
.nt-track{display:block;width:100%;height:10px;border-radius:10px;overflow:hidden}
.nt-track rect{fill:var(--ff-border)}
.nt-track .nt-fill{fill:#ba83ec}
.nt-carbs .nt-track .nt-fill{fill:#459feb}.nt-fat .nt-track .nt-fill{fill:#f5c449}
.nt-summary-note{grid-column:1/-1;color:var(--ff-muted);font-size:12px;margin:0!important}
.nt-search-row{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;gap:12px;align-items:center;margin:12px 0}
.nt-search{display:flex;align-items:center;gap:10px;border:1px solid var(--ff-border);border-radius:9px;background:var(--ff-soft);padding:0 13px}
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) #screen .nt-search{display:flex;grid-template-columns:none}
.nt-search>span{font-size:27px;color:var(--ff-muted)}
html[data-theme] #screen .nt-search input{width:100%;max-width:100%;min-height:46px;padding:10px 0;border:0;border-radius:0;background:transparent;color:var(--ff-ink);font:400 16px/1.4 system-ui;outline-offset:3px}
html[data-theme] #screen .nt-search-row>button{font-weight:500}.nt-search-row>button small{color:var(--ff-accent)!important}
.nt-search-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:15px 0}
.nt-search-results>button{display:flex;align-items:center;gap:10px;text-align:left}
.nt-search-results .nt-photo{width:55px;height:50px;border-radius:6px;flex-shrink:0}
.nt-search-results b,.nt-search-results small{display:block}
.nt-feedback{font-size:13px;color:var(--ff-accent);margin:10px 0;min-height:0;overflow-wrap:anywhere}
.nt-feedback:empty{display:none}
.nt-columns{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(220px,1fr);gap:26px;margin-top:22px}
.nt-repeat-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}
.nt-repeat-heading h3{margin:0!important}
.nt-tabs{display:flex;gap:6px;flex-wrap:wrap}
html[data-theme] #screen .nt-tabs button{border-radius:22px;padding:7px 16px;font-size:13px;min-height:42px}
html[data-theme] #screen .nt-tabs button[aria-pressed="true"]{background:var(--ff-accent);color:var(--ff-accent-ink);border-color:transparent}
.nt-repeat-card{display:grid;grid-template-columns:minmax(170px,.95fr) minmax(240px,1.1fr);border:1px solid var(--ff-border);border-radius:13px;overflow:hidden;background:linear-gradient(120deg,var(--ff-soft),var(--ff-card))}
.nt-photo{display:block;width:100%;height:100%;overflow:hidden;object-fit:cover}
.nt-repeat-card>.nt-photo{min-height:300px}
.nt-meal-copy{padding:19px;display:flex;flex-direction:column;align-items:stretch}
.nt-meal-copy h3{margin:0 0 4px!important;font-size:23px!important}
.nt-eyebrow{font-size:11px;color:var(--ff-accent);font-weight:700;letter-spacing:.5px;margin:14px 0 6px}
.nt-ingredient{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--ff-border);padding:10px 0}
.nt-ingredient b,.nt-ingredient small{display:block}
.nt-ingredient b{font-size:15px}
.nt-stepper{display:flex;gap:7px;align-items:center}
.nt-stepper>span{font-size:12px;text-align:center;max-width:100px;min-width:45px}
html[data-theme] #screen .nt-stepper>button{padding:5px;min-width:36px;min-height:44px;font-size:18px;line-height:1}
.nt-meal-macros{margin:12px 0;font-size:12px}.nt-meal-macros summary{cursor:pointer;min-height:30px;padding:6px 0;color:var(--ff-muted)}
.nt-meal-copy>.nt-record{width:100%;margin-top:14px;font-size:14px!important}.nt-meal-copy>.nt-record+small{margin-top:6px;font-size:11px!important}
.nt-regular-heading{margin:22px 0 10px!important}.nt-regulars{display:grid;grid-template-columns:1fr 1fr;gap:12px}
html[data-theme] #screen .nt-regulars>button{display:flex;text-align:left;gap:13px;padding:0;overflow:hidden;align-items:center}
.nt-regulars .nt-photo{width:105px;min-height:86px;flex-shrink:0}.nt-regulars span{padding:10px 10px 10px 0}.nt-regulars b,.nt-regulars small{display:block}.nt-regulars small{color:var(--ff-accent)!important;margin-top:6px}
.nt-side h3{margin-bottom:10px!important}.nt-side h3:not(:first-child){margin-top:27px!important}
html[data-theme] #screen .nt-side-meal{display:flex;gap:12px;align-items:center;width:100%;padding:10px;background:var(--ff-card);border:1px solid var(--ff-border);border-radius:11px;text-align:left;margin:10px 0}
.nt-side-meal>.nt-photo{width:100px;height:90px;border-radius:7px;flex-shrink:0}
.nt-side-meal b,.nt-side-meal small{display:block}.nt-side-meal b{font-size:15px;margin:5px 0}.nt-side-meal small:first-child{color:var(--ff-accent)!important;font-size:11px!important}
.nt-side-actions{display:flex;gap:8px;flex-wrap:wrap}.nt-side-actions>button{font-size:12px!important;min-height:38px!important;padding:7px 10px!important}
.nt-plan-note,.nt-muted{font-size:13px;color:var(--ff-muted)}.nt-plan-note{border:1px solid var(--ff-border);border-radius:8px;padding:13px;margin-top:17px!important}
.nt-full-plan{margin:28px 0 0;border-top:1px solid var(--ff-border);padding-top:12px}.nt-full-plan>summary{padding:10px 0;font-size:14px;cursor:pointer;min-height:44px}
.nt-day-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.nt-day-actions input{color:var(--ff-ink);background:var(--ff-card);padding:9px;border:1px solid var(--ff-border);border-radius:8px;font-size:16px}
.nt-disclaimer{margin-top:22px!important;font-size:12px;color:var(--ff-muted)}
.nt-empty{border:1px solid var(--ff-border);padding:24px;border-radius:12px}.nt-recent-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.nt-screen [hidden]{display:none!important}
.nt-mobile-add{display:none}
@media(min-width:960px){
html.web-layout[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) main{max-width:1400px;margin:0 auto!important;padding:94px 36px 50px!important;width:100%}
html.web-layout[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) .app-topbar{left:0;transform:none;max-width:none;width:100%;height:68px;padding:10px 32px;background:var(--ff-bg);border-color:var(--ff-border)}
html.web-layout[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) #bottom{position:fixed;left:280px;right:110px;top:0;bottom:auto;transform:none;width:auto;max-width:850px;min-height:68px;padding:0;flex-direction:row;gap:4px;border:0;background:transparent;z-index:85}
html.web-layout[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) #bottom>button{flex-direction:row!important;gap:8px!important;justify-content:center;min-height:68px!important;flex:1;border-radius:0!important;padding:9px 12px!important;font-size:13px!important;box-shadow:none!important}
html.web-layout[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) #bottom>button[aria-pressed="true"]{border-bottom:3px solid var(--ff-accent)!important;background:none!important;color:var(--ff-accent)}
html.web-layout[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) #bottom>button svg{width:18px;height:18px}
html.web-layout[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) #bottom #more-menu{inset:70px 20px auto auto!important}
}
@media(max-width:1150px){.nt-columns{grid-template-columns:minmax(0,1fr)}.nt-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nt-side h3,.nt-side .nt-plan-note,.nt-side .nt-history{grid-column:1/-1}.nt-side h3:not(:first-child){margin-top:12px!important}.nt-repeat-card{grid-template-columns:minmax(0,1fr) minmax(250px,1.2fr)}.nt-summary{grid-template-columns:1fr 130px}.nt-macros{grid-column:1/-1}.nt-energy{width:110px;height:110px}.nt-energy>div{width:92px;height:92px}}
@media(max-width:600px){
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) main{padding-left:16px!important;padding-right:16px!important;padding-bottom:175px!important}
.nt-heading-actions .nt-add-top{display:none!important}
.nt-mobile-add{display:block;position:fixed;z-index:65;left:50%;transform:translateX(-50%);bottom:calc(80px + env(safe-area-inset-bottom));width:100%;max-width:430px;padding:8px 16px;background:var(--ff-bg);border-top:1px solid var(--ff-border)}
.nt-mobile-add>button{width:100%}
.nt-heading{gap:8px;margin-bottom:14px}.nt-heading>div:first-child{flex:1 1 150px}.nt-heading p{font-size:12px}.nt-heading-actions{gap:8px;justify-content:space-between;width:100%}
html[data-theme] #screen .nt-heading-actions button{font-size:12px;min-height:42px;padding:8px 12px}
.nt-summary{padding:16px;gap:12px;grid-template-columns:1fr 100px}.nt-summary-title h3{font-size:17px!important}.nt-energy{width:95px;height:95px}.nt-energy>div{width:79px;height:79px}.nt-energy strong{font-size:20px}.nt-energy span{font-size:10px}.nt-macros{gap:12px}.nt-macros li{grid-template-columns:80px minmax(30px,1fr) 82px;gap:9px;font-size:12px}.nt-macros strong{font-size:12px}.nt-track{height:8px}
.nt-search-row{grid-template-columns:1fr 1fr;gap:9px}.nt-search{grid-column:1/-1}.nt-search-row>button{font-size:12px!important;min-height:42px!important}.nt-search-row>button small{font-size:11px!important}
.nt-columns{gap:22px;margin-top:20px}.nt-repeat-heading{gap:10px}.nt-repeat-heading h3{font-size:20px!important}.nt-tabs{gap:6px;width:100%}.nt-tabs button{flex:1;padding:7px!important;font-size:12px!important;min-height:44px!important}
.nt-repeat-card{grid-template-columns:1fr}.nt-repeat-card>.nt-photo{min-height:0;height:190px}.nt-meal-copy{padding:16px}.nt-meal-copy h3{font-size:22px!important}.nt-ingredient{gap:10px;padding:12px 0}.nt-stepper>span{font-size:12px;max-width:100px}
html[data-theme] #screen .nt-stepper>button{min-width:44px}
.nt-regulars{gap:9px}.nt-regulars>button{flex-direction:column;align-items:stretch!important;gap:0!important}.nt-regulars .nt-photo{width:100%;height:98px;min-height:0}.nt-regulars span{padding:10px}.nt-regulars b{font-size:13px}
.nt-side{display:block}.nt-side-meal>.nt-photo{width:100px}.nt-summary-note{font-size:11px}
}
html[data-text-size="large"] #screen .nt-screen{font-size:18px}html[data-text-size="large"] #screen .nt-screen :is(button,small,span,p){font-size:16px!important;line-height:1.5!important}
html[data-text-size="large"] .nt-macros li{grid-template-columns:1fr auto}.nt-macros li .nt-track{min-width:0}html[data-text-size="large"] .nt-macros .nt-track{grid-row:2;grid-column:1/-1}html[data-text-size="large"] .nt-ingredient{flex-wrap:wrap}html[data-text-size="large"] .nt-summary{grid-template-columns:1fr}html[data-text-size="large"] .nt-macros{grid-column:1}

/* App-browser desktop frame responds to its content width. */
.nt-screen{container: nutrition / inline-size}
@container nutrition (max-width:1150px){.nt-columns{grid-template-columns:minmax(0,1fr)}.nt-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nt-side h3,.nt-side .nt-plan-note,.nt-side .nt-history{grid-column:1/-1}.nt-side h3:not(:first-child){margin-top:12px!important}.nt-repeat-card{grid-template-columns:minmax(0,1fr) minmax(250px,1.2fr)}.nt-summary{grid-template-columns:1fr 130px}.nt-macros{grid-column:1/-1}.nt-energy{width:110px;height:110px}.nt-energy>div{width:92px;height:92px}}
@container nutrition (max-width:600px){
html[data-theme] body:is([data-page="nutrition"],[data-page="food"]) main{padding-left:16px!important;padding-right:16px!important;padding-bottom:175px!important}
.nt-heading-actions .nt-add-top{display:none!important}
.nt-mobile-add{display:block;position:fixed;z-index:65;left:50%;transform:translateX(-50%);bottom:calc(80px + env(safe-area-inset-bottom));width:100%;max-width:430px;padding:8px 16px;background:var(--ff-bg);border-top:1px solid var(--ff-border)}
.nt-mobile-add>button{width:100%}
.nt-heading{gap:8px;margin-bottom:14px}.nt-heading>div:first-child{flex:1 1 150px}.nt-heading p{font-size:12px}.nt-heading-actions{gap:8px;justify-content:space-between;width:100%}
html[data-theme] #screen .nt-heading-actions button{font-size:12px;min-height:42px;padding:8px 12px}
.nt-summary{padding:16px;gap:12px;grid-template-columns:1fr 100px}.nt-summary-title h3{font-size:17px!important}.nt-energy{width:95px;height:95px}.nt-energy>div{width:79px;height:79px}.nt-energy strong{font-size:20px}.nt-energy span{font-size:10px}.nt-macros{gap:12px}.nt-macros li{grid-template-columns:80px minmax(30px,1fr) 82px;gap:9px;font-size:12px}.nt-macros strong{font-size:12px}.nt-track{height:8px}
.nt-search-row{grid-template-columns:1fr 1fr;gap:9px}.nt-search{grid-column:1/-1}.nt-search-row>button{font-size:12px!important;min-height:42px!important}.nt-search-row>button small{font-size:11px!important}
.nt-columns{gap:22px;margin-top:20px}.nt-repeat-heading{gap:10px}.nt-repeat-heading h3{font-size:20px!important}.nt-tabs{gap:6px;width:100%}.nt-tabs button{flex:1;padding:7px!important;font-size:12px!important;min-height:44px!important}
.nt-repeat-card{grid-template-columns:1fr}.nt-repeat-card>.nt-photo{min-height:0;height:190px}.nt-meal-copy{padding:16px}.nt-meal-copy h3{font-size:22px!important}.nt-ingredient{gap:10px;padding:12px 0}.nt-stepper>span{font-size:12px;max-width:100px}
html[data-theme] #screen .nt-stepper>button{min-width:44px}
.nt-regulars{gap:9px}.nt-regulars>button{flex-direction:column;align-items:stretch!important;gap:0!important}.nt-regulars .nt-photo{width:100%;height:98px;min-height:0}.nt-regulars span{padding:10px}.nt-regulars b{font-size:13px}
.nt-side{display:block}.nt-side-meal>.nt-photo{width:100px}.nt-summary-note{font-size:11px}
}
html.device-embed[data-theme] body:is([data-page="nutrition"],[data-page="food"]) main{padding-bottom:175px!important}
@media(min-width:600px) and (min-height:600px){
 html.device-embed body:is([data-page="nutrition"],[data-page="food"]) .nt-mobile-add{bottom:calc(var(--preview-bottom) + 106px);z-index:110}
}

.nt-screen .nt-icon{display:inline-block;width:18px;height:18px;vertical-align:middle;margin-right:5px;flex-shrink:0}

/* Nutrition Premium offer: no purchase or capture until services are ready. */
.nt-premium-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--ff-border);border-radius:24px;padding:20px;background:var(--ff-card);color:var(--ff-ink);box-shadow:0 20px 80px #0007}
.nt-premium-dialog::backdrop{background:#0009}
.nt-premium-top{display:flex;gap:10px;align-items:center}
.nt-premium-top b{font-size:17px}.nt-premium-top b span{color:var(--ff-accent)}
.nt-premium-badge{font-size:12px;color:var(--ff-accent);border:1px solid currentColor;border-radius:20px;padding:2px 8px}
html[data-theme] #screen .nt-premium-top button{margin-left:auto;font-size:25px;padding:3px 9px;background:transparent;border:0}
.nt-premium-hero{height:170px;position:relative;margin:12px -8px;overflow:hidden;border-radius:16px}
.nt-premium-hero>.nt-photo{height:100%;width:100%}
html[data-theme] #screen .nt-premium-dialog h2{font-size:28px;letter-spacing:-.7px}
.nt-premium-dialog>p{font-size:14px}
.nt-premium-benefits{list-style:none;padding:0;margin:16px 0;display:grid;gap:8px}
.nt-premium-benefits li{display:flex;gap:15px;align-items:center;background:var(--ff-soft);padding:12px;border-radius:12px}
.nt-premium-benefits b,.nt-premium-benefits small{display:block}
.nt-premium-example{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--ff-accent);border-radius:12px;background:var(--ff-tint);font-size:13px}
.nt-premium-example .nt-photo{width:48px;height:38px;border-radius:7px;flex-shrink:0}
.nt-premium-availability{color:var(--ff-muted);font-size:12px!important;margin:12px 0!important}
html[data-theme] #screen .nt-premium-dialog .nt-premium-cta,html[data-theme] #screen .nt-premium-dialog .nt-premium-free{display:block;width:100%;min-height:48px}
html[data-theme] #screen .nt-premium-dialog .nt-premium-free{border:0;background:transparent;margin-top:4px}
.nt-premium-footer{display:block;text-align:center;margin-top:6px}
#nt-premium-details{font-size:13px;color:var(--ff-muted)}
html[data-theme] #screen .nt-premium-entry{border-color:var(--ff-accent);color:var(--ff-accent)}
html[data-theme] #screen .nt-screen button:focus-visible{outline:3px solid var(--ff-accent);outline-offset:3px}
@media(max-width:350px){.nt-premium-dialog{padding:14px}.nt-premium-hero{height:130px}html[data-theme] #screen .nt-premium-dialog h2{font-size:25px}}

.nt-premium-hero>svg{display:block;width:100%;height:100%}

/* Match the approved compact mobile composition; preserve actual touch targets. */
.nt-energy-track{display:none}.nt-energy-track rect{fill:var(--ff-border)}.nt-energy-track .nt-energy-fill{fill:var(--ff-accent)}
.nt-side>.nt-premium-entry{margin-top:12px}.nt-meal-heading h3{margin-bottom:4px!important}
@container nutrition (min-width:760px){
 .nt-columns{grid-template-columns:minmax(0,2.25fr) minmax(220px,1fr)}.nt-side{display:block}
 .nt-summary{grid-template-columns:minmax(140px,1fr) 140px minmax(220px,1.6fr)}.nt-macros{grid-column:auto}
}
@container nutrition (max-width:600px){
 .nt-heading{flex-wrap:nowrap;gap:8px;align-items:flex-start}.nt-heading>div:first-child{flex:1 1 auto}
 .nt-heading-actions{width:auto;justify-content:flex-end;flex-shrink:0}.nt-heading-actions button{white-space:nowrap!important}
 .nt-summary{display:block;padding:12px;margin-bottom:12px}.nt-summary-title h3{font-size:16px!important;margin-bottom:2px!important}
 .nt-summary-title small{font-size:11px!important}.nt-summary-note{margin-top:8px!important;font-size:10px!important}
 .nt-energy{width:auto;height:auto;border-radius:0;background:none;display:block;margin:8px 0}
 .nt-energy>div{width:auto;height:auto;background:none;border-radius:0;flex-direction:row;justify-content:flex-start;gap:4px}
 .nt-energy strong{font-size:17px}.nt-energy span{font-size:12px}.nt-energy-track{display:block;width:100%;height:7px;margin-top:7px;border-radius:5px;overflow:hidden}
 .nt-macros{display:grid;gap:7px}.nt-macros li{grid-template-columns:66px minmax(24px,1fr) 82px;gap:7px}
 .nt-search-row{margin:10px 0}.nt-mobile-add{display:block!important;position:static!important;transform:none!important;width:auto!important;max-width:none!important;padding:0!important;margin:12px 0;background:none;border:0;bottom:auto!important}
 .nt-mobile-add>button{width:100%}.nt-columns{margin-top:12px;gap:18px}
 .nt-repeat-heading h3{font-size:18px!important}.nt-repeat-heading{gap:7px;margin-bottom:10px}
 .nt-repeat-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:0 10px;padding:12px}
 .nt-repeat-card>.nt-photo{width:64px;height:58px;min-height:0;grid-column:1;grid-row:1;border-radius:8px}
 .nt-meal-copy{display:contents}.nt-meal-heading{grid-column:2;align-self:center}
 .nt-meal-heading h3{font-size:16px!important}.nt-meal-heading>small{font-size:11px!important}
 .nt-meal-copy>:not(.nt-meal-heading){grid-column:1/-1}
 .nt-eyebrow{margin:12px 0 2px}.nt-ingredient{padding:8px 0}.nt-ingredient b{font-size:13px}.nt-ingredient small{font-size:10px!important}
 .nt-stepper{gap:5px}.nt-stepper>span{font-size:12px;max-width:100px}.nt-meal-copy>.nt-record{margin-top:9px}
 .nt-regulars>button{flex-direction:row!important;gap:8px!important}.nt-regulars .nt-photo{width:48px;height:64px;min-height:0}.nt-regulars span{padding:7px 6px 7px 0}.nt-regulars b{font-size:12px}
 .nt-side-meal>.nt-photo{width:75px;height:68px}
}
html[data-theme] body.app-view:is([data-page="nutrition"],[data-page="food"]) main{padding-bottom:110px!important}
html[data-theme] body[data-page="food"] :is(.food-editor,.food-form,.food-card){color:var(--ff-ink)}
html[data-theme] body[data-page="food"] :is(input,select,textarea){background:var(--ff-card);color:var(--ff-ink);border:1px solid var(--ff-border);border-radius:8px}
html[data-theme] body[data-page="food"] .ff-primary{background:linear-gradient(#ff9b3d,#ff790b);color:#181008;border-color:#ffa457}
html[data-theme] body[data-page="food"] .secondary-heading{margin:0 0 16px;display:flex;align-items:center;gap:12px}

.exercise-offline-update{display:block;max-width:430px;margin:8px auto 24px;padding:12px 16px;color:var(--ff-accent);text-align:center;font-weight:600}.exercise-offline-update[hidden]{display:none}

.nt-side-meal>.nt-photo{height:64px}
@container nutrition (max-width:600px){
 html[data-theme] #screen .nt-energy>div{justify-content:flex-start!important}
 .nt-side-meal>.nt-photo{height:52px}
}

@container nutrition (max-width:600px){html[data-theme] #screen .nt-energy>div{width:100%!important;margin:0!important;text-align:left!important}}

body[data-page="food"] .food-editor{container:food-picker / inline-size;--approved-success:var(--ff-accent)}
@container food-picker (max-width:600px){
 html[data-theme] .food-editor .approved-food-results{grid-template-columns:minmax(0,1fr)}
 html[data-theme] .food-editor .approved-food-choice{flex-direction:row;border:1px solid var(--ff-border);border-radius:10px}
 html[data-theme] .food-editor .approved-food-choice>.approved-food-select{flex-direction:row;align-items:center;gap:10px;padding:8px 52px 8px 8px!important}
 html[data-theme] .food-editor .approved-food-select>svg{width:68px!important;height:62px!important;flex:0 0 68px!important;border-radius:6px}
 html[data-theme] .food-editor .approved-food-select>span{padding:0;min-height:0}
 html[data-theme] .food-editor .approved-food-select b{font-size:14px;word-break:normal}
 html[data-theme] .food-editor .approved-food-select small{font-size:11px}
 html[data-theme] .food-editor .approved-food-choice>[data-food="favorite"]{right:7px;top:50%;transform:translateY(-50%);min-width:44px;min-height:44px!important}
}
