/* Scoped to the deposit range and correction ledger. Other routines are unchanged. */
#deposit-settings-form {
  grid-template-columns: minmax(170px, 1fr) minmax(160px, 1fr) minmax(65px, .4fr);
  gap: 9px 12px;
}
#deposit-settings-form .automation-actions { grid-column: 1 / -1; gap: 8px; }
#deposit-settings-form select { width: 100%; min-width: 0; }
#deposit-audit-details, #deposit-audit-list { min-width: 0; }
#deposit-audit-list .table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
#deposit-audit-list .compact-table { width: 100%; table-layout: fixed; }
#deposit-audit-list th, #deposit-audit-list td { overflow-wrap: anywhere; vertical-align: top; }
#deposit-audit-list th:nth-child(1) { width: 6%; }
#deposit-audit-list th:nth-child(2) { width: 25%; }
#deposit-audit-list th:nth-child(3) { width: 30%; }
#deposit-audit-list th:nth-child(n+4) { width: 13%; }
#deposit-audit-list td.money { white-space: normal; }
@media (max-width: 650px) {
  #deposit-settings-form { grid-template-columns: 1fr; }
  #deposit-settings-form .toggle-label { justify-self: start; }
  #deposit-audit-list .compact-table { min-width: 580px; }
}
