@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-wght-normal-BgDaEnEv.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-cyrillic-ext-wght-normal-X_5orZeX.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-cyrillic-wght-normal-DiZS0aHC.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2)format("woff2-variations");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-display:"Bricolage Grotesque Variable", ui-sans-serif, system-ui, sans-serif;--font-ui:"Geist Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono:"Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, monospace;--bg:#f5f4ef;--bg-elev:#fbfaf6;--surface:#fff;--surface-2:#f1f0ea;--surface-3:#e9e7e0;--ink:#121412;--ink-2:#3a3e39;--muted:#6b7067;--faint:#9a9e95;--line:#e5e3db;--line-strong:#d2cfc5;--accent:#c6f432;--accent-strong:#b2e01f;--accent-ink:#162000;--accent-soft:#eefbc6;--ai:#7b61ff;--ai-2:#4f8dff;--ai-3:#16c2a3;--ai-soft:#f0edff;--ai-ink:#4b33d6;--ai-grad:linear-gradient(120deg, #7b61ff 0%, #4f8dff 50%, #16c2a3 100%);--protein:#ff6b4a;--carbs:#f2a516;--fat:#33aef0;--fiber:#24b46b;--extra:#8a7f72;--good:#178a4c;--warn:#b86e00;--bad:#d93a3f;--good-soft:#e3f6ea;--warn-soft:#fff1d9;--bad-soft:#fde7e7;--meal-breakfast:#fff0c2;--meal-lunch:#ffe0d3;--meal-dinner:#e6e4ff;--meal-snack:#d8f4ea;--meal-breakfast-ink:#8a6200;--meal-lunch-ink:#a83e16;--meal-dinner-ink:#4b40b8;--meal-snack-ink:#0f7a5a;--shadow-1:0 1px 2px #1214120f, 0 1px 1px #1214120a;--shadow-2:0 10px 30px #12141214, 0 2px 8px #1214120d;--shadow-3:0 24px 60px #1214122e, 0 6px 18px #12141214;--overlay:#0c0e0c61;--radius-lg:28px;--radius:20px;--radius-sm:14px;--radius-xs:10px;--tabbar-h:64px;--header-h:56px;--sidebar-w:236px;--coach-w:384px;--gutter:16px;--ease:cubic-bezier(.2, .7, .2, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0b0c0b;--bg-elev:#101210;--surface:#151715;--surface-2:#1c1f1c;--surface-3:#242824;--ink:#f1f2ec;--ink-2:#cdd0c7;--muted:#92978d;--faint:#6c7168;--line:#252925;--line-strong:#333832;--accent-soft:#24310d;--ai:#9a87ff;--ai-soft:#1f1a3a;--ai-ink:#b9abff;--good:#46c27c;--warn:#f0a33a;--bad:#ff6b6f;--good-soft:#12291b;--warn-soft:#2e220d;--bad-soft:#321516;--meal-breakfast:#342c10;--meal-lunch:#36211a;--meal-dinner:#221f3e;--meal-snack:#102e26;--meal-breakfast-ink:#ffd36b;--meal-lunch-ink:#ffab8a;--meal-dinner-ink:#b8b1ff;--meal-snack-ink:#74e0bd;--shadow-1:0 1px 2px #0006;--shadow-2:0 10px 30px #00000073;--shadow-3:0 24px 60px #0009;--overlay:#0009;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0b0c0b;--bg-elev:#101210;--surface:#151715;--surface-2:#1c1f1c;--surface-3:#242824;--ink:#f1f2ec;--ink-2:#cdd0c7;--muted:#92978d;--faint:#6c7168;--line:#252925;--line-strong:#333832;--accent-soft:#24310d;--ai:#9a87ff;--ai-soft:#1f1a3a;--ai-ink:#b9abff;--good:#46c27c;--warn:#f0a33a;--bad:#ff6b6f;--good-soft:#12291b;--warn-soft:#2e220d;--bad-soft:#321516;--meal-breakfast:#342c10;--meal-lunch:#36211a;--meal-dinner:#221f3e;--meal-snack:#102e26;--meal-breakfast-ink:#ffd36b;--meal-lunch-ink:#ffab8a;--meal-dinner-ink:#b8b1ff;--meal-snack-ink:#74e0bd;--shadow-1:0 1px 2px #0006;--shadow-2:0 10px 30px #00000073;--shadow-3:0 24px 60px #0009;--overlay:#0009;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--bg);color:var(--ink);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-size:15px;line-height:1.45;overflow-x:hidden}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}img,svg{display:block}h1,h2,h3,h4{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-weight:650;line-height:1.1}p{margin:0}a{color:inherit}:focus-visible{outline:2.5px solid var(--ai);outline-offset:2px;border-radius:8px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.muted{color:var(--muted)}.faint{color:var(--faint)}.tiny{font-size:12px}.small{font-size:13px}[hidden]{display:none!important}.stack{gap:var(--gap,12px);flex-direction:column;display:flex}.row{align-items:center;gap:var(--gap,8px);display:flex}.wrap{flex-wrap:wrap}.grow{flex:auto;min-width:0}.between{justify-content:space-between}.center{text-align:center}.ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (max-width:480px){.hide-narrow{display:none}}.shell{grid-template-columns:minmax(0,1fr);min-height:100dvh;display:grid}.sidebar,.coach-rail{display:none}.topbar{z-index:20;height:calc(var(--header-h) + env(safe-area-inset-top));padding:env(safe-area-inset-top) var(--gutter) 0;background:color-mix(in srgb, var(--bg) 86%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(14px);border-bottom:1px solid #0000;align-items:center;gap:10px;display:flex;position:sticky;top:0}.topbar.is-scrolled{border-bottom-color:var(--line)}.brand{font-family:var(--font-display);letter-spacing:-.03em;align-items:center;gap:9px;font-size:20px;font-weight:700;text-decoration:none;display:flex}.brand__mark{width:28px;height:28px}.main{min-width:0;padding:4px var(--gutter) calc(var(--tabbar-h) + 104px + env(safe-area-inset-bottom))}.page{flex-direction:column;gap:16px;width:100%;max-width:760px;margin:0 auto;display:flex}.page__head{justify-content:space-between;align-items:flex-end;gap:12px;padding-top:8px;display:flex}.page__title{font-size:clamp(30px,7vw,40px);font-weight:700}.page__sub{color:var(--muted);margin-top:4px;font-size:14px}.tabbar{z-index:30;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);background:color-mix(in srgb, var(--bg-elev) 92%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(16px);border-top:1px solid var(--line);grid-template-columns:repeat(5,1fr);align-items:center;display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar__item{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;padding:8px 0;font-size:11px;font-weight:550;text-decoration:none;display:flex}.tabbar__item.is-active{color:var(--ink)}.tabbar__log{background:var(--ink);width:54px;height:54px;color:var(--bg);box-shadow:var(--shadow-2), 0 0 0 5px var(--bg);transition:transform .16s var(--ease);border:0;border-radius:20px;justify-self:center;place-items:center;margin-top:-22px;display:grid}.tabbar__log:active{transform:scale(.94)}@media (min-width:900px){.shell{grid-template-columns:var(--sidebar-w) minmax(0, 1fr)}.topbar,.tabbar{display:none}.sidebar{border-right:1px solid var(--line);background:var(--bg-elev);flex-direction:column;gap:24px;height:100dvh;padding:22px 16px;display:flex;position:sticky;top:0}.sidebar__nav{flex-direction:column;gap:2px;display:flex}.navlink{color:var(--ink-2);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;width:100%;padding:10px 12px;font-weight:550;text-decoration:none;display:flex}.navlink:hover{background:var(--surface-2)}.navlink.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-1)}.sidebar__foot{flex-direction:column;gap:10px;margin-top:auto;display:flex}.main{padding:28px 32px 64px}.page__title{font-size:40px}}@media (min-width:1240px){.shell.has-coach{grid-template-columns:var(--sidebar-w) minmax(0, 1fr) var(--coach-w)}.coach-rail{border-left:1px solid var(--line);background:var(--bg-elev);flex-direction:column;height:100dvh;display:flex;position:sticky;top:0}}.btn{--h:44px;height:var(--h);white-space:nowrap;background:var(--surface-2);color:var(--ink);transition:transform .14s var(--ease), background .14s var(--ease), opacity .14s;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:14.5px;font-weight:600;text-decoration:none;display:inline-flex}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn--primary{background:var(--ink);color:var(--bg)}.btn--accent{background:var(--accent);color:var(--accent-ink)}.btn--accent:hover:not(:disabled){background:var(--accent-strong)}.btn--ai{background:var(--ai-grad);color:#fff;box-shadow:0 6px 18px #7b61ff47}.btn--ghost{border-color:var(--line-strong);background:0 0}.btn--quiet{color:var(--ink-2);background:0 0;padding:0 10px}.btn--quiet:hover:not(:disabled),.btn--ghost:hover:not(:disabled){background:var(--surface-2)}.btn--danger{background:var(--bad-soft);color:var(--bad)}.btn--sm{--h:34px;padding:0 13px;font-size:13.5px}.btn--wrap{height:auto;min-height:var(--h);white-space:normal;text-align:center;max-width:100%;padding-block:6px}.btn--xs{--h:28px;padding:0 10px;font-size:12.5px}.btn--icon{width:var(--h);padding:0}.btn--block{width:100%}.btn--lg{--h:52px;padding:0 22px;font-size:16px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-1)}.card--pad{padding:18px}.card__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.card__title{font-size:17px;font-weight:650}.card--ai{background:linear-gradient(var(--surface), var(--surface)) padding-box, var(--ai-grad) border-box;border:1px solid #0000;position:relative}.card--soft{background:var(--surface-2);box-shadow:none;border-color:#0000}.eyebrow{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);align-items:center;gap:6px;font-size:12px;font-weight:650;display:inline-flex}.eyebrow--ai{color:var(--ai-ink)}.ai-text{background:var(--ai-grad);color:#0000;-webkit-background-clip:text;background-clip:text}.chip{border:1px solid var(--line);background:var(--surface);height:32px;color:var(--ink-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:550;display:inline-flex}@media (hover:hover){button.chip:not(.is-active):hover{background:var(--surface-2)}}.chip.is-active{background:var(--ink);border-color:var(--ink);color:var(--bg)}.chip--ai{background:var(--ai-soft);color:var(--ai-ink);border-color:#0000}.chip--accent{background:var(--accent-soft);color:var(--ink);border-color:#0000}.badge{background:var(--surface-2);height:20px;color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:0 7px;font-size:11px;font-weight:650;display:inline-flex}.badge--ai{background:var(--ai-soft);color:var(--ai-ink)}.badge--warn{background:var(--warn-soft);color:var(--warn)}.badge--good{background:var(--good-soft);color:var(--good)}.seg{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;padding:3px;display:inline-grid}.seg__btn{height:32px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:0 14px;font-size:13.5px;font-weight:600}.seg__btn.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-1)}.seg--block{width:100%;display:grid}.scroll-x{scrollbar-width:none;margin:0 calc(var(--gutter) * -1);padding:2px var(--gutter);gap:8px;display:flex;overflow-x:auto}.scroll-x::-webkit-scrollbar{display:none}.field{flex-direction:column;gap:6px;display:flex}.field__label{color:var(--ink-2);font-size:13px;font-weight:600}.field__hint{color:var(--muted);font-size:12.5px}.field__error{color:var(--bad);font-size:12.5px}.input,.select,.textarea{border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--surface);width:100%;height:46px;padding:0 14px;font-size:16px;transition:border-color .14s,box-shadow .14s}.textarea{resize:vertical;height:auto;min-height:96px;padding:12px 14px;line-height:1.45}.input:focus,.select:focus,.textarea:focus{border-color:var(--ai);box-shadow:0 0 0 4px color-mix(in srgb, var(--ai) 18%, transparent);outline:none}.input--sm{height:38px;font-size:15px}.input-affix{align-items:center;display:flex;position:relative}.input-affix .input{padding-right:52px}.input-affix__suffix{color:var(--muted);pointer-events:none;font-size:14px;position:absolute;right:14px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.switch{background:var(--surface-3);width:44px;height:26px;transition:background .16s var(--ease);border:0;border-radius:999px;flex:none;position:relative}.switch:after{content:"";width:20px;height:20px;box-shadow:var(--shadow-1);transition:transform .16s var(--ease);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px}.switch[aria-checked=true]{background:var(--ink)}.switch[aria-checked=true]:after{transform:translate(18px)}.sheet-overlay{z-index:60;background:var(--overlay);animation:fade-in .16s var(--ease);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg-elev);border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100%;max-height:calc(100dvh - 24px);box-shadow:var(--shadow-3);animation:sheet-up .24s var(--ease);flex-direction:column;display:flex;overflow:hidden}.sheet--full{height:calc(100dvh - 12px)}.sheet__grab{background:var(--line-strong);border-radius:99px;flex:none;width:40px;height:5px;margin:8px auto 0}.sheet__head{flex:none;align-items:center;gap:10px;padding:12px 16px 10px;display:flex}.sheet__title{font-size:22px;font-weight:700}.sheet__body{overscroll-behavior:contain;flex:auto;padding:4px 16px 20px;overflow-y:auto}.sheet__foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg-elev);flex:none}@media (min-width:720px){.sheet-overlay{align-items:center;padding:24px}.sheet{border-radius:var(--radius-lg);max-width:640px;max-height:min(860px,100dvh - 48px);animation:pop-in .2s var(--ease)}.sheet--sm{max-width:460px}.sheet--full{height:min(860px,100dvh - 48px)}.sheet__grab{display:none}.sheet__head{padding:18px 20px 10px}.sheet__body{padding:4px 20px 20px}.sheet__foot{padding:14px 20px}}@keyframes fade-in{0%{opacity:0}}@keyframes sheet-up{0%{opacity:.4;transform:translateY(40px)}}@keyframes pop-in{0%{opacity:0;transform:translateY(8px)scale(.98)}}.week{grid-template-columns:auto repeat(7,minmax(0,1fr)) auto;align-items:center;gap:4px;display:grid}.week__day{background:0 0;border:1px solid #0000;border-radius:14px;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:7px 0 6px;display:flex}.week__dow{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.week__num{font-family:var(--font-display);font-size:18px;font-weight:650}.week__dot{background:0 0;border-radius:50%;width:5px;height:5px}.week__day.has-log .week__dot{background:var(--fiber)}.week__day.is-today{border-color:var(--line-strong)}.week__day.is-selected{background:var(--ink);color:var(--bg)}.week__day.is-selected .week__dow{color:color-mix(in srgb, var(--bg) 70%, transparent)}.week__day.is-selected.has-log .week__dot{background:var(--accent)}.week__day:disabled{opacity:.35;cursor:default}.budget{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;display:grid}.ring{flex:none;width:148px;height:148px;position:relative}.ring__center{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.ring__big{font-family:var(--font-display);letter-spacing:-.03em;font-size:34px;font-weight:700;line-height:1}.ring__label{color:var(--muted);margin-top:4px;font-size:12px}.ring__track{stroke:var(--surface-3)}.ring__fill{stroke:var(--ink);transition:stroke-dashoffset .5s var(--ease)}.ring.is-over .ring__fill{stroke:var(--warn)}.macros{flex-direction:column;gap:12px;display:flex}.macro__top{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:5px;font-size:13px;display:flex}.macro__name{align-items:center;gap:6px;font-weight:600;display:inline-flex}.macro__swatch{border-radius:3px;width:8px;height:8px}.bar{background:var(--surface-3);border-radius:99px;height:8px;overflow:hidden}.bar__fill{height:100%;transition:width .4s var(--ease);border-radius:99px}.nchips{border-top:1px dashed var(--line-strong);grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:16px;padding-top:16px;display:grid}.nchip{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;gap:6px;min-width:0;padding:10px 12px;display:flex}.nchip__top{justify-content:space-between;gap:6px;font-size:12.5px;display:flex}.nchip__name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.nchip .bar{height:5px}@media (max-width:420px){.budget{grid-template-columns:1fr;justify-items:center}.budget .macros{width:100%}}.composer{background:linear-gradient(var(--surface), var(--surface)) padding-box, var(--ai-grad) border-box;box-shadow:var(--shadow-2);border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;min-height:56px;padding:6px 6px 6px 16px;display:flex}.composer__spark{color:var(--ai);flex:none}.composer__open{text-align:left;min-width:0;height:44px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:auto;padding:0 4px;font-size:15.5px;overflow:hidden}.composer__tool{background:var(--surface-2);width:42px;height:42px;color:var(--ink-2);border:0;border-radius:50%;flex:none;place-items:center;display:grid}.composer__tool:hover{background:var(--surface-3)}.composer-float{left:var(--gutter);right:var(--gutter);bottom:calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom));z-index:25;max-width:728px;margin:0 auto;position:fixed}@media (min-width:900px){.composer-float{display:none}}.composer-inline{display:none}@media (min-width:900px){.composer-inline{display:block}}.meal{padding:6px 0}.meal+.meal{border-top:1px solid var(--line)}.meal__head{align-items:center;gap:10px;padding:10px 0;display:flex}.meal__icon{border-radius:11px;flex:none;place-items:center;width:34px;height:34px;display:grid}.meal__icon--breakfast{background:var(--meal-breakfast);color:var(--meal-breakfast-ink)}.meal__icon--lunch{background:var(--meal-lunch);color:var(--meal-lunch-ink)}.meal__icon--dinner{background:var(--meal-dinner);color:var(--meal-dinner-ink)}.meal__icon--snack{background:var(--meal-snack);color:var(--meal-snack-ink)}.meal__title{font-size:15.5px;font-weight:650}.meal__kcal{color:var(--muted);font-size:13px}.entry{text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:10px;width:100%;padding:9px 8px 9px 44px;display:flex}.entry:hover{background:var(--surface-2)}.entry__name{text-overflow:ellipsis;white-space:nowrap;font-weight:550;overflow:hidden}.entry__meta{color:var(--muted);font-size:12.5px}.entry__kcal{white-space:nowrap;font-size:14px;font-weight:600}.meal__empty{flex-wrap:wrap;gap:8px;padding:2px 0 8px 44px;display:flex}.ritem{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);animation:pop-in .22s var(--ease) both;flex-direction:column;gap:10px;padding:14px;display:flex}.ritem__head{align-items:flex-start;gap:10px;display:flex}.ritem__name{font-size:15.5px;font-weight:650}.ritem__sub{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:3px;font-size:12.5px;display:flex}.conf{align-items:center;gap:3px;display:inline-flex}.conf i{background:var(--line-strong);border-radius:50%;width:6px;height:6px}.conf--high i{background:var(--good)}.conf--medium i:nth-child(-n+2){background:var(--warn)}.conf--low i:first-child{background:var(--bad)}.grams{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;align-items:center;height:40px;display:inline-flex}.grams__btn{width:40px;height:38px;color:var(--ink-2);background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.grams__btn:hover{background:var(--surface-3)}.grams__input{text-align:right;appearance:textfield;background:0 0;border:0;width:64px;height:38px;padding:0;font-size:16px;font-weight:650}.grams__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.grams__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.grams__input:focus{outline:none}.grams__unit{color:var(--muted);padding:0 4px 0 3px;font-size:13px}.servings{flex-wrap:wrap;gap:6px;display:flex}.macro-line{color:var(--ink-2);flex-wrap:wrap;gap:4px 12px;font-size:13px;display:flex}.macro-line b{color:var(--ink);font-weight:650}.dot{vertical-align:1px;border-radius:50%;width:7px;height:7px;margin-right:4px;display:inline-block}.skeleton{background:linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 40%, var(--surface-2) 80%);background-size:200% 100%;border-radius:12px;animation:1.3s linear infinite shimmer}.thinking{align-items:center;gap:8px;font-size:13.5px;font-weight:550;display:inline-flex}.thinking__orb{background:var(--ai-grad);width:18px;height:18px;animation:orb 1.2s var(--ease) infinite alternate;border-radius:50%}@keyframes shimmer{to{background-position:-200% 0}}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes orb{0%{filter:hue-rotate();transform:scale(.75)}to{filter:hue-rotate(40deg);transform:scale(1.05)}}.toasts{left:50%;bottom:calc(var(--tabbar-h) + 84px + env(safe-area-inset-bottom));z-index:90;pointer-events:none;flex-direction:column;gap:8px;width:min(440px,100vw - 32px);display:flex;position:fixed;transform:translate(-50%)}@media (min-width:900px){.toasts{bottom:28px}}.toast{pointer-events:auto;background:var(--ink);color:var(--bg);box-shadow:var(--shadow-3);animation:pop-in .2s var(--ease);border-radius:16px;align-items:center;gap:10px;padding:10px 10px 10px 16px;font-size:14px;font-weight:550;display:flex}.toast--error{background:var(--bad);color:#fff}.toast .btn{--h:32px;background:color-mix(in srgb, var(--bg) 16%, transparent);color:inherit}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}@media (max-width:560px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats>:first-child{grid-column:1/-1}}.stat{flex-direction:column;gap:2px;min-width:0;padding:14px 16px;display:flex}.stat__label{color:var(--muted);font-size:12.5px;font-weight:600}.stat__value{font-family:var(--font-display);letter-spacing:-.03em;font-size:26px;font-weight:700;line-height:1.15}.stat__sub{color:var(--muted);font-size:12.5px}.chart{touch-action:pan-y;width:100%;height:auto;overflow:visible}.chart text{fill:var(--faint);font-size:11px;font-family:var(--font-ui)}.chart .grid{stroke:var(--line);stroke-width:1px}.legend{color:var(--muted);flex-wrap:wrap;gap:14px;font-size:12.5px;display:flex}.legend__swatch{vertical-align:3px;border-radius:2px;width:14px;height:3px;margin-right:6px;display:inline-block}.tooltip{pointer-events:none;background:var(--ink);color:var(--bg);white-space:nowrap;box-shadow:var(--shadow-2);border-radius:10px;padding:7px 10px;font-size:12.5px;position:absolute;transform:translate(-50%,calc(-100% - 10px))}.banner{border-radius:var(--radius-sm);align-items:flex-start;gap:12px;padding:14px 16px;font-size:14px;display:flex}.banner--warn{background:var(--warn-soft);color:var(--ink)}.banner--warn svg{color:var(--warn);flex:none}.banner--ai{background:var(--ai-soft)}.banner--ai svg{color:var(--ai);flex:none}.drivers{flex-direction:column;gap:8px;margin-top:12px;display:flex}.driver{align-items:flex-start;gap:10px;font-size:14px;display:flex}.driver__icon{background:var(--surface-2);border-radius:8px;flex:none;place-items:center;width:26px;height:26px;display:grid}.driver__icon--up{color:var(--warn)}.driver__icon--down{color:var(--good)}.coach{flex-direction:column;height:100%;min-height:0;display:flex}.coach__head{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:18px 18px 12px;display:flex}.coach__avatar{background:var(--ai-grad);color:#fff;border-radius:12px;flex:none;place-items:center;width:34px;height:34px;display:grid}.coach__list{flex-direction:column;flex:auto;gap:14px;padding:16px 18px;display:flex;overflow-y:auto}.coach__foot{padding:10px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.coach-page .coach__foot{padding-bottom:calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom))}@media (min-width:900px){.coach-page .coach__foot{padding-bottom:14px}}.coach-page{height:calc(100dvh - var(--header-h) - env(safe-area-inset-top));margin:-4px calc(var(--gutter) * -1) calc((var(--tabbar-h) + 104px + env(safe-area-inset-bottom)) * -1)}@media (min-width:900px){.coach-page{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);max-width:760px;height:calc(100dvh - 92px);margin:0 auto;overflow:hidden}}.coach__input{border:1px solid var(--line-strong);background:var(--surface);border-radius:22px;align-items:flex-end;gap:8px;padding:6px 6px 6px 14px;display:flex}.coach__input:focus-within{border-color:var(--ai);box-shadow:0 0 0 4px color-mix(in srgb, var(--ai) 16%, transparent)}.coach__input textarea{resize:none;background:0 0;border:0;flex:1;min-height:40px;max-height:140px;padding:9px 0;font-size:15.5px;line-height:1.4}.coach__input textarea:focus{outline:none}.msg{max-width:92%;font-size:15px;line-height:1.5}.msg--user{background:var(--ink);color:var(--bg);border-radius:20px 20px 6px;align-self:flex-end;padding:10px 14px}.msg--ai{flex-direction:column;align-self:flex-start;gap:10px;display:flex}.msg--ai p+p,.msg--ai p+ul,.msg--ai ul+p{margin-top:8px}.msg--ai ul{margin:0;padding-left:18px}.msg--safety{background:var(--surface-2);border-radius:16px;padding:12px 14px}.mini{background:var(--surface-2);border:1px solid var(--line);border-radius:16px;padding:12px}.mini__title{color:var(--muted);margin-bottom:6px;font-size:12px;font-weight:650}.prompts{flex-direction:column;gap:8px;display:flex}.prompt{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:12px 14px;font-size:14.5px;font-weight:550}.prompt:hover{border-color:var(--ai)}.caret:after{content:"";vertical-align:-2px;background:var(--ai);border-radius:2px;width:7px;height:15px;margin-left:2px;animation:1s steps(2,end) infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.list{flex-direction:column;display:flex}.list-item{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-width:0;padding:12px 4px;display:flex}.list-item:last-child{border-bottom:0}button.list-item{text-align:left;background:0 0;border-top:0;border-left:0;border-right:0;width:100%}button.list-item:hover{background:var(--surface-2)}.check{border:1.5px solid var(--line-strong);background:var(--surface);color:#0000;border-radius:8px;flex:none;place-items:center;width:24px;height:24px;display:grid}.check.is-on{background:var(--ink);border-color:var(--ink);color:var(--bg)}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:10px;padding:28px 16px;display:flex}.empty__icon{background:var(--surface-2);width:48px;height:48px;color:var(--ink-2);border-radius:16px;place-items:center;display:grid}.section-title{font-size:20px;font-weight:700}.ngroup+.ngroup{margin-top:16px}.ngroup__title{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:700}.nrow{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:10px 0;display:grid}.nrow__edit{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px;display:flex}.nrow__edit .input{width:120px}.nrow__edit .select{width:auto}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.input[aria-invalid=true]{border-color:var(--bad);box-shadow:0 0 0 3px var(--bad-soft)}.signin{place-items:center;min-height:100dvh;padding:16px;display:grid}.signin__card{gap:18px;width:min(100%,420px)}.signin__google{justify-content:center;min-height:44px;display:flex}.signin__or{color:var(--muted);align-items:center;gap:12px;font-size:13px;display:flex}.signin__or:before,.signin__or:after{content:"";background:var(--line);flex:1;height:1px}.signin__code{letter-spacing:.3em;text-align:center;font-size:24px}.consent{cursor:pointer;align-items:center;gap:10px;display:flex}.consent input:focus-visible+.check{outline:2.5px solid var(--ai);outline-offset:2px}.consent .check svg{color:inherit}.member{border-bottom:1px solid var(--line);flex-direction:column;gap:12px;min-width:0;padding:14px 0;display:flex}.member:last-child{border-bottom:0;padding-bottom:0}.member__facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:0;display:grid}.member__facts dt{color:var(--muted);font-size:12px;font-weight:600}.member__facts dd{margin:0;font-weight:600}@media (min-width:560px){.member__facts{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:900px){.hide-wide{display:none}}
