html{-webkit-text-size-adjust:100%;font-size:16px}body{color:#111827;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;margin:0;min-height:100vh}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}a{color:#0033a1;text-decoration:none;transition:color .2s ease}a:hover{color:#002060;text-decoration:underline}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}:focus-visible{outline:2px solid #0033a1;outline-offset:2px}::selection{background:#0033a133;color:#000}::-webkit-scrollbar{height:12px;width:12px}::-webkit-scrollbar-track{background:#f3f4f6}::-webkit-scrollbar-thumb{background:#d1d5db;background-clip:content-box;border:2px solid #0000;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#9ca3af}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.loading{opacity:.6;pointer-events:none}@media (max-width:768px){html{font-size:14px}}@media print{body{background:#fff;color:#000}}.result-card{animation:fadeInScale .5s ease-out;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px #0000000d;cursor:pointer;padding:1.5rem;transition:all .3s ease}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.result-card:hover{background:#fafbfc;border-color:#c7d2fe;box-shadow:0 10px 30px #0033a126;transform:translateY(-3px)}.result-card.selected{background:#e0e7ff;border-color:#818cf8;box-shadow:0 0 0 3px #0033a11a}.result-card.grid{display:flex;flex-direction:column;height:100%}.result-header{align-items:flex-start;display:flex;gap:1rem;margin-bottom:1rem}.file-icon{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));flex-shrink:0;font-size:2rem}.result-title-section{flex:1 1;min-width:0}.result-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#111827;display:-webkit-box;font-size:1.1rem;font-weight:600;line-height:1.3;margin:0 0 .5rem;overflow:hidden;text-overflow:ellipsis}.result-meta{align-items:center;display:flex;flex-wrap:wrap;font-size:.85rem;gap:.5rem}.file-type{background:#0033a11a;border-radius:12px;color:#0033a1;font-weight:600;padding:.2rem .6rem}.separator{color:#d1d5db}.last-modified,.version{color:#6b7280;font-weight:500}.version{background:#f3f4f6;border-radius:12px;padding:.2rem .6rem}.relevance-indicator{background:#e5e7eb;border-radius:2px;flex-shrink:0;height:4px;overflow:hidden;width:60px}.relevance-bar{background:currentColor;height:100%;transition:width .5s ease-out}.relevance-indicator.high .relevance-bar{background:#10b981}.relevance-indicator.medium .relevance-bar{background:#f59e0b}.relevance-indicator.low .relevance-bar{background:#ef4444}.result-content{flex:1 1;margin-bottom:1rem}.result-excerpt{-webkit-line-clamp:3;-webkit-box-orient:vertical;color:#4b5563;display:-webkit-box;font-size:.95rem;line-height:1.6;margin:0;overflow:hidden;text-overflow:ellipsis}.result-excerpt.highlighted mark{background:#fbbf2433;padding:.1rem .2rem}.result-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.tag{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:14px;color:#6b7280;font-size:.8rem;font-weight:500;padding:.3rem .8rem;transition:all .2s ease}.tag:hover{background:#e5e7eb;color:#374151}.tag.more{background:#0033a11a;border-color:#0033a133;color:#0033a1;font-weight:600}.result-actions{border-top:1px solid #f3f4f6;display:flex;gap:.5rem;padding-top:1rem}.action-button{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;justify-content:center;padding:.5rem;transition:all .2s ease}.action-button svg{fill:currentColor;height:18px;width:18px}.action-button:hover{background:#f3f4f6;border-color:#d1d5db;color:#374151;transform:translateY(-2px)}.action-button:active{transform:translateY(0)}.result-card:hover .result-title{color:#0033a1}.result-card:hover .relevance-bar{animation:pulse 1s ease-in-out infinite}@media (max-width:768px){.result-card{padding:1rem}.result-header{flex-wrap:wrap}.relevance-indicator{margin-bottom:.5rem;order:-1;width:100%}.file-icon{font-size:1.5rem}.result-title{font-size:1rem}}.chunk-id{background:#9333ea1a;border-radius:12px;color:#9333ea;font-size:.8rem;font-weight:500;padding:.2rem .6rem}.result-excerpt.semantic-caption{background:#1e40af0d;border-left:3px solid #1e40af;border-radius:6px;color:#1e40af;font-style:italic;padding:.5rem}.enriched-metadata{margin-bottom:1rem;min-height:24px}.metadata-tag{border-radius:14px;font-size:.8rem;gap:.3rem;line-height:1.2;max-width:250px;overflow:hidden;padding:.25rem .75rem;text-overflow:ellipsis;transition:all .2s ease;white-space:nowrap}.metadata-tag:hover{box-shadow:0 2px 8px #0000001a;max-width:none;position:relative;white-space:normal;z-index:10}.metadata-tag.language,.metadata-tag.sentiment{font-weight:600}.metadata-tag.sentiment.positive{background:#d1fae5;color:#065f46}.metadata-tag.sentiment.neutral{background:#e5e7eb;color:#374151}.metadata-tag.keyphrases{background:#fef3c7;color:#78350f}.metadata-tag.persons{background:#cffafe;color:#155e75}.metadata-tag.organizations{background:#e0e7ff;color:#312e81}.metadata-tag.locations{background:#ffe4e6;color:#881337}.result-card.semantic .relevance-indicator,.result-card.vector .relevance-indicator{display:none}.result-excerpt.highlighted mark{background:linear-gradient(105deg,#fbbf244d,#fbbf2433);border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#92400e;font-weight:600;padding:.1rem .3rem}@media (max-width:768px){.enriched-metadata{gap:.3rem}.metadata-tag{font-size:.75rem;padding:.2rem .6rem}.chunk-id{font-size:.75rem;padding:.15rem .5rem}}.chat-message{animation:messageSlideIn .3s ease-out;display:flex;gap:12px;margin-bottom:24px}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-message.user{flex-direction:row-reverse}.chat-message.user .message-content{background:#00a826;background:var(--sb-blue,#00a826);border-radius:18px 18px 4px 18px;color:#fff;max-width:70%}.user-message p{line-height:1.5;margin:0}.chat-message.assistant{flex-direction:row}.chat-message.assistant .message-content{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:18px 18px 18px 4px;max-width:85%}.message-avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.user-avatar{background:#117504;background:var(--sb-dark-blue,#117504);color:#fff}.assistant-avatar{background:#e5e7eb;color:#374151}.message-content{padding:16px 20px}.loading-state{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.loading-state p{color:#6b7280;font-size:.9rem;margin:0}.typing-indicator{display:flex;gap:4px;padding:8px 0}.typing-indicator span{animation:typing 1.4s ease-in-out infinite;background:#00a826;background:var(--sb-blue,#00a826);border-radius:50%;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:0s}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-8px)}}.direct-answer-card{margin-bottom:12px}.answer-label{align-items:center;display:flex;gap:10px;margin-bottom:8px}.ai-badge{background:linear-gradient(135deg,#00a826,#117504);background:linear-gradient(135deg,var(--sb-blue,#00a826),var(--sb-dark-blue,#117504));border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase}.confidence{color:#6b7280;font-size:.8rem}.answer-text{color:#1f2937;font-size:1rem;line-height:1.7}.answer-text p{margin:0 0 8px}.answer-text p:last-child{margin-bottom:0}.message-accordion{border-top:1px solid #e5e7eb;margin-top:12px;padding-top:12px}.accordion-trigger{align-items:center;background:none;border:none;border-radius:8px;color:#4b5563;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:8px;padding:8px 12px;text-align:left;transition:all .2s ease;width:100%}.accordion-trigger:hover{background:#e5e7eb;color:#1f2937}.accordion-trigger.expanded{background:#e5e7eb;color:#00a826;color:var(--sb-blue,#00a826)}.source-count{color:#9ca3af;font-weight:400}.accordion-content{animation:accordionExpand .3s ease-out;border-top:1px solid #e5e7eb;margin-top:16px;padding-top:16px}@keyframes accordionExpand{0%{max-height:0;opacity:0}to{max-height:2000px;opacity:1}}.detail-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;padding:16px}.detail-section h4{align-items:center;color:#1f2937;display:flex;font-size:.95rem;font-weight:600;gap:8px;margin:0 0 12px}.detail-section h4:before{background:#00a826;background:var(--sb-blue,#00a826);border-radius:2px;content:"";height:16px;width:4px}.semantic-answers-section .semantic-answer-item{background:#f0f9ff;border-left:3px solid #0ea5e9;border-radius:8px;margin-bottom:8px;padding:12px}.semantic-answer-item p{color:#1f2937;line-height:1.6;margin:0 0 4px}.semantic-answer-item .answer-score{color:#6b7280;font-size:.8rem}.ai-analysis-section .analysis-subsection{border-radius:8px;margin-bottom:16px;padding:12px}.analysis-subsection h5{color:#374151;font-size:.85rem;font-weight:600;margin:0 0 8px}.analysis-subsection ul{margin:0;padding-left:20px}.analysis-subsection li{font-size:.9rem;line-height:1.5;margin-bottom:6px}.analysis-subsection.key-points{background:#f0f9ff}.analysis-subsection.key-points li{color:#075985}.analysis-subsection.regulatory-info{background:#fef3c7}.analysis-subsection.regulatory-info li{color:#92400e}.analysis-subsection.recommended-actions{background:#d1fae5}.analysis-subsection.recommended-actions li{color:#065f46}.sources-section .results-mini-list{display:flex;flex-direction:column;gap:8px;max-height:400px;overflow-y:auto}.detail-disclaimer{background:#fef3c7;border:1px solid #fde68a;border-radius:8px;margin-top:16px;padding:12px}.detail-disclaimer p{color:#92400e;font-size:.8rem;line-height:1.4;margin:0}@media (max-width:768px){.chat-message.assistant .message-content,.chat-message.user .message-content{max-width:90%}.message-avatar{height:32px;width:32px}.message-content{padding:12px 16px}.detail-section{padding:12px}}.chat-input-wrapper{margin:0 auto;max-width:800px;position:relative;width:100%}.chat-input-box{align-items:flex-end;background:#fff;border:2px solid #e5e7eb;border-radius:24px;box-shadow:0 2px 8px #0000000d;display:flex;gap:8px;padding:8px 12px;transition:all .2s ease}.chat-input-box:focus-within{border-color:#00a826;border-color:var(--sb-blue,#00a826);box-shadow:0 4px 16px #00a82626}.input-actions-left{display:flex;gap:4px;padding-bottom:4px}.action-btn{align-items:center;background:#0000;border:none;border-radius:50%;color:#6b7280;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s ease;width:36px}.action-btn:hover{background:#f3f4f6;color:#374151}.action-btn.active{background:#6eb674;background:var(--sb-light-blue,#6eb674);color:#fff}.chat-textarea{background:#0000;border:none;color:#1f2937;flex:1 1;font-family:inherit;font-size:1rem;line-height:1.5;max-height:150px;min-height:40px;outline:none;padding:8px 4px;resize:none}.chat-textarea::placeholder{color:#9ca3af}.chat-textarea:disabled{background:#0000;cursor:not-allowed;opacity:.6}.send-btn{align-items:center;background:#00a826;background:var(--sb-blue,#00a826);border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:44px;justify-content:center;transition:all .2s ease;width:44px}.send-btn:hover:not(:disabled){background:#117504;background:var(--sb-dark-blue,#117504);transform:scale(1.05)}.send-btn:disabled{background:#d1d5db;cursor:not-allowed;transform:none}.image-processing-indicator{align-items:center;animation:fadeIn .3s ease-out;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px;display:flex;gap:10px;margin-top:8px;padding:12px 16px}.image-processing-indicator span{color:#0369a1;font-size:.875rem;font-weight:500}.processing-spinner{animation:spin .8s linear infinite;border:2px solid #bae6fd;border-radius:50%;border-top-color:#0284c7;height:18px;width:18px}.image-spinner{animation:spin .8s linear infinite;border:2px solid #d1d5db;border-radius:50%;border-top-color:#6b7280;height:16px;width:16px}.action-btn.image-btn.processing{cursor:not-allowed;opacity:.7}.input-footer{justify-content:space-between;padding:8px 16px 0}.input-footer,.mode-indicator{align-items:center;display:flex}.mode-indicator{color:#6b7280;font-size:.8rem;gap:4px}.input-hint{color:#9ca3af;font-size:.75rem}.settings-dropdown{animation:dropdownSlideUp .2s ease-out;background:#fff;border:1px solid #e5e7eb;border-radius:16px;bottom:100%;box-shadow:0 8px 24px #0000001f;left:0;margin-bottom:8px;min-width:280px;overflow:hidden;position:absolute;z-index:100}@keyframes dropdownSlideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.settings-header{border-bottom:1px solid #e5e7eb;padding:16px 20px 12px}.settings-header h4{color:#374151;font-size:.9rem;font-weight:600;margin:0}.mode-options{padding:8px}.mode-option{align-items:center;background:#0000;border:none;border-radius:12px;cursor:pointer;display:flex;gap:12px;padding:12px;text-align:left;transition:all .2s ease;width:100%}.mode-option:hover{background:#f9fafb}.mode-option.active{background:#ecfdf5}.mode-option .mode-icon{align-items:center;background:#f3f4f6;border-radius:8px;display:flex;font-size:1.25rem;height:32px;justify-content:center;width:32px}.mode-option.active .mode-icon{background:#6eb674;background:var(--sb-light-blue,#6eb674)}.mode-option .mode-info{display:flex;flex:1 1;flex-direction:column;gap:2px}.mode-option .mode-label{color:#1f2937;font-size:.9rem;font-weight:600}.mode-option .mode-description{color:#6b7280;font-size:.75rem}.mode-option .mode-check{color:#00a826;color:var(--sb-blue,#00a826);font-weight:600}@media (max-width:768px){.chat-input-wrapper{padding:0 12px}.chat-input-box{padding:6px 10px}.action-btn{height:32px;width:32px}.send-btn{height:40px;width:40px}.input-footer{align-items:flex-start;flex-direction:column;gap:4px}.settings-dropdown{left:12px;min-width:auto;right:12px}}.library-container{font-family:Arial,sans-serif;padding:1rem}.library-search{border:1px solid #ccc;border-radius:4px;font-size:1rem;margin-bottom:1rem;padding:.5rem;width:100%}.library-source{margin-bottom:.5rem}.library-source-header{background-color:initial;border:1px solid #00a826;border-radius:2rem;color:#555;cursor:pointer;font-weight:700;margin:.5rem 0;padding:.5rem;text-align:left;width:100%}.library-folder{margin-left:1rem}.library-folder-header{background-color:initial;border:1px solid #00a826;border-radius:2rem;color:#555;cursor:pointer;margin-bottom:.25rem;padding:.5rem;text-align:left;width:100%}.library-file{color:#666;margin-left:2rem}.library-chevron{margin-right:.5rem}.library-file{align-items:center;display:flex;gap:.5rem;padding:4px 0}.library-file .bullet{text-align:center;width:20px}.library-file.can-read .file-name{color:green;font-weight:500}.library-file.cannot-read .file-name{color:#999}.library-site-header{background-color:initial;border:1px solid #00a826;border-radius:2rem;color:#555;cursor:pointer;margin-bottom:.25rem;padding:.5rem;text-align:left;width:100%}.library-source-body{margin-left:.2rem}.library-site{margin-left:.5rem}.library-folder{margin-left:.75rem}.library-file-list{list-style:none;padding-left:0}.library-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:.75rem;justify-content:center;padding:2rem}.library-loading span{font-size:.9rem}.library-spinner{animation:spin 1s linear infinite;color:#00a826}.library-error{background:#fef2f2;border-radius:8px;color:#dc2626}.library-empty,.library-error{font-size:.9rem;padding:1.5rem;text-align:center}.library-empty{color:#6b7280}.library-search:disabled{background:#f3f4f6;cursor:not-allowed;opacity:.6}.chat-history-container{display:flex;flex-direction:column;height:100%;padding:.75rem}.new-chat-btn{align-items:center;background:#0000;border:2px dashed #00a826;border-radius:8px;color:#00a826;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;justify-content:center;margin-bottom:.75rem;padding:.75rem;transition:all .2s ease;width:100%}.new-chat-btn:hover{background:#00a826;border-style:solid;color:#fff}.chat-history-controls{display:flex;gap:.5rem;margin-bottom:.75rem}.chat-history-search-wrapper{flex:1 1;position:relative}.chat-history-search-wrapper .search-icon{color:#9ca3af;left:.75rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.chat-history-search{border:1px solid #e5e7eb;border-radius:6px;font-size:.85rem;outline:none;padding:.5rem .75rem .5rem 2rem;transition:border-color .2s;width:100%}.chat-history-search:focus{border-color:#00a826}.chat-history-search:disabled{background:#f3f4f6;cursor:not-allowed}.chat-history-refresh{background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;padding:.5rem;transition:all .2s ease}.chat-history-refresh:hover:not(:disabled){border-color:#00a826;color:#00a826}.chat-history-refresh:disabled{cursor:not-allowed;opacity:.5}.chat-history-refresh .spinning{animation:spin 1s linear infinite}.chat-history-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:.75rem;justify-content:center;padding:2rem}.chat-history-spinner{animation:spin 1s linear infinite;color:#00a826}.chat-history-error{background:#fef2f2;border-radius:8px;color:#dc2626;font-size:.9rem;padding:1.5rem;text-align:center}.chat-history-empty{color:#6b7280;padding:2rem 1rem;text-align:center}.chat-history-empty p{margin:0}.chat-history-empty-hint{color:#9ca3af;font-size:.85rem;margin-top:.5rem!important}.chat-history-list{flex:1 1;overflow-y:auto}.chat-history-group{margin-bottom:1rem}.chat-history-group-header{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;margin-bottom:.5rem;padding:.25rem .5rem;text-transform:uppercase}.chat-history-item{align-items:flex-start;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;margin-bottom:.25rem;padding:.75rem;position:relative;transition:all .2s ease}.chat-history-item:hover{background:#f3f4f6}.chat-history-item.active{background:#ecfdf5;border-left:3px solid #00a826}.chat-history-item-icon{align-items:center;background:#f3f4f6;border-radius:6px;color:#6b7280;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.chat-history-item.active .chat-history-item-icon{background:#00a826;color:#fff}.chat-history-item-content{flex:1 1;min-width:0;overflow:hidden}.chat-history-item-title{color:#1f2937;font-size:.9rem;font-weight:500}.chat-history-item-preview,.chat-history-item-title{margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-history-item-preview{color:#6b7280;font-size:.8rem}.chat-history-item-meta{align-items:center;color:#9ca3af;display:flex;font-size:.75rem;gap:.25rem}.meta-separator{margin:0 .125rem}.chat-history-item-actions{flex-shrink:0;position:relative}.chat-history-item-menu-btn{background:#0000;border:none;border-radius:4px;color:#9ca3af;cursor:pointer;opacity:0;padding:.25rem;transition:all .2s ease}.chat-history-item:hover .chat-history-item-menu-btn{opacity:1}.chat-history-item-menu-btn:hover{background:#e5e7eb;color:#374151}.chat-history-item-menu{background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 4px 12px #00000026;margin-top:.25rem;min-width:120px;position:absolute;right:0;top:100%;z-index:100}.chat-history-item-delete{align-items:center;background:#0000;border:none;color:#6b7280;cursor:pointer;display:flex;font-size:.85rem;gap:.5rem;padding:.5rem .75rem;text-align:left;transition:all .2s ease;width:100%}.chat-history-item-delete:hover{background:#fef2f2;color:#dc2626}.chat-history-item-delete.confirm{background:#dc2626;color:#fff}.chat-history-item-delete.confirm:hover{background:#b91c1c}.chat-history-load-more{background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;font-size:.85rem;margin-top:.5rem;padding:.75rem;transition:all .2s ease;width:100%}.chat-history-load-more:hover:not(:disabled){border-color:#00a826;color:#00a826}.chat-history-load-more:disabled{cursor:not-allowed;opacity:.5}.chat-history-total{color:#9ca3af;font-size:.75rem;padding:.5rem;text-align:center}.sidebar-tabs-container{display:flex;flex-direction:column;height:100%;overflow:hidden}.sidebar-tab-nav{background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;flex-shrink:0;gap:0;padding:.5rem}.sidebar-tab{align-items:center;background:#0000;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;flex:1 1;font-size:.85rem;font-weight:500;gap:.5rem;justify-content:center;padding:.5rem .75rem;transition:all .2s ease}.sidebar-tab:hover{background:#e9ecef;color:#374151}.sidebar-tab.active{background:#00a826;color:#fff}.sidebar-tab.active:hover{background:#009020}.sidebar-tab span{white-space:nowrap}.sidebar-tab-content{flex:1 1;overflow-x:hidden;overflow-y:auto}.sidebar-tab-content .library-container h3{display:none}.sidebar-tab-content .library-container{padding-top:.5rem}:root{--sb-blue:#00a826;--sb-light-blue:#6eb674;--sb-dark-blue:#117504;--sb-gray:#f5f5f5;--sb-dark-gray:#333;--sb-success:#2ed573;--sb-warning:#ffa502;--sb-error:#ff4757}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;color:var(--sb-dark-gray);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;overflow-x:hidden}.App,body{background:#fff}.App{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden}.app-header{background:#00a826;background:var(--sb-blue);box-shadow:0 2px 8px #00000026;box-sizing:border-box;height:56px;padding:0 1.5rem;position:-webkit-sticky;position:sticky;top:0;z-index:300}.app-header,.header-content{align-items:center;display:flex}.header-content{gap:1rem;justify-content:space-between;width:100%}.mobile-menu-btn{align-items:center;background:#ffffff1a;border:none;border-radius:8px;cursor:pointer;display:none;flex-direction:column;flex-shrink:0;gap:4px;height:40px;justify-content:center;padding:8px;transition:background .2s ease;width:40px}.mobile-menu-btn:hover{background:#fff3}.mobile-menu-btn:active{background:#ffffff40}.hamburger-line{background:#fff;border-radius:1px;height:2px;transition:all .2s ease;width:20px}.header-brand{gap:1rem}.header-brand,.sb-logo{align-items:center;display:flex;flex-shrink:0}.sb-logo img{height:32px;width:auto}.header-titles{display:flex;flex-direction:column;min-width:0}.app-title{color:#fff;font-size:1.1rem;font-weight:700;letter-spacing:-.3px;line-height:1.2;margin:0}.app-subtitle{color:#ffffffd9;font-size:.7rem;font-weight:400;line-height:1.3;margin:0}.header-info{align-items:center;display:flex;flex-shrink:0;gap:.75rem;margin-left:auto}.powered-by{background:#ffffff1f;border-radius:16px;padding:.4rem .875rem;white-space:nowrap}.powered-by,.saving-indicator{color:#ffffffe6;font-size:.75rem}.saving-indicator{animation:pulse 1.5s ease-in-out infinite;background:#00a8264d;border-radius:12px;margin-left:.5rem;padding:.25rem .75rem}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.app-container{flex:1 1;margin:0 auto;max-width:1400px;padding:2rem;width:100%}.search-section{background:#f5f5f5;background:var(--sb-gray);border-radius:12px;box-shadow:0 2px 4px #0000000d;margin-bottom:2rem;padding:2rem}.main-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr}.sidebar{gap:1.5rem}.results-section{background:#fff;border-radius:12px;box-shadow:0 2px 4px #0000000d;min-height:500px;padding:1.5rem}.loading-container{gap:1.5rem}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #0033a11a;border-radius:50%;border-top:4px solid var(--sb-blue);height:60px;width:60px}.loading-container p{color:#333;color:var(--sb-dark-gray);font-size:1.1rem}.app-footer{background:#f5f5f5;background:var(--sb-gray);border-top:1px solid #e0e0e0;flex-shrink:0;padding:.75rem 0}.footer-content{padding:0 1.5rem;text-align:center;width:100%}.footer-content p{color:#666;font-size:.8rem;margin:.25rem 0}.footer-links a{color:#00a826;color:var(--sb-blue);margin:0 1rem;text-decoration:none;transition:color .2s ease}.footer-links a:hover{color:#117504;color:var(--sb-dark-blue);text-decoration:underline}@media (max-width:768px){.header-content{gap:1rem;text-align:center}.header-brand,.header-content{flex-direction:column}.app-title{font-size:1.5rem}.app-container{padding:1rem}.sidebar{grid-template-columns:1fr}.footer-links a{display:block;margin:.5rem 0}}.fade-in{animation:fadeIn .5s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f5f5f5;background:var(--sb-gray);border-radius:4px}::-webkit-scrollbar-thumb{background:#6eb674;background:var(--sb-light-blue);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#00a826;background:var(--sb-blue)}.sb-button{background:#00a826;background:var(--sb-blue);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.sb-button:hover{background:#117504;background:var(--sb-dark-blue);box-shadow:0 4px 8px #0033a133;transform:translateY(-1px)}.sb-button:active{transform:translateY(0)}.sb-button:disabled{background:#ccc;cursor:not-allowed;transform:none}input,select,textarea{border:1px solid #ddd;border-radius:6px;font-size:1rem;padding:.75rem;transition:all .2s ease}input:focus,select:focus,textarea:focus{border-color:#00a826;border-color:var(--sb-blue);box-shadow:0 0 0 3px #0033a11a;outline:none}.card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d;padding:1.5rem;transition:all .2s ease}.card:hover{box-shadow:0 4px 12px #0000001a}.user-patterns-hint{animation:fadeIn .5s ease-out;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;margin-top:1rem;padding:1rem;text-align:center}.user-patterns-hint p{color:#0369a1;font-size:.9rem;margin:.25rem 0}.user-patterns-hint p:first-child{font-weight:600}.search-mode-info{color:#64748b;font-size:.9rem;font-style:italic;margin-top:.5rem}.loading-container{flex-direction:column;gap:1rem;min-height:400px}.search-mode-badge{align-items:center;background:#e0e7ff;border-radius:16px;color:#00a826;display:inline-flex;font-size:.85rem;font-weight:600;gap:.5rem;margin-left:.5rem;padding:.25rem .75rem}.semantic-answers{animation:slideInFromTop .5s ease-out;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #3b82f6;border-radius:12px;margin-bottom:1.5rem;padding:1.5rem}.semantic-answers h3{align-items:center;color:#1e40af;display:flex;font-size:1.1rem;gap:.5rem;margin:0 0 1rem}.semantic-answers .answer-item{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:.75rem;padding:1rem}.semantic-answers .answer-item:last-child{margin-bottom:0}.related-queries{background:#fefce8;border:1px solid #fef08a;border-radius:8px;margin-bottom:1rem;padding:1rem}.related-queries h4{color:#854d0e;font-size:.95rem;margin:0 0 .5rem}.related-queries .query-list{display:flex;flex-wrap:wrap;gap:.5rem}.related-queries .query-item{background:#fff;border:1px solid #fef08a;border-radius:16px;color:#854d0e;cursor:pointer;font-size:.85rem;padding:.25rem .75rem;transition:all .2s ease}.related-queries .query-item:hover{background:#fef3c7;border-color:#fcd34d}.enriched-metadata{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.metadata-tag{align-items:center;background:#f3f4f6;border-radius:12px;color:#4b5563;display:inline-flex;font-size:.75rem;font-weight:500;gap:.25rem;padding:.2rem .6rem}.metadata-tag.language{background:#dbeafe;color:#1e40af}.metadata-tag.sentiment{background:#d1fae5;color:#065f46}.metadata-tag.sentiment.negative{background:#fee2e2;color:#991b1b}.metadata-tag.entities{background:#e9d5ff;color:#6b21a8}.search-mode-indicator{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;display:inline-flex;font-size:.85rem;gap:.5rem;margin-bottom:1rem;padding:.5rem 1rem}.search-mode-indicator strong{color:#111827}@media (max-width:768px){.user-patterns-hint{font-size:.85rem;padding:.75rem}.enriched-metadata{gap:.25rem}.metadata-tag{font-size:.7rem;padding:.15rem .5rem}}.results-section.full-width{grid-column:1/-1;max-width:100%}.main-content:has(.results-section.full-width){grid-template-columns:1fr}@media (max-width:1024px){.main-content{grid-template-columns:1fr}.sidebar{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}}.avatar,.menu-container{flex-shrink:0}.avatar{align-items:center;background-color:#ffffff26;border:2px solid #fff6;border-radius:50%;cursor:pointer;display:flex;height:36px;justify-content:center;min-height:36px;min-width:36px;overflow:hidden;padding:0;transition:all .2s ease;width:36px}.avatar:hover{background-color:#ffffff40;border-color:#fff9}.avatar img{height:100%;object-fit:cover;width:100%}.avatar .icon{color:#fff;height:18px;width:18px}.avatar-container{align-items:center;display:flex;justify-content:flex-end}.submenu{background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 16px #0000001f;min-width:140px;overflow:hidden;position:absolute;right:0;top:calc(100% + 8px);z-index:400}.submenu-item{color:#374151;font-size:.9rem;padding:.75rem 1rem;transition:background .15s ease}.submenu-item:hover{background:#f3f4f6}.submenu-item:active{background:#e5e7eb}.submenu-item{background:none;border:none;border-bottom:1px solid #cfcece;cursor:pointer;display:block;padding:8px 12px;text-align:left;width:100%}.submenu-item:hover{background-color:#f0f0f0}.menu-container{align-content:center;display:inline-block;justify-content:center;position:relative}.main-container{display:flex;flex:1 1;min-height:0;overflow:hidden;position:relative}.sidebar-toggle-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 12px #0000001a;color:#374151;cursor:pointer;display:flex;height:44px;justify-content:center;left:16px;position:fixed;top:50%;transform:translateY(-50%);transition:all .2s ease;width:44px;z-index:50}.sidebar-toggle-btn:hover{background:#00a826;background:var(--sb-blue);border-color:#00a826;border-color:var(--sb-blue);color:#fff;transform:translateY(-50%) scale(1.05)}.sidebar{background:#fff;border-right:1px solid #e5e7eb;box-shadow:4px 0 24px #0000001a;display:flex;flex-direction:column;height:calc(100vh - 56px);left:0;max-height:calc(100vh - 56px);overflow:hidden;position:fixed;top:56px;transform:translateX(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);width:320px;z-index:200}.sidebar.open,.sidebar.pinned{transform:translateX(0)}.sidebar.pinned{border-right:1px solid #e5e7eb;box-shadow:none;height:calc(100vh - 56px);left:0;max-height:calc(100vh - 56px);position:fixed;top:56px}.sidebar-header{align-items:center;background:#f5f5f5;background:var(--sb-gray);border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;min-height:60px;padding:1rem 1.25rem}.sidebar-header h3{color:#1f2937;font-size:1rem;font-weight:600;margin:0}.sidebar-actions{display:flex;gap:4px}.sidebar-action-btn{align-items:center;background:#0000;border:none;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:32px}.sidebar-action-btn:hover{background:#e5e7eb;color:#374151}.sidebar-action-btn.active{background:#00a826;background:var(--sb-blue);color:#fff}.sidebar-content{flex:1 1;overflow-y:auto;padding:0}.sidebar-content .library-container h3{display:none}.sidebar-overlay{animation:fadeIn .2s ease-out;background:#0000004d;inset:0;position:fixed;z-index:150}.main-right{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow:hidden;transition:margin-left .3s ease}.main-right.sidebar-pinned{margin-left:320px}.chat-container{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;position:relative}.welcome-screen{align-items:center;display:flex;flex:1 1;justify-content:center;padding:2rem}.welcome-screen .welcome-content{max-width:600px;text-align:center}.welcome-screen .welcome-icon{animation:float 3s ease-in-out infinite;font-size:4rem;margin-bottom:1.5rem}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.welcome-screen h2{color:#00a826;color:var(--sb-blue);font-size:2rem;margin-bottom:.75rem}.welcome-screen>.welcome-content>p{color:#6b7280;font-size:1.1rem;margin-bottom:2rem}.welcome-features{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;margin-bottom:2.5rem}.welcome-feature{align-items:flex-start;background:#f9fafb;border-radius:12px;display:flex;gap:.75rem;max-width:180px;padding:1rem;text-align:left}.welcome-feature span{flex-shrink:0;font-size:1.5rem}.welcome-feature strong{color:#1f2937;display:block;font-size:.9rem;margin-bottom:.25rem}.welcome-feature p{color:#6b7280;font-size:.8rem;line-height:1.4;margin:0}.example-queries{background:#f5f5f5;background:var(--sb-gray);border-radius:12px;padding:1.5rem}.example-label{color:#6b7280;font-size:.9rem;margin-bottom:1rem}.example-buttons{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}.example-buttons button{background:#fff;border:1px solid #e5e7eb;border-radius:20px;color:#374151;cursor:pointer;font-size:.9rem;padding:.75rem 1rem;transition:all .2s ease}.example-buttons button:hover{background:#f0fdf4;border-color:#00a826;border-color:var(--sb-blue);color:#00a826;color:var(--sb-blue)}.chat-messages{display:flex;flex:1 1;flex-direction:column;gap:0;min-height:0;overflow-x:hidden;overflow-y:auto;padding:1.5rem 2rem 1rem;scroll-behavior:smooth}.chat-input-area{background:linear-gradient(180deg,#0000,#fff 20%);flex-shrink:0;padding:.75rem 2rem 1rem;transition:all .3s ease}.chat-input-area.centered{padding-top:0}.chat-input-area.anchored{background:#fff;border-top:1px solid #e5e7eb;bottom:0;box-shadow:0 -2px 10px #00000008;padding:.5rem 2rem;position:-webkit-sticky;position:sticky}@media (max-width:1200px){.app-header{padding:0 1rem}.header-brand{gap:.75rem}.app-title{font-size:1rem}.app-subtitle{font-size:.65rem}.chat-messages{padding:1rem 1.5rem}.chat-input-area{padding:.5rem 1.5rem .75rem}}@media (max-width:992px){.app-header{height:52px}.sidebar,.sidebar.pinned{height:calc(100vh - 52px);max-height:calc(100vh - 52px);top:52px}.sb-logo img{height:28px}.avatar{height:34px;min-height:34px;min-width:34px;width:34px}.avatar .icon{height:16px;width:16px}.header-info,.powered-by{display:none}}@media (max-width:768px){.App{height:auto;max-height:none;min-height:100vh;overflow-x:hidden;overflow-y:auto}.app-header{box-sizing:border-box;height:60px;padding:0 .75rem;position:fixed;width:100%}.header-content{gap:.5rem}.mobile-menu-btn{display:flex;order:-1}.sidebar-toggle-btn{display:none}.header-brand{flex:1 1;gap:.5rem;justify-content:center}.sb-logo img{height:24px}.header-titles{display:flex}.app-title{font-size:.9rem;line-height:1.1}.app-subtitle{display:block;font-size:.6rem;opacity:.85}.avatar{height:32px;min-height:32px;min-width:32px;width:32px}.avatar .icon{height:15px;width:15px}.main-container{flex-direction:column;min-height:calc(100vh - 60px);padding:60px 0 0}.sidebar{max-width:300px;width:85vw}.sidebar,.sidebar.pinned{height:calc(100vh - 60px);max-height:calc(100vh - 60px);top:60px}.main-right.sidebar-pinned{margin-left:0}.main-right{max-width:100%;min-height:auto;overflow:visible}.chat-container{height:auto;min-height:calc(100vh - 100px);overflow:visible}.chat-messages{min-height:0;overflow:visible;padding:.75rem}.chat-input-area,.chat-input-area.anchored{padding:.5rem .75rem}.welcome-screen{padding:1rem}.welcome-content{padding:0}.welcome-icon{font-size:2.5rem}.welcome-screen h2{font-size:1.4rem}.welcome-screen>.welcome-content>p{font-size:.9rem}.welcome-features{flex-direction:column;gap:.75rem;margin-top:1.25rem}.welcome-feature{padding:.75rem}.welcome-feature span{font-size:1.25rem}.welcome-feature strong{font-size:.9rem}.welcome-feature p{font-size:.8rem}.app-footer{padding:.5rem 0}.footer-content p{font-size:.7rem;margin:.15rem 0}.footer-links a{font-size:.7rem;margin:0 .4rem}}@media (max-width:480px){.app-header{height:56px;padding:0 .5rem}.mobile-menu-btn{height:36px;padding:6px;width:36px}.hamburger-line{width:18px}.header-brand{gap:.4rem}.sb-logo img{height:20px}.app-title{font-size:.8rem}.app-subtitle{font-size:.55rem}.avatar{height:30px;min-height:30px;min-width:30px;width:30px}.main-container{min-height:calc(100vh - 56px);padding-top:56px}.sidebar{border-radius:0;max-width:none;width:100vw}.sidebar,.sidebar.pinned{height:calc(100vh - 56px);max-height:calc(100vh - 56px);top:56px}.chat-container{min-height:calc(100vh - 96px)}.chat-input-area,.chat-messages{padding:.5rem}.welcome-icon{font-size:2rem}.welcome-screen h2{font-size:1.2rem}}@media (max-height:700px){.app-footer{padding:.5rem 0}.footer-content p{margin:0}.welcome-screen{padding:1rem}.welcome-screen h2{font-size:1.5rem}.welcome-screen p{font-size:.9rem}}.loading-container{align-items:center;background-image:linear-gradient(to bottom right,#f0fdf4,#dcfce7);display:flex;justify-content:center;min-height:100vh}.text-center{text-align:center}.items-center{align-items:center}.flex{display:flex}.animated-bg-div{animation:spin 1s linear infinite;border-bottom:2px solid #16a34a;border-radius:9999px;height:3rem;margin-left:auto;margin-right:auto;width:3rem}p.mt4-text-gray-600{color:#4b5563;margin-top:1rem}div.main-container-login{align-items:center;background-image:linear-gradient(to bottom right,#f0fdf4,#fff,#f0fdf4);display:flex;justify-content:center;min-height:100vh;overflow:hidden;position:relative;width:100%}div.animated-blobs-top{animation:blob-top 7s ease-in-out infinite;background-color:#bbf7d0;border-radius:9999px;filter:blur(24px);height:18rem;left:2.5rem;mix-blend-mode:multiply;opacity:.3;position:absolute;top:5rem;width:18rem;will-change:transform}@keyframes blob-top{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-50px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.9)}}@media (prefers-reduced-motion:reduce){.animated-blobs-top{animation:none}}div.animated-blobs-mid{animation:blob-mid 7s ease-in-out infinite;animation-delay:2s;background-color:#e9d5ff;border-radius:9999px;filter:blur(24px);height:18rem;mix-blend-mode:multiply;opacity:.3;position:absolute;right:2.5rem;top:10rem;width:18rem;will-change:transform}@keyframes blob-mid{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-50px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.9)}}@media (prefers-reduced-motion:reduce){.animated-blobs-mid{animation:none}}div.animated-blobs-end{animation:blob-end 7s ease-in-out infinite;animation-delay:4s;background-color:#fbcfe8;border-radius:9999px;bottom:-2rem;filter:blur(24px);height:18rem;left:5rem;mix-blend-mode:multiply;opacity:.3;position:absolute;width:18rem;will-change:transform}@keyframes blob-end{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-50px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.9)}}@media (prefers-reduced-motion:reduce){.animated-blobs-end{animation:none}}div.inner-container{background-opacity:.95;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#fff;border-radius:1.5rem;box-shadow:0 25px 50px -12px #00000040;margin-left:1rem;margin-right:1rem;max-width:28rem;padding:3rem;position:relative;width:100%;z-index:10}.mb-8{margin-bottom:2rem}div.logo-container{display:flex;justify-content:center;margin-bottom:1.5rem}h1.title-header{color:#111827;font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-bottom:.5rem}.text-gray600{color:#4b5563}div.graphics-container{align-items:center;color:#6b7280;display:flex;font-size:.875rem;justify-content:center;line-height:1.25rem;margin-bottom:1.5rem}.graphics-container>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.icon-style{color:#16a34a;height:1rem;margin-right:.25rem;width:1rem}.button-base{align-items:center;border-radius:.75rem;color:#fff;display:flex;font-weight:600;justify-content:center;padding:1rem 1.5rem;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}.button-base>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.button-enabled{background-image:linear-gradient(90deg,#22c55e,#16a34a);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.button-enabled:hover{background-image:linear-gradient(90deg,#16a34a,#15803d);box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;transform:scale(1.05)}.button-signin{background-color:#9ca3af;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.button-base{transition:none}.button-enabled:hover{transform:none}}.twx-spin-circle--f2d8a{animation:spin 1s linear infinite;border-bottom:2px solid #fff;border-radius:9999px;height:1.25rem;width:1.25rem}@keyframes spin{to{transform:rotate(1turn)}}.w-5{width:1.25rem}.h-5{height:1.25rem}.error-container{background-color:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;color:#dc2626;font-size:.875rem;line-height:1.25rem;margin-top:1rem;padding:.75rem;text-align:center}.terms-consent{color:#6b7280;font-size:.75rem;line-height:1rem;margin-top:2rem;text-align:center}.mt-1{margin-top:.25rem}
/*# sourceMappingURL=main.dfe0e439.css.map*/