:root{--bg:#f6f5f1;--card:#fff;--band:#f6f5f1;--band-2:#f6f5f1;--text:#3c3b37;--text-muted:#7a786f;--text-h:#1c1b19;--border:#e6e3da;--accent:#1f6f8b;--accent-soft:#e5eff2;--accent-text:#fff;--water:#2f9be0;--sodium:#e46a88;--calcium:#a25fd6;--sleep:#6c6fe0;--move:#2fae78;--mindful:#eba93b;--sun:#f2b84b;--caution:#a65f0c;--caution-soft:#fbf0e1;--good:#2a7f4c;--good-soft:#e5f2e8;--danger:#b3261e;--shadow:none;--radius:16px;--sans:-apple-system, system-ui, "SF Pro Text", "Segoe UI", Roboto, sans-serif;--display:ui-serif, "New York", "Iowan Old Style", Georgia, serif;font:17px/1.45 var(--sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#1e1d1b;--card:#282724;--band:#1e1d1b;--band-2:#1e1d1b;--text:#d9d6cc;--text-muted:#9c998f;--text-h:#f3f1ea;--border:#3a3833;--accent:#6bb8d1;--accent-soft:#1f3640;--accent-text:#0c2530;--water:#5ab8f2;--sodium:#f08aa3;--calcium:#c79af0;--sleep:#9699f2;--move:#5cd39f;--mindful:#f4c56e;--caution:#f0b35a;--caution-soft:#33260f;--good:#7fd18f;--good-soft:#15301c;--danger:#f28b82;--shadow:none}}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);overscroll-behavior-x:none;max-width:100%;margin:0;overflow-x:clip}img,svg{max-width:100%}body{min-height:100dvh}h1,h2,h3{color:var(--text-h);line-height:1.15;font-family:var(--display);margin:0}h2{font-family:var(--sans);letter-spacing:-.01em;align-items:center;gap:8px;font-size:1.06rem;font-weight:650;display:flex}p{margin:0}.display{letter-spacing:-.01em;font-size:2.1rem;font-weight:500}.eyebrow{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;font-weight:700}.center{text-align:center}.lead{color:var(--text-h);font-size:1.1rem;line-height:1.45}.lead.strong{font-weight:650}.hint,label small{color:var(--text-muted);font-size:.9rem;font-weight:400}.small-heading{font-size:1rem}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.app{max-width:560px;padding-bottom:calc(24px + env(safe-area-inset-bottom));margin:0 auto}.shell{background:var(--bg);flex-direction:column;display:flex;position:fixed;inset:0}.scroller{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow:hidden auto}html.sheet-open .scroller{overflow-y:hidden}.app.with-tabs{padding-bottom:80px}.screen-body{padding:4px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));flex-direction:column;gap:12px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.stack.tight{gap:8px}.row{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.row>label{flex:140px}.row>*{min-width:0}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow);flex-direction:column;gap:12px;padding:16px;display:flex}.card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.hero-band{background:var(--bg);padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 4px max(20px, env(safe-area-inset-left));margin-bottom:12px;position:relative}.screen .hero-inner .display{font-size:1.8rem}.hero-inner{flex-direction:column;gap:12px;display:flex}.hero-row{justify-content:space-between;align-items:center;display:flex}.hero-curve{width:100%;height:20px;fill:var(--band-2);display:none;position:absolute;bottom:-18px;left:0;right:0}.avatar{background:var(--card);width:88px;height:88px;color:var(--accent);font:800 2.2rem var(--display);box-shadow:var(--shadow);border-radius:50%;place-items:center;margin:8px auto 0;display:grid}label{color:var(--text-h);flex-direction:column;gap:6px;font-size:.95rem;font-weight:650;display:flex}input,select,textarea{font:inherit;color:var(--text-h);background:var(--card);border:1px solid var(--border);box-sizing:border-box;appearance:none;border-radius:14px;width:100%;height:48px;padding:0 14px;font-weight:400}select{background-image:linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);background-position:calc(100% - 18px) 21px,calc(100% - 13px) 21px;background-repeat:no-repeat;background-size:5px 5px;padding-right:32px}select.wheel{font-size:1.05rem;font-weight:650}input[type=checkbox],input[type=radio]{appearance:auto;width:22px;height:22px;accent-color:var(--accent);border-radius:7px;flex:none;padding:0}input:focus-visible,select:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}fieldset{border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:8px;min-width:0;margin:0;padding:14px;display:flex}legend{color:var(--text-h);padding:0 4px;font-weight:650}legend small{color:var(--text-muted);font-weight:400}fieldset.analyte{grid-template-columns:1fr 1.25fr 1fr;align-items:end;gap:8px;display:grid}fieldset.analyte label{color:var(--text-muted);font-size:.8rem;font-weight:500}fieldset.analyte input,fieldset.analyte select{height:44px;font-size:.95rem}button{font:inherit;cursor:pointer;border:1px solid var(--border);-webkit-user-select:none;user-select:none;touch-action:manipulation;min-height:44px;color:var(--text-h);background:0 0;border-radius:999px;padding:8px 18px;font-weight:650;transition:transform .12s,opacity .12s}button:active:not(:disabled){opacity:.85;transform:scale(.97)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--accent);color:var(--accent-text);border-color:#0000;justify-content:center;align-items:center;gap:8px;font-weight:650;display:inline-flex}button.big-button{min-height:56px;font-size:1.08rem}button.ghost{color:var(--accent);border-color:#0000}button.ghost.danger{color:var(--danger)}button.link{color:var(--accent);text-underline-offset:3px;border:none;border-radius:0;align-self:flex-start;min-height:0;padding:0;font-weight:600;text-decoration:underline}.icon-button{width:40px;min-height:40px;color:var(--text-muted);border:none;place-items:center;padding:0;display:grid}.icon{flex:none}.info{display:inline;position:relative}.info-term{min-height:0;font:inherit;color:var(--accent);text-underline-offset:3px;border:none;border-radius:0;padding:0;font-weight:650;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;display:inline}.popover{z-index:50;background:var(--card);max-width:420px;color:var(--text);border:1px solid var(--border);text-align:left;border-radius:18px;flex-direction:column;gap:6px;margin:0 auto;padding:16px 18px;font-size:.95rem;font-weight:400;animation:.12s ease-out pop;display:flex;position:fixed;top:30%;left:16px;right:16px;box-shadow:0 16px 48px #122b3e47}.popover strong{color:var(--text-h)}@keyframes pop{0%{transform:scale(.97)}}.onboarding{padding:max(20px, env(safe-area-inset-top)) 20px 24px;box-sizing:border-box;flex-direction:column;gap:16px;min-height:100dvh;display:flex}.scene{justify-content:center;padding:8px 0 0;display:flex}.illustration .accent-1{stroke:var(--accent)}.illustration .accent-2{stroke:var(--water)}.illustration .accent-3{stroke:color-mix(in srgb, var(--water) 45%, transparent)}.illustration .accent-sun{stroke:var(--sun)}.illustration .accent-sleep{stroke:var(--sleep)}.scene-done .ripple{transform-origin:120px 76px;animation:2.4s ease-out infinite ripple}.scene-done .r2{animation-delay:.4s}.scene-done .r3{animation-delay:.8s}.scene-done .check-draw{stroke-width:2.4px;stroke-dasharray:40;stroke-dashoffset:40px;animation:.8s ease-out .3s forwards draw}@keyframes ripple{0%{opacity:.2;transform:scale(.85)}40%{opacity:1}to{opacity:0;transform:scale(1.08)}}@keyframes draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){.scene-done .ripple,.scene-done .check-draw,.sheet,.popover{stroke-dashoffset:0;animation:none}}.step-title{letter-spacing:-.02em;font-size:1.7rem;font-weight:700}.progress{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.progress span{background:var(--border);border-radius:999px;height:5px}.progress span.on{background:var(--accent)}.feature-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.feature-list li{align-items:flex-start;gap:12px;display:flex}.feature-list .icon{color:var(--accent);margin-top:1px}.choices{border:none;padding:0}.choices legend{padding:0 0 6px}label.choice{border:1.5px solid var(--border);background:var(--card);cursor:pointer;border-radius:16px;flex-direction:row;align-items:center;gap:12px;padding:13px 16px;font-weight:600}label.choice.compact{padding:10px 14px}label.choice.selected{border-color:var(--accent);background:var(--accent-soft)}label.choice small{color:var(--text-muted);font-size:.85rem;font-weight:400;display:block}.segmented{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.segmented label.choice{justify-content:center;min-width:0;padding:10px 6px;position:relative}.segmented input[type=radio]{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.nav-row{justify-content:space-between;gap:12px;margin-top:auto;padding-top:8px;display:flex}.nav-row .primary{min-width:140px}.suggest-card{background:var(--accent-soft);border-radius:var(--radius);flex-direction:column;gap:10px;padding:16px;display:flex}.target-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);align-items:flex-start;gap:14px;padding:16px;display:flex}.target-card.water>.icon{color:var(--water)}.target-card.sodium>.icon{color:var(--sodium)}.target-card.calcium>.icon{color:var(--move)}.target-card>div{flex-direction:column;gap:4px;display:flex}.target-label{color:var(--text-muted);font-size:.85rem;font-weight:650}.target-value{color:var(--text-h);font:800 1.8rem var(--display);letter-spacing:-.02em}.target-value.small{font-size:1.15rem}.done-step{text-align:center;justify-content:center}details.plain>summary{cursor:pointer;color:var(--accent);align-items:center;min-height:36px;font-weight:650;list-style:none;display:flex}details.plain[open]>summary{margin-bottom:8px}.rings-panel{background:color-mix(in srgb, var(--card) 70%, transparent);border-radius:var(--radius);align-items:center;gap:16px;padding:14px;display:flex}.rings{flex:none;width:138px;height:138px}.rings circle{fill:none;stroke-linecap:round}.rings .ring-bg{opacity:.18}.rings .ring-fg{transition:stroke-dashoffset .6s}.ring-water circle,.legend-water .swatch{stroke:var(--water);background:var(--water)}.ring-sodium circle,.legend-sodium .swatch{stroke:var(--sodium);background:var(--sodium)}.ring-calcium circle,.legend-calcium .swatch{stroke:var(--calcium);background:var(--calcium)}.ring-sleep circle,.legend-sleep .swatch{stroke:var(--sleep);background:var(--sleep)}.ring-move circle,.legend-move .swatch{stroke:var(--move);background:var(--move)}.ring-mindful circle,.legend-mindful .swatch{stroke:var(--mindful);background:var(--mindful)}.ring-sodium.over .ring-fg{stroke:var(--caution)}.ring-legend{flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.ring-legend li{display:block}.swatch{border-radius:50%;width:10px;height:10px}.legend-label{color:var(--text-h);font-size:.9rem;font-weight:700}.legend-value{color:var(--text-muted);text-align:right;font-size:.8rem}.ring-legend li.over .legend-value{color:var(--caution);font-weight:700}.summary{color:var(--text-h);font-size:1.05rem;font-weight:650}.status{font-size:.95rem}.status.near-cutoff,.status.after-cutoff,.status.behind{color:var(--caution)}.status.done{color:var(--good)}.chips{scrollbar-width:none;gap:8px;margin:0 -18px;padding:0 18px 2px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chip{border:1.5px solid var(--border);flex:none;min-height:36px;padding:4px 14px;font-size:.88rem;font-weight:600}.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.cups{scroll-snap-type:x proximity;scrollbar-width:none;gap:8px;min-width:0;margin:0 -4px;padding:0 4px 2px;display:flex;overflow-x:auto}.cups::-webkit-scrollbar{display:none}.cups{padding-top:8px}.cups .cup-wrap{scroll-snap-align:start;flex:0 0 84px;display:flex;position:relative}.cups .cup-wrap .cup{flex:1}.cups .cup{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.cups>.cup.add{flex:0 0 64px;justify-content:center}.cups>.cup.done{background:var(--accent);color:var(--accent-text);border-style:solid}.cups>.cup.done .cup-name{color:var(--accent-text)}.cups.editing .cup-wrap .cup{animation:.26s ease-in-out infinite alternate wobble}.cups.editing .cup-wrap:nth-child(2n) .cup{animation-delay:-.13s}@keyframes wobble{0%{transform:rotate(-1.8deg)}to{transform:rotate(1.8deg)}}@media (prefers-reduced-motion:reduce){.cups.editing .cup-wrap .cup{animation:none}}.cup-remove{z-index:1;border:2px solid var(--card);background:var(--text-muted);color:#fff;border-radius:50%;place-items:center;width:26px;height:26px;min-height:0;padding:0;display:grid;position:absolute;top:-7px;left:-5px}.preset-list{overscroll-behavior:contain;border:1px solid var(--border);border-radius:16px;flex:none;max-height:38dvh;margin:0;padding:0;list-style:none;overflow-y:auto}.preset-list li+li{border-top:1px solid var(--border)}button.preset{width:100%;color:var(--accent);text-align:left;background:0 0;border:none;border-radius:0;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:0;padding:12px 14px;display:grid}button.preset span{color:var(--text-h);font-weight:600}button.preset small{color:var(--text-muted);font-weight:500}.cup{border:1.5px solid var(--border);background:var(--accent-soft);color:var(--accent);border-radius:18px;flex-direction:column;align-items:center;gap:2px;min-height:0;padding:12px 4px 10px;display:flex}.cup.add{background:0 0;border-style:dashed}.cup-name{color:var(--text-h);text-align:center;font-size:.85rem;font-weight:700;line-height:1.2}.cup-size{color:var(--text-muted);font-size:.75rem;font-weight:500}.fractions{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.fraction{border:2px solid var(--water);border-radius:18px 18px 22px 22px;justify-content:center;align-items:flex-end;height:150px;padding:0;display:flex;position:relative;overflow:hidden}.fraction .fill{background:color-mix(in srgb, var(--water) 30%, transparent);position:absolute;bottom:0;left:0;right:0}.fraction-label{color:var(--text-h);padding:8px 4px;font-size:.8rem;font-weight:700;line-height:1.2;position:relative}button.log-meal{justify-content:center;align-items:center;gap:8px;width:100%;display:flex}.week-grid{grid-template-columns:auto 1fr;align-items:center;gap:8px 10px;display:grid}.week-label{color:var(--text-h);font-size:.8rem;font-weight:700}.week-letters{text-align:center;color:var(--text-muted);grid-template-columns:repeat(7,1fr);margin:0;padding:0;font-size:.75rem;font-weight:600;list-style:none;display:grid}.week-letters .today{color:var(--accent);font-weight:800}.week{text-align:center;grid-template-columns:repeat(7,1fr);gap:6px;margin:0;padding:0;list-style:none;display:grid}.day{flex-direction:column;align-items:center;gap:4px;display:flex}.day-dot{border:1.5px dashed var(--border);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.week{--dot:var(--water)}.week.legend-sodium{--dot:var(--sodium)}.week.legend-calcium{--dot:var(--calcium)}.week.legend-sleep{--dot:var(--sleep)}.week.legend-move{--dot:var(--move)}.week.legend-mindful{--dot:var(--mindful)}.day.logged .day-dot{border-style:solid;border-color:color-mix(in srgb, var(--dot) 50%, transparent)}.day.met .day-dot{background:var(--dot);border:none}.day.today:not(.met) .day-dot{border-style:solid;border-color:var(--dot)}.day.future{opacity:.45}.day-letter{color:var(--text-muted);font-size:.78rem;font-weight:600}.detected{flex-direction:column;gap:8px;display:flex}.food-chips,.tag-row{flex-wrap:wrap;gap:6px;display:flex}.food-chip{background:var(--accent-soft);color:var(--text-h);border-radius:999px;align-items:baseline;gap:6px;padding:4px 12px;font-size:.88rem;display:inline-flex}.food-chip small{color:var(--text-muted)}.badge{background:var(--caution-soft);color:var(--caution);border-radius:999px;padding:3px 10px;font-size:.75rem;font-weight:650;display:inline-block}.badge.good,.badge.tag-hasCalcium,.badge.tag-citrus{background:var(--good-soft);color:var(--good)}.badge.tag-salty{background:color-mix(in srgb, var(--sodium) 16%, transparent);color:var(--sodium)}.preview{background:var(--accent-soft);border-radius:18px;flex-direction:column;gap:8px;padding:14px;display:flex}.nudge{color:var(--text-h);align-items:flex-start;gap:8px;font-weight:600;display:flex}.nudge .icon{color:var(--water);margin-top:2px}.meal{border-top:1px solid var(--border);flex-direction:column;gap:4px;padding-top:12px;display:flex}.meal-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.meal-actions{flex:none;display:flex}.plan{flex-direction:column;gap:14px;margin:0;padding-left:22px;display:flex}.plan li{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.plan li::marker{color:var(--accent);font-weight:700}.plan-title{color:var(--text-h);font-weight:650}.notes{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.note{border-left:3px solid var(--border);padding-left:10px}.note.caution{border-color:var(--caution)}.note.good{border-color:var(--good)}.tag{border:1px solid var(--border);color:var(--text-muted);white-space:nowrap;border-radius:999px;align-self:flex-start;padding:1px 8px;font-size:.72rem;display:inline-block}.quick-logs{flex-wrap:wrap;gap:8px;display:flex}.quick{border:1.5px solid var(--border);align-items:center;gap:8px;display:inline-flex}.ring-sleep-text .icon{color:var(--sleep)}.ring-move-text .icon{color:var(--move)}.ring-mindful-text .icon{color:var(--mindful)}.fold{gap:0;padding:0}.fold>summary{cursor:pointer;color:var(--text-h);align-items:center;gap:12px;padding:16px 18px;list-style:none;display:flex}.fold>summary::-webkit-details-marker{display:none}.fold>summary>.icon:first-child{color:var(--accent)}.fold-title{flex-direction:column;flex:1;font-size:1.05rem;font-weight:650;display:flex}.fold-title small{color:var(--text-muted);font-size:.85rem;font-weight:400}.fold-chevron{color:var(--text-muted);transition:transform .2s}.fold[open] .fold-chevron{transform:rotate(90deg)}.fold-body{padding:0 18px 18px}.moods{flex-wrap:wrap;gap:8px;display:flex}.mood{border:1.5px solid var(--border);padding:6px 16px;font-size:.9rem}.checkin.answered{border-left:5px solid var(--accent)}.checkin.mood-rough,.checkin.mood-struggling{border-left-color:var(--caution)}.checkin-message{color:var(--text-h)}.support{background:var(--caution-soft);color:var(--text-h);border-radius:16px;flex-direction:column;gap:6px;padding:14px;display:flex}.bullets{flex-direction:column;gap:4px;margin:0;padding-left:20px;display:flex}.celebrate{background:var(--good-soft);border-color:#0000}.thought{background:var(--accent-soft);border-color:#0000}.thought-text{font:600 1.1rem/1.45 var(--display);color:var(--text-h)}.fact{background:linear-gradient(135deg, var(--band) 0%, var(--band-2) 100%);border-color:#0000}.factor-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.trends{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.trends li{grid-template-columns:1fr auto auto;align-items:center;gap:10px;font-size:.95rem;display:grid}.trend-name{color:var(--text-h);font-weight:650}.trend-dir{font-size:.85rem;font-weight:650}.trends li.better .trend-dir{color:var(--good)}.trends li.worse .trend-dir{color:var(--caution)}.trends li.same .trend-dir{color:var(--text-muted)}.errors{border:1px solid var(--danger);color:var(--danger);border-radius:12px;padding:10px 14px}.list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;display:flex}.check{flex-direction:row;align-items:center;gap:10px;min-height:40px;font-weight:550}html.sheet-open body{position:fixed;left:0;right:0;overflow:hidden}.sheet-backdrop{overscroll-behavior:contain;z-index:40;background:#0a192359;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{overscroll-behavior:contain;background:var(--bg);width:100%;max-width:560px;max-height:88dvh;padding:10px 18px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box;border-radius:26px 26px 0 0;outline:none;flex-direction:column;gap:14px;animation:.32s cubic-bezier(.32,.72,0,1) slide-up;display:flex;overflow-y:auto}.sheet-handle{background:var(--border);border-radius:999px;width:44px;height:5px;margin:0 auto 4px}.sheet-head{justify-content:space-between;align-items:center;display:flex}@keyframes slide-up{0%{transform:translateY(100%)}}.toast{left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:35;background:var(--text-h);color:var(--bg);white-space:nowrap;border-radius:999px;align-items:center;gap:14px;padding:6px 6px 6px 18px;font-weight:600;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0003}.toast button{background:var(--accent);color:var(--accent-text);border-color:#0000;min-height:36px}.tabbar{z-index:20;padding:8px 12px max(10px, env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--border);flex:none;justify-content:space-around;display:flex;position:relative}.tabbar button{max-width:140px;color:var(--text-muted);background:0 0;border:none;border-radius:14px;flex-direction:column;flex:1;align-items:center;gap:3px;padding:4px 0;font-size:.75rem;font-weight:600;display:flex}.tabbar svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.tabbar button[aria-current=page]{color:var(--accent)}.tabbar button[aria-current=page] svg{fill:var(--accent-soft)}label.upload{border:1.5px dashed var(--accent);background:var(--accent-soft);cursor:pointer;color:var(--accent);border-radius:18px;flex-direction:row;align-items:center;gap:14px;padding:16px}label.upload span{color:var(--text-h);flex-direction:column;gap:2px;display:flex}label.upload small{color:var(--text-muted);font-size:.85rem;font-weight:400}label.upload input{opacity:0;width:1px;height:1px;position:absolute}label.upload.busy{opacity:.7;cursor:progress}label.upload:focus-within{outline:2px solid var(--accent);outline-offset:2px}.divider{color:var(--text-muted);align-items:center;gap:12px;margin:4px 0;font-size:.85rem;display:flex}.divider:before,.divider:after{content:"";border-top:1px solid var(--border);flex:1}.ai-banner{background:var(--caution-soft);color:var(--text-h);border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:12px 14px;font-weight:600;display:flex}.ai-banner .icon{color:var(--caution);flex:none}.ai-banner span{flex:1}.ai-banner small{color:var(--text-muted);flex-basis:100%;font-weight:400}.food-list,.app-list,.resource-list,.flag-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.food-list li,.app-list li{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:10px 0;display:flex}.food-list li>span:first-child,.app-list li>span{flex-direction:column;flex:1;display:flex}.food-list small,.app-list small,.resource-list small{color:var(--text-muted);font-size:.85rem}.nutrition{flex-direction:column;gap:4px;margin:12px 0;display:flex}.nutrition .tag{align-self:flex-start}.day-totals{color:var(--text-h);margin:0;font-weight:650}.row>button{flex:140px}.app-list li{align-items:flex-start}.app-list .icon{color:var(--accent);flex:none;margin-top:2px}.app-list .badge{align-self:flex-start;margin-top:6px;font-style:normal}.badge.soft{background:var(--accent-soft);color:var(--accent);white-space:nowrap}.video-frame{aspect-ratio:16/9;background:linear-gradient(160deg, var(--band), var(--band-2));color:var(--accent);border-radius:16px;place-items:center;display:grid}.card.urgent{border-color:var(--danger)}.card.urgent h2 .icon{color:var(--danger)}.flag-list{gap:6px}.flag-list li{padding-left:18px;position:relative}.flag-list li:before{content:"";background:var(--danger);border-radius:50%;width:7px;height:7px;position:absolute;top:.6em;left:2px}.resource-list{gap:14px}.resource-list li{flex-direction:column;gap:2px;display:flex}.resource-list a{color:var(--accent);align-items:center;gap:6px;font-weight:650;text-decoration:none;display:inline-flex}.glossary{flex-direction:column;gap:12px;margin:0;display:flex}.glossary dt{color:var(--text-h);font-weight:700}.glossary dd{color:var(--text);margin:2px 0 0}.status-row{align-items:center;gap:10px;display:flex}.status-row h2{white-space:nowrap;margin:0}.status-value{min-width:0;color:var(--text-h);white-space:nowrap;text-overflow:ellipsis;flex:1;font-weight:600;overflow:hidden}.status-row button.link{flex:none}.card.status:not(.phase-quiet){border-left:5px solid var(--accent)}.card.status.phase-passing-hard{border-left-color:var(--danger)}.status-message{color:var(--text-h);margin:0;font-weight:600}button.type-toggle{text-align:left;border:1.5px solid var(--border);background:var(--card);width:100%;color:var(--accent);border-radius:18px;align-items:center;gap:14px;padding:16px;display:flex}button.type-toggle span{color:var(--text-h);flex-direction:column;flex:1;gap:2px;font-weight:650;display:flex}button.type-toggle small{color:var(--text-muted);font-size:.85rem;font-weight:400}.toggle-chevron{color:var(--text-muted);flex:none}form.typed{border-top:1px solid var(--border);padding-top:12px}.path{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.path-step{grid-template-columns:24px 1fr;gap:12px;padding:10px 0;display:grid;position:relative}.path-step:not(:last-child):after{content:"";border-left:2px solid var(--border);position:absolute;top:34px;bottom:-6px;left:11px}.path-dot{border:2px solid var(--border);box-sizing:border-box;background:var(--card);border-radius:50%;place-items:center;width:24px;height:24px;margin-top:2px;display:grid}.path-step.done .path-dot{background:var(--good);border-color:var(--good);color:#fff}.path-step.due .path-dot,.path-step.next .path-dot{border-color:var(--accent);background:var(--accent-soft)}.path-step p{margin:0}.path-step .plan-title{align-items:center;gap:8px;display:flex}.path-when{color:var(--accent);font-size:.9rem;font-weight:650}.path-step.done .path-when{color:var(--good)}.card.status:not(.phase-quiet) .status-row{flex-wrap:wrap}.card.status:not(.phase-quiet) .status-value{white-space:normal;flex-basis:100%;order:3;font-size:1.15rem;font-weight:650}.card.status:not(.phase-quiet) .status-row h2{flex:1}.pair-row{flex-wrap:wrap;gap:8px;display:flex}.chip.pair{color:var(--calcium);border-color:color-mix(in srgb, var(--calcium) 40%, transparent);background:color-mix(in srgb, var(--calcium) 10%, transparent);align-items:center;gap:4px;display:inline-flex}.copy-field{align-items:center;gap:8px;display:flex}.copy-field input{min-width:0;color:var(--text-muted);flex:1;font-size:.85rem}.steps{flex-direction:column;gap:6px;margin:0;padding-left:22px;display:flex}.ask-fab{right:16px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:25;background:var(--accent);width:54px;height:54px;color:var(--accent-text);border:none;border-radius:50%;place-items:center;padding:0;font-weight:700;display:grid;position:fixed;box-shadow:0 6px 20px #122b3e2e}.ask-fab svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:26px;height:26px}.chat{flex-direction:column;gap:10px;display:flex}.bubble{white-space:pre-wrap;border-radius:18px;max-width:88%;margin:0;padding:12px 14px;line-height:1.45}.bubble.user{background:var(--accent);color:var(--accent-text);border-bottom-right-radius:6px;align-self:flex-end}.bubble.assistant{background:var(--card);border:1px solid var(--border);color:var(--text-h);border-bottom-left-radius:6px;align-self:flex-start}.bubble.thinking{color:var(--text-muted)}.ask-row{gap:8px;display:flex}.ask-row input{flex:1;min-width:0}.screen-body{padding-bottom:8px}input[type=date],input[type=time]{text-align:left;min-width:0;display:block}input::-webkit-date-and-time-value{text-align:left}fieldset.analyte>*{min-width:0}.tabbar{padding-left:max(12px, env(safe-area-inset-left));padding-right:max(12px, env(safe-area-inset-right))}.activity-list{color:var(--text);flex-direction:column;gap:4px;margin:0;padding:0;font-size:.95rem;list-style:none;display:flex}.ask-footer{bottom:calc(-24px - env(safe-area-inset-bottom));margin:0 -18px calc(-24px - env(safe-area-inset-bottom));padding:10px 18px calc(16px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--border);flex-direction:column;gap:10px;display:flex;position:sticky}.chips.starters{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto}.chips.starters .chip{white-space:nowrap;flex:none}.badge.good{background:var(--good-soft);color:var(--good)}button.small{align-self:flex-start;min-height:36px;margin-top:6px;padding:6px 14px;font-size:.9rem}.health-line{color:var(--text);margin:0;font-size:.95rem}.day-nav{align-items:center;gap:2px;margin-right:-10px;display:flex}.day-nav .eyebrow{flex:1;order:-1;margin:0}.icon.flip{transform:scaleX(-1)}button.secondary-action{background:var(--card);min-height:48px;color:var(--accent);border:1px solid var(--border);justify-content:center;align-items:center;gap:8px;font-weight:600;display:inline-flex}textarea{resize:vertical;height:auto;min-height:84px;padding:12px 14px;line-height:1.4}.pain{flex-direction:column;gap:8px;display:flex}.pain-label{color:var(--text-h);margin:0;font-size:.95rem;font-weight:600}.pain-scale{grid-template-columns:repeat(11,minmax(0,1fr));gap:4px;display:grid}.pain-scale .pain-dot{font-variant-numeric:tabular-nums;background:var(--card);border:1px solid var(--border);min-height:40px;color:var(--text-h);border-radius:12px;padding:0;font-size:.9rem;font-weight:650}.pain-dot[aria-pressed=true]{color:#fff;border-color:#0000}.pain-dot.p0[aria-pressed=true],.pain-dot.p1[aria-pressed=true],.pain-dot.p2[aria-pressed=true],.pain-dot.p3[aria-pressed=true]{background:var(--good)}.pain-dot.p4[aria-pressed=true],.pain-dot.p5[aria-pressed=true],.pain-dot.p6[aria-pressed=true]{background:var(--caution)}.pain-dot.p7[aria-pressed=true],.pain-dot.p8[aria-pressed=true],.pain-dot.p9[aria-pressed=true],.pain-dot.p10[aria-pressed=true]{background:var(--danger)}.episode-latest{color:var(--text);flex-wrap:wrap;gap:4px 14px;margin:0;font-size:.92rem;display:flex}.episode-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.episode-actions button.tile{background:var(--accent-soft);min-height:72px;color:var(--accent);text-align:center;border:none;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 6px;font-size:.85rem;font-weight:650;line-height:1.2;display:flex}.stone-photo{object-fit:contain;background:var(--card);border-radius:14px;width:100%;max-height:240px}.working-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.working-list li{border-bottom:1px solid var(--border);flex-direction:column;gap:4px;padding-bottom:12px;display:flex}.working-list li:last-child{border-bottom:none;padding-bottom:0}.working-lab{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.working-lab span:not(.badge){color:var(--text);font-variant-numeric:tabular-nums}.working-habit{color:var(--text-muted);margin:0;font-size:.92rem}.experiment-status{color:var(--text-h);margin:0;font-weight:650}.experiment-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.experiment-days li{aspect-ratio:1;border:1.5px solid var(--border);color:#fff;border-radius:50%;place-items:center;max-width:34px;display:grid}.experiment-days li.hit{background:var(--good);border-color:#0000}.experiment-days li.miss{border-style:dashed}.experiment-days li.later{opacity:.4}.doc-preview{background:var(--card);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:14px;padding:18px 16px;display:flex}.doc-title{font-family:var(--display);color:var(--text-h);margin:0;font-size:1.35rem}.doc-section{flex-direction:column;gap:4px;display:flex}.doc-section h3{font-family:var(--sans);color:var(--accent);margin:0 0 2px;font-size:.95rem}.doc-section p{margin:0;font-size:.95rem}.doc-section table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.9rem}.doc-section th{text-align:left;color:var(--text-muted);border-bottom:1px solid var(--border);padding:4px 6px 4px 0;font-weight:600}.doc-section td{border-bottom:1px solid var(--border);padding:5px 6px 5px 0}.doc-section tr.flagged td:last-child{color:var(--caution);font-weight:700}.experiment-days li.today{border-color:var(--accent);border-width:2px}.score-big{color:var(--accent);letter-spacing:.02em;font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:800}.buddy .chip{align-items:center;gap:4px;display:inline-flex}.standings{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.standings li{border-top:1px solid var(--border);color:var(--text-h);justify-content:space-between;align-items:baseline;padding:8px 0;font-weight:600;display:flex}.standings li:first-child{border-top:none}.standings li.you strong{color:var(--accent)}.standings strong{font-variant-numeric:tabular-nums;font-size:1.1rem}.buddy details .counts{margin-top:8px}.buddy details>button{margin-top:10px}.buddy .row>button{white-space:nowrap}.qr{aspect-ratio:1;background:#fff;border-radius:12px;width:min(240px,70vw);margin:4px auto 0;display:block}.share-url{text-align:center;color:var(--text-h);margin:0;font-weight:700}.own-size{align-items:flex-end;gap:10px;display:flex}.own-size>label{flex:1;min-width:0}.own-size>.segmented{flex:none;grid-template-columns:repeat(2,auto)}.rings-hint{text-align:center;margin:-4px 0 0;font-size:.8rem}.rings.pickable{cursor:pointer}.ring-legend button{text-align:left;width:100%;min-height:0;color:inherit;font:inherit;background:0 0;border:none;grid-template-columns:10px auto 1fr;align-items:baseline;column-gap:8px;padding:3px 0;display:grid}section.card[tabindex="-1"]:focus{outline:none}button.buddy-row{border:1.5px solid var(--border);background:var(--accent-soft);width:100%;color:var(--accent);text-align:left;border-radius:16px;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;margin-top:4px;padding:12px 14px;display:grid}.buddy-row-text{flex-direction:column;line-height:1.2;display:flex}.buddy-row-text strong{color:var(--text-h)}.buddy-row-text small{color:var(--text-muted);font-weight:500}button.buddy-row .score-big{font-size:1.25rem}.buddy-today{justify-content:space-between;align-items:baseline;display:flex}.activity-list li{justify-content:space-between;align-items:center;gap:8px;display:flex}.segmented label.choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}details.plain>summary::-webkit-details-marker{display:none}details.plain>summary:after{content:"";border-bottom:2px solid;border-right:2px solid;flex:none;width:7px;height:7px;margin:-3px 0 0 10px;transition:transform .2s;transform:rotate(45deg)}details.plain[open]>summary:after{margin-top:3px;transform:rotate(-135deg)}figure.quote{margin:4px 0 0;padding-left:30px;position:relative}figure.quote:before{content:"“";font:700 3.2rem/1 var(--display);color:var(--accent);opacity:.5;position:absolute;top:-14px;left:-2px}figure.quote blockquote{margin:0}figure.quote blockquote p{font:italic 600 1.15rem/1.45 var(--display);color:var(--text-h);margin:0}figure.quote figcaption{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);align-items:center;gap:8px;margin-top:8px;font-size:.75rem;font-weight:700;display:flex}figure.quote figcaption:before{content:"";background:currentColor;width:18px;height:1.5px}.pain-confirm,.status-picker{margin-top:10px}button.last-episode{align-self:flex-start;margin-top:6px;font-size:.88rem;font-weight:600}.chips.wrap{flex-wrap:wrap;overflow:visible}.episode-list{margin:0;padding:0;list-style:none}.episode-list li+li{border-top:1px solid var(--border)}button.episode-row{width:100%;color:var(--accent);text-align:left;background:0 0;border:none;border-radius:0;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}button.episode-row span{flex-direction:column;display:flex}button.episode-row strong{color:var(--text-h)}button.episode-row small{color:var(--text-muted);font-weight:500}.plus-price{color:var(--text-h);margin:0;font-size:1.1rem;font-weight:800}.plus .row{align-items:center}.plus .row .plan-title{margin:0}
