@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap";
:root{--bg:#0b0c10;--card:#111218;--text:#f1f2f5;--muted:#9aa0ab;--border:#ffffff14;--accent:#6ea8fe;--danger:#ff6b6b;--success:#22c55e;--kcal:#f97316;--protein:#6ee7b7;--fat:#fbbf24;--carb:#93c5fd;--radius:16px;--bottom-nav-height:72px;--font-body:"Manrope",ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Apple Color Emoji","Segoe UI Emoji";--font-display:"Space Grotesk",var(--font-body)}*{box-sizing:border-box}html,body{background:radial-gradient(900px 420px at 10% -10%,#6ea8fe1f,transparent 60%),radial-gradient(700px 360px at 95% 0%,#22c55e1a,transparent 60%),var(--bg);color:var(--text);font-family:var(--font-body);margin:0;padding:0;line-height:1.5}.container{max-width:720px;padding:16px;padding-bottom:calc(16px + var(--bottom-nav-height) + env(safe-area-inset-bottom));margin:0 auto}.stack{flex-direction:column;gap:12px;display:flex}.grid{grid-template-columns:1fr;gap:12px;display:grid}@media (min-width:760px){.grid{grid-template-columns:1fr 1fr}}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:14px}.homeCard{isolation:isolate;position:relative;overflow:hidden}.homeCard:before{content:"";opacity:.9;z-index:0;background:radial-gradient(520px 220px at 0 0,#6ea8fe2e,#0000 60%),radial-gradient(360px 200px at 100% 0,#fbbf241f,#0000 60%);position:absolute;inset:0}.homeCard>*{z-index:1;position:relative}.wizardIntro{background:0 0;border:0;padding:0 0 6px}.wizardIntro .h1{font-size:26px}.wizardIntroNote{font-size:12px;line-height:1.45}.wizardScreen{z-index:0;min-height:100vh;position:relative}.wizardBackdrop{background:radial-gradient(900px 420px at 10% -10%,#6ea8fe24,transparent 60%),radial-gradient(700px 360px at 95% 0%,#22c55e1f,transparent 60%),radial-gradient(800px 420px at 50% 100%,#6ea8fe1a,transparent 60%),var(--bg);z-index:0;pointer-events:none;position:fixed;inset:0}.wizardContent{z-index:1;position:relative}.wizardCard{background:0 0;border:0;padding:0}.profileView{gap:16px}.profileTopbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.profileTopbar .h1{margin:0}.profileTopbarSub{margin-top:2px;font-size:13px}.btn.iconBtn{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:inline-flex}.btn.iconBtn .icon{font-size:13px;line-height:1}.profileCard{background:linear-gradient(#ffffff0d,#ffffff05);box-shadow:0 12px 24px #00000040}.profileHero{padding:18px;position:relative;overflow:hidden;box-shadow:0 16px 36px #00000059}.profileHero:before{content:"";opacity:.9;background:radial-gradient(520px 220px at 0 0,#6ea8fe38,#0000 60%),radial-gradient(420px 200px at 100% 10%,#fbbf241f,#0000 60%);position:absolute;inset:0}.profileHeroContent{z-index:1;flex-direction:column;gap:14px;display:flex;position:relative}.heroTitle{font-size:18px;font-weight:800;font-family:var(--font-display);letter-spacing:.01em}.heroSub{color:var(--muted);font-size:13px}.heroPills{flex-wrap:wrap;gap:8px;display:flex}.pill{color:var(--muted);white-space:nowrap;background:#ffffff08;border:1px solid #ffffff1f;border-radius:999px;align-items:center;padding:4px 8px;font-size:11px;display:inline-flex}.goalProgress{gap:6px;display:grid}.goalProgressHeader{color:var(--muted);justify-content:space-between;font-size:11px;display:flex}.goalProgressBar{background:#ffffff14;border-radius:999px;height:10px;overflow:hidden}.goalProgressFill{background:linear-gradient(90deg,#6ea8fe73,#6ea8fef2);border-radius:999px;height:100%;transition:width .3s}.calcValue{flex-direction:column;gap:4px;display:flex}.calcSub{color:#ffffffd1;order:-1;font-size:12px}.profileHeroHeader{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.profileHeroActions{align-items:center;gap:10px;display:flex}.profileBadge{text-transform:uppercase;letter-spacing:.14em;color:var(--muted);border:1px solid #ffffff29;border-radius:999px;align-items:center;gap:6px;margin-bottom:6px;padding:4px 8px;font-size:10px;display:inline-flex}.profileHeroStats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.statCard{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:12px;min-height:64px;padding:10px 12px}.statCard.statEditable{cursor:pointer;text-align:left;font:inherit;width:100%;color:inherit;appearance:none;transition:transform .15s,box-shadow .2s,border-color .2s}.statCard.statEditable:hover{border-color:#6ea8fe66;transform:translateY(-1px);box-shadow:0 12px 24px #00000040}.statCard.statEditable:focus-visible{outline:none;box-shadow:0 0 0 3px #6ea8fe33}.statLabel{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:10px}.statValue{margin-top:4px;font-size:15px;font-weight:800}.profileNotice{color:#ffffffe6;background:#6ea8fe14;border:1px solid #6ea8fe40;border-radius:12px;padding:10px 12px;font-size:12px}.profileNotice.warn{color:#ffffffeb;background:#ffd16614;border-color:#ffd16659}.profileNotice.error{color:#fffffff2;background:#ff6b6b1f;border-color:#ff6b6b73}.profileGroup{padding:12px}.profileGroupHeader{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.profilePanel{isolation:isolate;position:relative;overflow:hidden}.profilePanel:before{content:"";opacity:.9;z-index:0;background:radial-gradient(520px 220px at 0 0,#6ea8fe2e,#0000 60%),radial-gradient(360px 200px at 100% 0,#fbbf241f,#0000 60%);position:absolute;inset:0}.profilePanel>*{z-index:1;position:relative}.profileList{flex-direction:column;display:flex}.profileRow{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;padding:12px 4px;display:flex}.profileRow:last-child{border-bottom:0}.profileRow:focus-visible{border-radius:12px;outline:none;box-shadow:0 0 0 3px #6ea8fe38}.profileRowText{flex-direction:column;display:flex}.profileRowLabel{color:var(--muted);font-size:12px}.profileRowValue{margin-top:4px;font-size:15px;font-weight:700}.profileRowChevron{color:#ffffff73;padding-left:8px;font-size:20px;line-height:1}.sectionHeader{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px;display:flex}.sectionHeader .muted{margin:0}.profileFieldGrid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.profileField{background:#ffffff05;border:1px solid #ffffff14;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.profileFieldLabel{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:11px}.selectRow{flex-wrap:wrap;gap:10px;display:flex}.selectRow .selectCard{flex:1;min-width:140px}.goalExtra{gap:12px;margin-top:14px;display:grid}.targetsCard .header{align-items:flex-start}.targetsCard .header .muted{margin:0}.profileModal{max-width:860px;max-height:85vh;overflow:auto}.modalHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.modalHeader .muted{margin:4px 0 0}.modalBody{margin-top:14px}.modalSection{background:#ffffff05;border:1px solid #ffffff14;border-radius:12px;padding:12px}.modalSectionTitle{text-transform:uppercase;letter-spacing:.16em;color:var(--muted);margin-bottom:10px;font-size:10px}.profileEditor{width:100%;max-width:480px}.iosBody{padding:12px 14px}.wheelWrap{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.wheelPicker{--wheel-item-height:30px;width:100%;max-width:240px;height:calc(var(--wheel-item-height)*5);background:linear-gradient(#ffffff0f,#ffffff05);border:1px solid #ffffff0f;border-radius:16px;margin:0 auto;position:relative}.wheelList{scroll-snap-type:y mandatory;height:100%;padding:calc(var(--wheel-item-height)*2)0;scrollbar-width:none;z-index:2;overscroll-behavior:contain;position:relative;overflow-y:auto}.wheelList::-webkit-scrollbar{display:none}.wheelItem{height:var(--wheel-item-height);cursor:pointer;color:#ffffff61;scroll-snap-align:center;background:0 0;border:0;justify-content:center;align-items:center;width:100%;font-size:17px;display:flex}.wheelItem.active{color:#fff;text-shadow:0 6px 16px #0006;font-weight:800}.wheelHighlight{height:var(--wheel-item-height);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none;z-index:1;background:linear-gradient(#ffffff2e,#ffffff0d);border:1px solid #fff3;border-radius:10px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);box-shadow:0 8px 20px #00000040,inset 0 1px #ffffff59}.wheelFader{pointer-events:none;z-index:3;height:40%;position:absolute;left:0;right:0}.wheelFader.top{background:linear-gradient(#1c1c1ef2 0%,#1c1c1e00 100%);top:0}.wheelFader.bottom{background:linear-gradient(#1c1c1e00 0%,#1c1c1ef2 100%);bottom:0}.wheelUnit{color:var(--muted);white-space:nowrap;font-size:12px}.iosOptions{border-top:1px solid #ffffff14;flex-direction:column;display:flex}.iosError{padding:8px 14px}.iosOption{color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;padding:12px 14px;font-size:14px}.iosOption+.iosOption{border-top:1px solid #ffffff14}.iosOptionTitle{color:var(--muted);font-weight:600}.iosOptionSub{color:var(--muted);margin-top:4px;font-size:11px}.iosOption.selected .iosOptionTitle{color:#fff;font-weight:700}.iosOption.selected{background:#ffffff14}.iosOption.selected .iosOptionSub{color:#ffffffb3}.targetsAdvanced{background:0 0;border:0;flex-direction:column;gap:14px;display:flex}.targetsTop{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;display:grid}@media (max-width:720px){.targetsTop{grid-template-columns:1fr}}.targetHero{background:#ffffff0a;border:1px solid #f9731647;border-radius:12px;flex-direction:column;gap:6px;padding:12px;display:flex}.targetHeroLabel{text-transform:uppercase;letter-spacing:.16em;color:var(--muted);font-size:10px}.targetHeroValue{font-size:28px;font-weight:800;font-family:var(--font-display)}.targetHeroValue span{color:var(--muted);margin-left:4px;font-size:13px;font-weight:600}.targetHeroValue span.kcalUnit{color:inherit}.targetHeroSub{color:#ffffffd1;font-size:12px}.targetHeroEta{color:var(--muted);margin-top:4px;font-size:12px}.macroTiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.macroTile{text-align:center;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:8px 10px;display:flex}.macroTileLabel{letter-spacing:.02em;color:#ffffffd9;white-space:nowrap;font-size:11px;font-weight:600}.macroTileValue{font-size:16px;font-weight:700}.macroTileSub{color:#ffffff8c;font-size:10px;line-height:1.2}.macroTile.macroProtein .macroTileValue{color:var(--protein)}.macroTile.macroFat .macroTileValue{color:var(--fat)}.macroTile.macroCarb .macroTileValue{color:var(--carb)}.macroTile.macroProtein{border-color:#6ee7b799}.macroTile.macroFat{border-color:#fbbf2499}.macroTile.macroCarb{border-color:#93c5fd99}.rangeGrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.rangeCard{background:#ffffff05;border:1px solid #ffffff1a;border-radius:12px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.rangeLabel{text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-size:10px}.rangeValue{color:var(--kcal);font-size:15px;font-weight:700}.rangeUnit{color:inherit;margin-left:6px;font-size:12px;font-weight:600}.rangeSub{color:var(--muted);font-size:11px}.targetsMeta{color:var(--muted);margin-top:10px;font-size:12px}.header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.headerMain{flex:1;min-width:0}.row{flex-wrap:wrap;gap:10px;display:flex}.headerActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-left:auto;display:flex}.dateGroup{align-items:center;gap:8px;display:flex}@media (max-width:520px){.headerActions{justify-content:space-between;width:100%}}.h1{font-size:20px;font-family:var(--font-display);letter-spacing:.02em;margin:0 0 6px}.h2{font-size:16px;font-family:var(--font-display);letter-spacing:.01em;margin:0 0 8px}.h3{font-size:14px;font-family:var(--font-display);letter-spacing:.01em;margin:0}.muted{color:var(--muted);font-size:13px;line-height:1.4}.btn{background:var(--accent);color:#081018;cursor:pointer;border:0;border-radius:12px;padding:10px 12px;font-weight:700;transition:transform .15s,box-shadow .2s,background .2s}.btn.lightText{color:#fff}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px #00000047}.btn:active{transform:translateY(0)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn.success{background:var(--success);color:#fff}.btn.danger{background:var(--danger);color:#fff}.btn.secondary{color:var(--text);border:1px solid var(--border);background:0 0}.btn.secondary:hover{box-shadow:none;background:#ffffff0f}.btn:focus-visible{outline:none;box-shadow:0 0 0 3px #6ea8fe40}.inputRow{grid-template-columns:1fr auto auto;align-items:center;gap:10px;display:grid}.input{border:1px solid var(--border);width:100%;color:var(--text);background:#ffffff08;border-radius:12px;outline:none;padding:10px 12px;transition:border-color .2s,box-shadow .2s,background .2s}.input:focus{background:#ffffff0d;border-color:#6ea8feb3;box-shadow:0 0 0 3px #6ea8fe29}.suffix{color:var(--muted);font-size:13px}.wizardField{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:6px 0 10px;display:grid}.wizardInputStack{padding-bottom:calc(64px + env(safe-area-inset-bottom));gap:8px}.wizardInput{color:#fff;background:0 0;border:0;border-bottom:2px solid #ffffff38;outline:none;width:100%;padding:6px 0 8px;font-size:26px;font-weight:700}.wizardInput:focus{border-bottom-color:#6ea8fee6}.wizardInput.is-warn{border-bottom-color:#ffd166d9}.wizardInput.is-error{border-bottom-color:#ff6b6be6}.wizardInput::placeholder{color:#ffffff59}.wizardInput:disabled{opacity:.5;cursor:not-allowed}.wizardUnit{color:var(--muted);white-space:nowrap;padding-bottom:6px;font-size:13px}.wizardMessage{font-size:12px;line-height:1.4}.wizardMessage.is-warn{color:#ffd166f2}.wizardMessage.is-error{color:var(--danger)}.wizardHelper{gap:10px;margin:18px 0 22px;display:grid}.wizardActions{padding:0 16px calc(8px + env(safe-area-inset-bottom));z-index:2;position:fixed;bottom:0;left:0;right:0}.wizardActionsInner{max-width:720px;margin:0 auto}.wizardNext{color:var(--success);-webkit-tap-highlight-color:#22c55e40}.wizardNext:active{color:var(--success);background:#22c55e2e}.wizardNext:focus-visible{color:var(--success)}.wizardStepHeader{--wizard-title-size:clamp(17px,4.2vw,19px);justify-content:flex-start;align-items:center}.wizardStepTitle{align-items:center;gap:8px;display:flex}.wizardStepTitle .h2{font-size:var(--wizard-title-size);margin:0;line-height:1.25}.wizardBack{width:calc(var(--wizard-title-size) + 4px);height:calc(var(--wizard-title-size) + 4px);color:var(--text);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:999px;place-items:center;transition:transform .15s,background .2s,border-color .2s;display:grid}.wizardBack:hover{background:#ffffff1f;border-color:#ffffff3d;transform:translateY(-1px)}.wizardBack:disabled{opacity:.5;cursor:not-allowed;transform:none}.wizardBackIcon{width:calc(var(--wizard-title-size)*.9);height:calc(var(--wizard-title-size)*.9);display:block;transform:translate(-5px)}.wizardHint{background:#ffffff14;border-left:3px solid #ffffff40;border-radius:12px;align-items:flex-start;gap:10px;padding:12px;display:flex}.wizardHintIcon{color:#ffffffe6;background:#ffffff2e;border-radius:999px;flex:none;place-items:center;width:20px;height:20px;font-size:12px;font-weight:700;line-height:1;display:grid}.wizardHintText{color:#ffffffe0;font-size:12px;line-height:1.45}.error{color:var(--danger);font-size:12px}.selectCard{text-align:left;border:1px solid var(--border);width:100%;color:var(--text);cursor:pointer;-webkit-tap-highlight-color:#22c55e33;background:#ffffff08;border-radius:14px;gap:8px;padding:12px;transition:border-color .2s,background .2s,transform .15s,box-shadow .2s;display:grid}.selectCard.lg{border-radius:16px;padding:16px}.selectCard.withIcon{grid-template-columns:44px 1fr;align-items:center}.selectIcon{color:#ffffffe6;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.selectIcon svg{width:26px;height:26px}.selectText{gap:4px;display:grid}.selectCard:hover{background:#ffffff0d;border-color:#ffffff2e;transform:translateY(-1px)}.selectCard:focus-visible{outline:none;box-shadow:0 0 0 3px #22c55e40}.selectCard:active{background:#22c55e1f;border-color:#22c55eb3}.selectCard.selected{background:#22c55e24;border-color:#22c55eb3;box-shadow:inset 0 0 0 2px #22c55e38}.selectCard.selected .selectIcon{background:#22c55e2e;border-color:#22c55e80}.selectTitle{font-weight:800}.selectCard.lg .selectTitle{font-size:16px}.selectSub{color:var(--muted);font-size:12px;line-height:1.4}.selectCard.lg .selectSub{font-size:12.5px}.wizardChoices{gap:12px;margin-top:16px;display:grid}.loading{border:1px solid var(--border);background:#ffffff05;border-radius:14px;align-items:center;gap:10px;padding:12px;display:flex}.loading.compact{padding:8px 10px}.spinner{border:2px solid #fff3;border-top-color:#fffc;border-radius:50%;width:16px;height:16px;animation:.9s linear infinite spin}.loading.screen{width:100%;min-height:100svh;padding:calc(env(safe-area-inset-top) + 24px)24px calc(env(safe-area-inset-bottom) + 24px);background:radial-gradient(540px 280px at 12% -8%,#6ea8fe3d,#0000 70%),radial-gradient(520px 280px at 92% 108%,#6ee7b733,#0000 72%),linear-gradient(160deg,#0a1320 0%,#071720 52%,#08161d 100%);border:0;border-radius:0;justify-content:center}.loadingScreenInner{text-align:center;flex-direction:column;align-items:center;gap:16px;display:flex}.spinner.spinnerScreen{background:conic-gradient(#6cbfd8 0deg 122deg,#6d7fea 122deg 230deg,#1f2957 230deg 360deg);border:0;border-radius:50%;width:116px;height:116px;animation:1.3s linear infinite spin;position:relative}.spinner.spinnerScreen:before{content:"";background:#081722;border-radius:50%;position:absolute;inset:9px}.loadingScreenTitle{color:#f1f2f5f5;font-size:20px;font-weight:600;line-height:1.25}@keyframes spin{to{transform:rotate(360deg)}}.stepper{padding-top:10px}.stepperTrack{background:#ffffff14;border-radius:999px;height:4px;overflow:hidden}.stepperFill{border-radius:inherit;background:linear-gradient(90deg,#6ea8fe59,#6ea8fed9);height:100%;transition:width .25s}.targets{background:#ffffff08;border:1px dashed #fff3;border-radius:14px;padding:12px 14px}.targets.targetsAdvanced{background:0 0;border:0}.targetLine{color:#ffffffe6;margin:6px 0;font-size:13px}.targetLine:first-child{font-size:14px;font-weight:700}.bottomNav{z-index:20;-webkit-backdrop-filter:blur(14px)saturate(140%);background:linear-gradient(#11121899 0%,#111218eb 100%);border-top:1px solid #ffffff14;position:fixed;bottom:0;left:0;right:0;overflow:hidden;box-shadow:0 -10px 24px #00000059}.bottomNav .container{padding:0 16px}.bottomNav:before{content:"";opacity:.8;pointer-events:none;background:radial-gradient(420px 140px at 10% 0,#6ea8fe2e,#0000 60%),radial-gradient(320px 140px at 90% 0,#22c55e1f,#0000 60%);position:absolute;inset:0}.bottomNavInner{padding:10px 8px calc(12px + env(safe-area-inset-bottom));justify-content:space-between;align-items:center;gap:6px;display:flex;position:relative}.bottomTab{color:#f1f2f5a6;letter-spacing:.02em;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;padding:6px 6px 2px;font-size:11px;font-weight:600;text-decoration:none;transition:color .2s;display:flex;position:relative}.bottomTab:before{content:"";opacity:0;background:linear-gradient(90deg,#6ea8fe66,#6ea8fef2);border-radius:999px;width:26px;height:3px;transition:opacity .2s;position:absolute;top:2px;left:50%;transform:translate(-50%);box-shadow:0 0 10px #6ea8fe73}.bottomTab.active{color:#eaf2ff}.bottomTab.active:before{opacity:1}.tabIcon{place-items:center;width:24px;height:24px;display:grid}.tabIconSvg{stroke:currentColor;fill:#0000;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;transition:fill .2s,color .2s}.bottomTab.active .tabIconSvg{fill:currentColor}.bottomTab .tabLabel{font-weight:600}.bottomTab.active .tabLabel{font-weight:700}.summaryRow{flex-wrap:nowrap;align-items:center;gap:14px;margin-top:8px;display:flex}.ring{place-items:center;width:120px;height:120px;display:grid;position:relative}.ringSvg{position:absolute;inset:0;transform:rotate(-90deg)}.ringTrack{stroke:#ffffff14}.ringProgress{stroke-linecap:round;transition:stroke-dasharray .3s}.ring:after{content:"";background:var(--card);z-index:1;border:0;border-radius:50%;width:86px;height:86px;position:absolute}.ringCenter{z-index:2;text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.ringValue{font-size:18px;font-weight:800}.ringSub{color:var(--muted);font-size:11px}.summaryStats{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.summaryLine{justify-content:flex-start;align-items:baseline;gap:6px;font-size:13px;display:flex}.summaryLine b{margin-left:4px}.summaryVerdict{color:var(--muted);font-size:13px}.summaryVerdict.danger{color:var(--danger)}.macroRow{flex-direction:column;gap:6px;display:flex}.macroGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;display:grid}.macroGrid .macroRow{min-width:0}.macroHeader{color:var(--muted);justify-content:space-between;align-items:baseline;font-size:12px;display:flex}.macroLabel{color:var(--text);font-size:12px;font-weight:600}.macroValue{color:var(--muted);align-items:baseline;font-size:12px;display:flex}.macroCurrent{color:var(--text);font-weight:700}.macroTarget{color:var(--muted);font-weight:500}.macroSep,.macroUnit{color:var(--muted)}.bar{background:#ffffff14;border-radius:999px;height:8px;overflow:hidden}.barFill{border-radius:999px;height:100%;transition:width .3s}.mealCard{padding:12px}.mealHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mealTitle{font-size:14px;font-weight:700}.mealSub{color:var(--muted);margin-top:4px;font-size:12px}.mealTime{color:var(--muted);white-space:nowrap;font-size:12px}.mealMacros{color:#ffffffd9;flex-wrap:wrap;gap:10px;margin-top:8px;font-size:12px;display:flex}.mealActions{margin-top:10px}.macroKcal{color:var(--kcal)}.macroProtein{color:var(--protein)}.macroFat{color:var(--fat)}.macroCarb{color:var(--carb)}.mealNotes{color:var(--muted);white-space:pre-line;margin-top:8px;font-size:12px}.mealNotesDetails{margin-top:8px}.mealNotesToggle{cursor:pointer;color:var(--muted);font-size:12px}.mealNotesToggle:hover{color:var(--text)}.mealsHeader{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mealsHeaderWithAdd{margin-bottom:8px}.mealsHeader .mealsAddBtn{width:100%;margin-top:6px}.mealsEmpty{gap:8px;margin-top:6px;display:grid}.mealsEmptyTitle{font-size:14px;font-weight:700}.mealsEmptyText{font-size:13px}.mealsEmptyBtn{width:100%;margin-top:6px}.mealsEmptyError{margin-top:4px}.tag{color:var(--muted);border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:6px;margin-top:8px;padding:4px 8px;font-size:11px;display:inline-flex}.tag.warn{color:#ffd166;border-color:#ffd16666}.dateInput{max-width:170px}.dateTrigger{color:var(--text);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:6px;margin-top:6px;padding:6px 10px;font-size:13px;font-weight:600;display:inline-flex}.dateTrigger:hover{background:#ffffff1a}.dateTrigger:focus-visible{outline:none;box-shadow:0 0 0 3px #6ea8fe40}.dateTrigger:disabled{opacity:.42;cursor:default}.dateTriggerTop{margin-top:0}.streakWeekBlock{background:radial-gradient(180px 100px at 5% -12%,#6ea8fe29,#0000 72%),radial-gradient(200px 100px at 100% 110%,#6ee7b724,#0000 72%),#ffffff05;border:1px solid #ffffff1a;border-radius:14px;margin-top:10px;padding:12px}.streakWeekGrid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.streakWeekItem{color:#ffffffc7;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:2px 0 4px;display:flex}.streakWeekItem:disabled{cursor:default}.streakWeekLabel{letter-spacing:.02em;text-transform:lowercase;color:#ffffff8f;font-size:11px;font-weight:600;transition:color .15s}.streakWeekItem.is-selected .streakWeekLabel{color:#fffffff5}.streakWeekDot{color:#ffffff61;border-radius:999px;place-items:center;width:24px;height:24px;font-size:16px;line-height:1;transition:color .15s,background .15s,box-shadow .15s;display:grid;position:relative}.streakWeekDot.has-entries{color:var(--success)}.streakWeekDot.is-missed{color:#ffffff75}.streakWeekDot.is-future{color:#fff3}.streakWeekDot.is-selected{color:#fffffff5;background:#ffffff14;box-shadow:inset 0 0 0 1px #ffffffb3,0 0 0 2px #6ea8fe33}.streakWeekDot.is-today:before{content:"";border-radius:inherit;border:1.5px solid #6ea8febf;position:absolute;inset:-2px}.streakSummaryRow{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.streakSummaryText{color:#f1f2f5f2;font-size:13px;font-weight:700}.streakInfoBtn{cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:30px;height:30px;padding:0;display:grid}.streakInfoIcon{color:#f1f2f5f0;background:#ffffff0a;border:1px solid #ffffff80;border-radius:999px;place-items:center;width:24px;height:24px;font-size:14px;font-weight:800;line-height:1;transition:border-color .15s,background .15s,color .15s,transform .15s;display:grid}.streakInfoBtn:hover{background:0 0}.streakInfoBtn:hover .streakInfoIcon{background:#ffffff1a;border-color:#fffc}.streakInfoBtn:active .streakInfoIcon{background:#ffffff1f;transform:scale(.96)}.streakInfoBtn:focus-visible{outline:none;box-shadow:0 0 0 3px #6ea8fe40}.sheetBackdrop{z-index:50;overscroll-behavior:contain;background:#0000008c;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}.calendarBackdrop{animation:.18s sheetBackdropFade}.sheetShell{justify-content:center;width:100%;display:flex}.calendarSheetShell{animation:.28s cubic-bezier(.2,.8,.2,1) sheetSlideUp}.streakInfoBackdrop{animation:.18s sheetBackdropFade}.streakInfoSheetShell{animation:.28s cubic-bezier(.2,.8,.2,1) sheetSlideUp}.dateSheetHeader{justify-content:flex-end;padding-bottom:4px;padding-right:12px}.dateQuickRow,.dateQuickBtn{display:none}.bottomSheet{width:100%;max-width:480px;padding-bottom:calc(8px + env(safe-area-inset-bottom));transform:translateY(calc(var(--sheet-drag,0px) - var(--keyboard-inset,0px)));will-change:transform;background:#1c1c1efa;border:1px solid #ffffff14;border-radius:20px;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .18s;overflow:hidden;box-shadow:0 18px 40px #00000073}.bottomSheet.dragging,.bottomSheet.kbdAnimating{transition:none}.bottomSheet.profileEditor{border-radius:20px 20px 0 0;max-width:100%}.bottomSheet.dateSheet,.bottomSheet.streakInfoSheet{background:linear-gradient(#181a20fa 0%,#14161cfa 100%);border-radius:20px 20px 0 0;max-width:100%}.streakInfoHeader{justify-content:flex-end;width:100%;padding-right:12px}.streakInfoHeader .sheetClose{margin-left:auto}.streakInfoBody{gap:12px;padding:0 16px 18px;display:grid}.streakInfoTitle{margin:0;font-size:18px}.streakInfoText{color:#f1f2f5e6;margin:0;font-size:14px;line-height:1.45}.datePickerBody{padding:2px 12px 12px}.calendarCaption{justify-content:space-between;align-items:center;gap:8px;padding:4px 4px 10px;display:flex}.calendarCaptionLabel{color:#fffffff2;text-transform:capitalize;font-size:15px;font-weight:700}.calendarNav{align-items:center;gap:6px;display:flex}.calendarNavBtn{color:#ffffffbf;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:28px;height:28px;font-size:20px;line-height:1;transition:background .18s,color .18s;display:grid}.calendarNavBtn:hover{color:#fff;background:#ffffff14}.calendarNavBtn:disabled{opacity:.35;cursor:default}.dayPicker,.rdp{width:100%;color:var(--text);font-size:13px}.dayPicker .rdp-caption,.dayPicker .rdp-nav,.dayPicker .rdp-caption_label{display:none!important}.rdp-months{display:block}.rdp-month{width:100%;position:relative}.rdp-caption{justify-content:space-between;align-items:center;gap:8px;height:32px;padding:0 6px;display:flex}.rdp-caption_label{text-align:left;text-transform:capitalize;flex:1;font-size:14px;font-weight:700;line-height:32px}.rdp-nav{color:#ffffffd9;justify-content:flex-end;align-items:center;gap:6px;display:flex}.rdp-nav_button,.rdp-nav button,.rdp-button_previous,.rdp-button_next,.rdp-nav_button_previous,.rdp-nav_button_next{color:#ffffffd9;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:20px;height:20px;padding:0;display:grid}.dayPicker button[aria-label^=Previous],.dayPicker button[aria-label^=Next]{color:#ffffffd9;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:22px;height:22px;padding:0;display:grid}.rdp-nav_button_previous,.rdp-button_previous{grid-column:1;justify-self:start}.rdp-nav_button_next,.rdp-button_next{grid-column:3;justify-self:end}.rdp-nav_button:hover,.rdp-nav button:hover,.rdp-button_previous:hover,.rdp-button_next:hover{color:#fffffff2;background:#ffffff0f}.rdp-nav_button svg,.rdp-nav button svg,.rdp-button_previous svg,.rdp-button_next svg,.dayPicker button[aria-label^=Previous] svg,.dayPicker button[aria-label^=Next] svg{stroke:currentColor;fill:currentColor;width:16px;height:16px}.rdp-nav_button path,.rdp-nav button path,.rdp-button_previous path,.rdp-button_next path{stroke:currentColor;fill:currentColor}.rdp-nav_button:disabled,.rdp-nav button:disabled{opacity:.35;cursor:default}.rdp-table{table-layout:fixed;border-collapse:separate;border-spacing:4px 6px;width:100%;display:table}.rdp-head_row{color:var(--muted);font-size:11px;display:table-row}.rdp-head_cell{text-align:center;text-transform:uppercase;letter-spacing:.04em;padding:6px 0;display:table-cell}.rdp-row{display:table-row}.rdp-cell{text-align:center;padding:0;display:table-cell;box-shadow:none!important;background:0 0!important;border:0!important}.rdp-day{appearance:none;color:#fffffff2;width:36px;height:36px;box-shadow:none;-webkit-tap-highlight-color:transparent;background:0 0;border-radius:999px;outline:none;place-items:center;margin:0 auto;padding:0;font-weight:600;display:grid;position:relative;border:0!important}.rdp-day:focus-visible{box-shadow:none;outline:none}.rdp-day_selected,.rdp-day[aria-selected=true]{color:#fff!important;background:#4da3ff!important;box-shadow:0 8px 16px #4da3ff59!important}.rdp-day_selected:hover,.rdp-day[aria-selected=true]:hover{background:#4da3ff!important;box-shadow:0 8px 16px #4da3ff59!important}.dayPicker button.rdp-day_selected,.dayPicker button[aria-selected=true]{color:#fff!important;background:#4da3ff!important;box-shadow:0 8px 16px #4da3ff59!important}.rdp-day_today:not(.rdp-day_selected){box-shadow:inset 0 0 0 1px #4da3ff8c}.rdp-day_today:not(.rdp-day_selected):before{content:"";background:#4da3ffe6;border-radius:999px;width:5px;height:5px;position:absolute;top:4px;right:4px}.rdp-day_disabled{color:#ffffff40;pointer-events:none;border-color:#ffffff0a}.rdp-day_outside{color:#ffffff40}.rdp-day_hasEntries:after{content:"";background:#4da3ff;border-radius:999px;width:4px;height:4px;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.rdp-day_selected.rdp-day_hasEntries:after{background:#fff}.dayPicker table{table-layout:fixed;border-collapse:separate;border-spacing:4px 6px;width:100%;display:table}.dayPicker thead{display:table-header-group}.dayPicker tbody{display:table-row-group}.dayPicker tr{display:table-row}.dayPicker th,.dayPicker td{text-align:center;padding:0;display:table-cell;box-shadow:none!important;background:0 0!important;border:0!important}.dayPicker th{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:11px}.dayPicker table button{color:#fffffff2;appearance:none;width:36px;height:36px;box-shadow:none;-webkit-tap-highlight-color:transparent;background:0 0;border-radius:999px;outline:none;place-items:center;margin:0 auto;padding:0;font-weight:600;display:grid;position:relative;border:0!important}.dayPicker table button:focus,.dayPicker table button:focus-visible{box-shadow:none;outline:none}.dayPicker table button:hover:not([aria-selected=true]):not(.rdp-day_today){background:0 0;box-shadow:inset 0 0 0 1px #ffffff40}.dayPicker table button[aria-selected=true]{color:#fff!important;background:#4da3ff!important;box-shadow:0 8px 16px #4da3ff59!important}.dayPicker table button[aria-selected=true]:hover{box-shadow:0 8px 16px #4da3ff59!important}.dayPicker [aria-selected=true]{color:#fff!important;background:#4da3ff!important}.dayPicker table button:disabled{color:#ffffff40}.dayPicker table button.rdp-day_today:not([aria-selected=true]),.dayPicker table button.rdp-day_today:not([aria-selected=true]):hover{box-shadow:inset 0 0 0 1px #4da3ff8c}.dayPicker table button.rdp-day_today:not([aria-selected=true]):before{content:"";background:#4da3ffe6;border-radius:999px;width:5px;height:5px;position:absolute;top:4px;right:4px}.dayPicker table button.rdp-day_hasEntries:after{content:"";background:#4da3ff;border-radius:999px;width:4px;height:4px;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.dayPicker table button.rdp-day_hasEntries[aria-selected=true]:after{background:#fff}@keyframes sheetBackdropFade{0%{opacity:0}to{opacity:1}}@keyframes sheetSlideUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.sheetDragArea{touch-action:pan-y;padding:6px 0 2px}.sheetHandle{background:#ffffff40;border-radius:999px;width:36px;height:4px;margin:8px auto 2px}.sheetHeader{justify-content:space-between;align-items:center;padding:6px 14px 0;display:flex}.sheetHeader.dateSheetHeader{justify-content:flex-end;width:100%;padding-right:12px}.sheetHeader.dateSheetHeader .sheetClose{margin-left:auto}.sheetTitle{color:var(--muted);font-size:12px}.sheetClose{color:#fff9;cursor:pointer;background:0 0;border:0;padding:4px 6px;font-size:22px;line-height:1}.sheetClose:focus-visible{border-radius:8px;outline:none;box-shadow:0 0 0 3px #6ea8fe40}.sheetField{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:6px 14px 12px;display:grid}.profileEditor .sheetField{padding-bottom:6px}.sheetInput{color:#fff;background:0 0;border:0;border-bottom:2px solid #ffffff38;outline:none;width:100%;padding:6px 0 8px;font-size:26px;font-weight:700}.sheetInput:focus{border-bottom-color:#6ea8fee6}.sheetInput.is-warn{border-bottom-color:#ffd166d9}.sheetInput.is-error{border-bottom-color:#ff6b6be6}.sheetInput::placeholder{color:#ffffff59}.sheetInput:disabled{opacity:.5;cursor:not-allowed}.sheetUnit{color:var(--muted);white-space:nowrap;padding-bottom:6px;font-size:13px}.sheetHelper{margin:0;padding:0 14px 12px;font-size:12px}.sheetMessage{padding:0 14px 8px;font-size:12px;line-height:1.4}.sheetMessage.is-warn{color:#ffd166f2}.sheetMessage.is-error{color:var(--danger)}.sheetError{padding:0 14px 8px}.sheetActions{border-top:1px solid #ffffff14;padding:12px 14px 16px}.profileEditor .sheetActions{border-top:0;padding-top:4px}.sheetSaveText{text-align:center;width:100%;font-size:16px}.modalBackdrop{z-index:50;background:#0000008c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modalCard{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:420px;padding:16px;box-shadow:0 18px 40px #0006}.iosModal{background:#1c1c1ef5;border:1px solid #ffffff14;border-radius:16px;max-width:320px;padding:0;overflow:hidden}.iosTitle{text-align:center;margin:16px 16px 6px;font-size:16px}.iosSubtitle{text-align:center;margin:0 16px 14px;font-size:12px}.iosActions{border-top:1px solid #ffffff14;flex-direction:column;display:flex}.iosBtn{color:#4da3ff;cursor:pointer;background:0 0;border:0;padding:12px 14px;font-size:15px;font-weight:600}.iosBtn:disabled{opacity:.6;cursor:not-allowed}.iosBtn+.iosBtn{border-top:1px solid #ffffff14}.iosPrimary{color:var(--success)}.iosDanger{color:var(--danger)}.iosCancel{color:var(--muted)}.goalCard{margin-top:12px;margin-bottom:18px}.goalMeta{text-align:right;font-size:12px}.goalTargetLine{font-size:13px;font-weight:700}.goalTargetSub{margin-top:2px;font-size:12px}.goalTrack{margin-top:12px}.goalProgressRow{align-items:center;gap:10px;display:flex}.goalBar{background:#ffffff14;border-radius:999px;flex:1;height:14px;position:relative;overflow:visible}.goalFill{background:linear-gradient(90deg,#6ea8fe66,#6ea8fef2);border-radius:999px;height:100%;transition:width .4s}.goalIcon{pointer-events:none;filter:drop-shadow(0 2px 6px #00000073);font-size:20px;position:absolute;top:50%;transform:translate(-50%,-50%)}.goalLabels{color:var(--muted);justify-content:space-between;margin-top:6px;font-size:11px;display:flex}.goalPercent{text-align:right;color:#ffffffd9;min-width:36px;font-size:12px;font-weight:700}.goalStats{gap:6px;margin-top:10px;display:grid}.goalLine{color:#ffffffd9;font-size:13px}
