.custom-workout-library{margin:24px 0;padding:24px;border:1px solid var(--line,rgba(111,139,180,.28));border-radius:20px;background:var(--panel2,var(--panel,rgba(8,24,50,.04)));color:var(--text,inherit)}
.custom-workout-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.custom-workout-library-head h2{margin:.15rem 0 .35rem}.custom-workout-library-head p{margin:0;max-width:760px}.custom-workout-foundation-note{display:flex;gap:10px;align-items:baseline;padding:12px 14px;margin:0 0 16px;border-radius:12px;background:var(--surface,var(--card-bg,rgba(60,118,205,.08)));color:var(--text,inherit);font-size:.94rem}.custom-workout-foundation-note span{opacity:.82}.custom-workout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.custom-workout-card{padding:18px;border:1px solid var(--surface-line,var(--line,rgba(111,139,180,.28)));border-radius:16px;background:var(--surface,var(--card-bg,#fff));color:var(--text,inherit);min-width:0}.custom-workout-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.custom-workout-card-head span,.custom-workout-version-note>span{font-size:.72rem;font-weight:800;letter-spacing:.08em}.custom-workout-card h3{margin:.25rem 0 .35rem;font-size:1.12rem}.custom-workout-card p{margin:.25rem 0 .65rem}.custom-workout-card small{display:block;opacity:.78}.custom-workout-statuses{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.custom-workout-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.7rem;font-weight:800;white-space:nowrap}.custom-workout-status.published{background:rgba(48,160,105,.13)}.custom-workout-status.draft{background:rgba(219,154,48,.15)}.custom-workout-tags{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.custom-workout-tags span{padding:3px 7px;border-radius:999px;background:rgba(111,139,180,.11);color:var(--text,inherit);font-size:.76rem}.custom-workout-card-actions{display:flex;gap:8px;margin-top:14px}.custom-workout-empty{padding:28px;border:1px dashed var(--line,rgba(111,139,180,.4));border-radius:14px;background:var(--surface,var(--card-bg,transparent));color:var(--text,inherit);text-align:center}.custom-workout-empty b,.custom-workout-empty span{display:block}.custom-workout-empty span{margin-top:6px;opacity:.78}.custom-workout-overlay{z-index:10020}.custom-workout-editor-card{width:min(920px,calc(100vw - 28px));max-height:min(90vh,920px);overflow:auto;background:var(--surface,var(--card-bg,#fff));color:var(--text,inherit)}.custom-workout-editor-card h2{margin:.25rem 0}.custom-workout-editor-card>p{margin-top:.25rem}.custom-workout-editor-card form{display:grid;gap:14px;margin-top:16px}.custom-workout-editor-card label{display:grid;gap:6px;font-weight:700}.custom-workout-editor-card label small{font-weight:500;opacity:.72}.custom-workout-editor-card input,.custom-workout-editor-card select,.custom-workout-editor-card textarea{width:100%;min-width:0}.custom-workout-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.custom-workout-workload{border:1px solid var(--line,rgba(111,139,180,.28));border-radius:14px;background:var(--surface,var(--card-bg,transparent));color:var(--text,inherit);padding:14px}.custom-workout-workload legend{font-weight:800;padding:0 6px}.custom-workout-workload>p{margin:0 0 12px;opacity:.8}.custom-workout-workload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.custom-workout-check{grid-template-columns:auto 1fr!important;align-items:center!important;display:grid!important;margin-top:12px}.custom-workout-check input{width:auto}.custom-workout-version-note{padding:12px 14px;border-radius:12px;background:var(--surface,var(--card-bg,rgba(111,139,180,.08)));color:var(--text,inherit);display:grid;gap:4px}.custom-workout-version-note b,.custom-workout-version-note small{display:block}.custom-workout-editor-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.organization-development-choice-v6410{grid-template-columns:repeat(3,minmax(0,1fr))}.coach-program-choice-v6410{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:820px){.custom-workout-grid,.custom-workout-editor-grid,.custom-workout-workload-grid,.organization-development-choice-v6410,.coach-program-choice-v6410{grid-template-columns:1fr}.custom-workout-library{padding:16px}.custom-workout-library-head{flex-direction:column}.custom-workout-card-head{flex-direction:column}.custom-workout-statuses{justify-content:flex-start}.custom-workout-editor-actions{justify-content:stretch}.custom-workout-editor-actions .button{flex:1 1 100%}.custom-workout-foundation-note{display:grid}}

html[data-theme="dark"] .custom-workout-library,body.dark .custom-workout-library{background:#0a1c38;color:#f4f7fb;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .custom-workout-card,html[data-theme="dark"] .custom-workout-empty,html[data-theme="dark"] .custom-workout-workload,html[data-theme="dark"] .custom-workout-editor-card,html[data-theme="dark"] .custom-workout-foundation-note,html[data-theme="dark"] .custom-workout-version-note,body.dark .custom-workout-card,body.dark .custom-workout-empty,body.dark .custom-workout-workload,body.dark .custom-workout-editor-card,body.dark .custom-workout-foundation-note,body.dark .custom-workout-version-note{background:#0d2749;color:#f4f7fb;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .custom-workout-library p,html[data-theme="dark"] .custom-workout-library small,html[data-theme="dark"] .custom-workout-editor-card p,html[data-theme="dark"] .custom-workout-editor-card small,body.dark .custom-workout-library p,body.dark .custom-workout-library small,body.dark .custom-workout-editor-card p,body.dark .custom-workout-editor-card small{color:#c8d5e8}
html[data-theme="dark"] .custom-workout-tags span,body.dark .custom-workout-tags span{background:rgba(156,183,224,.13);color:#f4f7fb}

.custom-workout-required-note{margin:4px 0 0!important;font-size:.82rem;color:var(--muted,#61708a);font-weight:700}.custom-workout-required,.custom-workout-required-note>span{color:#b42318;font-weight:900}.custom-workout-editor-card label>.custom-workout-required{display:inline;margin-left:2px}html[data-theme="dark"] .custom-workout-required-note,body.dark .custom-workout-required-note{color:#c8d5e8}html[data-theme="dark"] .custom-workout-required,html[data-theme="dark"] .custom-workout-required-note>span,body.dark .custom-workout-required,body.dark .custom-workout-required-note>span{color:#ff8d86}

.custom-workout-label-text{display:inline-flex;align-items:baseline;gap:3px;line-height:1.2}.custom-workout-label-text .custom-workout-required{display:inline!important;margin-left:0!important}

/* v6.41.0.7 — Baseball IQ reusable question authoring */
.custom-workout-iq-builder{display:grid;gap:12px;margin-top:14px}.custom-workout-iq-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-top:4px}.custom-workout-iq-builder-head>div{display:grid;gap:4px}.custom-workout-iq-builder-head small{font-weight:500;opacity:.75}.custom-workout-iq-question{display:grid;gap:12px;padding:14px;border:1px solid var(--surface-line,var(--line,rgba(111,139,180,.28)));border-radius:14px;background:var(--panel2,var(--panel,rgba(111,139,180,.05)));color:var(--text,inherit)}.custom-workout-iq-question+.custom-workout-iq-question{margin-top:12px}.custom-workout-iq-question-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.custom-workout-iq-question-head span{font-size:.7rem;font-weight:800;letter-spacing:.08em;opacity:.72}.custom-workout-iq-question-head h4{margin:.15rem 0 0}.custom-workout-iq-options{display:grid;gap:8px}.custom-workout-iq-options-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.custom-workout-iq-options-head small{font-weight:500;opacity:.72}.custom-workout-iq-option-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}.custom-workout-iq-correct{display:grid!important;grid-template-columns:auto auto!important;gap:6px!important;align-items:center!important;margin:0!important}.custom-workout-iq-correct input{width:auto!important}.custom-workout-iq-correct>span:not(.sr-only){display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--line,rgba(111,139,180,.35));font-size:.78rem;font-weight:800}.custom-workout-iq-option-remove{min-width:36px;padding:.45rem .65rem}.custom-workout-iq-small-button{white-space:nowrap}.custom-workout-iq-answer-note{margin:0!important;padding:10px 12px;border-radius:10px;background:var(--surface,var(--card-bg,rgba(111,139,180,.08)));font-size:.86rem}.custom-workout-iq-answer-note b{font-weight:800}
@media(max-width:640px){.custom-workout-iq-builder-head,.custom-workout-iq-question-head,.custom-workout-iq-options-head{display:grid}.custom-workout-iq-small-button{width:100%}.custom-workout-iq-option-row{grid-template-columns:auto minmax(0,1fr) auto}}
html[data-theme="dark"] .custom-workout-iq-question,body.dark .custom-workout-iq-question{background:#0a1f3c;border-color:rgba(156,183,224,.24)}html[data-theme="dark"] .custom-workout-iq-answer-note,body.dark .custom-workout-iq-answer-note{background:#102b50;color:#f4f7fb}


/* v6.41.1 — guided, module-specific authoring */
.custom-workout-guided,.custom-workout-fit-fields{margin:16px 0;padding:16px;border:1px solid var(--line,#d8dee8);border-radius:14px;background:var(--surface,#fff)}
.custom-workout-guided legend,.custom-workout-fit-fields legend{font-weight:800;padding:0 6px}
.custom-workout-guided>p,.custom-workout-fit-fields>p{margin:2px 0 12px;color:var(--muted,#667085);font-size:.92rem;line-height:1.45}
.custom-workout-guided-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.custom-workout-guided-row select{min-width:0}
.custom-workout-guided-empty{margin:14px 0;padding:14px;border:1px dashed var(--line,#d8dee8);border-radius:12px;display:grid;gap:4px;background:var(--surface,#fff)}
.custom-workout-guided-empty span{color:var(--muted,#667085);font-size:.9rem}
.custom-workout-choice-group{display:grid;gap:8px;margin:12px 0}
.custom-workout-choice-group>b{font-size:.93rem}
.custom-workout-choice-group>small{color:var(--muted,#667085)}
.custom-workout-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.custom-workout-safety-boundary{display:grid;gap:4px;margin-top:12px;padding:12px;border-radius:10px;background:var(--panel,#f6f8fb);border:1px solid var(--line,#d8dee8)}
.custom-workout-safety-boundary span{color:var(--muted,#667085);font-size:.9rem;line-height:1.4}
html[data-theme="dark"] .custom-workout-guided,html[data-theme="dark"] .custom-workout-fit-fields,html[data-theme="dark"] .custom-workout-guided-empty,body.dark .custom-workout-guided,body.dark .custom-workout-fit-fields,body.dark .custom-workout-guided-empty{background:var(--surface,#161b22)}
@media(max-width:720px){.custom-workout-guided-row{grid-template-columns:1fr}.custom-workout-guided-row .button{width:100%}.custom-workout-choice-grid{grid-template-columns:1fr 1fr}.custom-workout-fit-fields,.custom-workout-guided{padding:12px}}
@media(max-width:430px){.custom-workout-choice-grid{grid-template-columns:1fr}}

/* v6.41.2 — single-athlete custom workout assignment */
.custom-workout-assignment-card{width:min(760px,calc(100vw - 28px));max-height:min(90vh,920px);overflow:auto;background:var(--surface,var(--card-bg,#fff));color:var(--text,inherit)}
.custom-workout-assignment-card h2{margin:.25rem 0}.custom-workout-assignment-card>p{margin:.25rem 0 14px;color:var(--muted,#667085)}
.custom-workout-assignment-card form{display:grid;gap:14px}.custom-workout-assignment-card label{display:grid;gap:6px;font-weight:700}.custom-workout-assignment-card select{width:100%;min-width:0}
.custom-workout-assignment-boundary{display:grid;gap:5px;padding:13px 14px;margin:0 0 16px;border:1px solid var(--line,#d8dee8);border-radius:12px;background:var(--panel,#f6f8fb)}
.custom-workout-assignment-boundary span{font-size:.92rem;line-height:1.45;color:var(--muted,#667085)}
.custom-workout-assignment-relationship{display:grid;gap:9px;padding:14px;border:1px solid var(--line,#d8dee8);border-radius:12px}.custom-workout-assignment-relationship legend{padding:0 6px;font-weight:800}
.custom-workout-assignment-relationship label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:flex-start;padding:11px;border:1px solid var(--line,#d8dee8);border-radius:10px;background:var(--surface,#fff)}
.custom-workout-assignment-relationship input{width:auto;margin-top:4px}.custom-workout-assignment-relationship span{display:grid;gap:3px}.custom-workout-assignment-relationship small{font-weight:500;color:var(--muted,#667085);line-height:1.4}
.custom-workout-assignment-existing{display:grid;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line,#d8dee8)}.custom-workout-assignment-existing h3{margin:.2rem 0 0}
.custom-workout-assignment-list{display:grid;gap:8px}.custom-workout-assignment-row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:12px;border:1px solid var(--line,#d8dee8);border-radius:11px;background:var(--surface,#fff)}
.custom-workout-assignment-row>div{display:grid;gap:3px;min-width:0}.custom-workout-assignment-row span,.custom-workout-assignment-row small{color:var(--muted,#667085)}.custom-workout-assignment-row em{font-size:.84rem;color:#9a6700;font-style:normal}
.custom-workout-assignment-empty{display:grid;gap:4px;padding:14px;border:1px dashed var(--line,#d8dee8);border-radius:11px}.custom-workout-assignment-empty span{font-size:.9rem;color:var(--muted,#667085)}
html[data-theme="dark"] .custom-workout-assignment-card,html[data-theme="dark"] .custom-workout-assignment-relationship label,html[data-theme="dark"] .custom-workout-assignment-row,body.dark .custom-workout-assignment-card,body.dark .custom-workout-assignment-relationship label,body.dark .custom-workout-assignment-row{background:#0d2749;color:#f4f7fb;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .custom-workout-assignment-boundary,body.dark .custom-workout-assignment-boundary{background:#0a1f3c;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .custom-workout-assignment-card>p,html[data-theme="dark"] .custom-workout-assignment-boundary span,html[data-theme="dark"] .custom-workout-assignment-relationship small,html[data-theme="dark"] .custom-workout-assignment-row span,html[data-theme="dark"] .custom-workout-assignment-row small,html[data-theme="dark"] .custom-workout-assignment-empty span,body.dark .custom-workout-assignment-card>p,body.dark .custom-workout-assignment-boundary span,body.dark .custom-workout-assignment-relationship small,body.dark .custom-workout-assignment-row span,body.dark .custom-workout-assignment-row small,body.dark .custom-workout-assignment-empty span{color:#c8d5e8}
@media(max-width:620px){.custom-workout-card-actions{flex-wrap:wrap}.custom-workout-card-actions .button{flex:1 1 100%}.custom-workout-assignment-row{display:grid}.custom-workout-assignment-row .button{width:100%}.custom-workout-assignment-card{width:min(100vw - 18px,760px)}}
.custom-workout-plan-note{display:block;margin-top:6px;padding:8px 10px;border-radius:9px;background:rgba(74,114,184,.09);color:var(--muted,#667085);font-size:.84rem;line-height:1.4}.planner-component-status.custom{background:rgba(74,114,184,.12)}html[data-theme="dark"] .custom-workout-plan-note,body.dark .custom-workout-plan-note{background:rgba(156,183,224,.12);color:#c8d5e8}

/* v6.41.2.1 shared runtime toast used by custom workout and existing platform actions. */
.nuzlab-platform-toast{position:fixed;left:50%;bottom:max(24px,calc(env(safe-area-inset-bottom,0px) + 16px));z-index:10050;max-width:min(560px,calc(100vw - 32px));transform:translate(-50%,18px);opacity:0;pointer-events:none;padding:12px 16px;border-radius:12px;background:var(--surface,#fff);color:var(--text,#14213d);border:1px solid var(--border,#d7deea);box-shadow:0 14px 40px rgba(15,23,42,.2);font-weight:700;line-height:1.35;transition:opacity .18s ease,transform .18s ease}
.nuzlab-platform-toast.show{opacity:1;transform:translate(-50%,0)}
html[data-theme="dark"] .nuzlab-platform-toast,body.dark .nuzlab-platform-toast{background:#111827;color:#f8fafc;border-color:#334155;box-shadow:0 14px 40px rgba(0,0,0,.45)}
@media (max-width:640px){.nuzlab-platform-toast{left:16px;right:16px;max-width:none;transform:translateY(18px);text-align:center}.nuzlab-platform-toast.show{transform:translateY(0)}}


/* v6.41.2.3 — collapse reusable custom workouts under their NuzLab module. */
.custom-workout-module-groups{display:grid;gap:12px}
.custom-workout-module-group{overflow:hidden;border:1px solid var(--surface-line,var(--line,rgba(111,139,180,.28)));border-radius:14px;background:var(--surface,var(--card-bg,#fff));color:var(--text,inherit)}
.custom-workout-module-group>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;min-width:0;user-select:none}
.custom-workout-module-group>summary::-webkit-details-marker{display:none}
.custom-workout-module-group>summary::marker{content:""}
.custom-workout-module-summary-main{display:grid;gap:2px;min-width:0}.custom-workout-module-summary-main .eyebrow{font-size:.68rem;letter-spacing:.11em}.custom-workout-module-summary-main b{font-size:1.05rem;line-height:1.2}
.custom-workout-module-summary-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;color:var(--muted,#667085);font-size:.86rem;font-weight:700;text-align:right}.custom-workout-module-summary-meta>span:first-child{min-width:0}.custom-workout-module-chevron{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:28px;border-radius:999px;border:1px solid var(--line,#d8dee8);font-size:1.1rem;line-height:1;transition:transform .16s ease}
.custom-workout-module-group[open] .custom-workout-module-chevron{transform:rotate(180deg)}
.custom-workout-module-body{padding:16px;border-top:1px solid var(--surface-line,var(--line,rgba(111,139,180,.22)))}
.custom-workout-module-group[open]>summary{background:var(--panel,var(--panel2,rgba(111,139,180,.06)))}
html[data-theme="dark"] .custom-workout-module-group,body.dark .custom-workout-module-group{background:#0d2749;color:#f4f7fb;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .custom-workout-module-group[open]>summary,body.dark .custom-workout-module-group[open]>summary{background:#0a1f3c}
html[data-theme="dark"] .custom-workout-module-summary-meta,body.dark .custom-workout-module-summary-meta{color:#c8d5e8}
html[data-theme="dark"] .custom-workout-module-chevron,body.dark .custom-workout-module-chevron{border-color:rgba(156,183,224,.28)}
@media(max-width:620px){.custom-workout-module-group>summary{align-items:flex-start;padding:14px}.custom-workout-module-summary-meta{flex:0 1 auto;gap:8px;font-size:.8rem}.custom-workout-module-body{padding:12px}}

/* v6.41.3 fixed-date assignment + hybrid fill-around */
.custom-workout-assignment-placement{display:grid;gap:9px;padding:14px;border:1px solid var(--line,#d8dee8);border-radius:12px}
.custom-workout-assignment-placement legend{padding:0 6px;font-weight:800}
.custom-workout-assignment-placement label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:flex-start;padding:11px;border:1px solid var(--line,#d8dee8);border-radius:10px;background:var(--surface,#fff)}
.custom-workout-assignment-placement input{width:auto;margin-top:4px}
.custom-workout-assignment-placement span{display:grid;gap:3px}
.custom-workout-assignment-placement small,.custom-workout-assignment-date small{font-weight:500;color:var(--muted,#667085);line-height:1.4}
.custom-workout-assignment-date{display:grid;gap:6px;font-weight:700}
.custom-workout-assignment-date[hidden]{display:none!important}
.custom-workout-assignment-date input[type=date]{width:100%;min-width:0;box-sizing:border-box}
html[data-theme="dark"] .custom-workout-assignment-placement label,body.dark .custom-workout-assignment-placement label{background:#0d2749;color:#f4f7fb;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .custom-workout-assignment-placement small,html[data-theme="dark"] .custom-workout-assignment-date small,body.dark .custom-workout-assignment-placement small,body.dark .custom-workout-assignment-date small{color:#c8d5e8}
@media(max-width:620px){.custom-workout-assignment-placement,.custom-workout-assignment-relationship{padding:11px}.custom-workout-assignment-placement label,.custom-workout-assignment-relationship label{padding:10px}.custom-workout-assignment-date input[type=date]{font-size:16px}}

/* v6.41.3.1 — keep custom/fixed workout details readable inside narrow Training Plan day cards. */
.planner-component.status-custom .planner-component-detail{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:start!important}
.planner-component.status-custom .planner-component-copy{min-width:0!important;width:100%!important}
.planner-component.status-custom .planner-component-actions{justify-self:start!important;width:auto!important;max-width:100%!important}
.planner-component.status-custom .custom-workout-plan-note{display:block;width:auto;max-width:100%;padding:6px 8px;font-size:.78rem;line-height:1.3;overflow-wrap:normal;word-break:normal;white-space:normal}
@media(max-width:760px){.planner-component.status-custom .planner-component-detail{grid-template-columns:minmax(0,1fr)!important}.planner-component.status-custom .custom-workout-plan-note{font-size:.76rem}}


/* v6.41.3.2 — target the actual custom component class so fixed-anchor detail gets the full card width. */
.planner-component.custom-workout-component .planner-component-detail{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:start!important}
.planner-component.custom-workout-component .planner-component-copy{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;width:100%!important;max-width:100%!important}
.planner-component.custom-workout-component .planner-component-actions{justify-self:start!important;width:auto!important;max-width:100%!important;margin-top:0!important}
.planner-component.custom-workout-component .custom-workout-plan-note{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:6px 7px!important;font-size:.76rem!important;line-height:1.28!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important}
@media(max-width:760px){.planner-component.custom-workout-component .planner-component-detail{grid-template-columns:minmax(0,1fr)!important}.planner-component.custom-workout-component .custom-workout-plan-note{font-size:.74rem!important}}

/* v6.41.3.3 — compact fixed-anchor treatment for narrow weekly plan columns */
.planner-component.custom-workout-component .planner-component-detail{padding-left:8px!important;padding-right:8px!important;margin-left:0!important;margin-right:0!important}
.planner-component.custom-workout-component .planner-component-copy{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
.planner-component.custom-workout-component .planner-component-advanced{width:100%!important;max-width:100%!important;min-width:0!important}
.custom-workout-fixed-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:2px 5px;border-radius:999px;background:rgba(74,114,184,.12);color:var(--muted,#667085);font-size:.58rem;font-weight:800;line-height:1;letter-spacing:.04em;white-space:nowrap}
html[data-theme="dark"] .custom-workout-fixed-badge,body.dark .custom-workout-fixed-badge{background:rgba(156,183,224,.16);color:#d7e1ef}
@media(max-width:760px){.custom-workout-fixed-badge{font-size:.56rem;padding:2px 4px}}


/* v6.41.3.4 — keep the FIXED badge inside the narrow custom-workout summary. */
.planner-component.custom-workout-component .planner-component-summary{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:6px!important;row-gap:4px!important;align-items:center!important}
.planner-component.custom-workout-component .planner-component-mark{grid-column:1!important;grid-row:1 / span 2!important;align-self:start!important}
.planner-component.custom-workout-component .planner-component-title{grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
.planner-component.custom-workout-component .custom-workout-fixed-badge{grid-column:2!important;grid-row:2!important;justify-self:start!important;max-width:100%!important}
.planner-component.custom-workout-component .planner-component-toggle{grid-column:3!important;grid-row:1 / span 2!important;align-self:center!important}

/* v6.41.3.5 — future custom-assignment version updates */
.custom-workout-status.update{background:rgba(67,113,201,.14);color:var(--text,inherit)}
.custom-workout-update-action{border-color:rgba(67,113,201,.35)}
.custom-workout-update-available{display:inline-flex;width:max-content;max-width:100%;padding:3px 7px;border-radius:999px;background:rgba(67,113,201,.12);font-size:.76rem;color:var(--text,inherit)}
.custom-workout-assignment-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.custom-workout-version-update-card{width:min(820px,calc(100vw - 28px));max-height:min(90vh,920px);overflow:auto;background:var(--surface,var(--card-bg,#fff));color:var(--text,inherit)}
.custom-workout-version-update-card h2{margin:.25rem 0}.custom-workout-version-update-card>p{margin:.35rem 0 16px;color:var(--muted,#667085);line-height:1.5}
.custom-workout-version-update-preview,.custom-workout-version-update-list{display:grid;gap:10px;margin:14px 0}
.custom-workout-version-update-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:start;padding:12px;border:1px solid var(--line,#d8dee8);border-radius:12px;background:var(--surface,#fff)}
.custom-workout-version-update-row>div{display:grid;gap:3px;min-width:0}.custom-workout-version-update-row>div>span,.custom-workout-version-update-row>div>small{color:var(--muted,#667085)}
.custom-workout-version-update-check{padding-top:2px}.custom-workout-version-update-check input{width:auto}
.custom-workout-version-update-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:7px}
.custom-workout-version-update-facts>span{display:grid;gap:2px;padding:8px 9px;border-radius:9px;background:var(--panel,#f6f8fb);font-size:.82rem;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.custom-workout-version-update-facts strong{font-size:.74rem;letter-spacing:.04em;text-transform:uppercase}
.custom-workout-version-update-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:16px}
html[data-theme="dark"] .custom-workout-version-update-card,html[data-theme="dark"] .custom-workout-version-update-row,body.dark .custom-workout-version-update-card,body.dark .custom-workout-version-update-row{background:#0d2749;color:#f4f7fb;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .custom-workout-version-update-card>p,html[data-theme="dark"] .custom-workout-version-update-row>div>span,html[data-theme="dark"] .custom-workout-version-update-row>div>small,body.dark .custom-workout-version-update-card>p,body.dark .custom-workout-version-update-row>div>span,body.dark .custom-workout-version-update-row>div>small{color:#c8d5e8}
html[data-theme="dark"] .custom-workout-version-update-facts>span,body.dark .custom-workout-version-update-facts>span{background:#0a1f3c}
@media(max-width:620px){.custom-workout-version-update-card{width:min(100vw - 18px,820px)}.custom-workout-version-update-facts{grid-template-columns:1fr}.custom-workout-version-update-actions,.custom-workout-assignment-row-actions{display:grid;grid-template-columns:1fr}.custom-workout-version-update-actions .button,.custom-workout-assignment-row-actions .button{width:100%}}

/* v6.41.4 — Coach-Planned periods & full-plan locking */
.planner-coach-plan-button.active{font-weight:800}
.planner-coach-planned-status{margin:14px 0;padding:16px;border:1px solid var(--line,#d8dee8);border-radius:16px;background:var(--surface,#fff);color:var(--text,inherit)}
.planner-coach-planned-status.attention{border-style:solid}
.planner-coach-planned-status-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.planner-coach-planned-status-head h2{margin:.2rem 0 .35rem;font-size:1.1rem}.planner-coach-planned-status-head p{margin:0;color:var(--muted,#667085);line-height:1.45;max-width:760px}
.planner-coach-planned-period-list{display:grid;gap:9px;margin-top:12px}.planner-coach-planned-period-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px 12px;border:1px solid var(--line,#d8dee8);border-radius:12px;background:var(--panel,#f6f8fb)}
.planner-coach-planned-period-list article>div{display:grid;gap:2px;min-width:0}.planner-coach-planned-period-list b{font-size:.95rem}.planner-coach-planned-period-list span,.planner-coach-planned-period-list small{color:var(--muted,#667085);font-size:.82rem}.planner-coach-planned-period-list strong{align-self:start;font-size:.7rem;letter-spacing:.06em}.planner-coach-planned-period-list ul{grid-column:1/-1;margin:2px 0 0;padding-left:18px;font-size:.85rem;line-height:1.4}
.planner-day-locked-label.coach-planned{display:inline-flex;align-items:center;max-width:100%;font-size:.65rem;letter-spacing:.04em;white-space:nowrap}.planner-day-card.coach-planned{outline:1px solid var(--line,#d8dee8);outline-offset:-1px}.planner-coach-planned-day-note{display:grid;gap:2px;margin:8px 0;padding:7px 8px;border-radius:9px;background:var(--panel,#f6f8fb);font-size:.76rem}.planner-coach-planned-day-note b{text-transform:uppercase;letter-spacing:.05em}.planner-coach-planned-day-note span{color:var(--muted,#667085);line-height:1.35}
.planner-coach-planned-overlay{z-index:10030}.planner-coach-planned-card{width:min(900px,calc(100vw - 28px));max-height:min(92vh,980px);overflow:auto;background:var(--surface,var(--card-bg,#fff));color:var(--text,inherit)}.planner-coach-planned-card h2{margin:.2rem 0}.planner-coach-planned-lead{margin:.35rem 0 16px;color:var(--muted,#667085);line-height:1.5}.planner-coach-planned-existing,.planner-coach-planned-form{display:grid;gap:10px;margin-top:14px}.planner-coach-planned-section-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.planner-coach-planned-section-head>b{font-size:1rem}.planner-coach-planned-section-head>span{font-size:.78rem;color:var(--muted,#667085)}
.planner-coach-planned-manage-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:13px;border:1px solid var(--line,#d8dee8);border-radius:12px;background:var(--panel,#f6f8fb)}.planner-coach-planned-manage-row>div:first-child{min-width:0}.planner-coach-planned-manage-row span{font-size:.68rem;font-weight:800;letter-spacing:.06em}.planner-coach-planned-manage-row h3{margin:.2rem 0 .25rem;font-size:1rem}.planner-coach-planned-manage-row p{margin:0;color:var(--muted,#667085);font-size:.85rem}.planner-coach-planned-manage-row ul{margin:8px 0 0;padding-left:18px;font-size:.84rem;line-height:1.4}.planner-coach-planned-manage-actions{display:flex;gap:8px;align-self:center;flex-wrap:wrap;justify-content:flex-end}.planner-coach-planned-empty{display:grid;gap:4px;padding:14px;border:1px dashed var(--line,#d8dee8);border-radius:12px}.planner-coach-planned-empty span{color:var(--muted,#667085)}
.planner-coach-planned-form{padding-top:14px;border-top:1px solid var(--line,#d8dee8)}.planner-coach-planned-form>p{margin:0;color:var(--muted,#667085);line-height:1.45}.planner-coach-planned-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.planner-coach-planned-form label{display:grid;gap:6px;font-weight:700}.planner-coach-planned-form input,.planner-coach-planned-form textarea{width:100%;min-width:0;box-sizing:border-box}.planner-coach-planned-boundary{display:grid;gap:3px;padding:11px 12px;border-radius:10px;background:var(--panel,#f6f8fb);font-size:.85rem}.planner-coach-planned-boundary span{color:var(--muted,#667085);line-height:1.4}.planner-coach-planned-form-actions{display:flex;justify-content:flex-end}
html[data-theme="dark"] .planner-coach-planned-status,html[data-theme="dark"] .planner-coach-planned-card,body.dark .planner-coach-planned-status,body.dark .planner-coach-planned-card{background:#0d2749;color:#f4f7fb;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .planner-coach-planned-period-list article,html[data-theme="dark"] .planner-coach-planned-day-note,html[data-theme="dark"] .planner-coach-planned-manage-row,html[data-theme="dark"] .planner-coach-planned-boundary,body.dark .planner-coach-planned-period-list article,body.dark .planner-coach-planned-day-note,body.dark .planner-coach-planned-manage-row,body.dark .planner-coach-planned-boundary{background:#0a1f3c;border-color:rgba(156,183,224,.24)}
html[data-theme="dark"] .planner-coach-planned-status-head p,html[data-theme="dark"] .planner-coach-planned-period-list span,html[data-theme="dark"] .planner-coach-planned-period-list small,html[data-theme="dark"] .planner-coach-planned-day-note span,html[data-theme="dark"] .planner-coach-planned-lead,html[data-theme="dark"] .planner-coach-planned-manage-row p,html[data-theme="dark"] .planner-coach-planned-section-head>span,html[data-theme="dark"] .planner-coach-planned-form>p,html[data-theme="dark"] .planner-coach-planned-boundary span,body.dark .planner-coach-planned-status-head p,body.dark .planner-coach-planned-period-list span,body.dark .planner-coach-planned-period-list small,body.dark .planner-coach-planned-day-note span,body.dark .planner-coach-planned-lead,body.dark .planner-coach-planned-manage-row p,body.dark .planner-coach-planned-section-head>span,body.dark .planner-coach-planned-form>p,body.dark .planner-coach-planned-boundary span{color:#c8d5e8}
@media(max-width:760px){.planner-coach-planned-status-head,.planner-coach-planned-manage-row{grid-template-columns:1fr;display:grid}.planner-coach-planned-status-head .button{width:100%}.planner-coach-planned-period-list article{grid-template-columns:1fr}.planner-coach-planned-range{grid-template-columns:1fr}.planner-coach-planned-manage-actions,.planner-coach-planned-form-actions{display:grid;grid-template-columns:1fr}.planner-coach-planned-manage-actions .button,.planner-coach-planned-form-actions .button{width:100%}.planner-day-locked-label.coach-planned{font-size:.6rem;white-space:normal;line-height:1.15;text-align:left}}


/* v6.41.4.1 — held Recovery badge layout hotfix */
.planner-day-card.progress-held .planner-day-head>div{min-width:0;max-width:68%;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.planner-day-card.progress-held .planner-day-achievement.held{max-width:100%;box-sizing:border-box;white-space:normal;line-height:1.15;text-align:center;overflow-wrap:anywhere}
@media(max-width:760px){.planner-day-card.progress-held .planner-day-head>div{max-width:66%}.planner-day-card.progress-held .planner-day-achievement.held{font-size:.62rem}}


/* v6.41.4.3 — Coach-Planned day header containment */
.planner-day-card.coach-planned .planner-day-head.coach-planned-head{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"date progress" "coach coach";
  align-items:start;
  gap:6px 8px;
  min-width:0;
}
.planner-day-card.coach-planned .planner-day-head.coach-planned-head>b{
  grid-area:date;
  min-width:0;
}
.planner-day-card.coach-planned .planner-day-head.coach-planned-head>.planner-day-achievement{
  grid-area:progress;
  justify-self:end;
  align-self:start;
  max-width:100%;
  box-sizing:border-box;
  white-space:nowrap;
}
.planner-day-card.coach-planned .planner-day-coach-lock-row{
  grid-area:coach;
  min-width:0;
  width:100%;
  max-width:none !important;
  display:block !important;
}
.planner-day-card.coach-planned .planner-day-coach-lock-row .planner-day-locked-label.coach-planned{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  justify-content:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
}
.planner-day-card.coach-planned.progress-held .planner-day-head.coach-planned-head>div{
  width:100%;
  max-width:none;
  align-items:stretch;
}
@media(max-width:760px){
  .planner-day-card.coach-planned .planner-day-head.coach-planned-head{
    gap:5px 6px;
  }
  .planner-day-card.coach-planned .planner-day-head.coach-planned-head>.planner-day-achievement{
    font-size:.6rem;
  }
  .planner-day-card.coach-planned .planner-day-coach-lock-row .planner-day-locked-label.coach-planned{
    font-size:.58rem;
    line-height:1.15;
  }
}

/* v6.41.5 — reusable multi-week training blocks */
.custom-workout-create-actions{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}
.custom-workout-blocks-section,.custom-workout-single-section{display:grid;gap:.8rem;margin-top:.95rem}
.custom-workout-single-section{padding-top:.35rem;border-top:1px solid var(--line,#d8e2ee)}
.custom-workout-blocks-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}
.custom-workout-blocks-head>div{display:grid;gap:.18rem;min-width:0}
.custom-workout-blocks-head h3{margin:0;color:var(--ink,#0b1d39);font-size:1.05rem}
.custom-workout-blocks-head p{margin:0;color:var(--muted,#63748d);max-width:66rem}
.custom-workout-blocks-head>span{white-space:nowrap;color:var(--muted,#63748d);font-size:.78rem;font-weight:800}
.custom-workout-block-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem}
.custom-workout-block-card{display:grid;gap:.65rem;padding:1rem;border:1px solid var(--line,#d8e2ee);border-radius:16px;background:var(--surface,#fff);min-width:0}
.custom-workout-block-card p{margin:0;color:var(--muted,#63748d)}
.custom-workout-block-card>small{color:var(--muted,#63748d)}
.custom-workout-block-facts{display:flex;gap:.4rem;flex-wrap:wrap}
.custom-workout-block-facts span{padding:.28rem .5rem;border-radius:999px;background:#edf3f8;color:#496078;font-size:.72rem;font-weight:800}
.custom-workout-empty.compact{margin:0}
.custom-workout-block-editor{width:min(980px,calc(100vw - 1.5rem));max-height:min(92vh,980px);overflow:auto}
.custom-workout-block-steps-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.9rem 0 .55rem}
.custom-workout-block-steps-head>div{display:grid;gap:.15rem}.custom-workout-block-steps-head span{font-size:.78rem;color:var(--muted,#63748d)}
#customWorkoutBlockSteps{display:grid;gap:.75rem}
.custom-workout-block-step{display:grid;gap:.6rem;padding:.85rem;border:1px solid var(--line,#d8e2ee);border-radius:14px;background:#f8fbfe}
.custom-workout-block-step-head{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.custom-workout-block-step-head b{color:var(--ink,#0b1d39)}
.custom-workout-block-step-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}.custom-workout-block-step-grid.repeat{grid-template-columns:150px 150px minmax(0,1fr)}
.custom-workout-block-step-grid .wide{min-width:0}.custom-workout-block-step label{display:grid;gap:.25rem;min-width:0}.custom-workout-block-step small{color:var(--muted,#63748d)}
.custom-workout-block-assignment-card{width:min(860px,calc(100vw - 1.5rem));max-height:min(92vh,920px);overflow:auto}
.custom-workout-block-assignment-row details{margin-top:.35rem}.custom-workout-block-assignment-row summary{cursor:pointer;color:var(--muted,#63748d);font-size:.76rem;font-weight:800}
.custom-workout-block-child-list{display:grid;gap:.3rem;margin-top:.35rem}.custom-workout-block-child-list>span{display:grid;gap:.06rem;padding:.38rem .48rem;border-radius:9px;background:#f4f7fa}.custom-workout-block-child-list small{color:var(--muted,#63748d)}
html[data-theme="dark"] .custom-workout-block-card,body.dark .custom-workout-block-card{background:#101d2d;border-color:#2b4059}
html[data-theme="dark"] .custom-workout-blocks-head h3,body.dark .custom-workout-blocks-head h3,html[data-theme="dark"] .custom-workout-block-step-head b,body.dark .custom-workout-block-step-head b{color:#eef6ff}
html[data-theme="dark"] .custom-workout-block-facts span,body.dark .custom-workout-block-facts span{background:#1c3047;color:#bed0e4}
html[data-theme="dark"] .custom-workout-block-step,body.dark .custom-workout-block-step,html[data-theme="dark"] .custom-workout-block-child-list>span,body.dark .custom-workout-block-child-list>span{background:#132338;border-color:#2b4059}
@media(max-width:720px){.custom-workout-create-actions{width:100%;justify-content:stretch}.custom-workout-create-actions .button{flex:1 1 160px}.custom-workout-blocks-head{align-items:flex-start;flex-direction:column;gap:.35rem}.custom-workout-block-step-grid,.custom-workout-block-step-grid.repeat{grid-template-columns:1fr 1fr}.custom-workout-block-step-grid .wide{grid-column:1/-1}.custom-workout-block-steps-head{align-items:flex-start;flex-direction:column}.custom-workout-block-steps-head .button{width:100%}}
@media(max-width:460px){.custom-workout-block-step-grid,.custom-workout-block-step-grid.repeat{grid-template-columns:1fr}.custom-workout-block-step-grid .wide{grid-column:auto}.custom-workout-block-card{padding:.8rem}.custom-workout-block-assignment-row{align-items:stretch;flex-direction:column}.custom-workout-block-assignment-row>.button{width:100%}}
