.ai-dashboard{background:#f8fafc;flex-direction:column;height:100vh;display:flex}.ai-dashboard-header{color:#fff;background:linear-gradient(135deg,#1e293b 0%,#334155 100%);border-bottom:3px solid #0ea5e9;flex-shrink:0;justify-content:space-between;align-items:center;padding:1.5rem 2rem;animation:.5s ease-in fadeIn;display:flex;box-shadow:0 2px 8px #0000001a}.header-content{align-items:center;gap:1rem;display:flex}.header-icon{background:linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%);border-radius:.375rem;flex-shrink:0;justify-content:center;align-items:center;padding:.875rem;display:flex}.header-icon svg{color:#fff;width:1.5rem;height:1.5rem}.header-text h1{color:#fff;letter-spacing:-.025em;margin-bottom:.25rem;font-size:1.875rem;font-weight:700}.header-text p{color:#cbd5e1;margin:0;font-size:.875rem;font-weight:400}.refresh-button{color:#e0f2fe;cursor:pointer;background:#0ea5e933;border:1px solid #0ea5e966;border-radius:8px;align-items:center;gap:.4rem;padding:.5rem 1.1rem;font-size:.875rem;font-weight:500;transition:background .2s;display:flex}.refresh-button:hover{background:#0ea5e959}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.ai-dashboard-content{flex-direction:column;flex:1;gap:1.25rem;padding:1.5rem;display:flex;overflow-y:auto}.section-row{grid-template-columns:1fr 1fr;align-items:start;gap:1.25rem;display:grid}.dashboard-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;box-shadow:0 1px 4px #0000000d}.section-title{align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.section-title svg{color:#667eea;flex-shrink:0;width:18px;height:18px}.section-title h2{color:#1e293b;margin:0;font-size:1rem;font-weight:700}.section-subtitle{color:#64748b;margin:-.5rem 0 1rem;font-size:.8rem}.workload-cards{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.stat-card{text-align:center;border-left:4px solid #0000;border-radius:10px;padding:1rem}.stat-card.balanced{background:#f0fdf4;border-left-color:#22c55e}.stat-card.overloaded{background:#fff7ed;border-left-color:#f97316}.stat-card.underutilized{background:#f8fafc;border-left-color:#94a3b8}.stat-card.utilization{background:#eff6ff;border-left-color:#667eea}.stat-value{color:#1e293b;margin-bottom:.25rem;font-size:2rem;font-weight:800;line-height:1}.stat-label{color:#64748b;font-size:.75rem;font-weight:500}.members-list{flex-direction:column;gap:.5rem;max-height:340px;display:flex;overflow-y:auto}.member-item{background:#f8fafc;border-radius:8px;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .75rem;display:flex}.member-info{flex:1;min-width:0}.member-name{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;font-weight:600;overflow:hidden}.member-stats{color:#64748b;font-size:.75rem}.member-workload{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.workload-bar-track{background:#e2e8f0;border-radius:3px;width:72px;height:6px;overflow:hidden}.workload-bar{border-radius:3px;height:100%;transition:width .3s}.workload-badge{color:#fff;white-space:nowrap;border-radius:999px;padding:2px 7px;font-size:.7rem;font-weight:500}.cards-list{flex-direction:column;gap:.75rem;max-height:380px;display:flex;overflow-y:auto}.risk-card{background:#fff5f5;border:1px solid #fecaca;border-radius:10px;padding:.9rem 1rem}.risk-header{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.4rem;display:flex}.risk-header h3{color:#1e293b;margin:0;font-size:.9rem;font-weight:700}.risk-badge{color:#fff;white-space:nowrap;border-radius:999px;flex-shrink:0;padding:3px 10px;font-size:.72rem;font-weight:600}.risk-delay{color:#475569;margin-bottom:.5rem;font-size:.8rem}.reasons-list{flex-direction:column;gap:.2rem;margin:0;padding-left:1.2rem;display:flex}.reasons-list li{color:#64748b;font-size:.78rem}.bottleneck-card{background:#fff8f3;border:1px solid #fed7aa;border-radius:10px;padding:.9rem 1rem}.bottleneck-card h3{color:#1e293b;margin:0 0 .6rem;font-size:.9rem;font-weight:700}.bottleneck-list{flex-direction:column;gap:.5rem;margin-bottom:.6rem;display:flex}.bottleneck-item{flex-direction:column;gap:.2rem;display:flex}.bottleneck-meta{align-items:center;gap:.5rem;display:flex}.bottleneck-type{color:#92400e;background:#fef3c7;border-radius:4px;padding:2px 8px;font-size:.78rem;font-weight:600}.bottleneck-description{color:#64748b;font-size:.78rem}.view-project-link{color:#667eea;margin-top:.6rem;font-size:.78rem;font-weight:600;text-decoration:none;transition:color .15s;display:inline-block}.view-project-link:hover{color:#764ba2}.inner-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.75rem;max-height:400px;display:grid;overflow-y:auto}.allocation-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.9rem 1rem}.allocation-card h3,.sprint-card h3{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;margin:0 0 .6rem;font-size:.9rem;font-weight:700;overflow:hidden}.suggestions-list{flex-direction:column;gap:.5rem;margin-bottom:.4rem;display:flex}.suggestion-item{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem}.suggestion-header{justify-content:space-between;align-items:center;margin-bottom:.2rem;display:flex}.suggestion-name{color:#1e293b;font-size:.82rem;font-weight:600}.suggestion-score{color:#fff;border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:700}.suggestion-reason{color:#64748b;margin:0;font-size:.75rem;line-height:1.4}.sprint-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.9rem 1rem}.sprint-metrics{grid-template-columns:repeat(3,1fr);gap:.5rem;margin-bottom:.6rem;display:grid}.sprint-metric{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.5rem}.sprint-metric label{color:#64748b;margin-bottom:.2rem;font-size:.7rem;font-weight:500;display:block}.trend-badge{font-size:.82rem;font-weight:700}.trend-badge.trend-increasing{color:#10b981}.trend-badge.trend-decreasing{color:#ef4444}.trend-badge.trend-stable{color:#f59e0b}.sprint-recommendations{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.4rem;padding:.6rem .75rem}.sprint-recommendations strong{color:#374151;margin-bottom:.3rem;font-size:.78rem;display:block}.sprint-recommendations ul{margin:0;padding-left:1.1rem}.sprint-recommendations ul li{color:#64748b;margin-bottom:.15rem;font-size:.75rem;line-height:1.4}.success-section{text-align:center;padding:2.5rem 1.5rem}.success-message{flex-direction:column;align-items:center;gap:.75rem;display:flex}.success-icon{background:#f0fdf4;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.success-icon svg{color:#22c55e;width:32px;height:32px}.success-message h2{color:#1e293b;margin:0;font-size:1.25rem;font-weight:700}.success-message p{color:#64748b;margin:0;font-size:.9rem}.info-banner{border-radius:10px;align-items:flex-start;gap:.75rem;padding:.9rem 1.1rem;font-size:.85rem;display:flex}.info-banner svg{flex-shrink:0;width:20px;height:20px;margin-top:1px}.info-banner strong{margin-bottom:.2rem;font-weight:700;display:block}.info-banner p{color:#92400e;margin:0}.warning-banner{color:#92400e;background:#fffbeb;border:1px solid #fcd34d}.warning-banner svg{color:#f59e0b}.ai-dashboard-loading{color:#475569;flex-direction:column;justify-content:center;align-items:center;gap:1rem;height:100vh;display:flex}.spinner{border:3px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.ai-dashboard-error{color:#ef4444;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;height:100vh;padding:2rem;display:flex}.ai-dashboard-error h3{margin:0;font-size:1.2rem;font-weight:700}.ai-dashboard-error p{color:#64748b;margin:0}.retry-button{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:8px;margin-top:.5rem;padding:.6rem 1.5rem;font-size:.9rem;font-weight:600;transition:background .2s}.retry-button:hover{background:#764ba2}@media (max-width:768px){.section-row{grid-template-columns:1fr}.ai-dashboard-header{flex-direction:column;align-items:flex-start;gap:.75rem;padding:1rem 1.25rem}.ai-dashboard-content{padding:1rem}}
