@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial;--tab-page-old-x:0px;--tab-page-old-y:0px}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.text-wrap{text-wrap:wrap}.overline{text-decoration-line:overline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{color-scheme:light;--bg:#f6f3ec;--surface:#fffdf8;--surface-2:#efede6;--text:#202720;--muted:#69726b;--line:#e5e1d7;--primary:#5f7b65;--primary-dark:#3d5c45;--primary-soft:#dce8dc;--blue:#7692a9;--blue-soft:#dce8f0;--amber:#bf985d;--amber-soft:#f4e7ce;--lavender:#8b7fa5;--lavender-soft:#e7e0ee;--peach:#c67f68;--danger:#a94f4b;--macro-protein:#5a95d4;--macro-carbs:#c4822a;--macro-fat:#6647a6;--shadow:0 2px 12px #3039300f, 0 1px 2px #3039300f;background:var(--bg);color:var(--text);--radius-small:8px;--radius-control:12px;--radius-inset:16px;--radius-card:22px;--radius-sheet:28px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@supports (corner-shape:squircle){:root{--radius-small:12px;--radius-control:18px;--radius-inset:24px;--radius-card:33px;--radius-sheet:42px}}:root[data-theme=dark]{color-scheme:dark;--bg:#171b18;--surface:#202621;--surface-2:#2a302b;--text:#edf1ec;--muted:#aab3ab;--line:#343b35;--primary:#9cbba1;--primary-dark:#c3ddc6;--primary-soft:#304236;--blue-soft:#293b48;--amber-soft:#443a27;--lavender-soft:#3a3344;--shadow:0 2px 12px #0003;--macro-protein:#5e95d4;--macro-carbs:#c28529;--macro-fat:#8354d4}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text);-webkit-font-smoothing:antialiased;touch-action:pan-y;overscroll-behavior-x:none;margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--primary)}@supports (color:color-mix(in lab,red,red)){button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 45%,transparent)}}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px}dialog[tabindex="-1"]:focus{outline:none}button:disabled{opacity:.55;cursor:wait}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.app-shell{min-height:100vh}.app-content{width:min(100%,1180px);padding-bottom:calc(104px + env(safe-area-inset-bottom));margin:0 auto}.tab-panel:not([hidden]){display:contents}html[data-tab-motion]{view-transition-name:none}html[data-tab-motion] .app-content{view-transition-name:tab-page}html[data-tab-nav-snapshot] .bottom-nav:not([data-tab-snapshot]){opacity:0}html[data-tab-motion] [data-tab-snapshot]{view-transition-name:tab-navigation;background:var(--surface);-webkit-backdrop-filter:none}html[data-tab-motion]::view-transition{pointer-events:none}html[data-tab-motion]::view-transition-group(*){animation-duration:.22s;animation-timing-function:cubic-bezier(.2,0,0,1)}html[data-tab-motion]::view-transition-group(tab-page){z-index:0;animation:none}html[data-tab-motion]::view-transition-group(.tab-surface){z-index:1}html[data-tab-motion]::view-transition-group(tab-summary){border-radius:var(--radius-card);corner-shape:squircle;box-shadow:var(--shadow);overflow:clip}html[data-tab-motion][data-tab-direction=forward]::view-transition-group(tab-summary){box-shadow:var(--shadow),0 10px 28px #141e171a}html[data-tab-motion]::view-transition-group(.tab-text){z-index:2}@property --tab-page-old-x{syntax:"<length>";inherits:false;initial-value:0}@property --tab-page-old-y{syntax:"<length>";inherits:false;initial-value:0}html[data-tab-motion]::view-transition{--tab-page-old-x:inherit;--tab-page-old-y:inherit}html[data-tab-motion]::view-transition-group(tab-page){--tab-page-old-x:inherit;--tab-page-old-y:inherit}html[data-tab-motion]::view-transition-image-pair(tab-page){--tab-page-old-x:inherit;--tab-page-old-y:inherit}html[data-tab-motion]::view-transition-old(tab-page){--tab-page-old-x:inherit;--tab-page-old-y:inherit}html[data-tab-motion]::view-transition-old(tab-page){translate:var(--tab-page-old-x) var(--tab-page-old-y);animation:90ms ease-out both tab-dissolve-out}html[data-tab-motion]::view-transition-new(tab-page){animation:.16s ease-out 50ms both tab-dissolve-in}html[data-tab-motion]::view-transition-old(.tab-surface){object-fit:contain;object-position:top;width:100%;height:auto;animation-duration:.2s}html[data-tab-motion]::view-transition-new(.tab-surface){object-fit:contain;object-position:top;width:100%;height:auto;animation-duration:.2s}html[data-tab-motion]::view-transition-old(.tab-text){width:auto;height:100%;animation-duration:.22s}html[data-tab-motion]::view-transition-new(.tab-text){width:auto;height:100%;animation-duration:.22s}html[data-tab-motion]::view-transition-old(.tab-swap){animation:.1s ease-out both tab-dissolve-out}html[data-tab-motion]::view-transition-new(.tab-swap){animation:.16s ease-out 40ms both tab-dissolve-in}html[data-tab-motion]::view-transition-old(.tab-text):only-child{animation:90ms ease-out both tab-dissolve-out}html[data-tab-motion]::view-transition-old(.tab-surface):only-child{animation:90ms ease-out both tab-dissolve-out}html[data-tab-motion]::view-transition-new(.tab-text):only-child{animation:.16s ease-out 50ms both tab-dissolve-in}html[data-tab-motion]::view-transition-new(.tab-surface):only-child{animation:.16s ease-out 50ms both tab-dissolve-in}html[data-tab-motion]::view-transition-group(tab-navigation){z-index:10;animation:none}html[data-tab-motion]::view-transition-old(tab-navigation){mix-blend-mode:normal;animation:none}html[data-tab-motion]::view-transition-new(tab-navigation){mix-blend-mode:normal;animation:none}html[data-tab-motion]::view-transition-old(tab-navigation){opacity:0}@keyframes tab-dissolve-out{to{opacity:0}}@keyframes tab-dissolve-in{0%{opacity:0}}@media(prefers-reduced-motion:reduce){html[data-tab-motion]::view-transition-group(*){animation-duration:0s!important;animation-delay:0s!important}html[data-tab-motion]::view-transition-old(*){animation-duration:0s!important;animation-delay:0s!important}html[data-tab-motion]::view-transition-new(*){animation-duration:0s!important;animation-delay:0s!important}.bottom-nav{transition:none}}.view{padding:24px 18px 32px}.eyebrow{color:var(--primary);letter-spacing:.13em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:800}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.page-header h1{letter-spacing:-.04em;margin:0;font-size:clamp(28px,7vw,39px);font-weight:720;line-height:1.1}.icon-button{background:var(--surface-2);border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.notification-button{position:relative}.notification-button span{background:var(--peach);border:2px solid var(--surface-2);border-radius:50%;width:7px;height:7px;position:absolute;top:8px;right:9px}.weight-inline{color:var(--text);background:0 0;border:0;align-items:center;gap:6px;margin:10px 0 0;padding:0;font-size:13px;font-weight:700;display:flex}.weight-inline span{color:var(--muted);font-weight:550}.bottom-nav{z-index:30;width:min(100%,680px);height:calc(78px + env(safe-area-inset-bottom));padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:var(--surface);grid-template-columns:repeat(5,1fr);align-items:end;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}@supports (color:color-mix(in lab,red,red)){.bottom-nav{background:color-mix(in srgb,var(--surface) 97%,transparent)}}.bottom-nav{border:1px solid var(--line);border-bottom:0;border-radius:24px 24px 0 0;box-shadow:0 -4px 24px #262f2714}.bottom-nav button{min-height:52px;color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:5px;display:flex}.bottom-nav button.active{color:var(--primary-dark)}.bottom-nav small{font-size:10px;font-weight:700}.bottom-nav .camera-nav{color:var(--primary-dark);transform:translateY(-5px)}.camera-nav span{border:2px solid var(--primary);background:var(--surface);width:64px;height:64px;color:var(--primary-dark);box-shadow:0 3px 10px var(--primary);border-radius:19px;place-items:center;display:grid}@supports (color:color-mix(in lab,red,red)){.camera-nav span{box-shadow:0 3px 10px color-mix(in srgb,var(--primary) 10%,transparent)}}.camera-nav:active span{transform:scale(.94)}.summary-card,.meal-card,.chart-card,.consistency-card,.calendar-card,.profile-identity,.settings-card,.category-manager{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px}.summary-card{border-radius:17px;padding:16px}.section-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section-head h2{letter-spacing:-.025em;margin:0;font-size:17px}.approx-pill,.source-badge,.trend-pill{background:var(--surface-2);color:var(--muted);border-radius:999px;flex:none;padding:6px 9px;font-size:10px;font-weight:750}.estimate-label{color:var(--muted);flex:none;padding-top:2px;font-size:10px;font-weight:700}.primary-macros,.secondary-macros{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.primary-macros{margin:17px 0 14px}.macro-row{color:var(--muted);justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;font-size:12px;font-weight:700;display:flex}.macro-row strong{color:var(--text);font-size:14px}.macro-row small{color:var(--muted);font-size:11px;font-weight:650}.macro-progress.prominent .macro-row strong{letter-spacing:-.025em;font-size:18px}.summary-card .macro-row{gap:2px;margin-bottom:6px;display:grid}.summary-card .macro-row small{font-size:10px}.progress-track{background:var(--surface-2);border-radius:99px;height:7px;overflow:hidden}.summary-card .progress-track{height:5px}.progress-track span{border-radius:inherit;background:var(--primary);height:100%;transition:width .5s;display:block}.goal-note{color:var(--muted);margin:13px 0 0;font-size:10px;line-height:1.4}.timeline-heading{justify-content:space-between;align-items:end;gap:12px;margin:28px 1px 17px;display:flex}.timeline-heading h2{letter-spacing:-.03em;margin:0;font-size:20px}.add-button{background:var(--primary-soft);color:var(--primary-dark);border:0;border-radius:10px;align-items:center;gap:5px;padding:8px 11px;font-size:12px;font-weight:800;display:flex}.meal-groups{gap:25px;display:grid}.meal-group{min-width:0}.meal-group-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:10px;margin:0 2px 10px;padding-bottom:8px;display:flex}.meal-group-heading h3{letter-spacing:-.02em;margin:0;font-size:15px}.meal-group-heading p{color:var(--muted);text-align:right;margin:0;font-size:10px;font-weight:700}.meal-group-heading p span{margin:0 2px}.meal-card{overflow:hidden}.meal-open{text-align:left;background:0 0;border:0;width:100%;padding:0;display:block}.meal-image-wrap{aspect-ratio:1.55;background:var(--surface-2);position:relative;overflow:hidden}.meal-image-wrap img{object-fit:cover;width:100%;height:100%;transition:transform .3s}@media(hover:hover)and (pointer:fine){.meal-open:hover img{transform:scale(1.015)}}.category-chip,.sync-chip{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1a201bbd;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;position:absolute;top:12px;left:12px}.sync-chip{background:#534630d1;align-items:center;gap:5px;display:flex;top:auto;bottom:12px}.meal-copy{padding:16px 17px 18px}.meal-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.meal-title-row h3{letter-spacing:-.025em;margin:0;font-size:18px}.analysis-label{color:var(--primary);text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:5px;margin:0 0 3px;font-size:10px;font-weight:800;display:flex}.meal-meta{color:var(--muted);margin:4px 0 12px;font-size:12px}.meal-macros{gap:7px;margin:0;font-size:14px;display:flex}.meal-macros span{color:var(--muted)}.meal-minors{color:var(--muted);margin:3px 0 0;font-size:12px}.meal-copy blockquote{border-left:3px solid var(--amber);background:var(--amber-soft);color:var(--text);border-radius:0 8px 8px 0;margin:13px 0 0;padding:10px 12px;font-size:12px;line-height:1.45}.analysis-failed{color:var(--danger);margin:0;font-size:12px}.skeleton-lines{gap:7px;display:grid}.skeleton-lines span{background:linear-gradient(90deg,var(--surface-2),var(--line),var(--surface-2));background-size:200%;border-radius:8px;width:48%;height:12px;animation:1.3s infinite shimmer;display:block}.skeleton-lines span:last-child{width:28%}@keyframes shimmer{to{background-position:-200% 0}}.empty-state{text-align:center;border:1px dashed var(--line);background:var(--surface);border-radius:22px;place-items:center;min-height:390px;padding:44px 24px;display:grid}@supports (color:color-mix(in lab,red,red)){.empty-state{background:color-mix(in srgb,var(--surface) 65%,transparent)}}.empty-state>div{background:var(--primary-soft);width:62px;height:62px;color:var(--primary-dark);border-radius:20px;place-items:center;display:grid}.empty-state h2{margin:18px 0 7px}.empty-state p{color:var(--muted);margin:0 0 20px;font-size:14px}.empty-state.compact{min-height:250px}@media(max-width:540px){.empty-state:not(.compact){min-height:0;padding:28px 22px 26px}.empty-state:not(.compact) h2{margin-top:14px}.empty-state:not(.compact) p{margin-bottom:16px}}.primary-button{background:var(--primary);color:#fff;min-height:48px;box-shadow:0 5px 14px var(--primary);border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:14px;font-weight:800;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.primary-button{box-shadow:0 5px 14px color-mix(in srgb,var(--primary) 22%,transparent)}}.primary-button.full{width:100%}.text-button{min-height:42px;color:var(--primary-dark);background:0 0;border:0;justify-content:center;align-items:center;gap:7px;padding:0;font-size:13px;font-weight:800;display:inline-flex}.modal-backdrop,.confirm-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1115127a;justify-content:center;align-items:end;padding:12px;display:flex;position:fixed;inset:0}@keyframes fade{0%{opacity:0}}.bottom-sheet{width:min(100%,540px);max-height:calc(100dvh - 24px);padding:9px 20px calc(22px + env(safe-area-inset-bottom));background:var(--surface);border-radius:25px 25px 18px 18px;overflow-y:auto;box-shadow:0 20px 80px #0003}.sheet-handle{background:var(--line);border-radius:99px;width:36px;height:4px;margin:0 auto 18px}.sheet-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.sheet-head h2{letter-spacing:-.035em;margin:0;font-size:24px;font-weight:650;line-height:1.2}.category-select{background:var(--surface-2);color:var(--muted);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;padding:10px 12px;font-size:12px;font-weight:750;display:flex}.category-select select{color:var(--text);background:0 0;border:0;font-weight:750}.capture-actions{gap:10px;display:grid}.capture-primary,.capture-secondary{text-align:left;border:0;border-radius:16px;align-items:center;gap:15px;width:100%;min-height:70px;padding:14px 17px;display:flex}.capture-primary{background:var(--primary);color:#fff}.capture-secondary{background:var(--surface-2)}.capture-primary span,.capture-secondary span{gap:2px;display:grid}.capture-primary small,.capture-secondary small{color:inherit;opacity:.72;font-size:11px}.note-capture{gap:12px;display:grid}.note-capture>p{color:var(--muted);margin:-4px 2px 4px;font-size:12px}.textarea-wrap{position:relative}.textarea-wrap textarea,.detail-section textarea{resize:vertical;border:1px solid var(--line);background:var(--bg);border-radius:14px;width:100%;padding:14px 46px 14px 14px;line-height:1.5}.textarea-wrap button{background:var(--primary-soft);width:34px;height:34px;color:var(--primary-dark);border:0;border-radius:50%;place-items:center;display:grid;position:absolute;bottom:9px;right:9px}.listening{animation:1s infinite pulse}@keyframes pulse{50%{opacity:.5}}.photo-note-capture{gap:13px;display:grid}.capture-preview{object-fit:cover;background:var(--surface-2);border-radius:16px;width:100%;max-height:190px;display:block}.photo-note-capture label{margin:0 2px 7px;font-size:12px;font-weight:800;display:block}.photo-note-capture p{color:var(--muted);margin:6px 2px 0;font-size:11px;line-height:1.45}.photo-change-actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}.detail-page{z-index:45;background:var(--bg);position:fixed;inset:0;overflow:auto}.detail-topbar{z-index:2;background:var(--bg);justify-content:space-between;align-items:center;height:62px;padding:8px 14px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab,red,red)){.detail-topbar{background:color-mix(in srgb,var(--bg) 96%,transparent)}}.detail-topbar span{font-size:14px;font-weight:800}.detail-content{width:min(100%,820px);margin:0 auto;padding-bottom:40px}.detail-photo{aspect-ratio:1.3;background:#111;border:0;width:100%;padding:0;display:block;position:relative;overflow:hidden}.detail-photo img{object-fit:cover;width:100%;height:100%}.detail-photo span{color:#fff;background:#000000a6;border-radius:999px;align-items:center;gap:5px;padding:7px 10px;font-size:11px;font-weight:800;display:flex;position:absolute;bottom:13px;right:13px}.detail-body{padding:22px 18px}.meal-edit-fields>h1{letter-spacing:-.045em;margin:0;font-size:29px}.meal-edit-fields>label{color:var(--muted);gap:6px;font-size:12px;font-weight:750;display:grid}.meal-edit-fields>label input{border:0;border-bottom:1px solid var(--line);color:var(--text);background:0 0;padding:10px 0;font-size:24px;font-weight:750}.detail-meta{color:var(--muted);align-items:center;gap:9px;margin:7px 0 22px;font-size:12px;display:flex}.detail-meta span+span:before{content:"·";margin-right:9px}.inline-select{align-items:center;display:flex}.inline-select select{appearance:none;background:0 0;border:0;padding-right:18px}.inline-select svg{pointer-events:none;margin-left:-14px}.detail-section{border:1px solid var(--line);background:var(--surface);border-radius:18px;margin-top:14px;padding:19px}.detail-section h2{margin:0;font-size:17px}.source-badge.user{background:var(--amber-soft);color:var(--amber)}.nutrition-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:17px;display:grid}.nutrition-cell{background:var(--surface-2);border-radius:13px;padding:13px}.nutrition-cell>span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px;font-size:10px;font-weight:800;display:block}.nutrition-cell strong{font-size:23px}.nutrition-cell small{color:var(--muted);margin-left:3px;font-size:11px}.nutrition-cell div{align-items:baseline;display:flex}.nutrition-cell input{background:0 0;border:0;width:85px;font-size:22px;font-weight:800}.item-edit-hint{color:var(--muted);margin:7px 0 2px;font-size:11px;line-height:1.45}.food-items{margin-top:10px;display:grid}.food-items>div,.food-item-button{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;justify-content:space-between;align-items:flex-start;gap:15px;width:100%;padding:12px 0;font-size:12px;display:flex}.food-items>:last-child{border-bottom:0}.food-item-button{border-radius:9px;align-items:center}@media(hover:hover){.food-item-button:hover{color:var(--primary-dark)}}.food-item-copy{gap:3px;min-width:0;display:grid}.food-items small,.food-item-calories{color:var(--muted)}.food-item-calories{white-space:nowrap;padding-top:1px}.food-item-end{color:var(--primary);flex:none;align-items:center;gap:8px;display:flex}.food-items>div.item-editing{align-items:center;min-height:58px}.food-quantity-editor{align-items:center;gap:5px;margin-top:5px;display:flex}.food-quantity-editor button{background:var(--surface-2);width:29px;height:29px;color:var(--primary-dark);border:0;border-radius:9px;flex:none;place-items:center;padding:0;display:grid}.food-quantity-editor button:disabled{opacity:.4;cursor:default}.food-quantity-editor input{border:1px solid var(--line);background:var(--bg);text-align:center;border-radius:8px;width:52px;height:29px;padding:0 5px;font-size:12px;font-weight:800}.food-quantity-editor small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notes-head{justify-content:space-between;align-items:center;display:flex}.mini-icon-button{background:var(--primary-soft);width:34px;height:34px;color:var(--primary-dark);border:0;border-radius:50%;place-items:center;display:grid}.detail-section blockquote{border-left:3px solid var(--amber);margin:13px 0 0;padding-left:13px;font-family:Georgia,serif;line-height:1.5}.detail-section textarea{margin-top:13px;padding-right:14px}.subtle-action{color:var(--primary-dark);background:0 0;border:0;margin-top:11px;padding:0;font-weight:800}.detail-body>.primary-button{margin-top:14px}.detail-action-status{color:var(--primary);margin-left:auto}.danger{color:var(--danger)!important}.spin{animation:.8s linear infinite rotate}@keyframes rotate{to{transform:rotate(360deg)}}.food-action-backdrop{z-index:85}.food-action-sheet{max-width:460px}.food-action-summary{background:var(--surface-2);border-radius:15px;align-items:center;gap:13px;margin:2px 0 15px;padding:12px;display:flex}.food-action-summary img,.food-action-placeholder{object-fit:cover;border-radius:16px;flex:none;width:58px;height:58px}.food-action-placeholder{background:var(--primary);color:#fff;place-items:center;font-size:24px;font-weight:850;display:grid}.food-action-summary div,.pantry-saved-message span{gap:3px;display:grid}.food-action-summary small,.pantry-saved-message small{color:var(--muted);font-size:11px}.food-action-copy{color:var(--muted);margin:0 2px 17px;font-size:13px;line-height:1.5}.pantry-saved-message{background:var(--primary-soft);color:var(--primary-dark);border-radius:14px;align-items:center;gap:11px;margin-bottom:16px;padding:13px;display:flex}.pantry-saved-message svg{flex:none}.photo-viewer{z-index:70;background:#060806;place-items:center;display:grid;position:fixed;inset:0;overflow:auto}.photo-viewer button{z-index:2;color:#fff;background:#ffffff24;border:0;border-radius:50%;place-items:center;width:46px;height:46px;display:grid;position:fixed;top:15px;right:15px}.photo-viewer img{object-fit:contain;touch-action:none;max-width:100%;max-height:100%}.confirm-backdrop{z-index:80;align-items:center}.confirm-dialog{background:var(--surface);border-radius:21px;width:min(100%,400px);padding:23px;box-shadow:0 20px 80px #0000004d}.confirm-dialog h2{margin:0 0 7px;font-size:22px}.confirm-dialog p{color:var(--muted);margin:0 0 22px;font-size:14px;line-height:1.55}.confirm-dialog>div{justify-content:flex-end;gap:9px;display:flex}.confirm-dialog button{background:var(--surface-2);border:0;border-radius:12px;min-height:42px;padding:0 14px;font-weight:800}.confirm-dialog .delete-button{background:var(--danger);color:#fff}.segmented{background:var(--surface-2);border-radius:13px;padding:4px;display:flex}.segmented button{width:40px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:10px;place-items:center;display:grid}.segmented button.active{background:var(--surface);color:var(--primary-dark);box-shadow:var(--shadow)}.search-box{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:14px;align-items:center;gap:10px;margin-bottom:23px;padding:0 14px;display:flex}.search-box input{background:0 0;border:0;outline:0;width:100%;height:48px}.history-days{gap:34px;display:grid}.history-day{content-visibility:auto;contain-intrinsic-block-size:auto 720px;min-width:0;margin:-20px -16px -34px;padding:20px 16px 34px}.day-heading{justify-content:space-between;align-items:flex-end;gap:13px;margin-bottom:12px;display:flex}.day-heading h2{letter-spacing:-.03em;margin:0;font-size:21px}.day-heading>p{text-align:right;margin:0;font-size:12px;display:grid}.day-heading>p span{color:var(--muted);font-size:10px}.calendar-card{padding:18px 13px}.calendar-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.calendar-head h2{margin:0;font-size:18px}.calendar-head button{background:var(--surface-2);border:0;border-radius:50%;width:40px;height:40px;font-size:25px}.weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.weekdays span{text-align:center;color:var(--muted);padding:7px 0;font-size:10px;font-weight:800}.calendar-grid>button{background:0 0;border:1px solid #0000;border-radius:11px;align-content:start;gap:3px;min-height:64px;padding:7px 3px;font-size:12px;display:grid;position:relative;overflow:hidden}.calendar-grid>button.today{border-color:var(--primary)}.calendar-grid>button.has-data{background:var(--primary-soft)}.calendar-grid>button.hit{background:var(--amber-soft)}.calendar-grid small{font-size:8px;font-weight:750}.calendar-grid i{background:linear-gradient(to right,var(--primary) var(--fill),var(--surface-2) var(--fill));border-radius:5px;height:3px;position:absolute;bottom:4px;left:4px;right:4px}.calendar-key{color:var(--muted);justify-content:center;gap:18px;margin-top:14px;font-size:10px;display:flex}.calendar-key span{align-items:center;gap:5px;display:flex}.calendar-key i{background:var(--primary-soft);border-radius:3px;width:9px;height:9px}.calendar-key i.reached{background:var(--amber-soft)}.selected-day{margin-top:26px}.no-day-meals{border:1px dashed var(--line);text-align:center;color:var(--muted);border-radius:16px;padding:30px}.progress-hero{background:var(--primary);color:#fff;box-shadow:0 10px 28px var(--primary);border-radius:20px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:13px;padding:21px;display:flex}@supports (color:color-mix(in lab,red,red)){.progress-hero{box-shadow:0 10px 28px color-mix(in srgb,var(--primary) 25%,transparent)}}.progress-hero .eyebrow{color:#ffffffb8}.progress-hero h2{letter-spacing:-.04em;margin:0;font-size:27px}.progress-hero h2 small{font-size:12px}.progress-hero h2 span{opacity:.8;margin-top:3px;font-size:13px;font-weight:600;display:block}.progress-hero p:last-child{align-items:center;gap:4px;margin:12px 0 0;font-size:11px;display:flex}.weight-progress-ring{background:conic-gradient(#fff var(--progress),#fff3 0);border-radius:50%;flex:none;place-items:center;width:74px;height:74px;display:grid;position:relative}.weight-progress-ring:before{content:"";background:var(--primary);border-radius:50%;width:58px;height:58px;position:absolute}.weight-progress-ring span{font-size:12px;font-weight:850;position:relative}.metric-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:13px;display:grid}.metric-grid>div{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:16px;display:grid}.metric-grid span{color:var(--muted);font-size:10px;font-weight:750}.metric-grid strong{letter-spacing:-.035em;margin:5px 0 2px;font-size:24px}.metric-grid strong small{font-size:11px}.metric-grid>div>small{color:var(--muted);font-size:9px}.chart-card,.consistency-card{margin-bottom:13px;padding:19px}.weight-chart{width:100%;height:210px;margin-top:9px;display:block}.chart-empty{min-height:170px;color:var(--muted);text-align:center;place-items:center;margin:10px 0 0;font-size:12px;display:grid}.trend-pill{color:var(--primary-dark);align-items:center;gap:3px;display:flex}.chart-context{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:13px;font-size:9px;font-weight:700;display:flex}.chart-context span:last-child{white-space:nowrap;align-items:center;gap:5px;display:flex}.chart-context i{background:var(--primary);border-radius:3px;width:8px;height:8px}.consistency-chart{grid-template-columns:32px minmax(0,1fr);gap:8px;margin-top:9px;display:grid}.consistency-axis{height:116px;color:var(--muted);text-align:right;flex-direction:column;justify-content:space-between;margin-top:20px;font-size:8px;font-weight:700;display:flex}.consistency-plot{min-width:0;position:relative}.consistency-gridlines{pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:20px 0 24px}.consistency-gridlines i{border-top:1px solid var(--line);display:block}.consistency-bars{grid-template-columns:repeat(7,1fr);gap:8px;height:160px;display:grid;position:relative}.consistency-bars>div{text-align:center;grid-template-rows:136px 16px;align-items:end;gap:8px;display:grid}.consistency-bar-track{align-self:end;height:116px;position:relative}.consistency-bar-track strong{bottom:calc(var(--value) + 4px);color:var(--muted);font-size:8px;font-weight:750;position:absolute;left:50%;transform:translate(-50%)}.consistency-bar-track span{height:var(--value);background:var(--blue-soft);border-radius:7px 7px 3px 3px;min-height:6px;position:absolute;bottom:0;left:0;right:0}.consistency-bar-track span.hit{background:var(--primary)}.consistency-bar-track span.empty{background:0 0;min-height:0}.consistency-bars small{color:var(--muted);font-size:9px;font-weight:800}.avatar{background:var(--primary);color:#fff;border-radius:15px;place-items:center;width:44px;height:44px;font-weight:850;display:grid}.avatar.large{border-radius:19px;width:58px;height:58px;font-size:20px}.profile-identity{align-items:center;gap:14px;padding:17px;display:flex}.profile-identity h2{margin:0 0 3px;font-size:19px}.profile-identity p{color:var(--muted);margin:0;font-size:12px}.settings-section{margin-top:26px}.settings-section>.eyebrow{margin:0 0 8px 3px}.settings-card{overflow:hidden}.settings-card>button,.setting-row{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;align-items:center;gap:13px;width:100%;min-height:65px;padding:12px 15px;display:flex}.settings-card>button:last-child,.setting-row:last-child{border:0}.settings-card>button>span,.setting-row>span{flex:1;gap:2px;display:grid}.settings-card small,.setting-row small{color:var(--muted);font-size:11px}.settings-form{border-bottom:1px solid var(--line);background:var(--bg);padding:15px}.form-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.form-grid label,.field-label{color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.form-grid input,.form-grid select,.field-label input{border:1px solid var(--line);background:var(--surface);width:100%;height:43px;color:var(--text);border-radius:10px;padding:0 10px}.settings-form .primary-button{margin-top:13px}.setting-row>select{background:var(--surface-2);border:0;border-radius:9px;max-width:100px;padding:7px;font-size:11px}.switch input{opacity:0;position:absolute}.switch i{background:var(--muted);border-radius:20px;width:42px;height:24px;padding:3px;display:block}@supports (color:color-mix(in lab,red,red)){.switch i{background:color-mix(in srgb,var(--muted) 30%,var(--surface-2))}}.switch input:disabled+i{opacity:.45}.switch input:focus-visible+i{outline:3px solid var(--primary)}@supports (color:color-mix(in lab,red,red)){.switch input:focus-visible+i{outline:3px solid color-mix(in srgb,var(--primary) 45%,transparent)}}.switch input:focus-visible+i{outline-offset:2px}.switch i:after{content:"";background:var(--surface);border-radius:50%;width:18px;height:18px;transition:all .2s;display:block;box-shadow:0 1px 4px #00000026}.switch input:checked+i{background:var(--primary)}.switch input:checked+i:after{transform:translate(18px)}.category-manager{padding:15px}.category-manager>.category-add{gap:7px;display:flex}.category-manager input{border:1px solid var(--line);background:var(--bg);border-radius:11px;flex:1;min-width:0;height:43px;padding:0 11px}.category-add>button{background:var(--primary);color:#fff;border:0;border-radius:11px;flex:none;place-items:center;width:43px;display:grid}.settings-footnote{color:var(--muted);text-align:center;margin:23px 13px 0;font-size:11px;line-height:1.5}.profile-action-message{background:var(--primary-soft);color:var(--primary-dark);border-radius:11px;margin:10px 3px 0;padding:10px 12px;font-size:12px;line-height:1.4}.weight-sheet{gap:15px;display:grid}.weight-input-wrap{background:var(--primary-soft);color:var(--primary-dark);border-radius:17px;justify-content:center;align-items:center;gap:10px;padding:22px 16px;display:flex}.weight-input-wrap input{border:0;border-bottom:2px solid var(--primary);width:130px}@supports (color:color-mix(in lab,red,red)){.weight-input-wrap input{border-bottom:2px solid color-mix(in srgb,var(--primary) 40%,transparent)}}.weight-input-wrap input{text-align:center;letter-spacing:-.05em;background:0 0;font-size:40px;font-weight:800}.weight-input-wrap strong{color:var(--muted)}.weight-sheet .field-label{font-size:11px}.weight-sheet .field-label input{background:var(--bg)}.auth-shell{background:radial-gradient(circle at 50% 0%,var(--primary-soft),transparent 42%),var(--bg);flex-direction:column;align-items:center;min-height:100vh;padding:25px 18px;display:flex}.onboard-footnote{color:var(--muted);font-size:10px}body:has(.auth-shell){min-width:0}.auth-shell{background:radial-gradient(ellipse at 50% 0%,var(--primary-soft),transparent 65%),var(--bg);justify-content:center;gap:20px;min-height:100svh;padding:32px 20px}@supports (color:color-mix(in lab,red,red)){.auth-shell{background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--primary-soft) 70%,var(--bg)),transparent 65%),var(--bg)}}.auth-brand{color:var(--text);letter-spacing:-.055em;align-items:center;gap:10px;font-size:25px;font-weight:600;display:flex}.auth-card{border:1px solid var(--line);width:min(100%,440px);padding:30px}@supports (color:color-mix(in lab,red,red)){.auth-card{border:1px solid color-mix(in srgb,var(--line) 70%,transparent)}}.auth-card{background:var(--surface);box-shadow:0 16px 48px #283a2c0f,0 2px 5px #283a2c06}.auth-heading{margin-bottom:22px}:root{--nb-cover:#cfae84;--nb-cover-inside:#dcc4a2;--nb-back:#a9855b;--nb-paper:#fbf8f0;--nb-page-line:#d9d0bf;--sticker:var(--primary-soft)}@supports (color:color-mix(in lab,red,red)){:root{--sticker:color-mix(in srgb, var(--primary-soft) 45%, #fffdf8)}}:root{--sticker-edge:#fffefa;--sticker-back:#e9e3d6;--sticker-back-tip:var(--sticker-edge);--sticker-gloss:#fff9;--nb-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--nb-coil:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='36'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fbfcfd'/%3E%3Cstop offset='.45' stop-color='%23b5bcc2'/%3E%3Cstop offset='1' stop-color='%23565e65'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(0 5)'%3E%3Ccircle cx='30' cy='15' r='4.4' fill='%232a1d12' fill-opacity='.8'/%3E%3Cpath d='M14 18.5C8 18.5 2.5 16 4 10' fill='none' stroke='%236b7379' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M30.5 17C25 5.5 11 3 5 8' fill='none' stroke='%23000' stroke-opacity='.22' stroke-width='3.6' stroke-linecap='round' transform='translate(1 2)'/%3E%3Cpath d='M30.5 16C25 4.5 11 2 4.5 8.5' fill='none' stroke='url(%23m)' stroke-width='3.4' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E")}:root[data-theme=dark]{--nb-cover:#6b5238;--nb-cover-inside:#5a4530;--nb-back:#4a3826;--nb-paper:#2b2620;--nb-page-line:#1c1814;--sticker:#2c3a30;--sticker-edge:#4d5c4f;--sticker-back:#8f877a;--sticker-back-tip:#b5ad9f;--sticker-gloss:#ffffff12}.auth-card{--text:#2b2016;--muted:#45331f;--line:#5a3e2247;--surface:var(--nb-paper);--surface-2:#5a3e2224;--primary-dark:#2f4a36;border-radius:var(--radius-sheet);corner-shape:squircle;color:var(--text);background:var(--nb-grain),linear-gradient(135deg,#ffffff24,transparent 45%,#3c230a14),var(--nb-cover);box-shadow:inset 0 1px #ffffff4d,inset 0 -1px #3c230a1f,1px 3px 0 -1px var(--nb-paper),1px 4px 0 -1px var(--nb-page-line),2px 6px 0 -1px var(--nb-paper),2px 7px 0 -1px var(--nb-page-line),2px 10px 0 -1px var(--nb-back),0 22px 44px #3c281433,0 4px 10px #3c28141a;border:0;padding-left:50px;position:relative}.auth-card:before{content:"";pointer-events:none;background:var(--nb-coil) center top / 44px 36px space;width:44px;position:absolute;top:26px;bottom:26px;left:-14px}:root[data-theme=dark] .auth-card{--text:#f4ebdf;--muted:#dccab3;--line:#ffebcd33;--surface-2:#0003;--primary-dark:#c3ddc6}.auth-card h1{letter-spacing:-.045em;margin:0;font-size:clamp(28px,6.7vw,32px);font-weight:600;line-height:1.18}.auth-card h1:focus{outline:none}.auth-heading p,.auth-card>p{color:var(--muted);margin:9px 0 0;font-size:15px;font-weight:400;line-height:1.55}.auth-social{grid-auto-columns:1fr;grid-auto-flow:column;gap:10px;margin-bottom:10px;display:grid}.social-button{border:1px solid var(--line);background:var(--surface);justify-content:center;align-items:center;gap:10px;width:100%;min-height:50px;padding:12px 16px;font-size:15px;font-weight:500;display:flex}.auth-divider{color:var(--muted);align-items:center;gap:14px;margin:20px 0;font-size:13px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.auth-card form{gap:20px;display:grid}.auth-field{gap:8px;min-width:0;display:grid}.auth-card form label{color:var(--text);font-size:14px;font-weight:500;line-height:20px;display:block}.auth-card input{border:1px solid var(--muted);width:100%;min-width:0;height:54px;padding:0 15px;display:block}@supports (color:color-mix(in lab,red,red)){.auth-card input{border:1px solid color-mix(in srgb,var(--muted) 24%,var(--line))}}.auth-card input{background:var(--surface)}@supports (color:color-mix(in lab,red,red)){.auth-card input{background:color-mix(in srgb,var(--surface) 65%,var(--bg))}}.auth-card input{letter-spacing:normal;font-size:16px;font-weight:400;line-height:1.5;transition:border-color .15s,box-shadow .15s}.auth-card input::placeholder{color:var(--muted);opacity:.8;font-size:16px;font-weight:400}.auth-card input:focus{border-color:var(--primary);background:var(--surface);outline:2px solid var(--primary)}@supports (color:color-mix(in lab,red,red)){.auth-card input:focus{outline:2px solid color-mix(in srgb,var(--primary) 22%,transparent)}}.auth-card input:focus{outline-offset:1px}.auth-label-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.auth-text-button{min-height:44px;color:var(--primary-dark);text-underline-offset:3px;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:8px 0;font-size:13px;font-weight:500;-webkit-text-decoration:underline #0000;text-decoration:underline #0000;display:inline-flex}.auth-label-row .auth-text-button{margin-top:-12px;margin-bottom:-12px}.auth-password-field{position:relative}.auth-password-field input{padding-right:56px}.auth-password-toggle{width:44px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid;position:absolute;top:5px;right:5px}.auth-hint{color:var(--muted);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:400;line-height:1.5;display:flex}.auth-submit{border-radius:var(--radius-control);corner-shape:squircle;background:var(--primary-dark);width:100%;min-height:54px;color:var(--surface);border:0;justify-content:center;align-items:center;gap:10px;padding:13px 18px;font-size:16px;font-weight:550;transition:transform .15s,filter .15s;display:flex}.auth-submit:active:not(:disabled){transform:scale(.985)}a.auth-submit{text-decoration:none}.auth-submit:disabled{cursor:default}.auth-card .auth-help{color:var(--muted);text-align:center;margin:16px 0 -10px;font-size:14px;line-height:1.6}.auth-help .auth-text-button{font-size:14px;font-weight:550}.auth-message .auth-inline-link{min-height:0;color:inherit;font-size:inherit;padding:0;font-weight:600;text-decoration-color:currentColor}.auth-privacy{color:var(--muted);justify-content:center;align-items:center;gap:7px;margin:0;font-size:12px;line-height:1.5;display:flex}.auth-back{min-height:44px;color:var(--primary-dark);background:0 0;border:0;border-radius:4px;align-items:center;gap:8px;margin:-10px 0 12px;padding:8px 0;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.auth-message{border:1px solid var(--danger);align-items:flex-start;gap:9px;margin:0;padding:12px;display:flex}@supports (color:color-mix(in lab,red,red)){.auth-message{border:1px solid color-mix(in srgb,var(--danger) 22%,transparent)}}.auth-message{background:var(--danger);border-radius:12px}@supports (color:color-mix(in lab,red,red)){.auth-message{background:color-mix(in srgb,var(--danger) 6%,var(--surface))}}.auth-message{color:var(--danger);overflow-wrap:anywhere;font-size:14px;line-height:1.5}.auth-message svg,.auth-config-message svg,.auth-privacy svg{flex:none;margin-top:1px}.auth-message-info{color:var(--primary-dark);background:var(--primary-soft);border-color:#0000}.auth-success-icon{width:58px;height:58px;color:var(--primary-dark);background:var(--primary-soft);border-radius:18px;place-items:center;margin-bottom:18px;display:grid}.auth-sent{color:var(--muted);margin:-8px 0 24px;font-size:15px;line-height:1.6}.auth-sent strong{color:var(--text);overflow-wrap:anywhere;margin:14px 0 18px;font-weight:550;display:block}.auth-sent .auth-hint{display:block}.auth-preview-note{color:var(--primary-dark);font-size:13px}.auth-edit-email{margin:6px auto -10px;display:flex}.auth-sent+.auth-message{margin-bottom:16px}.auth-config-message{border:1px solid var(--line);color:var(--muted);background:var(--bg);align-items:flex-start;gap:12px;padding:16px;display:flex}.auth-config-message strong{color:var(--text);font-size:15px;font-weight:550}.auth-config-message p{margin:6px 0 0;font-size:14px;line-height:1.5}.auth-spinner{animation:1s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}@media(hover:hover){.auth-text-button:hover{text-decoration-color:currentColor}.social-button:hover,.auth-password-toggle:hover{background:var(--surface-2)}.auth-submit:hover:not(:disabled){filter:brightness(1.08)}}@media(max-width:480px){.auth-shell{padding:max(20px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));gap:18px}.auth-card:before{left:-16px}.auth-brand{font-size:23px}.auth-heading{margin-bottom:20px}}@media(prefers-reduced-motion:reduce){.auth-spinner{animation:none}.auth-submit,.auth-card input{transition:none}}.auth-card{padding:32px 28px 28px 56px}.auth-card .auth-heading{margin-bottom:24px;padding:21px 23px}:is(.auth-card .auth-heading,.nb-sticker){--peel:24px;isolation:isolate;filter:drop-shadow(0 1px .5px #3c28144d)drop-shadow(0 3px 4px #3c281424);position:relative;rotate:-1.2deg}:is(.auth-card .auth-heading,.nb-sticker):before,:is(.auth-card .auth-heading,.nb-sticker):after{content:"";z-index:-1;pointer-events:none;position:absolute}:is(.auth-card .auth-heading,.nb-sticker):before{border:5px solid var(--sticker-edge);border-radius:var(--radius-inset);corner-shape:squircle;background:radial-gradient(circle at calc(100% - var(--peel) + 4px) calc(100% - var(--peel) + 4px),#3c281438 3px,transparent 8px),linear-gradient(118deg,var(--sticker-gloss),transparent 38%),var(--sticker);clip-path:polygon(0 0,100% 0,100% calc(100% - var(--peel)),calc(100% - var(--peel)) 100%,0 100%);background-origin:border-box;border-bottom-right-radius:0;inset:0}:is(.auth-card .auth-heading,.nb-sticker):after{width:var(--peel);height:var(--peel);background:linear-gradient(to top left,var(--sticker-back) 40%,var(--sticker-back-tip));clip-path:polygon(0 0,100% 0,0 100%);border-top-left-radius:7px;bottom:0;right:0}.auth-card form{gap:16px}.auth-card form>.auth-submit{margin-top:8px}.auth-card .auth-divider{margin:18px 0}.auth-card .social-button{border-color:var(--line);background:var(--nb-paper);color:var(--text)}.auth-card .auth-submit{box-shadow:0 5px 14px var(--primary-dark)}@supports (color:color-mix(in lab,red,red)){.auth-card .auth-submit{box-shadow:0 5px 14px color-mix(in srgb,var(--primary-dark) 24%,transparent)}}.auth-card .auth-submit:active:not(:disabled){transform:none}:root[data-theme=dark] .auth-card .auth-submit{box-shadow:0 5px 14px #0000004d}.auth-swap{display:grid}.auth-swap>*{grid-area:1/1}.auth-submit .auth-swap{justify-items:center}.auth-submit-content{align-items:center;gap:10px;display:inline-flex}.auth-card .auth-field{gap:6px;position:relative}.auth-card .auth-field>label{z-index:1;max-width:calc(100% - 64px);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;transform-origin:0 0;transition:transform var(--motion-base) var(--motion-ease),color var(--motion-fast) ease;font-size:16px;font-weight:400;line-height:24px;position:absolute;top:16px;left:16px;overflow:hidden}.auth-card .auth-field:has(input:focus,input:not(:placeholder-shown))>label{transform:translateY(-9px)scale(.75)}.auth-card .auth-field:has(input:-webkit-autofill)>label{transform:translateY(-9px)scale(.75)}.auth-card .auth-field:has(input:focus)>label{color:var(--primary-dark)}.auth-card .auth-field input{border:1px solid var(--line);background:var(--nb-paper);height:56px;color:var(--text);padding:22px 15px 6px}.auth-card .auth-field input:focus{border-color:var(--primary);background:var(--nb-paper);outline:3px solid var(--primary)}@supports (color:color-mix(in lab,red,red)){.auth-card .auth-field input:focus{outline:3px solid color-mix(in srgb,var(--primary) 24%,transparent)}}.auth-card .auth-field input:focus{outline-offset:0}.auth-card .auth-field input::placeholder{color:#0000}.auth-card .auth-field input:focus::placeholder{color:var(--muted);opacity:.7}.auth-card .auth-field input:user-invalid{border-color:var(--danger)}.auth-card .auth-password-toggle{top:6px;right:6px}.auth-card .auth-field .auth-hint{padding:0 16px}@media(hover:hover)and (pointer:fine){.auth-card .social-button:hover:not(:disabled){border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.auth-card .social-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--primary) 35%,var(--line))}}.auth-card .social-button:hover:not(:disabled){background:var(--nb-paper);box-shadow:0 4px 12px #3c281414}.auth-card .auth-submit:hover:not(:disabled){box-shadow:0 4px 12px var(--primary-dark)}@supports (color:color-mix(in lab,red,red)){.auth-card .auth-submit:hover:not(:disabled){box-shadow:0 4px 12px color-mix(in srgb,var(--primary-dark) 28%,transparent)}}.auth-card .auth-field input:hover:not(:focus){border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.auth-card .auth-field input:hover:not(:focus){border-color:color-mix(in srgb,var(--primary) 35%,var(--line))}}}@media(max-width:480px){.auth-card{padding:24px 20px 24px 44px}.auth-card .auth-heading{margin-bottom:20px;padding:19px 21px}}@media(prefers-reduced-motion:reduce){.auth-card .auth-field>label{transition:none}}.splash-screen{min-height:100svh;padding:max(28px,env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom));isolation:isolate;background:var(--bg);text-align:center;place-items:center;display:grid;position:relative;overflow:hidden}.splash-glow{z-index:-1;aspect-ratio:1;filter:blur(2px);opacity:.66;border-radius:50%;width:min(76vw,560px);animation:7s ease-in-out infinite alternate splash-drift;position:absolute}.splash-glow-one{background:radial-gradient(circle,var(--primary-soft),transparent 69%);top:-34%;right:-27%}.splash-glow-two{background:radial-gradient(circle,var(--amber-soft),transparent 68%);animation-delay:-3.5s;bottom:-38%;left:-30%}.splash-brand{animation:.65s cubic-bezier(.2,.75,.2,1) both splash-arrive;transform:translateY(-3vh)}.splash-logo{place-items:center;width:82px;height:82px;margin:0 auto 25px;display:grid;position:relative}.splash-logo img{width:70px;height:70px;box-shadow:0 12px 34px var(--primary),0 2px 6px #1f282017;border-radius:20px;display:block;position:relative}@supports (color:color-mix(in lab,red,red)){.splash-logo img{box-shadow:0 12px 34px color-mix(in srgb,var(--primary) 19%,transparent),0 2px 6px #1f282017}}.splash-logo-ring{border:1px solid var(--primary);position:absolute;inset:0}@supports (color:color-mix(in lab,red,red)){.splash-logo-ring{border:1px solid color-mix(in srgb,var(--primary) 28%,transparent)}}.splash-logo-ring{border-radius:28px;animation:2.4s ease-in-out infinite splash-ring}.splash-kicker{color:var(--primary);letter-spacing:.18em;text-transform:uppercase;margin:0 0 7px;font-size:10px;font-weight:850}.splash-brand h1{letter-spacing:-.06em;margin:0;font-size:clamp(38px,11vw,50px);font-weight:760;line-height:1}.splash-tagline{color:var(--muted);letter-spacing:.01em;margin:11px 0 0;font-family:Georgia,serif;font-size:14px}.splash-status{bottom:max(42px,calc(env(safe-area-inset-bottom) + 28px));width:min(180px,52vw);animation:.5s ease-out .2s both splash-status-in;position:absolute;left:50%;transform:translate(-50%)}.splash-status p{color:var(--muted);letter-spacing:.04em;margin:9px 0 0;font-size:9px;font-weight:700}.splash-progress{background:var(--primary);border-radius:99px;height:3px;display:block;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.splash-progress{background:color-mix(in srgb,var(--primary) 13%,transparent)}}.splash-progress i{border-radius:inherit;background:var(--primary);width:46%;height:100%;animation:1.35s ease-in-out infinite splash-progress;display:block}@keyframes splash-arrive{0%{opacity:0;transform:translateY(calc(8px - 3vh))scale(.985)}}@keyframes splash-status-in{0%{opacity:0;transform:translate(-50%,5px)}}@keyframes splash-ring{0%,to{opacity:.32;transform:scale(.92)}50%{opacity:.75;transform:scale(1.06)}}@keyframes splash-progress{0%{transform:translate(-110%)}55%,to{transform:translate(225%)}}@keyframes splash-drift{to{transform:translate(3%,2%)scale(1.06)}}.offline-bar{z-index:40;color:#fff;background:#6e5c3d;justify-content:center;align-items:center;gap:7px;min-height:32px;padding:6px 12px;font-size:11px;font-weight:750;display:flex;position:sticky;top:0}.notification-button{transition:color .18s,background .18s}.notification-button.active{background:var(--primary-soft);color:var(--primary-dark)}.notification-sheet{gap:14px;display:grid}.notification-sheet .sheet-head{margin-bottom:0}.notification-status-card{border:1px solid var(--line);background:var(--surface-2);border-radius:16px;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;height:70px;padding:13px;display:grid}.notification-status-card.enabled{border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.notification-status-card.enabled{border-color:color-mix(in srgb,var(--primary) 32%,var(--line))}}.notification-status-card.enabled{background:var(--primary-soft)}.notification-status-card>div{background:var(--surface);width:42px;height:42px;color:var(--muted);border-radius:13px;place-items:center;display:grid}.notification-status-card.enabled>div,.notification-status-card.enabled>svg{color:var(--primary-dark)}.notification-status-card>span{gap:3px;min-width:0;display:grid}.notification-status-card strong{font-size:15px}.notification-status-card small{color:var(--muted);font-size:13px;line-height:1.4}.notification-options{border:1px solid var(--line);background:var(--surface);border-radius:17px;overflow:hidden}.notification-options>.eyebrow{padding:13px 14px 7px}.notification-options>label{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;min-height:64px;padding:11px 14px;display:flex}.notification-options>label>span:first-child{gap:3px;display:grid}.notification-options strong{font-size:15px}.notification-options small{color:var(--muted);font-size:12px;line-height:1.4}.notification-feedback{place-items:center;height:58px;display:grid}.notification-message{background:var(--danger);border-radius:11px;align-items:flex-start;gap:6px;width:100%;margin:0;padding:9px 11px;display:flex}@supports (color:color-mix(in lab,red,red)){.notification-message{background:color-mix(in srgb,var(--danger) 9%,var(--surface))}}.notification-message{color:var(--danger);font-size:12px;line-height:1.4}.notification-message svg{flex:none;margin-top:1px}.notification-message.success,.capture-secondary.pantry-entry{background:var(--primary-soft);color:var(--primary-dark)}.analysis-wait{text-align:center;place-items:center;min-height:320px;padding:34px 20px;display:grid}.analysis-wait h3{margin:20px 0 7px;font-size:20px}.analysis-wait p{max-width:360px;color:var(--muted);margin:0;font-size:13px;line-height:1.55}.analysis-wait.failed>div{background:var(--danger);border-radius:18px;place-items:center;width:54px;height:54px;display:grid}@supports (color:color-mix(in lab,red,red)){.analysis-wait.failed>div{background:color-mix(in srgb,var(--danger) 12%,var(--surface))}}.analysis-wait.failed>div{color:var(--danger)}.analysis-wait.failed .primary-button{margin-top:22px}.analysis-spinner{place-items:center;width:64px;height:64px;display:grid;position:relative}.analysis-ring{background:conic-gradient(transparent 15%,var(--primary));border-radius:50%;animation:1.1s linear infinite analysis-spin;position:absolute;inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 calc(100% - 2.5px))}.analysis-ring:after{content:"";background:var(--primary);border-radius:50%;width:3px;height:3px;margin-left:-1.5px;position:absolute;top:0;left:50%}.analysis-food{width:30px;height:30px;color:var(--primary)}.analysis-wait.analyzing{align-content:center}.analysis-wait.analyzing h3{letter-spacing:-.02em;margin:22px 0 5px;font-size:17px;font-weight:700}.analysis-wait .analysis-step{color:var(--muted)}.analysis-wait .analysis-close-hint{max-width:290px;color:var(--muted);margin:26px auto 0;font-size:12px;line-height:1.45}@keyframes analysis-spin{to{rotate:360deg}}@keyframes analysis-caption{0%{opacity:0;translate:0 4px}}@media(prefers-reduced-motion:no-preference){.analysis-step{animation:analysis-caption .36s var(--motion-ease) both}}@media(prefers-reduced-motion:reduce){.analysis-ring{animation:none}}.analysis-result{gap:14px;display:grid}.analysis-summary{background:var(--surface-2);border-radius:16px;grid-template-columns:60px minmax(0,1fr) 34px;align-items:center;gap:12px;padding:10px;display:grid}.analysis-summary>img{object-fit:cover;border-radius:13px;width:60px;height:60px}.analysis-summary>div{gap:3px;min-width:0;display:grid}.analysis-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.analysis-summary span{color:var(--muted);font-size:11px}.analysis-summary>i{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-style:normal;display:grid}.pantry-toggle-row{border:1px solid var(--line);background:var(--surface);border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:15px 14px;display:flex}.pantry-toggle-row>span:first-child{gap:3px;display:grid}.pantry-toggle-row strong{font-size:13px}.pantry-toggle-row small{color:var(--muted);font-size:11px;line-height:1.35}.candidate-intro{gap:3px;margin-top:2px;display:grid}.candidate-intro strong{font-size:13px}.candidate-intro span{color:var(--muted);font-size:10px}.pantry-candidates{gap:8px;display:grid}.pantry-candidates>label{border:1px solid var(--line);opacity:.55;background:var(--bg);border-radius:15px;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:11px;min-height:67px;padding:8px 11px;display:grid;position:relative}.pantry-candidates>label.selected{border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.pantry-candidates>label.selected{border-color:color-mix(in srgb,var(--primary) 55%,var(--line))}}.pantry-candidates>label.selected{opacity:1;background:var(--primary-soft)}.pantry-candidates>label>input{accent-color:var(--primary);position:absolute;top:7px;right:8px}.candidate-sticker{background:var(--surface-2);border:4px solid #fff;border-radius:42% 58% 48% 52%/55% 45%;width:50px;height:50px;display:block;overflow:hidden;transform:rotate(-2deg);box-shadow:0 3px 10px #1c261e1f}.candidate-sticker img{object-fit:cover;width:100%;height:100%}.pantry-candidates>label>span:last-child{gap:4px;min-width:0;display:grid}.candidate-name{border:0;border-bottom:1px solid var(--primary);width:calc(100% - 25px);padding:0 0 3px}@supports (color:color-mix(in lab,red,red)){.candidate-name{border-bottom:1px solid color-mix(in srgb,var(--primary) 30%,transparent)}}.candidate-name{background:0 0;font-size:12px;font-weight:800}.pantry-candidates small{color:var(--muted);font-size:10px}.pantry-error{color:var(--danger);margin:0;font-size:11px;line-height:1.4}.pantry-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:-5px 0 12px;display:flex}.pantry-back,.pantry-toolbar>button{min-height:36px;color:var(--primary-dark);background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:11px;font-weight:800;display:inline-flex}.pantry-toolbar>button:last-child{background:var(--surface-2);border-radius:10px;padding:0 10px}.pantry-toolbar>button.active{background:var(--primary-soft)}.pantry-search-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:15px;display:grid}.pantry-search-row>label{border:1px solid var(--line);background:var(--bg);height:44px;color:var(--muted);border-radius:13px;align-items:center;gap:8px;padding:0 11px;display:flex}.pantry-search-row input{background:0 0;border:0;outline:0;width:100%;min-width:0}.pantry-search-row label button{color:var(--muted);background:0 0;border:0;place-items:center;padding:4px;display:grid}.pantry-sort{border:1px solid var(--line);background:var(--surface);min-width:76px;color:var(--primary-dark);border-radius:13px;align-items:center;gap:5px;padding:0 9px;display:flex}.pantry-sort span{font-size:10px;font-weight:800}.pantry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-bottom:76px;display:grid}.pantry-card{min-width:0;position:relative}.pantry-card-main{text-align:center;background:0 0;border:1px solid #0000;border-radius:17px;width:100%;min-width:0;padding:10px 6px 9px}.pantry-card-main.selected{border-color:var(--primary);background:var(--primary-soft)}.pantry-card-main.managing{background:var(--surface-2)}.pantry-card-main>strong,.pantry-card-main>small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.pantry-card-main>strong{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;min-height:2.5em;margin-top:6px;font-size:11px;line-height:1.25;display:-webkit-box}.pantry-card-main>small{color:var(--muted);margin-top:2px;font-size:10px}.pantry-sticker{aspect-ratio:1;filter:drop-shadow(0 5px 7px #1e271f21);place-items:center;width:min(100%,96px);margin:auto;display:grid;position:relative}.pantry-sticker img{object-fit:cover;border:5px solid #fff;border-radius:47% 53% 42% 58%/53% 44% 56% 47%;width:100%;height:100%}.pantry-card:nth-child(3n+2) .pantry-sticker{transform:rotate(2deg)}.pantry-card:nth-child(3n) .pantry-sticker{transform:rotate(-2deg)}.pantry-sticker i{border:3px solid var(--surface);background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;font-style:normal;display:grid;position:absolute;bottom:4px;right:1px}.pantry-sticker i.unchecked{background:var(--surface);box-shadow:inset 0 0 0 2px var(--muted)}@supports (color:color-mix(in lab,red,red)){.pantry-sticker i.unchecked{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--muted) 45%,transparent)}}.pantry-nutrition-fields{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;display:grid}.pantry-nutrition-fields legend{color:var(--muted);margin-bottom:6px;padding:0;font-size:10px;font-weight:800}.pantry-nutrition-fields label{color:var(--muted);gap:5px;font-size:10px;font-weight:800;display:grid}.pantry-nutrition-fields label>span{border:1px solid var(--line);background:var(--bg);border-radius:12px;align-items:center;height:42px;padding:0 11px;display:flex}.pantry-nutrition-fields label>span:focus-within{border-color:var(--primary)}.pantry-nutrition-fields input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-weight:700}.pantry-nutrition-fields small{color:var(--muted);font-size:10px}.pantry-nutrition-fields input[aria-invalid=true]{color:var(--danger)}.pantry-selection-bar{z-index:3;border:1px solid var(--line);background:var(--surface);border-radius:17px;justify-content:space-between;align-items:center;gap:12px;margin:-64px -7px 0;padding:9px;display:flex;position:sticky;bottom:0}@supports (color:color-mix(in lab,red,red)){.pantry-selection-bar{background:color-mix(in srgb,var(--surface) 94%,transparent)}}.pantry-selection-bar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 30px #1a211b2e}.pantry-selection-bar>span{flex:1;gap:1px;min-width:0;padding-left:8px;display:grid}.pantry-selection-bar>span strong{font-size:12px}.pantry-selection-bar>span small{color:var(--muted);font-size:10px;font-weight:700}.pantry-selection-bar .text-button{min-height:43px;padding:0 8px}.pantry-selection-bar .primary-button{min-height:43px;padding:0 14px}.pantry-empty{text-align:center;border:1px dashed var(--line);border-radius:18px;align-content:center;place-items:center;min-height:280px;padding:30px 20px;display:grid}.pantry-empty.compact{min-height:190px}.pantry-empty>div{background:var(--primary-soft);width:54px;height:54px;color:var(--primary-dark);border-radius:18px;place-items:center;font-size:23px;display:grid}.pantry-empty h3{margin:15px 0 6px}.pantry-empty p{max-width:310px;color:var(--muted);margin:0;font-size:12px;line-height:1.5}.pantry-review,.pantry-editor{gap:13px;display:grid}.pantry-review-list{gap:7px;display:grid}.pantry-review-row{background:var(--surface-2);border-radius:14px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;display:grid}.pantry-review-row>img{object-fit:cover;border:3px solid #fff;border-radius:42% 58% 49% 51%;width:48px;height:48px}.pantry-review-row>div:nth-child(2){gap:3px;min-width:0;display:grid}.pantry-review-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.pantry-review-row small{color:var(--muted);font-size:10px}.portion-stepper{align-items:center;gap:5px;display:flex}.portion-stepper button{background:var(--surface);width:27px;height:27px;color:var(--primary-dark);border:0;border-radius:8px;place-items:center;padding:0;display:grid}.portion-stepper span{text-align:center;width:29px;font-size:10px;font-weight:800}.pantry-review .category-select{margin:0}.pantry-note{color:var(--muted);gap:6px;font-size:10px;font-weight:800;display:grid}.pantry-note textarea{resize:vertical;border:1px solid var(--line);background:var(--bg);width:100%;color:var(--text);border-radius:13px;padding:12px;line-height:1.45}.pantry-crop-stage{aspect-ratio:1.22;border:8px solid var(--surface-2);background:var(--surface-2);width:min(100%,290px);box-shadow:var(--shadow);border-radius:38% 62% 48% 52%/52% 43% 57% 48%;margin:0 auto;position:relative;overflow:hidden}.pantry-crop-stage img{object-fit:cover;width:100%;height:100%}.pantry-crop-stage span{color:#fff;background:#191e1aad;border-radius:99px;padding:4px 7px;font-size:10px;font-weight:800;position:absolute;bottom:9px;left:50%;transform:translate(-50%)}.pantry-name-field{color:var(--muted);gap:6px;font-size:10px;font-weight:800;display:grid}.pantry-name-field input{border:1px solid var(--line);background:var(--bg);height:44px;color:var(--text);border-radius:12px;padding:0 12px;font-weight:700}.crop-controls{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.crop-controls button{background:var(--surface-2);height:39px;color:var(--primary-dark);border:0;border-radius:11px;place-items:center;padding:0;font-weight:900;display:grid}.crop-hint{color:var(--muted);text-align:center;margin:-6px 0 0;font-size:11px}.pantry-delete{min-height:42px;color:var(--danger);background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:7px;font-size:11px;font-weight:800;display:inline-flex}.pantry-delete.confirming{background:var(--danger);color:#fff}@media(min-width:760px){.view{padding:42px 34px 50px}.bottom-nav{border-bottom:1px solid var(--line);border-radius:24px;height:72px;padding-bottom:8px;bottom:18px}.app-content{padding-bottom:120px}.desktop-grid{grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);align-items:start;gap:14px 24px;display:grid}.summary-slot{grid-area:1/2;margin-bottom:0}.timeline-column{grid-area:1/1/span 2}.timeline-heading{margin-top:0}.today-header{grid-column:1/-1}@media(min-height:800px){.summary-slot{grid-row:1/span 2;position:sticky;top:24px}}.calendar-card{padding:25px}.calendar-grid>button{min-height:86px}.metric-grid{grid-template-columns:repeat(4,1fr)}.insights-view{max-width:980px;margin:auto}.profile-view{max-width:760px;margin:auto}.detail-photo{aspect-ratio:1.75;border-radius:0 0 24px 24px}.detail-body{padding:28px 0}.nutrition-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:759px){.bottom-sheet{--sheet-bottom-radius:max(25px, calc(env(safe-area-inset-bottom,0px) + 8px) );border-bottom-left-radius:var(--sheet-bottom-radius);border-bottom-right-radius:var(--sheet-bottom-radius)}.auth-card input,.category-select select,.textarea-wrap textarea,.detail-section textarea,.inline-select select,.food-quantity-editor input,.search-box input,.form-grid input,.form-grid select,.field-label input,.setting-row>select,.category-manager input{font-size:16px}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.capture-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:10px;margin-bottom:14px;display:grid}.capture-fields>label{background:var(--surface-2);min-width:0;color:var(--muted);align-content:start;gap:2px;margin:0;padding:8px 12px 6px;font-size:11px;font-weight:750;display:grid}.capture-fields :is(input,select){width:100%;min-width:0;min-height:32px;color:var(--text);font:inherit;background:0 0;border:0;padding:0;font-size:16px;font-weight:700}.capture-fields input::-webkit-date-and-time-value{text-align:left}.capture-sheet-content>.pantry-error{margin:-4px 2px 12px}.history-add-meal{min-height:44px;margin-top:12px}.calendar-grid>button.selected{outline:2px solid var(--primary);outline-offset:-2px}.daily-nutrient-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;margin:18px 0;display:grid}.daily-nutrient-grid .macro-progress:not(.prominent){padding-top:3px}.daily-nutrient-grid .macro-progress.prominent .macro-row strong{font-size:20px}.nutrient-customize{color:var(--muted);flex:none}.nutrient-status{color:var(--muted);font-size:11px}.nutrient-help{color:var(--muted);font-size:12px;line-height:1.55}.nutrition-estimate-note{margin-bottom:0;font-size:10px}.more-nutrients{margin-top:8px}.more-nutrients-toggle{text-align:left;cursor:pointer;width:100%;color:var(--muted);background:0 0;border:0;align-items:center;gap:4px;padding:4px 0;font-size:12px;font-weight:700;display:flex}.more-nutrients-toggle>svg{transition:rotate var(--motion-base) var(--motion-ease);flex:none}.more-nutrients-toggle[aria-expanded=true]>svg{rotate:90deg}.more-nutrients-body{display:flow-root}.more-nutrients .nutrition-grid{margin-top:14px}.nutrition-cell.nutrient-secondary strong{font-size:19px}.nutrition-cell{min-width:0}.nutrition-cell input{flex-shrink:1;min-width:0;max-width:100%}.nutrition-cell input::placeholder{color:var(--muted);opacity:.65;font-weight:400}.nutrition-cell small{flex-shrink:0}.nutrient-totals{color:var(--muted);flex-wrap:wrap;gap:5px 12px;font-size:11px;line-height:1.5;display:flex}.nutrient-totals>span{min-width:0}.nutrient-totals strong{font-weight:600}.nutrient-totals small{font-size:inherit}.nutrient-totals .primary{color:var(--text)}.nutrient-totals .primary strong{font-weight:750}.nutrient-totals .calories small{margin-left:.25em}.nutrient-totals.compact{text-align:right;justify-content:flex-end;gap:2px 9px;max-width:58%;font-size:10px}.nutrient-dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:28px;width:min(580px,100vw - 24px);height:min(840px,92dvh);max-height:calc(100dvh - 24px);margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 100px #0f191238}.nutrient-dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#14191666}.nutrient-dialog form{flex-direction:column;height:100%;min-height:0;display:flex}.nutrient-dialog-header{flex:none;justify-content:space-between;align-items:flex-start;gap:12px;padding:24px 24px 16px;display:flex}.nutrient-dialog-header .eyebrow{letter-spacing:.16em;margin-bottom:8px;font-size:10px}.nutrient-dialog-header h2{letter-spacing:-.045em;margin:0;font-size:clamp(23px,5.5vw,28px);font-weight:650;line-height:1.2}.nutrient-dialog-header .icon-button{flex:none}.nutrient-dialog-subtitle{color:var(--muted);margin:6px 0 0;font-size:14px;line-height:1.45}.nutrient-setting{--nutrient-tone:var(--primary)}.nutrient-setting.blue{--nutrient-tone:var(--macro-protein)}.nutrient-setting.amber{--nutrient-tone:var(--macro-carbs)}.nutrient-setting.lavender{--nutrient-tone:var(--macro-fat)}.nutrient-color-dot{background:var(--nutrient-tone);border-radius:50%;flex:none;width:6px;height:6px}.nutrient-dialog-scroll{background:var(--surface);overscroll-behavior:contain;scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-height:0;padding:0 24px;overflow:hidden auto}.nutrient-list-columns,.nutrient-setting{grid-template-columns:32px minmax(0,1fr) 112px 52px;align-items:center;column-gap:8px;display:grid}.targets-off :is(.nutrient-list-columns,.nutrient-setting){grid-template-columns:32px minmax(0,1fr) 52px;grid-template-areas:"drag name toggle"}.nutrient-list-columns{z-index:6;background:var(--surface);color:var(--muted);padding:14px 0 8px;font-size:12px;font-weight:600;position:sticky;top:0}.nutrient-list-columns>:first-child{grid-column:2}.nutrient-list-columns>:last-child{text-align:center}.nutrient-settings-list{position:relative}.nutrient-setting{background:var(--surface);border:0;grid-template-areas:"drag name target toggle";min-height:56px;padding:6px 0;transition:background .15s,box-shadow .15s;position:relative}.nutrient-target-toggle{border-radius:var(--radius-inset);corner-shape:squircle;background:var(--bg);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;margin:0 0 6px;padding:14px 16px;display:flex}.nutrient-target-toggle>span:first-child{gap:2px;display:grid}.nutrient-target-toggle strong{font-size:15px;font-weight:650}.nutrient-target-toggle small{color:var(--muted);font-size:13px;line-height:1.4}.nutrient-target-method{color:var(--muted);margin:0 4px 6px;font-size:13px;line-height:1.55}.nutrient-target-method summary{width:fit-content;color:var(--primary-dark);cursor:pointer;padding:8px 0;font-weight:650}.nutrient-target-method p{margin:4px 0 8px}.nutrient-setting.is-dragging{z-index:5;background:var(--surface);box-shadow:0 8px 22px #1e2d2229}.nutrient-drag-handle{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:8px;grid-area:drag;align-self:stretch;place-items:center;padding:0;display:grid}@supports (color:color-mix(in lab,red,red)){.nutrient-drag-handle{color:color-mix(in srgb,var(--muted) 65%,var(--line))}}.nutrient-drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.nutrient-drag-handle:hover,.nutrient-drag-handle:focus-visible{color:var(--primary-dark);background:var(--primary-soft)}.is-dragging .nutrient-drag-handle{color:var(--primary-dark);cursor:grabbing}.nutrient-dialog-scroll.is-reordering{cursor:grabbing;-webkit-user-select:none;user-select:none;overflow-anchor:none}.nutrient-setting-name{min-width:0;color:var(--muted);grid-area:name;align-items:center;gap:9px;font-size:15px;font-weight:650;line-height:1.3;display:flex}.is-shown .nutrient-setting-name{color:var(--text)}.nutrient-setting:not(.is-shown) .nutrient-color-dot{opacity:.4}.nutrient-target-input{grid-area:target;min-width:0}.nutrient-target-control{min-width:0;display:block;position:relative}.nutrient-target-input input{background:var(--bg);font-variant-numeric:tabular-nums;appearance:textfield;border:1px solid #0000;border-radius:9px;width:100%;min-width:0;height:40px;padding:0 34px 0 12px;font-size:16px;font-weight:550;transition:border-color .15s,background .15s}.nutrient-target-input input:hover{border-color:var(--line)}.nutrient-target-input input:focus{border-color:var(--primary);background:var(--surface)}.nutrient-target-input input::placeholder{color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.nutrient-target-input input::placeholder{color:color-mix(in srgb,var(--muted) 55%,var(--line))}}.nutrient-target-input input::placeholder{font-weight:400}.nutrient-target-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.nutrient-target-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.nutrient-target-control>span{color:var(--muted);pointer-events:none;font-size:12px;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.nutrient-visibility-switch{background:0 0;border:0;border-radius:10px;grid-area:toggle;place-items:center;width:52px;height:44px;padding:0;display:grid}.nutrient-visibility-switch>span{background:var(--muted);border-radius:20px;width:42px;height:24px;padding:3px;display:block}@supports (color:color-mix(in lab,red,red)){.nutrient-visibility-switch>span{background:color-mix(in srgb,var(--muted) 30%,var(--surface-2))}}.nutrient-visibility-switch>span{transition:background .15s}.nutrient-visibility-switch i{width:18px;height:18px;color:var(--primary-dark);background:var(--surface);border-radius:50%;place-items:center;transition:transform .15s;display:grid;box-shadow:0 1px 3px #141e1626}.nutrient-visibility-switch[aria-checked=true]>span{background:var(--primary)}.nutrient-visibility-switch[aria-checked=true] i{transform:translate(18px)}.nutrient-target-note{color:var(--muted);margin:16px 4px 20px;font-size:13px;line-height:1.55}.nutrient-dialog-footer{padding:14px 24px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);flex:none;box-shadow:0 -6px 16px #141e1606}.nutrient-dialog-footer>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.nutrient-dialog-footer .primary-button{min-height:48px;padding:0 22px;font-size:14px}.nutrient-reset{min-height:44px;color:var(--muted);background:0 0;border:0;align-items:center;gap:8px;padding:0 4px;font-size:14px;font-weight:600;display:flex}.nutrient-reset:hover{color:var(--primary-dark)}.nutrient-dialog-footer>.analysis-failed{text-align:left;color:var(--danger);margin:0 0 12px;font-size:12px}@media(max-width:420px){.nutrient-dialog{border-radius:24px;width:calc(100vw - 16px);height:92dvh}.nutrient-dialog-header{padding:22px 18px 16px}.nutrient-dialog-subtitle{font-size:13px}.nutrient-dialog-scroll{padding-inline:16px}.nutrient-list-columns,.nutrient-setting{grid-template-columns:24px minmax(0,1fr) 88px 48px;column-gap:4px}.targets-off :is(.nutrient-list-columns,.nutrient-setting){grid-template-columns:24px minmax(0,1fr) 48px}.nutrient-visibility-switch{width:48px}.nutrient-target-toggle{padding:12px 14px}.nutrient-setting-name{gap:6px;font-size:14px}.nutrient-color-dot{width:5px;height:5px}.nutrient-target-input input{padding-left:8px;padding-right:28px}.nutrient-target-control>span{right:6px}.nutrient-dialog-footer{padding-inline:18px}.nutrient-dialog-footer .primary-button{padding-inline:15px}.nutrient-totals{gap:3px 8px;font-size:10px}.day-heading{align-items:flex-start}}@media(max-height:650px){.nutrient-dialog-header{padding-block:14px}.nutrient-dialog-subtitle{display:none}.nutrient-dialog-footer{padding-top:10px}}.weight-inspect select{border:1px solid var(--line);background:var(--surface);max-width:100%;min-height:44px;color:var(--text);border-radius:12px;padding:8px 12px;font-weight:650}.weight-visibility{cursor:pointer;min-height:44px}.weight-visibility input{width:18px;height:18px;accent-color:var(--primary)}.insights-sections{gap:28px;display:grid}.insights-sections>section{min-width:0}.insights-section-heading{gap:14px}.insights-section-heading h2{letter-spacing:-.03em;margin:0;font-size:23px}.nutrient-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.nutrient-metric{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:16px;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:15px;display:flex}.nutrient-metric.active{border-color:var(--primary);background:var(--primary-soft);box-shadow:inset 0 0 0 1px var(--primary)}.nutrient-metric>span:first-child{font-size:12px;font-weight:700}.nutrient-metric>strong{letter-spacing:-.035em;font-size:26px;line-height:1.2}.nutrient-metric strong small{letter-spacing:0;font-size:12px}.nutrient-metric>small{color:var(--muted);margin-top:auto;font-size:11px;line-height:1.5}.nutrient-chart-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.nutrient-chart-heading h3,.insight-day-detail h3,.weight-trend-heading h3{letter-spacing:-.025em;margin:0;font-size:18px}.nutrient-chart-heading p{color:var(--muted);margin:5px 0 0;font-size:12px}.chart-unit{color:var(--muted);font-size:12px}.nutrient-chart-layout{grid-template-columns:36px minmax(0,1fr);gap:8px;margin-top:24px;display:grid}.nutrient-y-axis{height:170px;color:var(--muted);text-align:right;flex-direction:column;justify-content:space-between;font-size:10px;display:flex}.nutrient-chart-scroll{touch-action:pan-x pan-y;overscroll-behavior-x:contain;min-width:0;padding:3px 3px 6px;overflow-x:auto}.nutrient-daily-chart{grid-template-columns:repeat(var(--days),minmax(var(--day-width),1fr));min-width:calc(var(--days) * var(--day-width));isolation:isolate;display:grid;position:relative}.nutrient-gridlines{pointer-events:none;z-index:-1;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0 0 35px}.nutrient-gridlines i{border-top:1px solid var(--line)}.nutrient-target-line{left:0;right:0;bottom:calc(35px + var(--target-offset));border-top:2px dashed var(--amber);pointer-events:none;z-index:1;position:absolute}.nutrient-day{background:0 0;border:0;border-radius:8px;grid-template-rows:170px 35px;gap:0;min-width:0;padding:0 6px;display:grid}.nutrient-day.selected{background:var(--primary)}@supports (color:color-mix(in lab,red,red)){.nutrient-day.selected{background:color-mix(in srgb,var(--primary) 10%,transparent)}}.nutrient-bar-track{height:170px;display:block;position:relative}.nutrient-bar{background:var(--blue);border-radius:6px 6px 2px 2px;min-height:3px;position:absolute;inset:auto 0 0}.nutrient-day.selected .nutrient-bar{background:var(--primary)}.nutrient-bar.zero{background:var(--muted);height:3px!important}.nutrient-day .nutrient-bar.calorie-bar{background:var(--line);flex-direction:column-reverse;display:flex;overflow:hidden}.nutrient-day .calorie-bar.zero{background:var(--muted)}.calorie-macro-segment{flex:none;width:100%;display:block}.macro-protein{background:var(--macro-protein)}.macro-carbs{background:var(--macro-carbs)}.macro-fat{background:var(--macro-fat)}.macro-unknown{background:var(--line)}.calorie-macro-legend{color:var(--muted);flex-wrap:wrap;gap:8px 16px;margin-top:14px;font-size:11px;display:flex}.calorie-macro-legend>span{align-items:center;gap:6px;display:inline-flex}.calorie-macro-legend i{border-radius:2px;width:9px;height:9px}.nutrient-day-label{color:var(--muted);align-self:center;font-size:10px;line-height:1.25}.nutrient-day.selected .nutrient-day-label{color:var(--primary-dark);font-weight:800}.nutrient-missing{color:var(--muted);font-size:13px;position:absolute;bottom:0;left:0;right:0}.nutrient-missing.unavailable{background:repeating-linear-gradient(135deg,var(--surface-2),var(--surface-2) 3px,var(--line) 3px,var(--line) 4px);border-radius:5px;padding:5px 0}.chart-help{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.6}.target-key{border-top:2px dashed var(--amber);vertical-align:middle;width:18px;display:inline-block}.chart-pagination{justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.chart-pagination span{color:var(--muted);font-size:12px}.chart-pagination button:disabled{cursor:default}.insight-day-detail{background:var(--surface-2);border-radius:14px;margin-top:19px;padding:16px}.insight-day-detail .section-head{gap:12px}.insight-day-detail .section-head>span{color:var(--muted);flex:none;font-size:12px}.insight-day-detail h3{font-size:15px}.insight-day-nutrients{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:14px;margin-top:16px;display:grid}.insight-day-nutrients>div{gap:4px;display:grid}.insight-day-nutrients span{color:var(--muted);font-size:11px}.insight-day-nutrients strong{font-size:17px}.insight-day-nutrients small{font-size:11px;font-weight:500}.insight-day-detail>.text-button{margin-top:12px}.insights-weight .progress-hero{margin-top:16px}.weight-trend-heading{align-items:flex-start;gap:12px}.weight-trend-heading h3{font-size:17px}.weight-trend-heading .trend-pill{white-space:nowrap;flex:none;font-size:12px}.weight-chart-legend{color:var(--muted);flex-wrap:wrap;gap:12px;margin-top:18px;font-size:11px;display:flex}.weight-chart-legend>span{align-items:center;gap:6px;display:flex}.actual-key{background:var(--blue);border-radius:50%;width:7px;height:7px;display:inline-block}.trend-key{border-top:3px solid var(--primary);width:18px;display:inline-block}.weight-plot-layout{grid-template-columns:40px minmax(0,1fr);gap:7px;margin-top:14px;display:grid}.weight-y-axis{text-align:right;color:var(--muted);flex-direction:column;justify-content:space-between;padding:16px 0;font-size:11px;display:flex}.weight-plot{width:100%;height:232px;display:block;overflow:visible}.weight-gridline{stroke:var(--line);vector-effect:non-scaling-stroke}.weight-target{stroke:var(--amber);stroke-width:1.5px;stroke-dasharray:5 5;vector-effect:non-scaling-stroke}.weight-trend-line{fill:none;stroke:var(--primary);stroke-width:3px;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.weight-actual-point{fill:var(--blue);stroke:var(--surface);stroke-width:1px;vector-effect:non-scaling-stroke}.weight-selected-point{fill:none;stroke:var(--text);stroke-width:1.5px;vector-effect:non-scaling-stroke}.weight-date-axis{color:var(--muted);justify-content:space-between;gap:10px;margin-left:47px;font-size:11px;display:flex}.weight-inspect{margin-top:20px}.weight-inspect label{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.weight-inspect p{color:var(--muted);font-size:12px}.weight-inspect strong{color:var(--text)}@media(min-width:760px){.nutrient-metric-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.nutrient-metric{padding:16px}.nutrient-trend-card{padding:24px}}@media(max-width:380px){.weight-trend-heading{flex-direction:column}.insight-day-detail .section-head{flex-wrap:wrap}.nutrient-metric{padding:12px}}:root{--motion-fast:.14s;--motion-base:.18s;--motion-enter:.22s;--motion-ease:cubic-bezier(.2, .8, .2, 1)}button,summary{-webkit-tap-highlight-color:transparent;transition:scale var(--motion-fast) var(--motion-ease),background-color var(--motion-fast) ease,color var(--motion-fast) ease,border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease,opacity var(--motion-fast) ease}button:enabled:active{scale:.97}.nutrient-drag-handle:enabled:active{scale:1}.meal-open:enabled:active{scale:.99}input,select,textarea,.search-box,.pantry-search-row>label{transition:border-color var(--motion-fast) ease,background-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease}.search-box:focus-within,.pantry-search-row>label:focus-within{box-shadow:0 0 0 2px var(--primary)}@supports (color:color-mix(in lab,red,red)){.search-box:focus-within,.pantry-search-row>label:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 22%,transparent)}}.bottom-nav button:not(.camera-nav){isolation:isolate;position:relative}.bottom-nav button>svg{transition:translate var(--motion-base) var(--motion-ease),stroke-width var(--motion-fast) ease}.bottom-nav button.active>svg{translate:0 -1px}.camera-nav span{transition:transform var(--motion-fast) var(--motion-ease),box-shadow var(--motion-fast) ease}.capture-sheet{padding:0;position:relative}.capture-sheet:focus{outline:none}.capture-sheet-content{width:var(--capture-content-width,100%);margin-left:calc((100% - var(--capture-content-width,100%)) / 2);padding:9px 20px calc(22px + env(safe-area-inset-bottom));opacity:var(--capture-content-opacity,1);pointer-events:var(--capture-content-events,auto)}.capture-morph-icon{color:var(--primary-dark);opacity:var(--capture-icon-opacity,0);pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.meal-card{transition:box-shadow var(--motion-base) ease,border-color var(--motion-base) ease}.meal-image-wrap img{transition-duration:var(--motion-enter);transition-timing-function:var(--motion-ease)}.settings-card>button>svg:last-child,.food-item-end>svg{transition:translate var(--motion-fast) var(--motion-ease),rotate var(--motion-base) var(--motion-ease)}.switch i{transition:background-color var(--motion-fast) ease}.switch i:after{transition:transform var(--motion-base) var(--motion-ease)}.progress-track span{transform-origin:0;transition:width .24s var(--motion-ease)}.consistency-bar-track span{transform-origin:bottom;transition:height .24s var(--motion-ease),background-color var(--motion-fast) ease}.consistency-bar-track strong{transition:bottom .24s var(--motion-ease)}.pantry-sticker{transition:scale var(--motion-base) var(--motion-ease)}.pantry-card-main.selected .pantry-sticker{scale:1.04}@media(hover:hover)and (pointer:fine){.icon-button:hover,.segmented button:not(.active):hover,.settings-card>button:hover,.detail-menu button:hover,.calendar-head button:hover,.portion-stepper button:hover,.crop-controls button:hover{background-color:var(--primary-soft)}.primary-button:enabled:hover,.capture-primary:enabled:hover{box-shadow:0 4px 12px var(--primary)}@supports (color:color-mix(in lab,red,red)){.primary-button:enabled:hover,.capture-primary:enabled:hover{box-shadow:0 4px 12px color-mix(in srgb,var(--primary) 24%,transparent)}}.meal-card:hover{border-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.meal-card:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--line))}}.meal-card:hover{box-shadow:0 5px 16px #262f271a}.settings-card>button:hover>svg:last-child,.food-item-button:hover .food-item-end>svg{translate:2px}.pantry-card-main:hover .pantry-sticker{scale:1.04}}@media(prefers-reduced-motion:no-preference){.view>.page-header,.auth-card{animation:motion-arrive var(--motion-enter) var(--motion-ease) both}.view>:not(.page-header),.meal-card,.metric-grid>div,.detail-section,.capture-actions,.photo-note-capture,.note-capture,.analysis-result,.analysis-wait,.pantry-review,.pantry-editor,.pantry-empty,.calendar-grid,.empty-state,.profile-action-message,.pantry-saved-message,.notification-feedback>p,p[role=alert],p[role=status],.pantry-error,.account-success,.category-help{animation:motion-arrive var(--motion-enter) var(--motion-ease) backwards}.release-notes-dialog::backdrop,.food-export-dialog::backdrop{animation:fade var(--motion-fast) ease}.view>:nth-child(2),.metric-grid>:nth-child(2),.meal-group-list>:nth-child(2){animation-delay:20ms}.view>:nth-child(3),.metric-grid>:nth-child(3){animation-delay:40ms}.view>:nth-child(n+4),.metric-grid>:nth-child(4){animation-delay:60ms}.progress-track span{animation:motion-fill .28s var(--motion-ease) both}.consistency-bar-track span{animation:motion-bar .28s var(--motion-ease) both}.weight-chart,.nutrient-trend{animation:fade var(--motion-enter) ease}.pantry-sticker i,.analysis-summary>i{animation:motion-check var(--motion-base) var(--motion-ease) backwards}.nutrient-dialog::backdrop{animation:fade var(--motion-fast) ease}}@keyframes motion-arrive{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0}}@keyframes motion-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes motion-bar{0%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes motion-check{0%{opacity:0;scale:.85}to{opacity:1;scale:1}}@media(prefers-reduced-motion:reduce){*,:before,:after{transition-delay:0s!important;animation-delay:0s!important}button:enabled:active,.pantry-card-main.selected .pantry-sticker,.pantry-card-main:hover .pantry-sticker{scale:1}.bottom-nav button.active>svg,.settings-card>button:hover>svg:last-child,.food-item-button:hover .food-item-end>svg{translate:none}.meal-open:hover img,.camera-nav:active span{transform:none}}.weight-plot-surface{min-width:0;position:relative}.weight-point{background:0 0;border:0;border-radius:50%;place-items:center;width:24px;height:24px;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.weight-point:before{content:"";border:1px solid var(--surface);background:var(--blue);border-radius:50%;width:7px;height:7px}.weight-point.selected:before{outline:1.5px solid var(--text);outline-offset:2px}.weight-point:focus-visible{z-index:2}:root[data-theme=dark] .insights-weight .progress-hero{background:var(--primary-soft);color:var(--text)}:root[data-theme=dark] .insights-weight .progress-hero .eyebrow{color:var(--primary)}:root[data-theme=dark] .insights-weight .weight-progress-ring:before{background:var(--primary-soft)}.nutrient-metric strong small,.insight-day-nutrients strong small{margin-left:3px}.insights-view .page-header{margin-bottom:18px}.insights-period{color:var(--muted);font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:13px}.insights-controls{gap:10px;margin-bottom:26px;display:grid}.insights-switch{background:var(--surface-2);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:2px;padding:4px;display:grid}.insights-switch button{min-height:40px;color:var(--muted);white-space:nowrap;background:0 0;border:0;padding:0 6px;font-size:13px;font-weight:650;transition:background-color .16s,color .16s,box-shadow .16s}.insights-switch button:hover{color:var(--text)}.insights-switch button[aria-checked=true],.insights-switch button[aria-selected=true]{background:var(--surface);color:var(--primary-dark);box-shadow:var(--shadow)}.insights-switch button:focus-visible{outline:3px solid var(--primary);outline-offset:1px}.insights-heading-title{align-items:center;gap:2px;min-width:0;display:flex}.insights-subhead{color:var(--muted);margin:4px 0 14px;font-size:12px;line-height:1.5}.insights-section-heading .text-button{align-items:center;gap:4px;display:inline-flex}.weight-progress-ring span{justify-items:center;line-height:1.1;display:grid}.weight-progress-ring small{opacity:.8;font-size:9px;font-weight:650}.trend-pill-period{opacity:.75;margin-left:3px;font-weight:600}.calorie-legend-label{font-weight:650}@media(max-width:759px){.nutrient-metric-grid>.nutrient-metric:last-child:nth-child(odd){grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.insights-switch button{transition:none}}:root[data-theme=dark] .insights-switch button[aria-checked=true],:root[data-theme=dark] .insights-switch button[aria-selected=true]{background:var(--primary-soft);color:var(--primary);box-shadow:none}.insights-info-button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.insights-info-button[aria-expanded=true]{background:var(--primary-soft);color:var(--primary-dark)}.estimate-info-button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin:-5px -6px -5px 0;padding:0;display:inline-grid}.estimate-info-button[aria-expanded=true]{background:var(--primary-soft);color:var(--primary-dark)}.estimate-info{background:var(--surface-2);color:var(--muted);border-radius:12px;margin-top:12px;padding:13px 14px;font-size:12px;line-height:1.55}.estimate-info p{margin:0}.estimate-info p+p{margin-top:7px}.estimate-info strong{color:var(--text)}.insights-average-info{background:var(--surface-2);color:var(--muted);border-radius:12px;margin:0 0 14px;padding:14px;font-size:12px;line-height:1.6}.insights-average-info p{margin:0}.insights-average-info dl{gap:8px;margin:12px 0 0;display:grid}.insights-average-info dl>div{justify-content:space-between;gap:12px;display:flex}.insights-average-info dd{text-align:right;margin:0}.nutrient-metric{justify-content:flex-start;gap:5px;min-height:92px}.nutrient-metric>.nutrient-data-note{margin-top:0;font-size:10px}.nutrient-metric{--metric-color:var(--primary)}.nutrient-metric.active{border-color:var(--metric-color);background:var(--metric-color)}@supports (color:color-mix(in lab,red,red)){.nutrient-metric.active{background:color-mix(in srgb,var(--metric-color) 10%,var(--surface))}}.nutrient-metric.active{box-shadow:none}.nutrient-metric>span:first-child{color:var(--muted);align-items:center;gap:7px;display:inline-flex}.nutrient-metric.active>span:first-child{color:var(--text)}.nutrient-metric-key{background:var(--metric-color);border-radius:3px;flex:none;width:8px;height:8px}.nutrient-metric>strong{font-variant-numeric:tabular-nums}.nutrient-metric strong small{color:var(--muted);font-weight:650}.nutrient-metric-target{gap:6px;width:100%;margin-top:4px;display:grid}.nutrient-metric-target .progress-track{background:var(--metric-color);height:4px}@supports (color:color-mix(in lab,red,red)){.nutrient-metric-target .progress-track{background:color-mix(in srgb,var(--metric-color) 14%,var(--surface-2))}}.nutrient-metric-target .progress-track span{background:var(--metric-color)}.nutrient-metric-target small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px;font-weight:650}.nutrient-chart-heading h3{align-items:baseline;gap:6px;display:flex}.nutrient-chart-heading .chart-unit{font-weight:500}.chart-target-label{color:var(--muted);text-align:right;justify-content:flex-end;align-items:center;gap:5px;font-size:11px;display:flex}.chart-target-label .target-key{flex:none;width:13px}.insight-day-detail .icon-button{width:32px;height:32px}.insights-details{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.insights-details summary{cursor:pointer;width:fit-content;min-height:32px;color:var(--muted);padding:6px 0;font-size:12px}.insights-details summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px;border-radius:4px}.insights-details .weight-inspect{margin-top:10px}@media(max-width:380px){.nutrient-trend-card{padding:14px}.nutrient-chart-layout{grid-template-columns:26px minmax(0,1fr);gap:4px}.nutrient-day{padding:0 4px}}.scroll-picker{min-width:0;position:relative}.scroll-picker-band{pointer-events:none;background:var(--primary-soft);border-radius:9px;height:36px;position:absolute;top:72px;left:0;right:0}.scroll-picker-list{overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scrollbar-width:none;touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:ns-resize;border-radius:10px;height:180px;position:relative;overflow:hidden auto;-webkit-mask-image:linear-gradient(#0000,#000 32% 68%,#0000);mask-image:linear-gradient(#0000,#000 32% 68%,#0000)}.scroll-picker-list::-webkit-scrollbar{display:none}.scroll-picker-list:focus-visible{box-shadow:inset 0 0 0 2px var(--primary);outline:none}.scroll-picker-option{scroll-snap-align:center;height:36px;color:var(--muted);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;font-size:22px;font-weight:500;line-height:36px;display:flex}.scroll-picker-option.chosen{color:var(--primary-dark);font-size:27px;font-weight:750}.scroll-picker-spacer{height:72px}.scroll-picker-unit{text-align:center;color:var(--muted);margin-top:8px;font-size:12px;display:block}.onboarding-reminder-prompt{border:1px solid var(--line);background:var(--primary-soft);border-radius:18px;margin:0 0 20px;padding:20px}.onboarding-reminder-prompt h2{margin:0;font-size:18px}.onboarding-reminder-prompt p{color:var(--muted);font-size:13px;line-height:1.5}.onboarding-reminder-prompt>div:last-child{flex-wrap:wrap;gap:24px;display:flex}.scroll-picker.compact .scroll-picker-list{height:108px}.scroll-picker.compact .scroll-picker-spacer{height:36px}.scroll-picker.compact .scroll-picker-band{top:36px}.meal-edit-fields{border:0;min-width:0;margin:0;padding:0}.meal-edit-fields:disabled{opacity:.7}.ingredient-name,.ingredient-actions>label{color:var(--muted);gap:5px;font-size:11px;display:grid}.ingredient-name input,.ingredient-calories input,.ingredient-serving>input{border:1px solid var(--line);background:var(--bg);width:100%;min-width:0;color:var(--text);border-radius:8px;padding:8px;font-size:16px}.ingredient-actions{flex:none;align-items:center;gap:5px;display:flex}.ingredient-calories{align-items:center;gap:4px;display:flex}.ingredient-calories input{width:72px}.food-quantity-editor{flex-wrap:wrap}.nutrition-label-capture{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;padding:14px}.nutrition-label-capture>strong{font-size:13px}.nutrition-label-capture>strong small,.photo-note-capture label small{color:var(--muted);margin-left:6px;font-size:11px;font-weight:400}.nutrition-label-capture img,.nutrition-label-detail img{object-fit:contain;background:var(--bg);border-radius:10px;width:100%;max-height:300px;display:block}.nutrition-label-detail{margin-top:18px}.nutrition-label-detail summary{cursor:pointer;margin-bottom:10px;font-size:13px}.add-ingredient-button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.add-ingredient-button svg{flex:none}.ingredients-section{box-shadow:none;border:0}.food-items>.ingredient-editor{border:0;padding:12px 0 18px;display:block}.ingredient-swipe{touch-action:pan-y;isolation:isolate;border:0;width:100%;position:relative;overflow:hidden}.ingredient-swipe-content{background:var(--surface);justify-content:space-between;align-items:flex-start;gap:12px;width:100%;padding:4px 0;transition:transform .26s cubic-bezier(.22,1,.36,1);display:flex;position:relative}.ingredient-swipe-content>.ingredient-name{flex:1;min-width:0}.ingredient-swipe-content input:focus-visible{outline-offset:-2px}.ingredient-swipe-content.swipe-dragging{-webkit-user-select:none;user-select:none;transition:none}.ingredient-swipe-cue{text-align:center;background:var(--danger);color:#fff;width:112px;opacity:var(--swipe-reveal,0);transform:translate(calc((1 - var(--swipe-reveal,0)) * 12px));border:0;border-radius:10px;place-items:center;padding:0 12px;font-size:13px;font-weight:750;line-height:1.3;transition:opacity .22s,transform .26s cubic-bezier(.22,1,.36,1);display:grid;position:absolute;inset:4px 0 4px auto}.ingredient-swipe.swipe-dragging .ingredient-swipe-cue{transition:none}.ingredient-swipe-ready .ingredient-swipe-cue{font-weight:850}.ingredient-keyboard-delete{z-index:2;background:var(--danger);color:#fff;border:0;border-radius:10px;max-width:100%;padding:0 12px;position:absolute;inset:4px 0 4px auto}.ingredient-keyboard-delete:not(:focus-visible){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden}.ingredient-keyboard-delete:focus-visible{outline:2px solid var(--text);outline-offset:-4px}.ingredient-serving{margin-top:6px}.ingredient-serving .food-quantity-editor{margin-top:0}@media(prefers-reduced-motion:reduce){.ingredient-swipe-content,.ingredient-swipe-cue{transition:none}}.category-heading{justify-content:space-between;align-items:center;gap:12px;margin:-10px 0 0 3px;display:flex}.category-heading .eyebrow{margin:0}.category-edit{min-width:44px;min-height:44px;color:var(--primary-dark);background:0 0;border:0;border-radius:8px;padding:0 8px;font-size:13px;font-weight:650}.category-list{flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:0;list-style:none;display:flex}.category-list>li{background:var(--primary-soft);min-width:0;max-width:100%;color:var(--primary-dark);border-radius:8px;padding:8px 10px;font-size:13px;font-weight:650}.category-list>li>span{overflow-wrap:anywhere}.category-list.editing{margin-bottom:8px;display:block}.category-list.editing>li{border-bottom:1px solid var(--line);min-height:48px;color:var(--text);background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.category-list.editing>li:last-child{border-bottom:0}.category-remove{min-height:44px;color:var(--danger);background:0 0;border:0;border-radius:8px;flex:none;padding:0 8px;font-size:13px}.category-edit,.category-remove{transition:background-color .12s}.category-edit:hover,.category-remove:hover{background:var(--surface-2)}.category-help{color:var(--muted);margin:0 0 16px;font-size:12px;line-height:1.5}@media(prefers-reduced-motion:reduce){.category-edit,.category-remove{transition:none}}.app-shell:has(.offline-bar){--history-sticky-top:32px}.meal-card{position:relative}.meal-open{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-y}.meal-more{width:44px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;transition:color .12s;display:grid;position:absolute;top:2px;right:2px}.meal-more:hover,.meal-more:focus-visible{color:var(--text)}.meal-actions-dialog{width:100%;max-width:none;height:100%;max-height:none;color:var(--text);background:0 0;border:0;justify-content:center;align-items:end;margin:0;padding:12px;display:flex;position:fixed;inset:0}.meal-actions-dialog::backdrop{background:#1115127a;transition:background-color .2s}.meal-actions-floating::backdrop{background:0 0}.meal-actions-menu{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:min(224px,100vw - 16px);max-height:calc(100dvh - 16px);padding:4px;position:fixed;overflow-y:auto;box-shadow:0 2px 8px #11151224}.meal-actions-menu .meal-action-list{padding:0}.meal-actions-menu .meal-action-list button{border-radius:4px;gap:10px;min-height:44px;padding:9px 10px;font-size:13px}.meal-actions-menu .meal-action-list svg{width:17px;height:17px}.meal-actions-menu .meal-action-hint,.meal-actions-menu .pantry-error{margin:8px 10px}.meal-actions-sheet .sheet-head{align-items:center;gap:10px}.meal-actions-sheet .sheet-head h2{flex:1;font-size:21px}.meal-actions-sheet .sheet-head .icon-button{flex:none}.meal-action-preview{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding-bottom:16px;display:flex}.meal-action-preview>div:first-child{background:var(--surface-2);border-radius:10px;flex:none;width:56px;height:56px;overflow:hidden}.meal-action-preview img{object-fit:cover;width:100%;height:100%}.meal-action-preview>div:last-child{gap:4px;min-width:0;display:grid}.meal-action-preview strong{overflow-wrap:anywhere;font-size:14px}.meal-action-preview span,.meal-action-hint{color:var(--muted);font-size:12px;line-height:1.5}.meal-action-list{padding-top:6px;display:grid}.meal-action-list button{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;width:100%;min-height:46px;padding:10px 8px;font-size:14px;transition:background .12s,opacity .12s;display:flex}.meal-action-list button svg{color:var(--muted);flex:none}.meal-action-list button:hover:not(:disabled),.meal-action-list button:focus-visible{background:var(--surface-2)}.meal-action-list .meal-action-danger{border-top:1px solid var(--line);border-radius:0;margin-top:4px}.meal-action-danger,.meal-action-danger svg{color:var(--danger)!important}.meal-actions-sheet button:disabled{opacity:.5;cursor:default}.meal-placement-form{gap:16px;margin-top:18px;display:grid}.meal-placement-form fieldset{border:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px;min-width:0;margin:0;padding:0;display:grid}.meal-placement-form label{gap:8px;min-width:0;margin:0;font-size:12px;line-height:1.5}.meal-placement-form label:last-child{grid-column:1/-1}.meal-placement-form input,.meal-placement-form select{box-sizing:border-box;border:1px solid var(--line);background:var(--surface-2);width:100%;min-width:0;max-width:100%;height:48px;color:var(--text);font:inherit;border-radius:10px;margin:0;padding:10px 12px;font-size:16px}.meal-action-confirm{gap:12px;margin-top:20px;display:flex}.meal-action-confirm button{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex:1;min-height:46px}.meal-action-confirm .delete-button{border-color:var(--danger);background:var(--danger);color:#fff}.app-toast{z-index:95;top:calc(10px + env(safe-area-inset-top));border:1px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;gap:4px;width:max-content;max-width:min(100% - 32px,460px);min-height:44px;padding:4px 4px 4px 16px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@supports (color:color-mix(in lab,red,red)){.app-toast{background:color-mix(in srgb,var(--surface) 96%,transparent)}}.app-toast{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);touch-action:none;transition:translate var(--motion-fast) var(--motion-ease);box-shadow:0 8px 28px #1a211b29}.app-toast>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;padding-right:6px;font-size:13px;font-weight:650;overflow:hidden}.app-toast.error>span{color:var(--danger);white-space:normal}.app-toast button{min-height:36px;color:var(--primary-dark);background:0 0;border:0;border-radius:999px;flex:none;padding:0 10px;font-size:13px;font-weight:750}.app-toast button:not(.app-toast-dismiss){background:var(--primary-soft)}.app-toast .app-toast-dismiss{width:36px;color:var(--muted);place-items:center;padding:0;display:grid}@media(prefers-reduced-motion:reduce){.meal-more,.meal-action-list button{transition:none}}.summary-card,.meal-card,.chart-card,.consistency-card,.calendar-card,.profile-identity,.settings-card,.category-manager,.detail-section,.detail-menu,.empty-state,.progress-hero,.pantry-empty,.meal-actions-menu{border-radius:var(--radius-card);corner-shape:squircle}.bottom-sheet,.confirm-dialog,.nutrient-dialog{border-radius:var(--radius-sheet);corner-shape:squircle}.capture-primary,.capture-secondary,.capture-preview,.nutrition-cell,.food-action-summary,.food-action-summary img,.food-action-placeholder,.pantry-saved-message,.metric-grid>div,.nutrient-metric,.notification-status-card,.notification-options,.analysis-summary,.pantry-toggle-row,.analysis-check,.analysis-ingredients,.pantry-option,.pantry-candidates>label,.pantry-card-main,.pantry-selection-bar,.pantry-review-row,.insights-average-info,.insight-day-detail,.onboarding-reminder-prompt,.empty-state>div,.pantry-empty>div,.auth-mark,.avatar,.avatar.large,.camera-nav span{border-radius:var(--radius-inset);corner-shape:squircle}.primary-button,.nutrient-dialog-footer .primary-button,.add-button,.category-select,.meal-date-select,.textarea-wrap textarea,.detail-section textarea,.confirm-dialog button,.segmented,.search-box,.calendar-grid>button,.no-day-meals,.insights-switch,.form-grid input,.form-grid select,.field-label input,.setting-row>select,.category-manager input,.category-manager button:not(.category-delete),.profile-action-message,.weight-input-wrap,.privacy-line,.auth-card input,.social-button,.auth-config-message,.notification-status-card>div,.notification-message,.analysis-summary>img,.pantry-toolbar>button:last-child,.pantry-search-row>label,.pantry-sort,.pantry-note textarea,.pantry-name-field input,.crop-controls button,.pantry-delete,.weight-inspect select,.nutrition-label-capture,.meal-action-preview>div:first-child,.meal-placement-form input,.meal-placement-form select,.meal-action-confirm button,.meal-action-list button,.meal-actions-menu .meal-action-list button{border-radius:var(--radius-control);corner-shape:squircle}.food-item-button,.food-quantity-editor button,.food-quantity-editor input,.segmented button,.insights-switch button,.portion-stepper button,.nutrient-drag-handle,.nutrient-target-input input,.nutrient-visibility-switch,.scroll-picker-band,.scroll-picker-list,.ingredient-name input,.ingredient-calories input,.ingredient-serving>input,.nutrition-label-capture img,.nutrition-label-detail img,.ingredient-swipe-cue,.ingredient-keyboard-delete,.meal-more{border-radius:var(--radius-small);corner-shape:squircle}.meal-actions-menu{padding:6px}.meal-action-list .meal-action-danger,.meal-actions-menu .meal-action-list .meal-action-danger{border-radius:0 0 var(--radius-control) var(--radius-control)}.bottom-nav{border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;corner-shape:squircle}.bottom-nav .nav-selection>span{border-radius:var(--radius-control);corner-shape:squircle}@media(max-width:759px){.capture-sheet{--capture-bottom-radius:max(36px, calc(env(safe-area-inset-bottom,0px) + 12px) );border-bottom-left-radius:var(--capture-bottom-radius);border-bottom-right-radius:var(--capture-bottom-radius)}@supports (corner-shape:squircle){.capture-sheet{--capture-bottom-radius:max(54px, calc(env(safe-area-inset-bottom,0px)*1.5 + 18px) )}}}@media(min-width:760px){.bottom-nav{border-radius:var(--radius-sheet)}.detail-photo{border-radius:0 0 var(--radius-sheet) var(--radius-sheet);corner-shape:squircle}}.form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:16px}.form-grid label,.field-label{gap:8px;min-width:0;font-size:12px;line-height:1.5}.form-grid input,.form-grid select,.field-label input{min-width:0;max-width:100%;height:48px;font-size:16px}.nutrition-cell input{flex:1;min-width:0;max-width:100%}.nutrition-cell small{flex:none}@media(max-width:540px){.pantry-review .category-select{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;display:grid}.pantry-review .category-select select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px}}.settings-version{border-radius:var(--radius-control);corner-shape:squircle;min-height:52px;color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;margin:16px auto 0;padding:8px 16px;font-size:12px;display:flex}.settings-version>span{color:var(--primary-dark);align-items:center;gap:3px;display:inline-flex}.settings-version:hover{background:var(--surface-2)}.release-notes-dialog{border:1px solid var(--line);border-radius:var(--radius-sheet);corner-shape:squircle;background:var(--surface);width:min(540px,100vw - 24px);max-width:none;max-height:min(820px,100dvh - 32px);color:var(--text);box-shadow:var(--shadow);margin:auto;padding:0;overflow:hidden}.release-notes-dialog[open]{flex-direction:column;display:flex}.release-notes-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1115127a}.release-notes-header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:flex-start;gap:12px;padding:24px 24px 18px;display:flex}.release-notes-header h2{letter-spacing:-.035em;margin:0;font-size:26px;font-weight:650;line-height:1.2}.release-notes-header p{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.5}.release-notes-header .icon-button{flex:none}.release-notes-content{overscroll-behavior:contain;min-height:0;padding:20px 24px 24px;overflow-y:auto}.release-notes-intro{margin:0 0 20px;font-size:15px;line-height:1.5}.release-highlights{gap:18px;margin:0;padding:0;list-style:none;display:grid}.release-highlights li{grid-template-columns:21px minmax(0,1fr);align-items:start;gap:12px;display:grid}.release-highlights li>svg{color:var(--primary-dark);margin-top:1px}.release-highlights h3{margin:0 0 5px;font-size:15px;font-weight:650;line-height:1.4}.release-highlights p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.release-notes-footer{padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--line);flex:none}.release-notes-footer p{text-align:center;color:var(--muted);margin:10px 0 0;font-size:11px;line-height:1.5}@media(max-width:380px){.release-notes-header,.release-notes-content,.release-notes-footer{padding-inline:18px}}@media(max-height:500px){.release-notes-header{padding-block:14px}.release-notes-footer{padding-block:12px}}.camera-nav span{border-color:var(--primary);background:var(--primary);color:var(--bg);box-shadow:0 6px 16px var(--primary)}@supports (color:color-mix(in lab,red,red)){.camera-nav span{box-shadow:0 6px 16px color-mix(in srgb,var(--primary) 32%,transparent)}}.capture-morph-icon,:root[data-theme=dark] :is(.primary-button,.capture-primary,.avatar:not(.has-art),.category-add>button,.food-action-placeholder,.analysis-summary>i,.pantry-sticker i,.avatar-check){color:var(--bg)}.ob-card,.ob-choice,.ob-list button,.ob-weight,.ob-confirm,.ob-segmented,.ob-segmented button,.ob-icon,.ob-manual-input,.ob-weight-mismatch,.ob-error,.ob-primary,.macro-legend button{corner-shape:squircle}.detail-summary{border:1px solid var(--line);border-radius:var(--radius-card);corner-shape:squircle;background:var(--surface);min-height:120px;box-shadow:var(--shadow);grid-template-columns:minmax(0,30%) minmax(0,1fr);margin:8px 16px 0;display:grid;overflow:hidden}.detail-summary-photo{background:var(--surface-2);min-height:120px;position:relative;overflow:hidden}.detail-summary-photo>button{background:0 0;border:0;width:100%;height:100%;padding:0;display:block;position:absolute;inset:0}.detail-summary-photo img{object-fit:cover;width:100%;height:100%;display:block}.detail-summary-photo>button>span{color:#fff;background:#0006;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;bottom:10px;left:10px}.detail-summary-photo>.meal-placeholder{position:absolute;inset:0}.detail-summary-copy{align-self:center;min-width:0;padding:12px 14px}.detail-summary-copy h1{letter-spacing:-.025em;overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:550;line-height:1.25}.detail-summary-copy .meal-meta{margin:6px 0 4px;font-size:12px}.detail-summary-meta{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:2px 8px;margin:0;font-size:12px;line-height:1.4;display:flex}.detail-summary+.detail-body{padding-top:12px}.detail-page .detail-section{margin-top:10px;padding:12px}.detail-page .detail-section:first-child{margin-top:0}.detail-page .section-head{flex-wrap:wrap;gap:8px;margin-bottom:0}.detail-page .nutrition-grid{gap:6px;margin-top:10px}.detail-page .nutrition-cell{padding:8px 6px}.detail-page .nutrition-cell>span{text-transform:none;letter-spacing:0;overflow-wrap:anywhere;font-size:14px;font-weight:600}.detail-page .nutrition-cell strong{overflow-wrap:anywhere;font-size:22px}.detail-page .nutrition-cell small{font-size:12px}.detail-page:not(.editing) .nutrition-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-page .more-nutrients{margin-top:2px}.detail-page .more-nutrients-toggle{min-height:44px;font-size:14px}.meal-nutrition .nutrient-overview,.meal-nutrition .nutrient-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:12px 0 0;display:grid}.meal-nutrition .nutrient-overview>div{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 8px;min-width:0;padding:11px 0;display:flex}.meal-nutrition .nutrient-overview>.featured{background:var(--primary-soft);color:var(--primary-dark);border:0;border-radius:14px;grid-column:1/-1;align-items:center;margin-bottom:2px;padding:10px 12px}.meal-nutrition .nutrient-overview{grid-template-columns:repeat(var(--meter-columns,3),minmax(0,1fr));gap:14px 16px}.meal-nutrition .nutrient-overview>.nutrient-meter-row{border:0;grid-template-columns:minmax(0,1fr);align-content:start;gap:4px;padding:2px 0 0;display:grid}.meal-nutrition .nutrient-meter{white-space:normal;gap:6px;margin-top:4px;display:grid}.meal-nutrition .nutrient-meter .progress-track{background:var(--meter-color);height:6px}@supports (color:color-mix(in lab,red,red)){.meal-nutrition .nutrient-meter .progress-track{background:color-mix(in srgb,var(--meter-color) 16%,var(--surface-2))}}.meal-nutrition .nutrient-meter .progress-track span{background:var(--meter-color)}.meal-nutrition .nutrient-meter small{font-size:11px;font-weight:600;line-height:1.3}.meal-nutrition .nutrient-meter.empty .progress-track{background:var(--surface-2)}.meal-nutrition dt{min-width:0;color:var(--muted);overflow-wrap:anywhere;font-size:14px;line-height:1.4}.meal-nutrition dd{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;align-items:baseline;gap:4px;margin:0;font-size:18px;font-weight:650;line-height:1.3;display:flex}.meal-nutrition dd small{color:var(--muted);font-size:12px;font-weight:500}.meal-nutrition .featured dt{color:inherit;font-weight:600}.meal-nutrition .featured dd{letter-spacing:-.03em;font-size:28px}.meal-nutrition .featured dd small{letter-spacing:0}.meal-nutrition .nutrient-breakdown{margin-top:0}.meal-nutrition .nutrient-breakdown>div{border-bottom:1px solid var(--line);flex-direction:column;justify-content:space-between;gap:4px;min-width:0;padding:9px 0;display:flex}.meal-nutrition .nutrient-breakdown>div:last-child:nth-child(odd){grid-column:1/-1}.meal-nutrition .nutrient-breakdown>div:nth-last-child(-n+2){border-bottom:0}.detail-page .meal-nutrition .more-nutrients{margin-top:6px}.detail-page .meal-nutrition .more-nutrients-toggle{color:var(--primary-dark);border-radius:10px;gap:7px;padding:8px 6px}.detail-page .meal-nutrition .more-nutrients-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.detail-page .meal-nutrition .more-nutrients-toggle:hover{background:var(--primary-soft)}.detail-page .food-items{margin-top:4px}.detail-page .food-item-button{gap:8px;min-height:44px;padding-block:8px;font-size:14px}.detail-page .food-item-copy strong{overflow-wrap:anywhere}.detail-page .food-item-copy small,.detail-page .food-item-calories{font-size:12px}.detail-page .detail-section blockquote{overflow-wrap:anywhere;margin:8px 0 0;font-size:16px}.detail-add-note{align-items:center;gap:5px;min-height:44px;margin-top:4px;font-size:14px;display:flex}.meal-morph-surface{overflow:hidden}.detail-page .detail-section{animation:none}.food-action-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#1115125c}.food-action-sheet .sheet-head h2{overflow-wrap:anywhere}@media(min-width:760px){.detail-summary{grid-template-columns:144px minmax(0,1fr);min-height:132px;margin:10px 0 0}.detail-summary-photo{min-height:132px}.detail-summary-copy{padding:16px}.detail-summary-copy h1{font-size:24px}}@media(max-width:380px){.detail-summary{margin-inline:12px}.detail-summary-copy{padding:12px}.detail-summary-copy h1{font-size:18px}.detail-page:not(.editing) .nutrition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.detail-edit-controls{align-items:center;gap:5px;display:flex}.detail-edit-button,.detail-cancel-button{border:0;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 13px;font-size:14px;display:inline-flex}.detail-edit-button{background:var(--primary-soft);color:var(--primary-dark);font-weight:650}.detail-edit-button.active{background:var(--primary-dark);color:var(--surface)}.detail-cancel-button{color:var(--muted);background:0 0;padding-inline:8px}.detail-title-field{min-width:0}.detail-summary-copy .meal-title-input{field-sizing:content;border:1px solid var(--line);background:var(--bg);letter-spacing:-.035em;resize:vertical;border-radius:8px;width:100%;min-height:1.25em;margin:-5px 0 -5px -5px;padding:4px;font-size:20px;font-weight:550;line-height:1.25;display:block}.detail-summary-meta{align-items:center}.detail-summary-meta>span+span:before{content:"·";margin-right:8px}.detail-category-field{align-items:center;max-width:100%;display:inline-flex;position:relative}.detail-category-field select{appearance:none;border:1px solid var(--line);background:var(--bg);border-radius:8px;min-width:0;max-width:100%;padding:5px 23px 5px 7px;font-size:16px}.detail-category-field svg{pointer-events:none;position:absolute;right:6px}.meal-nutrition .nutrient-value-input{border:1px solid var(--line);background:var(--bg);width:5.5ch;min-width:0;color:inherit;text-align:right;font:inherit;font-variant-numeric:tabular-nums;appearance:textfield;border-radius:8px;padding:3px 5px}.meal-nutrition .nutrient-value-input::-webkit-inner-spin-button{appearance:none;margin:0}.meal-nutrition .nutrient-value-input::-webkit-outer-spin-button{appearance:none;margin:0}.meal-nutrition .featured .nutrient-value-input{background:var(--surface)}.meal-nutrition .nutrient-breakdown .nutrient-value-input{width:7ch}.detail-page .food-items>.detail-ingredient-row{border:0;padding:0;display:block}.detail-ingredient-row .food-item-button{width:100%}.detail-ingredient-row .ingredient-editor{border-bottom:1px solid var(--line);padding:8px 0 12px}.detail-page .meal-notes textarea{border:1px solid var(--line);border-left:3px solid var(--amber);background:var(--amber-soft);resize:vertical;border-radius:0 8px 8px 0;width:100%;margin-top:8px;padding:10px 12px;font-size:16px;line-height:1.5;display:block}html[data-meal-edit-motion]::view-transition{pointer-events:none}html[data-meal-edit-motion]::view-transition-group(*){z-index:2;animation-duration:.46s;animation-timing-function:cubic-bezier(.4,0,.2,1)}html[data-meal-edit-motion]::view-transition-group(root){z-index:0;animation:none}html[data-meal-edit-motion]::view-transition-old(root){animation:.16s ease-out both tab-dissolve-out}html[data-meal-edit-motion]::view-transition-new(root){animation:.22s ease-out .1s both tab-dissolve-in}html[data-meal-edit-motion]::view-transition-old(*){object-fit:contain;object-position:top left;width:100%;height:auto;animation-duration:.3s}html[data-meal-edit-motion]::view-transition-new(*){object-fit:contain;object-position:top left;width:100%;height:auto;animation-duration:.3s}html[data-meal-edit-motion]::view-transition-group(meal-edit-summary){z-index:1;background:var(--surface);border-radius:18px;overflow:clip}html[data-meal-edit-motion]::view-transition-group(meal-edit-nutrition){z-index:1;background:var(--surface);border-radius:18px;overflow:clip}html[data-meal-edit-motion]::view-transition-group(meal-edit-ingredients){z-index:1;background:var(--surface);border-radius:18px;overflow:clip}html[data-meal-edit-motion]::view-transition-group(meal-edit-summary){border-radius:var(--radius-card);corner-shape:squircle}html[data-meal-edit-motion]::view-transition-group(meal-edit-toolbar){z-index:5}html[data-meal-edit-motion]::view-transition-group(meal-edit-toolbar-label){z-index:6}html[data-meal-edit-motion]::view-transition-group(meal-edit-toolbar-action){z-index:6}@media(min-width:760px){.detail-summary-copy .meal-title-input{font-size:24px}}@media(max-width:379px){.detail-summary-copy .meal-title-input{font-size:18px}.detail-edit-button,.detail-cancel-button{padding-inline:8px}.detail-topbar>span{font-size:13px}}@media(prefers-reduced-motion:reduce){html[data-meal-edit-motion]::view-transition-group(*){animation-duration:0s!important;animation-delay:0s!important}html[data-meal-edit-motion]::view-transition-old(*){animation-duration:0s!important;animation-delay:0s!important}html[data-meal-edit-motion]::view-transition-new(*){animation-duration:0s!important;animation-delay:0s!important}}.today-eyebrow{flex-wrap:wrap;align-items:center;gap:4px 10px;margin-bottom:4px;display:flex}.today-eyebrow .eyebrow{margin:0}.streak-chip{background:var(--amber-soft);color:var(--text);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;margin:0;padding:2px 9px 2px 5px;font-size:11px;line-height:1.4;animation:.45s cubic-bezier(.34,1.56,.64,1) both streak-pop;display:inline-flex}.streak-chip strong{font-variant-numeric:tabular-nums;font-weight:750}.streak-chip span:not(.streak-flame){color:var(--muted);font-weight:550}.streak-chip.milestone{background:var(--peach)}@supports (color:color-mix(in lab,red,red)){.streak-chip.milestone{background:color-mix(in srgb,var(--peach) 22%,var(--surface))}}.streak-chip.at-risk{background:var(--surface-2)}.streak-flame{width:16px;height:16px;color:var(--peach);place-items:center;display:grid;position:relative}.streak-flame:before{content:"";background:radial-gradient(circle,var(--peach),transparent 70%);border-radius:50%;position:absolute;inset:1px}@supports (color:color-mix(in lab,red,red)){.streak-flame:before{background:radial-gradient(circle,color-mix(in srgb,var(--peach) 45%,transparent),transparent 70%)}}.streak-flame:before{animation:2.4s ease-in-out infinite streak-glow}.streak-flame svg{transform-origin:50% 90%;animation:2.4s ease-in-out infinite streak-flicker;position:relative}.streak-chip.milestone .streak-flame svg{animation-duration:1.2s}.streak-chip.at-risk .streak-flame{color:var(--muted)}.streak-chip.at-risk .streak-flame:before,.streak-chip.at-risk .streak-flame svg{animation:none}.streak-count{animation:.5s cubic-bezier(.34,1.56,.64,1) streak-bump;display:inline-block}@keyframes streak-pop{0%{opacity:0;transform:scale(.7)}}@keyframes streak-bump{40%{transform:scale(1.15)}}@keyframes streak-flicker{0%,to{transform:rotate(-3deg)scale(1)}25%{transform:rotate(2deg)scale(1.08,.96)}50%{transform:rotate(-1deg)scale(.96,1.06)}75%{transform:rotate(3deg)scale(1.04)}}@keyframes streak-glow{0%,to{opacity:.35;transform:scale(.85)}50%{opacity:.8;transform:scale(1.15)}}.notification-status-card{height:auto;min-height:70px}.notification-sheet>.primary-button{margin-top:10px}.detail-analysis-error{margin-top:6px;line-height:1.45}.account-sheet{gap:4px;display:grid}.account-section{border-top:1px solid var(--line);gap:10px;padding:16px 0;display:grid}.account-section:first-of-type{border-top:0;padding-top:4px}.account-section .field-label{font-size:12px}.account-section .field-label input,.account-section .auth-password-field input{border:1px solid var(--line);border-radius:var(--radius-control);corner-shape:squircle;background:var(--bg);width:100%;height:48px;color:var(--text);padding:0 12px;font-size:16px}.account-section .auth-password-field input{padding-right:56px}.account-section .auth-password-toggle{top:2px;right:2px}.account-section .auth-password-field+.auth-hint{font-size:12px}.account-current{color:var(--muted);margin:0;font-size:12px}.account-current strong{color:var(--text);overflow-wrap:anywhere;font-weight:700}.account-hint{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.account-success{color:var(--primary-dark);margin:0;font-size:12px;line-height:1.45}.settings-card>a{border-bottom:1px solid var(--line);width:100%;min-height:65px;color:var(--text);align-items:center;gap:13px;padding:12px 15px;text-decoration:none;display:flex}.settings-card>a:last-child{border:0}.settings-card>a>span{flex:1;gap:2px;display:grid}.settings-card>a>svg:last-child{color:var(--muted)}.auth-legal{max-width:360px;color:var(--muted);text-align:center;margin:6px auto 0;font-size:12px;line-height:1.5}.auth-legal a{color:var(--primary-dark)}.legal-page{width:min(100%,700px);padding:24px 16px calc(48px + env(safe-area-inset-bottom));background:var(--bg);color:var(--text);margin:0 auto;line-height:1.65}.legal-back{min-height:44px;color:var(--primary-dark);align-items:center;gap:6px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.legal-page>header{align-items:center;gap:14px;margin:12px 0 24px;display:flex}.legal-page h1{letter-spacing:-.03em;margin:0;font-size:clamp(28px,7vw,36px);line-height:1.1}.legal-page header p{color:var(--muted);margin:4px 0 0;font-size:13px}.legal-page h2{letter-spacing:-.01em;margin:30px 0 8px;font-size:18px}.legal-page p,.legal-page li{font-size:15px}.legal-page ul{padding-left:20px}.legal-page li+li{margin-top:6px}.legal-page a{color:var(--primary-dark)}.legal-lead{font-size:17px!important}.legal-page>nav{border-top:1px solid var(--line);gap:18px;margin-top:36px;padding-top:18px;font-size:14px;display:flex}.avatar{flex:none;overflow:hidden}.avatar.has-art{color:inherit}.avatar img{object-fit:cover;width:100%;height:100%}.avatar-art{width:58%;height:58%;mask:var(--avatar-icon) center / contain no-repeat;-webkit-mask:var(--avatar-icon) center / contain no-repeat;background:currentColor}.avatar-button{border-radius:var(--radius-inset);background:0 0;border:0;flex:none;padding:0;position:relative}.avatar-button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.avatar-edit{border:2px solid var(--surface);background:var(--surface-2);width:24px;height:24px;color:var(--text);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-4px;right:-4px}.avatar-sheet{gap:14px;display:grid}.avatar-sheet .sheet-head{margin-bottom:0}.avatar-sheet>.primary-button{margin-top:0}.avatar-sheet>.eyebrow{margin:6px 0 -4px}.avatar-preview{place-items:center;padding:4px 0 2px;display:grid}.avatar-preview .avatar.large{width:96px;height:96px;font-size:34px}.avatar-presets{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));justify-items:center;gap:12px;display:grid}.avatar-presets>button{border-radius:calc(var(--radius-inset) + 5px);corner-shape:squircle;transition:border-color var(--motion-fast) var(--motion-ease);background:0 0;border:2px solid #0000;padding:3px;position:relative}.avatar-presets>button[aria-pressed=true]{border-color:var(--primary)}.avatar-presets>button:disabled{opacity:.6}.avatar-check{border:2px solid var(--surface);background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:-5px;right:-5px}.today-header{align-items:center;margin-bottom:16px}.today-header h1{font-size:clamp(26px,6.6vw,34px)}.today-chips{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.today-chips .streak-chip{min-height:26px}.weight-inline{background:var(--surface-2);border-radius:999px;gap:5px;min-height:26px;margin:0;padding:3px 10px 3px 8px;font-size:12px}.summary-slot{margin-bottom:18px}.timeline-heading{align-items:center;margin:4px 2px 8px}.timeline-heading h2{font-size:18px}.timeline-heading h2 span{color:var(--muted);margin-left:4px;font-weight:600}.timeline-add{align-items:center;gap:4px;min-height:36px;font-size:13px;display:inline-flex}.meal-groups{gap:18px}.meal-group-heading{margin-bottom:8px;padding-bottom:6px}.meal-group-list{gap:8px;display:grid}.meal-open{grid-template-columns:76px minmax(0,1fr);align-items:start;gap:12px;min-height:96px;padding:10px 44px 10px 10px;display:grid}.meal-image-wrap{aspect-ratio:1;corner-shape:squircle;border-radius:14px;width:76px}.meal-image-wrap .meal-placeholder{padding:10px}.meal-copy{min-width:0;padding:2px 0 0}.meal-title-row h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;line-height:1.25;display:-webkit-box;overflow:hidden}.meal-meta{align-items:center;gap:8px;margin:2px 0 6px;font-size:11px;display:flex}.meal-meta .analysis-label{margin:0;font-size:9px}.meal-copy blockquote{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;margin:6px 0 0;padding:0;font-size:12px;font-style:italic;overflow:hidden}.meal-more{top:4px;right:2px}.sync-chip{padding:3px 5px;top:auto;bottom:4px;left:4px}@media(min-width:760px){.meal-open{grid-template-columns:96px minmax(0,1fr);min-height:116px}.meal-image-wrap{width:96px}.meal-title-row h3{font-size:16px}}.meal-card.just-logged:after{content:"";z-index:2;border-radius:inherit;box-shadow:inset 0 0 0 2px var(--primary),inset 0 0 0 5px var(--primary);position:absolute;inset:0}@supports (color:color-mix(in lab,red,red)){.meal-card.just-logged:after{box-shadow:inset 0 0 0 2px var(--primary),inset 0 0 0 5px color-mix(in srgb,var(--primary) 22%,transparent)}}.meal-card.just-logged:after{pointer-events:none;animation:2.4s ease-out both just-logged}@keyframes just-logged{0%,60%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.meal-card.just-logged:after{animation-duration:1ms;animation-delay:2s}}.detail-edit-controls .detail-edit-button:not(.active){padding-inline:12px 14px}.detail-menu-anchor{position:relative}.detail-menu-button{width:40px;height:40px;color:var(--muted);background:0 0}.detail-menu-button[aria-expanded=true]{background:var(--surface-2);color:var(--text)}.detail-menu{z-index:3;border:1px solid var(--line);border-radius:var(--radius-inset);background:var(--surface);width:min(270px,100vw - 28px);padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 34px #141e1729}.detail-menu button{border-radius:var(--radius-small);min-height:48px;color:var(--text);text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:9px 11px;display:flex}.detail-menu button>svg{color:var(--muted);flex:none}.detail-menu button.danger>svg{color:inherit}.detail-topbar .detail-menu button>span{gap:1px;font-size:14px;font-weight:650;display:grid}.detail-topbar .detail-menu button strong{font-weight:650}.detail-topbar .detail-menu small{color:var(--muted);font-size:11px;font-weight:500}.detail-menu button.danger{border-top:1px solid var(--line);border-radius:0 0 var(--radius-small) var(--radius-small);margin-top:4px}.detail-status{color:var(--muted);align-items:center;gap:6px;margin:0 0 10px;font-size:13px;display:flex}.detail-reanalyze-button{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);width:100%;min-height:48px;color:var(--primary-dark);justify-content:center;align-items:center;gap:8px;margin-top:14px;font-weight:750;display:flex}.detail-reanalyze-help{text-align:center;margin:8px 4px 0}p.allowance-note{color:var(--muted);text-align:center;margin:-4px 4px 0;font-size:12px;line-height:1.4}p.allowance-note.empty{color:var(--peach)}@supports (color:color-mix(in lab,red,red)){p.allowance-note.empty{color:color-mix(in srgb,var(--peach) 80%,var(--text))}}.capture-actions p.allowance-note{margin-top:2px}.allowance-empty{border:1px solid var(--peach);gap:10px;padding:14px;display:grid}@supports (color:color-mix(in lab,red,red)){.allowance-empty{border:1px solid color-mix(in srgb,var(--peach) 35%,var(--line))}}.allowance-empty{border-radius:var(--radius-inset);corner-shape:squircle;background:var(--peach)}@supports (color:color-mix(in lab,red,red)){.allowance-empty{background:color-mix(in srgb,var(--peach) 8%,var(--surface))}}.allowance-empty>strong{font-size:15px}.allowance-empty>p{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.allowance-actions{flex-wrap:wrap;justify-content:center;gap:4px 18px;display:flex}.allowance-actions:empty{display:none}.analysis-pending{color:var(--muted);margin:0;font-size:12px;font-weight:600}.sheet-handle,.sheet-head,[data-sheet-grip]{touch-action:none}.sheet-handle{cursor:grab;position:relative}.sheet-handle:before{content:"";position:absolute;inset:-14px -48px}.bottom-sheet[tabindex="-1"]:focus{outline:none}.dialog-handle{display:none}@media(max-width:759px){:root dialog.billing-sheet,:root dialog.food-export-dialog,:root dialog.release-notes-dialog{width:calc(100vw - 24px);max-width:540px;margin:auto auto calc(12px + env(safe-area-inset-bottom))}:root dialog.nutrient-dialog{margin:auto auto calc(8px + env(safe-area-inset-bottom))}.dialog-handle{flex:none;margin:9px auto 0;display:block}.food-export-dialog .dialog-handle{margin:-12px auto 14px}}.insights-controls{gap:14px;margin-bottom:22px}.insights-tabs{border-bottom:1px solid var(--line);gap:22px;display:flex}.insights-tabs button{min-height:42px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:0 2px;font-size:15px;font-weight:650}.insights-tabs button[aria-selected=true]{border-bottom-color:var(--primary-dark);color:var(--text)}.insights-range{flex-wrap:wrap;gap:6px;display:flex}.insights-range button{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--muted);border-radius:999px;padding:0 13px;font-size:13px;font-weight:650}.insights-range button[aria-checked=true]{border-color:var(--primary-dark);background:var(--primary-dark);color:var(--surface)}.insights-tabs button:focus-visible,.insights-range button:focus-visible{outline:3px solid var(--primary)}@supports (color:color-mix(in lab,red,red)){.insights-tabs button:focus-visible,.insights-range button:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 45%,transparent)}}.insights-tabs button:focus-visible,.insights-range button:focus-visible{outline-offset:2px}.insights-highlights{border:1px solid var(--line);border-radius:var(--radius-card);corner-shape:squircle;background:var(--surface);box-shadow:var(--shadow);margin-bottom:22px;padding:16px 18px}.insights-highlights h2{letter-spacing:-.02em;margin:0 0 10px;font-size:15px}.insights-highlights ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.insights-highlights li{align-items:flex-start;gap:10px;font-size:14px;line-height:1.4;display:flex}.insights-highlights li>span{background:var(--surface-2);width:28px;height:28px;color:var(--muted);border-radius:50%;flex:none;place-items:center;margin-top:-4px;display:grid}.insights-highlights li.positive>span{background:var(--primary-soft);color:var(--primary-dark)}.nutrient-metric .at-least{color:var(--muted);font-weight:600}.date-relative{color:var(--primary-dark);margin-left:.3em;font-weight:700}@media(min-width:1100px){.app-content{padding-bottom:40px;padding-left:120px}.bottom-nav{border:1px solid var(--line);border-radius:var(--radius-sheet);grid-template-columns:1fr;grid-auto-rows:74px;align-items:center;width:92px;height:auto;padding:10px 8px;top:50%;bottom:auto;left:24px;transform:translateY(-50%)}.bottom-nav .camera-nav{transform:none}.bottom-nav .camera-nav span{border-radius:16px;width:52px;height:52px}:root .bottom-nav .nav-selection{width:calc(100% - 16px);height:74px;top:10px;bottom:auto;left:8px;transform:translateY(calc(var(--nav-index,0) * 100%))!important}:root .bottom-nav .nav-selection>span{width:100%;border-radius:var(--radius-control)!important}.app-toast{left:calc(50% + 60px)}}.capture-backdrop{-webkit-backdrop-filter:none;background:0 0}.capture-scrim{-webkit-backdrop-filter:blur(3px);pointer-events:none;background:#1115127a;position:fixed;inset:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
