.mafc-wrap{position:fixed;bottom:22px;right:22px;z-index:99999;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-family:Arial,sans-serif}.mafc-wrap.mafc-left{right:auto;left:22px;align-items:flex-start}.mafc-button{border:0;border-radius:28px;background:var(--mafc-bg,#0866ff);color:var(--mafc-fg,#fff);padding:12px 17px;min-height:48px;display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-size:14px;font-weight:600;box-shadow:0 4px 14px #0003;cursor:pointer}.mafc-button:hover{filter:brightness(.94);color:var(--mafc-fg,#fff)}.mafc-icon{width:25px;height:25px;flex:none}.mafc-chat-symbol{font-size:21px}.mafc-panel{width:320px;max-width:calc(100vw - 36px);height:420px;max-height:65vh;background:#fff;border-radius:14px;box-shadow:0 8px 35px #0003;overflow:hidden;display:flex;flex-direction:column;color:#222}.mafc-panel[hidden]{display:none}.mafc-panel header{background:var(--mafc-bg,#0866ff);color:#fff;padding:14px;display:flex;justify-content:space-between;align-items:center}.mafc-close{background:none;border:0;color:#fff;font-size:25px;cursor:pointer}.mafc-messages{padding:12px;flex:1;overflow:auto;background:#f7f8fa}.mafc-msg{padding:9px 11px;border-radius:12px;margin:7px 0;max-width:88%;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.mafc-agent{background:#e8edf5;margin-right:auto}.mafc-visitor{background:#dcecff;margin-left:auto}.mafc-form{padding:10px;border-top:1px solid #eee;display:grid;gap:7px}.mafc-form input,.mafc-form textarea{width:100%;box-sizing:border-box;border:1px solid #d5d9df;border-radius:7px;padding:9px;font:inherit;font-size:14px}.mafc-form textarea{height:60px;resize:vertical}.mafc-form button{border:0;border-radius:7px;padding:10px;background:var(--mafc-bg,#0866ff);color:#fff;font-weight:600;cursor:pointer}.mafc-status{margin:0;font-size:12px;color:#555}.mafc-status:empty{display:none}@media(max-width:480px){.mafc-wrap{bottom:12px;right:12px}.mafc-wrap.mafc-left{left:12px}.mafc-panel{width:min(340px,calc(100vw - 24px));height:65vh}}
