File size: 28,381 Bytes
0be8f22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  font-family: 'Manrope', system-ui, sans-serif;
  --bg: #080b0f;
  --panel: #10151b;
  --panel-2: #151b22;
  --panel-3: #0c1116;
  --line: #252d36;
  --line-soft: #1c232b;
  --text: #f5f7f8;
  --muted: #8996a3;
  --muted-2: #b1bbc4;
  --lime: #c9f66b;
  --cyan: #6dd7e8;
  --amber: #f2bc66;
  --red: #ff7676;
  --green: #72dfa5;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { min-width: 320px; min-height: 100vh; margin: 0; background:
  radial-gradient(circle at 20% -10%, rgba(109, 215, 232, .09), transparent 28rem),
  radial-gradient(circle at 85% 10%, rgba(201, 246, 107, .055), transparent 24rem),
  var(--bg); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
#app, .app { min-height: 100vh; }

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid rgba(71, 82, 94, .55);
  background: rgba(8, 11, 15, .88);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: 10px; }
.brand-cube { position: relative; width: 27px; height: 27px; display: block; transform: rotate(30deg); }
.brand-cube i { position: absolute; display: block; border: 1.5px solid var(--lime); background: rgba(201, 246, 107, .055); }
.brand-cube i:nth-child(1) { inset: 4px 9px 4px 1px; }
.brand-cube i:nth-child(2) { inset: 4px 1px 4px 17px; }
.brand-cube i:nth-child(3) { inset: 1px 5px 16px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.refresh-time { color: var(--muted); font-size: 10px; }
.live-indicator, .status-chip, .row-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}
.live-indicator i, .status-chip i, .row-status i, .state-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: none;
  border-radius: 50%;
  background: #6d7883;
}
.live-indicator i, .live i, .state-dot.live { background: var(--cyan); box-shadow: 0 0 0 4px rgba(109, 215, 232, .1); }
.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  cursor: pointer;
  font-size: 18px;
}
.icon-button:hover { border-color: #46535f; background: var(--panel-2); }

.page { width: min(1500px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 80px; }
.error-banner { margin-bottom: 20px; padding: 13px 15px; border: 1px solid rgba(255, 118, 118, .35); border-radius: 10px; background: rgba(255, 118, 118, .08); color: #ffaaaa; font-size: 12px; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 18px 0 40px; }
.kicker { margin: 0 0 9px; color: var(--lime); font: 500 9px 'DM Mono', monospace; letter-spacing: .16em; }
.page-heading h1, .detail-heading h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.01;
}
.page-heading h1 span { color: #7e8b96; }
.heading-copy { max-width: 650px; margin: 20px 0 0; color: var(--muted-2); font-size: 14px; line-height: 1.65; }
.corpus-badge {
  min-width: 210px;
  padding: 21px 23px;
  border: 1px solid rgba(201, 246, 107, .28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(201, 246, 107, .09), rgba(201, 246, 107, .015));
}
.corpus-badge span, .corpus-badge small { display: block; color: var(--muted); font-size: 10px; }
.corpus-badge strong { display: block; margin: 7px 0 3px; font-size: 27px; letter-spacing: -.04em; }

.overview-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 24px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.overview-grid article, .detail-metrics article, .task-score-grid article {
  min-width: 0;
  padding: 19px 20px;
  border-right: 1px solid var(--line);
}
.overview-grid article:last-child, .detail-metrics article:last-child, .task-score-grid article:last-child { border-right: 0; }
.overview-grid span, .detail-metrics span, .task-score-grid span, .detail-score span, .detail-score-pair span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.overview-grid strong, .detail-metrics strong, .task-score-grid strong { display: block; font-size: 25px; font-weight: 650; letter-spacing: -.035em; }
.overview-grid small, .detail-metrics small, .task-score-grid small, .detail-score small, .detail-score-pair small { display: block; margin-top: 6px; overflow: hidden; color: #778491; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.score-overview { background: linear-gradient(145deg, rgba(201, 246, 107, .07), transparent); }
.score-overview strong { color: var(--lime); }
.score-overview strong small { display: inline; margin-left: 3px; color: #788462; font-size: 11px; }
.score-overview.deterministic-score { background: linear-gradient(145deg, rgba(109, 215, 232, .07), transparent); }
.score-overview.deterministic-score strong { color: var(--cyan); }

.registry-panel, .task-panel, .inspector-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 21, 27, .9);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
  overflow: hidden;
}
.registry-heading { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.registry-heading .kicker { margin-bottom: 5px; }
.registry-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.registry-heading > span { color: var(--muted); font-size: 10px; }

.filter-bar { display: grid; grid-template-columns: minmax(260px, 1fr) 190px 230px; gap: 10px; padding: 13px; border-bottom: 1px solid var(--line); background: var(--panel-3); }
.filter-bar label { min-width: 0; display: grid; gap: 5px; }
.filter-bar label > span { padding-left: 2px; color: #6f7b86; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-bar input, .filter-bar select, .turn-controls select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #11171d;
  color: var(--text);
  font-size: 11px;
}
.filter-bar input:focus, .filter-bar select:focus, .turn-controls select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(109, 215, 232, .08); }

.benchmark-list { display: grid; }
.benchmark-row {
  width: 100%;
  min-height: 87px;
  display: grid;
  grid-template-columns: 92px minmax(280px, 2.2fr) minmax(150px, .9fr) 92px 112px 96px 92px 24px;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .14s, transform .14s;
}
.benchmark-row:last-child { border-bottom: 0; }
.benchmark-row:hover { background: rgba(109, 215, 232, .035); }
.benchmark-row:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.row-status.positive i, .status-chip.positive i, .state-dot.positive { background: var(--green); }
.row-status.negative i, .status-chip.negative i, .state-dot.negative { background: var(--red); }
.row-status.warning i, .status-chip.warning i, .state-dot.warning { background: var(--amber); }
.row-identity { min-width: 0; }
.row-identity strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.row-identity small, .row-result small, .row-coverage small, .row-cost small { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.row-progress > span { display: block; margin-bottom: 8px; color: var(--muted-2); font-size: 9px; }
.row-progress > span strong { color: var(--text); }
.row-progress > i { height: 4px; display: block; overflow: hidden; border-radius: 9px; background: #252d35; }
.row-progress > i b { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--lime)); }
.row-result strong, .row-coverage strong, .row-cost strong { display: block; font-size: 14px; font-weight: 650; }
.row-result strong { color: var(--lime); }
.row-result strong { font: 650 17px 'DM Mono', monospace; }
.row-deterministic-score strong { color: var(--cyan); }
.row-arrow { color: #596671; font-size: 18px; transition: transform .14s, color .14s; }
.benchmark-row:hover .row-arrow, .task-row:hover .row-arrow { color: var(--cyan); transform: translateX(3px); }

.empty-panel { min-height: 150px; display: grid; place-content: center; gap: 7px; padding: 30px; color: var(--muted); font-size: 12px; text-align: center; }
.empty-panel strong { color: var(--text); font-size: 14px; }
.back-button { margin-bottom: 22px; padding: 7px 0; border: 0; background: transparent; color: var(--muted-2); cursor: pointer; font-size: 11px; }
.back-button:hover { color: var(--lime); }

.detail-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.detail-heading h1 { max-width: 950px; margin-top: 14px; font-size: clamp(32px, 4vw, 55px); }
.detail-heading p { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font: 9px 'DM Mono', monospace; }
.status-chip { padding: 6px 9px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.detail-score { min-width: 190px; padding: 18px 20px; border-left: 1px solid var(--line); }
.detail-score strong { display: block; color: var(--lime); font-size: 45px; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.detail-score-pair { min-width: 370px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.detail-score-pair > div { min-width: 0; padding: 17px 18px; }
.detail-score-pair > div + div { border-left: 1px solid var(--line); }
.detail-score-pair strong { display: block; color: var(--lime); font-size: 35px; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.detail-score-pair .deterministic-score strong { color: var(--cyan); }

.detail-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.detail-metrics article { padding: 17px 16px; }
.detail-metrics strong { font-size: 20px; }
.coverage-strip { min-height: 60px; display: flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-3); }
.coverage-strip > div { min-width: 145px; padding: 0 8px; }
.coverage-strip > div span { display: block; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.coverage-strip > div strong { display: block; margin-top: 3px; font-size: 12px; }
.coverage-chip { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted-2); font-size: 9px; text-transform: capitalize; }
.coverage-chip.positive { border-color: rgba(114, 223, 165, .26); color: var(--green); }
.coverage-chip.warning { border-color: rgba(242, 188, 102, .28); color: var(--amber); }
.coverage-chip.negative { border-color: rgba(255, 118, 118, .26); color: var(--red); }
.coverage-chip.live { border-color: rgba(109, 215, 232, .26); color: var(--cyan); }
.corpus-split { margin-left: auto; padding: 0 8px; color: var(--muted); font: 9px 'DM Mono', monospace; }

.task-panel { margin-bottom: 24px; }
.task-filters { grid-template-columns: minmax(230px, 1fr) 150px 170px 190px; }
.task-table-head, .task-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.3fr) 100px 140px 76px 96px 105px 62px 72px 72px 20px;
  align-items: center;
  gap: 14px;
}
.task-table-head { min-height: 38px; padding: 0 17px; border-bottom: 1px solid var(--line); background: #0d1217; color: #697681; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.task-row {
  width: 100%;
  min-height: 67px;
  padding: 10px 17px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
  color: var(--muted-2);
  font-size: 10px;
  text-align: left;
}
.task-row:last-child { border-bottom: 0; }
.task-row:hover, .task-row.selected { background: rgba(109, 215, 232, .04); }
.task-row.selected { box-shadow: inset 3px 0 var(--cyan); }
.task-row.disabled { cursor: default; opacity: .52; }
.task-row > span { min-width: 0; }
.task-identity strong, .task-row > span > strong { display: block; color: var(--text); font-size: 10px; }
.task-identity small, .task-row > span > small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; text-transform: capitalize; }
.task-identity small b { margin-right: 4px; color: var(--cyan); }
.state-dot { margin-right: 7px; vertical-align: 1px; }
.outcome { color: var(--muted-2) !important; text-transform: capitalize; }
.outcome.positive, .task-score-grid strong.positive { color: var(--green) !important; }
.outcome.warning, .task-score-grid strong.warning { color: var(--amber) !important; }
.outcome.negative, .task-score-grid strong.negative { color: var(--red) !important; }
.outcome.live, .task-score-grid strong.live { color: var(--cyan) !important; }
.numeric-score { color: var(--lime); font: 650 17px 'DM Mono', monospace; letter-spacing: -.03em; }
.numeric-score.deterministic-score { color: var(--cyan); }
.component-mini { display: flex; gap: 6px; }
.component-mini small { margin: 0 !important; font-family: 'DM Mono', monospace; }

.inspector-panel { scroll-margin-top: 88px; }
.inspector-heading { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.inspector-heading .kicker { margin-bottom: 5px; }
.inspector-heading h2 { margin: 0; font-size: 22px; }
.inspector-heading p { margin: 6px 0 0; color: var(--muted); font-size: 10px; text-transform: capitalize; }
.inspector-actions { display: flex; align-items: center; gap: 8px; }
.button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: 10px; font-weight: 700; }
.button:hover { border-color: var(--cyan); }
.task-score-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--panel-3); }
.task-score-grid strong { font-size: 18px; text-transform: capitalize; }
.judge-results { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); background: var(--panel-3); }
.judge-result { min-width: 0; }
.judge-result + .judge-result { border-left: 1px solid var(--line); }
.judge-result > header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 19px; border-bottom: 1px solid var(--line-soft); }
.judge-result > header span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.judge-result > header > div:first-child strong { font-size: 13px; }
.judge-total { display: flex; align-items: baseline; gap: 4px; }
.judge-total strong { color: var(--lime); font-size: 32px; letter-spacing: -.05em; }
.deterministic-result .judge-total strong { color: var(--cyan); }
.judge-total small { color: var(--muted); font-size: 9px; }
.judge-result-body { padding: 14px 19px 16px; }
.judge-result-body > p { margin: 0 0 12px; color: var(--muted-2); font-size: 10px; font-weight: 700; text-transform: capitalize; }
.judge-result-body > p.positive { color: var(--green); }
.judge-result-body > p.warning { color: var(--amber); }
.judge-result-body > p.negative { color: var(--red); }
.judge-result-body > small { display: block; margin-top: 12px; color: var(--muted); font: 9px 'DM Mono', monospace; }
.judge-components { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line-soft); border-radius: 8px; background: #0b1015; }
.judge-components > div { min-width: 0; padding: 10px; border-right: 1px solid var(--line-soft); }
.judge-components > div:last-child { border-right: 0; }
.judge-components span { display: block; overflow: hidden; color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .05em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.judge-components strong { display: block; margin-top: 5px; font: 650 14px 'DM Mono', monospace; }
.judge-unavailable { min-height: 92px; display: grid; place-items: center; padding: 20px; color: var(--muted); font-size: 10px; }

.artifact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.artifact-grid figure, .turn-frame-grid figure { min-width: 0; margin: 0; background: #090d11; }
.artifact-grid figcaption { height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid var(--line-soft); font-size: 9px; }
.artifact-grid figcaption small { color: var(--muted); }
.artifact-grid figure > button, .turn-frame-grid figure > button { position: relative; width: 100%; height: 310px; display: block; overflow: hidden; padding: 0; border: 0; background: #050709; cursor: zoom-in; }
.artifact-grid img, .turn-frame-grid img { width: 100%; height: 100%; display: block; object-fit: contain; transition: opacity .18s; }
.artifact-grid img[data-load-state="retrying"], .turn-frame-grid img[data-load-state="retrying"], .lightbox img[data-load-state="retrying"] { opacity: .3; }
.artifact-grid img[data-load-state="failed"], .turn-frame-grid img[data-load-state="failed"], .lightbox img[data-load-state="failed"] { opacity: .08; }
.artifact-grid button:has(img[data-load-state="retrying"])::after, .turn-frame-grid button:has(img[data-load-state="retrying"])::after,
.artifact-grid button:has(img[data-load-state="failed"])::after, .turn-frame-grid button:has(img[data-load-state="failed"])::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font: 500 10px 'DM Mono', monospace;
  pointer-events: none;
}
.artifact-grid button:has(img[data-load-state="retrying"])::after, .turn-frame-grid button:has(img[data-load-state="retrying"])::after { content: 'Retrying image…'; }
.artifact-grid button:has(img[data-load-state="failed"])::after, .turn-frame-grid button:has(img[data-load-state="failed"])::after { content: 'Image unavailable · refresh to retry'; color: var(--red); }
.artifact-missing { height: 310px; display: grid; place-items: center; color: #56616c; font-size: 10px; }

.trace-section { background: #0d1217; }
.trace-section > header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.trace-section > header .kicker { margin-bottom: 4px; }
.trace-section h3 { margin: 0; font-size: 15px; }
.turn-controls { display: flex; align-items: center; gap: 6px; }
.turn-controls button { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); cursor: pointer; }
.turn-controls button:disabled { opacity: .3; cursor: default; }
.turn-controls select { width: 180px; height: 35px; }
.turn-frame-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.turn-frame-grid figcaption { height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; color: var(--muted-2); font-size: 9px; }
.turn-frame-grid figcaption small { overflow: hidden; color: var(--muted); font-family: var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.turn-frame-grid figure > button, .turn-frame-grid .artifact-missing { height: 360px; }

.action-list { display: grid; padding: 12px; }
.action-list article { display: grid; grid-template-columns: 24px minmax(180px, 1fr) minmax(160px, .7fr); align-items: center; gap: 12px; padding: 11px 10px; border-bottom: 1px solid var(--line-soft); }
.action-list article:last-child { border-bottom: 0; }
.action-list article > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font: 9px 'DM Mono', monospace; }
.action-list strong { display: block; font-size: 10px; text-transform: capitalize; }
.action-list p { margin: 4px 0 0; color: var(--muted-2); font-size: 10px; }
.action-list code { overflow: hidden; color: #74818c; font: 9px 'DM Mono', monospace; text-overflow: ellipsis; white-space: nowrap; }
.raw-details { border-top: 1px solid var(--line); }
.raw-details summary { padding: 13px 17px; color: var(--muted-2); cursor: pointer; font-size: 10px; }
.raw-details > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 13px 13px; }
pre { max-height: 380px; margin: 0; padding: 12px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #070a0d; color: #aebac4; font: 9px/1.55 'DM Mono', monospace; white-space: pre-wrap; word-break: break-word; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(2, 4, 6, .94); backdrop-filter: blur(15px); }
.lightbox > div { width: min(94vw, 1700px); height: min(92vh, 1100px); display: grid; grid-template-rows: 54px minmax(0, 1fr) 34px; border: 1px solid #394550; border-radius: 12px; overflow: hidden; background: #080c0f; box-shadow: 0 30px 100px rgba(0, 0, 0, .7); }
.lightbox header { display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); }
.lightbox header strong { font-size: 11px; }
.lightbox header button { border: 0; background: transparent; cursor: pointer; font-size: 24px; }
.lightbox img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: contain; background: #030506; }
.lightbox small { display: grid; place-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.lightbox-enter-active, .lightbox-leave-active { transition: opacity .16s; }
.lightbox-enter-from, .lightbox-leave-to { opacity: 0; }

@media (max-width: 1200px) {
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
  .overview-grid article:nth-child(3) { border-right: 0; }
  .overview-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
  .benchmark-row { grid-template-columns: 85px minmax(250px, 2fr) minmax(135px, 1fr) 82px 98px 80px 20px; }
  .row-coverage { display: none; }
  .detail-metrics { grid-template-columns: repeat(3, 1fr); }
  .detail-metrics article:nth-child(3) { border-right: 0; }
  .detail-metrics article:nth-child(n+4) { border-top: 1px solid var(--line); }
  .task-table-head, .task-row { grid-template-columns: minmax(150px, 1.3fr) 90px 130px 68px 80px 85px 60px 70px 18px; }
  .task-table-head > span:nth-child(8), .task-row > span:nth-child(8) { display: none; }
  .task-score-grid { grid-template-columns: repeat(3, 1fr); }
  .task-score-grid article:nth-child(3) { border-right: 0; }
  .task-score-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .app-header { padding: 0 16px; }
  .refresh-time { display: none; }
  .page { width: min(100% - 28px, 720px); padding-top: 28px; }
  .page-heading, .detail-heading { align-items: flex-start; flex-direction: column; }
  .corpus-badge { width: 100%; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .overview-grid article { border-top: 1px solid var(--line); }
  .overview-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
  .overview-grid article:nth-child(even) { border-right: 0; }
  .overview-grid article:first-child, .overview-grid article:nth-child(2) { border-top: 0; }
  .filter-bar, .task-filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .benchmark-row { grid-template-columns: 82px minmax(0, 1fr) 62px 72px 20px; gap: 12px; }
  .row-progress, .row-coverage, .row-cost { display: none; }
  .detail-score { width: 100%; border-top: 1px solid var(--line); border-left: 0; }
  .detail-score-pair { width: 100%; min-width: 0; }
  .detail-metrics { grid-template-columns: 1fr 1fr; }
  .detail-metrics article { border-top: 1px solid var(--line); }
  .detail-metrics article:nth-child(odd) { border-right: 1px solid var(--line); }
  .detail-metrics article:nth-child(even) { border-right: 0; }
  .detail-metrics article:first-child, .detail-metrics article:nth-child(2) { border-top: 0; }
  .coverage-strip { flex-wrap: wrap; }
  .corpus-split { width: 100%; margin: 5px 0 0; }
  .task-table-head { display: none; }
  .task-row { grid-template-columns: minmax(130px, 1fr) 100px 58px 68px 18px; gap: 10px; padding: 12px 14px; }
  .task-row > span:nth-child(2), .task-row > span:nth-child(6), .task-row > span:nth-child(7), .task-row > span:nth-child(8), .task-row > span:nth-child(9) { display: none; }
  .artifact-grid, .turn-frame-grid { grid-template-columns: 1fr; }
  .judge-results { grid-template-columns: 1fr; }
  .judge-result + .judge-result { border-top: 1px solid var(--line); border-left: 0; }
  .artifact-grid figure > button, .artifact-missing { height: 280px; }
  .turn-frame-grid figure > button, .turn-frame-grid .artifact-missing { height: 280px; }
  .raw-details > div { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .brand small, .live-indicator { display: none; }
  .page-heading h1 { font-size: 38px; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-grid article { border-right: 0 !important; border-top: 1px solid var(--line) !important; }
  .overview-grid article:first-child { border-top: 0 !important; }
  .filter-bar, .task-filters { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .benchmark-row { grid-template-columns: 68px minmax(0, 1fr) 52px 60px 18px; gap: 8px; }
  .row-result strong { font-size: 14px; }
  .row-result small { font-size: 7px; }
  .detail-metrics, .task-score-grid { grid-template-columns: 1fr 1fr; }
  .detail-score-pair { grid-template-columns: 1fr; }
  .detail-score-pair > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .judge-components { grid-template-columns: 1fr 1fr; }
  .judge-components > div:nth-child(2) { border-right: 0; }
  .judge-components > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .detail-metrics article, .task-score-grid article { border-top: 1px solid var(--line); }
  .detail-metrics article:nth-child(odd), .task-score-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
  .detail-metrics article:nth-child(even), .task-score-grid article:nth-child(even) { border-right: 0; }
  .detail-metrics article:first-child, .detail-metrics article:nth-child(2), .task-score-grid article:first-child, .task-score-grid article:nth-child(2) { border-top: 0; }
  .inspector-heading { align-items: flex-start; }
  .action-list article { grid-template-columns: 24px 1fr; }
  .action-list code { grid-column: 2; }
}