.cwai-widget{position:fixed;right:20px;bottom:20px;z-index:999999;font:inherit;color:#17243d}.cwai-widget *{box-sizing:border-box}.cwai-launch{background:#1455ad;color:#fff;border:0;border-radius:40px;padding:13px 20px;cursor:pointer;box-shadow:0 6px 24px #0003;font-weight:700}.cwai-panel{position:absolute;right:0;bottom:62px;width:min(370px,calc(100vw - 28px));height:min(560px,calc(100dvh - 110px));background:#fff;border:1px solid #d8e0ea;border-radius:18px;box-shadow:0 12px 42px #0003;overflow:hidden;display:flex;flex-direction:column}.cwai-panel[hidden]{display:none!important}.cwai-head{padding:16px;background:#1455ad;color:#fff;display:flex;align-items:center;justify-content:space-between}.cwai-close{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}.cwai-intro,.cwai-foot{margin:0;padding:10px 15px;font-size:12px;line-height:1.5;color:#46566b}.cwai-messages{flex:1;min-height:80px;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:12px}.cwai-msg{max-width:90%;padding:11px 13px;border-radius:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.cwai-msg.visitor{align-self:flex-end;background:#e6efff}.cwai-msg.bot{align-self:flex-start;background:#f1f4f7}.cwai-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e4e8ef}.cwai-form textarea{flex:1;min-width:0;max-height:100px;resize:vertical;border:1px solid #c8d2df;border-radius:9px;padding:8px;color:#17243d;background:#fff;font:inherit;font-size:14px}.cwai-form button{border:0;background:#1455ad;color:#fff;border-radius:9px;padding:8px 12px;cursor:pointer}.cwai-form button:disabled{opacity:.5;cursor:wait}.cwai-state{font-size:12px;color:#46566b;min-height:16px;margin:0;padding:0 12px}.cwai-foot{padding:7px 12px 11px}@media(max-width:480px){.cwai-widget{right:12px;bottom:12px}.cwai-panel{bottom:60px;height:min(570px,calc(100dvh - 86px))}}@media(prefers-reduced-motion:reduce){.cwai-widget *{scroll-behavior:auto!important}}
