.app{max-width:1000px;margin:0 auto;height:100vh;display:flex;flex-direction:column;background-color:#f9fafb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.header{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a;padding:1rem}.header-content{display:flex;align-items:center;justify-content:space-between}.header-info{display:flex;align-items:center;gap:.75rem}.header-icon{width:2rem;height:2rem;color:#3b82f6}.header h1{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.connection-status{font-size:.875rem;margin:0}.connected{color:#10b981}.disconnected{color:#ef4444}.messages-container{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:1rem}.message{display:flex}.message.user{justify-content:flex-end}.message.bot{justify-content:flex-start}.message-content{max-width:70%;padding:.75rem 1rem;border-radius:.5rem}.message.user .message-content{background-color:#3b82f6;color:#fff}.message.bot .message-content{background-color:#fff;color:#374151;border:1px solid #e5e7eb}.message-header{display:flex;align-items:flex-start;gap:.5rem}.message-icon{width:1rem;height:1rem;margin-top:.125rem;flex-shrink:0}.bot-icon{color:#3b82f6}.user-icon{color:currentColor}.message-text{font-size:.875rem;white-space:pre-wrap;line-height:1.5}.typing-indicator{display:flex;gap:.25rem;align-items:center}.typing-dot{width:.5rem;height:.5rem;background-color:#9ca3af;border-radius:50%;animation:typing 1.4s infinite ease-in-out}.typing-dot:nth-child(1){animation-delay:-.32s}.typing-dot:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.input-container{padding:1rem;background:#fff;border-top:1px solid #e5e7eb}.input-wrapper{display:flex;gap:.5rem;align-items:flex-end}.message-input{flex:1;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;font-family:inherit;outline:none;transition:border-color .2s;resize:none;overflow:hidden;line-height:1.5;min-height:42px}.message-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.message-input:disabled{background-color:#f3f4f6;color:#9ca3af;cursor:not-allowed}.send-button{padding:.75rem;background-color:#3b82f6;color:#fff;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center;flex-shrink:0;height:42px}.send-button:hover:not(:disabled){background-color:#2563eb}.send-button:disabled{background-color:#9ca3af;cursor:not-allowed}.send-icon{width:1rem;height:1rem}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:.5rem;max-width:800px;max-height:80vh;width:100%;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.modal-header h2{margin:0;font-size:1.25rem;font-weight:700;color:#111827}.modal-close{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:.25rem;border-radius:.25rem;transition:background-color .2s}.modal-close:hover{background:#e5e7eb}.modal-body{padding:1.5rem;overflow-y:auto;max-height:calc(80vh - 120px)}.practice-meta{display:flex;gap:1rem;margin-bottom:1.5rem;font-size:.875rem}.practice-category{background:#3b82f6;color:#fff;padding:.25rem .75rem;border-radius:1rem;font-weight:500}.practice-time{background:#10b981;color:#fff;padding:.25rem .75rem;border-radius:1rem}.practice-level{background:#f59e0b;color:#fff;padding:.25rem .75rem;border-radius:1rem;text-transform:capitalize}.practice-content{line-height:1.7;color:#374151}.practice-content strong{color:#111827;font-size:1.1em;margin-top:1rem;margin-bottom:.5rem;display:block}@media (max-width: 768px){.modal-content{margin:1rem;max-height:90vh}.modal-header{padding:1rem}.modal-body{padding:1rem;max-height:calc(90vh - 100px)}.practice-meta{flex-direction:column;gap:.5rem}}.practice-content h1,.practice-h1{font-size:1.5rem;font-weight:700;color:#111827;margin-top:1.5rem;margin-bottom:.5rem}.practice-content h2,.practice-h2{font-size:1.25rem;font-weight:600;color:#111827;margin-top:1.25rem;margin-bottom:.3rem}.practice-content h3,.practice-h3{font-size:1.1rem;font-weight:600;color:#111827;margin-top:1rem;margin-bottom:.3rem}.practice-content p,.practice-p{margin-bottom:1rem;line-height:1.6}.practice-content a{color:#3b82f6;text-decoration:underline;font-weight:500}.practice-content a:hover{color:#2563eb}.practice-content li,.practice-li{margin-bottom:.5rem;margin-left:1.5rem;list-style-type:disc}.practice-content h2:contains("Want to Automate")+br+a,.practice-content h2+br+a{display:inline-block;margin-top:.25rem;margin-bottom:1rem}.attachment-button{padding:.75rem;background-color:#f3f4f6;color:#6b7280;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;flex-shrink:0;height:42px}.attachment-button:hover:not(:disabled){background-color:#e5e7eb;color:#374151}.attachment-button:disabled{background-color:#f9fafb;color:#d1d5db;cursor:not-allowed}.attachment-icon{width:1rem;height:1rem}.attachment-preview{display:flex;align-items:center;justify-content:space-between;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;padding:.75rem 1rem;margin-bottom:.5rem}.attachment-info{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#1e40af}.attachment-name{font-weight:500}.attachment-size{color:#6b7280;font-size:.75rem}.remove-attachment{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;border-radius:.25rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.remove-attachment:hover:not(:disabled){background-color:#fee2e2;color:#dc2626}.remove-attachment:disabled{opacity:.5;cursor:not-allowed}.message-image{margin-bottom:.5rem}.message-image img{border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a}@media (max-width: 768px){.attachment-preview{flex-direction:column;align-items:flex-start;gap:.5rem}.attachment-info{flex:1}.remove-attachment{align-self:flex-end}}
