.fz-animation-editor{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(560px,calc(100% - 24px));max-height:90vh;max-height:90dvh;overflow:auto;padding:24px;background:var(--bg-secondary,#141419);color:var(--text-primary,#fff);border:1px solid var(--border-subtle,#404048);border-radius:20px;z-index:100030;box-shadow:0 20px 80px #0006}
.fz-animation-editor::backdrop{background:#000a}.fz-animation-editor h2{font-size:1.25rem;margin:0 0 12px}.fz-animation-editor p{line-height:1.55;font-size:.88rem}.fz-animation-editor label{display:block;margin-top:16px}.fz-animation-editor input{display:block;width:100%;box-sizing:border-box;padding:12px;margin-top:6px;background:var(--bg-primary,#09090c);color:var(--text-primary,#fff);border:1px solid var(--border-subtle,#555);border-radius:10px;font:inherit}.fz-animation-editor img{display:block;width:100%;max-height:320px;object-fit:contain;background:white;border-radius:12px}.fz-animation-editor img[hidden]{display:none}.fz-animation-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.fz-animation-actions button{min-height:44px;padding:10px 14px;border-radius:10px;font:inherit;cursor:pointer}.fz-animation-actions button:not(.btn-primary){border:1px solid var(--border-subtle,#555);background:var(--bg-primary,#09090c);color:var(--text-primary,#fff)}.fz-animation-actions button:disabled{opacity:.5;cursor:default}
.athlete-ex-guide-card{width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;padding:18px;box-sizing:border-box;min-height:70px;border:1px solid var(--border-subtle,#444);border-radius:14px;background:var(--bg-tertiary,#1c1c22);color:var(--text-primary,#fff);font:inherit;cursor:pointer}.athlete-ex-guide-card span{font-size:.8rem;color:var(--text-secondary,#bbb);line-height:1.5}.exercise-catalog-instructions{margin:12px 0;font-size:.85rem;line-height:1.6}.exercise-catalog-instructions summary{cursor:pointer;font-weight:650}.exercise-catalog-instructions ol{padding-left:20px}.exercise-gif-unavailable{display:block;line-height:1.5;margin:8px 0}

/* In list view the fallback guide occupies its own row, preserving room for reps and rest. */
.athlete-ex-middle-row:has(> .athlete-ex-guide-card){flex-wrap:wrap;align-items:flex-start}
.athlete-ex-middle-row:has(> .athlete-ex-guide-card) > .athlete-ex-middle-left{flex:1 1 100%;width:100%;min-width:0}
.athlete-ex-middle-row > .athlete-ex-guide-card{flex:1 1 100%;min-width:0;max-width:100%}
.athlete-ex-middle-row .athlete-detail-item{min-width:max-content}
