/* Force opaque background for the sticky first column on all rows */
.matrix-table table td:first-child,
.matrix-table table th:first-child {
  background-color: #fcfcfc !important;
  background-image: none !important;
}

/* RTD zebra striping sometimes sets row backgrounds; ensure sticky column stays opaque */
.matrix-table table tbody tr:nth-child(even) td:first-child {
  background-color: #fcfcfc !important;
}
.matrix-table table tbody tr:nth-child(odd) td:first-child {
  background-color: #f3f6f6 !important;
}

/* Keep sticky layering correct */
.matrix-table table td:first-child,
.matrix-table table th:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  box-shadow: 2px 0 0 rgba(0,0,0,0.08);
}
.matrix-table table thead th:first-child { z-index: 6; }
