body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  background: #f5f1e8;
  color: #1b1917;
}

.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  padding: 24px;
  background: #e5d3bf;
  border-right: 1px solid #c8b49c;
}

.sidebar h1 {
  margin-top: 0;
}

.sidebar label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
}

.sidebar select,
.sidebar input,
.composer textarea,
.composer button {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #8f7760;
  border-radius: 10px;
  font: inherit;
}

.workspace {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
}

.messages {
  padding: 24px;
  overflow: auto;
}

.message {
  max-width: 900px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fffaf2;
  border: 1px solid #dfd1c0;
  white-space: pre-wrap;
}

.message.user {
  background: #efe4d6;
}

.composer {
  padding: 16px 24px 24px;
  border-top: 1px solid #d7c8b6;
  background: #f8f4ed;
}

.composer textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 900px) {
  .app {
    grid-template-columns: 1fr;
  }
}
