/* _content/Switchboard.Api/Components/Pages/Admin/BudgetEntry.razor.rz.scp.css */
/* Scrollable per-buyer matrix: scroll on both axes inside the card so the frozen
   header row and Buyer column stick to the card, not the page. */
.freeze-scroll[b-rj7fy03lfy] {
    overflow: auto;
    max-height: 72vh;
}

/* Freeze the header row while scrolling vertically. */
.freeze-scroll thead th[b-rj7fy03lfy] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--table-header-bg);
}

/* Freeze the first (Buyer) column while scrolling horizontally. */
.freeze-scroll td.freeze-col[b-rj7fy03lfy] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--card-bg);
}

/* Top-left corner cell: frozen on both axes and above every other cell. */
.freeze-scroll th.freeze-col[b-rj7fy03lfy] {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--table-header-bg);
}
/* _content/Switchboard.Api/Components/Pages/Admin/DailyLookBack.razor.rz.scp.css */
/* Scrollable matrix: scroll on both axes inside the card so the frozen header
   and first column stick to the card, not the page. */
.lookback-scroll[b-v37quvatut] {
    overflow: auto;
    max-height: 72vh;
}

/* Freeze the header row while scrolling vertically. */
.lookback-scroll thead th[b-v37quvatut] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--table-header-bg);
}

/* Freeze the first (entity) column while scrolling horizontally. */
.lookback-scroll td.freeze-col[b-v37quvatut] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--card-bg);
}

/* Top-left corner cell: frozen on both axes and above every other cell. */
.lookback-scroll th.freeze-col[b-v37quvatut] {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--table-header-bg);
}
