.hint-text-sm {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #999;
}

.legal-name {
  font-weight: 600;
}

// Grid rows are clickable to open the recipient detail.
.clickable-rows ::ng-deep .k-grid-content tr {
  cursor: pointer;
}

// Summary chips.
.summary-chip {
  flex: 1 1 200px;
  min-width: 180px;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #f9fafb;
}

.summary-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

// Missing-W-9 chip is a governance flag — make it stand out.
.summary-chip-flag {
  border-color: #fca5a5;
  background-color: #fef2f2;

  .summary-value {
    color: #991b1b;
  }
}

// Recipient detail header.
.detail-header {
  margin-bottom: 0.75rem;
}

.detail-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #555;
}

// Status / threshold badges.
.badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.badge-onfile {
  background-color: #dcfce7;
  color: #166534;
}

.badge-requested {
  background-color: #fef9c3;
  color: #854d0e;
}

.badge-missing {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-expired {
  background-color: #fed7aa;
  color: #9a3412;
}

.badge-threshold {
  background-color: #dbeafe;
  color: #1e40af;
}
