/* Community Hub v9.7.5 – full-height Messenger, scoped to the messaging page. */
body.hcm972-messenger-page{overflow:hidden}
body.hcm972-messenger-page .layout{height:100dvh;min-height:0;overflow:hidden}
body.hcm972-messenger-page .mainwrap{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body.hcm972-messenger-page .mainwrap > .topbar{flex:0 0 auto}
body.hcm972-messenger-page .mainwrap > footer{display:none!important}
body.hcm972-messenger-page main.content{
  flex:1 1 auto!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  width:100%;display:flex!important;flex-direction:column;
  padding-top:12px;padding-bottom:12px;overflow:hidden!important;
}
body.hcm972-messenger-page .messagelayout{
  flex:1 1 auto!important;height:auto!important;min-height:0!important;
  overflow:hidden;display:grid;gap:12px;
}
body.hcm972-messenger-page .conversation{
  height:100%!important;min-height:0!important;display:flex;flex-direction:column;
  overflow:hidden;
}
body.hcm972-messenger-page .conversation>.hcm974-back-chat,
body.hcm972-messenger-page .conversation>h3,
body.hcm972-messenger-page .conversation>.hub9-typing{flex-shrink:0}
body.hcm972-messenger-page .conversation>.messagescroll{
  flex:1 1 auto!important;min-height:0!important;height:auto!important;
  overflow-y:auto!important;overscroll-behavior:contain;
  padding:16px 8px!important;scrollbar-gutter:auto;
  display:flex!important;flex-direction:column!important;
}
body.hcm972-messenger-page .conversation>.messageform{
  flex:0 0 auto!important;position:relative;z-index:1;
  padding:11px 4px 2px!important;margin:0!important;
}
body.hcm972-messenger-page .bubblemsg{max-width:min(82%,490px);width:fit-content;margin:0 0 5px;
  border-radius:15px;padding:11px 13px;line-height:1.5}
body.hcm972-messenger-page .bubblemsg small{font-size:10px;opacity:.8}
@media (max-width:950px){
 body.hcm972-messenger-page main.content{padding:8px 12px 83px!important}
 body.hcm972-messenger-page .messagelayout{grid-template-columns:minmax(0,1fr);gap:0!important}
 body.hcm972-messenger-page .conversation{border-radius:12px;padding:12px!important}
 body.hcm972-messenger-page.hcm974-chat-inbox .threadlist{height:100%!important;max-height:none!important;overflow-y:auto!important}
 body.hcm972-messenger-page.hcm974-chat-active .conversation{display:flex!important}
}
@media(max-width:650px){
 body.hcm972-messenger-page main.content{padding:0 0 78px!important}
 body.hcm972-messenger-page .conversation{padding:12px 13px 9px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 body.hcm972-messenger-page .threadlist{border:0!important;border-radius:0!important}
 body.hcm972-messenger-page .conversation>.hcm974-back-chat{margin-bottom:6px;padding:5px 2px}
 body.hcm972-messenger-page .conversation>h3{display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line,#355445);margin-bottom:4px;padding-bottom:10px}
 body.hcm972-messenger-page .conversation>.messageform input[name="body"]{min-width:0;font-size:16px;min-height:46px;border-radius:22px}
 body.hcm972-messenger-page .conversation>.messageform button{min-height:46px;border-radius:16px}
}
