/* PortoFranco 31-1: mobile chat viewport/composer fix. Only chat page. */
@media(max-width:760px){
 body.chat-page{height:var(--chat-vh,100dvh)!important;max-height:var(--chat-vh,100dvh);min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column}
 body.chat-page.conversation-open .chat-shell{display:block!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:hidden!important;margin:0!important}
 body.chat-page.conversation-open .chat-detail{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important}
 body.chat-page.conversation-open .chat-scroll{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
 body.chat-page.conversation-open .chat-top,body.chat-page.conversation-open .pf36-tools,body.chat-page.conversation-open .chat-policy,body.chat-page.conversation-open .chat-composer,body.chat-page.conversation-open .chat-feedback{flex-shrink:0!important}
 body.chat-page.conversation-open .chat-composer:not([hidden]){display:flex!important;position:relative!important;bottom:auto!important;z-index:2;background:#fff;border-top:1px solid #e2e8f0;padding:8px 8px max(8px,env(safe-area-inset-bottom,0px))!important}
 body.chat-page.conversation-open .chat-composer textarea{min-width:0!important;flex:1 1 auto!important;font-size:16px!important;max-height:100px;resize:none}
 body.chat-page.conversation-open .chat-feedback{min-height:0!important;padding-bottom:0!important}
 body.chat-page.conversation-open .chat-policy{max-height:36px;overflow:auto}
}
