/* Task 1291: keep the return action on the shared topic rail/card measure. */
.lesson-page .course-player-topbar {
  box-sizing: border-box !important;
  width: min(100%, 844px) !important;
  max-width: 844px !important;
  margin-inline: auto !important;
}

@media (min-width: 900px) {
  .lesson-page .yen-topic-workbook .lesson-session-tabs {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }

  .lesson-page .yen-topic-workbook .session-sheet-tab {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 899px) {
  .lesson-page .course-player-topbar {
    width: 100% !important;
    max-width: 100% !important;
  }

  .lesson-page .yen-topic-workbook .lesson-session-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}
