/* Shared course player: full-width toolbar in learner and author/admin shells.
   Match the rendered player so AJAX navigation does not depend on stale shell classes. */
.workspace #main:has(> .course-player[data-course-player]),
.learner-shell .workspace #main:has(> .course-player[data-course-player]) {
  width:100%;
  max-width:none;
  margin:0;
  padding-top:0;
  padding-left:0;
  padding-right:0;
}
.workspace #main > .course-player[data-course-player] {
  width:100%;
  max-width:none;
  margin-top:0;
  margin-left:0;
  margin-right:0;
}
.workspace #main > .course-player[data-course-player] > .course-player-top {
  width:100%;
  max-width:none;
  margin:0;
  border-radius:0;
}
