.fcf-shell {
  --fcf-border: #e5e7eb;
  --fcf-muted: #667085;
  --fcf-soft: #f8fafc;
  --fcf-text: #101828;
  --fcf-accent: #111827;
  max-width: 1080px;
  margin: 32px auto;
  color: var(--fcf-text);
  font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.fcf-heading { margin-bottom: 24px; }
.fcf-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #475467;
}
.fcf-heading h2, .fcf-project-card h3, .fcf-results-title h3 { margin: 0 0 8px; }
.fcf-heading p { max-width: 760px; margin: 0; color: var(--fcf-muted); }

.fcf-form,
.fcf-project-card,
.fcf-company-card,
.fcf-method-note {
  background: #fff;
  border: 1px solid var(--fcf-border);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(16, 24, 40, .04);
}

.fcf-form { padding: 24px; }
.fcf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.fcf-field { display: flex; flex-direction: column; gap: 7px; }
.fcf-field label { font-size: 14px; font-weight: 700; }
.fcf-field small, .fcf-privacy { color: var(--fcf-muted); font-size: 12px; }
.fcf-field input, .fcf-field select, .fcf-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
  color: var(--fcf-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fcf-field textarea { resize: vertical; min-height: 112px; }
.fcf-field input:focus, .fcf-field select:focus, .fcf-field textarea:focus {
  border-color: #98a2b3;
  box-shadow: 0 0 0 4px rgba(152, 162, 179, .14);
}
.fcf-trust-box { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.fcf-submit,
.fcf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 11px;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform .12s ease, opacity .2s ease;
}
.fcf-submit {
  margin-top: 18px;
  border: 0;
  background: var(--fcf-accent);
  color: #fff;
}
.fcf-submit:hover, .fcf-btn:hover { transform: translateY(-1px); }
.fcf-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.fcf-privacy { margin: 10px 0 0; }

.fcf-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f2f4f7;
  color: #344054;
}
.fcf-status.is-error { background: #fef3f2; color: #b42318; }
.fcf-status.is-loading { background: #f8fafc; }

.fcf-results { margin-top: 24px; }
.fcf-project-card { padding: 22px; background: #fcfcfd; }
.fcf-project-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.fcf-project-meta-item { background: #fff; border: 1px solid var(--fcf-border); border-radius: 12px; padding: 11px 12px; }
.fcf-project-meta-item strong, .fcf-project-meta-item span { display: block; }
.fcf-project-meta-item strong { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #667085; margin-bottom: 3px; }
.fcf-project-meta-item span { font-size: 14px; }
.fcf-ideal { margin: 15px 0 0; color: #475467; }
.fcf-summary { margin: 18px 0; color: #475467; }

.fcf-results-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 24px 0 12px; }
.fcf-count { font-size: 13px; color: #667085; }
.fcf-company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fcf-company-card { padding: 20px; }
.fcf-company-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.fcf-company-card h4 { margin: 0; font-size: 19px; }
.fcf-company-place { margin: 5px 0 0; color: var(--fcf-muted); font-size: 13px; }
.fcf-company-card h5 { margin: 18px 0 8px; font-size: 13px; }
.fcf-badge { flex: 0 0 auto; border-radius: 999px; padding: 6px 9px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.fcf-badge.is-alta { background: #ecfdf3; color: #027a48; }
.fcf-badge.is-media { background: #fffaeb; color: #b54708; }
.fcf-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fcf-fact { border: 1px solid var(--fcf-border); background: var(--fcf-soft); border-radius: 10px; padding: 8px 10px; }
.fcf-fact span, .fcf-fact strong { display: block; }
.fcf-fact span { font-size: 10px; text-transform: uppercase; color: var(--fcf-muted); }
.fcf-fact strong { margin-top: 2px; font-size: 12px; }
.fcf-reasons { margin: 0; padding-left: 20px; color: #344054; }
.fcf-reasons li + li { margin-top: 5px; }
.fcf-caution { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fffaeb; color: #7a2e0e; font-size: 12px; }

.fcf-sources { margin-top: 16px; border-top: 1px solid var(--fcf-border); padding-top: 13px; }
.fcf-sources summary { cursor: pointer; color: #344054; font-size: 13px; font-weight: 700; }
.fcf-source-list { margin-top: 10px; display: grid; gap: 8px; }
.fcf-source { padding: 10px; background: var(--fcf-soft); border-radius: 10px; font-size: 12px; }
.fcf-source p { margin: 0 0 5px; }
.fcf-source a { overflow-wrap: anywhere; }
.fcf-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.fcf-btn { min-height: 38px; padding: 8px 12px; font-size: 12px; }
.fcf-btn-primary {
  background: #07956f;
  color: #fff;
  border: 1px solid #07956f;
  box-shadow: 0 6px 14px rgba(7, 149, 111, .16);
}
.fcf-btn-primary:hover { background: #067f60; border-color: #067f60; color: #fff; }
.fcf-btn-primary:focus-visible { outline: 3px solid rgba(7,149,111,.18); outline-offset: 2px; }
.fcf-btn-primary.is-loading { opacity: .72; cursor: wait; transform: none; }
.fcf-btn-secondary { background: #fff; color: #344054; border: 1px solid #d0d5dd; }
.fcf-method-note { margin-top: 18px; padding: 14px 16px; color: #667085; font-size: 12px; box-shadow: none; }

@media (max-width: 820px) {
  .fcf-grid { grid-template-columns: 1fr; }
  .fcf-company-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .fcf-form, .fcf-project-card, .fcf-company-card { padding: 17px; border-radius: 14px; }
  .fcf-company-top { flex-direction: column; }
  .fcf-submit { width: 100%; }
  .fcf-results-title { align-items: flex-start; flex-direction: column; }
}

/* v0.1.5 · risultati più compatti */
.fcf-project-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcf-area-line {
  margin: 13px 0 0;
  color: var(--fcf-muted);
  font-size: 12px;
}
.fcf-selection-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 15px 0 6px;
  padding: 13px 15px;
  border-left: 3px solid #98a2b3;
  background: #f8fafc;
  border-radius: 8px;
  color: #344054;
  font-size: 13px;
}
.fcf-selection-summary span { color: var(--fcf-muted); font-size: 12px; }
.fcf-company-heading { min-width: 0; }
.fcf-badge {
  max-width: 210px;
  line-height: 1.35;
  text-align: center;
}
.fcf-checks,
.fcf-sources {
  margin-top: 14px;
  border-top: 1px solid var(--fcf-border);
  padding-top: 12px;
}
.fcf-checks summary,
.fcf-sources summary {
  cursor: pointer;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}
.fcf-checks summary::marker,
.fcf-sources summary::marker,
.fcf-method-note summary::marker { color: #667085; }
.fcf-check-list {
  margin: 10px 0 0;
  padding-left: 19px;
  color: #7a2e0e;
  font-size: 12px;
}
.fcf-check-list li + li { margin-top: 5px; }
.fcf-method-note {
  padding: 11px 14px;
  background: #fafafa;
  color: #667085;
  border-radius: 12px;
}
.fcf-method-note summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}
.fcf-method-note p {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.55;
}


@media (max-width: 620px) {
  .fcf-project-meta { grid-template-columns: 1fr; }
  .fcf-badge { max-width: none; }
}


/* v0.2.1 · diagnostica Match Engine visibile solo agli amministratori */
.fcf-match-debug {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed #98a2b3;
  border-radius: 10px;
  background: #f8fafc;
}
.fcf-match-debug summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  color: #475467;
}
.fcf-debug-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.fcf-debug-grid .fcf-fact {
  background: #fff;
}


/* v0.2.2 · candidati idonei fuori shortlist, solo admin */
.fcf-admin-excluded {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px dashed #98a2b3;
  border-radius: 12px;
  background: #f8fafc;
}
.fcf-admin-excluded > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  color: #344054;
}
.fcf-admin-excluded-note {
  margin: 9px 0 12px;
  font-size: 11px;
  color: #667085;
  line-height: 1.5;
}
.fcf-admin-excluded-list {
  display: grid;
  gap: 10px;
}
.fcf-excluded-candidate {
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
}
.fcf-excluded-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px 12px;
}
.fcf-excluded-head strong { font-size: 13px; color: #1d2939; }
.fcf-excluded-head span { font-size: 11px; color: #667085; }
.fcf-excluded-reason {
  margin: 9px 0 0;
  font-size: 11px;
  color: #475467;
  line-height: 1.5;
}
\n\n/* v0.2.3 · diagnostica copertura discovery multistrato, solo admin */\n.fcf-admin-discovery {\n  margin: 12px 0 18px;\n  padding: 12px 14px;\n  border: 1px dashed #98a2b3;\n  border-radius: 12px;\n  background: #f8fafc;\n}\n.fcf-admin-discovery > summary {\n  cursor: pointer;\n  font-size: 12px;\n  font-weight: 800;\n  color: #344054;\n}\n.fcf-discovery-pass-list {\n  display: grid;\n  gap: 7px;\n  margin-top: 10px;\n}\n.fcf-discovery-pass {\n  display: flex;\n  flex-wrap: wrap;\n  justify-content: space-between;\n  gap: 6px 12px;\n  padding: 8px 10px;\n  background: #fff;\n  border: 1px solid #e4e7ec;\n  border-radius: 9px;\n  font-size: 11px;\n}\n.fcf-discovery-pass strong { color: #344054; }\n.fcf-discovery-pass span { color: #667085; }\n
/* v0.3.4 · risposta immediata da Local Company Index + refresh web admin */
.fcf-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.fcf-submit-row .fcf-submit { margin-top: 0; }
.fcf-force-web {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.fcf-force-web:hover { background: #f8fafc; }
.fcf-force-web:disabled { opacity: .55; cursor: wait; }
@media (max-width: 520px) {
  .fcf-submit-row { align-items: stretch; }
  .fcf-submit-row .fcf-submit,
  .fcf-force-web { width: 100%; }
}

/* v0.3.5 · confidenza profilo + enrichment mirato admin */
.fcf-btn-admin {
  background: #fff;
  color: #344054;
  border: 1px dashed #98a2b3;
}
.fcf-btn-admin:hover { background: #f8fafc; }
.fcf-btn-admin:disabled { opacity: .55; cursor: wait; transform: none; }
.fcf-admin-enrich-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.fcf-status.is-success {
  background: #ecfdf3;
  color: #027a48;
}


/* v0.3.10 · box “Profondità della ricerca” a tendina */
.fcf-research-depth {
  margin: 18px 0 10px;
  overflow: hidden;
  border: 1px solid #b9dcff;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 24, 40, .075);
}
.fcf-research-depth > summary {
  list-style: none;
}
.fcf-research-depth > summary::-webkit-details-marker { display: none; }
.fcf-research-depth-summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 18px 58px 18px 20px;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fbff 58%, #edf6ff 100%);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.fcf-research-depth[open] > .fcf-research-depth-summary {
  border-bottom-color: #dceeff;
}
.fcf-research-depth-summary:hover {
  background: linear-gradient(135deg, #e9f5ff 0%, #f6fbff 58%, #e8f4ff 100%);
}
.fcf-research-depth-summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 3px solid #1769d3;
  border-bottom: 3px solid #1769d3;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .22s ease;
}
.fcf-research-depth[open] > .fcf-research-depth-summary::after {
  transform: translateY(-25%) rotate(225deg);
}
.fcf-depth-summary-icon,
.fcf-depth-metric-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fcf-depth-summary-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, #d6eaff, #eef7ff);
  color: #0b63ce;
  box-shadow: inset 0 0 0 1px rgba(11, 99, 206, .06);
}
.fcf-depth-summary-icon svg { width: 29px; height: 29px; fill: currentColor; }
.fcf-depth-summary-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fcf-depth-summary-copy .fcf-kicker {
  margin: 0 0 1px;
  color: #2361a8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fcf-depth-summary-copy strong {
  color: #102a56;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.fcf-depth-summary-copy small {
  color: #5e708e;
  font-size: 11px;
  line-height: 1.45;
}
.fcf-research-depth-body {
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.fcf-research-depth-intro {
  margin: 0 0 16px;
  color: #50617b;
  font-size: 11px;
  line-height: 1.6;
}
.fcf-research-depth-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.fcf-depth-metric {
  --fcf-tone: #1769d3;
  --fcf-icon-bg: #dceeff;
  --fcf-row-a: #f5faff;
  --fcf-row-b: #edf6ff;
  display: grid;
  grid-template-columns: 54px 84px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 12px 18px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 15px;
  background: linear-gradient(90deg, var(--fcf-row-a), var(--fcf-row-b));
}
.fcf-depth-metric.is-green {
  --fcf-tone: #08786f;
  --fcf-icon-bg: #d7f4ef;
  --fcf-row-a: #f4fcfa;
  --fcf-row-b: #edf9f7;
}
.fcf-depth-metric.is-violet {
  --fcf-tone: #5141c8;
  --fcf-icon-bg: #e7e2ff;
  --fcf-row-a: #f8f7ff;
  --fcf-row-b: #f3f1ff;
}
.fcf-depth-metric.is-teal {
  --fcf-tone: #0b8d95;
  --fcf-icon-bg: #d7f3f3;
  --fcf-row-a: #f3fbfb;
  --fcf-row-b: #ebf8f8;
}
.fcf-depth-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--fcf-icon-bg);
  color: var(--fcf-tone);
}
.fcf-depth-metric-icon svg { width: 25px; height: 25px; fill: currentColor; }
.fcf-depth-value {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding-right: 14px;
  color: var(--fcf-tone);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}
.fcf-depth-value::after {
  content: '';
  position: absolute;
  right: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: color-mix(in srgb, var(--fcf-tone) 22%, transparent);
}
.fcf-depth-metric-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fcf-depth-metric-copy span {
  color: #112a55;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
}
.fcf-depth-metric-copy small {
  color: #5b6f8f;
  font-size: 10.5px;
  line-height: 1.4;
}
.fcf-profile-coverage {
  display: flex;
  justify-content: space-between;
  gap: 12px 18px;
  align-items: center;
  margin-top: 15px;
  padding: 13px 14px;
  border: 1px solid #e6edf5;
  border-radius: 13px;
  background: #f9fbfd;
}
.fcf-profile-coverage > strong {
  color: #43546f;
  font-size: 10.5px;
}
.fcf-profile-coverage-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.fcf-coverage-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #e4e7ec;
  background: #fff;
  color: #475467;
  font-size: 9.5px;
  white-space: nowrap;
}
.fcf-coverage-chip b { font-size: 10.5px; color: #101828; }
.fcf-coverage-chip.is-documented { border-color: #abefc6; background: #ecfdf3; }
.fcf-coverage-chip.is-partial { border-color: #fedf89; background: #fffaeb; }
.fcf-coverage-chip.is-deepen { border-color: #d0d5dd; background: #f9fafb; }
.fcf-research-depth-meta {
  margin: 12px 2px 0;
  color: #68758a;
  font-size: 9.5px;
  line-height: 1.45;
}
.fcf-research-method {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.fcf-research-method > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 11px 36px 11px 13px;
  color: #30425f;
  font-size: 10.5px;
  font-weight: 850;
}
.fcf-research-method > summary::-webkit-details-marker { display: none; }
.fcf-research-method > summary::after {
  content: '+';
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #1769d3;
  font-size: 16px;
  font-weight: 700;
}
.fcf-research-method[open] > summary::after { content: '−'; }
.fcf-research-steps {
  margin: 0;
  padding: 0 32px 12px 32px;
  color: #52627b;
  font-size: 10px;
  line-height: 1.55;
}
.fcf-research-steps li + li { margin-top: 4px; }
.fcf-research-method-note {
  margin: 0;
  padding: 0 13px 13px;
  color: #7a8799;
  font-size: 9.5px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .fcf-research-depth-summary {
    min-height: 80px;
    padding: 15px 48px 15px 15px;
    gap: 11px;
  }
  .fcf-depth-summary-icon { width: 46px; height: 46px; border-radius: 14px; }
  .fcf-depth-summary-icon svg { width: 25px; height: 25px; }
  .fcf-depth-summary-copy strong { font-size: 16px; }
  .fcf-depth-summary-copy small { font-size: 10px; }
  .fcf-research-depth-summary::after { right: 19px; }
  .fcf-research-depth-body { padding: 14px; }
  .fcf-depth-metric {
    grid-template-columns: 46px 65px minmax(0, 1fr);
    gap: 10px;
    min-height: 78px;
    padding: 10px 12px;
  }
  .fcf-depth-metric-icon { width: 42px; height: 42px; border-radius: 12px; }
  .fcf-depth-metric-icon svg { width: 22px; height: 22px; }
  .fcf-depth-value { font-size: 28px; padding-right: 10px; }
  .fcf-depth-metric-copy span { font-size: 11.5px; }
  .fcf-depth-metric-copy small { font-size: 9.5px; }
  .fcf-profile-coverage { align-items: flex-start; flex-direction: column; }
  .fcf-profile-coverage-items { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .fcf-depth-summary-copy .fcf-kicker { display: none; }
  .fcf-depth-summary-copy strong { font-size: 14px; }
  .fcf-depth-metric {
    grid-template-columns: 40px 54px minmax(0, 1fr);
    gap: 8px;
    border-radius: 13px;
  }
  .fcf-depth-metric-icon { width: 38px; height: 38px; }
  .fcf-depth-value { font-size: 24px; }
  .fcf-depth-metric-copy span { font-size: 10.5px; }
  .fcf-depth-metric-copy small { font-size: 8.8px; }
}

/* v0.3.15 · fasce di pertinenza + trasparenza second pass */
.fcf-badge.is-bassa {
  background: #f2f4f7;
  color: #475467;
}
.fcf-relevance-band {
  margin-top: 18px;
}
.fcf-relevance-band-head,
.fcf-relevance-band-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--fcf-border);
  background: #fcfcfd;
}
.fcf-relevance-band.is-alta .fcf-relevance-band-head {
  border-color: #abefc6;
  background: #f6fef9;
}
.fcf-relevance-band.is-media .fcf-relevance-band-head {
  border-color: #fedf89;
  background: #fffcf5;
}
.fcf-relevance-band.is-bassa {
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  overflow: hidden;
  background: #fafafa;
}
.fcf-relevance-band.is-bassa > summary {
  cursor: pointer;
  list-style-position: inside;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.fcf-relevance-band.is-bassa > .fcf-company-grid {
  padding: 0 14px 14px;
}
.fcf-relevance-band-copy {
  display: grid;
  gap: 3px;
}
.fcf-relevance-band-copy strong {
  font-size: 14px;
  color: #1d2939;
}
.fcf-relevance-band-copy small {
  font-size: 11px;
  color: #667085;
  line-height: 1.45;
}
.fcf-second-pass-summary {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d6bbfb;
  border-radius: 14px;
  background: #f9f5ff;
}
.fcf-second-pass-summary > strong {
  display: block;
  color: #42307d;
  font-size: 12px;
}
.fcf-second-pass-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.fcf-second-pass-stat {
  padding: 9px 10px;
  border: 1px solid #e9d7fe;
  border-radius: 10px;
  background: #fff;
}
.fcf-second-pass-stat b,
.fcf-second-pass-stat span {
  display: block;
}
.fcf-second-pass-stat b {
  font-size: 17px;
  color: #6941c6;
}
.fcf-second-pass-stat span {
  margin-top: 2px;
  color: #667085;
  font-size: 10px;
  line-height: 1.35;
}
.fcf-second-pass-ranking {
  margin: 9px 0 0;
  color: #475467;
  font-size: 11px;
}
.fcf-coverage-chip.is-relevance-high {
  background: #ecfdf3;
  color: #027a48;
}
.fcf-coverage-chip.is-relevance-medium {
  background: #fffaeb;
  color: #b54708;
}
.fcf-coverage-chip.is-relevance-low {
  background: #f2f4f7;
  color: #475467;
}
@media (max-width: 700px) {
  .fcf-second-pass-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .fcf-second-pass-stats { grid-template-columns: 1fr; }
}


/* v0.3.16 · disclosure progressivo: profondità + fasce media/bassa chiuse di default */
.fcf-relevance-band.is-media,
.fcf-relevance-band.is-bassa {
  border-radius: 16px;
  overflow: hidden;
}
.fcf-relevance-band.is-media {
  border: 1px solid #fedf89;
  background: #fffcf5;
}
.fcf-relevance-band.is-bassa {
  border: 1px solid #e4e7ec;
  background: #fafafa;
}
.fcf-relevance-band.is-media > summary,
.fcf-relevance-band.is-bassa > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding-right: 48px;
}
.fcf-relevance-band.is-media > summary::-webkit-details-marker,
.fcf-relevance-band.is-bassa > summary::-webkit-details-marker {
  display: none;
}
.fcf-relevance-band.is-media > summary::after,
.fcf-relevance-band.is-bassa > summary::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
  color: #667085;
}
.fcf-relevance-band.is-media[open] > summary::after,
.fcf-relevance-band.is-bassa[open] > summary::after {
  transform: translateY(-35%) rotate(225deg);
}
.fcf-relevance-band.is-media > .fcf-company-grid,
.fcf-relevance-band.is-bassa > .fcf-company-grid {
  padding: 4px 14px 14px;
}
.fcf-relevance-band.is-media .fcf-relevance-band-summary {
  background: #fffcf5;
  color: #b54708;
}
.fcf-relevance-band.is-bassa .fcf-relevance-band-summary {
  background: #fafafa;
}
.fcf-relevance-band.is-media[open] .fcf-relevance-band-summary,
.fcf-relevance-band.is-bassa[open] .fcf-relevance-band-summary {
  border-bottom: 1px solid rgba(152, 162, 179, .18);
}
.fcf-second-pass-status {
  margin: 9px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #475467;
}
.fcf-second-pass-status.is-completed,
.fcf-second-pass-status.is-ok {
  color: #027a48;
}
.fcf-second-pass-status.is-partial {
  color: #b54708;
}
.fcf-second-pass-status.is-failed {
  color: #b42318;
}


/* v0.3.17 · barra di avanzamento con percentuale */
.fcf-status-body { display: grid; gap: 8px; }
.fcf-status-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fcf-status-message { font-weight: 600; }
.fcf-status-percent { flex: 0 0 auto; min-width: 48px; text-align: right; font-weight: 800; color: #1d4ed8; }
.fcf-status-detail { color: #667085; font-size: 12px; line-height: 1.5; }
.fcf-progress {
  position: relative;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #dbe5f3;
  border: 1px solid #cdd8ea;
}
.fcf-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d4ed8 0%, #5b8def 100%);
  transition: width .55s ease;
  position: relative;
}
.fcf-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.32) 45%, transparent 90%);
  animation: fcf-progress-sheen 1.7s linear infinite;
}
.fcf-status.is-success .fcf-status-percent { color: #027a48; }
.fcf-status.is-success .fcf-progress-fill { background: linear-gradient(90deg, #12b76a 0%, #6ce9a6 100%); }
@keyframes fcf-progress-sheen {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@media (max-width: 520px) {
  .fcf-status-header { align-items: flex-start; flex-direction: column; }
  .fcf-status-percent { min-width: 0; text-align: left; }
}

/* v0.3.21 · Corporate Identity & Financial Evidence */
.fcf-corporate-profile {
  margin-top: 14px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0 12px;
}
.fcf-corporate-profile summary {
  cursor: pointer;
  padding: 11px 0;
  font-size: 12px;
  font-weight: 800;
  color: #344054;
}
.fcf-corporate-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0 10px;
}
.fcf-corporate-meta {
  margin: 0 0 11px;
  font-size: 11px;
  color: #667085;
}


/* v0.3.35 · Web Search live trace admin */
.fcf-web-trace { margin-top: 12px; border: 1px solid rgba(15,53,87,.14); border-radius: 12px; padding: 9px 11px; background: rgba(246,249,252,.72); }
.fcf-web-trace > summary { cursor: pointer; font-weight: 700; }
.fcf-web-trace-attempt { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(15,53,87,.10); }
.fcf-web-trace-attempt:first-of-type { border-top: 0; }
.fcf-web-trace-line { margin: 8px 0 0; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.fcf-web-trace-stages { margin: 8px 0 0 20px; padding: 0; font-size: 12px; line-height: 1.55; }


/* v0.3.46 · Scheda impresa in overlay con fade, senza uscire dai risultati */
body.fcf-profile-modal-open{overflow:hidden}
.fcf-profile-modal{
  position:fixed;inset:0;z-index:999999;
  display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(8,24,48,.48);
  opacity:0;visibility:hidden;
  transition:opacity .22s ease,visibility .22s ease;
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)
}
.fcf-profile-modal.is-open{opacity:1;visibility:visible}
.fcf-profile-modal-dialog{
  width:min(1120px,100%);max-height:calc(100vh - 40px);
  overflow:auto;overscroll-behavior:contain;
  background:#f8fbff;border:1px solid rgba(180,204,237,.9);
  border-radius:22px;box-shadow:0 28px 80px rgba(7,31,65,.28);
  transform:translateY(18px) scale(.985);opacity:.96;
  transition:transform .22s ease,opacity .22s ease;
  outline:none
}
.fcf-profile-modal.is-open .fcf-profile-modal-dialog{transform:translateY(0) scale(1);opacity:1}
.fcf-profile-modal-head{
  position:sticky;top:0;z-index:4;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 18px;background:rgba(255,255,255,.96);
  border-bottom:1px solid #e0e8f3;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
}
.fcf-profile-modal-head-copy{display:flex;align-items:baseline;gap:9px;color:#102a56}
.fcf-profile-modal-head-copy strong{font-size:15px}
.fcf-profile-modal-eyebrow{font-size:10px;font-weight:800;letter-spacing:.1em;color:#3972c8}
.fcf-profile-modal-close{
  width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #d5dfec;border-radius:50%;background:#fff;color:#18365f;
  font:400 28px/1 Arial,sans-serif;cursor:pointer;transition:background .16s ease,transform .16s ease,border-color .16s ease
}
.fcf-profile-modal-close:hover{background:#f0f5fb;border-color:#b9cae0;transform:scale(1.04)}
.fcf-profile-modal-close:focus-visible{outline:3px solid rgba(47,105,212,.2);outline-offset:2px}
.fcf-profile-modal-body{padding:26px 28px 12px}
.fcf-profile-modal .fcv-shell{width:100%;max-width:1040px;margin:0 auto 18px}
@media(max-width:700px){
  .fcf-profile-modal{padding:0;align-items:stretch}
  .fcf-profile-modal-dialog{width:100%;max-height:100vh;height:100vh;border-radius:0;border:0}
  .fcf-profile-modal-head{padding:11px 14px}
  .fcf-profile-modal-body{padding:20px 14px 8px}
  .fcf-profile-modal .fcv-heading h2{font-size:28px}
}
@media(prefers-reduced-motion:reduce){
  .fcf-profile-modal,.fcf-profile-modal-dialog{transition:none}
}

/* v1.17.3 · Company Finder landing refresh */
body.facilecheck-company-search-page .entry-header,
body.facilecheck-company-search-page .page-header,
body.facilecheck-company-search-page .wp-block-post-title,
body.facilecheck-company-search-page main > .entry-title,
body.facilecheck-company-search-page .site-main > .entry-title,
body.facilecheck-company-search-page .entry-content > h1:first-child,
body.facilecheck-company-search-page .wp-block-post-content > h1:first-child,
body.facilecheck-company-search-page h1.page-title {
  display: none !important;
}

/* La pagina corrente non deve riproporre “Trova imprese” come CTA di navigazione. */
body.facilecheck-company-search-page header a[href*="/trova-imprese-edili"],
body.facilecheck-company-search-page nav a[href*="/trova-imprese-edili"],
body.facilecheck-company-search-page .site-header a[href*="/trova-imprese-edili"],
body.facilecheck-company-search-page #masthead a[href*="/trova-imprese-edili"] {
  display: none !important;
}

body.facilecheck-company-search-page .entry-content,
body.facilecheck-company-search-page .wp-block-post-content {
  overflow: visible;
}

.fcf-landing {
  --fcf-border: #dbe5ee;
  --fcf-muted: #5d6f82;
  --fcf-soft: #f5f9fc;
  --fcf-text: #0a2b57;
  --fcf-accent: #0a2b57;
  --fcf-green: #078c6a;
  width: min(1160px, calc(100vw - 40px));
  max-width: 1160px;
  margin: 46px 0 72px 50%;
  transform: translateX(-50%);
  color: var(--fcf-text);
}

.fcf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .72fr);
  gap: 42px;
  align-items: center;
  padding: 44px 46px;
  border: 1px solid #d6e3ee;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(35,112,218,.10), transparent 32%),
    linear-gradient(135deg, #fbfdff 0%, #f4f9fc 100%);
  box-shadow: 0 24px 65px rgba(14, 45, 81, .07);
}

.fcf-hero-copy { min-width: 0; }
.fcf-hero .fcf-kicker,
.fcf-form-heading .fcf-kicker,
.fcf-how .fcf-kicker {
  margin-bottom: 12px;
  color: #2d68bc;
  font-size: 11px;
  letter-spacing: .12em;
}
.fcf-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #092b58;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}
.fcf-hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #50657b;
  font-size: 17px;
  line-height: 1.72;
}
.fcf-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.fcf-hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #cadce8;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #274766;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 4px 12px rgba(22,59,96,.035);
}
.fcf-hero-badges span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #07956f;
  box-shadow: 0 0 0 4px rgba(7,149,111,.10);
}

.fcf-guide-card {
  padding: 24px;
  border: 1px solid #cddde8;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 42px rgba(13,47,84,.08);
}
.fcf-guide-kicker {
  display: block;
  margin-bottom: 8px;
  color: #078c6a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.fcf-guide-card h2 {
  margin: 0;
  color: #0a2b57;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.fcf-guide-steps {
  display: grid;
  gap: 0;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}
.fcf-guide-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #e4edf3;
}
.fcf-guide-steps li:first-child { border-top: 0; }
.fcf-guide-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #eaf8f4;
  color: #078c6a;
  font-size: 9px;
  font-weight: 850;
}
.fcf-guide-steps strong,
.fcf-guide-steps small { display: block; }
.fcf-guide-steps strong { color: #15395f; font-size: 13px; }
.fcf-guide-steps small { margin-top: 4px; color: #708196; font-size: 11px; line-height: 1.45; }
.fcf-guide-result {
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #9fd9c8;
  border-radius: 12px;
  background: #f2fbf8;
}
.fcf-guide-result span,
.fcf-guide-result strong { display: block; }
.fcf-guide-result span { color: #078c6a; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.fcf-guide-result strong { margin-top: 4px; color: #174d42; font-size: 12px; }

.fcf-search-panel {
  margin-top: 24px;
  padding: 34px 36px 36px;
  border: 1px solid #dbe5ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(14,45,81,.06);
}
.fcf-form-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  column-gap: 42px;
  align-items: end;
  margin-bottom: 24px;
}
.fcf-form-heading .fcf-kicker { grid-column: 1 / -1; }
.fcf-form-heading h2 {
  margin: 0;
  color: #0a2b57;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.fcf-form-heading p {
  align-self: center;
  margin: 0;
  color: #6b7b8e;
  font-size: 14px;
  line-height: 1.6;
}

.fcf-landing .fcf-form {
  padding: 26px;
  border: 1px solid #d8e3ec;
  border-radius: 18px;
  background: #fbfdff;
  box-shadow: none;
}
.fcf-landing .fcf-field { gap: 8px; }
.fcf-landing .fcf-field[data-step] > label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #193a5e;
  font-size: 13px;
}
.fcf-landing .fcf-field[data-step] > label::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #e9f7f3;
  color: #078c6a;
  font-size: 9px;
  font-weight: 850;
}
.fcf-landing .fcf-field input,
.fcf-landing .fcf-field select,
.fcf-landing .fcf-field textarea {
  min-height: 49px;
  border-color: #c9d7e3;
  border-radius: 11px;
  background: #fff;
  color: #18385b;
}
.fcf-landing .fcf-field input:focus,
.fcf-landing .fcf-field select:focus,
.fcf-landing .fcf-field textarea:focus {
  border-color: #75a9da;
  box-shadow: 0 0 0 4px rgba(45,104,188,.10);
}
.fcf-landing .fcf-field small { padding-left: 32px; line-height: 1.5; }
.fcf-landing .fcf-grid { gap: 18px; margin-top: 20px; }
.fcf-landing .fcf-submit-row { margin-top: 24px; }
.fcf-landing .fcf-submit {
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 12px;
  background: #078c6a;
  box-shadow: 0 10px 24px rgba(7,140,106,.18);
  font-size: 14px;
  font-weight: 800;
}
.fcf-landing .fcf-submit:hover { background: #06775b; }
.fcf-admin-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px dashed #d3dee8;
}
.fcf-admin-tools > span {
  color: #8492a2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fcf-landing .fcf-force-web {
  min-height: 34px;
  padding: 6px 10px;
  border-style: dashed;
  background: transparent;
  color: #64748b;
  font-size: 11px;
}
.fcf-landing .fcf-privacy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 15px 0 0;
  color: #6f8091;
  line-height: 1.5;
}
.fcf-landing .fcf-privacy span { color: #078c6a; font-weight: 900; }

.fcf-how {
  margin-top: 24px;
  padding: 28px 30px;
  border: 1px solid #dbe5ee;
  border-radius: 20px;
  background: #f8fbfd;
}
.fcf-how-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.fcf-how-heading .fcf-kicker { margin: 0; }
.fcf-how-heading h2 {
  margin: 0;
  color: #0a2b57;
  font-size: 22px;
  letter-spacing: -.02em;
}
.fcf-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.fcf-how-grid article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 17px;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  background: #fff;
}
.fcf-how-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9f7f3;
  color: #078c6a;
  font-size: 9px;
  font-weight: 850;
}
.fcf-how-grid strong { display: block; color: #15395f; font-size: 13px; }
.fcf-how-grid p { margin: 5px 0 0; color: #718196; font-size: 12px; line-height: 1.5; }
.fcf-how-note {
  margin: 13px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #07956f;
  border-radius: 0 9px 9px 0;
  background: #eef8f5;
  color: #4f6a69;
  font-size: 12px;
}

.fcf-landing .fcf-status,
.fcf-landing .fcf-results { margin-top: 26px; }

@media (max-width: 900px) {
  .fcf-landing { width: min(100% - 28px, 1160px); margin-top: 28px; }
  .fcf-hero { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .fcf-guide-card { max-width: 620px; }
  .fcf-form-heading { grid-template-columns: 1fr; gap: 12px; }
  .fcf-form-heading .fcf-kicker { grid-column: auto; }
  .fcf-how-heading { display: block; }
  .fcf-how-heading h2 { margin-top: 7px; }
  .fcf-how-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .fcf-hero-lead { margin-top: 18px; font-size: 15px; }
  .fcf-hero-badges { gap: 7px; }
  .fcf-guide-card { padding: 20px; }
  .fcf-landing .fcf-grid { grid-template-columns: 1fr; }
  .fcf-admin-tools { align-items: flex-start; flex-direction: column; }
  .fcf-how { padding: 22px 17px; }
  .fcf-how-grid article { padding: 15px; }
}


/* v1.17.11 · Evidence Trust Boundary / Gemini Shadow admin diagnostics */
.fcf-runtime-diagnostic {
  margin: 8px 0 14px;
  padding: 8px 10px;
  border: 1px dashed #98a2b3;
  border-radius: 8px;
  background: #f8fafc;
  color: #475467;
  font-size: 11px;
  line-height: 1.45;
}
.fcf-debug-signals {
  margin: 10px 0 0;
  color: #344054;
  font-size: 12px;
  line-height: 1.55;
}
.fcf-debug-raw {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e4e7ec;
}
.fcf-debug-raw > summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  color: #344054;
}
.fcf-debug-raw-list {
  margin: 8px 0 0 18px;
  padding: 0;
  color: #475467;
  font-size: 11px;
  line-height: 1.55;
}
.fcf-debug-raw-list li + li { margin-top: 6px; }
.fcf-debug-raw-list a { margin-left: 3px; }
.fcf-gemini-shadow {
  padding: 8px 10px;
  border-left: 3px solid #98a2b3;
  background: #f8fafc;
  border-radius: 6px;
}

/* v1.18.15 · Mobile UX v0.3 — wizard + risultati compatti. Desktop invariato. */
.fcf-mobile-hero-lead,
.fcf-mobile-wizard-head,
.fcf-mobile-wizard-nav,
.fcf-mobile-summary,
.fcf-mobile-results-head,
.fcf-mobile-empty-state,
.fcf-mobile-signals,
.fcf-mobile-card-details {
  display: none;
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  .fcf-landing {
    width: min(100% - 20px, 760px);
    margin-top: 14px;
    margin-bottom: 38px;
    overflow-x: clip;
  }

  .fcf-landing .fcf-hero {
    display: block;
    padding: 23px 19px 21px;
    border-radius: 20px;
  }
  .fcf-landing .fcf-hero h1 {
    max-width: 620px;
    font-size: clamp(30px, 9.5vw, 42px);
    line-height: 1.02;
  }
  .fcf-landing .fcf-hero-lead,
  .fcf-landing .fcf-hero-badges,
  .fcf-landing .fcf-guide-card {
    display: none;
  }
  .fcf-mobile-hero-lead {
    display: block;
    margin: 14px 0 0;
    max-width: 620px;
    color: #53677d;
    font-size: 14px;
    line-height: 1.55;
  }

  .fcf-search-panel {
    margin-top: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .fcf-form-heading { display: none; }
  .fcf-landing .fcf-form {
    padding: 18px 15px 15px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16,24,40,.055);
  }
  .fcf-landing .fcf-grid {
    display: block;
    margin: 0;
  }
  .fcf-landing .fcf-field {
    margin: 0;
    gap: 7px;
  }
  .fcf-landing .fcf-field[hidden] { display: none !important; }
  .fcf-landing .fcf-field[data-step] > label {
    margin: 0 0 2px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
  }
  .fcf-landing .fcf-field[data-step] > label::before { display: none; }
  .fcf-landing .fcf-field small {
    padding-left: 0;
    color: #7b8798;
    font-size: 11px;
  }
  .fcf-landing .fcf-field input,
  .fcf-landing .fcf-field select,
  .fcf-landing .fcf-field textarea {
    min-height: 50px;
    border-radius: 12px;
    font-size: 16px; /* evita zoom automatico iOS */
  }

  .fcf-mobile-wizard-head:not([hidden]) {
    display: block;
    margin-bottom: 17px;
  }
  .fcf-mobile-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #667085;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
  }
  .fcf-mobile-step-name { color: #087f62; }
  .fcf-mobile-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 6px;
    margin-top: 9px;
  }
  .fcf-mobile-progress i {
    display: block;
    height: 5px;
    border-radius: 999px;
    background: #eaecf0;
    transition: background .18s ease;
  }
  .fcf-mobile-progress i.is-active,
  .fcf-mobile-progress i.is-done { background: #078c6a; }
  .fcf-mobile-step-copy { margin-top: 20px; }
  .fcf-mobile-step-copy .fcf-kicker {
    margin-bottom: 6px;
    color: #078c6a;
    font-size: 9px;
  }
  .fcf-mobile-step-copy h3 {
    margin: 0;
    color: #102a43;
    font-size: 23px;
    line-height: 1.12;
    letter-spacing: -.025em;
  }
  .fcf-mobile-step-copy p {
    margin: 7px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.48;
  }
  .fcf-mobile-inline-error:not([hidden]) {
    display: block;
    margin: 12px 0 0;
    padding: 9px 10px;
    border-radius: 10px;
    background: #fef3f2;
    color: #b42318;
    font-size: 11px;
    font-weight: 700;
  }

  .fcf-mobile-wizard-nav:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 19px;
  }
  .fcf-mobile-back,
  .fcf-mobile-next,
  .fcf-mobile-summary-edit,
  .fcf-mobile-modify-search,
  .fcf-mobile-empty-action {
    min-height: 44px;
    border-radius: 11px;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
  }
  .fcf-mobile-back {
    min-width: 92px;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #475467;
  }
  .fcf-mobile-next {
    margin-left: auto;
    min-width: 138px;
    border: 1px solid #078c6a;
    background: #078c6a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(7,140,106,.15);
  }

  .fcf-mobile-summary:not([hidden]) { display: block; }
  .fcf-mobile-summary-list { display: grid; gap: 8px; }
  .fcf-mobile-summary-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f9fafb;
  }
  .fcf-mobile-summary-copy { min-width: 0; }
  .fcf-mobile-summary-copy small,
  .fcf-mobile-summary-copy strong { display: block; }
  .fcf-mobile-summary-copy small {
    margin-bottom: 2px;
    color: #667085;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
  }
  .fcf-mobile-summary-copy strong {
    overflow-wrap: anywhere;
    color: #1d2939;
    font-size: 12px;
    line-height: 1.35;
  }
  .fcf-mobile-summary-edit {
    min-height: 40px;
    padding: 0 5px;
    border: 0;
    background: transparent;
    color: #087f62;
  }
  .fcf-mobile-wizard-enabled .fcf-submit-row:not([hidden]) { display: block; margin-top: 14px; }
  .fcf-mobile-wizard-enabled .fcf-submit {
    width: 100%;
    min-height: 49px;
    margin: 0;
    border-radius: 12px;
    background: #078c6a;
  }
  .fcf-mobile-wizard-enabled .fcf-admin-tools { margin-top: 13px; }
  .fcf-mobile-wizard-enabled .fcf-privacy { margin-top: 12px; font-size: 10.5px; }

  .fcf-how {
    margin-top: 12px;
    padding: 17px 14px;
    border-radius: 16px;
  }
  .fcf-how-grid { gap: 8px; }
  .fcf-how-grid article { padding: 12px; }

  .fcf-mobile-searching .fcf-hero,
  .fcf-mobile-searching .fcf-search-panel,
  .fcf-mobile-searching .fcf-how,
  .fcf-mobile-has-results .fcf-hero,
  .fcf-mobile-has-results .fcf-search-panel,
  .fcf-mobile-has-results .fcf-how {
    display: none !important;
  }
  .fcf-mobile-searching .fcf-status {
    margin: 12px 0 0;
    padding: 18px 15px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
  }
  .fcf-mobile-searching .fcf-status-message { color: #1d2939; font-size: 14px; }
  .fcf-mobile-searching .fcf-status-detail { font-size: 11px; }

  .fcf-landing .fcf-results { margin-top: 0; }
  .fcf-mobile-results-head {
    display: block;
    margin: 0 0 12px;
    padding: 4px 1px 0;
  }
  .fcf-mobile-results-head .fcf-kicker {
    margin-bottom: 5px;
    color: #078c6a;
    font-size: 9px;
  }
  .fcf-mobile-results-head h3 {
    margin: 0;
    color: #102a43;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.025em;
  }
  .fcf-mobile-results-intro {
    margin: 6px 0 0;
    color: #667085;
    font-size: 11.5px;
    line-height: 1.45;
  }
  .fcf-mobile-query-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-top: 11px;
    padding: 10px 11px;
    border: 1px solid #e4e7ec;
    border-radius: 13px;
    background: #f9fafb;
  }
  .fcf-mobile-query-bar p {
    min-width: 0;
    margin: 0;
    color: #344054;
    font-size: 10.5px;
    line-height: 1.45;
  }
  .fcf-mobile-modify-search {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 3px;
    border: 0;
    background: transparent;
    color: #087f62;
  }

  .fcf-results > .fcf-project-card,
  .fcf-results > .fcf-selection-summary,
  .fcf-results > .fcf-research-depth,
  .fcf-results > .fcf-results-title,
  .fcf-results > .fcf-method-note {
    display: none !important;
  }

  .fcf-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fcf-company-card {
    padding: 15px 14px 12px;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(16,24,40,.045);
  }
  .fcf-company-top {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
  }
  .fcf-company-card h4 {
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -.01em;
  }
  .fcf-company-place { margin-top: 4px; font-size: 11.5px; }
  .fcf-company-card .fcf-badge {
    justify-self: start;
    max-width: 100%;
    padding: 5px 8px;
    font-size: 9.5px;
    text-align: left;
    text-transform: none;
  }
  .fcf-company-card > .fcf-facts {
    gap: 6px;
    margin-top: 10px;
  }
  .fcf-company-card > .fcf-facts .fcf-fact { display: none; }
  .fcf-company-card > .fcf-facts .fcf-fact[data-label^="Distanza"],
  .fcf-company-card > .fcf-facts .fcf-fact[data-label="Profilo dati"] {
    display: block;
    padding: 7px 8px;
    border-radius: 9px;
  }
  .fcf-company-card > .fcf-facts .fcf-fact span { font-size: 8.5px; }
  .fcf-company-card > .fcf-facts .fcf-fact strong { font-size: 10.5px; }

  .fcf-mobile-signals {
    display: grid;
    gap: 5px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
  }
  .fcf-mobile-signals li {
    position: relative;
    padding-left: 17px;
    color: #344054;
    font-size: 10.5px;
    line-height: 1.38;
  }
  .fcf-mobile-signals li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #078c6a;
    font-weight: 900;
  }

  .fcf-company-card > .fcf-corporate-profile,
  .fcf-company-card > .fcf-match-debug,
  .fcf-company-card > h5,
  .fcf-company-card > .fcf-reasons,
  .fcf-company-card > .fcf-checks,
  .fcf-company-card > .fcf-sources {
    display: none !important;
  }

  .fcf-company-card .fcf-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
    margin-top: 12px;
  }
  .fcf-company-card .fcf-actions .fcf-btn {
    min-height: 44px;
    width: 100%;
    padding: 8px 9px;
    border-radius: 10px;
    font-size: 10.5px;
    text-align: center;
  }
  .fcf-company-card .fcf-actions .fcf-btn-profile {
    grid-column: 1 / -1;
    grid-row: 1;
    background: #078c6a;
    border-color: #078c6a;
    color: #fff;
    box-shadow: 0 7px 17px rgba(7,140,106,.14);
    font-size: 11.5px;
    font-weight: 850;
  }

  .fcf-mobile-card-details {
    display: block;
    margin-top: 6px;
    border-top: 1px solid #eaecf0;
  }
  .fcf-mobile-card-details > summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: #475467;
    cursor: pointer;
    list-style: none;
    font-size: 11px;
    font-weight: 850;
  }
  .fcf-mobile-card-details > summary::-webkit-details-marker { display: none; }
  .fcf-mobile-card-details > summary::after {
    content: "+";
    margin-left: auto;
    color: #667085;
    font-size: 17px;
    font-weight: 500;
  }
  .fcf-mobile-card-details[open] > summary::after { content: "–"; }
  .fcf-mobile-card-details-body {
    padding: 3px 0 8px;
    color: #475467;
    font-size: 10.5px;
  }
  .fcf-mobile-detail-heading {
    display: block;
    margin: 8px 0 5px;
    color: #344054;
    font-size: 10px;
  }
  .fcf-mobile-detail-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.45;
  }
  .fcf-mobile-detail-list li + li { margin-top: 4px; }
  .fcf-mobile-source-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .fcf-mobile-source-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #f9fafb;
    color: #475467;
    font-size: 9.5px;
    text-decoration: none;
  }

  .fcf-mobile-empty-state {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    padding: 18px 15px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    text-align: center;
  }
  .fcf-mobile-empty-state strong { color: #1d2939; font-size: 14px; }
  .fcf-mobile-empty-state p { margin: 0; color: #667085; font-size: 11px; line-height: 1.45; }
  .fcf-mobile-empty-action {
    margin: 6px auto 0;
    padding: 0 14px;
    border: 1px solid #078c6a;
    background: #078c6a;
    color: #fff;
  }

  .fcf-runtime-diagnostic { overflow-wrap: anywhere; }
  .fcf-profile-modal-dialog { width: min(100% - 14px, 760px); max-height: calc(100vh - 14px); }
  .fcf-profile-modal-body { padding: 12px; }
}


/* v1.18.18 · Runtime mobile fallback for browsers reporting desktop-like CSS viewport. */
.fcf-shell.fcf-mobile-runtime .fcf-hero-lead,
.fcf-shell.fcf-mobile-runtime .fcf-hero-badges,
.fcf-shell.fcf-mobile-runtime .fcf-guide-card,
.fcf-shell.fcf-mobile-runtime .fcf-form-heading { display:none !important; }
.fcf-shell.fcf-mobile-runtime .fcf-mobile-hero-lead { display:block !important; }
.fcf-shell.fcf-mobile-runtime .fcf-field[hidden],
.fcf-shell.fcf-mobile-runtime [hidden] { display:none !important; }
.fcf-shell.fcf-mobile-runtime .fcf-mobile-wizard-head:not([hidden]) { display:block !important; }
.fcf-shell.fcf-mobile-runtime .fcf-mobile-wizard-nav:not([hidden]) { display:flex !important; }
.fcf-shell.fcf-mobile-runtime .fcf-mobile-summary:not([hidden]) { display:block !important; }
.fcf-shell.fcf-mobile-runtime .fcf-grid { grid-template-columns:1fr !important; }
