@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap";*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{color:#0f172a;-webkit-font-smoothing:antialiased;background-color:#f8fafc;min-height:100vh;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5}.app-container{background-color:#f8fafc;flex-direction:row;min-height:100vh;display:flex}.sidebar{z-index:50;background-color:#fff;border-right:1px solid #e2e8f0;flex-direction:column;flex-shrink:0;justify-content:space-between;width:260px;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0;box-shadow:2px 0 8px #00000005}.logo-section{align-items:center;gap:12px;margin-bottom:28px;padding:4px 8px;display:flex}.logo-icon{object-fit:contain;border-radius:8px;flex-shrink:0;width:38px;height:38px}.logo-brand{flex-direction:column;min-width:0;display:flex}.logo-text{color:#0f172a;letter-spacing:-.02em;font-size:17px;font-weight:800;line-height:1.2}.logo-badge{color:#2563eb;letter-spacing:.02em;font-size:10px;font-weight:700}.sidebar-nav{flex-direction:column;flex:1;gap:4px;display:flex}.nav-item{cursor:pointer;color:#64748b;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;width:100%;padding:10px 14px;font-size:13.5px;font-weight:600;transition:all .15s;display:flex}.nav-item:hover{color:#2563eb;background-color:#f1f5f9}.nav-item.active{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe;font-weight:700;box-shadow:0 1px 2px #2563eb0d}.sidebar-bottom{border-top:1px solid #e2e8f0;flex-direction:column;gap:12px;padding-top:16px;display:flex}.sidebar-user-card{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.sidebar-user-info{align-items:center;gap:10px;min-width:0;display:flex}.sidebar-user-avatar{color:#475569;background-color:#e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.sidebar-user-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;overflow:hidden}.sidebar-user-role{color:#64748b;font-size:10px;font-weight:500}.status-badge{color:#059669;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;align-items:center;gap:8px;padding:6px 12px;font-size:12px;font-weight:600;display:flex}.live-dot{background-color:#10b981;border-radius:50%;width:8px;height:8px;animation:2s ease-in-out infinite pulse-dot;box-shadow:0 0 8px #10b981}@keyframes pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(1.2)}}.logout-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:all .15s;display:flex}.logout-btn:hover{color:#dc2626;background-color:#fef2f2}.main-content{flex:1;width:100%;min-width:0;max-width:1400px;margin:0 auto;padding:32px 40px}.nav-bar{background-color:#fff;border-top:1px solid #f1f5f9}.nav-inner{gap:4px;max-width:1280px;margin:0 auto;padding:0 24px;display:flex;overflow-x:auto}.tab-btn{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:8px;padding:14px 16px;font-size:13px;font-weight:600;transition:all .15s;display:flex}.tab-btn:hover{color:#0f172a;border-bottom-color:#cbd5e1}.tab-btn.active{color:#2563eb;background-color:#f8fafc;border-bottom-color:#2563eb}.main-content{flex:1;width:100%;max-width:1280px;margin:0 auto;padding:32px 24px}.page-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.page-title{color:#0f172a;letter-spacing:-.02em;font-size:22px;font-weight:800}.page-subtitle{color:#64748b;margin-top:2px;font-size:13px}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:28px;display:grid}.metric-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px;transition:transform .15s,box-shadow .15s,border-color .15s;box-shadow:0 1px 3px #0000000a}.metric-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 10px 20px -5px #0000000f}.metric-top{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.metric-label{color:#64748b;font-size:13px;font-weight:600}.metric-icon-box{border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.metric-icon-blue{color:#2563eb;background-color:#eff6ff}.metric-icon-emerald{color:#059669;background-color:#ecfdf5}.metric-icon-indigo{color:#4f46e5;background-color:#eef2ff}.metric-icon-amber{color:#d97706;background-color:#fffbeb}.metric-bottom{align-items:baseline;gap:8px;display:flex}.metric-number{color:#0f172a;font-size:28px;font-weight:800;line-height:1.1}.metric-unit{color:#64748b;font-size:12px;font-weight:500}.card-panel{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:24px;padding:24px;box-shadow:0 1px 3px #0000000a}.card-title{color:#0f172a;align-items:center;gap:8px;margin-bottom:16px;font-size:15px;font-weight:700;display:flex}.two-col-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;display:grid}.toolbar-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.compact-select{width:220px;min-height:36px}.section-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.info-box{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.info-box-title{color:#1e293b;margin-bottom:6px;font-size:13px;font-weight:700}.info-box-desc{color:#475569;font-size:12px;line-height:1.6}.kanban-board{grid-template-columns:repeat(4,minmax(220px,1fr));align-items:start;gap:16px;display:grid}.kanban-column{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;min-height:420px;overflow:hidden}.kanban-column-header{background-color:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;min-height:52px;padding:14px 16px;display:flex}.kanban-column-header h3{color:#0f172a;font-size:13px;font-weight:800}.kanban-list{flex-direction:column;gap:10px;padding:12px;display:flex}.kanban-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;min-height:92px;padding:12px;box-shadow:0 1px 2px #0f172a0a}.kanban-card-title{color:#0f172a;margin-bottom:12px;font-size:13px;font-weight:700;line-height:1.4}.kanban-card-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.kanban-actions{flex:none;gap:4px;display:flex}.kanban-actions button{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.kanban-actions button:hover{color:#0f172a;background:#f8fafc}.kanban-card-meta{color:#64748b;flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;display:flex}.timeline-shell{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:8px 0;box-shadow:0 1px 3px #0000000a}.timeline-item{grid-template-columns:42px 1fr;padding:14px 20px 14px 0;display:grid;position:relative}.timeline-item:not(:last-child):after{content:"";background-color:#e2e8f0;width:1px;position:absolute;top:34px;bottom:-16px;left:20px}.timeline-dot{z-index:1;background-color:#2563eb;border:2px solid #dbeafe;border-radius:999px;width:10px;height:10px;margin:12px auto 0}.timeline-content{background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px}.timeline-topline{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.timeline-date{color:#64748b;white-space:nowrap;font-size:11px}.timeline-content h3{color:#0f172a;margin-bottom:4px;font-size:14px;font-weight:800}.timeline-content p{color:#475569;margin-bottom:10px;font-size:12px}.stack-list{flex-direction:column;gap:8px;display:flex}.segmented-control{background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;gap:2px;padding:3px;display:inline-flex}.segmented-control button{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:7px 12px;font-size:12px;font-weight:700}.segmented-control button.active{color:#1d4ed8;background-color:#fff;box-shadow:0 1px 2px #0f172a14}.simple-list{flex-direction:column;gap:10px;display:flex}.simple-list-item{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 0;display:flex}.simple-list-item:first-child{border-top:none;padding-top:0}.simple-list-main{min-width:0}.simple-list-main h3{color:#0f172a;margin-bottom:5px;font-size:14px;font-weight:800}.simple-list-main p{color:#64748b;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.simple-list-meta{flex-wrap:wrap;flex:0 0 260px;justify-content:flex-end;align-items:center;gap:6px;display:flex}.mono-heading,.mono-muted{font-family:JetBrains Mono,monospace}.mono-muted{color:#475569}.stack-row{color:#334155;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:10px 12px;font-size:13px;font-weight:650;display:flex}.link-row{color:#1d4ed8;text-decoration:none}.empty-state-small,.empty-state-large{color:#94a3b8;text-align:center;background-color:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px}.empty-state-small{padding:18px 12px;font-size:12px}.empty-state-large{margin:16px;padding:36px 16px;font-size:13px}@media (width<=1180px){.kanban-board{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (width<=760px){.app-container{flex-direction:column}.sidebar{width:100%;height:auto;position:relative}.main-content{padding:24px 16px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.toolbar-row,.compact-select{width:100%}.section-toolbar,.simple-list-item{flex-direction:column;align-items:stretch}.simple-list-meta{flex:auto;justify-content:flex-start}.kanban-board{grid-template-columns:1fr}.timeline-topline{flex-direction:column;align-items:flex-start}}.btn-primary{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:8px;align-items:center;gap:8px;padding:9px 18px;font-size:13px;font-weight:600;transition:background-color .15s,shadow .15s;display:inline-flex;box-shadow:0 2px 4px #2563eb33}.btn-primary:hover{background-color:#1d4ed8}.btn-secondary{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.btn-secondary:hover{color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.table-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.custom-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.custom-table th{color:#475569;text-transform:uppercase;letter-spacing:.04em;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-size:11px;font-weight:700}.custom-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:14px 16px}.custom-table tr:last-child td{border-bottom:none}.custom-table tr:hover td{background-color:#f8fafc}.badge{border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.badge-emerald{color:#059669;background-color:#ecfdf5;border:1px solid #a7f3d0}.badge-blue{color:#2563eb;background-color:#eff6ff;border:1px solid #bfdbfe}.badge-indigo{color:#4f46e5;background-color:#eef2ff;border:1px solid #c7d2fe}.badge-amber{color:#d97706;background-color:#fffbeb;border:1px solid #fde68a}.badge-rose{color:#dc2626;background-color:#fef2f2;border:1px solid #fecaca}.badge-slate{color:#475569;background-color:#f1f5f9;border:1px solid #e2e8f0}.code-block{color:#f8fafc;background-color:#0f172a;border-radius:10px;padding:16px;font-family:JetBrains Mono,monospace;font-size:12px;line-height:1.6;overflow-x:auto}.modal-overlay{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f172a99;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:420px;max-height:calc(100vh - 32px);padding:32px;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}.form-group{margin-bottom:16px}.form-label{color:#334155;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.form-input{border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-size:13px;transition:border-color .15s}.form-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.btn-danger{color:#fff;cursor:pointer;background-color:#dc2626;border:none;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:background-color .15s;display:inline-flex}.btn-danger:hover{background-color:#b91c1c}.form-select{background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-size:13px;transition:border-color .15s}.form-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.modal-card-lg{max-width:540px}.scope-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:8px;display:grid}.scope-option{cursor:pointer;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;min-width:0;padding:6px 8px;display:flex}.scope-option input{flex:none}.scope-code{overflow-wrap:anywhere;color:#0f172a;min-width:0;font-size:11px;line-height:1.35}.modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;display:flex}.modal-title{color:#0f172a;font-size:18px;font-weight:800}.modal-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:4px;display:flex}.modal-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.modal-footer{border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:12px;margin-top:24px;padding-top:20px;display:flex}.alert-error{color:#dc2626;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:8px;margin-bottom:16px;padding:10px 14px;font-size:12px;font-weight:600;display:flex}.alert-success{color:#047857;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;margin-bottom:16px;padding:12px 16px;font-size:13px;font-weight:600}
