.bot-studio-sheet select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #a38e6638;
  border-radius: 10px;
  background: #171913;
  color: #e2d7c1;
  padding: 13px;
  font:
    13px Inter,
    sans-serif;
  min-height: 46px;
}
.bot-thread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #b9a16f20;
  background: none;
  text-align: left;
  color: #e2d7c1;
  cursor: pointer;
}
.bot-thread strong {
  font:
    400 14px Inter,
    sans-serif;
}
.bot-thread small {
  display: block;
  font:
    11px/1.5 Inter,
    sans-serif;
  color: #969080;
  margin-top: 7px;
  max-width: 310px;
  overflow-wrap: anywhere;
}
.bot-unread {
  color: #c9af7d;
  font:
    12px Inter,
    sans-serif;
}
.bot-history {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 24px 0;
  max-height: 42dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bot-message {
  background: #ffffff04;
  border: 1px solid #bba16a20;
  border-radius: 14px;
  padding: 14px;
  max-width: 92%;
  align-self: flex-start;
  box-sizing: border-box;
}
.bot-message.out {
  align-self: flex-end;
  background: #bba16a0a;
}
.bot-message small {
  font:
    10px Inter,
    sans-serif;
  color: #baa783;
}
.bot-message p,
.bot-preview-text {
  font:
    13px/1.7 Inter,
    sans-serif;
  color: #d9d0bd;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0;
}
.bot-message time {
  display: block;
  font:
    9px/1.5 Inter,
    sans-serif;
  color: #827d70;
  margin-top: 10px;
}
.bot-message img,
.bot-message video {
  display: block;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 7px;
  margin-top: 12px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.bot-error {
  color: #dfb7a0 !important;
}
.bot-studio-sheet .tg-code {
  font-size: 12px;
}

.bot-thread > span:first-child {
  min-width: 0;
  flex: 1;
}
