.cb-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.cb-hero { margin-bottom: 24px; }
.cb-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1d4ed8;
}
.cb-hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.25;
}
.cb-lead { margin: 0; color: #475569; font-size: 15px; line-height: 1.55; }
.cb-shell {
  border: 1px solid #d8dee5;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.cb-log {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
  min-height: 360px;
}
.cb-msg {
  max-width: 88%;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.cb-msg.is-bot { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; }
.cb-msg.is-user { align-self: flex-end; background: #0f172a; color: #fff; }
.cb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #e2e8f0;
  max-height: 220px;
  overflow-y: auto;
}
.cb-chip-group-label {
  flex: 1 0 100%;
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #64748b;
}
.cb-chip-group-label:first-child { margin-top: 0; }
.cb-chip {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
.cb-chip:hover { border-color: #1d4ed8; color: #1d4ed8; }
.cb-composer {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid #e2e8f0;
}
.cb-composer input {
  flex: 1;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  padding: 0 12px;
  font: inherit;
}
.cb-composer button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: #0f172a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cb-hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
@media (max-width: 640px) {
  .cb-page { padding: 24px 14px 64px; }
  .cb-shell { min-height: 70vh; }
}
