body.profile-page .profile-conversation-service {
  color: #213629;
}

body.profile-page .profile-conversation-empty {
  margin: 0;
  padding: 18px 0;
  color: #627166;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

body.profile-page .profile-conversation-row {
  padding: 16px 0;
  border-bottom: 1px solid #dce4db;
}

body.profile-page .profile-conversation-row-meta,
body.profile-page .profile-thread-bubble-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #627166;
  font-size: 12px;
  line-height: 1.4;
}

body.profile-page .profile-conversation-row strong {
  display: block;
  margin-top: 6px;
  color: #213629;
  font-size: 15px;
  line-height: 1.4;
}

body.profile-page .profile-conversation-row p,
body.profile-page .profile-thread-bubble p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body.profile-page .profile-conversation-row > span,
body.profile-page .profile-thread-bubble > span {
  display: block;
  margin-top: 8px;
  color: #4d7658;
  font-size: 12px;
  line-height: 1.4;
}

body.profile-page .profile-thread-selector {
  display: grid;
  gap: 0;
  margin-bottom: 16px;
  border-top: 1px solid #dce4db;
}

body.profile-page .profile-thread-selector button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  min-height: 52px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #dce4db;
  background: transparent;
  color: #213629;
  font: inherit;
  text-align: left;
}

body.profile-page .profile-thread-selector button[aria-current="page"] {
  color: #1d623c;
}

body.profile-page .profile-thread-selector button span,
body.profile-page .profile-thread-selector button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.profile-page .profile-thread-selector button span {
  font-size: 14px;
  font-weight: 700;
}

body.profile-page .profile-thread-selector button small {
  color: #627166;
  font-size: 12px;
}

body.profile-page .profile-thread-selector button:focus-visible {
  outline: 3px solid rgba(64, 182, 108, 0.32);
  outline-offset: -3px;
}

body.profile-page .profile-conversation-thread-head {
  padding: 0 0 12px;
  border-bottom: 1px solid #dce4db;
}

body.profile-page .profile-conversation-thread-head h2,
body.profile-page .profile-conversation-thread-head p {
  margin: 0;
}

body.profile-page .profile-conversation-thread-head h2 {
  color: #183623;
  font-size: 16px;
  line-height: 1.4;
}

body.profile-page .profile-conversation-thread-head p {
  margin-top: 3px;
  color: #627166;
  font-size: 12px;
  line-height: 1.4;
}

body.profile-page .profile-thread-timeline {
  display: grid;
  gap: 12px;
  padding: 16px 0;
}

body.profile-page .profile-thread-bubble {
  width: fit-content;
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 6px;
}

body.profile-page .profile-thread-bubble[data-direction="admin"] {
  justify-self: start;
  border-left: 3px solid #2d7a4e;
  background: #eff6ee;
  color: #213629;
}

body.profile-page .profile-thread-bubble[data-direction="user"] {
  justify-self: end;
  background: #244a33;
  color: #ffffff;
}

body.profile-page .profile-thread-bubble[data-direction="user"] .profile-thread-bubble-meta,
body.profile-page .profile-thread-bubble[data-direction="user"] > span {
  color: #dbe9de;
}

@media (max-width: 480px) {
  body.profile-page .profile-thread-selector button {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  body.profile-page .profile-thread-bubble {
    max-width: 82%;
  }
}
