.webchat{z-index:1001;color:#e6f0fa;background:linear-gradient(160deg,#16314d,#0d1f33);border:1px solid #2ec4b666;border-radius:16px;flex-direction:column;width:380px;height:min(600px,100vh - 40px);font-size:14px;line-height:1.45;animation:.16s ease-out webchat-in;display:flex;position:fixed;bottom:20px;right:20px;overflow:hidden;box-shadow:0 18px 50px #00000080}.webchat-head{border-bottom:1px solid #9db3c82e;align-items:center;gap:12px;padding:14px 14px 12px 16px;display:flex}.webchat-titles{flex:1;min-width:0}.webchat-titles strong{font-size:1.05rem;display:block}.webchat-sub{color:#9db3c8;white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;display:block;overflow:hidden}.webchat-dot{background:#2ec4b6;border-radius:50%;flex:none;width:12px;height:12px}.webchat-state-waiting .webchat-dot{background:#f5a623;animation:1.4s ease-in-out infinite webchat-pulse}.webchat-state-closed .webchat-dot,.webchat-view-sent .webchat-dot{background:#9db3c8}.webchat-x{width:34px;height:34px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;display:grid}.webchat-x svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:18px;height:18px}.webchat-x:hover{background:#9db3c824}.webchat-end{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #9db3c866;border-radius:8px;flex:none;padding:6px 10px;font-size:.85rem;font-weight:600}.webchat-end:hover{background:#ff7b7224;border-color:#ff7b72}.webchat :focus-visible{outline-offset:2px;outline:2px solid #2ec4b6}.webchat-form{flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.webchat-intro{color:#c8d6e5;margin:0}.webchat-form label{flex-direction:column;gap:5px;font-size:.9rem;font-weight:600;display:flex}.webchat input,.webchat textarea{width:100%;color:inherit;font:inherit;resize:none;background:#050f1b8c;border:1px solid #9db3c866;border-radius:10px;padding:10px 12px;font-size:1rem;font-weight:400}.webchat textarea{min-height:44px}.webchat-form textarea{resize:vertical;min-height:110px}.webchat input:focus,.webchat textarea:focus{outline-offset:0;border-color:#0000;outline:2px solid #2ec4b6}.webchat-hp{height:1px;left:-10000px;overflow:hidden;width:1px!important;position:absolute!important}.webchat-error{color:#ff9c94;margin:0;font-size:.9rem}.webchat-primary{color:#fff;font:inherit;cursor:pointer;background:#0e8c80;border:0;border-radius:10px;padding:10px 16px;font-weight:700}.webchat-primary:hover:not(:disabled){background:#0b7369}.webchat-primary:disabled{opacity:.5;cursor:default}.webchat-btn{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #9db3c866;border-radius:9px;padding:7px 12px;font-weight:600}.webchat-btn:hover{background:#9db3c81f}.webchat-log{flex-direction:column;flex:1;gap:10px;padding:14px 14px 6px;display:flex;overflow-y:auto}.webchat-msg{flex-direction:column;gap:2px;max-width:84%;display:flex}.webchat-msg p{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;margin:0;padding:9px 12px}.webchat-who{color:#9db3c8;font-size:.75rem;font-weight:700}.webchat-msg time{color:#7f95aa;font-size:.72rem}.webchat-visitor{align-self:flex-end;align-items:flex-end}.webchat-visitor p{color:#fff;background:#0e8c80;border-bottom-right-radius:4px}.webchat-operator{align-self:flex-start}.webchat-operator p{background:#9db3c829;border-bottom-left-radius:4px}.webchat-operator .webchat-who{color:#2ec4b6}.webchat-failed p{color:inherit;background:0 0;border:1px dashed #ff7b72}.webchat-failed time{color:#ff9c94}.webchat-system{text-align:center;color:#9db3c8;align-self:center;max-width:92%;margin:4px 0;font-size:.85rem}.webchat-wait-note{text-align:left;align-items:flex-start;gap:8px;display:flex}.webchat-spin{border:2px solid #f5a62359;border-top-color:#f5a623;border-radius:50%;flex:none;width:12px;height:12px;margin-top:3px;animation:1s linear infinite webchat-turn}.webchat-alert{color:#ffd2ce;background:#ff7b721f;border:1px solid #ff7b7280;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin:0 14px 8px;padding:8px 10px 8px 12px;font-size:.9rem;display:flex}.webchat-compose{border-top:1px solid #9db3c82e;align-items:flex-end;gap:8px;padding:10px 12px 12px;display:flex}.webchat-compose textarea{flex:1;max-height:140px}.webchat-foot{border-top:1px solid #9db3c82e;justify-content:center;padding:12px;display:flex}.webchat-done{flex-direction:column;align-items:flex-start;gap:6px;padding:20px 18px;display:flex}.webchat-done p{color:#c8d6e5;margin:0 0 6px}.webchat-done strong{color:#e6f0fa}.webchat-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.webchat-launcher{z-index:1001;color:#e6f0fa;font:inherit;cursor:pointer;background:#0d1f33;border:1px solid #2ec4b680;border-radius:999px;align-items:center;gap:8px;padding:11px 16px 11px 14px;font-size:.95rem;font-weight:700;display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 10px 30px #00000073}.webchat-launcher:hover{background:#16314d}.webchat-ico{fill:none;stroke:#2ec4b6;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.webchat-unread{background:#ff7b72;border:2px solid #0d1f33;border-radius:50%;width:11px;height:11px;position:absolute;top:4px;right:6px}html[data-theme=light] .webchat{color:#0e2238;background:#fff;border-color:#9fd9d3}html[data-theme=light] .webchat-sub,html[data-theme=light] .webchat-intro,html[data-theme=light] .webchat-system,html[data-theme=light] .webchat-done p{color:#52687d}html[data-theme=light] .webchat input,html[data-theme=light] .webchat textarea{background:#f4f8fb;border-color:#c8d6e5}html[data-theme=light] .webchat-operator p{background:#eaf1f7}html[data-theme=light] .webchat-operator .webchat-who{color:#0e8c80}html[data-theme=light] .webchat-done strong{color:#0e2238}html[data-theme=light] .webchat-launcher{color:#0e2238;background:#fff}@media (max-width:600px){.webchat{border:0;border-radius:0;width:auto;height:100dvh;inset:0}.webchat-launcher{bottom:14px;right:14px}}@keyframes webchat-pulse{50%{opacity:.35}}@keyframes webchat-turn{to{transform:rotate(360deg)}}@keyframes webchat-in{0%{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){.webchat,.webchat-dot,.webchat-spin{animation:none!important}}
