.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.page-heading h1 { margin: 0; font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--gray-950); }
.page-heading p { margin: 5px 0 0; color: var(--gray-500); font-size: 12px; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.task-role-filter { display: flex; align-items: center; gap: 8px; color: var(--gray-500); font-size: 11px; flex-wrap: wrap; }
.btn { height: 34px; padding: 0 13px; border: 1px solid var(--gray-300); border-radius: var(--radius); background: white; color: var(--gray-700); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 500; font-size: 13px; }
.btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-primary { background: var(--blue-600); border-color: var(--blue-600); color: white; }
.btn-primary:hover { background: var(--blue-700); color: white; }
.btn-danger { border-color: #fecaca; color: var(--red-700); background: #fffafa; }
.btn:disabled, .segment:disabled { cursor: not-allowed; opacity: .5; }
.btn-link { border-color: transparent; background: transparent; color: var(--blue-600); padding-inline: 5px; }
.btn-icon { width: 34px; padding: 0; }
.btn-sm { height: 28px; padding-inline: 9px; font-size: 12px; }
.panel { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.panel-head { min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-title { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.panel-body { padding: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { min-height: 88px; padding: 15px 16px; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat-label { color: var(--gray-500); font-size: 12px; }
.stat-value { margin-top: 7px; font-size: 25px; line-height: 1; font-weight: 650; color: var(--gray-950); }
.stat-note { margin-top: 8px; color: var(--gray-500); font-size: 11px; }
.stat-note.danger { color: var(--red-700); }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 8px; border-radius: var(--radius-sm); font-size: 11px; line-height: 1.4; white-space: nowrap; border: 1px solid transparent; }
.tag-blue { color: #155e9c; background: var(--blue-100); border-color: #bfdbfe; }
.tag-green { color: var(--green-700); background: var(--green-100); border-color: #bbf7d0; }
.tag-amber { color: var(--amber-700); background: var(--amber-100); border-color: #fde68a; }
.tag-red { color: var(--red-700); background: var(--red-100); border-color: #fecaca; }
.tag-gray { color: var(--gray-600); background: var(--gray-100); border-color: var(--gray-200); }
.tag-cyan { color: var(--cyan-700); background: var(--cyan-100); border-color: #a5f3fc; }
.tabs { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid var(--gray-200); padding: 0 14px; background: white; }
.tab { min-height: 43px; padding: 0 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--gray-500); cursor: pointer; font-size: 13px; }
.tab:hover { color: var(--gray-800); }
.tab.active { color: var(--blue-600); border-bottom-color: var(--blue-600); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.alert { padding: 10px 13px; border: 1px solid; border-radius: var(--radius); display: flex; gap: 9px; align-items: flex-start; font-size: 12px; line-height: 1.6; }
.alert-info { background: var(--blue-50); border-color: #bfdbfe; color: #1e4d78; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #854d0e; }
.alert-error { background: #fff7f7; border-color: #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--gray-400); }
.badge-dot.green { background: #22c55e; }
.badge-dot.red { background: #ef4444; }
.badge-dot.amber { background: #f59e0b; }
.empty { min-height: 180px; display: grid; place-items: center; color: var(--gray-400); }
.divider { height: 1px; background: var(--gray-200); margin: 16px 0; }
