@scope (.report-table) {
  .table-scroll {
    overflow-x: auto;
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    margin-bottom: var(--space-xl);
    max-width: 100%;
  }

  .data-table {
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--text-base);
  }

  .data-table th,
  .data-table td {
    white-space: nowrap;
    border-bottom: 1px solid var(--color-border-muted);
    border-right: 1px solid var(--color-border-muted);
    padding: var(--space-md) var(--space-md);
  }

  .data-table th {
    text-align: left;
    font-weight: var(--font-semibold);
    color: var(--color-text-secondary);
    font-size: var(--text-caption);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
  }

  /* Sticky first column (SDR name) */
  .sticky-col {
    position: sticky;
    left: 0;
    z-index: var(--z-10);
    background: var(--color-surface);
    border-right: 2px solid var(--color-border) !important;
  }

  /* Ensure sticky column header is above other headers if they overlap */
  thead th.sticky-col {
    z-index: var(--z-30);
    background: var(--color-surface);
  }

  /* Group headers styling */
  .group-header {
    text-align: center !important;
    background: var(--color-surface-muted);
    border-left: 1px solid var(--color-border-muted);
  }

  .day-header {
    background: var(--color-primary-muted);
    color: var(--color-primary);
  }

  /* Cell alignment overrides */
  .cell-numeric {
    text-align: center !important;
    font-variant-numeric: tabular-nums;
  }

  /* Day columns */
  .day-col {
    border-left: none;
    min-width: 100px;
  }

  /* Headers in second row */
  thead tr:nth-child(2) th {
    background: var(--color-surface);
  }

  .text-muted {
    color: var(--color-text-muted);
    opacity: 0.4;
  }

  tbody tr:hover td {
    background: var(--color-surface-muted);
  }

  tbody tr:hover td.sticky-col {
    background: var(--color-surface-muted);
  }
}
