.chat-hours{color:var(--text-2);background:var(--bg-alt);border-bottom:1px solid var(--line);text-align:center;margin:0;padding:7px 16px;font-size:12.5px;line-height:1.35}.chat-suggest{flex-wrap:wrap;gap:8px;padding:4px 14px 10px;display:flex}.chat-suggest[hidden]{display:none}.chat-suggest button{font:inherit;cursor:pointer;border:1px solid color-mix(in srgb, var(--action) 45%, transparent);background:color-mix(in srgb, var(--action) 8%, transparent);min-height:36px;color:var(--action);border-radius:980px;padding:7px 14px;font-size:14px}.chat-suggest button:active{transform:scale(.97)}.chat-notify{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;border-radius:980px;padding:7px 14px;font-size:13px}.chat{z-index:200;font-family:var(--font);position:fixed;bottom:20px;right:20px}.chat-launcher{cursor:pointer;background:var(--action);color:#fff;border:0;border-radius:50%;place-items:center;width:60px;height:60px;transition:transform .2s,background .2s;display:grid;position:relative;box-shadow:0 10px 30px #00000040}.chat-launcher:hover{transform:scale(1.05)}.chat-launcher .i-close,.chat.open .chat-launcher .i-open{display:none}.chat.open .chat-launcher .i-close{display:block}.chat-badge{background:#ff3b30;border:2px solid #fff;border-radius:50%;width:14px;height:14px;position:absolute;top:2px;right:2px}.chat-panel{background:var(--surface);transform-origin:100% 100%;border-radius:22px;flex-direction:column;width:380px;height:min(620px,100vh - 120px);animation:.22s cubic-bezier(.2,.8,.2,1) chat-in;display:flex;position:absolute;bottom:76px;right:0;overflow:hidden;box-shadow:0 24px 70px #00000038,0 0 0 1px #0000000d}.chat-panel[hidden]{display:none}@keyframes chat-in{0%{opacity:0;transform:translateY(12px)scale(.97)}}.chat-head{border-bottom:1px solid var(--line-soft);align-items:center;gap:12px;padding:16px 16px 14px 18px;display:flex}.chat-head img{border-radius:10px;width:36px;height:36px}.chat-title{font-size:16px;font-weight:600}.chat-sub{color:var(--text-2);align-items:center;gap:6px;font-size:13px;display:flex}.chat-dot{background:#0a84ff;border-radius:50%;width:7px;height:7px}.chat-dot.human{background:#30d158}.chat-dot.wait{background:#ff9f0a}.chat-x{background:var(--bg-alt);cursor:pointer;width:32px;height:32px;color:var(--text-2);border:0;border-radius:50%;place-items:center;margin-left:auto;display:grid}.chat-log{background:var(--surface);flex-direction:column;flex:1;gap:8px;padding:18px 16px 8px;display:flex;overflow-y:auto}.msg{white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:-.01em;border-radius:18px;max-width:82%;padding:9px 13px;font-size:15px;line-height:1.4}.msg a{color:inherit;text-decoration:underline}.msg-visitor{background:var(--action);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.msg-ai,.msg-agent{background:var(--bg-alt);color:var(--text);border-bottom-left-radius:6px;align-self:flex-start}.msg-author{color:var(--text-2);align-self:flex-start;margin:6px 0 -4px 6px;font-size:11px}.msg-system{text-align:center;color:var(--text-2);align-self:center;max-width:90%;padding:4px 8px;font-size:12.5px}.typing{background:var(--bg-alt);border-radius:18px;align-self:flex-start;gap:4px;padding:12px 14px;display:flex}.typing span{background:var(--text-3);border-radius:50%;width:7px;height:7px;animation:1.2s infinite blink}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,60%,to{opacity:.3}30%{opacity:1}}.chat-contact{background:var(--bg-alt);border-radius:14px;gap:8px;margin:4px 16px 8px;padding:14px;display:grid}.chat-contact[hidden]{display:none}.chat-contact p{color:var(--text-2);font-size:14px}.chat-contact input{font:inherit;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:10px 12px;font-size:15px}.chat-btn{font:inherit;background:var(--action);color:#fff;cursor:pointer;border:0;border-radius:10px;padding:10px;font-size:15px}.chat-actions{flex-wrap:wrap;justify-content:center;gap:8px;padding:0 16px 6px;display:flex}.chat-human{font:inherit;color:var(--link);border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:980px;padding:6px 14px;font-size:13px}.chat-human:hover{border-color:var(--link)}.chat-human[hidden]{display:none}.chat-form{border-top:1px solid var(--line-soft);align-items:flex-end;gap:8px;padding:8px 12px 6px 16px;display:flex}.chat-form textarea{resize:none;font:inherit;max-height:120px;color:var(--text);background:0 0;border:0;outline:0;flex:1;padding:10px 0;font-size:15px;line-height:1.4}.chat-photo[hidden]{display:none}.chat-photo{width:36px;height:36px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin-bottom:4px;display:grid}.chat-photo:disabled{opacity:.4}.msg-img{max-width:70%;padding:3px;background:0 0!important}.msg-img img{border-radius:15px;width:auto;max-height:260px;display:block;box-shadow:0 1px 4px #0000001a}.msg-visitor.msg-img{background:0 0}.chat-send{background:var(--action);color:#fff;cursor:pointer;border:0;border-radius:50%;place-items:center;width:36px;height:36px;margin-bottom:4px;display:grid}.chat-send:disabled{background:var(--line);cursor:default}.chat-foot{color:var(--text-3);text-align:center;padding:0 16px 10px;font-size:11px}.chat-foot a{color:var(--text-3);text-decoration:underline}@media (width<=480px){.chat{bottom:14px;right:14px}.chat.open .chat-launcher{display:none}.chat-panel{border-radius:0;width:auto;height:100%;position:fixed;inset:0}}
