.staff-directory-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px;border:1px solid rgba(155,124,241,.2);border-radius:8px;overflow:hidden;background:rgba(20,21,29,.72)}
.staff-directory-tabs[hidden]{display:none}
.staff-directory-tab{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;padding:8px 12px;border:0;border-right:1px solid rgba(155,124,241,.12);background:transparent;color:#9b9ba8;font:600 11px 'DM Sans',sans-serif;cursor:pointer;transition:background .16s ease,color .16s ease}
.staff-directory-tab:last-child{border-right:0}
.staff-directory-tab svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;flex:0 0 auto}
.staff-directory-tab small{color:#777984;font-size:9px;font-weight:700;white-space:nowrap}
.staff-directory-tab:hover,.staff-directory-tab.active{background:rgba(155,124,241,.12);color:#c9b8ff}
.staff-directory-tab.active{box-shadow:inset 0 2px #a987ff}
.staff-directory-tab.active small{color:#b6a2ef}
.staff-directory-header,.staff-directory-row{display:grid;grid-template-columns:86px 64px minmax(170px,1.2fr) 100px minmax(190px,1fr) minmax(170px,1fr) 180px;align-items:center;column-gap:12px;padding:0 12px}
.staff-directory-header{min-height:38px;border-bottom:1px solid rgba(155,124,241,.18);color:#868493;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.staff-directory-header span:nth-child(6){text-align:right}
.staff-directory-row{min-height:68px;border-bottom:1px solid rgba(255,255,255,.055);color:#c9c8d1;font-size:11px}
.staff-directory-row:hover{background:rgba(155,124,241,.045)}
.staff-directory-status{display:flex;align-items:center;gap:7px;color:#8f8e9b;font-size:9px;font-weight:700}
.staff-directory-status i{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#777984}
.staff-directory-status.online i{background:#45c68a;box-shadow:0 0 8px rgba(69,198,138,.42)}
.staff-directory-status.offline i{background:#ce6572}
.staff-directory-status.unknown i{background:#8c7eb1}
.staff-directory-avatar{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(173,143,255,.42);border-radius:50%;background:radial-gradient(circle at 30% 25%,rgba(173,143,255,.34),rgba(67,49,102,.42) 60%,rgba(26,24,36,.9));color:#e0d5ff;font-size:11px;font-weight:800}
.staff-directory-avatar img{width:100%;height:100%;object-fit:cover}
.staff-directory-name{min-width:0;display:grid;gap:4px}
.staff-directory-name strong{overflow:hidden;color:#cbbaff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.staff-directory-name small{overflow:hidden;color:#777984;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.staff-directory-admin{width:max-content;padding:5px 8px;border:1px solid rgba(155,124,241,.16);border-radius:12px;background:rgba(155,124,241,.08);color:#b6a2ef;font-size:9px;font-weight:800;white-space:nowrap}
.staff-directory-grade{width:max-content;max-width:100%;overflow:hidden;padding:5px 9px;border:1px solid rgba(155,124,241,.22);border-radius:12px;background:rgba(155,124,241,.08);color:#bdaaf3;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.staff-directory-grade.helper{border-color:rgba(184,157,255,.2);background:rgba(184,157,255,.07);color:#bdaaff}
.staff-directory-grade.admin{border-color:rgba(155,124,241,.3);background:rgba(155,124,241,.12);color:#c4aaff}
.staff-directory-grade.leader{border-color:rgba(207,181,255,.34);background:rgba(129,91,190,.18);color:#ddc8ff}
.staff-directory-last-login{justify-self:end;color:#8c8a98;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}
.staff-directory-profile-button{justify-self:end;min-height:30px;padding:6px 10px;border:1px solid rgba(173,143,255,.32);border-radius:6px;background:rgba(155,124,241,.1);color:#cbbaff;font:700 9px 'DM Sans',sans-serif;white-space:nowrap;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.staff-directory-profile-button:hover{border-color:rgba(173,143,255,.64);background:rgba(155,124,241,.2)}
.staff-directory-actions{justify-self:end;display:flex;align-items:center;gap:4px;white-space:nowrap}
.staff-directory-action{width:23px;height:27px;padding:0;border:1px solid rgba(173,143,255,.24);border-radius:5px;background:rgba(155,124,241,.08);color:#ccbaff;font:700 14px 'DM Sans',sans-serif;line-height:1;cursor:pointer}
.staff-directory-action:hover{border-color:rgba(173,143,255,.58);background:rgba(155,124,241,.18)}
.staff-directory-action.remove{border-color:rgba(220,112,132,.3);color:#e59ca5}
.staff-directory-action.remove:hover{border-color:rgba(220,112,132,.65);background:rgba(220,112,132,.12)}
.staff-directory-action:disabled{opacity:.5;cursor:wait}
.staff-directory-protected{color:#777984;font-size:8px}
.staff-directory-empty{padding:32px 16px;color:#9694a2;text-align:center;font-size:11px}
.staff-directory-error{color:#e59ca5}
.nav-item[data-page="staff"].active{color:#c9b8ff}
@media(max-width:1000px){.staff-directory-header,.staff-directory-row{grid-template-columns:76px 54px minmax(145px,1.1fr) 76px minmax(150px,1fr) minmax(145px,1fr) 170px;column-gap:8px;padding-right:8px;padding-left:8px}.staff-directory-status{gap:5px;font-size:8px}}
@media(max-width:760px){.staff-directory-header{display:none}.staff-directory-row{grid-template-columns:64px 48px minmax(0,1fr) minmax(110px,auto) 170px;gap:8px;padding:8px}.staff-directory-admin,.staff-directory-last-login{display:none}.staff-directory-grade{justify-self:end}}
@media(max-width:480px){.staff-directory-tabs{margin-bottom:12px}.staff-directory-tab{flex-wrap:wrap;gap:5px;padding:8px 4px;font-size:9px}.staff-directory-tab svg{width:14px;height:14px}.staff-directory-tab small{flex-basis:100%;text-align:center}.staff-directory-row{grid-template-columns:18px 34px minmax(0,1fr) minmax(82px,auto) 162px;gap:5px;padding:8px 4px}.staff-directory-status{justify-content:center}.staff-directory-status i{width:8px;height:8px}.staff-directory-status span{display:none}.staff-directory-avatar{width:32px;height:32px;font-size:9px}.staff-directory-name strong{font-size:10px}.staff-directory-grade{padding:4px 6px;font-size:8px}.staff-directory-profile-button{padding:5px 6px;font-size:8px}.staff-directory-actions{gap:3px}.staff-directory-action{width:21px;height:25px}}