@tangle-network/agent-app 2.0.12 → 3.0.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.
Files changed (55) hide show
  1. package/dist/{DesignCanvasEditor-CYFFF2LZ.js → DesignCanvasEditor-OQ467KSH.js} +3 -3
  2. package/dist/agent-profiles/d1.js +3 -3
  3. package/dist/agent-profiles/index.js +3 -3
  4. package/dist/assistant/index.js +3 -3
  5. package/dist/chat-react/index.js +1 -1
  6. package/dist/chat-routes/index.js +4 -4
  7. package/dist/{chunk-MVTLHM74.js → chunk-5V3NHVM3.js} +5 -5
  8. package/dist/{chunk-MVTLHM74.js.map → chunk-5V3NHVM3.js.map} +1 -1
  9. package/dist/{chunk-KWF4NL6R.js → chunk-5WQ77MPN.js} +2 -2
  10. package/dist/{chunk-ZOS3D26Z.js → chunk-ELPNBEXJ.js} +1 -3
  11. package/dist/{chunk-ZOS3D26Z.js.map → chunk-ELPNBEXJ.js.map} +1 -1
  12. package/dist/{chunk-2V7YCTYU.js → chunk-HQTTCCYE.js} +2 -2
  13. package/dist/{chunk-STGV7DXB.js → chunk-LS65AEPX.js} +3 -3
  14. package/dist/{chunk-NHOQ5TMH.js → chunk-O23ED5XC.js} +2 -2
  15. package/dist/{chunk-6GN2E5KT.js → chunk-PCFVN6KV.js} +2 -2
  16. package/dist/{chunk-HFCPHY5D.js → chunk-S6HCSAO6.js} +2 -2
  17. package/dist/{chunk-CVOEGD3Y.js → chunk-UTQ2FPDG.js} +2 -2
  18. package/dist/{chunk-IUAPYE37.js → chunk-W4FW3RUM.js} +2 -2
  19. package/dist/{chunk-XU6A5NT2.js → chunk-WKXESHF6.js} +2 -2
  20. package/dist/{chunk-27QO3AXJ.js → chunk-YFBL7BT2.js} +1 -1
  21. package/dist/{chunk-27QO3AXJ.js.map → chunk-YFBL7BT2.js.map} +1 -1
  22. package/dist/design-canvas-react/index.js +3 -3
  23. package/dist/design-canvas-react/lazy.js +1 -1
  24. package/dist/journeys/index.js.map +1 -1
  25. package/dist/journeys/journey.d.ts +2 -1
  26. package/dist/{mention-editor-XB4LGO3X.js → mention-editor-UHGJXXUC.js} +1 -2
  27. package/dist/mention-editor-UHGJXXUC.js.map +1 -0
  28. package/dist/preset-cloudflare/index.js +2 -2
  29. package/dist/public-consultation/index.d.ts +1 -1
  30. package/dist/public-consultation/index.js +4 -4
  31. package/dist/sandbox/index.js +4 -4
  32. package/dist/theme/brand.generated.d.ts +1 -1
  33. package/dist/theme/dom.js +2 -2
  34. package/dist/theme/index.js +1 -1
  35. package/dist/theme/tokens.css +165 -267
  36. package/dist/tools/index.js +4 -4
  37. package/dist/trace/index.d.ts +5 -14
  38. package/dist/trace/index.js +13 -9
  39. package/dist/trace/index.js.map +1 -1
  40. package/dist/web-react/document.js +2 -2
  41. package/dist/web-react/index.js +3 -3
  42. package/dist/web-react/mention-editor.d.ts +0 -13
  43. package/dist/work-product/index.js +2 -2
  44. package/package.json +15 -15
  45. package/dist/mention-editor-XB4LGO3X.js.map +0 -1
  46. /package/dist/{DesignCanvasEditor-CYFFF2LZ.js.map → DesignCanvasEditor-OQ467KSH.js.map} +0 -0
  47. /package/dist/{chunk-KWF4NL6R.js.map → chunk-5WQ77MPN.js.map} +0 -0
  48. /package/dist/{chunk-2V7YCTYU.js.map → chunk-HQTTCCYE.js.map} +0 -0
  49. /package/dist/{chunk-STGV7DXB.js.map → chunk-LS65AEPX.js.map} +0 -0
  50. /package/dist/{chunk-NHOQ5TMH.js.map → chunk-O23ED5XC.js.map} +0 -0
  51. /package/dist/{chunk-6GN2E5KT.js.map → chunk-PCFVN6KV.js.map} +0 -0
  52. /package/dist/{chunk-HFCPHY5D.js.map → chunk-S6HCSAO6.js.map} +0 -0
  53. /package/dist/{chunk-CVOEGD3Y.js.map → chunk-UTQ2FPDG.js.map} +0 -0
  54. /package/dist/{chunk-IUAPYE37.js.map → chunk-W4FW3RUM.js.map} +0 -0
  55. /package/dist/{chunk-XU6A5NT2.js.map → chunk-WKXESHF6.js.map} +0 -0
@@ -7,7 +7,7 @@
7
7
  @layer theme, base, components, utilities;
8
8
  @layer theme{/* GENERATED by scripts/gen-compat.mjs. Do not edit.
9
9
  * Source: tokens.css + named-themes.css
10
- * SHA-256: fc22dd14d46adcb3da24a7c9c41cc61b2b1c3eadbd6490c628ea63e4cfb57621
10
+ * SHA-256: 9c796b6c0e1dc1ca46d1dd9d1e45adfb8b40bcf836198dc0e24d5afd0393f182
11
11
  * Light-default compatibility; all explicit modes remain canonical.
12
12
  */
13
13
  :where(:root),
@@ -701,6 +701,18 @@
701
701
  [data-theme] {
702
702
  --chart-ink: var(--text-primary);
703
703
  --chart-ink-muted: var(--text-dim);
704
+ --chart-series-1: var(--chart-accent);
705
+ --chart-series-2: light-dark(#2a7fa8, #6cc0e8);
706
+ --chart-series-3: light-dark(#7b4fc0, #b99af0);
707
+ --chart-series-4: light-dark(#1f7f88, #5fc2c9);
708
+ --chart-series-5: light-dark(#a8418f, #e58ccf);
709
+ --chart-series-6: light-dark(#5a6ad8, #8fa4ff);
710
+ --chart-series-7: light-dark(#45507a, #c0c4dc);
711
+ --chart-series-8: var(--text-muted);
712
+ --chart-category-1: light-dark(#2a78d6, #3987e5);
713
+ --chart-category-2: light-dark(#eb6834, #d95926);
714
+ --chart-category-3: light-dark(#1baf7a, #199e70);
715
+ --chart-category-other: var(--text-muted);
704
716
  --chart-muted: var(--md3-outline);
705
717
  --chart-grid: var(--md3-surface-container-high);
706
718
  --chart-rule: var(--md3-outline-variant);
@@ -1902,6 +1914,7 @@
1902
1914
  --color-primary: hsl(var(--primary));
1903
1915
  --color-primary-foreground: hsl(var(--primary-foreground));
1904
1916
  --color-ring: hsl(var(--ring));
1917
+ --chart-series-1: var(--chart-accent);
1905
1918
  }
1906
1919
  }
1907
1920
  /* Framework-neutral opt-in presentation. Load fonts from the application's origin. */
@@ -2032,7 +2045,7 @@
2032
2045
  .tangle-heading[data-variant="page"] { font-size: var(--font-size-3xl); }
2033
2046
  .tangle-heading[data-variant="section"] { font-size: var(--font-size-xl); }
2034
2047
  .tangle-heading[data-variant="subsection"] { font-size: var(--font-size-base); }
2035
- .tangle-heading[data-variant="eyebrow"] { font-size: var(--font-size-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: hsl(var(--muted-foreground)); }
2048
+ .tangle-heading[data-variant="eyebrow"] { font-size: var(--font-size-xs); line-height: 1rem; font-weight: 500; letter-spacing: 0; color: hsl(var(--muted-foreground)); }
2036
2049
  .tangle-page-header { min-width: 0; margin-bottom: 1.5rem; }
2037
2050
  .tangle-page-header-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
2038
2051
  .tangle-intro .tangle-page-header-main { display: block; }
@@ -2104,7 +2117,7 @@
2104
2117
  .tangle-code-tabs { overflow-x: auto; max-width: 100%; }
2105
2118
  .tangle-code-tabs [role="tab"] { flex: none; min-height: var(--control-height-lg); }
2106
2119
  @layer theme{/* GENERATED from @tangle-network/brand/styles/legacy-light.css
2107
- * SHA-256: 8cff6457f4410070d3fcd2ee9384bb5444b0d6fb632e7b8fb860eb42dd121be2
2120
+ * SHA-256: 0c7c651d8868f07bd4f7fd50788575cef2b0a5288a60fb0b656c8e28b73a9e0c
2108
2121
  * Run node src/theme/build.mjs --write; do not edit colors or ratios here. */
2109
2122
  :where(:root),
2110
2123
  [data-sandbox-ui],
@@ -2303,128 +2316,96 @@
2303
2316
  --primary-foreground: var(--agent-app-accent-foreground-hsl)
2304
2317
  }
2305
2318
  }
2306
- /* Standalone surface: no Tailwind build required. Every color, radius and shadow is a Brand role from
2307
- * @tangle-network/brand tokens.css, which the host loads with its theme (data-theme or the light/dark class, which also
2308
- * set color-scheme for the light-dark() mixes below); nothing here is a color of its own, so a named theme carries in.
2309
- * Geometry reads three variables the clock writes every frame: --fw-t (clock ms), --fw-v0 (window start ms)
2310
- * and --fw-k (px per ms). A mark carries --s and --e (its start and end ms), so growth, playback and zoom
2311
- * move marks without a React render.
2312
- * Type uses the 12/14 px scale; spacing sits on a 4 px grid. */
2313
2319
  .fw-root {
2314
2320
  --fw-text: var(--text-primary);
2315
2321
  --fw-muted: var(--text-muted);
2316
2322
  --fw-surface: var(--bg-card);
2317
2323
  --fw-raised: var(--bg-elevated);
2318
- /* One hairline for the card edge and every rule inside it; the plot grid is the chart grid. */
2319
- --fw-border: hsl(var(--hsl-border));
2324
+ --fw-border: var(--border-color, hsl(var(--hsl-border)));
2320
2325
  --fw-grid: var(--chart-grid);
2321
2326
  --fw-guide: var(--chart-rule);
2322
- /* The trace is a card, so its wells are the in-card well. */
2323
2327
  --fw-well: var(--well-card);
2324
2328
  --fw-hover: var(--bg-hover);
2325
2329
  --fw-accent: var(--accent-text);
2326
2330
  --fw-failed: var(--surface-danger-text);
2327
2331
  --fw-ok: var(--surface-success-text);
2328
2332
  --fw-amber: var(--surface-warning-text);
2329
- /* The running hue: a live agent's dot, outcome and pill. The host sets it to the one running ink its other pages use. */
2330
2333
  --fw-live: var(--fw-accent);
2331
- /* Step kinds inside an agent bar: the chart accent and a categorical hue, far from the outcome greens and reds. */
2332
- --fw-kind-model: var(--chart-accent);
2333
- --fw-kind-tool: var(--tone-cyan-icon);
2334
- --fw-neutral-bar: color-mix(in oklab, var(--fw-text) 15%, var(--fw-surface));
2334
+ --fw-ink: color-mix(in oklab, var(--fw-text) 78%, var(--fw-surface));
2335
+ --fw-track: color-mix(in oklab, var(--fw-text) 65%, transparent);
2336
+ --fw-failed-mark: var(--danger-9, var(--fw-failed));
2337
+ --fw-live-mark: var(--accent-9, var(--fw-live));
2335
2338
  --fw-hatch: color-mix(in oklab, var(--fw-text) 22%, transparent);
2336
- /* Bar identity, not status: the root neutral, then an identity ring at one lightness and a moderate chroma, so no lane
2337
- outshouts another (critique P0 #3, round 29: Brand's icon-strength teal, pink and violet "compete", lime and pink read
2338
- olive and maroon). Blue, violet, pink, cyan, slate: no green, teal, lime, amber or red, so no lane is mistaken for a status. */
2339
- --fw-h0: var(--chart-muted);
2340
- --fw-h1: light-dark(oklch(0.55 0.11 255), oklch(0.70 0.11 255));
2341
- --fw-h2: light-dark(oklch(0.55 0.11 300), oklch(0.70 0.11 300));
2342
- --fw-h3: light-dark(oklch(0.55 0.11 335), oklch(0.70 0.11 335));
2343
- --fw-h4: light-dark(oklch(0.55 0.11 215), oklch(0.70 0.11 215));
2344
- --fw-h5: light-dark(oklch(0.55 0.03 255), oklch(0.70 0.03 255));
2345
- --fw-ease: cubic-bezier(.2, .8, .2, 1);
2346
- /* Bar height = row height - 16, so a centered bar sits 8 px from the row edge: 20 px in a 36 px step row. */
2339
+ --fw-ease: var(--ease-standard);
2347
2340
  --fw-bar-h: 20px;
2348
- /* One label column for rows, axis and every lane layer; the agent view caps it lower and drops it on phones. */
2349
2341
  --fw-label-col: min(var(--fw-name-w), 42%);
2350
2342
  --fw-bar-shift: 0px;
2351
2343
  position: relative;
2352
2344
  container-type: inline-size;
2345
+ container-name: flow-waterfall;
2353
2346
  min-width: 0;
2354
2347
  color: var(--fw-text);
2355
2348
  background: var(--fw-surface);
2356
2349
  border: 1px solid var(--fw-border);
2357
- border-radius: var(--radius-xl);
2350
+ border-radius: var(--radius-container);
2358
2351
  font-family: var(--font-sans);
2359
2352
  font-size: 14px;
2360
2353
  line-height: 20px;
2361
- /* Tabular figures only on numeric cells: on names they widen hyphens ("v6 - battery", "glm - 5.3"). */
2362
2354
  font-feature-settings: "cv11" 1;
2363
2355
  -webkit-font-smoothing: antialiased;
2364
2356
  }
2365
- .fw-root-agents { --fw-bar-h: 24px; --fw-label-col: min(var(--fw-name-w), 28%); }
2357
+ .fw-root-agents { --fw-bar-h: 24px; --fw-label-col: min(var(--fw-name-w), 32%); }
2366
2358
  .fw-root *, .fw-root *::before, .fw-root *::after { box-sizing: border-box; }
2367
2359
  .fw-root :is(p, dl, dd, h3, ul) { margin: 0; padding: 0; }
2368
2360
  .fw-root :is(button, input, select) { font: inherit; color: inherit; }
2369
2361
  .fw-root :is(button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--fw-accent); outline-offset: 1px; }
2370
2362
  .fw-root :is(button, select):disabled { opacity: .45; cursor: default; }
2371
- .fw-root [data-tone="0"] { --tone: var(--fw-h0); }
2372
- .fw-root [data-tone="1"] { --tone: var(--fw-h1); }
2373
- .fw-root [data-tone="2"] { --tone: var(--fw-h2); }
2374
- .fw-root [data-tone="3"] { --tone: var(--fw-h3); }
2375
- .fw-root [data-tone="4"] { --tone: var(--fw-h4); }
2376
- .fw-root [data-tone="5"] { --tone: var(--fw-h5); }
2377
- /* The outline is the full hue, which passes 3:1 against the card, so every mark keeps its edge; on a dark card the fill sits a
2378
- step toward the canvas, so a bar reads apart from a handoff pill in the full hue. The dim shade (tool calls) mixes the hue
2379
- toward the card, more of it on a dark card. */
2380
2363
  .fw-root [data-tone] {
2381
- --fill: light-dark(var(--tone), color-mix(in oklab, var(--tone) 94%, hsl(var(--hsl-background))));
2364
+ --tone: var(--fw-ink);
2365
+ --fill: var(--tone);
2382
2366
  --line: var(--tone);
2383
2367
  --dim: light-dark(color-mix(in oklab, var(--tone) 62%, var(--fw-surface)), color-mix(in oklab, var(--tone) 40%, var(--fw-surface)));
2384
2368
  --dim-line: light-dark(color-mix(in oklab, var(--tone) 70%, var(--fw-surface)), color-mix(in oklab, var(--tone) 55%, var(--fw-surface)));
2385
2369
  }
2386
- /* Header */
2387
2370
  .fw-root .fw-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--fw-border); flex-wrap: wrap; }
2388
- .fw-root .fw-title-block { min-width: 0; display: grid; gap: 4px; }
2371
+ .fw-root .fw-title-block { flex: 1; min-width: 0; display: grid; gap: 4px; }
2389
2372
  .fw-root .fw-title-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
2390
2373
  .fw-root .fw-title-glyph { display: inline-flex; color: var(--fw-accent); }
2391
2374
  .fw-root .fw-title { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
2392
2375
  .fw-root .fw-state { display: inline-flex; align-items: center; gap: 8px; height: 20px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--fw-muted); background: var(--fw-well); flex-shrink: 0; }
2393
2376
  .fw-root .fw-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
2394
2377
  .fw-root .fw-state-live { color: var(--fw-live); background: color-mix(in oklab, var(--fw-live) 12%, transparent); }
2395
- .fw-root .fw-state-live::before { animation: fw-pulse 1.6s var(--fw-ease) infinite; }
2378
+ .fw-root .fw-state-live::before { animation: tangle-breathe var(--motion-ambient) infinite; }
2396
2379
  .fw-root .fw-headline { color: var(--fw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
2397
2380
  .fw-root .fw-headline::before { content: "·"; margin-right: 8px; }
2398
2381
  .fw-root .fw-tools { display: flex; align-items: center; gap: 8px; }
2399
- .fw-root .fw-views { display: inline-flex; padding: 4px; border-radius: var(--radius-md); background: var(--fw-well); border: 1px solid var(--fw-border); }
2400
- .fw-root .fw-view-button { appearance: none; border: 0; background: transparent; height: 24px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--fw-muted); cursor: pointer; transition: background-color 120ms var(--fw-ease), color 120ms var(--fw-ease); }
2401
- /* The shown view is a state, not a control: no click target, no pointer. */
2382
+ .fw-root .fw-views { display: inline-flex; padding: 4px; border-radius: var(--radius-control); background: var(--fw-well); border: 1px solid var(--fw-border); }
2383
+ .fw-root .fw-view-button { appearance: none; border: 0; background: transparent; height: 24px; padding: 0 12px; border-radius: var(--radius-tag); font-size: 14px; color: var(--fw-muted); cursor: pointer; transition: background-color var(--motion-control), color var(--motion-control); }
2402
2384
  .fw-root .fw-view-button[aria-checked="true"] { opacity: 1; cursor: default; background: var(--fw-surface); color: var(--fw-text); box-shadow: var(--shadow-card), 0 0 0 1px var(--fw-border); }
2403
2385
  .fw-root .fw-search { position: relative; display: flex; align-items: center; }
2404
2386
  .fw-root .fw-search-glyph { position: absolute; left: 8px; display: inline-flex; color: var(--fw-muted); pointer-events: none; }
2405
- .fw-root .fw-search-input { appearance: none; width: 200px; height: 32px; padding: 0 12px 0 28px; border: 1px solid var(--fw-border); border-radius: var(--radius-md); background: var(--fw-well); font-size: 14px; }
2387
+ .fw-root .fw-search-input { appearance: none; width: 200px; height: 32px; padding: 0 12px 0 28px; border: 1px solid var(--fw-border); border-radius: var(--radius-control); background: var(--fw-well); font-size: 14px; }
2406
2388
  .fw-root .fw-search-input::placeholder { color: var(--fw-muted); }
2407
2389
  .fw-root .fw-search-input::-webkit-search-cancel-button { display: none; }
2408
- /* KPI row */
2409
- .fw-root .fw-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--fw-border); }
2390
+ .fw-root .fw-summary { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--fw-border); }
2410
2391
  .fw-root .fw-summary > div { padding: 12px 16px; min-width: 0; }
2411
- .fw-root .fw-summary > div + div { border-left: 1px solid var(--fw-border); }
2412
- .fw-root .fw-summary dt { font-size: 14px; line-height: 18px; color: var(--fw-muted); }
2413
- .fw-root .fw-value { margin-top: 4px; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
2392
+ .fw-root .fw-summary > div:nth-child(-n+2) { flex: 1; }
2393
+ .fw-root .fw-summary > div:nth-child(n+3) { display: flex; align-items: baseline; gap: 4px; padding: 8px 6px; color: var(--fw-muted); }
2394
+ .fw-root .fw-summary dt { font-size: 14px; line-height: 20px; color: var(--fw-muted); }
2395
+ .fw-root .fw-value { margin-top: 4px; font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
2396
+ .fw-root .fw-summary > div:nth-child(n+3) .fw-value { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: normal; }
2414
2397
  .fw-root .fw-has-errors .fw-value { color: var(--fw-failed); }
2415
- /* Axis */
2416
2398
  .fw-root .fw-axis { display: grid; grid-template-columns: var(--fw-label-col) minmax(0, 1fr); height: 32px; color: var(--fw-muted); font-size: 14px; }
2417
2399
  .fw-root .fw-axis-top { border-bottom: 1px solid var(--fw-border); }
2418
2400
  .fw-root .fw-axis-label { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; border-right: 1px solid var(--fw-border); min-width: 0; }
2419
2401
  .fw-root .fw-branch-controls { margin-left: auto; display: flex; gap: 4px; }
2420
- .fw-root .fw-text-button { appearance: none; border: 0; background: transparent; height: 24px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 14px; color: var(--fw-muted); cursor: pointer; white-space: nowrap; }
2402
+ .fw-root .fw-text-button { appearance: none; border: 0; background: transparent; height: 24px; padding: 0 8px; border-radius: var(--radius-tag); font-size: 14px; color: var(--fw-muted); cursor: pointer; white-space: nowrap; }
2421
2403
  .fw-root .fw-text-button:hover { background: var(--fw-hover); color: var(--fw-text); }
2422
2404
  .fw-root .fw-resize { position: absolute; top: 0; right: -4px; width: 8px; height: 100%; cursor: col-resize; z-index: 2; }
2423
2405
  .fw-root .fw-resize:hover, .fw-root .fw-resize:focus-visible { background: linear-gradient(90deg, transparent 3px, var(--fw-accent) 3px 5px, transparent 5px); outline: 0; }
2424
2406
  .fw-root .fw-axis-track { position: relative; overflow: hidden; cursor: ew-resize; touch-action: none; }
2425
2407
  .fw-root .fw-tick { position: absolute; top: 50%; transform: translate(4px, -50%); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 16px; }
2426
2408
  .fw-root .fw-cursor-handle { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--fw-text); box-shadow: 0 0 0 2px var(--fw-surface); left: calc(var(--fw-pad) + (var(--fw-t) - var(--fw-v0)) * var(--fw-k) * 1px - 4.5px); bottom: -5px; z-index: 3; }
2427
- /* Body */
2428
2409
  .fw-root .fw-viewport { position: relative; }
2429
2410
  .fw-root .fw-scroller { position: relative; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; outline: 0; }
2430
2411
  .fw-root .fw-canvas { position: relative; }
@@ -2432,15 +2413,12 @@
2432
2413
  .fw-root .fw-gridline { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fw-grid); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
2433
2414
  .fw-root .fw-cursor-layer { z-index: 3; }
2434
2415
  .fw-root .fw-marker-layer { position: absolute; top: 0; bottom: 0; left: var(--fw-label-col); right: 0; overflow: hidden; pointer-events: none; z-index: 2; }
2435
- /* An event's line is drawn behind the rows, with the gridlines, so bars and labels cover it; its label stays on top. */
2436
2416
  .fw-root .fw-marker { --fw-marker: var(--fw-muted); position: absolute; top: 0; bottom: 0; width: 0; left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
2437
2417
  .fw-root .fw-marker-line { --fw-marker: var(--fw-muted); opacity: .4; position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--fw-marker); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
2438
2418
  .fw-root .fw-marker-line[data-tone="ok"] { --fw-marker: var(--fw-ok); }
2439
2419
  .fw-root .fw-marker-line[data-tone="failed"] { --fw-marker: var(--fw-failed); }
2440
2420
  .fw-root .fw-marker[data-tone="ok"] { --fw-marker: var(--fw-ok); }
2441
2421
  .fw-root .fw-marker[data-tone="failed"] { --fw-marker: var(--fw-failed); }
2442
- /* A pause: the run stood still. A faint band behind the rows (they stay readable over it), and on the axis a hatched strip under
2443
- the ticks that names its length and reason on hover and focus; a chip over the axis hid the hour ticks. */
2444
2422
  .fw-root :is(.fw-pause, .fw-pause-mark) { position: absolute; left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); width: calc(max(0, var(--e) - var(--s)) * var(--fw-k) * 1px); }
2445
2423
  .fw-root .fw-pause { top: 0; bottom: 0; background: color-mix(in oklab, var(--fw-text) 4%, transparent); border-inline: 1px dashed color-mix(in oklab, var(--fw-text) 18%, transparent); }
2446
2424
  .fw-root .fw-pause-mark { bottom: 3px; height: 6px; border-radius: 2px; cursor: help;
@@ -2448,7 +2426,6 @@
2448
2426
  .fw-root .fw-marker-label { position: absolute; top: 2px; left: 3px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; border-radius: var(--radius-tag); font-size: 14px; line-height: 18px; color: var(--fw-marker); background: var(--fw-surface); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-marker) 40%, transparent); }
2449
2427
  .fw-root .fw-marker-label-left { left: auto; right: 3px; }
2450
2428
  .fw-root .fw-marker[data-tone="warn"], .fw-root .fw-event[data-tone="warn"] { --fw-marker: var(--fw-amber); }
2451
- /* The event track: one dot per marker on the axis; click or N/P moves the cursor there. */
2452
2429
  .fw-root .fw-event { --fw-marker: var(--fw-muted); position: absolute; bottom: 2px; width: 8px; height: 8px; margin-left: -4px; padding: 0; border: 0; border-radius: 50%; background: var(--fw-marker); box-shadow: 0 0 0 2px var(--fw-surface); cursor: pointer; z-index: 4; left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
2453
2430
  .fw-root .fw-event[data-tone="ok"] { --fw-marker: var(--fw-ok); }
2454
2431
  .fw-root .fw-event[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--fw-surface), 0 0 0 4px var(--fw-marker); }
@@ -2458,60 +2435,45 @@
2458
2435
  .fw-root .fw-cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in oklab, var(--fw-text) 70%, transparent); left: calc(var(--fw-pad) + (var(--fw-t) - var(--fw-v0)) * var(--fw-k) * 1px); }
2459
2436
  .fw-root .fw-empty { padding: 40px 16px; text-align: center; color: var(--fw-muted); }
2460
2437
  .fw-root .fw-sticky { position: absolute; top: 0; left: 0; right: 0; z-index: 2; background: var(--fw-surface); box-shadow: 0 1px 0 var(--fw-border), var(--shadow-card); }
2461
- /* Rows */
2462
2438
  .fw-root .fw-row { position: absolute; top: 0; left: 0; right: 0; transform: translateY(var(--row-y)); height: var(--fw-row-h); display: grid; grid-template-columns: var(--fw-label-col) minmax(0, 1fr); outline: 0; contain: layout style; }
2463
- /* A row's tint is one variable, so the chips on it (an end label, a stacked name) paint the same plane as the row. */
2464
2439
  .fw-root .fw-row { background: var(--fw-tint, transparent); }
2465
2440
  .fw-root .fw-row:hover { --fw-tint: var(--fw-hover); }
2441
+ .fw-root .fw-row { transition: transform var(--motion-surface); }
2466
2442
  .fw-root .fw-row.fw-active { --fw-tint: color-mix(in oklab, var(--fw-accent) 7%, transparent); }
2467
2443
  .fw-root .fw-row[aria-selected="true"] { --fw-tint: var(--ix-sel-bg); }
2468
- /* A selected agent lifts: an accent edge on its row, and its peers' marks recede; their names and labels keep the muted ink, which
2469
- reads at 4.5:1, where fading whole cells dropped them to 2.2:1 and let connectors and pause bands show through the text. */
2470
2444
  .fw-root-agents[data-selection] .fw-row[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--fw-accent); }
2471
- .fw-root-agents[data-selection] .fw-row:not([aria-selected="true"]) { --fw-recede: .4; }
2472
- .fw-root-agents[data-selection] .fw-row:not([aria-selected="true"]):hover { --fw-recede: .8; }
2445
+ .fw-root-agents[data-selection] .fw-row:not([aria-selected="true"]) { --fw-ink: color-mix(in oklab, var(--fw-text) 60%, var(--fw-surface)); }
2473
2446
  .fw-root-agents[data-selection] .fw-row:not([aria-selected="true"]) .fw-span-name { color: var(--fw-muted); }
2474
2447
  .fw-root .fw-row:focus-visible { box-shadow: inset 2px 0 0 var(--fw-accent); }
2475
2448
  .fw-root .fw-sticky-row { background: var(--fw-surface); }
2476
2449
  .fw-root .fw-label { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 12px 0 calc(12px + var(--depth) * 16px); border-right: 1px solid var(--fw-border); }
2477
2450
  .fw-root .fw-guides { position: absolute; top: 0; bottom: 0; left: 20px; width: calc(var(--depth) * 16px); background: repeating-linear-gradient(90deg, var(--fw-guide) 0 1px, transparent 1px 16px); }
2478
2451
  .fw-root .fw-toggle, .fw-root .fw-toggle-space { flex: 0 0 16px; width: 16px; height: 16px; }
2479
- .fw-root .fw-toggle { appearance: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--radius-tag); background: transparent; color: var(--fw-muted); cursor: pointer; }
2480
- .fw-root .fw-toggle svg { width: 12px; height: 12px; transition: transform 160ms var(--fw-ease); }
2452
+ .fw-root .fw-toggle { appearance: none; pointer-events: auto; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--radius-tag); background: transparent; color: var(--fw-muted); cursor: pointer; }
2453
+ .fw-root .fw-toggle svg { width: 12px; height: 12px; transition: transform var(--motion-control); }
2481
2454
  .fw-root .fw-toggle.fw-open svg { transform: rotate(90deg); }
2482
2455
  .fw-root .fw-toggle:hover { background: var(--fw-hover); color: var(--fw-text); }
2483
- .fw-root .fw-icon-tile { flex: 0 0 20px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: var(--radius-sm); border: 1px solid var(--fw-border); background: var(--fw-surface); color: var(--line, var(--fw-muted)); }
2456
+ .fw-root .fw-icon-tile { flex: 0 0 20px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: var(--radius-tag); border: 1px solid var(--fw-border); background: var(--fw-surface); color: var(--line, var(--fw-muted)); }
2484
2457
  .fw-root .fw-icon-tile :is(svg, img) { width: 13px; height: 13px; }
2485
2458
  .fw-root .fw-row .fw-names { font-size: 14px; }
2486
2459
  .fw-root .fw-names { display: flex; align-items: baseline; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
2487
2460
  .fw-root .fw-span-name { display: inline-flex; align-items: center; gap: 8px; overflow: hidden; flex-shrink: 0; max-width: 100%; min-width: 0; }
2488
2461
  .fw-root .fw-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
2489
2462
  .fw-root .fw-strong { font-weight: 600; }
2490
- .fw-root .fw-detail { color: var(--fw-muted); overflow: hidden; min-width: 0; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
2491
- .fw-root .fw-detail-icon { display: inline-flex; }
2492
- .fw-root .fw-detail-icon :is(svg, img) { width: 12px; height: 12px; }
2463
+ .fw-root .fw-detail-icon { display: inline-flex; flex: none; width: 16px; height: 16px; align-items: center; justify-content: center; overflow: hidden; }
2464
+ .fw-root .fw-detail-icon :is(svg, img) { width: 14px; height: 14px; }
2493
2465
  .fw-root .fw-count { flex-shrink: 0; height: 18px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--fw-well); border: 1px solid var(--fw-border); color: var(--fw-muted); font-size: 14px; line-height: 18px; font-variant-numeric: tabular-nums; }
2494
2466
  .fw-root .fw-alert { display: inline-flex; color: var(--fw-failed); flex-shrink: 0; }
2495
2467
  .fw-root .fw-alert svg { width: 13px; height: 13px; }
2496
- .fw-root .fw-spinner { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--fw-accent) 30%, transparent); border-top-color: var(--fw-accent); animation: fw-spin .8s linear infinite; flex-shrink: 0; }
2497
- /* Agent rows: a dot, the agent and its model on a second line. */
2468
+ .fw-root .fw-spinner { width: 6px; height: 6px; border-radius: 50%; background: var(--fw-live); animation: tangle-breathe var(--motion-ambient) infinite; flex-shrink: 0; }
2498
2469
  .fw-root .fw-view-agents .fw-label { padding-left: 16px; gap: 12px; border-right: 0; }
2499
2470
  .fw-root .fw-view-agents .fw-names { flex-direction: column; align-items: flex-start; gap: 0; }
2500
2471
  .fw-root .fw-view-agents .fw-span-name { font-weight: 600; line-height: 18px; }
2501
- /* One 16 px line that wraps its last parts out of sight: when the line is full a count drops whole, never "48 …". */
2502
- .fw-root .fw-view-agents .fw-subtitle { display: flex; align-items: center; column-gap: 4px; height: 18px; overflow: hidden; max-width: 100%; min-width: 0; color: var(--fw-muted); font-size: 14px; line-height: 18px; }
2503
- .fw-root .fw-view-agents .fw-subtitle-extra { flex: none; white-space: nowrap; }
2504
- /* Only the tail wraps, so the first part is always on its line and shrinks with an ellipsis; later parts wrap out of sight. */
2505
- .fw-root .fw-view-agents .fw-subtitle-tail { display: flex; flex-wrap: wrap; column-gap: 4px; height: 18px; overflow: hidden; min-width: 0; flex: 0 1 auto; }
2506
- .fw-root .fw-view-agents .fw-subtitle-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2507
- .fw-root .fw-view-agents .fw-detail-icon { flex: none; width: 16px; height: 16px; align-items: center; justify-content: center; overflow: hidden; }
2508
- .fw-root .fw-view-agents .fw-detail { font-size: 14px; line-height: 18px; }
2509
- .fw-root .fw-agent-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--line, var(--fw-muted)); }
2510
- /* The dot is outcome only (critique P0 #3): an agent with no recorded outcome gets a hollow ring, never its lane hue. */
2511
- .fw-root .fw-row:not([data-outcome]) .fw-agent-dot:not([data-outcome]) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fw-muted); }
2512
- .fw-root :is(.fw-agent-dot, .fw-legend .fw-swatch)[data-ring] { background: transparent; box-shadow: inset 0 0 0 2px var(--line, var(--fw-muted)); }
2513
- .fw-root :is(.fw-agent-dot, .fw-legend .fw-swatch)[data-outcome="live"]:not([data-ring]) { box-shadow: 0 0 0 3px color-mix(in oklab, var(--fw-live) 22%, transparent); }
2514
- /* Lanes and marks */
2472
+ .fw-root .fw-view-agents .fw-subtitle { height: 18px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fw-muted); font-size: 13px; line-height: 18px; }
2473
+ .fw-root .fw-agent-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--tone, var(--fw-muted)); }
2474
+ .fw-root .fw-agent-dot:not([data-outcome]) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fw-muted); }
2475
+ .fw-root :is(.fw-agent-dot, .fw-legend .fw-swatch)[data-ring] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tone, var(--fw-muted)); }
2476
+ .fw-root .fw-agent-dot[data-outcome="live"]:not([data-ring]) { animation: tangle-breathe var(--motion-ambient) infinite; }
2515
2477
  .fw-root .fw-lane { position: relative; overflow: hidden; min-width: 0; }
2516
2478
  .fw-root .fw-invalid { position: absolute; left: var(--fw-pad); top: 50%; transform: translateY(-50%); color: var(--fw-muted); }
2517
2479
  .fw-root :is(.fw-bar, .fw-seg, .fw-end, .fw-mark) {
@@ -2523,130 +2485,79 @@
2523
2485
  left: var(--x0);
2524
2486
  opacity: var(--on);
2525
2487
  }
2526
- .fw-root :is(.fw-bar, .fw-seg, .fw-mark) { opacity: calc(var(--on) * var(--fw-recede, 1)); transition: opacity 160ms var(--fw-ease); }
2527
- .fw-root .fw-enter > [role="gridcell"] { animation: fw-unfold 220ms var(--fw-ease) var(--fw-enter-delay) both; }
2528
- .fw-root .fw-enter :is(.fw-bar, .fw-seg) { animation: fw-grow 420ms var(--fw-ease) var(--fw-enter-delay) both; }
2529
- .fw-root .fw-enter .fw-end { animation: fw-land 220ms var(--fw-ease) calc(var(--fw-enter-delay) + 300ms) both; }
2530
- .fw-root .fw-settle :is(.fw-bar, .fw-seg) { animation: fw-settle 600ms var(--fw-ease); }
2531
- .fw-root .fw-settle .fw-end { animation: fw-land 260ms var(--fw-ease); }
2532
- /* A live bar grows with the clock instead of stepping each tick. */
2533
- .fw-root .fw-row[data-running] .fw-bar { transition: width 120ms linear; }
2534
- /* The chain that gates the trace's end: an accent edge under its bars, so cutting latency there is visibly what moves the end. */
2488
+ .fw-root :is(.fw-bar, .fw-seg, .fw-mark) { opacity: var(--on); transition: opacity var(--motion-control); }
2489
+ .fw-root .fw-enter > [role="gridcell"] { transition: opacity var(--motion-arrive); transition-delay: var(--fw-enter-delay); }
2490
+ .fw-root .fw-enter :is(.fw-bar, .fw-seg) { transition: clip-path var(--motion-grow, var(--motion-stream)); transition-delay: var(--fw-enter-delay); clip-path: inset(0); }
2491
+ @starting-style { .fw-root .fw-enter > [role="gridcell"] { opacity: 0; } .fw-root .fw-enter :is(.fw-bar, .fw-seg) { clip-path: inset(0 100% 0 0); } }
2492
+ .fw-root[data-follow-live] .fw-row[data-running] .fw-bar { --on: 1; }
2493
+ .fw-root[data-follow-live] :is(.fw-seg, .fw-mark), .fw-root[data-follow-live] .fw-row:not([data-running]) .fw-bar { --fw-t: calc(var(--e) + 1); }
2535
2494
  .fw-root .fw-row[data-critical] .fw-bar { box-shadow: inset 0 -2px 0 var(--fw-accent); }
2536
- /* While searching, ancestors shown only for context recede and the matching names stand out. */
2537
- .fw-root .fw-row[data-search="context"] .fw-label { opacity: 0.55; }
2495
+ .fw-root .fw-row[data-search="context"] .fw-label { color: var(--fw-muted); }
2538
2496
  .fw-root .fw-row[data-search="match"] .fw-name-text { font-weight: 600; }
2539
- /* A restart: a notch in the failure ink through the bar at that moment (the run overview's ✕); the bar keeps its own state. */
2540
2497
  .fw-root .fw-mark { position: absolute; z-index: 2; left: calc(var(--x0) - 1px); width: 2px; top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2 - 4px); height: calc(var(--fw-bar-h) + 8px);
2541
2498
  border-radius: 2px; background: var(--fw-failed); box-shadow: 0 0 0 1px var(--fw-surface); pointer-events: auto; }
2542
- /* Centered by top, not a negative margin, so measured spacing stays on the grid. */
2543
2499
  .fw-root :is(.fw-bar, .fw-seg) { top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2); height: var(--fw-bar-h); width: max(var(--w), calc(var(--on) * 3px)); border-radius: var(--radius-tag); cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
2544
2500
  .fw-root .fw-bar { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
2545
- /* The mark under the pointer lifts: a brighter fill and a ring in its own tone. */
2546
- .fw-root :is(.fw-bar, .fw-seg):hover { filter: brightness(1.18); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px color-mix(in oklab, var(--line) 55%, transparent); z-index: 1; }
2501
+ .fw-root :is(.fw-bar, .fw-seg):hover { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px color-mix(in oklab, var(--line) 55%, transparent); z-index: 1; }
2547
2502
  .fw-root .fw-bar.fw-k-tool { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
2548
- /* A handoff is a moment: a slim pill in the receiving tone, not a block of work. */
2549
2503
  .fw-root .fw-bar.fw-k-handoff { background: var(--line); height: 8px; top: calc(50% + var(--fw-bar-shift) - 4px); box-shadow: none; }
2550
- .fw-root .fw-bar.fw-k-waiting { background: repeating-linear-gradient(-45deg, var(--fw-hatch) 0 1px, transparent 1px 5px); box-shadow: inset 0 0 0 1px var(--fw-hatch); }
2504
+ .fw-root .fw-bar:is(.fw-k-waiting, .fw-k-pipeline) { background: var(--fw-track); box-shadow: none; }
2551
2505
  .fw-root .fw-bar.fw-k-failed { background: color-mix(in oklab, var(--fw-failed) 22%, var(--fw-surface)); box-shadow: inset 0 0 0 1px var(--fw-failed); color: var(--fw-failed); }
2552
- .fw-root .fw-bar.fw-k-pipeline { background: linear-gradient(90deg, var(--fw-neutral-bar), color-mix(in oklab, var(--fw-neutral-bar) 55%, var(--fw-surface))); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-text) 12%, transparent); }
2553
- .fw-root .fw-bar.fw-k-pipeline.fw-has-marks { background: color-mix(in oklab, var(--tone) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 18%, transparent); }
2554
- .fw-root .fw-bar.fw-k-pipeline.fw-has-agents { background: repeating-linear-gradient(-45deg, var(--fw-hatch) 0 1px, transparent 1px 5px), color-mix(in oklab, var(--fw-text) 4%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-text) 12%, transparent); }
2555
- /* An agent bar with no child marks says who it is by its lane color, never a neutral grey. */
2556
- /* In the agent view the bar's own extent between steps is waiting: a flat faint fill under the step segments (long hatching read muddy). */
2557
- .fw-root .fw-view-agents .fw-bar.fw-k-pipeline.fw-has-marks { background: color-mix(in oklab, var(--tone) 12%, transparent); }
2558
- /* An agent lane is a tint of its color; full saturation is kept for its model and tool segments and its status dot, so a run never
2559
- reads as a wall of colored slabs. */
2560
- .fw-root .fw-view-agents .fw-bar.fw-k-pipeline:not(.fw-has-marks, .fw-has-agents) { background: color-mix(in oklab, var(--tone) 30%, var(--fw-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 55%, transparent); }
2561
- /* A family row without one shared outcome is neutral when bars mean outcomes, not a hue of its own. */
2562
- .fw-root.fw-fill-outcome .fw-view-agents .fw-row[data-span-id^="family:"]:not([data-outcome]), .fw-root.fw-fill-outcome .fw-view-agents .fw-row[data-span-id^="family:"]:not([data-outcome]) [data-tone] { --tone: var(--fw-h0); }
2563
- /* A host outcome re-tones the whole lane: dot, bar and marks. */
2564
- /* Muted agents (the default): one quiet tone for every agent bar, its steps and handoffs; the slowest agent alone takes amber, and
2565
- failure keeps its red glyph, so color only ever means state. */
2566
- .fw-root.fw-fill-muted .fw-view-agents [data-tone] { --tone: var(--fw-h0); }
2567
- /* With per-agent hues the slowest agent keeps its own hue and says so with the amber pill (round 27: an amber-brown bar read "muddy"). */
2568
- .fw-root [data-outcome="ok"], .fw-root [data-outcome="ok"] [data-tone] { --tone: var(--fw-ok); }
2569
- .fw-root [data-outcome="failed"], .fw-root [data-outcome="failed"] [data-tone] { --tone: var(--fw-failed); }
2570
- .fw-root [data-outcome="warn"], .fw-root [data-outcome="warn"] [data-tone] { --tone: var(--fw-amber); }
2571
- .fw-root [data-outcome="live"], .fw-root [data-outcome="live"] [data-tone] { --tone: var(--fw-live); }
2572
- .fw-root [data-outcome="neutral"], .fw-root [data-outcome="neutral"] [data-tone] { --tone: var(--fw-muted); }
2573
- /* An agent's dot states how it ended in every fill: the muted fill quiets the lanes, never the dot (0.21.23 drew Shipped grey). */
2574
- .fw-root.fw-root .fw-agent-dot[data-outcome="ok"] { --tone: var(--fw-ok); }
2575
- .fw-root.fw-root .fw-agent-dot[data-outcome="failed"] { --tone: var(--fw-failed); }
2576
- .fw-root.fw-root .fw-agent-dot[data-outcome="warn"] { --tone: var(--fw-amber); }
2577
- .fw-root.fw-root .fw-agent-dot[data-outcome="live"] { --tone: var(--fw-live); }
2578
- .fw-root.fw-root .fw-agent-dot[data-outcome="neutral"] { --tone: var(--fw-muted); }
2579
- .fw-root .fw-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--fw-muted); font-size: 14px; line-height: 18px; }
2580
- .fw-root .fw-legend li { display: inline-flex; align-items: center; gap: 8px; }
2581
- .fw-root .fw-legends { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 8px; }
2582
- .fw-root .fw-legends .fw-legend { margin: 0; }
2506
+ .fw-root [data-outcome="ok"] { --outcome-tone: var(--fw-muted); }
2507
+ .fw-root [data-outcome="failed"] { --outcome-tone: var(--fw-failed-mark); }
2508
+ .fw-root [data-outcome="warn"] { --outcome-tone: var(--fw-amber); }
2509
+ .fw-root [data-outcome="live"] { --outcome-tone: var(--fw-live-mark); }
2510
+ .fw-root [data-outcome="neutral"] { --outcome-tone: var(--fw-muted); }
2511
+ .fw-root [data-outcome] { --tone: var(--outcome-tone); }
2512
+ /* The lane: its track tints only for state that needs a reader (a failure, a live agent); finished work stays neutral. */
2513
+ .fw-root.fw-fill-outcome .fw-view-agents .fw-row[data-span-kind="failed"] .fw-bar.fw-k-pipeline { background: color-mix(in oklab, var(--fw-failed-mark) 65%, transparent); }
2514
+ .fw-root.fw-fill-outcome .fw-view-agents .fw-row[data-running] .fw-bar.fw-k-pipeline { background: color-mix(in oklab, var(--fw-live-mark) 65%, transparent); box-shadow: inset -2px 0 0 var(--fw-live-mark); }
2515
+ .fw-root .fw-view-agents .fw-bar.fw-k-pipeline { height: 8px; top: calc(50% + var(--fw-bar-shift) - 4px); }
2516
+ .fw-root .fw-view-agents .fw-seg { background: var(--fw-ink); box-shadow: none; --fw-seg-ink: light-dark(var(--fw-surface), var(--bg-root)); }
2517
+ .fw-root .fw-view-agents .fw-seg-failed { background: var(--fw-failed-mark); }
2518
+ .fw-root.fw-root .fw-agent-dot[data-outcome] { --tone: var(--outcome-tone); }
2519
+ .fw-root .fw-legend { display: flex; flex-wrap: nowrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--fw-muted); font-size: 14px; line-height: 18px; }
2520
+ .fw-root .fw-legend li { display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; }
2521
+ .fw-root .fw-legends { display: flex; align-items: center; gap: 24px; max-width: 100%; min-width: 0; overflow-x: auto; margin-top: 8px; }
2522
+ .fw-root .fw-legends .fw-legend { flex: none; margin: 0; }
2583
2523
  .fw-root .fw-kinds { margin: 0; padding: 0; justify-content: flex-start; color: var(--fw-muted); }
2584
- .fw-root .fw-kinds .fw-swatch-model { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-model); }
2585
- /* With per-agent hues the key shows kind as shade, as the bars do: darker for a model call, lighter for a tool call. */
2586
- .fw-root.fw-fill-agent .fw-kinds .fw-swatch-model { background: light-dark(oklch(0.50 0 0), oklch(0.82 0 0)); }
2587
- .fw-root.fw-fill-agent .fw-kinds .fw-swatch-tool { background: light-dark(oklch(0.80 0 0), oklch(0.64 0 0)); }
2588
- .fw-root .fw-kinds .fw-swatch-tool { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-kind-tool); }
2589
- .fw-root .fw-kinds .fw-swatch-wait { width: 12px; height: 8px; border-radius: 2px; background: color-mix(in oklab, var(--fw-text) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-text) 18%, transparent); }
2524
+ .fw-root .fw-kinds .fw-swatch-ink { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-ink); }
2525
+ .fw-root .fw-kinds .fw-swatch-track { width: 12px; height: 8px; border-radius: 2px; background: var(--fw-track); box-shadow: inset 0 0 0 1px var(--fw-track); }
2590
2526
  .fw-root .fw-kinds .fw-swatch-event { width: 8px; height: 8px; border-radius: 50%; background: var(--fw-muted); box-shadow: 0 0 0 2px var(--fw-surface); }
2591
- .fw-root .fw-kinds .fw-swatch-handoff { width: 10px; height: 8px; border-left: 1.5px solid var(--fw-muted); border-bottom: 1.5px solid var(--fw-muted); border-bottom-left-radius: 3px; }
2592
2527
  .fw-root .fw-description { margin: 0; color: var(--fw-muted); font-size: 14px; line-height: 20px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2593
2528
  .fw-root .fw-legend .fw-swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
2594
2529
  .fw-root .fw-legend b { color: var(--fw-text); font-weight: 600; font-variant-numeric: tabular-nums; }
2595
2530
  .fw-root .fw-legend .fw-swatch-step { display: inline-grid; place-items: center; width: 12px; height: 12px; border-radius: 3px; background: var(--fw-well); color: var(--fw-failed); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-failed) 50%, transparent); }
2596
2531
  .fw-root .fw-legend .fw-swatch-step svg { width: 8px; height: 8px; }
2597
- .fw-root .fw-bar.fw-approx { opacity: calc(var(--on) * .7 * var(--fw-recede, 1)); }
2532
+ .fw-root .fw-bar.fw-approx { opacity: calc(var(--on) * .7); }
2598
2533
  .fw-root .fw-seg { width: max(calc(var(--w) - 2px), calc(var(--on) * 3px)); pointer-events: none; }
2599
2534
  .fw-root .fw-view-agents .fw-seg { pointer-events: auto; }
2600
2535
  .fw-root .fw-seg-model { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
2601
2536
  .fw-root .fw-seg-tool { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
2602
- /* Without per-agent hues (muted or outcome fill), a step's kind owns its color; with them, kind is a fixed lightness on the agent's own
2603
- hue (the rules below), so each agent stays one color. */
2604
- .fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents .fw-seg-model { background: var(--fw-kind-model); box-shadow: none; }
2605
- .fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents .fw-seg-tool { background: var(--fw-kind-tool); box-shadow: none; }
2606
- /* Per-agent hues: a step's kind is a fixed lightness on its agent's hue, the same for every hue, so kind reads by lightness
2607
- against the surface and never contradicts the key (critique P0 #4: dark tool steps were lighter than model steps, and the
2608
- step varied with hue). On dark both steps are light pastels, model 0.82 and tool 0.64: round 27's pastel dark fills scored
2609
- 39/252, and the critique's darker 0.72/0.46 read muddy to round 29's judges. Model is the stronger step on either surface; chroma is capped at 0.10, never raised, so a neutral (the root's grey) stays
2610
- neutral instead of taking a red cast from its undefined hue. */
2611
- .fw-root.fw-fill-agent .fw-view-agents .fw-seg-model { background: light-dark(oklch(from var(--tone) 0.50 min(c, 0.10) h), oklch(from var(--tone) 0.82 min(c, 0.10) h)); box-shadow: none; }
2612
- .fw-root.fw-fill-agent .fw-view-agents :is(.fw-seg-tool, .fw-seg-failed) { background: light-dark(oklch(from var(--tone) 0.80 min(c, 0.10) h), oklch(from var(--tone) 0.64 min(c, 0.10) h)); box-shadow: none; }
2613
- /* A failed turn is still the agent's work: it keeps the agent's hue, and the red cross on the ending turn says it failed. */
2614
- .fw-root.fw-fill-agent .fw-view-agents .fw-seg-failed { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-failed) 55%, transparent); }
2615
2537
  .fw-root .fw-view-agents .fw-seg { container-type: inline-size; justify-content: flex-start; font-size: 14px; line-height: 18px; white-space: nowrap; color: var(--fw-seg-ink); }
2616
- /* Label ink holds 4.5:1 on its fill: page-light on the dark light-theme model step (L 0.50), page-dark on every other step
2617
- (light tool 0.80, dark pastels 0.82 and 0.64). */
2618
- .fw-root .fw-view-agents .fw-seg-model { --fw-seg-ink: light-dark(var(--fw-surface), hsl(var(--hsl-background))); }
2619
- .fw-root .fw-view-agents :is(.fw-seg-tool, .fw-seg-failed) { --fw-seg-ink: light-dark(var(--fw-text), hsl(var(--hsl-background))); }
2620
2538
  .fw-root .fw-view-agents .fw-seg > * { pointer-events: none; }
2621
- /* One line, 6 px in from each end; a part that does not fit whole wraps to the hidden second line, so trailing parts drop first. */
2622
2539
  .fw-root .fw-seg-label { flex: 1; min-width: 0; height: 16px; margin: 0 6px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; overflow: hidden; }
2623
2540
  .fw-root .fw-seg-label > * { flex: none; height: 16px; display: inline-flex; align-items: center; }
2624
2541
  .fw-root .fw-seg-icon svg { width: 12px; height: 12px; stroke-width: 1.75; }
2625
2542
  .fw-root .fw-seg-name { font-weight: 600; }
2626
2543
  .fw-root .fw-seg-chip { padding: 0 4px; border-radius: var(--radius-pill); background: color-mix(in oklab, currentColor 18%, transparent); font-weight: 600; font-variant-numeric: tabular-nums; }
2627
2544
  .fw-root .fw-seg-meta { font-variant-numeric: tabular-nums; }
2628
- @container (max-width: 24px) { .fw-root :is(.fw-seg-label, .fw-view-agents .fw-seg .fw-glyph) { display: none; } }
2629
- /* Fail and retry read as filled chips inside the bar: red, and a quiet grey for a retry that recovered. */
2630
- .fw-root .fw-view-agents .fw-seg .fw-glyph { flex: none; margin-left: 6px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--fw-failed); color: light-dark(var(--fw-surface), hsl(var(--hsl-background))); }
2545
+ @container (max-width: 24px) { .fw-root .fw-seg-label { display: none; } }
2546
+ @container (max-width: 5px) { .fw-root .fw-view-agents .fw-seg .fw-glyph { display: none; } }
2547
+ .fw-root .fw-view-agents .fw-seg .fw-glyph { flex: none; margin-left: 0; display: grid; place-items: center; width: min(14px, 100%); height: 14px; border-radius: 50%; background: var(--fw-failed); color: light-dark(var(--fw-surface), var(--bg-root)); }
2631
2548
  .fw-root .fw-view-agents .fw-seg .fw-glyph[data-glyph="retry"] { background: var(--fw-muted); }
2632
- .fw-root .fw-view-agents .fw-seg .fw-glyph svg { width: 9px; height: 9px; stroke-width: 2.5; }
2633
- .fw-root:is(.fw-fill-muted, .fw-fill-outcome) .fw-view-agents :is(.fw-seg-alt.fw-seg-model, .fw-seg-alt.fw-seg-tool) { filter: brightness(.88); }
2549
+ .fw-root .fw-view-agents .fw-seg .fw-glyph svg { width: min(9px, 100%); height: 9px; stroke-width: 2.5; }
2634
2550
  .fw-root .fw-seg-failed { background: color-mix(in oklab, var(--fw-failed) 18%, var(--fw-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fw-failed) 70%, transparent); color: var(--fw-failed); }
2635
- /* In the agent view a failed turn draws like any turn; the agent's own failure shows once, by its name and its end label. */
2636
- .fw-root .fw-view-agents .fw-seg-failed { background: var(--dim); box-shadow: inset 0 0 0 1px var(--dim-line); }
2637
2551
  .fw-root .fw-glyph { display: inline-flex; color: currentColor; }
2638
2552
  .fw-root .fw-glyph svg { width: 11px; height: 11px; stroke-width: 2; }
2639
2553
  .fw-root .fw-seg-model .fw-glyph, .fw-root .fw-k-model .fw-glyph { color: light-dark(var(--tone), var(--fw-text)); }
2640
- /* End labels sit on the surface, so connectors and event lines stop at them, and never run past the lane: a label that would
2641
- be cut at the right edge slides back over its bar's tail instead. */
2642
2554
  .fw-root .fw-end { z-index: 2; display: inline-flex; align-items: center; gap: 8px; top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2); height: var(--fw-bar-h);
2643
2555
  left: min(calc(var(--x0) + max(var(--w), 3px) + 4px), calc(100% - var(--fw-end-w, 0px) - 4px)); padding: 0 4px; border-radius: var(--radius-tag);
2644
2556
  background: linear-gradient(var(--fw-tint, transparent) 0 0), var(--fw-surface); white-space: nowrap; pointer-events: none; }
2645
- .fw-root .fw-duration { font-size: 14px; color: var(--fw-muted); font-variant-numeric: tabular-nums; }
2557
+ .fw-root .fw-outcome-end { display: inline-flex; pointer-events: auto; }
2558
+ .fw-root .fw-duration { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--fw-muted); font-variant-numeric: tabular-nums; }
2646
2559
  .fw-root .fw-k-failed ~ .fw-end .fw-duration { color: var(--fw-failed); }
2647
- .fw-root .fw-badge { height: 20px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fw-muted); background: transparent; box-shadow: inset 0 0 0 1px var(--fw-border); }
2648
- /* Handoff elbows: 1.5 px stroke, 6 px radius, a 5 px dot where the handoff leaves its sender. */
2649
- /* Under the rows (which follow it), so end labels and badges always sit above the connectors. */
2560
+ .fw-root .fw-badge { display: inline-flex; flex: none; height: 18px; padding: 0 6px; border-radius: var(--radius-pill); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--fw-muted); background: transparent; box-shadow: inset 0 0 0 1px var(--fw-border); }
2650
2561
  .fw-root .fw-links { position: absolute; top: 0; bottom: 0; left: var(--fw-label-col); right: 0; overflow: hidden; pointer-events: none; z-index: 0; }
2651
2562
  .fw-root .fw-link {
2652
2563
  --x: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px);
@@ -2654,47 +2565,35 @@
2654
2565
  opacity: clamp(0, (var(--fw-t) - var(--s)) * 1000, 1);
2655
2566
  }
2656
2567
  .fw-root .fw-view-spans .fw-link { opacity: calc(clamp(0, (var(--fw-t) - var(--s)) * 1000, 1) * .7); }
2657
- /* Agent-view connectors rest faint, one curved elbow per spawn in the agent's hue (they show who started whom), and come to
2658
- full strength for the agent under the pointer, pinned or focused. */
2659
2568
  .fw-root .fw-view-agents .fw-link:not(.fw-link-hot) { opacity: calc(clamp(0, (var(--fw-t) - var(--s)) * 1000, 1) * .8); }
2660
- .fw-root .fw-link { transition: opacity 160ms var(--fw-ease); }
2569
+ .fw-root .fw-link { transition: opacity var(--motion-control); }
2661
2570
  .fw-root .fw-link-down { left: calc(var(--x) - 12px); border-left-width: 1.5px; border-bottom-left-radius: 12px; }
2662
2571
  .fw-root .fw-link-up { left: var(--x); border-right-width: 1.5px; border-bottom-right-radius: 12px; }
2663
2572
  .fw-root .fw-link::before { content: ""; position: absolute; top: -3.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 1.5px var(--fw-surface); }
2664
2573
  .fw-root .fw-link-down::before { left: -3.25px; }
2665
2574
  .fw-root .fw-link-up::before { right: -3.25px; }
2666
- /* Span card */
2667
- .fw-root .fw-card-anchor { display: contents; }
2668
2575
  .fw-root .fw-seg-alt { filter: brightness(.78); }
2669
- /* Agent view: the scrubber track shows how far the run has played, so at rest it reads full, not empty. */
2670
2576
  .fw-root.fw-root-agents .fw-slider { background: linear-gradient(90deg, color-mix(in oklab, var(--fw-text) 32%, transparent) var(--fw-progress), var(--fw-well) var(--fw-progress)) 0 50% / 100% 4px no-repeat; }
2671
- /* The playhead: a round knob on a thin neutral track, visible at rest without outweighing the chart. */
2672
2577
  .fw-root.fw-root-agents .fw-slider::-webkit-slider-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fw-text); box-shadow: 0 0 0 3px var(--fw-surface); }
2673
2578
  .fw-root.fw-root-agents .fw-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fw-text); box-shadow: 0 0 0 3px var(--fw-surface); }
2674
- .fw-root .fw-card { position: absolute; z-index: 20; width: min(320px, calc(100% - 16px)); max-height: min(60vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; border-radius: var(--radius-xl); background: var(--fw-raised); border: 1px solid var(--fw-border);
2675
- box-shadow: var(--shadow-dropdown); animation: fw-arrive 140ms var(--fw-ease); }
2676
- /* A hover card never covers the next mark: only a pinned card (a dialog) takes the pointer. */
2677
- .fw-root .fw-card[role="tooltip"] { pointer-events: none; }
2678
- .fw-root .fw-card-above .fw-card { transform: translateY(-100%); animation-name: fw-arrive-above; }
2579
+ .fw-root .fw-card { position: relative; width: 100%; max-height: min(60vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; border-radius: var(--radius-card); background: var(--fw-raised); border: 1px solid var(--fw-border);
2580
+ box-shadow: var(--shadow-dropdown); transition: opacity var(--motion-control); }
2581
+ /* A docked card is content in its host's surface: one surface per card, never a frame inside a frame. */
2582
+ .fw-root .fw-card[data-mode="docked"] { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; max-height: none; overflow: visible; }
2679
2583
  .fw-root .fw-card-agent { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
2680
2584
  .fw-root .fw-card-agent .fw-agent-dot { align-self: center; }
2681
2585
  .fw-root .fw-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
2682
- .fw-root .fw-card-head .fw-icon-tile { flex-basis: 28px; width: 28px; height: 28px; border-radius: var(--radius-md); }
2586
+ .fw-root .fw-card-head .fw-icon-tile { flex-basis: 28px; width: 28px; height: 28px; border-radius: var(--radius-control); }
2683
2587
  .fw-root .fw-card-head .fw-icon-tile :is(svg, img) { width: 16px; height: 16px; }
2684
2588
  .fw-root .fw-card-name { flex: 1; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 600; overflow-wrap: anywhere; }
2685
- .fw-root .fw-pill { flex-shrink: 0; height: 20px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; font-weight: 600; }
2686
- .fw-root .fw-pill-done { color: var(--fw-ok); background: color-mix(in oklab, var(--fw-ok) 13%, transparent); }
2687
- .fw-root .fw-pill-running { color: var(--fw-live); background: color-mix(in oklab, var(--fw-live) 13%, transparent); }
2688
- .fw-root .fw-pill-failed { color: var(--fw-failed); background: color-mix(in oklab, var(--fw-failed) 13%, transparent); }
2689
- .fw-root .fw-icon-button { appearance: none; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--fw-muted); cursor: pointer; flex-shrink: 0; }
2589
+ .fw-root .fw-pill { flex-shrink: 0; height: 20px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fw-status); background: color-mix(in oklab, var(--fw-status) 13%, transparent); }
2590
+ .fw-root .fw-icon-button { appearance: none; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--fw-muted); cursor: pointer; flex-shrink: 0; }
2690
2591
  .fw-root .fw-icon-button:hover:not(:disabled) { background: var(--fw-hover); color: var(--fw-text); }
2691
2592
  .fw-root .fw-card-close { width: 20px; height: 20px; margin-right: -4px; }
2692
- /* The card's table: label and value on one line each, every value with its unit; a tool breakdown sits under its total. */
2693
- .fw-root .fw-card-table { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; padding-top: 8px; border-top: 1px solid var(--fw-border); font-size: 14px; line-height: 18px; }
2593
+ .fw-root .fw-card-table { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow-wrap: anywhere; gap: 6px 16px; padding-top: 8px; border-top: 1px solid var(--fw-border); font-size: 14px; line-height: 18px; }
2694
2594
  .fw-root .fw-card-table > div { display: contents; }
2695
2595
  .fw-root .fw-card-table dt, .fw-root .fw-card-label { font-size: 14px; line-height: 18px; color: var(--fw-muted); }
2696
2596
  .fw-root .fw-card-table dd { min-width: 0; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
2697
- /* A value of several parts wraps between parts, never inside one ("4.0M" / "cached"). */
2698
2597
  .fw-root .fw-card-parts { display: flex; flex-wrap: wrap; column-gap: 4px; }
2699
2598
  .fw-root .fw-card-parts > * { white-space: nowrap; }
2700
2599
  .fw-root .fw-card-parts:not(.fw-card-stack) > * + *::before { content: "· "; color: var(--fw-muted); }
@@ -2704,65 +2603,33 @@
2704
2603
  .fw-root .fw-card-tools > span > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2705
2604
  .fw-root .fw-card-tools > span > :last-child { text-align: right; }
2706
2605
  .fw-root .fw-card-text { margin-top: 12px; }
2707
- .fw-root .fw-card-compact .fw-card-agent { font-size: 14px; line-height: 20px; }
2606
+ .fw-root .fw-card-compact .fw-card-agent { margin-bottom: 2px; font-size: 14px; line-height: 20px; }
2708
2607
  .fw-root .fw-card-who { min-width: 0; flex: 1; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
2709
- .fw-root .fw-pill-outcome { color: var(--line); background: color-mix(in oklab, var(--tone) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 35%, transparent); }
2710
- .fw-root .fw-card-step { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--fw-border); color: var(--fw-muted); font-size: 14px; line-height: 18px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
2711
- .fw-root .fw-card-result { margin-top: 8px; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
2712
2608
  .fw-root .fw-card-text p { margin-top: 4px; color: var(--fw-text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
2713
- /* Playback */
2714
2609
  .fw-root .fw-playback { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--fw-border); }
2715
- .fw-root .fw-round-button { appearance: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--fw-border); background: var(--fw-well); color: var(--fw-text); cursor: pointer; transition: background-color 120ms var(--fw-ease), transform 120ms var(--fw-ease); }
2610
+ .fw-root .fw-round-button { appearance: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--fw-border); background: var(--fw-well); color: var(--fw-text); cursor: pointer; transition: background-color var(--motion-control), transform var(--motion-control); }
2716
2611
  .fw-root .fw-round-button:hover:not(:disabled) { background: var(--fw-hover); }
2717
2612
  .fw-root .fw-round-button:active:not(:disabled) { transform: scale(.94); }
2718
2613
  .fw-root .fw-speed { position: relative; display: inline-flex; }
2719
2614
  .fw-root .fw-speed::after { content: ""; position: absolute; top: 50%; right: 11px; width: 5px; height: 5px; border: solid var(--fw-muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
2720
- .fw-root .fw-speed select { appearance: none; height: 28px; padding: 0 28px 0 12px; border-radius: var(--radius-md); border: 1px solid var(--fw-border); background: var(--fw-well); font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; }
2721
- .fw-root .fw-overview { position: relative; flex: 1 1 160px; min-width: 120px; height: 28px; }
2722
- .fw-root .fw-overview-marks { position: absolute; left: 0; right: 0; top: 8px; height: 12px; border-radius: var(--radius-tag); background: var(--fw-well); overflow: hidden; box-shadow: inset 0 0 0 1px var(--fw-border); }
2615
+ .fw-root .fw-speed select { appearance: none; height: 28px; padding: 0 28px 0 12px; border-radius: var(--radius-control); border: 1px solid var(--fw-border); background: var(--fw-well); font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; }
2616
+ .fw-root .fw-overview { position: relative; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; column-gap: 8px; flex: 1 1 160px; min-width: 120px; height: 28px; }
2617
+ .fw-root .fw-overview-marks { position: relative; grid-area: 1 / 2; height: 12px; border-radius: var(--radius-tag); background: var(--fw-well); overflow: hidden; box-shadow: inset 0 0 0 1px var(--fw-border); }
2723
2618
  .fw-root .fw-ov { position: absolute; top: 2px; bottom: 2px; border-radius: 1px; }
2724
2619
  .fw-root .fw-ov.fw-seg-model, .fw-root .fw-ov.fw-seg-tool { background: var(--line); opacity: .75; }
2725
2620
  .fw-root .fw-ov.fw-seg-tool { opacity: .45; }
2726
2621
  .fw-root .fw-ov.fw-seg-failed { background: var(--fw-failed); }
2727
2622
  .fw-root .fw-brush { position: absolute; top: 0; bottom: 0; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--fw-accent); background: color-mix(in oklab, var(--fw-accent) 10%, transparent); }
2728
- .fw-root .fw-slider { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: linear-gradient(90deg, transparent var(--fw-progress), color-mix(in oklab, var(--fw-surface) 55%, transparent) var(--fw-progress)) 0 8px / 100% 12px no-repeat; cursor: pointer; }
2623
+ .fw-root .fw-slider { position: relative; grid-area: 1 / 2; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: linear-gradient(90deg, transparent var(--fw-progress), color-mix(in oklab, var(--fw-surface) 55%, transparent) var(--fw-progress)) 0 8px / 100% 12px no-repeat; cursor: pointer; }
2729
2624
  .fw-root .fw-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 22px; border-radius: 2px; background: var(--fw-text); box-shadow: 0 0 0 2px var(--fw-surface); }
2730
2625
  .fw-root .fw-slider::-moz-range-thumb { width: 4px; height: 22px; border: 0; border-radius: 2px; background: var(--fw-text); box-shadow: 0 0 0 2px var(--fw-surface); }
2731
- .fw-root .fw-time { min-width: 48px; font-size: 14px; color: var(--fw-muted); font-variant-numeric: tabular-nums; }
2626
+ .fw-root .fw-time { grid-area: 1 / 1; min-width: 48px; white-space: nowrap; font-size: 14px; color: var(--fw-muted); font-variant-numeric: tabular-nums; }
2732
2627
  .fw-root .fw-zoom { display: inline-flex; gap: 0; }
2733
2628
  .fw-root .fw-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
2734
- @keyframes fw-spin { to { transform: rotate(360deg); } }
2735
- /* Motion verbs. Grow: an arriving bar extends from its start. Unfold: an arriving row's cells slide in, staggered by
2736
- --fw-enter-delay. Settle: a bar that just finished eases its edge and lands its end label. */
2737
- @keyframes fw-grow { from { clip-path: inset(0 100% 0 0 round 4px); } }
2738
- @keyframes fw-unfold { from { opacity: 0; translate: 0 -4px; } }
2739
- @keyframes fw-land { from { opacity: 0; translate: -6px 0; } }
2740
- @keyframes fw-settle { 40% { filter: brightness(1.3); } }
2741
- @keyframes fw-pulse { 50% { opacity: .35; } }
2742
- @keyframes fw-arrive { from { opacity: 0; transform: translateY(4px); } }
2743
- @keyframes fw-arrive-above { from { opacity: 0; transform: translateY(calc(-100% - 4px)); } }
2744
2629
  @media (prefers-reduced-motion: reduce) {
2745
- .fw-root *, .fw-root *::before { animation: none !important; transition: none !important; }
2746
- .fw-root .fw-spinner { border-top-color: color-mix(in oklab, var(--fw-accent) 30%, transparent); border-right-color: var(--fw-accent); }
2747
- }
2748
- @container (max-width: 820px) {
2749
- .fw-root .fw-zoom, .fw-root .fw-time { display: none; }
2750
- }
2751
- @container (max-width: 560px) {
2752
- .fw-root .fw-row .fw-icon-tile { display: none; }
2753
- .fw-root .fw-label { padding-left: calc(8px + var(--depth) * 12px); gap: 4px; }
2754
- .fw-root .fw-guides { left: 16px; width: calc(var(--depth) * 12px); background-size: 12px 100%; }
2755
- .fw-root .fw-row .fw-detail { display: none; }
2756
- }
2757
- @media (max-width: 640px) {
2758
- .fw-root .fw-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
2759
- .fw-root .fw-summary > div:nth-child(4) { border-left: 0; }
2760
- .fw-root .fw-summary > div:nth-child(n + 4) { border-top: 1px solid var(--fw-border); }
2761
- .fw-root .fw-search-input { width: 140px; }
2762
- .fw-root .fw-branch-controls, .fw-root .fw-zoom { display: none; }
2763
- .fw-root .fw-heading, .fw-root .fw-playback { padding-left: 12px; padding-right: 12px; }
2764
- }
2765
- /* The agent timeline is one quiet surface: no inner rules; controls and axis sit above the lanes. */
2630
+ .fw-root *, .fw-root *::before { animation: none !important; transition: opacity var(--duration-fast) !important; }
2631
+ .fw-root :is(.fw-agent-dot, .fw-spinner)[data-motion="essential"], .fw-root .fw-state-live[data-motion="essential"]::before { animation: tangle-breathe var(--motion-ambient) infinite !important; }
2632
+ }
2766
2633
  .fw-root-agents .fw-heading { border-bottom: 0; padding: 20px 24px 12px; }
2767
2634
  .fw-root-agents .fw-axis-top { border-bottom: 0; }
2768
2635
  .fw-root-agents .fw-axis-top .fw-axis-label { border-right-color: transparent; }
@@ -2770,35 +2637,66 @@
2770
2637
  .fw-root-agents .fw-body { padding-bottom: 12px; }
2771
2638
  .fw-root-agents .fw-view-agents .fw-label { padding-left: 24px; }
2772
2639
  .fw-root-agents .fw-zoom, .fw-root-agents .fw-time { display: none; }
2773
- /* The agent view keeps scrubbing on a hairline track; the lanes above already show the activity. */
2774
- .fw-root-agents .fw-overview-marks { top: 13px; height: 2px; box-shadow: none; }
2640
+ .fw-root-agents .fw-overview-marks { top: 0; height: 2px; box-shadow: none; }
2775
2641
  .fw-root-agents .fw-overview-marks > * { display: none; }
2776
- .fw-root .fw-segmented { display: inline-flex; padding: 4px; border-radius: var(--radius-md); background: var(--fw-well); border: 1px solid var(--fw-border); }
2777
- .fw-root .fw-segmented button { appearance: none; border: 0; background: transparent; height: 26px; min-width: 36px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--fw-muted); cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color 120ms var(--fw-ease), color 120ms var(--fw-ease); }
2642
+ .fw-root .fw-segmented { display: inline-flex; padding: 4px; border-radius: var(--radius-control); background: var(--fw-well); border: 1px solid var(--fw-border); }
2643
+ .fw-root .fw-segmented button { appearance: none; border: 0; background: transparent; height: 26px; min-width: 36px; padding: 0 12px; border-radius: var(--radius-tag); font-size: 14px; color: var(--fw-muted); cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color var(--motion-control), color var(--motion-control); }
2778
2644
  .fw-root .fw-segmented button[aria-checked="true"] { background: var(--fw-surface); color: var(--fw-text); box-shadow: var(--shadow-card), 0 0 0 1px var(--fw-border); }
2779
- /* Below 900 px the agent's name takes its own line above a full-width lane: nothing truncates and the bar keeps the width.
2780
- (At 768 px a 28% column cut 15 of 17 names on a real 17-agent run.) */
2781
- @container (max-width: 899px) {
2782
- /* The root is the queried container, so the variables go on its children. */
2783
- /* In a 40 px row: the name on 0-20 px, a 16 px bar on 20-36 px. */
2784
- .fw-root-agents > * { --fw-label-col: 0px; --fw-bar-shift: 8px; --fw-bar-h: 16px; }
2785
- .fw-root-agents .fw-view-agents .fw-names { flex-direction: row; align-items: baseline; gap: 8px; min-width: 0; }
2786
- /* The label leaves the grid flow, so the lane must claim the track column itself. */
2787
- .fw-root-agents .fw-view-agents .fw-lane { grid-column: 2; }
2788
- /* Elbows pass behind the name, not through its letters. A transform or layout containment would make each row
2789
- its own stacking context and trap the name under the connector layer, so stacked rows place by top instead. */
2790
- .fw-root-agents .fw-view-agents .fw-row { transform: none; top: var(--row-y); contain: style; }
2791
- /* The name row is a strip across the lane on the row's own plane, so gridlines, pauses and connectors show only in the bar row. */
2792
- .fw-root-agents .fw-view-agents .fw-label { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 20px; padding: 0 calc(var(--fw-end-w, 0px) + 12px) 0 var(--fw-pad); gap: 8px; align-items: center; pointer-events: none; overflow: hidden;
2793
- background: linear-gradient(var(--fw-tint, transparent) 0 0), var(--fw-surface); }
2794
- /* The duration and its badges take the strip's right end, past the name, so they never sit on a bar or across a connector. */
2795
- .fw-root-agents .fw-view-agents .fw-end { z-index: 4; top: 0; height: 20px; left: auto; right: 4px; }
2796
- .fw-root-agents .fw-view-agents .fw-mark { top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2 - 2px); height: calc(var(--fw-bar-h) + 4px); }
2797
- }
2798
- /* On a phone the name row holds the name and the duration; the outcome is the dot's color and the counts are the card's. */
2799
- @container (max-width: 479px) {
2800
- .fw-root-agents .fw-view-agents .fw-subtitle { display: none; }
2801
- }
2645
+ .fw-root .fw-legend button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; }
2646
+ .fw-root .fw-legend button[aria-pressed="true"] { color: var(--fw-text); text-decoration: underline; text-underline-offset: 4px; }
2647
+ .fw-root .fw-summary button { appearance: none; background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit; }
2648
+ .fw-root .fw-row-state { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
2649
+ .fw-root .fw-error-rug { position: relative; height: 10px; margin-left: var(--fw-label-col); overflow: hidden; }
2650
+ .fw-root .fw-error-tick { position: absolute; width: 2px; height: 8px; background: var(--fw-failed); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
2651
+ .fw-root .fw-error-tick[data-unlocated] { left: auto; right: calc(var(--error-index) * 3px); }
2652
+ .fw-root .fw-quiet { display: inline-flex; align-items: center; gap: 4px; color: var(--fw-amber); font-size: 13px; font-weight: 500; white-space: nowrap; }
2653
+ .fw-root .fw-quiet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
2654
+ .fw-root [data-activity="quiet"] :is(.fw-agent-dot[data-outcome="live"], .fw-spinner) { display: none; }
2655
+ .fw-root [data-activity="quiet"] :is(.fw-agent-dot, .fw-spinner) { animation: none !important; }
2656
+ .fw-root .fw-quiet-tail { position: absolute; top: calc(50% + var(--fw-bar-shift) - var(--fw-bar-h) / 2); height: var(--fw-bar-h); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); width: calc(max(0, var(--fw-t) - var(--s)) * var(--fw-k) * 1px); background: repeating-linear-gradient(-45deg, var(--fw-hatch) 0 1px, transparent 1px 5px); pointer-events: none; }
2657
+ .fw-root .fw-now { background: color-mix(in oklab, var(--fw-text) 28%, transparent); }
2658
+ .fw-root .fw-card-error { margin-top: 8px; color: var(--fw-failed); font-size: 13px; line-height: 18px; }
2659
+ @container flow-waterfall (max-width: 599px) {
2660
+ .fw-root > * { --fw-label-col: 0px; --fw-bar-shift: 18px; --fw-bar-h: 8px; --fw-row-h: 52px; }
2661
+ .fw-root .fw-summary > div:nth-child(-n+2) { flex: 1 0 auto; display: flex; align-items: baseline; gap: 8px; padding: 6px 8px; }
2662
+ .fw-root .fw-summary > div:nth-child(-n+2) .fw-value { margin: 0; font-size: 20px; line-height: 28px; }
2663
+ .fw-root .fw-summary::after { content: ""; flex-basis: 100%; }
2664
+ .fw-root .fw-summary > div:nth-child(n+3) { order: 1; }
2665
+ .fw-root :is(.fw-zoom, .fw-branch-controls, .fw-resize, .fw-links, .fw-gridlayer, .fw-marker-layer, .fw-subtitle, .fw-badge, .fw-icon-tile) { display: none; }
2666
+ .fw-root .fw-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 8px; }
2667
+ .fw-root .fw-title-block { display: contents; }
2668
+ .fw-root .fw-title-line { grid-column: 1 / -1; flex-wrap: wrap; }
2669
+ .fw-root .fw-legends { grid-area: 3 / 1 / auto / -1; margin: 0; }
2670
+ .fw-root .fw-tools { grid-area: 2 / 1; flex-wrap: wrap; }
2671
+ .fw-root .fw-segmented { padding: 2px; }
2672
+ .fw-root .fw-segmented button { min-width: 28px; padding: 0 6px; }
2673
+ .fw-root.fw-root-agents .fw-playback { padding: 8px; }
2674
+ .fw-root.fw-root-agents .fw-overview { margin-top: 0; }
2675
+ .fw-root .fw-search-input { width: 120px; }
2676
+ .fw-root .fw-axis-label { border: 0; padding: 0; }
2677
+ .fw-root .fw-tick:not(:first-child) { transform: translate(-50%, -50%); }
2678
+ .fw-root .fw-row { transform: none; top: var(--row-y); contain: style; }
2679
+ .fw-root .fw-label { position: absolute; z-index: 3; height: 20px; top: 0; left: 0; right: 0; padding: 0 8px 0 calc(8px + var(--depth) * 12px); border: 0; gap: 4px; background: transparent; pointer-events: none; }
2680
+ .fw-root .fw-row :is(.fw-row-state, .fw-quiet) { position: absolute; top: 20px; left: calc(28px + var(--depth) * 12px); height: 18px; }
2681
+ .fw-root .fw-view-agents .fw-names { flex-direction: row; font-size: 14px; line-height: 20px; }
2682
+ .fw-root .fw-view-agents :is(.fw-subtitle, .fw-seg-label) { display: none; }
2683
+ .fw-root .fw-view-agents .fw-label { padding-left: calc(8px + var(--depth) * 12px); }
2684
+ .fw-root .fw-lane { grid-column: 2; }
2685
+ .fw-root .fw-end { top: 20px; height: 18px; left: auto; right: 4px; max-width: calc(100% - 144px); }
2686
+ .fw-root .fw-time { display: block; grid-column: 2; position: absolute; top: -12px; left: var(--fw-progress); transform: translateX(calc(-1 * var(--fw-progress))); width: max-content; max-width: 100%; background: var(--fw-surface); }
2687
+ .fw-root .fw-playback { position: relative; padding: 12px 8px 8px; }
2688
+ .fw-root .fw-overview { margin-top: 12px; grid-template-columns: 0 minmax(0, 1fr); column-gap: 0; }
2689
+ }
2690
+ .fw-root[data-frameless] { border: 0; border-radius: 0; }
2691
+ /* fill: the waterfall takes its host's height and the rows take what the header leaves (Drew: "GIVE COMPONENTS THE PROPER SPACE"). */
2692
+ .fw-root[data-fill] { display: flex; flex-direction: column; box-sizing: border-box; height: 100%; min-height: 0; }
2693
+ .fw-root[data-fill] > * { flex: none; }
2694
+ .fw-root[data-fill] > :is(.fw-body, .fw-graph), .fw-root[data-fill] :is(.fw-viewport, .fw-graph > *) { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
2695
+ .fw-root[data-fill] .fw-scroller { flex: 1 1 auto; min-height: 0; }
2696
+ .fw-root .fw-card-compact { padding: 8px 12px; }
2697
+ .fw-root .fw-card-state { display: inline-flex; align-items: center; flex: none; color: var(--fw-status); }
2698
+ .fw-root .fw-card-line { font-size: 13px; line-height: 18px; color: var(--fw-muted); }
2699
+ .fw-root .fw-card-compact :is(.fw-card-line, .fw-card-error) { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2802
2700
 
2803
2701
  @layer theme {
2804
2702
  :where(:root) {