:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f2ebe1;--surface:#fbf7f2;--sunken:#e8ddcf;--ink:#2a211c;--muted:#7a695c;--line:#dacbb8;--rust:#b14e29;--mustard:#b98420;--olive:#5f6a33;--wine:#7a2f36;--rust-soft:#f0d8c9;--olive-soft:#e1e3cb;--mustard-soft:#f2e2be;--wine-soft:#eed6d6;--on-accent:#fff8f1;--display:"Bricolage Grotesque","Avenir Next",system-ui,sans-serif;--body:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;--r:18px;--r-sm:12px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#181311;--surface:#221b17;--sunken:#2d241f;--ink:#f2e8dd;--muted:#a99789;--line:#3b302a;--rust:#e27d50;--mustard:#e0b155;--olive:#aab46f;--wine:#da8087;--rust-soft:#3e251a;--olive-soft:#2b2e1c;--mustard-soft:#3a2e16;--wine-soft:#3a1f22;--on-accent:#1b1310;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;padding-top:env(safe-area-inset-top,0px);margin:0;font-size:15px;line-height:1.5}img{max-width:100%}[hidden]{display:none!important}h1,h2,h3,h4{font-family:var(--display);text-wrap:balance;letter-spacing:-.01em;margin:0;font-weight:700}p{margin:0}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--rust);outline-offset:2px}.num{font-variant-numeric:tabular-nums}.app{max-width:600px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));flex-direction:column;gap:26px;margin:0 auto;padding-block:18px 120px;display:flex}.top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.brand{font-family:var(--display);color:var(--rust);letter-spacing:.01em;align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.brand svg{width:22px;height:22px}.sync{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:flex}.sync i{background:var(--mustard);border-radius:50%;width:7px;height:7px;display:inline-block}.sync[data-s=cloud] i{background:var(--olive)}.sync[data-s=error] i{background:var(--wine)}.hello h1{font-size:clamp(26px,7vw,34px);line-height:1.1}.hello .datebar{color:var(--muted);align-items:center;gap:6px;margin-top:6px;font-size:14px;display:flex}.iconbtn{cursor:pointer;width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;display:inline-grid}.iconbtn:hover{background:var(--sunken);color:var(--ink)}.iconbtn svg{width:18px;height:18px}.linkbtn{color:var(--rust);cursor:pointer;font-weight:600;font-size:inherit;background:0 0;border:0;padding:0}.eyebrow{text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-size:11.5px;font-weight:700}.section{flex-direction:column;gap:12px;display:flex}.section-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.section-head h2{font-size:19px}.quote{background:var(--wine);color:var(--on-accent);border-radius:var(--r);flex-direction:column;gap:12px;padding:20px 20px 16px;display:flex;position:relative;overflow:hidden}.quote:after{content:"";background:var(--rust);opacity:.35;border-radius:50%;width:130px;height:130px;position:absolute;top:-30px;right:-30px}.quote p{font-family:var(--display);z-index:1;text-wrap:pretty;font-size:clamp(18px,5vw,21px);font-weight:500;line-height:1.3;position:relative}.quote .row{z-index:1;opacity:.85;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex;position:relative}.quote .by{flex:1;min-width:0;font-style:italic;line-height:1.35}.quote button{color:inherit;cursor:pointer;opacity:.9;background:0 0;border:1px solid;border-radius:99px;flex:none;padding:3px 12px;font-size:12px}.goals{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);flex-direction:column;gap:14px;padding:18px 14px 16px;display:flex}.rings{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.ring{text-align:center;flex-direction:column;align-items:center;gap:6px;min-width:0;display:flex}.ring svg{width:100%;max-width:108px;height:auto}.ring .track{stroke:var(--sunken)}.ring .big{font-family:var(--display);fill:var(--ink);font-size:20px;font-weight:700}.ring .small{fill:var(--muted);font-size:10.5px}.ring .lbl{font-size:12.5px;font-weight:600}.ring .sub{color:var(--muted);font-size:11.5px}.balance{border-top:1px dashed var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:12px;font-size:13px;display:flex}.balance b{color:var(--ink);font-weight:700}.banner{border-radius:var(--r-sm);background:var(--mustard-soft);align-items:flex-start;gap:10px;padding:12px 14px;font-size:13.5px;display:flex}.banner b{font-weight:700}.banner.dose{background:var(--olive-soft)}.tips{gap:10px;display:grid}.tip{grid-template-columns:4px 1fr;align-items:stretch;gap:12px;display:grid}.tip:before{content:"";background:var(--c,var(--rust));border-radius:4px}.tip h3{margin-bottom:2px;font-size:15px}.tip p{color:var(--muted);font-size:14px}.idea{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);flex-direction:column;gap:6px;padding:16px;display:flex}.idea .row{justify-content:space-between;align-items:center;gap:8px;display:flex}.idea h3{font-size:16px}.idea p{color:var(--muted);font-size:14px}.pill{background:var(--rust-soft);color:var(--rust);white-space:nowrap;border-radius:99px;align-items:center;gap:4px;padding:2px 9px;font-size:11.5px;font-weight:700;display:inline-flex}.pill.olive{background:var(--olive-soft);color:var(--olive)}.pill.mustard{background:var(--mustard-soft);color:var(--mustard)}.pill.wine{background:var(--wine-soft);color:var(--wine)}.water{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.cups{flex-wrap:wrap;flex:1;gap:5px;min-width:0;display:flex}.cup{border:1.5px solid var(--line);cursor:pointer;background:0 0;border-radius:3px 3px 7px 7px;width:20px;height:26px;padding:0;position:relative;overflow:hidden}.cup.on{border-color:var(--olive);background:linear-gradient(to top,var(--olive) 70%,transparent 70%)}.stepper{align-items:center;gap:4px;display:flex}.stepper button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:50%;width:34px;height:34px;font-size:18px;line-height:1}.weightcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);flex-direction:column;gap:12px;padding:16px;display:flex}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:var(--line);stroke-width:1px}.chart .axis{fill:var(--muted);font-size:10px;font-family:var(--body)}.chart .line{stroke:var(--rust);stroke-width:2.2px;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart .area{fill:var(--rust);opacity:.12}.chart .goal{stroke:var(--olive);stroke-width:1.5px;stroke-dasharray:5 4}.chart .goaltxt{fill:var(--olive);font-size:10px;font-weight:700;font-family:var(--body)}.chart .dot{fill:var(--surface);stroke:var(--rust);stroke-width:1.8px}.chart .last{fill:var(--rust)}.timeline{flex-direction:column;gap:8px;display:flex}details.entry{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}details.entry>summary{cursor:pointer;grid-template-columns:56px 1fr auto;align-items:center;gap:12px;padding:10px 12px 10px 10px;list-style:none;display:grid}details.entry>summary::-webkit-details-marker{display:none}.thumb{object-fit:cover;background:var(--sunken);border-radius:12px;width:56px;height:56px;display:block}.thumb.ph{color:var(--muted);place-items:center;display:grid}.thumb.ph svg{width:24px;height:24px}.e-body{min-width:0}.e-top{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex}.e-body h4{font-family:var(--body);white-space:nowrap;text-overflow:ellipsis;letter-spacing:0;font-size:15px;font-weight:700;overflow:hidden}.e-meta{color:var(--muted);font-size:13px}.e-kcal{font-family:var(--display);text-align:right;font-size:17px;font-weight:700;line-height:1.1}.e-kcal small{font-family:var(--body);color:var(--muted);font-size:11px;font-weight:500;display:block}.e-detail{border-top:1px dashed var(--line);flex-direction:column;gap:10px;margin:0 2px;padding:12px 14px 14px;display:flex}.e-detail .photos{gap:8px;display:flex;overflow-x:auto}.e-detail .photos img{object-fit:cover;border-radius:10px;height:130px}.macros{flex-wrap:wrap;gap:6px;display:flex}.items{color:var(--muted);margin:0;padding-left:18px;font-size:13.5px}.note{color:var(--muted);font-size:13.5px;font-style:italic}.comment{font-size:14px}.danger{border:1px solid var(--line);cursor:pointer;color:var(--wine);background:0 0;border-radius:99px;align-self:flex-start;padding:6px 14px;font-size:13px}.danger.armed{background:var(--wine);color:var(--on-accent);border-color:var(--wine)}.e-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editbtn{border:1px solid var(--line);cursor:pointer;color:var(--rust);background:0 0;border-radius:99px;padding:6px 14px;font-size:13px;font-weight:600}.editbanner{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-size:13.5px;display:flex}.empty{border:1.5px dashed var(--line);border-radius:var(--r);text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:10px;padding:20px;font-size:14px;display:flex}.quick{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.analysis{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);flex-direction:column;gap:14px;padding:18px;display:flex}.score{align-items:center;gap:14px;display:flex}.score .n{font-family:var(--display);color:var(--rust);font-size:44px;font-weight:700;line-height:1}.score .n small{color:var(--muted);font-size:16px}.score h3{font-size:17px}.alist h4{font-family:var(--body);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:6px;font-size:12px;font-weight:700}.alist ul{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.alist li{grid-template-columns:18px 1fr;gap:8px;font-size:14px;display:grid}.alist li:before{content:"";background:var(--c);border-radius:50%;width:8px;height:8px;margin-top:7px}.closing{font-family:var(--display);border-left:3px solid var(--mustard);padding-left:12px;font-size:16px;font-weight:500}.btn{cursor:pointer;background:var(--rust);color:var(--on-accent);border:0;border-radius:99px;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:15px;font-weight:700;display:inline-flex}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.ghost{color:var(--ink);border:1px solid var(--line);background:0 0}.btn.olive{background:var(--olive)}.btn.small{padding:8px 14px;font-size:13.5px}.btn.block{width:100%}.btn.big{padding:16px 20px;font-size:16.5px}.btnrow{flex-wrap:wrap;gap:10px;display:flex}.btnrow .btn{flex:1;min-width:140px}.form{flex-direction:column;gap:18px;display:flex}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>span,.field>label.lab{font-size:13px;font-weight:600}.field .hint{color:var(--muted);font-size:12px;font-weight:400}.input,select.input,textarea.input{border:1px solid var(--line);background:var(--surface);border-radius:var(--r-sm);width:100%;min-width:0;padding:11px 12px;font-size:16px}textarea.input{resize:vertical;min-height:84px}.grid2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.grid3{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.grid4{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}@media (width<=420px){.grid4,.grid3{grid-template-columns:1fr 1fr}}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:99px;padding:7px 13px;font-size:13.5px}.chip[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.quickw{flex-wrap:wrap;gap:8px;display:flex}.quickw .chip{font-weight:600}.quickw .chip.done{background:var(--olive-soft);border-color:var(--olive);color:var(--olive)}.quickw .chip.armed{background:var(--ink);border-color:var(--ink);color:var(--bg)}.quickw .chip:disabled{opacity:.5;cursor:wait}.drop{border:1.5px dashed var(--line);border-radius:var(--r);background:var(--surface);text-align:center;cursor:pointer;min-height:170px;color:var(--muted);place-items:center;padding:16px;display:grid;position:relative;overflow:hidden}.drop.small{min-height:96px}.drop input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.drop svg{width:30px;height:30px;color:var(--rust)}.drop .t{color:var(--ink);font-size:15px;font-weight:700}.drop .s{font-size:12.5px}.drop img.preview{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.drop.has{border-style:solid;border-color:var(--rust)}.drop .swap{background:var(--surface);color:var(--ink);pointer-events:none;border-radius:99px;padding:4px 10px;font-size:12px;font-weight:600;position:absolute;bottom:10px;right:10px}.result{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);flex-direction:column;gap:12px;padding:16px;display:flex}.result h3{font-size:18px}.thinking{color:var(--muted);align-items:center;gap:10px;font-size:14px;display:flex}.dots{gap:4px;display:inline-flex}.dots i{background:var(--rust);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite pulse}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,to{opacity:.25}40%{opacity:1}}@media (prefers-reduced-motion:reduce){.dots i{opacity:.7;animation:none}}.err{color:var(--wine);font-size:13.5px}.fine{color:var(--muted);font-size:12px}.pagehead h1{font-size:28px}.pagehead p{color:var(--muted);margin-top:4px;font-size:14px}.estimate{background:var(--olive-soft);border-radius:var(--r-sm);justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.estimate .v{font-family:var(--display);color:var(--olive);font-size:24px;font-weight:700}.history{flex-direction:column;display:flex}.hrow{border-bottom:1px solid var(--line);grid-template-columns:1fr auto auto auto;align-items:center;gap:12px;padding:10px 2px;font-size:14px;display:grid}.hrow .d{color:var(--muted)}.delta.down{color:var(--olive)}.delta.up{color:var(--wine)}.mbars{border-top:1px dashed var(--line);grid-template-columns:repeat(3,1fr);gap:12px;padding-top:12px;display:grid}.mbar{flex-direction:column;gap:5px;min-width:0;display:flex}.mrow{color:var(--muted);flex-direction:column;font-size:12px;line-height:1.3;display:flex}.mrow b{color:var(--ink);font-size:14px}.bar{background:var(--sunken);border-radius:99px;height:8px;overflow:hidden}.bar>i{background:linear-gradient(90deg,var(--mustard),var(--rust));border-radius:99px;height:100%;display:block}.bar.thin{height:5px}.tl{flex-direction:column;gap:10px;padding:2px 10px;display:flex}.tl-labels,.tl-vals{grid-template-columns:1fr 1fr 1fr;align-items:end;display:grid}.tl-labels span,.tl-vals span{text-align:center}.tl-labels span:first-child,.tl-vals span:first-child{text-align:left}.tl-labels span:last-child,.tl-vals span:last-child{text-align:right}.tl-labels span{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:700}.tl-track{background:var(--sunken);border-radius:99px;height:4px;margin:8px 7px;position:relative}.tl-fill{background:var(--olive);border-radius:99px;position:absolute;top:0;bottom:0;left:0}.tl-dot{background:var(--olive);border-radius:50%;width:14px;height:14px;position:absolute;top:50%;transform:translate(-50%,-50%)}.tl-dot.cur{border:4px solid var(--surface);width:20px;height:20px;box-shadow:0 0 0 1.5px var(--olive)}.tl-dot.goal{background:var(--surface);border:2.5px solid var(--line)}.tl-vals span{font-family:var(--display);white-space:nowrap;font-size:clamp(17px,5vw,22px);font-weight:700}.tl-vals .cur{font-size:clamp(20px,6vw,27px)}.tl-vals .goal{color:var(--olive)}.wfacts{color:var(--muted);text-align:center;font-size:13px}.wfacts b{color:var(--ink)}.eta{color:var(--muted);border-top:1px solid var(--line);align-items:flex-start;gap:8px;padding-top:12px;font-size:13.5px;display:flex}.eta svg{width:18px;height:18px;color:var(--olive);flex:none;margin-top:1px}.eta b{color:var(--ink)}.plan-hero{flex-direction:column;gap:14px;padding-top:6px;display:flex}.plan-hero h1{font-size:clamp(28px,8vw,38px);line-height:1.08}.plan-hero em{color:var(--olive);font-style:normal}.plan-chips .pill{padding:5px 12px;font-size:12.5px}.plancard{background:var(--surface);border:1px solid var(--line);border-radius:22px;flex-direction:column;gap:16px;padding:20px 16px;display:flex}.plancard h2{font-size:19px}.gtiles{grid-template-columns:1fr 1fr;gap:10px;display:grid}.gtile{background:var(--bg);border-radius:16px;align-items:center;gap:12px;min-width:0;padding:14px;display:flex}.gtile.wide{grid-column:1/-1}.gtile:first-child{background:var(--rust-soft);box-shadow:inset 0 0 0 1.5px var(--rust)}.gic{width:42px;height:42px;color:var(--c);background:var(--surface);border-radius:50%;flex:none;place-items:center;display:grid}.gic svg{width:21px;height:21px}.gl{color:var(--muted);font-size:13px}.gv{font-family:var(--display);font-size:24px;font-weight:700;line-height:1.1}.gv small{font-family:var(--body);color:var(--muted);margin-left:4px;font-size:13px;font-weight:500}.login{flex-direction:column;gap:20px;padding-top:8vh;display:flex}.login h1{font-size:clamp(30px,8vw,40px);line-height:1.08}.login h1 em{color:var(--rust);font-style:normal}.login .lead{color:var(--muted);font-size:15px}.codeinput{letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums;font-size:22px!important}.nav{z-index:20;background:var(--surface);border-top:1px solid var(--line);padding:6px max(10px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));position:fixed;bottom:0;left:0;right:0}.nav ul{grid-template-columns:repeat(5,1fr);max-width:600px;margin:0 auto;padding:0;list-style:none;display:grid}.nav button{cursor:pointer;width:100%;color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;padding:6px 0;font-size:11px;font-weight:600;display:flex}.nav button svg{width:22px;height:22px}.nav button[aria-current=page]{color:var(--rust)}.nav .plus span.ic{background:var(--rust);width:44px;height:44px;color:var(--on-accent);box-shadow:0 6px 16px -6px var(--rust);border-radius:50%;place-items:center;margin-top:-18px;display:grid}.nav .plus[aria-current=page] span.ic{background:var(--wine)}.toast{left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));background:var(--ink);color:var(--bg);z-index:30;text-align:center;border-radius:99px;max-width:calc(100% - 32px);padding:10px 18px;font-size:14px;position:fixed;transform:translate(-50%)}
