/* api-keys module: the shown-once secret box and the scope badges (tokens and .ui-* only). */
.apikey-secret {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
/* The key must stay fully selectable, so it wraps instead of being truncated. */
.apikey-secret code {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
  user-select: all;
}
.apikey-secret .ui-btn { flex: none; }

.apikey-scopes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
