Spaces:
Running on Zero

File size: 32,638 Bytes
c38a7c7
3428dda
 
 
 
 
 
 
 
 
 
 
 
c38a7c7
 
 
 
 
 
 
8dcd89f
 
c38a7c7
 
 
 
 
 
 
 
3428dda
c38a7c7
3428dda
c38a7c7
 
5c4d9b2
c38a7c7
 
 
5c4d9b2
c38a7c7
 
 
5c4d9b2
3428dda
c38a7c7
3428dda
c38a7c7
5c4d9b2
 
 
252e94e
 
 
 
 
c38a7c7
 
 
 
5c4d9b2
 
 
 
f42c079
 
 
5c4d9b2
 
 
f42c079
5c4d9b2
f42c079
afbc7f3
 
 
 
 
 
 
 
 
 
 
 
 
f42c079
 
 
 
 
 
afbc7f3
 
5c4d9b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f42c079
 
 
afbc7f3
c38a7c7
afbc7f3
 
3428dda
c38a7c7
afbc7f3
 
c38a7c7
 
 
 
 
3428dda
c38a7c7
 
c9e4526
 
c38a7c7
 
c9e4526
 
e7c60d3
c9e4526
 
3428dda
c9e4526
 
c38a7c7
 
 
 
 
 
c9e4526
 
 
 
 
 
c38a7c7
 
 
 
3428dda
 
 
 
d808dae
 
 
 
 
c9e4526
d808dae
c9e4526
 
 
 
 
 
 
 
 
d808dae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5c4d9b2
 
 
c38a7c7
5c4d9b2
c9e4526
 
5c4d9b2
 
 
c9e4526
 
 
 
 
 
5c4d9b2
 
c9e4526
 
 
 
 
5c4d9b2
 
 
 
 
 
 
 
 
f42c079
 
 
 
5c4d9b2
c38a7c7
 
 
5c4d9b2
 
 
c38a7c7
afbc7f3
8dcd89f
 
5c4d9b2
 
 
f42c079
5c4d9b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c9e4526
5c4d9b2
 
 
 
 
 
e7c60d3
5c4d9b2
 
 
 
 
 
8dcd89f
afbc7f3
c38a7c7
 
 
 
 
 
3428dda
c38a7c7
3428dda
c38a7c7
3428dda
c38a7c7
 
 
 
 
 
 
3428dda
c38a7c7
 
 
3428dda
c38a7c7
 
 
 
 
 
 
 
f42c079
c38a7c7
 
 
 
 
 
 
 
3428dda
c38a7c7
 
 
 
 
e7c60d3
 
 
 
c38a7c7
e7c60d3
 
 
 
5c4d9b2
c9e4526
 
 
 
 
 
 
c38a7c7
 
 
 
 
 
5c4d9b2
c38a7c7
5c4d9b2
 
c38a7c7
 
 
 
 
 
afbc7f3
8dcd89f
d808dae
c9e4526
 
 
 
 
 
 
c38a7c7
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
:root {
  color-scheme: light;
  --air: #f7f8f6;
  --panel: #ffffff;
  --deep: #f9fbfa;
  --line: #dbe4de;
  --control: #74887f;
  --ink: #182822;
  --dim: #4e615a;
  --green: #0f766e;
  --green-wash: #e5f3ed;
  --warm: #a74328;
  --warm-wash: #fff1e9;
  --mono: ui-monospace, 'JetBrains Mono', Consolas, monospace;
  font-family: Inter, system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--air);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button, a, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }
a { color: var(--green); }
p, h1, h2, h3, h4 { margin: 0; }
img, video { display: block; width: 100%; }
img { height: auto; }
video { background: var(--deep); border-radius: 8px; aspect-ratio: 1; }
button, details { border: 1px solid var(--line); border-radius: 7px; background: var(--deep); }
button { border-color: var(--control); }
button:not(:disabled):hover, button[aria-pressed='true'] { border-color: var(--green); }
.topbar, main, footer { width: min(1370px, calc(100% - clamp(28px, 7vw, 110px))); margin-inline: auto; }
.topbar { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.wordmark, .toplinks { display: flex; align-items: center; gap: 12px; }
.wordmark { font-weight: 680; letter-spacing: -.025em; line-height: 1.2; }
.wordmark svg { color: var(--green); flex: none; }
.wordmark small, .micro, .eyebrow, code, .pool-head, .inspect-head time, .comparison small, .signal, footer { font: 500 .72rem/1.35 var(--mono); letter-spacing: .08em; }
.wordmark small { display: block; margin-top: 4px; color: var(--dim); }
.toplinks a { text-decoration: none; font-size: .83rem; }
.toplinks button { padding: .45rem .7rem; min-height: 38px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .31fr); align-items: center; gap: clamp(14px, 4vw, 58px); margin-block: 16px 18px; padding: clamp(16px, 2.8vw, 40px); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 90% 15%, #e2efe8, var(--panel) 78%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0f766e13 1px, transparent 1px), linear-gradient(90deg, #0f766e13 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000); }
.eyebrow, .micro { color: var(--green); }
.signal { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #0f766e18; }
.dim { color: var(--dim); }
h1 { max-width: 19ch; margin: .21em 0 .17em; font-size: clamp(2.05rem, 4.7vw, 4.4rem); line-height: 1.04; letter-spacing: -.058em; text-wrap: balance; }
[lang='zh-CN'] h1 { max-width: 15em; font-size: clamp(1.95rem, 3.9vw, 3.75rem); letter-spacing: -.032em; }
.lede { max-width: 70ch; line-height: 1.48; color: var(--dim); text-wrap: pretty; }
.hero-index { display: grid; justify-items: start; gap: 8px; }
.inference-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 44px; border-radius: 7px; color: var(--panel); background: var(--green); font-size: .92rem; font-weight: 700; text-decoration: none; }
.inference-link:hover { background: #0c615a; }
.task-key p { color: var(--dim); font: .72rem/1.4 var(--mono); }
#trace-title { scroll-margin-block-start: 18px; }
.sectionbar { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; }
.sectionbar h2 { font-size: 1.05rem; letter-spacing: -.02em; }
.sectionbar code { color: var(--dim); }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.benchmarks .sectionbar { margin-bottom: 6px; }
.panel.benchmark { display: grid; grid-template-columns: auto repeat(2, minmax(0, 1fr)); gap: 0 clamp(14px, 3vw, 38px); align-items: baseline; padding-block: 9px; }
.benchmark h3 { font-size: .93rem; color: var(--green); }
.metric { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; padding-block: 4px; font-variant-numeric: tabular-nums; }
.metric small, .metric span { color: var(--dim); }
.metric strong { color: var(--ink); }
.metric b { color: var(--green); font: 600 .75rem var(--mono); }
.inference-heading { margin-top: clamp(21px, 2.6vw, 34px); }
.decision-lab { margin-top: clamp(30px, 4vw, 52px); }
.inference-heading h2, .decision-lab h2, .flow-section h2 { font-size: clamp(1.38rem, 2.4vw, 2rem); }
.story { margin-bottom: 14px; }
.flow-section { margin-bottom: 22px; scroll-margin-block-start: 18px; }
.story h3, .decision .sectionbar h3 { font-size: clamp(1.1rem, 2vw, 1.38rem); }
.decision-lab { margin-bottom: 26px; }
.task-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: -4px -4px 8px; }
.task-tabs button { position: relative; flex: 1 0 138px; min-width: 0; min-height: 81px; display: grid; align-content: start; gap: 4px; padding: 10px 12px; text-align: start; border-color: var(--line); background: var(--panel); }
.task-tabs button[aria-selected='true'] { background: var(--green-wash); border-color: var(--green); }
.task-tabs button[aria-selected='true']::after { content: ''; position: absolute; inset: auto 11px 4px; border-block-end: 2px solid var(--green); }
.task-tabs small { font: .7rem var(--mono); color: var(--green); }
.task-tabs strong { font-size: .88rem; line-height: 1.2; }
.task-tabs button > span { color: var(--dim); font-size: .71rem; }
.task-card { padding: clamp(14px, 2.2vw, 28px); }
.task-evidence { margin: 0 0 10px; }
.task-evidence .pair { margin-top: 8px; }
.task-evidence .frame { background: var(--deep); }
.task-evidence .frame img { max-width: 100%; }
.verify-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(12px, 2vw, 28px); }
.verify-grid > div { min-width: 0; }
.rank-jump { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; color: var(--dim); }
.rank-jump strong { font: 700 clamp(1.4rem, 3vw, 2.35rem)/1.15 var(--mono); color: var(--green); }
.explorer-pool { grid-auto-rows: min-content; }
.explorer-pool .slot { grid-template-columns: 20px minmax(0, 1fr) auto; }
.explorer-score { text-align: end; }
.explorer-verdict { margin: 10px 0 8px; color: var(--green); font-weight: 700; }
.mapping { color: var(--green); font: .72rem var(--mono); }
.caption-selection { padding-block: 14px 3px; }
.caption-selection h4 { font-size: 1.07rem; }
.caption-selection .sectionbar { margin-bottom: 7px; }
.caption-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.caption-grid > div { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--deep); }
.caption-grid .final-caption { border-color: #79a99d; background: var(--green-wash); }
.caption-grid p { font-size: .94rem; line-height: 1.42; overflow-wrap: anywhere; }
.caption-grid small, .caption-path dt { font: .67rem/1.35 var(--mono); color: var(--dim); }
.caption-grid span, .caption-links { font-size: .73rem; color: var(--dim); }
.caption-grid mark { background: #cce9da; color: #115346; font-weight: 750; }
.caption-path { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 8px 0; border-block: 1px solid var(--line); }
.caption-path > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; padding: 8px 5px; }
.caption-path > div:not(:first-child) { border-inline-start: 1px solid var(--line); }
.caption-path dd { margin: 0; font: 750 1rem/1 var(--mono); color: var(--green); }
.caption-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.caption-links a { min-height: 32px; display: inline-grid; align-items: center; }
.mapping { margin-block: 10px; }
.trace-link { display: inline-flex; align-items: center; min-height: 32px; font-size: .87rem; }
#load-error:empty { display: none; }
.case { display: grid; align-content: start; gap: 8px; text-align: start; padding: 8px; background: var(--panel); }
.case img { border-radius: 4px; }
.case-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.case-thumbs img { aspect-ratio: 1; }
.case[aria-pressed='true'] { background: var(--green-wash); box-shadow: inset 0 -2px var(--green); }
.case strong { display: block; font-size: .88rem; line-height: 1.25; }
.case small { display: block; font: .67rem var(--mono); color: var(--dim); margin-top: 4px; }
.case-thumbs small { margin-top: 2px; }
.lab { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.42fr); align-items: start; gap: 16px; margin-block: 18px 32px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: clamp(13px, 1.8vw, 24px); min-width: 0; }
.view-mode, .toolbar, .transport { display: flex; flex-wrap: wrap; gap: 7px; }
.view-mode { margin-bottom: 10px; }
.view-mode button, .transport button { min-height: 40px; padding: 6px 10px; font-size: .81rem; }
.view-mode button[aria-pressed='true'] { color: var(--green); background: var(--green-wash); }
.swipe, .frame { position: relative; overflow: hidden; border-radius: 8px; }
.swipe:has(input:focus-visible) { outline: 2px solid var(--warm); outline-offset: 3px; }
.swipe { isolation: isolate; background: var(--deep); }
.swipe input[type='range'] { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.swipe img, .frame img { aspect-ratio: 1; object-fit: contain; }
.after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.divider { position: absolute; inset: 0 auto 0 clamp(1px, var(--split), calc(100% - 1px)); width: 2px; transform: translateX(-50%); background: var(--panel); box-shadow: 0 0 0 1px #182822a6; pointer-events: none; }
.divider-grip { position: absolute; top: 50%; left: clamp(23px, var(--split), calc(100% - 23px)); display: grid; place-items: center; width: 44px; height: 44px; transform: translate(-50%, -50%); border: 2px solid var(--green); border-radius: 50%; color: var(--green); background: var(--panel); box-shadow: 0 2px 14px #1828225e; pointer-events: none; }
.divider-grip::before { content: ''; position: absolute; inset: 3px; border: 1px solid #3c80763b; border-radius: inherit; }
.swipe:focus-within .divider-grip, .swipe:hover .divider-grip { background: var(--green-wash); }
.swipe:has(input:focus-visible) .divider-grip { outline: 2px solid var(--panel); outline-offset: 3px; }
.t1, .t2, .frame span { position: absolute; top: 10px; background: var(--panel); border: 1px solid var(--control); color: var(--ink); border-radius: 5px; padding: 3px 7px; font: .82rem var(--mono); }
.swipe :is(.t1,.t2) { display: flex; align-items: baseline; gap: 6px; }
.swipe :is(.t1,.t2) span { color: var(--dim); font: 650 .69rem/1.25 system-ui,sans-serif; }
.t1, .frame span { left: 10px; }
.t2 { right: 10px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
.range-label { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: .84rem; }
output { color: var(--green); font: 600 .9rem var(--mono); }
input[type='range'] { width: 100%; min-height: 34px; margin: 0; accent-color: var(--green); cursor: pointer; }
.formula .beta-range { appearance: none; min-height: 40px; background: transparent; }
.beta-range::-webkit-slider-runnable-track { height: 7px; border-radius: 99px; background: linear-gradient(to right, var(--green) var(--fill, 60%), #80968b var(--fill, 60%)); }
.beta-range::-moz-range-track { height: 7px; border-radius: 99px; background: #80968b; }
.beta-range::-moz-range-progress { height: 7px; border-radius: 99px; background: var(--green); }
.beta-range::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; margin-top: -5.5px; border: 2px solid var(--green); border-radius: 50%; background: var(--panel); }
.beta-range::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--green); border-radius: 50%; background: var(--panel); }
.case-context { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 15px; }
.case-context h3 { font-size: 1.24rem; margin-block: 4px 6px; }
.case-context p, .explain { color: var(--dim); line-height: 1.55; font-size: .91rem; }
.toolbar { align-items: center; justify-content: space-between; }
#live { background: var(--green); border-color: var(--green); color: var(--panel); font-weight: 700; }
#live:not(:disabled):hover { background: #0c615a; }
.chip { font: .69rem var(--mono); border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; color: var(--green); background: var(--deep); }
.chip[data-source='live'] { color: var(--warm); border-color: var(--warm); background: var(--warm-wash); }
.live-monitor { margin-block: 12px; padding: clamp(10px, 1.4vw, 16px); border: 1px solid var(--line); border-radius: 9px; background-color: var(--deep); background-image: radial-gradient(#94b5a652 1px, transparent 1px); background-size: 14px 14px; }
.monitor-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 10px; }
.monitor-head h4 { color: var(--green); font: 700 .75rem/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.elapsed { color: var(--dim); font: .72rem/1.35 var(--mono); }
.elapsed time { color: var(--ink); font-weight: 700; }
.live-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 15px; list-style: none; margin: 0; padding: 0; }
.live-nodes li { position: relative; min-width: 0; min-height: 63px; display: grid; align-content: start; gap: 4px; border: 1px solid var(--line); border-radius: 7px; padding: 7px; background: var(--panel); overflow-wrap: anywhere; }
.live-nodes li:nth-child(4) { grid-area: 2 / 3; }
.live-nodes li:nth-child(5) { grid-area: 2 / 2; }
.live-nodes li:nth-child(6) { grid-area: 2 / 1; }
.monitor-edge { position: absolute; top: 16px; left: calc(100% + 1px); width: 15px; height: 2px; }
.live-nodes li:is(:nth-child(4),:nth-child(5)) .monitor-edge { left: auto; right: calc(100% + 1px); transform: scaleX(-1); }
.live-nodes li:nth-child(3) .monitor-edge { top: calc(100% + 1px); left: 50%; transform-origin: 0 50%; transform: rotate(90deg); width: 12px; }
.monitor-edge, .trace-entry-edge { background: #a9b7b0; }
.monitor-edge[data-active='true'], .trace-entry-edge[data-active='true'] { background: var(--green); }
.connector-pulse { display: none; position: absolute; inset: -1px 0; border-radius: 99px; background: linear-gradient(90deg, transparent, #4cddb0, transparent); pointer-events: none; }
.live-nodes li > div { display: flex; align-items: center; gap: 5px; }
.node-port { display: grid; place-items: center; flex: none; inline-size: 19px; block-size: 19px; border: 1px solid var(--line); border-radius: 5px; color: var(--dim); font: .65rem/1 var(--mono); }
.live-nodes strong { font-size: .77rem; line-height: 1.15; }
.live-nodes small { color: var(--dim); font-size: .69rem; line-height: 1.25; }
.node-timing { color: var(--dim); font: .65rem/1.25 var(--mono); }
.live-nodes [data-state='done'] { border-color: #8bb9a6; background: var(--green-wash); }
.live-nodes [data-state='done'] .node-port { background: var(--green); border-color: var(--green); color: var(--panel); }
.live-nodes [data-state='running'], .pipeline [data-state='running'] { opacity: 1; border-color: var(--green); background: var(--panel); outline: 2px solid #0f766e33; outline-offset: 1px; }
.live-nodes [data-state='running'] .node-port { color: var(--green); border-color: var(--green); background: var(--green-wash); }
.live-nodes [data-state='running'] small { color: var(--green); font-weight: 700; }
.live-nodes [data-state='skipped'], .live-nodes [data-state='direct'] { border-style: dashed; background: #eff1ef; color: var(--dim); }
.live-nodes [data-state='failed'] { border-color: var(--warm); background: var(--warm-wash); }
.monitor-status { min-height: 36px; margin-top: 8px; padding: 7px 9px; border-radius: 6px; background: var(--panel); }
.run-status { font-size: .8rem; line-height: 1.45; color: var(--dim); }
#live-progress { display: block; width: 100%; height: 4px; margin-top: 6px; accent-color: var(--green); }
.trace-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 24px); align-items: start; }
.pipeline { display: grid; border: 1px solid var(--line); border-radius: 10px; padding: clamp(8px, 1.4vw, 17px); background-color: var(--deep); background-image: radial-gradient(#c5d8cc 0.65px, transparent 0.65px); background-size: 11px 11px; }
.pipeline button { min-width: 0; width: 100%; min-height: 49px; padding: 8px; text-align: start; display: grid; align-content: center; gap: 4px; }
.pipeline small { font: .64rem/1.2 var(--mono); color: var(--dim); }
.pipeline strong { font-size: .84rem; line-height: 1.2; }
.trace-entry { display: grid; grid-template-columns: minmax(0,1fr) 10px minmax(0,1fr) 10px minmax(0,1fr); }
.trace-entry-edge { position: relative; align-self: center; height: 2px; }
.trace-gate, .trace-out { position: relative; justify-self: center; width: min(60%, 232px); }
.trace-split { display: block; width: 100%; height: 22px; }
.trace-split.trace-feed { height: 16px; }
.trace-edge { --wire: var(--green); --spark: #42c79c; }
.trace-edge[data-kind='change'] { --wire: var(--warm); --spark: #e38160; }
.trace-line, .trace-pulse { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.trace-line { stroke: #9caba4; stroke-dasharray: 3 4; stroke-width: 1.5; }
.trace-edge[data-active='true'] .trace-line { stroke: var(--wire); stroke-dasharray: none; stroke-width: 2; }
.trace-pulse { display: none; stroke: var(--spark); stroke-width: 4; stroke-dasharray: 23 100; }
.trace-branches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.trace-lane { min-width: 0; display: grid; grid-template-rows: auto auto auto; gap: 6px; padding: 6px; border: 1px dashed var(--control); border-radius: 8px; background: #f1f4f2; }
.trace-stage2 { display: grid; grid-template-rows: 12px auto; position: relative; }
.trace-stage2[data-bypass='true'] { padding: 0 17px 4px 0; }
.trace-split.trace-pool-feed { height: 12px; }
.trace-stage2[data-bypass='true'] .trace-pool-feed { opacity: 0; }
.trace-split.trace-bypass { position: absolute; height: 100%; right: 0; top: 0; width: 28px; overflow: visible; }
.trace-early { align-content: center; }
[data-route='early'] .trace-early { background: var(--green-wash); border: 1px solid var(--green); }
[data-route='change'] .trace-changed { background: var(--warm-wash); border: 1px solid var(--warm); }
[data-route='change'] .trace-changed button[data-state='done'] { background: #fff7f1; border-color: var(--warm); }
.trace-pool { display: grid; gap: 4px; }
.trace-terminal { display: flex; gap: 6px; align-items: baseline; padding: 6px; border: 1px dashed #b1c2b9; border-radius: 5px; background: var(--panel); color: var(--dim); font-size: .72rem; }
.trace-early .trace-terminal { display: grid; }
.trace-terminal[data-active='true'] { border: 1px solid currentColor; color: var(--green); }
.trace-changed .trace-terminal[data-active='true'] { color: var(--warm); }
.pipeline [data-state='done'] { border-color: var(--green); background: var(--green-wash); }
.pipeline [aria-current='step'] { box-shadow: inset 0 -3px var(--green); }
.pipeline [data-state='skipped'], .pipeline [data-state='direct'] { border-style: dashed; border-color: var(--line); color: var(--dim); background: #eff1ef; }
.pipeline [data-state='skipped'][aria-current='step'], .pipeline [data-state='direct'][aria-current='step'] { box-shadow: inset 0 -3px var(--control); }
.inspector { min-width: 0; padding: clamp(10px,1.4vw,18px); border: 1px solid var(--line); border-radius: 10px; background: var(--deep); }
.inspect-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.inspect-head h3 { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.13; margin-block: 4px 6px; letter-spacing: -.036em; }
.inspect-head time { color: var(--green); white-space: nowrap; }
.gate-readout { padding: 10px; border: 1px solid #8bb9a6; border-radius: 7px; background: var(--green-wash); }
.gate-readout[data-changed='true'] { border-color: #cf9b85; background: var(--warm-wash); }
.gate-readout > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 6px; color: var(--dim); }
.explain { margin-bottom: 13px; }
.task-card .probe-question { font-size: clamp(1.4rem, 3vw, 2.25rem); line-height: 1.14; letter-spacing: -.035em; margin-block: 0 8px; }
.protocol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-block: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--line); overflow: hidden; }
.protocol > div { display: grid; align-content: start; gap: 5px; background: var(--deep); padding: 10px; }
.protocol { margin-block-end: 0; }
.protocol dt { color: var(--green); font: .65rem/1.3 var(--mono); }
.protocol dd { margin: 0; color: var(--dim); font-size: .75rem; line-height: 1.35; overflow-wrap: anywhere; }
.story blockquote { margin: 12px 0; border-inline-start: 3px solid var(--green); background: var(--deep); padding: 9px 12px; line-height: 1.5; }
.probe-kicker, .list-score-type { margin-block: 0 7px; }
.state-scale, .verify-meter, .probe-stat, .order-comparison { padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--deep); }
.state-values, .state-tags, .verify-meter > div:first-child, .probe-stat { display: flex; justify-content: space-between; gap: 8px 12px; align-items: baseline; }
.state-values > div, .probe-stat > div { display: grid; gap: 4px; }
.state-values > div:last-child { text-align: end; color: var(--green); }
.state-values > div:first-child { color: var(--warm); }
.state-values strong, .verify-meter > strong { font: 700 clamp(1.6rem,3.5vw,2.7rem)/1.1 var(--mono); letter-spacing: -.06em; }
.state-values span, .state-tags, .probe-stat > span { font-size: .74rem; }
.state-tags { color: var(--dim); }
.state-tags span:last-child { text-align: end; }
.state-axis, .prob-track { display: flex; block-size: 9px; gap: 2px; margin-block: 9px; overflow: hidden; border-radius: 99px; background: #e1ebe5; }
.state-axis i:first-child { width: 7.6%; background: var(--warm); }
.state-axis i:last-child { flex: 1; background: var(--green); }
.probe-stat { flex-wrap: wrap; margin-top: 9px; }
.probe-stat small, .fixed-caption small, .verify-meter small { display: block; color: var(--dim); font: .68rem/1.3 var(--mono); }
.probe-stat strong { color: var(--green); font: 700 1.12rem/1.2 var(--mono); }
.fixed-caption small { margin-bottom: 4px; }
.evidence-stack { display: grid; }
.evidence-layer { grid-area: 1 / 1; opacity: 0; }
.evidence-layer[data-active='true'] { opacity: 1; }
.verify-meter { color: var(--green); }
.verify-meter[data-conflict='true'] { color: var(--warm); background: var(--warm-wash); }
.verify-meter b { padding: 3px 7px; border: 1px solid currentColor; border-radius: 99px; font-size: .76rem; }
.verify-meter .prob-track { margin-block-end: 0; }
.prob-track i { width: 100%; background: currentColor; transform: scaleX(var(--likelihood)); transform-origin: left; }
.probe-card-list { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.probe-beam { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; align-items: baseline; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--deep); }
.probe-beam p { grid-column: 1 / -1; overflow-wrap: anywhere; line-height: 1.42; }
.probe-beam strong { font: 700 .93rem/1.2 var(--mono); }
.probe-beam.probe-picked { border-color: var(--green); background: var(--green-wash); }
.probe-beam.probe-picked code, .probe-beam.probe-picked strong { color: var(--green); }
.probe-beam.probe-picked, .explorer-pool .winner { position: relative; z-index: 1; box-shadow: inset 3px 0 0 var(--green), 0 3px 9px #173b2e12; }
.probe-action { min-height: 40px; margin-block: 8px; padding: 6px 10px; color: var(--green); font-size: .84rem; font-weight: 700; }
.probe-action span { margin-inline-start: 4px; }
.order-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.order-comparison > div { display: grid; gap: 4px; color: var(--dim); font-size: .73rem; }
.order-comparison strong { font: 700 .92rem/1.2 var(--mono); }
.order-comparison[data-reversed='false'] > div:first-child, .order-comparison[data-reversed='true'] > div:last-child { color: var(--green); }
.pair-picker { margin-block: 12px; }
.case-options { margin-top: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 129px), 1fr)); }
.pool-head { display: flex; justify-content: space-between; gap: 8px; color: var(--dim); padding: 9px 5px; letter-spacing: .02em; }
.pool, .beam-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; max-height: 295px; overflow-y: auto; }
.slot { display: grid; grid-template-columns: 31px minmax(0,1fr) 62px; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--deep); padding: 7px 9px; font-size: .83rem; overflow-wrap: anywhere; }
.slot small { display: block; margin-top: 3px; color: var(--dim); font: .68rem/1.35 var(--mono); }
.slot code, .prob { color: var(--dim); }
.prob { text-align: end; font: .72rem var(--mono); font-variant-numeric: tabular-nums; }
.prob span { display: block; height: 3px; margin-top: 4px; border-radius: 2px; background: #cdded4; }
.prob span::before { content: ''; display: block; width: var(--p); height: 100%; background: var(--green); }
.winner { border-color: var(--green); background: var(--green-wash); }
.winner .prob, .winner code { color: var(--green); }
.warm { background: var(--warm-wash); border-color: var(--warm); }
.warm .prob, .warm code { color: var(--warm); }
.encoding { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,.75fr); gap: 12px; align-items: center; background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.feature-pair div { position: relative; }
.feature-pair b { position: absolute; bottom: 4px; left: 4px; padding: 2px 4px; background: var(--air); font: .72rem var(--mono); }
.flow-arrow { color: var(--green); }
.tensor { display: grid; justify-items: center; gap: 5px; text-align: center; }
.tensor i { width: 44px; aspect-ratio: 1; border: 1px solid var(--green); background: repeating-linear-gradient(transparent 0 7px,#78ab9d 7px 8px),repeating-linear-gradient(90deg,var(--green-wash) 0 7px,#78ab9d 7px 8px); transform: rotate(-10deg) skew(10deg); box-shadow: 4px 4px #a2c6b9, 8px 8px #c4ddd3; margin-bottom: 8px; }
.tensor small, .fine, .empty p { color: var(--dim); font-size: .78rem; line-height: 1.45; }
.fine { margin-top: 8px; }
.deck { position: relative; isolation: isolate; padding: 15px 10px 3px; margin-block: 12px; }
.deck i { position: absolute; z-index: -1; inset: 6px 28px 7px; border: 1px solid #a4c1b4; border-radius: 8px; background: var(--green-wash); transform: rotate(-1.25deg); }
.deck i:first-child { inset: 0 45px 7px; transform: rotate(1.5deg); }
.deck div, .comparison div { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--deep); }
.deck small { font: .72rem var(--mono); color: var(--green); }
.deck strong { font-size: 1rem; }
details { margin-top: 9px; padding: 8px 10px; }
summary { cursor: pointer; font-size: .8rem; color: var(--green); min-height: 22px; }
details p { color: var(--dim); line-height: 1.5; font-size: .85rem; padding-top: 6px; }
.beam-list li { display: flex; gap: 10px; padding-block: 5px; border-top: 1px solid var(--line); font-size: .84rem; }
.beam-list li small { color: var(--dim); margin-inline-start: auto; text-align: end; }
.eligible { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 9px 0; font-size: .8rem; color: var(--dim); }
.eligible span { margin-right: 5px; }
.eligible code { padding: 3px 4px; border: 1px dashed var(--line); border-radius: 3px; text-decoration: line-through; }
.eligible .kept { border-style: solid; color: var(--warm); text-decoration: none; }
.formula { padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--deep); }
.formula > code { color: var(--warm); letter-spacing: 0; }
.comparison { display: grid; gap: 7px; }
.comparison small { color: var(--dim); }
.comparison div:last-child { background: var(--green-wash); border-color: var(--green); }
.comparison div:last-child small { color: var(--green); }
.comparison p { font-size: .95rem; }
.empty { padding: 18px 12px; color: var(--dim); border-radius: 7px; background: var(--deep); border: 1px dashed var(--line); }
.empty h4 { color: var(--ink); margin-block: 4px 8px; }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--dim); padding-block: 16px 22px; }
:root { --rank-settle: cubic-bezier(.2,.88,.23,1); }
@supports (animation-timing-function: linear(0,1)) {
  :root { --rank-settle: linear(0,.14 8%,.43 18%,.73 29%,.94 41%,1.026 55%,1.018 68%,1 86%,1); }
}
@media (prefers-reduced-motion: no-preference) {
  .divider-grip { transition: transform .4s var(--rank-settle); }
  .swipe:has(input:active) .divider-grip { transform: translate(-50%, -50%) scale(.91); transition: transform .08s ease-out; }
  .probe-action { transition: transform .36s var(--rank-settle); }
  .probe-action:active { transform: translateY(1px) scale(.98); transition: transform .08s ease-out; }
  .deck > div, .comparison > div:last-child { animation: arrive .24s ease-out both; }
  .evidence-layer { transition: opacity .28s ease; }
  .prob-track i { transition: transform .32s ease; }
  .connector-pulse, .trace-pulse { display: block; animation-delay: var(--pulse-delay, 0ms); animation-duration: 720ms; animation-fill-mode: both; }
  .connector-pulse { animation-name: connector-pulse; }
  .trace-pulse { animation-name: trace-pulse; }
  @keyframes connector-pulse { from { opacity: 0; transform: scaleX(.3) translateX(-90%); } 30% { opacity: 1; } to { opacity: 0; transform: scaleX(.65) translateX(40%); } }
  @keyframes trace-pulse { from { stroke-dashoffset: 23; opacity: 0; } 22%, 75% { opacity: 1; } to { stroke-dashoffset: -100; opacity: 0; } }
  @keyframes arrive { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 960px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .hero, .lab, .verify-grid, .trace-layout, .panel.benchmark { grid-template-columns: minmax(0,1fr); }
  .hero { margin-top: 12px; }
  .benchmark h3 { margin-bottom: 3px; }
  .metric + .metric { border-top: 1px solid var(--line); }
  .swipe, video { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 390px) {
  .toplinks { gap: 6px; }
  .wordmark { font-size: .82rem; }
  .wordmark small, .toplinks a { font-size: .66rem; }
  .case { padding: 6px; gap: 6px; }
  .protocol > div { padding: 8px 6px; }
  .live-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-nodes li:nth-child(3) { grid-area: 2 / 2; }
  .live-nodes li:nth-child(4) { grid-area: 2 / 1; }
  .live-nodes li:nth-child(5) { grid-area: 3 / 1; }
  .live-nodes li:nth-child(6) { grid-area: 3 / 2; }
  .live-nodes li:nth-child(3) .monitor-edge { top: 16px; left: auto; right: calc(100% + 1px); width: 15px; transform-origin: center; transform: scaleX(-1); }
  .live-nodes li:is(:nth-child(2),:nth-child(4)) .monitor-edge { top: calc(100% + 1px); right: auto; left: 50%; transform-origin: 0 50%; transform: rotate(90deg); width: 12px; }
  .live-nodes li:nth-child(5) .monitor-edge { left: calc(100% + 1px); right: auto; transform: none; }
}