.bf-live-chat{position:fixed;right:22px;bottom:22px;z-index:9000;font:inherit;color:#001e45;max-width:calc(100vw - 32px);margin:0;padding:0;border:0;background:transparent}
.bf-live-chat>summary{display:block;margin-left:auto;width:max-content;list-style:none;background:#001e45;color:#fff;border:1px solid #fff;border-radius:999px;padding:15px 22px;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 4px 18px #001e4526}
.bf-live-chat>summary::-webkit-details-marker{display:none}
.bf-live-chat>summary::after,.bf-live-chat>summary::marker{content:none;display:none}
.bf-live-chat__panel{position:absolute;right:0;bottom:62px;box-sizing:border-box;width:344px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 110px);overflow:auto;padding:27px 24px 23px;border:1px solid #d9dfe8;border-radius:10px;background:#fff;box-shadow:0 8px 32px #001e4526}
.bf-live-chat__panel h2{font-weight:700;font-family:inherit;font-size:24px;line-height:1.2;letter-spacing:normal;margin:0 0 14px;color:#001e45}
.bf-live-chat__panel p{font-family:inherit;font-size:14px;line-height:1.6;margin:0 0 17px;color:#24374f}
.bf-live-chat__panel .bf-live-chat__eyebrow{font-size:10px;font-weight:700;letter-spacing:.08em;margin-bottom:8px;color:#b30d24}
.bf-live-chat__close{position:absolute;right:8px;top:5px;border:0;background:transparent;color:#001e45;font-size:25px;line-height:1;width:36px;height:36px;cursor:pointer}
.bf-live-chat__start{display:block;width:100%;border:0;border-radius:5px;padding:13px 15px;background:#df1428;color:#fff;line-height:1.3;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer}
.bf-live-chat__start:disabled{opacity:.6;cursor:default}
.bf-live-chat__panel .bf-live-chat__notice{font-size:12px;line-height:1.5;margin:15px 0 12px;color:#52617b}
.bf-live-chat__panel .bf-live-chat__status{font-size:13px;line-height:1.4;margin:12px 0 0}
.bf-live-chat__status:empty{display:none}
.bf-live-chat__fallback{font-size:12px;line-height:1.5;text-decoration:underline;color:#001e45}
.bf-live-chat summary:focus-visible,.bf-live-chat button:focus-visible,.bf-live-chat a:focus-visible{outline:3px solid #2077d4;outline-offset:3px}
@media(max-width:480px){.bf-live-chat{right:16px;bottom:16px}.bf-live-chat>summary{padding:12px 18px;font-size:14px}.bf-live-chat__panel{bottom:56px}}

/* Match the website launcher while keeping banking controls and dialogs clear. */
.bf-live-chat{z-index:900}
.bf-customer .bf-live-chat{z-index:45;bottom:68px}
.bf-live-chat [hidden]{display:none!important}
.bf-live-chat__frame{height:440px;height:min(440px,calc(100dvh - 276px));min-height:180px;margin:10px -12px 0;background:#f4f7fb;border:1px solid #d9dfe8;border-radius:5px;overflow:hidden}
.bf-live-chat__frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.bf-live-chat--started .bf-live-chat__panel{display:flex;flex-direction:column;width:390px;padding:35px 18px 16px}
.bf-live-chat--started .bf-live-chat__frame{flex-shrink:1}
.bf-live-chat--started .bf-live-chat__notice,.bf-live-chat--started .bf-live-chat__status,.bf-live-chat--started .bf-live-chat__fallback,.bf-live-chat--started .bf-live-chat__start{flex-shrink:0}
.bf-live-chat--started .bf-live-chat__intro{display:none}
.bf-live-chat--started .bf-live-chat__notice{font-size:11px;margin:10px 0 7px}
.bf-live-chat--started .bf-live-chat__status{font-size:12px;margin:9px 0 0}
.bf-live-chat__close{min-width:36px;min-height:36px;font-family:inherit}
@media(max-width:700px){
 .bf-live-chat{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 .bf-live-chat>summary{padding:11px 16px;font-size:13px}
 .bf-live-chat__panel{bottom:53px;max-height:calc(100dvh - 94px - env(safe-area-inset-bottom,0px))}
 .bf-customer .bf-live-chat{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .bf-customer .bf-live-chat__panel{max-height:calc(100dvh - 158px - env(safe-area-inset-bottom,0px))}
 .bf-customer .bf-live-chat__frame{height:calc(100dvh - 348px);min-height:160px;max-height:440px}
}
