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