/* JH-MOBILE-CHAT-PERMISSIONS-R13 */
#jh-app-permissions{position:fixed;inset:0;margin:auto;width:min(420px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;border:1px solid #dce5f1;border-radius:20px;background:#fff;color:#152d57;padding:20px;font:14px/1.5 system-ui,sans-serif}
#jh-app-permissions::backdrop{background:#12243f80}
#jh-app-permissions h2{margin:0 0 8px;font-size:21px;line-height:1.25}
#jh-app-permissions p{margin:5px 0 10px;color:#64748b;font-size:13px}
#jh-app-permissions section{margin:12px 0;padding:14px;background:#f5f8fc;border-radius:13px}
#jh-app-permissions strong{font-size:15px}
#jh-app-permissions button{min-height:44px;width:100%;border:1px solid #cad9ef;border-radius:10px;color:#245bd7;background:white;padding:10px;font-weight:650;cursor:pointer}
#jh-app-permissions button:disabled{opacity:.65;cursor:default}
#jh-app-permissions .jh-permissions-done{background:#245bd7;color:white;border:0}
.jh-chat-mobile-bar{display:none}
@media(max-width:991px){
 html body .jh-chat-page{min-width:0!important;max-width:100%!important;width:100%!important;padding:8px!important;margin:0!important}
 .jh-chat-page .row,.jh-chat-page .profile-area,.jh-chat-page .chat-wrapper{min-width:0!important;max-width:100%!important;margin:0!important}
 .jh-chat-page .row>[class*="col-"]{padding:0!important;min-width:0!important}
 html body .jh-chat-page .chat-wrapper-flex{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;height:var(--jh-chat-height,65dvh)!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background:#fff;border-radius:14px}
 .jh-chat-page .jh-chat-mobile-bar{display:flex;align-items:center;gap:10px;padding:8px 12px;min-height:46px;flex:0 0 auto;border-bottom:1px solid #e5eaf2;color:#152d57}
 .jh-chat-page .jh-chat-back{border:0;background:#edf3ff;border-radius:9px;color:#245bd7;padding:8px 11px;font-weight:650;min-height:36px}
 .jh-chat-page .jh-chat-back[hidden]{display:none!important}
 .jh-chat-page .chat-sidebar,.jh-chat-page .close-chat{display:none!important}
 html body .jh-chat-page .chat-wrapper-contact{display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:auto!important;padding:0!important;border:0!important}
 html body .jh-chat-page .chat-wrapper-contact-close{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;transform:none!important;width:100%!important;height:100%!important;max-width:100%!important;overflow:auto!important}
 .jh-chat-page .chat-wrapper-contact-list{height:auto!important;min-height:100%;max-width:100%!important;padding:8px!important;margin:0!important;overflow:visible!important}
 .jh-chat-page .chat-wrapper-contact-list-item{min-width:0!important;padding:11px 8px!important}
 .jh-chat-page .chat-wrapper-contact-list-flex{flex-wrap:nowrap!important;align-items:center!important}
 .jh-chat-page .chat-wrapper-contact-list-contents{min-width:0;flex:1}
 .jh-chat-page .chat-wrapper-contact-list-contents-title{font-size:15px!important;line-height:1.35!important;overflow-wrap:anywhere}
 .jh-chat-page .chat-wrapper-contact-list-contents-para{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere}
 .jh-chat-page .chat-wrapper-contact-list-time{font-size:11px!important}
 html body .jh-chat-page .chat-wrapper-details{display:none!important}
 html body .jh-chat-page .jh-chat-thread-open .chat-wrapper-contact{display:none!important}
 html body .jh-chat-page .jh-chat-thread-open .chat-wrapper-details{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-height:0!important;flex:1 1 0!important;overflow:hidden!important}
 .jh-chat-page #chat_header{flex:0 0 auto;padding:8px 10px!important}
 .jh-chat-page #livechat-message-header{padding:0!important}
 .jh-chat-page .chat-wrapper-details-header-title{font-size:15px!important;overflow-wrap:anywhere}
 html body .jh-chat-page #chat_body{flex:1 1 0!important;min-height:0!important;height:auto!important;max-width:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px!important;overscroll-behavior:contain}
 .jh-chat-page .chat-wrapper-details-inner-chat-flex{min-width:0!important;max-width:100%!important;flex-wrap:nowrap!important;gap:6px!important}
 .jh-chat-page .chat-wrapper-details-inner-chat-thumb{flex:0 0 26px!important;width:26px!important;height:26px!important}
 .jh-chat-page .chat-wrapper-details-inner-chat-contents{min-width:0!important;max-width:calc(100% - 32px)!important}
 .jh-chat-page .chat-wrapper-details-inner-chat-contents-para{max-width:100%!important;margin:0!important;padding:0!important}
 .jh-chat-page .chat-wrapper-details-inner-chat-contents-para-span{max-width:100%!important;word-break:normal!important;overflow-wrap:anywhere!important;white-space:pre-wrap!important;font-size:14px!important;line-height:1.5!important}
 .jh-chat-page .chat-wrapper-details-inner-chat-contents-time{font-size:10px!important;line-height:1.4!important;padding:3px 0!important}
 .jh-chat-page #chat_body img,.jh-chat-page #chat_body video,.jh-chat-page #chat_body .card{max-width:100%!important;height:auto}
 .jh-chat-page .chat-wrapper-details-footer{flex:0 0 auto!important;padding:8px!important;background:white}
 .jh-chat-page .chat-wrapper-details-footer textarea{height:48px!important;min-height:44px!important;max-height:84px!important;resize:none!important;font-size:16px!important}
 .jh-chat-page .chat-wrapper-details-footer-btn{gap:8px!important;align-items:center!important;min-height:44px}
 .jh-chat-page .chat-wrapper-details-footer-btn .btn{min-height:44px!important;min-width:44px!important}
}
