.personnel-shared-deduction{margin:18px 0;padding:16px 20px}
.personnel-shared-deduction>summary{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between;padding:0;font-size:15px;list-style:revert}
.personnel-shared-deduction>summary span{font-size:12px;font-weight:400;color:var(--muted)}
.personnel-shared-deduction form{margin-top:18px}
.personnel-shared-deduction fieldset{padding:0;border:0;min-width:0}
.shared-deduction-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.shared-deduction-fields label{display:grid;gap:7px;font-size:12px;font-weight:600;min-width:0}
.shared-deduction-fields input{padding:11px;width:100%;min-width:0;border:1px solid #aeb3bb;background:#fff;color:#17191c}
.shared-deduction-reason{grid-column:1/-1}
.shared-deduction-select{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:18px 0 10px;font-size:13px}
.shared-deduction-employees{display:flex;flex-wrap:wrap;gap:8px}
.shared-deduction-employees label{display:flex;gap:8px;align-items:center;border:1px solid var(--line);padding:10px 12px;font-size:13px;cursor:pointer}
.shared-deduction-employees label:has(input:checked){border-color:#d6470b;box-shadow:inset 0 0 0 1px #d6470b}
.shared-deduction-employees input{accent-color:#e84d10}
.shared-deduction-preview{margin:16px 0;padding:14px;border:1px solid var(--line);font-size:13px;line-height:1.5}
.shared-deduction-preview dl{margin:10px 0}.shared-deduction-preview dl div{display:flex;justify-content:space-between;gap:16px;padding:5px 0}.shared-deduction-preview dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.shared-deduction-preview small{font-size:12px;color:var(--muted)}
.shared-deduction-error{font-size:13px;color:#a72424;line-height:1.5}
html[data-theme=dark] .shared-deduction-error{color:#ffaaa9}
.personnel-shared-deduction button:disabled{opacity:.5;cursor:not-allowed}
.personnel-shared-deduction :is(input,button):focus-visible{outline:3px solid #287fc2;outline-offset:2px}
@media(max-width:600px){.personnel-shared-deduction{padding:16px 12px}.shared-deduction-fields{grid-template-columns:1fr}.shared-deduction-reason{grid-column:auto}.shared-deduction-select{flex-wrap:wrap}}
