.app{min-height:100vh;display:flex;flex-direction:column;background:#0f172a;color:#e2e8f0}.header{background:#1e293b;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #334155}.header h1{font-size:1.5rem;font-weight:700}.header-actions{display:flex;gap:1rem;align-items:center}.board-select{padding:.5rem 1rem;background:#334155;border:1px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:.875rem;cursor:pointer}.btn-logout{padding:.5rem 1rem;background:#ef4444;border:none;border-radius:.375rem;color:#fff;cursor:pointer;font-size:.875rem}.btn-logout:hover{background:#dc2626}.btn-new-board{padding:.5rem 1rem;background:#3b82f6;border:none;border-radius:.375rem;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500}.btn-new-board:hover{background:#2563eb}.btn-edit-board{padding:.5rem 1rem;background:#64748b;border:none;border-radius:.375rem;color:#fff;cursor:pointer;font-size:.875rem}.btn-edit-board:hover:not(:disabled){background:#475569}.btn-edit-board:disabled{opacity:.5;cursor:not-allowed}.board-toolbar{display:flex;justify-content:flex-end;padding:.5rem 2rem;background:#1e293b;border-bottom:1px solid #334155}.toggle-cancelled,.toggle-rejected{display:flex;align-items:center;gap:.5rem;color:#94a3b8;font-size:.875rem;cursor:pointer}.toggle-cancelled input,.toggle-rejected input{cursor:pointer}.board{flex:1;display:flex;gap:1rem;padding:2rem;overflow-x:auto}.column.cancelled{opacity:.7;background:#1a1a2e}.column.cancelled .column-header h3{color:#6b7280}.btn-danger{background:#dc2626!important;color:#fff!important}.btn-danger:hover:not(:disabled){background:#b91c1c!important}.btn-danger:disabled{background:#4a5568!important;cursor:not-allowed}.column{min-width:320px;background:#1e293b;border-radius:.5rem;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.column-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.column-header h3{font-size:1rem;font-weight:600;color:#94a3b8}.task-count{background:#334155;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;color:#94a3b8}.tasks{display:flex;flex-direction:column;gap:.75rem;min-height:60px}.task-card{background:#0f172a;border:1px solid #334155;border-radius:.375rem;padding:.75rem;cursor:pointer;transition:all .2s}.task-card:hover{border-color:#3b82f6;transform:translateY(-2px)}.task-card h4{font-size:.875rem;font-weight:600;margin-bottom:.5rem}.task-card p{font-size:.75rem;color:#94a3b8;margin-bottom:.5rem}.task-meta{display:flex;gap:.5rem;flex-wrap:wrap}.priority{padding:.125rem .5rem;border-radius:.25rem;font-size:.625rem;font-weight:600;text-transform:uppercase}.priority-low{background:#1e3a5f;color:#93c5fd}.priority-medium{background:#422006;color:#fed7aa}.priority-high{background:#450a0a;color:#fca5a5}.priority-urgent,.priority-critical{background:#7f1d1d;color:#fca5a5}.tag{background:#334155;padding:.125rem .5rem;border-radius:.25rem;font-size:.625rem;color:#94a3b8}.loading{flex:1;display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:#64748b}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e293b)}.login-form{background:#1e293b;padding:2rem;border-radius:.75rem;box-shadow:0 10px 30px #0000004d;width:100%;max-width:400px}.login-form h1{margin-bottom:1.5rem;text-align:center}.login-form input{width:100%;padding:.75rem;margin-bottom:1rem;background:#0f172a;border:1px solid #334155;border-radius:.375rem;color:#e2e8f0;font-size:.875rem;box-sizing:border-box}.login-form input:focus{outline:none;border-color:#3b82f6}.login-form button{width:100%;padding:.75rem;background:#3b82f6;border:none;border-radius:.375rem;color:#fff;font-weight:600;cursor:pointer;margin-bottom:1rem}.login-form button:hover{background:#2563eb}.login-form .hint{text-align:center;font-size:.75rem;color:#64748b}.view-toggle{display:flex;gap:0;margin-right:1rem}.view-toggle button{padding:.5rem 1rem;border:1px solid #4a5568;background:#2d3748;color:#a0aec0;cursor:pointer;transition:all .2s}.view-toggle button:first-child{border-radius:6px 0 0 6px}.view-toggle button:last-child{border-radius:0 6px 6px 0;border-left:none}.view-toggle button:not(:first-child):not(:last-child){border-left:none}.view-toggle button.active{background:#4299e1;color:#fff;border-color:#4299e1}.view-toggle button:hover:not(.active){background:#4a5568}.task-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.task-modal{background:#1e293b;border-radius:12px;width:100%;max-width:720px;max-height:90vh;display:flex;flex-direction:column;border:1px solid #334155;box-shadow:0 25px 50px -12px #00000080}.task-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #334155}.task-header-left{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.task-id{color:#64748b;font-size:.875rem;font-weight:600;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .15s}.task-id:hover{background:#334155;color:#94a3b8}.task-title{flex:1;margin:0;font-size:1.125rem;font-weight:600;color:#f1f5f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-title-input,.story-title-input{flex:1;background:#0f172a;border:1px solid #3b82f6;border-radius:6px;padding:.5rem .75rem;font-size:1.125rem;font-weight:600;color:#f1f5f9}.task-modal-actions{display:flex;gap:.5rem;flex-shrink:0}.btn-icon{padding:.5rem;background:transparent;border:none;color:#64748b;cursor:pointer;border-radius:6px;font-size:1rem}.btn-icon:hover{background:#334155;color:#e2e8f0}.btn-edit,.btn-save,.btn-cancel,.btn-close{padding:.5rem .75rem;border-radius:6px;font-size:.875rem;cursor:pointer;border:none;transition:all .15s}.btn-edit{background:#334155;color:#e2e8f0}.btn-edit:hover{background:#475569}.btn-save{background:#22c55e;color:#fff}.btn-save:hover{background:#16a34a}.btn-cancel{background:#334155;color:#94a3b8}.btn-cancel:hover{background:#475569}.btn-close{background:transparent;color:#64748b;font-size:1.25rem;padding:.25rem .5rem}.btn-close:hover{color:#ef4444}.task-meta-section{padding:1rem 1.5rem;background:#0f172a;border-bottom:1px solid #334155}.meta-inline-grid{display:flex;flex-wrap:wrap;gap:1rem 1.5rem}.meta-inline-item{display:flex;flex-direction:column;gap:.25rem;min-width:120px}.meta-label{font-size:.6875rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.meta-select{padding:.375rem .5rem;background:#1e293b;border:1px solid transparent;border-radius:4px;color:#e2e8f0;font-size:.875rem;cursor:pointer;transition:all .15s}.meta-select:hover{border-color:#475569}.meta-select:focus{outline:none;border-color:#3b82f6;background:#0f172a}.meta-value-static{font-size:.875rem;color:#94a3b8;padding:.375rem 0}.meta-value{font-size:.875rem;color:#e2e8f0}.meta-value.link{color:#60a5fa;cursor:pointer;padding:.375rem 0}.meta-value.link:hover{text-decoration:underline}.task-title.editable{cursor:text;padding:.25rem .5rem;margin:-.25rem -.5rem;border-radius:4px;transition:background .15s}.task-title.editable:hover{background:#ffffff0d}.description-content.editable{cursor:text;transition:background .15s}.description-content.editable:hover{background:#3b82f61a;border-color:#3b82f6}.task-modal-content{flex:1;overflow-y:auto;padding:0}.task-section{padding:1.25rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.06)}.task-section:last-child{border-bottom:none}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.section-header.clickable{cursor:pointer}.section-header.clickable:hover .section-title{color:#e2e8f0}.section-title{margin:0;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#64748b;display:flex;align-items:center;gap:.5rem}.section-count{font-weight:400;color:#94a3b8}.section-toggle{color:#64748b;font-size:.75rem}.description-content{color:#cbd5e1;line-height:1.6;white-space:pre-wrap;min-height:60px;padding:.875rem;background:#0f172a;border-radius:8px;border:1px solid #334155}.description-content .placeholder{color:#64748b;font-style:italic}.description-textarea{width:100%;min-height:120px;padding:.875rem;background:#0f172a;border:1px solid #3b82f6;border-radius:8px;color:#e2e8f0;font-size:.9375rem;line-height:1.6;resize:vertical;box-sizing:border-box}.description-textarea:focus{outline:none;border-color:#60a5fa}.attachments-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1.5rem;border:2px dashed #334155;border-radius:8px;color:#64748b;cursor:pointer;transition:all .15s}.attachments-dropzone:hover,.attachments-dropzone.dragover{border-color:#3b82f6;background:#3b82f61a;color:#94a3b8}.dropzone-icon{font-size:1.5rem}.dropzone-text{font-size:.875rem}.progress-bar-mini{height:6px;background:#334155;border-radius:3px;margin-bottom:.75rem;overflow:hidden}.progress-bar-mini .progress-fill{height:100%;background:linear-gradient(90deg,#22c55e,#16a34a);border-radius:3px;transition:width .3s ease}.subtasks-list{list-style:none;padding:0;margin:0 0 .75rem}.subtask-row{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;background:#0f172a;border-radius:6px;margin-bottom:.5rem;border:1px solid #334155}.subtask-row.done{opacity:.6}.subtask-row.done .subtask-title{text-decoration:line-through;color:#64748b}.subtask-check{font-size:1.125rem;color:#64748b}.subtask-row.done .subtask-check{color:#22c55e}.subtask-title{flex:1;font-size:.875rem;color:#e2e8f0}.subtask-priority{font-size:.625rem;padding:.125rem .5rem;border-radius:4px}.subtask-assignee{color:#64748b;font-size:.75rem}.btn-add-inline{background:transparent;border:1px dashed #475569;color:#64748b;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.8125rem;width:100%;transition:all .15s}.btn-add-inline:hover{border-color:#3b82f6;color:#94a3b8}.comments-list{margin-bottom:.75rem}.comment-item{padding:.75rem;background:#0f172a;border-radius:8px;margin-bottom:.5rem;border:1px solid #334155}.comment-header{display:flex;justify-content:space-between;margin-bottom:.375rem}.comment-author{font-size:.8125rem;font-weight:500;color:#94a3b8}.comment-time{font-size:.75rem;color:#64748b}.comment-content{font-size:.875rem;color:#cbd5e1;line-height:1.5}.empty-comments{color:#64748b;font-size:.875rem;font-style:italic;text-align:center;padding:1rem}.comment-input-wrapper{display:flex;gap:.5rem;align-items:flex-end}.comment-input{flex:1;padding:.625rem;background:#0f172a;border:1px solid #475569;border-radius:6px;color:#e2e8f0;font-size:.875rem;resize:none}.comment-input:focus{outline:none;border-color:#3b82f6}.btn-send-comment{padding:.625rem 1rem;background:#3b82f6;border:none;border-radius:6px;color:#fff;font-size:.875rem;cursor:pointer}.btn-send-comment:hover:not(:disabled){background:#2563eb}.btn-send-comment:disabled{background:#334155;cursor:not-allowed}.activity-list{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.activity-item{display:flex;align-items:center;gap:.75rem;font-size:.8125rem;color:#94a3b8;padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.05)}.activity-item:last-child{border-bottom:none}.activity-dot{width:8px;height:8px;background:#64748b;border-radius:50%;flex-shrink:0}.activity-dot.created{background:#22c55e}.activity-dot.moved{background:#3b82f6}.activity-dot.assigned{background:#8b5cf6}.activity-dot.updated{background:#f59e0b}.activity-dot.subtask_created{background:#06b6d4}.activity-time{color:#64748b;font-size:.75rem;flex-shrink:0;min-width:80px}.activity-text{color:#cbd5e1;flex:1}.activity-user{color:#64748b;font-size:.75rem;font-style:italic}.story-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.story-modal{background:#1e293b;border-radius:12px;width:100%;max-width:720px;max-height:90vh;display:flex;flex-direction:column;border:1px solid #334155;box-shadow:0 25px 50px -12px #00000080}.story-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #334155}.story-header-left{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.story-id{color:#64748b;font-size:.875rem;font-weight:600;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .15s}.story-id:hover{background:#334155;color:#94a3b8}.story-title{flex:1;margin:0;font-size:1.125rem;font-weight:600;color:#f1f5f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-modal-actions{display:flex;gap:.5rem;align-items:center;flex-shrink:0}.story-meta-section{display:flex;gap:2rem;padding:1rem 1.5rem;background:#0f172a;border-bottom:1px solid #334155}.story-modal-content{flex:1;overflow-y:auto;padding:0}.stories-view{padding:1.5rem;max-width:1200px;margin:0 auto}.stories-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.stories-header h2{color:#e2e8f0;margin:0}.btn-primary{background:#4299e1;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;transition:background .2s}.btn-primary:hover{background:#3182ce}.btn-primary:disabled{background:#4a5568;cursor:not-allowed}.btn-back{background:transparent;color:#a0aec0;border:1px solid #4a5568;padding:.5rem 1rem;border-radius:6px;cursor:pointer;margin-bottom:1rem}.btn-back:hover{background:#4a5568}.stories-list{display:grid;gap:1rem}.story-card{background:#2d3748;border-radius:12px;padding:1.25rem;cursor:pointer;transition:transform .2s,box-shadow .2s;border:1px solid #4a5568}.story-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000004d;border-color:#4299e1}.story-card.large{cursor:default}.story-card.large:hover{transform:none;box-shadow:none}.story-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.story-header h2,.story-header h3{margin:0;color:#e2e8f0;flex:1}.story-description{color:#a0aec0;margin:0 0 1rem;line-height:1.5}.story-footer{display:flex;justify-content:space-between;align-items:center;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #4a5568}.story-meta{display:flex;gap:1.5rem;color:#a0aec0;font-size:.9rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #4a5568}.status{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-draft{background:#4a5568;color:#e2e8f0}.status-in_progress{background:#2b6cb0;color:#bee3f8}.status-completed{background:#276749;color:#9ae6b4}.status-pending_decomposition{background:#744210;color:#faf089}.status-ready_for_approval{background:#2b6cb0;color:#bee3f8}.status-decomposed{background:#276749;color:#9ae6b4}.status-pending{background:#744210;color:#faf089}.progress{color:#a0aec0;font-size:.85rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1001}.modal{background:#2d3748;border-radius:12px;padding:1.5rem;width:90%;max-width:500px;border:1px solid #4a5568}.modal h3{margin:0 0 1rem;color:#e2e8f0}.modal form{display:flex;flex-direction:column;gap:1rem}.modal input,.modal textarea,.modal select{padding:.75rem;border-radius:8px;border:1px solid #4a5568;background:#1a202c;color:#e2e8f0;font-size:1rem;box-sizing:border-box}.modal textarea{resize:vertical;min-height:100px}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:.5rem}.modal-actions button{padding:.75rem 1.25rem;border-radius:8px;cursor:pointer;font-weight:500}.modal-actions button:first-child{background:transparent;border:1px solid #4a5568;color:#a0aec0}.modal-actions button:first-child:hover{background:#4a5568}.empty-state{text-align:center;padding:3rem;color:#a0aec0}.empty-state p{font-size:1.1rem}.decomp-section{margin-top:1.5rem}.decomp-section h3{color:#e2e8f0;margin-bottom:1rem}.decomp-card{background:#1a202c;border-radius:12px;padding:1.25rem;border:1px solid #4a5568}.decomp-header{margin-bottom:1rem}.decomp-comments{max-height:400px;overflow-y:auto}.comment{background:#2d3748;border-radius:8px;padding:1rem;margin-bottom:.75rem;border:1px solid #4a5568}.comment.is-decomposition{border-color:#4299e1;background:#2a4365}.comment pre{white-space:pre-wrap;word-wrap:break-word;font-family:inherit;margin:.5rem 0;color:#e2e8f0;font-size:.9rem;line-height:1.5}.comment small{color:#718096;font-size:.8rem}.decomp-badge{background:#4299e1;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.no-comments{color:#718096;font-style:italic;text-align:center;padding:2rem}.btn-approve{width:100%;padding:1rem;background:#48bb78;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;margin-top:1rem;transition:background .2s}.btn-approve:hover:not(:disabled){background:#38a169}.btn-approve:disabled{background:#4a5568;cursor:not-allowed}.approved-message{text-align:center;padding:1rem;background:#276749;color:#9ae6b4;border-radius:8px;margin-top:1rem;font-weight:600}.task-card.decomposition-task{border-left:3px solid #4299e1}.decomp-tag{background:#2b6cb0!important;color:#bee3f8!important}.story-actions{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #4a5568}.action-hint{color:#a0aec0;margin-bottom:1rem}.btn-start-decomp{width:100%;padding:1rem;background:#805ad5;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-start-decomp:hover:not(:disabled){background:#6b46c1}.btn-start-decomp:disabled{background:#4a5568;cursor:not-allowed}.task-card{cursor:grab;transition:transform .15s,box-shadow .15s,opacity .15s}.task-card:active{cursor:grabbing}.task-card.dragging{opacity:.4;transform:scale(.98);pointer-events:none}.column.drag-over{background:#4299e126;outline:2px dashed #4299e1;outline-offset:-2px}.drop-indicator{height:3px;background:#4299e1;border-radius:2px;margin:4px 0;box-shadow:0 0 8px #4299e199;animation:pulse .8s ease-in-out infinite}.subtask-tag{background:#dbeafe!important;color:#1d4ed8!important}.has-subtasks{border-left:3px solid #3b82f6}.agents-view{max-width:1000px;margin:2rem auto;padding:0 1rem}.agents-header{margin-bottom:2rem}.agents-header h2{margin-bottom:.5rem;color:#e2e8f0}.agents-header p{color:#94a3b8}.agents-section{margin-bottom:2rem;background:#1e293b;padding:1.5rem;border-radius:12px;border:1px solid #334155}.agents-section h3{margin:0 0 1rem;color:#e2e8f0}.agent-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}.agent-card{background:#0f172a;padding:1rem;border-radius:8px;border:1px solid #334155}.agent-card h4{margin:0 0 .25rem;color:#e2e8f0}.agent-role{color:#64748b;font-size:.875rem;margin-bottom:.75rem}.agent-metrics div{font-size:.875rem;color:#94a3b8;margin-bottom:.25rem}.tasks-list{display:flex;flex-direction:column;gap:.75rem}.task-item{background:#0f172a;padding:.75rem 1rem;border-radius:8px;border:1px solid #334155}.task-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.task-item-header strong{color:#e2e8f0}.task-item-meta{color:#64748b;font-size:.875rem}.btn-small{padding:.5rem 1rem;font-size:.875rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;margin-top:.5rem}.btn-small:hover{background:#2563eb}.btn-small:disabled{background:#4a5568;cursor:not-allowed}.story-tasks-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.story-task-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:#1e293b;border-radius:6px;cursor:pointer;transition:background .15s}.story-task-item:hover{background:#334155}.story-task-item .task-id{color:#64748b;font-size:.75rem;font-weight:500}.story-task-item .task-title{flex:1;color:#e2e8f0;font-size:.875rem}.priority-dot{width:8px;height:8px;border-radius:50%}.priority-dot.priority-low{background:#3b82f6}.priority-dot.priority-medium{background:#eab308}.priority-dot.priority-high{background:#ef4444}.priority-dot.priority-urgent{background:#dc2626}.meta-with-action{display:flex;align-items:center;gap:.5rem}.meta-with-action .meta-select{flex:1}.btn-open-link{background:#3b82f6;border:none;border-radius:4px;color:#fff;width:28px;height:28px;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:background .15s}.btn-open-link:hover{background:#2563eb}.filter-story{display:flex;align-items:center;gap:.5rem}.filter-story label{color:#94a3b8;font-size:.875rem}.story-filter-select{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;padding:.375rem .75rem;font-size:.875rem;min-width:200px}.story-filter-select:focus{outline:none;border-color:#3b82f6}.btn-clear-filter{background:#475569;border:none;border-radius:4px;color:#fff;width:24px;height:24px;cursor:pointer;font-size:.75rem;display:flex;align-items:center;justify-content:center}.btn-clear-filter:hover{background:#64748b}.board-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:1.5rem;padding:.5rem 1rem}.btn-add-task-column{width:100%;padding:.5rem;margin-top:.5rem;background:transparent;border:1px dashed #475569;border-radius:6px;color:#64748b;cursor:pointer;font-size:.875rem;transition:all .15s}.btn-add-task-column:hover{background:#1e293b;border-color:#3b82f6;color:#3b82f6}.task-modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #334155;background:#0f172a}.btn-secondary{padding:.5rem 1rem;background:#475569;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem}.btn-secondary:hover{background:#64748b}.btn-primary{padding:.5rem 1rem;background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500}.btn-primary:hover{background:#2563eb}.stories-sidebar{width:280px;min-width:280px;background:#0f172a;border-left:1px solid #334155;padding:1rem;overflow-y:auto;max-height:calc(100vh - 140px)}.stories-sidebar h3{color:#e2e8f0;font-size:1rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #334155}.stories-sidebar-list{display:flex;flex-direction:column;gap:.5rem}.story-drop-card{background:#1e293b;border:2px dashed #334155;border-radius:8px;padding:.75rem;cursor:pointer;transition:all .15s}.story-drop-card:hover{border-color:#3b82f6;background:#1e3a5f}.story-drop-card.drag-over{border-color:#22c55e;background:#14532d;transform:scale(1.02)}.story-drop-title{color:#e2e8f0;font-weight:500;font-size:.875rem;margin-bottom:.5rem}.story-drop-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}.story-drop-meta .task-count{color:#64748b}.board-container{display:flex;flex:1;overflow:hidden}.board-with-sidebar{display:flex;flex:1;overflow:hidden;gap:0}.board-with-sidebar .board{flex:1;overflow-x:auto}.stories-sidebar{animation:slideIn .2s ease-out}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.search-box{display:flex;align-items:center;background:#1e293b;border:1px solid #334155;border-radius:6px;padding:.375rem .75rem;gap:.5rem}.search-icon{color:#64748b;font-size:.875rem}.search-input{background:transparent;border:none;color:#e2e8f0;font-size:.875rem;outline:none;width:180px}.search-input::placeholder{color:#64748b}.filter-select{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;padding:.375rem .75rem;font-size:.875rem;cursor:pointer}.filter-select:focus{outline:none;border-color:#3b82f6}.board-toolbar{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;flex-wrap:wrap}.stories-sidebar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #334155}.stories-sidebar-header h3{margin:0;padding:0;border:none}.btn-new-story{background:#3b82f6;border:none;border-radius:6px;color:#fff;padding:.375rem .75rem;font-size:.75rem;cursor:pointer;font-weight:500}.btn-new-story:hover{background:#2563eb}.column-title-row{display:flex;align-items:center;gap:.5rem}.btn-add-task-header{background:#3b82f6;border:none;border-radius:4px;color:#fff;width:20px;height:20px;cursor:pointer;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0;line-height:1}.btn-add-task-header:hover{background:#2563eb}.workshop-section{background:linear-gradient(135deg,#1e3a5f,#1e293b);border:1px solid #3b82f6;border-radius:8px;padding:1rem}.workshop-info{margin-top:.5rem}.workshop-info p{margin:.5rem 0;color:#e2e8f0}.workshop-hint{color:#94a3b8!important;font-size:.875rem}.btn-cancel-workshop{background:transparent;border:1px solid #64748b;border-radius:6px;color:#94a3b8;padding:.375rem .75rem;font-size:.75rem;cursor:pointer;margin-top:.5rem}.btn-cancel-workshop:hover{border-color:#ef4444;color:#ef4444}.workshop-messages{margin-top:.75rem;border-top:1px solid #334155;padding-top:.75rem}.workshop-msg{display:flex;gap:.5rem;margin-bottom:.5rem;font-size:.875rem}.workshop-msg.user{color:#60a5fa}.workshop-msg.assistant{color:#34d399}.msg-role{flex-shrink:0}.msg-content{color:#cbd5e1}.workshop-info.completed{background:#22c55e1a;border-radius:6px;padding:.75rem}.workshop-summary{color:#86efac!important;font-style:italic}.action-buttons{display:flex;align-items:center;gap:1rem;margin:1rem 0}.action-divider{color:#64748b;font-size:.875rem}.btn-start-workshop{background:linear-gradient(135deg,#8b5cf6,#6366f1);border:none;border-radius:8px;color:#fff;padding:.75rem 1.5rem;font-size:1rem;cursor:pointer;font-weight:600;transition:all .2s}.btn-start-workshop:hover{transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf666}.btn-start-workshop:disabled{opacity:.6;cursor:not-allowed;transform:none}.action-hint-small{color:#64748b;font-size:.75rem;margin-top:.5rem}.status-pending{background:#fbbf24;color:#1e293b}.status-active{background:#3b82f6;color:#fff}.status-completed{background:#22c55e;color:#fff}.status-cancelled{background:#64748b;color:#fff}.decomp-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:2000}.decomp-modal{background:#1e293b;border-radius:12px;width:90%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 25px 50px -12px #00000080}.decomp-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #334155}.decomp-header-left h2{margin:0;color:#f1f5f9;font-size:1.25rem}.decomp-story-title{color:#94a3b8;font-size:.875rem;margin-left:1rem}.decomp-agent-input{display:flex;gap:.5rem;padding:1rem 1.5rem;background:#0f172a;border-bottom:1px solid #334155}.decomp-agent-input input{flex:1;padding:.75rem 1rem;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#e2e8f0;font-size:.875rem}.decomp-agent-input input:focus{outline:none;border-color:#3b82f6}.decomp-agent-input button{padding:.75rem 1.5rem;background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500}.decomp-agent-input button:disabled{opacity:.5;cursor:not-allowed}.decomp-stats{display:flex;gap:1.5rem;padding:.75rem 1.5rem;background:#0f172a;border-bottom:1px solid #334155;font-size:.875rem;color:#94a3b8}.decomp-stats .bulk-actions{margin-left:auto;display:flex;gap:.5rem;align-items:center}.decomp-stats .bulk-actions button{padding:.25rem .75rem;border:1px solid #334155;border-radius:4px;background:transparent;color:#e2e8f0;cursor:pointer;font-size:.75rem}.decomp-stats .bulk-actions button:hover{background:#334155}.decomp-tasks-list{flex:1;overflow-y:auto;padding:1rem 1.5rem}.decomp-empty{text-align:center;padding:3rem;color:#94a3b8}.decomp-empty .hint{font-size:.875rem;margin-top:.5rem}.draft-task-card{background:#0f172a;border:1px solid #334155;border-radius:8px;padding:1rem;margin-bottom:.75rem;transition:all .2s}.draft-task-card:hover{border-color:#475569}.draft-task-card.approved{border-color:#22c55e;background:#22c55e0d}.draft-task-card.rejected{border-color:#ef4444;background:#ef44440d;opacity:.6}.draft-task-card.selected{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f64d}.draft-task-header{display:flex;align-items:center;gap:.75rem}.draft-task-header input[type=checkbox]{width:18px;height:18px;cursor:pointer}.draft-status-btn{cursor:pointer;font-size:1.25rem;-webkit-user-select:none;user-select:none}.draft-status-btn:hover{transform:scale(1.1)}.draft-task-title{flex:1;font-weight:500;color:#f1f5f9}.draft-task-badges{display:flex;gap:.5rem;flex-wrap:wrap}.draft-task-badges .badge{padding:.2rem .5rem;border-radius:4px;font-size:.7rem;font-weight:500}.badge.sp{background:#3b82f6;color:#fff}.badge.label-frontend{background:#06b6d4;color:#fff}.badge.label-backend{background:#22c55e;color:#fff}.badge.label-tests{background:#eab308;color:#1e293b}.badge.label-devops{background:#8b5cf6;color:#fff}.badge.label-docs{background:#f97316;color:#fff}.badge.priority-high{background:#ef4444;color:#fff}.badge.priority-medium{background:#eab308;color:#1e293b}.badge.priority-low{background:#64748b;color:#fff}.badge.assignee{background:#334155;color:#e2e8f0}.badge.confidence{background:#059669;color:#fff}.btn-reject-draft,.btn-delete-draft{background:transparent;border:none;cursor:pointer;opacity:.5;font-size:1rem;padding:.25rem;margin-left:.25rem}.btn-reject-draft:hover{opacity:1;color:#ef4444}.btn-delete-draft:hover{opacity:1}.draft-task-desc{margin-top:.75rem;padding:.75rem;background:#ffffff08;border-radius:6px;font-size:.875rem;color:#cbd5e1}.draft-task-reasoning{margin-top:.5rem;font-size:.8rem;color:#94a3b8;font-style:italic}.reasoning-label{color:#fbbf24}.draft-task-comments{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #334155}.draft-comment{display:flex;gap:.5rem;margin-bottom:.5rem;font-size:.8rem}.draft-comment.agent{color:#34d399}.draft-comment.user{color:#60a5fa}.comment-author{flex-shrink:0}.draft-task-add-comment{margin-top:.5rem}.draft-task-add-comment input{width:100%;padding:.5rem;background:#1e293b;border:1px solid #334155;border-radius:4px;color:#e2e8f0;font-size:.8rem}.draft-task-add-comment input:focus{outline:none;border-color:#3b82f6}.decomp-modal-footer{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-top:1px solid #334155;background:#0f172a}.footer-right{display:flex;gap:.75rem}.btn-add-manual{padding:.5rem 1rem;background:transparent;border:1px dashed #475569;border-radius:6px;color:#94a3b8;cursor:pointer}.btn-add-manual:hover{border-color:#64748b;color:#e2e8f0}.btn-cancel{padding:.5rem 1rem;background:transparent;border:1px solid #475569;border-radius:6px;color:#94a3b8;cursor:pointer}.btn-cancel:hover{border-color:#ef4444;color:#ef4444}.btn-create-tasks{padding:.75rem 1.5rem;background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600}.btn-create-tasks:disabled{opacity:.5;cursor:not-allowed;background:#475569}.btn-create-tasks:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 4px 12px #22c55e66}.btn-context{padding:.5rem 1rem;background:linear-gradient(135deg,#8b5cf6,#6366f1);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;transition:all .2s}.btn-context:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf666}.btn-context:disabled{opacity:.5;cursor:not-allowed}.modal-wide{max-width:700px!important;width:95%}.modal-hint{color:#94a3b8;font-size:.9rem;margin-bottom:1rem}.context-form{display:flex;flex-direction:column;gap:1rem;max-height:60vh;overflow-y:auto;padding-right:.5rem}.context-form label{display:flex;flex-direction:column;gap:.3rem}.context-form label span{font-size:.85rem;color:#94a3b8;font-weight:500}.context-form input,.context-form textarea{background:#1e293b;border:1px solid #334155;border-radius:6px;padding:.6rem .8rem;color:#e2e8f0;font-size:.95rem}.context-form input:focus,.context-form textarea:focus{outline:none;border-color:#8b5cf6}.context-form textarea{resize:vertical;min-height:60px}.comment-attachments{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.comment-attachment-img{max-width:200px;max-height:150px;border-radius:6px;cursor:pointer;transition:transform .2s}.comment-attachment-img:hover{transform:scale(1.05)}.pending-attachments{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem;padding:.5rem;background:#1e293b;border-radius:6px}.pending-attachment{position:relative;display:inline-block}.pending-attachment img{max-width:100px;max-height:80px;border-radius:4px}.btn-remove-attachment{position:absolute;top:-8px;right:-8px;width:20px;height:20px;border-radius:50%;background:#ef4444;color:#fff;border:none;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center}.comment-actions{display:flex;gap:.5rem;margin-top:.5rem}.btn-attach-image{padding:.5rem;background:#334155;border:none;border-radius:6px;cursor:pointer;font-size:1.1rem}.btn-attach-image:hover{background:#475569}.btn-attach-image:disabled{opacity:.5;cursor:not-allowed}.lightbox-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:10000;cursor:pointer}.lightbox-image{max-width:90vw;max-height:90vh;object-fit:contain}.lightbox-close{position:absolute;top:20px;right:20px;width:40px;height:40px;border-radius:50%;background:#fff3;color:#fff;border:none;cursor:pointer;font-size:20px}.lightbox-close:hover{background:#ffffff4d}.decomp-breadcrumbs{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#94a3b8;margin-bottom:.5rem}.breadcrumb{cursor:pointer;transition:color .2s}.breadcrumb:hover{color:#e2e8f0}.breadcrumb.active{color:#8b5cf6;cursor:default}.breadcrumb-sep{color:#475569}.decomp-header-right{display:flex;align-items:center;gap:.5rem}.btn-back{padding:.4rem .8rem;background:#334155;border:none;border-radius:6px;color:#e2e8f0;cursor:pointer;font-size:.9rem}.btn-back:hover{background:#475569}.decomp-badge{font-size:1rem;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.toast{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);padding:.8rem 1.5rem;border-radius:8px;font-size:.95rem;cursor:pointer;z-index:9999;animation:slideUp .3s ease;max-width:400px}.toast-error{background:#ef4444;color:#fff}.toast-success{background:#22c55e;color:#fff}@keyframes slideUp{0%{transform:translate(-50%) translateY(20px);opacity:0}to{transform:translate(-50%) translateY(0);opacity:1}}.task-attachments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin-top:.5rem}.task-attachment-item{cursor:pointer;border:2px solid #334155;border-radius:8px;overflow:hidden;box-sizing:border-box}.task-attachment-thumb{width:100%;height:120px;object-fit:cover;display:block}.task-attachment-file{height:120px;display:flex;align-items:center;justify-content:center;background:#1e293b;font-size:2rem}.task-attachment-name{padding:.5rem;font-size:.85rem;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#0f172a}.text-preview-modal{background:#1e293b;border-radius:12px;max-width:800px;max-height:80vh;width:90%;display:flex;flex-direction:column;border:1px solid #334155;box-shadow:0 25px 50px -12px #00000080}.text-preview-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #334155}.text-preview-filename{font-weight:600;color:#e2e8f0}.text-preview-content{flex:1;overflow:auto;padding:1.5rem;margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.6;color:#cbd5e1;white-space:pre-wrap;word-wrap:break-word;background:#0f172a;border-radius:0 0 12px 12px}.assignee-select{padding:.25rem .5rem;background:#1e293b;border:1px solid #334155;border-radius:4px;color:#cbd5e1;font-size:.8125rem;cursor:pointer;margin-left:.5rem;transition:border-color .15s}.assignee-select:hover{border-color:#8b5cf6}.assignee-select:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf633}.select-all-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#cbd5e1;cursor:pointer;padding:.25rem 0}.select-all-checkbox input[type=checkbox]{cursor:pointer}.reasoning-icon{font-size:1rem;cursor:help;padding:0 .25rem}.confidence-indicator{display:flex;align-items:center;gap:.375rem;padding:.25rem .5rem;background:#8b5cf61a;border-radius:4px}.confidence-bar{width:40px;height:4px;background:#334155;border-radius:2px;overflow:hidden}.confidence-fill{height:100%;background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e);transition:width .3s ease}.confidence-text{font-size:.75rem;font-weight:600;color:#8b5cf6}.btn-suggest-more{padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:background .2s;margin-right:.75rem}.btn-suggest-more:hover{background:#2563eb}.chat-panel{position:fixed;right:0;top:0;bottom:0;width:400px;background:#fff;border-left:1px solid #ddd;display:flex;flex-direction:column;z-index:1000}.chat-header{padding:16px;border-bottom:1px solid #eee;background:#f8f9fa;display:flex;justify-content:space-between;align-items:center}.chat-header h3{margin:0;font-size:16px}.session-id{font-size:12px;color:#666;background:#e9ecef;padding:4px 8px;border-radius:12px}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}.chat-empty{text-align:center;color:#999;padding:40px 20px}.chat-message{padding:12px;border-radius:8px;max-width:85%}.chat-message.user{align-self:flex-end;background:#007bff;color:#fff;margin-left:auto}.chat-message.agent{align-self:flex-start;background:#f1f3f5;color:#212529}.message-header{display:flex;justify-content:space-between;margin-bottom:8px;font-size:12px}.chat-message.user .message-header{color:#fffc}.chat-message.agent .message-header{color:#868e96}.message-role{font-weight:600}.message-content{line-height:1.5}.message-content p{margin:0 0 8px}.message-content p:last-child{margin-bottom:0}.message-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.message-actions button{padding:6px 12px;border:1px solid #dee2e6;border-radius:4px;background:#fff;cursor:pointer;font-size:13px;transition:all .2s}.message-actions button:hover{background:#f8f9fa;border-color:#adb5bd}.typing-indicator{display:flex;gap:4px;padding:8px 0}.typing-indicator span{width:8px;height:8px;border-radius:50%;background:#adb5bd;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.7}30%{transform:translateY(-10px);opacity:1}}.chat-input-area{border-top:1px solid #eee;padding:12px;background:#f8f9fa}.quick-actions{display:flex;gap:8px;margin-bottom:8px}.quick-actions button{padding:6px 12px;border:1px solid #dee2e6;border-radius:4px;background:#fff;cursor:pointer;font-size:12px;transition:all .2s}.quick-actions button:hover{background:#007bff;color:#fff;border-color:#007bff}.chat-input-row{display:flex;gap:8px}.chat-input-row textarea{flex:1;padding:10px;border:1px solid #dee2e6;border-radius:4px;resize:none;font-family:inherit;font-size:14px}.chat-input-row textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.chat-input-row button{padding:10px 20px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:background .2s}.chat-input-row button:hover:not(:disabled){background:#0056b3}.chat-input-row button:disabled{opacity:.5;cursor:not-allowed}.decomposition-modal.with-chat{margin-right:400px}.reorder-buttons{display:flex;gap:4px;margin-left:auto;margin-right:8px}.btn-reorder-up,.btn-reorder-down{background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:14px;transition:all .2s}.btn-reorder-up:hover:not(:disabled),.btn-reorder-down:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.btn-reorder-up:disabled,.btn-reorder-down:disabled{opacity:.3;cursor:not-allowed}@media (max-width: 768px){.decomposition-modal{width:100vw;height:100vh;max-width:100vw;max-height:100vh;margin:0;border-radius:0}.decomposition-modal .modal-body{padding:12px}.draft-task-card{padding:12px;font-size:14px}.draft-task-badges{flex-wrap:wrap;gap:4px}.btn-reorder-up,.btn-reorder-down,.btn-reject-draft,.btn-delete-draft{min-width:36px;min-height:36px;padding:8px}.chat-panel{position:static;width:100%;height:400px;border-left:none;border-top:2px solid #ddd;margin-top:16px}.decomposition-modal.with-chat{margin-right:0}.draft-tasks-list{margin-bottom:16px}button{min-height:44px;min-width:44px}.assignee-select{font-size:14px;padding:8px}.confidence-indicator{font-size:11px}.decomp-breadcrumbs{font-size:13px}}@media (max-width: 480px){.draft-task-header{flex-direction:column;align-items:flex-start;gap:8px}.reorder-buttons{margin-left:0;margin-top:8px}.draft-task-badges{width:100%;justify-content:flex-start}.chat-input-row{flex-direction:column}.chat-input-row textarea,.chat-input-row button{width:100%}.quick-actions{flex-direction:column}.quick-actions button{width:100%}}.keyboard-hints{display:flex;gap:16px;padding:12px 16px;background:#f8f9fa;border-top:1px solid #dee2e6;font-size:13px;color:#6c757d}.keyboard-hints .hint{display:flex;align-items:center;gap:6px}.keyboard-hints kbd{background:#fff;border:1px solid #adb5bd;border-radius:3px;padding:2px 6px;font-family:monospace;font-size:12px;font-weight:600;box-shadow:0 1px 2px #0000001a}@media (max-width: 768px){.keyboard-hints{font-size:11px;gap:8px}.keyboard-hints kbd{font-size:10px;padding:1px 4px}}.draft-task-card[draggable=true]{cursor:move}.draft-task-card:active{cursor:grabbing}.draft-task-card.dragging{opacity:.5;background:#e9ecef}.draft-task-card.drag-over{border-top:3px solid #007bff}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#0f172a;color:#e2e8f0}#root{min-height:100vh}
