/*
 * Nexus pages layer: BuddyPress group header, member card and GamiPress participation recognition, in the kit
 * grammar (hairlines, mono labels, plate). Tokens only; loaded on BuddyPress pages and wherever the recognition
 * shortcode renders. Restyles BuddyPress markup without copying any template.
 */
.nx-bp-type {
  display: inline-block;
  margin: 0 0 var(--nx-space-2);
  font-family: var(--nx-font-mono);
  font-size: var(--nx-fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}
body.nx-bp-group #item-header,
body.nx-bp-group .item-header-wrap {
  border-block-end: 1px solid var(--nx-border-hairline);
  box-shadow: none;
}
body.nx-bp-nexus-working-group #item-header,
body.nx-bp-nexus-chapter #item-header { border-block-start: 2px solid var(--nx-border-hairline-strong); }
body.nx-bp-members #members-list > li,
body.nx-bp-members .members-list > li {
  border: 1px solid var(--nx-border-hairline);
  border-radius: var(--nx-radius);
  box-shadow: none;
}

.nx-recognition { margin-block: var(--nx-space-4); }
.nx-recognition__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin: var(--nx-space-3) 0; background: var(--nx-border-hairline); }
.nx-recognition__rows > div { background: var(--nx-bg-canvas); padding: var(--nx-space-3); }
.nx-recognition__rows dt { font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--nx-text-muted); }
.nx-recognition__rows dd { margin: var(--nx-space-1) 0 0; font-family: var(--nx-font-mono); font-size: var(--nx-fs-lg); font-variant-numeric: tabular-nums; color: var(--nx-text-primary); }
.nx-recognition-line { display: flex; flex-wrap: wrap; gap: var(--nx-space-3); margin: var(--nx-space-2) 0 0; font-family: var(--nx-font-mono); font-size: var(--nx-fs-xs); color: var(--nx-text-secondary); }
.nx-recognition__k { color: var(--nx-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.nx-recognition--group { margin-block-start: var(--nx-space-3); }
