.form-card:has(.report-table){max-width:none;width:100%;box-sizing:border-box}
/* Shared on-screen statements; amount words must never widen or clip a column. */
.statement-scroll,.person-ledger,.dealer-report .table-scroll{container-type:inline-size;min-width:0;max-width:100%;max-height:none;overflow:visible}
.report-table{width:100%!important;min-width:0!important;max-width:100%;table-layout:fixed;border-collapse:collapse;text-align:right;font-size:14px;line-height:1.65;background:#fff}
.report-table th,.report-table td{box-sizing:border-box;min-width:0;max-width:none;padding:12px 10px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;vertical-align:top;text-align:right}
.report-table th{position:static;background:#173d55;color:#fff;font-weight:700}
.report-table td{border-bottom:1px solid #dbe5ed}
.report-table tbody tr:nth-child(even){background:#f7fafc}
.report-table .readable-number{display:block;max-width:100%}
.report-table .numeric-value{font-size:16px;font-weight:750;white-space:normal;overflow-wrap:anywhere}
.report-table .number-words{display:block;max-width:100%;white-space:normal;font-size:12px;line-height:1.65;font-weight:400;margin-top:5px;color:#40556c}
.report-table .ref,.report-table .person-reference{font-size:12px;overflow-wrap:anywhere;max-width:100%}
.report-table caption{text-align:right;font-size:17px;font-weight:700;padding:12px 0;color:#173d55}
.report-table td::before{display:none}
.statement-totals,.person-summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));min-width:0}
.statement-totals>div,.person-metric{min-width:0;overflow-wrap:anywhere}
.statement-totals .numeric-value,.person-metric .numeric-value{white-space:normal;overflow-wrap:anywhere}
.statement-totals .number-words,.person-metric .number-words{white-space:normal;max-width:100%;font-size:13px}
@media print{
 .statement-scroll,.person-ledger,.dealer-report .table-scroll{container-type:normal;overflow:visible;max-height:none}
 .report-table{display:table!important;font-size:10px}
 .report-table thead{display:table-header-group!important}
 .report-table tbody{display:table-row-group!important}
 .report-table tbody tr{display:table-row!important;break-inside:avoid}
 .report-table tbody td{display:table-cell!important;padding:7px!important}
 .report-table td::before{display:none!important}
 .report-table th{background:#edf2f6;color:#152b41}
 .report-table .numeric-value{font-size:12px}.report-table .number-words{font-size:10px}
}


/* v82: the phone uses the same continuous table as the desktop. */
.statement-scroll,.person-ledger,.dealer-report .table-scroll{overflow-x:auto;overflow-y:visible;max-height:none;-webkit-overflow-scrolling:touch;container-type:normal}
.report-table{display:table!important}
.report-table thead{display:table-header-group!important}
.report-table tbody{display:table-row-group!important}
.report-table tbody tr{display:table-row!important}
.report-table tbody td{display:table-cell!important;width:auto!important}
.report-table td::before{display:none!important}
.report-table td>*{grid-column:auto!important}
@media screen and (max-width:760px){
 .report-table{min-width:860px!important}
 .report-table tbody tr{border:0;border-radius:0;margin:0;padding:0}
 .statement-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
 .statement-totals>div{padding:12px}
}
@media print{.report-table{min-width:0!important}.statement-scroll,.person-ledger,.dealer-report .table-scroll{overflow:visible}}
@media screen and (max-width:760px){
 .report-table{min-width:640px!important;font-size:11px;line-height:1.45}
 .report-table th,.report-table td{padding:8px 6px!important;font-size:11px;line-height:1.45}
 .report-table .numeric-value{font-size:12px;font-weight:750}
 .report-table .number-words{font-size:9px;line-height:1.4;margin-top:3px}
 .report-table .ref,.report-table .person-reference{font-size:10px}
 .statement-totals span{font-size:11px}.statement-totals b{font-size:16px}
 .statement-totals .numeric-value{font-size:16px}.statement-totals .number-words{font-size:10px}
}
