#discount-report{padding:18px;min-width:0}
.discount-report-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.discount-report-totals>div{display:flex;flex-direction:column;gap:6px;padding:15px;background:#f2f6fa;border:1px solid #dbe3ec;border-radius:10px}
.discount-report-totals strong{font-size:1.2rem;text-align:right;overflow-wrap:anywhere}
.discount-rep-group{margin-top:24px}.discount-rep-group h3{margin:0 0 12px}
.discount-report-table{width:100%;min-width:0;table-layout:fixed}
.discount-report-table th:first-child{width:24%}
.discount-report-table th:nth-child(2),.discount-report-table th:nth-child(3){width:7%}
.discount-report-table th:last-child{width:13%}
.discount-report-table td,.discount-report-table th{padding:10px 7px;white-space:normal;overflow-wrap:anywhere}
.discount-report-table td:last-child,.discount-report-table tfoot{font-weight:700}
.discount-client-code{display:block;color:#64748b;font-size:.8em;margin-top:4px;direction:ltr;text-align:right}
@media screen and (max-width:700px){
 .discount-report-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
 .discount-report-table thead{display:none}
 .discount-report-table,.discount-report-table tbody{display:block}
 .discount-report-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dbe3ec;border-radius:8px;margin-bottom:12px;padding:8px}
 .discount-report-table tbody td{display:block;border:0}
 .discount-report-table tbody td:first-child{grid-column:1/-1}
 .discount-report-table tbody td:not(:first-child):before{content:attr(data-label);display:block;color:#64748b;font-size:.8em;margin-bottom:4px}
 .discount-report-table tfoot{display:none}
}
@media print{
 body.printing-account .discount-report-print table{table-layout:fixed;width:100%;font-size:10pt}
 body.printing-account .discount-report-print th,body.printing-account .discount-report-print td{border:1.2pt solid #111;padding:6px 5px;text-align:right}
 body.printing-account .discount-report-print th:first-child{width:24%}
 body.printing-account .discount-report-print th:nth-child(2),body.printing-account .discount-report-print th:nth-child(3){width:7%}
 body.printing-account .discount-report-print th:last-child{width:13%}
 body.printing-account .discount-report-print h2{font-size:12pt;margin:12px 0 5px;break-after:avoid}
 body.printing-account .discount-report-print tfoot{display:table-row-group}
 body.printing-account .discount-report-print .discount-client-code{color:#444;font-size:8pt}
}
