:root{color:#171a18;--color-background:#fff;--color-surface-subtle:#f7faf8;--color-surface:#fff;--color-text:#171a18;--color-text-muted:#68716c;--color-primary:#218653;--color-primary-dark:#176d42;--color-primary-soft:#eaf6ef;--color-border:#e3e9e5;--color-error:#c93636;--color-success:#218653;--shadow-card:0 14px 38px #1c372817;--radius-card:24px;--space-page:1rem;--space-card:1rem;--space-stack:.8rem;--font-screen-title:clamp(1.5rem, 2.2vw, 2.125rem);--font-section-title:clamp(1.125rem, 1.35vw, 1.375rem);--font-card-title:1.0625rem;--font-body:1rem;--font-secondary:.875rem;--font-metric-value:clamp(1.5rem, 3vw, 3rem);--font-metric-unit:.8125rem;--font-button:.9375rem;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fff;font-family:Inter,Segoe UI,Roboto,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{background:var(--color-background)}body{background:var(--color-background);min-width:320px;min-height:100vh;color:var(--color-text);margin:0}button,input{font:inherit}#root{min-height:100vh}h1,h2,h3,p{margin:0}.app-shell{color:#f5efe4;background:linear-gradient(#2a2520 0%,#3a3530 100%);flex-direction:column;min-height:100svh;display:flex}.top-bar{border-bottom:1px solid #e8a87c1f;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem .6rem;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.22em;color:#e8a87c;margin-bottom:.25rem;font-size:.7rem}.top-bar h1{color:#f5efe4;margin:0;font-size:1.3rem}.subtitle{color:#c5b5a8;margin-top:.15rem;font-size:.85rem}.language-switch{background:#e8a87c0f;border:1px solid #e8a87c2e;border-radius:999px;padding:.15rem;display:inline-flex}.language-switch button{color:#d9cfc2;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:.35rem .65rem;font-size:.75rem;font-weight:600;transition:all .18s}.language-switch button.active{color:#2a2520;background:linear-gradient(135deg,#e8a87c 0%,#d4905d 100%);box-shadow:0 4px 12px #e8a87c33}.screen-content{flex:1;padding:.9rem .9rem 6.5rem}.screen-stack{flex-direction:column;gap:.8rem;display:flex}.section-card h3{color:#f5efe4;letter-spacing:.02em;margin:0 0 .75rem;font-size:.95rem;font-weight:600}.food-screen-shell .section-card{position:relative;overflow:hidden}.food-screen-shell .section-card:before{content:"";border-radius:inherit;pointer-events:none;border:1px solid #7fe0b814;position:absolute;inset:0}.hero-card{flex-direction:column;gap:.5rem;display:flex}.hero-row,.metric-row,.hero-target-row,.meal-row,.profile-field,.recent-item{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.hero-pill,.pill,.camera-chip{color:#e8a87c;background:#e8a87c1f;border:1px solid #e8a87c38;border-radius:999px;padding:.3rem .6rem;font-size:.78rem;font-weight:500}.hero-date{color:#d4a574;font-size:.9rem}.hero-target-row{color:#e8d4c4;font-size:.9rem}.progress-grid,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.circular-progress-card{flex-direction:column;align-items:center;gap:.4rem;padding:.25rem 0;display:flex}.circular-progress-svg{transform:rotate(-90deg)}.progress-track,.progress-bar{fill:none;stroke-width:8px}.progress-bar{stroke-linecap:round;transition:stroke-dashoffset .22s}.circular-progress-copy{color:#e8d4c4;flex-direction:column;align-items:center;font-size:.75rem;font-weight:500;display:flex}.primary-button,.secondary-button,.text-button{cursor:pointer;border:none;transition:transform .18s,background .18s,box-shadow .18s}.primary-button:hover,.secondary-button:hover,.text-button:hover{transform:translateY(-2px)}.primary-button{color:#2a2520;background:linear-gradient(135deg,#e8a87c 0%,#d4905d 100%);border-radius:999px;width:100%;margin-top:.7rem;padding:.85rem 1rem;font-size:.95rem;font-weight:700;box-shadow:0 8px 20px #e8a87c38}.secondary-button{color:#e8d4c4;background:#ffffff0f;border:1px solid #e8a87c29;border-radius:999px;padding:.65rem .9rem;font-size:.9rem;font-weight:500;box-shadow:inset 0 1px #ffffff05}.text-button{color:#e8a87c;background:0 0;padding:0;font-weight:500}.water-actions,.chip-row{flex-wrap:wrap;gap:.55rem;margin-top:.65rem;display:flex}.food-screen-shell .water-actions{margin-top:.75rem}.progress-track-horizontal{background:#ffffff0f;border-radius:999px;height:.55rem;margin-top:.65rem;overflow:hidden}.progress-fill{border-radius:inherit;background:linear-gradient(90deg,#e8a87c 0%,#a8b8a1 100%);height:100%}.meal-list,.recent-list{flex-direction:column;gap:.55rem;display:flex}.meal-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.meal-card{color:#2a2520;text-align:left;cursor:pointer;min-height:116px;font:inherit;background:linear-gradient(145deg,#ffffff1c,#e8a87c17);border:1px solid #e8a87c52;border-radius:1rem;flex-direction:column;gap:.6rem;padding:.8rem;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex;box-shadow:0 10px 22px #0003,inset 0 1px #ffffff14}.meal-card:hover,.meal-card:focus-visible{border-color:#e8a87c75;transform:translateY(-2px);box-shadow:0 12px 26px #0000003d,inset 0 1px #ffffff1f}.meal-card-header{justify-content:space-between;align-items:center;display:flex}.meal-card-icon{font-size:1.05rem}.meal-card-plus{color:#6f4e2f;font-size:1.05rem}.meal-card-copy{flex-direction:column;gap:.2rem;display:flex}.meal-card-copy strong{color:#1f1914;font-size:.95rem;font-weight:700}.meal-card-copy span{color:#5a4a3d;font-size:.8rem;font-weight:600}.meal-card-copy small{color:#2d2118;font-size:.84rem;font-weight:800}.diary-open-button{justify-content:center;width:100%;margin-top:.8rem}.diary-view{flex-direction:column;gap:.8rem;display:flex}.diary-view-header{justify-content:flex-start;display:flex}.diary-view-header .secondary-button{min-width:96px;font-weight:600}.diary-date-controls{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;margin-top:.8rem;display:grid}.diary-date-controls input{min-width:0}.diary-date-controls .text-button{grid-column:1/-1;justify-self:center;min-height:36px}@media (width<=480px){.meal-card-grid{grid-template-columns:1fr}}.diary-date-controls button:disabled{opacity:.4;cursor:default;transform:none}.frequent-foods-card{overflow:hidden}.frequent-foods-strip{scroll-snap-type:x proximity;scrollbar-width:thin;gap:.55rem;padding-bottom:.35rem;display:flex;overflow-x:auto}.frequent-food-chip{color:#f5efe4;text-align:left;scroll-snap-align:start;background:#ffffff09;border:1px solid #e8a87c29;border-radius:.85rem;flex:0 0 155px;min-height:68px;padding:.65rem .7rem}.frequent-food-chip strong,.frequent-food-chip span{display:block}.frequent-food-chip .secondary-button{width:100%;min-height:34px;margin-top:.5rem;padding:.45rem .65rem}.frequent-food-chip strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.frequent-food-chip span{color:#c5b5a8;margin-top:.3rem;font-size:.8rem}.meal-entry-row{flex-wrap:wrap;gap:.65rem}.diary-entry-actions,.diary-edit-actions{align-items:center;gap:1.2rem;display:flex}.diary-edit-form{background:#ffffff08;border:1px solid #e8a87c29;border-radius:.8rem;flex:0 0 100%;padding:.75rem}.diary-edit-form label{color:#c5b5a8;gap:.35rem;margin-top:.55rem;font-size:.85rem;display:grid}.diary-edit-actions{justify-content:flex-end;margin-top:.65rem}.diary-edit-actions .primary-button{width:auto;margin-top:0}.meal-row,.recent-item{border-bottom:1px solid #ffffff0a;padding:.6rem 0}.meal-row:last-child,.recent-item:last-child{border-bottom:none}.meal-row p,.muted-copy,.metric-label,.recent-item span{color:#c5b5a8;font-size:.85rem}.meal-meta{flex-direction:column;align-items:flex-end;gap:.2rem;display:flex}.camera-preview{background:radial-gradient(circle at top,#e8a87c1f,#ffffff03);border:1px solid #e8a87c24;border-radius:1.1rem;place-items:center;min-height:200px;margin-bottom:.85rem;display:grid;overflow:hidden}.camera-circle{border:1px solid #e8a87c4d;border-radius:50%;width:130px;height:130px;box-shadow:inset 0 0 0 10px #ffffff08,0 0 0 16px #e8a87c1a}.camera-photo-preview{object-fit:cover;width:100%;height:100%;display:block}.camera-video-stream{background:#050806}.camera-actions{flex-direction:column;gap:.5rem;margin-top:.5rem;display:flex}.camera-copy{color:#e8d4c4;margin-bottom:.55rem;font-size:.9rem}.camera-button{margin-top:.3rem}.image-source-menu{background:#ffffff09;border:1px solid #e8a87c29;border-radius:.9rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:.65rem;display:grid}.image-source-menu .text-button{grid-column:1/-1;min-height:34px}.ai-analysis-card{background:#ffffff08;border:1px solid #e8a87c24;border-radius:1rem;flex-direction:column;gap:.6rem;margin-top:.65rem;padding:.85rem;display:flex}.ai-analysis-header{color:#f5efe4;justify-content:space-between;align-items:center;gap:.8rem;font-weight:600;display:flex}.ai-summary-row{color:#c5b5a8;flex-wrap:wrap;gap:.55rem;font-size:.85rem;display:flex}.ai-food-list{flex-direction:column;gap:.55rem;display:flex}.ai-food-row{background:#ffffff08;border:1px solid #e8a87c1f;border-radius:.95rem;padding:.75rem}.ai-food-main{color:#f5efe4;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.3rem;font-weight:500;display:flex}.ai-food-main span{color:#e8a87c;font-size:.85rem;font-weight:600}.ai-food-meta{color:#c5b5a8;margin-bottom:.35rem;font-size:.82rem}.ai-food-controls{margin-bottom:.35rem}.ai-macro-row{color:#c5b5a8;flex-wrap:wrap;gap:.5rem;font-size:.82rem;display:flex}.ai-warning{color:#f0c88f;background:#e8a87c1a;border:1px solid #e8a87c33;border-radius:.9rem;padding:.75rem .85rem;font-size:.88rem;line-height:1.4}.ai-limit-card{background:linear-gradient(145deg,#e8a87c1f,#ffffff05);border:1px solid #e8a87c33;border-radius:.9rem;flex-direction:column;gap:.35rem;margin-top:.5rem;padding:.8rem;display:flex}.ai-limit-card strong{color:#f0c88f;font-weight:700}.ai-limit-card p{color:#e8d4c4;margin:0;font-size:.9rem}.ai-usage-row{color:#c5b5a8;margin-top:.35rem;font-size:.85rem;font-weight:500}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.search-row{flex-direction:column;gap:.5rem;display:flex}.search-row input{box-sizing:border-box;color:#f5efe4;background:#ffffff0a;border:1px solid #e8a87c2e;border-radius:999px;width:100%;padding:.75rem .95rem;font-size:.9rem}.search-row input::placeholder{color:#a69d92}.search-row input:focus{background:#ffffff0f;border-color:#e8a87c66;outline:none}.form-stack{flex-direction:column;gap:.7rem;display:flex}.field-label{color:#c5b5a8;flex-direction:column;gap:.35rem;font-size:.85rem;display:flex}.field-label span{color:#e8d4c4;letter-spacing:.02em;font-size:.78rem;font-weight:600}.field-label input,.field-label select{box-sizing:border-box;color:#f5efe4;appearance:none;background:#ffffff0b;border:1px solid #e8a87c29;border-radius:.95rem;width:100%;min-height:46px;padding:.8rem .95rem;font-size:.9rem;box-shadow:inset 0 1px 1px #ffffff05}.field-label input::placeholder,.field-label select::placeholder{color:#8c867b}.field-label input:focus,.field-label select:focus{border-color:#e8a87c66;outline:none;box-shadow:0 0 0 3px #e8a87c1f}.field-label.compact-label{gap:.2rem}.barcode-panel{flex-direction:column;gap:.65rem;display:flex}.barcode-preview{background:linear-gradient(145deg,#e8a87c0f,#ffffff03);border:1px dashed #e8a87c33;border-radius:1rem;min-height:52px;overflow:hidden}.camera-stage{background:#040c0ad9;border-radius:1rem;place-items:center;min-height:160px;display:grid;position:relative}.camera-video{object-fit:cover;background:#000;border-radius:1rem;width:100%;height:100%;display:block}.camera-overlay{pointer-events:none;border:2px solid #e8a87c40;border-radius:1rem;place-items:center;display:grid;position:absolute;inset:0}.camera-overlay span{aspect-ratio:2.2;border:2px solid #f5efe4e0;border-radius:.65rem;width:min(72%,280px);box-shadow:0 0 0 999px #040c0a38}.barcode-camera-guidance{color:#d9cfc2;text-align:center;margin:-.15rem 0 0;font-size:.8rem}.barcode-result{background:#ffffff08;border:1px solid #e8a87c24;border-radius:1rem;flex-direction:column;gap:.6rem;padding:.85rem;display:flex}.barcode-result strong{color:#f5efe4;font-weight:600}.barcode-error{color:#f0a8a8;font-size:.88rem;line-height:1.3}.barcode-controls{gap:.55rem;display:grid}.ingredient-card{background:#ffffff05;border:1px solid #e8a87c1f;border-radius:.95rem;padding:.75rem}.ingredient-grid{gap:.6rem;display:grid}.recipe-summary{color:#e8d4c4;background:#e8a87c14;border:1px solid #e8a87c24;border-radius:.95rem;padding:.8rem .85rem;font-size:.9rem}.recipe-summary p{color:#c5b5a8;margin:.2rem 0 0;font-size:.82rem}.recipe-summary p:first-child{margin-top:0}.recent-item{border-bottom:1px solid #ffffff0a;align-items:flex-start;padding:.8rem 0}.recent-item strong{color:#f5efe4;margin-bottom:.15rem;font-weight:600;display:block}.recent-item p{color:#c5b5a8;margin:0;font-size:.85rem}.recent-item .secondary-button{flex-shrink:0}.recent-list .secondary-button,.recent-list .text-button{min-height:40px}.mini-metric{background:#ffffff05;border:1px solid #e8a87c1f;border-radius:.95rem;padding:.8rem}.mini-metric p{color:#c5b5a8;margin-bottom:.25rem;font-size:.85rem}.weight-reminder{background:#e8a87c14;border:1px solid #e8a87c33;border-radius:.95rem;align-items:center;gap:.65rem;padding:.7rem .8rem;display:flex}.weight-reminder p{color:#d9cfc2;margin:0;font-size:.8rem;line-height:1.35}.progress-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.progress-remaining{grid-column:1/-1}.weight-trend-status{color:#c5b5a8;background:#ffffff0a;border-radius:.75rem;margin:.7rem 0 0;padding:.55rem .7rem;font-size:.82rem}.weight-trend-status.toward{color:#c9d8c4;background:#a8b8a11f}.weight-trend-status.away{color:#f0b0a6;background:#e07b6b1a}.progress-range-tabs{background:#ffffff08;border-radius:.8rem;grid-template-columns:repeat(3,1fr);gap:.3rem;padding:.2rem;display:grid}.progress-range-tabs button{color:#c5b5a8;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.65rem;min-height:38px;font-weight:600}.progress-range-tabs button.active{color:#e8a87c;background:#e8a87c1f;border-color:#e8a87c38}.weight-chart{align-items:stretch;gap:.45rem;min-height:190px;margin-top:.8rem;padding-bottom:.25rem;display:flex;overflow-x:auto}.weight-chart-column{color:#c5b5a8;text-align:center;flex:1 0 46px;grid-template-rows:auto 1fr auto;gap:.3rem;min-width:46px;max-width:70px;font-size:.68rem;display:grid}.weight-chart-column strong{color:#e8d4c4;font-size:.72rem}.weight-chart-track{align-items:flex-end;min-height:125px;display:flex}.weight-chart-bar{background:linear-gradient(#e8a87c 0%,#a8b8a1 100%);border-radius:999px 999px .35rem .35rem;width:100%;min-height:16px}.progress-empty{color:#c5b5a8;text-align:center;background:#ffffff06;border-radius:.8rem;margin:.8rem 0 0;padding:1.5rem .75rem;font-size:.85rem}.profile-card .profile-field{border-bottom:1px solid #ffffff0a;padding:.6rem 0}.profile-field input,.profile-field select{margin-top:.3rem}.profile-field:last-of-type{border-bottom:none}.profile-field label{color:#c5b5a8;font-size:.85rem}.profile-field span{color:#e8d4c4;font-weight:600}.language-switch.compact{padding:.08rem}.bottom-nav{padding:.6rem .5rem calc(.6rem + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#2a2520eb;border-top:1px solid #e8a87c1f;grid-template-columns:repeat(7,minmax(0,1fr));gap:.2rem;display:grid;position:sticky;bottom:0}.nav-item{color:#a69d92;cursor:pointer;background:0 0;border:none;border-radius:.7rem;flex-direction:column;align-items:center;gap:.15rem;padding:.3rem .15rem;font-size:.65rem;font-weight:500;transition:all .18s;display:flex}.nav-item.active{color:#e8a87c;background:#e8a87c1f}.food-tabs-card{margin-bottom:0!important;padding:.6rem!important}.food-tabs{grid-template-columns:repeat(4,1fr);gap:.5rem;display:grid}.food-tab{color:#c5b5a8;cursor:pointer;background:#ffffff0a;border:1px solid #e8a87c1f;border-radius:.8rem;flex-direction:column;align-items:center;gap:.2rem;padding:.6rem .4rem;font-size:.75rem;font-weight:500;transition:all .18s;display:flex}.food-tab.active{color:#e8a87c;background:#e8a87c1f;border-color:#e8a87c38}@media (width>=768px){.screen-content{padding:1.2rem 1.5rem 7rem}.top-bar{padding:1.3rem 1.5rem .9rem}.progress-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.search-row{flex-direction:row}.ingredient-grid,.barcode-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-food-row{gap:.6rem;display:grid}}.today-screen .today-dashboard-card{gap:.14rem;padding:.58rem .64rem}.today-screen .today-heading h2{font-size:1.08rem}.today-screen .today-dashboard-card .hero-date{font-size:.7rem;line-height:1.25}.today-screen .today-dashboard-card .diary-date-controls{margin-top:.28rem}.today-screen .today-dashboard-card .diary-date-controls,.today-screen .today-dashboard-card .diary-date-controls input{min-height:36px}.today-screen .today-dashboard-card .diary-date-controls .secondary-button{width:36px;min-width:36px;min-height:36px}.today-screen .today-calorie-cards{gap:.34rem;margin-top:.24rem}.today-screen .today-calorie-card{background:var(--color-surface-subtle);border-radius:12px;gap:.08rem;padding:.42rem .5rem}.today-screen .today-calorie-card span{font-size:.64rem}.today-screen .today-calorie-card strong{font-size:.86rem}.today-screen .daily-overview-card{background:linear-gradient(145deg, #fff, var(--color-primary-soft));border-color:#cce7d7;padding:.56rem .62rem .48rem;box-shadow:0 7px 20px #2186531a}.today-screen .daily-overview-card>h3{color:var(--color-primary-dark);margin-bottom:.34rem;font-size:.86rem}.today-screen .daily-overview-card .progress-grid{gap:.2rem}.today-screen .daily-overview-card .circular-progress-card{gap:.06rem}.today-screen .daily-overview-card .circular-progress-svg{width:clamp(52px,16vw,68px);height:clamp(52px,16vw,68px)}.today-screen .daily-overview-card .circular-progress-copy{font-size:.58rem}.today-screen .daily-overview-card .circular-progress-copy strong{font-size:.74rem}.today-screen .meals-card>h3{margin-bottom:.36rem;font-size:.86rem}.today-screen .meal-group{background:var(--color-surface-subtle);border-radius:12px;gap:.28rem;padding:.42rem}.today-screen .meal-row{justify-content:space-between;align-items:center;gap:.5rem;min-height:28px;display:flex}.today-screen .meal-empty-state{border-radius:9px;align-items:center;gap:.42rem;min-height:32px;padding:.28rem .38rem;display:flex}.today-screen .meal-add-button,.today-screen .meal-empty-add-button{width:36px;min-width:36px;height:36px;color:var(--color-primary-dark);cursor:pointer;background:#fff;border:1px solid #b9ddc8;border-radius:999px;justify-content:center;align-items:center;font-size:1rem;line-height:1;transition:border-color .14s,background .14s,transform .14s;display:inline-flex}.today-screen .meal-add-button:hover,.today-screen .meal-empty-add-button:hover,.today-screen .meal-add-button:focus-visible,.today-screen .meal-empty-add-button:focus-visible{border-color:var(--color-primary-dark);background:var(--color-primary-soft)}.today-screen .meal-add-button:active,.today-screen .meal-empty-add-button:active{transform:translateY(1px)}.food-screen .recent-picker-card{padding:.7rem}.food-screen .recent-picker-trigger{border:1px solid var(--color-border);width:100%;min-height:48px;color:var(--color-text);cursor:pointer;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;padding:.65rem .75rem;font-size:.95rem;font-weight:600;display:flex}.food-screen .recent-picker-trigger b{color:var(--color-text-muted);font-size:1.05rem}.food-screen .recent-list-card{padding:.72rem}.food-screen .recent-list-back{margin-bottom:.35rem}.food-screen .recent-compact-list{gap:.44rem;max-height:min(52vh,420px);display:grid;overflow:hidden auto}.food-screen .recent-compact-item{text-align:left;border:1px solid var(--color-border);width:100%;min-height:52px;color:var(--color-text);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:.65rem;padding:.55rem .65rem;display:flex}.food-screen button.recent-compact-item{cursor:pointer}.food-screen .recent-compact-item strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.food-screen .recent-compact-item small{color:var(--color-text-muted);white-space:nowrap;font-size:.78rem}.food-screen .recent-custom-item .secondary-button{white-space:nowrap;width:auto;min-height:40px;margin-top:0}.food-screen .food-source-header{align-items:center;gap:.55rem;display:flex}.food-screen .food-source-header h2{color:var(--color-primary-dark);margin:0;font-size:1rem}.food-screen .food-source-back{width:auto;min-height:40px;margin-top:0;padding:.48rem .68rem}.food-screen .modal-back-button{width:fit-content}.profile-screen{color:var(--color-text);gap:.5rem}.profile-screen .profile-summary-card{background:linear-gradient(145deg, #fff, var(--color-primary-soft));border-color:#cce7d7;gap:.58rem;padding:.7rem;display:grid;box-shadow:0 8px 22px #2186531a}.profile-summary-main{align-items:center;gap:.62rem;min-width:0;display:flex}.profile-summary-avatar{object-fit:cover;border-radius:50%;flex:0 0 58px;border:3px solid #fff!important;width:58px!important;height:58px!important;box-shadow:0 5px 16px #2186532b!important}.profile-summary-initial{background:var(--color-primary);color:#fff;place-items:center;font-size:1.35rem;font-weight:800;display:grid}.profile-summary-copy{min-width:0}.profile-summary-copy>span{color:var(--color-primary-dark);letter-spacing:.12em;text-transform:uppercase;font-size:.62rem;font-weight:800}.profile-summary-copy h2{overflow-wrap:anywhere;color:var(--color-text);margin:.08rem 0 0;font-size:1.12rem;line-height:1.2}.profile-summary-copy p{color:var(--color-text-muted);margin:.12rem 0 0;font-size:.72rem}.profile-summary-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem;display:grid}.profile-summary-stats>div{border:1px solid var(--color-border);background:#ffffffdb;border-radius:12px;gap:.08rem;min-width:0;padding:.46rem .52rem;display:grid}.profile-summary-stats span{color:var(--color-text-muted);font-size:.64rem;line-height:1.2}.profile-summary-stats strong{color:var(--color-text);font-size:.86rem;line-height:1.2}.profile-screen .profile-settings-card{box-shadow:none;background:0 0;border:0;gap:.46rem;padding:0;display:grid}.profile-screen .profile-settings-card>h3{margin:0 0 .02rem;padding:0 .08rem;font-size:.96rem}.profile-form-section{border:1px solid var(--color-border);background:#fff;border-radius:16px;gap:.34rem;min-width:0;padding:.62rem;display:grid;box-shadow:0 6px 18px #1c37280f}.profile-form-section-heading{align-items:center;gap:.4rem;margin-bottom:.08rem;display:flex}.profile-form-section-heading>span{background:var(--color-primary-soft);border-radius:9px;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:.82rem;display:grid}.profile-form-section-heading h3{color:var(--color-text);margin:0;font-size:.84rem;line-height:1.2}.profile-screen .profile-form-section .profile-field{border:1px solid var(--color-border);background:var(--color-surface-subtle);border-radius:11px;grid-template-columns:1fr;gap:.2rem;margin:0;padding:.38rem .42rem;display:grid}.profile-screen .profile-form-section .profile-field>label{color:var(--color-text-muted);font-size:.68rem;font-weight:700;line-height:1.2}.profile-screen .profile-form-section .profile-field>input,.profile-screen .profile-form-section .profile-field>select{border:1px solid var(--color-border);width:100%;min-width:0;min-height:39px;color:var(--color-text);background:#fff;border-radius:10px;margin:0;padding:.42rem .56rem;font-size:.8rem}.profile-screen .profile-form-section .profile-field>input:focus,.profile-screen .profile-form-section .profile-field>select:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px #2186531f}.profile-screen .profile-form-section .profile-field>select+p{color:var(--color-text-muted);grid-column:1/-1;line-height:1.35;margin:.28rem 0 0!important;font-size:.7rem!important}.profile-screen .profile-form-section .language-switch.compact{justify-self:start;width:fit-content;margin:0}.profile-screen .profile-save-action{bottom:calc(4.25rem + env(safe-area-inset-bottom));z-index:5;background:var(--color-primary);color:#fff;border:2px solid #fff;border-radius:14px;width:100%;min-height:46px;margin-top:.02rem;position:sticky;box-shadow:0 8px 22px #2186533d}@media (width>=720px){.profile-screen .profile-summary-card{grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);align-items:center}.profile-screen .profile-settings-card{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.profile-screen .profile-settings-card>h3,.profile-screen .profile-save-action,.profile-screen .profile-settings-card>[role=alert],.profile-screen .profile-settings-card>div:not(.profile-form-section){grid-column:1/-1}.profile-screen .profile-form-section .profile-field{grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);align-items:center}.profile-screen .profile-form-section .language-switch.compact{justify-self:end}.profile-screen .profile-save-action{position:static}}.progress-screen{gap:.46rem}.progress-screen .weight-reminder{border-radius:12px;gap:.42rem;padding:.48rem .56rem}.progress-screen .weight-reminder p{font-size:.7rem;line-height:1.3}.progress-screen .progress-summary-card{padding:.58rem .62rem}.progress-screen .progress-summary-card>h3,.progress-screen .progress-chart-card>h3{margin-bottom:.38rem;font-size:.88rem}.progress-screen .progress-metric-grid{gap:.34rem}.progress-screen .mini-metric{background:var(--color-surface-subtle);border-radius:12px;min-width:0;padding:.42rem .48rem}.progress-screen .mini-metric p{margin-bottom:.12rem;font-size:.65rem;line-height:1.2}.progress-screen .mini-metric h3{overflow-wrap:anywhere;margin:0;font-size:.82rem;line-height:1.2}.progress-screen .weight-trend-status{border-radius:10px;margin-top:.36rem;padding:.42rem .5rem;font-size:.7rem;line-height:1.3}.progress-screen .progress-chart-card{padding:.58rem .48rem .48rem;overflow:hidden}.progress-screen .progress-range-tabs{border-radius:11px;gap:.2rem;padding:.16rem}.progress-screen .progress-range-tabs button{border-radius:9px;min-height:34px;font-size:.72rem}.progress-screen .weight-chart{gap:.36rem;min-height:220px;margin-top:.42rem;padding:.2rem .16rem .12rem}.progress-screen .weight-chart-column{flex-basis:42px;gap:.22rem;min-width:42px;font-size:.62rem}.progress-screen .weight-chart-column strong{font-size:.67rem}.progress-screen .weight-chart-track{min-height:170px}.progress-screen .progress-empty{border-radius:12px;margin-top:.42rem;padding:1.2rem .62rem;font-size:.74rem}@media (width>=560px){.progress-screen .progress-metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.progress-screen .progress-remaining{grid-column:auto}.progress-screen .weight-chart{min-height:260px}.progress-screen .weight-chart-track{min-height:205px}}.water-screen{gap:.46rem}.water-screen .water-overview-card{background:linear-gradient(155deg,#fff,#eef8f3);justify-items:center;gap:.32rem;padding:.64rem;display:grid}.water-screen .water-overview-card .eyebrow{justify-self:start;margin:0}.water-screen .water-indicator{aspect-ratio:1;border-radius:50%;place-items:center;width:clamp(150px,48vw,210px);padding:12px;display:grid;box-shadow:0 10px 26px #21865329}.water-screen .water-indicator-core{text-align:center;background:#fff;border:1px solid #2186531f;border-radius:50%;place-content:center;width:100%;height:100%;display:grid;box-shadow:inset 0 4px 16px #2186530f}.water-screen .water-indicator-core strong{color:var(--color-text);font-size:clamp(1.25rem,6vw,1.7rem);line-height:1.1}.water-screen .water-indicator-core span{color:var(--color-primary);margin-top:.18rem;font-size:.78rem;font-weight:800}.water-screen .water-goal-copy{color:var(--color-text-muted);margin:0;font-size:.74rem}.water-screen .water-card{padding:.58rem .62rem}.water-screen .water-card>h3{margin-bottom:.34rem;font-size:.86rem}.water-screen .water-card .metric-row{gap:.4rem}.water-screen .water-card .metric-label{font-size:.68rem}.water-screen .water-card .metric-row h3{margin:.08rem 0 0;font-size:.88rem}.water-screen .water-card .pill{padding:.24rem .48rem;font-size:.68rem}.water-screen .progress-track-horizontal{height:.46rem;margin-top:.4rem}.water-screen .water-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem;margin-top:.4rem;display:grid}.water-screen .water-actions .primary-button,.water-screen .water-actions .secondary-button{border-radius:11px;width:100%;min-height:42px;margin:0;padding:.46rem .56rem;font-size:.76rem}.water-screen .water-add-button{background:var(--color-primary);color:#fff;box-shadow:0 6px 16px #21865338}@media (height<=700px){.water-screen .water-indicator{width:138px}}@media (width>=640px){.water-screen{grid-template-columns:minmax(220px,.8fr) minmax(300px,1.2fr);align-items:stretch}.water-screen .water-card{align-self:stretch}}.steps-screen{gap:.46rem}.steps-screen .steps-overview-card{background:linear-gradient(155deg,#fff,#eef8f3);justify-items:center;gap:.36rem;padding:.64rem;display:grid}.steps-screen .steps-overview-card .eyebrow{justify-self:start;margin:0}.steps-screen .steps-progress-indicator{aspect-ratio:1;border-radius:50%;place-items:center;width:clamp(158px,50vw,220px);padding:12px;display:grid;box-shadow:0 10px 26px #21865329}.steps-screen .steps-progress-core{text-align:center;background:#fff;border:1px solid #2186531f;border-radius:50%;place-content:center;width:100%;height:100%;display:grid;box-shadow:inset 0 4px 16px #2186530f}.steps-screen .steps-progress-core strong{color:var(--color-text);font-size:clamp(1.45rem,7vw,2rem);line-height:1.05}.steps-screen .steps-progress-core span{color:var(--color-primary);margin-top:.18rem;font-size:.8rem;font-weight:800}.steps-screen .steps-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.36rem;width:100%;display:grid}.steps-screen .steps-summary-card{border:1px solid var(--color-border);background:#fff;border-radius:12px;gap:.08rem;min-width:0;padding:.42rem .5rem;display:grid}.steps-screen .steps-summary-card span{color:var(--color-text-muted);font-size:.65rem;line-height:1.2}.steps-screen .steps-summary-card strong{color:var(--color-text);font-size:.86rem}.steps-screen .steps-card{padding:.58rem .62rem}.steps-screen .steps-card>h3{margin-bottom:.34rem;font-size:.86rem}.steps-screen .steps-card .metric-row{gap:.4rem}.steps-screen .steps-card .metric-label,.steps-screen .steps-card .pill{font-size:.68rem}.steps-screen .steps-card .metric-row h3{margin:.08rem 0 0;font-size:.88rem}.steps-screen .steps-input{border:1px solid var(--color-border);min-height:42px;color:var(--color-text);background:#fff;border-radius:11px;margin-top:.4rem;padding:.46rem .62rem;font-size:.86rem;font-weight:700}.steps-screen .progress-track-horizontal{height:.46rem;margin-top:.42rem}@media (height<=700px){.steps-screen .steps-progress-indicator{width:142px}}@media (width>=640px){.steps-screen{grid-template-columns:minmax(230px,.85fr) minmax(300px,1.15fr);align-items:stretch}}.food-screen{color:var(--color-text)}.food-screen .food-tabs-card{border:1px solid var(--color-border);background:#fffffff5;top:.25rem;box-shadow:0 7px 20px #1c372817;padding:.3rem!important}.food-screen .food-tabs{border-color:var(--color-border);background:var(--color-surface-subtle);gap:.22rem;padding:.14rem}.food-screen .food-tab{min-height:48px;color:var(--color-text-muted);box-shadow:none;background:#fff;border:1px solid #0000}.food-screen .food-tab:hover{background:var(--color-primary-soft);color:var(--color-primary-dark);border-color:#cce7d7}.food-screen .food-tab.active{background:var(--color-primary-soft);color:var(--color-primary-dark);border-color:#b9ddc8;box-shadow:inset 0 0 0 1px #2186530a}.food-screen .food-card,.food-screen .history-card,.food-screen .frequent-foods-card,.food-screen .recent-controls-card,.food-screen .camera-card{border-color:var(--color-border);color:var(--color-text);background:#fff;box-shadow:0 6px 18px #1c372812}.food-screen .food-card>h3,.food-screen .history-card>h3,.food-screen .frequent-foods-card>h3,.food-screen .camera-card>h3{color:var(--color-text)}.food-screen .food-entry-form{gap:.4rem}.food-screen .food-entry-form .chip-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem;margin-top:0;display:grid}.food-screen .food-entry-form .field-label{gap:.22rem}.food-screen .food-entry-form input,.food-screen .food-entry-form select{border-color:var(--color-border);min-height:40px;color:var(--color-text);background:#fff}.food-screen .food-entry-form .primary-button{margin-top:.25rem}.food-search{min-width:0;position:relative}.food-search .field-row{gap:.24rem}.food-search .field-row>label{color:var(--color-text);font-weight:700}.food-search .field-row>input{border:1px solid var(--color-border);min-height:46px;color:var(--color-text);background:#fff;border-radius:13px;box-shadow:0 3px 12px #1c37280d}.food-search .field-row>input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px #2186531f}.food-search-results{z-index:30;overscroll-behavior:contain;border:1px solid var(--color-border);scrollbar-width:thin;scrollbar-color:#b9ddc8 transparent;background:#fff;border-radius:15px;max-height:min(52vh,360px);padding:.38rem;position:absolute;top:calc(100% + .3rem);left:0;right:0;overflow:hidden auto;box-shadow:0 12px 32px #1c372829}.food-search-state,.food-search-empty{color:var(--color-text-muted);text-align:center;padding:.8rem;font-size:.78rem;line-height:1.4}.food-search-result{border:1px solid var(--color-border);background:var(--color-surface-subtle);width:100%;min-height:58px;color:var(--color-text);cursor:pointer;text-align:left;border-radius:12px;gap:.25rem;margin-bottom:.3rem;padding:.52rem .58rem;transition:border-color .14s,background .14s,transform .14s;display:grid}.food-search-result:last-child{margin-bottom:0}.food-search-result:hover,.food-search-result:focus-visible{background:var(--color-primary-soft);border-color:#b9ddc8}.food-search-result:active{transform:scale(.99)}.food-search-result-heading{flex-wrap:wrap;align-items:baseline;gap:.18rem .4rem;min-width:0;display:flex}.food-search-result-heading strong{overflow-wrap:anywhere;color:var(--color-text);font-size:.8rem;line-height:1.25}.food-search-result-heading span{color:var(--color-text-muted);font-size:.68rem}.food-search-result-meta{color:var(--color-text-muted);flex-wrap:wrap;gap:.12rem;font-size:.68rem;line-height:1.3;display:flex}.food-screen .frequent-foods-card{overflow:hidden}.food-screen .frequent-foods-strip,.food-screen .last-used-grid{scroll-snap-type:x proximity;scrollbar-width:thin;gap:.38rem;padding:.04rem 0 .24rem;display:flex;overflow:auto hidden}.food-screen .frequent-food-chip,.food-screen .last-used-item{border-color:var(--color-border);background:var(--color-surface-subtle);min-width:148px;min-height:128px;color:var(--color-text);scroll-snap-align:start;flex:0 0 148px}.food-screen .frequent-food-chip strong,.food-screen .last-used-item strong{color:var(--color-text)}.food-screen .frequent-food-chip .secondary-button,.food-screen .last-used-item .secondary-button{border-color:var(--color-primary);background:var(--color-primary);color:#fff}.food-screen .food-recent-panel .recent-item strong{color:var(--color-text)}.food-screen .food-recent-panel .recent-item .secondary-button{border-color:var(--color-primary);background:var(--color-primary);color:#fff}.food-camera-panel .ai-camera-card,.food-screen .barcode-screen-panel,.food-screen .barcode-result{color:var(--color-text)}@media (width<=390px){.food-screen .food-tab{padding-inline:.12rem;font-size:.6rem}}@media (width<=699px){.food-search-results{max-height:min(58vh,390px);position:static}}.progress-screen .weight-chart:before{content:none}.progress-screen .weight-chart-trend{z-index:2;pointer-events:none;width:calc(100% - 1.7rem);height:calc(100% - 4rem);position:absolute;inset:2.15rem .85rem 1.85rem;overflow:visible}.progress-screen .weight-chart-trend polyline{fill:none;stroke:#4fa66f;stroke-width:1.35px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 4px #2186532e)}.progress-screen .weight-chart-trend circle{fill:#fff;stroke:#2b925b;stroke-width:1.5px;vector-effect:non-scaling-stroke}.progress-screen .weight-chart{background:repeating-linear-gradient(#0000 0 calc(33.333% - 1px),#5379631a 33.333%),linear-gradient(#fbfdfc,#f3f8f5);gap:.7rem;min-height:220px;position:relative}.progress-screen .weight-chart-column{z-index:1;min-width:38px;max-width:54px}.progress-screen .weight-chart-track{justify-content:center}.progress-screen .weight-chart-bar{background:linear-gradient(#89d3a8,#3e9b68);border-radius:999px;width:9px;min-height:8px;box-shadow:0 4px 10px #21865329}@media (width>=1024px){.app-shell:is([data-active-tab=today],[data-active-tab=food],[data-active-tab=progress]) .app-header-inner,.app-shell:is([data-active-tab=today],[data-active-tab=food],[data-active-tab=progress]) .screen-content{width:min(100%,1140px)}.app-shell:is([data-active-tab=today],[data-active-tab=food],[data-active-tab=progress]) .app-header-inner{padding:.65rem 1.25rem .6rem}.app-shell:is([data-active-tab=today],[data-active-tab=food],[data-active-tab=progress]) .screen-content{padding:1rem 1.25rem 5.5rem}.app-shell:is([data-active-tab=today],[data-active-tab=food],[data-active-tab=progress]) .app-navigation{padding-bottom:calc(.45rem + env(safe-area-inset-bottom))}.app-shell:is([data-active-tab=today],[data-active-tab=food],[data-active-tab=progress]) .bottom-nav{width:min(100% - 2.5rem,1140px);min-height:68px}.app-shell:is([data-active-tab=today],[data-active-tab=food],[data-active-tab=progress]) .nav-item{min-height:46px}.today-screen{gap:1rem}.today-screen .section-card{padding:.85rem}.today-screen .today-dashboard-card{grid-column:span 7}.today-screen .daily-overview-card{grid-column:span 5}.today-screen .daily-energy-ring{flex-basis:146px;width:146px}.today-screen .daily-energy-ring:before{width:116px}.today-screen .circular-metric-ring{width:72px}.today-screen .circular-metric-center{width:56px}.today-screen .today-add-food-button{width:min(100%,460px);min-height:58px}.food-screen{gap:1rem}.food-screen .section-card{padding:.9rem}.progress-screen{gap:1rem}.progress-screen .section-card{padding:.9rem}.progress-screen .weight-chart{min-height:290px;max-height:320px}.progress-screen .weight-chart-track{min-height:220px}}.today-add-food-button{color:#fff;text-align:left;background:linear-gradient(145deg,#2b9a61,#176d42);border:0;border-radius:20px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:.75rem;width:100%;min-height:64px;padding:.65rem .8rem;display:grid;box-shadow:0 12px 28px #21865340}.today-add-food-button>span:first-child{aspect-ratio:1;background:#ffffff2e;border-radius:14px;place-items:center;width:44px;font-size:1.5rem;display:grid}.today-add-food-button>span:nth-child(2){gap:.08rem;display:grid}.today-add-food-button strong{font-size:1rem}.today-add-food-button small{color:#ffffffc7;font-size:.75rem}.today-add-food-button b{font-size:1.4rem}.today-add-food-button:active{transform:scale(.985)}.quick-food-row{border:1px solid var(--color-border);min-width:0;min-height:58px;color:var(--color-text);text-align:left;background:#fff;border-radius:16px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.5rem .65rem;display:grid}.quick-food-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quick-food-row>span:last-child{color:var(--color-text-muted);font-size:.78rem;font-weight:750}.quick-food-row .quick-food-legacy-macros{display:none}.food-screen .frequent-foods-strip{grid-template-columns:1fr;max-height:330px;display:grid;overflow-y:auto}.progress-metric-grid .mini-metric{min-height:76px}.progress-chart-card{overflow:hidden}.weight-chart{position:relative}.weight-chart:before{content:"";pointer-events:none;background:linear-gradient(90deg,#21865314,#21865347,#21865314);border-radius:999px;height:2px;position:absolute;bottom:42%;left:.75rem;right:.75rem}@media (width>=768px){.food-screen .frequent-foods-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1024px){.section-card{padding:1rem}.today-screen>.today-dashboard-card{grid-column:span 7}.today-screen>.daily-overview-card{grid-column:span 5}.today-screen>.today-add-food-button{grid-column:span 12;justify-self:center;width:min(100%,520px)}.food-screen .frequent-foods-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-metric-grid .mini-metric{min-height:76px}}.app-viewport{width:100%;min-width:320px;min-height:100svh;font-size:var(--font-body);overflow-x:clip}.app-header{z-index:500;width:100%;padding:0;position:sticky;top:0}.app-header-inner{justify-content:space-between;align-items:center;gap:1rem;width:min(100%,1280px);margin-inline:auto;padding:.9rem 1rem .8rem;display:flex}.top-bar .eyebrow{font-size:.75rem}.top-bar .subtitle{font-size:var(--font-secondary)}.app-workspace{flex:1;width:100%}.section-card{padding:1rem}.section-card>h3{font-size:var(--font-card-title)}.primary-button,.secondary-button{min-height:44px;font-size:var(--font-button);padding:.7rem 1rem}.app-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.app-shell select,.app-shell textarea{min-height:44px;font-size:var(--font-body);padding:.7rem .85rem}.field-label,.profile-field label,.field-row>label,.field-label span{font-size:var(--font-secondary)}.app-navigation{z-index:900;pointer-events:none;width:100%;padding:0;position:fixed;bottom:0;left:0;right:0}.app-navigation .bottom-nav{pointer-events:auto;border-bottom:0;border-left:0;border-right:0;border-radius:0;width:100%;max-width:none;min-height:68px;margin:0;position:static;transform:none}.nav-item{min-height:52px;font-size:.75rem}.modal-backdrop{z-index:2000;width:100vw;height:100dvh;position:fixed;inset:0}.food-entry-form>.food-search+.field-label,.food-entry-form>.food-search+.field-label~*{animation:.2s both screen-fade-in}.modal-cancel-button{width:100%;margin-top:.6rem}.recipe-add-product-button{width:100%;margin:.5rem 0 1rem}.daily-energy-ring{flex-basis:clamp(140px,14vw,170px);width:clamp(140px,14vw,170px)}.daily-energy-ring:before{width:calc(clamp(140px,14vw,170px) - 30px)}.circular-metric-ring{width:clamp(70px,7vw,88px)}.circular-metric-center{width:calc(clamp(70px,7vw,88px) - 16px)}.circular-metric-center strong{font-size:clamp(.9rem,1.1vw,1.1rem)}.circular-metric>span{font-size:.875rem}.circular-metric>small{font-size:.75rem}@media (width>=700px) and (width<=1023px){.app-header-inner,.screen-content{width:100%;padding-inline:1.5rem}.screen-stack{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.screen-stack>*{grid-column:span 2}.water-screen>.water-overview-card,.water-screen>.water-card,.steps-screen>.steps-overview-card,.steps-screen>.steps-card{grid-column:span 1}.bottom-sheet{width:min(560px,100vw - 3rem)}}@media (width>=1024px){.app-header-inner{padding:1.15rem 2rem 1rem}.screen-content{padding:1.5rem 2rem 7rem}.screen-stack{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:1.25rem;display:grid}.screen-stack>*{grid-column:span 12}.section-card{padding:1.25rem}.today-screen>.today-dashboard-card{grid-column:span 7}.today-screen>.daily-overview-card{grid-column:span 5}.today-screen>.meals-card{grid-column:span 12}.today-screen .meal-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.food-screen .food-card,.food-screen .food-camera-panel,.food-screen .food-recent-panel{grid-column:span 12}.food-screen .frequent-foods-strip{grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:visible}.food-screen .frequent-food-chip{min-width:0}.recipes-screen>.recipe-builder-card{grid-column:span 7}.recipes-screen>.history-card,.water-screen>.water-overview-card,.steps-screen>.steps-overview-card{grid-column:span 5}.water-screen>.water-card,.steps-screen>.steps-card{grid-column:span 7}.progress-screen>.weight-reminder,.progress-screen>.progress-summary-card,.progress-screen>.progress-chart-card{grid-column:span 12}.progress-metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.weight-chart{min-height:360px}.profile-screen>*{grid-column:span 6}.profile-screen>:first-child{grid-column:span 12}.app-navigation{padding:0 1.5rem calc(.75rem + env(safe-area-inset-bottom))}.app-navigation .bottom-nav{border:1px solid var(--color-border);border-radius:24px;width:min(100%,1280px);min-height:76px;margin-inline:auto}.nav-item{font-size:.82rem}.nav-icon{font-size:1.3rem}.modal-backdrop{place-items:center;padding:1.5rem}.bottom-sheet{border-radius:28px;width:min(560px,100vw - 3rem)}}@media (width<=699px){.app-header-inner,.screen-content{width:100%;padding-inline:1rem}.screen-stack{flex-direction:column;display:flex}.app-navigation .bottom-nav{width:100%}.daily-energy-ring{flex-basis:clamp(180px,54vw,220px);width:clamp(180px,54vw,220px)}.daily-energy-ring:before{width:calc(clamp(180px,54vw,220px) - 38px)}}@media (width>=700px){.food-search-results{max-height:420px}}.profile-screen{gap:.48rem}.profile-screen .profile-card{border-color:var(--color-border);background:#fff;border-radius:17px;padding:.64rem .68rem;box-shadow:0 6px 18px #1c372812}.profile-screen .profile-card>h3{color:var(--color-text);margin-bottom:.42rem;font-size:.9rem;line-height:1.25}.profile-screen .profile-card>p{color:var(--color-text-muted);margin:0 0 .45rem;font-size:.76rem;line-height:1.4}.profile-screen .profile-card .profile-field{border:1px solid var(--color-border);background:var(--color-surface-subtle);border-radius:12px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:.42rem;margin-bottom:.34rem;padding:.42rem .48rem;display:grid}.profile-screen .profile-card .profile-field:last-of-type{margin-bottom:0}.profile-screen .profile-field>label{min-width:0;color:var(--color-text-muted);font-size:.7rem;font-weight:700;line-height:1.25}.profile-screen .profile-field>input,.profile-screen .profile-field>select{border-radius:10px;width:100%;min-width:0;min-height:38px;margin:0;padding:.42rem .58rem;font-size:.8rem}.profile-screen .profile-field>p,.profile-screen .profile-field>.language-switch{width:100%;min-width:0;margin:0}.profile-screen .profile-field>p{overflow-wrap:anywhere;color:var(--color-text);font-size:.78rem;line-height:1.3}.profile-screen .profile-field>select+p{grid-column:1/-1}.profile-screen .language-switch.compact{justify-self:end;width:fit-content}.profile-screen .profile-card>.primary-button,.profile-screen .profile-card>.secondary-button{border-radius:12px;width:100%;min-height:42px;margin-top:.45rem}.profile-screen .profile-card>.primary-button{background:var(--color-primary);color:#fff;box-shadow:0 5px 14px #21865333}.profile-screen .profile-card img{box-shadow:0 4px 14px #1c372824}.profile-screen .owner-admin-panel{background:linear-gradient(#f4fff8 0%,#fff 100%);border-color:#21865352;gap:.62rem;display:grid}.owner-admin-status{color:var(--color-text);background:#e8f7ee;border-radius:13px;gap:.18rem;padding:.62rem;display:grid}.owner-admin-status strong{color:var(--color-primary-dark);font-size:.9rem}.owner-admin-status span{font-size:.74rem}.owner-admin-form{gap:.34rem;display:grid}.owner-admin-form>label,.owner-trusted-heading h4{color:var(--color-text);margin:0;font-size:.76rem;font-weight:800}.owner-admin-form>div{grid-template-columns:minmax(0,1fr) auto;gap:.38rem;display:grid}.owner-admin-form input{border:1px solid var(--color-border);border-radius:11px;width:100%;min-width:0;min-height:42px;padding:.48rem .58rem}.owner-admin-form button,.owner-trusted-heading button,.owner-trusted-item>button{border-radius:11px;min-height:42px;margin:0}.owner-admin-message{border-radius:10px;margin:0;padding:.52rem .58rem;font-size:.74rem;line-height:1.35}.owner-admin-message.error{color:#9a2f24;background:#fff0ee}.owner-admin-message.success{color:#216b42;background:#e8f7ee}.owner-trusted-heading,.owner-trusted-item-heading{justify-content:space-between;align-items:center;gap:.48rem;display:flex}.owner-trusted-list{overscroll-behavior:contain;gap:.48rem;max-height:560px;display:grid;overflow-y:auto}.owner-trusted-item{border:1px solid var(--color-border);background:#fff;border-radius:13px;gap:.48rem;min-width:0;padding:.58rem;display:grid}.owner-trusted-item-heading strong{overflow-wrap:anywhere;min-width:0;font-size:.78rem}.owner-trusted-status{text-transform:uppercase;border-radius:999px;flex:none;padding:.18rem .42rem;font-size:.65rem;font-weight:800}.owner-trusted-status.active{color:#216b42;background:#e0f4e8}.owner-trusted-status.revoked{color:#6b6b6b;background:#f1f1f1}.owner-trusted-item dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.36rem;margin:0;display:grid}.owner-trusted-item dl>div{background:var(--color-surface-subtle);border-radius:9px;min-width:0;padding:.38rem}.owner-trusted-item dt{color:var(--color-text-muted);font-size:.62rem}.owner-trusted-item dd{color:var(--color-text);margin:.12rem 0 0;font-size:.7rem;font-weight:700}.owner-trusted-uid{overflow-wrap:anywhere}.owner-trusted-item>.danger{color:#9a2f24;border-color:#e8b0a9}@media (width<=420px){.owner-admin-form>div,.owner-trusted-item dl{grid-template-columns:1fr}.owner-admin-form button{width:100%}}@media (width<=380px){.profile-screen .profile-card .profile-field{grid-template-columns:1fr;gap:.24rem}.profile-screen .language-switch.compact{justify-self:start}}@media (width>=720px){.profile-screen .profile-card{padding:.75rem}.profile-screen .profile-card .profile-field{grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr)}}.today-screen .meal-entry-copy strong{font-size:.76rem}.today-screen .meal-entry-copy p{font-size:.65rem}@media (width>=640px){.today-screen .meal-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}}.food-screen{gap:.48rem}.food-screen .food-tabs-card{z-index:8;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#2a2520f0;border-radius:16px;position:sticky;top:.35rem;box-shadow:0 8px 24px #120e0b2e;padding:.3rem!important}.food-screen .food-tabs{background:#ffffff06;border:1px solid #e8a87c1f;border-radius:13px;gap:.2rem;padding:.16rem}.food-screen .food-tab{text-align:center;background:0 0;border-color:#0000;border-radius:10px;min-height:48px;padding:.38rem .18rem;font-size:clamp(.61rem,2.7vw,.7rem);line-height:1.15}.food-screen .food-tab.active{background:linear-gradient(145deg,#e8a87c38,#d37e5b1f);border-color:#e8a87c3d;box-shadow:0 4px 12px #120e0b33,inset 0 1px #ffffff0f}.food-screen .food-card,.food-screen .history-card,.food-screen .frequent-foods-card,.food-screen .recent-controls-card,.food-screen .camera-card{padding:.68rem .72rem}.food-screen .recent-controls-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.food-screen .frequent-foods-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;display:grid;overflow:visible}.food-screen .frequent-food-chip{background:#ffffff09;border:1px solid #e8a87c1f;border-radius:14px;min-width:0;padding:.55rem}.food-screen .frequent-food-chip .secondary-button{width:100%;min-height:34px;margin-top:.2rem;padding-block:.35rem}.food-screen .recent-list{overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;max-height:286px;padding-right:.12rem;display:grid;overflow-y:auto}.food-screen .recent-item{background:#ffffff09;border:1px solid #e8a87c1f;border-radius:14px;flex-direction:column;justify-content:space-between;align-items:stretch;min-width:0;padding:.55rem}.food-screen .recent-item p{margin-top:.16rem;font-size:.72rem;line-height:1.3}.food-screen .recent-item .secondary-button{width:100%;min-height:34px;padding-block:.35rem}.food-screen .barcode-panel{gap:.45rem}.food-screen .barcode-preview{margin-bottom:.15rem}.food-screen .camera-stage{max-height:min(48vh,360px)}.food-camera-panel,.food-camera-panel .screen-stack{min-width:0}.food-camera-panel .camera-card{gap:.48rem;display:grid}.food-camera-panel .camera-preview{height:clamp(150px,38vh,300px);min-height:150px;margin:0}.food-camera-panel .camera-copy{margin:0;padding-top:.15rem}.food-camera-panel .ai-usage-row,.food-camera-panel .camera-actions{margin-top:0}@media (width>=560px){.food-screen .frequent-foods-strip,.food-screen .recent-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.food-screen .last-used-card{padding:.58rem .62rem}.food-screen .last-used-card h3{margin-bottom:.38rem;font-size:.88rem}.food-screen .last-used-grid{grid-auto-rows:1fr;gap:.36rem}.food-screen .last-used-item{border-radius:12px;flex-direction:column;align-items:stretch;height:100%;min-height:132px;padding:.48rem;display:flex}.food-screen .last-used-item strong{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.3em;font-size:.78rem;line-height:1.15;display:-webkit-box;overflow:hidden}.food-screen .last-used-item .last-used-meta{color:var(--color-text);white-space:nowrap;justify-content:space-between;align-items:center;gap:.3rem;margin-top:.28rem;font-size:.7rem;font-weight:700;display:flex}.food-screen .last-used-item .last-used-meta span{color:inherit;font-size:inherit;margin:0}.food-screen .last-used-item .last-used-count{margin-top:.16rem;font-size:.64rem;line-height:1.2}.food-screen .last-used-item .secondary-button{min-height:32px;margin-top:auto;padding:.3rem .5rem;font-size:.72rem}@media (width<=350px){.food-screen .last-used-item .last-used-meta{font-size:.65rem}}.food-screen .food-recent-panel{gap:.46rem;min-width:0;display:grid}.food-screen .food-recent-panel .section-card{padding:.58rem .62rem}.food-screen .food-recent-panel .section-card h3{margin-bottom:.38rem;font-size:.88rem}.food-screen .food-recent-panel .recent-controls-card{gap:.4rem}.food-screen .food-recent-panel .field-row{gap:.2rem}.food-screen .food-recent-panel .field-row>label{font-size:.7rem}.food-screen .food-recent-panel .field-row input,.food-screen .food-recent-panel .field-row select{min-height:40px;padding-block:.45rem;font-size:.82rem}.food-screen .food-recent-panel .recent-list{gap:.36rem;max-height:270px}.food-screen .food-recent-panel .recent-item{border-radius:12px;gap:.34rem;height:100%;min-height:118px;padding:.48rem}.food-screen .food-recent-panel .recent-item strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.3em;font-size:.78rem;line-height:1.15;display:-webkit-box;overflow:hidden}.food-screen .food-recent-panel .recent-item p{margin:.18rem 0 0;font-size:.68rem;line-height:1.25}.food-screen .food-recent-panel .recent-item .secondary-button,.food-screen .food-recent-panel .last-used-item .secondary-button{width:100%;min-height:40px;margin-top:auto;padding:.42rem .55rem;font-size:.74rem}@media (width<=350px){.food-screen .food-recent-panel{gap:.4rem}.food-screen .food-recent-panel .section-card{padding-inline:.52rem}}.recipes-screen .recipe-builder-card{padding:.62rem .68rem}.recipes-screen .recipe-builder-card>h3{margin-bottom:.4rem;font-size:.9rem}.recipes-screen .recipe-builder{gap:.4rem}.recipes-screen .recipe-builder .field-label{gap:.22rem}.recipes-screen .recipe-builder .field-label>span{font-size:.7rem}.recipes-screen .recipe-builder input,.recipes-screen .recipe-builder select{border-radius:11px;min-height:38px;padding:.42rem .62rem;font-size:.82rem}.recipes-screen .recipe-builder .primary-button,.recipes-screen .recipe-builder .secondary-button{border-radius:11px;min-height:40px;padding:.45rem .62rem!important;font-size:.78rem!important}.recipes-screen .recipe-builder .primary-button{margin-top:.45rem!important}.recipes-screen .recipe-builder>div[style]{margin-top:.52rem!important;margin-bottom:.52rem!important}.recipes-screen .recipe-builder>div[style]>p:first-child{margin-bottom:.4rem!important;font-size:.7rem!important}.recipes-screen .recipe-builder div[style*=grid-template-columns],.recipes-screen .recipe-builder div[style*="flex-direction: column"]{gap:.38rem!important}.recipes-screen .recipe-builder div[style*="justify-content: space-between"]{gap:.45rem;border-radius:12px!important;padding:.55rem!important}.recipes-screen .recipe-builder div[style*="justify-content: space-between"] strong{font-size:.8rem;line-height:1.2}.recipes-screen .recipe-builder div[style*="justify-content: space-between"] p{font-size:.7rem!important}.recipes-screen .recipe-builder>div[style*=background-color]{border-radius:12px!important;padding:.65rem!important}@media (width>=560px){.recipes-screen .recipe-builder{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.recipes-screen .recipe-builder>div,.recipes-screen .recipe-builder>button,.recipes-screen .recipe-builder>p{grid-column:1/-1}}.ai-camera-screen{gap:.45rem}.ai-camera-screen .ai-camera-card{gap:.45rem;padding:.62rem .68rem;display:grid;overflow:hidden}.ai-camera-screen .ai-camera-card>h3{margin-bottom:.08rem;font-size:.92rem}.ai-camera-screen .camera-preview{border:1px solid var(--color-border);background:linear-gradient(145deg, var(--color-primary-soft), var(--color-surface-subtle));border-radius:18px;width:100%;height:clamp(160px,34vh,280px);min-height:0;margin:0;box-shadow:inset 0 1px #fffc,0 6px 18px #1c372814}.ai-camera-screen .camera-circle{border-color:#21865347;width:92px;height:92px;box-shadow:inset 0 0 0 8px #ffffff8c,0 0 0 12px #21865314}.ai-camera-screen .camera-actions{gap:.4rem;margin:0;display:grid}.ai-camera-screen .camera-actions .primary-button,.ai-camera-screen .camera-actions .secondary-button{width:100%;margin-top:0}.ai-camera-screen .camera-capture-button{background:var(--color-primary);color:#fff;min-height:50px;font-size:.96rem;box-shadow:0 7px 18px #21865338}.ai-camera-screen .camera-capture-button:hover{background:var(--color-primary-dark)}.ai-camera-screen .image-source-menu{border-color:var(--color-border);background:var(--color-surface-subtle);border-radius:14px;gap:.4rem;padding:.52rem}.ai-camera-screen .ai-usage-row,.ai-camera-screen .camera-copy{margin:0;font-size:.74rem;line-height:1.3}.ai-camera-screen .ai-analysis-card{border-color:var(--color-border);background:#fff;border-radius:16px;gap:.48rem;margin-top:.1rem;padding:.65rem;box-shadow:0 6px 18px #1c372814}.ai-camera-screen .ai-analysis-header{color:var(--color-text);gap:.5rem}.ai-camera-screen .ai-food-list{gap:.4rem}.ai-camera-screen .ai-food-row{border-color:var(--color-border);background:var(--color-surface-subtle);border-radius:12px;padding:.55rem}.ai-camera-screen .ai-warning{border-radius:12px;padding:.55rem .62rem;font-size:.76rem}@media (width>=640px){.ai-camera-screen .camera-preview{height:min(38vh,320px)}.ai-camera-screen .camera-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-camera-screen .camera-actions>:only-child,.ai-camera-screen .camera-actions .image-source-menu{grid-column:1/-1}}.food-screen .barcode-screen-panel{gap:.42rem}.food-screen .barcode-screen-panel>.muted-copy:first-of-type{background:var(--color-surface-subtle);border-radius:11px;margin:0;padding:.42rem .5rem;font-size:.72rem;line-height:1.35}.food-screen .barcode-screen-panel .barcode-main-field{border:1px solid var(--color-border);background:#fff;border-radius:15px;gap:.24rem;padding:.58rem;box-shadow:0 5px 16px #1c372812}.food-screen .barcode-screen-panel .barcode-main-field>span{color:var(--color-text);font-size:.78rem;font-weight:700}.food-screen .barcode-screen-panel .barcode-main-field input{border:2px solid var(--color-primary);letter-spacing:.04em;border-radius:12px;min-height:48px;font-size:1rem;font-weight:700}.food-screen .barcode-screen-panel>.water-actions:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;margin-top:0;display:grid}.food-screen .barcode-screen-panel>.water-actions:first-of-type .primary-button,.food-screen .barcode-screen-panel>.water-actions:first-of-type .secondary-button{width:100%;min-height:44px;margin-top:0;padding:.48rem .58rem;font-size:.78rem}.food-screen .barcode-screen-panel .barcode-camera-button{background:var(--color-primary);color:#fff;box-shadow:0 5px 14px #21865333}.food-screen .barcode-screen-panel .barcode-preview{border:1px solid var(--color-border);background:var(--color-surface-subtle);border-radius:15px;margin:0}.food-screen .barcode-screen-panel .camera-stage{border-radius:15px;min-height:150px;max-height:min(42vh,300px)}.food-screen .barcode-screen-panel .camera-video,.food-screen .barcode-screen-panel .camera-overlay{border-radius:15px}.food-screen .barcode-screen-panel .barcode-camera-guidance{margin:0;font-size:.72rem;line-height:1.3}.food-screen .barcode-screen-panel .barcode-result{border-color:var(--color-border);color:var(--color-text);background:#fff;border-radius:15px;gap:.45rem;margin-top:.08rem;padding:.62rem;box-shadow:0 6px 18px #1c372814}.food-screen .barcode-screen-panel .barcode-result>strong{color:var(--color-text);font-size:.9rem;line-height:1.25}.food-screen .barcode-screen-panel .barcode-result>p{color:var(--color-text-muted);margin:0;font-size:.74rem;line-height:1.35}.food-screen .barcode-screen-panel .barcode-controls{gap:.4rem}.food-screen .barcode-screen-panel .barcode-result .water-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.36rem;margin-top:0;display:grid}.food-screen .barcode-screen-panel .barcode-result .secondary-button{width:100%;min-height:40px;padding:.42rem .5rem;font-size:.74rem}@media (width<=350px){.food-screen .barcode-screen-panel>.water-actions:first-of-type,.food-screen .barcode-screen-panel .barcode-result .water-actions{grid-template-columns:1fr}}.today-dashboard-card{gap:.22rem;padding:.78rem}.today-heading h2{font-size:1.28rem;line-height:1.15}.today-dashboard-card .hero-date{color:var(--color-text-muted);font-size:.8rem}.today-dashboard-card .diary-date-controls{margin-top:.38rem}.today-calorie-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin-top:.3rem;display:grid}.today-calorie-card{border:1px solid var(--color-border);background:var(--color-surface-subtle);border-radius:14px;gap:.12rem;min-width:0;padding:.55rem .62rem;display:grid}.today-calorie-card span{color:var(--color-text-muted);font-size:.72rem;line-height:1.25}.today-calorie-card strong{color:var(--color-text);font-size:.98rem;line-height:1.2}.today-screen .summary-card{padding-bottom:.62rem}.today-screen .progress-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.28rem}.today-screen .circular-progress-card{gap:.12rem}.today-screen .circular-progress-svg{width:clamp(58px,18vw,78px);height:clamp(58px,18vw,78px)}.today-screen .progress-track,.today-screen .progress-bar{stroke-width:10px}.today-screen .circular-progress-copy{text-align:center;gap:.02rem;font-size:.66rem;line-height:1.15}.today-screen .circular-progress-copy strong{color:var(--color-text);font-size:.82rem}.today-screen .meal-group{border:1px solid var(--color-border);background:var(--color-surface-subtle);border-radius:15px;gap:.38rem;padding:.55rem;display:grid}.today-screen .meal-row{border:0;padding:0}.today-screen .meal-row strong{color:var(--color-text);font-size:.9rem}.today-screen .meal-count{color:var(--color-text-muted);font-weight:600}.today-screen .meal-row p{margin-top:.04rem;font-size:.72rem}.today-screen .meal-entry-row{border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.35rem .5rem;min-width:0;padding:.52rem .58rem;display:grid;box-shadow:0 3px 10px #1c37280d}.today-screen .meal-entry-copy{min-width:0}.today-screen .meal-entry-copy strong{overflow-wrap:anywhere;color:var(--color-text);font-size:.84rem;line-height:1.25;display:block}.today-screen .meal-entry-copy p{color:var(--color-text-muted);margin-top:.12rem;font-size:.72rem}.today-screen .diary-entry-actions{justify-content:flex-end;gap:.25rem}.today-screen .diary-entry-actions .text-button{min-height:34px;padding:.25rem .38rem;font-size:.74rem}.today-screen .diary-edit-form{background:var(--color-surface-subtle);grid-column:1/-1;margin-top:.08rem}.today-screen .meal-empty-state{border:1px dashed var(--color-border);background:var(--color-surface);min-height:38px;color:var(--color-text-muted);border-radius:11px;align-items:center;gap:.4rem;padding:.4rem .5rem;display:flex}.today-screen .meal-empty-state>span{background:var(--color-primary-soft);width:24px;height:24px;color:var(--color-primary);border-radius:50%;flex:0 0 24px;place-items:center;font-size:.9rem;display:grid}@media (width<=374px){.today-screen .circular-progress-svg{width:56px;height:56px}.today-screen .circular-progress-copy{font-size:.61rem}.today-screen .meal-entry-row{grid-template-columns:1fr}.today-screen .diary-entry-actions{justify-content:flex-start}}@media (width>=768px){.today-screen .meal-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (width<=480px){.section-card{padding:.95rem}.primary-button,.secondary-button{justify-content:center;width:100%}.food-screen-shell .water-actions,.recent-item{flex-direction:column}}@keyframes spin{to{transform:rotate(360deg)}}.diary-notification{z-index:1000;top:max(.75rem, env(safe-area-inset-top));border:1px solid var(--color-border);width:min(100% - 1.5rem,420px);color:var(--color-text);text-align:center;pointer-events:none;background:#fff;border-radius:14px;padding:.75rem 1rem;font-size:.9rem;font-weight:700;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #1c37282e}.diary-notification.success{background:var(--color-primary-soft);color:var(--color-primary-dark);border-color:#b9ddc8}.diary-notification.error{color:var(--color-error);background:#fff1f1;border-color:#efb4b4}.app-shell{background:var(--color-surface-subtle);color:var(--color-text)}.top-bar{padding:.7rem var(--space-page) .65rem;border-bottom:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 2px 12px #1c37280a}.top-bar h1,.section-card h3,.recent-item strong,.barcode-result strong,.ai-analysis-header,.ai-food-main,.frequent-food-chip,.profile-field span,.weight-chart-column strong{color:var(--color-text)}.top-bar h1{font-size:1.2rem;line-height:1.25}.eyebrow{color:var(--color-primary);letter-spacing:.16em;margin-bottom:.15rem}.subtitle,.muted-copy,.metric-label,.recent-item span,.recent-item p,.meal-row p,.field-label,.field-label span,.profile-field label,.circular-progress-copy,.ai-summary-row,.ai-food-meta,.ai-macro-row,.ai-usage-row,.weight-trend-status,.weight-chart-column,.frequent-food-chip span,.weight-reminder p{color:var(--color-text-muted)}.subtitle{font-size:.8rem;line-height:1.35}.screen-content{padding:.8rem var(--space-page);padding-bottom:5.5rem}.section-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);padding:var(--space-card);box-shadow:var(--shadow-card)}.section-card h3{letter-spacing:0;margin-bottom:.7rem;font-size:1rem;font-weight:700;line-height:1.35}.food-screen-shell .section-card:before{border-color:#0000}.hero-row h2{color:var(--color-text);font-size:1.25rem;line-height:1.3}.hero-date,.hero-target-row,.camera-copy{color:var(--color-text-muted)}.hero-pill,.pill,.camera-chip{background:var(--color-primary-soft);color:var(--color-primary-dark);border-color:#cce7d7}.language-switch{border-color:var(--color-border);background:var(--color-surface-subtle)}.language-switch button{color:var(--color-text-muted)}.language-switch button.active{background:var(--color-primary);color:#fff;box-shadow:none}.primary-button,.secondary-button{border-radius:14px;min-height:44px;padding:.7rem 1rem;font-size:.9rem;font-weight:700}.primary-button{background:var(--color-primary);color:#fff;box-shadow:0 5px 14px #21865333}.primary-button:hover{background:var(--color-primary-dark)}.secondary-button{color:var(--color-primary);border:1px solid var(--color-primary);box-shadow:none;background:#fff}.text-button{color:var(--color-primary)}.primary-button:focus-visible,.secondary-button:focus-visible,.text-button:focus-visible,.nav-item:focus-visible,.food-tab:focus-visible{outline-offset:2px;outline:3px solid #21865333}.field-label input,.field-label select,.field-row input,.field-row select,.profile-field input,.profile-field select,.search-row input,.diary-date-controls input{border:1px solid var(--color-border);min-height:44px;color:var(--color-text);box-shadow:none;background:#fff;border-radius:14px}.field-label input::placeholder,.search-row input::placeholder{color:#929a95}.field-label input:focus,.field-label select:focus,.field-row input:focus,.field-row select:focus,.profile-field input:focus,.profile-field select:focus,.search-row input:focus,.diary-date-controls input:focus{border-color:var(--color-primary);background:#fff;outline:none;box-shadow:0 0 0 3px #2186531f}.progress-track{stroke:#e8eeea}.progress-track-horizontal,.progress-range-tabs{background:var(--color-surface-subtle)}.progress-fill,.weight-chart-bar{background:linear-gradient(90deg, var(--color-primary), #68b88a)}.progress-range-tabs button{color:var(--color-text-muted)}.progress-range-tabs button.active{background:var(--color-primary-soft);color:var(--color-primary-dark);border-color:#cce7d7}.meal-row,.recent-item,.profile-card .profile-field{border-bottom-color:var(--color-border)}.frequent-food-chip,.diary-edit-form,.image-source-menu,.ai-analysis-card,.ai-food-row,.barcode-result,.ingredient-card,.recipe-summary,.mini-metric,.weight-reminder,.weight-trend-status,.progress-empty{background:var(--color-surface-subtle);border-color:var(--color-border);color:var(--color-text)}.ai-warning,.ai-limit-card{color:#725b20;background:#fff8e8;border-color:#f0dfb2}.ai-limit-card strong,.ai-limit-card p{color:#725b20}.barcode-error{color:var(--color-error)}.barcode-camera-guidance{color:var(--color-text-muted)}.food-tab{background:var(--color-surface-subtle);color:var(--color-text-muted);border-color:var(--color-border)}.food-tab:hover{background:var(--color-primary-soft);border-color:#cce7d7}.food-tab.active{background:var(--color-primary-soft);color:var(--color-primary-dark);border-color:#b9ddc8}.bottom-nav{padding:.4rem .45rem calc(.4rem + env(safe-area-inset-bottom));border-top:1px solid var(--color-border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;gap:.1rem;box-shadow:0 -5px 18px #1c37280f}.nav-item{color:#8a928d;border-radius:12px;gap:.1rem;padding:.25rem .1rem}@media (width>=768px){.screen-content{padding:1rem 1.5rem 6rem}.top-bar{padding:.8rem 1.5rem .7rem}}.app-shell{overflow-x:clip}.screen-content{width:100%;max-width:1280px;padding:1rem 1rem calc(6rem + env(safe-area-inset-bottom));margin-inline:auto}.screen-stack{gap:.58rem}.section-card{border-radius:22px;min-width:0;padding:1rem}.section-card h3{font-size:var(--font-card-title);margin-bottom:.7rem}.hero-card{gap:.3rem}.hero-row,.metric-row,.hero-target-row,.meal-row,.profile-field,.recent-item{gap:.45rem}.hero-row h2{font-size:1.12rem}.hero-date,.hero-target-row{font-size:.82rem}.hero-pill,.pill,.camera-chip{padding:.22rem .5rem;font-size:.72rem}.progress-grid,.metric-grid{gap:.48rem}.circular-progress-card{gap:.25rem;padding:.1rem 0}.circular-progress-svg{width:112px;height:112px}.meal-list,.recent-list,.form-stack{gap:.42rem}.meal-row,.recent-item,.profile-card .profile-field{padding-block:.42rem}.field-row{gap:.3rem;min-width:0;display:grid}.field-row>label{color:var(--color-text-muted);font-size:.78rem}.profile-field{flex-wrap:wrap;min-width:0}.profile-field>label{flex:36%;min-width:0}.profile-field>input,.profile-field>select{flex:0 60%;width:min(60%,320px);min-width:0}.profile-field>p{flex:0 0 100%}.field-label,.form-stack,.search-row,.barcode-panel,.barcode-controls{gap:.42rem}.field-label,.profile-field label,.field-label span{font-size:var(--font-secondary)}.app-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.app-shell select,.app-shell textarea{width:100%;max-width:100%;min-height:44px;font-size:var(--font-body);border-radius:12px;padding:.7rem .85rem;line-height:1.25}.app-shell textarea{resize:vertical;min-height:78px}.primary-button,.secondary-button{border-radius:12px;min-height:44px;padding:.7rem 1rem}.primary-button{margin-top:.5rem}.water-actions,.chip-row{gap:.4rem;margin-top:.48rem}.diary-date-controls{grid-template-columns:40px minmax(0,1fr) 40px;gap:.35rem;margin-top:.52rem}.diary-date-controls .secondary-button{width:40px;min-width:40px;min-height:40px;padding:0}.diary-date-controls input[type=date]{text-align:center;min-width:0;min-height:40px;padding:.45rem .6rem}.diary-date-controls .text-button{min-height:30px}.food-tabs-card{padding:.42rem!important}.food-tabs{gap:.32rem}.food-tab{border-radius:11px;min-width:0;padding:.45rem .25rem;font-size:.7rem}.frequent-foods-strip{gap:.42rem}.frequent-food-chip{flex-basis:145px;padding:.52rem .58rem}.camera-actions,.ai-food-list,.ai-analysis-card{gap:.42rem}.ai-analysis-card,.ai-food-row,.barcode-result,.ingredient-card,.recipe-summary,.mini-metric,.weight-reminder,.diary-edit-form{padding:.62rem}.progress-metric-grid{gap:.45rem}.weight-chart{min-height:165px;margin-top:.55rem}.top-bar{gap:.6rem;padding:.5rem .75rem .48rem}.top-bar h1{font-size:var(--font-screen-title)}.eyebrow{margin-bottom:.08rem;font-size:.75rem}.subtitle{font-size:var(--font-secondary);margin-top:.08rem}.language-switch button{min-height:32px;padding:.25rem .52rem}.bottom-nav{min-height:58px;padding:.3rem .35rem calc(.3rem + env(safe-area-inset-bottom))}.nav-item{min-width:0;min-height:44px;padding:.18rem .05rem;font-size:.75rem;line-height:1.15}.nav-icon{font-size:1.15rem}.hero-row>*,.metric-row>*,.meal-row>*,.recent-item>*,.food-tabs>*,.progress-grid>*,.metric-grid>*{min-width:0}@media (width>=1024px){.screen-content{padding:.8rem 1.25rem 5rem}.top-bar{padding:.58rem 1.25rem .52rem}}.today-screen{gap:.42rem}.today-screen .meals-card{padding:.58rem .62rem}.today-screen .meal-list{gap:.36rem}.today-screen .meal-group{border-radius:12px;gap:.28rem;padding:.42rem}.today-screen .meal-row{min-height:28px}.today-screen .meal-row strong{font-size:.95rem}.today-screen .meal-row p{font-size:.82rem}.today-screen .meal-empty-state{border-radius:9px;min-height:32px;padding:.28rem .38rem}.today-screen .meal-empty-state p{font-size:.85rem}.today-screen .meal-entry-row{border-radius:10px;gap:.28rem .4rem;padding:.4rem .46rem}.food-screen .food-tabs-card{border-color:var(--color-border);background:#fffffff5;box-shadow:0 7px 20px #1c372817}.food-screen .food-tabs{border-color:var(--color-border);background:var(--color-surface-subtle)}.food-screen .food-tab{color:var(--color-text-muted);background:#fff;border-color:#0000}.food-screen .food-tab:hover,.food-screen .food-tab.active{background:var(--color-primary-soft);color:var(--color-primary-dark);box-shadow:none;border-color:#b9ddc8}.food-screen .frequent-foods-strip,.food-screen .last-used-grid{grid-template-columns:none;gap:.38rem;display:flex;overflow:auto hidden}.food-screen .frequent-food-chip,.food-screen .last-used-item{border-color:var(--color-border);background:var(--color-surface-subtle);min-width:148px;color:var(--color-text);flex:0 0 148px}.food-screen .frequent-food-chip .secondary-button,.food-screen .last-used-item .secondary-button,.food-screen .food-recent-panel .recent-item .secondary-button{border-color:var(--color-primary);background:var(--color-primary);color:#fff}.food-screen .food-recent-panel .recent-item{border-color:var(--color-border);background:var(--color-surface-subtle);color:var(--color-text)}@media (width<=767px){.app-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.app-shell select,.app-shell textarea{font-size:16px!important}.recipes-screen .recipe-builder,.recipes-screen .recipe-builder .ingredient-grid,.recipes-screen .recipe-builder .ingredient-card{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.recipes-screen .recipe-builder .ingredient-card{grid-template-columns:minmax(0,1fr);gap:.55rem;display:grid;overflow:hidden}.recipes-screen .recipe-builder .ingredient-card input,.recipes-screen .recipe-builder .ingredient-card select{box-sizing:border-box;display:block;width:100%!important;min-width:0!important;max-width:100%!important;font-size:16px!important}.recipes-screen .recipe-builder .ingredient-card .secondary-button{width:100%;min-width:0}}.nutrition-values{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;width:100%;min-width:0;max-width:100%;margin:.65rem 0;display:grid}.nutrition-values-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;margin:.42rem 0}.nutrition-value-card{background:#ffffffad;border:1px solid #4f5e4c1f;border-radius:.85rem;min-width:0;padding:.55rem .6rem;box-shadow:0 .25rem .8rem #4840370f}.nutrition-value-card span{overflow-wrap:normal;word-break:normal;writing-mode:horizontal-tb;color:var(--muted-text,#6f756c);font-size:.72rem;line-height:1.2;display:block}.nutrition-values-compact .nutrition-value-card{box-shadow:none;border-radius:.68rem;padding:.42rem .46rem}.nutrition-values-compact .nutrition-value-card span{font-size:.66rem}.nutrition-values-compact .nutrition-value-card strong{margin-top:.18rem;font-size:.82rem}.nutrition-value-card strong{color:var(--text-color,#3f463d);margin-top:.3rem;font-size:.98rem;line-height:1.15;display:block}.nutrition-value-card small{font-size:.72em;font-weight:600}.nutrition-value-calories{border-top:3px solid #e8a87c}.nutrition-value-protein{border-top:3px solid #a8b8a1}.nutrition-value-carbs{border-top:3px solid #c5a8d8}.nutrition-value-fat{border-top:3px solid #9cb8d8}.nutrition-values-caption{margin:.85rem 0 .25rem;font-size:.78rem;font-weight:700}@media (width<=560px){.nutrition-values-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}.pwa-update-banner{z-index:950;right:.75rem;bottom:calc(5.2rem + env(safe-area-inset-bottom));width:min(100% - 1.5rem,480px);color:var(--color-primary-dark);background:#fafffcfa;border:1px solid #b9ddc8;border-radius:18px;justify-content:space-between;align-items:center;gap:.75rem;margin-inline:auto;padding:.65rem .7rem .65rem .85rem;font-size:.82rem;font-weight:750;display:flex;position:fixed;left:.75rem;box-shadow:0 14px 34px #1c4b3233}.pwa-update-banner button{background:var(--color-primary);color:#fff;min-width:88px;min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:.45rem .75rem}.pwa-update-banner button:disabled{cursor:wait;opacity:.65}@media (width>=1024px){.pwa-update-banner{bottom:6.4rem}}.food-screen .last-used-item{flex-basis:min(220px,100vw - 4rem);min-width:0}.food-screen .last-used-item .nutrition-values{overflow-x:visible}.app-shell{background:radial-gradient(circle at 12% 0,#83d5a924,#0000 28rem),linear-gradient(#fbfdfc 0%,#f7faf8 100%)}.section-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe0;border-color:#c9dacfb8;border-radius:24px;box-shadow:0 14px 38px #1c372816}button{-webkit-tap-highlight-color:transparent}.primary-button,.secondary-button,.text-button,.food-tab,.profile-summary-tile,.profile-choice-list button,.selection-card,.add-food-menu button,.quick-add-list button{transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s,background-color .18s,border-color .18s}.primary-button:active,.secondary-button:active,.text-button:active,.food-tab:active,.profile-summary-tile:active,.profile-choice-list button:active,.selection-card:active,.add-food-menu button:active,.quick-add-list button:active{transform:scale(.975)}.today-dashboard-card{background:linear-gradient(145deg,#fffffffa,#ebf8f1f0);overflow:hidden}.today-calorie-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.today-calorie-card{background:#ffffffc2;border:1px solid #c7dbcfc7;border-radius:18px;min-height:76px;box-shadow:0 8px 24px #29583d0f}.today-calorie-card span{color:var(--color-text);font-weight:750;line-height:1.35}.today-calorie-card:first-child{background:linear-gradient(145deg,#fff,#fff7ed)}.today-calorie-card:last-child{background:linear-gradient(145deg,#fff,#eef9f3)}.today-energy-overview{background:#ffffffad;border-radius:22px;justify-content:center;align-items:center;gap:1.25rem;margin-top:.8rem;padding:1rem;display:flex}.daily-energy-ring{aspect-ratio:1;background:conic-gradient(#f29b52 var(--daily-progress), #edf1ee 0);border-radius:50%;flex:0 0 184px;place-items:center;width:184px;animation:.62s cubic-bezier(.2,.8,.2,1) both metric-ring-in;display:grid;box-shadow:0 16px 32px #f29b522b}.daily-energy-ring:before{content:"";aspect-ratio:1;background:#fffffff5;border-radius:50%;width:146px;position:absolute;box-shadow:inset 0 0 0 1px #e2e8e3cc}.daily-energy-ring{position:relative}.daily-energy-ring>div{z-index:1;justify-items:center;line-height:1.1;display:grid;position:relative}.daily-energy-ring strong{color:#dd7825;font-size:2rem}.daily-energy-ring small{color:var(--color-text-muted);font-weight:700}.daily-energy-ring span{color:var(--color-text-muted);margin-top:.35rem;font-size:.68rem}.today-energy-copy{color:var(--color-text-muted);gap:.18rem;display:grid}.today-energy-copy strong{color:var(--color-text);font-size:1.15rem}.today-metric-rings,.profile-goal-rings{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;display:grid}.circular-metric{--metric-color:#f29b52;text-align:center;justify-items:center;gap:.25rem;min-width:0;display:grid}.circular-metric-protein{--metric-color:#aa78d3}.circular-metric-carbs{--metric-color:#559ad8}.circular-metric-fat{--metric-color:#efb548}.circular-metric-water{--metric-color:#58b8dc}.circular-metric-steps{--metric-color:#4fa66f}.circular-metric-ring{aspect-ratio:1;background:conic-gradient(var(--metric-color) var(--metric-progress), color-mix(in srgb, var(--metric-color) 15%, white) 0);width:92px;box-shadow:0 9px 22px color-mix(in srgb, var(--metric-color) 20%, transparent);border-radius:50%;place-items:center;animation:.52s cubic-bezier(.2,.8,.2,1) both metric-ring-in;display:grid}.circular-metric-center{aspect-ratio:1;background:#fff;border-radius:50%;place-content:center;width:72px;display:grid}.circular-metric-center strong{color:var(--color-text);font-size:.92rem;line-height:1}.circular-metric-center small{color:var(--color-text-muted);margin-top:.16rem;font-size:.6rem}.circular-metric>span{color:var(--color-text);font-size:.72rem;font-weight:750}.circular-metric>small{color:var(--color-text-muted);font-size:.62rem}.nutrition-values-cards,.nutrition-values-detailed{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.nutrition-values-cards .nutrition-value-card,.nutrition-values-detailed .nutrition-value-card{--nutrition-tone:#f29b52;aspect-ratio:1;border:7px solid color-mix(in srgb, var(--nutrition-tone) 78%, white);box-shadow:0 10px 24px color-mix(in srgb, var(--nutrition-tone) 18%, transparent);text-align:center;background:#fff;border-radius:50%;place-content:center;justify-items:center;padding:.55rem;display:grid}.nutrition-values-cards .nutrition-value-card span,.nutrition-values-detailed .nutrition-value-card span{color:var(--color-text-muted);order:2;margin-top:.25rem;font-size:.64rem}.nutrition-values-cards .nutrition-value-card strong,.nutrition-values-detailed .nutrition-value-card strong{color:var(--color-text);order:1;margin:0;font-size:.92rem}.nutrition-value-protein{--nutrition-tone:#aa78d3!important}.nutrition-value-carbs{--nutrition-tone:#559ad8!important}.nutrition-value-fat{--nutrition-tone:#efb548!important}.nutrition-value-calories{--nutrition-tone:#f29b52!important}.nutrition-values-compact{flex-wrap:wrap;gap:.3rem;display:flex}.nutrition-values-compact .nutrition-value-card{background:color-mix(in srgb, var(--nutrition-tone,#f29b52) 13%, white);border:0;border-radius:999px;flex:0 auto;align-items:baseline;gap:.28rem;padding:.28rem .48rem;display:inline-flex}.nutrition-values-compact .nutrition-value-card span{color:var(--color-text-muted);order:1}.nutrition-values-compact .nutrition-value-card strong{color:var(--color-text);order:2;margin:0}.profile-summary-layout{gap:.75rem;display:grid}.profile-language-row,.profile-section-title,.profile-section-title>div,.profile-target-weight{justify-content:space-between;align-items:center;gap:.65rem;display:flex}.profile-language-row{color:var(--color-text-muted);padding:.25rem .2rem;font-weight:700}.profile-summary-section{border:1px solid var(--color-border);background:#f9fbfa;border-radius:20px;gap:.65rem;padding:.82rem;display:grid}.profile-section-title>div{justify-content:flex-start}.profile-section-title h3{margin:0}.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.profile-summary-tile{border:1px solid var(--color-border);min-height:78px;color:var(--color-text);text-align:left;background:#fff;border-radius:16px;gap:.2rem;padding:.7rem;display:grid}.profile-summary-tile span,.profile-target-weight span,.profile-choice-list span{color:var(--color-text-muted);font-size:.72rem}.profile-target-weight{border:1px solid var(--color-border);min-height:52px;color:var(--color-text);background:#fff;border-radius:15px;padding:.65rem .75rem}.profile-choice-list{gap:.45rem;display:grid}.profile-choice-list button{border:1px solid var(--color-border);min-height:58px;color:var(--color-text);text-align:left;background:#fff;border-radius:16px;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr) auto;align-items:center;gap:.5rem;padding:.65rem .75rem;display:grid}.profile-choice-list button b{color:var(--color-primary);font-size:1.25rem}.profile-goal-rings{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-goal-rings>button{background:0 0;border:0;padding:.3rem 0}.profile-save-success{background:var(--color-primary-soft);color:var(--color-primary-dark);border-radius:17px;justify-content:center;align-items:center;gap:.55rem;padding:.75rem;display:flex}.profile-save-success>span{aspect-ratio:1;background:var(--color-primary);color:#fff;border-radius:50%;place-items:center;width:34px;font-size:1.2rem;animation:.42s cubic-bezier(.2,.8,.2,1) success-check-in;display:grid}.modal-backdrop{z-index:1400;padding-top:env(safe-area-inset-top);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f322857;align-items:end;animation:.18s both backdrop-in;display:grid;position:fixed;inset:0}.bottom-sheet{width:min(100%,560px);max-height:min(88svh,760px);padding:.5rem 1rem calc(1rem + env(safe-area-inset-bottom));background:#fcfefdfa;border:1px solid #fffc;border-radius:28px 28px 0 0;margin-inline:auto;animation:.36s cubic-bezier(.18,.86,.28,1.08) both sheet-in;overflow-y:auto;box-shadow:0 -22px 56px #18342538}.bottom-sheet-handle{background:#d5ded8;border-radius:999px;width:42px;height:5px;margin:.1rem auto .65rem}.bottom-sheet-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.85rem;display:flex}.bottom-sheet-heading h2{color:var(--color-text);font-size:1.15rem}.modal-close-button{width:44px;min-width:44px;min-height:44px;color:var(--color-text);background:#eef3f0;border:0;border-radius:50%;font-size:1.45rem}.bottom-sheet-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-top:.85rem;display:grid}.bottom-sheet-actions .primary-button{margin:0}.welcome-ai-gift-sheet{width:min(100%,520px)}.welcome-ai-gift-sheet .modal-close-button{display:none}.welcome-ai-gift-sheet .bottom-sheet-heading{margin-bottom:.55rem}.welcome-ai-gift-sheet .bottom-sheet-heading h2{font-size:1.3rem}.welcome-ai-gift-content{color:var(--color-text);gap:.65rem;display:grid}.welcome-ai-gift-content p,.welcome-ai-gift-content ul{margin:0}.welcome-ai-gift-subtitle,.welcome-ai-gift-content small{color:var(--color-text-muted)}.welcome-ai-gift-content ul{gap:.45rem;padding:0;list-style:none;display:grid}.welcome-ai-gift-content li{background:var(--color-primary-soft);border-radius:16px;padding:.65rem .75rem}.welcome-ai-gift-content small{text-align:center}.welcome-ai-gift-content .primary-button{width:100%;margin:.15rem 0 0}.welcome-ai-gift-error{color:var(--color-danger,#9f2f2f);font-weight:700}.selection-card-list{gap:.55rem;display:grid}.selection-card{border:1px solid var(--color-border);min-height:70px;color:var(--color-text);text-align:left;background:#fff;border-radius:18px;grid-template-columns:46px minmax(0,1fr) 32px;align-items:center;gap:.65rem;padding:.65rem .75rem;display:grid}.selection-card.selected{background:var(--color-primary-soft);border-color:#91cbaa;box-shadow:0 8px 22px #2186531a}.selection-card-icon{aspect-ratio:1;background:#f0f5f2;border-radius:14px;place-items:center;width:44px;font-size:1.2rem;display:grid}.selection-card-copy{gap:.12rem;display:grid}.selection-card-copy small{color:var(--color-text-muted)}.selection-check{color:var(--color-primary);font-size:1.2rem;font-weight:900}.sheet-value-field{color:var(--color-text-muted);gap:.45rem;font-weight:700;display:grid}.sheet-value-field>div{border:1px solid var(--color-border);background:#fff;border-radius:17px;align-items:center;gap:.5rem;padding:.25rem .65rem;display:flex}.sheet-value-field input{flex:1;min-width:0;font-weight:800;box-shadow:none!important;background:0 0!important;border:0!important;font-size:1.25rem!important}.sheet-value-field b{color:var(--color-text-muted)}.food-fab{z-index:800;right:max(1rem,50vw - 480px + 1rem);bottom:calc(4.8rem + env(safe-area-inset-bottom));aspect-ratio:1;color:#fff;background:linear-gradient(145deg,#2b9a61,#197344);border:0;border-radius:20px;width:58px;font-size:1.8rem;position:fixed;box-shadow:0 14px 28px #2186534d}.add-food-menu,.quick-add-list{gap:.55rem;display:grid}.add-food-menu button{border:1px solid var(--color-border);min-height:64px;color:var(--color-text);text-align:left;background:#fff;border-radius:18px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.65rem .75rem;display:grid}.add-food-menu button>span{aspect-ratio:1;background:var(--color-primary-soft);border-radius:14px;place-items:center;width:42px;display:grid}.quick-add-list button{border:1px solid var(--color-border);min-height:62px;color:var(--color-text);text-align:left;background:#fff;border-radius:17px;grid-template-columns:44px minmax(0,1fr) 32px;align-items:center;gap:.65rem;padding:.6rem .7rem;display:grid}.quick-add-list button.selected{background:var(--color-primary-soft);border-color:#91cbaa}.quick-add-list button>span:nth-child(2){gap:.1rem;min-width:0;display:grid}.quick-add-list button small{color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quick-food-icon{aspect-ratio:1;background:#fff4df;border-radius:14px;place-items:center;width:42px;display:grid}.quick-add-confirm{width:100%}.diary-notification.success{text-align:left;pointer-events:none;background:#fafffcf7;border-radius:22px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;min-height:72px;display:grid;overflow:hidden;box-shadow:0 18px 46px #1c4b3238}.success-check{aspect-ratio:1;background:var(--color-primary);color:#fff;border-radius:50%;place-items:center;width:44px;font-size:1.5rem;animation:.42s cubic-bezier(.2,.8,.2,1) success-check-in;display:grid}.success-confetti:before,.success-confetti:after{content:"•  •  •";color:#f3ad43;letter-spacing:.65rem;animation:.9s ease-out both confetti-fall;position:absolute}.success-confetti:after{color:#9c77cb;animation-delay:80ms;right:1rem}@keyframes backdrop-in{0%{opacity:0}}@keyframes sheet-in{0%{opacity:0;transform:translateY(36px)scale(.98)}}@keyframes metric-ring-in{0%{opacity:0;transform:scale(.78)rotate(-8deg)}}@keyframes success-check-in{0%{opacity:0;transform:scale(.45)rotate(-18deg)}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-20px)rotate(-12deg)}35%{opacity:1}to{opacity:0;transform:translateY(45px)rotate(18deg)}}@media (width<=560px){.today-energy-overview{justify-content:space-between;gap:.75rem;padding:.75rem}.daily-energy-ring{flex-basis:184px;width:184px}.daily-energy-ring:before{width:146px}.daily-energy-ring strong{font-size:1.8rem}.today-metric-rings,.profile-goal-rings,.nutrition-values-cards,.nutrition-values-detailed{grid-template-columns:repeat(2,minmax(0,1fr))}.nutrition-values-cards .nutrition-value-card,.nutrition-values-detailed .nutrition-value-card{justify-self:center;width:min(100%,112px)}}@media (width>=700px){.modal-backdrop{place-items:center;padding:1rem}.bottom-sheet{border-radius:28px;padding-bottom:1rem;animation-name:popup-in}}@keyframes popup-in{0%{opacity:0;transform:translateY(12px)scale(.94)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.screen-content{width:min(100%,1280px);margin-inline:auto}.screen-stack{gap:.85rem;animation:.26s both screen-fade-in}.section-card>h3{color:var(--color-text);letter-spacing:-.01em;margin-bottom:.75rem;font-size:.9rem}.top-bar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffc7;border-bottom:1px solid #dae5deb8}.bottom-nav{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffe6;border:1px solid #cdddd3d1;box-shadow:0 -8px 30px #1f422d1a}.nav-item{border-radius:14px;transition:transform .18s cubic-bezier(.2,.8,.2,1),background-color .18s,color .18s}.nav-item.active{background:var(--color-primary-soft);color:var(--color-primary-dark)}.nav-item:active{transform:scale(.95)}.food-search,.food-search .field-row{position:relative}.food-search .field-row label{color:var(--color-text-muted);margin-bottom:.35rem;font-size:.74rem;font-weight:750;display:block}.food-search .field-row input{background:#f8fbf9;border-color:#dce7e0;box-shadow:inset 0 1px #ffffffe6;border-radius:18px!important;padding-left:2.6rem!important}.food-search .field-row:after{content:"⌕";color:var(--color-primary);pointer-events:none;font-size:1.25rem;position:absolute;bottom:.56rem;left:.9rem}.food-search-results{z-index:20;border:1px solid var(--color-border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;border-radius:20px;gap:.45rem;margin-top:.5rem;padding:.5rem;display:grid;box-shadow:0 18px 45px #1c372824}.food-search-result{min-width:0;color:var(--color-text);text-align:left;background:#f8fbf9;border:1px solid #0000;border-radius:16px;padding:.7rem;transition:transform .18s,border-color .18s,background .18s}.food-search-result:hover{background:#fff;border-color:#b9ddc8;transform:translateY(-1px)}.food-search-state,.food-search-empty,.progress-empty{color:var(--color-text-muted);text-align:center;padding:1.5rem 1rem}.camera-card,.barcode-panel,.barcode-result,.ai-analysis-card{border-radius:22px}.camera-preview,.barcode-preview,.camera-stage{background:#edf3ef;border-radius:22px;overflow:hidden}.camera-overlay span{border-color:#ffffffe6;box-shadow:0 0 0 999px #101f164d}.barcode-result,.ai-analysis-card{border:1px solid var(--color-border);background:linear-gradient(145deg,#fff,#f5faf7);box-shadow:0 12px 32px #1c372814}.ai-analysis-header,.ai-food-main,.ai-food-meta{min-width:0}.ai-food-row{border:1px solid var(--color-border);background:#ffffffeb;border-radius:18px}.barcode-error,[role=alert]{border-radius:14px}.recipes-screen .history-card>input{background:#f8fbf9;border-radius:17px;margin-bottom:.75rem;padding-left:1rem}.recipes-screen .recent-item{border:1px solid var(--color-border);background:#f8fbf9;border-radius:18px;align-items:center;gap:.7rem;padding:.72rem}.recipe-actions-trigger{border:1px solid var(--color-border);width:44px;min-width:44px;min-height:44px;color:var(--color-primary-dark);letter-spacing:.1em;background:#fff;border-radius:14px;font-weight:900}.recipe-actions-menu .danger-action{color:var(--color-error)}.recipe-actions-menu .danger-action>span{background:#fff0f0}.recipe-confirmation{gap:.7rem;display:grid}.recipe-builder>label:first-child{border:1px solid var(--color-border);background:#f8fbf9;border-radius:18px;padding:.7rem}.recipe-builder .ingredient-card,.recipe-summary{background:#f8fbf9!important;border-radius:18px!important}.recipe-builder .secondary-button{background:#fff;border-color:#d8e5dd}.water-overview-card,.steps-overview-card{background:radial-gradient(circle at 50% 20%,#5bbedf29,#0000 62%),#ffffffe6;justify-items:center;display:grid;overflow:hidden}.water-indicator,.steps-progress-indicator{width:min(190px,58vw);animation:.62s cubic-bezier(.2,.8,.2,1) both metric-ring-in;box-shadow:0 18px 40px #3798b92e}.activity-control-card{background:linear-gradient(145deg,#fff,#f4faf6)}.activity-primary-actions{grid-template-columns:1.25fr .75fr;gap:.55rem;margin-top:.75rem;display:grid}.activity-primary-actions .primary-button,.activity-edit-button{width:100%;margin-top:0}.sheet-action-grid{gap:.55rem;display:grid}.steps-summary-card,.mini-metric{border:1px solid var(--color-border);background:#ffffffe6;border-radius:18px;box-shadow:0 8px 22px #1c37280f}.progress-summary-card{background:linear-gradient(145deg,#fff,#eef8f2)}.progress-metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.progress-metric-grid .mini-metric{align-content:center;min-height:76px;display:grid}.progress-range-tabs{background:#eef3f0;border-radius:15px;padding:.3rem}.progress-range-tabs button{border-radius:12px;transition:transform .18s,background .18s}.progress-range-tabs button.active{background:#fff;box-shadow:0 5px 16px #1c37281a}.weight-chart{border:1px solid var(--color-border);background:linear-gradient(#fbfdfc,#f3f8f5);border-radius:20px;padding:1rem .5rem .4rem}.weight-chart-bar{background:linear-gradient(#72c494,#218653);border-radius:999px 999px 8px 8px;box-shadow:0 5px 14px #21865333}.muted-copy,.weight-reminder,.meal-empty-state{border-radius:16px}.primary-button{background:linear-gradient(145deg,#2b9a61,#197344);box-shadow:0 8px 20px #2186532e}.primary-button:hover{transform:translateY(-1px);box-shadow:0 11px 25px #21865340}.secondary-button:hover{background:#f4faf6;border-color:#a8d0b8}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #2186533d}@keyframes screen-fade-in{0%{opacity:0;transform:translateY(6px)}}@media (width>=1024px){.screen-content{padding-inline:1.5rem}.today-screen,.food-screen,.recipes-screen,.water-screen,.steps-screen,.progress-screen,.profile-screen{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start}.today-screen>*,.food-screen>*,.recipes-screen>*,.water-screen>*,.steps-screen>*,.progress-screen>*,.profile-screen>*{grid-column:span 12}.water-screen>.water-overview-card,.steps-screen>.steps-overview-card{grid-column:span 5;position:sticky;top:5.5rem}.water-screen>.water-card,.steps-screen>.steps-card{grid-column:span 7}.progress-screen>.weight-reminder{grid-column:span 12}.progress-screen>.progress-summary-card{grid-column:span 5}.progress-screen>.progress-chart-card,.recipes-screen>.recipe-builder-card{grid-column:span 7}.recipes-screen>.history-card{grid-column:span 5;position:sticky;top:5.5rem}.bottom-nav{border-radius:22px;width:min(100% - 3rem,1280px);bottom:.8rem;left:50%;transform:translate(-50%)}}@media (width<=899px){.progress-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-remaining{grid-column:span 2}}@media (width<=390px){.section-card{border-radius:20px;padding:.72rem}.screen-content{padding-inline:.55rem}.today-energy-copy{font-size:.76rem}.nutrition-values-cards,.nutrition-values-detailed{gap:.38rem}.nutrition-values-cards .nutrition-value-card,.nutrition-values-detailed .nutrition-value-card{border-width:5px}.activity-primary-actions{grid-template-columns:1fr}.bottom-sheet{padding-inline:.72rem}}@media (width<=699px){.app-header-inner{padding:.64rem .75rem .56rem}.screen-content{padding-top:.62rem;padding-bottom:calc(4.9rem + env(safe-area-inset-bottom))}.today-screen{gap:.35rem}.today-screen .section-card{padding:.86rem}.today-screen .today-dashboard-card{gap:.18rem;padding:.68rem}.today-screen .today-energy-overview{gap:.6rem;margin-top:.62rem;padding:.64rem}.today-screen .daily-energy-ring{flex-basis:150px;width:150px}.today-screen .daily-energy-ring:before{width:119px}.today-screen .daily-energy-ring strong{font-size:1.55rem}.today-screen .meals-card{padding:.52rem .56rem}.today-screen .meal-list{gap:.3rem}.today-screen .meal-group{gap:.24rem;padding:.38rem}.app-navigation .bottom-nav{min-height:52px;padding:.18rem .3rem calc(.18rem + env(safe-area-inset-bottom))}.nav-item{gap:.06rem;min-height:44px;padding:.12rem .04rem;font-size:.68rem}.nav-icon{font-size:1.02rem}}@media (width<=390px){.today-screen .section-card{padding:.72rem}.today-screen .today-dashboard-card{padding:.64rem}}.app-navigation .bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.app-navigation .bottom-nav .nav-item{text-align:center;flex-direction:column;justify-content:center;justify-self:center;align-items:center;width:100%;min-width:0;max-width:112px;min-height:44px;padding:.16rem .1rem;display:flex}.app-navigation .bottom-nav .nav-item>span{text-align:center;overflow-wrap:normal;word-break:normal;max-width:100%;line-height:1.15}.app-navigation .bottom-nav .nav-icon{font-size:1.05rem;line-height:1}@media (width<=699px){.today-screen{gap:.3rem}.today-screen .today-dashboard-card{gap:.14rem;padding:.52rem}.today-screen .today-energy-overview{gap:.42rem;margin-top:.38rem;padding:.42rem}.today-screen .daily-energy-ring{flex-basis:108px;width:108px}.today-screen .daily-energy-ring:before{width:86px}.today-screen .daily-energy-ring strong{font-size:1.2rem}.today-screen .circular-metric-ring{width:84px}.today-screen .circular-metric-center{width:66px}.today-screen .circular-metric-center strong{font-size:.86rem}}@media (width>=700px) and (width<=1023px){.today-screen{gap:.7rem}.today-screen .today-dashboard-card{gap:.14rem;padding:.62rem}.today-screen .today-energy-overview{gap:.55rem;margin-top:.48rem;padding:.54rem}.today-screen .daily-energy-ring{flex-basis:120px;width:120px}.today-screen .daily-energy-ring:before{width:96px}.today-screen .daily-energy-ring strong{font-size:1.28rem}.today-screen .circular-metric-ring{width:84px}.today-screen .circular-metric-center{width:66px}.today-screen .circular-metric-center strong{font-size:.86rem}}@media (width>=1024px){.today-screen{gap:.75rem}.today-screen .today-dashboard-card{gap:.14rem;padding:.64rem}.today-screen .today-energy-overview{gap:.58rem;margin-top:.5rem;padding:.58rem}.today-screen .daily-energy-ring{flex-basis:126px;width:126px}.today-screen .daily-energy-ring:before{width:101px}.today-screen .daily-energy-ring strong{font-size:1.32rem}.today-screen .circular-metric-ring{width:76px}.today-screen .circular-metric-center{width:60px}.today-screen .circular-metric-center strong{font-size:.82rem}}.today-screen .today-calorie-card .today-remaining-calories{flex-wrap:wrap;align-items:baseline;gap:.18rem;font-size:.76rem;display:flex}.today-screen .today-calorie-card .today-remaining-calories>span:not([aria-hidden]){font-size:.76rem}.today-screen .today-remaining-calories>strong{color:var(--color-text);font-size:1.16rem;line-height:1.15}.today-screen .today-metric-rings{gap:.5rem .8rem}.quick-add-list{flex-direction:column;gap:.65rem;width:100%;display:flex}.quick-add-food-row{border:1px solid var(--color-border);background:var(--color-surface);border-radius:16px;width:100%;overflow:hidden}.quick-add-food-row.selected{border-color:var(--color-primary);background:var(--color-primary-soft)}.quick-add-food-toggle{width:100%;min-height:64px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:44px minmax(0,1fr) 28px;align-items:center;gap:.75rem;padding:.75rem .9rem;display:grid}.quick-add-food-info{flex-direction:column;gap:.2rem;min-width:0;display:flex}.quick-add-food-info strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quick-add-food-info small{color:var(--color-text-muted)}.quick-add-grams-control{padding:0 .9rem .85rem}.quick-add-grams-control label{color:var(--color-text-muted);margin-bottom:.35rem;font-size:.82rem;display:block}.quick-add-grams-input-row{align-items:center;gap:.55rem;display:flex}.quick-add-grams-input-row input{width:100%;min-width:0}.quick-add-confirm{width:100%;margin-top:.85rem}.diary-delete-button{color:#dc2626;border-radius:999px;justify-content:center;align-items:center;min-width:40px;min-height:40px;margin-left:1.4rem;padding:.6rem;font-size:1.25rem;font-weight:700;line-height:1;display:inline-flex}.diary-delete-button:hover,.diary-delete-button:focus-visible{color:#b91c1c;background:#dc262614}.today-screen .today-calorie-cards{grid-template-columns:auto;align-self:flex-start;gap:0;width:fit-content;max-width:100%;display:inline-grid}.today-screen .today-calorie-cards .today-calorie-card{min-height:0;padding:.42rem .55rem}@media (width<=560px){.app-header.top-bar{padding:0}.app-header-inner{gap:.5rem;padding:.3rem .6rem .28rem}.app-header .eyebrow{margin-bottom:.02rem;font-size:.58rem;line-height:1.05}.app-header h1{font-size:1rem;line-height:1.05}.app-header .subtitle{opacity:1;height:.74rem;margin-top:.02rem;font-size:.67rem;line-height:1.1;transition:opacity .1s;overflow:hidden}.app-header-mobile-compact .app-header-inner{padding-block:.18rem .16rem}.app-header-mobile-compact .subtitle{opacity:0;height:0;margin-top:0}.app-header .language-switch{padding:.1rem}.app-header .language-switch button{min-height:34px;padding:.18rem .42rem;font-size:.7rem}.screen-stack{gap:.55rem}.section-card,.today-screen .section-card{border-radius:20px;padding:.68rem}.today-screen{gap:.42rem}.today-screen .today-dashboard-card{gap:.08rem;padding:.58rem}.today-screen .today-dashboard-card .diary-date-controls{margin-top:.12rem}.today-screen .today-calorie-cards{margin-top:.08rem}.today-screen .today-calorie-card{border-radius:14px;min-height:0;padding:.32rem .44rem}.today-screen .today-energy-overview{border-radius:17px;gap:.45rem;margin-top:.12rem;padding:.38rem .5rem}.today-screen .daily-energy-ring{flex-basis:104px;width:104px}.today-screen .daily-energy-ring:before{width:82px}.today-screen .daily-energy-ring strong{font-size:1.16rem}.today-screen .daily-energy-ring span{margin-top:.18rem}.today-screen .daily-overview-card>h3,.today-screen .meal-overview-card>h3{margin-bottom:.42rem}.today-screen .today-metric-rings{grid-template-columns:repeat(4,minmax(0,1fr));gap:.24rem}.today-screen .circular-metric{gap:.14rem}.today-screen .circular-metric-ring{width:68px}.today-screen .circular-metric-center{width:54px}.today-screen .circular-metric-center strong{font-size:.72rem}.today-screen .circular-metric-center small,.today-screen .circular-metric>small{font-size:.54rem}.today-screen .circular-metric>span{font-size:.66rem}.today-screen .meal-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;display:grid}.today-screen .meal-card{border-radius:14px;gap:.35rem;min-height:88px;padding:.58rem .62rem}.today-screen .meal-card-copy{gap:.08rem}.today-screen .diary-open-button{min-height:44px;margin-top:.5rem;padding-block:.55rem}}.nutrition-label-flow{box-sizing:border-box;background:#ffffff0a;border:1px solid #e8a87c2e;border-radius:1.2rem;width:100%;min-width:0;max-width:42rem;margin:0 auto;padding:1rem;overflow-x:hidden}.nutrition-label-heading h3{margin:0}.nutrition-label-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:1rem;display:grid}.nutrition-label-actions button{white-space:normal;min-width:0;min-height:44px}.nutrition-label-file-input{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.nutrition-label-wide-action{grid-column:1/-1}.nutrition-label-camera{gap:.75rem;display:grid}.nutrition-label-camera-stage{aspect-ratio:3/4;background:#080a0c;border-radius:.9rem;position:relative;overflow:hidden}.nutrition-label-camera-stage video{object-fit:cover;width:100%;height:100%}.nutrition-label-camera-guide{pointer-events:none;border:2px solid #7fe0b8e6;border-radius:.75rem;position:absolute;inset:22% 8%;box-shadow:0 0 0 999px #0000003d}.nutrition-label-camera-control{gap:.35rem;display:grid}.nutrition-label-camera-control input{width:100%}.nutrition-label-soft-warning{color:#f2cf91}.nutrition-label-preview img{object-fit:contain;background:#0000002e;border-radius:.9rem;width:100%;max-height:50svh;display:block}.nutrition-label-crop-preview{border:2px solid #7fe0b8e6;border-radius:1rem;padding:3px}.nutrition-label-progress{justify-items:stretch;gap:.75rem;display:grid}.nutrition-label-progress progress{accent-color:#7fe0b8;width:100%}.nutrition-label-progress span{text-align:center;font-variant-numeric:tabular-nums}.nutrition-label-warnings{background:#e8a87c14;border:1px solid #e8a87c59;border-radius:.85rem;margin:.8rem 0;padding:.8rem}.nutrition-label-warnings ul{margin:.45rem 0 0;padding-left:1.2rem}.nutrition-label-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;min-width:0;display:grid}.nutrition-label-form-grid>*{min-width:0}.nutrition-label-form-grid input[type=text],.nutrition-label-form-grid input[type=number],.nutrition-label-form-grid input:not([type]){box-sizing:border-box;width:100%;min-width:0;max-width:100%}.nutrition-label-wide-field{grid-column:1/-1}.nutrition-label-basis{border:1px solid #e8a87c2e;border-radius:.85rem;flex-wrap:wrap;gap:.65rem;margin:0;padding:.75rem;display:flex}.nutrition-label-basis label{background:#ffffff0d;border-radius:999px;align-items:center;gap:.4rem;min-height:44px;padding:0 .75rem;display:flex}.nutrition-label-flow [aria-invalid=true]{border-color:#e8a87c}.nutrition-draft-confirmation{gap:.65rem;min-width:0;display:grid}.nutrition-draft-banner{background:#7fe0b814;border:1px solid #7fe0b847;border-radius:.85rem;margin:0;padding:.75rem}.nutrition-draft-optional-values{flex-wrap:wrap;gap:.45rem .8rem;display:flex}@media (width<=560px){.nutrition-label-flow{padding:.85rem}.nutrition-label-actions,.nutrition-label-form-grid{grid-template-columns:minmax(0,1fr)}.nutrition-label-wide-field{grid-column:auto}}
