body.shared-workout> :not(dialog):not(script):not(.shared-workout-shell):not(.toast){display:none!important}
.shared-workout-shell{max-width:1180px;margin:0 auto;padding:clamp(18px,4vw,48px);color:#2c0e37}
.shared-workout-shell.has-staff-sidebar{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:28px;align-items:start;max-width:1380px}
.shared-workout-shell.has-staff-sidebar>.shared-workout-topbar,.shared-workout-shell.has-staff-sidebar>.shared-workout-header,.shared-workout-shell.has-staff-sidebar>.shared-plan,.shared-workout-shell.has-staff-sidebar>.shared-editor{grid-column:2;min-width:0}
.shared-workout-sidebar{grid-column:1;grid-row:1 / span 4;position:sticky;top:24px;display:grid;gap:6px;padding:22px 14px;border:1px solid #e0d7e4;border-radius:18px;background:#fff}
.shared-workout-sidebar[hidden]{display:none}
.shared-sidebar-label{margin:6px 12px;color:#84728c;font-size:12px;font-weight:800;letter-spacing:.08em}
.shared-workout-sidebar nav{display:grid;gap:4px;margin-bottom:12px}
.shared-workout-sidebar a,.shared-workout-sidebar button,.shared-workout-sidebar span{display:block;width:100%;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:#2c0e37;font:inherit;font-size:14px;font-weight:700;text-align:left;text-decoration:none}
.shared-workout-sidebar a:hover,.shared-workout-sidebar button:hover,.shared-workout-sidebar .active{background:#d9f7eb}
.shared-workout-sidebar [hidden]{display:none}
.shared-workout-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.shared-workout-switchers{display:grid;justify-items:end;gap:6px;min-width:0}
#shared-club-switcher:empty{display:none}
#shared-club-switcher .club-switcher{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}
#shared-club-switcher .club-switcher a{display:inline-flex;align-items:center;min-height:40px;padding:7px 12px;border:1px solid #d8cfdd;border-radius:10px;background:#fff;color:#2c0e37;font-size:14px;font-weight:750;text-decoration:none}
#shared-club-switcher .club-switcher a[aria-current=page]{border-color:#19836d;background:#e6faf2}
#shared-club-switcher .club-switcher a:hover,#shared-club-switcher .club-switcher a:focus-visible{border-color:#19836d}
.shared-workout-back{display:inline-block;margin-bottom:28px;color:#51395a;text-decoration:none;font-weight:700}
.shared-workout-topbar .shared-workout-back{margin:0}
.shared-workout-back:hover{text-decoration:underline}
.shared-workout-topbar label{display:grid;gap:5px;color:#665670;font-size:12px;font-weight:750}
#shared-role-view .inline-select-choices{display:flex;justify-content:flex-end;flex-wrap:wrap;margin:5px 0 0}
#shared-role-view .inline-select-choice{width:auto;white-space:nowrap}
.shared-workout-topbar select,.shared-role-badge{min-height:42px;padding:8px 12px;border:1px solid #d8cfdd;border-radius:10px;background:#fff;color:#2c0e37;font:inherit;font-size:14px;font-weight:750}
.shared-role-badge{display:inline-flex;align-items:center}
.shared-workout-header{padding:clamp(22px,4vw,38px);border-radius:24px;background:#2c0e37;color:white}
.shared-workout-shell .shared-workout-eyebrow{margin:0;color:#73fbd3;font-size:12px;font-weight:850;letter-spacing:.12em}
.shared-workout-shell h1{margin:8px 0;font-size:clamp(28px,4vw,42px);line-height:1.1}
.shared-workout-shell #shared-meta{margin:0 0 22px;color:#e3d9e7;line-height:1.5}
#shared-challenge-name{display:grid;gap:7px;max-width:420px;margin:0 0 20px;color:#e3d9e7;font-weight:750}
#shared-challenge-name input{width:100%;min-height:46px;padding:10px 14px;border:1px solid #e0d7e4;border-radius:12px;background:#fff;color:#2c0e37}
#shared-actions{display:flex;flex-wrap:wrap;gap:10px}
#shared-status{margin:14px 0 0;overflow-wrap:anywhere;color:#ddfced}
#shared-status:empty{display:none}
.shared-plan{display:grid;gap:16px;margin-top:24px}
.shared-plan[hidden],#shared-editor[hidden],#shared-actions[hidden]{display:none!important}
.shared-editor{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:start;gap:20px;margin-top:24px}
.shared-editor{grid-template-columns:minmax(0,1fr)}
.shared-editor-nav{position:sticky;top:16px;display:grid;gap:6px;padding:15px;border:1px solid #e0d7e4;border-radius:17px;background:white}
.shared-editor-nav a{padding:11px 12px;border-radius:9px;color:#51395a;text-decoration:none;font-size:14px;font-weight:750}
.shared-editor-nav a:hover,.shared-editor-nav a:focus-visible{background:#e6faf2;color:#006d59}
#shared-editor-content{min-width:0}
#shared-editor .workout-dialog[open]{display:block;position:static;width:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:20px;box-shadow:0 8px 30px rgba(44,14,55,.08);overflow:visible}
#shared-editor .workout-builder-card{max-height:none;overflow:visible;padding:clamp(20px,3vw,36px);border:1px solid #e0d7e4;border-radius:20px}
#shared-editor .workout-dialog::backdrop{display:none}
#shared-editor .workout-dialog .dialog-close{width:42px;height:42px}
#shared-editor .workout-dialog #save-workout-plan{position:sticky;bottom:12px;z-index:5;box-shadow:0 6px 24px rgba(44,14,55,.2)}
body.shared-workout-editing .shared-workout-header{padding:22px 28px}
body.shared-workout-editing .shared-workout-header h1{font-size:clamp(24px,3vw,32px)}
body.shared-workout-editing #shared-meta{margin-bottom:0}
.shared-plan-card{padding:clamp(18px,3vw,28px);border:1px solid #e0d7e4;border-radius:20px;background:white;box-shadow:0 8px 30px rgba(44,14,55,.04)}
.shared-plan-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.shared-plan-card-heading span{color:#665670;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.shared-plan-card h2{margin:5px 0 0;font-size:clamp(21px,3vw,26px)}
.shared-plan-card ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.shared-plan-card li{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 0;border-top:1px solid #eee8f0}
.shared-plan-card li .shared-plan-exercise{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 .35rem;min-width:0}
.shared-plan-card li .shared-plan-quantity{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:750}
.shared-plan-card li .shared-plan-load{color:inherit;text-align:left;font-weight:400}
.shared-plan-card li small{grid-column:1/-1;color:#695c70}
.shared-partner-lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.shared-partner-lane{min-width:0;border:1px solid #e0d7e4;border-radius:12px;padding:12px;background:#faf8fc}
.shared-partner-lane h3{margin:0 0 10px;font-size:15px}
@media(max-width:700px){.shared-partner-lanes{grid-template-columns:1fr}}
.shared-plan-empty{padding:24px;border:1px dashed #d5c8dc;border-radius:16px}
@media(max-width:700px){.shared-workout-shell{padding:18px}.shared-workout-shell.has-staff-sidebar{display:flex;flex-direction:column}.shared-workout-shell.has-staff-sidebar>.shared-workout-topbar,.shared-workout-shell.has-staff-sidebar>.shared-workout-header,.shared-workout-shell.has-staff-sidebar>.shared-plan,.shared-workout-shell.has-staff-sidebar>.shared-editor{width:100%}.shared-workout-sidebar{position:static;width:100%;padding:12px;margin-bottom:16px}.shared-workout-sidebar nav{display:flex;flex-wrap:wrap;margin-bottom:0}.shared-workout-sidebar a,.shared-workout-sidebar button,.shared-workout-sidebar span{width:auto}.shared-sidebar-label{margin-top:8px}.shared-workout-topbar{align-items:stretch;flex-direction:column}.shared-workout-topbar select{width:100%}#shared-role-view .inline-select-choices{justify-content:flex-start}#shared-role-view .inline-select-choice{flex:1 1 auto}.shared-editor{grid-template-columns:1fr;gap:12px}.shared-editor-nav{position:static;display:flex;overflow-x:auto;padding:8px}.shared-editor-nav a{white-space:nowrap}#shared-editor .workout-builder-card{padding:22px 15px}#shared-actions>*{width:100%}}
@media(max-width:700px){.shared-workout-switchers{justify-items:start}#shared-club-switcher .club-switcher{justify-content:flex-start}}
.shared-cardio-stations{grid-column:1/-1;display:grid;gap:7px;margin-top:10px}
.shared-cardio-stations p{margin:0 0 4px;color:#665670;font-size:13px}
.shared-cardio-stations>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e0d7e4;border-radius:10px;background:#fbf9fc}
.shared-plan-card .shared-cardio-stations strong::before{content:none}
.shared-plan-card .shared-cardio-stations span{text-align:left;font-weight:500}
.shared-cardio-stations small{grid-column:auto;color:#008a74}
@media(max-width:600px){.shared-cardio-stations>div{grid-template-columns:1fr auto}.shared-cardio-stations span{grid-column:1;grid-row:2}.shared-cardio-stations small{grid-column:2;grid-row:1/3}}
.plan-copy-dialog{width:min(620px,calc(100vw - 24px));max-height:min(90vh,800px);padding:clamp(20px,4vw,34px);border:1px solid #e0d7e4;border-radius:22px;box-shadow:0 24px 80px #2c0e3750;color:#2c0e37;background:#fff;overflow:auto}
.plan-copy-dialog::backdrop{background:#200c2bb3}
.plan-copy-dialog>form{float:right}.plan-copy-dialog>form button{min-width:40px;min-height:40px}
.plan-copy-dialog h2{font-size:clamp(22px,4vw,30px);margin:0 40px 8px 0}.plan-copy-dialog h3{margin:22px 0 10px;font-size:17px}
.plan-copy-dialog p{color:#665670;line-height:1.5}.plan-copy-dialog #plan-copy-clubs,.plan-copy-dialog #plan-copy-sessions{display:flex;flex-wrap:wrap;gap:10px}.plan-copy-dialog h3{flex-basis:100%}
.plan-copy-dialog #plan-copy-sessions{max-height:260px;overflow:auto}.plan-copy-dialog #plan-copy-sessions button{white-space:normal;text-align:left}
.plan-copy-dialog button[aria-pressed=true]{border-color:#009d82;background:#d9f7eb;color:#2c0e37}.plan-copy-dialog #plan-copy-submit{margin-top:10px}.plan-copy-dialog #plan-copy-submit:disabled{opacity:.5}

.shared-editor:has(.focused-workout-editor){grid-template-columns:minmax(0,1fr)}
.shared-editor:has(.focused-workout-editor) .shared-editor-nav{display:none}
.shared-plan-overview{overflow:hidden;border:1px solid #e0d7e4;border-radius:20px;background:white;box-shadow:0 8px 30px rgba(44,14,55,.04)}
.shared-plan-overview .shared-plan-card{margin:0 20px;padding:20px 0;border:0;border-top:1px solid #e9e1ec;border-radius:0;box-shadow:none}
.shared-plan-overview .shared-plan-card:first-child{border-top:0}
.shared-plan-edit{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #e0d7e4;border-radius:50%;background:white;color:#2c0e37;font-size:22px;line-height:1}
.shared-plan-edit:hover,.shared-plan-edit:focus-visible{border-color:#19836d;background:#eefaf5}
@media(max-width:700px){.shared-plan-overview .shared-plan-card{margin:0 16px}.shared-plan-card-heading{align-items:center}}

/* Keep the club and role controls centered above the main column. */
.shared-workout-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.shared-workout-switchers{grid-column:2;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}
#shared-club-switcher .club-switcher{justify-content:center}
#shared-role-view label:has(.inline-select-source){display:none}
#shared-role-view .inline-select-choices{justify-content:center;margin:0}
.shared-workout-shell.has-staff-sidebar>.shared-workout-topbar{grid-column:1/-1;grid-row:1;grid-template-columns:220px minmax(0,1fr);column-gap:28px}
.shared-workout-shell.has-staff-sidebar>.shared-workout-topbar .shared-workout-switchers{grid-column:2;justify-self:center}
.shared-workout-shell.has-staff-sidebar>.shared-workout-sidebar{grid-row:2 / span 3}
.shared-workout-shell.has-staff-sidebar>.shared-workout-header{grid-row:2}
@media(max-width:700px){.shared-workout-shell.has-staff-sidebar>.shared-workout-topbar{order:-1;display:flex;flex-direction:column;align-items:stretch}.shared-workout-switchers{justify-content:flex-start}#shared-role-view .inline-select-choices{justify-content:flex-start}}
