easel-canvas 0.4.0 → 0.5.0
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/README.md +22 -10
- package/bin/mcp.mjs +2 -2
- package/bin/server.mjs +48 -15
- package/dist/assets/index-0pl9ILre.css +1 -0
- package/dist/assets/index-BRuM-YIO.js +75 -0
- package/dist/index.html +2 -2
- package/dist/viewer/viewer.css +1 -1
- package/dist/viewer/viewer.js +14 -14
- package/package.json +1 -1
- package/server/chat.mjs +2 -0
- package/server/index.mjs +44 -4
- package/server/requests.mjs +2 -0
- package/server/routes.mjs +1 -0
- package/server/selfupdate.mjs +98 -0
- package/server/up.mjs +1 -1
- package/server/update.mjs +80 -18
- package/dist/assets/index-DuziykA0.css +0 -1
- package/dist/assets/index-o294phw7.js +0 -74
package/README.md
CHANGED
|
@@ -31,10 +31,10 @@ That copies the demo to `./easel-demo` and opens it at http://localhost:4317: In
|
|
|
31
31
|
Already have HTML screens? Run it in your project:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
npx easel-canvas # opens ./docs/design (or the current folder if it has screens/)
|
|
35
|
-
npx easel-canvas --init # starts a new ./docs/design with one screen
|
|
36
|
-
npx easel-canvas --dir ./designs # any folder of screens/*.html
|
|
37
|
-
npx easel-canvas up # the same in the background: prints the URL, reuses a canvas already running here
|
|
34
|
+
npx easel-canvas@latest # opens ./docs/design (or the current folder if it has screens/)
|
|
35
|
+
npx easel-canvas@latest --init # starts a new ./docs/design with one screen
|
|
36
|
+
npx easel-canvas@latest --dir ./designs # any folder of screens/*.html
|
|
37
|
+
npx easel-canvas@latest up # the same in the background: prints the URL, reuses a canvas already running here
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Install into your agent
|
|
@@ -43,13 +43,13 @@ One line gives your agent the Easel tools and a skill that knows the canvas: whe
|
|
|
43
43
|
|
|
44
44
|
| Agent | Install | What you get |
|
|
45
45
|
| --- | --- | --- |
|
|
46
|
-
| **Claude Code** | `claude plugin marketplace add nemodleo/easel --sparse .claude-plugin plugin && claude plugin install easel@easel` | MCP tools, the `easel` skill, `/easel:open
|
|
46
|
+
| **Claude Code** | `claude plugin marketplace add nemodleo/easel --sparse .claude-plugin plugin && claude plugin install easel@easel` | MCP tools, the `easel` skill, `/easel:open`, `/easel:variants`, and a hook that [wakes the session](#claude-code-wakes-up-for-a-request) for canvas requests |
|
|
47
47
|
| **Codex** | `codex plugin marketplace add nemodleo/easel --sparse .agents/plugins --sparse plugin && codex plugin add easel@easel` | MCP tools and the `easel` skill |
|
|
48
48
|
| **Cursor** | `npx skills add nemodleo/easel --skill easel -a cursor` | The `easel` skill; add the tools with `npx easel-canvas connect` |
|
|
49
49
|
|
|
50
50
|
`--sparse` checks out only the plugin's folders instead of the whole repository with its screenshots, so the install stays fast on a slow connection.
|
|
51
51
|
|
|
52
|
-
Then, in your project, ask for what you want: *"open the design canvas"*, *"make three variants of the sign-up screen side by side"*, *"fix what I selected"*. In Claude Code, `/easel:open` starts the canvas for the project (or shows the one already running) and `/easel:variants signup.html 4` lays out four alternatives in a row below the original. The agent starts the canvas with `npx easel-canvas up`, which prints the URL and never starts a second one for the same folder.
|
|
52
|
+
Then, in your project, ask for what you want: *"open the design canvas"*, *"make three variants of the sign-up screen side by side"*, *"fix what I selected"*. In Claude Code, `/easel:open` starts the canvas for the project (or shows the one already running) and `/easel:variants signup.html 4` lays out four alternatives in a row below the original. The agent starts the canvas with `npx -y easel-canvas@latest up`, which prints the URL and never starts a second one for the same folder.
|
|
53
53
|
|
|
54
54
|
## Why Easel
|
|
55
55
|
|
|
@@ -104,7 +104,7 @@ Then, in your project, ask for what you want: *"open the design canvas"*, *"make
|
|
|
104
104
|
|
|
105
105
|
## Connect your AI agent
|
|
106
106
|
|
|
107
|
-
Keep the canvas running (`npx easel-canvas`). Agents write HTML files directly, and what they change shows up in the canvas's undo history (one step per in-app AI request, or per burst of edits from an outside agent); the MCP server lets them **see** (`list_boards`, `read_board`, `screenshot`, `list_errors`), **know what you mean** (`get_selection` with the selected element, visible boards and the current page), **talk** (comments and replies) and **arrange** (`place_board`, `create_board`, notes, pages, `check_tokens`, `save_snapshot`). When several agents share a canvas, `claim_board` (before editing a file with their own tools) or `write_board` (a whole board through Easel) keeps one writer per board: a second agent on a busy board is given a fork next to it and told which file it is on.
|
|
107
|
+
Keep the canvas running (`npx easel-canvas@latest`). Agents write HTML files directly, and what they change shows up in the canvas's undo history (one step per in-app AI request, or per burst of edits from an outside agent); the MCP server lets them **see** (`list_boards`, `read_board`, `screenshot`, `list_errors`), **know what you mean** (`get_selection` with the selected element, visible boards and the current page), **talk** (comments and replies) and **arrange** (`place_board`, `create_board`, notes, pages, `check_tokens`, `save_snapshot`). When several agents share a canvas, `claim_board` (before editing a file with their own tools) or `write_board` (a whole board through Easel) keeps one writer per board: a second agent on a busy board is given a fork next to it and told which file it is on.
|
|
108
108
|
|
|
109
109
|
Then, in your project folder (not needed for an agent that has the [plugin](#install-into-your-agent), which brings the same server):
|
|
110
110
|
|
|
@@ -154,12 +154,24 @@ New files with `<meta name="board-size" content="390x844">` are placed on the ca
|
|
|
154
154
|
|
|
155
155
|
When you already work with an agent next to the canvas (Claude desktop's Browser pane beside a Claude Code session, say), Easel does not need to start a second agent of its own. In the AI tab (or the **⋯** menu) set **AI requests go to** to **The agent you're talking to**; it is remembered for the project (`.easel/requests.json`, not committed).
|
|
156
156
|
|
|
157
|
-
From then on **Ask AI** on an element, **Send to AI** on a comment and **Ask AI to fix** (token check, accessibility, errors) leave a request on the canvas instead: a comment marked **For AI**, written in a small composer where the element toolbar sits. The pin gets an AI flag, the board says "1 waiting", and the AI button shows the count. Easel cannot type into your agent's chat
|
|
157
|
+
From then on **Ask AI** on an element, **Send to AI** on a comment and **Ask AI to fix** (token check, accessibility, errors) leave a request on the canvas instead: a comment marked **For AI**, written in a small composer where the element toolbar sits. The pin gets an AI flag, the board says "1 waiting", and the AI button shows the count. Easel cannot type into your agent's chat. With the Claude Code plugin the session [wakes up by itself](#claude-code-wakes-up-for-a-request); otherwise say there (the list shows this line once, with Copy, while a request waits):
|
|
158
158
|
|
|
159
159
|
> handle the Easel requests
|
|
160
160
|
|
|
161
161
|
(or `Easel 요청 처리해 줘`, or run `/easel:requests` with the plugin). The agent calls `list_requests`, `take_request` (one agent per request; the request says "Claude Code working" and the board "is editing…") and `finish_request`: its one-line reply lands under the comment, the comment is resolved, the changed board is one click away, and the board's activity tag has **Undo**. A request row is a comment with one mark and one line. A waiting request can be cancelled (it stays as a normal comment) or, behind its **⋯**, sent to **Easel chat** instead; a taken one cannot be cancelled, only undone afterwards. In a pane 1200 px wide or less the AI tab lists the requests first and shows the setting as one line ("Requests go to: your agent"). With two or more agents connected you can address one of them. View-only exports show For AI comments as ordinary comments.
|
|
162
162
|
|
|
163
|
+
#### Claude Code wakes up for a request
|
|
164
|
+
|
|
165
|
+
The Claude Code plugin (not the MCP server alone, and not Codex, Cursor or Gemini) adds a hook that ends the "now go tell your agent" step: while the session sits idle, a request you leave on the canvas wakes it within a few seconds, and it handles the request as `/easel:requests` does. You see the session start working on its own.
|
|
166
|
+
|
|
167
|
+
- **How.** `plugin/hooks/claude-code.json` (declared in the Claude Code manifest `plugin/.claude-plugin/plugin.json` only, and not at the default `hooks/hooks.json`, so other agents' plugin loaders, such as Codex's, do not pick it up) runs `plugin/hooks/wake.mjs` (Node, no dependencies) on `SessionStart` and again after every turn (`Stop`), as an `asyncRewake` hook: it waits in the background and exits with code 2 to wake the session. It finds the running canvas for the session's folder in the registry (`~/.easel/servers`), the same way the MCP server does, but only a canvas whose folder contains the session's folder or is the one canvas inside it; it never starts a canvas, and when none is running it checks again every 5 seconds. Every 2 seconds it reads the waiting requests (`GET /api/requests`, read only; it does not count as an agent looking).
|
|
168
|
+
- **What wakes it.** Only waiting requests meant for Claude Code (for any agent, or addressed to Claude Code), and only while **AI requests go to** is **The agent you're talking to**. Easel's own chat runs and requests for another agent never wake it.
|
|
169
|
+
- **Once per request, again if the wake was lost.** A request is announced as soon as it waits (`~/.easel/wake/announced/`). A wake that lands while the session's turn is still running can be dropped, so after the session's next turn ends the new watcher announces the request again if no agent has listed it yet (the request has no `seenAt`), at most 3 more times and no sooner than 20 seconds after the last announcement. A request an agent has listed but not taken is not announced again. It starts over when it goes back to waiting (sent again after a failure, or the agent that took it left).
|
|
170
|
+
- **Several sessions on one project.** Each session has its own watcher (one per session; a second one exits at once), but they share the announcements, so only one watcher wins each announcement and wakes its session; a watcher that was already running when a request was announced never announces it again. If two sessions do act on the same request, `take_request` lets only one take it.
|
|
171
|
+
- **What Claude reads.** One line with the number of new requests and what to do. The request text is never in it; Claude reads it with `list_requests`.
|
|
172
|
+
- **Opt out.** Set `EASEL_NO_WAKE=1` in the environment Claude Code starts with, or keep **AI requests go to** on **Easel chat**.
|
|
173
|
+
- **Limits.** The hook runs for at most a day (`timeout: 86400`); a session idle for longer than that is not woken until its next turn ends, which starts a new watcher. A request made while the session is busy is announced during that turn; if that wake is lost, it is announced again once the turn has ended and at least 20 seconds have passed since the first announcement. With several sessions open, the repeat can wake another session started or re-armed since then, not necessarily the one that lost it. macOS and Linux; on Windows the hook does nothing. It needs a Claude Code version with `asyncRewake` hooks. Set `EASEL_WAKE_LOG=<file>` to log what the watcher does.
|
|
174
|
+
|
|
163
175
|
Each board frame also carries `data-easel-file` (and `data-easel-path` while you have something selected on it), so when your host's own element picker grabs part of the canvas, the agent can turn it into a file and element with `resolve_pick`.
|
|
164
176
|
|
|
165
177
|
## Share a view-only copy
|
|
@@ -185,7 +197,7 @@ Exporting again replaces what the previous export of the same kind wrote there (
|
|
|
185
197
|
|
|
186
198
|
## Pin it in your project
|
|
187
199
|
|
|
188
|
-
`npx easel-canvas` is all most projects need. To pin an exact version for your team, add it as a dev dependency (`npm i -D easel-canvas`, then `"design": "easel-canvas"` in your scripts) or as a git submodule. With your designs in `<project>/docs/design/screens/`:
|
|
200
|
+
`npx easel-canvas@latest` is all most projects need. To pin an exact version for your team, add it as a dev dependency (`npm i -D easel-canvas`, then `"design": "easel-canvas"` in your scripts) or as a git submodule. With your designs in `<project>/docs/design/screens/`:
|
|
189
201
|
|
|
190
202
|
```bash
|
|
191
203
|
git submodule add https://github.com/nemodleo/easel.git tools/easel
|
|
@@ -290,7 +302,7 @@ npm run verify:agents # before a release: install Easel into each agent CLI on
|
|
|
290
302
|
| `app/` | Canvas UI (Vite + React + TypeScript); all UI text lives in `app/src/strings.ts`, in English and Korean (the Korean object is typed against the English one, so a missing string is a type error) |
|
|
291
303
|
| `test/` | `node --test` unit tests and Playwright e2e tests |
|
|
292
304
|
| `tools/` | Repo maintenance scripts, not shipped: `mkcss.mjs` builds the design boards' stylesheet from the app's, `plugin-sync.mjs` keeps the plugin manifests at the package version, `verify-agents.mjs` checks real agent installs |
|
|
293
|
-
| `plugin/` | The agent plugin: MCP server entry, the `easel` skill, `/easel:open` and `/easel:
|
|
305
|
+
| `plugin/` | The agent plugin: MCP server entry, the `easel` skill, `/easel:open`, `/easel:variants` and `/easel:requests`, and the Claude Code wake hook (`hooks/`) |
|
|
294
306
|
|
|
295
307
|
Background reading: the original plan is in [PLAN.md](PLAN.md) and the work log is in [tasks.md](tasks.md).
|
|
296
308
|
|
package/bin/mcp.mjs
CHANGED
|
@@ -68,7 +68,7 @@ async function call(method, path, body) {
|
|
|
68
68
|
res = await send();
|
|
69
69
|
} catch (e2) {
|
|
70
70
|
if (e2.message?.startsWith("Several Easel canvases")) throw e2;
|
|
71
|
-
throw new Error(`Easel is not running for this project (tried http://localhost:${port}). Start it in the project with \`npx easel-canvas\` (add --dir <design folder> when the screens are not in ./docs/design or the current folder), then try again.`);
|
|
71
|
+
throw new Error(`Easel is not running for this project (tried http://localhost:${port}). Start it in the project with \`npx easel-canvas@latest\` (add --dir <design folder> when the screens are not in ./docs/design or the current folder), then try again.`);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
const text = await res.text();
|
|
@@ -164,7 +164,7 @@ tool(
|
|
|
164
164
|
"get_selection",
|
|
165
165
|
{
|
|
166
166
|
description:
|
|
167
|
-
"What the user is looking at right now: selection (the element the user clicked on a board: file, path as element indexes from the children of <body>, tag, kind and label, text, source outerHTML up to 4KB, hash, computed styles), mode (canvas, edit = an element is selected, focus, play), page and pageName, visibleArtboards (boards visible on screen), selectedArtboards, dirty (pending saves), edits (recent edit history), erroredArtboards and firstError (boards with errors).
|
|
167
|
+
"What the user is looking at right now: selection (the element the user clicked on a board: file, path as element indexes from the children of <body>, tag, kind and label, text, source outerHTML up to 4KB, hash, computed styles), mode (canvas, edit = an element is selected, focus, play), page and pageName, visibleArtboards (boards visible on screen), selectedArtboards, dirty (pending saves), edits (recent edit history), erroredArtboards and firstError (boards with errors). Call it first whenever a message points at something without naming it ('fix this', 'make it bigger', 'this screen', 'the selected element', '이거 고쳐'), and work on what it returns.",
|
|
168
168
|
inputSchema: {},
|
|
169
169
|
},
|
|
170
170
|
async () => {
|
package/bin/server.mjs
CHANGED
|
@@ -19,14 +19,14 @@ if (args.help) {
|
|
|
19
19
|
console.log(`Easel ${pkg.version} — an HTML design canvas for AI agents
|
|
20
20
|
|
|
21
21
|
Usage
|
|
22
|
-
npx easel-canvas open ./docs/design (or the current folder if it has screens/)
|
|
23
|
-
npx easel-canvas --demo copy the demo project to ./easel-demo and open it
|
|
24
|
-
npx easel-canvas --init create ./docs/design with a starter screen, then open it
|
|
25
|
-
npx easel-canvas --dir <folder> open a specific design folder
|
|
26
|
-
npx easel-canvas up start the canvas in the background unless one runs for this project; print its URL
|
|
27
|
-
npx easel-canvas status
|
|
28
|
-
npx easel-canvas connect
|
|
29
|
-
npx easel-canvas export
|
|
22
|
+
npx easel-canvas@latest open ./docs/design (or the current folder if it has screens/)
|
|
23
|
+
npx easel-canvas@latest --demo copy the demo project to ./easel-demo and open it
|
|
24
|
+
npx easel-canvas@latest --init create ./docs/design with a starter screen, then open it
|
|
25
|
+
npx easel-canvas@latest --dir <folder> open a specific design folder
|
|
26
|
+
npx easel-canvas@latest up start the canvas in the background unless one runs for this project; print its URL
|
|
27
|
+
npx easel-canvas status print the URL of the canvas running for this project (exit 1 when there is none)
|
|
28
|
+
npx easel-canvas connect add the Easel MCP server to your agents' configs (run in the project)
|
|
29
|
+
npx easel-canvas export write a view-only copy of the canvas to ./easel-export (no canvas needed)
|
|
30
30
|
|
|
31
31
|
Options
|
|
32
32
|
--port <n> port to listen on (default 4317; when it is busy and --port is not given, the next free one)
|
|
@@ -64,7 +64,7 @@ if (args.command === "connect") {
|
|
|
64
64
|
try {
|
|
65
65
|
const lines = await connect({ project: args.dirGiven ? rootOf(args.dir) : process.cwd(), agents: args.agents, dryRun: args.dryRun });
|
|
66
66
|
console.log(lines.join("\n"));
|
|
67
|
-
if (!args.dryRun) console.log("\nStart the canvas with npx easel-canvas, then restart your agent so it loads the MCP server.");
|
|
67
|
+
if (!args.dryRun) console.log("\nStart the canvas with npx easel-canvas@latest, then restart your agent so it loads the MCP server.");
|
|
68
68
|
} catch (e) {
|
|
69
69
|
console.error(e.message);
|
|
70
70
|
process.exit(1);
|
|
@@ -132,25 +132,57 @@ if (!existsSync(dir)) {
|
|
|
132
132
|
console.error(`No design folder at ${dir}
|
|
133
133
|
|
|
134
134
|
Try one of:
|
|
135
|
-
npx easel-canvas --demo open the demo project
|
|
136
|
-
npx easel-canvas --init start a new design folder here (./docs/design)
|
|
137
|
-
npx easel-canvas --dir <folder> open an existing folder of screens/*.html`);
|
|
135
|
+
npx easel-canvas@latest --demo open the demo project
|
|
136
|
+
npx easel-canvas@latest --init start a new design folder here (./docs/design)
|
|
137
|
+
npx easel-canvas@latest --dir <folder> open an existing folder of screens/*.html`);
|
|
138
138
|
process.exit(1);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
const { createServer } = await import("../server/index.mjs");
|
|
142
142
|
const { attach, closeBrowser, extraRoutes } = await import("../server/routes.mjs");
|
|
143
|
+
const { waitForNew } = await import("../server/selfupdate.mjs");
|
|
143
144
|
let app;
|
|
145
|
+
let child = null; // after a hand-over: the new server, which this process only waits on
|
|
146
|
+
const start = async (port, autoPort) => {
|
|
147
|
+
const a = await createServer({ dir, port, dev: !args.prod, extraRoutes, autoPort, register: true, updateCheck: true });
|
|
148
|
+
await attach(a);
|
|
149
|
+
a.ctx.handover = handover;
|
|
150
|
+
return a;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* One-click update (server/selfupdate.mjs installed the new files at root): this server lets go of its port, the new one starts on the
|
|
154
|
+
* same port and folder, and this process stays as its parent (Ctrl+C and the terminal still reach it). If the new one has not answered
|
|
155
|
+
* in 30 s it is stopped and this one listens again, so there is always a canvas. Resolves to whether the new one took over.
|
|
156
|
+
*/
|
|
157
|
+
async function handover(root) {
|
|
158
|
+
const port = app.port;
|
|
159
|
+
await app.close();
|
|
160
|
+
const next = spawn(process.execPath, [path.join(root, "bin", "server.mjs"), "--dir", dir, "--port", String(port), "--no-open", ...(args.prod ? ["--prod"] : [])], { stdio: "inherit", env: process.env, windowsHide: true });
|
|
161
|
+
let dead = false;
|
|
162
|
+
next.on("exit", () => (dead = true));
|
|
163
|
+
next.on("error", () => (dead = true));
|
|
164
|
+
if (await waitForNew({ port, pid: process.pid, alive: () => !dead })) {
|
|
165
|
+
child = next;
|
|
166
|
+
next.on("exit", (code, sig) => process.exit(code ?? (sig ? 1 : 0)));
|
|
167
|
+
return true;
|
|
168
|
+
}
|
|
169
|
+
try {
|
|
170
|
+
next.kill("SIGTERM");
|
|
171
|
+
} catch {}
|
|
172
|
+
await new Promise((r) => (dead ? r() : next.once("exit", r), setTimeout(r, 3000)));
|
|
173
|
+
app = await start(port, false);
|
|
174
|
+
app.ctx.updateState = { phase: "failed", why: "restart" };
|
|
175
|
+
console.error(`The new Easel did not start on port ${port}; this one keeps running.`);
|
|
176
|
+
return false;
|
|
177
|
+
}
|
|
144
178
|
try {
|
|
145
|
-
app = await
|
|
179
|
+
app = await start(args.port, !args.portGiven);
|
|
146
180
|
} catch (e) {
|
|
147
181
|
if (e.code !== "EADDRINUSE") throw e;
|
|
148
182
|
console.error(e.message);
|
|
149
183
|
process.exit(1);
|
|
150
184
|
}
|
|
151
|
-
await attach(app);
|
|
152
185
|
console.log(`Easel: ${app.url} (design folder ${dir})${app.port !== args.port ? ` port ${args.port} was busy` : ""}`);
|
|
153
|
-
app.update.then((u) => u && console.log(`Easel ${u.latest} is out (you have ${u.current}). Update: ${u.command}, then restart.`));
|
|
154
186
|
|
|
155
187
|
if (open && !args.noOpen) {
|
|
156
188
|
const [cmd, cmdArgs] = process.platform === "darwin" ? ["open", [app.url]] : process.platform === "win32" ? ["cmd", ["/c", "start", "", app.url]] : ["xdg-open", [app.url]];
|
|
@@ -160,6 +192,7 @@ if (open && !args.noOpen) {
|
|
|
160
192
|
process.on("exit", () => app.unregister());
|
|
161
193
|
for (const sig of ["SIGTERM", "SIGINT", "SIGHUP"])
|
|
162
194
|
process.on(sig, async () => {
|
|
195
|
+
if (child) return void child.kill(sig); // the new server ends, then this process with it
|
|
163
196
|
app.unregister();
|
|
164
197
|
await closeBrowser();
|
|
165
198
|
process.exit(0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.req-panel .pp-scroll{gap:0}.req-mode,.req-list{flex:none;display:flex;flex-direction:column;gap:8px;padding:8px 0 12px}.req-list{margin:0 calc(-1 * var(--card-pad, 16px));padding:8px var(--card-pad, 16px) 12px;box-shadow:inset 0 1px 0 var(--line)}.req-panel.is-compact .req-list{box-shadow:none;padding-top:0;padding-bottom:8px}.req-mode-line{flex:none;display:flex;flex-direction:column;margin:0 calc(-1 * var(--card-pad, 16px));padding:4px calc(var(--card-pad, 16px) - 8px);box-shadow:inset 0 1px 0 var(--line)}.req-line{height:32px;min-width:0;display:flex;align-items:center;gap:6px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;font-weight:400;text-align:left}.req-line-k{flex:none;color:var(--muted)}.req-line-v{min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.req-line .chev{flex:none;margin-left:auto;color:var(--muted);transition:transform var(--t-state)}.req-mode-line.is-open .req-line .chev{transform:rotate(180deg)}.req-dot.is-off{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line-strong)}.req-mode.in-line{padding:4px 8px 8px}.req-h{margin:0;min-height:28px;display:flex;align-items:center;gap:4px;font-size:13px;line-height:16px;font-weight:600;color:var(--text)}.req-h-side{margin-left:auto;font-weight:400;color:var(--muted)}.req-note{margin:0;font-size:13px;line-height:16px;color:var(--muted);overflow-wrap:anywhere}.req-opts{display:flex;flex-direction:column;gap:8px}.req-opt{height:auto;display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);text-align:left}.req-opt:hover:not(:disabled){border-color:var(--line-strong)}.req-opt.on,.req-opt.on:hover:not(:disabled){border:2px solid var(--select);padding:9px 11px;background:color-mix(in srgb,var(--select) 4%,var(--panel))}.req-radio{flex:none;width:16px;height:16px;margin-top:2px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line-strong)}.req-opt.on .req-radio{box-shadow:inset 0 0 0 1.5px var(--select),inset 0 0 0 4px var(--panel),inset 0 0 0 8px var(--select)}.req-opt-text{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13px;line-height:16px;color:var(--muted)}.req-opt-text strong{font-size:13px;line-height:20px;font-weight:600;color:var(--text)}.req-agents{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.req-agents li{display:flex;align-items:center;gap:8px;min-height:28px;font-size:13px;line-height:20px}.req-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ok)}.req-agent{font-weight:600}.req-agent-where{margin-left:auto;font-size:13px;color:var(--muted);white-space:nowrap}.req-to{display:grid;grid-template-columns:80px 1fr;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.req-to select{height:28px;border:0;border-radius:8px;background:var(--panel-2);padding:0 8px;font-size:13px;color:var(--text)}.req-say1{flex:none;display:flex;align-items:center;gap:4px;min-height:28px;margin:0;font-size:13px;line-height:20px;color:var(--muted)}.req-say1-text{flex:1;min-width:0;overflow-wrap:anywhere}.req-say1-text strong{font-weight:600;color:var(--text)}.req-say1-copy{flex:none;width:28px;height:28px;margin-right:-6px;border:0;color:var(--muted)}.req-badge{flex:none;height:16px;padding:0 5px;border-radius:4px;background:var(--accent-weak);color:var(--accent);font-size:13px;line-height:16px;font-weight:600;white-space:nowrap}.req-status{display:flex;flex-direction:column;gap:4px}.req-status:empty{display:none}.req-state{font-size:13px;line-height:20px;color:var(--muted);overflow-wrap:anywhere}.is-failed>.req-state{color:var(--warn)}.req-more{width:28px;height:28px;border:0;color:var(--muted)}.req-actions{display:flex;align-items:center;gap:4px;min-height:28px;margin-left:-8px}.req-reply .who{font-weight:600}.oc-cmt .oc-cmt-bar.req-actions>.btn.oc-plain:first-child{margin-left:0}.req-actions .btn.oc-plain,.req-done .btn.oc-plain{height:28px;padding:0 8px;border:0;background:transparent;color:var(--muted);font-size:13px}.req-done{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.req-chip{max-width:100%;height:28px;display:inline-flex;align-items:center;gap:6px;padding:0 10px 0 8px;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-size:13px;line-height:16px;color:var(--text)}.req-chip svg{flex:none}.req-chip-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.req-undone{height:28px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;font-size:13px;color:var(--muted)}.oc-clean .req-composer{display:none}.req-filter{margin-left:auto;display:inline-flex;gap:2px;padding:2px;border-radius:8px;background:var(--panel-2)}.req-filter button{height:24px;padding:0 8px;gap:4px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:13px;font-weight:400}.req-filter button.on,.req-filter button.on:hover:not(:disabled){background:var(--panel);color:var(--text);font-weight:600;box-shadow:0 0 0 1px var(--line)}.req-filter .req-n{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:400}.req-check{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 4px;font-size:13px;color:var(--text);cursor:pointer}.req-check input{width:14px;height:14px;margin:0;accent-color:var(--select)}.req-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.req-item{display:flex;flex-direction:column;gap:2px;padding:8px 0;box-shadow:inset 0 -1px 0 var(--line);font-size:13px;line-height:20px}.req-item:last-child{box-shadow:none}.req-item-head{height:20px;display:flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;text-align:left}.req-item-head:hover:not(:disabled){background:transparent;text-decoration:underline;text-underline-offset:2px}.req-item-head .who{font-size:13px;line-height:16px;font-weight:600}.req-item-head .when{margin-left:auto;font-size:13px;line-height:16px;color:var(--muted)}.req-item-text{overflow-wrap:anywhere}.req-where{font-size:13px;line-height:16px;color:var(--muted)}.req-reply{padding-left:12px;box-shadow:inset 2px 0 0 var(--line);font-size:13px;line-height:20px;color:var(--text)}.req-back{align-self:flex-start;height:28px;margin:4px 0;padding:0 8px 0 4px;gap:4px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px}.pin-layer .pin.req-pin{background:var(--pin-ink);color:#fff;box-shadow:0 0 0 2px var(--accent),0 1px 4px #0000004d}.req-flag{position:absolute;bottom:-7px;right:-16px;height:16px;min-width:20px;padding:0 3px;display:flex;align-items:center;justify-content:center;border-radius:4px;background:var(--accent);color:var(--accent-text);font-size:13px;line-height:16px;font-weight:700}.req-flag .spinner{width:10px;height:10px;border-width:1.5px;color:var(--accent-text)}.pin-layer .pin.req-pin.is-taken{box-shadow:0 0 0 2px var(--line-strong),0 1px 4px #0000004d}.occ-tag.req-tag{box-shadow:inset 0 0 0 1px var(--line-strong)}.oc .board-label:has(.req-tag){container:blabel / inline-size}.req-tag-n{display:none;font-variant-numeric:tabular-nums}.oc .board:is(:hover,.selected,.editing) .board-label .req-tag,.oc .board:is(:hover,.selected,.editing) .board-label .act-tags:has(.req-tag){max-width:none}@container blabel (max-width: 100px){:root:not([lang=ko]) .oc .board:not(:hover,.selected,.editing) .req-tag .act-tag-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root:not([lang=ko]) .oc .board:not(:hover,.selected,.editing) .req-tag .req-tag-n{display:inline}}@container blabel (max-width: 84px){:root[lang=ko] .oc .board:not(:hover,.selected,.editing) .req-tag .act-tag-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:root[lang=ko] .oc .board:not(:hover,.selected,.editing) .req-tag .req-tag-n{display:inline}}.req-count{flex:none;min-width:18px;height:18px;margin-left:2px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:var(--panel);color:var(--text);font-size:13px;line-height:18px;font-weight:700;font-variant-numeric:tabular-nums}.ask-ai.on .req-count,.oc-tabs .req-count{background:var(--text);color:var(--panel)}.req-composer{position:absolute;z-index:22;display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:12px;background:var(--panel);box-shadow:var(--float);line-height:16px}.req-comp-head{display:flex;align-items:center;gap:8px;min-width:0;height:20px;font-size:13px}.req-comp-target{flex:1;min-width:0;display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--text)}.req-comp-target svg{flex:none}.req-comp-target span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.req-comp-title{flex:none;color:var(--muted);white-space:nowrap}.req-composer textarea{display:block;width:100%;height:64px;resize:none;border:0;border-radius:8px;background:var(--panel-2);padding:6px 8px;font-size:13px;line-height:20px;color:var(--text)}.req-composer textarea:focus{outline:2px solid var(--select);outline-offset:-2px}.req-composer textarea::placeholder{color:var(--muted)}.req-comp-foot{display:flex;align-items:center;gap:4px;min-width:0}.req-comp-hint{flex:1;min-width:0;font-size:13px;line-height:16px;color:var(--muted);overflow-wrap:anywhere}.req-comp-foot .btn{height:28px;padding:0 10px;border:0;border-radius:8px;font-size:13px;white-space:nowrap}.req-comp-foot .btn.oc-plain{background:transparent;color:var(--muted)}.req-comp-foot .btn.oc-plain:hover:not(:disabled){background:var(--hover);color:var(--text)}.btn.req-primary,.btn.req-primary:is(:hover,:active):not(:disabled){background:var(--accent);color:var(--accent-text);font-weight:600}.btn.req-primary:hover:not(:disabled){filter:brightness(.94)}.req-intro{gap:6px}.req-intro-title{font-size:13px;line-height:20px;font-weight:600;color:var(--text)}.oc .oc-result.req-mk{width:auto;max-width:320px;padding:4px 4px 4px 12px;display:flex;flex-direction:column;gap:8px}.oc .oc-result.req-mk.is-open{width:320px;padding:6px 6px 10px 12px}.oc .oc-result.req-mk.is-open[data-below=false]{flex-direction:column-reverse;padding:10px 6px 6px 12px}.req-mk-line{align-items:center;min-height:28px}.req-mk-line .dot{margin-top:0;flex:none}.req-mk-line .spinner{flex:none;width:14px;height:14px;color:var(--muted)}.req-mk-ai{flex:none;color:var(--muted)}.oc .req-mk-text{flex:1;min-width:0;height:28px;min-height:0;display:flex;align-items:center;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.req-mk-text .oc-result-text{-webkit-line-clamp:1}.oc .req-mk .req-mk-text:is(:hover,:active,:focus){background:transparent}.oc .req-mk .req-mk-text:focus-visible{outline:2px solid var(--select);outline-offset:2px;border-radius:4px}.req-mk:is(.is-waiting,.is-taken) .req-mk-text .oc-result-text{color:var(--muted)}.req-mk.is-open.is-done .req-mk-text .oc-result-text{-webkit-line-clamp:4}.req-mk-n{flex:none;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--panel-2);color:var(--text);font-size:13px;line-height:20px;text-align:center}.req-mk-more{display:flex;flex-direction:column;gap:10px;padding-right:6px}.req-mk-row{display:flex;flex-direction:column;gap:4px}.req-mk-rows{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}.req-mk-item{display:flex;align-items:flex-start;gap:8px;padding:6px 0}.req-mk-item+.req-mk-item{border-top:1px solid var(--line)}.req-mk-item>.spinner,.req-mk-item>svg,.req-mk-item>.dot{flex:none;margin-top:7px}.req-mk-item>.spinner{width:14px;height:14px;margin-top:3px;color:var(--muted)}.req-mk-item>svg{margin-top:3px;color:var(--muted)}.req-mk-item-text{flex:1;min-width:0}.req-mk-ask.is-own{color:var(--text);line-height:20px}.req-mk-sub{margin:0;font-size:13px;line-height:20px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.req-mk-item-act{flex:none;display:inline-flex;align-items:center;gap:2px}.req-mk-item-act .btn{height:24px;padding:0 8px;font-size:13px}.req-mk-item-act .btn.oc-plain{border:0;background:transparent;color:var(--muted)}.req-mk-item-act .btn.oc-plain:hover{background:var(--hover);color:var(--text)}.req-mk-ask{margin:0;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.req-mk-state{margin:0;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text)}.req-mk-state .spinner{flex:none;width:14px;height:14px;color:var(--muted)}.req-mk-state .dot{flex:none}.req-mk-how{margin:0;display:flex;align-items:center;gap:4px;font-size:13px;color:var(--text)}.req-mk-how span{flex:1;min-width:0;word-break:keep-all}.req-mk .oc-result-acts{margin-top:4px;align-items:center}.req-mk .req-undone{font-size:13px;color:var(--muted)}.box.req-out{outline:var(--px, 1px) dashed var(--accent);outline-offset:calc(var(--px, 1px) * 2)}.oc .req-mk .icon-btn.sm{width:28px;height:28px;border:0;border-radius:8px;color:var(--muted)}.oc .req-mk .icon-btn.sm:hover{background:var(--hover);color:var(--text)}.oc .req-mk-line{align-items:center}.oc .req-mk-line>:is(svg,.spinner,.dot){flex:none;align-self:center}.req-mk-item{align-items:flex-start}.req-mk-item>:is(svg,.spinner){margin-top:3px!important}.req-mk-item>.dot{margin-top:6px!important}.oc .req-mk .btn.req-mk-copy{flex:none;display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 8px;font-size:13px}.req-mk-how{gap:8px}.oc button.req-mk-ask{display:block;width:100%;height:auto;min-height:0;padding:0;border:0;background:none;font:inherit;font-size:13px;line-height:20px;text-align:left;cursor:pointer}.oc button.req-mk-ask:hover{text-decoration:underline;background:none}.req-mk .req-mk-cmt{margin-left:auto}.req-mk .oc-result-acts .btn.oc-plain{border:0;background:transparent;color:var(--muted)}.req-mk .oc-result-acts .btn.oc-plain:hover{background:var(--hover);color:var(--text)}.pin-layer .pin.req-pin.is-done{background:var(--panel);color:var(--muted);box-shadow:0 0 0 1.5px var(--line-strong),0 1px 4px #0003}.pin-layer .pin.req-pin.is-done .req-flag{background:var(--panel-2);color:var(--ok);box-shadow:inset 0 0 0 1px var(--line-strong)}.pin-layer .pin.req-pin.is-failed .req-flag{background:var(--panel-2);color:var(--warn-text, var(--text));box-shadow:inset 0 0 0 1px var(--line-strong)}.occ-tag.req-tag.is-button{cursor:pointer;font:inherit;font-size:13px;font-weight:600}.occ-tag.req-tag.is-button:hover{background:var(--hover)}.occ-tag.req-tag .spinner{width:14px;height:14px;color:var(--muted)}:root{--bg: #ebeae6;--panel: #ffffff;--panel-2: #f6f5f2;--hover: #efeee9;--pressed: #e4e3dd;--line: #dddcd6;--line-strong: #8a8982;--text: #111111;--muted: #5c5c58;--accent: #b84608;--accent-weak: #fbeadf;--accent-text: #ffffff;--select: #1f5fd6;--select-weak: #dfe8fb;--select-text: #ffffff;--ok: #1e7a4c;--warn: #b42318;--sticky: #fff1a8;--shadow-1: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .06);--shadow-2: 0 8px 28px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .06);--r-sm: 4px;--r: 8px;--r-lg: 12px;--pill: 999px;--float: 0 0 0 1px rgba(17, 17, 17, .05), 0 1px 3px rgba(17, 17, 17, .04), 0 10px 28px -12px rgba(17, 17, 17, .15);--frame-rest: 0 0 0 1px rgba(17, 17, 17, .05), 0 8px 24px -12px rgba(17, 17, 17, .16);--chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 14 14' fill='none' stroke='%23111111' stroke-width='1' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M5.5 7L9 10.5L12.5 7'/%3E%3C/svg%3E");--sw-ring: rgba(17, 17, 17, .14);--box-ring: var(--line-strong);--map-view: rgba(17, 17, 17, .56);--map-board: rgba(17, 17, 17, .22);--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;--pin-ink: #14161a;--oc-bubble: var(--panel-2);--t-state: .1s;--t-in: .18s;--t-out: .12s;--ease-appear: cubic-bezier(.2, 0, 0, 1);--ease-leave: cubic-bezier(.4, 0, 1, 1);color-scheme:light;font-family:Pretendard Variable,Pretendard,-apple-system,Apple SD Gothic Neo,Noto Sans KR,sans-serif;font-size:13px;line-height:1.4;color:var(--text)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #161615;--panel: #232322;--panel-2: #2c2c2a;--hover: #323230;--pressed: #3b3b39;--line: #383835;--line-strong: #7a7a73;--text: #f3f3f0;--muted: #a9a9a3;--accent: #f07a3a;--accent-weak: #44291a;--accent-text: #111111;--select: #6f9df5;--select-weak: #213258;--select-text: #111111;--ok: #5cc28e;--warn: #ff8a7a;--sticky: #e9d97a;--shadow-2: 0 8px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);--float: 0 0 0 1px rgba(255, 255, 255, .07), 0 1px 3px rgba(0, 0, 0, .28), 0 12px 32px -12px rgba(0, 0, 0, .56);--frame-rest: 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 24px -12px rgba(0, 0, 0, .64);--chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 14 14' fill='none' stroke='%23f3f3f0' stroke-width='1' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M5.5 7L9 10.5L12.5 7'/%3E%3C/svg%3E");--sw-ring: rgba(255, 255, 255, .24);--box-ring: #8f8f88;--map-view: rgba(243, 243, 240, .6);--map-board: rgba(243, 243, 240, .22);--oc-bubble: var(--hover);color-scheme:dark}}:root[data-theme=dark]{--bg: #161615;--panel: #232322;--panel-2: #2c2c2a;--hover: #323230;--pressed: #3b3b39;--line: #383835;--line-strong: #7a7a73;--text: #f3f3f0;--muted: #a9a9a3;--accent: #f07a3a;--accent-weak: #44291a;--accent-text: #111111;--select: #6f9df5;--select-weak: #213258;--select-text: #111111;--ok: #5cc28e;--warn: #ff8a7a;--sticky: #e9d97a;--shadow-2: 0 8px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);--float: 0 0 0 1px rgba(255, 255, 255, .07), 0 1px 3px rgba(0, 0, 0, .28), 0 12px 32px -12px rgba(0, 0, 0, .56);--frame-rest: 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 24px -12px rgba(0, 0, 0, .64);--chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 14 14' fill='none' stroke='%23f3f3f0' stroke-width='1' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M5.5 7L9 10.5L12.5 7'/%3E%3C/svg%3E");--sw-ring: rgba(255, 255, 255, .24);--box-ring: #8f8f88;--map-view: rgba(243, 243, 240, .6);--map-board: rgba(243, 243, 240, .22);--oc-bubble: var(--hover);color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;overflow:hidden;background:var(--bg)}button,select,input,textarea{font:inherit;color:inherit}button{height:32px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel);color:var(--text);cursor:pointer;display:inline-flex;align-items:center;gap:4px;transition:background-color 80ms,border-color 80ms}button:hover:not(:disabled){background:var(--hover);border-color:var(--line-strong)}button:active:not(:disabled){background:var(--pressed)}button:disabled{opacity:.4;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}button.primary:hover:not(:disabled){background:var(--accent);filter:brightness(.94);border-color:var(--accent)}button.danger.primary{background:var(--warn);border-color:var(--warn);color:#fff}:focus-visible{outline:2px solid var(--select);outline-offset:1px}select,input[type=text],input:not([type]),input[inputmode]{height:28px;border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--panel);padding:0 8px}kbd{font:13px/1 inherit;color:var(--muted);padding:2px 4px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--panel-2)}.muted{color:var(--muted)}.icon-btn{width:32px;height:32px;padding:0;justify-content:center;border-color:transparent;background:transparent;flex:none}.icon-btn.sm{width:24px;height:24px;border-radius:var(--r-sm)}.icon-btn.on{background:var(--pressed);color:var(--text);border-color:transparent}.icon-btn.on:hover:not(:disabled){background:var(--pressed);border-color:transparent}.icon-btn.danger:hover:not(:disabled){color:var(--warn)}.loading{height:100%;display:flex;gap:8px;align-items:center;justify-content:center;color:var(--muted)}.spinner{width:16px;height:16px;border:2px solid color-mix(in srgb,currentColor 25%,transparent);border-top-color:currentColor;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app{height:100%}.spacer{flex:1}.zoom{min-width:56px;justify-content:center;border-color:transparent;background:transparent;font-variant-numeric:tabular-nums;color:var(--muted);padding:0 4px}.warn{color:var(--warn);white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.canvas-wrap{position:relative;flex:1;min-width:0;display:flex}.canvas{position:relative;flex:1;overflow:hidden;cursor:default;touch-action:none}.canvas.tool-hand,.pan-capture{cursor:grab}.canvas.tool-board{cursor:crosshair}.canvas.tool-title,.canvas.tool-sticky{cursor:copy}.pan-capture{position:absolute;top:0;right:0;bottom:0;left:0;z-index:50}.world{position:absolute;left:0;top:0;transform-origin:0 0}.guide{position:absolute;background:var(--select);pointer-events:none;z-index:5}.marquee{position:absolute;border:solid var(--select);background:color-mix(in srgb,var(--select) 8%,transparent);pointer-events:none}.draft-board{position:absolute;border:dashed var(--select);background:color-mix(in srgb,var(--panel) 70%,transparent);pointer-events:none}.canvas-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--muted);pointer-events:none}.canvas-empty p{margin:0;font-size:15px}.canvas-empty button{pointer-events:auto}.board{position:absolute}.board-label{position:absolute;left:0;bottom:100%;transform-origin:0 100%;display:flex;align-items:center;gap:4px;height:28px;padding:0 0 4px;white-space:nowrap;cursor:grab;-webkit-user-select:none;user-select:none;color:var(--muted)}.board.selected .board-label{color:var(--select)}.board-title{font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis}.board-label.tiny .board-title,.board-label.tiny .board-file,.board-label.tiny .dot{display:none}.board.selected .board-title{color:var(--select)}.board-file{overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;opacity:0;transition:opacity 80ms}.board:hover .board-file,.board.selected .board-file,.board.editing .board-file{opacity:1}.board-btns{display:flex;gap:2px;margin-left:auto;flex:none;opacity:0;transition:opacity 80ms}.board:hover .board-btns,.board.selected .board-btns,.board.editing .board-btns{opacity:1}.board-btns:has(>.board-play.always),.board.playing .board-btns{opacity:1}.board-btns .icon-btn{background:var(--panel);border-color:var(--line)}.lab-row>.dot{width:8px;height:8px;border-radius:50%;background:var(--ok);flex:none}.board-frame{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;overflow:hidden;box-shadow:var(--shadow-1)}.board.frameless .board-frame{box-shadow:none;background:transparent}.board:hover:not(.selected) .board-frame{box-shadow:0 0 0 2px var(--line-strong)}.board.selected .board-frame{box-shadow:0 0 0 3px var(--select)}.board:not(.playing) .board-frame{cursor:default;user-select:none;-webkit-user-select:none}.board.editing .board-frame{box-shadow:0 0 0 1px var(--select)}.board.editing{z-index:5}.board-frame iframe{width:100%;height:100%;border:0;display:block;background:#fff}.board-placeholder,.board-missing{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;color:#5c5c58;background:#f7f6f3;word-break:keep-all}.board-missing{color:#b42318}.board-resize{position:absolute;border:solid var(--select);background:var(--panel);border-radius:2px;cursor:nwse-resize}.note{position:absolute;cursor:grab;-webkit-user-select:none;user-select:none}.note-title .note-text{font-size:72px;font-weight:700;line-height:1.1;letter-spacing:-.02em;white-space:pre-wrap;color:var(--text)}.note-sticky{background:var(--sticky);color:#111;padding:16px 20px;box-shadow:0 2px 6px #0000001f;display:flex;flex-direction:column}.note-sticky .note-text{flex:1;min-height:0;overflow:auto}.note-title{overflow:visible;width:max-content}.note-sticky .note-text{font-size:22px;line-height:1.45;white-space:pre-wrap}.note.selected{outline:3px solid var(--select);outline-offset:6px}.note-text[contenteditable=true]{cursor:text;-webkit-user-select:text;user-select:text;outline:none}.note-del{position:absolute;right:-16px;top:-16px;border-radius:16px;transform-origin:100% 0;background:var(--panel);border-color:var(--line)}.sec-head{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 8px 0 12px;font-weight:600;font-size:13px;color:var(--muted)}.warn-icon{color:var(--warn);flex:none}.mm-board{fill:var(--line-strong)}.oc-map.many .mm-board{opacity:.35}.mm-sel{fill:var(--select)}.mm-view{fill:color-mix(in srgb,var(--select) 10%,transparent);stroke:var(--select);stroke-width:1.5}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.oc-row,.menu-zoom{flex-wrap:nowrap}button.link{border:0;background:none;padding:0;height:auto;color:var(--accent);cursor:pointer;align-self:flex-start}button.link:hover:not(:disabled){background:none;text-decoration:underline}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.num{display:flex;align-items:center;height:28px;border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden;background:var(--panel)}.num:focus-within{border-color:var(--select)}.num span{width:44px;flex:none;padding-left:8px;color:var(--muted);font-size:13px}.num input{flex:1;min-width:0;border:0;height:26px;outline:none;background:transparent;font-variant-numeric:tabular-nums;padding:0 8px 0 0}.check{display:flex;align-items:center;gap:8px;min-height:28px;cursor:pointer}.check input{width:16px;height:16px;accent-color:var(--select);margin:0}.field-row{display:grid;grid-template-columns:56px 1fr;align-items:center;gap:8px;color:var(--muted)}.btn-row{display:flex;gap:4px}.btn-row .icon-btn{border-color:var(--line)}.board-opts .btn-row .icon-btn.danger{margin-left:auto}.more-css .field{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:4px 8px}.more-css .field span:first-child{color:var(--muted);font-size:13px}.more-css .field input,.more-css .field select{width:100%;height:28px;border:0;border-radius:var(--r);padding:0 8px;background:var(--panel-2)}.swatches{grid-column:2;display:flex;gap:4px}.swatch{width:20px;height:20px;padding:0;border-radius:var(--r-sm);border:1px solid var(--line)}.swatch.on{outline:2px solid var(--select);outline-offset:1px}.layer-tree,.layer-tree ul{list-style:none;margin:0;padding:0}.layer{display:flex;align-items:center;gap:4px;height:24px;border-radius:var(--r-sm);cursor:pointer;white-space:nowrap;overflow:hidden}.layer:hover{background:var(--hover)}.layer.on{background:var(--select-weak)}.layer.over{box-shadow:inset 0 2px 0 var(--select)}.twisty{width:16px;height:16px;padding:0;border:0;background:none;font-size:10px;flex:none}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.pin-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2}.pin-layer .pins{display:contents}.oc .pin-layer .pins button.pin{pointer-events:none;cursor:pointer;min-width:0;height:24px;padding:0;border:0;justify-content:center;font:inherit;font-size:13px;font-weight:600}.oc .pin-layer .pins.live button.pin{pointer-events:auto}.oc .pin-layer button.pin:focus-visible{outline:2px solid var(--select);outline-offset:2px}.oc .pin-layer .pins.live button.pin:hover{outline:2px solid color-mix(in srgb,var(--select) 55%,transparent);outline-offset:1px}.oc .pin-layer .pins button.pin.on{background:var(--select);color:var(--select-text)}.box{position:absolute;pointer-events:none}.box.hover{outline:var(--px, 1px) solid var(--select);background:color-mix(in srgb,var(--select) 6%,transparent)}.box.sel{outline:calc(var(--px, 1px) * 2) solid var(--select)}.box.marquee-el{outline:var(--px, 1px) solid var(--select);background:color-mix(in srgb,var(--select) 8%,transparent)}.pin{position:absolute;width:24px;height:24px;border-radius:12px 12px 12px 2px;background:var(--accent);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;transform-origin:0 100%;box-shadow:0 1px 4px #0000004d}.play,.focus{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#111111c7;display:flex;flex-direction:column;align-items:center}.play-bar,.focus-bar{width:100%;height:48px;flex:none;display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--panel);border-bottom:1px solid var(--line)}.play-frame{flex:1;margin:16px 0;border:0;border-radius:var(--r-lg);background:#fff;box-shadow:var(--shadow-2)}.focus{background:var(--bg)}.focus-stage{flex:1;width:100%;min-height:0;display:flex;align-items:center;justify-content:center;padding:24px}.focus-stage.fill{padding:0}.focus-frame{overflow:hidden;background:#fff;box-shadow:var(--shadow-2);flex:none}.focus-frame iframe{border:0;display:block;background:#fff}.focus-fill{width:100%;height:100%;border:0;background:#fff}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.small{font-size:13px}.err-chip{height:32px;border-color:transparent;background:color-mix(in srgb,var(--warn) 12%,transparent);color:var(--warn);font-weight:600}.err-chip:hover:not(:disabled){background:color-mix(in srgb,var(--warn) 18%,transparent);border-color:transparent}button.danger{color:var(--warn)}.dot{width:8px;height:8px;border-radius:4px;flex:none;background:var(--line-strong)}.dot.ready{background:var(--ok)}.dot.signin,.dot.missing{background:var(--warn)}.menu-foot{display:flex;align-items:center;gap:8px;height:36px;margin:4px -8px -8px;padding:0 16px;box-shadow:inset 0 1px 0 var(--line);font-size:13px;line-height:16px;color:var(--muted)}.menu-foot button.link{font-size:13px;align-self:center}:root{--agent-claude: #d97757;--agent-codex: #10a37f;--agent-cursor: #6b7280;--agent-gemini: #4285f4}.idot{width:8px;height:8px;border-radius:4px;flex:none;display:inline-block}.mono{font-family:var(--mono)}.rr-conflict{display:flex;flex-direction:column;gap:6px;padding-top:6px;border-top:1px solid var(--line)}.rr-conflict p{margin:0;font-size:13px;line-height:1.45}@keyframes pulse{50%{opacity:.45}}.dialog.cmp{width:min(1100px,calc(100vw - 32px));height:min(760px,calc(100vh - 32px));padding:16px}.cmp-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cmp-head .icon-btn{width:28px;height:28px;border:0;border-radius:8px;color:var(--text)}.dialog.cmp .chips{display:flex;flex-wrap:wrap;gap:2px}.cmp-tab{height:28px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;line-height:16px}.cmp-tab.on,.cmp-tab.on:hover:not(:disabled){background:var(--pressed);color:var(--text);font-weight:600}.cmp-panes{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.cmp-pane{margin:0;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}.cmp-pane figcaption{font-size:13px;line-height:16px;font-weight:600;color:var(--muted)}.cmp-stage{flex:1;min-height:0;border-radius:8px;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden}.cmp-frame{position:relative;overflow:hidden;box-shadow:var(--frame-rest);background:#fff}.cmp-frame iframe{position:absolute;left:0;top:0;border:0;transform-origin:0 0;background:#fff}@media(max-width:720px){.cmp-panes{grid-template-columns:1fr;grid-template-rows:1fr 1fr}}.el-move{position:absolute;width:24px;height:20px;padding:0;justify-content:center;border-radius:var(--r-sm) var(--r-sm) 0 0;border:0;background:var(--select);color:#fff;transform-origin:0 100%;pointer-events:auto;cursor:grab}.el-move:hover:not(:disabled){background:var(--select);filter:brightness(.94)}.el-resize{position:absolute;background:var(--panel);border:solid var(--select);border-radius:2px;pointer-events:auto}.el-resize.e{cursor:ew-resize}.el-resize.s{cursor:ns-resize}.el-resize.se{cursor:nwse-resize}.drag-ghost{position:absolute;outline:2px dashed var(--select);background:color-mix(in srgb,var(--select) 8%,transparent);pointer-events:none}.drop-line{position:absolute;background:var(--select);pointer-events:none;border-radius:1px}.assets{flex:1;min-height:0;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:8px;border-radius:var(--r)}.assets.over{outline:2px dashed var(--select);outline-offset:-4px}.upload{display:flex;align-items:center;justify-content:center;gap:4px;min-height:40px;border:1px dashed var(--line-strong);border-radius:var(--r);color:var(--muted);cursor:pointer;font-size:13px;padding:4px 8px;text-align:center}.upload:hover{background:var(--hover)}.asset-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}.asset{width:100%;height:auto;padding:4px;flex-direction:column;align-items:stretch;gap:4px;border-radius:var(--r)}.asset img,.asset-font{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r-sm);background:var(--panel-2);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700}.asset-name{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.dialog.wide{width:640px;max-height:calc(100vh - 64px)}.dialog.wide .assets{max-height:60vh}.oc-left .assets .empty{padding:4px}.shape{position:absolute;cursor:grab}.shape.selected{outline:2px solid var(--select);outline-offset:4px}.shape-resize,.note-resize{position:absolute;border:solid var(--select);background:var(--panel);border-radius:2px;cursor:nwse-resize}.shape-drawer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;cursor:crosshair;touch-action:none}.swatch.none{background:linear-gradient(135deg,transparent 45%,var(--warn) 45%,var(--warn) 55%,transparent 55%),var(--panel)}.layout-guides{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2}.lg-track{position:absolute}.lg-grid{position:absolute;top:0;right:0;bottom:0;left:0}.guide-row{display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid var(--line);border-radius:var(--r)}.guide-head{display:flex;align-items:center;gap:8px}.guide-head input[type=color]{width:24px;height:24px;padding:0;border:1px solid var(--line);border-radius:var(--r-sm);background:none}.span2{grid-column:1 / -1}.tokens{flex:1;min-height:0;overflow-y:auto;padding:0 12px 16px;display:flex;flex-direction:column;gap:8px}.tokens .sec-head{padding:0}.theme-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.theme-row select,.theme-row input{width:100%;min-width:0}.tok-colors{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.tok-colors li{display:grid;grid-template-columns:28px 1fr auto 24px;gap:8px;align-items:center}.tok-colors input[type=color]{width:28px;height:28px;padding:0;border:1px solid var(--line);border-radius:var(--r-sm);background:none}.tok-colors input:not([type]){min-width:0}.tok-colors code{font-size:13px;color:var(--muted)}.tok-list{grid-template-columns:72px 1fr}.tok-list input{min-width:0;width:100%}.check-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.check-item{width:100%;height:auto;min-height:32px;padding:4px 8px;border:0;background:transparent;gap:8px;text-align:left;align-items:flex-start;color:var(--text);font-size:13px}.check-item svg{color:var(--warn);flex:none;margin-top:2px}.check-item span{flex:1;min-width:0}.check-item code{color:var(--muted);font-size:13px;flex:none}.ok-line{display:flex;align-items:center;gap:4px;margin:0;color:var(--ok);font-size:13px}.tw-num{display:flex;gap:8px;align-items:center}.tw-num input{flex:1}.tok-warn{color:var(--warn);cursor:help}.ratio{grid-column:2;font-size:13px;font-weight:600}.ratio.ok{color:var(--ok)}.ratio.mid{color:#9a6700}.ratio.bad{color:var(--warn)}.chips-row{grid-column:2;display:flex;flex-wrap:wrap;gap:4px}.tchip{height:24px;min-width:32px;padding:0 6px;font-size:13px;justify-content:center;border-radius:12px}.tchip.on{background:var(--pressed);border-color:transparent;color:var(--text)}.replies{list-style:none;margin:4px 0 0 12px;padding:0 0 0 8px;border-left:2px solid var(--line);display:flex;flex-direction:column;gap:8px}.reply-box{display:flex;flex-direction:column;gap:4px;margin-top:4px}.theme-pick select{height:32px;max-width:160px}.board-placeholder{position:relative;overflow:hidden}.board-placeholder span{position:relative}.board-thumb{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transition:opacity .16s}.board-thumb.loaded{opacity:1}.board-thumb.loaded+span{display:none}.board-placeholder.loading{background:linear-gradient(180deg,#f7f6f3,#efede8)}.board-placeholder.far{background:repeating-linear-gradient(135deg,#f7f6f3 0,#f7f6f3 14px,#efede8 14px,#efede8 16px);color:#8a8982}.board-placeholder.far .ph-title:after{content:attr(data-hint);display:block;font-size:.75em;font-weight:400;margin-top:.4em}.ph-bar{position:absolute;left:0;bottom:0;width:100%;background:var(--pressed);overflow:hidden}.ph-bar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;width:35%;background:var(--line-strong);animation:ph-slide 1.2s ease-in-out infinite}.board-thumb.loaded~.ph-bar{display:none}@keyframes ph-slide{0%{transform:translate(-100%)}to{transform:translate(300%)}}@media(prefers-reduced-motion:reduce){.ph-bar:after{animation:none;width:100%;opacity:.4}}.board.playing .board-frame{box-shadow:0 0 0 4px var(--ok)}.export-badge{position:absolute;right:8px;top:8px;transform-origin:100% 0;background:var(--panel);color:var(--text);box-shadow:var(--float);font-size:13px;font-weight:700;padding:4px 8px;border-radius:12px;pointer-events:none}.playing-badge{position:absolute;right:8px;top:8px;transform-origin:100% 0;background:var(--ok);color:#fff;font-size:13px;font-weight:700;padding:4px 8px;border-radius:12px;pointer-events:none}.layer-tree:focus-visible{outline:2px solid var(--select);outline-offset:2px;border-radius:var(--r-sm)}.layer-tree:focus .layer.kbd-focus{box-shadow:inset 0 0 0 1px var(--select)}.num span{width:auto;min-width:44px;padding-right:8px;white-space:nowrap}.guides-editor .sec-head .icon-btn.sm{width:auto;padding:0 6px;white-space:nowrap}.guides-editor .sec-head{gap:8px}.ask-ai{height:32px;padding:0 12px;gap:6px;border-radius:16px;border-color:transparent;background:var(--accent);color:var(--accent-text);font-weight:600;white-space:nowrap}.ask-ai:not(.on):hover:not(:disabled){background:color-mix(in srgb,var(--accent) 88%,var(--text));border-color:transparent}.ask-ai:not(.on):active:not(:disabled){background:color-mix(in srgb,var(--accent) 76%,var(--text))}.ask-ai.on{background:var(--pressed);color:var(--text)}.ask-ai.on:hover:not(:disabled){background:var(--pressed)}.ask-ai-label{white-space:nowrap}.swap-label{display:inline-grid;justify-items:center;gap:inherit;white-space:nowrap}.swap-label>span{grid-area:1 / 1;display:inline-flex;align-items:center;gap:inherit}.swap-label>span+span{visibility:hidden}.etb-item{display:contents}.menu.pop{position:absolute;z-index:40;width:272px;min-width:0;padding:10px;display:flex;flex-direction:column;gap:10px}.pop-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;padding-bottom:8px;border-bottom:1px solid var(--line)}.pop-top .muted{font-size:13px}.pop-h{font-size:13px;font-weight:600;color:var(--muted)}.fill-picker{display:flex;flex-direction:column;gap:10px}.tok-row{display:flex;flex-wrap:wrap;gap:6px}.tok{display:flex;flex-direction:column;align-items:center;gap:4px;width:40px;height:auto;padding:0;border:0;background:none;font-size:13px;color:var(--muted)}.tok:hover:not(:disabled){background:none;color:var(--text)}.tok i{width:30px;height:30px;border-radius:var(--r-sm);border:1px solid rgba(0,0,0,.12);display:block}.tok span{max-width:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tok.on i{outline:2px solid var(--select);outline-offset:1px}.tok.on{color:var(--text);font-weight:600}.pop-sep{height:1px;background:var(--line)}.custom-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600}.hex{display:flex;gap:6px;align-items:center}.hex .num{flex:1;min-width:0;font:13px ui-monospace,SFMono-Regular,Menlo,monospace}.hex .sw{width:28px;height:28px;padding:0;border-radius:var(--r-sm);border:1px solid var(--line);background:none;cursor:pointer}.pop-field{display:flex;flex-direction:column;gap:6px}.pop-field select{width:100%}.stepper{display:flex;align-items:center;gap:4px}.stepper input{flex:1;min-width:0;text-align:center;font-variant-numeric:tabular-nums}.stepper .icon-btn{border-color:var(--line)}.pop .chips-row{grid-column:auto}.crumb{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--muted);flex-wrap:wrap;min-width:0}.crumb b{font-weight:400;color:var(--text);overflow-wrap:anywhere}.crumb button.link{color:var(--muted);align-self:auto}.crumb button.link:hover:not(:disabled){color:var(--text)}.crumb-step{display:inline-flex;gap:4px}.contrast{font-size:13px;font-weight:400}.contrast.ok{color:var(--ok)}.contrast.mid{color:#9a6700}.contrast.bad{color:var(--warn)}.more-css{display:flex;flex-direction:column;gap:8px}.row-file,.collapsible-count,.board-btns .use-label,.fork-caption,.asset-name,.tok-colors code,.check-item code,.ratio,.tchip,.layer .tag,.playing-badge{font-size:13px}.app.oc{position:relative;height:100%;overflow:hidden}.oc .canvas-wrap{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.oc-card,.oc-dock,.oc .etb,.oc .canvas-hint,.menu{line-height:16px}.oc{--rest-h: 48px;--bar-h: 48px;--dock-h: 48px;--dock-btn: 36px;--dock-pad: 6px;--dock-gap: 2px;--ctx-h: 36px;--ctx-bottom: 68px;--card-pad: 16px;--group-pad: 8px;--row-h: 32px;--foot-h: 48px}.oc.oc-pane{--bar-h: 40px;--rest-h: 32px;--dock-h: 36px;--dock-btn: 28px;--dock-pad: 4px;--dock-gap: 4px;--ctx-h: 32px;--ctx-bottom: 56px}.oc.oc-pane.oc-n{--ctx-bottom: 52px}.oc-card{position:absolute;z-index:20;display:flex;flex-direction:column;background:var(--panel);border-radius:12px;box-shadow:var(--float);overflow:hidden}.oc-ib{width:28px;height:28px;border-radius:8px;color:var(--muted)}.oc-ib.on{background:transparent;color:var(--muted)}.oc-tabs{flex:none;display:flex;align-items:center;gap:2px;height:36px;padding:0 8px}.oc-tabs button{height:28px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:400;line-height:16px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.oc-tabs button.on{background:var(--pressed);color:var(--text);font-weight:600}.oc-tabs kbd{padding:0;border:0;background:none;font:400 12px/16px inherit;color:var(--muted)}.oc-tabs .oc-close{margin-left:auto;width:28px;padding:0;justify-content:center;color:var(--muted)}.oc-sec{flex:none;display:flex;align-items:center;justify-content:space-between;height:28px;padding:0 8px 0 16px;font-size:13px;font-weight:600;color:var(--text)}.oc-count{margin-left:4px;font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums}.oc-empty{margin:0;padding:0 16px 8px;font-size:13px;line-height:16px;color:var(--muted)}.oc-left{left:12px;top:12px;width:240px;padding-bottom:8px}.oc-left.is-collapsed{padding-bottom:0}.oc-head{flex:none;display:flex;align-items:center;gap:4px;height:var(--bar-h);padding:0 8px}.oc-project{flex:1;min-width:0;height:28px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left}.oc-project .app-title{min-width:0;font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-project svg{flex:none}.oc-head:has(.oc-page) .oc-project{flex:0 1 auto;min-width:40px}.oc-page{flex:0 0 auto;min-width:0;max-width:128px;height:28px;display:inline-flex;align-items:center;gap:4px;margin-right:auto;padding:0 6px 0 8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:400}.oc-page .oc-page-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-page svg{flex:none}.oc-page:hover{color:var(--text)}.oc-head:has(.oc-page) .oc-ib{flex:none}.oc-head:has(.oc-page) .oc-vtitle{flex:0 1 auto}.menu-row{display:flex;align-items:center;border-radius:8px}.menu-row>.menu-item{flex:1;min-width:0}.menu-row>.menu-item .menu-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-row .menu-more{flex:none;width:28px;height:28px;margin-left:-32px;margin-right:4px;border:0;border-radius:6px;color:var(--muted);opacity:0}.menu-row:is(:hover,.active) .menu-more,.menu-row .menu-more:focus-visible{opacity:1}.menu-row:has(.menu-more)>.menu-item{padding-right:36px}.pages-menu{width:260px}.oc-status{flex:none;display:flex;align-items:center;gap:8px;min-height:28px;margin:0 8px 8px}.oc-status .warn{font-size:13px;white-space:normal}.oc-search{flex:none;display:flex;align-items:center;gap:8px;height:28px;margin:0 8px 4px;padding:0 8px;border-radius:8px;background:var(--panel-2);color:var(--muted);font-size:13px}.oc-search svg{flex:none}.oc-search input{flex:1;min-width:0;height:28px;padding:0;border:0;background:transparent;color:var(--text);outline:none}.oc-search input::placeholder{color:var(--muted)}.oc-list{list-style:none;margin:0;padding:0 8px;display:flex;flex-direction:column}.oc-list .oc-list{padding:0}.oc-row{width:100%;display:flex;align-items:center;gap:8px;height:var(--row-h);padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left}.oc-row .row-title{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.oc-row .row-file{flex:0 0 auto;max-width:60%;margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:13px var(--mono);color:var(--muted)}.oc-row .occ-dot{margin-left:-2px}.oc-row .occ-dot+.row-file,.oc-row .warn-icon+.row-file{margin-left:auto}.oc-row .row-count{margin-left:auto;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.oc-row[draggable=true],li[draggable=true]>.oc-row{cursor:grab}.oc-row.drop-before{box-shadow:inset 0 2px 0 var(--select)}.row.on{background:var(--select-weak);color:var(--text);font-weight:600}.row.on .row-file{color:var(--muted);font-weight:400}.oc-row.group-head{cursor:pointer;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}.oc-row.group-head .chev{flex:none;transition:transform var(--t-state)}.group.open>.group-head .chev{transform:rotate(90deg)}.oc-row .group-more{opacity:0;flex:none;width:24px;height:24px}.oc-row.group-head:hover .group-more,.oc-row .group-more:focus-visible{opacity:1}.oc-left .left-pages{flex:none;max-height:40%;overflow-y:auto}.oc-left .left-boards{flex:0 1 auto;min-height:0;display:flex;flex-direction:column}.oc-left .board-list{flex:0 1 auto;min-height:0;overflow-y:auto}.oc-left .left-pages+.left-boards{margin-top:0}.oc-left.is-tall .assets,.oc-left.is-tall .tokens{flex:1;min-height:0}.oc-nav{left:12px;bottom:12px;width:240px;height:auto}.oc-nav.is-collapsed{height:auto}.oc-nav.is-collapsed .oc-zoom{box-shadow:none}.oc-zoom.is-over{position:absolute;left:0;right:0;bottom:0;height:32px;padding:0 4px;background:transparent;box-shadow:none;pointer-events:none}.oc-zoom.is-over>*{pointer-events:auto}.oc-zoom.is-over :is(.icon-btn,.zoom){color:var(--muted);transition:color var(--t-state)}.oc-nav:is(:hover,:focus-within) .oc-zoom.is-over :is(.icon-btn,.zoom){color:var(--text)}.oc-map{flex:none;background:var(--panel-2);cursor:pointer;overflow:hidden}.oc-map svg{display:block}.oc-map .mm-board{fill:var(--map-board)}.oc-map .mm-sel{fill:var(--select)}.oc-map .mm-view{fill:none;stroke:var(--map-view);stroke-width:1}.oc-zoom{flex:none;display:flex;align-items:center;height:var(--rest-h);padding:0 8px;box-shadow:inset 0 1px 0 var(--line)}.oc-zoom .zoom,.menu-zoom .zoom{width:44px;min-width:0;height:28px;padding:0;justify-content:center;border:0;border-radius:8px;background:transparent;font-size:13px;color:var(--text);font-variant-numeric:tabular-nums}.oc-zoom .oc-fit{margin-left:auto}.oc-right{right:12px;top:12px;width:288px;height:calc(100% - 24px);transition:height var(--t-in) var(--ease-appear)}.oc-right.is-rest{height:var(--bar-h)}.oc-rhead{flex:none;display:flex;align-items:center;gap:4px;height:var(--bar-h);padding:0 6px 0 8px}.oc-rhead .share-btn{height:32px;padding:0 10px 0 8px;gap:6px;border:0;border-radius:16px;background:transparent;font-weight:600}.oc-rhead .ask-ai{margin-left:auto;height:32px;padding:0 12px;gap:6px;justify-content:center}.oc-rhead .icon-btn{width:32px;height:32px;border-radius:16px;color:var(--text)}.oc-rhead .icon-btn.on{background:var(--pressed);color:var(--text)}.oc-right .chat-wrap{flex:1;min-height:0;display:flex;flex-direction:column}.oc-right .chat-wrap[hidden]{display:none}.oc .oc-right.is-fit{height:auto}.oc-right.is-fit>.pp,.oc-right.is-fit .pp-scroll{flex:0 1 auto}.oc-pane .oc-right{transition:none}.oc-cmt .c-open{display:block;width:100%;height:auto;min-height:20px;padding:0;border:0;border-radius:4px;background:none;color:var(--text);font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.oc-cmt .c-open:hover:not(:disabled){background:none;text-decoration:underline;text-underline-offset:2px}.oc-right .is-thread .oc-cmt{box-shadow:none}.oc-right .is-thread .pp-group-h{gap:8px}.oc-right .is-thread .c-file{min-width:0;font:400 12px/16px var(--mono);color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-right .is-thread .c-all{flex:none;margin:0 -8px 0 auto;height:28px;padding:0 8px}.oc-right .pp{flex:1;min-height:0;display:flex;flex-direction:column}.oc-right .pp-scroll{flex:1;min-height:0;overflow-y:auto;padding:4px var(--card-pad) 8px;display:flex;flex-direction:column}.oc-right .pp-head{flex:none;display:flex;flex-direction:column;gap:2px;padding-bottom:8px}.oc-right .pp-file{align-self:flex-start;max-width:100%;height:auto;padding:0;border:0;border-radius:4px;background:none;font:13px/16px var(--mono);color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-right button.pp-file:hover:not(:disabled){background:none;color:var(--text);text-decoration:underline;text-underline-offset:2px}.oc-right .pp-name{margin:0;min-height:24px;display:flex;align-items:center;gap:4px;min-width:0;font-size:15px;line-height:20px;font-weight:600}.oc-right .pp-name>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-right .pp-name .muted{font-weight:400}.oc-right .pp-ib{width:28px;height:28px;flex:none;color:var(--muted)}.oc-right .pp-crumb{display:flex;align-items:center;height:28px}.oc-right .pp-crumb .crumb{flex:1;min-width:0;flex-wrap:nowrap;white-space:nowrap;overflow:hidden}.oc-right .pp-crumb .crumb b{overflow:hidden;text-overflow:ellipsis;min-width:0}.oc-right .pp-note{grid-column:1 / -1;margin:0;padding:2px 0;font-size:13px;line-height:16px;overflow:hidden;text-overflow:ellipsis}.oc-right .pp-note.shot,.oc-right .pp-note.warn{white-space:normal;overflow-wrap:anywhere}.oc-right .pp-row:has(.pp-note){min-height:20px}.oc-right .pp-group,.oc-right .board-opts{flex:none;display:flex;flex-direction:column;gap:4px;margin:0 calc(-1 * var(--card-pad));padding:var(--group-pad) var(--card-pad);box-shadow:inset 0 1px 0 var(--line)}.oc-right .pp-group-h{margin:0;height:28px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text)}.oc-right .board-opts .sec-head{height:28px;padding:0;font-size:13px;font-weight:600;color:var(--text)}.oc-right .pp-row{display:grid;grid-template-columns:80px 1fr;column-gap:8px;align-items:start;min-height:28px}.oc-right .pp-l{height:28px;padding-top:1px;font-size:13px;line-height:28px;font-weight:400;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-right .pp-v{display:flex;align-items:center;gap:4px;min-width:0}.oc-right .pp-row input,.oc-right .pp-row select,.oc-right .fillv{width:100%;min-width:0;height:28px;padding:0 8px;border:0;border-radius:8px;background-color:var(--panel-2);color:var(--text);font-size:13px;line-height:28px}.oc-right .pp-row input::placeholder{color:var(--muted)}.oc-right .pp-row select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:28px;background-image:var(--chev);background-repeat:no-repeat;background-position:right 7px center;background-size:14px 14px}.oc-right .fillv{display:flex;align-items:center;justify-content:flex-start;gap:8px;font-weight:400}.oc-right .fillv .sw{flex:none;width:14px;height:14px;border:0;border-radius:4px;box-shadow:inset 0 0 0 1px var(--sw-ring)}.oc-right .fillv .fillv-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-right .fillv .muted{margin-left:auto;font:13px var(--mono)}.oc-right .pp-group .fill-picker{padding:8px;border-radius:8px;background:var(--panel-2)}.oc-right .align-set{display:flex;gap:0;width:max-content;border-radius:8px;background:var(--panel-2)}.oc-right .align-set .icon-btn{width:28px;height:28px;border:0;border-radius:8px;color:var(--text)}.oc-right .btn{height:28px;padding:0 8px;border:0;border-radius:8px;background:var(--panel-2);font-size:13px;white-space:nowrap}.oc-right .pp-btns{display:flex;gap:4px;min-width:0}.oc-right .pp-btns .btn{flex:1;min-width:0;padding:0 6px;font-size:13px;justify-content:center}.oc-right .pp-two{display:grid;grid-template-columns:1fr 1fr;gap:4px;min-width:0}.oc-right .num{display:flex;align-items:center;gap:6px;height:28px;min-width:0;padding:0 8px;border:0;border-radius:8px;background:var(--panel-2);overflow:hidden}.oc-right .num span{flex:none;width:auto;min-width:0;padding:0;position:relative;top:1px;font-size:13px;color:var(--muted)}.oc-right .num input{flex:1;min-width:0;height:28px;padding:0;border:0;background:transparent;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums;outline:none}.oc-right .check{position:relative;display:flex;align-items:center;gap:8px;height:28px;font-size:13px;cursor:pointer}.oc-right .check input{position:absolute;left:0;width:16px;height:16px;margin:0;opacity:0}.check i{flex:none;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:4px;background:var(--panel);box-shadow:inset 0 0 0 1px var(--box-ring);color:var(--select-text)}.check i.on{background:var(--select);box-shadow:none}.check:hover i:not(.on){background:var(--hover)}.check input:focus-visible+i{outline:2px solid var(--select);outline-offset:1px}.oc-right .pp-fold{display:grid;grid-template-columns:80px 1fr;column-gap:8px;align-items:center;width:calc(100% + 16px);height:28px;margin:0 -8px;padding:0 15px 0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left}.oc-right .pp-fold .pp-l{padding-top:0}.oc-right .pp-fold .pp-v{justify-content:flex-end}.oc-right .pp-fold-h{display:flex;align-items:center;gap:6px;width:calc(100% + 16px);height:28px;margin:0 -8px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;font-weight:600;text-align:left}.oc-right .pp-fold-h .collapsible-count{margin-left:auto;margin-right:25px}.oc-right .collapsible-head{display:flex;align-items:center}.oc-right .collapsible-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-right :is(.pp-fold,.pp-fold-h) .chev{flex:none;color:var(--muted);transition:transform var(--t-state)}.oc-right :is(.pp-foldset.open>.pp-fold,.collapsible.open .pp-fold-h) .chev{transform:rotate(90deg)}.collapsible-count{min-width:20px;height:20px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--panel-2);color:var(--muted);font-size:13px;font-weight:400;font-variant-numeric:tabular-nums}.collapsible-count.oc-off{padding:0 8px}.oc-right .pp-fold-body{display:flex;flex-direction:column;gap:8px;padding:4px 0 8px}.pp-fold-body>section.board-opts{margin:0;padding:0;box-shadow:none}.pp-fold-body>section.board-opts>.sec-head>span:first-child{display:none}.pp-fold-body>section.board-opts>.sec-head{height:auto;justify-content:flex-end}.oc-right .layers{gap:0}.oc-right .layer{width:calc(100% + 16px);height:28px;margin:0 -8px;padding:0 8px;gap:4px;display:flex;align-items:center;border-radius:8px;font-size:13px;white-space:nowrap;overflow:hidden;cursor:pointer}.oc-right .layer .tag{flex:none;font:13px var(--mono);color:var(--muted)}.oc-right .layer .lname{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--text)}.oc-right .layer.on{background:var(--select-weak)}.oc-right .twisty{flex:none;width:16px;height:16px;padding:0;border:0;background:none;color:var(--muted);justify-content:center}.oc-right .btn-row{gap:4px}.oc-right .btn-row .icon-btn{border:0}.oc-right .field-row{grid-template-columns:80px 1fr;font-size:13px}.oc-cmt textarea{display:block;width:100%;height:56px;resize:none;border:0;border-radius:8px;background:var(--panel-2);padding:6px 8px;font-size:13px;line-height:20px;color:var(--text)}.oc-cmt textarea::placeholder{color:var(--muted)}.oc-cmt .oc-cmt-bar{display:flex;align-items:center;gap:4px;min-height:28px;flex-wrap:wrap}.oc-cmt .btn.oc-plain{background:transparent;color:var(--muted);font-size:13px}.oc-cmt .oc-cmt-bar>.btn.oc-plain:first-child{margin-left:-8px}.oc-cmt .shot-link{margin-left:auto;margin-right:-8px}.oc-cmt .comments{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.oc-cmt .oc-cmt-item{display:flex;flex-direction:column;gap:2px;padding:4px 0;font-size:13px;line-height:20px;overflow-wrap:anywhere}.oc-cmt .oc-cmt-item.resolved{opacity:.55}.oc-cmt .oc-cmt-item.on{margin:0 -8px;padding:4px 8px;border-radius:8px;background:color-mix(in srgb,var(--select) 9%,transparent);box-shadow:inset 2px 0 0 var(--select)}.oc-cmt .c-head{display:flex;align-items:baseline;gap:8px;min-width:0}.oc-cmt .who{flex:none;font-size:13px;line-height:16px;font-weight:600;white-space:nowrap}.oc-cmt .c-head .when{flex:none;white-space:nowrap}.oc-cmt .c-head .c-path{flex:0 1 auto}.oc-cmt .when{font-size:13px;line-height:16px;color:var(--muted)}.oc-cmt .c-path{height:20px;padding:0 4px;font-size:13px;font-weight:400;min-width:0;overflow:hidden;text-overflow:ellipsis}.oc-cmt .replies{list-style:none;margin:4px 0 0;padding:0 0 0 12px;box-shadow:inset 2px 0 0 var(--line);display:flex;flex-direction:column;gap:8px}.oc-cmt .reply-box{display:flex;flex-direction:column;gap:4px;margin-top:4px}.oc-right .pp-actions{flex:none;display:flex;align-items:center;gap:0;height:var(--foot-h);padding:0 7px 0 8px;box-shadow:inset 0 1px 0 var(--line)}.oc-right .pp-actions .btn{height:32px;padding:0 8px;border:0;background:transparent;font-size:13px}.oc-right .pp-actions .icon-btn{width:32px;height:32px;border:0;color:var(--text)}.oc-right .pp-actions .pp-del{margin-left:auto;color:var(--warn)}.oc-right .pp-actions:has(>.icon-btn:first-child){gap:4px;padding-left:7px}.oc-right .pp-actions .pp-del.icon-btn:is(:hover,:active):not(:disabled){color:var(--warn)}.oc-right .chat-wrap,.oc-right .chat{overflow:clip}.oc-right .chat{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.oc-right .chat-head{flex:none;display:flex;flex-direction:column;gap:4px;min-width:0;padding:4px var(--card-pad) 8px}.oc-right .chat-head.is-scrolled{box-shadow:inset 0 -1px 0 var(--line)}.oc-right .chat-head-row{display:flex;align-items:center;gap:8px;min-width:0;height:28px}.oc-right .chat-head-row.oc-field{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:8px}.oc-right .chat-head-row.sub .muted{font-size:13px;line-height:16px}.oc-right .agent-pick{min-width:0}.oc-right .agent-btn{width:100%;height:28px;gap:8px;padding:0 7px 0 8px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font-size:13px;font-weight:400}.oc-right .agent-btn .agent-name{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-right .agent-btn svg{flex:none}.oc-right .agent-btn.is-open,.oc-right .agent-btn.is-open:hover:not(:disabled){background:var(--pressed)}.oc-right .model-field{display:block;width:100%;min-width:0;height:28px;padding:0 8px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font-size:13px;line-height:28px}.oc-right .model-field::placeholder{color:var(--muted);opacity:1}.oc-right .model-field.custom-cmd{font:13px/28px var(--mono);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-right .chat-head .new-chat{width:auto;height:28px;margin-right:-8px;padding:0 8px;gap:4px;border:0;border-radius:8px;color:var(--text);font-size:13px;white-space:nowrap}.oc-right .chat-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:16px;padding:12px 16px 16px}.oc-right .msg{display:flex;flex-direction:column;gap:8px;min-width:0}.oc-right .msg.user{align-items:flex-end;padding-left:32px;margin-right:-8px}.oc-right .msg .bubble{max-width:100%;padding:8px 12px;border-radius:12px 12px 4px;background:var(--oc-bubble);color:var(--text);font-size:13px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}.oc-right .msg.user>.chips{justify-content:flex-end}.oc-right .msg-head{display:flex;align-items:center;gap:8px;height:20px;font-size:13px;line-height:20px}.oc-right .msg-head strong{font-weight:600}.oc-right .msg-head .muted{font-variant-numeric:tabular-nums}.oc-right .msg-head .spinner{width:12px;height:12px;border-width:2px;color:var(--text)}.oc-right .msg-head .oc-failed{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:var(--warn)}.oc-right .oc-thinking{font-size:13px;line-height:20px}.oc-tools{display:flex;flex-direction:column;min-width:0}.oc-right .ai-tool{display:flex;align-items:center;gap:8px;height:20px;min-width:0;color:var(--muted);font-size:13px;line-height:20px}.oc-right .ai-tool svg,.oc-right .ai-tool>span{flex:none}.oc-right .ai-tool code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font:13px/20px var(--mono)}.oc-right .ai-tool.is-current,.oc-right .ai-tool.is-current code{color:var(--text)}.oc-right .ai-text{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:20px;overflow-wrap:anywhere}.oc-right .md p,.oc-right .md ul,.oc-right .md ol{margin:0}.oc-right .md ul,.oc-right .md ol{display:flex;flex-direction:column;padding-left:16px}.oc-right .md .md-h{font-size:13px;font-weight:600}.oc-right .md .md-h.h1{font-size:15px}.oc-right .md hr{width:100%;margin:4px 0;border:0;border-top:1px solid var(--line)}.oc-right .md code{padding:1px 4px;border-radius:4px;background:var(--panel-2);color:var(--text);font:13px var(--mono);white-space:nowrap}.oc-right .md code.long{white-space:normal;overflow-wrap:anywhere}.oc-right .md a{color:var(--text);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:2px;overflow-wrap:anywhere}.oc-right .md .codeblock{position:relative;min-width:0;border-radius:8px;background:var(--panel-2)}.oc-right .md .codeblock pre{margin:0;padding:8px 80px 8px 8px;overflow-x:auto;color:var(--text);font:13px/16px var(--mono);white-space:pre}.oc-right .md .codeblock pre code{padding:0;background:none;font:inherit;white-space:inherit}.oc-right :is(.md .codeblock,.ai-details) .copy{position:absolute;top:4px;right:4px;height:24px;padding:0 8px;gap:4px;justify-content:center;border:0;border-radius:6px;background:var(--panel);color:var(--text);font-size:13px;font-weight:400}.oc-right :is(.md .codeblock,.ai-details) .copy:before{content:"";position:absolute;top:-2px;right:0;bottom:-2px;left:0}.oc-right .ai-plain{margin:0;max-height:320px;overflow:auto;padding:8px;border-radius:8px;background:var(--panel-2);font:13px/16px var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.oc-right .ai-note{margin:0;color:var(--muted);font-size:13px;line-height:16px}.oc-right .btn.oc-variants{align-self:flex-start;gap:6px}.oc-right .restart{flex:none;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;line-height:16px}.oc-right .restart:before,.oc-right .restart:after{content:"";flex:1;height:1px;background:var(--line)}.oc-right :is(.run-result,.ai-fail,.remedy,.msg) .btn{gap:6px}.oc-right .run-result{display:flex;flex-direction:column;gap:8px;margin:4px -16px 0;padding:12px 16px 0;box-shadow:inset 0 1px 0 var(--line)}.oc-rr-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:24px}.oc-right .run-result .rr-line{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px;font-weight:600;line-height:16px}.oc-right .run-result.undone .rr-line{color:var(--muted)}.oc-right .run-result .btn-row{flex-wrap:wrap;gap:4px}.oc-right .run-result .btn{padding:0 10px 0 8px}.oc-right .run-result .sub{margin:0;color:var(--muted);font-size:13px;line-height:16px}.oc-right .rr-conflict{gap:8px;padding-top:0;border-top:0}.oc-right .rr-conflict p{font-size:13px;line-height:20px}.oc-right .chips{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.oc-right .chip{position:relative;display:inline-flex;align-items:center;max-width:100%;height:24px;border:0;border-radius:12px;background:var(--panel-2);color:var(--text);font-size:13px;line-height:16px}.oc-right :is(.msg,.run-result) .chip{gap:4px;padding:0 8px;white-space:nowrap}.oc-right :is(.msg,.run-result) .chip svg{flex:none}.oc-right .chip.off{opacity:.55;text-decoration:line-through}.oc-right .chip-main{position:relative;width:100%;height:24px;min-width:0;justify-content:flex-start;padding:0 8px;gap:4px;border:0;border-radius:12px;background:transparent;color:var(--text);font-size:13px;line-height:16px}.oc-right .chip-main svg{flex:none}.oc-right .chip-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.oc-right .chip-main:disabled{opacity:1;cursor:default}.oc-right .chip-x{position:relative;width:24px;height:24px;margin-left:-8px;padding:0;justify-content:center;border:0;border-radius:12px;background:transparent;color:var(--muted)}.oc-right :is(.chip-main,.chip-x,.run-result button.chip):before{content:"";position:absolute;top:-2px;right:0;bottom:-2px;left:0}.oc-right .composer{flex:0 1 auto;min-height:0;display:flex;flex-direction:column;gap:8px;padding:8px 8px 0;box-shadow:inset 0 1px 0 var(--line)}.oc-right .composer>*{flex-shrink:0}.oc-right .composer textarea{display:block;flex:0 1 76px;width:100%;height:76px;min-height:40px;resize:none;padding:8px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font-size:13px;line-height:20px}.oc-right .composer textarea::placeholder{color:var(--muted)}.oc-right .url-row input{width:100%;height:28px;padding:0 8px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font-size:13px}.oc-right :is(.composer textarea,.url-row input,.model-field):hover:not(:disabled):not(:focus){background-color:var(--hover)}.oc-right :is(.composer textarea,.url-row input,.model-field):focus{background:var(--panel);box-shadow:inset 0 0 0 2px var(--select);outline:0}.oc-right .restored{display:block;height:16px;margin:0 0 -4px;padding:0 8px;color:var(--muted);font-size:13px;line-height:16px}.oc-right .oc-err{display:flex;align-items:flex-start;gap:4px;margin:0;padding:0 8px;color:var(--text);font-size:13px;line-height:16px;white-space:normal}.oc-right .oc-err svg{flex:none;color:var(--warn)}.oc-right .composer-bar{flex:none;display:flex;align-items:center;gap:4px;height:48px}.oc-right .composer-bar .icon-btn{width:28px;height:28px;border:0;border-radius:8px;color:var(--text)}.oc-right .composer-bar .variants{display:flex}.oc-right .composer-bar .variants select{-moz-appearance:none;appearance:none;-webkit-appearance:none;height:28px;padding:0 28px 0 8px;border:0;border-radius:8px;background:var(--panel-2) var(--chev) no-repeat right 7px center / 14px 14px;color:var(--text);font-size:13px}.oc-right .composer-bar .variants select:hover:not(:disabled){background-color:var(--hover)}.oc-right .composer-bar button.primary{width:64px;height:32px;padding:0;justify-content:center;border:0;border-radius:16px;background:var(--accent);color:var(--accent-text);font-size:13px;font-weight:600}.oc-right .composer-bar button.primary:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 88%,var(--text));filter:none}.oc-right .composer-bar button.primary:disabled{opacity:1;background:var(--panel-2);color:var(--muted)}.oc-right .composer-bar .oc-cancel{height:32px;padding:0 11px;gap:6px;justify-content:center;border-radius:16px;background:var(--panel-2);color:var(--text);font-weight:400}.oc-right .chat-empty{display:flex;flex-direction:column;gap:12px}.oc-right .chat-empty p{margin:0;color:var(--muted);font-size:13px;line-height:20px}.oc-right .chat-suggest{display:flex;flex-direction:column;gap:4px}.oc-right .chat-suggest .btn{height:auto;min-height:28px;padding:6px 8px;justify-content:flex-start;font-size:13px;line-height:16px;text-align:left;white-space:normal}.oc-right .waiting{display:inline-flex;align-items:center;gap:6px;color:var(--text);font-size:13px;font-weight:600;line-height:16px}.oc-right .pulse{flex:none;width:8px;height:8px;border-radius:4px;background:var(--text);box-shadow:0 0 0 3px color-mix(in srgb,var(--text) 14%,transparent);animation:pulse 1.6s ease-in-out infinite}.oc-right .run-status{display:flex;align-items:center;gap:4px;height:16px;padding:0 8px;font-size:13px;line-height:16px;white-space:nowrap;overflow:hidden}.oc-right .run-status>*{flex:none}.oc-right .run-status>.muted{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.oc-right .perm{display:flex;flex-direction:column;gap:8px;margin:0 -8px;padding:12px 8px 8px;border-radius:12px;background:var(--oc-bubble)}.oc-right .perm-head{display:flex;align-items:center;gap:8px;min-height:16px;padding:0 8px;color:var(--text);font-size:13px;font-weight:600;line-height:16px}.oc-right .perm-head .idot{background:var(--text)}.oc-right .perm-cmd{min-height:32px;max-height:200px;overflow:auto;padding:8px;border-radius:8px;background:var(--panel);color:var(--text);font:600 13px/16px var(--mono);white-space:pre-wrap;word-break:break-all}.oc-right .perm-where{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-height:16px;padding:0 8px;color:var(--muted);font-size:13px;line-height:16px}.oc-right .perm-where svg{flex:none}.oc-right .perm-where code{color:var(--text);font:13px/16px var(--mono)}.oc-right .perm .btn-row{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:4px}.oc-right .perm .btn-row.oc-one{grid-template-columns:minmax(0,1fr)}.oc-right .perm .btn{min-width:0;padding:0 10px;justify-content:center;overflow:hidden;text-overflow:ellipsis;background:var(--panel);color:var(--text)}.oc-right .perm .btn.primary{grid-column:1 / -1;height:32px;background:var(--accent);color:var(--accent-text);font-weight:600}.oc-right .perm .btn.primary:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 88%,var(--text))}.oc-right .perm-done{display:flex;align-items:flex-start;gap:8px;min-width:0;color:var(--muted);font-size:13px;line-height:20px}.oc-right .perm-done>span{min-width:0;overflow-wrap:anywhere}.oc-right .perm-done svg{flex:none;margin-top:3px}.oc-right .perm-done svg.ok{color:var(--ok)}.oc-right .perm-done code{color:var(--muted);font:13px/20px var(--mono)}.oc-agent-menu{width:352px;max-width:calc(100vw - 16px)}.oc-agent-menu .agent-item{display:flex;align-items:center;gap:4px;padding:0 8px 0 0}.oc-agent-menu .agent-item:hover{background:var(--hover)}.oc-agent-menu .agent-choose{flex:1;min-width:0;height:32px;padding:0 0 0 8px;gap:8px;justify-content:flex-start;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px}.oc-agent-menu .agent-choose:is(:hover,:active):not(:disabled){background:transparent}.oc-agent-menu .agent-choose .menu-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.oc-agent-menu .menu-check{width:14px;color:var(--text)}.oc-agent-menu .menu-check.muted,.oc-agent-menu .agent-item.off .menu-label{color:var(--muted)}.oc-agent-menu .agent-item.off .idot{opacity:.45}.oc-agent-menu .agent-status{flex:none;display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--muted);font-size:13px;line-height:16px;white-space:nowrap}.oc-agent-menu .agent-status.signin{color:var(--warn)}.oc-agent-menu .agent-status a.link{display:inline-flex;align-items:center;height:28px;color:var(--text);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:2px}.oc-agent-menu .oc-remove{width:28px;height:28px;margin-right:-4px;border:0;border-radius:8px;color:var(--muted)}.oc-agent-menu .oc-custom{width:100%}.oc-agent-menu .menu-foot{height:36px;margin:4px -8px -8px;padding:0 8px 0 16px;gap:4px;justify-content:flex-start;border-top:0;box-shadow:inset 0 1px 0 var(--line);color:var(--muted);font-size:13px;line-height:16px;white-space:nowrap}.oc-agent-menu .menu-foot>span{overflow:hidden;text-overflow:ellipsis}.oc-agent-menu .menu-foot .btn{flex:none;margin-left:auto;height:28px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px}.oc-right .remedy{flex:none;display:flex;align-items:flex-start;gap:8px;padding:12px 16px;box-shadow:inset 0 1px 0 var(--line)}.oc-right .remedy>svg{flex:none;margin-top:2px;color:var(--warn)}.oc-right .remedy>div{min-width:0}.oc-right .remedy p{margin:0 0 8px;font-size:13px;line-height:20px}.oc-right :is(.remedy,.ai-error) code{padding:1px 4px;border-radius:4px;background:var(--panel-2);color:var(--text);font:13px var(--mono);white-space:nowrap}.oc-right .remedy .btn-row{flex-wrap:wrap;gap:4px}.oc-right .remedy .btn{padding:0 10px 0 8px}.oc-right .send-why{display:flex;align-items:center;justify-content:flex-end;gap:4px;height:16px;margin:0 0 -8px;color:var(--text);font-size:13px;line-height:16px}.oc-right .send-why svg{flex:none}.oc-right .ai-error{display:flex;align-items:flex-start;gap:4px;color:var(--text);font-size:13px;line-height:16px;white-space:pre-wrap;overflow-wrap:anywhere}.oc-right .ai-error svg{flex:none;margin-top:1px;color:var(--warn)}.oc-right .ai-fail{display:flex;flex-direction:column;gap:8px}.oc-right .ai-fail .ai-error{font-size:13px;line-height:20px;white-space:normal}.oc-right .ai-fail .btn-row{flex-wrap:wrap;gap:4px}.oc-right .ai-fail .btn{padding:0 10px}.oc-right .ai-fail>.muted{margin:0;font-size:13px;line-height:16px}.oc-right .ai-details{position:relative;display:flex;flex-direction:column;gap:4px}.oc-right .ai-details summary{display:flex;align-items:center;gap:4px;width:max-content;height:28px;margin-left:-8px;padding:0 8px 0 6px;border-radius:8px;list-style:none;cursor:pointer;color:var(--text);font-size:13px}.oc-right .ai-details summary::-webkit-details-marker{display:none}.oc-right .ai-details summary:hover{background:var(--hover)}.oc-right .ai-details summary svg{transition:transform var(--t-state)}.oc-right .ai-details:not([open]) summary svg{transform:rotate(-90deg)}.oc-right .ai-details-bar{height:0;margin-top:-4px}.oc-right .ai-details .copy{top:2px;right:0}.oc-right .ai-details pre{margin:0;max-height:240px;overflow:auto;padding:8px;border-radius:8px;background:var(--panel-2);color:var(--text);font:13px/16px var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.dialog.cf .cf-title{display:flex;align-items:center;gap:8px}.dialog.cf .idot{background:var(--line-strong)}.dialog-field input.mono{font:13px var(--mono)}.dialog-field input::placeholder{color:var(--muted)}.dialog-field input:focus-visible{background:var(--panel);box-shadow:inset 0 0 0 2px var(--select);outline:0}.dialog.cf .cf-hint{color:var(--muted);font-size:13px;line-height:16px}.dialog.cf .cf-hint code{color:var(--text);font:13px var(--mono)}.dialog.cf .cf-error{display:flex;align-items:flex-start;gap:4px;color:var(--text);font-size:13px;line-height:16px}.dialog.cf .cf-error svg{flex:none;color:var(--warn)}.oc .canvas-hint.oc-first{gap:8px;padding:0 16px;color:var(--text)}.oc-first .oc-fr{display:inline-flex;align-items:center;gap:8px}.oc-first svg{flex:none}.oc-first .oc-fr-sep{flex:none;width:1px;height:16px;margin:0 8px;background:var(--line)}.oc-first kbd{padding:0;border:0;background:none;font-size:13px;line-height:16px;font-weight:600;color:var(--text)}.oc .canvas-hint.oc-first.is-stacked{flex-direction:column;align-items:flex-start;height:auto;max-width:calc(100% - 16px);padding:6px 12px;border-radius:12px;white-space:normal}.oc-first.is-stacked .oc-fr{align-items:flex-start}.oc-first.is-stacked .oc-fr-sep{width:100%;height:1px;margin:0}.oc-tc-off{display:grid;grid-template-columns:16px 1fr;column-gap:8px;row-gap:8px}.oc-tc-off strong{display:block;font-size:13px;line-height:16px;font-weight:600;color:var(--text)}.oc-tc-off p{margin:4px 0 0;font-size:13px;line-height:16px;color:var(--muted)}.oc-right .oc-tc-off .btn{grid-column:2;justify-self:start}.menu.oc-hist{min-width:0}.oc-hist .oc-menu-h{flex:none;display:flex;align-items:center;height:28px;padding:0 8px;font-size:13px;font-weight:600;color:var(--text)}.oc-hist .hist-rows{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.oc-hist .oc-hrow{flex:none;display:grid;grid-template-columns:6px 120px minmax(0,1fr) auto 24px;column-gap:8px;align-items:center;width:100%}.oc-hist .oc-hrow:focus-visible{outline:0}.oc-hist .oc-hrow[aria-disabled=true]{cursor:progress}.oc-hist .oc-now-dot{width:6px;height:6px;border-radius:3px}.oc-hist .oc-hrow.now .oc-now-dot{background:var(--text)}.oc-hist .oc-who{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:13px}.oc-hist .oc-who svg{flex:none}.oc-hist :is(.oc-who span,.oc-what){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-hist .oc-hrow.past :is(.oc-who,.oc-what){color:var(--muted)}.oc-hist .oc-mark{font-size:13px;color:var(--muted);white-space:nowrap}.oc-hist .oc-mark.go{font-weight:600;color:var(--text)}.oc-hist .oc-when{font-size:13px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.hist-empty{margin:0;padding:4px 8px 8px;font-size:13px;line-height:16px;color:var(--muted)}.share-wrap{position:relative;flex:none}.share-btn{height:32px;padding:0 12px;gap:6px;border:0;border-radius:16px;background:transparent;color:var(--text);font-weight:600;white-space:nowrap}.share-btn.on,.share-btn.on:hover:not(:disabled){background:var(--pressed);color:var(--text)}.share-btn.on svg{color:var(--text)}.share-pop.oc-share{position:fixed;z-index:250;display:flex;flex-direction:column;max-height:calc(100vh - 76px);overflow-y:auto;padding:8px;border-radius:12px;background:var(--panel);box-shadow:var(--float);text-align:left;line-height:16px}.oc-share h4{flex:none;display:flex;align-items:center;height:36px;margin:0;padding:0 8px;font-size:15px;line-height:20px;font-weight:600}.oc-share .oc-seg{flex:none;display:flex;align-items:center;gap:2px;height:36px}.oc-share .oc-seg button{height:28px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:400;white-space:nowrap}.oc-share .oc-seg button.on,.oc-share .oc-seg button.on:hover:not(:disabled){background:var(--pressed);color:var(--text);font-weight:600}.oc-share .oc-out{display:flex;flex-direction:column;margin-top:4px}.oc-share .oc-orow{display:grid;grid-template-columns:32px minmax(0,1fr) auto;column-gap:12px;align-items:start;margin:0 -8px;padding:12px 16px;box-shadow:inset 0 1px 0 var(--line)}.oc-share .out-ic{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:var(--panel-2);color:var(--muted)}.oc-share .oc-otext{display:flex;flex-direction:column;gap:2px;min-width:0}.oc-share .oc-otext strong{font-size:13px;line-height:16px;font-weight:600}.oc-share .oc-otext>span{font-size:13px;line-height:16px;color:var(--muted);overflow-wrap:anywhere}.oc-share code{font:13px/16px var(--mono);color:var(--text)}.oc-share .oc-otext>span code{color:var(--muted)}.oc-share .oc-sw{display:flex;align-items:center;gap:8px;width:max-content;height:28px;margin-top:2px;font-size:13px;color:var(--text);cursor:pointer}.oc-share .switch{position:relative;flex:none;width:28px;height:16px;padding:0;border:0;border-radius:8px;background:var(--box-ring)}.oc-share .switch:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:6px;background:var(--panel);transition:left var(--t-state)}.oc-share .switch:hover:not(:disabled){background:var(--box-ring)}.oc-share .switch.on,.oc-share .switch.on:hover:not(:disabled){background:var(--select)}.oc-share .switch.on:after{left:14px}.oc-share .oc-orow>.btn{height:28px;margin-top:2px;padding:0 10px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font-size:13px;font-weight:400}.oc-share .oc-res,.oc-share .oc-err{grid-column:2 / 4;min-width:0;margin-top:8px}.oc-share .oc-res{display:flex;flex-direction:column;gap:4px}.oc-share .oc-rline{display:flex;align-items:center;gap:6px;min-width:0;height:16px;font-size:13px;color:var(--muted);white-space:nowrap}.oc-share .oc-rline svg{flex:none;color:var(--ok)}.oc-share .oc-rline code{min-width:0;overflow:hidden;text-overflow:ellipsis}.oc-share .oc-racts{display:flex;gap:2px;margin-left:-8px}.oc-share .oc-racts .btn{height:28px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px}.oc-share .oc-rhint{font-size:13px;line-height:16px;color:var(--muted)}.oc-share .oc-err{display:flex;gap:6px;font-size:13px;line-height:16px;color:var(--text);overflow-wrap:anywhere}.oc-share .oc-err svg{flex:none;color:var(--warn)}.oc-share .oc-pfoot{display:flex;flex-direction:column;gap:4px;margin:0 -8px -8px;padding:12px 16px;box-shadow:inset 0 1px 0 var(--line);font-size:13px;line-height:16px;color:var(--muted)}.oc-share .oc-pfoot code{overflow-wrap:anywhere}.oc-left .oc-vtitle{flex:1;min-width:0;padding:0 8px;font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-left .oc-made{flex:none;display:flex;align-items:center;height:36px;margin:8px 0 -8px;padding:0 16px;box-shadow:inset 0 1px 0 var(--line);font-size:13px}.oc-left .oc-made a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}.oc-left .oc-made a:hover{color:var(--text)}.oc-right.oc-cards{height:auto;padding-bottom:8px}.oc-right.oc-cards.is-rest{padding-bottom:0}.oc-right .oc-chead{flex:none;display:flex;align-items:center;height:48px;padding:0 16px;font-size:13px;font-weight:600;color:var(--text)}.oc-right .oc-chead .oc-count{margin-left:6px}.oc-right button.oc-chead{width:100%;gap:8px;border:0;border-radius:0;background:transparent;text-align:left}.oc-right button.oc-chead svg{flex:none}.oc-right button.oc-chead .oc-count{margin-left:0}.oc.narrow .oc-chead-label{display:none}.oc-clist{flex:0 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:2px;margin:0;padding:0 8px;list-style:none}.oc .c-item{width:100%;height:auto;display:flex;align-items:flex-start;gap:8px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;line-height:20px;text-align:left}.oc .c-item:hover:not(:disabled){background:var(--hover)}.oc .c-item.on,.oc .c-item.on:hover:not(:disabled){background:var(--select-weak)}.oc .c-item.other-page .c-body{color:var(--muted)}.c-item .c-body{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}.c-item .c-body strong{font-weight:600}.c-item .where{font-size:13px;line-height:16px;color:var(--muted)}.oc .c-item .pin{position:static;flex:none;width:20px;height:20px;border-radius:10px 10px 10px 2px;background:var(--text);color:var(--panel);font-size:13px;box-shadow:none}.oc .c-item .pin.on{background:var(--select);color:var(--select-text)}.oc .pin-layer button.pin{pointer-events:auto;cursor:pointer;min-width:0;height:24px;padding:0;border:0;justify-content:center}.oc .pin-layer button.pin:hover:not(:disabled){background:var(--pin-ink);border-color:transparent}.oc .pin-layer button.pin.on:hover:not(:disabled){background:var(--select)}.oc .thread{position:absolute;z-index:30;width:280px;transform-origin:0 0;display:flex;flex-direction:column;gap:8px;padding:4px 4px 12px 16px;border-radius:12px;background:var(--panel);color:var(--text);box-shadow:var(--float);line-height:16px;cursor:default}.oc .thread-head{display:flex;align-items:center;gap:8px;height:28px;font-size:13px;color:var(--muted)}.oc .thread-head span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc .thread-head .oc-of{font-variant-numeric:tabular-nums}.oc .thread-head .icon-btn{width:28px;height:28px;border:0;border-radius:8px;color:var(--text)}.oc .thread .comment{display:flex;flex-direction:column;gap:2px;padding-right:12px;font-size:13px;line-height:20px}.oc .thread .who{font-size:13px;line-height:16px;font-weight:600}.oc .thread .when{font-weight:400;color:var(--muted)}.oc .thread .c-text{white-space:pre-wrap;overflow-wrap:anywhere}.oc .thread .reply{padding-left:12px;box-shadow:inset 2px 0 0 var(--line)}.viewer .note.read-only{pointer-events:none;cursor:default}.oc-dock.oc-vdock{gap:0}.oc-vdock .oc-stamp{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 10px;font-size:13px;color:var(--muted);white-space:nowrap}.oc-vdock .oc-stamp svg{flex:none}.oc-vdock .oc-stamp code{font:13px/16px var(--mono);color:var(--muted)}.oc-vdock .oc-sep{margin:0 6px 0 2px}.oc-vdock .oc-vzoom .icon-btn{width:28px;height:28px;border-radius:8px;color:var(--text)}.oc-vdock .oc-vzoom .zoom{width:44px;min-width:0;height:28px;padding:0;justify-content:center;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums}.play-btn{flex:none;height:36px;padding:0 14px 0 10px;gap:6px;border:0;border-radius:10px;background:var(--accent);color:var(--accent-text);font-size:13px;font-weight:600}.play-btn:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 88%,var(--text))}.play-btn:active:not(:disabled){background:color-mix(in srgb,var(--accent) 76%,var(--text))}.play-btn svg{fill:currentColor}.board-label .lab-row{display:flex;align-items:center;gap:4px;width:100%;min-width:0}.board-label.tagged{height:auto;min-height:56px;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:4px}.board-label.tagged .lab-row{flex:none;height:24px}.act-tags{flex:none;display:flex;flex-wrap:wrap;gap:4px;max-width:100%}.board-label.fork-scene .act-tags{flex-wrap:nowrap;overflow:hidden}.board-label.fork-scene .act-tags>.occ-tag{flex-shrink:0}.act-tag,.occ-tag{position:relative;flex:0 1 auto;display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;height:24px;padding:0 8px 0 6px;border:0;border-radius:8px;background:var(--panel);color:var(--text);font-size:13px;line-height:16px;font-weight:600;white-space:nowrap}.act-tag{cursor:pointer}.act-tag:before{content:"";position:absolute;top:-2px;right:0;bottom:-2px;left:0}.act-tag:hover:not(:disabled){background:var(--hover);border-color:transparent}.act-tag-text{min-width:0;overflow:hidden;text-overflow:ellipsis}:is(.act-tag,.occ-tag) svg{flex:none}.act-tag.seen{background:transparent;color:var(--muted);font-weight:400}.act-tag.seen:hover:not(:disabled){background:var(--panel)}.occ-tag.you{padding:0 8px;background:var(--select-weak);color:var(--select)}.occ-tag.you .idot{background:var(--select)}.occ-tag.done{background:transparent;color:var(--muted);font-weight:400}.occ-tag .spinner{width:12px;height:12px;margin:0 2px;color:var(--text)}.board-label .occ-tag.fork-who{margin-left:-6px}.board-label .occ-tag.fork-who.done{color:var(--text);font-weight:600}.board.selected .occ-tag.fork-who{color:var(--select)}.callout{position:fixed;z-index:260;width:288px;max-width:calc(100vw - 16px);display:flex;flex-direction:column;gap:8px;padding:4px 8px 12px 16px;border-radius:12px;background:var(--panel);box-shadow:var(--float);line-height:16px}.callout-top{display:flex;align-items:center;gap:6px;min-width:0;height:28px;font-size:13px;font-weight:600}.callout-top svg{flex:none}.callout-top .muted{font-weight:400;white-space:nowrap}.callout .callout-x{width:28px;height:28px;margin-left:auto;border:0;border-radius:8px;color:var(--muted)}.callout-diff{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-right:8px;font-size:13px;line-height:20px;overflow-wrap:anywhere}.diff-old{color:var(--muted);text-decoration:line-through}.diff-new{color:var(--text);font-weight:600}.callout-actions{display:flex;gap:4px}.callout :is(.callout-actions,.rr-conflict .btn-row) button{height:28px;padding:0 8px;gap:6px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font-size:13px}.callout .rr-conflict .btn-row button.danger{color:var(--warn)}.box.change-outline{border-radius:2px;outline:calc(var(--px, 1px) * 2) dashed var(--line-strong);outline-offset:calc(var(--px, 1px) * 3)}.oc .board.held:not(.selected):not(.editing) .board-frame{outline:2px dashed var(--line-strong);outline-offset:4px}.board-btns.pinned{opacity:1}.lab-row:has(.board-btns.pinned) .board-file{display:none}.lab-row:has(.board-btns.pinned) .board-title{flex:1 1 auto;min-width:3em}.board:not(:hover):not(.selected):not(.editing):not(.playing) .board-btns.pinned>:not(.use-btn):not(.always){display:none}.oc .board-btns .icon-btn.use-btn{width:auto;gap:4px;padding:0 8px}.oc .board-btns .icon-btn.use-btn.icon-only{width:24px;padding:0}.board-btns .use-label{font-size:13px;font-weight:600}.oc .board-btns .use-btn.pressed,.oc .board-btns .board-play.pressed{background:var(--pressed)}.board-btns .use-btn[aria-disabled=true]{opacity:.4;cursor:default}.oc .board-btns .use-btn[aria-disabled=true]:hover{background:var(--panel)}.menu.confirm{z-index:260;width:288px;min-width:0;max-width:calc(100vw - 16px);gap:4px;padding:12px 16px}.confirm .c-title{margin:0;font-size:13px;line-height:20px;font-weight:600;overflow-wrap:anywhere}.confirm .c-body{margin:0;font-size:13px;line-height:16px;color:var(--muted);overflow-wrap:anywhere}.confirm .btn-row{gap:4px;margin-top:8px}.confirm .btn{height:28px;padding:0 8px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font-size:13px}.confirm .btn.oc-strong{font-weight:600}.confirm .btn.oc-plain{background:transparent}.fork-link{position:absolute;left:0;top:0;pointer-events:none}.fork-svg{position:absolute;overflow:visible;fill:none;stroke:var(--line-strong);stroke-linecap:round;stroke-linejoin:round}.fork-caption{position:absolute;font-size:13px;line-height:16px;color:var(--muted);white-space:nowrap}.fork-caption span{margin-left:-4px;padding:0 4px;background:var(--bg)}.oc-dock{position:absolute;z-index:20;bottom:12px;height:var(--dock-h);display:flex;align-items:center;gap:var(--dock-gap);padding:var(--dock-pad);background:var(--panel);border-radius:16px;box-shadow:var(--float);white-space:nowrap}.oc-dock .oc-group{display:flex;align-items:center;gap:var(--dock-gap)}.oc-dock .icon-btn{width:var(--dock-btn);height:var(--dock-btn);border:0;border-radius:10px;color:var(--text)}.oc-dock .icon-btn.tool.on{background:var(--text);color:var(--panel)}.oc .oc-dock .icon-btn.tool.on:is(:hover,:active){background:var(--text);color:var(--panel)}.oc-dock .caret-btn{width:20px;color:var(--text)}.oc-dock .caret-btn.on{background:var(--pressed);color:var(--text)}.oc-dock .undo-split{position:relative;gap:0}.oc-dock .new-board{height:var(--dock-btn);padding:0 8px;gap:6px;border:0;border-radius:10px;background:transparent;font-size:13px;font-weight:500;color:var(--text)}.oc-dock .new-board svg{flex:none}.oc-dock .new-board .s{margin-left:-2px;color:var(--muted)}.oc-sep{flex:none;width:1px;height:20px;margin:0 6px;background:var(--line)}.oc-dock .oc-fold{width:48px;gap:2px;padding:0}.oc-dock .oc-fold .s{color:var(--muted)}.oc-dock .oc-fold.tool.on .s{color:color-mix(in srgb,var(--panel) 72%,var(--text))}.oc-phone .oc-dock .new-board{width:48px;padding:0;gap:2px;justify-content:center}.oc-phone .oc-dock .new-board .s{margin-left:0}.oc .etb.oc-context{position:absolute;top:auto;bottom:var(--ctx-bottom);z-index:21;justify-content:center}.oc .etb{display:flex;align-items:center;gap:2px;height:var(--ctx-h);padding:0 4px;background:var(--panel);border-radius:12px;box-shadow:var(--float);white-space:nowrap}.oc .etb button{height:28px;padding:0 8px;gap:4px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;font-weight:400}.oc .etb button.on{background:var(--pressed)}.oc .etb .sw{width:16px;height:16px;border:0;border-radius:4px;box-shadow:inset 0 0 0 1px var(--sw-ring);display:inline-block}.oc .etb .sep{width:1px;height:20px;margin:0 4px;background:var(--line)}.oc .etb .accent{color:var(--text);font-weight:400}.oc .etb.oc-context.is-icons button{gap:2px;padding:0 7px}.oc .etb.oc-context.is-icons .sep{margin:0 4px}.oc .canvas-hint{position:absolute;z-index:21;bottom:var(--ctx-bottom);height:28px;display:flex;align-items:center;justify-content:center;padding:0 12px;border-radius:999px;background:color-mix(in srgb,var(--panel) 92%,transparent);box-shadow:var(--shadow-1);font-size:13px;color:var(--muted);white-space:nowrap;pointer-events:none}.oc-n .etb.oc-context,.oc-n .canvas-hint{bottom:64px}.oc-pane .etb.oc-context,.oc-pane .canvas-hint{bottom:var(--ctx-bottom)}.oc .board-frame{box-shadow:var(--frame-rest)}.oc .board:hover:not(.selected):not(.editing) .board-frame{box-shadow:0 0 0 2px var(--line-strong),var(--frame-rest)}.oc .board.selected .board-frame,.oc .board.editing .board-frame{box-shadow:0 0 0 2px var(--select),var(--frame-rest)}.oc .board.frameless .board-frame{box-shadow:none}.oc .board-label{gap:6px}.oc .board-label .lab-row{gap:6px;height:24px}.oc .board-title{flex:none;max-width:100%;font-size:13px;font-weight:500;color:var(--muted);transition:color var(--t-state)}.oc .board-file{flex:0 1 auto;font:13px var(--mono);color:var(--muted)}.oc .board.selected .board-file{color:var(--muted)}.oc .board-label.tagged{min-height:52px;gap:4px}.oc .board-label .act-tags{margin-left:-8px}.oc .board-label .occ-tag.you{padding:0 8px;gap:6px;font-size:13px}.oc .board-btns{gap:4px}.oc .board-btns .icon-btn{position:relative;width:24px;height:24px;border:0;border-radius:8px;background:var(--panel);color:var(--text)}.oc .board-btns .icon-btn:before{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px}.oc .board-btns .icon-btn svg{width:14px;height:14px}.oc .board-resize{border-radius:2px}.oc-n .oc-left{left:8px;top:8px}.oc-n .oc-right{right:8px;top:8px;height:calc(100% - 16px)}.oc-n .oc-right.is-rest{width:auto;height:var(--rest-h)}.oc-n .oc-dock{bottom:8px}.oc.narrow:not(.oc-cd) .oc-rhead .share-btn{width:32px;padding:0;justify-content:center;gap:0}.oc.narrow:not(.oc-cd) .oc-rhead .share-label{display:none}.oc.narrow:not(.oc-cd) .oc-rhead .share-btn svg{color:var(--text)}.oc-n .oc-right.is-rest .oc-rhead{padding:0 8px}.oc-n .oc-right.is-rest .oc-rhead .ask-ai{margin-left:0}.oc-phone .oc-right.oc-sheet{left:8px;right:8px;width:auto}.oc-sheet .oc-rhead .ask-ai{margin-left:auto}.menu{position:fixed;z-index:300;min-width:220px;padding:8px;display:flex;flex-direction:column;background:var(--panel);border-radius:12px;box-shadow:var(--float);outline:none}.menu{max-height:calc(100vh - 16px);overflow-y:auto}.menu>*{flex:none}.menu-title{display:flex;align-items:center;height:28px;padding:0 8px;max-width:320px;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-sep{height:1px;margin:4px -8px;background:var(--line)}.menu-item{height:32px;padding:0 8px;gap:8px;border:0;border-radius:8px;background:transparent;font-size:13px;color:var(--text);text-align:left}.menu-item.active:not(:disabled){background:var(--hover)}.menu-item.danger,.menu-item.danger .menu-icon{color:var(--warn)}.menu-icon{width:18px;display:inline-flex;color:inherit}.menu-label{flex:1}.menu-item:has(.menu-two){height:auto;min-height:44px;padding:6px 8px}.menu-two{display:flex;flex-direction:column;gap:2px;min-width:0}.menu-note{font-size:13px;line-height:16px;color:var(--muted);white-space:normal}.menu-two:has(.menu-dot) .menu-note{padding-left:14px}.menu-item:disabled:has(.menu-two){opacity:1}.menu-item:disabled:has(.menu-two) .menu-two>span:first-child{color:var(--muted)}.menu-dot{display:inline-block;width:6px;height:6px;margin:0 8px 1px 0;border-radius:50%;background:var(--text);vertical-align:middle}.menu-item kbd{padding:0;border:0;background:none;font:12px/16px inherit;color:var(--muted);font-variant-numeric:tabular-nums}.menu-check{width:16px;display:inline-flex;color:var(--select);visibility:hidden}.menu-check.on{visibility:visible}.menu.view{z-index:300;width:248px}.menu-zoom{display:flex;align-items:center;height:32px;margin-bottom:4px}.menu-zoom .icon-btn{width:28px;height:28px;border-radius:8px;color:var(--text)}.menu-zoom .btn{margin-left:auto;height:28px;padding:0 8px;gap:6px;border:0;border-radius:8px;background:transparent;font-size:13px;color:var(--text)}.toasts{position:fixed;left:50%;bottom:112px;transform:translate(-50%);z-index:400;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:center;gap:8px;min-height:40px;padding:4px 4px 4px 12px;border-radius:12px;background:var(--panel);color:var(--text);box-shadow:var(--float);font-size:13px;line-height:16px}.toast:not(:has(.toast-action)){padding-right:16px}.toast.ok svg{color:var(--ok)}.toast.error svg{color:var(--warn)}.toast-action{height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--text);font-weight:600}.toast:has(.toast-dot){gap:12px;padding-left:16px}.toast-dot{flex:none;width:6px;height:6px;border-radius:50%;background:var(--text)}.toast-code{font:13px/16px var(--mono);color:var(--muted);white-space:nowrap}.toast:has(.toast-dot) .toast-action{margin-left:-4px}.toast-close{margin-left:-8px}.toast:has(.toast-close){padding-right:6px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:350;background:#1116;display:flex;align-items:center;justify-content:center}.dialog{width:400px;max-width:calc(100vw - 32px);padding:20px;display:flex;flex-direction:column;gap:12px;background:var(--panel);border-radius:12px;box-shadow:var(--float)}.dialog h2{margin:0;font-size:15px;line-height:20px;font-weight:600}.dialog p{margin:0;color:var(--muted);word-break:keep-all}.dialog-field{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:13px}.dialog-field input{height:32px;font-size:13px;color:var(--text);border:0;border-radius:8px;background:var(--panel-2)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.icon-btn,.btn,.row,.menu-item,.oc-tabs button,.etb button,.share-btn,.ask-ai,.new-board,.oc-project,.oc-search,.check i,.layer,.pp-fold,.pp-fold-h,.zoom,.toast-action,input,select,textarea,.num,.fillv{transition:background-color var(--t-state),color var(--t-state),border-color var(--t-state),box-shadow var(--t-state),opacity var(--t-state)}:is(.icon-btn,.btn,.row:not(.on),.menu-item,.oc-tabs button:not(.on),.etb button,.share-btn:not(.on),.new-board,.oc-project,.layer:not(.on),.pp-fold,.pp-fold-h,.zoom,.toast-action):hover:not(:disabled){background:var(--hover);color:var(--text);border-color:transparent}:is(.icon-btn,.btn,.row:not(.on),.menu-item,.oc-tabs button,.etb button,.share-btn,.new-board,.oc-project,.layer,.pp-fold,.pp-fold-h,.zoom,.toast-action):active:not(:disabled){background:var(--pressed);color:var(--text)}.oc-search:hover{background:var(--hover)}.oc-right :is(.pp-row input,.pp-row select,.fillv,.num):hover:not(:disabled){background-color:var(--hover)}:is(.oc-right .pp-row input,.oc-right .pp-row select,.oc-right .fillv,.oc-right .num:focus-within,.oc-cmt textarea,.oc-search:focus-within):is(:focus-visible,:focus-within):not(:disabled),.oc-right .fillv.on{background-color:var(--panel);box-shadow:inset 0 0 0 2px var(--select);outline:0}.oc-right .num input:focus-visible,.oc-search input:focus-visible{outline:0}:disabled{opacity:.4;cursor:default}@keyframes appear{0%{opacity:0;transform:translateY(4px)}}@keyframes leave{to{opacity:0;transform:translateY(4px)}}.entering,.toast,.menu.pop{animation:appear var(--t-in) var(--ease-appear) both}.leaving{animation:leave var(--t-out) var(--ease-leave) both}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0ms!important;animation-iteration-count:1!important;transition-duration:0ms!important}.spinner{animation-duration:.8s!important;animation-iteration-count:infinite!important}.pulse{animation:none!important}}.oc .pin{background:var(--pin-ink);color:#fff;font-weight:600;box-shadow:0 0 0 2px #fff,0 2px 6px #11111138}.oc .canvas .pin:before{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px}.oc .pin.on{background:var(--select);color:var(--select-text)}.embed-gate{position:absolute;top:0;right:0;bottom:0;left:0;z-index:15;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}.embed-gate:hover:not(:disabled){background:transparent;border:0}.embed-gate:focus-visible{outline-offset:-4px}.viewer.embed-live:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;box-shadow:inset 0 0 0 2px var(--select);pointer-events:none}.embed-hint{position:absolute;z-index:20;bottom:68px;margin:0;padding:0 12px;height:28px;display:inline-flex;align-items:center;border-radius:14px;background:var(--panel);box-shadow:var(--float);font-size:13px;color:var(--muted);white-space:nowrap;pointer-events:none}.embed-hint.dock-left{left:12px}.embed-hint.dock-right{right:12px}.embed-hint.dock-center{left:50%;transform:translate(-50%)}.viewer.embed .play{inset:var(--embed-play, 0)}.viewer.embed .play-frame{max-width:calc(100% - 32px)}.oc .board:is(:hover,.editing) .board-title,.oc .board-label:focus-within .board-title{color:var(--text)}.oc .board.selected .board-title{color:var(--select)}.oc .board-file{opacity:0}.oc .board:is(:hover,.selected,.editing) .board-file,.oc .board-label:focus-within .board-file{opacity:1}.oc .board:not(:hover,.selected,.editing,.playing) .board-label:not(:focus-within,:has([aria-expanded=true])) .act-tag{flex:none;width:14px;padding:0;gap:0;justify-content:center;background:transparent}.oc .board:not(:hover,.selected,.editing,.playing) .board-label:not(:focus-within,:has([aria-expanded=true])) .act-tag>svg{display:none}.oc .board:not(:hover,.selected,.editing,.playing) .board-label:not(:focus-within,:has([aria-expanded=true])) .act-tag .act-tag-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.oc .board:not(:hover,.selected,.editing,.playing) .board-label:not(:focus-within,:has([aria-expanded=true])) .act-tag:after{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--text)}.oc .board:not(:hover,.selected,.editing,.playing) .board-label:not(:focus-within,:has([aria-expanded=true])) .act-tag.seen:after{background:var(--muted)}.oc .board:not(:hover,.selected,.editing,.playing) .board-label:not(:focus-within,:has([aria-expanded=true])) .act-tags{flex-wrap:nowrap}.oc .board:not(:hover,.selected,.editing,.playing) .board-label.tagged:not(:focus-within,:has([aria-expanded=true])):not(:has(.occ-tag,.board-btns.pinned,.board-play.always)){flex-direction:row;align-items:flex-end;justify-content:flex-start;gap:2px;min-height:0;height:28px}.oc .board:not(:hover,.selected,.editing,.playing) .board-label.tagged:not(:focus-within,:has([aria-expanded=true])):not(:has(.occ-tag,.board-btns.pinned,.board-play.always)) .act-tags{order:1;flex-wrap:nowrap;margin-left:0}.oc .board:not(:hover,.selected,.editing,.playing) .board-label.tagged:not(:focus-within,:has([aria-expanded=true])):not(:has(.occ-tag,.board-btns.pinned,.board-play.always)) .lab-row{flex:0 1 auto;width:auto;min-width:0}.oc .board:not(:hover,.selected,.editing,.playing) .board-label.tagged:not(:focus-within,:has([aria-expanded=true])):not(:has(.occ-tag,.board-btns.pinned,.board-play.always)) :is(.board-file,.board-btns){display:none}.oc .board:not(:hover,.selected,.editing,.playing) .board-label.tagged:not(:focus-within,:has([aria-expanded=true])):not(:has(.occ-tag,.board-btns.pinned,.board-play.always)) .board-title{flex:0 1 auto;min-width:0}.oc-clean :is(.oc-left,.oc-right,.oc-nav,.oc-dock,.canvas-hint,.etb.oc-context){display:none}.oc .calm-handle{position:absolute;z-index:20;right:12px;bottom:12px;width:32px;height:32px;border:0;border-radius:10px;background:var(--panel);color:var(--muted);box-shadow:var(--float)}.oc .calm-handle:is(:hover,:focus-visible){color:var(--text)}.oc-n .calm-handle{right:8px;bottom:8px}.oc.oc-cd{--bar-h: 36px;--rest-h: 36px;--dock-h: 40px;--dock-btn: 32px;--dock-pad: 4px;--dock-gap: 2px;--ctx-h: 36px;--ctx-bottom: 60px}.oc.oc-cd.oc-pane{--ctx-h: 32px}.oc.oc-cd.oc-pane.oc-n{--ctx-bottom: 60px}.oc.oc-cd.oc-phone.oc-phone{--ctx-bottom: 56px}.app.oc.oc-cd{position:absolute;top:0;left:0;right:0;bottom:0;height:auto}.oc.oc-cd .oc-head .oc-project{flex:0 1000 auto;min-width:56px;max-width:200px;height:28px;display:inline-flex;align-items:center;gap:4px;padding:0 4px 0 6px;border:0;border-radius:8px;background:transparent;color:var(--text)}.oc.oc-cd .oc-head .oc-project .app-title{min-width:0;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc.oc-cd .oc-head .oc-project svg{flex:none;color:var(--muted)}.oc.oc-cd .oc-head :is(.oc-project,.oc-page,.oc-proto-board){position:relative}.oc-news{position:absolute;top:4px;right:2px;width:6px;height:6px;border-radius:50%;background:var(--text);box-shadow:0 0 0 2px var(--panel);pointer-events:none}.oc.oc-cd .oc-head .oc-project[aria-expanded=true]{background:var(--pressed)}.oc-crumb{flex:none;display:inline-flex;color:var(--muted)}.oc.oc-cd .oc-rhead :is(.oc-abtn,.share-btn,.ask-ai){flex:none;height:28px;display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;font-weight:500;white-space:nowrap}.oc.oc-cd .oc-rhead .oc-abtn:hover:not(:disabled){background:var(--hover)}.oc.oc-cd .oc-rhead :is(.oc-abtn,.share-btn){padding:0 6px}.oc.oc-cd .oc-rhead :is(.oc-abtn,.share-btn).on,.oc.oc-cd .oc-rhead :is(.oc-abtn,.share-btn).on:hover{background:var(--pressed)}.oc-acount{font-size:13px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}.oc.oc-cd .oc-rhead .ask-ai{padding:0 8px;background:var(--hover);font-weight:600}.oc.oc-cd .oc-rhead .ask-ai:not(.on):is(:hover,:active):not(:disabled){background:var(--pressed)}.oc.oc-cd .oc-rhead .ask-ai.on,.oc.oc-cd .oc-rhead .ask-ai.on:hover:not(:disabled){background:var(--pressed);color:var(--text)}.oc.oc-cd .oc-rhead .ask-ai .req-count{min-width:20px;height:20px;margin:0 -4px 0 0;padding:0 6px;border-radius:10px;background:var(--accent);color:var(--accent-text);font-size:13px;line-height:20px}.oc.oc-cd .oc-rhead .ask-ai-short{display:none}.oc.oc-cd .oc-rhead .share-btn svg{flex:none;color:var(--text)}.oc.oc-cd:not(.rs-0) .oc-rhead .share-btn{width:28px;padding:0;gap:0}.oc.oc-cd:not(.rs-0) .oc-rhead .share-label{display:none}.oc.oc-cd:is(.rs-2,.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-rhead .ask-ai-label{display:none}.oc.oc-cd:is(.rs-2,.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-rhead .ask-ai-short{display:inline}.oc.oc-cd:is(.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-rhead .oc-cmts{width:28px;padding:0}.oc.oc-cd:is(.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-rhead .oc-acount{display:none}.oc.oc-cd:is(.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-head .oc-pcount{display:none}.oc.oc-cd:is(.rs-4,.rs-5,.rs-6,.rs-7) .oc-rhead .oc-play{display:none}.oc.oc-cd.rs-7 .oc-right.oc-right.is-rest{top:56px}.oc.oc-cd.oc-phone.rs-7 .oc-right.oc-right.is-rest{top:52px}.oc.oc-cd.rs-7 .oc-full.bare .oc-full-stage{margin-top:104px}.oc.oc-cd:is(.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-head .oc-page:has(.oc-pcount){padding-left:6px}.oc.oc-cd:is(.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-head .oc-page{flex-shrink:1}.oc.oc-cd:is(.rs-3,.rs-4,.rs-5,.rs-6,.rs-7) .oc-rhead .oc-zoom-btn{min-width:0}.oc.oc-cd .oc-left{left:12px;top:12px}.oc.oc-cd .oc-left.is-collapsed{width:auto;max-width:none}.oc.oc-cd .oc-left .oc-head{height:36px;gap:2px;padding:0 4px}.oc.oc-cd .oc-head :is(.oc-ib,.oc-vb),.oc.oc-cd .oc-rhead .oc-ib{flex:none;width:28px;height:28px;padding:0;border:0;border-radius:8px;color:var(--text)}.oc.oc-cd :is(.oc-head,.oc-rhead) :is(.oc-ib,.oc-vb).on,.oc.oc-cd :is(.oc-head,.oc-rhead) :is(.oc-ib,.oc-vb).on:hover:not(:disabled){background:var(--pressed);color:var(--text)}.oc.oc-cd .oc-head .oc-page{flex:0 0 auto;min-width:56px;max-width:160px;height:28px;gap:4px;margin:0;padding:0 4px 0 6px;color:var(--text);font-weight:500}.oc.oc-cd .oc-head .oc-page svg{color:var(--muted)}.oc.oc-cd .oc-head .oc-page:has(.oc-pcount){padding-left:4px}.oc-pcount{flex:none;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--pressed);color:var(--text);font-size:13px;line-height:20px;font-weight:500;text-align:center;font-variant-numeric:tabular-nums}.oc-views{flex:none;display:flex;gap:2px}.oc-hsep{flex:none;width:1px;height:16px;margin:0 2px 0 4px;background:var(--line)}.oc.oc-cd .oc-left .oc-status{padding:0 8px 4px}.oc.oc-cd .oc-right.oc-right{right:12px;top:12px;height:calc(100% - 24px)}.oc.oc-cd .oc-right.oc-right.is-rest{width:auto;height:36px}.oc.oc-cd .oc-right.oc-right.is-fit{height:auto}.oc.oc-cd .oc-right.oc-right .oc-rhead{height:36px;gap:2px;padding:0 4px;justify-content:flex-end}.oc-zoom-btn{flex:none;height:28px;min-width:64px;display:inline-flex;align-items:center;justify-content:space-between;gap:2px;padding:0 4px 0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.oc-zoom-btn svg{flex:none;color:var(--muted)}.oc-zoom-btn:hover{background:var(--hover)}.oc-zoom-btn.on,.oc-zoom-btn.on:hover{background:var(--pressed)}.oc.oc-cd .oc-dock{bottom:12px;border-radius:12px}.oc.oc-cd.oc-phone .oc-dock{bottom:8px}.oc.oc-cd .oc-dock .icon-btn{border-radius:8px}.oc.oc-cd .oc-dock .oc-sep{margin:0 4px}.oc.oc-cd .oc-dock .new-board{padding:0 8px;gap:4px;border-radius:8px}.oc.oc-cd .oc-dock .oc-fold{width:44px}.oc.oc-cd.oc-phone .oc-left{left:8px;top:8px}.oc.oc-cd.oc-phone .oc-right.oc-right{right:8px;top:8px}.oc.oc-cd.is-proto :is(.oc-left,.oc-right){z-index:101}.oc-full.bare .oc-full-stage{margin-top:60px}.oc.oc-cd .oc-rhead .oc-full-mode{margin-left:2px}.menu .menu-heading{height:28px}.menu .menu-item+.menu-heading{margin-top:4px}.menu:is(.play-menu,.proto-menu){max-height:calc(100vh - 120px);overflow-y:auto}.menu:is(.play-menu,.proto-menu)>*{flex:none}.menu.play-menu>.menu-title:not(.menu-heading){display:none}.oc .board:focus-within .board-btns,.oc .board:focus-within .board-file{opacity:1}.oc .board-btns .icon-btn.board-play.pill{width:auto;gap:4px;padding:0 8px 0 5px}.oc .board-btns .board-play .pill-label{font-size:13px;line-height:16px;font-weight:500}.oc .board-btns .icon-btn.board-play.pill.pressed{padding:0 8px;background:var(--text);color:var(--panel)}.oc.oc-cd.is-playing .oc-dock{visibility:hidden}.oc-full{position:absolute;z-index:90;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:var(--bg)}.oc-full-bar{flex:none;height:44px;display:flex;align-items:center;gap:4px;padding:0 8px;background:var(--panel);box-shadow:inset 0 -1px 0 var(--line);line-height:16px}.oc-full-bar .oc-ib{flex:none;color:var(--text)}.oc-full-name{min-width:0;padding:0 4px;font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-full-gap{flex:1}.oc-full-mode{flex:none;display:flex;gap:2px}.oc-full-mode button{height:28px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:400;white-space:nowrap}.oc-full-mode button.on,.oc-full-mode button.on:hover:not(:disabled){background:var(--pressed);color:var(--text);font-weight:600}.oc-full-stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.oc-full-fill{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:#fff}.oc-full-frame{flex:none;overflow:hidden;background:#fff;box-shadow:var(--float)}.oc-full-frame iframe{display:block;border:0}.oc.oc-cd .oc-right.oc-right.is-col{top:0;right:0;height:auto;border-radius:0;box-shadow:-1px 0 0 var(--line);transition:none}.oc.oc-cd .oc-dock{z-index:22}.oc.oc-cd .oc-right.oc-right.is-col .oc-rhead{flex:none;height:36px;margin:12px 0 0;padding:0 16px 0 4px;justify-content:flex-end}.oc-col-head{flex:1;min-width:0;display:flex;align-items:center;overflow:hidden}.oc.oc-cd .oc-right.is-col>.oc-col-head{flex:none;height:36px;margin:4px 0;padding:0 8px}.oc.oc-cd .oc-col-tabs{height:36px;padding:0;gap:2px}.oc.oc-cd .oc-col-tabs button{padding:0 8px;font-size:13px}.oc-col-title{margin:0;padding:0 8px;font-size:13px;line-height:16px;font-weight:600;color:var(--text)}.oc-col-empty{margin:0;padding:32px 16px;text-align:center;font-size:13px;line-height:20px;color:var(--muted)}.oc-right .page-outline{padding-top:0;box-shadow:none}.oc-right .board-layer .layer-icon{flex:none;color:var(--muted)}.oc-right .board-layer .lname{font-weight:500}.oc.oc-cd .oc-right.oc-sheet .oc-rhead{position:fixed;z-index:21;top:8px;right:8px;height:36px;padding:0 4px;gap:2px;border-radius:12px;background:var(--panel);box-shadow:var(--float)}.oc.oc-cd .oc-right.oc-sheet>.oc-col-head{flex:none;height:44px;padding:4px 8px 0}.oc.oc-cd.is-proto .oc-right.oc-right.is-col{padding-top:48px}.oc.oc-cd.is-proto .oc-right.oc-right.is-col .oc-rhead{position:fixed;z-index:21;top:12px;right:12px;margin:0;padding:0 4px;border-radius:12px;background:var(--panel);box-shadow:var(--float)}.oc.oc-cd.oc-phone.is-proto .oc-right.oc-right.is-col .oc-rhead{top:8px;right:8px}.oc-code .pp-scroll{gap:8px}.oc-code .code-target{margin:0;font-size:13px;line-height:20px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-code .code-target code{font:13px/20px var(--mono);color:var(--text)}.oc-code .code-css{width:100%;min-height:84px;resize:vertical;padding:8px;border:0;border-radius:8px;background:var(--panel-2);font:13px/20px var(--mono);color:var(--text);outline:none}.oc-code .code-css:focus{box-shadow:0 0 0 2px var(--select)}.oc-code .code-bad{white-space:normal;overflow-wrap:anywhere;font-size:13px}.oc-code .code-inh{gap:0}.oc-code .code-row{display:grid;grid-template-columns:112px 1fr;column-gap:8px;align-items:center;min-height:28px;font:13px/20px var(--mono)}.oc-code .code-k{color:var(--muted)}.oc-code .code-v{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.oc-code .code-v .sw{flex:none;width:12px;height:12px;border-radius:3px;box-shadow:inset 0 0 0 1px var(--sw-ring)}.oc-tweaks .tweaks{display:flex;flex-direction:column;gap:4px}.oc-right .tw-row{align-items:center}.oc-right .tw-color{display:grid;grid-template-columns:28px 1fr;gap:4px;min-width:0;width:100%}.oc-right .tw-color .sw-btn{position:relative;width:28px;height:28px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--sw-ring);cursor:pointer;overflow:hidden}.oc-right .tw-color .sw-btn input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.oc-right .tw-color .tw-hex{font:13px var(--mono)}.oc-right .tweaks .pp-v>input,.oc-right .tweaks .pp-v>select,.oc-right .tweaks .tw-hex{width:100%;min-width:0;height:28px;padding:0 8px;border:0;border-radius:8px;background-color:var(--panel-2);color:var(--text);font-size:13px}.oc-right .tw-foot{display:flex;justify-content:flex-end;gap:4px;padding-top:8px}.oc-right .tweaks .switch{position:relative;flex:none;width:28px;height:16px;padding:0;border:0;border-radius:8px;background:var(--box-ring)}.oc-right .tweaks .switch:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:6px;background:var(--panel);transition:left var(--t-state)}.oc-right .tweaks .switch:hover:not(:disabled){background:var(--box-ring)}.oc-right .tweaks .switch.on,.oc-right .tweaks .switch.on:hover:not(:disabled){background:var(--select)}.oc-right .tweaks .switch.on:after{left:14px}.oc-right .pp-seg{display:flex;gap:2px;min-width:0}.oc-right .pp-seg button{flex:1;min-width:0;height:28px;padding:0 6px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-right .pp-seg button.on,.oc-right .pp-seg button.on:hover:not(:disabled){background:var(--pressed);color:var(--text);font-weight:600}.oc-right .op-row{display:grid;grid-template-columns:72px 1fr;gap:8px;align-items:center}.oc-right .op-row input[type=range]{width:100%;accent-color:var(--text)}.oc-right .pp-v .switch{position:relative;flex:none;width:28px;height:16px;padding:0;border:0;border-radius:8px;background:var(--box-ring)}.oc-right .pp-v .switch:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:6px;background:var(--panel);transition:left var(--t-state)}.oc-right .pp-v .switch.on{background:var(--select)}.oc-right .pp-v .switch.on:after{left:14px}.oc-right .pp-v:has(>.switch){height:28px;align-items:center}.cmt-pop{position:fixed;z-index:60;display:flex;flex-direction:column;gap:8px;max-height:min(60vh,480px);padding:12px;border-radius:12px;background:var(--panel);box-shadow:var(--float);line-height:16px}.cmt-crumbs{margin:0;font-size:13px;line-height:20px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmt-crumbs .cmt-sep{color:var(--muted)}.cmt-composer textarea{width:100%;min-height:72px;resize:vertical;padding:8px;border:0;border-radius:8px;background:var(--panel-2);font-size:13px;line-height:20px;color:var(--text);outline:none}.cmt-composer textarea:focus{box-shadow:0 0 0 2px var(--select)}.cmt-bar{display:flex;align-items:center;gap:4px}.cmt-gap{flex:1}.cmt-bar .btn{height:28px;padding:0 10px;border:0;border-radius:8px;font-size:13px}.cmt-thread{padding:0;overflow:hidden}.cmt-thread .pp{display:flex;flex-direction:column;min-height:0}.cmt-thread .pp-scroll{overflow-y:auto;padding:4px 12px 8px}.cmt-thread .oc-cmt .pp-group-h{display:none}.oc-right .cmt-filters,.cmt-pop .cmt-filters{display:flex;align-items:center;gap:4px}.cmt-filters .pp-seg{flex:1}.cmt-filters .cmt-resolved{height:28px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px}.cmt-filters .cmt-resolved.on{background:var(--pressed);color:var(--text);font-weight:600}.oc-cmt-bar .c-more{width:28px;height:28px;margin-left:auto;color:var(--muted)}.oc.oc-cd.is-cmt-mode .board-frame{cursor:crosshair}.oc .board-lock{flex:none;display:inline-flex;color:var(--muted);opacity:0;transition:opacity 80ms}.oc .board:is(:hover,.selected,:focus-within) .board-lock{opacity:1}.note-lock{position:absolute;top:-20px;right:0;display:inline-flex;color:var(--muted);opacity:0;transform-origin:100% 100%;pointer-events:none}.note:is(:hover,.selected) .note-lock{opacity:1}.oc-right .board-opts .tw-color,.oc-right .pp-group .tw-color{display:grid;grid-template-columns:28px 1fr;gap:4px;min-width:0;width:100%}.oc-right .pp-group .tw-color .sw-btn{position:relative;width:28px;height:28px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--sw-ring);cursor:pointer;overflow:hidden}.oc-right .pp-group .tw-color .sw-btn input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.oc-right .pp-group .tw-hex{width:100%;min-width:0;height:28px;padding:0 8px;border:0;border-radius:8px;background-color:var(--panel-2);color:var(--text);font:13px var(--mono)}.oc .etb.oc-anchored,.oc .oc-ask,.oc .oc-result{position:absolute;left:0;top:0;z-index:23}.oc .etb.oc-anchored{height:36px}.oc-clean :is(.etb.oc-anchored,.oc-ask,.oc-result){display:none}.menu.pop .pop-row{display:flex;align-items:center;gap:2px;padding:4px 0 0}.menu.pop .pop-gap{width:8px}.menu.pop .pop-tog{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px}.menu.pop .pop-tog.on{background:var(--pressed)}.oc .oc-ask{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:12px;background:var(--panel);box-shadow:var(--float);line-height:20px}.oc-ask-top{display:flex;align-items:center;gap:8px;min-height:20px;padding:0 4px}.oc-ask-about{flex:1;min-width:0;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-ask-history{flex:none;font-size:13px}.oc-ask-row{display:flex;align-items:flex-end;gap:8px}.oc-ask textarea{flex:1;min-width:0;min-height:32px;padding:6px 8px;border:0;border-radius:8px;background:var(--panel-2);color:var(--text);font:13px/20px var(--font, inherit);resize:none;outline:none}.oc-ask textarea:focus{box-shadow:0 0 0 2px var(--select)}.oc-ask-send{flex:none;height:32px;padding:0 12px;border:0;border-radius:8px;background:var(--hover);color:var(--muted);font-size:13px;font-weight:600}.oc-ask-send.is-ready{background:var(--accent);color:var(--accent-text)}.oc-ask-err{margin:0;padding:0 4px;display:flex;gap:6px;align-items:center;font-size:13px;color:var(--warn-text, var(--text))}.oc .oc-result{width:320px;padding:10px 8px 8px 12px;border-radius:12px;background:var(--panel);box-shadow:var(--float);line-height:20px}.oc-result-head{display:flex;align-items:flex-start;gap:8px}.oc-result-head .dot{margin-top:6px}.oc-result-head .dot.ok{background:var(--ok)}.oc-result-head .dot.bad{background:var(--warn)}.oc-result-text{flex:1;min-width:0;margin:0;font-size:13px;color:var(--text);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.oc-result-acts{display:flex;gap:6px;margin-top:8px}.oc-result-acts .btn{height:28px;padding:0 10px;font-size:13px}.menu.pop :is(.stepper input,.hex .num,.pop-select){height:28px;border:1px solid var(--line-strong);border-radius:var(--r-sm);background-color:var(--panel);color:var(--text);font-size:13px}.menu.pop .pop-select{width:100%;-moz-appearance:none;appearance:none;-webkit-appearance:none;padding:0 28px 0 8px;background:var(--panel) var(--chev) no-repeat right 7px center / 14px 14px}.menu.pop .hex .num{font:13px ui-monospace,SFMono-Regular,Menlo,monospace}.cmt-composer .check{position:relative;display:inline-flex;align-items:center;gap:8px;height:28px;font-size:13px;cursor:pointer}.cmt-composer .check input{position:absolute;left:0;width:16px;height:16px;margin:0;opacity:0}.oc .oc-result.is-running{width:auto;max-width:320px;padding:8px 12px}.oc-result.is-running .oc-result-head{align-items:center}.oc-result.is-running .spinner{flex:none;width:14px;height:14px;color:var(--muted)}.oc-result.is-running .oc-result-text{color:var(--muted)}.oc-result-open{flex:none;font-size:13px;white-space:nowrap}.oc-cmts-pair{flex:none;display:inline-flex;align-items:center}.oc.oc-cd .oc-rhead .oc-cmts-pair .oc-cmts{border-radius:8px 0 0 8px;padding-right:2px}.oc.oc-cd .oc-rhead .oc-cmts-pair .oc-cmts-all{width:16px;padding:0;border-radius:0 8px 8px 0;color:var(--muted)}.oc.oc-cd .oc-rhead .oc-cmts-pair .oc-cmts-all.on{color:var(--text)}.oc .etb button.is-icon{width:28px;padding:0;justify-content:center}
|