/* Real-time direct-message roster and small screens */
.dm-person {width:100%;gap:9px;min-height:52px;}
.dm-person .dm-person-info {min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;}
.dm-person-info b,.dm-person-info small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.dm-avatar {position:relative;display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:12px;background:#edeaff;color:#6551b2;font-weight:750;}
.presence-dot {position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#abb1bc;}
.presence-dot.is-online {background:#1eb56d;}
.dm-unread {display:grid;place-items:center;flex:none;min-width:22px;height:22px;padding:0 4px;border-radius:20px;color:#fff;background:#6754cf;font-size:11px;font-weight:800;}
.chat-shell .channel-sidebar {overflow-y:auto;max-height:72vh;}
.chat-shell .chat-main {min-width:0;}
@media (max-width:700px) {
  .chat-shell {display:flex!important; flex-direction:column;min-height:0;}
  .chat-shell .channel-sidebar {width:100%!important;max-width:none;max-height:210px;border-right:0;border-bottom:1px solid #e7e7ed;overflow:auto;}
  .chat-shell .chat-main {width:100%;min-height:400px;}
  .chat-shell .chat-messages {min-height:280px;height:50vh;max-height:50vh;}
  .chat-shell .channel-btn {min-width:0;}
}
