@catchlight/editor-web 0.0.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/LICENSE-APACHE +201 -0
  2. package/LICENSE-MIT +21 -0
  3. package/README.md +26 -2
  4. package/THIRD-PARTY-NOTICES.md +331 -0
  5. package/dist/editor/CatchlightEditor.d.ts +21 -0
  6. package/dist/editor/CatchlightEditor.js +720 -0
  7. package/dist/editor/dialogs.d.ts +18 -0
  8. package/dist/editor/dialogs.js +71 -0
  9. package/dist/editor/import-panel.d.ts +6 -0
  10. package/dist/editor/import-panel.js +98 -0
  11. package/dist/editor/logo.svg +11 -0
  12. package/dist/editor/notification.d.ts +4 -0
  13. package/dist/editor/notification.js +24 -0
  14. package/dist/editor/stage.d.ts +13 -0
  15. package/dist/editor/stage.js +23 -0
  16. package/dist/editor/test/setup.d.ts +5 -0
  17. package/dist/editor/test/setup.js +5 -0
  18. package/dist/index.d.ts +11 -0
  19. package/dist/index.js +10 -0
  20. package/dist/lib/animations-panel.d.ts +10 -0
  21. package/dist/lib/animations-panel.js +48 -0
  22. package/dist/lib/authoring.d.ts +17 -0
  23. package/dist/lib/authoring.js +116 -0
  24. package/dist/lib/binding-grid.d.ts +19 -0
  25. package/dist/lib/binding-grid.js +92 -0
  26. package/dist/lib/bindings.d.ts +21 -0
  27. package/dist/lib/bindings.js +100 -0
  28. package/dist/lib/camera.d.ts +21 -0
  29. package/dist/lib/camera.js +61 -0
  30. package/dist/lib/controls-panel.d.ts +36 -0
  31. package/dist/lib/controls-panel.js +201 -0
  32. package/dist/lib/controls.d.ts +103 -0
  33. package/dist/lib/controls.js +163 -0
  34. package/dist/lib/editing.d.ts +126 -0
  35. package/dist/lib/editing.js +415 -0
  36. package/dist/lib/editor-context.d.ts +15 -0
  37. package/dist/lib/editor-context.js +23 -0
  38. package/dist/lib/expressions-panel.d.ts +10 -0
  39. package/dist/lib/expressions-panel.js +120 -0
  40. package/dist/lib/file-open.d.ts +11 -0
  41. package/dist/lib/file-open.js +25 -0
  42. package/dist/lib/file-save.d.ts +29 -0
  43. package/dist/lib/file-save.js +68 -0
  44. package/dist/lib/gizmo.d.ts +13 -0
  45. package/dist/lib/gizmo.js +247 -0
  46. package/dist/lib/image-markup.d.ts +12 -0
  47. package/dist/lib/image-markup.js +153 -0
  48. package/dist/lib/index.d.ts +71 -0
  49. package/dist/lib/index.js +44 -0
  50. package/dist/lib/inspector.d.ts +19 -0
  51. package/dist/lib/inspector.js +161 -0
  52. package/dist/lib/latest.d.ts +3 -0
  53. package/dist/lib/latest.js +9 -0
  54. package/dist/lib/layer-import.d.ts +38 -0
  55. package/dist/lib/layer-import.js +187 -0
  56. package/dist/lib/mesh-editor.d.ts +13 -0
  57. package/dist/lib/mesh-editor.js +337 -0
  58. package/dist/lib/model-panels.d.ts +23 -0
  59. package/dist/lib/model-panels.js +180 -0
  60. package/dist/lib/node-actions.d.ts +42 -0
  61. package/dist/lib/node-actions.js +115 -0
  62. package/dist/lib/node-drag.d.ts +18 -0
  63. package/dist/lib/node-drag.js +65 -0
  64. package/dist/lib/node-patch.d.ts +8 -0
  65. package/dist/lib/node-patch.js +10 -0
  66. package/dist/lib/node-tree.d.ts +36 -0
  67. package/dist/lib/node-tree.js +221 -0
  68. package/dist/lib/official.d.ts +82 -0
  69. package/dist/lib/official.js +197 -0
  70. package/dist/lib/param-actions.d.ts +48 -0
  71. package/dist/lib/param-actions.js +106 -0
  72. package/dist/lib/param-list.d.ts +36 -0
  73. package/dist/lib/param-list.js +73 -0
  74. package/dist/lib/param-slider.d.ts +44 -0
  75. package/dist/lib/param-slider.js +149 -0
  76. package/dist/lib/pose.d.ts +13 -0
  77. package/dist/lib/pose.js +32 -0
  78. package/dist/lib/posing-panel.d.ts +40 -0
  79. package/dist/lib/posing-panel.js +154 -0
  80. package/dist/lib/presence.d.ts +27 -0
  81. package/dist/lib/presence.js +98 -0
  82. package/dist/lib/properties-panel.d.ts +13 -0
  83. package/dist/lib/properties-panel.js +63 -0
  84. package/dist/lib/recording-panel.d.ts +4 -0
  85. package/dist/lib/recording-panel.js +161 -0
  86. package/dist/lib/replica.d.ts +18 -0
  87. package/dist/lib/replica.js +34 -0
  88. package/dist/lib/review.d.ts +113 -0
  89. package/dist/lib/review.js +529 -0
  90. package/dist/lib/rigging.d.ts +10 -0
  91. package/dist/lib/rigging.js +116 -0
  92. package/dist/lib/selection.d.ts +3 -0
  93. package/dist/lib/selection.js +2 -0
  94. package/dist/lib/session-list.d.ts +16 -0
  95. package/dist/lib/session-list.js +7 -0
  96. package/dist/lib/sessions.d.ts +8 -0
  97. package/dist/lib/sessions.js +29 -0
  98. package/dist/lib/test/harness.d.ts +32 -0
  99. package/dist/lib/test/harness.js +139 -0
  100. package/dist/lib/test/setup.d.ts +4 -0
  101. package/dist/lib/test/setup.js +5 -0
  102. package/dist/lib/versions.d.ts +69 -0
  103. package/dist/lib/versions.js +250 -0
  104. package/dist/lib/viewport.d.ts +57 -0
  105. package/dist/lib/viewport.js +315 -0
  106. package/dist/lib/workspace-layout.d.ts +24 -0
  107. package/dist/lib/workspace-layout.js +145 -0
  108. package/dist/lib/workspace.d.ts +29 -0
  109. package/dist/lib/workspace.js +263 -0
  110. package/dist/theme.css +4577 -0
  111. package/package.json +32 -6
package/dist/theme.css ADDED
@@ -0,0 +1,4577 @@
1
+ /* Catchlight's default theme. Hosts override tokens or compose the unstyled
2
+ * React parts; every rule stays inside this layer and the .catchlight root. */
3
+ /* The native apps' palette in crates/catchlight-ui/src/theme.rs must match
4
+ * the colours, radii, gutter, font sizes and control and row heights here.
5
+ * Nothing generates either file; change both together. */
6
+ @layer catchlight {
7
+ .catchlight {
8
+ /* The blues are the gradient stops in assets/logo.svg. */
9
+ --cl-accent: #72bffb;
10
+ --cl-accent-hover: #9bd3fd;
11
+ --cl-accent-strong: #68b7f7;
12
+ --cl-on-accent: #0b2233;
13
+ --cl-accent-soft: #16303f;
14
+ --cl-selection-text: #dcefff;
15
+ /* Anything an agent said or is doing. */
16
+ --cl-agent: #b9a3ff;
17
+ --cl-agent-soft: #241f3d;
18
+ --cl-ok: #7fd6a4;
19
+ --cl-warn: #e9bd81;
20
+ --cl-danger: #f5a6a6;
21
+ --cl-record: #dc3345;
22
+ --cl-record-hover: #c2293a;
23
+ --cl-record-marker: #ff6370;
24
+ --cl-record-text: #ffcbc7;
25
+ --cl-record-soft: #33222a;
26
+ /* Backdrop, input wells, panels, controls, darkest first. The stage is
27
+ * the colour the viewport clears to (CLEAR in the wasm viewport). */
28
+ --cl-crust: #090b0e;
29
+ --cl-well: #0d1014;
30
+ --cl-bg: #171d22;
31
+ --cl-mantle: #14181d;
32
+ --cl-surface: #1d232a;
33
+ --cl-surface-raised: #272f38;
34
+ --cl-surface-active: #323c47;
35
+ --cl-border: #20262d;
36
+ --cl-border-strong: #333d48;
37
+ --cl-divider: #1e242b;
38
+ --cl-row-hover: #ffffff05;
39
+ --cl-text: #e7ebef;
40
+ --cl-text-secondary: #b3bcc6;
41
+ --cl-text-dim: #8491a0;
42
+ --cl-radius: 6px;
43
+ --cl-radius-large: 12px;
44
+ --cl-gutter: 6px;
45
+ --cl-font:
46
+ "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
47
+ --cl-font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
48
+ --cl-font-size: 13px;
49
+ --cl-font-size-small: 11px;
50
+ --cl-shadow: 0 16px 64px #0008, 0 1px 4px #0006;
51
+ --cl-island-shadow: 0 6px 18px #0006, 0 1px 2px #0006;
52
+ --cl-control-height: 28px;
53
+ /* The dock's denser rows. */
54
+ --cl-control-height-compact: 24px;
55
+ --cl-row-height: 28px;
56
+ --cl-label-width: 70px;
57
+ --cl-panel-width: 248px;
58
+ --cl-properties-width: 304px;
59
+ --cl-toolbar-height: 44px;
60
+ --cl-model-tabs-height: 0px;
61
+ --cl-status-height: 24px;
62
+ inline-size: 100%;
63
+ block-size: 100%;
64
+ min-block-size: 0;
65
+ background: var(--cl-crust);
66
+ color: var(--cl-text);
67
+ font: var(--cl-font-size) / 1.5 var(--cl-font);
68
+ color-scheme: dark;
69
+ accent-color: var(--cl-accent);
70
+ isolation: isolate;
71
+ -webkit-font-smoothing: antialiased;
72
+ }
73
+ .catchlight *,
74
+ .catchlight *::before,
75
+ .catchlight *::after {
76
+ box-sizing: border-box;
77
+ }
78
+ .catchlight :focus-visible {
79
+ outline: 2px solid var(--cl-accent);
80
+ outline-offset: 2px;
81
+ }
82
+ .catchlight ::selection {
83
+ background: var(--cl-accent);
84
+ color: var(--cl-crust);
85
+ }
86
+ .catchlight :where(button, input, select, textarea) {
87
+ font: inherit;
88
+ color: inherit;
89
+ }
90
+ .catchlight :where(button, summary, select) {
91
+ -webkit-tap-highlight-color: transparent;
92
+ }
93
+ .catchlight button {
94
+ display: inline-flex;
95
+ align-items: center;
96
+ justify-content: center;
97
+ gap: 7px;
98
+ padding: 3px 10px;
99
+ border: 1px solid transparent;
100
+ border-radius: var(--cl-radius);
101
+ background: var(--cl-surface);
102
+ cursor: pointer;
103
+ line-height: 1.4;
104
+ white-space: nowrap;
105
+ transition:
106
+ background 0.12s,
107
+ border-color 0.12s,
108
+ color 0.12s;
109
+ min-height: var(--cl-control-height);
110
+ }
111
+ .catchlight button:hover:not(:disabled) {
112
+ background: var(--cl-surface-raised);
113
+ color: var(--cl-text);
114
+ }
115
+ .catchlight button:active:not(:disabled) {
116
+ background: var(--cl-surface-active);
117
+ }
118
+ .catchlight button:disabled {
119
+ opacity: 0.35;
120
+ cursor: not-allowed;
121
+ }
122
+ .catchlight button[data-primary] {
123
+ color: var(--cl-on-accent);
124
+ background: var(--cl-accent);
125
+ font-weight: 650;
126
+ }
127
+ .catchlight button[data-primary]:hover:not(:disabled) {
128
+ background: var(--cl-accent-hover);
129
+ color: var(--cl-on-accent);
130
+ }
131
+ .catchlight button[data-catchlight-icon-button] {
132
+ padding: 4px;
133
+ background: transparent;
134
+ color: var(--cl-text-secondary);
135
+ width: var(--cl-control-height);
136
+ height: var(--cl-control-height);
137
+ flex: 0 0 var(--cl-control-height);
138
+ }
139
+ .catchlight button[aria-pressed="true"] {
140
+ background: var(--cl-accent-soft);
141
+ border-color: transparent;
142
+ color: var(--cl-selection-text);
143
+ }
144
+ .catchlight button[data-catchlight-danger] {
145
+ color: var(--cl-danger);
146
+ background: color-mix(in srgb, var(--cl-danger) 6%, transparent);
147
+ }
148
+ .catchlight
149
+ :where(input:not([type="range"]):not([type="checkbox"]), select, textarea) {
150
+ border-radius: var(--cl-radius);
151
+ background: var(--cl-surface);
152
+ padding: 3px 8px;
153
+ width: 100%;
154
+ min-width: 0;
155
+ outline-offset: 0;
156
+ min-height: var(--cl-control-height);
157
+ border: 1px solid transparent;
158
+ }
159
+ .catchlight :where(input, textarea)::placeholder {
160
+ color: var(--cl-text-dim);
161
+ opacity: 0.8;
162
+ }
163
+ .catchlight input[type="number"] {
164
+ font-variant-numeric: tabular-nums;
165
+ -moz-appearance: textfield;
166
+ }
167
+ .catchlight input::-webkit-inner-spin-button,
168
+ .catchlight input::-webkit-outer-spin-button {
169
+ -webkit-appearance: none;
170
+ margin: 0;
171
+ }
172
+ .catchlight input[type="checkbox"] {
173
+ width: 14px;
174
+ height: 14px;
175
+ margin: 0;
176
+ cursor: pointer;
177
+ }
178
+ .catchlight input[type="range"] {
179
+ appearance: none;
180
+ width: 100%;
181
+ min-width: 0;
182
+ border-radius: 3px;
183
+ cursor: pointer;
184
+ height: 24px;
185
+ background: linear-gradient(var(--cl-surface-active), var(--cl-surface-active)) center / 100% 3px no-repeat;
186
+ }
187
+ .catchlight input[type="range"]::-webkit-slider-thumb {
188
+ appearance: none;
189
+ border-radius: 50%;
190
+ background: var(--cl-accent);
191
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--cl-accent) 8.6%, transparent);
192
+ width: 12px;
193
+ height: 12px;
194
+ }
195
+ .catchlight input[type="range"]::-moz-range-thumb {
196
+ border: 0;
197
+ border-radius: 50%;
198
+ background: var(--cl-accent);
199
+ width: 12px;
200
+ height: 12px;
201
+ }
202
+ .catchlight fieldset {
203
+ border: 0;
204
+ margin: 0;
205
+ padding: 0;
206
+ min-width: 0;
207
+ }
208
+ .catchlight fieldset:disabled {
209
+ opacity: 0.6;
210
+ }
211
+ .catchlight :where(h1, h2, h3, p, ul) {
212
+ margin: 0;
213
+ }
214
+ .catchlight ul {
215
+ padding: 0;
216
+ list-style: none;
217
+ }
218
+ .catchlight svg {
219
+ flex-shrink: 0;
220
+ vertical-align: middle;
221
+ }
222
+ .catchlight kbd {
223
+ font: 11px/1.6 var(--cl-font);
224
+ color: var(--cl-text-dim);
225
+ border: 1px solid var(--cl-border-strong);
226
+ padding: 0 4px;
227
+ border-radius: 4px;
228
+ white-space: nowrap;
229
+ }
230
+ .catchlight hr {
231
+ border: 0;
232
+ border-top: 1px solid var(--cl-border);
233
+ margin: 5px 0;
234
+ }
235
+ .catchlight small {
236
+ font-size: var(--cl-font-size-small);
237
+ color: var(--cl-text-dim);
238
+ }
239
+ .catchlight [data-catchlight-hidden-file] {
240
+ display: none;
241
+ }
242
+ .catchlight * {
243
+ scrollbar-width: thin;
244
+ scrollbar-color: var(--cl-surface-active) transparent;
245
+ }
246
+ .catchlight [data-catchlight-workspace] {
247
+ display: grid;
248
+ grid-template-columns:
249
+ var(--cl-panel-width) minmax(0, 1fr)
250
+ var(--cl-properties-width);
251
+ grid-template-areas: "toolbar toolbar toolbar" "left center right" "status status status";
252
+ grid-template-rows: var(--cl-toolbar-height) minmax(0, 1fr) var(--cl-status-height);
253
+ column-gap: var(--cl-gutter);
254
+ padding-inline: var(--cl-gutter);
255
+ height: 100%;
256
+ overflow: hidden;
257
+ position: relative;
258
+ background: var(--cl-crust);
259
+ }
260
+ .catchlight [data-catchlight-toolbar] {
261
+ grid-area: toolbar;
262
+ display: flex;
263
+ align-items: center;
264
+ z-index: 10;
265
+ gap: 10px;
266
+ padding: 0 6px;
267
+ min-width: 0;
268
+ }
269
+ .catchlight [data-catchlight-brand] {
270
+ display: inline-flex;
271
+ gap: 9px;
272
+ align-items: center;
273
+ color: var(--cl-text);
274
+ text-decoration: none;
275
+ font-size: 15px;
276
+ font-weight: 650;
277
+ letter-spacing: -0.5px;
278
+ flex-shrink: 0;
279
+ }
280
+ .catchlight [data-catchlight-logo] {
281
+ display: block;
282
+ flex-shrink: 0;
283
+ }
284
+ .catchlight [data-catchlight-main-menus],
285
+ .catchlight [data-catchlight-history-tools] {
286
+ display: flex;
287
+ align-items: center;
288
+ gap: 2px;
289
+ flex: none;
290
+ }
291
+ .catchlight [data-catchlight-command-trigger] {
292
+ margin-left: auto;
293
+ justify-content: start;
294
+ color: var(--cl-text-dim);
295
+ font-size: 12px;
296
+ background: var(--cl-well);
297
+ border: 1px solid var(--cl-border);
298
+ padding-inline: 8px 6px;
299
+ }
300
+ .catchlight [data-catchlight-command-trigger] kbd {
301
+ margin-left: 14px;
302
+ }
303
+ .catchlight [data-catchlight-save-state] {
304
+ color: var(--cl-text-dim);
305
+ display: flex;
306
+ gap: 7px;
307
+ align-items: center;
308
+ white-space: nowrap;
309
+ font-size: 11px;
310
+ }
311
+ .catchlight [data-catchlight-save-state] i,
312
+ .catchlight [data-catchlight-environment] i {
313
+ width: 5px;
314
+ height: 5px;
315
+ background: var(--cl-accent);
316
+ border-radius: 50%;
317
+ }
318
+ .catchlight [data-catchlight-save-state] i[data-dirty] {
319
+ background: var(--cl-warn);
320
+ }
321
+ .catchlight [data-catchlight-menu] {
322
+ position: relative;
323
+ }
324
+ .catchlight [data-catchlight-menu] > summary {
325
+ list-style: none;
326
+ display: flex;
327
+ align-items: center;
328
+ justify-content: center;
329
+ gap: 7px;
330
+ color: var(--cl-text-secondary);
331
+ padding: 3px 8px;
332
+ min-height: var(--cl-control-height);
333
+ cursor: pointer;
334
+ border-radius: 5px;
335
+ font-size: 12px;
336
+ }
337
+ .catchlight summary::-webkit-details-marker {
338
+ display: none;
339
+ }
340
+ .catchlight [data-catchlight-menu] > summary:hover,
341
+ .catchlight [data-catchlight-menu][open] > summary {
342
+ background: var(--cl-surface);
343
+ }
344
+ .catchlight [data-catchlight-menu] > div {
345
+ position: absolute;
346
+ z-index: 30;
347
+ left: 0;
348
+ top: calc(100% + 5px);
349
+ min-width: 222px;
350
+ padding: 4px;
351
+ border: 1px solid var(--cl-border-strong);
352
+ border-radius: 9px;
353
+ background: var(--cl-surface);
354
+ box-shadow: var(--cl-shadow);
355
+ }
356
+ .catchlight [data-catchlight-menu] > div > button {
357
+ width: 100%;
358
+ justify-content: flex-start;
359
+ background: transparent;
360
+ padding: 4px 8px;
361
+ font-size: 12px;
362
+ }
363
+ .catchlight [data-catchlight-menu] > div > button svg {
364
+ width: 15px;
365
+ height: 15px;
366
+ color: var(--cl-text-dim);
367
+ }
368
+ .catchlight [data-catchlight-menu] > div > button kbd {
369
+ margin-left: auto;
370
+ }
371
+ .catchlight [data-catchlight-model-tabs] {
372
+ display: flex;
373
+ align-items: center;
374
+ align-self: stretch;
375
+ flex: 0 1 auto;
376
+ min-width: 0;
377
+ gap: 2px;
378
+ padding-left: 10px;
379
+ border-left: 1px solid var(--cl-border);
380
+ margin-block: 8px;
381
+ overflow-x: auto;
382
+ overflow-y: hidden;
383
+ scrollbar-width: none;
384
+ }
385
+ .catchlight [data-catchlight-model-tabs] > button {
386
+ flex: none;
387
+ }
388
+ .catchlight [data-catchlight-version-select] {
389
+ position: relative;
390
+ flex: none;
391
+ }
392
+ .catchlight [data-catchlight-version-trigger] {
393
+ gap: 6px;
394
+ max-width: 220px;
395
+ padding-inline: 8px 6px;
396
+ background: transparent;
397
+ color: var(--cl-text-secondary);
398
+ font-size: 12px;
399
+ }
400
+ .catchlight [data-catchlight-version-trigger]:hover:not(:disabled),
401
+ .catchlight [data-catchlight-version-select][data-open] > [data-catchlight-version-trigger] {
402
+ background: var(--cl-surface);
403
+ }
404
+ .catchlight [data-catchlight-version-select][data-viewing] > [data-catchlight-version-trigger] {
405
+ color: var(--cl-text);
406
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cl-warn) 55%, var(--cl-border));
407
+ }
408
+ .catchlight [data-catchlight-version-trigger] [data-catchlight-version-label] {
409
+ min-width: 0;
410
+ overflow: hidden;
411
+ text-overflow: ellipsis;
412
+ white-space: nowrap;
413
+ }
414
+ .catchlight [data-catchlight-version-badge] {
415
+ flex: none;
416
+ min-width: 26px;
417
+ padding: 1px 5px;
418
+ border-radius: 4px;
419
+ background: var(--cl-surface-raised);
420
+ color: var(--cl-text-secondary);
421
+ font-family: var(--cl-font-mono);
422
+ font-size: 10.5px;
423
+ font-weight: 650;
424
+ text-align: center;
425
+ }
426
+ .catchlight [data-catchlight-version-badge][data-active] {
427
+ background: var(--cl-accent-soft);
428
+ color: var(--cl-accent);
429
+ }
430
+ .catchlight [data-catchlight-version-popover] {
431
+ position: absolute;
432
+ z-index: 30;
433
+ left: 0;
434
+ top: calc(100% + 5px);
435
+ width: 300px;
436
+ max-width: calc(100vw - 16px);
437
+ padding: 4px;
438
+ border: 1px solid var(--cl-border-strong);
439
+ border-radius: 9px;
440
+ background: var(--cl-surface);
441
+ box-shadow: var(--cl-shadow);
442
+ }
443
+ .catchlight [data-catchlight-version-list] {
444
+ display: flex;
445
+ flex-direction: column;
446
+ gap: 1px;
447
+ max-height: 320px;
448
+ overflow-y: auto;
449
+ }
450
+ .catchlight [data-catchlight-version-option] {
451
+ display: flex;
452
+ align-items: flex-start;
453
+ justify-content: flex-start;
454
+ gap: 8px;
455
+ width: 100%;
456
+ min-height: 0;
457
+ padding: 6px 8px;
458
+ background: transparent;
459
+ text-align: left;
460
+ font-size: 12px;
461
+ }
462
+ .catchlight [data-catchlight-version-option]:hover,
463
+ .catchlight [data-catchlight-version-option]:focus-visible {
464
+ background: var(--cl-surface-raised);
465
+ }
466
+ .catchlight [data-catchlight-version-option][aria-selected="true"] {
467
+ background: var(--cl-surface-active);
468
+ }
469
+ .catchlight [data-catchlight-version-row] {
470
+ display: flex;
471
+ flex-direction: column;
472
+ gap: 2px;
473
+ min-width: 0;
474
+ flex: 1;
475
+ }
476
+ .catchlight [data-catchlight-version-row] [data-catchlight-version-label] {
477
+ color: var(--cl-text);
478
+ overflow: hidden;
479
+ text-overflow: ellipsis;
480
+ white-space: nowrap;
481
+ }
482
+ .catchlight [data-catchlight-version-row] > small {
483
+ display: flex;
484
+ gap: 8px;
485
+ color: var(--cl-text-dim);
486
+ font-size: var(--cl-font-size-small);
487
+ }
488
+ .catchlight [data-catchlight-version-author] {
489
+ display: inline-flex;
490
+ align-items: center;
491
+ gap: 3px;
492
+ }
493
+ .catchlight [data-catchlight-version-author][data-role="agent"] {
494
+ color: var(--cl-agent);
495
+ }
496
+ .catchlight [data-catchlight-version-summary] {
497
+ color: var(--cl-text-secondary);
498
+ font-size: var(--cl-font-size-small);
499
+ overflow: hidden;
500
+ text-overflow: ellipsis;
501
+ display: -webkit-box;
502
+ -webkit-line-clamp: 2;
503
+ -webkit-box-orient: vertical;
504
+ }
505
+ .catchlight [data-catchlight-version-empty],
506
+ .catchlight [data-catchlight-version-kept] {
507
+ margin: 0;
508
+ padding: 6px 8px;
509
+ color: var(--cl-text-dim);
510
+ font-size: var(--cl-font-size-small);
511
+ }
512
+ .catchlight [data-catchlight-version-kept="unreadable"] {
513
+ color: var(--cl-warn);
514
+ }
515
+ .catchlight [data-catchlight-version-save-open] {
516
+ width: 100%;
517
+ justify-content: flex-start;
518
+ margin-top: 4px;
519
+ padding: 6px 8px;
520
+ border-top: 1px solid var(--cl-border);
521
+ border-radius: 0 0 6px 6px;
522
+ background: transparent;
523
+ font-size: 12px;
524
+ }
525
+ .catchlight [data-catchlight-version-save] {
526
+ display: flex;
527
+ gap: 6px;
528
+ margin-top: 4px;
529
+ padding: 6px 4px 2px;
530
+ border-top: 1px solid var(--cl-border);
531
+ }
532
+ .catchlight [data-catchlight-version-save] input {
533
+ flex: 1;
534
+ min-width: 0;
535
+ }
536
+ .catchlight [data-catchlight-version-banner] {
537
+ position: absolute;
538
+ z-index: 6;
539
+ top: 52px;
540
+ left: 50%;
541
+ transform: translateX(-50%);
542
+ display: flex;
543
+ align-items: center;
544
+ gap: 10px;
545
+ max-width: calc(100% - 24px);
546
+ padding: 6px 6px 6px 12px;
547
+ border: 1px solid color-mix(in srgb, var(--cl-warn) 45%, var(--cl-border-strong));
548
+ border-radius: 999px;
549
+ background: var(--cl-surface);
550
+ box-shadow: var(--cl-island-shadow);
551
+ font-size: 12px;
552
+ white-space: nowrap;
553
+ }
554
+ .catchlight [data-catchlight-version-banner] > svg {
555
+ color: var(--cl-warn);
556
+ flex: none;
557
+ }
558
+ .catchlight [data-catchlight-version-banner] > span {
559
+ min-width: 0;
560
+ overflow: hidden;
561
+ text-overflow: ellipsis;
562
+ }
563
+ .catchlight [data-catchlight-version-banner] small {
564
+ color: var(--cl-text-dim);
565
+ font-size: 12px;
566
+ }
567
+ .catchlight [data-catchlight-version-banner] > button {
568
+ flex: none;
569
+ border-radius: 999px;
570
+ font-size: 12px;
571
+ }
572
+ .catchlight [data-catchlight-version-chip] {
573
+ display: inline-flex;
574
+ align-items: center;
575
+ gap: 4px;
576
+ width: fit-content;
577
+ min-height: 0;
578
+ padding: 1px 7px;
579
+ border: 1px solid color-mix(in srgb, var(--cl-agent) 40%, var(--cl-border));
580
+ border-radius: 999px;
581
+ background: var(--cl-agent-soft);
582
+ color: var(--cl-agent);
583
+ font-family: var(--cl-font-mono);
584
+ font-size: 11px;
585
+ font-weight: 650;
586
+ }
587
+ .catchlight button[data-catchlight-version-chip]:hover {
588
+ border-color: var(--cl-agent);
589
+ }
590
+ .catchlight [data-catchlight-session-list] {
591
+ display: flex;
592
+ min-width: 0;
593
+ gap: 2px;
594
+ }
595
+ .catchlight [data-catchlight-session] {
596
+ display: flex;
597
+ align-items: center;
598
+ gap: 4px;
599
+ min-width: 0;
600
+ max-width: 200px;
601
+ height: var(--cl-control-height);
602
+ padding: 0 4px 0 10px;
603
+ border-radius: var(--cl-radius);
604
+ }
605
+ .catchlight [data-catchlight-session][data-current] {
606
+ background: var(--cl-surface);
607
+ box-shadow: inset 0 0 0 1px var(--cl-border-strong);
608
+ }
609
+ .catchlight [data-catchlight-session] > button:first-child {
610
+ min-width: 0;
611
+ flex: 1;
612
+ padding: 0;
613
+ background: transparent;
614
+ text-align: left;
615
+ justify-content: start;
616
+ overflow: hidden;
617
+ text-overflow: ellipsis;
618
+ color: var(--cl-text-secondary);
619
+ font-size: 12px;
620
+ }
621
+ .catchlight [data-catchlight-session][data-current] > button:first-child {
622
+ color: var(--cl-text);
623
+ }
624
+ .catchlight
625
+ [data-catchlight-session][data-dirty]
626
+ > button:first-child::after {
627
+ content: "";
628
+ display: inline-block;
629
+ width: 4px;
630
+ height: 4px;
631
+ border-radius: 50%;
632
+ background: var(--cl-warn);
633
+ }
634
+ .catchlight [data-catchlight-session-close] {
635
+ padding: 0 4px;
636
+ background: transparent;
637
+ min-height: 20px;
638
+ color: var(--cl-text-dim);
639
+ opacity: 0;
640
+ }
641
+ .catchlight [data-catchlight-session]:hover [data-catchlight-session-close],
642
+ .catchlight [data-catchlight-session][data-current] [data-catchlight-session-close],
643
+ .catchlight [data-catchlight-session-close]:focus-visible {
644
+ opacity: 1;
645
+ }
646
+ .catchlight [data-catchlight-panel] {
647
+ min-width: 0;
648
+ min-height: 0;
649
+ display: flex;
650
+ flex-direction: column;
651
+ background: var(--cl-mantle);
652
+ border: 1px solid var(--cl-border);
653
+ border-radius: var(--cl-radius-large);
654
+ }
655
+ .catchlight [data-catchlight-panel="left"] {
656
+ grid-area: left;
657
+ }
658
+ .catchlight [data-catchlight-panel="right"] {
659
+ grid-area: right;
660
+ }
661
+ .catchlight [data-catchlight-panel-tabs] {
662
+ display: flex;
663
+ align-items: stretch;
664
+ flex-shrink: 0;
665
+ gap: 16px;
666
+ height: 38px;
667
+ padding: 0 14px;
668
+ border-bottom: 1px solid var(--cl-divider);
669
+ }
670
+ .catchlight [data-catchlight-panel-tabs] > button {
671
+ border-radius: 0;
672
+ background: transparent;
673
+ color: var(--cl-text-dim);
674
+ font-size: 12px;
675
+ font-weight: 600;
676
+ border: 0;
677
+ border-bottom: 2px solid transparent;
678
+ margin-bottom: -1px;
679
+ padding: 0 1px;
680
+ gap: 6px;
681
+ }
682
+ .catchlight [data-catchlight-panel-tabs] > button:hover {
683
+ background: transparent;
684
+ }
685
+ .catchlight [data-catchlight-panel-tabs] > button[data-active] {
686
+ color: var(--cl-text);
687
+ border-bottom-color: var(--cl-accent);
688
+ }
689
+ .catchlight [data-catchlight-panel-scroll] {
690
+ overflow: auto;
691
+ min-height: 0;
692
+ flex: 1;
693
+ }
694
+ .catchlight [data-catchlight-panel-scroll] > [data-catchlight-search] {
695
+ margin: 14px;
696
+ }
697
+ .catchlight [data-catchlight-search] {
698
+ display: flex;
699
+ align-items: center;
700
+ padding: 0 8px;
701
+ color: var(--cl-text-dim);
702
+ min-width: 0;
703
+ background: var(--cl-well);
704
+ border: 1px solid var(--cl-border);
705
+ border-radius: 6px;
706
+ gap: 8px;
707
+ }
708
+ .catchlight [data-catchlight-search] input {
709
+ border: 0 !important;
710
+ background: transparent !important;
711
+ padding: 2px 0;
712
+ min-height: 26px;
713
+ box-shadow: none;
714
+ font-size: 12px;
715
+ }
716
+ .catchlight [data-catchlight-search]:focus-within {
717
+ border-color: var(--cl-accent);
718
+ }
719
+ .catchlight [data-catchlight-search] input:focus-visible {
720
+ outline: none;
721
+ }
722
+ .catchlight [data-catchlight-tree-tools] {
723
+ display: flex;
724
+ gap: 4px;
725
+ padding: 8px 8px 6px;
726
+ }
727
+ .catchlight [data-catchlight-tree-tools] [data-catchlight-search] {
728
+ flex: 1;
729
+ }
730
+ .catchlight [data-catchlight-tree-tools] [data-catchlight-menu] > div {
731
+ left: auto;
732
+ right: 0;
733
+ }
734
+ .catchlight [data-catchlight-tree-scroll] {
735
+ overflow: auto;
736
+ min-height: 0;
737
+ flex: 1;
738
+ padding: 0 6px;
739
+ }
740
+ .catchlight [data-catchlight-node-tree] {
741
+ padding-bottom: 20px;
742
+ }
743
+ .catchlight [data-catchlight-node] > ul {
744
+ margin-left: 9px;
745
+ padding-left: 5px;
746
+ border-left: 1px solid var(--cl-border);
747
+ }
748
+ .catchlight [data-catchlight-node-row] {
749
+ display: flex;
750
+ align-items: center;
751
+ min-height: var(--cl-row-height);
752
+ border-radius: 5px;
753
+ padding: 0 4px 0 2px;
754
+ gap: 5px;
755
+ border: 1px solid transparent;
756
+ }
757
+ .catchlight [data-catchlight-node-row]:hover {
758
+ background: var(--cl-row-hover);
759
+ }
760
+ .catchlight
761
+ [data-catchlight-node][data-selected]
762
+ > [data-catchlight-node-row] {
763
+ background: var(--cl-accent-soft);
764
+ border-color: transparent;
765
+ }
766
+ .catchlight
767
+ [data-catchlight-node][data-selected]
768
+ > [data-catchlight-node-row]
769
+ [data-catchlight-node-label] {
770
+ color: var(--cl-selection-text);
771
+ font-weight: 550;
772
+ }
773
+ .catchlight
774
+ [data-catchlight-node][data-drop="into"]
775
+ > [data-catchlight-node-row] {
776
+ outline: 1px solid var(--cl-accent);
777
+ }
778
+ .catchlight
779
+ [data-catchlight-node][data-drop="before"]
780
+ > [data-catchlight-node-row] {
781
+ border-top-color: var(--cl-accent);
782
+ }
783
+ .catchlight
784
+ [data-catchlight-node][data-drop="after"]
785
+ > [data-catchlight-node-row] {
786
+ border-bottom-color: var(--cl-accent);
787
+ }
788
+ .catchlight [data-catchlight-disclosure-toggle],
789
+ .catchlight [data-catchlight-disclosure-spacer] {
790
+ width: 12px;
791
+ min-width: 12px;
792
+ min-height: 20px;
793
+ padding: 0;
794
+ background: transparent;
795
+ color: var(--cl-text-dim);
796
+ }
797
+ .catchlight [data-catchlight-kind-icon] {
798
+ color: var(--cl-text-dim);
799
+ display: flex;
800
+ }
801
+ .catchlight
802
+ [data-kind="part"]
803
+ > [data-catchlight-node-row]
804
+ [data-catchlight-kind-icon] {
805
+ color: #b7c7df;
806
+ }
807
+ .catchlight [data-catchlight-node-label] {
808
+ flex: 1;
809
+ min-width: 0;
810
+ text-align: left;
811
+ overflow: hidden;
812
+ text-overflow: ellipsis;
813
+ justify-content: start;
814
+ background: transparent;
815
+ padding: 0;
816
+ color: var(--cl-text-secondary);
817
+ font-size: 12.5px;
818
+ font-weight: 400;
819
+ border: 0;
820
+ min-height: 24px;
821
+ white-space: nowrap;
822
+ }
823
+ .catchlight [data-catchlight-node-label]:hover {
824
+ background: transparent !important;
825
+ }
826
+ .catchlight [data-catchlight-visibility] {
827
+ order: 5;
828
+ cursor: pointer;
829
+ display: flex;
830
+ color: var(--cl-text-dim);
831
+ position: relative;
832
+ opacity: 0;
833
+ flex-shrink: 0;
834
+ }
835
+ .catchlight [data-catchlight-node-row]:hover [data-catchlight-visibility] {
836
+ opacity: 1;
837
+ }
838
+ .catchlight [data-catchlight-visibility] input {
839
+ position: absolute;
840
+ inset: 0;
841
+ width: 100%;
842
+ height: 100%;
843
+ opacity: 0;
844
+ }
845
+ .catchlight [data-catchlight-visibility]:focus-within {
846
+ outline: 1px solid var(--cl-accent);
847
+ }
848
+ .catchlight
849
+ [data-catchlight-node-row]:has(input:not(:checked))
850
+ [data-catchlight-node-label] {
851
+ opacity: 0.4;
852
+ }
853
+ .catchlight [data-catchlight-tree-footer] {
854
+ display: flex;
855
+ padding: 8px;
856
+ gap: 4px;
857
+ border-top: 1px solid var(--cl-divider);
858
+ }
859
+ .catchlight [data-catchlight-tree-footer] > button:first-child {
860
+ flex: 1;
861
+ justify-content: center;
862
+ font-size: 12px;
863
+ color: var(--cl-text-secondary);
864
+ }
865
+ .catchlight button[data-catchlight-import-artwork] {
866
+ padding-inline: 16px;
867
+ }
868
+ .catchlight
869
+ [data-catchlight-panel-scroll]
870
+ > [data-catchlight-import-artwork] {
871
+ margin-inline: 12px;
872
+ margin-bottom: 12px;
873
+ width: calc(100% - 24px);
874
+ }
875
+ /* Canvas, selection and posing shelf. */
876
+ .catchlight [data-catchlight-center] {
877
+ grid-area: center;
878
+ display: flex;
879
+ flex-direction: column;
880
+ min-height: 0;
881
+ min-width: 0;
882
+ background: var(--cl-bg);
883
+ border: 1px solid var(--cl-border);
884
+ border-radius: var(--cl-radius-large);
885
+ overflow: hidden;
886
+ }
887
+ .catchlight [data-catchlight-canvas-toolbar] {
888
+ position: absolute;
889
+ z-index: 5;
890
+ inset: 10px 10px auto;
891
+ display: grid;
892
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
893
+ align-items: start;
894
+ gap: 8px;
895
+ pointer-events: none;
896
+ }
897
+ .catchlight [data-catchlight-canvas-toolbar] > * {
898
+ pointer-events: auto;
899
+ }
900
+ .catchlight [data-catchlight-workspace-modes] {
901
+ grid-column: 2;
902
+ display: flex;
903
+ flex: none;
904
+ gap: 2px;
905
+ padding: 2px;
906
+ }
907
+ .catchlight [data-catchlight-workspace-modes],
908
+ .catchlight [data-catchlight-tool-group],
909
+ .catchlight [data-catchlight-canvas-tools],
910
+ .catchlight [data-catchlight-zoom-tools],
911
+ .catchlight [data-catchlight-panel-toggle] {
912
+ background: color-mix(in srgb, var(--cl-surface) 86%, transparent);
913
+ backdrop-filter: blur(14px) saturate(1.3);
914
+ border: 1px solid var(--cl-border-strong);
915
+ border-radius: 9px;
916
+ box-shadow: var(--cl-island-shadow);
917
+ }
918
+ .catchlight [data-catchlight-tool-group] {
919
+ padding: 2px;
920
+ }
921
+ .catchlight [data-catchlight-tool-group],
922
+ .catchlight [data-catchlight-zoom-tools] {
923
+ display: flex;
924
+ align-items: center;
925
+ gap: 2px;
926
+ }
927
+ .catchlight [data-catchlight-zoom] {
928
+ background: transparent;
929
+
930
+ font-variant-numeric: tabular-nums;
931
+ padding: 3px;
932
+ font-size: 12px;
933
+ min-width: 47px;
934
+ color: var(--cl-selection-text);
935
+ }
936
+ .catchlight [data-catchlight-stage-wrap] {
937
+ position: relative;
938
+ display: flex;
939
+ flex-direction: column;
940
+ flex: 1;
941
+ min-height: 100px;
942
+ overflow: hidden;
943
+ background: var(--cl-bg);
944
+ }
945
+ .catchlight [data-catchlight-stage] {
946
+ position: relative;
947
+ flex: 1;
948
+ min-height: 0;
949
+ overflow: hidden;
950
+ }
951
+ .catchlight [data-catchlight-viewport] {
952
+ width: 100%;
953
+ height: 100%;
954
+ outline-offset: -2px;
955
+ }
956
+ .catchlight [data-catchlight-stage][data-tool="hand"] {
957
+ cursor: grab;
958
+ }
959
+ .catchlight [data-catchlight-stage][data-dragging] {
960
+ cursor: grabbing;
961
+ }
962
+ .catchlight [data-catchlight-selection-overlay],
963
+ .catchlight [data-catchlight-grid-overlay] {
964
+ position: absolute;
965
+ inset: 0;
966
+ pointer-events: none;
967
+ }
968
+ .catchlight [data-catchlight-grid-overlay] {
969
+ background-image: radial-gradient(#ffffff40 0.7px, transparent 0.7px);
970
+ background-size: 24px 24px;
971
+ opacity: 0.32;
972
+ }
973
+ .catchlight [data-catchlight-selection-box] {
974
+ stroke: var(--cl-accent-strong);
975
+ fill: none;
976
+ stroke-width: 1;
977
+ }
978
+ .catchlight [data-catchlight-selection-corner],
979
+ .catchlight [data-catchlight-rotation-handle] {
980
+ fill: var(--cl-bg);
981
+ stroke: var(--cl-accent-strong);
982
+ stroke-width: 1.25;
983
+ pointer-events: all;
984
+ cursor: nwse-resize;
985
+ }
986
+ .catchlight [data-catchlight-rotation-handle] {
987
+ cursor: grab;
988
+ }
989
+ .catchlight [data-catchlight-rotation-stem] {
990
+ fill: none;
991
+ stroke: var(--cl-accent-strong);
992
+ stroke-width: 0.7;
993
+ }
994
+ .catchlight [data-catchlight-vertex-handle] {
995
+ pointer-events: all;
996
+ cursor: move;
997
+ }
998
+ .catchlight [data-catchlight-vertex-handle]:hover,
999
+ .catchlight [data-catchlight-selection-corner]:hover,
1000
+ .catchlight [data-catchlight-rotation-handle]:hover {
1001
+ fill: white;
1002
+ stroke-width: 3;
1003
+ }
1004
+ .catchlight [data-catchlight-selection-overlay][data-gesturing] {
1005
+ cursor: grabbing;
1006
+ }
1007
+ .catchlight [data-catchlight-mesh-lines] {
1008
+ stroke: var(--cl-accent-strong);
1009
+ fill: none;
1010
+ stroke-width: 0.6;
1011
+ opacity: 0.75;
1012
+ }
1013
+ .catchlight [data-catchlight-mesh-lines] circle {
1014
+ fill: var(--cl-accent);
1015
+ }
1016
+ .catchlight [data-catchlight-canvas-hint] {
1017
+ position: absolute;
1018
+ display: flex;
1019
+ align-items: center;
1020
+ gap: 6px;
1021
+
1022
+ border-radius: 6px;
1023
+ pointer-events: none;
1024
+ white-space: nowrap;
1025
+ left: 92px;
1026
+ transform: none;
1027
+ bottom: 17px;
1028
+ background: none;
1029
+ border: 0;
1030
+ padding: 0;
1031
+ font-size: 11px;
1032
+ color: var(--cl-text-dim);
1033
+ }
1034
+ .catchlight [data-catchlight-canvas-hint] kbd {
1035
+ font-size: 11px;
1036
+ }
1037
+ .catchlight [data-catchlight-dock] {
1038
+ position: relative;
1039
+ flex-shrink: 0;
1040
+ height: 36px;
1041
+ overflow: visible;
1042
+ background: var(--cl-mantle);
1043
+ border-top: 1px solid var(--cl-border);
1044
+ }
1045
+ .catchlight [data-catchlight-dock][data-open] {
1046
+ height: var(--cl-dock-height, 220px);
1047
+ max-height: 48%;
1048
+ }
1049
+ .catchlight [data-catchlight-dock-header] {
1050
+ height: 36px;
1051
+ display: flex;
1052
+ align-items: center;
1053
+ justify-content: space-between;
1054
+ }
1055
+ .catchlight [data-catchlight-dock-header] [data-catchlight-panel-tabs] {
1056
+ height: 36px;
1057
+ border-bottom: 0;
1058
+ }
1059
+ .catchlight [data-catchlight-dock-actions] {
1060
+ display: flex;
1061
+ gap: 2px;
1062
+ padding-right: 8px;
1063
+ }
1064
+ .catchlight [data-catchlight-dock-actions] > button:first-child {
1065
+ background: transparent;
1066
+ font-size: 11px;
1067
+ color: var(--cl-text-secondary);
1068
+ }
1069
+ .catchlight [data-catchlight-dock-body] {
1070
+ height: calc(100% - 36px);
1071
+ overflow: auto;
1072
+ }
1073
+ .catchlight [data-catchlight-panel-tools] {
1074
+ display: flex;
1075
+ padding: 2px 10px 8px;
1076
+ gap: 8px;
1077
+ justify-content: space-between;
1078
+ }
1079
+ .catchlight [data-catchlight-panel-tools] > button {
1080
+ font-size: 11px;
1081
+ }
1082
+ .catchlight [data-catchlight-panel-tools] [data-catchlight-search] {
1083
+ width: 190px;
1084
+ }
1085
+ .catchlight [data-catchlight-param-cards] {
1086
+ display: grid;
1087
+ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
1088
+ gap: 1px 10px;
1089
+ padding: 0 8px 10px;
1090
+ }
1091
+ .catchlight [data-catchlight-param-card] {
1092
+ display: grid;
1093
+ grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
1094
+ align-items: center;
1095
+ column-gap: 8px;
1096
+ min-width: 0;
1097
+ min-height: 30px;
1098
+ padding: 0 6px 0 8px;
1099
+ border-radius: 6px;
1100
+ border: 1px solid transparent;
1101
+ }
1102
+ .catchlight [data-catchlight-param-card]:hover {
1103
+ background: var(--cl-row-hover);
1104
+ }
1105
+ .catchlight [data-catchlight-param-card][data-selected] {
1106
+ background: var(--cl-accent-soft);
1107
+ }
1108
+ .catchlight [data-catchlight-param-card-head] {
1109
+ position: relative;
1110
+ display: flex;
1111
+ align-items: center;
1112
+ min-width: 0;
1113
+ gap: 2px;
1114
+ }
1115
+ .catchlight [data-catchlight-param-name] {
1116
+ background: transparent;
1117
+ padding: 0;
1118
+ min-width: 0;
1119
+ white-space: nowrap;
1120
+ overflow: hidden;
1121
+ text-overflow: ellipsis;
1122
+ font-size: 12.5px;
1123
+ font-weight: 500;
1124
+ flex: 1;
1125
+ justify-content: start;
1126
+ min-height: 24px;
1127
+ }
1128
+ .catchlight [data-catchlight-param-name]:hover {
1129
+ background: transparent !important;
1130
+ }
1131
+ .catchlight [data-catchlight-param-name] svg {
1132
+ color: var(--cl-accent);
1133
+ }
1134
+ .catchlight
1135
+ [data-catchlight-param-card-head]
1136
+ > [data-catchlight-icon-button] {
1137
+ position: absolute;
1138
+ right: 0;
1139
+ width: 22px;
1140
+ height: 22px;
1141
+ min-height: 22px;
1142
+ flex-basis: 22px;
1143
+ opacity: 0;
1144
+ background: var(--cl-surface-raised);
1145
+ }
1146
+ .catchlight
1147
+ [data-catchlight-param-card-head]
1148
+ > [data-catchlight-review-comment-on] {
1149
+ right: 24px;
1150
+ }
1151
+ .catchlight [data-catchlight-param-card]:is(:hover, :focus-within)
1152
+ [data-catchlight-param-card-head]
1153
+ > [data-catchlight-icon-button] {
1154
+ opacity: 1;
1155
+ }
1156
+ .catchlight
1157
+ [data-catchlight-param-card-head]
1158
+ > [data-catchlight-icon-button]
1159
+ svg {
1160
+ width: 13px;
1161
+ height: 13px;
1162
+ }
1163
+ .catchlight [data-catchlight-param-value-row] {
1164
+ display: flex;
1165
+ align-items: center;
1166
+ gap: 8px;
1167
+ min-width: 0;
1168
+ }
1169
+ .catchlight [data-catchlight-param-value-row] [data-catchlight-number] {
1170
+ flex: 0 0 54px;
1171
+ height: 24px;
1172
+ }
1173
+ .catchlight [data-catchlight-param-value-row] input[type="number"] {
1174
+ text-align: right;
1175
+ font-size: 12px;
1176
+ min-height: 22px;
1177
+ padding: 2px 6px;
1178
+ }
1179
+ .catchlight [data-catchlight-param-range] {
1180
+ display: none;
1181
+ grid-column: 2;
1182
+ justify-content: space-between;
1183
+ font-size: 10.5px;
1184
+ color: var(--cl-text-dim);
1185
+ line-height: 18px;
1186
+ padding-right: 62px;
1187
+ margin-top: -4px;
1188
+ }
1189
+ .catchlight [data-catchlight-param-card][data-selected] [data-catchlight-param-range] {
1190
+ display: flex;
1191
+ }
1192
+ .catchlight [data-catchlight-param-range] button {
1193
+ background: transparent;
1194
+ color: var(--cl-text-dim);
1195
+ min-height: 16px;
1196
+ font-size: 10.5px;
1197
+ padding: 0 4px;
1198
+ }
1199
+ .catchlight [data-catchlight-driven-params-head] {
1200
+ padding: 4px 10px 2px;
1201
+ }
1202
+ .catchlight [data-catchlight-driven-params-head] h3 {
1203
+ margin: 0;
1204
+ font-size: 11px;
1205
+ font-weight: 600;
1206
+ color: var(--cl-text-dim);
1207
+ }
1208
+ .catchlight [data-catchlight-driven-params-head] [data-catchlight-hint] {
1209
+ margin: 2px 0 4px;
1210
+ font-size: 11px;
1211
+ }
1212
+ .catchlight [data-catchlight-motion-toggle] {
1213
+ flex: none;
1214
+ gap: 5px;
1215
+ font-size: 11px;
1216
+ min-height: 24px;
1217
+ padding: 2px 8px;
1218
+ }
1219
+ .catchlight [data-catchlight-dock-actions] > [data-catchlight-motion-toggle] {
1220
+ min-height: var(--cl-control-height);
1221
+ background: transparent;
1222
+ color: var(--cl-text-secondary);
1223
+ }
1224
+ .catchlight [data-catchlight-dock-actions] > [data-catchlight-motion-toggle][data-active] {
1225
+ background: var(--cl-accent-soft);
1226
+ color: var(--cl-accent);
1227
+ }
1228
+ .catchlight [data-catchlight-param-card][data-driven] [data-catchlight-param-value-row] {
1229
+ grid-column: 2;
1230
+ grid-row: 1;
1231
+ }
1232
+ .catchlight [data-catchlight-param-card][data-driven] [data-catchlight-param-range] {
1233
+ grid-row: 3;
1234
+ }
1235
+ .catchlight [data-catchlight-param-driver] {
1236
+ grid-column: 1 / -1;
1237
+ grid-row: 2;
1238
+ display: flex;
1239
+ align-items: center;
1240
+ gap: 6px;
1241
+ min-width: 0;
1242
+ margin-top: -4px;
1243
+ padding-bottom: 2px;
1244
+ }
1245
+ .catchlight [data-catchlight-param-driver] > button {
1246
+ gap: 4px;
1247
+ min-width: 0;
1248
+ min-height: 18px;
1249
+ padding: 0 4px;
1250
+ margin-left: -4px;
1251
+ background: transparent;
1252
+ font-size: 10.5px;
1253
+ color: var(--cl-text-dim);
1254
+ }
1255
+ .catchlight [data-catchlight-param-driver] > button > span {
1256
+ overflow: hidden;
1257
+ text-overflow: ellipsis;
1258
+ }
1259
+ .catchlight [data-catchlight-param-driver] strong {
1260
+ font-weight: 600;
1261
+ color: var(--cl-text-secondary);
1262
+ }
1263
+ .catchlight [data-catchlight-param-driver] svg {
1264
+ flex: none;
1265
+ }
1266
+ .catchlight [data-catchlight-param-card][data-held] input[type="range"]:disabled {
1267
+ cursor: default;
1268
+ opacity: 1;
1269
+ background: linear-gradient(var(--cl-border-strong), var(--cl-border-strong)) center / 100% 1px no-repeat;
1270
+ }
1271
+ .catchlight [data-catchlight-param-card][data-held] input[type="range"]:disabled::-webkit-slider-thumb {
1272
+ background: var(--cl-text-dim);
1273
+ box-shadow: none;
1274
+ width: 8px;
1275
+ height: 8px;
1276
+ }
1277
+ .catchlight [data-catchlight-param-card][data-held] input[type="range"]:disabled::-moz-range-thumb {
1278
+ background: var(--cl-text-dim);
1279
+ width: 8px;
1280
+ height: 8px;
1281
+ }
1282
+ .catchlight [data-catchlight-param-card][data-held] [data-catchlight-number] {
1283
+ background: transparent;
1284
+ }
1285
+ .catchlight [data-catchlight-param-card][data-held] input[type="number"]:disabled {
1286
+ cursor: default;
1287
+ color: var(--cl-text-secondary);
1288
+ }
1289
+ .catchlight [data-catchlight-bindings-panel] {
1290
+ padding: 12px 16px;
1291
+ }
1292
+ .catchlight [data-catchlight-bindings-panel] > [data-catchlight-field] {
1293
+ max-width: 300px;
1294
+ }
1295
+ .catchlight [data-catchlight-binding-add],
1296
+ .catchlight [data-catchlight-binding-head],
1297
+ .catchlight [data-catchlight-binding-row],
1298
+ .catchlight [data-catchlight-binding-cell-actions] {
1299
+ display: flex;
1300
+ gap: 6px;
1301
+ align-items: center;
1302
+ margin: 7px 0;
1303
+ }
1304
+ .catchlight [data-catchlight-binding-add] {
1305
+ max-width: 300px;
1306
+ }
1307
+ .catchlight [data-catchlight-binding-head],
1308
+ .catchlight [data-catchlight-binding-cell-actions] {
1309
+ flex-wrap: wrap;
1310
+ }
1311
+ .catchlight [data-catchlight-binding] {
1312
+ border-top: 1px solid var(--cl-border);
1313
+ margin-top: 10px;
1314
+ padding-top: 3px;
1315
+ }
1316
+ .catchlight [data-catchlight-binding-name] {
1317
+ font-family: var(--cl-font-mono);
1318
+ color: var(--cl-accent);
1319
+ min-width: 105px;
1320
+ max-width: 100%;
1321
+ overflow-wrap: anywhere;
1322
+ }
1323
+ .catchlight [data-catchlight-binding-interpolate] {
1324
+ width: 110px;
1325
+ margin-left: auto;
1326
+ }
1327
+ .catchlight [data-catchlight-binding-cell] {
1328
+ width: 60px;
1329
+ text-align: center;
1330
+ }
1331
+ .catchlight [data-catchlight-binding-cell][data-set] {
1332
+ border-color: color-mix(in srgb, var(--cl-accent) 26.7%, transparent);
1333
+ }
1334
+ .catchlight [data-catchlight-binding-cell][data-selected] {
1335
+ background: var(--cl-accent-soft);
1336
+ color: var(--cl-accent);
1337
+ border-color: var(--cl-accent);
1338
+ }
1339
+ /* The property system: shared rhythm for native and specialized controls. */
1340
+ .catchlight [data-catchlight-selection-heading] {
1341
+ display: flex;
1342
+ gap: 10px;
1343
+ align-items: center;
1344
+ padding: 14px 14px 12px;
1345
+ }
1346
+ .catchlight [data-catchlight-selection-heading] > svg {
1347
+ border-radius: 8px;
1348
+ width: 32px;
1349
+ height: 32px;
1350
+ padding: 8px;
1351
+ border: 0;
1352
+ background: var(--cl-accent-soft);
1353
+ color: var(--cl-accent);
1354
+ }
1355
+ .catchlight [data-catchlight-selection-heading] > div {
1356
+ flex: 1;
1357
+ min-width: 0;
1358
+ }
1359
+ .catchlight [data-catchlight-selection-heading] strong {
1360
+ display: block;
1361
+ font-weight: 600;
1362
+ overflow-wrap: anywhere;
1363
+ font-size: 14px;
1364
+ line-height: 1.3;
1365
+ }
1366
+ .catchlight [data-catchlight-selection-heading] small {
1367
+ display: block;
1368
+ font-size: 11px;
1369
+ margin-top: 1px;
1370
+ }
1371
+ .catchlight [data-catchlight-disclosure] {
1372
+ border-top: 1px solid var(--cl-border);
1373
+ }
1374
+ .catchlight [data-catchlight-disclosure] > summary {
1375
+ display: flex;
1376
+ align-items: center;
1377
+ gap: 7px;
1378
+ list-style: none;
1379
+ cursor: pointer;
1380
+ min-height: 34px;
1381
+ font-weight: 600;
1382
+ color: var(--cl-text-secondary);
1383
+ user-select: none;
1384
+ font-size: 12px;
1385
+ padding: 8px 14px;
1386
+ }
1387
+ .catchlight [data-catchlight-disclosure] > summary > svg {
1388
+ width: 11px;
1389
+ height: 11px;
1390
+ color: var(--cl-text-dim);
1391
+ transition: transform 0.12s;
1392
+ }
1393
+ .catchlight [data-catchlight-disclosure][open] > summary > svg {
1394
+ transform: rotate(90deg);
1395
+ }
1396
+ .catchlight [data-catchlight-disclosure-body] {
1397
+ padding: 0 14px 12px;
1398
+ }
1399
+ .catchlight [data-catchlight-disclosure-body] > [data-catchlight-disclosure] {
1400
+ margin: 10px -8px 0;
1401
+ }
1402
+ .catchlight
1403
+ [data-catchlight-disclosure-body]
1404
+ > [data-catchlight-disclosure]
1405
+ > summary {
1406
+ padding: 9px 8px;
1407
+ }
1408
+ .catchlight
1409
+ [data-catchlight-disclosure-body]
1410
+ > [data-catchlight-disclosure]
1411
+ > div {
1412
+ padding: 0 8px 8px;
1413
+ }
1414
+ .catchlight [data-catchlight-badge] {
1415
+ margin-left: auto;
1416
+ border-radius: 4px;
1417
+ color: var(--cl-text-dim);
1418
+ font-size: 11px;
1419
+ font-weight: 400;
1420
+ border: 0;
1421
+ padding: 2px 7px;
1422
+ background: var(--cl-surface);
1423
+ }
1424
+ .catchlight [data-catchlight-field=""],
1425
+ .catchlight [data-catchlight-inspector-row] {
1426
+ display: grid;
1427
+ grid-template-columns: var(--cl-label-width) minmax(0, 1fr);
1428
+ align-items: center;
1429
+ min-height: var(--cl-control-height);
1430
+ gap: 8px;
1431
+ margin: 4px 0;
1432
+ }
1433
+ .catchlight [data-catchlight-field-label],
1434
+ .catchlight [data-catchlight-inspector-label] {
1435
+ overflow-wrap: anywhere;
1436
+ font-size: 12px;
1437
+ color: var(--cl-text-secondary);
1438
+ }
1439
+ .catchlight [data-catchlight-field-control],
1440
+ .catchlight [data-catchlight-inspector-controls] {
1441
+ display: flex;
1442
+ align-items: center;
1443
+ min-width: 0;
1444
+ gap: 6px;
1445
+ }
1446
+ .catchlight [data-catchlight-inspector-row][data-field="id"],
1447
+ .catchlight [data-catchlight-inspector-row][data-field="kind"],
1448
+ .catchlight [data-catchlight-inspector-row][data-field="parent"] {
1449
+ display: none;
1450
+ }
1451
+ .catchlight [data-catchlight-number] {
1452
+ display: flex;
1453
+ align-items: center;
1454
+ min-width: 0;
1455
+ flex: 1;
1456
+ position: relative;
1457
+ height: var(--cl-control-height);
1458
+ border: 1px solid transparent;
1459
+ border-radius: var(--cl-radius);
1460
+ background: var(--cl-surface);
1461
+ }
1462
+ .catchlight [data-catchlight-number] > span {
1463
+ color: var(--cl-text-dim);
1464
+ pointer-events: none;
1465
+ position: static;
1466
+ flex: none;
1467
+ font-size: 11px;
1468
+ margin-inline: 8px;
1469
+ }
1470
+ .catchlight [data-catchlight-number]:has(> span) input {
1471
+ padding-left: 8px;
1472
+ }
1473
+ .catchlight [data-catchlight-number] input {
1474
+ font-size: 12px;
1475
+ text-align: right;
1476
+ border: 0;
1477
+ background: transparent;
1478
+ flex: 1;
1479
+ width: 0;
1480
+ min-height: 24px;
1481
+ min-width: 0;
1482
+ }
1483
+ .catchlight [data-catchlight-number][data-invalid] input {
1484
+ color: var(--cl-danger);
1485
+ }
1486
+ .catchlight [data-catchlight-inspector-controls] input[type="number"] {
1487
+ width: 0;
1488
+ flex: 1;
1489
+ font-size: 12px;
1490
+ text-align: right;
1491
+ font-variant-numeric: tabular-nums;
1492
+ padding: 2px 8px;
1493
+ }
1494
+ .catchlight [data-catchlight-inspector-controls] select {
1495
+ font-size: 12px;
1496
+ }
1497
+ .catchlight [data-catchlight-hint],
1498
+ .catchlight [data-catchlight-field-hint] {
1499
+ color: var(--cl-text-dim);
1500
+ margin: 6px 0 10px;
1501
+ font-size: 12px;
1502
+ line-height: 1.55;
1503
+ }
1504
+ .catchlight [data-catchlight-toggle] {
1505
+ display: flex;
1506
+ align-items: center;
1507
+ gap: 8px;
1508
+ margin: 9px 0;
1509
+ font-size: 12px;
1510
+ color: var(--cl-text-secondary);
1511
+ }
1512
+ .catchlight [data-catchlight-action] {
1513
+ width: 100%;
1514
+ margin-top: 8px;
1515
+ font-size: 12px;
1516
+ border-color: var(--cl-border);
1517
+ }
1518
+ .catchlight [data-catchlight-upload-art] {
1519
+ position: relative;
1520
+ display: flex;
1521
+ align-items: center;
1522
+ justify-content: center;
1523
+ gap: 8px;
1524
+ margin: 0 16px 16px;
1525
+ padding: 8px;
1526
+ border: 1px dashed var(--cl-border-strong);
1527
+ border-radius: 6px;
1528
+ color: var(--cl-text-secondary);
1529
+ font-size: 12px;
1530
+ cursor: pointer;
1531
+ }
1532
+ .catchlight [data-catchlight-upload-art] input {
1533
+ position: absolute;
1534
+ inset: 0;
1535
+ opacity: 0;
1536
+ cursor: pointer;
1537
+ }
1538
+ .catchlight [data-catchlight-upload-art]:hover {
1539
+ border-color: var(--cl-accent);
1540
+ color: var(--cl-accent);
1541
+ }
1542
+ .catchlight [data-catchlight-upload-art]:focus-within {
1543
+ outline: 2px solid var(--cl-accent);
1544
+ outline-offset: 2px;
1545
+ }
1546
+ .catchlight [data-catchlight-id] {
1547
+ display: block;
1548
+ overflow-wrap: anywhere;
1549
+ font-size: 11px;
1550
+ color: var(--cl-text-secondary);
1551
+ }
1552
+ .catchlight [data-catchlight-metrics] {
1553
+ display: flex;
1554
+ gap: 12px;
1555
+ color: var(--cl-text-dim);
1556
+ font-size: 11px;
1557
+ padding: 0 0 10px;
1558
+ }
1559
+ .catchlight [data-catchlight-metrics] b {
1560
+ color: var(--cl-text-secondary);
1561
+ font-weight: 500;
1562
+ }
1563
+ .catchlight [data-catchlight-mask],
1564
+ .catchlight [data-catchlight-slot],
1565
+ .catchlight [data-catchlight-inline] {
1566
+ display: flex;
1567
+ gap: 5px;
1568
+ align-items: center;
1569
+ margin: 6px 0;
1570
+ }
1571
+ .catchlight [data-catchlight-mask] {
1572
+ flex-wrap: wrap;
1573
+ padding-bottom: 8px;
1574
+ border-bottom: 1px solid var(--cl-border);
1575
+ }
1576
+ .catchlight [data-catchlight-mask] > span {
1577
+ flex: 1;
1578
+ font-size: 12px;
1579
+ overflow: hidden;
1580
+ text-overflow: ellipsis;
1581
+ }
1582
+ .catchlight [data-catchlight-mask] select {
1583
+ width: 100px;
1584
+ font-size: 11px;
1585
+ }
1586
+ .catchlight [data-catchlight-slot] > span {
1587
+ width: 74px;
1588
+ overflow: hidden;
1589
+ text-overflow: ellipsis;
1590
+ font-size: 11px;
1591
+ }
1592
+ .catchlight [data-catchlight-slot] [data-catchlight-number] {
1593
+ width: 42px;
1594
+ }
1595
+ .catchlight [data-catchlight-model-stats] {
1596
+ display: flex;
1597
+ margin: 20px 16px;
1598
+ gap: 8px;
1599
+ }
1600
+ .catchlight [data-catchlight-model-stats] > div {
1601
+ flex: 1;
1602
+ padding: 12px 8px;
1603
+ text-align: center;
1604
+ border-radius: 8px;
1605
+ background: var(--cl-surface);
1606
+ }
1607
+ .catchlight [data-catchlight-model-stats] b {
1608
+ display: block;
1609
+ font-size: 21px;
1610
+ font-weight: 450;
1611
+ color: var(--cl-accent);
1612
+ }
1613
+ .catchlight [data-catchlight-model-stats] span {
1614
+ font-size: 11px;
1615
+ color: var(--cl-text-dim);
1616
+ }
1617
+ .catchlight [data-catchlight-health] {
1618
+ display: flex;
1619
+ align-items: flex-start;
1620
+ gap: 9px;
1621
+ margin: 16px;
1622
+ padding: 12px;
1623
+ border: 1px solid color-mix(in srgb, var(--cl-accent) 12.5%, transparent);
1624
+ border-radius: 8px;
1625
+ background: var(--cl-accent-soft);
1626
+ }
1627
+ .catchlight [data-catchlight-health] > svg {
1628
+ color: var(--cl-accent);
1629
+ }
1630
+ .catchlight [data-catchlight-health] strong {
1631
+ font-size: 12px;
1632
+ font-weight: 550;
1633
+ }
1634
+ .catchlight [data-catchlight-health] p {
1635
+ font-size: 11px;
1636
+ color: var(--cl-text-secondary);
1637
+ margin-top: 3px;
1638
+ }
1639
+ .catchlight [data-catchlight-warning] {
1640
+ color: var(--cl-warn);
1641
+ font-size: 12px;
1642
+ line-height: 1.7;
1643
+ margin: 8px 0;
1644
+ border-radius: 6px;
1645
+ overflow-wrap: anywhere;
1646
+ border: 0;
1647
+ background: color-mix(in srgb, var(--cl-warn) 10%, var(--cl-mantle));
1648
+ padding: 8px 10px;
1649
+ }
1650
+ .catchlight [data-catchlight-warning] svg {
1651
+ width: 14px;
1652
+ height: 14px;
1653
+ margin-right: 5px;
1654
+ }
1655
+ .catchlight [data-catchlight-asset-list] {
1656
+ padding: 0 12px;
1657
+ }
1658
+ .catchlight button:where([data-catchlight-asset]) {
1659
+ display: flex;
1660
+ gap: 10px;
1661
+ padding: 8px;
1662
+ align-items: center;
1663
+ width: 100%;
1664
+ background: transparent;
1665
+ justify-content: start;
1666
+ text-align: left;
1667
+ }
1668
+ .catchlight [data-catchlight-asset-thumb] {
1669
+ width: 46px;
1670
+ height: 46px;
1671
+ display: grid;
1672
+ place-items: center;
1673
+ background: var(--cl-surface);
1674
+ border: 1px solid var(--cl-border);
1675
+ border-radius: 7px;
1676
+ color: var(--cl-text-dim);
1677
+ flex-shrink: 0;
1678
+ }
1679
+ .catchlight [data-catchlight-asset] > span {
1680
+ min-width: 0;
1681
+ }
1682
+ .catchlight [data-catchlight-asset-thumb] canvas {
1683
+ width: 100%;
1684
+ height: 100%;
1685
+ object-fit: contain;
1686
+ }
1687
+ .catchlight [data-catchlight-asset] strong {
1688
+ display: block;
1689
+ font-size: 12px;
1690
+ font-weight: 450;
1691
+ overflow: hidden;
1692
+ text-overflow: ellipsis;
1693
+ }
1694
+ .catchlight [data-catchlight-asset] small {
1695
+ display: block;
1696
+ font-size: 11px;
1697
+ margin-top: 3px;
1698
+ }
1699
+ .catchlight [data-catchlight-extension] {
1700
+ display: flex;
1701
+ gap: 8px;
1702
+ align-items: center;
1703
+ padding: 10px 0;
1704
+ border-bottom: 1px solid var(--cl-border);
1705
+ }
1706
+ .catchlight [data-catchlight-extension] > span {
1707
+ flex: 1;
1708
+ min-width: 0;
1709
+ overflow-wrap: anywhere;
1710
+ font-size: 12px;
1711
+ }
1712
+ .catchlight [data-catchlight-extension] small {
1713
+ display: block;
1714
+ font-size: 11px;
1715
+ }
1716
+ .catchlight [data-catchlight-extension-refs] ul {
1717
+ margin: 0 0 16px;
1718
+ padding: 0;
1719
+ list-style: none;
1720
+ max-height: 160px;
1721
+ overflow-y: auto;
1722
+ font: 12px/1.8 var(--cl-font-mono);
1723
+ color: var(--cl-text-secondary);
1724
+ }
1725
+ /* Dialogs, notifications, empty states and keyboard navigation. */
1726
+ .catchlight [data-catchlight-empty-state] {
1727
+ display: flex;
1728
+ align-items: center;
1729
+ flex-direction: column;
1730
+ text-align: center;
1731
+ color: var(--cl-text-dim);
1732
+ padding: 32px 20px;
1733
+ }
1734
+ .catchlight [data-catchlight-empty-state] > svg {
1735
+ margin-bottom: 12px;
1736
+ color: var(--cl-text-dim);
1737
+ }
1738
+ .catchlight [data-catchlight-empty-state] strong {
1739
+ color: var(--cl-text-secondary);
1740
+ font-size: 13px;
1741
+ font-weight: 550;
1742
+ }
1743
+ .catchlight [data-catchlight-empty-state] p {
1744
+ font-size: 12px;
1745
+ line-height: 1.8;
1746
+ max-width: 240px;
1747
+ margin-top: 7px;
1748
+ }
1749
+ .catchlight [data-catchlight-dock] [data-catchlight-empty-state] {
1750
+ padding: 12px;
1751
+ }
1752
+ .catchlight [data-catchlight-dock] [data-catchlight-empty-state] > svg {
1753
+ width: 20px;
1754
+ height: 20px;
1755
+ margin-bottom: 7px;
1756
+ }
1757
+ .catchlight [data-catchlight-dock] [data-catchlight-empty-state] p {
1758
+ max-width: 420px;
1759
+ }
1760
+ .catchlight [data-catchlight-empty] {
1761
+ color: var(--cl-text-dim);
1762
+ font-size: 12px;
1763
+ padding: 18px;
1764
+ }
1765
+ .catchlight [data-catchlight-dialog] {
1766
+ padding: 0;
1767
+ color: var(--cl-text);
1768
+ background: var(--cl-mantle);
1769
+ border: 1px solid var(--cl-border-strong);
1770
+ border-radius: var(--cl-radius-large);
1771
+ box-shadow: var(--cl-shadow);
1772
+ width: min(480px, calc(100vw - 32px));
1773
+ max-height: min(720px, calc(100dvh - 64px));
1774
+ overflow: auto;
1775
+ }
1776
+ .catchlight [data-catchlight-dialog][data-wide] {
1777
+ width: min(720px, calc(100vw - 32px));
1778
+ }
1779
+ .catchlight [data-catchlight-dialog]:has([data-catchlight-import]) {
1780
+ scroll-padding-bottom: 76px;
1781
+ }
1782
+ .catchlight [data-catchlight-dialog]::backdrop {
1783
+ background: #070a0eb3;
1784
+ backdrop-filter: blur(5px);
1785
+ }
1786
+ .catchlight [data-catchlight-dialog] > header {
1787
+ display: flex;
1788
+ align-items: center;
1789
+ justify-content: space-between;
1790
+ padding: 16px 20px;
1791
+ border-bottom: 1px solid var(--cl-border);
1792
+ }
1793
+ .catchlight [data-catchlight-dialog] h2 {
1794
+ font-size: 15px;
1795
+ font-weight: 600;
1796
+ letter-spacing: -0.2px;
1797
+ }
1798
+ .catchlight [data-catchlight-dialog-body] {
1799
+ padding: 20px;
1800
+ }
1801
+ .catchlight [data-catchlight-dialog-body] > p {
1802
+ color: var(--cl-text-secondary);
1803
+ font-size: 13px;
1804
+ line-height: 1.8;
1805
+ }
1806
+ .catchlight [data-catchlight-dialog-actions] {
1807
+ display: flex;
1808
+ justify-content: flex-end;
1809
+ gap: 8px;
1810
+ margin-top: 24px;
1811
+ }
1812
+ .catchlight [data-catchlight-form-label] {
1813
+ display: flex;
1814
+ flex-direction: column;
1815
+ gap: 8px;
1816
+ margin: 0 0 16px;
1817
+ font-size: 12px;
1818
+ color: var(--cl-text-secondary);
1819
+ }
1820
+ .catchlight [data-catchlight-form-label] input {
1821
+ min-height: 36px;
1822
+ }
1823
+ .catchlight [data-catchlight-form-label] textarea {
1824
+ font: 12px/1.8 var(--cl-font-mono);
1825
+ resize: vertical;
1826
+ }
1827
+ .catchlight [data-catchlight-file-save] {
1828
+ display: flex;
1829
+ gap: 8px;
1830
+ margin-top: 16px;
1831
+ }
1832
+ .catchlight [data-catchlight-file-save] > button {
1833
+ background: var(--cl-accent);
1834
+ color: var(--cl-on-accent);
1835
+ }
1836
+ .catchlight [data-catchlight-import] {
1837
+ display: flex;
1838
+ flex-direction: column;
1839
+ gap: 24px;
1840
+ font-size: 13px;
1841
+ }
1842
+ .catchlight [data-catchlight-import] h3 {
1843
+ font-size: 13px;
1844
+ font-weight: 600;
1845
+ margin-bottom: 4px;
1846
+ }
1847
+ .catchlight [data-catchlight-import] strong {
1848
+ font-weight: 500;
1849
+ }
1850
+ .catchlight [data-catchlight-import] small {
1851
+ color: var(--cl-text-dim);
1852
+ font-size: 12px;
1853
+ line-height: 1.5;
1854
+ }
1855
+ .catchlight [data-catchlight-import-files],
1856
+ .catchlight [data-catchlight-import-picture] {
1857
+ display: flex;
1858
+ flex-wrap: wrap;
1859
+ align-items: center;
1860
+ gap: 8px;
1861
+ }
1862
+ .catchlight [data-catchlight-import-files] {
1863
+ margin-bottom: 8px;
1864
+ }
1865
+ .catchlight
1866
+ :where([data-catchlight-import-files], [data-catchlight-import-picture], [data-catchlight-import-row])
1867
+ > button {
1868
+ background: var(--cl-surface-raised);
1869
+ flex: none;
1870
+ }
1871
+ .catchlight [data-catchlight-import-chosen] {
1872
+ display: flex;
1873
+ align-items: center;
1874
+ gap: 6px;
1875
+ min-width: 0;
1876
+ overflow-wrap: anywhere;
1877
+ color: var(--cl-ok);
1878
+ }
1879
+ .catchlight [data-catchlight-import-row] {
1880
+ display: flex;
1881
+ align-items: center;
1882
+ justify-content: space-between;
1883
+ gap: 16px;
1884
+ padding: 8px 0;
1885
+ border-top: 1px solid var(--cl-border);
1886
+ }
1887
+ .catchlight [data-catchlight-import-row] > span {
1888
+ display: flex;
1889
+ flex-direction: column;
1890
+ min-width: 0;
1891
+ }
1892
+ .catchlight [data-catchlight-import-row] > select {
1893
+ flex: none;
1894
+ width: 148px;
1895
+ }
1896
+ .catchlight [data-catchlight-import-row] > input {
1897
+ flex: none;
1898
+ }
1899
+ .catchlight [data-catchlight-import-picture] {
1900
+ padding-bottom: 12px;
1901
+ }
1902
+ .catchlight [data-catchlight-import-picture] img {
1903
+ display: block;
1904
+ height: 120px;
1905
+ max-width: 100%;
1906
+ object-fit: contain;
1907
+ border-radius: var(--cl-radius);
1908
+ background: #fff;
1909
+ }
1910
+ .catchlight [data-catchlight-import-picture] a {
1911
+ color: var(--cl-accent);
1912
+ }
1913
+ .catchlight [data-catchlight-import-model] {
1914
+ padding: 14px;
1915
+ border-radius: var(--cl-radius);
1916
+ background: var(--cl-well);
1917
+ }
1918
+ .catchlight [data-catchlight-import-model] [data-catchlight-import-row] {
1919
+ border-top: 0;
1920
+ padding: 0;
1921
+ }
1922
+ .catchlight [data-catchlight-import-model] form {
1923
+ display: grid;
1924
+ grid-template-columns: 1fr auto;
1925
+ align-items: end;
1926
+ gap: 8px;
1927
+ }
1928
+ .catchlight [data-catchlight-import-model] form > label {
1929
+ margin: 0;
1930
+ }
1931
+ .catchlight [data-catchlight-import-model] form > button {
1932
+ min-height: 36px;
1933
+ background: var(--cl-surface-raised);
1934
+ }
1935
+ .catchlight [data-catchlight-import-model] form > small {
1936
+ grid-column: 1 / -1;
1937
+ }
1938
+ .catchlight [data-catchlight-import-error] {
1939
+ color: var(--cl-danger);
1940
+ overflow-wrap: anywhere;
1941
+ }
1942
+ .catchlight [data-catchlight-import] > [data-catchlight-dialog-actions] {
1943
+ position: sticky;
1944
+ bottom: 0;
1945
+ align-items: center;
1946
+ justify-content: space-between;
1947
+ margin: 0 -20px -20px;
1948
+ padding: 12px 20px;
1949
+ background: var(--cl-mantle);
1950
+ border-top: 1px solid var(--cl-border);
1951
+ }
1952
+ .catchlight [data-catchlight-import] > [data-catchlight-dialog-actions] > button {
1953
+ flex: none;
1954
+ min-width: 96px;
1955
+ min-height: 34px;
1956
+ }
1957
+ .catchlight [data-catchlight-palette] {
1958
+ margin: -8px;
1959
+ }
1960
+ .catchlight [data-catchlight-palette] > [data-catchlight-search] {
1961
+ margin-bottom: 12px;
1962
+ padding: 5px 10px;
1963
+ }
1964
+ .catchlight [data-catchlight-palette-results] {
1965
+ max-height: 350px;
1966
+ overflow: auto;
1967
+ }
1968
+ .catchlight [data-catchlight-palette-results] > button {
1969
+ width: 100%;
1970
+ min-height: 48px;
1971
+ text-align: left;
1972
+ justify-content: start;
1973
+ gap: 12px;
1974
+ background: transparent;
1975
+ padding: 8px 10px;
1976
+ }
1977
+ .catchlight [data-catchlight-palette-results] > button[data-active] {
1978
+ background: var(--cl-accent-soft);
1979
+ }
1980
+ .catchlight [data-catchlight-palette-results] > button > svg {
1981
+ color: var(--cl-text-dim);
1982
+ }
1983
+ .catchlight [data-catchlight-palette-results] > button[data-active] > svg {
1984
+ color: var(--cl-accent);
1985
+ }
1986
+ .catchlight [data-catchlight-palette-results] > button > span {
1987
+ flex: 1;
1988
+ }
1989
+ .catchlight [data-catchlight-palette-results] strong {
1990
+ display: block;
1991
+ font-size: 13px;
1992
+ font-weight: 500;
1993
+ }
1994
+ .catchlight [data-catchlight-palette-results] small {
1995
+ display: block;
1996
+ font-size: 11px;
1997
+ margin-top: 2px;
1998
+ }
1999
+ .catchlight [data-catchlight-palette-hint] {
2000
+ display: flex;
2001
+ align-items: center;
2002
+ gap: 5px;
2003
+ padding: 12px 0 0;
2004
+ margin-top: 8px;
2005
+ border-top: 1px solid var(--cl-border);
2006
+ font-size: 11px;
2007
+ }
2008
+ .catchlight [data-catchlight-shortcuts] > div {
2009
+ display: flex;
2010
+ justify-content: space-between;
2011
+ gap: 12px;
2012
+ border-bottom: 1px solid var(--cl-border);
2013
+ padding: 9px 0;
2014
+ font-size: 12px;
2015
+ }
2016
+ .catchlight [data-catchlight-toast] {
2017
+ position: fixed;
2018
+ z-index: 50;
2019
+ bottom: 46px;
2020
+ left: 50%;
2021
+ transform: translateX(-50%);
2022
+ display: flex;
2023
+ align-items: center;
2024
+ gap: 10px;
2025
+ min-width: 240px;
2026
+ max-width: min(600px, calc(100vw - 32px));
2027
+ padding: 8px 10px;
2028
+ border: 1px solid color-mix(in srgb, var(--cl-accent) 30%, var(--cl-border-strong));
2029
+ border-radius: 10px;
2030
+ background: var(--cl-surface);
2031
+ box-shadow: var(--cl-shadow);
2032
+ font-size: 13px;
2033
+ }
2034
+ .catchlight [data-catchlight-toast] > svg {
2035
+ color: var(--cl-accent);
2036
+ }
2037
+ .catchlight [data-catchlight-toast] > span {
2038
+ flex: 1;
2039
+ overflow-wrap: anywhere;
2040
+ }
2041
+ .catchlight [data-catchlight-toast][data-error] {
2042
+ border-color: color-mix(in srgb, var(--cl-danger) 40%, transparent);
2043
+ }
2044
+ .catchlight [data-catchlight-toast][data-error] > svg {
2045
+ color: var(--cl-danger);
2046
+ }
2047
+ .catchlight [data-catchlight-param-fields] {
2048
+ display: flex;
2049
+ flex-wrap: wrap;
2050
+ gap: 8px;
2051
+ }
2052
+ .catchlight [data-catchlight-param-fields] input[type="text"] {
2053
+ width: 100%;
2054
+ }
2055
+ .catchlight [data-catchlight-param-fields] input[type="number"] {
2056
+ flex: 1;
2057
+ width: 65px;
2058
+ }
2059
+ .catchlight [data-catchlight-binding-axis] {
2060
+ display: grid;
2061
+ grid-template-columns: minmax(70px, 96px) minmax(0, 1fr);
2062
+ align-items: center;
2063
+ gap: 10px;
2064
+ padding: 8px 0;
2065
+ border-top: 1px solid var(--cl-border);
2066
+ }
2067
+ .catchlight [data-catchlight-binding-axis] [data-catchlight-param-keys] {
2068
+ display: grid;
2069
+ grid-template-columns: minmax(0, 1fr) auto;
2070
+ align-items: center;
2071
+ gap: 12px;
2072
+ }
2073
+ .catchlight [data-catchlight-binding-axis] [data-catchlight-param-key-track] {
2074
+ height: 14px;
2075
+ margin: 14px 8px 0;
2076
+ }
2077
+ .catchlight [data-catchlight-binding-axis] [data-catchlight-param-key-actions] button {
2078
+ min-height: 26px;
2079
+ width: 26px;
2080
+ padding: 0;
2081
+ }
2082
+ .catchlight [data-catchlight-binding-axis] > span {
2083
+ font-size: 12px;
2084
+ color: var(--cl-text-dim);
2085
+ }
2086
+ .catchlight [data-catchlight-param-key][data-editable] {
2087
+ cursor: ew-resize;
2088
+ }
2089
+ .catchlight [data-catchlight-param-key-editor] {
2090
+ margin-top: 20px;
2091
+ }
2092
+ .catchlight [data-catchlight-param-key-track] {
2093
+ position: relative;
2094
+ height: 30px;
2095
+ margin: 12px 8px;
2096
+ border-top: 1px solid var(--cl-border-strong);
2097
+ }
2098
+ .catchlight [data-catchlight-param-key] {
2099
+ position: absolute;
2100
+ transform: translateX(-50%);
2101
+ top: -7px;
2102
+ height: 14px;
2103
+ min-height: 14px;
2104
+ width: 14px;
2105
+ padding: 0;
2106
+ border-radius: 3px;
2107
+ border: 1px solid color-mix(in srgb, var(--cl-accent) 26.7%, transparent);
2108
+ background: var(--cl-surface);
2109
+ }
2110
+ .catchlight [data-catchlight-param-key][data-current] {
2111
+ background: var(--cl-accent);
2112
+ color: var(--cl-crust);
2113
+ }
2114
+ .catchlight [data-catchlight-param-key-actions] {
2115
+ display: flex;
2116
+ gap: 8px;
2117
+ }
2118
+ .catchlight [data-catchlight-welcome] {
2119
+ position: absolute;
2120
+ inset: 0;
2121
+ display: flex;
2122
+ align-items: center;
2123
+ justify-content: center;
2124
+ flex-direction: column;
2125
+ text-align: center;
2126
+ padding: 20px;
2127
+ background:
2128
+ radial-gradient(
2129
+ ellipse at 50% 35%,
2130
+ color-mix(in srgb, var(--cl-accent) 2.7%, transparent),
2131
+ transparent 65%
2132
+ ),
2133
+ var(--cl-bg);
2134
+ }
2135
+ .catchlight [data-catchlight-welcome-symbol] {
2136
+ color: var(--cl-accent);
2137
+ margin-bottom: 20px;
2138
+ }
2139
+ .catchlight [data-catchlight-eyebrow] {
2140
+ font-size: 11px;
2141
+ letter-spacing: 2px;
2142
+ color: var(--cl-text-dim);
2143
+ }
2144
+ .catchlight [data-catchlight-welcome] h1 {
2145
+ font-size: clamp(28px, 3.2vw, 44px);
2146
+ font-weight: 450;
2147
+ line-height: 1.1;
2148
+ letter-spacing: -1.8px;
2149
+ margin: 16px 0;
2150
+ }
2151
+ .catchlight [data-catchlight-welcome] h1 em {
2152
+ font-family: Georgia, serif;
2153
+ color: var(--cl-accent);
2154
+ font-weight: 400;
2155
+ }
2156
+ .catchlight [data-catchlight-welcome] > div {
2157
+ display: flex;
2158
+ gap: 8px;
2159
+ margin: 24px 0 12px;
2160
+ }
2161
+ .catchlight [data-catchlight-welcome] button {
2162
+ min-height: 36px;
2163
+ }
2164
+ .catchlight [data-catchlight-welcome] > small {
2165
+ margin-top: 18px;
2166
+ font-size: 11px;
2167
+ }
2168
+ .catchlight [data-catchlight-text-button] {
2169
+ background: transparent;
2170
+ color: var(--cl-accent);
2171
+ font-size: 12px;
2172
+ }
2173
+ .catchlight [data-catchlight-drop-hint] {
2174
+ position: absolute;
2175
+ inset: 12px;
2176
+ border: 2px dashed var(--cl-accent);
2177
+ border-radius: 12px;
2178
+ background: color-mix(in srgb, var(--cl-accent) 12%, var(--cl-bg));
2179
+ color: var(--cl-accent);
2180
+ display: flex;
2181
+ flex-direction: column;
2182
+ gap: 12px;
2183
+ justify-content: center;
2184
+ align-items: center;
2185
+ pointer-events: none;
2186
+ }
2187
+ .catchlight [data-catchlight-drop-hint] strong {
2188
+ font-size: 22px;
2189
+ font-weight: 450;
2190
+ }
2191
+ .catchlight [data-catchlight-drop-hint] span {
2192
+ font-size: 12px;
2193
+ }
2194
+ .catchlight [data-catchlight-status] {
2195
+ grid-area: status;
2196
+ color: var(--cl-text-dim);
2197
+ display: flex;
2198
+ align-items: center;
2199
+ justify-content: space-between;
2200
+ gap: 12px;
2201
+ font-size: 11px;
2202
+ padding: 0 8px;
2203
+ }
2204
+ .catchlight [data-catchlight-status] > div {
2205
+ display: flex;
2206
+ align-items: center;
2207
+ gap: 16px;
2208
+ min-width: 0;
2209
+ }
2210
+ .catchlight [data-catchlight-status-title] {
2211
+ white-space: nowrap;
2212
+ text-overflow: ellipsis;
2213
+ overflow: hidden;
2214
+ color: var(--cl-text-secondary);
2215
+ }
2216
+ .catchlight [data-catchlight-status-selection] {
2217
+ opacity: 1;
2218
+ }
2219
+ .catchlight [data-catchlight-status] [data-catchlight-icon-button] {
2220
+ width: 20px;
2221
+ height: 20px;
2222
+ min-height: 20px;
2223
+ flex-basis: 20px;
2224
+ padding: 2px;
2225
+ }
2226
+ .catchlight [data-catchlight-status] svg {
2227
+ width: 13px;
2228
+ height: 13px;
2229
+ }
2230
+ .catchlight [data-catchlight-environment] {
2231
+ display: flex;
2232
+ align-items: center;
2233
+ gap: 7px;
2234
+ font-size: 11px;
2235
+ }
2236
+ .catchlight [data-catchlight-environment] i {
2237
+ width: 4px;
2238
+ height: 4px;
2239
+ }
2240
+ .catchlight [data-catchlight-mobile-only] {
2241
+ display: none;
2242
+ }
2243
+ .catchlight [data-catchlight-panel] {
2244
+ position: relative;
2245
+ }
2246
+ .catchlight [data-catchlight-resize] {
2247
+ position: absolute;
2248
+ z-index: 15;
2249
+ touch-action: none;
2250
+ user-select: none;
2251
+ }
2252
+ .catchlight [data-catchlight-resize="left"] {
2253
+ width: var(--cl-gutter);
2254
+ top: 12px;
2255
+ bottom: 12px;
2256
+ right: calc(-1px - var(--cl-gutter));
2257
+ border-radius: 3px;
2258
+ cursor: col-resize;
2259
+ }
2260
+ .catchlight [data-catchlight-resize="right"] {
2261
+ width: var(--cl-gutter);
2262
+ top: 12px;
2263
+ bottom: 12px;
2264
+ left: calc(-1px - var(--cl-gutter));
2265
+ border-radius: 3px;
2266
+ cursor: col-resize;
2267
+ }
2268
+ .catchlight [data-catchlight-resize="dock"] {
2269
+ height: 6px;
2270
+ top: -3px;
2271
+ left: 0;
2272
+ right: 0;
2273
+ cursor: row-resize;
2274
+ }
2275
+ .catchlight [data-catchlight-resize]:hover,
2276
+ .catchlight [data-catchlight-resize]:focus-visible {
2277
+ background: color-mix(in srgb, var(--cl-accent) 45%, transparent);
2278
+ }
2279
+ .catchlight [data-catchlight-axis-input] {
2280
+ display: flex;
2281
+ align-items: center;
2282
+ position: relative;
2283
+ min-width: 0;
2284
+ flex: 1;
2285
+ height: var(--cl-control-height);
2286
+ border: 1px solid transparent;
2287
+ border-radius: var(--cl-radius);
2288
+ background: var(--cl-surface);
2289
+ }
2290
+ .catchlight [data-catchlight-axis-input] > span {
2291
+ color: var(--cl-text-dim);
2292
+ pointer-events: none;
2293
+ position: static;
2294
+ flex: none;
2295
+ font-size: 11px;
2296
+ margin-inline: 8px;
2297
+ }
2298
+ .catchlight [data-catchlight-axis-input] > input[type="number"] {
2299
+ padding: 2px 8px;
2300
+ width: 0;
2301
+ flex: 1;
2302
+ font-size: 12px;
2303
+ min-height: 24px;
2304
+ border: 0;
2305
+ background: transparent;
2306
+ }
2307
+ .catchlight [data-catchlight-binding-name] small {
2308
+ font-size: 11px;
2309
+ margin-left: 5px;
2310
+ }
2311
+ .catchlight [data-catchlight-bindings-panel] {
2312
+ max-width: 760px;
2313
+ margin-inline: auto;
2314
+ }
2315
+ .catchlight [data-catchlight-bindings-panel] > [data-catchlight-disclosure] {
2316
+ margin-top: 12px;
2317
+ }
2318
+ .catchlight [data-catchlight-workspace][data-focus] {
2319
+ grid-template-columns: 0 minmax(0, 1fr) 0;
2320
+ column-gap: 0;
2321
+ }
2322
+ .catchlight
2323
+ [data-catchlight-workspace][data-focus]
2324
+ > [data-catchlight-panel] {
2325
+ visibility: hidden;
2326
+ }
2327
+
2328
+ @media (prefers-reduced-motion: reduce) {
2329
+ .catchlight *,
2330
+ .catchlight *::before,
2331
+ .catchlight *::after {
2332
+ transition: none !important;
2333
+ animation: none !important;
2334
+ scroll-behavior: auto !important;
2335
+ }
2336
+ }
2337
+
2338
+ .catchlight [data-catchlight-center] {
2339
+ container-type: inline-size;
2340
+ }
2341
+ .catchlight [data-catchlight-workspace-modes] button {
2342
+ background: transparent;
2343
+ border: 0;
2344
+ color: var(--cl-text-secondary);
2345
+ border-radius: 6px;
2346
+ font-size: 12px;
2347
+ padding: 3px 10px;
2348
+ gap: 6px;
2349
+ }
2350
+ .catchlight [data-catchlight-workspace-modes] button[aria-pressed="true"] {
2351
+ background: var(--cl-surface-active);
2352
+ color: var(--cl-text);
2353
+ }
2354
+ .catchlight
2355
+ [data-mode="mesh"]
2356
+ [data-catchlight-workspace-modes]
2357
+ button[aria-pressed="true"] {
2358
+ color: var(--cl-accent);
2359
+ }
2360
+ .catchlight
2361
+ [data-mode="record"]
2362
+ [data-catchlight-workspace-modes]
2363
+ button[aria-pressed="true"] {
2364
+ background: var(--cl-record-soft);
2365
+ color: var(--cl-record-text);
2366
+ }
2367
+ .catchlight [data-catchlight-editing-bar] {
2368
+ display: flex;
2369
+ align-items: center;
2370
+ flex: none;
2371
+ gap: 12px;
2372
+ padding: 8px 12px;
2373
+ min-height: 52px;
2374
+ flex-wrap: wrap;
2375
+ border-bottom: 1px solid var(--cl-border);
2376
+ background: color-mix(in srgb, var(--cl-accent) 9%, var(--cl-mantle));
2377
+ }
2378
+ .catchlight [data-catchlight-editing-bar][data-mode="record"] {
2379
+ background: color-mix(in srgb, var(--cl-accent) 9%, var(--cl-mantle));
2380
+ }
2381
+ .catchlight [data-catchlight-editing-bar][data-recording] {
2382
+ background: var(--cl-record-soft);
2383
+ }
2384
+ .catchlight [data-catchlight-editing-title] {
2385
+ display: flex;
2386
+ align-items: center;
2387
+ gap: 10px;
2388
+ min-width: 0;
2389
+ flex: 1;
2390
+ }
2391
+ .catchlight [data-catchlight-editing-title] > svg {
2392
+ flex: none;
2393
+ color: var(--cl-accent);
2394
+ }
2395
+ .catchlight [data-mode="record"] [data-catchlight-editing-title] > svg {
2396
+ color: var(--cl-record);
2397
+ }
2398
+ .catchlight [data-catchlight-editing-title] > div {
2399
+ min-width: 0;
2400
+ }
2401
+ .catchlight [data-catchlight-editing-title] strong {
2402
+ display: block;
2403
+ font-weight: 600;
2404
+ font-size: 13px;
2405
+ }
2406
+ .catchlight [data-catchlight-editing-title] strong span {
2407
+ color: var(--cl-text-secondary);
2408
+ font-weight: 400;
2409
+ }
2410
+ .catchlight [data-catchlight-editing-title] small {
2411
+ display: block;
2412
+ margin-top: 3px;
2413
+ line-height: 1.5;
2414
+ color: var(--cl-text-secondary);
2415
+ font-size: 11px;
2416
+ }
2417
+ .catchlight [data-catchlight-editing-state] {
2418
+ font-size: 11px;
2419
+ color: var(--cl-text-dim);
2420
+ white-space: nowrap;
2421
+ }
2422
+ .catchlight [data-catchlight-editing-actions] {
2423
+ display: flex;
2424
+ gap: 6px;
2425
+ flex: none;
2426
+ }
2427
+ .catchlight [data-catchlight-editing-actions] [data-primary] {
2428
+ min-width: 88px;
2429
+ }
2430
+ .catchlight [data-catchlight-record-dot] {
2431
+ display: inline-block;
2432
+ background: currentColor;
2433
+ border-radius: 50%;
2434
+ flex: none;
2435
+ width: 9px;
2436
+ height: 9px;
2437
+ }
2438
+ .catchlight [data-catchlight-record-button] {
2439
+ flex: none;
2440
+
2441
+ min-width: 136px;
2442
+ min-height: 30px;
2443
+ padding-inline: 12px;
2444
+ border-color: transparent;
2445
+ background: var(--cl-record);
2446
+ color: #fff;
2447
+ font-size: 12px;
2448
+ font-weight: 600;
2449
+ box-shadow: inset 0 1px #ffffff26, 0 2px 3px #0004;
2450
+ }
2451
+ .catchlight [data-catchlight-record-button]:hover {
2452
+ background: var(--cl-record-hover);
2453
+ color: #fff;
2454
+ border-color: transparent;
2455
+ }
2456
+ .catchlight [data-catchlight-record-button][data-recording] {
2457
+ background: var(--cl-record);
2458
+ color: #fff;
2459
+ border-color: transparent;
2460
+ }
2461
+ .catchlight [data-catchlight-record-button][data-recording] i {
2462
+ border-radius: 1px;
2463
+ }
2464
+ .catchlight [data-catchlight-mesh-tools] {
2465
+ display: flex;
2466
+ align-items: center;
2467
+ background: var(--cl-mantle);
2468
+ flex: none;
2469
+ flex-wrap: wrap;
2470
+ gap: 6px;
2471
+ padding: 8px 12px;
2472
+ border-bottom: 1px solid var(--cl-divider);
2473
+ }
2474
+ .catchlight [data-catchlight-mesh-tools] button {
2475
+ background: transparent;
2476
+ border-color: transparent;
2477
+ padding-inline: 8px;
2478
+ font-size: 12px;
2479
+ }
2480
+ .catchlight [data-catchlight-mesh-tools] button[aria-pressed="true"] {
2481
+ background: var(--cl-accent-soft);
2482
+ border-color: color-mix(in srgb, var(--cl-accent) 22%, transparent);
2483
+ color: var(--cl-accent);
2484
+ }
2485
+ .catchlight [data-catchlight-mesh-tools] > button:last-child {
2486
+ margin-left: auto;
2487
+ }
2488
+ .catchlight [data-catchlight-mesh-canvas] {
2489
+ position: absolute;
2490
+ inset: 0;
2491
+ z-index: 2;
2492
+ overflow: hidden;
2493
+ background-color: #14171b;
2494
+ background-image: conic-gradient(
2495
+ #191d22 25%,
2496
+ transparent 0 50%,
2497
+ #191d22 0 75%,
2498
+ transparent 0
2499
+ );
2500
+ background-size: 20px 20px;
2501
+ }
2502
+ .catchlight [data-catchlight-mesh-canvas] > svg {
2503
+ display: block;
2504
+ touch-action: none;
2505
+ outline-offset: -3px;
2506
+ }
2507
+ .catchlight [data-catchlight-mesh-canvas][data-tool="hand"] > svg {
2508
+ cursor: grab;
2509
+ }
2510
+ .catchlight [data-catchlight-mesh-canvas][data-tool="add"] > svg {
2511
+ cursor: crosshair;
2512
+ }
2513
+ .catchlight [data-catchlight-mesh-artwork],
2514
+ .catchlight [data-catchlight-draft-triangles] {
2515
+ pointer-events: none;
2516
+ }
2517
+ .catchlight [data-catchlight-draft-triangles] polygon {
2518
+ fill: none;
2519
+ stroke: #419fe8;
2520
+ stroke-width: 0.85;
2521
+ stroke-linejoin: round;
2522
+ }
2523
+ .catchlight [data-catchlight-draft-vertex] > circle:first-child {
2524
+ fill: #24699a;
2525
+ stroke: #c5e5ff;
2526
+ stroke-width: 1.25;
2527
+ pointer-events: none;
2528
+ }
2529
+ .catchlight
2530
+ [data-catchlight-draft-vertex][data-selected]
2531
+ > circle:first-child {
2532
+ fill: #f7fcff;
2533
+ stroke: #228fdf;
2534
+ stroke-width: 2;
2535
+ r: 5px;
2536
+ }
2537
+ .catchlight [data-catchlight-mesh-hit] {
2538
+ fill: transparent;
2539
+ stroke: none;
2540
+ cursor: move;
2541
+ }
2542
+ .catchlight [data-tool="connect"] [data-catchlight-mesh-hit] {
2543
+ cursor: crosshair;
2544
+ }
2545
+ .catchlight [data-tool="hand"] [data-catchlight-mesh-hit] {
2546
+ cursor: grab;
2547
+ }
2548
+ .catchlight [data-catchlight-stage-caption] {
2549
+ position: absolute;
2550
+ z-index: 3;
2551
+ top: 14px;
2552
+ left: 16px;
2553
+ display: flex;
2554
+ flex-direction: column;
2555
+ gap: 4px;
2556
+ pointer-events: none;
2557
+ color: var(--cl-text-dim);
2558
+ font-size: 11px;
2559
+ }
2560
+ .catchlight [data-catchlight-stage-caption] span:first-child {
2561
+ display: flex;
2562
+ align-items: center;
2563
+ gap: 6px;
2564
+ color: var(--cl-text-secondary);
2565
+ font-size: 12px;
2566
+ }
2567
+ .catchlight [data-catchlight-mesh-opacity] {
2568
+ position: absolute;
2569
+ bottom: 14px;
2570
+ right: 16px;
2571
+ padding: 6px 9px;
2572
+ border-radius: 5px;
2573
+ background: var(--cl-mantle);
2574
+ border: 1px solid var(--cl-border);
2575
+ }
2576
+ .catchlight [data-catchlight-mesh-opacity] label {
2577
+ display: flex;
2578
+ align-items: center;
2579
+ gap: 8px;
2580
+ font-size: 11px;
2581
+ color: var(--cl-text-secondary);
2582
+ }
2583
+ .catchlight [data-catchlight-mesh-opacity] input {
2584
+ width: 80px;
2585
+ height: 16px;
2586
+ margin: 0;
2587
+ }
2588
+ .catchlight [data-catchlight-stage-loading] {
2589
+ position: absolute;
2590
+ inset: 0;
2591
+ display: grid;
2592
+ place-items: center;
2593
+ color: var(--cl-text-secondary);
2594
+ pointer-events: none;
2595
+ }
2596
+ .catchlight [data-mode="mesh"] [data-catchlight-canvas-hint] {
2597
+ z-index: 3;
2598
+ left: 16px;
2599
+ transform: none;
2600
+ font-size: 11px;
2601
+ }
2602
+ .catchlight [data-mode="mesh"] [data-catchlight-dock] {
2603
+ height: 32px;
2604
+ max-height: none;
2605
+ flex: none;
2606
+ }
2607
+ .catchlight [data-mode="mesh"] [data-catchlight-dock-header],
2608
+ .catchlight [data-mode="mesh"] [data-catchlight-resize="dock"] {
2609
+ display: none;
2610
+ }
2611
+ .catchlight [data-mode="mesh"] [data-catchlight-dock-body] {
2612
+ height: 100%;
2613
+ display: flex;
2614
+ align-items: center;
2615
+ }
2616
+ .catchlight [data-catchlight-mesh-pose-held] {
2617
+ margin: 0;
2618
+ padding: 0 16px;
2619
+ color: var(--cl-text-dim);
2620
+ font-size: 11px;
2621
+ }
2622
+ .catchlight
2623
+ [data-mode="mesh"]
2624
+ [data-catchlight-panel="left"]
2625
+ > :not([data-catchlight-resize]) {
2626
+ opacity: 0.5;
2627
+ }
2628
+ .catchlight [data-catchlight-edit-explainer] {
2629
+ padding: 0 16px 12px;
2630
+ }
2631
+ .catchlight [data-catchlight-edit-explainer] strong {
2632
+ font-size: 12px;
2633
+ font-weight: 500;
2634
+ }
2635
+ .catchlight [data-catchlight-edit-explainer] p {
2636
+ color: var(--cl-text-dim);
2637
+ font-size: 12px;
2638
+ line-height: 1.7;
2639
+ margin: 5px 0 0;
2640
+ }
2641
+ .catchlight [data-catchlight-mesh-inspector] > [data-catchlight-metrics] {
2642
+ padding: 0 16px 16px;
2643
+ gap: 20px;
2644
+ }
2645
+ .catchlight [data-catchlight-mesh-inspector] > [data-catchlight-metrics] b {
2646
+ font-size: 16px;
2647
+ color: var(--cl-text-secondary);
2648
+ margin-right: 3px;
2649
+ font-variant-numeric: tabular-nums;
2650
+ }
2651
+ .catchlight [data-catchlight-edit-footer] {
2652
+ border-top: 1px solid var(--cl-border);
2653
+ padding: 14px 16px;
2654
+ font-size: 11px;
2655
+ color: var(--cl-text-dim);
2656
+ line-height: 1.7;
2657
+ }
2658
+ .catchlight [data-catchlight-edit-footer] p {
2659
+ margin: 0;
2660
+ }
2661
+ .catchlight [data-catchlight-draft-state] {
2662
+ display: block;
2663
+ color: var(--cl-accent);
2664
+ margin-top: 10px;
2665
+ }
2666
+ .catchlight [data-catchlight-mesh-inspector] > [data-catchlight-warning] {
2667
+ margin: 0 12px 12px;
2668
+ }
2669
+ .catchlight [data-catchlight-record-scope] {
2670
+ display: flex;
2671
+ padding: 0 16px 16px;
2672
+ gap: 5px;
2673
+ }
2674
+ .catchlight [data-catchlight-record-scope] button {
2675
+ flex: 1;
2676
+ padding: 5px 6px;
2677
+ font-size: 11px;
2678
+ }
2679
+ .catchlight [data-catchlight-record-scope] button[aria-pressed="true"] {
2680
+ background: var(--cl-record-soft);
2681
+ color: var(--cl-record-text);
2682
+ border-color: transparent;
2683
+ }
2684
+ .catchlight [data-catchlight-recording-inspector] > [data-catchlight-field] {
2685
+ margin: 0 16px 12px;
2686
+ }
2687
+ .catchlight [data-catchlight-recording-inspector] > [data-catchlight-hint] {
2688
+ margin: 12px 16px;
2689
+ }
2690
+ .catchlight [data-catchlight-recording-inspector] > [data-catchlight-action] {
2691
+ margin: 0 16px 16px;
2692
+ width: calc(100% - 32px);
2693
+ }
2694
+ .catchlight
2695
+ [data-catchlight-recording-inspector]
2696
+ [data-catchlight-selection-heading]
2697
+ > svg {
2698
+ color: var(--cl-record-marker);
2699
+ }
2700
+ .catchlight [data-catchlight-pair-note] {
2701
+ display: flex;
2702
+ gap: 7px;
2703
+ margin: -3px 16px 12px;
2704
+ color: var(--cl-text-dim);
2705
+ font-size: 11px;
2706
+ }
2707
+ .catchlight [data-catchlight-pair-note] b {
2708
+ color: var(--cl-text-secondary);
2709
+ font-weight: 500;
2710
+ }
2711
+ .catchlight [data-catchlight-record-target] {
2712
+ border-radius: 8px;
2713
+ padding: 14px;
2714
+ border: 0;
2715
+ background: var(--cl-surface);
2716
+ margin: 0 14px;
2717
+ }
2718
+ .catchlight [data-recording] > [data-catchlight-record-target] {
2719
+ background: var(--cl-record-soft);
2720
+ }
2721
+ .catchlight [data-catchlight-record-target] > small {
2722
+ display: block;
2723
+ text-transform: uppercase;
2724
+ letter-spacing: 0.08em;
2725
+ font-size: 11px;
2726
+ color: var(--cl-accent);
2727
+ font-weight: 600;
2728
+ }
2729
+ .catchlight [data-catchlight-record-target] > strong {
2730
+ display: block;
2731
+ margin: 5px 0 8px;
2732
+ font-size: 13px;
2733
+ font-weight: 600;
2734
+ }
2735
+ .catchlight [data-catchlight-record-target] > p {
2736
+ margin: 3px 0;
2737
+ font-size: 12px;
2738
+ color: var(--cl-text-secondary);
2739
+ }
2740
+ .catchlight [data-catchlight-key-state] {
2741
+ display: flex;
2742
+ align-items: center;
2743
+ gap: 6px;
2744
+ padding-top: 10px;
2745
+ margin-top: 10px;
2746
+ font-size: 11px;
2747
+ border-top: 0;
2748
+ color: var(--cl-text-secondary);
2749
+ }
2750
+ .catchlight [data-catchlight-key-state] [data-authored] {
2751
+ fill: var(--cl-record-marker);
2752
+ stroke: var(--cl-record-marker);
2753
+ }
2754
+ .catchlight [data-catchlight-record-instructions] {
2755
+ display: flex;
2756
+ align-items: flex-start;
2757
+ gap: 10px;
2758
+ padding: 4px 16px 16px;
2759
+ color: var(--cl-text-secondary);
2760
+ }
2761
+ .catchlight [data-catchlight-record-instructions] > svg {
2762
+ flex: none;
2763
+ margin-top: 2px;
2764
+ color: var(--cl-record-marker);
2765
+ }
2766
+ .catchlight [data-catchlight-record-instructions] p {
2767
+ margin: 0;
2768
+ font-size: 12px;
2769
+ line-height: 1.7;
2770
+ }
2771
+ .catchlight [data-catchlight-selection-overlay][data-recording] {
2772
+ color: var(--cl-record);
2773
+ }
2774
+ .catchlight
2775
+ [data-catchlight-selection-overlay][data-recording]
2776
+ [data-catchlight-mesh-lines]
2777
+ polygon {
2778
+ stroke: var(--cl-record);
2779
+ opacity: 0.65;
2780
+ }
2781
+ .catchlight [data-catchlight-recording-keys] {
2782
+ padding: 14px 20px 16px;
2783
+ }
2784
+ .catchlight [data-catchlight-key-shelf-heading] {
2785
+ display: flex;
2786
+ justify-content: space-between;
2787
+ gap: 16px;
2788
+ align-items: center;
2789
+ color: var(--cl-text-dim);
2790
+ font-size: 11px;
2791
+ padding-bottom: 14px;
2792
+ }
2793
+ .catchlight [data-catchlight-key-shelf-heading] b {
2794
+ color: var(--cl-text-secondary);
2795
+ font-weight: 500;
2796
+ }
2797
+ .catchlight [data-catchlight-key-shelf-heading] small {
2798
+ font-size: 11px;
2799
+ white-space: nowrap;
2800
+ }
2801
+ .catchlight [data-catchlight-key-shelf-content] {
2802
+ display: flex;
2803
+ gap: 24px;
2804
+ align-items: start;
2805
+ }
2806
+ .catchlight [data-catchlight-record-sliders] {
2807
+ flex: 1;
2808
+ min-width: 0;
2809
+ }
2810
+ .catchlight [data-catchlight-record-slider] {
2811
+ display: flex;
2812
+ align-items: center;
2813
+ gap: 14px;
2814
+ margin-bottom: 14px;
2815
+ }
2816
+ .catchlight [data-catchlight-record-slider] > label {
2817
+ width: 90px;
2818
+ flex: none;
2819
+ font-size: 12px;
2820
+ line-height: 1.4;
2821
+ overflow-wrap: anywhere;
2822
+ }
2823
+ .catchlight [data-catchlight-record-slider] > input {
2824
+ min-width: 40px;
2825
+ width: 100%;
2826
+ }
2827
+ .catchlight [data-catchlight-record-slider] > [data-catchlight-number] {
2828
+ flex: 0 0 64px;
2829
+ }
2830
+ .catchlight [data-catchlight-record-key-strip] {
2831
+ display: flex;
2832
+ gap: 8px;
2833
+ overflow-x: auto;
2834
+ padding-bottom: 4px;
2835
+ }
2836
+ .catchlight [data-catchlight-record-key] {
2837
+ min-width: 72px;
2838
+ flex: 1;
2839
+ justify-content: flex-start;
2840
+ border-color: var(--cl-border-strong);
2841
+ flex-wrap: wrap;
2842
+ gap: 7px;
2843
+ background: var(--cl-surface);
2844
+ border: 1px solid transparent;
2845
+ padding: 8px 12px;
2846
+ }
2847
+ .catchlight [data-catchlight-record-key] > svg {
2848
+ color: var(--cl-text-dim);
2849
+ flex: none;
2850
+ }
2851
+ .catchlight [data-catchlight-record-key] > span {
2852
+ font-variant-numeric: tabular-nums;
2853
+ font-size: 13px;
2854
+ }
2855
+ .catchlight [data-catchlight-record-key] > small {
2856
+ flex-basis: 100%;
2857
+ font-size: 11px;
2858
+ text-align: left;
2859
+ color: var(--cl-text-secondary);
2860
+ }
2861
+ .catchlight [data-catchlight-record-key][data-authored] > svg {
2862
+ fill: currentColor;
2863
+ color: var(--cl-record-marker);
2864
+ }
2865
+ .catchlight [data-catchlight-record-key][aria-pressed="true"] {
2866
+ background: var(--cl-accent-soft);
2867
+ border-color: var(--cl-accent);
2868
+ color: var(--cl-text);
2869
+ }
2870
+ .catchlight [data-catchlight-record-key][aria-pressed="true"] > svg {
2871
+ color: var(--cl-record-marker);
2872
+ }
2873
+ .catchlight [data-catchlight-record-key][data-recording] {
2874
+ box-shadow: none;
2875
+ }
2876
+ .catchlight [data-catchlight-record-pose-hint] {
2877
+ font-size: 11px;
2878
+ color: var(--cl-text-dim);
2879
+ margin: 10px 0 0;
2880
+ line-height: 1.6;
2881
+ }
2882
+ .catchlight [data-catchlight-record-matrix-scroll] {
2883
+ overflow: auto;
2884
+ max-width: 55%;
2885
+ max-height: 210px;
2886
+ flex: 1;
2887
+ padding: 0 2px 3px;
2888
+ }
2889
+ .catchlight [data-catchlight-record-matrix] {
2890
+ display: grid;
2891
+ gap: 6px;
2892
+ min-width: max-content;
2893
+ align-items: center;
2894
+ }
2895
+ .catchlight [data-catchlight-record-matrix] span {
2896
+ font-size: 11px;
2897
+ color: var(--cl-text-dim);
2898
+ text-align: center;
2899
+ font-variant-numeric: tabular-nums;
2900
+ }
2901
+ .catchlight [data-catchlight-matrix-row] {
2902
+ display: contents;
2903
+ }
2904
+ .catchlight [data-catchlight-record-matrix] button {
2905
+ min-width: 34px;
2906
+ min-height: 30px;
2907
+ padding: 6px;
2908
+ justify-content: center;
2909
+ }
2910
+ .catchlight [data-catchlight-key-gate] {
2911
+ margin-bottom: 16px;
2912
+ padding: 12px;
2913
+ border: 1px solid color-mix(in srgb, var(--cl-warn) 30%, transparent);
2914
+ border-radius: 7px;
2915
+ background: color-mix(in srgb, var(--cl-warn) 5%, var(--cl-mantle));
2916
+ display: flex;
2917
+ flex-wrap: wrap;
2918
+ align-items: center;
2919
+ gap: 10px;
2920
+ }
2921
+ .catchlight [data-catchlight-key-gate] > div:first-child {
2922
+ flex: 1;
2923
+ min-width: 180px;
2924
+ }
2925
+ .catchlight [data-catchlight-key-gate] strong {
2926
+ font-size: 12px;
2927
+ font-weight: 500;
2928
+ color: var(--cl-warn);
2929
+ }
2930
+ .catchlight [data-catchlight-key-gate] p {
2931
+ margin: 4px 0 0;
2932
+ font-size: 11px;
2933
+ color: var(--cl-text-secondary);
2934
+ }
2935
+ .catchlight [data-catchlight-key-gate] > div:nth-child(2) {
2936
+ display: flex;
2937
+ gap: 6px;
2938
+ flex-wrap: wrap;
2939
+ }
2940
+ .catchlight [data-catchlight-key-gate] button {
2941
+ font-size: 11px;
2942
+ padding-inline: 8px;
2943
+ }
2944
+ .catchlight [data-catchlight-key-gate] small {
2945
+ width: 100%;
2946
+ font-size: 11px;
2947
+ color: var(--cl-text-dim);
2948
+ }
2949
+
2950
+ .catchlight
2951
+ [data-catchlight-selection-overlay][data-recording]
2952
+ :is(
2953
+ [data-catchlight-selection-box],
2954
+ [data-catchlight-selection-corner],
2955
+ [data-catchlight-rotation-handle],
2956
+ [data-catchlight-rotation-stem]
2957
+ ) {
2958
+ stroke: var(--cl-record);
2959
+ }
2960
+ .catchlight [data-catchlight-record-button][data-recording]:hover {
2961
+ background: var(--cl-record-hover);
2962
+ color: #fff;
2963
+ }
2964
+ .catchlight [data-catchlight-toast] {
2965
+ width: max-content;
2966
+ }
2967
+
2968
+ .catchlight [data-catchlight-draft-constraints] {
2969
+ pointer-events: none;
2970
+ stroke: var(--cl-accent);
2971
+ stroke-width: 1.5;
2972
+ }
2973
+ .catchlight
2974
+ [data-catchlight-mesh-canvas][data-tool="connect"]
2975
+ [data-catchlight-draft-triangles] {
2976
+ stroke-dasharray: 3 3;
2977
+ opacity: 0.5;
2978
+ }
2979
+
2980
+ .catchlight [data-catchlight-record-matrix-label] {
2981
+ display: flex;
2982
+ justify-content: space-between;
2983
+ gap: 12px;
2984
+ font-size: 11px;
2985
+ color: var(--cl-text-secondary);
2986
+ padding: 0 2px 8px;
2987
+ }
2988
+
2989
+ .catchlight
2990
+ [data-catchlight-selection-overlay][data-recording]
2991
+ [data-catchlight-vertex-handle],
2992
+ .catchlight
2993
+ [data-catchlight-selection-overlay][data-recording]
2994
+ [data-catchlight-vertex-handle]:hover,
2995
+ .catchlight
2996
+ [data-catchlight-selection-overlay][data-recording]
2997
+ [data-catchlight-vertex-handle]:focus {
2998
+ fill: transparent;
2999
+ stroke: none;
3000
+ r: 11px;
3001
+ }
3002
+ .catchlight
3003
+ [data-catchlight-record-vertex]
3004
+ [data-catchlight-record-vertex-dot] {
3005
+ pointer-events: none;
3006
+ fill: #703d40;
3007
+ stroke: #ffccc9;
3008
+ stroke-width: 1.25;
3009
+ }
3010
+ .catchlight
3011
+ [data-catchlight-record-vertex]:hover
3012
+ [data-catchlight-record-vertex-dot],
3013
+ .catchlight
3014
+ [data-catchlight-record-vertex]:focus-within
3015
+ [data-catchlight-record-vertex-dot] {
3016
+ fill: #fff1f0;
3017
+ r: 5px;
3018
+ stroke-width: 2;
3019
+ }
3020
+ .catchlight [data-catchlight-save] {
3021
+ color: var(--cl-text);
3022
+ background: var(--cl-surface-raised);
3023
+ font-size: 12px;
3024
+ padding-inline: 12px;
3025
+ }
3026
+ .catchlight [data-catchlight-canvas-tools] {
3027
+ position: absolute;
3028
+ z-index: 4;
3029
+ left: 10px;
3030
+ bottom: 10px;
3031
+ display: flex;
3032
+ align-items: center;
3033
+ gap: 2px;
3034
+ padding: 2px;
3035
+ }
3036
+ .catchlight [data-catchlight-scene-label] {
3037
+ position: absolute;
3038
+ top: 16px;
3039
+ left: 16px;
3040
+ display: flex;
3041
+ gap: 6px;
3042
+ color: var(--cl-text-dim);
3043
+ font-size: 11px;
3044
+ letter-spacing: 0.02em;
3045
+ pointer-events: none;
3046
+ }
3047
+ .catchlight [data-catchlight-canvas-actions] {
3048
+ grid-column: 3;
3049
+ justify-self: end;
3050
+ display: flex;
3051
+ align-items: center;
3052
+ flex-wrap: wrap;
3053
+ justify-content: end;
3054
+ gap: 6px;
3055
+ }
3056
+ .catchlight [data-catchlight-panel-toggle] {
3057
+ display: none;
3058
+ background: transparent;
3059
+ color: var(--cl-text-secondary);
3060
+ font-size: 12px;
3061
+ padding-inline: 8px;
3062
+ }
3063
+ .catchlight [data-catchlight-panel-toggle][aria-expanded="true"] {
3064
+ background: var(--cl-accent-soft);
3065
+ color: var(--cl-selection-text);
3066
+ }
3067
+ .catchlight [data-catchlight-panel-scrim] {
3068
+ display: none;
3069
+ position: absolute;
3070
+ inset: calc(var(--cl-toolbar-height) + var(--cl-model-tabs-height)) 0 var(--cl-status-height);
3071
+ z-index: 19;
3072
+ border: 0;
3073
+ border-radius: 0;
3074
+ background: #0005;
3075
+ }
3076
+ .catchlight [data-catchlight-zoom-tools] {
3077
+ position: absolute;
3078
+ z-index: 4;
3079
+ right: 10px;
3080
+ bottom: 10px;
3081
+ padding: 2px;
3082
+ }
3083
+ .catchlight [data-mode="mesh"] [data-catchlight-mesh-opacity] {
3084
+ bottom: 52px;
3085
+ background: var(--cl-mantle);
3086
+ }
3087
+ .catchlight [data-catchlight-properties] > [data-catchlight-inspector] {
3088
+ padding: 0 14px;
3089
+ }
3090
+ .catchlight [data-catchlight-inspector-section] {
3091
+ margin-block: 4px 16px;
3092
+ }
3093
+ .catchlight [data-catchlight-inspector-section] > h3 {
3094
+ font-size: 11px;
3095
+ font-weight: 600;
3096
+ letter-spacing: 0.04em;
3097
+ text-transform: uppercase;
3098
+ color: var(--cl-text-dim);
3099
+ margin-bottom: 6px;
3100
+ }
3101
+ .catchlight [data-catchlight-inspector-row]:has([data-axis="z"]),
3102
+ .catchlight [data-catchlight-inspector-row]:has([data-axis="b"]) {
3103
+ grid-template-columns: minmax(0, 1fr);
3104
+ gap: 6px;
3105
+ margin-block: 12px;
3106
+ }
3107
+ .catchlight [data-catchlight-number]:hover,
3108
+ .catchlight [data-catchlight-axis-input]:hover {
3109
+ background: var(--cl-surface-raised);
3110
+ }
3111
+ .catchlight [data-catchlight-number]:focus-within,
3112
+ .catchlight [data-catchlight-axis-input]:focus-within {
3113
+ border-color: var(--cl-accent-hover);
3114
+ outline: 2px solid color-mix(in srgb, var(--cl-accent) 35%, transparent);
3115
+ outline-offset: 0;
3116
+ box-shadow: none;
3117
+ }
3118
+ .catchlight [data-catchlight-number] input:focus-visible,
3119
+ .catchlight [data-catchlight-axis-input] input:focus-visible {
3120
+ outline: none;
3121
+ }
3122
+ .catchlight [data-catchlight-number][data-invalid] {
3123
+ border-color: var(--cl-danger);
3124
+ outline-color: color-mix(in srgb, var(--cl-danger) 40%, transparent);
3125
+ }
3126
+ .catchlight [data-catchlight-number] > [data-catchlight-number-prefix],
3127
+ .catchlight [data-catchlight-axis-input] > [data-catchlight-number-prefix] {
3128
+ margin-right: 0;
3129
+ text-transform: uppercase;
3130
+ }
3131
+ .catchlight [data-catchlight-number] > [data-catchlight-number-unit],
3132
+ .catchlight [data-catchlight-axis-input] > [data-catchlight-number-unit] {
3133
+ margin-left: 4px;
3134
+ white-space: nowrap;
3135
+ }
3136
+ .catchlight [data-catchlight-field-hint] {
3137
+ grid-column: 2;
3138
+ margin: 0;
3139
+ font-size: 11px;
3140
+ }
3141
+ .catchlight [data-catchlight-node-row]:focus-within [data-catchlight-visibility],
3142
+ .catchlight [data-catchlight-node-row]:has(input:not(:checked)) [data-catchlight-visibility] {
3143
+ opacity: 1;
3144
+ }
3145
+ .catchlight [data-catchlight-node-row] button:focus-visible {
3146
+ outline-offset: -2px;
3147
+ }
3148
+ .catchlight [data-catchlight-record-button]:active:not(:disabled) {
3149
+ background: var(--cl-record-hover);
3150
+ box-shadow: inset 0 1px 2px #0003;
3151
+ }
3152
+ .catchlight [data-recording] > [data-catchlight-record-target] > small,
3153
+ .catchlight [data-catchlight-editing-bar][data-recording] [data-catchlight-editing-title] > svg {
3154
+ color: var(--cl-record-text);
3155
+ }
3156
+ .catchlight [data-catchlight-editing-bar][data-recording] small {
3157
+ color: var(--cl-record-text);
3158
+ }
3159
+ .catchlight [data-catchlight-editing-bar][data-recording] strong {
3160
+ color: var(--cl-record-text);
3161
+ }
3162
+ .catchlight [data-catchlight-toolbar] svg,
3163
+ .catchlight [data-catchlight-canvas-toolbar] svg,
3164
+ .catchlight [data-catchlight-zoom-tools] svg {
3165
+ width: 16px;
3166
+ height: 16px;
3167
+ }
3168
+
3169
+ /* Review: threads for a listening agent. */
3170
+ .catchlight [data-catchlight-review-dot] {
3171
+ flex: none;
3172
+ width: 7px;
3173
+ height: 7px;
3174
+ border-radius: 50%;
3175
+ background: var(--cl-text-dim);
3176
+ }
3177
+ .catchlight [data-phase="away"] [data-catchlight-review-dot] {
3178
+ background: var(--cl-warn);
3179
+ }
3180
+ .catchlight [data-phase="listening"] [data-catchlight-review-dot] {
3181
+ background: var(--cl-ok);
3182
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--cl-ok) 22%, transparent);
3183
+ }
3184
+ .catchlight [data-phase="working"] [data-catchlight-review-dot] {
3185
+ background: var(--cl-agent);
3186
+ animation: catchlight-pulse 1.4s ease-in-out infinite;
3187
+ }
3188
+ @keyframes catchlight-pulse {
3189
+ 50% {
3190
+ box-shadow: 0 0 0 5px color-mix(in srgb, var(--cl-agent) 0%, transparent);
3191
+ opacity: 0.55;
3192
+ }
3193
+ 0%,
3194
+ 100% {
3195
+ box-shadow: 0 0 0 0 color-mix(in srgb, var(--cl-agent) 45%, transparent);
3196
+ }
3197
+ }
3198
+ .catchlight [data-catchlight-review-status] {
3199
+ display: flex;
3200
+ align-items: center;
3201
+ gap: 6px;
3202
+ flex: none;
3203
+ }
3204
+ .catchlight [data-catchlight-review-status] > [data-catchlight-review-agent] {
3205
+ background: var(--cl-well);
3206
+ border: 1px solid var(--cl-border);
3207
+ border-radius: 999px;
3208
+ padding-inline: 10px;
3209
+ font-size: 12px;
3210
+ gap: 7px;
3211
+ }
3212
+ .catchlight [data-catchlight-review-status][data-phase="working"] > [data-catchlight-review-agent] {
3213
+ border-color: color-mix(in srgb, var(--cl-agent) 45%, var(--cl-border));
3214
+ background: var(--cl-agent-soft);
3215
+ }
3216
+ .catchlight [data-catchlight-review-status] small:empty {
3217
+ display: none;
3218
+ }
3219
+ .catchlight [data-catchlight-review-count],
3220
+ .catchlight [data-catchlight-review-tab] > small,
3221
+ .catchlight [data-catchlight-review-tabs] small {
3222
+ min-width: 16px;
3223
+ padding: 0 5px;
3224
+ border-radius: 8px;
3225
+ background: var(--cl-surface-raised);
3226
+ color: var(--cl-text-secondary);
3227
+ font-size: 10.5px;
3228
+ font-weight: 600;
3229
+ line-height: 16px;
3230
+ text-align: center;
3231
+ }
3232
+ .catchlight [data-catchlight-review-count],
3233
+ .catchlight [data-catchlight-review-tab][data-attention] > small {
3234
+ background: var(--cl-agent);
3235
+ color: #17122b;
3236
+ }
3237
+ .catchlight [data-catchlight-review-send] {
3238
+ font-size: 12px;
3239
+ }
3240
+ .catchlight [data-catchlight-review] {
3241
+ display: flex;
3242
+ flex-direction: column;
3243
+ gap: 10px;
3244
+ padding: 12px;
3245
+ min-height: 100%;
3246
+ }
3247
+ .catchlight [data-catchlight-review-header] {
3248
+ display: flex;
3249
+ flex-direction: column;
3250
+ gap: 10px;
3251
+ }
3252
+ .catchlight [data-catchlight-review-header] > [data-catchlight-review-agent] {
3253
+ display: flex;
3254
+ align-items: center;
3255
+ gap: 10px;
3256
+ min-width: 0;
3257
+ padding-inline: 4px;
3258
+ }
3259
+ .catchlight [data-catchlight-review-header] > [data-catchlight-review-agent] > span {
3260
+ min-width: 0;
3261
+ }
3262
+ .catchlight [data-catchlight-review-header] strong {
3263
+ display: block;
3264
+ font-size: 12.5px;
3265
+ font-weight: 600;
3266
+ overflow: hidden;
3267
+ text-overflow: ellipsis;
3268
+ white-space: nowrap;
3269
+ }
3270
+ .catchlight [data-catchlight-review-header] small {
3271
+ display: block;
3272
+ line-height: 1.35;
3273
+ }
3274
+ .catchlight [data-catchlight-review-kept] {
3275
+ margin: 0;
3276
+ color: var(--cl-text-dim);
3277
+ font-size: 11px;
3278
+ line-height: 1.5;
3279
+ }
3280
+ .catchlight [data-catchlight-review-kept="unreadable"] {
3281
+ color: var(--cl-warn);
3282
+ }
3283
+ .catchlight [data-catchlight-review-connect] {
3284
+ padding: 10px;
3285
+ border: 1px dashed var(--cl-border-strong);
3286
+ border-radius: 8px;
3287
+ color: var(--cl-text-secondary);
3288
+ font-size: 12px;
3289
+ line-height: 1.55;
3290
+ }
3291
+ .catchlight [data-catchlight-review-connect] code {
3292
+ font: 11px/1.5 var(--cl-font-mono);
3293
+ color: var(--cl-text);
3294
+ overflow-wrap: anywhere;
3295
+ }
3296
+ .catchlight [data-catchlight-review-connect] p {
3297
+ color: inherit;
3298
+ font-size: inherit;
3299
+ }
3300
+ .catchlight [data-catchlight-agent-prompt] > code {
3301
+ display: block;
3302
+ margin: 8px 0;
3303
+ padding: 8px;
3304
+ border-radius: 6px;
3305
+ background: var(--cl-well);
3306
+ user-select: all;
3307
+ }
3308
+ .catchlight [data-catchlight-review-tabs] {
3309
+ display: flex;
3310
+ gap: 2px;
3311
+ padding: 2px;
3312
+ border-radius: 8px;
3313
+ background: var(--cl-well);
3314
+ }
3315
+ .catchlight [data-catchlight-review-tabs] button {
3316
+ flex: 1;
3317
+ background: transparent;
3318
+ color: var(--cl-text-dim);
3319
+ font-size: 12px;
3320
+ min-height: 24px;
3321
+ }
3322
+ .catchlight [data-catchlight-review-tabs] button[data-active] {
3323
+ background: var(--cl-surface-raised);
3324
+ color: var(--cl-text);
3325
+ }
3326
+ .catchlight [data-catchlight-review-new] {
3327
+ justify-content: start;
3328
+ gap: 8px;
3329
+ min-height: 34px;
3330
+ border: 1px dashed var(--cl-border-strong);
3331
+ background: transparent;
3332
+ color: var(--cl-text-secondary);
3333
+ font-size: 12px;
3334
+ }
3335
+ .catchlight [data-catchlight-review-new] > span {
3336
+ flex: 1;
3337
+ min-width: 0;
3338
+ overflow: hidden;
3339
+ text-overflow: ellipsis;
3340
+ text-align: left;
3341
+ }
3342
+ .catchlight [data-catchlight-review-new] strong {
3343
+ color: var(--cl-text);
3344
+ font-weight: 550;
3345
+ }
3346
+ .catchlight [data-catchlight-review-composer],
3347
+ .catchlight [data-catchlight-review-thread] {
3348
+ display: flex;
3349
+ flex-direction: column;
3350
+ gap: 8px;
3351
+ padding: 10px;
3352
+ border: 1px solid var(--cl-border);
3353
+ border-radius: 10px;
3354
+ background: var(--cl-surface);
3355
+ }
3356
+ .catchlight [data-catchlight-review-composer] {
3357
+ border-color: color-mix(in srgb, var(--cl-accent) 55%, var(--cl-border));
3358
+ }
3359
+ .catchlight [data-catchlight-review] textarea {
3360
+ resize: vertical;
3361
+ min-height: 56px;
3362
+ padding: 6px 8px;
3363
+ background: var(--cl-well);
3364
+ border-color: var(--cl-border);
3365
+ font-size: 12.5px;
3366
+ line-height: 1.5;
3367
+ }
3368
+ .catchlight [data-catchlight-review-targets] {
3369
+ display: flex;
3370
+ flex-wrap: wrap;
3371
+ gap: 4px;
3372
+ }
3373
+ .catchlight [data-catchlight-review-targets] button,
3374
+ .catchlight [data-catchlight-review-target] {
3375
+ min-height: 22px;
3376
+ max-width: 100%;
3377
+ padding: 0 8px;
3378
+ border-radius: 999px;
3379
+ border: 1px solid var(--cl-border-strong);
3380
+ background: transparent;
3381
+ color: var(--cl-text-secondary);
3382
+ font-size: 11.5px;
3383
+ gap: 5px;
3384
+ overflow: hidden;
3385
+ }
3386
+ .catchlight [data-catchlight-review-targets] button[data-active] {
3387
+ background: var(--cl-accent-soft);
3388
+ border-color: var(--cl-accent);
3389
+ color: var(--cl-selection-text);
3390
+ }
3391
+ .catchlight [data-catchlight-review-composer-actions] {
3392
+ display: flex;
3393
+ align-items: center;
3394
+ justify-content: flex-end;
3395
+ gap: 6px;
3396
+ }
3397
+ .catchlight [data-catchlight-review-composer-actions] > small {
3398
+ margin-right: auto;
3399
+ }
3400
+ .catchlight [data-catchlight-review-attachments],
3401
+ .catchlight [data-catchlight-review-images] {
3402
+ display: flex;
3403
+ flex-wrap: wrap;
3404
+ gap: 6px;
3405
+ margin: 0;
3406
+ padding: 0;
3407
+ list-style: none;
3408
+ }
3409
+ .catchlight [data-catchlight-review-images] {
3410
+ margin-top: 6px;
3411
+ }
3412
+ .catchlight [data-catchlight-review-attachments] > li {
3413
+ position: relative;
3414
+ }
3415
+ .catchlight [data-catchlight-review-markup-open] {
3416
+ display: block;
3417
+ width: 64px;
3418
+ height: 64px;
3419
+ min-height: 0;
3420
+ padding: 0;
3421
+ border: 1px solid var(--cl-border-strong);
3422
+ border-radius: 6px;
3423
+ background: var(--cl-well);
3424
+ overflow: hidden;
3425
+ cursor: crosshair;
3426
+ }
3427
+ .catchlight [data-catchlight-review-markup-open]:hover {
3428
+ border-color: var(--cl-accent);
3429
+ }
3430
+ .catchlight [data-catchlight-review-markup-open] > img {
3431
+ display: block;
3432
+ width: 100%;
3433
+ height: 100%;
3434
+ object-fit: cover;
3435
+ }
3436
+ .catchlight [data-catchlight-markup-tools] {
3437
+ display: flex;
3438
+ flex-wrap: wrap;
3439
+ gap: 4px;
3440
+ margin-bottom: 10px;
3441
+ }
3442
+ .catchlight [data-catchlight-markup-tools] button {
3443
+ font-size: 12px;
3444
+ }
3445
+ .catchlight [data-catchlight-markup-undo] {
3446
+ margin-left: auto;
3447
+ }
3448
+ .catchlight [data-catchlight-markup-stage] {
3449
+ position: relative;
3450
+ box-sizing: border-box;
3451
+ width: fit-content;
3452
+ max-width: 100%;
3453
+ margin: 0 auto;
3454
+ line-height: 0;
3455
+ border: 1px solid var(--cl-border-strong);
3456
+ border-radius: 6px;
3457
+ overflow: hidden;
3458
+ background: var(--cl-well);
3459
+ }
3460
+ .catchlight [data-catchlight-markup-stage] > img {
3461
+ display: block;
3462
+ max-width: 100%;
3463
+ max-height: 62dvh;
3464
+ user-select: none;
3465
+ }
3466
+ .catchlight [data-catchlight-markup-surface] {
3467
+ position: absolute;
3468
+ inset: 0;
3469
+ width: 100%;
3470
+ height: 100%;
3471
+ touch-action: none;
3472
+ cursor: crosshair;
3473
+ }
3474
+ .catchlight [data-catchlight-review-image] {
3475
+ display: block;
3476
+ min-height: 0;
3477
+ padding: 0;
3478
+ border: 1px solid var(--cl-border-strong);
3479
+ border-radius: 6px;
3480
+ background: var(--cl-well);
3481
+ object-fit: cover;
3482
+ overflow: hidden;
3483
+ }
3484
+ .catchlight [data-catchlight-review-image] {
3485
+ width: 96px;
3486
+ height: 72px;
3487
+ cursor: zoom-in;
3488
+ }
3489
+ .catchlight [data-catchlight-review-image] > img {
3490
+ width: 100%;
3491
+ height: 100%;
3492
+ object-fit: cover;
3493
+ }
3494
+ .catchlight [data-catchlight-review-image]:hover {
3495
+ border-color: var(--cl-accent);
3496
+ }
3497
+ .catchlight [data-catchlight-review-attachments] [data-catchlight-icon-button] {
3498
+ position: absolute;
3499
+ top: -6px;
3500
+ right: -6px;
3501
+ width: 18px;
3502
+ height: 18px;
3503
+ flex-basis: 18px;
3504
+ min-height: 18px;
3505
+ padding: 2px;
3506
+ border-radius: 50%;
3507
+ background: var(--cl-surface-active);
3508
+ color: var(--cl-text);
3509
+ }
3510
+ .catchlight [data-catchlight-review-attach] {
3511
+ display: flex;
3512
+ gap: 2px;
3513
+ margin-right: auto;
3514
+ }
3515
+ .catchlight [data-catchlight-review-image-full] {
3516
+ display: block;
3517
+ max-width: 100%;
3518
+ max-height: 70dvh;
3519
+ margin: 0 auto;
3520
+ border-radius: 6px;
3521
+ }
3522
+ .catchlight [data-catchlight-review-threads] {
3523
+ margin: 0;
3524
+ padding: 0;
3525
+ list-style: none;
3526
+ display: flex;
3527
+ flex-direction: column;
3528
+ gap: 8px;
3529
+ }
3530
+ .catchlight [data-catchlight-review-thread][data-focused] {
3531
+ border-color: var(--cl-accent);
3532
+ box-shadow: 0 0 0 1px var(--cl-accent);
3533
+ }
3534
+ .catchlight [data-catchlight-review-thread][data-attention] {
3535
+ border-color: color-mix(in srgb, var(--cl-agent) 55%, var(--cl-border));
3536
+ }
3537
+ .catchlight [data-catchlight-review-thread][data-status="resolved"] {
3538
+ background: transparent;
3539
+ }
3540
+ .catchlight [data-catchlight-review-thread] > header {
3541
+ display: flex;
3542
+ align-items: center;
3543
+ gap: 2px;
3544
+ min-width: 0;
3545
+ }
3546
+ .catchlight [data-catchlight-review-thread] > header > [data-catchlight-icon-button] {
3547
+ width: 22px;
3548
+ height: 22px;
3549
+ flex-basis: 22px;
3550
+ min-height: 22px;
3551
+ padding: 3px;
3552
+ opacity: 0;
3553
+ }
3554
+ .catchlight [data-catchlight-review-thread]:is(:hover, :focus-within) > header > [data-catchlight-icon-button] {
3555
+ opacity: 1;
3556
+ }
3557
+ .catchlight [data-catchlight-review-target] {
3558
+ margin-right: auto;
3559
+ color: var(--cl-text);
3560
+ }
3561
+ .catchlight [data-catchlight-review-target] > span {
3562
+ overflow: hidden;
3563
+ text-overflow: ellipsis;
3564
+ }
3565
+ .catchlight [data-catchlight-review-target] > small {
3566
+ font-size: 10.5px;
3567
+ }
3568
+ .catchlight [data-catchlight-review-thread][data-missing] [data-catchlight-review-target] {
3569
+ border-style: dashed;
3570
+ color: var(--cl-text-dim);
3571
+ }
3572
+ .catchlight [data-catchlight-review-thread][data-missing] [data-catchlight-review-target] > span {
3573
+ text-decoration: line-through;
3574
+ }
3575
+ .catchlight [data-catchlight-review-comment] > header {
3576
+ display: flex;
3577
+ align-items: center;
3578
+ gap: 6px;
3579
+ min-height: 20px;
3580
+ font-size: 11.5px;
3581
+ color: var(--cl-text-secondary);
3582
+ }
3583
+ .catchlight [data-catchlight-review-comment] > header strong {
3584
+ font-weight: 600;
3585
+ }
3586
+ .catchlight [data-catchlight-review-comment] > header [data-catchlight-icon-button] {
3587
+ width: 20px;
3588
+ height: 20px;
3589
+ flex-basis: 20px;
3590
+ min-height: 20px;
3591
+ padding: 3px;
3592
+ margin-left: auto;
3593
+ }
3594
+ .catchlight [data-catchlight-review-comment] > p {
3595
+ font-size: 12.5px;
3596
+ line-height: 1.5;
3597
+ white-space: pre-wrap;
3598
+ overflow-wrap: anywhere;
3599
+ }
3600
+ .catchlight [data-catchlight-review-comment][data-role="agent"] {
3601
+ margin-inline: -4px;
3602
+ padding: 6px 8px;
3603
+ border-radius: 8px;
3604
+ background: var(--cl-agent-soft);
3605
+ }
3606
+ .catchlight [data-catchlight-review-comment][data-role="agent"] > header,
3607
+ .catchlight [data-catchlight-review-working] {
3608
+ color: var(--cl-agent);
3609
+ }
3610
+ .catchlight [data-catchlight-review-delivery] {
3611
+ font-size: 10.5px;
3612
+ }
3613
+ .catchlight [data-delivery="unsent"] [data-catchlight-review-delivery] {
3614
+ color: var(--cl-warn);
3615
+ }
3616
+ .catchlight [data-catchlight-review-working] {
3617
+ display: flex;
3618
+ align-items: center;
3619
+ gap: 6px;
3620
+ font-size: 11.5px;
3621
+ }
3622
+ .catchlight [data-catchlight-review-working] > svg {
3623
+ animation: catchlight-spin 2.4s linear infinite;
3624
+ }
3625
+ @keyframes catchlight-spin {
3626
+ to {
3627
+ transform: rotate(360deg);
3628
+ }
3629
+ }
3630
+ .catchlight [data-catchlight-review-thread] > footer {
3631
+ display: flex;
3632
+ gap: 6px;
3633
+ }
3634
+ .catchlight [data-catchlight-review-thread] > footer > button {
3635
+ min-height: 24px;
3636
+ padding-inline: 8px;
3637
+ background: transparent;
3638
+ border-color: var(--cl-border-strong);
3639
+ color: var(--cl-text-secondary);
3640
+ font-size: 11.5px;
3641
+ }
3642
+ .catchlight [data-catchlight-review-reply-open] {
3643
+ flex: 1;
3644
+ justify-content: start;
3645
+ }
3646
+ .catchlight [data-catchlight-review-reply] {
3647
+ display: flex;
3648
+ flex-direction: column;
3649
+ gap: 6px;
3650
+ }
3651
+ .catchlight [data-catchlight-review-empty] {
3652
+ padding: 20px 12px;
3653
+ color: var(--cl-text-dim);
3654
+ font-size: 12px;
3655
+ line-height: 1.6;
3656
+ text-align: center;
3657
+ }
3658
+ .catchlight [data-catchlight-review-badge] {
3659
+ order: 4;
3660
+ flex: none;
3661
+ min-height: 18px;
3662
+ padding: 0 5px;
3663
+ gap: 3px;
3664
+ border-radius: 9px;
3665
+ background: var(--cl-surface-raised);
3666
+ color: var(--cl-text-secondary);
3667
+ font-size: 10.5px;
3668
+ font-weight: 600;
3669
+ }
3670
+ .catchlight [data-catchlight-review-badge][data-attention],
3671
+ .catchlight [data-catchlight-review-badge][data-working] {
3672
+ background: var(--cl-agent-soft);
3673
+ color: var(--cl-agent);
3674
+ }
3675
+ .catchlight [data-catchlight-slot] [data-catchlight-review-comment-on] {
3676
+ margin-left: auto;
3677
+ }
3678
+ @container (max-width: 730px) {
3679
+ .catchlight [data-catchlight-canvas-hint] {
3680
+ display: none;
3681
+ }
3682
+ .catchlight [data-catchlight-editing-state] {
3683
+ display: none;
3684
+ }
3685
+ .catchlight [data-catchlight-key-shelf-content] {
3686
+ gap: 12px;
3687
+ }
3688
+ .catchlight [data-catchlight-record-slider] {
3689
+ gap: 8px;
3690
+ }
3691
+ .catchlight [data-catchlight-record-slider] > label {
3692
+ width: 65px;
3693
+ }
3694
+ }
3695
+ @container (max-width: 500px) {
3696
+ .catchlight [data-catchlight-canvas-toolbar] {
3697
+ position: static;
3698
+ grid-template-columns: minmax(0, 1fr);
3699
+ gap: 6px;
3700
+ padding: 6px;
3701
+ }
3702
+ .catchlight [data-catchlight-workspace-modes],
3703
+ .catchlight [data-catchlight-canvas-actions] {
3704
+ grid-column: 1;
3705
+ justify-self: stretch;
3706
+ }
3707
+ .catchlight [data-catchlight-scene-label] {
3708
+ display: none;
3709
+ }
3710
+ .catchlight [data-catchlight-workspace-modes] button {
3711
+ flex: 1;
3712
+ padding-inline: 8px;
3713
+ }
3714
+ .catchlight [data-catchlight-canvas-actions] {
3715
+ justify-content: space-between;
3716
+ }
3717
+ .catchlight [data-catchlight-tool-group] {
3718
+ margin-left: auto;
3719
+ }
3720
+ .catchlight [data-catchlight-editing-title] {
3721
+ flex-basis: 100%;
3722
+ }
3723
+ .catchlight [data-catchlight-editing-actions],
3724
+ .catchlight [data-catchlight-record-button] {
3725
+ margin-left: auto;
3726
+ }
3727
+ .catchlight [data-catchlight-editing-bar] {
3728
+ gap: 8px;
3729
+ }
3730
+ .catchlight [data-catchlight-key-shelf-content] {
3731
+ flex-wrap: wrap;
3732
+ }
3733
+ .catchlight [data-catchlight-record-matrix-scroll] {
3734
+ max-width: 100%;
3735
+ flex-basis: 100%;
3736
+ }
3737
+ .catchlight [data-catchlight-panel-tools] {
3738
+ gap: 8px;
3739
+ }
3740
+ .catchlight [data-catchlight-panel-tools] [data-catchlight-search] {
3741
+ width: auto;
3742
+ min-width: 0;
3743
+ flex: 1;
3744
+ }
3745
+ .catchlight [data-catchlight-dock-actions] > button:first-child {
3746
+ font-size: 0;
3747
+ gap: 0;
3748
+ }
3749
+ .catchlight [data-catchlight-dock-header] [data-catchlight-panel-tabs] {
3750
+ gap: 12px;
3751
+ padding-inline: 12px;
3752
+ }
3753
+ .catchlight [data-catchlight-bindings-panel] {
3754
+ padding-inline: 12px;
3755
+ }
3756
+ }
3757
+ /* Dock: humanoid controls, expressions and visemes, animations. */
3758
+ .catchlight [data-catchlight-controls-panel],
3759
+ .catchlight [data-catchlight-expressions-panel],
3760
+ .catchlight [data-catchlight-animations-panel] {
3761
+ padding-bottom: 10px;
3762
+ }
3763
+ .catchlight [data-catchlight-controls-panel] [data-catchlight-panel-tools] {
3764
+ align-items: center;
3765
+ }
3766
+ .catchlight [data-catchlight-controls-panel] [data-catchlight-toggle] {
3767
+ margin: 0;
3768
+ }
3769
+ .catchlight [data-catchlight-control-count] {
3770
+ font-size: 11px;
3771
+ color: var(--cl-text-dim);
3772
+ font-variant-numeric: tabular-nums;
3773
+ }
3774
+ .catchlight [data-catchlight-extension-warnings],
3775
+ .catchlight [data-catchlight-extension-unread] {
3776
+ padding: 0 10px;
3777
+ }
3778
+ .catchlight [data-catchlight-extension-warnings] > summary {
3779
+ display: flex;
3780
+ align-items: center;
3781
+ gap: 6px;
3782
+ width: max-content;
3783
+ margin-bottom: 6px;
3784
+ font-size: 11px;
3785
+ font-weight: 600;
3786
+ color: var(--cl-warn);
3787
+ cursor: pointer;
3788
+ }
3789
+ .catchlight [data-catchlight-extension-warnings] > summary::-webkit-details-marker {
3790
+ display: none;
3791
+ }
3792
+ .catchlight [data-catchlight-extension-warnings][open] > summary > [data-catchlight-chevron] {
3793
+ transform: rotate(90deg);
3794
+ }
3795
+ .catchlight [data-catchlight-extension-warning-list] {
3796
+ max-height: 120px;
3797
+ overflow-y: auto;
3798
+ }
3799
+ .catchlight [data-catchlight-extension-warnings] [data-catchlight-warning] {
3800
+ margin: 0 0 6px;
3801
+ line-height: 1.5;
3802
+ padding: 5px 10px;
3803
+ }
3804
+ /* Five tabs outgrow a narrow dock; the strip scrolls rather than clipping. */
3805
+ .catchlight [data-catchlight-dock-header] {
3806
+ gap: 8px;
3807
+ }
3808
+ .catchlight [data-catchlight-dock-header] > [data-catchlight-panel-tabs] {
3809
+ min-width: 0;
3810
+ overflow-x: auto;
3811
+ scrollbar-width: none;
3812
+ }
3813
+ .catchlight [data-catchlight-dock-header] > [data-catchlight-panel-tabs] > button {
3814
+ flex: none;
3815
+ }
3816
+ .catchlight [data-catchlight-dock-actions] {
3817
+ flex: none;
3818
+ }
3819
+ .catchlight [data-catchlight-warning-mark] {
3820
+ display: inline-flex;
3821
+ flex: none;
3822
+ color: var(--cl-warn);
3823
+ }
3824
+ .catchlight [data-catchlight-control-cards] {
3825
+ display: grid;
3826
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
3827
+ gap: 2px 10px;
3828
+ padding: 0 8px;
3829
+ }
3830
+ .catchlight [data-catchlight-control-group] {
3831
+ display: contents;
3832
+ }
3833
+ .catchlight [data-catchlight-control-group] > h3 {
3834
+ grid-column: 1 / -1;
3835
+ margin: 8px 2px 2px;
3836
+ font-size: 11px;
3837
+ font-weight: 600;
3838
+ color: var(--cl-text-dim);
3839
+ }
3840
+ .catchlight [data-catchlight-control-group]:first-child > h3 {
3841
+ margin-top: 0;
3842
+ }
3843
+ .catchlight [data-catchlight-control-card] {
3844
+ display: grid;
3845
+ gap: 2px;
3846
+ min-width: 0;
3847
+ padding: 4px 6px 6px 8px;
3848
+ border-radius: 6px;
3849
+ border: 1px solid transparent;
3850
+ }
3851
+ .catchlight [data-catchlight-control-card]:hover {
3852
+ background: var(--cl-row-hover);
3853
+ }
3854
+ .catchlight [data-catchlight-control-card][data-live] {
3855
+ background: var(--cl-accent-soft);
3856
+ }
3857
+ .catchlight [data-catchlight-control-card][data-warned] {
3858
+ border-color: color-mix(in srgb, var(--cl-warn) 35%, transparent);
3859
+ }
3860
+ .catchlight [data-catchlight-control-head] {
3861
+ display: flex;
3862
+ align-items: center;
3863
+ gap: 6px;
3864
+ min-width: 0;
3865
+ min-height: 26px;
3866
+ }
3867
+ .catchlight [data-catchlight-control-name] {
3868
+ flex: 1;
3869
+ min-width: 0;
3870
+ overflow: hidden;
3871
+ text-overflow: ellipsis;
3872
+ white-space: nowrap;
3873
+ font: 12px var(--cl-font-mono);
3874
+ }
3875
+ .catchlight [data-catchlight-control-card]:not([data-mapped]) [data-catchlight-control-name] {
3876
+ color: var(--cl-text-dim);
3877
+ }
3878
+ .catchlight [data-catchlight-control-head] select {
3879
+ flex: 0 1 120px;
3880
+ min-width: 0;
3881
+ font-size: 11px;
3882
+ min-height: 24px;
3883
+ }
3884
+ .catchlight [data-catchlight-control-value-row] {
3885
+ display: flex;
3886
+ align-items: center;
3887
+ gap: 6px;
3888
+ min-width: 0;
3889
+ }
3890
+ .catchlight [data-catchlight-control-slider]:disabled {
3891
+ opacity: 0.35;
3892
+ cursor: not-allowed;
3893
+ }
3894
+ .catchlight [data-catchlight-control-value] {
3895
+ flex: 0 0 34px;
3896
+ text-align: right;
3897
+ font-size: 11px;
3898
+ color: var(--cl-text-secondary);
3899
+ font-variant-numeric: tabular-nums;
3900
+ }
3901
+ .catchlight [data-catchlight-control-value-row] > [data-catchlight-icon-button] {
3902
+ width: 22px;
3903
+ height: 22px;
3904
+ min-height: 22px;
3905
+ flex: 0 0 22px;
3906
+ background: transparent;
3907
+ }
3908
+ .catchlight [data-catchlight-control-value-row] > [data-catchlight-icon-button] svg {
3909
+ width: 12px;
3910
+ height: 12px;
3911
+ }
3912
+ .catchlight [data-catchlight-control-stops] {
3913
+ display: flex;
3914
+ gap: 4px;
3915
+ min-width: 0;
3916
+ }
3917
+ .catchlight [data-catchlight-control-stops] [data-catchlight-number] {
3918
+ height: 24px;
3919
+ }
3920
+ .catchlight [data-catchlight-control-stops] [data-catchlight-number] > span {
3921
+ margin-inline: 6px 0;
3922
+ }
3923
+ .catchlight [data-catchlight-control-stops] input[type="number"] {
3924
+ font-size: 11px;
3925
+ min-height: 22px;
3926
+ padding: 2px 6px 2px 2px;
3927
+ }
3928
+ .catchlight :is([data-catchlight-zones], [data-catchlight-landmarks]) {
3929
+ margin-top: 10px;
3930
+ padding: 0 10px;
3931
+ }
3932
+ .catchlight :is([data-catchlight-zones], [data-catchlight-landmarks]) > header > h3 {
3933
+ margin: 0;
3934
+ font-size: 11px;
3935
+ font-weight: 600;
3936
+ color: var(--cl-text-dim);
3937
+ }
3938
+ .catchlight :is([data-catchlight-zones], [data-catchlight-landmarks]) > [data-catchlight-hint] {
3939
+ margin: 4px 2px 6px;
3940
+ font-size: 11px;
3941
+ }
3942
+ .catchlight [data-catchlight-body-mark] {
3943
+ display: flex;
3944
+ align-items: center;
3945
+ gap: 6px;
3946
+ min-width: 0;
3947
+ min-height: 30px;
3948
+ padding: 0 4px 0 8px;
3949
+ border-radius: 6px;
3950
+ }
3951
+ .catchlight [data-catchlight-body-mark]:hover {
3952
+ background: var(--cl-row-hover);
3953
+ }
3954
+ .catchlight [data-catchlight-body-mark-name] {
3955
+ flex: 0 0 76px;
3956
+ font-size: 12px;
3957
+ }
3958
+ .catchlight [data-catchlight-body-mark]:not([data-marked]) [data-catchlight-body-mark-name] {
3959
+ color: var(--cl-text-dim);
3960
+ }
3961
+ .catchlight [data-catchlight-body-mark][data-nonstandard] [data-catchlight-body-mark-name] {
3962
+ flex: 0 1 auto;
3963
+ min-width: 76px;
3964
+ overflow-wrap: anywhere;
3965
+ }
3966
+ .catchlight [data-catchlight-body-mark-nodes] {
3967
+ display: flex;
3968
+ flex: 1;
3969
+ flex-wrap: wrap;
3970
+ gap: 4px;
3971
+ min-width: 0;
3972
+ }
3973
+ .catchlight [data-catchlight-body-mark-node] {
3974
+ max-width: 160px;
3975
+ min-height: 22px;
3976
+ padding: 1px 8px;
3977
+ overflow: hidden;
3978
+ text-overflow: ellipsis;
3979
+ white-space: nowrap;
3980
+ font-size: 11px;
3981
+ border-radius: 11px;
3982
+ }
3983
+ .catchlight [data-catchlight-body-mark-node][data-selected] {
3984
+ background: var(--cl-accent-soft);
3985
+ border-color: var(--cl-accent);
3986
+ }
3987
+ .catchlight [data-catchlight-body-mark-node]:disabled {
3988
+ cursor: default;
3989
+ }
3990
+ .catchlight [data-catchlight-body-mark-unmarked] {
3991
+ font-size: 11px;
3992
+ color: var(--cl-text-dim);
3993
+ }
3994
+ .catchlight [data-catchlight-body-mark] > button:not([data-catchlight-icon-button]) {
3995
+ flex: none;
3996
+ font-size: 11px;
3997
+ min-height: 24px;
3998
+ padding: 2px 8px;
3999
+ }
4000
+ .catchlight [data-catchlight-body-mark] > [data-catchlight-icon-button] {
4001
+ width: 22px;
4002
+ height: 22px;
4003
+ min-height: 22px;
4004
+ flex: 0 0 22px;
4005
+ background: transparent;
4006
+ }
4007
+ .catchlight [data-catchlight-body-mark] > [data-catchlight-icon-button] svg {
4008
+ width: 12px;
4009
+ height: 12px;
4010
+ }
4011
+ .catchlight [data-catchlight-landmark-vertex] {
4012
+ align-self: center;
4013
+ font-size: 11px;
4014
+ color: var(--cl-text-dim);
4015
+ }
4016
+ .catchlight [data-catchlight-body-mark] > [data-catchlight-landmark-vertex-input] {
4017
+ flex: 0 0 64px;
4018
+ width: 64px;
4019
+ min-height: 24px;
4020
+ padding: 2px 6px;
4021
+ font-size: 11px;
4022
+ }
4023
+ .catchlight [data-catchlight-add-key] {
4024
+ display: flex;
4025
+ gap: 6px;
4026
+ padding: 4px 4px 0 8px;
4027
+ }
4028
+ .catchlight [data-catchlight-add-key] > input {
4029
+ flex: 1;
4030
+ min-width: 0;
4031
+ min-height: 24px;
4032
+ padding: 2px 6px;
4033
+ font-size: 11px;
4034
+ }
4035
+ .catchlight [data-catchlight-add-key] > button {
4036
+ flex: none;
4037
+ min-height: 24px;
4038
+ padding: 2px 8px;
4039
+ font-size: 11px;
4040
+ }
4041
+ .catchlight [data-catchlight-expression-groups] {
4042
+ display: grid;
4043
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
4044
+ gap: 4px 18px;
4045
+ padding: 0 10px;
4046
+ }
4047
+ .catchlight [data-catchlight-expression-group] {
4048
+ min-width: 0;
4049
+ }
4050
+ .catchlight [data-catchlight-expression-group] > header {
4051
+ display: flex;
4052
+ align-items: center;
4053
+ gap: 6px;
4054
+ min-height: 30px;
4055
+ }
4056
+ .catchlight [data-catchlight-expression-group] > header > h3 {
4057
+ flex: 1;
4058
+ margin: 0;
4059
+ font-size: 11px;
4060
+ font-weight: 600;
4061
+ color: var(--cl-text-dim);
4062
+ }
4063
+ .catchlight [data-catchlight-expression-group] > header > button {
4064
+ font-size: 11px;
4065
+ min-height: 24px;
4066
+ padding: 2px 8px;
4067
+ }
4068
+ .catchlight [data-catchlight-expression-group] > [data-catchlight-hint] {
4069
+ margin: 4px 2px 8px;
4070
+ font-size: 11px;
4071
+ }
4072
+ .catchlight [data-catchlight-expression-row],
4073
+ .catchlight [data-catchlight-viseme-missing] {
4074
+ display: flex;
4075
+ align-items: center;
4076
+ gap: 6px;
4077
+ min-width: 0;
4078
+ min-height: 30px;
4079
+ padding: 0 4px 0 8px;
4080
+ border-radius: 6px;
4081
+ border: 1px solid transparent;
4082
+ }
4083
+ .catchlight [data-catchlight-expression-row]:hover {
4084
+ background: var(--cl-row-hover);
4085
+ }
4086
+ .catchlight [data-catchlight-expression-row][data-live] {
4087
+ background: var(--cl-accent-soft);
4088
+ }
4089
+ .catchlight [data-catchlight-help-mark] {
4090
+ display: inline-flex;
4091
+ flex: none;
4092
+ color: var(--cl-text-dim);
4093
+ cursor: help;
4094
+ }
4095
+ .catchlight [data-catchlight-lip-sync-visemes] {
4096
+ margin: 2px 0 8px;
4097
+ padding: 2px 4px 4px;
4098
+ border-radius: 8px;
4099
+ border: 1px solid color-mix(in srgb, var(--cl-accent) 40%, transparent);
4100
+ background: color-mix(in srgb, var(--cl-accent) 6%, transparent);
4101
+ }
4102
+ .catchlight [data-catchlight-lip-sync-visemes] > header {
4103
+ display: flex;
4104
+ align-items: center;
4105
+ gap: 5px;
4106
+ min-height: 24px;
4107
+ padding: 0 4px;
4108
+ }
4109
+ .catchlight [data-catchlight-lip-sync-visemes] > header > h4 {
4110
+ margin: 0;
4111
+ font-size: 11px;
4112
+ font-weight: 600;
4113
+ color: var(--cl-accent);
4114
+ }
4115
+ .catchlight [data-catchlight-viseme-missing] > small {
4116
+ flex: 1;
4117
+ min-width: 0;
4118
+ font-size: 11px;
4119
+ color: var(--cl-warn);
4120
+ }
4121
+ .catchlight [data-catchlight-viseme-missing] > button {
4122
+ font-size: 11px;
4123
+ min-height: 22px;
4124
+ padding: 1px 8px;
4125
+ }
4126
+ .catchlight [data-catchlight-expression-row][data-warned] {
4127
+ border-color: color-mix(in srgb, var(--cl-warn) 35%, transparent);
4128
+ }
4129
+ .catchlight [data-catchlight-expression-name] {
4130
+ flex: 0 1 96px;
4131
+ min-width: 0;
4132
+ overflow: hidden;
4133
+ text-overflow: ellipsis;
4134
+ white-space: nowrap;
4135
+ font-size: 12.5px;
4136
+ font-weight: 500;
4137
+ }
4138
+ .catchlight [data-catchlight-expression-slider] {
4139
+ flex: 1 1 80px;
4140
+ }
4141
+ .catchlight [data-catchlight-expression-weight] {
4142
+ flex: 0 0 30px;
4143
+ text-align: right;
4144
+ font-size: 11px;
4145
+ color: var(--cl-text-secondary);
4146
+ font-variant-numeric: tabular-nums;
4147
+ }
4148
+ .catchlight [data-catchlight-expression-count] {
4149
+ flex: none;
4150
+ width: 62px;
4151
+ font-size: 11px;
4152
+ color: var(--cl-text-dim);
4153
+ white-space: nowrap;
4154
+ }
4155
+ .catchlight [data-catchlight-expression-row] > [data-catchlight-icon-button] {
4156
+ width: 24px;
4157
+ height: 24px;
4158
+ min-height: 24px;
4159
+ flex: 0 0 24px;
4160
+ background: transparent;
4161
+ }
4162
+ .catchlight [data-catchlight-expression-row] > [data-catchlight-icon-button] svg {
4163
+ width: 13px;
4164
+ height: 13px;
4165
+ }
4166
+ .catchlight [data-catchlight-name-choices] {
4167
+ display: grid;
4168
+ gap: 6px;
4169
+ margin-bottom: 12px;
4170
+ }
4171
+ .catchlight [data-catchlight-name-choices] > div {
4172
+ display: flex;
4173
+ flex-wrap: wrap;
4174
+ gap: 4px;
4175
+ }
4176
+ .catchlight [data-catchlight-name-choices] button {
4177
+ min-height: 24px;
4178
+ padding: 2px 9px;
4179
+ font-size: 12px;
4180
+ border-radius: 999px;
4181
+ border: 1px solid var(--cl-border-strong);
4182
+ background: transparent;
4183
+ }
4184
+ .catchlight [data-catchlight-name-choices] button[data-active] {
4185
+ border-color: var(--cl-accent);
4186
+ background: var(--cl-accent-soft);
4187
+ color: var(--cl-text);
4188
+ }
4189
+ .catchlight [data-catchlight-expression-settings] {
4190
+ display: grid;
4191
+ gap: 6px;
4192
+ max-height: 50vh;
4193
+ overflow-y: auto;
4194
+ }
4195
+ .catchlight [data-catchlight-expression-setting] {
4196
+ display: grid;
4197
+ grid-template-columns: 88px minmax(0, 1fr) 84px auto;
4198
+ align-items: center;
4199
+ gap: 6px;
4200
+ }
4201
+ .catchlight [data-catchlight-expression-setting] select {
4202
+ min-width: 0;
4203
+ font-size: 12px;
4204
+ }
4205
+ .catchlight [data-catchlight-viseme-report] {
4206
+ margin: 0 2px 6px;
4207
+ }
4208
+ @media (max-width: 600px) {
4209
+ .catchlight [data-catchlight-expression-count] {
4210
+ display: none;
4211
+ }
4212
+ .catchlight [data-catchlight-expression-setting] {
4213
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
4214
+ }
4215
+ .catchlight [data-catchlight-expression-setting] > [data-catchlight-number] {
4216
+ grid-column: 1 / 3;
4217
+ }
4218
+ }
4219
+ .catchlight [data-catchlight-clips] {
4220
+ display: grid;
4221
+ gap: 1px;
4222
+ margin: 0;
4223
+ padding: 0 8px;
4224
+ list-style: none;
4225
+ }
4226
+ .catchlight [data-catchlight-clip] {
4227
+ display: flex;
4228
+ align-items: center;
4229
+ gap: 8px;
4230
+ min-width: 0;
4231
+ min-height: 32px;
4232
+ padding: 0 10px 0 4px;
4233
+ border-radius: 6px;
4234
+ border: 1px solid transparent;
4235
+ }
4236
+ .catchlight [data-catchlight-clip]:hover {
4237
+ background: var(--cl-row-hover);
4238
+ }
4239
+ .catchlight [data-catchlight-clip][data-playing] {
4240
+ background: var(--cl-accent-soft);
4241
+ }
4242
+ .catchlight [data-catchlight-clip][data-warned] {
4243
+ border-color: color-mix(in srgb, var(--cl-warn) 35%, transparent);
4244
+ }
4245
+ .catchlight [data-catchlight-clip-play] {
4246
+ flex: 0 0 26px;
4247
+ width: 26px;
4248
+ height: 26px;
4249
+ min-height: 26px;
4250
+ padding: 0;
4251
+ border-radius: 50%;
4252
+ background: var(--cl-surface);
4253
+ color: var(--cl-text-secondary);
4254
+ }
4255
+ .catchlight [data-catchlight-clip][data-playing] [data-catchlight-clip-play] {
4256
+ background: var(--cl-accent);
4257
+ color: var(--cl-on-accent);
4258
+ }
4259
+ .catchlight [data-catchlight-clip-name] {
4260
+ flex: 0 1 auto;
4261
+ min-width: 0;
4262
+ overflow: hidden;
4263
+ text-overflow: ellipsis;
4264
+ white-space: nowrap;
4265
+ font-size: 12.5px;
4266
+ font-weight: 500;
4267
+ }
4268
+ .catchlight [data-catchlight-clip-lanes] {
4269
+ flex: 1;
4270
+ min-width: 0;
4271
+ overflow: hidden;
4272
+ text-overflow: ellipsis;
4273
+ white-space: nowrap;
4274
+ font-size: 11px;
4275
+ color: var(--cl-text-dim);
4276
+ }
4277
+ .catchlight [data-catchlight-clip-duration],
4278
+ .catchlight [data-catchlight-clip-playhead] {
4279
+ flex: none;
4280
+ font-size: 11px;
4281
+ color: var(--cl-text-secondary);
4282
+ font-variant-numeric: tabular-nums;
4283
+ }
4284
+ .catchlight [data-catchlight-clip-playhead] {
4285
+ color: var(--cl-accent);
4286
+ }
4287
+ .catchlight [data-catchlight-clip-playhead] small {
4288
+ margin-left: 8px;
4289
+ color: var(--cl-text-dim);
4290
+ }
4291
+ .catchlight [data-catchlight-dock-actions] > [data-catchlight-clip-stop] {
4292
+ gap: 5px;
4293
+ max-width: 180px;
4294
+ font-size: 11px;
4295
+ background: var(--cl-accent-soft);
4296
+ color: var(--cl-accent);
4297
+ }
4298
+ .catchlight [data-catchlight-clip-stop] > span {
4299
+ min-width: 0;
4300
+ overflow: hidden;
4301
+ text-overflow: ellipsis;
4302
+ white-space: nowrap;
4303
+ }
4304
+ @media (max-width: 600px) {
4305
+ .catchlight [data-catchlight-clip-lanes] {
4306
+ display: none;
4307
+ }
4308
+ .catchlight [data-catchlight-clip-name] {
4309
+ flex: 1;
4310
+ }
4311
+ .catchlight [data-catchlight-clip-stop] > span {
4312
+ display: none;
4313
+ }
4314
+ .catchlight [data-catchlight-dock-actions] > [data-catchlight-motion-toggle] > span {
4315
+ display: none;
4316
+ }
4317
+ }
4318
+ @media (max-width: 1150px) {
4319
+ .catchlight [data-catchlight-save-state],
4320
+ .catchlight [data-catchlight-command-trigger] span,
4321
+ .catchlight [data-catchlight-command-trigger] kbd,
4322
+ .catchlight [data-catchlight-save-label] {
4323
+ display: none;
4324
+ }
4325
+ .catchlight [data-catchlight-command-trigger] {
4326
+ width: var(--cl-control-height);
4327
+ padding: 4px;
4328
+ justify-content: center;
4329
+ }
4330
+ .catchlight [data-catchlight-review-status] small {
4331
+ display: none;
4332
+ }
4333
+ }
4334
+ @media (max-width: 1000px) {
4335
+ .catchlight [data-catchlight-workspace] {
4336
+ grid-template-columns: minmax(0, 1fr) var(--cl-properties-width);
4337
+ grid-template-areas: "toolbar toolbar" "center right" "status status";
4338
+ }
4339
+ .catchlight [data-catchlight-panel="left"] {
4340
+ display: none;
4341
+ }
4342
+ .catchlight [data-catchlight-panel-toggle="structure"],
4343
+ .catchlight [data-catchlight-panel="left"] [data-catchlight-mobile-only] {
4344
+ display: inline-flex;
4345
+ }
4346
+ .catchlight [data-mobile-panel="structure"] [data-catchlight-panel="left"] {
4347
+ grid-area: auto;
4348
+ display: flex;
4349
+ visibility: visible;
4350
+ position: absolute;
4351
+ left: 0;
4352
+ top: calc(var(--cl-toolbar-height) + var(--cl-model-tabs-height));
4353
+ bottom: var(--cl-status-height);
4354
+ width: min(280px, calc(100% - 32px));
4355
+ z-index: 20;
4356
+ border-radius: 0 var(--cl-radius-large) var(--cl-radius-large) 0;
4357
+ box-shadow: 12px 0 40px #0007;
4358
+ }
4359
+ .catchlight [data-catchlight-panel-scrim] {
4360
+ display: block;
4361
+ }
4362
+ .catchlight [data-catchlight-panel-scrim]:hover {
4363
+ background: #0005;
4364
+ }
4365
+ .catchlight [data-catchlight-panel-tabs] > [data-catchlight-mobile-only] {
4366
+ margin-left: auto;
4367
+ align-self: center;
4368
+ }
4369
+ .catchlight [data-catchlight-resize="left"],
4370
+ .catchlight [data-catchlight-resize="right"] {
4371
+ display: none;
4372
+ }
4373
+ }
4374
+ @media (max-width: 600px) {
4375
+ .catchlight {
4376
+ --cl-toolbar-height: 144px;
4377
+ --cl-status-height: 32px;
4378
+ --cl-row-height: 40px;
4379
+ --cl-control-height: 40px;
4380
+ --cl-gutter: 0px;
4381
+ }
4382
+ .catchlight [data-catchlight-workspace] {
4383
+ grid-template-columns: minmax(0, 1fr);
4384
+ grid-template-areas: "toolbar" "center" "status";
4385
+ }
4386
+ .catchlight [data-catchlight-center] {
4387
+ border-radius: 0;
4388
+ border-inline: 0;
4389
+ }
4390
+ .catchlight [data-catchlight-toolbar] {
4391
+ display: grid;
4392
+ grid-template-columns: minmax(0, 1fr) auto auto;
4393
+ grid-template-rows: 40px 40px 32px;
4394
+ gap: 8px;
4395
+ padding: 8px 12px;
4396
+ }
4397
+ .catchlight [data-catchlight-brand] {
4398
+ grid-column: 1;
4399
+ grid-row: 1;
4400
+ }
4401
+ .catchlight [data-catchlight-review-status] {
4402
+ grid-column: 2;
4403
+ grid-row: 1;
4404
+ }
4405
+ .catchlight [data-catchlight-review-status] [data-catchlight-review-send] {
4406
+ display: none;
4407
+ }
4408
+ .catchlight [data-catchlight-save] {
4409
+ grid-column: 3;
4410
+ grid-row: 1;
4411
+ }
4412
+ .catchlight [data-catchlight-save-state] {
4413
+ display: none;
4414
+ }
4415
+ .catchlight [data-catchlight-model-tabs] {
4416
+ grid-column: 1 / 3;
4417
+ grid-row: 3;
4418
+ margin: 0;
4419
+ padding: 0;
4420
+ border: 0;
4421
+ }
4422
+ .catchlight [data-catchlight-session-close] {
4423
+ opacity: 1;
4424
+ }
4425
+ .catchlight [data-catchlight-version-select] {
4426
+ grid-column: 3;
4427
+ grid-row: 3;
4428
+ justify-self: end;
4429
+ }
4430
+ .catchlight [data-catchlight-version-trigger] {
4431
+ max-width: 120px;
4432
+ min-height: 32px;
4433
+ height: 32px;
4434
+ }
4435
+ .catchlight [data-catchlight-version-popover] {
4436
+ position: fixed;
4437
+ left: 8px;
4438
+ right: 8px;
4439
+ top: calc(var(--cl-toolbar-height) + 4px);
4440
+ width: auto;
4441
+ }
4442
+ .catchlight [data-catchlight-version-option] {
4443
+ min-height: 44px;
4444
+ }
4445
+ .catchlight [data-catchlight-version-banner] {
4446
+ top: 56px;
4447
+ flex-wrap: wrap;
4448
+ justify-content: center;
4449
+ border-radius: var(--cl-radius-large);
4450
+ white-space: normal;
4451
+ }
4452
+ .catchlight [data-catchlight-main-menus] {
4453
+ grid-column: 1;
4454
+ grid-row: 2;
4455
+ }
4456
+ .catchlight [data-catchlight-history-tools] {
4457
+ grid-column: 2;
4458
+ grid-row: 2;
4459
+ border-left: 0;
4460
+ padding-left: 0;
4461
+ }
4462
+ .catchlight [data-catchlight-command-trigger] {
4463
+ grid-column: 3;
4464
+ grid-row: 2;
4465
+ width: 40px;
4466
+ margin: 0;
4467
+ justify-self: end;
4468
+ }
4469
+ .catchlight [data-catchlight-panel="right"] {
4470
+ display: none;
4471
+ }
4472
+ .catchlight [data-catchlight-panel-toggle="properties"],
4473
+ .catchlight [data-catchlight-panel="right"] [data-catchlight-mobile-only] {
4474
+ display: inline-flex;
4475
+ }
4476
+ .catchlight [data-mobile-panel="properties"] [data-catchlight-panel="right"] {
4477
+ grid-area: auto;
4478
+ display: flex;
4479
+ visibility: visible;
4480
+ position: absolute;
4481
+ right: 0;
4482
+ top: calc(var(--cl-toolbar-height) + var(--cl-model-tabs-height));
4483
+ bottom: var(--cl-status-height);
4484
+ width: min(320px, calc(100% - 32px));
4485
+ z-index: 20;
4486
+ border-radius: var(--cl-radius-large) 0 0 var(--cl-radius-large);
4487
+ box-shadow: -12px 0 40px #0007;
4488
+ }
4489
+ .catchlight [data-catchlight-param-card-head] > [data-catchlight-icon-button] {
4490
+ width: 40px;
4491
+ height: 40px;
4492
+ position: static;
4493
+ min-height: 40px;
4494
+ flex-basis: 40px;
4495
+ opacity: 1;
4496
+ background: transparent;
4497
+ }
4498
+ .catchlight [data-catchlight-param-card] {
4499
+ grid-template-columns: minmax(0, 1fr);
4500
+ padding-block: 4px;
4501
+ }
4502
+ .catchlight [data-catchlight-param-range] {
4503
+ grid-column: 1;
4504
+ }
4505
+ .catchlight [data-catchlight-param-card][data-driven] [data-catchlight-param-value-row],
4506
+ .catchlight [data-catchlight-param-card][data-driven] [data-catchlight-param-range],
4507
+ .catchlight [data-catchlight-param-driver] {
4508
+ grid-column: 1;
4509
+ grid-row: auto;
4510
+ margin-top: 0;
4511
+ }
4512
+ .catchlight [data-catchlight-canvas-actions] > [data-catchlight-panel-toggle] {
4513
+ flex: 1;
4514
+ justify-content: start;
4515
+ }
4516
+ .catchlight [data-catchlight-tool-group] {
4517
+ justify-content: end;
4518
+ }
4519
+ .catchlight [data-catchlight-panel-toggle] span {
4520
+ display: inline;
4521
+ }
4522
+ .catchlight [data-catchlight-number] input,
4523
+ .catchlight [data-catchlight-axis-input] input {
4524
+ min-height: 38px;
4525
+ }
4526
+ .catchlight [data-catchlight-param-value-row] [data-catchlight-number] {
4527
+ height: 40px;
4528
+ }
4529
+ .catchlight [data-mode]:not([data-mode="mesh"]) [data-catchlight-dock][data-open] {
4530
+ height: min(var(--cl-dock-height, 280px), 34dvh);
4531
+ }
4532
+ .catchlight [data-mode="record"] [data-catchlight-dock][data-open]:has([data-paired]),
4533
+ .catchlight [data-mode="record"] [data-catchlight-dock][data-open]:has([data-catchlight-key-gate]) {
4534
+ height: min(340px, 43dvh);
4535
+ }
4536
+ .catchlight [data-catchlight-status-selection],
4537
+ .catchlight [data-catchlight-environment] {
4538
+ display: none;
4539
+ }
4540
+ .catchlight [data-catchlight-status] {
4541
+ padding-inline: 12px;
4542
+ }
4543
+ .catchlight [data-catchlight-status] [data-catchlight-icon-button] {
4544
+ min-height: 28px;
4545
+ height: 28px;
4546
+ width: 28px;
4547
+ flex-basis: 28px;
4548
+ }
4549
+ .catchlight [data-catchlight-toast] {
4550
+ bottom: auto;
4551
+ top: calc(var(--cl-toolbar-height) + var(--cl-model-tabs-height) + 8px);
4552
+ width: calc(100vw - 24px);
4553
+ min-width: 0;
4554
+ padding: 8px 10px;
4555
+ font-size: 12px;
4556
+ }
4557
+ .catchlight [data-catchlight-welcome] h1 {
4558
+ font-size: 32px;
4559
+ }
4560
+ .catchlight [data-catchlight-welcome-symbol],
4561
+ .catchlight [data-catchlight-welcome] > small {
4562
+ display: none;
4563
+ }
4564
+ }
4565
+ @media (hover: none) {
4566
+ .catchlight [data-catchlight-visibility],
4567
+ .catchlight [data-catchlight-session-close],
4568
+ .catchlight [data-catchlight-review-thread] > header > [data-catchlight-icon-button] {
4569
+ opacity: 1;
4570
+ }
4571
+ .catchlight [data-catchlight-param-card-head] > [data-catchlight-icon-button] {
4572
+ position: static;
4573
+ opacity: 1;
4574
+ background: transparent;
4575
+ }
4576
+ }
4577
+ }