/* Keep teacher row editing reachable when the wide management table overflows. */
.table-wrap:has(.table td[data-label="Actions"]) th:last-child,
.table-wrap:has(.table td[data-label="Actions"]) td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 116px;
  background: var(--surface, #ffffff);
  box-shadow: -8px 0 12px rgba(15, 23, 42, 0.08);
}

.table-wrap:has(.table td[data-label="Actions"]) th:last-child {
  z-index: 3;
  background: var(--surface-muted, #f7faf7);
}
