#view-progress .analytics-hub-tabs{display:flex;gap:6px;overflow-x:auto;margin:2px 0 12px;padding:3px 1px 7px;scrollbar-width:thin}
#view-progress .analytics-hub-tab{flex:none;min-height:36px;padding:7px 13px;border:1px solid #53634e;border-radius:9px;background:#202a20;color:#dde9d5;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
#view-progress .analytics-hub-tab[aria-selected=true]{border-color:#b8dd77;background:#b8dd77;color:#172015}
#view-progress .analytics-hub-tab:focus-visible{outline:2px solid #b8dd77;outline-offset:2px}
#view-progress .analytics-hub-panel[hidden]{display:none}
#view-progress .analytics-hub-panel{min-width:0}
#view-progress .analytics-hub-panel>.body-summary{margin:10px 0}
#view-progress #hub-panel-weight #progress-summary{display:none}
#view-progress .analytics-hub-panel>.body-chart-card{margin:8px 0}
#view-progress .analytics-hub-panel>.progress-columns{margin:8px 0}
#view-progress .hub-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px;margin:8px 0}
#view-progress .hub-stat{display:grid;align-content:center;gap:3px;min-height:56px;padding:9px 11px;border:1px solid #40503f;border-radius:11px;background:#202a20}
#view-progress .hub-stat span{color:#b9c8b4;font-size:10px;font-weight:700}
#view-progress .hub-stat strong{color:#f4f8ef;font-size:16px;line-height:1.15}
#view-progress .hub-insight{margin:9px 0;padding:10px 12px;border-left:3px solid #b8dd77;border-radius:0 9px 9px 0;background:#263126;color:#e2ecdd;font-size:12px;line-height:1.5}
#view-progress .hub-card{margin:9px 0;padding:13px 15px;border:1px solid #40503f;border-radius:14px;background:#1c261d}
#view-progress .hub-card h2{margin:0 0 11px;font-size:17px;line-height:1.2}
#view-progress .hub-caption,#view-progress .hub-empty{color:#b8c6b2;font-size:11px;line-height:1.4;margin:9px 0 0}
#view-progress .hub-group-row{display:grid;grid-template-columns:80px minmax(0,1fr) 65px;gap:8px;align-items:center;margin:8px 0;font-size:12px}
#view-progress .hub-group-row strong{text-align:right;font-size:11px}
#view-progress .hub-group-track,#view-progress .activity-analytics-track{height:8px;border-radius:20px;background:#374638;overflow:hidden}
#view-progress .hub-group-track i{display:block;height:100%;border-radius:inherit;background:#b8dd77}
#view-progress .hub-strength-row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #354335;font-size:12px}
#view-progress .hub-strength-row strong{white-space:nowrap;color:#d0ed9b}
#view-progress .hub-chart{width:100%;overflow:hidden}
#view-progress .hub-chart svg{display:block;width:100%;height:auto;max-height:210px}
#view-progress .hub-chart-grid{stroke:#4d5b4d;stroke-width:1}
#view-progress .hub-chart-axis{fill:#b8c6b2;font-size:10px}
#view-progress .hub-chart-line{fill:none;stroke:#b8dd77;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#view-progress .hub-chart-dot{fill:#b8dd77;stroke:#19241a;stroke-width:2}
#view-progress .hub-food-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;align-items:end}
#view-progress .hub-food-day{display:grid;justify-items:center;gap:5px;min-width:0}
#view-progress .hub-food-day strong{font-size:10px;font-variant-numeric:tabular-nums}
#view-progress .hub-food-day small{color:#b8c6b2;font-size:9px;white-space:nowrap}
#view-progress .hub-food-track{display:flex;align-items:flex-end;justify-content:center;position:relative;width:100%;height:95px;border-radius:6px;background:#2a382a;overflow:hidden}
#view-progress .hub-food-track::after{content:'';position:absolute;left:0;right:0;bottom:66.67%;border-top:1px dashed #d4c0a0;pointer-events:none}
#view-progress .hub-food-track i{display:block;width:68%;border-radius:4px 4px 0 0;background:#9dbb78}
#view-progress .hub-food-track i.is-over{background:#d69670}
#view-progress .hub-macro-layout{display:flex;align-items:center;gap:20px}
#view-progress .hub-donut{display:grid;place-items:center;flex:none;width:116px;height:116px;border-radius:50%}
#view-progress .hub-donut::before{content:'';grid-area:1/1;width:76px;height:76px;border-radius:50%;background:#1c261d}
#view-progress .hub-donut span{grid-area:1/1;z-index:1;font-size:12px;font-weight:800}
#view-progress .hub-macro-legend{display:grid;gap:10px;flex:1;min-width:0}
#view-progress .hub-macro-legend>div{display:grid;grid-template-columns:9px 1fr auto;gap:7px;align-items:center;font-size:11px}
#view-progress .hub-macro-legend strong{font-size:11px;text-align:right}
#view-progress .hub-dot{width:8px;height:8px;border-radius:50%}
#view-progress .hub-dot-protein{background:#b7785b}#view-progress .hub-dot-fat{background:#c7a66f}#view-progress .hub-dot-carbs{background:#778b80}
#view-progress .hub-measure-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:7px}
#view-progress .hub-measure-heading h2{margin:0}
#view-progress .hub-measure-heading select{max-width:150px;min-width:105px;height:35px;padding:0 8px;border:1px solid #566a50;border-radius:8px;background:#101a11;color:#fff;font:inherit;font-size:12px}
#view-progress #hub-panel-habits .daily-analytics{margin:0 0 9px}
#view-progress #hub-panel-training .activity-analytics{margin:0 0 9px}
#view-progress .hub-four-week-label{margin:15px 0 8px;font-size:13px}
#view-progress .hub-week-slots{display:flex;flex-wrap:nowrap;gap:7px;margin-top:0;overflow-x:auto;scrollbar-width:thin}
#view-progress .hub-week-slot{display:grid;align-content:space-between;flex:1 0 75px;gap:5px;min-width:0;min-height:80px;padding:9px;border:1px solid #52604f;border-radius:10px;background:#253028}
#view-progress .hub-week-slot-date{font-size:11px;font-weight:800}
#view-progress .hub-week-slot strong{font-size:12px;line-height:1.18}
#view-progress .hub-week-slot small{font-size:10px;font-weight:800}
#view-progress .hub-week-slot.is-done{border-color:#56b976;background:#254a32}
#view-progress .hub-week-slot.is-done small{color:#c8f0d0}
#view-progress .hub-week-slot.is-missed{border-color:#d87979;background:#4b292c}
#view-progress .hub-week-slot.is-missed small{color:#ffd0d0}
#view-progress .hub-week-slot.is-pending small{color:#bdc8bb}
html[data-theme=light] #view-progress .hub-week-slot{background:#fffdf9;border-color:#d9c8b8}
html[data-theme=light] #view-progress .hub-week-slot.is-done{background:#e2f4e7;border-color:#55a568}
html[data-theme=light] #view-progress .hub-week-slot.is-done small{color:#315e3e}
html[data-theme=light] #view-progress .hub-week-slot.is-missed{background:#fbe4e5;border-color:#d77676}
html[data-theme=light] #view-progress .hub-week-slot.is-missed small{color:#9d3f3c}
html[data-theme=light] #view-progress .hub-week-slot.is-pending small{color:#695c52}
#view-progress .hub-habits-comment{padding:0;border:0;background:transparent;margin-top:5px}
html[data-theme=light] #view-progress .analytics-hub-tab{background:#f8eee6;color:#5b4539;border-color:#d6bda9}
html[data-theme=light] #view-progress .analytics-hub-tab[aria-selected=true]{background:#6c302c;color:#fff;border-color:#6c302c}
html[data-theme=light] #view-progress .analytics-hub-tab:focus-visible{outline-color:#6c302c}
html[data-theme=light] #view-progress .hub-stat,html[data-theme=light] #view-progress .hub-card{background:#fffdf9;border-color:#ddccbc}
html[data-theme=light] #view-progress .hub-stat span,html[data-theme=light] #view-progress .hub-caption,html[data-theme=light] #view-progress .hub-empty,html[data-theme=light] #view-progress .hub-food-day small{color:#695c52}
html[data-theme=light] #view-progress .hub-stat strong{color:#302821}
html[data-theme=light] #view-progress .hub-insight{background:#f7eae1;border-color:#a84930;color:#53392f}
html[data-theme=light] #view-progress .hub-group-track{background:#e9d9ca}
html[data-theme=light] #view-progress .hub-group-track i,html[data-theme=light] #view-progress .hub-chart-dot{background:#a84930;fill:#a84930}
html[data-theme=light] #view-progress .hub-strength-row{border-color:#e7d9ce}
html[data-theme=light] #view-progress .hub-strength-row strong{color:#843a2a}
html[data-theme=light] #view-progress .hub-chart-grid{stroke:#e4d8ce}
html[data-theme=light] #view-progress .hub-chart-axis{fill:#76685e}
html[data-theme=light] #view-progress .hub-chart-line{stroke:#a84930}
html[data-theme=light] #view-progress .hub-chart-dot{stroke:#fffdf9}
html[data-theme=light] #view-progress .hub-food-track{background:#eee2d7}
html[data-theme=light] #view-progress .hub-food-track i{background:#b88e6c}
html[data-theme=light] #view-progress .hub-food-track i.is-over{background:#a84930}
html[data-theme=light] #view-progress .hub-donut::before{background:#fffdf9}
html[data-theme=light] #view-progress .hub-measure-heading select{background:#fff;color:#302821;border-color:#cbb7a8;color-scheme:light}
@media(max-width:560px){#view-progress .analytics-hub-tabs{margin-bottom:8px}#view-progress .analytics-hub-tab{min-height:34px;padding:6px 10px;font-size:11px}#view-progress .hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#view-progress .hub-stat{min-height:52px;padding:8px}#view-progress .hub-stat strong{font-size:14px}#view-progress .hub-card{padding:11px}#view-progress .hub-food-days{gap:3px}#view-progress .hub-food-day strong,#view-progress .hub-food-day small{font-size:8px}#view-progress .hub-macro-layout{gap:10px}#view-progress .hub-donut{width:96px;height:96px}#view-progress .hub-donut::before{width:61px;height:61px}#view-progress .hub-macro-legend>div{grid-template-columns:8px 1fr auto;gap:4px;font-size:10px}#view-progress .hub-macro-legend strong{font-size:10px}}
#view-progress .analytics-hub-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;overflow:visible;padding:2px 0 5px;width:100%}
#view-progress .analytics-hub-tab{min-width:0;min-height:42px;white-space:normal;line-height:1.15;padding:7px 5px;text-align:center}
#view-progress #hub-weight-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#view-progress #hub-weight-metrics .hub-stat:last-child{grid-column:1/-1;min-height:40px;display:flex;justify-content:space-between;align-items:center}
#view-progress .hub-stat-good{border-color:#5a9a79;background:#203b30}
#view-progress .hub-stat-good strong{color:#9ee3ba}
#view-progress .hub-stat-alert{border-color:#b46b62;background:#3a2425}
#view-progress .hub-stat-alert strong{color:#f1aaa1}
#view-progress .hub-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
#view-progress .hub-chart-head h2{margin:0}
#view-progress .hub-period-select{max-width:145px;min-height:34px;border:1px solid #566a50;border-radius:8px;background:#101a11;color:#fff;padding:5px 8px;font:inherit;font-size:12px}
#view-progress #hub-panel-weight>.body-chart-card{display:none}
#view-progress #hub-panel-measure>.tab-card{margin:8px 0;min-width:0}
#view-progress #hub-panel-measure #hub-measure-history{max-width:none}
#view-progress .hub-strength-gain strong{color:#91d8ac}
#view-progress .hub-food-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
#view-progress .hub-tracking-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:5px 0 8px}
#view-progress .hub-tracking-line span{color:#b8c6b2}
#view-progress .hub-tracking-track{height:10px;border-radius:20px;background:#38443a;overflow:hidden}
#view-progress .hub-tracking-track i{display:block;height:100%;border-radius:inherit;background:#a2d59a}
#view-progress .hub-food-days{display:flex;overflow-x:auto;gap:4px;padding-bottom:4px;scrollbar-width:thin}
#view-progress .hub-food-day{min-width:calc((100% - 24px)/7)}
#view-progress .hub-food-track i.is-on{background:#69b789}
#view-progress .hub-food-track i.is-under{background:#d8b462}
#view-progress .hub-food-track i.is-over{background:#d77d74}
#view-progress #hub-panel-habits .daily-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme=light] #view-progress .hub-stat-good{background:#e8f3eb;border-color:#9ac5a6}
html[data-theme=light] #view-progress .hub-stat-good strong{color:#1d6643}
html[data-theme=light] #view-progress .hub-stat-alert{background:#fbece9;border-color:#d2a19a}
html[data-theme=light] #view-progress .hub-stat-alert strong{color:#9e3931}
html[data-theme=light] #view-progress .hub-period-select{background:#fff;color:#302821;border-color:#cbb7a8;color-scheme:light}
html[data-theme=light] #view-progress .hub-tracking-line span{color:#695c52}
html[data-theme=light] #view-progress .hub-tracking-track{background:#e9d9ca}
html[data-theme=light] #view-progress .hub-strength-gain strong{color:#246b49}
html[data-theme=light] #view-progress .hub-food-track i.is-on{background:#4c9c6f}
html[data-theme=light] #view-progress .hub-food-track i.is-under{background:#d0a53a}
html[data-theme=light] #view-progress .hub-food-track i.is-over{background:#b74f49}
.daily-numbers{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:560px){#view-progress .analytics-hub-tabs{gap:3px}#view-progress .analytics-hub-tab{min-height:42px;padding:5px 2px;font-size:clamp(8px,2.35vw,11px)}#view-progress #hub-weight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#view-progress #hub-weight-metrics .hub-stat:last-child{grid-column:1/-1}#view-progress .hub-tracking-line{font-size:11px}#view-progress #hub-panel-habits .daily-chart-grid{grid-template-columns:1fr}.daily-numbers{grid-template-columns:minmax(0,1fr) auto}.daily-numbers .daily-save{grid-column:auto}}
#view-progress .hub-energy-legend{display:flex;flex-wrap:wrap;gap:12px;margin:2px 0 8px;color:#d5dfd2;font-size:11px}
#view-progress .hub-energy-legend span{display:inline-flex;align-items:center;gap:6px}
#view-progress .hub-energy-legend i{display:inline-block;width:16px;height:3px;border-radius:9px}
#view-progress .hub-energy-legend .hub-energy-intake{background:#e2be64}
#view-progress .hub-energy-legend .hub-energy-expense{background:#79bc96}
#view-progress .hub-energy-line{fill:none;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
#view-progress .hub-energy-line.hub-energy-intake{stroke:#e2be64}
#view-progress .hub-energy-line.hub-energy-expense{stroke:#79bc96}
#view-progress .hub-energy-dot.hub-energy-intake{fill:#e2be64;stroke:#1c261d;stroke-width:1.5}
#view-progress .hub-energy-dot.hub-energy-expense{fill:#79bc96;stroke:#1c261d;stroke-width:1.5}
#view-progress .hub-energy-detail{margin:8px 0 0;padding:9px 11px;border-radius:9px;background:#27352a;color:#ecf4e9;font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}
html[data-theme=light] #view-progress .hub-energy-legend{color:#39463b}
html[data-theme=light] #view-progress .hub-energy-legend .hub-energy-intake{background:#b88719}
html[data-theme=light] #view-progress .hub-energy-legend .hub-energy-expense{background:#317b50}
html[data-theme=light] #view-progress .hub-energy-line.hub-energy-intake{stroke:#b88719}
html[data-theme=light] #view-progress .hub-energy-line.hub-energy-expense{stroke:#317b50}
html[data-theme=light] #view-progress .hub-energy-dot.hub-energy-intake{fill:#b88719;stroke:#fff}
html[data-theme=light] #view-progress .hub-energy-dot.hub-energy-expense{fill:#317b50;stroke:#fff}
html[data-theme=light] #view-progress .hub-energy-detail{background:#eaf3e9;color:#233d2b}
@media(max-width:560px){#view-progress .hub-energy-card .hub-chart-head h2{font-size:14px}#view-progress .hub-energy-card .hub-period-select{min-width:93px;max-width:95px;font-size:11px}#view-progress .hub-energy-legend{font-size:10px}#view-progress .hub-energy-detail{font-size:10px}}
#view-progress .hub-training-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0}
#view-progress .hub-training-stats .hub-stat{min-width:0}
#view-progress .hub-four-week-label{margin:14px 0 8px;font-size:13px}
#view-progress .hub-strength-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
#view-progress .hub-exercise-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;min-width:0;padding:9px 11px;border:1px solid #455247;border-radius:9px;background:#222b23;font-size:11px}
#view-progress .hub-exercise-name{font-weight:750;line-height:1.3}
#view-progress .hub-exercise-weight{text-align:right;white-space:nowrap;font-weight:800}
#view-progress .hub-exercise-status{grid-column:1/-1;font-size:10px}
#view-progress .hub-exercise-gain{border-color:#5a9a79;background:#203b30}
#view-progress .hub-exercise-gain .hub-exercise-status{color:#9ee3ba}
#view-progress .hub-exercise-stable{border-color:#a79454;background:#383322}
#view-progress .hub-exercise-stable .hub-exercise-status{color:#ead085}
#view-progress .hub-exercise-decline{border-color:#b46b62;background:#3a2425}
#view-progress .hub-exercise-decline .hub-exercise-status{color:#f1aaa1}
#view-progress .hub-exercise-unknown .hub-exercise-status{color:#aebcac}
html[data-theme=light] #view-progress .hub-exercise-row{background:#fffdf9;border-color:#ddccbc;color:#302821}
html[data-theme=light] #view-progress .hub-exercise-gain{background:#e8f3eb;border-color:#9ac5a6}
html[data-theme=light] #view-progress .hub-exercise-gain .hub-exercise-status{color:#1d6643}
html[data-theme=light] #view-progress .hub-exercise-stable{background:#fbf3df;border-color:#dec588}
html[data-theme=light] #view-progress .hub-exercise-stable .hub-exercise-status{color:#805f10}
html[data-theme=light] #view-progress .hub-exercise-decline{background:#fbece9;border-color:#d2a19a}
html[data-theme=light] #view-progress .hub-exercise-decline .hub-exercise-status{color:#9e3931}
html[data-theme=light] #view-progress .hub-exercise-unknown .hub-exercise-status{color:#695c52}
@media(max-width:560px){#view-progress .hub-training-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#view-progress .hub-training-stats .hub-stat{min-height:60px;padding:7px}#view-progress .hub-training-stats .hub-stat span{font-size:9px}#view-progress .hub-training-stats .hub-stat strong{font-size:17px}#view-progress .hub-strength-list{grid-template-columns:1fr}#view-progress .hub-exercise-row{grid-template-columns:minmax(0,1fr) auto}}
#view-progress .hub-strength-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
#view-progress .hub-strength-head h2{margin:0}
#view-progress .hub-strength-head .hub-period-select{flex:none;max-width:120px}
#view-progress .hub-anatomy{position:relative;height:320px;max-width:510px;margin:2px auto 10px;overflow:hidden}
#view-progress .hub-anatomy-side{position:absolute;top:0;width:30%;height:100%}
#view-progress .hub-anatomy-front{left:23%}
#view-progress .hub-anatomy-back{right:23%}
#view-progress .hub-anatomy-figure{width:100%;height:100%;overflow:hidden}
#view-progress .hub-anatomy-figure svg{display:block;width:100%;height:100%;object-fit:contain}
#view-progress .hub-anatomy-label{position:absolute;z-index:1;display:flex;flex-direction:column;gap:3px;width:17%;font-size:11px;line-height:1.2;font-weight:750}
#view-progress .hub-anatomy-label strong{font-size:10px;color:#b9de76;white-space:nowrap}
#view-progress .hub-anatomy-label[class*=front-]{left:0;text-align:right}
#view-progress .hub-anatomy-label[class*=back-]{right:0;text-align:left}
#view-progress .hub-anatomy-lines{position:absolute;inset:0;z-index:2;width:100%;height:100%;overflow:visible;pointer-events:none;color:#111}
#view-progress .hub-anatomy-lines polyline{fill:none;stroke:currentColor;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 1px #fff)}
#view-progress .front-shoulders{top:13%}.front-chest{top:30%}.front-core{top:49%}
#view-progress .back-back{top:25%}.back-arms{top:43%}.back-glutes{top:59%}.back-legs{top:76%}
html[data-theme=light] #view-progress .hub-anatomy-label strong{color:#9e482f}
html[data-theme=light] #view-progress .hub-anatomy-lines polyline{filter:none}
@media(max-width:560px){#view-progress .hub-week-slot{flex-basis:67px;min-height:72px;padding:8px}#view-progress .hub-week-slot strong{font-size:10px}#view-progress .hub-anatomy{height:280px}#view-progress .hub-anatomy-label{font-size:9px;width:18%}#view-progress .hub-anatomy-label strong{font-size:9px}#view-progress .hub-strength-head .hub-period-select{max-width:100px;font-size:11px}}
