/* Give the conversation more room for media and multiple messages. */
.has-active-chat .chat-page-bar{display:none!important}
.has-active-chat .conversation-page{padding-top:6px!important;padding-bottom:6px!important}
.has-active-chat .thread-panel{height:calc(100dvh - 84px)!important;max-height:calc(100dvh - 84px)!important;min-height:420px!important}
.has-active-chat .thread-header-main{min-height:0!important}
.chat-quick-replies{padding:5px 10px 6px!important;gap:5px!important;min-height:36px!important}
.chat-quick-replies>*{min-height:28px!important;padding:4px 8px!important;font-size:10.5px!important}
.chat-compose-hint{display:none!important}
.message-compose{padding:7px 10px max(8px,env(safe-area-inset-bottom))!important;gap:5px!important}
.chat-character-count{padding:0 10px 4px!important;font-size:9px!important}
.chat-character-count[hidden]{display:none!important}
.chat-attachment img{max-height:min(300px,36dvh)!important}
.chat-attachment--video video{max-height:min(300px,36dvh)!important}
.chat-attachment{padding:5px!important}
@media(max-width:640px){
  .has-active-chat .conversation-page{padding:0!important}
  .has-active-chat .thread-panel{height:calc(100dvh - 58px)!important;max-height:calc(100dvh - 58px)!important;min-height:480px!important;border-radius:0!important}
  .chat-quick-replies{min-height:34px!important;padding:4px 8px 5px!important}
  .chat-quick-replies>*{font-size:10px!important;min-height:27px!important}
  .chat-attachment img{max-height:min(240px,32dvh)!important}
  .chat-attachment--video video{max-height:min(240px,32dvh)!important}
  .chat-character-count{font-size:9.5px!important;padding-right:8px!important}
}