wicked-crew 0.7.1 → 0.7.3
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.
- package/dist/api/delivery-index.d.ts +61 -0
- package/dist/api/delivery-index.d.ts.map +1 -0
- package/dist/api/delivery-index.js +87 -0
- package/dist/api/delivery-index.js.map +1 -0
- package/dist/api/governance-steering.d.ts +139 -0
- package/dist/api/governance-steering.d.ts.map +1 -0
- package/dist/api/governance-steering.js +302 -0
- package/dist/api/governance-steering.js.map +1 -0
- package/dist/api/governance-wiki.d.ts +28 -0
- package/dist/api/governance-wiki.d.ts.map +1 -0
- package/dist/api/governance-wiki.js +97 -0
- package/dist/api/governance-wiki.js.map +1 -0
- package/dist/api/routes.d.ts +21 -16
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +196 -10
- package/dist/api/routes.js.map +1 -1
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +56 -1
- package/dist/api/server.js.map +1 -1
- package/dist/api/testing.d.ts +117 -0
- package/dist/api/testing.d.ts.map +1 -0
- package/dist/api/testing.js +152 -0
- package/dist/api/testing.js.map +1 -0
- package/dist/campaign/supervision.d.ts +296 -0
- package/dist/campaign/supervision.d.ts.map +1 -0
- package/dist/campaign/supervision.js +515 -0
- package/dist/campaign/supervision.js.map +1 -0
- package/dist/campaigns/plan.d.ts +64 -0
- package/dist/campaigns/plan.d.ts.map +1 -0
- package/dist/campaigns/plan.js +201 -0
- package/dist/campaigns/plan.js.map +1 -0
- package/dist/campaigns/routes.d.ts +28 -0
- package/dist/campaigns/routes.d.ts.map +1 -0
- package/dist/campaigns/routes.js +177 -0
- package/dist/campaigns/routes.js.map +1 -0
- package/dist/core/adapter.d.ts +160 -1
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +300 -1
- package/dist/core/adapter.js.map +1 -1
- package/dist/projects/routes.d.ts +4 -4
- package/dist/qe/acceptance.d.ts +20 -1
- package/dist/qe/acceptance.d.ts.map +1 -1
- package/dist/qe/acceptance.js +32 -0
- package/dist/qe/acceptance.js.map +1 -1
- package/dist/qe/conformance.d.ts +158 -0
- package/dist/qe/conformance.d.ts.map +1 -0
- package/dist/qe/conformance.js +244 -0
- package/dist/qe/conformance.js.map +1 -0
- package/dist/studio/assets/index-BAW9rqNT.css +32 -0
- package/dist/studio/assets/index-UahdRwF7.js +532 -0
- package/dist/studio/index.html +2 -2
- package/dist/studio/testid-inventory.json +4387 -0
- package/endpoint-manifest.json +154 -9
- package/package.json +3 -3
- package/dist/studio/assets/index-D-BFUYnY.js +0 -530
- package/dist/studio/assets/index-D6S9zUtO.css +0 -32
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The acceptance view's CONFORMANCE section (AW-14 / arch-R13a + arch-R16).
|
|
3
|
+
*
|
|
4
|
+
* `GET /runs/:id/acceptance` used to resolve ONLY the QE ledger verdict, while
|
|
5
|
+
* governance conformance claims were served on a separate route
|
|
6
|
+
* (`/governance/claims`) nobody stands in front of — so a wiki-rule violation
|
|
7
|
+
* never appeared where humans actually look at a run's "is it done?". This
|
|
8
|
+
* module derives the missing half and `buildAcceptanceView` serves it BESIDE
|
|
9
|
+
* the QE gate: two verdicts, one page, deny-dominates on both.
|
|
10
|
+
*
|
|
11
|
+
* Three honesty rules, all deny-dominant:
|
|
12
|
+
*
|
|
13
|
+
* 1. **Run-scoped claims, cited.** Claims are filtered to THIS run's scope
|
|
14
|
+
* (`wicked-agent/<runId>/shared` | `wicked-agent/<runId>/unit/<u>`, the
|
|
15
|
+
* engine's `scope.rs` grammar) and each `conform:` obligation is parsed
|
|
16
|
+
* back into the wiki/conformance rule it cites (severity, rule id,
|
|
17
|
+
* statement — the `attach_recalled_rules` format), so a denial names the
|
|
18
|
+
* rule that was violated instead of an opaque string.
|
|
19
|
+
*
|
|
20
|
+
* 2. **"Guardrailed" is a verified claim, never a default.** A run whose
|
|
21
|
+
* workflow declared governed units but whose CLI has no gate-hook adapter
|
|
22
|
+
* runs with UNCHECKED tool calls and only leaves a `governanceUnenforced`
|
|
23
|
+
* event behind (gate-hook injection is claude-only — FINDING-063,
|
|
24
|
+
* `execute_wrapped.rs`). This section reads the run's durable event log and
|
|
25
|
+
* reports `enforcement.status` accordingly; `guardrailed` is true ONLY when
|
|
26
|
+
* enforcement was positively observed armed and nothing reported unenforced.
|
|
27
|
+
* An unreadable event log is `unverifiable` — unknown is never guardrailed.
|
|
28
|
+
*
|
|
29
|
+
* 3. **Unreadable is not clean.** A claims wire that cannot be read yields
|
|
30
|
+
* `claimsAvailable: false` plus the error — never an empty list wearing a
|
|
31
|
+
* "no denials" face.
|
|
32
|
+
*
|
|
33
|
+
* COVERAGE BOUNDARY (write-it-down half of arch-R16): deterministic per-tool-
|
|
34
|
+
* call input governance exists for claude only. Units routed to any other CLI
|
|
35
|
+
* (Antigravity, Codex, local, …) get phase-boundary coverage only — the
|
|
36
|
+
* in-process `apply_unit` output gate and the deliverable floor — which
|
|
37
|
+
* evaluates the unit's OUTPUT after the fact and cannot block a tool call
|
|
38
|
+
* mid-flight. A governed unit on a non-claude CLI is therefore reported here
|
|
39
|
+
* as `unenforced`, not silently folded into "guardrailed". The same boundary
|
|
40
|
+
* is documented in the README's acceptance section.
|
|
41
|
+
*
|
|
42
|
+
* Coordinates crew#311 (vacuous unit completion passes gates): same
|
|
43
|
+
* gate-honesty seam, different defect — #311 is about "done" being asserted
|
|
44
|
+
* from an empty turn; this section is about governance claims/enforcement
|
|
45
|
+
* being invisible or overclaimed. Neither fix closes the other.
|
|
46
|
+
*/
|
|
47
|
+
/** Scope prefix the engine stamps on every run-scoped governance artifact (`scope.rs`). */
|
|
48
|
+
const RUN_SCOPE_PREFIX = 'wicked-agent/';
|
|
49
|
+
/** Evaluator identity of filesystem-boundary denies (`gate_hook.rs` BOUNDARY_EVALUATOR). */
|
|
50
|
+
const BOUNDARY_EVALUATOR = 'wicked-governance-boundary';
|
|
51
|
+
/** Claim-id prefix of an ADVISORY boundary READ deny (`gate_hook.rs` BOUNDARY_READ_DENY_PREFIX). */
|
|
52
|
+
const BOUNDARY_READ_DENY_PREFIX = 'boundary-read-deny:';
|
|
53
|
+
/** Whether `scope` belongs to run `runId` under the engine's scope grammar. */
|
|
54
|
+
export function isRunScope(scope, runId) {
|
|
55
|
+
if (!scope.startsWith(RUN_SCOPE_PREFIX))
|
|
56
|
+
return false;
|
|
57
|
+
const rest = scope.slice(RUN_SCOPE_PREFIX.length);
|
|
58
|
+
// `<runId>/shared` or `<runId>/unit/<discriminator>` — exact segment match, so run id `r-1`
|
|
59
|
+
// can never claim `r-10`'s scope by prefix accident.
|
|
60
|
+
return rest === `${runId}/shared` || rest.startsWith(`${runId}/unit/`);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Parse one `conform:<Severity>:<id>:<statement>` obligation (the `attach_recalled_rules` format)
|
|
64
|
+
* into its rule citation. Statements may contain `:` freely — only the first three separators
|
|
65
|
+
* split. Returns null for any obligation that is not a rule citation (boundary reasons, policy
|
|
66
|
+
* obligations, free text): those stay visible verbatim in `obligations`.
|
|
67
|
+
*/
|
|
68
|
+
export function parseRuleCitation(obligation) {
|
|
69
|
+
if (!obligation.startsWith('conform:'))
|
|
70
|
+
return null;
|
|
71
|
+
const rest = obligation.slice('conform:'.length);
|
|
72
|
+
const sevEnd = rest.indexOf(':');
|
|
73
|
+
if (sevEnd <= 0)
|
|
74
|
+
return null;
|
|
75
|
+
const idEnd = rest.indexOf(':', sevEnd + 1);
|
|
76
|
+
if (idEnd <= sevEnd + 1)
|
|
77
|
+
return null;
|
|
78
|
+
const severity = rest.slice(0, sevEnd);
|
|
79
|
+
const ruleId = rest.slice(sevEnd + 1, idEnd);
|
|
80
|
+
const statement = rest.slice(idEnd + 1);
|
|
81
|
+
if (statement === '')
|
|
82
|
+
return null;
|
|
83
|
+
return { severity, ruleId, statement };
|
|
84
|
+
}
|
|
85
|
+
/** Mirror of the engine's `is_advisory_boundary_read_deny` (`gate_hook.rs`). */
|
|
86
|
+
export function isAdvisoryBoundaryReadDeny(claim) {
|
|
87
|
+
return (claim.decision === 'deny' &&
|
|
88
|
+
claim.evaluator_identity === BOUNDARY_EVALUATOR &&
|
|
89
|
+
claim.claim_id.startsWith(BOUNDARY_READ_DENY_PREFIX));
|
|
90
|
+
}
|
|
91
|
+
/** Map one store claim to its view row (citations parsed, advisory flagged). */
|
|
92
|
+
function toClaimView(claim) {
|
|
93
|
+
const rules = [];
|
|
94
|
+
for (const ob of claim.obligations) {
|
|
95
|
+
const cite = parseRuleCitation(ob);
|
|
96
|
+
if (cite !== null)
|
|
97
|
+
rules.push(cite);
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
claimId: claim.claim_id,
|
|
101
|
+
scope: claim.scope,
|
|
102
|
+
phase: claim.phase,
|
|
103
|
+
decision: claim.decision,
|
|
104
|
+
policyIds: claim.policy_ids,
|
|
105
|
+
rules,
|
|
106
|
+
obligations: claim.obligations,
|
|
107
|
+
evaluator: claim.evaluator_identity,
|
|
108
|
+
evaluatedAt: claim.evaluated_at,
|
|
109
|
+
advisory: isAdvisoryBoundaryReadDeny(claim),
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
/** Safe field reads off the loose `RecordedEvent` bag. */
|
|
113
|
+
function num(v) {
|
|
114
|
+
return typeof v === 'number' && Number.isFinite(v) ? v : -1;
|
|
115
|
+
}
|
|
116
|
+
function str(v) {
|
|
117
|
+
return typeof v === 'string' ? v : '';
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Derive the enforcement view from the run's durable event log.
|
|
121
|
+
*
|
|
122
|
+
* `events === null` means the log could NOT be read (no binding, or the loader was not wired) —
|
|
123
|
+
* which is `unverifiable`, never a quiet "enforced". An empty log is a real answer: no governance
|
|
124
|
+
* signal ⇒ `ungoverned`.
|
|
125
|
+
*/
|
|
126
|
+
export function resolveEnforcement(events) {
|
|
127
|
+
if (events === null) {
|
|
128
|
+
return {
|
|
129
|
+
status: 'unverifiable',
|
|
130
|
+
unenforced: [],
|
|
131
|
+
armedUnits: [],
|
|
132
|
+
reason: 'run event log unavailable — enforcement cannot be verified (unknown is never guardrailed)',
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
const unenforced = [];
|
|
136
|
+
const armed = new Set();
|
|
137
|
+
let governedSignal = false;
|
|
138
|
+
for (const ev of events) {
|
|
139
|
+
switch (ev.type) {
|
|
140
|
+
case 'governanceUnenforced':
|
|
141
|
+
unenforced.push({
|
|
142
|
+
ord: num(ev['ord']),
|
|
143
|
+
attempt: num(ev['attempt']),
|
|
144
|
+
cli: str(ev['cli']),
|
|
145
|
+
reason: str(ev['reason']),
|
|
146
|
+
});
|
|
147
|
+
break;
|
|
148
|
+
case 'governanceContextArmed':
|
|
149
|
+
armed.add(num(ev['ord']));
|
|
150
|
+
governedSignal = true;
|
|
151
|
+
break;
|
|
152
|
+
case 'governanceHookFired':
|
|
153
|
+
case 'validationPinAttached':
|
|
154
|
+
governedSignal = true;
|
|
155
|
+
break;
|
|
156
|
+
case 'unitOutputCaptured':
|
|
157
|
+
if (ev['governed'] === true)
|
|
158
|
+
governedSignal = true;
|
|
159
|
+
break;
|
|
160
|
+
default:
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
const armedUnits = [...armed].sort((a, b) => a - b);
|
|
165
|
+
if (unenforced.length > 0) {
|
|
166
|
+
// Deny-dominates: ONE unchecked governed unit breaks the whole run's guardrail claim, even
|
|
167
|
+
// when every other unit was armed — a chain with a named missing link.
|
|
168
|
+
const clis = [...new Set(unenforced.map((u) => u.cli))].join(', ');
|
|
169
|
+
return {
|
|
170
|
+
status: 'unenforced',
|
|
171
|
+
unenforced,
|
|
172
|
+
armedUnits,
|
|
173
|
+
reason: `${unenforced.length} governed unit(s) ran with UNCHECKED tool calls on ${clis} ` +
|
|
174
|
+
'(gate-hook injection is claude-only; phase-boundary output gating still applied)',
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
if (governedSignal) {
|
|
178
|
+
return {
|
|
179
|
+
status: 'enforced',
|
|
180
|
+
unenforced: [],
|
|
181
|
+
armedUnits,
|
|
182
|
+
reason: armedUnits.length > 0
|
|
183
|
+
? `input governance confirmed armed for unit(s) ${armedUnits.join(', ')}; none reported unenforced`
|
|
184
|
+
: 'governance activity recorded and no unit reported unenforced',
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
return {
|
|
188
|
+
status: 'ungoverned',
|
|
189
|
+
unenforced: [],
|
|
190
|
+
armedUnits: [],
|
|
191
|
+
reason: 'the run recorded no governance signal — nothing was enforced, so nothing is claimed guardrailed',
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Assemble the conformance section: run-scoped claims + enforcement, resolved deny-dominates.
|
|
196
|
+
*
|
|
197
|
+
* `claims === null` means the claims wire could not be read (`claimsError` says why when known) —
|
|
198
|
+
* reported as unavailable, never as an empty clean list.
|
|
199
|
+
*/
|
|
200
|
+
export function resolveConformance(opts) {
|
|
201
|
+
const enforcement = resolveEnforcement(opts.events);
|
|
202
|
+
const claimsAvailable = opts.claims !== null;
|
|
203
|
+
const claims = (opts.claims ?? [])
|
|
204
|
+
.filter((c) => isRunScope(c.scope, opts.runId))
|
|
205
|
+
.sort((a, b) => a.evaluated_at - b.evaluated_at)
|
|
206
|
+
.map(toClaimView);
|
|
207
|
+
const denials = claims.filter((c) => c.decision === 'deny' && !c.advisory).length;
|
|
208
|
+
const advisoryDenials = claims.filter((c) => c.decision === 'deny' && c.advisory).length;
|
|
209
|
+
const denied = denials > 0;
|
|
210
|
+
// The headline. Every conjunct is a positive verification; absence of evidence never passes.
|
|
211
|
+
const guardrailed = claimsAvailable && !denied && enforcement.status === 'enforced';
|
|
212
|
+
let summary;
|
|
213
|
+
if (!claimsAvailable) {
|
|
214
|
+
summary = `conformance claims unreadable${opts.claimsError !== undefined ? `: ${opts.claimsError}` : ''} — not claimed clean (unreadable is not clean)`;
|
|
215
|
+
}
|
|
216
|
+
else if (denied) {
|
|
217
|
+
const cited = claims
|
|
218
|
+
.filter((c) => c.decision === 'deny' && !c.advisory)
|
|
219
|
+
.flatMap((c) => c.rules.map((r) => r.ruleId));
|
|
220
|
+
summary =
|
|
221
|
+
`${denials} governance denial(s) stand against this run` +
|
|
222
|
+
(cited.length > 0 ? ` (rules cited: ${[...new Set(cited)].join(', ')})` : '') +
|
|
223
|
+
` — deny-dominates`;
|
|
224
|
+
}
|
|
225
|
+
else if (enforcement.status === 'enforced') {
|
|
226
|
+
summary = `guardrailed — enforcement verified and ${claims.length} claim(s) carry no standing denial`;
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
// No denial read, but enforcement not verified: the enforcement reason IS the story.
|
|
230
|
+
summary = `no standing denial, but NOT guardrailed — ${enforcement.reason}`;
|
|
231
|
+
}
|
|
232
|
+
return {
|
|
233
|
+
claimsAvailable,
|
|
234
|
+
...(opts.claimsError !== undefined ? { claimsError: opts.claimsError } : {}),
|
|
235
|
+
claims,
|
|
236
|
+
denials,
|
|
237
|
+
advisoryDenials,
|
|
238
|
+
denied,
|
|
239
|
+
enforcement,
|
|
240
|
+
guardrailed,
|
|
241
|
+
summary,
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
//# sourceMappingURL=conformance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conformance.js","sourceRoot":"","sources":["../../src/qe/conformance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAIH,2FAA2F;AAC3F,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAEzC,4FAA4F;AAC5F,MAAM,kBAAkB,GAAG,4BAA4B,CAAC;AACxD,oGAAoG;AACpG,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAsFxD,+EAA+E;AAC/E,MAAM,UAAU,UAAU,CAAC,KAAa,EAAE,KAAa;IAC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AAC,CAAC,CAAC,kBAAkB,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC7E,mBAAmB,CAAC;IACxB,CAAC;SAAM,IAAI,WAAW,CAAC,MAAM,KAAK,UAAU,EAAE,CAAC;QAC7C,OAAO,GAAG,0CAA0C,MAAM,CAAC,MAAM,oCAAoC,CAAC;IACxG,CAAC;SAAM,CAAC;QACN,qFAAqF;QACrF,OAAO,GAAG,6CAA6C,WAAW,CAAC,MAAM,EAAE,CAAC;IAC9E,CAAC;IAED,OAAO;QACL,eAAe;QACf,GAAG,CAAC,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5E,MAAM;QACN,OAAO;QACP,eAAe;QACf,MAAM;QACN,WAAW;QACX,WAAW;QACX,OAAO;KACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
|
|
3
|
+
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
|
|
4
|
+
* https://github.com/chjj/term.js
|
|
5
|
+
* @license MIT
|
|
6
|
+
*
|
|
7
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
* in the Software without restriction, including without limitation the rights
|
|
10
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
* furnished to do so, subject to the following conditions:
|
|
13
|
+
*
|
|
14
|
+
* The above copyright notice and this permission notice shall be included in
|
|
15
|
+
* all copies or substantial portions of the Software.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
* THE SOFTWARE.
|
|
24
|
+
*
|
|
25
|
+
* Originally forked from (with the author's permission):
|
|
26
|
+
* Fabrice Bellard's javascript vt100 for jslinux:
|
|
27
|
+
* http://bellard.org/jslinux/
|
|
28
|
+
* Copyright (c) 2011 Fabrice Bellard
|
|
29
|
+
* The original design remains. The terminal itself
|
|
30
|
+
* has been extended to include xterm CSI codes, among
|
|
31
|
+
* other features.
|
|
32
|
+
*/.xterm{cursor:text;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::-moz-selection{color:transparent}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{-webkit-text-decoration:double underline;text-decoration:double underline}.xterm-underline-3{-webkit-text-decoration:wavy underline;text-decoration:wavy underline}.xterm-underline-4{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.xterm-underline-5{-webkit-text-decoration:dashed underline;text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{-webkit-text-decoration:overline double underline;text-decoration:overline double underline}.xterm-overline.xterm-underline-3{-webkit-text-decoration:overline wavy underline;text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{-webkit-text-decoration:overline dotted underline;text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{-webkit-text-decoration:overline dashed underline;text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}:root{--_surface-0: #09090f;--_surface-1: #11111a;--_surface-2: #1a1a26;--_surface-3: #242433;--_surface-4: #2e2e40;--surface-base: var(--_surface-0);--surface-rail: var(--_surface-1);--surface-card: var(--_surface-2);--surface-raised: var(--_surface-3);--surface-overlay: var(--_surface-4);--_ink-a35: rgba(255, 255, 255, .35);--_ink-a55: rgba(255, 255, 255, .55);--_ink-a80: rgba(255, 255, 255, .8);--_ink-100: #ffffff;--ink-dim: var(--_ink-a35);--ink-muted: var(--_ink-a55);--ink-body: var(--_ink-a80);--ink-high: var(--_ink-100);--_accent-h: 258;--_accent-s: 72%;--_accent-l: 62%;--accent: hsl(var(--_accent-h) var(--_accent-s) var(--_accent-l));--accent-dim: hsl(var(--_accent-h) var(--_accent-s) calc(var(--_accent-l) - 18%));--accent-subtle: hsl(var(--_accent-h) calc(var(--_accent-s) * .35) calc(var(--_accent-l) - 30%));--accent-fg: var(--ink-high);--_sg-h: 45;--_sf-h: 4;--_sr-h: 148;--status-gate: hsl(var(--_sg-h) 90% 68%);--status-gate-dim: hsl(var(--_sg-h) 55% 22%);--status-fail: hsl(var(--_sf-h) 88% 62%);--status-fail-dim: hsl(var(--_sf-h) 45% 18%);--status-run: hsl(var(--_sr-h) 58% 58%);--status-run-dim: hsl(var(--_sr-h) 38% 16%);--status-done: var(--_ink-a35);--status-done-dim: transparent;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--font-sans: "Inter", system-ui, -apple-system, sans-serif;--font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;--text-2xs: 10px;--text-xs: 11px;--text-sm: 13px;--text-md: 15px;--text-lg: 18px;--text-xl: 22px;--text-2xl: 28px;--weight-normal: 400;--weight-medium: 500;--weight-semi: 600;--weight-bold: 700;--leading-tight: 1.2;--leading-body: 1.5;--leading-loose: 1.75;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-full: 9999px;--shadow-card: 0 1px 3px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);--shadow-raised: 0 4px 12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);--shadow-overlay: 0 8px 24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1);--scrim: rgba(0, 0, 0, .6);--ease-out: cubic-bezier(.16, 1, .3, 1);--ease-spring: cubic-bezier(.34, 1.56, .64, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--dur-instant: 80ms;--dur-fast: .12s;--dur-base: .22s;--dur-slow: .3s;--dur-slower: .38s}[data-theme=light]{--_surface-0: #f4f4f8;--_surface-1: #eeeef4;--_surface-2: #e5e5ef;--_surface-3: #d8d8e8;--_surface-4: #ccccdc;--_ink-a35: rgba(0, 0, 0, .3);--_ink-a55: rgba(0, 0, 0, .52);--_ink-a80: rgba(0, 0, 0, .78);--_ink-100: #080810;--status-gate-dim: hsl(var(--_sg-h) 80% 88%);--status-fail-dim: hsl(var(--_sf-h) 75% 91%);--status-run-dim: hsl(var(--_sr-h) 55% 88%)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-0\.5{right:-.125rem}.-top-0\.5{top:-.125rem}.bottom-0{bottom:0}.bottom-full{bottom:100%}.left-0{left:0}.left-8{left:2rem}.right-0{right:0}.right-1{right:.25rem}.right-1\.5{right:.375rem}.right-4{right:1rem}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-6{top:1.5rem}.top-8{top:2rem}.top-full{top:100%}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-0{margin:0}.m-4{margin:1rem}.mx-8{margin-left:2rem;margin-right:2rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.\!hidden{display:none!important}.hidden{display:none}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[80vh\]{height:80vh}.h-\[92vh\]{height:92vh}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-36{max-height:9rem}.max-h-48{max-height:12rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-\[28rem\]{max-height:28rem}.max-h-\[60vh\]{max-height:60vh}.max-h-\[86vh\]{max-height:86vh}.min-h-0{min-height:0px}.min-h-\[3\.5rem\]{min-height:3.5rem}.min-h-\[3rem\]{min-height:3rem}.min-h-\[4rem\]{min-height:4rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[26rem\]{width:26rem}.w-\[280px\]{width:280px}.w-\[28rem\]{width:28rem}.w-\[34rem\]{width:34rem}.w-\[380px\]{width:380px}.w-\[420px\]{width:420px}.w-\[90vw\]{width:90vw}.w-\[92vw\]{width:92vw}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-64{min-width:16rem}.min-w-\[10rem\]{min-width:10rem}.min-w-\[3\.5rem\]{min-width:3.5rem}.min-w-\[60px\]{min-width:60px}.min-w-\[8rem\]{min-width:8rem}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-\[14rem\]{max-width:14rem}.max-w-\[70\%\]{max-width:70%}.max-w-\[72\%\]{max-width:72%}.max-w-\[80\%\]{max-width:80%}.max-w-\[80px\]{max-width:80px}.max-w-\[85\%\]{max-width:85%}.max-w-\[90\%\]{max-width:90%}.max-w-\[92vw\]{max-width:92vw}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-y-0\.5{row-gap:.125rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-4{row-gap:1rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-width:1px}.border-0{border-width:0px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.bg-surface-base{background-color:var(--surface-base)}.bg-surface-raised{background-color:var(--surface-raised)}.bg-transparent{background-color:transparent}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-3\.5{padding:.875rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-px{padding-top:1px;padding-bottom:1px}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-1\.5{padding-bottom:.375rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-8{padding-left:2rem}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[9px\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-ink-muted{color:var(--ink-muted)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}html,body,#root{background:var(--surface-base);color:var(--ink-body);height:100%;font-family:var(--font-sans);-webkit-font-smoothing:antialiased}code,pre,.font-mono{font-family:var(--font-mono)}@keyframes wk-live-pulse{0%,to{opacity:.5}50%{opacity:1}}.wk-live-edge{position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--status-run);box-shadow:0 0 8px var(--status-run-dim);animation:wk-live-pulse 2s ease-in-out infinite;pointer-events:none}.wk-live-edge--static{animation:none;opacity:1;width:3px}@media(prefers-reduced-motion:reduce){.wk-live-edge{animation:none;opacity:1;width:3px}}.wk-live-edge--gate{width:3px;background:var(--status-gate);box-shadow:0 0 10px var(--status-gate-dim);animation:none;opacity:1}.wk-live-edge--pill{left:3px;top:4px;bottom:4px;width:2px;border-radius:1px;box-shadow:none}@keyframes wk-palette-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.wk-palette-in{animation:wk-palette-in var(--dur-fast) var(--ease-out)}@media(prefers-reduced-motion:reduce){.wk-palette-in{animation:none}}@keyframes wk-sheet-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.wk-sheet-in{animation:wk-sheet-in var(--dur-fast) var(--ease-out)}@media(prefers-reduced-motion:reduce){.wk-sheet-in{animation:none}}@keyframes wk-feed-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.wk-feed-line{animation:wk-feed-in var(--dur-fast) var(--ease-out)}.wk-feed-block{animation:wk-feed-in var(--dur-base) var(--ease-out)}@media(prefers-reduced-motion:reduce){.wk-feed-line,.wk-feed-block{animation:none}}.wk-fade-in{animation:wk-feed-in var(--dur-fast) var(--ease-out)}.wk-disclose{animation:wk-feed-in var(--dur-base) var(--ease-out)}.wk-composer:focus,.wk-composer:focus-within{outline:none;box-shadow:0 0 0 2px var(--accent-dim)}.wk-chip-x{color:var(--ink-dim)}.wk-chip-x:hover{color:var(--ink-high)}@keyframes wk-anchor-flash{0%{background-color:var(--accent-subtle)}to{background-color:transparent}}.wk-anchor-flash{animation:wk-anchor-flash 1s var(--ease-out)}@media(prefers-reduced-motion:reduce){.wk-fade-in,.wk-disclose,.wk-anchor-flash{animation:none}}.wk-river-gate-waiting{animation:wk-live-pulse 2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.wk-river-gate-waiting{animation:none;opacity:1}}.wk-reject-note::-moz-placeholder{color:var(--ink-dim)}.wk-reject-note::placeholder{color:var(--ink-dim)}.wk-annotate::-moz-placeholder{color:var(--ink-muted)}.wk-annotate::placeholder{color:var(--ink-muted)}.wk-switcher-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.wk-feed-link{color:var(--ink-body);text-decoration:none;display:block}.wk-feed-link:hover{color:var(--ink-high)}.wk-feed-link:after{content:"↗";opacity:0;transition:opacity var(--dur-instant) var(--ease-out);margin-left:4px}.wk-feed-link:hover:after{opacity:1}.last\:mb-0:last-child{margin-bottom:0}.last\:border-0:last-child{border-width:0px}.last\:border-b-0:last-child{border-bottom-width:0px}.hover\:bg-\[var\(--surface-raised\)\]:hover{background-color:var(--surface-raised)}.hover\:bg-surface-card:hover{background-color:var(--surface-card)}.hover\:bg-surface-raised:hover{background-color:var(--surface-raised)}.hover\:text-ink-body:hover{color:var(--ink-body)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.hover\:opacity-90:hover{opacity:.9}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:bg-surface-card:focus-visible{background-color:var(--surface-card)}.focus-visible\:bg-surface-raised:focus-visible{background-color:var(--surface-raised)}.focus-visible\:text-ink-body:focus-visible{color:var(--ink-body)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-accent:focus-visible{outline-color:var(--accent)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-accent-dim:focus-visible{--tw-ring-color: var(--accent-dim)}.active\:cursor-grabbing:active{cursor:grabbing}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}@media(min-width:640px){.sm\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
|