.staff-action-toolbar { margin: .8rem 0; justify-content: flex-end; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .58); z-index: 1000; backdrop-filter: blur(2px); }
.modal-panel { position: fixed; z-index: 1001; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(720px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 24px 70px rgba(15, 23, 42, .3); padding: 1.25rem; }
.modal-panel h2 { margin: 0 0 .65rem; }
.report-unit-list { display: grid; gap: .35rem; max-height: 300px; overflow: auto; margin: 1rem 0; padding: .8rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--bg); }
.report-unit-list label, .report-scope label { display: flex; align-items: center; gap: .55rem; padding: .35rem .4rem; border-radius: .35rem; }
.report-unit-list label:hover { background: var(--panel); }
.report-scope { display: grid; gap: .35rem; border: 1px solid var(--line); border-radius: .55rem; padding: .7rem 1rem; margin: 0; }
.report-scope legend { float: none; width: auto; padding: 0 .35rem; font-size: .82rem; font-weight: 800; color: var(--muted); }
.report-modal-actions { margin-top: 1rem; }
.report-action-spacer { flex: 1; }
.report-modal button:disabled { cursor: not-allowed; opacity: .6; }

.employee-editor-modal { width: min(1180px, calc(100vw - 2rem)); }
.employee-edit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-span-2 { grid-column: span 2; }
@media (max-width: 900px) { .employee-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .employee-edit-grid { grid-template-columns: 1fr; } .form-span-2 { grid-column: auto; } }
.report-unit-list .report-inactive-option { border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .65rem; background: rgba(192, 0, 0, .035); }
.report-unit-list .report-inactive-option strong { color: #9f2d20; }
