File size: 16,717 Bytes
a39d07d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Run explorer (markup: inversion/explorer.py, behaviour: app/explorer.js). Colors come from the --pre-* tokens. */
:root{--pre-subtle:#FAFBFC;--pre-input-line:#D3D7DE;--pre-neutral-bg:#EEF0F3;--pre-neutral-fg:#3F4552;
  --pre-accent-strong:#1E4297;--pre-pass-fill:#1F8A5B;--pre-pass-line:#BFE3CF;--pre-pass-tint:#F7FCF9;
  --pre-warn-fill:#C2570C;--pre-warn-line:#F0C9A6;--pre-warn-tint:#FFFAF5;--pre-solid:#2B59C3;--pre-info-bg:#EAF0FC}
.dark{--pre-subtle:#1C2027;--pre-input-line:#3A404B;--pre-neutral-bg:#262B33;--pre-neutral-fg:#C5CAD3;
  --pre-accent-strong:#A9C1F5;--pre-pass-fill:#3FAF7A;--pre-pass-line:#24533F;--pre-pass-tint:#13261E;
  --pre-warn-fill:#E08A45;--pre-warn-line:#5A3A1E;--pre-warn-tint:#271B11;--pre-solid:#2B59C3;--pre-info-bg:#1D2A45}

.pre-hint{font-size:12px;color:var(--pre-muted);text-align:center;margin:-4px 0 0}

.pre-x{display:flex;flex-direction:column;gap:16px;color:var(--pre-text);font-size:14px;line-height:1.5}
.pre-x [hidden]{display:none !important}
.pre-x .mono{font-family:var(--font-mono)}
.pre-x .muted{color:var(--pre-muted)}
.pre-x h2,.pre-x h3,.pre-x p{margin:0}
.pre-x button:focus-visible,.pre-x a:focus-visible{outline:2px solid var(--pre-accent);outline-offset:2px}

/* header: status, controls, navigator */
.pre-x-head,.pre-x-stage{background:var(--pre-card);border:1px solid var(--pre-line);border-radius:12px}
.pre-x-head{padding:18px 24px 16px;display:flex;flex-direction:column;gap:16px}
.pre-x-headrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.pre-x-headstatus{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0}
.pre-x-status{color:var(--pre-muted)}
.pre-x-pulse{width:7px;height:7px;border-radius:999px;background:currentColor;animation:pre-pulse 1.2s ease-in-out infinite}
.pre-x-controls{display:flex;align-items:center;gap:8px}
.pre-x-counter{font-size:12px;color:var(--pre-muted);margin-right:4px}
.pre-x-icon,.pre-x-play{height:44px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--pre-input-line);border-radius:8px;background:var(--pre-card);color:var(--pre-text);cursor:pointer}
.pre-x-icon{width:44px}
.pre-x-icon:disabled{opacity:.4;cursor:default}
.pre-x-play{min-width:104px;gap:8px;padding:0 14px;font-size:13px;font-weight:600}
.pre-x-play .i-pause,.pre-x-play .i-play,.pre-x-play .i-replay{display:none;line-height:0}
.pre-x-play[data-state="pause"] .i-pause,.pre-x-play[data-state="play"] .i-play,
.pre-x-play[data-state="replay"] .i-replay{display:inline-flex}

.pre-x-nav{overflow-x:auto}
.pre-x-groups{display:flex;gap:20px;min-width:640px}
.pre-x-group{display:flex;flex-direction:column;gap:6px;min-width:0}
.pre-x-glabel{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--pre-muted)}
.pre-x-group.active .pre-x-glabel{color:var(--pre-accent)}
.pre-x-group ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pre-x-group li{margin:0;min-width:0}
.pre-x-step{display:flex;flex-direction:column;gap:6px;width:100%;min-height:44px;padding:4px 0;background:none;
  border:0;text-align:left;cursor:pointer;font:inherit;color:inherit}
.pre-x-step:disabled{cursor:default}
.pre-x-track{position:relative;display:block;height:4px;border-radius:999px;overflow:hidden;background:var(--pre-line)}
.pre-x-fill{position:absolute;inset:0;border-radius:999px;background:var(--pre-accent);transform-origin:left center;transform:scaleX(0)}
.pre-x-step.done .pre-x-track{background:var(--pre-accent)}
.pre-x-step.live .pre-x-track{background:var(--pre-accent);opacity:.45;animation:pre-pulse 1.2s ease-in-out infinite}
.pre-x.replaying .pre-x-step .pre-x-track{background:var(--pre-line);opacity:1;animation:none}
.pre-x.replaying .pre-x-step.before .pre-x-track{background:var(--pre-accent)}
.pre-x-step.is-timed .pre-x-fill{animation:pre-x-seg var(--pre-x-dwell,3200ms) linear both}
.pre-x-stepnum{font-family:var(--font-mono);font-size:12px;color:var(--pre-muted)}
.pre-x-steplabel{font-size:13px;line-height:1.3;font-weight:500}
.pre-x-step.pending .pre-x-steplabel{color:var(--pre-muted)}
.pre-x-step.is-current .pre-x-stepnum{color:var(--pre-accent)}
.pre-x-step.is-current .pre-x-steplabel{font-weight:600}

/* stage panel */
.pre-x-stage{overflow:hidden}
.pre-x-stage.pre-x-enter{animation:pre-x-in .28s ease-out both}
.pre-x-shead{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:18px 24px;border-bottom:1px solid var(--pre-line)}
.pre-x-shead>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.pre-x-kicker{font-size:12px;color:var(--pre-muted)}
.pre-x-shead h2{font-size:18px;font-weight:600;line-height:1.3}
.pre-x-shead p{font-size:13px;color:var(--pre-muted);max-width:70ch}
.pre-x-chip{padding:4px 10px;border:1px solid var(--pre-line);border-radius:999px;font-size:12px;color:var(--pre-muted);white-space:nowrap}
.pre-x-chip-plain{font-size:12px;color:var(--pre-muted)}
.pre-x-verdict{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}
.pre-x-verdict.ok{background:var(--pre-pass-bg);color:var(--pre-pass)}
.pre-x-verdict.warn{background:var(--pre-warn-bg);color:var(--pre-warn)}
.pre-x-body{padding:24px}
.pre-x-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;
  border-top:1px solid var(--pre-line);background:var(--pre-subtle);font-size:13px;color:var(--pre-muted)}
.pre-x-next{min-height:40px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border:0;border-radius:8px;
  background:var(--pre-solid);color:#FFFFFF;font-size:13px;font-weight:600;cursor:pointer}
.pre-x-next:disabled{background:var(--pre-neutral-bg);color:var(--pre-muted);cursor:default}
.pre-x-btn{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border:1px solid var(--pre-input-line);
  border-radius:8px;background:var(--pre-card);color:var(--pre-text);font-size:13px;font-weight:500;cursor:pointer;text-decoration:none}
.pre-x-btn.sm{min-height:36px;padding:0 12px;align-self:flex-end}
.pre-x-actions{display:flex;flex-wrap:wrap;gap:8px}
.pre-x-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0;background:none;border:0;
  color:var(--pre-accent);font-size:13px;font-weight:500;cursor:pointer}
.pre-x-link svg{transition:transform .15s}
.pre-x-link[aria-expanded="true"] svg{transform:rotate(180deg)}

/* layouts */
.pre-x-split{display:flex;flex-wrap:wrap;gap:24px}
.pre-x-split>.pre-x-fig{flex:1 1 260px;max-width:360px;min-width:0}
.pre-x-col{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:16px}
.pre-x-stack{display:flex;flex-direction:column;gap:20px}
.pre-x-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:720px}
.pre-x-cmp{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}

/* figures and grid overlays */
.pre-x-fig{margin:0;display:flex;flex-direction:column;gap:8px}
.pre-x-imgbox{position:relative;width:100%;border-radius:8px;overflow:hidden;background:var(--pre-subtle);border:1px solid var(--pre-line)}
.pre-x-fig.current .pre-x-imgbox{border:2px solid var(--pre-solid)}
.pre-x-imgbox img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.pre-x-wait{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.pre-x-wait .pre-x-skel{border:0;background:none}
.pre-x-fig figcaption{font-size:13px}
.pre-x-cap{display:flex;justify-content:space-between;gap:8px}
.pre-x-cmp .pre-x-cap{flex-direction:column;gap:2px}
.pre-x-best{position:absolute;top:8px;left:8px;padding:2px 8px;border-radius:999px;background:var(--pre-solid);color:#FFFFFF;font-size:11px;font-weight:600}
.pre-x-cell{position:absolute;width:33.3333%;height:33.3333%;box-sizing:border-box}
.pre-x-cell.node{border:1.5px dashed var(--pre-solid);background:rgba(43,89,195,.06)}
.pre-x-cell.from{border:2px dashed #8A92A1}
.pre-x-cell.to{border:2px solid var(--pre-solid);background:rgba(43,89,195,.10)}
.pre-x-tag{position:absolute;left:4px;top:4px;max-width:calc(100% - 8px);padding:1px 6px;border-radius:4px;background:var(--pre-solid);
  color:#FFFFFF;font-family:var(--font-mono);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pre-x-cell.from .pre-x-tag{background:#FFFFFF;color:#3F4552}
.pre-x-cell.to .pre-x-tag{top:auto;bottom:4px}
.pre-x-gl{position:absolute;background:rgba(20,23,31,.22)}
.pre-x-gl.v{top:0;bottom:0;width:1px}
.pre-x-gl.h{left:0;right:0;height:1px}

/* text blocks */
.pre-x-dl{margin:0;display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px 16px;font-size:13px}
.pre-x-dl dt{color:var(--pre-muted)}
.pre-x-dl dd{margin:0;overflow-wrap:anywhere}
.pre-x-chips{display:flex;flex-wrap:wrap;gap:6px}
.pre-x-chiplet{padding:2px 8px;border:1px solid var(--pre-line);border-radius:999px;font-size:12px}
.pre-x-json{margin:8px 0 0;padding:14px 16px;border:1px solid var(--pre-line);border-radius:8px;font-family:var(--font-mono);
  font-size:12px;line-height:1.6;background:var(--pre-subtle);color:var(--pre-text);overflow:auto;white-space:pre;max-height:420px}
.pre-x-block{display:flex;flex-direction:column;gap:8px}
.pre-x-block-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px}
.pre-x-block-head h3{font-size:13px;font-weight:600}
.pre-x-block-head span{font-size:12px}
.pre-x-prompt{padding:14px 16px;border:1px solid var(--pre-line);border-radius:8px;background:var(--pre-subtle);
  font-size:14px;line-height:1.7;max-width:78ch;white-space:pre-wrap;overflow-wrap:anywhere}
.pre-x-prompt ins{text-decoration:none;background:var(--pre-pass-bg);color:var(--pre-pass);border-radius:3px;padding:1px 2px}
.pre-x-prompt del{background:var(--pre-warn-bg);color:var(--pre-warn);border-radius:3px;padding:1px 2px}
.pre-x-final{font-size:15px;line-height:1.7;max-width:78ch;white-space:pre-wrap;overflow-wrap:anywhere}
.pre-x-note-box{padding:12px 14px;border:1px dashed var(--pre-line);border-radius:8px;color:var(--pre-muted);font-size:13px}
.pre-x-fine{font-size:12px;color:var(--pre-muted)}
.pre-x-error{padding:12px 14px;border-radius:8px;background:var(--pre-warn-bg);color:var(--pre-warn);font-size:13px;overflow-wrap:anywhere}

/* rows, badges, counts */
.pre-x-rows{display:flex;flex-direction:column;gap:8px}
.pre-x-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;
  border:1px solid var(--pre-line);border-radius:8px}
.pre-x-row-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 240px}
.pre-x-row-title{font-weight:500;overflow-wrap:anywhere}
.pre-x-row-text>span:last-child{font-size:12px;color:var(--pre-muted);overflow-wrap:anywhere}
.pre-x-row-text>span.warn{color:var(--pre-warn)}
.pre-x-b{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.pre-x-b.pass{background:var(--pre-pass-bg);color:var(--pre-pass)}
.pre-x-b.fail{background:var(--pre-warn-bg);color:var(--pre-warn)}
.pre-x-b.blocked,.pre-x-b.removed{background:var(--pre-neutral-bg);color:var(--pre-neutral-fg)}
.pre-x-b.moved{background:var(--pre-info-bg);color:var(--pre-accent-strong)}
.pre-x-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pre-x-count{border:1px solid var(--pre-line);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column}
.pre-x-count span{font-size:12px;color:var(--pre-muted)}
.pre-x-count b{font-family:var(--font-mono);font-size:22px;font-weight:600}
.pre-x-count.kept{border-color:var(--pre-solid);background:var(--pre-info-bg)}
.pre-x-count.kept span,.pre-x-count.kept b{color:var(--pre-accent-strong)}

/* tables */
.pre-x-tablewrap{border:1px solid var(--pre-line);border-radius:10px;overflow-x:auto}
.pre-x-table{width:100%;border-collapse:collapse;font-size:13px;min-width:520px;margin:0;border:0}
.pre-x-table thead,.pre-x-table tbody,.pre-x-table tr{border:0;background:none}
.pre-x-table th{text-align:left;font-weight:500;font-size:12px;color:var(--pre-muted);background:var(--pre-subtle);padding:10px 12px;border:0}
.pre-x-table td{padding:10px 12px;border:0;border-top:1px solid var(--pre-line);vertical-align:top;overflow-wrap:anywhere}
.pre-x-table td.muted{color:var(--pre-muted)}
.pre-x-tablefoot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:-8px}

/* metric tiles with gate colors and ? popovers */
.pre-x-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pre-x-tile{position:relative;border:1px solid var(--pre-line);background:var(--pre-card);border-radius:10px;padding:14px 16px;
  display:flex;flex-direction:column;gap:8px}
.pre-x-tile.ok{border-color:var(--pre-pass-line);background:var(--pre-pass-tint)}
.pre-x-tile.warn{border-color:var(--pre-warn-line);background:var(--pre-warn-tint)}
.pre-x-tile-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pre-x-tile-label{font-size:12px;color:var(--pre-muted)}
.pre-x-help{width:44px;height:44px;margin:-14px -12px -14px 0;padding:0;background:none;border:0;display:flex;
  align-items:center;justify-content:center;cursor:pointer;flex:none}
.pre-x-help span{width:20px;height:20px;border-radius:999px;box-sizing:border-box;display:flex;align-items:center;
  justify-content:center;font-size:12px;font-weight:600;border:1.5px solid var(--pre-muted);background:var(--pre-card);color:var(--pre-text)}
.pre-x-help[aria-expanded="true"] span{border-color:var(--pre-solid);background:var(--pre-solid);color:#FFFFFF}
.pre-x-tile-val{display:flex;align-items:baseline;gap:8px}
.pre-x-num{font-family:var(--font-mono);font-size:28px;font-weight:600;letter-spacing:-.02em}
.pre-x-tile.ok .pre-x-num{color:var(--pre-pass)}
.pre-x-tile.warn .pre-x-num{color:var(--pre-warn)}
.pre-x-note{font-size:12px;color:var(--pre-muted)}
.pre-x-meter{position:relative;height:6px;border-radius:999px;background:var(--pre-track)}
.pre-x-meter-fill{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:var(--pre-accent)}
.pre-x-tile.ok .pre-x-meter-fill{background:var(--pre-pass-fill)}
.pre-x-tile.warn .pre-x-meter-fill{background:var(--pre-warn-fill)}
.pre-x-meter-gate{position:absolute;top:-3px;width:2px;height:12px;background:var(--pre-text)}
.pre-x-pill{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:3px 8px;border-radius:999px;
  font-size:12px;font-weight:600;background:var(--pre-neutral-bg);color:var(--pre-text)}
.pre-x-tile.ok .pre-x-pill{background:var(--pre-pass-bg);color:var(--pre-pass)}
.pre-x-tile.warn .pre-x-pill{background:var(--pre-warn-bg);color:var(--pre-warn)}
.pre-x-pop{position:absolute;z-index:10;top:44px;right:8px;width:264px;max-width:calc(100vw - 48px);box-sizing:border-box;
  background:var(--pre-card);border:1px solid var(--pre-input-line);border-radius:10px;padding:14px 16px;
  box-shadow:0 8px 24px rgba(20,23,31,.14);display:flex;flex-direction:column;gap:8px}
.pre-x-pop-title{font-size:13px;font-weight:600}
.pre-x-pop p{font-size:13px;line-height:1.5}
.pre-x-pop-gate{font-size:12px;color:var(--pre-muted);font-family:var(--font-mono)}
.pre-x-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;font-weight:500}
.pre-x-legend span{display:inline-flex;align-items:center;gap:6px}
.pre-x-legend .ok{color:var(--pre-pass)}
.pre-x-legend .warn{color:var(--pre-warn)}
.pre-x-legend i{width:8px;height:8px;border-radius:999px;display:inline-block}
.pre-x-legend .ok i{background:var(--pre-pass-fill)}
.pre-x-legend .warn i{background:var(--pre-warn-fill)}

/* waiting states */
.pre-x-skel{display:flex;align-items:center;gap:10px;padding:16px;border:1px dashed var(--pre-line);border-radius:10px;
  color:var(--pre-muted);font-size:13px}
.pre-x-spin{width:14px;height:14px;border-radius:999px;border:2px solid var(--pre-line);border-top-color:var(--pre-accent);
  animation:pre-x-spin .8s linear infinite;flex:none}

@keyframes pre-x-spin{to{transform:rotate(360deg)}}
@keyframes pre-x-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes pre-x-seg{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.pre-x,.pre-x *{animation:none !important;transition:none !important}}

@media (max-width:720px){
  .pre-x-head{padding:16px}
  .pre-x-shead,.pre-x-body{padding:16px}
  .pre-x-foot{padding:12px 16px}
  .pre-x-controls{width:100%;justify-content:flex-end}
  .pre-x-tiles{grid-template-columns:minmax(0,1fr);gap:8px}
  .pre-x-num{font-size:24px}
  .pre-x-counts{grid-template-columns:repeat(2,minmax(0,1fr))}
}