:root {
  --canvas: #f6f5f4;
  --panel: #ffffff;
  --ink: #111;
  --accent: #213183;   /* deep indigo, matches console login */
  --hairline: #e6e6e6;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { display: flex; flex-direction: column; background: var(--canvas); color: var(--ink); }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: var(--panel); border-bottom: 1px solid var(--hairline);
}
.logo { font-weight: 700; letter-spacing: -0.3px; }
.who { color: #615d59; font-size: 13px; }
.model { color: var(--accent); }
.log {
  flex: 1; overflow-y: auto; max-width: 860px; width: 100%;
  margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.msg { display: flex; }
.msg.user { justify-content: flex-end; }
.bubble {
  max-width: 78%; padding: 10px 14px; border-radius: 12px; white-space: pre-wrap;
  line-height: 1.5; background: var(--panel); border: 1px solid var(--hairline);
}
.msg.user .bubble { background: var(--accent); color: #fff; border: none; }
.composer {
  display: flex; gap: 10px; max-width: 860px; width: 100%;
  margin: 0 auto; padding: 12px 20px 20px;
}
.composer input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 999px;
  font-size: 15px;
}
.composer button {
  padding: 12px 22px; border: none; border-radius: 999px; background: var(--accent);
  color: #fff; cursor: pointer; font-size: 15px;
}