/* Edoo contact placement. Desktop placement is preserved; mobile uses one direct toolbar. */
body .sb-main.sb-chat{right:24px;left:auto;bottom:160px}
body .sb-main.sb-chat .sb-chat-btn{position:fixed;right:24px;left:auto;bottom:88px;width:56px;height:56px}
body .sb-main.sb-chat .sb-chat-btn .sb-icon{width:40px;height:40px;object-fit:contain}
.edoo-contact-group{display:none}
@media(max-width:991.98px){
 body.edoo-contact-ready .footer-edu-wrapper.mobile,body.edoo-contact-ready .back-to-top-wrap{display:none}
 body.edoo-contact-ready{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 body.edoo-contact-ready .sb-main.sb-chat .sb-chat-btn{display:none;pointer-events:none}
 body.edoo-contact-ready .sb-main.sb-chat{right:16px;left:auto;bottom:calc(88px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 32px)}
 .edoo-contact-group{display:flex;align-items:center;gap:4px;position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);padding:4px;border:1px solid rgba(246,235,143,.55);border-radius:12px;background:#031637;box-shadow:0 4px 16px rgba(3,22,55,.25);z-index:99999}
 .edoo-toolbar-action{position:relative;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer;text-decoration:none;transition:background .15s,color .15s}
 .edoo-toolbar-action:hover,.edoo-toolbar-action[aria-pressed=true]{background:#233b57;color:#f6eb8f}
 .edoo-toolbar-action:focus-visible{outline:2px solid #b4883c;outline-offset:-2px}
 .edoo-toolbar-action i{font-size:21px;color:inherit}
 .edoo-toolbar-action img{width:23px;height:23px;object-fit:contain}
 .edoo-function-top{border-inline-start:1px solid rgba(185,197,215,.25);border-radius:0 8px 8px 0}
 .edoo-contact-unread{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 3px;border-radius:10px;background:#f6eb8f;color:#031637;font-size:10px;font-weight:700}
 .edoo-contact-unread[hidden]{display:none}
}
/* A page TOC occupies the row above the quick-navigation toolbar. */
@media(max-width:767px){
 body.edoo-contact-ready .retoc-mobile-nav{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 body.edoo-contact-ready .retoc-mobile-nav__panel{max-height:min(62vh,430px,calc(100dvh - 210px))}
 body.edoo-contact-ready:has(.retoc-mobile-nav){padding-bottom:calc(132px + env(safe-area-inset-bottom,0px))}
 body.edoo-chat-open .retoc-mobile-nav{visibility:hidden;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){.edoo-toolbar-action{transition:none}}
