/* Back office credit and servicing (cr- prefix). */
.cr-matrix td.cr-cell { min-width: 130px; vertical-align: top; }
.cr-matrix td.cr-cell select, .cr-matrix td.cr-cell input { width: 100%; margin-bottom: 4px; font-size: 12px; padding: 3px 5px; }
.cr-matrix td.approve { background: #f0faf4; } .cr-matrix td.refer { background: #fff8eb; } .cr-matrix td.decline { background: #fdf1f0; }
.cr-files { display: flex; gap: 10px; flex-wrap: wrap; }
.cr-file { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line, #dde5ef); border-radius: 6px; padding: 10px 14px; text-decoration: none; }
.cr-diff-old { color: #9a3412; text-decoration: line-through; } .cr-diff-new { color: #166534; font-weight: 600; }
.cr-age { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ac-late td { background: #fff5f4; }
.ac-checks { list-style: none; padding: 0; margin: 10px 0; }
.ac-checks li { padding: 3px 0; font-size: 13px; }
.ac-checks li.ok i { color: #1f7a4d; } .ac-checks li.no i { color: #b42318; }

/* Approvals: changed lines in the before/after table */
.ct-tbl tr.ap-changed td { background: color-mix(in srgb, var(--warn, #f0a500) 10%, transparent); }
.ct-tbl tr.ap-changed td:first-child { box-shadow: inset 3px 0 0 var(--warn, #f0a500); }
