#weekly-schedule-print .weekly-schedule-scroll {
  overflow-x: auto;
  overflow-y: visible;
  max-height: none;
  overscroll-behavior: auto;
  scrollbar-gutter: stable;
}

@media (min-width: 768px) {
  #weekly-schedule-print .weekly-schedule-table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
  }

  #weekly-schedule-print .weekly-schedule-table th:first-child,
  #weekly-schedule-print .weekly-schedule-table td:first-child {
    width: 82px;
  }

  #weekly-schedule-print .weekly-schedule-day {
    width: calc((100% - 82px) / 7);
    min-width: 0 !important;
    padding: 0.55rem 0.2rem;
  }

  #weekly-schedule-print .weekly-schedule-cell {
    width: calc((100% - 82px) / 7);
    padding: 0.35rem;
  }

  #weekly-schedule-print .weekly-assignment-card {
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.3rem;
  }

  #weekly-schedule-print .weekly-assignment-name {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.12;
    font-size: 9px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}
