#ofa-root{--ofa-c:#1F3C88;--ofa-d:#12245A;--ofa-mb:84px;position:fixed;right:20px;bottom:20px;z-index:9995;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:15px;line-height:1.5;color:#12245A}
#ofa-root *{box-sizing:border-box}
#ofa-root .ofa-launch{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--ofa-c);color:#fff;font-family:inherit;font-weight:700;font-size:15px;line-height:1;cursor:pointer;box-shadow:0 14px 30px -10px rgba(18,36,90,.55);transition:background .15s,transform .15s}
#ofa-root .ofa-launch:hover{background:var(--ofa-d);transform:translateY(-1px)}
#ofa-root .ofa-launch:focus-visible,#ofa-root button:focus-visible,#ofa-root textarea:focus-visible{outline:2px solid var(--ofa-c);outline-offset:3px}
#ofa-root .ofa-launch svg{width:22px;height:22px;fill:currentColor}
#ofa-root.ofa-is-open .ofa-launch{display:none}
#ofa-root .ofa-panel{position:absolute;right:0;bottom:0;width:380px;max-width:calc(100vw - 32px);height:min(600px,calc(100vh - 40px));display:flex;flex-direction:column;background:#fff;border:1px solid #DCE3F0;border-radius:18px;overflow:hidden;box-shadow:0 30px 70px -24px rgba(18,36,90,.5)}
#ofa-root .ofa-panel[hidden]{display:none}
#ofa-root .ofa-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:var(--ofa-d);color:#fff}
#ofa-root .ofa-head strong{display:block;font-size:16px;font-weight:800;letter-spacing:-.2px}
#ofa-root .ofa-head small{display:block;font-size:12px;opacity:.8;margin-top:2px}
#ofa-root .ofa-close{width:40px;height:40px;flex:none;border:0;border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font-size:24px;line-height:1;cursor:pointer}
#ofa-root .ofa-close:hover{background:rgba(255,255,255,.22)}
#ofa-root .ofa-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#F6F8FC;overscroll-behavior:contain}
#ofa-root .ofa-msg{max-width:88%;padding:10px 14px;border-radius:14px;word-wrap:break-word}
#ofa-root .ofa-msg p{margin:0 0 6px}#ofa-root .ofa-msg p:last-child{margin:0}
#ofa-root .ofa-msg ul{margin:4px 0 6px;padding-left:18px}#ofa-root .ofa-msg li{margin:2px 0}
#ofa-root .ofa-msg a{color:inherit;text-decoration:underline;text-underline-offset:2px}
#ofa-root .ofa-assistant{align-self:flex-start;background:#fff;border:1px solid #DCE3F0;border-bottom-left-radius:4px}
#ofa-root .ofa-assistant a{color:var(--ofa-c);font-weight:600}
#ofa-root .ofa-user{align-self:flex-end;background:var(--ofa-c);color:#fff;border-bottom-right-radius:4px}
#ofa-root .ofa-typing{display:flex;gap:4px;padding:14px}
#ofa-root .ofa-typing span{width:7px;height:7px;border-radius:50%;background:#9DB3E6;animation:ofa-dot 1.2s infinite ease-in-out}
#ofa-root .ofa-typing span:nth-child(2){animation-delay:.15s}#ofa-root .ofa-typing span:nth-child(3){animation-delay:.3s}
@keyframes ofa-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
#ofa-root .ofa-form{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid #DCE3F0;background:#fff}
#ofa-root textarea{flex:1;min-height:44px;max-height:120px;resize:none;padding:11px 12px;border:1px solid #C3CDE2;border-radius:12px;font:inherit;font-size:16px;color:#12245A;background:#fff}
#ofa-root .ofa-form button{width:44px;height:44px;flex:none;border:0;border-radius:12px;background:var(--ofa-c);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
#ofa-root .ofa-form button:hover{background:var(--ofa-d)}
#ofa-root .ofa-form button:disabled{opacity:.5;cursor:default}
#ofa-root .ofa-form svg{width:20px;height:20px;fill:currentColor}
#ofa-root .ofa-legal{margin:0;padding:0 14px 10px;font-size:11.5px;color:#5E6470;background:#fff}
#ofa-root .ofa-legal a{color:#5E6470}
#ofa-root .ofa-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:700px){
#ofa-root{right:12px;bottom:calc(var(--ofa-mb) + env(safe-area-inset-bottom,0px))}
#ofa-root .ofa-launch span{display:none}
#ofa-root .ofa-launch{width:54px;height:54px;padding:0;justify-content:center}
#ofa-root.ofa-is-open{inset:0;right:0;bottom:0}
#ofa-root .ofa-panel{position:fixed;inset:0;width:100%;max-width:none;height:100%;border-radius:0;border:0}
}
@media (prefers-reduced-motion:reduce){#ofa-root .ofa-typing span{animation:none}#ofa-root .ofa-launch{transition:none}}
@media print{#ofa-root{display:none}}
