@yaks/browse 0.0.0-stage → 0.2.36

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 (271) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +324 -2
  3. package/_dist/app.d.ts +8 -0
  4. package/_dist/app.d.ts.map +1 -0
  5. package/_dist/cli.d.ts +16 -0
  6. package/_dist/cli.d.ts.map +1 -0
  7. package/_dist/hosting.d.ts +24 -0
  8. package/_dist/hosting.d.ts.map +1 -0
  9. package/_dist/mod.d.ts +7 -0
  10. package/_dist/mod.d.ts.map +1 -0
  11. package/_dist/types.d.ts +5 -0
  12. package/_dist/types.d.ts.map +1 -0
  13. package/_dist/url.d.ts +2 -0
  14. package/_dist/url.d.ts.map +1 -0
  15. package/app.js +10 -0
  16. package/app.js.map +1 -0
  17. package/app.ts +10 -0
  18. package/browser-links.js +22 -0
  19. package/browser-links.js.map +1 -0
  20. package/browser-links.ts +28 -0
  21. package/cli.js +172 -0
  22. package/cli.js.map +1 -0
  23. package/cli.ts +168 -0
  24. package/client.js +748 -0
  25. package/client.js.map +1 -0
  26. package/client.ts +734 -0
  27. package/clipboard.js +18 -0
  28. package/clipboard.js.map +1 -0
  29. package/clipboard.ts +17 -0
  30. package/commands.js +1157 -0
  31. package/commands.js.map +1 -0
  32. package/commands.ts +1108 -0
  33. package/components/Ansi.tsx +160 -0
  34. package/components/App.tsx +446 -0
  35. package/components/Canvas.tsx +625 -0
  36. package/components/Card.tsx +276 -0
  37. package/components/Chat.tsx +205 -0
  38. package/components/Configuration.tsx +218 -0
  39. package/components/Decision.tsx +49 -0
  40. package/components/Dot.tsx +52 -0
  41. package/components/Entity.tsx +609 -0
  42. package/components/Fault.tsx +43 -0
  43. package/components/Filter.tsx +103 -0
  44. package/components/Keybindings.tsx +100 -0
  45. package/components/Keys.tsx +67 -0
  46. package/components/Markdown.tsx +90 -0
  47. package/components/Navigation.tsx +161 -0
  48. package/components/New.tsx +490 -0
  49. package/components/Peek.tsx +168 -0
  50. package/components/Prio.tsx +20 -0
  51. package/components/Run.tsx +263 -0
  52. package/components/Search.tsx +280 -0
  53. package/components/Stamp.tsx +44 -0
  54. package/components/Status.tsx +514 -0
  55. package/components/Sync.tsx +173 -0
  56. package/components/Tile.tsx +50 -0
  57. package/components/answered.js +23 -0
  58. package/components/answered.js.map +1 -0
  59. package/components/answered.ts +25 -0
  60. package/components/comp.js +11 -0
  61. package/components/comp.js.map +1 -0
  62. package/components/comp.ts +10 -0
  63. package/components/drag.js +173 -0
  64. package/components/drag.js.map +1 -0
  65. package/components/drag.ts +198 -0
  66. package/components/fields.tsx +90 -0
  67. package/components/fixtures/README.md +10 -0
  68. package/components/fixtures/archetypes.json +3646 -0
  69. package/components/hits.js +63 -0
  70. package/components/hits.js.map +1 -0
  71. package/components/hits.ts +84 -0
  72. package/components/icons.tsx +177 -0
  73. package/components/inspect.tsx +331 -0
  74. package/components/mount.ts +79 -0
  75. package/components/nav.tsx +479 -0
  76. package/components/offers.js +26 -0
  77. package/components/offers.js.map +1 -0
  78. package/components/offers.ts +54 -0
  79. package/components/page.js +21 -0
  80. package/components/page.js.map +1 -0
  81. package/components/page.ts +18 -0
  82. package/components/read.js +5 -0
  83. package/components/read.js.map +1 -0
  84. package/components/read.ts +7 -0
  85. package/components/registry.js +285 -0
  86. package/components/registry.js.map +1 -0
  87. package/components/registry.ts +317 -0
  88. package/components/session_status.tsx +115 -0
  89. package/components/subscriptions.js +149 -0
  90. package/components/subscriptions.js.map +1 -0
  91. package/components/subscriptions.ts +161 -0
  92. package/components/title.tsx +21 -0
  93. package/components/useQuery.js +166 -0
  94. package/components/useQuery.js.map +1 -0
  95. package/components/useQuery.ts +211 -0
  96. package/components/views/Board.tsx +450 -0
  97. package/components/views/BoardTile.tsx +65 -0
  98. package/components/views/Dashboard.tsx +148 -0
  99. package/components/views/Debug.tsx +445 -0
  100. package/components/views/Dependency.tsx +51 -0
  101. package/components/views/Entry.tsx +500 -0
  102. package/components/views/Gist.tsx +28 -0
  103. package/components/views/Inline.tsx +54 -0
  104. package/components/views/Json.tsx +19 -0
  105. package/components/views/Layout.tsx +211 -0
  106. package/components/views/List.tsx +238 -0
  107. package/components/views/Md.tsx +43 -0
  108. package/components/views/Media.tsx +48 -0
  109. package/components/views/Memory.tsx +32 -0
  110. package/components/views/Relate.tsx +205 -0
  111. package/components/views/Search.tsx +42 -0
  112. package/components/views/Session.tsx +850 -0
  113. package/components/views/SessionManage.tsx +127 -0
  114. package/components/views/Show.tsx +758 -0
  115. package/components/views/Shown.tsx +72 -0
  116. package/components/views/Split.tsx +58 -0
  117. package/components/views/TaskTile.tsx +37 -0
  118. package/components/views/Title.tsx +105 -0
  119. package/components/views/Wake.tsx +77 -0
  120. package/components/views/Web.tsx +49 -0
  121. package/components/wells.js +30 -0
  122. package/components/wells.js.map +1 -0
  123. package/components/wells.ts +33 -0
  124. package/configuration.js +38 -0
  125. package/configuration.js.map +1 -0
  126. package/configuration.ts +41 -0
  127. package/decision_sync.js +88 -0
  128. package/decision_sync.js.map +1 -0
  129. package/decision_sync.ts +93 -0
  130. package/deno.json +1 -0
  131. package/domain-host.tsx +108 -0
  132. package/edge.js +193 -0
  133. package/edge.js.map +1 -0
  134. package/edge.ts +196 -0
  135. package/entry_log.js +241 -0
  136. package/entry_log.js.map +1 -0
  137. package/entry_log.ts +214 -0
  138. package/failure.js +22 -0
  139. package/failure.js.map +1 -0
  140. package/failure.ts +34 -0
  141. package/front.json +61 -0
  142. package/highlight.js +143 -0
  143. package/highlight.js.map +1 -0
  144. package/highlight.ts +149 -0
  145. package/history.js +68 -0
  146. package/history.js.map +1 -0
  147. package/history.ts +72 -0
  148. package/host_commands.js +107 -0
  149. package/host_commands.js.map +1 -0
  150. package/host_commands.ts +38 -0
  151. package/hosting.js +53 -0
  152. package/hosting.js.map +1 -0
  153. package/hosting.ts +72 -0
  154. package/idb.js +14 -0
  155. package/idb.js.map +1 -0
  156. package/idb.ts +15 -0
  157. package/index.js +232 -0
  158. package/index.js.map +1 -0
  159. package/index.ts +252 -0
  160. package/keybindings.js +136 -0
  161. package/keybindings.js.map +1 -0
  162. package/keybindings.ts +37 -0
  163. package/kit.js +103 -0
  164. package/kit.js.map +1 -0
  165. package/kit.ts +119 -0
  166. package/layout.js +254 -0
  167. package/layout.js.map +1 -0
  168. package/layout.ts +210 -0
  169. package/legacy_outbox.js +53 -0
  170. package/legacy_outbox.js.map +1 -0
  171. package/legacy_outbox.ts +63 -0
  172. package/live.js +2883 -0
  173. package/live.js.map +1 -0
  174. package/live.ts +3334 -0
  175. package/live_archetypes.js +92 -0
  176. package/live_archetypes.js.map +1 -0
  177. package/live_archetypes.ts +113 -0
  178. package/live_client.js +145 -0
  179. package/live_client.js.map +1 -0
  180. package/live_client.ts +120 -0
  181. package/main.tsx +5 -0
  182. package/mod.js +7 -0
  183. package/mod.js.map +1 -0
  184. package/mod.ts +7 -0
  185. package/mount.tsx +50 -0
  186. package/navigation.js +120 -0
  187. package/navigation.js.map +1 -0
  188. package/navigation.ts +152 -0
  189. package/near.js +83 -0
  190. package/near.js.map +1 -0
  191. package/near.ts +83 -0
  192. package/new.js +295 -0
  193. package/new.js.map +1 -0
  194. package/new.ts +361 -0
  195. package/outbox.js +112 -0
  196. package/outbox.js.map +1 -0
  197. package/outbox.ts +129 -0
  198. package/owner.js +39 -0
  199. package/owner.js.map +1 -0
  200. package/owner.ts +37 -0
  201. package/package.json +81 -4
  202. package/paste.js +157 -0
  203. package/paste.js.map +1 -0
  204. package/paste.ts +122 -0
  205. package/props.js +303 -0
  206. package/props.js.map +1 -0
  207. package/props.ts +358 -0
  208. package/providers.js +136 -0
  209. package/providers.js.map +1 -0
  210. package/providers.ts +194 -0
  211. package/query.js +987 -0
  212. package/query.js.map +1 -0
  213. package/query.ts +1113 -0
  214. package/remote.js +37 -0
  215. package/remote.js.map +1 -0
  216. package/remote.ts +46 -0
  217. package/resolver.js +149 -0
  218. package/resolver.js.map +1 -0
  219. package/resolver.ts +213 -0
  220. package/rfc2047.js +37 -0
  221. package/rfc2047.js.map +1 -0
  222. package/rfc2047.ts +40 -0
  223. package/row_holds.js +107 -0
  224. package/row_holds.js.map +1 -0
  225. package/row_holds.ts +93 -0
  226. package/served.ts +42 -0
  227. package/session_worktree.js +7 -0
  228. package/session_worktree.js.map +1 -0
  229. package/session_worktree.ts +16 -0
  230. package/sessions.js +57 -0
  231. package/sessions.js.map +1 -0
  232. package/sessions.ts +53 -0
  233. package/sha.js +161 -0
  234. package/sha.js.map +1 -0
  235. package/sha.ts +164 -0
  236. package/styles.css +2823 -0
  237. package/subs.js +36 -0
  238. package/subs.js.map +1 -0
  239. package/subs.ts +40 -0
  240. package/terminal-route.js +13 -0
  241. package/terminal-route.js.map +1 -0
  242. package/terminal-route.ts +17 -0
  243. package/terminal.js +251 -0
  244. package/terminal.js.map +1 -0
  245. package/terminal.ts +186 -0
  246. package/time.js +142 -0
  247. package/time.js.map +1 -0
  248. package/time.ts +133 -0
  249. package/title.js +25 -0
  250. package/title.js.map +1 -0
  251. package/title.ts +50 -0
  252. package/tui/doc.ts +6 -0
  253. package/tui/testing.ts +19 -0
  254. package/twin.js +11 -0
  255. package/twin.js.map +1 -0
  256. package/twin.ts +13 -0
  257. package/types.js +456 -0
  258. package/types.js.map +1 -0
  259. package/types.ts +1370 -0
  260. package/url.js +77 -0
  261. package/url.js.map +1 -0
  262. package/url.ts +85 -0
  263. package/verb.js +82 -0
  264. package/verb.js.map +1 -0
  265. package/verb.ts +137 -0
  266. package/warmth.js +41 -0
  267. package/warmth.js.map +1 -0
  268. package/warmth.ts +54 -0
  269. package/wire.js +86 -0
  270. package/wire.js.map +1 -0
  271. package/wire.ts +63 -0
package/styles.css ADDED
@@ -0,0 +1,2823 @@
1
+ /* @yaks/web's own stylesheet: the app shell and its domain components. It
2
+ loads after @yaks/ui's (routes.ts), which brings the theme's custom
3
+ properties, the document's defaults and the UI components; everything here
4
+ reads the theme through var(). Three-separator names (Block /
5
+ Block_Element / Block-modifier), custom properties as the variant
6
+ mechanism, modern CSS, no build step. Scroll padding lives inside the
7
+ scroller, so the scrollbar touches the card border and padding scrolls
8
+ with content. */
9
+
10
+ /* The statuses a task's text wears, in the tones a Dot says them in; and
11
+ the edges between tasks, told apart. */
12
+ :root {
13
+ --open: var(--info);
14
+ --wip: var(--active);
15
+ --done: var(--positive);
16
+ --cancelled: var(--muted); /* settled, but not a success: stays muted */
17
+ --requires: var(--hue-5);
18
+ --contains: var(--hue-1);
19
+ --reads: var(--hue-0);
20
+ }
21
+
22
+ /* Overscroll gestures (swipe-back) die ONLY while a canvas is on screen —
23
+ a two-finger pan is camera movement there, never history. Prose/board
24
+ roots keep the browser's native gestures. Chrome consults the root,
25
+ not just body, hence html. */
26
+ :where(html):has(.Canvas) {
27
+ overscroll-behavior: none;
28
+ }
29
+
30
+ :where(body):has(.Canvas) {
31
+ overscroll-behavior: none; /* no swipe-navigate, no rubberband */
32
+ }
33
+
34
+ :where(html, body) {
35
+ /* The ROOT never rubberbands vertically (touches that start on chrome
36
+ would bounce the whole page); horizontal stays native — swipe-back
37
+ lives on, except where the Canvas rules above kill it. */
38
+ overscroll-behavior-y: none;
39
+ }
40
+
41
+ html {
42
+ /* The phone's notch band (and any overscroll reveal) shows the ROOT
43
+ background — paint it titlebar-surface so the bar reads as running
44
+ under the clock to the glass. Loads after the inline #232a2e splash
45
+ matcher in index.html, deliberately: splash seam first, then this. */
46
+ background: var(--surface);
47
+ }
48
+
49
+ /* The mono keepers: what a person copies or types (an id, raw bytes, error
50
+ output, the command line and the commands it offers). Everything else,
51
+ labels, counts and times included, reads in var(--font) via body, the
52
+ kit's register (@yaks/ui base.css). :where keeps this overridable. */
53
+ :where(.Search_Id, .Entry_Raw, .Session_Err, .Status_Line, .Status_Name, .Status_Args) {
54
+ font-family: var(--mono);
55
+ }
56
+
57
+ :where(body) {
58
+ height: 100dvh;
59
+ display: flex;
60
+ flex-direction: column;
61
+ /* Surface, not --bg: the phone's notch band takes its color from BODY
62
+ (observed on-device; the html background never shows there). The app's
63
+ floor lives on its Shell (@yaks/ui) instead. */
64
+ background: var(--surface);
65
+ }
66
+
67
+ /* Ordinary pages just get breathing room; every page fills the floor —
68
+ a board, a canvas or panes (@yaks/ui's Panes, filling it) paint their own. */
69
+ .Shell_Body > :not(.Canvas, .Board, .Split, .Panes) {
70
+ padding: var(--gap);
71
+ }
72
+ /* The two-pane Split paints its own floor, like a board or canvas. */
73
+ .Shell_Body > .Split {
74
+ flex: 1;
75
+ min-height: 0;
76
+ }
77
+ .Shell_Body > .Board,
78
+ .Split_Left > .Board {
79
+ /* vertical padding rides INSIDE the columns (the header band carries
80
+ the top, the scroller's padding the bottom), so rows scroll clear
81
+ to both edges instead of clipping mid-air */
82
+ padding: 0 var(--gap);
83
+ /* Fullscreen, the board fills the floor and each COLUMN scrolls
84
+ itself. One scroller per axis is what buys touch axis-locking: a
85
+ vertical finger flings the column (native momentum, no snap physics
86
+ damping it), a horizontal one chains up to the snapping Shell_Body —
87
+ no more lane-hopping mid-scroll. */
88
+ flex: 1;
89
+ min-height: 0;
90
+ }
91
+ /* Overflowing columns spill past the board's own padding box, which
92
+ eats its right padding — and a trailing margin doesn't count as
93
+ scrollable overflow either. A spacer ITEM does: the row gap before it
94
+ becomes the board's right padding at full scroll. (Card-hosted boards
95
+ overflow their Window_Scroll the same way.) */
96
+ .Board::after {
97
+ content: '';
98
+ flex: 0 0 1px;
99
+ }
100
+
101
+ /* The 404 face (App.tsx Lost): the URL named nothing the cache can
102
+ resolve. Prose, so it caps at the reading measure like the doc body;
103
+ the shell around it stays whole. */
104
+ .Lost {
105
+ max-width: var(--measure);
106
+ }
107
+ .Lost_Code {
108
+ font-size: 2.5rem;
109
+ font-weight: 600;
110
+ color: var(--dim);
111
+ /* the drop from the bar lives on the child, not .Lost, so nothing
112
+ the section might grow (a measure, a margin) fights it */
113
+ margin: 15vh 0 0;
114
+ }
115
+ .Lost_Hint {
116
+ color: var(--muted);
117
+ }
118
+ .Lost_Key {
119
+ padding: 1px 5px;
120
+ border: 1px solid var(--border);
121
+ border-radius: var(--radius);
122
+ }
123
+
124
+ /* A list is the kit's (@yaks/ui Rows): a line a row, close together, and
125
+ what was left out under them. Each line is lit under the pointer the way
126
+ a kit Tile is; none is a box. A board's column gives its items their card
127
+ (.Board_Item). */
128
+ .TileSlot {
129
+ display: inline-flex;
130
+ align-items: center;
131
+ gap: var(--half-gap);
132
+ min-width: 0;
133
+ }
134
+ .TileSlot-body {
135
+ display: block;
136
+ flex-basis: 100%;
137
+ min-width: 0;
138
+ }
139
+ .ListTile:has(> .TileSlot-body) {
140
+ flex-wrap: wrap;
141
+ }
142
+ .ListTile {
143
+ display: flex;
144
+ align-items: center;
145
+ gap: var(--half-gap);
146
+ border-radius: calc(var(--radius) / 2);
147
+ padding: 2px var(--half-gap);
148
+ min-height: var(--tap);
149
+ /* the tile IS a link; it must not read as one word-by-word */
150
+ color: inherit;
151
+ text-decoration: none;
152
+ }
153
+ :is(.ListTile, .Row):is(a, [data-href]):hover {
154
+ background-color: var(--soft);
155
+ }
156
+ .ListTile_Title {
157
+ flex: 1;
158
+ min-width: 0;
159
+ overflow: hidden;
160
+ text-overflow: ellipsis;
161
+ white-space: nowrap;
162
+ }
163
+ .MemoryType {
164
+ flex: none;
165
+ color: var(--accent);
166
+ background: var(--soft);
167
+ border-radius: var(--radius);
168
+ padding: 0 var(--half-gap);
169
+ font-size: var(--small);
170
+ }
171
+
172
+ /* The canvas: a pannable, zoomable dot-grid of pinned cards. The camera is a
173
+ transform on the plane; the grid tracks it via background-position/size. */
174
+ .Canvas {
175
+ flex: 1;
176
+ position: relative;
177
+ overflow: hidden;
178
+ touch-action: none;
179
+ cursor: grab;
180
+ background: radial-gradient(var(--soft) 1px, transparent 1px);
181
+ background-size: 24px 24px;
182
+ }
183
+ .Canvas_Plane {
184
+ position: absolute;
185
+ inset: 0;
186
+ transform-origin: 0 0;
187
+ }
188
+
189
+ /* One smooth camera move (zoom-to-card); dropped again on the next gesture. */
190
+ .Canvas-glide {
191
+ transition:
192
+ background-position 0.25s ease,
193
+ background-size 0.25s ease;
194
+ }
195
+ .Canvas_Plane-glide {
196
+ transition: transform 0.25s ease;
197
+ }
198
+
199
+ /* A pin is the draggable slot a card sits in — geometry only. Its padding
200
+ ring doubles as the resize border (the Handle strips live in it). */
201
+ .Pin {
202
+ --handle-inset: var(--gap);
203
+ position: absolute;
204
+ display: flex;
205
+ touch-action: none;
206
+ padding: var(--gap);
207
+ }
208
+ /* Auto width, clamped: a card with no explicit width (w=0) takes its
209
+ content's width inside [340, 640] — never a sliver that scrolls
210
+ sideways, never a board-shaped barge. A dragged size is exact and
211
+ unclamped (inline width, no -auto class); a grip double-click on a
212
+ side returns the card here. */
213
+ .Pin-auto {
214
+ width: max-content;
215
+ min-width: 340px;
216
+ max-width: 640px;
217
+ }
218
+ .Pin-sized .Window {
219
+ max-height: none; /* an explicit height beats the auto cap */
220
+ }
221
+
222
+ /* Resize grips straddle the card border: sides are --grip wide centered on
223
+ the line; corners are bigger squares centered on the corner point and
224
+ painted after the sides, so they win the overlap. */
225
+ .Handle {
226
+ --grip: 10px;
227
+ --corner: 18px;
228
+ --edge: calc(var(--handle-inset) - var(--grip) / 2);
229
+ --corner-edge: calc(var(--handle-inset) - var(--corner) / 2);
230
+ position: absolute;
231
+ touch-action: none;
232
+ }
233
+ .Handle-n,
234
+ .Handle-s {
235
+ left: var(--gap);
236
+ right: var(--gap);
237
+ height: var(--grip);
238
+ cursor: ns-resize;
239
+ }
240
+ .Handle-e,
241
+ .Handle-w {
242
+ top: var(--gap);
243
+ bottom: var(--gap);
244
+ width: var(--grip);
245
+ cursor: ew-resize;
246
+ }
247
+ .Handle-n {
248
+ top: var(--edge);
249
+ }
250
+ .Handle-s {
251
+ bottom: var(--edge);
252
+ }
253
+ .Handle-e {
254
+ right: var(--edge);
255
+ }
256
+ .Handle-w {
257
+ left: var(--edge);
258
+ }
259
+ .Handle-ne,
260
+ .Handle-nw,
261
+ .Handle-se,
262
+ .Handle-sw {
263
+ width: var(--corner);
264
+ height: var(--corner);
265
+ }
266
+ .Handle-ne,
267
+ .Handle-nw {
268
+ top: var(--corner-edge);
269
+ }
270
+ .Handle-se,
271
+ .Handle-sw {
272
+ bottom: var(--corner-edge);
273
+ }
274
+ .Handle-ne,
275
+ .Handle-se {
276
+ right: var(--corner-edge);
277
+ }
278
+ .Handle-nw,
279
+ .Handle-sw {
280
+ left: var(--corner-edge);
281
+ }
282
+ .Handle-ne,
283
+ .Handle-sw {
284
+ cursor: nesw-resize;
285
+ }
286
+ .Handle-nw,
287
+ .Handle-se {
288
+ cursor: nwse-resize;
289
+ }
290
+
291
+ /* A card frames one entity through one lens: chrome header (the tab row),
292
+ then one scroller that owns the padding so the scrollbar rides the border. */
293
+ .Window {
294
+ --frame-shadow: 0 2px 10px rgb(0 0 0 / 0.25);
295
+ flex: 1;
296
+ min-width: 0; /* the PIN sizes the card — wide content scrolls inside
297
+ (flex min-width:auto would push the card past its pin,
298
+ stranding the resize handles and fooling zoom-to-fit) */
299
+ display: flex;
300
+ flex-direction: column;
301
+ cursor: default;
302
+ max-height: 70vh;
303
+ }
304
+ .Window_Tabs {
305
+ display: flex;
306
+ align-items: center;
307
+ gap: var(--gap);
308
+ margin: 0;
309
+ padding: var(--half-gap);
310
+ background: var(--surface);
311
+ /* the card no longer clips (tab tooltips must escape it), so the
312
+ chrome rounds its own corners against the card border */
313
+ border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
314
+ border-bottom: 1px solid var(--border);
315
+ cursor: grab;
316
+ user-select: none;
317
+ }
318
+
319
+ /* The titlebar's identity slot, filled by the Card.Title view — the entity
320
+ IS the card. Reads id → dot → title; flexes to push filter/tabs/×
321
+ right, and long titles ellipsize. */
322
+ .CardTitle {
323
+ /* basis AUTO, not 0: the title's natural width is its claim on the
324
+ bar, so the shrink phase (weighted by basis) taxes the filter's
325
+ 14em first — a squeezed bar keeps the NAME and folds the glance */
326
+ flex: 1 1 auto;
327
+ min-width: 0;
328
+ display: flex;
329
+ align-items: center;
330
+ gap: var(--half-gap);
331
+ font-weight: 600;
332
+ }
333
+ .CardTitle_Text {
334
+ overflow: hidden;
335
+ white-space: nowrap;
336
+ text-overflow: ellipsis;
337
+ }
338
+ .CardTitle-dim {
339
+ color: var(--dim);
340
+ font-weight: 400;
341
+ }
342
+ /* The card's remove button — deletes the card entity, not its target.
343
+ Padded well past the glyph: a close button earns its hit area. */
344
+ .Window_X,
345
+ .Window_Min {
346
+ font: 14px/1 var(--mono);
347
+ color: var(--muted);
348
+ background: none;
349
+ border: 0;
350
+ padding: 4px 8px;
351
+ margin: -4px -4px -4px calc(-1 * var(--half-gap));
352
+ border-radius: calc(var(--radius) - 2px);
353
+ cursor: pointer;
354
+ min-width: var(--tap);
355
+ min-height: var(--tap);
356
+ display: grid;
357
+ place-items: center;
358
+ }
359
+ .Window_Min:hover {
360
+ color: var(--accent);
361
+ }
362
+ .Window_X:hover {
363
+ color: var(--negative);
364
+ }
365
+
366
+ .Icon {
367
+ display: block;
368
+ }
369
+ /* The house tooltip is @yaks/ui's Tip, floated as an Overlay: one portaled
370
+ node (@yaks/ui `tips` delegates [data-tip]), not a ::before per host
371
+ that the overflow ancestors used to clip. */
372
+
373
+ /* The comment rail — quiet, left-ruled, under any entity's view. The
374
+ textarea is the rail's last row: borderless until it's spoken to. */
375
+
376
+ /* The one scrolling element — padding scrolls away WITH the content. */
377
+ .Window_Scroll {
378
+ flex: 1;
379
+ min-height: 0;
380
+ overflow: auto;
381
+ padding: var(--gap);
382
+ border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px);
383
+ }
384
+
385
+ /* A board is a well: the hosting card drops to the chrome surface so the
386
+ task cards on it sit raised at the normal card color. */
387
+ .Window:has(> .Window_Scroll > .Board) {
388
+ --frame-fill: var(--bg);
389
+ }
390
+ /* An embedded board scrolls exactly like fullscreen: its host owns x + snap,
391
+ each COLUMN owns its own y. */
392
+ .Window_Scroll:has(> .Board) {
393
+ display: flex;
394
+ overflow-y: hidden;
395
+ }
396
+ .Window_Scroll > .Board {
397
+ flex: 1;
398
+ min-width: 0;
399
+ }
400
+ .Board {
401
+ display: flex;
402
+ gap: var(--gap);
403
+ align-items: stretch; /* every column is a full-height drop target */
404
+ }
405
+ .Board_Col {
406
+ /* A column has a real width: a host too narrow for all three scrolls
407
+ sideways and SNAPS column to column (tasks-v1), instead of crushing
408
+ them. Wide hosts still see fluid columns filling the row. */
409
+ flex: 1 0 min(20rem, 85vw);
410
+ min-width: 0;
411
+ min-height: 5rem; /* droppable even when the whole board is empty */
412
+ /* header above, rows below — the SCROLLER is the rows, so the title
413
+ never fights the scrollbar and needs no sticky/negative-margin
414
+ tricks to hold the top */
415
+ display: flex;
416
+ flex-direction: column;
417
+ gap: var(--half-gap);
418
+ scroll-snap-align: start;
419
+ }
420
+ .Board_Scroll {
421
+ flex: 1;
422
+ min-height: 0;
423
+ overflow-y: auto;
424
+ overscroll-behavior-y: contain; /* the column owns its own bounce */
425
+ padding-bottom: var(--gap); /* the board's bottom padding, inside */
426
+ display: grid;
427
+ gap: var(--half-gap);
428
+ align-content: start;
429
+ }
430
+ /* The snap lives on whichever scroller hosts the board. Content without
431
+ snap-align defines no snap areas, so every other page scrolls exactly as
432
+ before. */
433
+ .Shell_Body,
434
+ .Window_Scroll,
435
+ .Split_Left {
436
+ scroll-snap-type: x mandatory;
437
+ scroll-padding-inline: calc(var(--gap) + env(safe-area-inset-left, 0px))
438
+ calc(var(--gap) + env(safe-area-inset-right, 0px));
439
+ }
440
+ /* Mandatory snap only rests on snap points, and the padded right edge
441
+ isn't one — so the LAST column also offers its end, making the far
442
+ edge (padding showing) a legal stop. */
443
+ .Board_Col:last-child {
444
+ scroll-snap-align: start end;
445
+ }
446
+ .Board_ColName {
447
+ font-size: var(--small);
448
+ text-transform: uppercase;
449
+ color: var(--muted);
450
+ display: flex;
451
+ align-items: center;
452
+ gap: var(--half-gap);
453
+ user-select: none; /* the double-click folds, it doesn't select */
454
+ cursor: default;
455
+ padding-block: 4px; /* the slim band the sticky title used to fake */
456
+ /* the title dot sits over the ROWS' dots: their border + padding */
457
+ padding-left: calc(var(--half-gap) + 1px);
458
+ }
459
+ .Board_Count {
460
+ margin-left: auto;
461
+ color: var(--muted);
462
+ }
463
+ /* A folded column is one dot-wide lane: the header pivots 90° AROUND THE
464
+ DOT — the dot holds its spot, the name and count swing down under it.
465
+ (The dot's center sits at half the dot width from the header's left,
466
+ halfway up the line — that point is the transform origin.) */
467
+ .Board_Col-folded {
468
+ flex: 0 0 auto;
469
+ width: 1.25rem;
470
+ min-width: 0;
471
+ }
472
+ .Board_Col-folded .Board_ColName {
473
+ width: max-content;
474
+ /* pivot on the DOT's center — now sitting past the title inset
475
+ (0.72em: the pip inherits this element's font, so em agrees) */
476
+ transform-origin: calc(var(--half-gap) + 1px + 0.72em / 2) 50%;
477
+ transform: rotate(90deg);
478
+ }
479
+ /* Quick-create: a muted `+` riding the column header (after the count),
480
+ and the box it opens under it. Always reachable — never buried under
481
+ a hundred rows. */
482
+ .Board_Add {
483
+ color: var(--muted);
484
+ cursor: pointer;
485
+ user-select: none;
486
+ padding: 0 var(--half-gap);
487
+ border-radius: var(--radius);
488
+ line-height: 1.4;
489
+ min-width: var(--tap);
490
+ min-height: var(--tap);
491
+ display: grid;
492
+ place-items: center;
493
+ }
494
+ .Board_Col:hover .Board_Add {
495
+ background: var(--soft);
496
+ }
497
+ .Board_Add:hover {
498
+ color: var(--text);
499
+ }
500
+ .Board_New {
501
+ font: inherit;
502
+ color: var(--text);
503
+ background: var(--card);
504
+ border: 1px solid var(--accent);
505
+ border-radius: var(--radius);
506
+ padding: var(--half-gap);
507
+ min-width: 0; /* grid child: never widen the column to fit the box */
508
+ outline: none;
509
+ /* one row that GROWS with its content — never a resizable panel */
510
+ field-sizing: content;
511
+ resize: none;
512
+ overflow: hidden;
513
+ line-height: 1.4;
514
+ }
515
+ .Board_New::placeholder {
516
+ color: var(--dim);
517
+ }
518
+ /* The parse, shown live above the box: what Enter will actually file. */
519
+ .Board_Chips {
520
+ display: flex;
521
+ flex-wrap: wrap;
522
+ gap: var(--half-gap);
523
+ align-items: center;
524
+ font-size: var(--small);
525
+ }
526
+ .Board_Chip {
527
+ color: var(--muted);
528
+ background: var(--soft);
529
+ border-radius: var(--radius);
530
+ padding: 0 var(--half-gap);
531
+ }
532
+ .Board_Item {
533
+ background: var(--card);
534
+ border-radius: var(--radius);
535
+ cursor: grab;
536
+ min-width: 0; /* grid child: allow shrinking so the row's title can ellipsize */
537
+ /* offscreen rows skip layout/paint entirely; the placeholder height keeps
538
+ the column's scrollbar honest until they scroll into view */
539
+ content-visibility: auto;
540
+ contain-intrinsic-size: auto 4rem;
541
+ }
542
+ .Board_More {
543
+ border: 0;
544
+ border-radius: var(--radius);
545
+ background: var(--soft);
546
+ color: var(--muted);
547
+ font-size: var(--small);
548
+ min-height: var(--tap);
549
+ padding: 0 var(--half-gap);
550
+ cursor: pointer;
551
+ }
552
+ .Board_More:hover {
553
+ color: var(--text);
554
+ }
555
+
556
+ /* A task's or a board's line: dot + wrapping title, then the shared meta
557
+ line at dense scale. In a board's column it is a Trello-shaped card, the
558
+ card its item's (.Board_Item). */
559
+ .Row {
560
+ display: grid;
561
+ grid-template-columns: auto 1fr;
562
+ gap: 2px var(--half-gap);
563
+ border-radius: calc(var(--radius) / 2);
564
+ padding: var(--half-gap);
565
+ /* the tile IS a link; it must not read as one word-by-word */
566
+ color: inherit;
567
+ text-decoration: none;
568
+ container-type: inline-size;
569
+ }
570
+ .Row-task:has(> .TileSlot-before) {
571
+ grid-template-columns: auto auto 1fr;
572
+ }
573
+ .Row-task:has(> .TileSlot-before) > .Show_Meta {
574
+ grid-column: 3;
575
+ }
576
+ /* Density changes metrics, never the shared Meta markup. Provenance gives
577
+ out first; the narrower container rungs below retire assignee, then project. */
578
+ .Row-dense {
579
+ --meta-wrap: nowrap;
580
+ --meta-gap: var(--half-gap);
581
+ --meta-margin: 0;
582
+ --meta-chip-padding: 0;
583
+ --meta-chip-border: 0;
584
+ --meta-chip-radius: 0;
585
+ --meta-empty: none;
586
+ --meta-hand: none;
587
+ --meta-stamp: none;
588
+ }
589
+ .Row-task > .Dot {
590
+ align-self: start;
591
+ margin-top: calc((1lh - 0.72em) / 2 - var(--breath,
592
+ 0em)); /* pinned to the title's first line */
593
+ }
594
+ .Row_Title {
595
+ min-width: 0; /* wraps freely — a board card reads, it doesn't truncate */
596
+ }
597
+ .Row-task > .Show_Meta {
598
+ grid-column: 2;
599
+ min-width: 0;
600
+ overflow: hidden;
601
+ }
602
+ .Row > .TileSlot-body {
603
+ grid-column: 1 / -1;
604
+ }
605
+ .Row > .Show_Meta .Id {
606
+ margin-left: auto;
607
+ }
608
+ .Row > .Show_Meta > .Prop:has(.Show_Assignee) {
609
+ flex-shrink: 8;
610
+ }
611
+ .Row > .Show_Meta > .Prop:has(.Show_Project) {
612
+ flex-shrink: 2;
613
+ }
614
+ .Row > .Show_Meta > .Show_Claim {
615
+ flex-shrink: 4;
616
+ }
617
+ @container (max-width: 20rem) {
618
+ .Row > .Show_Meta > .Prop:has(.Show_Assignee) {
619
+ display: none;
620
+ }
621
+ }
622
+ @container (max-width: 14rem) {
623
+ .Row > .Show_Meta > .Prop:has(.Show_Project) {
624
+ display: none;
625
+ }
626
+ }
627
+ .Row-board {
628
+ grid-template-columns: 1fr;
629
+ }
630
+ .Row_Head {
631
+ display: flex;
632
+ min-width: 0;
633
+ gap: var(--half-gap);
634
+ }
635
+ .Row_Head > .Row_Title {
636
+ flex: 1;
637
+ }
638
+ .Row-board > .Show_Meta {
639
+ grid-column: 1;
640
+ min-width: 0;
641
+ overflow: hidden;
642
+ }
643
+ .BoardStat {
644
+ display: inline-flex;
645
+ align-items: center;
646
+ gap: 3px;
647
+ }
648
+ .BoardStat > .Dot {
649
+ width: 0.6em;
650
+ height: 0.6em;
651
+ }
652
+
653
+ /* A wake is one moment and the people on either side of it. The clock gets
654
+ the quiet card; entity tiles keep their ordinary linked face below. */
655
+ .Wake {
656
+ display: grid;
657
+ gap: calc(2 * var(--gap));
658
+ width: min(100%, 32rem);
659
+ margin: auto;
660
+ padding: clamp(var(--gap), 5vw, calc(3 * var(--gap)));
661
+ }
662
+ .Wake_Moment {
663
+ --wake-state: var(--wip);
664
+ display: grid;
665
+ gap: var(--half-gap);
666
+ padding: calc(2 * var(--gap));
667
+ border: 1px solid color-mix(in srgb, var(--wake-state) 45%, var(--border));
668
+ border-radius: calc(2 * var(--radius));
669
+ background: linear-gradient(
670
+ 145deg,
671
+ color-mix(in srgb, var(--wake-state) 8%, var(--soft)),
672
+ var(--card)
673
+ );
674
+ box-shadow: 0 12px 36px color-mix(in srgb, #000 18%, transparent);
675
+ text-align: center;
676
+ }
677
+ .Wake_Moment-delivered {
678
+ --wake-state: var(--done);
679
+ }
680
+ .Wake_Moment-failed {
681
+ --wake-state: var(--negative);
682
+ }
683
+ .Wake_Relative {
684
+ color: var(--wake-state);
685
+ font-size: clamp(1.6rem, 7vw, 2.6rem);
686
+ font-weight: 600;
687
+ line-height: 1.1;
688
+ }
689
+ .Wake_Exact {
690
+ color: var(--muted);
691
+ font: var(--small) var(--mono);
692
+ }
693
+ .Wake_Outcome {
694
+ display: flex;
695
+ flex-wrap: wrap;
696
+ justify-content: center;
697
+ gap: 0 var(--half-gap);
698
+ color: var(--muted);
699
+ font-size: var(--small);
700
+ }
701
+ .Wake_Status {
702
+ color: var(--wake-state);
703
+ }
704
+ .Wake_Detail {
705
+ flex-basis: 100%;
706
+ color: var(--text);
707
+ overflow-wrap: anywhere;
708
+ }
709
+ .Wake_People,
710
+ .Wake_Party {
711
+ display: grid;
712
+ gap: var(--half-gap);
713
+ }
714
+ .Wake_People {
715
+ gap: var(--gap);
716
+ }
717
+ .Wake_Label {
718
+ color: var(--muted);
719
+ font-size: var(--small);
720
+ font-weight: 600;
721
+ letter-spacing: 0.08em;
722
+ text-transform: uppercase;
723
+ }
724
+
725
+ /* The document face sits borderless on the floor — the card frame
726
+ belongs to windows (canvas cards), not to the page you're reading.
727
+ Only the root Full face renders div.Show; the card face (Card.Full)
728
+ is CardFull, a fragment inside the Card's own chrome. */
729
+ /* The document face (root Show): a real h1 owns the title at the
730
+ column's measure — it wraps, never truncates. The pip pins to the
731
+ FIRST line (the proven head trick); the named view-timeline is what
732
+ the App bar's compact title listens to. */
733
+ .Show {
734
+ display: grid;
735
+ grid-template-columns: minmax(0, var(--measure)) minmax(
736
+ var(--side-min),
737
+ var(--side)
738
+ );
739
+ gap: calc(var(--gap) * 2);
740
+ align-items: start;
741
+ }
742
+ /* Drawn without its chat (the Context desk has its own beside it), the page
743
+ is one column. */
744
+ .Show:not(:has(> .Chat)) {
745
+ grid-template-columns: minmax(0, var(--measure));
746
+ }
747
+ .Show_Main {
748
+ min-width: 0;
749
+ }
750
+ .Chat {
751
+ min-width: 0;
752
+ display: grid;
753
+ gap: var(--gap);
754
+ position: sticky;
755
+ top: var(--gap);
756
+ max-height: calc(100vh - 7rem);
757
+ }
758
+ .Chat_Conversation {
759
+ min-width: 0;
760
+ border-left: 1px solid var(--border);
761
+ padding-left: var(--gap);
762
+ }
763
+ .Chat_Label {
764
+ margin: 0;
765
+ color: var(--muted);
766
+ font-size: var(--small);
767
+ font-weight: 600;
768
+ letter-spacing: 0.08em;
769
+ text-transform: uppercase;
770
+ }
771
+ .Chat_Head {
772
+ display: flex;
773
+ align-items: baseline;
774
+ justify-content: space-between;
775
+ margin-bottom: var(--half-gap);
776
+ }
777
+ .Chat_New {
778
+ border: 0;
779
+ padding: 0;
780
+ background: none;
781
+ color: var(--muted);
782
+ font: inherit;
783
+ font-size: var(--small);
784
+ cursor: pointer;
785
+ }
786
+ .Chat_Start {
787
+ display: grid;
788
+ gap: var(--half-gap);
789
+ }
790
+ .Chat_State {
791
+ margin: 0;
792
+ color: var(--muted);
793
+ font-size: var(--small);
794
+ }
795
+ /* The box a chat gives its session, beside a page that stays put: the one
796
+ frame with a scroll area of its own. It keeps no overscroll of its own, so
797
+ a wheel that finds it at an end moves the page. */
798
+ .Chat_Box {
799
+ container-type: inline-size;
800
+ display: flex;
801
+ flex-direction: column;
802
+ min-height: 20rem;
803
+ max-height: calc(100vh - 10rem);
804
+ overflow-y: auto;
805
+ border: 1px solid var(--border);
806
+ border-radius: var(--radius);
807
+ }
808
+ .Chat_Box > .Session {
809
+ flex: 1 0 auto;
810
+ }
811
+ @media (max-width: 900px) {
812
+ .Show {
813
+ grid-template-columns: minmax(0, 1fr);
814
+ }
815
+ .Chat {
816
+ position: static;
817
+ max-height: none;
818
+ }
819
+ .Chat_Box {
820
+ max-height: 70vh;
821
+ }
822
+ }
823
+ .Show_Heading {
824
+ display: flex;
825
+ gap: var(--half-gap);
826
+ margin: 0;
827
+ max-width: var(--measure); /* the title wraps at the reading measure */
828
+ font-size: 1.75rem;
829
+ font-weight: 650;
830
+ line-height: 1.15;
831
+ }
832
+ .Show_Heading .Dot {
833
+ align-self: start;
834
+ margin-top: calc((1lh - 0.72em) / 2 - var(--breath, 0em));
835
+ }
836
+ .Show_Title {
837
+ flex: 1;
838
+ min-width: 0;
839
+ overflow-wrap: break-word;
840
+ }
841
+ .Show_Heading + .Show_Meta {
842
+ margin-top: var(--half-gap);
843
+ }
844
+ .Show_Meta .Id {
845
+ margin-left: auto; /* the id keeps the row's right edge, as in a titlebar */
846
+ }
847
+ /* An entity said in flowing content (the Inline role): dot + title, one
848
+ anchor. The title gives out first — ellipsis, never a wrap and never a JS
849
+ measure. */
850
+ .Inline {
851
+ display: inline-flex;
852
+ align-items: baseline;
853
+ gap: 0.4em;
854
+ max-width: 100%;
855
+ min-width: 0;
856
+ color: inherit;
857
+ text-decoration: none;
858
+ }
859
+ .Inline .Dot {
860
+ align-self: center;
861
+ }
862
+ .Inline_Title {
863
+ min-width: 0;
864
+ overflow: hidden;
865
+ text-overflow: ellipsis;
866
+ white-space: nowrap;
867
+ }
868
+ .Inline:hover .Inline_Title {
869
+ text-decoration: underline;
870
+ color: var(--text);
871
+ }
872
+ /* a settled task no longer binds: struck, Show_Done's fade */
873
+ .Inline_Title-settled {
874
+ text-decoration: line-through;
875
+ opacity: 0.55;
876
+ }
877
+ .Inline:hover .Inline_Title-settled {
878
+ text-decoration: line-through underline;
879
+ }
880
+ /* The priority badge — a tinted pill. Tier drives the colour: P0 burns,
881
+ P1 glows, P2 is the quiet default, P3 fades out. */
882
+ .Prio {
883
+ --pill: var(--muted);
884
+ font-size: var(--small);
885
+ font-weight: 700;
886
+ white-space: nowrap;
887
+ padding: 0 5px;
888
+ border-radius: 999px;
889
+ color: var(--pill);
890
+ background: color-mix(in srgb, var(--pill) 15%, transparent);
891
+ }
892
+ .Prio-0 {
893
+ --pill: var(--negative);
894
+ }
895
+ .Prio-1 {
896
+ --pill: var(--caution);
897
+ }
898
+ .Prio-3 {
899
+ opacity: 0.65;
900
+ }
901
+ /* The domain facet chip (Eng, Legal, Ops, …) — a click opens its box. */
902
+ .Show_Domain {
903
+ white-space: nowrap;
904
+ font-size: var(--small);
905
+ color: var(--muted);
906
+ cursor: pointer;
907
+ }
908
+ /* An unset field still shows: a ghost chip is the only way to say "this
909
+ field exists, and it's empty" — the empty body's min-height trick, in
910
+ a chip. Quiet until pointed at. */
911
+ .Show_Domain-empty,
912
+ .Show_Caret-empty {
913
+ color: var(--dim);
914
+ opacity: 0.6;
915
+ }
916
+ .Show_Domain-empty:hover,
917
+ .Show_Caret-empty:hover {
918
+ opacity: 1;
919
+ }
920
+ /* The task's project, named and linked; the assignee wears the same
921
+ dress (whose plate — a person, or a project as its operator). */
922
+ .Show_Project,
923
+ .Show_Assignee {
924
+ white-space: nowrap;
925
+ font-size: var(--small);
926
+ color: var(--muted);
927
+ text-decoration: none;
928
+ }
929
+ .Show_Project:hover,
930
+ .Show_Assignee:hover {
931
+ text-decoration: underline;
932
+ color: var(--text);
933
+ }
934
+ /* The picker's handle beside the project link — the link owns the click,
935
+ so the caret owns the picker. */
936
+ .Show_Caret {
937
+ white-space: nowrap;
938
+ font-size: var(--small);
939
+ color: var(--muted);
940
+ cursor: pointer;
941
+ }
942
+ .Show_Caret:hover {
943
+ color: var(--text);
944
+ }
945
+ /* The status pip is the status control: it opens the status picker. */
946
+ .Show_Pip {
947
+ cursor: pointer;
948
+ }
949
+ /* The Prio badge as a control. */
950
+ .Show_Chip {
951
+ cursor: pointer;
952
+ }
953
+ /* A field's editor stands exactly where its chip stood — chip-sized,
954
+ chip-voiced, wearing the same accent seam [contenteditable] wears, so
955
+ an open editor reads as an open editor everywhere in the app. */
956
+ .Show_Field,
957
+ .Show_Pick {
958
+ font: inherit;
959
+ font-size: var(--small);
960
+ color: var(--text);
961
+ background: var(--surface);
962
+ border: 1px solid var(--accent);
963
+ border-radius: var(--radius);
964
+ padding: 0 3px;
965
+ min-width: 0;
966
+ outline: none;
967
+ }
968
+ .Show_Field-num {
969
+ width: 4.5rem; /* the spinners are the stepper — leave them room */
970
+ }
971
+ /* What a bounded edge rider did NOT ship — the tail of a hub's neighbourhood,
972
+ said quietly under the sentences it did. */
973
+ .Show_More {
974
+ font-size: var(--small);
975
+ color: var(--muted);
976
+ padding: 2px 0;
977
+ }
978
+ /* The card-context meta line — the board row's grammar on the full card:
979
+ prio · domain · comments · claim, under the titlebar, above the body. */
980
+ .Show_Meta {
981
+ display: flex;
982
+ flex-wrap: var(--meta-wrap, wrap);
983
+ align-items: baseline;
984
+ gap: var(--meta-gap, 2px var(--half-gap));
985
+ font-size: var(--small);
986
+ color: var(--muted);
987
+ margin-bottom: var(--meta-margin, var(--half-gap));
988
+ }
989
+ .Show_Meta > :is(.Prop, .Show_Claim, .Stamp) {
990
+ max-width: 100%;
991
+ min-width: 0;
992
+ overflow: hidden;
993
+ }
994
+ .Show_Meta > .Prop > .Prop_Val {
995
+ min-width: 0;
996
+ overflow: hidden;
997
+ }
998
+ .Show_Meta > .Prop:has(:is(.Prop_Hand-empty, .Prop_Val-nil)) {
999
+ display: var(--meta-empty, inline-flex);
1000
+ }
1001
+ .Show_Meta .Prop_Hand {
1002
+ display: var(--meta-hand, inline-block);
1003
+ }
1004
+ .Show_Meta :is(.Show_Domain, .Show_Project, .Show_Assignee, .Show_Claim) {
1005
+ display: block;
1006
+ max-width: 100%;
1007
+ overflow: hidden;
1008
+ text-overflow: ellipsis;
1009
+ }
1010
+ /* The meta line wears the W-3639 mockup's chip grammar: every field a
1011
+ bordered rounded chip, a quiet colour of its own naming the field — prio
1012
+ its rank's tone, a claim the fleet's. */
1013
+ .Show_Meta :is(.Show_Domain, .Show_Project, .Show_Assignee, .Show_Claim, .Prio, .Show_Comments) {
1014
+ padding: var(--meta-chip-padding, 1px 7px);
1015
+ border: var(--meta-chip-border, 1px solid var(--border2));
1016
+ border-radius: var(--meta-chip-radius, 4px);
1017
+ }
1018
+ .Show_Meta > .Stamp {
1019
+ display: var(--meta-stamp, inline-flex);
1020
+ }
1021
+ .Show_Proposal {
1022
+ display: inline-flex;
1023
+ align-items: center;
1024
+ }
1025
+ .Show_Proposal-proposed {
1026
+ color: var(--active);
1027
+ }
1028
+ .Show_Proposal[role='button'] {
1029
+ cursor: pointer;
1030
+ }
1031
+ .Show_Proposal-approved {
1032
+ color: var(--positive);
1033
+ }
1034
+ .Show_Proposal-cancelled {
1035
+ color: var(--negative);
1036
+ }
1037
+ .Show_Proposal-declined {
1038
+ color: var(--negative);
1039
+ }
1040
+ .Show_Meta .Prio {
1041
+ background: transparent;
1042
+ font-size: var(--small);
1043
+ font-weight: 400;
1044
+ }
1045
+ .Show_Meta .Show_Domain {
1046
+ color: var(--hue-0);
1047
+ }
1048
+ .Show_Meta .Show_Project {
1049
+ color: var(--hue-2);
1050
+ }
1051
+ .Show_Meta .Show_Assignee {
1052
+ color: var(--hue-4); /* a person, apart from the fleet's claim */
1053
+ }
1054
+ .Show_Mail {
1055
+ display: grid;
1056
+ grid-template-columns: max-content minmax(0, 1fr);
1057
+ gap: 2px var(--gap);
1058
+ margin-bottom: var(--half-gap);
1059
+ font-size: var(--small);
1060
+ }
1061
+ .Show_MailKey {
1062
+ color: var(--muted);
1063
+ }
1064
+ .Show_MailVal {
1065
+ color: var(--muted);
1066
+ overflow-wrap: anywhere;
1067
+ }
1068
+ .Show_MailVal-verified {
1069
+ color: var(--positive);
1070
+ }
1071
+ .Show_MailVal-unverified,
1072
+ .Show_MailFault {
1073
+ color: var(--negative);
1074
+ }
1075
+ .Show_MailFault {
1076
+ grid-column: 1 / -1;
1077
+ overflow-wrap: anywhere;
1078
+ }
1079
+ .Show_Comments {
1080
+ display: inline-flex;
1081
+ align-items: center;
1082
+ align-self: center;
1083
+ gap: 0.3em;
1084
+ line-height: 1;
1085
+ white-space: nowrap;
1086
+ }
1087
+ /* Edge tallies wear their edge colours, dimmed to meta-line volume. */
1088
+ .Show_Deps {
1089
+ display: inline-flex;
1090
+ align-items: center;
1091
+ align-self: center;
1092
+ gap: 0.3em;
1093
+ line-height: 1;
1094
+ font-variant-numeric: tabular-nums;
1095
+ white-space: nowrap;
1096
+ }
1097
+ /* the done share of a tally: struck and faded, the open count stands */
1098
+ .Show_Done {
1099
+ opacity: 0.55;
1100
+ }
1101
+ .Show_Deps-requires {
1102
+ color: var(--requires);
1103
+ }
1104
+ .Show_Deps-contains {
1105
+ color: var(--contains);
1106
+ }
1107
+ .Show_Deps-reads {
1108
+ color: var(--reads);
1109
+ }
1110
+ /* The block signal (D-17094): an EXTERNAL stuck, red like the Dot's alarm —
1111
+ distinct from the calm deps tally above. Carries the free-text reason. */
1112
+ .Show_Blocked {
1113
+ white-space: nowrap;
1114
+ font-size: var(--small);
1115
+ color: var(--negative);
1116
+ }
1117
+ .Show_Blocked .Icon {
1118
+ vertical-align: -2px;
1119
+ }
1120
+ /* Superseded: a newer entity replaced this one. Marked, never hidden — a
1121
+ quiet historical tone, pointing to what's current. */
1122
+ .Show_Superseded {
1123
+ white-space: nowrap;
1124
+ font-size: var(--small);
1125
+ color: var(--muted);
1126
+ }
1127
+ .Show_Superseded .Icon {
1128
+ vertical-align: -2px;
1129
+ }
1130
+ /* The session lease badge — who's working this, in the fleet's tone. */
1131
+ .Show_Claim {
1132
+ white-space: nowrap;
1133
+ font-size: var(--small);
1134
+ color: var(--special);
1135
+ }
1136
+ /* The badge links to the claiming session; underline on hover says so. */
1137
+ .Show_Claim {
1138
+ text-decoration: none;
1139
+ }
1140
+ .Show_Claim:hover {
1141
+ text-decoration: underline;
1142
+ }
1143
+ /* Grow an edge by finishing its sentence: a muted `+ link`, then a search
1144
+ for its relation and then its far end, whose lists OVERLAY (absolute pop) —
1145
+ nothing below them moves. */
1146
+ .Relate {
1147
+ display: flex;
1148
+ align-items: baseline;
1149
+ gap: var(--half-gap);
1150
+ margin-top: var(--half-gap);
1151
+ }
1152
+ .Relate_Verb {
1153
+ font-size: var(--small);
1154
+ font-family: inherit;
1155
+ background: none;
1156
+ border: 0;
1157
+ padding: 0;
1158
+ cursor: pointer;
1159
+ white-space: nowrap;
1160
+ opacity: 0.5; /* the faded invitation; full ink on hover or armed */
1161
+ }
1162
+ /* Each verb wears its edge's color — the same paint the sentence gets. */
1163
+ .Relate_Verb-requires {
1164
+ color: var(--requires);
1165
+ }
1166
+ .Relate_Verb-contains {
1167
+ color: var(--contains);
1168
+ }
1169
+ .Relate_Verb-reads {
1170
+ color: var(--reads);
1171
+ }
1172
+ .Relate_Verb:hover,
1173
+ .Relate:has(.Relate_Anchor) .Relate_Verb {
1174
+ opacity: 1;
1175
+ }
1176
+ .Relate_Anchor {
1177
+ position: relative;
1178
+ flex: 1;
1179
+ }
1180
+ .Relate_Find {
1181
+ font: inherit;
1182
+ font-size: var(--small);
1183
+ color: var(--text);
1184
+ background: none;
1185
+ border: 0;
1186
+ outline: 0;
1187
+ border-bottom: 1px dashed var(--border2);
1188
+ width: min(260px, 100%);
1189
+ }
1190
+ .Show_Runs,
1191
+ .Show_Boards,
1192
+ .Show_Tasks,
1193
+ .Show_Similar {
1194
+ display: grid;
1195
+ gap: 2px;
1196
+ margin-top: var(--half-gap);
1197
+ }
1198
+ .Show_Score {
1199
+ font-size: var(--small);
1200
+ color: var(--muted);
1201
+ }
1202
+ /* in the kin list the grid's gap owns the spacing, not the row's margin */
1203
+ .Show_Similar > .Dependency {
1204
+ margin: 0;
1205
+ }
1206
+
1207
+ .Show_Body {
1208
+ margin: var(--half-gap) 0 0;
1209
+ cursor: text; /* double-click edits the markdown source */
1210
+ }
1211
+ .Show_Body-bare {
1212
+ margin: 0; /* card context: the titlebar is the head, no gap to bridge */
1213
+ }
1214
+ /* An empty body still takes a line, so the double-click has a target. */
1215
+ .Show_Body:empty {
1216
+ min-height: 1lh;
1217
+ }
1218
+ .Show_AcceptanceBody {
1219
+ cursor: text;
1220
+ }
1221
+ .Show_AcceptanceBody:empty {
1222
+ min-height: 1lh;
1223
+ }
1224
+
1225
+ .Keybindings_Body {
1226
+ width: min(100%, 32rem);
1227
+ }
1228
+ .Keybindings_Row {
1229
+ display: grid;
1230
+ grid-template-columns: minmax(8rem, 1fr) 2fr;
1231
+ align-items: baseline;
1232
+ gap: var(--gap);
1233
+ padding: var(--half-gap) 0;
1234
+ }
1235
+ .Keybindings_List {
1236
+ margin: 0;
1237
+ padding: var(--half-gap) 0;
1238
+ }
1239
+ .Keybindings_Keys,
1240
+ .Keybindings_About {
1241
+ margin: 0;
1242
+ }
1243
+ .Keybindings_Keys {
1244
+ text-align: right;
1245
+ white-space: nowrap;
1246
+ }
1247
+ .Keybindings_About {
1248
+ color: var(--muted);
1249
+ }
1250
+
1251
+ /* The ephemeral filter (Filter.tsx): a quiet slot in the titlebar,
1252
+ right-aligned before the tabs — the title flexes, this holds its
1253
+ ground. No chrome until it speaks — a dim placeholder, ink when
1254
+ typed. */
1255
+ .Filter {
1256
+ /* shrinks 8× faster than the title and all the way to nothing: on a
1257
+ narrow card the NAME wins the bar, the glance folds away */
1258
+ flex: 0 8 14em;
1259
+ min-width: 0;
1260
+ font-weight: 400; /* the titlebar is bold; the glance is not */
1261
+ }
1262
+ .Filter > .Field {
1263
+ width: 100%;
1264
+ }
1265
+
1266
+ /* An edge row: the sentence at the body's size, and under it, smaller, what
1267
+ the entity is, one line cut short. */
1268
+ .Dependency {
1269
+ display: block;
1270
+ margin: var(--half-gap) 0 0;
1271
+ color: var(--muted);
1272
+ }
1273
+ .Dependency_Line {
1274
+ color: var(--text);
1275
+ }
1276
+ .Dependency_Note {
1277
+ margin-left: var(--half-gap);
1278
+ }
1279
+ .Dependency_Gist {
1280
+ font-size: var(--small);
1281
+ color: var(--muted);
1282
+ white-space: nowrap;
1283
+ overflow: hidden;
1284
+ text-overflow: ellipsis;
1285
+ }
1286
+ .Dependency_Gist:empty {
1287
+ display: none;
1288
+ }
1289
+ /* An edge is reading content, not a dense row: let its linked identity flow
1290
+ through lines while the shared Inline role stays compact everywhere else. */
1291
+ .Dependency .Inline {
1292
+ display: inline;
1293
+ overflow-wrap: anywhere;
1294
+ }
1295
+ .Dependency .Inline_Title {
1296
+ white-space: normal;
1297
+ }
1298
+ /* the verb is a small label; the name keeps the body's normal size */
1299
+ .Dependency_Type {
1300
+ font-size: var(--small);
1301
+ }
1302
+ .Dependency_Type-requires {
1303
+ color: var(--requires);
1304
+ }
1305
+ .Dependency_Type-reads {
1306
+ color: var(--reads);
1307
+ }
1308
+ .Dependency_Type-contains {
1309
+ color: var(--contains);
1310
+ }
1311
+ /* similarity is a derived edge — quieter than the authored ones */
1312
+ .Dependency_Type-similar {
1313
+ color: var(--muted);
1314
+ }
1315
+ /* supersession is a historical edge — the same quiet tone as the mark */
1316
+ .Dependency_Type-supersedes {
1317
+ color: var(--muted);
1318
+ }
1319
+
1320
+ /* The vim statusbar: NORMAL / -- INSERT -- / the : command line. The side
1321
+ insets keep its text clear of the landscape notch. It holds one height
1322
+ whatever it shows: the page above it must not move when a badge comes and
1323
+ goes, so its sides are one line tall and what sits in them fits that line.
1324
+ Only the command line grows it, for the lines a person types. */
1325
+ .Status {
1326
+ display: flex;
1327
+ align-items: center;
1328
+ gap: var(--half-gap);
1329
+ padding: 2px calc(var(--gap) + env(safe-area-inset-right, 0px)) 2px
1330
+ calc(var(--gap) + env(safe-area-inset-left, 0px));
1331
+ /* Under a thumb the bar IS the door to the commands (Status.tsx), so it
1332
+ takes the tap floor — 0 under a fine pointer, where `:` opens it. */
1333
+ min-height: var(--tap);
1334
+ background: var(--surface);
1335
+ border-top: 1px solid var(--border);
1336
+ font-size: var(--small);
1337
+ position: relative; /* the hints panel anchors to the bar */
1338
+ z-index: 2; /* shell chrome clears sticky content (z1) */
1339
+ }
1340
+ /* The left side takes what the right leaves it, so a long message cuts off
1341
+ rather than crowding the badges onto a second line. */
1342
+ .Status_Left {
1343
+ flex: 1 1 0;
1344
+ min-width: 0;
1345
+ align-self: stretch;
1346
+ display: flex;
1347
+ align-items: center;
1348
+ gap: var(--half-gap);
1349
+ cursor: pointer;
1350
+ }
1351
+ .Status_Right {
1352
+ flex: 0 1 auto;
1353
+ min-width: 0;
1354
+ height: 1lh;
1355
+ display: flex;
1356
+ align-items: center;
1357
+ gap: var(--half-gap);
1358
+ }
1359
+ /* Taller than the line it sits in under a thumb, it overflows the bar's
1360
+ row rather than growing it. */
1361
+ .Status_Close {
1362
+ height: max(var(--tap), 1lh);
1363
+ min-width: 1.5rem;
1364
+ padding: 0 var(--half-gap);
1365
+ border: 0;
1366
+ background: none;
1367
+ color: var(--muted);
1368
+ font: inherit;
1369
+ font-size: 16px;
1370
+ cursor: pointer;
1371
+ }
1372
+ .Status_Close:hover {
1373
+ color: var(--text);
1374
+ }
1375
+ /* The mode, plain to see: normal in the text's own ink, insert filled. */
1376
+ .Status_Mode {
1377
+ color: var(--text);
1378
+ font-weight: 700;
1379
+ }
1380
+ .Status_Mode-insert {
1381
+ color: var(--bg);
1382
+ background: var(--active);
1383
+ padding: 0 var(--half-gap);
1384
+ border-radius: calc(var(--radius) / 2);
1385
+ }
1386
+ .Status_Mode-visual {
1387
+ color: var(--special);
1388
+ }
1389
+ /* The colon gives a thumb-sized lead to the command line. */
1390
+ .Status_Colon {
1391
+ color: var(--text);
1392
+ min-width: var(--tap);
1393
+ margin-right: calc(-1 * var(--half-gap)); /* the line hugs the colon */
1394
+ align-self: start; /* a grown line keeps the colon on its first row */
1395
+ }
1396
+ .Status_Line {
1397
+ flex: 1;
1398
+ position: relative;
1399
+ display: flex;
1400
+ align-self: start; /* the tap floor must not center it below the colon */
1401
+ }
1402
+ /* A textarea so shift+Enter can hold a newline (line 2 on becomes the
1403
+ task body). The in-flow ghost below is what SIZES the line — its copy
1404
+ of the text wraps and grows the bar in any browser — so the textarea
1405
+ just fills the space. Its wrapping rules must match the ghost's
1406
+ glyph-for-glyph, or the caret drifts off the painted copy. */
1407
+ .Status_Cmd {
1408
+ position: absolute;
1409
+ inset: 0;
1410
+ font: inherit;
1411
+ color: transparent; /* the ghost's copy paints the glyphs */
1412
+ caret-color: var(--text);
1413
+ background: none;
1414
+ border: 0;
1415
+ outline: none;
1416
+ padding: 0;
1417
+ resize: none;
1418
+ overflow: hidden;
1419
+ white-space: pre-wrap;
1420
+ overflow-wrap: break-word;
1421
+ }
1422
+ /* Selection must paint its OWN block: the UA default highlight is gone the
1423
+ moment an author ::selection rule exists, and text-on-nothing over an
1424
+ identical ghost copy is invisible. Opaque accent hides the ghost's
1425
+ glyphs under the run; dark text reads on it — vim's Visual block. */
1426
+ .Status_Cmd::selection {
1427
+ color: var(--bg);
1428
+ background: var(--accent);
1429
+ }
1430
+ /* The line's paint layer: a copy of the typed text (the verb colored once
1431
+ it names a command) places the faded completion exactly past the caret;
1432
+ the transparent textarea above keeps the caret and the selection. */
1433
+ .Status_Ghost {
1434
+ flex: 1;
1435
+ min-height: 1lh; /* an empty line still holds the caret's row */
1436
+ pointer-events: none;
1437
+ color: var(--dim);
1438
+ white-space: pre-wrap;
1439
+ overflow-wrap: break-word;
1440
+ }
1441
+ .Status_Was {
1442
+ color: var(--text);
1443
+ font-style: normal;
1444
+ }
1445
+ .Status_Verb-known {
1446
+ color: var(--accent);
1447
+ }
1448
+ .Status_Msg {
1449
+ color: var(--muted);
1450
+ min-width: 0;
1451
+ overflow: hidden;
1452
+ white-space: nowrap;
1453
+ text-overflow: ellipsis;
1454
+ }
1455
+ /* "you are …?" — the bar asks once, each candidate a quiet button. */
1456
+ .Status_You {
1457
+ color: var(--muted);
1458
+ display: flex;
1459
+ align-items: baseline;
1460
+ gap: var(--half-gap);
1461
+ }
1462
+ .Status_Person {
1463
+ font: inherit;
1464
+ color: var(--who);
1465
+ background: none;
1466
+ border: 0;
1467
+ padding: 0;
1468
+ cursor: pointer;
1469
+ }
1470
+ .Status_Person:hover {
1471
+ text-decoration: underline;
1472
+ }
1473
+
1474
+ /* The standing sync indicator (Sync.tsx, T-21441): unsent writes and refused
1475
+ ones, in the App bar. `--sync` is the variant knob — a pending pill points it
1476
+ at amber (waiting, benign), a refused pill at red (the server threw work
1477
+ away) — so the two states share one structure and differ only by that role. */
1478
+ .Sync {
1479
+ display: flex;
1480
+ align-items: center;
1481
+ gap: var(--half-gap);
1482
+ position: relative; /* the refusal panel anchors to the pill */
1483
+ }
1484
+ .Sync_Away,
1485
+ .Sync_Pending,
1486
+ .Sync_Refused {
1487
+ --sync: var(--muted);
1488
+ display: inline-flex;
1489
+ align-items: center;
1490
+ gap: 4px;
1491
+ font: inherit;
1492
+ color: var(--sync);
1493
+ background: color-mix(in srgb, var(--sync) 12%, transparent);
1494
+ /* An inset ring, not a border, and no padding above or below: the pill is
1495
+ exactly the bar's line tall. */
1496
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sync) 35%, transparent);
1497
+ border: 0;
1498
+ border-radius: 999px;
1499
+ padding: 0 var(--half-gap);
1500
+ white-space: nowrap;
1501
+ cursor: default;
1502
+ }
1503
+ .Sync_Pending {
1504
+ --sync: var(--caution);
1505
+ }
1506
+ .Sync_Refused {
1507
+ --sync: var(--negative);
1508
+ cursor: pointer;
1509
+ }
1510
+ .Sync_Refused-open,
1511
+ .Sync_Refused:hover {
1512
+ background: color-mix(in srgb, var(--sync) 22%, transparent);
1513
+ }
1514
+ /* The pip: a filled disc in the role colour; the pending one breathes so a
1515
+ stuck write reads as live activity, not a settled state. */
1516
+ .Sync_Dot {
1517
+ width: 7px;
1518
+ height: 7px;
1519
+ border-radius: 50%;
1520
+ background: var(--sync);
1521
+ }
1522
+ .Sync_Dot-pending {
1523
+ animation: sync-pulse 1.4s ease-in-out infinite;
1524
+ }
1525
+ @keyframes sync-pulse {
1526
+ 50% {
1527
+ opacity: 0.3;
1528
+ }
1529
+ }
1530
+ .Sync_Age,
1531
+ .Sync_When {
1532
+ color: var(--muted);
1533
+ }
1534
+ /* The refusal ledger, opened from the red pill: each refused write, its reason
1535
+ and age, dismissable. Anchored above the bar (the bar is the page floor). */
1536
+ .Sync_Panel {
1537
+ position: absolute;
1538
+ right: 0;
1539
+ bottom: calc(100% + var(--half-gap));
1540
+ width: min(22rem, 80vw);
1541
+ max-height: 50vh;
1542
+ overflow-y: auto;
1543
+ display: flex;
1544
+ flex-direction: column;
1545
+ gap: var(--half-gap);
1546
+ padding: var(--gap);
1547
+ background: var(--card);
1548
+ border: 1px solid var(--border2);
1549
+ border-radius: var(--radius);
1550
+ box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
1551
+ z-index: 3; /* clears the bar's own z2 */
1552
+ }
1553
+ .Sync_Item {
1554
+ display: flex;
1555
+ flex-direction: column;
1556
+ gap: 2px;
1557
+ }
1558
+ .Sync_Item + .Sync_Item {
1559
+ border-top: 1px solid var(--border);
1560
+ padding-top: var(--half-gap);
1561
+ }
1562
+ .Sync_Head {
1563
+ display: flex;
1564
+ align-items: baseline;
1565
+ gap: var(--half-gap);
1566
+ }
1567
+ .Sync_Reason {
1568
+ flex: 1;
1569
+ min-width: 0;
1570
+ color: var(--negative);
1571
+ }
1572
+ .Sync_Dismiss {
1573
+ font: inherit;
1574
+ font-size: 16px;
1575
+ line-height: 1;
1576
+ color: var(--muted);
1577
+ background: none;
1578
+ border: 0;
1579
+ padding: 0;
1580
+ cursor: pointer;
1581
+ }
1582
+ .Sync_Dismiss:hover {
1583
+ color: var(--text);
1584
+ }
1585
+ .Sync_Summary {
1586
+ color: var(--muted);
1587
+ font-size: var(--small);
1588
+ }
1589
+
1590
+ /* An external page's frozen archive, framed in a card. The page brings
1591
+ its own scrollbar, so the hosting scroller yields: no padding, no
1592
+ scrolling — the iframe fills the card edge to edge and scrolls
1593
+ itself. */
1594
+ .Web {
1595
+ width: 100%;
1596
+ height: 100%;
1597
+ min-height: 420px;
1598
+ border: 0;
1599
+ background: #fff;
1600
+ }
1601
+ .Window_Scroll:has(> .Web) {
1602
+ padding: 0;
1603
+ overflow: hidden;
1604
+ display: flex;
1605
+ flex-direction: column;
1606
+ }
1607
+ .Window_Scroll > .Web {
1608
+ /* the basis holds unsized cards at the old floor; a shorter sized pin
1609
+ shrinks the frame to fit instead of clipping it */
1610
+ flex: 1 1 420px;
1611
+ min-height: 0;
1612
+ }
1613
+ .WebWait {
1614
+ display: flex;
1615
+ align-items: center;
1616
+ gap: var(--gap);
1617
+ color: var(--muted);
1618
+ }
1619
+ .WebWait_Url {
1620
+ overflow-wrap: anywhere;
1621
+ }
1622
+ .WebWait_Error {
1623
+ color: var(--negative);
1624
+ overflow-wrap: anywhere;
1625
+ }
1626
+ .WebWait_Go {
1627
+ font: inherit;
1628
+ color: var(--muted);
1629
+ background: none;
1630
+ border: 1px solid var(--border2);
1631
+ border-radius: var(--radius);
1632
+ padding: 0 var(--half-gap);
1633
+ cursor: pointer;
1634
+ }
1635
+ .WebWait_Go:hover {
1636
+ color: var(--accent);
1637
+ }
1638
+
1639
+ /* An attached image fills the card width, keeping its own aspect (its w/h
1640
+ attributes reserve the box so nothing reflows when the bytes arrive). */
1641
+ .Media {
1642
+ display: block;
1643
+ max-width: 100%;
1644
+ height: auto;
1645
+ border-radius: var(--radius);
1646
+ }
1647
+ .Media:is(audio, video) {
1648
+ width: 100%;
1649
+ }
1650
+ /* A non-image attachment: a plain download row — name left, size right. */
1651
+ .MediaFile {
1652
+ display: flex;
1653
+ align-items: baseline;
1654
+ justify-content: space-between;
1655
+ gap: var(--gap);
1656
+ padding: var(--half-gap) 0;
1657
+ color: var(--link);
1658
+ text-decoration: none;
1659
+ }
1660
+ .MediaFile_Size {
1661
+ color: var(--muted);
1662
+ font-size: 0.85em;
1663
+ }
1664
+
1665
+ pre.Json,
1666
+ pre.Md {
1667
+ margin: 0;
1668
+ min-width: 0;
1669
+ width: 100%;
1670
+ font-size: var(--small);
1671
+ white-space: pre;
1672
+ }
1673
+
1674
+ /* A graph id in rendered prose (@yaks/markdown data-ref anchors): said in the
1675
+ link blue, monospaced like the Id chip, underlined only under the
1676
+ pointer — a reference, not a shout. */
1677
+ a[data-ref] {
1678
+ color: var(--link);
1679
+ font-family: var(--mono);
1680
+ font-size: 0.92em;
1681
+ text-decoration: none;
1682
+ }
1683
+ a[data-ref]:hover {
1684
+ text-decoration: underline;
1685
+ }
1686
+
1687
+ /* A session takes the height of what it holds and never scrolls on its own:
1688
+ the frame that hosts it (its own page, a card, a chat's box) or the page it
1689
+ sits in scrolls it, and its bar and composer stick to that scroller's edges
1690
+ while it is in view. Wide hosts place references beside the transcript. */
1691
+ .Window_Scroll:has(> .Session) {
1692
+ padding: 0;
1693
+ }
1694
+ /* Every host of a session is its width container: the responsive grid
1695
+ below keys off the room the session actually has, not the viewport —
1696
+ so a session carded narrow on a wide screen still pages. */
1697
+ .Shell_Body:has(> .Session),
1698
+ .Window_Scroll:has(> .Session) {
1699
+ container-type: inline-size;
1700
+ }
1701
+ /* On its own page it fills the floor, so a short transcript keeps the
1702
+ composer at the bottom. */
1703
+ .Shell_Body > .Session {
1704
+ flex: 1 0 auto;
1705
+ padding: 0;
1706
+ }
1707
+ .Session {
1708
+ display: grid;
1709
+ gap: 0;
1710
+ grid-template-columns: minmax(0, 1fr);
1711
+ grid-template-rows: auto auto auto 1fr auto;
1712
+ grid-template-areas:
1713
+ 'head'
1714
+ 'related'
1715
+ 'references'
1716
+ 'body'
1717
+ 'foot';
1718
+ min-width: 0;
1719
+ /* Keeps its bar's and composer's bands inside it; unlike hidden, clip makes
1720
+ no scroll container, so they stick to the scroller around it. */
1721
+ overflow: clip;
1722
+ }
1723
+ .Session:not(:has(> .Session_References)) {
1724
+ grid-template-rows: auto auto 1fr auto;
1725
+ grid-template-areas:
1726
+ 'head'
1727
+ 'related'
1728
+ 'body'
1729
+ 'foot';
1730
+ }
1731
+ .Session_Head {
1732
+ grid-area: head;
1733
+ position: sticky;
1734
+ top: 0;
1735
+ z-index: 1;
1736
+ box-sizing: border-box;
1737
+ display: flex;
1738
+ align-items: center;
1739
+ gap: var(--half-gap);
1740
+ min-width: 0; /* the head must shrink, or the Inline can never truncate */
1741
+ padding: var(--half-gap) var(--gap);
1742
+ background: var(--surface);
1743
+ border-bottom: 1px solid var(--border);
1744
+ /* A scroller sticks it inside its padding: this band covers the rows that
1745
+ would show above it there. */
1746
+ box-shadow: 0 calc(var(--gap) * -2) 0 0 var(--surface);
1747
+ }
1748
+ .SessionManage_Related {
1749
+ grid-area: related;
1750
+ display: flex;
1751
+ gap: var(--gap);
1752
+ min-width: 0;
1753
+ padding: var(--half-gap) var(--gap);
1754
+ border-bottom: 1px solid var(--border);
1755
+ background: var(--surface);
1756
+ font-size: var(--small);
1757
+ }
1758
+ .SessionManage_Group {
1759
+ min-width: 0;
1760
+ }
1761
+ .SessionManage_Gist {
1762
+ color: var(--muted);
1763
+ cursor: pointer;
1764
+ white-space: nowrap;
1765
+ }
1766
+ .SessionManage_List {
1767
+ display: grid;
1768
+ gap: var(--half-gap);
1769
+ padding: var(--half-gap) 0;
1770
+ }
1771
+ .SessionManage_Link {
1772
+ color: var(--text);
1773
+ overflow-wrap: anywhere;
1774
+ }
1775
+ .SessionManage_Input {
1776
+ display: grid;
1777
+ grid-template-columns: minmax(0, 1fr) auto;
1778
+ gap: var(--half-gap);
1779
+ /* The composer occupies its own row beneath model selection. */
1780
+ & > .Composer {
1781
+ grid-column: 1 / -1;
1782
+ }
1783
+ }
1784
+ .SessionManage_Label {
1785
+ display: flex;
1786
+ align-items: center;
1787
+ gap: var(--half-gap);
1788
+ color: var(--muted);
1789
+ font-size: var(--small);
1790
+ }
1791
+ .SessionManage_Select {
1792
+ max-width: min(34vw, 12rem);
1793
+ }
1794
+ .Session_Body {
1795
+ grid-area: body;
1796
+ display: grid;
1797
+ gap: var(--gap);
1798
+ align-content: start;
1799
+ min-width: 0;
1800
+ padding: var(--half-gap) var(--gap) var(--gap);
1801
+ }
1802
+ .Session_References {
1803
+ grid-area: references;
1804
+ min-width: 0;
1805
+ padding: var(--half-gap) var(--gap);
1806
+ border-bottom: 1px solid var(--border);
1807
+ background: var(--card);
1808
+ color: var(--muted);
1809
+ font-size: var(--small);
1810
+ }
1811
+ .Session_ReferencesGist {
1812
+ color: var(--muted);
1813
+ cursor: pointer;
1814
+ font-size: var(--small);
1815
+ list-style: none;
1816
+ text-transform: uppercase;
1817
+ }
1818
+ .Session_ReferencesGist::-webkit-details-marker {
1819
+ display: none;
1820
+ }
1821
+ .Session_ReferencesGist::after {
1822
+ content: ' ▸';
1823
+ }
1824
+ .Session_References[open] .Session_ReferencesGist::after {
1825
+ content: ' ▾';
1826
+ }
1827
+ .Session_ReferencesList {
1828
+ display: grid;
1829
+ gap: var(--half-gap);
1830
+ padding-top: var(--gap);
1831
+ }
1832
+ .Session_Reference {
1833
+ min-width: 0;
1834
+ overflow-wrap: anywhere;
1835
+ }
1836
+ .Session_Reference .Inline {
1837
+ max-width: 100%;
1838
+ }
1839
+ @container (min-width: 50rem) {
1840
+ .Session {
1841
+ grid-template-columns: minmax(0, 1fr) auto;
1842
+ grid-template-rows: auto auto 1fr auto;
1843
+ grid-template-areas:
1844
+ 'head head'
1845
+ 'related references'
1846
+ 'body references'
1847
+ 'foot foot';
1848
+ }
1849
+ .Session:has(> .Session_References[open]) {
1850
+ grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
1851
+ }
1852
+ .Session:not(:has(> .Session_References)) {
1853
+ grid-template-columns: 100%;
1854
+ grid-template-areas:
1855
+ 'head'
1856
+ 'related'
1857
+ 'body'
1858
+ 'foot';
1859
+ }
1860
+ .Session_References:not([open]) {
1861
+ justify-self: end;
1862
+ }
1863
+ }
1864
+ /* The two-pane view (Split, T-17321). Same responsive shape as the
1865
+ Session console: two panes that snap side-to-side on a narrow host and
1866
+ sit side-by-side once the container is wide. The left pane is also the
1867
+ board's scroll host (see .Split_Left in the board-snap rule above), so a
1868
+ board's columns snap within it exactly as they do fullscreen. */
1869
+ /* Every host of a Split is its width container — the grid below keys off the
1870
+ room it actually has, not the viewport, so a Split carded narrow on a wide
1871
+ screen still pages (an element can't query its OWN container). */
1872
+ .Shell_Body:has(> .Split),
1873
+ .Window_Scroll:has(> .Split) {
1874
+ container-type: inline-size;
1875
+ }
1876
+ .Split {
1877
+ display: grid;
1878
+ grid-template-columns: 100% 100%;
1879
+ grid-template-rows: minmax(0, 1fr);
1880
+ height: 100%;
1881
+ min-height: 0;
1882
+ min-width: 0;
1883
+ overflow-x: auto;
1884
+ overflow-y: hidden;
1885
+ scroll-snap-type: x mandatory;
1886
+ container-type: inline-size;
1887
+ }
1888
+ .Split_Left {
1889
+ min-width: 0;
1890
+ min-height: 0;
1891
+ display: flex;
1892
+ flex-direction: column;
1893
+ overflow: auto;
1894
+ overscroll-behavior: contain;
1895
+ scroll-snap-align: start;
1896
+ }
1897
+ .Split_Right {
1898
+ min-width: 0;
1899
+ min-height: 0;
1900
+ overflow-y: auto;
1901
+ overscroll-behavior-y: contain;
1902
+ scroll-snap-align: start;
1903
+ border-left: 1px solid var(--border);
1904
+ padding: var(--gap);
1905
+ }
1906
+ .Split_Empty {
1907
+ color: var(--muted);
1908
+ padding: var(--gap);
1909
+ font-size: var(--small);
1910
+ }
1911
+ @container (min-width: 50rem) {
1912
+ .Split {
1913
+ grid-template-columns: minmax(0, 1fr) minmax(20rem, 34rem);
1914
+ overflow-x: hidden;
1915
+ scroll-snap-type: none;
1916
+ }
1917
+ }
1918
+ /* Said but not yet heard — waiting under the log for the agent's next
1919
+ tool call (or resume) to take it into the thread. */
1920
+ .Session_Unsent {
1921
+ display: grid;
1922
+ gap: var(--half-gap);
1923
+ opacity: 0.75;
1924
+ }
1925
+ /* The composer, pinned like the bar. */
1926
+ .Session_Foot {
1927
+ grid-area: foot;
1928
+ position: sticky;
1929
+ bottom: 0;
1930
+ z-index: 1;
1931
+ box-sizing: border-box;
1932
+ display: grid;
1933
+ background: var(--surface);
1934
+ border-top: 1px solid var(--border);
1935
+ padding: var(--half-gap) var(--gap);
1936
+ box-shadow: 0 calc(var(--gap) * 2) 0 0 var(--surface); /* as the head's */
1937
+ }
1938
+ /* Task, role and lifecycle share the head's flexible lane. Titles give out
1939
+ first and paint their own ellipsis; the timestamp never claims a lane. */
1940
+ .Session_Summary {
1941
+ flex: 1;
1942
+ min-width: 0;
1943
+ }
1944
+ .Session_Summary > .Inline {
1945
+ display: block;
1946
+ overflow: hidden;
1947
+ }
1948
+ .Session_Context {
1949
+ flex: none;
1950
+ font-size: var(--small);
1951
+ color: var(--muted);
1952
+ white-space: nowrap;
1953
+ }
1954
+ .Session_Stop {
1955
+ font: inherit;
1956
+ font-size: var(--small);
1957
+ color: var(--negative);
1958
+ background: none;
1959
+ border: 1px solid var(--border2);
1960
+ border-radius: var(--radius);
1961
+ padding: 0 var(--half-gap);
1962
+ min-height: var(--tap);
1963
+ cursor: pointer;
1964
+ }
1965
+ .Session_Stop:hover {
1966
+ border-color: var(--negative);
1967
+ }
1968
+ /* Facts and unordered diagnostics fold behind one muted line. */
1969
+ .Session_Facts,
1970
+ .Session_Diagnostics {
1971
+ font-size: var(--small);
1972
+ color: var(--muted);
1973
+ }
1974
+ .Session_Gist {
1975
+ cursor: pointer;
1976
+ list-style: none;
1977
+ white-space: nowrap;
1978
+ }
1979
+ .Session_Gist::-webkit-details-marker {
1980
+ display: none;
1981
+ }
1982
+ .Session_Gist::after {
1983
+ content: ' ▸';
1984
+ }
1985
+ :is(.Session_Facts, .Session_Diagnostics)[open] .Session_Gist::after {
1986
+ content: ' ▾';
1987
+ }
1988
+ .Session_Kv {
1989
+ display: grid;
1990
+ grid-template-columns: max-content 1fr;
1991
+ gap: 2px var(--gap);
1992
+ align-items: baseline;
1993
+ padding-top: 4px;
1994
+ }
1995
+ .Session_Key {
1996
+ color: var(--muted);
1997
+ }
1998
+ .Session_Val {
1999
+ color: var(--muted);
2000
+ overflow-wrap: anywhere;
2001
+ }
2002
+ .Session_Fault {
2003
+ margin: 0;
2004
+ color: var(--muted);
2005
+ font-size: var(--small);
2006
+ overflow-wrap: anywhere;
2007
+ }
2008
+ .Session_Fault-error {
2009
+ color: var(--negative);
2010
+ }
2011
+ /* Messages sit straight on the card, each styled by its role. Only commands
2012
+ and broken-stream evidence fall back to monospace. */
2013
+ .Session_Log {
2014
+ display: grid;
2015
+ gap: var(--gap);
2016
+ font-size: inherit;
2017
+ }
2018
+ /* A long transcript renders only its tail; this reveals the rows above it
2019
+ (auto-fires as the reader nears the top, so it's rarely clicked). */
2020
+ .Session_Earlier {
2021
+ justify-self: center;
2022
+ border: 0;
2023
+ border-radius: var(--radius);
2024
+ background: var(--soft);
2025
+ color: var(--muted);
2026
+ font-size: var(--small);
2027
+ min-height: var(--tap);
2028
+ padding: 0 var(--gap);
2029
+ cursor: pointer;
2030
+ }
2031
+ .Session_Earlier:hover {
2032
+ color: var(--text);
2033
+ }
2034
+ /* Every line: the seq gutter, the transcript face beside it, and (when
2035
+ opened) the raw-event inspector wrapping to its own full-width row. */
2036
+ .Session_Line {
2037
+ display: flex;
2038
+ flex-wrap: wrap;
2039
+ gap: var(--half-gap);
2040
+ min-width: 0;
2041
+ }
2042
+ .Session_Line > :nth-child(2) {
2043
+ flex: 1 1 0;
2044
+ min-width: 0;
2045
+ }
2046
+ .Session_Content::after {
2047
+ content: '';
2048
+ display: block;
2049
+ clear: both;
2050
+ }
2051
+ .Session_Seq {
2052
+ flex: none;
2053
+ text-align: right;
2054
+ min-width: 2.5ch;
2055
+ height: min-content;
2056
+ padding: 0;
2057
+ border: 0;
2058
+ background: none;
2059
+ font-size: var(--small);
2060
+ color: var(--muted);
2061
+ cursor: pointer;
2062
+ user-select: none;
2063
+ opacity: 0;
2064
+ }
2065
+ .Session_Line:hover .Session_Seq,
2066
+ .Session_Line:focus-within .Session_Seq,
2067
+ .Session_Line-open .Session_Seq {
2068
+ opacity: 1;
2069
+ }
2070
+ .Session_Seq:hover,
2071
+ .Session_Seq:focus-visible {
2072
+ color: var(--accent);
2073
+ }
2074
+ /* The clock belongs to the entry rather than its own lane: prose may wrap
2075
+ beneath it instead of surrendering the right edge for every line. */
2076
+ .Session_When {
2077
+ float: right;
2078
+ margin-left: var(--half-gap);
2079
+ font-size: var(--small);
2080
+ color: var(--muted);
2081
+ text-decoration: none;
2082
+ }
2083
+ .Session_When:hover {
2084
+ text-decoration: underline;
2085
+ }
2086
+ /* An unparseable line: the bytes stay visible as evidence of a broken stream. */
2087
+ .Entry_Raw {
2088
+ font-family: var(--mono);
2089
+ font-size: var(--small);
2090
+ color: var(--caution); /* not JSON: the bytes as the provider wrote them */
2091
+ overflow-wrap: anywhere;
2092
+ }
2093
+ /* The inspector: the whole event as the provider wrote it. */
2094
+ .Session_Json {
2095
+ flex-basis: 100%;
2096
+ margin: 0;
2097
+ padding: var(--half-gap);
2098
+ border: 1px solid var(--border);
2099
+ border-radius: 4px;
2100
+ font-size: var(--small);
2101
+ color: var(--muted);
2102
+ white-space: pre-wrap;
2103
+ overflow-wrap: anywhere;
2104
+ max-height: 24lh;
2105
+ overflow-y: auto;
2106
+ }
2107
+ /* An expanded graph entry is a small card lens: its picker owns the top-right
2108
+ edge, while every face below comes back through Entity. */
2109
+ .Session_Line > .Entry_Lens {
2110
+ flex-basis: 100%;
2111
+ }
2112
+ .Entry_Lens {
2113
+ display: grid;
2114
+ gap: var(--half-gap);
2115
+ min-width: 0;
2116
+ padding: var(--half-gap);
2117
+ border: 1px solid var(--border);
2118
+ border-radius: var(--radius);
2119
+ }
2120
+ .Entry_Tabs {
2121
+ display: flex;
2122
+ justify-content: flex-end;
2123
+ gap: var(--gap);
2124
+ }
2125
+ .Entry {
2126
+ --entry-font-size: var(--small);
2127
+ display: flex;
2128
+ align-items: baseline;
2129
+ gap: var(--half-gap);
2130
+ min-width: 0;
2131
+ color: var(--muted);
2132
+ font-size: var(--entry-font-size);
2133
+ }
2134
+ .Entry_Line {
2135
+ flex: 1 1 auto;
2136
+ min-width: 0;
2137
+ white-space: nowrap;
2138
+ overflow: hidden;
2139
+ text-overflow: ellipsis;
2140
+ }
2141
+ .Entry_Line-command {
2142
+ font-family: var(--mono);
2143
+ white-space: pre;
2144
+ }
2145
+ /* Opened in place: the entry keeps its shape — the `$` line and status stay
2146
+ put — while its lines stop truncating and the full output drops to its own
2147
+ row beneath, so the reveal grows downward and nothing above it moves. */
2148
+ .Entry-open {
2149
+ flex-wrap: wrap;
2150
+ }
2151
+ .Entry-open .Entry_Line {
2152
+ white-space: pre-wrap;
2153
+ overflow: visible;
2154
+ text-overflow: clip;
2155
+ }
2156
+ .Entry-open .Entry_Output,
2157
+ .Entry-open .Entry_Err {
2158
+ flex-basis: 100%;
2159
+ }
2160
+ .Entry_More {
2161
+ flex: none;
2162
+ padding: 0 var(--half-gap);
2163
+ border: 0;
2164
+ background: none;
2165
+ color: var(--accent);
2166
+ cursor: pointer;
2167
+ }
2168
+ .Entry_Name,
2169
+ .Entry_Status {
2170
+ flex: none;
2171
+ color: var(--accent);
2172
+ font-family: var(--mono);
2173
+ }
2174
+ .Entry-pending .Entry_Name,
2175
+ .Entry-pending .Entry_Status {
2176
+ color: var(--active);
2177
+ }
2178
+ .Entry-success .Entry_Name,
2179
+ .Entry-success .Entry_Status {
2180
+ color: var(--positive);
2181
+ }
2182
+ .Entry-fail .Entry_Name,
2183
+ .Entry-fail .Entry_Status,
2184
+ .Entry_Error {
2185
+ color: var(--negative);
2186
+ }
2187
+ .Entry-meta {
2188
+ display: block;
2189
+ color: var(--muted);
2190
+ font-family: var(--mono);
2191
+ font-size: var(--small);
2192
+ overflow-wrap: anywhere;
2193
+ }
2194
+ /* A speaker is said in words too: a quiet border alone disappears in plain
2195
+ terminals and is too easy to miss in a long transcript. */
2196
+ .Entry_Speaker {
2197
+ color: var(--muted);
2198
+ font-size: var(--small);
2199
+ margin-bottom: var(--half-gap);
2200
+ }
2201
+ .Entry-user,
2202
+ .Entry-agent {
2203
+ --entry-font-size: 1em;
2204
+ }
2205
+ .Entry-user {
2206
+ display: block;
2207
+ padding: var(--half-gap) var(--gap);
2208
+ border-left: 2px solid var(--who);
2209
+ border-radius: 0 var(--radius) var(--radius) 0;
2210
+ background: var(--soft);
2211
+ color: var(--text);
2212
+ overflow-wrap: anywhere;
2213
+ }
2214
+ .Prompt {
2215
+ min-width: 0;
2216
+ }
2217
+ .Prompt_Gist {
2218
+ color: var(--muted);
2219
+ cursor: pointer;
2220
+ font-size: var(--small);
2221
+ list-style: none;
2222
+ text-transform: uppercase;
2223
+ }
2224
+ .Prompt_Gist::-webkit-details-marker {
2225
+ display: none;
2226
+ }
2227
+ .Prompt_Gist::after {
2228
+ content: ' ▸';
2229
+ }
2230
+ .Prompt[open] .Prompt_Gist::after {
2231
+ content: ' ▾';
2232
+ }
2233
+ .Prompt_Body {
2234
+ padding-top: var(--half-gap);
2235
+ }
2236
+ .Entry-agent {
2237
+ display: block;
2238
+ color: var(--text);
2239
+ overflow-wrap: anywhere;
2240
+ }
2241
+ .Entry_Code,
2242
+ .Entry_Err {
2243
+ margin: var(--half-gap) 0 0;
2244
+ white-space: pre-wrap;
2245
+ overflow-wrap: anywhere;
2246
+ }
2247
+ .Entry_Output {
2248
+ margin-top: var(--half-gap);
2249
+ white-space: pre-wrap;
2250
+ overflow-wrap: anywhere;
2251
+ }
2252
+ .Entry_Err-fail {
2253
+ color: var(--negative);
2254
+ }
2255
+ .Entry_Part {
2256
+ min-width: 0;
2257
+ }
2258
+ .Entry_PartName {
2259
+ margin-bottom: var(--half-gap);
2260
+ color: var(--muted);
2261
+ font-size: var(--small);
2262
+ }
2263
+ /* The model thinking out loud — muted and italic, skippable. */
2264
+ .Entry_Reason {
2265
+ color: var(--muted);
2266
+ font-size: var(--small);
2267
+ font-style: italic;
2268
+ overflow-wrap: anywhere;
2269
+ }
2270
+ /* A turn closing: a hairline flexes across, the duration and usage
2271
+ settle at its right end. */
2272
+ .Entry_Turn {
2273
+ display: flex;
2274
+ align-items: center;
2275
+ gap: var(--half-gap);
2276
+ color: var(--muted);
2277
+ font-size: var(--small);
2278
+ }
2279
+ .Entry_Turn::before {
2280
+ content: '';
2281
+ flex: 1;
2282
+ border-top: 1px solid var(--border);
2283
+ }
2284
+ /* The live tail thinks out loud. */
2285
+ .Session_Think {
2286
+ color: var(--muted);
2287
+ font-size: var(--small);
2288
+ animation: SessionPulse 1.6s ease-in-out infinite;
2289
+ }
2290
+ @keyframes SessionPulse {
2291
+ 50% {
2292
+ opacity: 0.35;
2293
+ }
2294
+ }
2295
+ /* Provider housekeeping: one muted chip line — the tag names the family,
2296
+ the text the gist, ×N how many frames it speaks for. */
2297
+ .Entry_Sys {
2298
+ display: flex;
2299
+ gap: var(--half-gap);
2300
+ align-items: baseline;
2301
+ min-width: 0;
2302
+ font-size: var(--small);
2303
+ }
2304
+ .Entry_SysTag {
2305
+ flex: none;
2306
+ color: var(--muted);
2307
+ }
2308
+ .Entry_SysText {
2309
+ color: var(--muted);
2310
+ white-space: nowrap;
2311
+ overflow: hidden;
2312
+ text-overflow: ellipsis;
2313
+ }
2314
+ .Entry_SysCount {
2315
+ flex: none;
2316
+ color: var(--muted);
2317
+ }
2318
+ /* The run itself went wrong. */
2319
+ .Entry_Oops {
2320
+ color: var(--negative);
2321
+ overflow-wrap: anywhere;
2322
+ }
2323
+ .Session_Err {
2324
+ --err: var(--muted);
2325
+
2326
+ margin: var(--half-gap) 0 0;
2327
+ padding: var(--half-gap);
2328
+ font-size: var(--small);
2329
+ color: var(--err);
2330
+ white-space: pre-wrap;
2331
+ overflow-wrap: anywhere;
2332
+ max-height: 12lh;
2333
+ overflow: auto;
2334
+ }
2335
+ .Session_Err-fail {
2336
+ --err: var(--negative);
2337
+ }
2338
+ .Ansi-bold {
2339
+ font-weight: 700;
2340
+ }
2341
+ .Ansi-dim {
2342
+ opacity: 0.65;
2343
+ }
2344
+ .Ansi-italic {
2345
+ font-style: italic;
2346
+ }
2347
+ .Ansi-underline {
2348
+ text-decoration: underline;
2349
+ }
2350
+ .Ansi-strike {
2351
+ text-decoration: line-through;
2352
+ }
2353
+ .Ansi-underline.Ansi-strike {
2354
+ text-decoration: underline line-through;
2355
+ }
2356
+ /* The reply box: a sunken box at the pane's foot, the comment rail's twin. */
2357
+ /* A session row: what it is doing, then its own short account. */
2358
+ .SessionRow {
2359
+ min-width: 0;
2360
+ font-size: var(--small);
2361
+ }
2362
+ .SessionRow_Head {
2363
+ display: flex;
2364
+ align-items: center;
2365
+ gap: var(--half-gap);
2366
+ min-width: 0;
2367
+ }
2368
+ .SessionRow_Head {
2369
+ /* the tile IS a link; it must not read as one word-by-word */
2370
+ color: inherit;
2371
+ text-decoration: none;
2372
+ }
2373
+ .SessionRow_Meta {
2374
+ flex: none;
2375
+ margin-left: auto;
2376
+ color: var(--muted);
2377
+ font-size: var(--small);
2378
+ }
2379
+ .SessionRow_Title {
2380
+ overflow: hidden;
2381
+ min-width: 0;
2382
+ text-overflow: ellipsis;
2383
+ white-space: nowrap;
2384
+ font-weight: 600;
2385
+ }
2386
+ .SessionRow_Brief {
2387
+ display: block;
2388
+ overflow: hidden;
2389
+ padding-left: calc(8px + var(--half-gap));
2390
+ color: var(--muted);
2391
+ text-overflow: ellipsis;
2392
+ white-space: nowrap;
2393
+ }
2394
+
2395
+ /* The Run door: the task verb's little form, placed where the menu was. */
2396
+ .Run {
2397
+ min-width: 12rem;
2398
+ max-width: calc(100vw - 12px);
2399
+ }
2400
+ .Run_Row {
2401
+ display: flex;
2402
+ align-items: center;
2403
+ gap: var(--half-gap);
2404
+ }
2405
+ .Run_Name {
2406
+ color: var(--muted);
2407
+ font-size: var(--small);
2408
+ min-width: 4rem;
2409
+ }
2410
+
2411
+ /* Density: one renderer, three sizes. A composite view sets --density on a
2412
+ cell and the shared row components answer through style queries — metrics
2413
+ and elisions only, never markup, so one renderer serves every tier (the
2414
+ .Row-dense var set, made selectable by a value). Unset = full: each
2415
+ rule here is inert outside a container that sets the property, which is
2416
+ what keeps boards and lists elsewhere untouched. */
2417
+ @container style(--density: summary) {
2418
+ .ListTile,
2419
+ .Row {
2420
+ padding: 2px var(--half-gap);
2421
+ font-size: var(--small);
2422
+ }
2423
+ .Row {
2424
+ --meta-stamp: none; /* provenance is the full tier's luxury */
2425
+ }
2426
+ }
2427
+ /* glance: the row folds to its marks — dot, chips, a line that ellipsizes;
2428
+ the prose and provenance yield. The Fleet Grid's tier (D-14587). */
2429
+ @container style(--density: glance) {
2430
+ .ListTile,
2431
+ .Row,
2432
+ .SessionRow {
2433
+ padding: 0 2px;
2434
+ font-size: var(--small);
2435
+ }
2436
+ .Row > .Show_Meta,
2437
+ .SessionRow_Brief,
2438
+ .Stamp {
2439
+ display: none;
2440
+ }
2441
+ .Row_Title {
2442
+ overflow: hidden;
2443
+ text-overflow: ellipsis;
2444
+ white-space: nowrap;
2445
+ }
2446
+ }
2447
+
2448
+ /* The Project Cockpit (views/Dashboard.tsx): the facet vocabulary in a
2449
+ fixed grid — Boards, each offered tab, Sessions · Lately. Every cell is a
2450
+ live query rendered through the shared rows at summary density; a long
2451
+ facet scrolls inside its cell rather than stretching the grid. */
2452
+ .Dash {
2453
+ display: grid;
2454
+ grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
2455
+ gap: var(--gap);
2456
+ }
2457
+ .Dash_Cell {
2458
+ --density: summary;
2459
+ display: grid;
2460
+ gap: var(--half-gap);
2461
+ align-content: start;
2462
+ min-width: 0;
2463
+ max-block-size: 24rem;
2464
+ overflow: auto;
2465
+ }
2466
+ .Dash_Name {
2467
+ display: flex;
2468
+ align-items: baseline;
2469
+ gap: var(--half-gap);
2470
+ margin: 0;
2471
+ font-size: var(--small);
2472
+ font-weight: normal;
2473
+ text-transform: uppercase;
2474
+ letter-spacing: 0.08em;
2475
+ color: var(--muted);
2476
+ }
2477
+ .Dash_Badge {
2478
+ min-width: 1.1em;
2479
+ padding: 0 0.25em;
2480
+ border-radius: 1em;
2481
+ background: var(--accent);
2482
+ color: var(--bg);
2483
+ font-size: var(--small);
2484
+ line-height: 1.5;
2485
+ font-variant-numeric: tabular-nums;
2486
+ text-align: center;
2487
+ }
2488
+ .Dash_Rows {
2489
+ display: grid;
2490
+ gap: 2px;
2491
+ }
2492
+ .Dash_More {
2493
+ color: var(--muted);
2494
+ font-size: var(--small);
2495
+ }
2496
+
2497
+ /* The tiling container (views/Layout.tsx, D-14718): a container pane is a
2498
+ flex row/column along its dir, each child weighted by its own size via
2499
+ inline flex-grow; gutters between siblings drag to resize. --gutter is
2500
+ the one variant knob. */
2501
+ .Layout {
2502
+ --gutter: 5px;
2503
+ display: flex;
2504
+ flex: 1;
2505
+ min-height: 0;
2506
+ overflow: hidden;
2507
+ }
2508
+ .Layout_Pane {
2509
+ position: relative;
2510
+ display: flex;
2511
+ flex-basis: 0;
2512
+ min-width: 0;
2513
+ min-height: 0;
2514
+ overflow: hidden;
2515
+ }
2516
+ .Layout_Pane-row {
2517
+ flex-direction: row;
2518
+ }
2519
+ .Layout_Pane-col {
2520
+ flex-direction: column;
2521
+ }
2522
+ .Layout_Pane-leaf {
2523
+ display: block;
2524
+ overflow: auto;
2525
+ padding: var(--half-gap);
2526
+ }
2527
+ .Layout_Gutter {
2528
+ flex: 0 0 var(--gutter);
2529
+ background: var(--border);
2530
+ background-clip: content-box;
2531
+ touch-action: none;
2532
+ }
2533
+ .Layout_Gutter-h {
2534
+ cursor: col-resize;
2535
+ padding-inline: 2px;
2536
+ }
2537
+ .Layout_Gutter-v {
2538
+ cursor: row-resize;
2539
+ padding-block: 2px;
2540
+ }
2541
+ .Layout_Gutter:hover {
2542
+ background-color: var(--accent);
2543
+ }
2544
+ .Layout_Acts {
2545
+ position: absolute;
2546
+ top: 2px;
2547
+ right: 2px;
2548
+ display: flex;
2549
+ gap: 2px;
2550
+ opacity: 0;
2551
+ transition: opacity 0.15s;
2552
+ }
2553
+ .Layout_Pane-leaf:hover > .Layout_Acts {
2554
+ opacity: 1;
2555
+ }
2556
+ .Layout_Act {
2557
+ padding: 0 5px;
2558
+ border: 1px solid var(--border2);
2559
+ border-radius: var(--radius);
2560
+ background: var(--bg);
2561
+ color: var(--muted);
2562
+ font-size: var(--small);
2563
+ line-height: 1.6;
2564
+ cursor: pointer;
2565
+ }
2566
+ .Layout_Act:hover {
2567
+ color: var(--text);
2568
+ }
2569
+ .Layout_Fill {
2570
+ display: grid;
2571
+ gap: var(--half-gap);
2572
+ align-content: center;
2573
+ justify-items: center;
2574
+ height: 100%;
2575
+ color: var(--dim);
2576
+ }
2577
+ .Layout_Input {
2578
+ width: min(24rem, 90%);
2579
+ }
2580
+ .Layout_Empty {
2581
+ margin: auto;
2582
+ color: var(--muted);
2583
+ }
2584
+ .Quarantine {
2585
+ display: flex;
2586
+ gap: 0.75rem;
2587
+ align-items: center;
2588
+ justify-content: center;
2589
+ min-height: 4rem;
2590
+ color: var(--muted);
2591
+ }
2592
+
2593
+ .Fault {
2594
+ display: flex;
2595
+ gap: 0.75rem;
2596
+ align-items: center;
2597
+ color: var(--negative);
2598
+ }
2599
+
2600
+ /* New: a form to jot in, one column at reading width; what it will write
2601
+ sits below in the mono face, as text a person could copy. */
2602
+ .New {
2603
+ display: grid;
2604
+ gap: var(--gap);
2605
+ max-width: var(--measure);
2606
+ }
2607
+ .New_Context {
2608
+ margin: 0;
2609
+ color: var(--muted);
2610
+ }
2611
+ .New_None {
2612
+ color: var(--dim);
2613
+ }
2614
+ .New_Said {
2615
+ margin: 0;
2616
+ color: var(--negative);
2617
+ font-size: var(--small);
2618
+ }
2619
+ .New_Writes {
2620
+ margin: 0;
2621
+ color: var(--muted);
2622
+ font: var(--small) var(--mono);
2623
+ white-space: pre-wrap;
2624
+ overflow-wrap: anywhere;
2625
+ }
2626
+ .New_Bar {
2627
+ display: flex;
2628
+ gap: var(--gap);
2629
+ align-items: center;
2630
+ }
2631
+ .New_Body.Field {
2632
+ min-height: 6lh;
2633
+ }
2634
+ .New .Pairs_Value > .Field {
2635
+ width: 100%;
2636
+ box-sizing: border-box;
2637
+ }
2638
+ .New .Pairs_Value > .New_Text.Field {
2639
+ min-height: 3lh;
2640
+ }
2641
+
2642
+ /* Debug: one full inspector; children are one linked ListTile row each. */
2643
+ .Debug {
2644
+ display: grid;
2645
+ gap: var(--half-gap);
2646
+ font-size: var(--small);
2647
+ }
2648
+ .Debug_Lens {
2649
+ display: grid;
2650
+ gap: var(--half-gap);
2651
+ }
2652
+ .Debug_Head {
2653
+ display: flex;
2654
+ align-items: center;
2655
+ gap: var(--half-gap);
2656
+ }
2657
+ .Debug_Head > .Debug_Item {
2658
+ flex: 1;
2659
+ min-width: 0;
2660
+ }
2661
+ .Debug_Tabs {
2662
+ display: flex;
2663
+ gap: var(--gap);
2664
+ margin-left: auto;
2665
+ flex: none;
2666
+ }
2667
+ .Debug_Item {
2668
+ display: flex;
2669
+ align-items: center;
2670
+ gap: var(--half-gap);
2671
+ }
2672
+ .Debug_Kids {
2673
+ display: grid;
2674
+ gap: 2px;
2675
+ margin-left: var(--half-gap);
2676
+ border-left: 1px solid var(--border2);
2677
+ padding-left: var(--half-gap);
2678
+ }
2679
+ .Debug_Kind {
2680
+ color: var(--muted);
2681
+ font-size: var(--small);
2682
+ }
2683
+ .Debug_Key {
2684
+ color: var(--muted);
2685
+ font-size: var(--small);
2686
+ }
2687
+ .Debug_Comp {
2688
+ color: var(--comp);
2689
+ }
2690
+ .Debug_Comp-0 {
2691
+ --comp: var(--hue-0);
2692
+ }
2693
+ .Debug_Comp-1 {
2694
+ --comp: var(--hue-1);
2695
+ }
2696
+ .Debug_Comp-2 {
2697
+ --comp: var(--hue-2);
2698
+ }
2699
+ .Debug_Comp-3 {
2700
+ --comp: var(--accent);
2701
+ }
2702
+ .Debug_Comp-4 {
2703
+ --comp: var(--hue-4);
2704
+ }
2705
+ .Debug_Comp-5 {
2706
+ --comp: var(--hue-5);
2707
+ }
2708
+ .Debug_Val-nil {
2709
+ color: var(--dim);
2710
+ font-style: italic;
2711
+ }
2712
+ .Debug_Val {
2713
+ color: var(--text);
2714
+ }
2715
+ /* The inspector shows stored bytes: a multiline value (a doc body, a
2716
+ final_text) keeps its newlines, and unbroken tokens break anywhere. */
2717
+ .Debug_Val,
2718
+ .Debug_Props .Prop_Val {
2719
+ overflow-wrap: anywhere;
2720
+ white-space: pre-wrap;
2721
+ }
2722
+ .Debug_Val-num {
2723
+ color: var(--hue-2);
2724
+ }
2725
+ /* The eid a reference stored, trailing its association chip + title: muted,
2726
+ small and mono, the raw uuid beneath the entity it names. */
2727
+ .Debug_Val-id {
2728
+ color: var(--muted);
2729
+ font: var(--small) var(--mono);
2730
+ }
2731
+ .Debug_Status {
2732
+ font-size: var(--small);
2733
+ }
2734
+ .Debug_Status-open {
2735
+ color: var(--open);
2736
+ }
2737
+ .Debug_Status-wip {
2738
+ color: var(--wip);
2739
+ }
2740
+ .Debug_Status-done {
2741
+ color: var(--done);
2742
+ }
2743
+ .Debug_Status-cancelled {
2744
+ color: var(--cancelled);
2745
+ }
2746
+ .Debug_More {
2747
+ color: var(--muted);
2748
+ }
2749
+ /* The per-component remove × — one on each group's first key, a quiet
2750
+ glyph that warms to danger on hover. A deliberate click: it deletes the
2751
+ whole component from the entity. */
2752
+ .Debug_Rm {
2753
+ font: inherit;
2754
+ background: none;
2755
+ border: 0;
2756
+ cursor: pointer;
2757
+ color: var(--muted);
2758
+ padding: 0 var(--half-gap);
2759
+ border-radius: var(--radius);
2760
+ }
2761
+ .Debug_Rm:hover {
2762
+ color: var(--hue-5);
2763
+ }
2764
+ /* The add-comp picker: a quiet trigger over a scrolling column of the
2765
+ comps this entity lacks. Mirrors the Prop popover's list, but seated in
2766
+ the flow (no overlay) — Debug is a page, not a card. */
2767
+ .Debug_Add {
2768
+ display: grid;
2769
+ gap: 2px;
2770
+ justify-items: start;
2771
+ }
2772
+ .Debug_AddBtn {
2773
+ font: inherit;
2774
+ font-size: var(--small);
2775
+ background: none;
2776
+ border: 1px dashed var(--border);
2777
+ border-radius: var(--radius);
2778
+ color: var(--muted);
2779
+ cursor: pointer;
2780
+ padding: 2px var(--half-gap);
2781
+ }
2782
+ .Debug_AddBtn:hover {
2783
+ color: var(--text);
2784
+ border-color: var(--dim);
2785
+ }
2786
+ .Debug_AddList {
2787
+ display: grid;
2788
+ gap: 1px;
2789
+ max-height: 16rem;
2790
+ overflow-y: auto;
2791
+ background: var(--card);
2792
+ border: 1px solid var(--border);
2793
+ border-radius: var(--radius);
2794
+ padding: 2px;
2795
+ }
2796
+ .Debug_AddItem {
2797
+ font: inherit;
2798
+ font-size: var(--small);
2799
+ text-align: left;
2800
+ background: none;
2801
+ border: 0;
2802
+ border-radius: var(--radius);
2803
+ cursor: pointer;
2804
+ padding: 2px var(--half-gap);
2805
+ }
2806
+ .Debug_AddItem:hover {
2807
+ background: var(--soft);
2808
+ }
2809
+
2810
+ .Debug_Linked {
2811
+ display: flex;
2812
+ align-items: baseline;
2813
+ gap: var(--half-gap);
2814
+ }
2815
+ .Debug_Via {
2816
+ color: var(--muted);
2817
+ font-size: var(--small);
2818
+ white-space: nowrap;
2819
+ }
2820
+
2821
+ .SearchPage {
2822
+ padding: 1rem;
2823
+ }