body.chatifly-open-mobile{overflow:hidden;touch-action:none}.chatifly-wrap,.chatifly-wrap *{box-sizing:border-box}.chatifly-wrap.chatifly-floating{position:fixed;left:20px;right:auto;bottom:20px;z-index:999999;font-family:Arial,sans-serif}.chatifly-wrap.chatifly-inline{position:relative;width:100%;max-width:420px;font-family:Arial,sans-serif}.chatifly-inline .chatifly-window{display:flex!important;opacity:1!important;transform:none!important;width:100%;height:620px;max-height:70vh;margin-bottom:0}.chatifly-inline .chatifly-toggle{display:none!important}.chatifly-toggle{width:68px;height:68px;border-radius:999px;border:none;cursor:pointer;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.18);background:var(--chatifly-primary,#0b1736);display:flex;align-items:center;justify-content:center;padding:0}.chatifly-toggle img{width:100%;height:100%;object-fit:cover}.chatifly-toggle span{color:#fff;font-size:28px;line-height:1}.chatifly-floating.is-open .chatifly-toggle{display:none}.chatifly-window{width:360px;max-width:calc(100vw - 24px);height:min(620px,calc(100vh - 40px));max-height:calc(100vh - 40px);background:#fff;border-radius:24px;box-shadow:0 28px 80px rgba(0,0,0,.2);overflow:hidden;display:none;flex-direction:column;margin-bottom:12px;transform:translateY(8px);opacity:0;transition:opacity .2s ease,transform .2s ease}.chatifly-window.open{display:flex;opacity:1;transform:translateY(0)}.chatifly-header{background:var(--chatifly-primary,#0b1736);color:#fff;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.chatifly-header-left{display:flex;align-items:center;gap:12px;min-width:0}.chatifly-header-avatar{width:42px;height:42px;border-radius:999px;object-fit:cover;flex-shrink:0}.chatifly-header-title{font-size:16px;font-weight:700;line-height:1.2;word-break:break-word}.chatifly-close{border:none;background:rgba(255,255,255,.16);color:#fff;width:38px;height:38px;border-radius:999px;cursor:pointer;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;flex-shrink:0}.chatifly-messages{flex:1;padding:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#f8fafc}.chatifly-quick-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 14px 12px;background:#f8fafc}.chatifly-quick-btn{border:1px solid #dbe3ef;background:#fff;color:var(--chatifly-primary,#0b1736);border-radius:999px;padding:10px 14px;cursor:pointer;font-size:13px;font-weight:600;line-height:1.2}.chatifly-msg{margin-bottom:12px;display:flex}.chatifly-msg.user{justify-content:flex-end}.chatifly-msg.bot{justify-content:flex-start}.chatifly-bubble{max-width:84%;padding:12px 14px;border-radius:16px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word}.chatifly-msg.user .chatifly-bubble{background:var(--chatifly-primary,#0b1736);color:#fff;border-bottom-right-radius:6px}.chatifly-msg.bot .chatifly-bubble{background:#fff;color:#111827;border:1px solid #e5e7eb;border-bottom-left-radius:6px}.chatifly-form{border-top:1px solid #e5e7eb;background:#fff;padding:10px;display:flex;gap:8px;align-items:center}.chatifly-input{flex:1;min-width:0;border:1px solid #d1d5db;border-radius:14px;padding:12px 14px;outline:none;font-size:16px;line-height:1.3;background:#fff;color:#111827}.chatifly-send{border:none;background:var(--chatifly-primary,#0b1736);color:#fff;border-radius:14px;padding:12px 18px;cursor:pointer;font-weight:700;font-size:15px;white-space:nowrap;flex-shrink:0}.chatifly-footer{font-size:12px;color:#6b7280;padding:0 14px 12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}.chatifly-typing .chatifly-bubble{display:flex;gap:6px;align-items:center}.chatifly-dot{width:8px;height:8px;border-radius:999px;background:#94a3b8;animation:chatiflyBounce 1.2s infinite ease-in-out}.chatifly-dot:nth-child(2){animation-delay:.15s}.chatifly-dot:nth-child(3){animation-delay:.3s}@keyframes chatiflyBounce{0%,80%,100%{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}@media (max-width:767px){.chatifly-wrap.chatifly-floating{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:12px}.chatifly-floating .chatifly-window{width:100%;max-width:100%;height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));margin-bottom:0;border-radius:20px}.chatifly-inline .chatifly-window{max-height:75vh;height:560px}}