:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f4f5f1;--card:#fff;--soft:#f4f5f1;--seg:#fff;--ink:#16181b;--muted:#626873;--muted2:#4e545e;--faint:#8a909a;--line:#e3e5df;--track:#eef0eb;--grab:#d5d8d2;--primary:#1c6b4a;--primary-soft:#e3f0e8;--accent-text:#1c6b4a;--accent-line:#1c6b4a;--inv-bg:#16181b;--inv-ink:#fff;--inv-dot:#9be3b8;--hero:#16181b;--toast:#16181b;--danger:#b3361f;--tint-p:#eeebfc;--tint-f:#fcf1e0;--tint-c:#e2f4f5;--dis-bg:#dcdfd8;--dis-ink:#5a6069;--protein:#6a5ae0;--fat:#e39a2d;--carbs:#1e9daa;--undo:#9be3b8;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--radius-control:14px;--radius-field:16px;--radius-card:20px;--radius-sheet:24px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0e1011;--card:#1a1d20;--soft:#25292d;--seg:#3a3f44;--ink:#eceeea;--muted:#a3a9b1;--muted2:#b8bdc4;--faint:#7c828b;--line:#33373c;--track:#2a2e32;--grab:#4a4f55;--primary:#237a55;--primary-soft:#1d3529;--accent-text:#74d3a3;--accent-line:#4dba87;--inv-bg:#eceeea;--inv-ink:#16181b;--inv-dot:#1c6b4a;--hero:#1f2b25;--toast:#30353a;--danger:#ff8b75;--tint-p:#29264a;--tint-f:#3a2c14;--tint-c:#133437;--dis-bg:#2a2e32;--dis-ink:#8d939b}}*,:before,:after{box-sizing:border-box}body{background:var(--bg);min-height:100dvh;color:var(--ink);margin:0;font-family:Manrope,system-ui,sans-serif;font-size:15px;font-weight:500}h1{letter-spacing:-.03em;margin:0;font-size:32px;font-weight:800}.page{gap:var(--space-4);max-width:480px;padding:calc(var(--safe-top) + var(--space-4)) var(--space-4) calc(var(--safe-bottom) + var(--space-4));flex-direction:column;margin:0 auto;display:flex}.btn{cursor:pointer;border:none;font-family:inherit;font-weight:800}.btn:disabled{background:var(--dis-bg);color:var(--dis-ink);cursor:default}.btn-md{height:48px;padding:0 var(--space-5);border-radius:24px;font-size:15px}.btn-cta{min-height:56px;padding:0 var(--space-4);border-radius:28px;font-size:16px}.btn-primary{background:var(--primary);color:#fff}.btn-secondary{border:1px solid var(--line);background:var(--card);color:var(--ink)}.btn-danger{height:44px;color:var(--danger);background:0 0;font-weight:700}.icon-btn{background:var(--soft);width:44px;height:44px;color:var(--ink);cursor:pointer;border:none;border-radius:22px;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.field{gap:var(--space-2);flex-direction:column;display:flex}.field label{color:var(--muted2);font-size:13px;font-weight:700}.field input{width:100%;height:56px;padding:0 var(--space-4);border:1px solid var(--line);border-radius:var(--radius-field);background:var(--card);color:var(--ink);outline:none;font-family:inherit;font-size:16px;font-weight:600}.field input:focus{border-color:var(--accent-line);box-shadow:inset 0 0 0 1px var(--accent-line)}.field input[aria-invalid=true]{border-color:var(--danger)}.field-error{color:var(--danger);font-size:13px;font-weight:600}.sheet{width:100%;max-width:100%;max-height:calc(100dvh - var(--safe-top) - 16px);padding:0 var(--space-4) calc(var(--safe-bottom) + var(--space-4));border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;background:var(--card);color:var(--ink);border:none;margin:auto 0 0}.sheet[open]{flex-direction:column;display:flex}.sheet::backdrop{background:#0000008c}.sheet-grab{padding:var(--space-2) 0 var(--space-3);touch-action:none;flex:none;justify-content:center;display:flex}.sheet-grab span{background:var(--grab);border-radius:3px;width:40px;height:5px}.sheet-head{justify-content:space-between;align-items:center;gap:var(--space-2);padding-bottom:var(--space-2);flex:none;display:flex}.sheet-head h2{margin:0;font-size:20px;font-weight:800}.sheet-body{gap:var(--space-4);flex-direction:column;min-height:0;display:flex;overflow-y:auto}@media (width>=768px){.sheet{max-width:480px;max-height:85dvh;padding-top:var(--space-4);padding-bottom:var(--space-4);border-radius:var(--radius-sheet);margin:auto}.sheet-grab{display:none}}.toast-wrap{right:var(--space-3);bottom:calc(var(--safe-bottom) + var(--space-5));left:var(--space-3);gap:var(--space-2);flex-direction:column;max-width:456px;margin:0 auto;display:flex;position:fixed}.toast{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:56px;padding:0 6px 0 var(--space-4);border-radius:var(--radius-field);background:var(--toast);color:#fff;font-weight:600;display:flex;box-shadow:0 8px 24px #00000040}.toast button{height:44px;padding:0 var(--space-3);color:var(--undo);cursor:pointer;background:0 0;border:none;font-family:inherit;font-size:15px;font-weight:800}.toast-track{background:var(--track);border-radius:2px;height:4px;overflow:hidden}.toast-track div{background:var(--ink);transform-origin:0;height:100%;animation:linear forwards toast-countdown}@keyframes toast-countdown{to{transform:scaleX(0)}}
