:root{--hvs-primary-color: #0b2545;--hvs-accent-color: #0b2545;--hvs-avatar-size: 36px;--hvs-bg: #ffffff;--hvs-text: #1a1a1a;--hvs-bubble-agent-bg: #f1f3f5;--hvs-bubble-visitor-text: #ffffff;--hvs-message-font-size: 14px;--hvs-message-font-weight: 400;--hvs-disclaimer-font-size: 12px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--hvs-bg);color:var(--hvs-text)}.chat-shell{--hvs-bubble-visitor-bg: var(--hvs-visitor-bubble-color, var(--hvs-accent-color));position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden}.chat-header{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--hvs-primary-color);color:#fff;flex-shrink:0}.chat-avatar{position:relative;width:var(--hvs-avatar-size);height:var(--hvs-avatar-size);flex-shrink:0}.chat-avatar-photo{width:100%;height:100%;border-radius:50%;background:#fff;overflow:hidden}.chat-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.chat-avatar-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--hvs-avatar-bg-color, var(--hvs-primary-color));color:#fff;font-weight:600}.chat-avatar-fallback svg{width:50%;height:50%}.chat-online-dot{position:absolute;bottom:0;right:0;width:calc(var(--hvs-avatar-size) * .28);height:calc(var(--hvs-avatar-size) * .28);border-radius:50%;background:#2ecc71;border:2px solid var(--hvs-primary-color)}.chat-header-text,.chat-header-business-name{font-size:14px;font-weight:600;line-height:1.3}.chat-header-agent-line{font-size:12px;font-weight:400;line-height:1.3;opacity:.85}.chat-close-button{margin-left:auto;flex-shrink:0;width:28px;height:28px;padding:0;border:none;border-radius:50%;background:transparent;color:#fff;opacity:.75;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s ease,background .15s ease}.chat-close-button:hover,.chat-close-button:focus-visible{opacity:1;background:#ffffff26}.chat-close-button svg{width:16px;height:16px}.chat-close-button-floating{position:absolute;top:10px;right:10px;z-index:2;width:30px;height:30px;color:#374151;opacity:1;background:#ffffffeb;box-shadow:0 1px 3px #0000001f}.chat-close-button-floating:hover,.chat-close-button-floating:focus-visible{background:var(--hvs-bubble-agent-bg)}.chat-close-button-floating svg{width:14px;height:14px}.chat-drag-handle{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.chat-drag-handle:active{cursor:grabbing}.chat-messages .chat-drag-handle{touch-action:auto}.chat-status-bar{display:flex;justify-content:center;padding:10px 48px 4px;flex-shrink:0}.chat-status-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:999px;background:var(--hvs-bubble-agent-bg);color:#374151;font-size:12px;font-weight:600;line-height:1.3}.chat-status-dot{width:8px;height:8px;border-radius:50%;background:#22a35a;flex-shrink:0}.chat-intro{--hvs-avatar-size: 56px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 40px 12px;margin-bottom:4px;border-bottom:1px solid #eef0f3;text-align:center}.chat-intro .chat-online-dot{border-color:#fff}.chat-intro-title{font-size:15px;font-weight:700;color:var(--hvs-primary-color)}.chat-intro-subtitle{font-size:12px;color:#4b5563}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.chat-bubble{max-width:80%;padding:8px 12px;border-radius:14px;font-size:var(--hvs-message-font-size);font-weight:var(--hvs-message-font-weight);line-height:1.4;white-space:pre-wrap;word-break:break-word}.chat-bubble-agent{align-self:flex-start;background:var(--hvs-bubble-agent-bg);color:var(--hvs-text);border-bottom-left-radius:4px}.chat-bubble-visitor{align-self:flex-end;background:var(--hvs-bubble-visitor-bg);color:var(--hvs-bubble-visitor-text);border-bottom-right-radius:4px}.chat-typing{align-self:flex-start;display:flex;gap:4px;padding:10px 12px;background:var(--hvs-bubble-agent-bg);border-radius:14px 14px 14px 4px}.chat-typing span{width:6px;height:6px;border-radius:50%;background:#9aa0a6;animation:hvs-typing-bounce 1.2s infinite ease-in-out}.chat-typing span:nth-child(2){animation-delay:.15s}.chat-typing span:nth-child(3){animation-delay:.3s}@keyframes hvs-typing-bounce{0%,60%,to{transform:translateY(0);opacity:.6}30%{transform:translateY(-4px);opacity:1}}.chat-input-bar{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid #e5e7eb;flex-shrink:0}.chat-input{flex:1;border:1px solid #d0d5dd;border-radius:20px;padding:8px 14px;font-size:14px;outline:none}.chat-input:focus{border-color:var(--hvs-accent-color)}.chat-send-button{width:36px;height:36px;border-radius:50%;border:none;background:var(--hvs-accent-color);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.chat-send-button:disabled{opacity:.5;cursor:default}.chat-gate{align-self:stretch;display:flex;flex-direction:column;gap:10px;padding:14px;background:var(--hvs-bubble-agent-bg);border-radius:14px 14px 14px 4px}.chat-gate-title{font-size:14px;font-weight:600;color:var(--hvs-text)}.chat-gate-input{width:100%;border:1px solid #d0d5dd;border-radius:8px;padding:8px 12px;font-size:14px;outline:none;font-family:inherit}.chat-gate-input:focus{border-color:var(--hvs-accent-color)}.chat-gate-disclaimers{display:flex;flex-direction:column;gap:6px}.chat-gate-disclaimer{display:flex;align-items:flex-start;gap:8px;font-size:var(--hvs-disclaimer-font-size);line-height:1.4;color:#667085}.chat-gate-disclaimer-checkable{cursor:pointer}.chat-gate-disclaimer input[type=checkbox]{margin-top:2px;flex-shrink:0;cursor:pointer}.chat-gate-disclaimer a{color:var(--hvs-accent-color)}.chat-gate-validation-error{font-size:12px;line-height:1.4;color:#b42318}.chat-gate-button{border:none;border-radius:20px;padding:10px 16px;background:var(--hvs-accent-color);color:#fff;font-size:14px;font-weight:600;cursor:pointer}.chat-gate-button:disabled{opacity:.5;cursor:default}.chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 10px;flex-shrink:0}.chat-suggestion-button{border:1px solid var(--hvs-accent-color);background:#fff;color:var(--hvs-accent-color);border-radius:16px;padding:6px 12px;font-size:13px;line-height:1.3;cursor:pointer;white-space:nowrap}.chat-suggestion-button:hover{background:var(--hvs-bubble-agent-bg)}.chat-suggestion-button:disabled{opacity:.5;cursor:default}.chat-powered-by{flex-shrink:0;text-align:center;padding:3px 0 8px}.chat-powered-by a{display:inline-flex;align-items:center;gap:4px;color:#9aa0a6;text-decoration:none;font-size:11px}.chat-powered-by img{height:13px;filter:grayscale(100%);opacity:.7}.chat-powered-by-color img{filter:none;opacity:1}
