/* PoBing messages module: independent page shell (V61.11.104). */
:root{--message-accent:#0879e6}
body.messages-page{background:#f5f8fc;color:#173653;min-height:100vh;padding:0}
/* Standard site-header markup/styles are shared with the rest of the platform. */
.messages-page .site-header .pb-header-hub-link[href="/messages/"]{color:#0879e6;background:#eaf4ff;font-weight:700}
.messages-main{padding:30px 0 44px}
.messages-main .uc-section{display:block;width:100%}
.messages-main .uc-content{width:100%;min-width:0}
.messages-main .uc-heading{margin-bottom:16px}
.messages-main .uc-heading h1{margin:0 0 7px;font-size:26px;color:#153d62}
.messages-main .uc-heading p{font-size:13px;color:#7e90a5;margin:0}
.messages-main .uc-heading .uc-eyebrow{display:none}
.messages-main .uc-message-panel{border:1px solid #dfebf6;border-radius:14px;box-shadow:0 4px 18px rgba(30,75,122,.035);background:#fff;overflow:hidden}
.messages-main .pb-dm-sidebar{min-width:0}
.messages-main .uc-conversation-panel{min-width:0}
.messages-main .uc-message-list{min-width:0}
@media(max-width:700px){.messages-main{padding:16px 0}.messages-main .container{width:calc(100% - 24px)}.messages-main .uc-heading h1{font-size:23px}}

/* V61.11.122 — Match the two desktop DM header rows after the
   conversation title gained a 28px avatar. Keep the mobile single-pane
   layout unchanged and center the two tab buttons vertically. */
@media (min-width:900px){
  .messages-page #section-messages .pb-dm-view-tabs,
  .messages-page #section-messages .uc-conversation-head{
    box-sizing:border-box;
    min-height:84px;
  }
  .messages-page #section-messages .pb-dm-view-tabs{
    align-items:center;
  }
}
