.customer-website-heading { display:flex;gap:12px;align-items:center;justify-content:space-between }
.customer-website-heading h3 { margin:0 }
.customer-website-panel h4 { font-size:var(--font-body);line-height:1.6;margin:18px 0 8px;font-weight:500;overflow-wrap:anywhere }
.customer-website-description { color:var(--text-secondary);font-size:var(--font-small);line-height:1.8;overflow-wrap:anywhere }
.customer-website-panel details { border:1px solid var(--border-subtle);border-radius:10px;overflow:hidden;margin:14px 0 }
.customer-website-panel summary { padding:12px 14px;cursor:pointer;font-size:var(--font-small);color:var(--text-secondary);min-height:20px }
.customer-website-text { padding:14px;border-top:1px solid var(--surface-selected);max-height:320px;overflow-y:auto;overscroll-behavior:contain;font-size:var(--font-small);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere }
.customer-website-date { font-size:var(--font-caption);color:var(--text-tertiary);line-height:1.7;margin:12px 0 4px }
.customer-website-source { font-size:var(--font-caption);color:var(--text-secondary);overflow-wrap:anywhere }


.customer-company-tags { display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px;max-width:100% }
.customer-company-tag { display:inline-block;max-width:100%;box-sizing:border-box;border:1px solid var(--border-subtle);border-radius:6px;background:var(--surface-subtle);color:var(--text-secondary);padding:3px 7px;font-size:var(--font-caption);line-height:1.6;overflow-wrap:anywhere }
.customer-profile-summary,.customer-profile-country { font-size:var(--font-small);line-height:1.8;color:var(--text-secondary);overflow-wrap:anywhere;margin:12px 0 }
.customer-profile-evidence { margin-top:16px;border:1px solid var(--border-subtle);border-radius:10px;overflow:hidden }
.customer-profile-evidence summary { padding:12px 14px;min-height:20px;cursor:pointer;color:var(--text-secondary);font-size:var(--font-small) }
.customer-profile-evidence-list { border-top:1px solid var(--surface-selected);max-height:360px;overflow-y:auto;overscroll-behavior:contain;padding:0 14px }
.customer-profile-fact { padding:15px 0;border-bottom:1px solid var(--surface-selected);overflow-wrap:anywhere;font-size:var(--font-small);line-height:1.7 }
.customer-profile-fact:last-child { border:0 }
.customer-profile-fact strong { color:var(--text-primary);font-weight:500 }
.customer-profile-fact blockquote { margin:9px 0;padding:0 0 0 12px;border-left:2px solid var(--border-default);color:var(--text-secondary);white-space:pre-wrap }
.customer-profile-fact a { color:var(--text-secondary);font-size:var(--font-caption) }

/* Retained styles for read-only legacy enrichment consumers. */
.customer-public-emails{margin-top:18px;padding-top:16px;border-top:1px solid var(--portal-line,var(--border-subtle))}
.customer-public-emails h4{margin:0 0 10px;font-size:var(--font-body);font-weight:var(--weight-medium)}
.customer-public-email{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:8px 0;font-size:var(--font-body)}
.customer-public-email a:first-child{min-width:0;overflow-wrap:anywhere}.customer-public-email a:last-child{flex-shrink:0;color:var(--portal-muted,var(--text-secondary))}

/* Pool labels use category colors; wording and lifecycle remain the source of truth. */
body.dashboard-page #view-buyers {
  --customer-blue-surface:#edf3fa;--customer-blue-ink:#3f5f82;--customer-blue-border:#d5e1ee;
  --customer-purple-surface:#f2eef8;--customer-purple-ink:#65517e;--customer-purple-border:#e0d5ee;
  --customer-gold-surface:#faf2df;--customer-gold-ink:#795d28;--customer-gold-border:#eaddb7;
  --customer-teal-surface:#eaf4f1;--customer-teal-ink:#35695c;--customer-teal-border:#cce1d9;
  --customer-green-surface:#eaf4eb;--customer-green-ink:#396648;--customer-green-border:#cee1d1;
  --customer-clay-surface:#f8eeea;--customer-clay-ink:#875142;--customer-clay-border:#e8d4cb;
  --customer-neutral-surface:#f1f2f4;--customer-neutral-ink:#62666e;--customer-neutral-border:#dcdfe4;
}
body.dashboard-page #view-buyers :is(.customer-role-tag,.customer-product-tag,.customer-review-state) { font-weight:500; }
body.dashboard-page #view-buyers .customer-role-tag { background:var(--customer-purple-surface);border-color:var(--customer-purple-border);color:var(--customer-purple-ink); }
body.dashboard-page #view-buyers .customer-product-tag { background:var(--customer-gold-surface);border-color:var(--customer-gold-border);color:var(--customer-gold-ink); }
body.dashboard-page #view-buyers .customer-role-more { background:var(--customer-neutral-surface);border-color:var(--customer-neutral-border);color:var(--customer-neutral-ink); }
body.dashboard-page #view-buyers .customer-company-location { padding:1px 7px;border:1px solid var(--customer-blue-border);border-radius:5px;background:var(--customer-blue-surface);color:var(--customer-blue-ink);font-weight:500;line-height:20px; }
body.dashboard-page #view-buyers .customer-company-location::before { background:currentColor; }
body.dashboard-page #view-buyers .customer-company-location.is-unknown { background:var(--customer-neutral-surface);border-color:var(--customer-neutral-border);color:var(--customer-neutral-ink); }
body.dashboard-page #view-buyers .customer-contact-state { color:var(--customer-neutral-ink); }
body.dashboard-page #view-buyers .customer-contact-state.is-available { padding:1px 7px;border:1px solid var(--customer-teal-border);border-radius:5px;background:var(--customer-teal-surface);color:var(--customer-teal-ink);font-weight:500;line-height:20px; }
body.dashboard-page #view-buyers .customer-review-state { background:var(--customer-neutral-surface);border-color:var(--customer-neutral-border);color:var(--customer-neutral-ink);opacity:1; }
body.dashboard-page #view-buyers .customer-review-state.is-new { background:var(--customer-blue-surface);border-color:var(--customer-blue-border);color:var(--customer-blue-ink); }
body.dashboard-page #view-buyers .customer-review-state.is-researching { background:var(--customer-gold-surface);border-color:var(--customer-gold-border);color:var(--customer-gold-ink); }
body.dashboard-page #view-buyers .customer-review-state.is-researched { background:var(--customer-green-surface);border-color:var(--customer-green-border);color:var(--customer-green-ink); }
body.dashboard-page #view-buyers .customer-review-state.is-marketed { background:var(--customer-purple-surface);border-color:var(--customer-purple-border);color:var(--customer-purple-ink); }
body.dashboard-page #view-buyers .customer-review-state.is-contacted { background:var(--customer-teal-surface);border-color:var(--customer-teal-border);color:var(--customer-teal-ink); }
body.dashboard-page #view-buyers .customer-review-state.is-research_failed { background:var(--customer-clay-surface);border-color:var(--customer-clay-border);color:var(--customer-clay-ink); }

/* A quiet shared priority marker beside the company name. */
.customer-priority-toggle{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;min-width:30px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--text-tertiary);cursor:pointer;transition:background .15s ease,color .15s ease}
.customer-priority-toggle:hover{background:var(--surface-hover);color:var(--text-primary)}
.customer-priority-toggle svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.customer-priority-toggle[aria-pressed="true"]{color:#b86968}
.customer-priority-toggle[aria-pressed="true"] svg{fill:currentColor}
.customer-priority-toggle:disabled{cursor:default;opacity:.45}
.customer-priority-toggle[aria-busy="true"]{opacity:.55}
.customer-priority-toggle:focus-visible{outline:2px solid var(--text-secondary);outline-offset:2px}
.customer-row-business-action{margin-left:auto;white-space:nowrap;font-size:var(--font-list-meta)}
@media(max-width:700px){.customer-priority-toggle{width:36px;height:36px;min-width:36px}.customer-row-business-action{margin-left:0}}
@media(prefers-reduced-motion:reduce){.customer-priority-toggle{transition:none}}
