/* Provider-grouped credentials: compact cards, no horizontal table scroll. */
.cred-list { padding-bottom: 32px; }
.cred-page { display: grid; gap: 28px; }
.cred-group { min-width: 0; }
.cred-group__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cred-group__name { font-weight: 600; font-size: 15px; margin: 0; line-height: 1.3; }
.cred-group__count { font-family: var(--mono); font-size: 11px; color: var(--ink-muted); }
.cred-cards { display: grid; gap: 8px; }
.cred-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: "identity meta actions" "stats stats stats";
  align-items: center;
  gap: 12px 20px;
  padding: 16px 18px;
  min-width: 0;
}
.cred-card:hover { border-color: var(--border-strong); }
.cred-card--disabled { background: var(--surface-2); }
.cred-card__identity { grid-area: identity; min-width: 0; display: grid; gap: 3px; }
.cred-card__label { font-weight: 600; font-size: 13px; overflow-wrap: anywhere; line-height: 1.4; }
.cred-card__id { font-family: var(--mono); font-size: 10px; color: var(--ink-muted); overflow-wrap: anywhere; }
.cred-card__meta { grid-area: meta; min-width: 0; display: grid; gap: 3px; }
.cred-card__endpoint { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.cred-card__type { font-size: 11px; color: var(--ink-muted); overflow-wrap: anywhere; }
.cred-card__right { grid-area: actions; display: flex; align-items: center; gap: 8px; }
.cred-card__stats {
  grid-area: stats;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.cred-stat { display: flex; align-items: baseline; gap: 5px; }
.cred-stat__val { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.cred-stat__label { font-size: 10px; color: var(--ink-muted); }
@media (max-width: 1100px) {
  .cred-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "identity actions" "meta meta" "stats stats";
  }
}
@media (max-width: 480px) {
  .cred-card { padding: 14px; gap: 10px; }
  .cred-card__right { flex-direction: column; align-items: flex-end; gap: 6px; }
  .cred-card__stats { gap: 6px 16px; }
  .cred-card .action-menu__trigger { min-height: 44px; }
}
