easel-canvas 0.3.0 → 0.4.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 CHANGED
@@ -150,6 +150,18 @@ Then try:
150
150
 
151
151
  New files with `<meta name="board-size" content="390x844">` are placed on the canvas automatically at that size.
152
152
 
153
+ ### Send AI requests to the agent you're already talking to
154
+
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
+
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, so then say there (the list shows this line once, with Copy, while a request waits):
158
+
159
+ > handle the Easel requests
160
+
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
+
163
+ 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
+
153
165
  ## Share a view-only copy
154
166
 
155
167
  **Share** (at the top of the right card) writes a static, read-only copy of the whole canvas, the current page or the selected boards to `<project>/easel-export/`: boards with their pages, notes and comments, Play, and a stamp with the export time and `repo@commit`. Nothing in it calls back to Easel, so any static host works (Vercel, GitHub Pages, a PR preview, under any sub-path), and `index.html` also opens straight from disk (comment pins then stack in their board's corner, because browsers keep `file://` frames apart). **Copy deploy command** gives you `npx vercel deploy easel-export`. Turn on **One .html file** for a single self-contained file to attach to Slack, email or a PR; its size shows before you save. **PDF** (one board per page) and **PNG** (one 2× image per board) need Playwright's Chromium.
@@ -210,7 +222,7 @@ Screenshots, thumbnails and PDF/PNG export share one headless Chromium, started
210
222
  | To do this | How |
211
223
  | --- | --- |
212
224
  | Pan and zoom | Drag empty space, Space, or Hand (H); trackpad scroll; ⌘+wheel or pinch (4–400%). ⇧1 Fit all, ⇧2 selection, ⌘0 Zoom to 100%, Minimap (M) |
213
- | Find | Left "Boards" tab: ⌘K search and list; pages (drag to reorder; right-click to rename, delete, or set the launch page) |
225
+ | Find | Left "Boards" tab (the first button in the top-left card): ⌘K search and list; pages (drag to reorder; right-click to rename, delete, or set the launch page). The top-left card shows the current page (with the page count when there are several): click it for every page (⋯ or → on a row for that page's menu) and New page |
214
226
  | Boards | Draw with the board tool (B), use a "New board" template (Blank · Watch, Mobile, Tablet and Desktop screens · Document · Email), or drop an HTML file on the canvas. Duplicate ⌘D, rename F2 (renaming the file offers to update references), Delete (confirm, trash, undo), Bring to front / Send to back ⌘] ⌘[, Export PNG (right-click: downloads `<file>.png` at 2×, needs Playwright's Chromium) |
215
227
  | Multiple items | Drag on empty space to marquee-select or use Shift; move together (snap guides, Alt to disable); arrow keys 1, Shift 10, Option 100 |
216
228
  | Board options | Right "Properties": position, size, Radius, No frame, Show Play button (a dot, and the label's ▶ stays visible at rest; not needed to play), Stretch to window, Open as launch screen, Layout guides (Columns · Rows · Grid, up to 6, ⌃G), Adjustable values |
@@ -220,9 +232,9 @@ Screenshots, thumbnails and PDF/PNG export share one headless Chromium, started
220
232
  | Direct editing | The element toolbar, in the line above the dock: Text (size, weight), Fill (your tokens first, written as a CSS variable, then Custom), Radius, Spacing (padding, gap), Ask AI, Comment. Double-click text to edit it (Shift+Enter for a line break). Move with handles (Alt drops inside a box) and resize, 6 align options, Properties panel in design words with the breadcrumb (CSS names on hover, everything else under More (CSS), ⚠, contrast), Replace image, ⌘C/⌘V to paste into another board |
221
233
  | Undo | ⌘Z / ⌘⇧Z. Canvas actions, HTML edits and board create/delete share one history (100 entries). The ▾ next to Undo lists it newest first (who, what, when; Now marks where you are): Go back to here undoes or redoes step by step to that entry, and Redo brings the rest back. The history lasts until Easel restarts |
222
234
  | Who changed what | A board changed by someone else (an agent over MCP or the in-app chat, a file edited outside Easel, another browser) gets a tag above its title, e.g. "Codex · 2m · 1 change", with a person or agent mark and the name, and the changed element is outlined. Click the tag: the change ("Get started" → "Start free"), Before / After, and Undo (only that change; asks first if one of its boards changed since). Tags fade once you open them or select the board, and clear a day later |
223
- | Design system | Register tokens (`tokens.json`) and themes in the left "Tokens" tab, Theme in the View menu (⋯ at the top of the right card), Token check and Accessibility lists on the right |
235
+ | Design system | Register tokens (`tokens.json`) and themes in the left "Tokens" tab, Theme in the project menu (the title at the top left), Token check and Accessibility lists on the right |
224
236
  | Collaboration | Comments (Reply, Resolve, author), Snapshot menu (git-commits only the design folder) |
225
- | Language | English or Korean (한국어): the browser's language picks it on first load (ko-* is Korean, everything else English), Language in the View menu switches it and is remembered in this browser. The exported view-only copy follows the browser's language |
237
+ | Language | English or Korean (한국어): the browser's language picks it on first load (ko-* is Korean, everything else English), Language in the project menu switches it and is remembered in this browser. The exported view-only copy follows the browser's language |
226
238
  | Share | "Share" at the top of the right card: whole canvas, this page or the selected boards as a web folder or one .html file, PDF or PNG; Reveal, Copy deploy command, and the matching `npx easel-canvas export` line |
227
239
  | Who is on which board | A board someone is editing says so above its title with a mark and the name: "Claude Code is editing…", "You · editing", then "Claude Code · done 13:52"; the board list shows a dot (blue for you, ink for anyone else). An agent holds a board from its first write until its in-app run ends, or 45 s after its last write over MCP (or when it disconnects). A second agent writing a board another agent holds works on a fork beside it ("Welcome · Codex"), with an arrow back that says when and why; you are never forked. When both are done, Use this one on either keeps that version under the original's name, title, position and comments, and sends the other to trash; one Undo brings both back |
228
240
  | Pick a variant | Variants from the AI tab land in the first free row (never on notes or boards) and each gets Use this: Apply makes it the original board and sends the other variants to trash (toast with Undo), Keep all leaves them as ordinary boards |
@@ -230,7 +242,9 @@ Screenshots, thumbnails and PDF/PNG export share one headless Chromium, started
230
242
  | AI permissions | When Claude Code wants to run a command or edit outside what it may, the chat shows the exact request: Allow once, Always allow (that tool, or a command's first two words, until Easel restarts; never for file edits, for commands with `;` `&&` `\|` `>` and the like, or for `sh -c`-style wrappers), or Deny |
231
243
  | Undo an AI run | Each run that changed files ends with the boards it changed and added: Undo this run (one step, ⌘Z brings it back; asks first if you changed one of them since), Redo, Compare before and after. After a restart: Restore the copy from before this run (the newest 10 are kept) |
232
244
  | Custom agent | Agent menu › Custom command…: a name and a command with `{prompt}`, e.g. `aider --message {prompt} --yes`. Saved in `~/.easel/agents.json` (not in the project), run without a shell, output shown as plain text |
233
- | Screen | F6 to move between regions, Tab to move between boards, ⌘\\ to fold both cards away and back, Appearance (System · Light · Dark) |
245
+ | Screen | An app bar above the canvas: the project's title menu (find, share, snapshot, appearance, theme, language, where AI requests go, keyboard shortcuts) on the left; Comments, **AI** and Share on the right. On the canvas, a top-left card (left panel, page, Canvas / Prototype) and a top-right card (▷ play, the properties panel ⌘\\, the zoom percent with zoom in/out, fit ⇧1, selection ⇧2, 50/100/200%, layout guides ⌃G, minimap M, clean view ⇧⌘\\). F6 moves between regions, Tab between boards; clean view leaves the canvas alone (Esc, the same key or the small handle at the bottom right bring the tools back). ▷ lists the page's prototypes and static boards; Canvas / Prototype in the top-left card switches to one board at a time (board switcher, ← →, Fill / Fit, Esc back). The URL keeps `#page-<id>`, `#artboard-<file>` or `#play-<file>`: back and forward walk pages and the prototype view, a link lands there, and Copy page link (a page's ⋯) and Copy link (a board's menu) copy one. Links are local to the port the canvas runs on |
246
+ | Pane width | The same arrangement at every width. At 1200 wide or less (the browser pane beside an agent's chat) the left panel opens over the canvas and steps away when you pick a board from it, press Esc or press on the canvas; opening it there lasts for that tab, the choice made in a wide window is the one remembered. The right panel opens at once, roomy, on a pick (Properties), on **AI**, on Comments or on a comment; it follows your next pick, and Esc, a press on the empty canvas, or a pan or zoom puts it back (not while you are typing in one of its fields). Resting bars keep their place and open panels grow away from them: the cards are 36 px, the dock 40 px and centred; the minimap sits at the bottom left (144 px wide at pane width, 192 wider), on unless you switched it off, shown where it fits beside the dock |
247
+ | Labels and hints | At rest a board's label is its title in grey; a change by someone else is a dot after it. Point at the board, select it or tab into its label for the file name and the full tag ("Outside Easel · 11m · 2 changes"); who is editing right now, forks and Use this one always show in full. No hint at rest: the first visit shows two hints above the dock for 8 seconds or until the first press. On hover, selection or keyboard focus a label offers ↓ export (PNG 2×), ⤢ full window (Fill / Fit, Esc back with the board selected), the board's adjustable values when it declares them, and ▷ Play with a menu (in place, full screen); playing in place ▷ reads Edit and the dock steps away |
234
248
 
235
249
  </details>
236
250
 
package/bin/mcp.mjs CHANGED
@@ -192,17 +192,84 @@ tool(
192
192
  tool(
193
193
  "list_comments",
194
194
  {
195
- description: "List board comments (docs/design/comments.json), optionally for one file or only unresolved ones.",
196
- inputSchema: { file: z.string().optional(), unresolved: z.boolean().optional() },
195
+ description: "List board comments (docs/design/comments.json), optionally for one file, only unresolved ones, or only the ones marked For AI (requests; use list_requests to handle them).",
196
+ inputSchema: { file: z.string().optional(), unresolved: z.boolean().optional(), for_agent: z.boolean().optional().describe("Only comments marked For AI") },
197
197
  },
198
- async ({ file, unresolved }) => {
198
+ async ({ file, unresolved, for_agent }) => {
199
199
  const q = new URLSearchParams();
200
200
  if (file) q.set("file", file);
201
201
  if (unresolved) q.set("unresolved", "1");
202
+ if (for_agent) q.set("for_agent", "1");
202
203
  return ok(await callJson("GET", `/api/comments?${q}`));
203
204
  },
204
205
  );
205
206
 
207
+ tool(
208
+ "list_requests",
209
+ {
210
+ description:
211
+ 'List the requests the person left on the Easel canvas for you (comments marked For AI): waiting and taken ones. Each waiting request meant for you comes with the context block Easel\'s own chat would send (target file, element path, source excerpt, issues, token rules). Use it when the person says "handle the Easel requests" (or "Easel 요청 처리해 줘", or runs /easel:requests). Then, for each one meant for you: take_request, do only what it asks, check, finish_request. Skip requests another agent has taken or that name another agent.',
212
+ inputSchema: {},
213
+ },
214
+ async () => {
215
+ const { requests } = await callJson("GET", "/api/requests");
216
+ if (!requests.length) return ok("No requests are waiting on the Easel canvas.");
217
+ const mine = requests.filter((r) => r.state === "waiting" && r.meantForYou);
218
+ const head = `${requests.length} request${requests.length === 1 ? "" : "s"} on the canvas, ${mine.length} waiting for you. Take each with take_request(id) before you change anything; finish with finish_request.`;
219
+ const blocks = requests.map((r) => {
220
+ const where = `${r.file}${r.path ? ` path ${r.path}` : ""}`;
221
+ if (r.state === "taken") return `## ${r.id} · taken by ${r.by} · ${where}\nSkip it: ${r.by} is on it.`;
222
+ if (!r.meantForYou) return `## ${r.id} · for ${r.for} · ${where}\nSkip it: it is addressed to ${r.for}.`;
223
+ return `## ${r.id} · waiting · for ${r.for} · ${where}${r.left ? ` (${r.left} left before finishing it)` : ""}\n${r.context}`;
224
+ });
225
+ return ok([head, ...blocks].join("\n\n"));
226
+ },
227
+ );
228
+
229
+ tool(
230
+ "take_request",
231
+ {
232
+ description:
233
+ "Take one request from the Easel canvas before working on it (atomic: if another agent took it first you get \"Already taken by …\"; a request addressed to another agent is refused). It also claims the request's board, so the canvas shows you are editing it, and returns the board and the request's context. Change the board only through write_board (read_board, then the whole HTML); do not use file-editing tools.",
234
+ inputSchema: { id: z.string().describe("The request id from list_requests") },
235
+ },
236
+ async ({ id }) => {
237
+ const r = await callJson("POST", "/api/requests", { action: "take", id });
238
+ return ok(`Took ${r.request.id}. ${r.message}\n\n${r.context}`);
239
+ },
240
+ );
241
+
242
+ tool(
243
+ "finish_request",
244
+ {
245
+ description:
246
+ "Finish a request you took: status done (your one-line reply is added to the comment and it is resolved; the person can undo the change from the board) or failed (reply says why; the person can send it again or use Easel's chat). Check your edit first (check_tokens, screenshot).",
247
+ inputSchema: {
248
+ id: z.string(),
249
+ status: z.enum(["done", "failed"]),
250
+ reply: z.string().describe("One line for the person: what you changed, or why it failed"),
251
+ },
252
+ },
253
+ async ({ id, status, reply }) => {
254
+ const r = await callJson("POST", "/api/requests", { action: "finish", id, status, reply });
255
+ return ok(`${r.request.id} is ${r.request.state}.${r.changed.length ? ` Changed: ${r.changed.join(", ")}.` : " No board changed."}`);
256
+ },
257
+ );
258
+
259
+ tool(
260
+ "resolve_pick",
261
+ {
262
+ description:
263
+ "Turn an element the person picked on the Easel page (your host's element picker, a pasted snippet, a selector or visible text) into the board file, Easel element path and source outerHTML. A pick of Easel's board frame carries data-easel-file and, while an element is selected, data-easel-path. With no arguments it returns what is selected in Easel now.",
264
+ inputSchema: {
265
+ html: z.string().optional().describe("The picked element's HTML (outerHTML), as the picker gave it"),
266
+ selector: z.string().optional().describe("A CSS selector for the element"),
267
+ text: z.string().optional().describe("The element's visible text"),
268
+ },
269
+ },
270
+ async (args) => ok(await callJson("POST", "/api/pick/resolve", args)),
271
+ );
272
+
206
273
  tool(
207
274
  "add_comment",
208
275
  {
@@ -356,6 +423,19 @@ tool(
356
423
  async ({ message }) => ok(await callJson("POST", "/api/snapshot", { message })),
357
424
  );
358
425
 
426
+ // Say hello once the client has introduced itself (its name is the agent label), then every minute: the canvas lists connected
427
+ // agents, so the person can see who will pick up a request and address one. Easel's own chat runs do not say hello
428
+ const host = !args.chat && !args.permission;
429
+ const hello = () =>
430
+ host &&
431
+ call("POST", "/api/agents/hello", { client: CLIENT, label: agent(), cwd: process.cwd() }).catch(() => {
432
+ /* no canvas yet: the next hello finds it */
433
+ });
434
+ server.server.oninitialized = () => {
435
+ void hello();
436
+ setInterval(hello, 60000).unref();
437
+ };
438
+
359
439
  await server.connect(new StdioServerTransport());
360
440
 
361
441
  // The client went away (stdin closed, or we are told to stop): the boards this client was editing are released, then exit
@@ -364,7 +444,11 @@ const leave = async () => {
364
444
  if (leaving) return;
365
445
  leaving = true;
366
446
  if (!permissionOnly && port)
367
- await fetch(`http://127.0.0.1:${port}/api/boards/release`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ client: CLIENT }), signal: AbortSignal.timeout(1000) }).catch(() => {});
447
+ await Promise.all(
448
+ ["/api/boards/release", ...(host ? ["/api/agents/bye"] : [])].map((p) =>
449
+ fetch(`http://127.0.0.1:${port}${p}`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ client: CLIENT }), signal: AbortSignal.timeout(1000) }).catch(() => {}),
450
+ ),
451
+ );
368
452
  process.exit(0);
369
453
  };
370
454
  process.stdin.on("end", leave);
@@ -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)}: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 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 .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}