:root{color:#1d2b2a;font-synthesis:none;--green:#24786d;--text:#1d2b2a;--muted:#5b6a67;--line:#e3e9e5;--soft:#eaf1ec;--white:#fff;background:#f7f8f5;font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation;transition:transform .16s,background .18s,color .18s}button:active{transform:scale(.97)}button:disabled{opacity:.48;cursor:default}button:disabled:active{transform:none}a{color:var(--green)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #9abdb3}button{color:inherit;background:0 0;border:0;min-height:44px}input,select,textarea{border:1px solid var(--line);width:100%;min-height:48px;color:var(--text);background:#fff;border-radius:12px;padding:11px 13px}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--green);flex-shrink:0}input[type=range]{accent-color:var(--green);border:0;padding:0}input[type=date]{min-width:0}textarea{resize:vertical;min-height:90px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1px;margin-bottom:0;font-size:32px}h2{margin-bottom:0;font-size:20px;font-weight:650;line-height:1.5}h3{margin-bottom:10px;font-size:17px;font-weight:650}p{margin-bottom:14px;line-height:1.65}small{color:var(--muted);font-size:13px;line-height:1.65}b{font-weight:650}svg{flex-shrink:0}hr{border:0;border-top:1px solid var(--line);width:100%;margin:12px 0}pre{background:#f7f8f5;border-radius:10px;padding:15px;font-size:12px;overflow:auto}fieldset{min-width:0}details{color:var(--muted);margin:8px 0;font-size:14px;line-height:1.7}summary{cursor:pointer;min-height:44px;color:var(--text);padding:10px 0;font-size:14px;display:list-item}details p{margin-top:8px;font-size:14px}details .field{font-size:14px}.row{justify-content:space-between;align-items:center;gap:12px;display:flex}.row h2{align-items:center;gap:9px;display:flex}.muted{color:var(--muted)}.eyebrow{letter-spacing:.06em;color:var(--muted);font-size:13px}.primary,.secondary{border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 18px;font-weight:550;display:inline-flex}.primary{background:var(--green);color:#fff}.primary:hover{background:#1d665c}.secondary{background:var(--soft);color:var(--green)}.secondary:hover{background:#ddeae2}.primary.small{min-height:44px;padding:10px 15px}.text-button{color:var(--green);justify-content:center;align-items:center;gap:5px;min-height:44px;padding:8px 0;font-size:14px;display:inline-flex}.icon-button{border-radius:10px;justify-content:center;align-items:center;width:44px;min-width:44px;display:flex}.icon-button:hover{background:var(--soft)}.round-button{background:var(--soft);width:48px;height:48px;color:var(--green);border-radius:50%;place-items:center;display:grid}.full{width:100%}.danger{color:#9b514a}.badge{white-space:nowrap;background:var(--soft);color:var(--green);border-radius:20px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;display:inline-flex}.panel{background:#fff;border-radius:20px;padding:24px}.panel>h2{margin-bottom:14px}.panel>.primary,.panel>.secondary{margin-top:16px}.app-shell{min-height:100vh}.sidebar{border-right:1px solid var(--line);z-index:10;background:#fff;flex-direction:column;width:220px;padding:36px 24px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{color:var(--text);letter-spacing:2px;align-items:center;gap:10px;padding-left:12px;font-size:26px;text-decoration:none;display:flex}.brand>span{background:var(--green);color:#fff;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.brand-subtitle{color:var(--muted);letter-spacing:2px;margin:12px 0 46px;padding-left:12px;font-size:12px}.sidebar nav{flex-direction:column;gap:10px;display:flex}.sidebar nav button{color:var(--muted);text-align:left;border-radius:12px;align-items:center;gap:15px;padding:15px 19px;display:flex}.sidebar nav button.active{background:var(--soft);color:var(--green);font-weight:600}.sidebar-foot{color:var(--muted);margin-top:auto;padding:20px 12px;font-size:12px}.sidebar-foot small{margin-top:8px;font-size:11px;display:block}.small-dot,.connection i{background:var(--green);border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.main-shell{margin-left:220px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:92px;padding:0 44px;display:flex}.date-control{align-items:center;gap:4px;display:flex}.date-control input{width:156px;color:var(--text);background:0 0;border:0;padding:9px 4px;font-size:15px}.date-control button{justify-content:center;align-items:center;width:44px;display:flex}.connection{color:var(--muted);align-items:center;gap:4px;font-size:12px;display:flex}.connection.offline{color:#8b7155}.mobile-brand,.bottom-nav{display:none}main{max-width:1240px;margin:auto;padding:36px 44px 64px}.today-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;display:grid}.weight-hero{background:#fff;border-radius:24px;flex-direction:column;grid-row:span 3;padding:30px 34px;display:flex}.weight-number{letter-spacing:-5px;font-variant-numeric:tabular-nums;margin:32px 0 8px;font-family:system-ui,sans-serif;font-size:96px;font-weight:550;line-height:1.35}.weight-number span{letter-spacing:0;color:var(--muted);margin-left:12px;font-size:25px;font-weight:400}.hero-meta{color:var(--muted);font-size:13px}.weight-hero .chart{height:220px;min-height:170px;margin-top:auto;padding-top:26px}.chart{width:100%;height:280px;margin:15px 0;position:relative}.chart.compact{height:140px}.chart-legend{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.chart-legend i{background:var(--green);border-radius:2px;width:14px;height:3px}.chart-legend small{margin-left:auto;font-size:11px}.intake-panel,.water-panel,.exercise-short{background:#fff;border-radius:20px;padding:24px 26px}.intake-numbers{justify-content:space-between;gap:20px;margin:22px 0;display:flex}.intake-numbers>div>span{color:var(--muted);margin-bottom:8px;font-size:13px;display:block}.intake-numbers b{font-variant-numeric:tabular-nums;font-family:system-ui;font-size:36px;font-weight:550}.intake-numbers small{font-size:13px;font-weight:400}.intake-numbers .budget b{color:var(--muted);font-size:27px}.intake-numbers .budget{text-align:right}.progress{background:#eef2ee;border-radius:5px;height:7px;margin:16px 0 22px;overflow:hidden}.progress span{background:var(--green);border-radius:5px;height:100%;transition:width .24s;display:block}.water-number{margin:20px 0 0}.water-number b{font-family:system-ui;font-size:31px;font-weight:550}.water-number span{color:var(--muted);font-size:13px}.water-progress{height:6px;margin:15px 0 18px}.water-buttons{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.water-buttons button{min-height:44px;padding:10px 8px;font-size:14px}.exercise-short{padding:22px 26px}.exercise-short h2{margin:7px 0;font-size:20px}.page-stack{flex-direction:column;gap:23px;max-width:960px;margin:auto;display:flex}.page-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.page-heading h1{margin-top:6px}.segmented{background:#eaf0e9;border-radius:13px;gap:4px;padding:4px;display:flex}.segmented button{min-height:44px;color:var(--muted);border-radius:10px;flex:1;padding:8px 10px;font-size:15px}.segmented button.active{color:var(--green);background:#fff;font-weight:600;box-shadow:0 2px 7px #263f3510}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips button{border:1px solid var(--line);background:#fff;border-radius:24px;min-height:44px;padding:8px 15px;font-size:14px}.chips button.selected{background:var(--green);color:#fff;border-color:var(--green)}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:6px;padding:32px 16px;display:flex}.empty p{margin:0;font-size:16px}.empty small{max-width:340px}.empty .primary{margin-top:14px}.welcome{flex-direction:column;align-items:flex-start;max-width:520px;min-height:600px;margin:auto;padding:45px 0 40px;display:flex}.welcome-leaf{width:78px;height:78px;color:var(--green);background:#e7eee5;border-radius:26px;place-items:center;margin-bottom:32px;display:grid}.welcome h1{letter-spacing:-2px;margin:18px 0 24px;font-size:54px;line-height:1.25}.welcome p{color:var(--muted);margin-bottom:32px;font-size:17px;line-height:1.9}.welcome small{margin-top:20px}.welcome .primary{min-width:230px}.loading-screen{min-height:100vh;color:var(--green);flex-direction:column;justify-content:center;align-items:center;gap:15px;padding:30px;display:flex}.loading-screen p{color:var(--muted);max-width:500px}.sheet-overlay{z-index:50;background:#152a2459;justify-content:center;align-items:center;padding:24px;animation:.18s overlay-in;display:flex;position:fixed;inset:0}.sheet{background:#fff;border-radius:24px;outline:0;flex-direction:column;width:100%;max-width:570px;max-height:90dvh;animation:.24s cubic-bezier(.2,.7,.3,1) sheet-in;display:flex;box-shadow:0 20px 90px #12241d20}.sheet>header{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:22px 26px 12px;display:flex}.sheet-body{overscroll-behavior:contain;padding:14px 26px 28px;overflow-y:auto}.sheet-handle{display:none}.sheet-overlay.leaving{animation:.18s forwards overlay-out}.leaving .sheet{animation:.18s forwards sheet-out}.form-stack{flex-direction:column;gap:18px;display:flex}.form-intro h3{margin-bottom:7px;font-size:23px}.form-intro p{color:var(--muted);margin:0;font-size:14px}.field{color:var(--text);flex-direction:column;gap:8px;font-size:14px;display:flex}.field>span{font-weight:550}.two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.input-action{gap:8px;display:flex}.input-action .secondary{white-space:nowrap;font-size:12px}.check-group{border:1px solid var(--line);border-radius:14px;flex-wrap:wrap;gap:3px 14px;margin:0;padding:13px 15px;display:flex}.check-group legend{padding:0 6px;font-size:14px;font-weight:600}.check-group label,.checkbox{align-items:center;gap:10px;min-height:44px;font-size:14px;line-height:1.5;display:flex}.check-group small{margin-top:10px;display:block}.inline-hint{background:var(--soft);border-radius:10px;margin:0;padding:12px 15px;font-size:14px}.warning{color:#8a574b;background:#f5ece5;border-radius:12px;padding:14px;font-size:14px}.weight-input{justify-content:center;align-items:center;gap:8px;display:flex}.weight-input input{text-align:center;font-variant-numeric:tabular-nums;border:0;max-width:230px;min-height:90px;font-family:system-ui;font-size:48px}.weight-input button{background:var(--soft);width:48px;height:48px;color:var(--green);border-radius:50%;font-size:30px}.estimate{background:var(--soft);border-radius:15px;flex-direction:column;gap:8px;padding:20px;display:flex}.estimate>b{font-size:26px}.toast{z-index:100;color:#fff;background:#203c34;border-radius:14px;align-items:center;gap:14px;max-width:calc(100vw - 28px);padding:8px 14px 8px 20px;font-size:14px;line-height:1.5;animation:.18s toast-in;display:flex;position:fixed;bottom:32px;left:50%;transform:translate(-50%);box-shadow:0 5px 25px #203c3420}.toast.error{background:#6c453e}.toast button{color:#fff;white-space:nowrap;font-size:14px}.readonly-banner{background:#efeae0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin-bottom:22px;padding:12px 18px;font-size:13px;display:flex}.metric-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.metric-list>div{background:#f7f8f5;border-radius:14px;flex-direction:column;gap:8px;padding:18px;display:flex}.metric-list span{color:var(--muted);font-size:13px}.metric-list b{font-family:system-ui;font-size:24px}.meal-total{background:var(--soft);border-radius:16px;justify-content:space-between;align-items:center;padding:20px;display:flex}.meal-total>b{font-family:system-ui;font-size:30px}.meal-total>span{color:var(--muted);font-size:14px}.meal-item{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;padding:12px 0;display:flex}.meal-item small{margin-top:6px;display:block}.meal-item details{margin:3px 0}.meal-item summary{min-height:30px;padding:3px 0;font-size:12px}.meal-item b{font-size:15px}.food-results{background:#fafbf9;border-radius:12px;max-height:270px;overflow-y:auto}.food-row,.recent-row{text-align:left;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:60px;padding:12px 15px;display:flex}.food-row small,.recent-row small{margin-top:5px;font-size:12px;display:block}.food-row b{text-align:right;font-family:system-ui;font-size:16px}.ingredient-editor{background:#f7f8f5;border-radius:15px;padding:18px}.meal-timeline{background:#fff;border-radius:20px;padding:24px}.meal-timeline section+section{margin-top:24px}.timeline-title{align-items:center;gap:12px;display:flex}.timeline-title i{background:#89b0a4;border-radius:50%;width:7px;height:7px}.timeline-title h3{margin:0}.timeline-title small{margin-left:auto}.timeline-entry{border-left:1px solid var(--line);margin-left:3px;padding:12px 0 8px 20px}.entry-main{text-align:left;width:100%;padding:4px 0;display:block}.entry-main b{font-size:15px;line-height:1.6;display:block}.entry-main small{margin-top:6px;display:block}.timeline-entry>.text-button{min-height:30px;font-size:12px}.timeline-entry button{background:0 0}.menu-row{text-align:left;background:#fff;border-radius:18px;align-items:center;gap:18px;padding:23px;display:flex}.menu-icon{background:var(--soft);width:46px;height:46px;color:var(--green);border-radius:15px;flex-shrink:0;place-items:center;display:grid}.menu-row h3{margin:5px 0 7px;font-size:19px}.menu-row span{color:var(--muted);font-size:13px}.menu-row>svg{margin-left:auto}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.recipe-card{text-align:left;background:#fff;border-radius:18px;padding:22px;position:relative}.recipe-card h3{margin:10px 0 15px;font-size:19px}.recipe-card span{color:var(--muted);font-size:13px}.recipe-card>svg{color:var(--green);position:absolute;bottom:20px;right:18px}.recipe-summary{background:var(--soft);border-radius:16px;flex-direction:column;gap:8px;padding:20px;display:flex}.recipe-summary>b{font-family:system-ui;font-size:32px}.recipe-summary>span{color:var(--muted);font-size:14px}.ingredient-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:11px 0;font-size:15px;display:flex}.ingredient-row small{display:block}.ingredient-row select{width:160px;font-size:12px}.recipe-steps{flex-direction:column;gap:15px;margin:0;padding-left:24px;line-height:1.7;display:flex}.recipe-steps li::marker{color:var(--green);font-weight:650}.shopping-list{background:#fff;border-radius:14px;padding:14px 20px}.shopping-list>div{border-bottom:1px solid #edf0ed;justify-content:space-between;gap:14px;padding:9px 0;font-size:14px;display:flex}.shopping-list>div:last-child{border:0}.week-menu{border-bottom:1px solid var(--line);align-items:flex-start;gap:20px;padding:12px 0;font-size:14px;line-height:1.7;display:flex}.week-menu>b{white-space:nowrap;color:var(--green)}.pantry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:280px;display:grid;overflow-y:auto}.pantry-grid label{align-items:center;gap:8px;min-height:44px;font-size:13px;display:flex}.workout-feature{background:#fff;border-radius:24px;padding:30px 34px}.workout-feature>h2{margin:25px 0 12px;font-size:29px}.workout-subtitle{color:var(--muted);font-size:14px}.workout-stages{margin:25px 0}.workout-stages>div{gap:20px;padding:14px 0;display:flex}.workout-stages>div>span{background:var(--soft);width:34px;height:34px;color:var(--green);border-radius:50%;flex-shrink:0;place-items:center;font-size:12px;display:grid}.workout-stages p{color:var(--muted);margin:7px 0 0;font-size:15px}.timer{flex-direction:column;align-items:center;gap:15px;display:flex}.timer>b{font-variant-numeric:tabular-nums;font-family:system-ui;font-size:56px}.strength-panel{background:#eaf1ec;border-radius:20px;padding:24px}.strength-panel h2{align-items:center;gap:10px;display:flex}.strength-panel p{margin-top:14px;font-size:15px}.strength-panel>small{margin-bottom:10px;display:block}.week-training{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:20px 0;display:grid}.week-training>div{background:#f7f8f5;border-radius:12px;flex-direction:column;gap:10px;padding:13px 10px;font-size:12px;line-height:1.6;display:flex}.week-training b{color:var(--green)}.entry-row,.saved-plan{text-align:left;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;width:100%;padding:17px 0;display:flex}.entry-row b,.saved-plan b{font-size:15px}.entry-row small,.saved-plan small{display:block}.entry-row>span{text-align:right;font-size:14px}.entry-row>span:first-child{text-align:left}.saved-plan .secondary{white-space:nowrap;padding:10px 12px;font-size:12px}.trend-panel{background:#fff;border-radius:22px;padding:26px}.trend-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.trend-heading>div{min-width:0}.trend-heading>select{width:104px;font-size:13px}.trend-status{flex-wrap:wrap;gap:2px 12px;display:flex}.trend-status small{white-space:nowrap}.chart-unit{color:var(--muted);z-index:1;font-size:12px;position:absolute;top:8px;left:10px}.trend-value{font-variant-numeric:tabular-nums;margin:12px 0 0;font-family:system-ui;font-size:42px;line-height:1.4}.trend-value small{font-size:15px}.goal-strip{background:var(--soft);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:20px 24px;font-size:14px;display:flex}.goal-strip>b{font-size:16px}.weekly-report{background:#fff;border-radius:20px;padding:26px}.weekly-report>.row>small{font-size:11px}.report-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:28px 0 20px;display:grid}.report-stats b{font-family:system-ui;font-size:33px;font-weight:550;display:block}.report-stats b small{margin-left:4px;font-size:13px}.report-lines p{border-top:1px solid #edf0ed;justify-content:space-between;gap:10px;margin:0;padding:11px 0;font-size:13px;display:flex}.report-lines span{color:var(--muted)}.suggestions{color:var(--muted);margin:18px 0 0;padding-left:21px;font-size:14px;line-height:1.75}.suggestions li{padding:4px 0}.photo-section{background:#fff;border-radius:20px;flex-direction:column;gap:20px;padding:26px;display:flex}.photo-preview{object-fit:contain;background:#f7f8f5;border-radius:12px;width:100%;max-height:330px}.photo-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.photo-pair figure{min-width:0;margin:0}.photo-pair img{object-fit:contain;background:#f0f2ed;border-radius:12px;width:100%;height:340px}.photo-pair figcaption{color:var(--muted);text-align:center;margin-top:10px;font-size:12px}.photo-slider{background:#f0f2ed;border-radius:14px;height:450px;position:relative;overflow:hidden}.photo-slider img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.photo-slider .photo-before{background:#f0f2ed}.slider-line{pointer-events:none;background:#fff;width:2px;position:absolute;top:0;bottom:0;box-shadow:0 0 5px #0003}.file-picker{min-height:58px;color:var(--green);cursor:pointer;background:#f7f9f5;border:1px dashed #b4c9bf;border-radius:14px;justify-content:center;align-items:center;gap:12px;padding:14px 18px;display:flex;position:relative}.file-picker input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.profile-card{background:#fff;border-radius:20px;align-items:center;gap:18px;padding:25px;display:flex}.avatar{background:var(--soft);width:64px;height:64px;color:var(--green);border-radius:50%;place-items:center;display:grid}.profile-card h2{font-size:24px}.profile-card p{color:var(--muted);margin:7px 0 0;font-size:13px}.profile-card>.text-button{margin-left:auto}.goal-panel{background:#fff;border-radius:20px;padding:26px}.goal-values{flex-direction:column;gap:10px;margin:22px 0;display:flex}.goal-values>b{font-family:system-ui;font-size:28px}.settings-list{background:#fff;border-radius:20px;padding:0 23px}.settings-row{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:17px;width:100%;min-height:89px;padding:14px 0;display:flex}.settings-row:last-child{border-bottom:0}.settings-row small{margin-top:7px;font-size:12px;display:block}.settings-row>b{font-size:16px}.settings-row>svg{color:var(--muted);margin-left:auto}.settings-icon{width:42px;height:42px;color:var(--green);background:#f3f6f0;border-radius:12px;place-items:center;display:grid}.version-note{text-align:center;font-size:12px}.status-row{background:var(--soft);border-radius:14px;flex-direction:column;gap:9px;padding:20px;display:flex}.restore-preview,.snapshot-card{background:#f4f4eb;border-radius:16px;flex-direction:column;gap:18px;padding:20px;font-size:14px;display:flex}.restore-preview p,.snapshot-card p{margin:0}.backup-counts{flex-wrap:wrap;gap:10px;display:flex}.backup-counts span{background:#fff;border-radius:8px;padding:6px 10px;font-size:12px}.draft-item{background:#f7f8f5;border-radius:16px;flex-direction:column;gap:14px;padding:20px;display:flex}.draft-item p{margin:0;font-size:14px}@keyframes overlay-in{0%{opacity:0}to{opacity:1}}@keyframes overlay-out{to{opacity:0}}@keyframes sheet-in{0%{opacity:.8;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-out{to{opacity:0;transform:translateY(22px)}}@keyframes toast-in{0%{opacity:0;bottom:15px}to{opacity:1}}@keyframes number-in{0%{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:none}}.number-transition{animation:.2s number-in}@media (width>=1600px){main{padding-top:50px}.today-layout{gap:28px}.weight-hero{padding:40px}.weight-number{font-size:116px}.topbar{padding-left:max(44px,50vw - 720px);padding-right:max(44px,50vw - 720px)}}@media (width<=1000px) and (width>=761px){.sidebar{width:176px;padding:30px 16px}.main-shell{margin-left:176px}main{padding:28px 24px}.topbar{padding:0 24px}.today-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.weight-hero{padding:24px}.weight-number{font-size:74px}.intake-panel,.water-panel,.exercise-short{padding:20px}.intake-numbers b{font-size:28px}.intake-numbers .budget b{font-size:23px}}@media (width<=760px){.sidebar{display:none}.main-shell{margin:0}.topbar{border:0;gap:8px;height:75px;padding:16px 20px 8px}.mobile-brand{color:var(--green);align-items:center;gap:7px;font-size:22px;text-decoration:none;display:flex}.mobile-brand b{color:var(--text);letter-spacing:1px}.date-control{gap:0;margin-left:auto}.date-control input{width:128px;min-height:44px;padding:5px 0;font-size:12px}.date-control button{width:30px;min-width:30px}.connection{width:16px;font-size:0}.connection i{width:7px;height:7px;margin:0}.bottom-nav{border-top:1px solid var(--line);z-index:20;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#7a8982;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:54px;min-height:52px;font-size:11px;display:flex}.bottom-nav button.active{color:var(--green);font-weight:600}.bottom-nav button.active svg{stroke-width:2.5px}main{padding:12px 18px calc(106px + env(safe-area-inset-bottom));max-width:540px}.today-layout{flex-direction:column;gap:16px;display:flex}.weight-hero{border-radius:20px;min-height:300px;padding:23px 23px 20px}.weight-number{letter-spacing:-3px;margin:8px 0 6px;font-size:76px;line-height:1.25}.weight-number span{margin-left:10px;font-size:20px}.weight-hero .chart{height:120px;min-height:120px;margin:10px 0 6px;padding-top:7px}.hero-meta{font-size:12px}.chart-legend{font-size:11px}.chart-legend small{font-size:10px}.intake-panel,.water-panel,.exercise-short{border-radius:18px;padding:20px 23px}.intake-numbers{margin:17px 0}.intake-numbers b{font-size:32px}.intake-numbers .budget b{font-size:25px}.intake-numbers>div>span{font-size:12px}.progress{margin:13px 0 15px}.water-number{margin-top:16px}.water-number b{font-size:30px}.water-progress{margin:12px 0 14px}.exercise-short h2{font-size:18px}.page-stack{gap:19px}.page-heading h1{font-size:29px}.page-heading .eyebrow{font-size:12px}.page-heading .primary{font-size:14px}.panel{padding:21px}.welcome{min-height:540px;padding:38px 10px 20px}.welcome h1{font-size:47px}.welcome p{font-size:16px}.sheet-overlay{align-items:flex-end;padding:0}.sheet{max-width:100%;max-height:93dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:24px 24px 0 0;animation:.24s cubic-bezier(.2,.7,.3,1) mobile-sheet-in}.sheet>header{padding:12px 23px 6px}.sheet-body{padding:14px 23px 26px}.sheet-handle{background:#ccd6cd;border-radius:3px;flex-shrink:0;width:36px;height:4px;margin:12px auto 0;display:block}.sheet-overlay.leaving .sheet{animation:.18s forwards mobile-sheet-out}.toast{bottom:calc(88px + env(safe-area-inset-bottom));gap:9px;width:max-content;max-width:calc(100vw - 28px);padding-left:15px;font-size:13px}.two-col{gap:12px}.meal-timeline{padding:22px}.menu-row{gap:14px;padding:19px}.menu-row h3{font-size:17px}.recipe-grid{gap:12px}.recipe-card{padding:18px}.recipe-card h3{min-height:48px;margin-bottom:14px;font-size:16px;line-height:1.5}.recipe-card span{font-size:11px}.recipe-card>svg{width:17px;bottom:19px;right:12px}.workout-feature{padding:25px 24px}.workout-feature>h2{font-size:25px}.workout-stages p{font-size:14px}.workout-stages>div{gap:14px}.strength-panel{padding:21px}.strength-panel>.row{flex-wrap:wrap;gap:3px}.week-training{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.week-training>div{padding:11px 9px;font-size:11px}.trend-panel{padding:22px 18px}.trend-value{font-size:37px}.chart{height:250px}.report-stats{gap:12px;padding:22px 0}.report-stats b{font-size:27px}.report-stats>div>small{font-size:11px}.weekly-report{padding:23px 19px}.weekly-report>.row{flex-wrap:wrap;gap:3px}.report-lines p{font-size:12px}.photo-section{padding:23px 19px}.photo-pair img{height:230px}.photo-slider{height:340px}.photo-section>.row{flex-wrap:wrap}.photo-section>.row>.text-button{font-size:12px}.profile-card{gap:14px;padding:22px 18px}.profile-card p{max-width:190px;font-size:12px}.profile-card h2{font-size:22px}.avatar{flex-shrink:0;width:54px;height:54px}.goal-panel{padding:23px}.settings-list{padding:0 20px}.settings-row{gap:14px;min-height:86px}.readonly-banner{padding:10px 15px}.readonly-banner .text-button{font-size:12px}}@media (width<=370px){main{padding-left:14px;padding-right:14px}.topbar{padding-left:16px;padding-right:16px}.intake-panel,.water-panel,.exercise-short,.weight-hero{padding-left:21px;padding-right:21px}.intake-numbers b{font-size:29px}.intake-numbers .budget b{font-size:23px}.water-buttons{gap:7px}.water-buttons button{font-size:12px}.sheet-body{padding-left:19px;padding-right:19px}.metric-list{gap:12px}.metric-list>div{padding:15px}.metric-list b{font-size:21px}}@keyframes mobile-sheet-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes mobile-sheet-out{to{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.weight-hero{position:relative;overflow:hidden}.hero-mascot{object-fit:contain;pointer-events:none;opacity:.95;width:96px;height:145px;position:absolute;top:70px;right:20px}.weight-number{z-index:1;font-size:84px;position:relative}.welcome{position:relative}.welcome-art{object-fit:contain;pointer-events:none;width:200px;height:300px;position:absolute;top:70px;right:-20px}.welcome h1,.welcome p{z-index:1;position:relative}.strength-panel{min-height:205px;padding-right:130px;position:relative;overflow:hidden}.strength-art{object-fit:contain;pointer-events:none;width:118px;height:195px;position:absolute;bottom:0;right:18px}.craving-art{align-items:center;gap:24px;display:flex}.craving-art img{object-fit:contain;width:95px;height:140px}.craving-art h3{margin:0;font-size:23px;line-height:1.5}.food-art{background-color:#f6f8f2;background-image:url(/art/meals-atlas.png);background-repeat:no-repeat;background-size:200% 200%;border-radius:16px;flex-shrink:0;width:88px;height:88px;position:relative}.food-art.breakfast{background-position:0 0}.food-art.rice{background-position:100% 0}.food-art.noodles{background-position:0 100%}.food-art.fish{background-position:100% 100%}.food-art span{color:#617a6c;background:#ffffffba;border-radius:3px;padding:1px 3px;font-size:8px;line-height:1.4;position:absolute;bottom:3px;right:4px}.food-art.large{background-color:#0000;align-self:center;width:180px;height:180px}.food-art.large span{font-size:10px}.recipe-card .food-art{background-color:#0000;width:145px;height:145px;margin:0 auto 18px}.menu-row{gap:16px}.menu-row>div:nth-child(2){min-width:0}.menu-row h3{line-height:1.5}.draft-calories{flex-direction:column;gap:7px;display:flex}.draft-calories b{color:var(--green);font-family:system-ui;font-size:25px}@media (width>=1600px){.weight-number{font-size:106px}.hero-mascot{width:115px;height:180px;top:82px;right:28px}}@media (width<=760px){.hero-mascot{width:79px;height:120px;top:64px;right:17px}.weight-number{font-size:70px}.welcome-art{width:136px;height:210px;top:75px;right:-5px}.welcome h1{font-size:44px}.strength-panel{min-height:205px;padding-right:103px}.strength-art{width:88px;height:152px;bottom:13px;right:9px}.strength-panel .row{display:block}.strength-panel .row .text-button{justify-content:flex-start}.strength-panel p{font-size:14px}.strength-panel small{font-size:12px}.food-art{width:76px;height:76px}.menu-row{gap:12px;padding:17px 14px}.menu-row h3{margin:4px 0 6px;font-size:16px}.menu-row span{font-size:12px}.menu-row>svg{width:16px}.recipe-card .food-art{width:122px;height:122px;margin-bottom:14px}.recipe-card h3{min-height:48px}.craving-art{gap:18px}.craving-art h3{font-size:21px}}@media (width<=370px){.hero-mascot{width:67px;height:108px}.weight-number{font-size:66px}.recipe-card .food-art{width:112px;height:112px}.menu-row .food-art{width:67px;height:67px}}.date-control .date-pill{white-space:nowrap;width:156px;padding:9px 4px;font-size:15px}.calendar-heading h3{margin:0}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.weekday-label{text-align:center;color:var(--muted);padding:8px 0;font-size:12px}.calendar-day{background:#f6f8f3;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;height:72px;display:flex}.calendar-day b{font-family:system-ui;font-size:16px}.calendar-day small{font-size:8px;line-height:1}.calendar-day.is-today{box-shadow:inset 0 0 0 1px #8db2a3}.calendar-day.selected{background:var(--green);color:#fff}.calendar-day.selected small{color:#dceee7}.calendar-dots{gap:3px;height:5px;display:flex}.calendar-dots i,.calendar-legend i{border-radius:50%;width:5px;height:5px;display:inline-block}.dot-0{background:#24786d}.dot-1{background:#bc8c54}.dot-2{background:#677797}.dot-3{background:#6caeb9}.calendar-day.selected i{background:#e1ebe5}.calendar-legend{color:var(--muted);justify-content:center;gap:16px;font-size:11px;display:flex}.calendar-legend span{align-items:center;gap:5px;display:flex}.calendar-summary{background:#f7f8f5;border-radius:15px;padding:20px}.calendar-summary div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:13px;display:flex}.calendar-summary span{color:var(--muted)}.calendar-summary small{font-size:10px}.flex-meal{background:#f0ece1;border-radius:18px;padding:21px 24px}.flex-meal h3{margin:9px 0 6px}.flex-meal details{margin-bottom:0}@media (width<=760px){.date-control .date-pill{width:128px;font-size:12px}.calendar-grid{gap:5px}.calendar-day{border-radius:10px;height:61px}.calendar-day small{font-size:7px}.calendar-summary{padding:17px}.calendar-legend{gap:13px}}
