:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e1b4b,#0f172a)}.login-card{background:#fff;padding:2.5rem;border-radius:16px;width:320px;box-shadow:0 20px 40px #0000004d;display:flex;flex-direction:column;gap:.5rem}.login-card h1{margin:0;font-size:1.5rem}.login-card .subtitle{margin:0 0 .75rem;color:#64748b;font-size:.9rem}.login-card label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:#334155;margin-bottom:.75rem}.login-card input{padding:.6rem .75rem;border-radius:8px;border:1px solid #cbd5e1;font-size:1rem}.login-card button{margin-top:.5rem;padding:.7rem;border:none;border-radius:8px;background:#4f46e5;color:#fff;font-size:1rem;cursor:pointer}.login-card button:disabled{opacity:.6;cursor:default}.error{color:#dc2626;font-size:.85rem}.chat-screen{min-height:100vh;display:flex;flex-direction:column;background:#0f172a;color:#e2e8f0}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #1e293b}.link-button{background:none;border:none;color:#94a3b8;cursor:pointer;text-decoration:underline;font-size:.85rem}.messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:.9rem;max-width:720px;width:100%;margin:0 auto}.empty-state{color:#64748b;text-align:center;margin-top:2rem}.message{display:flex}.message.user{justify-content:flex-end}.message.assistant{justify-content:flex-start}.bubble{max-width:75%;padding:.7rem 1rem;border-radius:14px;white-space:pre-wrap;line-height:1.4}.message.user .bubble{background:#4f46e5;color:#fff;border-bottom-right-radius:4px}.message.assistant .bubble{background:#1e293b;border-bottom-left-radius:4px}.composer{display:flex;gap:.75rem;padding:1rem 1.5rem 1.5rem;max-width:720px;width:100%;margin:0 auto;box-sizing:border-box}.composer input{flex:1;padding:.75rem 1rem;border-radius:10px;border:1px solid #334155;background:#1e293b;color:#e2e8f0;font-size:1rem}.composer button{padding:.75rem 1.25rem;border:none;border-radius:10px;background:#4f46e5;color:#fff;cursor:pointer;font-size:1rem}.composer button:disabled{opacity:.5;cursor:default}
