/* CONTACT LIST: a person's contact links (crm/partials/_contact_list.html),
   one per line with text, or icons only on one line. Graduated from the person page's
   detail.css when the organiser's run card (METIS-pub#779) became its second
   user. In @layer base, where detail.css kept it, so the rules that tune an
   icon in context (base.css, table.css) still win as they did. */

@layer base {
  .contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }
  .contact-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-md);
  }
  .contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-text-muted);
  }

  /* Icons only, on one line (membership rows). */
  .contact-icons {
    display: flex;
    gap: var(--space-1);
    align-items: center;
  }
  .contact-icons a,
  .contact-icons span {
    display: inline-flex;
    color: var(--color-text-muted);
    text-decoration: none;
  }
  .contact-icons a:hover {
    color: var(--color-accent);
  }
}
