@charset "UTF-8";:root{font-family:Manrope,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-size:14px}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;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}ul,ol{padding-left:24px;margin:0;list-style-position:outside}ul li,ol li{margin:4px 0;line-height:1.5;display:list-item}ul li p,ol li p{margin:0;padding:0;display:inline}ul li strong,ol li strong,ul li code,ol li code{display:inline}ul li ul,ul li ol,ol li ul,ol li ol{display:block;margin:8px 0 0}.chat-message.streaming{position:relative}.streaming-indicator{display:flex;align-items:center;gap:8px;margin-top:8px;padding:6px 12px;background:#3b82f61a;border-radius:8px;font-size:12px;color:#6b7280}.streaming-indicator .typing-dots{margin:0;min-height:16px}.streaming-indicator span:not(.typing-dots span){font-style:italic}.streaming-controls{display:flex;align-items:center;gap:16px;margin-bottom:12px;padding:8px 16px;background:#f9fafbcc;border-radius:8px;border:1px solid #e5e7eb}.streaming-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#374151;-webkit-user-select:none;user-select:none}.streaming-toggle input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#3b82f6;cursor:pointer}.streaming-toggle input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}.streaming-toggle span{cursor:inherit}.streaming-toggle:has(input:disabled){opacity:.6;cursor:not-allowed}.streaming-toggle:has(input:disabled) span{cursor:not-allowed}.stop-streaming-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#ef4444;color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.stop-streaming-btn:hover{background:#dc2626;transform:translateY(-1px)}.stop-streaming-btn:active{transform:translateY(0)}.stop-streaming-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.stop-streaming-btn:disabled:hover{background:#ef4444;transform:none}.chat-container.streaming-active .chat-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#3b82f6,transparent);animation:streamingActive 3s infinite}@keyframes streamingActive{0%,to{transform:translate(-100%)}50%{transform:translate(100%)}}.chat-message{transition:all .3s ease}.chat-message.streaming{border-left:3px solid #3b82f6;background:linear-gradient(135deg,#3b82f605,#3b82f60d)}@media (max-width: 768px){.streaming-controls{flex-direction:column;gap:8px;align-items:stretch}.streaming-controls .streaming-toggle{justify-content:center}.streaming-controls .stop-streaming-btn{align-self:center;min-width:120px;justify-content:center}}.chat-container{display:flex;flex-direction:column;height:100vh;width:100vw;position:fixed;inset:0;border-radius:20px;overflow:hidden}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;position:relative;width:100%;top:0;z-index:10;box-sizing:border-box}.chat-header-left{display:flex;align-items:center;gap:10px;flex:1}.logo{width:25px;height:25px}.client-name{font-size:18px;font-weight:700}.chat-header-right{display:flex;align-items:center;gap:10px}.chat-header-right button{font-size:16px;cursor:pointer;background:transparent;border:none;padding:8px;border-radius:4px;transition:background-color .2s ease}.chat-header-right button:hover{background-color:#ffffff1a}.chat-header-right button svg{width:20px;height:20px;display:block}.chat-body{flex:1;padding:20px 15px;overflow-y:auto;overflow-x:hidden;background:#f1f1f1;width:100%;box-sizing:border-box}.chat-message{margin-bottom:10px;padding:10px;border-radius:10px;animation:fadeIn .3s ease;box-sizing:border-box;display:flex;flex-direction:column;max-width:90%;width:max-content;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.chat-message p{margin-top:0;margin-bottom:0;overflow-wrap:break-word}.chat-message [data-streamdown=strong],.chat-message strong{font-weight:600}.chat-message .table-wrapper{width:100%;overflow-x:auto;overflow-y:visible;margin:10px 0;border-radius:8px;box-shadow:0 1px 3px #0000001a;background-color:#fff}.chat-message .table-wrapper::-webkit-scrollbar{height:8px}.chat-message .table-wrapper::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.chat-message .table-wrapper::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.chat-message .table-wrapper::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.chat-message table{min-width:100%;width:max-content;border-collapse:collapse;margin:0;font-size:13px;background-color:#fff;table-layout:auto;max-width:none}.chat-message thead{background-color:#f3f4f6}.chat-message thead th{padding:10px 12px;text-align:left;font-weight:600;color:#1f2937;border-bottom:2px solid #e5e7eb;white-space:nowrap;font-size:12px}.chat-message thead th:first-child{position:sticky;left:0;background-color:#f3f4f6;z-index:2;box-shadow:2px 0 4px #0000000d}.chat-message tbody tr{border-bottom:1px solid #e5e7eb}.chat-message tbody tr:last-child{border-bottom:none}.chat-message tbody tr:hover{background-color:#f9fafb}.chat-message tbody td{padding:8px 12px;color:#374151;vertical-align:top;white-space:nowrap;font-size:13px}.chat-message tbody td:first-child{position:sticky;left:0;background-color:#fff;z-index:1;box-shadow:2px 0 4px #0000000d;font-weight:500}.chat-message tbody tr:hover td:first-child{background-color:#f9fafb}@media (max-width: 768px){.chat-message .table-wrapper{margin:8px -10px;border-radius:0}.chat-message table{font-size:11px}.chat-message table th{padding:8px 10px;font-size:11px}.chat-message table td{padding:6px 10px;font-size:11px}}@media (max-width: 480px){.chat-message table{font-size:10px}.chat-message table th,.chat-message table td{padding:6px 8px}}.chat-message .markdown-content{line-height:1.6}.chat-message .markdown-content .markdown-paragraph{margin:8px 0}.chat-message .markdown-content .markdown-paragraph:first-child{margin-top:0}.chat-message .markdown-content .markdown-paragraph:last-child{margin-bottom:0}.chat-message .markdown-content .markdown-heading{font-weight:600;margin:12px 0 8px;color:#1f2937}.chat-message .markdown-content .markdown-heading:first-child{margin-top:0}.chat-message .markdown-content .markdown-list-item{margin:4px 0 4px 20px}.chat-message .markdown-content .markdown-code-block{background-color:#f3f4f6;border-radius:6px;padding:12px;margin:8px 0;overflow-x:auto}.chat-message .markdown-content .markdown-code-block code{font-family:Courier New,Courier,monospace;font-size:.9em;color:#374151}.chat-message .markdown-content code{background-color:#f3f4f6;padding:2px 6px;border-radius:3px;font-family:Courier New,Courier,monospace;font-size:.9em;color:#dc2626}.chat-message .markdown-content strong{font-weight:600;color:#111827}.chat-message .markdown-content em{font-style:italic}.chat-message .markdown-content del{text-decoration:line-through;opacity:.7}.chat-message.bot{background:#e5e7eb;align-self:flex-start;margin-right:auto;width:90%;max-width:90%}.chat-message.user{background:#fff;align-self:flex-end;margin-left:auto;max-width:90%}.chat-message.system{background:#f0f9ff;border:2px solid #0369a1;align-self:center;margin:15px auto;text-align:center;font-size:14px;color:#0369a1;border-radius:20px;padding:8px 16px;max-width:80%;width:auto;font-weight:500}.regenerate-button-container{margin:10px 0;display:flex;justify-content:flex-start;align-items:center}.regenerate-button{display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;background:transparent;color:#6b7280;box-shadow:none}.regenerate-button:hover{background-color:#f3f4f6;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.regenerate-button:active{transform:translateY(0)}.regenerate-button svg{width:20px;height:20px;margin-right:5px}.chat-message.welcome{background:#e5e7eb;align-self:flex-start;margin-right:auto;width:90%;max-width:90%;margin-bottom:10px;text-align:left;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.chat-message.welcome div{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.timestamp{font-size:10px;text-align:right;opacity:.6;margin-top:5px;width:100%}.chat-message.bot .timestamp,.chat-message.welcome .timestamp{text-align:left}.chat-message.user .timestamp{text-align:right}.error-message{padding:10px 20px;margin:10px 0;animation:slideInError .3s ease}.error-content{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:12px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 4px #0000001a}.error-message .error-icon{font-size:18px;flex-shrink:0;margin-bottom:0}.error-text{color:#dc2626;font-weight:500;flex:1}.error-close{background:none;border:none;color:#6b7280;cursor:pointer;font-size:16px;padding:4px;border-radius:4px;transition:all .2s ease;flex-shrink:0}.error-close:hover{background:#f3f4f6;color:#374151}.success-message{padding:10px 20px;margin:10px 0;animation:slideInError .3s ease}.success-content{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:12px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 4px #0000001a}.success-message .success-icon{font-size:18px;flex-shrink:0;margin-bottom:0}.success-text{color:#16a34a;font-weight:500;flex:1}.success-close{background:none;border:none;color:#6b7280;cursor:pointer;font-size:16px;padding:4px;border-radius:4px;transition:all .2s ease;flex-shrink:0}.success-close:hover{background:#f3f4f6;color:#374151}.chat-footer{display:flex;align-items:center;padding:10px 20px;position:relative;bottom:0;width:100%;background:#fff;border-top:1px solid #e5e7eb;z-index:10;box-sizing:border-box;align-items:stretch;outline:none}.chat-footer textarea{flex:1;resize:none;padding:15px;font-size:14px;width:100%;box-sizing:border-box;border-left:none;border-right:none;outline:none;font-family:inherit;overflow-y:auto}.chat-footer button{font-size:20px;background:transparent;border:none;cursor:pointer;flex-shrink:0;padding:8px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;background-color:#1f2937;min-width:45px}.chat-footer button.mic-button{border-top-right-radius:0;border-bottom-right-radius:0}.chat-footer button.send-button{border-top-left-radius:0;border-bottom-left-radius:0}.mic-button:hover,.chat-footer button:hover{background-color:#374151}.mic-button.recording{animation:pulse 1.5s infinite}.mic-button svg,.chat-footer button svg{width:20px;height:20px;display:block}.typing-indicator{margin:10px 0;padding:10px 20px;box-sizing:border-box;display:flex;align-items:center;gap:8px}.typing-text{font-size:14px;color:#6b7280;font-style:italic}.typing-dots{display:flex;align-items:center;justify-content:center;min-height:20px}.typing-dots span{width:4px;height:4px;background:#6b7280;border-radius:50%;margin:0 2px;animation:typingBounce 1.4s infinite}.typing-dots span:nth-child(1){animation-delay:0s}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,80%,to{transform:scale(1);opacity:.5}40%{transform:scale(1.2);opacity:1}}@keyframes blink{0%,to{opacity:.2}50%{opacity:1}}.typing-cursor{display:inline-block;width:2px;height:1.2em;background:#333;margin-left:2px;animation:blink 1s infinite;vertical-align:middle}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInError{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 0 #dc2626b3}50%{transform:scale(1.05);box-shadow:0 0 0 10px #dc262600}}.todayLabel{text-align:center;font-size:14px;font-weight:500;padding:0 20px 20px;border-radius:20px;background-color:transparent;position:relative;z-index:3;margin:0 auto}.todayLabel span{background-color:#f1f1f1;z-index:2;position:relative;width:100px;display:inline-block;letter-spacing:1px}.todayLabel:after{content:"";position:absolute;top:50%;left:5%;width:90%;height:1px;background-color:#d5d5d5;transform:translateY(calc(-50% - 10px));z-index:1}.accuracy{margin-top:8px;font-size:12px;color:#666}.accuracy b{color:#007bff;font-weight:600}.action-buttons{margin-top:12px}.action-buttons .action-button{background:#007bff;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:12px;cursor:pointer;margin-right:8px;margin-bottom:4px;transition:all .2s ease}.action-buttons .action-button:hover{background:#0056b3;transform:translateY(-1px)}.action-buttons .action-button:active{transform:translateY(0)}.recommended-questions{margin-top:12px}.recommended-questions h5{font-size:14px;margin:0 0 8px;color:#333;font-weight:600}.recommended-questions .questions{list-style:none;padding:0;margin:0}.recommended-questions .questions li{margin-bottom:4px}.recommended-questions .questions li a{color:#007bff;text-decoration:none;font-size:13px;padding:4px 8px;border-radius:4px;transition:all .2s ease}.recommended-questions .questions li a:hover{background:#007bff1a;text-decoration:underline}.reference-sources{padding:12px;background:#007bff0d;border-radius:6px;border-left:3px solid #007bff}.reference-sources h5{font-size:14px;margin:0 0 8px;color:#333;font-weight:600}.reference-sources .confidence{font-size:12px;color:#666;margin-bottom:8px}.reference-sources .confidence b{color:#28a745;font-weight:600}.reference-sources .sources .source-item{margin-bottom:8px}.reference-sources .sources .source-item:last-child{margin-bottom:0}.reference-sources .sources .source-item .source-title{color:#007bff;text-decoration:none;font-size:13px;font-weight:500;display:block;margin-bottom:2px}.reference-sources .sources .source-item .source-title:hover{text-decoration:underline}.reference-sources .sources .source-item .source-snippet{font-size:12px;color:#666;margin:0;line-height:1.4;font-style:italic}.citations{margin-top:12px;padding:12px;background:#7c4dff0d;border-radius:6px;border-left:3px solid #7c4dff}.citations h5{font-size:13px;margin:0 0 8px;color:#333;font-weight:600}.citations .citations-list{list-style:none;padding:0;margin:0}.citations .citations-list .citation-item{font-size:12px;color:#666;padding:4px 8px;background:#7c4dff14;border-radius:4px;margin-bottom:4px}.citations .citations-list .citation-item:last-child{margin-bottom:0}.crisp-icon{shape-rendering:geometricPrecision;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translateZ(0);backface-visibility:hidden;will-change:transform}.crisp-svg-icon{shape-rendering:geometricPrecision;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translateZ(0);backface-visibility:hidden;will-change:transform;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}.icon-button{background:none;border:none;cursor:pointer;padding:8px;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.icon-button:hover{background:#ffffff1a;transform:scale(1.05)}.icon-button:active{transform:scale(.95)}.icon-button svg{width:20px;height:20px;color:inherit}.bblFadInOut-container{display:flex;align-items:center;justify-content:center;min-height:100px}.page_loader{height:100px}.bblFadInOut-container .loader,.bblFadInOut-container .loader:before,.bblFadInOut-container .loader:after{border-radius:50%;width:2.5em;height:2.5em;animation-fill-mode:both;animation:bblFadInOut 1.8s infinite ease-in-out}.bblFadInOut-container .loader{color:#5856d6;font-size:5px;position:relative;text-indent:-9999em;transform:translateZ(0);animation-delay:-.16s}.bblFadInOut-container .loader:before,.bblFadInOut-container .loader:after{content:"";position:absolute;top:0}.bblFadInOut-container .loader:before{left:-3.5em;animation-delay:-.32s}.bblFadInOut-container .loader:after{left:3.5em}@keyframes bblFadInOut{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em}}.handover-popup-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.handover-popup{background-color:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;max-width:400px;width:90%;animation:popup-fade-in .3s ease-out}.handover-popup-content{padding:24px;text-align:center}.handover-popup h3{margin:0 0 12px;font-size:20px;font-weight:600;color:#333}.handover-popup p{margin:0 0 24px;font-size:16px;color:#666;line-height:1.5}.handover-popup-buttons{display:flex;gap:12px;justify-content:center}.handover-btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:120px}.handover-btn-yes{background-color:#007bff;color:#fff}.handover-btn-yes:hover{background-color:#0056b3;transform:translateY(-1px)}.handover-btn-no{background-color:#f8f9fa;color:#6c757d;border:1px solid #dee2e6}.handover-btn-no:hover{background-color:#e9ecef;transform:translateY(-1px)}.handover-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@keyframes popup-fade-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.chat-footer textarea:disabled,.chat-footer button:disabled{opacity:.6;cursor:not-allowed}.chat-footer textarea:disabled{background-color:#f8f9fa;color:#6c757d}.tooltip{position:relative;display:inline-block}.tooltip .tooltiptext{visibility:hidden;width:auto;background-color:#333;color:#fff;text-align:center;border-radius:6px;padding:8px 12px;position:absolute;z-index:9999;top:100%;left:50%;transform:translate(-50%);margin-top:5px;opacity:0;transition:opacity .3s;font-size:12px;white-space:nowrap;box-shadow:0 2px 8px #0003;pointer-events:none}.tooltip .tooltiptext:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #333 transparent}.tooltip:hover .tooltiptext{visibility:visible;opacity:1}
