.cf-exercise-collage { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:3px; width:100%; aspect-ratio:16/10; overflow:hidden; border-radius:var(--radius-md); background:var(--cf-surface-muted); }
.cf-exercise-collage img { width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; background:var(--cf-surface); }
.cf-exercise-collage:is(.collage-0,.collage-1) { grid-template-columns:1fr; grid-template-rows:1fr; }
.cf-exercise-collage.collage-2 { grid-template-columns:repeat(2,1fr); grid-template-rows:1fr; }
.cf-exercise-collage.collage-3 { grid-template-rows:1fr; }
.cf-exercise-collage.collage-4 { grid-template-columns:repeat(2,1fr); }
.cf-exercise-collage.collage-5 img:first-child { grid-row:span 2; }
.cf-product .community-content-card .community-card-footer { display:grid; grid-template-columns:repeat(auto-fit,minmax(0,1fr)); align-items:stretch; gap:var(--space-2); }
.cf-product .community-content-card .community-card-footer a { min-width:0; min-height:44px; justify-content:center; padding:var(--space-2); border:1px solid var(--cf-border); border-radius:var(--radius-sm); background:var(--cf-surface-muted); text-align:center; overflow-wrap:anywhere; }
.cf-product .community-card-cover .cf-exercise-collage { position:absolute; inset:0; height:100%; aspect-ratio:auto; border-radius:0; }
.public-program-cover .cf-exercise-collage { height:100%; aspect-ratio:auto; }
.program-card > .cf-exercise-collage { margin-bottom:var(--space-3); }
.cf-exercise-photo { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; border-radius:var(--radius-md); background:var(--cf-surface); margin-bottom:var(--space-3); }
.workout-hero > .cf-exercise-collage { margin-bottom:var(--space-4); max-height:320px; }
.coaching-page-home .compact-history:has(.cf-exercise-collage) { grid-template-columns:repeat(3,minmax(0,1fr)); }
.coaching-page-home .compact-history > a:has(.cf-exercise-collage) { display:flex; flex-direction:column; align-items:stretch; padding:var(--space-3); border:1px solid var(--cf-border); border-radius:var(--radius-md); background:var(--cf-surface); }
.home-program-preview { width:100%; transform:rotate(-3deg); padding:12px; background:var(--cf-surface); border-radius:20px; box-shadow:0 18px 50px var(--cf-shadow-color); }
.home-program-preview > span { display:block; padding:12px; text-align:center; font-weight:700; }
.home-hero { min-height:360px; }
.home-section { margin-top:32px; }
.cf-disclosure { border-top:1px solid var(--cf-border); margin-block:var(--space-3); min-width:0; }
.cf-disclosure > summary { cursor:pointer; min-height:44px; padding:12px 4px; color:var(--cf-primary-800); font-weight:600; }
.cf-disclosure > .cf-disclosure-body { padding-block:var(--space-3); }
.cf-disclosure-body > :first-child { margin-top:0; }
.cf-disclosure-body > :last-child { margin-bottom:0; }
.cf-more-actions { position:relative; margin-inline-start:auto; }
.cf-more-actions > summary { display:grid; place-items:center; width:44px; height:44px; cursor:pointer; list-style:none; border:1px solid var(--cf-border); border-radius:var(--radius-md); }
.cf-more-actions > summary::-webkit-details-marker { display:none; }
.cf-more-actions > div { position:absolute; z-index:40; inset-inline-end:0; display:grid; gap:8px; padding:12px; width:220px; max-width:calc(100vw - 48px); background:var(--cf-surface); border:1px solid var(--cf-border); border-radius:var(--radius-md); box-shadow:var(--shadow-md); }
.cf-more-actions .cf-btn { width:100%; }
.cf-choice-photo { width:80px; height:80px; object-fit:contain; border-radius:12px; background:var(--cf-surface); }
.sp-check-grid > label { display:flex; flex-direction:column; align-items:center; gap:8px; position:relative; border:1px solid var(--cf-border); border-radius:12px; padding:12px; }
.sp-check-grid > label:has(input:checked) { border-color:var(--cf-primary-800); background:var(--cf-surface-muted); }
.sp-check-grid > label input { position:absolute; inset-inline-start:10px; top:10px; }
.sp-exercises label { align-items:center; gap:12px; }
.cf-body-picker { display:grid; grid-template-columns:minmax(120px,200px) minmax(0,1fr); gap:20px; align-items:center; margin-bottom:20px; }
.cf-body-picker svg { width:100%; max-height:300px; }
.cf-body-views { display:flex; text-align:center; }
.cf-body-picker svg path:not(:first-of-type) { cursor:pointer; }
.cf-body-options { display:flex; flex-wrap:wrap; gap:8px; }
.cf-body-options strong { width:100%; }
.cf-body-options [aria-pressed="true"] { background:var(--cf-primary-800); color:var(--cf-text); }
.spd-exercises > article { display:block; min-width:0; }
.spd-days > section > .cf-exercise-collage { max-height:240px; margin-bottom:16px; }
.cf-person-identity { display:flex; align-items:center; gap:16px; }
.cf-person-photo,.athlete-avatar img { width:80px; height:80px; border-radius:50%; object-fit:cover; }
.cf-record-photo { width:64px; height:64px; object-fit:contain; border-radius:12px; }
.coaching-page .record { align-items:center; }
.coaching-page .record > span { flex:1; }
.active-programs > article > .cf-exercise-collage { width:180px; flex-shrink:0; }
.cf-table-cards td > .cf-exercise-collage { width:140px; margin-bottom:8px; }
.home-hero-copy .hero-label,.hero-account > span,.home-cta p { display:none; }
.cf-main:has(.home-hero) { display:flex; flex-direction:column; }
.home-hero { order:0; }
.programs-section { order:1; }
.benefits-section { order:2; }
.home-cta { order:3; }
.benefits-grid .cf-exercise-photo { height:150px; }
.coaching-page .athlete-avatar { width:80px; height:80px; background:transparent; }
.cf-product .workout-session-exercise-header { grid-template-columns:minmax(160px,240px) minmax(0,1fr) auto; }
.workout-session-media { width:100%; height:auto; aspect-ratio:4/3; }
.workout-session-media :is(img,video) { object-fit:contain; }
.workout-session-set .cf-disclosure { grid-column:1/-1; margin:0; }
.workout-session-set .cf-disclosure-body { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.workout-session-exercise-progress { display:block; }
.cf-visual-chart { display:grid; gap:12px; padding:20px; }
.cf-chart-bars { display:flex; align-items:end; gap:10px; height:180px; border-bottom:1px solid var(--cf-border); }
.cf-chart-bar { display:flex; flex:1; flex-direction:column; justify-content:end; align-items:center; height:100%; min-width:0; gap:6px; text-decoration:none; color:var(--cf-text-secondary); font-size:11px; }
.cf-chart-bar i { display:block; width:100%; max-width:48px; min-height:3px; border-radius:8px 8px 0 0; background:var(--cf-primary-800); }
.cf-chart-bar span { overflow-wrap:anywhere; }
.cf-activity-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }
.cf-activity-day { padding:10px 4px; text-align:center; border-radius:8px; background:var(--cf-surface-muted); }
.cf-activity-day.is-active { background:var(--cf-primary-800); color:var(--cf-text); }
.cf-chart-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-block:20px; }
.pb-record-status[data-state="saved"] { font-size:0; }
.pb-record-status[data-state="saved"]::after { content:'✓'; font-size:14px; }
.pb-set-card-header:has(.pb-set-details[open]) > .pb-set-details { grid-column:1/-1; grid-row:2; }
.exercise-library-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.exercise-card-media :is(img,video),.program-exercise-collage img { object-fit:contain; background:var(--cf-surface); }
.exercise-card-meta { margin-top:6px; }
.exercise-card-body { padding:12px; }
.public-program-description { -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:767px) {
 .cf-product .cf-secondary-navigation-menu { width:min(1200px,100%); margin-inline:auto; padding-inline:var(--space-4); }
 .cf-product .cf-secondary-navigation-menu > .cf-disclosure-body { padding-block:0; }
 .cf-product .cf-secondary-navigation-menu .cf-secondary-nav { width:auto; padding-inline:0; border-block-end:0; }
 .coaching-page-home .compact-history:has(.cf-exercise-collage),.cf-chart-grid { grid-template-columns:1fr; }
 .cf-product .workout-session-exercise-header { grid-template-columns:1fr; }
 .workout-session-media { max-height:260px; }
 .workout-session-set .cf-disclosure-body { grid-template-columns:1fr; }
 .exercise-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .exercise-names h2 { font-size:14px; }
 .library-filters { grid-template-columns:1fr; }
 .cf-visual-chart { padding:14px; }
 .active-programs > article > .cf-exercise-collage { width:100%; }
}
