/* ??? Report HTML Preview ??????????????????????????????????????????????????? */
.rp-html-wrapper {
    font-family: 'Roboto', 'Inter', Arial, sans-serif;
    font-size: 13px;
    color: #222;
    padding: 12px 16px;
}

/* Header */
.rp-header { margin-bottom: 12px; }
.rp-title   { font-size: 18px; font-weight: 700; color: #1e407c; }
.rp-subtitle{ font-size: 13px; color: #555; margin-top: 2px; }
.rp-meta    { font-size: 11px; color: #888; margin-top: 4px; }

/* Table */
.rp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.rp-table thead tr {
    background-color: #1e407c;
    color: #fff;
}
.rp-table thead th {
    padding: 7px 10px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #15336b;
}
.rp-table td {
    padding: 5px 10px;
    white-space: nowrap;
    border: 1px solid #ddd;
}

/* Alternating rows */
.rp-row-even { background: #fff; }
.rp-row-odd  { background: #f5f7fb; }

/* Group header */
.rp-group-row td {
    background: #1e407c;
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
}
.rp-group-count {
    font-size: 11px;
    font-weight: 400;
    opacity: .8;
    margin-left: 8px;
}

/* Subtotal */
.rp-subtotal-row td {
    background: #e8edf7;
    font-weight: 600;
    border-top: 1px solid #aab8d4;
}

/* Grand total */
.rp-grandtotal-row td {
    background: #1e407c;
    color: #fff;
    font-weight: 700;
    border-top: 2px solid #0f2650;
}

/* Footer */
.rp-footer {
    margin-top: 10px;
    font-size: 11px;
    color: #888;
}

/* ??? Print styles ??????????????????????????????????????????????????????????? */
@media print {
    .report-html-preview {
        padding: 0;
    }
    .rp-table thead { display: table-header-group; }
    .rp-table tfoot  { display: table-footer-group; }
    .rp-table tr     { page-break-inside: avoid; }
}
