.custom-roles-panel{margin-top:26px}.custom-roles-panel .panel-head{gap:16px;flex-wrap:wrap}.custom-role-intro,.custom-role-footer{padding:18px 28px;color:var(--muted);font-size:12px;line-height:1.8;margin:0}.custom-role-footer{border-top:1px solid var(--line)}.custom-role-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 28px 24px}.custom-role-card{min-width:0;border:1px solid var(--line);border-radius:9px;padding:21px;background:var(--surface-subtle)}.custom-role-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.custom-role-card h3{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}.custom-role-card-head p{margin:0;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.custom-role-status{font-size:11px;padding:3px 8px;color:var(--green);background:var(--green-soft);border-radius:4px;white-space:nowrap}.custom-role-status.off{color:var(--orange);background:var(--orange-soft)}.custom-role-caps{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0 14px}.custom-role-caps span{font-size:11px;background:var(--blue-soft);color:var(--blue-deep);border-radius:4px;padding:4px 7px}.custom-role-members{font-size:11px;color:var(--muted);margin-bottom:17px;overflow-wrap:anywhere}.custom-role-empty{text-align:center;padding:23px 25px 34px}.custom-role-empty>strong{display:block;color:var(--blue-deep);font-size:16px;margin-bottom:8px}.custom-role-empty p{max-width:510px;margin:0 auto 17px;color:var(--muted);font-size:12px}.custom-role-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.custom-role-permissions{margin:0;padding:16px 18px 18px;border:1px solid var(--line);border-radius:8px;display:grid;gap:15px}.custom-role-permissions legend{padding:0 6px;font-size:13px;font-weight:600;color:var(--blue-deep)}.custom-role-permission{display:flex;gap:10px;margin:0;font-weight:400;cursor:pointer;align-items:flex-start}.custom-role-permission span{min-width:0}.custom-role-permission strong{display:block;font-size:13px;font-weight:500}.custom-role-permission small{display:block;color:var(--muted);font-size:11px;margin-top:3px;font-weight:400;line-height:1.7}.custom-role-card button:disabled{cursor:not-allowed}@media(max-width:760px){.custom-role-list{grid-template-columns:1fr;padding:0 18px 20px}.custom-role-intro,.custom-role-footer{padding:16px 18px}.custom-role-card{padding:18px}.custom-role-fields{grid-template-columns:1fr}.custom-roles-panel .panel-head>.btn{width:100%}.custom-role-card .actions{gap:7px}.custom-role-card .actions .btn{flex:1}}
