.assistant-page {
  min-height: 70vh;
}
.assistant-shell {
  max-width: 920px;
}
.assistant-messages {
  display: grid;
  gap: 14px;
  max-height: 52vh;
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(148, 196, 174, .2);
  border-radius: 24px;
  background: rgba(5, 20, 17, .72);
}
.assistant-message {
  max-width: 82%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 196, 174, .15);
}
.assistant-message p {
  margin: 6px 0 0;
  white-space: pre-wrap;
}
.assistant-message.user {
  justify-self: start;
  background: rgba(42, 116, 87, .25);
}
.assistant-message.assistant {
  justify-self: end;
  background: rgba(198, 155, 70, .12);
}
.assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.assistant-suggestions button {
  border: 1px solid rgba(198, 155, 70, .45);
  border-radius: 999px;
  padding: 8px 12px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.assistant-form {
  display: grid;
  gap: 10px;
}
.assistant-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(148, 196, 174, .3);
  border-radius: 14px;
  padding: 12px;
  color: inherit;
  background: rgba(0, 0, 0, .2);
}
.assistant-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.assistant-form-footer button {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  color: #061512;
  background: #d6b46a;
  cursor: pointer;
}
.assistant-form-footer button:disabled {
  opacity: .55;
  cursor: wait;
}
.assistant-status {
  min-height: 24px;
}
.assistant-status[data-type="error"] {
  color: #ffad9e;
}
.assistant-status[data-type="success"] {
  color: #9ce0b4;
}
@media (max-width: 640px) {
  .assistant-message {
    max-width: 96%;
  }
  .assistant-form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}