@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#090b12;--panel:#10131d;--panel2:#151a27;--line:#242a39;--text:#eef1f8;--muted:#929bad;--accent:#a78bfa;--accent2:#7c65d8}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -15%,#25213b 0,transparent 42%),var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;min-height:100vh}.shell{min-height:100vh}.hidden{display:none!important}
.brand{display:flex;align-items:center;gap:11px;font:800 13px Manrope,sans-serif;letter-spacing:.24em}.brand-mark{width:34px;height:34px;border:1px solid #8c78d8;border-radius:12px;display:grid;place-items:center;color:#c5b7ff;font:700 19px Manrope;background:linear-gradient(145deg,#292342,#151523);box-shadow:0 0 28px #9c83ff20}
.auth-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px}.auth-screen>.brand{position:absolute;top:34px;left:42px}.auth-card{width:min(100%,420px);padding:38px;border:1px solid var(--line);border-radius:22px;background:#10131deF;box-shadow:0 28px 90px #0007}.eyebrow{font-size:10px;letter-spacing:.2em;color:#b4a3ff;font-weight:700}.auth-card h1,.welcome h1{font:700 30px Manrope,sans-serif;letter-spacing:-.04em;margin:12px 0 8px}.muted{color:var(--muted);line-height:1.6;font-size:14px}.auth-card form{display:grid;gap:9px;margin-top:28px}.auth-card label{font-size:12px;color:#c4cada;margin-top:7px}.auth-card input{background:#0b0e16;border:1px solid #2a3040;border-radius:10px;padding:13px 14px;color:var(--text);font:inherit;outline:none}.auth-card input:focus,.composer textarea:focus{border-color:#8c78d8}.primary-btn{border:0;border-radius:10px;background:linear-gradient(110deg,#9c86ed,#7662d1);color:white;padding:13px;font-weight:700;font-size:14px;margin-top:14px;cursor:pointer}.primary-btn:disabled,.send-btn:disabled{opacity:.5;cursor:wait}.auth-switch{text-align:center;color:var(--muted);font-size:13px;margin-top:23px}.text-btn{border:0;background:none;color:#c1b2ff;font:inherit;cursor:pointer}.notice{min-height:18px;color:#e7c98b;font-size:12px;line-height:1.5}.footnote{color:#626b7c;font-size:11px;margin-top:25px}
.chat-screen{height:100vh;min-height:600px;display:grid;grid-template-columns:260px 1fr}.sidebar{border-right:1px solid var(--line);background:#0c0f17;padding:26px 18px;display:flex;flex-direction:column}.sidebar .brand{padding:0 7px 28px}.new-chat{border:1px solid #353149;background:#171626;color:#e7e0ff;border-radius:10px;padding:12px;text-align:left;font:600 13px 'DM Sans';cursor:pointer}.sidebar-label{font-size:10px;letter-spacing:.18em;color:#667084;margin:30px 8px 10px}.sidebar-note{font-size:12px;color:#687286;line-height:1.6;padding:0 8px}.sidebar-bottom{margin-top:auto}.user-chip{display:flex;align-items:center;gap:10px;padding:12px 8px;border-top:1px solid var(--line)}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#292342;color:#c9bbff}.user-info{min-width:0;display:grid;gap:3px}.user-info strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:155px}.user-info span{font-size:10px;color:var(--muted)}.sign-out{border:0;background:none;color:#9aa3b4;font:12px 'DM Sans';padding:8px;cursor:pointer}.main-panel{display:flex;flex-direction:column;min-width:0}.topbar{height:66px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;color:#c6ccda;font-size:12px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6bd5a3;margin-right:9px;box-shadow:0 0 12px #6bd5a388}.topbar-tag{font-size:9px;letter-spacing:.16em;color:#687286}.messages{flex:1;overflow:auto;padding:38px max(24px,calc((100% - 780px)/2));}.welcome{text-align:center;max-width:620px;margin:8vh auto 0}.welcome-orb{width:72px;height:72px;border:1px solid #7664b8;border-radius:25px;margin:0 auto 28px;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#554487,#171625 70%);box-shadow:0 0 60px #9b80ff20}.welcome-orb span{font:700 34px Manrope;color:#d5caff}.welcome h1{font-size:32px}.suggestions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:30px}.suggestion{background:#121622;border:1px solid #282e3d;color:#cbd1df;border-radius:10px;padding:11px 14px;font:12px 'DM Sans';cursor:pointer}.suggestion span{color:#a997f1;margin-left:12px}.message{max-width:760px;margin:0 auto 22px;display:flex;gap:13px;align-items:flex-start}.message.user{flex-direction:row-reverse}.message-badge{width:28px;height:28px;flex:0 0 28px;border-radius:10px;display:grid;place-items:center;background:#25203a;color:#c9bbff;font-size:12px}.message.user .message-badge{background:#1b2830;color:#9fe0c1}.message-body{max-width:calc(100% - 45px);padding:12px 15px;border:1px solid #262c3b;border-radius:4px 14px 14px 14px;background:#111520;color:#e4e8f1;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message.user .message-body{background:#19182a;border-color:#37314e;border-radius:14px 4px 14px 14px}.composer{position:relative;width:min(780px,calc(100% - 48px));margin:0 auto 24px;border:1px solid #303648;background:#111520;border-radius:16px;padding:12px 58px 28px 16px;box-shadow:0 12px 50px #0004}.composer textarea{width:100%;resize:none;border:1px solid transparent;background:transparent;color:var(--text);font:14px/1.6 'DM Sans';outline:none;max-height:180px}.composer-hint{position:absolute;bottom:9px;left:17px;color:#626c7d;font-size:10px}.send-btn{position:absolute;right:12px;top:10px;width:36px;height:36px;border:0;border-radius:11px;background:#8c78d8;color:white;font-size:22px;cursor:pointer}.typing{color:#a99bdc;font-size:12px}
@media(max-width:700px){.chat-screen{grid-template-columns:1fr}.sidebar{height:58px;padding:11px 16px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:0}.brand-mark{width:30px;height:30px}.new-chat{padding:9px 11px}.new-chat span{display:none}.sidebar-label,.sidebar-note{display:none}.sidebar-bottom{margin:0}.user-chip{border:0;padding:0}.user-info,.sign-out{display:none}.chat-screen{height:100dvh;min-height:560px}.topbar{height:52px;padding:0 18px}.messages{padding:25px 14px}.welcome{margin-top:10vh}.welcome h1{font-size:25px}.auth-screen>.brand{top:22px;left:22px}.auth-card{padding:28px 22px}.composer{width:calc(100% - 24px);margin-bottom:12px}.suggestions{gap:7px}.suggestion{font-size:11px}}
