:root{--ink:#302b3d;--muted:#8b8099;--line:#eae5f0;--accent:#8d74bb;--paper:#f7f5fa;--bg:#eee7f6;--fg:#8f74b7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}a{color:inherit}button:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #8d74bb;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #c6b5df;outline-offset:1px}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}aside{width:204px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:35px 23px;display:flex;flex-direction:column}.brand{display:flex;gap:8px;align-items:center;text-decoration:none;font:800 29px -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;letter-spacing:-1.4px}.brand img{width:40px;height:40px;margin-right:3px}.brand-dot{color:#9d83c5;margin-left:-8px}.nav-label{font-size:8px;letter-spacing:1.5px;color:#9a8da8;margin:45px 10px 15px}nav{display:flex;flex-direction:column;gap:7px}.nav-item{padding:13px 14px;border-radius:8px;text-align:left;color:#90819f;font-size:12px;width:100%}.nav-item.active{color:#8066ad;background:#f0eaf8;font-weight:650}.sidebar-bottom{margin-top:auto}.sidebar-bottom h3{font:650 19px/1.6 -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;letter-spacing:-.6px;color:#7b658f}.sidebar-bottom p{font-size:10px;color:#978aa4;line-height:1.7}.storage-status{border-top:1px solid var(--line);padding-top:22px;margin-top:26px;font-size:9px;color:#8c7b9c}.storage-status i{display:inline-block;background:#9fac8e;height:5px;width:5px;border-radius:50%;margin-right:6px}.sidebar-bottom button{padding:0;margin-top:18px;font-size:10px;color:#897498;display:flex;justify-content:space-between;width:100%}.import{font-size:9px;color:#9a8aa8;margin-top:15px;cursor:pointer}.import input{display:none}main{margin-left:204px;width:calc(100% - 204px);padding:38px 35px 24px;max-width:1800px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:8px;letter-spacing:1.6px;font-weight:600;color:#9582a5}h1{font:750 32px -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;letter-spacing:-1.2px;margin:10px 0}h1 span{color:#a48ac7}header p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}h2{font:700 20px -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;letter-spacing:-.6px;margin:0}h3{font-size:13px;font-weight:600;margin:0}.primary{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--accent);color:#fff;padding:12px 18px;border-radius:8px;font-size:11px;font-weight:550;white-space:nowrap}.secondary{padding:11px 16px;border:1px solid var(--line);border-radius:8px;font-size:11px}.text-button{font-size:10px;color:#8864ae;padding:4px 0;white-space:nowrap}.icon-button{height:30px;width:30px;display:grid;place-items:center;font-size:23px;color:#9e8cb0;border-radius:8px}.icon-button:hover{background:#f1ebf7}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 23px}.stats article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.stat-top{font-size:8px;letter-spacing:1.3px;color:#9683a6}.stat-value{margin:12px 0 9px;display:flex;align-items:baseline;gap:9px}.stat-value strong{font:650 33px -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;letter-spacing:-1px}.stat-value strong span{font-size:21px;color:#b7a4c8}.stat-value>span,.stat-bottom{font-size:10px;color:#94809f}.stat-bottom{line-height:1.7}.workspace{display:grid;grid-template-columns:minmax(400px,1fr) 240px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.calendar-panel{padding:23px 22px 19px}.calendar-heading{display:flex;align-items:center;justify-content:space-between}.month-label{display:flex;align-items:baseline;gap:9px}.month-label>span{font-size:16px;color:#b5a5c2}.month-controls{display:flex;gap:6px;align-items:center}.month-controls button{width:29px;height:29px;border:1px solid var(--line);border-radius:7px;font-size:20px;color:#8b759f}.month-controls #today{width:auto;padding:0 12px;font-size:10px;margin-right:5px}.calendar-instruction{font-size:9px;color:#9785a8;line-height:1.7;margin:12px 0 20px}.weekdays{display:grid;grid-template-columns:repeat(7,1fr);font-size:8px;letter-spacing:1px;color:#9785a8;text-align:center;margin-bottom:12px}#calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.day{height:87px;border:1px solid #eeebf3;background:#fdfcfe;border-radius:8px;padding:7px;text-align:left;display:flex;flex-direction:column;gap:4px;position:relative;overflow:hidden;user-select:none;touch-action:manipulation}.day:hover{background:#f3effa;border-color:#dcd0ed}.day.selected{background:#f3edfb;border-color:#b8a0d5;box-shadow:inset 0 0 0 .5px #b8a0d5}.day.other{background:#faf9fc;border-color:#f4f1f7}.day.other .number{color:#c7bdcf}.number{height:19px;min-height:19px;width:19px;border-radius:50%;display:grid;place-items:center;font-size:10px;color:#887494}.day.is-today .number{color:white;background:#9175bd}.day-mark{position:absolute;top:11px;right:8px;background:#b9a2d0;height:4px;width:4px;border-radius:50%}.pill{font-size:8px;background:var(--bg);color:var(--fg);padding:4px 6px;border-radius:4px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:550}.more{font-size:8px;color:#9f8ab1}.calendar-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:17px}.legend{display:flex;gap:9px;flex-wrap:wrap}.legend span{font-size:8px;color:#9a88aa}.legend i{display:inline-block;height:5px;width:5px;border-radius:50%;background:var(--fg);margin-right:4px}.auto-save{font-size:8px;color:#a18baf;white-space:nowrap}.details{background:#fcfafe;border-left:1px solid var(--line);padding:27px 21px}.details h2{margin-top:13px;font-size:19px}#day-content{margin:17px 0 22px;font-size:11px;color:#9d88af;line-height:1.8}.tag-row{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.day-summary{display:flex;gap:18px;margin:20px 0;padding:14px 0;border-block:1px solid #eee7f3;font-size:10px;color:#8e779f}.day-summary strong{display:block;font-size:20px;color:#70558a}.mini-exercise{font-size:10px;margin:12px 0;line-height:1.6}.mini-exercise strong{display:block;font-weight:550;color:#7f6492}.mini-exercise span{font-size:9px;color:#a089b0}.details>.primary{width:100%}.day-footnote{font-size:9px;color:#a38db2;line-height:1.8;margin-top:24px}.review-link{font-size:9px;line-height:1.6;margin-top:20px;text-align:left;padding:0;color:#9473af}.recent-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px}.recent-heading h2{font-size:15px}.recent-heading button{font-size:10px;color:#9779b3}.recent-sessions{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.recent-card{padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px;text-align:left}.recent-card small{font-size:8px;letter-spacing:1px;color:#a28aae}.recent-card h3{margin:10px 0;font-size:12px}.recent-card p{font-size:9px;color:#9a81ab;margin:10px 0 0}footer{display:flex;justify-content:space-between;gap:15px;font-size:8px;letter-spacing:1px;color:#a48cb5;margin-top:24px}footer>span:last-child{letter-spacing:0}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.section-toolbar p{font-size:12px;color:#8e779f;margin:0}.section-toolbar select{width:auto;min-width:150px;margin:0}.panel{padding:25px;background:#fff;border:1px solid var(--line);border-radius:13px}.panel-title{margin-bottom:23px}.panel-title h2{font-size:18px;margin-top:9px}.split{display:flex;align-items:center;justify-content:space-between;gap:16px}.quiet{font-size:10px;color:#9a84a9;line-height:1.9;margin:15px 0 0}.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.insight-grid .wide{grid-column:1/-1}.breakdown-row{margin:15px 0}.breakdown-label{display:flex;justify-content:space-between;font-size:10px;color:#8c749e;margin-bottom:8px}.breakdown-label span{display:flex;align-items:center;gap:7px}.breakdown-label i{width:6px;height:6px;border-radius:2px;background:var(--fg)}.breakdown-label small{font-size:9px;color:#a18ab0}.track{height:4px;border-radius:4px;background:#f1ecf5;overflow:hidden}.track i{display:block;height:100%;border-radius:4px;background:var(--fg);opacity:.75}.weekly-bars{display:flex;align-items:flex-end;height:150px;gap:12px;border-bottom:1px solid #ece6f1;margin-top:30px}.week-col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;position:relative}.week-col .bar{width:100%;max-width:46px;background:#d8c8eb;border-radius:5px 5px 0 0;min-height:2px}.week-col>span{font-size:10px;color:#927ba3}.weekly-labels{display:flex;gap:12px;margin-top:10px}.weekly-labels span{flex:1;text-align:center;font-size:8px;color:#9b85aa}.chart-controls{display:flex;gap:8px;flex-wrap:wrap}.chart-controls select{max-width:270px;font-size:10px;margin:0;padding:9px}.trend-overview{display:flex;align-items:baseline;gap:14px;margin:15px 0 22px}.trend-overview strong{font:650 32px -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;letter-spacing:-1px;color:#71558b}.trend-overview span{font-size:11px;color:#a18bb0}.trend-points{display:flex;align-items:flex-end;gap:16px;min-height:130px;border-bottom:1px solid #eee6f4;padding:10px 10px 0;overflow-x:auto}.trend-point{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;min-width:75px;flex:1}.trend-point strong{font-size:12px;font-weight:600;color:#8e6eaa}.trend-point i{display:block;background:linear-gradient(#c7b2df,#eae0f3);width:45px;border-radius:5px 5px 0 0}.trend-caption{display:flex;gap:16px;padding:10px 10px 0;overflow-x:auto}.trend-caption div{min-width:75px;flex:1;text-align:center;font-size:9px;color:#9d86ad}.trend-caption small{display:block;font-size:8px;margin-top:4px}.chart-empty{min-height:125px;display:grid;place-content:center;text-align:center;gap:8px;color:#9d88ae;font-size:11px;line-height:1.8;border:1px dashed #e6dcef;border-radius:9px;padding:20px}.weight-value{font:650 35px -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;color:#785c91;margin:15px 0}.weight-value small{font:400 12px -apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',sans-serif;color:#9e86ad;margin-left:7px}.note-item{border-bottom:1px solid #eee7f3;padding:13px 0;color:#866c9b;font-size:11px;line-height:1.8}.note-item:first-child{padding-top:0}.note-item:last-child{border:0}.note-item strong{display:block;font-weight:550;color:#725788}.note-item small{font-size:9px;color:#a18cb0}.review-panel{margin-top:20px}.review-item{border-top:1px solid #eee6f4;padding:16px 0;font-size:11px}.review-item:last-child{padding-bottom:0}.review-item h3{font-size:12px;margin:0 0 7px}.review-item p{font-size:10px;color:#9781a8;line-height:1.8;white-space:pre-wrap;max-width:85ch}.review-item summary{font-size:10px;color:#a18ab0;cursor:pointer}.review-item .tag-row{margin:12px 0}.review-status{font-size:9px;background:#f1eaf8;border-radius:4px;padding:4px 6px;color:#9a7eaf;display:inline-block}.profile-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:20px}.profile-layout .primary{margin-top:20px}.baseline-card{padding:18px;border-radius:9px;background:#f6f1fa;color:#9e83b0;font-size:10px;line-height:1.9}.baseline-card strong{font:600 27px -apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;color:#8a6aa3;display:block}.measurement-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}.measurement-row small{display:block;font-size:9px;color:#a28ab3;margin-top:5px}.measurement-row button{font-size:9px;color:#9f83b3}.measurement-value{font-size:19px;color:#84609e}.template-section{margin-top:20px}.template-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.template-tabs button{padding:8px 12px;font-size:10px;border:1px solid var(--line);border-radius:20px;color:#9a7fb0}.template-tabs button.active{background:#eee5f6;border-color:#c9b5df;color:#8663a4}.template-item{padding:12px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#866e9b}.template-item small{display:block;font-size:9px;color:#aa91bc;margin-top:4px}.template-item button{font-size:10px;color:#a182b7}.template-actions{display:flex;gap:12px}.template-explainer{font-size:10px;color:#a18bb0;line-height:1.8;margin:0 0 20px}dialog{width:470px;max-width:calc(100vw - 24px);max-height:calc(100vh - 40px);border:1px solid #e8def2;border-radius:18px;padding:27px;background:#fdfcfe;color:var(--ink);box-shadow:0 24px 120px #37234b3a;overscroll-behavior:contain}dialog::backdrop{background:#30234355;backdrop-filter:blur(5px)}.workout-dialog{width:650px}.exercise-dialog{width:490px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.dialog-heading .eyebrow{font-size:9px}.workout-heading{display:flex;justify-content:space-between;align-items:center}.workout-heading h2{font-size:25px;letter-spacing:-1px}#save-status{font-size:9px;color:#9c89af}.picker-description{font-size:11px;color:#9d85ad;line-height:1.7;margin:8px 0 20px}#muscle-options{display:flex;gap:7px;flex-wrap:wrap}#muscle-options button{display:flex;align-items:center;gap:7px;border:1px solid #e7ddef;border-radius:20px;padding:9px 13px;font-size:11px;color:#a087b2}#muscle-options button.chosen{background:var(--bg);border-color:var(--fg);color:var(--fg)}.choice-check{height:12px;width:12px;border:1px solid #dcd0e7;border-radius:50%;font-size:8px;color:transparent;display:grid;place-items:center}.chosen .choice-check{color:white;background:var(--fg);border-color:var(--fg)}.picker-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;font-size:10px;color:#a48db6}.exercise-section{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.optional{font-size:9px;font-weight:400;margin-left:7px;color:#b4a0c3}.exercise-empty{font-size:10px;line-height:1.8;color:#ae97bf;padding:18px 0}.exercise-card{margin-top:12px;border:1px solid #e8deef;border-radius:10px;padding:15px;background:white}.exercise-card h4{margin:0;font-size:12px;font-weight:550;color:#806192}.exercise-card .unit-label{font-size:9px;color:#a58bb7;margin-top:4px}.exercise-card .small-actions{display:flex;gap:12px;align-items:center}.exercise-card .small-actions button{font-size:9px;padding:0;color:#a388b6}.exercise-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px}.exercise-card summary:after{content:'⌄';color:#a88eb9;font-size:15px}.exercise-card details[open] summary:after{content:'⌃'}.set-summary{font-size:10px;color:#a38bb5;margin-top:8px}.set-summary.not-logged{color:#b39bc5}.exercise-card .inline-set{display:grid;grid-template-columns:25px 1fr 1fr 25px;gap:9px;align-items:center;margin:7px 0}.inline-set>span{font-size:10px;color:#b09bc0}.inline-set input{margin:0;padding:8px;font-size:11px;height:33px}.inline-set label{margin:0}.inline-set label span{font-size:8px;display:block;margin-bottom:4px}.inline-set button{padding:0;color:#b79cc8;font-size:16px;margin-top:13px}.inline-footer{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.inline-footer button{font-size:9px;color:#9e7cb4;padding:0}.pain-badge{font-size:8px;display:inline-block;background:#fbede8;color:#b48571;padding:3px 5px;border-radius:4px;margin-top:7px}.exercise-note{font-size:9px;color:#aa8fbb;line-height:1.8;margin-top:8px;white-space:pre-wrap}.exercise-section>p{margin-top:10px}.template-link{font-size:9px;color:#a78bbc;text-align:right;margin-top:14px}details>summary{font-size:11px;color:#9779aa;cursor:pointer;line-height:1.8}details>summary>span{font-size:9px;color:#b6a1c5;margin-left:5px}#session-notes{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}label{display:block;font-size:11px;color:#8c709f;margin-top:18px}label>span{color:#af98c0;font-size:9px;margin-left:5px}input,select,textarea{display:block;width:100%;border:1px solid #e5dced;border-radius:7px;padding:10px 11px;background:#fff;color:#705583;font-size:12px;margin-top:7px}input::placeholder,textarea::placeholder{color:#bdacc9}textarea{resize:vertical;min-height:55px;line-height:1.7}select{cursor:pointer}input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:#a58abc}.checkbox-label{display:flex;align-items:center;gap:8px;margin-bottom:12px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sets-heading,.set-row{display:grid;grid-template-columns:28px 1fr 1fr 24px;gap:10px;align-items:center}.sets-heading{font-size:8px;letter-spacing:1px;color:#b09ac0;margin-top:25px;margin-bottom:8px}.set-row{margin-bottom:8px}.set-row>span{font-size:10px;color:#b29cc1}.set-row input{margin:0;padding:9px;font-size:12px}.set-row button{font-size:17px;color:#b599c8;padding:0}.save{width:100%;margin-top:24px}.error{color:#b16b6b;font-size:11px;line-height:1.7}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#634977;color:white;padding:12px 20px;border-radius:9px;font-size:11px;display:none;z-index:20;max-width:90vw;line-height:1.6}.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}.no-data{font-size:11px;color:#ac93bd;line-height:1.9;padding:20px 0}.read-only-notice{background:#fff3e9;border:1px solid #e8d1bc;border-radius:8px;padding:13px;font-size:11px;line-height:1.8;color:#997254;margin-bottom:20px}.profile-form-status{font-size:10px;color:#a188b4;margin-top:12px}@media(min-width:1450px){.day{height:108px}.workspace{grid-template-columns:minmax(400px,1fr) 270px}main{padding:42px}.details{padding:30px 25px}.calendar-panel{padding:27px}}@media(max-width:1100px){aside{width:174px;padding:30px 19px}main{margin-left:174px;width:calc(100% - 174px);padding:30px 23px}.workspace{grid-template-columns:minmax(340px,1fr) 210px}.calendar-panel{padding:20px 15px}.details{padding:25px 17px}.day{height:82px;padding:6px 4px}.stats article{padding:17px}.panel{padding:21px}.chart-controls select{max-width:220px}.panel-title.split{align-items:flex-start;flex-wrap:wrap}}@media(max-width:850px){aside{width:140px;padding:28px 16px}.brand{font-size:25px}.brand img{width:33px;height:33px}.nav-item{padding:11px 10px;font-size:11px}.sidebar-bottom h3{font-size:15px}main{margin-left:140px;width:calc(100% - 140px);padding:28px 17px}.workspace{grid-template-columns:1fr}.details{border-left:0;border-top:1px solid var(--line)}.details .day-footnote{display:none}.details h2{margin-top:8px}#day-content{margin:10px 0}.day-summary{margin:12px 0}.mini-exercise{display:none}.details>.primary{width:auto;min-width:150px}.review-link{display:block;margin-top:14px}.stats{gap:8px}.stats article{padding:14px}.stat-value strong{font-size:29px}.stat-top{font-size:7px}.stat-bottom{font-size:9px}.day{height:87px}.profile-layout{grid-template-columns:1fr}.insight-grid{grid-template-columns:1fr}.insight-grid .wide{grid-column:auto}.recent-sessions{grid-template-columns:1fr}.recent-card{padding:15px}.recent-card h3{margin:8px 0}.calendar-footer{align-items:flex-start}.chart-controls{width:100%}.chart-controls select{flex:1;max-width:100%}}@media(max-width:580px){aside{width:100%;height:auto;bottom:auto;z-index:5;border-right:0;border-bottom:1px solid var(--line);padding:10px 15px;flex-direction:row;justify-content:space-between;align-items:center}.brand{font-size:23px}.brand img{width:30px;height:30px}.nav-label,.sidebar-bottom{display:none}nav{flex-direction:row;gap:4px}.nav-item{width:auto;padding:9px 10px;font-size:10px}main{margin:60px 0 0;width:100%;padding:25px 12px}h1{font-size:26px}header{gap:10px;margin-bottom:22px}header p{font-size:10px}header .primary{padding:10px;font-size:10px;gap:8px}.eyebrow{font-size:7px;letter-spacing:1.1px}.stats{gap:6px}.stats article{padding:12px 9px}.stat-value{gap:5px;flex-wrap:wrap}.stat-value strong{font-size:27px}.stat-value>span{font-size:8px}.stat-bottom{font-size:8px}.stat-top{font-size:7px;letter-spacing:.7px}.calendar-panel{padding:18px 10px}.day{height:76px;padding:5px 3px;border-radius:6px}#calendar{gap:3px}.pill{font-size:7px;padding:4px}.calendar-instruction{font-size:8px}.legend{gap:7px}.auto-save{display:none}.details{padding:22px 16px}.panel{padding:21px 17px}.panel-title h2{font-size:17px}.section-toolbar p{font-size:10px}.section-toolbar select{min-width:115px;font-size:10px}.weekly-bars,.weekly-labels{gap:8px}.chart-controls select{font-size:9px}.trend-point,.trend-caption div{min-width:65px}.trend-points,.trend-caption{gap:10px}.trend-overview strong{font-size:28px}.trend-overview span{font-size:10px}.workout-heading h2{font-size:22px}dialog{padding:23px 18px}.picker-footer{font-size:9px}#muscle-options{gap:6px}#muscle-options button{padding:8px 10px;font-size:10px}.exercise-card{padding:12px}.exercise-card h4{font-size:11px}.field-pair{gap:10px}.review-item p{font-size:10px}.recent-heading h2{font-size:14px}footer>span:last-child{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* The set rows are the primary entry surface; keep values easy to scan. */
.exercise-card .inline-set input{color:#654776}.exercise-card .inline-set input:focus{border-color:#a88bc6}.exercise-card[aria-busy=true]{opacity:.7}

/* Theme switch */
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.theme-toggle{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid var(--line);border-radius:8px;font-size:10px;color:#806b92;white-space:nowrap}.theme-toggle span:first-child{font-size:15px;line-height:1}
body.dark{--ink:#eeeaf2;--muted:#aaa2b2;--line:#393440;--accent:#977bbd;--paper:#19171d;--bg:#3b3048;--fg:#c5a5e5;color-scheme:dark;background:var(--paper);color:var(--ink)}
body.dark aside,body.dark .stats article,body.dark .workspace,body.dark .recent-card,body.dark .panel{background:#211e27;border-color:#393440}
body.dark .details,body.dark .baseline-card{background:#27232d;border-color:#393440}
body.dark .day{background:#292630;border-color:#3b3642}body.dark .day:hover{background:#332d3b;border-color:#65547a}body.dark .day.selected{background:#3b3048;border-color:#8b70ad;box-shadow:inset 0 0 0 .5px #8b70ad}body.dark .day.other{background:#232129;border-color:#302c36}body.dark .day.other .number{color:#797180}
body.dark dialog{background:#211e27;border-color:#393440;color:var(--ink)}body.dark input,body.dark select,body.dark textarea{background:#2b2731;border-color:#46404d;color:#eeeaf2}body.dark input::placeholder,body.dark textarea::placeholder{color:#82798b}body.dark input:disabled{background:#25222b}
body.dark .theme-toggle,body.dark .month-controls button,body.dark .template-tabs button{border-color:#46404d;color:#c2b2d1}body.dark .icon-button:hover{background:#342e3c}
body.dark .nav-item{color:#a69bac}body.dark .nav-item.active,body.dark .template-tabs button.active{color:#d0b8eb;background:#382e44;border-color:#65517d}body.dark .sidebar-bottom h3,body.dark .mini-exercise strong,body.dark .day-summary strong,body.dark .trend-overview strong,body.dark .weight-value,body.dark .baseline-card strong,body.dark .measurement-value,body.dark .template-item{color:#d0b8e4}
body.dark :is(.nav-label,.sidebar-bottom p,.storage-status,.sidebar-bottom button,.import,.eyebrow,.stat-top,.stat-value>span,.stat-bottom,.month-label>span,.month-controls button,.calendar-instruction,.weekdays,.number,.more,.legend span,.auto-save,#day-content,.day-summary,.mini-exercise span,.day-footnote,.review-link,footer,.section-toolbar p,.quiet,.breakdown-label,.breakdown-label small,.week-col>span,.weekly-labels span,.trend-overview span,.trend-caption div,.weight-value small,.note-item,.note-item small,.review-item p,.review-item summary,.measurement-row small,.measurement-row button,.template-item small,.template-item button,.template-explainer,#save-status,.picker-description,.optional,.exercise-empty,.exercise-card .unit-label,.exercise-card .small-actions button,.set-summary,.inline-set>span,.inline-set button,.inline-footer button,.exercise-note,details>summary,details>summary>span,label>span,.sets-heading,.set-row>span,.set-row button,.no-data,.profile-form-status,.text-button,.recent-card small,.recent-card p,.recent-heading button){color:#b4abbc}
body.dark .stat-value strong span{color:#bda8d0}body.dark .day.is-today .number{color:#fff}body.dark .pill{background:color-mix(in srgb,var(--bg) 42%,#211e27);color:color-mix(in srgb,var(--fg) 72%,#f3ebfa)}body.dark .legend i{background:var(--fg)}body.dark .day-mark{background:#c0a5df}body.dark .track{background:#38323f}body.dark .week-col .bar{background:#735f8b}body.dark .trend-point i{background:linear-gradient(#9c7db9,#594665)}body.dark .trend-point strong{color:#d0b5e6}body.dark .chart-empty{border-color:#494052;color:#b4a6be}body.dark .review-status{background:#392e43;color:#cfb3e4}body.dark .template-tabs button.active{background:#382e44}body.dark .exercise-card{background:#27232d;border-color:#3b3541}body.dark .exercise-card .inline-set input{color:#eeeaf2}body.dark .exercise-card .inline-set input:focus{border-color:#a88bc6}body.dark .exercise-card summary:after{color:#b8a8c2}body.dark .choice-check{border-color:#62566f}body.dark #muscle-options button{border-color:#4a4054;color:#c4b1d1}body.dark #muscle-options button.chosen{background:#3b3048;border-color:#9c7bbd;color:#d6bdec}body.dark .chosen .choice-check{color:#fff;background:#9c7bbd;border-color:#9c7bbd}body.dark .secondary{border-color:#46404d}body.dark .read-only-notice{background:#3c3029;border-color:#69513e;color:#e5c9ad}body.dark #toast{background:#44354e}
@media(max-width:580px){.header-actions{gap:6px}.theme-toggle{padding:9px 10px;gap:5px;font-size:9px}.header-actions .primary{padding:10px;font-size:10px;gap:8px}}

/* Notes-inspired macOS palette and system typography. */
:root{--notes-yellow:#ffd60a;--notes-yellow-hover:#ffe45c;--notes-black:#1c1c1e;--notes-sidebar:#171719;--notes-card:#2c2c2e;--notes-raised:#353537;--notes-line:#3a3a3c;--notes-text:#f5f5f7;--notes-secondary:#aeaeb2}
body{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}
h1,h2,.brand,.stat-value strong,.trend-overview strong,.weight-value,.baseline-card strong,.sidebar-bottom h3{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif}
h1{font-weight:700;letter-spacing:-.8px}h2{font-weight:650;letter-spacing:-.35px}.brand{font-weight:700;letter-spacing:-.8px}
body.dark{--ink:var(--notes-text);--muted:var(--notes-secondary);--line:var(--notes-line);--accent:var(--notes-yellow);--paper:var(--notes-black);--bg:#494025;--fg:var(--notes-yellow);background:var(--notes-black);color:var(--notes-text)}
body.dark aside{background:var(--notes-sidebar);border-color:#303033}
body.dark .stats article,body.dark .workspace,body.dark .recent-card,body.dark .panel{background:var(--notes-card);border-color:var(--notes-line)}
body.dark .details,body.dark .baseline-card{background:#272729;border-color:var(--notes-line)}
body.dark dialog{background:var(--notes-card);border-color:#4a4a4d;box-shadow:0 24px 90px #0009}
body.dark dialog::backdrop{background:#0009}
body.dark h1 span,body.dark .brand-dot,body.dark .text-button,body.dark .review-link,body.dark .recent-heading button,body.dark .template-item button,body.dark .measurement-row button,body.dark .inline-footer button,body.dark .template-link button{color:var(--notes-yellow)}
body.dark .primary{background:var(--notes-yellow);color:#171717;font-weight:650}
body.dark .primary:hover{background:var(--notes-yellow-hover);filter:none}
body.dark .nav-item{color:#b9b9bd;font-size:13px}
body.dark .nav-item.active{color:var(--notes-yellow);background:#3b3523;border-color:transparent;font-weight:600}
body.dark .nav-item:hover:not(.active),body.dark .icon-button:hover{background:#303033;filter:none}
body.dark .sidebar-bottom h3,body.dark .mini-exercise strong,body.dark .day-summary strong,body.dark .trend-overview strong,body.dark .weight-value,body.dark .baseline-card strong,body.dark .measurement-value,body.dark .template-item,body.dark .exercise-card h4,body.dark .note-item strong{color:var(--notes-text)}
body.dark :is(.nav-label,.sidebar-bottom p,.storage-status,.sidebar-bottom button,.import,.eyebrow,.stat-top,.stat-value>span,.stat-bottom,.month-label>span,.calendar-instruction,.weekdays,.number,.more,.legend span,.auto-save,#day-content,.day-summary,.mini-exercise span,.day-footnote,footer,.section-toolbar p,.quiet,.breakdown-label,.breakdown-label small,.week-col>span,.weekly-labels span,.trend-overview span,.trend-caption div,.weight-value small,.note-item,.note-item small,.review-item p,.review-item summary,.measurement-row small,.template-item small,.template-explainer,#save-status,.picker-description,.optional,.exercise-empty,.exercise-card .unit-label,.exercise-card .small-actions button,.set-summary,.inline-set>span,.inline-set button,.exercise-note,details>summary,details>summary>span,label>span,.sets-heading,.set-row>span,.set-row button,.no-data,.profile-form-status,.recent-card small,.recent-card p){color:var(--notes-secondary)}
body.dark .day{background:#303032;border-color:#414143}
body.dark .day:hover{background:#3b3b3d;border-color:#77777a}
body.dark .day.selected{background:#403a25;border-color:var(--notes-yellow);box-shadow:inset 0 0 0 1px var(--notes-yellow)}
body.dark .day.other{background:#29292b;border-color:#38383a}
body.dark .day.other .number{color:#78787d}
body.dark .day.is-today .number{background:var(--notes-yellow);color:#1c1c1e;font-weight:700}
body.dark .day-mark{background:var(--notes-yellow)}
body.dark .pill{background:var(--bg);color:var(--fg)}
body.dark .legend i,body.dark .breakdown-label i,body.dark .track i{background:var(--fg)}
body.dark .track{background:#444446}
body.dark .week-col .bar{background:#c7a924}
body.dark .trend-point i{background:linear-gradient(#ffe16b,#9e8421)}
body.dark .trend-point strong{color:var(--notes-yellow)}
body.dark .chart-empty{border-color:#555557;color:var(--notes-secondary)}
body.dark .review-status{background:#474027;color:#ffe385}
body.dark .theme-toggle,body.dark .month-controls button,body.dark .secondary,body.dark .template-tabs button{border-color:#505053;color:#e2e2e5}
body.dark .theme-toggle:hover,body.dark .month-controls button:hover,body.dark .secondary:hover{background:#3b3b3e;filter:none}
body.dark .template-tabs button.active{background:#51472a;border-color:#a88b21;color:var(--notes-yellow)}
body.dark .exercise-card{background:#343436;border-color:#505053}
body.dark input,body.dark select,body.dark textarea{background:#3a3a3c;border-color:#57575a;color:var(--notes-text)}
body.dark input::placeholder,body.dark textarea::placeholder{color:#99999e}
body.dark input:disabled{background:#303032}
body.dark .exercise-card .inline-set input{color:var(--notes-text)}
body.dark .exercise-card .inline-set input:focus{border-color:var(--notes-yellow)}
body.dark .choice-check{border-color:#838388}
body.dark #muscle-options button{border-color:#5a5a5d;color:#dddde0}
body.dark #muscle-options button.chosen{background:var(--bg);border-color:var(--fg);color:var(--fg)}
body.dark .chosen .choice-check{color:#1c1c1e;background:var(--fg);border-color:var(--fg)}
body.dark #toast{background:#4c4329;color:#fff3bd}
body.dark button:focus-visible,body.dark a:focus-visible,body.dark summary:focus-visible{outline-color:var(--notes-yellow)}
body.dark input:focus,body.dark select:focus,body.dark textarea:focus{outline-color:var(--notes-yellow)}
body.dark input[type=checkbox]{accent-color:var(--notes-yellow)}
body.dark .stat-value strong span{color:#c7c7cb}
body.dark .pain-badge{background:#543b31;color:#ffd1b7}
body.dark .read-only-notice{background:#493726;border-color:#765633;color:#f5d5a9}
body.dark :is(.day-summary,.note-item,.review-item,.weekly-bars,.trend-points,.exercise-section,#session-notes){border-color:var(--notes-line)}
body.dark :is(.storage-status,.measurement-row,.template-item){border-color:var(--notes-line)}
body.dark .eyebrow,body.dark .stat-top{font-size:10px;letter-spacing:1.1px}
body.dark .nav-label,body.dark .weekdays{font-size:10px}
body.dark .stat-bottom,body.dark .calendar-instruction,body.dark .quiet,body.dark .recent-card p,body.dark .picker-description{font-size:11px}
body.dark .recent-card h3,body.dark .mini-exercise,body.dark .review-item h3{font-size:13px}
body.dark .theme-toggle{font-size:11px}

/* Keep the body-part name readable in the three-card layout. */
#calendar-stats article:nth-child(2) .stat-value{flex-wrap:wrap;column-gap:9px}
#calendar-stats article:nth-child(2) .stat-value strong{font-size:clamp(19px,2.3vw,33px);overflow-wrap:anywhere}
@media(max-width:580px){#calendar-stats article:nth-child(2) .stat-value strong{font-size:18px}#calendar-stats article:nth-child(2) .stat-value>span{width:100%}}

/* Visual refresh: quieter dashboard, illustrated movements, clearer entry fields. */
:root{--surface-soft:#f0f0f2;--surface-raised:#fff;--art-surface:#232325}
body.dark{--surface-soft:#252527;--surface-raised:#303032;--line:#3b3b3e}
main{padding-top:30px}header{margin-bottom:24px}h1{font-size:29px;margin:7px 0 9px}header p{font-size:12px}
.brand-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#ffd60a;color:#191919;margin-right:3px;flex-shrink:0;box-shadow:inset 0 1px 0 #fff6}
.brand-icon svg{width:24px;height:24px}.brand{font-size:26px;gap:7px}.brand-dot{display:none}
aside{padding:30px 19px}.nav-label{margin:34px 13px 14px}.nav-icon{width:18px;height:18px;flex-shrink:0}.nav-item{display:flex;align-items:center;gap:12px;border-radius:10px;padding:13px 15px}
body.dark .nav-item.active{background:#3c3520;color:#ffe16a}
.sidebar-bottom h3{font-size:18px;line-height:1.45}.sidebar-bottom p{font-size:11px}
.primary,.secondary,.theme-toggle{border-radius:10px;min-height:38px}.primary{font-size:12px;gap:12px;padding:11px 17px}.secondary{font-size:12px}
.stats{gap:14px;margin-bottom:20px}.stats article{position:relative;padding:18px 21px;border-radius:14px;overflow:hidden}.stat-value{margin:13px 0 10px}.stat-value strong{font-weight:650;font-variant-numeric:tabular-nums}
body.dark .stats article{background:linear-gradient(135deg,#2b2b2e,#252527);border-color:#3b3b3e}
.stats article:before{content:'';display:block;width:22px;height:3px;border-radius:3px;background:#ffd60a;margin-bottom:13px;opacity:.9}.stats article:nth-child(2):before{background:#d8be86}.stats article:nth-child(3):before{background:#a8cbb9}
.workspace{grid-template-columns:minmax(350px,1fr) 260px;border-radius:17px}.calendar-panel{padding:24px}.calendar-instruction{margin:10px 0 19px}.calendar-heading h2{font-size:22px}.month-label>span{font-size:17px}.weekdays{margin-bottom:13px}.day{border-radius:9px;height:83px;padding:7px}.number{font-size:11px;width:22px;height:22px;min-height:22px}.pill{font-size:9px;line-height:1.25;padding:4px 6px}
body.dark .workspace,body.dark .panel{background:#272729;border-color:#3b3b3e}body.dark .day{background:#2c2c2f;border-color:#3b3b3e}body.dark .day.other{background:#252527;border-color:#323235}body.dark .day.selected{background:#3b3522;box-shadow:inset 0 0 0 .5px #ffd60a}body.dark .details{background:#222224}
.details{padding:26px 21px}.details h2{font-size:20px;line-height:1.3;margin-top:9px}#day-content{margin:19px 0}.day-focus{display:flex;align-items:center;gap:12px;margin-bottom:18px}.day-focus>div{min-width:0}.day-focus h3{font-size:13px;line-height:1.45;margin-top:6px;font-weight:600;color:var(--ink)}body.dark .day-focus .eyebrow{font-size:8px;letter-spacing:1px}.day-summary{margin:18px 0;padding:15px 0;font-size:10px}.day-summary strong{font-size:24px;font-weight:600}.day-footnote{font-size:10px}.review-link{font-size:10px}
.exercise-art{display:block;flex-shrink:0;width:100px;height:100px;border-radius:12px;background-color:var(--art-surface);background-repeat:no-repeat;background-size:var(--art-width) var(--art-height);background-position:var(--art-x) var(--art-y);overflow:hidden}

.focus-art{width:88px;height:88px;border:1px solid #ffffff0a}.mini-exercise{display:flex;gap:10px;align-items:center}.mini-exercise .exercise-art{width:42px;height:42px;border-radius:8px}.mini-exercise strong{font-size:11px;line-height:1.5}.mini-exercise span:not(.exercise-art){font-size:10px;display:block;margin-top:3px}
.empty-day{text-align:center;padding:0 0 5px}.empty-day .empty-art{width:148px;height:148px;margin:0 auto 15px;max-width:100%;border-radius:22px}.empty-day h3{font-size:16px;color:var(--ink);margin-bottom:6px}.empty-day p{font-size:11px;line-height:1.7;margin:0;color:var(--muted)}
.panel{border-radius:16px}.panel-title h2{font-size:20px}.quiet{max-width:75ch}.profile-layout{gap:20px}.template-tabs button{font-size:12px;border-radius:9px;padding:10px 14px}.template-item{padding:14px 0;gap:16px}.template-name{flex:1;font-size:13px;line-height:1.5;min-width:0}.template-item .exercise-art{width:72px;height:72px;border-radius:12px}.template-item small{font-size:11px;margin-top:5px}.template-actions button{min-height:32px;padding:5px 9px;font-size:12px}.template-actions{gap:6px}
/* Workout sheet. */
dialog{border-radius:22px;padding:28px;box-shadow:0 30px 100px #0009}.workout-dialog{width:800px}.exercise-dialog{width:530px}.dialog-heading{margin-bottom:13px}.workout-heading h2{font-size:27px;letter-spacing:-.6px}.picker-description{margin:9px 0 14px}.workout-overview{font-size:11px;color:var(--muted);margin:0 0 20px;padding-bottom:17px;border-bottom:1px solid var(--line)}
#muscle-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
#muscle-options button{position:relative;display:flex;flex-direction:column;gap:8px;align-items:stretch;padding:6px 6px 11px;border-radius:13px;border:1px solid var(--line);font-size:11px;text-align:center;background:var(--surface-soft);min-width:0;transition:border-color .15s,background .15s,transform .15s}
#muscle-options button:hover{transform:translateY(-2px);filter:none}.part-art{width:100%;height:auto;aspect-ratio:1;border-radius:9px}.part-name{font-size:11px;font-weight:550}.choice-check{position:absolute;right:8px;top:8px;height:18px;width:18px;font-size:11px;border-radius:50%;background:#242426cc;border-color:#777;box-shadow:0 1px 4px #0003}
body.dark #muscle-options button{border-color:#404044;background:#303032;color:#c7c7cc}body.dark #muscle-options button.chosen{background:#403a25;border-color:#ffd60a;color:#ffe783;box-shadow:0 0 0 1px #ffd60a33}body.dark .chosen .choice-check{background:#ffd60a;border-color:#ffd60a;color:#1c1c1e}
.template-link{margin-top:12px}.template-link button{font-size:10px}.exercise-section{margin-top:20px;padding-top:20px}.exercise-section h3{font-size:16px}.optional{font-size:10px}.exercise-section .text-button{font-size:12px}.exercise-card{padding:0;border-radius:15px;margin-top:13px;overflow:hidden;background:var(--surface-raised)}body.dark .exercise-card{background:#303032;border-color:#48484b}
.exercise-card summary{padding:16px;display:flex;align-items:center;gap:16px}.exercise-title{flex:1;min-width:0}.exercise-index{font-size:9px;letter-spacing:1.3px;color:var(--muted);display:block;margin-bottom:7px}.exercise-card h4,body.dark .exercise-card h4{font-size:15px;font-weight:600;line-height:1.4;color:var(--ink)}.exercise-card .unit-label{font-size:11px;margin-top:5px}.exercise-card .set-summary{font-size:11px;margin-top:8px;line-height:1.6}.exercise-card summary:after{margin-left:auto;flex-shrink:0;font-size:18px;width:24px;text-align:center}.exercise-card summary::-webkit-details-marker{display:none}.exercise-card details[open]>summary{border-bottom:1px solid var(--line)}
.inline-sets{padding:11px 18px 0;background:var(--surface-soft)}.exercise-card .inline-set{grid-template-columns:30px 1fr 1fr 28px;gap:12px;margin:8px 0}.exercise-card .inline-set>span{font-size:12px;font-variant-numeric:tabular-nums}.exercise-card .inline-set label span{font-size:9px;letter-spacing:.7px;margin-bottom:6px}.exercise-card .inline-set input{height:43px;font-size:15px;padding:10px 12px;border-radius:9px;font-variant-numeric:tabular-nums}.exercise-card .inline-set button{font-size:20px;min-height:36px;margin-top:17px}.inline-footer{margin:0;padding:13px 18px 17px;background:var(--surface-soft);align-items:center}.inline-footer button,.exercise-card .small-actions button{font-size:11px;min-height:30px}.exercise-note,.exercise-card .pain-badge{margin:12px 18px}.exercise-note{font-size:11px}.exercise-empty{padding:28px 20px;border:1px dashed var(--line);border-radius:13px;text-align:center;margin-top:15px;font-size:12px}.picker-footer{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;font-size:11px}#session-notes{font-size:12px}
.exercise-preview{display:flex;align-items:center;gap:16px;margin:20px 0 6px;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface-soft)}.exercise-preview .exercise-art{width:108px;height:108px}.exercise-preview h3{font-size:15px;line-height:1.5;margin:8px 0 5px}.exercise-preview p{font-size:11px;color:var(--muted);margin:0}.exercise-preview>div{min-width:0}.exercise-preview .eyebrow{font-size:9px}
label{font-size:12px}input,select,textarea{font-size:13px;padding:11px 12px;border-radius:9px}.text-button{font-size:11px}.icon-button{width:34px;height:34px;background:var(--surface-soft);font-size:22px}
@media(min-width:1450px){.workspace{grid-template-columns:minmax(400px,1fr) 290px}main{padding-top:34px}.day{height:94px}}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(300px,1fr) 235px}.calendar-panel{padding:20px 15px}.day{height:80px}.details{padding:24px 17px}.focus-art{width:72px;height:72px}.day-focus{gap:9px}}
@media(max-width:850px){.workspace{grid-template-columns:1fr}.details{display:grid;grid-template-columns:1fr auto;gap:4px 20px}.details>.eyebrow,.details>h2,#day-content{grid-column:1}.details>.primary{grid-column:2;grid-row:1/4;align-self:center}.details .review-link{grid-column:1/-1}.empty-day{display:flex;align-items:center;text-align:left;gap:15px;flex-wrap:wrap;padding:0}.empty-day .empty-art{width:72px;height:72px;margin:0}.empty-day h3{margin:0}.empty-day p{display:none}.day-focus{margin:0}.day-summary{margin:12px 0}.day-focus .focus-art{width:64px;height:64px}.stats article{padding:16px}.stat-value strong{font-size:29px}.brand{font-size:23px}.brand-icon{width:30px;height:30px}.brand-icon svg{width:22px;height:22px}}
@media(max-width:580px){aside{padding:11px 14px}.nav-item{gap:6px;padding:9px 10px}.nav-icon{width:15px;height:15px}.brand{font-size:22px;gap:5px}.brand-icon{width:29px;height:29px}main{padding-top:22px}h1{font-size:25px}header{align-items:flex-start;flex-wrap:wrap;gap:15px}.header-actions{width:100%;justify-content:space-between}.header-actions .primary{font-size:12px;padding:11px 17px}.theme-toggle{font-size:11px}.stats{gap:7px}.stats article{padding:13px 9px}.stats article:before{margin-bottom:11px;width:17px}.stat-value{gap:4px}.stat-value strong{font-size:27px}.stats .stat-bottom{font-size:9px;line-height:1.5}.stats .stat-top{font-size:8px;letter-spacing:.8px}.calendar-panel{padding:18px 10px}.day{height:77px;padding:5px 3px}.number{font-size:10px;width:20px;height:20px;min-height:20px}.pill{font-size:7px;padding:4px}.details{padding:20px 15px;gap:0 10px}.details h2{font-size:17px}.details>.primary{font-size:11px;padding:10px 12px}.day-focus h3{font-size:11px}.focus-art{width:52px;height:52px}.day-focus .eyebrow{display:none}dialog{padding:23px 17px;border-radius:18px;max-height:calc(100dvh - 24px)}.workout-heading h2{font-size:24px}.workout-overview{font-size:10px}.picker-description{font-size:11px}#muscle-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#muscle-options button{padding:5px 5px 9px;gap:7px}.part-name{font-size:11px}.exercise-card summary{padding:12px;gap:11px}.exercise-card summary>.exercise-art{width:76px;height:76px;border-radius:10px}.exercise-card h4,body.dark .exercise-card h4{font-size:13px}.exercise-index{font-size:8px;margin-bottom:5px}.exercise-card .unit-label{font-size:10px}.exercise-card .set-summary{font-size:10px}.inline-sets{padding:9px 12px 0}.inline-footer{padding:10px 12px 14px}.exercise-card .inline-set{gap:8px;grid-template-columns:23px 1fr 1fr 23px}.exercise-card .inline-set input{font-size:14px}.inline-footer button,.exercise-card .small-actions button{font-size:10px}.exercise-preview .exercise-art{width:82px;height:82px}.template-item .exercise-art{width:59px;height:59px}.template-item{gap:11px}.template-name{font-size:12px}.template-actions{gap:0}.template-tabs{gap:6px}.template-tabs button{padding:8px 10px;font-size:11px}.picker-footer{font-size:10px}.workout-dialog .primary{font-size:12px}}
.day{gap:3px}.day .number{width:20px;height:20px;min-height:20px}.day .pill{font-size:8px;line-height:1.1;padding:3px 5px;flex-shrink:0}.day .more{font-size:8px;line-height:1.1;flex-shrink:0}
body.dark label,body.dark .icon-button{color:#c7c7cc}body.dark .icon-button:hover{color:#fff}
select{-webkit-appearance:none;appearance:none;min-height:40px;padding-right:31px}
select,body.dark select{background-image:linear-gradient(45deg,transparent 50%,#aaa 50%),linear-gradient(135deg,#aaa 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px;background-repeat:no-repeat}
@media(max-width:580px){.day .pill{font-size:7px;padding:3px 4px}}
/* Keep the interface compact when descriptive copy is absent. */
header h1{margin:0;font-size:30px}header{margin-bottom:25px}.brand+nav{margin-top:34px}.sidebar-bottom .storage-status{margin-top:0}.section-toolbar{justify-content:flex-end}.panel-title h2{margin-top:0}.calendar-instruction{margin-bottom:18px}.details>h2{margin-top:0}.workout-heading{margin-bottom:19px}.workout-overview{margin-bottom:18px}.picker-footer{color:var(--muted)}.exercise-preview h3{margin-top:0}.stat-value{margin-bottom:2px}.stat-bottom{margin-top:10px}
@media(max-width:580px){header h1{font-size:26px}.brand+nav{margin-top:0}}

/* Insights: movement artwork paired with the numbers it describes. */
.progress-panel .panel-title{margin-bottom:23px;align-items:center}.progress-panel .chart-controls{flex-wrap:nowrap}.progress-panel .chart-controls select{font-size:12px;max-width:330px;min-width:105px}.progress-panel #exercise-select{width:300px}.progress-panel #unit-select{width:130px}
.progress-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:32px;align-items:stretch}.progress-visual{background:#232325;border:1px solid #ffffff0b;border-radius:17px;overflow:hidden;display:flex;flex-direction:column}.progress-visual .progress-art{width:100%;height:auto;aspect-ratio:1;border-radius:0}.progress-identity{padding:0 19px 20px}.progress-identity h3{font-size:15px;line-height:1.5;margin-top:10px;font-weight:600;color:#f5f5f7}.progress-identity .pill{display:inline-block;font-size:10px}.progress-data{min-width:0;padding:5px 0}.progress-metrics{display:grid;grid-template-columns:1.2fr 1.2fr 1fr;gap:15px;border-bottom:1px solid var(--line);padding-bottom:20px}.progress-metrics>div{display:flex;flex-direction:column;gap:11px}.progress-metrics>div>span{font-size:11px;color:var(--muted)}.progress-metrics strong{font-size:31px;line-height:1;font-weight:600;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.progress-metrics small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:7px;color:var(--muted)}.progress-comparison{font-size:12px;color:var(--muted);margin:17px 0 8px}.progress-comparison.positive{color:#a7d8b0}.progress-data .trend-points{min-height:133px;gap:10px;padding-inline:0}.progress-data .trend-point{min-width:42px}.progress-data .trend-point i{width:36px;max-width:100%}.progress-data .trend-caption{padding-inline:0;gap:10px}.progress-data .trend-caption>div{min-width:42px;font-size:10px}.progress-data .trend-caption small{font-size:9px}.chart-measure{display:block;font-size:10px;color:var(--muted);margin-top:18px}.progress-layout>.chart-empty{align-self:stretch;margin:0}
#insight-breakdown{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.bodypart-tile{min-width:0;padding:7px 7px 13px;background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;overflow:hidden}.bodypart-tile .bodypart-art{width:100%;height:auto;aspect-ratio:1;border-radius:9px}.bodypart-copy{padding:11px 6px 0}.bodypart-copy h3{font-size:12px;line-height:1.4;font-weight:550;margin-bottom:10px}.bodypart-copy>div{display:flex;gap:6px;align-items:baseline}.bodypart-copy strong{font-size:25px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.bodypart-copy span{font-size:10px;color:var(--muted)}.bodypart-track{height:3px;margin:13px 6px 0;border-radius:4px;background:var(--line);overflow:hidden}.bodypart-track i{display:block;height:100%;background:var(--fg);border-radius:4px}.bodypart-tile.inactive .exercise-art{opacity:.45}.bodypart-tile.inactive .bodypart-copy{color:var(--muted)}
#insights-page .weekly-bars{height:170px;margin-top:10px}#insights-page .weekly-bars .bar{max-width:40px}.bodypart-panel .panel-title{margin-bottom:20px}#insights-page .insight-grid>.panel:not(.wide){min-width:0}.progress-layout .chart-empty{border-style:solid;background:var(--surface-soft)}
@media(min-width:1450px){.progress-layout{grid-template-columns:260px minmax(0,1fr);gap:40px}.progress-metrics strong{font-size:35px}}
@media(max-width:1100px){#insight-breakdown{gap:8px}.bodypart-copy{padding-inline:2px}.bodypart-copy h3{font-size:11px}.bodypart-tile{padding:5px 5px 11px}.bodypart-track{margin-inline:2px}.progress-layout{grid-template-columns:200px minmax(0,1fr);gap:24px}.progress-panel .panel-title{flex-wrap:wrap}.progress-panel .chart-controls{width:100%}.progress-panel #exercise-select{max-width:none;flex:1}.progress-panel #unit-select{flex:0 0 130px}.progress-metrics{gap:9px}.progress-metrics strong{font-size:28px}.progress-metrics small{font-size:10px}}
@media(max-width:850px){#insight-breakdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.progress-layout{grid-template-columns:180px minmax(0,1fr);gap:20px}.progress-metrics{grid-template-columns:1fr 1fr;row-gap:19px}.progress-metrics>div:last-child{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}.progress-metrics>div:last-child strong{font-size:22px}.progress-data .trend-point{min-width:40px}.progress-data .trend-caption>div{min-width:40px}.bodypart-copy h3{font-size:12px}}
@media(max-width:580px){.progress-layout{display:block}.progress-visual{flex-direction:row;align-items:center;margin-bottom:22px}.progress-visual .progress-art{width:120px;height:120px;flex-shrink:0}.progress-identity{padding:13px}.progress-identity h3{font-size:13px;margin-top:7px}.progress-identity .pill{font-size:9px}.progress-metrics{grid-template-columns:1.2fr 1.2fr 1fr;padding-bottom:17px;gap:7px}.progress-metrics>div:last-child{grid-column:auto;flex-direction:column;align-items:flex-start;gap:11px}.progress-metrics>div:last-child strong{font-size:26px}.progress-metrics strong{font-size:26px}.progress-metrics>div>span{font-size:10px}.progress-metrics small{font-size:10px;margin-left:4px}.progress-panel .chart-controls{gap:7px}.progress-panel #exercise-select{width:0;font-size:11px}.progress-panel #unit-select{flex-basis:95px;font-size:11px}.progress-panel .panel-title{margin-bottom:17px}#insight-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bodypart-tile{position:relative;display:grid;grid-template-columns:62px 1fr;gap:8px;align-items:center;padding:7px 7px 13px}.bodypart-tile .bodypart-art{width:62px;height:62px}.bodypart-copy{padding:0}.bodypart-copy h3{font-size:11px;margin-bottom:8px}.bodypart-copy strong{font-size:22px}.bodypart-copy span{font-size:9px}.bodypart-track{position:absolute;left:7px;right:7px;bottom:6px;margin:0}.chart-measure{font-size:9px}}

/* Choose a body part, then a movement. */
.insight-picker{margin-bottom:26px;padding-bottom:25px;border-bottom:1px solid var(--line)}.insight-part-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.insight-part-filter button{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-size:12px;min-height:40px;font-weight:500}.insight-part-filter button>span{font-size:10px;min-width:19px;height:19px;display:grid;place-items:center;border-radius:5px;background:#8882;color:var(--muted);font-variant-numeric:tabular-nums}.insight-part-filter button.active{border-color:#b89d32;background:#ffd60a18;color:#d0a600}.insight-part-filter button.active>span{background:#ffd60a22;color:inherit}.insight-part-filter button:disabled{opacity:.35}.insight-part-filter button:hover:not(:disabled){filter:none;border-color:#96969a}
.insight-exercise-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.insight-exercise-option{display:flex;align-items:center;gap:13px;min-width:0;min-height:87px;padding:10px 13px 10px 10px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);text-align:left}.insight-exercise-option .exercise-art{width:66px;height:66px;border-radius:9px}.insight-exercise-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}.insight-exercise-name strong{font-size:13px;font-weight:550;line-height:1.4}.insight-exercise-name small{font-size:10px;color:var(--muted)}.selection-dot{width:20px;height:20px;display:grid;place-items:center;flex-shrink:0;border:1px solid #8888;border-radius:50%;font-size:11px;color:transparent}.insight-exercise-option.active{border-color:#b89d32;background:#ffd60a0c}.insight-exercise-option.active .selection-dot{background:#ffd60a;border-color:#ffd60a;color:#1c1c1e}.insight-exercise-option:hover{border-color:#96969a;filter:none}.picker-no-data{grid-column:1/-1;padding:20px;text-align:center;color:var(--muted);font-size:12px;border:1px dashed var(--line);border-radius:12px}.progress-panel .chart-controls{width:auto}.progress-panel #unit-select{flex:none;width:130px}
body.dark .insight-part-filter button.active{color:#ffe275;background:#443c23;border-color:#9c8738}body.dark .insight-exercise-option.active{background:#383426;border-color:#a58f3d}
@media(max-width:850px){.insight-part-filter{gap:7px}.insight-part-filter button{font-size:11px;padding:9px 11px}.insight-exercise-option{gap:10px;padding:8px 10px 8px 8px}.insight-exercise-option .exercise-art{width:56px;height:56px}.insight-exercise-name strong{font-size:12px}.selection-dot{width:17px;height:17px;font-size:10px}}
@media(max-width:580px){.insight-exercise-picker{grid-template-columns:1fr;gap:8px}.insight-exercise-option{min-height:76px}.insight-exercise-option .exercise-art{width:58px;height:58px}.insight-exercise-name strong{font-size:13px}.insight-part-filter button{padding:9px 10px;gap:7px}.insight-picker{margin-bottom:20px;padding-bottom:20px}.progress-panel .chart-controls{width:auto}.progress-panel #unit-select{width:100px;flex:none}}

/* Let the web journal use the full viewport, including wide and tall screens. */
main{max-width:none;min-width:0}
@media(min-width:851px){
  main{min-height:100dvh;display:flex;flex-direction:column}
  main>header{flex-shrink:0}
  #calendar-page{display:flex;flex:1;flex-direction:column;min-width:0}
  #calendar-stats{flex-shrink:0}
  #calendar-page>.workspace{flex:1;grid-template-columns:minmax(0,1fr) clamp(235px,18vw,320px)}
  .calendar-panel{display:flex;flex-direction:column;min-width:0}
  .calendar-heading,.calendar-instruction,.weekdays,.calendar-footer{flex-shrink:0}
  #calendar{flex:1;grid-auto-rows:minmax(76px,1fr)}
  #calendar .day{height:auto;min-height:76px}
}
@media(max-width:850px){
  #calendar-page>.workspace{min-width:0}
  .calendar-panel,.details{min-width:0}
}
@media(max-width:580px){
  .header-actions{margin-left:auto}
  .details{grid-template-columns:minmax(0,1fr)}
  .details>.primary{grid-column:1;grid-row:auto;width:100%;margin-top:12px}
}
