:root{--bg:#0f1318;--surface:#171c23;--surface-2:#1f2630;--line:#2a323e;--text:#e8ecf2;--muted:#8b95a5;--accent:#7cc4a4;--accent-ink:#0f1318;--accent-soft:#7cc4a424;--warm:#e8b86b;--warm-soft:#e8b86b24;--danger:#e58a8a;--radius:16px;--nav-h:64px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.45}@media (prefers-color-scheme:light){:root{--bg:#f5f3ee;--surface:#fff;--surface-2:#efede7;--line:#e2dfd6;--text:#1d232b;--muted:#6b7380;--accent:#2f8f6a;--accent-ink:#fff;--accent-soft:#2f8f6a1f;--warm:#b9791c;--warm-soft:#b9791c1f;--danger:#c0473f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}*{box-sizing:border-box}html,body{background:var(--bg);overscroll-behavior-y:none;min-height:100%;margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3{margin:0;line-height:1.2}h1{font-size:1.6rem;font-weight:650}h2{font-size:1.05rem;font-weight:620}a{color:var(--accent)}.page{padding:calc(var(--safe-top) + 12px) 16px calc(var(--nav-h) + var(--safe-bottom) + 88px);flex-direction:column;gap:14px;max-width:680px;margin:0 auto;display:flex}.page-head{align-items:center;gap:10px;min-height:48px;display:flex}.page-head .grow{flex:1}.sub{color:var(--muted);font-size:.9rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.card-head{align-items:center;gap:8px;display:flex}.card-head h2{flex:1}.card.accent{background:var(--accent-soft);border-color:#0000}.card.warm{background:var(--warm-soft);border-color:#0000}.btn{background:var(--surface-2);border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:600;display:inline-flex}.btn.primary{background:var(--accent);color:var(--accent-ink)}.btn.ghost{color:var(--accent);background:0 0}.btn.small{min-height:34px;padding:0 12px;font-size:.88rem}.btn:disabled{opacity:.5}.icon-btn{width:44px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.icon-btn:active{background:var(--surface-2)}.field{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;outline:none;width:100%;min-height:46px;padding:10px 12px}.field:focus{border-color:var(--accent)}textarea.field{resize:vertical;min-height:84px}label.lbl{color:var(--muted);flex-direction:column;gap:6px;font-size:.85rem;display:flex}.row{align-items:center;gap:8px;display:flex}.row.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.list{flex-direction:column;display:flex}.item{border-top:1px solid var(--line);align-items:center;gap:12px;min-height:48px;padding:4px 0;display:flex}.item:first-child{border-top:0}.item .text{overflow-wrap:anywhere;flex:1;min-width:0}.item.done .text{color:var(--muted);text-decoration:line-through}.meta{color:var(--muted);font-size:.8rem}.pill{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.75rem}.pill.warm{background:var(--warm-soft);color:var(--warm)}.pill.accent{background:var(--accent-soft);color:var(--accent)}.empty{color:var(--muted);padding:6px 0;font-size:.92rem}.error{color:var(--danger);font-size:.9rem}.bar{background:var(--surface-2);border-radius:99px;height:8px;overflow:hidden}.bar>span{background:var(--accent);border-radius:99px;height:100%;display:block}.seg{background:var(--surface-2);border-radius:999px;gap:2px;padding:3px;display:flex}.seg button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:999px;flex:1;font-size:.88rem;font-weight:600}.seg button.on{background:var(--surface);color:var(--text)}.wrap.svelte-14rkk58{min-height:100vh;padding:calc(var(--safe-top) + 48px) 24px 32px;flex-direction:column;justify-content:center;gap:16px;max-width:440px;margin:0 auto;display:flex}.hero.svelte-14rkk58{text-align:center;flex-direction:column;align-items:center;gap:8px;margin-bottom:24px;display:flex}.logo.svelte-14rkk58{background:var(--accent);width:72px;height:72px;color:var(--accent-ink);border-radius:22px;place-items:center;font-size:2.2rem;font-weight:750;display:grid}.big.svelte-14rkk58{min-height:54px;font-size:1.05rem}.small.svelte-14rkk58{text-align:center;font-size:.85rem}.check.svelte-l60oyz{background:0 0;border:0;flex:none;place-items:center;width:44px;height:44px;margin:-4px -6px;display:grid}span.svelte-l60oyz{border:2px solid var(--muted);width:26px;height:26px;color:var(--accent-ink);border-radius:999px;place-items:center;transition:background .15s,border-color .15s;display:grid}.on.svelte-l60oyz span:where(.svelte-l60oyz){background:var(--accent);border-color:var(--accent)}.busy.svelte-l60oyz span:where(.svelte-l60oyz){opacity:.5}.cta.svelte-1f8l52r{text-align:left;color:inherit;font:inherit;flex-direction:row;align-items:center;gap:14px;width:100%}.faces.svelte-1f8l52r{font-size:1.4rem}.linkish.svelte-1f8l52r{text-align:left;color:inherit;background:0 0;border:0;padding:0}.spin{animation:.9s linear infinite svelte-1f8l52r-spin}@keyframes svelte-1f8l52r-spin{to{transform:rotate(360deg)}}.thumb.svelte-x7but7{background:var(--surface-2);color:var(--muted);border-radius:10px;flex:none;place-items:center;display:grid;overflow:hidden}img.svelte-x7but7{object-fit:cover;width:100%;height:100%}.search.svelte-qe4f4{color:var(--muted);align-items:center;display:flex;position:relative}.search.svelte-qe4f4 svg:first-child{position:absolute;left:12px}.search.svelte-qe4f4 .field:where(.svelte-qe4f4){padding-left:38px}.search.svelte-qe4f4 .icon-btn:where(.svelte-qe4f4){position:absolute;right:2px}.preview.svelte-qe4f4{object-fit:contain;background:var(--surface-2);border-radius:12px;width:100%;max-height:240px}.qty.svelte-qe4f4{width:96px}details.svelte-qe4f4{flex-direction:column;gap:8px;display:flex}details[open].svelte-qe4f4 summary:where(.svelte-qe4f4){margin-bottom:8px}.thing.svelte-qe4f4{border-top:1px solid var(--line)}.thing.svelte-qe4f4:first-child{border-top:0}.head.svelte-qe4f4{text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:10px 0;display:flex}.text.svelte-qe4f4{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.text.svelte-qe4f4 b:where(.svelte-qe4f4){overflow-wrap:anywhere;font-weight:600}.n.svelte-qe4f4{color:var(--accent)}.meta.svelte-qe4f4{flex-wrap:wrap;align-items:center;gap:3px;display:inline-flex}.tag.svelte-qe4f4{margin-left:6px}.more.svelte-qe4f4{flex-direction:column;gap:8px;padding:0 0 12px 60px;display:flex}.box.svelte-qe4f4{background:var(--surface-2);color:var(--text)}.count.svelte-qe4f4{text-align:center;min-width:32px;font-size:1.1rem}.right.svelte-qe4f4{text-align:right}.center.svelte-qe4f4{text-align:center}.meal.svelte-uvw6ar{text-align:left;width:100%;color:inherit;background:0 0;border-bottom:0;border-left:0;border-right:0}.editor.svelte-uvw6ar{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding-top:10px;display:flex}.recipe.svelte-uvw6ar{text-align:left;justify-content:flex-start}.grid.svelte-15j4tnx{grid-template-columns:1fr 1fr;gap:10px;display:grid}.goal.svelte-1qumq76{text-align:left;color:inherit;font:inherit;width:100%}.area.svelte-1qumq76{border:0;min-height:32px;padding:4px 12px;font-size:.85rem}.warm-text.svelte-1qumq76{color:var(--warm)}.col.svelte-15x4mpr{flex-direction:column;gap:6px;display:flex}details.svelte-15x4mpr summary:where(.svelte-15x4mpr){cursor:pointer;padding:6px 0}.stats.svelte-1w3eb46{text-align:center;grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.stats.svelte-1w3eb46 b:where(.svelte-1w3eb46){font-size:1.3rem;display:block}.stats.svelte-1w3eb46 span:where(.svelte-1w3eb46){color:var(--muted);font-size:.72rem}.mini.svelte-1w3eb46{flex:none;width:70px}.stars.svelte-1w3eb46{gap:4px;display:flex}.stars.svelte-1w3eb46 button:where(.svelte-1w3eb46){color:var(--line);background:0 0;border:0;padding:4px;font-size:1.8rem;line-height:1}.stars.svelte-1w3eb46 button.on:where(.svelte-1w3eb46){color:var(--warm)}.habit.svelte-74rhk3{border-top:1px solid var(--line);padding-bottom:8px}.habit.svelte-74rhk3:first-of-type,.habit.svelte-74rhk3 .item:where(.svelte-74rhk3){border-top:0}.dots.svelte-74rhk3{grid-template-columns:repeat(28,1fr);gap:3px;padding-left:44px;display:grid}.dots.svelte-74rhk3 span:where(.svelte-74rhk3){background:var(--surface-2);border-radius:2px;height:8px}.dots.svelte-74rhk3 span.on:where(.svelte-74rhk3){background:var(--accent)}.days.svelte-74rhk3{gap:6px;display:flex}.days.svelte-74rhk3 button:where(.svelte-74rhk3){border:1px solid var(--line);background:var(--surface-2);border-radius:12px;flex:1;min-height:42px;font-weight:600}.days.svelte-74rhk3 button.on:where(.svelte-74rhk3){background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.num.svelte-mibix7{background:var(--accent);width:26px;height:26px;color:var(--accent-ink);border-radius:99px;flex:none;place-items:center;font-size:.85rem;font-weight:700;display:grid}.pick.svelte-mibix7{text-align:left;width:100%;color:inherit;background:0 0;border-bottom:0;border-left:0;border-right:0}.pick.svelte-mibix7:disabled{opacity:.45}.trend.svelte-16dkr3u{flex-direction:column;gap:2px;display:flex}.head.svelte-16dkr3u{justify-content:space-between;font-size:.85rem;display:flex}.t.svelte-16dkr3u{font-weight:600}.readout.svelte-16dkr3u{color:var(--muted)}.readout.svelte-16dkr3u b:where(.svelte-16dkr3u){color:var(--text)}svg.svelte-16dkr3u{touch-action:pan-y;width:100%;height:auto}.grid.svelte-16dkr3u{stroke:var(--line);stroke-width:1px}.cross.svelte-16dkr3u{stroke:var(--muted);stroke-width:1px;stroke-dasharray:2 3}.line.svelte-16dkr3u{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.dot.svelte-16dkr3u{fill:var(--accent);stroke:var(--surface);stroke-width:2px}.tick.svelte-16dkr3u{fill:var(--muted);text-anchor:end;font-size:9px}.tick.start.svelte-16dkr3u{text-anchor:start}.scale.svelte-18rif0x{flex-direction:column;gap:6px;display:flex}.faces.svelte-18rif0x{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.faces.svelte-18rif0x button:where(.svelte-18rif0x){background:var(--surface-2);filter:grayscale(.7);opacity:.75;border:2px solid #0000;border-radius:14px;min-height:48px;font-size:1.4rem}.faces.svelte-18rif0x button.on:where(.svelte-18rif0x){border-color:var(--accent);background:var(--accent-soft);filter:none;opacity:1}.tiles.svelte-18rif0x{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.tile.svelte-18rif0x{background:var(--surface-2);border-radius:12px;flex-direction:column;padding:8px 10px;display:flex}.tile.svelte-18rif0x b:where(.svelte-18rif0x){font-size:1.5rem}.seg.small.svelte-18rif0x button:where(.svelte-18rif0x){min-height:30px;padding:0 10px}table.svelte-18rif0x{border-collapse:collapse;width:100%;margin-top:6px;font-size:.85rem}th.svelte-18rif0x,td.svelte-18rif0x{text-align:left;border-bottom:1px solid var(--line);padding:4px 6px}.chat.svelte-d1bn2o{height:calc(100vh - var(--nav-h) - var(--safe-bottom));height:calc(100dvh - var(--nav-h) - var(--safe-bottom));flex-direction:column;max-width:680px;margin:0 auto;display:flex}.top.svelte-d1bn2o{padding:calc(var(--safe-top) + 8px) 12px 4px;align-items:center;gap:6px;display:flex}.msgs.svelte-d1bn2o{flex-direction:column;flex:1;gap:10px;padding:8px 16px;display:flex;overflow-y:auto}.hello.svelte-d1bn2o{color:var(--muted)}.hello.svelte-d1bn2o b:where(.svelte-d1bn2o){color:var(--text)}.quick.svelte-d1bn2o{flex-wrap:wrap;gap:8px;display:flex}.quick.svelte-d1bn2o .btn:where(.svelte-d1bn2o){text-align:left}.msg.svelte-d1bn2o{flex-direction:column;max-width:86%;display:flex}.msg.user.svelte-d1bn2o{align-self:flex-end;align-items:flex-end}.bubble.svelte-d1bn2o{background:var(--surface);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:18px;padding:10px 14px}.bubble.plain.svelte-d1bn2o{white-space:pre-wrap}.bubble.svelte-d1bn2o ul{margin:4px 0;padding-left:20px}.bubble.svelte-d1bn2o code{font-size:.88em}.user.svelte-d1bn2o .bubble:where(.svelte-d1bn2o){background:var(--accent);color:var(--accent-ink);border-color:#0000;border-bottom-right-radius:6px}.assistant.svelte-d1bn2o .bubble:where(.svelte-d1bn2o){border-bottom-left-radius:6px}.bad.svelte-d1bn2o .bubble:where(.svelte-d1bn2o){border-color:var(--danger);color:var(--danger)}.changes.svelte-d1bn2o{color:var(--accent);flex-direction:column;gap:2px;margin-top:6px;font-size:.82rem;display:flex}.composer.svelte-d1bn2o{align-items:flex-end;gap:8px;padding:8px 12px 10px;display:flex}.composer.svelte-d1bn2o textarea:where(.svelte-d1bn2o){resize:none;border-radius:22px;min-height:46px;max-height:140px;padding:12px 16px}.send.svelte-d1bn2o{background:var(--accent);width:46px;height:46px;color:var(--accent-ink);border:0;border-radius:999px;flex:none;place-items:center;display:grid}.send.svelte-d1bn2o:disabled{opacity:.4}.center.svelte-d1bn2o{text-align:center;padding-bottom:6px}.typing.svelte-d1bn2o{gap:4px;display:flex}.typing.svelte-d1bn2o span:where(.svelte-d1bn2o){background:var(--muted);border-radius:99px;width:7px;height:7px;animation:1.2s infinite svelte-d1bn2o-blink}.typing.svelte-d1bn2o span:where(.svelte-d1bn2o):nth-child(2){animation-delay:.2s}.typing.svelte-d1bn2o span:where(.svelte-d1bn2o):nth-child(3){animation-delay:.4s}@keyframes svelte-d1bn2o-blink{50%{opacity:.25}}.splash.svelte-1n46o8q{min-height:100vh;color:var(--muted);letter-spacing:.04em;place-items:center;font-weight:600;display:grid}nav.svelte-1n46o8q{height:calc(var(--nav-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:var(--surface);border-top:1px solid var(--line);z-index:10;display:flex;position:fixed;bottom:0;left:0;right:0}nav.svelte-1n46o8q button:where(.svelte-1n46o8q){color:var(--muted);background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:.72rem;font-weight:600;display:flex}nav.svelte-1n46o8q button.on:where(.svelte-1n46o8q){color:var(--accent)}.fab.svelte-1n46o8q{right:18px;bottom:calc(var(--nav-h) + var(--safe-bottom) + 16px);background:var(--accent);width:56px;height:56px;color:var(--accent-ink);z-index:11;border:0;border-radius:18px;place-items:center;display:grid;position:fixed;box-shadow:0 6px 18px #0000004d}.offline.svelte-1n46o8q{z-index:12;padding:calc(var(--safe-top) + 4px) 12px 4px;background:var(--warm-soft);color:var(--warm);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);justify-content:center;align-items:center;gap:6px;font-size:.8rem;display:flex;position:sticky;top:0}.toast.svelte-1n46o8q{left:16px;right:16px;bottom:calc(var(--nav-h) + var(--safe-bottom) + 84px);background:var(--text);max-width:520px;color:var(--bg);z-index:20;white-space:pre-line;border-radius:14px;margin:0 auto;padding:12px 16px;font-size:.92rem;position:fixed}.toast.bad.svelte-1n46o8q{background:var(--danger);color:#fff}
