/* QU chat enhancements v1 */
.chat-window-wrapper{--chat--color-primary:#1f7a72;--chat--color-primary-shade-50:#1a6a63;--chat--color-primary-shade-100:#155a54}
.chat-message{unicode-bidi:plaintext}
.qu-ayah{font-family:'Amiri Quran','Amiri',serif;font-size:1.35em;line-height:2.1;color:#0f4f48;background:#eef7f5;border-radius:8px;padding:0 6px}
.qu-actions{display:flex;gap:4px;margin-top:6px}
.qu-actions button{width:32px;height:32px;border:1px solid #d5e4e2;border-radius:8px;background:#fff;color:#3d5654;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.qu-actions button:hover{background:#f1f6f5}
.qu-actions button.qu-on{background:#e8f5f3;border-color:#1f7a72;color:#1f7a72}
.qu-actions svg{width:16px;height:16px}
.qu-toast{font-size:12px;color:#1f7a72;align-self:center;margin-inline-start:6px}
.qu-chat-footer{padding:7px 10px;font-size:12px;line-height:1.5;color:#4b6360;text-align:center;background:#f1f6f5;border-top:1px solid #e1ecea}
.qu-chat-footer a{color:#136159}
.qu-hide{display:none!important}
@media (max-width:600px){
  body.qu-chat-open .chat-window-wrapper .chat-window{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important;margin:0!important;z-index:2147483000!important}
  body.qu-chat-open .chat-window-wrapper .chat-window-toggle{position:fixed!important;top:8px!important;left:8px!important;right:auto!important;bottom:auto!important;width:44px!important;height:44px!important;z-index:2147483001!important}
  body.qu-chat-open{overflow:hidden}
}
