:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#18231d;background:#f6f7f2;--green:#123a2a;--lime:#d8fa77;--muted:#58665d;--line:#dce3d8;--paper:#fff;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #428a58;outline-offset:3px}.shell{min-height:100vh;display:grid;grid-template-columns:224px 1fr}aside{padding:35px 20px;display:flex;flex-direction:column;gap:52px;background:#eff2e9;border-right:1px solid var(--line);position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:850;text-decoration:none;padding:0 9px}.mark{display:grid;place-items:center;width:36px;height:36px;background:var(--green);color:var(--lime);border-radius:10px;font-size:26px;line-height:1}nav{display:grid;gap:7px}nav a{display:flex;align-items:center;gap:12px;padding:12px 15px;color:var(--muted);text-decoration:none;font-size:14px;font-weight:700;border-radius:12px}nav a[aria-current=page]{background:#dce9d6;color:var(--green)}svg{width:20px;height:20px;flex:none;vertical-align:middle}.aside-foot{margin-top:auto;font-size:12px;color:var(--muted);padding:0 9px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#509760;margin-right:7px}main{padding:30px clamp(24px,5vw,74px) 54px;width:100%;max-width:1380px;margin:auto}header,.row,.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}header{color:var(--muted);font-size:13px;margin-bottom:24px}.voice,.secondary,.chip,.icon-btn{border:1px solid var(--line);background:var(--paper);border-radius:11px;padding:9px 13px;color:var(--green);font-weight:700}.voice svg{margin-right:5px;width:17px}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,4vw,43px);letter-spacing:-.04em;line-height:1.18}h2{font-size:22px;letter-spacing:-.03em}h3{font-size:17px}.sub{color:var(--muted);margin-top:8px;font-size:14px}.hero{margin-top:25px;min-height:310px;border-radius:22px;display:flex;align-items:center;overflow:hidden;padding:36px 38px;background:linear-gradient(90deg,#0c241bef, #10221a50 66%, transparent),url(hero.jpg) center 57%/cover;color:#fff}.hero h2{font-size:clamp(32px,5vw,55px);line-height:1.13;max-width:9em}.hero p{color:#e0e8df;margin:12px 0 22px;font-size:14px}.eyebrow{display:block;color:var(--lime);font-size:12px;font-weight:800;letter-spacing:.12em;margin-bottom:11px}.primary{background:var(--green);color:white;border:0;border-radius:11px;padding:11px 16px;font-weight:750;min-height:44px}.primary svg{margin-right:6px}.primary:disabled{opacity:.55;cursor:wait}.hero .primary{background:var(--lime);color:#18281b}.metrics,.cards{display:grid;gap:14px;margin-top:16px}.metrics{grid-template-columns:repeat(3,1fr)}.panel,.metric,.card{background:var(--paper);border:1px solid var(--line);border-radius:17px}.metric{padding:17px 18px;display:flex;align-items:center;gap:13px}.bubble{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ecf3e6;color:var(--green);flex:none}.metric small,.meta,small{color:var(--muted);font-size:12px}.metric strong{display:block;font-size:21px;line-height:1.28}.section-head{margin:30px 0 11px}.text-btn{background:none;border:0;padding:8px 0;color:var(--green);font-weight:800;font-size:14px}.cards{grid-template-columns:repeat(3,1fr);margin-top:0}.card{padding:0;text-align:left;color:inherit;overflow:hidden}.card:hover,.secondary:hover,.chip:hover{border-color:#7ca687}.thumb{aspect-ratio:16/8.6;position:relative;overflow:hidden;background:linear-gradient(135deg,#dce9dc,#b6cdb7);display:grid;place-items:center}.thumb img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.play{display:grid;place-items:center;position:absolute;bottom:10px;right:11px;width:37px;height:37px;background:#123a2a;color:white;border-radius:50%}.play svg{width:16px}.card-body{padding:12px 14px 14px}.meta{margin-top:4px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 16px}.filters input{flex:1 1 210px}.filters select{flex:1 1 100px}input,select{min-width:0;max-width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 11px;color:inherit}.panel{padding:20px;margin:16px 0}.panel>p,.panel>form{margin-top:9px}.food-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:13px 0}.food-grid label{display:grid;gap:5px;font-size:13px;font-weight:700}.food-grid input,.food-grid select{width:100%}.photo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.meal-photo{display:block;max-height:230px;max-width:100%;border-radius:12px;margin-top:12px}.result{font-size:21px;font-weight:800;color:var(--green)}.meal-item{border-top:1px solid var(--line);padding:12px 0}.meal-item:first-of-type{margin-top:12px}.meal-item:last-child{padding-bottom:0}.empty{padding:20px;background:white;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}dialog{border:0;border-radius:20px;width:min(570px,calc(100% - 24px));max-height:calc(100% - 24px);padding:23px;color:inherit;box-shadow:0 25px 110px #12291c60}dialog::backdrop{background:#0c1e17a6}dialog video{width:100%;max-height:290px;border-radius:12px;margin:14px 0 8px;background:#172b21;display:block}dialog h3{margin-top:13px}dialog p,dialog li{font-size:14px}dialog ol{padding-left:24px;margin:6px 0}.timer{text-align:center;font-size:clamp(44px,10vw,78px);font-weight:850;color:var(--green);line-height:1.12;font-variant-numeric:tabular-nums}.session-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:17px}.center{text-align:center}.icon-btn{padding:6px 9px}.progress{height:8px;background:#e4ebe1;overflow:hidden;border-radius:6px;margin:12px 0}.progress div{background:#4c8e5d;height:100%}#toast{position:fixed;right:18px;bottom:20px;z-index:2;background:var(--green);color:white;border-radius:10px;padding:0;font-size:14px}#toast:not(:empty){padding:10px 15px}.link{color:var(--green);text-underline-offset:3px}
@media(max-width:820px){.shell{grid-template-columns:170px 1fr}aside{padding-inline:11px}main{padding-inline:22px}.metric{padding:13px 10px;gap:7px}.metric strong{font-size:17px}.bubble{width:32px;height:32px}}@media(max-width:620px){.shell{display:block}aside{height:auto;position:static;padding:16px 17px 0;border:0;background:transparent}.brand{padding:0}.mark{width:31px;height:31px}.aside-foot{display:none}nav{position:fixed;bottom:0;left:0;right:0;z-index:1;grid-template-columns:repeat(4,1fr);gap:0;background:#f9fbf6;border-top:1px solid var(--line);padding:5px 6px calc(5px + env(safe-area-inset-bottom))}nav a{flex-direction:column;gap:3px;padding:7px 3px;font-size:11px}main{padding:13px 17px 95px}header{margin-bottom:16px}.hero{padding:24px 18px;min-height:255px;margin-top:17px;background-position:60% center}.hero h2{max-width:5em}.hero p{font-size:12px}.metrics{gap:7px}.metric{padding:9px 8px;display:block}.bubble{margin-bottom:4px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card-body{padding:9px 10px 11px}.card h3{font-size:14px}.section-head{margin-top:24px}#toast{bottom:76px}.panel{padding:15px}}@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s,border-color .15s}}
.brand{white-space:nowrap}.mark{flex:none}.thumb img[hidden]{display:none}
.quick-search{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}.quick-search .chip{padding:5px 11px;font-size:13px}#moreExercises{margin-top:15px}.exercise-notes{margin:13px 0}.exercise-notes summary{color:var(--green);font-weight:700;cursor:pointer}
.food-search{display:grid;gap:7px;margin-top:12px}.food-search label{font-size:14px;font-weight:750}.food-search input{width:100%}.food-matches{display:flex;flex-wrap:wrap;gap:7px;max-height:205px;overflow:auto;padding:3px}.food-match{display:grid;text-align:left;gap:2px}.food-match[aria-pressed=true]{background:#dce9d6;border-color:#7ca687}.meal-photo-option{margin-top:15px}.meal-photo-option summary{color:var(--green);font-weight:700;cursor:pointer}.meal-recognize{margin-top:10px}
.food-combination:not([hidden]){margin-top:12px;padding:14px;background:#eff5ea;border-radius:12px}.food-combination button{margin-top:10px}
.assistant-entry{display:flex;align-items:center;gap:12px;padding:15px 17px;margin-top:18px;border:1px solid var(--line);border-radius:16px;background:#eef5e7}.assistant-entry a{margin-left:auto;text-decoration:none;white-space:nowrap}.assistant-entry .sub{margin-top:2px}.assistant-entry h2{font-size:18px}.assistant-panel{max-width:700px}.assistant-controls{display:flex;gap:8px;margin:7px 0 12px}.assistant-controls input{flex:1}.assistant-panel .quick-search{margin:12px 0}.assistant-answer{background:#eff5ea;border-radius:12px;padding:14px}.assistant-answer p+p{margin:5px 0 10px}.assistant-answer button+button{margin-left:10px}@media(max-width:620px){nav{grid-template-columns:repeat(5,1fr)}.assistant-entry{padding:12px 9px;gap:7px}}
.header-controls{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}#standby[aria-pressed=true]{background:#dce9d6}#standbyStatus:not(:empty){margin:-12px 0 15px}
#assistantReply:not(:empty){margin-bottom:16px}.assistant-answer .chip{margin:7px 6px 0 0}.assistant-answer .text-btn{margin:7px 0 0 8px}

button:not(:disabled):active,.assistant-entry a:active{transform:scale(.96)}
.button-feedback{position:fixed;inset:auto;margin:0;padding:0;width:0;height:0;overflow:visible;border:0;background:none;pointer-events:none;z-index:100;color:#d8fa77}
.feedback-shape{display:grid;place-items:center;position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:var(--feedback-size);height:var(--feedback-size);border-radius:50%;background:#123a2a;box-shadow:0 0 0 2px #e5f3de;animation:feedback-collapse 160ms cubic-bezier(.2,.75,.3,1) both}
.feedback-ring{position:absolute;inset:6px;border:2px solid #d8fa7750;border-top-color:#d8fa77;border-radius:50%;animation:feedback-spin 650ms linear infinite}
.feedback-shape svg{width:62%;height:62%;opacity:0;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.feedback-shape path{stroke-dasharray:1;stroke-dashoffset:1}
.button-feedback i{position:absolute;left:-2px;top:-2px;width:5px;height:5px;border-radius:50%;background:#83be55;opacity:0}
.button-feedback i:nth-of-type(even){background:#c2e964}
.is-complete .feedback-ring,.is-dismissed .feedback-ring{visibility:hidden}
.button-feedback.is-complete{animation:feedback-fade 180ms 540ms both}
.button-feedback::backdrop{pointer-events:none;background:transparent}
.is-complete svg{opacity:1}
.is-complete path{animation:feedback-check 200ms 130ms ease-out both}
.is-complete i{animation:feedback-burst 440ms 200ms ease-out both}
.is-dismissed{animation:feedback-fade 170ms both}
@keyframes feedback-collapse{from{width:var(--feedback-width);height:var(--feedback-height);border-radius:11px;transform:translate(-50%,-50%) scale(.96)}}
@keyframes feedback-spin{to{transform:rotate(360deg)}}
@keyframes feedback-check{to{stroke-dashoffset:0}}
@keyframes feedback-burst{0%{opacity:0;transform:scale(.4)}25%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.55)}}
@keyframes feedback-fade{to{opacity:0}}
@media(prefers-reduced-motion:reduce){
  button:not(:disabled):active,.assistant-entry a:active{transform:none}
  .button-feedback .feedback-shape,.button-feedback .feedback-ring,.button-feedback i,.button-feedback path,.button-feedback.is-dismissed,.button-feedback.is-complete{animation:none}
  .button-feedback.is-complete path{stroke-dashoffset:0}
  .button-feedback.is-dismissed{visibility:hidden}
}

.week-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 13px}
.week-stack{max-width:820px;isolation:isolate}
.week-card{position:relative;border-radius:24px 24px 17px 17px;padding-bottom:19px;background:var(--week-bg);color:var(--week-ink,#171717);box-shadow:0 1px 0 #0002}
.week-card+.week-card{margin-top:-17px}
.week-color-0{--week-bg:#c1b2fa}
.week-color-1{--week-bg:#d9f75b}
.week-color-2{--week-bg:#fff}
.week-color-3{--week-bg:#171717;--week-ink:#fff}
.week-toggle{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:transparent;color:inherit;padding:13px 18px;border-radius:24px 24px 0 0}
.week-toggle strong{font-size:19px;margin-right:9px}
.week-toggle small,.week-count{color:inherit;font-size:12px}
.week-count{white-space:nowrap}
.week-count span{display:inline-block;text-align:center;width:20px;font-size:16px}
.week-days:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 12px 8px;animation:week-reveal 180ms ease-out}
.week-day{min-width:0;background:#fcfcfa;color:#18231d;border-radius:12px;padding:10px 12px}
.week-day h3 small{font-weight:500;margin-left:4px}
.week-add,.week-edit{display:flex;gap:7px;margin-top:7px}
.week-add input,.week-edit input{flex:1;width:0}
.week-add button,.week-edit button{white-space:nowrap}
.week-tasks{list-style:none;margin:6px 0 0;padding:0}
.week-tasks li{display:flex;align-items:center;gap:8px;padding:4px 0;border-bottom:1px solid var(--line)}
.week-tasks li>label{display:flex;align-items:center;gap:7px;flex:1;min-width:0;overflow-wrap:anywhere}
.week-tasks input[type=checkbox]{accent-color:var(--green);width:18px;height:18px;flex:none}
.week-tasks input:checked+span{text-decoration:line-through;color:var(--muted)}
.week-tasks .week-edit{width:100%}
@keyframes week-reveal{from{opacity:0;transform:translateY(-4px)}}
@media(max-width:620px){nav{grid-template-columns:repeat(6,minmax(0,1fr))}.week-days:not([hidden]){grid-template-columns:1fr}.week-toggle{padding-inline:13px}.week-toolbar button{padding-inline:9px}}
@media(prefers-reduced-motion:reduce){.week-days:not([hidden]){animation:none}}


.assistant-keywords{margin:15px 0}
.assistant-keywords h3{margin:12px 0 6px}
.assistant-keywords ul{list-style:none;margin:0;padding:0}
.assistant-keywords li{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.assistant-keywords li button{flex:none}
.assistant-keywords li p{margin:3px 0 0}
.assistant-keywords summary{cursor:pointer;margin-top:8px;font-weight:700}
.assistant-keywords>button{margin-top:8px}
.assistant-keywords details:not([open]) .assistant-collapse,
.assistant-keywords details[open] .assistant-expand{display:none}
.photo-meal-editor{margin-top:14px;padding:14px;background:#eff5ea;border-radius:12px}.photo-meal-editor fieldset{min-width:0;margin:10px 0;padding:9px 12px;border:1px solid var(--line);border-radius:10px}.photo-meal-editor legend{font-weight:700;padding:0 5px}.photo-meal-editor output{font-weight:700;color:var(--green)}.photo-meal-editor .result{margin-top:10px}
.meal-photo{cursor:crosshair}.meal-photo+.meta{margin-top:6px}
.photo-food-search{display:grid;gap:5px;font-weight:700;font-size:13px}#photoSuggestions:empty,#photoFoodResults:empty{display:none}#photoSuggestions>.meta{flex-basis:100%}
.exercise-external-video{display:grid;gap:8px;justify-items:start;margin:14px 0;text-decoration:none}.exercise-external-video img{width:100%;max-height:250px;object-fit:contain;border-radius:12px;background:#172b21}
