/* Scoped last: legacy themes cannot recolor the shared training surface. */
#ba746Workout.ba746-overlay,#ba746Workout .ba746-child{--workout-accent:#b6f53b;box-sizing:border-box;color:#f3f3f3;font-family:inherit;color-scheme:dark}
#ba746Workout.ba746-overlay[data-mode=free],#ba746Workout .ba746-child[data-mode=free]{--workout-accent:#f49a46}
#ba746Workout.ba746-overlay{position:fixed;inset:0;z-index:2147483100;background:#000d;display:grid;place-items:center;padding:12px;isolation:isolate}
#ba746Workout.ba746-overlay *{box-sizing:border-box;min-width:0}
#ba746Workout.ba746-overlay .ba746-session{display:flex;flex-direction:column;width:min(100%,700px);height:min(900px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);background:#080808;border:1px solid #343434;border-radius:18px;overflow:hidden;margin:0;padding:0;text-align:center}
#ba746Workout.ba746-overlay button,#ba746Workout.ba746-overlay input,#ba746Workout.ba746-overlay select{font:inherit;box-shadow:none!important;outline-offset:3px}
#ba746Workout.ba746-overlay button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;line-height:1.2;border:1px solid #393939!important;border-radius:10px!important;background:#191919!important;color:#f1f1f1!important;padding:9px 12px;margin:0;cursor:pointer;white-space:normal;max-width:100%;transform:none}
#ba746Workout.ba746-overlay button:disabled{opacity:.4;cursor:default}
#ba746Workout.ba746-overlay button:focus-visible,#ba746Workout.ba746-overlay input:focus-visible,#ba746Workout.ba746-overlay select:focus-visible{outline:2px solid var(--workout-accent)}
#ba746Workout.ba746-overlay .ba746-header{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #262626;background:#0b0b0b}
.ba746-header>div{flex:1}#ba746Workout.ba746-overlay h2,#ba746Workout.ba746-overlay h3,#ba746Workout.ba746-overlay h4{color:#f5f5f5!important;text-align:center!important;overflow-wrap:anywhere;line-height:1.3}
#ba746Workout.ba746-overlay .ba746-header h2{font-size:17px;line-height:1.3;margin:4px 0 0}.ba746-header small{font-size:10px;letter-spacing:.12em;color:var(--workout-accent)}
#ba746Workout.ba746-overlay .ba746-header>button{width:42px;font-size:24px;flex-shrink:0}
#ba746Workout.ba746-overlay .ba746-timers{display:grid;grid-template-columns:1fr 1.15fr 42px 42px;gap:6px;padding:10px 12px 6px;flex-shrink:0}
.ba746-timers>div,#ba746Workout.ba746-overlay .ba746-timers>button:nth-child(2){display:flex;flex-direction:column;justify-content:center;border:1px solid #303030!important;background:#111!important;border-radius:10px;padding:7px 5px;gap:4px}
.ba746-timers span{font-size:11px;color:#b9b9b9}.ba746-timers strong{font-size:18px;letter-spacing:.04em;font-variant-numeric:tabular-nums;color:#fff!important}.ba746-timers b{color:var(--workout-accent)}
.ba746-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 14px 7px;font-size:12px;color:#bbb}.ba746-summary label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0}
#ba746Workout.ba746-overlay input[type=checkbox]{width:22px!important;height:22px!important;min-height:0;margin:0;accent-color:var(--workout-accent);cursor:pointer}
.ba746-progress{height:3px;background:#292929;flex-shrink:0}.ba746-progress span{display:block;height:100%;background:var(--workout-accent)}
.ba746-scroll{overflow:auto;overscroll-behavior:contain;touch-action:pan-y;min-height:0;padding:12px;flex:1;-webkit-overflow-scrolling:touch}
.ba746-card{position:relative;margin:0 0 10px;padding:12px;background:#121212!important;border:1px solid #303030;border-radius:13px;text-align:center}.ba746-card h3{font-size:18px;margin:8px 0 12px}.ba746-card h4{margin:0 0 10px;font-size:16px}
.ba746-card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#a6a6a6;font-size:10px}.ba746-lock{color:#a6a6a6}.ba746-edit-actions{display:flex;gap:5px}#ba746Workout.ba746-overlay .ba746-edit-actions button{width:36px;min-height:36px;padding:5px}
#ba746Workout.ba746-overlay .ba746-choose{width:100%;font-size:17px;margin:8px 0 10px;justify-content:space-between;padding:12px}.ba746-choose span{color:var(--workout-accent)}
#ba746Workout.ba746-overlay .ba-free-media,#ba746Workout.ba746-overlay .mw-media-row,.ba746-media{display:flex!important;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:0!important;margin:8px 0 12px!important;background:transparent!important;border:0!important}
#ba746Workout.ba746-overlay .mw-media-row img,.ba746-media img{width:76px!important;height:76px!important;object-fit:cover;border-radius:10px;border:1px solid #303030;background:#181818}.ba746-no-media{font-size:11px;color:#aaa}#ba746Workout.ba746-overlay .mw-media-row button{font-size:12px;color:#eee!important}
.ba746-goal{display:flex;flex-direction:column;gap:5px;border:1px solid #343434;border-left:2px solid var(--workout-accent);background:#171717;padding:9px;border-radius:9px;margin:10px 0}.ba746-goal span{font-size:9px;letter-spacing:.1em;color:var(--workout-accent)}.ba746-goal strong{font-size:13px;color:#eee}.ba746-goal small{font-size:11px;color:#b0b0b0}
.ba746-set-head,.ba746-set{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;align-items:center}#ba746Workout.ba746-overlay[data-mode=free] .ba746-set-head,#ba746Workout.ba746-overlay[data-mode=free] .ba746-set{grid-template-columns:28px minmax(0,1fr) 27px 32px;gap:6px}
.ba746-set-head{font-size:10px;text-transform:uppercase;color:#aaa;padding:6px 0}.ba746-set{padding:8px 0;border-top:1px solid #2c2c2c}.ba746-set-number{color:#aaa;font-size:13px}.ba746-set.is-done .ba746-set-number{color:var(--workout-accent)}
.ba746-inputs{display:flex;flex-wrap:wrap;gap:6px}.ba746-inputs>label{flex:1;display:flex;flex-direction:column;gap:4px;min-width:55px;margin:0}.ba746-inputs label span{font-size:10px;color:#bbb}
#ba746Workout.ba746-overlay input[type=number],#ba746Workout.ba746-overlay input[type=text],#ba746Workout.ba746-overlay input:not([type]),#ba746Workout.ba746-overlay select{width:100%!important;background:#090909!important;border:1px solid #424242!important;border-radius:8px!important;color:#fff!important;text-align:center!important;padding:10px 6px;min-height:44px;font-size:16px!important;margin:0}
#ba746Workout.ba746-overlay input[aria-invalid=true]{border-color:#ff7919!important}.ba746-row-goal{width:100%;font-size:10px;color:#aaa}#ba746Workout.ba746-overlay .ba746-set button{padding:5px;min-height:36px;width:32px}
.ba746-title{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#bdbdbd;margin-bottom:12px}.ba746-settings{display:grid;grid-template-columns:1fr 95px;gap:8px;margin:10px 0}.ba746-settings label{font-size:11px;color:#bbb;display:flex;flex-direction:column;gap:6px}#ba746Workout.ba746-overlay .ba746-settings select{font-size:12px!important;padding:8px 5px}
.ba746-card-actions{display:flex;gap:7px;margin-top:10px}#ba746Workout.ba746-overlay .ba746-card-actions button{flex:1;font-size:12px}#ba746Workout.ba746-overlay .ba746-add{width:100%;border-style:dashed!important;color:var(--workout-accent)!important}.ba746-share{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0;font-size:12px;color:#bbb}
.ba746-group{color:var(--workout-accent);font-size:12px;padding:7px;margin:0 0 10px}
.ba746-footer{padding:9px 12px max(9px,env(safe-area-inset-bottom));border-top:1px solid #292929;background:#0b0b0b;flex-shrink:0}.ba746-footer>div{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}.ba746-footer>div span{font-size:12px;color:#aaa}#ba746Workout.ba746-overlay .ba746-footer>button{width:100%;margin-top:8px;border-color:var(--workout-accent)!important;color:var(--workout-accent)!important;background:#171717!important}
.ba746-footer [data-status]:empty{display:none}.ba746-footer [data-status]{font-size:12px;margin:7px 0 0;color:#ddd}
#ba746Workout .ba746-child{position:absolute;inset:0;background:#000c;z-index:2;display:grid;place-items:center;padding:14px}#ba746Workout .ba746-child>section{width:min(100%,600px);max-height:calc(100dvh - 52px);display:flex;flex-direction:column;background:#0b0b0b;border:1px solid #454545;border-radius:15px;padding:12px;overflow:hidden}#ba746Workout .ba746-child header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}#ba746Workout .ba746-child h3{font-size:17px;margin:0}#ba746Workout .ba746-child header button{width:42px;font-size:23px}#ba746Workout .ba746-child-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;margin:12px 0}#ba746Workout .ba746-child-scroll p{font-size:13px;color:#ccc}#ba746Workout .ba746-child footer{display:flex;gap:8px;flex-wrap:wrap}#ba746Workout .ba746-child footer button{flex:1;min-width:100px}#ba746Workout .ba746-child [data-save],#ba746Workout .ba746-child [data-pause]{color:var(--workout-accent)!important;border-color:var(--workout-accent)!important}#ba746Workout .ba746-child [data-child-status]{font-size:13px;color:#ddd;margin:8px 0 0}#ba746Workout .ba746-child [data-child-status]:empty{display:none}
body.ba746-training .ba-v258-overlay{z-index:2147483200!important}body.ba746-training .ba-v258-panel{background:#101010!important;color:#eee!important;max-height:90dvh;overflow:auto;overscroll-behavior:contain}body.ba746-training #mwDemoDialog{z-index:2147483300}
@media(max-width:600px){#ba746Workout.ba746-overlay{padding:0}#ba746Workout.ba746-overlay .ba746-session{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.ba746-scroll{padding:9px}#ba746Workout.ba746-overlay .ba746-header{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:9px}#ba746Workout.ba746-overlay .ba746-timers{padding:8px 9px 5px;grid-template-columns:1fr 1.1fr 36px 36px;gap:5px}#ba746Workout.ba746-overlay .ba746-timers button{padding:6px 3px}#ba746Workout.ba746-overlay .ba746-header h2{font-size:16px}.ba746-card{padding:10px}.ba746-footer{padding-left:9px;padding-right:9px}#ba746Workout .ba746-child{padding:10px}.ba746-settings{grid-template-columns:1fr 80px}}
@media(prefers-reduced-motion:reduce){#ba746Workout.ba746-overlay *{scroll-behavior:auto!important;transition:none!important}}

/* High-specificity boundary against historical global [role=dialog] and header rules. */
html body #ba746Workout{margin:0!important;max-width:none!important;max-height:none!important;transform:none!important;inset:0!important;width:100vw!important;height:100dvh!important;overflow:hidden!important}
html body #ba746Workout .ba746-session{position:relative!important;transform:none!important;margin:0!important;width:min(100%,700px)!important;max-width:100%!important;height:min(900px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;padding:0!important;border-radius:18px!important}
html body #ba746Workout .ba746-header{position:static!important;background:#0b0b0b!important;background-image:none!important;color:#eee!important;box-shadow:none!important;min-height:0!important;padding:12px 14px!important;margin:0!important;border-radius:0!important;flex-direction:row!important}
html body #ba746Workout .ba746-header>div{flex:1 1 auto!important;width:auto!important;max-width:none!important;text-align:center!important}
html body #ba746Workout .ba746-header h2{font-size:17px!important;width:auto!important;max-width:none!important;margin:4px 0 0!important;line-height:1.3!important;padding:0!important}
html body #ba746Workout button{color:#f1f1f1!important;text-shadow:none!important;background-image:none!important;box-shadow:none!important}
html body #ba746Workout label,html body #ba746Workout .ba746-summary{color:#bdbdbd!important;font-weight:400!important}
html body #ba746Workout .ba746-footer>button,html body #ba746Workout .ba746-add,html body #ba746Workout [data-save],html body #ba746Workout [data-pause]{color:var(--workout-accent)!important}
html body #ba746Workout .ba746-prior{font-size:12px!important;margin:7px 0!important;min-height:36px!important;background:#171717!important}
html body #ba746Workout .ba746-previous{font-size:10px;color:#aaa;font-weight:400}
html body #ba746Workout .ba746-child>section{width:min(100%,600px)!important;max-width:100%!important;max-height:calc(100dvh - 52px)!important;transform:none!important;margin:0!important;background:#0b0b0b!important}
html body #ba746Workout .ba746-child header{background:#0b0b0b!important;background-image:none!important;position:static!important;padding:0!important;min-height:0!important}
@media(max-width:600px){html body #ba746Workout .ba746-session{height:100dvh!important;max-height:100dvh!important;width:100%!important;border-radius:0!important}html body #ba746Workout .ba746-header{padding:10px 12px!important;padding-top:max(10px,env(safe-area-inset-top))!important}}
html body #ba746Workout .ba746-header small{color:var(--workout-accent)!important}
html body #ba746Workout input:focus,html body #ba746Workout select:focus,html body #ba746Workout button:focus-visible{outline:2px solid var(--workout-accent)!important;outline-offset:2px!important;box-shadow:none!important}
body.ui-coach-path #ba746Workout.ba746-overlay[data-mode=program],body.ui-coach-path #ba746Workout .ba746-child[data-mode=program]{--workout-accent:#ff952f}

/* V799 — titre/variante et préparation compacte. */
#ba746Workout .ba799-exercise-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 14px;min-width:0}
#ba746Workout .ba799-exercise-title h3{flex:1;min-width:0;margin:0;overflow-wrap:anywhere;text-align:left}
#ba746Workout .ba799-variant-toggle{flex:0 0 auto;min-height:36px;padding:7px 10px;font-size:12px;border:1px solid #81a930;color:#b6f52e;border-radius:10px;white-space:nowrap}
#ba746Workout .ba799-variant-panel[hidden]{display:none!important}
#ba746Workout .ba799-variant-panel .ba777-variant>summary{display:none}
#ba746Workout .ba799-preparation{padding:0;margin:10px 0;border-left:2px solid #ff7b24;text-align:left}
#ba746Workout .ba799-preparation>summary{padding:10px 12px;min-height:40px;cursor:pointer;font-size:13px;font-weight:600;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px}
#ba746Workout .ba799-preparation>summary::-webkit-details-marker{display:none}
#ba746Workout .ba799-preparation>summary::after{content:'⌄';flex:none}
#ba746Workout .ba799-preparation[open]>summary::after{content:'⌃'}
#ba746Workout .ba799-preparation>div{padding:0 12px 12px;font-size:13px;line-height:1.6}
#ba746Workout .ba799-preparation p{margin:8px 0}
#ba746Workout .ba746-goal{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 12px;padding:9px 12px;margin:10px 0;min-height:0;text-align:left}
#ba746Workout .ba746-goal>span{font-size:10px;letter-spacing:.08em;margin:0}
#ba746Workout .ba746-goal>strong{font-size:15px;text-align:right;margin:0}
#ba746Workout .ba746-goal>small{grid-column:1/-1;display:block;font-size:11px;margin:0;line-height:1.4}

/* V801: repetitions remain geometrically centered. */
#ba746Workout .ba746-goal{grid-template-columns:1fr 1fr 1fr;gap:4px 8px}
#ba746Workout .ba746-goal>span{grid-column:1;grid-row:1;text-align:left}
#ba746Workout .ba746-goal>strong{grid-column:2;grid-row:1;justify-self:center;text-align:center;white-space:nowrap}
#ba746Workout .ba746-goal>small{grid-column:1/-1;text-align:center}
#ba746Workout .ba801-speaker{display:block;width:22px;height:22px;flex:none}

/* Incomplete recap uses the existing draft action; complete recaps keep two actions. */
html body #ba746Workout .ba746-child-scroll .ba987-partial{color:#ff7919!important;font-weight:700}

/* Direct series controls in both training modes, with a second row on phones. */
html body #ba746Workout.ba746-overlay .ba746-set,html body #ba746Workout.ba746-overlay .ba746-set-head{grid-template-columns:28px minmax(0,1fr) 28px 116px;gap:6px}
#ba746Workout .ba988-series-actions{display:flex;gap:4px;justify-content:flex-end}
html body #ba746Workout .ba988-series-actions button{display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:40px;padding:4px}
@media(max-width:600px){html body #ba746Workout.ba746-overlay .ba746-set,html body #ba746Workout.ba746-overlay .ba746-set-head{grid-template-columns:24px minmax(0,1fr) 28px}#ba746Workout .ba988-series-actions{grid-column:2 / -1}#ba746Workout .ba746-set-head>span:last-child{display:none}}

/* Explicit geometry avoids zero-size/lazy poster frames in the training scroller. */
html body #ba746Workout .ba991-exercise-player{display:block!important;position:relative!important;width:160px!important;height:100px!important;min-width:160px!important;min-height:100px!important;overflow:hidden!important;border-radius:10px;background:#171a1c}
html body #ba746Workout .ba991-exercise-player>img{display:block!important;visibility:visible!important;width:160px!important;height:100px!important;min-width:160px!important;object-fit:contain!important;opacity:1!important}
html body #ba746Workout .ba991-exercise-player>button{display:grid!important;place-items:center!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body #ba746Workout .ba991-exercise-player>button>svg{width:40px!important;height:40px!important;pointer-events:none}

.ba994-exercise-name{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:12px 0}.ba994-exercise-name label{display:grid;gap:7px;text-align:left;color:#aeb4b9}.ba994-exercise-name input{width:100%;min-width:0;box-sizing:border-box;text-align:left}.ba994-exercise-name input::placeholder{color:#737b82;opacity:1}.ba994-exercise-name .ba746-choose{width:auto;margin:0;height:54px;color:#ff7919}.ba994-exercise-name>small{grid-column:1/-1;text-align:left;color:#aeb4b9;font-size:12px}@media(max-width:540px){.ba994-exercise-name{grid-template-columns:1fr}.ba994-exercise-name .ba746-choose{justify-self:start;height:44px;padding:8px 16px}}

#ba746Workout.ba746-overlay .ba994-exercise-name input[type=text]{text-align:left!important;padding-left:12px!important}#ba746Workout.ba746-overlay .ba994-exercise-name>.ba746-choose{width:auto;margin:0;min-height:44px;height:44px;font-size:15px;color:#ff7919}

/* V996: automatic rest belongs to its timer, never to the progress row. */
#ba746Workout.ba746-overlay .ba996-rest-group{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}
#ba746Workout.ba746-overlay .ba996-rest-group>[data-action=rest]{display:flex;flex-direction:column;gap:4px;border:0!important;background:transparent!important;padding:0;flex:1}
#ba746Workout.ba746-overlay .ba996-auto{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;margin:0;min-height:44px;cursor:pointer}
@media(max-width:600px){
 html body #ba746Workout.ba746-overlay .ba746-header{padding:3px 10px!important;padding-top:max(3px,env(safe-area-inset-top))!important;gap:6px!important;min-height:40px!important}
 html body #ba746Workout .ba746-header>div{display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;column-gap:8px;row-gap:0;text-align:left!important}
 html body #ba746Workout .ba746-header small{font-size:8px!important;letter-spacing:.06em!important;white-space:nowrap}
 html body #ba746Workout .ba746-header h2{font-size:14px!important;line-height:1.2!important;margin:0!important;text-align:left!important;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 html body #ba746Workout.ba746-overlay .ba746-header>[data-action=exit]{width:36px!important;height:36px!important;min-height:36px!important;border:0!important;background:transparent!important;padding:4px!important;font-size:23px!important}
 html body #ba746Workout.ba746-overlay .ba746-timers{grid-template-columns:minmax(65px,1fr) minmax(126px,1.6fr) 32px 32px!important;gap:4px!important;padding:1px 9px 0!important;align-items:center}
 html body #ba746Workout.ba746-overlay .ba746-timers>div,html body #ba746Workout.ba746-overlay .ba746-timers>button,html body #ba746Workout.ba746-overlay .ba996-rest-group>[data-action=rest]{border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-height:44px!important}
 html body #ba746Workout .ba746-timers>div:first-child{gap:1px!important}
 html body #ba746Workout .ba746-timers span{font-size:9px!important;line-height:1.1}
 html body #ba746Workout .ba746-timers strong{font-size:16px!important;line-height:1.2;letter-spacing:0!important}
 html body #ba746Workout .ba746-timers span>svg{width:11px;height:11px;vertical-align:middle}
 html body #ba746Workout .ba996-rest-group{gap:4px!important}
 html body #ba746Workout .ba996-rest-group>[data-action=rest]{gap:1px!important}
 html body #ba746Workout .ba996-auto{flex:0 0 34px;gap:2px!important;min-height:44px}
 html body #ba746Workout.ba746-overlay .ba996-auto input[type=checkbox]{width:16px!important;height:16px!important}
 html body #ba746Workout .ba746-timers [data-action=sound] svg{width:18px!important;height:18px!important}
 html body #ba746Workout .ba746-timers [data-action=reset]{font-size:20px!important}
 html body #ba746Workout .ba746-summary{padding:0 10px 3px!important;font-size:10px!important;line-height:1.1;min-height:14px}
}

/* V997: shared compact training layout, with readable inputs and touch targets. */
html body #ba746Workout.ba746-overlay{--accent:#b6f53b}
html body #ba746Workout.ba746-overlay[data-mode=free]{--accent:#ff7919}
html body #ba746Workout.ba746-overlay .ba746-session{max-height:100dvh!important}
html body #ba746Workout.ba746-overlay .ba746-header{padding:7px 12px!important;gap:8px!important;min-height:44px!important}
html body #ba746Workout .ba746-header>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:1px!important;min-width:0;flex:1}
html body #ba746Workout .ba746-header small{font-size:9px!important;letter-spacing:.09em!important;color:var(--accent)!important;order:2}
html body #ba746Workout .ba746-header h2,html body #ba746Workout.ba746-overlay input.ba997-title{color:#f5f5f5!important;font-size:18px!important;font-weight:650!important;line-height:1.25!important;margin:0!important;text-align:left!important}
html body #ba746Workout[data-mode=free] .ba746-header h2{display:none!important}
html body #ba746Workout.ba746-overlay input.ba997-title{background:transparent!important;border:0!important;border-radius:0!important;min-height:30px!important;padding:0!important;width:100%!important;box-shadow:none!important}
html body #ba746Workout.ba746-overlay input.ba997-title:focus{outline:1px solid var(--accent)!important;outline-offset:2px}
html body #ba746Workout.ba746-overlay .ba746-header>[data-action=exit]{width:44px!important;height:44px!important;min-height:44px!important;border:0!important;background:transparent!important;padding:4px!important;font-size:26px!important}
html body #ba746Workout.ba746-overlay .ba746-timers{display:grid!important;grid-template-columns:minmax(66px,1fr) minmax(137px,1.65fr) 38px 38px!important;gap:2px!important;padding:1px 10px!important;align-items:center}
html body #ba746Workout.ba746-overlay .ba746-timers>div,html body #ba746Workout.ba746-overlay .ba746-timers>button,html body #ba746Workout.ba746-overlay .ba996-rest-group>[data-action=rest]{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-height:44px!important}
html body #ba746Workout .ba746-timers strong{font-size:18px!important;letter-spacing:0!important;line-height:1.15!important}
html body #ba746Workout .ba746-timers span{font-size:10px!important}
html body #ba746Workout .ba996-auto{flex:0 0 34px;gap:2px!important}
html body #ba746Workout.ba746-overlay .ba996-auto input[type=checkbox]{width:17px!important;height:17px!important}
html body #ba746Workout .ba746-timers [data-action=sound] svg{width:20px!important;height:20px!important}
html body #ba746Workout .ba746-summary{padding:0 12px 3px!important;min-height:12px!important;font-size:10px!important}
html body #ba746Workout .ba746-progress{height:3px!important;min-height:3px!important;margin:0!important}
html body #ba746Workout .ba746-scroll{padding:10px!important;scroll-padding-bottom:16px}
html body #ba746Workout .ba746-scroll>.ba746-card{padding:10px!important;margin:0 0 8px!important;border:1px solid #303438!important;border-left:1px solid #303438!important;border-radius:12px!important;background:#111314!important}
html body #ba746Workout .ba746-card-heading{margin:0 0 5px!important;min-height:32px!important;display:flex!important;justify-content:space-between!important;align-items:center!important}
html body #ba746Workout .ba746-card-heading small{font-size:10px!important;color:#a7adb2!important}
html body #ba746Workout.ba746-overlay .ba746-edit-actions button{width:34px!important;min-height:34px!important;height:34px!important;padding:3px!important;border:0!important;background:transparent!important;font-size:17px!important}
html body #ba746Workout .ba994-exercise-name{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:4px!important;align-items:center!important;margin:0 0 8px!important;flex:1;min-width:0}
html body #ba746Workout .ba994-exercise-name label{font-size:0!important;gap:0!important}
html body #ba746Workout.ba746-overlay .ba994-exercise-name input[type=text]{font-size:18px!important;font-weight:600!important;min-height:44px!important;padding:5px 7px!important;background:#0c0d0e!important}
html body #ba746Workout.ba746-overlay .ba994-exercise-name>.ba746-choose{min-width:42px!important;width:42px!important;min-height:44px!important;padding:4px!important;border:0!important;background:transparent!important;color:var(--accent)!important;justify-self:end}
html body #ba746Workout .ba994-exercise-name>small{display:none!important}
html body #ba746Workout .ba994-exercise-name:has(input:placeholder-shown)>small{display:block!important;font-size:11px!important;line-height:1.35!important}
html body #ba746Workout .ba997-exercise-line{display:flex;align-items:center;gap:8px}
html body #ba746Workout .ba799-exercise-title{flex:1;min-width:0;margin:3px 0 8px!important}
html body #ba746Workout .ba799-exercise-title h3{font-size:18px!important;text-align:left!important;line-height:1.25!important;margin:0!important;color:#f5f5f5!important}
html body #ba746Workout .ba997-exercise-line>.ba746-media{flex:0 0 70px!important;margin:0 0 6px!important}
html body #ba746Workout .ba997-exercise-line .ba991-exercise-player,html body #ba746Workout .ba997-exercise-line .ba991-exercise-player>img{width:70px!important;height:52px!important;min-width:70px!important;min-height:52px!important}
html body #ba746Workout .ba997-exercise-line .ba991-exercise-player>button>svg{width:25px!important;height:25px!important}
html body #ba746Workout .ba746-settings{display:grid!important;grid-template-columns:minmax(0,1fr) 105px!important;gap:8px!important;margin:0 0 6px!important}
html body #ba746Workout .ba746-settings label{font-size:10px!important;text-align:left!important;gap:2px!important}
html body #ba746Workout.ba746-overlay .ba746-settings select{min-height:38px!important;padding:6px!important;font-size:12px!important;text-align:left!important}
html body #ba746Workout .ba746-goal{margin:3px 0 6px!important;padding:6px!important;font-size:12px!important;gap:3px!important}
html body #ba746Workout .ba746-goal strong{font-size:13px!important}
html body #ba746Workout.ba746-overlay .ba746-prior{display:block!important;min-height:34px!important;padding:3px 0!important;margin:0 0 4px!important;border:0!important;background:transparent!important;text-decoration:underline!important;text-underline-offset:3px;font-size:12px!important;width:auto!important}
html body #ba746Workout .ba997-series-list{max-height:292px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
html body #ba746Workout .ba746-set-head,html body #ba746Workout .ba746-set{display:grid!important;grid-template-columns:28px minmax(0,1fr) 40px!important;gap:7px!important;align-items:center!important}
html body #ba746Workout .ba746-set-head{font-size:10px!important;padding:6px 0!important;text-align:center!important;min-height:20px!important}
html body #ba746Workout .ba997-unit-head{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px}
html body #ba746Workout .ba746-set{padding:5px 0!important;margin:0!important;border-bottom:1px solid #262a2d!important;min-height:46px!important}
html body #ba746Workout .ba746-inputs{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
html body #ba746Workout .ba746-inputs:has(>label:only-child){grid-template-columns:minmax(0,1fr)!important}
html body #ba746Workout .ba746-inputs>label>span{display:none!important}
html body #ba746Workout .ba746-inputs label{min-width:0!important;gap:2px!important}
html body #ba746Workout.ba746-overlay .ba746-inputs input{height:42px!important;min-height:42px!important;padding:6px!important;font-size:18px!important;border-radius:7px!important}
html body #ba746Workout.ba746-overlay .ba746-set>input[type=checkbox]{width:27px!important;height:27px!important;justify-self:center!important;accent-color:var(--accent)!important}
html body #ba746Workout .ba746-set-number{font-size:13px!important;text-align:center!important}
html body #ba746Workout .ba997-current .ba746-set-number{color:var(--accent)!important;border-left:2px solid var(--accent);padding:8px 0}
html body #ba746Workout .ba988-series-actions{display:none!important;grid-column:2/4!important;justify-content:flex-end!important;gap:2px!important;margin:0!important}
html body #ba746Workout .ba997-current>.ba988-series-actions{display:flex!important}
html body #ba746Workout.ba746-overlay .ba988-series-actions button{width:34px!important;height:30px!important;min-height:30px!important;padding:3px!important;border:0!important;background:transparent!important}
html body #ba746Workout .ba746-row-goal{grid-column:1/-1;font-size:10px!important;margin:0!important}
html body #ba746Workout .ba746-card-actions{display:flex!important;gap:8px!important;margin:6px 0 0!important}
html body #ba746Workout.ba746-overlay .ba746-card-actions button{flex:1;min-height:38px!important;padding:5px!important;font-size:12px!important}
html body #ba746Workout.ba746-overlay .ba746-add{min-height:38px!important;margin:0!important;padding:6px!important;font-size:13px!important;border:0!important;background:transparent!important;color:var(--accent)!important}
html body #ba746Workout .ba746-footer{padding:4px 10px max(5px,env(safe-area-inset-bottom))!important;background:#0b0c0d!important}
html body #ba746Workout .ba746-footer>div{display:grid!important;grid-template-columns:1fr auto 1fr!important;gap:8px!important;align-items:center!important}
html body #ba746Workout.ba746-overlay .ba746-footer>div>button{min-height:40px!important;padding:5px!important;font-size:13px!important}
html body #ba746Workout .ba746-footer [data-position]{font-size:11px!important}
html body #ba746Workout.ba746-overlay .ba746-footer>[data-action=recap]{min-height:32px!important;height:auto!important;margin:2px 0 0!important;padding:4px!important;border:0!important;background:transparent!important;color:#bec3c7!important;font-size:12px!important;text-decoration:underline!important}
html body #ba746Workout .ba746-footer>[data-status]:empty{display:none!important}
@media(max-height:700px){html body #ba746Workout .ba997-series-list{max-height:220px}html body #ba746Workout .ba746-scroll{padding:6px!important}}
html body #ba746Workout .ba746-card[data-metrics="1"] .ba746-inputs{grid-template-columns:minmax(0,1fr)!important}

/* V998: feedback overlays below volume without changing timer-strip height. */
html body #ba746Workout .ba746-timers{position:relative}
html body #ba746Workout .ba746-timers>.ba998-sound-notice{position:absolute!important;right:6px!important;top:100%!important;z-index:5;font-size:10px!important;line-height:1.3!important;color:#e6e8ea!important;background:#181b1e;border:1px solid #363b40;border-radius:5px;padding:3px 5px;pointer-events:none;white-space:nowrap;max-width:calc(100% - 12px)}
html body #ba746Workout .ba998-sound-notice[hidden]{display:none!important}

/* V999: visible finish action; closing the workout explicitly abandons it. */
html body #ba746Workout.ba746-overlay .ba746-footer>[data-action=recap]{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;min-height:44px!important;margin:6px 0 0!important;padding:9px 12px!important;border:1.5px solid var(--accent)!important;border-radius:9px!important;background:color-mix(in srgb,var(--accent) 10%,#111314)!important;color:var(--accent)!important;font-size:14px!important;font-weight:650!important;text-decoration:none!important}
html body #ba746Workout.ba746-overlay .ba746-footer>[data-action=recap]::before{content:'✓';font-size:17px;line-height:1}
html body #ba746Workout.ba746-overlay .ba746-footer>[data-action=recap]:focus-visible{outline:2px solid white!important;outline-offset:2px}
html body #ba746Workout .ba746-child:has([data-discard]) footer{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
html body #ba746Workout.ba746-overlay .ba746-child [data-discard]{color:#ffb1ab!important;border-color:#a34d49!important;background:#29191a!important}
@media(max-width:420px){html body #ba746Workout .ba746-child:has([data-discard]) footer{grid-template-columns:1fr!important}}

/* V1000: three readable exit choices when a named exercise has entered data. */
html body #ba746Workout .ba746-child:has([data-discard]):has([data-pause]) footer{grid-template-columns:1fr!important}
html body #ba746Workout.ba746-overlay .ba746-child:has([data-discard]) [data-pause]{color:var(--accent)!important;border-color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 8%,#151719)!important}
/* V1089: a silent demonstration replaces the play poster only inside the active workout. */
html body #ba746Workout .ba997-exercise-line>.ba746-media:has(.ba1089-loop){flex-basis:100px!important}
html body #ba746Workout .ba997-exercise-line .ba1089-loop,html body #ba746Workout .ba997-exercise-line .ba1089-loop>img{width:100px!important;height:72px!important;min-width:100px!important;min-height:72px!important}
html body #ba746Workout .ba1089-loop>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#171a1c;pointer-events:none;opacity:0}
html body #ba746Workout .ba1089-loop[data-loop-state="playing"]>video{opacity:1}
html body #ba746Workout .ba1089-loop>.ba1089-expand{display:block!important;color:#fff!important}
html body #ba746Workout .ba1089-loop>.ba1089-expand>svg{position:absolute;right:4px;bottom:4px;width:17px!important;height:17px!important;padding:2px;background:#0009;border-radius:3px}
html body #ba746Workout .ba1089-loop .ba1090-fallback-play{display:none!important}
html body #ba746Workout .ba1089-loop:is([data-loop-state="blocked"],[data-loop-state="error"]) .ba1090-expand-icon{display:none!important}
html body #ba746Workout .ba1089-loop:is([data-loop-state="blocked"],[data-loop-state="error"]) .ba1090-fallback-play{display:block!important;position:absolute;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:40px!important;height:40px!important;padding:0;background:transparent;fill:#ffffffcc;stroke:#ffffffcc}
html body #ba746Workout .ba1089-loop .ba1090-fallback-play circle{fill:#0004;stroke-width:2}
html body #ba746Workout .ba1089-loop>.ba1089-loading{display:none;position:absolute;left:3px;right:3px;bottom:3px;color:#eee;background:#171a1cbb;font-size:10px;pointer-events:none}
html body #ba746Workout .ba1089-loop[data-loop-state="loading"]>.ba1089-loading{display:block}
/* V1091: exercise index/title on the left, a larger clickable video on the right. */
html body #ba746Workout .ba1091-program-line{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(120px,43%);grid-template-rows:auto 1fr;gap:4px 12px;align-items:start;margin-bottom:12px}
html body #ba746Workout .ba1091-program-line>.ba746-card-heading{grid-column:1;grid-row:1;margin:0!important;padding:0!important;min-height:0!important}
html body #ba746Workout .ba1091-program-line>.ba799-exercise-title{grid-column:1;grid-row:2;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;margin:0!important}
html body #ba746Workout .ba1091-program-line>.ba799-exercise-title h3{font-size:17px!important;overflow-wrap:normal;word-break:normal;hyphens:none}
html body #ba746Workout .ba1091-program-line .ba799-variant-toggle{width:auto!important;max-width:100%;min-width:0!important;min-height:28px!important;padding:4px 8px!important;margin:0!important;font-size:11px!important;line-height:1.3;border-radius:8px!important}
html body #ba746Workout .ba1091-program-line>.ba746-media{grid-column:2;grid-row:1 / 3;align-self:stretch;display:block!important;min-width:0;margin:0!important}
html body #ba746Workout .ba1091-program-line>.ba746-media .ba991-exercise-player,html body #ba746Workout .ba1091-program-line>.ba746-media .ba991-exercise-player>img{width:100%!important;min-width:0!important;height:100%!important;min-height:100px!important;max-height:190px;object-fit:contain!important}
html body #ba746Workout .ba1091-program-line .ba991-exercise-player{height:100%!important}
/* V1092: one guided superset, with stable inputs and a single visible exercise. */
html body #ba746Workout .ba1092-superset{margin:0 0 12px;padding:10px;border:1px solid #343a3d;border-left:3px solid var(--workout-accent);border-radius:14px;background:#111314;min-width:0}
html body #ba746Workout .ba1092-head{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;margin-bottom:10px}
html body #ba746Workout .ba1092-head>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
html body #ba746Workout .ba1092-head strong{font-size:15px;color:var(--workout-accent)}
html body #ba746Workout .ba1092-head [data-tour]{font-size:12px;color:#c5c9cc}
html body #ba746Workout .ba1092-menu{position:relative;margin:0;border:0;padding:0;background:none}
html body #ba746Workout .ba1092-menu>summary{display:grid;place-items:center;min-width:40px;min-height:36px;padding:0;border:1px solid #343a3d;border-radius:8px;list-style:none;font-size:24px;color:#eee}
html body #ba746Workout .ba1092-menu>summary::-webkit-details-marker{display:none}
html body #ba746Workout .ba1092-menu>summary::after{display:none!important}
html body #ba746Workout .ba1092-menu>div{position:absolute;top:42px;right:0;width:min(250px,75vw);z-index:20;background:#191c1e;border:1px solid #454b50;border-radius:10px;padding:5px;box-shadow:0 8px 30px #0008}
html body #ba746Workout .ba1092-menu button{display:block;width:100%;min-height:40px!important;padding:8px!important;text-align:left;font-size:12px!important;border:0!important;background:transparent!important}
html body #ba746Workout .ba1092-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 0 6px;border-bottom:1px solid #343a3d;scrollbar-width:thin}
html body #ba746Workout .ba1092-tabs [role=tab]{flex:1 0 100px;display:flex;align-items:center;gap:6px;min-width:0;max-width:220px;min-height:46px;padding:7px!important;border:1px solid #343a3d!important;border-radius:8px!important;background:#181c1e!important;font-size:12px!important;color:#c6cace!important;text-align:left}
html body #ba746Workout .ba1092-tabs [role=tab][aria-selected=true]{border-color:var(--workout-accent)!important;color:#fff!important;background:#202522!important}
html body #ba746Workout .ba1092-tabs b{color:var(--workout-accent);font-size:12px;flex-shrink:0}
html body #ba746Workout .ba1092-tabs span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
html body #ba746Workout .ba1092-tabs small{color:var(--workout-accent);flex-shrink:0}
html body #ba746Workout .ba1092-hint{font-size:11px;line-height:1.4;color:#aeb4b8;margin:6px 0 10px;text-align:left}
html body #ba746Workout .ba1092-exercises>.ba746-card{border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:transparent!important}
html body #ba746Workout .ba1092-exercises>.ba746-card[hidden]{display:none!important}
html body #ba746Workout .ba1092-superset .ba746-edit-actions,html body #ba746Workout .ba1092-superset .ba746-settings,html body #ba746Workout .ba1092-superset .ba746-card-actions,html body #ba746Workout .ba1092-superset .ba988-series-actions{display:none!important}
html body #ba746Workout .ba1092-editing .ba746-card:not([hidden]) .ba746-settings{display:grid!important}
html body #ba746Workout .ba1092-editing .ba746-card:not([hidden]) .ba746-edit-actions{display:flex!important}
html body #ba746Workout .ba1092-editing .ba746-card:not([hidden]) .ba746-edit-actions [data-move]{display:none!important}
html body #ba746Workout .ba1092-editing .ba746-card:not([hidden]) .ba988-series-actions{display:flex!important}
html body #ba746Workout .ba1092-history{margin:6px 0 10px;padding:0!important;background:transparent!important;border:0!important;text-align:left}
html body #ba746Workout .ba1092-history>summary{color:#b5bbc0;font-size:12px;min-height:36px;display:flex;align-items:center;gap:6px;cursor:pointer}
html body #ba746Workout .ba1092-history [data-field]{font-size:16px!important}
html body #ba746Workout .ba1092-superset .ba994-exercise-name{flex-direction:column;align-items:stretch}
html body #ba746Workout .ba1092-superset .ba994-exercise-name input{font-size:16px!important}
html body #ba746Workout .ba1092-head{position:relative;z-index:3;overflow:visible!important}
html body #ba746Workout .ba1092-menu{z-index:4;overflow:visible!important}
html body #ba746Workout .ba1092-menu[open]>div{display:block!important;overflow:visible!important;max-height:none!important}
html body #ba746Workout .ba1092-superset .ba997-exercise-line{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(110px,43%);gap:10px;align-items:start}
html body #ba746Workout .ba1092-superset .ba997-exercise-line>.ba746-media{grid-column:2;min-width:0;display:block!important;align-self:stretch}
html body #ba746Workout .ba1092-superset .ba997-exercise-line .ba991-exercise-player,html body #ba746Workout .ba1092-superset .ba997-exercise-line .ba991-exercise-player>img{width:100%!important;min-width:0!important;height:100%!important;min-height:100px!important;max-height:190px}
html body #ba746Workout .ba1092-free-name{display:block;font-size:17px;line-height:1.25;font-weight:650;text-align:left;color:#f5f5f5;overflow-wrap:normal}
html body #ba746Workout .ba1092-superset:not(.ba1092-editing) .ba994-exercise-name>label{display:none!important}
html body #ba746Workout .ba1092-editing .ba1092-free-name{display:none!important}
/* V1093: recovery belongs to the completed superset tour. */
html body #ba746Workout[data-rest-locked=true] [data-action=rest],html body #ba746Workout[data-rest-locked=true] [data-action=reset]{cursor:default;opacity:.45}
html body #ba746Workout[data-rest-locked=true] [data-clock=rest]{font-size:12px!important;line-height:1.4;white-space:nowrap}
/* V1101: compact live workout, fixed controls below the scrolling exercise list. */
#ba746Workout [hidden]{display:none!important}
#ba746Workout .ba746-session{position:relative}
#ba746Workout .ba746-header{padding:8px 12px!important;min-height:55px}
#ba746Workout .ba746-header h2{font-size:17px!important;text-align:left!important;margin:2px 0!important}
#ba746Workout .ba746-header small{font-size:9px}
#ba746Workout .ba746-header>div{padding-right:20px}
#ba746Workout[data-timed=true] .ba746-timers{display:flex!important;align-items:center;padding:3px 12px!important;gap:8px;min-height:40px}
#ba746Workout[data-timed=true] .ba746-timers>div:first-child{display:flex;flex-direction:row;gap:8px;align-items:center;padding:0!important;border:0!important;background:transparent!important;flex:1;justify-content:flex-start}
#ba746Workout[data-timed=true] .ba746-timers>div:first-child strong{font-size:15px}
#ba746Workout[data-timed=true] .ba996-rest-group,#ba746Workout[data-timed=true] [data-action=reset]{display:none!important}
#ba746Workout[data-timed=true] [data-action=sound]{width:38px;min-height:36px;border:0!important;background:transparent!important}
#ba746Workout[data-timed=true] .ba746-summary{padding:2px 12px 5px;font-size:11px}
#ba746Workout[data-timed=true] .ba746-scroll{padding:0 10px 10px}
#ba746Workout[data-timed=true] .ba746-footer{padding:6px 10px max(6px,env(safe-area-inset-bottom));gap:5px}
#ba746Workout[data-timed=true] .ba746-footer>div{gap:8px}
#ba746Workout[data-timed=true] .ba746-footer>div button{font-size:12px;min-height:36px;padding:6px 10px;color:#b8bec0!important;background:transparent!important;border-color:transparent!important}
#ba746Workout .ba1101-timed-dock{flex-shrink:0;border-top:1px solid #343a3b;padding:8px 12px;background:#101313}
#ba746Workout .ba1101-timed-dock .ba1095-controls{margin:0;gap:8px}
#ba746Workout .ba1101-timed-dock [data-block-validate]{border-color:var(--workout-accent)!important;color:var(--workout-accent)!important;width:100%;min-height:44px}
#ba746Workout .ba1101-timed-dock .ba1095-score{margin:0;display:grid;grid-template-columns:44px 1fr;gap:6px 10px;align-items:center}
#ba746Workout .ba1101-timed-dock [data-rounds]{font-size:18px;text-align:left;font-variant-numeric:tabular-nums}
#ba746Workout .ba1101-timed-dock [data-round-plus]{grid-column:1/-1;min-height:48px;background:var(--workout-accent)!important;color:#101510!important;border:0!important;font-weight:700;font-size:17px}
#ba746Workout .ba1101-timed-dock .ba1095-score label{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:10px;margin:6px 0}
#ba746Workout .ba1101-timed-dock [data-extra]{width:78px;min-height:42px;text-align:center}
#ba746Workout .ba1101-timed-dock [data-timed-status]{font-size:12px;margin:4px 0 0;color:var(--workout-accent)}
#ba746Workout .ba1101-timed-dock [data-timed-status]:empty,#ba746Workout .ba1101-timed-dock .ba1095-controls:empty{display:none}
#ba746Workout .ba1095-workout{padding:0 10px 10px;border:0;border-radius:0;background:#101313;overflow:visible}
#ba746Workout .ba1095-workout>header{position:sticky;top:0;z-index:3;background:#101313;padding:8px 0 4px;text-align:left}
#ba746Workout .ba1095-workout header strong{font-size:14px}
#ba746Workout .ba1095-workout header small{display:none}
#ba746Workout .ba1095-clock{position:sticky;top:46px;z-index:2;background:#101313;display:grid;grid-template-columns:1fr 48px;align-items:center;text-align:center;padding:0 0 8px;column-gap:8px}
#ba746Workout .ba1095-clock>strong{grid-column:1;grid-row:2;font-size:clamp(42px,12vw,64px);line-height:1.1}
#ba746Workout .ba1095-clock>span{grid-column:1;grid-row:1;font-size:12px;color:var(--workout-accent)}
#ba746Workout .ba1095-clock>small{grid-column:1;grid-row:3;font-size:11px;color:#adb5b5}
#ba746Workout .ba1095-clock>[data-block-start]{grid-column:2;grid-row:1/4;font-size:11px;padding:6px 3px;min-height:44px;min-width:48px;color:var(--workout-accent)!important;border-color:var(--workout-accent)!important}
#ba746Workout .ba1095-workout [data-timed-list] article{grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;text-align:left}
#ba746Workout .ba1095-workout [data-timed-list] article>div{grid-column:1}
#ba746Workout .ba1095-workout [data-timed-list] article>b{font-size:14px;line-height:1.35;overflow-wrap:normal;word-break:normal;hyphens:none}
#ba746Workout .ba1095-workout [data-timed-list] article>span{font-size:15px;font-weight:700;max-width:78px;color:var(--workout-accent)}
#ba746Workout .ba1101-amrap-thumb .ba746-media{margin:0!important;padding:0!important;display:block!important}
#ba746Workout .ba1101-amrap-thumb .ba991-exercise-player{width:80px!important;height:62px!important;min-width:0!important;aspect-ratio:auto!important;border-radius:10px}
#ba746Workout .ba1101-amrap-thumb img,#ba746Workout .ba1101-amrap-thumb video{width:100%!important;height:100%!important;object-fit:contain!important}
#ba746Workout .ba1095-workout [data-timed-next]{font-size:12px;margin:8px 0;color:#adb5b5}
#ba746Workout .ba1095-workout [data-timed-objective] h3{font-size:20px;margin:10px 0 5px;word-break:normal;overflow-wrap:normal}
#ba746Workout .ba1095-workout [data-timed-objective] p{margin:0 0 10px;font-size:18px;color:var(--workout-accent)}
#ba746Workout .ba1095-workout [data-timed-media] .ba991-exercise-player{max-height:26dvh}
@media(max-width:350px){#ba746Workout .ba1095-workout [data-timed-list] article{grid-template-columns:64px minmax(0,1fr) auto;gap:7px}#ba746Workout .ba1101-amrap-thumb .ba991-exercise-player{width:64px!important;height:54px!important}#ba746Workout .ba1095-workout [data-timed-list] article>b{font-size:13px}}
#ba746Workout.ba746-overlay [hidden]{display:none!important}
#ba746Workout.ba746-overlay .ba1101-amrap-thumb .ba991-exercise-player{min-height:0!important;height:62px!important}
#ba746Workout.ba746-overlay .ba1101-amrap-thumb .ba746-media{min-height:0!important}
#ba746Workout.ba746-overlay .ba1095-clock>[data-block-start]{font-size:23px}
html body #ba746Workout.ba746-overlay .ba746-footer>[data-action=recap][hidden]{display:none!important}
html body #ba746Workout.ba746-overlay .ba1095-workout [data-timed-media] .ba991-exercise-player{width:min(100%,320px)!important;height:clamp(120px,24dvh,210px)!important;min-height:0!important;max-height:26dvh!important;aspect-ratio:16/10!important;margin:auto!important}
html body #ba746Workout.ba746-overlay .ba1095-workout [data-timed-media] img,html body #ba746Workout.ba746-overlay .ba1095-workout [data-timed-media] video{width:100%!important;height:100%!important;object-fit:contain!important}
html body #ba746Workout .ba1101-next-preview{display:flex;align-items:center;gap:10px;text-align:left;margin:10px 0;padding:8px 0;border-top:1px solid #303637}
html body #ba746Workout .ba1101-next-preview>div:last-child{flex:1}
html body #ba746Workout .ba1101-next-preview small{display:block;color:#aeb6b6;font-size:11px;margin-bottom:3px}
html body #ba746Workout .ba1101-next-preview strong{font-size:13px;line-height:1.3}
html body #ba746Workout .ba1101-next-preview .ba746-media{margin:0!important;min-height:0!important}
html body #ba746Workout .ba1101-next-preview .ba991-exercise-player{width:64px!important;height:48px!important;min-width:0!important;min-height:0!important;aspect-ratio:auto!important}
html body #ba746Workout .ba1101-next-preview img{width:100%!important;height:100%!important;object-fit:contain!important}
html body #ba746Workout.ba746-overlay [hidden]{display:none!important}
/* V1102: exercise browsing and correctly framed thumbnails. */
html body #ba746Workout .ba1102-exercise-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin:10px 0 5px}
html body #ba746Workout .ba1102-exercise-heading h3{margin:0!important;font-size:19px!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none}
html body #ba746Workout .ba1102-exercise-heading button{width:44px;height:44px;padding:0!important;font-size:28px!important;color:var(--workout-accent)!important}
html body #ba746Workout [data-block-live]{font-size:11px!important;min-height:36px;margin:0 auto 8px!important;color:#bec7c7!important;border:0!important;background:transparent!important}
html body #ba746Workout.ba746-overlay .ba1101-next-preview .ba991-exercise-player>img,html body #ba746Workout.ba746-overlay .ba1101-amrap-thumb .ba991-exercise-player>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;transform:none!important}
html body #ba746Workout .ba1101-next-preview .ba991-exercise-player>[data-image-play]{inset:0!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
html body #ba746Workout .ba1101-next-preview .ba991-exercise-player>[data-image-play] svg{width:26px!important;height:26px!important}
html body #ba746Workout .ba1102-result{display:grid;gap:5px;font-size:13px;line-height:1.4;margin:10px 0;text-align:left}
html body #ba746Workout .ba1102-result strong{font-size:17px;color:var(--workout-accent)}
html body #ba746Workout .ba1102-result small{font-size:12px;color:#c1c8c8}
html body #ba746Workout .ba746-child footer:has([data-save]){display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body #ba746Workout .ba746-child footer [data-save],html body #ba746Workout .ba746-child footer [data-review-pending]{grid-column:1/-1;min-height:44px!important}
html body #ba746Workout .ba746-child footer [data-review-pending]{color:var(--workout-accent)!important;border-color:var(--workout-accent)!important}
html body #ba746Workout.ba746-overlay [hidden]{display:none!important}
html body #ba746Workout .ba1101-timed-dock [data-score-edit]{font-size:12px!important;min-height:36px;margin-top:6px!important}
/* V1103: shared blue recovery stopwatch. */
html body #ba746Workout .ba1103-recovery{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;padding:18px 8px;color:#f3f5f7;text-align:center;background:#101416}
html body #ba746Workout .ba1103-recovery h3{font-size:19px!important;margin:8px 0 12px!important}
html body #ba746Workout .ba1103-dial{position:relative;width:clamp(180px,65vw,280px);max-width:100%;aspect-ratio:1/1}
html body #ba746Workout .ba1103-dial svg{width:100%;height:100%;overflow:visible;fill:none;stroke-linecap:round}
html body #ba746Workout .ba1103-track{stroke:#263744;stroke-width:6}
html body #ba746Workout .ba1103-ring{stroke:#3ba7ff;stroke-width:6;stroke-dasharray:100;stroke-dashoffset:100;transform:rotate(-90deg);transform-origin:120px 132px}
html body #ba746Workout .ba1103-crown{stroke:#80c6ff;stroke-width:6}
html body #ba746Workout .ba1103-hand{stroke:#3ba7ff;stroke-width:2;transform-origin:120px 132px;opacity:.65}
html body #ba746Workout .ba1103-pivot{fill:#3ba7ff;stroke:none}
html body #ba746Workout [data-recovery-clock]{position:absolute;left:50%;top:55%;transform:translate(-50%,-50%);font-size:clamp(40px,12vw,62px);font-variant-numeric:tabular-nums;background:#101416;padding:4px 8px;border-radius:8px;line-height:1.15}
html body #ba746Workout .ba1103-upcoming{max-width:350px;font-size:14px;color:#c4d4df;line-height:1.4;margin:14px 0}
html body #ba746Workout .ba1103-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;width:100%;max-width:360px}
html body #ba746Workout .ba1103-actions button{flex:1;min-height:46px;border-color:#3ba7ff!important;color:#a9d8ff!important;font-size:14px}
html body #ba746Workout .ba746-scroll[data-recovering=true]>:not(.ba1103-recovery){display:none!important}
html body #ba746Workout[data-recovering=true] .ba1101-timed-dock,html body #ba746Workout[data-recovering=true] .ba746-footer{display:none!important}
html body #ba746Workout .ba1095-workout[data-round-recovery=true]>:not(header):not([data-round-recovery]){display:none!important}
html body #ba746Workout .ba1095-workout[data-round-recovery=true] [data-round-recovery]{display:block!important}
html body #ba746Workout .ba746-session:has(.ba1095-workout[data-round-recovery=true]) .ba1101-timed-dock{display:none!important}
html body #ba746Workout.ba746-overlay [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html body #ba746Workout .ba1103-hand{display:none}}
html body #ba746Workout[data-recovering=true] .ba746-timers{display:flex!important;align-items:center;padding:3px 12px!important;gap:8px;min-height:40px}
html body #ba746Workout[data-recovering=true] .ba746-timers>div:first-child{display:flex;flex-direction:row;gap:8px;align-items:center;padding:0!important;border:0!important;background:transparent!important;flex:1;justify-content:flex-start}
html body #ba746Workout[data-recovering=true] .ba996-rest-group,html body #ba746Workout[data-recovering=true] [data-action=reset]{display:none!important}
html body #ba746Workout[data-recovering=true] [data-action=sound]{width:38px;min-height:36px;border:0!important;background:transparent!important}
/* V1105: exercise instructions directly below the target. */
html body #ba746Workout .ba1105-coach-notes{margin:8px 0 12px;padding:10px 12px;border-left:2px solid var(--workout-accent);background:#151a1b;text-align:left}
html body #ba746Workout .ba1105-coach-notes>small{display:block;font-size:11px;color:#aeb8be;margin:0 0 4px}
html body #ba746Workout.ba746-overlay .ba1105-coach-notes>p{font-size:14px!important;font-weight:400!important;color:#e2e7ea!important;line-height:1.45!important;white-space:pre-wrap;margin:0!important;overflow-wrap:break-word;word-break:normal}
html body #ba746Workout .ba1095-workout [data-timed-list] article>.ba1105-coach-notes{grid-column:2/-1;grid-row:auto;margin:0 0 4px;padding:8px 10px}

/* AMRAP: one sticky heading/clock; notes expand without losing the circuit. */
html body #ba746Workout .ba1110-amrap-top{position:sticky;top:0;z-index:4;background:#101313;border-bottom:1px solid #343a3b;margin:0 -2px;padding:0 2px 4px}
html body #ba746Workout .ba1110-amrap-top>header{position:static;padding:8px 0 4px;text-align:left}
html body #ba746Workout .ba1110-amrap-top>.ba1095-clock{position:static;padding-bottom:4px}
html body #ba746Workout .ba1110-amrap-top .ba1095-clock>strong{font-size:clamp(40px,11vw,56px)}
html body #ba746Workout .ba1110-notes summary{cursor:pointer;list-style:none;min-height:44px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;font-size:14px;line-height:1.45;color:#e2e7ea}
html body #ba746Workout .ba1110-notes summary::-webkit-details-marker{display:none}
html body #ba746Workout .ba1110-notes summary:focus-visible{outline:2px solid var(--workout-accent);outline-offset:3px}
html body #ba746Workout .ba1110-notes-more,html body #ba746Workout .ba1110-notes-less{font-size:12px;font-weight:600;color:var(--workout-accent)}
html body #ba746Workout .ba1110-notes:not([open]) .ba1110-notes-less,html body #ba746Workout .ba1110-notes[open] .ba1110-notes-more,html body #ba746Workout .ba1110-notes[open] .ba1110-notes-preview{display:none}
html body #ba746Workout.ba746-overlay .ba1110-notes>p{font-size:14px!important;font-weight:400!important;color:#e2e7ea!important;line-height:1.45!important;white-space:pre-wrap;margin:6px 0 0!important;overflow-wrap:break-word;word-break:normal}
html body #ba746Workout .ba1101-timed-dock[data-timed-mode=amrap] [data-round-minus]{min-height:44px;min-width:44px}

/* Tabata: effort, blue recovery and persistent interval progress. */
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] .ba1095-clock{grid-template-rows:auto auto auto auto;padding:12px 0;row-gap:3px}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-phase]{font-size:14px;font-weight:700;letter-spacing:.12em}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-block-clock]{font-size:clamp(52px,15vw,76px);grid-row:2}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-tabata-interval]{grid-column:1;grid-row:3;color:#e2e7ea;font-size:13px}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-total-left]{grid-row:4;margin-top:2px}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-block-start]{grid-row:1/5;min-height:48px}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-timed-objective] h3{font-size:22px;text-align:center;margin:12px 0}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-timed-media] .ba991-exercise-player{max-height:30dvh}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-timed-next]{display:none}
html body #ba746Workout .ba1095-workout[data-tabata-rest=true]>.ba1095-clock{display:none}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] .ba1103-recovery{min-height:0;padding:10px 6px 4px}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] .ba1103-recovery h3{color:#a9d8ff;font-size:16px!important}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] .ba1103-dial{width:clamp(180px,55vw,240px)}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] .ba1103-upcoming:empty{display:none}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] [data-recovery-skip]{display:none}
html body #ba746Workout .ba1095-workout[data-timed-mode=tabata] .ba1103-actions{max-width:180px;margin:10px 0}
html body #ba746Workout .ba1095-workout[data-tabata-rest=true] .ba1101-next-preview{border-color:#365568;margin-top:8px}
html body #ba746Workout .ba1111-interval-progress{padding:3px 0 7px;text-align:center}
html body #ba746Workout .ba1111-interval-progress>[role=progressbar]{display:grid;grid-template-columns:repeat(var(--interval-columns),minmax(0,1fr));gap:4px}
html body #ba746Workout .ba1111-interval-progress span{height:6px;border-radius:3px;background:#30383b;border:1px solid transparent}
html body #ba746Workout .ba1111-interval-progress [data-state=done]{background:var(--workout-accent)}
html body #ba746Workout .ba1111-interval-progress [data-state=current]{border-color:var(--workout-accent);background:#40532b}
html body #ba746Workout .ba1111-interval-progress[data-phase=rest] [data-state=current]{border-color:#80c6ff;background:#2675a8}
html body #ba746Workout .ba1111-interval-progress>small{display:block;margin-top:5px;color:#b8c1c6;font-size:11px}
/* V1115: state clarity, larger series validation and a single recap primary action. */
html body #ba746Workout .ba1095-clock>.ba1115-block-state{grid-column:1/-1;grid-row:5;letter-spacing:normal;font-size:13px;font-weight:600;padding:5px 10px;border-radius:8px;background:#252b2e;color:#f0f4f6}
html body #ba746Workout .ba1095-workout[data-block-state=finished] .ba1115-block-state{color:var(--workout-accent);background:#1c2819}
html body #ba746Workout .ba1095-workout[data-block-state=finished] [data-phase]{visibility:hidden}
html body #ba746Workout .ba1095-workout[data-block-state=finished] [data-total-left]{display:none}
html body #ba746Workout .ba746-session:has(.ba1095-workout[data-block-state=finished]) [data-block-validate]{background:var(--workout-accent)!important;color:#101510!important;font-weight:700;font-size:16px}
html body #ba746Workout .ba1115-round-feedback{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:7px;font-size:13px}
html body #ba746Workout .ba1115-round-feedback button{min-height:44px;padding:7px 16px;color:var(--workout-accent)!important}
html body #ba746Workout .ba746-set-head,html body #ba746Workout .ba746-set{grid-template-columns:28px minmax(0,1fr) 48px!important}
html body #ba746Workout.ba746-overlay .ba746-set>input[type=checkbox]{width:44px!important;height:44px!important;accent-color:var(--workout-accent)!important;cursor:pointer}
html body #ba746Workout .ba746-set.ba997-current{background:#19211c;border-radius:8px;border-left:3px solid var(--workout-accent);padding-left:4px!important}
html body #ba746Workout .ba1115-series-hint{font-size:12px;font-weight:600;color:var(--workout-accent);margin:7px 0}
html body #ba746Workout .ba746-previous{font-size:11px!important;color:#bdc8ce!important;line-height:1.3}
html body #ba746Workout .ba746-footer>div button{white-space:normal;line-height:1.3;overflow-wrap:normal;word-break:normal}
html body #ba746Workout .ba1115-recap-overview{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 0 14px}
html body #ba746Workout .ba1115-recap-overview>strong{font-size:28px;font-variant-numeric:tabular-nums}
html body #ba746Workout .ba1115-recap-overview>span{font-size:12px;color:#b6bec2}
html body #ba746Workout .ba1115-pending-summary{border-left:3px solid #ff7919;padding:10px 12px;background:#211b16;margin-bottom:12px}
html body #ba746Workout .ba1115-pending-summary>strong{color:#ff9c50}
html body #ba746Workout .ba1115-pending-summary p{margin:5px 0}
html body #ba746Workout .ba1115-pending summary,html body #ba746Workout .ba1115-recap-options summary{font-size:13px;min-height:44px;cursor:pointer;align-content:center;color:#bbc5cc}
html body #ba746Workout .ba1115-recap-options [data-pause]{color:#ccd3d7!important;border-color:#475158!important;width:100%}
html body #ba746Workout .ba746-child footer:has([data-save]){display:grid;grid-template-columns:1fr!important;gap:8px}
html body #ba746Workout .ba746-child footer [data-save]{grid-column:1!important;grid-row:1;background:var(--workout-accent)!important;color:#101510!important;font-weight:700;min-height:48px}
html body #ba746Workout .ba746-child footer [data-back]{grid-row:2;border:0!important;background:transparent!important;min-height:40px}
html body #ba746Workout .ba1115-pending-summary [data-review-pending]{color:#d6dfe4!important;border-color:#5b656c!important;min-height:44px}

html body #ba746Workout .ba746-child{z-index:50!important}
html body #ba746Workout .ba1095-workout[data-block-state=finished] [data-block-clock]{grid-column:1/-1}
html body #ba746Workout .ba1095-workout[data-block-state=finished] [data-phase]{display:none}
/* V1116: compact numeric-keyboard controls and an explicit paused draft resume. */
html body #ba746Workout[data-keyboard-open=true]{top:var(--ba1116-top,0px)!important;bottom:auto!important;height:var(--ba1116-height,100dvh)!important}
html body #ba746Workout[data-keyboard-open=true] .ba746-session{height:100%!important;max-height:100%!important;border-radius:0!important}
html body #ba746Workout[data-keyboard-open=true] .ba746-footer{display:none!important}
html body #ba746Workout[data-keyboard-open=true] .ba746-timers,html body #ba746Workout[data-keyboard-open=true] .ba746-summary{display:none!important}
html body #ba746Workout .ba1116-resume{padding:12px;text-align:center}
html body #ba746Workout .ba1116-resume>small{color:var(--workout-accent);font-size:11px;letter-spacing:.1em}
html body #ba746Workout .ba746-child [data-resume-workout]{width:100%;background:var(--workout-accent)!important;color:#101510!important;font-weight:700;min-height:48px}
html body #ba746Workout .ba746-child [data-resume-later]{width:100%;background:transparent!important;border:0!important;color:#c1cbd0!important}

/* V1118: native keyboard only, one row marker and contextual series options. */
html body #ba746Workout[data-entry-active=true] .ba746-footer{display:none!important}
html body #ba746Workout[data-entry-active=true] .ba1118-series-menu{display:none!important}
html body #ba746Workout .ba746-set.ba997-current{background:transparent;border-left:2px solid var(--workout-accent);border-radius:0;padding-left:4px!important}
html body #ba746Workout .ba997-current .ba746-set-number{border-left:0!important;padding:0!important;color:var(--workout-accent)!important}
html body #ba746Workout.ba746-overlay .ba746-inputs input{outline:none!important;box-shadow:none!important;border-color:#424b4f!important}
html body #ba746Workout.ba746-overlay .ba746-inputs input:focus{outline:none!important;box-shadow:none!important;border-color:var(--workout-accent)!important}
html body #ba746Workout.ba746-overlay .ba746-inputs input[aria-invalid=true]{border-color:#ff7919!important}
html body #ba746Workout .ba746-set>.ba1118-series-menu{display:none;grid-column:2/4;width:100%}
html body #ba746Workout .ba746-set.ba997-current>.ba1118-series-menu{display:block}
html body #ba746Workout .ba1118-series-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;min-height:44px;width:44px;margin-left:auto;color:#bec8ce;font-size:25px;border-radius:8px}
html body #ba746Workout .ba1118-series-menu>summary::-webkit-details-marker{display:none}
html body #ba746Workout .ba1118-series-menu>summary:focus-visible{outline:2px solid var(--workout-accent);outline-offset:1px}
html body #ba746Workout .ba1118-series-menu>.ba988-series-actions{display:none!important}
html body #ba746Workout .ba1118-series-menu[open]>.ba988-series-actions{display:flex!important;flex-wrap:wrap;gap:5px!important;background:#181d20;padding:5px!important;border-radius:8px}
html body #ba746Workout.ba746-overlay .ba1118-series-menu .ba988-series-actions button{width:auto!important;flex:1;min-height:44px!important;height:auto!important;padding:7px!important;font-size:12px!important}
html body #ba746Workout .ba1118-series-menu [data-remove-set]{color:#ffad72!important}
html body #ba746Workout .ba1092-superset .ba1118-series-menu{display:none!important}
/* V1119: exercise-first view and compact rows. Timed modes keep their own layout. */
html body #ba746Workout .ba746-header{gap:7px!important;padding:9px 12px!important}
html body #ba746Workout .ba746-header h2{font-size:16px!important;margin:2px 0!important}
html body #ba746Workout .ba746-header>button{min-width:38px!important;width:38px!important;min-height:38px!important;padding:5px!important}
html body #ba746Workout .ba746-timers,html body #ba746Workout[data-timed=true] .ba746-timers,html body #ba746Workout[data-recovering=true] .ba746-timers{display:flex!important;align-items:center;padding:3px 12px!important;min-height:34px;gap:8px}
html body #ba746Workout .ba746-timers>div:first-child{display:flex!important;flex:1;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;background:transparent!important;border:0!important;padding:0!important}
html body #ba746Workout .ba746-timers>div:first-child strong{font-size:15px!important}
html body #ba746Workout .ba746-timers [data-action=sound]{min-height:32px!important;width:36px!important;border:0!important;background:transparent!important;padding:4px!important}
html body #ba746Workout .ba746-summary{padding:2px 12px 5px!important;font-size:11px!important}
html body #ba746Workout .ba1119-exercise-title{display:flex!important;align-items:center;gap:10px;margin:5px 0 12px!important;width:100%}
html body #ba746Workout .ba1119-exercise-title h3{font-size:22px!important;text-align:left!important;margin:0!important;flex:1;word-break:normal;overflow-wrap:normal}
html body #ba746Workout .ba1119-exercise-title [data-variant-toggle]{flex:none;width:44px!important;min-height:44px!important;margin:0!important;padding:8px!important}
html body #ba746Workout .ba746-card>.ba746-media{display:block!important;width:100%!important;margin:0 0 10px!important}
html body #ba746Workout .ba746-card>.ba746-media .ba991-exercise-player{display:block!important;position:relative!important;width:100%!important;height:auto!important;aspect-ratio:16/9;max-height:30dvh!important;min-width:0!important;min-height:0!important;border-radius:12px}
html body #ba746Workout .ba746-card>.ba746-media .ba991-exercise-player>img,html body #ba746Workout .ba746-card>.ba746-media .ba991-exercise-player>video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border:0!important;transform:none!important}
html body #ba746Workout .ba1119-goal{display:block!important;border:0!important;border-radius:0!important;background:transparent!important;color:#c5cfd4!important;text-align:left!important;font-size:13px!important;line-height:1.5;padding:7px 0!important;margin:0 0 6px!important}
html body #ba746Workout .ba746-card>.ba1105-coach-notes{margin:8px 0!important;padding:8px 10px!important;background:#151a1b}
html body #ba746Workout .ba997-series-list{max-height:none!important;overflow:visible!important}
html body #ba746Workout .ba1115-series-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0!important;padding:0!important}
html body #ba746Workout .ba746-set.ba997-current{border-left:2px solid var(--workout-accent);background:transparent;padding-left:3px!important}
html body #ba746Workout .ba746-set{min-height:54px!important;padding-top:4px!important;padding-bottom:4px!important}
html body #ba746Workout .ba1119-keyboard-setting{display:flex;align-items:center;gap:10px;line-height:1.5;text-align:left;font-size:14px}
html body #ba746Workout .ba1119-keyboard-setting input{width:24px;height:24px;flex:none;accent-color:var(--workout-accent)}

/* V1120 — black validation box with a green check, including free sessions. */
html body #ba746Workout.ba746-overlay .ba746-set>input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;background:#000!important;border:2px solid #777d80!important;border-radius:10px!important;box-shadow:none!important;display:block;background-position:center!important;background-repeat:no-repeat!important;background-size:30px 30px!important;opacity:1}
html body #ba746Workout.ba746-overlay .ba746-set>input[type=checkbox]:checked{background-color:#000!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='m6 16 7 8L27 7' fill='none' stroke='%23b8f52a' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;border-color:#b8f52a!important}
html body #ba746Workout.ba746-overlay .ba746-set>input[type=checkbox]:disabled{border-color:#41484b!important;cursor:default}
html body #ba746Workout.ba746-overlay .ba746-set>input[type=checkbox]:focus-visible{outline:2px solid #b8f52a!important;outline-offset:3px}

/* V1121 — essential controls and transparent fixed duration above navigation. */
html body #ba746Workout.ba746-overlay .ba746-footer{position:relative;background:rgba(8,8,8,.82);backdrop-filter:blur(8px)}
html body #ba746Workout.ba746-overlay .ba1121-session-time{position:static;margin:0!important;padding:0 2px 8px!important;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px!important;line-height:1.3;color:#c7cdd1!important;background:transparent;pointer-events:none}
html body #ba746Workout .ba1121-session-time>span:first-child{display:flex;align-items:center;gap:5px}
html body #ba746Workout .ba1121-session-time strong{font-size:15px!important;font-variant-numeric:tabular-nums;color:#fff!important}
html body #ba746Workout.ba746-overlay .ba746-scroll{padding-bottom:18px!important}
html body #ba746Workout.ba746-overlay [data-variant-toggle]::after,html body #ba746Workout.ba746-overlay [data-prior]::after{display:none!important;content:none!important}
html body #ba746Workout.ba746-overlay [data-variant-toggle] svg{display:block!important;width:22px!important;height:22px!important;flex-shrink:0}
html body #ba746Workout.ba746-overlay [data-prior]{color:#ff7919!important;text-decoration:none!important;background:transparent!important}
html body #ba746Workout.ba746-overlay .ba1121-coach-notes{display:inline-flex!important;align-items:center;gap:6px;min-height:36px!important;width:auto!important;margin:3px 0 7px!important;padding:4px 0!important;color:#dce3e7!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:13px!important}
html body #ba746Workout .ba1095-workout [data-timed-list] article>.ba1121-coach-notes{grid-column:2/-1;justify-self:start}
html body #ba746Workout .ba1121-full-notes{white-space:pre-wrap;text-align:left!important;line-height:1.6!important;font-size:15px!important;color:#e3e8eb!important;overflow-wrap:break-word}
html body #ba746Workout .ba1121-recap-share{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px 0;border-top:1px solid #303638;font-size:14px}

/* V1122 — coach advanced settings remain visible outside the instructions modal. */
html body #ba746Workout .ba1122-training-details{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px 10px;margin:3px 0 9px;text-align:left}
html body #ba746Workout .ba1122-training-details>span{display:inline-block;color:#c5e69d;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
html body #ba746Workout .ba1095-workout [data-timed-objective] .ba1122-training-details{justify-content:center;text-align:center}
html body #ba746Workout .ba1095-workout [data-timed-list] article>.ba1122-training-details{grid-column:2/-1;margin:0 0 5px}

/* V1123 — compact explanation icons with accessible touch targets. */
html body #ba746Workout .ba1122-training-details>span{display:inline-flex;align-items:center;gap:3px}
html body #ba746Workout.ba746-overlay .ba1123-training-info{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;min-width:32px!important;width:32px!important;height:32px!important;min-height:32px!important;padding:7px!important;margin:0!important;border:0!important;background:transparent!important;color:#c5e69d!important;border-radius:50%!important}
html body #ba746Workout .ba1123-training-info svg{width:16px;height:16px;flex-shrink:0}

/* V1124 — series count belongs with the fixed progress track. */
html body #ba746Workout .ba1124-progress{flex-shrink:0;padding-top:2px;background:#080808}
html body #ba746Workout .ba1124-count{display:block;padding:1px 12px 4px;text-align:right;font-size:11px;line-height:1.2;color:#bec7cc;font-variant-numeric:tabular-nums}

/* V1125 — Circuit reuses the block player, recovery dial and fixed action dock. */
html body #ba746Workout .ba1125-circuit .ba1095-clock{position:static;min-height:50px;grid-template-columns:1fr 48px;margin:5px 0 10px}
html body #ba746Workout .ba1125-circuit .ba1095-clock>[data-phase]{font-size:13px}
html body #ba746Workout .ba1125-circuit .ba1095-clock>[data-block-start]{grid-row:1/3}
html body #ba746Workout .ba1125-circuit[data-round-recovery=true] .ba1095-clock,html body #ba746Workout .ba1125-circuit[data-round-recovery=true] [data-next-preview]{display:none!important}
html body #ba746Workout .ba1125-circuit .ba1125-entry{margin:8px 0 14px;text-align:left;color:#b7c3ca;font-size:12px}
html body #ba746Workout .ba1125-entry summary{min-height:40px;display:flex;align-items:center;cursor:pointer}
html body #ba746Workout .ba1125-entry summary::after{display:none!important;content:none!important}
html body #ba746Workout .ba1125-entry>div{display:flex;gap:10px}
html body #ba746Workout .ba1125-entry label{flex:1;display:flex;flex-direction:column;gap:6px}
html body #ba746Workout .ba1101-timed-dock[data-timed-mode=circuit] [data-circuit-complete]{width:100%;min-height:48px;background:var(--workout-accent)!important;color:#101510!important;font-weight:700}
html body #ba746Workout .ba1101-timed-dock[data-timed-mode=circuit] [data-circuit-partial]{border:0!important;background:transparent!important;color:#bac4ca!important;font-size:12px}
html body #ba746Workout .ba1125-results{text-align:left;color:#c5ced3;font-size:13px}
html body #ba746Workout .ba1125-results p{font-size:13px!important;line-height:1.5}

/* Free workout: timed block preparation stays in the notebook. */
[data-free-timed-card] ol{padding-left:24px;margin:20px 0}
[data-free-timed-card] li{padding:10px 4px;border-bottom:1px solid #303537}
[data-free-timed-card] li p{margin:6px 0;color:#b8c0c3}
[data-free-timed-card] .ba1095-timed-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
[data-free-timed-card] .ba1095-timed-tools button{font-size:14px;padding:10px 12px}
/* V1128 — préparation du bloc libre et objectifs intégrés */
[data-free-timed-card] ol{list-style:none;padding:0;display:grid;gap:16px}
[data-free-timed-card] .ba1128-member{padding:16px;border:1px solid #353b3e;border-radius:16px;background:#111516}
.ba1128-member-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.ba1128-member-title button{min-width:44px;min-height:44px}
.ba1128-member label{display:grid;gap:6px;text-align:left;font-size:14px;color:#bac2c5;margin:10px 0}
.ba1128-member input,.ba1128-member select{width:100%;min-width:0;box-sizing:border-box;min-height:48px;font-size:18px;background:#080a0b;color:#fff;border:1px solid #414a4e;border-radius:10px;padding:10px}
.ba1128-member input:focus,.ba1128-member select:focus{outline:2px solid #b9fa26;outline-offset:1px}
.ba1128-member [data-block-pick]{font-size:14px;color:#ff7a14;min-height:44px}
.ba1128-goals{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.ba1128-goals>label:last-child{grid-column:1/-1}
.ba1128-member input:disabled,.ba1128-member select:disabled{opacity:1;color:#bbc3c5}

/* V1142: stable scrolling and numeric layouts without changing the visual identity. */
html body #ba746Workout .ba746-scroll{overscroll-behavior-y:contain;scrollbar-gutter:stable;overflow-anchor:none;scroll-padding-block:16px}
html body #ba746Workout [data-field],html body #ba746Workout [data-circuit-load],html body #ba746Workout [data-circuit-reps]{scroll-margin-block:16px}
html body #ba746Workout [role=timer],html body #ba746Workout [data-block-clock],html body #ba746Workout [data-total-left],html body #ba746Workout .ba746-set-number{font-variant-numeric:tabular-nums}
html body #ba746Workout .ba1101-next-preview>div:first-child{flex:0 0 64px;min-height:48px}
html body #ba746Workout .ba1101-next-preview>div:last-child{min-width:0}
html body #ba746Workout .ba1101-next-preview strong{overflow-wrap:anywhere}
html body #ba746Workout button[aria-busy=true]{cursor:progress;opacity:.7}
html body #ba746Workout .ba746-card>.ba746-media:has(.ba991-exercise-player){min-height:min(30dvh,calc((100vw - 64px)*9/16))}
@media (prefers-reduced-motion:reduce){#ba746Workout *{scroll-behavior:auto!important;transition:none!important}}

/* V1149: preparation and performance have separate actions. */
#ba746Workout [data-session-start][hidden],#ba746Workout [data-free-block-start][hidden],#ba746Workout .ba1121-session-time[hidden]{display:none!important}
#ba746Workout .ba746-scroll [data-add-exercise],#ba746Workout .ba746-scroll [data-add-timed]{display:none!important}
#ba746Workout[data-session-phase="preparation"] .ba1124-count{font-size:12px;line-height:1.4}
#ba746Workout [data-action="next"]:empty{visibility:hidden}

#ba746Workout [data-session-add][hidden],#ba746Workout [data-action="next"][hidden],#ba746Workout [data-action="recap"][hidden]{display:none!important}
#ba746Workout details>summary[aria-label="Options du bloc"]{cursor:pointer;text-align:right;font-size:24px;padding:8px}

/* V1149: live action validity; invalid remains clickable to explain the issue. */
html body button[data-action-validity="invalid"],html body #ba746Workout button[data-action-validity="invalid"]{background:repeating-linear-gradient(135deg,rgba(255,119,0,.18) 0,rgba(255,119,0,.18) 5px,transparent 5px,transparent 11px),#202020!important;border:2px solid #ff7900!important;color:#929292!important;opacity:1!important;cursor:help}
html body button[data-action-validity="valid"],html body #ba746Workout button[data-action-validity="valid"]{background:#18220e!important;border:2px solid #b5f600!important;color:#fff!important;opacity:1!important}
html body .ba1149-error,html body #ba746Workout .ba1149-error{color:#ff5555!important;font-size:13px;line-height:1.4}
[data-mode-error]:empty,[data-mode-total]:empty{display:none!important}

/* V1149: only the help glyph is visible; retain the button touch target. */
html body button.ba1095-info,
html body button.ba1137-context,
html body button:has(>.ba1138-help-icon),
html body #ba746Workout.ba746-overlay button.ba1095-info,
html body #ba746Workout.ba746-overlay .ba746-child button.ba1095-info,
html body #sessionsEditor button.ba1095-info,
html body .ba1137-help-entry button {
 border:0!important;background:transparent!important;box-shadow:none!important;outline-offset:2px;border-radius:0!important;
}

/* V1150: constrain the modal width and keep scrolling vertical. */
html body #ba746Workout .ba746-child,
html body #ba746Workout .ba746-child>section{box-sizing:border-box!important;min-width:0!important;overflow-x:hidden!important}
html body #ba746Workout .ba746-child-scroll,
html body .ui-modal-body:has([data-timed-form]){box-sizing:border-box!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
html body [data-timed-form],html body [data-timed-form] div,html body [data-timed-form] label{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
html body [data-timed-form] input{box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important}
html body [data-timed-form] p{max-width:100%!important;white-space:normal!important;box-sizing:border-box!important}

/* V1151: validation styling takes precedence over free-session action accents. */
html body #ba746Workout.ba746-overlay button[data-action-validity="invalid"],
html body #ba746Workout.ba746-overlay button.ba746-add[data-action-validity="invalid"]{background:repeating-linear-gradient(135deg,rgba(255,119,0,.18) 0,rgba(255,119,0,.18) 5px,transparent 5px,transparent 11px),#202020!important;border:2px solid #ff7900!important;color:#ff7900!important;opacity:1!important}
html body #ba746Workout.ba746-overlay button[data-action-validity="valid"],
html body #ba746Workout.ba746-overlay button.ba746-add[data-action-validity="valid"]{background:#18220e!important;border:2px solid #b5f600!important;color:#b5f600!important;opacity:1!important}
#ba746Workout [data-block-error]:empty{display:none!important}

/* V1152: compact controls leave the exercise area visible. */
html body #ba746Workout.ba746-overlay .ba746-footer{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:5px 8px!important;padding:6px 10px max(6px,env(safe-area-inset-bottom))!important}
html body #ba746Workout.ba746-overlay .ba746-footer>.ba1121-session-time,
html body #ba746Workout.ba746-overlay .ba746-footer>div,
html body #ba746Workout.ba746-overlay .ba746-footer>[data-status]{grid-column:1/-1!important}
html body #ba746Workout.ba746-overlay .ba746-footer>.ba1121-session-time{padding:0 2px!important;margin:0!important;min-height:20px!important}
html body #ba746Workout.ba746-overlay .ba746-footer>button{width:100%!important;min-height:40px!important;margin:0!important;padding:6px 8px!important;font-size:12px!important;line-height:1.25!important;white-space:normal!important;box-sizing:border-box!important}
html body #ba746Workout.ba746-overlay .ba746-footer>div>button{min-height:30px!important;padding:3px 5px!important;font-size:11px!important}
html body #ba746Workout[data-group-count="1"] .ba746-footer>div{display:none!important}
html body #ba746Workout.ba746-overlay .ba746-footer>[data-status]:empty{display:none!important}
html body #ba746Workout .ba1101-timed-dock{padding:5px 10px!important}
html body #ba746Workout .ba1111-interval-progress{padding:0!important}
html body #ba746Workout .ba1111-interval-progress p{margin:4px 0 0!important;font-size:11px!important;line-height:1.25!important}
html body #ba746Workout .ba1101-timed-dock [data-timed-status]:empty{display:none!important}
html body #ba746Workout .ba1101-timed-dock .ba1095-controls:not(:has(button:not([hidden]))){display:none!important;margin:0!important}
html body #ba746Workout .ba1152-custom-media{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:400px;min-height:100px;aspect-ratio:16/7;margin:10px auto;background:#080808;border-radius:12px;overflow:hidden}
html body #ba746Workout .ba1152-custom-media img{display:block;width:85%!important;height:auto!important;max-width:100%;object-fit:contain}
html body #ba746Workout [data-next-media] .ba1152-custom-media,html body #ba746Workout .ba1101-amrap-thumb .ba1152-custom-media{min-height:0;aspect-ratio:16/10;margin:0}

/* V1153: block title and return action share one row. */
html body #ba746Workout .ba1095-workout header:has(.ba1153-return){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0}
html body #ba746Workout .ba1095-workout header:has(.ba1153-return)>div{display:flex!important;align-items:center!important;flex-wrap:wrap;min-width:0;flex:1;gap:3px}
html body #ba746Workout .ba1095-workout header:has(.ba1153-return) strong{font-size:clamp(12px,3.4vw,17px)!important;line-height:1.3!important}
html body #ba746Workout.ba746-overlay button.ba1153-return{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:44px!important;padding:4px!important;margin:0 0 0 auto!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--workout-accent)!important;font-size:11px!important;line-height:1.3!important;white-space:nowrap!important}

/* V1154: explicit first choice, compact monogram and one fixed heading row. */
html body #ba746Workout .ba1152-custom-media{aspect-ratio:16/9!important;max-height:180px!important;min-height:100px!important}
html body #ba746Workout .ba1152-custom-media img{width:auto!important;height:140px!important;max-height:90%!important;object-fit:contain!important}
html body #ba746Workout [data-next-media] .ba1152-custom-media,html body #ba746Workout .ba1101-amrap-thumb .ba1152-custom-media{min-height:0!important;max-height:100%!important}
html body #ba746Workout [data-next-media] .ba1152-custom-media img,html body #ba746Workout .ba1101-amrap-thumb .ba1152-custom-media img{width:100%!important;height:100%!important}
html body #ba746Workout .ba1095-workout header.ba1154-block-heading{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;width:100%!important;box-sizing:border-box!important}
html body #ba746Workout .ba1095-workout header.ba1154-block-heading>div{flex:1 1 auto!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;min-width:0!important;gap:2px!important}
html body #ba746Workout .ba1154-block-heading strong{font-size:clamp(11px,3.3vw,16px)!important;white-space:nowrap!important}
html body #ba746Workout .ba1154-block-heading .ba1095-info{width:28px!important;min-width:28px!important}
html body #ba746Workout .ba1154-block-heading button.ba1153-return{font-size:clamp(9px,2.7vw,11px)!important;flex:0 0 auto!important;white-space:nowrap!important}
html body #ba746Workout .ba746-scroll .ba1154-first-choice [data-add-exercise],html body #ba746Workout .ba746-scroll .ba1154-first-choice [data-add-timed]{display:block!important;width:100%!important;min-height:48px!important;margin:12px 0!important;border:1px solid var(--workout-accent)!important;color:var(--workout-accent)!important}
