:root{font-family:Inter,SF Pro Display,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#f5f7ff;background-color:#080b13;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body{height:100%}*{box-sizing:border-box}body{margin:0;height:100%;min-height:100vh;background:radial-gradient(circle at top,rgba(80,108,255,.25),transparent 55%),#05060b;color:inherit;overflow:hidden}#root{height:100%;min-height:100vh}textarea,button{font:inherit}@layer components{.app-shell{height:100vh;max-width:960px;width:min(960px,100%);margin:0 auto;padding:2rem 1.5rem 3rem;display:flex;flex-direction:column;gap:2rem;overflow:hidden}.hero{display:flex;flex-direction:column;gap:1rem;background:linear-gradient(135deg,#090e1a,#111b2f);border:1px solid rgba(100,108,255,.3);border-radius:20px;padding:1.75rem;color:#f3f7ff}.hero-headline{display:flex;flex-direction:column;gap:.75rem}.hero-title-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.hero-title-row h1{flex:1}.header-clear{width:2.25rem;height:2.25rem;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:#ffffff1a;color:#f9fbff;cursor:pointer;display:none;align-items:center;justify-content:center;font-size:1.2rem;line-height:1;box-shadow:0 8px 18px #00000040}.header-clear:disabled{opacity:.5;cursor:not-allowed}.hero h1{font-size:clamp(2rem,3vw,2.5rem);margin:0}.subtitle{color:#f3f7ffcc;margin:0}.eyebrow{text-transform:uppercase;font-size:.75rem;letter-spacing:.2em;margin:0;color:#fff9}.chat-panel{display:flex;flex-direction:column;gap:1rem;flex:1;min-height:0;overflow:hidden}.chat-window{flex:1;min-height:320px;background-color:#ffffff05;border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:1.5rem;overflow:hidden;display:flex;flex-direction:column}.message-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem;flex:1;min-height:0;overflow-y:auto}.message{max-width:80%;padding:1rem;border-radius:16px;background-color:#ffffff0d;border:1px solid rgba(255,255,255,.1)}.message.user{align-self:flex-end;background:linear-gradient(135deg,#5a5dff,#2c7bff);color:#fff}.message.assistant{align-self:flex-start}.message-role{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;opacity:.7}.message-body{margin:.4rem 0 0;line-height:1.6}.message-body :is(p,ul,ol){margin:.4rem 0}.message-body ul,.message-body ol{padding-left:1.25rem}.message-body li+li{margin-top:.25rem}.message-body strong{font-weight:600}.message-body em{font-style:italic}.message-body code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;background-color:#ffffff14;padding:.15rem .35rem;border-radius:6px;font-size:.9em}.message-body pre{background-color:#00000059;padding:.75rem 1rem;border-radius:12px;overflow-x:auto}.message-body pre code{background:transparent;padding:0}.empty-state{height:100%;display:flex;align-items:center;justify-content:center;color:#ffffff80}.composer{display:flex;flex-direction:column;gap:.75rem;background-color:#ffffff05;border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:1.25rem}.composer-input-row{display:flex;gap:.75rem;align-items:flex-end}.composer textarea{width:100%;resize:none;border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:.9rem 1rem;font-size:1rem;font-family:inherit;background-color:transparent;color:inherit}.send-inline{border-radius:50%;border:1px solid rgba(255,255,255,.2);background:linear-gradient(135deg,#7a5af8,#6246ea);color:#fff;width:2.5rem;height:2.5rem;display:none;align-items:center;justify-content:center;font-size:1rem;cursor:pointer}.send-inline:disabled{opacity:.6;cursor:not-allowed}.composer textarea:disabled{opacity:.5}.composer-actions{display:flex;justify-content:space-between;gap:.75rem}button{border-radius:999px;border:1px solid transparent;padding:.65rem 1.4rem;font-size:.95rem;font-weight:600;font-family:inherit;cursor:pointer;transition:transform .15s ease,opacity .15s ease}button.ghost{background-color:transparent;border-color:#ffffff4d;color:inherit}button:not(.ghost){background:linear-gradient(135deg,#7a5af8,#6246ea);color:#fff}button:disabled{opacity:.6;cursor:not-allowed}.error-banner{padding:.75rem 1rem;border-radius:12px;background-color:#ff567226;border:1px solid rgba(255,86,114,.4);color:#ffb4c1}@media(max-width:640px){.app-shell{padding:1.25rem 1rem 2rem;height:100vh}.hero{padding:1.25rem;gap:.5rem}.hero .eyebrow,.hero .subtitle{display:none}.hero h1{font-size:1.6rem}.chat-window{padding:1rem}.composer{padding:1rem;gap:.5rem}.composer-input-row{align-items:center}.send-inline{display:inline-flex}.message-body{font-size:.95rem}.message{max-width:100%}.composer-actions{flex-direction:column}.composer-actions button[type=submit],.composer-actions .ghost{display:none}.header-clear{display:inline-flex}button{width:100%}}@media(min-width:641px){.header-clear{display:none}.composer-actions .ghost,.composer-actions button[type=submit]{display:inline-flex}}}
