demoman 0.8.0 → 0.8.2

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 (75) hide show
  1. package/THIRD_PARTY_NOTICES +1 -1
  2. package/dist/demoman.mjs +19646 -13607
  3. package/dist/page/decode-probe-entry.js +23071 -0
  4. package/dist/page/executor-entry.js +102 -17
  5. package/dist/page/mux-entry.js +351 -107
  6. package/dist/page/render-entry.js +1931 -1147
  7. package/dist/recipe.md +248 -292
  8. package/dist/skills/record-demo/SKILL.md +5 -4
  9. package/dist/studio/assets/confirm-dialog-BGEp6bKH.css +1 -0
  10. package/dist/studio/assets/confirm-dialog-F4BR4FU0.js +72 -0
  11. package/dist/studio/assets/editor-63atCcDn.js +4 -0
  12. package/dist/studio/assets/{editor-inline-7e387eed.css → editor-inline-d74caea2.css} +10 -0
  13. package/dist/studio/assets/library-L3IU8F5q.js +1 -0
  14. package/dist/studio/assets/library-inline-3627d15c.css +1426 -0
  15. package/dist/studio/assets/settings-g3t2C3Eo.js +1 -0
  16. package/dist/studio/assets/{settings-inline-ff6d2eee.css → settings-inline-2f59fbb0.css} +12 -0
  17. package/dist/studio/assets/state-eyG4SxVq.js +1 -0
  18. package/dist/studio/assets/topbar-CgsXzkpk.js +1 -0
  19. package/dist/studio/assets/view-DzaxHB2c.js +1 -0
  20. package/dist/studio/editor.html +11 -10
  21. package/dist/studio/library.html +9 -8
  22. package/dist/studio/settings.html +8 -7
  23. package/dist/studio/studio-build.json +3 -3
  24. package/dist/studio/wallpapers/dark-1-landscape.webp +0 -0
  25. package/dist/studio/wallpapers/dark-1-portrait.webp +0 -0
  26. package/dist/studio/wallpapers/dark-1-thumb.webp +0 -0
  27. package/dist/studio/wallpapers/dark-2-landscape.webp +0 -0
  28. package/dist/studio/wallpapers/dark-2-portrait.webp +0 -0
  29. package/dist/studio/wallpapers/dark-2-thumb.webp +0 -0
  30. package/dist/studio/wallpapers/light-1-landscape.webp +0 -0
  31. package/dist/studio/wallpapers/light-1-portrait.webp +0 -0
  32. package/dist/studio/wallpapers/light-1-thumb.webp +0 -0
  33. package/dist/studio/wallpapers/light-2-landscape.webp +0 -0
  34. package/dist/studio/wallpapers/light-2-portrait.webp +0 -0
  35. package/dist/studio/wallpapers/light-2-thumb.webp +0 -0
  36. package/dist/studio/wallpapers/muted-1-landscape.webp +0 -0
  37. package/dist/studio/wallpapers/muted-1-portrait.webp +0 -0
  38. package/dist/studio/wallpapers/muted-1-thumb.webp +0 -0
  39. package/dist/studio/wallpapers/muted-2-landscape.webp +0 -0
  40. package/dist/studio/wallpapers/muted-2-portrait.webp +0 -0
  41. package/dist/studio/wallpapers/muted-2-thumb.webp +0 -0
  42. package/dist/studio/wallpapers/muted-3-landscape.webp +0 -0
  43. package/dist/studio/wallpapers/muted-3-portrait.webp +0 -0
  44. package/dist/studio/wallpapers/muted-3-thumb.webp +0 -0
  45. package/dist/studio/wallpapers/muted-4-landscape.webp +0 -0
  46. package/dist/studio/wallpapers/muted-4-portrait.webp +0 -0
  47. package/dist/studio/wallpapers/muted-4-thumb.webp +0 -0
  48. package/dist/studio/wallpapers/vivid-1-landscape.webp +0 -0
  49. package/dist/studio/wallpapers/vivid-1-portrait.webp +0 -0
  50. package/dist/studio/wallpapers/vivid-1-thumb.webp +0 -0
  51. package/dist/studio/wallpapers/vivid-2-landscape.webp +0 -0
  52. package/dist/studio/wallpapers/vivid-2-portrait.webp +0 -0
  53. package/dist/studio/wallpapers/vivid-2-thumb.webp +0 -0
  54. package/dist/studio/wallpapers/vivid-3-landscape.webp +0 -0
  55. package/dist/studio/wallpapers/vivid-3-portrait.webp +0 -0
  56. package/dist/studio/wallpapers/vivid-3-thumb.webp +0 -0
  57. package/dist/studio/wallpapers/vivid-4-landscape.webp +0 -0
  58. package/dist/studio/wallpapers/vivid-4-portrait.webp +0 -0
  59. package/dist/studio/wallpapers/vivid-4-thumb.webp +0 -0
  60. package/dist/studio/wallpapers/vivid-5-landscape.webp +0 -0
  61. package/dist/studio/wallpapers/vivid-5-portrait.webp +0 -0
  62. package/dist/studio/wallpapers/vivid-5-thumb.webp +0 -0
  63. package/dist/studio/wallpapers/vivid-6-landscape.webp +0 -0
  64. package/dist/studio/wallpapers/vivid-6-portrait.webp +0 -0
  65. package/dist/studio/wallpapers/vivid-6-thumb.webp +0 -0
  66. package/package.json +1 -1
  67. package/dist/studio/assets/confirm-dialog-Bcrw3f1a.js +0 -72
  68. package/dist/studio/assets/confirm-dialog-DSKBZQdV.css +0 -1
  69. package/dist/studio/assets/editor-DUZKtJ2T.js +0 -4
  70. package/dist/studio/assets/library-BPokDo6m.js +0 -1
  71. package/dist/studio/assets/library-inline-216fd6fd.css +0 -659
  72. package/dist/studio/assets/settings-RZj4oUzT.js +0 -1
  73. package/dist/studio/assets/state-tew-ACWl.js +0 -1
  74. package/dist/studio/assets/topbar-sSUyITjl.js +0 -1
  75. package/dist/studio/assets/view-SxAupNyx.js +0 -1
@@ -0,0 +1,1426 @@
1
+
2
+ /* Wide, on purpose — a 720px column left a third of a laptop screen
3
+ empty on each side — but capped, so on a big monitor the page
4
+ sits centred with clear margins rather than running edge to edge.
5
+ The cap is the shell's `.page`, shared with the bar above it:
6
+ 1280 less two 32px gutters holds four 270px cards with their
7
+ gaps. */
8
+ body { font-size: 14px; }
9
+ #notice { margin-bottom: 16px; }
10
+
11
+ /* Settings' shape since 2026-10-08: a left column with the title and
12
+ a jump list of the sections, held in view on a wide window; the
13
+ list beside it. The list's column starts the title's height lower
14
+ — its 36px line and 28px under it — so the first section sits
15
+ level with the jump list and the title reads as the page's. One column under 1024px, not Settings' 768: the list is a
16
+ grid of 270px cards, and beside a column at 800px it had room for
17
+ one. The storage trigger is in the top bar. */
18
+ .library { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
19
+ .library-side {
20
+ align-self: start;
21
+ min-width: 0;
22
+ /* On the dotted ground, not a card: the ground's opaque control
23
+ tones, or the dots show through a dark theme's translucent ones. */
24
+ --control: var(--control-ground);
25
+ --control-hover: var(--control-hover-ground);
26
+ }
27
+ .library-content { min-width: 0; }
28
+ /* Under 1024px the rail is not drawn: a full column of places above
29
+ the list took most of the window (the author, 2026-11-01). The
30
+ title is a button that opens the same places as a menu instead
31
+ (view.ts). Wide, the switcher is not drawn. */
32
+ .place-switch { display: none; }
33
+ @media (max-width: 1023px) {
34
+ [data-rail] { display: none; }
35
+ .place-switch:not([hidden]) {
36
+ display: inline-flex;
37
+ align-items: center;
38
+ gap: 8px;
39
+ max-width: 100%;
40
+ padding: 0;
41
+ border: 0;
42
+ background: transparent;
43
+ color: inherit;
44
+ font: inherit;
45
+ letter-spacing: inherit;
46
+ cursor: pointer;
47
+ }
48
+ .place-switch:not([hidden]) + [data-place-title] { display: none; }
49
+ }
50
+ /* Shrinks, so the name's own ellipsis (.place-name) has a width to
51
+ keep to; not clipped itself, or the glyphs' descenders go. */
52
+ .place-switch-name { min-width: 0; }
53
+ .place-switch svg {
54
+ flex: none;
55
+ width: 20px;
56
+ height: 20px;
57
+ color: var(--ink-faint);
58
+ transition: transform 120ms ease;
59
+ }
60
+ .place-switch[aria-expanded="true"] svg { transform: rotate(180deg); }
61
+ @media (min-width: 1024px) {
62
+ .library { grid-template-columns: 184px minmax(0, 1fr); gap: 48px; }
63
+ /* Held, and never taller than the window: a long rail scrolls
64
+ itself rather than running off the foot of the screen. The rail,
65
+ not the column, so the title band's name can run on past the
66
+ column into the band. */
67
+ .library-side {
68
+ position: sticky;
69
+ top: 24px;
70
+ max-height: calc(100vh - 48px);
71
+ display: flex;
72
+ flex-direction: column;
73
+ }
74
+ [data-rail] { min-height: 0; overflow-y: auto; }
75
+ .library-content { padding-top: calc(36px + 28px); }
76
+ .side-list { flex-direction: column; }
77
+ }
78
+ h1 {
79
+ margin: 0 0 28px;
80
+ font: 700 30px/1.2 "Outfit", ui-sans-serif, system-ui, sans-serif;
81
+ letter-spacing: -0.02em;
82
+ }
83
+ /* The project rail's places (All flows, each owner's projects, No
84
+ project, Couldn't read): the place shown (aria-current) in the
85
+ stronger control tone, the rest muted text that firms under the
86
+ pointer, a count at the end. */
87
+ /* A column at every width: wrapped into rows, the last projects of one
88
+ owner shared a row with "No project" and read as that owner's. */
89
+ .side-list { display: flex; flex-direction: column; gap: 2px; }
90
+ .side-item {
91
+ display: flex; align-items: center; gap: 8px;
92
+ min-width: 0;
93
+ padding: 7px 10px;
94
+ border: 0;
95
+ border-radius: var(--radius);
96
+ background: transparent;
97
+ color: var(--ink-muted);
98
+ font: inherit;
99
+ font-size: 13px; font-weight: 600;
100
+ text-align: left;
101
+ text-decoration: none;
102
+ cursor: pointer;
103
+ transition: background-color 120ms ease, color 120ms ease;
104
+ }
105
+ .side-item:hover { color: var(--ink); background: var(--control); }
106
+ .side-item[aria-pressed="true"],
107
+ .side-item[aria-current="true"] { color: var(--ink); background: var(--control-hover); }
108
+ .side-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
109
+ .side-count { margin-left: auto; font-size: 12px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
110
+ .meter {
111
+ height: 4px;
112
+ border-radius: 999px;
113
+ background: var(--control-hover);
114
+ overflow: hidden;
115
+ }
116
+ .meter-fill {
117
+ height: 100%;
118
+ border-radius: inherit;
119
+ background: var(--accent);
120
+ }
121
+ .meter[data-full] .meter-fill { background: var(--warn); }
122
+
123
+ /* The trigger: the meter, the sentence and a chevron in one quiet
124
+ button. It opens the storage panel (view.ts) and points up while
125
+ the panel is open. Its bar sits on the button's own control tone,
126
+ so the track steps once more to stay visible under the pointer. */
127
+ .storage-trigger {
128
+ gap: 10px;
129
+ color: var(--ink-muted);
130
+ font-weight: 500;
131
+ }
132
+ .storage-trigger:hover,
133
+ .storage-trigger[data-open] { color: var(--ink); }
134
+ .storage-trigger[data-open] { background: var(--control-hover); }
135
+ .storage-trigger .meter {
136
+ width: 72px;
137
+ background: var(--ring-strong);
138
+ }
139
+ [data-meter] { font-variant-numeric: tabular-nums; }
140
+ /* The word that says what the bar measures, in the button's own
141
+ stronger ink, so it reads as the label and the figure as its value. */
142
+ .storage-label { color: var(--ink); font-weight: 600; }
143
+ /* The studio's total in the same slot: the word and the figure, not a
144
+ button. The word keeps .storage-label's ink; the figure is muted. */
145
+ .library-total {
146
+ display: inline-flex;
147
+ gap: 8px;
148
+ align-items: baseline;
149
+ color: var(--ink-muted);
150
+ font-size: 13px;
151
+ font-variant-numeric: tabular-nums;
152
+ }
153
+ .storage-trigger svg {
154
+ width: 14px;
155
+ height: 14px;
156
+ transition: transform 120ms ease;
157
+ }
158
+ /* In the top bar since 2026-10-08, left of the theme switch: under
159
+ 900px the words go and the bar and chevron stay, so the bar's
160
+ right end still fits beside the tabs. The button's label carries
161
+ the numbers either way. */
162
+ @media (max-width: 899px) {
163
+ .storage-trigger .storage-label,
164
+ .storage-trigger [data-meter] { display: none; }
165
+ }
166
+ /* And under 560px, the shell's last step (shell.css, the bar), the
167
+ meter shortens, so a phone-width bar keeps one line. */
168
+ @media (max-width: 559px) {
169
+ .storage-trigger .meter { width: 44px; }
170
+ }
171
+ .storage-trigger[data-open] svg { transform: rotate(180deg); }
172
+
173
+ /* The panel: a popover in the top layer, so it floats over the list
174
+ instead of pushing it down. Placed by the script — absolute, so it
175
+ scrolls with the trigger — and edged as the split button's menu
176
+ is: a hairline ring under the overlay shadow. It floats over cards
177
+ of its own tone, and in dark the shadow alone is lost on the black
178
+ page, so the panel's edge ran into the card beneath it. No
179
+ `display` here: the UA's `[popover]:not(:popover-open)` is what
180
+ keeps it hidden. */
181
+ .storage-panel,
182
+ .place-menu {
183
+ position: absolute;
184
+ /* Capped to the room beside its trigger by view.ts's placePanel
185
+ when it does not fit; it scrolls inside then. */
186
+ overflow-y: auto;
187
+ box-sizing: border-box;
188
+ inset: auto;
189
+ margin: 0;
190
+ padding: 16px;
191
+ border: 0;
192
+ border-radius: var(--radius-card);
193
+ background: var(--card);
194
+ color: var(--ink);
195
+ box-shadow:
196
+ 0 0 0 1px var(--ring),
197
+ var(--shadow-overlay);
198
+ font-size: 13px;
199
+ }
200
+ /* The switcher's menu: the storage panel's surface, holding the rail's
201
+ own rows. */
202
+ .place-menu { padding: 4px; }
203
+ /* Manrope since 2026-10-06, as every heading under the page title is:
204
+ Outfit is the page title's and the dialogs'. */
205
+ .storage-title {
206
+ margin: 0 0 12px;
207
+ font: 700 15px/1.3 "Manrope", ui-sans-serif, system-ui, sans-serif;
208
+ }
209
+ .storage-used {
210
+ margin: 6px 0 0;
211
+ color: var(--ink-muted);
212
+ font-variant-numeric: tabular-nums;
213
+ }
214
+ .storage-field { margin-top: 16px; }
215
+ .storage-field label {
216
+ display: block;
217
+ margin-bottom: 6px;
218
+ font-size: 12px;
219
+ font-weight: 600;
220
+ color: var(--ink-muted);
221
+ }
222
+ .storage-budget-row {
223
+ display: flex;
224
+ align-items: center;
225
+ gap: 8px;
226
+ color: var(--ink-muted);
227
+ }
228
+ .storage-budget-row input {
229
+ width: 6em;
230
+ font-variant-numeric: tabular-nums;
231
+ }
232
+ .storage-hint {
233
+ margin: 6px 0 0;
234
+ font-size: 12px;
235
+ line-height: 1.4;
236
+ color: var(--ink-faint);
237
+ }
238
+ .storage-field .notice { margin-top: 8px; }
239
+ .storage-foot {
240
+ margin-top: 16px;
241
+ padding-top: 12px;
242
+ border-top: 1px solid var(--ring);
243
+ }
244
+ .storage-reclaim { width: 100%; }
245
+ .storage-reclaim svg { width: 14px; height: 14px; }
246
+
247
+ [data-notices] > .notice { margin: 0 0 16px; }
248
+
249
+ /* The list, in sections by when the take was made: Today, Yesterday,
250
+ the last week by weekday, then a month at a time (view.ts,
251
+ state.ts's sectionsOf). Each section is a fold whose summary is
252
+ its heading and count; every section starts open, and its
253
+ chevron closes it. */
254
+ /* Settings' rhythm (2026-10-06): 28px from the title block to the
255
+ first day; 40px after a day that is open, Settings' gap between
256
+ sections; 8px between closed ones. */
257
+ .section { margin-top: 8px; }
258
+ .library-content > .section:first-of-type { margin-top: 0; }
259
+ .section[open] + .section { margin-top: 40px; }
260
+
261
+ /* A section's summary: Settings' chevron, the heading, its count. */
262
+ .section-head {
263
+ list-style: none;
264
+ cursor: pointer;
265
+ display: flex;
266
+ align-items: center;
267
+ gap: 10px;
268
+ width: fit-content;
269
+ padding: 4px 8px 4px 0;
270
+ border-radius: var(--radius);
271
+ }
272
+ .section-head::-webkit-details-marker { display: none; }
273
+ .section-head:hover .chev { color: var(--ink); }
274
+ .section[open] > .section-head .chev { transform: rotate(90deg); }
275
+ /* Settings' section heading: Manrope 700 at 20px, where it was Outfit
276
+ at 15px until 2026-10-06. */
277
+ .section-head h2 {
278
+ margin: 0;
279
+ font-size: 20px;
280
+ font-weight: 700;
281
+ line-height: 1.3;
282
+ }
283
+ .section-count {
284
+ font-size: 12px;
285
+ font-weight: 600;
286
+ color: var(--ink-faint);
287
+ font-variant-numeric: tabular-nums;
288
+ }
289
+
290
+ /* The cards under a heading. Each recording is one card with its
291
+ thumbnail on top, and the card answers the pointer: a firmer ring
292
+ and a lifted shadow, nothing that moves. A grid of equal columns,
293
+ as many 270px-or-wider columns as fit (two at 800px, four at the
294
+ 1200 cap), left on the heading's own edge — a heading anchors the
295
+ left, so the centred wrap the flat gallery had (03cddd4) would
296
+ float a partial row away from it. A grid also keeps a partial last
297
+ row's cards in their columns, at the columns' width. */
298
+ .rows {
299
+ display: grid;
300
+ /* min(270px, 100%): a track cannot shrink below its minimum, so
301
+ a bare 270px would scroll a viewport narrower than that sideways. */
302
+ grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
303
+ gap: 14px;
304
+ /* Each card its own height: a video's versions opened under one
305
+ card must not stretch its neighbours to match. */
306
+ align-items: start;
307
+ }
308
+ /* The cards sit 14px under their day, as a card sits under its
309
+ title on Settings. */
310
+ .section > .rows { margin-top: 14px; }
311
+ article.card {
312
+ /* The whole card opens the editor (view.ts); the name inside it is
313
+ a field, and says so with its own cursor below. */
314
+ cursor: pointer;
315
+ /* min-width: 0 is load-bearing — a grid item's automatic minimum
316
+ is its min-content width, and the one-line meta below makes that
317
+ the whole host and path, which took a card in a 360px column to
318
+ 430px and out the side. */
319
+ min-width: 0;
320
+ display: flex;
321
+ flex-direction: column;
322
+ /* No padding: the thumbnail runs to the card's edges, and the card
323
+ clips it to its own corners. The text below carries its own. */
324
+ padding: 0;
325
+ overflow: hidden;
326
+ transition: background-color 120ms ease;
327
+ }
328
+ /* Hover was a stronger ring and a lift until 2026-09-20; flat, it is
329
+ a tone step instead. Mixed against `--ink`, NOT `--control`: in
330
+ dark `--control` is a translucent white, and as the card's OWN
331
+ background it composites over the page behind it rather than over
332
+ the card — measured 1.042:1, a highlight nobody can see. Mixing
333
+ with the theme's ink darkens in light and lightens in dark, which
334
+ is the same gesture in both (1.151 / 1.200). */
335
+ article.card:hover {
336
+ background: color-mix(in srgb, var(--ink) 7%, var(--card));
337
+ }
338
+
339
+ /* The thumbnail: the take's first keyframe at rest, a flipbook of
340
+ its keyframes while the pointer is anywhere on the card
341
+ (src/library/preview.ts). Edge to edge across the top of the card
342
+ since 2026-10-05; it was a padded well inside the card until then.
343
+ No surface of its own and no hairline under it, also since
344
+ 2026-10-05: the control tone showed in a letterboxed keyframe's
345
+ bars as a grey mat around the picture, and the author preferred
346
+ the bare image. A fixed 16:9 so the grid's rows line up; a
347
+ keyframe of another shape letterboxes inside it rather than
348
+ stretching, and its bars are the card's own colour.
349
+ The picture itself carries a hairline (D3 shots, L2): a mostly white
350
+ page pillarboxed on a white card had no edge at all. The canvas is
351
+ sized to the picture (`--thumb-ratio`, set by preview.ts) rather
352
+ than to the box, and the box clips the ring — so it shows only
353
+ where the picture meets a bar, and a picture that fills the box
354
+ stays bare, with no line under it. */
355
+ [data-preview] {
356
+ position: relative;
357
+ display: flex;
358
+ align-items: center;
359
+ justify-content: center;
360
+ width: 100%;
361
+ aspect-ratio: 16 / 9;
362
+ overflow: hidden;
363
+ container-type: size;
364
+ }
365
+ [data-preview-canvas] {
366
+ display: block;
367
+ width: min(100cqw, 100cqh * var(--thumb-ratio, 16 / 9));
368
+ height: auto;
369
+ object-fit: contain;
370
+ box-shadow: 0 0 0 1px var(--ring);
371
+ }
372
+ /* `display: block` above beats the UA's `[hidden] { display: none }`
373
+ — an author rule wins over the UA sheet whatever its specificity —
374
+ so without this the hidden canvas kept its 100% width and shoved
375
+ the note out of the box's right edge, clipped. */
376
+ [data-preview-canvas][hidden] { display: none; }
377
+ [data-preview-note] {
378
+ padding: 0 10px;
379
+ text-align: center;
380
+ font-size: 12px;
381
+ line-height: 1.4;
382
+ color: var(--ink-faint);
383
+ }
384
+ [data-preview-note]:empty { display: none; }
385
+
386
+ /* The export's length, on the picture's bottom-right corner, the way
387
+ every video player and file browser puts it. A dark scrim with
388
+ white figures in both themes, not a theme surface: it sits on a
389
+ screenshot, which is whatever colour the recorded page was. In the
390
+ page's Manrope with tabular figures since 2026-10-08, as the
391
+ editor's clock is — not `--font-mono`. */
392
+ [data-duration] {
393
+ position: absolute;
394
+ right: 8px;
395
+ bottom: 8px;
396
+ padding: 2px 6px;
397
+ border-radius: 4px;
398
+ background: rgba(0, 0, 0, 0.72);
399
+ color: #ffffff;
400
+ font-size: 11px;
401
+ line-height: 1.4;
402
+ font-variant-numeric: tabular-nums;
403
+ }
404
+ [data-duration][hidden] { display: none; }
405
+
406
+ /* The tags ride on the picture's bottom-left, opposite the length.
407
+ Stays put whatever the pointer does: a reclaimed take has to say
408
+ so without being hovered. Room kept on the right for the length,
409
+ so a tag never runs under it. */
410
+ .row-tags {
411
+ position: absolute;
412
+ left: 8px;
413
+ right: 64px;
414
+ bottom: 8px;
415
+ display: flex;
416
+ flex-wrap: wrap;
417
+ gap: 6px;
418
+ min-width: 0;
419
+ }
420
+ /* `.tag`, not `.chip`: on Settings a chip is the round on/off icon. */
421
+ .tag {
422
+ display: inline-flex;
423
+ align-items: center;
424
+ gap: 5px;
425
+ padding: 2px 8px 2px 6px;
426
+ border-radius: var(--radius);
427
+ /* The card's own surface under the tag's tone: on a picture, a
428
+ translucent dark-theme `--control` would take its colour from
429
+ the screenshot behind it. */
430
+ background:
431
+ linear-gradient(var(--control), var(--control)),
432
+ var(--card);
433
+ color: var(--ink-muted);
434
+ font-size: 11px;
435
+ font-weight: 600;
436
+ /* A whole pixel, so every tag stands 20px and the glyph-only Needs
437
+ a look flag below can be a 20px square level with them. The
438
+ inherited 1.5 made it 20.5. */
439
+ line-height: 16px;
440
+ /* One line, always: a tag that wraps mid-word is a broken pill. */
441
+ white-space: nowrap;
442
+ }
443
+ .tag svg { width: 12px; height: 12px; }
444
+ .tag-warn {
445
+ background: var(--warn-soft);
446
+ color: var(--warn);
447
+ }
448
+ /* Needs a look: the one tag that is a button, and a glyph alone — so
449
+ a square, the 20px every worded tag stands. */
450
+ .tag-look {
451
+ justify-content: center;
452
+ width: 20px;
453
+ height: 20px;
454
+ padding: 0;
455
+ border: 0;
456
+ cursor: pointer;
457
+ }
458
+ .tag-look svg { width: 14px; height: 14px; }
459
+ .tag-look:hover { filter: brightness(0.96); }
460
+ .tag-look:focus-visible {
461
+ outline: 2px solid var(--focus);
462
+ outline-offset: 2px;
463
+ }
464
+
465
+ .row-text {
466
+ min-width: 0;
467
+ padding: 8px 8px 12px 12px;
468
+ }
469
+ /* The name and the actions on one line. The name takes what the
470
+ actions leave, and clips. */
471
+ .row-title {
472
+ display: flex;
473
+ align-items: center;
474
+ gap: 8px;
475
+ min-height: 28px;
476
+ }
477
+ /* The take's name, editable in place: the editor's own name field,
478
+ in the card. Pulled back by its own 4px padding so the text sits on
479
+ the card's text edge, and the ring appears around it. */
480
+ [data-name] {
481
+ display: block;
482
+ flex: 1;
483
+ min-width: 0;
484
+ margin-left: -4px;
485
+ padding: 2px 4px;
486
+ text-overflow: ellipsis;
487
+ font: inherit;
488
+ /* 14px since 2026-10-06, the size of an item's name on Settings. */
489
+ font-size: 14px;
490
+ font-weight: 700;
491
+ line-height: 1.3;
492
+ color: inherit;
493
+ background: transparent;
494
+ border: 1px solid transparent;
495
+ border-radius: var(--radius);
496
+ cursor: text;
497
+ }
498
+ /* An untitled take: "Untitled" in the row's quiet ink, so it reads as
499
+ a state rather than as a name somebody chose. */
500
+ [data-name]::placeholder { color: var(--ink-muted); opacity: 1; }
501
+ [data-name]:hover { border-color: var(--ring); }
502
+ [data-name]:focus {
503
+ outline: none;
504
+ border-color: var(--accent);
505
+ background: var(--control);
506
+ }
507
+ /* A flow's checkbox, for a bulk delete (spec 2026-10-30
508
+ flows-and-bulk-delete §1.2): in the thumbnail's corner, shown on
509
+ the card's hover or its own focus, and on every flow card once
510
+ one is ticked. Opacity, not display: Tab still reaches it. */
511
+ .select-box {
512
+ position: absolute;
513
+ top: 8px;
514
+ left: 8px;
515
+ z-index: 1;
516
+ width: 18px;
517
+ height: 18px;
518
+ margin: 0;
519
+ accent-color: var(--ink);
520
+ cursor: pointer;
521
+ opacity: 0;
522
+ transition: opacity 120ms ease;
523
+ }
524
+ article.card:hover .select-box,
525
+ .select-box:focus-visible,
526
+ [data-selecting] .select-box {
527
+ opacity: 1;
528
+ }
529
+ /* While flows are ticked the bar's Delete is the one Delete on the
530
+ page: a flow card's own Edit and Delete step aside. Hidden by the
531
+ selecting state, not left out of the render, so a tick changes
532
+ nothing but attributes (view.ts, applySelection). */
533
+ [data-selecting] article[data-video] :is([data-action="edit"], [data-action="delete"]) {
534
+ display: none;
535
+ }
536
+ /* The list's own: in its cell, not the thumbnail's corner; shown as
537
+ the card's is, on its row's hover or keyboard focus (list spec
538
+ §4.4) — not a click's focus, which outlasts the pointer. */
539
+ .library-list .select-box {
540
+ position: static;
541
+ /* Not the thumbnail's 1: a flex item takes a z-index unpositioned,
542
+ and the boxes painted over the sticky head as rows scrolled
543
+ under it. A heading's box is lifted by its cell (below). */
544
+ z-index: auto;
545
+ }
546
+ .library-list > [data-key]:is(:hover, :focus-visible, :has(:focus-visible)) .select-box {
547
+ opacity: 1;
548
+ }
549
+ /* A grid section's own: in its head, left of the label, shown on the
550
+ head's hover or focus and while flows are ticked (the list's heading
551
+ box is shown by its row's hover, above). */
552
+ .section-head .select-box {
553
+ position: static;
554
+ flex: none;
555
+ }
556
+ .section-head:is(:hover, :focus-within) .select-box {
557
+ opacity: 1;
558
+ }
559
+ article.card[data-selected] {
560
+ box-shadow: inset 0 0 0 2px var(--ink);
561
+ }
562
+ /* Stands over the list while flows are ticked, and stays in view as
563
+ the list scrolls under it. */
564
+ .selection-bar {
565
+ position: sticky;
566
+ top: 12px;
567
+ z-index: 2;
568
+ display: flex;
569
+ flex-wrap: wrap;
570
+ align-items: center;
571
+ gap: 8px;
572
+ margin-bottom: 16px;
573
+ padding: 8px 8px 8px 14px;
574
+ border-radius: 10px;
575
+ background: var(--card);
576
+ box-shadow: inset 0 0 0 1px var(--ring);
577
+ }
578
+ .selection-count {
579
+ flex: 1;
580
+ font-weight: 500;
581
+ font-variant-numeric: tabular-nums;
582
+ }
583
+ .selection-said {
584
+ flex-basis: 100%;
585
+ margin: 0;
586
+ color: var(--ink-muted);
587
+ font-size: 13px;
588
+ }
589
+ /* Quiet glyphs beside the name, not filled buttons: at rest the card
590
+ is a picture and two lines, and four tinted squares would be the
591
+ loudest thing on it. The tone comes with the pointer. */
592
+ .row-actions {
593
+ display: flex;
594
+ align-items: center;
595
+ gap: 2px;
596
+ flex: none;
597
+ }
598
+ .row-actions .btn-icon {
599
+ width: 28px;
600
+ height: 28px;
601
+ background: transparent;
602
+ color: var(--ink-muted);
603
+ }
604
+ .row-actions .btn-icon:not(:disabled):hover {
605
+ background: var(--control-hover);
606
+ color: var(--ink);
607
+ }
608
+ /* Delete keeps the shell's red hover. Restated here because the rule
609
+ above matches it at the same specificity as the shell's own
610
+ `.btn-icon.btn-danger` hover, and wins by coming later. */
611
+ .row-actions .btn-icon.btn-danger:not(:disabled):hover {
612
+ background: var(--error-soft);
613
+ color: var(--error);
614
+ }
615
+
616
+ /* Where and when, and the size, in one place: both sit in the same
617
+ grid cell and trade opacity, so the line never changes height and
618
+ nothing below it moves. */
619
+ .row-line {
620
+ display: grid;
621
+ margin-top: 2px;
622
+ font-size: 13px;
623
+ }
624
+ .row-line > * {
625
+ grid-area: 1 / 1;
626
+ min-width: 0;
627
+ white-space: nowrap;
628
+ overflow: hidden;
629
+ text-overflow: ellipsis;
630
+ transition: opacity 120ms ease;
631
+ }
632
+ .row-meta { color: var(--ink-muted); }
633
+ .row-size {
634
+ color: var(--ink-muted);
635
+ font-variant-numeric: tabular-nums;
636
+ }
637
+ /* At rest a card is its thumbnail, its name, and where and when. The
638
+ size and the actions come with the pointer, or with focus anywhere
639
+ in the card, so the keyboard reaches them too. Opacity rather than
640
+ visibility or display: they keep their space, so nothing in the
641
+ card moves, and the actions stay in the tab order — a Tab into a
642
+ hidden button is what reveals it. */
643
+ .row-size,
644
+ .row-actions {
645
+ opacity: 0;
646
+ transition: opacity 120ms ease;
647
+ }
648
+ article.card:hover .row-size,
649
+ article.card:hover .row-actions,
650
+ article.card:focus-within .row-size,
651
+ article.card:focus-within .row-actions {
652
+ opacity: 1;
653
+ }
654
+ article.card:hover .row-meta,
655
+ article.card:focus-within .row-meta {
656
+ opacity: 0;
657
+ }
658
+ /* A device with no pointer that hovers — a touchscreen Chromebook —
659
+ never reveals them, and an invisible Delete is still where a tap
660
+ lands. There they stay in view, and the two sentences stack rather
661
+ than share a place, since nothing would ever swap them. */
662
+ @media (hover: none) {
663
+ .row-size,
664
+ .row-actions,
665
+ article.card .row-meta,
666
+ article.card:focus-within .row-meta {
667
+ opacity: 1;
668
+ }
669
+ .row-line > .row-size { grid-area: 2 / 1; }
670
+ .select-box { opacity: 1; }
671
+ }
672
+ article.card [data-status] { margin: 0 12px 12px; }
673
+ /* A video's versions, under its card: the count is the fold, and
674
+ each version a line of its number, when, and its actions. */
675
+ .versions { padding: 0 8px 8px 12px; cursor: default; }
676
+ .versions-count {
677
+ list-style: none;
678
+ cursor: pointer;
679
+ display: flex;
680
+ align-items: center;
681
+ gap: 4px;
682
+ width: fit-content;
683
+ font-size: 12.5px;
684
+ color: var(--ink-muted);
685
+ }
686
+ .versions-count::-webkit-details-marker { display: none; }
687
+ .versions > .versions-count > .chev { width: 14px; height: 14px; }
688
+ .versions-count:hover .chev { color: var(--ink); }
689
+ .versions[open] > .versions-count .chev { transform: rotate(90deg); }
690
+ .versions-list { list-style: none; margin: 6px 0 0; padding: 0; }
691
+ .version-head {
692
+ display: flex;
693
+ align-items: center;
694
+ gap: 8px;
695
+ min-height: 28px;
696
+ font-size: 12.5px;
697
+ }
698
+ .version-number { font-variant-numeric: tabular-nums; }
699
+ .version-when {
700
+ flex: 1;
701
+ min-width: 0;
702
+ color: var(--ink-muted);
703
+ white-space: nowrap;
704
+ overflow: hidden;
705
+ text-overflow: ellipsis;
706
+ }
707
+ /* The commit the version filmed, beside its day. */
708
+ .version-commit { flex: none; color: var(--ink-muted); }
709
+ .version .row-rerun { margin: 0 0 6px; font-size: 12px; color: var(--ink-muted); }
710
+ article.card .version [data-status] { margin: 0 0 6px; }
711
+ .version-exports { list-style: none; margin: 0 0 6px; padding: 0; }
712
+ .version-exports li {
713
+ display: flex;
714
+ gap: 8px;
715
+ font-size: 12px;
716
+ color: var(--ink-muted);
717
+ }
718
+ .version-exports .export-name {
719
+ flex: 1;
720
+ min-width: 0;
721
+ white-space: nowrap;
722
+ overflow: hidden;
723
+ text-overflow: ellipsis;
724
+ }
725
+ .version-exports [data-gone] .export-name { text-decoration: line-through; }
726
+ /* A folder the studio could not read is a row of words, not a take:
727
+ its name, the reason and the size are what it says, so none of
728
+ them trades places with the others at rest or under the pointer
729
+ (the take card's swap above hid the size at rest and the name and
730
+ reason while reaching for Delete). The reason names whole paths,
731
+ which have nowhere to break, so it may break anywhere rather than
732
+ run past the card. */
733
+ article.card[data-unreadable-row]:is(*, :hover, :focus-within)
734
+ :is(.row-meta, .row-size) {
735
+ opacity: 1;
736
+ }
737
+ article.card[data-unreadable-row] [data-reason] { overflow-wrap: anywhere; }
738
+
739
+ /* The list view (list spec §2.1, §4.7): a treegrid whose rows are
740
+ subgrids of one column template, so a column lines up down the
741
+ list whatever its cells hold. Narrow lists drop columns rather
742
+ than scroll sideways — Size, then Length, then Videos — and Where,
743
+ the one track with no floor, truncates before any of them goes.
744
+ The widths are the list's own (a container), not the window's:
745
+ the side column comes and goes at 1024px. */
746
+ .library-content { container: library / inline-size; }
747
+ /* The tab row: In repo · Not in repo · All at the left, List or
748
+ Grid at the right, even when the tabs are hidden. */
749
+ .tabs-row {
750
+ display: flex;
751
+ flex-wrap: wrap;
752
+ align-items: center;
753
+ gap: 12px;
754
+ margin-bottom: 8px;
755
+ }
756
+ /* The tabs keep one line: under a 600px list the box folds (below)
757
+ rather than push them onto two. */
758
+ .place-tabs { display: flex; gap: 4px; }
759
+ .layout-toggle {
760
+ display: flex;
761
+ justify-content: flex-end;
762
+ gap: 2px;
763
+ margin-left: auto;
764
+ }
765
+ /* Above the studio stylesheet's transparent `.btn-quiet.btn-icon`. */
766
+ .layout-toggle .btn.btn-icon[aria-pressed="true"] {
767
+ background: var(--control-hover);
768
+ color: var(--ink);
769
+ }
770
+ /* The search box, right of the tabs and before the toggle: the
771
+ system's field, its glyph inside the left edge and the `/` hint
772
+ inside the right (the Studio sheet pads the text clear of both).
773
+ Under a 600px list it folds to its glyph (below). */
774
+ .search-field {
775
+ position: relative;
776
+ display: flex;
777
+ align-items: center;
778
+ flex: 0 1 260px;
779
+ min-width: 180px;
780
+ margin-left: auto;
781
+ }
782
+ .search-field:not([hidden]) + .layout-toggle { margin-left: 0; }
783
+ .search-field > input { width: 100%; }
784
+ .search-field > :is(svg, kbd) {
785
+ position: absolute;
786
+ pointer-events: none;
787
+ color: var(--ink-faint);
788
+ }
789
+ .search-field > svg { left: 10px; width: 14px; height: 14px; }
790
+ .search-field > kbd {
791
+ right: 8px;
792
+ min-width: 18px;
793
+ padding: 0 4px;
794
+ border-radius: 4px;
795
+ box-shadow: inset 0 0 0 1px var(--line-2);
796
+ font-family: inherit;
797
+ font-size: 11px;
798
+ line-height: 18px;
799
+ text-align: center;
800
+ }
801
+ .search-field:focus-within > kbd { display: none; }
802
+ /* Under a 600px list, where the box would wrap under the tabs: empty
803
+ and unfocused it is its glyph alone, a pill's height square, still
804
+ the input (a press focuses it); focused it opens across the row
805
+ over the tabs, up to the toggle; holding a query it keeps the room
806
+ between the tabs and the toggle, so the query is always in view.
807
+ The Studio sheet takes the input's padding (as specific as its
808
+ own). The `/` hint goes: there is no room for it. */
809
+ @container library (max-width: 599px) {
810
+ .tabs-row { position: relative; flex-wrap: nowrap; }
811
+ .place-tabs .btn { white-space: nowrap; }
812
+ .search-field { flex: 1 1 0; min-width: 32px; margin-left: 0; }
813
+ .search-field > kbd { display: none; }
814
+ /* The toggle keeps the row's end, the box in the row or over it;
815
+ folded, the glyph stands beside it (the approved mockup). */
816
+ .search-field:not([hidden]) + .layout-toggle { margin-left: auto; }
817
+ .search-field:not(:focus-within):has(> input:placeholder-shown) {
818
+ flex: 0 0 32px;
819
+ margin-left: auto;
820
+ }
821
+ .search-field:not(:focus-within):has(> input:placeholder-shown) + .layout-toggle {
822
+ margin-left: 0;
823
+ }
824
+ .search-field:not(:focus-within) > input:placeholder-shown {
825
+ cursor: pointer;
826
+ }
827
+ .search-field:not(:focus-within) > input::placeholder { color: transparent; }
828
+ /* Open over the row, up to the toggle: its two 32px buttons and
829
+ their 2px (shell.css `.btn-icon`, `.layout-toggle` above) and
830
+ the row's 12px gap. With no toggle, to the row's end. */
831
+ .search-field:focus-within {
832
+ position: absolute;
833
+ top: 0;
834
+ left: 0;
835
+ right: calc(66px + 12px);
836
+ z-index: 2;
837
+ }
838
+ .search-field:focus-within:has(+ .layout-toggle[hidden]) { right: 0; }
839
+ }
840
+ /* A phone's list: tighter tabs (the Studio sheet's padding), the
841
+ toggle's one button the layout not shown, and no room beside the
842
+ tabs, so a held query keeps the box open over them until cleared.
843
+ At 480 the box beside the tabs is about 112px, its query 72; at
844
+ 440 it was 32, too little to read "invite" whole. */
845
+ @container library (max-width: 479px) {
846
+ .tabs-row { gap: 8px; }
847
+ /* Three-digit counts do not fit a phone's row: the tabs scroll
848
+ sideways inside their strip, with no scrollbar, rather than push
849
+ the toggle past the list's end; view.ts keeps the pressed one in
850
+ view. The 4px of padding, given back by the margin, is room for
851
+ a tab's focus ring, which the strip's clip would cut. */
852
+ .place-tabs {
853
+ gap: 2px;
854
+ min-width: 0;
855
+ margin: -4px;
856
+ padding: 4px;
857
+ overflow-x: auto;
858
+ scrollbar-width: none;
859
+ }
860
+ .layout-toggle .btn[aria-pressed="true"] { display: none; }
861
+ /* Open over the tabs, up to the toggle's one 32px button and the
862
+ row's 8px gap. With no toggle, to the row's end. */
863
+ .search-field:is(:focus-within, :not(:has(> input:placeholder-shown))) {
864
+ position: absolute;
865
+ top: 0;
866
+ left: 0;
867
+ right: calc(32px + 8px);
868
+ z-index: 2;
869
+ }
870
+ .search-field:is(:focus-within, :not(:has(> input:placeholder-shown))):has(
871
+ + .layout-toggle[hidden]
872
+ ) {
873
+ right: 0;
874
+ }
875
+ /* While a tab holds the keys, a held box steps aside to its glyph
876
+ beside the toggle, so the focused tab is not under it; it is
877
+ still the input, the next Tab stop. The Studio sheet hides its
878
+ text while it is folded so. */
879
+ .tabs-row:has(> .place-tabs:focus-within) > .search-field:not(:focus-within) {
880
+ position: relative;
881
+ flex: 0 0 32px;
882
+ margin-left: auto;
883
+ }
884
+ .tabs-row:has(> .place-tabs:focus-within) > .search-field:not(:focus-within) + .layout-toggle {
885
+ margin-left: 0;
886
+ }
887
+ }
888
+ /* Why a search found a flow: dim, after the name or in Where's
889
+ place, cut before the name is. */
890
+ .match-why {
891
+ min-width: 0;
892
+ overflow: hidden;
893
+ text-overflow: ellipsis;
894
+ white-space: nowrap;
895
+ color: var(--ink-faint);
896
+ }
897
+ /* The why keeps its width and the name gives way, down to a floor
898
+ of 35% of the cell: 56px of name at the narrowest (160px), where
899
+ 40% cut a five-letter matched word (the name's rule is with the
900
+ name's, below). A longer why is cut after the floor, its 12px and
901
+ the gap of 8, and starts at the matched word (`whyOf`). */
902
+ .library-list [data-col="name"] > .match-why {
903
+ flex: none;
904
+ max-width: calc(65% - 20px);
905
+ margin-left: 12px;
906
+ }
907
+ /* Wide, the why follows the name; the copy in Where waits. */
908
+ .library-list [data-col="where"] > .match-why { display: none; }
909
+ /* Chrome's own clear button: Esc clears, and the box adds nothing. */
910
+ .search-field > input::-webkit-search-cancel-button {
911
+ -webkit-appearance: none;
912
+ appearance: none;
913
+ display: none;
914
+ }
915
+ .none-here { margin: 28px 0 0; color: var(--ink-muted); }
916
+ /* A search's cards: one run, spaced from the tabs as a section's are. */
917
+ .rows[data-results] { margin-top: 14px; }
918
+ :is(.library-list, .unreadable-list) {
919
+ --list-row: 34px;
920
+ /* Wide enough for a video row's "Sep 26, 11:00 AM": as content
921
+ width, opening a flow widened it and moved every column left. */
922
+ --recorded: 9em;
923
+ --gap: 24px;
924
+ display: grid;
925
+ /* Select, open, Name, Where, Videos, Length, Size, Recorded: the
926
+ numbers together and the date at the row's end. The actions
927
+ hold no track; they float over the row's end (below). */
928
+ grid-template-columns:
929
+ 28px 20px minmax(160px, 3fr) minmax(0, 2fr)
930
+ 56px 64px 72px var(--recorded);
931
+ column-gap: var(--gap);
932
+ font-size: 13px;
933
+ font-variant-numeric: tabular-nums;
934
+ }
935
+ .library-list > [role="row"] {
936
+ display: grid;
937
+ grid-column: 1 / -1;
938
+ grid-template-columns: subgrid;
939
+ /* The hairline is the row's last pixel: 34 in all. */
940
+ grid-template-rows: calc(var(--list-row) - 1px);
941
+ border-bottom: 1px solid var(--ring);
942
+ /* Clear of the sticky head when the keys scroll a row into view. */
943
+ scroll-margin-top: var(--list-row);
944
+ /* What the actions float over. */
945
+ position: relative;
946
+ /* A Shift-click selects flows, not the text between them. */
947
+ user-select: none;
948
+ }
949
+ .library-list :is([data-name-text], [data-status]) { user-select: text; }
950
+ /* Under the top bar, held while the list scrolls; opaque, so a row
951
+ never shows through it. */
952
+ .library-list > [data-list-head] {
953
+ position: sticky;
954
+ top: 0;
955
+ z-index: 1;
956
+ background: var(--shell);
957
+ color: var(--ink-faint);
958
+ font-size: 12px;
959
+ font-weight: 500;
960
+ }
961
+ /* While flows are ticked the selection bar holds the top (from its
962
+ own 12px, `.selection-bar`), and the head stands beneath it;
963
+ `--selection-bar` is the bar's height, measured by view.ts. */
964
+ [data-selecting] .library-list > [data-list-head] {
965
+ top: calc(12px + var(--selection-bar, 0px));
966
+ }
967
+ [data-selecting] .library-list > [role="row"] {
968
+ scroll-margin-top: calc(12px + var(--selection-bar, 0px) + var(--list-row));
969
+ }
970
+ .library-list [data-list-head] [data-sort] {
971
+ padding: 0;
972
+ background: none;
973
+ color: inherit;
974
+ font: inherit;
975
+ cursor: pointer;
976
+ display: inline-flex;
977
+ align-items: center;
978
+ gap: 2px;
979
+ }
980
+ /* Hover lifts a heading a step, short of the sorted one's ink, so a
981
+ pointer over it never reads as a sort (DEM-32). */
982
+ .library-list [data-list-head] [data-sort]:hover { color: var(--ink-muted); }
983
+ .library-list [data-list-head] [aria-sort],
984
+ .library-list [data-list-head] [aria-sort] [data-sort] { color: var(--ink); }
985
+ .library-list [data-list-head] [data-sort] svg { width: 12px; height: 12px; }
986
+ .library-list [data-list-head] [aria-sort="ascending"] [data-sort] svg {
987
+ transform: rotate(180deg);
988
+ }
989
+ .library-list :is([role="gridcell"], [role="columnheader"]) {
990
+ min-width: 0;
991
+ line-height: calc(var(--list-row) - 1px);
992
+ white-space: nowrap;
993
+ overflow: hidden;
994
+ text-overflow: ellipsis;
995
+ }
996
+ .library-list [role="gridcell"]:focus-visible { outline-offset: -2px; }
997
+ .library-list :is([data-col="videos"], [data-col="length"], [data-col="size"]) {
998
+ text-align: right;
999
+ }
1000
+ .library-list :is([data-col="select"], [data-col="open"], [data-col="name"], [data-col="actions"]) {
1001
+ display: flex;
1002
+ align-items: center;
1003
+ gap: 8px;
1004
+ }
1005
+ .library-list [data-col="select"] { justify-content: center; }
1006
+ /* The actions hold no track: they float over the row's end, so the
1007
+ width they held goes to Name and Where, and nothing moves when
1008
+ they show. Still a cell, last in the row's keys. The empty ones
1009
+ (the head's, a heading's) keep a box for the keyboard's outline. */
1010
+ :is(.library-list, .unreadable-list) [data-col="actions"] {
1011
+ position: absolute;
1012
+ top: 0;
1013
+ right: 0;
1014
+ height: calc(var(--list-row) - 1px);
1015
+ min-width: 28px;
1016
+ justify-content: flex-end;
1017
+ /* A focused button's ring stands 2px outside it, past the row's
1018
+ end; the cells' clipping would cut it. */
1019
+ overflow: visible;
1020
+ }
1021
+ /* While flows are ticked, the flow and video rows' actions step aside
1022
+ as the cards' do, by visibility: they keep their cell, so nothing
1023
+ moves (list spec §2.1, §4.2), and the pointer's reveal below is
1024
+ opacity only, so it cannot bring them back. */
1025
+ [data-selecting] .library-list :is([data-flow], [data-video-row]) > [data-col="actions"] {
1026
+ visibility: hidden;
1027
+ }
1028
+ /* The name keeps its width while a tag beside it is clipped, and
1029
+ only a name wider than the cell is cut, at the cell's edge. */
1030
+ .library-list [data-name-text] {
1031
+ flex: none;
1032
+ max-width: 100%;
1033
+ overflow: hidden;
1034
+ text-overflow: ellipsis;
1035
+ }
1036
+ /* But a name as wide as its cell leaves its tag the glyph: a worded
1037
+ tag's padding and icon, the glyph-only tag's square, and the gap
1038
+ (DEM-34). */
1039
+ .library-list [data-col="name"]:has(> .row-tags) > [data-name-text] {
1040
+ max-width: calc(100% - 20px - 8px);
1041
+ }
1042
+ /* Beside a search's why, the name is what gives way. */
1043
+ .library-list [data-col="name"]:has(> .match-why) > [data-name-text] {
1044
+ flex: 0 1 auto;
1045
+ min-width: 0;
1046
+ }
1047
+ .library-list [data-video-row] [data-col="name"] { padding-left: 16px; }
1048
+ .library-list .row-tags {
1049
+ position: static;
1050
+ flex: 0 1 auto;
1051
+ flex-wrap: nowrap;
1052
+ min-width: 0;
1053
+ overflow: hidden;
1054
+ }
1055
+ /* A date heading is a section label, as the cards' are, not a row:
1056
+ from the list's left edge, its chevron, label and count, then a
1057
+ rule to the end; room above it and no hairline under it. Its cells
1058
+ stay in their columns for the keys; the label's cell spans them. */
1059
+ .library-list > [data-heading] {
1060
+ padding-top: 14px;
1061
+ border-bottom-color: transparent;
1062
+ color: var(--ink-faint);
1063
+ }
1064
+ /* Placed, every one: the label's cell spans the row, so a cell left
1065
+ to auto-placement would find no room on it. Videos, Length and
1066
+ Size keep their tracks while drawn; Recorded is always the last. */
1067
+ .library-list > [data-heading] > [role="gridcell"] { grid-row: 1; }
1068
+ /* Positioned, so the box is over the label's cell that spans it, and
1069
+ still under the sticky head (z 1) as rows scroll. */
1070
+ .library-list > [data-heading] > [data-col="select"] {
1071
+ grid-column: 1;
1072
+ position: relative;
1073
+ }
1074
+ .library-list > [data-heading] > [data-col="open"] { grid-column: 2; }
1075
+ .library-list > [data-heading] > [data-col="name"] {
1076
+ grid-column: 1 / -1;
1077
+ /* Past the box and the chevron. */
1078
+ padding-left: calc(28px + 20px + var(--gap));
1079
+ }
1080
+ .library-list > [data-heading] > [data-col="where"] { grid-column: 4; }
1081
+ .library-list > [data-heading] > [data-col="videos"] { grid-column: 5; }
1082
+ .library-list > [data-heading] > [data-col="length"] { grid-column: 6; }
1083
+ .library-list > [data-heading] > [data-col="size"] { grid-column: 7; }
1084
+ .library-list > [data-heading] > [data-col="recorded"] { grid-column: -2; }
1085
+ .library-list > [data-heading] > [data-col="name"]::after {
1086
+ content: "";
1087
+ flex: 1;
1088
+ height: 1px;
1089
+ background: var(--ring);
1090
+ }
1091
+ .library-list > [data-heading] .chev {
1092
+ width: 12px;
1093
+ height: 12px;
1094
+ }
1095
+ /* The UI sans: the studio's card count is mono. */
1096
+ .library-list > [data-heading] :is([data-name-text], .section-count) {
1097
+ font-family: inherit;
1098
+ font-size: 12px;
1099
+ font-weight: 600;
1100
+ }
1101
+ .library-list > [data-heading] .section-count {
1102
+ font-weight: 500;
1103
+ color: var(--ink-4, var(--ink-faint));
1104
+ }
1105
+ /* "Couldn't read" under the list: the date headings' label, with no
1106
+ chevron (it does not fold) — their room above, their line, their
1107
+ sans. The Studio's sheet gives the cards' headings it too (DEM-30). */
1108
+ .library-list ~ [data-unreadable] { margin-top: 0; }
1109
+ .library-list ~ [data-unreadable] > .section-head {
1110
+ /* A date heading row: 14px above a 34px line. */
1111
+ height: 48px;
1112
+ padding: 14px 0 1px;
1113
+ gap: 8px;
1114
+ }
1115
+ .library-list ~ [data-unreadable] > .section-head :is(h2, .section-count) {
1116
+ font-family: inherit;
1117
+ font-size: 12px;
1118
+ font-weight: 600;
1119
+ line-height: normal;
1120
+ letter-spacing: normal;
1121
+ text-transform: none;
1122
+ color: var(--ink-faint);
1123
+ }
1124
+ .library-list ~ [data-unreadable] > .section-head .section-count {
1125
+ font-weight: 500;
1126
+ color: var(--ink-4, var(--ink-faint));
1127
+ }
1128
+ /* The video's exports as small labels; a file gone is struck. */
1129
+ .library-list .version-exports {
1130
+ display: flex;
1131
+ align-items: center;
1132
+ gap: 4px;
1133
+ height: 100%;
1134
+ margin: 0;
1135
+ }
1136
+ .library-list .version-exports .export-name { display: none; }
1137
+ .library-list .version-exports .export-type {
1138
+ padding: 1px 6px;
1139
+ border-radius: var(--radius);
1140
+ background: var(--control);
1141
+ font-size: 11px;
1142
+ line-height: 1.4;
1143
+ }
1144
+ .library-list .version-exports [data-gone] .export-type {
1145
+ text-decoration: line-through;
1146
+ }
1147
+ /* The row's line: under its cells, from the name column on. */
1148
+ .library-list > [role="row"] > [data-status] {
1149
+ grid-column: 3 / -1;
1150
+ display: grid;
1151
+ gap: 4px;
1152
+ padding-bottom: 8px;
1153
+ white-space: normal;
1154
+ }
1155
+ .library-list [data-status] > p { margin: 0; }
1156
+ .library-list .row-rerun { font-size: 12px; color: var(--ink-muted); }
1157
+ /* Video rows on a raised ground; hover and keyboard focus share one
1158
+ background, and the keyboard's row adds its inset edge. */
1159
+ .library-list > [data-video-row] { background: var(--control); }
1160
+ .library-list > [data-key]:not([data-heading]):is(:hover, :focus-visible, :has(:focus-visible)) {
1161
+ background: var(--control-hover);
1162
+ }
1163
+ .library-list > [data-key]:focus-visible {
1164
+ outline: none;
1165
+ box-shadow: inset 2px 0 0 var(--focus);
1166
+ }
1167
+ /* The actions keep their cell at rest and only fade, so nothing
1168
+ moves and the keys still reach them; the selecting rule's
1169
+ `visibility` above outranks this. Over the row's end they cover
1170
+ the value under them on the hovered row's own ground (the hover
1171
+ over the page's), faded in from clear across the gap before
1172
+ Recorded, so the date is hidden whole, never half; unseen, they
1173
+ let the pointer through to that value. */
1174
+ .library-list [data-col="actions"],
1175
+ .library-list .row-actions {
1176
+ pointer-events: none;
1177
+ }
1178
+ .library-list .row-actions {
1179
+ opacity: 0;
1180
+ height: 100%;
1181
+ min-width: calc(var(--recorded) + var(--gap));
1182
+ justify-content: flex-end;
1183
+ padding-left: var(--gap);
1184
+ background:
1185
+ linear-gradient(90deg, transparent, var(--control-hover) var(--gap)),
1186
+ linear-gradient(90deg, transparent, var(--shell) var(--gap));
1187
+ }
1188
+ .library-list > [data-key]:is(:hover, :focus-visible, :has(:focus-visible)) .row-actions {
1189
+ opacity: 1;
1190
+ pointer-events: auto;
1191
+ }
1192
+ /* The keys on Recorded itself: the cover would hide the cell and
1193
+ its ring, so neither shows. */
1194
+ .library-list > [data-key]:has(> [data-col="recorded"]:focus-visible) .row-actions {
1195
+ opacity: 0;
1196
+ pointer-events: none;
1197
+ }
1198
+ /* Where nothing hovers (a touchscreen) they would show always, and
1199
+ over Recorded they covered the date (2026-11-03): there they fold
1200
+ into a menu behind a ⋯ (list.ts `rowMenu`), which takes the end of
1201
+ a Recorded track grown by its width. */
1202
+ .library-list .row-more { display: none; }
1203
+ @media (hover: none) {
1204
+ .library-list .row-actions { display: none; }
1205
+ .library-list .row-more {
1206
+ display: inline-flex;
1207
+ pointer-events: auto;
1208
+ }
1209
+ :is(.library-list, .unreadable-list) { --recorded: calc(9em + 32px); }
1210
+ .library-list > [role="row"] > [data-col="recorded"] { padding-right: 32px; }
1211
+ }
1212
+ /* Under its ⋯, the end aligned, or above it when the screen ends. */
1213
+ .row-menu {
1214
+ inset: auto;
1215
+ margin: 4px 0;
1216
+ position-area: bottom span-left;
1217
+ position-try-fallbacks: flip-block;
1218
+ min-width: 176px;
1219
+ padding: 4px;
1220
+ border: 0;
1221
+ border-radius: 10px;
1222
+ background: var(--shell);
1223
+ color: var(--ink);
1224
+ box-shadow: 0 0 0 1px var(--line-2), 0 12px 32px rgb(0 0 0 / 0.5);
1225
+ line-height: normal;
1226
+ pointer-events: auto;
1227
+ }
1228
+ .row-menu > button {
1229
+ display: flex;
1230
+ align-items: center;
1231
+ gap: 10px;
1232
+ width: 100%;
1233
+ height: 40px;
1234
+ padding: 0 12px;
1235
+ border: 0;
1236
+ border-radius: 6px;
1237
+ background: none;
1238
+ color: inherit;
1239
+ font: inherit;
1240
+ font-size: 14px;
1241
+ text-align: left;
1242
+ }
1243
+ .row-menu > button:is(:hover, :active, :focus-visible) { background: var(--control-hover); }
1244
+ .row-menu > button.btn-danger { color: var(--error); }
1245
+ .row-menu > button:disabled { color: var(--ink-faint); }
1246
+ .row-menu svg { width: 16px; height: 16px; flex: none; }
1247
+ /* A finger's row (2026-11-03): 44px, the least a tap target should
1248
+ be, where the pointer is coarse; a mouse keeps the dense 34. */
1249
+ @media (pointer: coarse) {
1250
+ :is(.library-list, .unreadable-list) { --list-row: 44px; }
1251
+ }
1252
+ .library-list > [aria-expanded="true"] .chev { transform: rotate(90deg); }
1253
+ /* An opening flow's videos fade in; no height animation. */
1254
+ .library-list > [data-video-row] { transition: opacity 120ms ease; }
1255
+ @starting-style {
1256
+ .library-list > [data-video-row][data-opening] { opacity: 0; }
1257
+ }
1258
+ @media (prefers-reduced-motion: reduce) {
1259
+ .library-list > [data-video-row],
1260
+ .library-list [data-col="open"] .chev,
1261
+ .library-list .row-actions { transition: none; }
1262
+ }
1263
+ /* Under a 760px list the box holds no track and the gaps narrow, so
1264
+ the chevron starts at the list's left edge (the tab row's) and the
1265
+ name follows it closely: 96px of a 560px list was all box, chevron
1266
+ and gaps, and the rows read shifted right of the tab row. The box
1267
+ hangs in the margin left of the chevron, the width its track had,
1268
+ and shows by the same rules; the placements below are the wide
1269
+ ones a track to the left. */
1270
+ @container library (max-width: 759px) {
1271
+ :is(.library-list, .unreadable-list) {
1272
+ --gap: 12px;
1273
+ grid-template-columns:
1274
+ 20px minmax(140px, 3fr) minmax(0, 2fr)
1275
+ 56px 64px var(--recorded);
1276
+ }
1277
+ .library-list > [role="row"] > [data-col="select"] {
1278
+ position: absolute;
1279
+ top: 0;
1280
+ right: 100%;
1281
+ width: 28px;
1282
+ height: calc(var(--list-row) - 1px);
1283
+ }
1284
+ /* The sticky head and the selection bar stand over the rows as
1285
+ they scroll, so they cover the margin the boxes hang in too, or a
1286
+ column of boxes slides past them: the bar from 12px above it,
1287
+ its sticky top. */
1288
+ .library-list > [data-list-head] > [data-col="select"] {
1289
+ height: var(--list-row);
1290
+ background: var(--shell);
1291
+ }
1292
+ .selection-bar::before {
1293
+ content: "";
1294
+ position: absolute;
1295
+ top: -12px;
1296
+ bottom: 0;
1297
+ right: 100%;
1298
+ width: 28px;
1299
+ background: var(--shell);
1300
+ }
1301
+ .library-list > [data-heading] > [data-col="open"] { grid-column: 1; }
1302
+ .library-list > [data-heading] > [data-col="name"] {
1303
+ padding-left: calc(20px + var(--gap));
1304
+ }
1305
+ .library-list > [data-heading] > [data-col="where"] { grid-column: 3; }
1306
+ .library-list > [data-heading] > [data-col="videos"] { grid-column: 4; }
1307
+ .library-list > [data-heading] > [data-col="length"] { grid-column: 5; }
1308
+ .library-list > [role="row"] > [data-status] { grid-column: 2 / -1; }
1309
+ :is(.library-list, .unreadable-list) [data-col="size"] { display: none; }
1310
+ }
1311
+ /* Where the name column narrows, the why takes Where's place, as on
1312
+ a card, and runs on to Recorded over Videos and Length, as the
1313
+ unreadable rows' reason does: in the name cell it was cut to "st…". */
1314
+ @container library (max-width: 759px) {
1315
+ .library-list [data-col="name"] > .match-why,
1316
+ .library-list [data-col="where"] > [data-where-text]:has(+ .match-why) {
1317
+ display: none;
1318
+ }
1319
+ .library-list [data-col="where"] > .match-why { display: inline; }
1320
+ .library-list > [role="row"]:has(> [data-col="where"] > .match-why) > [data-col="where"] {
1321
+ grid-column: 3 / -2;
1322
+ }
1323
+ .library-list
1324
+ > [role="row"]:has(> [data-col="where"] > .match-why)
1325
+ > :is([data-col="videos"], [data-col="length"]) {
1326
+ display: none;
1327
+ }
1328
+ }
1329
+ @container library (max-width: 639px) {
1330
+ :is(.library-list, .unreadable-list) {
1331
+ grid-template-columns:
1332
+ 20px minmax(120px, 3fr) minmax(0, 2fr)
1333
+ 56px var(--recorded);
1334
+ }
1335
+ .library-list [data-col="length"] { display: none; }
1336
+ }
1337
+ @container library (max-width: 559px) {
1338
+ :is(.library-list, .unreadable-list) {
1339
+ grid-template-columns:
1340
+ 20px minmax(120px, 3fr) minmax(0, 2fr)
1341
+ var(--recorded);
1342
+ }
1343
+ .library-list [data-col="videos"] { display: none; }
1344
+ }
1345
+ /* A phone's list (under 480, the tab row's cut too) drops Where: at
1346
+ 31px it read "/or…". The name takes its room, and a search's why
1347
+ goes back beside the name, as wide. A video's export labels, in
1348
+ its Where, go with it. */
1349
+ @container library (max-width: 479px) {
1350
+ .library-list {
1351
+ grid-template-columns: 20px minmax(0, 1fr) var(--recorded);
1352
+ }
1353
+ .library-list [data-col="where"] { display: none; }
1354
+ .library-list [data-col="name"] > .match-why { display: inline; }
1355
+ }
1356
+ /* "Couldn't read" in the list layout, drawn in its own place (no flow
1357
+ rows and no column heads above it): the list's column template, so
1358
+ the name, reason and size sit where a flow's Name, Where and Size
1359
+ would. Delete floats over the row's end, as a flow's actions do,
1360
+ and shows at rest: it is all these rows do. */
1361
+ .unreadable-list > .unreadable-row {
1362
+ position: relative;
1363
+ display: grid;
1364
+ grid-column: 1 / -1;
1365
+ grid-template-columns: subgrid;
1366
+ grid-template-rows: calc(var(--list-row) - 1px);
1367
+ align-items: center;
1368
+ border-bottom: 1px solid var(--ring);
1369
+ }
1370
+ .unreadable-list > .unreadable-row > [data-col] {
1371
+ min-width: 0;
1372
+ white-space: nowrap;
1373
+ overflow: hidden;
1374
+ text-overflow: ellipsis;
1375
+ }
1376
+ .unreadable-list > .unreadable-row > [data-col="name"] { grid-column: 3; }
1377
+ .unreadable-list > .unreadable-row > [data-col="where"] {
1378
+ grid-column: 4 / -3;
1379
+ color: var(--ink-muted);
1380
+ }
1381
+ .unreadable-list > .unreadable-row > [data-col="size"] { grid-column: -3; text-align: right; }
1382
+ .unreadable-list > .unreadable-row > [data-col="actions"] {
1383
+ display: flex;
1384
+ align-items: center;
1385
+ }
1386
+ .unreadable-list > .unreadable-row > [data-status] {
1387
+ grid-column: 3 / -1;
1388
+ padding-bottom: 8px;
1389
+ white-space: normal;
1390
+ }
1391
+ .unreadable-list > .unreadable-row > [data-status] > p { margin: 0; }
1392
+ /* Under a 760px list, the same a track to the left (above), after
1393
+ the rules it overrides; the reason runs on to Recorded, the size it
1394
+ stood beside gone. */
1395
+ @container library (max-width: 759px) {
1396
+ .unreadable-list > .unreadable-row > [data-col="name"] { grid-column: 2; }
1397
+ .unreadable-list > .unreadable-row > [data-col="where"] { grid-column: 3 / -2; }
1398
+ .unreadable-list > .unreadable-row > [data-status] { grid-column: 2 / -1; }
1399
+ }
1400
+
1401
+ /* Last: every `display` above loses to `hidden` (shell.css's note on
1402
+ `.hidden`). */
1403
+ .library-list [hidden],
1404
+ .library-list > [role="row"] > [data-status][hidden],
1405
+ .layout-toggle[hidden],
1406
+ .search-field[hidden],
1407
+ .tabs-row[hidden],
1408
+ .place-tabs[hidden] { display: none; }
1409
+
1410
+ /* The empty states: the shell's `.empty`, on a card, as on Settings. */
1411
+ .empty-card {
1412
+ margin-top: 28px;
1413
+ padding: 20px 24px;
1414
+ }
1415
+ .empty .btn-link {
1416
+ display: inline;
1417
+ padding: 0;
1418
+ text-decoration: underline;
1419
+ text-underline-offset: 2px;
1420
+ }
1421
+
1422
+ /* Repeated from the shell, on purpose: rules above set `display` at
1423
+ the same specificity, and this file loads after the shell, so the
1424
+ shell's own `.hidden` would lose to them. */
1425
+ .hidden { display: none; }
1426
+