trackops 2.0.3 → 2.0.5

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 (103) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +695 -402
  3. package/bin/trackops.js +116 -116
  4. package/lib/config.js +326 -326
  5. package/lib/control.js +208 -208
  6. package/lib/env.js +244 -244
  7. package/lib/init.js +325 -325
  8. package/lib/locale.js +24 -0
  9. package/lib/opera-bootstrap.js +941 -874
  10. package/lib/opera.js +494 -477
  11. package/lib/preferences.js +74 -74
  12. package/lib/registry.js +214 -196
  13. package/lib/release.js +56 -56
  14. package/lib/runtime-state.js +144 -144
  15. package/lib/server.js +312 -207
  16. package/lib/skills.js +74 -57
  17. package/lib/workspace.js +260 -260
  18. package/locales/en.json +192 -166
  19. package/locales/es.json +192 -166
  20. package/package.json +61 -58
  21. package/scripts/postinstall-locale.js +21 -21
  22. package/scripts/skills-marketplace-smoke.js +124 -124
  23. package/scripts/smoke-tests.js +558 -554
  24. package/scripts/sync-skill-version.js +21 -21
  25. package/scripts/validate-skill.js +103 -103
  26. package/skills/trackops/SKILL.md +126 -122
  27. package/skills/trackops/agents/openai.yaml +7 -7
  28. package/skills/trackops/locales/en/SKILL.md +126 -122
  29. package/skills/trackops/locales/en/references/activation.md +94 -75
  30. package/skills/trackops/locales/en/references/troubleshooting.md +73 -55
  31. package/skills/trackops/locales/en/references/workflow.md +55 -32
  32. package/skills/trackops/references/activation.md +94 -75
  33. package/skills/trackops/references/troubleshooting.md +73 -55
  34. package/skills/trackops/references/workflow.md +55 -32
  35. package/skills/trackops/skill.json +29 -29
  36. package/templates/hooks/post-checkout +2 -2
  37. package/templates/hooks/post-commit +2 -2
  38. package/templates/hooks/post-merge +2 -2
  39. package/templates/opera/agent.md +28 -27
  40. package/templates/opera/architecture/dependency-graph.md +24 -24
  41. package/templates/opera/architecture/runtime-automation.md +24 -24
  42. package/templates/opera/architecture/runtime-operations.md +34 -34
  43. package/templates/opera/en/agent.md +22 -21
  44. package/templates/opera/en/architecture/dependency-graph.md +24 -24
  45. package/templates/opera/en/architecture/runtime-automation.md +24 -24
  46. package/templates/opera/en/architecture/runtime-operations.md +34 -34
  47. package/templates/opera/en/reviews/delivery-audit.md +18 -18
  48. package/templates/opera/en/reviews/integration-audit.md +18 -18
  49. package/templates/opera/en/router.md +24 -19
  50. package/templates/opera/references/autonomy-and-recovery.md +117 -117
  51. package/templates/opera/references/opera-cycle.md +193 -193
  52. package/templates/opera/registry.md +28 -28
  53. package/templates/opera/reviews/delivery-audit.md +18 -18
  54. package/templates/opera/reviews/integration-audit.md +18 -18
  55. package/templates/opera/router.md +54 -49
  56. package/templates/skills/changelog-updater/SKILL.md +69 -69
  57. package/templates/skills/commiter/SKILL.md +99 -99
  58. package/templates/skills/opera-contract-auditor/SKILL.md +38 -38
  59. package/templates/skills/opera-contract-auditor/locales/en/SKILL.md +38 -38
  60. package/templates/skills/opera-policy-guard/SKILL.md +26 -26
  61. package/templates/skills/opera-policy-guard/locales/en/SKILL.md +26 -26
  62. package/templates/skills/opera-skill/SKILL.md +279 -0
  63. package/templates/skills/opera-skill/locales/en/SKILL.md +279 -0
  64. package/templates/skills/opera-skill/locales/en/references/phase-dod.md +138 -0
  65. package/templates/skills/opera-skill/references/phase-dod.md +138 -0
  66. package/templates/skills/project-starter-skill/SKILL.md +150 -131
  67. package/templates/skills/project-starter-skill/locales/en/SKILL.md +143 -105
  68. package/templates/skills/project-starter-skill/references/opera-cycle.md +195 -193
  69. package/ui/css/base.css +284 -266
  70. package/ui/css/charts.css +425 -327
  71. package/ui/css/components.css +1107 -570
  72. package/ui/css/onboarding.css +133 -0
  73. package/ui/css/panels.css +345 -406
  74. package/ui/css/terminal.css +125 -0
  75. package/ui/css/timeline.css +58 -0
  76. package/ui/css/tokens.css +284 -227
  77. package/ui/favicon.svg +5 -5
  78. package/ui/index.html +99 -96
  79. package/ui/js/api.js +49 -13
  80. package/ui/js/app.js +28 -32
  81. package/ui/js/charts.js +526 -0
  82. package/ui/js/console-logger.js +172 -172
  83. package/ui/js/filters.js +247 -0
  84. package/ui/js/icons.js +129 -104
  85. package/ui/js/keyboard.js +229 -0
  86. package/ui/js/onboarding.js +33 -42
  87. package/ui/js/router.js +142 -125
  88. package/ui/js/theme.js +100 -100
  89. package/ui/js/time-tracker.js +248 -248
  90. package/ui/js/views/board.js +84 -114
  91. package/ui/js/views/dashboard.js +870 -0
  92. package/ui/js/views/flash.js +47 -47
  93. package/ui/js/views/projects.js +745 -0
  94. package/ui/js/views/scrum.js +476 -0
  95. package/ui/js/views/settings.js +153 -203
  96. package/ui/js/views/sidebar.js +37 -31
  97. package/ui/js/views/tasks.js +218 -101
  98. package/ui/js/views/timeline.js +265 -0
  99. package/ui/js/views/topbar.js +94 -107
  100. package/ui/app.js +0 -950
  101. package/ui/js/views/insights.js +0 -340
  102. package/ui/js/views/overview.js +0 -369
  103. package/ui/styles.css +0 -688
package/ui/css/charts.css CHANGED
@@ -1,327 +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(--surface-2);
10
- border: 1px solid var(--border);
11
- border-radius: var(--radius-xl);
12
- padding: var(--space-5);
13
- display: flex;
14
- flex-direction: column;
15
- gap: var(--space-4);
16
- }
17
-
18
- .chart-title {
19
- font-size: var(--text-sm);
20
- font-weight: 700;
21
- color: var(--text-primary);
22
- margin: 0;
23
- }
24
- .chart-subtitle {
25
- font-size: var(--text-xs);
26
- color: var(--text-muted);
27
- }
28
-
29
- /* ───────────────────────────────────
30
- BAR CHARTS HORIZONTALES
31
- ─────────────────────────────────── */
32
- .bar-chart {
33
- display: flex;
34
- flex-direction: column;
35
- gap: var(--space-3);
36
- }
37
-
38
- .bar-row {
39
- display: grid;
40
- grid-template-columns: 110px 1fr 36px;
41
- align-items: center;
42
- gap: var(--space-3);
43
- }
44
-
45
- .bar-label {
46
- font-size: var(--text-xs);
47
- font-weight: 600;
48
- color: var(--text-secondary);
49
- white-space: nowrap;
50
- overflow: hidden;
51
- text-overflow: ellipsis;
52
- }
53
-
54
- .bar-track {
55
- height: 8px;
56
- background: var(--surface-3);
57
- border-radius: var(--radius-full);
58
- overflow: hidden;
59
- position: relative;
60
- }
61
-
62
- .bar-fill {
63
- height: 100%;
64
- border-radius: var(--radius-full);
65
- background: linear-gradient(90deg, var(--accent), #818CF8);
66
- transform-origin: left;
67
- animation: barGrow 0.8s var(--ease-out) both;
68
- }
69
-
70
- .bar-fill.fill-success { background: linear-gradient(90deg, var(--success), #34D399); }
71
- .bar-fill.fill-warning { background: linear-gradient(90deg, var(--warning), #FCD34D); }
72
- .bar-fill.fill-danger { background: linear-gradient(90deg, var(--danger), #F87171); }
73
- .bar-fill.fill-info { background: linear-gradient(90deg, var(--info), #60A5FA); }
74
-
75
- .bar-value {
76
- font-size: var(--text-xs);
77
- font-weight: 700;
78
- color: var(--text-secondary);
79
- text-align: right;
80
- font-family: var(--font-mono);
81
- }
82
-
83
- /* ───────────────────────────────────
84
- ACTIVIDAD VERTICAL (barras semanales)
85
- ─────────────────────────────────── */
86
- .activity-chart {
87
- display: flex;
88
- align-items: flex-end;
89
- gap: var(--space-2);
90
- height: 120px;
91
- }
92
-
93
- .activity-bar-col {
94
- flex: 1;
95
- display: flex;
96
- flex-direction: column;
97
- align-items: center;
98
- justify-content: flex-end;
99
- gap: var(--space-1);
100
- height: 100%;
101
- }
102
-
103
- .activity-bar {
104
- width: 100%;
105
- min-height: 4px;
106
- border-radius: var(--radius-xs) var(--radius-xs) 2px 2px;
107
- background: linear-gradient(180deg, var(--accent) 0%, rgba(99,102,241,0.4) 100%);
108
- transform-origin: bottom;
109
- animation: heightGrow 0.9s var(--ease-out) both;
110
- transition: background var(--duration-fast);
111
- }
112
- .activity-bar:hover {
113
- background: linear-gradient(180deg, var(--accent-hover) 0%, rgba(129,140,248,0.5) 100%);
114
- }
115
-
116
- .activity-bar-label {
117
- font-size: 0.65rem;
118
- font-family: var(--font-mono);
119
- color: var(--text-muted);
120
- text-align: center;
121
- }
122
-
123
- /* ───────────────────────────────────
124
- DONUT CHART SVG
125
- ─────────────────────────────────── */
126
- .donut-svg {
127
- overflow: visible;
128
- }
129
-
130
- .donut-track {
131
- fill: none;
132
- stroke: var(--surface-3);
133
- stroke-width: 12;
134
- }
135
-
136
- .donut-arc {
137
- fill: none;
138
- stroke-width: 12;
139
- stroke-linecap: round;
140
- stroke-dashoffset: 0;
141
- transform-origin: center;
142
- transform: rotate(-90deg);
143
- transition: stroke-dasharray 1.2s var(--ease-out);
144
- }
145
-
146
- .donut-arc.arc-completed { stroke: var(--success); }
147
- .donut-arc.arc-progress { stroke: var(--accent); }
148
- .donut-arc.arc-blocked { stroke: var(--danger); }
149
- .donut-arc.arc-review { stroke: var(--warning); }
150
-
151
- /* ───────────────────────────────────
152
- PHASE PROGRESS BARS
153
- ─────────────────────────────────── */
154
- .phase-chart {
155
- display: flex;
156
- flex-direction: column;
157
- gap: var(--space-4);
158
- }
159
-
160
- .phase-row {
161
- display: flex;
162
- flex-direction: column;
163
- gap: var(--space-2);
164
- }
165
-
166
- .phase-row-header {
167
- display: flex;
168
- align-items: center;
169
- justify-content: space-between;
170
- }
171
-
172
- .phase-name {
173
- font-size: var(--text-xs);
174
- font-weight: 700;
175
- color: var(--text-secondary);
176
- }
177
-
178
- .phase-progress {
179
- font-size: var(--text-xs);
180
- font-family: var(--font-mono);
181
- color: var(--text-muted);
182
- }
183
-
184
- .phase-track {
185
- height: 6px;
186
- background: var(--surface-3);
187
- border-radius: var(--radius-full);
188
- overflow: hidden;
189
- }
190
-
191
- .phase-fill {
192
- height: 100%;
193
- border-radius: var(--radius-full);
194
- transform-origin: left;
195
- animation: barGrow 1s var(--ease-out) both;
196
- }
197
-
198
- .phase-fill.done { background: var(--success); }
199
- .phase-fill.active { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%); }
200
- .phase-fill.partial { background: var(--warning); }
201
-
202
- /* ───────────────────────────────────
203
- MINI SPARKLINE (para KPI cards)
204
- ─────────────────────────────────── */
205
- .sparkline-svg {
206
- width: 100%;
207
- height: 40px;
208
- overflow: visible;
209
- }
210
-
211
- .sparkline-path {
212
- fill: none;
213
- stroke: var(--accent);
214
- stroke-width: 2;
215
- stroke-linecap: round;
216
- stroke-linejoin: round;
217
- }
218
-
219
- .sparkline-area {
220
- fill: url(#sparkGrad);
221
- opacity: 0.3;
222
- }
223
-
224
- /* ───────────────────────────────────
225
- TIME ENTRIES TIMELINE (mini)
226
- ─────────────────────────────────── */
227
- .time-entries {
228
- display: flex;
229
- flex-direction: column;
230
- gap: var(--space-2);
231
- }
232
-
233
- .time-entry {
234
- display: flex;
235
- align-items: center;
236
- justify-content: space-between;
237
- gap: var(--space-3);
238
- padding: var(--space-2) var(--space-3);
239
- border-radius: var(--radius-md);
240
- background: var(--surface-3);
241
- border: 1px solid var(--border);
242
- font-size: var(--text-xs);
243
- }
244
-
245
- .time-entry-task {
246
- flex: 1;
247
- min-width: 0;
248
- overflow: hidden;
249
- text-overflow: ellipsis;
250
- white-space: nowrap;
251
- color: var(--text-secondary);
252
- font-weight: 600;
253
- }
254
-
255
- .time-entry-duration {
256
- font-family: var(--font-mono);
257
- font-weight: 700;
258
- color: var(--text-primary);
259
- white-space: nowrap;
260
- }
261
-
262
- .time-entry-date {
263
- color: var(--text-muted);
264
- font-family: var(--font-mono);
265
- white-space: nowrap;
266
- }
267
-
268
- /* ───────────────────────────────────
269
- HEALTH RAIL (KPI health)
270
- ─────────────────────────────────── */
271
- .health-grid {
272
- display: grid;
273
- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
274
- gap: var(--space-3);
275
- }
276
-
277
- .health-card {
278
- background: var(--surface-3);
279
- border: 1px solid var(--border);
280
- border-radius: var(--radius-md);
281
- padding: var(--space-4);
282
- display: flex;
283
- flex-direction: column;
284
- gap: var(--space-2);
285
- }
286
-
287
- .health-card-label {
288
- font-size: var(--text-xs);
289
- font-weight: 700;
290
- letter-spacing: 0.06em;
291
- text-transform: uppercase;
292
- color: var(--text-muted);
293
- }
294
-
295
- .health-card-value {
296
- font-family: var(--font-heading);
297
- font-size: var(--text-2xl);
298
- font-weight: 800;
299
- letter-spacing: -0.04em;
300
- line-height: 1;
301
- color: var(--text-primary);
302
- }
303
-
304
- .health-card-value.good { color: var(--success); }
305
- .health-card-value.warn { color: var(--warning); }
306
- .health-card-value.bad { color: var(--danger); }
307
-
308
- /* ───────────────────────────────────
309
- CHART TOOLTIP
310
- ─────────────────────────────────── */
311
- .chart-tooltip {
312
- position: absolute;
313
- background: var(--surface-2);
314
- border: 1px solid var(--border-strong);
315
- border-radius: var(--radius-md);
316
- padding: var(--space-2) var(--space-3);
317
- font-size: var(--text-xs);
318
- font-weight: 600;
319
- color: var(--text-primary);
320
- pointer-events: none;
321
- white-space: nowrap;
322
- box-shadow: var(--shadow-md);
323
- opacity: 0;
324
- transition: opacity var(--duration-fast);
325
- z-index: var(--z-panel);
326
- }
327
- .chart-tooltip.is-visible { opacity: 1; }
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
+ }