/* Report table horizontal scroll — load after MudBlazor on Web (AB#858).
   Reinforces layout/width rules and styles persistent scrollbars. */

.report-table-frame,
.report-group-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pinch-zoom;
    scrollbar-width: thin;
    scrollbar-color: #1B5C75 var(--ts-neutral, #F2F2F2);
}

.report-group-table-scroll {
    background-color: #fff;
}

.report-table-frame {
    background-color: #ADBABD;
}

.report-table-frame::-webkit-scrollbar,
.report-group-table-scroll::-webkit-scrollbar {
    height: 8px;
    -webkit-appearance: none;
}

.report-table-frame::-webkit-scrollbar-track,
.report-group-table-scroll::-webkit-scrollbar-track {
    background: var(--ts-neutral, #F2F2F2);
}

.report-table-frame::-webkit-scrollbar-thumb,
.report-group-table-scroll::-webkit-scrollbar-thumb {
    background-color: #1B5C75;
    border-radius: 4px;
}

.report-table-frame::-webkit-scrollbar-thumb:hover,
.report-group-table-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #04395E;
}

/* Flex ancestors + Mud layout (Web) */
.site-page-body {
    min-width: 0;
}

.site-mud-layout {
    min-width: 0;
    max-width: 100%;
}

.site-mud-layout .mud-main-content {
    min-width: 0;
    max-width: 100%;
}

.mud-container.site-page-container {
    min-width: 0;
    max-width: 100%;
}

.ts-admin-page.report-items-requested-page,
.ts-admin-page.report-available-stock-page,
.report-grouped-results,
.report-group-box {
    min-width: 0;
    max-width: 100%;
}

table.report-grouped-table.report-data-table,
table.report-stock-table.report-data-table {
    width: max-content;
    min-width: 100%;
    max-width: none;
    table-layout: auto;
}
