@snap/valdi 1.1.7 → 1.2.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 (74) hide show
  1. package/.metadata/.bazelrc.template +8 -2
  2. package/.metadata/MODULE.bazel.template +20 -3
  3. package/.metadata/bzl/patches/rules_python/1.9.0/BUILD.bazel.template +1 -0
  4. package/.metadata/bzl/patches/rules_python/1.9.0/remove_setuptools_spaces.patch.template +96 -0
  5. package/README.md +35 -1
  6. package/bundled-skills/registry.json +2 -1
  7. package/bundled-skills/skills/valdi-animations/skill.md +49 -0
  8. package/bundled-skills/skills/valdi-async/skill.md +3 -2
  9. package/bundled-skills/skills/valdi-bazel/skill.md +2 -6
  10. package/bundled-skills/skills/valdi-cpp-runtime/skill.md +18 -0
  11. package/bundled-skills/skills/valdi-error-handling/skill.md +1 -1
  12. package/bundled-skills/skills/valdi-gestures/skill.md +3 -3
  13. package/bundled-skills/skills/valdi-migrate/skill.md +2 -1
  14. package/bundled-skills/skills/valdi-mock-breakdown/skill.md +4 -4
  15. package/bundled-skills/skills/valdi-mock-to-module/skill.md +9 -6
  16. package/bundled-skills/skills/valdi-overview/skill.md +2 -1
  17. package/bundled-skills/skills/valdi-perf/skill.md +121 -5
  18. package/bundled-skills/skills/valdi-pr-review/skill.md +189 -0
  19. package/bundled-skills/skills/valdi-profile/skill.md +5 -3
  20. package/bundled-skills/skills/valdi-setup/skill.md +3 -6
  21. package/bundled-skills/skills/valdi-testing/skill.md +1 -1
  22. package/bundled-skills/skills/valdi-tsx/skill.md +47 -11
  23. package/debugger/README.md +356 -0
  24. package/debugger/debugger-actions.js +373 -0
  25. package/debugger/debugger-api.js +225 -0
  26. package/debugger/debugger-bootstrap.js +295 -0
  27. package/debugger/debugger-model.js +790 -0
  28. package/debugger/debugger-performance.js +573 -0
  29. package/debugger/debugger-preview-html.js +676 -0
  30. package/debugger/debugger-providers.js +389 -0
  31. package/debugger/debugger-render.js +529 -0
  32. package/debugger/debugger-runtime.js +387 -0
  33. package/debugger/debugger-session.js +188 -0
  34. package/debugger/debugger-settings.js +209 -0
  35. package/debugger/debugger-state.js +221 -0
  36. package/debugger/debugger-tree-model.js +539 -0
  37. package/debugger/debugger.css +1865 -0
  38. package/debugger/devtools-panel.css +1318 -0
  39. package/debugger/devtools-panel.html +273 -0
  40. package/debugger/devtools-panel.js +3329 -0
  41. package/debugger/index.html +279 -0
  42. package/dist/commands/bootstrap.js +6 -5
  43. package/dist/commands/debugger.js +163 -0
  44. package/dist/commands/doctor.js +3 -62
  45. package/dist/commands/inspect.js +5 -2
  46. package/dist/commands/inspect_commands/input.js +176 -0
  47. package/dist/commands/inspect_commands/snapshot.js +1 -1
  48. package/dist/commands/inspect_commands/tree.js +1 -1
  49. package/dist/commands/projectsync.js +15 -0
  50. package/dist/commands/webHotreload.js +31 -0
  51. package/dist/core/constants.js +22 -6
  52. package/dist/debugger/chromiumConsole.js +279 -0
  53. package/dist/debugger/inputClient.js +473 -0
  54. package/dist/debugger/server.js +3801 -0
  55. package/dist/debugger/targetRegistry.js +436 -0
  56. package/dist/debugger/webPreviewPerformance.js +864 -0
  57. package/dist/index.js +0 -0
  58. package/dist/utils/BazelClient.js +34 -5
  59. package/dist/utils/applicationUtils.js +3 -0
  60. package/dist/utils/chromiumDevToolsClient.js +350 -0
  61. package/dist/utils/daemonClient.js +364 -44
  62. package/dist/utils/hermesClient.js +82 -176
  63. package/dist/utils/loopbackHost.js +14 -0
  64. package/dist/utils/owlCdpClient.js +282 -0
  65. package/dist/utils/owlDevToolsExtension.js +142 -0
  66. package/dist/utils/stringUtils.js +13 -1
  67. package/package.json +4 -2
  68. package/dist/commands/inspect_commands/snapshot.spec.js +0 -105
  69. package/dist/core/packageFiles.spec.js +0 -29
  70. package/dist/preview/previewGenerator.spec.js +0 -203
  71. package/dist/preview/viewModelParser.spec.js +0 -171
  72. package/dist/utils/linuxDistro.spec.js +0 -122
  73. package/dist/utils/skillsAdapters.spec.js +0 -141
  74. package/dist/utils/stringUtils.spec.js +0 -81
@@ -0,0 +1,1865 @@
1
+ :root {
2
+ color-scheme: light;
3
+ font-family:
4
+ Inter,
5
+ ui-sans-serif,
6
+ system-ui,
7
+ -apple-system,
8
+ BlinkMacSystemFont,
9
+ 'Segoe UI',
10
+ sans-serif;
11
+ }
12
+
13
+ :root[data-theme='sunrise'] {
14
+ --bg: #f6efe5;
15
+ --surface: #fffaf2;
16
+ --surface-2: #f2e6d7;
17
+ --surface-selected: #fff7b8;
18
+ --line: #dfd0bd;
19
+ --line-strong: #b99f7d;
20
+ --text: #1d1b16;
21
+ --text-inverse: #fbf7ec;
22
+ --text-inverse-muted: rgba(251, 247, 236, 0.78);
23
+ --muted: #6f675c;
24
+ --accent: #fff000;
25
+ --accent-strong: #c9bb00;
26
+ --accent-soft: #fff8b8;
27
+ --focus-ring: rgba(255, 240, 0, 0.38);
28
+ --good: #087f5b;
29
+ --good-soft: #e7f6ed;
30
+ --good-line: rgba(8, 127, 91, 0.28);
31
+ --warn: #a46300;
32
+ --bad: #b42318;
33
+ --info: #0f6f9f;
34
+ --component: #7357d7;
35
+ --component-soft: rgba(115, 87, 215, 0.06);
36
+ --component-line: rgba(115, 87, 215, 0.42);
37
+ --element: #0f8b8d;
38
+ --element-soft: rgba(15, 139, 141, 0.07);
39
+ --element-line: rgba(15, 139, 141, 0.5);
40
+ --device-shell: #10110e;
41
+ --screen-bg: #fffefb;
42
+ --overlay-label-bg: #10110e;
43
+ --trace-detail-bg: #fffdf7;
44
+ --console-bg: #11110d;
45
+ --console-surface: #1e1d17;
46
+ --console-surface-2: #29271f;
47
+ --console-line: rgba(251, 247, 236, 0.16);
48
+ --console-text: #f7f2e6;
49
+ --log-info: #7dd3fc;
50
+ --log-warn: #facc15;
51
+ --log-error: #fca5a5;
52
+ --shadow: 0 18px 42px rgba(54, 42, 26, 0.12);
53
+ }
54
+
55
+ :root[data-theme='sunset'] {
56
+ --bg: #21142a;
57
+ --surface: #fff2df;
58
+ --surface-2: #f8d7b6;
59
+ --surface-selected: #ffe084;
60
+ --line: #e6b58a;
61
+ --line-strong: #b8734d;
62
+ --text: #271514;
63
+ --text-inverse: #fff4e7;
64
+ --text-inverse-muted: rgba(255, 244, 231, 0.76);
65
+ --muted: #74554a;
66
+ --accent: #ffdf3d;
67
+ --accent-strong: #d98f1d;
68
+ --accent-soft: #fff0aa;
69
+ --focus-ring: rgba(255, 151, 67, 0.34);
70
+ --good: #0f766e;
71
+ --good-soft: #dff4ec;
72
+ --good-line: rgba(15, 118, 110, 0.3);
73
+ --warn: #a85300;
74
+ --bad: #b91c1c;
75
+ --info: #1d6b9b;
76
+ --component: #8b5cf6;
77
+ --component-soft: rgba(139, 92, 246, 0.08);
78
+ --component-line: rgba(139, 92, 246, 0.48);
79
+ --element: #0e8f99;
80
+ --element-soft: rgba(14, 143, 153, 0.08);
81
+ --element-line: rgba(14, 143, 153, 0.52);
82
+ --device-shell: #120c16;
83
+ --screen-bg: #fff8ef;
84
+ --overlay-label-bg: #120c16;
85
+ --trace-detail-bg: #fff7ed;
86
+ --console-bg: #130d18;
87
+ --console-surface: #211629;
88
+ --console-surface-2: #2f1d34;
89
+ --console-line: rgba(255, 244, 231, 0.16);
90
+ --console-text: #fff4e7;
91
+ --log-info: #67e8f9;
92
+ --log-warn: #fde047;
93
+ --log-error: #fda4af;
94
+ --shadow: 0 20px 48px rgba(39, 21, 20, 0.18);
95
+ }
96
+
97
+ * {
98
+ box-sizing: border-box;
99
+ }
100
+
101
+ body {
102
+ margin: 0;
103
+ min-height: 100vh;
104
+ background: var(--bg);
105
+ color: var(--text);
106
+ }
107
+
108
+ button,
109
+ input,
110
+ textarea,
111
+ select {
112
+ font: inherit;
113
+ }
114
+
115
+ button {
116
+ border: 1px solid var(--line-strong);
117
+ background: var(--surface);
118
+ color: var(--text);
119
+ border-radius: 6px;
120
+ padding: 7px 10px;
121
+ cursor: pointer;
122
+ }
123
+
124
+ button:hover {
125
+ border-color: var(--text);
126
+ }
127
+
128
+ button.primary {
129
+ background: var(--accent);
130
+ border-color: var(--accent-strong);
131
+ color: var(--text);
132
+ font-weight: 700;
133
+ }
134
+
135
+ button.icon {
136
+ width: 32px;
137
+ height: 32px;
138
+ padding: 0;
139
+ display: inline-grid;
140
+ place-items: center;
141
+ }
142
+
143
+ input,
144
+ textarea,
145
+ select {
146
+ width: 100%;
147
+ border: 1px solid var(--line);
148
+ border-radius: 6px;
149
+ color: var(--text);
150
+ background: var(--surface);
151
+ padding: 8px 9px;
152
+ outline: none;
153
+ }
154
+
155
+ input:focus,
156
+ textarea:focus,
157
+ select:focus {
158
+ border-color: var(--text);
159
+ box-shadow: 0 0 0 3px var(--focus-ring);
160
+ }
161
+
162
+ code,
163
+ pre {
164
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
165
+ }
166
+
167
+ .app {
168
+ min-height: 100vh;
169
+ display: grid;
170
+ grid-template-rows: auto minmax(0, 1fr);
171
+ }
172
+
173
+ .topbar {
174
+ display: grid;
175
+ grid-template-columns: 1fr auto;
176
+ gap: 16px;
177
+ align-items: center;
178
+ padding: 12px 16px;
179
+ border-bottom: 1px solid var(--line);
180
+ background: var(--surface);
181
+ }
182
+
183
+ .title-row {
184
+ display: flex;
185
+ gap: 12px;
186
+ align-items: center;
187
+ min-width: 0;
188
+ }
189
+
190
+ .brand-mark {
191
+ width: 36px;
192
+ height: 36px;
193
+ border-radius: 8px;
194
+ display: grid;
195
+ place-items: center;
196
+ background: var(--accent);
197
+ border: 1px solid var(--accent-strong);
198
+ font-weight: 900;
199
+ }
200
+
201
+ .title-copy {
202
+ min-width: 0;
203
+ }
204
+
205
+ h1 {
206
+ margin: 0;
207
+ font-size: 17px;
208
+ line-height: 1.2;
209
+ }
210
+
211
+ .subtitle {
212
+ margin-top: 3px;
213
+ color: var(--muted);
214
+ font-size: 12px;
215
+ white-space: nowrap;
216
+ overflow: hidden;
217
+ text-overflow: ellipsis;
218
+ }
219
+
220
+ .toolbar {
221
+ display: flex;
222
+ align-items: center;
223
+ gap: 8px;
224
+ flex-wrap: wrap;
225
+ justify-content: flex-end;
226
+ }
227
+
228
+ .toolbar select {
229
+ width: auto;
230
+ min-width: 184px;
231
+ padding: 7px 28px 7px 9px;
232
+ }
233
+
234
+ .toolbar label {
235
+ display: inline-flex;
236
+ align-items: center;
237
+ gap: 6px;
238
+ font-size: 12px;
239
+ color: var(--muted);
240
+ white-space: nowrap;
241
+ }
242
+
243
+ .toolbar button {
244
+ flex: 0 0 auto;
245
+ }
246
+
247
+ .toolbar input[type='checkbox'] {
248
+ width: auto;
249
+ }
250
+
251
+ .status-pill {
252
+ display: inline-flex;
253
+ align-items: center;
254
+ gap: 7px;
255
+ border: 1px solid var(--line);
256
+ border-radius: 999px;
257
+ padding: 6px 10px;
258
+ background: var(--surface-2);
259
+ font-size: 12px;
260
+ color: var(--muted);
261
+ white-space: nowrap;
262
+ }
263
+
264
+ .status-pill span:last-child {
265
+ min-width: 0;
266
+ overflow: hidden;
267
+ text-overflow: ellipsis;
268
+ }
269
+
270
+ .dot {
271
+ width: 8px;
272
+ height: 8px;
273
+ border-radius: 50%;
274
+ background: var(--muted);
275
+ }
276
+
277
+ .dot.good {
278
+ background: var(--good);
279
+ }
280
+
281
+ .dot.warn {
282
+ background: var(--warn);
283
+ }
284
+
285
+ .dot.bad {
286
+ background: var(--bad);
287
+ }
288
+
289
+ .debugger-shell {
290
+ min-height: 0;
291
+ display: grid;
292
+ grid-template-columns: 210px minmax(0, 1fr);
293
+ background: var(--bg);
294
+ }
295
+
296
+ .section-rail {
297
+ min-height: 0;
298
+ overflow: auto;
299
+ border-right: 1px solid var(--line);
300
+ background: var(--surface);
301
+ padding: 12px;
302
+ display: grid;
303
+ align-content: start;
304
+ gap: 8px;
305
+ }
306
+
307
+ .section-button {
308
+ width: 100%;
309
+ display: grid;
310
+ gap: 3px;
311
+ text-align: left;
312
+ border-color: transparent;
313
+ background: transparent;
314
+ }
315
+
316
+ .section-button:hover,
317
+ .section-button.active {
318
+ border-color: var(--line-strong);
319
+ background: var(--surface-2);
320
+ }
321
+
322
+ .section-button.active {
323
+ box-shadow: inset 3px 0 0 var(--accent-strong);
324
+ }
325
+
326
+ .section-button strong {
327
+ font-size: 13px;
328
+ }
329
+
330
+ .section-button span {
331
+ color: var(--muted);
332
+ font-size: 11px;
333
+ line-height: 1.3;
334
+ }
335
+
336
+ .section-panel {
337
+ min-width: 0;
338
+ min-height: 0;
339
+ display: none;
340
+ }
341
+
342
+ .section-panel.active {
343
+ display: grid;
344
+ }
345
+
346
+ .workspace {
347
+ min-height: 0;
348
+ display: grid;
349
+ grid-template-columns: minmax(420px, 1fr) minmax(310px, 370px);
350
+ }
351
+
352
+ .panel {
353
+ min-height: 0;
354
+ overflow: hidden;
355
+ background: var(--surface);
356
+ border-right: 1px solid var(--line);
357
+ display: flex;
358
+ flex-direction: column;
359
+ }
360
+
361
+ .panel:last-child {
362
+ border-right: 0;
363
+ }
364
+
365
+ .panel.inspector {
366
+ border-left: 1px solid var(--line);
367
+ }
368
+
369
+ .panel-header {
370
+ padding: 12px;
371
+ border-bottom: 1px solid var(--line);
372
+ display: flex;
373
+ gap: 8px;
374
+ align-items: center;
375
+ justify-content: space-between;
376
+ }
377
+
378
+ .panel-title {
379
+ margin: 0;
380
+ font-size: 12px;
381
+ text-transform: uppercase;
382
+ color: var(--muted);
383
+ letter-spacing: 0.05em;
384
+ }
385
+
386
+ .panel-body {
387
+ min-height: 0;
388
+ overflow: auto;
389
+ padding: 12px;
390
+ }
391
+
392
+ .target-list {
393
+ display: grid;
394
+ gap: 8px;
395
+ }
396
+
397
+ .daemon-status {
398
+ display: grid;
399
+ gap: 7px;
400
+ }
401
+
402
+ .daemon-row {
403
+ border: 1px solid var(--line);
404
+ border-radius: 7px;
405
+ padding: 8px;
406
+ display: grid;
407
+ gap: 5px;
408
+ background: var(--surface-2);
409
+ font-size: 12px;
410
+ }
411
+
412
+ .daemon-row-top {
413
+ display: flex;
414
+ justify-content: space-between;
415
+ gap: 8px;
416
+ align-items: center;
417
+ }
418
+
419
+ .daemon-row strong {
420
+ font-size: 12px;
421
+ }
422
+
423
+ .daemon-detail {
424
+ color: var(--muted);
425
+ overflow-wrap: anywhere;
426
+ }
427
+
428
+ .target {
429
+ border: 1px solid var(--line);
430
+ border-radius: 8px;
431
+ padding: 10px;
432
+ display: grid;
433
+ gap: 6px;
434
+ background: var(--surface);
435
+ cursor: pointer;
436
+ }
437
+
438
+ .target.active {
439
+ border-color: var(--accent-strong);
440
+ background: var(--surface-selected);
441
+ }
442
+
443
+ .target-top {
444
+ display: flex;
445
+ align-items: center;
446
+ justify-content: space-between;
447
+ gap: 8px;
448
+ }
449
+
450
+ .target-name {
451
+ font-weight: 700;
452
+ font-size: 13px;
453
+ }
454
+
455
+ .meta-grid {
456
+ display: grid;
457
+ grid-template-columns: 1fr 1fr;
458
+ gap: 6px;
459
+ }
460
+
461
+ .metric {
462
+ min-width: 0;
463
+ border: 1px solid var(--line);
464
+ border-radius: 7px;
465
+ padding: 7px;
466
+ background: var(--surface-2);
467
+ }
468
+
469
+ .metric-label {
470
+ color: var(--muted);
471
+ font-size: 11px;
472
+ }
473
+
474
+ .metric-value {
475
+ margin-top: 2px;
476
+ font-size: 13px;
477
+ font-weight: 700;
478
+ }
479
+
480
+ .section-gap {
481
+ margin-top: 14px;
482
+ }
483
+
484
+ .connection-drawer {
485
+ position: relative;
486
+ background: transparent;
487
+ }
488
+
489
+ .connection-summary {
490
+ min-height: 32px;
491
+ padding: 6px 10px;
492
+ display: flex;
493
+ align-items: center;
494
+ gap: 8px;
495
+ border: 1px solid var(--line);
496
+ border-radius: 999px;
497
+ background: var(--surface-2);
498
+ cursor: pointer;
499
+ user-select: none;
500
+ }
501
+
502
+ .connection-summary::marker {
503
+ color: var(--muted);
504
+ }
505
+
506
+ .connection-summary-text {
507
+ font-size: 12px;
508
+ font-weight: 700;
509
+ color: var(--muted);
510
+ letter-spacing: 0;
511
+ text-transform: none;
512
+ }
513
+
514
+ .connection-summary-hint {
515
+ color: var(--muted);
516
+ font-size: 11px;
517
+ }
518
+
519
+ .connection-content {
520
+ position: fixed;
521
+ top: 148px;
522
+ left: 16px;
523
+ right: 16px;
524
+ width: auto;
525
+ max-height: 56vh;
526
+ overflow: auto;
527
+ border: 1px solid var(--line);
528
+ border-radius: 8px;
529
+ padding: 12px 14px;
530
+ display: grid;
531
+ grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
532
+ gap: 14px;
533
+ background: var(--surface);
534
+ box-shadow: var(--shadow);
535
+ z-index: 40;
536
+ }
537
+
538
+ .connection-section {
539
+ min-width: 0;
540
+ display: grid;
541
+ align-content: start;
542
+ gap: 8px;
543
+ }
544
+
545
+ .connection-section-header {
546
+ display: flex;
547
+ align-items: center;
548
+ justify-content: space-between;
549
+ gap: 8px;
550
+ }
551
+
552
+ .tree-controls {
553
+ display: grid;
554
+ gap: 8px;
555
+ }
556
+
557
+ .hierarchy-heading {
558
+ display: flex;
559
+ align-items: center;
560
+ justify-content: space-between;
561
+ gap: 8px;
562
+ }
563
+
564
+ .source-pill {
565
+ flex: 0 0 auto;
566
+ border: 1px solid var(--line);
567
+ border-radius: 999px;
568
+ padding: 3px 7px;
569
+ background: var(--surface-2);
570
+ color: var(--muted);
571
+ font-size: 10px;
572
+ font-weight: 700;
573
+ text-transform: uppercase;
574
+ letter-spacing: 0.04em;
575
+ }
576
+
577
+ .source-pill.live {
578
+ border-color: var(--good-line);
579
+ background: var(--good-soft);
580
+ color: var(--good);
581
+ }
582
+
583
+ .tree {
584
+ margin-top: 10px;
585
+ display: grid;
586
+ gap: 2px;
587
+ }
588
+
589
+ .tree-node {
590
+ border: 1px solid transparent;
591
+ border-radius: 6px;
592
+ padding: 6px 7px;
593
+ display: grid;
594
+ grid-template-columns: 18px auto minmax(0, 0.9fr) minmax(0, 1.1fr);
595
+ gap: 7px;
596
+ align-items: center;
597
+ cursor: pointer;
598
+ min-width: 0;
599
+ }
600
+
601
+ .tree-node:hover {
602
+ background: var(--surface-2);
603
+ }
604
+
605
+ .tree-node.selected {
606
+ border-color: var(--accent-strong);
607
+ background: var(--surface-selected);
608
+ }
609
+
610
+ .tree-node.filtered-out {
611
+ display: none;
612
+ }
613
+
614
+ .tree-toggle {
615
+ width: 18px;
616
+ height: 18px;
617
+ padding: 0;
618
+ border: 1px solid var(--line);
619
+ border-radius: 5px;
620
+ display: grid;
621
+ place-items: center;
622
+ background: var(--surface);
623
+ color: var(--muted);
624
+ font-size: 12px;
625
+ line-height: 1;
626
+ cursor: pointer;
627
+ }
628
+
629
+ .tree-toggle.empty {
630
+ border-color: transparent;
631
+ background: transparent;
632
+ cursor: default;
633
+ }
634
+
635
+ .node-kind {
636
+ width: 9px;
637
+ height: 9px;
638
+ border-radius: 2px;
639
+ }
640
+
641
+ .node-kind.component {
642
+ background: var(--component);
643
+ }
644
+
645
+ .node-kind.element {
646
+ background: var(--element);
647
+ }
648
+
649
+ .node-label {
650
+ min-width: 0;
651
+ overflow: hidden;
652
+ white-space: nowrap;
653
+ text-overflow: ellipsis;
654
+ font-size: 13px;
655
+ }
656
+
657
+ .node-id {
658
+ min-width: 0;
659
+ overflow: hidden;
660
+ white-space: nowrap;
661
+ text-overflow: ellipsis;
662
+ color: var(--muted);
663
+ font-size: 11px;
664
+ }
665
+
666
+ .main {
667
+ min-width: 0;
668
+ min-height: 0;
669
+ display: grid;
670
+ grid-template-rows: auto minmax(260px, 1.05fr) minmax(180px, 0.95fr);
671
+ overflow: hidden;
672
+ background: var(--bg);
673
+ }
674
+
675
+ .main-toolbar {
676
+ border-bottom: 1px solid var(--line);
677
+ padding: 10px 12px;
678
+ background: var(--surface);
679
+ display: flex;
680
+ gap: 8px;
681
+ align-items: center;
682
+ justify-content: space-between;
683
+ flex-wrap: wrap;
684
+ }
685
+
686
+ .main-title {
687
+ display: inline-flex;
688
+ align-items: center;
689
+ gap: 8px;
690
+ min-width: 0;
691
+ }
692
+
693
+ .main-toolbar-actions {
694
+ display: flex;
695
+ align-items: center;
696
+ justify-content: flex-end;
697
+ gap: 8px;
698
+ flex-wrap: wrap;
699
+ min-width: 0;
700
+ }
701
+
702
+ .main-toolbar-actions .status-pill {
703
+ min-width: 0;
704
+ max-width: 100%;
705
+ }
706
+
707
+ #selectedSummary {
708
+ min-width: 0;
709
+ overflow: hidden;
710
+ text-overflow: ellipsis;
711
+ }
712
+
713
+ .segmented {
714
+ display: inline-flex;
715
+ border: 1px solid var(--line);
716
+ border-radius: 7px;
717
+ overflow: hidden;
718
+ background: var(--surface);
719
+ }
720
+
721
+ .segmented button {
722
+ border: 0;
723
+ border-radius: 0;
724
+ border-right: 1px solid var(--line);
725
+ background: transparent;
726
+ }
727
+
728
+ .segmented button:last-child {
729
+ border-right: 0;
730
+ }
731
+
732
+ .segmented button.active {
733
+ background: var(--accent);
734
+ font-weight: 700;
735
+ }
736
+
737
+ .stage {
738
+ min-height: 0;
739
+ overflow: hidden;
740
+ padding: 18px;
741
+ display: grid;
742
+ place-items: center;
743
+ }
744
+
745
+ .hierarchy-dock {
746
+ min-height: 0;
747
+ overflow: auto;
748
+ border-top: 1px solid var(--line);
749
+ background: var(--surface);
750
+ padding: 12px 14px 16px;
751
+ }
752
+
753
+ .device {
754
+ width: min(100%, 430px);
755
+ aspect-ratio: var(--device-w, 390) / var(--device-h, 760);
756
+ max-height: 100%;
757
+ overflow: hidden;
758
+ border: 1px solid var(--device-shell);
759
+ border-radius: 34px;
760
+ background: var(--device-shell);
761
+ padding: 16px;
762
+ box-shadow: var(--shadow);
763
+ }
764
+
765
+ .screen {
766
+ position: relative;
767
+ width: 100%;
768
+ height: 100%;
769
+ overflow: hidden;
770
+ border-radius: 22px;
771
+ background: var(--screen-bg);
772
+ touch-action: none;
773
+ }
774
+
775
+ .app-preview {
776
+ position: absolute;
777
+ inset: 0;
778
+ background: var(--screen-bg);
779
+ }
780
+
781
+ .root-snapshot {
782
+ position: absolute;
783
+ inset: 0;
784
+ width: 100%;
785
+ height: 100%;
786
+ object-fit: fill;
787
+ }
788
+
789
+ .html-preview-root {
790
+ position: absolute;
791
+ inset: 0;
792
+ overflow: hidden;
793
+ background: var(--screen-bg);
794
+ }
795
+
796
+ .html-preview-canvas {
797
+ position: absolute;
798
+ left: 0;
799
+ top: 0;
800
+ overflow: hidden;
801
+ transform-origin: 0 0;
802
+ contain: layout style paint;
803
+ }
804
+
805
+ .valdi-html-node {
806
+ box-sizing: border-box;
807
+ min-width: 0;
808
+ min-height: 0;
809
+ overflow: hidden;
810
+ color: var(--text);
811
+ font-family:
812
+ ui-sans-serif,
813
+ system-ui,
814
+ -apple-system,
815
+ BlinkMacSystemFont,
816
+ 'Segoe UI',
817
+ sans-serif;
818
+ font-size: 14px;
819
+ line-height: 1.2;
820
+ }
821
+
822
+ .valdi-html-scroll {
823
+ overflow: auto;
824
+ overscroll-behavior: contain;
825
+ }
826
+
827
+ .valdi-html-text {
828
+ white-space: pre-wrap;
829
+ overflow-wrap: anywhere;
830
+ }
831
+
832
+ .valdi-html-node.preview-interactive {
833
+ cursor: pointer;
834
+ }
835
+
836
+ .valdi-html-node.preview-selected {
837
+ outline: 2px solid var(--text);
838
+ outline-offset: -2px;
839
+ box-shadow: inset 0 0 0 3px var(--accent);
840
+ }
841
+
842
+ .valdi-html-node input,
843
+ .valdi-html-node textarea {
844
+ font: inherit;
845
+ }
846
+
847
+ input.valdi-html-node,
848
+ textarea.valdi-html-node,
849
+ button.valdi-html-node {
850
+ border: 1px solid var(--line);
851
+ background: transparent;
852
+ color: inherit;
853
+ }
854
+
855
+ textarea.valdi-html-node {
856
+ resize: none;
857
+ }
858
+
859
+ img.valdi-html-node,
860
+ video.valdi-html-node {
861
+ display: block;
862
+ border: 0;
863
+ }
864
+
865
+ .preview-warning {
866
+ position: absolute;
867
+ left: 12px;
868
+ right: 12px;
869
+ top: 12px;
870
+ z-index: 5;
871
+ border: 1px solid var(--accent-strong);
872
+ border-radius: 7px;
873
+ background: var(--accent-soft);
874
+ color: var(--text);
875
+ padding: 8px 10px;
876
+ font-size: 12px;
877
+ font-weight: 700;
878
+ line-height: 1.35;
879
+ }
880
+
881
+ .overlay-node {
882
+ position: absolute;
883
+ z-index: 4;
884
+ border: 2px solid var(--element-line);
885
+ background: var(--element-soft);
886
+ border-radius: 5px;
887
+ cursor: pointer;
888
+ }
889
+
890
+ .overlay-node.component {
891
+ border-color: var(--component-line);
892
+ background: var(--component-soft);
893
+ }
894
+
895
+ .overlay-node.selected {
896
+ border-color: var(--text);
897
+ box-shadow: 0 0 0 3px var(--accent);
898
+ background: var(--accent-soft);
899
+ }
900
+
901
+ .overlay-node .label {
902
+ position: absolute;
903
+ left: -2px;
904
+ top: -39px;
905
+ max-width: 220px;
906
+ overflow: hidden;
907
+ background: var(--overlay-label-bg);
908
+ color: var(--text-inverse);
909
+ border-radius: 4px;
910
+ padding: 3px 6px;
911
+ font-size: 10px;
912
+ line-height: 1.35;
913
+ opacity: 0;
914
+ pointer-events: none;
915
+ transition: opacity 120ms ease;
916
+ }
917
+
918
+ .overlay-node .label-line {
919
+ display: block;
920
+ overflow: hidden;
921
+ text-overflow: ellipsis;
922
+ white-space: nowrap;
923
+ }
924
+
925
+ .overlay-node .label-detail {
926
+ color: var(--text-inverse-muted);
927
+ }
928
+
929
+ .overlay-node:hover .label,
930
+ .overlay-node:focus-visible .label {
931
+ opacity: 1;
932
+ }
933
+
934
+ .export-panel {
935
+ display: none;
936
+ border-bottom: 1px solid var(--line);
937
+ background: var(--surface);
938
+ padding: 12px;
939
+ gap: 8px;
940
+ }
941
+
942
+ .export-panel.open {
943
+ display: grid;
944
+ }
945
+
946
+ .export-header,
947
+ .export-actions {
948
+ display: flex;
949
+ align-items: center;
950
+ justify-content: space-between;
951
+ gap: 8px;
952
+ flex-wrap: wrap;
953
+ }
954
+
955
+ .export-title {
956
+ font-size: 12px;
957
+ font-weight: 800;
958
+ }
959
+
960
+ .export-panel textarea {
961
+ min-height: 220px;
962
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
963
+ font-size: 11px;
964
+ }
965
+
966
+ .performance-panel {
967
+ min-height: 0;
968
+ overflow: auto;
969
+ background: transparent;
970
+ padding: 16px;
971
+ display: grid;
972
+ align-content: start;
973
+ gap: 12px;
974
+ }
975
+
976
+ .section-heading {
977
+ display: grid;
978
+ gap: 4px;
979
+ }
980
+
981
+ .section-heading h2 {
982
+ margin: 0;
983
+ font-size: 20px;
984
+ line-height: 1.2;
985
+ }
986
+
987
+ .section-heading p {
988
+ margin: 0;
989
+ color: var(--muted);
990
+ font-size: 13px;
991
+ }
992
+
993
+ .performance-grid {
994
+ display: grid;
995
+ grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
996
+ gap: 10px;
997
+ }
998
+
999
+ .performance-card {
1000
+ min-width: 0;
1001
+ border: 1px solid var(--line);
1002
+ border-radius: 8px;
1003
+ padding: 12px;
1004
+ background: var(--surface);
1005
+ display: grid;
1006
+ gap: 8px;
1007
+ }
1008
+
1009
+ .placeholder-grid {
1010
+ min-height: 0;
1011
+ overflow: auto;
1012
+ padding: 16px;
1013
+ display: grid;
1014
+ align-content: start;
1015
+ gap: 12px;
1016
+ }
1017
+
1018
+ .placeholder-card {
1019
+ border: 1px solid var(--line);
1020
+ border-radius: 8px;
1021
+ background: var(--surface);
1022
+ padding: 14px;
1023
+ display: grid;
1024
+ gap: 6px;
1025
+ }
1026
+
1027
+ .placeholder-card h3 {
1028
+ margin: 0;
1029
+ font-size: 15px;
1030
+ }
1031
+
1032
+ .placeholder-card p {
1033
+ margin: 0;
1034
+ color: var(--muted);
1035
+ font-size: 13px;
1036
+ line-height: 1.4;
1037
+ }
1038
+
1039
+ .tool-panel {
1040
+ min-height: 0;
1041
+ overflow: auto;
1042
+ padding: 18px;
1043
+ align-content: start;
1044
+ gap: 14px;
1045
+ }
1046
+
1047
+ .section-heading.with-actions {
1048
+ grid-template-columns: minmax(0, 1fr) auto;
1049
+ align-items: end;
1050
+ gap: 12px;
1051
+ }
1052
+
1053
+ .tool-actions,
1054
+ .provider-tabs,
1055
+ .sql-pagination {
1056
+ display: flex;
1057
+ align-items: center;
1058
+ gap: 8px;
1059
+ flex-wrap: wrap;
1060
+ }
1061
+
1062
+ .tool-actions {
1063
+ justify-content: flex-end;
1064
+ }
1065
+
1066
+ .tool-actions select {
1067
+ min-width: 180px;
1068
+ }
1069
+
1070
+ .provider-tabs {
1071
+ border-bottom: 1px solid var(--line);
1072
+ }
1073
+
1074
+ .provider-tabs button {
1075
+ border-radius: 7px 7px 0 0;
1076
+ border-bottom-color: transparent;
1077
+ }
1078
+
1079
+ .provider-tabs button.active {
1080
+ color: var(--accent-strong);
1081
+ background: var(--surface-2);
1082
+ border-color: var(--line);
1083
+ border-bottom-color: var(--surface-2);
1084
+ }
1085
+
1086
+ .tool-content {
1087
+ min-width: 0;
1088
+ display: grid;
1089
+ gap: 12px;
1090
+ }
1091
+
1092
+ .provider-status {
1093
+ display: flex;
1094
+ align-items: center;
1095
+ gap: 8px;
1096
+ padding: 10px 12px;
1097
+ border: 1px solid var(--line);
1098
+ border-radius: 8px;
1099
+ background: var(--surface-2);
1100
+ color: var(--muted);
1101
+ font-size: 12px;
1102
+ }
1103
+
1104
+ .provider-status.available {
1105
+ border-color: var(--good-line);
1106
+ background: var(--good-bg);
1107
+ color: var(--text);
1108
+ }
1109
+
1110
+ .storage-grid {
1111
+ display: grid;
1112
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
1113
+ gap: 10px;
1114
+ }
1115
+
1116
+ .storage-card,
1117
+ .data-entry {
1118
+ min-width: 0;
1119
+ border: 1px solid var(--line);
1120
+ border-radius: 8px;
1121
+ background: var(--surface);
1122
+ }
1123
+
1124
+ .storage-card > summary,
1125
+ .data-entry > summary {
1126
+ display: flex;
1127
+ justify-content: space-between;
1128
+ gap: 10px;
1129
+ cursor: pointer;
1130
+ padding: 10px;
1131
+ }
1132
+
1133
+ .storage-card > summary span,
1134
+ .data-entry > summary span,
1135
+ .provider-note {
1136
+ color: var(--muted);
1137
+ font-size: 11px;
1138
+ }
1139
+
1140
+ .storage-card > .data-entry {
1141
+ margin: 0 10px 8px;
1142
+ background: var(--surface-2);
1143
+ }
1144
+
1145
+ .data-entry .codebox {
1146
+ margin: 0 8px 8px;
1147
+ max-height: 180px;
1148
+ }
1149
+
1150
+ .provider-note {
1151
+ padding: 0 10px 10px;
1152
+ line-height: 1.45;
1153
+ }
1154
+
1155
+ .sql-controls {
1156
+ display: grid;
1157
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
1158
+ gap: 10px;
1159
+ }
1160
+
1161
+ .sql-controls label {
1162
+ display: grid;
1163
+ gap: 5px;
1164
+ color: var(--muted);
1165
+ font-size: 11px;
1166
+ font-weight: 700;
1167
+ }
1168
+
1169
+ .sql-table-wrap {
1170
+ overflow: auto;
1171
+ max-height: 460px;
1172
+ border: 1px solid var(--line);
1173
+ border-radius: 8px;
1174
+ }
1175
+
1176
+ .sql-table {
1177
+ width: 100%;
1178
+ border-collapse: collapse;
1179
+ font-family: var(--mono);
1180
+ font-size: 11px;
1181
+ }
1182
+
1183
+ .sql-table th,
1184
+ .sql-table td {
1185
+ max-width: 320px;
1186
+ padding: 7px 9px;
1187
+ border-bottom: 1px solid var(--line);
1188
+ text-align: left;
1189
+ white-space: nowrap;
1190
+ overflow: hidden;
1191
+ text-overflow: ellipsis;
1192
+ }
1193
+
1194
+ .sql-table th {
1195
+ position: sticky;
1196
+ top: 0;
1197
+ background: var(--surface-2);
1198
+ z-index: 1;
1199
+ }
1200
+
1201
+ .sql-pagination {
1202
+ justify-content: flex-end;
1203
+ color: var(--muted);
1204
+ font-size: 11px;
1205
+ }
1206
+
1207
+ .settings-row {
1208
+ display: grid;
1209
+ grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
1210
+ align-items: center;
1211
+ gap: 16px;
1212
+ padding: 12px;
1213
+ border: 1px solid var(--line);
1214
+ border-radius: 8px;
1215
+ background: var(--surface);
1216
+ }
1217
+
1218
+ .settings-label {
1219
+ font-size: 13px;
1220
+ font-weight: 800;
1221
+ margin-bottom: 4px;
1222
+ }
1223
+
1224
+ .settings-control {
1225
+ display: flex;
1226
+ align-items: center;
1227
+ justify-content: flex-end;
1228
+ gap: 8px;
1229
+ }
1230
+
1231
+ .settings-control input[type='text'],
1232
+ .settings-control input[type='number'],
1233
+ .settings-control select {
1234
+ min-width: 180px;
1235
+ max-width: 300px;
1236
+ }
1237
+
1238
+ @media (max-width: 760px) {
1239
+ .section-heading.with-actions,
1240
+ .settings-row {
1241
+ grid-template-columns: 1fr;
1242
+ }
1243
+
1244
+ .tool-actions,
1245
+ .settings-control {
1246
+ justify-content: flex-start;
1247
+ }
1248
+ }
1249
+
1250
+ .section-panel:not(.active) {
1251
+ display: none;
1252
+ }
1253
+
1254
+ .section-panel.active {
1255
+ display: grid;
1256
+ }
1257
+
1258
+ .performance-card:not([open]) {
1259
+ gap: 0;
1260
+ }
1261
+
1262
+ .performance-card-header,
1263
+ .performance-controls {
1264
+ display: flex;
1265
+ align-items: center;
1266
+ justify-content: space-between;
1267
+ gap: 8px;
1268
+ flex-wrap: wrap;
1269
+ }
1270
+
1271
+ .performance-card-header {
1272
+ cursor: pointer;
1273
+ list-style: none;
1274
+ }
1275
+
1276
+ .performance-card-header::-webkit-details-marker {
1277
+ display: none;
1278
+ }
1279
+
1280
+ .performance-title {
1281
+ font-size: 12px;
1282
+ font-weight: 800;
1283
+ }
1284
+
1285
+ .performance-controls {
1286
+ justify-content: flex-start;
1287
+ }
1288
+
1289
+ .performance-controls label {
1290
+ display: inline-flex;
1291
+ align-items: center;
1292
+ gap: 5px;
1293
+ color: var(--muted);
1294
+ font-size: 12px;
1295
+ white-space: nowrap;
1296
+ }
1297
+
1298
+ .performance-controls input[type='checkbox'] {
1299
+ width: auto;
1300
+ }
1301
+
1302
+ .performance-controls input[type='number'] {
1303
+ width: 76px;
1304
+ padding: 6px 7px;
1305
+ }
1306
+
1307
+ .performance-controls select {
1308
+ width: min(100%, 220px);
1309
+ padding: 6px 28px 6px 7px;
1310
+ }
1311
+
1312
+ .performance-summary {
1313
+ min-height: 18px;
1314
+ color: var(--muted);
1315
+ font-size: 12px;
1316
+ line-height: 1.4;
1317
+ }
1318
+
1319
+ .performance-summary strong {
1320
+ color: var(--text);
1321
+ }
1322
+
1323
+ .trace-events {
1324
+ display: grid;
1325
+ gap: 4px;
1326
+ max-height: 190px;
1327
+ overflow: auto;
1328
+ border-top: 1px solid var(--line);
1329
+ padding-top: 8px;
1330
+ }
1331
+
1332
+ .trace-events:empty {
1333
+ display: none;
1334
+ }
1335
+
1336
+ .trace-events-header,
1337
+ .trace-event-summary {
1338
+ display: grid;
1339
+ grid-template-columns: minmax(0, 1fr) 72px 72px;
1340
+ gap: 8px;
1341
+ align-items: baseline;
1342
+ }
1343
+
1344
+ .trace-events-header {
1345
+ color: var(--muted);
1346
+ font-size: 11px;
1347
+ font-weight: 700;
1348
+ }
1349
+
1350
+ .trace-event-row {
1351
+ border: 1px solid var(--line);
1352
+ border-radius: 6px;
1353
+ background: var(--surface);
1354
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
1355
+ font-size: 11px;
1356
+ }
1357
+
1358
+ .trace-event-summary {
1359
+ padding: 5px 6px;
1360
+ cursor: pointer;
1361
+ list-style: none;
1362
+ }
1363
+
1364
+ .trace-event-summary::-webkit-details-marker {
1365
+ display: none;
1366
+ }
1367
+
1368
+ .trace-event-name::before {
1369
+ content: '>';
1370
+ display: inline-block;
1371
+ width: 12px;
1372
+ color: var(--muted);
1373
+ }
1374
+
1375
+ .trace-event-row[open] .trace-event-name::before {
1376
+ content: 'v';
1377
+ }
1378
+
1379
+ .trace-event-name {
1380
+ min-width: 0;
1381
+ overflow: hidden;
1382
+ text-overflow: ellipsis;
1383
+ white-space: nowrap;
1384
+ }
1385
+
1386
+ .trace-event-meta {
1387
+ color: var(--muted);
1388
+ text-align: right;
1389
+ }
1390
+
1391
+ .trace-event-details {
1392
+ margin: 0;
1393
+ border-top: 1px solid var(--line);
1394
+ padding: 7px 8px 8px;
1395
+ background: var(--trace-detail-bg);
1396
+ color: var(--text);
1397
+ white-space: pre-wrap;
1398
+ overflow-wrap: anywhere;
1399
+ }
1400
+
1401
+ .tabs {
1402
+ display: grid;
1403
+ grid-template-columns: repeat(5, 1fr);
1404
+ border-bottom: 1px solid var(--line);
1405
+ }
1406
+
1407
+ .tabs button {
1408
+ border: 0;
1409
+ border-right: 1px solid var(--line);
1410
+ border-radius: 0;
1411
+ padding: 10px 6px;
1412
+ background: var(--surface);
1413
+ font-size: 12px;
1414
+ }
1415
+
1416
+ .tabs button:last-child {
1417
+ border-right: 0;
1418
+ }
1419
+
1420
+ .tabs button.active {
1421
+ background: var(--accent);
1422
+ font-weight: 800;
1423
+ }
1424
+
1425
+ .inspector-content {
1426
+ flex: 1 1 auto;
1427
+ min-height: 0;
1428
+ overflow: auto;
1429
+ padding: 12px;
1430
+ }
1431
+
1432
+ .kv {
1433
+ display: grid;
1434
+ grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.2fr);
1435
+ border-top: 1px solid var(--line);
1436
+ }
1437
+
1438
+ .kv div {
1439
+ padding: 8px 6px;
1440
+ border-bottom: 1px solid var(--line);
1441
+ min-width: 0;
1442
+ overflow-wrap: anywhere;
1443
+ font-size: 12px;
1444
+ }
1445
+
1446
+ .kv div:nth-child(odd) {
1447
+ color: var(--muted);
1448
+ background: var(--surface-2);
1449
+ }
1450
+
1451
+ .breadcrumb {
1452
+ display: flex;
1453
+ flex-wrap: wrap;
1454
+ gap: 5px;
1455
+ margin-bottom: 12px;
1456
+ }
1457
+
1458
+ .crumb {
1459
+ border: 1px solid var(--line);
1460
+ border-radius: 999px;
1461
+ padding: 4px 7px;
1462
+ background: var(--surface);
1463
+ font-size: 11px;
1464
+ }
1465
+
1466
+ .codebox {
1467
+ background: var(--console-bg);
1468
+ color: var(--console-text);
1469
+ border-radius: 8px;
1470
+ padding: 10px;
1471
+ overflow: auto;
1472
+ font-size: 12px;
1473
+ line-height: 1.45;
1474
+ }
1475
+
1476
+ .data-section {
1477
+ display: grid;
1478
+ gap: 8px;
1479
+ margin-bottom: 14px;
1480
+ }
1481
+
1482
+ .data-section:last-child {
1483
+ margin-bottom: 0;
1484
+ }
1485
+
1486
+ .data-heading {
1487
+ margin: 0;
1488
+ color: var(--muted);
1489
+ font-size: 11px;
1490
+ font-weight: 800;
1491
+ letter-spacing: 0.05em;
1492
+ text-transform: uppercase;
1493
+ }
1494
+
1495
+ .snapshot-preview {
1496
+ margin-top: 12px;
1497
+ border: 1px solid var(--line);
1498
+ border-radius: 8px;
1499
+ padding: 8px;
1500
+ background: var(--surface-2);
1501
+ }
1502
+
1503
+ .snapshot-preview img {
1504
+ display: block;
1505
+ width: 100%;
1506
+ height: auto;
1507
+ border-radius: 6px;
1508
+ background: var(--screen-bg);
1509
+ }
1510
+
1511
+ .issue-list {
1512
+ display: grid;
1513
+ gap: 8px;
1514
+ }
1515
+
1516
+ .issue {
1517
+ border: 1px solid var(--line);
1518
+ border-left-width: 4px;
1519
+ border-radius: 7px;
1520
+ padding: 9px;
1521
+ background: var(--surface);
1522
+ cursor: pointer;
1523
+ }
1524
+
1525
+ .issue.warn {
1526
+ border-left-color: var(--warn);
1527
+ }
1528
+
1529
+ .issue.error {
1530
+ border-left-color: var(--bad);
1531
+ }
1532
+
1533
+ .issue-title {
1534
+ font-weight: 800;
1535
+ font-size: 12px;
1536
+ }
1537
+
1538
+ .issue-message {
1539
+ margin-top: 4px;
1540
+ color: var(--muted);
1541
+ font-size: 12px;
1542
+ line-height: 1.4;
1543
+ }
1544
+
1545
+ .console {
1546
+ min-height: 0;
1547
+ border-top: 0;
1548
+ background: var(--console-bg);
1549
+ color: var(--console-text);
1550
+ display: grid;
1551
+ grid-template-rows: auto minmax(0, 1fr) auto;
1552
+ }
1553
+
1554
+ .console-top {
1555
+ display: grid;
1556
+ grid-template-columns: auto minmax(160px, 1fr) auto;
1557
+ gap: 6px;
1558
+ align-items: center;
1559
+ padding: 8px 12px;
1560
+ border-bottom: 1px solid var(--console-line);
1561
+ }
1562
+
1563
+ .console-title {
1564
+ font-size: 12px;
1565
+ font-weight: 800;
1566
+ }
1567
+
1568
+ .console input {
1569
+ background: var(--console-surface);
1570
+ border-color: var(--console-line);
1571
+ color: var(--console-text);
1572
+ }
1573
+
1574
+ .log-filter {
1575
+ display: grid;
1576
+ grid-template-columns: minmax(0, 1fr);
1577
+ min-width: 0;
1578
+ }
1579
+
1580
+ .console-action {
1581
+ border-color: var(--console-line);
1582
+ background: var(--console-surface-2);
1583
+ color: var(--console-text);
1584
+ padding: 6px 8px;
1585
+ font-size: 11px;
1586
+ font-weight: 700;
1587
+ white-space: nowrap;
1588
+ }
1589
+
1590
+ .console-action:hover {
1591
+ border-color: var(--text-inverse-muted);
1592
+ }
1593
+
1594
+ .log-list {
1595
+ overflow: auto;
1596
+ padding: 8px 12px;
1597
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1598
+ font-size: 12px;
1599
+ line-height: 1.45;
1600
+ }
1601
+
1602
+ .log-row {
1603
+ display: grid;
1604
+ grid-template-columns: 72px 74px 1fr;
1605
+ gap: 8px;
1606
+ padding: 2px 0;
1607
+ }
1608
+
1609
+ .log-row .level-info {
1610
+ color: var(--log-info);
1611
+ }
1612
+
1613
+ .log-row .level-warn {
1614
+ color: var(--log-warn);
1615
+ }
1616
+
1617
+ .log-row .level-error {
1618
+ color: var(--log-error);
1619
+ }
1620
+
1621
+ .log-row span:last-child {
1622
+ white-space: pre-wrap;
1623
+ }
1624
+
1625
+ .console-prompt {
1626
+ display: grid;
1627
+ grid-template-columns: auto 1fr auto;
1628
+ gap: 8px;
1629
+ align-items: center;
1630
+ padding: 8px 12px;
1631
+ border-top: 1px solid var(--console-line);
1632
+ }
1633
+
1634
+ .prompt-glyph {
1635
+ color: var(--accent);
1636
+ font-weight: 900;
1637
+ }
1638
+
1639
+ .hidden {
1640
+ display: none;
1641
+ }
1642
+
1643
+ .empty {
1644
+ color: var(--muted);
1645
+ font-size: 12px;
1646
+ line-height: 1.45;
1647
+ padding: 8px;
1648
+ }
1649
+
1650
+ @media (max-width: 1080px) {
1651
+ .workspace {
1652
+ grid-template-columns: minmax(380px, 1fr);
1653
+ }
1654
+
1655
+ .panel.inspector {
1656
+ grid-column: 1 / -1;
1657
+ border-left: 0;
1658
+ border-top: 1px solid var(--line);
1659
+ max-height: 42vh;
1660
+ }
1661
+ }
1662
+
1663
+ @media (max-width: 900px) {
1664
+ button {
1665
+ padding: 6px 9px;
1666
+ }
1667
+
1668
+ .topbar {
1669
+ grid-template-columns: 1fr;
1670
+ gap: 10px;
1671
+ padding: 10px 12px;
1672
+ }
1673
+
1674
+ .brand-mark {
1675
+ width: 30px;
1676
+ height: 30px;
1677
+ border-radius: 7px;
1678
+ }
1679
+
1680
+ h1 {
1681
+ font-size: 16px;
1682
+ }
1683
+
1684
+ .toolbar {
1685
+ justify-content: flex-start;
1686
+ gap: 6px;
1687
+ }
1688
+
1689
+ .toolbar select {
1690
+ flex: 1 1 180px;
1691
+ min-width: 0;
1692
+ }
1693
+
1694
+ .status-pill {
1695
+ max-width: 100%;
1696
+ padding: 5px 8px;
1697
+ }
1698
+
1699
+ .connection-summary {
1700
+ min-height: 30px;
1701
+ padding: 5px 8px;
1702
+ }
1703
+
1704
+ .debugger-shell {
1705
+ grid-template-columns: 1fr;
1706
+ grid-template-rows: auto minmax(0, 1fr);
1707
+ }
1708
+
1709
+ .section-rail {
1710
+ display: grid;
1711
+ grid-template-columns: repeat(5, minmax(0, 1fr));
1712
+ overflow: visible;
1713
+ border-right: 0;
1714
+ border-bottom: 1px solid var(--line);
1715
+ padding: 8px 10px;
1716
+ gap: 6px;
1717
+ }
1718
+
1719
+ .section-button {
1720
+ min-width: 0;
1721
+ padding: 7px 8px;
1722
+ position: relative;
1723
+ text-align: center;
1724
+ }
1725
+
1726
+ .section-button::after {
1727
+ content: '';
1728
+ position: absolute;
1729
+ right: 24%;
1730
+ bottom: 1px;
1731
+ left: 24%;
1732
+ height: 3px;
1733
+ border-radius: 999px;
1734
+ background: var(--line-strong);
1735
+ opacity: 0;
1736
+ transform: scaleX(0.5);
1737
+ transition:
1738
+ opacity 120ms ease,
1739
+ transform 120ms ease,
1740
+ background-color 120ms ease;
1741
+ }
1742
+
1743
+ .section-button:hover {
1744
+ border-color: transparent;
1745
+ background: transparent;
1746
+ }
1747
+
1748
+ .section-button:hover::after {
1749
+ opacity: 0.45;
1750
+ transform: scaleX(1);
1751
+ }
1752
+
1753
+ .section-button strong {
1754
+ font-size: 12px;
1755
+ }
1756
+
1757
+ .section-button.active {
1758
+ border-color: transparent;
1759
+ background: transparent;
1760
+ box-shadow: none;
1761
+ }
1762
+
1763
+ .section-button.active::after {
1764
+ background: var(--accent-strong);
1765
+ opacity: 1;
1766
+ transform: scaleX(1);
1767
+ }
1768
+
1769
+ .section-button span {
1770
+ display: none;
1771
+ }
1772
+
1773
+ .main {
1774
+ grid-template-rows: auto minmax(260px, 0.8fr) minmax(170px, 0.8fr);
1775
+ }
1776
+
1777
+ .main-toolbar {
1778
+ align-items: flex-start;
1779
+ padding: 8px 10px;
1780
+ }
1781
+
1782
+ .main-toolbar-actions {
1783
+ justify-content: flex-start;
1784
+ width: 100%;
1785
+ }
1786
+
1787
+ .segmented {
1788
+ flex: 1 1 240px;
1789
+ }
1790
+
1791
+ .segmented button {
1792
+ flex: 1 1 0;
1793
+ padding: 6px 8px;
1794
+ }
1795
+
1796
+ .stage {
1797
+ padding: 12px;
1798
+ }
1799
+
1800
+ .hierarchy-dock {
1801
+ padding: 8px 10px 12px;
1802
+ }
1803
+
1804
+ .tree-node {
1805
+ grid-template-columns: 16px auto minmax(0, 0.7fr) minmax(0, 1.3fr);
1806
+ gap: 5px;
1807
+ padding: 5px;
1808
+ }
1809
+
1810
+ .node-label {
1811
+ font-size: 12px;
1812
+ }
1813
+
1814
+ .node-id {
1815
+ font-size: 10px;
1816
+ }
1817
+ }
1818
+
1819
+ @media (max-width: 760px) {
1820
+ .topbar {
1821
+ grid-template-columns: 1fr;
1822
+ }
1823
+
1824
+ .toolbar {
1825
+ justify-content: flex-start;
1826
+ }
1827
+
1828
+ .workspace {
1829
+ grid-template-columns: 1fr;
1830
+ }
1831
+
1832
+ .main {
1833
+ grid-template-rows: auto auto auto;
1834
+ order: 1;
1835
+ overflow: visible;
1836
+ }
1837
+
1838
+ .panel.inspector {
1839
+ order: 2;
1840
+ }
1841
+
1842
+ .panel {
1843
+ max-height: none;
1844
+ border-right: 0;
1845
+ border-bottom: 1px solid var(--line);
1846
+ }
1847
+
1848
+ .stage {
1849
+ min-height: 420px;
1850
+ }
1851
+
1852
+ .console-title {
1853
+ font-size: 11px;
1854
+ }
1855
+
1856
+ .console-top {
1857
+ grid-template-columns: auto minmax(0, 1fr) auto;
1858
+ }
1859
+
1860
+ .connection-content {
1861
+ top: 206px;
1862
+ grid-template-columns: 1fr;
1863
+ max-height: 42vh;
1864
+ }
1865
+ }