.assistant-chat {
  top: var(--assistant-viewport-top, 0px);
  height: var(--assistant-viewport-height, 100dvh);
  background: #060606;
}

.assistant-chat-header {
  background: #0b0b0b;
}

.assistant-demo-caption {
  gap: 5px;
  padding-top: 15px;
}

.assistant-message {
  background: #111;
  border-color: #373329;
  font-size: 14px;
}

.assistant-message-user {
  background: #242012;
}

.assistant-composer {
  flex: none;
  width: 100%;
  max-height: min(48dvh, calc(var(--assistant-viewport-height, 100dvh) * 0.55));
  overflow-y: auto;
  border-top: 1px solid #ffcc2829;
  background: #090909;
}

.assistant-composer:empty {
  display: none;
}

.assistant-composer-inner {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  padding: 20px 24px 15px;
}

.assistant-answer-group {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.assistant-answer-label {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  color: #eee4cc;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.assistant-answer-hint {
  margin: -3px 0 13px;
  color: #b6ac92;
  font-size: 11px;
  line-height: 1.6;
}

.assistant-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.assistant-choice {
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #796332;
  border-radius: 15px;
  background: #080808;
  color: #e7d8b1;
  text-align: left;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.assistant-choice:hover,
.assistant-choice.is-selected {
  border-color: #ffcc28;
  background: #211d0e;
  color: #ffdf7e;
}

.assistant-answer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.assistant-answer-input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #796332;
  border-radius: 14px;
  background: #000;
  color: #f4edda;
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

textarea.assistant-answer-input {
  min-height: 76px;
  max-height: 140px;
  resize: vertical;
}

.assistant-answer-input::placeholder {
  color: #b4a98f;
  opacity: 1;
}

.assistant-answer-input[aria-invalid='true'] {
  border-color: #f7b39b;
}

.assistant-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid #ffcc28;
  border-radius: 14px;
  background: #ffcc28;
  color: #171100;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.assistant-submit:hover {
  background: #ffdf78;
}

.assistant-answer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
}

.assistant-answer-actions:empty {
  display: none;
}

.assistant-back,
.assistant-skip {
  min-height: 38px;
  padding: 6px 3px;
  border: 0;
  background: transparent;
  color: #dfc887;
  font-family: Poppins, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.5;
}

.assistant-skip {
  margin-left: auto;
}

.assistant-answer-error {
  margin-top: 11px;
  color: #ffbea6;
  font-size: 12px;
  line-height: 1.6;
}

.assistant-chat-footer {
  padding-block: 11px;
  font-size: 10px;
}

.has-keyboard .assistant-demo-caption,
.has-keyboard .assistant-chat-footer {
  display: none;
}

@media (max-width: 767px) {
  .assistant-composer-inner {
    padding: 16px 20px 12px;
  }

  .assistant-answer-row,
  .assistant-answer-group[data-field='isLawyer'] .assistant-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .assistant-submit {
    width: 100%;
  }

  .assistant-choice {
    padding-inline: 12px;
    font-size: 11px;
  }

  .assistant-chat-footer {
    gap: 15px;
    font-size: 9px;
  }
}
