:root{--bg: #f6f7f5;--bg-elev: #ffffff;--bg-elev-2: #edf0ed;--bg-subtle: #f1f4f1;--text: #141916;--text-2: #2f3a33;--muted: #5a675f;--line: #dce2dd;--line-strong: #c6d0c8;--accent: #157a4c;--accent-hover: #11623d;--accent-soft: rgba(21, 122, 76, .11);--accent-ink: #ffffff;--inv-bg: #141916;--brand-ring: #34d399;--kcal: #157a4c;--protein: #1e64c8;--carbs: #c7820a;--fat: #c85a32;--danger: #c9372c;--danger-soft: rgba(201, 55, 44, .11);--info-soft: rgba(30, 100, 200, .09);--radius-sm: 8px;--radius: 14px;--radius-lg: 20px;--shadow-sm: 0 1px 2px rgba(20, 25, 22, .04), 0 0 0 1px var(--line);--shadow-md: 0 12px 32px rgba(20, 25, 22, .08), 0 1px 2px rgba(20, 25, 22, .04);--shadow-sheet: 0 -10px 40px rgba(20, 25, 22, .16);--font-sans: "Host Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--ease-out: cubic-bezier(.23, 1, .32, 1);--ease-in-out: cubic-bezier(.77, 0, .175, 1);--ease-drawer: cubic-bezier(.32, .72, 0, 1);color-scheme:light}[data-theme=dark]{--bg: #0c100e;--bg-elev: #131a16;--bg-elev-2: #1c2621;--bg-subtle: #161f1a;--text: #edf2ee;--text-2: #cfd9d2;--muted: #8b9b91;--line: #233028;--line-strong: #314238;--accent: #34d399;--accent-hover: #24bd85;--accent-soft: rgba(52, 211, 153, .14);--accent-ink: #071911;--inv-bg: #1a251f;--brand-ring: #34d399;--kcal: #34d399;--protein: #60a5fa;--carbs: #fbbf24;--fat: #fb8c63;--danger: #f87171;--danger-soft: rgba(248, 113, 113, .14);--info-soft: rgba(96, 165, 250, .12);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 0 0 1px var(--line);--shadow-md: 0 16px 40px rgba(0, 0, 0, .45);--shadow-sheet: 0 -12px 44px rgba(0, 0, 0, .6);color-scheme:dark}[data-theme=clay]{--bg: #f3efe8;--bg-elev: #fbf9f5;--bg-elev-2: #e9e2d6;--bg-subtle: #efeae1;--text: #1f1c18;--text-2: #3a342d;--muted: #696056;--line: #ded6c9;--line-strong: #c8beae;--accent: #2e5b44;--accent-hover: #244936;--accent-soft: rgba(46, 91, 68, .11);--accent-ink: #ffffff;--inv-bg: #1f1c18;--brand-ring: #52c48c;--kcal: #2e5b44;--protein: #235ea8;--carbs: #b87410;--fat: #b9532e;--danger: #b8332a;color-scheme:light}[data-theme=slate]{--bg: #11151a;--bg-elev: #181f27;--bg-elev-2: #222c37;--bg-subtle: #1c242e;--text: #ebf0f5;--text-2: #c9d4e0;--muted: #8a99aa;--line: #283341;--line-strong: #384658;--accent: #3fd0a1;--accent-hover: #2ebb8d;--accent-soft: rgba(63, 208, 161, .14);--accent-ink: #081c16;--inv-bg: #202a36;--brand-ring: #3fd0a1;--kcal: #3fd0a1;--protein: #60a5fa;--carbs: #f5b942;--fat: #f28860;--danger: #f87171;--danger-soft: rgba(248, 113, 113, .14);--info-soft: rgba(96, 165, 250, .12);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .32), 0 0 0 1px var(--line);--shadow-md: 0 16px 40px rgba(0, 0, 0, .45);--shadow-sheet: 0 -12px 44px rgba(0, 0, 0, .6);color-scheme:dark}.theme-switching,.theme-switching *,.theme-switching *:before,.theme-switching *:after{transition:none!important}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-sans);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.025em;line-height:1.18}h1{font-size:1.5rem}h2{font-size:1.12rem}h3{font-size:1rem}p{margin:0;color:var(--text-2)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.small{font-size:.84rem;line-height:1.45}.muted{color:var(--muted)}.center{text-align:center}.good{color:var(--accent)}.bad{color:var(--danger)}.kicker{font-family:var(--font-mono);font-size:.7rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grow{flex:1 1 auto;min-width:0}.row{display:flex;align-items:center;gap:8px}.row.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:14px}.stack-sm{display:flex;flex-direction:column;gap:8px}.stack-xs{display:flex;flex-direction:column;gap:4px}.stack-lg{display:flex;flex-direction:column;gap:28px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}@media(max-width:520px){.hide-xs{display:none!important}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 15px;border-radius:10px;border:1px solid var(--line-strong);background:var(--bg-elev);color:var(--text);font-weight:500;font-size:.9rem;white-space:nowrap;transition:transform .16s var(--ease-out),background-color .15s ease,border-color .15s ease,color .15s ease}.btn svg{width:17px;height:17px;flex-shrink:0}.btn.sm{min-height:34px;padding:0 11px;font-size:.83rem;border-radius:8px}.btn.lg{min-height:46px;padding:0 20px;font-size:.95rem;border-radius:11px}.btn.block{width:100%}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{background:var(--danger-soft);border-color:transparent;color:var(--danger)}.btn.icon-btn{width:36px;min-height:36px;padding:0;border-radius:9px}.btn:disabled{opacity:.45;cursor:not-allowed}.btn:active:not(:disabled),.chip:active:not(:disabled){transform:scale(.97)}@media(hover:hover)and (pointer:fine){.btn:hover:not(:disabled){background:var(--bg-elev-2)}.btn.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn.ghost:hover:not(:disabled){background:var(--bg-elev-2)}.btn.danger:hover:not(:disabled){background:var(--danger);color:#fff}}.link-btn{background:none;border:0;padding:0;color:var(--accent);font-weight:500}.brand-link{display:inline-flex;align-items:center;gap:9px;background:none;border:0;padding:0;font-size:1rem;letter-spacing:-.02em}.brand-mark{display:block;flex-shrink:0}input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=date],input[type=time],select,textarea{width:100%;min-height:40px;padding:8px 12px;border-radius:10px;border:1px solid var(--line-strong);background:var(--bg-elev);color:var(--text);font-size:.93rem;transition:border-color .14s ease,box-shadow .14s ease}textarea{min-height:76px;resize:vertical}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.field{display:flex;flex-direction:column;gap:5px}.field>label{font-size:.8rem;font-weight:500;color:var(--muted)}.segmented{display:flex;gap:3px;padding:3px;border-radius:10px;background:var(--bg-elev-2);border:1px solid var(--line)}.segmented>button{flex:1 1 0;min-height:32px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:.82rem;font-weight:500;white-space:nowrap;transition:background-color .15s ease,color .15s ease}.segmented>button.active{background:var(--bg-elev);color:var(--text);box-shadow:0 1px 2px #00000014}.chip{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:0 11px;border-radius:999px;border:1px solid var(--line-strong);background:var(--bg-elev);color:var(--text-2);font-size:.82rem;font-weight:500;transition:transform .15s var(--ease-out),background-color .14s ease,border-color .14s ease,color .14s ease}.chip.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.meal-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.meal-picker>button{min-height:36px;padding:4px 8px;border-radius:9px;border:1px solid var(--line-strong);background:var(--bg-elev);font-size:.8rem;color:var(--text-2);transition:background-color .14s ease,border-color .14s ease}.meal-picker>button.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}.pill-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:var(--bg-elev-2);color:var(--muted);font-size:.74rem;font-weight:500;white-space:nowrap}.pill-badge.accent{background:var(--accent-soft);color:var(--accent)}.badge{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:5px;background:var(--bg-elev-2);color:var(--muted);font-size:.7rem;font-weight:500;vertical-align:middle}.prep-pill{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:5px;font-family:var(--font-mono);font-size:.68rem;font-weight:500;vertical-align:middle}.prep-raw{background:#c85a3221;color:var(--fat)}.prep-cooked{background:#c7820a24;color:var(--carbs)}.prep-ready{background:var(--accent-soft);color:var(--accent)}.prep-note-box{padding:9px 12px;border-radius:10px;background:var(--bg-subtle);border-left:3px solid var(--accent);color:var(--text-2)}.banner{padding:10px 13px;border-radius:10px;font-size:.85rem;line-height:1.45}.banner.error{background:var(--danger-soft);color:var(--danger)}.banner.info{background:var(--info-soft);color:var(--text)}.spinner{display:inline-block;width:17px;height:17px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:en-spin .65s linear infinite}@keyframes en-spin{to{transform:rotate(360deg)}}.empty{padding:28px 16px;text-align:center;color:var(--muted);font-size:.88rem}.card{background:var(--bg-elev);border:1px solid var(--line);border-radius:var(--radius);padding:18px}.sub-card{background:var(--bg-subtle);border:1px solid var(--line);border-radius:11px;padding:12px 14px}.stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center}.stat-row .v{font-size:1.15rem;font-weight:600}.stat-row .k{font-size:.74rem;color:var(--muted)}.ring{position:relative;width:144px;height:144px;flex-shrink:0}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-label{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ring-value{font-size:1.65rem;font-weight:600;line-height:1.05;letter-spacing:-.03em}.ring-unit{font-size:.74rem;color:var(--muted);margin-top:2px}.macro{display:flex;flex-direction:column;gap:5px}.macro-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:.84rem}.macro-name{display:inline-flex;align-items:center;gap:6px;font-weight:500}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}.macro-delta{margin-left:6px;font-size:.74rem;color:var(--muted)}.bar{height:7px;border-radius:999px;background:var(--bg-elev-2);overflow:hidden}.bar>span{display:block;height:100%;width:100%;border-radius:999px;transform-origin:left center;transition:transform .36s var(--ease-out)}.boot-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.app-shell{min-height:100dvh;display:flex}.sidebar{display:none}.app-main{flex:1 1 auto;min-width:0;width:100%;max-width:1120px;margin:0 auto;padding:16px 16px calc(92px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);background:color-mix(in srgb,var(--bg-elev) 90%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 4px;border:0;background:transparent;color:var(--muted);font-size:.72rem;font-weight:500;border-radius:10px;transition:color .14s ease}.nav-item svg{width:20px;height:20px}.nav-item.active{color:var(--accent)}.fab{position:fixed;right:18px;bottom:calc(74px + env(safe-area-inset-bottom));z-index:45;width:52px;height:52px;border-radius:16px;border:0;background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 24px #157a4c52;display:flex;align-items:center;justify-content:center;transition:transform .16s var(--ease-out)}.fab svg{width:24px;height:24px}.fab:active{transform:scale(.94)}@media(min-width:920px){.sidebar{position:sticky;top:0;height:100dvh;width:248px;flex-shrink:0;display:flex;flex-direction:column;gap:16px;padding:18px 14px;background:var(--bg-elev);border-right:1px solid var(--line)}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:2px 4px}.sidebar-nav{display:flex;flex-direction:column;gap:4px;flex:1 1 auto}.side-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:0;background:transparent;color:var(--text-2);font-weight:500;font-size:.92rem;text-align:left;transition:background-color .14s ease,color .14s ease}.side-item svg{width:19px;height:19px}.side-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}@media(hover:hover)and (pointer:fine){.side-item:hover:not(.active){background:var(--bg-elev-2)}}.sidebar-foot{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.trial-pill{display:flex;align-items:center;justify-content:space-between;padding:8px 11px;border-radius:9px;border:1px solid var(--line);background:var(--bg-subtle);font-size:.8rem}.app-main{padding:26px 32px 48px}.bottom-nav,.fab{display:none}}.page-grid{display:flex;flex-direction:column;gap:16px}.page-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.day-nav{display:flex;align-items:center;gap:6px}.day-title-btn{display:flex;flex-direction:column;align-items:flex-start;background:none;border:0;padding:2px 6px;border-radius:8px}.weigh-pill{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line-strong);background:var(--bg-elev);font-size:.83rem;font-weight:500;transition:transform .15s var(--ease-out),border-color .14s ease}.weigh-pill svg{width:16px;height:16px;color:var(--accent)}.today-layout{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:960px){.today-layout{grid-template-columns:420px 1fr;align-items:start}}.summary-top{display:flex;align-items:center;gap:18px}@media(max-width:440px){.summary-top{flex-direction:column;align-items:stretch}.ring{margin:0 auto}}.summary-macros{display:flex;flex-direction:column;gap:11px}.summary-eaten{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:.88rem}.summary-eaten>span,.summary-eaten .link-btn,.prep-amt{white-space:nowrap}.sizer-cta{display:flex;flex-direction:column;gap:12px;background:linear-gradient(135deg,var(--bg-elev) 0%,var(--accent-soft) 100%);border-color:color-mix(in srgb,var(--accent) 28%,var(--line))}.collapse-head{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;padding:0}.prep-lines{display:flex;flex-direction:column;border-top:1px solid var(--line);margin-top:6px}.prep-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.prep-row:last-child{border-bottom:0}.journal-slots{display:flex;flex-direction:column;gap:10px}.slot-block{padding-top:10px;border-top:1px solid var(--line)}.slot-block:first-child{padding-top:0;border-top:0}.slot-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.slot-title{font-size:.85rem;font-weight:600;color:var(--text-2)}.slot-block.is-empty .slot-title{color:var(--muted);font-weight:500}.list-group{display:flex;flex-direction:column}.entry{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 8px;margin:0 -8px;border:0;border-radius:10px;background:transparent;text-align:left;transition:background-color .12s ease}@media(hover:hover)and (pointer:fine){.entry:hover{background:var(--bg-subtle)}}.entry .name{font-weight:500;font-size:.92rem}.entry-kcal{font-weight:600;font-size:.95rem;flex-shrink:0}.macro-chips{display:flex;flex-wrap:wrap;gap:8px;font-size:.76rem;color:var(--muted);margin-top:2px}.planned-card{margin:6px 0;padding:12px 13px;border-radius:11px;background:var(--bg-subtle);border:1px dashed color-mix(in srgb,var(--accent) 45%,var(--line))}.planned-item-row{font-size:.88rem}.plan-left{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 13px;border-radius:11px;background:var(--bg-subtle);border:1px solid var(--line)}.plan-card{padding:13px;border-radius:12px;border:1px solid var(--line);background:var(--bg-subtle)}.plan-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.plan-toggle{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border-radius:11px;border:1px solid var(--line);background:var(--bg-subtle);cursor:pointer}.plan-toggle.bare{padding:0;border:0;background:transparent}.plan-toggle input[type=checkbox]{width:18px;height:18px;margin-top:2px;accent-color:var(--accent)}.plan-toggle .grow{display:flex;flex-direction:column;gap:2px}.pick-btn{border-color:color-mix(in srgb,var(--accent) 40%,var(--line));color:var(--accent)}.picked{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-radius:10px;background:var(--bg-elev);border:1px solid var(--line)}.meal-head{display:flex;align-items:center;justify-content:space-between;font-size:.76rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.plan-items{padding-top:8px;border-top:1px solid var(--line);font-size:.87rem}.plan-proj{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}@media(max-width:480px){.plan-proj{grid-template-columns:repeat(2,minmax(0,1fr))}}.plan-proj .k{font-size:.73rem;color:var(--muted)}.plan-proj .v{font-size:.92rem;font-weight:600}.plan-proj .d{font-size:.75rem}.addition-line,.snack-line{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:10px;background:var(--bg-elev);border:1px solid var(--line)}.recipe-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.recipe-role{flex:1 0 100%}.grams{width:78px!important;text-align:right;font-family:var(--font-mono)}.toggle-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.toggle-row input{width:18px;height:18px;margin-top:2px;accent-color:var(--accent)}.toggle-row .grow{display:flex;flex-direction:column;gap:2px}.cook-ratio{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:.86rem}.progress-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:880px){.progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.checkin-card.ready{border-color:var(--accent);background:linear-gradient(135deg,var(--bg-elev) 0%,var(--accent-soft) 100%)}.tdee-badge{display:flex;flex-direction:column;align-items:flex-end;padding:6px 11px;border-radius:10px;background:var(--bg-subtle);border:1px solid var(--line)}.checkin-diff{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.diff-col{padding:11px 13px;border-radius:11px;background:var(--bg-elev);border:1px solid var(--line)}.diff-col.highlight{border-color:var(--accent)}.diff-kcal{font-size:1.25rem;font-weight:600}.diff-arrow{font-size:1.2rem;color:var(--muted)}.readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}@media(max-width:600px){.readiness-grid{grid-template-columns:1fr}}.consistency-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.cons-day{display:flex;flex-direction:column;align-items:center;gap:6px;padding:9px 4px;border-radius:10px;border:1px solid var(--line);background:var(--bg-subtle)}.cons-day.logged{background:var(--bg-elev)}.cons-dot{width:10px;height:10px;border-radius:50%;background:var(--bg-elev-2)}.cons-dot.hit-p{background:var(--protein)}.cons-dot.hit-k{background:var(--accent)}.checkin-log-row{padding:10px 0;border-bottom:1px solid var(--line)}.checkin-log-row:last-child{border-bottom:0}.ichart-wrap{display:flex;flex-direction:column;gap:6px}.ichart-readout{min-height:26px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:.8rem}.ichart-legend{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}.chart-legend{display:flex;flex-wrap:wrap;gap:12px}.chart-legend>span,.ichart-val{display:inline-flex;align-items:center;gap:5px}.ichart-vals{display:flex;gap:10px}.ichart-hint{font-size:.72rem;color:var(--muted)}.ichart-svg{width:100%;height:auto;display:block;-webkit-user-select:none;user-select:none}.ichart-svg .axis{font-family:var(--font-mono);font-size:9.5px;fill:var(--muted)}.packs-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:820px){.packs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.grocery-groups{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:720px){.grocery-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}.grocery-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);cursor:pointer}.grocery-row input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}.grocery-row.done{opacity:.48;text-decoration:line-through}.settings-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:860px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theme-swatch{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--line-strong);background:var(--bg-subtle);text-align:left}.theme-swatch.active{border-color:var(--accent);background:var(--accent-soft)}.swatch-dots{display:inline-flex;gap:3px}.swatch-dots i{width:12px;height:12px;border-radius:50%;border:1px solid rgba(128,128,128,.3)}.price-figure{font-size:1.35rem;font-weight:600}.featured-tier{border-color:var(--accent)}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0c100e8f;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:center;transition:opacity .2s var(--ease-out)}.sheet{width:100%;max-width:560px;max-height:90dvh;overflow-y:auto;background:var(--bg-elev);border-top:1px solid var(--line);border-radius:20px 20px 0 0;padding:10px 18px calc(22px + env(safe-area-inset-bottom));box-shadow:var(--shadow-sheet);transform:translateY(0);opacity:1;transition:transform .28s var(--ease-drawer),opacity .22s var(--ease-out)}@starting-style{.scrim{opacity:0}.sheet{transform:translateY(24px);opacity:0}}@media(min-width:640px){.scrim{align-items:center;padding:20px}.sheet{border:1px solid var(--line);border-radius:18px;padding:18px 22px 22px}.sheet-handle{display:none}}.sheet-handle{width:38px;height:4px;border-radius:99px;background:var(--line-strong);margin:0 auto 12px}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}.toast{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:90;padding:10px 16px;border-radius:999px;background:var(--inv-bg);color:#edf2ee;font-size:.85rem;font-weight:500;box-shadow:var(--shadow-md);white-space:nowrap;max-width:calc(100vw - 32px);overflow:hidden;text-overflow:ellipsis;transition:transform .22s var(--ease-out),opacity .18s ease}@starting-style{.toast{opacity:0;transform:translate(-50%,10px)}}@media(min-width:920px){.toast{bottom:24px}}.scanner-box{position:relative;border-radius:14px;overflow:hidden;background:#000;aspect-ratio:4 / 3}.scanner-box video{width:100%;height:100%;object-fit:cover;display:block}.scanner-frame{position:absolute;top:22%;right:12%;bottom:22%;left:12%;border:2px solid var(--brand-ring);border-radius:12px;box-shadow:0 0 0 999px #00000059}.scanner-busy{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000008c;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.label-photo{width:100%;max-height:240px;object-fit:contain;border-radius:10px;background:var(--bg-subtle)}.auth-shell{min-height:100dvh;display:flex;flex-direction:column;padding:20px 20px 40px}.auth-top{width:100%;max-width:1120px;margin:0 auto 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-card-wrap{flex:1 1 auto;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.onboard-shell{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 16px}.auth-card{width:100%;max-width:440px}.onboard-card{width:100%;max-width:560px}.auth-brand{display:flex;align-items:center;gap:11px}.auth-divider{display:flex;align-items:center;gap:10px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--line)}.step-bars{display:flex;gap:6px}.step-bars>span{flex:1;height:4px;border-radius:99px;background:var(--bg-elev-2)}.step-bars>span.active{background:var(--accent)}.target-preview{padding:16px;border-radius:13px;background:var(--bg-subtle);border:1px solid var(--line);display:flex;flex-direction:column;gap:12px}.target-preview-main{text-align:center}.target-kcal{font-size:2rem;font-weight:600;letter-spacing:-.03em}.pack-option{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--line-strong);background:var(--bg-elev);text-align:left;transition:border-color .14s ease,background-color .14s ease}.pack-option.active{border-color:var(--accent);background:var(--accent-soft)}.pack-meta{display:flex;flex-wrap:wrap;gap:6px;color:var(--muted)}.legal-shell{max-width:820px;margin:0 auto;padding:20px 16px 64px;display:flex;flex-direction:column;gap:20px}.legal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.legal-content{padding:28px}.legal-content h2{margin-top:8px}.lp{min-height:100dvh;background:var(--bg)}.lp-wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}.lp-nav{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.lp-nav-inner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}.lp-links{display:none;align-items:center;gap:24px;font-size:.9rem;color:var(--text-2)}@media(min-width:820px){.lp-links{display:flex}}@media(hover:hover)and (pointer:fine){.lp-links a:hover{color:var(--text)}}.lp-hero{padding:44px 0 68px;border-bottom:1px solid var(--line)}@media(min-width:960px){.lp-hero{padding:72px 0 88px}}.lp-hero-grid{display:grid;grid-template-columns:1fr;gap:36px;align-items:center}@media(min-width:960px){.lp-hero-grid{grid-template-columns:5fr 6fr;gap:48px}}.lp-hero-copy h1{font-size:clamp(2.05rem,3.8vw,3.25rem);letter-spacing:-.038em;line-height:1.07}.lp-lead{font-size:1.05rem;line-height:1.58;color:var(--text-2);max-width:52ch}.lp-facts{display:flex;flex-wrap:wrap;gap:8px;padding-top:6px}.lp-demo-frame{position:relative;display:flex;flex-direction:column;gap:12px}.lp-demo-card{background:var(--bg-elev);border:1px solid var(--line-strong);border-radius:18px;padding:20px;box-shadow:var(--shadow-md);display:flex;flex-direction:column;gap:14px}.lp-demo-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.lp-scenario-row{display:flex;flex-wrap:wrap;gap:7px}.lp-pickers{display:grid;grid-template-columns:1fr;gap:10px;padding-top:4px}@media(min-width:600px){.lp-pickers{grid-template-columns:repeat(2,minmax(0,1fr))}}.lp-solved-box{background:var(--bg-subtle);border:1px solid var(--line);border-radius:12px;padding:13px 14px}.lp-solved-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.lp-solved-row:last-child{border-bottom:0;padding-bottom:2px}.lp-solved-grams{font-size:1.05rem;font-weight:600;color:var(--accent);white-space:nowrap}.lp-float-card{position:relative;padding:13px 16px;border-radius:13px;background:var(--bg-elev);border:1px solid var(--line-strong);box-shadow:var(--shadow-md);display:flex;flex-direction:column;gap:4px}@media(min-width:640px){.lp-float-card{align-self:flex-start;margin-left:-14px;max-width:420px}}.lp-float-nums{display:flex;flex-wrap:wrap;gap:12px;font-size:.86rem}.lp-section{padding:72px 0}.lp-band-alt{background:var(--bg-subtle);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.lp-section-head{display:flex;flex-direction:column;gap:8px;max-width:62ch}.lp-section-head h2{font-size:clamp(1.55rem,2.6vw,2.2rem);letter-spacing:-.03em}.lp-pillars-grid{display:grid;grid-template-columns:1fr;gap:18px}@media(min-width:860px){.lp-pillars-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.lp-pillar-card{background:var(--bg-elev);border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:12px}.lp-pillar-num{font-size:.8rem;color:var(--accent);font-weight:600}.lp-pillar-card p{font-size:.92rem;flex:1 1 auto}.lp-mini-ui{padding:11px 12px;border-radius:10px;background:var(--bg-subtle);border:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.lp-table-wrap{overflow-x:auto;border-radius:14px;border:1px solid var(--line);background:var(--bg-elev)}.lp-table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:660px}.lp-table th,.lp-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line)}.lp-table th{font-size:.8rem;font-weight:600;color:var(--muted);background:var(--bg-subtle)}.lp-table tbody tr:last-child td{border-bottom:0}.lp-table .en-col{background:var(--accent-soft);color:var(--text)}.lp-table th.en-col{color:var(--accent)}.lp-pricing-grid{display:grid;grid-template-columns:1fr;gap:18px}@media(min-width:760px){.lp-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.lp-price-card{background:var(--bg-elev);border:1px solid var(--line);border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:14px}.lp-price-card.featured{border-color:var(--accent);box-shadow:0 12px 32px #157a4c14}.lp-price{font-size:2.2rem;font-weight:600;letter-spacing:-.03em}.lp-check-list{list-style:none;padding:0;margin:4px 0 8px;display:flex;flex-direction:column;gap:8px;flex:1 1 auto;font-size:.91rem;color:var(--text-2)}.lp-check-list li{padding-left:20px;position:relative}.lp-check-list li:before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:700}.lp-partner-grid{display:grid;grid-template-columns:1fr;gap:28px;align-items:start}@media(min-width:860px){.lp-partner-grid{grid-template-columns:1.1fr 1fr}}.lp-partner-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:8px}.lp-partner-terms>div{padding:12px;border-radius:12px;background:var(--bg-elev);border:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.lp-partner-terms b{font-size:1.25rem;color:var(--accent)}.lp-faq-grid{display:grid;grid-template-columns:1fr;gap:18px}@media(min-width:760px){.lp-faq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.lp-faq-item{padding:20px;border-radius:14px;background:var(--bg-elev);border:1px solid var(--line);display:flex;flex-direction:column;gap:7px}.lp-footer{border-top:1px solid var(--line);padding:28px 0;background:var(--bg-elev)}.lp-footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
