/* LeadCanal Lookup Tools — uses the theme's colors when present */
.lct-box {
	--lct-primary: var(--canal-700, #1E4738);
	--lct-ink: var(--ink, #15241E);
	--lct-muted: var(--muted, #5E6E66);
	--lct-line: var(--line, #DCE5DE);
	--lct-paper: var(--paper, #F4F7F3);
	--lct-mint: var(--mint, #BDE5C3);
	--lct-pass: #2F7D55; --lct-warn: #B7791F; --lct-fail: #B23A2E;
	background: var(--lct-paper);
	border-radius: 22px;
	padding: 28px;
	color: var(--lct-ink);
	font-family: var(--f-body, Inter, system-ui, sans-serif);
	font-size: 16px;
}
.lct-box *, .lct-box *::before, .lct-box *::after { box-sizing: border-box; }
.lct-fields { display: grid; gap: 12px; align-items: end; grid-template-columns: 1fr auto; }
.lct-fields-2 { grid-template-columns: 1fr 1fr auto; }
.lct-fields-col { grid-template-columns: 1fr; max-width: 520px; }
.lct-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lct-field label, .lct-services legend { font-family: var(--f-display, Manrope, sans-serif); font-weight: 700; font-size: 14px; color: var(--lct-ink); }
.lct-field input, .lct-field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--lct-line); border-radius: 14px;
	background: #fff; font: inherit; color: var(--lct-ink);
}
.lct-field textarea { min-height: 120px; resize: vertical; }
.lct-field input:focus, .lct-field textarea:focus { outline: none; border-color: var(--lct-primary); box-shadow: 0 0 0 3px rgba(30,71,56,.12); }
.lct-btn {
	min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--lct-primary); color: #fff;
	font-family: var(--f-display, Manrope, sans-serif); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.lct-btn:hover { background: #0F2F25; }
.lct-btn:disabled { opacity: .6; cursor: progress; }
.lct-btn:focus-visible { outline: 3px solid var(--lct-mint); outline-offset: 3px; }
.lct-btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.lct-meta { font-size: 13.5px; color: var(--lct-muted); margin: 12px 0 0; }
.lct-legal { font-size: 12.5px; color: var(--lct-muted); margin: 18px 0 0; }
.lct-legal a { color: var(--lct-primary); }
.lct-note { margin: 0; color: var(--lct-muted); }
.lct-captcha { margin-top: 12px; }
.lct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lct-results:empty { display: none; }
.lct-results { margin-top: 20px; display: grid; gap: 14px; }
.lct-card { background: #fff; border: 1px solid var(--lct-line); border-radius: 18px; padding: 22px; }
.lct-card-head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--lct-line); margin-bottom: 8px; }
.lct-avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--lct-mint); color: var(--lct-primary); display: grid; place-items: center; font-family: var(--f-display, Manrope, sans-serif); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.lct-avatar.is-fail { background: #F7E2DF; color: var(--lct-fail); }
.lct-avatar.is-warn { background: #FBEFD9; color: var(--lct-warn); }
.lct-name { font-family: var(--f-display, Manrope, sans-serif); font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.015em; color: var(--lct-ink); }
.lct-line { margin: 2px 0 0; color: var(--lct-muted); font-size: 15px; }
.lct-desc { color: var(--lct-muted); font-size: 15px; margin: 8px 0; }
.lct-kvs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.lct-kv { padding: 12px 0; border-bottom: 1px solid #EEF2EF; min-width: 0; }
.lct-kv dt { font-size: 12.5px; color: var(--lct-muted); margin-bottom: 4px; }
.lct-kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 4px; }
.lct-kv dd em, .lct-point em { font-style: normal; font-size: 12px; color: var(--lct-muted); font-weight: 400; }
.lct-kv a { color: var(--lct-primary); font-weight: 600; }
.lct-point.is-masked { letter-spacing: .02em; color: var(--lct-ink); }
.lct-hint, .lct-left { font-size: 13.5px; color: var(--lct-muted); margin: 12px 0 0; }
.lct-empty, .lct-error { margin: 0; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--lct-line); }
.lct-error { border-color: #EBC6C0; background: #FBF1EF; color: #7A2A20; }
.lct-unlock { background: #fff; border: 1.5px dashed var(--lct-primary); border-radius: 18px; padding: 20px; }
.lct-unlock p { margin: 0 0 12px; }
.lct-unlock-form { display: flex; gap: 10px; flex-wrap: wrap; }
.lct-unlock-form input { flex: 1; min-width: 200px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--lct-line); border-radius: 12px; font: inherit; }
.lct-unlock-msg { margin: 10px 0 0 !important; font-size: 14px; color: var(--lct-primary); }
.lct-table-wrap { overflow-x: auto; margin-top: 12px; }
.lct-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lct-table th, .lct-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #EEF2EF; }
.lct-table th { color: var(--lct-muted); font-weight: 500; font-size: 12.5px; }
.lct-table code, .lct-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.lct-code { background: #0A231B; color: #DCEFE1; padding: 14px 16px; border-radius: 12px; white-space: pre-wrap; word-break: break-all; margin: 12px 0; }
.lct-issues { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.lct-issues li { padding: 10px 14px 10px 38px; border-radius: 12px; position: relative; font-size: 15px; }
.lct-issues li::before { position: absolute; left: 14px; top: 10px; font-weight: 800; }
.lct-issues .is-pass { background: #E6F3EA; } .lct-issues .is-pass::before { content: "\2713"; color: var(--lct-pass); }
.lct-issues .is-warn { background: #FBF2DF; } .lct-issues .is-warn::before { content: "!"; color: var(--lct-warn); }
.lct-issues .is-fail { background: #F9E6E3; } .lct-issues .is-fail::before { content: "\00D7"; color: var(--lct-fail); }
.lct-loading { display: flex; gap: 6px; padding: 18px; }
.lct-loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--lct-primary); animation: lct-b 1s infinite ease-in-out; }
.lct-loading span:nth-child(2) { animation-delay: .15s; } .lct-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes lct-b { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.lct-status { margin: 12px 0 0; font-size: 15px; }
.lct-status.is-error { color: var(--lct-fail); }
.lct-status.is-ok { color: var(--lct-pass); }

/* Contact and quote forms */
.lct-contact { display: grid; gap: 16px; }
.lct-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lct-services { border: 0; padding: 0; margin: 0; }
.lct-service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.lct-service-group { background: #fff; border: 1px solid var(--lct-line); border-radius: 14px; padding: 14px; }
.lct-service-h { font-family: var(--f-display, Manrope, sans-serif); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.lct-check { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: 14.5px; cursor: pointer; }
.lct-check input { margin-top: 3px; accent-color: var(--lct-primary); width: 16px; height: 16px; }
.lct-contact .lct-btn { justify-self: start; }

@media (max-width: 720px) {
	.lct-box { padding: 18px; border-radius: 18px; }
	.lct-fields, .lct-fields-2 { grid-template-columns: 1fr; }
	.lct-kvs { grid-template-columns: 1fr; }
	.lct-grid-2 { grid-template-columns: 1fr; }
	.lct-service-groups { grid-template-columns: 1fr; }
	.lct-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .lct-loading span { animation: none; opacity: 1; } }

/* Human check (built-in) */
.lct-captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.lct-captcha-img { display: inline-flex; width: 132px; height: 44px; border-radius: 10px; background: #EAF5EC; overflow: hidden; }
.lct-captcha-img.is-loading { opacity: .5; }
.lct-captcha-img svg { display: block; }
.lct-captcha-label { font-size: 13.5px; color: var(--lct-muted); }
.lct-box .lct-captcha-input { width: 72px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--lct-line); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; text-align: center; color: var(--lct-ink); }
.lct-box .lct-captcha-input:focus { outline: none; border-color: var(--lct-primary); box-shadow: 0 0 0 3px rgba(30,71,56,.12); }
.lct-captcha-new { width: 36px; height: 36px; border: 1px solid var(--lct-line); border-radius: 50%; background: #fff; color: var(--lct-primary); font-size: 17px; line-height: 1; cursor: pointer; }
.lct-captcha-new:hover { border-color: var(--lct-primary); }
.lct-captcha-row .cf-turnstile { min-height: 65px; }

/* Email status chips */
.lct-point { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lct-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 4px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; font-style: normal; }
.lct-chip-ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; }
.lct-chip.is-pass { background: #E3F4E8; color: #1F5E3D; } .lct-chip.is-pass .lct-chip-ico { background: #2F9E62; }
.lct-chip.is-warn { background: #FBF1DC; color: #7A4F0E; } .lct-chip.is-warn .lct-chip-ico { background: #D99A2B; }
.lct-chip.is-fail { background: #FBE6E3; color: #8A2A20; } .lct-chip.is-fail .lct-chip-ico { background: #C9483A; }
.lct-chip.is-neutral { background: #EEF1EF; color: #47554E; } .lct-chip.is-neutral .lct-chip-ico { background: #8A9891; }

/* Next-step tools under a result */
.lct-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--lct-line); }
.lct-next-title { font-size: 13px; font-weight: 700; color: var(--lct-muted); margin-right: 2px; }
.lct-next-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid var(--lct-line); border-radius: 999px; background: #fff; color: var(--lct-primary); font-size: 13px; font-weight: 600; text-decoration: none; }
.lct-next-link:hover { border-color: var(--lct-primary); background: var(--lct-mint); }
@media (max-width: 600px) { .lct-captcha-label { flex-basis: 100%; order: -1; } }
.lct-muted { color: var(--lct-muted); font-style: italic; }
.lct-point-val a { color: inherit; font-weight: 700; text-decoration: none; border-bottom: 1px dashed currentColor; }
.lct-point-val a:hover { border-bottom-style: solid; }
