/* Profile-only layout: named fields survive mobile adapters and numbered rows. */
body[data-template="cs27Reg"] .cs27-profile-page #cs27-profile-privileges {
  display:block!important;width:100%!important;height:auto!important;max-height:none!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;
}
body[data-template="cs27Reg"] .cs27-profile-page #cs27-profile-privileges > .cs27-entitlement-row {
  display:block!important;width:100%!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:10px 0!important;border:0!important;border-bottom:1px solid var(--cs27-border,#343e3f)!important;
  border-radius:0!important;background:transparent!important;overflow:visible!important;
}
body[data-template="cs27Reg"] .cs27-profile-page #cs27-profile-privileges.is-collapsed > .cs27-privilege-extra {display:none!important}
body[data-template="cs27Reg"] .cs27-profile-page #cs27-profile-privileges > .cs27-entitlement-row > div {
  display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;
  grid-template-areas:"number server status" "services services services"!important;
  align-items:start!important;gap:7px 8px!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:visible!important;
}
#cs27-profile-privileges > .cs27-entitlement-row > div::before,
#cs27-profile-privileges > .cs27-entitlement-row > div::after {content:none!important;display:none!important}
body[data-template="cs27Reg"] .cs27-profile-page #cs27-profile-privileges > .cs27-entitlement-row > div > [class*="cs27-field-"] {
  display:flex!important;position:static!important;flex:none!important;flex-direction:row!important;
  align-items:center!important;justify-content:flex-start!important;align-self:start!important;order:0!important;
  width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;overflow:visible!important;gap:5px!important;
}
#cs27-profile-privileges .cs27-field-number {grid-area:number!important}
#cs27-profile-privileges .cs27-field-status {grid-area:status!important}
#cs27-profile-privileges .cs27-field-identity {grid-area:server!important;cursor:pointer}
#cs27-profile-privileges .cs27-field-services {grid-area:services!important;flex-wrap:wrap!important}
#cs27-profile-privileges > .cs27-entitlement-row > div > [class*="cs27-field-"] > :is(span,i) {display:none!important}
#cs27-profile-privileges > .cs27-entitlement-row > div > [class*="cs27-field-"] > p,
#cs27-profile-privileges > .cs27-entitlement-row > div > [class*="cs27-field-"] > p > a {
  display:block!important;position:static!important;inset:auto!important;transform:none!important;
  width:auto!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;line-height:1.4!important;font-size:12px!important;text-align:left!important;
  white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;overflow:visible!important;
}
#cs27-profile-privileges .cs27-field-number > p {font-size:11px!important;color:var(--cs27-muted,#99a4a5)!important;font-weight:500!important}
#cs27-profile-privileges .cs27-field-identity > p {font-weight:600!important}
#cs27-profile-privileges .cs27-field-status > p {font-size:11px!important;color:#5abe87!important;max-width:100px!important}
#cs27-profile-privileges .cs27-field-services > [data-services-source][hidden] {display:none!important}
#cs27-profile-privileges .cs27-service-groups {display:flex!important;flex:1 1 180px!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;gap:4px!important;margin:0!important;padding:0!important}
#cs27-profile-privileges .cs27-service-tags {display:flex!important;width:auto!important;min-width:0!important;max-width:100%!important;flex-direction:row!important;flex-wrap:wrap!important;gap:4px!important;margin:0!important;padding:0!important;list-style:none!important}
#cs27-profile-privileges .cs27-service-tag {display:inline-flex!important;flex:0 1 auto!important;flex-direction:row!important;align-items:baseline!important;gap:4px!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:3px 6px!important;line-height:1.3!important;border-radius:5px!important}
#cs27-profile-privileges .cs27-service-tag > :is(span,small) {display:inline!important;position:static!important;order:0!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important;font-size:11px!important}
#cs27-profile-privileges .cs27-service-tag > small {font-size:10px!important;opacity:.75}
#cs27-profile-privileges .cs27-services-details {display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;min-height:28px!important;margin:0!important;padding:4px 8px!important;font-size:11px!important;line-height:1.3!important;gap:4px!important}
.cs27-profile-services .cs27-privileges-toggle {display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;margin:10px 0 0;padding:8px 12px;border:1px solid var(--cs27-border,#343e3f);border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.cs27-profile-services .cs27-privileges-toggle:hover {border-color:#ff663b;color:#ff663b}
.cs27-profile-services .cs27-privileges-toggle:focus-visible {outline:2px solid #ff663b;outline-offset:3px}
.cs27-profile-services .cs27-privileges-toggle[hidden] {display:none!important}
html[data-cs27-theme="light"] #cs27-profile-privileges .cs27-field-status > p {color:#28764b!important}
@media(max-width:420px) {
  #cs27-profile-privileges .cs27-field-status > p {max-width:80px!important}
  #cs27-profile-privileges .cs27-services-details {min-height:32px!important}
}

