/* Course-only readability: retain the shared chrome and desktop layout. */
.table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  contain: layout paint;
}

@media (max-width: 600px) {
  .figure-frame { padding: 8px; }
  .figure-caption { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .figure-caption .num { grid-column: 1; grid-row: 1; }
  .figure-caption .btn-sim { grid-column: 2; grid-row: 1; }
  .figure-caption .cap-text { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .table-scroll table.wide-course-table { min-width: 680px; }
  .table-scroll table.very-wide-course-table { min-width: 920px; }
}
