.sr-conversation {
  border: 1px solid #ccdad2;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  color: #193b2d;
  min-width: 0;
}
.sr-conversation h3 {
  font-size: 1rem;
  margin: 0 0 5px;
}
.sr-conversation > header > p,
.sr-conversation-help {
  font-size: 0.85rem;
  color: #53695d;
  margin: 0 0 12px;
  line-height: 1.5;
}
.sr-conversation-messages {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  max-height: 440px;
  overflow: auto;
  overscroll-behavior: contain;
}
.sr-conversation-message {
  padding: 12px;
  background: #f4f5f2;
  border: 1px solid #e1e6e2;
  border-radius: 10px;
  min-width: 0;
}
.sr-conversation-message.is-mine {
  background: #edf6ef;
  border-color: #c8dcca;
}
.sr-conversation-message header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
}
.sr-conversation-message time,
.sr-conversation-message small {
  color: #53695d;
  font-size: 0.75rem;
}
.sr-conversation-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
  margin: 8px 0 !important;
}
.sr-conversation-message details {
  font-size: 0.85rem;
}
.sr-conversation-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.sr-conversation-form label {
  display: grid;
  gap: 7px;
  font-weight: 650;
  font-size: 0.9rem;
}
.sr-conversation-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 1px solid #c8d5cd;
  border-radius: 9px;
  resize: vertical;
  font: inherit;
  color: inherit;
  background: #fff;
}
.sr-conversation button {
  min-height: 44px;
  border: 1px solid #c8d5cd;
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
  padding: 10px 14px;
  background: #eef4ef;
  color: #193b2d;
  cursor: pointer;
}
.sr-conversation-form > button {
  background: #193b2d;
  color: #fff;
}
.sr-conversation button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.sr-conversation button:focus-visible,
.sr-conversation textarea:focus-visible {
  outline: 3px solid #af9255;
  outline-offset: 2px;
}
.sr-conversation-empty,
.sr-conversation [data-status] {
  font-size: 0.85rem;
  line-height: 1.5;
}
.sr-conversation [hidden] {
  display: none !important;
}
@media (max-width: 599px) {
  .sr-conversation {
    padding: 12px;
  }
  .sr-conversation-form > button {
    width: 100%;
  }
  .sr-conversation-messages {
    max-height: 360px;
  }
}
