@mysten-incubation/sui-agent-pass 0.1.27 → 0.1.29

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/docs/PLAYBOOK.md CHANGED
@@ -105,8 +105,8 @@ ask for a yes, unless they already stated every rule explicitly.
105
105
 
106
106
  ## 2. Propose the pass and wait for the signature
107
107
 
108
- `propose_authorization`, `propose_change`, `list_passes`, `find_pools`, `revoke_pass` and
109
- `forget_pass` live on the stdio server (`agent-pass mcp`), which keeps every session on the
108
+ `propose_authorization`, `propose_change`, `list_passes`, `find_pools`, `revoke_pass`,
109
+ `resign_pass` and `forget_pass` live on the stdio server (`agent-pass mcp`), which keeps every session on the
110
110
  machine. A per-session HTTP signer has only `session_info` and `sign_transaction`.
111
111
 
112
112
  The pass goes on the network the owner names (`network`, one of `list_passes.networks`), else on
@@ -121,12 +121,18 @@ Call `propose_authorization` with the rules. It returns `rules`, the exact text
121
121
  shows, plus `reviewUrl` and `sessionAddress`, and opens the page in the browser. Paste `rules` to
122
122
  the owner word for word and never restate the amounts yourself. Tell them to connect their wallet,
123
123
  check the page against that text and sign once. The page shows what their wallet holds against
124
- what the pass needs. If the browser did not open, give them `reviewUrl`.
124
+ what the pass needs. If the browser did not open, give them `reviewUrl`. Hand the link over by
125
+ code, from the tool result into the message, never retyped: it is signed by the session key, and
126
+ the page refuses a link that differs by one character.
125
127
 
126
128
  Then call `session_info` with the pass and `wait: 120`, again while the status is
127
129
  `awaiting_authorization`. At `active` the signer has read the pass, the allowances and the
128
130
  policies back from chain and checked them against the proposal. Report the pass id, the
129
- authorization digest, the owner's balances and what the key may still withdraw.
131
+ authorization digest, the owner's balances and what the key may still withdraw. A status of
132
+ `mismatch` means the owner signed something other than the reviewed rules: quote
133
+ `authorizationError`, call `resign_pass` so the key cannot act under rules nobody reviewed, and
134
+ ask the owner to close the pass from its page before you propose again. A `chainError` means the signer could not read the chain; the status is unknown
135
+ until a read succeeds, so fix the connection and call again.
130
136
 
131
137
  ## 3. Act within the rules
132
138
 
@@ -145,8 +151,8 @@ Start with `session_info`. It returns:
145
151
 
146
152
  **Key alert.** When `list_passes` or `session_info` carries `keyAlert`, the chain shows
147
153
  transactions from the agent key that this machine never signed: a copy of the key is in use
148
- elsewhere. Stop acting, tell the owner at once with the digests, and offer `revoke_pass` so they
149
- can stop the agent from the pass page.
154
+ elsewhere. Call `resign_pass` at once, so the chain refuses the key from then on, then tell the
155
+ owner with the digests; they close the pass from its page.
150
156
 
151
157
  **Updates.** When `server.update` is present in `list_passes` or `session_info`, a newer release
152
158
  is out. Tell the owner once per conversation, with `server.update.command` and the reminder to
@@ -192,7 +198,10 @@ still counts against the allowance.
192
198
  session's signer when none is running and `agent.close()` stops it, so a scheduled job (a daily
193
199
  sale on a cron) or a client that starts the MCP server for each call needs nothing kept alive in
194
200
  between. Always call `agent.close()`. On a machine behind a proxy, the script needs
195
- `HTTPS_PROXY` in its environment like the server does.
201
+ `HTTPS_PROXY` in its environment like the server does. If you run in a hosted VM that can be
202
+ replaced, check before each scheduled run that agent-pass is installed and the session directory
203
+ still exists. If the session directory is gone, the key is lost: tell the owner to close the pass
204
+ from its page and propose a new one.
196
205
 
197
206
  **Outcomes.** `submit` signs through this server, executes on Sui and returns what the chain
198
207
  recorded. `success: true` means done. `success: false` means the chain executed the transaction
@@ -209,8 +218,8 @@ allowance has its own cap and 24-hour limit and never touches the asset caps.
209
218
  ## 4. Report the state
210
219
 
211
220
  Call `list_passes`, then `session_info` for each pass the owner asks about (all of them when
212
- unclear). Report the status (`awaiting_authorization`, `active`, `changing`, `expired`, `revoked`
213
- or `closed`), the owner's address balances, what the key may still withdraw, its gas, any NAVI
221
+ unclear). Report the status (`awaiting_authorization`, `mismatch`, `active`, `changing`,
222
+ `expired`, `revoked` or `closed`), the owner's address balances, what the key may still withdraw, its gas, any NAVI
214
223
  position or stakes in the pass, and for each policy its limit and today's usage
215
224
  (`control.policies[*].usage.usedToday`). Quote the `rules` text as returned; do not recompute
216
225
  amounts.
@@ -230,8 +239,13 @@ Until the owner signs, the old rules apply and `session_info` reports `changing`
230
239
 
231
240
  ## 6. End it
232
241
 
233
- There are two endings, both on the pass page, which `revoke_pass` opens for the pass the owner
234
- names. Without a pass it opens the owner page, which lists all of the owner's passes and ends any
242
+ When the work is done and nothing recurring remains, or the owner tells you to stop, call
243
+ `resign_pass`: one transaction from your own key, no owner signature, after which the chain
244
+ refuses every action under the pass. Tell the owner, and that closing the pass from its page
245
+ refunds its storage deposit. It is irreversible; a new pass needs a new proposal.
246
+
247
+ The owner has two endings of their own, both on the pass page, which `revoke_pass` opens for the
248
+ pass the owner names. Without a pass it opens the owner page, which lists all of the owner's passes and ends any
235
249
  number of them with one signature; use that when several are to go.
236
250
 
237
251
  - **Stop the agent now** revokes the key and deletes the allowances, and keeps the pass and its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten-incubation/sui-agent-pass",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "type": "module",
5
5
  "description": "AI builds transactions. A session signer signs. Your pass enforces the rules.",
6
6
  "repository": {
@@ -110,8 +110,8 @@ ask for a yes, unless they already stated every rule explicitly.
110
110
 
111
111
  ## 2. Propose the pass and wait for the signature
112
112
 
113
- `propose_authorization`, `propose_change`, `list_passes`, `find_pools`, `revoke_pass` and
114
- `forget_pass` live on the stdio server (`agent-pass mcp`), which keeps every session on the
113
+ `propose_authorization`, `propose_change`, `list_passes`, `find_pools`, `revoke_pass`,
114
+ `resign_pass` and `forget_pass` live on the stdio server (`agent-pass mcp`), which keeps every session on the
115
115
  machine. A per-session HTTP signer has only `session_info` and `sign_transaction`.
116
116
 
117
117
  The pass goes on the network the owner names (`network`, one of `list_passes.networks`), else on
@@ -126,12 +126,18 @@ Call `propose_authorization` with the rules. It returns `rules`, the exact text
126
126
  shows, plus `reviewUrl` and `sessionAddress`, and opens the page in the browser. Paste `rules` to
127
127
  the owner word for word and never restate the amounts yourself. Tell them to connect their wallet,
128
128
  check the page against that text and sign once. The page shows what their wallet holds against
129
- what the pass needs. If the browser did not open, give them `reviewUrl`.
129
+ what the pass needs. If the browser did not open, give them `reviewUrl`. Hand the link over by
130
+ code, from the tool result into the message, never retyped: it is signed by the session key, and
131
+ the page refuses a link that differs by one character.
130
132
 
131
133
  Then call `session_info` with the pass and `wait: 120`, again while the status is
132
134
  `awaiting_authorization`. At `active` the signer has read the pass, the allowances and the
133
135
  policies back from chain and checked them against the proposal. Report the pass id, the
134
- authorization digest, the owner's balances and what the key may still withdraw.
136
+ authorization digest, the owner's balances and what the key may still withdraw. A status of
137
+ `mismatch` means the owner signed something other than the reviewed rules: quote
138
+ `authorizationError`, call `resign_pass` so the key cannot act under rules nobody reviewed, and
139
+ ask the owner to close the pass from its page before you propose again. A `chainError` means the signer could not read the chain; the status is unknown
140
+ until a read succeeds, so fix the connection and call again.
135
141
 
136
142
  ## 3. Act within the rules
137
143
 
@@ -150,8 +156,8 @@ Start with `session_info`. It returns:
150
156
 
151
157
  **Key alert.** When `list_passes` or `session_info` carries `keyAlert`, the chain shows
152
158
  transactions from the agent key that this machine never signed: a copy of the key is in use
153
- elsewhere. Stop acting, tell the owner at once with the digests, and offer `revoke_pass` so they
154
- can stop the agent from the pass page.
159
+ elsewhere. Call `resign_pass` at once, so the chain refuses the key from then on, then tell the
160
+ owner with the digests; they close the pass from its page.
155
161
 
156
162
  **Updates.** When `server.update` is present in `list_passes` or `session_info`, a newer release
157
163
  is out. Tell the owner once per conversation, with `server.update.command` and the reminder to
@@ -197,7 +203,10 @@ still counts against the allowance.
197
203
  session's signer when none is running and `agent.close()` stops it, so a scheduled job (a daily
198
204
  sale on a cron) or a client that starts the MCP server for each call needs nothing kept alive in
199
205
  between. Always call `agent.close()`. On a machine behind a proxy, the script needs
200
- `HTTPS_PROXY` in its environment like the server does.
206
+ `HTTPS_PROXY` in its environment like the server does. If you run in a hosted VM that can be
207
+ replaced, check before each scheduled run that agent-pass is installed and the session directory
208
+ still exists. If the session directory is gone, the key is lost: tell the owner to close the pass
209
+ from its page and propose a new one.
201
210
 
202
211
  **Outcomes.** `submit` signs through this server, executes on Sui and returns what the chain
203
212
  recorded. `success: true` means done. `success: false` means the chain executed the transaction
@@ -214,8 +223,8 @@ allowance has its own cap and 24-hour limit and never touches the asset caps.
214
223
  ## 4. Report the state
215
224
 
216
225
  Call `list_passes`, then `session_info` for each pass the owner asks about (all of them when
217
- unclear). Report the status (`awaiting_authorization`, `active`, `changing`, `expired`, `revoked`
218
- or `closed`), the owner's address balances, what the key may still withdraw, its gas, any NAVI
226
+ unclear). Report the status (`awaiting_authorization`, `mismatch`, `active`, `changing`,
227
+ `expired`, `revoked` or `closed`), the owner's address balances, what the key may still withdraw, its gas, any NAVI
219
228
  position or stakes in the pass, and for each policy its limit and today's usage
220
229
  (`control.policies[*].usage.usedToday`). Quote the `rules` text as returned; do not recompute
221
230
  amounts.
@@ -235,8 +244,13 @@ Until the owner signs, the old rules apply and `session_info` reports `changing`
235
244
 
236
245
  ## 6. End it
237
246
 
238
- There are two endings, both on the pass page, which `revoke_pass` opens for the pass the owner
239
- names. Without a pass it opens the owner page, which lists all of the owner's passes and ends any
247
+ When the work is done and nothing recurring remains, or the owner tells you to stop, call
248
+ `resign_pass`: one transaction from your own key, no owner signature, after which the chain
249
+ refuses every action under the pass. Tell the owner, and that closing the pass from its page
250
+ refunds its storage deposit. It is irreversible; a new pass needs a new proposal.
251
+
252
+ The owner has two endings of their own, both on the pass page, which `revoke_pass` opens for the
253
+ pass the owner names. Without a pass it opens the owner page, which lists all of the owner's passes and ends any
240
254
  number of them with one signature; use that when several are to go.
241
255
 
242
256
  - **Stop the agent now** revokes the key and deletes the allowances, and keeps the pass and its
@@ -0,0 +1,69 @@
1
+ # Set up Sui Agent Pass
2
+
3
+ You are setting up Sui Agent Pass for the person you work for. It lets you act on their Sui assets
4
+ within rules they sign once in their own wallet. Their coins stay in their wallet, you work with a
5
+ key of your own, and the chain refuses anything outside the rules.
6
+
7
+ Do the steps below, then ask them what they want to do. Do not propose a pass or make any
8
+ transaction during setup.
9
+
10
+ 1. **Install** the package (Node 22 or newer):
11
+
12
+ ```sh
13
+ npm install -g @mysten-incubation/sui-agent-pass
14
+ ```
15
+
16
+ If you are a coding agent in a terminal on the person's own machine (Claude Code, Codex,
17
+ Hermes, OpenClaw), run `agent-pass connect --client <claude-code|codex|hermes|openclaw>`
18
+ instead of the next step: it registers the server and the playbook with your client. Ask the
19
+ person to restart you, then continue at step 3. Agents in a hosted app or in their own VM or
20
+ sandbox take step 2.
21
+
22
+ Reinstalling or upgrading never touches existing passes or keys.
23
+
24
+ 2. **Connect to its MCP server.** If your app lets you add an MCP server, add a stdio server with
25
+ the command `agent-pass mcp`. Otherwise write a small client with the official MCP SDK
26
+ (`@modelcontextprotocol/sdk`) that starts `agent-pass mcp` over stdio, calls its tools and
27
+ reads its resources. Two settings matter:
28
+ - Pass your full environment to the server. The SDK's stdio transport forwards only a small
29
+ default set, and on a machine whose only way out is a proxy, the server needs `HTTPS_PROXY`.
30
+ - Give tool calls a timeout of several minutes. `session_info` can wait up to 120 seconds for
31
+ the owner's signature, longer than the SDK's 60-second default.
32
+
33
+ For example (in its own npm project, after `npm install @modelcontextprotocol/sdk`):
34
+
35
+ ```js
36
+ import { Client } from '@modelcontextprotocol/sdk/client/index.js';
37
+ import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
38
+
39
+ const client = new Client({ name: 'agent-pass-client', version: '1.0.0' });
40
+ await client.connect(
41
+ new StdioClientTransport({ command: 'agent-pass', args: ['mcp'], env: process.env }),
42
+ );
43
+ const [, , kind, name, args] = process.argv;
44
+ const result =
45
+ kind === 'read'
46
+ ? await client.readResource({ uri: name })
47
+ : await client.callTool({ name, arguments: JSON.parse(args ?? '{}') }, undefined, {
48
+ timeout: 300_000,
49
+ });
50
+ console.log(JSON.stringify(result, null, 2));
51
+ await client.close();
52
+ ```
53
+
54
+ Run it as `node client.mjs call list_passes '{}'` or `node client.mjs read agent-pass://playbook`.
55
+ Keep the client for later conversations, as a saved skill if your app has them.
56
+
57
+ 3. **Read the playbook.** Read the resource `agent-pass://playbook` in full and follow it for
58
+ everything you do with Agent Pass. It explains how to turn a request into rules, how the owner
59
+ signs, and how to act and report.
60
+
61
+ 4. **Check the connection.** Call `list_passes`. On mainnet, each pool should show a `price`. A
62
+ `priceError` means this machine cannot reach the Sui full node; check the network or proxy and
63
+ tell the person instead of going on.
64
+
65
+ 5. **Hand over.** Tell the person setup is done and ask what they want you to do with their Sui
66
+ assets. Ask for their wallet address so you can see what they hold.
67
+
68
+ Never print or copy the agent key or any file under `~/.sui-agent-pass`. If something fails, give
69
+ the person the exact error text and say whether anything executed on chain.
@@ -0,0 +1 @@
1
+ @font-face{font-family:TWK Everett;src:url(/fonts/TWKEverett-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:TWK Everett Mono;src:url(/fonts/TWKEverettMono-Regular.otf) format("opentype");font-weight:400;font-style:normal;font-display:swap}:root{--page: #000000;--card: #131518;--lift: #222529;--edge: #343940;--ink: #f2faff;--body: rgba(242, 250, 255, .64);--muted: #89919f;--grey: #6c7584;--hairline: rgba(242, 250, 255, .08);--accent: #298dff;--sans: "TWK Everett", "Helvetica Neue", Arial, system-ui, sans-serif;--mono: "TWK Everett Mono", ui-monospace, "SF Mono", Menlo, monospace;font-family:var(--sans);font-weight:400;color:var(--ink);background:var(--page);font-synthesis:none}*{box-sizing:border-box;border-radius:0!important;font-weight:400}body{margin:0;background:var(--page)}main{max-width:1280px;margin:auto;padding:32px 48px}header{display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{font-size:24px;letter-spacing:-.02em;text-decoration:none;color:var(--ink)}.wallet{display:flex;gap:16px;align-items:center}.open-in-slush{display:inline-block;padding:12px 18px;background:var(--accent);color:var(--page);font-size:14px;text-decoration:none;white-space:nowrap}.network{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border:1px solid var(--edge);padding:8px 12px;background:var(--page)}select.network{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:28px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 15px) 14px,calc(100% - 10px) 14px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}select.network:hover{color:var(--ink)}.hero{padding:72px 0 40px}.eyebrow{font-family:var(--mono);letter-spacing:.08em;font-size:12px;text-transform:uppercase;color:var(--accent)}h1{font-size:72px;line-height:.98;letter-spacing:-.034em;margin:24px 0}h1 span{color:var(--accent)}.intro{font-size:20px;line-height:1.4;color:var(--body);max-width:880px;overflow-wrap:anywhere}.layout{display:grid;grid-template-columns:1.3fr 1fr;gap:2px}.panel{background:var(--card);padding:32px;margin-bottom:2px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}h2{font-size:24px;letter-spacing:-.02em;margin:0 0 24px}.panel-heading h2{margin:0}.badge{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:var(--accent);color:var(--page);padding:8px 12px;white-space:nowrap;text-decoration:none}.badge.muted{background:var(--lift);color:var(--muted)}.rule{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid var(--hairline);font-size:14px}.rule.starts{margin-top:28px}.rule.sub>span{padding-left:16px}.rule>span{color:var(--muted)}.rule strong{text-align:right;max-width:60%;overflow-wrap:anywhere;color:var(--ink)}.fine{color:var(--muted);font-size:12px;line-height:1.5;margin-top:16px}.warn{color:var(--ink);border-left:2px solid var(--grey);padding-left:8px}.balance{font-size:40px;letter-spacing:-.034em;margin:8px 0}.balance span{font-size:16px;letter-spacing:0;color:var(--muted)}hr{border:0;border-top:1px solid var(--hairline);margin:24px 0 0}button{cursor:pointer;border:1px solid var(--edge);background:var(--lift);color:var(--ink);padding:16px 24px;font:inherit;font-size:14px}button:disabled{opacity:.4;cursor:not-allowed}button.inline{padding:4px 8px;margin-left:8px;font-size:12px}.primary,.revoke{width:100%;margin-top:24px;padding:16px}a.primary{display:block;box-sizing:border-box;text-align:center;text-decoration:none;border:1px solid var(--accent)}.primary{background:var(--accent);color:var(--page);border-color:var(--accent)}.revoke{background:var(--page);color:var(--ink);border-color:var(--grey)}pre{display:block;padding:12px 14px;font-family:var(--mono);font-size:13px;line-height:1.6;background:var(--lift);color:var(--ink);margin:10px 0 0;overflow-x:auto;white-space:pre}.nav{display:flex;gap:20px;margin-right:auto;margin-left:8px}.nav a{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);text-decoration:none}.nav a:hover{color:var(--ink)}.home{max-width:960px;margin:0 auto;padding:12px 0 0;text-align:center}.home h1{font-size:56px;line-height:1;letter-spacing:-.034em;margin:0 0 16px}.home .intro{margin:0 auto;max-width:620px;font-size:18px;line-height:1.45}.install{max-width:640px;margin:19px auto 0;background:var(--lift);border:1px solid var(--edge);text-align:left}.install-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 10px 0 8px;border-bottom:1px solid var(--edge)}.install-head [role=tablist]{display:flex;flex-wrap:wrap}.install-head [role=tab]{width:auto;margin:0 0 -1px;padding:10px 12px 9px;font-size:13px;background:transparent;color:var(--muted);border:none;border-bottom:1px solid transparent}.install-head [role=tab].on{color:var(--ink);border-bottom-color:var(--ink)}.install-head .copy{flex:none;width:auto;min-width:64px;margin:0;padding:5px 12px;font-size:12px}.install code{display:block;min-height:72px;padding:12px 22px;margin:0;background:none;font-size:14px;line-height:1.7;white-space:nowrap;overflow-x:auto}.install code span{display:block}.install code.prose{white-space:normal;overflow-wrap:anywhere}.install code i{font-style:normal;color:var(--muted);margin-right:8px}.install-for{margin:0;padding:7px 22px 8px;font-size:12px;color:var(--muted);border-top:1px solid var(--edge)}.three{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin:18px 0 0;padding:0;text-align:left}.three li{border-top:1px solid var(--edge);padding-top:16px}.three .n{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.08em;color:var(--accent);margin-bottom:6px}.three h3{font-size:18px;margin:0 0 6px;letter-spacing:-.01em}.three p{margin:0;font-size:14px;line-height:1.5;color:var(--body)}.home-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin:16px 0 0;font-size:13px;color:var(--muted)}.home-links a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--edge)}.home-links a:hover{border-bottom-color:var(--accent)}.steps{margin:0;padding-left:22px}.steps li{margin:0 0 18px;line-height:1.55}.steps li strong{display:block;margin-bottom:4px}.steps li p{margin:6px 0 0}.steps blockquote{margin:10px 0 0}.guide .panel{margin-top:16px}.guide p{line-height:1.6;margin:0 0 12px}.guide .rule strong{text-align:left;max-width:70%;font-weight:400}code{display:block;padding:4px 8px;font-family:var(--mono);font-size:12px;background:var(--lift);color:var(--ink);margin:2px 0;overflow-wrap:anywhere}.message{padding:24px;border-left:2px solid var(--accent);background:var(--card);margin:0 0 24px;overflow-wrap:anywhere;font-size:14px}.message.error{border-left-color:var(--grey);color:var(--ink)}.next p{font-size:16px;line-height:1.5;color:var(--body)}blockquote{margin:24px 0 0;border-left:2px solid var(--accent);padding:8px 24px;line-height:1.5;color:var(--ink)}details{font-size:12px;color:var(--muted);margin:24px 0}summary{cursor:pointer}dl{display:grid;grid-template-columns:184px 1fr;gap:16px;margin-top:24px}dd{margin:0;overflow-wrap:anywhere;font-family:var(--mono);color:var(--body)}a{color:var(--accent)}input{font:inherit}footer{margin-top:48px;border-top:1px solid var(--hairline);padding:24px 0;color:var(--muted);font-size:12px}.attempt{display:grid;grid-template-columns:24px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--hairline);font-size:14px}.attempt .mark{width:24px;height:24px;display:grid;place-items:center;font-size:12px}.attempt.ok .mark{background:var(--accent);color:var(--page)}.attempt.refused .mark{background:var(--grey);color:var(--ink)}.attempt p{margin:4px 0 0}.attempt .why{color:var(--ink);border-left:2px solid var(--grey);padding-left:8px}.attempt .moved{color:var(--accent)}.attempt .meta{color:var(--muted);font-family:var(--mono);font-size:12px}@media(max-width:760px){main{padding:24px 16px}.hero{padding:48px 0 32px}h1{font-size:48px}.layout{grid-template-columns:1fr}.panel{padding:24px}header{flex-wrap:wrap;gap:12px 16px}.brand{font-size:20px}.nav{order:3;width:100%;margin:0}.network{display:none}pre{font-size:12px}.guide .rule strong{max-width:100%}.home{padding-top:16px;text-align:left}.home h1{font-size:40px}.home .intro{margin:0}.install{margin-top:24px}.install-head [role=tab]{padding-inline:8px;font-size:12px}.three{grid-template-columns:1fr;gap:16px;margin-top:24px}.home-links{justify-content:flex-start}.panel-heading{flex-wrap:wrap}dl{grid-template-columns:1fr;gap:8px}dd{margin-bottom:8px}}.search{display:flex;gap:8px;margin:8px 0 32px}.search input{flex:1;font-size:16px;padding:16px;border:1px solid var(--edge);background:var(--card);color:var(--ink);min-width:0}.search input::placeholder{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2px}.card{display:block;background:var(--lift);border-left:2px solid transparent;padding:24px;text-decoration:none;color:inherit}.card:hover{border-left-color:var(--accent)}.card a{text-decoration:none;color:inherit}.card .pick{display:block;margin-bottom:8px;font-size:14px;color:var(--muted)}.card h3{font-size:20px;margin:0 0 8px;letter-spacing:-.014em}.card p{margin:4px 0;font-family:var(--mono);font-size:12px;color:var(--muted);overflow-wrap:anywhere}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:0 0 2px}.stat{background:var(--card);padding:24px 32px}.stat span{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.stat strong{font-size:56px;letter-spacing:-.034em;color:var(--accent)}.stat.refused strong{color:var(--ink)}.booth h1{font-size:56px}.booth .attempt{font-size:16px;padding:16px 0}.crumbs{font-family:var(--mono);font-size:12px;color:var(--muted);margin:24px 0 0;overflow-wrap:anywhere}.crumbs a{color:inherit}.mono{font-family:var(--mono);font-size:12px;overflow-wrap:anywhere}.owner-actions button{margin-top:16px}.empty{color:var(--muted);font-size:14px;padding:24px 0}@media(max-width:760px){.stats{grid-template-columns:1fr}.booth h1{font-size:40px}}