* { box-sizing: border-box; }
body {
  margin: 0; background: #030712; color: #e5e7eb;
  font-family: Inter, Arial, sans-serif; height: 100vh;
}
.app { display: flex; height: 100vh; }
.sidebar {
  width: 250px; background: #080f1e; border-right: 1px solid #17243a;
  padding: 24px 16px; display: flex; flex-direction: column;
}
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:1px; }
.logo, .welcome-logo {
  display:grid; place-items:center; background:linear-gradient(135deg,#008cff,#155eef);
  color:white; font-weight:900; border-radius:12px;
}
.logo { width:38px; height:38px; }
.new-chat {
  margin-top:35px; padding:13px; border:1px solid #24446a; border-radius:10px;
  background:#0d1b30; color:white; text-align:left; cursor:pointer;
}
.side-label { margin:32px 0 12px; color:#71839e; font-size:11px; letter-spacing:1.5px; }
.side-item { padding:12px; background:#101e32; border-radius:9px; color:#b9d9ff; font-size:13px; }
.side-bottom { margin-top:auto; color:#9ca3af; font-size:12px; }
.status-dot { display:inline-block; width:8px; height:8px; background:#22c55e; border-radius:50%; margin-right:7px; }
.main { flex:1; min-width:0; display:flex; flex-direction:column; }
.topbar {
  height:68px; border-bottom:1px solid #17243a; display:flex;
  align-items:center; justify-content:flex-end; padding:0 28px;
}
.model { color:#91a4bf; font-size:12px; background:#0c1729; padding:9px 13px; border-radius:20px; }
.mobile-brand { display:none; font-weight:800; }
.chat {
  flex:1; overflow-y:auto; padding:30px 18px;
  display:flex; flex-direction:column; align-items:center;
}
.welcome { margin:auto 0; text-align:center; max-width:650px; }
.welcome-logo { width:66px; height:66px; font-size:30px; margin:0 auto 24px; border-radius:20px; }
.welcome h1 { font-size:30px; margin:0 0 12px; }
.welcome h1 span { color:#2698ff; }
.welcome p { color:#899bb4; margin-bottom:30px; }
.suggestions { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; }
.suggestions button {
  background:#0c1729; color:#b8c8dd; border:1px solid #1c304c;
  border-radius:10px; padding:12px; cursor:pointer;
}
.suggestions button:hover, .new-chat:hover { border-color:#168cff; }
.message { width:100%; max-width:760px; display:flex; gap:13px; margin:12px auto; }
.avatar {
  width:32px; height:32px; flex-shrink:0; display:grid; place-items:center;
  border-radius:10px; background:#10233c; color:#54aaff; font-weight:bold;
}
.message.user .avatar { background:#17345a; color:white; }
.bubble {
  padding:12px 15px; border-radius:12px; background:#0c1729;
  border:1px solid #1a2a42; line-height:1.65; white-space:pre-wrap;
  overflow-wrap:anywhere; max-width:100%;
}
.message.user .bubble { background:#102542; }
.composer-area { padding:15px 20px 20px; }
.composer {
  max-width:800px; margin:auto; display:flex; align-items:flex-end; gap:10px;
  padding:12px; border:1px solid #243b59; border-radius:16px;
  background:#0b1525; box-shadow:0 8px 35px #0005;
}
.composer textarea {
  flex:1; resize:none; max-height:140px; border:0; outline:0;
  background:transparent; color:white; font:inherit; padding:9px;
}
.composer button {
  width:42px; height:42px; border:0; border-radius:11px;
  background:#087cf0; color:white; font-size:20px; cursor:pointer;
}
.composer button:disabled { opacity:.45; cursor:not-allowed; }
.disclaimer { text-align:center; color:#64748b; font-size:11px; margin:10px 0 0; }
@media(max-width:700px) {
  .sidebar { display:none; }
  .topbar { height:58px; justify-content:space-between; padding:0 15px; }
  .mobile-brand { display:block; }
  .model { font-size:10px; }
  .welcome h1 { font-size:24px; }
  .chat { padding:20px 12px; }
  .composer-area { padding:10px 10px 15px; }
}
