/* STEP2English V94 — persistent, compact bilingual unread support indicator.
   Staff, signed-in students and anonymous guests share the same blue launcher. */
#s2e-app-support .s2e-v94-unread-pill {
 box-sizing:border-box!important;position:absolute!important;right:-6px!important;
 bottom:calc(100% + 8px)!important;z-index:24!important;
 width:107px!important;max-width:107px!important;min-width:107px!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:1px!important;
 padding:6px 7px!important;margin:0!important;
 border:1px solid #e4b956!important;border-radius:12px!important;
 background:#ffdf85!important;color:#123f7e!important;
 box-shadow:0 5px 18px rgba(92,59,11,.26)!important;
 text-align:center!important;direction:rtl!important;
 cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;white-space:nowrap!important;
 font-family:system-ui,Tahoma,Arial,sans-serif!important;
 /* Three gentle, distinct pulses per cycle while unread; the Arabic and English text pulse together. */
 animation:s2e-v96-badge-pulse 4s ease-in-out infinite!important;
 transform-origin:50% 100%!important;
 will-change:transform,box-shadow;
}
#s2e-app-support .s2e-v94-unread-pill[hidden] {display:none!important;}
#s2e-app-support .s2e-v94-unread-pill strong {
 display:block!important;font:800 12px/1.3 system-ui,Tahoma,Arial,sans-serif!important;
 color:#123f7e!important;white-space:nowrap!important;
}
#s2e-app-support .s2e-v94-unread-pill small {
 display:block!important;font:700 10px/1.25 system-ui,Tahoma,Arial,sans-serif!important;
 color:#315c91!important;direction:ltr!important;white-space:nowrap!important;
}
#s2e-app-support .s2e-v94-unread-pill::after {
 content:""!important;position:absolute!important;left:calc(50% - 7px)!important;right:auto!important;
 top:auto!important;bottom:-8px!important;
 border-left:7px solid transparent!important;border-right:7px solid transparent!important;
 border-top:8px solid #e4b956!important;border-bottom:0!important;
}
#s2e-app-support .s2e-v94-unread-pill:focus-visible{
 outline:3px solid #2c76c5!important;outline-offset:2px!important;
}
/* Keep the launcher available when unread: do not let the short scroll fade hide a message. */
body.s2e-v94-has-unread.s2e-v23-page-scrolling #s2e-app-support {
 opacity:1!important;transform:translate3d(0,0,0)!important;pointer-events:auto!important;
}
body.s2e-v94-has-unread #s2e-app-support .s2e-support-main::after{
 display:none!important;content:none!important;
}
body.s2e-chat-open-v19 #s2e-app-support {display:none!important;}
@keyframes s2e-v96-badge-pulse {
 0%,19%,32%,45%,58%,100%{transform:scale(1);box-shadow:0 5px 18px rgba(92,59,11,.26)}
 7%,26%,39%{transform:scale(1.085);box-shadow:0 5px 20px rgba(174,114,19,.52),0 0 0 4px rgba(255,207,96,.25)}
}
body.s2e-v94-has-unread #s2e-app-support .s2e-support-main::before{
 animation:s2e-v96-icon-pulse 4s ease-in-out infinite!important;
 transform-origin:center!important;
}
@keyframes s2e-v96-icon-pulse {
 0%,19%,32%,45%,58%,100%{transform:scale(1);box-shadow:0 4px 12px rgba(11,77,162,.24)}
 7%,26%,39%{transform:scale(1.045);box-shadow:0 4px 12px rgba(11,77,162,.35),0 0 0 5px rgba(16,90,184,.14)}
}
@media(prefers-reduced-motion:reduce){
 #s2e-app-support .s2e-v94-unread-pill,
 body.s2e-v94-has-unread #s2e-app-support .s2e-support-main::before{animation:none!important;}
}
@media(max-width:360px){
 #s2e-app-support .s2e-v94-unread-pill{right:-1px!important;width:98px!important;min-width:98px!important;max-width:98px!important;}
}
