.manager-deductions, .deduction-list, .deduction-details, .deduction-fields {
    display: grid;
    gap: 1rem;
}
.deduction-card-header, .deduction-toolbar, .deduction-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}
.deduction-card-header p, .deduction-actions small { opacity: .8; }
.deduction-toolbar .input { width: min(100%, 18rem); }
.deduction-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.deduction-fields { border: 0; padding: 0; min-width: 0; }
.deduction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.deduction-actions { justify-content: flex-start; }
.deduction-history { overflow: auto; }
.deduction-history table { width: 100%; }
.deduction-history :is(th, td) { padding: .65rem .75rem; text-align: left; }
.deduction-history :is(th, td):nth-child(-n+3) { white-space: nowrap; }
.deduction-history td:last-child { overflow-wrap: anywhere; min-width: 12rem; }
.deduction-history th { background: color-mix(in srgb, currentColor 8%, transparent); }
.deduction-error { color: #b83232; }
@media (max-width: 720px) {
    .deduction-grid { grid-template-columns: 1fr; }
}
