:root{--display-serif:var(--font-baseline-serif), Georgia, "Times New Roman", serif;--consumer-frame-width:720px;--consumer-header-compact-height:78px;--consumer-header-tall-height:128px}*{box-sizing:border-box}html{background:var(--background);min-height:100%}body{min-height:100vh;color:var(--text);background:var(--background);margin:0;font-family:Arial,Helvetica Neue,sans-serif}button,input,select{font:inherit}button{min-height:44px;color:var(--action-foreground);background:var(--accent);cursor:pointer;border:0;border-radius:8px;padding:0 16px;font-size:.95rem;font-weight:700}button:disabled{cursor:not-allowed;opacity:var(--disabled-opacity,.65)}.shell{width:min(720px,100%);min-height:100vh;padding:calc(12px + env(safe-area-inset-top)) 12px calc(112px + env(safe-area-inset-bottom));margin:0 auto}.centered{place-items:center;display:grid}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.log-shell{padding-top:env(safe-area-inset-top);background:linear-gradient(180deg, var(--theme-chrome,#123f35) 0, var(--theme-chrome,#173f35) 156px, var(--background) 156px), var(--background)}.app-name{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-size:.78rem;font-weight:800}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:1.72rem;line-height:1.05}.ghost-button,.icon-button{min-width:44px;color:var(--accent);border:1px solid var(--border);background:0 0}.danger-button{color:var(--theme-action-ink,#fff);background:var(--danger)}.compact-danger{min-height:38px;padding:0 12px;font-size:.88rem}.quiet-status{color:var(--muted);align-self:center;font-size:.88rem}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.status-row{min-height:40px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:.92rem;display:flex}.view-tabs{grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:8px;margin-bottom:10px;display:grid}.view-tabs button,.view-tabs a,.topbar button{min-height:40px}.view-tabs button,.view-tabs a{color:var(--accent);background:var(--theme-surface,#fff);border:1px solid var(--border);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.view-tabs button.active,.view-tabs a.active{color:var(--theme-action-ink,#fff);background:var(--accent);border-color:var(--accent)}.bottom-nav{z-index:15;width:min(720px,100%);padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--navigation-surface,#fffffff5);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #dbe2d6e6;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 28px #17231f1c}.bottom-nav[hidden]{display:none}.bottom-nav button{min-width:0;min-height:54px;color:var(--theme-muted,#4d5351);background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 2px;font-size:.72rem;font-weight:750;display:flex}.bottom-nav button.active{color:var(--theme-action,#0d4a3e);background:var(--navigation-selected,#edf0e8);box-shadow:none}.progress-shell{padding:0 0 calc(92px + env(safe-area-inset-bottom));background:var(--cream)}.progress-view,.progress-setup{min-height:calc(100dvh - 82px - env(safe-area-inset-bottom));color:var(--theme-action,#0b493e);background:var(--cream);font-size:.94rem}.progress-header,.progress-setup-header{padding:calc(14px + env(safe-area-inset-top)) 20px 13px;color:var(--theme-inverse,#fff);background:var(--theme-chrome,#084b40)}.progress-brand-row,.progress-setup-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.progress-brand-row p,.progress-setup-header p{font-family:var(--display-serif);margin:0;font-size:1.38rem;font-weight:500;line-height:1}.progress-brand-row button,.progress-setup-header button{min-width:34px;min-height:34px;color:var(--theme-inverse,#fff);background:0 0;place-items:center;padding:0;display:grid}.progress-segmented{border:1.5px solid #ffffffeb;border-radius:9px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;display:grid;overflow:hidden}.progress-segmented button{min-width:0;min-height:40px;color:var(--theme-inverse,#fff);background:0 0;border-radius:8px;padding:0 8px;font-size:.88rem;font-weight:650}.progress-segmented button.active{color:var(--theme-action,#0a493e);background:var(--theme-surface,#fff)}.progress-segmented button:focus,.setup-step-panel>h1:focus,.setup-step-panel button:focus{outline:none}.progress-segmented button:focus-visible,.setup-step-panel button:focus-visible{outline:2px solid var(--theme-error,#c66a09);outline-offset:2px}.progress-content,.setup-content{background:var(--cream);padding:20px 20px 26px}.progress-screen>h1,.setup-step-panel>h1{color:var(--theme-action,#084b40);font-family:var(--display-serif);letter-spacing:-.045em;margin:0 0 18px;font-size:clamp(1.9rem,8vw,2.55rem);font-weight:500;line-height:1.08}.progress-notice,.progress-state-card,.plan-setup-callout,.progress-preview-card,.setup-summary-card{border:1px solid var(--warm-border);background:var(--theme-surface,#fff)}.progress-notice{color:var(--theme-action,#235f51);border-radius:10px;margin:0 0 16px;padding:11px 13px;font-weight:700}.progress-loading{min-height:320px;color:var(--muted);align-content:center;place-items:center;gap:10px;display:grid}.progress-state-card{border-radius:14px;gap:12px;padding:20px;display:grid}.progress-state-card p,.plan-setup-callout p,.setup-step-panel>p,.progress-chart-empty p{color:var(--theme-muted,#5f6564);margin:0;line-height:1.45}.plan-setup-callout{border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:18px;padding:13px;display:grid}.plan-setup-callout strong{margin-bottom:4px;font-size:1.08rem;display:block}.plan-setup-callout button,.progress-primary-action{min-height:46px;color:var(--theme-action-ink,#fff);background:var(--theme-action,#075044)}.progress-icon-well{background:var(--theme-surface,#eff1e9);border-radius:50%;flex:none;place-items:center;width:44px;height:44px;display:grid}.progress-icon-well.large{width:66px;height:66px}.week-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:0 -4px 16px;display:grid;position:relative}.week-strip>button{min-width:0;color:inherit;text-align:center;background:0 0;border:0;border-radius:10px;padding:7px 2px;display:grid}.week-strip>button.today{background:var(--theme-surface,#eef0e8)}.week-strip>button.before-plan{opacity:.42}.week-strip span,.week-strip b,.week-strip strong,.week-strip small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.week-strip span,.week-strip b{color:var(--theme-muted,#4d5351);font-size:.72rem}.week-strip b{margin:4px 0 12px;font-size:.86rem}.week-strip strong{font-size:.71rem}.week-strip small{color:var(--theme-muted,#5f6564);font-size:.63rem}.week-strip.unconfigured,.week-strip.partial{padding-bottom:34px}.week-strip.unconfigured b,.week-strip.partial b{margin-bottom:6px}.week-strip.unconfigured p,.week-strip.partial p{color:var(--muted);text-align:center;margin:0;position:absolute;bottom:0;left:0;right:0}.today-calorie-answer{align-items:center;gap:18px;padding:14px 8px 18px;display:flex}.today-calorie-answer p,.today-calorie-answer h2,.today-calorie-answer span{margin:0}.today-calorie-answer p{font-family:var(--display-serif);font-size:1.28rem}.today-calorie-answer p strong{letter-spacing:-.045em;font-size:2.72rem;font-weight:500}.today-calorie-answer h2{font-family:var(--display-serif);font-size:1.55rem;font-weight:500}.today-calorie-answer span{color:var(--theme-muted,#565d5b);margin-top:6px;display:block}.today-calorie-answer.quiet{padding-top:18px;padding-bottom:18px}.today-link-row{width:100%;min-height:64px;color:var(--theme-action,#0a493e);text-align:left;background:var(--theme-surface,#fff);border:1px solid var(--warm-border);border-radius:14px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.today-link-row>span{gap:3px;min-width:0;display:grid}.today-link-row strong,.today-link-row small{display:block}.today-link-row small{color:var(--theme-muted,#626a67);font-size:.82rem;font-weight:500}.weekly-position-row,.check-in-row,.progress-photos-row{border-top:1px solid var(--warm-border);align-items:center;gap:11px;min-height:54px;display:flex}.weekly-position-row>div{min-width:0;display:grid}.weekly-position-row>div span{color:var(--theme-muted,#5f6564)}.weekly-position-row button{min-height:40px;color:var(--theme-action,#0a493e);white-space:nowrap;background:0 0;align-items:center;gap:2px;margin-left:auto;padding:0;display:inline-flex}.progress-preview-card{width:100%;color:var(--theme-action,#0a493e);text-align:left;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;margin:18px 0 10px;padding:16px;display:grid}.progress-preview-copy{gap:5px;display:grid}.progress-preview-copy strong{font-size:1.05rem}.progress-preview-copy b{font-family:var(--display-serif);font-size:1.85rem;font-weight:500}.progress-preview-copy small{color:var(--theme-muted,#59615f);font-size:.82rem}.progress-preview-visual{width:72px;color:var(--theme-action,#1b6153);place-items:center;display:grid}.progress-preview-link{border-top:1px solid var(--warm-border);grid-column:1/-1;justify-content:space-between;align-items:center;margin-top:18px;padding-top:15px;display:flex}.check-in-row{color:var(--theme-muted,#565d5b);border-top:0}.plan-empty-state{justify-items:start}.plan-empty-state button{margin-top:4px}.progress-quiet-copy{color:var(--muted);margin-top:18px}.waist-measurements{border:1px solid var(--warm-border);background:var(--surface);border-radius:16px;margin-block:20px;padding:16px}.waist-measurements h2{margin:0;font-size:1.1rem}.waist-measurements p{color:var(--muted);margin:8px 0;font-size:.9rem}.waist-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.waist-measurements button{border:1px solid var(--warm-border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:8px 12px;font-size:.9rem}.waist-measurements button:disabled{opacity:.55}.waist-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:12px 0;display:grid}.waist-fields label{gap:6px;min-width:0;font-size:.9rem;font-weight:650;display:grid}.waist-fields input{border:1px solid var(--warm-border);background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:8px;padding:8px}.waist-actions{flex-wrap:wrap;gap:8px;display:flex}.waist-measurements details{margin-top:12px}.waist-measurements summary{cursor:pointer;min-height:44px;padding-block:10px;font-size:.9rem}.waist-measurements ol{margin:0;padding:0;list-style:none}.waist-measurements li{border-top:1px solid var(--warm-border);justify-content:space-between;align-items:center;gap:8px;padding-block:10px;display:flex}.waist-measurements time{color:var(--muted);margin-top:3px;font-size:.8rem;display:block}.waist-notice:empty{display:none}.plan-macro-grid small{font-family:Arial,sans-serif;font-size:.84rem}.plan-macro-grid{border-bottom:1px solid var(--warm-border);grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 0;display:grid}.plan-macro-grid>div{text-align:center;border-right:1px solid var(--warm-border);gap:6px;min-width:0;padding:0 8px;display:grid}.plan-macro-grid>div:first-child{padding-left:0}.plan-macro-grid>div:last-child{border-right:0;padding-right:0}.plan-macro-grid span{color:var(--theme-ink,#343b39);font-size:.82rem}.plan-macro-grid strong{font-family:var(--display-serif);white-space:nowrap;font-size:1.18rem;font-weight:500}.plan-setting-row{width:100%;min-height:58px;color:var(--theme-ink,#27302d);text-align:left;border-bottom:1px solid var(--warm-border);background:0 0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 0;display:grid}.plan-setting-row>span:not(.progress-icon-well){color:var(--theme-muted,#5e6562)}.plan-new-plan-button{width:100%;min-height:48px;color:var(--theme-action,#075044);border:1px solid var(--warm-border);background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:6px;margin-top:22px;font-weight:750;display:flex}.plan-date-field{border-bottom:1px solid var(--warm-border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 14px;padding:14px 0;font-weight:750;display:grid}.plan-date-field input{width:100%;min-width:9rem;min-height:46px;color:var(--theme-action,#075044);background:var(--theme-surface,#fff);border:1px solid var(--warm-border);font:inherit;border-radius:12px;padding:8px 10px}.plan-date-field small{color:var(--theme-muted,#68706d);grid-column:1/-1;font-weight:400}.plan-connected-activity{gap:6px;padding:2px 0 14px;display:grid}.plan-connected-activity h2,.plan-connected-activity p{margin:0}.plan-connected-activity h2{color:var(--theme-action,#075044);font-size:1rem}.plan-connected-activity strong{color:var(--theme-action,#075044)}.plan-connected-activity p{color:var(--theme-muted,#626b68);line-height:1.45}.plan-connected-activity-row{grid-template-columns:auto minmax(0,1fr) auto}.metric-switcher,.window-switcher{border:1px solid var(--warm-border);background:var(--theme-surface,#fff);border-radius:999px;display:grid;overflow:hidden}.metric-switcher{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.window-switcher{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-switcher button,.window-switcher button{min-width:0;min-height:44px;color:var(--theme-muted,#5a615f);background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 5px;font-size:.83rem;display:flex}.metric-switcher button.active,.window-switcher button.active{color:var(--theme-action,#0b493e);background:var(--theme-surface,#f0f2ec);box-shadow:inset 0 0 0 1px var(--theme-edge,#e1e4dc)}.progress-metric-answer strong{font-family:var(--display-serif);letter-spacing:-.04em;font-size:2.7rem;font-weight:500}.progress-metric-answer p{color:var(--theme-muted,#555d5a);margin:5px 0 0}.progress-metric-kicker{color:var(--theme-muted,#5f6564);letter-spacing:.01em;margin-bottom:4px;font-size:.82rem;font-weight:650;display:block}.progress-line-chart{border-top:1px solid var(--warm-border);border-bottom:1px solid var(--warm-border);margin:0;padding:16px 0 10px}.progress-line-chart svg{width:100%;height:210px;display:block;overflow:visible}.progress-line-chart line{stroke:var(--warm-border);stroke-width:1px}.progress-line-chart path{fill:none;stroke:var(--theme-action,#0b6253);stroke-linecap:round;stroke-linejoin:round;stroke-width:3px;vector-effect:non-scaling-stroke}.progress-line-chart figcaption{color:var(--theme-muted,#69706e);justify-content:space-between;font-size:.78rem;display:flex}.progress-chart-empty{min-height:210px;color:var(--theme-action,#347366);text-align:center;border-top:1px solid var(--warm-border);border-bottom:1px solid var(--warm-border);align-content:center;place-items:center;gap:10px;padding:24px;display:grid}.progress-chart-empty strong{color:var(--theme-action,#164f44)}.progress-insights{padding:14px 0}.progress-insights p{align-items:center;gap:12px;margin:0;padding:9px 0;display:flex}.plan-compare-row{border-top:1px solid var(--warm-border);border-bottom:1px solid var(--warm-border);justify-content:space-between;align-items:center;gap:14px;min-height:54px;display:flex}.plan-compare-row>span{align-items:center;gap:9px;display:inline-flex}.plan-compare-row input{accent-color:#075044;width:22px;height:22px}.plan-comparison-copy{color:var(--theme-muted,#5c6361);margin:10px 0;font-size:.86rem}.progress-photos-row{border-bottom:1px solid var(--warm-border)}.progress-photos-row>div{min-width:0;margin-right:auto;display:grid}.progress-photos-row>div span{color:var(--theme-muted,#676d6b);font-size:.78rem}.progress-photos-row>span{color:var(--theme-error,#b06209);font-size:.82rem;font-weight:750}.progress-source{color:var(--theme-muted,#737977);margin:13px 0 0;font-size:.78rem}.setup-content{min-height:calc(100dvh - 61px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;padding-top:24px;display:flex}.progress-setup-header{min-height:116px;padding-top:calc(18px + env(safe-area-inset-top));align-items:start;padding-bottom:18px}.setup-header-title{gap:20px;width:min(100%,310px);display:grid}.progress-setup-header .setup-header-title>p{font-size:1.72rem}.setup-progress{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.setup-progress i{background:#ffffff57;border-radius:99px;height:5px}.setup-progress i.complete{background:var(--theme-surface,#fff)}.setup-close{font-size:.82rem;font-weight:750;min-width:auto!important;min-height:34px!important;padding:0 2px!important}.setup-step{clip:rect(0 0 0 0);width:1px;height:1px;color:var(--theme-action,#42756a);margin:-1px;font-weight:800;position:absolute;overflow:hidden}.setup-section-copy{color:var(--theme-muted,#626a67);margin:-7px 0 12px!important;font-size:.86rem!important}.pace-selector{gap:8px;display:grid}.pace-rail{grid-template-columns:repeat(4,minmax(0,1fr));min-height:84px;display:grid;position:relative}.pace-rail-line{background:var(--theme-raised,#d3d0c4);border-radius:99px;height:4px;position:absolute;top:15px;left:12.5%;right:12.5%}.pace-rail>button{z-index:1;min-width:0;color:var(--theme-action,#0b493e);text-align:center;background:0 0;align-content:start;justify-items:center;gap:3px;padding:0 2px;display:grid;position:relative}.pace-rail>button>i,.pace-custom-thumb>i{background:var(--cream);border:4px solid var(--theme-edge,#d3d0c4);width:30px;height:30px;box-shadow:0 0 0 2px var(--cream);border-radius:50%;margin-bottom:5px;display:block}.pace-rail>button.selected>i,.pace-custom-thumb>i{background:var(--theme-action,#0b493e);border-color:var(--theme-edge,#0b493e);box-shadow:inset 0 0 0 6px var(--theme-edge,#fff), 0 0 0 2px var(--cream)}.pace-rail>button strong{font-size:.86rem}.pace-rail>button span{color:var(--theme-muted,#626a67);font-size:.7rem;line-height:1.15}.pace-custom-thumb{z-index:2;pointer-events:none;justify-items:center;width:54px;display:grid;position:absolute;top:0;transform:translate(-50%)}.pace-custom-thumb b{color:var(--theme-action-ink,#fff);background:var(--theme-action,#0b493e);white-space:nowrap;border-radius:6px;padding:2px 5px;font-size:.7rem}.pace-custom-action{min-height:36px;color:var(--theme-error,#ad5e06);background:0 0;margin-left:auto;padding:0 2px;font-weight:760}.setup-source-toggle,.setup-sheet-segmented,.setup-pattern-segments{border:1px solid var(--theme-edge,#cfd4c8);background:var(--theme-surface,#fff);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.setup-source-toggle button,.setup-sheet-segmented button,.setup-pattern-segments button{min-width:0;min-height:48px;color:var(--theme-action,#0b493e);background:0 0;border-radius:0;padding:8px;font-weight:760}.setup-source-toggle button+button,.setup-sheet-segmented button+button,.setup-pattern-segments button+button{border-left:1px solid var(--theme-edge,#d9ddd3)}.setup-source-toggle button.selected,.setup-sheet-segmented button.selected,.setup-pattern-segments button.selected{color:var(--theme-action-ink,#fff);background:var(--theme-action,#075044)}.setup-garmin-method{gap:5px;margin-top:18px;display:grid}.setup-garmin-method>strong{font-size:1.02rem}.setup-garmin-method>p{color:var(--theme-muted,#626a67);margin:0;line-height:1.42}.setup-garmin-method ul{border-top:1px solid var(--warm-border);margin:9px 0 0;padding:0;list-style:none;display:grid}.setup-garmin-method li{border-bottom:1px solid var(--warm-border);gap:2px;padding:10px 0;display:grid}.setup-garmin-method li span{font-weight:760}.setup-garmin-method li small{color:var(--theme-muted,#626a67)}.typical-allowance{border-top:1px solid var(--warm-border);grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;margin-top:9px;padding-top:12px;display:grid}.typical-allowance>span,.typical-allowance>small,.typical-allowance>p{color:var(--theme-muted,#626a67)}.typical-allowance>strong{color:var(--theme-action,#084b40);font-size:1rem}.typical-allowance>small,.typical-allowance>p{grid-column:1/-1;margin:0}.setup-pattern-segments{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.setup-pattern-segments button{min-height:58px;padding:6px 4px;font-size:.72rem;line-height:1.15}.setup-higher-days-row{width:100%;min-height:66px;color:var(--theme-action,#124f43);border-top:1px solid var(--warm-border);border-bottom:1px solid var(--warm-border);text-align:left;background:0 0;border-radius:0;justify-content:space-between;align-items:center;margin-top:16px;padding:10px 0;display:flex}.setup-higher-days-row>span{gap:3px;display:grid}.setup-higher-days-row small{color:var(--theme-muted,#626a67)}.setup-higher-days-row b{color:var(--theme-error,#b45f06);align-items:center;display:inline-flex}.setup-sheet-backdrop{z-index:90;background:#091c1885;align-items:end;display:grid;position:fixed;inset:0}.setup-sheet{max-height:min(92dvh,720px);padding:14px 20px calc(18px + env(safe-area-inset-bottom));color:var(--theme-action,#0b493e);background:var(--cream);border-radius:24px 24px 0 0;gap:12px;display:grid;overflow-y:auto;box-shadow:0 -18px 44px #091c1833}.setup-sheet-handle{background:var(--theme-raised,#c8c6bc);border-radius:99px;width:38px;height:5px;margin:0 auto 2px}.setup-sheet h2{font-family:var(--display-serif);text-align:center;margin:0;font-size:1.7rem;font-weight:500}.setup-sheet>p{color:var(--theme-muted,#626a67);text-align:center;margin:0;line-height:1.35}.setup-sheet-number{border:0!important;grid-template-columns:44px minmax(90px,1fr) 44px!important;gap:10px!important;min-height:0!important;padding:2px 0!important;display:grid!important}.setup-sheet-number>label,.setup-sheet-number>small{text-align:left;grid-column:1/-1}.setup-sheet-number>button{min-width:44px;min-height:44px;color:var(--theme-action,#084b40);background:var(--theme-surface,#eef0e8);border:1px solid var(--theme-edge,#d4d7cd);border-radius:50%;padding:0;font-size:1.2rem}.setup-sheet-number>input{text-align:center;font-family:var(--display-serif);font-size:1.5rem;min-height:48px!important}.setup-sheet-sync,.setup-sheet-limit{font-size:.82rem}.setup-sheet .progress-primary-action{width:100%;min-height:50px}.setup-sheet-cancel{min-height:38px;color:var(--theme-error,#a95c08);background:0 0}.setup-spread-sheet .spread-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-receipt-section{border-bottom:1px solid var(--warm-border);gap:7px;padding:15px 0;display:grid}.setup-receipt-heading{justify-content:space-between;align-items:center;display:flex}.setup-receipt-heading h2{margin:0;font-size:1rem}.setup-receipt-heading button{min-width:auto;min-height:36px;color:var(--theme-error,#ad5d08);background:0 0;padding:0 2px}.setup-receipt-section>p{color:var(--theme-muted,#626a67);margin:0}.setup-goal-receipt,.setup-target-receipt{font-family:var(--display-serif);font-size:1.7rem;font-weight:500}.setup-target-receipt small{font-family:Arial,sans-serif;font-size:.78rem;font-weight:650}.setup-step-panel>p{margin-bottom:22px;font-size:.94rem}.setup-warning{color:var(--theme-error,#6d3d08);background:var(--theme-selected,#fff7e8);border:1px solid var(--theme-warning,#e7bd78);border-radius:12px;gap:6px;margin-top:14px;padding:14px;display:grid}.setup-warning p{color:var(--theme-warning,#6a543a);margin:0;line-height:1.4}.setup-warning .setup-confirmation{border:0;align-items:center;gap:9px;min-height:42px;padding:5px 0 0;display:flex}.setup-warning .setup-confirmation input{accent-color:#075044;flex:none;width:20px;min-height:20px;padding:0}.setup-warning .setup-confirmation span{color:var(--theme-warning,#4e3a22);font-weight:700}.setup-step-panel label{min-height:62px;color:var(--theme-ink,#29312f);border-bottom:1px solid var(--warm-border);grid-template-columns:minmax(0,1fr) minmax(94px,130px) auto;align-items:center;gap:10px;padding:9px 0;font-weight:750;display:grid;position:relative}.setup-step-panel label input,.setup-step-panel label select{width:100%;min-height:44px;color:var(--theme-action,#123f35);background:var(--theme-surface,#fff);border:1px solid var(--theme-edge,#d8ddcf);border-radius:9px;padding:8px 10px;font-weight:750}.setup-step-panel label>span{color:var(--theme-muted,#676d6b);font-weight:500}.setup-choice-grid{gap:8px;margin-bottom:16px;display:grid}.setup-choice-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-choice-grid button,.setup-day-grid button{min-width:0;color:var(--theme-action,#0a493e);background:var(--theme-surface,#fff);border:1px solid var(--theme-edge,#d8ddcf)}.setup-choice-grid button.selected,.setup-day-grid button.selected{color:var(--theme-action-ink,#fff);background:var(--theme-action,#075044);border-color:var(--theme-edge,#075044)}.setup-help{margin-top:14px!important;font-size:.84rem!important}.setup-day-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:grid}.setup-day-grid button{border-radius:10px;align-content:center;place-items:center;gap:5px;min-height:72px;padding:8px 2px;font-size:.75rem;display:grid}.setup-schedule-preview{border-top:1px solid var(--warm-border);gap:0;margin-top:22px;display:grid}.setup-schedule-preview p{border-bottom:1px solid var(--warm-border);grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:15px 0;display:grid}.setup-schedule-preview p>span:last-child{color:var(--theme-muted,#565d5b)}.minus-icon{background:var(--theme-surface,#eef0e8);border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.setup-summary-card{border-radius:12px;gap:6px;margin-top:22px;padding:18px;display:grid}.setup-summary-card strong{font-size:1.16rem}.setup-summary-card span{color:var(--theme-muted,#616866)}.setup-macro-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.setup-macro-inputs label{grid-template-columns:minmax(0,1fr) 72px auto}.setup-review-list{border-top:1px solid var(--warm-border);display:grid}.setup-review-list p{border-bottom:1px solid var(--warm-border);gap:5px;margin:0;padding:13px 0;display:grid}.setup-review-list span{color:var(--theme-muted,#666d6a);font-size:.8rem}.setup-review-list .setup-review-check-in{grid-template-columns:minmax(0,1fr) minmax(9rem,46%)}.setup-activity-fieldset{border:0;gap:8px;margin:20px 0 8px;padding:0;display:grid}.setup-activity-fieldset legend{margin-bottom:7px;font-weight:800}.setup-activity-fieldset label{border:1px solid var(--warm-border);border-radius:9px;min-height:44px;padding:7px 10px;display:flex}.setup-activity-fieldset input{accent-color:#075044;width:18px!important;min-height:18px!important}.setup-error{color:var(--theme-error,#8d302a);background:var(--theme-selected,#fff2ef);border-radius:9px;margin:18px 0 0;padding:11px}.setup-actions{gap:8px;margin-top:auto;padding-top:28px;display:grid}.setup-subheading{color:var(--theme-action,#174f44);margin:24px 0 12px;font-size:.92rem}.setup-weight-grid{grid-template-columns:1fr;gap:0;display:grid}.setup-weight-grid label,.setup-custom-field{grid-template-columns:minmax(0,1fr) 82px auto!important}.setup-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.setup-preset-grid button,.setup-option-list button{min-width:0;color:var(--theme-action,#0a493e);background:var(--theme-surface,#fff);border:1px solid var(--theme-edge,#d8ddcf);box-shadow:none}.setup-preset-grid button{place-items:center;gap:2px;min-height:66px;padding:10px 8px;display:grid}.setup-preset-grid button strong,.setup-preset-grid button span{display:block}.setup-preset-grid button span{color:var(--theme-muted,#6a716f);font-size:.75rem;font-weight:550}.setup-preset-grid button.selected,.setup-option-list button.selected{color:var(--theme-action-ink,#fff);background:var(--theme-action,#075044);border-color:var(--theme-edge,#075044)}.setup-preset-grid button.selected span,.setup-option-list button.selected small{color:#fffc}.rate-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.spread-presets{grid-template-columns:repeat(4,minmax(0,1fr))}.spread-presets button{min-height:60px;padding:8px 4px}.setup-option-list{gap:9px;display:grid}.setup-option-list button{text-align:left;justify-content:space-between;align-items:center;min-height:62px;padding:11px 13px;display:flex}.setup-option-list button>span{gap:3px;min-width:0;display:grid}.setup-option-list button strong,.setup-option-list button small{display:block}.setup-option-list button small{color:var(--theme-muted,#68706d);font-size:.78rem;font-weight:550}.setup-live-answer,.setup-budget-answer{border:1px solid var(--warm-border);background:var(--theme-surface,#fff);border-radius:13px;gap:5px;margin-top:18px;padding:15px 16px;display:grid}.setup-live-answer strong{font-family:var(--display-serif);font-size:1.35rem;font-weight:500}.setup-live-answer span,.setup-budget-answer>span,.setup-budget-answer>p,.setup-budget-answer details p,.setup-empty-answer{color:var(--theme-muted,#626a67)}.setup-budget-answer>strong{font-family:var(--display-serif);letter-spacing:-.04em;font-size:2.4rem;font-weight:500}.setup-budget-answer>strong small{font-family:Arial,sans-serif;font-size:.86rem}.setup-budget-answer>p,.setup-budget-answer details p{margin:0;line-height:1.4}.setup-budget-note{border-top:1px solid var(--warm-border);padding-top:10px;margin-top:8px!important}.setup-budget-answer details{color:var(--theme-action,#0a493e);margin-top:8px}.setup-budget-answer summary{cursor:pointer;font-weight:750}.setup-empty-answer{background:var(--theme-surface,#f3f4ee);border-radius:11px;padding:14px;margin-top:18px!important}.setup-actions .progress-primary-action,.setup-back{justify-content:center;align-items:center;gap:8px;width:100%;display:inline-flex}.setup-back{color:var(--theme-action,#0a493e);background:0 0}.review-week-heading{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:16px;display:grid}.review-week-heading>div{justify-items:center;gap:2px;display:grid}.review-week-heading h1{color:var(--theme-action,#084b40);font-family:var(--display-serif);letter-spacing:-.04em;text-align:center;margin:0;font-size:clamp(1.72rem,7vw,2.2rem);font-weight:500;line-height:1.08}.review-week-heading button{min-width:44px;min-height:44px;color:var(--theme-action,#174f44);background:0 0;padding:0}.review-week-heading>div button{min-height:28px;color:var(--theme-error,#a55b0b);font-size:.78rem;font-weight:800}.review-week-heading button:disabled{opacity:.25}.week-strip{border:1px solid var(--warm-border);background:#ffffffb8;border-radius:16px;gap:4px;margin-bottom:14px;padding:8px}.week-strip>button{min-height:82px;padding:7px 1px 6px}.week-strip>button.today{box-shadow:inset 0 0 0 1px var(--theme-edge,#d9ddd2)}.week-strip b{margin:3px 0 8px}.week-strip strong{letter-spacing:-.03em;font-size:clamp(.55rem,2.2vw,.68rem);overflow:visible}.week-strip small{white-space:normal;margin-top:2px;font-size:.52rem;line-height:1.1}.weekly-position-row{margin-top:2px;padding:4px 0}.weekly-position-row>div strong,.weekly-position-row>div span{line-height:1.25}.progress-preview-card{box-shadow:0 12px 30px #17231f0e}.progress-detail-header{padding:calc(14px + env(safe-area-inset-top)) 16px 14px;color:var(--theme-inverse,#fff);background:var(--theme-chrome,#075044);grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;display:grid}.progress-detail-header button,.progress-detail-header>span{width:44px;height:44px;color:var(--theme-inverse,#fff);background:0 0;place-items:center;padding:0;display:grid}.progress-detail-header strong{font-family:var(--display-serif);text-align:center;font-size:1.35rem;font-weight:500}.review-week-heading{margin-bottom:8px}.review-week-heading h1{color:var(--theme-ink,#3d4844);letter-spacing:0;font-family:Arial,sans-serif;font-size:.94rem;font-weight:750}.week-strip,.week-strip.unconfigured,.week-strip.partial{background:0 0;border:0;border-radius:0;align-items:end;gap:7px;margin:0 0 8px;padding:4px 2px 0;position:static}.week-strip>button{border-radius:9px;grid-template-rows:20px 138px 20px;justify-items:center;min-height:184px;padding:3px 0 0;display:grid}.week-strip>button.today{box-shadow:inset 0 0 0 1px var(--theme-edge,#7c9c92);background:0 0}.week-strip.refreshing{opacity:.58}.week-strip.refreshing>button{cursor:wait}.week-strip>button>span{color:var(--theme-muted,#4f5855);font-size:.72rem;font-weight:750}.week-strip>button>span.projection-participant{position:relative;overflow:visible}.week-strip>button>span.projection-participant:after{background:var(--activity-accent);content:"";border-radius:50%;width:5px;height:5px;position:absolute;top:1px;right:-7px}.week-bar-track{background:var(--theme-surface,#ecece7);border-radius:5px;align-self:end;width:min(100%,31px);height:132px;display:block;position:relative;overflow:hidden}.week-bar-track b{border-radius:0;margin:0;position:absolute;bottom:0;left:0;right:0}.week-bar-target{z-index:2;background:var(--surface);height:3px;box-shadow:inset 0 0 0 1px var(--accent-strong);transform:translateY(50%)}.week-bar-eaten{z-index:1;background:var(--accent)}.week-strip em{width:19px;height:19px;color:var(--theme-action-ink,#fff);background:var(--theme-action,#075847);border-radius:50%;align-self:center;place-items:center;font-size:1rem;font-style:normal;display:grid}.week-strip em:empty{border:1px solid var(--theme-edge,#d2d7d0);background:0 0}.weekly-calorie-position{text-align:center;padding:8px 0 12px}.weekly-carry-answer{justify-items:center;gap:1px;display:grid}.weekly-carry-answer strong{color:var(--theme-action,#075044);font-family:var(--display-serif);letter-spacing:-.035em;font-size:2rem;font-weight:500}.weekly-carry-answer strong small,.today-calorie-answer strong small{font-size:.9rem;font-weight:500}.weekly-carry-answer span,.today-calorie-answer span{color:var(--theme-muted,#4e5855);font-size:.78rem}.weekly-carry-answer.pending strong{max-width:260px;color:var(--theme-action,#244f46);letter-spacing:0;font-family:Arial,sans-serif;font-size:1.02rem;font-weight:750;line-height:1.2}.today-calorie-answer,.today-calorie-answer.no-plan{width:auto;min-height:0;color:var(--theme-action,#075044);border-top:1px solid var(--warm-border);background:0 0;border-radius:0;place-items:center;gap:1px;margin:10px auto 0;padding:9px 28px 0;display:grid}.today-calorie-answer.no-plan{border-top:0}.today-calorie-answer.no-plan strong{font-size:2.35rem}.current-plan-row,.progress-lens-row{width:100%;min-height:62px;color:var(--theme-action,#124f43);text-align:left;background:var(--theme-surface,#fff);border:1px solid var(--warm-border);border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:8px;padding:10px 13px;display:grid}.progress-retry-button{width:fit-content;color:var(--theme-action-ink,#fff);background:var(--theme-action,#075847);border-radius:8px;margin-top:12px;padding:9px 14px;font-weight:750}.current-plan-row>span{gap:2px;display:grid}.current-plan-row small{color:var(--theme-muted,#616966);font-size:.78rem}.body-progress-preview{width:100%;color:var(--theme-action,#0a493e);text-align:left;background:var(--theme-surface,#fff);border:1px solid var(--warm-border);border-radius:12px;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:10px;margin-top:12px;padding:14px 12px;display:grid}.body-progress-preview-metrics{gap:8px;min-width:0;display:grid}.body-progress-preview-metric{grid-template-columns:92px minmax(0,1fr);align-items:center;gap:12px;min-width:0;display:grid}.body-progress-preview-metric>span,.body-progress-preview.stale>span{gap:2px;display:grid}.body-progress-preview small{color:var(--theme-muted,#59625f);font-size:.7rem}.body-progress-preview strong{font-family:var(--display-serif);white-space:nowrap;font-size:1.28rem;font-weight:500}.body-progress-preview.stale{grid-template-columns:auto minmax(0,1fr) auto}.body-progress-preview.stale>span{gap:3px}.mini-sparkline{width:100%;height:32px;display:block}.mini-sparkline path{fill:none;stroke:var(--theme-action,#075847);stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;vector-effect:non-scaling-stroke}.mini-sparkline-empty{background:var(--warm-border);height:1px;display:block}.progress-detail-screen>h1{margin-bottom:14px;font-size:2rem}.window-switcher{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:6px}.progress-metric-answer{padding:18px 2px 8px}.progress-metric-answer strong{font-size:2.55rem}.progress-line-chart{border-top:0;padding-top:6px;position:relative}.progress-line-chart svg{touch-action:pan-y;height:230px}.progress-line-chart text{fill:var(--chart-label,#69706e);font-family:Arial,sans-serif;font-size:12px}.progress-line-chart circle{fill:var(--theme-action,#075847);stroke:var(--theme-ink,#fbfaf5);stroke-width:2px}.progress-line-chart circle:focus,.progress-line-chart circle.selected{stroke:var(--chart-marker,#f0b86a);stroke-width:4px;outline:none}.progress-line-chart svg:focus-visible{outline:2px solid var(--theme-edge,#8aa79f);outline-offset:3px;border-radius:8px}.progress-line-chart .chart-crosshair{stroke:var(--theme-action,#315a51);stroke-width:1.5px;vector-effect:non-scaling-stroke}.progress-line-chart .chart-hit-area{fill:#0000;cursor:crosshair;pointer-events:all;touch-action:pan-y}.progress-line-chart figcaption{color:var(--theme-muted,#717875);justify-content:center;font-size:.68rem}.chart-point-detail{z-index:2;color:var(--theme-action-ink,#fff);background:var(--theme-action,#075044);pointer-events:none;border-radius:8px;padding:7px 10px;display:grid;position:absolute;top:8px;right:12px;box-shadow:0 8px 20px #0d1f1a24}.chart-point-detail strong{font-family:var(--display-serif);font-size:1rem;font-weight:500}.chart-point-detail span{font-size:.66rem}.chart-point-detail.weekly{gap:7px;width:min(250px,100% - 24px)}.chart-point-detail.weekly>span{font-size:.72rem;font-weight:700}.chart-point-detail.weekly:not(.weight)>strong{font-size:1.22rem}.chart-week-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.chart-week-values>span{gap:2px;min-width:0;display:grid}.chart-week-values strong{white-space:nowrap;font-size:.9rem}.chart-week-values small{color:#ffffffd1;white-space:nowrap;font-size:.64rem}.progress-lens-row{font-family:var(--display-serif);margin-top:14px;font-size:1.18rem}.progress-lens-screen{padding-top:2px}.phase-chip{color:var(--theme-action,#315a51);background:var(--theme-surface,#f4f3ed);border:1px solid var(--warm-border);border-radius:9px;margin:4px auto 28px;padding:7px 16px;font-size:.78rem;font-weight:700;display:table}.lens-current-metrics,.composition-deltas,.lens-comparison-row>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.lens-current-metrics>span,.composition-deltas>span,.lens-comparison-row>div>span{text-align:center;justify-items:center;gap:5px;min-width:0;display:grid}.lens-current-metrics small,.composition-deltas small,.lens-comparison-row small{color:var(--theme-muted,#505a57);font-size:.76rem}.lens-current-metrics strong,.composition-deltas strong,.lens-comparison-row strong{font-family:var(--display-serif);overflow-wrap:anywhere;white-space:normal;font-size:clamp(1rem,5.7vw,1.42rem);font-weight:500;line-height:1.08}.lens-starting-point{text-align:center;align-content:start;justify-items:center;min-height:390px;padding-top:96px;display:grid}.lens-starting-point strong{font-family:var(--display-serif);font-size:1.3rem;font-weight:500}.lens-starting-chart{width:100%;margin:22px 0 0}.lens-starting-chart svg{width:100%;height:190px;display:block}.lens-starting-chart line{stroke:var(--theme-muted,#e1e2dc);stroke-width:1px;stroke-dasharray:3 3}.lens-starting-chart text{fill:var(--theme-muted,#68716e);font-family:Arial,sans-serif;font-size:11px}.lens-starting-chart circle{fill:var(--theme-action,#075847);stroke:var(--theme-ink,#fbfaf5);stroke-width:2px}.lens-starting-chart path{fill:none;stroke:var(--theme-action,#075847);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5px;vector-effect:non-scaling-stroke}.lens-starting-point p{max-width:260px;color:var(--theme-muted,#5d6562);margin:26px 0 0;line-height:1.45}.progress-lens-screen.full>h1{color:var(--theme-action,#075044);font-family:var(--display-serif);text-align:center;margin:0 0 24px;font-size:2.75rem;font-weight:500}.composition-change>h2,.lens-comparison-row>h2{font-family:var(--display-serif);margin:0;font-size:1.02rem;font-weight:500}.composition-change>h2{text-align:center;border-bottom:1px solid var(--warm-border);padding-bottom:10px}.composition-deltas{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:13px 0}.composition-deltas>span+span,.lens-comparison-row>div>span+span{border-left:1px solid var(--warm-border)}.composition-share-bar{background:var(--theme-raised,#d3dfd2);border-radius:5px;height:27px;display:flex;overflow:hidden}.composition-share-bar span{min-width:0;color:var(--theme-action,#075044);background:var(--theme-raised,#c6d7c6);place-items:center;font-size:.76rem;font-weight:800;display:grid}.composition-share-bar span:first-child{color:var(--theme-action-ink,#fff);background:var(--theme-action,#075847)}.lens-comparison-row{border-bottom:1px solid var(--warm-border);padding:20px 0}.lens-comparison-row>div{gap:0;margin-top:15px}.lens-info-backdrop{z-index:120;background:#0d1f1a52;justify-content:center;align-items:flex-end;padding:18px;display:flex;position:fixed;inset:0}.lens-info-sheet{width:min(100%,430px);color:var(--theme-action,#183f36);background:var(--theme-surface,#fbfaf5);border-radius:18px 18px 12px 12px;padding:20px;box-shadow:0 20px 60px #0d1f1a33}.lens-info-sheet>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.lens-info-sheet h2,.lens-info-sheet p{margin:0}.lens-info-sheet button{color:var(--theme-action,#075044);background:0 0;padding:8px;font-weight:750}.lens-info-sheet p{color:var(--theme-muted,#59615f);margin-top:15px;line-height:1.45}.goal-choices button{min-height:58px;padding:8px 5px;font-size:.82rem;line-height:1.15}.connected-weight-row{border-top:1px solid var(--warm-border);border-bottom:1px solid var(--warm-border);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:12px 0;display:flex}.connected-weight-row>span{gap:3px;display:grid}.connected-weight-row strong{color:var(--theme-action,#084b40);font-family:var(--display-serif);font-size:1.72rem;font-weight:500}.connected-weight-row small{color:var(--theme-muted,#626a67);font-size:.78rem}.connected-weight-row button{min-height:40px;color:var(--theme-error,#a55b0b);background:0 0;padding:0 4px;font-weight:800}.goal-weight-control input{text-align:center;font-family:var(--display-serif);font-size:1.2rem;font-weight:500!important}.activity-choice-result{max-width:126px;color:var(--theme-action,#1b5c4f);text-align:right;justify-content:end;align-items:center;gap:6px;font-size:.76rem;font-weight:800;display:flex!important}.setup-option-list button.selected .activity-choice-result{color:var(--theme-action-ink,#fff)}.setup-budget-answer.compact{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;padding:14px 16px}.setup-budget-answer.compact>strong{font-size:1.8rem}.setup-budget-answer.compact details,.setup-budget-answer.compact .setup-budget-note{grid-column:1/-1}.weekly-pattern-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-pattern-choices button{border-radius:12px;min-height:72px}.weekly-pattern-choices button>span{gap:4px}.spread-presets button{min-height:70px;line-height:1.1}.spread-presets button strong{font-size:.76rem}.setup-spread-slider{border:1px solid var(--warm-border);background:var(--theme-surface,#fff);border-radius:14px;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;margin-top:14px;padding:14px;display:grid}.setup-spread-slider>button{min-width:44px;min-height:44px;color:var(--theme-action,#084b40);background:var(--theme-surface,#eef0e8);border-radius:50%;padding:0;font-size:1.25rem}.setup-spread-slider label{border:0;grid-template-columns:1fr;gap:8px;min-height:0;padding:0;display:grid}.setup-spread-slider input{accent-color:#075044;min-height:24px!important;padding:0!important}.setup-spread-slider output{color:var(--theme-action,#084b40);text-align:center;font-weight:800}.weekly-canvas{border:1px solid var(--warm-border);background:var(--theme-surface,#fff);border-radius:16px;gap:14px;margin-top:18px;padding:16px 14px;display:grid;box-shadow:0 10px 26px #17231f0b}.weekly-canvas-days{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:6px;display:grid}.weekly-canvas-days>div{justify-items:center;gap:4px;min-width:0;display:grid}.weekly-canvas-days span,.weekly-canvas-days strong{font-size:.66rem}.weekly-canvas-days i{background:var(--theme-raised,#dfe5dc);border-radius:7px 7px 4px 4px;width:min(100%,28px)}.weekly-canvas-days .high i{background:var(--theme-action,#176352)}.weekly-canvas>p{border-top:1px solid var(--warm-border);gap:3px;margin:0;padding-top:12px;display:grid}.weekly-canvas>p strong{color:var(--theme-action,#084b40)}.weekly-canvas>p span{color:var(--theme-muted,#626a67);font-size:.8rem}.setup-review-week{border-bottom:1px solid var(--warm-border);gap:4px;padding:13px 0;display:grid}.setup-review-week>span{color:var(--theme-muted,#666d6a);font-size:.8rem}.setup-review-week .weekly-canvas{margin-top:4px}.shell.more-shell{color:var(--text);background:var(--consumer-header-forest);padding:0 12px}.more-shell>.shell-primary-header{width:calc(100% + 24px);margin:0 -12px}.more-shell .primary-header-title{color:var(--text-on-forest);letter-spacing:0;font-family:Arial,Helvetica,sans-serif;font-size:24px;font-weight:700;line-height:28px}.more-view{min-height:calc(100dvh - var(--consumer-header-compact-height) - env(safe-area-inset-top));padding:28px 18px calc(95px + env(safe-area-inset-bottom));background:var(--background);border-radius:24px 24px 0 0;margin:0 -12px}.more-group+.more-group{margin-top:28px}.more-group h2{margin:0 0 12px;font-size:16px;font-weight:700;line-height:22px}.more-destinations{background:var(--surface);border-radius:16px;overflow:hidden}.more-row{width:100%;min-height:56px;color:var(--text);background:var(--surface);text-align:left;border:0;border-radius:0;align-items:center;gap:14px;padding:12px 16px;text-decoration:none;display:flex;position:relative}.more-row+.more-row:before{background:var(--border);content:"";height:1px;position:absolute;top:0;left:0;right:32px}.more-row+.more-row{min-height:57px}.more-row strong{overflow-wrap:anywhere;flex:1;min-width:0;font-size:16px;font-weight:500;line-height:22px}.more-row svg{color:var(--muted);flex:0 0 24px}.more-chevron{flex:0 0 16px;justify-content:center;align-items:center;width:16px;display:flex}.more-row:hover{background:var(--surface-muted)}.more-sign-out{width:100%;min-height:48px;color:var(--accent);background:0 0;border:0;margin-top:20px;font-size:15px;font-weight:600;line-height:22px;display:block}.more-shell .connected-health-view{min-height:calc(100dvh - var(--consumer-header-compact-height) - env(safe-area-inset-top));padding:12px 16px calc(95px + env(safe-area-inset-bottom));background:var(--background);margin:0 -12px}.quick-add{top:calc(8px + env(safe-area-inset-top));z-index:5;border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) 48px 48px;align-items:center;gap:8px;margin-bottom:10px;padding:8px;display:grid;position:sticky;box-shadow:0 6px 20px #17231f14}.quick-add-field{min-width:0}.quick-add-field input{border:1px solid var(--border);width:100%;min-height:46px;color:var(--text);background:var(--theme-surface,#fff);border-radius:8px;padding:0 12px;font-weight:700}.quick-add-field input:focus{border-color:var(--accent);outline:3px solid #2454472e}.quick-add button{width:48px;min-width:48px;min-height:46px;padding:0;font-size:1.55rem;line-height:1}.quick-add .grocery-sort-button{color:var(--muted);background:var(--surface);border:1px solid var(--border)}.quick-add .grocery-sort-button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.grocery-sort-spinner{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite grocery-sort-spin;display:inline-block}@keyframes grocery-sort-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.grocery-sort-spinner{animation:none}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.field{min-width:0;color:var(--muted);gap:6px;font-size:.78rem;font-weight:800;display:grid}.field input,.field select{border:1px solid var(--border);width:100%;min-width:0;min-height:46px;color:var(--text);background:var(--theme-surface,#fff);border-radius:8px;padding:0 10px}.field input:focus,.field select:focus{border-color:var(--accent);outline:3px solid #2454472e}.note-field{grid-column:1/-2}.list-actions{justify-content:flex-end;min-height:30px;margin-bottom:8px;display:flex}.review-basket{background:var(--theme-surface,#fff);border:1px solid #24544747;border-radius:8px;gap:10px;margin-bottom:10px;padding:10px;display:grid;box-shadow:0 6px 20px #17231f14}.review-basket-apply-status{min-height:78px;color:var(--accent-strong);grid-template-columns:auto minmax(0,1fr);align-items:center}.review-basket-apply-status strong{font-size:.98rem}.review-basket-pending-mark{border:3px solid var(--surface-muted);border-top-color:var(--accent);border-radius:999px;width:22px;height:22px;animation:.7s linear infinite review-basket-pending-spin}@keyframes review-basket-pending-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.review-basket-pending-mark{animation:none}}.review-basket-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.review-kicker{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0 0 3px;font-size:.74rem;font-weight:900}.review-basket h2{overflow-wrap:anywhere;margin:0;font-size:1.04rem;line-height:1.15}.review-basket-header p:not(.review-kicker){color:var(--muted);margin:3px 0 0;font-size:.82rem;line-height:1.25}.review-counts{color:var(--accent-strong);white-space:nowrap;justify-items:end;gap:4px;font-size:.78rem;font-weight:800;display:grid}.review-counts span{background:var(--surface-muted);border-radius:999px;padding:3px 7px}.review-sections{gap:8px;display:grid}.review-section{gap:5px;display:grid}.review-section h3{color:var(--muted);letter-spacing:0;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:900}.review-items{border:1px solid var(--border);border-radius:8px;margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.review-items li{border-bottom:1px solid var(--border)}.review-items li:last-child{border-bottom:0}.draft-item-row{grid-template-columns:38px minmax(0,1fr);align-items:stretch;gap:6px;min-height:48px;padding:5px 7px;display:grid}.draft-check{place-items:center;display:grid}.draft-check input,.draft-edit-flags input{width:22px;height:22px;accent-color:var(--accent)}.draft-item-main{min-width:0;min-height:42px;color:var(--text);text-align:left;background:0 0;justify-items:start;padding:2px 0;display:grid}.draft-deselected{color:var(--muted);background:var(--theme-surface,#fbfcfa);opacity:.82}.draft-labels{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.draft-labels span{border:1px solid var(--border);color:var(--accent-strong);background:var(--surface-muted);border-radius:999px;padding:2px 6px;font-size:.7rem;font-weight:800;line-height:1.2}.review-actions{grid-template-columns:1fr auto;gap:8px;display:grid}.review-actions button{min-height:40px}.draft-edit-flags{grid-template-columns:1fr 1fr;gap:8px;display:grid}.draft-edit-flags label{min-height:36px;color:var(--text);grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;font-size:.86rem;font-weight:700;display:grid}.notice,.empty-state,.passcode-panel{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px}.notice{gap:12px;margin-bottom:16px;padding:16px;display:grid}.notice p{margin:0}.notice.error{color:var(--danger);border-color:#9d2f2859}.action-feedback{border:1px solid var(--border);min-height:38px;color:var(--muted);background:var(--theme-surface,#fff);border-radius:8px;align-items:center;padding:8px 12px;display:grid}.action-feedback p{margin:0;font-size:.9rem;font-weight:800}.action-feedback.pending{color:var(--accent-strong);background:var(--surface-muted);border-color:#2454473d}.action-feedback.success{color:var(--theme-action,#245447);background:var(--theme-surface,#f1faf4);border-color:#24544738}.passcode-panel{gap:18px;width:min(420px,100%);padding:24px;display:grid}.passcode-panel label{color:var(--muted);gap:8px;font-size:.9rem;font-weight:700;display:grid}.passcode-panel input{border:1px solid var(--border);width:100%;min-height:48px;color:var(--text);background:var(--theme-surface,#fff);border-radius:8px;padding:0 12px}.passcode-panel input:focus{border-color:var(--accent);outline:3px solid #2454472e}.form-error{color:var(--danger);margin:0;font-size:.92rem;font-weight:700}.empty-state{text-align:center;padding:28px 18px}.empty-state h2{margin:0 0 6px;font-size:1.2rem}.empty-state p{color:var(--muted);margin:0}.compact-empty{margin-bottom:10px;padding:16px 14px}.compact-empty h2{font-size:1rem}.aisle-stack{gap:10px;padding-bottom:20px;display:grid}.aisle-group{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.aisle-group header{background:var(--surface-muted);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:7px 11px;display:flex}.aisle-group h2{margin:0;font-size:.96rem}.aisle-group header span{min-width:24px;height:24px;color:var(--accent-strong);background:var(--theme-surface,#fff);border-radius:999px;place-items:center;font-size:.82rem;font-weight:800;display:inline-grid}.aisle-group ul{margin:0;padding:0;list-style:none;display:grid}.aisle-empty{color:var(--muted);margin:0;padding:14px;font-size:.9rem}.aisle-group li{border-bottom:1px solid var(--border);min-height:48px;padding:0}.aisle-group li:last-child{border-bottom:0}.aisle-group li.checked{color:var(--muted);background:var(--theme-surface,#fbfcfa);opacity:.78}.aisle-group li.checked .item-title{text-decoration:line-through}.checked-section{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;margin-bottom:20px;overflow:hidden}.checked-section summary{min-height:42px;color:var(--muted);cursor:pointer;align-items:center;padding:0 12px;font-size:.9rem;font-weight:800;display:flex}.checked-section ul{border-top:1px solid var(--border);margin:0;padding:0;list-style:none;display:grid}.checked-section li{border-bottom:1px solid var(--border);min-height:48px;color:var(--muted);opacity:.82}.checked-section li:last-child{border-bottom:0}.checked-section .item-title{text-decoration:line-through}.item-row{grid-template-columns:44px minmax(0,1fr);align-items:stretch;gap:7px;width:100%;padding:5px 9px;display:grid}.check-button{border:2px solid var(--accent);width:44px;min-height:44px;color:var(--accent);background:var(--theme-surface,#fff);border-radius:7px;place-items:center;padding:0;font-size:1.1rem;font-weight:900;display:inline-grid}.checked .check-button{color:var(--theme-action-ink,#fff);background:var(--accent)}.item-main{min-width:0;min-height:44px;color:inherit;text-align:left;background:0 0;border-radius:7px;align-content:center;justify-items:start;padding:3px 2px;display:grid}.item-title{overflow-wrap:anywhere;max-width:100%;font-weight:800;line-height:1.12}.item-meta{overflow-wrap:anywhere;max-width:100%;color:var(--muted);margin-top:2px;font-size:.8rem;line-height:1.15}.sheet-backdrop{z-index:20;background:var(--theme-scrim,#17231f52);align-items:end;display:grid;position:fixed;inset:0}.edit-sheet{background:var(--theme-surface,#fff);width:min(720px,100%);max-height:min(78vh,680px);padding:14px 14px calc(14px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;margin:0 auto;overflow:auto;box-shadow:0 -18px 38px #17231f2e}.edit-sheet form{gap:12px;display:grid}.edit-sheet header{justify-content:space-between;align-items:center;gap:12px;display:flex}.edit-sheet h2{margin:0;font-size:1.1rem}.sheet-close{min-width:38px;min-height:38px;padding:0;font-size:1.4rem}.confirm-backdrop{z-index:30;align-items:center;padding:16px}.confirm-dialog{background:var(--theme-surface,#fff);border-radius:10px;gap:12px;width:min(420px,100%);margin:0 auto;padding:16px;display:grid;box-shadow:0 18px 42px #17231f38}.confirm-dialog h2,.confirm-dialog p{margin:0}.confirm-dialog p{color:var(--muted);font-size:.94rem;font-weight:700;line-height:1.35}.confirm-dialog .edit-actions{grid-template-columns:1fr 1fr;display:grid}.edit-actions{flex-wrap:wrap;gap:8px;display:flex}.edit-sheet .edit-actions{grid-template-columns:1fr 1fr;display:grid}.edit-sheet .edit-actions .danger-button{grid-column:1/-1}.grocery-shell .primary-header-title{letter-spacing:0;font-family:Arial,Helvetica Neue,sans-serif;font-size:1.5rem;font-weight:700}.grocery-shell .shell-primary-header .ghost-button{color:var(--surface)}.grocery-shell .quick-add{box-shadow:none;border:0;padding:2px}.grocery-shell .quick-add-field input{border:0;font-size:.9rem;font-weight:400}.grocery-shell .quick-add .grocery-sort-button{background:var(--surface-muted);border:0}.grocery-shell .grocery-empty{color:var(--muted);margin:28px 8px;font-size:.9rem}.grocery-shell .aisle-stack{gap:16px;padding:10px 8px 0}.grocery-shell .aisle-group{background:0 0;border:0;border-radius:0;overflow:visible}.grocery-shell .aisle-group header{background:0 0;min-height:28px;padding:0}.grocery-shell .aisle-group h2{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:700}.grocery-shell .aisle-group header span{color:var(--muted);background:0 0;font-size:.7rem}.grocery-shell .aisle-group li{border-bottom:1px solid var(--border)}.grocery-shell .aisle-group li:last-child{border-bottom:0}.grocery-shell .item-row{grid-template-columns:48px minmax(0,1fr);gap:0;padding:3px 0}.grocery-shell .check-button{width:48px;min-height:48px;color:var(--accent);background:0 0;border:0;position:relative}.grocery-shell .check-button:before{content:"";border:1px solid var(--accent);background:var(--surface);z-index:0;border-radius:6px;position:absolute;inset:8px}.grocery-shell .check-button span{z-index:1;position:relative}.grocery-shell .checked .check-button:before{background:var(--accent)}.grocery-shell .checked .check-button{color:var(--surface)}.grocery-shell .item-main{min-height:48px;padding:4px 0}.grocery-shell .item-title{font-size:.94rem;font-weight:600;line-height:1.25}.grocery-shell .item-meta{font-size:.75rem;font-weight:400;line-height:1.3}.grocery-shell .checked-section{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;margin:12px 8px 20px}.grocery-shell .checked-section summary{min-height:48px;padding:0;font-weight:600}.grocery-shell .checked-section summary:after{content:"⌄";margin-left:auto}.grocery-shell .checked-section[open] summary:after{content:"⌃"}.grocery-shell .checked-section .item-title{text-decoration:none}.grocery-clear{min-height:48px;color:var(--danger);text-align:left;background:0 0;padding:0 48px;font-size:.82rem}.grocery-shell .edit-sheet{max-height:min(90dvh,680px)}.grocery-shell .edit-sheet .edit-actions{background:var(--surface);padding-top:8px;position:sticky;bottom:0}.recipes-shell{padding:0 0 calc(78px + env(safe-area-inset-bottom));background:var(--cream)}.recipes-shell.recipes-fullscreen-shell{padding-bottom:0}.recipes-view{min-width:0}.recipe-library-view{min-height:calc(100dvh - 78px - env(safe-area-inset-bottom));color:var(--theme-action,#0b493e);background:var(--cream)}:is(html:has(.recipes-shell),body:has(.recipes-shell)){scrollbar-width:none}html:has(.recipes-shell)::-webkit-scrollbar{display:none}body:has(.recipes-shell)::-webkit-scrollbar{display:none}.recipes-library-header{min-height:calc(88px + env(safe-area-inset-top));padding:calc(19px + env(safe-area-inset-top)) 22px 17px;color:var(--theme-inverse,#fff);background:var(--theme-chrome,#084b40);justify-content:space-between;align-items:center;gap:18px;display:flex}.recipes-library-header h1{color:var(--theme-inverse,#fff);font-family:var(--display-serif);letter-spacing:-.025em;margin:0 0 0 6px;font-size:clamp(2rem,9vw,2.45rem);font-weight:500;line-height:1}.recipe-new-button{min-width:100px;min-height:44px;color:var(--text-on-forest);isolation:isolate;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;gap:4px;padding:0 12px;font:500 14px/20px Arial,Helvetica,sans-serif;display:inline-flex;position:relative}.recipe-new-button:before{z-index:-1;content:"";border:1px solid color-mix(in srgb, var(--text-on-forest) 26%, transparent);border-radius:inherit;background:color-mix(in srgb, var(--consumer-header-forest) 74%, black);position:absolute;inset:5px 0}.recipe-library-content{padding:16px 20px 28px}.recipe-lifecycle-undo{color:var(--muted);justify-content:center;align-items:center;gap:7px;margin:14px 0 2px;font-size:.88rem;font-weight:750;display:flex}.recipe-lifecycle-undo button,.removed-recipes-back{min-height:40px;color:var(--accent-strong);text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline}.removed-recipes-link{width:44px;min-height:44px;color:var(--text-on-forest);background:0 0;border:0;place-items:center;padding:0;display:grid}.removed-recipes-back{color:var(--theme-ink,#fff);text-decoration:none}.removed-recipe-list{border-top:1px solid var(--border);display:grid}.removed-recipe-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;display:grid}.removed-recipe-row>span{gap:3px;display:grid}.removed-recipe-row small{color:var(--muted)}.removed-recipe-row button{min-height:40px;color:var(--accent-strong);background:var(--theme-surface,#fff);padding:0 12px}.recipe-search{min-height:46px;color:var(--muted);border:1px solid var(--border);background:var(--surface);border-radius:13px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:16px;padding:0 18px;display:grid}.recipe-search:focus-within{outline:2px solid var(--focus-ring);outline-offset:2px}.recipe-search input,.field textarea{border:1px solid var(--border);width:100%;min-width:0;color:var(--text);background:var(--theme-surface,#fff);font:inherit;border-radius:8px}.recipe-search input{min-height:44px;color:var(--text);background:0 0;border:0;outline:0;padding:0;font:400 14px/20px Arial,Helvetica,sans-serif}.m4-foundation .recipe-search input:focus-visible{outline:0}.recipe-search input::placeholder{color:var(--muted);opacity:1}.field textarea{resize:vertical;min-height:160px;padding:12px;line-height:1.4}.directions-edit-form textarea{min-height:min(52vh,420px)}.field textarea:focus{border-color:var(--accent);outline:3px solid #2454472e}.recipe-library-switch{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));margin:6px 0 0;display:grid}.recipe-library-switch button{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:0;padding:0 8px;font:500 15px/22px Arial,Helvetica,sans-serif;box-shadow:inset 0 -2px #0000}.recipe-library-switch button.active{color:var(--accent-strong);box-shadow:inset 0 -2px var(--accent);font-weight:600}.recipe-library-state{min-height:180px;color:var(--theme-muted,#52625d);text-align:center;justify-items:center;gap:10px;padding:48px 12px;display:grid}.recipe-library-state h2,.recipe-library-state p{margin:0}.recipe-library-state h2{color:var(--theme-action,#164b40);font-family:var(--display-serif);font-size:1.35rem;font-weight:500}.recipe-library-state p{font-size:.92rem;line-height:1.4}.recipe-library-error .ghost-button{background:var(--theme-surface,#fff);min-height:40px}.recipe-alphabetical-list,.recipe-row-list{display:grid}.recipe-alphabetical-list,.recipe-recent-list{margin-top:19px}.recipe-letter-section{grid-template-columns:29px minmax(0,1fr);display:grid}.recipe-letter-section>h2{color:var(--muted);margin:0;padding-top:12px;font:700 14px/22px Arial,Helvetica,sans-serif}.recipe-library-row{width:100%;min-height:67px;color:var(--text);border-bottom:1px solid var(--border);text-align:left;background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:6px;padding:10px 0;display:grid}.recipe-library-row:hover{background:var(--surface-muted)}.recipe-library-row-copy{grid-template-rows:auto minmax(20px,auto);gap:3px;min-width:0;display:grid}.recipe-library-row-title{overflow-wrap:anywhere;font:500 16px/22px Arial,Helvetica,sans-serif}.recipe-library-row-meta{color:var(--muted);font:400 14px/20px Arial,Helvetica,sans-serif}.ingredient-row small,.sheet-ingredient-list small,.macro-note{color:var(--muted);font-size:.88rem;font-style:normal;font-weight:500;line-height:1.3}.recipe-library-row>svg{color:var(--muted);justify-self:center}.recipes-detail-view{padding:calc(12px + env(safe-area-inset-top)) 12px 16px;gap:12px;display:grid}.recipe-detail{gap:12px;min-width:0;display:grid}.recipe-back-button{min-height:36px;color:var(--accent);background:0 0;justify-self:start;padding:0}.recipe-hero{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:12px;padding:14px;display:grid;box-shadow:0 6px 18px #17231f0f}.recipe-hero-heading{gap:6px;display:grid}.recipe-hero-title-row{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;min-width:0;display:grid}.recipe-hero-title-row h1{overflow-wrap:anywhere}.recipe-category{color:var(--accent);letter-spacing:0;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:900}.recipe-hero-meta{color:var(--muted);grid-template-columns:minmax(108px,.42fr) minmax(0,1fr);align-items:center;gap:6px;font-size:.86rem;display:grid}.recipe-hero-meta strong,.recipe-hero-meta span{background:var(--surface-muted);overflow-wrap:anywhere;border-radius:999px;min-width:0;padding:4px 8px}.recipe-hero-meta strong{color:var(--accent-strong)}.recipe-hero-meta .recipe-hero-calories{border:1px solid var(--theme-edge,#cdded5);background:var(--theme-surface,#e8f2ec);text-align:center;border-radius:8px;place-items:center;min-height:54px;padding:8px 10px;font-size:1.15rem;line-height:1.05;display:grid}.recipe-hero-meta .recipe-hero-macros{color:var(--text);grid-column:1/-1;font-weight:850}.recipe-hero-actions{grid-template-columns:repeat(auto-fit,minmax(124px,1fr));align-items:start;gap:8px;display:grid}.recipe-menu-wrap{position:relative}.recipe-menu{z-index:8;border:1px solid var(--border);background:var(--theme-surface,#fff);min-width:190px;box-shadow:var(--shadow);border-radius:8px;gap:4px;margin-top:6px;padding:6px;display:grid;position:absolute;right:0}.recipe-menu button{min-height:40px;color:var(--text);text-align:left;background:0 0;justify-content:start;padding:0 10px}.recipe-tabs{grid-template-columns:1fr 1fr;gap:8px;display:grid}.recipe-tabs button{min-height:42px;color:var(--accent);background:var(--theme-surface,#fff);border:1px solid var(--border)}.recipe-tabs button.active{color:var(--theme-action-ink,#fff);background:var(--accent);border-color:var(--accent)}.recipe-panel{gap:10px;display:grid}.recipe-log-prompt{border:1px solid var(--border);background:var(--theme-selected,#fff9e8);color:var(--accent-strong);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:10px;font-weight:900;display:grid}.recipe-log-prompt small{color:var(--muted);grid-column:1/-1;font-weight:750}.recipe-log-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.recipe-log-grid .recipe-serving-control{grid-column:1/-1}.recipe-ingredient-groups{gap:10px;display:grid}.ingredient-group{gap:8px;display:grid}.ingredient-group h2{color:var(--accent);margin:0;font-size:.95rem}.ingredient-extra-drawer{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px}.ingredient-extra-drawer summary{min-height:46px;color:var(--accent);cursor:pointer;padding:12px;font-weight:900}.ingredient-extra-drawer .ingredient-list{padding:0 10px 10px}.inline-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inline-action{justify-self:start}.secondary-inline-actions{padding-top:2px}.secondary-inline-actions .inline-action{min-height:34px;padding:0 10px;font-size:.88rem}.ingredient-row{border:1px solid var(--border);background:var(--theme-surface,#fff);min-width:0;min-height:56px;color:var(--text);text-align:left;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}button.ingredient-row{cursor:pointer;width:100%}.ingredient-row em{color:var(--accent-strong);background:var(--surface-muted);border-radius:999px;padding:3px 7px;font-size:.72rem;font-style:normal;font-weight:800}.ingredient-row span{overflow-wrap:anywhere;min-width:0;display:grid}.ingredient-badges{flex-wrap:wrap;justify-content:end;gap:4px;display:flex}.recipe-food-detail{gap:12px;display:grid}.food-detail-hero{grid-template-columns:42px minmax(0,1fr);align-items:start;gap:10px;display:grid}.food-detail-hero h2{overflow-wrap:anywhere;margin:0;font-size:1.2rem}.food-detail-hero p{color:var(--muted);margin:3px 0 0;font-size:.9rem;font-weight:800}.food-detail-status{border:1px solid var(--theme-edge,#cdded5);color:var(--accent-strong);background:var(--theme-surface,#e8f2ec);border-radius:999px;justify-self:start;margin-top:7px;padding:3px 8px;font-size:.72rem;font-weight:900;display:inline-grid}.ingredient-detail-nutrition{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;gap:10px;padding:13px;display:grid}.ingredient-macro-empty{border-top:1px solid var(--border);gap:4px;padding-top:10px;display:grid}.ingredient-macro-empty strong{color:var(--text);font-size:1rem;line-height:1.15}.ingredient-macro-empty span{color:var(--muted);font-size:.86rem;font-weight:800;line-height:1.35}.food-detail-grid{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.food-detail-grid div{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;grid-template-columns:minmax(0,.62fr) minmax(0,1fr);gap:8px;min-width:0;padding:10px;display:grid}.food-detail-grid span{color:var(--muted);text-transform:uppercase;align-self:center;font-size:.72rem;font-weight:900}.food-detail-grid strong{overflow-wrap:anywhere;color:var(--accent-strong);text-align:right;justify-self:end;font-size:.95rem}.directions-panel{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;padding:13px}.directions-panel p{white-space:pre-wrap;margin:0;line-height:1.45}.nutrition-panel{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px}.nutrition-panel summary{min-height:48px;color:var(--accent);cursor:pointer;padding:14px;font-weight:800}.nutrition-form{border:0;border-top:1px solid var(--border);border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.recipe-sheet{gap:14px;display:grid}.recipe-sheet.wide{max-height:min(92vh,760px)}.ingredient-editor-sheet{grid-template-rows:auto minmax(0,1fr) auto;gap:16px;max-height:min(92vh,820px);display:grid}.ingredient-editor-field{min-height:0}.ingredient-editor-field textarea{height:100%;min-height:min(54vh,520px);color:var(--text);font-size:1.16rem;font-weight:650;line-height:1.42}.ingredient-editor-sheet .edit-actions{bottom:calc(-1 * (14px + env(safe-area-inset-bottom)));margin:0 -14px calc(-1 * (14px + env(safe-area-inset-bottom)));padding:12px 14px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--theme-surface,#fff);position:sticky}.advanced-ingredient-list{gap:10px;max-height:min(62vh,520px);padding-right:2px;display:grid;overflow:auto}.advanced-ingredient-row{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:10px;padding:10px;display:grid}.advanced-ingredient-fields{grid-template-columns:minmax(0,1fr) minmax(90px,.42fr);gap:8px;display:grid}.ingredient-toggle-grid{color:var(--text);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:.84rem;font-weight:800;display:grid}.ingredient-toggle-grid label{align-items:center;gap:7px;min-height:34px;display:flex}.ingredient-toggle-grid input{width:18px;height:18px;accent-color:var(--accent)}.advanced-ingredient-actions{grid-template-columns:1fr auto;gap:8px;display:grid}.recipe-details-form,.recipe-create-flow,.ingredient-add-simple,.create-ingredient-builder,.create-ingredient-row,.sheet-ingredient-list,.directions-edit-form,.advanced-fields{gap:12px;display:grid}.recipe-details-grid,.simple-ingredient-fields{grid-template-columns:minmax(0,1fr) minmax(90px,.45fr);gap:10px;display:grid}.create-ingredient-builder h2{margin:0;font-size:1rem}.create-ingredient-row{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;padding:10px}.sheet-ingredient-list button{border:1px solid var(--border);min-height:50px;color:var(--text);background:var(--theme-surface,#fff);text-align:left;border-radius:8px;justify-items:start;padding:9px 10px;display:grid}.advanced-fields{border:1px solid var(--border);border-radius:8px;padding:10px}.advanced-fields summary{color:var(--accent);cursor:pointer;font-weight:800}.nutrition-log-view{gap:12px;display:grid}.nutrition-log-header{margin:calc(-1 * env(safe-area-inset-top)) -12px 2px;padding:calc(14px + env(safe-area-inset-top)) 18px 18px;background:linear-gradient(135deg, var(--theme-recessed,#0f3b33), var(--theme-chrome,#174d41));justify-content:stretch;display:flex;box-shadow:0 14px 28px #17231f26}.date-controls{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:2px;width:100%;max-width:360px;margin:0 auto;display:grid}.date-nav-button{min-width:42px;min-height:44px;color:var(--theme-inverse,#fff);background:0 0;border:0;border-radius:8px;padding:0;font-size:1.55rem;font-weight:800;line-height:1}.date-jump-control{background:0 0;border:0;border-radius:8px;place-items:center;min-width:0;min-height:44px;padding:0 10px;display:grid;position:relative}.date-controls time{color:var(--theme-ink,#fff);white-space:nowrap;pointer-events:none;place-items:center;font-size:1.36rem;font-weight:900;line-height:1;display:grid}.date-jump-control input{opacity:0;cursor:pointer;border:0;width:100%;min-width:100%;height:100%;min-height:100%;position:absolute;inset:0}.today-shortcut{justify-self:center;min-height:36px}.nutrition-summary{box-shadow:none;background:0 0;border:0;border-radius:0;gap:0;padding:0;display:grid}.nutrition-command-card{border:1px solid var(--warm-border);background:radial-gradient(circle at 18% 0%, #fffffff2, #fff0 36%), linear-gradient(180deg, var(--theme-surface,#fffdf8) 0%, var(--theme-surface,#fff) 100%);border-radius:8px;gap:14px;padding:20px 20px 18px;display:grid;box-shadow:0 12px 30px #17231f14}.nutrition-summary-topline{grid-template-columns:minmax(0,1.05fr) minmax(138px,.95fr);align-items:end;gap:18px;display:grid}.nutrition-budget-answer{min-width:0;min-height:0;color:var(--accent-strong);text-align:left;background:0 0;border:0;border-radius:0;padding:0;display:block}.nutrition-budget-answer.over{color:var(--danger)}.nutrition-budget-answer span,.nutrition-budget-answer strong,.nutrition-budget-answer em{overflow-wrap:anywhere;line-height:1.05}.nutrition-budget-answer span{color:inherit;margin-left:8px;font-size:clamp(1.08rem,4.2vw,1.48rem);font-weight:850;display:inline}.nutrition-budget-answer strong{color:currentColor;letter-spacing:0;font-size:clamp(3.05rem,12.2vw,4.45rem);font-weight:850;display:inline}.nutrition-budget-answer em{color:var(--muted);font-size:clamp(.9rem,2.8vw,1rem);font-style:normal;font-weight:750;display:block}.nutrition-hero-line{align-content:end;gap:8px;min-width:0;display:grid}.nutrition-hero-line span,.nutrition-hero-line em,.nutrition-hero-line small{overflow-wrap:anywhere;color:var(--muted);font-style:normal;font-weight:780;line-height:1.25}.nutrition-hero-line span{color:var(--theme-muted,#5f6864);font-size:1rem}.nutrition-hero-line em{color:var(--accent-strong);font-size:.96rem}.nutrition-hero-line small{color:var(--activity);font-size:.92rem}.nutrition-ring-layout{justify-items:center;gap:8px;display:grid}.daily-details{gap:10px;margin-bottom:18px;display:grid}.daily-details summary{border:1px solid var(--border);min-height:44px;color:var(--accent-strong);background:var(--theme-surface,#fff);cursor:pointer;border-radius:8px;align-items:center;padding:0 12px;font-weight:900;display:flex}.daily-details[open] summary{margin-bottom:10px}.nutrition-ring{--ring-color:var(--accent);--ring-percent:0%;background:conic-gradient(var(--ring-color) var(--ring-percent), var(--surface-muted) 0);color:var(--text);text-align:center;border-radius:999px;align-content:center;place-items:center;display:grid;position:relative}.nutrition-ring:before{inset:var(--ring-inset,10px);border-radius:inherit;background:var(--theme-surface,#fff);content:"";position:absolute}.nutrition-ring span,.nutrition-ring strong,.nutrition-ring em{z-index:1;overflow-wrap:anywhere;max-width:calc(100% - 26px);line-height:1.05;position:relative}.nutrition-ring span{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:900}.nutrition-ring strong{font-size:1.35rem;font-weight:950}.nutrition-ring em{color:var(--muted);font-size:.76rem;font-style:normal;font-weight:900}.calorie-ring{--ring-color:var(--accent);--ring-inset:10px;aspect-ratio:1;width:min(150px,42vw);min-width:132px}.calorie-ring strong{font-size:clamp(1.68rem,7vw,2.12rem)}.macro-bar-stack{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.macro-progress{text-align:left;border:1px solid var(--theme-edge,#e4e9de);background:var(--theme-surface,#f8faf5);border-radius:8px;align-content:start;gap:5px;min-width:0;padding:9px 10px;display:grid}.macro-progress span,.macro-progress em{color:var(--muted);font-size:.76rem;font-style:normal;font-weight:760}.macro-progress strong{color:var(--text);font-size:.84rem;font-weight:850;line-height:1.12}.macro-progress-track span{border-radius:inherit;background:var(--accent);width:0;height:100%;display:block}.macro-progress:first-child .macro-progress-track .macro-progress-base{background:var(--theme-action,#4b8f52)}.recipe-editor-page{background:var(--theme-surface,#fffdf8);min-height:calc(100dvh - 82px);margin:-16px -16px 0}.recipe-graph-editor{z-index:30;height:100dvh;color:var(--text);background:var(--theme-surface,#fffdf8);flex-direction:column;display:flex;position:fixed;inset:0 0 auto;overflow:hidden}.recipe-graph-entry-action{border:1px solid var(--theme-edge,#aac1b7);width:fit-content;min-height:48px;color:var(--accent-strong);background:var(--theme-surface,#eef6f0);border-radius:10px;padding:8px 15px;font-weight:700}.recipe-graph-editor>.recipe-editor-header{flex:none}.recipe-graph-content{flex:1;min-height:0;padding-bottom:20px;overflow-y:auto}.recipe-graph-ingredients{border-bottom:1px solid var(--border);gap:12px;padding:22px 24px;display:grid}.recipe-graph-section-heading{color:var(--accent-strong);justify-content:space-between;align-items:baseline;display:flex}.recipe-graph-section-heading h2{font:500 1.55rem var(--display-serif);margin:0}.recipe-graph-section-heading span{color:var(--muted);font-size:.9rem}.recipe-graph-row{border-bottom:1px solid var(--border);gap:8px;padding:14px 0;display:grid;position:relative}.recipe-graph-row-main{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.recipe-graph-row-main strong{font-size:1rem}.recipe-graph-row-main button,.recipe-graph-search>button{color:var(--accent-strong);background:0 0;flex:none;text-decoration:underline}.recipe-graph-identity,.recipe-graph-group{color:var(--muted)}.recipe-graph-group{font-weight:700}.recipe-graph-problem{color:var(--danger)}.recipe-graph-row-controls{grid-template-columns:minmax(0,1fr) minmax(0,.7fr) auto;align-items:end;gap:8px;display:grid}.recipe-graph-row-controls label,.recipe-graph-search label{color:var(--muted);gap:4px;font-size:.8rem;font-weight:700;display:grid}.recipe-graph-row-controls input,.recipe-graph-search input{border:1px solid var(--theme-edge,#aac1b7);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;background:#fff;border-radius:9px;padding:8px 10px}.recipe-graph-row-controls button{border:1px solid var(--theme-edge,#aac1b7);min-height:44px;color:var(--accent-strong);background:var(--theme-surface,#eef6f0);border-radius:9px;padding:7px 8px;font-size:.8rem}.recipe-graph-order{gap:8px;display:flex}.recipe-graph-order button{border:1px solid var(--border);min-width:38px;min-height:34px;color:var(--accent-strong);background:#fff;border-radius:8px;padding:0}.recipe-graph-order button:disabled{opacity:.35}.recipe-graph-search{gap:8px;padding-top:8px;display:grid}.recipe-graph-search label{color:var(--accent-strong);font:500 1.3rem var(--display-serif)}.recipe-graph-search input{font:400 1rem system-ui,sans-serif}.recipe-graph-choices{border:1px solid var(--border);background:#fff;border-radius:10px;max-height:280px;display:grid;overflow:auto}.recipe-graph-choices>div{border-bottom:1px solid var(--border);gap:4px;padding:12px;display:grid}.recipe-graph-choices small{color:var(--muted)}.recipe-graph-choices>div>div{flex-wrap:wrap;gap:6px;display:flex}.recipe-graph-choices button{border:1px solid var(--theme-edge,#aac1b7);min-height:38px;color:var(--accent-strong);background:var(--theme-surface,#eef6f0);border-radius:8px;padding:5px 10px}.recipe-graph-readiness{color:var(--accent-strong);background:var(--theme-surface,#eef6f0);border-radius:10px;gap:4px;margin:18px 24px;padding:14px;display:grid}.recipe-graph-readiness span{color:var(--muted);font-size:.86rem;line-height:1.4}.recipe-graph-actions{padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--theme-surface,#fffdf8);flex:none;justify-content:flex-end;gap:10px;display:flex;position:static}.recipe-graph-actions button{border-radius:10px;min-height:48px;padding:8px 17px}.recipe-graph-actions button:last-child{color:#fff;background:var(--accent-strong)}.recipe-graph-actions button:disabled{opacity:.5}@media (max-width:420px){.recipe-graph-row-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.recipe-graph-row-controls button{grid-column:1/-1}}.recipes-shell .recipe-editor-page{margin:0}.recipe-editor-header{min-height:88px;color:var(--theme-inverse,#fff);background:var(--accent-strong);grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;padding:16px 18px 10px;display:grid}.recipe-editor-header h1{color:var(--theme-inverse,#fff);font-family:var(--display-serif);text-align:center;margin:0;font-size:clamp(1.65rem,7vw,2.1rem);font-weight:500}.recipe-editor-header button{min-width:44px;min-height:44px;color:var(--theme-inverse,#fff);background:0 0;padding:0;font-size:2.5rem;line-height:1}.recipe-editor-content{padding-bottom:calc(92px + env(safe-area-inset-bottom));gap:0;display:grid}.recipe-editor-identity,.recipe-editor-section,.recipe-editor-nutrition{border-bottom:1px solid var(--border);gap:20px;padding:28px 24px;display:grid}.recipe-editor-name,.recipe-editor-yield,.recipe-editor-writing-field{gap:10px;display:grid}.recipe-editor-name>span,.recipe-editor-yield>span:first-child,.recipe-editor-writing-field>span,.recipe-editor-nutrition h2{color:var(--accent-strong);font-family:var(--display-serif);margin:0;font-size:1.55rem;font-weight:500}.recipe-editor-name input,.recipe-editor-yield-control,.recipe-editor-writing-field textarea{border:1px solid var(--theme-edge,#aac1b7);width:100%;color:var(--text);background:var(--theme-surface,#fff);font:inherit;border-radius:12px}.recipe-editor-name input{min-height:58px;padding:0 16px;font-size:1.1rem}.recipe-editor-yield{grid-template-columns:1fr auto;align-items:center}.recipe-editor-yield-control{align-items:center;width:auto;min-height:52px;padding:0 14px;display:flex}.recipe-editor-yield-control input{width:62px;color:var(--accent-strong);font:inherit;background:0 0;border:0;outline:0;font-weight:800}.recipe-editor-yield-control em{color:var(--accent-strong);font-style:normal}.recipe-editor-writing-field small{color:var(--muted);font-weight:700}.recipe-editor-writing-field textarea{resize:vertical;min-height:210px;padding:16px;font-size:1rem;line-height:1.5}.recipe-editor-nutrition-ledger{grid-template-columns:minmax(110px,.42fr) minmax(0,1fr);align-items:stretch;display:grid}.recipe-editor-calories{border-right:1px solid var(--border);color:var(--accent-strong);place-content:center;justify-items:center;padding-right:20px;display:grid}.recipe-editor-calories strong{font-family:var(--display-serif);font-size:3.8rem;font-weight:500;line-height:.9}.recipe-editor-calories span{font-family:var(--display-serif);margin-top:8px;font-size:1.2rem}.recipe-editor-nutrition dl{margin:0;padding-left:22px;display:grid}.recipe-editor-nutrition dl div{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:11px 0;display:flex}.recipe-editor-nutrition dl div:last-child{border-bottom:0}.recipe-editor-nutrition dt,.recipe-editor-nutrition dd{margin:0}.recipe-nutrition-pending-card{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:12px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;padding:16px;display:grid}.recipe-nutrition-pending-card>span{color:var(--accent);font-size:2.2rem}.recipe-nutrition-pending-card div{gap:3px;display:grid}.recipe-nutrition-pending-card small{color:var(--muted)}.recipe-editor-ingredient-list{border-top:1px solid var(--border);display:grid}.recipe-editor-ingredient-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:58px;display:grid}.recipe-editor-ingredient-list.resolved .recipe-editor-ingredient-row{grid-template-columns:34px minmax(0,1fr) auto}.recipe-editor-ingredient-row>span{gap:2px;display:grid}.recipe-editor-ingredient-row small{color:var(--muted)}.recipe-editor-ingredient-row em{color:var(--accent);font-size:.78rem;font-style:normal;font-weight:800}.recipe-editor-save-bar{background:linear-gradient(transparent, var(--theme-surface,#fffdf8) 24%);padding-top:8px}.recipe-editor-save-bar button{width:100%;min-height:56px;color:var(--theme-action-ink,#fff);background:var(--accent);font-family:var(--display-serif);font-size:1.25rem}.recipe-editor-save-bar button:disabled{opacity:.5}.recipe-editor-maintenance{border-top:1px solid var(--border);color:var(--muted);gap:10px;padding:24px;display:grid}.recipe-editor-maintenance h2{color:var(--muted);margin:0;font-size:.9rem}.recipe-editor-maintenance button{min-height:40px;color:var(--muted);text-underline-offset:3px;background:0 0;border:0;justify-self:start;padding:0;text-decoration:underline}.recipe-lifecycle-confirmation-copy{color:var(--text);margin:0;line-height:1.45}.recipe-nutrition-completion-steer{border:1px solid var(--theme-edge,#aac1b7);width:calc(100% - 48px);min-height:76px;color:var(--accent-strong);background:var(--theme-surface,#fff);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;margin:24px;padding:16px 18px;display:flex}.recipe-cooking-content>.recipe-nutrition-completion-steer{width:100%;margin:24px 0 0}.recipe-nutrition-completion-steer>span{gap:3px;display:grid}.recipe-nutrition-completion-steer strong{font-family:var(--display-serif);font-size:1.25rem;font-weight:500}.recipe-nutrition-completion-steer small{color:var(--muted);font-weight:750}.recipe-ingredient-match-action{min-height:38px;color:var(--accent);white-space:nowrap;background:0 0;padding:6px 4px;font-size:.82rem;font-weight:850}.recipe-matcher-page{min-height:100dvh;color:var(--text);background:var(--cream);margin:-16px -16px 0}.recipes-shell .recipe-matcher-page{margin:0}.recipe-matcher-header{min-height:calc(82px + env(safe-area-inset-top));padding:calc(12px + env(safe-area-inset-top)) 18px 10px;color:var(--theme-inverse,#fff);background:var(--accent-strong);grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;display:grid}.recipe-matcher-header>span:first-of-type{font-family:var(--display-serif);text-align:center;font-size:clamp(1.65rem,7vw,2rem)}.recipe-matcher-header button{min-width:44px;min-height:44px;color:var(--theme-inverse,#fff);background:0 0;padding:0;font-size:2.5rem;line-height:1}.recipe-matcher-content{max-width:760px;padding:24px 24px calc(150px + env(safe-area-inset-bottom));gap:18px;margin:0 auto;display:grid}.recipe-matcher-context{gap:5px;display:grid}.recipe-matcher-context p,.recipe-matcher-context h1{margin:0}.recipe-matcher-context p{color:var(--muted);font-size:.8rem;font-weight:800}.recipe-matcher-context h1{color:var(--accent-strong);font-family:var(--display-serif);font-size:clamp(1.7rem,8vw,2.2rem);font-weight:500;line-height:1.08}.recipe-matcher-context>strong{color:var(--muted);font-size:.95rem}.recipe-matcher-search{border:1px solid var(--theme-edge,#aac1b7);background:var(--theme-surface,#fff);min-height:56px;color:var(--accent-strong);border-radius:18px;grid-template-columns:auto minmax(0,1fr) 40px;align-items:center;gap:10px;padding:0 10px 0 16px;display:grid}.recipe-matcher-search input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-weight:760}.recipe-matcher-search button{min-width:40px;min-height:40px;color:var(--accent-strong);background:0 0;padding:0}.recipe-matcher-scan,.recipe-matcher-keep{border:1px solid var(--accent);min-height:42px;color:var(--accent-strong);background:0 0;padding:8px 12px}.recipe-matcher-scan{justify-self:start}.recipe-matcher-scanner{color:var(--theme-ink,#fff);background:var(--theme-recessed,#10201c);border-radius:14px;gap:10px;padding:14px;display:grid}.recipe-matcher-scanner video{background:var(--theme-recessed,#07110e);object-fit:cover;border-radius:10px;width:100%;min-height:190px;max-height:38dvh}.recipe-matcher-scanner p{text-align:center;margin:0}.recipe-matcher-scanner button{min-height:42px;color:var(--theme-action-ink,#fff);background:0 0}.recipe-matcher-results{display:grid}.recipe-matcher-results h2{color:var(--accent-strong);font-family:var(--display-serif);margin:2px 0 8px;font-size:1.4rem;font-weight:500}.recipe-matcher-results>p{color:var(--muted);margin:14px 0}.recipe-matcher-results>button{border-bottom:1px solid var(--border);min-height:74px;color:var(--text);text-align:left;background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:12px;padding:12px 6px;display:grid}.recipe-matcher-results>button.selected{background:var(--theme-surface,#eef2ea);border-radius:10px;margin:0 -10px;padding-left:16px;padding-right:16px}.recipe-matcher-results>button>span:first-child{gap:3px;min-width:0;display:grid}.recipe-matcher-results strong{color:var(--accent-strong);font-family:var(--display-serif);font-size:1.05rem;font-weight:500;line-height:1.2}.recipe-matcher-results small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recipe-matcher-select-mark{border:1px solid var(--accent);width:28px;height:28px;color:var(--theme-ink,#fff);background:var(--theme-surface,#fff);border-radius:999px;place-items:center;font-weight:900;display:grid}.recipe-matcher-results>button.selected .recipe-matcher-select-mark{background:var(--accent)}.recipe-matcher-footer{z-index:16;padding:14px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fffdf8fa;position:fixed;bottom:0;left:max(0px,50vw - 380px);right:max(0px,50vw - 380px);box-shadow:0 -8px 22px #17231f0f}.recipe-matcher-preview{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.recipe-matcher-preview>span{gap:3px;min-width:0;display:grid}.recipe-matcher-preview strong,.recipe-matcher-preview small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recipe-matcher-preview small{color:var(--muted)}.recipe-matcher-preview button{min-height:48px;color:var(--theme-action-ink,#fff);background:var(--accent);padding:10px 18px}.recipe-matcher-preview button:disabled{opacity:.55}.recipe-matcher-keep{width:100%}.recipe-cooking-view{min-height:calc(100dvh - 78px - env(safe-area-inset-bottom));color:var(--accent-strong);background:var(--cream)}.recipe-cooking-header{min-height:calc(82px + env(safe-area-inset-top));padding:calc(12px + env(safe-area-inset-top)) 20px 10px;color:var(--theme-inverse,#fff);background:var(--accent-strong);grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;display:grid}.recipe-cooking-header span{font-family:var(--display-serif);text-align:center;font-size:clamp(1.6rem,7vw,2rem)}.recipe-cooking-header button{min-width:44px;min-height:44px;color:var(--theme-inverse,#fff);background:0 0;padding:0;font-size:.95rem}.recipe-cooking-header button:first-child{text-align:left}.recipe-cooking-header button:last-child{text-align:right}.recipe-cooking-content{max-width:760px;padding:28px 24px calc(34px + env(safe-area-inset-bottom));margin:0 auto;display:grid}.recipe-cooking-content>h1{color:var(--accent-strong);font-family:var(--display-serif);margin:0 0 20px;font-size:clamp(2.05rem,9vw,2.65rem);font-weight:500;line-height:1.05}.recipe-cooking-content>.notice,.recipe-cooking-content>.action-feedback{margin:0 0 16px}.recipe-cooking-yield{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding:0 0 18px;display:flex}.recipe-cooking-yield span{font-family:var(--display-serif);font-size:1.3rem}.recipe-cooking-yield strong{border:1px solid var(--border);background:var(--theme-surface,#fff);font-family:var(--display-serif);border-radius:10px;padding:10px 14px;font-weight:500}.recipe-cooking-content>.recipe-editor-nutrition{border-bottom:1px solid var(--border);gap:14px;padding:24px 0}.recipe-cooking-content>.recipe-editor-nutrition h2{font-size:1.25rem}.recipe-cooking-content .recipe-editor-calories strong{font-size:3.25rem}.recipe-cooking-actions{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(108px,.45fr);gap:10px;padding:18px 0 24px;display:grid}.recipe-cooking-actions button{min-height:46px;font-family:var(--display-serif);border-radius:9px;font-size:1rem}.recipe-cooking-actions button:only-child{grid-column:1/-1;justify-self:start;min-width:min(210px,100%)}.recipe-cooking-primary-action{color:var(--theme-action-ink,#fff);background:var(--accent)}.recipe-cooking-secondary-action{border:1px solid var(--accent);color:var(--accent-strong);background:var(--theme-surface,#fff)}.recipe-cooking-section{border-bottom:1px solid var(--border);padding:26px 0}.recipe-cooking-section:last-child{border-bottom:0}.recipe-cooking-section h2{color:var(--accent-strong);font-family:var(--display-serif);margin:0 0 14px;font-size:1.55rem;font-weight:500}.recipe-cooking-ingredients{display:grid}.recipe-cooking-ingredient-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:54px;padding:10px 2px;display:grid}.recipe-cooking-ingredients.resolved .recipe-cooking-ingredient-row{grid-template-columns:36px minmax(0,1fr) auto}.recipe-cooking-ingredient-row:last-child{border-bottom:0}.recipe-cooking-ingredient-copy{gap:2px;min-width:0;display:grid}.recipe-cooking-ingredient-row strong{color:var(--text);font-family:var(--display-serif);font-size:1.05rem;font-weight:500;line-height:1.25}.recipe-cooking-ingredient-copy small{color:var(--muted);font-size:.9rem}.recipe-cooking-ingredient-row .food-icon{background:var(--theme-surface,#eef2ea);border:0;border-radius:999px;width:32px;min-width:32px;height:32px}.recipe-directions-copy{color:var(--text);letter-spacing:normal;overflow-wrap:anywhere;gap:16px;font:400 1rem/1.5 Arial,Helvetica Neue,sans-serif;display:grid}.recipe-directions-copy p,.recipe-directions-copy ol,.recipe-directions-copy ul{margin:0}.recipe-directions-copy ol,.recipe-directions-copy ul{gap:12px;padding-left:1.45rem;display:grid}.recipe-directions-copy li::marker{color:var(--accent)}.recipe-directions-copy ol{padding-left:38px;list-style-type:decimal-leading-zero}.recipe-directions-copy ol li::marker{content:counter(list-item, decimal-leading-zero) "   ";font-size:.9rem;font-weight:700}.recipe-directions-copy h3{font:inherit;margin:0;font-weight:650}.recipe-cooking-empty{color:var(--muted);margin:0}.recipe-grocery-options{border-top:1px solid var(--border);margin-top:12px;display:grid}.recipe-grocery-options label{border-bottom:1px solid var(--border);grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;display:grid}.recipe-grocery-options input{width:22px;height:22px;accent-color:var(--accent)}.recipe-grocery-options span{gap:2px;display:grid}.recipe-grocery-options small{color:var(--muted)}.recipe-sheet .edit-actions{margin-top:14px}.recipe-cooking-header{min-height:calc(60px + env(safe-area-inset-top));padding:calc(6px + env(safe-area-inset-top)) 16px 6px}.recipe-cooking-header span{letter-spacing:.1em;text-transform:uppercase;font-family:inherit;font-size:.72rem;font-weight:850}.recipe-cooking-content{padding:22px 20px calc(108px + env(safe-area-inset-bottom))}.recipe-cooking-content>h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:clamp(1.75rem,8vw,2.35rem);line-height:1.08;overflow:hidden}.recipe-cooking-yield{border:0;min-height:0;padding:5px 0 20px}.recipe-cooking-yield span{color:var(--muted);font-family:inherit;font-size:.88rem;font-weight:750}.recipe-serving-summary{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:16px;gap:14px;padding:16px;display:grid;box-shadow:0 8px 22px #17231f0b}.recipe-serving-control{justify-content:space-between;align-items:center;gap:12px;display:flex}.recipe-serving-control>span{color:var(--muted);font-size:.78rem;font-weight:850}.recipe-serving-control>div{border:1px solid var(--border);border-radius:10px;grid-template-columns:44px minmax(66px,1fr) 44px;align-items:center;min-height:44px;display:grid;overflow:hidden}.recipe-serving-control button{min-width:44px;min-height:44px;color:var(--accent-strong);background:var(--theme-surface,#f7f7f2);border-radius:0;padding:0;font-size:1.35rem}.recipe-serving-control button:disabled{color:var(--muted)}.recipe-serving-control label{min-width:0}.recipe-serving-control input{border:0;border-right:1px solid var(--border);border-left:1px solid var(--border);width:100%;min-height:44px;color:var(--accent-strong);background:var(--theme-surface,#fff);font:inherit;text-align:center;border-radius:0;padding:0 6px;font-weight:850}.recipe-serving-nutrition{grid-template-columns:minmax(88px,.8fr) minmax(0,1.9fr);align-items:center;display:grid}.recipe-serving-calories{align-items:baseline;gap:5px;min-width:0;display:flex}.recipe-serving-calories strong{color:var(--accent-strong);font-family:var(--display-serif);letter-spacing:-.045em;font-size:clamp(2rem,10vw,2.75rem);font-weight:500;line-height:1}.recipe-serving-calories span,.recipe-serving-manual-note{color:var(--muted);font-size:.76rem;font-weight:750}.recipe-serving-manual-note{margin:-5px 0 0}.recipe-serving-nutrition dl{border-left:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid}.recipe-serving-nutrition dl div{text-align:center;gap:4px;min-width:0;padding:2px 8px;display:grid}.recipe-serving-nutrition dl div+div{border-left:1px solid var(--border)}.recipe-serving-nutrition dt,.recipe-serving-nutrition dd{margin:0}.recipe-serving-nutrition dt{color:var(--muted);font-size:.68rem;font-weight:800}.recipe-serving-nutrition dd{color:var(--accent-strong);white-space:nowrap;font-size:.78rem;font-weight:850}.recipe-cooking-section{border:0;padding:26px 0 0}.recipe-cooking-section-heading{justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px;display:flex}.recipe-cooking-section-heading>span{gap:2px;display:grid}.recipe-cooking-section h2{margin:0;font-size:1.35rem}.recipe-cooking-section-heading small{color:var(--muted);font-size:.73rem;font-weight:750}.recipe-cooking-grocery-action{border:1px solid var(--accent);min-height:38px;color:var(--accent-strong);background:var(--theme-surface,#fff);white-space:nowrap;border-radius:8px;padding:6px 10px;font-size:.76rem;font-weight:850}.recipe-cooking-ingredients{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:12px;overflow:hidden}.recipe-cooking-ingredient-row,.recipe-cooking-ingredients.resolved .recipe-cooking-ingredient-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:50px;padding:10px 14px}.recipe-cooking-ingredient-row strong{font-family:inherit;font-size:.94rem;font-weight:750}.recipe-cooking-ingredient-quantity{color:var(--muted);text-align:right;white-space:nowrap;font-size:.82rem;font-weight:750}.recipe-cooking-ingredient-group{color:var(--accent-strong);background:var(--surface-muted);font-family:var(--display-serif);margin:0;padding:10px 14px 6px;font-size:.92rem;font-weight:650}.recipe-cooking-ingredients .recipe-cooking-ingredient-row.has-icon{grid-template-columns:36px minmax(0,1fr) auto}.recipe-cooking-ingredient-button{border:0;border-bottom:1px solid var(--border);width:100%;color:inherit;font:inherit;text-align:left;background:0 0;border-radius:0}.recipe-cooking-ingredients .recipe-cooking-ingredient-button:not(.has-icon){grid-template-columns:minmax(0,1fr) auto 20px}.recipe-cooking-ingredients .recipe-cooking-ingredient-button.has-icon{grid-template-columns:36px minmax(0,1fr) auto 20px}.recipe-cooking-ingredient-button>svg{color:var(--accent)}.recipe-cooking-ingredient-button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.recipe-cooking-ingredient-meta{text-align:right;gap:2px;display:grid}.recipe-cooking-ingredient-calories{color:var(--accent-strong);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.76rem;font-weight:800}.recipe-food-inspector{gap:12px;display:grid}.recipe-food-inspector>p{color:var(--muted);margin:0}.recipe-food-inspector .recipe-food-inspector-amount{color:var(--text);font-weight:800}.recipe-cooking-directions{padding-bottom:18px}.recipe-cooking-log-dock{z-index:20;padding:10px 20px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfaf5f5;position:fixed;bottom:0;left:0;right:0}.recipe-cooking-log-dock button{width:min(100%,720px);min-height:50px;color:var(--theme-action-ink,#fff);background:var(--accent);font-family:var(--display-serif);border-radius:10px;margin:0 auto;font-size:1.08rem;display:block}.recipe-cooking-log-dock button:disabled{opacity:.55}@media (max-height:620px){.recipe-cooking-content{padding-top:14px}.recipe-cooking-yield{padding-bottom:12px}.recipe-serving-summary{gap:10px;padding:12px}}.macro-progress:nth-child(2) .macro-progress-track .macro-progress-base{background:var(--theme-selected,#70a545)}.macro-progress:nth-child(3) .macro-progress-track .macro-progress-base{background:var(--theme-error-surface,#d1942f)}.activity-preview-row{border:1px solid var(--theme-warning,#f0d3a8);background:var(--theme-selected,#fff9ef);min-height:50px;color:var(--activity);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.activity-icon{background:var(--theme-warning-surface,#ffedd5);border-radius:999px;place-items:center;width:34px;height:34px;font-weight:950;display:grid}.activity-preview-row strong{min-width:0;color:var(--activity);font-size:.9rem;font-weight:820;line-height:1.2}.activity-preview-row>span:last-child{color:var(--theme-warning,#8a6b39);font-size:.78rem;font-weight:900}.macro-warning{color:var(--muted);margin:-4px 0 0;font-size:.82rem;font-weight:850}.target-source-row,.meal-empty{color:var(--muted)}.target-source-row{flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:.82rem;font-weight:800;display:flex}.calorie-room-panel{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:0 6px 18px #17231f0d}.calorie-room-panel header{justify-content:space-between;align-items:start;gap:10px;display:flex}.calorie-room-panel h2{margin:0;font-size:1rem;line-height:1.15}.calorie-room-panel header>span{border:1px solid var(--border);color:var(--accent-strong);background:var(--theme-surface,#fbfcfa);border-radius:999px;flex:none;padding:4px 8px;font-size:.72rem;font-weight:900}.calorie-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.calorie-room-grid div{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.calorie-room-grid span,.calorie-room-panel small{color:var(--muted);font-size:.76rem;font-weight:900;line-height:1.25}.calorie-room-grid strong{color:var(--text);overflow-wrap:anywhere;font-size:1rem;line-height:1.1}.calorie-room-panel p{color:var(--text);margin:0;font-size:.9rem;font-weight:850;line-height:1.3}.today-energy-card{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:10px;padding:12px;display:grid;box-shadow:0 6px 18px #17231f0d}.today-energy-card header{justify-content:space-between;align-items:start;gap:10px;display:flex}.today-energy-card h2{margin:0;font-size:1rem;line-height:1.15}.today-energy-status{border:1px solid var(--theme-warning,#e7c46b);color:var(--theme-error,#6c4f11);background:var(--theme-selected,#fff9e8);border-radius:999px;flex:none;padding:4px 8px;font-size:.72rem;font-weight:900;line-height:1.2}.today-energy-attention{border-color:var(--theme-warning,#e7c46b);background:var(--theme-surface,#fffdf6)}.today-energy-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.today-energy-metric{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.today-energy-metric span,.today-energy-suggestion,.today-energy-freshness{color:var(--muted);font-size:.76rem;font-weight:900;line-height:1.25}.today-energy-metric strong{color:var(--accent-strong);overflow-wrap:anywhere;font-size:1.12rem;line-height:1.05}.today-energy-message,.today-energy-suggestion,.today-energy-freshness{margin:0}.today-energy-message{color:var(--text);font-size:.9rem;font-weight:850;line-height:1.3}.today-energy-link{color:var(--accent);justify-self:start;font-size:.84rem;font-weight:900;text-decoration:none}.today-energy-link:focus,.today-energy-link:hover{text-decoration:underline}.today-operating-surface{max-width:820px}.today-hero{border:1px solid var(--theme-edge,#cfd8e3);background:linear-gradient(135deg, var(--theme-surface,#fff) 0%, var(--theme-surface,#f2f6fb) 100%);border-radius:8px;gap:14px;margin-bottom:12px;padding:18px;display:grid;box-shadow:0 12px 30px #1f293714}.today-hero.over{border-color:var(--theme-error,#f3c6bd);background:linear-gradient(135deg, var(--theme-surface,#fff) 0%, var(--theme-selected,#fff5f2) 100%)}.today-hero-main{gap:4px;display:grid}.today-hero-main span,.today-hero-grid span,.today-macro-strip span,.today-action-panel span,.today-source-chip span,.today-review-list span,.today-review-list small{color:var(--muted);font-size:.78rem;font-weight:800;line-height:1.25}.today-hero-main strong{color:var(--text);overflow-wrap:anywhere;font-size:clamp(3rem,10vw,5.3rem);font-weight:900;line-height:.92}.today-hero-main p{max-width:640px;color:var(--theme-info,#334155);margin:0;font-weight:800;line-height:1.35}.today-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.today-hero-grid div,.today-source-chip{border:1px solid var(--theme-edge,#d9e2ea);background:#ffffffb8;border-radius:8px;gap:3px;min-width:0;padding:10px;display:grid}.today-hero-grid strong,.today-source-chip strong{overflow-wrap:anywhere;min-width:0;color:var(--text);font-size:.96rem;line-height:1.15}.today-macro-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.today-macro-strip article{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:8px;padding:12px;display:grid}.today-macro-strip article.tight{border-color:var(--theme-warning,#f4c48f);background:var(--theme-selected,#fff8ed)}.today-macro-strip article>div:first-child{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.today-macro-strip strong,.today-macro-strip em{color:var(--text);font-style:normal;font-weight:900}.today-macro-track{background:var(--theme-surface,#e5e7eb);border-radius:999px;height:8px;overflow:hidden}.today-macro-track span{width:var(--macro-percent);border-radius:inherit;background:var(--theme-info-surface,#365a8c);height:100%;display:block}.today-macro-strip article.tight .today-macro-track span{background:var(--theme-error-surface,#b45309)}.today-action-panel{gap:8px;margin-bottom:12px;display:grid}.today-action-panel article{border:1px solid var(--theme-edge,#d9e2ea);background:var(--theme-surface,#fff);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.today-action-panel article.primary{border-color:var(--theme-edge,#b8c8dd);background:var(--theme-surface,#f7faff)}.today-action-panel h2{color:var(--text);margin:3px 0 4px;font-size:1.15rem;line-height:1.15}.today-action-panel p,.today-action-panel small{color:var(--theme-info,#334155);margin:0;line-height:1.35;display:block}.today-action-panel small{color:var(--muted);margin-top:4px;font-size:.78rem;font-weight:800}.today-action-panel a,.today-card-link{min-height:38px;color:var(--theme-action-ink,#fff);background:var(--accent);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:0 12px;font-size:.88rem;font-weight:900;text-decoration:none;display:inline-grid}.today-source-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.today-source-chip.ready{border-color:var(--theme-edge,#c7d7cb)}.today-source-chip.review,.today-source-chip.stale,.today-source-chip.missing,.today-source-chip.not_ready{border-color:var(--theme-warning,#f4c48f);background:var(--theme-selected,#fff8ed)}.today-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.today-operating-card{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:10px;padding:16px;display:grid;box-shadow:0 6px 18px #17231f0d}.today-operating-card h2{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:1.35rem;line-height:1.1}.today-metric-row{border-top:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:12px;padding-top:8px;display:flex}.today-metric-row span,.today-object-summary dt{color:var(--muted);font-weight:800}.today-metric-row strong,.today-object-summary dd{color:var(--accent-strong);text-align:right;overflow-wrap:anywhere;font-weight:900}.today-object-summary{gap:8px;margin:0;display:grid}.today-object-summary div{border-top:1px solid var(--border);grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);gap:12px;padding-top:8px;display:grid}.today-object-summary dt,.today-object-summary dd{margin:0}.today-review-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.today-review-list li{border-top:1px solid var(--border);gap:2px;padding-top:8px;display:grid}.today-review-list strong{color:var(--text);line-height:1.15}.today-review-list a{justify-self:start;text-decoration:none}.today-review-list a:hover{text-decoration:underline}.today-card-link{justify-self:start;margin-top:2px}.cutover-readiness{max-width:900px}.cutover-hero{border:1px solid var(--theme-edge,#d7dfe7);background:linear-gradient(135deg, var(--theme-surface,#fff) 0%, var(--theme-surface,#f6f8fb) 100%);border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(260px,.75fr);gap:12px;margin-bottom:12px;padding:18px;display:grid}.cutover-hero>div:first-child{gap:5px;display:grid}.cutover-hero span,.cutover-score-grid span,.cutover-source-strip span,.cutover-item span,.cutover-evidence-list span,.cutover-evidence-list small{color:var(--muted);font-size:.78rem;font-weight:800;line-height:1.25}.cutover-hero strong{color:var(--text);font-size:clamp(3rem,12vw,5rem);font-weight:900;line-height:.9}.cutover-hero p{max-width:560px;color:var(--theme-info,#334155);margin:0;font-weight:800;line-height:1.35}.cutover-score-grid,.cutover-source-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.cutover-source-strip{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.cutover-score-grid div,.cutover-source-strip div{border:1px solid var(--theme-edge,#dde5eb);background:var(--theme-surface,#fff);border-radius:8px;gap:3px;min-width:0;padding:10px;display:grid}.cutover-score-grid strong,.cutover-source-strip strong{color:var(--text);overflow-wrap:anywhere;font-size:1.1rem;line-height:1.15}.cutover-filters{flex-wrap:wrap;gap:8px;margin-bottom:12px;padding-bottom:2px;display:flex}.cutover-search{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:10px;display:grid}.cutover-search label{gap:5px;min-width:0;display:grid}.cutover-search span{color:var(--muted);font-size:.78rem;font-weight:900}.cutover-search input{border:1px solid var(--border);width:100%;min-height:38px;color:var(--text);background:var(--theme-surface,#fff);border-radius:8px;padding:0 10px;font-size:.95rem;font-weight:800}.cutover-filters button{border:1px solid var(--border);min-height:36px;color:var(--text);background:var(--theme-surface,#fff);white-space:nowrap;border-radius:8px;padding:0 12px;font-weight:900}.cutover-filters button.active{border-color:var(--accent);color:var(--theme-action-ink,#fff);background:var(--accent)}.cutover-list{gap:10px;margin-bottom:12px;display:grid}.cutover-item{border:1px solid var(--theme-edge,#d9e2ea);background:var(--theme-surface,#fff);border-radius:8px;gap:10px;padding:14px;display:grid}.cutover-item.ready_fast{border-color:var(--theme-edge,#bfd4c6);background:var(--theme-surface,#f7fbf7)}.cutover-item.exists_slow{border-color:var(--theme-edge,#cad7e8);background:var(--theme-surface,#f7faff)}.cutover-item.needs_review,.cutover-item.missing{border-color:var(--theme-warning,#f0c38f);background:var(--theme-selected,#fff9ef)}.cutover-item-top,.cutover-action-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.cutover-item h2{color:var(--text);margin:3px 0 0;font-size:1.08rem;line-height:1.15}.cutover-item p,.cutover-action-row span{color:var(--theme-info,#334155);margin:0;line-height:1.35}.cutover-blocker-pill{color:var(--theme-error,#7c2d12);background:var(--theme-warning-surface,#ffedd5);border-radius:999px;flex:none;padding:5px 8px;font-size:.78rem;line-height:1.1}.cutover-action-row a{min-height:36px;color:var(--theme-action-ink,#fff);background:var(--accent);white-space:nowrap;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 12px;font-weight:900;text-decoration:none;display:inline-grid}.cutover-review-tasks{border:1px solid var(--theme-edge,#d9e4dc);background:var(--theme-surface,#fff);border-radius:8px;gap:7px;padding:10px;display:grid}.cutover-review-tasks span{color:var(--accent-strong);letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:900;line-height:1.2}.cutover-review-tasks ul{gap:5px;margin:0;padding-left:18px;display:grid}.cutover-review-tasks li{color:var(--text);font-size:.86rem;font-weight:750;line-height:1.32}.cutover-evidence-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.cutover-evidence-list li{border-top:1px solid var(--border);gap:2px;padding-top:7px;display:grid}.cutover-evidence-list strong{color:var(--text);line-height:1.15}.cutover-evidence-list a{color:var(--text);text-decoration:none}.cutover-evidence-list a:hover{text-decoration:underline}.meal-stack{gap:8px;padding-bottom:18px;display:grid}.meal-section{border:1px solid var(--warm-border);background:#fffffff5;border-radius:8px;overflow:hidden;box-shadow:0 8px 20px #17231f0d}.meal-section header{background:linear-gradient(180deg, var(--theme-surface,#fff), var(--theme-surface,#fbfcf7));border-bottom:1px solid #dbe2d6c7;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:58px;padding:8px 10px;display:grid}.meal-section h2{margin:0;font-size:1rem;font-weight:850;line-height:1.08}.meal-title-block{gap:3px;min-width:0;display:grid}.meal-section header .meal-title-block span{color:var(--muted);font-size:.88rem;font-weight:850}.meal-icon-wrap{background:var(--theme-surface,#edf3e9);border-radius:999px;place-items:center;width:42px;height:42px;display:grid;box-shadow:inset 0 0 0 1px #2454470f}.meal-icon-wrap .food-icon{background:0 0;width:28px;height:28px}.meal-icon-wrap .food-icon-emoji{font-size:1.45rem}.meal-section header button{min-height:36px;padding:0 9px}.meal-section .meal-add-button{border:1px solid var(--theme-edge,#cbd8cd);min-width:68px;color:var(--accent-strong);background:var(--theme-surface,#f3f7ef);box-shadow:0 4px 12px #17231f0a}.meal-actions{align-items:center;gap:6px;display:flex}.meal-menu-wrap{position:relative}.meal-menu-button{letter-spacing:0;min-width:36px;padding:0;font-size:1rem}.meal-menu{z-index:5;border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;min-width:136px;margin-top:5px;padding:5px;display:grid;position:absolute;right:0;box-shadow:0 10px 26px #17231f24}.meal-menu button{width:100%;min-height:38px;color:var(--accent-strong);text-align:left;background:0 0;justify-content:flex-start;padding:0 10px}.meal-menu button:last-child{color:var(--danger)}.meal-menu button:disabled{color:var(--muted)}.meal-empty{color:var(--muted);margin:0 0 0 52px;padding:0 12px 8px 0;font-size:.82rem;font-weight:700}.nutrition-entry-list{margin:0;padding:0;list-style:none;display:grid}.nutrition-entry-list li{border-bottom:1px solid var(--border)}.nutrition-entry-list li:last-child{border-bottom:0}.nutrition-entry-row{width:100%;min-height:58px;color:var(--text);background:var(--theme-surface,#fff);text-align:left;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;display:grid}.nutrition-entry-row span{gap:3px;min-width:0;display:grid}.nutrition-entry-row strong{overflow-wrap:anywhere;line-height:1.15}.entry-kcal{color:var(--accent-strong);white-space:nowrap;font-size:.9rem;font-weight:900}.nutrition-entry-sheet{gap:12px;max-height:min(88dvh,720px);padding:0;display:grid;overflow:hidden}.nutrition-entry-sheet form{max-height:inherit;padding:12px 14px calc(12px + env(safe-area-inset-bottom));grid-auto-rows:max-content;align-content:start;overflow:auto}.nutrition-entry-sheet form>header{z-index:2;border-bottom:1px solid var(--border);background:var(--theme-surface,#fff);margin:-12px -14px 0;padding:12px 14px;position:sticky;top:-12px}.nutrition-entry-sheet .edit-actions{bottom:calc(-1 * (12px + env(safe-area-inset-bottom)));z-index:2;margin:0 -14px calc(-1 * (12px + env(safe-area-inset-bottom)));padding:10px 14px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--theme-surface,#fff);position:sticky}.nutrition-add-tabs{border:1px solid var(--theme-edge,#d8ded4);background:var(--theme-surface,#fff);scrollbar-width:none;border-radius:8px;gap:0;margin-top:2px;display:flex;overflow-x:auto}.nutrition-add-tabs::-webkit-scrollbar{display:none}.nutrition-add-tabs button{border:0;border-right:1px solid var(--border);min-width:0;height:36px;min-height:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;background:0 0;border-radius:0;flex:1 1 0;padding:0 6px;font-size:.8rem;font-weight:820;overflow:hidden}.nutrition-add-tabs button.active{border-color:var(--accent);background:linear-gradient(135deg, var(--theme-chrome,#0f4338), var(--theme-chrome,#245447));color:var(--theme-action-ink,#fff)}.manual-add-link{min-height:32px;color:var(--accent-strong);text-underline-offset:3px;background:0 0;border:0;justify-self:start;padding:0;font-size:.84rem;font-weight:850;text-decoration:underline}.nutrition-entry-sheet.serving-editor-sheet{border-radius:22px 22px 0 0;width:min(100%,520px);height:max-content;max-height:min(94dvh,820px)}.serving-editor-sheet form{min-height:min(82dvh,720px)}.serving-editor{gap:18px;min-height:calc(min(82dvh,720px) - 64px);padding:4px 0 86px;display:grid}.serving-picker-editor{min-height:calc(100dvh - 150px - env(safe-area-inset-top));padding-top:18px}.serving-editor-sheet form.serving-entry-form{min-height:0}.serving-entry-form>.serving-editor{gap:14px;min-height:0;padding:4px 0 0}.serving-picker-error{color:var(--theme-error,#8c3933);margin:-8px 0 0;font-size:.86rem;font-weight:800}.serving-editor-title{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.serving-editor-title strong{color:var(--ink);font-family:var(--font-serif);font-size:1.45rem;line-height:1.1}.serving-editor-title button,.serving-editor-delete{min-height:0;color:var(--accent-strong);background:0 0;border:0;padding:4px 0;font-size:.88rem}.serving-editor h3,.food-nutrition-editor h3{color:var(--ink);font-family:var(--font-serif);margin:0;font-size:1.8rem;font-weight:500}.nutrition-ledger{border:1px solid var(--theme-edge,#d9ded5);background:var(--theme-surface,#fbfcfa);border-radius:16px;grid-template-columns:minmax(118px,.8fr) minmax(0,1.2fr);align-items:center;gap:24px;padding:24px 20px;display:grid}.nutrition-ledger-calories{justify-items:center;gap:3px;display:grid}.nutrition-ledger-calories strong,.nutrition-ledger-calories input{width:100%;color:var(--ink);font-family:var(--font-serif);text-align:center;background:0 0;border:0;font-size:clamp(3.3rem,15vw,4.4rem);font-weight:500;line-height:.95}.nutrition-ledger-calories span{color:var(--muted);font-size:.9rem}.nutrition-ledger dl,.nutrition-ledger-inputs{gap:8px;margin:0;display:grid}.nutrition-ledger dl div,.nutrition-ledger-inputs label{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.nutrition-ledger dt,.nutrition-ledger dd,.nutrition-ledger-inputs label>span{color:var(--ink);margin:0;font-size:.92rem;font-weight:800}.nutrition-ledger-inputs input{text-align:right;width:72px;min-height:36px;padding:5px 7px}.serving-editor-delete{color:var(--theme-error,#8c3933);justify-self:start;margin-top:auto}.serving-entry-form .serving-editor-delete{margin-top:2px}.serving-editor-dock{bottom:calc(-1 * (12px + env(safe-area-inset-bottom)));z-index:4;margin:0 -14px calc(-1 * (12px + env(safe-area-inset-bottom)));padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--theme-surface,#fff);grid-template-columns:minmax(86px,.75fr) minmax(110px,1fr) auto;align-items:end;gap:10px;display:grid;position:sticky}.serving-editor-dock label{gap:4px;display:grid}.serving-editor-dock label>span{color:var(--muted);font-size:.72rem;font-weight:800}.serving-editor-dock input,.serving-editor-dock select{width:100%;min-width:0;min-height:48px;font-size:1.05rem;font-weight:800}.serving-editor-dock button{min-height:48px;padding-inline:18px}.serving-picker-editor .serving-editor-dock{bottom:calc(-1 * (92px + env(safe-area-inset-bottom)));margin-right:-18px;margin-bottom:calc(-1 * (92px + env(safe-area-inset-bottom)));padding-right:18px;padding-bottom:calc(12px + env(safe-area-inset-bottom));margin-left:-18px;padding-left:18px}.serving-entry-form .serving-editor-dock{margin:0 -14px;padding-bottom:12px;position:static}.food-nutrition-editor-header{color:var(--theme-inverse,#fff);background:var(--accent-strong)!important}.food-nutrition-editor-header button,.food-nutrition-editor-header h2{color:var(--theme-inverse,#fff)}.food-nutrition-editor{gap:20px;padding-bottom:24px;display:grid}.food-nutrition-editor>header{gap:2px;display:grid}.food-nutrition-editor>header strong{color:var(--ink);font-family:var(--font-serif);font-size:1.6rem}.food-nutrition-editor>header span{color:var(--muted)}.food-nutrition-heading{justify-content:space-between;align-items:end;gap:14px;display:flex}.food-nutrition-basis{grid-template-columns:72px 86px;gap:6px;display:grid}.food-nutrition-basis input,.food-nutrition-basis select{min-height:42px;padding:7px 9px;font-weight:800}.food-nutrition-save{min-height:50px}.nutrition-add-food-sheet{background:var(--cream);border-radius:0;width:min(720px,100%);height:100dvh;max-height:100dvh}.nutrition-add-food-sheet form{padding:0 18px calc(92px + env(safe-area-inset-bottom));background:var(--cream);gap:0}.nutrition-add-food-sheet form>header.nutrition-add-food-header{z-index:5;min-height:calc(58px + env(safe-area-inset-top));padding:calc(7px + env(safe-area-inset-top)) 18px 7px;color:var(--theme-inverse,#fff);background:var(--accent-strong);border-bottom:0;grid-template-columns:44px minmax(0,1fr) 44px;margin:0 -18px;display:grid;top:0;box-shadow:0 8px 18px #17231f14}.nutrition-add-food-header h2{color:var(--theme-inverse,#fff);font-family:var(--display-serif);text-align:center;font-size:1.08rem;font-weight:700;line-height:1}.nutrition-add-food-back{width:44px;min-width:44px;height:44px;min-height:44px;color:var(--theme-ink,#fff);background:0 0;place-items:center;padding:0;display:inline-grid}.nutrition-add-food-header-spacer{width:44px;height:44px;display:block}.nutrition-add-food-search{border:1px solid var(--theme-edge,#9eb7a7);min-height:52px;color:var(--accent-strong);background:#fffc;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:8px 0 4px;padding:0 14px;display:grid}.nutrition-add-food-search input{width:100%;min-height:50px;color:var(--text);background:0 0;border:0;outline:0;padding:0;font-size:1rem;font-weight:650}.nutrition-add-food-search input::placeholder{color:var(--theme-muted,#7d8581)}.nutrition-add-food-search button{width:40px;min-width:40px;height:40px;min-height:40px;color:var(--accent-strong);background:0 0;place-items:center;padding:0;display:inline-grid}.nutrition-add-food-sheet .nutrition-add-tabs{border:0;border-bottom:1px solid var(--warm-border);background:0 0;border-radius:0;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 -18px;padding:2px 18px 5px;display:grid;overflow:visible}.nutrition-add-food-sheet .nutrition-add-tabs button{height:44px;color:var(--accent-strong);font-family:var(--display-serif);background:0 0;border:0;border-radius:999px;font-size:.94rem;font-weight:650}.nutrition-add-food-sheet .nutrition-add-tabs button.active{color:var(--accent-strong);background:var(--theme-surface,#eceee5)}.add-food-browser{gap:0;min-width:0;padding-top:8px;display:grid}.add-food-search-status{min-height:64px;color:var(--muted);align-items:center;gap:10px;padding:10px 4px;display:flex}.add-food-search-status .loading-mark{border-width:3px;width:28px;height:28px}.add-food-search-status strong{font-size:.9rem;font-weight:750}.add-food-browser>h3,.add-food-meal-week>h3{color:var(--accent-strong);font-family:var(--display-serif);margin:0;font-size:1.08rem;font-weight:650;line-height:1.15}.add-food-browser>h3{padding:0 4px 4px}.add-food-result-list{min-width:0;display:grid}.add-food-show-all{min-height:44px;color:var(--accent-strong);background:0 0;margin-left:auto;padding:4px 0;font-size:.8rem;text-decoration:underline;display:block}.add-food-result-row{border-bottom:1px solid var(--warm-border);grid-template-columns:44px minmax(0,1fr) 48px;align-items:center;gap:10px;min-height:64px;padding:5px 4px;display:grid}.add-food-result-row .shortcut-icon-wrap{background:var(--theme-surface,#eff1e8);border-radius:50%;align-self:center;width:42px;height:42px}.add-food-result-row .shortcut-icon-wrap .food-icon{width:29px;height:29px}.add-food-result-main{min-width:0;min-height:48px;color:var(--text);text-align:left;background:0 0;align-content:center;justify-items:start;gap:3px;padding:0;display:grid}.add-food-result-main strong,.add-food-result-main span,.add-food-result-main small{text-overflow:ellipsis;max-width:100%;overflow:hidden}.add-food-result-main strong{color:var(--accent-strong);font-family:var(--display-serif);white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.98rem;font-weight:650;line-height:1.12;display:-webkit-box}.add-food-result-main span,.add-food-result-main small{color:var(--muted);white-space:nowrap;font-size:.8rem;font-weight:650;line-height:1.25}.add-food-result-main small{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.add-food-quick-action{width:46px;min-width:46px;height:46px;min-height:46px;color:var(--accent-strong);background:var(--theme-surface,#eceee5);border-radius:50%;place-items:center;padding:0;display:inline-grid}.add-food-quick-action.is-busy{opacity:1}.add-food-quick-action.is-pending{color:var(--accent-strong);background:var(--theme-raised,#dce7dd)}.add-food-quick-action.is-failed{color:var(--theme-error,#8c3933);background:var(--theme-selected,#f5e1de)}.add-food-meal-history,.add-food-meal-week{gap:4px;display:grid}.add-food-meal-history{gap:16px}.add-food-meal-week>h3{color:var(--muted);padding:0 4px 2px;font-family:inherit;font-size:.9rem;font-weight:850}.nutrition-add-food-manual{margin:14px 4px 0}.nutrition-keyboard-dock{z-index:8;border:1px solid var(--theme-edge,#c9cdbf);background:var(--theme-surface,#f0f1e9);border-radius:999px;grid-template-columns:repeat(3,58px);justify-self:end;margin-top:12px;display:grid;position:sticky;bottom:8px;overflow:hidden;box-shadow:0 8px 22px #17231f1f}.nutrition-keyboard-dock button{border-right:1px solid var(--theme-edge,#d0d3c7);width:58px;min-width:58px;height:54px;min-height:54px;color:var(--accent-strong);background:0 0;border-radius:0;place-items:center;padding:0;display:inline-grid}.nutrition-keyboard-dock button:last-child{border-right:0}.nutrition-keyboard-dock .nutrition-keyboard-done{color:var(--theme-action-ink,#fff);background:var(--accent);border-radius:50%}.recent-meal-checklist{min-height:calc(100dvh - 92px - env(safe-area-inset-top));padding:22px 0 104px}.recent-meal-selector-heading{gap:5px;padding:0 8px 14px;display:grid}.recent-meal-selector-heading strong{color:var(--accent-strong);font-family:var(--display-serif);font-size:1.45rem;font-weight:650}.recent-meal-selector-heading span{color:var(--muted);font-size:.9rem;font-weight:650}.recent-meal-selector-card{border:1px solid var(--theme-edge,#cfd5c7);background:#ffffffc7;border-radius:14px;padding:0 12px}.recent-meal-checklist .recent-meal-checklist-list{gap:0}.recent-meal-checklist .recent-meal-check-row{border:0;border-bottom:1px solid var(--warm-border);background:0 0;border-radius:0;min-height:82px;padding:12px 0}.recent-meal-checklist-list li:last-child .recent-meal-check-row{border-bottom:0}.recent-meal-checklist .recent-meal-check-row:not(:has(input)){grid-template-columns:minmax(0,1fr) auto}.recent-meal-checklist .recent-meal-check-row input{width:26px;height:26px}.recent-meal-checklist .recent-meal-check-row strong{color:var(--accent-strong);font-family:var(--display-serif);font-size:1.02rem;font-weight:650}.recent-meal-selector-actions button{width:100%;min-height:56px;font-family:var(--display-serif);font-size:1.15rem;font-weight:650}.shortcut-search-field{border:1px solid var(--theme-edge,#dfe5d9);background:var(--theme-surface,#f5f8f1);border-radius:8px;margin-top:0;padding:10px}.shortcut-search-field>span:first-child{color:var(--accent-strong);font-size:.82rem;font-weight:850}.shortcut-search-field input{border:2px solid var(--accent);border-radius:8px;min-height:46px;font-size:.92rem;font-weight:760}.shortcut-search-control{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.shortcut-search-control button{border:1px solid var(--accent);min-height:46px;color:var(--accent-strong);background:var(--theme-surface,#fff);padding:0 10px}.nutrition-shortcut-panel,.shortcut-list{gap:6px;display:grid}.barcode-panel{gap:10px}.barcode-scan-card{gap:8px;display:grid}.barcode-camera-frame{border:1px solid var(--border);background:var(--theme-recessed,#10251f);min-height:150px;color:var(--theme-ink,#fff);border-radius:8px;place-items:center;display:grid;position:relative;overflow:hidden}.barcode-camera-frame video{object-fit:cover;width:100%;height:100%;min-height:150px}.barcode-camera-frame:not(.active) video{opacity:0;pointer-events:none;position:absolute}.barcode-camera-frame.active:after{content:"";pointer-events:none;border:3px solid #ffffffe6;border-radius:8px;position:absolute;inset:18px;box-shadow:0 0 0 999px #00000038}.barcode-camera-placeholder{text-align:center;gap:3px;padding:16px;display:grid}.barcode-camera-placeholder strong{font-size:1rem;font-weight:900}.barcode-camera-placeholder span,.barcode-scan-status{color:#ffffffd1;font-size:.86rem;font-weight:750}.barcode-scan-status{z-index:1;text-align:center;background:#000000ad;border-radius:8px;padding:8px 10px;position:absolute;bottom:12px;left:12px;right:12px}.barcode-scan-actions{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.barcode-scan-actions button{min-height:44px}.barcode-lookup-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.barcode-create-card{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:10px;padding:10px;display:grid}.barcode-review-banner{border:1px solid var(--theme-warning,#f0d983);background:var(--theme-raised,#fff8d9);color:var(--theme-error,#6f4200);border-radius:8px;gap:3px;padding:10px;display:grid}.nutrition-entry-sheet .barcode-create-actions{z-index:auto;background:0 0;border-top:0;margin:0;padding:0;position:static}.barcode-review-banner strong{font-size:.9rem;font-weight:950}.barcode-review-banner span,.barcode-review-banner em{font-size:.82rem;font-style:normal;font-weight:800;line-height:1.35}.estimate-toggle{min-height:34px;color:var(--ink);align-items:center;gap:8px;font-size:.88rem;font-weight:850;display:flex}.estimate-toggle input{width:18px;height:18px;accent-color:var(--accent)}.search-results-heading{justify-content:space-between;align-items:baseline;gap:8px;margin-top:2px;display:flex}.search-results-heading strong{color:var(--ink);font-size:.95rem}.search-results-heading span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:800;overflow:hidden}.external-food-search{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;gap:8px;margin-top:4px;padding:8px 10px;display:grid}.external-food-search summary{color:var(--ink);cursor:pointer;justify-content:space-between;align-items:baseline;gap:8px;font-size:.88rem;font-weight:900;list-style:none;display:flex}.external-food-search summary::-webkit-details-marker{display:none}.external-food-search summary:after{content:"+";color:var(--accent-strong);flex:none;font-weight:950}.external-food-search[open] summary:after{content:"-"}.external-food-search summary small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;font-weight:800;overflow:hidden}.external-food-search-heading{border-top:1px solid var(--border);padding-top:4px}.serving-edit-summary{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;gap:4px;padding:10px;display:grid}.serving-edit-summary strong{line-height:1.15}.serving-edit-summary span{color:var(--muted);font-size:.84rem;font-weight:800}.serving-edit-summary em{color:var(--accent-strong);font-size:.76rem;font-style:normal;font-weight:900}.facts-edit-summary{background:0 0;border:0;gap:8px;padding:0}.edit-summary-heading{gap:3px;display:grid}.edit-summary-heading strong{color:var(--ink);font-size:1.02rem}.ingredient-scaler,.meal-shortcut-scaler,.template-detail-scaler,.recent-meal-checklist{gap:10px;display:grid}.nutrition-entry-sheet form.template-detail-form{flex-direction:column;padding-bottom:0;display:flex;overflow:hidden}.template-detail-form>.template-detail-scaler{flex:auto;grid-template-rows:minmax(0,1fr) max-content;min-height:0;overflow:hidden}.template-detail-scroll-content{overscroll-behavior:contain;gap:10px;min-height:0;padding:2px 0 12px;display:grid;overflow-y:auto}.recipe-log-identity{padding:2px 2px 0}.recipe-log-nutrition-ledger{background:var(--theme-surface,#fff);border-radius:8px;gap:18px;padding:12px 14px}.recipe-log-nutrition-ledger .nutrition-ledger-calories strong{font-size:clamp(2.5rem,13vw,3.2rem)}.recipe-log-serving-control{border-block:1px solid var(--border);grid-template-columns:minmax(0,1fr) 112px;align-items:center;padding:10px 12px}.recipe-log-serving-control>span{color:var(--ink);font-weight:850}.recipe-log-serving-control input{text-align:center;min-height:44px;font-size:1.1rem;font-weight:850}.detail-ingredient-button{color:inherit;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:32px minmax(0,1fr) auto 20px;align-items:center;gap:9px;width:100%;padding:0;display:grid}.detail-ingredient-button>svg{color:var(--forest);flex:none;margin-left:0}.food-nutrition-serving-label{color:var(--ink-soft);font-weight:700}.nutrition-entry-sheet .template-detail-actions{z-index:auto;padding:10px 14px calc(14px + env(safe-area-inset-bottom));margin:0 -14px;position:static}.ingredient-scaler-heading{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.ingredient-scaler-heading>div{gap:4px;display:grid}.ingredient-scaler-heading strong{color:var(--ink);font-size:1.08rem;line-height:1.15}.ingredient-scaler-heading span{color:var(--muted);font-size:.82rem;font-weight:800}.nutrition-facts-card{border:1px solid var(--border);background:radial-gradient(circle at 50% 0%, #fffffff2, #fff0 42%), var(--theme-surface,#fbfcfa);border-radius:8px;gap:10px;padding:14px;display:grid}.nutrition-facts-topline,.nutrition-facts-grid dl div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.nutrition-facts-topline span,.nutrition-facts-topline strong{font-size:.86rem;font-weight:820}.nutrition-facts-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);align-items:center;gap:16px;display:grid}.nutrition-facts-calories{justify-items:center;gap:2px;display:grid}.nutrition-facts-calories strong{color:var(--ink);font-size:clamp(3rem,15vw,3.7rem);font-weight:850;line-height:.95}.nutrition-facts-calories span,.nutrition-facts-grid dt,.nutrition-facts-grid dd{color:var(--muted);font-weight:900}.nutrition-facts-grid dl{gap:5px;margin:0;display:grid}.nutrition-facts-grid dt,.nutrition-facts-grid dd{margin:0;font-size:.86rem;font-weight:800}.serving-control-panel{grid-template-columns:minmax(0,1.35fr) minmax(88px,.65fr);align-items:end;gap:8px;display:grid}.serving-stepper{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:8px;min-width:0;padding:10px;display:grid}.serving-stepper-heading{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.serving-stepper-heading span,.serving-stepper-heading strong{color:var(--muted);font-size:.78rem;font-weight:900}.serving-stepper-controls{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;display:grid}.serving-stepper-controls>button{border-color:var(--theme-edge,#cbd8cd);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--accent-strong);background:var(--theme-surface,#f3f7ef);padding:0;font-size:1.35rem}.serving-stepper-input input{text-align:center;height:44px;min-height:44px;padding:0 8px;font-size:1.28rem;font-weight:900}.detail-ingredient-section{gap:8px;display:grid}.detail-ingredient-section h3{color:var(--ink);margin:2px 0 0;font-size:.98rem}.detail-ingredient-list,.recent-meal-checklist-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.detail-ingredient-list li,.recent-meal-check-row{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;min-width:0}.detail-ingredient-list li{background:0 0;border-width:0 0 1px;border-radius:0;padding:8px 2px}.detail-ingredient-row{grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;display:grid}.detail-ingredient-row.without-icon{grid-template-columns:minmax(0,1fr) auto;min-height:44px;padding-inline:4px}.detail-ingredient-list .food-icon{width:32px;height:32px}.detail-ingredient-copy{gap:2px;min-width:0;display:grid}.detail-ingredient-calories{color:var(--ink-soft);font-variant-numeric:tabular-nums;white-space:nowrap}.detail-ingredient-list strong,.recent-meal-check-row strong{color:var(--ink);line-height:1.15}.detail-ingredient-list small,.recent-meal-check-row small{color:var(--muted);font-size:.76rem;font-weight:800;line-height:1.2}.detail-ingredient-list span,.recent-meal-check-row span{gap:2px;min-width:0;display:grid}.recipe-log-other-ingredients{border-top:1px solid var(--border)}.recipe-log-other-ingredients>summary{min-height:44px;color:var(--accent-strong);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;font-weight:850;list-style:none;display:flex}.recipe-log-other-ingredients>summary::-webkit-details-marker{display:none}.recipe-log-other-ingredients>summary small{color:var(--muted);font-size:.76rem}.recipe-log-other-ingredients[open]>summary{border-bottom:1px solid var(--border)}.recent-meal-check-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.recent-meal-check-row input{width:22px;height:22px;accent-color:var(--accent)}.recent-meal-check-row em{color:var(--ink);white-space:nowrap;font-size:.82rem;font-style:normal;font-weight:900}.nutrition-shortcut-card{border:1px solid var(--theme-edge,#e1e5dc);background:var(--theme-surface,#fff);border-radius:8px;grid-template-columns:auto minmax(0,1fr) minmax(64px,auto);align-items:center;gap:8px;min-height:54px;padding:9px 10px;display:grid;box-shadow:0 4px 12px #17231f08}.template-shortcut-card{grid-template-columns:auto minmax(0,1fr) auto}.shortcut-icon-wrap{background:var(--theme-surface,#eef4ea);border-radius:8px;align-self:start;place-items:center;width:42px;height:42px;display:grid;box-shadow:inset 0 0 0 1px #2454470f}.shortcut-icon-wrap .food-icon{background:0 0;width:28px;height:28px}.shortcut-icon-wrap .food-icon-emoji{font-size:1.42rem}.nutrition-shortcut-card>div,.shortcut-card-main{gap:4px;min-width:0;display:grid}.shortcut-card-main{width:100%;min-height:0;color:inherit;text-align:left;background:0 0;border:0;justify-items:start;padding:0;text-decoration:none}.shortcut-card-main:disabled{cursor:default;opacity:1}.nutrition-shortcut-card strong{color:var(--text);text-overflow:ellipsis;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.94rem;font-weight:850;line-height:1.15;display:-webkit-box;overflow:hidden}.nutrition-shortcut-card small,.nutrition-shortcut-card em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-weight:750;line-height:1.2;overflow:hidden}.quick-add-card small{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nutrition-shortcut-card .component-summary{white-space:normal;-webkit-line-clamp:2;color:var(--muted);background:0 0;border-radius:0;-webkit-box-orient:vertical;justify-self:stretch;padding:0;font-weight:800;display:-webkit-box;overflow:hidden}.shortcut-source-chips{flex-wrap:wrap;gap:4px;display:flex}.shortcut-source-chips span{color:var(--accent-strong);background:var(--theme-surface,#e8f2ec);border:1px solid var(--theme-edge,#cdded5);border-radius:999px;padding:1px 6px;font-size:.68rem;font-weight:800;line-height:1.3}.nutrition-shortcut-card em{color:var(--accent-strong);background:var(--theme-surface,#e8f2ec);border-radius:999px;justify-self:start;padding:3px 7px;font-style:normal;font-weight:900}.nutrition-shortcut-card.needs-review{border-color:var(--theme-warning,#fde68a);background:var(--theme-selected,#fffbeb)}.nutrition-shortcut-card.needs-review button:disabled{border-color:var(--theme-error,#b45309);background:var(--theme-warning-surface,#fef3c7);color:var(--theme-error,#92400e);opacity:1}.nutrition-shortcut-card button{border-radius:8px;min-width:64px;min-height:38px;padding:0 9px;font-size:.88rem}.nutrition-shortcut-card .shortcut-review-link{min-height:32px;color:var(--theme-error,#92400e);background:var(--theme-warning-surface,#fef3c7);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:0 9px;font-size:.95rem;font-weight:700;text-decoration:none;display:inline-grid}.barcode-review-link{min-height:36px;color:var(--theme-action-ink,#fff);background:var(--accent);border-radius:8px;justify-content:center;justify-self:start;align-items:center;padding:0 10px;font-size:.88rem;font-weight:900;text-decoration:none;display:inline-grid}.nutrition-shortcut-card .shortcut-card-main{min-width:0;padding:0;overflow:hidden}.shortcut-card-actions{justify-content:end;align-items:center;gap:5px;display:flex}.shortcut-card-actions .compact-card-button{min-height:32px;padding:0 8px}.serving-unit-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.inline-sheet-action{width:100%;min-height:38px}.modular-carb-prompt{border:1px solid var(--border);background:var(--theme-selected,#fff9e8);color:var(--accent-strong);border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px;font-weight:900;display:grid}.nutrition-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.macro-input-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-shell{width:min(1360px,100%);min-height:100vh;padding:calc(18px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom));margin:0 auto}.ingredient-bank-admin,.review-cockpit,.next-action-panel,.admin-grid,.ingredient-detail-panel,.ingredient-bank-list-panel,.coverage-panel,.manual-candidate-panel,.capture-evidence-panel,.capture-evidence-form,.capture-evidence-list,.coverage-card,.admin-form,.detail-section,.section-heading,.form-heading,.library-controls{gap:14px;display:grid}.admin-topbar{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;display:grid}.admin-intro{max-width:780px;color:var(--muted);margin:8px 0 0;font-size:.96rem;line-height:1.4}.admin-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.ghost-link-button{border:1px solid var(--border);min-height:44px;color:var(--accent-strong);background:var(--theme-surface,#fff);border-radius:8px;justify-content:center;align-items:center;padding:0 16px;font-size:.94rem;font-weight:900;text-decoration:none;display:inline-flex}.topbar .ghost-link-button{min-height:40px;padding:0 12px}.profile-settings,.profile-settings-grid,.settings-panel{gap:14px;display:grid}.safe-boundary.storage-ready{border-color:var(--theme-edge,#bbdcc9);background:var(--theme-selected,#edf8f1)}.profile-settings-grid{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);align-items:start}.settings-panel{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;align-content:start;min-height:100%;padding:14px}.settings-summary-panel{grid-column:1/-1;min-height:0}.settings-panel-heading{gap:4px;display:grid}.settings-panel-heading h2{color:var(--ink);margin:0;font-size:1.08rem;line-height:1.2}.settings-panel-heading p{color:var(--muted);margin:0;font-size:.9rem;font-weight:750;line-height:1.35}.settings-metric-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.settings-metric-grid>div,.settings-derived-row{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;gap:4px;padding:12px;display:grid}.settings-panel>div{gap:4px;display:grid}.settings-panel>div span,.settings-number-field em{color:var(--muted);font-size:.78rem;font-style:normal;font-weight:900}.settings-panel>div strong{color:var(--accent-strong);font-size:1.02rem}.nutrition-target-fields{grid-row:span 2}.settings-number-field>span:last-child{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.settings-number-field input{min-width:0}.settings-note{color:var(--muted);margin:0;font-size:.92rem;line-height:1.4}.settings-actions{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:10px;display:flex}.settings-actions span{color:var(--muted);font-size:.88rem;font-weight:850}.settings-advanced-panel{min-height:0}.settings-advanced-panel summary{cursor:pointer;gap:4px;list-style-position:inside;display:grid}.settings-advanced-panel summary span{color:var(--ink);font-size:1.08rem;font-weight:950}.settings-advanced-panel summary em{color:var(--muted);font-size:.9rem;font-style:normal;font-weight:750}.settings-advanced-panel[open]{gap:12px}.safe-boundary{border:1px solid var(--theme-edge,#b8d4c7);color:var(--theme-action,#164d3b);background:var(--theme-surface,#eef8f3);border-radius:8px;margin:0;padding:12px 14px;font-size:.94rem;font-weight:800;line-height:1.35}.review-cockpit{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);align-items:stretch}.admin-stat-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.admin-stat{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;align-content:center;gap:6px;min-height:92px;padding:12px;display:grid}.admin-stat span,.coverage-card span,.coverage-card small,.ingredient-table th,.detail-heading p,.evidence-card span,.section-heading>span,.technical-list dt,.admin-stat small{color:var(--muted);font-size:.78rem;font-weight:900;line-height:1.25}.admin-stat strong{color:var(--accent-strong);font-size:1.6rem;line-height:1}.next-action-panel{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;align-content:start;padding:14px}.next-action-panel h2,.section-heading h2,.form-heading h3{margin:0}.next-action-panel ol{gap:8px;margin:0;padding-left:20px;display:grid}.next-action-panel li{color:var(--text);font-size:.9rem;font-weight:750;line-height:1.32}.review-queue-list{gap:8px;display:grid}.review-queue-action{border:1px solid var(--border);width:100%;min-height:92px;color:var(--text);background:var(--theme-surface,#fbfdfc);text-align:left;border-radius:8px;justify-items:start;gap:5px;padding:10px;display:grid}.review-queue-action:hover{border-color:var(--theme-edge,#82b7a2);background:var(--theme-surface,#f2fbf7)}.review-queue-action span,.review-queue-action em{color:var(--muted);font-size:.76rem;font-style:normal;font-weight:900;line-height:1.2}.review-queue-action strong{color:var(--accent-strong);font-size:.96rem;line-height:1.15}.review-queue-action small{color:var(--text);font-size:.82rem;font-weight:750;line-height:1.3}.phone-review-mode{background:var(--theme-raised,#fff8dc);border:1px solid var(--theme-warning,#f3d873);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px;display:flex;box-shadow:0 8px 26px #5c3f0014}.phone-review-mode h2{color:var(--theme-error,#6b3f00);margin:3px 0 6px;font-size:1.32rem;line-height:1.12}.phone-review-mode p{color:var(--theme-muted,#5f563f);margin:0}.phone-review-actions{flex-direction:column;align-items:stretch;gap:8px;min-width:12rem;display:flex}.phone-review-return{background:var(--theme-action,#245f4c);color:var(--theme-ink,#fff);border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:0 14px;font-weight:850;text-decoration:none;display:inline-flex}.phone-review-actions span{color:var(--theme-muted,#6f6652);font-size:.88rem;font-weight:750;line-height:1.3}.phone-review-task{background:var(--theme-selected,#fffbeb);border-color:var(--theme-warning,#f0d36f)}.phone-missing-fields{border:1px solid var(--theme-warning,#e7c95d);background:var(--theme-surface,#fff);border-radius:8px;gap:8px;margin-top:10px;padding:10px;display:grid}.phone-missing-fields h4{color:var(--theme-error,#6b3f00);margin:0;font-size:.98rem;line-height:1.2}.phone-missing-fields p{color:var(--muted);margin:0;font-size:.86rem;font-weight:800;line-height:1.35}.phone-missing-field-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.phone-missing-field-list li{border:1px solid var(--theme-warning,#f1df9b);background:var(--theme-selected,#fffcf0);border-radius:8px;gap:3px;padding:8px;display:grid}.phone-missing-field-list strong{color:var(--accent-strong);font-size:.9rem;line-height:1.15}.phone-missing-field-list span{color:var(--text);font-size:.82rem;font-weight:750;line-height:1.3}.phone-review-task ol{color:var(--text);margin:10px 0;padding-left:22px}.phone-review-task li+li{margin-top:6px}.admin-grid{grid-template-columns:minmax(0,1.7fr) minmax(390px,.9fr);align-items:start}.ingredient-bank-list-panel,.ingredient-detail-panel,.coverage-panel,.manual-candidate-panel{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;min-width:0;padding:12px;box-shadow:0 8px 26px #17231f0f}.section-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.section-heading p,.form-heading p{color:var(--muted);margin:5px 0 0;font-size:.88rem;line-height:1.35}.library-controls{grid-template-columns:minmax(0,1fr) minmax(150px,.28fr);align-items:end}.admin-tab-bar{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.admin-tab-bar button{border:1px solid var(--border);min-height:38px;color:var(--accent);background:var(--theme-surface,#fff);flex:none;padding:0 12px;font-size:.86rem}.admin-tab-bar button.active{border-color:var(--accent);color:var(--theme-action-ink,#fff);background:var(--accent)}.ingredient-table-wrap{border:1px solid var(--border);border-radius:8px;overflow:auto}.ingredient-table{border-collapse:collapse;background:var(--theme-surface,#fff);width:100%;min-width:980px}.ingredient-table th,.ingredient-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;white-space:nowrap;padding:9px 10px}.ingredient-table th{z-index:2;background:var(--theme-surface,#f3f6f1);color:var(--accent-strong);text-transform:uppercase;position:sticky;top:0}.ingredient-table td{color:var(--text);font-size:.86rem}.ingredient-table tr.selected td{background:var(--theme-surface,#edf5f2)}.sticky-name-cell{z-index:1;background:var(--theme-surface,#fff);box-shadow:1px 0 0 var(--border);position:sticky;left:0}.ingredient-table tr.selected .sticky-name-cell{background:var(--theme-surface,#edf5f2)}.table-link-button{max-width:240px;min-height:32px;color:var(--accent-strong);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;grid-template-columns:30px minmax(0,1fr);justify-content:start;align-items:center;gap:8px;padding:0;display:inline-grid;overflow:hidden}.table-link-button span:last-child{text-overflow:ellipsis;overflow:hidden}.status-pill{min-height:24px;color:var(--accent-strong);background:var(--theme-surface,#eef4f1);border-radius:999px;align-items:center;padding:3px 8px;font-size:.78rem;font-weight:900;display:inline-flex}.status-candidate{color:var(--theme-error,#7a5414);background:var(--theme-raised,#fff5d7)}.status-confirmed{color:var(--theme-action,#16513f);background:var(--theme-selected,#e7f6ed)}.status-rejected{color:var(--theme-error,#7f1d1d);background:var(--theme-selected,#feecec)}.detail-heading{border-bottom:1px solid var(--border);grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:12px;padding-bottom:12px;display:grid}.detail-heading-icon{margin-top:2px}.detail-heading h2,.coverage-panel h2,.detail-section h2,.admin-form h3,.detail-section h3{margin:0}.detail-heading h2{overflow-wrap:anywhere;font-size:1.28rem;line-height:1.12}.detail-heading p{margin:5px 0 0}.detail-heading>span{white-space:nowrap}.admin-form,.detail-section{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);border-radius:8px;padding:12px}.form-heading{gap:4px}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.admin-serving-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.admin-form button,.inline-admin-form button{justify-self:start}.manual-candidate-form{box-shadow:none}.candidate-form-note{color:var(--muted);margin:0;font-size:.88rem;font-weight:800;line-height:1.35}.form-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.alias-list{flex-wrap:wrap;gap:6px;display:flex}.alias-list span{border:1px solid var(--border);background:var(--theme-surface,#fff);color:var(--accent-strong);border-radius:999px;padding:4px 8px;font-size:.78rem;font-weight:900}.inline-admin-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.admin-disclosure{min-width:0}.admin-disclosure summary{cursor:pointer;color:var(--accent-strong);font-size:.92rem;font-weight:900}.admin-disclosure[open]{gap:10px}.admin-disclosure[open] summary{margin-bottom:10px}.technical-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.technical-list div{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;min-width:0;padding:8px}.technical-list dd{overflow-wrap:anywhere;color:var(--text);margin:2px 0 0;font-size:.86rem;font-weight:800}.cutover-review-checklist{background:var(--theme-surface,#f7fbf8)}.review-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.review-check-grid article{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;align-content:start;gap:4px;min-height:86px;padding:10px;display:grid}.review-check-grid article.ready{border-color:var(--theme-edge,#a8d2bd)}.review-check-grid article.needs-check{border-color:var(--theme-warning,#e5c878);background:var(--theme-selected,#fffaf0)}.review-check-grid span{color:var(--muted);text-transform:uppercase;font-size:.74rem;font-weight:900;line-height:1.2}.review-check-grid strong{color:var(--accent-strong);font-size:.92rem;line-height:1.15}.review-check-grid small,.review-boundary-note{overflow-wrap:anywhere;color:var(--muted);font-size:.8rem;font-weight:800;line-height:1.3}.review-boundary-note{margin:0}.evidence-card{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;gap:5px;padding:10px;display:grid}.evidence-card strong{overflow-wrap:anywhere}.evidence-card p,.coverage-card p,.coverage-card em,.review-decision-panel p{color:var(--muted);margin:0;font-size:.86rem;line-height:1.35}.coverage-card em{color:var(--theme-error,#8b651c);font-style:normal;font-weight:800}.review-action-row{grid-template-columns:auto auto;justify-content:start;align-items:end;gap:8px;display:grid}.coverage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.coverage-card{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;align-content:start;min-height:210px;padding:12px}.coverage-card strong{color:var(--accent-strong);margin-bottom:4px;line-height:1.15;display:block}.coverage-missing-list{gap:6px;display:grid}.coverage-missing-list p{color:var(--text);font-weight:900}.coverage-missing-list button,.coverage-missing-list span{border:1px solid var(--border);min-height:30px;color:var(--accent-strong);background:var(--theme-surface,#fff);border-radius:999px;justify-self:start;padding:4px 8px;font-size:.78rem;font-weight:900}.coverage-missing-list button{grid-template-columns:24px minmax(0,1fr);align-items:center;gap:6px;display:inline-grid}.coverage-missing-list .food-icon{border-radius:6px;width:24px;min-width:24px;height:24px}.coverage-missing-list .food-icon-emoji{font-size:.9rem}.candidate-evidence-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.health-diagnostics{gap:14px;display:grid}.health-status-panel{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px;padding:14px;display:grid;box-shadow:0 8px 26px #17231f0f}.health-status-panel span,.health-diagnostic-row span{color:var(--muted);font-size:.78rem;font-weight:900;line-height:1.25;display:block}.health-status-panel strong{color:var(--accent-strong);margin-top:3px;font-size:1.4rem;line-height:1.1;display:block}.health-date-form{grid-template-columns:minmax(150px,210px) auto;align-items:end;gap:8px;display:grid}.health-diagnostics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.pairing-panel{border:1px solid var(--theme-edge,#b8d4c7);background:var(--theme-surface,#eef8f3);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px;display:grid}.pairing-panel h2{color:var(--accent-strong);margin:0;font-size:1rem}.pairing-panel p{color:var(--theme-action,#31594b);margin:5px 0 0;font-size:.9rem;line-height:1.35}.pairing-panel .form-error{grid-column:1/-1;margin:0}.pairing-code-display{border:1px solid var(--theme-edge,#9bc3b2);background:var(--theme-surface,#fff);border-radius:8px;grid-column:1/-1;justify-items:start;gap:4px;padding:12px;display:grid}.pairing-code-display span,.pairing-code-display small{color:var(--muted);font-size:.78rem;font-weight:900}.pairing-code-display strong{color:var(--accent-strong);font-family:var(--font-geist-mono);letter-spacing:0;font-size:2rem;line-height:1}.health-diagnostic-row{border:1px solid var(--border);background:var(--theme-surface,#fff);border-radius:8px;min-width:0;padding:12px}.health-diagnostic-row strong{overflow-wrap:anywhere;color:var(--text);margin-top:5px;font-size:.94rem;line-height:1.25;display:block}.health-warning-panel{border:1px solid var(--theme-warning,#e7c46b);background:var(--theme-selected,#fff9e8);border-radius:8px;gap:10px;padding:14px;display:grid}.health-warning-panel h2{margin:0;font-size:1rem}.health-warning-panel ul{gap:6px;margin:0;padding-left:20px;display:grid}.health-warning-panel li{color:var(--theme-error,#6c4f11);overflow-wrap:anywhere;font-size:.9rem;font-weight:800}.loading-mark{border:4px solid var(--border);border-top-color:var(--accent);border-radius:999px;width:34px;height:34px;animation:.8s linear infinite spin}.muted{color:var(--muted)}.ingredient-row.has-food-icon{grid-template-columns:34px minmax(0,1fr) auto}.food-icon{border:1px solid var(--border);background:var(--theme-surface,#fbfcfa);width:30px;min-width:30px;height:30px;color:var(--text);border-radius:8px;place-items:center;line-height:1;display:inline-grid}.food-icon svg{width:20px;height:20px}.food-icon-emoji{font-size:1.08rem;line-height:1}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:900px){.admin-topbar,.profile-settings-grid,.review-cockpit,.admin-grid,.library-controls,.section-heading,.coverage-grid{grid-template-columns:1fr}.settings-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-actions,.settings-actions{justify-content:flex-start}.phone-review-mode{flex-direction:column}.phone-review-actions{width:100%;min-width:0}}@media (max-width:420px){.shell{padding-left:10px;padding-right:10px}.shell.recipes-shell{padding-left:0;padding-right:0}h1{font-size:1.55rem}.settings-metric-grid{grid-template-columns:1fr}.topbar{align-items:end;gap:8px;margin-bottom:8px}.topbar-actions{justify-content:flex-end;gap:6px}.topbar-actions .ghost-button,.topbar-actions .ghost-link-button{min-height:36px;padding:0 10px;font-size:.88rem}.topbar h1{font-size:1.42rem}.bottom-nav{gap:4px;padding-left:8px;padding-right:8px}.bottom-nav button{min-height:46px;font-size:.76rem}.ghost-button{padding:0 12px}.edit-actions button{min-height:44px}.ingredient-editor-sheet{width:100%;height:calc(100dvh - env(safe-area-inset-top));max-height:none;padding:18px 16px calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}.ingredient-editor-sheet header{align-items:center}.ingredient-editor-sheet h2{font-size:1.45rem}.ingredient-editor-field{gap:10px;font-size:.92rem}.ingredient-editor-field textarea{border-radius:10px;height:auto;min-height:max(360px,54dvh);padding:14px;font-size:1.28rem;line-height:1.44}.ingredient-editor-sheet .edit-actions{bottom:calc(-1 * (16px + env(safe-area-inset-bottom)));margin:0 -16px calc(-1 * (16px + env(safe-area-inset-bottom)));padding:12px 16px calc(16px + env(safe-area-inset-bottom))}.nutrition-entry-sheet{width:100%;height:calc(100dvh - env(safe-area-inset-top));border-radius:16px 16px 0 0;max-height:none}.nutrition-entry-sheet form{padding:14px 14px calc(14px + env(safe-area-inset-bottom))}.nutrition-entry-sheet .edit-actions{bottom:calc(-1 * (14px + env(safe-area-inset-bottom)));margin:0 -14px calc(-1 * (14px + env(safe-area-inset-bottom)));padding:10px 14px calc(14px + env(safe-area-inset-bottom))}.nutrition-log-header,.admin-topbar,.cutover-hero,.cutover-source-strip,.today-hero-grid,.today-macro-strip,.today-source-strip,.today-grid,.profile-settings-grid,.health-status-panel,.health-date-form,.pairing-panel,.health-diagnostics-grid,.review-cockpit,.admin-grid,.admin-stat-row,.library-controls,.section-heading,.admin-form-grid,.admin-serving-grid,.technical-list,.review-action-row,.coverage-grid,.candidate-evidence-grid,.recipe-hero-actions,.recipe-log-grid,.nutrition-form,.nutrition-entry-grid,.today-energy-metrics,.recipe-details-grid,.simple-ingredient-fields,.advanced-ingredient-fields,.ingredient-toggle-grid{grid-template-columns:1fr}.nutrition-log-header{justify-content:stretch;margin-left:-10px;margin-right:-10px;padding-left:14px;padding-right:14px}.date-controls{grid-template-columns:40px minmax(0,1fr) 40px;gap:2px;max-width:330px}.date-nav-button,.date-jump-control{min-height:42px}.date-controls time{font-size:1.28rem}.nutrition-summary{padding:0}.nutrition-command-card{gap:10px;padding:14px 14px 12px}.nutrition-summary-topline{grid-template-columns:minmax(0,1.2fr) minmax(108px,.8fr);align-items:end;gap:10px}.nutrition-budget-answer{min-height:0}.nutrition-hero-line{gap:4px}.nutrition-hero-line span{font-size:.88rem}.nutrition-hero-line em,.nutrition-hero-line small{font-size:.78rem}.macro-progress{gap:5px;padding:8px}.macro-progress em{font-size:.76rem}.activity-preview-row{grid-template-columns:auto minmax(0,1fr) auto;min-height:44px;padding:8px 10px}.activity-preview-row>span:last-child{grid-column:auto}.today-hero{padding:15px}.today-hero-main strong{font-size:clamp(2.8rem,18vw,4.4rem)}.today-action-panel article{grid-template-columns:1fr}.today-action-panel a{justify-self:start}.cutover-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cutover-item-top,.cutover-action-row{justify-content:stretch;display:grid}.cutover-action-row a{justify-self:start}.review-basket-header,.review-actions,.draft-edit-flags{grid-template-columns:1fr}.review-counts{justify-items:start}.recipe-card{grid-template-columns:1fr}.nutrition-summary-topline{gap:10px}.macro-input-grid{grid-template-columns:1fr}.calorie-ring{width:min(158px,48vw)}.nutrition-shortcut-card{grid-template-columns:auto minmax(0,1fr) minmax(62px,auto)}.template-shortcut-card{grid-template-columns:auto minmax(0,1fr)}.template-shortcut-card .shortcut-card-actions{justify-content:end}.serving-unit-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.serving-control-panel,.nutrition-facts-grid{grid-template-columns:1fr}.modular-carb-prompt{grid-template-columns:1fr;justify-items:stretch}.recipe-card strong{grid-area:auto/1}.shell.progress-shell{padding-left:0;padding-right:0}.progress-header,.progress-setup-header,.progress-content,.setup-content{padding-left:16px;padding-right:16px}.plan-setup-callout{grid-template-columns:auto minmax(0,1fr)}.plan-setup-callout button{grid-column:1/-1;width:100%}.setup-step-panel label:not(.plan-date-field){grid-template-columns:minmax(0,1fr) 100px auto}.setup-macro-inputs label{grid-template-columns:minmax(0,1fr) 62px auto}.today-calorie-answer p strong{font-size:2.8rem}}@media (max-height:560px){.setup-sheet{gap:7px;max-height:100dvh;padding-top:8px;padding-bottom:8px}.setup-sheet>p,.setup-sheet .setup-live-answer,.setup-sheet-limit,.setup-sheet-sync{display:none}.setup-sheet h2{font-size:1.4rem}}.shell.log-shell{background:var(--cream)}.nutrition-log-view{gap:12px}.done-logging-control{border:1px solid var(--warm-border);background:var(--theme-raised,#ffffff94);border-radius:14px;justify-content:space-between;align-items:center;min-height:64px;padding:10px 14px;display:flex;position:relative}.done-logging-control>div{align-items:center;gap:10px;display:flex}.done-logging-control strong{color:var(--accent-strong);font-family:var(--display-serif);font-size:1rem}.done-logging-check{width:34px;height:34px;color:var(--theme-ink,#fff);background:var(--theme-surface,#e4e8df);border-radius:50%;place-items:center;display:grid}.done-logging-control.is-checked .done-logging-check{background:var(--accent)}.done-logging-control [role=switch]{border:1px solid var(--border-strong);background:var(--theme-surface,#e4e8df);border-radius:999px;width:52px;min-width:52px;height:32px;min-height:32px;padding:3px;position:relative}.done-logging-control [role=switch] span{background:var(--theme-surface,#fff);border-radius:50%;width:24px;height:24px;transition:transform .14s;display:block;box-shadow:0 1px 3px #19302a38}.done-logging-control [role=switch].is-checked{border-color:var(--accent);background:var(--accent)}.done-logging-control [role=switch].is-checked span{transform:translate(20px)}.done-logging-control [role=switch]:active:not(:disabled) span{transform:scale(.9)}.done-logging-control [role=switch].is-checked:active:not(:disabled) span{transform:translate(20px)scale(.9)}.done-logging-control.is-pending{opacity:.78}.done-logging-control.has-error{padding-bottom:34px}.done-logging-error{color:var(--danger);margin:0;font-size:.82rem;position:absolute;bottom:8px;left:14px}.done-logging-error button{color:inherit;font:inherit;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.nutrition-log-header{margin:calc(-1 * env(safe-area-inset-top)) -12px 0;padding:calc(16px + env(safe-area-inset-top)) 18px 17px;background:var(--accent-strong);box-shadow:none}.date-controls{max-width:390px}.date-nav-button{place-items:center;display:grid}.date-controls time{letter-spacing:0;font-variant-numeric:tabular-nums;font-family:Arial,Helvetica,sans-serif;font-size:24px;font-weight:700;line-height:28px}.nutrition-summary{background:var(--cream);margin:0 -12px;padding:0 16px 10px}.nutrition-command-card{box-shadow:none;background:0 0;border:0;gap:20px;padding:12px 0 4px;display:grid}.nutrition-hero-grid{grid-template-columns:minmax(62px,1fr) minmax(150px,176px) minmax(62px,1fr);align-items:center;gap:6px;display:grid}.nutrition-hero-stat{color:var(--accent);text-align:center;justify-items:center;gap:6px;display:grid}.nutrition-hero-stat span{font-size:14px;font-weight:700;line-height:20px}.nutrition-hero-stat strong{font-variant-numeric:tabular-nums;font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:700;line-height:28px}.nutrition-activity-stat{color:var(--activity-accent)}.nutrition-budget-ring{--nutrition-ring-progress:0%;--nutrition-ring-target-share:100%;--nutrition-ring-progress-end:0%;--nutrition-ring-target-end:75%;aspect-ratio:1;background:conic-gradient(from 225deg, var(--accent) 0 var(--nutrition-ring-progress-end), var(--theme-surface,#e9e9e1) var(--nutrition-ring-progress-end) 75%, transparent 75% 100%);border-radius:999px;justify-self:center;place-items:center;width:min(44vw,176px);display:grid}.nutrition-budget-ring:before{aspect-ratio:1;border-radius:inherit;background:var(--cream);content:"";grid-area:1/1;width:calc(100% - 14px)}.nutrition-budget-ring.over{background:conic-gradient(from 225deg, var(--accent) 0 var(--nutrition-ring-target-end), var(--theme-error-surface,#b9615d) var(--nutrition-ring-target-end) 75%, transparent 75% 100%)}.nutrition-budget-ring>div{z-index:1;color:var(--accent);text-align:center;grid-area:1/1;justify-items:center;gap:0;display:grid}.nutrition-budget-ring.over>div{color:var(--theme-error,#9f4d49)}.nutrition-budget-ring strong{letter-spacing:-.045em;font-variant-numeric:tabular-nums;font-family:Arial,Helvetica,sans-serif;font-size:clamp(2.35rem,12vw,3.45rem);font-weight:700;line-height:.95}.nutrition-budget-ring span{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px}.nutrition-budget-ring .nutrition-ring-projection{color:var(--activity-accent-strong);font-variant-numeric:tabular-nums;margin-top:5px;font-size:.83rem;font-weight:650;line-height:1}.macro-bar-stack{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.macro-progress{text-align:center;background:0 0;border:0;grid-template-columns:1fr;gap:8px;min-width:0;padding:0;display:grid}.macro-progress .macro-progress-label{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;line-height:20px}.macro-progress strong{color:var(--accent-strong);font-family:var(--display-serif);font-size:1.15rem;font-weight:600;line-height:1.1}.macro-progress-track{background:var(--theme-surface,#eceae2);border-radius:999px;width:100%;height:7px;display:flex;overflow:hidden}.macro-progress-track span{border-radius:0;height:100%;display:block}.macro-progress-track span:first-child{border-radius:999px 0 0 999px}.macro-progress-track span:last-child{border-radius:0 999px 999px 0}.macro-progress-track span:only-child{border-radius:inherit}.macro-progress .macro-progress-base{background:var(--accent)}.macro-progress .macro-progress-overflow{background:var(--theme-error-surface,#b9615d)}.macro-progress em{color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px;font-style:normal;font-weight:400;line-height:20px}.macro-warning{color:var(--muted);text-align:center;margin:-8px 0 0;font-size:.78rem}.meal-stack{gap:12px;padding-bottom:0}.meal-section{border-color:var(--warm-border);background:var(--theme-surface,#fffefb);border-radius:10px;overflow:visible;box-shadow:0 5px 16px #17231f09}.meal-section header{background:0 0;border-bottom:0;min-height:72px;padding:10px 12px}.meal-section-populated header{min-height:74px}.meal-icon-wrap{background:var(--theme-surface,#f0f2ea);width:46px;height:46px}.meal-section h2{color:var(--accent-strong);font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:700;line-height:24px}.meal-section header .meal-title-block .meal-calorie-total{font-variant-numeric:tabular-nums;font-size:14px;font-weight:400;line-height:20px}.meal-section header .meal-title-block>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px;font-weight:400;line-height:20px}.meal-section .meal-add-button{border:1px solid var(--accent);min-width:92px;min-height:42px;color:var(--accent-strong);background:var(--theme-surface,#eef3e9);box-shadow:none;padding:0 13px;font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:600;line-height:22px}.meal-menu-button{min-width:40px;color:var(--accent);place-items:center;display:grid}.nutrition-entry-list{padding:0 12px}.nutrition-entry-list li{border-bottom-color:var(--warm-border)}.nutrition-entry-row{background:0 0;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;min-height:66px;padding:9px 0}.entry-icon-wrap{background:var(--theme-surface,#f2f2eb);border-radius:999px;place-items:center;width:44px;height:44px;display:grid}.entry-icon-wrap .food-icon{background:0 0;width:34px;height:34px}.entry-icon-wrap .food-icon-emoji{font-size:1.85rem}.nutrition-entry-row .entry-identity{gap:3px}.nutrition-entry-row strong{color:var(--accent-strong);font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px}.nutrition-entry-row small{color:var(--muted);font-size:14px;font-weight:400;line-height:20px}.entry-kcal{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px}.meal-footer{border-top:1px solid var(--warm-border);justify-content:flex-end;margin:0 12px;padding:11px 0 12px;display:flex}.log-activity-section{gap:10px;padding:2px 0 12px;display:grid}.log-activity-heading{justify-content:space-between;align-items:baseline;gap:12px;margin:0 4px;display:flex}.log-activity-heading h2{color:var(--accent-strong);margin:0;font-size:1.32rem}.log-activity-heading span{color:var(--muted);font-size:.78rem;font-weight:600}.today-energy-card{border-color:var(--warm-border);background:var(--theme-surface,#fffefb);border-radius:10px;gap:0;padding:16px;box-shadow:0 5px 16px #17231f09}.activity-card-answer{grid-template-columns:auto auto 1fr;align-items:center;gap:14px;display:grid}.activity-card-icon,.activity-session-icon{width:48px;height:48px;color:var(--activity-accent);background:var(--activity-accent-soft);border-radius:999px;place-items:center;display:grid}.activity-card-answer>div{gap:1px;display:grid}.activity-card-calories{color:var(--activity-accent-strong);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:20px}.activity-card-calories strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:700;line-height:28px}.activity-card-answer small,.activity-session-row small{color:var(--muted);font-size:.8rem;font-weight:500}.activity-info-button{min-width:36px;min-height:36px;color:var(--theme-muted,#b9b6a9);background:0 0;justify-self:start;padding:0}.activity-card-explanation{color:var(--muted);margin:12px 0 0 62px;font-size:.8rem;line-height:1.35}.activity-threshold{color:var(--muted);justify-content:space-between;align-items:baseline;gap:12px;margin-top:12px;font-size:.8rem;display:flex}.activity-threshold strong{color:var(--activity-accent-strong);font-variant-numeric:tabular-nums;font-size:1rem}.activity-forecast-control{border-top:1px solid var(--warm-border);color:var(--accent-strong);gap:5px;margin-top:14px;padding-top:12px;font-size:.88rem;display:grid}.activity-forecast-control button{min-height:38px;color:var(--accent-strong);text-align:left;background:0 0;padding:5px 0}.activity-forecast-label,.activity-forecast-control small{color:var(--muted);font-size:.76rem}.activity-forecast-choices{gap:3px;padding:5px 0;display:grid}.activity-forecast-choices button{border:1px solid var(--warm-border);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px;display:flex}.activity-forecast-remove,.activity-forecast-error{color:var(--theme-error,#9a473d)!important}.weekly-projection{border-top:1px solid var(--warm-border);text-align:left;max-width:390px;margin:10px auto 0;padding-top:10px}.weekly-projection>summary{cursor:pointer;text-align:center;justify-items:center;display:grid}.weekly-projection>summary strong{color:var(--theme-action,#075044);font-family:var(--display-serif);font-size:1.42rem;font-weight:500}.weekly-projection>summary span{color:var(--theme-muted,#4e5855);font-size:.78rem}.weekly-projection-details{background:var(--theme-surface,#f6f7f2);border-radius:8px;gap:7px;margin-top:12px;padding:12px;display:grid}.weekly-projection-details p,.weekly-projection-details details>summary{justify-content:space-between;gap:12px;margin:0;font-size:.78rem;display:flex}.weekly-projection-details strong{text-align:right}.weekly-projection-details details{border-top:1px solid var(--warm-border);gap:5px;padding:7px 0;display:grid}.weekly-projection-details details>summary{align-items:start;line-height:1.3}.weekly-projection-details details>summary span{min-width:0}.activity-session-row{border-top:1px solid var(--warm-border);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:grid}.activity-session-row>span:nth-child(2){gap:2px;display:grid}.activity-session-row strong{color:var(--accent-strong);font-size:.98rem}.activity-session-icon{color:var(--accent);background:var(--theme-surface,#eef1e8)}@media (max-width:420px){.nutrition-log-header{margin-left:-10px;margin-right:-10px;padding-left:16px;padding-right:16px}.nutrition-summary{margin-left:-10px;margin-right:-10px}.nutrition-command-card{gap:18px;padding:10px 0 2px}.nutrition-hero-grid{grid-template-columns:minmax(58px,1fr) minmax(142px,158px) minmax(58px,1fr);gap:4px}.nutrition-budget-ring{width:min(43vw,158px)}.macro-bar-stack{gap:16px}.macro-progress{gap:7px}.meal-section header{gap:10px;padding-left:10px;padding-right:10px}.meal-section .meal-add-button{min-width:88px;padding:0 11px}.meal-icon-wrap{width:44px;height:44px}.nutrition-entry-sheet.nutrition-add-food-sheet{border-radius:0;height:100dvh;max-height:100dvh}.nutrition-entry-sheet.nutrition-add-food-sheet form{padding:0 16px calc(92px + env(safe-area-inset-bottom))}.nutrition-entry-sheet.nutrition-add-food-sheet form>header.nutrition-add-food-header,.nutrition-entry-sheet.nutrition-add-food-sheet .nutrition-add-tabs{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}}@media (max-width:420px) and (max-height:600px){.serving-picker-editor,.serving-entry-form>.serving-editor{gap:9px}.serving-picker-editor{min-height:calc(100dvh - 112px - env(safe-area-inset-top));padding-top:8px}.serving-picker-editor .serving-editor-title strong,.serving-entry-form .serving-editor-title strong{font-size:1.25rem}.serving-picker-editor h3,.serving-entry-form h3{font-size:1.35rem}.serving-picker-editor .nutrition-ledger,.serving-entry-form .nutrition-ledger{gap:14px;padding:12px 14px}.serving-picker-editor .nutrition-ledger-calories strong,.serving-entry-form .nutrition-ledger-calories strong{font-size:2.7rem}.serving-picker-editor .serving-editor-dock,.serving-entry-form .serving-editor-dock{gap:7px;padding-top:8px}.serving-picker-editor .serving-editor-dock input,.serving-picker-editor .serving-editor-dock select,.serving-picker-editor .serving-editor-dock button,.serving-entry-form .serving-editor-dock input,.serving-entry-form .serving-editor-dock select,.serving-entry-form .serving-editor-dock button{min-height:44px}}.primary-header{width:100%;min-height:calc(var(--consumer-header-compact-height) + env(safe-area-inset-top));padding:calc(14px + env(safe-area-inset-top)) 18px 12px;color:var(--theme-inverse,#fff);background:var(--consumer-header-forest);box-shadow:none;justify-content:space-between;align-items:center;gap:16px;display:flex}.primary-header--tall{min-height:calc(var(--consumer-header-tall-height) + env(safe-area-inset-top))}.primary-header-title{color:var(--theme-inverse,#fff);font-family:var(--display-serif);letter-spacing:-.025em;margin:0;font-size:clamp(1.85rem,8vw,2.15rem);font-weight:500;line-height:1}.shell-primary-header{width:calc(100% + 24px);margin:calc(-1 * (12px + env(safe-area-inset-top))) -12px 12px}.nutrition-log-header{width:calc(100% + 24px);min-height:calc(var(--consumer-header-compact-height) + env(safe-area-inset-top));margin:calc(-1 * env(safe-area-inset-top)) -12px 0;padding:calc(10px + env(safe-area-inset-top)) 18px 8px;background:var(--consumer-header-forest)}.recipes-library-header{min-height:calc(var(--consumer-header-compact-height) + env(safe-area-inset-top));padding:calc(14px + env(safe-area-inset-top)) 18px 12px}.recipes-library-header .primary-header-title{margin-left:0;font-size:clamp(1.85rem,8vw,2.15rem)}.progress-header{min-height:calc(var(--consumer-header-tall-height) + env(safe-area-inset-top));padding:calc(13px + env(safe-area-inset-top)) 18px 12px;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);place-content:center stretch;display:grid}.progress-segmented{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-top:11px}.recent-meal-checklist{padding:18px 0 calc(104px + env(safe-area-inset-bottom));display:block}.recent-meal-selector-heading{padding:0 2px 12px}.recent-meal-selector-heading strong{font-size:1.36rem}.recent-meal-selector-card{background:0 0;border:0;border-radius:0;padding:0}.recent-meal-checklist .recent-meal-check-row{min-height:68px;padding:10px 2px}.recent-meal-checklist .recent-meal-check-row input{flex:none;width:24px;height:24px}.recent-meal-checklist .recent-meal-check-row strong{overflow-wrap:anywhere;font-family:Arial,Helvetica Neue,sans-serif;font-size:.98rem;font-weight:750;line-height:1.22}.recent-meal-selector-actions{z-index:24;width:min(var(--consumer-frame-width), 100%);min-height:calc(74px + env(safe-area-inset-bottom));padding:10px 18px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--warm-border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffdf7fa;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 22px #17231f1a}.edit-sheet .recent-meal-selector-actions{grid-template-columns:minmax(0,1fr) auto}.recent-meal-selector-actions p{min-width:0;color:var(--muted);flex-wrap:wrap;margin:0;font-size:.88rem;line-height:1.2;display:flex}.recent-meal-selector-actions p strong{color:var(--accent-strong)}.recent-meal-selector-actions button{white-space:nowrap;border-radius:9px;width:auto;min-width:116px;min-height:48px;padding:0 16px;font-family:Arial,Helvetica Neue,sans-serif;font-size:.95rem;font-weight:750}@media (max-width:420px){.shell-primary-header{width:calc(100% + 20px);margin-left:-10px;margin-right:-10px}.nutrition-log-header{width:calc(100% + 20px);margin-left:-10px;margin-right:-10px;padding-left:16px;padding-right:16px}.recipes-library-header,.progress-header,.recent-meal-selector-actions{padding-left:16px;padding-right:16px}}.activity-refresh-button{width:44px;height:44px;color:var(--accent-strong);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;padding:0;display:inline-flex}.activity-refresh-button:disabled{opacity:.6}.activity-refresh-button:hover:not(:disabled){background:var(--accent-soft)}.activity-refresh-button:focus-visible,.connected-health-back:focus-visible{outline:2px solid var(--accent-strong);outline-offset:2px}.log-activity-heading:has(.activity-refresh-button){align-items:center}.activity-card-sync{min-height:1.25em;color:var(--muted);margin:12px 0 0;font-size:.75rem;line-height:1.25}.connected-health-view{padding:12px 4px 24px}.connected-health-back{min-height:44px;color:var(--accent-strong);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:inline-flex}.connected-health-view h2{margin:12px 0 28px;font-size:1.5rem}.connected-health-provider{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.connected-health-provider h3{margin:0;font-size:1.2rem}.connected-health-provider>span{color:var(--muted);font-size:.85rem}.connected-health-intro,.connected-health-footnote,.connected-health-repair{color:var(--muted);font-size:.88rem;line-height:1.5}.connected-health-intro{margin:8px 0 24px}.connected-health-checks{margin:0 0 24px}.connected-health-checks>div{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding:16px 0;display:flex}.connected-health-checks dt{font-weight:600}.connected-health-checks dd{color:var(--muted);margin:0;font-size:.85rem}.connected-health-sync{justify-content:center;align-items:center;gap:10px;width:100%;min-height:48px;display:flex}.connected-health-result{color:var(--muted);margin:12px 0 0;font-size:.8rem;line-height:1.5}.connected-health-result:empty{display:none}.connected-health-footnote{margin-top:20px}.connected-health-repair summary{cursor:pointer;min-height:44px;color:var(--accent-strong);align-items:center;display:flex}.activity-refresh-spinning{animation:1s linear infinite garmin-spin}@keyframes garmin-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.activity-refresh-spinning{animation:none}}.recipe-library-view.m4-foundation{min-height:calc(100dvh - 67px - env(safe-area-inset-bottom));color:var(--text);background:var(--consumer-header-forest);flex-direction:column;display:flex}.recipe-library-view.m4-foundation .recipes-library-header{min-height:calc(81px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 0 0 24px;gap:8px}.recipe-library-view.m4-foundation .primary-header-title{letter-spacing:0;font:700 24px/28px Arial,Helvetica,sans-serif}.recipe-library-actions{align-items:center;padding-right:24px;display:flex}.recipe-library-actions:has(.removed-recipes-link){padding-right:0}.recipe-library-view.m4-foundation .recipe-library-content{background:var(--background);border-radius:24px 24px 0 0;flex:1;padding:21px 24px 28px}.recipe-library-view.m4-foundation .recipe-library-state{color:var(--muted)}.recipe-library-view.m4-foundation .recipe-library-state h2{color:var(--text);font:700 18px/24px Arial,Helvetica,sans-serif}.recipe-library-view.m4-foundation .recipes-library-header button:focus-visible{outline-color:var(--text-on-forest)}.recipe-detail-reader{color:var(--text);background:var(--consumer-header-forest);font-family:Arial,Helvetica Neue,sans-serif}.recipe-detail-reader .recipe-cooking-header{min-height:calc(75px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;background:var(--consumer-header-forest)}.recipe-detail-reader .recipe-cooking-header>span{letter-spacing:normal;text-transform:none;font-size:1.5rem;font-weight:700}.recipe-detail-reader .recipe-cooking-header button:first-child{text-align:left;justify-self:start}.recipe-detail-reader .recipe-cooking-header button:first-child span{font-size:1.75rem;font-weight:400}.recipe-detail-reader .recipe-cooking-content{min-height:calc(100dvh - 153px - env(safe-area-inset-top) - env(safe-area-inset-bottom));background:var(--theme-surface,#fbfaf5);border-radius:24px 24px 0 0;align-content:start;padding:28px 24px 24px}.recipe-detail-reader .recipe-cooking-content>h1{overflow-wrap:anywhere;color:var(--text);white-space:normal;font:700 1.5rem/1.2 Arial,Helvetica Neue,sans-serif;overflow:visible}.recipe-detail-reader .recipe-cooking-yield{padding:5px 0 24px}.recipe-detail-reader .recipe-cooking-yield span{font-weight:400}.recipe-detail-nutrition{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 22px;padding:17px 0 15px;display:grid}.recipe-detail-nutrition>div{grid-template-areas:"value""label";align-content:start;gap:7px;display:grid}.recipe-detail-nutrition>div+div{border-left:1px solid var(--border)}.recipe-detail-nutrition dt{color:var(--muted);grid-area:label;font-size:.75rem}.recipe-detail-nutrition dd{overflow-wrap:anywhere;grid-area:value;margin:0;font-size:1.125rem;font-weight:700}.recipe-detail-actions{grid-template-columns:minmax(0,1.77fr) minmax(0,1fr);gap:10px;margin-bottom:20px;display:grid}.recipe-detail-actions button:only-child{grid-column:1/-1}.recipe-detail-actions button{border:1px solid var(--border);min-height:46px;color:var(--chrome-link,var(--consumer-header-forest));background:var(--surface);border-radius:12px;font-size:.94rem;font-weight:700}.recipe-detail-actions .recipe-cooking-grocery-action{border-color:var(--consumer-header-forest);color:var(--text-on-forest);background:var(--consumer-header-forest)}.recipe-detail-switch{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.recipe-detail-switch button{border:0;border-bottom:1px solid var(--border);min-height:49px;color:var(--muted);background:0 0;border-radius:0;font-size:.94rem;font-weight:500}.recipe-detail-switch button[aria-pressed=true]{border-bottom:2px solid var(--consumer-header-forest);color:var(--chrome-link,var(--consumer-header-forest));font-weight:700}.recipe-detail-reader .recipe-cooking-ingredients{background:0 0;border:0;border-radius:0}.recipe-detail-reader .recipe-cooking-ingredients .recipe-cooking-ingredient-row{border-bottom:1px solid var(--border);background:0 0;min-height:55px;padding:8px 2px}.recipe-detail-reader .recipe-cooking-ingredient-copy strong{overflow-wrap:anywhere;font-size:1rem;font-weight:500}.recipe-detail-reader .recipe-cooking-ingredient-quantity{font-weight:400}.recipe-detail-reader .recipe-cooking-ingredient-group{background:0 0;padding:12px 2px 4px;font-family:inherit}.recipe-detail-reader .recipe-cooking-empty{padding:16px 0}.recipe-detail-reader .recipe-cooking-directions{padding-top:16px}.recipe-graph-editor-approved{background:var(--consumer-header-forest)}.recipe-graph-editor-approved .recipe-editor-header{background:var(--consumer-header-forest);min-height:75px;padding:0 8px}.recipe-graph-editor-approved .recipe-editor-header button{font-size:1.75rem}.recipe-graph-editor-approved .recipe-editor-header h1{font:inherit;font-size:1.5rem;font-weight:700}.recipe-graph-editor-approved .recipe-graph-content{width:min(100%, var(--consumer-frame-width));background:var(--background);border-radius:24px 24px 0 0;margin-inline:auto;padding-block:0 8px}.recipe-graph-editor-approved :is(.recipe-editor-identity,.recipe-editor-section,.recipe-graph-ingredients){border:0;margin:0 0 20px;padding:0 24px}.recipe-graph-editor-approved .recipe-editor-identity{gap:22px;padding-top:22px}.recipe-graph-editor-approved .recipe-editor-section{margin-bottom:8px}.recipe-graph-editor-approved .recipe-editor-yield{grid-template-columns:minmax(0,1fr)}.recipe-graph-editor-approved .recipe-editor-yield-control{width:100%}.recipe-graph-editor-approved .recipe-editor-identity,.recipe-graph-editor-approved .recipe-editor-writing-field{font-size:.875rem}.recipe-graph-editor-approved :is(.recipe-editor-name>span,.recipe-editor-yield>span:first-child,.recipe-editor-writing-field>span,.recipe-graph-section-heading h2,.recipe-graph-search label){font:inherit;color:var(--text);font-weight:650}.recipe-graph-editor-approved .recipe-graph-section-heading h2{font-size:1.125rem}.recipe-graph-editor-approved :is(.recipe-editor-name input,.recipe-editor-yield-control,.recipe-editor-writing-field textarea){border:1px solid var(--border);background:var(--surface);min-height:46px;color:var(--text);font:inherit;border-radius:11px}.recipe-graph-editor-approved :is(.recipe-editor-name input,.recipe-editor-yield-control input,.recipe-editor-writing-field textarea){font-size:1rem}.recipe-graph-editor-approved .recipe-editor-yield-control input{width:3ch;min-width:3ch;padding:0;font-weight:400}.recipe-graph-editor-approved .recipe-editor-yield-control em{font-style:normal}.recipe-graph-editor-approved .recipe-editor-writing-field textarea{min-height:72px}.recipe-graph-editor-approved .recipe-graph-ingredients{gap:8px}.recipe-graph-editor-approved .recipe-graph-section-heading button{color:var(--muted);background:0 0;min-height:44px;padding:0;font-size:.875rem}.recipe-graph-editor-approved .recipe-graph-section-heading button[aria-pressed=true]{color:var(--accent);text-decoration:underline}.recipe-graph-editor-approved .recipe-graph-row{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:0}.recipe-graph-editor-approved .recipe-graph-row>:not(.recipe-graph-row-summary){margin-inline:12px}.recipe-graph-editor-approved .recipe-graph-row>:last-child:not(.recipe-graph-row-summary){margin-bottom:12px}.recipe-graph-row-summary{width:100%;min-height:54px;color:var(--text);text-align:left;overflow-wrap:anywhere;background:0 0;grid-template-columns:minmax(0,1fr) auto 12px;align-items:center;gap:10px;padding:10px 12px;display:grid}.recipe-graph-row-summary strong{font-weight:500}.recipe-graph-row-summary :is(span,small){color:var(--muted);font-size:.875rem;font-weight:400}.recipe-graph-row-summary small{display:block}.recipe-graph-add{border:1px solid var(--border);min-height:46px;color:var(--chrome-link,var(--consumer-header-forest));background:var(--surface);border-radius:11px;margin-top:8px;font-weight:650}.recipe-graph-source{color:var(--muted);font-size:.875rem}.recipe-graph-source summary{cursor:pointer;padding-block:10px}.recipe-graph-source p{white-space:pre-wrap;overflow-wrap:anywhere}.recipe-graph-maintenance,.recipe-graph-original-source{margin:0 24px}.recipe-graph-editor-approved .recipe-graph-order button{min-width:44px;min-height:44px}.recipe-edit-nutrition{background:var(--surface-muted);color:var(--text);border-radius:11px;gap:5px;margin:0 24px;padding:10px 13px;font-size:.875rem;display:grid}.recipe-editor-content .recipe-edit-nutrition{margin-block:12px}.recipe-edit-nutrition div{justify-content:space-between;gap:8px;display:flex}.recipe-edit-nutrition div span{color:var(--muted);text-transform:uppercase;font-size:.75rem;font-weight:650}.recipe-edit-nutrition p{margin:0}.recipe-graph-editor-approved .recipe-graph-actions{width:min(100%, var(--consumer-frame-width));background:var(--surface);margin-inline:auto;padding-inline:24px}.recipe-graph-editor-approved .recipe-graph-actions button{background:var(--consumer-header-forest);width:100%}.recipe-graph-editor-approved~.sheet-backdrop{z-index:31}.directions-editor{min-width:0}.instructions-entry{width:100%;min-height:88px;color:var(--text);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.instructions-entry>span:first-child{min-width:0}.instructions-entry strong{font-size:1.125rem;font-weight:650}.instructions-entry-edit{color:var(--chrome-link,var(--consumer-header-forest));white-space:nowrap;flex:none;align-items:center;gap:6px;font-size:.875rem;font-weight:600;display:inline-flex}.instructions-summary{-webkit-line-clamp:2;max-height:3em;color:var(--muted);-webkit-box-orient:vertical;margin-top:8px;font-size:1rem;font-weight:400;line-height:1.5;display:-webkit-box;overflow:hidden}.instructions-writer{z-index:65;height:100dvh;color:var(--text);background:var(--background);flex-direction:column;font-family:inherit;display:flex;position:fixed;inset:0 0 auto;overflow:hidden}.instructions-writer-header{min-height:52px;padding:env(safe-area-inset-top) 8px 0;background:var(--surface);flex:none;align-items:center;gap:0;display:flex}.instructions-writer-header h2{flex:1;min-width:0;margin:0;font-family:inherit;font-size:1.125rem;font-weight:650}.instructions-writer-header button{-webkit-tap-highlight-color:transparent;min-width:44px;min-height:44px;color:var(--chrome-link,var(--consumer-header-forest));font:inherit;background:0 0;border:0;border-radius:6px;flex:none;padding:8px;font-size:.875rem}.instructions-writer-header button:first-child{font-size:1.5rem}.instructions-writer-header button:last-child{font-size:1rem;font-weight:600}.instructions-writer-header button:disabled{opacity:.4}.instructions-document-scroll{overscroll-behavior:contain;overflow-anchor:none;flex:1;min-height:0;scroll-padding-block:20px;overflow-y:auto}.instructions-document{box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;min-height:100%;caret-color:var(--chrome-link,var(--consumer-header-forest));outline:none;padding:16px 20px 64px;font-size:1rem;line-height:1.6;position:relative}.instructions-document[hidden]{display:none}.instructions-document[data-empty=true]:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none;position:absolute;top:16px;left:20px}.instructions-document :is(div,p){min-height:1.6em;margin:0}.instructions-document h2{margin:0;font-size:1.125rem;font-weight:650;line-height:1.6}.instructions-document :is(ol,ul){margin:0;padding-left:24px}.instructions-reading-preview{padding:16px 24px 64px}.instructions-toolbar{padding:2px 8px calc(2px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);flex:none;grid-template-columns:repeat(6,minmax(44px,1fr));gap:0;display:grid}.instructions-toolbar button{-webkit-tap-highlight-color:transparent;min-width:44px;height:44px;color:var(--chrome-link,var(--consumer-header-forest));background:0 0;border:0;border-radius:8px;padding:6px;font-size:1rem}.instructions-toolbar button[aria-pressed=true]{background:var(--surface-muted)}.instructions-toolbar button:disabled{opacity:.4}.instructions-writer button:focus-visible{outline:2px solid var(--consumer-header-forest);outline-offset:-2px}.recipe-graph-editor-approved .recipe-editor-header h1{text-align:center;flex:1;min-width:0}.recipe-closeout-header-options{flex:none;position:relative}.recipe-closeout-header-spacer{flex:none;width:44px}.recipe-graph-editor-approved .recipe-closeout-header-options>button{width:44px;font-size:1.1rem}.recipe-closeout-menu{z-index:5;border:1px solid var(--border);min-width:180px;max-width:min(260px,100vw - 48px);color:var(--text);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;padding:5px;position:absolute;top:100%;right:0}.recipe-graph-editor-approved .recipe-closeout-menu button{width:100%;min-height:44px;color:var(--text);text-align:left;background:0 0;border-radius:7px;padding:8px 12px;font:400 .875rem Arial,Helvetica,sans-serif;display:block}.recipe-closeout-menu button:hover{background:var(--surface-muted)}.recipe-closeout-menu button:disabled{opacity:.4}.recipe-graph-editor-approved .recipe-graph-row>.recipe-closeout-row-head{grid-template-columns:30px minmax(0,1fr) 35px;align-items:stretch;min-height:58px;margin:0;padding:1px 3px;display:grid}.recipe-graph-editor-approved .recipe-graph-row>.recipe-closeout-row-head:last-child{margin-bottom:0}.recipe-graph-editor-approved .recipe-closeout-row-head .recipe-graph-row-summary{justify-content:space-between;gap:8px;min-width:0;padding:9px 4px;font-weight:400;display:flex}.recipe-graph-editor-approved .recipe-closeout-row-head .recipe-graph-row-summary strong{min-width:0;font-weight:600;line-height:1.3}.recipe-closeout-row-head .recipe-graph-row-summary>span{white-space:nowrap;flex:none}.recipe-closeout-handle{min-width:30px;min-height:44px;color:var(--muted);touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:0 0;border-radius:8px;padding:0;font-size:1.3rem}.recipe-closeout-handle[aria-pressed=true]{cursor:grabbing}.recipe-closeout-row-options{width:35px;min-height:54px;color:var(--muted);background:0 0;padding:0;font-size:1.35rem}.recipe-closeout-row-menu{top:48px;right:5px}.recipe-graph-editor-approved .recipe-graph-row>.recipe-closeout-row-editor{gap:10px;margin:0;padding:0 14px 14px 37px;display:grid}.recipe-graph-editor-approved .recipe-graph-row>.recipe-closeout-row-editor:last-child{margin-bottom:0}.recipe-closeout-row-editor .recipe-graph-identity{font-size:.75rem;line-height:1.4;display:block}.recipe-closeout-row-editor .recipe-graph-row-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.recipe-closeout-row-editor .recipe-graph-row-controls label{gap:6px;font-size:.75rem;font-weight:600}.recipe-closeout-row-editor .recipe-graph-row-controls :is(input,select),.recipe-closeout-custom-unit input{border:1px solid var(--border);width:100%;min-width:0;min-height:46px;color:var(--text);background:var(--surface);border-radius:10px;padding:10px 8px;font:400 1rem Arial,Helvetica,sans-serif}.recipe-closeout-change-food{min-height:40px;color:var(--muted);background:0 0;justify-self:start;padding:0;font-size:.8125rem;font-weight:400;text-decoration:underline}.recipe-graph-row-controls .recipe-unit-trigger{border:1px solid var(--border);width:100%;min-width:0;min-height:46px;color:var(--text);background:var(--surface);text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font:400 1rem Arial,Helvetica,sans-serif;display:flex}.recipe-unit-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recipe-unit-chevron{border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);flex:none;width:8px;height:8px;margin-right:2px;transform:translateY(-2px)rotate(45deg)}.recipe-unit-trigger[aria-expanded=true]{border-color:var(--accent-strong);box-shadow:0 0 0 1px var(--accent-strong)}.recipe-unit-list{z-index:125;box-sizing:border-box;overscroll-behavior:contain;scrollbar-width:none;border:1px solid var(--border);color:var(--text);background:var(--surface);box-shadow:var(--shadow);border-radius:12px;padding:5px;position:fixed;overflow-y:auto}.recipe-unit-list::-webkit-scrollbar{display:none}.recipe-unit-list [role=option]{overflow-wrap:anywhere;cursor:pointer;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:10px 11px;font:400 .9375rem Arial,Helvetica,sans-serif;display:flex}.recipe-unit-list [role=option]:hover,.recipe-unit-list [data-active=true]{background:var(--surface-muted)}.recipe-unit-list [aria-selected=true]{color:var(--accent-strong);background:var(--surface-muted);font-weight:600}.recipe-unit-list [aria-disabled=true]{color:var(--muted);cursor:default}.recipe-unit-list .recipe-unit-other{border-top:1px solid var(--border);color:var(--muted);border-radius:0;margin-top:4px;font-size:.8125rem}.recipe-closeout-custom-unit{border-top:1px solid var(--border);padding:12px 0}.recipe-closeout-custom-unit label{gap:6px;display:grid}.recipe-closeout-custom-unit p{color:var(--muted);font-size:.75rem;line-height:1.4}.recipe-closeout-custom-unit button{min-height:44px;color:var(--accent-strong);background:var(--surface-muted);padding:6px 10px}.recipe-graph-editor-approved .recipe-graph-row.recipe-closeout-dragging{outline:2px solid var(--accent);background:var(--surface-muted);box-shadow:var(--shadow);z-index:2}.recipe-graph-editor .recipe-graph-content{overscroll-behavior:contain;scrollbar-width:none}.recipe-graph-editor .recipe-graph-content::-webkit-scrollbar{display:none}.recipe-graph-editor .recipe-graph-choices{max-height:none;overflow:visible}.recipe-graph-editor .sr-only{top:0;left:0}.recipe-closeout-source{padding-top:24px!important}.recipe-closeout-source p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.recipe-closeout-source p:first-child{color:var(--muted);font-size:.875rem}.recipe-closeout-source button{min-height:44px;color:var(--accent-strong);background:var(--surface-muted)}.recipe-discard-backdrop{z-index:130;background:var(--overlay-backdrop);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.recipe-discard-dialog{border:1px solid var(--border);width:min(342px,100%);max-height:calc(100dvh - 48px);color:var(--text);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;padding:24px;overflow:auto}.recipe-discard-dialog h2{margin:0 0 10px;font-size:1.3rem;line-height:1.3}.recipe-discard-dialog p{color:var(--muted);margin:0 0 22px;font-size:.9375rem;line-height:1.5}.recipe-discard-actions{gap:8px;display:grid}.recipe-discard-actions button{border:1px solid var(--border);width:100%;min-height:46px;color:var(--danger);background:var(--surface);border-radius:10px;padding:10px 12px}.recipe-discard-actions button:first-child{color:var(--surface);background:var(--accent-strong);border-color:#0000}.recipe-discard-actions button:disabled{opacity:.5}@media (max-width:340px){.recipe-graph-editor-approved :is(.recipe-editor-identity,.recipe-editor-section,.recipe-graph-ingredients),.recipe-graph-editor-approved .recipe-graph-actions{padding-inline:18px}.recipe-graph-editor-approved .recipe-graph-row>.recipe-closeout-row-head{grid-template-columns:26px minmax(0,1fr) 31px}.recipe-closeout-handle{min-width:26px}.recipe-closeout-row-options{width:31px}.recipe-graph-editor-approved .recipe-closeout-row-head .recipe-graph-row-summary{gap:5px;font-size:.875rem}.recipe-closeout-row-head .recipe-graph-row-summary>span{font-size:.8125rem}.recipe-graph-editor-approved .recipe-graph-row>.recipe-closeout-row-editor{padding-left:33px}}.foods-header{justify-content:flex-start;gap:12px}.foods-back{color:#fff;background:0 0;border:0;min-width:32px;min-height:44px;padding:0;font-size:28px}.foods-view{min-height:calc(100dvh - var(--consumer-header-compact-height) - env(safe-area-inset-top));padding:20px 20px calc(95px + env(safe-area-inset-bottom));background:var(--background);border-radius:24px 24px 0 0;margin:0 -12px}.foods-search{display:block;position:relative}.foods-search>svg{color:var(--muted);pointer-events:none;position:absolute;top:16px;left:12px}.foods-search input{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:100%;min-height:48px;padding:0 12px 0 36px;font-size:16px}.foods-caption{color:var(--muted);margin:18px 0 0;font-size:14px}.foods-row{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);text-align:left;background:0 0;border-radius:0;padding:12px 0 14px;display:block}.foods-row-main{align-items:center;gap:12px;display:flex}.foods-row-main strong{overflow-wrap:anywhere;flex:1;min-width:0;font-size:16px;font-weight:500;line-height:22px}.foods-row-calories{color:var(--accent);flex:none;font-size:14px;font-weight:500}.foods-row-meta{color:var(--muted);overflow-wrap:anywhere;margin-top:6px;font-size:14px;font-weight:400;line-height:20px;display:block}.foods-maintenance{color:var(--muted);margin-top:24px;font-size:14px;text-decoration:none;display:inline-block}.foods-empty{margin-top:24px}.foods-empty p,.foods-detail-brand,.foods-detail-source{color:var(--muted);font-size:14px}.foods-detail h2{overflow-wrap:anywhere;margin:0;font-size:24px;line-height:28px}.foods-detail-brand{margin:8px 0 0}.foods-serving{margin-top:24px}.foods-serving h3{overflow-wrap:anywhere;margin:0 0 16px;font-size:16px;line-height:22px}.foods-nutrients{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;display:grid}.foods-nutrients div{flex-direction:column-reverse;gap:4px;display:flex}.foods-nutrients dt{color:var(--muted);font-size:13px}.foods-nutrients dd{overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:700}.foods-serving-amount{color:var(--muted);margin:-8px 0 16px;font-size:14px}.foods-edit-details{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--accent);text-align:left;background:0 0;justify-content:space-between;align-items:center;margin-top:24px;padding:12px 0;display:flex}.foods-edit-details span{gap:4px;display:grid}.foods-edit-details small{color:var(--muted);font-size:14px}.food-details-editor{gap:18px;display:grid}.food-details-editor label{gap:7px;font-size:14px;font-weight:500;display:grid}.food-details-editor label span{color:var(--muted);font-weight:400}.food-details-editor input,.food-details-editor select{border:1px solid var(--border);width:100%;min-width:0;min-height:48px;color:var(--text);background:var(--surface);border-radius:8px;padding:0 12px;font-size:16px}.food-unified-editor .food-editor-reset-serving{min-height:44px;color:var(--accent);background:0 0;border:0;justify-self:start;padding:0;font-weight:600}.food-details-actions{gap:12px;display:flex}.food-details-actions button{min-height:48px;color:var(--accent);background:0 0;border:0;border-radius:8px;padding:0 16px;font-weight:600}.food-details-actions button.primary-button{color:var(--surface);background:var(--accent);flex:1}.food-details-actions button:disabled{opacity:.5}.food-nutrition-editor{gap:12px}.food-create-fields{gap:12px;display:grid}.food-create-fields input,.food-create-fields select{scroll-margin-block:90px 170px}.food-nutrition-name{overflow-wrap:anywhere;margin:0;font-weight:600}.food-current-nutrition-basis{gap:4px;margin-bottom:4px;font-size:14px;display:grid}.food-current-nutrition-basis>span,.food-nutrition-basis small{color:var(--muted)}.food-nutrition-editor label{grid-template-columns:minmax(0,1fr) 110px 26px;align-items:center;gap:8px}.food-nutrition-editor label input{text-align:right}.food-nutrition-editor label>span:last-child{color:var(--muted)}.food-nutrition-editor .food-details-actions{bottom:calc(72px + env(safe-area-inset-bottom));z-index:2;background:var(--surface);margin:8px -20px -20px;padding:12px 20px;position:sticky}.food-metadata-overlay .food-nutrition-editor .food-details-actions{bottom:0}.food-metadata-overlay{z-index:125;color:var(--text);background:var(--consumer-header-forest);position:fixed;inset:0;overflow:auto}.food-metadata-overlay>header{min-height:78px;padding:env(safe-area-inset-top) 20px 0;color:#fff;background:var(--consumer-header-forest);align-items:center;gap:12px;display:flex}.food-metadata-overlay>header button{min-width:28px;min-height:44px;color:inherit;background:0 0;border:0;font-size:28px}.food-metadata-overlay>header h2{font-size:24px;line-height:28px}.food-metadata-content{min-height:calc(100dvh - 78px);padding:20px 20px calc(24px + env(safe-area-inset-bottom));background:var(--background);border-radius:24px 24px 0 0}.food-metadata-identity{overflow-wrap:anywhere;font-weight:600}.food-metadata-history{color:var(--muted);font-size:14px}.food-metadata-open{border:1px solid var(--border);width:100%;min-height:44px;color:var(--accent);background:var(--surface);border-radius:8px;margin-top:12px;font-weight:600;display:block}.serving-entry-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.serving-entry-actions .food-metadata-open{width:auto;margin:0;padding:0 14px}.foods-detail-heading{align-items:flex-start;gap:12px;display:flex}.foods-detail-heading>div{flex:1;min-width:0}.foods-unified-edit{border:1px solid var(--border);min-height:44px;color:var(--accent);background:var(--surface);border-radius:8px;padding:0 18px;font-weight:600}.food-preview-controls,.food-editor-macros{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.food-unified-editor .food-editor-macros{grid-template-columns:minmax(0,1fr);gap:12px}.food-unified-editor .food-editor-macros label{display:block}.food-unified-editor .food-editor-macros input{min-height:44px;margin-top:5px;display:block}.food-preview-controls{grid-template-columns:minmax(0,1fr) minmax(0,2fr);margin-bottom:24px}.food-preview-controls label{color:var(--muted);gap:7px;font-size:14px;display:grid}.food-preview-controls input,.food-preview-controls select{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:48px;color:var(--text);border-radius:8px;padding:0 10px;font-size:16px}.food-editor-divider{border:0;border-top:1px solid var(--border);width:100%;margin:2px 0}.food-editor-lock{color:var(--muted);background:var(--surface-muted);border-radius:8px;margin:0;padding:12px}.food-unified-editor input:disabled{color:var(--muted);background:var(--surface-muted);opacity:1}.food-unified-editor .food-details-actions{bottom:calc(72px + env(safe-area-inset-bottom));z-index:2;background:var(--surface);margin:8px -20px -20px;padding:12px 20px;position:sticky}.food-metadata-overlay .food-unified-editor .food-details-actions{bottom:0}.food-unified-editor input{scroll-margin-block:90px 170px}.foods-new{color:#fff;white-space:nowrap;background:0 0;border:0;min-height:44px;margin-left:auto;padding:0;font-weight:600}.foods-row-calories{color:var(--muted);white-space:nowrap;font-size:13px}.food-create-fields .field{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:7px;display:grid}.food-create-fields .field input{text-align:left;width:100%}.foods-row-meta:empty{display:none}.foods-serving>.foods-detail-source{border-top:1px solid var(--border);margin-top:20px;padding-top:12px}.progress-segmented{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-segmented button{text-align:center;font-size:.8rem}.weekly-carry-answer strong{letter-spacing:0;font-family:Arial,sans-serif;font-size:1rem;font-weight:700}.today-calorie-answer{border-top:0;margin-top:8px;padding-top:2px}.today-calorie-answer strong{font-family:Arial,sans-serif;font-size:1.3rem;font-weight:700}.progress-screen>h1,.chart-point-detail strong,.progress-lens-row{font-family:Arial,sans-serif}.progress-phase-overview{gap:10px;padding-top:4px;display:grid}.phase-overview-heading,.phase-overview-context-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.phase-overview-heading h1{margin:2px 0;font-size:1.5rem;line-height:1.17}.phase-overview-heading p,.phase-overview-card p{color:var(--muted);margin:0;font-size:.875rem;line-height:1.4}.phase-overview-label{color:var(--muted);text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.phase-overview-action{min-height:44px;color:var(--accent);text-align:left;background:0 0;align-items:center;gap:5px;padding:0;font-size:.9375rem;font-weight:600;display:inline-flex}.phase-overview-action svg{flex:none}.phase-overview-start{border-bottom:1px solid var(--warm-border);justify-content:space-between}.phase-overview-card{background:var(--surface);border-radius:8px;padding:12px 14px}.phase-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.phase-overview-metrics>div{align-content:start;gap:3px;display:grid}.phase-overview-card small,.phase-overview-metrics span{color:var(--muted);font-size:.875rem;line-height:1.4}.phase-overview-card strong{color:var(--accent);overflow-wrap:anywhere;font-size:1.375rem;line-height:1.2}.phase-overview-card h2,.phase-overview-card h3{margin:0;font-size:1rem;line-height:1.375}.phase-overview-weight{gap:6px;display:grid}.phase-overview-context{gap:8px;display:grid}.phase-overview-context .phase-overview-card{padding-block:2px}.phase-overview-context-row{min-height:48px;padding-block:4px}.phase-overview-context-row+.phase-overview-context-row{border-top:1px solid var(--warm-border)}.plan-management{flex-direction:column;gap:12px;padding-top:18px;display:flex;position:relative}.plan-management-heading{min-height:64px}.plan-management-heading h1{max-width:calc(100% - 145px);margin:4px 0 6px;font-size:1.5rem}.plan-management-heading p,.plan-management-target p{color:var(--muted);margin:0;font-size:.875rem;line-height:1.4}.plan-management-phase{z-index:2;border:1px solid var(--warm-border);background:var(--surface);min-height:44px;color:var(--accent);cursor:pointer;border-radius:8px;padding:0 14px;font-weight:600;position:absolute;inset:18px 0 auto auto}.plan-phase-flow{flex-direction:column;min-height:100dvh;display:flex}.plan-phase-flow .progress-content{flex:1}.plan-phase-flow h1{margin:0;font:700 1.5rem/1.2 Arial,sans-serif}.plan-phase-flow .progress-content>p{color:var(--muted);margin:4px 0 0}.plan-phase-group{margin-top:18px}.plan-phase-group h2{color:var(--muted);margin:0;font-size:.875rem}.plan-phase-actions{padding:10px 18px calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--warm-border);position:sticky;bottom:0}.plan-phase-actions button,.plan-check-in-field input{border:1px solid var(--warm-border);background:var(--surface);width:100%;min-height:48px;color:var(--accent);border-radius:8px}.plan-check-in-field input{font:inherit;padding-inline:12px}.plan-management .plan-macro-grid{grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}.plan-management-target{background:var(--surface);border-radius:8px;gap:4px;padding:12px 14px;display:grid}.plan-management-target>strong{color:var(--accent);font-size:1.5rem}.plan-management-schedule,.plan-management-row{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:0;gap:4px;text-decoration:none;display:grid}.plan-management-schedule{border-top:1px solid var(--border);min-height:44px;padding:8px 0 0}.plan-management-schedule>span:first-child,.plan-management-row{justify-content:space-between;align-items:center;display:flex}.plan-management-schedule small,.plan-management-row small,.plan-management-rhythm{color:var(--muted);font-size:.875rem;font-weight:400}.plan-management-rhythm{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.plan-management-rhythm>span{justify-items:center;gap:3px;display:grid}.plan-management-rhythm>span.high{color:var(--accent);font-weight:600}.plan-management-rhythm i{background:var(--warm-border);border-radius:3px;width:59%;height:4px}.plan-management-rhythm .high i{background:var(--accent)}.plan-management-row{border-bottom:1px solid var(--border);min-height:60px;padding:8px 0}.plan-management-row>span{gap:3px;display:grid}.plan-management-row strong{font-weight:500}.plan-management-row svg,.plan-management-schedule svg{color:var(--accent);flex:none}.plan-v1-setup{background:var(--consumer-header-forest);flex-direction:column;min-height:100dvh;display:flex}.plan-v1-details,.plan-v1-setup .progress-detail-header,.plan-v1-details .progress-detail-header{background:var(--consumer-header-forest)}.plan-v1-setup .progress-detail-header strong,.plan-v1-details .progress-detail-header strong{font:700 1.5rem/1.2 Arial,sans-serif}.plan-v1-details .progress-content{background:var(--background);border-radius:24px 24px 0 0}.plan-v1-setup .progress-detail-header{z-index:3;position:sticky;top:0}.plan-v1-setup .progress-detail-header button:last-child{width:auto;font-size:.875rem}.plan-v1-setup-content{background:var(--background);border-radius:24px 24px 0 0;flex:1;width:100%;padding:28px max(18px,50% - 242px)}.plan-v1-setup-content h1{color:var(--text);margin:0 0 14px;font:700 1.5rem/1.2 Arial,sans-serif}.plan-v1-setup-content .setup-choice-grid{margin-bottom:10px}.plan-v1-setup-content .setup-choice-grid button{min-height:44px;padding:6px}.plan-v1-setup-content .setup-choice-grid button.selected{color:var(--chrome-link,var(--consumer-header-forest));background:var(--surface-muted);border-color:var(--consumer-header-forest)}.plan-goal-label{margin:12px 0 4px;font-weight:600}.plan-goal-basis{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-management-target>.plan-preview-average{font-size:1.875rem}.plan-v1-setup-dock{z-index:2;width:100%;padding:8px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--warm-border);background:var(--surface);position:sticky;bottom:0}.plan-v1-setup-dock>p{max-width:484px;color:var(--muted);margin:0 auto 6px;font-size:.875rem}.plan-v1-setup-dock>button{place-items:center;width:100%;max-width:484px;min-height:48px;margin-inline:auto;display:grid}.plan-draft-sheet{inset:auto 0 var(--plan-keyboard-offset,0px);width:min(100%,540px);max-width:100%;max-height:calc(var(--plan-sheet-height,100dvh) - 12px);background:var(--surface);color:inherit;border:0;border-radius:24px 24px 0 0;margin:0 auto;padding:0;position:fixed;overflow:auto}.plan-draft-sheet::backdrop{background:#00000057}.plan-draft-sheet-body{gap:12px;padding:18px;display:grid}.plan-draft-sheet-body>h2,.plan-draft-sheet-body>p{margin:0}.plan-draft-sheet-body>h2{font-size:1rem}.plan-draft-sheet-body>p{color:var(--muted);font-size:.875rem}.plan-draft-sheet-actions{padding:8px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--warm-border);background:var(--surface);grid-template-columns:1fr 1fr;gap:12px;display:grid;position:sticky;bottom:0}.plan-draft-sheet-actions>button{min-width:0;min-height:48px}.plan-draft-sheet-actions>button:first-child{border:1px solid var(--warm-border);color:var(--accent);background:0 0;border-radius:8px}.plan-number-field{grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:10px;display:grid}.plan-number-field label{color:var(--muted);gap:5px;font-size:.875rem;display:grid}.plan-number-field input,.plan-draft-sheet select{border:1px solid var(--warm-border);width:100%;min-height:44px;color:inherit;background:var(--surface);border-radius:8px;padding-inline:10px;font-size:1rem}.plan-number-field button{min-height:44px;color:var(--accent);background:var(--surface-muted);border-radius:8px;font-size:1.15rem}.composition-share-labels{color:var(--accent);justify-content:space-between;gap:12px;margin-top:6px;font-size:.75rem;font-weight:700;display:flex}.progress-detail-screen .metric-switcher button{min-width:0;font-size:.75rem}.progress-header .primary-header-title{font-family:Arial,sans-serif;font-size:1.5rem;font-weight:700}.progress-metric-answer p{min-height:2.8em}.progress-lens-row{grid-template-columns:minmax(0,1fr) auto;font-size:.9rem}.progress-lens-preview{gap:6px;min-width:0;display:grid}.progress-lens-preview small{color:var(--muted);font-size:.75rem}.progress-lens-preview>span{font-size:.8rem}.progress-lens-preview .composition-share-bar{height:7px}.progress-segmented{border:0}.weekly-projection{border-top:0}.weekly-projection>summary strong{letter-spacing:0;font-family:Arial,sans-serif;font-size:.82rem;font-weight:600}.progress-metric-answer strong{letter-spacing:0;font-family:Arial,sans-serif;font-size:1.65rem;font-weight:700}.progress-detail-screen .metric-switcher{margin-bottom:0}.progress-detail-screen .metric-switcher button svg{display:none}.chart-detail-slot{min-height:64px}.progress-line-chart .chart-point-detail{color:var(--text);box-shadow:none;background:0 0;border-radius:0;padding:6px 2px;display:grid;position:static}.progress-line-chart .chart-point-detail :is(strong,span,small){color:var(--text);font-family:Arial,sans-serif}.progress-detail-screen .metric-switcher{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0}.progress-detail-screen .metric-switcher button{border-radius:0}.progress-detail-screen .metric-switcher button.active{color:var(--accent);box-shadow:inset 0 -2px var(--accent);background:0 0}.progress-detail-screen .window-switcher{background:0 0;border:0}.progress-segmented{background:color-mix(in srgb, var(--surface) 10%, transparent);padding:3px}.progress-line-chart svg{aspect-ratio:520/230;height:auto}.weekly-carry-context{justify-content:center;align-items:center;gap:5px;display:flex}.carry-status{width:44px;height:24px;display:inline-block;position:relative}.carry-status summary{width:44px;height:44px;color:var(--muted);cursor:pointer;place-items:center;font-size:.7rem;list-style:none;display:grid;position:absolute;top:-10px}.carry-status summary span{border:1px solid var(--muted);border-radius:50%;place-items:center;width:20px;height:20px;display:grid}.carry-status summary::-webkit-details-marker{display:none}.carry-status p{z-index:3;border:1px solid var(--border);background:var(--surface);width:220px;color:var(--text);text-align:left;border-radius:8px;padding:10px;font-size:.75rem;position:absolute;right:0}.progress-lens-screen .lens-starting-point{min-height:0;padding-top:20px}.progress-lens-screen .lens-starting-point strong,.progress-lens-screen .lens-current-metrics strong,.progress-lens-screen.full>h1,.progress-detail-header.lens-header strong{font-family:Arial,sans-serif;font-weight:700}.progress-lens-screen .lens-starting-point strong{font-size:1rem}.progress-lens-screen .lens-starting-point p{margin-top:12px}.progress-lens-screen .phase-chip{margin-bottom:18px}.lens-answer{text-align:center;margin-top:20px}.lens-answer strong{color:var(--accent);font-size:1rem}.lens-answer p{color:var(--muted);margin:6px 0 0;font-size:.85rem}.waist-heading>button{color:var(--accent);border:0;font-weight:700}.waist-measurements form .waist-actions button[type=submit]{border-color:var(--accent);background:var(--accent);color:var(--surface);font-weight:700}.lens-info-backdrop{padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));overscroll-behavior:contain}.lens-info-sheet{max-height:calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.lens-info-sheet>.lens-info-header{border-bottom:1px solid var(--warm-border);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px 10px;display:flex}.lens-info-sheet h2{font-family:Arial,sans-serif;font-size:1.05rem;font-weight:700}.lens-info-header button{min-width:44px;min-height:44px}.lens-info-sheet>.lens-info-content{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:4px 18px 22px;display:block;overflow-y:auto}.lens-info-content p{font-size:.88rem;line-height:1.45}.lens-info-content section{margin-top:18px}.lens-reference-details{color:var(--accent);margin-top:12px;font-size:.86rem}.lens-reference-details summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:700}.progress-lens-screen.full>h1{margin-bottom:24px;font-size:2rem}.composition-change>h2{border:0;font-family:Arial,sans-serif;font-size:.95rem;font-weight:700}.composition-deltas strong{font-family:Arial,sans-serif;font-size:1.35rem;font-weight:700}.lens-estimate-note{color:var(--muted);text-align:center;margin:14px 0 0;font-size:.75rem}.progress-line-chart svg{-webkit-tap-highlight-color:transparent}.progress-line-chart svg:focus:not(:focus-visible){outline:none}.log-day-note{margin-block:16px 8px}.log-day-note h2,.log-day-note p{margin:0 0 8px}.log-day-note h2,.log-day-note label{font-size:.95rem;font-weight:700}.log-day-note form{gap:8px;display:grid}.log-day-note textarea{border:1px solid var(--warm-border);background:var(--surface);width:100%;color:var(--text);font:inherit;resize:vertical;border-radius:8px;padding:10px 12px}.log-day-note-preview,.log-day-note-comparison{white-space:pre-wrap;overflow-wrap:anywhere}.log-day-note-preview{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.log-day-note-actions{justify-content:flex-end;gap:8px;display:flex}.nutrition-entry-sheet.log-v1-sheet{inset:var(--log-viewport-top,0px) 0 auto;width:min(var(--consumer-frame-width), 100%);height:var(--log-viewport-height,100dvh);max-height:var(--log-viewport-height,100dvh);background:var(--background);border-radius:0;position:absolute}.nutrition-entry-sheet.log-v1-sheet form{background:var(--background);height:100%;min-height:0;padding:0 18px}.nutrition-entry-sheet.log-v1-sheet form>header.nutrition-add-food-header{z-index:5;min-height:calc(64px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 8px 8px;color:var(--text-on-forest);background:var(--consumer-header-forest);box-shadow:none;border:0;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;margin:0 -18px;display:grid;top:0}.log-v1-sheet .nutrition-add-food-header h2{color:inherit;font-family:inherit;font-size:1.5rem;line-height:1.17}.log-v1-sheet .nutrition-add-food-header button:focus-visible{outline-color:var(--text-on-forest)}.log-v1-search-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:9px 0 6px;display:grid}.log-v1-discovery .nutrition-add-food-search{border-color:var(--border);background:var(--surface);border-radius:10px;gap:8px;min-height:46px;margin:0;padding:0 10px}.log-v1-discovery .nutrition-add-food-search:focus-within{border-color:var(--accent)}.log-v1-discovery .nutrition-add-food-search input{outline:0;min-height:44px;font-size:.875rem;font-weight:400}.log-v1-discovery .nutrition-add-food-search input::placeholder{color:var(--muted)}.log-v1-scan{border:1px solid var(--border);min-height:44px;color:var(--accent);background:var(--surface);border-radius:9px;align-items:center;gap:5px;padding:0 8px;font-size:.875rem;display:inline-flex}.log-v1-discovery .nutrition-add-tabs{border-color:var(--border);gap:4px;padding-bottom:8px}.log-v1-discovery .nutrition-add-tabs button{border-radius:9px;font-family:inherit;font-size:.875rem;font-weight:500}.log-v1-discovery .nutrition-add-tabs button.active{background:var(--surface-muted)}.log-v1-discovery .add-food-browser>h3{min-height:30px;color:var(--text);align-items:center;padding:0;font-family:inherit;font-size:.875rem;font-weight:600;display:flex}.log-v1-discovery .add-food-result-row{border-color:var(--border);grid-template-columns:minmax(0,1fr) 44px;gap:10px;min-height:58px;padding:5px 0}.log-v1-discovery .add-food-result-row>.shortcut-icon-wrap{display:none}.log-v1-discovery .add-food-result-main{gap:2px;min-height:44px}.log-v1-discovery .add-food-result-main strong{color:var(--text);font-family:inherit;font-size:1rem;font-weight:500;line-height:1.2}.log-v1-discovery .add-food-result-main span,.log-v1-discovery .add-food-result-main small{color:var(--muted);font-size:.875rem;font-weight:400}.log-v1-discovery .add-food-quick-action{background:var(--surface-muted);width:44px;min-width:44px;height:44px;min-height:44px}.log-v1-discovery .add-food-quick-action:active{background:var(--theme-raised,#dce7dd)}.log-v1-discovery .add-food-result-row:has(.add-food-quick-undo){grid-template-columns:minmax(0,1fr) auto}.add-food-quick-controls{align-items:center;gap:4px;display:flex}.add-food-quick-controls .add-food-quick-undo{min-width:44px;min-height:44px;color:var(--accent);background:0 0;border:0;justify-content:center;align-items:center;gap:3px;padding:0 4px;font-size:.875rem;font-weight:600;display:inline-flex}.add-food-quick-controls .add-food-quick-undo[aria-disabled=true]{opacity:.65}.add-food-confirmation-mark{animation:add-food-confirm var(--motion-confirmation) ease-out}@keyframes add-food-confirm{0%{opacity:.55}}.log-v1-discovery .add-food-quick-action.is-pending{background:var(--theme-raised,#dce7dd)}.add-food-pending-indicator{border:2px solid;border-right-color:#0000;border-radius:50%;width:18px;height:18px;animation:.65s linear infinite add-food-spinner}@keyframes add-food-spinner{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.add-food-pending-indicator{animation:none}}.nutrition-entry-sheet.log-v1-portion form{flex-direction:column;display:flex}.log-v1-portion .log-v1-editor{flex-direction:column;flex:1 0 auto;gap:18px;min-height:0;padding:16px 0 0;display:flex}.log-v1-editor .serving-editor-title{align-items:center;gap:8px;min-height:44px}.log-v1-editor .serving-editor-title strong{color:var(--text);overflow-wrap:anywhere;font-family:inherit;font-size:1.5rem;font-weight:700}.log-v1-date{color:var(--muted);margin-top:4px;font-size:.875rem;display:block}.log-v1-editor .log-v1-edit-food{min-height:44px;color:var(--accent);flex:none;font-size:.875rem;font-weight:600}.log-v1-amount{order:1;grid-template-columns:minmax(0,.36fr) minmax(0,.64fr);gap:8px;display:grid}.log-v1-amount label{min-width:0;color:var(--muted);gap:6px;font-size:.875rem;display:grid}.log-v1-amount :is(input,select){border:1px solid var(--border);background:var(--surface);width:100%;min-height:52px;color:var(--text);font:inherit;border-radius:9px;padding:0 12px;font-size:1rem}.log-v1-editor .nutrition-ledger{border-color:var(--border);background:var(--surface);border-radius:12px;order:2;grid-template-columns:minmax(0,min(44%,139px)) minmax(0,1fr);gap:15px;min-height:104px;padding:12px 16px}.log-v1-editor .nutrition-ledger-calories{border-inline-end:1px solid var(--border);justify-items:start;padding-right:10px}.log-v1-editor .nutrition-ledger-calories strong{color:var(--text);text-align:start;font-family:inherit;font-size:clamp(1.85rem,10.8vw,2.625rem);font-weight:650;line-height:1.15}.log-v1-editor .nutrition-ledger dl{gap:3px}.log-v1-editor .nutrition-ledger dl div{gap:4px}.log-v1-editor .nutrition-ledger dt{color:var(--muted);font-size:.9375rem;font-weight:500}.log-v1-editor .nutrition-ledger dd{color:var(--text);white-space:nowrap;font-size:1rem;font-weight:600}.log-v1-editor .serving-entry-actions,.log-v1-editor .serving-picker-error,.log-v1-editor .macro-note{order:3}.log-v1-editor .serving-editor-delete{min-height:44px;color:var(--danger)}.log-v1-portion-dock{z-index:4;padding:10px 18px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);order:4;margin:auto -18px 0;position:sticky;bottom:0}.log-v1-portion-dock button{background:var(--accent);width:100%;min-height:48px}.log-v1-portion.serving-editor-sheet{scroll-padding-block-start:calc(76px + env(safe-area-inset-top))}.log-v1-portion.serving-editor-sheet[data-short-viewport] .log-v1-portion-dock{position:static}.appearance-setting{cursor:default}.appearance-setting select{border:1px solid var(--field-outline);min-height:44px;color:var(--field-foreground);background:var(--field-surface);border-radius:8px;justify-self:end;padding-inline:10px}:root[data-theme=dark] :is(input,textarea,select):not([type=checkbox],[type=radio]){accent-color:var(--accent)}:root[data-theme=dark] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}:root[data-theme=dark] :is(button,a,input,select,textarea):focus-visible{outline-color:var(--focus-ring)}:root[data-theme=dark] :is(.log-v1-portion-dock button,.progress-primary-action,.primary-button){color:var(--action-foreground)}:root[data-theme=dark] :is(.log-v1-portion-dock button,.progress-primary-action,.primary-button,button[type=submit]):disabled{color:var(--disabled-foreground);background:var(--disabled-surface)}
