.security-identity-intro { margin-bottom: 16px; }
.security-identity-intro p { margin: 0 0 9px; max-width: 1040px; color: #45574e; font-size: 11px; line-height: 1.6; }
.security-identity-intro p:last-of-type { margin-bottom: 7px; }
.security-identity-intro small { color: var(--muted); font-size: 9px; }
.security-identity-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.security-identity-provider { min-width: 0; }
.security-identity-provider > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.security-identity-provider > header h3 { margin: 4px 0 0; font-size: 14px; }
.security-identity-status, .security-identity-pill { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; color: #315244; background: #edf3ee; font-size: 9px; font-weight: 750; white-space: nowrap; }
.security-identity-status.expired, .security-identity-status.error, .security-identity-status.revoked, .security-identity-status.degraded { color: #805019; background: #fff3e1; }
.security-identity-provider .security-identity-target, .security-identity-provider .security-identity-meta { margin: 7px 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.security-identity-target strong { color: var(--ink); }
.security-identity-warning { padding: 8px 10px; border-left: 3px solid #d8a65b; border-radius: 4px; color: #72501f; background: #fff8e9; font-size: 9px; line-height: 1.55; }
.security-identity-connect-form { display: grid; grid-template-columns: minmax(200px, 1fr) auto; align-items: end; gap: 10px; margin: 12px 0; }
.security-identity-connect-form .field { min-width: 0; margin: 0; }
.security-identity-connect-form .field-help { line-height: 1.45; }
.security-identity-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.security-identity-snapshot { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.security-identity-snapshot-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.security-identity-source { margin: 9px 0; color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.security-identity-source strong { color: var(--ink); }
.security-identity-records { display: grid; gap: 7px; margin: 10px 0; }
.security-identity-record { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fafbf9; }
.security-identity-record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.security-identity-record-head > div { min-width: 0; }
.security-identity-record-head strong, .security-identity-record-head small { display: block; overflow-wrap: anywhere; }
.security-identity-record-head strong { color: var(--ink); font-size: 10px; }
.security-identity-record-head small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.security-identity-pill.attention { color: #892f36; background: #fbe7e7; }
.security-identity-record dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; }
.security-identity-record dl div { min-width: 0; }
.security-identity-record dt { color: var(--muted); font-size: 8px; }
.security-identity-record dd { margin: 3px 0 0; color: var(--ink); font-size: 9px; font-weight: 700; }
.security-identity-empty { margin: 8px 0; color: var(--muted); font-size: 10px; }
.security-identity-provider .alert { overflow-wrap: anywhere; }
@media (min-width: 1100px) { .security-identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (max-width: 640px) {
  .security-identity-connect-form { grid-template-columns: 1fr; }
  .security-identity-connect-form > button { justify-self: start; }
  .security-identity-record-head { display: grid; }
  .security-identity-record dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
