:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%;min-height:100%;margin:0;overflow-x:hidden}button,input,select,textarea{color:inherit;font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #ff7a3d8c}body{background:radial-gradient(circle at 20% 10%,#ff7a3d24,#0000 30rem),radial-gradient(circle at 80% 90%,#ffad5c14,#0000 32rem),#09090b;min-width:0}.prototype{--bg:#0d0d10;--bg-deep:#08080a;--surface:#17171b;--surface-2:#1d1d22;--surface-3:#25252b;--line:#ffffff14;--line-strong:#ffffff24;--text:#f6f4f0;--muted:#929097;--soft:#c4c1c7;--accent:#ff7a3d;--accent-soft:#ffb085;--cyan:#59baf5;--amber:#ffb55b;--rose:#ff7194;--lime:#b8e85b;--shadow:0 26px 80px #00000073;width:100%;max-width:100vw;min-height:100vh;color:var(--text);padding:68px 20px 44px;transition:background .18s,color .18s;overflow:hidden}.prototype.theme-light{--bg:#f4f0e8;--bg-deep:#e7e0d4;--surface:#fffdf8;--surface-2:#eee8de;--surface-3:#e1d9cd;--line:#2a26221a;--line-strong:#2a26222b;--text:#25221f;--muted:#746e67;--soft:#4f4a45;--accent:#d95722;--accent-soft:#9f3410;--cyan:#147cb4;--amber:#c06b08;--rose:#d13d68;--lime:#608918;--shadow:0 26px 80px #3e302033;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.phone-shell{border:1px solid var(--line-strong);background:var(--bg);width:min(100%,402px);max-width:100%;height:min(850px,100vh - 150px);min-height:650px;box-shadow:var(--shadow);isolation:isolate;border-radius:38px;margin:0 auto;position:relative;overflow:hidden}.phone-status{z-index:20;width:100%;height:32px;color:var(--soft);letter-spacing:.02em;pointer-events:none;justify-content:space-between;align-items:center;padding:7px 22px 0;font-size:11px;font-weight:700;display:flex;position:absolute;top:0;left:0}.app-viewport{overscroll-behavior:contain;overscroll-behavior-x:none;scrollbar-width:none;touch-action:pan-y;width:100%;max-width:100%;height:100%;overflow:hidden auto}.app-viewport::-webkit-scrollbar{display:none}.screen{width:100%;max-width:100%;min-height:100%;padding:48px 16px 116px;overflow-x:clip}.ledger-header,.subpage-header{justify-content:space-between;align-items:center;display:flex}.subpage-header__spacer{flex:none;width:44px;height:44px}h1,h2,p{margin:0}h1{letter-spacing:-.055em;font-size:32px;line-height:1}h2{letter-spacing:-.035em;font-size:21px;line-height:1.15}.eyebrow{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:800}.avatar-button,.icon-button,.theme-button,.square-action{background:var(--text);width:44px;height:44px;color:var(--bg);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;font-size:12px;font-weight:900;display:grid}.icon-button{background:var(--surface-2);color:var(--text)}.avatar-button--outline{border:1px solid var(--line-strong);color:var(--text);background:0 0}.dashboard-masthead .avatar-button{cursor:default}.ledger-line__bar i,.log-summary-bars i{border-radius:inherit;height:100%;display:block}.tone-accent{background-color:var(--accent)!important;color:var(--accent)!important}.tone-cyan{background-color:var(--cyan)!important;color:var(--cyan)!important}.tone-amber{background-color:var(--amber)!important;color:var(--amber)!important}.tone-rose{background-color:var(--rose)!important;color:var(--rose)!important}.tone-lime{background-color:var(--lime)!important;color:var(--lime)!important}.capture-bar{border:1px solid var(--line-strong);background:var(--surface-2);width:100%;min-height:54px;color:var(--soft);cursor:pointer;border-radius:18px;justify-content:space-between;align-items:center;margin-top:14px;padding:5px 6px 5px 17px;display:flex}.capture-bar>span:first-child{align-items:center;gap:10px;font-size:13px;font-weight:650;display:flex}.capture-bar__search{min-height:42px;color:var(--soft);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:0;font-size:13px;font-weight:650;display:flex}.capture-bar__scan{background:var(--text);width:42px;height:42px;color:var(--bg);cursor:pointer;border:0;border-radius:14px;place-items:center;padding:0;display:grid}.section{margin-top:30px}.section-heading,.ledger-section__heading,.sheet-heading{justify-content:space-between;align-items:flex-end;margin-bottom:15px;display:flex}.week-strip{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.week-day{border:1px solid var(--line);background:var(--surface);min-width:0;height:76px;color:var(--muted);cursor:pointer;border-radius:16px;flex-direction:column;justify-content:space-between;align-items:center;padding:8px 4px 7px;display:flex}.week-day span{font-size:9px;font-weight:800}.week-day strong{color:var(--text);font-size:12px}.week-day i{background:var(--surface-3);border-radius:8px;width:5px;height:24px;position:relative;overflow:hidden}.week-day i:after{height:calc(var(--score) * 100%);border-radius:inherit;background:var(--accent);content:"";position:absolute;bottom:0;left:0;right:0}.week-day.is-current{border-color:var(--accent);color:var(--text);box-shadow:inset 0 0 0 1px var(--accent)}.week-day:disabled{cursor:default;opacity:.35}.ledger-meals,.signal-list{border:1px solid var(--line);background:var(--surface);border-radius:20px;overflow:hidden}.ledger-meal{border:0;border-bottom:1px solid var(--line);width:100%;min-height:67px;color:var(--text);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:12px;padding:10px 13px;display:flex}.ledger-meal:last-child{border-bottom:0}.ledger-meal>span:nth-child(2) strong{margin-bottom:4px;font-size:12px;display:block}.ledger-meal>span:nth-child(2) small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;display:block;overflow:hidden}.signal-icon{border-radius:11px;place-items:center;width:34px;height:34px;margin-bottom:19px;display:grid;background:color-mix(in srgb, currentColor 13%, var(--surface-2))!important}.ledger-brand{align-items:center;gap:11px;display:flex}.ledger-brand>span{background:var(--accent);color:#fff;letter-spacing:-.04em;border-radius:13px;place-items:center;width:42px;height:42px;font-size:12px;font-weight:950;display:grid}.ledger-brand h1{font-size:24px}.ledger-date{grid-template-columns:90px 1fr;gap:12px;margin-top:23px;display:grid}.ledger-date>div:first-child{align-items:center;gap:8px;padding:0 4px;display:flex}.ledger-date>div:first-child strong{letter-spacing:-.06em;font-size:33px}.ledger-date>div:first-child span{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:700;line-height:1.35}.week-strip--compact{gap:3px}.week-strip--compact .week-day{border-radius:11px;height:58px;padding:6px 2px 5px}.week-strip--compact .week-day strong{font-size:10px}.week-strip--compact .week-day i{width:11px;height:3px}.week-strip--compact .week-day i:after{width:calc(var(--score) * 100%);height:100%}.ledger-balance{border:1px solid var(--line);background:var(--surface);border-radius:22px;margin-top:16px;padding:18px}.ledger-balance__top{justify-content:space-between;align-items:start;margin-bottom:21px;display:flex}.compact-switch{border:1px solid var(--line-strong);background:var(--surface-2);min-height:34px;color:var(--soft);cursor:pointer;border-radius:11px;align-items:center;gap:5px;padding:0 10px;font-size:9px;font-weight:750;display:flex}.ledger-table{gap:16px;display:grid}.ledger-line{grid-template-columns:5px 55px minmax(30px,1fr) 34px 24px;align-items:center;gap:8px;display:grid}.ledger-line__mark{border-radius:3px;width:4px;height:17px}.ledger-line__label{color:var(--soft);font-size:10px}.ledger-line__bar{background:var(--surface-3);border-radius:3px;height:3px;overflow:hidden}.ledger-line>strong{text-align:right;font-size:12px}.ledger-line>small{color:var(--muted);font-size:8px}.ledger-caption{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;margin-top:18px;padding-top:12px;font-size:8px;display:flex}.ledger-actions{grid-template-columns:1fr;gap:9px;margin-top:11px;display:grid}.primary-action,.secondary-action{background:var(--text);min-height:52px;color:var(--bg);cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:0 19px;font-size:12px;font-weight:850;display:inline-flex}.square-action{background:var(--surface-2);width:54px;height:52px;color:var(--text);border-radius:16px}.ledger-section{margin-top:27px}.ledger-section__heading{align-items:center}.ledger-section__heading .icon-button{width:38px;height:38px}.ledger-meal__number{border:1px solid var(--line-strong);width:29px;height:29px;color:var(--muted);border-radius:10px;flex:none;place-items:center;font-size:9px;font-weight:800;display:grid}.ledger-meal__number.is-done{border-color:color-mix(in srgb, var(--lime) 45%, transparent);background:color-mix(in srgb, var(--lime) 12%, transparent);color:var(--lime)}.ledger-meal>span:nth-child(2){flex:1;min-width:0}.ledger-meal>strong{font-size:12px}.signal-list article{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:72px;padding:12px 14px;display:flex}.signal-list article:last-child{border-bottom:0}.signal-list article>div{align-items:center;gap:11px;display:flex}.signal-icon{width:36px;height:36px;margin:0}.signal-list p{color:var(--muted);margin-bottom:4px;font-size:9px}.signal-list strong{font-size:12px}.signal-delta{background:var(--surface-2);color:var(--muted);border-radius:8px;padding:5px 7px;font-size:8px;font-weight:800}.signal-delta--down{color:var(--accent-soft)}.signal-delta--good{color:var(--lime)}.screen--ledger{padding-left:0;padding-right:0}.dashboard-masthead,.dashboard-insights,.screen--ledger>.ledger-actions,.screen--ledger>.ledger-section{margin-left:16px;margin-right:16px}.dashboard-masthead{justify-content:space-between;align-items:center;margin-bottom:19px;display:flex}.dashboard-masthead p{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:750}.dashboard-masthead h1{letter-spacing:-.065em;text-transform:uppercase;font-size:clamp(31px,10vw,39px);font-weight:900}.dashboard-carousel{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 16rem), color-mix(in srgb, var(--surface) 42%, var(--bg));touch-action:pan-y;width:100%;overflow:hidden}.dashboard-carousel__track{width:100%;transition:transform .26s cubic-bezier(.22,.72,.25,1);display:flex}.dashboard-slide{flex-direction:column;flex:0 0 100%;width:100%;min-width:100%;min-height:349px;padding:20px 18px 18px;display:flex}.dashboard-slide h2{margin-bottom:13px;font-size:19px}.daily-energy{grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);align-items:center;gap:5px;margin:0 auto 13px;display:grid}.daily-energy__side{text-align:center;min-width:0}.daily-energy__side strong,.daily-energy__side span{display:block}.daily-energy__side strong{letter-spacing:-.04em;font-size:16px}.daily-energy__side span{color:var(--muted);margin-top:3px;font-size:8px}.energy-ring{background:conic-gradient(from 210deg, var(--accent) 0 var(--ring-progress), var(--surface-3) var(--ring-progress) 83.5%, transparent 83.5% 100%);width:132px;height:132px;filter:drop-shadow(0 0 var(--halo-blur) rgba(255, 122, 61, var(--halo-opacity)));border-radius:50%;place-items:center;transition:filter .22s;display:grid;position:relative;transform:rotate(0)}.energy-ring:after{background:var(--bg);content:"";border-radius:50%;width:106px;height:106px;position:absolute}.energy-ring>span{z-index:1;text-align:center;position:relative}.energy-ring strong,.energy-ring small{display:block}.energy-ring strong{letter-spacing:-.055em;font-size:27px}.energy-ring small{color:var(--muted);margin-top:2px;font-size:8px}.dashboard-macros{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 1px 14px;display:grid}.dashboard-macros>div{min-width:0}.dashboard-macros__extras{grid-column:1/-1;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:10px;display:grid}.dashboard-macros span,.dashboard-macros strong{text-align:center;display:block}.dashboard-macros span{color:var(--muted);font-size:8px}.dashboard-macros i{background:var(--surface-3);border-radius:8px;height:4px;margin:6px 0 5px;display:block;overflow:hidden}.dashboard-macros b{border-radius:inherit;height:100%;display:block}.dashboard-macros strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.dashboard-toggle{background:var(--surface-2);border-radius:100px;align-self:center;padding:3px;display:flex}.dashboard-toggle button{min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:100px;padding:0 15px;font-size:9px;font-weight:750}.dashboard-toggle button.is-active{background:var(--text);color:var(--bg)}.dashboard-carousel__dots{border-top:1px solid var(--line);background:var(--bg-deep);justify-content:center;align-items:center;gap:7px;height:33px;display:flex}.dashboard-carousel__dots button{background:var(--surface-3);border:0;border-radius:50%;width:6px;height:6px;padding:0}.dashboard-carousel__dots button.is-active{background:var(--accent);width:8px;height:8px}.weekly-nutrition-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:4px;display:grid}.weekly-slide-heading{justify-content:space-between;align-items:end;display:flex}.weekly-slide-heading h2{margin:0}.weekly-slide-heading>div>span,.weekly-slide-heading>span{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-size:7px;font-weight:750}.weekly-chart-legend{color:var(--muted);align-items:center;gap:9px;margin-top:8px;font-size:7px;display:flex}.weekly-chart-legend span{align-items:center;gap:4px;display:inline-flex}.weekly-chart-legend i{border-radius:50%;width:5px;height:5px}.weekly-nutrition-grid>button{min-width:0;height:202px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:14px;flex-direction:column;justify-content:end;align-items:center;padding:8px 3px 7px;display:flex}.weekly-nutrition-grid>button.is-selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 7%, transparent);color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent)}.weekly-nutrition-grid__bars{grid-template-rows:repeat(4,1fr);gap:5px;width:100%;height:145px;margin-bottom:7px;display:grid}.weekly-nutrition-grid__bars i{background:var(--surface-3);border-radius:4px;display:block;position:relative;overflow:hidden}.weekly-nutrition-grid__bars b{border-radius:inherit;min-height:2px;position:absolute;bottom:0;left:0;right:0}.weekly-nutrition-grid>button strong{color:currentColor;font-size:10px}.weekly-nutrition-grid>button small{color:var(--muted);margin-top:2px;font-size:7px}.weekly-day-summary{background:var(--surface);border-radius:14px;grid-template-columns:1.45fr repeat(3,1fr);align-items:center;gap:6px;margin-top:12px;padding:10px 11px;display:grid}.weekly-day-summary>div strong,.weekly-day-summary>div small{display:inline}.weekly-day-summary>div strong{font-size:15px}.weekly-day-summary>div em{color:var(--muted);font-size:8px;font-style:normal;font-weight:650}.weekly-day-summary>div small,.weekly-day-summary>span{color:var(--muted);font-size:8px}.weekly-day-summary>div small{margin-left:3px}.weekly-day-summary>span{text-align:center}.weekly-day-summary>span b{color:var(--text);font-size:10px}.weekly-note{color:var(--muted);text-align:center;margin-top:8px;font-size:8px}.energy-chart{grid-template-columns:repeat(7,1fr);align-items:end;gap:9px;height:164px;margin:7px 9px 12px;padding-top:9px;display:grid;position:relative}.energy-chart>div{z-index:1;grid-template-rows:1fr 15px;align-items:end;height:100%;display:grid;position:relative}.energy-chart>div>i{height:100%;display:block;position:relative}.energy-chart>div>i b{background:linear-gradient(180deg, var(--accent-soft), var(--accent));border-radius:5px 5px 2px 2px;min-height:3px;position:absolute;bottom:0;left:0;right:0}.energy-chart>div>i.is-empty b{min-height:0}.energy-chart>div small{color:var(--muted);text-align:center;font-size:8px}.energy-chart__target{z-index:2;border-top:2px dashed var(--amber);pointer-events:none;height:2px;position:absolute;left:0;right:0}.energy-chart__target small{color:var(--amber);font-size:7px;font-weight:750;position:absolute;top:-15px;right:0}.energy-equation{background:var(--surface);border-radius:14px;grid-template-columns:repeat(3,1fr);align-items:center;gap:0;padding:10px 8px;display:grid}.energy-equation span{text-align:center;padding:0 6px}.energy-equation span+span{border-left:1px solid var(--line)}.energy-equation span strong,.energy-equation span small{display:block}.energy-equation span strong{font-size:13px}.energy-equation span small{color:var(--muted);margin-top:3px;font-size:7px}.dashboard-insights{margin-top:25px}.dashboard-section-title{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.dashboard-section-title .eyebrow{margin-bottom:4px}.dashboard-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.dashboard-insight-card{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:150px;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:18px;padding:14px;transition:border-color .15s,background .15s,transform .15s;overflow:hidden}.dashboard-insight-card:active{transform:scale(.985)}.dashboard-insight-card:focus-visible{border-color:var(--accent);outline:2px solid color-mix(in srgb, var(--accent) 42%, transparent);outline-offset:2px}.dashboard-insight-grid p{margin-bottom:3px;font-size:13px;font-weight:760}.dashboard-insight-grid .dashboard-insight-card>small,.dashboard-insight-grid .dashboard-insight-card>span{color:var(--muted);font-size:7px;display:block}.dashboard-insight-grid .dashboard-insight-card>strong{letter-spacing:-.03em;margin:8px 0 2px;font-size:14px;display:block}.calibration-grid,.weight-bars{align-items:end;gap:5px;height:42px;margin-top:8px;display:flex}.calibration-grid i{background:var(--surface-3);border-radius:3px;flex:1;height:8px}.calibration-grid i.is-filled{background:var(--accent)}.weight-bars i{background:var(--cyan);border-radius:3px 3px 1px 1px;flex:1;min-width:5px}.weight-bars i.is-empty{background:var(--surface-3);height:3px}.mini-bars{align-items:end;gap:5px;height:42px;margin-top:8px;display:flex}.mini-bars i{background:var(--accent);border-radius:3px 3px 1px 1px;flex:1;min-height:3px}.habit-grid{grid-template-rows:repeat(2,1fr);grid-template-columns:repeat(7,1fr);gap:4px;height:42px;margin-top:8px;display:grid}.habit-grid i{background:var(--surface-3);border-radius:3px}.habit-grid i.is-filled{background:var(--accent)}.dashboard-log-action{background:var(--accent);color:#170b05;box-shadow:0 12px 32px color-mix(in srgb, var(--accent) 16%, transparent);margin-top:8px}.bottom-nav{z-index:30;border-top:1px solid var(--line);background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-template-columns:1fr 1fr 58px 1fr 1fr;align-items:center;height:82px;padding:6px 12px 14px;display:grid;position:absolute;bottom:0;left:0;right:0}.bottom-nav>button{min-width:0;min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:8px;font-weight:750;display:flex}.bottom-nav>button.is-active{color:var(--text)}.bottom-nav__capture{width:48px;height:48px;box-shadow:0 8px 22px color-mix(in srgb, var(--accent) 32%, transparent);margin:0 auto;transform:translateY(-8px);background:var(--accent)!important;color:#fff!important;border-radius:16px!important;min-height:48px!important}.phone-shell.is-black-glass-dashboard{--bg:#050506;--bg-deep:#020203;--surface:#0c0c0f;--surface-2:#111115;--surface-3:#1a1a20;--line:#ffffff0f;--line-strong:#ffffff1c;--text:#f5f1ed;--muted:#88848a;--soft:#c9c3be;background:radial-gradient(circle at 50% 36%,#b2380914,#0000 37%),#050506}.is-black-glass-dashboard .screen--ledger{background:radial-gradient(circle at 50% 23%,#ff5d160d,#0000 31%),linear-gradient(#050506 0%,#070708 72%,#040405 100%)}.is-black-glass-dashboard .dashboard-masthead{margin-bottom:22px}.is-black-glass-dashboard .dashboard-masthead p{color:#cdc5be8c;letter-spacing:.13em}.is-black-glass-dashboard .dashboard-masthead h1{color:#f5f1ed;text-shadow:0 10px 32px #00000075}.is-black-glass-dashboard .dashboard-masthead .avatar-button{background:linear-gradient(145deg,#16161aeb,#070709e0);border-color:#ffffff1c;box-shadow:inset 0 1px #ffffff0d,0 14px 28px #00000057}.is-black-glass-dashboard .dashboard-carousel{isolation:isolate;background:linear-gradient(150deg,#121215f5,#070709fa 56%,#0d0908fa);border:1px solid #ffffff14;border-radius:24px;width:auto;margin:0 10px;position:relative;box-shadow:inset 0 1px #ffffff0a,inset 0 -1px #ff662224,0 26px 55px #00000054}.is-black-glass-dashboard .dashboard-carousel:before{z-index:-1;content:"";filter:blur(12px);pointer-events:none;background:radial-gradient(circle,#ff631c29,#822b0a0d 39%,#0000 70%);border-radius:50%;width:285px;height:285px;position:absolute;top:56px;left:50%;transform:translate(-50%)}.is-black-glass-dashboard .dashboard-carousel__track{z-index:1;position:relative}.is-black-glass-dashboard .dashboard-slide{min-height:374px;padding:22px 18px 19px}.is-black-glass-dashboard .dashboard-slide h2{color:#eee9e5;letter-spacing:-.045em;margin-bottom:16px;font-size:20px}.is-black-glass-dashboard .daily-energy{grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr);margin-bottom:17px;position:relative}.is-black-glass-dashboard .daily-energy:before{z-index:-1;content:"";pointer-events:none;background:repeating-radial-gradient(circle,#0000 0 37px,#ff75310a 38px,#0000 39px 49px);border-radius:50%;width:238px;height:238px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.is-black-glass-dashboard .daily-energy:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#ff6521a8,#0000);height:1px;position:absolute;bottom:-9px;left:24%;right:24%;box-shadow:0 0 12px #ff59148a}.is-black-glass-dashboard .daily-energy__side strong{color:#f2ede9;font-size:17px}.is-black-glass-dashboard .daily-energy__side span{color:#bfb7b38a;font-size:8px}.is-black-glass-dashboard .energy-ring{background:conic-gradient(from 210deg, #ff762f 0 var(--ring-progress), #1c1b20 var(--ring-progress) 83.5%, transparent 83.5% 100%);width:140px;height:140px;filter:drop-shadow(0 0 var(--halo-blur) rgba(255, 101, 38, var(--halo-opacity)));box-shadow:0 0 0 1px #ff84421a,0 0 38px #ff571133}.is-black-glass-dashboard .energy-ring:after{background:radial-gradient(circle at 50% 42%,#151416f5,#050506 73%);width:112px;height:112px;box-shadow:inset 0 1px #ffffff08,0 0 0 1px #0000007a}.is-black-glass-dashboard .energy-ring strong{color:#f8f3ef;font-size:29px}.is-black-glass-dashboard .energy-ring small{color:#c5bdb985}.is-black-glass-dashboard .dashboard-macros{gap:12px;margin-bottom:17px}.is-black-glass-dashboard .dashboard-macros span{color:#beb7b48f}.is-black-glass-dashboard .dashboard-macros i{background:#ffffff12;height:3px;margin-top:7px;box-shadow:inset 0 1px 1px #0000008c}.is-black-glass-dashboard .dashboard-macros strong{color:#eee9e5}.is-black-glass-dashboard .dashboard-toggle{background:linear-gradient(#0d0d10f5,#070709fa);border:1px solid #ffffff14;padding:3px;box-shadow:inset 0 1px #ffffff08,0 9px 20px #00000047}.is-black-glass-dashboard .dashboard-toggle button{color:#aea8a88f;min-width:92px}.is-black-glass-dashboard .dashboard-toggle button.is-active{color:#f3eeea;background:radial-gradient(circle at 50% 100%,#ff672426,#0000 65%),linear-gradient(#151417,#0b0b0d);border:1px solid #ff6d2b6b;box-shadow:inset 0 1px #ffffff0a,0 0 18px #ff4d0c21}.is-black-glass-dashboard .dashboard-carousel__dots{background:#030304bd;border-top-color:#ffffff0d}.is-black-glass-dashboard .dashboard-carousel__dots button{background:#ffffff17}.is-black-glass-dashboard .dashboard-carousel__dots button.is-active{background:#ff762f;box-shadow:0 0 12px #ff601b94}.is-black-glass-dashboard .dashboard-slide--weekly{padding:20px 20px 16px}.is-black-glass-dashboard .weekly-slide-heading{align-items:center}.is-black-glass-dashboard .weekly-slide-heading>div>span{color:#c4bcb775;letter-spacing:.16em;margin-bottom:3px;display:block}.is-black-glass-dashboard .weekly-slide-heading h2{margin:0;font-size:21px}.is-black-glass-dashboard .weekly-slide-heading>span{color:#d5cdc794;letter-spacing:.08em;background:#ffffff08;border:1px solid #ffffff12;border-radius:999px;padding:6px 8px}.is-black-glass-dashboard .weekly-chart-legend{color:#beb6b280;gap:10px;margin-top:12px}.is-black-glass-dashboard .weekly-chart-legend i{box-shadow:0 0 8px}.is-black-glass-dashboard .weekly-nutrition-grid{gap:4px;margin-top:12px}.is-black-glass-dashboard .weekly-nutrition-grid>button{background:0 0;border:0;border-radius:12px;justify-content:end;height:158px;padding:8px 3px 7px;transition:background .16s,transform .16s;position:relative}.is-black-glass-dashboard .weekly-nutrition-grid>button:after{content:"";background:0 0;border-radius:2px;height:1px;position:absolute;bottom:0;left:7px;right:7px}.is-black-glass-dashboard .weekly-nutrition-grid>button.is-selected{color:#f4efeb;background:linear-gradient(#ff712d12,#ff712d05),#ffffff05;border:0;transform:translateY(-2px);box-shadow:inset 0 1px #ffffff0a}.is-black-glass-dashboard .weekly-nutrition-grid>button.is-selected:after{background:#ff762f;box-shadow:0 0 10px #ff5d16b8}.is-black-glass-dashboard .weekly-nutrition-grid__bars{background:#ffffff04;border-radius:9px;grid-template-rows:none;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:3px;width:100%;height:116px;margin-bottom:7px;padding:7px 4px;display:grid}.is-black-glass-dashboard .weekly-nutrition-grid__bars i{background:#ffffff0e;border-radius:999px;box-shadow:inset 0 1px 2px #0000008c}.is-black-glass-dashboard .weekly-nutrition-grid__bars b{opacity:.92;border-radius:999px;min-height:2px}.is-black-glass-dashboard .weekly-nutrition-grid>button.is-selected .weekly-nutrition-grid__bars{background:#ff743008}.is-black-glass-dashboard .weekly-nutrition-grid>button strong{color:#ebe5e1c7;font-size:9px}.is-black-glass-dashboard .weekly-nutrition-grid>button small{color:#b2aba96b;font-size:7px}.is-black-glass-dashboard .weekly-day-summary{background:linear-gradient(120deg,#ff6f2b0d,#0000 38%),#ffffff06;border:1px solid #ffffff0f;border-radius:14px;grid-template-columns:1.35fr repeat(3,1fr);gap:2px;margin-top:12px;padding:10px 11px;box-shadow:inset 0 1px #ffffff08}.is-black-glass-dashboard .weekly-day-summary>div,.is-black-glass-dashboard .weekly-day-summary>span{flex-direction:column;min-width:0;display:flex}.is-black-glass-dashboard .weekly-day-summary>div{border-right:1px solid #ffffff0f;padding-right:8px}.is-black-glass-dashboard .weekly-day-summary>div small,.is-black-glass-dashboard .weekly-day-summary>span small{color:#bab2ae70;letter-spacing:.08em;text-transform:uppercase;margin:0 0 3px;font-size:6px;font-weight:750}.is-black-glass-dashboard .weekly-day-summary>div strong{color:#f5f0ec;white-space:nowrap;font-size:15px}.is-black-glass-dashboard .weekly-day-summary>div em{color:#c1b9b575;font-size:7px}.is-black-glass-dashboard .weekly-day-summary>span{text-align:center;justify-content:center;align-items:center}.is-black-glass-dashboard .weekly-day-summary>span b{color:#ebe5e1;font-size:10px}.is-black-glass-dashboard .dashboard-slide--weekly .weekly-note{color:#b7afac66;letter-spacing:.02em;margin-top:auto;padding-top:9px}.is-black-glass-dashboard .dashboard-slide--balance{padding:20px 20px 16px}.is-black-glass-dashboard .energy-slide-heading{justify-content:space-between;align-items:center;display:flex}.is-black-glass-dashboard .energy-slide-heading>div>span{color:#c4bcb775;letter-spacing:.16em;text-transform:uppercase;margin-bottom:3px;font-size:7px;font-weight:750;display:block}.is-black-glass-dashboard .energy-slide-heading h2{margin:0;font-size:21px}.is-black-glass-dashboard .energy-slide-heading>span{color:#d5cdc799;letter-spacing:.07em;text-transform:uppercase;background:#ffffff08;border:1px solid #ffffff12;border-radius:999px;padding:6px 8px;font-size:7px;font-weight:750}.is-black-glass-dashboard .energy-slide-heading>span.is-under{color:#83c9e9;border-color:#4eb3de2b}.is-black-glass-dashboard .energy-slide-heading>span.is-over{color:#ff8a5f;border-color:#ff703e33}.is-black-glass-dashboard .energy-chart{background:repeating-linear-gradient(#0000 0 38px,#ffffff06 39px 40px),linear-gradient(#ffffff05,#0000);border:1px solid #ffffff0a;border-radius:14px;gap:7px;height:174px;margin:12px 0;padding:19px 8px 0}.is-black-glass-dashboard .energy-chart>div{grid-template-rows:1fr 18px}.is-black-glass-dashboard .energy-chart>div>i b{background:linear-gradient(#ffad78 0%,#ff7137 52%,#ff5727 100%);border-radius:6px 6px 3px 3px;width:19px;left:50%;right:auto;transform:translate(-50%);box-shadow:0 0 16px #ff56182e}.is-black-glass-dashboard .energy-chart>div.is-selected>i b{width:23px;box-shadow:0 0 18px #ff56184a}.is-black-glass-dashboard .energy-chart>div>i.is-empty:after{content:"";background:#ffffff21;border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px;left:50%;transform:translate(-50%)}.is-black-glass-dashboard .energy-chart>div small{color:#b4aca86b;align-self:end;font-size:7px;font-weight:700}.is-black-glass-dashboard .energy-chart>div.is-selected small{color:#eee8e3}.is-black-glass-dashboard .energy-chart__target{border-top:1px dashed #ffb26494;height:1px;left:8px;right:8px}.is-black-glass-dashboard .energy-chart__target small{color:#ffc180b8;letter-spacing:.05em;background:#111013;border:1px solid #ffb05b1c;border-radius:999px;padding:2px 5px;font-size:6px;top:-17px}.is-black-glass-dashboard .energy-equation{background:linear-gradient(120deg,#ff6f2b0a,#0000 45%),#ffffff06;border:1px solid #ffffff0f;border-radius:14px;padding:10px 5px;box-shadow:inset 0 1px #ffffff08}.is-black-glass-dashboard .energy-equation span{padding:0 7px}.is-black-glass-dashboard .energy-equation span+span{border-left-color:#ffffff0f}.is-black-glass-dashboard .energy-equation span small{color:#bab2ae70;letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;font-size:6px;font-weight:750}.is-black-glass-dashboard .energy-equation span strong{color:#f1ece8;font-size:14px}.is-black-glass-dashboard .energy-equation span.is-under strong{color:#83c9e9}.is-black-glass-dashboard .energy-equation span.is-over strong{color:#ff8a5f}.is-black-glass-dashboard .dashboard-slide--balance .weekly-note{color:#b7afac66;margin-top:auto;padding-top:9px}.is-black-glass-dashboard .dashboard-insights{margin-top:30px}.is-black-glass-dashboard .dashboard-section-title .eyebrow{color:#c5bebc7a;letter-spacing:.17em}.is-black-glass-dashboard .dashboard-section-title h2{color:#f0ebe7;font-size:22px}.is-black-glass-dashboard .dashboard-section-title .icon-button{color:#eee9e5;background:linear-gradient(145deg,#111114,#08080a);border:1px solid #ffffff12;box-shadow:0 12px 26px #0000004d}.is-black-glass-dashboard .dashboard-insight-grid{gap:12px}.is-black-glass-dashboard .dashboard-insight-card{background:radial-gradient(circle at 70% 110%,#ff5f190d,#0000 48%),linear-gradient(145deg,#111114f5,#08080afc);border-color:#ffffff12;position:relative;box-shadow:inset 0 1px #ffffff08,0 18px 34px #0000003d}.is-black-glass-dashboard .dashboard-insight-card:after{content:"";background:linear-gradient(90deg,#0000,#ff672447,#0000);height:1px;position:absolute;bottom:0;left:18%;right:18%}.is-black-glass-dashboard .dashboard-insight-card:active{background:radial-gradient(circle at 70% 110%,#ff5f1917,#0000 48%),linear-gradient(145deg,#121216,#09090b);border-color:#ff703333}.is-black-glass-dashboard .dashboard-insight-grid p,.is-black-glass-dashboard .dashboard-insight-grid .dashboard-insight-card>strong{color:#eee9e5}.is-black-glass-dashboard .calibration-grid i,.is-black-glass-dashboard .weight-bars i,.is-black-glass-dashboard .mini-bars i,.is-black-glass-dashboard .habit-grid i{box-shadow:0 0 12px #ffffff05}.is-black-glass-dashboard .bottom-nav{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#040405e8;border-top-color:#ffffff12;box-shadow:0 -14px 34px #0000004d}.is-black-glass-dashboard .bottom-nav>button.is-active{color:#f4efeb}.is-black-glass-dashboard .bottom-nav__capture{position:relative;box-shadow:inset 0 1px #ffffff14,0 0 22px #ff4e0c38,0 12px 26px #0006;color:#fff0e8!important;background:radial-gradient(circle at 50% 58%,#ff6a2761,#0000 56%),linear-gradient(145deg,#1d1512,#0a090a)!important;border:1px solid #ff76376b!important}.is-black-glass-dashboard .bottom-nav__capture:after{content:"";background:#ff762f;border-radius:100%;height:2px;position:absolute;bottom:-5px;left:8px;right:8px;box-shadow:0 0 12px #ff5b19}.prototype-controls{z-index:100;align-items:center;gap:8px;display:flex;position:fixed;top:14px;left:50%;transform:translate(-50%)}.direction-switch{border:1px solid var(--line-strong);background:var(--surface);border-radius:14px;padding:4px;display:flex;box-shadow:0 12px 32px #0000002e}.direction-switch button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;padding:0 14px;font-size:11px;font-weight:800}.direction-switch button.is-active{background:var(--text);color:var(--bg)}.theme-button{border:1px solid var(--line-strong);background:var(--surface);width:42px;height:42px;color:var(--text);box-shadow:0 12px 32px #0000002e}.prototype-note{color:var(--muted);text-align:center;margin-top:18px;font-size:11px}.overlay,.full-overlay{z-index:60;width:100%;max-width:100%;position:absolute;inset:0;overflow-x:hidden}.overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#00000094;align-items:flex-end;display:flex}.bottom-sheet{border-top:1px solid var(--line-strong);background:var(--surface);border-radius:28px 28px 0 0;width:100%;max-height:82%;padding:8px 16px 24px;animation:.22s ease-out sheet-in;overflow-y:auto;box-shadow:0 -22px 60px #00000059}@keyframes sheet-in{0%{opacity:0;transform:translateY(20%)}to{opacity:1;transform:translateY(0)}}.sheet-handle{background:var(--surface-3);border-radius:4px;width:38px;height:4px;margin:0 auto 18px}.sheet-heading{align-items:center}.sheet-heading .icon-button{width:38px;height:38px}.shortcuts-sheet{padding-right:0;padding-bottom:calc(18px + env(safe-area-inset-bottom));padding-left:0}.shortcuts-sheet .sheet-handle{margin-bottom:9px}.shortcuts-heading{border-bottom:1px solid var(--line);text-align:center;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 16px 13px;display:grid}.shortcuts-heading .icon-button{width:44px;height:44px}.shortcuts-heading h2{font-size:19px}.shortcuts-heading .eyebrow{margin-bottom:2px;font-size:8px}.capture-destination{color:var(--muted);text-align:center;margin:12px 16px 0;font-size:11px;display:block}.shortcut-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:18px 12px;display:grid}.shortcut-actions button{min-width:0;min-height:78px;color:var(--text);cursor:pointer;background:0 0;border:0;align-content:start;justify-items:center;gap:8px;padding:0 2px;display:grid}.shortcut-actions button>span{border:1px solid var(--line-strong);background:var(--surface-2);width:50px;height:50px;color:var(--accent-soft);border-radius:50%;place-items:center;display:grid}.shortcut-actions button:active>span{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 16%, var(--surface-2))}.shortcut-actions strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;overflow:hidden}.shortcut-list{border-top:1px solid var(--line)}.shortcut-list>button{border:0;border-bottom:1px solid var(--line);width:100%;min-height:64px;color:var(--text);text-align:left;cursor:pointer;background:0 0;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:10px 16px;display:grid}.shortcut-list>button>span{background:var(--surface-2);width:38px;height:38px;color:var(--accent-soft);border-radius:12px;place-items:center;display:grid}.shortcut-list>button>div{gap:3px;display:grid}.shortcut-list strong{font-size:13px}.shortcut-list small{color:var(--muted);font-size:10px}.shortcut-list>button>svg{color:var(--muted)}.shortcut-copy{color:var(--soft);margin:2px 0 16px;font-size:12px;line-height:1.55}.selected-food-actions-sheet{padding-bottom:calc(22px + env(safe-area-inset-bottom))}.selected-food-action-list{gap:10px;display:grid}.selected-food-action-list>button{border:1px solid var(--line);background:var(--surface-2);min-height:72px;color:var(--text);text-align:left;cursor:pointer;border-radius:16px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 12px;display:grid}.selected-food-action-list>button>span{background:color-mix(in srgb, var(--accent) 12%, var(--surface-3));width:42px;height:42px;color:var(--accent-soft);border-radius:13px;place-items:center;display:grid}.selected-food-action-list>button>div{gap:4px;min-width:0;display:grid}.selected-food-action-list strong{font-size:12px}.selected-food-action-list small{color:var(--muted);font-size:9px;line-height:1.4}.selected-food-action-list>button>svg{color:var(--muted)}.shortcut-field,.describe-input{gap:8px;display:grid}.shortcut-field>span,.describe-input>span{color:var(--soft);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.shortcut-field>span small{color:var(--muted);letter-spacing:0;text-transform:none;font-size:9px;font-weight:650}.shortcut-field input,.describe-input textarea{border:1px solid var(--line-strong);background:var(--surface-2);width:100%;min-height:52px;color:var(--text);font:inherit;border-radius:15px;outline:none;padding:0 14px}.describe-input textarea{resize:none;min-height:112px;padding-top:14px;line-height:1.45}.shortcut-field input:focus,.describe-input textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent)}.quick-add-sheet,.describe-sheet,.barcode-sheet,.edit-day-sheet{padding-bottom:calc(22px + env(safe-area-inset-bottom))}.quick-add-sheet .shortcut-field{margin-top:16px}.macro-entry-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin:9px 0 18px;display:grid}.macro-entry-grid .shortcut-field{margin-top:0}.macro-entry-grid .shortcut-field--calories{grid-column:1/-1}.macro-entry-grid input{min-width:0}.describe-input,.barcode-sheet .shortcut-field{margin-bottom:18px}.describe-sheet{max-height:min(760px,100dvh - 22px);overflow-y:auto}.describe-status{color:var(--soft);margin:-5px 2px 14px;font-size:11px;line-height:1.45}.describe-status--error{color:#ffad9a}.describe-match-list{gap:8px;margin:-2px 0 16px;display:grid}.describe-match-list article{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:66px;padding:10px 11px;display:grid}.describe-match-list article.needs-review{border-color:color-mix(in srgb, var(--accent) 48%, var(--line));background:color-mix(in srgb, var(--accent) 7%, var(--surface-2))}.describe-match-list article>span:nth-child(2){gap:2px;min-width:0;display:grid}.describe-match-list small,.describe-match-list em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-style:normal;line-height:1.35;overflow:hidden}.describe-match-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25;overflow:hidden}.describe-match-list article>button{border:1px solid color-mix(in srgb, var(--accent) 55%, var(--line));background:color-mix(in srgb, var(--accent) 10%, var(--surface-3));min-width:58px;min-height:40px;color:var(--accent-soft);border-radius:12px;padding:0 10px;font-size:10px;font-weight:800}.barcode-illustration{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--line));background:color-mix(in srgb, var(--accent) 9%, var(--surface-2));width:94px;height:82px;color:var(--accent);border-radius:22px;place-items:center;margin:5px auto 15px;display:grid;position:relative}.barcode-illustration span{background:var(--accent);height:1px;box-shadow:0 0 9px var(--accent);position:absolute;bottom:19px;left:14px;right:14px}.barcode-scanner{background:#08090b;flex-direction:column;display:flex;overflow:hidden}.barcode-scanner__header{z-index:3;padding:calc(12px + env(safe-area-inset-top)) 14px 12px;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;display:grid;position:relative}.barcode-scanner__header .icon-button{background:var(--surface-2);width:44px;height:44px}.barcode-scanner__header .eyebrow,.barcode-scanner__header h1{margin:0}.barcode-scanner__header .eyebrow{margin-bottom:2px}.barcode-scanner__header h1{font-size:16px}.barcode-camera{background:radial-gradient(circle,#24282d,#090a0c 70%);flex:auto;min-height:160px;position:relative;overflow:hidden}.barcode-camera video{object-fit:cover;width:100%;height:100%}.barcode-camera__shade{pointer-events:none;background:linear-gradient(#00000047,#0000 25% 75%,#0000005c);position:absolute;inset:0}.barcode-camera__target{pointer-events:none;border:2px solid #ffffffe0;border-radius:22px;width:min(82%,350px);height:132px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 999px #00000045,0 0 28px #00000059}.barcode-camera__target:before,.barcode-camera__target:after{background:var(--accent);width:42px;height:2px;box-shadow:0 132px 0 var(--accent);content:"";position:absolute;top:-2px}.barcode-camera__target:before{left:20px}.barcode-camera__target:after{right:20px}.barcode-camera__target span{background:var(--accent);height:1px;box-shadow:0 0 12px var(--accent);position:absolute;top:50%;left:16px;right:16px}.barcode-camera__busy{color:#fff;background:#08090bbd;justify-content:center;align-items:center;gap:9px;font-size:12px;font-weight:800;display:flex;position:absolute;inset:0}.barcode-camera__busy svg{animation:.9s linear infinite sync-spin}.barcode-scanner__controls{z-index:2;overscroll-behavior:contain;min-height:0;max-height:min(46dvh,330px);padding:17px 16px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg);flex:0 auto;gap:10px;display:grid;position:relative;overflow-y:auto}.barcode-scanner__instruction{color:var(--text);text-align:center;margin:0;font-size:13px;font-weight:780;line-height:1.4}.barcode-scanner__controls .shortcut-status{text-align:center;margin:-2px 0 2px}.barcode-scanner__controls>small{color:var(--muted);text-align:center;font-size:9px;line-height:1.4}.barcode-manual{width:100%;max-width:430px;min-height:0;padding:28px 16px calc(24px + env(safe-area-inset-bottom));overscroll-behavior:contain;scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom));flex:1;align-content:start;gap:13px;margin:0 auto;display:grid;overflow-y:auto}.barcode-manual h2,.barcode-manual .shortcut-copy,.barcode-manual .barcode-illustration,.barcode-manual .shortcut-status{margin-top:0;margin-bottom:0}.barcode-manual h2{text-align:center;margin-bottom:5px;font-size:19px}@media (height<=650px){.barcode-camera{min-height:110px}.barcode-scanner__controls{gap:7px;max-height:52dvh;padding-top:11px}.barcode-scanner__controls>small{display:none}}.shortcut-status{color:var(--soft);margin:-5px 0 15px;font-size:11px;line-height:1.45}.shortcut-status--error,.shortcut-status--empty{color:#ff9b88}.edit-day-list{gap:8px;margin-top:14px;display:grid}.edit-day-list article{align-items:stretch;gap:8px;display:flex}.edit-day-list button{border:1px solid var(--line);background:var(--surface-2);min-height:58px;color:var(--text);cursor:pointer;border-radius:16px}.edit-day-list__meal{text-align:left;flex:1;justify-content:space-between;align-items:center;min-width:0;padding:10px 13px;display:flex}.edit-day-list__meal span{gap:4px;display:grid}.edit-day-list__meal strong{font-size:13px}.edit-day-list__meal small{color:var(--muted);font-size:10px}.edit-day-list article>button:last-child:not(.edit-day-list__meal){color:#ff9b88;place-items:center;gap:2px;width:76px;font-size:9px;font-weight:800;display:grid}.edit-day-list article>button.is-confirming{background:#ff6f851f;border-color:#ff6f85}.full-overlay{background:var(--bg);animation:.15s ease-out fade-in;overflow-y:auto}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.search-header{z-index:2;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);grid-template-columns:40px 1fr 40px;align-items:center;gap:8px;padding:42px 12px 11px;display:grid;position:sticky;top:0}.search-header .icon-button{width:40px;height:40px}.search-field{border:1px solid var(--line-strong);background:var(--surface);border-radius:14px;align-items:center;gap:8px;height:42px;padding:0 12px;display:flex}.search-field svg{color:var(--muted)}.search-field input{width:100%;color:var(--text);background:0 0;border:0;outline:0;font-size:16px}.search-field input::placeholder{color:var(--muted)}.search-field input::-webkit-search-cancel-button{display:none}.search-content{padding:18px 14px 100px}.search-content h2{margin-bottom:11px}.quick-food-row{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.quick-food-row button{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:103px;color:var(--text);text-align:left;cursor:pointer;border-radius:15px;padding:9px 7px}.quick-food-row .food-glyph{border-radius:10px;width:32px;height:32px;font-size:18px}.quick-food-row strong{height:27px;margin-top:7px;font-size:9px;line-height:1.3;display:block;overflow:hidden}.quick-food-row small{color:var(--muted);font-size:7px}.food-glyph{background:color-mix(in srgb, var(--accent) 13%, var(--surface-2));width:38px;height:38px;color:var(--accent-soft);border-radius:13px;flex:none;place-items:center;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:20px;font-weight:400;line-height:1;display:grid}.food-glyph--cyan{background:color-mix(in srgb, var(--cyan) 13%, var(--surface-2));color:var(--cyan)}.food-glyph--accent{background:color-mix(in srgb, var(--accent) 13%, var(--surface-2));color:var(--accent-soft)}.food-glyph--amber{background:color-mix(in srgb, var(--amber) 13%, var(--surface-2));color:var(--amber)}.food-glyph--rose{background:color-mix(in srgb, var(--rose) 13%, var(--surface-2));color:var(--rose)}.food-glyph--small{border-radius:11px;width:34px;height:34px}.food-glyph--large{border-radius:18px;width:58px;height:58px;margin-bottom:20px;font-size:30px}.search-divider{background:var(--line);height:1px;margin:18px -14px}.food-results{border:1px solid var(--line);background:var(--surface);border-radius:20px;overflow:hidden}.food-results>button{border:0;border-bottom:1px solid var(--line);width:100%;min-height:68px;color:var(--text);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:11px;padding:9px 11px;display:flex}.food-results>button:last-child{border-bottom:0}.food-result__copy{flex:1;min-width:0}.food-result__copy strong,.food-result__copy small,.food-result__copy>span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.food-result__copy strong{margin-bottom:4px;font-size:11px}.food-result__copy small{color:var(--muted);margin-bottom:5px;font-size:8px}.food-result__copy>span{color:var(--soft);font-size:8px}.food-results svg{color:var(--muted)}.search-status{color:var(--muted);margin:-5px 0 11px;font-size:9px}.search-status--error{color:var(--amber)}.search-status button{color:var(--accent);font:inherit;text-underline-offset:3px;background:0 0;border:0;margin-left:8px;padding:0;font-weight:800;text-decoration:underline}.food-picker{flex-direction:column;display:flex;overflow:hidden}.food-picker-header{z-index:2;padding:calc(12px + env(safe-area-inset-top)) 14px 12px;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);grid-template-columns:42px 1fr auto;align-items:center;gap:10px;display:grid}.food-picker-header .icon-button{background:var(--surface-2);width:42px;height:42px}.food-picker-header .eyebrow{margin:0 0 2px}.food-picker-header h1{margin:0;font-size:15px}.food-picker-header__time{border:1px solid var(--line);background:var(--surface);color:var(--soft);border-radius:999px;padding:8px 10px;font-size:9px;font-weight:800}.food-picker .search-content{padding:16px 0 calc(86px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.library-screen{background:var(--bg);flex-direction:column;display:flex;overflow:hidden}.library-screen>main{overscroll-behavior:contain;padding:16px 0 calc(28px + env(safe-area-inset-bottom));scrollbar-width:none;flex:1;overflow-y:auto}.library-screen>main::-webkit-scrollbar{display:none}.library-create-card{border:1px solid color-mix(in srgb, var(--accent) 24%, var(--line));background:linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface));border-radius:20px;margin:0 16px 22px;padding:15px}.library-create-card>div:first-child{margin-bottom:12px}.library-create-card h2{font-size:15px}.library-create-card>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.library-create-card button{border:1px solid color-mix(in srgb, var(--accent) 34%, var(--line));background:color-mix(in srgb, var(--accent) 10%, var(--surface-2));min-width:0;min-height:58px;color:var(--accent-soft);text-align:left;cursor:pointer;border-radius:15px;align-items:center;gap:10px;padding:10px 11px;display:flex}.library-create-card button>span{min-width:0}.library-create-card button strong,.library-create-card button small{display:block}.library-create-card button strong{font-size:10px}.library-create-card button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:7px;overflow:hidden}.library-section{margin-bottom:22px}.library-section__heading{justify-content:space-between;align-items:flex-end;gap:12px;margin:0 16px 10px;display:flex}.library-section__heading .eyebrow{margin-bottom:2px}.library-section__heading h2{font-size:15px}.library-section__heading>strong{background:var(--surface-2);min-width:26px;height:26px;color:var(--muted);border-radius:999px;place-items:center;font-size:9px;display:grid}.library-empty{border:1px dashed var(--line-strong);color:var(--muted);border-radius:16px;margin:0 16px;padding:16px;font-size:9px;line-height:1.5}.library-screen .food-picker-list{border-bottom:1px solid var(--line)}@media (width<=350px){.library-create-card>div:last-child{grid-template-columns:1fr}}.food-picker-section{margin-bottom:18px}.food-picker-section>h2{margin:0 16px 10px;font-size:14px}.food-results__empty>button{border:1px solid color-mix(in srgb, var(--accent) 38%, var(--line));background:color-mix(in srgb, var(--accent) 10%, var(--surface-2));min-height:34px;color:var(--accent-soft);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:0 11px;font-size:9px;font-weight:800;display:inline-flex}.recent-meal-list{scrollbar-width:none;gap:10px;padding:0 16px 4px;display:flex;overflow-x:auto}.recent-meal-list::-webkit-scrollbar{display:none}.recent-meal-list>button{border:1px solid color-mix(in srgb, var(--accent) 22%, var(--line));background:linear-gradient(145deg, color-mix(in srgb, var(--accent) 9%, var(--surface-2)), var(--surface));width:min(82vw,284px);min-height:86px;color:var(--text);text-align:left;cursor:pointer;border-radius:17px;flex:0 0 min(82vw,284px);align-items:center;gap:11px;padding:12px;display:flex}.saved-meal-list{gap:9px;padding:0 16px;display:grid}.saved-meal-row{border:1px solid color-mix(in srgb, var(--accent) 28%, var(--line));background:linear-gradient(145deg, color-mix(in srgb, var(--accent) 11%, var(--surface-2)), var(--surface));border-radius:17px;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;display:grid;overflow:hidden}.saved-meal-row__add{min-width:0;min-height:88px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:12px;display:flex}.saved-meal-row__delete{border:0;border-left:1px solid var(--line);background:color-mix(in srgb, var(--surface-2) 92%, transparent);width:44px;min-height:44px;color:var(--muted);cursor:pointer;align-self:stretch;place-items:center;display:grid}.saved-meal-row__delete:focus-visible,.saved-meal-row__add:focus-visible{outline:2px solid var(--accent-soft);outline-offset:-2px}.recent-meal-glyphs{flex:0 0 52px;width:52px;height:46px;position:relative}.recent-meal-glyphs i{border:2px solid var(--surface);background:var(--surface-3);border-radius:12px;place-items:center;width:34px;height:34px;font-size:18px;font-style:normal;display:grid;position:absolute;top:5px}.recent-meal-glyphs i:nth-child(2){top:0;left:15px}.recent-meal-glyphs i:nth-child(3){top:10px;left:22px}.recent-meal-copy{flex:1;min-width:0}.recent-meal-copy strong,.recent-meal-copy small,.recent-meal-copy em{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.recent-meal-copy strong{margin-bottom:5px;font-size:10px}.recent-meal-copy small{color:var(--soft);font-size:8px}.recent-meal-copy em{color:var(--muted);margin-top:4px;font-size:7px;font-style:normal}.recent-meal-add{background:var(--accent);color:#fff;border-radius:50%;flex:0 0 32px;place-items:center;width:32px;height:32px;display:grid}.favorite-food-strip{scrollbar-width:none;gap:12px;padding:0 16px 5px;display:flex;overflow-x:auto}.favorite-food-strip::-webkit-scrollbar{display:none}.favorite-food-strip button{width:61px;color:var(--text);text-align:center;cursor:pointer;background:0 0;border:0;flex:0 0 61px;padding:0}.favorite-food-strip__glyph{width:46px;height:42px;margin:0 auto 6px;display:block;position:relative}.favorite-food-strip .food-glyph{border-radius:13px;width:42px;height:42px;font-size:23px}.favorite-food-strip__add{border:2px solid var(--bg);background:var(--surface-3);width:23px;height:23px;color:var(--text);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-3px;right:-4px}.favorite-food-strip strong{height:24px;font-size:8px;font-weight:700;line-height:1.45;display:block;overflow:hidden}.food-picker-list{border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface) 52%, transparent)}.food-picker-row{border:0;border-bottom:1px solid var(--line);width:100%;min-height:72px;color:var(--text);text-align:left;background:0 0;align-items:center;gap:0;padding:0;display:flex}.food-picker-row__main{min-width:0;min-height:72px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:11px;padding:9px 10px 9px 15px;display:flex}.food-picker-row__add{background:var(--surface-3);width:34px;height:34px;color:var(--text);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;margin-right:15px;padding:0;display:grid}.food-picker-row__actions{flex:none;align-items:center;gap:6px;margin-right:15px;display:flex}.food-picker-row__actions .food-picker-row__add{margin-right:0}.food-picker-row__edit{border:1px solid var(--line);width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;padding:0;display:grid}.food-picker-row .food-result__copy strong{margin-bottom:2px;font-size:10px;line-height:1.25}.food-picker-row .food-result__copy small{margin-bottom:4px;font-size:7px}.food-picker-row .food-result__copy>span{font-size:7.5px}.food-picker-row .food-result__copy em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:7px;font-style:normal;display:block;overflow:hidden}.food-search-dock{z-index:4;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:absolute;bottom:0;left:0;right:0}.food-search-dock .search-field{background:var(--surface-2);border-radius:16px;height:46px}.food-search-dock .search-field>button{background:var(--surface-3);width:26px;height:26px;color:var(--muted);border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.food-picker.has-plate .search-content{padding-bottom:calc(158px + env(safe-area-inset-bottom))}.plate-dock{border:1px solid color-mix(in srgb, var(--accent) 42%, var(--line));background:color-mix(in srgb, var(--accent) 8%, var(--surface));border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:8px;display:grid;box-shadow:0 12px 34px #00000052}.food-search-dock .plate-dock{margin-bottom:8px}.plate-dock__summary{min-width:0;min-height:46px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:0 4px;display:grid}.plate-dock__summary>span:last-child,.plate-dock__summary strong,.plate-dock__summary small{min-width:0;display:block}.plate-dock__summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.plate-dock__summary small{color:var(--soft);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:7.5px;overflow:hidden}.plate-dock__glyphs{min-width:31px;display:flex}.plate-dock__glyphs i{border:2px solid var(--surface);background:var(--surface-3);border-radius:10px;place-items:center;width:28px;height:28px;margin-right:-12px;font-size:15px;font-style:normal;display:grid}.plate-dock__glyphs i:last-child{margin-right:0}.plate-dock__log{background:var(--accent);color:#fff;min-width:82px;min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:13px;padding:0 12px;font-size:9px;font-weight:850}.plate-dock--library{margin:8px 12px calc(10px + env(safe-area-inset-bottom));flex:none}.plate-dock--global{z-index:32;right:12px;bottom:calc(90px + env(safe-area-inset-bottom));position:absolute;left:12px}.phone-shell.has-plate .screen{padding-bottom:calc(172px + env(safe-area-inset-bottom))}.phone-shell.has-plate .food-log-screen{padding-bottom:calc(238px + env(safe-area-inset-bottom))}.plate-screen{background:var(--bg);flex-direction:column;display:flex}.plate-header>strong{background:color-mix(in srgb, var(--accent) 14%, var(--surface-2));width:32px;height:32px;color:var(--accent-soft);border-radius:50%;place-items:center;font-size:10px;display:grid}.plate-screen>main{overscroll-behavior:contain;flex:1;padding:16px 14px 28px;overflow-y:auto}.plate-total-card{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--line));background:linear-gradient(145deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface));border-radius:22px;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,.65fr));align-items:center;gap:8px;padding:18px;display:grid}.plate-total-card>div strong,.plate-total-card>div span{display:block}.plate-total-card>div strong{font-size:27px;line-height:1}.plate-total-card>div span,.plate-total-card>span{color:var(--soft);font-size:8px;font-weight:800}.plate-total-card>span b{color:var(--text);margin-bottom:2px;font-size:13px;display:block}.plate-destination{border:1px solid var(--line);background:var(--surface);border-radius:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:14px;padding:15px;display:grid}.plate-destination>div{grid-column:1/-1}.plate-destination h2,.plate-section-heading h2{font-size:14px}.plate-destination label span{color:var(--muted);margin-bottom:6px;font-size:8px;font-weight:800;display:block}.plate-destination input,.plate-destination select{border:1px solid var(--line);background:var(--surface-2);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:12px;padding:0 10px;font-size:10px}.plate-items{margin-top:22px}.plate-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.plate-section-heading>button{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--line));background:color-mix(in srgb, var(--accent) 9%, var(--surface-2));min-height:40px;color:var(--accent-soft);font:inherit;border-radius:12px;align-items:center;gap:5px;padding:0 11px;font-size:8px;font-weight:850;display:inline-flex}.plate-items article{border:1px solid var(--line);background:var(--surface);border-radius:17px;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;margin-bottom:9px;display:grid;overflow:hidden}.plate-item__main{min-width:0;min-height:74px;color:var(--text);text-align:left;background:0 0;border:0;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 8px 10px 11px;display:grid}.plate-item__main>span:nth-child(2),.plate-item__main strong,.plate-item__main small,.plate-item__main em{min-width:0;display:block}.plate-item__main strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.plate-item__main small,.plate-item__main em{color:var(--soft);margin-top:3px;font-size:7.5px;font-style:normal}.plate-item__main>svg{color:var(--muted)}.plate-item__remove{border:0;border-left:1px solid var(--line);background:var(--surface-2);min-width:44px;color:var(--rose);place-items:center;display:grid}.plate-action-bar{padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);flex:none;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:9px;display:grid;box-shadow:0 -12px 32px #0003}.plate-action-bar button{border-radius:15px;min-height:52px}.plate-action-bar .primary-action{background:var(--accent);color:#fff}.plate-clear{border:1px solid var(--line);background:var(--surface-2);color:var(--soft);font:inherit;font-size:10px;font-weight:800}.food-typeahead{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 96%, transparent);border-radius:15px;margin-bottom:7px;overflow:hidden;box-shadow:0 12px 30px #0003}.food-typeahead>button{border:0;border-bottom:1px solid var(--line);width:100%;min-height:42px;color:var(--text);text-align:left;cursor:pointer;background:0 0;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:5px 10px;display:grid}.food-typeahead>button:last-child{border-bottom:0}.food-typeahead .food-glyph{border-radius:10px;width:34px;height:34px;font-size:18px}.food-typeahead>button>span:nth-child(2){min-width:0}.food-typeahead strong,.food-typeahead small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.food-typeahead strong{font-size:10px}.food-typeahead small{color:var(--muted);margin-top:2px;font-size:7px}.food-typeahead svg{color:var(--muted)}.food-results__empty{min-height:150px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.food-results__empty strong,.food-results__empty small{display:block}.food-results__empty>button{margin-top:14px}.food-results__empty strong{color:var(--text);margin:12px 0 5px;font-size:12px}.food-results__empty small{max-width:180px;font-size:9px;line-height:1.4}.scanner-screen{color:#fff;background:linear-gradient(#0707097a,#070709d6),radial-gradient(circle at 40% 30%,#5b5f66,#191b1d 55%,#050506);overflow:hidden}.scanner-header{text-align:center;grid-template-columns:44px 1fr 44px;align-items:center;padding:42px 15px 0;display:grid}.icon-button--glass{color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff21}.scanner-frame{width:250px;height:190px;margin:130px auto 25px;position:relative}.scanner-frame i{background:#ff6f85;height:1px;animation:2s ease-in-out infinite scan;position:absolute;top:50%;left:8px;right:8px;box-shadow:0 0 12px #ff6f85}@keyframes scan{0%,to{transform:translateY(-70px)}50%{transform:translateY(70px)}}.scanner-corner{border-style:solid;border-color:#fff;width:34px;height:34px;position:absolute}.scanner-corner--tl{border-width:3px 0 0 3px;border-radius:12px 0 0;top:0;left:0}.scanner-corner--tr{border-width:3px 3px 0 0;border-radius:0 12px 0 0;top:0;right:0}.scanner-corner--bl{border-width:0 0 3px 3px;border-radius:0 0 0 12px;bottom:0;left:0}.scanner-corner--br{border-width:0 3px 3px 0;border-radius:0 0 12px;bottom:0;right:0}.scanner-screen>p{color:#ffffffb8;text-align:center;padding:0 40px;font-size:11px}.scanner-demo{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff38;border-radius:14px;min-height:46px;margin:25px auto;padding:0 17px;font-size:10px;font-weight:750;display:block}.serving-screen{background:radial-gradient(circle at 90% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 15rem), var(--bg);flex-direction:column;display:flex;overflow:hidden}.custom-food-screen{background:radial-gradient(circle at 12% 7%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 15rem), var(--bg);flex-direction:column;display:flex;overflow:hidden}.custom-food-header{padding:calc(16px + env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);flex:none}.custom-food-header>span{width:40px}.custom-food-header .eyebrow{margin:0 0 2px}.custom-food-header h1{margin:0;font-size:16px}.custom-food-screen>main{overscroll-behavior:contain;flex:1;min-height:0;padding:18px 16px 24px;overflow-y:auto}.custom-food-intro{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;margin-bottom:14px;display:grid}.custom-food-intro h2{margin:0 0 4px;font-size:17px}.custom-food-intro p{color:var(--muted);margin:0;font-size:9px;line-height:1.45}.custom-food-fields{gap:13px;margin-bottom:12px;display:grid}.custom-serving-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:9px;display:grid}.custom-number-field{border:1px solid var(--line-strong);background:var(--surface-2);border-radius:15px;align-items:center;display:flex}.custom-number-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent)}.custom-number-field input{background:0 0;border:0;min-width:0;box-shadow:none!important}.custom-number-field strong{color:var(--muted);padding-right:14px;font-size:11px}.custom-food-macros{margin:0}.custom-food-macros .shortcut-field--fiber{grid-column:1/-1}.custom-food-warning,.custom-food-help,.custom-food-history-note{color:var(--muted);margin:0;font-size:9px;line-height:1.5}.custom-food-warning{border:1px solid color-mix(in srgb, #f4b35e 36%, var(--line));background:color-mix(in srgb, #f4b35e 8%, var(--surface));color:#e7bd83;border-radius:12px;align-items:flex-start;gap:7px;padding:10px;display:flex}.custom-food-warning svg{flex:none}.custom-food-history-note{text-align:center;padding:0 4px}.custom-food-actions{padding:11px 16px calc(11px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex:none;gap:9px;display:flex}.custom-food-actions .destructive-action{flex:none}.custom-food-actions button{min-height:46px}.custom-food-actions .primary-action{flex:1}.recipe-screen{background:radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 15rem), var(--bg);flex-direction:column;display:flex;overflow:hidden}.recipe-header{padding:calc(16px + env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);flex:none}.recipe-header>span{width:40px}.recipe-header .eyebrow{margin:0 0 2px}.recipe-header h1{margin:0;font-size:16px}.recipe-screen>main{overscroll-behavior:contain;flex:1;min-height:0;padding:18px 16px 24px;overflow-y:auto}.recipe-hero{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:14px;display:grid}.recipe-hero>span{background:color-mix(in srgb, var(--accent) 15%, var(--surface-2));width:48px;height:48px;color:var(--accent-soft);border-radius:15px;place-items:center;display:grid}.recipe-hero h2{margin:0 0 4px;font-size:17px}.recipe-hero p,.recipe-portions-card>p,.recipe-portion-preview{color:var(--muted);margin:0;font-size:9px;line-height:1.5}.recipe-name-card,.recipe-ingredients-card,.recipe-portions-card{margin-bottom:12px}.recipe-ingredients-card .detail-card__heading>strong{background:var(--surface-3);min-width:30px;height:30px;color:var(--soft);border-radius:50%;place-items:center;font-size:10px;display:grid}.recipe-ingredient-list{border-top:1px solid var(--line);margin:12px -13px 0;display:grid}.recipe-ingredient-list>button{border:0;border-bottom:1px solid var(--line);min-height:66px;color:var(--text);text-align:left;cursor:pointer;background:0 0;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 13px;display:grid}.recipe-ingredient-list .food-glyph{border-radius:12px;width:40px;height:40px;font-size:21px}.recipe-ingredient-list strong,.recipe-ingredient-list small{display:block}.recipe-ingredient-list strong{margin-bottom:4px;font-size:10px}.recipe-ingredient-list small{color:var(--muted);font-size:8px}.recipe-ingredient-list svg{color:var(--muted)}.recipe-empty{min-height:112px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.recipe-empty strong{color:var(--text);margin:9px 0 4px;font-size:11px}.recipe-empty small{max-width:210px;font-size:8px;line-height:1.45}.recipe-add-actions{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px;display:grid}.recipe-add-actions button{min-height:44px}.recipe-portions-card>p{margin:8px 0 13px}.recipe-portion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.recipe-portion-preview{background:color-mix(in srgb, var(--accent) 8%, var(--surface-2));color:var(--soft);border-radius:11px;margin-top:11px;padding:9px 10px}.recipe-errors{margin:0 4px 12px}.recipe-actions{padding:11px 16px calc(11px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex:none;gap:9px;display:flex}.recipe-actions button{min-height:46px}.recipe-actions .primary-action{flex:1}.custom-food-help strong{color:var(--soft);margin-bottom:3px;display:block}.custom-food-help ul{margin:0;padding-left:16px}.custom-food-help li+li{margin-top:2px}.serving-header{padding:calc(16px + env(safe-area-inset-top)) 16px 0;flex:none}.serving-header .icon-button{background:var(--surface-2);width:44px;height:44px;color:var(--text)}.serving-header .eyebrow{margin:0}.favorite-button{border:1px solid var(--line);background:var(--surface-2);width:44px;height:44px;color:var(--muted);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid}.favorite-button.is-active{border-color:color-mix(in srgb, var(--accent) 45%, var(--line));color:var(--accent)}.serving-screen>main{overscroll-behavior:contain;scrollbar-width:none;flex-direction:column;flex:1;min-height:0;padding:24px 16px 20px;display:flex;overflow-y:auto}.serving-screen>main::-webkit-scrollbar{display:none}.food-detail-hero{grid-template-columns:auto 1fr;align-items:center;gap:14px;margin-bottom:14px;display:grid}.food-detail-hero h1{max-width:290px;font-size:22px;line-height:1.08}.food-detail-hero .eyebrow{margin-bottom:5px}.food-detail-hero>div>small{color:var(--muted);margin-top:6px;font-size:8px;line-height:1.3;display:block}.nutrition-hero{border:1px solid color-mix(in srgb, var(--accent) 20%, var(--line));background:linear-gradient(145deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface) 58%);border-radius:20px;padding:15px}.nutrition-hero__top{justify-content:space-between;align-items:center;gap:12px;display:flex}.nutrition-hero__amount{max-width:150px;color:var(--muted);text-align:right;font-size:8px;font-weight:750;line-height:1.3}.serving-energy{align-items:baseline;gap:7px;display:flex}.serving-energy strong{letter-spacing:-.07em;font-size:38px}.serving-energy span{color:var(--muted);font-size:12px;font-weight:700}.serving-macros{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;display:grid}.serving-macros>div{border:1px solid color-mix(in srgb, var(--line) 80%, transparent);background:color-mix(in srgb, var(--surface-2) 72%, transparent);border-radius:14px;padding:9px 10px;position:relative}.serving-macros>div>span{border-radius:4px;width:14px;height:3px;margin-bottom:7px;display:block}.serving-macros strong,.serving-macros small{display:block}.serving-macros strong{margin-bottom:3px;font-size:13px}.serving-macros small{color:var(--muted);font-size:8px}.compact-target-impact{border-top:1px solid var(--line);margin-top:12px;padding-top:11px}.compact-target-impact>p{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px;font-size:8px;font-weight:750}.compact-target-impact>div{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.compact-target-impact>div>span{grid-template-columns:1fr auto;align-items:center;gap:4px;display:grid}.compact-target-impact small{color:var(--muted);font-size:7px}.compact-target-impact strong{font-size:7px}.compact-target-impact i{background:var(--surface-3);border-radius:999px;grid-column:1/-1;height:3px;overflow:hidden}.compact-target-impact i b{border-radius:inherit;height:100%;display:block}.serving-controls{margin-top:14px}.recipe-explode-card{border-color:color-mix(in srgb, var(--accent) 26%, var(--line));grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;margin-top:14px;padding:13px;display:grid}.recipe-explode-card>span{background:color-mix(in srgb, var(--accent) 13%, var(--surface-2));width:38px;height:38px;color:var(--accent);border-radius:12px;place-items:center;display:grid}.recipe-explode-card h2{margin-bottom:3px;font-size:11px;line-height:1.2}.recipe-explode-card p{color:var(--muted);font-size:8px;line-height:1.35}.recipe-explode-card>button{border:1px solid color-mix(in srgb, var(--accent) 46%, var(--line));background:color-mix(in srgb, var(--accent) 12%, var(--surface-2));min-height:42px;color:var(--accent);white-space:nowrap;cursor:pointer;border-radius:12px;padding:0 12px;font-size:9px;font-weight:850}@media (width<=350px){.recipe-explode-card{grid-template-columns:34px minmax(0,1fr)}.recipe-explode-card>span{width:34px;height:34px}.recipe-explode-card>button{grid-column:1/-1;width:100%}}.detail-card{border:1px solid var(--line);background:var(--surface);border-radius:21px;padding:17px}.detail-card__heading{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:15px;display:flex}.detail-card__heading .eyebrow{margin-bottom:4px}.detail-card__heading h2{font-size:17px}.detail-card__heading>strong{color:var(--accent-soft);font-size:12px}.product-information{margin-top:14px;padding:0}.product-information summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:14px 17px;list-style:none;display:flex}.product-information summary::-webkit-details-marker{display:none}.product-information summary span,.product-information summary small,.product-information summary strong{display:block}.product-information summary small{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin-bottom:3px;font-size:7px;font-weight:800}.product-information summary strong{font-size:13px}.product-information summary svg{color:var(--muted);transition:transform .16s}.product-information[open] summary svg{transform:rotate(180deg)}.product-information__rows{padding:0 17px 14px}.product-information__rows>div{border-top:1px solid var(--line);grid-template-columns:76px minmax(0,1fr);gap:10px;padding:8px 0;font-size:9px;display:grid}.product-information__rows span{color:var(--muted)}.product-information__rows strong{overflow-wrap:anywhere;text-align:right}.logging-quantity-field{border:1px solid var(--line-strong);background:color-mix(in srgb, var(--surface-2) 86%, var(--text));min-height:64px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--text) 28%, transparent);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;display:grid}.logging-quantity-field label{align-content:center;min-width:0;padding:7px 12px;display:grid}.logging-quantity-field label span{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;font-size:7px;font-weight:800}.logging-quantity-field input{width:100%;min-width:0;color:var(--text);text-align:left;background:0 0;border:0;outline:0;padding:0;font-size:23px;font-weight:800}.logging-quantity-field>button{border:0;border-left:1px solid var(--line-strong);min-width:0;color:var(--text);cursor:pointer;background:0 0;align-items:center;gap:5px;padding:0 11px;display:flex}.logging-quantity-field>button small{color:var(--muted);font-size:9px}.logging-quantity-field>button strong{text-overflow:ellipsis;white-space:nowrap;max-width:76px;font-size:10px;overflow:hidden}.portion-shortcuts{grid-template-columns:repeat(4,1fr);gap:7px;margin-top:10px;display:grid}.portion-shortcuts button{border:1px solid var(--line);background:var(--surface-2);min-width:0;min-height:44px;color:var(--muted);cursor:pointer;border-radius:12px;padding:0 6px;font-size:9px;font-weight:800}.portion-shortcuts button.is-active{border-color:var(--text);background:var(--text);color:var(--bg)}.logging-keypad{grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px;display:grid}.logging-keypad button{border:1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);background:color-mix(in srgb, var(--surface-2) 78%, var(--text));min-height:44px;color:var(--text);cursor:pointer;border-radius:8px;padding:0;font-size:16px;font-weight:650}.logging-keypad button:active{background:color-mix(in srgb, var(--accent) 16%, var(--surface-2))}.logging-keypad__backspace{background:var(--surface-3)!important}.logging-clear{min-height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;margin:5px auto -6px;padding:0 8px;font-size:8px;font-weight:750;display:block}.usual-amount-action{border:1px solid color-mix(in srgb, var(--accent) 38%, var(--line));background:color-mix(in srgb, var(--accent) 9%, var(--surface-2));min-height:32px;color:var(--accent-soft);font:inherit;cursor:pointer;border-radius:999px;padding:0 10px;font-size:8px;font-weight:800}.usual-amount-action:disabled{border-color:var(--line);color:var(--muted);cursor:default;opacity:.7}.serving-action-bar{z-index:8;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);flex:none;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:9px;display:grid;position:relative;box-shadow:0 -12px 32px #0003}.serving-action-bar .primary-action,.serving-action-bar .secondary-action,.serving-action-bar .destructive-action{border-radius:15px;min-width:0;min-height:52px;font-size:11px}.serving-action-bar .primary-action{background:var(--accent);color:#fff}.serving-action-bar button:disabled{cursor:not-allowed;opacity:.38}.portion-status{color:var(--muted);margin:10px 2px 0;font-size:9px}.portion-status--error{color:var(--amber)}.nutrient-breakdown{margin-top:14px}.nutrient-breakdown .nutrient-rows{padding:0 17px 14px}.nutrient-breakdown .compact-target-impact{margin:0 17px 14px}.impact-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.impact-grid>div{justify-items:center;gap:7px;display:grid}.impact-grid small{color:var(--muted);font-size:8px}.impact-ring{--ring-color:var(--accent);background:conic-gradient(var(--ring-color) var(--impact), var(--surface-3) 0);border-radius:50%;place-items:center;width:54px;height:54px;display:grid;position:relative}.impact-ring:before{border-radius:inherit;background:var(--surface);content:"";width:44px;height:44px;position:absolute}.impact-ring strong{z-index:1;font-size:10px;position:relative}.impact-ring--cyan{--ring-color:var(--cyan)}.impact-ring--orange,.impact-ring--accent{--ring-color:var(--accent)}.impact-ring--lime{--ring-color:var(--lime)}.impact-ring--amber{--ring-color:var(--amber)}.impact-ring--rose{--ring-color:var(--rose)}.nutrient-rows{gap:0;display:grid}.nutrient-rows>div{border-top:1px solid var(--line);min-height:38px;color:var(--soft);justify-content:space-between;align-items:center;font-size:11px;display:flex}.nutrient-rows>div:first-child{border-top:0}.nutrient-rows strong{color:var(--text);font-size:11px}.portion-picker-backdrop{z-index:90;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000b3;align-items:flex-end;display:flex;position:absolute;inset:0}.portion-picker{width:100%;max-height:76%;padding:10px 16px calc(18px + env(safe-area-inset-bottom));border:1px solid var(--line-strong);background:var(--surface);border-bottom:0;border-radius:26px 26px 0 0;overflow:hidden;box-shadow:0 -24px 70px #0000007a}.portion-picker__heading{justify-content:space-between;align-items:center;margin:8px 0 14px;display:flex}.portion-picker__heading .icon-button{background:var(--surface-3);width:38px;height:38px;color:var(--text)}.portion-list{max-height:min(430px,58vh);overflow-y:auto}.portion-list button{border:0;border-top:1px solid var(--line);width:100%;min-height:58px;color:var(--text);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;padding:10px 4px;display:flex}.portion-list button.is-active{color:var(--accent-soft)}.portion-list strong,.portion-list small{display:block}.portion-list strong{margin-bottom:4px;font-size:12px}.portion-list small{color:var(--muted);font-size:9px}.secondary-action{border:1px solid var(--line-strong);background:var(--surface-2);color:var(--text)}.destructive-action{border:1px solid color-mix(in srgb, var(--rose) 35%, var(--line));background:color-mix(in srgb, var(--rose) 9%, var(--surface-2));min-height:52px;color:var(--rose);cursor:pointer;border-radius:16px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:850;display:inline-flex}.meal-tray{padding-bottom:22px}.tray-summary{grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:16px;display:grid}.tray-summary>div{background:var(--surface-2);text-align:center;border-radius:13px;padding:11px 5px}.tray-summary strong,.tray-summary small{display:block}.tray-summary strong{margin-bottom:4px;font-size:12px}.tray-summary small{color:var(--muted);font-size:7px}.tray-items{border:1px solid var(--line);border-radius:17px;margin-bottom:14px;overflow:hidden}.tray-items article{background:var(--surface-2);align-items:center;gap:10px;min-height:65px;padding:10px 11px;display:flex}.tray-items article>div{flex:1;min-width:0}.tray-items article>div strong,.tray-items article>div small{display:block}.tray-items article>div strong{margin-bottom:4px;font-size:10px}.tray-items article>div small{color:var(--muted);font-size:8px}.tray-items article>strong{font-size:11px}.primary-action--wide{width:100%}.subpage-header{gap:10px}.subpage-header>div{flex:1}.subpage-header .icon-button{width:40px;height:40px}.subpage-header h1{font-size:25px}.food-log-header{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;display:grid}.food-log-header>.icon-button{background:0 0;width:44px;height:44px}.food-log-header__spacer{width:44px;height:44px}.food-log-header__date{grid-template-columns:44px minmax(0,1fr) 44px;place-items:center;min-width:0;display:grid}.food-log-header__date>button{width:44px;height:44px;color:var(--soft);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.food-log-header__date>button:active{background:var(--surface-2);color:var(--text)}.food-log-header__date>div{text-align:center;min-width:0}.food-log-header__date h1{text-overflow:ellipsis;white-space:nowrap;font-size:23px;line-height:1.05;overflow:hidden}.food-log-header__date p{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-top:4px;font-size:9px;font-weight:750}.log-date-strip{border:1px solid var(--line);background:var(--surface);border-radius:18px;margin:14px 0 10px;padding:10px 12px}.food-log-screen{padding-bottom:212px}.log-macro-summary{z-index:4;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 -16px;padding:13px 16px 15px;display:grid;position:sticky;top:0}.log-macro-summary>div{min-width:0}.log-macro-summary span{color:var(--soft);text-overflow:ellipsis;white-space:nowrap;margin-bottom:7px;font-size:9px;font-weight:750;display:block;overflow:hidden}.log-macro-summary b{color:var(--text);font-size:9px}.log-macro-summary i{background:var(--surface-3);border-radius:4px;height:5px;display:block;overflow:hidden}.log-macro-summary em{border-radius:inherit;min-width:3px;height:100%;display:block}.sticky-log-summary{z-index:4;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);grid-template-columns:100px 1fr;align-items:center;gap:14px;margin:0 -16px;padding:12px 16px;display:grid;position:sticky;top:0}.sticky-log-summary strong,.sticky-log-summary small{display:block}.sticky-log-summary strong{font-size:20px}.sticky-log-summary small{color:var(--muted);font-size:8px}.log-summary-bars{gap:5px;display:grid}.log-summary-bars span{background:var(--surface-3);border-radius:3px;height:3px;overflow:hidden}.timeline{padding-top:8px}.hour-builder{padding-top:4px}.timeline-group{margin-top:20px}.hour-builder .timeline-group{min-height:58px;margin:0 -16px;padding:9px 16px;position:relative}.hour-builder .timeline-group:before{background:var(--line);content:"";width:1px;position:absolute;top:0;bottom:0;left:43px}.hour-builder .timeline-group.has-foods{padding-top:11px;padding-bottom:11px}.timeline-group__heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.timeline-group__heading button{background:var(--surface-2);width:44px;height:44px;color:var(--text);cursor:pointer;border:0;border-radius:11px;place-items:center;display:grid}.hour-heading{align-items:center;gap:7px;display:flex}.hour-heading>strong{border:1px solid var(--line);background:var(--surface-2);letter-spacing:-.01em;border-radius:16px;place-items:center;min-width:50px;min-height:32px;padding:0 9px;font-size:10px;display:grid}.hour-heading>button{background:var(--surface-2);border-radius:50%;width:34px;height:34px}.hour-heading>.hour-select-action{border:1px solid color-mix(in srgb, var(--line) 72%, transparent);width:auto;min-width:48px;height:44px;color:var(--soft);border-radius:22px;padding:0 9px;font-size:9px;font-weight:800}.hour-heading>.hour-select-action:disabled{cursor:not-allowed;opacity:.35}.hour-heading>.hour-select-action.is-selected{border-color:color-mix(in srgb, var(--accent) 58%, var(--line));background:color-mix(in srgb, var(--accent) 11%, var(--surface-2));color:var(--accent-soft)}.hour-heading>.hour-copy-target{border:1px solid color-mix(in srgb, var(--accent) 62%, var(--line));background:color-mix(in srgb, var(--accent) 14%, var(--surface-2));width:44px;height:44px;color:var(--accent-soft);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 7%, transparent)}.hour-heading>.hour-copy-target:disabled{cursor:wait;opacity:.5}.hour-summary{justify-content:flex-end;align-items:center;min-height:34px;display:flex}.hour-summary>span{text-align:right;align-items:baseline;gap:9px;display:flex}.hour-summary>span strong{font-size:12px}.hour-summary>span small{color:var(--muted);font-size:11px;font-weight:700}.meal-food-list{gap:7px;display:grid}.hour-builder .meal-food-list{margin:2px 0 0 53px;position:relative}.meal-food-list__time{width:44px;color:var(--soft);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:650;position:absolute;top:15px;right:calc(100% + 9px);overflow:hidden}.timeline-card{border:1px solid var(--line);background:var(--surface);border-radius:17px;align-items:center;gap:11px;min-height:72px;padding:12px;display:flex}.food-log-row{width:100%;min-height:68px;color:var(--text);font:inherit;text-align:left;border-color:color-mix(in srgb, var(--line) 76%, transparent);background:var(--surface);border-radius:15px}.food-log-row:not(.food-log-row--select){gap:4px;padding:7px 7px 7px 11px}.food-log-row__select{min-width:0;min-height:58px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:auto;align-items:center;gap:11px;padding:0;display:flex}.swipe-food-row{background:color-mix(in srgb, #f14f54 78%, var(--surface));border-radius:15px;position:relative;overflow:hidden}.swipe-food-row__content{z-index:1;border-radius:inherit;touch-action:pan-y;transition:transform .18s;position:relative}.swipe-food-row__content.is-dragging{transition:none}.swipe-food-row__remove{z-index:0;color:#fff;width:82px;font:inherit;cursor:pointer;background:0 0;border:0;place-content:center;gap:4px;font-size:10px;font-weight:800;display:grid;position:absolute;top:0;bottom:0;right:0}.swipe-food-row__remove svg{margin:0 auto}.food-log-row__select:active,.food-log-row--select:active{border-color:color-mix(in srgb, var(--accent) 52%, var(--line));background:color-mix(in srgb, var(--accent) 7%, var(--surface))}.food-log-row--select{touch-action:manipulation;position:relative}.food-log-row--select.is-selected{border-color:color-mix(in srgb, var(--accent) 72%, var(--line));background:color-mix(in srgb, var(--accent) 9%, var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent)}.food-selection-check{border:1px solid var(--line-strong);background:var(--surface-2);color:#fff;border-radius:8px;flex:none;place-items:center;width:25px;height:25px;transition:border-color .15s,background .15s,transform .15s;display:grid}.food-selection-check.is-selected{border-color:var(--accent);background:var(--accent);transform:scale(1.04)}.timeline-card>div,.food-log-row__select>div{flex:1;min-width:0}.timeline-card>div strong,.timeline-card>div small,.food-log-row__select>div strong,.food-log-row__select>div small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.timeline-card>div strong,.food-log-row__select>div strong{margin-bottom:4px;font-size:13px;font-weight:700}.food-log-row>div>strong,.food-log-row__select>div>strong{text-overflow:ellipsis;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2;display:-webkit-box;overflow:hidden}.timeline-card>div small,.food-log-row__select>div small{color:var(--muted);font-size:10px}.food-log-row__select>div small,.food-log-row--select>div small{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3;display:-webkit-box}.food-log-row__serving{white-space:nowrap;display:inline-block}.food-log-row>div em,.food-log-row__select>div em{color:var(--soft);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:10px;font-style:normal;display:block;overflow:hidden}.food-log-row__edit{background:color-mix(in srgb, var(--surface-2) 78%, transparent);width:44px;height:44px;color:var(--soft);border:0;border-radius:50%;flex:none;place-items:center;display:grid}.food-log-row .food-glyph--small{border-radius:13px;width:40px;height:40px;font-size:22px}.capture-bar--sticky{z-index:5;right:16px;bottom:calc(82px + env(safe-area-inset-bottom));border-radius:20px;width:auto;min-height:58px;position:absolute;left:16px;box-shadow:0 15px 35px #00000047}.copy-selection-bar{z-index:6;right:0;bottom:calc(82px + env(safe-area-inset-bottom));border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);align-items:center;gap:7px;min-height:70px;padding:8px 10px;animation:.18s cubic-bezier(.22,.72,.25,1) selection-dock-in;display:flex;position:absolute;left:0;box-shadow:0 -12px 28px #0000003d}@keyframes selection-dock-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.phone-shell.has-sync-failure .capture-bar--sticky,.phone-shell.has-sync-failure .copy-selection-bar{bottom:calc(162px + env(safe-area-inset-bottom))}.copy-selection-bar__summary{flex:none;min-width:54px}.copy-selection-bar__summary strong,.copy-selection-bar__summary small{display:block}.copy-selection-bar__summary strong{white-space:nowrap;margin-bottom:3px;font-size:12px}.copy-selection-bar__summary small{color:var(--muted);white-space:nowrap;font-size:9px}.copy-selection-bar button,.copy-destination-date{background:var(--surface-2);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:7px;font-size:11px;font-weight:850;display:inline-flex}.copy-selection-bar button:disabled{cursor:not-allowed;opacity:.38}.copy-selection-bar>.copy-selection-bar__back{background:var(--text);width:44px;min-width:44px;color:var(--bg);border:0;border-radius:50%;padding:0}.selection-destination-actions{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex:auto;gap:5px;min-width:0;padding:2px 1px;display:flex;overflow-x:auto}.selection-destination-actions::-webkit-scrollbar{display:none}.selection-destination-actions .copy-selection-bar__primary,.selection-destination-actions .copy-selection-bar__move,.selection-destination-actions .copy-selection-bar__remove,.selection-destination-actions .copy-selection-bar__more{border:1px solid var(--line);background:var(--surface-2);min-width:max-content;color:var(--soft);flex:none;gap:5px;padding:0 10px;font-size:10px}.selection-destination-actions .copy-selection-bar__move,.selection-destination-actions .copy-selection-bar__more{border:1px solid var(--line);background:var(--surface-2);color:var(--soft)}.selection-destination-actions .copy-selection-bar__more{padding-right:14px}.selection-destination-actions .copy-selection-bar__remove{border-color:color-mix(in srgb, var(--rose) 35%, var(--line));background:color-mix(in srgb, var(--rose) 9%, var(--surface-2));color:#ffd8df}.copy-selection-bar.is-destination-mode{gap:6px}.copy-selection-bar.is-destination-mode .copy-selection-bar__summary{flex:none}.move-destination-hint{min-width:0;color:var(--soft);text-align:center;flex:1;font-size:9px;font-weight:750}.copy-destination-actions{scrollbar-width:none;flex:auto;gap:4px;min-width:0;display:flex;overflow-x:auto}.copy-destination-actions::-webkit-scrollbar{display:none}.copy-destination-actions>button,.copy-destination-date{border:1px solid var(--line);background:var(--surface-2);min-width:50px;color:var(--soft);white-space:nowrap;border-radius:14px;flex:none;padding:0 9px;font-size:9px;font-weight:700}.copy-destination-actions>button:nth-child(2){min-width:68px}.copy-destination-date{min-width:46px;position:relative;overflow:hidden}.copy-destination-date input{cursor:pointer;opacity:0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;width:100%;height:100%;position:absolute;inset:0}.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}.trends-screen{padding-bottom:118px}.trends-insight-carousel{--trends-carousel-height:236px;touch-action:pan-y;margin-top:24px}.trends-insight-carousel__viewport{min-width:0;height:var(--trends-carousel-height);border-radius:24px;overflow:hidden}.trends-insight-carousel__track{will-change:transform;width:100%;height:100%;transition:transform .42s cubic-bezier(.22,.72,.18,1);display:flex}.trends-insight-carousel__track.is-dragging{transition:none}.trends-insight-carousel__slide{flex:0 0 100%;width:100%;height:100%;padding:2px}.trends-insight-carousel__slide>section{width:100%;height:100%}.trends-insight-carousel .check-in-hero,.trends-insight-carousel .weight-trend-summary,.trends-insight-carousel .check-in-metrics,.trends-insight-carousel .learned-expenditure-card{margin-top:0}.trends-insight-carousel .check-in-hero,.trends-insight-carousel .check-in-hero{align-content:center}.trends-insight-carousel .weight-trend-summary{grid-template-rows:auto auto;align-content:space-between}.trends-insight-carousel .check-in-metrics{align-content:stretch}.trends-insight-carousel .check-in-metrics article{flex-direction:column;justify-content:center;min-height:0;display:flex}.trends-insight-carousel .learned-expenditure-card{grid-template-rows:auto auto minmax(0,1fr);padding:16px;display:grid}.trends-insight-carousel .learned-expenditure-range{padding:10px 2px 8px}.trends-insight-carousel .expenditure-history-chart{grid-template-rows:minmax(0,1fr) auto;min-height:0;margin:0;padding:7px 9px 6px;display:grid;overflow:hidden}.trends-insight-carousel .expenditure-history-chart svg{height:100%;min-height:0;max-height:40px}.trends-insight-carousel .expenditure-history-chart>span{min-height:10px;line-height:1}.trend-guidance-card{border:1px solid var(--line);background:color-mix(in srgb, var(--surface-2) 72%, var(--surface));border-radius:15px;margin-top:12px;padding:10px 12px}.manual-strategy-notice{align-items:center;gap:10px;display:flex}.manual-strategy-notice>svg{color:var(--soft);flex:none}.manual-strategy-notice strong,.manual-strategy-notice small{display:block}.manual-strategy-notice strong{font-size:10px}.manual-strategy-notice small{color:var(--muted);margin-top:2px;font-size:8px}.trends-insight-carousel__dots{justify-content:center;align-items:center;gap:0;min-height:44px;display:flex}.trends-insight-carousel__dots button{cursor:pointer;background:0 0;border:0;width:44px;height:44px}.trends-insight-carousel__dots button:before{background:var(--line-strong);content:"";border-radius:999px;width:6px;height:6px;margin:auto;transition:width .16s,background .16s;display:block}.trends-insight-carousel__dots button.is-active:before{background:var(--accent);width:20px}.trends-insight-carousel__dots button:focus-visible{outline:none}.trends-insight-carousel__dots button:focus-visible:before{box-shadow:0 0 0 2px var(--bg), 0 0 0 4px color-mix(in srgb, var(--accent) 55%, transparent)}@media (width<=360px){.trends-insight-carousel{--trends-carousel-height:252px}}@media (prefers-reduced-motion:reduce){.trends-insight-carousel__track{transition-duration:1ms}}.check-in-hero{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--line));background:radial-gradient(circle at 0 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 10rem), var(--surface);border-radius:24px;align-items:center;gap:16px;margin-top:24px;padding:20px;display:flex}.trends-screen [tabindex="-1"]{scroll-margin-top:16px}.trends-screen [tabindex="-1"]:focus-visible,.dashboard-slide[tabindex="-1"]:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 42%, transparent);outline-offset:3px}.check-in-hero.is-ready{border-color:color-mix(in srgb, var(--cyan) 38%, var(--line))}.check-in-hero.is-updating{border-color:color-mix(in srgb, var(--cyan) 42%, var(--line))}.check-in-hero.is-holding{border-color:color-mix(in srgb, var(--amber) 42%, var(--line))}.check-in-progress{background:conic-gradient(var(--accent) var(--check-in-progress), var(--surface-3) 0);border-radius:50%;flex:0 0 88px;place-items:center;width:88px;height:88px;display:grid}.check-in-progress:before{background:var(--surface);content:"";border-radius:50%;grid-area:1/1;width:68px;height:68px}.check-in-progress>span{z-index:1;text-align:center;grid-area:1/1}.check-in-progress strong,.check-in-progress small{display:block}.check-in-progress strong{font-size:18px}.check-in-progress small{color:var(--muted);text-transform:uppercase;margin-top:2px;font-size:8px}.check-in-hero__copy{min-width:0}.check-in-hero__copy h2{margin:5px 0 7px;font-size:18px;line-height:1.15}.check-in-hero__copy>span{color:var(--soft);font-size:10px;line-height:1.45;display:block}.check-in-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.weight-trend-summary{border:1px solid color-mix(in srgb, var(--accent) 32%, var(--line));background:linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));border-radius:22px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:12px;margin-top:12px;padding:18px;display:grid}.weight-trend-summary>div:first-child>strong,.weight-trend-summary>div:first-child>span,.weight-trend-summary>div:nth-child(2) span,.weight-trend-summary>div:nth-child(2) small,.weight-trend-summary>div:nth-child(2) strong{display:block}.weight-trend-summary>div:first-child>strong{letter-spacing:-.055em;margin:7px 0 4px;font-size:32px}.weight-trend-summary>div:first-child>strong small{color:var(--muted);letter-spacing:0;font-size:12px}.weight-trend-summary>div:first-child>span{color:var(--soft);font-size:8px;line-height:1.4}.weight-trend-summary>div:nth-child(2){gap:8px;display:grid}.weight-trend-summary>div:nth-child(2) span{border:1px solid var(--line);background:var(--surface-2);border-radius:13px;padding:9px 10px}.weight-trend-summary>div:nth-child(2) small{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:800}.weight-trend-summary>div:nth-child(2) strong{margin-top:4px;font-size:11px}.weight-trend-summary .weight-trend-mini-chart{grid-column:1/-1;align-self:end;min-height:76px}.weight-trend-mini-chart svg{width:100%;height:58px;display:block;overflow:visible}.weight-trend-mini-chart svg line{stroke:var(--line-strong);stroke-width:1px}.weight-trend-mini-chart svg polyline{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:4px;vector-effect:non-scaling-stroke}.weight-trend-mini-chart svg circle{fill:var(--accent);stroke:var(--surface);stroke-width:3px;vector-effect:non-scaling-stroke}.weight-trend-mini-chart>div{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:7px;display:flex}.weight-trend-mini-chart>div strong{color:var(--soft);font-size:8px}.weight-trend-mini-chart>p{min-height:58px;color:var(--muted);text-align:center;place-items:center;margin:0;font-size:8px;display:grid}.check-in-metrics article{border:1px solid var(--line);background:var(--surface);border-radius:18px;min-width:0;padding:14px}.check-in-metrics small,.check-in-metrics strong,.check-in-metrics em{display:block}.check-in-metrics small{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:750}.check-in-metrics strong{letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap;margin:7px 0 4px;font-size:20px;overflow:hidden}.check-in-metrics strong span{color:var(--muted);letter-spacing:0;font-size:10px}.check-in-metrics em{color:var(--soft);font-size:8px;font-style:normal}.learned-expenditure-card{border:1px solid color-mix(in srgb, var(--cyan) 34%, var(--line));background:radial-gradient(circle at 100% 0, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 11rem), var(--surface);border-radius:22px;margin-top:12px;padding:18px}.confidence-badge{border:1px solid var(--line);background:var(--surface-2);color:var(--soft);text-transform:capitalize;border-radius:999px;flex:none;padding:6px 8px;font-size:8px;font-weight:800}.confidence-badge.is-strong{border-color:color-mix(in srgb, var(--cyan) 38%, var(--line));color:var(--cyan)}.confidence-badge.is-moderate{border-color:color-mix(in srgb, var(--amber) 38%, var(--line));color:var(--amber)}.learned-expenditure-range{text-align:center;padding:22px 2px 18px}.learned-expenditure-range strong,.learned-expenditure-range span,.learned-expenditure-range small{display:block}.expenditure-history-chart{border:1px solid var(--line);background:var(--surface-2);border-radius:16px;margin:-4px 0 16px;padding:10px 10px 8px}.expenditure-history-chart svg{width:100%;height:76px;display:block;overflow:visible}.expenditure-history-chart line{stroke:var(--line-strong);stroke-width:1px}.expenditure-history-chart polyline{fill:none;stroke:var(--cyan);stroke-linecap:round;stroke-linejoin:round;stroke-width:3px;vector-effect:non-scaling-stroke}.expenditure-history-chart>span{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:7px;display:flex}.expenditure-history-chart>span strong{color:var(--soft);font-size:8px}.learned-expenditure-range strong{letter-spacing:-.055em;font-size:30px}.learned-expenditure-range span{color:var(--soft);margin-top:4px;font-size:10px}.learned-expenditure-range small{color:var(--cyan);margin-top:8px;font-size:9px;font-weight:750}.target-review{border:1px solid var(--line);background:var(--surface-2);border-radius:17px;align-items:flex-start;gap:12px;padding:14px;display:flex}.target-review>span{background:color-mix(in srgb, var(--accent) 16%, var(--surface-3));width:36px;height:36px;color:var(--accent);border-radius:12px;flex:0 0 36px;place-items:center;display:grid}.target-review>div{min-width:0}.target-review h3{margin:5px 0;font-size:15px}.target-review small{color:var(--soft);font-size:9px;line-height:1.45;display:block}.target-review.is-fast_trend>span,.target-review.is-minimum_target>span{background:color-mix(in srgb, var(--amber) 16%, var(--surface-3));color:var(--amber)}.target-review.is-within_range>span{background:color-mix(in srgb, var(--cyan) 16%, var(--surface-3));color:var(--cyan)}.target-review.is-manual>span{background:color-mix(in srgb, var(--soft) 12%, var(--surface-3));color:var(--soft)}.coaching-review-action{margin-top:12px}.coaching-cooldown{border:1px solid var(--line);background:var(--surface-2);color:var(--soft);border-radius:13px;justify-content:center;align-items:center;gap:7px;margin-top:12px;padding:11px;font-size:9px;display:flex}.coaching-cooldown svg{color:var(--amber)}.coaching-undo-action{min-height:38px;color:var(--accent-soft);margin:5px auto -4px;font-size:9px;font-weight:800;display:block}.learned-expenditure-note{color:var(--muted);align-items:flex-start;gap:7px;margin:13px 2px 0;font-size:8px;line-height:1.45;display:flex}.learned-expenditure-note svg{color:var(--amber);flex:none}.check-in-readiness{border:1px solid var(--line);background:color-mix(in srgb, var(--surface-2) 72%, var(--surface));border-radius:18px;margin-top:12px;padding:12px}.goal-progress-card{border:1px solid color-mix(in srgb, var(--lime) 28%, var(--line));background:color-mix(in srgb, var(--lime) 4%, var(--surface));border-radius:22px;margin-top:12px;padding:18px}.goal-progress-card .detail-card__heading>svg{color:var(--lime)}.goal-progress-card>p{color:var(--soft);margin-top:14px;font-size:9px;line-height:1.5}.goal-progress-card>small{color:var(--muted);margin-top:12px;font-size:8px;line-height:1.4;display:block}.goal-projection{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px;display:grid}.goal-projection>span{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;min-width:0;padding:11px 8px}.goal-projection small,.goal-projection strong{display:block}.goal-projection small{color:var(--muted);font-size:7px;line-height:1.25}.goal-projection strong{text-overflow:ellipsis;margin-top:5px;font-size:10px;line-height:1.2;overflow:hidden}.calibration-summary{align-items:center;gap:11px;min-width:0;display:flex}.calibration-summary>span{background:color-mix(in srgb, var(--amber) 13%, var(--surface-3));width:38px;height:38px;color:var(--amber);border-radius:12px;flex:0 0 38px;place-items:center;display:grid}.calibration-summary>span.is-complete{background:color-mix(in srgb, var(--cyan) 13%, var(--surface-3));color:var(--cyan)}.calibration-summary>div{flex:1;min-width:0}.calibration-summary h2{margin:3px 0 2px;font-size:12px}.calibration-summary small{color:var(--muted);font-size:8px;line-height:1.3;display:block}.calibration-summary>button{width:44px;height:44px;color:var(--soft);background:0 0;border:0;flex:0 0 44px;place-items:center;display:grid}.calibration-summary>button svg{transition:transform .16s}.calibration-summary>button svg.is-expanded{transform:rotate(180deg)}.check-in-requirements{border:1px solid var(--line);border-radius:16px;margin-top:14px;overflow:hidden}.check-in-requirements>div{border-bottom:1px solid var(--line);background:var(--surface-2);align-items:center;gap:11px;min-height:58px;padding:10px 12px;display:flex}.check-in-requirements>div:last-child{border-bottom:0}.check-in-requirements>div>span{background:var(--surface-3);width:32px;height:32px;color:var(--soft);border-radius:11px;flex:0 0 32px;place-items:center;font-size:10px;font-weight:850;display:grid}.check-in-requirements>div.is-complete>span{background:color-mix(in srgb, var(--cyan) 17%, var(--surface-3));color:var(--cyan)}.check-in-requirements strong,.check-in-requirements small{display:block}.check-in-requirements strong{margin-bottom:3px;font-size:11px}.check-in-requirements small{color:var(--muted);font-size:9px}.check-in-safety-note{color:var(--soft);align-items:flex-start;gap:8px;margin:13px 2px 0;font-size:9px;line-height:1.45;display:flex}.check-in-safety-note svg{color:var(--amber);flex:none}.weight-trend-hero{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--line));background:radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 9rem), var(--surface);border-radius:24px;justify-content:space-between;align-items:center;margin-top:24px;padding:22px;display:flex}.weight-trend-hero>div>strong{letter-spacing:-.06em;margin:8px 0 6px;font-size:42px;display:block}.weight-trend-hero>div>strong small{color:var(--muted);letter-spacing:0;font-size:15px}.weight-trend-hero>div>span{color:var(--soft);font-size:11px}.weight-trend-hero>svg{color:var(--accent)}.weight-chart-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;margin-top:14px;padding:18px}.weight-trend-chart{border:1px solid var(--line);background:var(--surface-2);border-radius:17px;margin-top:14px;padding:11px 10px 9px}.weight-trend-chart svg{width:100%;height:126px;display:block;overflow:visible}.weight-trend-chart__baseline{stroke:var(--line-strong);stroke-width:1px}.weight-trend-chart__line{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:3px;vector-effect:non-scaling-stroke}.weight-trend-chart__scale{fill:var(--surface-2);stroke:var(--soft);stroke-width:2px;vector-effect:non-scaling-stroke}.weight-chart-legend,.weight-chart-dates{justify-content:space-between;align-items:center;gap:10px;display:flex}.weight-chart-legend{color:var(--soft);justify-content:flex-start;margin-top:2px;font-size:7px}.weight-chart-legend span{align-items:center;gap:5px;display:inline-flex}.weight-chart-legend i{border:2px solid var(--soft);border-radius:50%;width:8px;height:8px}.weight-chart-legend span:last-child i{background:var(--accent);border:0;border-radius:999px;height:3px}.weight-chart-dates{color:var(--muted);margin-top:7px;font-size:7px}.weight-empty-state{border:1px dashed var(--line-strong);width:100%;min-height:128px;color:var(--muted);cursor:pointer;background:0 0;border-radius:18px;place-items:center;margin-top:14px;padding:18px;display:grid}.weight-empty-state svg{color:var(--accent)}.weight-empty-state strong{color:var(--text);margin:8px 0 4px;font-size:14px}.weight-empty-state small{font-size:11px}.weigh-in-history{margin-top:24px}.weigh-in-history .section-heading>small{color:var(--muted);font-size:8px}.weigh-in-week{border:1px solid var(--line);background:var(--surface);border-radius:20px;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:8px;display:grid}.weigh-in-week>button,.weigh-in-week>div{border:1px solid color-mix(in srgb, var(--accent) 26%, var(--line));background:color-mix(in srgb, var(--accent) 8%, var(--surface-2));min-width:0;min-height:68px;color:var(--text);border-radius:13px;align-content:center;place-items:center;gap:2px;padding:7px 2px;display:grid}.weigh-in-week>button{cursor:pointer}.weigh-in-week>.is-empty{background:var(--surface-2);color:var(--muted);border-color:#0000}.weigh-in-week span,.weigh-in-week small,.weigh-in-week strong{line-height:1}.weigh-in-week span{color:var(--soft);text-transform:uppercase;font-size:8px;font-weight:800}.weigh-in-week small{color:var(--muted);font-size:7px}.weigh-in-week strong{letter-spacing:-.03em;margin-top:4px;font-size:10px}.weigh-in-week strong em{color:var(--muted);font-size:6px;font-style:normal}@media (width<=360px){.weigh-in-week{grid-template-columns:repeat(4,minmax(0,1fr))}}.weight-sheet{padding-bottom:calc(20px + env(safe-area-inset-bottom))}.weight-sheet__copy{color:var(--soft);margin:6px 0 18px;font-size:12px;line-height:1.5}.weight-entry-field,.weight-date-field{margin-bottom:13px;display:block}.weight-entry-field>span,.weight-date-field>span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px 3px;font-size:10px;font-weight:800;display:block}.weight-entry-field>div{border:1px solid var(--line-strong);background:var(--surface-2);border-radius:18px;grid-template-columns:1fr auto;align-items:center;padding:0 18px;display:grid}.weight-entry-field input{width:100%;min-width:0;height:76px;color:var(--text);letter-spacing:-.05em;background:0 0;border:0;outline:0;font-size:38px;font-weight:850}.weight-entry-field strong{color:var(--muted);font-size:14px}.weight-date-field input{border:1px solid var(--line-strong);background:var(--surface-2);width:100%;height:52px;color:var(--text);border-radius:16px;padding:0 14px}.weight-sheet__actions{grid-template-columns:1fr;gap:9px;display:grid}.weight-sheet__actions.is-editing{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.weight-sheet__actions button{border-radius:15px;min-height:52px}.placeholder-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding-left:38px;padding-right:38px;display:flex}.placeholder-icon{background:color-mix(in srgb, var(--accent) 13%, var(--surface));width:68px;height:68px;color:var(--accent-soft);border-radius:22px;place-items:center;margin-bottom:22px;display:grid}.placeholder-screen h1{margin-bottom:13px}.placeholder-screen>p:not(.eyebrow){color:var(--soft);font-size:13px;line-height:1.55}.placeholder-screen>span{color:var(--muted);margin-top:20px;font-size:9px;line-height:1.45}.plan-screen{overflow-y:auto}.plan-screen>.subpage-header>svg{color:var(--accent-soft)}.plan-strategy-card,.plan-goal-card,.plan-target-card,.plan-import-card,.plan-data-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;margin-top:18px;padding:18px}.plan-strategy-card .detail-card__heading>svg{color:var(--accent)}.strategy-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.strategy-choice>button{border:1px solid var(--line);background:var(--surface-2);min-width:0;min-height:92px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:16px;place-items:start;gap:7px;padding:12px;display:grid;position:relative}.strategy-choice>button.is-selected{border-color:color-mix(in srgb, var(--accent) 62%, var(--line));background:color-mix(in srgb, var(--accent) 9%, var(--surface-2))}.strategy-choice>button>span{background:var(--surface-3);width:32px;height:32px;color:var(--soft);border-radius:11px;place-items:center;display:grid}.strategy-choice>button.is-selected>span{background:color-mix(in srgb, var(--accent) 16%, var(--surface-3));color:var(--accent)}.strategy-choice>button>div strong,.strategy-choice>button>div small{display:block}.strategy-choice>button>div strong{font-size:12px}.strategy-choice>button>div small{color:var(--muted);margin-top:3px;font-size:8px}.strategy-choice>button>svg{color:var(--accent);position:absolute;top:8px;right:8px}.plan-strategy-card>p{color:var(--soft);margin:13px 2px 0;font-size:10px;line-height:1.5}.plan-goal-card .detail-card__heading>svg{color:var(--accent)}.goal-plan-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.goal-plan-summary>span{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;min-width:0;padding:13px}.goal-plan-summary small,.goal-plan-summary strong{display:block}.goal-plan-summary small{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:8px;font-weight:800}.goal-plan-summary strong{font-size:12px}.goal-plan-empty{border:1px dashed var(--line-strong);background:var(--surface-2);border-radius:16px;align-items:center;gap:12px;padding:14px;display:flex}.goal-plan-empty>svg{color:var(--accent);flex:none}.goal-plan-empty strong,.goal-plan-empty small{display:block}.goal-plan-empty strong{margin-bottom:4px;font-size:11px}.goal-plan-empty small{color:var(--soft);font-size:9px;line-height:1.4}.plan-edit-goal{margin-top:12px}.plan-goal-card>p{color:var(--soft);margin:13px 2px 0;font-size:10px;line-height:1.5}.plan-target-card .target-preview,.plan-edit-targets{margin-top:14px}.plan-target-card>p,.plan-import-card p{color:var(--soft);font-size:11px;line-height:1.5}.plan-target-card>p{margin:14px 2px 0}.plan-import-card{grid-template-columns:46px 1fr;gap:13px;display:grid}.plan-import-card__icon{background:color-mix(in srgb, var(--accent) 13%, var(--surface-2));width:46px;height:46px;color:var(--accent-soft);border-radius:15px;place-items:center;display:grid}.plan-import-card h2{margin:3px 0 7px;font-size:17px}.plan-import-card>button,.plan-import-card>small{grid-column:1/-1}.plan-data-card__heading{grid-template-columns:46px minmax(0,1fr);gap:13px;display:grid}.plan-data-card__icon{background:color-mix(in srgb, var(--cyan) 12%, var(--surface-2));width:46px;height:46px;color:var(--cyan);border-radius:15px;place-items:center;display:grid}.plan-data-card h2{margin:3px 0 7px;font-size:17px}.plan-data-card p{color:var(--soft);font-size:11px;line-height:1.5}.plan-data-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px;display:grid}.plan-data-actions button{min-width:0;min-height:46px;padding:9px 10px;font-size:9px}.plan-data-actions button:first-child{grid-column:1/-1}.plan-restore-action{min-height:44px;color:var(--accent-soft);align-items:center;gap:8px;margin-top:8px;font-size:10px;font-weight:800;display:inline-flex}.plan-data-card>small{color:var(--muted);margin-top:7px;font-size:9px;line-height:1.45;display:block}.plan-import-card>small{color:var(--muted);text-align:center;font-size:9px;line-height:1.45}.target-editor-sheet,.goal-plan-sheet,.coaching-acceptance-sheet{padding-bottom:calc(22px + env(safe-area-inset-bottom))}.coaching-acceptance-sheet__copy{color:var(--soft);margin:14px 2px 0;font-size:11px;line-height:1.5}.coaching-target-preview{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin-top:18px;display:grid}.coaching-target-preview>span{border:1px solid var(--line);background:var(--surface-2);text-align:center;border-radius:16px;padding:14px 10px}.coaching-target-preview>span:last-child{border-color:color-mix(in srgb, var(--accent) 55%, var(--line));background:color-mix(in srgb, var(--accent) 9%, var(--surface-2))}.coaching-target-preview small,.coaching-target-preview strong,.coaching-target-preview em{display:block}.coaching-target-preview small{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:800}.coaching-target-preview strong{letter-spacing:-.05em;margin:7px 0 3px;font-size:24px}.coaching-target-preview em{color:var(--soft);font-size:8px;font-style:normal}.coaching-target-preview>svg{color:var(--muted)}.coaching-confirmation-notes{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;gap:8px;margin-top:16px;padding:13px;display:grid}.coaching-confirmation-notes p{color:var(--soft);align-items:center;gap:8px;font-size:9px;display:flex}.coaching-confirmation-notes svg{color:var(--cyan)}.goal-plan-sheet__copy{color:var(--soft);margin:14px 2px 0;font-size:11px;line-height:1.5}.goal-choice-grid,.pace-choice-grid{border:0;gap:8px;margin:18px 0 0;padding:0;display:grid}.goal-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pace-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pace-choice-grid.is-single{grid-template-columns:1fr}.goal-choice-grid legend,.pace-choice-grid legend{color:var(--soft);grid-column:1/-1;margin-bottom:1px;font-size:10px;font-weight:800}.goal-choice-grid button,.pace-choice-grid button{border:1px solid var(--line);background:var(--surface-2);min-width:0;min-height:58px;color:var(--text);font:inherit;cursor:pointer;border-radius:14px;padding:10px 7px;position:relative}.goal-choice-grid button.is-selected,.pace-choice-grid button.is-selected{border-color:color-mix(in srgb, var(--accent) 65%, var(--line));background:color-mix(in srgb, var(--accent) 10%, var(--surface-2))}.goal-choice-grid strong,.goal-choice-grid small,.pace-choice-grid strong,.pace-choice-grid small{display:block}.goal-choice-grid strong,.pace-choice-grid strong{font-size:11px}.goal-choice-grid small,.pace-choice-grid small{color:var(--muted);margin-top:4px;font-size:8px}.goal-choice-grid svg{color:var(--accent);position:absolute;top:5px;right:5px}.goal-weight-field{margin-top:14px;display:block}.goal-weight-field>span{color:var(--soft);justify-content:space-between;align-items:center;margin:0 2px 7px;font-size:10px;font-weight:800;display:flex}.goal-weight-field>span small{color:var(--muted);font-size:8px;font-weight:700}.goal-weight-field>div{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:0 14px;display:grid}.goal-weight-field input{min-width:0;height:50px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-size:13px;font-weight:800}.goal-weight-field strong{color:var(--muted);font-size:10px}.goal-plan-preview{border:1px solid color-mix(in srgb, var(--cyan) 35%, var(--line));background:color-mix(in srgb, var(--cyan) 7%, var(--surface-2));border-radius:15px;align-items:flex-start;gap:11px;margin-top:16px;padding:13px;display:flex}.goal-plan-preview>svg{color:var(--cyan);flex:none}.goal-plan-preview strong,.goal-plan-preview small{display:block}.goal-plan-preview strong{margin-bottom:4px;font-size:11px}.goal-plan-preview small{color:var(--soft);font-size:9px;line-height:1.4}.target-editor-sheet__copy{color:var(--soft);margin:14px 2px 0;font-size:11px;line-height:1.5}.target-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.target-editor-field{gap:7px;min-width:0;display:grid}.target-editor-field>span{color:var(--soft);font-size:10px;font-weight:800}.target-editor-field>div{position:relative}.target-editor-field input{border:1px solid var(--line-strong);background:var(--surface-2);width:100%;min-height:48px;color:var(--text);border-radius:14px;padding:0 42px 0 13px;font-size:15px;font-weight:850}.target-editor-field>div>strong{color:var(--muted);pointer-events:none;font-size:9px;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.target-editor-field>small{color:var(--rose);font-size:8px;line-height:1.35}.target-editor-field.has-error input{border-color:color-mix(in srgb, var(--rose) 70%, var(--line-strong))}.target-calorie-check{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;grid-template-columns:1fr auto;gap:4px 12px;margin-top:16px;padding:13px 14px;display:grid}.target-calorie-check span{color:var(--soft);font-size:10px}.target-calorie-check strong{font-size:11px}.target-calorie-check small{color:var(--amber);grid-column:1/-1;font-size:9px;line-height:1.4}.target-calorie-check.is-warning{border-color:color-mix(in srgb, var(--amber) 40%, var(--line));background:color-mix(in srgb, var(--amber) 7%, var(--surface-2))}.target-editor-actions{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:10px;margin-top:18px;display:grid}.target-editor-actions>button{min-height:48px}.macrofactor-sheet,.restore-sheet{padding-bottom:calc(22px + env(safe-area-inset-bottom))}.restore-sheet__copy{color:var(--soft);margin:8px 2px 16px;font-size:11px;line-height:1.5}.restore-file{margin-bottom:14px}.restore-preview{border:1px solid var(--line);background:var(--surface-2);border-radius:17px;gap:0;margin-top:14px;display:grid;overflow:hidden}.restore-preview>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;padding:10px 12px;display:grid}.restore-preview>div:last-child{border-bottom:0}.restore-preview span{color:var(--muted);font-size:9px}.restore-preview strong{overflow-wrap:anywhere;text-align:right;font-size:9px}.restore-size-warning{border:1px solid color-mix(in srgb, var(--amber) 45%, var(--line));background:color-mix(in srgb, var(--amber) 8%, var(--surface-2));color:var(--soft);border-radius:14px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;margin-top:12px;padding:11px 12px;font-size:9px;line-height:1.45;display:grid}.restore-size-warning svg{color:var(--amber)}.restore-sheet__actions,.restore-confirmation>div{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:10px;margin-top:16px;display:grid}.restore-sheet__actions button,.restore-confirmation button{min-height:48px}.restore-confirmation{border:1px solid color-mix(in srgb, var(--rose) 42%, var(--line));background:color-mix(in srgb, var(--rose) 7%, var(--surface-2));border-radius:16px;margin-top:14px;padding:14px}.restore-confirmation>strong{font-size:12px}.restore-confirmation>p{color:var(--soft);margin-top:7px;font-size:9px;line-height:1.5}.danger-action{border:1px solid color-mix(in srgb, var(--rose) 62%, var(--line));background:color-mix(in srgb, var(--rose) 16%, var(--surface-2));color:#ffd8df;cursor:pointer;border-radius:14px;justify-content:center;align-items:center;min-height:44px;padding:0 14px;font-size:10px;font-weight:850;display:inline-flex}@media (width<=340px){.plan-data-actions,.restore-sheet__actions,.restore-confirmation>div{grid-template-columns:1fr}.plan-data-actions button:first-child{grid-column:auto}}.macrofactor-sheet__copy{color:var(--soft);margin:7px 0 16px;font-size:11px;line-height:1.5}.macrofactor-file{border:1px dashed var(--line-strong);background:var(--surface-2);cursor:pointer;border-radius:18px;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:11px;min-height:72px;padding:10px 13px;display:grid}.macrofactor-file:focus-within{outline:2px solid var(--accent-soft);outline-offset:2px}.macrofactor-file input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.macrofactor-file>span{background:color-mix(in srgb, var(--accent) 13%, var(--surface));width:42px;height:42px;color:var(--accent-soft);border-radius:13px;place-items:center;display:grid}.macrofactor-file strong,.macrofactor-file small{display:block}.macrofactor-file strong{text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;font-size:11px;overflow:hidden}.macrofactor-file small{color:var(--muted);font-size:9px}.macrofactor-file>svg{color:var(--muted)}.macrofactor-error{color:#ff9b88;margin:12px 2px 0;font-size:10px;line-height:1.45}.macrofactor-preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:14px;display:grid}.macrofactor-preview>div{background:var(--surface-2);text-align:center;border-radius:14px;padding:11px 4px}.macrofactor-preview strong,.macrofactor-preview small{display:block}.macrofactor-preview strong{margin-bottom:4px;font-size:16px}.macrofactor-preview small{color:var(--muted);font-size:7px;line-height:1.3}.macrofactor-targets{border:1px solid var(--line);border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0;display:grid;overflow:hidden}.macrofactor-targets span{border-right:1px solid var(--line);text-align:center;padding:10px 4px}.macrofactor-targets span:last-child{border-right:0}.macrofactor-targets small,.macrofactor-targets strong{display:block}.macrofactor-targets small{color:var(--muted);margin-bottom:4px;font-size:7px}.macrofactor-targets strong{font-size:11px}.macrofactor-target-option{border:1px solid var(--line);background:var(--surface-2);cursor:pointer;border-radius:14px;align-items:center;gap:11px;min-height:56px;margin:0 3px 14px;padding:10px 12px;display:flex}.macrofactor-target-option input{width:19px;height:19px;accent-color:var(--accent);flex:none}.macrofactor-target-option span,.macrofactor-target-option strong,.macrofactor-target-option small{display:block}.macrofactor-target-option span{min-width:0}.macrofactor-target-option strong{font-size:10px}.macrofactor-target-option small,.macrofactor-target-note{color:var(--muted);font-size:8px;line-height:1.4}.macrofactor-target-option small{margin-top:3px}.macrofactor-target-note{margin:0 3px 14px}.macrofactor-safety{color:var(--muted);margin:0 3px 14px;font-size:9px;line-height:1.45}.toast{z-index:90;right:16px;bottom:calc(var(--toast-bottom-offset,93px) + env(safe-area-inset-bottom));border:1px solid color-mix(in srgb, var(--lime) 28%, var(--line));background:color-mix(in srgb, var(--lime) 13%, var(--surface));min-height:52px;color:var(--text);border-radius:16px;align-items:center;gap:9px;padding:10px 14px;font-size:10px;font-weight:700;display:flex;position:absolute;left:16px;box-shadow:0 12px 32px #0000004d}.toast svg{color:var(--lime)}.account-sync-status{z-index:40;right:12px;bottom:calc(86px + env(safe-area-inset-bottom));border:1px solid color-mix(in srgb, var(--amber) 45%, var(--line));background:color-mix(in srgb, var(--amber) 10%, var(--surface));min-height:64px;color:var(--text);border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;display:grid;position:absolute;left:12px;box-shadow:0 12px 34px #00000057}.account-sync-status>svg{color:var(--amber)}.account-sync-status span,.account-sync-status strong,.account-sync-status small{display:block}.account-sync-status strong{font-size:10px}.account-sync-status small{color:var(--soft);margin-top:2px;font-size:8px}.account-sync-status button{border:1px solid color-mix(in srgb, var(--amber) 40%, var(--line));background:color-mix(in srgb, var(--amber) 12%, var(--surface-2));min-width:74px;min-height:44px;color:var(--text);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:6px;font-size:9px;font-weight:800;display:inline-flex}.account-sync-status button:disabled{cursor:wait;opacity:.7}.account-sync-status .is-spinning{animation:.8s linear infinite sync-spin}.phone-shell.has-sync-failure .screen{padding-bottom:186px}.phone-shell.has-sync-failure .food-log-screen{padding-bottom:calc(250px + env(safe-area-inset-bottom))}.phone-shell.has-sync-failure .plate-dock--global{bottom:calc(158px + env(safe-area-inset-bottom))}.phone-shell.has-sync-failure.has-plate .screen{padding-bottom:calc(250px + env(safe-area-inset-bottom))}.phone-shell.has-sync-failure.has-plate .food-log-screen{padding-bottom:calc(312px + env(safe-area-inset-bottom))}@keyframes sync-spin{to{transform:rotate(360deg)}}.onboarding{width:100%;max-width:100%;min-height:100%;padding:48px 18px 34px;overflow-x:clip}.onboarding *,.onboarding__panel,.onboarding__panel>*{min-width:0;max-width:100%}.onboarding__header{justify-content:space-between;align-items:center;display:flex}.onboarding__brand{align-items:center;gap:9px;display:flex}.onboarding__brand>span{background:var(--accent);color:#07130f;border-radius:10px;place-items:center;width:32px;height:32px;font-size:10px;font-weight:950;display:grid}.onboarding__brand strong{letter-spacing:.02em;font-size:13px}.onboarding__step{color:var(--muted);letter-spacing:.1em;font-size:9px;font-weight:800}.onboarding__progress{background:var(--surface-3);border-radius:10px;height:3px;margin:14px 0 30px;overflow:hidden}.onboarding__progress i{border-radius:inherit;background:var(--accent);height:100%;transition:width .22s;display:block}.onboarding__panel{animation:.18s ease-out fade-in}.onboarding__panel>h1{max-width:min(315px,100%);margin-bottom:13px;font-size:34px;line-height:1.02}.onboarding__panel--form>h1{font-size:29px}.onboarding__icon{background:color-mix(in srgb, var(--accent) 14%, var(--surface));width:54px;height:54px;color:var(--accent-soft);border-radius:18px;place-items:center;margin-bottom:24px;display:grid}.onboarding__copy{max-width:min(325px,100%);color:var(--soft);margin-bottom:28px;font-size:12px;line-height:1.55}.setup-field{gap:7px;margin-bottom:14px;display:grid}.setup-field>span{color:var(--muted);font-size:9px;font-weight:750}.setup-field input,.setup-field select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;max-width:100%;height:48px;color:var(--text);border-radius:14px;outline:0;padding:0 13px;font-size:14px}.setup-field input:focus,.setup-field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent)}.onboarding__panel>.primary-action--wide{width:100%;margin-top:7px}.primary-action:disabled{cursor:not-allowed;opacity:.38}.target-methods{gap:10px;display:grid}.target-methods>button{border:1px solid var(--line);background:var(--surface);min-height:98px;color:var(--text);text-align:left;cursor:pointer;border-radius:19px;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:11px;padding:14px;display:grid}.target-methods>button.is-selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 8%, var(--surface));box-shadow:inset 0 0 0 1px var(--accent)}.target-methods>button>span{background:var(--surface-2);width:44px;height:44px;color:var(--accent-soft);border-radius:14px;place-items:center;display:grid}.target-methods>button>div strong,.target-methods>button>div small{display:block}.target-methods>button>div{min-width:0}.target-methods>button>div strong{margin-bottom:6px;font-size:12px}.target-methods>button>div small{color:var(--muted);font-size:9px;line-height:1.4}.target-methods>button>svg{visibility:hidden;color:var(--accent)}.target-methods>button.is-selected>svg{visibility:visible}.onboarding__footer{justify-content:space-between;align-items:center;gap:10px;margin-top:22px;display:flex}.back-action{min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0 8px;font-size:10px;font-weight:800;display:inline-flex}.setup-grid,.manual-target-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px;width:100%;max-width:100%;margin-top:22px;display:grid}.setup-field--wide{grid-column:1/-1}.unit-input{position:relative}.unit-input input{padding-right:44px}.unit-input small{color:var(--muted);pointer-events:none;font-size:9px;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.target-preview{border:1px solid color-mix(in srgb, var(--accent) 25%, var(--line));background:color-mix(in srgb, var(--accent) 7%, var(--surface));border-radius:19px;margin-top:8px;padding:15px}.target-preview>div:first-child{color:var(--accent-soft);align-items:center;gap:10px;margin-bottom:14px;display:flex}.target-preview>div:first-child span,.target-preview>div:first-child small,.target-preview>div:first-child strong{display:block}.target-preview>div:first-child small{color:var(--muted);margin-bottom:3px;font-size:8px}.target-preview>div:first-child strong{color:var(--text);font-size:16px}.target-preview__macros{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.target-preview__macros>span{grid-template-columns:4px 1fr;gap:2px 7px;display:grid}.target-preview__macros i{border-radius:4px;grid-row:1/span 2;width:4px;height:28px}.target-preview__macros strong,.target-preview__macros small{display:block}.target-preview__macros strong{font-size:11px}.target-preview__macros small{color:var(--muted);font-size:8px}.estimate-note{color:var(--muted);margin:12px 3px 0;font-size:8px;line-height:1.45}.app-loading{isolation:isolate;width:100%;height:100%;color:var(--text);background:#050506;place-content:center;justify-items:center;display:grid;position:relative;overflow:hidden}.app-loading:before,.app-loading:after{z-index:0;aspect-ratio:1;content:"";pointer-events:none;border-radius:50%;width:min(112vw,470px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.app-loading:before{filter:blur(4px);background:radial-gradient(circle,#ff681f38 0,#a63a0e1c 34%,#140a0608 57%,#0000 72%)}.app-loading:after{background:radial-gradient(circle,#0000 0 37%,#ff793412 37.2% 37.55%,#0000 37.8% 51%,#ff79340a 51.2% 51.5%,#0000 51.8%)}.app-loading__brand{z-index:1;text-align:center;justify-items:center;gap:8px;animation:.52s cubic-bezier(.2,.8,.2,1) both app-loading-reveal;display:grid;position:relative}.app-loading__brand>img{filter:drop-shadow(0 24px 44px #e34e0c3d);border-radius:25%;width:clamp(116px,31vw,148px);height:auto;margin-bottom:10px}.app-loading__brand>strong,.app-loading__brand>span{display:block}.app-loading__brand>strong{color:#f5f1ee;letter-spacing:-.025em;font-size:clamp(25px,7vw,31px);font-weight:720;line-height:1}.app-loading__brand>span{color:#e0d8d39e;letter-spacing:.01em;font-size:clamp(12px,3.5vw,14px);font-weight:600}@keyframes app-loading-reveal{0%{opacity:0;transform:translateY(8px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.app-loading__brand{animation:none}}@media (width<=460px){.prototype{padding:0}.phone-shell{border:0;border-radius:0;width:100%;max-width:100vw;height:100dvh;min-height:0}.onboarding{padding:calc(18px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))}.onboarding__panel>h1{font-size:clamp(28px,9vw,34px)}.onboarding__panel--form>h1{font-size:clamp(25px,8vw,29px)}.screen{padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(104px + env(safe-area-inset-bottom))}.food-log-screen{padding-bottom:calc(210px + env(safe-area-inset-bottom))}.bottom-nav{height:calc(72px + env(safe-area-inset-bottom));padding-bottom:max(8px, env(safe-area-inset-bottom))}.search-header{padding-top:calc(12px + env(safe-area-inset-top))}.prototype-note{display:none}.log-date-strip{padding:10px 8px}.copy-selection-bar__summary small{display:none}}@media (width<=350px){.screen,.onboarding{padding-left:12px;padding-right:12px}.setup-grid,.manual-target-grid,.target-editor-grid{grid-template-columns:minmax(0,1fr)}.setup-field--wide{grid-column:auto}.log-macro-summary{gap:6px;margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.hour-builder .timeline-group{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.hour-builder .timeline-group:before{left:39px}.hour-heading{gap:5px}.hour-heading>.hour-select-action{min-width:44px;padding:0 7px;font-size:8px}.log-macro-summary span{font-size:7px}.copy-selection-bar__summary{display:none}}@media (height<=760px) and (width>=461px){.prototype{padding-top:62px;padding-bottom:12px}.phone-shell{height:calc(100vh - 110px);min-height:580px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
