afterburn-cli 1.0.0

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 (188) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +281 -0
  3. package/dist/ai/gemini-client.d.ts +21 -0
  4. package/dist/ai/gemini-client.js +105 -0
  5. package/dist/ai/gemini-client.js.map +1 -0
  6. package/dist/ai/index.d.ts +1 -0
  7. package/dist/ai/index.js +3 -0
  8. package/dist/ai/index.js.map +1 -0
  9. package/dist/analysis/diagnosis-schema.d.ts +106 -0
  10. package/dist/analysis/diagnosis-schema.js +54 -0
  11. package/dist/analysis/diagnosis-schema.js.map +1 -0
  12. package/dist/analysis/error-analyzer.d.ts +9 -0
  13. package/dist/analysis/error-analyzer.js +573 -0
  14. package/dist/analysis/error-analyzer.js.map +1 -0
  15. package/dist/analysis/index.d.ts +4 -0
  16. package/dist/analysis/index.js +6 -0
  17. package/dist/analysis/index.js.map +1 -0
  18. package/dist/analysis/source-mapper.d.ts +19 -0
  19. package/dist/analysis/source-mapper.js +329 -0
  20. package/dist/analysis/source-mapper.js.map +1 -0
  21. package/dist/analysis/ui-auditor.d.ts +9 -0
  22. package/dist/analysis/ui-auditor.js +104 -0
  23. package/dist/analysis/ui-auditor.js.map +1 -0
  24. package/dist/artifacts/artifact-storage.d.ts +44 -0
  25. package/dist/artifacts/artifact-storage.js +99 -0
  26. package/dist/artifacts/artifact-storage.js.map +1 -0
  27. package/dist/artifacts/index.d.ts +1 -0
  28. package/dist/artifacts/index.js +3 -0
  29. package/dist/artifacts/index.js.map +1 -0
  30. package/dist/browser/browser-manager.d.ts +45 -0
  31. package/dist/browser/browser-manager.js +88 -0
  32. package/dist/browser/browser-manager.js.map +1 -0
  33. package/dist/browser/challenge-detector.d.ts +10 -0
  34. package/dist/browser/challenge-detector.js +58 -0
  35. package/dist/browser/challenge-detector.js.map +1 -0
  36. package/dist/browser/cookie-dismisser.d.ts +18 -0
  37. package/dist/browser/cookie-dismisser.js +76 -0
  38. package/dist/browser/cookie-dismisser.js.map +1 -0
  39. package/dist/browser/index.d.ts +4 -0
  40. package/dist/browser/index.js +6 -0
  41. package/dist/browser/index.js.map +1 -0
  42. package/dist/browser/stealth-browser.d.ts +13 -0
  43. package/dist/browser/stealth-browser.js +59 -0
  44. package/dist/browser/stealth-browser.js.map +1 -0
  45. package/dist/cli/commander-cli.d.ts +2 -0
  46. package/dist/cli/commander-cli.js +150 -0
  47. package/dist/cli/commander-cli.js.map +1 -0
  48. package/dist/cli/doctor.d.ts +34 -0
  49. package/dist/cli/doctor.js +124 -0
  50. package/dist/cli/doctor.js.map +1 -0
  51. package/dist/cli/first-run.d.ts +6 -0
  52. package/dist/cli/first-run.js +58 -0
  53. package/dist/cli/first-run.js.map +1 -0
  54. package/dist/cli/index.d.ts +3 -0
  55. package/dist/cli/index.js +5 -0
  56. package/dist/cli/index.js.map +1 -0
  57. package/dist/cli/progress.d.ts +11 -0
  58. package/dist/cli/progress.js +30 -0
  59. package/dist/cli/progress.js.map +1 -0
  60. package/dist/core/engine.d.ts +33 -0
  61. package/dist/core/engine.js +269 -0
  62. package/dist/core/engine.js.map +1 -0
  63. package/dist/core/index.d.ts +3 -0
  64. package/dist/core/index.js +4 -0
  65. package/dist/core/index.js.map +1 -0
  66. package/dist/core/validation.d.ts +52 -0
  67. package/dist/core/validation.js +228 -0
  68. package/dist/core/validation.js.map +1 -0
  69. package/dist/discovery/crawler.d.ts +58 -0
  70. package/dist/discovery/crawler.js +240 -0
  71. package/dist/discovery/crawler.js.map +1 -0
  72. package/dist/discovery/discovery-pipeline.d.ts +22 -0
  73. package/dist/discovery/discovery-pipeline.js +256 -0
  74. package/dist/discovery/discovery-pipeline.js.map +1 -0
  75. package/dist/discovery/element-mapper.d.ts +21 -0
  76. package/dist/discovery/element-mapper.js +422 -0
  77. package/dist/discovery/element-mapper.js.map +1 -0
  78. package/dist/discovery/index.d.ts +8 -0
  79. package/dist/discovery/index.js +8 -0
  80. package/dist/discovery/index.js.map +1 -0
  81. package/dist/discovery/link-validator.d.ts +15 -0
  82. package/dist/discovery/link-validator.js +137 -0
  83. package/dist/discovery/link-validator.js.map +1 -0
  84. package/dist/discovery/sitemap-builder.d.ts +19 -0
  85. package/dist/discovery/sitemap-builder.js +166 -0
  86. package/dist/discovery/sitemap-builder.js.map +1 -0
  87. package/dist/discovery/spa-detector.d.ts +12 -0
  88. package/dist/discovery/spa-detector.js +271 -0
  89. package/dist/discovery/spa-detector.js.map +1 -0
  90. package/dist/execution/error-detector.d.ts +10 -0
  91. package/dist/execution/error-detector.js +87 -0
  92. package/dist/execution/error-detector.js.map +1 -0
  93. package/dist/execution/evidence-capture.d.ts +8 -0
  94. package/dist/execution/evidence-capture.js +37 -0
  95. package/dist/execution/evidence-capture.js.map +1 -0
  96. package/dist/execution/index.d.ts +5 -0
  97. package/dist/execution/index.js +7 -0
  98. package/dist/execution/index.js.map +1 -0
  99. package/dist/execution/step-handlers.d.ts +48 -0
  100. package/dist/execution/step-handlers.js +349 -0
  101. package/dist/execution/step-handlers.js.map +1 -0
  102. package/dist/execution/test-data.d.ts +50 -0
  103. package/dist/execution/test-data.js +160 -0
  104. package/dist/execution/test-data.js.map +1 -0
  105. package/dist/execution/workflow-executor.d.ts +56 -0
  106. package/dist/execution/workflow-executor.js +331 -0
  107. package/dist/execution/workflow-executor.js.map +1 -0
  108. package/dist/index.d.ts +2 -0
  109. package/dist/index.js +5 -0
  110. package/dist/index.js.map +1 -0
  111. package/dist/mcp/entry.d.ts +2 -0
  112. package/dist/mcp/entry.js +5 -0
  113. package/dist/mcp/entry.js.map +1 -0
  114. package/dist/mcp/index.d.ts +2 -0
  115. package/dist/mcp/index.js +4 -0
  116. package/dist/mcp/index.js.map +1 -0
  117. package/dist/mcp/server.d.ts +3 -0
  118. package/dist/mcp/server.js +19 -0
  119. package/dist/mcp/server.js.map +1 -0
  120. package/dist/mcp/tools.d.ts +2 -0
  121. package/dist/mcp/tools.js +162 -0
  122. package/dist/mcp/tools.js.map +1 -0
  123. package/dist/planning/heuristic-planner.d.ts +7 -0
  124. package/dist/planning/heuristic-planner.js +238 -0
  125. package/dist/planning/heuristic-planner.js.map +1 -0
  126. package/dist/planning/index.d.ts +3 -0
  127. package/dist/planning/index.js +5 -0
  128. package/dist/planning/index.js.map +1 -0
  129. package/dist/planning/plan-schema.d.ts +74 -0
  130. package/dist/planning/plan-schema.js +39 -0
  131. package/dist/planning/plan-schema.js.map +1 -0
  132. package/dist/planning/workflow-planner.d.ts +39 -0
  133. package/dist/planning/workflow-planner.js +211 -0
  134. package/dist/planning/workflow-planner.js.map +1 -0
  135. package/dist/reports/health-scorer.d.ts +14 -0
  136. package/dist/reports/health-scorer.js +88 -0
  137. package/dist/reports/health-scorer.js.map +1 -0
  138. package/dist/reports/html-generator.d.ts +10 -0
  139. package/dist/reports/html-generator.js +155 -0
  140. package/dist/reports/html-generator.js.map +1 -0
  141. package/dist/reports/index.d.ts +4 -0
  142. package/dist/reports/index.js +6 -0
  143. package/dist/reports/index.js.map +1 -0
  144. package/dist/reports/markdown-generator.d.ts +10 -0
  145. package/dist/reports/markdown-generator.js +334 -0
  146. package/dist/reports/markdown-generator.js.map +1 -0
  147. package/dist/reports/priority-ranker.d.ts +22 -0
  148. package/dist/reports/priority-ranker.js +608 -0
  149. package/dist/reports/priority-ranker.js.map +1 -0
  150. package/dist/screenshots/dual-format.d.ts +14 -0
  151. package/dist/screenshots/dual-format.js +59 -0
  152. package/dist/screenshots/dual-format.js.map +1 -0
  153. package/dist/screenshots/index.d.ts +2 -0
  154. package/dist/screenshots/index.js +4 -0
  155. package/dist/screenshots/index.js.map +1 -0
  156. package/dist/screenshots/screenshot-manager.d.ts +33 -0
  157. package/dist/screenshots/screenshot-manager.js +86 -0
  158. package/dist/screenshots/screenshot-manager.js.map +1 -0
  159. package/dist/testing/accessibility-auditor.d.ts +23 -0
  160. package/dist/testing/accessibility-auditor.js +44 -0
  161. package/dist/testing/accessibility-auditor.js.map +1 -0
  162. package/dist/testing/index.d.ts +4 -0
  163. package/dist/testing/index.js +5 -0
  164. package/dist/testing/index.js.map +1 -0
  165. package/dist/testing/meta-auditor.d.ts +16 -0
  166. package/dist/testing/meta-auditor.js +268 -0
  167. package/dist/testing/meta-auditor.js.map +1 -0
  168. package/dist/testing/performance-monitor.d.ts +15 -0
  169. package/dist/testing/performance-monitor.js +64 -0
  170. package/dist/testing/performance-monitor.js.map +1 -0
  171. package/dist/types/artifacts.d.ts +58 -0
  172. package/dist/types/artifacts.js +3 -0
  173. package/dist/types/artifacts.js.map +1 -0
  174. package/dist/types/discovery.d.ts +124 -0
  175. package/dist/types/discovery.js +3 -0
  176. package/dist/types/discovery.js.map +1 -0
  177. package/dist/types/execution.d.ts +154 -0
  178. package/dist/types/execution.js +3 -0
  179. package/dist/types/execution.js.map +1 -0
  180. package/dist/types/index.d.ts +2 -0
  181. package/dist/types/index.js +4 -0
  182. package/dist/types/index.js.map +1 -0
  183. package/dist/utils/sanitizer.d.ts +25 -0
  184. package/dist/utils/sanitizer.js +98 -0
  185. package/dist/utils/sanitizer.js.map +1 -0
  186. package/package.json +86 -0
  187. package/templates/report.hbs +202 -0
  188. package/templates/styles/report.css +607 -0
@@ -0,0 +1,607 @@
1
+ /* Afterburn Report Styles - Modern, clean, vibe coder friendly */
2
+
3
+ /* Reset and base styles */
4
+ * {
5
+ margin: 0;
6
+ padding: 0;
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ body {
11
+ font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
12
+ line-height: 1.6;
13
+ color: #1e293b;
14
+ background: #f8fafc;
15
+ padding: 2rem 1rem;
16
+ }
17
+
18
+ .container {
19
+ max-width: 1200px;
20
+ margin: 0 auto;
21
+ background: #ffffff;
22
+ border-radius: 12px;
23
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
24
+ overflow: hidden;
25
+ }
26
+
27
+ /* Header */
28
+ header {
29
+ background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
30
+ color: #ffffff;
31
+ padding: 2rem;
32
+ text-align: center;
33
+ }
34
+
35
+ header h1 {
36
+ font-size: 2.5rem;
37
+ font-weight: 700;
38
+ margin-bottom: 0.5rem;
39
+ }
40
+
41
+ header .subtitle {
42
+ font-size: 1.125rem;
43
+ opacity: 0.9;
44
+ }
45
+
46
+ header .url {
47
+ font-size: 0.875rem;
48
+ opacity: 0.8;
49
+ margin-top: 1rem;
50
+ word-break: break-all;
51
+ }
52
+
53
+ header .date {
54
+ font-size: 0.875rem;
55
+ opacity: 0.7;
56
+ margin-top: 0.5rem;
57
+ }
58
+
59
+ /* Health Score Section */
60
+ .health-score {
61
+ padding: 3rem 2rem;
62
+ text-align: center;
63
+ background: #f8fafc;
64
+ border-bottom: 1px solid #e2e8f0;
65
+ }
66
+
67
+ .score-display {
68
+ display: inline-block;
69
+ margin-bottom: 1.5rem;
70
+ }
71
+
72
+ .score-number {
73
+ font-size: 4rem;
74
+ font-weight: 700;
75
+ line-height: 1;
76
+ margin-bottom: 0.5rem;
77
+ }
78
+
79
+ .health-good .score-number {
80
+ color: #10b981;
81
+ }
82
+
83
+ .health-needs-work .score-number {
84
+ color: #f59e0b;
85
+ }
86
+
87
+ .health-poor .score-number {
88
+ color: #ef4444;
89
+ }
90
+
91
+ .score-label {
92
+ display: inline-block;
93
+ padding: 0.5rem 1.5rem;
94
+ border-radius: 999px;
95
+ font-size: 1rem;
96
+ font-weight: 600;
97
+ text-transform: uppercase;
98
+ letter-spacing: 0.05em;
99
+ }
100
+
101
+ .health-good .score-label {
102
+ background: #d1fae5;
103
+ color: #065f46;
104
+ }
105
+
106
+ .health-needs-work .score-label {
107
+ background: #fef3c7;
108
+ color: #92400e;
109
+ }
110
+
111
+ .health-poor .score-label {
112
+ background: #fee2e2;
113
+ color: #991b1b;
114
+ }
115
+
116
+ .checks-summary {
117
+ font-size: 1.125rem;
118
+ color: #64748b;
119
+ margin-top: 1rem;
120
+ }
121
+
122
+ .score-breakdown {
123
+ display: grid;
124
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
125
+ gap: 1.5rem;
126
+ margin-top: 2rem;
127
+ max-width: 900px;
128
+ margin-left: auto;
129
+ margin-right: auto;
130
+ }
131
+
132
+ .breakdown-item {
133
+ background: #ffffff;
134
+ padding: 1.5rem;
135
+ border-radius: 8px;
136
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
137
+ }
138
+
139
+ .breakdown-item h3 {
140
+ font-size: 0.875rem;
141
+ font-weight: 600;
142
+ color: #64748b;
143
+ text-transform: uppercase;
144
+ letter-spacing: 0.05em;
145
+ margin-bottom: 0.5rem;
146
+ }
147
+
148
+ .breakdown-item .score {
149
+ font-size: 2rem;
150
+ font-weight: 700;
151
+ color: #1e293b;
152
+ }
153
+
154
+ /* Section */
155
+ section {
156
+ padding: 2rem;
157
+ border-bottom: 1px solid #e2e8f0;
158
+ }
159
+
160
+ section:last-child {
161
+ border-bottom: none;
162
+ }
163
+
164
+ section h2 {
165
+ font-size: 1.875rem;
166
+ font-weight: 700;
167
+ color: #1e293b;
168
+ margin-bottom: 1.5rem;
169
+ display: flex;
170
+ align-items: center;
171
+ gap: 0.75rem;
172
+ }
173
+
174
+ section h2::before {
175
+ content: '';
176
+ width: 4px;
177
+ height: 2rem;
178
+ background: #6366f1;
179
+ border-radius: 2px;
180
+ }
181
+
182
+ /* To-Do List */
183
+ .todo-list {
184
+ counter-reset: todo-counter;
185
+ }
186
+
187
+ .todo-item {
188
+ background: #ffffff;
189
+ border-left: 4px solid;
190
+ border-radius: 8px;
191
+ padding: 1.5rem;
192
+ margin-bottom: 1.5rem;
193
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
194
+ counter-increment: todo-counter;
195
+ position: relative;
196
+ }
197
+
198
+ .todo-item::before {
199
+ content: counter(todo-counter);
200
+ position: absolute;
201
+ top: 1.5rem;
202
+ left: -14px;
203
+ width: 28px;
204
+ height: 28px;
205
+ background: #6366f1;
206
+ color: #ffffff;
207
+ border-radius: 50%;
208
+ display: flex;
209
+ align-items: center;
210
+ justify-content: center;
211
+ font-weight: 700;
212
+ font-size: 0.875rem;
213
+ }
214
+
215
+ .todo-item.priority-high {
216
+ border-left-color: #ef4444;
217
+ }
218
+
219
+ .todo-item.priority-medium {
220
+ border-left-color: #f59e0b;
221
+ }
222
+
223
+ .todo-item.priority-low {
224
+ border-left-color: #6366f1;
225
+ }
226
+
227
+ .todo-header {
228
+ display: flex;
229
+ align-items: center;
230
+ gap: 0.75rem;
231
+ margin-bottom: 1rem;
232
+ }
233
+
234
+ .priority-badge {
235
+ display: inline-block;
236
+ padding: 0.25rem 0.75rem;
237
+ border-radius: 999px;
238
+ font-size: 0.75rem;
239
+ font-weight: 600;
240
+ text-transform: uppercase;
241
+ letter-spacing: 0.05em;
242
+ }
243
+
244
+ .priority-badge.high {
245
+ background: #fee2e2;
246
+ color: #991b1b;
247
+ }
248
+
249
+ .priority-badge.medium {
250
+ background: #fef3c7;
251
+ color: #92400e;
252
+ }
253
+
254
+ .priority-badge.low {
255
+ background: #e0e7ff;
256
+ color: #3730a3;
257
+ }
258
+
259
+ .category-badge {
260
+ display: inline-block;
261
+ padding: 0.25rem 0.75rem;
262
+ border-radius: 999px;
263
+ font-size: 0.75rem;
264
+ font-weight: 600;
265
+ background: #f1f5f9;
266
+ color: #475569;
267
+ }
268
+
269
+ .todo-summary {
270
+ font-size: 1.125rem;
271
+ font-weight: 600;
272
+ color: #1e293b;
273
+ margin-bottom: 0.75rem;
274
+ }
275
+
276
+ .todo-impact {
277
+ color: #64748b;
278
+ margin-bottom: 0.75rem;
279
+ font-size: 0.9375rem;
280
+ }
281
+
282
+ .todo-impact strong {
283
+ color: #1e293b;
284
+ }
285
+
286
+ .todo-fix {
287
+ color: #64748b;
288
+ font-size: 0.9375rem;
289
+ margin-bottom: 1rem;
290
+ }
291
+
292
+ .todo-fix strong {
293
+ color: #1e293b;
294
+ }
295
+
296
+ .todo-location {
297
+ font-size: 0.875rem;
298
+ color: #94a3b8;
299
+ font-family: 'Monaco', 'Consolas', monospace;
300
+ margin-top: 0.5rem;
301
+ }
302
+
303
+ .occurrence-badge {
304
+ display: inline-block;
305
+ background: #fef3c7;
306
+ color: #92400e;
307
+ font-size: 0.75rem;
308
+ font-weight: 600;
309
+ padding: 0.15rem 0.5rem;
310
+ border-radius: 9999px;
311
+ margin-left: 0.5rem;
312
+ vertical-align: middle;
313
+ }
314
+
315
+ .todo-screenshot {
316
+ margin-top: 1rem;
317
+ }
318
+
319
+ .todo-screenshot img {
320
+ max-width: 100%;
321
+ border-radius: 8px;
322
+ border: 1px solid #e2e8f0;
323
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
324
+ }
325
+
326
+ /* Workflow Results */
327
+ .workflow-list {
328
+ display: flex;
329
+ flex-direction: column;
330
+ gap: 1rem;
331
+ }
332
+
333
+ .workflow-item {
334
+ background: #f8fafc;
335
+ border-radius: 8px;
336
+ padding: 1.5rem;
337
+ border: 1px solid #e2e8f0;
338
+ }
339
+
340
+ .workflow-header {
341
+ display: flex;
342
+ align-items: center;
343
+ justify-content: space-between;
344
+ margin-bottom: 1rem;
345
+ }
346
+
347
+ .workflow-name {
348
+ font-size: 1.125rem;
349
+ font-weight: 600;
350
+ color: #1e293b;
351
+ }
352
+
353
+ .status-badge {
354
+ display: inline-block;
355
+ padding: 0.25rem 0.75rem;
356
+ border-radius: 999px;
357
+ font-size: 0.75rem;
358
+ font-weight: 600;
359
+ text-transform: uppercase;
360
+ letter-spacing: 0.05em;
361
+ }
362
+
363
+ .status-badge.passed {
364
+ background: #d1fae5;
365
+ color: #065f46;
366
+ }
367
+
368
+ .status-badge.failed {
369
+ background: #fee2e2;
370
+ color: #991b1b;
371
+ }
372
+
373
+ .status-badge.partial {
374
+ background: #fef3c7;
375
+ color: #92400e;
376
+ }
377
+
378
+ .workflow-meta {
379
+ display: flex;
380
+ gap: 1.5rem;
381
+ font-size: 0.875rem;
382
+ color: #64748b;
383
+ margin-bottom: 1rem;
384
+ }
385
+
386
+ .workflow-description {
387
+ font-size: 0.9375rem;
388
+ color: #475569;
389
+ margin-bottom: 1rem;
390
+ }
391
+
392
+ .workflow-steps {
393
+ margin-top: 1rem;
394
+ }
395
+
396
+ .workflow-steps summary {
397
+ cursor: pointer;
398
+ font-weight: 600;
399
+ color: #6366f1;
400
+ user-select: none;
401
+ padding: 0.5rem;
402
+ border-radius: 4px;
403
+ }
404
+
405
+ .workflow-steps summary:hover {
406
+ background: #f1f5f9;
407
+ }
408
+
409
+ .workflow-steps[open] summary {
410
+ margin-bottom: 1rem;
411
+ }
412
+
413
+ .step-list {
414
+ display: flex;
415
+ flex-direction: column;
416
+ gap: 0.5rem;
417
+ padding-left: 1rem;
418
+ }
419
+
420
+ .step-item {
421
+ display: flex;
422
+ align-items: start;
423
+ gap: 0.75rem;
424
+ padding: 0.5rem;
425
+ background: #ffffff;
426
+ border-radius: 4px;
427
+ font-size: 0.875rem;
428
+ }
429
+
430
+ .step-status {
431
+ font-weight: 700;
432
+ min-width: 60px;
433
+ }
434
+
435
+ .step-status.passed {
436
+ color: #10b981;
437
+ }
438
+
439
+ .step-status.failed {
440
+ color: #ef4444;
441
+ }
442
+
443
+ .step-status.skipped {
444
+ color: #94a3b8;
445
+ }
446
+
447
+ /* Summary grids */
448
+ .summary-grid {
449
+ display: grid;
450
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
451
+ gap: 1.5rem;
452
+ }
453
+
454
+ .summary-card {
455
+ background: #f8fafc;
456
+ padding: 1.5rem;
457
+ border-radius: 8px;
458
+ border: 1px solid #e2e8f0;
459
+ }
460
+
461
+ .summary-card h3 {
462
+ font-size: 1rem;
463
+ font-weight: 600;
464
+ color: #64748b;
465
+ margin-bottom: 0.75rem;
466
+ }
467
+
468
+ .summary-card .value {
469
+ font-size: 1.5rem;
470
+ font-weight: 700;
471
+ color: #1e293b;
472
+ }
473
+
474
+ .summary-card .description {
475
+ font-size: 0.875rem;
476
+ color: #64748b;
477
+ margin-top: 0.5rem;
478
+ }
479
+
480
+ /* Footer */
481
+ footer {
482
+ background: #f8fafc;
483
+ padding: 2rem;
484
+ text-align: center;
485
+ border-top: 1px solid #e2e8f0;
486
+ }
487
+
488
+ .footer-branding {
489
+ font-size: 0.875rem;
490
+ color: #64748b;
491
+ margin-bottom: 0.5rem;
492
+ }
493
+
494
+ .footer-branding strong {
495
+ color: #6366f1;
496
+ font-weight: 700;
497
+ }
498
+
499
+ .footer-timestamp {
500
+ font-size: 0.75rem;
501
+ color: #94a3b8;
502
+ }
503
+
504
+ .ai-badge {
505
+ display: inline-block;
506
+ background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
507
+ color: #ffffff;
508
+ padding: 0.25rem 0.75rem;
509
+ border-radius: 999px;
510
+ font-size: 0.75rem;
511
+ font-weight: 600;
512
+ margin-top: 0.5rem;
513
+ }
514
+
515
+ .ai-tip {
516
+ font-size: 0.8125rem;
517
+ color: #64748b;
518
+ margin-top: 0.75rem;
519
+ }
520
+
521
+ .ai-tip code {
522
+ background: #f1f5f9;
523
+ padding: 0.125rem 0.375rem;
524
+ border-radius: 4px;
525
+ font-size: 0.75rem;
526
+ }
527
+
528
+ /* Empty state */
529
+ .empty-state {
530
+ text-align: center;
531
+ padding: 3rem 2rem;
532
+ color: #64748b;
533
+ }
534
+
535
+ .empty-state-icon {
536
+ font-size: 3rem;
537
+ margin-bottom: 1rem;
538
+ }
539
+
540
+ /* Print styles */
541
+ @media print {
542
+ body {
543
+ background: #ffffff;
544
+ padding: 0;
545
+ }
546
+
547
+ .container {
548
+ box-shadow: none;
549
+ border-radius: 0;
550
+ }
551
+
552
+ section {
553
+ page-break-inside: avoid;
554
+ }
555
+
556
+ .workflow-steps summary {
557
+ display: none;
558
+ }
559
+
560
+ .workflow-steps[open] {
561
+ display: block;
562
+ }
563
+
564
+ .step-list {
565
+ display: block;
566
+ }
567
+ }
568
+
569
+ /* Responsive */
570
+ @media (max-width: 768px) {
571
+ body {
572
+ padding: 0;
573
+ }
574
+
575
+ .container {
576
+ border-radius: 0;
577
+ }
578
+
579
+ header h1 {
580
+ font-size: 1.875rem;
581
+ }
582
+
583
+ .score-number {
584
+ font-size: 3rem;
585
+ }
586
+
587
+ section {
588
+ padding: 1.5rem;
589
+ }
590
+
591
+ section h2 {
592
+ font-size: 1.5rem;
593
+ }
594
+
595
+ .score-breakdown {
596
+ grid-template-columns: 1fr;
597
+ }
598
+
599
+ .summary-grid {
600
+ grid-template-columns: 1fr;
601
+ }
602
+
603
+ .workflow-meta {
604
+ flex-direction: column;
605
+ gap: 0.5rem;
606
+ }
607
+ }