.chatbot-root{--chatbot-z:95;--chatbot-offset-x:1.25rem;--chatbot-offset-y:1.25rem;--chatbot-gap:.625rem;--chatbot-brand:#2563eb;--chatbot-brand-hover:#1d4ed8;--chatbot-brand-soft:#dbeafe;--chatbot-user-bg:linear-gradient(135deg,#4f46e5 0%,#2563eb 100%);--chatbot-panel-width:min(calc(100vw - 1.5rem),24rem);--chatbot-panel-height:min(76dvh,34rem)}@media (min-width:640px){.chatbot-root{--chatbot-offset-x:1.5rem;--chatbot-offset-y:1.5rem;--chatbot-panel-width:min(calc(100vw - 2rem),24rem);--chatbot-panel-height:min(calc(100dvh - 2rem),38rem)}}.chatbot-anchor{right:max(var(--chatbot-offset-x),env(safe-area-inset-right,0px));bottom:max(var(--chatbot-offset-y),env(safe-area-inset-bottom,0px));z-index:var(--chatbot-z);align-items:flex-end;gap:var(--chatbot-gap);pointer-events:none;flex-direction:column;display:flex;position:fixed}.chatbot-anchor>*{pointer-events:auto}@media (max-width:639px){.chatbot-anchor.is-panel-open{padding:max(.75rem,env(safe-area-inset-top,0px))max(.75rem,env(safe-area-inset-right,0px))max(.75rem,env(safe-area-inset-bottom,0px))max(.75rem,env(safe-area-inset-left,0px));justify-content:center;align-items:center;gap:0;display:flex;inset:0}.chatbot-anchor.is-panel-open .chatbot-panel{max-height:min(78dvh,36rem)}}.chatbot-launcher{background:var(--chatbot-brand);color:#fff;cursor:pointer;border:1px solid #ffffff59;border-radius:9999px;justify-content:center;align-items:center;width:3.625rem;height:3.625rem;transition:transform .22s,box-shadow .22s,background .22s;display:flex;position:relative;box-shadow:0 10px 22px #2563eb61,0 0 0 1px #2563eb1f}.chatbot-launcher:hover{background:var(--chatbot-brand-hover);transform:translateY(-1px);box-shadow:0 12px 26px #2563eb6b,0 0 0 1px #fff3}.chatbot-launcher:focus-visible{outline-offset:3px;outline:2px solid #93c5fd}.chatbot-launcher.is-open{background:var(--chatbot-brand-hover)}.chatbot-launcher-icon{width:1.6rem;height:1.6rem}.chatbot-launcher-badge{min-width:1.2rem;height:1.2rem;color:var(--chatbot-brand);border:2px solid var(--chatbot-brand);background:#fff;border-radius:9999px;justify-content:center;align-items:center;padding:0 .28rem;font-size:.6875rem;font-weight:700;line-height:1;display:flex;position:absolute;top:-1px;right:-1px;box-shadow:0 2px 8px #0f172a1f}.chatbot-panel{width:var(--chatbot-panel-width);height:var(--chatbot-panel-height);max-height:var(--chatbot-panel-height);transform-origin:100% 100%;background:#f8fafc;border:1px solid #94a3b859;border-radius:1.15rem;flex-direction:column;animation:.22s cubic-bezier(.22,1,.36,1) both chatbot-panel-in-desktop;display:flex;overflow:hidden;box-shadow:0 20px 40px #0f172a2e}@media (max-width:639px){.chatbot-panel{animation:.22s cubic-bezier(.22,1,.36,1) both chatbot-panel-in-mobile}}.chatbot-panel-header{background:linear-gradient(#1e3a8a 0%,#1d4ed8 100%);border-bottom:1px solid #ffffff14;flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .75rem .65rem .85rem;display:flex}.chatbot-panel-header-main{align-items:center;gap:.625rem;min-width:0;display:flex}.chatbot-header-avatar{border-radius:.65rem;flex-shrink:0;width:2.25rem;height:2.25rem;animation:6s ease-in-out infinite chatbot-avatar-breathe;overflow:hidden;box-shadow:0 2px 8px #0f172a26}.chatbot-header-avatar svg{width:100%;height:100%;display:block}.chatbot-avatar-eyes{animation:11s ease-in-out infinite chatbot-avatar-look}.chatbot-avatar-eye-wrap{transform-box:fill-box;transform-origin:50%;animation:9s ease-in-out infinite chatbot-avatar-blink}.chatbot-avatar-eye-wrap--right{animation-delay:80ms}.chatbot-avatar-mouth{transform-box:fill-box;transform-origin:50%;animation:7s ease-in-out infinite chatbot-avatar-mouth}@keyframes chatbot-avatar-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.025)}}@keyframes chatbot-avatar-look{0%,18%,to{transform:translate(0)}22%,38%{transform:translate(.35px)}42%,58%{transform:translate(-.35px)}62%,78%{transform:translate(.2px)}}@keyframes chatbot-avatar-blink{0%,88%,to{transform:scaleY(1)}92%,94%{transform:scaleY(.15)}}@keyframes chatbot-avatar-mouth{0%,70%,to{transform:scaleY(1)}75%{transform:scaleY(.92)}80%{transform:scaleY(1.04)}}.chatbot-panel-title{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em;color:#fff;margin:0;font-size:.9375rem;font-weight:600;overflow:hidden}.chatbot-panel-subtitle{color:#dbeafeeb;margin:0;font-size:.6875rem;font-weight:500}.chatbot-panel-close{color:#ffffffeb;cursor:pointer;background:0 0;border:none;border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;min-width:2.75rem;min-height:2.75rem;margin:-.35rem -.25rem -.35rem 0;padding:0;transition:background .15s,color .15s;display:flex}.chatbot-panel-close-icon{width:1.375rem;height:1.375rem}.chatbot-panel-close:hover{color:#fff;background:#ffffff1f}.chatbot-panel-close:focus-visible{outline-offset:2px;outline:2px solid #93c5fd}.chatbot-panel-body-wrap{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.chatbot-panel-body{background:#f1f5f9;flex-direction:column;flex:1;gap:.5rem;min-height:0;padding:.75rem .85rem;display:flex;overflow-y:auto}.chatbot-scroll-latest{z-index:2;color:#2563eb;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9999px;justify-content:center;align-items:center;width:2rem;height:2rem;transition:background .15s,border-color .15s,transform .15s;display:flex;position:absolute;bottom:.65rem;right:.75rem;box-shadow:0 4px 12px #0f172a1f}.chatbot-scroll-latest:hover{background:#eff6ff;border-color:#bfdbfe}.chatbot-scroll-latest:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.chatbot-panel-footer{background:#fff;border-top:1px solid #e2e8f0;flex-shrink:0;padding:.5rem .65rem .65rem}.chatbot-quick-replies{flex-direction:column;gap:.35rem;margin-bottom:.45rem;display:flex}.chatbot-quick-reply{color:#334155;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;width:100%;padding:.35rem .55rem;font-size:.8125rem;font-weight:500;line-height:1.25;transition:border-color .15s,background .15s,color .15s;overflow:hidden}.chatbot-quick-reply:hover:not(:disabled){color:#1e40af;background:#eff6ff;border-color:#bfdbfe}.chatbot-quick-reply:disabled{opacity:.55;cursor:not-allowed}.chatbot-quick-reply:focus-visible{outline:2px solid var(--chatbot-brand);outline-offset:2px}.chatbot-panel-input{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:.65rem;flex:1;min-height:2.5rem;padding:0 .65rem;font-size:.875rem}.chatbot-panel-textarea{resize:none;field-sizing:content;max-height:5.5rem;padding:.45rem .65rem;line-height:1.35}.chatbot-panel-input:focus-visible{outline:2px solid var(--chatbot-brand);outline-offset:0;border-color:#93c5fd}.chatbot-panel-send{background:var(--chatbot-brand);color:#fff;cursor:pointer;border:none;border-radius:.65rem;justify-content:center;align-items:center;min-width:2.5rem;min-height:2.5rem;transition:background .15s,box-shadow .15s;display:flex;box-shadow:0 2px 8px #2563eb59}.chatbot-panel-send:hover:not(:disabled){background:var(--chatbot-brand-hover);box-shadow:0 3px 10px #2563eb66}.chatbot-panel-send:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.chatbot-panel-send:focus-visible{outline-offset:2px;outline:2px solid #93c5fd}.chatbot-message-row{display:flex}.chatbot-message-row.is-user{justify-content:flex-end}.chatbot-message-row.is-assistant{justify-content:flex-start}.chatbot-message-bubble{white-space:pre-wrap;border-radius:1rem;max-width:88%;padding:.5rem .75rem;font-size:.875rem;line-height:1.45;box-shadow:0 1px 2px #0f172a0f}.chatbot-message-bubble.is-user{background:var(--chatbot-user-bg);color:#fff;border-bottom-right-radius:.35rem}.chatbot-message-bubble.is-assistant{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:.35rem}.chatbot-typing-bubble{background:#fff;border:1px solid #e2e8f0;border-radius:.85rem .85rem .85rem .3rem;align-items:center;gap:.2rem;padding:.45rem .6rem;display:inline-flex}.chatbot-typing-dot{background:#94a3b8;border-radius:9999px;width:.3rem;height:.3rem;animation:1.2s ease-in-out infinite chatbot-typing-bounce}.chatbot-typing-dot:nth-child(2){animation-delay:.15s}.chatbot-typing-dot:nth-child(3){animation-delay:.3s}@keyframes chatbot-panel-in-desktop{0%{opacity:0;transform:translateY(10px)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes chatbot-panel-in-mobile{0%{opacity:0;transform:translate(10vw,8vh)scale(.88)}to{opacity:1;transform:translate(0)scale(1)}}.chatbot-panel.is-closing{animation:.2s ease-in forwards chatbot-panel-out-desktop}@media (max-width:639px){.chatbot-panel.is-closing{animation:.2s ease-in forwards chatbot-panel-out-mobile}}@keyframes chatbot-panel-out-desktop{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.94)}}@keyframes chatbot-panel-out-mobile{0%{opacity:1;transform:translate(0)scale(1)}to{opacity:0;transform:translate(10vw,8vh)scale(.88)}}@keyframes chatbot-typing-bounce{0%,80%,to{opacity:.45;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.chatbot-launcher{transition:none}.chatbot-panel,.chatbot-panel.is-closing,.chatbot-typing-dot,.chatbot-header-avatar,.chatbot-avatar-eyes,.chatbot-avatar-eye-wrap,.chatbot-avatar-mouth{animation:none!important}}
