:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#f8fafc;background-color:#0f172a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}.navbar{position:fixed;top:0;left:0;right:0;height:56px;background:#1e293b;border-bottom:1px solid #334155;z-index:100}.navbar-container{display:flex;align-items:center;justify-content:space-between;height:100%;padding:0 1.25rem}.navbar-title{font-size:1.1rem;font-weight:700;color:#f8fafc}.navbar-actions{display:flex;align-items:center}.btn-signin{padding:.45rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s}.btn-signin:hover{background:#2563eb}.navbar .user-menu{position:relative}.navbar .user-button{display:flex;align-items:center;gap:.5rem;padding:.3rem .65rem;background:transparent;border:1px solid #334155;border-radius:100px;color:#f8fafc;cursor:pointer;transition:background .15s,border-color .15s;font-family:inherit}.navbar .user-button:hover{background:#334155;border-color:#475569}.navbar .user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}.navbar .user-initials{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#3b82f6;color:#fff;border-radius:50%;font-size:.75rem;font-weight:700}.navbar .user-name{font-size:.85rem;font-weight:500;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar .user-dropdown{position:absolute;top:calc(100% + 6px);right:0;width:220px;background:#1e293b;border:1px solid #334155;border-radius:8px;box-shadow:0 4px 12px #0006;overflow:hidden;z-index:110}.navbar .user-dropdown-header{padding:.75rem}.navbar .user-dropdown-name{display:block;color:#f8fafc;font-size:.85rem;font-weight:600}.navbar .user-dropdown-email{display:block;color:#64748b;font-size:.75rem;margin-top:.1rem}.navbar .user-dropdown-divider{height:1px;background:#334155}.navbar .user-dropdown-item{display:block;width:100%;padding:.6rem .75rem;background:none;border:none;color:#e2e8f0;font-size:.82rem;text-align:left;cursor:pointer;font-family:inherit}.navbar .user-dropdown-item:hover{background:#334155}.navbar .user-dropdown-item.logout{color:#f87171}.navbar .user-dropdown-item.logout:hover{background:#450a0a}.layout{min-height:100vh;background:#0f172a}.layout-body{display:flex;padding-top:56px;min-height:100vh}.sidebar{width:200px;background:#1e293b;border-right:1px solid #334155;display:flex;flex-direction:column;flex-shrink:0;position:fixed;top:56px;bottom:0;left:0;overflow-y:auto}.sidebar-nav{list-style:none;padding:.5rem 0;margin:0}.sidebar-nav li a{display:block;padding:.6rem 1rem;color:#94a3b8;text-decoration:none;font-size:.9rem;font-weight:500;transition:background .15s,color .15s}.sidebar-nav li a:hover{background:#334155;color:#f8fafc}.sidebar-nav li a.active{background:#3b82f6;color:#fff}.main-content{flex:1;padding:1.5rem;overflow-y:auto;min-width:0;margin-left:200px}.login-gate{display:flex;align-items:center;justify-content:center;min-height:100vh;background:#0f172a;padding-top:56px}.login-gate-content{text-align:center;padding:2rem}.login-gate-content h1{color:#f8fafc;font-size:2.5rem;font-weight:800;margin-bottom:.75rem}.login-gate-content p{color:#94a3b8;font-size:1.1rem;margin-bottom:2rem}.btn-signin-lg{padding:.75rem 2rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s}.btn-signin-lg:hover{background:#2563eb}.btn-secondary-lg{padding:.75rem 2rem;background:#334155;color:#e2e8f0;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s}.btn-secondary-lg:hover{background:#475569}.pending-icon{margin-bottom:1.5rem}.login-gate-content p{line-height:1.6}.login-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:200}.login-modal{background:#1e293b;border:1px solid #334155;border-radius:12px;width:90%;max-width:380px;overflow:hidden}.login-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #334155}.login-header h2{color:#f8fafc;font-size:1.15rem;font-weight:700;margin:0}.login-close{background:none;border:none;color:#64748b;cursor:pointer;padding:.25rem;display:flex}.login-close:hover{color:#f8fafc}.login-body{padding:1.5rem}.login-error{background:#450a0a;border:1px solid #7f1d1d;color:#fca5a5;padding:.6rem .75rem;border-radius:6px;font-size:.8rem;margin-bottom:1rem}.login-google{margin-bottom:1rem}.btn-google{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;padding:.7rem 1rem;background:#f8fafc;color:#1e293b;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s;font-family:inherit}.btn-google:hover{background:#e2e8f0}.btn-google:disabled{opacity:.6;cursor:not-allowed}.login-footer{text-align:center}.login-footer p{color:#64748b;font-size:.78rem;margin:0}.badge{display:inline-block;padding:.15rem .5rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.badge-user_story{background:#7c3aed;color:#fff}.badge-task{background:#f59e0b;color:#1e293b}.badge-bug{background:#ef4444;color:#fff}.badge-state-new{background:#475569;color:#e2e8f0}.badge-state-active{background:#3b82f6;color:#fff}.badge-state-resolved{background:#10b981;color:#fff}.badge-state-closed{background:#64748b;color:#e2e8f0}.badge-priority-1{background:#dc2626;color:#fff}.badge-priority-2{background:#f97316;color:#fff}.badge-priority-3{background:#eab308;color:#1e293b}.badge-priority-4{background:#6b7280;color:#e2e8f0}.board-page{height:calc(100vh - 3rem);display:flex;flex-direction:column}.board-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.board-toolbar h1{font-size:1.5rem;color:#f8fafc}.board{display:flex;gap:1rem;flex:1;overflow-x:auto}.board-column{flex:1;min-width:240px;max-width:340px;background:#1e293b;border-radius:8px;display:flex;flex-direction:column}.column-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #334155}.column-title{font-weight:600;color:#e2e8f0;font-size:.9rem}.column-count{background:#334155;color:#94a3b8;padding:.1rem .5rem;border-radius:10px;font-size:.75rem;font-weight:600}.column-body{padding:.5rem;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.5rem}.column-empty{color:#64748b;text-align:center;padding:2rem 0;font-size:.85rem}.work-item-card{background:#0f172a;border:1px solid #334155;border-radius:6px;padding:.75rem;cursor:pointer;transition:border-color .15s,box-shadow .15s}.work-item-card:hover{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.card-header{display:flex;gap:.4rem;margin-bottom:.4rem}.card-title{color:#f8fafc;font-size:.85rem;font-weight:500;line-height:1.3;margin-bottom:.4rem}.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#64748b}.card-id{font-weight:600}.card-assigned{color:#94a3b8}.story-group{border-left:3px solid #3b82f6;border-radius:6px;background:#3b82f60d;padding:.35rem}.story-group-card-wrapper{position:relative}.story-group-toggle{position:absolute;top:.45rem;right:.45rem;display:flex;align-items:center;gap:.25rem;background:#1e293b;border:1px solid #334155;border-radius:4px;padding:.15rem .4rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s}.story-group-toggle:hover{background:#334155}.story-group-arrow{color:#94a3b8;font-size:.65rem;transition:transform .15s}.story-group-arrow.collapsed{transform:rotate(-90deg)}.story-group-count{color:#94a3b8;font-size:.7rem;font-weight:600}.story-group-children{margin-top:.35rem;padding-left:.4rem;display:flex;flex-direction:column;gap:.35rem}.user-picker,.user-picker-input-wrap{position:relative}.user-picker-input-wrap input{padding-right:2rem}.user-picker-clear{position:absolute;right:.4rem;top:50%;transform:translateY(-50%);background:none;border:none;color:#64748b;font-size:1.1rem;cursor:pointer;padding:.2rem .4rem;line-height:1}.user-picker-clear:hover{color:#f8fafc}.user-picker-dropdown{background:#1e293b;border:1px solid #334155;border-radius:6px;box-shadow:0 4px 12px #0006;max-height:200px;overflow-y:auto;z-index:9999}.user-picker-empty{padding:.75rem;color:#64748b;font-size:.8rem;text-align:center}.user-picker-option{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .6rem;background:none;border:none;cursor:pointer;text-align:left;transition:background .12s;font-family:inherit}.user-picker-option:hover{background:#334155}.user-picker-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;flex-shrink:0}.user-picker-avatar-placeholder{width:24px;height:24px;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;flex-shrink:0}.user-picker-info{display:flex;flex-direction:column;min-width:0}.user-picker-name{color:#e2e8f0;font-size:.82rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-picker-email{color:#64748b;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:100}.modal{background:#1e293b;border:1px solid #334155;border-radius:10px;padding:1.5rem;width:90%;max-width:480px;max-height:90vh;overflow-y:auto}.modal h3{color:#f8fafc;margin-bottom:1rem;font-size:1.15rem}.modal label{display:block;margin-bottom:.75rem;color:#94a3b8;font-size:.8rem;font-weight:600}.modal input,.modal select,.modal textarea{display:block;width:100%;margin-top:.25rem;padding:.5rem .6rem;background:#0f172a;border:1px solid #334155;border-radius:6px;color:#f8fafc;font-size:.85rem;font-family:inherit}.modal input:focus,.modal select:focus,.modal textarea:focus{outline:none;border-color:#3b82f6}.modal textarea{resize:vertical}.form-row{display:flex;gap:.75rem}.form-row label{flex:1}.form-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}.btn{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb}.btn-secondary{background:#334155;color:#e2e8f0}.btn-secondary:hover{background:#475569}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.btn-small{padding:.3rem .65rem;font-size:.78rem}.detail-page{max-width:800px}.detail-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.detail-header h1{font-size:1.4rem;color:#f8fafc;flex:1}.detail-back{color:#94a3b8;text-decoration:none;font-size:.85rem}.detail-back:hover{color:#f8fafc}.detail-form{background:#1e293b;border-radius:8px;padding:1.25rem;margin-bottom:1.5rem}.detail-form label{display:block;margin-bottom:.75rem;color:#94a3b8;font-size:.8rem;font-weight:600}.detail-form input,.detail-form select,.detail-form textarea{display:block;width:100%;margin-top:.25rem;padding:.5rem .6rem;background:#0f172a;border:1px solid #334155;border-radius:6px;color:#f8fafc;font-size:.85rem;font-family:inherit}.detail-form input:focus,.detail-form select:focus,.detail-form textarea:focus{outline:none;border-color:#3b82f6}.detail-form textarea{resize:vertical}.detail-form .form-row{display:flex;gap:.75rem}.detail-form .form-row label{flex:1}.detail-actions{display:flex;justify-content:space-between;margin-top:1rem}.detail-badges{display:flex;gap:.5rem;margin-bottom:1rem}.detail-readonly .readonly-value{margin-top:.25rem;padding:.5rem .6rem;background:#0f172a;border:1px solid #334155;border-radius:6px;color:#e2e8f0;font-size:.85rem;min-height:1.5em}.detail-readonly .readonly-description{white-space:pre-wrap;min-height:4em}.children-section{margin-top:1.5rem}.children-section h2{font-size:1.1rem;color:#f8fafc;margin-bottom:.75rem}.children-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.children-header h2{margin-bottom:0}.children-actions{display:flex;gap:.4rem}.children-list{display:flex;flex-direction:column;gap:.4rem}.child-item{display:flex;align-items:center;gap:.6rem;background:#0f172a;border:1px solid #334155;border-radius:6px;padding:.6rem .75rem;cursor:pointer;transition:border-color .15s}.child-item:hover{border-color:#3b82f6}.child-item .child-title{flex:1;color:#e2e8f0;font-size:.85rem}.child-item .child-id{color:#64748b;font-size:.75rem;font-weight:600}.backlog-page{display:flex;flex-direction:column}.backlog-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.backlog-toolbar h1{font-size:1.5rem;color:#f8fafc}.backlog-search{margin-bottom:1rem}.backlog-search-input{width:100%;max-width:400px;padding:.5rem .75rem;background:#1e293b;border:1px solid #334155;border-radius:6px;color:#f8fafc;font-size:.85rem;font-family:inherit;outline:none;transition:border-color .15s}.backlog-search-input:focus{border-color:#3b82f6}.backlog-search-input::placeholder{color:#64748b}.backlog-table{width:100%;border-collapse:collapse;background:#1e293b;border-radius:8px;overflow:hidden}.backlog-table thead th{text-align:left;padding:.6rem .75rem;font-size:.75rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #334155;background:#1e293b}.backlog-row{cursor:pointer;transition:background .12s}.backlog-row:hover{background:#334155}.backlog-row td{padding:.6rem .75rem;font-size:.85rem;color:#e2e8f0;border-bottom:1px solid #1e293b}.backlog-row-child td{background:#0f172a}.backlog-row-child .col-title{padding-left:2rem}.indent-marker{display:inline-block;width:0;margin-right:0}.col-id{width:60px;color:#64748b;font-weight:600}.col-type,.col-state{width:100px}.col-priority{width:90px}.col-assigned{width:140px;color:#94a3b8}.loading-text{color:#94a3b8;text-align:center;padding:3rem}.empty-text{color:#64748b;text-align:center;padding:3rem;font-size:.9rem}.history-page{display:flex;flex-direction:column}.history-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.history-toolbar h1{font-size:1.5rem;color:#f8fafc}.history-search{margin-bottom:1rem}.history-search-input{width:100%;max-width:400px;padding:.5rem .75rem;background:#1e293b;border:1px solid #334155;border-radius:6px;color:#f8fafc;font-size:.85rem;font-family:inherit;outline:none;transition:border-color .15s}.history-search-input:focus{border-color:#3b82f6}.history-search-input::placeholder{color:#64748b}.history-table .col-deleted-at{width:160px;color:#94a3b8;font-size:.8rem}.history-table .col-actions{width:100px;text-align:right}.btn-restore{padding:.3rem .7rem;background:#334155;color:#e2e8f0;border:1px solid #475569;border-radius:4px;font-size:.78rem;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}.btn-restore:hover{background:#3b82f6;border-color:#3b82f6;color:#fff}.btn-restore:disabled{opacity:.5;cursor:not-allowed}.history-pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1rem;padding:.5rem 0}.btn-page{padding:.4rem 1rem;background:#1e293b;color:#e2e8f0;border:1px solid #334155;border-radius:6px;font-size:.8rem;font-family:inherit;cursor:pointer;transition:background .15s}.btn-page:hover:not(:disabled){background:#334155}.btn-page:disabled{opacity:.4;cursor:not-allowed}.page-info{color:#94a3b8;font-size:.85rem}*{margin:0;padding:0;box-sizing:border-box}
