/* Mobile account controls.
 * Keep account/logout immediately below the top controls so the mobile
 * conversation scroller can never push the exit action below the viewport.
 */
@media (max-width: 760px) {
  .sidebar-top {
    order: 0;
  }

  .sidebar-bottom {
    order: 1;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 14px 10px;
    border-top: 1px solid rgba(48, 56, 73, .55);
    border-bottom: 1px solid #202735;
    background: #0c0f16;
  }

  .session-list {
    order: 2;
  }

  .sidebar-bottom .muted {
    min-width: 0;
    max-width: calc(100vw - 110px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar-bottom .ghost {
    flex: none;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #303849;
    background: #151a24;
    color: #f4f5f7;
    font-weight: 700;
  }
}
