.header-actions { display: flex; align-items: center; gap: 16px; }
.back-home {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #e5e8f1;
  border-radius: 9px;
  background: #fff;
  color: #4f5c76;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.back-home:hover { border-color: #bfc7ff; color: #1739ff; background: #f7f8ff; }
.chat-message.user .user-identity {
  display: flex;
  width: 70px;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  order: 2;
  text-align: center;
}
.user-identity .profile-avatar { width: 38px; height: 38px; }
.user-name { display: block; max-width: 70px; overflow: hidden; color: #68738b; font-size: 10px; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .header-actions { gap: 8px; }
  .back-home { padding: 6px 9px; font-size: 11px; }
}
@media (max-width: 520px) {
  .header-actions .header-pill { display: none; }
  .chat-message.user .user-identity { width: 58px; }
  .user-name { max-width: 58px; }
}
