@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.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:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-wght-normal-CnvboYUG.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:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-wght-normal-Ca2vKHc0.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:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-wght-normal-ukD16Tqj.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{--bg:#f6f4ef;--surface:#fff;--surface-2:#efece5;--surface-3:#e6e2d9;--ink:#1a1a17;--ink-2:#67645c;--ink-3:#9a968c;--line:#1a1a1714;--accent:#2f5d50;--accent-ink:#fff;--accent-soft:#e3ece8;--protein:#c8633f;--carbs:#d39b33;--fat:#5f79ad;--danger:#b3412f;--intake:#c8633f;--burned:#3d6fd1;--warn-soft:#f7ead2;--shadow:0 1px 2px #1a1a170a, 0 8px 24px #1a1a170f;--shadow-lg:0 24px 64px #1a1a172e;--radius:18px;--radius-sm:12px;--font:"Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--display:"Fraunces Variable", Georgia, serif;--safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#11110f;--surface:#1b1b19;--surface-2:#252522;--surface-3:#2f2f2b;--ink:#f2efe8;--ink-2:#a9a59b;--ink-3:#75726a;--line:#f2efe814;--accent:#86bba5;--accent-ink:#0f1d18;--accent-soft:#1f2d28;--protein:#e3845f;--carbs:#e5b456;--fat:#8aa2d6;--danger:#e0705c;--intake:#e07a52;--burned:#6b98ec;--warn-soft:#3a3121;--shadow:0 1px 2px #0000004d, 0 8px 24px #00000040;--shadow-lg:0 24px 64px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-feature-settings:"cv11", "ss01";margin:0;font-size:15px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}input,textarea,select{outline:none}.num{font-variant-numeric:tabular-nums}.shell{min-height:100%;display:flex}.sidebar{display:none}.main{min-width:0;padding:0 16px calc(96px + var(--safe-bottom));flex:1}.page{max-width:720px;padding-top:max(16px, env(safe-area-inset-top));margin:0 auto}.tabbar{z-index:30;padding:8px 8px calc(8px + var(--safe-bottom));background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(18px);border-top:1px solid var(--line);justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.tab{color:var(--ink-3);letter-spacing:.01em;flex-direction:column;flex:1;align-items:center;gap:3px;padding:4px 0;font-size:11px;font-weight:550;display:flex}.tab[aria-current=page]{color:var(--ink)}.tab svg{stroke-width:1.8px;width:22px;height:22px}@media (width>=900px){.tabbar{display:none}.sidebar{border-right:1px solid var(--line);flex-direction:column;flex:none;gap:4px;width:232px;height:100vh;padding:28px 16px;display:flex;position:sticky;top:0}.sidebar .brand{padding:0 12px 24px}.side-link{color:var(--ink-2);border-radius:12px;align-items:center;gap:12px;padding:10px 12px;font-weight:550;display:flex}.side-link:hover{background:var(--surface-2);color:var(--ink)}.side-link[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.side-link svg{stroke-width:1.8px;width:19px;height:19px}.main{padding:0 40px 64px}.page{padding-top:36px}}.brand{font-family:var(--display);letter-spacing:-.02em;align-items:center;gap:10px;font-size:24px;font-weight:600;display:flex}.brand-mark{background:var(--ink);width:30px;height:30px;color:var(--bg);border-radius:9px;place-items:center;display:grid}h1,h2,h3{letter-spacing:-.02em;margin:0;font-weight:600}.h1{font-family:var(--display);font-size:32px;font-weight:560;line-height:1.1}.h2{font-size:19px}.h3{font-size:15px;font-weight:650}.muted{color:var(--ink-2)}.faint{color:var(--ink-3)}.small{font-size:13px}.tiny{letter-spacing:.02em;font-size:11.5px}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);font-size:11.5px;font-weight:650}.row{align-items:center;gap:12px;display:flex}.col{flex-direction:column;gap:12px;display:flex}.between{justify-content:space-between}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.gap-4{gap:4px}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.gap-24{gap:24px}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.page-head{justify-content:space-between;align-items:flex-end;gap:12px;margin:12px 0 20px;display:flex}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.card.flat{box-shadow:none;border:1px solid var(--line)}.list{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.list-item{text-align:left;align-items:center;gap:12px;width:100%;padding:13px 16px;display:flex;position:relative}.list-item+.list-item:before{content:"";border-top:1px solid var(--line);position:absolute;top:0;left:16px;right:0}button.list-item:hover{background:color-mix(in srgb, var(--surface-2) 50%, transparent)}.empty{text-align:center;color:var(--ink-2);padding:40px 20px}.btn{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:8px;height:44px;padding:0 18px;font-size:15px;font-weight:600;transition:transform 80ms,background .15s,opacity .15s;display:inline-flex}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;pointer-events:none}.btn svg{stroke-width:2px;width:18px;height:18px}.btn-primary{background:var(--ink);color:var(--bg)}.btn-accent{background:var(--accent);color:var(--accent-ink)}.btn-soft{background:var(--surface-2);color:var(--ink)}.btn-ghost{color:var(--ink-2)}.btn-ghost:hover{color:var(--ink);background:var(--surface-2)}.btn-danger{color:var(--danger)}.btn-sm{height:34px;padding:0 13px;font-size:13.5px}.btn-block{width:100%}.icon-btn{width:40px;height:40px;color:var(--ink-2);border-radius:999px;flex:none;place-items:center;display:grid}.icon-btn:hover{background:var(--surface-2);color:var(--ink)}.icon-btn svg{stroke-width:1.9px;width:20px;height:20px}.chip{background:var(--surface-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;height:34px;padding:0 14px;font-size:13.5px;font-weight:580;transition:background .15s,transform 80ms;display:inline-flex}.chip:active{transform:scale(.96)}.chip[aria-pressed=true]{background:var(--ink);color:var(--bg)}.chip svg{stroke-width:2px;width:15px;height:15px}.chips{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.fab{right:20px;bottom:calc(84px + var(--safe-bottom));z-index:25;background:var(--ink);width:58px;height:58px;color:var(--bg);box-shadow:var(--shadow-lg);border-radius:20px;place-items:center;transition:transform .1s;display:grid;position:fixed}.fab:active{transform:scale(.94)}.fab svg{stroke-width:2.2px;width:26px;height:26px}@media (width>=900px){.fab{bottom:32px;right:40px}}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:var(--ink-2);font-size:12.5px;font-weight:600}.input{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid #0000;width:100%;height:46px;padding:0 14px;transition:border .15s,background .15s}.input:focus{border-color:var(--ink-3);background:var(--surface)}textarea.input{resize:vertical;height:auto;min-height:140px;padding:12px 14px;line-height:1.5}.search{position:relative}.search svg{width:18px;height:18px;color:var(--ink-3);position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search .input{padding-left:42px}.seg{background:var(--surface-2);border-radius:999px;padding:3px;display:inline-flex}.seg button{height:32px;color:var(--ink-2);border-radius:999px;padding:0 14px;font-size:13.5px;font-weight:600}.seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.gram-input{justify-content:center;align-items:baseline;gap:6px;padding:10px 0 4px;display:flex}.gram-input input{font-family:var(--display);letter-spacing:-.03em;text-align:center;font-variant-numeric:tabular-nums;background:0 0;border:0;min-width:1.2em;padding:0;font-size:56px;font-weight:500}.gram-input span{font-family:var(--display);color:var(--ink-3);font-size:28px}.dot{border-radius:99px;flex:none;width:8px;height:8px;display:inline-block}.dot.p{background:var(--protein)}.dot.c{background:var(--carbs)}.dot.f{background:var(--fat)}.macro-line{white-space:nowrap;color:var(--ink-2);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:12px;font-size:12.5px;display:flex}.macro-line span{align-items:center;gap:5px;display:inline-flex}.bar{background:var(--surface-2);border-radius:99px;height:6px;overflow:hidden}.bar>i{border-radius:99px;height:100%;transition:width .5s cubic-bezier(.2,.8,.2,1);display:block}.scrim{z-index:50;background:#0a0a0861;justify-content:center;align-items:flex-end;animation:.18s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:100%;max-height:92vh;box-shadow:var(--shadow-lg);padding-bottom:var(--safe-bottom);border-radius:26px 26px 0 0;flex-direction:column;animation:.26s cubic-bezier(.2,.9,.25,1) up;display:flex}.sheet.tall{height:92vh}.sheet-head{align-items:center;gap:8px;padding:10px 12px 6px 20px;display:flex}.sheet-head:before{content:"";background:var(--surface-3);border-radius:9px;width:38px;height:4px;margin-top:-30px;position:absolute;left:50%;transform:translate(-50%)}.sheet-body{-webkit-overflow-scrolling:touch;flex:1;padding:8px 20px 24px;overflow-y:auto}.sheet-foot{border-top:1px solid var(--line);background:var(--bg);padding:12px 20px 16px}@media (width>=700px){.scrim{align-items:center}.sheet{border-radius:26px;width:560px;max-height:86vh;animation:.2s cubic-bezier(.2,.9,.25,1) pop}.sheet.tall{height:86vh}.sheet.wide{width:760px}.sheet-head:before{display:none}}@keyframes fade{0%{opacity:0}}@keyframes up{0%{opacity:0;transform:translateY(40px)}}@keyframes pop{0%{opacity:0;transform:scale(.97)}}.badge{background:var(--surface-2);height:20px;color:var(--ink-2);border-radius:99px;align-items:center;padding:0 8px;font-size:11px;font-weight:650;display:inline-flex}.badge.warn{background:var(--warn-soft);color:color-mix(in srgb, var(--carbs) 70%, var(--ink))}.badge.ok{background:var(--accent-soft);color:var(--accent)}.toast{left:50%;bottom:calc(100px + var(--safe-bottom));z-index:80;background:var(--ink);color:var(--bg);box-shadow:var(--shadow-lg);white-space:nowrap;border-radius:999px;align-items:center;gap:12px;padding:11px 18px;font-size:14px;font-weight:580;animation:.2s up;display:flex;position:fixed;transform:translate(-50%)}.toast button{color:var(--bg);opacity:.7;font-weight:650}.spinner{border:2px solid;border-right-color:#0000;border-radius:99px;width:18px;height:18px;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));background-size:200% 100%;border-radius:8px;animation:1.2s infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.video-box{border-radius:var(--radius);aspect-ratio:3/4;background:#000;width:100%;max-height:56vh;margin:0 auto;position:relative;overflow:hidden}.video-box video{object-fit:cover;width:100%;height:100%}.video-box .reticle{border:2px solid #ffffffe6;border-radius:16px;position:absolute;inset:30% 12%;box-shadow:0 0 0 999px #00000059}hr.sep{border:0;border-top:1px solid var(--line);margin:20px 0}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}@media (width>=700px){.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.stat{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:4px;min-width:0;padding:14px 16px;display:flex}.stat-val{font-family:var(--display);letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;font-size:26px;font-weight:520;line-height:1.15;overflow:hidden}.stat-val span{font-family:var(--font);color:var(--ink-3);letter-spacing:0;font-size:12px;font-weight:550}.chart{touch-action:pan-y;position:relative}.chart svg{display:block;overflow:visible}.chart .grid{stroke:var(--line);stroke-width:1px}.chart .axis-zero{stroke:var(--ink-3);stroke-width:1px;opacity:.5}.chart .crosshair{stroke:var(--ink-3);stroke-width:1px;stroke-dasharray:2 3}.chart .tick{fill:var(--ink-3);font-variant-numeric:tabular-nums;font-size:10.5px}.chart-tip{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-lg);pointer-events:none;z-index:5;border-radius:12px;min-width:170px;margin-top:-6px;padding:8px 10px;font-size:12.5px;position:absolute;top:0;transform:translate(-50%,-100%)}.tip-date{margin-bottom:4px;font-weight:650}.tip-row{color:var(--ink-2);align-items:center;gap:8px;display:flex}.tip-row b{color:var(--ink);font-weight:600}.tip-row i{border-radius:2px;flex:none;width:8px;height:8px}.legend{color:var(--ink-2);flex-wrap:wrap;gap:14px;margin-bottom:6px;font-size:12.5px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.meal-photo-row{padding:12px 14px}.meal-photo-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:12px;flex:none;place-items:center;display:grid}.meal-photo-icon svg{stroke-width:1.9px;width:19px;height:19px}.meal-thumb{object-fit:cover;width:96px;height:96px;box-shadow:0 0 0 1px var(--line);border-radius:16px;flex:none}.nudge{background:var(--accent-soft);height:30px;color:var(--accent);border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:600;animation:.4s fade;display:inline-flex}.nudge svg{stroke-width:2.2px;width:14px;height:14px}.idea{align-items:center;gap:12px;padding:14px 16px;display:flex}.pro-tag{background:var(--accent-soft);height:19px;color:var(--accent);letter-spacing:.02em;vertical-align:2px;border-radius:999px;align-items:center;margin-left:6px;padding:0 7px;font-size:11px;font-weight:650;display:inline-flex}.pro-feature-icon{background:var(--accent-soft);width:34px;height:34px;color:var(--accent);border-radius:11px;flex:none;place-items:center;display:grid}.plan{border-radius:var(--radius-sm);border:1.5px solid var(--line);background:var(--surface);align-items:center;gap:12px;width:100%;padding:14px 16px;transition:border-color .15s;display:flex}.plan[aria-pressed=true]{border-color:var(--accent)}.plan-check{background:var(--surface-2);width:24px;height:24px;color:var(--accent);border-radius:999px;place-items:center;display:grid}.plan[aria-pressed=true] .plan-check{background:var(--accent);color:var(--accent-ink)}.consent-list{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.protein-track{background:var(--surface-2);border-radius:999px;height:6px;margin-top:8px;overflow:hidden}.protein-track>div{border-radius:inherit;background:var(--protein);height:100%;transition:width .4s}.amino-line{text-align:left;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink);align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.amino-line svg{color:var(--accent);flex:none;margin-top:2px}.amino-line:disabled{opacity:1;cursor:default}.score{white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:999px;flex:none;padding:3px 8px;font-size:11.5px;font-weight:650}.score-top{background:var(--accent);color:var(--accent-ink)}.score-good{background:var(--accent-soft);color:var(--accent)}.score-none{background:var(--surface-2);color:var(--ink-3)}.recipe-card{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);text-align:left;flex-direction:column;gap:6px;padding:14px;display:flex;position:relative}.recipe-card .emoji{font-size:26px;line-height:1}.recipe-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.protein-tag{color:var(--protein);background:color-mix(in srgb, var(--protein) 12%, transparent);border-radius:999px;align-self:flex-start;padding:2px 8px;font-size:12px;font-weight:700}.recipe-card .lock{color:var(--ink-3);position:absolute;top:12px;right:12px}.coach-note{background:var(--surface-2);color:var(--ink-2);border-radius:12px;padding:8px 12px;line-height:1.45}.coach-msg{white-space:pre-wrap;border-radius:16px;max-width:88%;padding:10px 14px;line-height:1.5}.coach-msg.me{background:var(--ink);color:var(--bg);border-bottom-right-radius:6px;align-self:flex-end}.coach-msg.ai{background:var(--surface-2);border-bottom-left-radius:6px;align-self:flex-start}
