:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN",sans-serif;color:#24304a;background:#f3f5f9;font-size:16px;line-height:1.6;--blue:#3659d9;--border:#e0e6ef;--muted:#65728a}*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}header{background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:1320px;margin:auto;padding:21px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;gap:12px;align-items:center}.brand-icon{width:38px;height:38px;display:grid;place-items:center;color:white;background:#263d79;border-radius:10px;font-size:28px}h1{font-size:19px;letter-spacing:.03em}.header-note,.eyebrow{font-size:12px;letter-spacing:.13em;font-weight:700}.header-note{color:var(--muted)}main{max-width:1320px;margin:auto;padding:34px 32px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:16px}.page-heading h2{font-size:26px;letter-spacing:.025em;margin-top:6px}.eyebrow{color:var(--blue)}.muted{color:var(--muted);font-size:14px}.workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:24px;align-items:start}.card{background:white;border:1px solid var(--border);border-radius:18px;padding:28px;box-shadow:0 3px 15px #1d335304}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.section-heading h2{font-size:20px;margin-top:5px}.section-heading .eyebrow{font-size:11px}h3{font-size:16px}.button{padding:11px 17px;border-radius:9px;border:1px solid transparent;font-size:14px;min-height:44px;font-weight:650}.primary{background:var(--blue);color:#fff}.primary:hover:not(:disabled){background:#2949bb}.subtle{border-color:#d6deef;color:#36529b;background:#fff}.subtle:hover:not(:disabled){background:#f3f6ff}.full{width:100%;margin-top:18px}input,select{height:45px;width:100%;min-width:0;padding:9px 11px;border:1px solid #d6deea;border-radius:8px;color:#26334d;background:#fff;font-size:16px}input::placeholder{color:#94a0b3}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:550}:focus-visible{outline:3px solid #b2c0ff;outline-offset:2px}.date-row{display:flex;align-items:flex-end;gap:20px;margin-bottom:24px}.date-row label{max-width:220px;flex:1}.date-row .muted{font-size:12px;padding-bottom:10px}.exercise-card{margin:0 0 22px;padding:18px;border:1px solid #dde4f1;border-radius:12px;background:#f9faff;min-width:0}.exercise-card legend{padding:0 7px;font-size:12px;font-weight:700;color:#657aa5}.exercise-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:12px;align-items:end;margin-bottom:16px}.icon-button{font-size:12px;min-height:38px;padding:7px 9px;border:1px solid #e2dce1;border-radius:7px;background:#fff;color:#8e5361}.sets-list{display:grid;gap:10px}.set-row{display:grid;grid-template-columns:24px minmax(0,1fr) 14px minmax(0,1fr) auto;align-items:end;gap:10px}.set-number{font-size:12px;color:#7384a1;padding-bottom:12px}.times{padding-bottom:12px;color:#8997ad}.set-row label{font-size:12px}.text-button{border:0;padding:12px 0 0;color:var(--blue);background:none;font-size:14px}.cardio-fields,.menu-selects{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-actions,.save-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.status{font-size:14px;color:#3552a0;margin-top:15px}.status:empty{display:none}.status.error{padding:12px;background:#fff3f2;border:1px solid #f0d0cb;border-radius:8px;color:#a1302c}.coach-card{border-top:3px solid #3659d9}.intro{margin-top:-8px;margin-bottom:20px}.pill{font-size:12px;border-radius:6px;padding:4px 9px;display:inline-block;background:#edf1fb;color:#546b9c;white-space:nowrap}.coach-options{padding:0;margin:0;border:0}.coach-options legend{font-size:14px;font-weight:600;margin-bottom:10px}.coach-option{flex-direction:row;align-items:center;gap:10px;padding:13px 12px;border:1px solid var(--border);border-radius:10px;margin-bottom:9px;cursor:pointer;background:#fff}.coach-option:has(input:checked){border-color:#849de5;background:#f3f6ff}.coach-option input{width:16px;height:16px;accent-color:var(--blue);flex-shrink:0}.coach-option strong{font-size:14px}.coach-option small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}.coach-symbol{font-size:25px;color:#5270c3;margin-left:auto}.small-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:9px}.ai-result{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}.generated-text{font-size:15px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}.dashboard{grid-column:1/-1}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr) minmax(0,1fr);gap:28px}.level-panel,.chart-panel{border-right:1px solid var(--border);padding-right:28px}.level-value{font-size:20px;color:#263d79;margin:12px 0}.level-value strong{font-size:54px;line-height:1.2}.xp-label{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:20px 0 9px;gap:10px}progress{appearance:none;display:block;width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:#e8edf7}progress::-webkit-progress-bar{background:#e8edf7}progress::-webkit-progress-value{background:var(--blue);border-radius:8px}progress::-moz-progress-bar{background:var(--blue)}.chart-panel select{margin-top:4px;font-size:14px}.chart-svg{display:block;width:100%;height:auto;margin-top:16px}.chart-svg text{font-size:12px;fill:#66758e}.chart-grid{stroke:#e5eaf3;stroke-dasharray:4 5}.chart-line{fill:none;stroke:var(--blue);stroke-width:3;stroke-linejoin:round}.chart-dot{fill:white;stroke:var(--blue);stroke-width:3}.chart-latest{font-size:14px;color:#405ba0;margin-top:4px}.summary-panel dl{margin:15px 0 0}.summary-panel dl>div{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #edf0f6;padding:12px 0}.summary-panel dt{font-size:13px;color:var(--muted)}.summary-panel dd{font-size:20px;font-weight:700;margin:0}.history-item{padding:18px 0;border-top:1px solid var(--border)}.history-item:first-child{padding-top:0;border-top:0}.history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.history-heading strong{font-size:15px}.history-actions{display:flex;gap:8px}.history-actions button{min-height:36px;padding:5px 10px}.history-exercise{margin-top:12px;padding-left:13px;border-left:3px solid #e5ebf8;overflow-wrap:anywhere}.history-exercise strong{font-size:14px}.history-exercise p{font-size:13px;color:var(--muted);margin-top:3px}.empty-state{padding:25px 4px;color:var(--muted);font-size:14px;line-height:1.9}footer{display:flex;justify-content:space-between;padding:28px 0;font-size:12px;color:#7d8ba1;gap:16px}[hidden]{display:none!important}@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.card{padding:22px}.exercise-top{grid-template-columns:1fr 1fr}.exercise-top>.icon-button{grid-column:1/-1;justify-self:end}.section-heading{flex-wrap:wrap}.dashboard-grid{gap:20px}.level-panel,.chart-panel{padding-right:20px}}@media(max-width:800px){main{padding:26px 18px 0}.header-inner{padding:18px}.header-note{display:none}.workspace{grid-template-columns:minmax(0,1fr);gap:18px}.dashboard-grid{grid-template-columns:1fr}.level-panel,.chart-panel{border-right:0;border-bottom:1px solid var(--border);padding:0 0 24px}.dashboard{grid-column:auto}.page-heading{align-items:flex-start;flex-direction:column;gap:8px}.page-heading h2{font-size:23px}.page-heading>.muted{font-size:12px}.section-heading h2{font-size:19px}.date-row{flex-wrap:wrap;gap:6px}.date-row .muted{width:100%;padding-bottom:0}.level-value strong{font-size:48px}.chart-svg{max-height:240px}.history{order:0}.form-actions>.button,.save-actions{flex:1}.save-actions .primary{flex:1}.coach-column{min-width:0}}@media(max-width:420px){h1{font-size:16px}.brand-icon{width:30px;height:30px;font-size:23px}.card{padding:18px}.exercise-card{padding:12px}.exercise-top{grid-template-columns:1fr}.exercise-top>.icon-button{grid-column:auto}.set-row{grid-template-columns:18px minmax(0,1fr) minmax(0,1fr) auto;gap:6px}.times{display:none}.set-row input{padding:8px}.set-row .icon-button{padding:6px;font-size:12px}.cardio-fields{grid-template-columns:1fr}.history-heading{align-items:flex-start;flex-direction:column}.form-actions,.save-actions{flex-direction:column;align-items:stretch;width:100%}.section-heading>.button{width:100%}}
