/* Nezerite.PW v3.7.5 — Roles & Permissions redesign, theme-aware and scoped. */
body.inferno-core .nz375-host{
 --nz375-fg:var(--nz-ink,#f4f1f7);--nz375-muted:var(--nz-ink-muted,#b8adbc);
 --nz375-accent:var(--nz-accent,#df4275);--nz375-line:var(--nz-line,#5d3348);
 --nz375-surface:var(--nz-surface,#241621);--nz375-back:var(--nz-back,#160e18);
 --nz375-soft:color-mix(in srgb,var(--nz375-accent) 6%,var(--nz375-surface));
 --nz375-highlight:color-mix(in srgb,var(--nz375-accent) 16%,var(--nz375-surface));
 color:var(--nz375-fg);overflow:hidden;
}
body.inferno-core .nz375-host>.panel-head{padding:15px 21px;min-height:51px}
body.inferno-core .nz375-host .nz375-shell{display:grid;grid-template-columns:minmax(230px,290px) minmax(0,1fr);align-items:start;min-height:470px;gap:0}
body.inferno-core .nz375-aside{min-width:0;padding:22px 16px;border-right:1px solid var(--nz375-line);background:var(--nz375-soft);align-self:stretch}
body.inferno-core .nz375-aside-head{margin:0 4px 17px;display:grid;gap:5px}
body.inferno-core .nz375-kicker{font-size:9px;font-weight:850;letter-spacing:1.5px;color:var(--nz375-accent)}
body.inferno-core .nz375-title{color:var(--nz375-fg);font-size:19px;letter-spacing:-.4px;line-height:1.2;margin:0}
body.inferno-core .nz375-sub{font-size:11px;line-height:1.6;color:var(--nz375-muted);margin:0}
body.inferno-core .nz375-search-wrap{margin-bottom:12px}
body.inferno-core .nz375-search{height:40px;width:100%;min-width:0;border:1px solid var(--nz375-line);border-radius:11px;background:var(--nz375-back);color:var(--nz375-fg);font:inherit;padding:10px 12px;outline:none}
body.inferno-core .nz375-search::placeholder{color:var(--nz375-muted)}
body.inferno-core .nz375-search:focus-visible{border-color:var(--nz375-accent);box-shadow:0 0 0 2px var(--nz375-highlight)}
body.inferno-core .nz375-list{display:grid;gap:6px;max-height:530px;overflow:auto;overscroll-behavior:contain}
body.inferno-core .nz375-person{display:flex;align-items:center;text-align:left;gap:11px;width:100%;min-height:62px;padding:10px;border-radius:12px;border:1px solid transparent;background:transparent;color:var(--nz375-fg);cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
body.inferno-core .nz375-person[hidden],body.inferno-core .nz375-list-empty[hidden]{display:none!important}
body.inferno-core .nz375-person:hover{background:var(--nz375-soft);border-color:var(--nz375-line)}
body.inferno-core .nz375-person.is-selected{background:var(--nz375-highlight);border-color:color-mix(in srgb,var(--nz375-accent) 55%,var(--nz375-line));box-shadow:inset 3px 0 var(--nz375-accent)}
body.inferno-core .nz375-person:focus-visible{outline:2px solid var(--nz375-accent);outline-offset:2px}
body.inferno-core .nz375-person-avatar{flex:0 0 37px;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:var(--nz-gradient,var(--nz375-accent));color:#fff;font-weight:800;font-size:15px}
body.inferno-core .nz375-person-content{min-width:0;flex:1;display:grid;gap:3px}
body.inferno-core .nz375-person-name{font-size:12px;font-weight:800;overflow-wrap:anywhere}
body.inferno-core .nz375-person-role{font-size:10px;color:var(--nz375-muted)}
body.inferno-core .nz375-status{font-size:17px;color:var(--nz375-muted)}
body.inferno-core .nz375-status.is-online{color:#4ed6a1}
body.inferno-core .nz375-aside-foot,body.inferno-core .nz375-list-empty{font-size:10px;color:var(--nz375-muted);padding:10px 6px;line-height:1.5;margin:0}
body.inferno-core .nz375-detail{min-width:0;padding:24px 25px}
body.inferno-core .nz375-detail-head{display:grid;gap:5px;margin-bottom:17px}
body.inferno-core .nz375-detail>.nz375-grid{display:block!important;padding:0!important;min-width:0!important}
body.inferno-core .nz375-detail .perm-card{border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;background:transparent!important;min-width:0!important;transition:none!important}
body.inferno-core .nz375-detail .perm-card:hover{transform:none!important}
body.inferno-core .nz375-detail .perm-card[hidden]{display:none!important}
body.inferno-core .nz375-hero{display:grid;gap:13px;background:var(--nz375-soft);border:1px solid var(--nz375-line);border-radius:15px;padding:15px 17px;margin-bottom:16px}
body.inferno-core .nz375-hero .user-row{display:flex;align-items:center;gap:12px;padding:0;border:0!important;margin:0}
body.inferno-core .nz375-hero .user-row:hover{background:transparent!important}
body.inferno-core .nz375-hero .user-row .avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:var(--nz-gradient,var(--nz375-accent));color:white;font-size:21px;font-weight:850}
body.inferno-core .nz375-hero .user-row strong{font-size:17px;color:var(--nz375-fg);letter-spacing:-.3px;overflow-wrap:anywhere}
body.inferno-core .nz375-hero .user-row small{font-size:11px;color:var(--nz375-muted);margin-top:5px;line-height:1.4}
body.inferno-core .nz375-chips{display:flex;gap:7px;flex-wrap:wrap}
body.inferno-core .nz375-chip{font-size:10px;font-weight:750;border:1px solid var(--nz375-line);border-radius:99px;padding:5px 10px;color:var(--nz375-fg);background:var(--nz375-surface)}
body.inferno-core .nz375-card-body{display:grid;gap:15px}
body.inferno-core .nz375-controls,body.inferno-core .nz375-permissions,body.inferno-core .nz375-inherited{border:1px solid var(--nz375-line);border-radius:14px;padding:16px;background:var(--nz375-surface)}
body.inferno-core .nz375-section-heading{font-size:13px;color:var(--nz375-fg);font-weight:850;margin-bottom:13px}
body.inferno-core .nz375-controls .v3-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
body.inferno-core .nz375-role-select{flex:1 1 190px;display:grid;gap:6px;font-size:10px;font-weight:750;color:var(--nz375-muted)}
body.inferno-core .nz375-role-select .role-change{width:100%;max-width:unset;min-width:0;padding:10px 12px;min-height:39px;border:1px solid var(--nz375-line);border-radius:9px;background:var(--nz375-back);color:var(--nz375-fg);font:inherit}
body.inferno-core .nz375-controls .reset2fa{min-height:39px;white-space:nowrap;border-color:var(--nz375-line);color:var(--nz375-fg);background:var(--nz375-soft)}
body.inferno-core .nz375-controls .reset2fa:disabled{opacity:.5;cursor:not-allowed}
body.inferno-core .nz375-readonly{margin:0;font-size:11px;line-height:1.55;color:var(--nz375-muted)}
body.inferno-core .nz375-permissions-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
body.inferno-core .nz375-permissions-title h3{font-size:13px;font-weight:850;margin:0;color:var(--nz375-fg)}
body.inferno-core .nz375-permissions-title small{font-size:10px;color:var(--nz375-muted)}
body.inferno-core .nz375-detail .perm-checks{display:block;padding:0}
body.inferno-core .nz375-perm-group{border-top:1px solid var(--nz375-line);padding:14px 0 2px}
body.inferno-core .nz375-perm-group h4{font-size:12px;font-weight:840;color:var(--nz375-fg);margin:0 0 2px}
body.inferno-core .nz375-perm-group>p{margin:0 0 11px;font-size:10px;color:var(--nz375-muted)}
body.inferno-core .nz375-perm-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.inferno-core .nz375-perm-items label{display:flex;gap:10px;align-items:center;min-height:42px;padding:9px 11px;border-radius:9px;border:1px solid var(--nz375-line);background:var(--nz375-soft);font-size:11px;font-weight:660;line-height:1.35;color:var(--nz375-fg);cursor:pointer;min-width:0;overflow-wrap:anywhere}
body.inferno-core .nz375-perm-items label:has(input:checked){border-color:color-mix(in srgb,var(--nz375-accent) 28%,var(--nz375-line));background:var(--nz375-highlight)}
body.inferno-core .nz375-perm-items input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;accent-color:var(--nz375-accent);margin:0;cursor:pointer}
body.inferno-core .nz375-perm-items label:focus-within{outline:2px solid var(--nz375-accent);outline-offset:1px}
body.inferno-core .nz375-inherited{background:var(--nz375-highlight);display:grid;gap:8px}
body.inferno-core .nz375-inherited strong{font-size:13px;color:var(--nz375-fg)}
body.inferno-core .nz375-inherited p{font-size:11px;color:var(--nz375-muted);line-height:1.55;margin:0}
body.inferno-core .nz375-safety-note{margin-top:15px;display:flex;align-items:center;gap:9px;font-size:10px;line-height:1.5;color:var(--nz375-muted)}
body.inferno-core .nz375-safety-icon{font:800 10px/1 system-ui;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:var(--nz375-highlight);color:var(--nz375-accent);flex-shrink:0}
@media(max-width:950px){body.inferno-core .nz375-host .nz375-shell{grid-template-columns:minmax(205px,240px) minmax(0,1fr)}body.inferno-core .nz375-detail{padding:18px}}
@media(max-width:720px){body.inferno-core .nz375-host .nz375-shell{grid-template-columns:1fr}body.inferno-core .nz375-aside{padding:16px;border-right:0;border-bottom:1px solid var(--nz375-line)}body.inferno-core .nz375-list{display:flex;gap:8px;overflow-x:auto;max-height:none}body.inferno-core .nz375-person{flex:0 0 190px;min-height:54px}body.inferno-core .nz375-aside-foot{display:none}body.inferno-core .nz375-detail{padding:16px}}
@media(max-width:430px){body.inferno-core .nz375-perm-items{grid-template-columns:1fr}body.inferno-core .nz375-chips{gap:5px}body.inferno-core .nz375-hero{padding:14px}body.inferno-core .nz375-controls,body.inferno-core .nz375-permissions{padding:13px}body.inferno-core .nz375-hero .user-row strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){body.inferno-core .nz375-host *{scroll-behavior:auto!important;transition:none!important}}
