/* Profile contacts inherit the shared palette in every theme. */
.profile-contacts { border: 1px solid var(--border); border-radius: 12px; background: var(--profile-card-bg); overflow: hidden; }
.profile-contacts-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; }
.profile-contacts-heading h2 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.profile-contacts-heading p { margin: 6px 0 0; color: var(--text-muted); font-size: 12px; }
.profile-contacts-count { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.profile-contacts-list { list-style: none; padding: 0; margin: 0; }
.profile-contact-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 124px; align-items: center; column-gap: 16px; row-gap: 4px; padding: 12px 28px; border-top: 1px solid var(--border); }
.profile-contact-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--brand-accent-soft); color: var(--text-accent); border: 1px solid var(--brand-accent-border); font-size: 12px; font-weight: 650; }
.profile-contact-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.profile-contact-name { font-size: 14px; font-weight: 650; line-height: 1.4; }
.profile-contact-role { margin-top: 2px; font-size: 13px; line-height: 1.5; }
.profile-contact-role:empty { display: none; }
.profile-contact-employer { margin-top: 2px; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.profile-contact-linkedin { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; min-height: 28px; padding: 4px 9px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); text-decoration: none; font-size: 11px; font-weight: 500; line-height: 18px; white-space: nowrap; }
.profile-contact-linkedin .person-linkedin-icon { width: 13px; height: 13px; flex-shrink: 0; }
.profile-contact-linkedin > span:last-child { margin-left: auto; font-size: 10px; opacity: .65; }
.profile-contact-linkedin:hover { color: var(--text-accent); border-color: var(--brand-accent-border); background: var(--brand-accent-soft); }
.profile-contacts-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-muted); font-size: 13px; border-top: 1px solid var(--border); padding: 28px; text-align: center; }
.profile-contacts-state p { margin: 0; }
.profile-contacts-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.profile-contacts-pager > div { display: flex; gap: 8px; }
.profile-contacts-disclaimer { padding: 18px 28px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 11px; line-height: 1.7; }
.profile-contacts-coverage { padding: 0 28px 16px; margin: 0; font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.profile-contact-linkedin:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.profile-contact-avatar { grid-column: 1; grid-row: 1 / span 2; }
.profile-contact-body { grid-column: 2; grid-row: 1 / span 2; }
.profile-contact-linkedin { grid-column: 3; grid-row: 1; margin: 0; box-sizing: border-box; }
.profile-contact-reveal { grid-column: 3; grid-row: 2; min-width: 0; }
.profile-contact-reveal [data-reveal-content] > .contact-reveal-button { width: 100%; }
.profile-contact-reveal:has(.contact-reveal-result, .contact-reveal-note) { grid-column: 2 / -1; grid-row: 3; }
.profile-contact-reveal:has(.contact-reveal-note) [data-reveal-content] > .contact-reveal-button { width: auto; }
.profile-contact-reveal:has([data-reveal-content]:empty) { display: none; }
[data-reveal-content] { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.contact-reveal-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; color: var(--text-accent); border: 1px solid var(--border); border-radius: 6px; min-height: 28px; padding: 4px 9px; font: inherit; font-size: 11px; font-weight: 500; line-height: 18px; cursor: pointer; }
.profile-contact-reveal [data-reveal-content] > .contact-reveal-button { justify-content: flex-start; }
.contact-reveal-icon { width: 13px; height: 13px; flex-shrink: 0; }
.contact-reveal-button[data-action="contact-reveal"] { width: 124px; box-sizing: border-box; }
.contact-reveal-button[data-action="contact-reveal"]:not(:disabled) { background: var(--brand-accent-soft); }
.contact-reveal-button:hover:not(:disabled) { background: var(--brand-accent-soft); border-color: var(--brand-accent-border); }
.contact-reveal-button:focus-visible { outline: 2px solid var(--text-accent); outline-offset: 3px; }
.contact-reveal-button:disabled { opacity: 1; color: var(--text-muted); border-color: var(--border); cursor: default; }
.contact-reveal-result { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--brand-accent-soft); }
.contact-reveal-email { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.contact-reveal-email + .contact-reveal-email { margin-top: 10px; }
.contact-reveal-address { color: var(--text); font-size: 13px; overflow-wrap: anywhere; min-width: 0; }
.contact-reveal-verification { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 5px; background: transparent; box-shadow: none; color: var(--text); cursor: help; }
.contact-reveal-verification:focus-visible { outline: 2px solid var(--text-accent); outline-offset: 2px; }
.contact-reveal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.contact-reveal-dot--verified { background: var(--success); }
.contact-reveal-dot--unverified { background: var(--warning); }
.contact-reveal-tooltip { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: 1; padding: 5px 8px; border: 1px solid var(--border); border-radius: 5px; background: var(--profile-card-bg); color: var(--text); font-size: 11px; line-height: 1.4; white-space: nowrap; }
.contact-reveal-verification:hover .contact-reveal-tooltip,
.contact-reveal-verification:focus .contact-reveal-tooltip { display: block; }
.contact-reveal-note { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.contact-reveal-spinner { flex-shrink: 0; width: 12px; height: 12px; border: 2px solid var(--border); border-top-color: var(--text-accent); border-radius: 50%; animation: contact-reveal-spin 1s linear infinite; }
@keyframes contact-reveal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .contact-reveal-spinner { animation: none; } }
@media (max-width: 600px) {
    .profile-contacts-heading, .profile-contact-row { padding: 12px 16px; }
    .profile-contact-row { grid-template-columns: 34px minmax(0, 1fr) 124px; column-gap: 12px; }
    .profile-contact-avatar { flex-basis: 34px; height: 34px; border-radius: 10px; }
    .profile-contact-body { grid-column: 2 / -1; }
    .profile-contact-linkedin { grid-column: 2 / -1; grid-row: 3; justify-self: start; width: 124px; margin-top: 4px; }
    .profile-contact-reveal { grid-column: 2 / -1; grid-row: 4; width: 124px; }
    .profile-contact-reveal:has(.contact-reveal-result, .contact-reveal-note) { grid-row: 4; width: auto; }
    .profile-contacts-disclaimer, .profile-contacts-pager { padding: 16px; }
    .profile-contacts-coverage { padding: 0 16px 16px; }
}
