*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.container{margin:0 auto;max-width:1200px;padding:0 1rem}.btn{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem 1.5rem;text-decoration:none;transition:all .2s ease}.btn-primary{background-color:#3b82f6}.btn-primary:hover{background-color:#2563eb}.btn-secondary{background-color:#6b7280}.btn-secondary:hover{background-color:#4b5563}.btn-success{background-color:#10b981;color:#fff}.btn-success:hover{background-color:#059669}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover{background-color:#dc2626}.btn:disabled{opacity:.5}.card{background:#fff;border-radius:.75rem;box-shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f;margin-bottom:1rem;padding:1.5rem}.input{border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;padding:.75rem;transition:border-color .2s ease;width:100%}.input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.select{background-color:#fff;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer;font-size:.875rem;padding:.75rem;width:100%}.select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.alert{margin-bottom:1rem;padding:1rem}.alert-success{background-color:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.alert-error{background-color:#fee2e2;border:1px solid #fca5a5;color:#991b1b}.alert-info{background-color:#dbeafe;border:1px solid #93c5fd;color:#1e40af}.alert-warning{background-color:#fef3c7;border:1px solid #fde68a;color:#92400e}.metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;text-align:center}.metric-value{color:#1e293b;font-size:2rem;font-weight:700}.metric-label{color:#64748b;font-size:.875rem;margin-top:.25rem}.expander{margin-top:1rem}.expander-header{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;cursor:pointer;display:flex;justify-content:space-between;padding:.75rem;transition:background-color .2s ease}.expander-header:hover{background:#f1f5f9}.expander-content{background:#fff;border:1px solid #e2e8f0;border-radius:0 0 .5rem .5rem;border-top:none;padding:1rem}.grid{grid-gap:1rem;display:grid;gap:1rem}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:768px){.grid-cols-2,.grid-cols-3{grid-template-columns:repeat(1,minmax(0,1fr))}}.object-array-container{display:flex;flex-direction:column;gap:1rem;margin-top:.5rem}.object-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;box-shadow:0 1px 2px #0000000d;padding:1rem;transition:box-shadow .2s ease,border-color .2s ease}.object-card:hover{border-color:#cbd5e1;box-shadow:0 4px 6px #0000001a}.object-field{border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem;padding-bottom:.75rem}.object-field:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.field-label{color:#64748b;font-size:.75rem;font-weight:600;letter-spacing:.05em;margin-bottom:.25rem;text-transform:uppercase}.field-value{word-wrap:break-word;line-height:1.6}.field-value,.simple-item{color:#1e293b;font-size:.875rem}.simple-item{background:#f8fafc;border-left:3px solid #3b82f6;border-radius:.375rem;margin-bottom:.5rem;padding:.75rem}.simple-item:last-child{margin-bottom:0}.dynamic-list{padding-left:0}.dynamic-list-item{border-bottom:1px solid #f1f5f9;padding:.5rem 0}.dynamic-list-item:last-child{border-bottom:none}.login-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.login-card{animation:slideUp .5s ease-out;background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000001a;max-width:400px;padding:40px;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-header{margin-bottom:30px;text-align:center}.login-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#2d3748;font-size:2.5rem;font-weight:700;margin:0 0 10px}.login-header p{color:#718096;font-size:1rem;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.form-group input:disabled{background:#edf2f7;cursor:not-allowed}.error-message{animation:shake .5s ease-in-out;font-size:.9rem}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-top:10px;padding:14px 24px;transition:all .2s ease}.login-button:hover:not(:disabled){box-shadow:0 10px 20px #667eea4d;transform:translateY(-2px)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.login-footer{border-top:1px solid #e2e8f0;margin-top:30px;padding-top:20px;text-align:center}.login-footer p{background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;color:#718096;font-size:.85rem;margin:0;padding:8px 12px}@media (max-width:480px){.login-container{padding:10px}.login-card{padding:30px 20px}.login-header h1{font-size:2rem}}.header{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 6px -1px #0000001a;color:#fff;padding:1rem 0;position:relative}.header .container{align-items:center;display:flex;justify-content:space-between}.header-content{align-items:center;display:flex;flex:1 1;gap:1rem}.drawer-toggle{background:none;border:none;color:#fff;cursor:pointer;display:none;margin-left:-.5rem;padding:.5rem}.header-title{align-items:center;display:flex;gap:.75rem}.header-title h1{font-size:1.75rem;font-weight:700;margin:0}.header-icon{height:2rem;width:2rem}.header-subtitle{font-size:.9rem;margin:0;max-width:600px;opacity:.9}.header-actions{align-items:center;display:flex;gap:1rem}.user-menu{position:relative}.user-menu-button{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.85rem;font-weight:500;gap:.5rem;padding:.5rem .75rem;transition:all .2s ease}.user-menu-button:hover{background:#fff3;transform:translateY(-1px)}.user-icon{height:1rem;width:1rem}.user-name{font-weight:600}.user-menu-dropdown{animation:slideDown .2s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 25px #00000026;margin-top:.5rem;min-width:250px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.user-info{background:#f7fafc;border-bottom:1px solid #e2e8f0;padding:1rem}.user-details{color:#2d3748}.user-name-full{font-size:1rem;font-weight:600;margin-bottom:.25rem}.user-email{color:#718096;font-size:.875rem;margin-bottom:.25rem}.user-role{background:#667eea1a;border-radius:4px;color:#667eea;display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .5rem;text-transform:uppercase}.menu-divider{background:#e2e8f0;height:1px}.menu-item{align-items:center;background:none;border:none;color:#4a5568;cursor:pointer;display:flex;font-size:.9rem;gap:.75rem;padding:.75rem 1rem;text-align:left;transition:all .2s ease;width:100%}.menu-item:hover{background:#f7fafc;color:#2d3748}.menu-icon{height:1rem;width:1rem}@media (max-width:1024px){.drawer-toggle{display:block}}@media (max-width:768px){.header{padding:.75rem 0}.header-title h1{font-size:1.5rem}.header-icon{height:1.75rem;width:1.75rem}.header-subtitle{font-size:.85rem}}.sidebar{background:#fff;border-right:1px solid #e2e8f0;box-shadow:2px 0 4px -1px #0000001a;height:calc(100vh - 68px);overflow-y:auto;padding:2rem 1.5rem;position:relative;width:300px;.btn{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem 1rem;transition:all .2s;width:100%}}.drawer-close-btn{display:none}.sidebar-content{display:flex;flex-direction:column;gap:2rem}.sidebar-section{border-bottom:1px solid #e2e8f0;padding-bottom:2rem}.sidebar-section:last-child{border-bottom:none;padding-bottom:0}.sidebar-header{align-items:center;display:flex;gap:.5rem;margin-bottom:1rem}.sidebar-header h3{color:#1e293b;font-size:1.125rem;font-weight:600;margin:0}.sidebar-icon{color:#3b82f6;height:1.25rem;width:1.25rem}.sidebar-label{color:#374151;display:block;font-weight:500;margin-bottom:.5rem}.response-mode-selector{margin-bottom:1rem}.mode-description{align-items:flex-start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;color:#64748b;display:flex;font-size:.875rem;gap:.5rem;margin-top:.75rem;padding:.75rem}.help-icon{color:#6b7280;flex-shrink:0;height:1rem;margin-top:.125rem;width:1rem}.tips{display:flex;flex-direction:column;gap:1rem}.tip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.875rem;line-height:1.5;padding:1rem}.tip strong{color:#1e293b;font-weight:600}.ingestion-description{color:#64748b;font-size:.875rem;line-height:1.6;margin-bottom:1rem}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-secondary{background:#6b7280;color:#fff;cursor:not-allowed}.btn:disabled{cursor:not-allowed;opacity:.6}.loading-spinner{animation:spin 1s linear infinite;height:1rem;width:1rem}.alert{border-radius:.5rem;font-size:.875rem;margin-top:1rem;padding:.75rem}.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.alert-content{align-items:flex-start;display:flex;gap:.75rem}.alert-icon{flex-shrink:0;height:1.25rem;margin-top:.125rem;width:1.25rem}.alert-data{background:#0000000d;border-radius:.375rem;font-size:.75rem;margin-top:.5rem;max-height:200px;overflow-x:auto;overflow-y:auto;padding:.75rem;white-space:pre-wrap;word-break:break-word}@media (max-width:1024px){.sidebar{background:#fff;border-left:1px solid #e2e8f0;height:100vh;padding:2rem 1.5rem;position:fixed;right:-300px;top:0;transition:right .3s ease;width:300px;z-index:1000}.sidebar.sidebar-open{right:0}.sidebar-content{gap:2rem}.sidebar-section{padding-bottom:2rem}.drawer-close-btn{background:none;border:none;color:#6b7280;cursor:pointer;display:block;padding:.5rem;position:absolute;right:1rem;top:1rem}.drawer-overlay{background:#00000080;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:999}}@media (max-width:768px){.sidebar{right:-100%;width:100%}}@media (min-width:1025px) and (max-width:1280px){.sidebar{width:250px}}.user-message{align-items:flex-start;display:flex;gap:.75rem;margin-left:auto;max-width:80%}.message-avatar,.message-content{background:#3b82f6}.message-content{border-radius:1rem 1rem .25rem 1rem;color:#fff;padding:.75rem 1rem}.user-message .message-header{align-items:center;display:flex;font-size:.75rem;justify-content:space-between;margin-bottom:0;opacity:.8;padding-bottom:0}.message-role{color:#9ca3af;font-weight:600}.message-time{font-size:.6875rem}.message-text{word-wrap:break-word;line-height:1.5}@media (max-width:768px){.user-message{max-width:90%}}.analysis-response{display:flex;flex-direction:column;gap:1.5rem}.analysis-summary{background:#d1fae5;border:1px solid #a7f3d0;border-radius:.75rem;padding:1.25rem}.summary-header{margin-bottom:.75rem}.summary-text{color:#065f46;line-height:1.6;margin:0}.section-header{gap:.75rem;margin-bottom:1rem}.section-header h4{color:#1e293b;font-size:1rem;font-weight:600;margin:0}.section-icon{color:#3b82f6;height:1.125rem;width:1.125rem}.detailed-analysis,.insights-section,.recommendations-section{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.insights-list,.recommendations-list{list-style:none;margin:0;padding:0}.insight-item,.recommendation-item{border-bottom:1px solid #f1f5f9;display:flex;gap:.75rem;padding:.75rem 0}.insight-item:last-child,.recommendation-item:last-child{border-bottom:none}.insight-number,.recommendation-number{color:#3b82f6;font-weight:600;min-width:1.5rem}.insight-text,.recommendation-text{color:#374151;line-height:1.6}.analysis-content{line-height:1.6}.data-overview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.data-overview h4{color:#1e293b;font-size:1rem;font-weight:600;margin:0 0 1rem}.metrics-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr)}.underlying-data{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.underlying-data h4{color:#1e293b;font-size:1rem;font-weight:600;margin:0 0 1rem}@media (max-width:768px){.metrics-grid{grid-template-columns:repeat(1,1fr)}.analysis-summary,.data-overview,.detailed-analysis,.insights-section,.recommendations-section,.underlying-data{padding:1rem}}.jira-headline{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:.75rem;color:#fff;padding:1.25rem}.jira-headline .section-header h4,.jira-headline .section-icon{color:#fff}.headline-content{font-size:1.125rem;font-weight:600;line-height:1.6}.jira-bottom-line,.jira-change-drivers,.jira-confidence-trend,.jira-crisis-readiness,.jira-current-status,.jira-executive-decisions,.jira-executive-summary,.jira-insights,.jira-kpis,.jira-open-items,.jira-opportunities,.jira-ownership,.jira-recommendations,.jira-release-strategy,.jira-risks,.jira-root-cause,.jira-scope-changes{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.bottom-line-content,.change-drivers-content,.confidence-trend-content,.crisis-readiness-content,.executive-decisions-content,.executive-summary-content,.insights-content,.kpis-content,.open-items-content,.opportunities-content,.ownership-content,.recommendations-content,.release-strategy-content,.risks-content,.root-cause-content,.scope-changes-content,.status-content{color:#374151;line-height:1.6;white-space:pre-wrap}.jira-visualizations{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.visualizations-content{display:flex;flex-direction:column;gap:1.5rem}.visualization-section{background:#f8fafc;border:1px solid #f1f5f9;border-radius:.5rem;padding:1rem}.visualization-section h5{color:#1e293b;font-size:1rem;font-weight:600;margin:0 0 1rem}.visualization-text{background:#1f2937;border-radius:.375rem;color:#f9fafb;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;margin:0;overflow-x:auto;padding:1rem;white-space:pre-wrap}.visualization-data{display:flex;flex-direction:column;gap:.5rem}.data-item{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:.25rem;display:flex;justify-content:space-between;padding:.5rem}.data-label{color:#374151;font-weight:500}.data-value{background:#eff6ff;border-radius:.25rem;color:#3b82f6;font-weight:600;padding:.25rem .5rem}.dynamic-list{display:flex;flex-direction:column;gap:.5rem;list-style:none;margin:0;padding:0}.dynamic-list-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.375rem;line-height:1.5;padding:.75rem}.dynamic-object{display:flex;flex-direction:column;gap:.5rem}.object-item{align-items:baseline;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.25rem;display:flex;gap:.5rem;padding:.5rem}.object-key{color:#374151;font-weight:600;min-width:-webkit-fit-content;min-width:fit-content;white-space:nowrap}.object-value{align-items:center;color:#6b7280;display:flex;flex:1 1;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;text-align:left;word-break:break-word}.nested-array{align-items:center;display:inline-flex;flex-wrap:wrap;gap:.25rem}.array-item{background:#e0e7ff;border-radius:.25rem;color:#4338ca;display:inline-block;font-size:.813rem;font-weight:500;padding:.125rem .5rem}.nested-object{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.813rem;margin:.25rem 0 0;overflow-x:auto;padding:.75rem;text-align:left;white-space:pre-wrap;word-break:break-word}.markdown-content{color:#374151;line-height:1.6}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{color:#1e293b;font-weight:600;line-height:1.3;margin-bottom:.75rem;margin-top:1.5rem}.markdown-content h1{border-bottom:2px solid #e2e8f0;font-size:1.875rem;padding-bottom:.5rem}.markdown-content h2{border-bottom:1px solid #e2e8f0;font-size:1.5rem;padding-bottom:.25rem}.markdown-content h3{font-size:1.25rem}.markdown-content h4{font-size:1.125rem}.markdown-content h5{font-size:1rem}.markdown-content h6{color:#6b7280;font-size:.875rem}.markdown-content p{line-height:1.7;margin-bottom:1rem}.markdown-content ol,.markdown-content ul{margin:1rem 0;padding-left:1.5rem}.markdown-content li{line-height:1.6;margin-bottom:.5rem}.markdown-content strong{color:#1e293b;font-weight:600}.markdown-content em{color:#4b5563;font-style:italic}.markdown-content code{background:#f1f5f9;border-radius:.25rem;color:#dc2626;font-weight:500;padding:.125rem .25rem}.markdown-content code,.markdown-content pre{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem}.markdown-content pre{background:#1f2937;border-radius:.5rem;color:#f9fafb;line-height:1.5;margin:1rem 0;overflow-x:auto;padding:1rem}.markdown-content pre code{background:none;border-radius:0;color:inherit;padding:0}.markdown-content blockquote{background:#eff6ff;border-left:4px solid #3b82f6;color:#1e40af;font-style:italic;margin:1.5rem 0;padding:1rem 1.5rem}.markdown-table-container{border:1px solid #e2e8f0;border-radius:.5rem;margin:1.5rem 0;overflow-x:auto}.markdown-table{border-collapse:collapse;font-size:.875rem;width:100%}.markdown-thead{background:#f8fafc}.markdown-td,.markdown-th{border-bottom:1px solid #e2e8f0;padding:.75rem 1rem;text-align:left;vertical-align:top}.markdown-th{background:#f1f5f9;border-bottom:2px solid #cbd5e1;color:#1e293b;font-weight:600}.markdown-tr:nth-child(2n){background:#f8fafc}.markdown-tr:hover{background:#f1f5f9}.markdown-td{color:#374151;line-height:1.5}@media (max-width:768px){.markdown-table-container{font-size:.75rem}.markdown-td,.markdown-th{padding:.5rem .75rem}}.jira-open-items{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.priority-section{margin-bottom:1.5rem}.priority-section:last-child{margin-bottom:0}.priority-title{align-items:center;color:#1e293b;display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin:0 0 1rem}.issues-list{display:flex;flex-direction:column;gap:1rem}.issue-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem}.issue-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.issue-key{color:#3b82f6;font-size:.875rem;font-weight:600}.issue-status{border-radius:.25rem;font-size:.75rem;font-weight:500;padding:.25rem .5rem;text-transform:uppercase}.status-done{background:#d1fae5;color:#065f46}.status-in-progress{background:#fef3c7;color:#92400e}.status-selected-for-development{background:#dbeafe;color:#1e40af}.issue-summary{color:#374151;line-height:1.5;margin-bottom:.5rem}.issue-assignee{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.5rem}.assignee-icon{color:#6b7280;height:1rem;width:1rem}.charts-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.charts-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.chart-container{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:1rem}.chart-title{color:#1e293b;font-size:1rem;font-weight:600;margin:0 0 1rem;text-align:center}.chart-wrapper{height:350px;margin-bottom:.5rem;width:100%}.chart-description{color:#64748b;font-size:.875rem;line-height:1.4;margin:0;text-align:center}.data-response{display:flex;flex-direction:column;gap:1.5rem}.data-summary{background:#d1fae5;border:1px solid #a7f3d0;border-radius:.75rem;padding:1.25rem}.summary-header{align-items:center;display:flex;gap:.75rem}.summary-icon{color:#059669;height:1.25rem;width:1.25rem}.summary-header h3{color:#065f46;font-size:1.125rem;font-weight:600;margin:0}.data-table-section{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}.table-header{align-items:center;display:flex;gap:.75rem;margin-bottom:1rem}.table-icon{color:#3b82f6;height:1.125rem;width:1.125rem}.table-header h4{color:#1e293b;font-size:1rem;font-weight:600;margin:0}.no-data,.sql-section{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}@media (max-width:768px){.data-summary,.data-table-section,.no-data,.sql-section{padding:1rem}}.assistant-message{align-items:flex-start;display:flex;gap:.75rem;max-width:90%}.message-avatar{align-items:center;background:#6b7280;border-radius:50%;display:flex;flex-shrink:0;height:2rem;justify-content:center;width:2rem}.avatar-icon{color:#fff;height:1rem;width:1rem}.message-content{background:#fff;border:1px solid #e2e8f0;border-radius:1rem 1rem 1rem .25rem;box-shadow:0 1px 3px 0 #0000001a;flex:1 1;min-width:0;padding:1rem}.message-header{justify-content:space-between;margin-bottom:.75rem;padding-bottom:.5rem}.message-header,.response-type{align-items:center;display:flex}.response-type{gap:.5rem}.response-icon{height:1rem;width:1rem}.response-type-label{color:#374151;font-size:.875rem;font-weight:600}.message-time{color:#9ca3af;font-size:.75rem}.message-text{color:#374151;line-height:1.6}.intent-info{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;margin-bottom:1rem;padding:.75rem}.intent-confidence{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.confidence-indicator,.intent-text{font-size:.875rem}.intent-text{color:#374151}.confidence-score{color:#6b7280;font-weight:400}.intent-reasoning{color:#6b7280;font-size:.875rem;line-height:1.4}.reasoning{background:#fef3c7;border:1px solid #fde68a;border-radius:.5rem;color:#92400e;font-size:.875rem;margin-bottom:1rem;padding:.75rem}.error-content{margin-top:.5rem}.sql-section{margin-top:1rem}.sql-toggle{align-items:center;background:none;border:1px solid #d1d5db;border-radius:.375rem;color:#374151;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.5rem .75rem;transition:all .2s ease}.sql-toggle:hover{background:#f9fafb;border-color:#9ca3af}.sql-code{background:#1f2937;border-radius:.5rem;color:#f9fafb;font-size:.875rem;line-height:1.5;margin-top:.5rem;overflow-x:auto;padding:1rem}.sql-code code{font-family:Monaco,Menlo,Ubuntu Mono,monospace}@media (max-width:768px){.assistant-message{max-width:95%}.message-content{padding:.75rem}.message-header{align-items:flex-start;flex-direction:column;gap:.25rem}}.conversation-content{margin-top:12px}.conversation-message{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;color:#334155;line-height:1.6;padding:16px;white-space:pre-wrap}.conversation-message strong{color:#1e293b}.conversation-message ul{margin:8px 0;padding-left:20px}.conversation-message li{margin:4px 0}.data-sources{background:#f8f9fa;border-left:3px solid #007bff;border-radius:6px;margin:8px 0;padding:8px;strong{color:#374151}}.source-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.source-badge{border-radius:12px;font-size:.8em;font-weight:500;padding:4px 8px}.source-badge.resource_center{background:#e3f2fd;color:#1976d2}.source-badge.sharepoint{background:#f3e5f5;color:#7b1fa2}.source-badge.jira{background:#e8f5e8;color:#388e3c}.enhanced-analysis{margin-top:12px}.unified-analysis{background:#f0f9ff;border-left:4px solid #0ea5e9;border-radius:8px;margin-bottom:16px;padding:12px}.unified-analysis h4{color:#0369a1;font-size:1em;margin:0 0 8px}.source-analysis{background:#fafafa;border:1px solid #e5e7eb;border-radius:6px;margin:12px 0;padding:10px}.source-analysis h4{color:#374151;font-size:.9em;margin:0 0 8px}.analysis-content{color:#374151;line-height:1.5;white-space:pre-wrap}.enhanced-data{margin-top:12px}.combined-response{background:#f0fdf4;border-left:4px solid #22c55e;border-radius:8px;margin-bottom:16px;padding:12px}.combined-response h4{color:#15803d;font-size:1em;margin:0 0 8px}.source-data{background:#fafafa;border:1px solid #e5e7eb;border-radius:6px;margin:12px 0;padding:10px}.source-data h4{color:#374151;font-size:.9em;margin:0 0 8px}.sharepoint-documents{margin-top:8px}.document-count{color:#6b7280;font-weight:500;margin-bottom:8px}.document-item{background:#fff;border-left:3px solid #8b5cf6;border-radius:4px;margin:8px 0;padding:8px}.document-excerpt{color:#6b7280;font-size:.85em;margin-top:4px}.jira-analysis,.jira-data{margin-top:8px}.data-summary{color:#6b7280;font-weight:500}.response-content{color:#374151;line-height:1.5;white-space:pre-wrap}.message-list{gap:1rem}.message-list,.message-wrapper{display:flex;flex-direction:column}.empty-chat{align-items:center;display:flex;height:100%;justify-content:center;min-height:300px}.empty-chat-content{color:#64748b;text-align:center}.empty-chat-content h3{color:#374151;font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.empty-chat-content p{margin-bottom:1.5rem}.example-queries{display:flex;flex-direction:column;gap:.75rem;margin:0 auto;max-width:400px}.example-query{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.875rem;padding:.75rem;text-align:left}.example-query strong{color:#1e293b;font-weight:600}@media (max-width:768px){.example-queries{max-width:100%}}.thinking-indicator{align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:1rem 1rem 1rem .25rem;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;gap:1rem;margin-right:auto;margin-top:16px;max-width:90%;padding:1.5rem}.thinking-header{align-items:center;display:flex;gap:.75rem}.thinking-avatar{background:#f3f4f6;border-radius:50%;color:#6b7280;height:2rem;padding:.5rem;width:2rem}.thinking-title{color:#374151;font-size:1.1rem;font-weight:600}.thinking-steps{display:flex;flex-direction:column;gap:1rem;width:100%}.thinking-step{align-items:center;border-radius:.5rem;display:flex;gap:.75rem;padding:.75rem;transition:all .3s ease}.thinking-step.pending{opacity:.4}.thinking-step.active{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #bfdbfe}.thinking-step.completed{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1px solid #bbf7d0}.step-icon{align-items:center;display:flex;flex-shrink:0;height:1.5rem;justify-content:center;width:1.5rem}.step-icon-svg{color:#6b7280;height:1.25rem;width:1.25rem}.thinking-step.active .step-icon-svg{color:#3b82f6}.check-icon,.thinking-step.completed .step-icon-svg{color:#10b981}.check-icon{height:1.25rem;width:1.25rem}.spinning{animation:spin 2s linear infinite}.step-text{color:#374151;flex:1 1;font-weight:500}.thinking-step.active .step-text{color:#1e40af}.thinking-step.completed .step-text{color:#059669}.step-progress{margin-top:.5rem;width:100%}.progress-bar{background:#e5e7eb;border-radius:.125rem;height:.25rem;overflow:hidden;width:100%}.progress-fill{animation:progress 2s ease-in-out infinite;background:linear-gradient(90deg,#3b82f6,#1d4ed8);border-radius:.125rem;height:100%}@keyframes progress{0%{width:0}50%{width:70%}to{width:100%}}.chat-section{display:flex;flex-direction:column;height:calc(100vh - 135px)}.section-header{align-items:center;display:flex;flex-shrink:0;margin-bottom:1.5rem;.new-chat-btn{margin-left:auto}}.section-header h2{color:#1e293b;font-size:1.5rem;font-weight:600;margin:0}.btn-sm{font-size:.875rem;padding:.5rem 1rem}.chat-container{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;flex:1 1;margin-bottom:1rem;overflow-y:auto;padding:1rem}.loading-message{align-items:center;color:#64748b;display:flex;font-style:italic;gap:.75rem;padding:1rem}.chat-input-form{flex-shrink:0;margin-top:1rem}.input-group{align-items:flex-start;display:flex;gap:.75rem}.chat-input,.input-group{position:relative;z-index:1}.chat-input{background:#f9fafb;border:0;border-radius:.5rem;flex:1 1;font-family:inherit;font-size:.875rem;padding:.75rem 0;resize:vertical;transition:border-color .2s ease}.chat-input:focus{outline:none}.send-button{align-items:center;align-self:flex-start;display:flex;flex-shrink:0;height:auto;justify-content:center;min-width:auto}.agent-select{background:#fff;border:1px solid #d1d5db;border-radius:6px;flex-shrink:0;font-size:14px;padding:8px;&:focus{outline:none}}@media (max-width:768px){.chat-section{height:calc(100vh - 100px);.chat-input-form{margin-top:auto}}.section-header{align-items:flex-start;flex-direction:column;gap:1rem}.chat-container{min-height:300px}.send-button{align-self:stretch;height:auto;margin-top:.75rem;padding:.75rem 1rem;width:100%}}.user-management{margin:0 auto;max-width:1200px;padding:20px}.user-management-header{align-items:center;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:30px;padding-bottom:20px}.user-management-header h2{color:#2d3748;font-size:2rem;font-weight:700;margin:0}.create-user-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .2s ease}.create-user-btn:hover{box-shadow:0 8px 16px #667eea4d;transform:translateY(-2px)}.error-message{background:#fed7d7;border:1px solid #feb2b2;border-radius:8px;color:#c53030}.error-message,.success-message{margin-bottom:20px;padding:12px 16px}.success-message{background:#c6f6d5;border:1px solid #9ae6b4;border-radius:8px;color:#2f855a}.create-user-modal{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000001a;max-height:90vh;max-width:500px;overflow-y:auto;padding:30px;width:90%}.modal-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px}.modal-header h3{color:#2d3748;font-size:1.5rem;font-weight:600;margin:0}.close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#718096;cursor:pointer;display:flex;font-size:1.5rem;height:30px;justify-content:center;padding:0;transition:all .2s ease;width:30px}.close-btn:hover{background:#f7fafc;color:#2d3748}.create-user-form{gap:20px}.create-user-form,.form-group{display:flex;flex-direction:column}.form-group{gap:8px}.form-group label{color:#2d3748;font-size:.9rem;font-weight:600}.form-group input{background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;padding:12px 16px;transition:all .2s ease}.form-group input:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:10px}.form-actions button{border:none;border-radius:8px;cursor:pointer;font-weight:600;padding:12px 24px;transition:all .2s ease}.form-actions button[type=button]{background:#e2e8f0;color:#4a5568}.form-actions button[type=button]:hover{background:#cbd5e0}.form-actions button[type=submit]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.form-actions button[type=submit]:hover{box-shadow:0 4px 8px #667eea4d;transform:translateY(-1px)}.users-table-container{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d;overflow:hidden}.users-table{border-collapse:collapse;width:100%}.users-table th{background:#f7fafc;border-bottom:2px solid #e2e8f0;color:#4a5568;font-weight:600;padding:16px;text-align:left}.users-table td{border-bottom:1px solid #e2e8f0;color:#2d3748;padding:16px}.users-table tr:hover{background:#f7fafc}.role-badge{border-radius:20px;font-size:.8rem;font-weight:600;padding:4px 12px;text-transform:uppercase}.role-badge.superuser{background:#fed7d7;color:#c53030}.role-badge.user{background:#bee3f8;color:#2b6cb0}.status-badge{border-radius:20px;font-size:.8rem;font-weight:600;padding:4px 12px}.status-badge.active{background:#c6f6d5;color:#2f855a}.deactivate-btn,.status-badge.inactive{background:#fed7d7;color:#c53030}.deactivate-btn{border:1px solid #feb2b2;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;padding:6px 12px;transition:all .2s ease}.deactivate-btn:hover:not(:disabled){background:#feb2b2;transform:translateY(-1px)}.deactivate-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.loading{color:#718096;font-size:1.1rem;padding:40px;text-align:center}@media (max-width:768px){.user-management{padding:10px}.user-management-header{align-items:stretch;flex-direction:column;gap:15px}.users-table-container{overflow-x:auto}.users-table{min-width:600px}.modal-content{margin:20px;padding:20px}}.app{display:flex;flex-direction:column;min-height:100vh}.app-content{display:flex;flex:1 1;height:calc(100vh - 68px)}.main-content{background-color:#f8fafc;flex:1 1;.container{padding:2rem 1rem}}.loading-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:100vh}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-container p{font-size:1.1rem;font-weight:500;margin:0}.back-button-container{margin-bottom:2rem}.back-button{align-items:center;background:#e2e8f0;border:none;border-radius:8px;color:#4a5568;cursor:pointer;display:flex;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.back-button:hover{background:#cbd5e0;transform:translateY(-1px)}@media (max-width:1024px){.app-content{flex-direction:column}.main-content{padding:1rem 0}.back-button-container{margin-bottom:1rem}}@media (max-width:768px){.main-content .container{padding:0 1rem}}