/* Staff accounts: calm, consistent account editing and preview surfaces. */
body.dashboard-page .ra-body > .finance-overlay-identity-v1033 {background:#fff!important;border:1px solid #d8e2f1!important;box-sizing:border-box}
body.dashboard-page .ra-body .ra-card {background:#edf3ff!important}
body.dashboard-page .ra-body .ra-card > span {color:#10245b!important;font-weight:400!important;text-align:left}
body.dashboard-page .ra-body .ra-card > strong {display:block;text-align:center}
body.dashboard-page .ra-body .ra-line {background:#edf3ff!important}
body.dashboard-page .ra-body .ra-summary > div:not(:last-child) > span {font-weight:600}
body.dashboard-page .ra-body .ra-summary > div:last-child {background:#edf3ff!important;font-weight:700}
/* The delete control belongs on the same baseline as the input, not a new row. */
@media(min-width:801px){
 body.dashboard-page .ra-body .ra-sched-row {grid-template-columns:repeat(4,minmax(0,1fr)) 36px!important}
 body.dashboard-page .ra-body .ra-payment {grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr) 36px!important}
}
body.dashboard-page .ra-body :is(.ra-payment,.ra-sched-row) > label {margin:0!important}
body.dashboard-page .ra-body :is(.ra-payment,.ra-sched-row) > .ra-trash {align-self:end;justify-self:end;margin:0!important;box-sizing:border-box}
@media(max-width:800px){body.dashboard-page .ra-body .ra-sched-row > .ra-trash{grid-column:1/-1;justify-self:end}}
/* Match status controls to the adjacent View/Edit actions while retaining colours. */
body.dashboard-page .finance-compact-v1033 .status64-text,body.dashboard-page .finance-compact-v1033 button.status64-text {box-sizing:border-box!important;width:60px!important;min-width:60px!important;min-height:28px!important;height:28px!important;padding:4px 8px!important;font-size:11px!important;line-height:18px!important;font-weight:600!important;border-radius:8px!important}
/* Changes here are limited to staff's preview, not the student account page. */
body.dashboard-page .sa-preview [data-finance-panel="summary"] .sa-total:last-child {background:#edf3ff!important}
body.dashboard-page .sa-preview [data-finance-panel="payments"] .sa-table-wrap,body.dashboard-page .sa-preview [data-finance-panel="payments"] .sa-history {border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}
body.dashboard-page .sa-preview [data-finance-panel="payments"] .sa-history-total {background:#edf3ff!important;border-radius:0 0 9px 9px;overflow:hidden}
