:root{--bg:#0b1020;--panel:#121830;--panel-2:#1b2342;--text:#e8ecf8;--muted:#95a0c2;--accent:#6c8cff;--accent-2:#8a6cff;--user:#2a3766;--agent:#182146;--danger:#ff6b6b;--radius:16px}*{box-sizing:border-box}html,body{background:radial-gradient(1200px 600px at 70% -10%, #1a2350 0%, var(--bg) 55%);height:100%;color:var(--text);margin:0;padding:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.shell{flex-direction:column;gap:14px;max-width:760px;height:100dvh;margin:0 auto;padding:18px;display:flex}.header{background:linear-gradient(180deg, var(--panel-2), var(--panel));border-radius:var(--radius);border:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand h1{margin:0;font-size:16px}.brand p{color:var(--muted);margin:2px 0 0;font-size:12px}.dot{background:linear-gradient(135deg, var(--accent), var(--accent-2));width:12px;height:12px;box-shadow:0 0 16px var(--accent);border-radius:50%}.header-right{align-items:center;gap:10px;display:flex}.nav{color:var(--accent);border:1px solid #6c8cff59;border-radius:999px;padding:4px 10px;font-size:12px;text-decoration:none}.nav:hover{background:#6c8cff1f}.nav-button{cursor:pointer;background:0 0;font-family:inherit}.auth-card{background:linear-gradient(180deg, var(--panel-2), var(--panel));border-radius:var(--radius);border:1px solid #ffffff0f;flex-direction:column;gap:22px;width:100%;max-width:380px;margin:auto;padding:28px 26px;display:flex}.auth-form{flex-direction:column;gap:8px;display:flex}.auth-form label{color:var(--muted);margin-top:8px;font-size:12px}.auth-form input{color:inherit;background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;padding:11px 12px;font-size:14px}.auth-form input:focus{border-color:#6c8cff8c;outline:none}.auth-form button{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#fff;cursor:pointer;border:none;border-radius:10px;margin-top:16px;padding:11px 12px;font-size:14px;font-weight:600}.auth-form button:disabled{opacity:.5;cursor:not-allowed}.auth-error{color:#ff8a8a;margin:4px 0 0;font-size:13px}.status{color:var(--muted);background:#ffffff0d;border-radius:999px;padding:4px 10px;font-size:12px}.status-streaming,.status-submitted{color:var(--accent)}.status-error{color:var(--danger)}.messages{flex-direction:column;flex:1;gap:12px;padding:8px 4px;display:flex;overflow-y:auto}.empty{text-align:center;color:var(--muted);margin:auto}.chips{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px;display:flex}.chips button{background:var(--panel-2);color:var(--text);cursor:pointer;border:1px solid #ffffff14;border-radius:999px;padding:8px 14px;font-size:13px}.chips button:hover{border-color:var(--accent)}.row{display:flex}.row-user{justify-content:flex-end}.row-assistant,.row-system{justify-content:flex-start}.bubble{white-space:pre-wrap;word-break:break-word;border-radius:14px;max-width:78%;padding:12px 15px;font-size:14px;line-height:1.5}.row-user .bubble{background:linear-gradient(135deg, var(--user), #33417a);border-top-right-radius:4px}.row-assistant .bubble{background:var(--agent);border:1px solid #ffffff0f;border-top-left-radius:4px}.bubble.error{border:1px solid var(--danger);color:#ffd5d5;background:#ff6b6b1f}.composer{background:var(--panel);border-radius:var(--radius);border:1px solid #ffffff0f;gap:10px;padding:10px;display:flex}.composer input{color:var(--text);background:0 0;border:none;outline:none;flex:1;padding:8px 10px;font-size:14px}.composer button{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#fff;cursor:pointer;border:none;border-radius:12px;padding:10px 18px;font-size:14px;font-weight:600}.composer button:disabled{opacity:.45;cursor:not-allowed}.auth-hint{color:var(--muted);text-align:center;margin:0;font-size:13px}.auth-card a{color:var(--accent);text-decoration:none}.auth-card a:hover{text-decoration:underline}.auth-card .nav-button,a.nav-button{text-align:center;color:var(--text);border:1px solid #ffffff1f;border-radius:10px;padding:10px 14px;font-size:13px;text-decoration:none;display:inline-block}.auth-card .nav-button:hover,a.nav-button:hover{border-color:var(--accent);text-decoration:none}.cf-turnstile{margin-top:12px}.landing{text-align:center;flex-direction:column;align-items:center;gap:18px;max-width:560px;margin:auto;padding:24px;display:flex}.landing h1{margin:0;font-size:30px;line-height:1.2}.landing p{color:var(--muted);margin:0;font-size:16px;line-height:1.6}.landing-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px;display:flex}.cta-primary,.cta-secondary{border-radius:12px;padding:12px 22px;font-size:15px;font-weight:600;text-decoration:none}.cta-primary{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#fff}.cta-secondary{color:var(--text);border:1px solid #ffffff24}.cta-primary:hover{opacity:.92}.cta-secondary:hover{border-color:var(--accent)}
