/* Notebook-output tables follow the theme's colors, in both light and dark.
 *
 * myst-nb hardcodes the light zebra stripe for tables inside a cell output
 * (`div.cell_output tbody tr:nth-child(odd) { background: #f5f5f5 }`) with no
 * dark variant, so in dark mode those rows stay white under light text. Its
 * selector outranks the theme's own striping, which is correct in both themes,
 * so the odd row is reclaimed with the same selector resolving the theme
 * variable. This sheet loads after myst-nb's.
 *
 * The hover rule must follow, and is not redundant: myst-nb's own
 * `div.cell_output tbody tr:hover` carries the same specificity as the stripe
 * rule above, so without this the later stripe rule would win on a hovered odd
 * row and only even rows would highlight.
 */
div.cell_output tbody tr:nth-child(odd) {
  background: var(--pst-color-table-row-zebra-low-bg);
}

div.cell_output tbody tr:hover {
  background: var(--pst-color-table-row-hover-bg);
}
