@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap";:root{--bg:#0e1116;--surface:#151922;--surface-2:#1e2430;--border:#262c36;--text:#f2f4f7;--text-2:#c9d0da;--muted:#9aa3af;--accent:#c6f432;--accent-ink:#0e1116;--coral:#ff7a59;--radius:14px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Manrope,system-ui,sans-serif}h1{letter-spacing:-.02em;font-family:Space Grotesk,sans-serif}button,input{font:inherit}.primary{border-radius:var(--radius);background:var(--accent);min-height:48px;color:var(--accent-ink);border:0;font-size:16px;font-weight:700}.primary:disabled{opacity:.6}.ghost{border:1px solid var(--border);min-height:44px;color:var(--text);background:0 0;border-radius:12px;padding:0 14px}.error{color:var(--coral);margin:0;font-size:14px}.signin{flex-direction:column;justify-content:center;gap:32px;max-width:420px;min-height:100%;margin:0 auto;padding:32px 28px;display:flex}.signin-brand{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.signin-brand h1{margin:0;font-size:34px}.signin-brand p{color:var(--muted);margin:0}.signin-form{flex-direction:column;gap:10px;display:flex}.signin-form label{color:var(--text-2);font-size:13px;font-weight:600}.signin-form input{border-radius:var(--radius);background:var(--surface);min-height:50px;color:var(--text);border:1px solid #2e3644;padding:0 16px;font-size:16px}.shell{flex-direction:column;max-width:560px;height:100dvh;margin:0 auto;display:flex}.screen{flex:1;padding:20px 16px;overflow-y:auto}.tabs{padding:6px 8px calc(10px + env(safe-area-inset-bottom));background:#0b0e12;border-top:1px solid #1b2029;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.tabs button{min-height:48px;color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11.5px;font-weight:600;display:flex}.tabs button[aria-current=page]{color:var(--accent);font-weight:700}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.screen-chat{flex:1;min-width:0;min-height:0;display:flex}.screen-chat[hidden]{display:none}.chat{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.chat-header{padding:calc(18px + env(safe-area-inset-top)) 20px 12px;border-bottom:1px solid #222833;justify-content:space-between;align-items:center;display:flex}.chat-brand{align-items:center;gap:10px;display:flex}.chat-brand>div{flex-direction:column;display:flex}.chat-title{letter-spacing:-.02em;font-family:Space Grotesk,sans-serif;font-size:19px;font-weight:700}.chat-subtitle{color:var(--muted);font-size:12px}.icon-button{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--text-2);cursor:pointer;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.icon-button:disabled,.send-button:disabled{opacity:.5}.chat-header .icon-button{color:var(--text)}.recording-button{background:var(--coral);border-color:var(--coral);color:var(--accent-ink)}.thread{overscroll-behavior:contain;flex-direction:column;flex:1;gap:14px;min-height:0;padding:16px 16px 12px;display:flex;overflow-y:auto}.thread-empty{text-align:center;color:var(--muted);margin:auto 12px;font-size:14px;line-height:1.5}.user-message{flex-direction:column;align-self:flex-end;align-items:flex-end;gap:6px;max-width:78%;display:flex}.bubble{background:var(--surface-2);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:18px 18px 4px;padding:11px 14px;font-size:15px;line-height:1.45}.user-photo{object-fit:cover;background:#1a1f29;border-radius:16px;width:180px;max-width:100%;height:120px}.voice{white-space:normal;flex-direction:column;gap:4px;display:flex}.voice-label{align-items:center;gap:6px;font-size:14px;font-weight:600;display:inline-flex}.voice-label svg{width:16px;height:16px;color:var(--accent)}.voice-transcript{color:var(--text-2);font-size:14px}.assistant-message{overflow-wrap:anywhere;align-self:flex-start;max-width:88%;font-size:15px;line-height:1.5}.assistant-message>:first-child{margin-top:0}.assistant-message>:last-child{margin-bottom:0}.assistant-message p,.assistant-message ul,.assistant-message ol{margin:0 0 8px}.assistant-message ul,.assistant-message ol{padding-left:20px}.assistant-message li+li{margin-top:2px}.assistant-message h1,.assistant-message h2,.assistant-message h3{letter-spacing:-.01em;margin:12px 0 6px;font-family:Space Grotesk,sans-serif;font-size:17px}.assistant-message a{color:var(--accent)}.assistant-message code{background:var(--surface);border-radius:6px;padding:1px 5px;font-size:13.5px}.assistant-message pre{background:var(--surface);border-radius:10px;padding:10px 12px;overflow-x:auto}.assistant-message table{border-collapse:collapse;font-size:14px;display:block;overflow-x:auto}.assistant-message th,.assistant-message td{border:1px solid var(--border);text-align:left;padding:5px 8px}.action-card{background:var(--surface);border:1px solid #2a3240;border-radius:14px;align-self:flex-start;align-items:center;gap:12px;width:88%;padding:12px 14px;display:flex}.action-icon{width:36px;height:36px;color:var(--accent);background:#c6f43224;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.action-card.failed .action-icon{color:var(--coral);background:#ff7a5924}.action-text{flex-direction:column;gap:2px;min-width:0;display:flex}.action-title{font-size:14px;font-weight:700}.action-detail{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.thread-error{align-self:flex-start;max-width:88%}.typing{align-self:flex-start;gap:5px;margin:4px 0;display:flex}.typing span{background:var(--muted);border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite typing}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes typing{0%,80%,to{opacity:.3}40%{opacity:1}}@media (prefers-reduced-motion:reduce){.typing span{animation:none}}.pending{border-top:1px solid #222833;flex-wrap:wrap;gap:8px;margin:0;padding:8px 12px 0;list-style:none;display:flex}.pending li{align-items:center;display:flex;position:relative}.pending-photo img{object-fit:cover;border-radius:12px;width:56px;height:56px}.pending-voice span{background:var(--surface);height:40px;color:var(--text-2);border:1px solid #2a3240;border-radius:999px;align-items:center;gap:6px;padding:0 36px 0 12px;font-size:13px;display:inline-flex}.pending-voice svg{width:16px;height:16px;color:var(--accent)}.pending button{border:1px solid var(--border);width:26px;height:26px;color:var(--text);background:#0b0e12;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:-6px;right:-6px}.pending-voice button{top:7px;right:7px}.composer{background:var(--bg);border-top:1px solid #222833;align-items:center;gap:8px;padding:10px 12px;display:flex}.pending+.composer{border-top:0}.composer-input{border:1px solid var(--border);background:var(--surface);min-width:0;height:44px;color:var(--text);border-radius:22px;flex:1;padding:0 16px;font-size:16px}.composer-input::placeholder{color:var(--muted)}.recording{min-width:0;color:var(--coral);font-variant-numeric:tabular-nums;flex:1;padding-left:6px;font-size:15px;font-weight:600}.send-button{background:var(--accent);width:44px;height:44px;color:var(--accent-ink);cursor:pointer;border:0;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.composer-error{padding:0 16px 8px}.action-card:has(.action-open){padding:0}.action-open{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:12px 14px;display:flex}.action-open .action-text{flex:1}.action-chevron{color:var(--muted);flex-shrink:0}.me{flex-direction:column;gap:14px;padding:8px 16px 16px;display:flex}.me-header{justify-content:space-between;align-items:center;padding:12px 4px 0;display:flex}.me-header h1{letter-spacing:-.02em;margin:0;font-family:Space Grotesk,Manrope,sans-serif;font-size:30px}.outline-button{height:40px;color:var(--text);font:inherit;background:0 0;border:1px solid #2e3644;border-radius:12px;align-items:center;padding:0 14px;font-size:13.5px;font-weight:600;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:14px 16px}.muted{color:var(--muted);margin:0;font-size:14px}.section-title{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:12px;font-weight:700}.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.tile{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:2px;min-width:0;padding:10px 12px;display:flex}.tile-label{color:var(--muted);font-size:12px;font-weight:600}.tile-value{text-overflow:ellipsis;white-space:nowrap;font-family:Space Grotesk,Manrope,sans-serif;font-size:18px;font-weight:700;overflow:hidden}.weight-card{flex-direction:column;gap:8px;display:flex}.weight-top{justify-content:space-between;align-items:baseline;display:flex}.weight-delta{color:var(--accent);font-size:13px;font-weight:700}.chart-label{fill:var(--muted);font-family:Manrope,sans-serif;font-size:11px}.weight-foot{color:var(--muted);justify-content:space-between;font-size:12.5px;display:flex}.me-section{flex-direction:column;gap:8px;display:flex}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{background:var(--surface-2);color:var(--text-2);border-radius:999px;padding:7px 11px;font-size:13px}.chip.no{color:#ff9a80;background:#ff7a5924}.me-empty{flex-direction:column;gap:10px;display:flex}.me-empty h2{margin:0;font-size:18px}.me-empty p{color:var(--muted);margin:0;font-size:14px;line-height:1.45}.me-signout{align-self:flex-start;margin-top:auto}.today{flex-direction:column;gap:14px;padding:8px 16px 16px;display:flex}.today-header{flex-direction:column;gap:2px;padding:12px 4px 0;display:flex}.today-header h1{margin:0;font-size:30px}.today-date{color:var(--muted);font-size:13px;font-weight:600}.workout{flex-direction:column;gap:12px;padding:16px;display:flex}.workout-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.workout-title{flex-direction:column;gap:2px;display:flex}.workout-name{font-size:18px;font-weight:700}.pill{background:var(--surface-2);color:var(--text-2);white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}.pill.done{color:var(--accent);background:#c6f43229}.pill.missed{color:#ff9a80;background:#ff7a5929}.exercises{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.exercises li{border-top:1px solid #222833;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:14.5px;display:flex}.exercise-name{font-weight:600}.exercise-dose{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.workout-note{color:var(--muted);margin:0;font-size:13px}.workout-note.warn{color:#ff9a80}.workout-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.workout-actions button{border-radius:12px;height:46px;font-size:15px}.nutrition{flex-direction:column;gap:12px;padding:16px;display:flex}.nutrition-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.nutrition-kcal{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.nutrition-kcal strong{color:var(--text);font-family:Space Grotesk,sans-serif;font-size:20px}.nutrition-empty{margin:0;font-size:17px}.bar{background:#222833;border-radius:999px;height:10px;overflow:hidden}.bar>div{background:var(--accent);border-radius:999px;height:100%}.bar.over>div{background:var(--coral)}.bar.thin{height:6px}.bar.carbs>div{background:var(--coral)}.bar.fat>div{background:#8fa3ff}.macros{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.macro{flex-direction:column;gap:6px;display:flex}.macro-label{color:var(--muted);font-size:12.5px;font-weight:600}.macro-value{font-variant-numeric:tabular-nums;font-size:13px}.meals{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.meals li{border-top:1px solid #222833;justify-content:space-between;gap:12px;padding:8px 0;font-size:14px;display:flex}.meal-kcal{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.dashed-button{min-height:44px;color:var(--text-2);font:inherit;background:0 0;border:1px dashed #3a4352;border-radius:12px;font-size:14px;font-weight:600}.plans{flex-direction:column;gap:14px;padding:8px 16px 16px;display:flex}.plans-header{padding:12px 4px 0}.plans-header h1{letter-spacing:-.02em;margin:0;font-family:Space Grotesk,Manrope,sans-serif;font-size:30px}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:14px;gap:4px;padding:4px;display:grid}.segmented button{min-width:0;height:40px;color:var(--text-2);font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:10px;font-size:14px;font-weight:700;overflow:hidden}.segmented button[aria-selected=true]{background:var(--accent);color:var(--accent-ink)}.versions{flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px;display:flex}.versions-label{color:var(--muted);font-size:12.5px;font-weight:600}.version-chip{min-width:44px;height:32px;color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:1px solid #2e3644;border-radius:999px;padding:0 10px;font-size:13px;font-weight:700}.version-chip[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#c6f43224}.versions-date{color:var(--muted);margin-left:auto;font-size:12.5px}.doc{overflow-wrap:anywhere;flex-direction:column;gap:10px;padding:18px;font-size:14.5px;line-height:1.55;display:flex}.doc>*{margin:0}.doc h1,.doc h2{font-family:Space Grotesk,Manrope,sans-serif;font-size:19px}.doc h3{margin-top:4px;font-size:15px}.doc p,.doc li{color:var(--text-2)}.doc ul,.doc ol{padding-left:20px}.doc a{color:var(--accent)}.doc table{border-collapse:collapse;max-width:100%;font-size:13.5px;display:block;overflow-x:auto}.doc th,.doc td{text-align:left;vertical-align:top;overflow-wrap:normal;border-bottom:1px solid #222833;min-width:4.5em;padding:6px 8px}.doc pre{max-width:100%;overflow-x:auto}.tile.wide{grid-column:1/-1}ul.chips{margin:0;padding:0;list-style:none}.photos{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.photo{aspect-ratio:3/4;background:repeating-linear-gradient(135deg,#1a1f29 0 8px,#202634 8px 16px);border-radius:12px;margin:0;position:relative;overflow:hidden}.photo img{object-fit:cover;width:100%;height:100%;display:block}.photo figcaption{color:var(--text-2);text-shadow:0 1px 2px #0009;padding:6px;font-size:11px;position:absolute;bottom:0;left:0}
