.account-statement-panel{padding-bottom:0 !important}
.statement-heading{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  margin:2px 0 16px;
}
.statement-heading h3{margin:0 0 5px;color:#17314b;font-size:1.35rem}
.statement-heading p{margin:0;color:#74818e;font-size:.9rem;line-height:1.45}
.statement-updated{color:#7c8995;font-size:.78rem;white-space:nowrap;padding-top:4px}
.statement-updated strong{color:#4f6070;font-weight:800}
.statement-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.statement-summary-card{border:1px solid #dbe3ea;border-radius:15px;background:#fff;padding:15px 16px;min-width:0}
.statement-summary-card small{display:block;color:#71808e;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em;margin-bottom:7px}
.statement-summary-card strong{display:block;color:#19324b;font-size:1.45rem;line-height:1.1;margin-bottom:6px;overflow-wrap:anywhere}
.statement-summary-card span{display:block;color:#87939e;font-size:.75rem;line-height:1.35}
.statement-summary-card.total{background:#f4f8fb;border-color:#cfdce7}
.statement-summary-card.total strong{font-size:1.65rem}
.statement-summary-card.past-due strong{color:#8a3e32}
.statement-section{border:1px solid #dfe6ec;border-radius:15px;background:#fff;margin:0 0 14px;overflow:hidden}
.statement-section-title{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 11px;border-bottom:1px solid #edf1f4;background:#fbfcfd}
.statement-section-title h4{margin:0 0 3px;color:#22394f;font-size:.98rem}
.statement-section-title p{margin:0;color:#85919c;font-size:.75rem}
.statement-aging{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 16px 8px}
.statement-aging-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'label amount' 'sub amount';column-gap:12px;align-items:center;padding:11px 3px;border-bottom:1px solid #edf1f4}
.statement-aging-row:nth-last-child(2){border-bottom:0}
.statement-aging-row span{grid-area:label;color:#33495d;font-weight:800;font-size:.86rem}
.statement-aging-row small{grid-area:sub;color:#8a96a1;font-size:.7rem;margin-top:2px}
.statement-aging-row strong{grid-area:amount;color:#23394e;font-size:.92rem;text-align:right}
.statement-aging-row:nth-child(odd):not(.statement-aging-total){margin-right:14px}
.statement-aging-row:nth-child(even):not(.statement-aging-total){margin-left:14px}
.statement-aging-total{grid-column:1/-1;border-top:1px solid #dbe3ea;border-bottom:0 !important;margin:2px 0 0 !important;padding-top:13px}
.statement-aging-total span,.statement-aging-total strong{font-size:1rem;color:#17314b}
.statement-account-grid{padding:14px 16px 16px;margin:0 !important}
.statement-account-grid .account-item{background:#f8fafb;border:1px solid #e3e9ee}
.statement-account-grid .account-item-wide{grid-column:1/-1}
.statement-data-note{margin:0 0 14px;padding:11px 13px;border-radius:11px;background:#f5f8fa;border:1px solid #e0e7ed;color:#6f7c88;font-size:.78rem;line-height:1.45}
.statement-footer{margin-top:16px;border-top:1px solid #e4e9ee;padding:10px 12px;text-align:center;color:#8b96a0;font-size:.74rem}
@media(max-width:760px){
  .statement-summary-cards{grid-template-columns:1fr}
  .statement-aging{grid-template-columns:1fr}
  .statement-aging-row:nth-child(n){margin-left:0 !important;margin-right:0 !important}
  .statement-aging-row:nth-last-child(2){border-bottom:1px solid #edf1f4}
  .statement-heading{display:block}
  .statement-updated{padding-top:8px}
}
