.widget-comments {
  gap: 14px;
}
.widget-comments .comments-composer {
  gap: 8px;
  padding: 6px;
}
.widget-comments .comments-composer .composer-input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 1.6em;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
  resize: none;
  overflow: hidden;
}
.widget-comments .comments-composer .composer-footer {
  gap: 6px;
}
.widget-comments .comments-composer .composer-submit {
  padding: 4px 14px;
}
.widget-comments .comments-feed {
  gap: 10px;
}
.widget-comments .comment.tombstone {
  gap: 4px;
  padding: 4px 10px;
  opacity: 0.6;
  font-size: 12px;
  align-items: center;
}
.widget-comments .comment.tombstone .comment-restore {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  min-height: 0;
  min-width: 0;
  color: #0b57d0;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.widget-comments .comment.tombstone .comment-restore:hover {
  color: #1e6ae0;
}
.widget-comments .comment:not(.tombstone) {
  gap: 10px;
  align-items: flex-start;
}
.widget-comments .comment:not(.tombstone) .comment-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.widget-comments .comment:not(.tombstone) .comment-avatar.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  opacity: 0.7;
}
.widget-comments .comment:not(.tombstone) .bubble {
  position: relative;
  flex: 1;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
}
.widget-comments .comment:not(.tombstone) .bubble .meta {
  gap: 8px;
  align-items: center;
}
.widget-comments .comment:not(.tombstone) .bubble .meta .who {
  font-weight: bold;
}
.widget-comments .comment:not(.tombstone) .bubble .meta .when {
  opacity: 0.55;
  font-size: 11px;
}
.widget-comments .comment:not(.tombstone) .bubble .text {
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}
.widget-comments .comment:not(.tombstone) .bubble .comment-close {
  position: absolute;
  top: 4px;
  right: 4px;
  min-height: 20px;
  min-width: 20px;
  padding: 0;
  line-height: 1;
  font-size: 14px;
  opacity: 0;
  transition: opacity 120ms;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
}
.widget-comments .comment:not(.tombstone) .bubble .comment-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.08);
}
.widget-comments .comment:not(.tombstone):hover .comment-close {
  opacity: 0.55;
}

box.widget-chat {
  min-height: 0;
  height: 100%;
  align-items: stretch;
}
box.widget-chat .chat-sidebar {
  min-height: 0;
  align-items: stretch;
}
box.widget-chat .chat-sidebar .chat-sidebar-scroll {
  min-height: 0;
}
box.widget-chat .chat-sidebar .chat-contacts {
  gap: 2px;
  padding: 6px;
}
box.widget-chat .chat-sidebar .contact {
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  text-align: left;
  align-items: center;
  cursor: pointer;
  min-height: 0;
  min-width: 0;
}
box.widget-chat .chat-sidebar .contact:hover {
  background: rgba(0, 0, 0, 0.05);
}
box.widget-chat .chat-sidebar .contact.\:checked {
  background: rgba(0, 0, 0, 0.1);
}
box.widget-chat .chat-sidebar .contact .contact-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
box.widget-chat .chat-sidebar .contact .contact-avatar.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  opacity: 0.7;
}
box.widget-chat .chat-sidebar .contact .contact-body {
  gap: 2px;
  min-width: 0;
}
box.widget-chat .chat-sidebar .contact .contact-body .contact-head {
  gap: 8px;
  align-items: baseline;
}
box.widget-chat .chat-sidebar .contact .contact-body .contact-head .contact-name {
  font-weight: bold;
}
box.widget-chat .chat-sidebar .contact .contact-body .contact-head .contact-time {
  opacity: 0.55;
  font-size: 11px;
}
box.widget-chat .chat-sidebar .contact .contact-body .contact-last {
  opacity: 0.65;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
box.widget-chat .chat-content {
  min-width: 0;
  min-height: 0;
}
box.widget-chat .chat-empty {
  gap: 6px;
  opacity: 0.55;
}
box.widget-chat .chat-empty .chat-empty-text {
  font-size: 14px;
}
box.widget-chat .chat-conversation {
  min-height: 0;
  gap: 0;
}
box.widget-chat .chat-conversation .chat-header {
  gap: 10px;
  padding: 10px 14px;
  align-items: center;
}
box.widget-chat .chat-conversation .chat-header .chat-header-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
  cursor: pointer;
}
box.widget-chat .chat-conversation .chat-header .chat-header-avatar.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  opacity: 0.7;
}
box.widget-chat .chat-conversation .chat-header .chat-header-meta {
  gap: 2px;
  cursor: pointer;
}
box.widget-chat .chat-conversation .chat-header .chat-header-meta .chat-header-name {
  font-weight: bold;
  cursor: pointer;
}
box.widget-chat .chat-conversation .chat-header .chat-header-meta .chat-header-status {
  opacity: 0.55;
  font-size: 11px;
  cursor: pointer;
}
box.widget-chat .chat-conversation .chat-messages-scroll {
  min-height: 0;
}
box.widget-chat .chat-conversation .chat-messages {
  gap: 6px;
  padding: 14px;
}
box.widget-chat .chat-conversation .chat-bubble {
  align-items: flex-end;
}
box.widget-chat .chat-conversation .chat-bubble.in {
  justify-content: flex-start;
}
box.widget-chat .chat-conversation .chat-bubble.out {
  justify-content: flex-end;
}
box.widget-chat .chat-conversation .chat-bubble .bubble {
  max-width: 70%;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
}
box.widget-chat .chat-conversation .chat-bubble .bubble .bubble-text {
  white-space: pre-wrap;
  word-break: break-word;
}
box.widget-chat .chat-conversation .chat-bubble .bubble .bubble-time {
  opacity: 0.55;
  font-size: 10px;
}
box.widget-chat .chat-conversation .chat-bubble.in .bubble {
  background: rgba(0, 0, 0, 0.06);
  border-bottom-left-radius: 4px;
}
box.widget-chat .chat-conversation .chat-bubble.out .bubble {
  background: #0b57d0;
  color: #fff;
  border-bottom-right-radius: 4px;
}
box.widget-chat .chat-conversation .chat-bubble.out .bubble .bubble-time {
  color: rgba(255, 255, 255, 0.75);
}
box.widget-chat .chat-conversation .chat-input-bar {
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  align-items: flex-end;
}
box.widget-chat .chat-conversation .chat-input-bar .chat-input {
  flex: 1;
  box-sizing: border-box;
  width: 100%;
  min-height: 1.6em;
  max-height: 8em;
  padding: 6px 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
  resize: none;
  overflow: auto;
}
box.widget-chat .chat-conversation .chat-input-bar .chat-send {
  padding: 6px 14px;
}

.widget-profile {
  display: flex;
  width: 100%;
}
.widget-profile .layout-split {
  align-items: flex-start;
}
.widget-profile .profile-aside {
  box-sizing: border-box;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  flex: 0 0 200px;
  gap: 10px;
  padding: 18px;
  background: white;
  align-items: center;
  align-self: flex-start;
}
.widget-profile .profile-aside .profile-avatar {
  width: var(--profile-avatar-size, 120px);
  height: var(--profile-avatar-size, 120px);
  min-width: var(--profile-avatar-size, 120px);
  min-height: var(--profile-avatar-size, 120px);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  object-fit: cover;
  overflow: hidden;
}
.widget-profile .profile-aside .profile-avatar.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  opacity: 0.7;
}
.widget-profile .profile-aside .profile-avatar.profile-avatar-edit {
  cursor: pointer;
  border: 2px dashed rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}
.widget-profile .profile-aside .profile-avatar-hint {
  opacity: 0.55;
  font-size: 11px;
}
.widget-profile .profile-aside .profile-actions {
  gap: 6px;
  align-self: stretch;
  margin-top: 10px;
}
.widget-profile .profile-aside .profile-actions button {
  box-sizing: border-box;
  width: 100%;
  padding: 6px 14px;
  text-align: center;
}
.widget-profile .profile-main {
  flex: 1 1 0;
  min-width: 0;
  gap: 14px;
}
.widget-profile .profile-info {
  gap: 10px;
  padding: 16px;
  background: white;
}
.widget-profile .profile-info .profile-head {
  gap: 10px;
  margin-bottom: -6px;
  padding-bottom: 0;
  align-items: baseline;
  border-bottom: 1px solid rgb(224, 224, 224);
}
.widget-profile .profile-info .profile-head .profile-name {
  margin-top: -2px;
  margin-bottom: 0;
  border-bottom: none;
  font-size: 18px;
  font-weight: bold;
}
.widget-profile .profile-info .profile-head .profile-tab-edit,
.widget-profile .profile-info .profile-head .profile-tab-profile {
  cursor: pointer;
  font-size: 12px;
}
.widget-profile .profile-info .profile-status {
  opacity: 0.65;
  font-size: 12px;
}
.widget-profile .profile-info .profile-info-rows {
  gap: 6px;
}
.widget-profile .profile-info .profile-info-row {
  gap: 12px;
}
.widget-profile .profile-info .profile-info-row .info-key {
  min-width: 90px;
  opacity: 0.6;
  font-size: 12px;
}
.widget-profile .profile-info .profile-info-row .info-val {
  font-size: 13px;
}
.widget-profile .profile-info .profile-info-row .profile-about {
  white-space: pre-wrap;
}
.widget-profile .profile-info .profile-edit-form {
  gap: 10px;
}
.widget-profile .profile-info .profile-edit-field {
  gap: 4px;
}
.widget-profile .profile-info .profile-edit-field > label {
  opacity: 0.65;
  font-size: 12px;
}
.widget-profile .profile-info .profile-edit-field entry,
.widget-profile .profile-info .profile-edit-field input,
.widget-profile .profile-info .profile-edit-field textarea {
  width: 100%;
  box-sizing: border-box;
}
.widget-profile .profile-info .profile-edit-field textarea {
  padding: 6px 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  background: white;
  font: inherit;
  resize: vertical;
  min-height: 64px;
}
.widget-profile .profile-info .profile-edit-actions {
  gap: 8px;
  justify-content: flex-end;
}
.widget-profile .profile-wall {
  padding: 16px;
  background: white;
}