trackops 2.0.4 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +660 -575
  3. package/bin/trackops.js +127 -106
  4. package/lib/cli-format.js +118 -0
  5. package/lib/config.js +352 -326
  6. package/lib/control.js +408 -246
  7. package/lib/env.js +234 -222
  8. package/lib/i18n.js +5 -4
  9. package/lib/init.js +390 -282
  10. package/lib/locale.js +41 -41
  11. package/lib/opera-bootstrap.js +1066 -880
  12. package/lib/opera.js +615 -444
  13. package/lib/preferences.js +74 -74
  14. package/lib/registry.js +214 -214
  15. package/lib/release.js +56 -56
  16. package/lib/runtime-state.js +144 -144
  17. package/lib/skills.js +114 -89
  18. package/lib/workspace.js +259 -248
  19. package/locales/en.json +311 -167
  20. package/locales/es.json +314 -170
  21. package/package.json +61 -58
  22. package/scripts/postinstall-locale.js +21 -21
  23. package/scripts/skills-marketplace-smoke.js +124 -124
  24. package/scripts/smoke-tests.js +563 -517
  25. package/scripts/sync-skill-version.js +21 -21
  26. package/scripts/validate-skill.js +103 -103
  27. package/skills/trackops/SKILL.md +126 -122
  28. package/skills/trackops/agents/openai.yaml +7 -7
  29. package/skills/trackops/locales/en/SKILL.md +126 -122
  30. package/skills/trackops/locales/en/references/activation.md +94 -90
  31. package/skills/trackops/locales/en/references/troubleshooting.md +73 -67
  32. package/skills/trackops/locales/en/references/workflow.md +55 -32
  33. package/skills/trackops/references/activation.md +94 -90
  34. package/skills/trackops/references/troubleshooting.md +73 -67
  35. package/skills/trackops/references/workflow.md +55 -32
  36. package/skills/trackops/skill.json +29 -29
  37. package/templates/hooks/post-checkout +2 -2
  38. package/templates/hooks/post-commit +2 -2
  39. package/templates/hooks/post-merge +2 -2
  40. package/templates/opera/agent.md +28 -27
  41. package/templates/opera/architecture/dependency-graph.md +24 -24
  42. package/templates/opera/architecture/runtime-automation.md +24 -24
  43. package/templates/opera/architecture/runtime-operations.md +34 -34
  44. package/templates/opera/en/agent.md +22 -21
  45. package/templates/opera/en/architecture/dependency-graph.md +24 -24
  46. package/templates/opera/en/architecture/runtime-automation.md +24 -24
  47. package/templates/opera/en/architecture/runtime-operations.md +34 -34
  48. package/templates/opera/en/reviews/delivery-audit.md +18 -18
  49. package/templates/opera/en/reviews/integration-audit.md +18 -18
  50. package/templates/opera/en/router.md +24 -19
  51. package/templates/opera/references/autonomy-and-recovery.md +117 -117
  52. package/templates/opera/references/opera-cycle.md +193 -193
  53. package/templates/opera/registry.md +28 -28
  54. package/templates/opera/reviews/delivery-audit.md +18 -18
  55. package/templates/opera/reviews/integration-audit.md +18 -18
  56. package/templates/opera/router.md +54 -49
  57. package/templates/skills/changelog-updater/SKILL.md +69 -69
  58. package/templates/skills/commiter/SKILL.md +99 -99
  59. package/templates/skills/opera-contract-auditor/SKILL.md +38 -38
  60. package/templates/skills/opera-contract-auditor/locales/en/SKILL.md +38 -38
  61. package/templates/skills/opera-policy-guard/SKILL.md +26 -26
  62. package/templates/skills/opera-policy-guard/locales/en/SKILL.md +26 -26
  63. package/templates/skills/opera-skill/SKILL.md +279 -0
  64. package/templates/skills/opera-skill/locales/en/SKILL.md +279 -0
  65. package/templates/skills/opera-skill/locales/en/references/phase-dod.md +138 -0
  66. package/templates/skills/opera-skill/references/phase-dod.md +138 -0
  67. package/templates/skills/project-starter-skill/SKILL.md +150 -131
  68. package/templates/skills/project-starter-skill/locales/en/SKILL.md +143 -105
  69. package/templates/skills/project-starter-skill/references/opera-cycle.md +195 -193
  70. package/ui/css/base.css +284 -284
  71. package/ui/css/charts.css +425 -425
  72. package/ui/css/components.css +1107 -1107
  73. package/ui/css/onboarding.css +133 -133
  74. package/ui/css/terminal.css +125 -125
  75. package/ui/css/timeline.css +58 -58
  76. package/ui/css/tokens.css +284 -284
  77. package/ui/favicon.svg +5 -5
  78. package/ui/index.html +99 -99
  79. package/ui/js/charts.js +526 -526
  80. package/ui/js/console-logger.js +172 -172
  81. package/ui/js/filters.js +247 -247
  82. package/ui/js/icons.js +129 -129
  83. package/ui/js/keyboard.js +229 -229
  84. package/ui/js/router.js +142 -142
  85. package/ui/js/theme.js +100 -100
  86. package/ui/js/time-tracker.js +248 -248
  87. package/ui/js/views/dashboard.js +870 -870
  88. package/ui/js/views/flash.js +47 -47
  89. package/ui/js/views/projects.js +745 -745
  90. package/ui/js/views/scrum.js +476 -476
  91. package/ui/js/views/settings.js +331 -331
  92. package/ui/js/views/timeline.js +265 -265
package/ui/css/charts.css CHANGED
@@ -1,425 +1,425 @@
1
- /* ═══════════════════════════════════════════════════════
2
- CHARTS — Gráficas SVG custom, bar charts, donut
3
- ═══════════════════════════════════════════════════════ */
4
-
5
- /* ───────────────────────────────────
6
- CHART CARD CONTAINER
7
- ─────────────────────────────────── */
8
- .chart-card {
9
- background: var(--glass-bg);
10
- backdrop-filter: blur(var(--glass-blur));
11
- -webkit-backdrop-filter: blur(var(--glass-blur));
12
- border: 1px solid var(--glass-border);
13
- border-radius: var(--radius-xl);
14
- padding: var(--space-5);
15
- display: flex;
16
- flex-direction: column;
17
- gap: var(--space-4);
18
- box-shadow: var(--glass-shadow), var(--glass-inner);
19
- transition:
20
- border-color var(--duration-base) var(--ease-out),
21
- box-shadow var(--duration-base) var(--ease-out),
22
- transform var(--duration-base) var(--ease-out);
23
- }
24
- .chart-card:hover {
25
- border-color: var(--glass-border-hover);
26
- box-shadow: var(--shadow-sm);
27
- transform: translateY(-2px);
28
- }
29
-
30
- .chart-title {
31
- font-size: var(--text-sm);
32
- font-weight: 700;
33
- color: var(--text-primary);
34
- margin: 0;
35
- }
36
- .chart-subtitle {
37
- font-size: var(--text-xs);
38
- color: var(--text-muted);
39
- }
40
-
41
- /* ───────────────────────────────────
42
- BAR CHARTS HORIZONTALES
43
- ─────────────────────────────────── */
44
- .bar-chart {
45
- display: flex;
46
- flex-direction: column;
47
- gap: var(--space-3);
48
- }
49
-
50
- .bar-row {
51
- display: grid;
52
- grid-template-columns: 110px 1fr 36px;
53
- align-items: center;
54
- gap: var(--space-3);
55
- }
56
-
57
- .bar-label {
58
- font-size: var(--text-xs);
59
- font-weight: 600;
60
- color: var(--text-secondary);
61
- white-space: nowrap;
62
- overflow: hidden;
63
- text-overflow: ellipsis;
64
- }
65
-
66
- .bar-track {
67
- height: 8px;
68
- background: var(--surface-3);
69
- border-radius: var(--radius-full);
70
- overflow: hidden;
71
- position: relative;
72
- }
73
-
74
- .bar-fill {
75
- height: 100%;
76
- border-radius: var(--radius-full);
77
- background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
78
- transform-origin: left;
79
- animation: barGrow 0.8s var(--ease-out) both;
80
- }
81
-
82
- .bar-fill.fill-success { background: linear-gradient(90deg, var(--success), #34D399); }
83
- .bar-fill.fill-warning { background: linear-gradient(90deg, var(--warning), #FCD34D); }
84
- .bar-fill.fill-danger { background: linear-gradient(90deg, var(--danger), #F87171); }
85
- .bar-fill.fill-info { background: linear-gradient(90deg, var(--info), #60A5FA); }
86
-
87
- .bar-value {
88
- font-size: var(--text-xs);
89
- font-weight: 700;
90
- color: var(--text-secondary);
91
- text-align: right;
92
- font-family: var(--font-mono);
93
- }
94
-
95
- /* ───────────────────────────────────
96
- ACTIVIDAD VERTICAL (barras semanales)
97
- ─────────────────────────────────── */
98
- .activity-chart {
99
- display: flex;
100
- align-items: flex-end;
101
- gap: var(--space-2);
102
- height: 120px;
103
- }
104
-
105
- .activity-bar-col {
106
- flex: 1;
107
- display: flex;
108
- flex-direction: column;
109
- align-items: center;
110
- justify-content: flex-end;
111
- gap: var(--space-1);
112
- height: 100%;
113
- }
114
-
115
- .activity-bar {
116
- width: 100%;
117
- min-height: 4px;
118
- border-radius: var(--radius-xs) var(--radius-xs) 2px 2px;
119
- background: linear-gradient(180deg, var(--accent) 0%, rgba(59,130,246,0.4) 100%);
120
- transform-origin: bottom;
121
- animation: heightGrow 0.9s var(--ease-out) both;
122
- transition: background var(--duration-fast);
123
- }
124
- .activity-bar:hover {
125
- background: linear-gradient(180deg, var(--accent-hover) 0%, rgba(96,165,250,0.5) 100%);
126
- }
127
-
128
- .activity-bar-label {
129
- font-size: 0.65rem;
130
- font-family: var(--font-mono);
131
- color: var(--text-muted);
132
- text-align: center;
133
- }
134
-
135
- /* ───────────────────────────────────
136
- DONUT CHART SVG
137
- ─────────────────────────────────── */
138
- .donut-svg {
139
- overflow: visible;
140
- }
141
-
142
- .donut-track {
143
- fill: none;
144
- stroke: rgba(255,255,255,0.06);
145
- stroke-width: 12;
146
- }
147
-
148
- .donut-arc {
149
- fill: none;
150
- stroke-width: 12;
151
- stroke-linecap: round;
152
- stroke-dashoffset: 0;
153
- transform-origin: center;
154
- transform: rotate(-90deg);
155
- transition: stroke-dasharray 1.2s var(--ease-out);
156
- }
157
-
158
- .donut-arc.arc-completed { stroke: var(--success); }
159
- .donut-arc.arc-progress { stroke: var(--accent); }
160
- .donut-arc.arc-blocked { stroke: var(--danger); }
161
- .donut-arc.arc-review { stroke: var(--warning); }
162
-
163
- /* ───────────────────────────────────
164
- PHASE PROGRESS BARS
165
- ─────────────────────────────────── */
166
- .phase-chart {
167
- display: flex;
168
- flex-direction: column;
169
- gap: var(--space-4);
170
- }
171
-
172
- .phase-row {
173
- display: flex;
174
- flex-direction: column;
175
- gap: var(--space-2);
176
- }
177
-
178
- .phase-row-header {
179
- display: flex;
180
- align-items: center;
181
- justify-content: space-between;
182
- }
183
-
184
- .phase-name {
185
- font-size: var(--text-xs);
186
- font-weight: 700;
187
- color: var(--text-secondary);
188
- }
189
-
190
- .phase-progress {
191
- font-size: var(--text-xs);
192
- font-family: var(--font-mono);
193
- color: var(--text-muted);
194
- }
195
-
196
- .phase-track {
197
- height: 6px;
198
- background: var(--surface-3);
199
- border-radius: var(--radius-full);
200
- overflow: hidden;
201
- }
202
-
203
- .phase-fill {
204
- height: 100%;
205
- border-radius: var(--radius-full);
206
- transform-origin: left;
207
- animation: barGrow 1s var(--ease-out) both;
208
- }
209
-
210
- .phase-fill.done { background: var(--success); }
211
- .phase-fill.active { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%); }
212
- .phase-fill.partial { background: var(--warning); }
213
-
214
- /* ───────────────────────────────────
215
- MINI SPARKLINE (para KPI cards)
216
- ─────────────────────────────────── */
217
- .sparkline-svg {
218
- width: 100%;
219
- height: 40px;
220
- overflow: visible;
221
- }
222
-
223
- .sparkline-path {
224
- fill: none;
225
- stroke: var(--accent);
226
- stroke-width: 2;
227
- stroke-linecap: round;
228
- stroke-linejoin: round;
229
- }
230
-
231
- .sparkline-area {
232
- fill: url(#sparkGrad);
233
- opacity: 0.3;
234
- }
235
-
236
- /* ───────────────────────────────────
237
- TIME ENTRIES TIMELINE (mini)
238
- ─────────────────────────────────── */
239
- .time-entries {
240
- display: flex;
241
- flex-direction: column;
242
- gap: var(--space-2);
243
- }
244
-
245
- .time-entry {
246
- display: flex;
247
- align-items: center;
248
- justify-content: space-between;
249
- gap: var(--space-3);
250
- padding: var(--space-2) var(--space-3);
251
- border-radius: var(--radius-md);
252
- background: var(--surface-3);
253
- border: 1px solid var(--border);
254
- font-size: var(--text-xs);
255
- }
256
-
257
- .time-entry-task {
258
- flex: 1;
259
- min-width: 0;
260
- overflow: hidden;
261
- text-overflow: ellipsis;
262
- white-space: nowrap;
263
- color: var(--text-secondary);
264
- font-weight: 600;
265
- }
266
-
267
- .time-entry-duration {
268
- font-family: var(--font-mono);
269
- font-weight: 700;
270
- color: var(--text-primary);
271
- white-space: nowrap;
272
- }
273
-
274
- .time-entry-date {
275
- color: var(--text-muted);
276
- font-family: var(--font-mono);
277
- white-space: nowrap;
278
- }
279
-
280
- /* ───────────────────────────────────
281
- HEALTH RAIL (KPI health)
282
- ─────────────────────────────────── */
283
- .health-grid {
284
- display: grid;
285
- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
286
- gap: var(--space-3);
287
- }
288
-
289
- .health-card {
290
- background: var(--glass-bg-subtle);
291
- backdrop-filter: blur(var(--glass-blur-sm));
292
- -webkit-backdrop-filter: blur(var(--glass-blur-sm));
293
- border: 1px solid var(--glass-border);
294
- border-radius: var(--radius-md);
295
- padding: var(--space-4);
296
- display: flex;
297
- flex-direction: column;
298
- gap: var(--space-2);
299
- }
300
-
301
- .health-card-label {
302
- font-size: var(--text-xs);
303
- font-weight: 700;
304
- letter-spacing: 0.06em;
305
- text-transform: uppercase;
306
- color: var(--text-muted);
307
- }
308
-
309
- .health-card-value {
310
- font-family: var(--font-heading);
311
- font-size: var(--text-2xl);
312
- font-weight: 800;
313
- letter-spacing: -0.04em;
314
- line-height: 1;
315
- color: var(--text-primary);
316
- }
317
-
318
- .health-card-value.good { color: var(--success); }
319
- .health-card-value.warn { color: var(--warning); }
320
- .health-card-value.bad { color: var(--danger); }
321
-
322
- /* ───────────────────────────────────
323
- CHART TOOLTIP
324
- ─────────────────────────────────── */
325
- .chart-tooltip {
326
- position: absolute;
327
- background: var(--surface-2);
328
- border: 1px solid var(--border-strong);
329
- border-radius: var(--radius-md);
330
- padding: var(--space-2) var(--space-3);
331
- font-size: var(--text-xs);
332
- font-weight: 600;
333
- color: var(--text-primary);
334
- pointer-events: none;
335
- white-space: nowrap;
336
- box-shadow: var(--shadow-md);
337
- opacity: 0;
338
- transition: opacity var(--duration-fast);
339
- z-index: var(--z-panel);
340
- }
341
- .chart-tooltip.is-visible { opacity: 1; }
342
-
343
- /* ───────────────────────────────────
344
- PERIOD SELECTOR
345
- ─────────────────────────────────── */
346
- .period-selector {
347
- display: flex;
348
- gap: var(--space-1);
349
- background: var(--surface-3);
350
- border-radius: var(--radius-full);
351
- padding: 2px;
352
- border: 1px solid var(--border);
353
- }
354
- .period-btn {
355
- padding: 0.3rem 0.85rem;
356
- font-size: var(--text-xs);
357
- font-weight: 600;
358
- border-radius: var(--radius-full);
359
- color: var(--text-secondary);
360
- transition:
361
- background var(--duration-fast) var(--ease-out),
362
- color var(--duration-fast) var(--ease-out);
363
- }
364
- .period-btn:hover {
365
- color: var(--text-primary);
366
- background: var(--surface-4);
367
- }
368
- .period-btn.is-active {
369
- background: var(--accent);
370
- color: white;
371
- box-shadow: var(--shadow-sm);
372
- }
373
-
374
- /* ───────────────────────────────────
375
- LINE / AREA CHART SVG
376
- ─────────────────────────────────── */
377
- .line-chart-container {
378
- position: relative;
379
- overflow: visible;
380
- }
381
- .line-chart-container svg {
382
- display: block;
383
- overflow: visible;
384
- }
385
-
386
- /* ───────────────────────────────────
387
- HEATMAP CHART
388
- ─────────────────────────────────── */
389
- .heatmap-container {
390
- overflow-x: auto;
391
- scrollbar-width: thin;
392
- scrollbar-color: var(--surface-3) transparent;
393
- }
394
- .heatmap-container svg {
395
- display: block;
396
- }
397
- .heatmap-label {
398
- font-family: var(--font-mono);
399
- font-size: 10px;
400
- fill: var(--text-muted);
401
- }
402
-
403
- /* ───────────────────────────────────
404
- DEPENDENCY GRAPH
405
- ─────────────────────────────────── */
406
- .dep-graph-container {
407
- overflow-x: auto;
408
- padding: var(--space-3) 0;
409
- }
410
- .dep-graph-container svg {
411
- display: block;
412
- }
413
-
414
- /* ───────────────────────────────────
415
- CHART WRAPPER (responsive)
416
- ─────────────────────────────────── */
417
- .chart-wrapper {
418
- position: relative;
419
- width: 100%;
420
- min-height: 200px;
421
- }
422
- .chart-wrapper svg {
423
- width: 100%;
424
- height: auto;
425
- }
1
+ /* ═══════════════════════════════════════════════════════
2
+ CHARTS — Gráficas SVG custom, bar charts, donut
3
+ ═══════════════════════════════════════════════════════ */
4
+
5
+ /* ───────────────────────────────────
6
+ CHART CARD CONTAINER
7
+ ─────────────────────────────────── */
8
+ .chart-card {
9
+ background: var(--glass-bg);
10
+ backdrop-filter: blur(var(--glass-blur));
11
+ -webkit-backdrop-filter: blur(var(--glass-blur));
12
+ border: 1px solid var(--glass-border);
13
+ border-radius: var(--radius-xl);
14
+ padding: var(--space-5);
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: var(--space-4);
18
+ box-shadow: var(--glass-shadow), var(--glass-inner);
19
+ transition:
20
+ border-color var(--duration-base) var(--ease-out),
21
+ box-shadow var(--duration-base) var(--ease-out),
22
+ transform var(--duration-base) var(--ease-out);
23
+ }
24
+ .chart-card:hover {
25
+ border-color: var(--glass-border-hover);
26
+ box-shadow: var(--shadow-sm);
27
+ transform: translateY(-2px);
28
+ }
29
+
30
+ .chart-title {
31
+ font-size: var(--text-sm);
32
+ font-weight: 700;
33
+ color: var(--text-primary);
34
+ margin: 0;
35
+ }
36
+ .chart-subtitle {
37
+ font-size: var(--text-xs);
38
+ color: var(--text-muted);
39
+ }
40
+
41
+ /* ───────────────────────────────────
42
+ BAR CHARTS HORIZONTALES
43
+ ─────────────────────────────────── */
44
+ .bar-chart {
45
+ display: flex;
46
+ flex-direction: column;
47
+ gap: var(--space-3);
48
+ }
49
+
50
+ .bar-row {
51
+ display: grid;
52
+ grid-template-columns: 110px 1fr 36px;
53
+ align-items: center;
54
+ gap: var(--space-3);
55
+ }
56
+
57
+ .bar-label {
58
+ font-size: var(--text-xs);
59
+ font-weight: 600;
60
+ color: var(--text-secondary);
61
+ white-space: nowrap;
62
+ overflow: hidden;
63
+ text-overflow: ellipsis;
64
+ }
65
+
66
+ .bar-track {
67
+ height: 8px;
68
+ background: var(--surface-3);
69
+ border-radius: var(--radius-full);
70
+ overflow: hidden;
71
+ position: relative;
72
+ }
73
+
74
+ .bar-fill {
75
+ height: 100%;
76
+ border-radius: var(--radius-full);
77
+ background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
78
+ transform-origin: left;
79
+ animation: barGrow 0.8s var(--ease-out) both;
80
+ }
81
+
82
+ .bar-fill.fill-success { background: linear-gradient(90deg, var(--success), #34D399); }
83
+ .bar-fill.fill-warning { background: linear-gradient(90deg, var(--warning), #FCD34D); }
84
+ .bar-fill.fill-danger { background: linear-gradient(90deg, var(--danger), #F87171); }
85
+ .bar-fill.fill-info { background: linear-gradient(90deg, var(--info), #60A5FA); }
86
+
87
+ .bar-value {
88
+ font-size: var(--text-xs);
89
+ font-weight: 700;
90
+ color: var(--text-secondary);
91
+ text-align: right;
92
+ font-family: var(--font-mono);
93
+ }
94
+
95
+ /* ───────────────────────────────────
96
+ ACTIVIDAD VERTICAL (barras semanales)
97
+ ─────────────────────────────────── */
98
+ .activity-chart {
99
+ display: flex;
100
+ align-items: flex-end;
101
+ gap: var(--space-2);
102
+ height: 120px;
103
+ }
104
+
105
+ .activity-bar-col {
106
+ flex: 1;
107
+ display: flex;
108
+ flex-direction: column;
109
+ align-items: center;
110
+ justify-content: flex-end;
111
+ gap: var(--space-1);
112
+ height: 100%;
113
+ }
114
+
115
+ .activity-bar {
116
+ width: 100%;
117
+ min-height: 4px;
118
+ border-radius: var(--radius-xs) var(--radius-xs) 2px 2px;
119
+ background: linear-gradient(180deg, var(--accent) 0%, rgba(59,130,246,0.4) 100%);
120
+ transform-origin: bottom;
121
+ animation: heightGrow 0.9s var(--ease-out) both;
122
+ transition: background var(--duration-fast);
123
+ }
124
+ .activity-bar:hover {
125
+ background: linear-gradient(180deg, var(--accent-hover) 0%, rgba(96,165,250,0.5) 100%);
126
+ }
127
+
128
+ .activity-bar-label {
129
+ font-size: 0.65rem;
130
+ font-family: var(--font-mono);
131
+ color: var(--text-muted);
132
+ text-align: center;
133
+ }
134
+
135
+ /* ───────────────────────────────────
136
+ DONUT CHART SVG
137
+ ─────────────────────────────────── */
138
+ .donut-svg {
139
+ overflow: visible;
140
+ }
141
+
142
+ .donut-track {
143
+ fill: none;
144
+ stroke: rgba(255,255,255,0.06);
145
+ stroke-width: 12;
146
+ }
147
+
148
+ .donut-arc {
149
+ fill: none;
150
+ stroke-width: 12;
151
+ stroke-linecap: round;
152
+ stroke-dashoffset: 0;
153
+ transform-origin: center;
154
+ transform: rotate(-90deg);
155
+ transition: stroke-dasharray 1.2s var(--ease-out);
156
+ }
157
+
158
+ .donut-arc.arc-completed { stroke: var(--success); }
159
+ .donut-arc.arc-progress { stroke: var(--accent); }
160
+ .donut-arc.arc-blocked { stroke: var(--danger); }
161
+ .donut-arc.arc-review { stroke: var(--warning); }
162
+
163
+ /* ───────────────────────────────────
164
+ PHASE PROGRESS BARS
165
+ ─────────────────────────────────── */
166
+ .phase-chart {
167
+ display: flex;
168
+ flex-direction: column;
169
+ gap: var(--space-4);
170
+ }
171
+
172
+ .phase-row {
173
+ display: flex;
174
+ flex-direction: column;
175
+ gap: var(--space-2);
176
+ }
177
+
178
+ .phase-row-header {
179
+ display: flex;
180
+ align-items: center;
181
+ justify-content: space-between;
182
+ }
183
+
184
+ .phase-name {
185
+ font-size: var(--text-xs);
186
+ font-weight: 700;
187
+ color: var(--text-secondary);
188
+ }
189
+
190
+ .phase-progress {
191
+ font-size: var(--text-xs);
192
+ font-family: var(--font-mono);
193
+ color: var(--text-muted);
194
+ }
195
+
196
+ .phase-track {
197
+ height: 6px;
198
+ background: var(--surface-3);
199
+ border-radius: var(--radius-full);
200
+ overflow: hidden;
201
+ }
202
+
203
+ .phase-fill {
204
+ height: 100%;
205
+ border-radius: var(--radius-full);
206
+ transform-origin: left;
207
+ animation: barGrow 1s var(--ease-out) both;
208
+ }
209
+
210
+ .phase-fill.done { background: var(--success); }
211
+ .phase-fill.active { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%); }
212
+ .phase-fill.partial { background: var(--warning); }
213
+
214
+ /* ───────────────────────────────────
215
+ MINI SPARKLINE (para KPI cards)
216
+ ─────────────────────────────────── */
217
+ .sparkline-svg {
218
+ width: 100%;
219
+ height: 40px;
220
+ overflow: visible;
221
+ }
222
+
223
+ .sparkline-path {
224
+ fill: none;
225
+ stroke: var(--accent);
226
+ stroke-width: 2;
227
+ stroke-linecap: round;
228
+ stroke-linejoin: round;
229
+ }
230
+
231
+ .sparkline-area {
232
+ fill: url(#sparkGrad);
233
+ opacity: 0.3;
234
+ }
235
+
236
+ /* ───────────────────────────────────
237
+ TIME ENTRIES TIMELINE (mini)
238
+ ─────────────────────────────────── */
239
+ .time-entries {
240
+ display: flex;
241
+ flex-direction: column;
242
+ gap: var(--space-2);
243
+ }
244
+
245
+ .time-entry {
246
+ display: flex;
247
+ align-items: center;
248
+ justify-content: space-between;
249
+ gap: var(--space-3);
250
+ padding: var(--space-2) var(--space-3);
251
+ border-radius: var(--radius-md);
252
+ background: var(--surface-3);
253
+ border: 1px solid var(--border);
254
+ font-size: var(--text-xs);
255
+ }
256
+
257
+ .time-entry-task {
258
+ flex: 1;
259
+ min-width: 0;
260
+ overflow: hidden;
261
+ text-overflow: ellipsis;
262
+ white-space: nowrap;
263
+ color: var(--text-secondary);
264
+ font-weight: 600;
265
+ }
266
+
267
+ .time-entry-duration {
268
+ font-family: var(--font-mono);
269
+ font-weight: 700;
270
+ color: var(--text-primary);
271
+ white-space: nowrap;
272
+ }
273
+
274
+ .time-entry-date {
275
+ color: var(--text-muted);
276
+ font-family: var(--font-mono);
277
+ white-space: nowrap;
278
+ }
279
+
280
+ /* ───────────────────────────────────
281
+ HEALTH RAIL (KPI health)
282
+ ─────────────────────────────────── */
283
+ .health-grid {
284
+ display: grid;
285
+ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
286
+ gap: var(--space-3);
287
+ }
288
+
289
+ .health-card {
290
+ background: var(--glass-bg-subtle);
291
+ backdrop-filter: blur(var(--glass-blur-sm));
292
+ -webkit-backdrop-filter: blur(var(--glass-blur-sm));
293
+ border: 1px solid var(--glass-border);
294
+ border-radius: var(--radius-md);
295
+ padding: var(--space-4);
296
+ display: flex;
297
+ flex-direction: column;
298
+ gap: var(--space-2);
299
+ }
300
+
301
+ .health-card-label {
302
+ font-size: var(--text-xs);
303
+ font-weight: 700;
304
+ letter-spacing: 0.06em;
305
+ text-transform: uppercase;
306
+ color: var(--text-muted);
307
+ }
308
+
309
+ .health-card-value {
310
+ font-family: var(--font-heading);
311
+ font-size: var(--text-2xl);
312
+ font-weight: 800;
313
+ letter-spacing: -0.04em;
314
+ line-height: 1;
315
+ color: var(--text-primary);
316
+ }
317
+
318
+ .health-card-value.good { color: var(--success); }
319
+ .health-card-value.warn { color: var(--warning); }
320
+ .health-card-value.bad { color: var(--danger); }
321
+
322
+ /* ───────────────────────────────────
323
+ CHART TOOLTIP
324
+ ─────────────────────────────────── */
325
+ .chart-tooltip {
326
+ position: absolute;
327
+ background: var(--surface-2);
328
+ border: 1px solid var(--border-strong);
329
+ border-radius: var(--radius-md);
330
+ padding: var(--space-2) var(--space-3);
331
+ font-size: var(--text-xs);
332
+ font-weight: 600;
333
+ color: var(--text-primary);
334
+ pointer-events: none;
335
+ white-space: nowrap;
336
+ box-shadow: var(--shadow-md);
337
+ opacity: 0;
338
+ transition: opacity var(--duration-fast);
339
+ z-index: var(--z-panel);
340
+ }
341
+ .chart-tooltip.is-visible { opacity: 1; }
342
+
343
+ /* ───────────────────────────────────
344
+ PERIOD SELECTOR
345
+ ─────────────────────────────────── */
346
+ .period-selector {
347
+ display: flex;
348
+ gap: var(--space-1);
349
+ background: var(--surface-3);
350
+ border-radius: var(--radius-full);
351
+ padding: 2px;
352
+ border: 1px solid var(--border);
353
+ }
354
+ .period-btn {
355
+ padding: 0.3rem 0.85rem;
356
+ font-size: var(--text-xs);
357
+ font-weight: 600;
358
+ border-radius: var(--radius-full);
359
+ color: var(--text-secondary);
360
+ transition:
361
+ background var(--duration-fast) var(--ease-out),
362
+ color var(--duration-fast) var(--ease-out);
363
+ }
364
+ .period-btn:hover {
365
+ color: var(--text-primary);
366
+ background: var(--surface-4);
367
+ }
368
+ .period-btn.is-active {
369
+ background: var(--accent);
370
+ color: white;
371
+ box-shadow: var(--shadow-sm);
372
+ }
373
+
374
+ /* ───────────────────────────────────
375
+ LINE / AREA CHART SVG
376
+ ─────────────────────────────────── */
377
+ .line-chart-container {
378
+ position: relative;
379
+ overflow: visible;
380
+ }
381
+ .line-chart-container svg {
382
+ display: block;
383
+ overflow: visible;
384
+ }
385
+
386
+ /* ───────────────────────────────────
387
+ HEATMAP CHART
388
+ ─────────────────────────────────── */
389
+ .heatmap-container {
390
+ overflow-x: auto;
391
+ scrollbar-width: thin;
392
+ scrollbar-color: var(--surface-3) transparent;
393
+ }
394
+ .heatmap-container svg {
395
+ display: block;
396
+ }
397
+ .heatmap-label {
398
+ font-family: var(--font-mono);
399
+ font-size: 10px;
400
+ fill: var(--text-muted);
401
+ }
402
+
403
+ /* ───────────────────────────────────
404
+ DEPENDENCY GRAPH
405
+ ─────────────────────────────────── */
406
+ .dep-graph-container {
407
+ overflow-x: auto;
408
+ padding: var(--space-3) 0;
409
+ }
410
+ .dep-graph-container svg {
411
+ display: block;
412
+ }
413
+
414
+ /* ───────────────────────────────────
415
+ CHART WRAPPER (responsive)
416
+ ─────────────────────────────────── */
417
+ .chart-wrapper {
418
+ position: relative;
419
+ width: 100%;
420
+ min-height: 200px;
421
+ }
422
+ .chart-wrapper svg {
423
+ width: 100%;
424
+ height: auto;
425
+ }