/* Lead Finder (2026-11): filters on the side, results in a card, a selection bar and a company panel.
   Same look as Lead Lists. */
#lf {
  --lf-blue: #3b82f6;
  --lf-blue-dark: #2563eb;
  --lf-ink: #111827;
  --lf-muted: #6b7280;
  --lf-line: #eef0f4;
  --lf-soft: #f8fafc;
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px 24px 96px;
  color: var(--lf-ink);
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}
#lf *, #lf *::before, #lf *::after { box-sizing: border-box; }
#lf button, #lf input, #lf select { font: inherit; color: inherit; }
#lf button { cursor: pointer; }

#lf .lf_shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }

/* filters */
#lf .lf_side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
#lf #lf_form { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--lf-line); border-radius: 14px; }
#lf .lf_field { display: flex; flex-direction: column; gap: 6px; }
#lf .lf_field label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lf-muted); }
#lf .lf_pick { position: relative; }
#lf .lf_pick input, #lf select {
  width: 100%; padding: 8px 11px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#lf .lf_pick input:focus, #lf select:focus { border-color: var(--lf-blue); box-shadow: 0 0 0 3px #3b82f626; }
#lf .lf_options {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); display: none; max-height: 260px; overflow-y: auto;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 10px 24px #1018281f;
}
#lf .lf_options.lf_open { display: block; }
#lf .lf_option { display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 11px; text-align: left; background: none; border: 0; }
#lf .lf_option:hover, #lf .lf_option.lf_active { background: #eff6ff; }
#lf .lf_option small { color: var(--lf-muted); white-space: nowrap; }
#lf .lf_chips { display: flex; flex-wrap: wrap; gap: 4px; }
#lf .lf_chips:empty { display: none; }
#lf .lf_chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 4px 3px 9px; background: #e8f0fe;
  border-radius: 999px; font-size: 13px; color: #1d4ed8;
}
#lf .lf_chip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#lf .lf_chip button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: none; color: #1d4ed8; line-height: 1; }
#lf .lf_chip button:hover { background: #c7dbfd; }
#lf .lf_more summary { cursor: pointer; font-size: 13px; font-weight: 500; color: var(--lf-blue); }
#lf .lf_more[open] summary { margin-bottom: 12px; }
#lf .lf_more .lf_field + .lf_field { margin-top: 14px; }
#lf .lf_toggles { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
#lf .lf_toggles label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
#lf .lf_form_actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
#lf .lf_note { margin: 0; font-size: 12px; color: var(--lf-muted); }

#lf .lf_btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 13px; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: #374151; white-space: nowrap;
  transition: border-color .15s, background .15s;
}
#lf .lf_btn:hover { background: var(--lf-soft); border-color: #d1d5db; }
#lf .lf_btn:disabled { opacity: .5; cursor: not-allowed; }
#lf .lf_btn_primary, #lf .lf_btn_primary:hover { background: var(--lf-blue); border-color: var(--lf-blue); color: #fff; }
#lf .lf_btn_primary:hover { background: var(--lf-blue-dark); }

/* history */
#lf .lf_history { padding: 0 4px; }
#lf .lf_history_title { margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lf-muted); }
#lf .lf_history_item {
  display: block; width: 100%; padding: 7px 10px; background: none; border: 0; border-radius: 9px; text-align: left; font-size: 13px; color: #4b5563;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
#lf .lf_history_item:hover { background: #eef1f6; color: var(--lf-ink); }
#lf .lf_history_item small { color: #9ca3af; }
#lf .lf_history_empty { font-size: 13px; color: #9ca3af; padding: 4px 10px; }

/* results */
#lf .lf_main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#lf .lf_top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
#lf .lf_top h1 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
#lf .lf_top p { margin: 2px 0 0; font-size: 13px; color: var(--lf-muted); }
#lf .lf_card { position: relative; min-height: 320px; overflow: hidden; background: #fff; border: 1px solid var(--lf-line); border-radius: 14px; box-shadow: 0 1px 2px #1018280a; }
#lf .lf_head, #lf .lf_row {
  display: grid; grid-template-columns: 28px minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1.3fr) 64px 64px 52px; gap: 12px; align-items: center;
}
#lf .lf_head { padding: 10px 18px; background: #fafbfc; border-bottom: 1px solid var(--lf-line); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lf-muted); }
#lf .lf_row { min-height: 60px; padding: 9px 18px; border-bottom: 1px solid var(--lf-line); cursor: pointer; transition: background .15s; }
#lf .lf_row:hover { background: var(--lf-soft); }
#lf .lf_row.lf_selected, #lf .lf_row.lf_open { background: #eff6ff; }
#lf .lf_row input[type=checkbox], #lf .lf_head input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }
#lf .lf_company { display: flex; align-items: center; gap: 10px; min-width: 0; }
#lf .lf_company img { flex: none; width: 28px; height: 28px; border-radius: 7px; background: #f3f4f6; }
#lf .lf_company div { min-width: 0; }
#lf .lf_name { overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
#lf .lf_domain { overflow: hidden; font-size: 13px; color: var(--lf-muted); white-space: nowrap; text-overflow: ellipsis; }
#lf .lf_loc { overflow: hidden; font-size: 13px; color: #4b5563; white-space: nowrap; text-overflow: ellipsis; }
#lf .lf_techs { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; max-height: 46px; overflow: hidden; }
#lf .lf_tech { padding: 1px 7px; background: #eef1f6; border-radius: 6px; font-size: 12px; color: #374151; white-space: nowrap; }
#lf .lf_num { text-align: right; font-variant-numeric: tabular-nums; }
#lf .lf_zero { color: #cbd5e1; }
#lf .lf_masked .lf_name, #lf .lf_masked .lf_domain { filter: blur(3px); user-select: none; }
#lf .lf_masked_note { font-size: 12px; color: var(--lf-blue); }
#lf .lf_empty { position: absolute; inset: 41px 0 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--lf-muted); }
#lf .lf_loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #ffffffb3; }
#lf .lf_loading[hidden], #lf .lf_empty[hidden], #lf [hidden] { display: none !important; }
#lf .lf_spinner { width: 28px; height: 28px; border: 3px solid #dbeafe; border-top-color: var(--lf-blue); border-radius: 50%; animation: lf_spin .8s linear infinite; }
@keyframes lf_spin { to { transform: rotate(360deg); } }
#lf .lf_footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: #4b5563; }
#lf .lf_pages { display: flex; align-items: center; gap: 8px; }

/* selection bar */
#lf .lf_selbar {
  position: fixed; z-index: 30; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px;
  max-width: calc(100vw - 24px); padding: 6px; background: #111827; border-radius: 14px; box-shadow: 0 12px 32px #1018284d;
}
#lf .lf_selbar span { padding: 0 12px 0 10px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; }
#lf .lf_selbar button { min-height: 36px; padding: 0 11px; background: none; border: 0; border-radius: 9px; font-size: 13px; font-weight: 500; color: #e5e7eb; white-space: nowrap; }
#lf .lf_selbar button:hover { background: #374151; color: #fff; }
#lf .lf_selbar button:disabled { opacity: .5; cursor: not-allowed; }
#lf .lf_selbar .lf_selbar_close { color: #9ca3af; }

/* company panel */
#lf .lf_panel_back { position: fixed; z-index: 40; inset: 0; background: rgba(17, 24, 39, .25); }
#lf .lf_panel {
  position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 18px; width: 420px; max-width: 100vw;
  padding: 28px 24px; overflow-y: auto; background: #fff; box-shadow: -12px 0 32px #1018281f; animation: lf_slide .2s ease-out;
}
@keyframes lf_slide { from { transform: translateX(32px); opacity: 0; } }
#lf .lf_panel_close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--lf-muted); }
#lf .lf_panel_close:hover { background: #f3f4f6; color: var(--lf-ink); }
#lf .lf_panel_head { display: flex; align-items: center; gap: 12px; padding-right: 32px; }
#lf .lf_panel_head img { width: 44px; height: 44px; border-radius: 10px; background: #f3f4f6; }
#lf .lf_panel_head h2 { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
#lf .lf_panel_head a { font-size: 13px; color: var(--lf-blue); text-decoration: none; overflow-wrap: anywhere; }
#lf .lf_panel_actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#lf .lf_facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 12px; margin: 0; padding-top: 16px; border-top: 1px solid var(--lf-line); }
#lf .lf_facts dt { color: var(--lf-muted); }
#lf .lf_facts dd { margin: 0; overflow-wrap: anywhere; }

#lf .lf_badge { display: inline-block; margin-top: 3px; padding: 1px 7px; background: #fef3c7; border-radius: 6px; font-size: 12px; color: #92400e; }
#lf .lf_panel_more { color: var(--lf-muted); font-size: 13px; }
#lf .lf_section { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--lf-line); }
#lf .lf_section h3 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lf-muted); }
#lf .lf_section p { margin: 0; overflow-wrap: anywhere; }
#lf .lf_chip_list { display: flex; flex-wrap: wrap; gap: 4px; }
#lf .lf_strong { font-weight: 500; }
#lf .lf_muted { color: var(--lf-muted); }
#lf .lf_people { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
#lf .lf_links { display: flex; flex-wrap: wrap; gap: 8px; }
#lf .lf_links a { padding: 4px 10px; background: #f3f4f6; border-radius: 8px; font-size: 13px; color: #374151; text-decoration: none; text-transform: capitalize; }
#lf .lf_links a:hover { background: #e5e7eb; }

@media (max-width: 1100px) {
  #lf .lf_head, #lf .lf_row { grid-template-columns: 28px minmax(0, 1.4fr) minmax(0, .9fr) 64px 64px 52px; }
  #lf .lf_hide_md { display: none; }
}
@media (max-width: 900px) {
  #lf { padding: 16px 16px 96px; }
  #lf .lf_shell { grid-template-columns: minmax(0, 1fr); }
  #lf .lf_side { position: static; }
}
@media (max-width: 640px) {
  #lf .lf_head, #lf .lf_row { grid-template-columns: 24px minmax(0, 1fr) 56px; gap: 10px; padding-left: 12px; padding-right: 12px; }
  #lf .lf_hide_sm { display: none; }
  #lf .lf_panel { width: 100vw; padding: 24px 16px; }
}

/* The public page's demo (2026-11-12): no selection column, sits inside the page instead of filling it. */
#lf.lf_demo { padding: 8px 16px 32px; text-align: left; }
#lf.lf_demo .lf_head > span:first-child, #lf.lf_demo .lf_row > span:first-child { visibility: hidden; }
#lf.lf_demo .lf_top h2 { margin: 0 0 4px; font-size: 22px; }
#lf.lf_demo .lf_masked_note { color: var(--lf-blue-dark); }
#lf .lf_tech_more { background: transparent; border: 1px dashed var(--lf-line); color: var(--lf-muted); }

/* emails found on the site, verified on demand (2026-11-13) */
#lf .lf_contacts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
#lf .lf_contacts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
#lf .lf_contacts label { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; cursor: pointer; }
#lf .lf_status { flex: none; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; }
#lf .lf_unchecked { background: #f3f4f6; color: #6b7280; }
#lf .lf_ok { background: #dcfce7; color: #166534; }
#lf .lf_bad { background: #fee2e2; color: #991b1b; }
#lf .lf_maybe { background: #fef3c7; color: #92400e; }
#lf .lf_btn_small { padding: 5px 12px; font-size: 13px; margin-bottom: 6px; }
