attraverso 0.4.1 → 0.6.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
@@ -1,6 +1,9 @@
1
1
  # attraverso
2
2
 
3
- Durable, structured project memory for AI coding agents, over [MCP](https://modelcontextprotocol.io).
3
+ Durable, structured project memory for AI coding agents, over [MCP](https://modelcontextprotocol.io): the plan,
4
+ the reasoning behind it and what was decided, kept in your repo and shown as a graph, a board and a calendar.
5
+
6
+ ## Why
4
7
 
5
8
  An agent is good at working on a project and bad at remembering it three weeks later. The usual workaround is
6
9
  a `CLAUDE.md` file that grows unmaintainably, cannot be queried, and rots. Attraverso moves that state into a
@@ -10,25 +13,56 @@ budget-bounded slice rather than dumped into context wholesale.
10
13
  The plan lives as version-controlled YAML committed alongside your code, so it is reviewable in a pull request
11
14
  like any other file, and is rebuilt into an in-memory Postgres ([PGlite](https://pglite.dev)) on load.
12
15
 
13
- ## Using it
16
+ ## Quick start
17
+
18
+ Needs Node 22 or newer. In your repo, with [Claude Code](https://claude.com/claude-code):
19
+
20
+ ```bash
21
+ npm install --save-dev attraverso && claude mcp add --scope project attraverso -- npx attraverso
22
+ # installs attraverso and adds its server to the repo's .mcp.json
23
+ ```
24
+
25
+ With yarn, `yarn add --dev attraverso` in place of the `npm install`.
26
+
27
+ Claude Code loads its servers when a session starts, so start a new one (or restart one already open) and approve
28
+ the attraverso server when it asks. Then tell the agent something like:
29
+
30
+ > Create an attraverso project for this repo, and add items for what we're working on.
14
31
 
15
- Requires Node 22 or newer.
32
+ And see the plan:
33
+
34
+ ```bash
35
+ npx attraverso viewer --open
36
+ ```
37
+
38
+ | | |
39
+ | :-: | :-: |
40
+ | <img src="docs/screenshots/desktop-graph.jpg" alt="The graph: each area a coloured box of its items, summarised when zoomed out" width="420"> | <img src="docs/screenshots/desktop-board.jpg" alt="The board: status columns, area lanes, the agreed order first" width="420"> |
41
+ | **Graph**: items by dependency, grouped by area | **Board**: status columns, the agreed order first |
42
+ | <img src="docs/screenshots/desktop-calendar.jpg" alt="The calendar: items on their planned days, or when they were filed or last changed" width="420"> | <img src="docs/screenshots/mobile-graph.jpg" alt="The graph on a phone, with the views in a bar along the bottom" width="200"> |
43
+ | **Calendar**: planned dates, or when items were filed or changed | **Phone**: the same views, tabs along the bottom |
44
+
45
+ ## Using it
16
46
 
17
47
  ### In Claude Code
18
48
 
19
- Add it to the `.mcp.json` at the root of your repo:
49
+ The quick start's `claude mcp add` writes this to the `.mcp.json` at the root of your repo, which you can also
50
+ add by hand:
20
51
 
21
52
  ```json
22
53
  {
23
54
  "mcpServers": {
24
55
  "attraverso": {
25
56
  "command": "npx",
26
- "args": ["-y", "attraverso"]
57
+ "args": ["attraverso"]
27
58
  }
28
59
  }
29
60
  }
30
61
  ```
31
62
 
63
+ To try it without installing, make the args `["-y", "attraverso"]`: `npx` then fetches the latest release on first
64
+ run instead of using the repo's pinned copy.
65
+
32
66
  The plan, `attraverso.yaml`, is created at the root of the repo on first run. Commit it: it is the source of
33
67
  truth, and its diffs are the history of the plan. Readings, attachments and the graph's layout go in an
34
68
  `.attraverso/` folder beside it, committed too.
@@ -38,16 +72,14 @@ themselves, and `get_project` returns the project's protocol - its operating man
38
72
 
39
73
  ### Seeing it
40
74
 
41
- Ask the agent to open the viewer (the `open_viewer` tool). It serves the plan as a dependency graph on a
42
- `127.0.0.1` address, so it only opens on the machine running the server.
43
-
44
- Or open it yourself from a terminal, in the project:
75
+ Ask the agent to open the viewer (the `open_viewer` tool), or open it yourself from a terminal, in the project:
45
76
 
46
77
  ```bash
47
78
  npx attraverso viewer --open
48
79
  ```
49
80
 
50
- It finds the plan the way the server does (or takes `--store <path>`), prints the URL, and opens it with
81
+ Either way it serves the plan on a `127.0.0.1` address, so it only opens on the machine running it. The terminal
82
+ command finds the plan the way the server does (or takes `--store <path>`), prints the URL, and opens it with
51
83
  `--open`. `--project <key>` picks which project it lands on. It can edit the plan as the agent's viewer can, and
52
84
  is safe to run beside a connected server on the same file. Ctrl+C stops it.
53
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attraverso",
3
- "version": "0.4.1",
3
+ "version": "0.6.0",
4
4
  "description": "Durable, structured project memory that Claude reads and writes over MCP, stored as version-controlled YAML.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/server.js CHANGED
@@ -21963,7 +21963,7 @@ var StdioServerTransport = class {
21963
21963
  };
21964
21964
  // package.json
21965
21965
  var name = "attraverso";
21966
- var version$1 = "0.4.1";
21966
+ var version$1 = "0.6.0";
21967
21967
  var description = "Durable, structured project memory that Claude reads and writes over MCP, stored as version-controlled YAML.";
21968
21968
  var license = "Apache-2.0";
21969
21969
  var repository = {
@@ -24792,6 +24792,9 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
24792
24792
  function count(expression) {
24793
24793
  return sql`count(${expression || sql.raw("*")})`.mapWith(Number);
24794
24794
  }
24795
+ function max(expression) {
24796
+ return sql`max(${expression})`.mapWith(is(expression, Column) ? expression : String);
24797
+ }
24795
24798
  // src/db/rows.ts
24796
24799
  /**
24797
24800
  * Small helpers for reading Drizzle result arrays under `noUncheckedIndexedAccess`, where `rows[0]` and a
@@ -50337,6 +50340,19 @@ async function setNext(db, projectId, refs, actor) {
50337
50340
  });
50338
50341
  return getNext(db, projectId);
50339
50342
  }
50343
+ /**
50344
+ * Put one item at the end of the agreed order, or take it out (the viewer's "add to next", `VIEW-46`).
50345
+ *
50346
+ * The one place the list is edited by a single ref rather than replaced whole, because a person clicking a button
50347
+ * on one item is not restating the list. It is still `setNext` underneath, so there is one write and one event
50348
+ * shape. It works on the *stored* refs rather than `getNext`'s shown ones, so a done item's place is kept and
50349
+ * reopening it still restores it. Adding an item already listed leaves it where it is.
50350
+ */
50351
+ async function toggleNext(db, projectId, ref, listed, actor) {
50352
+ const stored = (await db.select({ ref: items.ref }).from(projectNext).innerJoin(items, eq(projectNext.itemId, items.id)).where(eq(projectNext.projectId, projectId)).orderBy(asc(projectNext.position))).map((row) => row.ref);
50353
+ if (listed && stored.includes(ref)) return getNext(db, projectId);
50354
+ return setNext(db, projectId, listed ? [...stored, ref] : stored.filter((candidate) => candidate !== ref), actor);
50355
+ }
50340
50356
  // scripts/tickets.ts
50341
50357
  /**
50342
50358
  * The shared ticket model: the status vocabulary, the `RoadmapItem` shape, and `areasOf`. It has NO Node
@@ -52613,8 +52629,13 @@ async function matching(db, projectId, q, rank, limit, headline) {
52613
52629
  // src/mcp/searchFeed.ts
52614
52630
  /** Enough to fill the dropdown under the box without scrolling it on a laptop. */
52615
52631
  var LIMIT = 12;
52616
- /** A ref as typed (`view-34`, `MCP-3.1`): a prefix, a dash, and a dotted number. */
52617
- var REF = /^([A-Za-z][A-Za-z0-9]*)-(\d+(?:\.\d+)*)$/;
52632
+ /**
52633
+ * A ref as typed: a prefix and a dotted number, with a dash, a space, an underscore or nothing between them -
52634
+ * `view-34`, `proj 3`, `MCP_3.1`, `plat9`. Only a dash was accepted at first, and "proj 3" found nothing by its
52635
+ * ref, which is how people say one out loud. Loose is safe here, because a match only leads when that item exists.
52636
+ * The prefix is lazy, so `plat9` splits before the digits while `A2-1` still keeps its digit.
52637
+ */
52638
+ var REF = /^([A-Za-z][A-Za-z0-9]*?)[\s_-]*(\d+(?:\.\d+)*)$/;
52618
52639
  /** Null when the owner has no project of that key, which a host answers with a 404. */
52619
52640
  async function searchFeed(db, ownerId, projectKey, query) {
52620
52641
  const project = await getProjectByKey(db, ownerId, projectKey);
@@ -52988,6 +53009,11 @@ async function setLayout(db, projectId, layout, actor) {
52988
53009
  */
52989
53010
  var ticketChange = object({ status: _enum(STATUS_VALUES, { error: `must be one of: ${STATUS_VALUES.join(", ")}` }) });
52990
53011
  /**
53012
+ * What `POST /api/next` accepts (`VIEW-46`): one item into the agreed order (at its end) or out of it. The item
53013
+ * travels in the query string as `/api/ticket`'s does, so the body is only the choice.
53014
+ */
53015
+ var nextChange = object({ listed: boolean$1() });
53016
+ /**
52991
53017
  * A save of the graph layout's memory (`VIEW-23.1`): every node's position, relative to its container. Whole
52992
53018
  * numbers because the layout works on a grid, and because a fraction would round differently on its way back.
52993
53019
  */
@@ -53183,6 +53209,11 @@ function createViewerHost(db, sources, store, caller) {
53183
53209
  method: "POST",
53184
53210
  hint: "POST the layout here"
53185
53211
  },
53212
+ {
53213
+ matches: (p) => p === "/api/next",
53214
+ method: "POST",
53215
+ hint: "POST whether the item is listed"
53216
+ },
53186
53217
  {
53187
53218
  matches: (p) => p === "/api/media",
53188
53219
  method: "POST",
@@ -53299,6 +53330,17 @@ function createViewerHost(db, sources, store, caller) {
53299
53330
  } catch (error) {
53300
53331
  return json(400, { error: error instanceof Error ? error.message : String(error) });
53301
53332
  }
53333
+ /** One item into the agreed order or out of it (`VIEW-46`), with the same write-through as a status change. */
53334
+ if (path === "/api/next") try {
53335
+ const project = await getProjectByKey(db, caller.ownerId, params.get("project") ?? "");
53336
+ if (project === null) return json(404, { error: `no project "${params.get("project") ?? ""}"` });
53337
+ const { listed } = await parseBody(request, nextChange);
53338
+ const next = await toggleNext(db, project.id, params.get("ref") ?? "", listed, "user");
53339
+ await store.persist();
53340
+ return json(200, { next: next.map((entry) => entry.ref) });
53341
+ } catch (error) {
53342
+ return json(400, { error: error instanceof Error ? error.message : String(error) });
53343
+ }
53302
53344
  /**
53303
53345
  * Saving the graph's layout (`VIEW-23.1`): the whole of it, after a drag or a change the viewer drew. The
53304
53346
  * same write-through as a ticket change, so the map lands in the plan file and travels with it.
@@ -53546,10 +53588,10 @@ function redact(url) {
53546
53588
  * new prefix invents one on the spot and nothing may reject it. The `areas` table is therefore metadata (a
53547
53589
  * name, a colour, a display order) and never a constraint.
53548
53590
  *
53549
- * Which forces the shape of this query: **the key list comes from `items`, not from `areas`.** Nothing writes
53550
- * an `areas` row today - `createItem` sets `areaKey` on the item and stops - so the rows that exist came in
53551
- * with the original YAML seed, and listing the table would silently omit every area created since. Reading
53552
- * items and left-joining the metadata cannot go stale, because the items are what defines the set.
53591
+ * Which forces the shape of this query: **the key list comes from `items`, not from `areas`.** `createItem` sets
53592
+ * `areaKey` on the item and stops, and a row is only written when somebody names the area (`setArea`, `PROJ-3`),
53593
+ * so listing the table would omit every area nobody has named. Reading items and left-joining the metadata cannot
53594
+ * go stale, because the items are what defines the set.
53553
53595
  *
53554
53596
  * Surfaced because the `PROJ-8` trim removed the thing that used to convey it. The pack once listed every open
53555
53597
  * item, so the area vocabulary was visible by accident; with the listing replaced by two short groups, nothing
@@ -53570,16 +53612,80 @@ async function listAreas(db, projectId) {
53570
53612
  }).from(items).where(and(eq(items.projectId, projectId), isNull(items.deletedAt))).groupBy(items.areaKey);
53571
53613
  const meta = new Map((await db.select().from(areas).where(eq(areas.projectId, projectId)).orderBy(asc(areas.sortOrder))).map((a) => [a.key, {
53572
53614
  name: a.name,
53615
+ description: a.description,
53573
53616
  sortOrder: a.sortOrder
53574
53617
  }]));
53575
53618
  const unnamed = Number.MAX_SAFE_INTEGER;
53576
53619
  return counts.map((row) => ({
53577
53620
  key: row.key,
53578
53621
  name: meta.get(row.key)?.name ?? null,
53622
+ description: meta.get(row.key)?.description ?? null,
53579
53623
  open: row.open,
53580
53624
  total: row.total
53581
53625
  })).sort((a, b) => (meta.get(a.key)?.sortOrder ?? unnamed) - (meta.get(b.key)?.sortOrder ?? unnamed) || a.key.localeCompare(b.key));
53582
53626
  }
53627
+ /**
53628
+ * The longest description an area takes. An area's description is what the viewer shows over it when zoomed out
53629
+ * (`VIEW-52`) and beside it in the pane, so it is a line or two about what the area holds; anything longer is a
53630
+ * context section's job, and the refusal says so, since a cap without a destination loses the content (`CTX-2`).
53631
+ */
53632
+ var MAX_AREA_DESCRIPTION = 400;
53633
+ /**
53634
+ * The longest name an area takes: a word or two, because it is read on the map at every zoom, including just
53635
+ * before the zoomed-out fade (`VIEW-52`), where a longer one could not be read in time. The longer wording is the
53636
+ * description's, and the refusal says so.
53637
+ */
53638
+ var MAX_AREA_NAME = 20;
53639
+ /** An area key as a ref prefix is written: letters first, then letters and digits, upper case. */
53640
+ var AREA_KEY = /^[A-Z][A-Z0-9]*$/;
53641
+ /**
53642
+ * Name an area, or describe it, or both (`PROJ-3`): the write path the `areas` table never had.
53643
+ *
53644
+ * **Written on demand, never by filing an item.** An area exists the moment an item uses its prefix, as it always
53645
+ * has; a row only says what that prefix is called. So the first `setArea` creates it, at the end of the display
53646
+ * order, and later ones change it. A row whose area has no items any more stays: it is a name, not a constraint,
53647
+ * and keeping it means the name comes back with the area rather than being lost with its last item.
53648
+ *
53649
+ * Omitting a field leaves it as it was; `description: null` clears it. A first call with no name takes the key,
53650
+ * since the table needs one and the key is what the area was called until now.
53651
+ */
53652
+ async function setArea(db, projectId, input, actor) {
53653
+ const key = input.key.trim().toUpperCase();
53654
+ if (!AREA_KEY.test(key)) throw new Error(`"${input.key}" is not an area key: letters then letters and digits, like VIEW or OPS2`);
53655
+ const name = input.name?.trim();
53656
+ if (name === "") throw new Error("an area's name cannot be empty; omit `name` to leave it as it is");
53657
+ if (name !== void 0 && name.length > 20) throw new Error(`an area's name is at most 20 characters (this is ${name.length}): a word or two, read on the map at every zoom. Put the longer wording in the description.`);
53658
+ const description = input.description === void 0 ? void 0 : input.description === null ? null : input.description.trim() || null;
53659
+ if (description !== void 0 && description !== null && description.length > 400) throw new Error(`an area's description is at most 400 characters (this is ${description.length}): it is a line or two shown over the area. Put the longer account in a context section with set_context, and point to it here.`);
53660
+ return mutate(db, actor, async (tx) => {
53661
+ const before = maybeOne(await tx.select().from(areas).where(and(eq(areas.projectId, projectId), eq(areas.key, key))));
53662
+ const after = before === null ? one(await tx.insert(areas).values({
53663
+ projectId,
53664
+ key,
53665
+ name: name ?? key,
53666
+ description: description ?? null,
53667
+ sortOrder: ((await tx.select({ last: max(areas.sortOrder) }).from(areas).where(eq(areas.projectId, projectId)))[0]?.last ?? -1) + 1
53668
+ }).returning()) : one(await tx.update(areas).set({
53669
+ ...name !== void 0 && { name },
53670
+ ...description !== void 0 && { description }
53671
+ }).where(eq(areas.id, before.id)).returning());
53672
+ return {
53673
+ result: {
53674
+ key: after.key,
53675
+ name: after.name,
53676
+ description: after.description
53677
+ },
53678
+ event: {
53679
+ projectId,
53680
+ entityType: "area",
53681
+ entityId: after.id,
53682
+ kind: before === null ? "created" : "edited",
53683
+ before,
53684
+ after
53685
+ }
53686
+ };
53687
+ });
53688
+ }
53583
53689
  // src/domain/memory.ts
53584
53690
  /**
53585
53691
  * `resumeProject` assembles what a returning session opens with (MCP-8): one read, deliberately small.
@@ -53866,7 +53972,7 @@ var fmtNext = (list) => list.map((n, index) => `${index + 1}. ${fmtItem(n)}${fmt
53866
53972
  var fmtAreas = (list) => {
53867
53973
  const key = Math.max(0, ...list.map((a) => a.key.length));
53868
53974
  const total = Math.max(0, ...list.map((a) => String(a.total).length));
53869
- return list.map((a) => `${a.key.padEnd(key)} ${String(a.open).padStart(3)} open of ${String(a.total).padEnd(total)}${a.name === null ? "" : ` ${a.name}`}`).join("\n");
53975
+ return list.map((a) => `${a.key.padEnd(key)} ${String(a.open).padStart(3)} open of ${String(a.total).padEnd(total)}${a.name === null ? "" : ` ${a.name}`}` + (a.description === null ? "" : ` - ${a.description}`)).join("\n");
53870
53976
  };
53871
53977
  /**
53872
53978
  * A recorded tree, as it was written: the occurrence first, its readings indented under it.
@@ -54145,7 +54251,8 @@ function registerTools(server, db, store, viewer, caller) {
54145
54251
  inputSchema: { project: string() },
54146
54252
  outputSchema: { areas: array(object({
54147
54253
  key: string().describe("The ref prefix, e.g. \"MCP\". This is what list_items takes as `area`."),
54148
- name: string().nullable().describe("Null for an area that exists only because an item uses the prefix."),
54254
+ name: string().nullable().describe("Null for an area nobody has named with set_area."),
54255
+ description: string().nullable().describe("What the area holds, in a line or two; null where nobody has said."),
54149
54256
  open: number().int().describe("Items not done and not deleted."),
54150
54257
  total: number().int()
54151
54258
  })) }
@@ -54157,6 +54264,24 @@ function registerTools(server, db, store, viewer, caller) {
54157
54264
  structuredContent: { areas: list }
54158
54265
  };
54159
54266
  }));
54267
+ server.registerTool("set_area", {
54268
+ annotations: WRITE,
54269
+ description: `Name an area or describe it, or both. An area is a ref prefix (MCP, VIEW); it exists as soon as an item uses it, and this only says what it is: a name of a word or two, as you would say it ("Viewer" for VIEW, at most 20 characters and shorter reads better, since it is read on the map at every zoom), and a line or two on what belongs in it, which the viewer shows with the area and list_areas returns. Omit a field to leave it; pass description: null to clear it. The description is at most 400 characters - a longer account is a context section (set_context).`,
54270
+ inputSchema: {
54271
+ project: string(),
54272
+ key: string().describe("The area's ref prefix, e.g. \"VIEW\"."),
54273
+ name: string().optional().describe(`A word or two, at most 20 characters; shorter reads better.`),
54274
+ description: string().nullable().optional().describe("What belongs in it, in a line or two. Null clears it.")
54275
+ }
54276
+ }, async ({ project, key, name, description }) => guarded(async () => {
54277
+ const area = await setArea(db, (await resolveProject(db, caller, project)).id, {
54278
+ key,
54279
+ name,
54280
+ description
54281
+ }, ACTOR);
54282
+ await store.persist();
54283
+ return text(`${area.key}: ${area.name}${area.description === null ? "" : `\n${area.description}`}`);
54284
+ }));
54160
54285
  server.registerTool("record_measurements", {
54161
54286
  annotations: WRITE,
54162
54287
  description: "Record dated readings: a weight, a meal's macros, a set of an exercise, a night's sleep. A *metric* is the name of a series (\"body_weight\") and there is one of it; a *measurement* is one dated reading of that metric and there are thousands. So you record measurements, and you list metrics. Numbers go in `value`, categoricals in `text` ('restless'), one or the other per reading. **Pass `group` whenever the readings belong to one occurrence** - a meal, a workout, a day - and they are written nested under it in this single call, which costs no more than a flat list. Nesting is what lets you later ask which calories were in which meal; `label` is a display name and is never grouped by, so if you want to total by something, it needs to be a `group`. `at` is when it was MEASURED, not now, so a backfilled log passes the day it is about. Readings are not items: they never appear on the board and carry no status.",
@@ -0,0 +1 @@
1
+ .react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}:root{--bg:#0b0f14;--panel:#131922;--panel-2:#0f141b;--line:#232c38;--text:#dce3ec;--muted:#8896a6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:14px/1.5 ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}.app{flex-direction:column;height:100%;display:flex}.boot{text-align:center;height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:24px;display:flex}.boot--error strong{color:var(--text);font-size:15px}.boot__hint{max-width:46em}.boot__action{border:1px solid var(--line);background:var(--panel);color:var(--text);font:inherit;cursor:pointer;border-radius:6px;margin-top:8px;padding:8px 16px}.boot__action:hover{border-color:var(--text)}.boot code{color:var(--text);font-size:12px}.topbar{border-bottom:1px solid var(--line);background:var(--panel-2);z-index:30;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:10px 16px;display:flex;position:relative}.search__input{border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit;border-radius:8px;outline:none;flex:none;margin:8px 12px;padding:9px 12px;font-size:14px}.search__input:focus{border-color:#3a4a60}.search__note{color:var(--muted);padding:10px 14px;font-size:13px}.search__hits{margin:0;padding:4px;list-style:none}.search__hit{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-direction:column;gap:3px;padding:8px 10px;display:flex}.search__hit[data-active=true]{background:#263243}.search__hit:disabled{cursor:default;opacity:.6}.search__line{align-items:baseline;gap:8px;min-width:0;font-size:13px;display:flex}.search__source{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;flex:none;font-size:11px}.search__ref{flex:none;font-weight:700}.search__title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search__hidden{border:1px solid var(--line);color:var(--muted);border-radius:999px;flex:none;margin-left:auto;padding:1px 6px;font-size:11px}.search__snippet{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.search__snippet mark{color:var(--text);background:0 0;font-weight:600}.settings__backdrop{z-index:40;position:fixed;inset:0}.settings.settings--more{align-items:flex-start;width:auto;min-width:220px}.settings{z-index:41;background:var(--panel);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:10px;width:min(560px,100vw - 32px);max-height:70vh;padding:14px 16px;display:flex;position:absolute;top:calc(100% + 6px);right:16px;overflow:auto;box-shadow:0 12px 32px #00000080}.settings__head{text-overflow:ellipsis;white-space:nowrap;flex:none;font-size:13px;font-weight:600;overflow:hidden}.settings__label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-top:4px;font-size:11px;font-weight:600}.settings__row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topbar__title{font-size:15px}.topbar__title strong{letter-spacing:-.01em}.picker{min-width:0;max-width:100%;color:var(--text);letter-spacing:-.01em;white-space:nowrap;cursor:pointer;background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239aa7b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 9px center;background-repeat:no-repeat;background-size:10px 6px;border:1px solid #0000;border-radius:8px;align-items:baseline;gap:8px;margin-left:-9px;padding:3px 26px 3px 8px;font-size:15px;font-weight:700;display:inline-flex;position:relative}.picker:hover{background-color:#263243;border-color:#4d5e77}.picker:focus-within{outline-offset:1px;outline:2px solid #4f9dff}.picker__name{text-overflow:ellipsis;min-width:0;overflow:hidden}.picker__file{letter-spacing:0;color:var(--muted);opacity:.7;flex:none;font-size:12px;font-weight:400}.picker__native{opacity:0;cursor:pointer;appearance:none;width:100%;height:100%;font-size:16px;position:absolute;inset:0}.picker--static{cursor:default;background-image:none;padding-right:10px}.picker--static:hover{background-color:#0000;border-color:#0000}.picker-wrap{align-items:center;gap:16px;max-width:100%;display:flex}.picker__logo{width:30px;height:30px;color:var(--text);clip-path:circle(50%);background:#33435a;flex:none}.filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (width<=600px){.topbar{flex-wrap:nowrap;gap:10px;padding:8px 12px}.topbar__title{flex:auto;min-width:0}.picker{max-width:100%}.picker__file{display:none}.filters{flex-wrap:nowrap;flex:none}}.filters__group{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--line);background:var(--panel);color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:4px 9px;font-size:12px;transition:opacity .12s,border-color .12s;display:inline-flex}.chip:hover{border-color:#38455a}.chip[data-on=true]{background:#263243;border-color:#3a4a60}.chip[data-off=true]{opacity:.4}.chip:disabled{opacity:.4;cursor:default}.chip-pair{display:inline-flex}.chip-pair>.chip:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.chip-pair>.chip--eye{color:var(--muted);border-left:none;border-top-left-radius:0;border-bottom-left-radius:0;padding:4px 7px}.chip-pair>.chip--eye:hover{color:var(--text)}.chip-pair[data-off=true]>.chip:first-child{opacity:.4}.chip__dot{background:var(--area,var(--muted));border-radius:50%;width:9px;height:9px}.chip__name{text-overflow:ellipsis;white-space:nowrap;max-width:14em;color:var(--area,var(--text));font-weight:600;overflow:hidden}.chip__key{color:var(--muted);letter-spacing:.06em;font-size:10px;font-weight:700}.chip__count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.toolbtn{border:1px solid var(--line);background:var(--panel);min-width:56px;color:var(--text);font:inherit;cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:1px;padding:4px 10px 3px;font-size:12px;line-height:1.25;transition:border-color .12s;display:inline-flex}.toolbtn:hover{border-color:#38455a}.toolbtn[data-on=true]{background:#263243;border-color:#3a4a60}.toolbtn--icon{justify-content:center;align-self:stretch;min-width:0;padding-inline:6px}.toolbtn__main{align-items:center;gap:5px;display:inline-flex}.toolbtn__sub{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10px}.segmented{border:1px solid var(--line);background:var(--panel);border-radius:8px;align-items:center;gap:3px;padding:3px;display:inline-flex}.segmented__label{color:var(--muted);padding:0 4px 0 2px;font-size:11px}.segmented__btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:3px 10px;font-size:12px}.segmented__btn[data-on=true]{color:var(--text);background:#263243}.cal{--fc-border-color:var(--line);--fc-page-bg-color:var(--bg);--fc-neutral-bg-color:var(--panel-2);--fc-today-bg-color:#4f9dff14;--fc-button-bg-color:var(--panel);--fc-button-border-color:var(--line);--fc-button-text-color:var(--text);--fc-button-hover-bg-color:#1b2330;--fc-button-hover-border-color:var(--line);--fc-button-active-bg-color:#263243;--fc-button-active-border-color:var(--line);--fc-event-text-color:#0b0f14;flex-direction:column;height:100%;padding:12px 16px;display:flex}.cal .fc .fc-toolbar-title{font-size:16px;font-weight:600}.cal .fc .fc-button{padding:3px 10px;font-size:12px}.cal .fc .fc-col-header-cell-cushion,.cal .fc .fc-daygrid-day-number{color:var(--muted);font-size:12px;text-decoration:none}.cal .fc .fc-daygrid-more-link{color:var(--muted)}.cal .fc .fc-popover{background:var(--panel)}.cal__event{white-space:nowrap;cursor:pointer;align-items:baseline;gap:5px;padding:1px 4px;font-size:12px;display:flex;overflow:hidden}.cal__event[data-on=true]{outline:2px solid var(--text);outline-offset:1px;border-radius:3px}.cal__event[data-strike=true] .cal__title{opacity:.7;text-decoration:line-through}.cal__ref{font-weight:600}.cal__title{text-overflow:ellipsis;overflow:hidden}.body{flex:1;min-height:0;display:flex;position:relative}.graph{flex:1;min-width:0;position:relative}.graph__notice{z-index:5;border:1px solid var(--line);background:var(--panel-2);max-width:34em;color:var(--muted);text-align:center;border-radius:10px;padding:14px 18px;font-size:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.section{border-top:1px solid var(--line)}.section__head{width:100%;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:10px 16px;font-size:12px;font-weight:700;display:flex}.section__head:hover{color:var(--text)}.section__caret{width:9px;font-size:9px}.section__count{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}.section__body{padding:0 16px 12px}.comments{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.comment{border:1px solid var(--line);border-radius:8px;padding:8px 10px}.comment[data-agent=true]{border-style:dashed}.comment__meta{color:var(--muted);gap:8px;font-size:11px;display:flex}.comment__tag{margin-left:auto}.comment__body{overflow-wrap:anywhere;font-size:13px;line-height:1.5}.comment__body>:first-child{margin-top:4px}.comment__body>:last-child{margin-bottom:0}.comments__empty,.detail__pending{color:var(--muted);font-size:13px}.comments__toggle{color:var(--accent,#4f9dff);font:inherit;cursor:pointer;background:0 0;border:none;margin-top:10px;padding:0;font-size:12px}.metrics__table{border-collapse:collapse;width:100%;font-size:12px}.metrics__table td{vertical-align:baseline;padding:3px 0}.metrics__name{color:var(--text)}.metrics__value{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:10px!important}.metrics__value[data-wrap=true]{white-space:normal;font-variant-numeric:normal}.metrics__value[data-mixed=true]{color:#e0a458}.metrics__count{text-align:right;color:var(--muted);white-space:nowrap;padding-left:12px!important}.fabs{z-index:5;pointer-events:none;flex-wrap:wrap;align-items:flex-start;gap:8px;max-height:calc(100% - 24px);display:flex;position:absolute;top:12px;left:12px;right:12px}.fabs>*{pointer-events:auto}.next-fab{border:1px solid var(--line);background:var(--panel-2);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex;box-shadow:0 4px 14px #00000059}.next-fab:hover{border-color:#38455a}.next-fab--icon{padding:6px 8px}.next-fab[data-on=true]{background:#263243;border-color:#3a4a60}.react-flow:not(.is-moving) .box-resize-handle,.react-flow:not(.is-moving) .box-resize-line{display:none}.next__list{margin:0;padding:4px;list-style:none;overflow-y:auto}.next__item{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:baseline;gap:8px;padding:6px 8px;font-size:12px;display:flex}.next__item:hover{background:var(--panel)}.next__item[data-on=true]{background:var(--panel);border-color:#38455a}.next__item[data-hidden=true]{opacity:.4}.next__pos{color:var(--muted);font-variant-numeric:tabular-nums;min-width:1.2em}.next__id{white-space:nowrap;font-weight:700}.next__title{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-flow{background:var(--bg)}.react-flow__controls button{background:var(--panel);border-bottom:1px solid var(--line);color:var(--text);fill:var(--text)}.react-flow__controls button:hover{background:#263243}.react-flow__minimap{background:var(--panel-2);border:1px solid var(--line);border-radius:6px}.box-resize-line{border-color:color-mix(in srgb, var(--area,#4f9dff) 70%, transparent)!important;border-width:1.5px!important}.box-resize-handle{background:var(--area,#4f9dff)!important;border:1px solid var(--bg)!important;border-radius:2px!important;width:9px!important;height:9px!important}.area-box{border:1px solid color-mix(in srgb, var(--area) 45%, var(--line));background:color-mix(in srgb, var(--area) 8%, var(--panel-2));width:100%;height:100%;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--area) 12%, transparent);border-radius:12px;position:relative;container-type:size}.react-flow__node-overview{pointer-events:none!important}.area-overview{border-radius:12px;width:100%;height:100%;position:relative;container-type:size}.area-box__overview{border-radius:inherit;background:color-mix(in srgb, color-mix(in srgb, var(--area) 14%, var(--panel-2)) 60%, transparent);opacity:var(--overview,0);pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:min(4cqh,18px);padding:6%;display:flex;position:absolute;inset:0}.area-box__overview-name{color:var(--area);letter-spacing:.02em;text-align:center;text-wrap:balance;font-weight:800;line-height:1.05}.area-box__overview-key{color:color-mix(in srgb, var(--area) 70%, var(--muted));letter-spacing:.08em;margin-top:-.4em;font-size:min(7cqw,9cqh,34px);font-weight:700}.area-box__overview-description{max-width:90%;color:var(--text);text-align:center;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:min(5.5cqw,8cqh,30px);line-height:1.3;display:-webkit-box;overflow:hidden}.area-box__overview-bar{background:var(--line);border-radius:999px;width:80%;height:min(6cqh,22px);display:flex;overflow:hidden}.area-box__overview-counts{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:center;gap:.2em .8em;font-size:min(9cqw,12cqh,44px);font-weight:700;display:flex}.area-box__title,.react-flow__node-item,.react-flow__node-ticket,.react-flow__node-ghost{opacity:var(--cards,1)}.react-flow[data-far=true] .react-flow__node-item,.react-flow[data-far=true] .react-flow__node-ticket,.react-flow[data-far=true] .react-flow__node-ghost{pointer-events:none!important}.area-box__title{letter-spacing:.04em;align-items:baseline;gap:8px;padding:13px 14px 9px;font-weight:700;display:flex}.area-box__name{color:var(--area);font-size:18px}.area-box__label{color:var(--muted);letter-spacing:.04em;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:15px;font-weight:700;overflow:hidden}.area-box__count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px;font-weight:500}.area-box--collapsed{cursor:pointer;background:color-mix(in srgb, var(--area) 16%, var(--panel-2));border-color:color-mix(in srgb, var(--area) 65%, var(--line))}.area-box--collapsed:hover{border-color:var(--area)}.area-box__summary{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 12px;padding:2px 14px 10px;font-size:13px;display:flex}.area-box__status{white-space:nowrap}.ticket-box{border:1px solid color-mix(in srgb, var(--area) 60%, var(--line));background:color-mix(in srgb, var(--area) 12%, var(--panel));width:100%;height:100%;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--area) 16%, transparent);border-radius:10px;transition:box-shadow .12s,opacity .12s}.ticket-box[data-selected=true]{box-shadow:0 0 0 1px var(--area), 0 6px 22px #00000073}.ticket-box[data-dimmed=true]{opacity:.34}.ticket-box__title{align-items:center;gap:7px;padding:9px 12px;font-size:12px;display:flex}.ticket-box__id{color:var(--area);font-variant-numeric:tabular-nums;font-weight:700}.ticket-box__label{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.ticket-box__label[data-strike=true]{color:var(--muted);text-decoration:line-through}.ticket-box__count{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto}.item-node{border:1px solid var(--line);background:var(--panel);border-radius:9px;width:100%;height:100%;transition:box-shadow .12s,opacity .12s,border-color .12s;display:flex;overflow:hidden}.item-node[data-selected=true]{border-color:var(--area);box-shadow:0 0 0 1px var(--area), 0 6px 22px #00000073}.item-node[data-dimmed=true]{opacity:.32}.item-node__rail{background:var(--area);flex:none;width:4px}.item-node__body{flex-direction:column;gap:4px;min-width:0;padding:8px 11px;display:flex}.item-node__meta{align-items:center;gap:8px;display:flex}.item-node__id{letter-spacing:.02em;color:var(--area);font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}.item-node__status{color:var(--muted);font-size:13px}.item-node__title{color:var(--text);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;line-height:1.3;display:-webkit-box;overflow:hidden}.item-node__title[data-strike=true]{color:var(--muted);text-decoration:line-through}.react-flow__handle{background:#46536a;border:none;width:6px;height:6px}.react-flow__handle.handle--hidden-link{background:var(--area,#4f9dff);width:10px;height:10px;box-shadow:0 0 0 3px color-mix(in srgb, var(--area,#4f9dff) 28%, transparent)}.context__list{margin:0;padding:6px 8px;list-style:none;overflow-y:auto}.context__item{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:9px 10px;font-size:14px;display:block}.context__item:hover{background:#263243}.pane{z-index:20;border:1px solid var(--line);background:var(--panel-2);border-radius:10px;flex-direction:column;max-width:calc(100% - 24px);max-height:calc(100% - 24px);display:flex;position:absolute;top:12px;right:12px;overflow:hidden;box-shadow:0 8px 28px #00000073}.pane[data-more=true] .detail{-webkit-mask-image:linear-gradient(#000 calc(100% - 24px),#0000);mask-image:linear-gradient(#000 calc(100% - 24px),#0000)}.pane__resize{z-index:2;cursor:ew-resize;touch-action:none;width:6px;position:absolute;top:0;bottom:0;left:0}.pane__resize:hover{background:color-mix(in srgb, var(--text) 12%, transparent)}.detail{flex-direction:column;min-height:0;display:flex;overflow-y:auto}.detail__head{border-bottom:1px solid var(--line);z-index:1;background:var(--panel-2);justify-content:space-between;align-items:center;padding:12px 16px;display:flex;position:sticky;top:0}.detail__title{color:var(--text);text-wrap:balance;margin:0;padding:12px 16px 4px;font-size:16px;font-weight:600;line-height:1.35}.detail__id{margin-right:10px;font-size:14px;font-weight:700}.detail__status{color:var(--muted);font-size:12px}.detail__status--edit{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;padding:2px 4px;font-family:inherit}.detail__status--edit:hover:not(:disabled),.detail__status--edit:focus{border-color:var(--line);color:var(--text);outline:none}.detail__status--edit:disabled{cursor:progress;opacity:.6}.detail__status--edit option{background:var(--panel);color:var(--text)}.detail__status-error{color:#ff8a8a;margin-left:8px;font-size:12px}.detail__close,.detail__icon{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:22px;line-height:1}.detail__close:hover,.detail__icon:hover{color:var(--text)}.detail__icon{align-items:center;display:inline-flex}.detail__back{margin-right:8px;padding:0 6px 0 0}.detail__deps{border-bottom:1px solid var(--line);color:var(--muted);padding:8px 16px;font-size:12px}.detail__dep{color:#7fb2ff;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px}.detail__dep:hover{text-decoration:underline}.detail__doc{flex:none;padding:4px 16px 24px;overflow-x:auto}.detail__doc h1,.detail__doc h2,.detail__doc h3,.detail__doc h4{margin:16px 0 6px;font-size:13px}.detail__doc p,.detail__doc li{color:#c3ccd8;font-size:12.5px;line-height:1.55}.detail__doc code{background:#1b232e;border-radius:4px;padding:1px 4px;font-size:12px}.detail__doc pre{background:#1b232e;border-radius:6px;padding:10px;overflow-x:auto}.detail__doc pre code{background:0 0;padding:0}.detail__doc a{color:#7fb2ff}.attachments__grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-bottom:10px;display:grid}.attachments__item{border-radius:6px;text-decoration:none;display:block;position:relative;overflow:hidden}.attachments__thumb{aspect-ratio:1;object-fit:cover;background:#ffffff0a;width:100%;display:block}.attachments__meta{color:#fff;background:#0009;border-radius:3px;padding:1px 4px;font-size:10px;position:absolute;bottom:4px;right:4px}.attachments__drop{text-align:center;opacity:.75;cursor:pointer;border:1px dashed #ffffff38;border-radius:6px;padding:12px;font-size:12px}.attachments__drop--over{opacity:1;background:#4f9dff14;border-color:#4f9dff}.attachments__readonly,.attachments__error{opacity:.75;margin:8px 0 0;font-size:12px}.attachments__error{color:#ff8a8a;opacity:1}.attachments__remove{color:#fff;cursor:pointer;opacity:0;background:#000000a6;border:0;border-radius:3px;width:18px;height:18px;font-size:11px;line-height:1;transition:opacity .12s;position:absolute;top:4px;right:4px}.attachments__item:hover .attachments__remove,.attachments__remove:focus-visible{opacity:1}.attachments__remove:disabled{cursor:default}.detail__dep--elsewhere{color:var(--muted);cursor:help;border-bottom:1px dotted var(--line)}.area-box[data-foreign=true]{box-shadow:none;background:0 0;border-style:dashed}.area-box[data-foreign=true] .area-box__name{color:var(--muted);letter-spacing:.02em;text-transform:none;font-weight:600}.ghost-node{border:1px dashed color-mix(in srgb, var(--muted) 55%, transparent);background:color-mix(in srgb, var(--muted) 6%, transparent);width:100%;height:100%;color:var(--muted);font-variant-numeric:tabular-nums;cursor:default;border-radius:8px;align-items:center;padding:0 12px;font-size:12px;display:flex}.ghost-node[data-dimmed=true]{opacity:.35}.ghost-node__ref{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=700px){.body[data-pane=open] .fabs{display:none}.pane{left:12px;width:auto!important}.pane__resize{display:none}}.area-pane__tools{align-items:center;display:flex}.area-pane__zoom{gap:5px}.area-pane__title{flex-wrap:wrap;align-items:baseline;gap:0 10px;display:flex}.area-pane__key{color:var(--muted);letter-spacing:.04em;font-size:13px;font-weight:700}.area-pane__description{padding-top:0;padding-bottom:6px}.area-pane__progress{padding:8px 16px 14px}.area-pane__label{margin-top:4px;padding:0 16px}.area-pane__bar{background:var(--line);border-radius:4px;height:8px;display:flex;overflow:hidden}.area-pane__counts{color:var(--muted);flex-wrap:wrap;gap:4px 12px;margin-top:6px;font-size:12px;display:flex}.area-pane__list{padding:4px 8px 10px;overflow:visible}.board{--divider:#2b3442;grid-template-columns:minmax(120px, 170px) repeat(var(--columns), minmax(220px, 1fr));align-content:start;padding:0 12px 24px 0;display:grid;position:absolute;inset:0;overflow:auto}.board--empty{color:var(--muted);justify-content:center;align-items:center;display:flex}.board__corner,.board__column{z-index:2;background:var(--bg);position:sticky;top:0}.board__corner{z-index:3;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 6px 8px 10px;display:flex;left:0}.board__corner .next-fab{box-shadow:none;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.board__corner{min-width:0}.board__column{border-bottom:2px solid var(--area);border-left:1px solid var(--divider);letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:6px;padding:8px 10px;font-size:12px;font-weight:700;display:flex}.board__column-icon{color:var(--area)}.board__count{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto;font-weight:600}.board__lane{display:contents}.board__lane-head{z-index:1;border:0;border-top:1px solid var(--line);border-left:3px solid var(--area);background:var(--bg);min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 10px 10px 12px;display:flex;position:sticky;left:0}.board__lane-head:hover .board__lane-name{text-decoration:underline}.board__chevron{width:1em;color:var(--muted);flex:none;display:inline-block}.board__lane[data-open=false] .board__cell{cursor:pointer;padding-block:10px}.board__folded{background:color-mix(in srgb, var(--area) 18%, var(--panel));min-width:22px;color:var(--text);text-align:center;font-variant-numeric:tabular-nums;border-radius:999px;align-self:flex-start;padding:1px 7px;font-size:12px;font-weight:700}.board__lane-name{min-width:0;max-width:100%;color:var(--area);font-size:14px;font-weight:700;line-height:1.2;display:flex}.board__lane-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.board__lane-key{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--muted);letter-spacing:.06em;font-size:11px;font-weight:700;overflow:hidden}.board__cell{border-top:1px solid var(--line);border-left:1px solid var(--divider);background:color-mix(in srgb, var(--area) 4%, transparent);flex-direction:column;gap:6px;min-width:0;padding:8px 6px;display:flex}.board__card{border:1px solid var(--line);border-left:3px solid var(--area);background:var(--panel);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:8px;flex-direction:column;gap:3px;padding:7px 10px 8px;display:flex}.board__card:hover{border-color:#38455a;border-left-color:var(--area)}.board__card[data-on=true]{border-color:var(--area);box-shadow:0 0 0 1px var(--area)}.board__card-head{align-items:center;gap:6px;font-size:11px;font-weight:700;display:flex}.board__ref{color:var(--area);letter-spacing:.03em}.board__next{color:#b9c6d6;letter-spacing:.02em;font-variant-numeric:tabular-nums;border:1px solid #4a5a70;border-radius:999px;margin-left:auto;padding:0 6px;font-size:10px;line-height:15px}.board__title{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;line-height:1.3;display:-webkit-box;overflow:hidden}.board__card[data-strike=true] .board__title{color:var(--muted);text-decoration:line-through}@media (width<=640px){.board{grid-template-columns:100px repeat(var(--columns), minmax(200px, 76vw));padding:0 0 24px}.board__lane-head{padding:8px 6px 8px 8px}.board__lane-name{font-size:12px}}.view-tabs{display:inline-flex}.view-tabs .toolbtn{border-radius:0;margin-left:-1px}.view-tabs .toolbtn:first-child{border-radius:10px 0 0 10px;margin-left:0}.view-tabs .toolbtn:last-child{border-radius:0 10px 10px 0}.view-tabs .toolbtn[data-on=true]{cursor:default;position:relative}@media (width<=640px){.view-tabs .toolbtn{min-width:0;padding-inline:7px}}@media (width>=701px){.body[data-view=board] .pane,.body[data-view=calendar] .pane{max-width:60%;max-height:none;box-shadow:none;border-width:0 0 0 1px;border-radius:0;flex:none;align-self:stretch;position:relative;top:auto;right:auto}}@media (width<=640px){.toolbtn[aria-label=Search]{justify-content:center;min-width:0;padding-inline:8px}.toolbtn[aria-label=Search] .toolbtn__sub{display:none}}.detail__tools{align-items:center;gap:2px;display:flex;position:relative}.detail__tools svg{width:15px;height:15px}.item-menu{z-index:41;border:1px solid var(--line);background:var(--panel);border-radius:10px;flex-direction:column;min-width:190px;padding:4px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 28px #00000073}.item-menu__row{color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:7px 10px;font-size:13px;display:flex}.item-menu__row:hover:not(:disabled){background:#1d2632}.item-menu__row:disabled{color:var(--muted);cursor:default;opacity:.6}.cal[data-dates=planned] .fc .fc-planned-button,.cal[data-dates=created] .fc .fc-created-button,.cal[data-dates=updated] .fc .fc-updated-button,.cal[data-next-open=true] .fc .fc-nextList-button{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color)}.cal .fc .fc-toolbar{flex-wrap:wrap;gap:8px}.cal .fc .fc-toolbar-chunk{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cal .fc .fc-toolbar-chunk>*{margin:0!important}.cal__icon{background:#0b0f14c7;border-radius:50%;flex:none;justify-content:center;align-self:center;align-items:center;width:15px;height:15px;font-size:10px;line-height:1;display:inline-flex}.cal .fc-dayGridDay-view .cal__event{white-space:normal;flex-wrap:wrap;row-gap:2px;padding:6px 10px;font-size:13px}.cal .fc-dayGridDay-view .cal__title{flex-basis:100%;overflow:visible}.cal .fc-dayGridDay-view .fc-daygrid-event-harness{margin-bottom:4px}.item-menu__glyph{text-align:center;width:15px;font-size:15px;font-weight:700;line-height:1}.cal .fc a.fc-daygrid-day-number:hover,.cal .fc a.fc-col-header-cell-cushion:hover{color:var(--text);text-decoration:underline}.graph__notice-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.cal__grid{flex:1;min-height:0}.cal__key{flex-wrap:wrap;gap:6px;max-height:62px;margin-top:10px;display:flex;overflow-y:auto}.cal__event[data-project=true]{box-shadow:inset 4px 0 0 var(--project);padding-left:8px}@media (width<=640px){.app{padding-bottom:calc(60px + env(safe-area-inset-bottom))}.view-tabs{z-index:35;padding:6px 10px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--panel);gap:6px;position:fixed;bottom:0;left:0;right:0}.view-tabs .toolbtn,.view-tabs .toolbtn:first-child,.view-tabs .toolbtn:last-child{background:0 0;border-color:#0000;border-radius:10px;flex:1;margin-left:0;padding:5px 0 4px}.view-tabs .toolbtn[data-on=true]{background:#263243;border-color:#3a4a60}}.next-fab__label{text-overflow:ellipsis;min-width:0;overflow:hidden}.next-fab .chip__count{flex:none}.toolbtn__badge{display:none}@media (width<=640px){.filters>.toolbtn{background:0 0;border-color:#0000;justify-content:center;min-width:0;padding:6px 7px;position:relative}.filters>.toolbtn[data-on=true]{background:#263243}.filters>.toolbtn .toolbtn__sub,.filters>.toolbtn .toolbtn__text{display:none}.filters>.toolbtn svg{width:20px;height:20px}.toolbtn__badge{min-width:16px;color:var(--text);text-align:center;background:#3a4a60;border-radius:999px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px;display:block;position:absolute;top:0;right:-2px}}