.role-rules p:last-child{margin-bottom:0}.role-matrix-tools{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.role-matrix-tools label{flex:1;min-width:180px}.role-matrix-scroll{max-width:100%;overflow:auto;max-height:65vh;border:1px solid var(--line,#e1e5eb);border-radius:10px}.role-matrix{min-width:960px;width:100%;border-collapse:separate;border-spacing:0}.role-matrix th,.role-matrix td{padding:12px;border-bottom:1px solid var(--line,#e1e5eb);text-align:left}.role-matrix thead th{position:sticky;top:0;background:#eef3f8;z-index:2}.role-matrix tbody th{position:sticky;left:0;background:#fff;min-width:220px;z-index:1}.role-matrix select{min-width:108px;max-width:140px}.role-unavailable{color:#657186}.role-change-preview{max-height:190px;overflow:auto;font-size:.9rem;line-height:1.55;background:#f2f7fa;padding:14px;border-radius:8px}.role-matrix [hidden]{display:none!important}body [data-action][hidden],body a[hidden],body .ui-nav-group[hidden]{display:none!important}@media(max-width:760px){.role-matrix-tools{display:grid;grid-template-columns:1fr;width:100%}.role-matrix-tools label{min-width:0}.role-matrix:has(th[hidden]){min-width:100%}.role-matrix tbody th{min-width:145px;max-width:185px;font-size:.85rem}.role-matrix th,.role-matrix td{padding:10px}.role-matrix-scroll{max-height:60vh}}
