/* Keep the existing assistant clear of gallery controls and the photo zoom. */
html.with-fancybox #chatbox, html.with-fancybox #chatbox-toggle,
body.modal-open #chatbox, body.modal-open #chatbox-toggle,
body.slbActive #chatbox, body.slbActive #chatbox-toggle { display: none !important; }
@media (max-width: 768px) {
 #chatbox.bottom_right { left: 12px; right: 12px; min-width: 0; width: auto; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
 #chatbox.open { height: min(65vh, 540px); max-height: calc(100dvh - 160px); }
 #chatbox-toggle.bottom_right { right: 12px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); max-width: calc(50vw - 66px); }
 #chatbox-toggle.bottom_right .chatbox-toggle-text { display: none; }
 #chatbox-input-text { font-size: 16px; }
}
