:root{color:#24312c;font-synthesis:none;text-rendering:optimizelegibility;background:#f7f4ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f7f4ef;margin:0}.app-shell{max-width:760px;min-height:100vh;margin:0 auto;padding:20px 18px 104px}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#8d776a;margin:0 0 5px;font-size:11px;font-weight:800}.topbar h1,.hero-card h2,.card h2,.profile-card h2{margin:0;font-family:Georgia,serif;line-height:1.05}.topbar h1{font-size:32px}.avatar,.big-avatar{color:#fff;background:#2f5949;border-radius:50%;place-items:center;font-weight:800;display:grid}.avatar{width:44px;height:44px}.hero-card{background:#dfe9df;border-radius:26px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;padding:24px;display:flex}.hero-card h2{margin-bottom:8px;font-size:29px}.hero-card p{margin:0;line-height:1.5}.muted{color:#6d746f}.weight-badge{background:#fff8ef;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;min-width:104px;height:104px;display:flex;box-shadow:0 10px 24px #36474014}.weight-badge strong{font-size:29px}.weight-badge span{color:#7b817e;font-size:12px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;display:grid}.stat-card,.card,.meal-plan,.workout-card,.profile-card{background:#fff;border:1px solid #ebe4dc;border-radius:22px}.stat-card{padding:16px}.stat-card p,.stat-card span{color:#7f827f;margin:0;font-size:12px}.stat-card strong{margin:5px 0;font-size:24px;display:block}.progress{background:#eee8e1;border-radius:99px;height:7px;margin-top:12px;overflow:hidden}.progress i{background:#54816e;border-radius:99px;height:100%;display:block}.card{margin-bottom:14px;padding:20px}.section-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section-head h3,.meal-plan h3,.workout-card h3{margin:0}.water-row{justify-content:space-between;gap:7px;margin:16px 0 8px;display:flex}.water-drop{appearance:none;opacity:.42;background:#f2eee9;border:0;border-radius:13px;width:42px;height:42px;font-size:20px}.water-drop.filled{opacity:1;background:#dceae8}.text-button{color:#547365;background:0 0;border:0;padding:4px 0;font-weight:700}.photo-box{cursor:pointer;background:#fbf9f5;border:1.5px dashed #cfc5ba;border-radius:18px;margin-top:16px;display:block;overflow:hidden}.photo-box>div{text-align:center;flex-direction:column;align-items:center;gap:5px;padding:24px;display:flex}.photo-box span{color:#777;font-size:12px}.photo-box input{display:none}.photo-box img{object-fit:cover;width:100%;max-height:360px;display:block}.hint{color:#7c746c;font-size:12px;line-height:1.45}.meal-form{gap:9px;margin-top:12px;display:grid}.meal-form input,.inline-form input,.workout-note{width:100%;font:inherit;background:#fff;border:1px solid #ded6ce;border-radius:13px;padding:13px}.two{grid-template-columns:1fr 1fr;gap:9px;display:grid}.meal-form button,.inline-form button{color:#fff;background:#2f5949;border:0;border-radius:13px;padding:13px 16px;font-weight:800}.logged-meals{gap:8px;margin-top:14px;display:grid}.logged-meals>div{background:#f8f5f0;border-radius:14px;justify-content:space-between;gap:15px;padding:12px;display:flex}.logged-meals span{color:#7a7d7a;margin-top:2px;font-size:12px;display:block}.meal-numbers{text-align:right}.stack{gap:12px;display:grid}.accent-card{background:#f1e5dc}.meal-plan,.workout-card{align-items:center;gap:14px;padding:16px;display:flex}.day-pill{background:#e3eee8;border-radius:15px;place-items:center;width:48px;height:48px;font-weight:800;display:grid}.grow{flex:1}.meal-plan p,.workout-card p{color:#717773;margin:5px 0 0;font-size:13px;line-height:1.45}.macro{text-align:right;min-width:72px}.macro strong,.macro span,.macro small{display:block}.macro span,.macro small{color:#7a7d7a;font-size:11px}.inline-form{grid-template-columns:1fr auto;gap:8px;margin-top:14px;display:grid}.chart-box{align-items:end;gap:8px;height:180px;padding-top:20px;display:flex;overflow-x:auto}.bar-wrap{text-align:center;min-width:34px}.bar{background:#88ab9a;border-radius:10px 10px 4px 4px;width:100%}.bar-wrap small{color:#777;font-size:10px}.history-list>div{border-bottom:1px solid #eee7df;justify-content:space-between;padding:10px 0;display:flex}.history-list>div:last-child{border-bottom:0}.number{color:#a29387;font-family:Georgia,serif;font-size:28px}.check{background:#e9eee9;border:0;border-radius:50%;width:40px;height:40px;font-size:22px}.workout-card.done{opacity:.7}.profile-card{text-align:center;padding:28px}.big-avatar{width:72px;height:72px;margin:0 auto 12px;font-size:26px}.profile-card p{color:#777;margin:8px 0 0}.profile-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.profile-grid>div{background:#f8f5f0;border-radius:14px;padding:14px}.profile-grid span,.profile-grid strong{display:block}.profile-grid span{color:#777;font-size:12px}.profile-grid strong{margin-top:4px}.considerations{padding-left:20px;line-height:1.7}.small{font-size:12px}.count{background:#f2eee9;border-radius:99px;padding:6px 9px;font-size:12px}.bottom-nav{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;border:1px solid #e7dfd7;border-radius:22px;grid-template-columns:repeat(5,1fr);gap:4px;width:min(720px,100% - 24px);padding:8px;display:grid;position:fixed;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 14px 38px #322c271f}.bottom-nav button{color:#7a7f7b;background:0 0;border:0;border-radius:15px;padding:8px 2px;font-size:11px}.bottom-nav button span{margin-bottom:2px;font-size:19px;display:block}.bottom-nav button.active{color:#284c3d;background:#e4eee8;font-weight:800}.meal-camera-card{overflow:hidden}.analyze-button{color:#fff;cursor:pointer;background:#866b99;border:0;border-radius:14px;width:100%;margin-top:10px;padding:14px 16px;font-size:14px;font-weight:800}.analyze-button:disabled{opacity:.62;cursor:wait}.analysis-error{color:#7b443a;background:#fff1ee;border:1px solid #efd0ca;border-radius:14px;flex-direction:column;gap:4px;margin-top:10px;padding:12px 14px;display:flex}.analysis-error span{font-size:12px;line-height:1.45}.analysis-result{background:#f1edf5;border:1px solid #ddd3e6;border-radius:16px;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;padding:14px;display:grid}.analysis-result>div{background:#fff;border-radius:12px;padding:10px}.analysis-result span,.analysis-result strong{display:block}.analysis-result span{text-transform:uppercase;letter-spacing:.08em;color:#86758f;font-size:10px}.analysis-result strong{margin-top:3px;font-size:12px}.analysis-result p{color:#665d6b;grid-column:1/-1;margin:0;font-size:12px;line-height:1.5}.macro-inputs{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.macro-inputs label{gap:4px;display:grid}.macro-inputs label>span{text-transform:uppercase;letter-spacing:.07em;color:#777;font-size:10px}.macro-inputs input{padding:11px}.workout-day{background:#fff;border:1px solid #e8e0d8;border-radius:24px;overflow:hidden}.workout-day-head{background:#f8f5f0;justify-content:space-between;align-items:center;gap:15px;padding:20px;display:flex}.workout-day-head h3{margin:5px 0;font-family:Georgia,serif;font-size:22px}.workout-day-head p{color:#737975;margin:0;font-size:12px;line-height:1.45}.day-tag{color:#345746;text-transform:uppercase;letter-spacing:.08em;background:#dfeae4;border-radius:99px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-block}.completion-ring{background:#fff;border:1px solid #e4ddd5;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;min-width:62px;height:62px;display:flex}.completion-ring strong{font-size:15px}.completion-ring span{color:#777;font-size:9px}.exercise-list{display:grid}.exercise{border-top:1px solid #eee7e0;align-items:flex-start;gap:12px;padding:15px 16px;display:flex}.exercise.done{background:#f2f7f3}.exercise.done .exercise-main>div>strong{color:#6e7c74;text-decoration:line-through}.exercise-check{color:#315747;cursor:pointer;background:#e9efe9;border:0;border-radius:50%;flex:0 0 38px;width:38px;height:38px;font-size:21px}.exercise-main{flex:1;min-width:0}.exercise-title-row{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.exercise-title-row>strong{font-size:14px}.exercise-title-row>span{white-space:nowrap;color:#6c655f;background:#f3eee8;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:700}.exercise details{margin-top:7px}.exercise summary{color:#66766e;cursor:pointer;font-size:11px;font-weight:700}.exercise details p{color:#777;margin:6px 0 0;font-size:11px;line-height:1.4}.workout-note{background:#fbfaf8;margin-top:9px;padding:10px 11px;font-size:12px}@media (width<=520px){.app-shell{padding:16px 12px 100px}.topbar h1{font-size:27px}.hero-card{padding:19px}.hero-card h2{font-size:24px}.weight-badge{min-width:88px;height:88px}.stats-grid{gap:8px}.stat-card{padding:13px}.water-row{gap:3px}.water-drop{width:36px;height:38px}.meal-plan,.workout-card{align-items:flex-start}.macro{min-width:64px}.bottom-nav{bottom:8px}.macro-inputs{grid-template-columns:1fr 1fr}.analysis-result{grid-template-columns:1fr}.analysis-result p{grid-column:1}.workout-day-head{padding:16px}.exercise-title-row{gap:6px;display:grid}.exercise-title-row>span{justify-self:start}.logged-meals>div{align-items:flex-start}.meal-numbers{min-width:110px}}
