:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.chat-container{max-width:800px;margin:0 auto;height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#667eea,#764ba2)}.chat-header{background:#fffffff2;padding:1.5rem;box-shadow:0 2px 10px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chat-header h2{margin:0;color:#2d3748;font-size:1.5rem;font-weight:600}.chat-header p{margin:.25rem 0 0;color:#718096;font-size:.875rem}.chat-messages{flex:1;overflow-y:auto;padding:2rem;display:flex;flex-direction:column;gap:1rem}.chat-messages::-webkit-scrollbar{width:8px}.chat-messages::-webkit-scrollbar-track{background:#ffffff1a}.chat-messages::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#ffffff80}.message{display:flex;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message.user{justify-content:flex-end}.message.bot{justify-content:flex-start}.message-bubble{max-width:70%;padding:1rem 1.25rem;border-radius:1.25rem;word-wrap:break-word;box-shadow:0 2px 8px #0000001a}.message.user .message-bubble{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-bottom-right-radius:.25rem}.message.bot .message-bubble{background:#fff;color:#2d3748;border-bottom-left-radius:.25rem}.message-role{font-size:.75rem;font-weight:600;margin-bottom:.25rem;opacity:.8}.message-content{line-height:1.5}.typing-indicator{display:flex;align-items:center;gap:.5rem;padding:1rem 1.25rem;background:#fff;border-radius:1.25rem;max-width:70%;box-shadow:0 2px 8px #0000001a}.typing-dots{display:flex;gap:.25rem}.typing-dot{width:8px;height:8px;background:#cbd5e0;border-radius:50%;animation:bounce 1.4s infinite ease-in-out}.typing-dot:nth-child(1){animation-delay:-.32s}.typing-dot:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.chat-input-container{background:#fffffff2;padding:1.5rem;box-shadow:0 -2px 10px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chat-input-wrapper{display:flex;gap:.75rem;align-items:center}.chat-input{flex:1;padding:.875rem 1.25rem;border:2px solid #e2e8f0;border-radius:2rem;font-size:1rem;font-family:inherit;outline:none;transition:all .3s ease;background:#fff}.chat-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.chat-input::placeholder{color:#a0aec0}.send-button{padding:.875rem 1.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:2rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.send-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.send-button:active{transform:translateY(0)}.send-button:disabled{opacity:.6;cursor:not-allowed;transform:none}@media(max-width:768px){.chat-container{max-width:100%}.message-bubble{max-width:85%}.chat-header h2{font-size:1.25rem}}
