:root{--bg:#f5f5f0;--white:#fff;--ink:#222a27;--muted:#7b827c;--green:#3d6652;--lime:#d9e9ad;--line:#e6e8e0;--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 'Microsoft YaHei','PingFang SC',system-ui,sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{cursor:pointer}button{border:0}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8cae6d;outline-offset:3px}.sidebar{position:fixed;width:236px;height:100vh;background:#fcfcf9;border-right:1px solid var(--line);padding:34px 24px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:24px;font-weight:800;letter-spacing:2px}.brand-icon{width:42px;height:42px;background:var(--green);color:var(--lime);border-radius:13px;text-align:center;line-height:42px;font-size:23px}.brand small{display:block;font:9px/1.7 system-ui;letter-spacing:1.7px;color:var(--muted)}.nav-label{font-size:11px;color:var(--muted);margin:49px 12px 14px}nav{display:grid;gap:9px}nav button{padding:13px 15px;text-align:left;border-radius:10px;background:none;color:#6b756d}nav button span{display:inline-block;width:27px;font-size:20px;vertical-align:middle}nav button.active{background:#e9efdf;color:#35523e;font-weight:600}.sidebar-bottom{margin-top:auto;font-size:12px;color:#606e61;padding:16px 9px}.sidebar-bottom p{font-size:11px;color:var(--muted)}.sidebar-bottom a{font-size:11px;color:var(--green);text-decoration:none}.status-dot{display:inline-block;width:6px;height:6px;background:#73956c;border-radius:50%;margin-right:7px;vertical-align:middle}main{margin-left:236px;padding:0 42px;max-width:1660px}.topbar{height:84px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);font-size:12px;color:#727b73}.topbar time{margin-left:auto}.avatar{border:1px solid #d9decf;background:#eef0e7;border-radius:50%;width:32px;height:32px;text-align:center;line-height:30px;color:var(--green)}.page-head{padding:31px 0 24px;display:flex;justify-content:space-between;align-items:center;gap:18px}.eyebrow{font-size:10px;letter-spacing:2px;color:#7c8b75;font-weight:600;margin-bottom:8px}h1{font-size:30px;font-weight:600;letter-spacing:-1px;line-height:1.3;margin:0 0 9px}h2{font-size:18px;margin:0;font-weight:600}h3{font-size:15px;margin:0 0 8px;font-weight:600}p{margin:0}.sub{color:var(--muted);font-size:12px}.button{background:var(--green);color:white;border-radius:9px;padding:11px 18px;font-size:12px;display:inline-flex;align-items:center;gap:9px;text-decoration:none}.button.light{background:#eff2e9;color:var(--green)}.button.outline{background:white;color:var(--green);border:1px solid var(--line)}.button.small{padding:7px 12px;font-size:11px}.hero{display:grid;grid-template-columns:1.2fr 1fr;background:#e8eddf;border:1px solid #dfe5d4;border-radius:var(--radius);overflow:hidden;margin-bottom:24px;min-height:215px}.hero-text{padding:28px 32px}.pill{display:inline-flex;border-radius:5px;background:#d7e0c8;color:#526548;font-size:10px;letter-spacing:.7px;padding:4px 8px;margin-bottom:14px}.hero h2{font-size:28px;line-height:1.45;margin-bottom:12px;font-weight:600}.hero-text p{font-size:12px;color:#68755f}.hero-bottom{margin-top:22px;display:flex;gap:20px;font-size:11px;color:#5f6e56}.hero-art{display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(ellipse at center,#e6ecd7,transparent 70%)}.orbit{width:176px;height:176px;border:1px solid #b8c5a3;border-radius:50%;display:grid;place-items:center;position:relative}.orbit:before,.orbit:after{content:'';position:absolute;inset:18px;border:1px dashed #bbc7aa;border-radius:50%}.orbit:after{inset:38px;border-style:solid}.orbit-label{z-index:1;text-align:center;background:#e7eddb;padding:5px}.orbit-label b{font-size:38px;font-weight:500;line-height:1}.orbit-label small{display:block;font-size:10px;letter-spacing:2px;margin-top:5px;color:#718064}.float-label{position:absolute;padding:7px 12px;background:#fbfcf6;border:1px solid #dce3cf;box-shadow:0 5px 20px #586b3d08;border-radius:8px;color:#60714f;font-size:10px}.float-label.one{top:23px;left:20px}.float-label.two{bottom:25px;right:17px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:15px;padding:18px 21px}.stat-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.stat-value{font:500 29px/1.4 system-ui;margin:10px 0 3px;letter-spacing:-1px}.stat-value small{font-size:12px;margin-left:6px;letter-spacing:0;color:#8c938c}.stat-note{font-size:10px;color:#87907f}.section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 14px;gap:12px}.section-head a,.text-link{background:none;color:var(--green);font-size:11px;text-decoration:none}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:9px}.day-card{background:white;border:1px solid var(--line);border-radius:13px;padding:15px 12px;min-height:120px}.day-card.training{background:#edf1e5;border-color:#dce4cf}.day-card.today{box-shadow:inset 0 0 0 1px #789362}.day-card .day{color:var(--muted);font-size:10px;margin-bottom:14px;display:flex;justify-content:space-between}.day-card strong{display:block;font-size:13px;font-weight:500}.day-card small{display:block;color:#8a9382;font-size:10px;margin-top:6px}.two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-top:24px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:23px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.panel h2{font-size:15px}.chart-wrap{width:100%;min-height:230px}.chart-wrap svg{display:block;width:100%;height:auto;overflow:visible}.empty-chart{height:230px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 56px,#f0f2eb 57px);display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);font-size:12px}.empty-chart strong{display:block;color:#5b6d56;font-weight:500;margin-bottom:7px}.tag{font-size:10px;border-radius:5px;background:#eef2e6;color:#688051;padding:4px 8px}.mini-meal{padding:13px 0;border-bottom:1px solid #eff0eb;display:flex;align-items:center;gap:13px}.mini-meal:last-child{border:0}.meal-icon{width:36px;height:36px;border-radius:11px;background:#f0f2e9;color:#6d805b;display:grid;place-items:center;font-size:20px;flex-shrink:0}.mini-meal strong{font-size:12px;font-weight:500}.mini-meal p{font-size:10px;color:var(--muted)}.mini-meal .cal{margin-left:auto;white-space:nowrap;font-size:11px;color:#7a8473}.notice{background:#f4f0e6;border:1px solid #e9e1ce;border-radius:12px;padding:14px 18px;color:#8a7655;font-size:11px;margin:22px 0}.tabs{display:flex;gap:7px;background:#e9ece2;border-radius:11px;padding:5px;width:fit-content;flex-wrap:wrap}.tabs button{background:none;color:#808979;padding:8px 18px;border-radius:8px;font-size:12px}.tabs button.active{background:white;color:#3d5c46;box-shadow:0 1px 4px #35422d0c}.training-intro{display:flex;gap:12px;align-items:center;margin:25px 0 16px}.letter{display:grid;place-items:center;background:#e1e9d4;border:1px solid #d6e0c8;border-radius:13px;width:48px;height:48px;color:var(--green);font-size:24px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.exercise{background:white;border:1px solid var(--line);border-radius:16px;padding:20px}.exercise-head{display:flex;gap:12px;align-items:center;margin-bottom:15px}.exercise-num{font:12px system-ui;color:#8b9a7f;border:1px solid #e1e6da;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.exercise-head h3{margin:0;font-size:15px}.muscle{margin-left:auto;font-size:10px;color:#7b8c6e}.prescription{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:13px}.prescription span{background:#f2f4ec;border-radius:5px;padding:5px 9px;font-size:11px;color:#6d7c61}.exercise p{font-size:12px;color:#6f786d;min-height:39px}.exercise .caution{font-size:10px;color:#9b8866;min-height:0;margin:8px 0}.exercise .search{margin-top:10px;padding-top:12px;border-top:1px solid #eef0e7;display:flex;gap:8px;align-items:center;justify-content:space-between}.exercise .search code{font:10px/1.5 inherit;color:#899180;overflow-wrap:anywhere}.search-actions{display:flex;gap:7px;flex-shrink:0}.search-actions button,.search-actions a{font-size:10px;color:var(--green);background:#f0f4e9;padding:5px 8px;border-radius:5px;text-decoration:none}.details{background:white;border:1px solid var(--line);border-radius:15px;margin:14px 0;padding:16px 20px}.details summary{cursor:pointer;font-weight:500;color:#4f6449;font-size:13px}.drill{display:grid;grid-template-columns:1.1fr .7fr 2fr auto;gap:16px;border-top:1px solid #eef0e7;padding:13px 0;align-items:center;font-size:11px}.drill:first-of-type{margin-top:15px}.drill strong{font-weight:500;font-size:12px}.drill p{color:var(--muted)}.drill button{font-size:10px;background:#eff2e8;color:var(--green);border-radius:5px;padding:6px 9px}.food-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.food-card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.food-top{padding:21px 23px;background:#edf0e5;display:flex;justify-content:space-between;align-items:center}.food-top h3{font-size:16px;margin:5px 0 0}.food-top .meal-icon{background:#f9fbf4;width:46px;height:46px}.food-body{padding:20px 23px}.food-body h4{font-size:10px;color:#87917e;letter-spacing:1px;margin:0 0 7px;font-weight:500}.food-body p{font-size:12px;color:#626e5b;line-height:1.9;margin-bottom:14px}.macro-row{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #edf0e6;padding-top:14px;font-size:11px;color:#7d8974}.macro-row b{display:block;color:#40523b;font:500 18px/1.7 system-ui}.macro-row small{font-size:9px}.weight-layout{display:grid;grid-template-columns:1fr 320px;gap:20px}.record-form label{font-size:11px;color:#76816e;display:block;margin:17px 0 7px}.record-form input{width:100%;border:1px solid #dfe4d6;border-radius:9px;padding:11px 12px;background:#fcfdf9;color:var(--ink)}.record-form .button{width:100%;justify-content:center;margin-top:21px}.record-form .sub{font-size:10px;margin-top:15px;line-height:1.8}.records{margin-top:23px}.record-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eef0e7;font-size:12px;gap:12px}.record-row time{color:#7c8775}.record-row b{font:500 15px system-ui}.record-row button{background:none;color:#8b957f;font-size:11px;padding:5px}.record-row .delete{color:#a78e7c}.chart-filters{display:flex;gap:4px}.chart-filters button{background:none;color:#85917b;border-radius:5px;font-size:10px;padding:5px 8px}.chart-filters button.active{background:#eaf0df;color:#4b6540}.chart-caption{font-size:10px;color:#89957e;display:flex;justify-content:space-between;margin-top:9px}.privacy{font-size:10px;color:#8a957f;margin-top:14px}.shopping{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:17px}.shopping div{background:#f5f7f0;border-radius:8px;padding:10px;font-size:11px;display:flex;justify-content:space-between}.shopping b{color:var(--green);font-weight:500}footer{display:flex;justify-content:space-between;gap:15px;padding:28px 0;font:9px/1.5 system-ui;color:#a1a895;letter-spacing:1px}footer span{letter-spacing:0;font-size:10px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#294735;color:#fff;padding:11px 22px;border-radius:10px;font-size:12px;box-shadow:0 8px 30px #0002;z-index:10;display:none}#toast.show{display:block}.loading{padding:100px 0;color:var(--muted);text-align:center}.error-box{padding:30px;border:1px solid #e5d9ca;border-radius:14px;background:#f9f2e8}.error-box button{margin-top:15px}.training-complete{background:#f3f7ec;border-color:#cad9b7}.checkline{display:flex;justify-content:flex-end;margin-top:13px}.checkline label{font-size:11px;color:#809272;display:flex;gap:6px;align-items:center}.checkline input{accent-color:var(--green)}
@media(min-width:1500px){main{margin-right:auto}.hero-art{justify-content:center}.float-label.one{left:70px}.float-label.two{right:70px}}@media(max-width:1150px){.sidebar{width:200px;padding:30px 18px}main{margin-left:200px;padding:0 25px}.week{gap:6px}.day-card{padding:12px 9px}.weight-layout{grid-template-columns:1fr 280px}.drill{grid-template-columns:1fr .7fr 1.3fr auto}.hero h2{font-size:24px}.float-label.one{left:0}.float-label.two{right:0}}@media(max-width:900px){.sidebar{width:180px;padding:26px 15px}main{margin-left:180px;padding:0 20px}.hero{grid-template-columns:1.3fr .7fr}.hero-text{padding:24px}.hero-art{overflow:hidden}.float-label{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.two-col,.weight-layout{grid-template-columns:1fr}.week{grid-template-columns:repeat(4,1fr)}.cards,.food-grid{grid-template-columns:1fr}.topbar{height:70px}.page-head h1{font-size:26px}}@media(max-width:600px){.sidebar{position:sticky;top:0;width:100%;height:auto;padding:12px 18px;z-index:5;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px;gap:9px}.brand-icon{width:31px;height:31px;font-size:18px;line-height:31px;border-radius:10px}.brand small{font-size:8px}.nav-label,.sidebar-bottom{display:none}nav{display:flex;gap:4px;margin-top:12px;justify-content:space-between}nav button{font-size:11px;padding:8px 10px;white-space:nowrap}nav button span{display:none}main{margin:0;padding:0 18px}.topbar{height:53px;font-size:10px;gap:10px}.topbar .avatar{display:none}.page-head{padding-top:25px;align-items:flex-start}.page-head h1{font-size:25px}.page-head .button{padding:9px 10px;font-size:10px}.eyebrow{font-size:9px}.sub{font-size:11px}.hero{grid-template-columns:1fr .55fr;min-height:185px}.hero-text{padding:22px 18px}.hero h2{font-size:21px}.hero-text p{font-size:10px}.hero-bottom{gap:11px;font-size:9px;margin-top:17px}.orbit{width:120px;height:120px}.orbit:before{inset:13px}.orbit:after{inset:25px}.orbit-label b{font-size:30px}.orbit-label small{font-size:8px}.stats{gap:10px;margin-bottom:21px}.stat{padding:14px 16px}.stat-value{font-size:27px}.week{grid-template-columns:repeat(4,1fr);gap:7px}.day-card{min-height:103px;padding:11px 10px}.day-card strong{font-size:11px}.day-card small{font-size:9px}.day-card .day{margin-bottom:10px}.panel{padding:18px}.two-col{margin-top:18px;gap:16px}.section-head{margin-top:21px}.section-head h2{font-size:16px}.notice{font-size:10px;padding:12px 14px}.tabs button{padding:8px 13px}.exercise{padding:17px}.exercise-head h3{font-size:14px}.exercise .search{align-items:flex-start;flex-direction:column;gap:10px}.drill{grid-template-columns:1fr auto;gap:7px}.drill p{grid-column:1/3}.drill button{grid-column:2;grid-row:auto}.shopping{grid-template-columns:repeat(2,1fr)}.food-top{padding:18px}.food-top h3{font-size:14px}.food-body{padding:18px}.chart-filters button{padding:5px}.panel-head{gap:8px;flex-wrap:wrap}.chart-caption{gap:12px}.weight-layout{gap:16px}footer{font-size:8px}footer span{font-size:9px}#toast{width:max-content;max-width:90%;bottom:20px}}
@media(max-width:600px){.page-head{flex-direction:column;gap:14px}.page-head .button{white-space:nowrap}.week{grid-template-columns:repeat(3,1fr)}.day-card strong{font-size:12px}.stat-note{line-height:1.8}}

.mode-selector{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.mode-selector strong{font-size:12px;font-weight:500}.mode-selector .sub{font-size:10px;margin-top:3px}.portion-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:18px 0}.portion-grid article{background:#f4f6ee;padding:15px;border-radius:10px}.portion-grid b{color:var(--green);font-size:12px}.portion-grid p{font-size:11px;color:var(--muted);margin-top:6px}.portion-amount{font-size:14px!important;color:#405b3c!important}.shopping b{max-width:64%;text-align:right}.training-tabs{margin-top:14px}@media(max-width:600px){.mode-selector{flex-direction:column;align-items:flex-start;gap:10px}.mode-selector .tabs{width:100%}.mode-selector .tabs button{flex:1}.portion-grid{grid-template-columns:1fr}.training-tabs{width:100%}.training-tabs button{flex:1;white-space:nowrap;padding:8px 10px}.food-body .portion-amount{line-height:2}}

.month-picker{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px;background:#edf2e4;border:1px solid #dde6cf;border-radius:16px;margin-bottom:20px}.month-picker h2{margin:4px 0 6px}.month-controls{display:flex;gap:8px;align-items:center;flex-shrink:0}.month-controls select{padding:9px 12px;border:1px solid #d4dfc5;border-radius:8px;color:#47613d;background:white}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.menu-preview{margin:14px 0}.menu-preview button{width:100%;display:grid;grid-template-columns:60px 1fr 50px;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);text-align:left;background:none;color:#65765c;font-size:11px}.menu-preview b{font-weight:500;color:var(--green)}.muscle-map{float:right;width:126px;margin:0 0 12px 14px;padding:8px;background:#f5f6f1;border-radius:12px;text-align:center}.muscle-map svg{width:100%;height:142px;display:block}.muscle-map figcaption{font-size:9px;color:#8b7265;line-height:1.5;margin-top:4px}.muscle-map small{display:block;color:#7a8573;font-size:9px;margin-top:3px}.muscle-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c56c59;margin-right:4px}.exercise{display:flow-root}.exercise .search,.exercise .checkline{clear:both}.muscle-map.compact{float:none;width:92px;margin:0;padding:5px}.muscle-map.compact svg{height:100px}.drill{grid-template-columns:1fr .6fr 92px 1.4fr auto}.drill .search-actions{flex-direction:column}.drill .search-actions a{text-align:center}.muscle-legend{font-size:10px;color:#8a9380;margin:12px 0}@media(max-width:1100px){.drill{grid-template-columns:1fr 92px auto}.drill>span{grid-column:1}.drill .muscle-map{grid-column:2;grid-row:1/4}.drill>p{grid-column:1}.drill .search-actions{grid-column:3;grid-row:1/4}.month-picker{flex-wrap:wrap}}@media(max-width:600px){.month-picker{padding:18px;gap:14px}.month-controls{width:100%;justify-content:space-between}.month-controls select{flex:1;min-width:0}.month-controls .button{padding:8px 10px}.muscle-map{width:112px;margin-left:10px}.muscle-map svg{height:130px}.drill{grid-template-columns:1fr 82px}.drill .muscle-map{width:82px;grid-column:2;grid-row:1/4}.drill>p{grid-column:1}.drill .search-actions{grid-column:1/3;grid-row:auto;flex-direction:row}.menu-preview button{grid-template-columns:46px 1fr 40px;gap:8px}.food-top h3{line-height:1.7}}

.calendar-picker{display:block}.calendar-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.meal-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:20px}.calendar-day{min-width:0;text-align:left;background:#f9fbf5;border:1px solid #dfe6d5;border-radius:10px;padding:12px;color:#657a57}.calendar-day span{font:500 19px/1.4 system-ui}.calendar-day small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;margin-top:6px;color:#829175}.calendar-day.selected{background:#3d6652;border-color:#3d6652;color:white;box-shadow:0 3px 10px #3d665220}.calendar-day.selected small{color:#d9e9ad}.calendar-caption{font-size:11px;color:#6c805e;margin-top:12px}.search-actions{flex-wrap:wrap}.app-search{background:#e7eddf!important}.drill .search-actions{max-width:125px}@media(max-width:600px){.calendar-heading{flex-direction:column;align-items:flex-start}.calendar-heading .month-controls{width:auto}.meal-calendar{gap:5px;margin-top:15px}.calendar-day{padding:9px 0;text-align:center;min-height:42px;border-radius:7px}.calendar-day small{display:none}.calendar-day span{font-size:16px}.drill .search-actions{max-width:none}.search-actions a{font-size:10px}.calendar-picker{padding:15px}}
