test-base 0.1.1__py3-none-any.whl

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. test_base/__init__.py +20 -0
  2. test_base/adapters/__init__.py +354 -0
  3. test_base/adapters/base.py +263 -0
  4. test_base/adapters/canonical_json.py +1088 -0
  5. test_base/adapters/junit_xml.py +1272 -0
  6. test_base/api/__init__.py +0 -0
  7. test_base/api/app.py +314 -0
  8. test_base/api/deps.py +178 -0
  9. test_base/api/routes/__init__.py +0 -0
  10. test_base/api/routes/failures.py +104 -0
  11. test_base/api/routes/health.py +35 -0
  12. test_base/api/routes/imports.py +143 -0
  13. test_base/api/routes/queries.py +295 -0
  14. test_base/api/routes/retention.py +130 -0
  15. test_base/api/routes/runs.py +147 -0
  16. test_base/api/routes/server.py +65 -0
  17. test_base/api/routes/stream.py +117 -0
  18. test_base/api/schemas.py +390 -0
  19. test_base/api/security.py +183 -0
  20. test_base/cli/__init__.py +125 -0
  21. test_base/cli/commands/__init__.py +0 -0
  22. test_base/cli/commands/db.py +76 -0
  23. test_base/cli/commands/demo.py +103 -0
  24. test_base/cli/commands/formats.py +41 -0
  25. test_base/cli/commands/ingest.py +119 -0
  26. test_base/cli/commands/init.py +738 -0
  27. test_base/cli/commands/prune.py +146 -0
  28. test_base/cli/commands/publish.py +133 -0
  29. test_base/cli/commands/serve.py +118 -0
  30. test_base/cli/commands/token.py +97 -0
  31. test_base/cli/options.py +189 -0
  32. test_base/cli/render.py +223 -0
  33. test_base/config.py +519 -0
  34. test_base/demo/__init__.py +0 -0
  35. test_base/demo/evidence.py +447 -0
  36. test_base/demo/seed.py +628 -0
  37. test_base/domain/__init__.py +61 -0
  38. test_base/domain/events.py +422 -0
  39. test_base/domain/failures.py +327 -0
  40. test_base/domain/identity.py +205 -0
  41. test_base/domain/metrics.py +176 -0
  42. test_base/domain/models.py +947 -0
  43. test_base/domain/status.py +246 -0
  44. test_base/errors.py +136 -0
  45. test_base/logging.py +174 -0
  46. test_base/py.typed +0 -0
  47. test_base/sdk/__init__.py +28 -0
  48. test_base/sdk/client.py +607 -0
  49. test_base/service/__init__.py +0 -0
  50. test_base/service/bus.py +331 -0
  51. test_base/service/coalesce.py +133 -0
  52. test_base/service/imports.py +552 -0
  53. test_base/service/retention.py +640 -0
  54. test_base/service/runs.py +394 -0
  55. test_base/service/runtime.py +123 -0
  56. test_base/storage/__init__.py +41 -0
  57. test_base/storage/artifacts.py +347 -0
  58. test_base/storage/base.py +350 -0
  59. test_base/storage/db.py +595 -0
  60. test_base/storage/failures.py +321 -0
  61. test_base/storage/locks.py +104 -0
  62. test_base/storage/migrations/env.py +108 -0
  63. test_base/storage/migrations/script.py.mako +26 -0
  64. test_base/storage/migrations/versions/0001_initial.py +289 -0
  65. test_base/storage/migrations/versions/0002_retention_indexes.py +38 -0
  66. test_base/storage/migrations/versions/0003_postgresql_bigint.py +74 -0
  67. test_base/storage/migrations/versions/0004_run_shards.py +37 -0
  68. test_base/storage/migrations/versions/0005_failure_groups.py +206 -0
  69. test_base/storage/models.py +560 -0
  70. test_base/storage/repositories.py +2481 -0
  71. test_base/storage/uow.py +138 -0
  72. test_base/version.py +17 -0
  73. test_base/web/assets/css/app.css +3567 -0
  74. test_base/web/assets/favicon.svg +5 -0
  75. test_base/web/assets/js/00-util.js +829 -0
  76. test_base/web/assets/js/05-windows.js +551 -0
  77. test_base/web/assets/js/10-provider.js +396 -0
  78. test_base/web/assets/js/12-live-provider.js +804 -0
  79. test_base/web/assets/js/20-charts.js +715 -0
  80. test_base/web/assets/js/30-store.js +793 -0
  81. test_base/web/assets/js/40-components.js +2141 -0
  82. test_base/web/assets/js/42-timeline.js +629 -0
  83. test_base/web/assets/js/50-view-overview.js +747 -0
  84. test_base/web/assets/js/52-view-analytics.js +842 -0
  85. test_base/web/assets/js/53-view-suites.js +508 -0
  86. test_base/web/assets/js/54-view-metrics.js +438 -0
  87. test_base/web/assets/js/55-view-runs.js +244 -0
  88. test_base/web/assets/js/56-view-evidence.js +703 -0
  89. test_base/web/assets/js/57-view-failures.js +596 -0
  90. test_base/web/assets/js/60-view-run.js +788 -0
  91. test_base/web/assets/js/65-view-test.js +402 -0
  92. test_base/web/assets/js/70-view-settings.js +524 -0
  93. test_base/web/assets/js/75-view-help.js +554 -0
  94. test_base/web/assets/js/80-settings.js +99 -0
  95. test_base/web/assets/js/85-activity.js +727 -0
  96. test_base/web/assets/js/90-app.js +595 -0
  97. test_base/web/assets/manifest.json +70 -0
  98. test_base/web/index.html +210 -0
  99. test_base-0.1.1.dist-info/METADATA +285 -0
  100. test_base-0.1.1.dist-info/RECORD +103 -0
  101. test_base-0.1.1.dist-info/WHEEL +4 -0
  102. test_base-0.1.1.dist-info/entry_points.txt +6 -0
  103. test_base-0.1.1.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,3567 @@
1
+ /* Test Base dashboard stylesheet.
2
+ *
3
+ * Two rules govern this file and they are load-bearing, not stylistic:
4
+ *
5
+ * 1. EVERY colour literal lives in one of the two token blocks below — `:root`
6
+ * (light) and `:root[data-theme="dark"]`. Nothing further down the file may
7
+ * contain a hex value, an rgb() or a named colour. The charts read their
8
+ * palette back out of these custom properties with getComputedStyle, so a
9
+ * colour written inline in a rule is a colour the SVG can never see, and a
10
+ * theme that is only half tokenized is a theme that half-switches.
11
+ *
12
+ * 2. The two blocks define the SAME set of names. Dark is a designed
13
+ * counterpart, not `filter: invert()`: surfaces get darker, ink gets
14
+ * lighter, and the status language (pass green, fail red, error deep red,
15
+ * skip amber, xfail purple, running blue) survives the switch so that a
16
+ * screenshot taken in either theme reads identically to a colleague.
17
+ *
18
+ * The theme attribute is always explicit on <html>; see the bootstrap at the
19
+ * top of assets/js/00-util.js. There is no "unset" state to style for.
20
+ */
21
+
22
+ :root {
23
+ color-scheme: light;
24
+
25
+ /* -- surfaces ------------------------------------------------------ */
26
+ --bg: #eeeeee;
27
+ --bg-accent: #f5f5f5;
28
+ --surface: #ffffff;
29
+ --surface-2: #fcfcfd;
30
+ --surface-3: #eef3f9;
31
+ --surface-inset: #f1f3f7;
32
+ --border: #dbe3ec;
33
+ --border-strong: #cfd7e3;
34
+
35
+ /* -- ink ----------------------------------------------------------- */
36
+ --text: #2f3742;
37
+ --text-muted: #5d6775;
38
+ --text-subtle: #7b8390;
39
+ --text-on-accent: #ffffff;
40
+
41
+ /* -- accent -------------------------------------------------------- */
42
+ --accent: #3571a3;
43
+ --accent-hover: #2c608c;
44
+ --accent-ink: #264f73;
45
+ --accent-soft: #e7eef4;
46
+ --accent-border: #c2d4e3;
47
+ --focus: #3571a3;
48
+ --focus-halo: #3571a333;
49
+
50
+ /* -- status language ------------------------------------------------
51
+ Three names per status, and which one you reach for is decided by the
52
+ job the colour is doing, not by taste:
53
+
54
+ --status-X the MARK. Saturated, drawn as a shape — chart bar,
55
+ pie segment, legend swatch, meter fill, streak cell.
56
+ A shape carries its own area, so it can be bright.
57
+ --status-X-fg the INK. The same hue pushed to a text-legible
58
+ lightness. Never used as a fill; always as `color`.
59
+ --status-X-soft the TINT. The mark at low alpha, for the ground
60
+ behind -fg ink. Alpha rather than a flat hex so a
61
+ pill reads the same on a card, on the page and on
62
+ an already-tinted row.
63
+
64
+ Writing the mark where the ink belongs is the one mistake this split
65
+ exists to prevent: pass green (#98cc64) is a fine bar and an unreadable
66
+ label. Both themes carry all three, so the language survives the switch.
67
+ ------------------------------------------------------------------- */
68
+ --status-passed: #98cc64;
69
+ --status-passed-fg: #5c8f2e;
70
+ --status-passed-soft: rgba(152, 204, 100, 0.18);
71
+ --status-failed: #fc6766;
72
+ --status-failed-fg: #d5403c;
73
+ --status-failed-soft: rgba(252, 103, 102, 0.15);
74
+ --status-error: #b13635;
75
+ --status-error-fg: #9d3231;
76
+ --status-error-soft: rgba(177, 54, 53, 0.14);
77
+ --status-skipped: #ffd050;
78
+ --status-skipped-fg: #a07405;
79
+ --status-skipped-soft: rgba(255, 208, 80, 0.24);
80
+ --status-xfailed: #d35fbf;
81
+ --status-xfailed-fg: #a53c94;
82
+ --status-xfailed-soft: rgba(211, 95, 191, 0.15);
83
+ --status-xpassed: #aaaaaa;
84
+ --status-xpassed-fg: #6f747c;
85
+ --status-xpassed-soft: rgba(170, 170, 170, 0.16);
86
+ --status-running: #5a8fc4;
87
+ --status-running-fg: #3571a3;
88
+ --status-running-soft: rgba(53, 113, 163, 0.13);
89
+ --status-queued: #cfd6e0;
90
+ --status-queued-fg: #6b7381;
91
+ --status-queued-soft: rgba(107, 115, 129, 0.12);
92
+ --status-cancelled: #cfd6e0;
93
+ --status-cancelled-fg: #6b7381;
94
+ --status-cancelled-soft: rgba(107, 115, 129, 0.12);
95
+ --status-unknown: #cfd6e0;
96
+ --status-unknown-fg: #6b7381;
97
+ --status-unknown-soft: rgba(107, 115, 129, 0.12);
98
+ --status-flaky: #e6a800;
99
+ --status-flaky-fg: #936c00;
100
+ --status-flaky-soft: rgba(230, 168, 0, 0.18);
101
+
102
+ /* -- charts -------------------------------------------------------- */
103
+ --chart-grid: #f0f2f6;
104
+ --chart-axis: #666666;
105
+ --chart-line: #36a2eb;
106
+ --chart-line-alt: #f0a95c;
107
+ --chart-fill-top: #36a2eb33;
108
+ --chart-fill-bottom: #36a2eb05;
109
+ --chart-marker: #ffffff;
110
+ --chart-band: #f1f3f7;
111
+ /* One data hue for single-series charts and its lighter step, validated
112
+ (dataviz validate_palette.js): >= 3:1 on the surface, one hue, the light
113
+ step clearing 2:1. */
114
+ --chart-series: #2f7fc4;
115
+ --chart-series-soft: #86b4e0;
116
+
117
+ /* -- effects ------------------------------------------------------- */
118
+ --shadow-1: 0 1px 2px #2e3d4914, 0 1px 3px #2e3d491a;
119
+ --shadow-2: 0 10px 30px #2e3d4959, 0 2px 8px #2e3d4924;
120
+ --overlay: #2e3d496b;
121
+ --skeleton-a: #eef1f5;
122
+ --skeleton-b: #fbfcfd;
123
+ --live-halo: #3571a333;
124
+
125
+ /* -- the rail ------------------------------------------------------ */
126
+ /* The navigation rail is dark in BOTH themes. It is chrome, not content:
127
+ holding it constant gives the page one fixed edge, and the nine routes in
128
+ it read as a single object rather than as nine cards. These are their own
129
+ token names rather than --surface / --text on purpose — painting a light
130
+ theme's rail with dark-theme tokens would drag the charts' palette along
131
+ with it, because the SVGs read those same custom properties back out. */
132
+ --rail-bg: #211f1f;
133
+ --rail-bg-soft: #322f2f;
134
+ --rail-text: #dcdcdc;
135
+ --rail-muted: #a2a2a2;
136
+ --rail-label: #6f6d6d;
137
+ --rail-border: #322f2f;
138
+ --rail-active-bg: #565656;
139
+ --rail-active-text: #ffffff;
140
+ --rail-active-bar: #8cbdec;
141
+ /* The mark's own two colours, from the logo. It sits on the rail, which is
142
+ dark in both themes, so one pair serves both. */
143
+ --brand-ink: #f7f4e7;
144
+ --brand-lime: #c9fc0b;
145
+
146
+ /* -- non-colour design tokens (safe to read anywhere) -------------- */
147
+ --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
148
+ Arial, "Noto Sans", sans-serif;
149
+ --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
150
+ "Liberation Mono", monospace;
151
+
152
+ /* One type scale, eight steps, and nothing in this file writes a font size
153
+ that is not one of them. Dense product UI drifts small a step at a time —
154
+ a hint here, a caption there — until half the page is 11px and only the
155
+ person who wrote it can read the whole thing. Naming the steps makes the
156
+ drift visible in review, and makes rescaling the entire dashboard one edit.
157
+
158
+ The steps are named by role, not by size, so a label that should be a label
159
+ does not become a body size by being nudged. */
160
+ --fs-3xs: 11px; /* uppercase micro-labels: nav sections, the live badge */
161
+ --fs-2xs: 12px; /* field labels, tags, pills */
162
+ --fs-xs: 13px; /* hints and secondary meta */
163
+ --fs-sm: 14px; /* dense UI: tables, buttons, inputs, definition lists */
164
+ --fs-md: 15px; /* body */
165
+ --fs-lg: 16px; /* card titles, the wordmark */
166
+ --fs-xl: 18px; /* section headings */
167
+ --fs-title: 21px; /* the page title, in the header */
168
+ --fs-2xl: 25px; /* page titles */
169
+ --r-sm: 6px;
170
+ --r-md: 10px;
171
+ --r-lg: 14px;
172
+ --r-pill: 999px;
173
+ /* Every control — buttons, selects, inputs, segmented options, the
174
+ calendar's days — shares one corner, so the chrome reads as one set. */
175
+ --r-control: 0.3rem;
176
+ --sp-1: 4px;
177
+ --sp-2: 8px;
178
+ --sp-3: 12px;
179
+ --sp-4: 16px;
180
+ --sp-5: 24px;
181
+ --sp-6: 32px;
182
+ --sp-7: 48px;
183
+ --shell-max: 1440px;
184
+ --rail-w: 180px;
185
+ /* Folded, the rail is VS Code's activity bar: one 48px lane of icons. */
186
+ --rail-w-collapsed: 48px;
187
+ /* The activity panel on the right: a run's name, its time and a progress
188
+ bar across one row without crowding. */
189
+ --activity-w: 300px;
190
+ --header-h: 64px;
191
+ --ease: cubic-bezier(0.2, 0, 0.15, 1);
192
+ }
193
+
194
+ :root[data-theme="dark"] {
195
+ color-scheme: dark;
196
+
197
+ --bg: #0c0e11;
198
+ --bg-accent: #131519;
199
+ --surface: #1b1f27;
200
+ --surface-2: #161a21;
201
+ --surface-3: #222834;
202
+ --surface-inset: #0e1116;
203
+ --border: #333b47;
204
+ --border-strong: #3f4a59;
205
+
206
+ --text: #f1f4f8;
207
+ --text-muted: #bcc5d1;
208
+ --text-subtle: #98a2b0;
209
+ --text-on-accent: #14181e;
210
+
211
+ --accent: #74aade;
212
+ --accent-hover: #8cbdec;
213
+ --accent-ink: #a8cdf0;
214
+ --accent-soft: #2b3848;
215
+ --accent-border: #3a5067;
216
+ --focus: #6ea3d4;
217
+ --focus-halo: #74aade4d;
218
+
219
+ /* The marks are the SAME hex as light — pass green, fail coral, skip
220
+ amber, xfail magenta all hold across the switch, so a bar chart
221
+ screenshotted in either theme reads identically. Only the ink and the
222
+ tint alpha move, because those are the two that have to answer to the
223
+ surface underneath them. */
224
+ --status-passed: #98cc64;
225
+ --status-passed-fg: #b7e08a;
226
+ --status-passed-soft: rgba(152, 204, 100, 0.20);
227
+ --status-failed: #fc6766;
228
+ --status-failed-fg: #ff9c9a;
229
+ --status-failed-soft: rgba(252, 103, 102, 0.20);
230
+ --status-error: #cf5c57;
231
+ --status-error-fg: #ef9d7a;
232
+ --status-error-soft: rgba(214, 88, 86, 0.22);
233
+ --status-skipped: #ffd050;
234
+ --status-skipped-fg: #efc468;
235
+ --status-skipped-soft: rgba(255, 208, 80, 0.18);
236
+ --status-xfailed: #d35fbf;
237
+ --status-xfailed-fg: #e7a3d9;
238
+ --status-xfailed-soft: rgba(211, 95, 191, 0.22);
239
+ --status-xpassed: #aaaaaa;
240
+ --status-xpassed-fg: #b0b8c4;
241
+ --status-xpassed-soft: rgba(170, 178, 190, 0.16);
242
+ --status-running: #7fb1e0;
243
+ --status-running-fg: #8cbdec;
244
+ --status-running-soft: rgba(96, 168, 232, 0.20);
245
+ --status-queued: #6b7480;
246
+ --status-queued-fg: #aab3c0;
247
+ --status-queued-soft: rgba(150, 160, 176, 0.16);
248
+ --status-cancelled: #6b7480;
249
+ --status-cancelled-fg: #aab3c0;
250
+ --status-cancelled-soft: rgba(150, 160, 176, 0.16);
251
+ --status-unknown: #6b7480;
252
+ --status-unknown-fg: #aab3c0;
253
+ --status-unknown-soft: rgba(150, 160, 176, 0.16);
254
+ --status-flaky: #e6a800;
255
+ --status-flaky-fg: #e6b855;
256
+ --status-flaky-soft: rgba(230, 168, 0, 0.20);
257
+
258
+ --chart-grid: #2b323d;
259
+ --chart-axis: #b0b8c4;
260
+ --chart-line: #58a8ec;
261
+ --chart-line-alt: #f0a95c;
262
+ --chart-fill-top: #58a8ec38;
263
+ --chart-fill-bottom: #58a8ec05;
264
+ --chart-marker: #1b1f27;
265
+ --chart-band: #0e1116;
266
+ --chart-series: #4a96dc;
267
+ --chart-series-soft: #2d5f8f;
268
+
269
+ --shadow-1: 0 1px 2px #00000080, 0 1px 3px #0000005c;
270
+ --shadow-2: 0 12px 34px #000000b3, 0 2px 10px #00000080;
271
+ --overlay: #000000a8;
272
+ --skeleton-a: #161a21;
273
+ --skeleton-b: #242a33;
274
+ --live-halo: #8cbdec4d;
275
+
276
+ /* Lighter than --surface here, not darker: the report this palette comes
277
+ from lifts its rail out of the page ground in dark mode, and the rail
278
+ sits on the same blue-grey axis as every surface around it. */
279
+ --rail-bg: #22262f;
280
+ --rail-bg-soft: #363c47;
281
+ --rail-text: #dcdcdc;
282
+ --rail-muted: #b4b9c2;
283
+ --rail-label: #8d94a0;
284
+ --rail-border: #363c47;
285
+ --rail-active-bg: #515866;
286
+ --rail-active-text: #ffffff;
287
+ --rail-active-bar: #8cbdec;
288
+ }
289
+
290
+ /* ====================================================================== */
291
+ /* Base */
292
+ /* ====================================================================== */
293
+
294
+ *,
295
+ *::before,
296
+ *::after { box-sizing: border-box; }
297
+
298
+ /* No rubber-band at the page's ends. A trackpad pulling past the top dragged
299
+ * the sticky header and the rail down with everything else and showed a band
300
+ * of empty canvas above them — black in the dark theme. The page is the
301
+ * scroller that bounces, so it is the one told not to; on `body` as well,
302
+ * because older Chrome read the page's setting from there. The same rule ends
303
+ * pull-to-refresh on a phone, which a page that updates itself live does not
304
+ * need. */
305
+ html { -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
306
+ body { overscroll-behavior: none; }
307
+
308
+ body {
309
+ margin: 0;
310
+ background: var(--bg);
311
+ color: var(--text);
312
+ font-family: var(--font);
313
+ font-size: var(--fs-md);
314
+ line-height: 1.5;
315
+ -webkit-font-smoothing: antialiased;
316
+ text-rendering: optimizeLegibility;
317
+ }
318
+
319
+ h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
320
+ h1 { font-size: var(--fs-2xl); }
321
+ h2 { font-size: var(--fs-lg); }
322
+ h3 { font-size: var(--fs-md); }
323
+ p { margin: 0; }
324
+
325
+ a { color: var(--accent); text-decoration: none; }
326
+ a:hover { color: var(--accent-hover); text-decoration: underline; }
327
+
328
+ button, input, select, textarea { font: inherit; color: inherit; }
329
+
330
+ :focus-visible {
331
+ outline: 2px solid var(--focus);
332
+ outline-offset: 2px;
333
+ border-radius: var(--r-control);
334
+ }
335
+
336
+ ::selection { background: var(--accent-soft); }
337
+
338
+ code, pre, .mono { font-family: var(--font-mono); }
339
+ /* A command inside a sentence: set apart, and a step smaller, because mono type
340
+ beside sans reads a size larger than it is. */
341
+ p code, .kv code, .helpsteps__body code, .callout code {
342
+ padding: 1px 5px;
343
+ border-radius: var(--r-control);
344
+ background: var(--surface-inset);
345
+ color: var(--text);
346
+ font-size: var(--fs-xs);
347
+ }
348
+ .kv .mono { font-size: var(--fs-xs); }
349
+ /* A setting's detail on a second line, and a quiet link to the Help section
350
+ that explains or changes it. */
351
+ .kv__detail { margin-top: 2px; color: var(--text-muted); }
352
+ .inlinehelp { margin-left: var(--sp-2); font-size: var(--fs-xs); white-space: nowrap; }
353
+
354
+ .sr-only {
355
+ position: absolute !important;
356
+ width: 1px; height: 1px;
357
+ max-width: 1px; max-height: 1px;
358
+ padding: 0; margin: -1px;
359
+ overflow: hidden;
360
+ clip: rect(0 0 0 0);
361
+ clip-path: inset(50%);
362
+ white-space: nowrap;
363
+ border: 0;
364
+ }
365
+
366
+ /* A <table> under auto layout treats `width` as a suggestion and grows to fit
367
+ its contents, so each chart's visually-hidden data table was 376px wide and
368
+ pushed a 375px viewport into horizontal scroll — invisible, but the whole page
369
+ slid sideways under the reader's thumb. Fixed layout makes the declared width
370
+ binding, and `overflow: hidden` above clips what is left. */
371
+ table.sr-only,
372
+ .sr-only table {
373
+ table-layout: fixed;
374
+ }
375
+
376
+ /* Visually hidden until it is focused — a skip link nobody can see when they
377
+ tab to it is a skip link that does not exist. */
378
+ .skiplink:focus {
379
+ position: fixed !important;
380
+ top: var(--sp-2);
381
+ left: var(--sp-2);
382
+ z-index: 100;
383
+ width: auto; height: auto;
384
+ margin: 0;
385
+ padding: var(--sp-2) var(--sp-3);
386
+ clip: auto;
387
+ clip-path: none;
388
+ border-radius: var(--r-control);
389
+ background: var(--surface);
390
+ border: 1px solid var(--border-strong);
391
+ box-shadow: var(--shadow-2);
392
+ color: var(--text);
393
+ font-weight: 600;
394
+ }
395
+
396
+ .num { font-variant-numeric: tabular-nums; }
397
+ .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
398
+ .muted { color: var(--text-muted); }
399
+ .subtle { color: var(--text-subtle); }
400
+ .nowrap { white-space: nowrap; }
401
+
402
+ /* ====================================================================== */
403
+ /* Shell */
404
+ /* ====================================================================== */
405
+
406
+ .shell { min-height: 100vh; display: flex; }
407
+
408
+ /* The rail is `sticky` rather than `fixed` so it stays in normal flow: the
409
+ * content column is a sibling, not a margin-offset overlay, and there is no
410
+ * width to keep in sync in two places. It scrolls internally on a short
411
+ * viewport rather than clipping the last route. */
412
+ .sidebar {
413
+ position: sticky;
414
+ top: 0;
415
+ z-index: 45;
416
+ flex: none;
417
+ width: var(--rail-w);
418
+ height: 100vh;
419
+ overflow-y: auto;
420
+ display: flex;
421
+ flex-direction: column;
422
+ gap: var(--sp-4);
423
+ padding: var(--sp-4) var(--sp-2) var(--sp-3);
424
+ background: var(--rail-bg);
425
+ color: var(--rail-text);
426
+ border-right: 1px solid var(--rail-border);
427
+ }
428
+
429
+ .shell__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
430
+
431
+ /* Pushed to the bottom of the rail by `auto` rather than positioned, so a rail
432
+ * with more routes in it later still puts this last. */
433
+ .sidebar__foot {
434
+ margin-top: auto;
435
+ padding-top: var(--sp-2);
436
+ border-top: 1px solid var(--rail-border);
437
+ }
438
+
439
+ /* The rail is the one dark surface in a light-theme page, so every control
440
+ * that can appear inside it is re-pointed at the rail's own tokens here. The
441
+ * switch is built once, in the component kit, and does not know where it was
442
+ * mounted — this is what tells it. */
443
+ .sidebar .switchrow { color: var(--rail-muted); font-size: var(--fs-sm); padding: 9px 10px; }
444
+ .sidebar .switchrow:hover { background: var(--rail-bg-soft); color: var(--rail-text); }
445
+ .sidebar .switch { background: var(--rail-bg-soft); border-color: var(--rail-border); }
446
+ .sidebar .switch__thumb { background: var(--rail-muted); }
447
+ .sidebar [aria-checked="true"] > .switch { background: var(--rail-active-bar); border-color: var(--rail-active-bar); }
448
+ .sidebar [aria-checked="true"] > .switch > .switch__thumb { background: var(--rail-bg); }
449
+
450
+ .container {
451
+ width: 100%;
452
+ max-width: var(--shell-max);
453
+ margin: 0 auto;
454
+ padding: 0 var(--sp-5);
455
+ }
456
+
457
+ .topbar {
458
+ position: sticky;
459
+ top: 0;
460
+ z-index: 40;
461
+ background: var(--surface);
462
+ border-bottom: 1px solid var(--border);
463
+ box-shadow: var(--shadow-1);
464
+ }
465
+
466
+ /* The header: the page's title on the left, led by the icon the page has in
467
+ * the rail, and the live status on the right. The title is the view's own
468
+ * <h1>, lifted out of its `.page-head` by 90-app.js; the description,
469
+ * breadcrumbs and actions stay in the page, over the content they describe.
470
+ * One line, cut short with an ellipsis, so the header is one height on every
471
+ * page; the whole title is offered on hover. */
472
+ .topbar__inner {
473
+ display: flex;
474
+ align-items: center;
475
+ gap: var(--sp-4);
476
+ min-height: var(--header-h);
477
+ }
478
+ .topbar__title {
479
+ flex: 1 1 auto;
480
+ min-width: 0;
481
+ display: flex;
482
+ align-items: center;
483
+ gap: 10px;
484
+ }
485
+ .topbar__icon { flex: none; display: inline-flex; color: var(--text-muted); }
486
+ .topbar__title h1 {
487
+ display: flex;
488
+ align-items: center;
489
+ gap: var(--sp-2);
490
+ min-width: 0;
491
+ font-size: var(--fs-title);
492
+ font-weight: 650;
493
+ line-height: 1.3;
494
+ }
495
+ .topbar__title h1 > * { flex: none; }
496
+ .topbar__title .page-head__name {
497
+ flex: 0 1 auto;
498
+ min-width: 0;
499
+ overflow: hidden;
500
+ text-overflow: ellipsis;
501
+ white-space: nowrap;
502
+ }
503
+
504
+ .brand {
505
+ display: flex;
506
+ align-items: center;
507
+ gap: var(--sp-2);
508
+ padding: var(--sp-1) var(--sp-2);
509
+ font-weight: 650;
510
+ font-size: var(--fs-lg);
511
+ letter-spacing: -0.02em;
512
+ color: var(--rail-text);
513
+ white-space: nowrap;
514
+ }
515
+ .brand:hover { text-decoration: none; color: var(--rail-text); }
516
+ /* The monogram is wider than it is tall (1.55 : 1); its height is the
517
+ wordmark's cap height, so the two read as one line. The size is the box's,
518
+ not the drawing's: the box is in the page before the script draws into it.
519
+ `.brand__sub` below indents by the same 28px. */
520
+ .brand__mark { display: block; flex: none; height: 18px; width: 28px; }
521
+ .brand__mark svg { display: block; width: 100%; height: 100%; }
522
+ .brand__ink { fill: var(--brand-ink); }
523
+ .brand__slash { fill: var(--brand-lime); }
524
+ /* In the rail the subtitle drops onto its own line: an export's title is
525
+ * arbitrary text and the column is 164px wide inside its gutters, so beside
526
+ * the wordmark it would be cut off. It is still one line, still ellipsised,
527
+ * but it gets the full width and aligns under the wordmark rather than under
528
+ * the mark. */
529
+ .brand { flex-wrap: wrap; }
530
+ .brand__sub {
531
+ width: 100%;
532
+ min-width: 0;
533
+ font-weight: 450;
534
+ font-size: var(--fs-xs);
535
+ color: var(--rail-label);
536
+ padding-left: calc(28px + var(--sp-2));
537
+ overflow: hidden;
538
+ text-overflow: ellipsis;
539
+ }
540
+ .brand__sub:empty { display: none; }
541
+
542
+ /* The brand's row, shared with the collapse toggle at its far end. Top-aligned
543
+ * rather than centred: the brand wraps the subtitle onto a second line, and the
544
+ * toggle belongs beside the wordmark, not halfway down the pair. */
545
+ .sidebar__head { display: flex; align-items: flex-start; gap: var(--sp-1); }
546
+ .sidebar__head .brand { flex: 1 1 auto; min-width: 0; }
547
+ .railtoggle {
548
+ flex: none;
549
+ display: inline-flex;
550
+ align-items: center;
551
+ justify-content: center;
552
+ width: 28px;
553
+ height: 28px;
554
+ margin-top: 2px;
555
+ padding: 0;
556
+ border: 0;
557
+ border-radius: var(--r-control);
558
+ background: none;
559
+ color: var(--rail-muted);
560
+ cursor: pointer;
561
+ transition: background 120ms var(--ease), color 120ms var(--ease);
562
+ }
563
+ .railtoggle:hover { background: var(--rail-bg-soft); color: var(--rail-text); }
564
+ /* The page's focus ring is the accent blue, which all but vanishes on the
565
+ * rail's near-black; the rail's own active blue is the one that reads there. */
566
+ .sidebar :focus-visible { outline-color: var(--rail-active-bar); }
567
+
568
+ /* The collapsed rail's tooltip: mounted on <body> by 90-app.js and placed
569
+ * against the icon's right edge, with a notch pointing back at it. Rail
570
+ * colours in both themes, because what it labels is rail. */
571
+ .railtip {
572
+ position: fixed;
573
+ z-index: 70;
574
+ transform: translateY(-50%);
575
+ padding: 5px 10px;
576
+ border: 1px solid var(--rail-active-bg);
577
+ border-radius: var(--r-control);
578
+ background: var(--rail-bg-soft);
579
+ color: var(--rail-active-text);
580
+ box-shadow: var(--shadow-2);
581
+ font-size: var(--fs-sm);
582
+ font-weight: 500;
583
+ line-height: 1.4;
584
+ white-space: nowrap;
585
+ pointer-events: none;
586
+ }
587
+ .railtip[hidden] { display: none; }
588
+ .railtip::before {
589
+ content: "";
590
+ position: absolute;
591
+ top: 50%;
592
+ left: -5px;
593
+ width: 8px;
594
+ height: 8px;
595
+ margin-top: -4px;
596
+ background: inherit;
597
+ border-left: 1px solid var(--rail-active-bg);
598
+ border-bottom: 1px solid var(--rail-active-bg);
599
+ transform: rotate(45deg);
600
+ }
601
+
602
+ /* Nine routes is more than a flat list carries. They are grouped — where you
603
+ * are, what ran, what it left behind — and each group is labelled, so the rail
604
+ * is scanned by section rather than read top to bottom every time. */
605
+ .nav {
606
+ display: flex;
607
+ flex-direction: column;
608
+ gap: var(--sp-3);
609
+ overflow-x: auto;
610
+ scrollbar-width: none;
611
+ }
612
+ .nav::-webkit-scrollbar { display: none; }
613
+ .nav__group { display: flex; flex-direction: column; gap: 1px; }
614
+ .nav__label {
615
+ padding: 0 10px var(--sp-1) 20px;
616
+ font-size: var(--fs-3xs);
617
+ font-weight: 700;
618
+ letter-spacing: 0.09em;
619
+ text-transform: uppercase;
620
+ color: var(--rail-label);
621
+ }
622
+ .nav__link {
623
+ position: relative;
624
+ display: flex;
625
+ align-items: center;
626
+ gap: 8px;
627
+ /* Asymmetric on purpose. The report insets its glyphs 27.8px from the rail's
628
+ edge — 12px of link padding plus a 10% margin on the icon itself — and
629
+ that gutter is most of what stops a 180px rail reading as cramped. The
630
+ sidebar's own 8px makes up the rest of the 28px here; the right side stays
631
+ tight because nothing is aligned against it. */
632
+ padding: 8px 10px 8px 20px;
633
+ border-radius: var(--r-control);
634
+ color: var(--rail-muted);
635
+ /* A step above body text, matching the report's 16px rail. The rail holds
636
+ nine words total and is read at a glance from the far edge of the screen,
637
+ so it is the one place in the dashboard that reads larger than the content
638
+ it points at — not smaller, which is how a nav ends up looking like a
639
+ footnote. */
640
+ font-size: var(--fs-lg);
641
+ font-weight: 500;
642
+ white-space: nowrap;
643
+ transition: background 120ms var(--ease), color 120ms var(--ease);
644
+ }
645
+ /* No dimming: the rail's glyphs are solid, and they carry the same weight as
646
+ the word beside them exactly as they do in the report, where the icon is
647
+ plain `currentcolor`. Fading a filled shape to 0.75 is what made the old
648
+ outline icons read as a smudge. */
649
+ .nav__link svg { flex: none; }
650
+ .nav__link:hover { background: var(--rail-bg-soft); color: var(--rail-text); text-decoration: none; }
651
+ .nav__link[aria-current="page"] {
652
+ background: var(--rail-active-bg);
653
+ color: var(--rail-active-text);
654
+ }
655
+ /* The current route also gets a bar down its leading edge. Colour alone is
656
+ * carrying the state otherwise, and against a dark rail the tinted background
657
+ * is a subtle signal to anyone who does not separate those two blues. */
658
+ .nav__link[aria-current="page"]::before {
659
+ content: "";
660
+ position: absolute;
661
+ left: 0;
662
+ top: 6px;
663
+ bottom: 6px;
664
+ width: 3px;
665
+ border-radius: 0 3px 3px 0;
666
+ background: var(--rail-active-bar);
667
+ }
668
+ /* A route with nothing behind it yet is still shown — see the empty states in
669
+ * 56-view-evidence.js — but it says so before it is clicked. */
670
+ .nav__link[data-empty="true"] { color: var(--rail-label); }
671
+ .nav__count {
672
+ margin-left: auto;
673
+ padding: 1px 6px;
674
+ border-radius: var(--r-pill);
675
+ background: var(--rail-bg-soft);
676
+ color: var(--rail-muted);
677
+ font-size: var(--fs-2xs);
678
+ font-weight: 600;
679
+ font-variant-numeric: tabular-nums;
680
+ }
681
+ .nav__link[aria-current="page"] .nav__count { color: var(--rail-active-text); }
682
+
683
+ /* ---------------------------------------------------------- collapsed rail */
684
+ /* Folded down to VS Code's activity bar: a 48px lane, one centred icon per
685
+ * route, grey until hovered or current, and the current one marked by a bar
686
+ * down the rail's edge rather than a filled row. Every word in the rail is
687
+ * still there, visually hidden — the links keep their names for a screen
688
+ * reader, and the tooltip shows the same words to everyone else. The groups
689
+ * keep their separation as a hairline between them in place of their labels.
690
+ *
691
+ * Only while the rail is a column: under 860px it is a bar across the top, the
692
+ * toggle is hidden, and a stored "collapsed" simply waits for a wider screen.
693
+ * `not all and (max-width: 860px)` is the exact complement of that breakpoint
694
+ * — a `min-width: 861px` leaves a sliver at fractional zoom where neither
695
+ * applies. */
696
+ @media not all and (max-width: 860px) {
697
+ :root[data-rail="collapsed"] .sidebar {
698
+ width: var(--rail-w-collapsed);
699
+ padding-left: 0;
700
+ padding-right: 0;
701
+ gap: var(--sp-3);
702
+ scrollbar-width: none;
703
+ }
704
+ :root[data-rail="collapsed"] .sidebar::-webkit-scrollbar { display: none; }
705
+
706
+ :root[data-rail="collapsed"] .brand__name,
707
+ :root[data-rail="collapsed"] .brand__sub,
708
+ :root[data-rail="collapsed"] .nav__label,
709
+ :root[data-rail="collapsed"] .nav__text,
710
+ :root[data-rail="collapsed"] .sidebar .switchrow__label {
711
+ position: absolute;
712
+ width: 1px;
713
+ height: 1px;
714
+ max-width: 1px;
715
+ max-height: 1px;
716
+ padding: 0;
717
+ margin: -1px;
718
+ overflow: hidden;
719
+ clip: rect(0 0 0 0);
720
+ clip-path: inset(50%);
721
+ white-space: nowrap;
722
+ border: 0;
723
+ }
724
+
725
+ /* The mark over the toggle, both centred in the lane. */
726
+ :root[data-rail="collapsed"] .sidebar__head {
727
+ flex-direction: column;
728
+ align-items: center;
729
+ gap: var(--sp-2);
730
+ }
731
+ :root[data-rail="collapsed"] .sidebar__head .brand {
732
+ flex: none;
733
+ justify-content: center;
734
+ padding: 7px 10px;
735
+ }
736
+ :root[data-rail="collapsed"] .railtoggle { width: 32px; height: 32px; margin-top: 0; }
737
+
738
+ :root[data-rail="collapsed"] .nav { gap: var(--sp-2); overflow-x: hidden; }
739
+ :root[data-rail="collapsed"] .nav__group { gap: 0; }
740
+ :root[data-rail="collapsed"] .nav__group + .nav__group::before {
741
+ content: "";
742
+ display: block;
743
+ height: 1px;
744
+ margin: 0 12px var(--sp-2);
745
+ background: var(--rail-border);
746
+ }
747
+ :root[data-rail="collapsed"] .nav__link {
748
+ justify-content: center;
749
+ height: 44px;
750
+ padding: 0;
751
+ border-radius: 0;
752
+ }
753
+ :root[data-rail="collapsed"] .nav__link svg { width: 20px; height: 20px; }
754
+ :root[data-rail="collapsed"] .nav__link:hover { background: none; color: var(--rail-active-text); }
755
+ :root[data-rail="collapsed"] .nav__link[aria-current="page"] {
756
+ background: none;
757
+ color: var(--rail-active-text);
758
+ }
759
+ :root[data-rail="collapsed"] .nav__link[aria-current="page"]::before {
760
+ top: 0;
761
+ bottom: 0;
762
+ width: 2px;
763
+ border-radius: 0;
764
+ }
765
+ /* Full-bleed rows, so the ring goes inside them rather than off the rail. */
766
+ :root[data-rail="collapsed"] .nav__link:focus-visible,
767
+ :root[data-rail="collapsed"] .sidebar .switchrow:focus-visible {
768
+ outline-offset: -2px;
769
+ border-radius: 0;
770
+ }
771
+
772
+ /* The dark-mode switch keeps its moon and loses its track. With no track to
773
+ * show the state, the moon carries it: rail blue while dark is on. */
774
+ :root[data-rail="collapsed"] .sidebar__foot { padding-top: var(--sp-1); }
775
+ :root[data-rail="collapsed"] .sidebar .switchrow {
776
+ justify-content: center;
777
+ height: 44px;
778
+ padding: 0;
779
+ border-radius: 0;
780
+ }
781
+ :root[data-rail="collapsed"] .sidebar .switchrow .switch { display: none; }
782
+ :root[data-rail="collapsed"] .sidebar .switchrow svg { width: 20px; height: 20px; }
783
+ :root[data-rail="collapsed"] .sidebar .switchrow[aria-checked="true"] { color: var(--rail-active-bar); }
784
+ :root[data-rail="collapsed"] .sidebar .switchrow:hover { background: none; color: var(--rail-active-text); }
785
+ }
786
+
787
+ .topbar__meta {
788
+ margin-left: auto;
789
+ display: flex;
790
+ align-items: center;
791
+ gap: var(--sp-3);
792
+ }
793
+
794
+ .updated {
795
+ font-size: var(--fs-xs);
796
+ color: var(--text-subtle);
797
+ white-space: nowrap;
798
+ font-variant-numeric: tabular-nums;
799
+ }
800
+
801
+ /* connection status ------------------------------------------------------ */
802
+ /* A fixed slot. Every state's label is laid, hidden, into the same grid cell
803
+ * as the pill, so the slot is exactly as wide as the longest of them and never
804
+ * changes: when the stream drops, the pill grows to the left into room that
805
+ * was already there, and nothing else in the header — or below it — moves.
806
+ * The details and "Retry now" open in a popover over the page, never above it
807
+ * in the flow, which is what the old banner did to every view. */
808
+ .conn-slot {
809
+ display: inline-grid;
810
+ justify-items: end;
811
+ align-items: center;
812
+ }
813
+ .conn-slot > * { grid-area: 1 / 1; }
814
+ .conn-slot__sizer { visibility: hidden; pointer-events: none; }
815
+
816
+ .conn {
817
+ display: inline-flex;
818
+ align-items: center;
819
+ gap: 6px;
820
+ padding: 3px 10px 3px 8px;
821
+ border-radius: var(--r-control);
822
+ border: 1px solid var(--border);
823
+ background: var(--surface-2);
824
+ font: inherit;
825
+ font-size: var(--fs-xs);
826
+ font-weight: 550;
827
+ line-height: 1.5;
828
+ color: var(--text-muted);
829
+ white-space: nowrap;
830
+ cursor: pointer;
831
+ transition: background 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease);
832
+ }
833
+ .conn:hover { border-color: var(--border-strong); color: var(--text); }
834
+ .conn[aria-expanded="true"] { border-color: var(--border-strong); background: var(--surface-3); color: var(--text); }
835
+ .conn__dot {
836
+ width: 7px; height: 7px; border-radius: 50%;
837
+ background: var(--status-unknown);
838
+ flex: none;
839
+ }
840
+ /* Live is the quiet state: a green dot is all it needs to say. The two that
841
+ * want attention take a tint as well — inside the slot, so the tint costs no
842
+ * layout either. */
843
+ [data-status="live"] > .conn__dot { background: var(--status-passed); animation: pulse 2.4s var(--ease) infinite; }
844
+ [data-status="connecting"] > .conn__dot { background: var(--status-running); animation: pulse 1.2s var(--ease) infinite; }
845
+ [data-status="reconnecting"] > .conn__dot { background: var(--status-skipped); animation: pulse 1.2s var(--ease) infinite; }
846
+ [data-status="offline"] > .conn__dot { background: var(--status-failed); }
847
+ .conn[data-status="reconnecting"] { color: var(--status-skipped-fg); background: var(--status-skipped-soft); border-color: var(--status-skipped-soft); }
848
+ .conn[data-status="offline"] { color: var(--status-failed-fg); background: var(--status-failed-soft); border-color: var(--status-failed-soft); }
849
+
850
+ .connpop { width: 288px; }
851
+ .connpop__head {
852
+ display: flex;
853
+ align-items: center;
854
+ gap: var(--sp-2);
855
+ font-size: var(--fs-sm);
856
+ font-weight: 650;
857
+ color: var(--text);
858
+ }
859
+ .connpop__text {
860
+ margin: var(--sp-2) 0 var(--sp-3);
861
+ font-size: var(--fs-xs);
862
+ line-height: 1.5;
863
+ color: var(--text-muted);
864
+ }
865
+ .connpop__rows {
866
+ display: grid;
867
+ grid-template-columns: auto 1fr;
868
+ gap: 4px var(--sp-3);
869
+ margin: 0;
870
+ padding-top: var(--sp-3);
871
+ border-top: 1px solid var(--border);
872
+ font-size: var(--fs-xs);
873
+ }
874
+ .connpop__rows dt { color: var(--text-subtle); white-space: nowrap; }
875
+ .connpop__rows dd {
876
+ margin: 0;
877
+ color: var(--text-muted);
878
+ text-align: right;
879
+ overflow-wrap: anywhere;
880
+ font-variant-numeric: tabular-nums;
881
+ }
882
+ .connpop__actions { display: flex; justify-content: flex-end; margin-top: var(--sp-3); }
883
+ .connpop__actions:empty { display: none; }
884
+ .connpop__actions .btn { display: inline-flex; align-items: center; gap: 6px; }
885
+
886
+ @keyframes pulse {
887
+ 0%, 100% { opacity: 1; transform: scale(1); }
888
+ 50% { opacity: 0.45; transform: scale(0.82); }
889
+ }
890
+
891
+ /* icon button ----------------------------------------------------------- */
892
+ .iconbtn {
893
+ display: inline-grid;
894
+ place-items: center;
895
+ width: 32px; height: 32px;
896
+ padding: 0;
897
+ border-radius: var(--r-control);
898
+ border: 1px solid var(--border);
899
+ background: var(--surface-2);
900
+ color: var(--text-muted);
901
+ cursor: pointer;
902
+ transition: background 120ms var(--ease), color 120ms var(--ease), border-color 120ms var(--ease);
903
+ }
904
+ .iconbtn:hover { background: var(--surface-3); color: var(--text); border-color: var(--border-strong); }
905
+ .iconbtn svg { width: 16px; height: 16px; display: block; }
906
+
907
+ /* menu ------------------------------------------------------------------- */
908
+ .menu { position: relative; display: inline-flex; }
909
+ .menu__trigger[aria-expanded="true"] {
910
+ background: var(--surface-3);
911
+ color: var(--text);
912
+ border-color: var(--border-strong);
913
+ }
914
+ .menu__panel {
915
+ position: absolute;
916
+ top: calc(100% + var(--sp-2));
917
+ right: 0;
918
+ z-index: 60;
919
+ min-width: 244px;
920
+ padding: var(--sp-2);
921
+ border-radius: var(--r-md);
922
+ border: 1px solid var(--border);
923
+ background: var(--surface);
924
+ box-shadow: var(--shadow-2);
925
+ animation: menu-in 120ms var(--ease);
926
+ }
927
+ .menu__section + .menu__section { margin-top: var(--sp-1); }
928
+ .menu__section + .menu__section .menu__label { border-top: 1px solid var(--border); padding-top: var(--sp-3); }
929
+ .menu__label {
930
+ padding: var(--sp-1) var(--sp-2);
931
+ font-size: var(--fs-2xs);
932
+ font-weight: 650;
933
+ letter-spacing: 0.06em;
934
+ text-transform: uppercase;
935
+ color: var(--text-subtle);
936
+ }
937
+ .menu__group { display: flex; flex-direction: column; gap: 1px; }
938
+ .menu__item {
939
+ display: flex;
940
+ align-items: center;
941
+ gap: var(--sp-2);
942
+ width: 100%;
943
+ padding: 7px var(--sp-2);
944
+ border: 0;
945
+ border-radius: var(--r-control);
946
+ background: none;
947
+ color: var(--text-muted);
948
+ font: inherit;
949
+ font-size: var(--fs-sm);
950
+ text-align: left;
951
+ cursor: pointer;
952
+ transition: background 120ms var(--ease), color 120ms var(--ease);
953
+ }
954
+ .menu__item:hover { background: var(--surface-3); color: var(--text); }
955
+ .menu__item-label { flex: 1; }
956
+
957
+ /* The switch is drawn, not a checkbox: `aria-checked` on the button carries
958
+ * the state, so the track and thumb only have to follow it. */
959
+ .switchrow {
960
+ display: flex;
961
+ align-items: center;
962
+ gap: var(--sp-2);
963
+ width: 100%;
964
+ padding: 9px 11px;
965
+ border: 0;
966
+ border-radius: var(--r-control);
967
+ background: none;
968
+ color: var(--text-muted);
969
+ font: inherit;
970
+ font-size: var(--fs-md);
971
+ text-align: left;
972
+ cursor: pointer;
973
+ transition: background 120ms var(--ease), color 120ms var(--ease);
974
+ }
975
+ .switchrow:hover { background: var(--surface-3); color: var(--text); }
976
+ .switchrow__label { flex: 1; }
977
+ .switch {
978
+ position: relative;
979
+ flex: none;
980
+ width: 34px;
981
+ height: 19px;
982
+ border-radius: 999px;
983
+ background: var(--surface-3);
984
+ border: 1px solid var(--border-strong);
985
+ transition: background 140ms var(--ease), border-color 140ms var(--ease);
986
+ }
987
+ .switch__thumb {
988
+ position: absolute;
989
+ top: 2px;
990
+ left: 2px;
991
+ width: 13px;
992
+ height: 13px;
993
+ border-radius: 50%;
994
+ background: var(--text-subtle);
995
+ transition: transform 140ms var(--ease), background 140ms var(--ease);
996
+ }
997
+ [aria-checked="true"] > .switch {
998
+ background: var(--accent);
999
+ border-color: var(--accent);
1000
+ }
1001
+ [aria-checked="true"] > .switch > .switch__thumb {
1002
+ transform: translateX(15px);
1003
+ background: var(--text-on-accent);
1004
+ }
1005
+ .menu__row {
1006
+ display: flex;
1007
+ align-items: baseline;
1008
+ justify-content: space-between;
1009
+ gap: var(--sp-3);
1010
+ padding: 4px var(--sp-2);
1011
+ font-size: var(--fs-xs);
1012
+ }
1013
+ .menu__row-key { color: var(--text-subtle); white-space: nowrap; }
1014
+ .menu__row-value {
1015
+ color: var(--text-muted);
1016
+ font-variant-numeric: tabular-nums;
1017
+ text-align: right;
1018
+ overflow-wrap: anywhere;
1019
+ }
1020
+
1021
+ /* settings view ---------------------------------------------------------- */
1022
+ .formgrid {
1023
+ display: flex;
1024
+ flex-wrap: wrap;
1025
+ gap: var(--sp-3);
1026
+ align-items: flex-end;
1027
+ }
1028
+ .formgrid .field { flex: 1 1 160px; }
1029
+ .field__hint { font-size: var(--fs-2xs); color: var(--text-subtle); line-height: 1.4; }
1030
+ .field--check { margin-top: var(--sp-3); }
1031
+ .check {
1032
+ display: inline-flex;
1033
+ align-items: center;
1034
+ gap: var(--sp-2);
1035
+ cursor: pointer;
1036
+ font-size: var(--fs-sm);
1037
+ color: var(--text);
1038
+ }
1039
+ .check input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
1040
+ .formactions {
1041
+ display: flex;
1042
+ align-items: center;
1043
+ gap: var(--sp-3);
1044
+ flex-wrap: wrap;
1045
+ margin-top: var(--sp-4);
1046
+ }
1047
+ .notes {
1048
+ margin: var(--sp-3) 0 0;
1049
+ padding-left: var(--sp-4);
1050
+ color: var(--text-muted);
1051
+ font-size: var(--fs-xs);
1052
+ line-height: 1.6;
1053
+ }
1054
+ @keyframes menu-in {
1055
+ from { opacity: 0; transform: translateY(-4px); }
1056
+ to { opacity: 1; transform: translateY(0); }
1057
+ }
1058
+
1059
+ @media (prefers-reduced-motion: reduce) {
1060
+ .menu__panel,
1061
+ .popover { animation: none; }
1062
+ /* Its own rule: a browser that does not know `::picker()` drops the whole
1063
+ * selector list it appears in. */
1064
+ .select::picker(select) { animation: none; }
1065
+ .switch,
1066
+ .switch__thumb { transition: none; }
1067
+ }
1068
+
1069
+ /* popover ---------------------------------------------------------------- */
1070
+ /* Floats over the page from its trigger — `ui.popover`. Absolutely placed, so
1071
+ * opening one never moves anything around it. */
1072
+ .popover-anchor { position: relative; display: inline-flex; }
1073
+ .popover {
1074
+ position: absolute;
1075
+ top: calc(100% + var(--sp-2));
1076
+ left: 0;
1077
+ z-index: 60;
1078
+ max-width: calc(100vw - 2 * var(--sp-4));
1079
+ padding: var(--sp-3) var(--sp-4) var(--sp-4);
1080
+ border-radius: var(--r-md);
1081
+ border: 1px solid var(--border);
1082
+ background: var(--surface);
1083
+ box-shadow: var(--shadow-2);
1084
+ text-align: left;
1085
+ white-space: normal;
1086
+ animation: menu-in 120ms var(--ease);
1087
+ }
1088
+ .popover[data-align="end"] { left: auto; right: 0; }
1089
+ .popover__title {
1090
+ margin-bottom: var(--sp-3);
1091
+ font-size: var(--fs-sm);
1092
+ font-weight: 650;
1093
+ color: var(--text);
1094
+ }
1095
+
1096
+ /* ====================================================================== */
1097
+ /* Activity panel */
1098
+ /* ====================================================================== */
1099
+
1100
+ /* What is running, what just ran and how the day has gone, on the right of
1101
+ * every page; assets/js/85-activity.js builds it into the shell's third
1102
+ * column. With room for a third column it is one — `sticky`, like the rail and
1103
+ * for the rail's reason: it stays in normal flow, so the page beside it is
1104
+ * narrower rather than running underneath it. Below that width it is a sheet
1105
+ * over the page's right edge, opened from the header. Its surface is the
1106
+ * header's rather than the rail's: what it shows is content, so it follows
1107
+ * the theme. */
1108
+ .activity {
1109
+ display: none;
1110
+ flex-direction: column;
1111
+ background: var(--surface);
1112
+ color: var(--text);
1113
+ }
1114
+ /* Focused only by script, to take a keyboard reader into an opened sheet. */
1115
+ .activity:focus { outline: none; }
1116
+ /* Its rows and sections set their own `display`, and an author `display`
1117
+ beats the browser's own `[hidden]` rule. */
1118
+ .activity [hidden] { display: none !important; }
1119
+
1120
+ /* The same line as COLUMN_QUERY in 85-activity.js. At 1360px the rail and this
1121
+ * column leave the page about 830px — what three cards across already get
1122
+ * just above the 1080px breakpoint, where they stack. */
1123
+ @media (min-width: 1360px) {
1124
+ .activity {
1125
+ position: sticky;
1126
+ top: 0;
1127
+ z-index: 30;
1128
+ display: flex;
1129
+ flex: none;
1130
+ width: var(--activity-w);
1131
+ height: 100vh;
1132
+ border-left: 1px solid var(--border);
1133
+ }
1134
+ :root[data-activity="hidden"] .activity { display: none; }
1135
+ }
1136
+
1137
+ /* The exact complement of the column's query, as the rail's fold uses: a
1138
+ `max-width: 1359px` would leave a sliver at fractional zoom where neither
1139
+ applied. */
1140
+ @media not all and (min-width: 1360px) {
1141
+ .activity[data-sheet="open"] {
1142
+ position: fixed;
1143
+ top: 0;
1144
+ right: 0;
1145
+ bottom: 0;
1146
+ z-index: 55;
1147
+ display: flex;
1148
+ width: min(340px, calc(100vw - var(--sp-7)));
1149
+ border-left: 1px solid var(--border);
1150
+ box-shadow: var(--shadow-2);
1151
+ animation: sheet-in 160ms var(--ease);
1152
+ }
1153
+ }
1154
+ @keyframes sheet-in {
1155
+ from { opacity: 0; transform: translateX(var(--sp-4)); }
1156
+ to { opacity: 1; transform: none; }
1157
+ }
1158
+
1159
+ /* Level with the header beside it: the same height, the same rule under it. */
1160
+ .activity__head {
1161
+ flex: none;
1162
+ display: flex;
1163
+ align-items: center;
1164
+ gap: var(--sp-2);
1165
+ min-height: calc(var(--header-h) + 1px);
1166
+ padding: 0 var(--sp-3) 0 var(--sp-4);
1167
+ border-bottom: 1px solid var(--border);
1168
+ }
1169
+ .activity__title { flex: 1 1 auto; min-width: 0; font-size: var(--fs-lg); font-weight: 650; }
1170
+ .activity__close { border-color: transparent; background: none; }
1171
+
1172
+ .activity__body {
1173
+ flex: 1 1 auto;
1174
+ min-height: 0;
1175
+ overflow-y: auto;
1176
+ /* Scrolled to its end, the panel stops there: the page under it does not
1177
+ take the scroll over. */
1178
+ overscroll-behavior: contain;
1179
+ }
1180
+ .activity__loading { padding: var(--sp-4); }
1181
+ .activity__failure {
1182
+ display: grid;
1183
+ justify-items: start;
1184
+ gap: var(--sp-3);
1185
+ padding: var(--sp-4);
1186
+ }
1187
+
1188
+ .activity__section { padding: var(--sp-4) var(--sp-4) var(--sp-3); }
1189
+ .activity__section + .activity__section { border-top: 1px solid var(--border); }
1190
+ .activity__section-head {
1191
+ display: flex;
1192
+ align-items: center;
1193
+ gap: var(--sp-2);
1194
+ margin-bottom: var(--sp-2);
1195
+ }
1196
+ /* The rail's section labels, in the page's colours. */
1197
+ .activity__label {
1198
+ display: flex;
1199
+ align-items: center;
1200
+ gap: 6px;
1201
+ font-size: var(--fs-3xs);
1202
+ font-weight: 700;
1203
+ letter-spacing: 0.09em;
1204
+ text-transform: uppercase;
1205
+ color: var(--text-subtle);
1206
+ }
1207
+ .activity__count {
1208
+ padding: 1px 7px;
1209
+ border-radius: var(--r-pill);
1210
+ background: var(--status-running-soft);
1211
+ color: var(--status-running-fg);
1212
+ font-size: var(--fs-2xs);
1213
+ letter-spacing: 0;
1214
+ font-variant-numeric: tabular-nums;
1215
+ }
1216
+ .activity__more { margin-left: auto; font-size: var(--fs-xs); white-space: nowrap; }
1217
+ .activity__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
1218
+ .activity__note { color: var(--text-subtle); font-size: var(--fs-xs); line-height: 1.5; }
1219
+ .activity__overflow { display: inline-block; margin-top: var(--sp-2); font-size: var(--fs-xs); }
1220
+
1221
+ /* One run. The row bleeds into the section's gutter so its hover ground has
1222
+ * room around the text, and the name's link is stretched across all of it:
1223
+ * the whole row is the target, and the link's accessible name is still just
1224
+ * the name. */
1225
+ .arun {
1226
+ position: relative;
1227
+ display: grid;
1228
+ gap: 3px;
1229
+ min-width: 0;
1230
+ margin: 0 calc(-1 * var(--sp-2));
1231
+ padding: var(--sp-2);
1232
+ border-radius: var(--r-md);
1233
+ transition: background 120ms var(--ease);
1234
+ }
1235
+ .arun:hover { background: var(--surface-3); }
1236
+ .arun--current,
1237
+ .arun--current:hover { background: var(--accent-soft); }
1238
+ .arun__top { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
1239
+ .arun__dot {
1240
+ flex: none;
1241
+ width: 8px;
1242
+ height: 8px;
1243
+ border-radius: 50%;
1244
+ background: var(--status-unknown);
1245
+ }
1246
+ .arun__dot[data-status="passed"] { background: var(--status-passed); }
1247
+ .arun__dot[data-status="failed"] { background: var(--status-failed); }
1248
+ .arun__dot[data-status="error"] { background: var(--status-error); }
1249
+ .arun__dot[data-status="cancelled"] { background: var(--status-cancelled); }
1250
+ .arun__dot[data-status="queued"] { background: var(--status-queued); }
1251
+ .arun__dot[data-status="running"] { background: var(--status-running); animation: pulse 1.6s var(--ease) infinite; }
1252
+ .arun__name {
1253
+ flex: 1 1 auto;
1254
+ min-width: 0;
1255
+ overflow: hidden;
1256
+ text-overflow: ellipsis;
1257
+ white-space: nowrap;
1258
+ color: var(--text);
1259
+ font-size: var(--fs-sm);
1260
+ font-weight: 600;
1261
+ }
1262
+ .arun__name:hover { color: var(--text); text-decoration: none; }
1263
+ .arun__name::after {
1264
+ content: "";
1265
+ position: absolute;
1266
+ inset: 0;
1267
+ border-radius: inherit;
1268
+ }
1269
+ /* The ring goes round the row the link stands for, not round the name. */
1270
+ .arun__name:focus-visible { outline: none; }
1271
+ .arun__name:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; }
1272
+ .arun__time {
1273
+ flex: none;
1274
+ color: var(--text-subtle);
1275
+ font-size: var(--fs-xs);
1276
+ font-variant-numeric: tabular-nums;
1277
+ white-space: nowrap;
1278
+ }
1279
+ /* Everything under the name lines up with it, past the dot. */
1280
+ .arun > .arun__meta,
1281
+ .arun__sub,
1282
+ .arun__progress { margin-left: 16px; min-width: 0; }
1283
+ .arun__meta {
1284
+ overflow: hidden;
1285
+ text-overflow: ellipsis;
1286
+ white-space: nowrap;
1287
+ color: var(--text-subtle);
1288
+ font-size: var(--fs-xs);
1289
+ }
1290
+ .arun__sub { display: flex; align-items: baseline; gap: var(--sp-2); }
1291
+ .arun__sub > .arun__meta { flex: 1 1 auto; min-width: 0; }
1292
+ .arun__stats {
1293
+ flex: none;
1294
+ margin-left: auto;
1295
+ color: var(--text-muted);
1296
+ font-size: var(--fs-xs);
1297
+ font-variant-numeric: tabular-nums;
1298
+ white-space: nowrap;
1299
+ }
1300
+ .arun__progress { display: flex; align-items: center; gap: var(--sp-2); margin-top: 2px; }
1301
+ /* A live run's results so far, stacked as the overview's status bars stack
1302
+ * them, in-progress last, so it fills from the left as they arrive. */
1303
+ .arun__bar {
1304
+ flex: 1 1 auto;
1305
+ display: flex;
1306
+ gap: 1px;
1307
+ height: 6px;
1308
+ min-width: 0;
1309
+ overflow: hidden;
1310
+ border-radius: var(--r-pill);
1311
+ background: var(--surface-3);
1312
+ }
1313
+ .arun__seg { flex: 0 1 0; min-width: 2px; transition: flex-grow 600ms var(--ease); }
1314
+ .arun__seg[data-status="passed"] { background: var(--status-passed); }
1315
+ .arun__seg[data-status="failed"] { background: var(--status-failed); }
1316
+ .arun__seg[data-status="skipped"] { background: var(--status-skipped); }
1317
+ .arun__seg[data-status="error"] { background: var(--status-error); }
1318
+ .arun__seg[data-status="xpassed"] { background: var(--status-xpassed); }
1319
+ .arun__seg[data-status="xfailed"] { background: var(--status-xfailed); }
1320
+ .arun__seg[data-status="other"] { background: var(--status-unknown); }
1321
+ .arun__seg[data-status="running"] { background: var(--status-running); }
1322
+ .arun__figure {
1323
+ flex: none;
1324
+ color: var(--text-muted);
1325
+ font-size: var(--fs-xs);
1326
+ font-variant-numeric: tabular-nums;
1327
+ white-space: nowrap;
1328
+ }
1329
+
1330
+ /* The last day, a series per row: its total on the right, and a column per
1331
+ * bucket under it. Pass rate takes the overview's single data hue and its
1332
+ * dashed line for the whole day; failures take the failed mark. */
1333
+ .atrends { display: grid; gap: var(--sp-3); }
1334
+ .atrend { display: grid; gap: 6px; }
1335
+ .atrend__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); }
1336
+ .atrend__label { color: var(--text-muted); font-size: var(--fs-xs); }
1337
+ .atrend__total {
1338
+ color: var(--text);
1339
+ font-size: var(--fs-lg);
1340
+ font-weight: 650;
1341
+ font-variant-numeric: tabular-nums;
1342
+ }
1343
+ .atrend__plot { position: relative; height: 32px; }
1344
+ .atrend__cols {
1345
+ display: flex;
1346
+ gap: 2px;
1347
+ height: 100%;
1348
+ border-bottom: 1px solid var(--border);
1349
+ }
1350
+ .atrend__slot { flex: 1 1 0; display: flex; align-items: flex-end; min-width: 0; }
1351
+ .atrend__slot:hover { background: var(--surface-3); }
1352
+ .atrend__col {
1353
+ width: 100%;
1354
+ min-height: 2px;
1355
+ border-radius: 2px 2px 0 0;
1356
+ background: var(--chart-series);
1357
+ transition: height 400ms var(--ease);
1358
+ }
1359
+ /* A bucket with nothing in it is a gap, not a zero. */
1360
+ .atrend__slot--blank > .atrend__col { display: none; }
1361
+ .atrend[data-tone="failed"] .atrend__col { background: var(--status-failed); }
1362
+ .atrend__ref {
1363
+ position: absolute;
1364
+ left: 0;
1365
+ right: 0;
1366
+ height: 0;
1367
+ border-top: 1px dashed var(--text-subtle);
1368
+ pointer-events: none;
1369
+ }
1370
+ .atrend__axis {
1371
+ display: flex;
1372
+ justify-content: space-between;
1373
+ margin-top: var(--sp-2);
1374
+ color: var(--text-subtle);
1375
+ font-size: var(--fs-2xs);
1376
+ }
1377
+
1378
+ /* The header's way to the panel. Pressed while the panel is showing, as the
1379
+ * settings trigger is while its menu is open. */
1380
+ .activity-toggle[aria-expanded="true"] {
1381
+ background: var(--surface-3);
1382
+ color: var(--text);
1383
+ border-color: var(--border-strong);
1384
+ }
1385
+
1386
+ /* ====================================================================== */
1387
+ /* Page frame */
1388
+ /* ====================================================================== */
1389
+
1390
+ .main { flex: 1 1 auto; padding: var(--sp-5) 0 var(--sp-7); }
1391
+
1392
+ .page-head {
1393
+ display: flex;
1394
+ align-items: flex-start;
1395
+ justify-content: space-between;
1396
+ gap: var(--sp-4);
1397
+ flex-wrap: wrap;
1398
+ margin-bottom: var(--sp-4);
1399
+ }
1400
+ .page-head__titles { min-width: 0; }
1401
+ /* Once the title is lifted into the header, what stays is the description
1402
+ and the page's buttons: the line starts flush with the page's top, and sits
1403
+ level with the buttons beside it rather than hanging from their top edge. */
1404
+ .page-head:not(:has(h1)) { align-items: center; }
1405
+ .page-head__titles > .page-head__sub:first-child { margin-top: 0; }
1406
+ .page-head h1 { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
1407
+ .page-head__sub {
1408
+ margin-top: 4px;
1409
+ color: var(--text-muted);
1410
+ font-size: var(--fs-sm);
1411
+ display: flex;
1412
+ align-items: center;
1413
+ gap: var(--sp-2);
1414
+ flex-wrap: wrap;
1415
+ }
1416
+ .page-head__actions { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }
1417
+
1418
+ .crumbs {
1419
+ display: flex; align-items: center; gap: 6px;
1420
+ font-size: var(--fs-xs); color: var(--text-subtle);
1421
+ margin-bottom: var(--sp-2);
1422
+ }
1423
+ .crumbs__sep { color: var(--border-strong); }
1424
+
1425
+ .section { margin-top: var(--sp-5); }
1426
+ .section__head {
1427
+ display: flex; align-items: baseline; justify-content: space-between;
1428
+ gap: var(--sp-3); margin-bottom: var(--sp-3);
1429
+ }
1430
+ .section__title { font-size: var(--fs-sm); font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-subtle); }
1431
+ .section__aside { font-size: var(--fs-xs); color: var(--text-subtle); }
1432
+
1433
+ /* ====================================================================== */
1434
+ /* Primitives */
1435
+ /* ====================================================================== */
1436
+
1437
+ .card {
1438
+ background: var(--surface);
1439
+ border: 1px solid var(--border);
1440
+ border-radius: var(--r-lg);
1441
+ box-shadow: var(--shadow-1);
1442
+ }
1443
+ .card__head {
1444
+ display: flex; align-items: center; justify-content: space-between;
1445
+ flex-wrap: wrap;
1446
+ gap: var(--sp-3);
1447
+ padding: var(--sp-3) var(--sp-4);
1448
+ border-bottom: 1px solid var(--border);
1449
+ }
1450
+ /* A control in a card head is an accessory to the card, not a reason for the
1451
+ card to be wider than the page: it takes the width it is given. */
1452
+ .card__head .field--grow { flex: 0 1 220px; }
1453
+ /* A card's heading is never smaller than the text inside the card. */
1454
+ .card__title { font-size: var(--fs-md); font-weight: 650; }
1455
+ .card__hint { font-size: var(--fs-xs); color: var(--text-subtle); }
1456
+ .card__body { padding: var(--sp-4); }
1457
+ .card__body--flush { padding: 0; }
1458
+ /* Controls that belong to a flush card: padded on their own, so the table below
1459
+ can still run edge to edge. */
1460
+ .card__toolbar { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border); }
1461
+ .table-note {
1462
+ padding: var(--sp-2) var(--sp-4);
1463
+ font-size: var(--fs-xs);
1464
+ color: var(--text-subtle);
1465
+ border-bottom: 1px solid var(--border);
1466
+ background: var(--surface-2);
1467
+ }
1468
+
1469
+ .btn {
1470
+ display: inline-flex;
1471
+ align-items: center;
1472
+ gap: 6px;
1473
+ padding: 7px 13px;
1474
+ border-radius: var(--r-control);
1475
+ border: 1px solid var(--border-strong);
1476
+ background: var(--surface);
1477
+ color: var(--text);
1478
+ font-size: var(--fs-sm);
1479
+ font-weight: 550;
1480
+ cursor: pointer;
1481
+ white-space: nowrap;
1482
+ transition: background 120ms var(--ease), border-color 120ms var(--ease);
1483
+ }
1484
+ .btn:hover { background: var(--surface-3); text-decoration: none; color: var(--text); }
1485
+ .btn:disabled { opacity: 0.5; cursor: not-allowed; }
1486
+ .btn--primary { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); }
1487
+ .btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--text-on-accent); }
1488
+ .btn--ghost { background: transparent; border-color: transparent; color: var(--text-muted); }
1489
+ .btn--ghost:hover { background: var(--surface-3); color: var(--text); }
1490
+ .btn--sm { padding: 4px 9px; font-size: var(--fs-xs); }
1491
+ /* Placed after the other variants deliberately: these override `.btn`'s own
1492
+ background at the same specificity, so source order is what decides. */
1493
+ .btn--danger {
1494
+ background: var(--status-failed);
1495
+ border-color: var(--status-failed);
1496
+ color: var(--text-on-accent);
1497
+ }
1498
+ .btn--danger:hover:not(:disabled) {
1499
+ background: var(--status-error);
1500
+ border-color: var(--status-error);
1501
+ color: var(--text-on-accent);
1502
+ }
1503
+ .btn--danger:disabled { opacity: 0.55; cursor: not-allowed; }
1504
+
1505
+ .tag {
1506
+ display: inline-flex; align-items: center;
1507
+ padding: 2px 8px;
1508
+ border-radius: var(--r-pill);
1509
+ background: var(--surface-3);
1510
+ border: 1px solid var(--border);
1511
+ color: var(--text-muted);
1512
+ font-size: var(--fs-2xs);
1513
+ font-weight: 550;
1514
+ white-space: nowrap;
1515
+ }
1516
+
1517
+ .statuspill {
1518
+ display: inline-flex;
1519
+ align-items: center;
1520
+ gap: 5px;
1521
+ padding: 3px 10px;
1522
+ border-radius: var(--r-pill);
1523
+ font-size: var(--fs-xs);
1524
+ font-weight: 600;
1525
+ text-transform: capitalize;
1526
+ white-space: nowrap;
1527
+ background: var(--status-unknown-soft);
1528
+ color: var(--status-unknown-fg);
1529
+ }
1530
+ .statuspill::before {
1531
+ content: "";
1532
+ width: 6px; height: 6px; border-radius: 50%;
1533
+ background: currentColor;
1534
+ flex: none;
1535
+ }
1536
+ .statuspill[data-status="passed"] { background: var(--status-passed-soft); color: var(--status-passed-fg); }
1537
+ .statuspill[data-status="failed"] { background: var(--status-failed-soft); color: var(--status-failed-fg); }
1538
+ .statuspill[data-status="error"] { background: var(--status-error-soft); color: var(--status-error-fg); }
1539
+ .statuspill[data-status="skipped"] { background: var(--status-skipped-soft); color: var(--status-skipped-fg); }
1540
+ .statuspill[data-status="xfailed"] { background: var(--status-xfailed-soft); color: var(--status-xfailed-fg); }
1541
+ .statuspill[data-status="xpassed"] { background: var(--status-xpassed-soft); color: var(--status-xpassed-fg); }
1542
+ .statuspill[data-status="running"] { background: var(--status-running-soft); color: var(--status-running-fg); }
1543
+ .statuspill[data-status="queued"] { background: var(--status-queued-soft); color: var(--status-queued-fg); }
1544
+ .statuspill[data-status="cancelled"] { background: var(--status-cancelled-soft); color: var(--status-cancelled-fg); }
1545
+ .statuspill[data-status="running"]::before { animation: pulse 1.6s var(--ease) infinite; }
1546
+
1547
+ .livebadge {
1548
+ display: inline-flex;
1549
+ align-items: center;
1550
+ gap: 5px;
1551
+ padding: 3px 10px 3px 8px;
1552
+ border-radius: var(--r-pill);
1553
+ background: var(--status-running-soft);
1554
+ color: var(--status-running-fg);
1555
+ font-size: var(--fs-2xs);
1556
+ font-weight: 700;
1557
+ letter-spacing: 0.08em;
1558
+ text-transform: uppercase;
1559
+ white-space: nowrap;
1560
+ }
1561
+ .livebadge::before {
1562
+ content: "";
1563
+ width: 7px; height: 7px;
1564
+ border-radius: 50%;
1565
+ background: currentColor;
1566
+ box-shadow: 0 0 0 0 var(--live-halo);
1567
+ animation: livepulse 2s var(--ease) infinite;
1568
+ flex: none;
1569
+ }
1570
+ @keyframes livepulse {
1571
+ 0% { box-shadow: 0 0 0 0 var(--live-halo); }
1572
+ 70% { box-shadow: 0 0 0 7px transparent; }
1573
+ 100% { box-shadow: 0 0 0 0 transparent; }
1574
+ }
1575
+
1576
+ .delta { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
1577
+ .delta[data-dir="up"] { color: var(--status-passed-fg); }
1578
+ .delta[data-dir="down"] { color: var(--status-failed-fg); }
1579
+ .delta[data-dir="flat"] { color: var(--text-subtle); }
1580
+
1581
+ .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--sp-4); font-size: var(--fs-sm); }
1582
+ .kv dt { color: var(--text-subtle); white-space: nowrap; }
1583
+ .kv dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
1584
+
1585
+ .pre {
1586
+ margin: 0;
1587
+ padding: var(--sp-3) var(--sp-4);
1588
+ background: var(--surface-inset);
1589
+ border: 1px solid var(--border);
1590
+ border-radius: var(--r-md);
1591
+ font-family: var(--font-mono);
1592
+ font-size: var(--fs-xs);
1593
+ line-height: 1.65;
1594
+ color: var(--text);
1595
+ overflow-x: auto;
1596
+ white-space: pre;
1597
+ tab-size: 4;
1598
+ }
1599
+ .pre--wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
1600
+ /* Pieces of a command that must not break inside (see commandBlock). */
1601
+ .pre--command > span { white-space: pre; }
1602
+ .pre--fail { border-color: var(--status-failed-soft); background: var(--status-failed-soft); }
1603
+ .pre--fail .pre__label { color: var(--status-failed-fg); }
1604
+
1605
+ /* ====================================================================== */
1606
+ /* KPI cards */
1607
+ /* ====================================================================== */
1608
+
1609
+ .kpis {
1610
+ display: grid;
1611
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
1612
+ gap: var(--sp-3);
1613
+ }
1614
+ /* A row of exactly six shares out evenly or not at all: six across, else three
1615
+ * and three — never five and an orphan, which is what `auto-fit` made of six
1616
+ * on any page a little narrower than six tiles, a 1440px laptop with the
1617
+ * activity panel open among them. A media query cannot draw that line, because
1618
+ * the page's width depends on the rail and the panel as well as the screen.
1619
+ * The middle term is 999 times how far the row falls short of six tiles: zero
1620
+ * or less when they fit, so the 150px floor holds and six fit; huge when they
1621
+ * do not, so the floor becomes a third of the row and exactly three fit. The
1622
+ * phone rules below still take it down to two, then one. */
1623
+ .kpis--six {
1624
+ grid-template-columns: repeat(auto-fit, minmax(
1625
+ clamp(150px, (6 * 150px + 5 * var(--sp-3) - 100%) * 999, (100% - 2 * var(--sp-3)) / 3),
1626
+ 1fr));
1627
+ }
1628
+ .kpi {
1629
+ position: relative;
1630
+ background: var(--surface);
1631
+ border: 1px solid var(--border);
1632
+ border-radius: var(--r-lg);
1633
+ padding: var(--sp-4);
1634
+ box-shadow: var(--shadow-1);
1635
+ overflow: hidden;
1636
+ }
1637
+ .kpi::before {
1638
+ content: "";
1639
+ position: absolute;
1640
+ inset: 0 auto 0 0;
1641
+ width: 3px;
1642
+ background: var(--status-unknown);
1643
+ }
1644
+ .kpi[data-status="passed"]::before { background: var(--status-passed); }
1645
+ .kpi[data-status="failed"]::before { background: var(--status-failed); }
1646
+ .kpi[data-status="error"]::before { background: var(--status-error); }
1647
+ .kpi[data-status="skipped"]::before { background: var(--status-skipped); }
1648
+ .kpi[data-status="running"]::before { background: var(--status-running); }
1649
+ .kpi[data-status="total"]::before { background: var(--accent); }
1650
+ .kpi__label {
1651
+ font-size: var(--fs-2xs);
1652
+ font-weight: 650;
1653
+ letter-spacing: 0.06em;
1654
+ text-transform: uppercase;
1655
+ color: var(--text-subtle);
1656
+ }
1657
+ .kpi__value {
1658
+ margin-top: 6px;
1659
+ font-size: 30px;
1660
+ line-height: 1.1;
1661
+ font-weight: 640;
1662
+ letter-spacing: -0.02em;
1663
+ font-variant-numeric: tabular-nums;
1664
+ }
1665
+ .kpi__meta { margin-top: 6px; font-size: var(--fs-xs); color: var(--text-subtle); display: flex; gap: 6px; align-items: center; }
1666
+
1667
+ .headline {
1668
+ display: grid;
1669
+ grid-template-columns: minmax(0, 1fr) auto;
1670
+ gap: var(--sp-4);
1671
+ align-items: center;
1672
+ }
1673
+ .headline__value {
1674
+ font-size: 42px;
1675
+ font-weight: 640;
1676
+ letter-spacing: -0.03em;
1677
+ line-height: 1;
1678
+ font-variant-numeric: tabular-nums;
1679
+ }
1680
+ .headline__label { font-size: var(--fs-xs); color: var(--text-subtle); margin-top: 6px; }
1681
+
1682
+ /* count bar — a run's composition in one 6px strip -------------------- */
1683
+ .countbar {
1684
+ display: flex;
1685
+ height: 6px;
1686
+ border-radius: var(--r-pill);
1687
+ overflow: hidden;
1688
+ background: var(--surface-3);
1689
+ min-width: 90px;
1690
+ }
1691
+ .countbar > span { display: block; height: 100%; }
1692
+ .countbar > span[data-status="passed"] { background: var(--status-passed); }
1693
+ .countbar > span[data-status="failed"] { background: var(--status-failed); }
1694
+ .countbar > span[data-status="error"] { background: var(--status-error); }
1695
+ .countbar > span[data-status="skipped"] { background: var(--status-skipped); }
1696
+ .countbar > span[data-status="xfailed"] { background: var(--status-xfailed); }
1697
+ .countbar > span[data-status="xpassed"] { background: var(--status-xpassed); }
1698
+ .countbar > span[data-status="running"] { background: var(--status-running); }
1699
+ .countbar > span[data-status="queued"] { background: var(--status-queued); }
1700
+ .countbar > span[data-status="cancelled"] { background: var(--status-cancelled); }
1701
+ .countbar > span[data-status="unknown"] { background: var(--status-unknown); }
1702
+
1703
+ .legend { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-size: var(--fs-xs); color: var(--text-muted); }
1704
+ .legend__item { display: inline-flex; align-items: center; gap: 6px; }
1705
+ .legend__swatch { width: 9px; height: 9px; border-radius: 3px; flex: none; background: var(--status-unknown); }
1706
+ .legend__swatch[data-status="passed"] { background: var(--status-passed); }
1707
+ .legend__swatch[data-status="failed"] { background: var(--status-failed); }
1708
+ .legend__swatch[data-status="error"] { background: var(--status-error); }
1709
+ .legend__swatch[data-status="skipped"] { background: var(--status-skipped); }
1710
+ .legend__swatch[data-status="xfailed"] { background: var(--status-xfailed); }
1711
+ .legend__swatch[data-status="xpassed"] { background: var(--status-xpassed); }
1712
+ .legend__swatch[data-status="running"] { background: var(--status-running); }
1713
+ .legend__swatch[data-status="line"] { background: var(--chart-line); }
1714
+ .legend__swatch[data-status="line-alt"] { background: var(--chart-line-alt); }
1715
+ /* The duration chart's two marks: the median's dot and the p50-p95 bar. */
1716
+ .legend__swatch[data-status="median"] { background: var(--chart-series); border-radius: 50%; }
1717
+ .legend__swatch[data-status="spread"] { width: 6px; height: 12px; background: var(--chart-series-soft); }
1718
+
1719
+ /* ====================================================================== */
1720
+ /* Analytics — tiles, meters, chips, verdicts, streaks */
1721
+ /* ====================================================================== */
1722
+
1723
+ /* A stat tile is a KPI that has to argue for itself: the number, what it
1724
+ * measures, and the sentence that stops it being misread. The rule is on top
1725
+ * rather than down the side so a row of them reads as one instrument panel. */
1726
+ .stats {
1727
+ display: grid;
1728
+ grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
1729
+ gap: var(--sp-3);
1730
+ }
1731
+ /* Six or three across, as `.kpis--six` above, on the stat tiles' 170px. */
1732
+ .stats--six {
1733
+ grid-template-columns: repeat(auto-fit, minmax(
1734
+ clamp(170px, (6 * 170px + 5 * var(--sp-3) - 100%) * 999, (100% - 2 * var(--sp-3)) / 3),
1735
+ 1fr));
1736
+ }
1737
+ .stat {
1738
+ position: relative;
1739
+ background: var(--surface);
1740
+ border: 1px solid var(--border);
1741
+ border-radius: var(--r-lg);
1742
+ padding: var(--sp-4);
1743
+ box-shadow: var(--shadow-1);
1744
+ overflow: hidden;
1745
+ }
1746
+ .stat::before {
1747
+ content: "";
1748
+ position: absolute;
1749
+ inset: 0 0 auto 0;
1750
+ height: 3px;
1751
+ background: var(--border-strong);
1752
+ }
1753
+ .stat[data-tone="passed"]::before { background: var(--status-passed); }
1754
+ .stat[data-tone="failed"]::before { background: var(--status-failed); }
1755
+ .stat[data-tone="skipped"]::before { background: var(--status-skipped); }
1756
+ .stat[data-tone="xpassed"]::before { background: var(--status-xpassed); }
1757
+ .stat__value {
1758
+ display: flex;
1759
+ align-items: baseline;
1760
+ gap: var(--sp-2);
1761
+ font-size: 32px;
1762
+ line-height: 1.1;
1763
+ font-weight: 640;
1764
+ letter-spacing: -0.02em;
1765
+ font-variant-numeric: tabular-nums;
1766
+ }
1767
+ .stat__label {
1768
+ margin-top: 6px;
1769
+ font-size: var(--fs-2xs);
1770
+ font-weight: 650;
1771
+ letter-spacing: 0.06em;
1772
+ text-transform: uppercase;
1773
+ color: var(--text-subtle);
1774
+ }
1775
+ .stat__hint { margin-top: 6px; font-size: var(--fs-xs); color: var(--text-muted); }
1776
+
1777
+ /* The meter is a comparison between rows, never the value itself — which is
1778
+ * why it is never the only thing in its cell. */
1779
+ .meter {
1780
+ display: inline-block;
1781
+ width: 78px;
1782
+ height: 6px;
1783
+ flex: none;
1784
+ border-radius: var(--r-pill);
1785
+ background: var(--surface-3);
1786
+ overflow: hidden;
1787
+ }
1788
+ .meter__fill { display: block; height: 100%; background: var(--accent); }
1789
+ .meter__fill[data-status="passed"] { background: var(--status-passed); }
1790
+ .meter__fill[data-status="failed"] { background: var(--status-failed); }
1791
+ .meter__fill[data-status="error"] { background: var(--status-error); }
1792
+ .meter__fill[data-status="skipped"] { background: var(--status-skipped); }
1793
+ .meter__fill[data-status="xpassed"] { background: var(--status-xpassed); }
1794
+ .meter__fill[data-status="running"] { background: var(--status-running); }
1795
+ .cell-metric { justify-content: flex-end; gap: var(--sp-2); }
1796
+ /* A name column that cannot push the columns beside it off the card. Two of
1797
+ these tables sit in a half-width card next to three more columns, and a test
1798
+ name is as long as whoever wrote it felt like making it. */
1799
+ .cell-name { max-width: 220px; }
1800
+
1801
+ .chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
1802
+ .chip {
1803
+ display: inline-flex;
1804
+ align-items: center;
1805
+ max-width: 100%;
1806
+ padding: 2px 8px;
1807
+ border-radius: var(--r-control);
1808
+ background: var(--surface-2);
1809
+ border: 1px solid var(--border);
1810
+ color: var(--text-muted);
1811
+ font-family: var(--font-mono);
1812
+ font-size: var(--fs-2xs);
1813
+ white-space: nowrap;
1814
+ overflow: hidden;
1815
+ text-overflow: ellipsis;
1816
+ }
1817
+ .chip--link { text-decoration: none; }
1818
+ .chip--link:hover { border-color: var(--accent-border); color: var(--accent-ink); background: var(--accent-soft); }
1819
+
1820
+ /* Four words, four colours, one meaning each — see `verdictFor` in the
1821
+ * analytics view for what earns which. */
1822
+ .verdict {
1823
+ display: inline-flex;
1824
+ align-items: center;
1825
+ padding: 1px 8px;
1826
+ border-radius: var(--r-pill);
1827
+ font-size: var(--fs-2xs);
1828
+ font-weight: 650;
1829
+ letter-spacing: 0.02em;
1830
+ text-transform: capitalize;
1831
+ background: var(--status-unknown-soft);
1832
+ color: var(--status-unknown-fg);
1833
+ }
1834
+ .verdict[data-verdict="stable"] { background: var(--status-passed-soft); color: var(--status-passed-fg); }
1835
+ .verdict[data-verdict="flaky"] { background: var(--status-flaky-soft); color: var(--status-flaky-fg); }
1836
+ .verdict[data-verdict="broken"] { background: var(--status-failed-soft); color: var(--status-failed-fg); }
1837
+ .verdict[data-verdict="new"] { background: var(--status-failed-soft); color: var(--status-failed-fg); }
1838
+
1839
+ /* One cell per run, oldest on the left. */
1840
+ .streak { display: inline-flex; gap: 2px; align-items: center; }
1841
+ .streak__cell {
1842
+ width: 8px;
1843
+ height: 16px;
1844
+ border-radius: 2px;
1845
+ background: var(--status-unknown);
1846
+ }
1847
+ .streak__cell[data-status="passed"] { background: var(--status-passed); }
1848
+ .streak__cell[data-status="failed"] { background: var(--status-failed); }
1849
+ .streak__cell[data-status="error"] { background: var(--status-error); }
1850
+ .streak__cell[data-status="skipped"] { background: var(--status-skipped); }
1851
+ .streak__cell[data-status="xfailed"] { background: var(--status-xfailed); }
1852
+ .streak__cell[data-status="xpassed"] { background: var(--status-xpassed); }
1853
+ .streak__cell[data-status="running"] { background: var(--status-running); }
1854
+
1855
+ /* Failures grouped by what raised them. */
1856
+ .taxonomy { display: grid; gap: var(--sp-4); }
1857
+ .taxonomy__row { display: grid; gap: 6px; }
1858
+ .taxonomy__head { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
1859
+ .taxonomy__type { font-weight: 650; font-size: var(--fs-sm); }
1860
+ .taxonomy__count { color: var(--status-failed-fg); font-weight: 650; }
1861
+ .taxonomy .meter { width: 100%; height: 5px; }
1862
+
1863
+ .taxonomy__where { font-size: var(--fs-xs); }
1864
+
1865
+ /* Failures: the bar above the list, and the triage form on a group's page. */
1866
+ .failures__bar {
1867
+ display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-3);
1868
+ margin-bottom: var(--sp-3);
1869
+ }
1870
+ .failures__bar > .field--grow { flex: 1 1 220px; }
1871
+ /* Seven triage filters do not fit a phone in one line: they wrap, whole. */
1872
+ .failures__bar > .field { max-width: 100%; }
1873
+ .failures__bar .segmented { flex-wrap: wrap; }
1874
+ .failures__bar .segmented button { white-space: nowrap; }
1875
+ @media (max-width: 640px) {
1876
+ .failures__bar > .field { flex: 1 1 100%; }
1877
+ }
1878
+ /* min-width: 0 lets the ellipsis work when a phone lays the row out as a card. */
1879
+ .failures__cell { max-width: 520px; min-width: 0; }
1880
+ .failures__triage { max-width: 200px; min-width: 0; }
1881
+ .triage { display: grid; gap: var(--sp-3); }
1882
+ /* Status and owner are both short: one row, stacked again on a phone. */
1883
+ .triage__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-3); }
1884
+ @media (max-width: 640px) {
1885
+ .triage__row { grid-template-columns: minmax(0, 1fr); }
1886
+ }
1887
+ .triage__note { min-height: 88px; resize: vertical; font: inherit; }
1888
+ .triage__actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
1889
+ .triage__status, .triage__meta { margin: 0; font-size: var(--fs-sm); }
1890
+
1891
+ /* The outcome counters under the donut. Every status is drawn, including the
1892
+ * zeroes: "0 failed" is the reassurance people came for. */
1893
+ .statstrip {
1894
+ display: flex;
1895
+ flex-wrap: wrap;
1896
+ gap: var(--sp-2);
1897
+ border-top: 1px solid var(--border);
1898
+ padding-top: var(--sp-3);
1899
+ }
1900
+ .statstrip__item {
1901
+ /* Equal shares of whatever is left, down to the width of the longest label:
1902
+ eight counters have to sit on one line in a half-width card, and a counter
1903
+ that wrapped onto its own row would read as a different kind of number. */
1904
+ flex: 1 1 0;
1905
+ min-width: 56px;
1906
+ display: flex;
1907
+ flex-direction: column;
1908
+ align-items: center;
1909
+ gap: 2px;
1910
+ padding: var(--sp-2) 4px;
1911
+ border-radius: var(--r-md);
1912
+ text-decoration: none;
1913
+ color: inherit;
1914
+ }
1915
+ button.statstrip__item {
1916
+ border-radius: var(--r-control);
1917
+ border: 0;
1918
+ background: none;
1919
+ font: inherit;
1920
+ cursor: pointer;
1921
+ text-align: center;
1922
+ }
1923
+ button.statstrip__item:hover { background: var(--surface-2); }
1924
+ .statstrip__value {
1925
+ font-size: var(--fs-2xl);
1926
+ font-weight: 640;
1927
+ line-height: 1;
1928
+ font-variant-numeric: tabular-nums;
1929
+ color: var(--status-unknown-fg);
1930
+ }
1931
+ .statstrip__item[data-status="passed"] .statstrip__value { color: var(--status-passed-fg); }
1932
+ .statstrip__item[data-status="failed"] .statstrip__value { color: var(--status-failed-fg); }
1933
+ .statstrip__item[data-status="error"] .statstrip__value { color: var(--status-error-fg); }
1934
+ .statstrip__item[data-status="skipped"] .statstrip__value { color: var(--status-skipped-fg); }
1935
+ .statstrip__item[data-status="xfailed"] .statstrip__value { color: var(--status-xfailed-fg); }
1936
+ .statstrip__item[data-status="xpassed"] .statstrip__value { color: var(--status-xpassed-fg); }
1937
+ .statstrip__item[data-status="running"] .statstrip__value { color: var(--status-running-fg); }
1938
+ .statstrip__label {
1939
+ font-size: var(--fs-3xs);
1940
+ font-weight: 600;
1941
+ letter-spacing: 0.02em;
1942
+ text-transform: uppercase;
1943
+ color: var(--text-subtle);
1944
+ }
1945
+
1946
+ /* The hero: the run's headline number, its donut and its counters, in the
1947
+ * proportions the eye reads first — number, shape, detail. */
1948
+ .hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-5); align-items: center; }
1949
+ .hero__figure { display: grid; gap: 4px; }
1950
+ .hero__value {
1951
+ font-size: 54px;
1952
+ line-height: 1;
1953
+ font-weight: 650;
1954
+ letter-spacing: -0.03em;
1955
+ font-variant-numeric: tabular-nums;
1956
+ }
1957
+ .hero__label {
1958
+ font-size: var(--fs-2xs);
1959
+ font-weight: 650;
1960
+ letter-spacing: 0.09em;
1961
+ text-transform: uppercase;
1962
+ color: var(--text-subtle);
1963
+ }
1964
+ .hero__meta { display: flex; flex-wrap: wrap; gap: 6px var(--sp-2); margin-top: var(--sp-3); }
1965
+ /* The donut keeps the size it was drawn at. Stretched to its column it was
1966
+ * the width of a phone, and its counters sat right on its edge. */
1967
+ .hero > .chart { width: 148px; }
1968
+ /* Air between the headline and the bar under it: the pills above it have
1969
+ * borders of their own, and with nothing between they read as one block. */
1970
+ .hero + .countbar { margin-top: var(--sp-2); }
1971
+ /* "1 in flight": a pill with a live dot, not a badge nested inside a pill. */
1972
+ .hero__pill--live::before {
1973
+ content: "";
1974
+ width: 7px;
1975
+ height: 7px;
1976
+ border-radius: 50%;
1977
+ background: var(--status-running);
1978
+ animation: pulse 1.6s var(--ease) infinite;
1979
+ }
1980
+ .hero__pill {
1981
+ display: inline-flex;
1982
+ align-items: center;
1983
+ gap: 6px;
1984
+ padding: 3px 10px;
1985
+ border-radius: var(--r-pill);
1986
+ background: var(--surface-2);
1987
+ border: 1px solid var(--border);
1988
+ color: var(--text-muted);
1989
+ font-size: var(--fs-xs);
1990
+ white-space: nowrap;
1991
+ }
1992
+ .card__icon { display: inline-flex; color: var(--text-subtle); }
1993
+
1994
+ /* ====================================================================== */
1995
+ /* Grids */
1996
+ /* ====================================================================== */
1997
+
1998
+ .grid { display: grid; gap: var(--sp-4); }
1999
+ .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
2000
+ .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
2001
+ .grid--sidebar { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
2002
+
2003
+ /* ====================================================================== */
2004
+ /* Filters */
2005
+ /* ====================================================================== */
2006
+
2007
+ /* One compact line of controls — labels inside the selects, no chips under
2008
+ * them — so the page reaches the timeline without scrolling. */
2009
+ .filters {
2010
+ background: var(--surface);
2011
+ border: 1px solid var(--border);
2012
+ border-radius: var(--r-lg);
2013
+ padding: var(--sp-2) var(--sp-3);
2014
+ box-shadow: var(--shadow-1);
2015
+ }
2016
+ .filters__row {
2017
+ display: flex;
2018
+ flex-wrap: wrap;
2019
+ gap: var(--sp-2);
2020
+ align-items: center;
2021
+ }
2022
+ .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
2023
+ .field__label {
2024
+ font-size: var(--fs-2xs);
2025
+ font-weight: 650;
2026
+ letter-spacing: 0.05em;
2027
+ text-transform: uppercase;
2028
+ color: var(--text-subtle);
2029
+ }
2030
+ .select, .input {
2031
+ appearance: none;
2032
+ min-width: 140px;
2033
+ max-width: 100%;
2034
+ padding: 8px 11px;
2035
+ border-radius: var(--r-control);
2036
+ border: 1px solid var(--border-strong);
2037
+ background: var(--surface);
2038
+ color: var(--text);
2039
+ font-size: var(--fs-sm);
2040
+ line-height: 1.4;
2041
+ }
2042
+ .select { padding-right: 26px; cursor: pointer; }
2043
+ .input::placeholder { color: var(--text-subtle); }
2044
+ .select:hover, .input:hover { border-color: var(--text-subtle); }
2045
+ /* A field shows focus in its own border, not with the ring buttons get: a text
2046
+ * field counts as focus-visible even when clicked, so the ring doubled every
2047
+ * field's outline the moment anyone typed. The caret marks a text field too. */
2048
+ .select:focus-visible, .input:focus-visible { outline: none; border-color: var(--text-subtle); }
2049
+ .field-holder { display: flex; min-width: 0; }
2050
+ .field--grow { flex: 1 1 220px; }
2051
+ .field--grow .input { width: 100%; }
2052
+ /* Pushed to the right edge of whichever line it lands on. */
2053
+ .filters__actions { display: flex; gap: var(--sp-2); align-items: center; margin-left: auto; }
2054
+ .filters__reset { color: var(--text-muted); }
2055
+
2056
+ /* An inline select: one bordered control holding its label and its value. */
2057
+ .field--inline {
2058
+ position: relative;
2059
+ flex-direction: row;
2060
+ align-items: center;
2061
+ gap: 0;
2062
+ padding-left: 10px;
2063
+ border: 1px solid var(--border-strong);
2064
+ border-radius: var(--r-control);
2065
+ background: var(--surface);
2066
+ transition: border-color 120ms var(--ease);
2067
+ }
2068
+ .field--inline:hover { border-color: var(--text-subtle); }
2069
+ .field--inline > .field__label {
2070
+ font-size: var(--fs-xs);
2071
+ font-weight: 550;
2072
+ letter-spacing: 0;
2073
+ text-transform: none;
2074
+ color: var(--text-subtle);
2075
+ white-space: nowrap;
2076
+ cursor: pointer;
2077
+ }
2078
+ .field--inline > .select {
2079
+ /* As wide as the value it shows — "All" — not as its longest option, which
2080
+ is what a native select measures; the cap is for browsers without it. */
2081
+ field-sizing: content;
2082
+ min-width: 0;
2083
+ max-width: 220px;
2084
+ padding: 5px 28px 5px 6px;
2085
+ border: 0;
2086
+ border-radius: var(--r-control);
2087
+ background: transparent;
2088
+ color: var(--text-muted);
2089
+ font-size: var(--fs-sm);
2090
+ }
2091
+ .field--inline[data-set="true"] > .select { color: var(--text); font-weight: 600; }
2092
+ /* The chevron: borders in a token colour, so it follows the theme. */
2093
+ .field--inline::after {
2094
+ content: "";
2095
+ position: absolute;
2096
+ right: 11px;
2097
+ top: 50%;
2098
+ width: 6px;
2099
+ height: 6px;
2100
+ border-right: 1.5px solid var(--text-subtle);
2101
+ border-bottom: 1.5px solid var(--text-subtle);
2102
+ transform: translateY(-70%) rotate(45deg);
2103
+ pointer-events: none;
2104
+ }
2105
+ /* Focus is shown on the whole control's border, like any field, and only to
2106
+ * the keyboard: a choice made with the pointer leaves nothing behind it. */
2107
+ .field--inline > .select:focus-visible { outline: none; }
2108
+ .field--inline:has(> .select:focus-visible) { border-color: var(--text-subtle); }
2109
+
2110
+ /* The open list of a select, drawn in the theme instead of by the OS: the
2111
+ * same panel as the header menu, the same rows as its items, and the chosen
2112
+ * one carries the accent check like the window picker's presets. Only
2113
+ * browsers that can style the list (`base-select`) take this; the others keep
2114
+ * the native list, which is what every browser showed before. It stays a real
2115
+ * <select>, so the keyboard, the form value and the change events are the
2116
+ * browser's own. */
2117
+ @supports (appearance: base-select) {
2118
+ .select,
2119
+ .select::picker(select) { appearance: base-select; }
2120
+ /* The closed control looks as it did: plain selects drew no arrow, and the
2121
+ * inline ones draw their own chevron. */
2122
+ .select::picker-icon { display: none; }
2123
+ .select::picker(select) {
2124
+ margin-block: var(--sp-1);
2125
+ padding: var(--sp-1);
2126
+ border: 1px solid var(--border);
2127
+ border-radius: var(--r-md);
2128
+ background: var(--surface);
2129
+ color: var(--text);
2130
+ box-shadow: var(--shadow-2);
2131
+ animation: menu-in 120ms var(--ease);
2132
+ }
2133
+ .select option {
2134
+ gap: 6px;
2135
+ padding: 7px var(--sp-2);
2136
+ border-radius: var(--r-control);
2137
+ color: var(--text-muted);
2138
+ font-size: var(--fs-sm);
2139
+ white-space: nowrap;
2140
+ cursor: pointer;
2141
+ }
2142
+ .select option:checked { background: none; color: var(--text); font-weight: 650; }
2143
+ .select option::checkmark { color: var(--accent); }
2144
+ .select option:hover { background: var(--surface-3); color: var(--text); }
2145
+ .select option:focus-visible {
2146
+ background: var(--surface-3);
2147
+ color: var(--text);
2148
+ outline: 2px solid var(--focus);
2149
+ outline-offset: -2px;
2150
+ }
2151
+ }
2152
+ .field--search { flex: 1 1 200px; max-width: 320px; }
2153
+ .field--search > .input { padding-top: 6px; padding-bottom: 6px; }
2154
+
2155
+
2156
+ /* segmented control ---------------------------------------------------- */
2157
+ .segmented {
2158
+ display: inline-flex;
2159
+ padding: 2px;
2160
+ gap: 2px;
2161
+ background: var(--surface-3);
2162
+ border: 1px solid var(--border);
2163
+ border-radius: var(--r-control);
2164
+ }
2165
+ .segmented button {
2166
+ border: 0;
2167
+ background: transparent;
2168
+ color: var(--text-muted);
2169
+ font-size: var(--fs-xs);
2170
+ font-weight: 600;
2171
+ padding: 4px 10px;
2172
+ border-radius: var(--r-control);
2173
+ cursor: pointer;
2174
+ }
2175
+ .segmented button[aria-pressed="true"] {
2176
+ background: var(--surface);
2177
+ color: var(--text);
2178
+ box-shadow: var(--shadow-1);
2179
+ }
2180
+
2181
+ /* window picker ---------------------------------------------------------- */
2182
+ /* The presets, then a small calendar button the same height as their track.
2183
+ * Idle it is part of the track's furniture; with a range set it is the
2184
+ * pressed one — and says the range, since no preset can. */
2185
+ .winpick {
2186
+ display: flex;
2187
+ flex-wrap: wrap;
2188
+ align-items: stretch;
2189
+ gap: var(--sp-2);
2190
+ }
2191
+ .winpick > .popover-anchor { align-items: stretch; }
2192
+ .winpick__custom {
2193
+ display: inline-flex;
2194
+ align-items: center;
2195
+ gap: 6px;
2196
+ min-height: 30px;
2197
+ padding: 0 9px;
2198
+ border: 1px solid var(--border);
2199
+ border-radius: var(--r-control);
2200
+ background: var(--surface-3);
2201
+ color: var(--text-muted);
2202
+ font: inherit;
2203
+ font-size: var(--fs-xs);
2204
+ font-weight: 600;
2205
+ cursor: pointer;
2206
+ transition: background 120ms var(--ease), color 120ms var(--ease), border-color 120ms var(--ease);
2207
+ }
2208
+ .winpick__custom:hover { color: var(--text); border-color: var(--border-strong); }
2209
+ .winpick__custom[aria-expanded="true"] { color: var(--text); border-color: var(--border-strong); }
2210
+ .winpick__custom[data-active="true"] {
2211
+ background: var(--surface);
2212
+ border-color: var(--accent-border);
2213
+ color: var(--text);
2214
+ box-shadow: var(--shadow-1);
2215
+ }
2216
+ .winpick__custom[data-active="true"] svg { color: var(--accent); }
2217
+ .winpick__custom svg { flex: none; }
2218
+ .winpick__range { white-space: nowrap; font-variant-numeric: tabular-nums; }
2219
+
2220
+ /* range picker ----------------------------------------------------------- */
2221
+ /* Quick ranges as a list beside one month calendar; the picked ends, with
2222
+ * optional times of day, underneath. `ui.rangePicker`. */
2223
+ .winpick__panel { width: 456px; padding: 0; }
2224
+ .rangepick__body { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
2225
+ .rangepick__presets {
2226
+ display: flex;
2227
+ flex-direction: column;
2228
+ gap: 2px;
2229
+ padding: var(--sp-3) var(--sp-2);
2230
+ border-right: 1px solid var(--border);
2231
+ }
2232
+ .rangepick__preset {
2233
+ display: flex;
2234
+ align-items: center;
2235
+ gap: 6px;
2236
+ padding: 6px 8px;
2237
+ border: 0;
2238
+ border-radius: var(--r-control);
2239
+ background: none;
2240
+ color: var(--text-muted);
2241
+ font: inherit;
2242
+ font-size: var(--fs-sm);
2243
+ text-align: left;
2244
+ white-space: nowrap;
2245
+ cursor: pointer;
2246
+ }
2247
+ /* Hover is a ghost wash; the selected range is the one with the check. */
2248
+ .rangepick__preset:hover { background: var(--surface-2); color: var(--text); }
2249
+ .rangepick__preset[aria-pressed="true"] { color: var(--text); font-weight: 650; }
2250
+ .rangepick__check { flex: none; color: var(--accent); visibility: hidden; }
2251
+ .rangepick__preset[aria-pressed="true"] .rangepick__check { visibility: visible; }
2252
+
2253
+ .cal { padding: var(--sp-3) var(--sp-4) var(--sp-2); }
2254
+ .cal__head {
2255
+ display: flex;
2256
+ align-items: center;
2257
+ justify-content: space-between;
2258
+ margin-bottom: var(--sp-2);
2259
+ }
2260
+ .cal__title { font-size: var(--fs-sm); font-weight: 650; color: var(--text); }
2261
+ .cal__nav {
2262
+ display: grid;
2263
+ place-items: center;
2264
+ width: 28px;
2265
+ height: 28px;
2266
+ padding: 0;
2267
+ border: 0;
2268
+ border-radius: var(--r-control);
2269
+ background: none;
2270
+ color: var(--text-muted);
2271
+ cursor: pointer;
2272
+ }
2273
+ .cal__nav:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
2274
+ .cal__nav:disabled { opacity: 0.3; cursor: default; }
2275
+ .cal__nav--prev svg { transform: scaleX(-1); }
2276
+ .cal__grid { display: grid; row-gap: 2px; }
2277
+ .cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
2278
+ .cal__dow {
2279
+ padding: 2px 0 6px;
2280
+ text-align: center;
2281
+ font-size: var(--fs-2xs);
2282
+ font-weight: 600;
2283
+ color: var(--text-subtle);
2284
+ }
2285
+ .cal__blank { height: 34px; }
2286
+ /* The cell carries the range band, edge to edge, so a week of it is one
2287
+ * continuous wash; the number sits in its own square on top. */
2288
+ .cal__day {
2289
+ display: grid;
2290
+ place-items: center;
2291
+ height: 34px;
2292
+ padding: 0;
2293
+ border: 0;
2294
+ background: none;
2295
+ color: var(--text);
2296
+ font: inherit;
2297
+ cursor: pointer;
2298
+ }
2299
+ .cal__num {
2300
+ display: grid;
2301
+ place-items: center;
2302
+ width: 32px;
2303
+ height: 32px;
2304
+ border-radius: var(--r-control);
2305
+ font-size: var(--fs-sm);
2306
+ font-variant-numeric: tabular-nums;
2307
+ transition: background 100ms var(--ease);
2308
+ }
2309
+ .cal__day:hover .cal__num { background: var(--surface-3); }
2310
+ .cal__day[data-today="true"] .cal__num { box-shadow: inset 0 0 0 1px var(--border-strong); font-weight: 650; }
2311
+ .cal__day[data-band="mid"] { background: var(--accent-soft); }
2312
+ .cal__day[data-band="start"] { background: linear-gradient(90deg, transparent 50%, var(--accent-soft) 50%); }
2313
+ .cal__day[data-band="end"] { background: linear-gradient(270deg, transparent 50%, var(--accent-soft) 50%); }
2314
+ /* While the second day is being chosen the band is a preview: lighter. */
2315
+ .cal__day[data-preview="true"][data-band="mid"] { background: var(--surface-2); }
2316
+ .cal__day[data-preview="true"][data-band="start"] { background: linear-gradient(90deg, transparent 50%, var(--surface-2) 50%); }
2317
+ .cal__day[data-preview="true"][data-band="end"] { background: linear-gradient(270deg, transparent 50%, var(--surface-2) 50%); }
2318
+ .cal__day[data-preview="true"][data-band="end"] .cal__num { box-shadow: inset 0 0 0 1px var(--accent); }
2319
+ .cal__day[data-edge="true"] .cal__num,
2320
+ .cal__day[data-edge="true"]:hover .cal__num {
2321
+ background: var(--accent);
2322
+ color: var(--text-on-accent);
2323
+ font-weight: 650;
2324
+ box-shadow: none;
2325
+ }
2326
+ .cal__day[aria-disabled="true"] { color: var(--text-subtle); cursor: default; }
2327
+ .cal__day[aria-disabled="true"] .cal__num { opacity: 0.45; }
2328
+ .cal__day[aria-disabled="true"]:hover .cal__num { background: none; }
2329
+ .cal__day:focus-visible { outline: none; }
2330
+ .cal__day:focus-visible .cal__num { outline: 2px solid var(--focus); outline-offset: 1px; }
2331
+
2332
+ .rangepick__foot {
2333
+ display: grid;
2334
+ gap: var(--sp-2);
2335
+ padding: var(--sp-3) var(--sp-4);
2336
+ border-top: 1px solid var(--border);
2337
+ }
2338
+ .rangepick__ends {
2339
+ display: grid;
2340
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
2341
+ align-items: center;
2342
+ gap: var(--sp-2);
2343
+ }
2344
+ .rangepick__arrow { color: var(--text-subtle); }
2345
+ .rangepick__end {
2346
+ display: flex;
2347
+ align-items: stretch;
2348
+ min-width: 0;
2349
+ border: 1px solid var(--border-strong);
2350
+ border-radius: var(--r-control);
2351
+ background: var(--surface);
2352
+ }
2353
+ .rangepick__date {
2354
+ display: grid;
2355
+ flex: 1 1 auto;
2356
+ min-width: 0;
2357
+ padding: 4px 8px;
2358
+ border: 0;
2359
+ border-radius: var(--r-control) 0 0 var(--r-control);
2360
+ background: none;
2361
+ color: inherit;
2362
+ font: inherit;
2363
+ text-align: left;
2364
+ cursor: pointer;
2365
+ }
2366
+ .rangepick__date:hover { background: var(--surface-2); }
2367
+ .rangepick__label {
2368
+ font-size: var(--fs-3xs);
2369
+ font-weight: 650;
2370
+ letter-spacing: 0.06em;
2371
+ text-transform: uppercase;
2372
+ color: var(--text-subtle);
2373
+ }
2374
+ /* The end the next click sets: its label in the accent, nothing louder. */
2375
+ .rangepick__end[data-active="true"] .rangepick__label { color: var(--accent-ink); }
2376
+ .rangepick__end[data-active="true"] { background: var(--surface-2); }
2377
+ .rangepick__value {
2378
+ overflow: hidden;
2379
+ font-size: var(--fs-sm);
2380
+ font-weight: 600;
2381
+ color: var(--text);
2382
+ white-space: nowrap;
2383
+ text-overflow: ellipsis;
2384
+ }
2385
+ .rangepick__time {
2386
+ flex: none;
2387
+ width: 88px;
2388
+ padding: 0 6px;
2389
+ border: 0;
2390
+ border-left: 1px solid var(--border);
2391
+ border-radius: 0 var(--r-control) var(--r-control) 0;
2392
+ background: transparent;
2393
+ color: var(--text);
2394
+ font: inherit;
2395
+ font-size: var(--fs-xs);
2396
+ font-variant-numeric: tabular-nums;
2397
+ }
2398
+ /* A field, so no ring: the browser highlights the segment being edited. */
2399
+ .rangepick__time:focus-visible { outline: none; }
2400
+ .rangepick__problem { margin: 0; font-size: var(--fs-xs); color: var(--status-failed-fg); }
2401
+ .rangepick__actions {
2402
+ display: flex;
2403
+ align-items: center;
2404
+ justify-content: space-between;
2405
+ gap: var(--sp-3);
2406
+ }
2407
+ .rangepick__meta { display: grid; min-width: 0; }
2408
+ .rangepick__summary {
2409
+ overflow: hidden;
2410
+ font-size: var(--fs-xs);
2411
+ font-weight: 600;
2412
+ color: var(--text);
2413
+ white-space: nowrap;
2414
+ text-overflow: ellipsis;
2415
+ }
2416
+ .rangepick__summary:empty { display: none; }
2417
+ .rangepick__zone {
2418
+ overflow: hidden;
2419
+ font-size: var(--fs-2xs);
2420
+ color: var(--text-subtle);
2421
+ white-space: nowrap;
2422
+ text-overflow: ellipsis;
2423
+ }
2424
+ .rangepick__buttons { display: flex; flex: none; gap: var(--sp-2); }
2425
+
2426
+ /* On a phone the list of ranges becomes a row of them over the calendar,
2427
+ * and the two ends stack. */
2428
+ @media (max-width: 640px) {
2429
+ .winpick__panel { width: calc(100vw - 2 * var(--sp-3)); }
2430
+ .rangepick__body { grid-template-columns: minmax(0, 1fr); }
2431
+ .rangepick__presets {
2432
+ flex-direction: row;
2433
+ flex-wrap: wrap;
2434
+ gap: 4px;
2435
+ padding: var(--sp-2) var(--sp-3);
2436
+ border-right: 0;
2437
+ border-bottom: 1px solid var(--border);
2438
+ }
2439
+ .rangepick__preset { padding: 4px 9px; border: 1px solid var(--border); font-size: var(--fs-xs); }
2440
+ .rangepick__preset[aria-pressed="true"] {
2441
+ background: var(--accent-soft);
2442
+ border-color: var(--accent-border);
2443
+ color: var(--accent-ink);
2444
+ }
2445
+ .rangepick__check { display: none; }
2446
+ .cal { padding: var(--sp-2) var(--sp-3); }
2447
+ .rangepick__foot { padding: var(--sp-3); }
2448
+ .rangepick__ends { grid-template-columns: minmax(0, 1fr); }
2449
+ .rangepick__arrow { display: none; }
2450
+ }
2451
+
2452
+ /* ====================================================================== */
2453
+ /* Tables */
2454
+ /* ====================================================================== */
2455
+
2456
+ .table-wrap {
2457
+ overflow-x: auto;
2458
+ border-radius: var(--r-lg);
2459
+ }
2460
+ .table {
2461
+ width: 100%;
2462
+ border-collapse: collapse;
2463
+ font-size: var(--fs-sm);
2464
+ }
2465
+ .table th, .table td {
2466
+ padding: 11px var(--sp-4);
2467
+ text-align: left;
2468
+ vertical-align: middle;
2469
+ border-bottom: 1px solid var(--border);
2470
+ }
2471
+ .table thead th {
2472
+ position: sticky;
2473
+ top: 0;
2474
+ z-index: 1;
2475
+ background: var(--surface-2);
2476
+ font-size: var(--fs-2xs);
2477
+ font-weight: 650;
2478
+ letter-spacing: 0.05em;
2479
+ text-transform: uppercase;
2480
+ color: var(--text-subtle);
2481
+ white-space: nowrap;
2482
+ padding: 8px var(--sp-4);
2483
+ }
2484
+ .table tbody tr { transition: background 100ms var(--ease); }
2485
+ .table tbody tr:hover { background: var(--surface-2); }
2486
+ .table tbody tr:last-child td { border-bottom: 0; }
2487
+ .table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
2488
+ .table .cell-main { font-weight: 550; color: var(--text); }
2489
+ .table .cell-sub { font-size: var(--fs-xs); color: var(--text-subtle); margin-top: 2px; }
2490
+ .table--rows tbody tr { cursor: pointer; }
2491
+ .table__sort {
2492
+ display: inline-flex; align-items: center; gap: 4px;
2493
+ border: 0; background: none; padding: 0;
2494
+ font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
2495
+ cursor: pointer;
2496
+ }
2497
+ .table__sort:hover { color: var(--text); }
2498
+ .table__sort::after { content: "\2195"; opacity: 0.35; font-size: var(--fs-2xs); }
2499
+ th[aria-sort="ascending"] .table__sort::after { content: "\2191"; opacity: 1; }
2500
+ th[aria-sort="descending"] .table__sort::after { content: "\2193"; opacity: 1; }
2501
+ th[aria-sort] .table__sort { color: var(--text); }
2502
+
2503
+ .pager {
2504
+ display: flex; align-items: center; justify-content: space-between;
2505
+ gap: var(--sp-3);
2506
+ padding: var(--sp-3) var(--sp-4);
2507
+ border-top: 1px solid var(--border);
2508
+ font-size: var(--fs-xs);
2509
+ color: var(--text-muted);
2510
+ }
2511
+ .pager__buttons { display: flex; gap: var(--sp-2); }
2512
+
2513
+ /* ====================================================================== */
2514
+ /* Suite tree */
2515
+ /* ====================================================================== */
2516
+
2517
+ .tree { list-style: none; margin: 0; padding: 0; }
2518
+ .tree__item { border-bottom: 1px solid var(--border); }
2519
+ .tree__item:last-child { border-bottom: 0; }
2520
+ .tree__row {
2521
+ display: flex;
2522
+ align-items: center;
2523
+ gap: var(--sp-3);
2524
+ width: 100%;
2525
+ padding: 11px var(--sp-4);
2526
+ border: 0;
2527
+ background: none;
2528
+ text-align: left;
2529
+ cursor: pointer;
2530
+ color: var(--text);
2531
+ }
2532
+ .tree__row:hover { background: var(--surface-2); }
2533
+ .tree__chevron {
2534
+ flex: none;
2535
+ width: 14px;
2536
+ color: var(--text-subtle);
2537
+ transition: transform 140ms var(--ease);
2538
+ }
2539
+ .tree__row[aria-expanded="true"] .tree__chevron { transform: rotate(90deg); }
2540
+ .tree__name { flex: 1 1 auto; min-width: 0; font-weight: 550; font-size: var(--fs-sm); }
2541
+ .tree__path { font-size: var(--fs-xs); color: var(--text-subtle); font-family: var(--font-mono); }
2542
+ .tree__meta { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
2543
+ .tree__children { list-style: none; margin: 0; padding: 0 0 var(--sp-2) 0; background: var(--surface-2); }
2544
+ .tree__leaf {
2545
+ display: flex; align-items: center; gap: var(--sp-3);
2546
+ padding: 6px var(--sp-4) 6px 42px;
2547
+ font-size: var(--fs-sm);
2548
+ }
2549
+ .tree__leaf a { flex: 1 1 auto; min-width: 0; }
2550
+
2551
+ /* ====================================================================== */
2552
+ /* Charts */
2553
+ /* ====================================================================== */
2554
+
2555
+ .chart { position: relative; width: 100%; }
2556
+ .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
2557
+ .chart svg:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
2558
+
2559
+ /* The bucket readout: value first and strong, its name after it, a short
2560
+ * stroke of the series colour as the key. */
2561
+ .chart__tip {
2562
+ position: absolute;
2563
+ z-index: 5;
2564
+ min-width: 132px;
2565
+ padding: 6px 10px;
2566
+ border: 1px solid var(--border);
2567
+ border-radius: var(--r-control);
2568
+ background: var(--surface);
2569
+ box-shadow: var(--shadow-2);
2570
+ color: var(--text-muted);
2571
+ font-size: var(--fs-xs);
2572
+ white-space: nowrap;
2573
+ pointer-events: none;
2574
+ }
2575
+ .chart__tip-title { margin-bottom: 2px; font-weight: 650; color: var(--text); }
2576
+ .chart__tip-row { display: flex; align-items: center; gap: 6px; line-height: 1.65; }
2577
+ .chart__tip-row strong { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
2578
+ .chart__tip-key { flex: none; width: 10px; height: 2px; border-radius: 1px; }
2579
+ .chart__tip-key[data-key="series"] { background: var(--chart-series); }
2580
+ .chart__tip-key[data-key="soft"] { height: 6px; background: var(--chart-series-soft); }
2581
+ .chart__tip-key[data-key="none"] { background: transparent; }
2582
+ .chart__empty {
2583
+ display: grid; place-items: center;
2584
+ min-height: 120px;
2585
+ color: var(--text-subtle);
2586
+ font-size: var(--fs-sm);
2587
+ }
2588
+ .sparkline { display: inline-block; width: 96px; height: 24px; vertical-align: middle; }
2589
+ .sparkline svg { display: block; width: 100%; height: 100%; }
2590
+
2591
+ /* status bars — one row per project, its latest run stacked to 100% -------
2592
+ * Three columns shared by every row, the legend row above them and the axis
2593
+ * below: label, bar, figure. The gridlines are one layer behind all the rows
2594
+ * rather than a background on each, so they run unbroken between the bars. */
2595
+ .sbars {
2596
+ /* Wide enough for a live badge and "Pull request · started 12 min ago". */
2597
+ --sbars-label: 240px;
2598
+ --sbars-figure: 76px;
2599
+ --sbars-gap: var(--sp-4);
2600
+ display: grid;
2601
+ gap: var(--sp-2);
2602
+ }
2603
+ /* The parts of this chart that come and go are given a display below, and an
2604
+ author `display` beats the browser's own `[hidden]` rule. */
2605
+ .sbars [hidden] { display: none !important; }
2606
+
2607
+ .sbars__top,
2608
+ .sbars__row {
2609
+ display: grid;
2610
+ grid-template-columns: var(--sbars-label) minmax(0, 1fr) var(--sbars-figure);
2611
+ column-gap: var(--sbars-gap);
2612
+ align-items: center;
2613
+ }
2614
+ .sbars__legend { grid-column: 1 / 3; }
2615
+ .sbars__caption {
2616
+ grid-column: 3;
2617
+ justify-self: end;
2618
+ font-size: var(--fs-2xs);
2619
+ color: var(--text-subtle);
2620
+ white-space: nowrap;
2621
+ }
2622
+
2623
+ .sbars__plot { position: relative; }
2624
+ .sbars__grid {
2625
+ position: absolute;
2626
+ top: 0;
2627
+ bottom: 0;
2628
+ left: calc(var(--sbars-label) + var(--sbars-gap));
2629
+ right: calc(var(--sbars-figure) + var(--sbars-gap));
2630
+ pointer-events: none;
2631
+ }
2632
+ .sbars__grid > span { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--chart-grid); }
2633
+ .sbars__grid > span:nth-child(2) { left: 25%; }
2634
+ .sbars__grid > span:nth-child(3) { left: 50%; }
2635
+ .sbars__grid > span:nth-child(4) { left: 75%; }
2636
+ .sbars__grid > span:nth-child(5) { left: auto; right: 0; }
2637
+
2638
+ /* Positioned, so it paints over the gridline layer before it in the source. */
2639
+ .sbars__rows { position: relative; list-style: none; margin: 0; padding: 0; }
2640
+ .sbars__row {
2641
+ /* The hover wash reaches a little past the text on both sides; the negative
2642
+ margin keeps the columns themselves where the grid and axis expect them. */
2643
+ margin: 0 calc(-1 * var(--sp-2));
2644
+ padding: 7px var(--sp-2);
2645
+ border-radius: var(--r-sm);
2646
+ transition: background 100ms var(--ease);
2647
+ }
2648
+ .sbars__row:hover,
2649
+ .sbars__row:focus-within { background: var(--surface-2); }
2650
+
2651
+ .sbars__label { display: grid; gap: 2px; min-width: 0; }
2652
+ .sbars__name {
2653
+ overflow: hidden;
2654
+ text-overflow: ellipsis;
2655
+ white-space: nowrap;
2656
+ font-size: var(--fs-sm);
2657
+ font-weight: 600;
2658
+ color: var(--text);
2659
+ }
2660
+ .sbars__sub {
2661
+ display: flex;
2662
+ align-items: center;
2663
+ gap: 6px;
2664
+ min-width: 0;
2665
+ font-size: var(--fs-2xs);
2666
+ color: var(--text-subtle);
2667
+ }
2668
+ .sbars__meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2669
+ .sbars__badge { display: inline-flex; flex: none; }
2670
+ .sbars__badge:empty { display: none; }
2671
+ .sbars__badge .livebadge { padding: 1px 7px 1px 6px; font-size: var(--fs-3xs); }
2672
+
2673
+ /* A thin mark: 14px, square at the baseline, rounded at the data end. The
2674
+ 2px between segments is the surface showing through, not a drawn border. */
2675
+ .sbars__bar {
2676
+ display: flex;
2677
+ gap: 2px;
2678
+ height: 14px;
2679
+ min-width: 0;
2680
+ overflow: hidden;
2681
+ border-radius: 0 4px 4px 0;
2682
+ background: var(--surface);
2683
+ }
2684
+ .sbars__bar--empty { background: var(--surface-3); }
2685
+ /* flex-grow carries the count; 2px is the least a status may be drawn, so a
2686
+ single failure among thousands of passes is still a visible red mark. */
2687
+ .sbars__seg { flex: 0 1 0; min-width: 2px; transition: flex-grow 600ms var(--ease); }
2688
+ .sbars__seg[data-status="passed"], .sbars__key[data-status="passed"] { background: var(--status-passed); }
2689
+ .sbars__seg[data-status="failed"], .sbars__key[data-status="failed"] { background: var(--status-failed); }
2690
+ .sbars__seg[data-status="skipped"], .sbars__key[data-status="skipped"] { background: var(--status-skipped); }
2691
+ .sbars__seg[data-status="error"], .sbars__key[data-status="error"] { background: var(--status-error); }
2692
+ .sbars__seg[data-status="xpassed"], .sbars__key[data-status="xpassed"] { background: var(--status-xpassed); }
2693
+ .sbars__seg[data-status="xfailed"], .sbars__key[data-status="xfailed"] { background: var(--status-xfailed); }
2694
+ .sbars__seg[data-status="other"], .sbars__key[data-status="other"] { background: var(--status-unknown); }
2695
+ .sbars__seg[data-status="running"], .sbars__key[data-status="running"] { background: var(--status-running); }
2696
+
2697
+ .sbars__figure {
2698
+ display: grid;
2699
+ justify-items: end;
2700
+ gap: 1px;
2701
+ font-variant-numeric: tabular-nums;
2702
+ white-space: nowrap;
2703
+ }
2704
+ .sbars__rate { font-size: var(--fs-sm); font-weight: 650; color: var(--text); }
2705
+ .sbars__total { font-size: var(--fs-2xs); color: var(--text-subtle); }
2706
+
2707
+ .sbars__axis {
2708
+ position: relative;
2709
+ height: 16px;
2710
+ margin-left: calc(var(--sbars-label) + var(--sbars-gap));
2711
+ margin-right: calc(var(--sbars-figure) + var(--sbars-gap));
2712
+ font-size: var(--fs-2xs);
2713
+ color: var(--chart-axis);
2714
+ font-variant-numeric: tabular-nums;
2715
+ }
2716
+ .sbars__axis > span { position: absolute; top: 0; transform: translateX(-50%); }
2717
+ .sbars__axis > span:nth-child(1) { left: 0; transform: none; }
2718
+ .sbars__axis > span:nth-child(2) { left: 25%; }
2719
+ .sbars__axis > span:nth-child(3) { left: 50%; }
2720
+ .sbars__axis > span:nth-child(4) { left: 75%; }
2721
+ .sbars__axis > span:nth-child(5) { left: 100%; transform: translateX(-100%); }
2722
+
2723
+ /* The readout. Never a target itself, or reaching for it would end the hover
2724
+ that opened it. */
2725
+ .sbars__tip {
2726
+ position: absolute;
2727
+ z-index: 2;
2728
+ top: 0;
2729
+ left: 0;
2730
+ min-width: 200px;
2731
+ max-width: 300px;
2732
+ padding: var(--sp-2) var(--sp-3);
2733
+ border: 1px solid var(--border);
2734
+ border-radius: var(--r-md);
2735
+ background: var(--surface);
2736
+ box-shadow: var(--shadow-2);
2737
+ font-size: var(--fs-xs);
2738
+ color: var(--text);
2739
+ pointer-events: none;
2740
+ }
2741
+ .sbars__tip-title { font-size: var(--fs-sm); font-weight: 650; overflow-wrap: anywhere; }
2742
+ .sbars__tip-sub { margin-top: 2px; color: var(--text-subtle); overflow-wrap: anywhere; }
2743
+ .sbars__tip-grid {
2744
+ display: grid;
2745
+ grid-template-columns: 12px auto minmax(0, 1fr) auto;
2746
+ align-items: center;
2747
+ gap: 4px var(--sp-2);
2748
+ margin-top: var(--sp-2);
2749
+ }
2750
+ /* A line key, not a box: at this density a filled square is a mark doing a
2751
+ label's job. */
2752
+ .sbars__key { height: 3px; border-radius: 2px; }
2753
+ .sbars__tip-value { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
2754
+ .sbars__tip-label { color: var(--text-muted); }
2755
+ .sbars__tip-share { color: var(--text-subtle); text-align: right; font-variant-numeric: tabular-nums; }
2756
+
2757
+ /* live timeline — every run as a bar on a clock that keeps moving ---------
2758
+ * A y-axis column and a plot side by side; the time labels sit under the plot
2759
+ * in a strip of the same width. Everything that moves is positioned by a
2760
+ * transform the script writes once a second, with a one-second linear
2761
+ * transition, so the motion is the compositor's work and not a redraw. */
2762
+ .tl {
2763
+ --tl-height: 220px;
2764
+ --tl-yaxis: 36px;
2765
+ --tl-gap: var(--sp-2);
2766
+ display: grid;
2767
+ gap: var(--sp-2);
2768
+ }
2769
+ .tl [hidden] { display: none !important; }
2770
+
2771
+ .tl__frame {
2772
+ position: relative;
2773
+ display: grid;
2774
+ grid-template-columns: var(--tl-yaxis) minmax(0, 1fr);
2775
+ column-gap: var(--tl-gap);
2776
+ }
2777
+ .tl__yaxis {
2778
+ position: relative;
2779
+ height: var(--tl-height);
2780
+ font-size: var(--fs-2xs);
2781
+ color: var(--chart-axis);
2782
+ font-variant-numeric: tabular-nums;
2783
+ }
2784
+ .tl__yaxis > span { position: absolute; right: 0; transform: translateY(50%); line-height: 1; }
2785
+ .tl__yaxis > span:first-child { transform: none; }
2786
+
2787
+ /* Clipped: bars enter at the right edge and leave at the left one. */
2788
+ .tl__plot {
2789
+ position: relative;
2790
+ height: var(--tl-height);
2791
+ overflow: hidden;
2792
+ border-bottom: 1px solid var(--border-strong);
2793
+ }
2794
+ .tl__hgrid > span,
2795
+ .tl__vgrid > span { position: absolute; background: var(--chart-grid); }
2796
+ .tl__hgrid > span { left: 0; right: 0; height: 1px; }
2797
+ .tl__vgrid > span { top: 0; bottom: 0; left: 0; width: 1px; }
2798
+ /* Positioned and later in the source, so the columns paint over the grid. */
2799
+ .tl__cols { position: absolute; inset: 0; }
2800
+
2801
+ /* One slot: the full height is the hover target, the bar sits at its foot. */
2802
+ .tl__col {
2803
+ position: absolute;
2804
+ top: 0;
2805
+ bottom: 0;
2806
+ left: 0;
2807
+ display: flex;
2808
+ flex-direction: column;
2809
+ justify-content: flex-end;
2810
+ align-items: center;
2811
+ gap: 4px;
2812
+ cursor: pointer;
2813
+ border-radius: var(--r-sm) var(--r-sm) 0 0;
2814
+ }
2815
+ .tl__col:hover,
2816
+ .tl__col:focus-visible { background: var(--surface-3); }
2817
+ .tl__col:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
2818
+
2819
+ /* A thin mark, square at the baseline and rounded at the data end; the 2px
2820
+ between statuses is the surface showing through, not a drawn border. */
2821
+ .tl__bar {
2822
+ display: flex;
2823
+ flex-direction: column-reverse;
2824
+ gap: 2px;
2825
+ flex: none;
2826
+ overflow: hidden;
2827
+ border-radius: 3px 3px 0 0;
2828
+ background: var(--surface);
2829
+ }
2830
+ .tl__seg { flex: 0 1 0; min-height: 1px; }
2831
+ .tl__seg[data-status="passed"] { background: var(--status-passed); }
2832
+ .tl__seg[data-status="failed"] { background: var(--status-failed); }
2833
+ .tl__seg[data-status="skipped"] { background: var(--status-skipped); }
2834
+ .tl__seg[data-status="error"] { background: var(--status-error); }
2835
+ .tl__seg[data-status="xpassed"] { background: var(--status-xpassed); }
2836
+ .tl__seg[data-status="xfailed"] { background: var(--status-xfailed); }
2837
+ .tl__seg[data-status="other"] { background: var(--status-unknown); }
2838
+ .tl__seg[data-status="running"] { background: var(--status-running); }
2839
+
2840
+ /* A slot with a run still going carries a pulsing dot above its bar. */
2841
+ .tl__dot { display: none; flex: none; width: 6px; height: 6px; border-radius: 50%; }
2842
+ .tl__col--live .tl__dot {
2843
+ display: block;
2844
+ background: var(--status-running);
2845
+ box-shadow: 0 0 0 0 var(--live-halo);
2846
+ animation: livepulse 2s var(--ease) infinite;
2847
+ }
2848
+
2849
+ .tl__col,
2850
+ .tl__vgrid > span,
2851
+ .tl__xaxis > span,
2852
+ .tl__now { transition: transform 1s linear; }
2853
+ .tl__bar { transition: height 500ms var(--ease); }
2854
+ /* The first draw, and the one after a hidden tab or a resize, jumps. */
2855
+ .tl--still .tl__col,
2856
+ .tl--still .tl__vgrid > span,
2857
+ .tl--still .tl__xaxis > span,
2858
+ .tl--still .tl__now { transition: none; }
2859
+
2860
+ .tl__now { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--border-strong); }
2861
+ .tl__now-label {
2862
+ position: absolute;
2863
+ top: 0;
2864
+ right: 4px;
2865
+ font-size: var(--fs-3xs);
2866
+ font-weight: 650;
2867
+ letter-spacing: 0.06em;
2868
+ text-transform: uppercase;
2869
+ color: var(--text-subtle);
2870
+ }
2871
+
2872
+ .tl__msg {
2873
+ position: absolute;
2874
+ inset: 0;
2875
+ display: grid;
2876
+ place-items: center;
2877
+ padding: 0 var(--sp-4);
2878
+ text-align: center;
2879
+ font-size: var(--fs-sm);
2880
+ color: var(--text-subtle);
2881
+ pointer-events: none;
2882
+ }
2883
+
2884
+ /* The clock labels slide across this strip and off its ends; the ends fade,
2885
+ * so a label leaving reads as leaving rather than as cut in half. */
2886
+ .tl__xaxis {
2887
+ position: relative;
2888
+ height: 16px;
2889
+ margin-left: calc(var(--tl-yaxis) + var(--tl-gap));
2890
+ overflow: hidden;
2891
+ -webkit-mask-image: linear-gradient(90deg, transparent, black 28px, black calc(100% - 28px), transparent);
2892
+ mask-image: linear-gradient(90deg, transparent, black 28px, black calc(100% - 28px), transparent);
2893
+ font-size: var(--fs-2xs);
2894
+ color: var(--chart-axis);
2895
+ font-variant-numeric: tabular-nums;
2896
+ white-space: nowrap;
2897
+ }
2898
+ .tl__xaxis > span { position: absolute; top: 0; left: 0; }
2899
+
2900
+ .tl__tip-runs { display: grid; gap: 2px; margin-top: var(--sp-2); }
2901
+ .tl__tip-run { color: var(--text-muted); overflow-wrap: anywhere; }
2902
+
2903
+ /* ====================================================================== */
2904
+ /* States: loading, empty, error, banner */
2905
+ /* ====================================================================== */
2906
+
2907
+ .skeleton {
2908
+ background: var(--skeleton-a);
2909
+ background-image: linear-gradient(90deg, var(--skeleton-a), var(--skeleton-b), var(--skeleton-a));
2910
+ background-size: 300% 100%;
2911
+ border-radius: var(--r-sm);
2912
+ animation: shimmer 1.4s linear infinite;
2913
+ }
2914
+ @keyframes shimmer {
2915
+ 0% { background-position: 100% 0; }
2916
+ 100% { background-position: -100% 0; }
2917
+ }
2918
+ .skeleton--text { height: 12px; margin: 6px 0; }
2919
+ .skeleton--title { max-width: 220px; height: 16px; }
2920
+ .skeleton--row { height: 40px; margin: 0 0 1px; border-radius: 0; }
2921
+ .skeleton--card { height: 96px; }
2922
+ .skeleton--chart { height: 220px; }
2923
+
2924
+ .empty, .errorbox {
2925
+ display: flex;
2926
+ flex-direction: column;
2927
+ align-items: center;
2928
+ gap: var(--sp-2);
2929
+ padding: var(--sp-6) var(--sp-4);
2930
+ text-align: center;
2931
+ color: var(--text-muted);
2932
+ }
2933
+ .empty__icon, .errorbox__icon {
2934
+ width: 44px; height: 44px;
2935
+ display: grid; place-items: center;
2936
+ border-radius: 50%;
2937
+ background: var(--surface-3);
2938
+ color: var(--text-subtle);
2939
+ margin-bottom: var(--sp-1);
2940
+ }
2941
+ .errorbox__icon { background: var(--status-failed-soft); color: var(--status-failed-fg); }
2942
+ .empty__title, .errorbox__title { font-size: var(--fs-md); font-weight: 600; color: var(--text); }
2943
+ .empty__hint, .errorbox__hint { font-size: var(--fs-sm); max-width: 46ch; color: var(--text-muted); }
2944
+ .errorbox__detail {
2945
+ font-family: var(--font-mono);
2946
+ font-size: var(--fs-xs);
2947
+ color: var(--text-subtle);
2948
+ max-width: 70ch;
2949
+ overflow-wrap: anywhere;
2950
+ }
2951
+
2952
+ .banner {
2953
+ display: flex;
2954
+ align-items: flex-start;
2955
+ gap: var(--sp-3);
2956
+ padding: 11px var(--sp-4);
2957
+ border-radius: var(--r-md);
2958
+ border: 1px solid var(--border);
2959
+ background: var(--surface-2);
2960
+ font-size: var(--fs-sm);
2961
+ color: var(--text-muted);
2962
+ margin-bottom: var(--sp-4);
2963
+ }
2964
+ .banner__title { font-weight: 600; color: var(--text); }
2965
+ /* A note, not a warning: these say what a page cannot show, which is
2966
+ information the reader needs and not a problem they have to act on. */
2967
+ .banner--info { background: var(--accent-soft); border-color: var(--accent-border); }
2968
+ .banner--info .banner__title { color: var(--accent-ink); }
2969
+ .banner--warn { background: var(--status-skipped-soft); border-color: var(--status-skipped-soft); }
2970
+ .banner--warn .banner__title { color: var(--status-skipped-fg); }
2971
+ .banner--error { background: var(--status-failed-soft); border-color: var(--status-failed-soft); }
2972
+ .banner--error .banner__title { color: var(--status-failed-fg); }
2973
+ .banner__actions { margin-left: auto; display: flex; gap: var(--sp-2); }
2974
+
2975
+ /* ====================================================================== */
2976
+ /* Run + test detail */
2977
+ /* ====================================================================== */
2978
+
2979
+ .metagrid {
2980
+ display: grid;
2981
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
2982
+ gap: var(--sp-4);
2983
+ }
2984
+ .metagrid__item { min-width: 0; }
2985
+ .metagrid__label {
2986
+ font-size: var(--fs-2xs); font-weight: 650; letter-spacing: 0.05em;
2987
+ text-transform: uppercase; color: var(--text-subtle);
2988
+ }
2989
+ .metagrid__value { margin-top: 2px; font-size: var(--fs-sm); overflow-wrap: anywhere; }
2990
+
2991
+ .compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--sp-4); }
2992
+ .compare__item { min-width: 0; }
2993
+ .compare__value { font-size: var(--fs-xl); font-weight: 640; font-variant-numeric: tabular-nums; }
2994
+ .compare__label { font-size: var(--fs-xs); color: var(--text-subtle); margin-top: 2px; }
2995
+
2996
+ .attempt { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
2997
+ .attempt + .attempt { margin-top: var(--sp-3); }
2998
+ .attempt__head {
2999
+ display: flex; align-items: center; gap: var(--sp-3);
3000
+ width: 100%;
3001
+ padding: 11px var(--sp-4);
3002
+ background: var(--surface-2);
3003
+ border: 0;
3004
+ cursor: pointer;
3005
+ text-align: left;
3006
+ color: var(--text);
3007
+ }
3008
+ .attempt__head:hover { background: var(--surface-3); }
3009
+ .attempt__n { font-weight: 650; font-size: var(--fs-sm); }
3010
+ .attempt__body { padding: var(--sp-4); display: grid; gap: var(--sp-4); }
3011
+ .attempt__spacer { flex: 1 1 auto; }
3012
+
3013
+ .history-strip { display: flex; flex-wrap: wrap; gap: 3px; }
3014
+ .history-strip a {
3015
+ width: 14px; height: 26px;
3016
+ border-radius: 3px;
3017
+ background: var(--status-unknown);
3018
+ display: block;
3019
+ }
3020
+ .history-strip a[data-status="passed"] { background: var(--status-passed); }
3021
+ .history-strip a[data-status="failed"] { background: var(--status-failed); }
3022
+ .history-strip a[data-status="error"] { background: var(--status-error); }
3023
+ .history-strip a[data-status="skipped"] { background: var(--status-skipped); }
3024
+ .history-strip a[data-status="xfailed"] { background: var(--status-xfailed); }
3025
+ .history-strip a[data-status="xpassed"] { background: var(--status-xpassed); }
3026
+ .history-strip a[data-status="running"] { background: var(--status-running); }
3027
+ .history-strip a:hover { outline: 2px solid var(--focus); outline-offset: 1px; }
3028
+
3029
+ .artifact-list { list-style: none; margin: 0; padding: 0; }
3030
+ .artifact-list li {
3031
+ display: flex; align-items: center; gap: var(--sp-3);
3032
+ padding: 8px var(--sp-4);
3033
+ border-bottom: 1px solid var(--border);
3034
+ font-size: var(--fs-sm);
3035
+ }
3036
+ .artifact-list li:last-child { border-bottom: 0; }
3037
+
3038
+ /* ====================================================================== */
3039
+ /* Evidence — the gallery, disclosures and step lists */
3040
+ /* ====================================================================== */
3041
+
3042
+ /* A button that has to look like the link it behaves like: it opens a panel on
3043
+ * this page rather than navigating, so it must not be an <a href="#">. */
3044
+ .linkbtn {
3045
+ border: 0;
3046
+ padding: 0;
3047
+ background: none;
3048
+ font: inherit;
3049
+ color: var(--accent);
3050
+ text-align: left;
3051
+ cursor: pointer;
3052
+ }
3053
+ .linkbtn:hover { text-decoration: underline; }
3054
+
3055
+ /* The screenshot gallery. `auto-fill` rather than a fixed column count: the
3056
+ * same page carries four captures and four hundred, and neither should be
3057
+ * stretched or crushed to fit a number chosen here. */
3058
+ .gallery {
3059
+ display: grid;
3060
+ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
3061
+ gap: var(--sp-4);
3062
+ }
3063
+ .shot { margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
3064
+ .shot__open { display: block; border-radius: var(--r-md); }
3065
+ .shot__open:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
3066
+ .shot__frame {
3067
+ display: grid;
3068
+ place-items: center;
3069
+ /* Fixed height, object-fit inside: a gallery whose rows jump around as each
3070
+ * image decodes is unreadable while it loads, and screenshots arrive in every
3071
+ * aspect ratio a CI runner can produce. */
3072
+ height: 150px;
3073
+ overflow: hidden;
3074
+ background: var(--surface-inset);
3075
+ border: 1px solid var(--border);
3076
+ border-radius: var(--r-md);
3077
+ }
3078
+ .shot__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
3079
+ .shot__fallback {
3080
+ display: grid;
3081
+ justify-items: center;
3082
+ gap: var(--sp-2);
3083
+ padding: var(--sp-3);
3084
+ color: var(--text-subtle);
3085
+ font-size: var(--fs-xs);
3086
+ text-align: center;
3087
+ }
3088
+ .shot__title { font-weight: 550; font-size: var(--fs-sm); overflow-wrap: anywhere; }
3089
+ .shot__meta { font-size: var(--fs-xs); color: var(--text-subtle); gap: var(--sp-2); }
3090
+
3091
+ /* Native <details>: the open/closed state is the browser's to keep, so there is
3092
+ * no view state here to lose on a live update. */
3093
+ .disclosure {
3094
+ border: 1px solid var(--border);
3095
+ border-radius: var(--r-md);
3096
+ background: var(--surface-2);
3097
+ }
3098
+ .disclosure__summary {
3099
+ display: flex;
3100
+ align-items: center;
3101
+ gap: var(--sp-2);
3102
+ padding: var(--sp-2) var(--sp-3);
3103
+ cursor: pointer;
3104
+ list-style: none;
3105
+ min-width: 0;
3106
+ }
3107
+ .disclosure__summary::-webkit-details-marker { display: none; }
3108
+ .disclosure__summary:hover { background: var(--surface-3); border-radius: var(--r-md); }
3109
+ .disclosure__summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
3110
+ .disclosure[open] > .disclosure__summary {
3111
+ border-bottom: 1px solid var(--border);
3112
+ border-radius: var(--r-md) var(--r-md) 0 0;
3113
+ }
3114
+ .disclosure__body { display: grid; gap: var(--sp-3); padding: var(--sp-3); min-width: 0; }
3115
+ /* A chevron for a disclosure that holds instructions rather than a row: it
3116
+ * turns to point down when open, like every other expander on the page. */
3117
+ .disclosure__chevron { display: inline-flex; color: var(--text-subtle); }
3118
+ .disclosure[open] > .disclosure__summary .disclosure__chevron { transform: rotate(90deg); }
3119
+ .disclosure__body > * { min-width: 0; }
3120
+
3121
+ /* Published steps. Numbered by the list itself — the numbers are the sequence,
3122
+ * which is the only thing a step list is for. */
3123
+ .steps { margin: 0; padding-left: var(--sp-5); display: grid; gap: var(--sp-1); }
3124
+ .steps__item { padding: 4px 0; }
3125
+ .steps__item::marker { color: var(--text-subtle); font-variant-numeric: tabular-nums; }
3126
+ .steps__name { margin-right: var(--sp-2); overflow-wrap: anywhere; }
3127
+
3128
+ /* `min-width: 0` on the children, or none of the internal scrollers below ever
3129
+ * scroll. A grid item's automatic minimum size is its MIN-CONTENT width, so a
3130
+ * card holding a nine-column table refuses to be narrower than that table, the
3131
+ * card pushes the grid, the grid pushes the page, and `.table-wrap { overflow-x:
3132
+ * auto }` never gets the chance to do its job. Every wide thing in this
3133
+ * stylesheet — tables, <pre> blocks, the nav bar on a phone — depends on this
3134
+ * one line to stay inside its own box.
3135
+ *
3136
+ * It applies to every grid that holds content of a width nobody controls: a
3137
+ * stack of cards, a row of tiles, a failure taxonomy whose rows are named after
3138
+ * whatever exception the framework raised. */
3139
+ .grid > *,
3140
+ .kpis > *,
3141
+ .stats > *,
3142
+ .taxonomy > *,
3143
+ .taxonomy__row > * { min-width: 0; }
3144
+ .stack { display: grid; gap: var(--sp-4); }
3145
+ .stack > * { min-width: 0; }
3146
+ /* A grid of its own: used without `.stack` — as it is on the Health card and
3147
+ * seven other places — a gap on a block box spaced nothing, and the count bar
3148
+ * sat against the pills above it and the counters below. */
3149
+ .stack--sm { display: grid; gap: var(--sp-3); }
3150
+ .stack--sm > * { min-width: 0; }
3151
+ .card { min-width: 0; }
3152
+ .row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
3153
+ .row--tight { gap: var(--sp-2); }
3154
+
3155
+ .footer {
3156
+ border-top: 1px solid var(--border);
3157
+ padding: var(--sp-4) 0;
3158
+ font-size: var(--fs-xs);
3159
+ color: var(--text-subtle);
3160
+ background: var(--surface);
3161
+ }
3162
+ .footer__inner { display: flex; gap: var(--sp-4); flex-wrap: wrap; justify-content: space-between; }
3163
+
3164
+ /* ====================================================================== */
3165
+ /* Responsive — a real small-screen layout, not a squashed desktop */
3166
+ /* ====================================================================== */
3167
+
3168
+ /* ----------------------------------------------------------------- help */
3169
+
3170
+ /* Topics on the left, the page on the right. The topic list stays in view
3171
+ while the page scrolls under it; under 860px it is a row of links above. */
3172
+ .help {
3173
+ display: grid;
3174
+ grid-template-columns: 210px minmax(0, 1fr);
3175
+ gap: var(--sp-5);
3176
+ align-items: start;
3177
+ }
3178
+ .helpnav { position: sticky; top: 80px; }
3179
+ .helpnav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
3180
+ .helpnav__link {
3181
+ display: flex;
3182
+ align-items: center;
3183
+ gap: var(--sp-2);
3184
+ padding: 7px var(--sp-3);
3185
+ border-radius: var(--r-md);
3186
+ color: var(--text-muted);
3187
+ font-size: var(--fs-sm);
3188
+ text-decoration: none;
3189
+ }
3190
+ .helpnav__link:hover { background: var(--surface-3); color: var(--text); }
3191
+ .helpnav__link[aria-current="true"] {
3192
+ background: var(--accent-soft);
3193
+ color: var(--accent-ink);
3194
+ font-weight: 600;
3195
+ }
3196
+ .helpnav__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
3197
+
3198
+ .helpcontent { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); min-width: 0; }
3199
+ /* Under the sticky header when a topic link scrolls a section into view. */
3200
+ .helpsection { scroll-margin-top: 80px; }
3201
+ /* minmax(0, 1fr), or one long path makes the column — and every line in it —
3202
+ as wide as the path. */
3203
+ .helpsection__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); overflow-wrap: anywhere; }
3204
+ .helplead { color: var(--text); font-size: var(--fs-md); line-height: 1.65; max-width: 76ch; overflow-wrap: anywhere; }
3205
+ .helpnote { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; max-width: 80ch; }
3206
+ .helpsub { margin: var(--sp-2) 0 0; color: var(--text); font-size: var(--fs-md); font-weight: 650; }
3207
+
3208
+ /* "On this server: …" — which of the instructions around it apply here. */
3209
+ .helpnow { display: flex; align-items: flex-start; gap: var(--sp-2); color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; overflow-wrap: anywhere; }
3210
+ .helpnow > span:last-child { min-width: 0; }
3211
+ .helpnow[hidden] { display: none; }
3212
+ .helpnow__dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--accent); }
3213
+
3214
+ /* Numbered steps, joined by a line from one number to the next. */
3215
+ .helpsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); counter-reset: helpstep; }
3216
+ .helpsteps__item { position: relative; min-width: 0; padding-left: 40px; counter-increment: helpstep; }
3217
+ .helpsteps__item::before {
3218
+ content: counter(helpstep);
3219
+ position: absolute;
3220
+ top: 0;
3221
+ left: 0;
3222
+ display: flex;
3223
+ align-items: center;
3224
+ justify-content: center;
3225
+ width: 26px;
3226
+ height: 26px;
3227
+ border: 1px solid var(--accent-border);
3228
+ border-radius: 50%;
3229
+ background: var(--accent-soft);
3230
+ color: var(--accent-ink);
3231
+ font-size: var(--fs-xs);
3232
+ font-weight: 650;
3233
+ font-variant-numeric: tabular-nums;
3234
+ }
3235
+ .helpsteps__item:not(:last-child)::after {
3236
+ content: "";
3237
+ position: absolute;
3238
+ top: 32px;
3239
+ bottom: calc(6px - var(--sp-4));
3240
+ left: 13px;
3241
+ width: 1px;
3242
+ background: var(--border-strong);
3243
+ }
3244
+ .helpsteps__title { color: var(--text); font-size: var(--fs-sm); font-weight: 600; line-height: 26px; }
3245
+ .helpsteps__body {
3246
+ display: grid;
3247
+ grid-template-columns: minmax(0, 1fr);
3248
+ gap: var(--sp-2);
3249
+ min-width: 0;
3250
+ margin-top: var(--sp-1);
3251
+ color: var(--text-muted);
3252
+ font-size: var(--fs-sm);
3253
+ line-height: 1.6;
3254
+ }
3255
+
3256
+ /* A command with a Copy button in its corner, and room kept for it. */
3257
+ .codeblock { position: relative; min-width: 0; }
3258
+ .codeblock__pre { margin: 0; padding-right: 92px; }
3259
+ .codeblock__copy {
3260
+ position: absolute;
3261
+ top: 7px;
3262
+ right: 7px;
3263
+ display: inline-flex;
3264
+ align-items: center;
3265
+ gap: 4px;
3266
+ padding: 3px 8px;
3267
+ border: 1px solid var(--border);
3268
+ border-radius: var(--r-control);
3269
+ background: var(--surface);
3270
+ color: var(--text-muted);
3271
+ font: inherit;
3272
+ font-size: var(--fs-2xs);
3273
+ cursor: pointer;
3274
+ }
3275
+ .codeblock__copy:hover { border-color: var(--border-strong); color: var(--text); }
3276
+ .codeblock__copy:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
3277
+
3278
+ .callout {
3279
+ display: flex;
3280
+ align-items: flex-start;
3281
+ gap: var(--sp-3);
3282
+ padding: var(--sp-3) var(--sp-4);
3283
+ border: 1px solid var(--border);
3284
+ border-radius: var(--r-md);
3285
+ background: var(--surface-2);
3286
+ color: var(--text);
3287
+ font-size: var(--fs-sm);
3288
+ line-height: 1.6;
3289
+ }
3290
+ .callout__icon { display: inline-flex; flex: none; margin-top: 3px; color: var(--text-subtle); }
3291
+ .callout__body { display: grid; gap: var(--sp-2); min-width: 0; }
3292
+ .callout--info { border-color: var(--accent-border); background: var(--accent-soft); }
3293
+ .callout--info .callout__icon { color: var(--accent-ink); }
3294
+ .callout--warn { border-color: var(--status-skipped-soft); background: var(--status-skipped-soft); }
3295
+ .callout--warn .callout__icon { color: var(--status-skipped-fg); }
3296
+
3297
+ kbd {
3298
+ padding: 1px 6px;
3299
+ border: 1px solid var(--border-strong);
3300
+ border-bottom-width: 2px;
3301
+ border-radius: var(--r-control);
3302
+ background: var(--surface);
3303
+ color: var(--text);
3304
+ font-family: var(--font-mono);
3305
+ font-size: var(--fs-2xs);
3306
+ }
3307
+
3308
+ .helpplatform { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
3309
+ .helpplatform__label {
3310
+ color: var(--text-subtle);
3311
+ font-size: var(--fs-2xs);
3312
+ font-weight: 600;
3313
+ letter-spacing: 0.06em;
3314
+ text-transform: uppercase;
3315
+ }
3316
+ .helppair { display: grid; gap: var(--sp-2); }
3317
+
3318
+ /* Messages people meet, each with what fixes it. */
3319
+ .helpfaq { display: grid; gap: var(--sp-3); }
3320
+ .helpfaq__item { overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-md); }
3321
+ .helpfaq__q {
3322
+ display: flex;
3323
+ align-items: flex-start;
3324
+ gap: var(--sp-2);
3325
+ padding: var(--sp-2) var(--sp-3);
3326
+ background: var(--surface-inset);
3327
+ color: var(--text);
3328
+ font-family: var(--font-mono);
3329
+ font-size: var(--fs-xs);
3330
+ overflow-wrap: anywhere;
3331
+ }
3332
+ .helpfaq__q svg { flex: none; margin-top: 2px; color: var(--status-failed-fg); }
3333
+ .helpfaq__a {
3334
+ display: grid;
3335
+ gap: var(--sp-2);
3336
+ padding: var(--sp-3);
3337
+ color: var(--text-muted);
3338
+ font-size: var(--fs-sm);
3339
+ line-height: 1.6;
3340
+ }
3341
+
3342
+ @media (max-width: 1080px) {
3343
+ .grid--sidebar, .grid--3 { grid-template-columns: minmax(0, 1fr); }
3344
+ .sbars { --sbars-label: 180px; }
3345
+ }
3346
+
3347
+ @media (max-width: 860px) {
3348
+ .container { padding: 0 var(--sp-4); }
3349
+ .grid--2 { grid-template-columns: minmax(0, 1fr); }
3350
+ /* The title keeps its row beside the status, and wraps rather than cut a
3351
+ run's or a test's name short — there is no hover on a phone to show what
3352
+ an ellipsis took. A header that can grow would eat the screen if it
3353
+ stuck, so here it scrolls away with the rail above it. */
3354
+ .topbar { position: static; }
3355
+ .topbar__inner { gap: var(--sp-3); padding-top: var(--sp-2); padding-bottom: var(--sp-2); }
3356
+ .topbar__title { align-items: flex-start; }
3357
+ /* Level with the first line of a title that wraps, not the middle of it. */
3358
+ .topbar__icon { margin-top: 4px; }
3359
+ .topbar__title h1 { flex-wrap: wrap; row-gap: 4px; }
3360
+ .topbar__title .page-head__name { white-space: normal; overflow-wrap: anywhere; }
3361
+ .brand__sub { display: none; }
3362
+
3363
+ /* Under 860px the rail is a header again: a permanent column would cost a
3364
+ * quarter of the viewport to show two links. */
3365
+ .shell { display: block; }
3366
+ .sidebar {
3367
+ position: static;
3368
+ width: auto;
3369
+ height: auto;
3370
+ overflow: visible;
3371
+ flex-direction: row;
3372
+ align-items: center;
3373
+ /* Two rows, not one. Nine links squeezed into whatever is left beside the
3374
+ brand is a 150px window onto a 1000px strip — technically scrollable and
3375
+ useless in practice. Wrapping gives the nav the full width of the phone
3376
+ and keeps the brand and the theme switch on the row above it. */
3377
+ flex-wrap: wrap;
3378
+ gap: var(--sp-2) var(--sp-3);
3379
+ padding: var(--sp-2) var(--sp-4);
3380
+ border-right: 0;
3381
+ border-bottom: 1px solid var(--rail-border);
3382
+ }
3383
+ .sidebar .brand { flex: none; }
3384
+ /* A bar has nothing to fold, so the toggle goes and the head is just the
3385
+ brand again. */
3386
+ .sidebar__head { flex: none; }
3387
+ .railtoggle { display: none; }
3388
+ .nav { order: 3; flex: 1 0 100%; }
3389
+ /* The groups collapse into one scrolling row of links. Their labels go: in a
3390
+ * horizontal bar a heading sits beside what it heads rather than above it,
3391
+ * which reads as another link. The grouping survives as the gap between
3392
+ * runs of links, which is what it was doing visually anyway. */
3393
+ /* `min-width: 0` again: the bar is a flex row, and without it the nav sizes
3394
+ itself to all nine links and takes the page with it instead of scrolling. */
3395
+ .nav { flex-direction: row; overflow-x: auto; gap: var(--sp-3); min-width: 0; }
3396
+ .nav__group { flex-direction: row; gap: 1px; }
3397
+ .nav__label { display: none; }
3398
+ /* The 16px rail size belongs to the vertical column, where nine words have
3399
+ a 180px lane to themselves. In the bar they compete for one row that
3400
+ already scrolls, so they drop back to body size. */
3401
+ .nav__link { padding: 6px 12px; font-size: var(--fs-md); }
3402
+ .nav__link[aria-current="page"]::before {
3403
+ top: auto;
3404
+ left: 8px;
3405
+ right: 8px;
3406
+ bottom: 0;
3407
+ width: auto;
3408
+ height: 2px;
3409
+ border-radius: 2px 2px 0 0;
3410
+ }
3411
+ /* In the bar there is no bottom to sit at: the switch goes to the far end. */
3412
+ .sidebar__foot { margin-top: 0; margin-left: auto; padding-top: 0; border-top: 0; }
3413
+ .switchrow { width: auto; }
3414
+ /* The rail lets the brand wrap so an export's title can sit under it; in the
3415
+ * bar there is no second line to wrap onto. */
3416
+ .brand { flex: none; flex-wrap: nowrap; padding-left: 0; }
3417
+ /* Two stacked bands on a phone: the rail's row and the status row. The
3418
+ * second one carries three controls, so it does not need a full header's
3419
+ * height as well. */
3420
+ .topbar__inner { min-height: 44px; }
3421
+ .headline { grid-template-columns: minmax(0, 1fr); }
3422
+ /* Number and donut side by side, the pills on a line of their own under
3423
+ * both: a phone's width split the other way left the pills four rows tall. */
3424
+ .hero {
3425
+ grid-template-columns: minmax(0, 1fr) auto;
3426
+ grid-template-areas: "value donut" "label donut" "meta meta";
3427
+ row-gap: 4px;
3428
+ column-gap: var(--sp-4);
3429
+ }
3430
+ .hero__figure { display: contents; }
3431
+ .hero__value { grid-area: value; align-self: end; }
3432
+ .hero__label { grid-area: label; align-self: start; }
3433
+ .hero__meta { grid-area: meta; margin-top: var(--sp-3); }
3434
+ .hero > .chart { grid-area: donut; width: 112px; }
3435
+ }
3436
+
3437
+ @media (max-width: 640px) {
3438
+ body { font-size: var(--fs-md); }
3439
+ .container { padding: 0 var(--sp-3); }
3440
+ .main { padding: var(--sp-4) 0 var(--sp-6); }
3441
+ .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
3442
+ .kpi { padding: var(--sp-3); }
3443
+ .kpi__value { font-size: var(--fs-2xl); }
3444
+ .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
3445
+ .stat { padding: var(--sp-3); }
3446
+ .stat__value { font-size: 26px; }
3447
+ .hero__value { font-size: 42px; }
3448
+ /* The meter is the first thing to go when a cell has to become a line of
3449
+ * text: the number it annotates is still there. */
3450
+ .meter { display: none; }
3451
+ /* A status bar's name goes above its bar instead of beside it, so the bar
3452
+ * keeps the phone's full width. The gridlines and the axis go: on a share
3453
+ * scale every bar spans the width anyway, and the figure says the rest. */
3454
+ .sbars__top, .sbars__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
3455
+ .sbars__legend { grid-column: 1; }
3456
+ .sbars__caption { grid-column: 2; }
3457
+ .sbars__label { grid-column: 1 / -1; }
3458
+ .sbars__grid, .sbars__axis { display: none; }
3459
+ .tl { --tl-height: 170px; --tl-yaxis: 28px; }
3460
+ .updated { display: none; }
3461
+ /* Four controls in one bar at 400px: the switch keeps its icon and track,
3462
+ * and `aria-label` carries the name the text was giving it. */
3463
+ .switchrow__label { display: none; }
3464
+ .filters__row { gap: var(--sp-2); }
3465
+ .field { flex: 1 1 140px; }
3466
+ .select, .input { min-width: 0; width: 100%; }
3467
+
3468
+ /* Tables become cards: each row is a stacked record with its own labels. */
3469
+ .table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
3470
+ .table--cards, .table--cards tbody, .table--cards tr, .table--cards td { display: block; width: 100%; }
3471
+ .table--cards tr {
3472
+ border: 1px solid var(--border);
3473
+ border-radius: var(--r-md);
3474
+ background: var(--surface);
3475
+ margin-bottom: var(--sp-2);
3476
+ padding: var(--sp-2) 0;
3477
+ }
3478
+ .table--cards td {
3479
+ display: flex;
3480
+ align-items: baseline;
3481
+ justify-content: space-between;
3482
+ gap: var(--sp-4);
3483
+ border: 0;
3484
+ padding: 4px var(--sp-3);
3485
+ text-align: right;
3486
+ }
3487
+ .table--cards td::before {
3488
+ content: attr(data-label);
3489
+ flex: none;
3490
+ font-size: var(--fs-2xs);
3491
+ font-weight: 650;
3492
+ letter-spacing: 0.05em;
3493
+ text-transform: uppercase;
3494
+ color: var(--text-subtle);
3495
+ text-align: left;
3496
+ }
3497
+ .table--cards td[data-label=""] { display: block; text-align: left; }
3498
+ .table--cards td[data-label=""]::before { content: none; }
3499
+ .table--cards td.num { text-align: right; }
3500
+
3501
+ /* Rows that are a single line on a laptop have to become two or three here
3502
+ rather than pushing the card sideways. Nothing in this dashboard scrolls
3503
+ horizontally except a table that genuinely cannot fit. */
3504
+ .card__head { flex-wrap: wrap; }
3505
+ .tree__row { flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); }
3506
+ .tree__meta { flex: 1 1 100%; justify-content: space-between; gap: var(--sp-2); }
3507
+ .tree__leaf { padding-left: var(--sp-4); flex-wrap: wrap; }
3508
+ .attempt__head { flex-wrap: wrap; }
3509
+ .attempt__spacer { display: none; }
3510
+ .pager { flex-wrap: wrap; }
3511
+ .page-head__actions { width: 100%; }
3512
+ .compare__value { font-size: var(--fs-xl); }
3513
+ }
3514
+
3515
+ @media (max-width: 380px) {
3516
+ .kpis, .stats { grid-template-columns: minmax(0, 1fr); }
3517
+ }
3518
+
3519
+ /* ====================================================================== */
3520
+ /* Motion */
3521
+ /* ====================================================================== */
3522
+
3523
+ @media (prefers-reduced-motion: reduce) {
3524
+ *, *::before, *::after {
3525
+ animation-duration: 0.001ms !important;
3526
+ animation-iteration-count: 1 !important;
3527
+ transition-duration: 0.001ms !important;
3528
+ scroll-behavior: auto !important;
3529
+ }
3530
+ .conn__dot, .livebadge::before, .statuspill[data-status="running"]::before, .arun__dot { opacity: 1; }
3531
+ .skeleton { background-image: none; }
3532
+ }
3533
+
3534
+ @media print {
3535
+ /* The activity panel goes with the rail: it is what is happening now,
3536
+ which a sheet of paper is not. */
3537
+ .sidebar, .activity, .filters, .pager { display: none; }
3538
+ /* The header holds the page's title now, so it prints — without the live
3539
+ status, which means nothing on paper. */
3540
+ .topbar { position: static; box-shadow: none; border-bottom: 0; }
3541
+ .topbar__meta { display: none; }
3542
+ .card { box-shadow: none; }
3543
+ }
3544
+
3545
+ /* The help page on narrow screens: topics become a row of links above it, and
3546
+ a command's Copy button keeps only its icon. */
3547
+ @media (max-width: 860px) {
3548
+ .help { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
3549
+ .helpnav { position: static; }
3550
+ .helpnav__list { display: flex; gap: var(--sp-1); overflow-x: auto; padding-bottom: 2px; }
3551
+ .helpnav__link { white-space: nowrap; }
3552
+ }
3553
+
3554
+ @media (max-width: 640px) {
3555
+ .helpsteps__item { padding-left: 34px; }
3556
+ /* The button keeps its icon and its spoken label; the visible word goes. */
3557
+ .codeblock__pre { padding-right: 46px; }
3558
+ .codeblock__copy { padding: 4px 6px; }
3559
+ .codeblock__copy span {
3560
+ position: absolute;
3561
+ width: 1px;
3562
+ height: 1px;
3563
+ overflow: hidden;
3564
+ clip: rect(0 0 0 0);
3565
+ white-space: nowrap;
3566
+ }
3567
+ }