.staff-role-cell{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.staff-role-tag{padding:4px 9px;border-radius:6px;font-size:13px;background:#edf2f7;color:#334155}
.staff-role-tag.role-certificate{color:#075b55;background:#e3f4ef}
.staff-role-tag.role-admin{color:#51308c;background:#f0eafa}
.staff-role-change{border:1px solid #c4ced9;border-radius:6px;padding:5px 9px;background:white;color:#334155;font:inherit;font-size:13px;cursor:pointer}
.staff-role-dialog{box-sizing:border-box;width:min(420px,calc(100% - 24px));max-height:90dvh;margin:auto;padding:24px;color:#182638;background:white;border:1px solid #d4dde5;border-radius:16px;box-shadow:0 20px 64px #15273c38}
.staff-role-dialog::backdrop{background:#14253a73}
.staff-role-dialog h2{margin:0 0 18px;font-size:20px;line-height:1.45}
.staff-role-dialog fieldset{display:grid;gap:8px;border:0;margin:0;padding:0;min-width:0}
.staff-role-dialog legend{font-weight:600;font-size:13px;margin-bottom:8px;color:#4b596c}
.staff-role-choice{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #ced8e2;border-radius:9px;cursor:pointer}
.staff-role-choice:has(input:checked){border-color:#345f93;background:#eff5fc}
.staff-role-choice:focus-within{outline:2px solid #345f93;outline-offset:1px}
.staff-role-choice input{accent-color:#295786;width:16px;height:16px;flex:none;margin:0}
.staff-role-choice strong,.staff-role-choice small{display:block}
.staff-role-choice small{color:#4c5e70;margin-top:3px;font-size:13px}
.staff-role-choice em{margin-left:auto;white-space:nowrap;color:#465a73;font-size:12px;font-style:normal}
.staff-role-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
.staff-role-actions button{min-height:40px}.staff-role-actions button:disabled{opacity:.55}
.staff-role-dialog [role=alert]{color:#a32e20}
@media(max-width:480px){.staff-role-dialog{padding:18px}.staff-role-change{min-height:40px}.staff-role-actions button{flex:1}}
