:root{--bg:#f7f7f4;--surface:#fff;--text:#1d2420;--muted:#5d6a63;--border:#dfe3dc;--accent:#2f6b4f;--accent-contrast:#fff;--accent-soft:#e3efe7;--warn:#9a5b00;--danger:#b3261e;--radius:12px;--nav-h:64px;--font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#141816;--surface:#1d2320;--text:#e8ece9;--muted:#9aa69f;--border:#2e3631;--accent:#7cc49a;--accent-contrast:#0f1a14;--accent-soft:#23362b;--warn:#f0b35a;--danger:#f2a49d}}*,:before,:after{box-sizing:border-box}html{scroll-padding-bottom:calc(var(--nav-h) + 1rem + env(safe-area-inset-bottom));scroll-padding-top:4rem}@media (width>=768px){html{scroll-padding-bottom:1rem}}html,body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-text-size-adjust:100%;margin:0;font-size:16px;line-height:1.5}a{color:var(--accent)}h1{margin:0 0 .75rem;font-size:1.5rem}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem}.muted{color:var(--muted)}.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}.sr-only:focus{clip:auto;white-space:normal;width:auto;height:auto;margin:0;position:static}h2{margin:0 0 .5rem;font-size:1.1rem}.stack{gap:1rem;display:grid}.row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.spacer{flex:1}.btn{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:.4rem;padding:0 1rem;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast);font-weight:600}.btn-danger{color:var(--danger);border-color:var(--danger)}.btn-small{min-height:36px;padding:0 .75rem;font-size:.9rem}.field{gap:.25rem;display:grid}.field>span,legend{font-size:.9rem;font-weight:600}input[type=text],input[type=search],input:not([type]),select{border:1px solid var(--border);background:var(--bg);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:.5rem .75rem;font-size:16px}input[aria-invalid=true]{border-color:var(--danger)}fieldset{border:1px solid var(--border);border-radius:var(--radius);min-width:0;margin:0;padding:.75rem 1rem 1rem}.choice{align-items:center;gap:.4rem;min-height:44px;margin-right:1rem;display:inline-flex}.error{color:var(--danger);font-size:.9rem}.warn{color:var(--warn)}.notice{border-left:4px solid var(--warn);background:var(--surface);border-radius:8px;padding:.75rem 1rem}.list{margin:0;padding:0;list-style:none}.list>li+li{border-top:1px solid var(--border)}.num{font-variant-numeric:tabular-nums;white-space:nowrap}dialog{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(560px,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--text);padding:1rem}dialog::backdrop{background:#0006}svg.svelte-1jnx671{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px}a.svelte-1jnx671{color:var(--muted);text-decoration:none}a[aria-current=page].svelte-1jnx671{color:var(--accent);font-weight:600}.topbar.svelte-1jnx671{z-index:10;padding:calc(.5rem + env(safe-area-inset-top)) 1rem .5rem;background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.5rem;display:flex;position:sticky;top:0}.brand.svelte-1jnx671{color:var(--text);font-weight:700}.secondary.svelte-1jnx671{gap:.25rem;display:flex}.secondary.svelte-1jnx671 a:where(.svelte-1jnx671){place-items:center;min-width:44px;min-height:44px;display:grid}.secondary.svelte-1jnx671 span:where(.svelte-1jnx671){clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.primary.svelte-1jnx671{z-index:10;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.primary.svelte-1jnx671 a:where(.svelte-1jnx671){flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;font-size:.7rem;display:flex}.primary.svelte-1jnx671 span:where(.svelte-1jnx671){text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}@media (width>=768px){.topbar.svelte-1jnx671{border-bottom:none;border-right:1px solid var(--border);flex-direction:column;grid-area:1/1/span 2;justify-content:flex-start;align-items:stretch;height:100dvh;padding:1.25rem .75rem;position:sticky;top:0}.brand.svelte-1jnx671{padding:0 .75rem 1rem;font-size:1.1rem}.secondary.svelte-1jnx671{flex-direction:column;order:2;margin-top:auto}.secondary.svelte-1jnx671 a:where(.svelte-1jnx671),.primary.svelte-1jnx671 a:where(.svelte-1jnx671){border-radius:8px;flex-direction:row;justify-content:flex-start;gap:.75rem;padding:.6rem .75rem;font-size:.95rem;display:flex}.secondary.svelte-1jnx671 span:where(.svelte-1jnx671){clip:auto;width:auto;height:auto;position:static}.secondary.svelte-1jnx671 a[aria-current=page]:where(.svelte-1jnx671),.primary.svelte-1jnx671 a[aria-current=page]:where(.svelte-1jnx671){background:var(--accent-soft)}.primary.svelte-1jnx671{background:0 0;border-top:none;flex-direction:column;gap:.125rem;width:220px;height:auto;padding:0 .75rem;display:flex;position:fixed;inset:4rem auto auto 0}}.toast.svelte-1ftmnc9{left:1rem;right:1rem;bottom:calc(var(--nav-h) + 1rem + env(safe-area-inset-bottom));z-index:20;flex-wrap:wrap;align-items:center;gap:.5rem;display:flex;position:fixed;box-shadow:0 4px 16px #00000026}span.svelte-1ftmnc9{flex:12rem}button.svelte-1ftmnc9{border:1px solid var(--accent);background:var(--accent);min-height:44px;color:var(--accent-contrast);font:inherit;border-radius:8px;padding:0 1rem}.ghost.svelte-1ftmnc9{color:var(--accent);background:0 0}@media (width>=768px){.toast.svelte-1ftmnc9{max-width:420px;bottom:1.5rem;left:auto}}.disclaimer.svelte-1pier21{background:var(--accent-soft);border-radius:8px;margin:0;padding:.75rem 1rem;font-size:.9rem}.compact.svelte-1pier21{padding:.5rem .75rem;font-size:.8rem}.alert.svelte-95xtpa{border:2px solid var(--danger);border-radius:var(--radius);background:var(--surface);padding:.75rem 1rem}strong.svelte-95xtpa{color:var(--danger)}ul.svelte-95xtpa{margin:.25rem 0 0;padding-left:1.25rem}.energy.svelte-16gu64y{flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem;margin-bottom:.5rem;display:flex}.energy.svelte-16gu64y strong:where(.svelte-16gu64y){font-size:1.75rem}.rest.svelte-16gu64y{margin:.35rem 0 .75rem;font-size:.85rem}dl.svelte-16gu64y{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.75rem 1rem;margin:0;display:grid}dt.svelte-16gu64y{color:var(--muted);font-size:.8rem}dd.svelte-16gu64y{margin:0;font-weight:600}dd.goal.svelte-16gu64y{font-size:.75rem;font-weight:400}.bar.svelte-16gu64y{background:var(--border);border-radius:3px;height:6px;margin:.25rem 0 .15rem;overflow:hidden}.bar.big.svelte-16gu64y{border-radius:5px;height:10px}.bar.svelte-16gu64y span:where(.svelte-16gu64y){background:var(--accent);opacity:.55;border-radius:inherit;height:100%;transition:width .3s;display:block}.bar[data-status=ok].svelte-16gu64y span:where(.svelte-16gu64y){opacity:1}.bar[data-status=over].svelte-16gu64y span:where(.svelte-16gu64y){background:var(--warn);opacity:1}.small.svelte-16gu64y{margin:.75rem 0 0;font-size:.8rem}.attr.svelte-17mxig2{color:var(--muted);margin:0;font-size:.8rem}.viewport.svelte-iisigz{aspect-ratio:4/3;border-radius:var(--radius);background:#000;width:100%;position:relative;overflow:hidden}.viewport.hidden.svelte-iisigz{display:none}video.svelte-iisigz{object-fit:cover;width:100%;height:100%}.frame.svelte-iisigz{border:3px solid #ffffffd9;border-radius:8px;position:absolute;inset:30% 10%;box-shadow:0 0 0 9999px #00000059}.manual.svelte-iisigz{flex-wrap:nowrap;align-items:flex-end}.grow.svelte-iisigz{flex:1;min-width:0}p.svelte-iisigz{margin:0}.searchrow.svelte-xpn0mg{flex-wrap:nowrap;align-items:flex-end}.grow.svelte-xpn0mg{flex:1;min-width:0}.results.svelte-xpn0mg{max-height:55dvh;overflow-y:auto}h3.svelte-xpn0mg{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:.75rem 0 .25rem;font-size:.85rem}.source.svelte-xpn0mg{margin:.25rem 0 0;font-size:.75rem}.pick.svelte-xpn0mg{width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:1rem;padding:.5rem .25rem;display:flex}.pad.svelte-xpn0mg{padding:.75rem .25rem}.chosen.svelte-xpn0mg{margin:0}.grow.svelte-xpn0mg{flex:140px}.preview.svelte-xpn0mg p:where(.svelte-xpn0mg){margin:0 0 .5rem}dl.svelte-xpn0mg{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.25rem 1rem;margin:0;display:grid}dt.svelte-xpn0mg{color:var(--muted);font-size:.8rem}dd.svelte-xpn0mg,h1.svelte-1aawuaz{margin:0}.sub.svelte-1aawuaz{margin:-.75rem 0 0}.entry.svelte-1aawuaz{width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;padding:.4rem 0;display:grid}.name.svelte-1aawuaz{text-overflow:ellipsis;overflow:hidden}.add.svelte-1aawuaz{margin-top:.5rem}.goalhint.svelte-1aawuaz{margin:.75rem 0 0;font-size:.9rem}.grid2.svelte-gzl8c6{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;margin-top:.5rem;display:grid}.portion.svelte-gzl8c6{margin-bottom:.5rem}.top.svelte-gzl8c6{margin-top:0}.notice.svelte-gzl8c6 p:where(.svelte-gzl8c6){margin:.25rem 0}.hint.svelte-gzl8c6{margin:.5rem 0 0;font-size:.85rem}.portion-row.svelte-gzl8c6{flex-wrap:nowrap;margin-bottom:.5rem}.portion-row.svelte-gzl8c6 input:where(.svelte-gzl8c6):first-child{flex:2}.portion-row.svelte-gzl8c6 input:where(.svelte-gzl8c6):nth-child(2){flex:1;min-width:0}ul.warn.svelte-gzl8c6{margin:0;padding-left:1.25rem}.citation.svelte-pis9p6{color:var(--muted);margin:0;font-size:.85rem}dl.svelte-15y12gm{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem 1rem;margin:0;display:grid}dt.svelte-15y12gm{color:var(--muted);font-size:.8rem}dd.svelte-15y12gm{margin:0;font-weight:600}.small.svelte-15y12gm{margin:0;font-size:.85rem}.row.svelte-aji5bh{flex-wrap:nowrap;align-items:flex-end}.grow.svelte-aji5bh{flex:1;min-width:0}.scan.svelte-aji5bh{justify-self:start}.small.svelte-aji5bh{margin:0;font-size:.85rem}.item.svelte-aji5bh{min-height:48px;color:var(--text);justify-content:space-between;align-items:center;gap:1rem;text-decoration:none;display:flex}h1.svelte-1jo9kz0{margin-bottom:.25rem}.sub.svelte-1jo9kz0{margin:0}dl.svelte-1jo9kz0{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem 1rem;margin:0;display:grid}dt.svelte-1jo9kz0{color:var(--muted);font-size:.8rem}dd.svelte-1jo9kz0{margin:0;font-weight:600}dd.missing.svelte-1jo9kz0{color:var(--warn)}p.svelte-1jo9kz0{margin:0}.small.svelte-1jo9kz0{font-size:.85rem}.item.svelte-nkc32k{min-height:48px;color:var(--text);justify-content:space-between;align-items:center;gap:1rem;text-decoration:none;display:flex}.badge.svelte-nkc32k{background:var(--accent-soft);color:var(--muted);border-radius:6px;margin-left:.5rem;padding:.1rem .4rem;font-size:.75rem}.hits.svelte-1mk4cca{border:1px solid var(--border);border-radius:10px;max-height:18rem;margin-top:.25rem;padding:0 .5rem;overflow-y:auto}.pick.svelte-1mk4cca{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:1rem;padding:.4rem 0;display:flex}.tag.svelte-1mk4cca{background:var(--accent-soft);color:var(--muted);border-radius:5px;padding:.05rem .35rem;font-size:.7rem}.pad.svelte-1mk4cca{padding:.6rem 0}.grid2.svelte-19jkzk1{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.75rem;display:grid}.small.svelte-19jkzk1{margin:0;font-size:.8rem}.ing.svelte-19jkzk1{grid-template-columns:1fr auto auto auto;align-items:center;gap:.5rem;padding:.4rem 0;display:grid}.ingname.svelte-19jkzk1{overflow-wrap:anywhere;min-width:0}.amount.svelte-19jkzk1{align-items:center;gap:.25rem;display:flex}.amount.svelte-19jkzk1 input:where(.svelte-19jkzk1){width:5.5rem}.kcal.svelte-19jkzk1{text-align:right;min-width:4.5rem}.portions.svelte-19jkzk1,.full.svelte-19jkzk1{grid-column:1/-1}.portions.svelte-19jkzk1{flex-wrap:wrap;gap:.25rem;display:flex}.chip.svelte-19jkzk1{font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--text);cursor:pointer;border-radius:999px;padding:.2rem .5rem;font-size:.8rem}table.svelte-19jkzk1{border-collapse:collapse;width:100%;font-size:.9rem}th.svelte-19jkzk1,td.svelte-19jkzk1{border-bottom:1px solid var(--border);text-align:right;vertical-align:top;padding:.35rem .25rem}th[scope=row].svelte-19jkzk1,thead.svelte-19jkzk1 th:where(.svelte-19jkzk1):first-child{text-align:left}thead.svelte-19jkzk1 th:where(.svelte-19jkzk1){color:var(--muted);font-size:.8rem;font-weight:600}textarea.svelte-19jkzk1{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:10px;padding:.5rem .75rem;font-size:16px}@media (width<=420px){.ing.svelte-19jkzk1{grid-template-columns:1fr auto auto}.kcal.svelte-19jkzk1{display:none}}.item.svelte-vok0w5{min-height:48px;color:var(--text);justify-content:space-between;align-items:center;gap:1rem;text-decoration:none;display:flex}.small.svelte-vok0w5{font-size:.8rem}.grid2.svelte-rc1p2p{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;display:grid}.recipes.svelte-rc1p2p{max-height:12rem;overflow-y:auto}.pick.svelte-rc1p2p{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:1rem;display:flex}.pad.svelte-rc1p2p{padding:.5rem 0}.or.svelte-rc1p2p{text-align:center;margin:0}p.svelte-rc1p2p,h1.svelte-1e3mzr1,h2.svelte-1e3mzr1{margin:0}.sub.svelte-1e3mzr1{margin:-.75rem 0 0}.small.svelte-1e3mzr1{font-size:.8rem}.kcal.svelte-1e3mzr1{font-size:.85rem}.kcal[data-status=ok].svelte-1e3mzr1{color:var(--accent);font-weight:600}.kcal[data-status=over].svelte-1e3mzr1{color:var(--warn);font-weight:600}.grid.svelte-1e3mzr1{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);grid-template-columns:7.5rem repeat(7,minmax(0,1fr));display:grid;overflow:hidden}.r.svelte-1e3mzr1{display:contents}.grid.svelte-1e3mzr1>.r:where(.svelte-1e3mzr1)>div:where(.svelte-1e3mzr1){border-right:1px solid var(--border);border-bottom:1px solid var(--border);min-width:0;padding:.4rem}.dayhead.svelte-1e3mzr1{gap:.1rem;font-size:.85rem;display:grid}.mealhead.svelte-1e3mzr1{color:var(--muted);font-size:.85rem;font-weight:600}.today.svelte-1e3mzr1{background:var(--accent-soft)}.cell.svelte-1e3mzr1{flex-direction:column;gap:.25rem;display:flex}.slot.svelte-1e3mzr1{text-align:left;border:1px solid var(--border);background:var(--bg);color:var(--text);font:inherit;cursor:pointer;border-radius:6px;gap:.05rem;padding:.3rem .4rem;font-size:.85rem;display:grid}.sname.svelte-1e3mzr1{text-overflow:ellipsis;overflow-wrap:anywhere;overflow:hidden}.logged.svelte-1e3mzr1{opacity:.6}.add.svelte-1e3mzr1{border:1px dashed var(--border);min-width:32px;min-height:32px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-radius:6px;align-self:flex-start}.actions.svelte-1e3mzr1{justify-content:center}.day.svelte-1e3mzr1 h2:where(.svelte-1e3mzr1){font-size:1rem}.slotrow.svelte-1e3mzr1{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:5.5rem 1fr auto auto;align-items:center;gap:.5rem;padding:.3rem 0;display:grid}h1.svelte-4wzy2p,h2.svelte-4wzy2p{margin:0}.sub.svelte-4wzy2p{margin:-.75rem 0 0}.small.svelte-4wzy2p{margin:0;font-size:.85rem}.item.svelte-4wzy2p{cursor:pointer;flex:1;align-items:center;gap:.75rem;min-height:48px;padding:.25rem 0;display:flex}.item.svelte-4wzy2p input:where(.svelte-4wzy2p){width:22px;height:22px;accent-color:var(--accent);flex:none}.what.svelte-4wzy2p{overflow-wrap:anywhere;min-width:0}.from.svelte-4wzy2p{font-size:.75rem;display:block}.manual.svelte-4wzy2p{align-items:center;gap:.5rem;display:flex}.done.svelte-4wzy2p .what:where(.svelte-4wzy2p){color:var(--muted);text-decoration:line-through}.add.svelte-4wzy2p{flex-wrap:nowrap;align-items:flex-end}.grow.svelte-4wzy2p{flex:1;min-width:0}textarea.svelte-4wzy2p{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:10px;margin-top:.5rem;padding:.5rem .75rem;font-size:15px}summary.svelte-4wzy2p{cursor:pointer;min-height:32px}.grid2.svelte-tyztf8{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem;display:grid}input[type=date].svelte-tyztf8{border:1px solid var(--border);background:var(--bg);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:.5rem .75rem;font-size:16px}.basics.svelte-tyztf8{flex-wrap:wrap;gap:.5rem 2rem;margin:0;display:flex}dt.svelte-tyztf8,.small.svelte-tyztf8{color:var(--muted);font-size:.8rem}dd.svelte-tyztf8{margin:0;font-weight:600}table.svelte-tyztf8{border-collapse:collapse;width:100%}th.svelte-tyztf8,td.svelte-tyztf8{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;padding:.4rem .25rem}thead.svelte-tyztf8 th:where(.svelte-tyztf8){color:var(--muted);font-size:.8rem;font-weight:600}tbody.svelte-tyztf8 th:where(.svelte-tyztf8) .small:where(.svelte-tyztf8){font-weight:400;display:block}td.svelte-tyztf8 input:where(.svelte-tyztf8){min-width:0}.ok.svelte-tyztf8{color:var(--accent);margin:0}p.small.svelte-tyztf8{margin:0}.install.svelte-18p2sx0 p:where(.svelte-18p2sx0){margin:0 0 .5rem}.small.svelte-1rfe4hz{margin:0;font-size:.85rem}.ok.svelte-1rfe4hz{color:var(--accent)}table.svelte-1rfe4hz{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}th.svelte-1rfe4hz,td.svelte-1rfe4hz{text-align:right;border-bottom:1px solid var(--border);padding:.35rem .5rem;font-size:.9rem}th[scope=row].svelte-1rfe4hz,thead.svelte-1rfe4hz th:where(.svelte-1rfe4hz):first-child{text-align:left}.preview.svelte-1rfe4hz p:where(.svelte-1rfe4hz){margin:0}.notice.svelte-1rfe4hz ul:where(.svelte-1rfe4hz){margin:.25rem 0 0;padding-left:1.25rem}input[type=file].svelte-1rfe4hz{font:inherit;max-width:100%}h3.svelte-1ro6dg1{margin:0;font-size:1rem}p.svelte-1ro6dg1{margin:0}.small.svelte-1ro6dg1{font-size:.85rem}.layout.svelte-1n46o8q{min-height:100dvh}main.svelte-1n46o8q:focus{outline:none}.skip.svelte-1n46o8q:focus{z-index:50;background:var(--surface);border:2px solid var(--accent);border-radius:8px;padding:.5rem 1rem;position:fixed;top:.5rem;left:.5rem}main.svelte-1n46o8q{max-width:960px;padding:1rem 1rem calc(var(--nav-h) + 1.5rem + env(safe-area-inset-bottom));margin:0 auto}@media (width>=768px){.layout.svelte-1n46o8q{grid-template-columns:220px 1fr;display:grid}main.svelte-1n46o8q{width:100%;margin:0;padding:2rem}}
