/* Chat: composer, conversation workspace, messages. */
.composer {
  max-width: 720px;
  margin: 23px auto 15px;
  border: 1px solid #cfcfce;
  border-radius: 23px;
  background: var(--surface);
  padding: 15px 16px 12px;
  box-shadow: 0 4px 12px #00000005;
  text-align: right;
}

.composer textarea {
  width: 100%;
  border: 0;
  outline: 0!important;
  resize: none;
  height: 45px;
  background: none;
  font-size: 12px;
  line-height: 1.8;
}

.composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.composer-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.composer-tools small {
  font-size: 9px;
}

.send {
  background: var(--text);
  color: var(--inverse);
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.send svg {
  width: 17px;
  height: 17px;
}

.workspace {
  height: calc(100vh - 69px);
  display: flex;
  direction: ltr;
  overflow: hidden;
}

.conversation {
  width: 51%;
  direction: rtl;
  display: flex;
  flex-direction: column;
  min-width: 340px;
  border-right: 1px solid var(--line);
}

.conversation-body {
  padding: 26px 27px;
  overflow-y: auto;
  flex: 1;
  scroll-behavior: smooth;
}

.chat-welcome {
  padding: 60px 15px;
  text-align: center;
}

.chat-welcome>span {
  font-size: 45px;
}

.chat-welcome h1 {
  font-size: 25px;
  margin: 15px 0;
}

.chat-welcome p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}

.message {
  margin-bottom: 28px;
  font-size: 12px;
  line-height: 2.05;
}

.message.user {
  display: flex;
  align-items: start;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.message.user .avatar {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  font-size: 11px;
}

.message.assistant>.answer-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 13px;
}

.answer-label .spark {
  border-radius: 50%;
  background: var(--text);
  color: var(--inverse);
  font-size: 19px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
}

.message p {
  white-space: pre-wrap;
}

.message small {
  font-size: 9px;
}

.chat-places {
  display: flex;
  gap: 11px;
  overflow: auto;
  margin-top: 17px;
  padding-bottom: 5px;
}

.chat-places .place-card {
  min-width: 170px;
  max-width: 210px;
  flex: 1;
}

.chat-places .place-image {
  height: 100px;
}

.chat-places .place-info {
  padding: 11px;
}

.chat-places .place-info h3 {
  font-size: 11px;
}

.chat-places .place-info p {
  display: none;
}

.chat-places .meta {
  font-size: 9px;
}

.chat-bottom {
  padding: 0 20px 10px;
}

.chat-bottom .composer {
  margin: 0;
  max-width: none;
  border-radius: 21px;
  box-shadow: none;
}

.chat-disclaimer {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
