.apf-early[hidden] { display:none!important; }
.apf-early { position:fixed; left:24px; bottom:24px; z-index:99990; width:min(396px,calc(100vw - 48px)); color:#163860; font:14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; animation:apf-enter .35s ease-out both; }
.apf-early * { box-sizing:border-box; }
.apf-early-panel { position:relative; max-height:min(80vh,720px); overflow:auto; overscroll-behavior:contain; border:1px solid #dce8f0; border-top:5px solid #9dcc35; border-radius:20px; padding:22px 26px 18px; background:linear-gradient(155deg,#f3f9ff 0%,#fff 38%,#fff 100%); box-shadow:0 22px 65px #0c325540,0 4px 16px #0c32551c; }
.apf-early-brand { display:flex; align-items:center; gap:9px; color:#194b84; letter-spacing:.025em; font-size:15px; font-weight:800; }
.apf-early-brand strong { color:#5f951e; }
.apf-early-mark { display:block; width:19px; height:26px; border-radius:70% 20% 70% 20%; background:linear-gradient(135deg,#94c83e 0 46%,#19508c 47% 100%); transform:rotate(-22deg); }
.apf-early-close { position:absolute; right:14px; top:13px; display:grid; place-items:center; width:34px; height:34px; border:0!important; border-radius:50%!important; padding:0!important; background:#edf4f8!important; color:#315475!important; font:25px/1 system-ui,sans-serif!important; cursor:pointer; box-shadow:none!important; }
.apf-early-close:hover,.apf-early-close:focus-visible { background:#dcebf2!important; }
.apf-early-eyebrow { margin:19px 0 5px!important; color:#568827; letter-spacing:.15em; font-size:10px!important; font-weight:800; }
.apf-early h3 { margin:0 30px 12px 0!important; color:#173e6e!important; font-size:23px!important; line-height:1.15!important; letter-spacing:-.025em; font-weight:750!important; }
.apf-early .apf-lead-form p { margin:10px 0!important; }
.apf-early .apf-lead-form label { display:block; color:#315575; font-size:12px; font-weight:650; }
.apf-early .apf-optional { color:#72879a; font-weight:450; }
.apf-early .apf-lead-form input:not([type=checkbox]):not([name=website]) { display:block; width:100%; height:42px; margin-top:4px; padding:9px 12px; border:1px solid #cbdbe6; border-radius:10px; outline:none; background:#fff; color:#173e6e; font:14px system-ui,sans-serif; box-shadow:none; }
.apf-early .apf-lead-form input:not([type=checkbox]):focus { border-color:#4783b2; box-shadow:0 0 0 3px #4783b222; }
.apf-early .apf-consent { margin:13px 0!important; }
.apf-early .apf-consent label { display:flex; align-items:flex-start; gap:9px; font-size:11px; line-height:1.45; font-weight:450; color:#526a80; }
.apf-early input[type=checkbox] { flex:0 0 auto; width:17px; height:17px; margin:1px 0 0; accent-color:#458321; }
.apf-early .apf-lead-form button[type=submit] { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:44px; padding:10px 14px; border:0!important; border-radius:11px!important; background:linear-gradient(100deg,#5f9828,#8cbd2c)!important; color:#fff!important; font:750 12px system-ui,sans-serif!important; letter-spacing:.04em; cursor:pointer; box-shadow:0 8px 18px #59942335!important; }
.apf-early .apf-lead-form button[type=submit]:hover { filter:brightness(.96); }
.apf-early .apf-lead-form button[type=submit] span { font-size:19px; line-height:1; }
.apf-early .apf-early-note { margin:10px 0 0!important; color:#617a8c; font-size:11px!important; text-align:center; }
.apf-early .apf-result { min-height:0; margin-top:7px; color:#235b3d; font-size:12px; }
@keyframes apf-enter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:600px) {
  .apf-early { left:10px; bottom:10px; width:calc(100vw - 20px); }
  .apf-early-panel { max-height:min(78vh,690px); padding:17px 20px 13px; border-radius:18px; }
  .apf-early-eyebrow { margin-top:10px!important; }
  .apf-early h3 { font-size:20px!important; margin-bottom:7px!important; }
  .apf-early .apf-lead-form p { margin:8px 0!important; }
  .apf-early .apf-lead-form input:not([type=checkbox]):not([name=website]) { height:39px; }
}
@media (prefers-reduced-motion:reduce) { .apf-early { animation:none; } }
