:root {
  font-family: system-ui, sans-serif;
  color: #10231c;
  background: #f7f2e9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.app-shell {
  width: min(100%, 700px);
  background: #fffdf8;
  border-radius: 24px;
  box-shadow: 0 16px 45px #10231c22;
  overflow: hidden;
}

header {
  color: white;
  padding: 28px;
  background: linear-gradient(135deg, #0b5d43, #167754);
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  margin: 8px 0 0;
  font-size: 2rem;
}

.tagline {
  margin: 4px 0 0;
}

.chat {
  height: 380px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  max-width: 82%;
  padding: 12px 15px;
  border-radius: 16px;
  line-height: 1.45;
}

.assistant {
  background: #e5f1eb;
  align-self: flex-start;
}

.user {
  color: white;
  background: #0b5d43;
  align-self: flex-end;
}

.composer {
  border-top: 1px solid #e7e1d5;
  padding: 16px;
}

textarea {
  width: 100%;
  border: 1px solid #b9c9be;
  border-radius: 12px;
  padding: 12px;
  resize: vertical;
  font: inherit;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

button {
  border: 0;
  border-radius: 999px;
  background: #0b5d43;
  color: white;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.secondary {
  background: #dfebe3;
  color: #0b5d43;
}

.secondary[aria-pressed="true"] {
  background: #e89c43;
  color: #1c160d;
}

.status {
  min-height: 2.5em;
  margin: 0;
  padding: 0 16px 16px;
  color: #5c665f;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
