.staff-editor{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #35536d;border-radius:22px;background:#0b1b2c;color:#e4eef8;box-shadow:0 30px 100px #0009;z-index:10000}
.staff-editor::backdrop{background:#020a16bf;backdrop-filter:blur(5px)}
.staff-editor form{margin:0}
.staff-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px;border-bottom:1px solid #29435b;background:linear-gradient(120deg,#112d47,#0d2034)}
.staff-editor-head h2{font-size:24px;line-height:1.3;margin:5px 0;overflow-wrap:anywhere}
.staff-editor-head p{margin:5px 0 0}
.staff-editor-content{padding:0 28px 24px}
.staff-editor-content>section{padding:24px 0;border-bottom:1px solid #263e54}
.staff-editor-content>section:last-child{border-bottom:0;padding-bottom:0}
.staff-editor h3{margin:0 0 16px;font-size:18px;color:#f0f6fc}
.staff-editor .field{display:grid;gap:8px;align-content:start;color:#c8d9e9;font-size:14px;font-weight:600}
.staff-editor .input{width:100%;min-width:0;background:#081625;color:#e6f0fa;border:1px solid #34526d;border-radius:10px;padding:12px 13px;font:inherit;color-scheme:dark}
.staff-editor .input:focus{outline:2px solid #49b5e7;outline-offset:2px}
.staff-editor .role-help{font-size:12px;font-weight:400;color:#a6bad0;line-height:1.6}
.staff-editor-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;padding:18px 28px;background:#0d2034;border-top:1px solid #29435b;z-index:2}
.staff-role-section-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}
.staff-role-count{font-size:12px;color:#92d6f7;border:1px solid #305776;border-radius:20px;padding:5px 10px;white-space:nowrap}
.staff-role-group{min-width:0;margin:10px 0 0;padding:14px;border:1px solid #2c465e;border-radius:14px}
.staff-role-group legend{padding:0 7px;font-size:13px;font-weight:700;color:#9bc7e6}
.staff-role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.staff-role-options .multi-role-option{margin:0;padding:13px;min-width:0;border:1px solid #2c465e;background:#102236;border-radius:10px}
.staff-role-options .multi-role-option span{min-width:0}
.staff-role-options .multi-role-option b{font-size:13px;line-height:1.5;color:#dceaf7}
.staff-role-options .multi-role-option small{font-size:12px;line-height:1.55;color:#a6bad0}
.staff-role-options .multi-role-option input{flex:none;width:18px;height:18px;accent-color:#36a8df}
.staff-role-options .multi-role-option:has(input:checked){border-color:#39a1d6;background:#10314b}
.staff-role-options .multi-role-option:has(input:disabled){opacity:.5;cursor:default}
.staff-role-options .multi-role-option:focus-within{outline:2px solid #49b5e7;outline-offset:2px}
.staff-account-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0}
.staff-account-meta dt{font-size:12px;color:#94abc1;margin-bottom:5px}
.staff-account-meta dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.staff-role-summary{display:block;margin-top:8px;color:#98b2c9;font-size:12px}
.users-page .multi-role-cell{min-width:180px}
.users-page .staff-area-cell b{display:block;margin-bottom:6px}
@media(max-width:640px){.staff-editor{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.staff-editor-head{padding:20px}.staff-editor-content{padding:0 20px 20px}.staff-editor-actions{padding:14px 20px}.staff-role-options,.staff-account-meta{grid-template-columns:1fr}.staff-editor-head h2{font-size:21px}}
