:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #f5f1e7;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { max-width: 820px; margin: 0 auto; padding: 22px; }
.card {
  background: white;
  border: 1px solid #d8d0bd;
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,.08);
  overflow: hidden;
}
header {
  padding: 24px;
  background: #171717;
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
h1 { margin: 4px 0 8px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
header p { margin: 0; max-width: 590px; color: #eee5d2; }
.eyebrow {
  color: #d6ad37;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .78rem;
}
.quick-actions {
  padding: 14px 18px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: #faf8f2;
}
.quick-actions button {
  background: white;
  border: 1px solid #cfc5ae;
  padding: 8px 11px;
  font-size: .85rem;
}
.messages {
  min-height: 360px;
  max-height: 55vh;
  overflow-y: auto;
  padding: 18px 22px 22px;
  background: #faf8f2;
}
.message {
  max-width: 82%;
  padding: 13px 15px;
  border-radius: 15px;
  margin: 9px 0;
  white-space: pre-wrap;
  line-height: 1.5;
}
.assistant { background: #ede6d5; border-bottom-left-radius: 4px; }
.user {
  margin-left: auto;
  background: #171717;
  color: white;
  border-bottom-right-radius: 4px;
}
.composer {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid #ddd5c4;
}
input, textarea {
  width: 100%;
  border: 1px solid #bbb29e;
  border-radius: 11px;
  padding: 12px;
  font: inherit;
}
textarea { min-height: 90px; resize: vertical; }
button {
  border: 0;
  border-radius: 11px;
  padding: 12px 18px;
  background: #d6ad37;
  color: #171717;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { cursor: wait; opacity: .65; }
button.secondary {
  background: transparent;
  color: white;
  border: 1px solid #777;
  height: fit-content;
}
details {
  margin: 0 16px 16px;
  border: 1px solid #ddd5c4;
  border-radius: 12px;
  padding: 14px;
}
summary { cursor: pointer; font-weight: 800; }
.lead-form { display: grid; gap: 10px; margin-top: 14px; }
footer { padding: 14px 20px; background: #eee8da; font-size: .85rem; }
a { color: inherit; font-weight: 700; }
@media (max-width: 600px) {
  .shell { padding: 0; }
  .card { min-height: 100vh; border-radius: 0; }
  header { align-items: flex-start; }
  .message { max-width: 92%; }
}
