:root{--bg: #eef1f6;--surface: #ffffff;--surface-2: #f4f6fa;--border: #e2e6ee;--text: #1e2537;--muted: #6b7488;--primary: #4f46e5;--primary-hover: #4338ca;--primary-soft: #eef0fe;--font: "Inter", system-ui, -apple-system, sans-serif}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}.app{height:100%;max-width:480px;margin:0 auto;display:flex;flex-direction:column;background:var(--surface);border-left:1px solid var(--border);border-right:1px solid var(--border)}.chat-header{padding:16px 20px;border-bottom:1px solid var(--border);background:var(--surface)}.brand{display:flex;align-items:center;gap:12px}.logo{width:40px;height:40px;border-radius:10px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px}.brand .name{font-weight:600;font-size:16px}.brand .status{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.online{width:8px;height:8px;border-radius:50%;background:#22c55e}.demo-banner{padding:10px 16px;font-size:12px;line-height:1.45;color:var(--primary);background:var(--primary-soft);border-bottom:1px solid var(--border);text-align:center}.messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:12px;background:var(--surface-2)}.row{display:flex}.row.user{justify-content:flex-end}.row.assistant{justify-content:flex-start}.bubble{max-width:80%;padding:11px 15px;border-radius:14px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.row.user .bubble{background:var(--primary);color:#fff;border-bottom-right-radius:4px}.row.assistant .bubble{background:var(--surface);color:var(--text);border:1px solid var(--border);border-bottom-left-radius:4px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}.chip{font-family:var(--font);font-size:13px;color:var(--primary);background:var(--primary-soft);border:1px solid #d5d9f7;border-radius:999px;padding:8px 14px;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.chip:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.typing{display:flex;gap:5px;align-items:center}.typing span{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:blink 1.4s infinite both}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.3}40%{opacity:1}}.composer{display:flex;gap:10px;padding:14px 16px;border-top:1px solid var(--border);background:var(--surface)}.composer textarea{flex:1;resize:none;font-family:var(--font);font-size:14.5px;line-height:1.5;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:11px 14px;max-height:140px}.composer textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.composer textarea::placeholder{color:var(--muted)}.composer button{font-family:var(--font);font-weight:600;font-size:14.5px;color:#fff;background:var(--primary);border:none;border-radius:12px;padding:0 22px;cursor:pointer;transition:background .15s,opacity .15s}.composer button:hover:not(:disabled){background:var(--primary-hover)}.composer button:disabled{opacity:.5;cursor:not-allowed}.powered{text-align:center;font-size:11px;color:var(--muted);padding:8px;margin:0;background:var(--surface);border-top:1px solid var(--border)}@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}
