@crewlethq/ui 0.121.1 → 0.123.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 (63) hide show
  1. package/README.md +45 -2
  2. package/dist/Charts/StackedRing.d.ts +40 -0
  3. package/dist/Charts/TimeSeries.d.ts +8 -1
  4. package/dist/Charts/index.d.ts +2 -0
  5. package/dist/Charts/index.js +1 -1
  6. package/dist/{Charts-UJKADWXE.css → Charts-4VQ7T3GB.css} +85 -0
  7. package/dist/DataGrid/DataGrid.d.ts +11 -1
  8. package/dist/DataGrid/index.d.ts +1 -1
  9. package/dist/DataGrid/index.js +1 -1
  10. package/dist/{DataGrid-7KUUYSHA.css → DataGrid-KAFVH4B3.css} +3 -1
  11. package/dist/DeepWorkCard/index.js +2 -2
  12. package/dist/Fullscreen/FullscreenToggle.d.ts +21 -0
  13. package/dist/Fullscreen/index.d.ts +2 -0
  14. package/dist/Fullscreen/index.js +11 -1
  15. package/dist/GraphCanvas/GraphCanvas.d.ts +268 -0
  16. package/dist/GraphCanvas/index.d.ts +9 -0
  17. package/dist/GraphCanvas/index.js +21 -0
  18. package/dist/GraphCanvas/layout.d.ts +231 -0
  19. package/dist/GraphCanvas/reach.d.ts +27 -0
  20. package/dist/GraphCanvas/walk.d.ts +21 -0
  21. package/dist/GraphCanvas-UZPZRP6S.css +793 -0
  22. package/dist/IconTile/IconTile.d.ts +26 -18
  23. package/dist/IconTile/index.d.ts +1 -1
  24. package/dist/IconTile/index.js +1 -1
  25. package/dist/IconTile-6OSCIHYU.css +112 -0
  26. package/dist/ObjectHeader/ObjectHeader.d.ts +17 -2
  27. package/dist/ObjectHeader/index.d.ts +2 -2
  28. package/dist/ObjectHeader/index.js +1 -1
  29. package/dist/{ObjectHeader-5RK5YAUK.css → ObjectHeader-BH7OBEAL.css} +12 -0
  30. package/dist/OpenInAppCard/index.js +2 -2
  31. package/dist/OrgTable/index.js +5 -5
  32. package/dist/PropertyList/index.js +2 -2
  33. package/dist/ReviewList/index.js +2 -2
  34. package/dist/RichEditor/index.js +1 -1
  35. package/dist/SetupWizard/index.js +2 -2
  36. package/dist/StatusLegend/StatusLegend.d.ts +1 -1
  37. package/dist/StatusLegend/index.js +1 -1
  38. package/dist/{StatusLegend-HVMKJQFY.css → StatusLegend-DMSTS2NG.css} +9 -0
  39. package/dist/TreeGrid/index.js +2 -2
  40. package/dist/{chunk-W5XCNEZC.js → chunk-3JLG6KRU.js} +23 -2
  41. package/dist/{chunk-65AMIQSW.js → chunk-4PEPSGCZ.js} +4 -2
  42. package/dist/{chunk-AGVGX52B.js → chunk-7XYU5PSQ.js} +1 -1
  43. package/dist/{chunk-5LIWAA7S.js → chunk-CXFMNOPV.js} +15 -6
  44. package/dist/chunk-DSBKVP73.js +2138 -0
  45. package/dist/{chunk-3RKS3DLF.js → chunk-ENYHABQJ.js} +1 -1
  46. package/dist/{chunk-S2ZUAI6C.js → chunk-EWJOBD25.js} +2 -2
  47. package/dist/{chunk-KZTR3V2P.js → chunk-J44ZIWGH.js} +11 -3
  48. package/dist/{chunk-X5YI6QLW.js → chunk-NOKZULW3.js} +1 -1
  49. package/dist/{chunk-ZOMTCEHR.js → chunk-OFNJE4BN.js} +6 -1
  50. package/dist/{chunk-75O3HCCD.js → chunk-T4TKY4VZ.js} +1 -1
  51. package/dist/chunk-VRVNLJUA.js +46 -0
  52. package/dist/{chunk-MNTN5ESE.js → chunk-ZY5322MJ.js} +77 -3
  53. package/dist/generated/index.d.ts +1 -0
  54. package/dist/generated/index.js +42 -41
  55. package/dist/index.js +42 -41
  56. package/dist/styles.css +1137 -154
  57. package/package.json +3 -3
  58. package/dist/IconTile-G52XZVR4.css +0 -33
  59. package/dist/chunk-3LI4TRUR.js +0 -22
  60. package/dist/{Editor-JCAYNXQX.js → Editor-SBHTMAEK.js} +1 -1
  61. package/dist/{chunk-WLL3PFI3.js → chunk-2DZV4PHK.js} +1 -1
  62. package/dist/{chunk-4Z3AGYOB.js → chunk-P42LNYRX.js} +1 -1
  63. /package/dist/{chunk-33NGH63Z.js → chunk-QV3WVNRA.js} +0 -0
package/dist/styles.css CHANGED
@@ -9677,7 +9677,7 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
9677
9677
  }
9678
9678
 
9679
9679
 
9680
- /* Charts-UJKADWXE.css */
9680
+ /* Charts-4VQ7T3GB.css */
9681
9681
  /* The chart kit: a legend, a ranked bar list, a stacked bar, stacked
9682
9682
  columns, an activity strip, a time series and the reading layer they share. Hand-drawn rather than a charting library, for one reason that
9683
9683
  decides it: every mark here reads tokens, in two themes, at the contrast
@@ -10100,6 +10100,62 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
10100
10100
  background: var(--crewlet-stacked-bar-segment-color, var(--color-data-other));
10101
10101
  }
10102
10102
 
10103
+ /* ─── Stacked ring ────────────────────────────────────────────── */
10104
+
10105
+ /*
10106
+ * One whole round a figure. The line starts at the top and runs clockwise;
10107
+ * each arc is a dash of one circle, in its part's colour, over a track on the
10108
+ * inset ground, with a faint halo of itself behind it.
10109
+ */
10110
+ .crewlet-stacked-ring {
10111
+ --crewlet-stacked-ring-size: 4rem;
10112
+ --crewlet-stacked-ring-halo: 0.5px;
10113
+
10114
+ position: relative;
10115
+ display: inline-grid;
10116
+ flex: none;
10117
+ place-items: center;
10118
+ width: var(--crewlet-stacked-ring-size);
10119
+ height: var(--crewlet-stacked-ring-size);
10120
+ }
10121
+
10122
+ .crewlet-stacked-ring__plot {
10123
+ grid-area: 1 / 1;
10124
+ width: 100%;
10125
+ height: 100%;
10126
+ overflow: visible;
10127
+ transform: rotate(-90deg);
10128
+ }
10129
+
10130
+ .crewlet-stacked-ring__track,
10131
+ .crewlet-stacked-ring__arc {
10132
+ fill: none;
10133
+ stroke-width: 6;
10134
+ }
10135
+
10136
+ .crewlet-stacked-ring__track {
10137
+ stroke: var(--color-surface-inset);
10138
+ }
10139
+
10140
+ .crewlet-stacked-ring__arc {
10141
+ stroke: var(--crewlet-stacked-ring-segment-color, var(--color-data-other));
10142
+ }
10143
+
10144
+ .crewlet-stacked-ring__halo {
10145
+ opacity: 0.5;
10146
+ filter: blur(var(--crewlet-stacked-ring-halo));
10147
+ }
10148
+
10149
+ /* The whole, as a figure in the middle, sized by the ring. */
10150
+ .crewlet-stacked-ring__figure {
10151
+ grid-area: 1 / 1;
10152
+ color: var(--color-text-primary);
10153
+ font-size: calc(var(--crewlet-stacked-ring-size) * 0.3);
10154
+ font-weight: var(--font-weight-semibold);
10155
+ font-variant-numeric: tabular-nums;
10156
+ line-height: var(--font-line-height-tight);
10157
+ }
10158
+
10103
10159
  /* ─── Stacked columns ─────────────────────────────────────────── */
10104
10160
 
10105
10161
  /*
@@ -10657,6 +10713,35 @@ a.crewlet-btn--danger.crewlet-btn--danger:is(:link, :visited, :hover, :active, :
10657
10713
  stroke-width: 1.75;
10658
10714
  }
10659
10715
 
10716
+ /*
10717
+ * A FINE LINE, for a column of shapes read down a table: 1px, under a faint
10718
+ * halo that is the same line at half strength behind a 1px blur, so the line
10719
+ * itself stays crisp.
10720
+ */
10721
+ .crewlet-spark--fine {
10722
+ --crewlet-spark-halo: 0.5px;
10723
+ }
10724
+
10725
+ .crewlet-spark--fine .crewlet-chart__series {
10726
+ stroke-width: 1;
10727
+ }
10728
+
10729
+ .crewlet-spark__halo {
10730
+ position: absolute;
10731
+ inset: 0;
10732
+ display: block;
10733
+ width: 100%;
10734
+ height: 100%;
10735
+ overflow: visible;
10736
+ opacity: 0.5;
10737
+ filter: blur(var(--crewlet-spark-halo));
10738
+ pointer-events: none;
10739
+ }
10740
+
10741
+ .crewlet-spark--current .crewlet-spark__halo {
10742
+ width: calc(100% - var(--crewlet-spark-point) / 2 - var(--crewlet-spark-ring));
10743
+ }
10744
+
10660
10745
  .crewlet-spark--current {
10661
10746
  padding-inline-end: calc(var(--crewlet-spark-point) / 2 + var(--crewlet-spark-ring));
10662
10747
  }
@@ -15624,7 +15709,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15624
15709
  }
15625
15710
 
15626
15711
 
15627
- /* DataGrid-7KUUYSHA.css */
15712
+ /* DataGrid-KAFVH4B3.css */
15628
15713
  /*
15629
15714
  * DataGrid: a list as columns, one track list on the grid.
15630
15715
  *
@@ -15964,7 +16049,9 @@ button.crewlet-data-grid__row-link {
15964
16049
  border-bottom: none;
15965
16050
  }
15966
16051
 
15967
- .crewlet-data-grid__row:hover {
16052
+ /* Under the pointer, or pointed at from another surface showing the same records: one overlay, the same. */
16053
+ .crewlet-data-grid__row:hover,
16054
+ .crewlet-data-grid__row--pointed {
15968
16055
  background: var(--color-surface-hover);
15969
16056
  }
15970
16057
 
@@ -22930,191 +23017,987 @@ button.crewlet-finding-list__row:focus-visible {
22930
23017
  outline: none;
22931
23018
  }
22932
23019
 
22933
- /* Room for the More menu on a row, where it sits beside the words. */
22934
- .crewlet-folder-tile--with-actions .crewlet-folder-tile__link {
22935
- padding-inline-end: calc(var(--crewlet-folder-tile-pad-inline) + var(--crewlet-folder-tile-reserve-link));
23020
+ /* Room for the More menu on a row, where it sits beside the words. */
23021
+ .crewlet-folder-tile--with-actions .crewlet-folder-tile__link {
23022
+ padding-inline-end: calc(var(--crewlet-folder-tile-pad-inline) + var(--crewlet-folder-tile-reserve-link));
23023
+ }
23024
+
23025
+ /*
23026
+ * A NEUTRAL TINT, never a kind's: a folder is not a kind. Its hairline steps
23027
+ * up with the tile's under the pointer, as a folder's mark does on a list
23028
+ * row, so the one drawn thing on the tile answers too.
23029
+ */
23030
+ .crewlet-folder-tile__glyph {
23031
+ display: inline-flex;
23032
+ flex: none;
23033
+ align-items: center;
23034
+ justify-content: center;
23035
+ width: var(--crewlet-folder-tile-glyph);
23036
+ height: var(--crewlet-folder-tile-glyph);
23037
+ box-sizing: border-box;
23038
+ border-radius: var(--crewlet-folder-tile-glyph-radius);
23039
+ background: var(--color-surface-inset);
23040
+ box-shadow: inset 0 0 0 1px var(--color-border-default);
23041
+ color: var(--color-text-secondary);
23042
+ transition: box-shadow var(--motion-duration-fast) var(--motion-easing-out);
23043
+ }
23044
+
23045
+ .crewlet-folder-tile:hover .crewlet-folder-tile__glyph {
23046
+ box-shadow: inset 0 0 0 1px var(--color-border-hover);
23047
+ }
23048
+
23049
+ /* The glyph is drawn at the shape's size, whatever size the markup asks. */
23050
+ .crewlet-folder-tile__glyph > svg {
23051
+ width: var(--crewlet-folder-tile-glyph-icon);
23052
+ height: var(--crewlet-folder-tile-glyph-icon);
23053
+ }
23054
+
23055
+ .crewlet-folder-tile__body {
23056
+ display: flex;
23057
+ flex-direction: column;
23058
+ gap: var(--crewlet-folder-tile-words-gap);
23059
+ min-width: 0;
23060
+ max-width: 100%;
23061
+ }
23062
+
23063
+ .crewlet-folder-tile__name {
23064
+ overflow: hidden;
23065
+ color: var(--color-text-primary);
23066
+ font-size: var(--crewlet-folder-tile-name);
23067
+ font-weight: var(--font-weight-medium);
23068
+ line-height: 1.35;
23069
+ text-overflow: ellipsis;
23070
+ white-space: nowrap;
23071
+ }
23072
+
23073
+ /*
23074
+ * THE FACTS ARE ONE RUN, WRAPPED AND NEVER CUT. "Everyone · 12 artifacts · 2
23075
+ * folders" is the card's run: each fact after the first opens with the card's
23076
+ * quiet dot. Four tiles across a laptop's page have no room for "Only you ·
23077
+ * Nothing you can open yet" on one line, so the run breaks between who can
23078
+ * see the folder and what is inside rather than losing its end to an
23079
+ * ellipsis, and the count moves as one.
23080
+ *
23081
+ * A LINE NEVER OPENS ON A DOT. Every fact carries its dot in the separator's
23082
+ * width before it, and the run is drawn that width to the left of the facts'
23083
+ * own edge, which clips the overhang: the first fact of every line, the very
23084
+ * first and any the run broke onto a new line, lays its dot in the clipped
23085
+ * strip. The clip is horizontal only, so nothing above or below is cut.
23086
+ *
23087
+ * ONE QUIET INK for the run: who can see the folder takes the facts' tertiary
23088
+ * step rather than the access label's stronger word, so the line reads as one
23089
+ * calm caption beside the name, as a card's facts do.
23090
+ */
23091
+ .crewlet-folder-tile__facts {
23092
+ display: block;
23093
+ min-width: 0;
23094
+ overflow-x: clip;
23095
+ color: var(--color-text-tertiary);
23096
+ font-size: var(--crewlet-folder-tile-facts);
23097
+ line-height: 1.35;
23098
+ }
23099
+
23100
+ .crewlet-folder-tile__run {
23101
+ display: flex;
23102
+ flex-wrap: wrap;
23103
+ align-items: center;
23104
+ row-gap: 2px;
23105
+ min-width: 0;
23106
+ margin-inline-start: calc(-1 * var(--crewlet-folder-tile-separator));
23107
+ }
23108
+
23109
+ .crewlet-folder-tile__fact {
23110
+ position: relative;
23111
+ display: block;
23112
+ min-width: 0;
23113
+ max-width: 100%;
23114
+ padding-inline-start: var(--crewlet-folder-tile-separator);
23115
+ overflow-wrap: anywhere;
23116
+ }
23117
+
23118
+ .crewlet-folder-tile__fact::before {
23119
+ position: absolute;
23120
+ inset-inline-start: 0;
23121
+ width: var(--crewlet-folder-tile-separator);
23122
+ text-align: center;
23123
+ }
23124
+
23125
+ .crewlet-folder-tile__fact::before,
23126
+ .crewlet-folder-tile__count-dot::before {
23127
+ content: '·';
23128
+ content: '·' / '';
23129
+ }
23130
+
23131
+ /*
23132
+ * INSIDE THE COUNT the same dot in the same width, carried at the end of the
23133
+ * part before it. Each part is one piece on the line, so "3 artifacts · 3
23134
+ * folders" moves to its own line as one fact, a count too long even for that
23135
+ * breaks only after a dot, and a part wraps within itself only when it alone
23136
+ * is wider than the tile.
23137
+ */
23138
+ .crewlet-folder-tile__count-part {
23139
+ display: inline-block;
23140
+ max-width: 100%;
23141
+ }
23142
+
23143
+ .crewlet-folder-tile__count-dot {
23144
+ display: inline;
23145
+ padding-inline: calc((var(--crewlet-folder-tile-separator) - 0.3em) / 2);
23146
+ }
23147
+
23148
+ .crewlet-folder-tile__visibility {
23149
+ display: flex;
23150
+ align-items: center;
23151
+ }
23152
+
23153
+ .crewlet-folder-tile__visibility > .crewlet-artifact-access {
23154
+ color: inherit;
23155
+ }
23156
+
23157
+ /*
23158
+ * ON A ROW, WHO CAN SEE IT IS ITS GLYPH, as a gallery card's facts draw an
23159
+ * artifact's access: a phone's row has room for one line of facts, and "Only
23160
+ * you · Nothing you can open yet" beside a glyph and a menu broke onto a
23161
+ * second, leaving rows of two heights. The word is still there, hidden from
23162
+ * the eye only (the package's visually hidden recipe, switched by the shape),
23163
+ * so the tile's description keeps saying "Everyone", and the label's title
23164
+ * names it under the pointer.
23165
+ */
23166
+ .crewlet-folder-tile__visibility .crewlet-artifact-access__word {
23167
+ position: var(--crewlet-folder-tile-word-position);
23168
+ width: var(--crewlet-folder-tile-word-size);
23169
+ height: var(--crewlet-folder-tile-word-size);
23170
+ clip-path: var(--crewlet-folder-tile-word-clip);
23171
+ }
23172
+
23173
+ /*
23174
+ * THE TILE'S OWN CONTROLS, at its trailing edge and outside the link: hidden
23175
+ * until the tile is hovered or holds focus, so a gallery rests as names, and
23176
+ * always there on a screen with no hover or while their menu is open.
23177
+ */
23178
+ .crewlet-folder-tile__actions {
23179
+ position: absolute;
23180
+ top: var(--crewlet-folder-tile-actions-top);
23181
+ right: var(--crewlet-folder-tile-actions-inset);
23182
+ display: inline-flex;
23183
+ gap: var(--spacing-1);
23184
+ transform: translateY(var(--crewlet-folder-tile-actions-shift));
23185
+ opacity: 0;
23186
+ transition: opacity var(--motion-duration-fast) var(--motion-easing-out);
23187
+ }
23188
+
23189
+ .crewlet-folder-tile:hover .crewlet-folder-tile__actions,
23190
+ .crewlet-folder-tile:focus-within .crewlet-folder-tile__actions,
23191
+ .crewlet-folder-tile__actions:has([aria-expanded='true']) {
23192
+ opacity: 1;
23193
+ }
23194
+
23195
+ @media (hover: none) {
23196
+ .crewlet-folder-tile__actions {
23197
+ opacity: 1;
23198
+ }
23199
+ }
23200
+
23201
+ @media (prefers-reduced-motion: reduce) {
23202
+ .crewlet-card.crewlet-folder-tile.is-interactive,
23203
+ .crewlet-folder-tile__glyph,
23204
+ .crewlet-folder-tile__actions {
23205
+ transition: none;
23206
+ }
23207
+ }
23208
+
23209
+
23210
+ /* GraphCanvas-UZPZRP6S.css */
23211
+ /*
23212
+ * A layered map on a canvas (GraphCanvas.tsx).
23213
+ *
23214
+ * ONE LOOK, WRITTEN AS THE COMPONENT'S OWN VALUES. The drawing (a fine grid,
23215
+ * outlined boxes with a ruled glyph cell, square corners, mono labels, a
23216
+ * notch for health, right-angled lines) applies inside the map's world only:
23217
+ * clusters, cards, lines, trunks and their labels. The legend, the card
23218
+ * beside an entry and the dock are outside it and keep the kit's own shapes,
23219
+ * radius tokens and type. The one exception is the legend's health key, which
23220
+ * is the notch it explains.
23221
+ *
23222
+ * Every card is one size, set here, so the layout reads it once from a probe
23223
+ * rather than measuring each card. Colour never carries a state alone: health
23224
+ * is a notch and a badge with a glyph, the selection a filled card with a
23225
+ * glow, and an unconfirmed entry a dashed edge.
23226
+ */
23227
+
23228
+ .crewlet-graph-canvas {
23229
+ --crewlet-graph-canvas-card-width: 11rem;
23230
+ --crewlet-graph-canvas-card-height: 2.375rem;
23231
+ --crewlet-graph-canvas-cell: 2.125rem;
23232
+ /* The drawing's corner: square, a hairline's worth of rounding. */
23233
+ --crewlet-graph-canvas-corner: 2px;
23234
+ --crewlet-graph-canvas-notch: 4px;
23235
+ /* The grid: a major line every fifth minor one. */
23236
+ --crewlet-graph-canvas-grid: 24px;
23237
+ --crewlet-graph-canvas-grid-major: 120px;
23238
+ /* What is not on the lit path falls this far back. */
23239
+ --crewlet-graph-canvas-dim: 0.2;
23240
+ --crewlet-graph-canvas-line-dim: 0.14;
23241
+ --crewlet-graph-canvas-trunk-dim: 0.25;
23242
+ /* The laser: the lit line's width and glow, and the dashes that run along it. */
23243
+ --crewlet-graph-canvas-lit-width: 1.75;
23244
+ --crewlet-graph-canvas-lit-glow: 4px;
23245
+ --crewlet-graph-canvas-flow-dash: 9 27;
23246
+ --crewlet-graph-canvas-flow-period: 36;
23247
+ --crewlet-graph-canvas-flow-width: 2;
23248
+ --crewlet-graph-canvas-flow-lit-width: 3;
23249
+ --crewlet-graph-canvas-flow-glow: 1.5px;
23250
+ --crewlet-graph-canvas-flow-duration: 1.6s;
23251
+ --crewlet-graph-canvas-flow-lit-duration: 0.9s;
23252
+ --crewlet-graph-canvas-selected-glow: 18px;
23253
+ --crewlet-graph-canvas-popup-width: 18rem;
23254
+ position: relative;
23255
+ display: flex;
23256
+ flex-direction: column;
23257
+ height: 100%;
23258
+ min-height: 0;
23259
+ container-type: inline-size;
23260
+ }
23261
+
23262
+ /*
23263
+ * THE GROUND IS THE MAP'S: the grid in two weights over a wash of the accent
23264
+ * from the top, on the frame's own colour. It is drawn on the canvas's frame,
23265
+ * so it stays put while the world moves over it.
23266
+ */
23267
+ .crewlet-graph-canvas > .crewlet-canvas {
23268
+ flex: 1;
23269
+ border-radius: var(--radius-xl);
23270
+ background:
23271
+ linear-gradient(var(--color-map-grid-major) 1px, transparent 1px) -1px -1px / var(--crewlet-graph-canvas-grid-major)
23272
+ var(--crewlet-graph-canvas-grid-major),
23273
+ linear-gradient(90deg, var(--color-map-grid-major) 1px, transparent 1px) -1px -1px /
23274
+ var(--crewlet-graph-canvas-grid-major) var(--crewlet-graph-canvas-grid-major),
23275
+ linear-gradient(var(--color-map-grid-minor) 1px, transparent 1px) -1px -1px / var(--crewlet-graph-canvas-grid)
23276
+ var(--crewlet-graph-canvas-grid),
23277
+ linear-gradient(90deg, var(--color-map-grid-minor) 1px, transparent 1px) -1px -1px /
23278
+ var(--crewlet-graph-canvas-grid) var(--crewlet-graph-canvas-grid),
23279
+ radial-gradient(90% 70% at 50% 0%, var(--color-brand-accent-soft), transparent 70%),
23280
+ var(--color-surface-frame);
23281
+ }
23282
+
23283
+ /* A fullscreen map fills the screen on the frame's colour, with no corner to round. */
23284
+ .crewlet-graph-canvas:fullscreen {
23285
+ background: var(--color-surface-frame);
23286
+ }
23287
+
23288
+ .crewlet-graph-canvas:fullscreen > .crewlet-canvas {
23289
+ border-radius: var(--radius-none);
23290
+ }
23291
+
23292
+ .crewlet-graph-canvas__world {
23293
+ position: relative;
23294
+ }
23295
+
23296
+ .crewlet-graph-canvas__ground,
23297
+ .crewlet-graph-canvas__edges,
23298
+ .crewlet-graph-canvas__shapes,
23299
+ .crewlet-graph-canvas__card,
23300
+ .crewlet-graph-canvas__head,
23301
+ .crewlet-graph-canvas__empty,
23302
+ .crewlet-graph-canvas__empty-probe,
23303
+ .crewlet-graph-canvas__lane-head,
23304
+ .crewlet-graph-canvas__band-title,
23305
+ .crewlet-graph-canvas__trunk-label,
23306
+ .crewlet-graph-canvas__probe {
23307
+ position: absolute;
23308
+ top: 0;
23309
+ left: 0;
23310
+ }
23311
+
23312
+ .crewlet-graph-canvas__ground,
23313
+ .crewlet-graph-canvas__edges,
23314
+ .crewlet-graph-canvas__shapes {
23315
+ overflow: visible;
23316
+ pointer-events: none;
23317
+ }
23318
+
23319
+ /* ── the probes the layout reads its sizes from ────────────────────────── */
23320
+
23321
+ .crewlet-graph-canvas__probe,
23322
+ .crewlet-graph-canvas__empty-probe {
23323
+ visibility: hidden;
23324
+ pointer-events: none;
23325
+ }
23326
+
23327
+ /* The channel between columns, where upright runs stand, and the gap between rows, where level ones do. */
23328
+ .crewlet-graph-canvas__gap {
23329
+ width: var(--spacing-7);
23330
+ height: var(--spacing-3);
23331
+ }
23332
+
23333
+ /* A cluster's padding past its cards, and the room round the map and between bands. */
23334
+ .crewlet-graph-canvas__pad {
23335
+ width: var(--spacing-3);
23336
+ height: var(--spacing-7);
23337
+ }
23338
+
23339
+ .crewlet-graph-canvas__empty-probe {
23340
+ width: var(--crewlet-graph-canvas-card-width);
23341
+ }
23342
+
23343
+ /* ── clusters and bands ────────────────────────────────────────────────── */
23344
+
23345
+ /* A cluster is a see-through pane inside an outline, so the grid shows through it and never through a card. */
23346
+ .crewlet-graph-canvas__lane {
23347
+ fill: var(--color-map-pane);
23348
+ stroke: var(--color-map-outline);
23349
+ stroke-width: 1;
23350
+ rx: var(--crewlet-graph-canvas-corner);
23351
+ }
23352
+
23353
+ /* The room above a cluster's first row. Its title is set into the outline, as a drawing names a part. */
23354
+ .crewlet-graph-canvas__lane-head {
23355
+ box-sizing: border-box;
23356
+ height: var(--spacing-5);
23357
+ pointer-events: none;
23358
+ }
23359
+
23360
+ .crewlet-graph-canvas__lane-title {
23361
+ position: absolute;
23362
+ top: 0;
23363
+ left: calc(var(--spacing-2) - var(--spacing-3));
23364
+ display: flex;
23365
+ align-items: center;
23366
+ gap: var(--spacing-2);
23367
+ max-width: 100%;
23368
+ padding: 0 var(--spacing-2);
23369
+ /* The ground's own colour cuts the outline. */
23370
+ background: var(--color-surface-frame);
23371
+ font-family: var(--font-family-mono);
23372
+ font-size: var(--font-size-2xs);
23373
+ line-height: var(--font-line-height-snug);
23374
+ white-space: nowrap;
23375
+ transform: translateY(-50%);
23376
+ }
23377
+
23378
+ .crewlet-graph-canvas__lane-label {
23379
+ min-width: 0;
23380
+ overflow: hidden;
23381
+ text-overflow: ellipsis;
23382
+ font-weight: var(--font-weight-semibold);
23383
+ letter-spacing: var(--font-letter-spacing-wide);
23384
+ text-transform: uppercase;
23385
+ color: var(--color-text-primary);
23386
+ }
23387
+
23388
+ .crewlet-graph-canvas__lane-count,
23389
+ .crewlet-graph-canvas__group-count {
23390
+ color: var(--color-text-tertiary);
23391
+ font-variant-numeric: tabular-nums;
23392
+ }
23393
+
23394
+ .crewlet-graph-canvas__lane-count::before,
23395
+ .crewlet-graph-canvas__group-count::before {
23396
+ content: '\00d7';
23397
+ }
23398
+
23399
+ /* How many inside need a person, in the tone's ink on its soft fill, after a mark that is not colour alone. */
23400
+ .crewlet-graph-canvas__lane-tone {
23401
+ display: inline-flex;
23402
+ align-items: center;
23403
+ gap: var(--spacing-1);
23404
+ padding: 0 var(--spacing-1);
23405
+ border-radius: var(--crewlet-graph-canvas-corner);
23406
+ font-weight: var(--font-weight-semibold);
23407
+ font-variant-numeric: tabular-nums;
23408
+ }
23409
+
23410
+ .crewlet-graph-canvas__lane-tone::before {
23411
+ content: '';
23412
+ width: var(--crewlet-graph-canvas-notch);
23413
+ height: 0.75em;
23414
+ background: currentColor;
23415
+ }
23416
+
23417
+ .crewlet-graph-canvas__lane-tone[data-tone='danger'] {
23418
+ background: var(--color-feedback-danger-soft);
23419
+ color: var(--color-feedback-danger-ink);
23420
+ }
23421
+
23422
+ .crewlet-graph-canvas__lane-tone[data-tone='warning'] {
23423
+ background: var(--color-feedback-warning-soft);
23424
+ color: var(--color-feedback-warning-ink);
23425
+ }
23426
+
23427
+ .crewlet-graph-canvas__lane-tone[data-tone='info'] {
23428
+ background: var(--color-feedback-info-soft);
23429
+ color: var(--color-feedback-info-ink);
23430
+ }
23431
+
23432
+ .crewlet-graph-canvas__band-title {
23433
+ box-sizing: border-box;
23434
+ display: flex;
23435
+ align-items: flex-end;
23436
+ padding: var(--spacing-3) 0 var(--spacing-3);
23437
+ font-family: var(--font-family-mono);
23438
+ font-size: var(--font-size-2xs);
23439
+ font-weight: var(--font-weight-semibold);
23440
+ line-height: var(--font-line-height-snug);
23441
+ letter-spacing: var(--font-letter-spacing-wide);
23442
+ text-transform: uppercase;
23443
+ color: var(--color-text-secondary);
23444
+ white-space: nowrap;
23445
+ pointer-events: none;
23446
+ }
23447
+
23448
+ /* ── groups ──────────────────────────────────────────────────────────────── */
23449
+
23450
+ /* A dashed outline: a card's own edge is solid, and a grouping is not a thing. */
23451
+ .crewlet-graph-canvas__group {
23452
+ fill: none;
23453
+ stroke: var(--color-map-hairline);
23454
+ stroke-dasharray: 4 3;
23455
+ rx: var(--crewlet-graph-canvas-corner);
23456
+ }
23457
+
23458
+ .crewlet-graph-canvas__head {
23459
+ box-sizing: border-box;
23460
+ display: flex;
23461
+ align-items: center;
23462
+ gap: var(--spacing-2);
23463
+ padding: 0 var(--spacing-2);
23464
+ font-family: var(--font-family-mono);
23465
+ font-size: var(--font-size-2xs);
23466
+ line-height: var(--font-line-height-snug);
23467
+ color: var(--color-text-secondary);
23468
+ border-radius: var(--crewlet-graph-canvas-corner);
23469
+ cursor: pointer;
23470
+ outline: none;
23471
+ }
23472
+
23473
+ .crewlet-graph-canvas__head:hover {
23474
+ color: var(--color-text-primary);
23475
+ }
23476
+
23477
+ .crewlet-graph-canvas__head:focus-visible {
23478
+ outline: 2px solid var(--color-focus);
23479
+ outline-offset: var(--size-focus-ring-inset-offset);
23480
+ }
23481
+
23482
+ .crewlet-graph-canvas__lead {
23483
+ display: inline-flex;
23484
+ flex: none;
23485
+ }
23486
+
23487
+ .crewlet-graph-canvas__group-label {
23488
+ min-width: 0;
23489
+ font-weight: var(--font-weight-medium);
23490
+ }
23491
+
23492
+ .crewlet-graph-canvas__chevron {
23493
+ flex: none;
23494
+ color: var(--color-text-tertiary);
23495
+ }
23496
+
23497
+ /* ── cards ───────────────────────────────────────────────────────────────── */
23498
+
23499
+ /*
23500
+ * An outlined box on the ground's own colour: opaque, so no grid line and no
23501
+ * edge shows through a card and a name never sits on a line.
23502
+ */
23503
+ .crewlet-graph-canvas__card {
23504
+ box-sizing: border-box;
23505
+ width: var(--crewlet-graph-canvas-card-width);
23506
+ height: var(--crewlet-graph-canvas-card-height);
23507
+ display: flex;
23508
+ align-items: center;
23509
+ gap: var(--spacing-2);
23510
+ padding: 0 var(--spacing-2) 0 0;
23511
+ background: var(--color-surface-frame);
23512
+ border: 1px solid var(--color-map-hairline);
23513
+ border-radius: var(--crewlet-graph-canvas-corner);
23514
+ color: var(--color-text-primary);
23515
+ cursor: pointer;
23516
+ outline: none;
23517
+ transition:
23518
+ opacity var(--motion-duration-base) var(--motion-easing-default),
23519
+ border-color var(--motion-duration-fast) var(--motion-easing-default),
23520
+ box-shadow var(--motion-duration-fast) var(--motion-easing-default);
23521
+ }
23522
+
23523
+ .crewlet-graph-canvas__card:hover,
23524
+ .crewlet-graph-canvas__card[data-state='lit'] {
23525
+ border-color: var(--color-brand-accent);
23526
+ }
23527
+
23528
+ /* The ring is drawn over the card's own edge, never beside it. */
23529
+ .crewlet-graph-canvas__card:focus-visible {
23530
+ outline: 2px solid var(--color-focus);
23531
+ outline-offset: var(--size-focus-ring-inset-offset);
23532
+ }
23533
+
23534
+ /*
23535
+ * HEALTH IS A NOTCH: a thick tick on the leading edge in the tone, with its
23536
+ * badge. It is drawn over the glyph's cell, which would cover a shadow.
23537
+ */
23538
+ .crewlet-graph-canvas__card[data-attention='danger'] {
23539
+ --crewlet-graph-canvas-tone: var(--color-feedback-danger);
23540
+ }
23541
+
23542
+ .crewlet-graph-canvas__card[data-attention='warning'] {
23543
+ --crewlet-graph-canvas-tone: var(--color-feedback-warning);
23544
+ }
23545
+
23546
+ .crewlet-graph-canvas__card[data-attention='info'] {
23547
+ --crewlet-graph-canvas-tone: var(--color-feedback-info);
23548
+ }
23549
+
23550
+ .crewlet-graph-canvas__card[data-attention]::after {
23551
+ content: '';
23552
+ position: absolute;
23553
+ top: -1px;
23554
+ bottom: -1px;
23555
+ left: -1px;
23556
+ z-index: 1;
23557
+ width: var(--crewlet-graph-canvas-notch);
23558
+ border-radius: var(--crewlet-graph-canvas-corner) 0 0 var(--crewlet-graph-canvas-corner);
23559
+ background: var(--crewlet-graph-canvas-tone);
23560
+ }
23561
+
23562
+ /*
23563
+ * The selection is where the reader is: the accent's edge, its soft fill and
23564
+ * a glow. The soft fill is see-through, so it is laid on the ground's colour.
23565
+ */
23566
+ .crewlet-graph-canvas__card[data-selected] {
23567
+ border-color: var(--color-brand-accent);
23568
+ background:
23569
+ linear-gradient(var(--color-brand-accent-soft), var(--color-brand-accent-soft)), var(--color-surface-frame);
23570
+ box-shadow: 0 0 var(--crewlet-graph-canvas-selected-glow) var(--color-map-selected-glow);
23571
+ }
23572
+
23573
+ /* Not confirmed by anyone the map trusts: the edge is dashed, the same device a grouping uses. */
23574
+ .crewlet-graph-canvas__card[data-unconfirmed] {
23575
+ border-style: dashed;
23576
+ }
23577
+
23578
+ /* Pushed back: what is not on the lit path recedes, whole. */
23579
+ .crewlet-graph-canvas__card[data-state='dim'],
23580
+ .crewlet-graph-canvas__head[data-state='dim'] {
23581
+ opacity: var(--crewlet-graph-canvas-dim);
23582
+ }
23583
+
23584
+ /* THE GLYPH STANDS IN A CELL OF ITS OWN, ruled off from the name. */
23585
+ .crewlet-graph-canvas__cell {
23586
+ position: relative;
23587
+ flex: none;
23588
+ align-self: stretch;
23589
+ display: grid;
23590
+ place-items: center;
23591
+ width: var(--crewlet-graph-canvas-cell);
23592
+ border-right: 1px solid var(--color-map-hairline);
23593
+ background: var(--color-surface-background);
23594
+ color: var(--color-text-secondary);
23595
+ font-size: var(--font-size-md);
23596
+ }
23597
+
23598
+ .crewlet-graph-canvas__card[data-unconfirmed] .crewlet-graph-canvas__cell {
23599
+ border-right-style: dashed;
23600
+ }
23601
+
23602
+ /* A vendor's mark on the cell's lower corner. */
23603
+ .crewlet-graph-canvas__mark {
23604
+ position: absolute;
23605
+ right: -1px;
23606
+ bottom: -1px;
23607
+ display: grid;
23608
+ place-items: center;
23609
+ width: var(--font-size-xs);
23610
+ height: var(--font-size-xs);
23611
+ color: var(--color-text-primary);
23612
+ font-size: var(--font-size-badge);
23613
+ }
23614
+
23615
+ /* The badge says the tone again with a glyph, on the card's top corner. */
23616
+ .crewlet-graph-canvas__badge {
23617
+ position: absolute;
23618
+ top: calc(var(--spacing-2) * -0.75);
23619
+ left: calc(var(--crewlet-graph-canvas-cell) - var(--spacing-2));
23620
+ display: grid;
23621
+ place-items: center;
23622
+ width: var(--spacing-4);
23623
+ height: var(--spacing-4);
23624
+ border-radius: var(--crewlet-graph-canvas-corner);
23625
+ z-index: 1;
23626
+ background: var(--crewlet-graph-canvas-tone);
23627
+ color: var(--color-surface-frame);
23628
+ font-size: var(--font-size-badge);
23629
+ }
23630
+
23631
+ .crewlet-graph-canvas__name {
23632
+ flex: 1;
23633
+ min-width: 0;
23634
+ font-size: var(--font-size-compact);
23635
+ font-weight: var(--font-weight-medium);
23636
+ line-height: var(--font-line-height-snug);
23637
+ }
23638
+
23639
+ .crewlet-graph-canvas__card--group .crewlet-graph-canvas__group-count {
23640
+ font-family: var(--font-family-mono);
23641
+ font-size: var(--font-size-2xs);
23642
+ }
23643
+
23644
+ /* ── empty lanes ────────────────────────────────────────────────────────── */
23645
+
23646
+ .crewlet-graph-canvas__empty,
23647
+ .crewlet-graph-canvas__empty-probe {
23648
+ box-sizing: border-box;
23649
+ padding: var(--spacing-3);
23650
+ font-size: var(--font-size-xs);
23651
+ line-height: var(--font-line-height-normal);
23652
+ color: var(--color-text-secondary);
23653
+ overflow-wrap: anywhere;
23654
+ }
23655
+
23656
+ .crewlet-graph-canvas__empty {
23657
+ display: flex;
23658
+ flex-direction: column;
23659
+ align-items: flex-start;
23660
+ gap: var(--spacing-2);
23661
+ border: 1px dashed var(--color-map-hairline);
23662
+ border-radius: var(--crewlet-graph-canvas-corner);
23663
+ outline: none;
23664
+ }
23665
+
23666
+ .crewlet-graph-canvas__empty-probe {
23667
+ display: flex;
23668
+ flex-direction: column;
23669
+ gap: var(--spacing-2);
23670
+ }
23671
+
23672
+ .crewlet-graph-canvas__empty:focus-visible {
23673
+ outline: 2px solid var(--color-focus);
23674
+ outline-offset: var(--size-focus-ring-inset-offset);
23675
+ }
23676
+
23677
+ /* ── edges ───────────────────────────────────────────────────────────────── */
23678
+
23679
+ .crewlet-graph-canvas__edge-layer {
23680
+ transition: opacity var(--motion-duration-base) var(--motion-easing-default);
23681
+ }
23682
+
23683
+ /* A call: a hairline with a small solid head. */
23684
+ .crewlet-graph-canvas__edge {
23685
+ fill: none;
23686
+ stroke: var(--color-map-hairline);
23687
+ stroke-width: 1;
23688
+ stroke-linecap: round;
23689
+ stroke-linejoin: round;
23690
+ }
23691
+
23692
+ .crewlet-graph-canvas__arrow {
23693
+ fill: var(--color-map-hairline);
23694
+ stroke: none;
23695
+ }
23696
+
23697
+ /* What something runs on: quieter, and dashed, so the family is not told by colour. */
23698
+ .crewlet-graph-canvas__edge-layer[data-family='support'] .crewlet-graph-canvas__edge {
23699
+ stroke: var(--color-map-support);
23700
+ stroke-dasharray: 5 3;
23701
+ }
23702
+
23703
+ .crewlet-graph-canvas__edge-layer[data-family='support'] .crewlet-graph-canvas__arrow {
23704
+ fill: var(--color-map-support);
23705
+ }
23706
+
23707
+ /* What stands around: the quietest. */
23708
+ .crewlet-graph-canvas__edge-layer[data-family='context'] .crewlet-graph-canvas__edge {
23709
+ stroke: var(--color-map-context);
23710
+ }
23711
+
23712
+ .crewlet-graph-canvas__edge-layer[data-family='context'] .crewlet-graph-canvas__arrow {
23713
+ fill: var(--color-map-context);
23714
+ }
23715
+
23716
+ .crewlet-graph-canvas__edge-layer[data-state='dim'] {
23717
+ opacity: var(--crewlet-graph-canvas-line-dim);
23718
+ }
23719
+
23720
+ /* THE LIT PATH: the accent, a little heavier, under a glow. */
23721
+ .crewlet-graph-canvas__edge-layer[data-state='lit'] .crewlet-graph-canvas__edge {
23722
+ stroke: var(--color-brand-accent);
23723
+ stroke-width: var(--crewlet-graph-canvas-lit-width);
23724
+ filter: drop-shadow(0 0 var(--crewlet-graph-canvas-lit-glow) var(--color-brand-accent));
23725
+ }
23726
+
23727
+ .crewlet-graph-canvas__edge-layer[data-state='lit'] .crewlet-graph-canvas__arrow {
23728
+ fill: var(--color-brand-accent);
23729
+ }
23730
+
23731
+ .crewlet-graph-canvas__edge-layer[data-state='lit'][data-family='context'] .crewlet-graph-canvas__edge {
23732
+ stroke: var(--color-map-context-lit);
23733
+ stroke-width: 1.25;
23734
+ filter: none;
23735
+ }
23736
+
23737
+ .crewlet-graph-canvas__edge-layer[data-state='lit'][data-family='context'] .crewlet-graph-canvas__arrow {
23738
+ fill: var(--color-map-context-lit);
23739
+ }
23740
+
23741
+ /* THE RUN OF DASHES says which way a line points. It is direction, never volume. */
23742
+ .crewlet-graph-canvas__flow {
23743
+ fill: none;
23744
+ stroke: var(--color-brand-accent);
23745
+ stroke-width: var(--crewlet-graph-canvas-flow-width);
23746
+ stroke-linecap: round;
23747
+ stroke-dasharray: var(--crewlet-graph-canvas-flow-dash);
23748
+ opacity: 0.95;
23749
+ filter: drop-shadow(0 0 var(--crewlet-graph-canvas-flow-glow) var(--color-map-flow-glow));
23750
+ animation: crewlet-graph-canvas-flow var(--crewlet-graph-canvas-flow-duration) linear infinite;
23751
+ }
23752
+
23753
+ .crewlet-graph-canvas__edge-layer[data-state='lit'] .crewlet-graph-canvas__flow {
23754
+ stroke: var(--color-brand-highlight);
23755
+ stroke-width: var(--crewlet-graph-canvas-flow-lit-width);
23756
+ opacity: 1;
23757
+ animation: crewlet-graph-canvas-flow var(--crewlet-graph-canvas-flow-lit-duration) linear infinite;
23758
+ }
23759
+
23760
+ /* Too many calls in view to follow: the dashes at rest stand still, and the lit path still moves. */
23761
+ .crewlet-graph-canvas[data-still] .crewlet-graph-canvas__edge-layer[data-state='rest'] .crewlet-graph-canvas__flow {
23762
+ filter: none;
23763
+ animation: none;
23764
+ }
23765
+
23766
+ @keyframes crewlet-graph-canvas-flow {
23767
+ from {
23768
+ stroke-dashoffset: var(--crewlet-graph-canvas-flow-period);
23769
+ }
23770
+
23771
+ to {
23772
+ stroke-dashoffset: 0;
23773
+ }
23774
+ }
23775
+
23776
+ /* A TRUNK: every "runs on" between two clusters as one dashed line, with its count. */
23777
+ .crewlet-graph-canvas__trunk {
23778
+ fill: none;
23779
+ stroke: var(--color-map-outline);
23780
+ stroke-width: 1;
23781
+ stroke-dasharray: 7 4;
23782
+ transition: opacity var(--motion-duration-base) var(--motion-easing-default);
23783
+ }
23784
+
23785
+ .crewlet-graph-canvas__trunk-label {
23786
+ padding: 0 var(--spacing-2);
23787
+ border: 1px solid var(--color-map-outline);
23788
+ border-radius: var(--crewlet-graph-canvas-corner);
23789
+ background: var(--color-surface-frame);
23790
+ color: var(--color-text-secondary);
23791
+ font-family: var(--font-family-mono);
23792
+ font-size: var(--font-size-2xs);
23793
+ line-height: var(--font-line-height-normal);
23794
+ white-space: nowrap;
23795
+ pointer-events: none;
23796
+ transition: opacity var(--motion-duration-base) var(--motion-easing-default);
23797
+ }
23798
+
23799
+ .crewlet-graph-canvas[data-focus] .crewlet-graph-canvas__trunk,
23800
+ .crewlet-graph-canvas[data-focus] .crewlet-graph-canvas__trunk-label {
23801
+ opacity: var(--crewlet-graph-canvas-trunk-dim);
23802
+ }
23803
+
23804
+ /* ── cards as shapes, zoomed out past reading ─────────────────────────────── */
23805
+
23806
+ .crewlet-graph-canvas__shapes path {
23807
+ stroke-width: 1;
23808
+ }
23809
+
23810
+ .crewlet-graph-canvas__shapes [data-shape='card'] {
23811
+ fill: var(--color-surface-frame);
23812
+ stroke: var(--color-map-hairline);
23813
+ }
23814
+
23815
+ .crewlet-graph-canvas__shapes [data-shape='faded'] {
23816
+ fill: var(--color-surface-frame);
23817
+ stroke: var(--color-map-hairline);
23818
+ opacity: var(--crewlet-graph-canvas-dim);
23819
+ }
23820
+
23821
+ .crewlet-graph-canvas__shapes [data-shape='dashed'] {
23822
+ fill: var(--color-surface-frame);
23823
+ stroke: var(--color-map-hairline);
23824
+ stroke-dasharray: 4 3;
23825
+ }
23826
+
23827
+ .crewlet-graph-canvas__shapes [data-shape='selected'] {
23828
+ fill: var(--color-brand-accent-soft);
23829
+ stroke: var(--color-brand-accent);
23830
+ stroke-width: 3;
23831
+ }
23832
+
23833
+ .crewlet-graph-canvas__shapes [data-shape='danger'] {
23834
+ fill: var(--color-feedback-danger);
23835
+ stroke: none;
23836
+ }
23837
+
23838
+ .crewlet-graph-canvas__shapes [data-shape='warning'] {
23839
+ fill: var(--color-feedback-warning);
23840
+ stroke: none;
23841
+ }
23842
+
23843
+ .crewlet-graph-canvas__shapes [data-shape='info'] {
23844
+ fill: var(--color-feedback-info);
23845
+ stroke: none;
23846
+ }
23847
+
23848
+ /* ── outside the world: the legend, the card beside an entry, the dock ───── */
23849
+
23850
+ .crewlet-graph-canvas__legend {
23851
+ display: flex;
23852
+ flex-wrap: wrap;
23853
+ align-items: center;
23854
+ gap: var(--spacing-1) var(--spacing-3);
23855
+ padding: 0 0 0 var(--spacing-2);
23856
+ color: var(--color-text-secondary);
23857
+ font-size: var(--font-size-2xs);
22936
23858
  }
22937
23859
 
22938
- /*
22939
- * A NEUTRAL TINT, never a kind's: a folder is not a kind. Its hairline steps
22940
- * up with the tile's under the pointer, as a folder's mark does on a list
22941
- * row, so the one drawn thing on the tile answers too.
22942
- */
22943
- .crewlet-folder-tile__glyph {
23860
+ .crewlet-graph-canvas__key {
22944
23861
  display: inline-flex;
22945
- flex: none;
22946
23862
  align-items: center;
22947
- justify-content: center;
22948
- width: var(--crewlet-folder-tile-glyph);
22949
- height: var(--crewlet-folder-tile-glyph);
22950
- box-sizing: border-box;
22951
- border-radius: var(--crewlet-folder-tile-glyph-radius);
22952
- background: var(--color-surface-inset);
22953
- box-shadow: inset 0 0 0 1px var(--color-border-default);
22954
- color: var(--color-text-secondary);
22955
- transition: box-shadow var(--motion-duration-fast) var(--motion-easing-out);
23863
+ gap: var(--spacing-1);
23864
+ white-space: nowrap;
22956
23865
  }
22957
23866
 
22958
- .crewlet-folder-tile:hover .crewlet-folder-tile__glyph {
22959
- box-shadow: inset 0 0 0 1px var(--color-border-hover);
23867
+ /* The key is the notch it explains. */
23868
+ .crewlet-graph-canvas__key-notch {
23869
+ width: var(--crewlet-graph-canvas-notch);
23870
+ height: 0.6875rem;
23871
+ background: var(--color-map-hairline);
22960
23872
  }
22961
23873
 
22962
- /* The glyph is drawn at the shape's size, whatever size the markup asks. */
22963
- .crewlet-folder-tile__glyph > svg {
22964
- width: var(--crewlet-folder-tile-glyph-icon);
22965
- height: var(--crewlet-folder-tile-glyph-icon);
23874
+ .crewlet-graph-canvas__key-notch[data-tone='danger'] {
23875
+ background: var(--color-feedback-danger);
22966
23876
  }
22967
23877
 
22968
- .crewlet-folder-tile__body {
22969
- display: flex;
22970
- flex-direction: column;
22971
- gap: var(--crewlet-folder-tile-words-gap);
22972
- min-width: 0;
22973
- max-width: 100%;
23878
+ .crewlet-graph-canvas__key-notch[data-tone='warning'] {
23879
+ background: var(--color-feedback-warning);
22974
23880
  }
22975
23881
 
22976
- .crewlet-folder-tile__name {
22977
- overflow: hidden;
22978
- color: var(--color-text-primary);
22979
- font-size: var(--crewlet-folder-tile-name);
22980
- font-weight: var(--font-weight-medium);
22981
- line-height: 1.35;
22982
- text-overflow: ellipsis;
22983
- white-space: nowrap;
23882
+ .crewlet-graph-canvas__key-notch[data-tone='info'] {
23883
+ background: var(--color-feedback-info);
22984
23884
  }
22985
23885
 
22986
- /*
22987
- * THE FACTS ARE ONE RUN, WRAPPED AND NEVER CUT. "Everyone · 12 artifacts · 2
22988
- * folders" is the card's run: each fact after the first opens with the card's
22989
- * quiet dot. Four tiles across a laptop's page have no room for "Only you ·
22990
- * Nothing you can open yet" on one line, so the run breaks between who can
22991
- * see the folder and what is inside rather than losing its end to an
22992
- * ellipsis, and the count moves as one.
22993
- *
22994
- * A LINE NEVER OPENS ON A DOT. Every fact carries its dot in the separator's
22995
- * width before it, and the run is drawn that width to the left of the facts'
22996
- * own edge, which clips the overhang: the first fact of every line, the very
22997
- * first and any the run broke onto a new line, lays its dot in the clipped
22998
- * strip. The clip is horizontal only, so nothing above or below is cut.
22999
- *
23000
- * ONE QUIET INK for the run: who can see the folder takes the facts' tertiary
23001
- * step rather than the access label's stronger word, so the line reads as one
23002
- * calm caption beside the name, as a card's facts do.
23003
- */
23004
- .crewlet-folder-tile__facts {
23005
- display: block;
23006
- min-width: 0;
23007
- overflow-x: clip;
23008
- color: var(--color-text-tertiary);
23009
- font-size: var(--crewlet-folder-tile-facts);
23010
- line-height: 1.35;
23886
+ .crewlet-graph-canvas__key-notch[data-unconfirmed] {
23887
+ box-sizing: border-box;
23888
+ width: 0.5625rem;
23889
+ border: 1px dashed var(--color-map-hairline);
23890
+ background: none;
23011
23891
  }
23012
23892
 
23013
- .crewlet-folder-tile__run {
23014
- display: flex;
23015
- flex-wrap: wrap;
23016
- align-items: center;
23017
- row-gap: 2px;
23018
- min-width: 0;
23019
- margin-inline-start: calc(-1 * var(--crewlet-folder-tile-separator));
23893
+ .crewlet-graph-canvas__legend-rule {
23894
+ align-self: stretch;
23895
+ border-left: 1px solid var(--color-border-default);
23020
23896
  }
23021
23897
 
23022
- .crewlet-folder-tile__fact {
23023
- position: relative;
23024
- display: block;
23025
- min-width: 0;
23026
- max-width: 100%;
23027
- padding-inline-start: var(--crewlet-folder-tile-separator);
23028
- overflow-wrap: anywhere;
23898
+ /* Each switch pictures its own line: solid, dashed, fine. */
23899
+ .crewlet-graph-canvas__switch {
23900
+ display: inline-flex;
23901
+ align-items: center;
23902
+ gap: var(--spacing-1);
23029
23903
  }
23030
23904
 
23031
- .crewlet-folder-tile__fact::before {
23032
- position: absolute;
23033
- inset-inline-start: 0;
23034
- width: var(--crewlet-folder-tile-separator);
23035
- text-align: center;
23905
+ .crewlet-graph-canvas__key-line {
23906
+ flex: none;
23907
+ width: 1.375rem;
23908
+ height: 0.5rem;
23909
+ fill: none;
23910
+ stroke: currentColor;
23911
+ stroke-width: 1.5;
23912
+ stroke-linecap: round;
23036
23913
  }
23037
23914
 
23038
- .crewlet-folder-tile__fact::before,
23039
- .crewlet-folder-tile__count-dot::before {
23040
- content: '·';
23041
- content: '·' / '';
23915
+ .crewlet-graph-canvas__key-line[data-family='flow'] {
23916
+ stroke: var(--color-brand-accent);
23042
23917
  }
23043
23918
 
23044
- /*
23045
- * INSIDE THE COUNT the same dot in the same width, carried at the end of the
23046
- * part before it. Each part is one piece on the line, so "3 artifacts · 3
23047
- * folders" moves to its own line as one fact, a count too long even for that
23048
- * breaks only after a dot, and a part wraps within itself only when it alone
23049
- * is wider than the tile.
23050
- */
23051
- .crewlet-folder-tile__count-part {
23052
- display: inline-block;
23053
- max-width: 100%;
23919
+ .crewlet-graph-canvas__key-line[data-family='support'] {
23920
+ stroke-dasharray: 2.5 3.5;
23054
23921
  }
23055
23922
 
23056
- .crewlet-folder-tile__count-dot {
23057
- display: inline;
23058
- padding-inline: calc((var(--crewlet-folder-tile-separator) - 0.3em) / 2);
23923
+ .crewlet-graph-canvas__key-line[data-family='context'] {
23924
+ stroke-width: 1;
23059
23925
  }
23060
23926
 
23061
- .crewlet-folder-tile__visibility {
23062
- display: flex;
23063
- align-items: center;
23927
+ .crewlet-graph-canvas__popup,
23928
+ .crewlet-graph-canvas__dock {
23929
+ position: absolute;
23930
+ border: 1px solid var(--color-border-default);
23931
+ border-radius: var(--radius-lg);
23932
+ background: var(--color-map-chrome);
23933
+ backdrop-filter: blur(var(--blur-md));
23064
23934
  }
23065
23935
 
23066
- .crewlet-folder-tile__visibility > .crewlet-artifact-access {
23067
- color: inherit;
23936
+ /* The card takes no press: it follows the pointer, which is on the entry it describes. */
23937
+ .crewlet-graph-canvas__popup {
23938
+ top: 0;
23939
+ left: 0;
23940
+ box-sizing: border-box;
23941
+ width: var(--crewlet-graph-canvas-popup-width);
23942
+ max-width: calc(100% - var(--spacing-4));
23943
+ padding: var(--spacing-3);
23944
+ pointer-events: none;
23068
23945
  }
23069
23946
 
23070
- /*
23071
- * ON A ROW, WHO CAN SEE IT IS ITS GLYPH, as a gallery card's facts draw an
23072
- * artifact's access: a phone's row has room for one line of facts, and "Only
23073
- * you · Nothing you can open yet" beside a glyph and a menu broke onto a
23074
- * second, leaving rows of two heights. The word is still there, hidden from
23075
- * the eye only (the package's visually hidden recipe, switched by the shape),
23076
- * so the tile's description keeps saying "Everyone", and the label's title
23077
- * names it under the pointer.
23078
- */
23079
- .crewlet-folder-tile__visibility .crewlet-artifact-access__word {
23080
- position: var(--crewlet-folder-tile-word-position);
23081
- width: var(--crewlet-folder-tile-word-size);
23082
- height: var(--crewlet-folder-tile-word-size);
23083
- clip-path: var(--crewlet-folder-tile-word-clip);
23947
+ .crewlet-graph-canvas__dock {
23948
+ bottom: calc(var(--spacing-9) + var(--spacing-2));
23949
+ left: 50%;
23950
+ max-width: min(40rem, calc(100% - var(--spacing-7)));
23951
+ cursor: default;
23952
+ transform: translateX(-50%);
23084
23953
  }
23085
23954
 
23086
23955
  /*
23087
- * THE TILE'S OWN CONTROLS, at its trailing edge and outside the link: hidden
23088
- * until the tile is hovered or holds focus, so a gallery rests as names, and
23089
- * always there on a screen with no hover or while their menu is open.
23956
+ * A NARROW MAP keeps the whole picture: nothing floats over it. The dock and
23957
+ * the legend stand under the canvas, in room the map gives up for them, so
23958
+ * neither ever covers a cluster's title or an entry.
23090
23959
  */
23091
- .crewlet-folder-tile__actions {
23092
- position: absolute;
23093
- top: var(--crewlet-folder-tile-actions-top);
23094
- right: var(--crewlet-folder-tile-actions-inset);
23095
- display: inline-flex;
23096
- gap: var(--spacing-1);
23097
- transform: translateY(var(--crewlet-folder-tile-actions-shift));
23098
- opacity: 0;
23099
- transition: opacity var(--motion-duration-fast) var(--motion-easing-out);
23960
+ .crewlet-graph-canvas__foot {
23961
+ display: grid;
23962
+ flex: none;
23963
+ gap: var(--spacing-2);
23964
+ padding-top: var(--spacing-2);
23100
23965
  }
23101
23966
 
23102
- .crewlet-folder-tile:hover .crewlet-folder-tile__actions,
23103
- .crewlet-folder-tile:focus-within .crewlet-folder-tile__actions,
23104
- .crewlet-folder-tile__actions:has([aria-expanded='true']) {
23105
- opacity: 1;
23967
+ .crewlet-graph-canvas__foot > .crewlet-graph-canvas__dock {
23968
+ position: static;
23969
+ max-width: none;
23970
+ background: var(--color-surface-frame);
23971
+ backdrop-filter: none;
23972
+ transform: none;
23106
23973
  }
23107
23974
 
23108
- @media (hover: none) {
23109
- .crewlet-folder-tile__actions {
23110
- opacity: 1;
23111
- }
23975
+ .crewlet-graph-canvas__foot > .crewlet-graph-canvas__legend {
23976
+ padding: 0;
23112
23977
  }
23113
23978
 
23114
23979
  @media (prefers-reduced-motion: reduce) {
23115
- .crewlet-card.crewlet-folder-tile.is-interactive,
23116
- .crewlet-folder-tile__glyph,
23117
- .crewlet-folder-tile__actions {
23980
+ .crewlet-graph-canvas__card {
23981
+ transition: none;
23982
+ }
23983
+
23984
+ .crewlet-graph-canvas__edge-layer {
23985
+ transition: none;
23986
+ }
23987
+
23988
+ .crewlet-graph-canvas__flow {
23989
+ animation: none;
23990
+ }
23991
+
23992
+ .crewlet-graph-canvas__edge-layer[data-state='lit'] .crewlet-graph-canvas__flow {
23993
+ animation: none;
23994
+ }
23995
+
23996
+ .crewlet-graph-canvas__trunk {
23997
+ transition: none;
23998
+ }
23999
+
24000
+ .crewlet-graph-canvas__trunk-label {
23118
24001
  transition: none;
23119
24002
  }
23120
24003
  }
@@ -23461,7 +24344,7 @@ a.crewlet-icon-btn {
23461
24344
  }
23462
24345
 
23463
24346
 
23464
- /* IconTile-G52XZVR4.css */
24347
+ /* IconTile-6OSCIHYU.css */
23465
24348
  /*
23466
24349
  * IconTile: a glyph on a tinted square. Each hue pairs its fill and its ink
23467
24350
  * from one measured family (`--color-node-*`); left out, the brand accent's
@@ -23472,6 +24355,9 @@ a.crewlet-icon-btn {
23472
24355
  --crewlet-icon-tile-ink: var(--color-brand-accent-ink);
23473
24356
  --crewlet-icon-tile-size: var(--size-row-md);
23474
24357
 
24358
+ --crewlet-icon-tile-line: var(--color-border-default);
24359
+
24360
+ position: relative;
23475
24361
  display: inline-flex;
23476
24362
  flex: none;
23477
24363
  align-items: center;
@@ -23489,12 +24375,88 @@ a.crewlet-icon-btn {
23489
24375
  /* A place or a record rather than a kind: the raised ground, the secondary ink. */
23490
24376
  .crewlet-icon-tile--neutral { --crewlet-icon-tile-fill: var(--color-surface-elevated); --crewlet-icon-tile-ink: var(--color-text-secondary); }
23491
24377
 
23492
- .crewlet-icon-tile--purple { --crewlet-icon-tile-fill: var(--color-node-purple-fill); --crewlet-icon-tile-ink: var(--color-node-purple-ink); }
23493
- .crewlet-icon-tile--cyan { --crewlet-icon-tile-fill: var(--color-node-cyan-fill); --crewlet-icon-tile-ink: var(--color-node-cyan-ink); }
23494
- .crewlet-icon-tile--green { --crewlet-icon-tile-fill: var(--color-node-green-fill); --crewlet-icon-tile-ink: var(--color-node-green-ink); }
23495
- .crewlet-icon-tile--amber { --crewlet-icon-tile-fill: var(--color-node-amber-fill); --crewlet-icon-tile-ink: var(--color-node-amber-ink); }
23496
- .crewlet-icon-tile--rose { --crewlet-icon-tile-fill: var(--color-node-rose-fill); --crewlet-icon-tile-ink: var(--color-node-rose-ink); }
23497
- .crewlet-icon-tile--blue { --crewlet-icon-tile-fill: var(--color-node-blue-fill); --crewlet-icon-tile-ink: var(--color-node-blue-ink); }
24378
+ .crewlet-icon-tile--purple { --crewlet-icon-tile-fill: var(--color-node-purple-fill); --crewlet-icon-tile-ink: var(--color-node-purple-ink); --crewlet-icon-tile-line: var(--color-node-purple-line); }
24379
+ .crewlet-icon-tile--cyan { --crewlet-icon-tile-fill: var(--color-node-cyan-fill); --crewlet-icon-tile-ink: var(--color-node-cyan-ink); --crewlet-icon-tile-line: var(--color-node-cyan-line); }
24380
+ .crewlet-icon-tile--green { --crewlet-icon-tile-fill: var(--color-node-green-fill); --crewlet-icon-tile-ink: var(--color-node-green-ink); --crewlet-icon-tile-line: var(--color-node-green-line); }
24381
+ .crewlet-icon-tile--amber { --crewlet-icon-tile-fill: var(--color-node-amber-fill); --crewlet-icon-tile-ink: var(--color-node-amber-ink); --crewlet-icon-tile-line: var(--color-node-amber-line); }
24382
+ .crewlet-icon-tile--rose { --crewlet-icon-tile-fill: var(--color-node-rose-fill); --crewlet-icon-tile-ink: var(--color-node-rose-ink); --crewlet-icon-tile-line: var(--color-node-rose-line); }
24383
+ .crewlet-icon-tile--blue { --crewlet-icon-tile-fill: var(--color-node-blue-fill); --crewlet-icon-tile-ink: var(--color-node-blue-ink); --crewlet-icon-tile-line: var(--color-node-blue-line); }
24384
+
24385
+ /*
24386
+ * A DISC: one entry of a catalogue. Round, inside a hairline in its hue, on
24387
+ * the sheet under its tint so the tint reads the same on any ground.
24388
+ */
24389
+ .crewlet-icon-tile--disc,
24390
+ .crewlet-icon-tile--disc.crewlet-icon-tile--lg {
24391
+ border-radius: var(--radius-circle);
24392
+ }
24393
+
24394
+ .crewlet-icon-tile--disc {
24395
+ background:
24396
+ linear-gradient(var(--crewlet-icon-tile-fill), var(--crewlet-icon-tile-fill)), var(--color-surface-background);
24397
+ box-shadow: inset 0 0 0 1.5px var(--crewlet-icon-tile-line);
24398
+ }
24399
+
24400
+ /* Not confirmed yet: the edge is dashed. */
24401
+ .crewlet-icon-tile[data-dashed] {
24402
+ box-shadow: none;
24403
+ outline: 1.5px dashed var(--color-border-strong);
24404
+ outline-offset: -1.5px;
24405
+ }
24406
+
24407
+ /*
24408
+ * NEEDS A PERSON: a ring in the tone inside a soft one, and a badge with a
24409
+ * glyph, so the tone is never colour alone. The word is beside the tile.
24410
+ */
24411
+ .crewlet-icon-tile[data-status='danger'] {
24412
+ --crewlet-icon-tile-status: var(--color-feedback-danger);
24413
+ --crewlet-icon-tile-status-soft: var(--color-feedback-danger-soft);
24414
+ }
24415
+
24416
+ .crewlet-icon-tile[data-status='warning'] {
24417
+ --crewlet-icon-tile-status: var(--color-feedback-warning);
24418
+ --crewlet-icon-tile-status-soft: var(--color-feedback-warning-soft);
24419
+ }
24420
+
24421
+ .crewlet-icon-tile[data-status='info'] {
24422
+ --crewlet-icon-tile-status: var(--color-feedback-info);
24423
+ --crewlet-icon-tile-status-soft: var(--color-feedback-info-soft);
24424
+ }
24425
+
24426
+ .crewlet-icon-tile[data-status] {
24427
+ box-shadow:
24428
+ inset 0 0 0 2px var(--crewlet-icon-tile-status),
24429
+ 0 0 0 3px var(--crewlet-icon-tile-status-soft);
24430
+ outline: none;
24431
+ }
24432
+
24433
+ .crewlet-icon-tile__mark,
24434
+ .crewlet-icon-tile__badge {
24435
+ position: absolute;
24436
+ display: grid;
24437
+ place-items: center;
24438
+ width: calc(var(--crewlet-icon-tile-size) * 0.42);
24439
+ height: calc(var(--crewlet-icon-tile-size) * 0.42);
24440
+ border-radius: var(--radius-circle);
24441
+ font-size: calc(var(--crewlet-icon-tile-size) * 0.26);
24442
+ }
24443
+
24444
+ /* A vendor's mark on the lower corner, cut out of the tile by the sheet's colour. */
24445
+ .crewlet-icon-tile__mark {
24446
+ right: calc(var(--crewlet-icon-tile-size) * -0.1);
24447
+ bottom: calc(var(--crewlet-icon-tile-size) * -0.08);
24448
+ background: var(--color-surface-background);
24449
+ box-shadow: 0 0 0 1px var(--color-border-default);
24450
+ color: var(--color-text-primary);
24451
+ }
24452
+
24453
+ .crewlet-icon-tile__badge {
24454
+ top: calc(var(--crewlet-icon-tile-size) * -0.1);
24455
+ right: calc(var(--crewlet-icon-tile-size) * -0.12);
24456
+ background: var(--crewlet-icon-tile-status);
24457
+ box-shadow: 0 0 0 1.5px var(--color-surface-background);
24458
+ color: var(--color-surface-background);
24459
+ }
23498
24460
 
23499
24461
 
23500
24462
  /* ImageUpload-IFXZROFZ.css */
@@ -30023,7 +30985,7 @@ button.crewlet-mention-chip:focus-visible {
30023
30985
  }
30024
30986
 
30025
30987
 
30026
- /* ObjectHeader-5RK5YAUK.css */
30988
+ /* ObjectHeader-BH7OBEAL.css */
30027
30989
  /*
30028
30990
  * The header of an object: its eyebrow, its head row and its fact line.
30029
30991
  *
@@ -30278,6 +31240,18 @@ button.crewlet-mention-chip:focus-visible {
30278
31240
 
30279
31241
  /* ── the by-line ───────────────────────────────────────────────────────── */
30280
31242
 
31243
+ /* An actor's mark sits on the line's own baseline, at the line's size. */
31244
+ .crewlet-set-by__mark {
31245
+ display: inline-flex;
31246
+ vertical-align: -0.125em;
31247
+ margin-right: 0.25em;
31248
+ }
31249
+
31250
+ .crewlet-set-by__mark > svg {
31251
+ width: 1em;
31252
+ height: 1em;
31253
+ }
31254
+
30281
31255
  /* The word and its arrow are one atomic box, so the arrow never takes a line
30282
31256
  of its own. */
30283
31257
  .crewlet-set-by__turn {
@@ -42067,7 +43041,7 @@ svg.crewlet-select__chevron {
42067
43041
  }
42068
43042
 
42069
43043
 
42070
- /* StatusLegend-HVMKJQFY.css */
43044
+ /* StatusLegend-DMSTS2NG.css */
42071
43045
  /*
42072
43046
  * A status legend (StatusLegend.tsx): each status's dot, word and quiet count
42073
43047
  * on one line that wraps, in a canvas bar's type. As a filter, each item is a
@@ -42101,6 +43075,15 @@ svg.crewlet-select__chevron {
42101
43075
  white-space: nowrap;
42102
43076
  }
42103
43077
 
43078
+ /* What a reader sees of an item, hidden from assistive technology, which hears one sentence instead:
43079
+ the dot and word, then the count, a step and a half apart on one line. */
43080
+ .crewlet-status-legend__face {
43081
+ display: inline-flex;
43082
+ align-items: center;
43083
+ gap: calc(var(--spacing-1) * 1.5);
43084
+ min-width: 0;
43085
+ }
43086
+
42104
43087
  button.crewlet-status-legend__item {
42105
43088
  cursor: pointer;
42106
43089
  transition: