.helpChatbotFloating{position:fixed;right:3px;bottom:54px;z-index:70;display:flex;flex-direction:column;align-items:flex-end}
.helpChatbotToggleButton{background:#fff;border:1px solid #d9e6f3;width:50px;height:50px;padding:0;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,0.25)}
.helpChatbotToggleIcon{font-size:25px!important;color:#333}
.helpChatbotPanel{display:none;flex-direction:column;width:360px;max-width:calc(100vw - 24px);height:500px;max-height:70vh;margin-bottom:10px;background:#fff;border:1px solid #d9e6f3;border-radius:14px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,0.25)}
.helpChatbotHeader{padding:12px 14px;background:var(--panelFilterTitleBackgroundColor);font-size:14px;color:var(--normal-text-color);font-weight:700}
.helpChatbotHeaderSmall{display:block;font-size:12px;margin-top:3px;font-weight:500}
.helpChatbotMessages{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:safe flex-end;padding:12px;overflow-y:auto;background:#fff}
.helpChatbotMessage{position:relative;max-width:92%;padding:10px 12px;border-radius:12px;margin-bottom:10px;white-space:pre-wrap;overflow-wrap:break-word;text-align:left;font-size:14px}
.helpChatbotMessage.bot{background:var(--panelFilterBackgroundColor);color:inherit;margin-right:auto}
.helpChatbotMessage.bot::after{content:"";position:absolute;left:-6px;bottom:8px;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:8px solid var(--panelFilterBackgroundColor)}
.helpChatbotMessage.bot a{color:#175f96;text-decoration:underline}
.helpChatbotMessage.user{background:var(--main-color);color:#fff;margin-left:auto}
.helpChatbotMessage.user::after{content:"";position:absolute;right:-6px;bottom:8px;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:8px solid var(--main-color)}
.helpChatbotTypingIndicator{display:flex;align-items:center;gap:8px}
.helpChatbotTypingText{font-size:13px;color:#3f6384}
.helpChatbotTypingDots{display:inline-flex;align-items:center;gap:4px}
.helpChatbotTypingDots span{width:6px;height:6px;border-radius:50%;background:#3f6384;opacity:.25;animation:helpChatbotTypingPulse 1.2s infinite}
.helpChatbotTypingDots span:nth-child(2){animation-delay:.2s}
.helpChatbotTypingDots span:nth-child(3){animation-delay:.4s}
@keyframes helpChatbotTypingPulse{0%,80%,100%{opacity:.25;transform:translateY(0)}
40%{opacity:1;transform:translateY(-2px)}
}
.helpChatbotComposer{padding:10px;background:#fff}
.helpChatbotInput{width:100%!important;box-sizing:border-box!important;padding:10px 48px 10px 14px!important;font-size:14px;border:1px solid #cfe0f1;border-radius:10px!important;max-height:150px!important;overflow-y:auto!important}
.helpChatbotInput::-webkit-scrollbar-track{margin:6px 0}
.helpChatbotSendBtn{position:absolute!important;bottom:9px!important;right:14px;width:24px!important;min-width:24px!important;height:24px!important;background-image:url("/javax.faces.resource/sendMessage.svg.xhtml?ln=images&v=1_8")!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;opacity:0;transform:scale(.6);visibility:hidden;transition:opacity .2s ease-out,transform .2s ease-out,visibility 0s linear .2s}
.helpChatbotSendBtn.helpChatbotSendBtnVisible{opacity:1;transform:scale(1);visibility:visible;transition:opacity .2s ease-out,transform .2s ease-out,visibility 0s linear 0s}
.helpChatbotInputCounter{font-size:12px;color:#4f6f8f;margin-top:6px;text-align:right}
.helpChatbotInputCounter.warning{color:#c07000}
.helpChatbotActionLine{display:flex;align-items:center;justify-content:flex-end;margin-top:2px;gap:10px}
.helpChatbotRemainingBadge{color:#4f6f8f;font-size:12px}
.helpChatbotPageContainer{display:flex;flex-direction:column;width:100%;max-width:900px;height:calc(100vh - 59px - 20px);height:calc(100dvh - 59px - 20px);margin:10px auto;background:var(--bg-color);border:1px solid #d9e6f3;border-radius:14px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,0.25);box-sizing:border-box}
.helpChatbotPageContainer .helpChatbotMessages{flex:1;background:var(--bg-color)}
.helpChatbotPageContainer .helpChatbotComposer{background:var(--bg-color)}
@media(max-width:600px){.helpChatbotFloating{right:3px;left:3px;bottom:78px}
body:has(.messageThreadContainer) .helpChatbotFloating{display:none}
.helpChatbotPanel{position:fixed;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;margin-bottom:0;border:0;border-radius:0}
.helpChatbotPageContainer{max-width:100%;margin:0;border:0;border-radius:0;box-shadow:none}
}