.chat-launcher{position:fixed;right:22px;bottom:24px;z-index:19;border-radius:50%;width:56px;height:56px;padding:0;font-size:26px;box-shadow:0 5px 24px #203b3540}.chat-box{position:fixed;right:22px;bottom:90px;width:370px;height:min(570px,calc(100dvh - 115px));background:white;z-index:20;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 50px #203b3533;display:flex;flex-direction:column;overflow:hidden}.chat-box[hidden]{display:none}.chat-head{display:flex;justify-content:space-between;align-items:center;padding:16px;background:var(--primary);color:white;gap:10px}.chat-head strong{font-size:14px}.chat-head small{display:block;font-size:10px;opacity:.85;margin-top:4px}.chat-head button{padding:4px 10px;background:#ffffff20;font-size:22px}.chat-feed{flex:1;overflow:auto;padding:16px;min-height:100px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.chat-bubble{padding:11px 13px;border-radius:12px;background:var(--soft);font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;max-width:95%;align-self:flex-start}.chat-bubble small{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.chat-bubble.customer{align-self:flex-end;background:var(--primary);color:white}.chat-bubble.customer small{color:#ffffffb0}.chat-bubble.operator{border:1px solid var(--primary)}.chat-quick,.chat-help{padding:8px 12px;display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line)}.chat-quick button,.chat-help button,.chat-help a{font-size:10px;padding:7px 10px;border-radius:16px;border:1px solid var(--line);background:white;color:var(--primary)}.chat-help a{display:inline-block}.chat-help[hidden]{display:none}.chat-form{padding:12px;display:flex;align-items:flex-end;gap:8px;border-top:1px solid var(--line)}.chat-form textarea{margin:0;min-height:42px;height:42px;max-height:100px;font-size:12px}.chat-form button{padding:10px 12px;margin:0!important}.chat-error{font-size:11px;color:#a84333;padding:0 12px 8px}.support-layout{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,2fr);gap:18px}.support-queue{display:flex;flex-direction:column;gap:8px;max-height:580px;overflow:auto}.support-queue button{text-align:left;background:white;color:var(--ink);border:1px solid var(--line);padding:13px}.support-queue button.selected{border-color:var(--primary);background:var(--soft)}.support-queue small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.support-conversation{border:1px solid var(--line);border-radius:10px;min-width:0;overflow:hidden}.support-conversation .chat-feed{height:330px}.support-conversation h3{font-size:14px;padding:15px;margin:0;border-bottom:1px solid var(--line)}.support-faq{padding:15px 0;border-top:1px solid var(--line)}.support-faq p{font-size:12px;white-space:pre-wrap}.support-faq button{padding:6px 10px;font-size:10px}.chat-login{padding:25px;text-align:center;font-size:13px}.support-buttons{display:flex;gap:10px;align-items:center;padding:0 14px 12px}.support-buttons button{font-size:11px}.chat-empty{font-size:12px;color:var(--muted)}
@media(max-width:600px){.chat-launcher{right:16px;bottom:80px;width:50px;height:50px;font-size:24px}.chat-box{right:10px;bottom:140px;width:calc(100% - 20px);height:min(540px,calc(100dvh - 155px))}.support-layout{grid-template-columns:1fr}.support-queue{max-height:190px}.chat-feed{padding:12px}.chat-bubble{font-size:12px}}
