/* Exercise mode, built around the working set rather than a dense workout form. */
header{gap:12px}
header>small{flex:none}
.cop-ex{max-width:560px;margin:0 auto}
.cop-ex h1{font-size:clamp(26px,6.6vw,36px);line-height:1.13;letter-spacing:-.7px;margin:9px 0 16px}
.cop-top,.cop-step,.cop-log-title,.cop-timer,.cop-timer-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cop-top>span{font-size:12px;font-weight:750;letter-spacing:1px;color:#aab6cb}
.cop-quiet{background:transparent;color:#bbcadc;padding:8px;font-size:14px}
.cop-top .cop-quiet,.cop-step button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px}
.cop-ex svg:not(.cop-motion),.cop-overview svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}
.cop-demo{position:relative;overflow:hidden;border-radius:20px;border:1px solid #3c6062;background:radial-gradient(ellipse at 60% 0%,#2b5351,#142d33 72%);color:#ded2be}
.cop-demo .cop-motion{display:block;width:100%;height:auto;max-height:270px}
.cop-demo>small{position:absolute;top:10px;left:13px;font:700 10px/1.5 system-ui;letter-spacing:1.2px;color:#ddd3c3;background:#152b32;padding:4px 8px;border-radius:7px}
.cop-demo>.cop-demo-play{position:absolute;bottom:12px;right:13px;width:50px;height:50px;padding:0;border-radius:50%;box-shadow:0 6px 20px #0e122088}
.cop-demo>.cop-demo-play svg{width:23px!important;height:23px!important}
.cop-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;text-align:left;margin:11px 0}
.cop-metrics>span{background:#1b2233;border-radius:12px;border:1px solid #2b3549;padding:7px 8px;display:grid;align-content:space-between;gap:2px}
.cop-metrics small{font-size:11px;color:#aab6cb}
.cop-metrics strong{font-size:13px;overflow-wrap:anywhere;line-height:1.25}
.cop-muscles{font-size:14px;color:#e1ceaf;margin:10px 0}
.cop-notes{padding:9px 0;margin:0;border-top:1px solid #303a4d;font-size:14px}
.cop-notes p{margin:8px 0 4px;line-height:1.45}
.cop-swaps{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.cop-swaps button{font-size:13px;padding:8px 10px}
.cop-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#141d2e;border:1px solid #2b3549;padding:5px;border-radius:15px;margin:12px 0}
.cop-tabs button{min-height:43px;padding:8px;background:transparent;color:#b8c5d8}
.cop-tabs button[aria-pressed=true]{background:#f5e9d8;color:#141a21}
.cop-timer{margin:0 0 12px;padding:12px 13px;border:1px solid #475b73;border-radius:16px;background:#1a3033}
.cop-timer small{font-size:11px;letter-spacing:.5px;color:#d8d0c2}
.cop-timer strong{font-size:30px;font-weight:800;line-height:1.06;font-variant-numeric:tabular-nums;color:#ead3ae}
.cop-timer button{padding:8px 10px;min-height:42px}
.cop-timer button.cop-quiet{font-size:13px}
.cop-logs{background:#1b2233;border-radius:16px;padding:13px;border:1px solid #2b3549}
.cop-logs h2,.cop-log-title h2{font-size:19px;margin:0 0 8px}
.cop-log-title small{font-size:12px;margin-bottom:8px}
.cop-columns{display:grid;grid-template-columns:27px minmax(0,1fr) minmax(0,1fr) 44px;gap:6px;align-items:center;color:#aab6cb;font-weight:650;font-size:12px}
.cop-columns input{min-width:0;height:44px;padding:7px 6px;font-size:16px;text-align:center;border-radius:9px}
.cop-columns input::placeholder{color:#8190a6}
.cop-set{margin:8px 0;padding:5px 0 7px;border-bottom:1px solid #303a4d}
.cop-set.logged input,.cop-set.logged .cop-bodyweight{background:#1f3938;border-color:#43566d}
.cop-set .cop-set-check{height:44px;width:44px;padding:0;display:grid;place-items:center;background:transparent;border:1px solid #64748e;color:#b8c5d8}
.cop-set.logged .cop-set-check{background:#f5e9d8;border-color:#f5e9d8;color:#141a21}
.cop-prior{font-size:12px;margin:5px 0 0 33px}
.cop-bodyweight{height:44px;display:grid;place-items:center;border:1px solid #38465d;background:#101827;border-radius:9px;font-size:11px;overflow-wrap:anywhere;text-align:center}
.cop-feedback{color:#ffcbab;font-size:13px;margin:8px 0 0}
.cop-feedback:empty{display:none}
.cop-history-row{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #303a4d;padding:9px 0;font-size:14px}
.cop-history-row ul{margin:0;padding:0;list-style:none;color:#e4d7c1;text-align:right}
.cop-step{margin:12px 0 0}
.cop-step button{font-size:14px;padding:8px 9px}
.cop-step [disabled]{opacity:.4;cursor:default}
.cop-overview{padding:6px 12px}
.cop-ex-link{display:grid;grid-template-columns:35px minmax(0,1fr) 22px;gap:8px;align-items:center;width:100%;padding:11px 4px;background:none;border-radius:0;text-align:left;color:#eef3fa;border-bottom:1px solid #303a4d}
.cop-ex-link:last-child{border-bottom:0}
.cop-ex-link small{font-size:12px}
.cop-ex-num{font-size:12px;background:#243938;color:#ead3ae;text-align:center;border-radius:8px;line-height:30px;width:30px}
.cop-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:360px){main{padding-left:12px;padding-right:12px}.cop-logs{padding:10px}.brand{font-size:23px}.cop-columns{grid-template-columns:23px minmax(0,1fr) minmax(0,1fr) 44px}.cop-prior{margin-left:29px}}

/* Workout overview: one next action, with the full plan still in reach. */
main:has(.cop-summary){padding-top:16px}
main:has(.cop-summary)>header{margin-bottom:17px}
main:has(.cop-summary)>header>.brand{font-size:21px;letter-spacing:-.65px}
main:has(.cop-summary)>header>small{font-size:10px;font-weight:650;letter-spacing:.055em}
.cop-summary{max-width:530px;margin-inline:auto}
.cop-session{position:relative;overflow:hidden;padding:clamp(14px,4.4vw,25px);border:1px solid #3e5066;border-radius:22px;background:radial-gradient(ellipse at 91% 4%,#30554f 0,transparent 58%),linear-gradient(140deg,#1d3536,#171f30 76%);isolation:isolate}
.cop-session::before,.cop-session::after{content:"";position:absolute;z-index:-1;pointer-events:none;right:-99px;top:-133px;width:263px;height:263px;border:1px solid #6e88a645;border-radius:50%}
.cop-session::after{right:-71px;top:-104px;width:209px;height:209px;border-color:#a8967840}
.cop-session-identity{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:8px;align-items:center}
.cop-kicker{font-size:10px;font-weight:800;letter-spacing:.105em;color:#dfccac;margin:0 0 5px}
.cop-session h1{font-size:clamp(26px,7vw,40px);line-height:1.04;letter-spacing:-.045em;margin:0 0 9px}
.cop-session-meta{display:flex;flex-wrap:wrap;gap:2px 11px;margin:0;color:#d0dfdd;font-size:12px}
.cop-session-meta>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.cop-session-meta svg{width:15px;height:15px;color:#d6c5aa}
.cop-ring{width:70px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#e7cea4 var(--cop-progress),#4a6079 0);padding:4px;margin-left:auto}
.cop-ring>div{height:100%;border-radius:50%;background:#213b3d;display:grid;place-content:center;text-align:center;line-height:1.05}
.cop-ring strong{font-size:21px;letter-spacing:-.85px}
.cop-ring small{display:inline;font-size:12px;color:#e3d8c6;font-weight:750}
.cop-ring span{font-size:7px;letter-spacing:.075em;font-weight:750;color:#e1d8ca;margin-top:3px}
.cop-session-progress{margin-top:14px}
.cop-progress-track{height:5px;border-radius:8px;background:#41605f;overflow:hidden}
.cop-progress-track>span{height:100%;display:block;background:#e7cea4}
.cop-progress-text{display:flex;justify-content:space-between;gap:5px;color:#c1d5d3;font-size:11px;margin:5px 0 0}
.cop-primary{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:13px;width:100%;min-height:45px;padding:8px 11px;background:#e7cea4;color:#151b22;border-radius:12px;font-size:15px;font-weight:800;text-align:center}
.cop-primary svg{width:18px;height:18px;flex:none}
.cop-list-head{display:flex;justify-content:space-between;align-items:end;margin:15px 0 7px}
.cop-list-head h2{font-size:20px;margin:0 0 2px;letter-spacing:-.02em}
.cop-list-head p{font-size:13px;margin:0;line-height:1.3}
.cop-workout-list{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.cop-workout-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;width:100%;min-height:56px;padding:7px 10px;text-align:left;background:#1a2435;color:#f1f5fc;border:1px solid #303d51;border-radius:13px}
.cop-workout-row.is-next{background:linear-gradient(110deg,#223d3d,#233042);border-color:#57708d}
.cop-workout-row.is-done{background:#1b3036;border-color:#3e6965}
.cop-workout-row:active,.cop-primary:active{filter:brightness(.91)}
.cop-workout-number{width:29px;height:29px;display:grid;place-items:center;background:#2c394d;border:1px solid #405069;border-radius:9px;color:#cfdaeb;font-size:11px}
.is-next .cop-workout-number,.is-done .cop-workout-number{background:#2b524e;color:#edd9b9;border-color:#495e76}
.cop-workout-number svg{width:16px;height:16px}
.cop-workout-title{display:grid;gap:2px;min-width:0}
.cop-workout-title strong{font-size:15px;line-height:1.17;overflow-wrap:anywhere}
.cop-workout-title>span{font-size:11px;font-weight:500;line-height:1.22;color:#becbdc;overflow-wrap:anywhere}
.cop-workout-indicators{display:grid;justify-items:end;gap:4px;min-width:36px}
.cop-workout-status{font-size:10px;font-weight:750;color:#d4cbbd;white-space:nowrap}
.is-next .cop-workout-status,.is-done .cop-workout-status{color:#eddaba}
.cop-set-markers{display:flex;gap:2px;max-width:55px;flex-wrap:wrap;justify-content:flex-end}
.cop-set-markers>i{width:6px;height:4px;border-radius:3px;background:#71869d}
.cop-set-markers>.checked{background:#e6cfa8}
.cop-workout-footer{margin:6px 0 0}
.cop-save-early{width:100%;margin:7px 0 0;min-height:44px;font-size:14px}
.cop-workout-options{margin:4px 0 0}
.cop-workout-options summary{padding:9px 5px;color:#b6c4d9;font-size:12px;min-height:37px}
.cop-workout-options p{font-size:12px;margin:3px 4px;line-height:1.3}
.cop-discard{background:transparent;color:#ffbdb2;font-size:13px;padding:7px 5px;min-height:44px;text-decoration:underline}
@media(min-width:480px){.cop-session-identity{grid-template-columns:minmax(0,1fr) 86px}.cop-ring{width:82px}.cop-workout-row{min-height:61px}.cop-session-meta,.cop-progress-text,.cop-workout-title>span{font-size:13px}}
@media(max-width:350px){.cop-session-identity{grid-template-columns:minmax(0,1fr) 63px}.cop-ring{width:60px}.cop-progress-text{font-size:10px}.cop-session-meta{column-gap:7px}}
.cop-comfort{background:#1b3037;border:1px solid #416963;border-radius:14px;margin:12px 0;padding:10px 12px;color:#ebe5db}
.cop-comfort-head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#eddbbd}
.cop-comfort p,.cop-comfort li,.cop-comfort a{font-size:13px;line-height:1.43}
.cop-comfort p{margin:3px 0;color:#e3dcd2}
.cop-comfort details{margin:4px 0 0;font-size:13px}
.cop-comfort details ul{padding-left:18px;margin:6px 0}
.cop-comfort li+li{margin-top:4px}
.cop-comfort-edit{background:none;color:#eddbbd;text-decoration:underline;font-size:12px;padding:2px 0;min-height:44px}
.cop-comfort-links{display:flex;gap:12px;flex-wrap:wrap}
.cop-checkin-hint,.cop-retained{font-size:12px;margin:6px 0;color:#b9c9dd}
