:root{--bg:#f4f4f1;--surface:#fff;--surface-muted:#f6f6f3;--line:#e8e8e3;--line-strong:#d7d7d0;--text:#121212;--text-muted:#6f6f69;--text-soft:#9a9a92;--primary:#121212;--primary-hover:#2b2b2b;--on-primary:#fff;--kcal:#ff6b35;--kcal-soft:#fff0e9;--protein:#ef4f5b;--protein-soft:#fdeced;--fat:#3d8bfd;--fat-soft:#e9f2ff;--carbs:#f2b31b;--carbs-soft:#fff6dd;--ring-track:#efefea;--success:#1f9d55;--danger:#d93a2b;--danger-soft:#fdeeec;--warning-soft:#fff6e0;--warning-line:#f0d48b;--focus:#ffb38f;--radius:22px;--radius-sm:14px;--shadow:0 1px 2px #1212120a, 0 8px 24px #1212120d;--shell:480px;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,SF Pro Text,-apple-system,Segoe UI,Roboto,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.55}a{color:inherit}h1,h2,h3{letter-spacing:-.02em;margin:0}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.icon{flex-shrink:0}.app-shell{max-width:var(--shell);min-height:100dvh;margin:0 auto;padding:0 16px;position:relative}.app-shell.with-tabs{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.app-shell.centered{place-content:center;gap:16px;display:grid}.top-language{justify-content:flex-end;display:flex}.loading{color:var(--text-muted);text-align:center;font-size:14px}.page-header{padding:22px 4px 14px}.page-header h1,.home-header h1{font-size:30px;font-weight:750}.section-title{margin-bottom:12px;font-size:17px;font-weight:700}.eyebrow{color:var(--text-muted);font-size:13px;font-weight:500;display:inline-block}.eyebrow:first-letter{text-transform:uppercase}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:14px;padding:20px}.tab-bar{z-index:20;width:min(100%, var(--shell));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:8px 12px calc(10px + env(safe-area-inset-bottom));background:#ffffffeb;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tab-bar button{color:var(--text-soft);background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:3px;padding:6px 4px;font-size:11px;font-weight:600;display:flex}.tab-bar button[aria-current=page]{color:var(--text)}.primary-button,.save-button,.danger-button{border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;padding:12px 20px;font-size:15px;font-weight:650;transition:background .15s,transform .1s;display:inline-flex}.primary-button{background:var(--primary);color:var(--on-primary)}.primary-button:not(:disabled):hover{background:var(--primary-hover)}.primary-button:not(:disabled):active,.save-button:not(:disabled):active{transform:scale(.98)}.save-button{background:var(--surface);color:var(--text);border:1.5px solid var(--line-strong)}.save-button:not(:disabled):hover{background:var(--surface-muted)}.danger-button{background:var(--danger);color:#fff}.text-button{color:var(--text-muted);text-underline-offset:3px;background:0 0;border:0;padding:8px 0;font-size:14px;font-weight:550;text-decoration:underline;display:inline-block}.icon-button{background:var(--surface-muted);width:42px;height:42px;color:var(--text);border:0;border-radius:50%;flex-shrink:0;place-items:center;display:inline-grid}.icon-button:not(:disabled):hover{background:var(--line)}.icon-spacer{width:42px}.chip-button{border:1px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:600;display:inline-flex}.chip-button .icon{width:16px;height:16px}.chip-button.danger{color:var(--danger)}.step-actions{gap:10px;margin-top:18px;display:flex}.step-actions>button{flex:1}label{flex-direction:column;gap:7px;min-width:0;margin-bottom:14px;font-size:13px;font-weight:600;display:flex}input,select,textarea{border:1.5px solid var(--line);background:var(--surface-muted);border-radius:var(--radius-sm);width:100%;min-width:0;min-height:48px;padding:12px 14px;font-size:15px;font-weight:450}input:focus,select:focus,textarea:focus{border-color:var(--text);background:var(--surface);outline:none}input::placeholder,textarea::placeholder{color:var(--text-soft)}textarea{resize:vertical;min-height:88px;line-height:1.45}[aria-invalid=true]{border-color:var(--danger)!important}fieldset{border:0;min-width:0;margin:0;padding:0}.field-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field-grid label{margin:0}.field-hint{color:var(--text-muted);margin:8px 0 14px;font-size:13px;line-height:1.5}.field-hint.center{text-align:center}.field-error{color:var(--danger);margin:6px 0 0;font-size:13px;font-weight:500;line-height:1.45}.alert{color:#8d2419;background:var(--danger-soft);border-radius:var(--radius-sm);margin:0 0 14px;padding:12px 14px;font-size:14px;line-height:1.5}.alert .text-button{color:inherit;padding-bottom:0;display:block}.privacy-note{text-align:center;color:var(--text-soft);margin:12px 0 0;font-size:12px;line-height:1.5}.save-status{color:var(--text-muted);text-align:center;margin:10px 0 0;font-size:13px}.save-status.saved{color:var(--success)}.language-select{background-color:var(--surface);border-radius:999px;width:auto;min-height:38px;padding:6px 30px 6px 12px;font-size:13px}.origin-badge{color:var(--text-muted);background:var(--surface-muted);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}details>summary{cursor:pointer;justify-content:space-between;align-items:center;font-size:14px;font-weight:600;list-style:none;display:flex}details>summary::-webkit-details-marker{display:none}details>summary:after{content:"+";color:var(--text-muted);font-size:18px;font-weight:400}details[open]>summary:after{content:"−"}.breakdown-card{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.breakdown{margin:12px 0 0;font-size:14px}.breakdown div{border-bottom:1px dashed var(--line);justify-content:space-between;gap:10px;padding:8px 0;display:flex}.breakdown dt{color:var(--text-muted)}.breakdown dd{white-space:nowrap;margin:0;font-weight:650}.calorie-ring{flex-shrink:0;place-items:center;display:grid;position:relative}.calorie-ring svg{position:absolute;inset:0}.ring-progress{transition:stroke-dashoffset .6s}.ring-centre{text-align:center;flex-direction:column;align-items:center;max-width:72%;display:flex;position:relative}.ring-centre strong{letter-spacing:-.03em;font-size:34px;font-weight:800;line-height:1.05}.ring-centre span{color:var(--text-muted);margin-top:4px;font-size:12px}.macros{gap:12px;margin-top:18px;display:grid}.macro-head{justify-content:space-between;gap:10px;margin-bottom:6px;font-size:13px;font-weight:600;display:flex}.macro-values{color:var(--text-muted);text-align:right;font-weight:500}.macro-values strong{color:var(--text);font-weight:700}.macro-values .incomplete-nutrient{color:var(--text-muted);font-size:12px}.macro-track{background:var(--ring-track);border-radius:99px;height:8px;overflow:hidden}.macro-track span{border-radius:inherit;height:100%;transition:width .5s;display:block}.macro-protein .macro-track span{background:var(--protein)}.macro-fat .macro-track span{background:var(--fat)}.macro-carbs .macro-track span{background:var(--carbs)}.plan-macros{grid-template-columns:repeat(3,1fr);gap:8px;width:100%;margin:18px 0;display:grid}.macro-chip{border-radius:var(--radius-sm);text-align:center;flex-direction:column;gap:2px;padding:12px 8px;display:flex}.macro-chip strong{font-size:18px;font-weight:750}.macro-chip span{color:var(--text-muted);font-size:12px}.macro-chip.macro-protein{background:var(--protein-soft)}.macro-chip.macro-protein strong{color:#c3303c}.macro-chip.macro-fat{background:var(--fat-soft)}.macro-chip.macro-fat strong{color:#1d63c9}.macro-chip.macro-carbs{background:var(--carbs-soft)}.macro-chip.macro-carbs strong{color:#a5740a}.onboarding{flex-direction:column;min-height:100dvh;display:flex}.onboarding-bar{align-items:center;gap:12px;padding:14px 0;display:flex}.onboarding-progress{background:var(--line);border-radius:99px;flex:1;height:6px;overflow:hidden}.onboarding-progress span{background:var(--primary);border-radius:inherit;height:100%;transition:width .3s;display:block}.onboarding-progress-spacer{flex:1}.onboarding-body{flex-direction:column;flex:1;padding:10px 0 0;display:flex}.onboarding-footer{padding:20px 0 calc(20px + env(safe-area-inset-bottom));background:linear-gradient(transparent, var(--bg) 30%);margin-top:auto;position:sticky;bottom:0}.question{margin:10px 0 24px;font-size:28px;font-weight:780;line-height:1.15}.question:focus,.welcome h1:focus{outline:none}.lead{color:var(--text-muted);margin:0 0 18px;font-size:16px;line-height:1.55}.lead.center{text-align:center;margin-top:-14px}.welcome{text-align:center;flex-direction:column;align-items:center;padding-top:6vh;display:flex}.welcome h1{margin-bottom:14px;font-size:32px;font-weight:800;line-height:1.12}.choices{gap:10px;display:grid}.choices.compact{margin-top:18px}.choices legend{flex-direction:column;gap:4px;margin-bottom:10px;font-size:15px;display:flex}.choice-card{border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow);cursor:pointer;border:2px solid #0000;flex-direction:row;align-items:center;gap:14px;margin:0;padding:18px;transition:border-color .15s,background .15s}.choice-card.selected{border-color:var(--primary)}.choice-card input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.choice-card:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.choice-emoji{background:var(--surface-muted);border-radius:50%;place-items:center;width:44px;height:44px;font-size:22px;display:grid}.choice-text{flex-direction:column;gap:3px;font-size:16px;display:flex}.choice-text small{color:var(--text-muted);font-size:13px;font-weight:450}.measure{text-align:center;flex-direction:column;align-items:center;padding-top:4vh;display:flex}.measure-label{color:var(--text-muted);margin:0 0 10px;font-size:14px;font-weight:600}.measure-value{justify-content:center;align-items:baseline;gap:8px;display:flex}.measure-value input{field-sizing:content;text-align:center;letter-spacing:-.04em;border:0;border-bottom:3px solid var(--line);background:0 0;border-radius:0;width:auto;min-width:2.2ch;max-width:6ch;min-height:0;padding:0;font-size:64px;font-weight:800}.measure-value input:focus{border-bottom-color:var(--primary)}.measure-value input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.measure-value input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.measure-value input[type=number]{appearance:textfield}.measure-value span{color:var(--text-muted);font-size:20px;font-weight:600}.measure-value.big output{letter-spacing:-.04em;font-size:64px;font-weight:800}.measure-slider{width:100%;min-height:0;accent-color:var(--primary);background:0 0;border:0;height:28px;margin:28px 0 8px;padding:0}.pace-scale{width:100%;color:var(--text-muted);justify-content:space-between;font-size:12px;display:flex}.pill-note{background:var(--kcal-soft);color:#b5461a;text-align:center;border-radius:16px;align-self:center;margin:18px auto 0;padding:8px 14px;font-size:14px;font-weight:600;line-height:1.4;display:inline-block}.plan{flex-direction:column;align-items:center;display:flex}.plan .breakdown-card{width:100%}.home-header{justify-content:space-between;align-items:flex-end;gap:12px;padding:22px 4px 12px;display:flex}.date-picker{background:var(--surface);width:44px;height:44px;box-shadow:var(--shadow);cursor:pointer;border-radius:50%;flex-direction:row;place-items:center;margin:0;display:grid;position:relative}.date-picker input{opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;padding:0;position:absolute;inset:0}.date-picker input::-webkit-calendar-picker-indicator{cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.date-picker:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.week-strip{grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:14px;display:grid}.week-strip button{color:var(--text-muted);background:0 0;border:0;border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:8px 0;display:flex}.week-strip button span{text-transform:capitalize;font-size:11px}.week-strip button strong{width:34px;height:34px;color:var(--text);border-radius:50%;place-items:center;font-size:16px;font-weight:650;display:grid}.week-strip button.is-today strong{box-shadow:inset 0 0 0 1.5px var(--line-strong)}.week-strip button[aria-pressed=true]{background:var(--surface);box-shadow:var(--shadow);color:var(--text)}.week-strip button[aria-pressed=true] strong{background:var(--primary);color:var(--on-primary);box-shadow:none}.setup-card h2{margin-bottom:6px;font-size:20px}.setup-card p{color:var(--text-muted);margin:0 0 14px;font-size:14px;line-height:1.5}.summary-top{align-items:center;gap:18px;display:flex}.summary-stats{flex:1;gap:12px;min-width:0;margin:0;display:grid}.summary-stats dt{color:var(--text-muted);align-items:center;gap:4px;font-size:13px;display:flex}.summary-stats dt .icon{width:16px;height:16px;color:var(--kcal)}.summary-stats dd{color:var(--text-muted);overflow-wrap:anywhere;margin:2px 0 0;font-size:13px}.summary-stats dd strong{color:var(--text);font-size:20px;font-weight:750}.summary-stats .target-status{background:var(--surface-muted);color:var(--text-muted);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-block}.summary-card .field-hint{margin-bottom:0;font-size:12px}.meal-list,.favorites{margin-top:22px}.meal-list .section-title,.favorites .section-title{padding:0 4px}.empty-diary{text-align:center;color:var(--text-muted);border:1.5px dashed var(--line-strong);border-radius:var(--radius);margin:0;padding:30px 16px;font-size:14px;line-height:1.5}.confirmed-meal{padding:14px}.meal-row{align-items:center;gap:12px;display:flex}.meal-thumb{object-fit:cover;background:var(--surface-muted);image-orientation:from-image;border-radius:16px;flex-shrink:0;width:64px;height:64px}.meal-thumb.placeholder{color:var(--kcal);place-items:center;display:grid}.meal-main{flex:1;min-width:0}.meal-main h3{overflow-wrap:anywhere;margin:1px 0 3px;font-size:16px;font-weight:700}.meal-main .eyebrow{font-size:12px}.meal-kcal{margin:0;font-size:15px;font-weight:700}.meal-macros{color:var(--text-muted);flex-wrap:wrap;gap:4px 10px;margin:4px 0 0;font-size:12px;display:flex}.dot:before{content:"";vertical-align:1px;border-radius:50%;width:7px;height:7px;margin-right:4px;display:inline-block}.dot-protein:before{background:var(--protein)}.dot-fat:before{background:var(--fat)}.dot-carbs:before{background:var(--carbs)}.star{color:var(--text-soft);background:0 0}.star.active{color:var(--carbs)}.meal-details{color:var(--text-muted);margin-top:10px;font-size:13px;line-height:1.5}.meal-details p{overflow-wrap:anywhere;margin:0 0 4px}.meal-details ul{margin:0;padding-left:18px}.meal-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.favorite-row{scroll-snap-type:x mandatory;gap:10px;padding:2px 2px 8px;display:flex;overflow-x:auto}.favorite-chip{scroll-snap-align:start;background:var(--surface);border-radius:var(--radius-sm);box-shadow:var(--shadow);flex:none;align-items:center;gap:10px;max-width:240px;padding:10px 10px 10px 14px;display:flex}.favorite-chip span,.favorite-list span{flex-direction:column;min-width:0;display:flex}.favorite-chip strong,.favorite-list strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.favorite-chip small,.favorite-list small{color:var(--text-muted);font-size:12px}.fab{z-index:25;right:max(18px, calc(50% - var(--shell) / 2 + 18px));bottom:calc(84px + env(safe-area-inset-bottom));background:var(--primary);width:62px;height:62px;color:var(--on-primary);border:0;border-radius:50%;place-items:center;display:grid;position:fixed;box-shadow:0 10px 28px #12121247}.fab .icon{width:28px;height:28px}.fab:not(:disabled):active{transform:scale(.95)}.sheet-layer{z-index:40;background:#12121261;justify-content:center;align-items:flex-end;animation:.18s fade;display:flex;position:fixed;inset:0}.sheet{width:min(100%, var(--shell));background:var(--bg);max-height:92dvh;padding:10px 16px calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:26px 26px 0 0;animation:.22s rise;overflow-y:auto}.sheet:before{content:"";background:var(--line-strong);border-radius:99px;width:40px;height:5px;margin:0 auto 10px;display:block}.sheet.full{height:96dvh;max-height:96dvh}.sheet.small{padding-top:10px}.sheet.small h2{margin:6px 0 8px;font-size:20px}.sheet-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.sheet-header h2{font-size:22px;font-weight:750}.sheet-header .field-hint{margin:2px 0 0}.sheet-lead{color:var(--text-muted);margin:0 0 12px;font-size:14px;line-height:1.5}.sheet-lead strong{color:var(--text)}.sheet-subtitle{margin:18px 0 8px;font-size:15px}.option-button{border-radius:var(--radius-sm);background:var(--surface);width:100%;box-shadow:var(--shadow);text-align:left;border:0;align-items:center;gap:12px;margin-top:10px;padding:16px;font-size:15px;font-weight:650;display:flex}.favorite-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.favorite-list li{background:var(--surface);border-radius:var(--radius-sm);align-items:center;gap:8px;padding:10px 10px 10px 14px;display:flex}.favorite-list li>span{flex:1}@keyframes rise{0%{transform:translateY(24px)}}@keyframes fade{0%{opacity:0}}.photo-drop-zone{border:2px dashed var(--line-strong);border-radius:var(--radius);background:var(--surface);width:100%;padding:16px}.photo-drop-zone.drag-over{border:2px solid var(--primary);background:var(--kcal-soft)}.photo-drop-zone[aria-disabled=true]{opacity:.6}.photo-drop-zone>strong{font-size:15px}.photo-drop-prompt{color:var(--text-muted);margin:6px 0 12px;font-size:14px;line-height:1.5}.photo-input-actions{flex-wrap:wrap;gap:8px;display:flex}.photo-input-actions>button{flex:140px;min-width:0}.photo-input-actions>button:last-child{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.photo-drop-zone .field-hint{margin:10px 0 0;font-size:12px}.photo-drop-zone.has-photo{padding:12px}.photo-drop-zone.has-photo .field-hint,.photo-drop-zone.has-photo>strong{display:none}.photo-drop-zone.has-photo .photo-drop-prompt{margin:0 0 10px;font-size:13px}.meal-editor form>fieldset>label,.meal-editor .field-grid{margin-bottom:14px}.meal-photo{object-fit:cover;border-radius:var(--radius);image-orientation:from-image;width:100%;max-height:300px;display:block}.photo-attachment{margin:14px 0}.analysis-input{gap:14px;margin:14px 0;display:grid}.analysis-input .photo-attachment{margin:0}.analysis-description label{margin-bottom:0}.description-hint{margin:8px 0 0}.analysis-start{margin-top:14px}.analysis-start .field-hint{text-align:center;margin:10px 0 0;font-size:12px}.analysis-review{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin:14px 0;padding:18px}.analysis-review h3{margin-bottom:10px;font-size:18px}.analysis-review p{overflow-wrap:anywhere;font-size:14px;line-height:1.55}.analysis-review ul{padding-left:20px;font-size:15px;line-height:1.7}.analysis-review .primary-button{margin-top:12px}.analysis-review .step-actions .primary-button{margin-top:0}.analysis-review .text-button{margin-top:4px}.description-nudge{border-radius:var(--radius-sm);background:var(--warning-soft);padding:12px 14px;font-size:14px;line-height:1.5}.estimate-update{background:var(--warning-soft);border:1px solid var(--warning-line);border-radius:var(--radius-sm);margin-bottom:14px;padding:14px}.estimate-update p{margin:0;font-weight:600}.estimate-update .step-actions{margin-top:12px}.nutrient-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.nutrient-card{border-radius:var(--radius-sm);min-width:0;padding:12px 10px}.nutrient-card>span{color:var(--text-muted);margin-bottom:6px;font-size:11px;display:block}.nutrient-card strong{overflow-wrap:anywhere;font-size:20px;font-weight:750;display:block}.kcal-range{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;font-weight:600;display:inline-block}.nutrient-card .kcal-range,.draft-item .kcal-range{margin-top:2px;display:block}.estimate-description{margin:0 0 12px}.estimate-description p{margin:0 0 4px}.estimate-description.editing{gap:8px;display:grid}.estimate-description.editing textarea{width:100%}.nutrient-grid.with-kcal-choice{grid-template-columns:repeat(3,minmax(0,1fr))}.with-kcal-choice .nutrient-kcal{grid-column:1/-1;grid-template-columns:auto 1fr;align-items:center;column-gap:12px;display:grid}.with-kcal-choice .nutrient-kcal>span{grid-column:1/-1}.kcal-choice-wrap{flex-direction:column;align-items:flex-end;gap:6px;min-width:0;display:flex}.kcal-choice-title{color:var(--text-muted);text-align:right;font-size:11px}.kcal-choice{justify-content:flex-end;gap:6px;min-width:0;display:flex}.kcal-option-cell{flex-direction:column;align-items:center;gap:3px;min-width:0;display:flex}.kcal-option-cell small{color:var(--text-muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.kcal-option{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:36px;font:inherit;font-variant-numeric:tabular-nums;color:var(--text);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700}.kcal-option[aria-pressed=true]{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.nutrient-card .incomplete-nutrient{font-size:12px;font-weight:600;line-height:1.4}.nutrient-kcal{background:var(--kcal-soft)}.nutrient-protein{background:var(--protein-soft)}.nutrient-fat{background:var(--fat-soft)}.nutrient-carbs{background:var(--carbs-soft)}.draft-item{background:var(--surface);border-radius:var(--radius);margin:12px 0;padding:16px}.draft-item .field-grid{margin-bottom:4px}.usual-portion{background:var(--carbs-soft);border-radius:var(--radius-sm);align-items:center;gap:10px;margin:-4px 0 14px;padding:10px 10px 10px 12px;display:flex}.usual-portion.summary{margin:12px 0 0}.usual-portion p{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.4}.usual-portion small{color:var(--text-muted);font-size:12px;display:block}.usual-icon{color:var(--carbs);display:grid}.usual-icon .icon{width:18px;height:18px}.food-list{margin:0;padding:0;list-style:none}.food-list li{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 0;display:flex}.food-list li>span{flex-direction:column;flex:1;min-width:0;font-size:14px;display:flex}.food-list small{color:var(--text-muted);font-size:12px}.weight-stats{text-align:center;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 16px;display:grid}.weight-stats div{background:var(--surface-muted);border-radius:var(--radius-sm);padding:12px 6px}.weight-stats .current{background:var(--primary);color:var(--on-primary)}.weight-stats dt{opacity:.7;font-size:12px}.weight-stats dd{margin:4px 0 0;font-size:17px;font-weight:750}.goal-progress p{color:var(--text-muted);margin:8px 0 0;font-size:13px}.goal-track{background:var(--ring-track);border-radius:99px;height:10px;overflow:hidden}.goal-track span{background:var(--success);border-radius:inherit;height:100%;display:block}.weight-chart{margin:16px 0 6px}.weight-chart svg{width:100%;height:auto;display:block}.weight-chart .grid{stroke:var(--line);stroke-width:1px}.weight-chart .goal-line{stroke:var(--success);stroke-width:1.5px;stroke-dasharray:5 4}.weight-chart .trend{fill:none;stroke:var(--primary);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.weight-chart .point{fill:var(--surface);stroke:var(--primary);stroke-width:2px}.weight-chart .axis{fill:var(--text-soft);font-size:10px}.weight-form{grid-template-columns:1fr 1fr;align-items:end;gap:10px;margin-top:16px;display:grid}.weight-form label{margin:0}.weight-form .primary-button,.weight-form .field-error{grid-column:1/-1}.week-bars{grid-template-columns:repeat(7,1fr);align-items:end;gap:8px;height:140px;display:grid}.week-bar{flex-direction:column;align-items:center;gap:6px;height:100%;display:flex}.bar-track{background:var(--surface-muted);border-radius:10px;flex:1;align-items:flex-end;width:100%;max-width:28px;display:flex;position:relative;overflow:hidden}.bar-fill{background:var(--kcal);border-radius:10px;width:100%;min-height:2px}.bar-fill.over{background:var(--danger)}.bar-target{border-top:2px dashed var(--text-soft);z-index:1;position:absolute;left:0;right:0}.week-bar small{color:var(--text-muted);text-transform:capitalize;font-size:11px}.history-list{margin:0;padding:0;list-style:none}.history-list li{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 0;font-size:14px;display:flex}.history-list li span{color:var(--text-muted);flex:1}.history-list .icon-button{width:36px;height:36px;color:var(--text-soft);background:0 0}.plan-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.plan-head .section-title{margin:0}.plan-number{align-items:baseline;gap:8px;margin:10px 0 0;display:flex}.plan-number strong{letter-spacing:-.04em;font-size:46px;font-weight:800}.plan-number span{color:var(--text-muted);font-size:15px}.facts{margin:0}.facts div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:11px 0;font-size:14px;display:flex}.facts dt{color:var(--text-muted)}.facts dd{text-align:right;margin:0;font-weight:650}.segmented{background:var(--surface-muted);border-radius:999px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:14px;padding:4px;display:grid}.segmented label{text-align:center;cursor:pointer;border-radius:999px;justify-content:center;align-items:center;margin:0;padding:10px 8px;font-size:13px}.segmented label.selected{background:var(--surface);box-shadow:var(--shadow)}.segmented input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.segmented label:has(input:focus-visible){outline:3px solid var(--focus)}.setting-row{justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.reset-button{color:var(--danger);margin-top:12px}@media (width<=380px){.summary-top{flex-direction:column}.nutrient-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid{grid-template-columns:1fr}.measure-value input,.measure-value.big output{font-size:54px}}@media (width>=720px){.app-shell{padding:0 20px}.sheet{border-radius:26px;margin-bottom:4vh}.sheet-layer{align-items:center}.sheet.full{height:92dvh}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.sign-in{flex-direction:column;padding-top:16px;display:flex}.sign-in-body{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:24px 0 48px;display:flex}.sign-in-body h1{margin-bottom:12px;font-size:30px;font-weight:800;line-height:1.15}.sign-in-body .alert{text-align:left;width:100%}.sign-in-form{justify-content:center;width:100%;margin:8px 0 4px;display:flex}.sign-in-body>.alert[role=status]{background:var(--surface);color:inherit}.account-row{border-bottom:1px solid var(--line);text-align:left;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px;padding:4px 0 14px;display:flex}.onboarding-footer .account-row{border-bottom:0;border-top:1px solid var(--line);margin:16px 0 0;padding:14px 0 0}.avatar{background:var(--kcal-soft);width:40px;height:40px;color:var(--kcal);border-radius:50%;flex-shrink:0;place-items:center;font-weight:750;display:inline-grid}.account-name{flex-direction:column;flex:1;min-width:0;font-size:14px;display:flex}.account-name strong,.account-name small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-name small{color:var(--text-muted);font-size:12px}.account-row .field-error{flex-basis:100%;margin:0}
