/* Ask VeriFund — restrained, lightweight on-site product guide.
   Keeps original site design; no external libraries or tracking. */
.vfg-root { --vfg-navy:#092739;--vfg-blue:#12435b;--vfg-teal:#16818e;--vfg-ink:#153448;--vfg-muted:#607889;--vfg-line:#d9e5e9;--vfg-shadow:0 18px 55px rgba(4,31,47,.23);position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(19px,env(safe-area-inset-bottom));z-index:9998;box-sizing:border-box;font-family:inherit; color:var(--vfg-ink); }
.vfg-root * {box-sizing:border-box;}
.vfg-launcher { border:1px solid #265368;display:flex;align-items:center;gap:10px;cursor:pointer; border-radius:999px;min-height:55px; padding:8px 20px 8px 10px; background:var(--vfg-navy);color:white;box-shadow:0 9px 26px rgba(4,31,47,.26);font-family:inherit;font-weight:700;font-size:14px;letter-spacing:.005em;transition:transform .17s ease,box-shadow .17s ease; }
.vfg-launcher:hover {transform:translateY(-2px);box-shadow:0 12px 28px rgba(4,31,47,.28);}
.vfg-logo {display:inline-grid;place-items:center;position:relative;flex:0 0 auto; width:38px;height:38px;border-radius:50%; background:#fff;box-shadow:inset 0 0 0 1px #d6e9ee;overflow:hidden; }
.vfg-logo img {display:block;width:27px;height:27px;object-fit:contain;z-index:1;}
.vfg-logo .vfg-mark-fallback {display:none;position:absolute;z-index:0;color:#144c60;font-size:22px;font-weight:900;}
.vfg-logo.vfg-logo-failed img {display:none;}.vfg-logo.vfg-logo-failed .vfg-mark-fallback {display:block;}
.vfg-launcher-icon {margin-left:4px;font-size:17px;font-weight:400;color:#add3db;line-height:1;}
.vfg-panel {position:absolute;right:0;bottom:calc(100% + 13px); width:min(404px,calc(100vw - 28px));height:min(610px,calc(100dvh - 105px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #cddfe5;background:#fff;border-radius:18px;box-shadow:var(--vfg-shadow);}
.vfg-panel[hidden] {display:none!important;}
.vfg-head {display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--vfg-navy);padding:16px 17px;color:#fff;flex:0 0 auto;}
.vfg-head-brand{display:flex;align-items:center;gap:11px;min-width:0;}
.vfg-head strong {display:block;font-size:17px;line-height:1.24;color:white;}
.vfg-head small {display:block;margin-top:3px;color:#bbd6dd;font-weight:500;font-size:12px;line-height:1.3;}
.vfg-close {appearance:none;align-self:flex-start;display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.26);border-radius:10px;background:rgba(255,255,255,.08);color:white;font-size:25px;line-height:1;cursor:pointer;}
.vfg-messages{flex:1;min-height:0;overflow-y:auto;padding:19px 17px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;overscroll-behavior:contain;background:#fbfdfe;}
.vfg-bubble {font-size:14px;line-height:1.58;max-width:94%;color:var(--vfg-ink);padding:13px 15px;border-radius:12px;overflow-wrap:anywhere;}
.vfg-bubble.bot {align-self:flex-start;background:#fff;border:1px solid var(--vfg-line);border-top-left-radius:4px;box-shadow:0 2px 9px rgba(8,43,59,.035);}
.vfg-bubble.user {align-self:flex-end;background:#e8f3f5;border:1px solid #c8e0e5;border-top-right-radius:4px;}
.vfg-bubble p {margin:0 0 9px;}
.vfg-bubble p:last-child{margin-bottom:0;}
.vfg-answer-links{display:flex;flex-direction:column;gap:6px;margin-top:11px;}
.vfg-answer-links a {display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:6px 10px;border:1px solid #bfd8df;border-radius:7px;color:#09586c;text-decoration:none;font-size:12px;font-weight:750;line-height:1.4;background:#f8fcfd;}
.vfg-answer-links a:hover {background:#e6f3f7;}
.vfg-chips{display:flex;flex-wrap:wrap;gap:7px;padding:12px 16px 5px;background:#fff;border-top:1px solid #e8eef1;flex:0 0 auto;max-height:126px;overflow-y:auto;}
.vfg-chip{appearance:none;border:1px solid #c6dbe2;background:#fff;color:#154658;border-radius:999px;padding:7px 11px;font-family:inherit;font-weight:650;font-size:12px;cursor:pointer;min-height:33px;line-height:1.25;}
.vfg-chip:hover{border-color:#178590;background:#edf8fa;}
.vfg-compose{display:flex;align-items:center;gap:8px;background:#fff;padding:10px 14px 11px;flex:0 0 auto;}
.vfg-compose input{flex:1;min-width:0;min-height:42px;border:1px solid #c9dae0;border-radius:9px;padding:10px 12px;background:#fff;color:#183a4a;font-family:inherit;font-size:13px;}
.vfg-send{appearance:none;border:0;border-radius:9px;background:var(--vfg-blue);color:#fff;font-family:inherit;font-size:12px;font-weight:750;padding:10px 12px;min-height:42px;cursor:pointer;}
.vfg-send:hover{background:#17617b;}
.vfg-handoff{display:flex;padding:0 14px 9px;background:#fff;flex:0 0 auto}.vfg-handoff a{display:inline-flex;justify-content:center;align-items:center;gap:5px;width:100%;border:1px solid #bbd5dc;background:#eff8f9;color:#0b5265;text-decoration:none;border-radius:9px;min-height:36px;font-size:12px;font-weight:760;}.vfg-handoff a:hover{background:#e0f2f5}.vfg-foot{padding:0 17px 13px;font-size:10.5px;line-height:1.42;color:#607789;background:#fff;flex:0 0 auto;}
.vfg-root :is(button,input,a):focus-visible{outline:3px solid #dfaa61;outline-offset:2px;}
.vfg-inline-guide{appearance:none;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit;font-size:13px;font-weight:650;padding:3px 0;}
@media(max-width:600px){.vfg-root{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));}.vfg-panel{bottom:calc(100% + 9px);width:min(390px,calc(100vw - 24px));height:min(600px,calc(100dvh - 94px));border-radius:14px;}.vfg-launcher{min-height:52px;padding-right:16px;}.vfg-logo{width:35px;height:35px;}.vfg-logo img{width:25px;height:25px;}.vfg-chips{max-height:113px;}}
@media(max-height:620px){.vfg-panel{height:calc(100dvh - 88px);}.vfg-chips{max-height:80px;}}
@media(prefers-reduced-motion:reduce){.vfg-launcher{transition:none;}.vfg-launcher:hover{transform:none;}}

/* Working chatbot: guided follow-up questions and short answer headings. */
.vfg-answer-title{display:block;font-size:13px;line-height:1.3;font-weight:800;color:#102b49;margin-bottom:7px;}
.vfg-bubble.bot{border-left:2px solid #b20f28;}
.vfg-chips{max-height:146px;}
.vfg-chip:focus-visible{outline:3px solid #ba2039;outline-offset:2px;}
.vfg-root{isolation:isolate;z-index:99999;}
.vfg-root .vfg-launcher{white-space:nowrap;}
.vfg-panel{max-width:calc(100vw - 24px);}
@media(max-width:600px){.vfg-chips{max-height:125px;}}

/* v2: source-aware answers; preserves the original pill launcher shown on VeriFund. */
.vfg-root{--vfg-navy:#092739;--vfg-blue:#153a60;--vfg-red:#b21d32;z-index:99999;isolation:isolate;}
.vfg-root .vfg-launcher{background:#082c40;color:#fff;border-radius:999px;border:1px solid #285469;white-space:nowrap;}
.vfg-root .vfg-launcher:hover{box-shadow:0 13px 32px rgba(3,28,48,.3);}
.vfg-root .vfg-panel{display:flex;flex-direction:column;background:#fff;max-width:calc(100vw - 20px);}
.vfg-root .vfg-panel[hidden]{display:none!important;}
.vfg-head{border-bottom:3px solid var(--vfg-red);}
.vfg-answer-links{border-top:1px solid #e3ebf0;margin-top:13px;padding-top:10px;gap:6px;}
.vfg-source-label{display:block;color:#64798b;font-size:10px;font-weight:750;letter-spacing:.045em;text-transform:uppercase;margin:0 0 3px;}
.vfg-answer-extra{font-size:12px;color:#657d8d;margin-top:12px!important;line-height:1.45;}
.vfg-root .vfg-bubble.bot{border-left:3px solid #b21d32;}
.vfg-answer-links a{display:inline-flex;align-self:flex-start;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.vfg-messages{scroll-behavior:smooth;}
.vfg-chips{max-height:134px;}
.vfg-chip{background:#f9fbfc;}
.vfg-chip:focus-visible{outline-color:#b21d32;}
.vfg-compose input:focus{border-color:#33729b;box-shadow:0 0 0 3px rgba(45,110,154,.10);}
.vfg-root :is(a,button,input){-webkit-tap-highlight-color:transparent;}
@media(max-width:600px){
  .vfg-root{right:max(12px,env(safe-area-inset-right));bottom:max(13px,env(safe-area-inset-bottom));}
  .vfg-root .vfg-panel{width:min(390px,calc(100vw - 24px));height:min(610px,calc(100dvh - 90px));}
  .vfg-root .vfg-launcher{min-height:54px;}
  .vfg-chips{max-height:118px;}
  .vfg-root .vfg-bubble{max-width:96%;}
}
@media(prefers-reduced-motion:reduce){.vfg-messages{scroll-behavior:auto;}}
