/* fc-reach.css — Prospecting → Contacts, Events, Audiences.
   Self-contained (CLAUDE.md: shared components never assume the host page's styles).
   Scoped under .fc-reach; colours follow find-customers-v2.css's purple accent. */
.fc-reach { max-width: 1120px; margin: 0 auto; padding: 24px 24px 48px; color: #111827; font-size: 14px; }
.fc-reach > * { margin-bottom: 20px; }
.fc-reach > *:last-child { margin-bottom: 0; }
.fc-reach-head h1 { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.fc-reach-head p { margin: 0; color: #6B7280; max-width: 720px; line-height: 1.5; }
.fc-reach-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; padding: 18px; }
.fc-reach-card h2 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.fc-reach-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.fc-reach-row--filters { grid-template-columns: 2fr 1fr; }
.fc-reach-input { width: 100%; box-sizing: border-box; border: 1px solid #D1D5DB; border-radius: 10px; padding: 10px 12px;
  font-size: 16px; background: #fff; color: #111827; min-height: 44px; }
.fc-reach-input:focus { outline: none; border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.fc-reach-checks { display: flex; flex-wrap: wrap; margin: 0 0 12px; }
.fc-reach-check { display: inline-flex; align-items: center; margin: 0 16px 8px 0; color: #374151; cursor: pointer; }
.fc-reach-check input { margin-right: 6px; width: 16px; height: 16px; accent-color: #7C3AED; }
.fc-reach-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 10px; border: 1px solid #6D28D9; background: #7C3AED; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fc-reach-btn:hover { background: #6D28D9; }
.fc-reach-btn[disabled] { opacity: .6; cursor: default; }
.fc-reach-btn--ghost { background: #fff; color: #6D28D9; border-color: #DDD6FE; min-height: 36px; padding: 0 12px; font-size: 13px; }
.fc-reach-btn--ghost:hover { background: #F5F3FF; }
.fc-reach-link { background: none; border: none; color: #6D28D9; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.fc-reach-muted { color: #6B7280; font-size: 12.5px; }
.fc-reach-error { color: #B91C1C; margin: 10px 0 0; }
.fc-reach-empty { border: 1px dashed #E2E4E9; border-radius: 12px; padding: 32px 20px; text-align: center; color: #6B7280; }
.fc-reach-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #F3EFFE; color: #5B21B6; font-size: 12px; font-weight: 600; }
.fc-reach-chip--warn { background: #FEF3C7; color: #92400E; }
.fc-reach-chip--ok { background: #DCFCE7; color: #166534; }
.fc-reach-table { border-top: 1px solid #F1F2F4; }
.fc-reach-tr { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1.4fr 1.2fr; gap: 12px; align-items: center;
  padding: 12px 4px; border-bottom: 1px solid #F1F2F4; }
.fc-reach-tr > span { min-width: 0; overflow-wrap: anywhere; }
.fc-reach-th { font-size: 12px; font-weight: 600; color: #6B7280; text-transform: uppercase; letter-spacing: .03em; }
.fc-reach a { color: #6D28D9; }
.fc-reach-list { display: block; }
.fc-reach-item { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font: inherit; color: inherit; }
.fc-reach-item:hover { border-color: #C4B5FD; }
.fc-reach-item h3 { margin: 0 0 4px; font-size: 15px; }
.fc-reach-meta > * { margin-right: 10px; }
.fc-reach-progress { height: 4px; background: #EDE9FE; border-radius: 4px; overflow: hidden; margin: 8px 0 0; }
.fc-reach-progress > span { display: block; height: 100%; background: #7C3AED; transition: width .3s; }
.fc-reach-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 460px; max-width: 100vw; background: #fff; z-index: 1000;
  box-shadow: -12px 0 32px rgba(17, 24, 39, .12); overflow-y: auto; padding: 20px; box-sizing: border-box; }
.fc-reach-drawer h2 { font-size: 18px; margin: 0 0 4px; padding-right: 40px; }
.fc-reach-drawer section { margin: 18px 0 0; }
.fc-reach-drawer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: #6B7280; margin: 0 0 8px; }
.fc-reach-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 8px; border: 1px solid #E5E7EB;
  background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #374151; }
.fc-reach-quote { border-left: 3px solid #DDD6FE; padding: 2px 0 2px 10px; color: #374151; margin: 0 0 8px; }
/* FCKit (js/fc-kit.js) — the Find pattern shared by every Find view. */
.fck-row { transition: background .12s; }
.fck-row:hover { background: #FBFAFF; }
/* One size across every cell — dates, places, badges and names read as one row. */
.fck-cell { font-size: 14px; line-height: 1.4; color: #374151; overflow-wrap: anywhere; }
.fck-cell .fck-main { font-size: 14px; font-weight: 650; color: #16161D; }
.fck-cell .fck-sub, .fck-cell .fc-reach-muted { font-size: 14px; color: #9AA2B1; }
.fck-cell .fck-sub { margin-top: 1px; }
.fck-cell .fc-reach-chip { font-size: 12.5px; }
.fck-label { font-size: 13px; font-weight: 600; color: #374151; margin: 0 0 6px; }
.fck-crit > * { margin-bottom: 10px; }
.fck-crit > *:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .fck-head { display: none !important; }
  .fck-row { grid-template-columns: 34px 1fr !important; row-gap: 4px; }
  .fck-row > .fck-cell { grid-column: 2; }
  .fck-row > .fck-cell[data-label]:not(:nth-child(2))::before { content: attr(data-label) ': '; color: #9CA3AF; font-size: 12px; }
}
@media (max-width: 720px) {
  .fc-reach { padding: 16px 16px 40px; }
  .fc-reach-row, .fc-reach-row--filters { grid-template-columns: 1fr; }
  .fc-reach-th { display: none; }
  .fc-reach-tr { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .fc-reach-tr > span[data-label]::before { content: attr(data-label) ': '; color: #9CA3AF; font-size: 12px; }
  .fc-reach-tr > span[data-label="Name"]::before { content: none; }
  .fc-reach-drawer { width: 100vw; }
}
