.customer-finder {
  --cf-navy: #0b1f3a;
  --cf-blue: #1769d2;
  --cf-cyan: #33b8c8;
  --cf-mint: #a8e5b9;
  --cf-soft: #f3f7fb;
  --cf-line: #dce6f0;
  --cf-muted: #617086;
  padding-bottom: 36px;
}

.cf-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 8px 2px 20px;
  border-bottom: 1px solid var(--cf-line);
}
.cf-page-head h1 {
  margin: 8px 0 8px;
  color: var(--cf-navy);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.cf-page-head p {
  max-width: 760px;
  margin: 0;
  color: var(--cf-muted);
  font-size: 14px;
  line-height: 1.7;
}
.cf-page-head__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.cf-page-head__meta > span {
  padding: 6px 9px;
  border: 1px solid var(--cf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--cf-muted);
  font-size: 10px;
  white-space: nowrap;
}
.cf-page-head__meta strong { color: var(--cf-navy); font-size: 12px; }

.cf-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 48px;
  align-items: center;
  min-height: 430px;
  margin: 22px 0 0;
  padding: 54px 56px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 18%, rgba(51,184,200,.3), transparent 32%),
    radial-gradient(circle at 10% 110%, rgba(168,229,185,.17), transparent 34%),
    linear-gradient(125deg, #08182d 0%, #0d2b50 58%, #0b4660 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 44, 77, .18);
}

.cf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 20%, #000);
}

.cf-hero__copy,
.cf-hero__visual { position: relative; z-index: 1; }
.cf-kicker,
.cf-eyebrow {
  display: inline-block;
  color: #4c79a8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cf-hero .cf-kicker { color: var(--cf-mint); letter-spacing: .16em; }
.cf-hero h1 {
  max-width: 690px;
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.cf-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.75;
}
.cf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cf-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 17px;
  border: 1px solid var(--cf-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cf-navy);
  font: 700 13px/1 inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cf-button:hover {
  border-color: #9eb5cd;
  text-decoration: none;
  transform: translateY(-1px);
}
.cf-button--primary {
  border-color: #2d7ff1;
  background: linear-gradient(135deg, #2f7ff0, #1769d2);
  color: #fff;
  box-shadow: 0 8px 22px rgba(23,105,210,.22);
}
.cf-button svg { width: 17px; height: 17px; }
.cf-demo-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
}
.cf-demo-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd16a;
  box-shadow: 0 0 0 4px rgba(255,209,106,.13);
}

.cf-hero__visual { min-height: 320px; }
.cf-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(168,229,185,.26);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-13deg);
}
.cf-orbit--one { width: 330px; height: 205px; }
.cf-orbit--two { width: 270px; height: 320px; transform: translate(-50%, -50%) rotate(28deg); }
.cf-globe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(255,255,255,.18), transparent 20%),
    repeating-radial-gradient(circle, transparent 0 28px, rgba(255,255,255,.08) 29px 30px),
    linear-gradient(135deg, rgba(41,149,197,.4), rgba(17,71,105,.65));
  transform: translate(-50%, -50%);
  box-shadow: inset -24px -22px 44px rgba(0,0,0,.2), 0 0 70px rgba(51,184,200,.2);
}
.cf-globe::before,
.cf-globe::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.cf-globe::before { transform: scaleX(.44); }
.cf-globe::after { transform: scaleY(.44); }
.cf-pin {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cf-mint);
  box-shadow: 0 0 0 5px rgba(168,229,185,.14);
}
.cf-pin--1 { left: 34px; top: 54px; }
.cf-pin--2 { right: 38px; top: 74px; }
.cf-pin--3 { left: 84px; bottom: 26px; }
.cf-pin--4 { right: 29px; bottom: 48px; }
.cf-signal {
  position: absolute;
  min-width: 102px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(10,31,55,.77);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.cf-signal strong,
.cf-signal small { display: block; }
.cf-signal strong { font-size: 12px; color: #fff; }
.cf-signal small { margin-top: 3px; color: rgba(255,255,255,.55); font-size: 10px; }
.cf-signal--1 { left: 1%; top: 16%; }
.cf-signal--2 { right: -2%; top: 47%; }
.cf-signal--3 { left: 12%; bottom: 5%; }

.cf-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -22px 28px 0;
  overflow: hidden;
  border: 1px solid var(--cf-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(26,54,88,.09);
}
.cf-stats > div {
  padding: 18px 22px;
  border-right: 1px solid var(--cf-line);
}
.cf-stats > div:last-child { border-right: 0; }
.cf-stats strong,
.cf-stats span { display: block; }
.cf-stats strong { color: var(--cf-navy); font-size: 21px; letter-spacing: -.02em; }
.cf-stats span { margin-top: 4px; color: var(--cf-muted); font-size: 11px; }

.cf-search {
  margin: 22px 0 0;
  padding: 28px;
  border: 1px solid var(--cf-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(30,59,94,.06);
}
.cf-search__head,
.cf-toolbar,
.cf-toolbar__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cf-search h2,
.cf-toolbar h2,
.cf-process h2,
.cf-data-note h2,
.cf-faq h2 {
  margin: 6px 0 0;
  color: var(--cf-navy);
  font-size: 24px;
  letter-spacing: -.025em;
}
.cf-search__hint { color: var(--cf-muted); font-size: 12px; }
.cf-form {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(130px, 1fr)) auto auto;
  gap: 10px;
  align-items: end;
  margin-top: 20px;
}
.cf-field > span {
  display: block;
  margin-bottom: 6px;
  color: #53647a;
  font-size: 11px;
  font-weight: 700;
}
.cf-field input,
.cf-field select,
.cf-sort select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--cf-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cf-navy);
  font: 13px/1 inherit;
  outline: none;
}
.cf-field select,
.cf-sort select { padding: 0 34px 0 11px; }
.cf-field input { padding: 0 12px 0 38px; }
.cf-field input:focus,
.cf-field select:focus,
.cf-sort select:focus {
  border-color: #63a0e9;
  box-shadow: 0 0 0 3px rgba(47,127,240,.1);
}
.cf-input-wrap { position: relative; }
.cf-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 17px;
  height: 17px;
  color: #7b8da3;
  transform: translateY(-50%);
  pointer-events: none;
}
.cf-submit { height: 42px; white-space: nowrap; }
.cf-reset {
  height: 42px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #63748b;
  font: 600 12px/1 inherit;
  cursor: pointer;
  white-space: nowrap;
}
.cf-reset:hover { color: var(--cf-blue); }
.cf-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: var(--cf-muted);
  font-size: 12px;
}
.cf-suggestions button {
  padding: 6px 10px;
  border: 1px solid #e2eaf3;
  border-radius: 999px;
  background: #f7f9fc;
  color: #52647a;
  font: 600 11px/1 inherit;
  cursor: pointer;
}
.cf-suggestions button:hover { border-color: #9abbe0; color: var(--cf-blue); }

.cf-workspace { margin-top: 34px; }
.cf-toolbar { align-items: flex-end; }
.cf-toolbar h2 { margin: 0; }
.cf-toolbar p { margin: 6px 0 0; color: var(--cf-muted); font-size: 12px; }
.cf-sort { display: flex; align-items: center; gap: 7px; color: var(--cf-muted); font-size: 12px; }
.cf-sort select { width: auto; height: 38px; }
.cf-export { height: 38px; }
.cf-results { display: grid; gap: 8px; margin-top: 14px; }
.cf-card {
  position: relative;
  display: grid;
  grid-template-columns: 18px 34px minmax(160px, .9fr) minmax(210px, 1.2fr) 248px 48px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cf-card:hover { border-color: #a9c5e5; box-shadow: 0 12px 32px rgba(34,65,101,.07); }
.cf-card.is-selected { border-color: #4d8fdb; box-shadow: 0 0 0 2px rgba(47,127,240,.08); }
.cf-card__top { display: contents; }
.cf-select { grid-column: 1; grid-row: 1 / 3; align-self: center; cursor: pointer; }
.cf-select input { position: absolute; opacity: 0; pointer-events: none; }
.cf-select span {
  display: block;
  width: 16px;
  height: 16px;
  border: 1.5px solid #b7c6d6;
  border-radius: 5px;
  background: #fff;
}
.cf-select input:checked + span {
  border-color: var(--cf-blue);
  background: var(--cf-blue);
  box-shadow: inset 0 0 0 4px #fff;
}
.cf-avatar {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eaf3ff, #dff7f3);
  color: #1769a7;
  font-size: 11px;
  font-weight: 800;
}
.cf-company { grid-column: 3; grid-row: 1 / 3; align-self: center; min-width: 0; }
.cf-company h3 {
  margin: 0;
  overflow: hidden;
  color: var(--cf-navy);
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cf-company p { margin: 3px 0 0; overflow: hidden; color: var(--cf-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cf-fit {
  grid-column: 6;
  grid-row: 1 / 3;
  align-self: center;
  position: static;
  text-align: right;
}
.cf-fit strong,
.cf-fit span { display: block; }
.cf-fit strong { color: #10815f; font-size: 14px; }
.cf-fit span { margin-top: 1px; color: #8090a3; font-size: 8px; }
.cf-summary {
  grid-column: 4;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #485970;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cf-tags {
  grid-column: 4;
  grid-row: 2;
  align-self: start;
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 5px 0 0;
  overflow: hidden;
}
.cf-tags span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f6fb;
  color: #54718f;
  font-size: 9px;
  white-space: nowrap;
}
.cf-contact-grid {
  grid-column: 5;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}
.cf-contact {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  overflow: hidden;
  border: 1px solid #e2eaf3;
  border-radius: 9px;
  background: #fbfcfe;
  color: #40546a;
  text-align: left;
  cursor: pointer;
}
.cf-contact:hover,
.cf-contact.is-copied { border-color: #8eb7e6; background: #f2f7fe; }
.cf-contact__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: #e7f1fd;
  color: #1769d2;
  font-size: 12px;
  font-weight: 800;
}
.cf-contact > span:last-child { min-width: 0; }
.cf-contact small,
.cf-contact strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-contact small { color: #7a8b9e; font-size: 9px; }
.cf-contact strong { margin-top: 1px; color: #38536f; font-size: 10px; }
.cf-contact.is-copied strong { color: #087a59; }
.cf-card__foot {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid #edf1f6;
  color: #8290a1;
  font-size: 10px;
}
.cf-demo-chip {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff5d9;
  color: #946a0a;
  font-weight: 700;
}
.cf-source { margin-left: auto; }
.cf-more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.cf-more { min-width: 210px; }
.cf-empty {
  margin-top: 16px;
  padding: 54px 20px;
  border: 1px dashed #cad8e7;
  border-radius: 16px;
  text-align: center;
}
.cf-empty strong { color: var(--cf-navy); font-size: 18px; }
.cf-empty p { margin: 7px 0 18px; color: var(--cf-muted); font-size: 13px; }

.cf-process,
.cf-data-note,
.cf-faq {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--cf-line);
}
.cf-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.cf-process article {
  padding: 20px;
  border: 1px solid var(--cf-line);
  border-radius: 14px;
  background: #fff;
}
.cf-process article > span { color: #4e92d6; font-size: 11px; font-weight: 800; }
.cf-process h3 { margin: 18px 0 7px; color: var(--cf-navy); font-size: 15px; }
.cf-process p { margin: 0; color: var(--cf-muted); font-size: 12px; line-height: 1.65; }
.cf-data-note {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
  gap: 36px;
  padding: 30px;
  border: 1px solid #d7e5f2;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbff, #f4fbf8);
}
.cf-data-note h2 { margin-top: 8px; }
.cf-data-note p { margin: 12px 0 0; color: #52647a; font-size: 13px; line-height: 1.75; }
.cf-data-note ul { margin: 4px 0 0; padding: 0; list-style: none; }
.cf-data-note li {
  padding: 11px 0 11px 25px;
  border-bottom: 1px solid rgba(144,168,194,.24);
  color: #3a5068;
  font-size: 12px;
  position: relative;
}
.cf-data-note li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #14916c;
  font-weight: 800;
}
.cf-data-note li:last-child { border-bottom: 0; }
.cf-faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--cf-line);
}
.cf-faq summary { color: var(--cf-navy); font-size: 14px; font-weight: 700; cursor: pointer; }
.cf-faq details p { margin: 10px 0 0; color: var(--cf-muted); font-size: 13px; line-height: 1.7; }

.cf-history-button,
.cf-sender-button { height: 38px; }
.cf-history-button span,
.cf-sender-button span {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e9f2fd;
  color: #1769b9;
  font-size: 10px;
}
.cf-sender-button span[data-bound="true"] { background: #e8f8f0; color: #147553; }
.cf-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 24, 45, .62);
  backdrop-filter: blur(4px);
}
.cf-modal__box {
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #d9e4ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 29, 55, .28);
}
.cf-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.cf-modal__head h2 { margin: 5px 0 0; color: var(--cf-navy); font-size: 23px; }
.cf-modal__head p { margin: 5px 0 0; color: var(--cf-muted); font-size: 12px; }
.cf-modal__close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--cf-line);
  border-radius: 9px;
  background: #fff;
  color: #65758a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cf-compose-target {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f3f7fb;
}
.cf-compose-target span { color: #718297; font-size: 10px; }
.cf-compose-target strong { overflow: hidden; color: #263d57; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cf-compose-target button {
  border: 0;
  background: none;
  color: #1769d2;
  font: 700 10px/1 inherit;
  cursor: pointer;
}
.cf-compose-field { display: block; margin-top: 15px; }
.cf-compose-field > span { display: block; margin-bottom: 6px; color: #53647a; font-size: 11px; font-weight: 700; }
.cf-compose-field input,
.cf-compose-field select,
.cf-compose-field textarea,
.cf-reply textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--cf-line);
  border-radius: 9px;
  background: #fff;
  color: #253b54;
  font: 12px/1.6 inherit;
  outline: none;
  resize: vertical;
}
.cf-compose-field input:focus,
.cf-compose-field select:focus,
.cf-compose-field textarea:focus,
.cf-reply textarea:focus { border-color: #70a7e7; box-shadow: 0 0 0 3px rgba(47,127,240,.09); }
.cf-compose-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff8e8;
  color: #80601b;
  font-size: 10px;
  line-height: 1.6;
}
.cf-open-fallback {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: #1769d2;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
}
.cf-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.cf-history-modal { width: min(760px, 100%); }
.cf-sender-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.cf-history-list { display: grid; gap: 12px; margin-top: 18px; }
.cf-history-empty { padding: 36px; border: 1px dashed var(--cf-line); border-radius: 12px; color: var(--cf-muted); text-align: center; }
.cf-history-item { padding: 14px; border: 1px solid var(--cf-line); border-radius: 12px; background: #fbfdff; }
.cf-history-item__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cf-history-item__head h3 { margin: 0; color: var(--cf-navy); font-size: 14px; }
.cf-history-item__head p { margin: 3px 0 0; color: var(--cf-muted); font-size: 10px; }
.cf-history-item__badges { display: flex; align-items: center; gap: 6px; }
.cf-history-item__badges span { padding: 3px 7px; border-radius: 999px; background: #fff2c9; color: #8d6814; font-size: 9px; }
.cf-history-item__badges button {
  padding: 4px 7px;
  border: 0;
  border-radius: 7px;
  background: #eef4fb;
  color: #4f6c8a;
  font: 700 9px/1 inherit;
  cursor: pointer;
}
.cf-history-item__badges button:disabled { opacity: .48; cursor: default; }
.cf-events { display: grid; gap: 7px; margin-top: 11px; }
.cf-event { padding: 8px 10px; border-radius: 8px; background: #eef6ff; }
.cf-event--inbound { background: #eefaf5; }
.cf-event span,
.cf-event small { display: inline-block; font-size: 9px; }
.cf-event span { color: #326c9f; font-weight: 700; }
.cf-event--inbound span { color: #18765a; }
.cf-event small { float: right; color: #8898aa; }
.cf-event p { margin: 5px 0 0; color: #435a73; font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.cf-reply { display: block; margin-top: 10px; }
.cf-reply > span { display: block; margin-bottom: 5px; color: #60738a; font-size: 10px; font-weight: 700; }
.cf-reply-actions { display: flex; justify-content: flex-end; margin-top: 7px; }
.cf-reply-actions .cf-button { min-height: 34px; font-size: 10px; }
.cf-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: min(520px, calc(100vw - 40px));
  padding: 11px 16px;
  border-radius: 10px;
  background: #0b2747;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 12px 34px rgba(8, 30, 55, .28);
  transform: translateX(-50%);
}
.cf-modal-open { overflow: hidden; }

@media (max-width: 1000px) {
  .cf-hero { grid-template-columns: 1fr; min-height: 0; padding: 42px; }
  .cf-hero__visual { display: none; }
  .cf-form { grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(120px, 1fr)); }
  .cf-submit, .cf-reset { grid-row: 2; }
  .cf-process__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .cf-card {
    display: block;
    padding: 16px 15px 13px;
    border-radius: 14px;
  }
  .cf-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 70px;
  }
  .cf-avatar { width: 38px; height: 38px; flex: 0 0 auto; }
  .cf-company { flex: 1; }
  .cf-company h3 { font-size: 15px; white-space: normal; }
  .cf-fit { position: absolute; right: 15px; top: 15px; }
  .cf-summary {
    display: block;
    margin: 12px 0 0;
    overflow: visible;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
  }
  .cf-tags { flex-wrap: wrap; margin: 8px 0 0; }
  .cf-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; }
  .cf-card__foot {
    display: flex;
    margin: 11px 0 0;
    padding-top: 9px;
  }
}

@media (max-width: 680px) {
  .customer-finder { padding-bottom: 20px; }
  .cf-page-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 14px; padding-bottom: 16px; }
  .cf-page-head h1 { font-size: 27px; }
  .cf-page-head__meta { justify-content: flex-start; }
  .cf-hero { margin-top: 12px; padding: 28px 22px; border-radius: 18px; }
  .cf-hero h1 { font-size: 34px; }
  .cf-hero p { font-size: 14px; }
  .cf-stats { grid-template-columns: repeat(2, 1fr); margin: -12px 10px 0; }
  .cf-stats > div:nth-child(2) { border-right: 0; }
  .cf-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--cf-line); }
  .cf-search { margin-top: 24px; padding: 20px 16px; }
  .cf-search__head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cf-search h2, .cf-toolbar h2, .cf-process h2, .cf-data-note h2, .cf-faq h2 { font-size: 21px; }
  .cf-form { grid-template-columns: 1fr 1fr; }
  .cf-field--keyword { grid-column: 1 / -1; }
  .cf-field:nth-of-type(4) { grid-column: 1 / -1; }
  .cf-submit { grid-column: 1; }
  .cf-reset { grid-column: 2; }
  .cf-toolbar { align-items: flex-start; flex-direction: column; }
  .cf-toolbar__actions { width: 100%; justify-content: space-between; }
  .cf-sender-button { order: 1; }
  .cf-history-button { order: 2; }
  .cf-card { padding: 17px 15px 13px; }
  .cf-card__top { gap: 9px; padding-right: 68px; }
  .cf-company h3 { font-size: 14px; }
  .cf-summary, .cf-tags, .cf-contact-grid, .cf-card__foot { margin-left: 0; }
  .cf-contact-grid { grid-template-columns: 1fr; }
  .cf-fit { right: 14px; }
  .cf-source { margin-left: 0; }
  .cf-process__grid { grid-template-columns: 1fr; }
  .cf-data-note { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .cf-modal { padding: 10px; }
  .cf-modal__box { max-height: calc(100vh - 20px); padding: 18px; }
  .cf-compose-target { grid-template-columns: 1fr; }
  .cf-sender-grid { grid-template-columns: 1fr; }
}
