.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar .toolbar,
.topbar .top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar .user-card,
.topbar .user-bar {
  min-width: 252px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #d7e2f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 28px rgba(22, 42, 78, .08);
  color: #10233f;
  text-align: left;
}

.topbar .avatar,
.topbar .user-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f66ff, #13b981);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.topbar .avatar img,
.topbar .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar .user-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.topbar .user-meta strong,
.topbar .user-card strong,
.topbar .user-bar strong {
  color: #10233f;
  font-size: 14px;
  line-height: 1.25;
}

.topbar .user-meta span,
.topbar .user-card small,
.topbar .user-card .muted,
.topbar .user-bar span {
  color: #687894;
  font-size: 12px;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .topbar .toolbar,
  .topbar .top-actions {
    justify-content: flex-start;
  }

  .topbar .user-card,
  .topbar .user-bar {
    width: 100%;
  }
}
