#mf-chat-toggle{position:fixed;right:22px;bottom:20px;z-index:1000;border:1px solid #7acaf5;border-radius:999px;background:#83d9fb;color:#062038;padding:13px 20px;box-shadow:0 8px 32px #0009;cursor:pointer;font:700 15px/1.2 system-ui,sans-serif}
#mf-chat-toggle:hover{background:#bceaff}
#mf-chat-panel{position:fixed;right:20px;bottom:82px;z-index:1000;width:min(390px,calc(100vw - 24px));height:min(570px,calc(100dvh - 105px));background:#0a1729;color:#ecf8ff;border:1px solid #496e8d;box-shadow:0 18px 65px #000b;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;font:14px/1.45 system-ui,sans-serif}
#mf-chat-panel[hidden],#mf-chat-toggle[hidden]{display:none!important}
#mf-chat-panel *{box-sizing:border-box}
.mf-chat-head{background:#132d49;padding:14px 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #355270}
.mf-chat-head strong{display:block;font-size:16px}.mf-chat-head small{display:block;color:#b0cada;font-size:12px;margin-top:3px}
.mf-chat-head button{margin-left:auto;border:0;background:transparent;color:#e7f7ff;font-size:25px;cursor:pointer}
.mf-chat-messages{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:11px;min-height:0}
.mf-chat-msg{max-width:90%;border:1px solid #355672;background:#172e47;border-radius:13px;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere}
.mf-chat-msg.user{align-self:flex-end;background:#1e5771;border-color:#64b3cd}
.mf-chat-msg.bot{align-self:flex-start}
.mf-chat-footer{padding:12px;background:#10243a;border-top:1px solid #355270}
.mf-chat-footer p{font-size:11px;color:#bed2e2;margin:0 0 7px;line-height:1.5}
.mf-chat-form{display:flex;gap:7px;align-items:stretch}
.mf-chat-form input{background:#071a2d;color:#fff;border:1px solid #6d91af;border-radius:9px;padding:11px 9px;flex:1;min-width:0;font:inherit}
.mf-chat-form button{border:0;border-radius:9px;background:#9bdefe;color:#0b2636;padding:9px 13px;font-weight:800;cursor:pointer}
.mf-chat-form button:disabled,.mf-chat-form input:disabled{opacity:.52;cursor:not-allowed}
.mf-chat-links{font-size:12px;color:#c3dfef;padding:0 14px 10px}.mf-chat-links a{color:#9de0ff}
#mf-chat-panel :focus-visible,#mf-chat-toggle:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:510px){#mf-chat-toggle{right:12px;bottom:12px}#mf-chat-panel{right:8px;bottom:69px;width:calc(100vw - 16px);height:min(600px,calc(100dvh - 90px))}}