/* =============================================================================
   جداول گزارش — سطرهای فشرده (نمایش + چاپ)
   ============================================================================= */

.report-page .mud-table .mud-table-head .mud-table-cell,
.report-page .mud-table thead .mud-th,
.report-page .mud-table thead th {
    padding: 3px 5px !important;
    font-size: 0.75rem !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    min-height: 0 !important;
    height: auto !important;
}

.report-page .mud-table .mud-table-body .mud-table-cell,
.report-page .mud-table tbody .mud-td,
.report-page .mud-table tbody td {
    padding: 1px 4px !important;
    font-size: 0.8125rem !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    min-height: 0 !important;
    height: auto !important;
}

.report-page .mud-table .mud-table-row,
.report-page .mud-table tr {
    height: auto !important;
    min-height: 0 !important;
}

.report-page .mud-table tfoot .mud-table-cell,
.report-page .mud-table .mud-table-foot .mud-table-cell {
    padding: 2px 4px !important;
    font-size: 0.8125rem !important;
    line-height: 1.15 !important;
}

/* MudDataGrid در گزارش‌ها */
.report-page .weight-report-grid .mud-table-cell,
.report-page .mud-data-grid .mud-table-cell,
.report-page .mud-table-grid .mud-table-cell {
    padding: 1px 4px !important;
    line-height: 1.12 !important;
    min-height: 0 !important;
    font-size: 0.8125rem !important;
}

/* هدرهای سفارشی با padding زیاد inline */
.report-page .col-header-cell {
    padding: 4px 6px !important;
    min-height: 0 !important;
}

.report-page .weight-report-grid .mud-table-head .mud-table-cell {
    padding: 4px 6px !important;
    min-height: 0 !important;
}

.report-page .weight-report-grid .mud-table-row,
.report-page .mud-data-grid .mud-table-row {
    min-height: 0 !important;
    height: auto !important;
}

.report-page .mud-chip {
    height: 20px !important;
    font-size: 0.68rem !important;
    padding: 0 5px !important;
}

.report-page .compact-table .mud-table-cell,
.report-page .table-scroll-container .mud-table-cell {
    padding: 1px 3px !important;
}

.report-page .mud-table-container,
.report-page .table-scroll-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* override premium-ui padding on reports */
.report-page.ps-page .mud-table .mud-table-body .mud-table-cell {
    padding: 1px 4px !important;
}

@media print {
    .report-page .mud-table th,
    .report-page .mud-table td,
    .report-page .mud-table .mud-table-cell,
    .report-page .mud-table .mud-th,
    .report-page .mud-table .mud-td {
        padding: 1px 2px !important;
        font-size: 7pt !important;
        line-height: 1.05 !important;
    }

    .report-page .mud-table thead th,
    .report-page .mud-table .mud-table-head .mud-table-cell {
        font-size: 7.5pt !important;
        padding: 2px 3px !important;
    }

    body.print-report .mud-table th,
    body.print-report .mud-table td,
    body.print-report .mud-table .mud-table-cell {
        padding: 1px 2px !important;
        font-size: 7pt !important;
        line-height: 1.05 !important;
    }
}
