/**
 * AcquisitionSuite → Lead Funnels.
 * Uses the brand variables Lite defines (--acquis-*) with the same values as fallbacks.
 */
.acq-fn, .acq-fn-overlay {
	--fn-navy: var(--acquis-navy, #0D1B4B);
	--fn-orange: var(--acquis-orange, #F97316);
	--fn-orange-dark: var(--acquis-orange-dark, #ea6008);
	--fn-green: var(--acquis-green, #16a34a);
	--fn-gray: var(--acquis-gray, #6b7280);
	--fn-border: var(--acquis-border, #e5e7eb);
	--fn-text: var(--acquis-text, #111827);
	color: var(--fn-text);
}
.acq-fn { max-width: 1280px; }
.acq-fn *, .acq-fn *::before, .acq-fn *::after, .acq-fn-overlay *, .acq-fn-overlay *::before, .acq-fn-overlay *::after { box-sizing: border-box; }
.acq-fn-overlay a:focus, .acq-fn-overlay button:focus { outline: 2px solid var(--fn-orange); outline-offset: 2px; box-shadow: none; }
:where(.acq-fn) p { margin: 0; font-size: inherit; line-height: inherit; }
:where(.acq-fn) a { text-decoration: none; }
.acq-fn a:focus, .acq-fn button:focus { outline: 2px solid var(--fn-orange); outline-offset: 2px; box-shadow: none; }

/* Hero */
.acq-fn-hero {
	position: relative; overflow: hidden; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	margin: 18px 0 20px; padding: 28px 30px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0D1B4B 0%, #1e3a8a 100%);
}
.acq-fn-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(135, 62, 255, .45), rgba(135, 62, 255, 0) 70%); pointer-events: none; }
.acq-fn-hero > * { position: relative; z-index: 1; }
.acq-fn-hero h1 { margin: 0 0 6px; padding: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.acq-fn-hero p { max-width: 640px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.acq-fn-crumb { margin: 0 0 6px !important; font-size: 13px !important; }
.acq-fn-crumb a { color: rgba(255, 255, 255, .8); }

/* Buttons */
.acq-fn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s; }
.acq-fn-btn .dashicons { width: 16px; height: 16px; font-size: 16px; }
.acq-fn .acq-fn-btn-primary, .acq-fn .acq-fn-btn-primary:hover, .acq-fn .acq-fn-btn-primary:focus { color: #fff; background: var(--fn-orange); }
.acq-fn .acq-fn-btn-primary:hover { background: var(--fn-orange-dark); box-shadow: 0 4px 12px rgba(249, 115, 22, .35); }
.acq-fn .acq-fn-btn-secondary, .acq-fn .acq-fn-btn-secondary:hover, .acq-fn .acq-fn-btn-secondary:focus { color: var(--fn-navy); background: #fff; border-color: var(--fn-border); }
.acq-fn .acq-fn-btn-secondary:hover { border-color: #c5cae3; }
.acq-fn .acq-fn-btn-ghost, .acq-fn .acq-fn-btn-ghost:focus { color: var(--fn-gray); background: transparent; }
.acq-fn .acq-fn-btn-ghost:hover { color: var(--fn-navy); background: #f3f4f6; }
.acq-fn .acq-fn-danger:hover { color: #b32d2e; background: #fef2f2; }
.acq-fn-btn:disabled { opacity: .5; cursor: not-allowed; }

/* List */
.acq-fn-card { margin: 0 0 18px; background: #fff; border: 1px solid var(--fn-border); border-radius: 14px; box-shadow: 0 1px 3px rgba(13, 27, 75, .06); overflow: hidden; }
.acq-fn-pad { padding: 20px 22px; }
.acq-fn-pad h2 { margin: 0 0 12px; font-size: 16px; color: var(--fn-navy); }
.acq-fn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.acq-fn-table th { padding: 12px 16px; text-align: left; font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--fn-gray); background: #f9fafb; border-bottom: 1px solid var(--fn-border); }
.acq-fn-table td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid var(--fn-border); }
.acq-fn-table tr:last-child td { border-bottom: 0; }
.acq-fn-sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--fn-gray); }
.acq-fn-warn { display: block; margin-top: 4px; font-size: 12px; color: #b45309; }
.acq-fn-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #475569; background: #f1f5f9; }
.acq-fn-pill.is-ok { color: #166534; background: #dcfce7; }
.acq-fn-pill.is-warn { color: #92400e; background: #fef3c7; }
.acq-fn-actions { text-align: right; white-space: nowrap; }
.acq-fn-actions .acq-fn-btn { min-height: 30px; padding: 0 10px; font-weight: 600; }
.acq-fn-empty { padding: 48px 24px; text-align: center; background: #fff; border: 1px dashed #c5cae3; border-radius: 14px; }
.acq-fn-empty .dashicons { width: 40px; height: 40px; font-size: 40px; color: var(--fn-orange); }
.acq-fn-empty h2 { margin: 10px 0 6px; font-size: 18px; color: var(--fn-navy); }
.acq-fn-empty p { margin: 0 0 16px; color: var(--fn-gray); }

/* Report */
.acq-fn-ranges { display: flex; gap: 6px; flex-wrap: wrap; }
.acq-fn-ranges a { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .14); }
.acq-fn-ranges a.is-on { background: var(--fn-orange); }
.acq-fn-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 18px; }
.acq-fn-kpi { padding: 16px; background: #fff; border: 1px solid var(--fn-border); border-radius: 12px; }
.acq-fn-kpi b { display: block; font-size: 26px; font-weight: 800; color: var(--fn-navy); }
.acq-fn-kpi span { font-size: 12px; color: var(--fn-gray); }
.acq-fn-bars { margin: 0 0 16px; padding: 0; list-style: none; }
.acq-fn-bars li { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 12px; }
.acq-fn-bar-label { flex: 0 0 90px; color: var(--fn-gray); }
.acq-fn-bar { flex: 1; height: 10px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.acq-fn-bar i { display: block; height: 100%; background: var(--fn-orange); border-radius: 999px; }
.acq-fn-bar-n { flex: 0 0 30px; text-align: right; font-weight: 700; }
.acq-fn-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* Wizard */
.acq-fn-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; background: rgba(13, 27, 75, .55); }
.acq-fn-overlay[hidden] { display: none; }
.acq-fn-modal { position: relative; width: 100%; max-width: 680px; padding: 28px 30px; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.acq-fn-x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; color: var(--fn-gray); background: transparent; cursor: pointer; }
.acq-fn-x:hover { background: #f3f4f6; color: var(--fn-navy); }
.acq-fn-modal h2 { margin: 0 0 4px; padding: 0; font-size: 20px; font-weight: 800; color: var(--fn-navy); }
.acq-fn-lead { margin: 0 0 18px; font-size: 13.5px; color: var(--fn-gray); }
.acq-fn-progress { display: flex; gap: 5px; margin: 0 0 18px; }
.acq-fn-progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--fn-border); }
.acq-fn-progress span.is-done { background: var(--fn-orange); }
.acq-fn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.acq-fn-tpl { padding: 16px; border: 1.5px solid var(--fn-border); border-radius: 12px; background: #fff; }
.acq-fn-tpl .dashicons { width: 26px; height: 26px; font-size: 26px; color: var(--fn-navy); }
.acq-fn-tpl h3 { margin: 8px 0 2px; font-size: 14px; color: var(--fn-text); }
.acq-fn-tpl p { margin: 0 0 12px; font-size: 12.5px; color: var(--fn-gray); }
.acq-fn-field { margin: 0 0 16px; }
.acq-fn-field > label, .acq-fn-label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--fn-navy); }
.acq-fn-field input[type="text"], .acq-fn-field input[type="url"], .acq-fn-field input[type="email"], .acq-fn-field select, .acq-fn-field textarea { width: 100%; max-width: 100%; min-height: 40px; padding: 8px 12px; border: 1.5px solid var(--fn-border); border-radius: 10px; font-size: 14px; background: #fff; box-shadow: none; }
.acq-fn-field textarea { min-height: 96px; resize: vertical; }
.acq-fn-field input:focus, .acq-fn-field select:focus, .acq-fn-field textarea:focus { border-color: var(--fn-orange); outline: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, .15); }
.acq-fn-help { margin: 5px 0 0; font-size: 12px; color: var(--fn-gray); }
.acq-fn-error { margin: 5px 0 0; font-size: 12.5px; font-weight: 600; color: #b32d2e; }
.acq-fn-choice { display: block; padding: 12px 14px; border: 1.5px solid var(--fn-border); border-radius: 12px; cursor: pointer; font-size: 13px; background: #fff; }
.acq-fn-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.acq-fn-choice b { display: block; font-size: 13.5px; color: var(--fn-text); }
.acq-fn-choice small { color: var(--fn-gray); }
.acq-fn-choice.is-on { border-color: var(--fn-orange); background: #fff7ed; box-shadow: 0 0 0 3px rgba(249, 115, 22, .12); }
.acq-fn-choice.is-locked { opacity: .6; cursor: not-allowed; }
.acq-fn-check { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-size: 13.5px; }
.acq-fn-check input { margin-top: 3px; }
.acq-fn-custom { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.acq-fn-custom input[type="text"] { flex: 1; }
.acq-fn-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; color: var(--fn-gray); background: #f9fafb; }
.acq-fn-note.is-pro { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: #7c2d12; background: #fff7ed; border: 1px solid #fed7aa; }
.acq-fn-note a, .acq-fn-note button.acq-fn-link { color: var(--fn-orange-dark); font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.acq-fn-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 22px 0 0; }
.acq-fn-rows { margin: 0; padding: 0; list-style: none; }
.acq-fn-rows li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--fn-border); font-size: 13.5px; }
.acq-fn-rows li:first-child { border-top: 0; }
.acq-fn-rows .dashicons { color: var(--fn-gray); }
.acq-fn-rows small { display: block; color: var(--fn-gray); font-size: 12px; }
.acq-fn-rows .is-done .dashicons { color: var(--fn-green); }
.acq-fn-rows .is-wait { opacity: .45; }
.acq-fn-done { text-align: center; margin: 0 0 18px; }
.acq-fn-done .dashicons { width: 40px; height: 40px; font-size: 40px; color: var(--fn-green); }
.acq-fn-code { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--fn-border); border-radius: 10px; background: #f9fafb; font-family: Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.acq-fn-how { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.8; }
.acq-fn-btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.acq-fn-conflict { margin: 14px 0 0; padding: 14px; border: 1px solid #fde68a; border-radius: 12px; background: #fffbeb; }
.acq-fn-conflict h3 { margin: 0 0 6px; font-size: 14px; }

@media (max-width: 782px) {
	.acq-fn-hero { padding: 22px 18px; }
	.acq-fn-modal { padding: 22px 18px; }
	.acq-fn-actions { white-space: normal; }
	.acq-fn-table th:nth-child(3), .acq-fn-table td:nth-child(3) { display: none; }
}

/* Template cards: the button always sits at the bottom, so cards with shorter text still line up */
.acq-fn-tpl { display: flex; flex-direction: column; }
.acq-fn-tpl p { flex: 1; }
.acq-fn-tpl .acq-fn-btn { align-self: flex-start; }

/* The bar on the dashboard that opens the wizard */
.acq-fn-banner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 18px;
	padding: 16px 52px 16px 18px;
	border: 1px solid #fed7aa;
	border-radius: 14px;
	background: #fff7ed;
}
.acq-fn-banner-icon { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--fn-navy), #1a2f6e); }
.acq-fn-banner-icon .dashicons { width: 22px; height: 22px; font-size: 22px; }
.acq-fn-banner-text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acq-fn-banner-text strong { font-size: 15px; color: var(--fn-navy); }
.acq-fn-banner-text span { font-size: 13px; line-height: 1.5; color: #7c2d12; }
.acq-fn-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.acq-fn-banner-x { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; color: #9a3412; background: transparent; cursor: pointer; }
.acq-fn-banner-x:hover { background: rgba(249, 115, 22, .15); }
@media (max-width: 600px) {
	.acq-fn-banner { padding-right: 46px; }
	.acq-fn-banner-actions { width: 100%; }
	.acq-fn-banner-actions .acq-fn-btn { flex: 1 1 auto; }
}

/* What the wizard says about the chosen file, and a funnel's short facts */
.acq-fn-fileinfo:empty { display: none; }
.acq-fn-filenote { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.5; color: #1e3a8a; background: #eff6ff; }
.acq-fn-filenote.is-warn { color: #7c2d12; background: #fff7ed; }
.acq-fn-filenote.is-error { color: #991b1b; background: #fef2f2; }
.acq-fn-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 0 0 14px; padding: 0; list-style: none; }
.acq-fn-facts li { margin: 0; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--fn-navy); background: #f1f5f9; }

/* A field made in Form Builder that the wizard only renames or removes (a dropdown, say) */
.acq-fn-type { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--fn-gray); background: #f1f5f9; white-space: nowrap; }
