/* Syllabus grade bundles table: each grade row gets the same background
   color as in the Fall 2026 Course Resources Google Doc. The table is
   wrapped in a ::: {.grade-bundles} div in syllabus.qmd, and rows are
   matched by position (A, A-, B+, B, C+, C, D, F). Text is set dark so it
   stays readable on these light backgrounds. */
.grade-bundles table tbody tr > * {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  box-shadow: none;
  color: #212529;
}
.grade-bundles table tbody tr:nth-child(1) > * { background-color: #d9ead3; } /* A  */
.grade-bundles table tbody tr:nth-child(2) > * { background-color: #b6d7a8; } /* A- */
.grade-bundles table tbody tr:nth-child(3) > * { background-color: #d0e0e3; } /* B+ */
.grade-bundles table tbody tr:nth-child(4) > * { background-color: #a4c2f4; } /* B  */
.grade-bundles table tbody tr:nth-child(5) > * { background-color: #fce5cd; } /* C+ */
.grade-bundles table tbody tr:nth-child(6) > * { background-color: #f9cb9c; } /* C  */
.grade-bundles table tbody tr:nth-child(7) > * { background-color: #d9d2e9; } /* D  */
.grade-bundles table tbody tr:nth-child(8) > * { background-color: #f4cccc; } /* F  */

/* Keep the 9-column table inside the text column so it doesn't run under
   the right-hand table of contents: smaller text and padding, and a
   horizontal scrollbar on narrow screens instead of overflowing. */
.grade-bundles {
  overflow-x: auto;
}
.grade-bundles table {
  width: 100%;
  font-size: 0.8em;
}
.grade-bundles table th,
.grade-bundles table td {
  padding: 0.4rem 0.25rem;
  hyphens: auto;
}
