/* CR-9187 f.css - hosted and embedded SolidifAi lead forms. Light and dark follow the visitor's setting. */
:root { --lf-accent: #4f46e5; --lf-bg: #f6f7fb; --lf-card: #ffffff; --lf-text: #1d2433; --lf-muted: #5b6475; --lf-border: #d9dde6; --lf-input: #ffffff; --lf-err: #b42318; --lf-ok-bg: #ecfdf3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) { --lf-bg: #0f1420; --lf-card: #171e2c; --lf-text: #e8ebf2; --lf-muted: #a3acbd; --lf-border: #2c3547; --lf-input: #10151f; --lf-err: #ff8a80; --lf-ok-bg: #12301f; } }
html[data-theme=dark] { --lf-bg: #0f1420; --lf-card: #171e2c; --lf-text: #e8ebf2; --lf-muted: #a3acbd; --lf-border: #2c3547; --lf-input: #10151f; --lf-err: #ff8a80; --lf-ok-bg: #12301f; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.lf-page { background: var(--lf-bg); color: var(--lf-text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body.lf-embedded { background: transparent; }
.lf-main { max-width: 640px; margin: 0 auto; padding: 24px 16px; }
body.lf-embedded .lf-main { padding: 4px; }
.lf-card { background: var(--lf-card); border: 1px solid var(--lf-border); border-radius: 12px; padding: 24px; }
.lf-brandbar { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 8px; color: var(--lf-muted); font-size: 14px; font-weight: 600; }
.lf-logo { max-height: 32px; width: auto; }
.lf-title { margin: 0 0 16px; font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.lf-help { margin: 0; color: var(--lf-muted); }
.lf-field { margin-bottom: 14px; }
.lf-field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.lf-req { color: var(--lf-err); }
.lf-opt { color: var(--lf-muted); font-weight: 400; }
.lf-field input, .lf-field textarea, .lf-field select, .lf-captcha input { width: 100%; padding: 10px 12px; font: inherit; color: var(--lf-text); background: var(--lf-input); border: 1px solid var(--lf-border); border-radius: 8px; }
.lf-field textarea { resize: vertical; min-height: 96px; }
.lf-field input:focus, .lf-field textarea:focus, .lf-field select:focus, .lf-captcha input:focus, .lf-consent input:focus, .lf-submit:focus { outline: 2px solid var(--lf-accent); outline-offset: 2px; }
.lf-field input[aria-invalid="true"], .lf-field textarea[aria-invalid="true"], .lf-field select[aria-invalid="true"] { border-color: var(--lf-err); }
.lf-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 14px; }
.lf-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lf-accent); }
.lf-consent label { overflow-wrap: anywhere; }
.lf-captcha { margin: 0 0 14px; padding: 12px; border: 1px dashed var(--lf-border); border-radius: 8px; }
.lf-captcha-q { margin: 0 0 8px; font-size: 14px; }
.lf-captcha input { max-width: 160px; }
.lf-msg { margin: 0 0 12px; color: var(--lf-err); font-size: 14px; }
.lf-submit { display: inline-block; min-width: 140px; padding: 11px 20px; font: inherit; font-weight: 600; color: #fff; background: var(--lf-accent); border: 0; border-radius: 8px; cursor: pointer; }
.lf-submit[disabled] { opacity: .6; cursor: progress; }
.lf-done { padding: 16px; border-radius: 8px; background: var(--lf-ok-bg); }
.lf-done .lf-title { margin-bottom: 6px; font-size: 20px; }
.lf-done-msg { margin: 0; overflow-wrap: anywhere; }
.lf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.lf-card--closed .lf-title { font-size: 20px; }
@media (max-width: 480px) { .lf-card { padding: 16px; } .lf-title { font-size: 20px; } .lf-submit { width: 100%; } }

/* CR-11439 alerts.html - confirm or stop new-lead alerts for an outside address */
.lf-alerts-form { margin: 18px 0 0; }
.lf-alerts strong { overflow-wrap: anywhere; }
