#chatMessages::-webkit-scrollbar { width: 6px; }
#chatMessages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
#chatMessages a { word-break: break-word; }
.bot-face { width: 40px; height: 40px; display: block; overflow: visible; flex-shrink: 0; filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.16)); }
#chatBotToggle .bot-face { filter: none; width: 42px; height: 42px; }
.bot-face--sm { width: 32px; height: 32px; }
.bot-face__head { fill: #fff; }
.bot-face__eye { fill: #171717; transform-box: fill-box; transform-origin: center; }
.bot-face__eyes { transform-box: fill-box; transform-origin: center; }
.bot-face__think { fill: #171717; opacity: 0; }
.bot-face__think circle { transform-box: fill-box; transform-origin: center; }
.bot-face__mouth { fill: none; stroke: #171717; stroke-width: 2.2; stroke-linecap: round; opacity: 0; }
.bot-face__talk { fill: #171717; opacity: 0; transform-box: fill-box; transform-origin: center; }
.bot-face__dot { fill: #22c55e; stroke: #fff; stroke-width: 1.6; }
.bot-face.is-idle[data-live] .bot-face__eye { animation: botBlink 4.8s ease-in-out infinite; }
.bot-face.is-think .bot-face__eyes { animation: botLook 1.15s ease-in-out infinite; }
.bot-face.is-think .bot-face__think { opacity: 1; }
.bot-face.is-think .bot-face__think circle { animation: botDot 0.85s ease-in-out infinite; }
.bot-face.is-think .bot-face__think circle:nth-child(2) { animation-delay: 0.12s; }
.bot-face.is-think .bot-face__think circle:nth-child(3) { animation-delay: 0.24s; }
.bot-face.is-think .bot-face__dot { animation: botPulse 0.9s ease-in-out infinite; }
.bot-face.is-talk .bot-face__talk { opacity: 1; animation: botTalk 0.22s ease-in-out infinite; }
.bot-face.is-talk .bot-face__eye--live,
.bot-face.is-smile .bot-face__eye--live { fill: #16a34a; }
.bot-face.is-smile .bot-face__mouth { opacity: 1; }
@keyframes botBlink {
    0%, 46%, 52%, 100% { transform: scaleY(1); }
    49% { transform: scaleY(0.12); }
}
@keyframes botLook {
    0%, 100% { transform: translate(0, 0); }
    45% { transform: translate(2px, -2.5px); }
    75% { transform: translate(-1px, -1px); }
}
@keyframes botTalk {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}
@keyframes botPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
@keyframes botDot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2.2px); }
}
@media (min-width: 1024px) {
    #chatBotWidget.cms-hide-desktop { display: none; }
}
@media (max-width: 1023px) {
    #chatBotWidget.cms-hide-mobile { display: none; }
}
