body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#0f172a;color:#e5e7eb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box}.app{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin:0 auto;max-width:1200px;padding:20px}.header{background:#0000;color:#e5e7eb;margin-bottom:32px;padding:12px 0;text-align:center}.header h1{font-size:2.5em;margin:0 0 10px}.header p{margin:0;opacity:.9}.main{display:flex;flex-direction:column;gap:30px}.upload-section{background:#111827;border:1px solid #1f2937;border-radius:10px;box-shadow:0 4px 6px #0000004d;padding:30px}.upload-section h2{color:#e5e7eb;margin-top:0}.upload-area{border:2px dashed #374151;border-radius:8px;display:flex;flex-direction:column;gap:2px;padding:16px 20px;text-align:center}.upload-area p{margin:0}.file-input-hidden{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.file-picker-row{align-items:center;display:flex;gap:12px;justify-content:flex-start}.choose-btn{background:#1f2937;border:1px solid #334155;border-radius:6px;color:#e5e7eb;cursor:pointer;padding:8px 12px}.choose-btn:hover{background:#111827}.selected-name{background:#0b1220;border:1px solid #1f2937;border-radius:8px;color:#e5e7eb;max-width:480px;overflow:hidden;padding:8px 12px;text-overflow:ellipsis;white-space:nowrap}.file-list{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 16px}.upload-controls{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.file-item{align-items:center;background:#1f2937;border:1px solid #334155;border-radius:9999px;color:#e5e7eb;display:inline-flex;gap:8px;padding:6px 10px}.file-name{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clear-file-btn{align-items:center;background:#334155;border:1px solid #475569;border-radius:50%;color:#e5e7eb;cursor:pointer;display:inline-flex;font-size:12px;height:20px;justify-content:center;line-height:1;padding:0;width:20px}.clear-file-btn:hover{background:#ef4444;border-color:#ef4444;color:#fff}.file-input{background:#0000;border:none;color:#0000;padding:0;width:150px}.file-input::-webkit-file-upload-button{background:#1f2937;border:1px solid #334155;border-radius:6px;color:#e5e7eb;cursor:pointer;font-size:14px;margin-right:0;padding:8px 12px}.file-input::file-selector-button{background:#1f2937;border:1px solid #334155;border-radius:6px;color:#e5e7eb;cursor:pointer;font-size:14px;margin-right:0;padding:8px 12px}.file-input::-webkit-file-upload-button:hover{background:#111827}.file-input::-webkit-file-upload-button:hover,.file-input::file-selector-button:hover{background:#111827}.upload-btn{background:#2563eb;border:none;border-radius:6px;color:#e5e7eb;cursor:pointer;font-size:16px;overflow:visible;padding:12px 24px;text-overflow:clip;transition:background .2s;white-space:nowrap}.upload-btn:hover:not(:disabled){background:#1d4ed8}.upload-btn:disabled{background:#4b5563;cursor:not-allowed}.error{background:#2f1d1d;border:1px solid #7f1d1d;border-radius:5px;color:#fca5a5;margin-top:10px;padding:10px}.results-section{background:#0b1220;border:1px solid #1f2937;border-radius:10px;box-shadow:0 4px 6px #0000004d;padding:30px}.results-section h2{color:#e5e7eb;margin-top:0}.result-card{background:#0f172a;border:1px solid #1f2937;border-radius:8px;margin-bottom:20px;padding:20px}.result-card h3{color:#f3f4f6;margin:0 0 15px}.document-type,.risk-score{color:#cbd5e1;font-size:16px;margin:10px 0}.insights,.recommendations{margin:25px 0}.insights h3,.recommendations h3{color:#e5e7eb;margin-bottom:15px}.insights ul,.recommendations ul{list-style-type:none;padding:0}.insights li,.recommendations li{background:#111827;border-left:4px solid #2563eb;border-radius:5px;margin:8px 0;padding:10px 15px}.read-more-btn{background:#374151;border:1px solid #4b5563;border-radius:4px;color:#e5e7eb;cursor:pointer;font-size:12px;margin-top:8px;padding:4px 8px;transition:background .2s}.read-more-btn:hover{background:#4b5563}.chat-section{background:#0b1220;border:1px solid #1f2937;border-radius:8px;margin-top:25px;padding:20px}.chat-section h3{color:#e5e7eb;margin-top:0}.chat-input{display:flex;gap:10px;margin-bottom:15px}.chat-input input{background:#0b1220;border:1px solid #374151;border-radius:5px;color:#e5e7eb;flex:1 1;font-size:16px;padding:10px}.chat-input input::placeholder{color:#9ca3af}.chat-btn{background:#059669;border:none;border-radius:5px;color:#e5e7eb;cursor:pointer;font-size:18px;padding:10px 15px}.chat-btn:hover:not(:disabled){background:#047857}.chat-btn:disabled{background:#4b5563;cursor:not-allowed}.chat-answer{background:#0f172a;border:1px solid #1f2937;border-radius:5px;padding:15px}.chat-answer strong{color:#e5e7eb;display:block;margin-bottom:8px}.chat-answer p{color:#cbd5e1;line-height:1.6;margin:0}@media (max-width:768px){.app{padding:10px}.header h1{font-size:2em}.results-section,.upload-section{padding:20px}}.history-section{background:#1f2937;border:1px solid #374151;border-radius:8px;margin-top:20px;padding:20px}.history-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.history-header h3{color:#f9fafb;margin:0}.toggle-history-btn{background:#374151;border:1px solid #4b5563;border-radius:6px;color:#f9fafb;cursor:pointer;font-size:14px;padding:8px 16px}.toggle-history-btn:hover{background:#4b5563}.conversations-list{max-height:400px;overflow-y:auto}.conversation-item{background:#111827;border:1px solid #374151;border-radius:6px;margin-bottom:10px;padding:15px}.conversation-header{align-items:center;color:#9ca3af;display:flex;font-size:12px;justify-content:space-between;margin-bottom:10px}.document-name{color:#3b82f6;font-weight:700}.timestamp{color:#6b7280}.conversation-content{color:#f9fafb}.conversation-content .question{color:#e5e7eb;margin-bottom:8px}.conversation-content .answer{color:#d1d5db;line-height:1.5}.App{background:#0f172a;color:#e2e8f0;min-height:100vh}.app-header{background:#1e293b;border-bottom:1px solid #334155;padding:.75rem 1rem}.app-header-inner{align-items:center;display:flex;gap:.75rem;margin:0 auto;max-width:1100px}.sidebar-toggle{background:none;border:none;border-radius:6px;color:#e2e8f0;cursor:pointer;padding:.5rem;transition:background-color .2s}.sidebar-toggle:hover{background:#334155}.app-container{display:flex;height:calc(100vh - 80px)}.sidebar{background:#1e293b;border-right:1px solid #334155;display:flex;flex-direction:column;width:300px}.sidebar-header{align-items:center;border-bottom:1px solid #334155;display:flex;justify-content:space-between;padding:1.5rem}.sidebar-header h2{font-size:1.25rem;font-weight:600;margin:0}.new-chat-button{align-items:center;background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.5rem 1rem;transition:background-color .2s}.new-chat-button:hover{background:#2563eb}.threads-list{flex:1 1;overflow-y:auto;padding:1rem}.no-threads{color:#94a3b8;padding:2rem 1rem;text-align:center}.no-threads p{margin:.5rem 0}.thread-item{align-items:center;background:#334155;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:.5rem;padding:.75rem;transition:background-color .2s}.thread-item:hover{background:#475569}.thread-item.active{background:#3b82f6}.thread-content{flex:1 1;min-width:0}.thread-title{font-weight:500;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-meta{color:#94a3b8;display:flex;font-size:.75rem;justify-content:space-between}.delete-thread-button{background:none;border:none;border-radius:4px;color:#ef4444;cursor:pointer;opacity:0;padding:.25rem;transition:opacity .2s}.thread-item:hover .delete-thread-button{opacity:1}.delete-thread-button:hover{background:#dc2626;color:#fff}.main-content{overflow-x:hidden;overflow-y:auto}.chat-interface-container,.main-content{display:flex;flex:1 1;flex-direction:column}.chat-interface-container{min-height:0}.chat-container{background:#0f172a;display:flex;flex-direction:column;height:100%}.messages-container{display:flex;flex:1 1;flex-direction:column;gap:1rem;overflow-y:auto;padding:1rem}.empty-chat,.no-thread-message{color:#94a3b8;padding:2rem;text-align:center}.message{display:flex;margin-bottom:1rem}.user-message{justify-content:flex-end}.assistant-message{justify-content:flex-start}.message-content{border-radius:12px;max-width:70%;padding:.75rem 1rem;position:relative}.user-message .message-content{background:#3b82f6;border-bottom-right-radius:4px;color:#fff}.assistant-message .message-content{background:#334155;border-bottom-left-radius:4px;color:#e2e8f0}.message-text{line-height:1.5;margin-bottom:.5rem}.message-timestamp{font-size:.75rem;opacity:.7;text-align:right}.typing-indicator{display:flex;gap:.25rem;padding:.5rem}.typing-indicator span{animation:typing 1.4s ease-in-out infinite;background:#94a3b8;border-radius:50%;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{opacity:.5;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.input-container{background:#1e293b;border-top:1px solid #334155;padding:1rem}.input-wrapper{align-items:flex-end;display:flex;gap:.5rem}.message-input{background:#334155;border:1px solid #475569;border-radius:8px;color:#e2e8f0;flex:1 1;font-family:inherit;max-height:120px;min-height:40px;padding:.75rem;resize:none}.message-input:focus{border-color:#3b82f6;outline:none}.message-input::placeholder{color:#94a3b8}.send-button{align-items:center;background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;min-width:40px;padding:.75rem;transition:background-color .2s}.send-button:hover:not(:disabled){background:#2563eb}.send-button:disabled{background:#475569;cursor:not-allowed}
/*# sourceMappingURL=main.ae556a2e.css.map*/