* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b0f19;
  color: #e8ecf1;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand { font-weight: 700; }
.panic {
  background: #ff3b3b;
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.disclaimer {
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.chat {
  height: calc(100vh - 56px - 52px - 54px);
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  max-width: 820px;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
}
.user { align-self: flex-end; background: rgba(80,140,255,0.22); border: 1px solid rgba(80,140,255,0.35); }
.bot { align-self: flex-start; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); }
.meta { opacity: 0.75; font-size: 12px; margin-top: 4px; }
.composer {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  bottom: 0;
  background: #0b0f19;
}
input {
  flex: 1;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #e8ecf1;
}
button {
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  background: #4c8dff;
  color: white;
  font-weight: 700;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: not-allowed; }
