#chatWidget{--cw-brand:#7c3aed;--cw-brand-deep:#4c1d95;--cw-brand-soft:#ede9fe;--cw-brand-tint:#f7f5ff;--cw-cta:#f97316;--cw-cta-hover:#ea580c;--cw-ink:#1e1b3a;--cw-text:#3f3c5c;--cw-muted:#8b87a8;--cw-line:#e6e3f4;--cw-surface:#fff;--cw-surface-alt:#fbfaff;--cw-field:#fff;--cw-field-hover:#c9c3ea;--cw-placeholder:#b3afcc;--cw-disabled-bg:#ece9f7;--cw-user-bubble:linear-gradient(135deg,#8b5cf6,#6d28d9);--cw-ok-bg:#ecfdf5;--cw-ok-text:#065f46;--cw-err-bg:#fef2f2;--cw-err-text:#991b1b;--cw-success:#10b981;--cw-danger:#dc2626;--cw-radius:22px;--cw-field-radius:12px;--cw-ease:cubic-bezier(0.4,0,0.2,1);--cw-spring:cubic-bezier(0.34,1.3,0.64,1);font-family:inherit;-webkit-font-smoothing:antialiased}#chatWidget *,#chatWidget :after,#chatWidget :before{box-sizing:border-box}#chatWidget button{font-family:inherit}#chatWidget :focus-visible{outline:2px solid var(--cw-brand);outline-offset:2px}#chatWidget input:focus-visible,#chatWidget textarea:focus-visible{outline:none}html[data-theme=dark] #chatWidget{--cw-brand-soft:#2a2140;--cw-brand-tint:#1f1930;--cw-ink:#ece9f5;--cw-text:#c9c4dc;--cw-muted:#8e87a2;--cw-line:#beaeff24;--cw-surface:#17131f;--cw-surface-alt:#130f1b;--cw-field:#1d1827;--cw-field-hover:#beaeff4d;--cw-placeholder:#6f6886;--cw-disabled-bg:#221c2e;--cw-ok-bg:#10b9811f;--cw-ok-text:#6ee7b7;--cw-err-bg:#dc262624;--cw-err-text:#fca5a5}body:has(.mobile-cta-bar--visible) .chat-trigger{bottom:calc(80px + env(safe-area-inset-bottom, 0px))}body:has(.mobile-cta-bar--visible) .chat-panel{bottom:calc(160px + env(safe-area-inset-bottom, 0px))}.chat-trigger{align-items:center;background:linear-gradient(145deg,#8b5cf6,#6d28d9);border:none;border-radius:50%;bottom:24px;box-shadow:0 1px 2px #4c1d9533,0 10px 28px #7c3aed59;color:#fff;cursor:pointer;display:flex;height:60px;justify-content:center;position:fixed;right:24px;transition:transform .3s var(--cw-spring),box-shadow .3s ease;width:60px;z-index:9998}.chat-trigger:hover{box-shadow:0 2px 4px #4c1d9533,0 14px 36px #7c3aed6b;transform:translateY(-2px) scale(1.04)}.chat-trigger:active{transform:scale(.96)}.chat-trigger svg{transition:transform .35s var(--cw-spring),opacity .2s ease}.chat-trigger .chat-trigger-close{opacity:0;position:absolute;transform:rotate(-90deg) scale(.5)}.chat-trigger--open .chat-trigger-open{opacity:0;transform:rotate(90deg) scale(.5)}.chat-trigger--open .chat-trigger-close{opacity:1;transform:rotate(0deg) scale(1)}.chat-trigger-badge{align-items:center;background:var(--cw-cta);border:2.5px solid #fff;border-radius:50%;color:#fff;display:flex;font-size:10px;font-weight:700;height:20px;justify-content:center;opacity:0;position:absolute;right:-2px;top:-2px;transform:scale(0);transition:opacity .3s ease,transform .3s var(--cw-spring);width:20px}.chat-trigger-badge--visible{opacity:1;transform:scale(1)}.chat-panel{background:var(--cw-surface);border-radius:var(--cw-radius);bottom:96px;box-shadow:0 0 0 1px #1e1b3a0f,0 8px 16px #1e1b3a0f,0 24px 56px #1e1b3a29;display:flex;flex-direction:column;height:min(600px,calc(100vh - 120px));height:min(600px,calc(100dvh - 120px));opacity:0;overflow:hidden;position:fixed;right:24px;transform:translateY(16px) scale(.96);transform-origin:bottom right;transition:opacity .3s var(--cw-ease),transform .3s var(--cw-spring),visibility 0s .3s;visibility:hidden;width:380px;z-index:9999}.chat-panel--open{opacity:1;transform:translateY(0) scale(1);transition:opacity .3s var(--cw-ease),transform .3s var(--cw-spring),visibility 0s;visibility:visible}.chat-header{align-items:center;background:linear-gradient(120deg,#6d28d9,#5b21b6 60%,#4c1d95);color:#fff;display:flex;flex-shrink:0;gap:12px;overflow:hidden;padding:16px 14px 16px 18px;position:relative}.chat-header:before{background:radial-gradient(circle,#ffffff29 0,#0000 62%);content:"";height:200px;left:-40px;pointer-events:none;position:absolute;top:-70px;width:200px}.chat-header-avatar{align-items:center;background:#fff;border-radius:13px;box-shadow:0 3px 10px #0000002e;display:flex;flex-shrink:0;height:44px;justify-content:center;position:relative;width:44px}.chat-header-avatar img{border-radius:9px;height:34px;width:34px}.chat-header-avatar-status{background:var(--cw-success);border:2.5px solid #5b21b6;border-radius:50%;bottom:-3px;height:13px;position:absolute;right:-3px;width:13px}.chat-panel--open .chat-header-avatar-status{animation:chatOnlinePulse 2.6s ease-in-out infinite}@keyframes chatOnlinePulse{0%,to{box-shadow:0 0 0 0 #10b98173}50%{box-shadow:0 0 0 5px #10b98100}}.chat-header-info{flex:1;min-width:0;position:relative}.chat-header-info h3{color:#fff;font-size:1.0625rem;font-weight:700;letter-spacing:-.01em;line-height:1.2;margin:0}.chat-header-status{align-items:center;color:#ffffffd1;display:flex;font-size:.8125rem;font-weight:500;gap:6px;margin-top:3px}.chat-header-status:before{background:#6ee7b7;border-radius:50%;content:"";flex-shrink:0;height:6px;width:6px}.chat-close{align-items:center;background:#ffffff1f;border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;position:relative;transition:background .2s ease;width:36px}.chat-close:hover{background:#ffffff38}.chat-close:focus-visible{outline-color:#fff}.chat-body{background:var(--cw-surface);display:flex;flex:1;overflow:hidden}.chat-body,.chat-step{flex-direction:column;min-height:0}.chat-step{animation:chatStepIn .35s var(--cw-ease);display:none;flex:1}.chat-step--active{display:flex}@keyframes chatStepIn{0%{opacity:0;transform:translateX(16px)}to{opacity:1;transform:translateX(0)}}.chat-msg-row{align-items:flex-end;align-self:flex-start;display:flex;gap:8px;max-width:88%}.chat-msg-avatar{align-items:center;background:var(--cw-brand-soft);border-radius:8px;display:flex;flex-shrink:0;height:26px;justify-content:center;overflow:hidden;width:26px}.chat-msg-avatar img{border-radius:5px;height:20px;width:20px}.chat-contact-form{display:flex;flex:1;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;padding:18px 20px 8px}.chat-contact-form .chat-msg-row{margin-bottom:6px}.chat-welcome-msg{background:var(--cw-brand-tint);border:1px solid var(--cw-line);border-radius:16px 16px 16px 4px;color:var(--cw-ink);font-size:.875rem;line-height:1.55;padding:11px 14px}.chat-welcome-msg strong{color:var(--cw-brand-deep);font-weight:700}.chat-form-group{display:flex;flex-direction:column;gap:5px}.chat-form-group label{color:var(--cw-text);font-size:.8125rem;font-weight:600;letter-spacing:0}.chat-label-hint{color:var(--cw-muted);font-weight:500;margin-left:4px}.chat-input-icon-wrap{position:relative}.chat-input-icon{color:var(--cw-muted);left:13px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);transition:color .2s ease}.chat-input-icon-wrap:focus-within .chat-input-icon{color:var(--cw-brand)}.chat-input-icon-wrap--error .chat-input-icon{color:var(--cw-danger)}.chat-form-group input{background:var(--cw-field);border:1px solid var(--cw-line);border-radius:var(--cw-field-radius);color:var(--cw-ink);font-family:inherit;font-size:.9375rem;height:46px;outline:none;padding:0 14px 0 40px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.chat-form-group input:hover{border-color:var(--cw-field-hover)}.chat-form-group input:focus{border-color:var(--cw-brand);box-shadow:0 0 0 3px #7c3aed24}.chat-form-group input::placeholder{color:var(--cw-placeholder)}.chat-form-group input.chat-input--error,.chat-form-group input.chat-input--error:focus{border-color:var(--cw-danger);box-shadow:0 0 0 3px #dc26261a}.chat-field-error{color:var(--cw-danger);font-size:.75rem;font-weight:500}.chat-form-submit{background:var(--cw-surface);box-shadow:0 -1px 0 var(--cw-line);flex-shrink:0;padding:12px 20px 14px}.chat-btn{align-items:center;border:none;border-radius:14px;cursor:pointer;display:flex;font-size:.9375rem;font-weight:600;gap:8px;height:48px;justify-content:center;letter-spacing:-.005em;padding:0 20px;transition:transform .2s var(--cw-ease),box-shadow .2s ease,background .2s ease;width:100%}.chat-btn-primary{background:var(--cw-cta);box-shadow:0 6px 18px #f9731652;color:#fff}.chat-btn-primary:hover{background:var(--cw-cta-hover);box-shadow:0 8px 24px #f9731661;transform:translateY(-1px)}.chat-btn-primary:active{box-shadow:0 3px 10px #f9731647;transform:translateY(0)}.chat-btn-primary svg{transition:transform .2s ease}.chat-btn-primary:hover svg{transform:translateX(3px)}.chat-contact-bar{align-items:center;background:var(--cw-brand-tint);border-bottom:1px solid var(--cw-line);color:var(--cw-text);display:flex;flex-shrink:0;font-size:.75rem;gap:8px;min-width:0;padding:9px 14px 9px 20px}.chat-contact-bar-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-contact-bar-text strong{color:var(--cw-ink);font-weight:600}.chat-contact-edit{background:none;border:none;border-radius:8px;color:var(--cw-brand);cursor:pointer;flex-shrink:0;font-size:.75rem;font-weight:600;padding:4px 8px;transition:background .2s ease}.chat-contact-edit:hover{background:var(--cw-brand-soft)}.chat-contact-edit[hidden]{display:none}.chat-messages{display:flex;flex:1;flex-direction:column;gap:10px;min-height:0;overflow-y:auto;padding:18px 20px;scroll-behavior:smooth}.chat-msg{animation:chatMsgIn .3s var(--cw-spring);border-radius:16px;font-size:.875rem;line-height:1.55;max-width:84%;overflow-wrap:anywhere;padding:10px 14px;white-space:pre-wrap}.chat-msg-row .chat-msg{max-width:none;min-width:0}@keyframes chatMsgIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.chat-msg--bot{align-self:flex-start;background:var(--cw-brand-tint);border:1px solid var(--cw-line);border-bottom-left-radius:4px;color:var(--cw-ink)}.chat-msg-group{display:flex;flex-direction:column;max-width:84%}.chat-msg-group--user{align-items:flex-end;align-self:flex-end}.chat-msg-group .chat-msg{max-width:none}.chat-msg-caption{align-items:center;color:var(--cw-muted);display:inline-flex;font-size:.6875rem;font-weight:500;gap:6px;margin-right:6px;margin-top:4px}.chat-msg-caption:before{border:solid var(--cw-success);border-width:0 1.5px 1.5px 0;content:"";height:8px;transform:rotate(45deg) translateY(-1px);width:5px}.chat-msg--user{align-self:flex-end;background:var(--cw-user-bubble);border-bottom-right-radius:4px;box-shadow:0 3px 10px #6d28d938;color:#fff}.chat-msg--error,.chat-msg--system{align-self:center;border-radius:12px;font-size:.8125rem;font-weight:500;max-width:92%;padding:9px 14px;text-align:center}.chat-msg--system{background:var(--cw-ok-bg);border:1px solid #10b98133;color:var(--cw-ok-text)}.chat-msg--error{background:var(--cw-err-bg);border:1px solid #dc262626;color:var(--cw-err-text)}.chat-typing{align-items:center;align-self:flex-start;background:var(--cw-brand-tint);border:1px solid var(--cw-line);border-radius:16px 16px 16px 4px;display:none;gap:5px;margin-left:34px;padding:12px 16px}.chat-typing--visible{display:flex}.chat-typing-dot{animation:chatTypingBounce 1.4s ease-in-out infinite;background:var(--cw-brand);border-radius:50%;height:6px;opacity:.4;width:6px}.chat-typing-dot:nth-child(2){animation-delay:.15s}.chat-typing-dot:nth-child(3){animation-delay:.3s}@keyframes chatTypingBounce{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-5px)}}.chat-input-area{align-items:flex-end;background:var(--cw-surface);box-shadow:0 -1px 0 var(--cw-line);display:flex;flex-shrink:0;gap:8px;padding:12px 14px 12px 20px}.chat-input-wrapper{flex:1;min-width:0;position:relative}.chat-input{background:var(--cw-field);border:1px solid var(--cw-line);border-radius:14px;color:var(--cw-ink);font-family:inherit;font-size:.9375rem;line-height:1.45;max-height:120px;min-height:46px;outline:none;padding:12px 14px;resize:none;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.chat-input:hover{border-color:var(--cw-field-hover)}.chat-input:focus{border-color:var(--cw-brand);box-shadow:0 0 0 3px #7c3aed24}.chat-input::placeholder{color:var(--cw-placeholder)}.chat-input-counter{bottom:4px;color:var(--cw-muted);font-size:.6875rem;pointer-events:none;position:absolute;right:12px}.chat-input-counter--warn{color:var(--cw-cta)}.chat-input-counter--limit{color:var(--cw-danger)}.chat-send-btn{align-items:center;background:var(--cw-cta);border:none;border-radius:14px;box-shadow:0 4px 14px #f973164d;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:46px;justify-content:center;transition:transform .2s var(--cw-ease),box-shadow .2s ease,background .2s ease,opacity .2s ease;width:46px}.chat-send-btn:hover:not(:disabled){background:var(--cw-cta-hover);transform:translateY(-1px)}.chat-send-btn:active:not(:disabled){transform:translateY(0)}.chat-send-btn:disabled{background:var(--cw-disabled-bg);box-shadow:none;color:var(--cw-placeholder);cursor:not-allowed}.chat-footer{align-items:center;background:var(--cw-surface-alt);border-top:1px solid var(--cw-line);display:flex;flex-shrink:0;font-size:.75rem;gap:10px;justify-content:space-between;padding:9px 20px}.chat-footer-trust{align-items:center;color:var(--cw-muted);display:inline-flex;flex:1;font-weight:500;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-footer-trust svg{color:var(--cw-success);flex-shrink:0}.chat-footer a{align-items:center;color:var(--cw-brand);display:inline-flex;flex-shrink:0;font-weight:600;gap:3px;text-decoration:none;transition:color .2s ease;white-space:nowrap}.chat-footer a:hover{color:var(--cw-brand-deep);text-decoration:underline;text-underline-offset:2px}.chat-contact-form::-webkit-scrollbar,.chat-messages::-webkit-scrollbar{width:5px}.chat-contact-form::-webkit-scrollbar-thumb,.chat-messages::-webkit-scrollbar-thumb{background:#ddd6fe;border-radius:10px}@media (max-width:480px){.chat-panel{border-radius:20px;bottom:84px;height:calc(100vh - 100px);height:calc(100dvh - 100px);right:8px;width:calc(100vw - 16px)}.chat-trigger{bottom:16px;height:56px;right:16px;width:56px}.chat-header{padding:14px 12px 14px 16px}.chat-contact-bar,.chat-contact-form,.chat-footer,.chat-form-submit,.chat-messages{padding-left:16px;padding-right:16px}.chat-input-area{padding-left:16px}.chat-form-group input,.chat-input{font-size:16px}}@media (prefers-reduced-motion:reduce){#chatWidget *,#chatWidget :after,#chatWidget :before{animation:none!important;transition:none!important}}