#financialPanelStatement .fd-statement-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:14px 0}
#financialPanelStatement .fd-statement-controls .field{min-width:165px;flex:1}
.fd-statement-modes{display:flex;gap:4px;margin:0;border:0;padding:0;min-width:228px}
.fd-statement-modes legend{font-size:12px;color:#526580;margin-bottom:6px}
.fd-statement-modes [aria-pressed=true]{background:#4735ce;border-color:#4735ce;color:#fff}
.fd-statement-accounts{position:relative;min-width:220px;max-width:340px;border:1px solid #d9e0e8;border-radius:8px;background:#fff;padding:10px}
.fd-statement-accounts summary{cursor:pointer;font-size:13px;font-weight:600}
.fd-statement-accounts[open]{box-shadow:0 6px 20px #132c4414}
.fd-statement-accounts input[type=search]{margin:10px 0;width:100%}
#fdStatementAccountChoices{max-height:220px;overflow:auto;display:grid;gap:8px;padding:10px 0 2px}
#fdStatementAccountChoices label{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}
.fd-statement-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e1e6ef;border-bottom:1px solid #e1e6ef;padding:18px 0;margin:18px 0}
.fd-statement-summary>div{padding:0 18px;border-right:1px solid #e1e6ef}
.fd-statement-summary>div:first-child{padding-left:0}.fd-statement-summary>div:last-child{border:0}
.fd-statement-summary small{display:block;color:#526580;margin-bottom:5px}.fd-statement-summary b{font-size:20px;color:#193a50}
.fd-statement-account td{background:#f1f5f9!important;border-top:2px solid #dce4ed;padding:15px!important}
.fd-statement-account td>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fd-statement-account strong{font-size:15px}.fd-statement-account span,.fd-statement-account small,.fd-statement-account summary{font-size:12px;color:#526580}
.fd-statement-account details{margin-top:8px}.fd-statement-account small{display:block}
#financialPanelStatement table{min-width:900px}#financialPanelStatement td{vertical-align:top}
.fd-statement-history{min-width:280px;max-width:600px}.fd-statement-history>small{display:block;margin-top:5px;color:#526580}
.fd-statement-history summary{cursor:pointer;font-weight:650;color:#243e58;list-style:none}
.fd-statement-history summary::-webkit-details-marker{display:none}.fd-statement-history summary span{display:block;font-weight:400;font-size:12px;color:#526580;margin-top:4px}
.fd-statement-history details[open]>summary{margin-bottom:12px}
.fd-statement-payments{border-left:2px solid #ded8ff;padding-left:12px}
.fd-statement-payments article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0;border-bottom:1px solid #e7ebf0}
.fd-statement-payments article strong,.fd-statement-payments article span,.fd-statement-payments article small{display:block}
.fd-statement-payments article small{margin-top:5px;color:#526580;font-size:12px}
.fd-statement-payments article .fd-statement-actions{grid-column:1/-1}
.fd-statement-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px;max-width:300px}
.fd-statement-actions .btn{font-size:11px}.fd-statement-class{font-size:12px;color:#526580;margin-top:5px}
.fd-statement-pending td{background:#fffaf0!important}.fd-statement-dialog .fb-receipt-body{padding:20px}
#fdStatementActionMessage:empty{display:none}#fdStatementActionMessage{padding:10px 12px;background:#f0f8f5;border-radius:6px}
@media(max-width:760px){.fd-statement-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fd-statement-summary>div{padding:0 12px}.fd-statement-summary>div:nth-child(2n){border:0}.fd-statement-summary b{font-size:17px}.fd-statement-summary>div:nth-child(3){padding-left:0}.fd-statement-accounts{max-width:none;width:100%}}

.fd-statement-group-tools{display:flex;gap:8px;margin:12px 0}.fd-statement-summary{row-gap:20px}.fd-statement-summary>div:nth-child(4n){border:0}.fd-statement-summary>div:nth-child(4n+1){padding-left:0}#financialPanelStatement td:last-child{min-width:210px}#financialPanelStatement td.num>small{display:block;color:#526580;font-size:11px;font-weight:400;margin-top:4px}.fd-statement-actions{justify-content:flex-end;margin-left:auto}.fd-statement-payments article .fd-statement-actions{justify-content:flex-start;margin-left:0}

@media(max-width:760px){#financialPanelStatement .card-head{display:flex;flex-direction:column;align-items:flex-start;gap:10px}#financialPanelStatement .card-head h3,#financialPanelStatement .card-head p,#financeDeskStatementCount{width:100%;max-width:none;margin:0}#financeDeskStatementTitle{overflow-wrap:break-word}.fd-statement-summary>div:nth-child(2n+1){padding-left:0}}

/* Native bank return chooser, including narrow screens. */
#fdNativeRefundDialog .fd-refund-result{display:grid;gap:5px;text-align:left;white-space:normal;width:100%;overflow-wrap:anywhere}
#fdNativeRefundDialog [data-history] small{display:block}
#fdNativeRefundDialog .actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:640px){#fdNativeRefundDialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);margin:12px;padding:12px}#fdNativeRefundDialog .form-grid{grid-template-columns:1fr}#fdNativeRefundDialog header{gap:8px}#fdNativeRefundDialog .fd-trace-row{display:block}}

#fdNativeRefundDialog [hidden]{display:none!important}
#fdNativeRefundDialog .fd-refund-evidence{display:grid;gap:4px;margin:12px 0;overflow-wrap:anywhere}
