/* One visually bounded exercise, including its media and own input fields. */
.exercise-list{gap:28px;margin:22px 0}
.exercise-list>.exercise.card{padding:0;border:2px solid #b5cbc2;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1730440a;overflow:hidden}
.exercise-list>.exercise.card .exercise-heading{padding:18px 20px;background:#e7efeb;border-bottom:1px solid #c5d6ce;gap:14px;align-items:center}
.exercise-list>.exercise.card .exercise-heading>div{min-width:0;flex:1}
.exercise-list>.exercise.card .exercise-number{display:inline-block;margin:0 0 8px;padding:4px 9px;border-radius:6px;background:#fff;color:#245b50;border:1px solid #b8cec3;font-size:11px;font-weight:750;letter-spacing:.04em;line-height:1.4}
.exercise-list>.exercise.card .exercise-heading h3{font-size:23px;line-height:1.3;color:#173044;margin:0;overflow-wrap:anywhere}
.exercise-list>.exercise.card .exercise-body{padding:20px}
.exercise-list>.exercise.card:focus-within{border-color:#147c70;box-shadow:0 0 0 3px #147c7026,0 5px 18px #1730440a}
.exercise-list>.exercise.card:focus-within .exercise-heading{background:#dcece5}
.exercise-list .exercise-record{padding:14px;border:1px solid #c5d6ce;border-left:4px solid #16847e;border-radius:12px;background:#f1f6f3;margin-top:16px}
.exercise-list .exercise-record .record-title{margin:0;gap:8px;flex-wrap:wrap}
.exercise-list .record-exercise-name{font-size:15px;font-weight:750;line-height:1.4;color:#173044;margin:7px 0 12px;overflow-wrap:anywhere}
.exercise-list .exercise-record .set-row input{background:#fff}
.exercise-list>.exercise.card[data-collapsed=true] .exercise-heading{border-bottom:0}
@media(max-width:650px){.exercise-list{gap:24px}.exercise-list>.exercise.card .exercise-heading{padding:16px;align-items:flex-start;gap:10px}.exercise-list>.exercise.card .exercise-heading h3{font-size:21px}.exercise-list>.exercise.card .exercise-body{padding:16px}.exercise-list .exercise-record{padding:12px 9px;border-left-width:3px}.exercise-list .record-exercise-name{font-size:14px}}
/* Per-exercise load units, protected series and optional session notes. */
.exercise-record .load-unit-field{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:650;margin:12px 0 8px}.exercise-record .load-unit-field select{width:auto;min-width:0;max-width:65%;min-height:44px;font-size:13px;padding:8px;border:1px solid #aebfb7;border-radius:8px;background:white;color:#173044}.load-unit-hint{display:block;font-size:11px;line-height:1.5;color:#567169;margin-bottom:8px}
.exercise-record .set-head,.exercise-record .set-row{grid-template-columns:24px repeat(3,minmax(0,1fr)) 40px 48px;gap:5px}.exercise-record .set-head{font-size:10px}.exercise-record .set-row input{min-width:0;width:100%}.exercise-record .set-row label{min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;position:relative}.exercise-record .set-row input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#16847e}.series-lock span{position:absolute;right:0;top:0;font-size:10px}.exercise-record .set-row[data-locked=true]{background:#e2ebe6;border-radius:7px}.exercise-record .set-row[data-locked=true] input:disabled{color:#173044;opacity:.8;background:#edf2ef}.exercise-notes{border:1px solid #c4d4cc;border-radius:10px;background:#f8fbf9;margin-top:14px;padding:0 12px}.exercise-notes>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font-size:13px;font-weight:650;list-style:none}.exercise-notes>summary::-webkit-details-marker{display:none}.exercise-notes>summary:after{content:'+';font-size:20px}.exercise-notes[open]>summary:after{content:'−'}.exercise-notes summary span{margin-left:auto;font-size:10px;color:#5e766c;font-weight:500}.exercise-notes label{display:block;font-size:12px}.exercise-notes textarea{display:block;width:100%;min-height:92px;resize:vertical;margin:7px 0;box-sizing:border-box;font-size:16px}.exercise-notes>small{display:block;color:#637a71;font-size:11px;margin:0 0 12px}.previous-exercise-note{padding:8px 0;border-top:1px solid #dce5df;font-size:12px}.previous-exercise-note summary{cursor:pointer;min-height:40px}.previous-exercise-note p,.history-exercise-note p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:400px){.exercise-record .set-head,.exercise-record .set-row{grid-template-columns:20px repeat(3,minmax(0,1fr)) 31px 41px;gap:4px}.exercise-record .set-head{font-size:9px}.exercise-record .load-unit-field{gap:8px;font-size:11px}.exercise-record .load-unit-field select{font-size:12px;max-width:68%}}

/* Rest action stays with the exercise guide, beside the series on wider screens. */
.exercise .rest-start-featured{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:62px;padding:14px 16px;margin:12px 0 0;border:1px solid #116d68;border-radius:12px;background:#16847e;color:#fff;font-size:15px;font-weight:700;line-height:1.3;box-shadow:0 3px 9px #17304416}.exercise .rest-start-featured:hover{background:#116d68}.exercise .rest-start-featured:focus-visible{outline:3px solid #173044;outline-offset:3px}.rest-start-featured .rest-start-icon{font-size:28px;line-height:1}.rest-start-featured .rest-start-arrow{font-size:12px;margin-left:auto}.rest-start-featured>span:nth-child(2){flex:1;text-align:left}@media(max-width:650px){.exercise .rest-start-featured{min-height:56px;font-size:14px;padding:12px 14px}}
