html{background:var(--outer-bg);min-height:100%}body{min-width:320px;min-height:100svh;font-family:var(--mm-font-body);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-size:16px;line-height:1.4}button,input{font-family:inherit}#root{min-height:100svh}.primary-button,.icon-button,.segmented-control-option,.stepper-button,.chip,.goal-card{transition:color var(--mm-motion-state-color), background var(--mm-motion-state-color), border-color var(--mm-motion-state-color), box-shadow var(--mm-motion-state-color)}.primary-button{border-radius:var(--mm-radius-button);min-height:52px;color:var(--on-green);background:var(--green);box-shadow:var(--mm-shadow-btn);border:0;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:16px;font-weight:700;display:inline-flex}.primary-button:disabled{cursor:not-allowed;opacity:.55}.icon-button{border:1px solid var(--border);border-radius:var(--mm-radius-pill);width:44px;height:44px;color:var(--green-deep);background:var(--surface);justify-content:center;align-items:center;display:inline-flex}.icon-button svg,.primary-button svg,.empty-state svg,.warning-banner svg{stroke-width:2.4px;width:20px;height:20px}.bottom-sheet{z-index:1;width:min(100%,430px);padding:10px 18px calc(22px + env(safe-area-inset-bottom));border-radius:var(--mm-radius-sheet-top) var(--mm-radius-sheet-top) 0 0;background:var(--sheet);box-shadow:0 -18px 48px color-mix(in srgb, var(--ink) 16%, transparent);animation:sheetUp var(--mm-motion-sheet-up);position:relative}.sheet-handle{border-radius:var(--mm-radius-pill);background:color-mix(in srgb, var(--ink) 15%, transparent);width:48px;height:5px;margin:0 auto 14px}.sheet-header h2{color:var(--ink);font-family:var(--mm-font-heading);margin:0;font-size:21px;font-weight:400}.segmented-control{grid-template-columns:repeat(var(--segment-count,2), minmax(0, 1fr));border-radius:var(--mm-radius-segmented);background:var(--mm-color-seg-bg);gap:4px;padding:4px;display:grid}.segmented-control-option{border-radius:var(--mm-radius-segment-inner);min-height:44px;color:var(--text-3);background:0 0;border:0;font-size:13px;font-weight:700}.segmented-control-option.active{color:var(--ink);background:var(--surface);box-shadow:var(--mm-shadow-seg-active)}.stepper{grid-template-columns:44px minmax(82px,1fr) 44px;align-items:center;gap:8px;display:grid}.stepper-button{border-radius:var(--mm-radius-stepper-button);width:44px;height:44px;color:var(--green-deep);background:var(--mm-color-step-btn);border:0;font-size:20px;font-weight:700}.stepper-value{border:1px solid var(--border);border-radius:var(--mm-radius-field);min-height:44px;color:var(--ink);background:var(--surface);font-family:var(--mm-font-heading);place-items:center;font-size:19px;display:grid}.chip{border:1px solid var(--border);border-radius:var(--mm-radius-pill);min-height:44px;color:var(--text-2);background:var(--surface);justify-content:center;align-items:center;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.chip.selected{border-color:color-mix(in srgb, var(--green) 26%, transparent);color:var(--green-deep);background:var(--green-tint)}.macro-bar{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:color-mix(in srgb, var(--surface) 72%, transparent);flex-direction:column;gap:8px;padding:13px 14px;display:flex}.macro-bar-label{color:var(--text-3);justify-content:space-between;gap:10px;font-size:13px;display:flex}.macro-bar-label strong{color:var(--ink)}.macro-bar-low{border-radius:var(--mm-radius-pill);color:var(--carbs-text);background:var(--carbs-bg);text-transform:uppercase;padding:2px 7px;font-size:10px;font-weight:700}.macro-bar-track{border-radius:var(--mm-radius-pill);background:var(--track);height:8px;overflow:hidden}.macro-bar-fill{border-radius:inherit;background:var(--green);height:100%;transition:width var(--mm-motion-progress);display:block}.macro-bar.carbs .macro-bar-fill{background:var(--carbs)}.macro-bar.fat .macro-bar-fill{background:var(--fat)}.calorie-ring{place-items:center;width:148px;height:148px;display:grid;position:relative}.calorie-ring svg{position:absolute;inset:0}.calorie-ring-progress{transition:stroke-dashoffset var(--mm-motion-progress)}.calorie-ring-center{color:var(--ink);font-family:var(--mm-font-heading);place-items:center;gap:2px;font-size:34px;line-height:1;display:grid}.calorie-ring-center small{color:var(--text-4);font-family:var(--mm-font-body);text-transform:uppercase;font-size:11.5px;font-weight:700}.tinted-letter-avatar{font-family:var(--mm-font-heading);flex:none;place-items:center;display:grid}.tinted-letter-avatar.small{border-radius:var(--mm-radius-meal-avatar);width:42px;height:42px;font-size:17px}.tinted-letter-avatar.medium{border-radius:var(--mm-radius-field);width:56px;height:56px;font-size:22px}.tinted-letter-avatar.large{border-radius:var(--mm-radius-detail-avatar);width:74px;height:74px;font-size:26px}.meal-row{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--surface);box-shadow:var(--mm-shadow-card);grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px;display:grid}.meal-row p{color:var(--text-3);margin:3px 0 0;font-size:12.5px}.meal-row-kcal{color:var(--green-deep);font-weight:700}.empty-state{border:1px dashed var(--border-strong);border-radius:var(--mm-radius-card);color:var(--placeholder);background:0 0;justify-items:start;gap:8px;padding:18px;display:grid}.empty-state h2{color:var(--ink);font-family:var(--mm-font-heading);margin:0;font-size:18px;font-weight:400}.empty-state p{color:var(--text-3);margin:0;font-size:13px}.status-chip,.confidence-badge,.macro-pill{border-radius:var(--mm-radius-pill);align-items:center;min-height:30px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.status-chip.fresh,.status-chip.on-track,.confidence-badge.high{color:var(--green-deep);background:var(--green-tint)}.status-chip.protein-behind,.confidence-badge.medium,.macro-pill.carbs{color:var(--carbs-text);background:var(--carbs-bg)}.status-chip.over-target,.confidence-badge.low{color:var(--mm-color-over);background:var(--mm-color-over-bg)}.macro-pill.protein{color:var(--green-deep);background:var(--green-tint)}.macro-pill.fat{color:var(--mm-color-fat-text);background:var(--mm-color-fat-bg)}.goal-card{border:1px solid var(--border);border-radius:var(--mm-radius-goal-card);width:100%;min-height:76px;color:var(--text-2);background:var(--surface);text-align:left;grid-template-columns:20px 1fr;align-items:start;gap:12px;padding:14px;display:grid}.goal-card.selected{border-color:color-mix(in srgb, var(--green) 28%, transparent);background:var(--mm-color-goal-sel-bg);box-shadow:var(--mm-shadow-goal-ring-sel)}.goal-card-radio{border:2px solid var(--border-strong);border-radius:var(--mm-radius-pill);background:var(--surface);width:18px;height:18px;margin-top:2px}.goal-card.selected .goal-card-radio{border:5px solid var(--green)}.goal-card strong{color:var(--ink);font-size:15px;display:block}.goal-card span{color:var(--text-3);margin-top:4px;font-size:13px;line-height:1.35;display:block}.warning-banner{border-radius:var(--mm-radius-field);color:var(--carbs-text);background:var(--carbs-bg);align-items:flex-start;gap:10px;padding:12px;font-size:13px;font-weight:700;display:flex}.gradient-action-bar{padding:22px 18px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(180deg, color-mix(in srgb, var(--paper) 0%, transparent), var(--paper) 34%);justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}@keyframes scrimFade{0%{opacity:0}to{opacity:1}}@keyframes sheetUp{0%{opacity:0;transform:translateY(70px)}to{opacity:1;transform:translateY(0)}}:root{--green:var(--mm-color-green);--green-dark:var(--mm-color-green-deep);--green-soft:var(--mm-color-green-tint);--carbs:var(--mm-color-carbs);--carbs-soft:var(--mm-color-carbs-bg);--citrus:var(--mm-color-carbs);--citrus-soft:var(--mm-color-carbs-bg);--rose:var(--mm-color-fat-bar);--paper:var(--mm-color-paper);--paper-deep:var(--mm-color-outer-bg);--surface:var(--mm-color-surface);--ink:var(--mm-color-ink);--muted:var(--mm-color-text-3);--faint:var(--mm-color-placeholder);--line:#23231f1a;--shadow:0 22px 60px #23231f29;color:var(--ink);background:var(--paper-deep)}button,input{font:inherit}.preview-stage{background:radial-gradient(circle at 12% 4%, #3d6b4f24, transparent 34%), radial-gradient(circle at 84% 12%, #b07c282e, transparent 30%), var(--paper-deep);grid-template-columns:minmax(360px,430px) minmax(320px,520px);justify-content:center;align-items:start;gap:48px;min-height:100svh;padding:42px;display:grid}.preview-phone-shell{border:10px solid color-mix(in srgb, var(--ink) 92%, black);background:var(--paper);width:min(390px,100vw - 32px);height:844px;box-shadow:var(--shadow);border-radius:44px;position:sticky;top:32px;overflow:hidden}.preview-phone-status{height:34px;color:var(--ink);background:var(--paper);justify-content:space-between;align-items:center;padding:8px 22px 0;font-size:12px;font-weight:800;display:flex}.preview-status-pill{color:var(--green-dark);background:var(--green-soft);border-radius:999px;padding:3px 7px}.preview-phone-screen{background:var(--paper);height:calc(100% - 106px);overflow:hidden}.preview-screen{scrollbar-width:none;height:100%;padding:18px 18px 94px;overflow-y:auto}.preview-screen::-webkit-scrollbar{display:none}.preview-screen-header{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:18px;display:grid}.preview-screen-header h2,.preview-design-rail h1,.preview-onboarding-hero h2{color:var(--ink);letter-spacing:0;margin:0;font-family:Young Serif,Georgia,serif;font-weight:400}.preview-screen-header h2{font-size:31px;line-height:1.05}.preview-screen-header p,.preview-hero-copy p,.preview-estimate-card p,.preview-suggestion-card p,.preview-profile-card p,.settings-screen p,.preview-design-rail p{color:var(--muted);margin:0;font-size:14px;line-height:1.35}.preview-icon-button{border:1px solid var(--line);width:38px;height:38px;color:var(--ink);background:var(--surface);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.preview-icon-button svg,.preview-bottom-tabs svg,.preview-quick-actions svg,.preview-add-card svg{stroke-width:2.3px;width:19px;height:19px}.preview-hero-card,.preview-estimate-card,.preview-summary-card,.preview-profile-card,.preview-entry-card,.preview-settings-group,.preview-suggestion-card,.preview-component-card,.preview-type-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;box-shadow:0 10px 28px #23231f0f}.preview-hero-card{grid-template-columns:124px 1fr;align-items:center;gap:16px;padding:16px;display:grid}.preview-calorie-ring{background:radial-gradient(circle, var(--surface) 58%, transparent 60%), conic-gradient(var(--green) var(--progress), var(--mm-color-dot-idle) 0);border-radius:999px;place-items:center;width:112px;height:112px;display:grid}.preview-calorie-ring div{flex-direction:column;align-items:center;display:flex}.preview-calorie-ring span,.preview-estimate-total span,.preview-mini-total strong{font-family:Young Serif,Georgia,serif;font-size:25px;line-height:1}.preview-calorie-ring small,.preview-estimate-total small,.preview-mini-total span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:800}.preview-eyebrow{color:var(--green-dark);letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:11px;font-weight:900}.preview-hero-copy h3,.preview-estimate-card h3,.preview-suggestion-card h3,.preview-profile-card h3,.preview-summary-card h3,.preview-settings-group h3,.preview-meal-row h3,.preview-estimate-item h3{color:var(--ink);margin:0}.preview-hero-copy h3{margin-bottom:4px;font-size:22px}.preview-macro-list,.preview-card-list,.preview-item-stack,.preview-suggestion-stack,.preview-option-stack{flex-direction:column;gap:10px;margin-top:16px;display:flex}.preview-macro-row{border:1px solid var(--line);background:#ffffffb8;border-radius:16px;flex-direction:column;gap:8px;padding:13px 14px;display:flex}.preview-macro-label{color:var(--muted);justify-content:space-between;font-size:13px;display:flex}.preview-macro-label strong{color:var(--ink)}.preview-bar{background:var(--mm-color-outer-bg);border-radius:999px;height:8px;overflow:hidden}.preview-bar span{border-radius:inherit;background:var(--green);height:100%;display:block}.preview-macro-row.carbs .preview-bar span{background:var(--carbs)}.preview-macro-row.amber .preview-bar span{background:var(--citrus)}.preview-quick-actions,.preview-add-grid{grid-template-columns:1.2fr 1fr 1fr;gap:9px;margin-top:16px;display:grid}.preview-quick-actions button,.preview-add-card{border:1px solid var(--line);min-width:0;min-height:76px;color:var(--ink);background:var(--surface);text-align:left;border-radius:17px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:8px;padding:12px;font-size:13px;font-weight:900;display:flex}.preview-quick-actions .preview-camera-action,.preview-add-card.primary{color:var(--paper);background:var(--green)}.preview-section-title{color:var(--ink);justify-content:space-between;align-items:center;margin:22px 0 9px;font-size:13px;font-weight:900;display:flex}.preview-section-title button{color:var(--green-dark);background:0 0;border:0;font-size:12px;font-weight:900}.preview-meal-row,.preview-estimate-item,.preview-setting-row,.preview-history-row{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px;display:grid}.preview-meal-icon{width:38px;height:38px;color:var(--green-dark);background:var(--green-soft);border-radius:14px;place-items:center;display:grid}.preview-meal-icon svg{width:18px;height:18px}.preview-meal-row h3,.preview-estimate-item h3{font-size:14px}.preview-meal-row p,.preview-estimate-item p{color:var(--muted);margin:2px 0 0;font-size:12px}.preview-meal-row>strong,.preview-estimate-item>strong{color:var(--green-dark)}.preview-bottom-tabs{border-top:1px solid var(--line);background:#faf8f2f5;grid-template-columns:repeat(3,1fr);height:72px;padding:8px 12px 14px;display:grid}.preview-bottom-tabs button{color:var(--muted);background:0 0;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:800;display:flex}.preview-bottom-tabs button.active{color:var(--green-dark);background:var(--green-soft)}.preview-onboarding-screen{flex-direction:column;padding-top:34px;display:flex}.preview-onboarding-hero{flex-direction:column;gap:10px;display:flex}.preview-brand-mark{width:54px;height:54px;color:var(--paper);background:var(--green);border-radius:18px;place-items:center;display:grid}.preview-brand-mark svg{width:27px;height:27px}.preview-onboarding-hero h2{font-size:34px;line-height:1.04}.preview-choice-card{border:1px solid var(--line);color:var(--ink);background:var(--surface);text-align:left;border-radius:18px;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:15px;display:grid}.preview-choice-card.selected{background:var(--green-soft);border-color:#3d6b4f61}.preview-choice-card span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900}.preview-choice-card strong{margin-top:2px;font-size:15px;display:block}.preview-choice-card p{color:var(--muted);margin:4px 0 0;font-size:12px}.preview-fixed-action{z-index:2;margin-top:auto;position:sticky;bottom:0}.preview-primary-button,.preview-small-primary{width:100%;min-height:52px;color:var(--paper);background:var(--green);border:0;border-radius:17px;justify-content:center;align-items:center;gap:8px;font-weight:900;display:inline-flex;box-shadow:0 10px 24px #3d6b4f3d}.preview-primary-button svg{width:18px;height:18px}.preview-add-grid{grid-template-columns:repeat(2,1fr)}.preview-entry-card{flex-direction:column;gap:12px;margin-top:16px;padding:14px;display:flex}.preview-entry-card label{color:var(--muted);text-transform:uppercase;flex-direction:column;gap:7px;font-size:12px;font-weight:900;display:flex}.preview-entry-card input{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--paper);border-radius:13px;padding:12px;font-size:15px;font-weight:700}.preview-number-grid{grid-template-columns:repeat(2,1fr);gap:9px;display:grid}.preview-numeric-field{background:var(--paper);border-radius:14px;grid-template-columns:1fr auto;gap:3px 8px;padding:12px;display:grid}.preview-numeric-field span{grid-column:1/-1}.preview-numeric-field strong{color:var(--ink);font-size:21px}.preview-numeric-field small{color:var(--muted);align-self:end}.preview-chip-row{flex-wrap:wrap;gap:8px;display:flex}.preview-chip{border:1px solid var(--line);min-height:34px;color:var(--ink);background:var(--surface);border-radius:999px;align-items:center;padding:8px 12px;font-size:12px;font-weight:900;display:inline-flex}.preview-chip.selected{color:var(--green-dark);background:var(--green-soft)}.preview-food-photo-card{background:var(--surface);border-radius:22px;height:190px;position:relative;overflow:hidden}.preview-food-photo-card img{object-fit:cover;width:100%;height:100%}.preview-confidence{color:var(--mm-color-carbs-text);background:var(--citrus-soft);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;position:absolute;bottom:12px;right:12px}.preview-estimate-card,.preview-summary-card,.preview-profile-card{grid-template-columns:1fr auto;align-items:center;gap:14px;margin-top:14px;padding:15px;display:grid}.preview-estimate-total,.preview-mini-total{flex-direction:column;align-items:center;min-width:64px;display:flex}.preview-suggestion-stack{margin-top:0}.preview-suggestion-card{padding:15px}.preview-suggestion-top{grid-template-columns:1fr auto;gap:10px;display:grid}.preview-suggestion-card h3{margin-top:8px;font-size:20px;line-height:1.05}.preview-pill{color:var(--green-dark);background:var(--green-soft);border-radius:999px;padding:6px 9px;font-size:11px;font-weight:900;display:inline-flex}.preview-macro-pills{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.preview-macro-pills span{color:var(--muted);background:var(--paper);border-radius:999px;padding:6px 8px;font-size:11px;font-weight:900}.preview-ingredient-line{color:var(--muted);margin-top:10px;font-size:12px;line-height:1.35}.preview-button-row{grid-template-columns:1.1fr .8fr 1fr;gap:7px;margin-top:12px;display:grid}.preview-button-row button{border:1px solid var(--line);min-height:36px;color:var(--ink);background:var(--surface);border-radius:12px;font-size:12px;font-weight:900}.preview-button-row .preview-small-primary{min-height:36px;color:var(--paper);background:var(--green)}.preview-calendar-strip{grid-template-columns:repeat(5,1fr);gap:7px;display:grid}.preview-calendar-strip button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:10px 0;display:flex}.preview-calendar-strip button.active{color:var(--paper);background:var(--green)}.preview-history-row{background:0 0;border:0;grid-template-columns:1fr;padding:0}.preview-history-row button{color:var(--green-dark);background:0 0;border:0;justify-self:end;font-size:12px;font-weight:900}.preview-avatar{width:52px;height:52px;color:var(--paper);background:var(--green);border-radius:18px;place-items:center;font-weight:900;display:grid}.preview-settings-group{margin-top:12px;padding:14px}.preview-settings-group h3{margin-bottom:10px;font-size:15px}.preview-setting-row{border:0;border-top:1px solid var(--line);box-shadow:none;border-radius:0;grid-template-columns:1fr auto;padding:11px 0}.preview-setting-row span{color:var(--muted)}.preview-setting-row strong{color:var(--ink);font-size:13px}.preview-design-rail{flex-direction:column;gap:22px;padding-top:20px;display:flex}.preview-design-rail h1{max-width:520px;margin:0 0 10px;font-size:clamp(34px,5vw,56px);line-height:1}.preview-screen-switcher{flex-wrap:wrap;gap:8px;display:flex}.preview-screen-switcher button{border:1px solid var(--line);color:var(--ink);background:#ffffff94;border-radius:999px;padding:9px 13px;font-size:13px;font-weight:900}.preview-screen-switcher button.active{color:var(--paper);background:var(--green)}.preview-system-preview{gap:14px;max-width:430px;display:grid}.preview-swatches,.preview-icon-grid{flex-wrap:wrap;gap:9px;display:flex}.preview-swatches span{border:1px solid var(--line);border-radius:14px;width:44px;height:44px}.preview-swatches .green{background:var(--green)}.preview-swatches .carbs{background:var(--carbs)}.preview-swatches .citrus{background:var(--citrus)}.preview-swatches .paper{background:var(--paper)}.preview-swatches .ink{background:var(--ink)}.preview-type-card,.preview-component-card{padding:16px}.preview-type-card span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900}.preview-type-card strong{margin-top:6px;font-family:Young Serif,Georgia,serif;font-size:24px;font-weight:400;display:block}.preview-component-card{flex-direction:column;gap:12px;display:flex}.preview-kit-actions{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.preview-kit-label{color:var(--muted);text-transform:uppercase;align-self:center;font-size:11px;font-weight:900}.preview-kit-grid{grid-template-columns:auto 1fr;align-items:center;gap:12px;display:grid}.preview-kit-stack{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.preview-kit-avatar-row{align-items:center;gap:10px;display:flex}.preview-kit-action-bar{border:1px solid var(--line);background:var(--paper);border-radius:18px;min-height:92px;position:relative;overflow:hidden}.preview-kit-action-bar .gradient-action-bar{position:absolute}.preview-kit-sheet-body{gap:12px;display:grid}.preview-icon-grid svg{width:38px;height:38px;color:var(--green-dark);background:var(--green-soft);border-radius:13px;padding:9px}@media (width<=900px){.preview-stage{flex-direction:column;align-items:center;padding:16px;display:flex}.preview-phone-shell{position:static}.preview-design-rail{width:min(390px,100vw - 32px);padding:0 0 24px}}@font-face{font-family:Instrument Sans;font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/assets/instrument-sans-latin-ext-B5bTHO_g.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans;font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url(/assets/instrument-sans-latin-BbzFLZTg.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Young Serif;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/young-serif-latin-ext-DzElnxZw.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Young Serif;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/young-serif-latin-DIMmNPI9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--mm-color-outer-bg:#ece7dc;--mm-color-paper:#faf8f2;--mm-color-sheet:#fcfbf6;--mm-color-surface:#fff;--mm-color-ink:#23231f;--mm-color-green:#3d6b4f;--mm-color-green-deep:#2c503a;--mm-color-green-hover:#346045;--mm-color-green-tint:#e7efe8;--mm-color-goal-sel-bg:#f2f6f2;--mm-color-on-green:#f6f3ea;--mm-color-carbs:#b07c28;--mm-color-carbs-bg:#f6efdf;--mm-color-carbs-text:#8a6410;--mm-color-fat-bar:#946271;--mm-color-fat-text:#7c4a58;--mm-color-fat-bg:#efe3e6;--mm-color-over:#a04b3c;--mm-color-over-bg:#f6e4df;--mm-color-track:#efebe0;--mm-color-seg-bg:#efece1;--mm-color-step-btn:#f1eee4;--mm-color-text-2:#4a483f;--mm-color-text-3:#6e6b60;--mm-color-text-4:#8a877d;--mm-color-placeholder:#b3afa3;--mm-color-dot-idle:#e4dfd2;--mm-color-scrim:#1818146b;--mm-color-border:#23231f12;--mm-color-border-strong:#23231f24;--mm-font-heading:"Young Serif", Georgia, serif;--mm-font-body:"Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--mm-weight-regular:400;--mm-weight-medium:500;--mm-weight-semibold:600;--mm-weight-bold:700;--mm-radius-pill:999px;--mm-radius-avatar-circle:99px;--mm-radius-sheet-top:28px;--mm-radius-ring-card:26px;--mm-radius-detail-avatar:22px;--mm-radius-card:20px;--mm-radius-goal-card:18px;--mm-radius-button:17px;--mm-radius-field:16px;--mm-radius-manual-name-input:15px;--mm-radius-segmented:13px;--mm-radius-meal-avatar:13px;--mm-radius-macro-pill:13px;--mm-radius-stepper-button:12px;--mm-radius-analysis-quantity:11px;--mm-radius-segment-inner:10px;--mm-shadow-btn:0 6px 16px #3d6b4f47;--mm-shadow-fab:0 10px 24px #3d6b4f61;--mm-shadow-card:0 1px 3px #23231f0d;--mm-shadow-seg-active:0 1px 3px #23231f1f;--mm-shadow-goal-ring-sel:inset 0 0 0 3.5px var(--mm-color-goal-sel-bg);--mm-motion-screen-in:.28s ease;--mm-motion-scrim-fade:.2s ease;--mm-motion-sheet-up:.32s cubic-bezier(.3, .9, .4, 1);--mm-motion-progress:.7s cubic-bezier(.4, 0, .2, 1);--mm-motion-state-color:.15s;--mm-motion-dot-state-color:.2s;--outer-bg:var(--mm-color-outer-bg);--paper:var(--mm-color-paper);--sheet:var(--mm-color-sheet);--surface:var(--mm-color-surface);--ink:var(--mm-color-ink);--green:var(--mm-color-green);--green-deep:var(--mm-color-green-deep);--green-hover:var(--mm-color-green-hover);--green-tint:var(--mm-color-green-tint);--on-green:var(--mm-color-on-green);--carbs:var(--mm-color-carbs);--carbs-bg:var(--mm-color-carbs-bg);--carbs-text:var(--mm-color-carbs-text);--fat:var(--mm-color-fat-bar);--fat-text:var(--mm-color-fat-text);--fat-bg:var(--mm-color-fat-bg);--over:var(--mm-color-over);--over-bg:var(--mm-color-over-bg);--track:var(--mm-color-track);--text-2:var(--mm-color-text-2);--text-3:var(--mm-color-text-3);--text-4:var(--mm-color-text-4);--placeholder:var(--mm-color-placeholder);--border:var(--mm-color-border);--border-strong:var(--mm-color-border-strong)}:root[data-theme=dark]{--mm-color-outer-bg:#121713;--mm-color-paper:#181f1a;--mm-color-sheet:#202820;--mm-color-surface:#242d25;--mm-color-ink:#f2f0e8;--mm-color-green:#7cb88e;--mm-color-green-deep:#a7d6b4;--mm-color-green-hover:#8dc89d;--mm-color-green-tint:#263b2d;--mm-color-goal-sel-bg:#1f3327;--mm-color-on-green:#102016;--mm-color-carbs:#d2a24d;--mm-color-carbs-bg:#3a301d;--mm-color-carbs-text:#e9be67;--mm-color-fat-bar:#c58a9b;--mm-color-fat-text:#e1a7b8;--mm-color-fat-bg:#392930;--mm-color-over:#de8675;--mm-color-over-bg:#3d2823;--mm-color-track:#32382f;--mm-color-seg-bg:#121713;--mm-color-step-btn:#30382f;--mm-color-text-2:#d7d2c6;--mm-color-text-3:#b2ab9d;--mm-color-text-4:#928b7d;--mm-color-placeholder:#776f61;--mm-color-dot-idle:#31372f;--mm-color-scrim:#05070694;--mm-color-border:#f2f0e817;--mm-color-border-strong:#f2f0e829;--mm-shadow-card:0 1px 3px #0000003d;--mm-shadow-seg-active:0 1px 3px #00000052}@media (prefers-reduced-motion:reduce){:root{--mm-motion-screen-in:0s linear;--mm-motion-scrim-fade:0s linear;--mm-motion-sheet-up:0s linear;--mm-motion-progress:0s linear;--mm-motion-state-color:0s linear;--mm-motion-dot-state-color:0s linear}*,:before,:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important;animation-iteration-count:1!important}}:root{color:var(--ink);background:var(--paper)}*{box-sizing:border-box}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell,.app-screen{background:var(--paper)}.today-header,.pushed-header{grid-template-columns:1fr auto;align-items:center;gap:12px;margin-bottom:14px;display:grid}.onboarding-content{flex-direction:column;gap:20px;padding-top:10px;display:flex}.onboarding-chrome{padding:calc(54px + var(--safe-area-top)) 20px 12px;grid-template-columns:36px 1fr auto;align-items:center;gap:14px;display:grid}.onboarding-back-hidden{visibility:hidden}.onboarding-progress{gap:5px;display:flex}.onboarding-progress span{background:var(--mm-color-dot-idle);height:4px;transition:background var(--mm-motion-state-color);border-radius:99px;flex:1}.onboarding-progress span.active{background:var(--green)}.onboarding-step{animation:screenIn var(--mm-motion-screen-in);gap:0;display:grid}.onboarding-step>p,.pace-note{color:var(--text-3);margin:0;font-size:14px;line-height:1.5}.onboarding-step>p{margin-bottom:20px}.onboarding-step h1{color:var(--ink);font-family:var(--mm-font-heading);letter-spacing:0;margin:8px 0 6px;font-size:27px;font-weight:400;line-height:1.08}.goal-card-list{flex-direction:column;gap:10px;display:flex}.pace-section{gap:8px;margin-top:26px;padding-bottom:96px;display:grid}.pace-label,.activity-label{color:var(--text-2);font-size:13px;font-weight:600}.food-step{gap:18px;padding-bottom:108px}.food-chip-section,.food-segment-section{gap:8px;display:grid}.food-chip-list{flex-wrap:wrap;gap:7px;display:flex}.food-section-label{color:var(--text-2);font-size:13px;font-weight:600}.onboarding-footnote{color:var(--text-4);margin:2px 0 0;font-size:12px;line-height:1.4}.body-step{padding-bottom:96px}.body-stepper-list{flex-direction:column;gap:10px;margin-top:16px;display:flex}.body-stepper-row{border:1px solid color-mix(in srgb, var(--ink) 9%, transparent);border-radius:var(--mm-radius-field);background:var(--surface);justify-content:space-between;align-items:center;padding:10px 10px 10px 16px;display:flex}.body-stepper-row>span{color:var(--text-2);font-size:14px;font-weight:600}.body-stepper-row .stepper{grid-template-columns:38px 76px 38px;gap:2px}.body-stepper-row .stepper-button{width:38px;height:38px}.body-stepper-row .stepper-value{background:0 0;border:0;min-height:38px}.activity-section{gap:8px;margin-top:22px;display:grid}.activity-chip-list{flex-wrap:wrap;gap:7px;display:flex}.onboarding-action-bar{padding-top:28px}.onboarding-primary{width:min(100%,394px)}.pushed-header{grid-template-columns:auto 1fr auto}.analysis-content{flex-direction:column;gap:14px;display:flex}.suggestions-content{flex-direction:column;gap:0;display:flex}.suggestions-header-copy{color:var(--text-3);margin:8px 2px 16px;font-size:13.5px;line-height:1.5}.suggestion-card-list{flex-direction:column;gap:10px;display:flex}.suggestion-card{border:1px solid color-mix(in srgb, var(--ink) 9%, transparent);border-radius:var(--mm-radius-card);width:100%;min-height:86px;color:var(--ink);background:var(--surface);text-align:left;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;display:grid}.suggestion-card:hover{border-color:color-mix(in srgb, var(--green) 45%, transparent)}.suggestion-card-copy,.suggestion-card-stats{flex-direction:column;display:flex}.suggestion-card-copy{gap:3px;min-width:0}.suggestion-card-name{color:var(--ink);font-size:15px;font-weight:600;line-height:1.25}.suggestion-card-why{color:var(--green);font-size:12.5px;font-weight:600}.suggestion-card-meta{color:var(--text-4);font-size:12px}.suggestion-card-stats{align-items:flex-end;gap:2px}.suggestion-card-kcal{font-family:var(--mm-font-heading);font-size:16px;line-height:1.2}.suggestion-card-kcal small{color:var(--text-4);font-family:var(--mm-font-body);font-size:11px;font-weight:500}.suggestion-card-protein{border-radius:var(--mm-radius-pill);color:var(--green-deep);background:var(--green-tint);padding:3px 8px;font-size:11px;font-weight:600}.suggestion-shuffle-action{width:100%;min-height:44px;color:var(--green);background:0 0;border:0;justify-content:center;align-items:center;gap:8px;margin-top:14px;padding:12px;font-size:14px;font-weight:600;display:flex}.suggestion-shuffle-action svg{stroke-width:1.8px;width:16px;height:16px}.meal-detail-screen{background:var(--paper)}.meal-detail-content{padding-top:calc(64px + env(safe-area-inset-top));padding-bottom:calc(130px + env(safe-area-inset-bottom));animation:screenIn var(--mm-motion-screen-in)}.meal-detail-back{width:38px;height:38px;color:var(--text-2);background:var(--surface);margin:4px 0 16px}.meal-detail-content .tinted-letter-avatar{margin-bottom:14px}.meal-detail-content h1{color:var(--ink);font-family:var(--mm-font-heading);letter-spacing:0;margin:0 0 8px;font-size:26px;font-weight:400;line-height:1.15}.meal-detail-why{border-radius:var(--mm-radius-pill);max-width:100%;color:var(--green-deep);background:var(--green-tint);align-items:center;gap:7px;margin:0 0 16px;padding:7px 13px;font-size:12.5px;font-weight:700;line-height:1.25;display:inline-flex}.meal-detail-why svg{fill:currentColor;stroke:currentColor;stroke-width:1.8px;flex:none;width:14px;height:14px}.meal-detail-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:18px;display:grid}.meal-detail-stat{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--surface);flex-direction:column;align-items:center;gap:2px;min-width:0;padding:11px 6px;display:flex}.meal-detail-stat strong{overflow-wrap:anywhere;max-width:100%;font-family:var(--mm-font-heading);font-size:18px;font-weight:400;line-height:1.15}.meal-detail-stat strong.calories{color:var(--green)}.meal-detail-stat strong.protein{color:var(--green-deep)}.meal-detail-stat strong.carbs{color:var(--carbs-text)}.meal-detail-stat strong.fat{color:var(--mm-color-fat-text)}.meal-detail-stat span{color:var(--text-4);letter-spacing:.04em;text-transform:uppercase;font-size:10.5px;font-weight:800}.meal-detail-section{margin-bottom:18px}.meal-detail-section h2{color:var(--text-2);margin:0 2px 8px;font-size:13px;font-weight:700}.meal-detail-ingredients,.meal-detail-steps{margin:0;padding:0}.meal-detail-ingredients{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:6px 16px;list-style:none}.meal-detail-ingredients li{color:var(--text-2);padding:9px 0 9px 15px;font-size:14px;line-height:1.35;position:relative}.meal-detail-ingredients li+li{border-top:1px solid color-mix(in srgb, var(--ink) 7%, transparent)}.meal-detail-ingredients li:before{border-radius:var(--mm-radius-pill);background:var(--green);content:"";width:5px;height:5px;position:absolute;top:17px;left:0}.meal-detail-steps{counter-reset:meal-detail-step;flex-direction:column;gap:8px;list-style:none;display:flex}.meal-detail-steps li{color:var(--text-2);counter-increment:meal-detail-step;grid-template-columns:22px minmax(0,1fr);align-items:flex-start;gap:11px;font-size:13.5px;line-height:1.5;display:grid}.meal-detail-steps li:before{border-radius:var(--mm-radius-pill);width:22px;height:22px;color:var(--text-3);background:var(--track);content:counter(meal-detail-step);place-items:center;font-size:11px;font-weight:800;line-height:1;display:grid}.meal-detail-suggestion-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:4px 0 10px;display:grid}.meal-detail-extra-action{border:1px solid var(--border-strong);border-radius:var(--mm-radius-control);min-width:0;min-height:44px;color:var(--green-deep);background:var(--surface);justify-content:center;align-items:center;gap:7px;padding:10px 11px;font-size:12px;font-weight:700;line-height:1.2;display:inline-flex}.meal-detail-extra-action.dislike{color:var(--over);background:var(--over-bg)}.meal-detail-extra-action svg{stroke-width:1.9px;flex:none;width:15px;height:15px}.meal-detail-action-bar{padding:14px 18px calc(40px + env(safe-area-inset-bottom));background:linear-gradient(to top, var(--paper) 60%, color-mix(in srgb, var(--paper) 0%, transparent));position:absolute;bottom:0}.meal-detail-log-button{width:100%}.analysis-photo-card{border-radius:var(--mm-radius-card);background:var(--surface);min-height:196px;margin:0;position:relative;overflow:hidden}.analysis-photo-card img,.analysis-photo-placeholder{object-fit:cover;width:100%;height:196px;display:block}.analysis-photo-card .confidence-badge{position:absolute;bottom:12px;right:12px}.analysis-total-card,.analysis-row,.analysis-state-card{border:1px solid var(--border);border-radius:var(--mm-radius-card);background:var(--surface)}.analysis-total-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;display:grid}.analysis-eyebrow{color:var(--text-4);letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:800}.analysis-total-card h2,.analysis-state-card h2{color:var(--ink);font-family:var(--mm-font-heading);margin:0;font-size:22px;font-weight:400;line-height:1.1}.analysis-total-card p,.analysis-state-card p,.analysis-row p{color:var(--text-3);margin:0;font-size:13px}.analysis-calorie-range{color:var(--green-deep);margin-top:8px;font-weight:800}.analysis-total-card strong{color:var(--ink);font-family:var(--mm-font-heading);text-align:right;font-size:34px;font-weight:400;line-height:1}.analysis-total-card strong span{color:var(--text-4);font-family:var(--mm-font-body);margin-top:2px;font-size:12px;font-weight:700;display:block}.analysis-macro-pills,.analysis-row-stack{gap:8px;display:flex}.analysis-macro-pills{flex-wrap:wrap}.analysis-edit-toggle{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--green-deep);font:inherit;border-radius:999px;align-self:flex-start;padding:0 16px;font-size:13px;font-weight:800}.analysis-row-stack{flex-direction:column}.analysis-assumptions{border:1px solid var(--border);background:var(--green-tint);border-radius:16px;gap:4px;padding:13px 14px;display:grid}.analysis-assumptions h2{color:var(--green-deep);margin:0;font-size:14px}.analysis-assumptions p{color:var(--text-3);margin:0;font-size:13px;line-height:1.35}.analysis-confidence-breakdown,.analysis-clarifications{background:var(--paper-2);border-radius:16px;gap:8px;padding:14px;display:grid}.analysis-confidence-breakdown h2,.analysis-clarifications h2,.analysis-clarifications p{margin:0}.analysis-confidence-breakdown h2,.analysis-clarifications h2{color:var(--green-deep);font-size:14px}.analysis-confidence-breakdown>div,.analysis-clarifications>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.analysis-confidence-breakdown>div>span,.analysis-clarifications span,.analysis-clarifications p{color:var(--text-3);font-size:12px}.analysis-clarifications strong{color:var(--ink);font-size:13px}.analysis-meal-type{gap:8px;display:grid}.analysis-meal-type>span{color:var(--text-3);font-size:13px;font-weight:800}.analysis-meal-type .segmented-control,.analysis-log-action{width:100%}.analysis-discard-action{color:var(--mm-text-muted);font:inherit;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;margin:12px auto 4px;padding:10px;display:flex}.analysis-discard-action svg{width:16px;height:16px}.analysis-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.analysis-row-copy{gap:3px;min-width:0;display:grid}.analysis-row h3{color:var(--ink);margin:0;font-size:15px}.analysis-row-copy span,.analysis-row-metadata{color:var(--text-4);font-size:12px;font-weight:800}.analysis-row-signals{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;display:flex}.analysis-row-macros{gap:4px;display:flex}.analysis-row-macros .macro-pill{white-space:nowrap;min-height:24px;padding:0 7px;font-size:11px}.analysis-grounding{color:var(--green);font-size:.75rem;font-weight:650}.analysis-grounding--estimate{color:var(--muted)}.analysis-row-controls{justify-items:end;gap:8px;display:grid}.analysis-row-footer{grid-column:1/-1;justify-content:flex-end;display:flex}.analysis-remove-item{background:var(--over-bg);min-height:32px;color:var(--over);font:inherit;border:0;border-radius:999px;padding:0 12px;font-size:12px;font-weight:800}.analysis-row-controls .stepper{min-width:118px}.analysis-row-controls .stepper-button{width:28px;height:28px}.analysis-row-controls .stepper-value{min-width:38px;font-size:16px}.analysis-weight-control{justify-items:end;gap:5px;display:grid}.analysis-weight-control input,.analysis-weight-missing input{border:1px solid var(--border);width:88px;min-height:30px;font:inherit;text-align:right;border-radius:8px;padding:4px 8px}.analysis-weight-missing{color:var(--text-4);gap:4px;font-size:12px;font-weight:700;display:grid}@media (width<=390px){.analysis-row{grid-template-columns:minmax(0,1fr)}.analysis-row-controls{justify-items:start}}@media (width<=300px){.analysis-row-signals{flex-direction:column;align-items:flex-start}}.analysis-state-card{justify-items:start;gap:10px;padding:18px;display:grid}.analysis-state-card svg{color:var(--carbs-text)}.analysis-spinner{border:3px solid var(--green-tint);border-top-color:var(--green);border-radius:50%;width:26px;height:26px;animation:.9s linear infinite spin}.secondary-analysis-action{border:1px solid var(--border);border-radius:var(--mm-radius-pill);color:var(--green-deep);background:var(--surface);align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:800;display:inline-flex}@keyframes spin{to{transform:rotate(360deg)}}.today-header h1,.pushed-header h1,.profile-summary h2,.section-heading h2,.ring-card h2,.suggest-banner h2,.meal-sections h2,.meal-section-header h3,.empty-state h2{color:var(--ink);font-family:var(--mm-font-heading);letter-spacing:0;margin:0;font-weight:400}.today-header h1,.pushed-header h1{font-size:30px;line-height:1.05}.today-title-stack{min-width:0}.scan-saved-notice{border:1px solid color-mix(in srgb, var(--green) 28%, var(--border));border-radius:var(--mm-radius-card);color:var(--green-deep);background:color-mix(in srgb, var(--green) 9%, var(--surface));margin:0 0 12px;padding:10px 12px;font-size:13px;font-weight:700}.day-switcher{grid-template-columns:44px minmax(0,auto) 44px;justify-content:start;align-items:center;gap:6px;margin-left:-8px;display:grid}.day-switcher h1{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:min(180px,48vw);overflow:hidden}.day-switcher-button{border:1px solid color-mix(in srgb, var(--ink) 13%, transparent);width:44px;height:44px;color:var(--green-deep);background:color-mix(in srgb, var(--surface) 82%, transparent);border-radius:999px;place-items:center;display:grid;box-shadow:0 7px 18px #23231f14,inset 0 1px #ffffffb8}.day-switcher-button:disabled{border-color:color-mix(in srgb, var(--ink) 8%, transparent);box-shadow:none;color:var(--text-4);opacity:.42;background:0 0}.day-switcher-button svg{width:22px;height:22px}.app-date,.macro-summary,.screen-copy,.suggest-banner p,.meal-row p,.empty-state p{color:var(--text-3);margin:0;font-size:13px;line-height:1.35}.profile-content{align-content:start;gap:20px;display:grid}.profile-summary,.scan-allowance-card,.profile-quick-links,.profile-plan-editor,.body-metrics-editor,.settings-editor,.food-preferences-editor,.target-editor{border:1px solid var(--border);border-radius:var(--mm-radius-card);background:var(--surface);box-shadow:var(--mm-shadow-card)}.profile-summary{grid-template-columns:74px 1fr;align-items:center;gap:14px;padding:16px;display:grid}.scan-allowance-card{gap:6px;padding:16px;display:grid}.profile-quick-links{min-height:66px;display:grid;overflow:hidden}.profile-link-row{width:100%;min-height:64px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;display:grid}.profile-link-row:hover{background:color-mix(in srgb, var(--green) 7%, transparent)}.profile-link-row span{gap:3px;min-width:0;display:grid}.profile-link-row strong{font-size:15px;line-height:1.2}.profile-link-row small{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.35;overflow:hidden}.profile-link-row svg{width:20px;height:20px;color:var(--text-4)}.profile-avatar-large{border-radius:var(--mm-radius-avatar-circle);width:74px;height:74px;color:var(--green-deep);background:var(--green-tint);place-items:center;font-size:28px;font-weight:800;display:grid}.profile-summary p,.scan-allowance-card p,.section-heading p{color:var(--text-3);margin:0;font-size:13px;line-height:1.35}.profile-summary h2,.scan-allowance-card h2,.section-heading h2{margin-top:4px;font-size:22px;line-height:1.12}.profile-summary span{color:var(--green-deep);margin-top:6px;font-size:13px;font-weight:800;display:block}.scan-allowance-card span{color:var(--text-3);margin-top:6px;font-size:13px;line-height:1.35;display:block}.settings-editor,.profile-plan-editor,.body-metrics-editor,.food-preferences-editor,.target-editor{gap:14px;padding:16px;display:grid}.profile-goal-card-list{gap:10px;display:grid}.profile-pace-section{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--paper);gap:9px;padding:12px;display:grid}.calorie-offset-editor{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--paper);gap:10px;padding:12px;display:grid}.calorie-offset-chip-list{flex-wrap:wrap;gap:8px;display:flex}.calorie-offset-custom-field{border:1px solid var(--border);border-radius:var(--mm-radius-control);background:var(--surface);grid-template-columns:minmax(0,1fr) 86px auto;align-items:center;gap:8px;min-height:44px;padding:9px 10px;display:grid}.calorie-offset-custom-field span{color:var(--text2);font-size:13px;font-weight:700}.calorie-offset-custom-field input{border:1px solid var(--border-strong);background:var(--paper);width:100%;min-height:34px;color:var(--ink);font:700 14px var(--font-body);text-align:center;border-radius:10px}.calorie-offset-custom-field small{color:var(--text3);font-size:12px;font-weight:700}.profile-body-stepper-list{gap:10px;display:grid}.profile-body-stepper-row{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--paper);grid-template-columns:minmax(74px,1fr) minmax(164px,190px);align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:grid}.profile-body-stepper-row>span{color:var(--ink);font-size:14px;font-weight:800}.profile-body-stepper-row .stepper{min-width:0}.profile-body-stepper-row .stepper-button{width:38px;height:38px}.profile-body-stepper-row .stepper-value{min-height:38px}.profile-activity-section{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--paper);gap:9px;padding:12px;display:grid}.settings-control-list{gap:12px;display:grid}.settings-control{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--paper);gap:9px;padding:12px;display:grid}.settings-control-heading{gap:3px;display:grid}.settings-control-heading h3{color:var(--ink);margin:0;font-size:14px;font-weight:800}.settings-control-heading p{color:var(--text-3);margin:0;font-size:12px;line-height:1.35}.editable-chip-section{gap:8px;display:grid}.target-field-list{gap:10px;display:grid}.target-field{border:1px solid var(--border);border-radius:var(--mm-radius-field);background:var(--paper);grid-template-columns:minmax(78px,1fr) minmax(96px,120px) 36px;align-items:center;gap:10px;min-height:52px;padding:10px 12px;display:grid}.target-field span{color:var(--ink);font-size:14px;font-weight:800}.target-field input{border-radius:var(--mm-radius-stepper-button);width:100%;min-width:0;color:var(--green-deep);background:var(--surface);font:inherit;text-align:right;border:0;padding:10px 8px;font-size:16px;font-weight:800}.target-field small{color:var(--text-3);font-size:12px;font-weight:800}.profile-save-action{border-radius:var(--mm-radius-button);min-height:50px;color:var(--on-green);background:var(--green);box-shadow:var(--mm-shadow-btn);border:0;font-size:15px;font-weight:800}.profile-save-action:disabled,.pushed-header .icon-action:disabled{opacity:.45}.avatar-button,.bottom-secondary-action,.camera-button,.fab-button,.icon-action{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent);width:48px;height:48px;color:var(--green-deep);background:var(--green-tint);border-radius:999px;justify-content:center;align-items:center;font-weight:700;display:inline-flex;box-shadow:0 8px 22px #23231f1a,inset 0 1px #ffffffb3}.avatar-button.small{width:44px;height:44px}.avatar-button svg,.bottom-secondary-action svg,.camera-button svg,.fab-button svg,.icon-action svg,.empty-meal-row svg{stroke-width:2.4px;width:20px;height:20px}.status-chip{color:var(--carbs-text);background:var(--carbs-bg);border-radius:999px;align-self:flex-start;margin-bottom:14px;padding:8px 11px;font-size:12px;font-weight:700}.history-entry-action{border:1px solid var(--border);min-height:44px;color:var(--green-deep);background:var(--surface);border-radius:999px;align-self:flex-start;align-items:center;gap:8px;margin:-2px 0 12px;padding:0 13px;font-size:13px;font-weight:800;display:inline-flex}.history-entry-action svg{stroke-width:2.2px;width:16px;height:16px}.finish-setup-card{border:1px dashed var(--border-strong);width:100%;color:var(--green-deep);background:color-mix(in srgb, var(--green-tint) 62%, var(--surface));text-align:left;border-radius:18px;gap:4px;margin-bottom:14px;padding:14px 15px;display:grid}.finish-setup-card span{color:var(--ink);font-size:14px;font-weight:700}.finish-setup-card small{color:var(--text-3);font-size:12.5px;line-height:1.35}.ring-card,.suggest-banner,.meal-row,.empty-state{border:1px solid var(--border);background:var(--surface);box-shadow:var(--mm-shadow-card)}.ring-card{border-radius:26px;grid-template-columns:148px 1fr;align-items:center;gap:16px;padding:16px;display:grid}.ring-card.muted{color:var(--text-4);background:color-mix(in srgb, var(--surface) 65%, var(--paper))}.ring-card-content{gap:10px;min-width:0;display:grid}.calorie-progress-summary{gap:7px;min-width:0;display:grid}.calorie-progress-label{justify-content:space-between;align-items:baseline;gap:6px;min-width:0;display:flex}.calorie-progress-label strong{min-width:0;color:var(--ink);font-size:15px;font-weight:850;line-height:1.2}.calorie-progress-label span{color:var(--text-3);white-space:nowrap;flex:none;font-size:12px;font-weight:800;line-height:1.2}.calorie-progress-track{background:color-mix(in srgb, var(--track) 72%, var(--surface));border-radius:999px;height:9px;overflow:hidden}.calorie-progress-track span{width:var(--progress-width);border-radius:inherit;background:var(--green);height:100%;display:block}.calorie-ring-fallback{background:radial-gradient(circle, var(--surface) 58%, transparent 60%), conic-gradient(var(--green) 309deg, var(--track) 0);border-radius:999px;place-items:center;width:112px;height:112px;display:grid}.calorie-ring-fallback span{color:var(--ink);font-family:var(--mm-font-heading);text-align:center;font-size:30px;line-height:1;display:block}.calorie-ring-fallback small{color:var(--text-4);text-align:center;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.ring-card h2{margin-top:4px;font-size:21px;line-height:1.1}.screen-copy{margin-top:8px}.calorie-target-summary{border:1px solid var(--border);background:var(--green-tint);border-radius:15px;grid-template-columns:minmax(116px,.85fr) minmax(136px,1.15fr);align-items:center;gap:10px;margin-top:12px;padding:10px 11px;display:grid}.ring-card .calorie-target-summary{margin-top:0}.calorie-target-summary.compact{border-radius:12px;grid-template-columns:1fr;gap:7px;padding:9px 10px}.calorie-offset-editor .calorie-target-summary{margin-top:0}.calorie-target-bars{gap:8px;display:grid}.calorie-target-bar-row{gap:4px;display:grid}.calorie-target-bar-row span{color:var(--text-3);text-transform:uppercase;justify-content:space-between;align-items:center;gap:6px;font-size:10.5px;font-weight:800;display:flex}.calorie-target-bar-row b,.calorie-target-bar-row strong{font:inherit}.calorie-target-bar-row strong{color:var(--ink);flex:none}.calorie-target-rail{background:color-mix(in srgb, var(--track) 72%, var(--surface));border-radius:999px;height:8px;overflow:hidden}.calorie-target-rail i{width:var(--bar-width);border-radius:inherit;background:var(--green);height:100%;display:block}.calorie-target-rail i.below{background:var(--carbs-text)}.calorie-target-rail i.above{background:var(--fat-text)}.calorie-target-stats{grid-template-columns:1fr;gap:5px;margin:0;display:grid}.calorie-target-stats div{grid-template-columns:minmax(84px,1fr) auto;align-items:baseline;gap:8px;min-width:0;display:grid}.calorie-target-stats dt{color:var(--text-2);text-transform:uppercase;min-width:0;font-size:10.5px;font-weight:800;line-height:1.2}.calorie-target-stats dd{color:var(--ink);text-align:right;white-space:nowrap;margin:2px 0 0;font-size:12.5px;font-weight:800;line-height:1.25}.calorie-target-caption{color:var(--text-3);margin:0;font-size:11.5px;font-weight:800;line-height:1.25}.calorie-target-caption.below{color:var(--carbs-text)}.calorie-target-caption.above{color:var(--fat-text)}.calorie-target-caption.at{color:var(--green-deep)}.macro-list,.meal-sections,.meal-section-list{flex-direction:column;gap:10px;margin-top:16px;display:flex}.meal-section-list{margin-top:8px}.macro-row{border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 72%, transparent);border-radius:16px;flex-direction:column;gap:8px;padding:13px 14px;display:flex}.macro-label{color:var(--text-3);justify-content:space-between;font-size:13px;display:flex}.macro-label strong{color:var(--ink)}.macro-track{background:var(--track);border-radius:999px;height:8px;overflow:hidden}.macro-track span{border-radius:inherit;background:var(--green);height:100%;transition:width var(--mm-motion-progress);display:block}.macro-row.carbs .macro-track span{background:var(--carbs)}.macro-row.fat .macro-track span{background:var(--fat)}.suggest-banner{background:var(--green-tint);border-radius:20px;grid-template-columns:1fr auto;align-items:center;gap:12px;margin-top:16px;padding:15px;display:grid}.suggest-banner h2,.meal-sections h2,.empty-state h2{font-size:18px;line-height:1.15}.text-action{min-height:44px;color:var(--green-deep);background:0 0;border:0;border-radius:999px;padding:0 14px;font-size:13px;font-weight:800}.icon-action{background:var(--surface);width:44px;height:44px;padding:0}.meal-sections h2{margin-bottom:2px}.meal-section{gap:8px;display:grid}.meal-section-header{justify-content:space-between;align-items:baseline;gap:12px;padding:0 2px;display:flex}.meal-section-header h3{font-size:15px;line-height:1.15}.meal-section-header span{color:var(--text-3);font-size:12px;font-weight:700}.meal-row,.empty-meal-row{border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:12px;display:grid}.editable-meal-row{touch-action:pan-y;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.meal-row-edit-trigger{min-width:0;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.meal-row-edit-trigger .meal-row{width:100%;min-height:58px}.meal-row-actions{grid-template-columns:44px;align-items:stretch;gap:6px;display:grid}.meal-row-action{border:1px solid var(--border);background:var(--surface);border-radius:16px;place-items:center;min-width:44px;min-height:58px;display:grid}.meal-row-action svg{width:18px;height:18px}.meal-row-action.delete{color:var(--over);background:var(--over-bg)}.delete-confirm-layer{z-index:24;padding:18px;padding-bottom:calc(18px + env(safe-area-inset-bottom));animation:scrimFade var(--mm-motion-scrim-fade);place-items:end center;display:grid;position:fixed;inset:0}.delete-confirm-scrim{background:var(--mm-color-scrim);border:0;position:absolute;inset:0}.delete-confirm-modal{z-index:1;border:1px solid var(--border);background:var(--surface);width:min(100%,394px);box-shadow:0 18px 48px color-mix(in srgb, var(--ink) 18%, transparent);animation:deleteConfirmUp var(--mm-motion-sheet-up);border-radius:22px;grid-template-columns:auto 1fr;gap:14px;padding:18px;display:grid;position:relative}.delete-confirm-icon{width:42px;height:42px;color:var(--over);background:var(--over-bg);border-radius:14px;place-items:center;display:grid}.delete-confirm-icon svg{width:19px;height:19px}.delete-confirm-copy{min-width:0}.delete-confirm-copy h2{color:var(--ink);font-family:var(--mm-font-heading);letter-spacing:0;margin:0;font-size:21px;font-weight:400;line-height:1.15}.delete-confirm-copy p{color:var(--text-2);margin:5px 0 0;font-size:13px;line-height:1.35}.delete-confirm-copy strong{color:var(--ink);font-weight:800}.delete-confirm-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.delete-confirm-cancel,.delete-confirm-delete{white-space:nowrap;border-radius:15px;justify-content:center;align-items:center;width:100%;min-width:0;min-height:46px;font-size:14px;font-weight:800;display:inline-flex}.delete-confirm-cancel{border:1px solid var(--border);color:var(--ink);background:var(--paper)}.delete-confirm-delete{color:var(--surface,#fff);background:var(--mm-color-over,#a04b3c);border:0}.meal-row h3{color:var(--ink);margin:0;font-size:14px}.meal-row>strong{color:var(--green-deep)}.empty-meal-row{border:1px dashed var(--border-strong);min-height:58px;color:var(--placeholder);text-align:left;background:0 0;font-size:13px;font-weight:700}.meal-section-add-action{min-height:44px;color:var(--green-deep);background:0 0;border:0;justify-self:start;align-items:center;gap:7px;padding:8px 4px;font-size:13px;font-weight:800;display:inline-flex}.meal-section-add-action svg{width:17px;height:17px}.gradient-action-bar{padding:22px 18px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(180deg, color-mix(in srgb, var(--paper) 0%, transparent), var(--paper) 34%);justify-content:center;align-items:center;gap:18px;display:flex;position:fixed;bottom:0;left:0;right:0}.camera-button{background:var(--surface);width:50px;height:50px}.bottom-secondary-action{width:52px;height:52px;color:var(--green-deep);background:var(--surface);box-shadow:0 10px 24px #23231f1f,inset 0 1px #ffffffbd}.fab-button{border-color:color-mix(in srgb, var(--ink) 18%, transparent);width:64px;height:64px;color:var(--on-green);background:var(--green);box-shadow:var(--mm-shadow-fab)}.placeholder-screen{gap:22px}.empty-state{border-radius:20px;padding:18px}.empty-state p{margin-top:8px}.history-content{animation:screenIn var(--mm-motion-screen-in);flex-direction:column;gap:14px;display:flex}.history-scope-control{--segment-count:3;width:100%}.history-view-control{--segment-count:2;width:100%}.scan-history-list{gap:10px;display:grid}.scan-history-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--mm-shadow-card);border-radius:18px;grid-template-columns:50px minmax(0,1fr);gap:12px;padding:12px;display:grid}.scan-history-placeholder{width:50px;height:50px;color:var(--green-deep);background:var(--green-tint);border-radius:14px;place-items:center;font-size:12px;font-weight:900;display:grid}.scan-history-details{gap:6px;min-width:0;display:grid}.scan-history-details>div:first-child{justify-content:space-between;gap:8px;display:flex}.scan-history-details h2,.scan-history-details p{margin:0}.scan-history-details h2{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.scan-history-details span,.scan-history-details p{color:var(--text-3);font-size:12px;font-weight:700}.scan-history-status{width:fit-content;color:var(--green-deep);background:var(--green-tint);border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800}.scan-history-status.logged{color:var(--text-3);background:var(--paper)}.scan-history-actions{gap:8px;display:flex}.scan-history-actions button{border:1px solid var(--border);min-height:34px;color:var(--green-deep);background:var(--surface);font:inherit;border-radius:9px;padding:0 11px;font-size:12px;font-weight:800}.scan-history-actions button:last-child{color:var(--text-3)}.scan-history-more{color:var(--text-4);text-align:center;margin:0;font-size:12px;font-weight:700}.history-date-strip{grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:8px;display:grid}.history-date-arrow{width:34px;height:44px;color:var(--text-4);background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.history-date-arrow svg{width:18px;height:18px}.history-date-list{grid-template-columns:repeat(7,minmax(42px,1fr));gap:6px;min-width:0;display:grid}.history-date-chip{border:1px solid var(--border);min-width:0;min-height:58px;color:var(--text-3);background:var(--surface);border-radius:16px;place-items:center;gap:3px;padding:7px 4px;display:grid}.history-date-chip.selected{border-color:color-mix(in srgb, var(--green) 40%, transparent);color:var(--green-deep);background:var(--green-tint)}.history-date-chip span{text-transform:uppercase;font-size:10px;font-weight:800}.history-date-chip strong{font-family:var(--mm-font-heading);font-size:18px;font-weight:400;line-height:1}.history-week-selector,.history-month-selector{scrollbar-width:none;grid-auto-columns:minmax(118px,1fr);grid-auto-flow:column;gap:8px;padding-bottom:2px;display:grid;overflow-x:auto}.history-week-selector::-webkit-scrollbar{display:none}.history-month-selector::-webkit-scrollbar{display:none}.history-week-chip,.history-month-chip{border:1px solid var(--border);min-height:58px;color:var(--text-3);background:var(--surface);text-align:left;border-radius:16px;align-content:center;gap:4px;padding:9px 10px;display:grid}.history-week-chip.selected,.history-month-chip.selected{border-color:color-mix(in srgb, var(--green) 40%, transparent);color:var(--green-deep);background:var(--green-tint)}.history-week-chip span,.history-month-chip span{text-transform:uppercase;font-size:10px;font-weight:800}.history-week-chip strong,.history-month-chip strong{font-family:var(--mm-font-heading);font-size:17px;font-weight:400;line-height:1.05}.nutrition-summary-panel{gap:10px;display:grid}.nutrition-period-control{width:100%}.nutrition-period-card{border:1px solid color-mix(in srgb, var(--green) 18%, transparent);background:var(--green-tint);border-radius:20px;grid-template-columns:minmax(0,1fr);gap:14px;padding:16px;display:grid}.nutrition-period-card p,.nutrition-period-card h2,.nutrition-period-card dl{margin:0}.nutrition-period-card p{color:var(--green-deep);text-transform:uppercase;font-size:11px;font-weight:800}.nutrition-period-card h2{font-family:var(--mm-font-heading);margin-top:3px;font-size:31px;font-weight:400;line-height:1.05}.nutrition-period-card span,.nutrition-period-card small{color:var(--text-3);font-size:12px;font-weight:700}.nutrition-period-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.nutrition-period-card dl div{background:var(--surface);text-align:center;border-radius:14px;padding:10px 8px}.nutrition-period-card dt,.nutrition-period-card dd{margin:0}.nutrition-period-card dt{color:var(--text-4);text-transform:uppercase;font-size:10px;font-weight:800}.nutrition-period-card dd{color:var(--green-deep);margin-top:3px;font-size:14px;font-weight:800}.history-total-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--mm-shadow-card);border-radius:22px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;display:grid}.history-total-card p{color:var(--text-4);text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:800}.history-total-card h2{font-family:var(--mm-font-heading);margin:0;font-size:30px;font-weight:400;line-height:1.05}.history-total-card dl{grid-template-columns:repeat(3,minmax(42px,1fr));gap:7px;margin:0;display:grid}.history-total-card div{min-width:0}.history-total-card dt,.history-total-card dd{text-align:center;margin:0}.history-total-card dt{color:var(--text-4);text-transform:uppercase;font-size:10px;font-weight:800}.history-total-card dd{color:var(--green-deep);font-size:13px;font-weight:800}.history-adherence-card{border:1px solid color-mix(in srgb, var(--green) 18%, transparent);background:var(--green-tint);border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;display:grid}.history-adherence-card p,.history-adherence-card h2{margin:0}.history-adherence-card p{color:var(--green-deep);text-transform:uppercase;font-size:11px;font-weight:800}.history-adherence-card h2{margin-top:3px;font-size:17px;line-height:1.2}.history-adherence-card span{color:var(--text-4);margin-top:4px;font-size:12px;font-weight:700;display:block}.history-adherence-card strong{width:58px;height:58px;color:var(--on-primary);background:var(--green);font-family:var(--mm-font-heading);border-radius:999px;place-items:center;font-size:20px;font-weight:400;display:grid}.history-month-breakdown{gap:10px;display:grid}.history-month-breakdown-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.history-month-breakdown-header h2{font-family:var(--mm-font-heading);margin:0;font-size:22px;font-weight:400}.history-month-breakdown-header span{color:var(--text-4);text-transform:uppercase;font-size:12px;font-weight:800}.history-month-week-list{gap:9px;display:grid}.history-month-week-row{border:1px solid var(--border);background:var(--surface);border-radius:16px;grid-template-columns:minmax(0,1fr);gap:10px;padding:13px;display:grid}.history-month-week-row p,.history-month-week-row strong,.history-month-week-row dl{margin:0}.history-month-week-row p,.history-month-week-row small{color:var(--text-3);font-size:12px;font-weight:700}.history-month-week-row strong{color:var(--text);font-family:var(--mm-font-heading);margin-top:2px;font-size:22px;font-weight:400;display:block}.history-month-week-row dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.history-month-week-row dl div{background:var(--paper);text-align:center;border-radius:12px;padding:8px 6px}.history-month-week-row dt,.history-month-week-row dd{margin:0}.history-month-week-row dt{color:var(--text-4);text-transform:uppercase;font-size:9px;font-weight:800}.history-month-week-row dd{color:var(--green-deep);margin-top:2px;font-size:13px;font-weight:800}.history-meal-sections{flex-direction:column;gap:12px;display:flex}.history-meal-section{gap:8px;display:grid}.history-week-meal-groups{gap:14px;display:grid}.history-week-day-group{gap:10px;display:grid}.history-week-meal-type h4{color:var(--text-4);text-transform:uppercase;margin:0;font-size:11px;font-weight:800}.history-meal-row{gap:8px;display:grid}.history-duplicate-action{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--green-deep);font:inherit;border-radius:8px;font-size:13px;font-weight:800}.history-actions{padding-top:16px;padding-bottom:max(8px, env(safe-area-inset-bottom));align-items:center;margin-top:auto;display:grid}@media (width<=359px){.calorie-progress-label{gap:3px;display:grid}.calorie-progress-label span{white-space:normal}.calorie-target-summary{grid-template-columns:1fr}.history-date-strip{grid-template-columns:minmax(0,1fr)}.history-date-arrow{display:none}.history-date-list{grid-template-columns:repeat(7,46px);padding-bottom:2px;overflow-x:auto}.history-total-card{grid-template-columns:1fr}}.sheet-layer{z-index:20;animation:scrimFade var(--mm-motion-scrim-fade);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-scrim{background:var(--mm-color-scrim);border:0;position:absolute;inset:0}.bottom-sheet{z-index:1;width:min(100%,430px);padding:10px 18px calc(44px + env(safe-area-inset-bottom));background:var(--sheet);box-shadow:0 -18px 48px color-mix(in srgb, var(--ink) 16%, transparent);animation:sheetUp var(--mm-motion-sheet-up);border-radius:28px 28px 0 0;position:relative}.manual-entry-sheet{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:min(82svh,760px);padding-bottom:calc(24px + env(safe-area-inset-bottom));overflow-y:auto}.sheet-handle{background:color-mix(in srgb, var(--ink) 15%, transparent);border-radius:999px;width:40px;height:4.5px;margin:0 auto 14px}.sheet-header{grid-template-columns:1fr auto;align-items:center;gap:12px;margin-bottom:16px;display:grid}.sheet-header h2{color:var(--ink);font-family:var(--mm-font-heading);letter-spacing:0;margin:0;font-size:21px;font-weight:400}.sheet-actions{flex-direction:column;gap:10px;display:flex}.add-food-sheet-title{color:var(--ink);font-family:var(--mm-font-heading);letter-spacing:0;margin:0 2px 4px;font-size:21px;font-weight:400;line-height:1.2}.sheet-action-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.primary-sheet-action,.secondary-sheet-action,.text-sheet-action{border:0;font-weight:600;display:inline-flex}.primary-sheet-action svg,.secondary-sheet-action svg,.text-sheet-action svg{stroke-width:2px;width:21px;height:21px}.primary-sheet-action{min-height:82px;color:var(--on-green);background:var(--green);text-align:left;border-radius:20px;align-items:center;gap:14px;padding:18px}.primary-sheet-action:hover{background:var(--green-deep)}.primary-sheet-action-icon{background:color-mix(in srgb, var(--on-green) 14%, transparent);border-radius:15px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex}.primary-sheet-action-icon svg{stroke-width:1.8px;width:26px;height:26px}.primary-sheet-action-copy{flex-direction:column;gap:2px;min-width:0;font-size:16px;line-height:1.2;display:flex}.primary-sheet-action-copy small{color:color-mix(in srgb, var(--on-green) 75%, transparent);font-size:13px;font-weight:500;line-height:1.25}.secondary-sheet-action{border:1px solid var(--border);min-height:86px;color:var(--text-1);background:var(--surface);text-align:left;border-radius:18px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;padding:14px 15px;font-size:14px;line-height:1.15}.secondary-sheet-action:hover{border-color:color-mix(in srgb, var(--green) 50%, transparent)}.quick-calorie-action{border:1px solid color-mix(in srgb, var(--green) 30%, transparent);min-height:54px;color:var(--green-deep);background:color-mix(in srgb, var(--green) 6%, var(--surface));border-radius:16px;justify-content:center;align-items:center;gap:9px;padding:13px 15px;font-size:14px;font-weight:700;display:inline-flex}.quick-calorie-action svg{stroke-width:2.2px;width:19px;height:19px}.quick-calorie-action:hover{border-color:color-mix(in srgb, var(--green) 56%, transparent);background:color-mix(in srgb, var(--green) 10%, var(--surface))}.text-sheet-action{min-height:48px;color:var(--green-deep);background:0 0;justify-content:center;align-items:center;gap:8px;padding:12px;font-size:13.5px}.manual-field{color:var(--text-3);flex-direction:column;gap:6px;font-size:13px;font-weight:700;display:flex}.manual-field input{border:1px solid var(--border);min-height:48px;color:var(--ink);background:var(--surface);border-radius:15px;padding:0 14px}.manual-field textarea{resize:vertical;border:1px solid var(--border);color:var(--ink);background:var(--surface);border-radius:15px;padding:12px 14px}.manual-entry-form{padding-bottom:max(0px, env(safe-area-inset-bottom));flex-direction:column;gap:16px;display:flex}.quick-calorie-form{gap:14px}.manual-stepper-list,.manual-optional-fields{flex-direction:column;gap:12px;display:flex}.manual-stepper-row{border:1px solid var(--border);background:var(--surface);color:var(--text-1);border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:12px 12px 12px 14px;font-size:14px;font-weight:700;display:flex}.manual-stepper-row .stepper{flex:none}.manual-calories-readout{border:1px solid color-mix(in srgb, var(--green) 26%, transparent);background:color-mix(in srgb, var(--green) 7%, var(--surface));color:var(--text-1);border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;display:flex}.manual-calories-readout span{color:var(--text-3);font-size:13px;font-weight:700}.manual-calories-readout strong{font-size:18px;font-weight:800}.manual-meal-type{color:var(--text-3);flex-direction:column;gap:8px;font-size:13px;font-weight:700;display:flex}.manual-section-context{border:1px solid color-mix(in srgb, var(--green) 18%, transparent);background:var(--green-tint);color:var(--green-deep);border-radius:14px;margin:0;padding:11px 13px;font-size:13px;font-weight:800}.manual-meal-type .segmented-control{width:100%}.manual-submit-action{justify-content:center;min-height:54px;margin-top:2px}.recent-food-shortcuts{gap:10px;padding-top:2px;display:grid}.recent-food-shortcuts h3{color:var(--text-3);font:700 11px/1 var(--font-body);text-transform:uppercase;margin:0}.recent-food-list{gap:8px;display:grid}.recent-food-shortcut{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--ink);font:700 13px/1.25 var(--font-body);text-align:left;border-radius:15px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.recent-food-shortcut small{color:var(--text-3);font:600 12px/1 var(--font-body);flex:none}@keyframes deleteConfirmUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.app-shell{background:var(--paper);width:100%;min-width:320px;height:100svh;min-height:100svh;overflow:hidden}.app-screen{background:var(--paper);flex-direction:column;width:100%;min-width:0;height:100svh;min-height:100svh;display:flex;position:relative;overflow-x:clip}.app-content{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:calc(18px + env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) calc(122px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));scrollbar-gutter:stable both-edges;flex:auto;overflow:hidden auto}.gradient-action-bar{right:env(safe-area-inset-right);left:env(safe-area-inset-left);z-index:10}@supports (height:100dvh){.app-shell,.app-screen{height:100dvh;min-height:100dvh}}@media (width<=430px){.ring-card{grid-template-columns:1fr}.meal-row,.empty-meal-row{grid-template-columns:auto minmax(0,1fr) auto}.meal-row h3,.meal-row p,.empty-meal-row span{overflow-wrap:anywhere}}@media (width<=359px){.app-content{padding-right:max(14px, env(safe-area-inset-right));padding-left:max(14px, env(safe-area-inset-left))}.ring-card{grid-template-columns:1fr}}@media (width>=720px){.app-shell{background:var(--outer-bg);justify-content:center;display:flex}.app-screen{width:min(100%,430px);box-shadow:0 1px 3px color-mix(in srgb, var(--ink) 8%, transparent)}.gradient-action-bar{width:min(100%,430px);left:50%;right:auto;transform:translate(-50%)}}
