/* Give the full original frame the largest useful area. Never crop the model. */
.exercise-detail .dialog-grid{grid-template-columns:minmax(0,1fr);gap:24px}
.exercise-detail .detail-visual{min-width:0}
.exercise-detail .dialog-media{background:#eeebed}
.exercise-detail .dialog-media>video{display:block;width:100%;height:auto;max-height:78vh;max-height:78dvh;object-fit:contain;object-position:center}
.exercise-detail .phase-viewport{max-height:78vh;max-height:78dvh}
.exercise-detail .phase-viewport img{max-height:74vh;max-height:74dvh}
.exercise-detail .dialog-copy{padding-top:0}
#activeSession:not(:fullscreen){grid-template-columns:minmax(0,1fr)}
#activeSession:not(:fullscreen) .session-media>video{display:block;width:100%;height:auto;max-height:78vh;max-height:78dvh;object-fit:contain;object-position:center}
#activeSession:not(:fullscreen) .phase-viewport{max-height:78vh;max-height:78dvh}
#activeSession:not(:fullscreen) .phase-viewport img{max-height:74vh;max-height:74dvh}
#activeSession:fullscreen{grid-template-columns:minmax(0,3fr) minmax(250px,.8fr)}
#activeSession:fullscreen .exercise-playback-controls{flex:0 0 auto;padding:6px 10px;font-size:.72rem}
@media(max-width:760px){
 .exercise-detail .dialog-grid{gap:16px}
 .exercise-detail .dialog-media>video,#activeSession:not(:fullscreen) .session-media>video{max-height:70vh;max-height:70dvh}
 .exercise-detail .phase-viewport img,#activeSession:not(:fullscreen) .phase-viewport img{max-height:65vh;max-height:65dvh}
}
