.nbu-people-switcher{padding:18px 20px}
.nbu-people-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.nbu-personnel-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.nbu-personnel-toolbar .search{min-width:220px;max-width:340px;flex:1}
.nbu-personnel-thumb,.nbu-personnel-placeholder{width:54px;height:54px;object-fit:cover;border-radius:9px;border:1px solid #cbd5e1}
.nbu-personnel-placeholder{display:grid;place-items:center;background:#eef3fa;font-size:23px}
.nbu-personnel-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.nbu-personnel-actions button{white-space:nowrap}
.nbu-personnel-modal{position:fixed;inset:0;z-index:12500;background:rgba(8,27,50,.67);display:grid;place-items:center;padding:15px}
.nbu-personnel-dialog{width:min(760px,100%);max-height:90vh;overflow-y:auto;background:white;color:#152238;border-radius:14px;padding:26px;box-shadow:0 12px 40px rgba(0,0,0,.3);position:relative}
.nbu-personnel-close{position:absolute;right:20px;top:14px}
.nbu-personnel-details{display:grid;grid-template-columns:180px 1fr;gap:10px;margin-top:12px}
.nbu-personnel-details dt{font-weight:700}
.nbu-personnel-details dd{margin:0;overflow-wrap:anywhere}
.nbu-personnel-avatar{text-align:center;font-size:42px;margin:18px}
.nbu-personnel-avatar img{width:138px;height:138px;object-fit:cover;border-radius:12px;border:1px solid #d0dbe9}
.nbu-personnel-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nbu-personnel-fields label,.nbu-personnel-photo-field{display:grid;gap:6px;font-weight:600}
.nbu-personnel-fields input,.nbu-personnel-photo-field input{width:100%;border:1px solid #bccde1;border-radius:8px;padding:9px;font-weight:400}
.nbu-personnel-photo-field{margin:16px 0}
.nbu-personnel-photo-preview img,.nbu-personnel-photo-group img{width:110px;height:110px;object-fit:cover;border-radius:10px;border:1px solid #bccde1}
.nbu-personnel-photo-group{border:1px dashed #bdd1e5;border-radius:12px;padding:14px;background:#f7faff;margin:8px 0}
.nbu-personnel-photo-group label{display:block;margin-bottom:8px;font-weight:700}
.nbu-personnel-photo-group input{width:100%;max-width:100%}
.nbu-personnel-photo-preview{display:flex;align-items:center;gap:10px;margin-top:8px}
.nbu-personnel-warning{background:#fff5de;border-left:4px solid #d89b10;padding:10px;border-radius:6px}
@media(max-width:640px){.nbu-personnel-dialog{padding:16px}.nbu-personnel-fields,.nbu-personnel-details{grid-template-columns:1fr}.nbu-people-tabs button{flex:1;min-width:120px}}
@media print{#page-students .nbu-people-switcher,.nbu-personnel-toolbar .btn,.nbu-personnel-toolbar input{display:none!important}#page-students .nbu-personnel-actions{display:none!important}}
