@rantingjs/studio 0.0.0-stage → 0.1.1

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 (54) hide show
  1. package/README.md +146 -2
  2. package/dist/badge.d.ts +2 -0
  3. package/dist/badge.js +17 -0
  4. package/dist/badge.js.map +1 -0
  5. package/dist/commands.d.ts +8 -0
  6. package/dist/commands.js +49 -0
  7. package/dist/commands.js.map +1 -0
  8. package/dist/config.d.ts +24 -0
  9. package/dist/config.js +26 -0
  10. package/dist/config.js.map +1 -0
  11. package/dist/forge.d.ts +67 -0
  12. package/dist/forge.js +138 -0
  13. package/dist/forge.js.map +1 -0
  14. package/dist/http.d.ts +25 -0
  15. package/dist/http.js +248 -0
  16. package/dist/http.js.map +1 -0
  17. package/dist/index.d.ts +4 -0
  18. package/dist/index.js +4 -0
  19. package/dist/index.js.map +1 -0
  20. package/dist/opencode.d.ts +30 -0
  21. package/dist/opencode.js +113 -0
  22. package/dist/opencode.js.map +1 -0
  23. package/dist/page.d.ts +11 -0
  24. package/dist/page.js +31 -0
  25. package/dist/page.js.map +1 -0
  26. package/dist/studio.module.d.ts +21 -0
  27. package/dist/studio.module.js +129 -0
  28. package/dist/studio.module.js.map +1 -0
  29. package/package.json +99 -4
  30. package/src/config.ts +26 -0
  31. package/ui/app.tsx +862 -0
  32. package/ui/changes.tsx +420 -0
  33. package/ui/code.tsx +194 -0
  34. package/ui/composer.tsx +362 -0
  35. package/ui/conversations.tsx +103 -0
  36. package/ui/editor.ts +144 -0
  37. package/ui/forge.tsx +236 -0
  38. package/ui/icons.tsx +59 -0
  39. package/ui/logic.ts +304 -0
  40. package/ui/logs.tsx +87 -0
  41. package/ui/model-picker.tsx +121 -0
  42. package/ui/notify.ts +45 -0
  43. package/ui/page.ts +27 -0
  44. package/ui/popover.tsx +66 -0
  45. package/ui/prose.tsx +50 -0
  46. package/ui/providers.tsx +386 -0
  47. package/ui/queue.tsx +89 -0
  48. package/ui/shared.ts +74 -0
  49. package/ui/splitter.tsx +70 -0
  50. package/ui/styles.css +2632 -0
  51. package/ui/terminal.tsx +108 -0
  52. package/ui/tsconfig.json +13 -0
  53. package/ui/urls.ts +9 -0
  54. package/ui/usage.tsx +86 -0
package/ui/styles.css ADDED
@@ -0,0 +1,2632 @@
1
+ :root {
2
+ --bg: #f4f1ea;
3
+ --panel: #fbfaf6;
4
+ --raised: #ffffff;
5
+ --ink: #17191d;
6
+ --muted: #6b6f78;
7
+ --faint: #9a9ea6;
8
+ --line: #e3ded3;
9
+ --accent: #e8590c;
10
+ --accent-ink: #ffffff;
11
+ --accent-soft: #fdebe0;
12
+ --plan: #2563eb;
13
+ --good: #2f7d4f;
14
+ --good-soft: #e3f2e8;
15
+ --bad: #c0392b;
16
+ --bad-soft: #fbe6e3;
17
+ --code: #f1ede4;
18
+ --shadow: 0 10px 40px rgba(23, 25, 29, 0.12);
19
+ /* Syntax colors of the code editor. */
20
+ --syn-keyword: #a626a4;
21
+ --syn-string: #2f7d4f;
22
+ --syn-number: #b45309;
23
+ --syn-comment: #8a8f98;
24
+ --syn-function: #1d5fd1;
25
+ --syn-type: #b0127a;
26
+ --syn-tag: #c2410c;
27
+ --syn-property: #0e7490;
28
+ --syn-definition: #17191d;
29
+ --sans: 'Instrument Sans', system-ui, sans-serif;
30
+ --mono: 'IBM Plex Mono', ui-monospace, monospace;
31
+ color-scheme: light;
32
+ }
33
+
34
+ @media (prefers-color-scheme: dark) {
35
+ :root {
36
+ --bg: #0f1114;
37
+ --panel: #15181c;
38
+ --raised: #1c2026;
39
+ --ink: #ecebe6;
40
+ --muted: #9ba0a8;
41
+ --faint: #6c717a;
42
+ --line: #2a2f36;
43
+ --accent: #f76b1c;
44
+ --accent-soft: #3a2216;
45
+ --plan: #4f8cff;
46
+ --good: #5cc58a;
47
+ --good-soft: #17301f;
48
+ --bad: #ff7466;
49
+ --bad-soft: #3a1d1a;
50
+ --code: #101317;
51
+ --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
52
+ --syn-keyword: #d19ae8;
53
+ --syn-string: #8fd19e;
54
+ --syn-number: #f0b36b;
55
+ --syn-comment: #6c717a;
56
+ --syn-function: #7cb3ff;
57
+ --syn-type: #f28fc5;
58
+ --syn-tag: #ff9a6b;
59
+ --syn-property: #6fd3e6;
60
+ --syn-definition: #ecebe6;
61
+ color-scheme: dark;
62
+ }
63
+ }
64
+
65
+ * {
66
+ box-sizing: border-box;
67
+ }
68
+
69
+ html,
70
+ body {
71
+ margin: 0;
72
+ height: 100%;
73
+ background: var(--bg);
74
+ color: var(--ink);
75
+ font: 14px/1.5 var(--sans);
76
+ }
77
+
78
+ button,
79
+ input,
80
+ select,
81
+ textarea {
82
+ font: inherit;
83
+ color: inherit;
84
+ }
85
+
86
+ button,
87
+ .ghost {
88
+ cursor: pointer;
89
+ border: 1px solid var(--line);
90
+ background: var(--raised);
91
+ border-radius: 8px;
92
+ padding: 6px 12px;
93
+ text-decoration: none;
94
+ line-height: 1.3;
95
+ }
96
+
97
+ button:hover:not(:disabled),
98
+ .ghost:hover {
99
+ border-color: var(--faint);
100
+ }
101
+
102
+ button:disabled {
103
+ opacity: 0.45;
104
+ cursor: default;
105
+ }
106
+
107
+ button.primary {
108
+ background: var(--accent);
109
+ border-color: var(--accent);
110
+ color: var(--accent-ink);
111
+ font-weight: 600;
112
+ }
113
+
114
+ button.danger {
115
+ color: var(--bad);
116
+ border-color: color-mix(in srgb, var(--bad) 40%, transparent);
117
+ }
118
+
119
+ .ghost {
120
+ background: transparent;
121
+ border-color: transparent;
122
+ padding: 4px 8px;
123
+ color: var(--muted);
124
+ }
125
+
126
+ .ghost:hover {
127
+ background: var(--code);
128
+ color: var(--ink);
129
+ }
130
+
131
+ code,
132
+ pre {
133
+ font-family: var(--mono);
134
+ font-size: 12.5px;
135
+ }
136
+
137
+ code {
138
+ background: var(--code);
139
+ padding: 1px 5px;
140
+ border-radius: 4px;
141
+ }
142
+
143
+ pre.code {
144
+ background: var(--code);
145
+ border-radius: 8px;
146
+ padding: 10px 12px;
147
+ margin: 8px 0;
148
+ overflow-x: auto;
149
+ white-space: pre;
150
+ }
151
+
152
+ /* Layout: the chat on the left, the stage on the right. */
153
+ .studio {
154
+ display: grid;
155
+ grid-template-columns: var(--chat-width, minmax(360px, 34%)) 1fr;
156
+ height: 100vh;
157
+ }
158
+
159
+ .chat {
160
+ display: flex;
161
+ flex-direction: column;
162
+ min-height: 0;
163
+ background: var(--panel);
164
+ border-right: 1px solid var(--line);
165
+ position: relative;
166
+ container-type: inline-size;
167
+ }
168
+
169
+ .chat-head {
170
+ display: flex;
171
+ flex-direction: column;
172
+ gap: 10px;
173
+ padding: 14px 16px 12px;
174
+ border-bottom: 1px solid var(--line);
175
+ }
176
+
177
+ .brand {
178
+ display: flex;
179
+ align-items: center;
180
+ gap: 8px;
181
+ font-weight: 700;
182
+ font-size: 15px;
183
+ letter-spacing: -0.01em;
184
+ }
185
+
186
+ .mark {
187
+ width: 10px;
188
+ height: 10px;
189
+ border-radius: 50%;
190
+ background: var(--accent);
191
+ box-shadow: 0 0 0 4px var(--accent-soft);
192
+ }
193
+
194
+ .app-name {
195
+ color: var(--muted);
196
+ font-weight: 500;
197
+ }
198
+
199
+ .app-name::before {
200
+ content: '/ ';
201
+ color: var(--faint);
202
+ }
203
+
204
+ .chat-head-row {
205
+ display: flex;
206
+ gap: 4px;
207
+ align-items: center;
208
+ }
209
+
210
+ /* Icons, icon buttons, chips. */
211
+ .icon {
212
+ display: block;
213
+ flex: none;
214
+ }
215
+
216
+ .icon-button {
217
+ display: inline-grid;
218
+ place-items: center;
219
+ width: 30px;
220
+ height: 30px;
221
+ padding: 0;
222
+ border: 1px solid transparent;
223
+ border-radius: 8px;
224
+ background: transparent;
225
+ color: var(--muted);
226
+ cursor: pointer;
227
+ }
228
+
229
+ .icon-button:hover:not(:disabled) {
230
+ background: var(--code);
231
+ color: var(--ink);
232
+ border-color: transparent;
233
+ }
234
+
235
+ .text-button {
236
+ display: inline-flex;
237
+ align-items: center;
238
+ gap: 6px;
239
+ border: 0;
240
+ background: none;
241
+ padding: 4px 6px;
242
+ color: var(--muted);
243
+ font-size: 13px;
244
+ }
245
+
246
+ .text-button:hover {
247
+ color: var(--ink);
248
+ }
249
+
250
+ .text-button.danger {
251
+ color: var(--bad);
252
+ }
253
+
254
+ .chip {
255
+ display: inline-flex;
256
+ align-items: center;
257
+ gap: 6px;
258
+ min-width: 0;
259
+ height: 30px;
260
+ padding: 0 10px;
261
+ border: 1px solid var(--line);
262
+ border-radius: 999px;
263
+ background: var(--raised);
264
+ color: var(--ink);
265
+ font-size: 13px;
266
+ font-weight: 500;
267
+ }
268
+
269
+ .chip:hover,
270
+ .chip.open {
271
+ border-color: var(--faint);
272
+ }
273
+
274
+ .chip .icon {
275
+ color: var(--muted);
276
+ }
277
+
278
+ .chip-text {
279
+ overflow: hidden;
280
+ text-overflow: ellipsis;
281
+ white-space: nowrap;
282
+ }
283
+
284
+ .chip-effort,
285
+ .chip-count {
286
+ font-size: 11px;
287
+ font-weight: 600;
288
+ padding: 1px 7px;
289
+ border-radius: 999px;
290
+ background: var(--accent-soft);
291
+ color: var(--accent);
292
+ white-space: nowrap;
293
+ }
294
+
295
+ .chip-count {
296
+ background: var(--code);
297
+ color: var(--muted);
298
+ }
299
+
300
+ /* Popovers: a panel beside its trigger. */
301
+ .anchor {
302
+ position: relative;
303
+ min-width: 0;
304
+ }
305
+
306
+ .popover {
307
+ position: absolute;
308
+ z-index: 20;
309
+ display: flex;
310
+ flex-direction: column;
311
+ width: 340px;
312
+ max-height: min(460px, 70vh);
313
+ background: var(--panel);
314
+ border: 1px solid var(--line);
315
+ border-radius: 12px;
316
+ box-shadow: var(--shadow);
317
+ overflow: hidden;
318
+ }
319
+
320
+ .popover.below-start {
321
+ top: calc(100% + 6px);
322
+ left: 0;
323
+ }
324
+
325
+ .popover.below-end {
326
+ top: calc(100% + 6px);
327
+ right: 0;
328
+ }
329
+
330
+ .popover.above-start {
331
+ bottom: calc(100% + 6px);
332
+ left: 0;
333
+ }
334
+
335
+ .popover.above-end {
336
+ bottom: calc(100% + 6px);
337
+ right: 0;
338
+ }
339
+
340
+ .search-field {
341
+ display: flex;
342
+ align-items: center;
343
+ gap: 8px;
344
+ padding: 0 12px;
345
+ border-bottom: 1px solid var(--line);
346
+ color: var(--muted);
347
+ }
348
+
349
+ .search-field input {
350
+ flex: 1;
351
+ min-width: 0;
352
+ border: 0;
353
+ outline: none;
354
+ background: transparent;
355
+ padding: 11px 0;
356
+ color: var(--ink);
357
+ }
358
+
359
+ .popover-list {
360
+ flex: 1;
361
+ min-height: 0;
362
+ overflow-y: auto;
363
+ padding: 4px;
364
+ }
365
+
366
+ .list-group + .list-group {
367
+ margin-top: 4px;
368
+ padding-top: 4px;
369
+ border-top: 1px solid var(--line);
370
+ }
371
+
372
+ .list-group-title {
373
+ padding: 6px 10px 4px;
374
+ font-size: 11px;
375
+ font-weight: 700;
376
+ text-transform: uppercase;
377
+ letter-spacing: 0.05em;
378
+ color: var(--faint);
379
+ }
380
+
381
+ .list-group-title span {
382
+ text-transform: none;
383
+ letter-spacing: 0;
384
+ font-weight: 500;
385
+ }
386
+
387
+ .list-row {
388
+ display: flex;
389
+ align-items: center;
390
+ gap: 8px;
391
+ width: 100%;
392
+ padding: 7px 10px;
393
+ border: 0;
394
+ border-radius: 8px;
395
+ background: transparent;
396
+ text-align: left;
397
+ color: var(--ink);
398
+ cursor: pointer;
399
+ }
400
+
401
+ .list-row[data-active='true'] {
402
+ background: var(--code);
403
+ }
404
+
405
+ .list-row.selected .row-main {
406
+ font-weight: 600;
407
+ }
408
+
409
+ .row-check {
410
+ display: grid;
411
+ place-items: center;
412
+ width: 16px;
413
+ flex: none;
414
+ color: var(--accent);
415
+ }
416
+
417
+ .row-main {
418
+ flex: 1;
419
+ min-width: 0;
420
+ display: flex;
421
+ flex-direction: column;
422
+ overflow: hidden;
423
+ text-overflow: ellipsis;
424
+ white-space: nowrap;
425
+ }
426
+
427
+ .row-title {
428
+ overflow: hidden;
429
+ text-overflow: ellipsis;
430
+ }
431
+
432
+ .row-sub {
433
+ font-size: 12px;
434
+ color: var(--muted);
435
+ overflow: hidden;
436
+ text-overflow: ellipsis;
437
+ }
438
+
439
+ .row-meta {
440
+ display: flex;
441
+ align-items: center;
442
+ gap: 6px;
443
+ color: var(--faint);
444
+ font-size: 12px;
445
+ font-family: var(--mono);
446
+ }
447
+
448
+ .badge {
449
+ font-family: var(--sans);
450
+ font-size: 10px;
451
+ font-weight: 700;
452
+ letter-spacing: 0.04em;
453
+ text-transform: uppercase;
454
+ padding: 1px 6px;
455
+ border-radius: 999px;
456
+ background: var(--good-soft);
457
+ color: var(--good);
458
+ }
459
+
460
+ .popover-empty {
461
+ padding: 10px 12px;
462
+ }
463
+
464
+ .popover-foot {
465
+ display: flex;
466
+ flex-direction: column;
467
+ align-items: flex-start;
468
+ gap: 6px;
469
+ padding: 10px 12px;
470
+ border-top: 1px solid var(--line);
471
+ background: var(--bg);
472
+ }
473
+
474
+ .effort-row {
475
+ display: flex;
476
+ flex-wrap: wrap;
477
+ align-items: center;
478
+ gap: 6px 10px;
479
+ width: 100%;
480
+ }
481
+
482
+ .effort-title {
483
+ font-size: 12px;
484
+ font-weight: 600;
485
+ color: var(--muted);
486
+ }
487
+
488
+ /* The conversation switcher. */
489
+ .conversations {
490
+ flex: 1;
491
+ }
492
+
493
+ .conversation-button {
494
+ display: flex;
495
+ align-items: center;
496
+ gap: 6px;
497
+ width: 100%;
498
+ padding: 6px 10px;
499
+ border: 1px solid var(--line);
500
+ border-radius: 8px;
501
+ background: var(--raised);
502
+ font-weight: 600;
503
+ text-align: left;
504
+ }
505
+
506
+ .conversation-title {
507
+ flex: 1;
508
+ min-width: 0;
509
+ overflow: hidden;
510
+ text-overflow: ellipsis;
511
+ white-space: nowrap;
512
+ }
513
+
514
+ .conversation-popover {
515
+ width: min(380px, calc(100vw - 32px));
516
+ }
517
+
518
+ .new-row {
519
+ margin: 4px 4px 0;
520
+ width: calc(100% - 8px);
521
+ color: var(--accent);
522
+ font-weight: 600;
523
+ }
524
+
525
+ .conversation-row {
526
+ padding: 0 4px 0 0;
527
+ gap: 0;
528
+ }
529
+
530
+ .conversation-pick {
531
+ display: flex;
532
+ align-items: center;
533
+ gap: 8px;
534
+ flex: 1;
535
+ min-width: 0;
536
+ padding: 7px 10px;
537
+ border: 0;
538
+ background: transparent;
539
+ text-align: left;
540
+ }
541
+
542
+ .row-delete {
543
+ opacity: 0;
544
+ }
545
+
546
+ .conversation-row:hover .row-delete,
547
+ .conversation-row[data-active='true'] .row-delete {
548
+ opacity: 1;
549
+ }
550
+
551
+ .busy-dot {
552
+ width: 8px;
553
+ height: 8px;
554
+ border-radius: 50%;
555
+ background: var(--accent);
556
+ animation: pulse 1s ease-in-out infinite;
557
+ }
558
+
559
+ .messages {
560
+ flex: 1;
561
+ overflow-y: auto;
562
+ padding: 16px;
563
+ display: flex;
564
+ flex-direction: column;
565
+ gap: 14px;
566
+ }
567
+
568
+ .empty {
569
+ margin: auto 0;
570
+ padding: 24px 4px;
571
+ }
572
+
573
+ .empty h1 {
574
+ font-size: 26px;
575
+ line-height: 1.15;
576
+ letter-spacing: -0.02em;
577
+ margin: 0 0 8px;
578
+ }
579
+
580
+ .empty p {
581
+ color: var(--muted);
582
+ margin: 0;
583
+ max-width: 36em;
584
+ }
585
+
586
+ .message.user {
587
+ align-self: flex-end;
588
+ max-width: 88%;
589
+ background: var(--ink);
590
+ color: var(--bg);
591
+ padding: 10px 14px;
592
+ border-radius: 14px 14px 4px 14px;
593
+ }
594
+
595
+ .message.user code,
596
+ .message.user pre.code {
597
+ background: color-mix(in srgb, var(--bg) 14%, transparent);
598
+ }
599
+
600
+ .user-preview {
601
+ white-space: pre-wrap;
602
+ overflow-wrap: anywhere;
603
+ max-height: 6.5em;
604
+ overflow: hidden;
605
+ mask-image: linear-gradient(to bottom, #000 55%, transparent);
606
+ }
607
+
608
+ .message.user .user-toggle {
609
+ display: inline-flex;
610
+ align-items: center;
611
+ gap: 4px;
612
+ margin-top: 6px;
613
+ padding: 2px 6px;
614
+ font-size: 12px;
615
+ color: color-mix(in srgb, var(--bg) 70%, transparent);
616
+ }
617
+
618
+ .message.user .user-toggle:hover {
619
+ background: color-mix(in srgb, var(--bg) 14%, transparent);
620
+ color: var(--bg);
621
+ }
622
+
623
+ .message.assistant {
624
+ max-width: 100%;
625
+ }
626
+
627
+ .prose p {
628
+ margin: 0 0 8px;
629
+ white-space: pre-wrap;
630
+ overflow-wrap: anywhere;
631
+ }
632
+
633
+ .prose h4 {
634
+ margin: 4px 0 6px;
635
+ font-size: 14px;
636
+ }
637
+
638
+ .prose ul,
639
+ .prose ol {
640
+ margin: 0 0 8px;
641
+ padding-left: 22px;
642
+ }
643
+
644
+ .prose li {
645
+ white-space: pre-wrap;
646
+ overflow-wrap: anywhere;
647
+ margin-bottom: 4px;
648
+ }
649
+
650
+ .prose p:last-child,
651
+ .prose ul:last-child,
652
+ .prose ol:last-child {
653
+ margin-bottom: 0;
654
+ }
655
+
656
+ .thumbs {
657
+ display: flex;
658
+ flex-wrap: wrap;
659
+ gap: 6px;
660
+ margin-bottom: 6px;
661
+ }
662
+
663
+ .thumbs img {
664
+ height: 64px;
665
+ max-width: 120px;
666
+ object-fit: cover;
667
+ border-radius: 6px;
668
+ display: block;
669
+ }
670
+
671
+ .thumb {
672
+ padding: 0;
673
+ border: 0;
674
+ background: none;
675
+ }
676
+
677
+ .reasoning,
678
+ .tool {
679
+ margin: 6px 0;
680
+ border: 1px solid var(--line);
681
+ border-radius: 8px;
682
+ background: var(--raised);
683
+ }
684
+
685
+ .reasoning > summary,
686
+ .tool > summary {
687
+ cursor: pointer;
688
+ padding: 6px 10px;
689
+ display: flex;
690
+ align-items: center;
691
+ gap: 8px;
692
+ font-size: 13px;
693
+ color: var(--muted);
694
+ list-style: none;
695
+ }
696
+
697
+ .reasoning > summary::-webkit-details-marker,
698
+ .tool > summary::-webkit-details-marker {
699
+ display: none;
700
+ }
701
+
702
+ .reasoning .prose,
703
+ .tool > pre,
704
+ .tool > p {
705
+ margin: 0 10px 10px;
706
+ color: var(--muted);
707
+ }
708
+
709
+ .tool-dot {
710
+ width: 7px;
711
+ height: 7px;
712
+ border-radius: 50%;
713
+ background: var(--faint);
714
+ flex: none;
715
+ }
716
+
717
+ .tool-running .tool-dot,
718
+ .tool-streaming .tool-dot {
719
+ background: var(--accent);
720
+ animation: pulse 1s ease-in-out infinite;
721
+ }
722
+
723
+ .tool-completed .tool-dot {
724
+ background: var(--good);
725
+ }
726
+
727
+ .tool-error .tool-dot {
728
+ background: var(--bad);
729
+ }
730
+
731
+ .tool-name {
732
+ font-family: var(--mono);
733
+ font-size: 12.5px;
734
+ color: var(--ink);
735
+ }
736
+
737
+ .tool-subject {
738
+ overflow: hidden;
739
+ text-overflow: ellipsis;
740
+ white-space: nowrap;
741
+ font-family: var(--mono);
742
+ font-size: 12px;
743
+ }
744
+
745
+ .tool-error {
746
+ color: var(--bad);
747
+ }
748
+
749
+ .tool-output {
750
+ max-height: 260px;
751
+ overflow: auto;
752
+ }
753
+
754
+ .note {
755
+ font-size: 13px;
756
+ color: var(--muted);
757
+ margin: 0;
758
+ }
759
+
760
+ .note.error {
761
+ color: var(--bad);
762
+ background: var(--bad-soft);
763
+ padding: 8px 12px;
764
+ border-radius: 8px;
765
+ }
766
+
767
+ .toast {
768
+ margin: 0 16px 8px;
769
+ cursor: pointer;
770
+ }
771
+
772
+ .divider {
773
+ align-self: center;
774
+ font-size: 12px;
775
+ color: var(--faint);
776
+ }
777
+
778
+ .working {
779
+ display: flex;
780
+ align-items: center;
781
+ gap: 4px;
782
+ color: var(--muted);
783
+ font-size: 13px;
784
+ }
785
+
786
+ .working span {
787
+ width: 5px;
788
+ height: 5px;
789
+ border-radius: 50%;
790
+ background: var(--accent);
791
+ animation: pulse 1s ease-in-out infinite;
792
+ }
793
+
794
+ .working span:nth-child(2) {
795
+ animation-delay: 0.15s;
796
+ }
797
+
798
+ .working span:nth-child(3) {
799
+ animation-delay: 0.3s;
800
+ margin-right: 4px;
801
+ }
802
+
803
+ @keyframes pulse {
804
+ 50% {
805
+ opacity: 0.25;
806
+ }
807
+ }
808
+
809
+ .permission {
810
+ border: 1px solid var(--accent);
811
+ background: var(--accent-soft);
812
+ border-radius: 10px;
813
+ padding: 12px;
814
+ }
815
+
816
+ .permission-head {
817
+ display: flex;
818
+ flex-direction: column;
819
+ gap: 2px;
820
+ }
821
+
822
+ .permission-head span {
823
+ color: var(--muted);
824
+ font-size: 13px;
825
+ }
826
+
827
+ .permission-actions,
828
+ .exception-actions {
829
+ display: flex;
830
+ gap: 6px;
831
+ flex-wrap: wrap;
832
+ margin-top: 8px;
833
+ }
834
+
835
+ .exception {
836
+ margin: 0 16px 10px;
837
+ padding: 10px 12px;
838
+ border-radius: 10px;
839
+ background: var(--bad-soft);
840
+ border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent);
841
+ display: flex;
842
+ flex-direction: column;
843
+ gap: 4px;
844
+ }
845
+
846
+ .exception strong {
847
+ color: var(--bad);
848
+ margin-right: 6px;
849
+ }
850
+
851
+ .exception span {
852
+ overflow-wrap: anywhere;
853
+ }
854
+
855
+ /* The message box: a card with its attachments, the text, and a bar of controls. */
856
+ .composer {
857
+ position: relative;
858
+ margin: 0 12px 12px;
859
+ border: 1px solid var(--line);
860
+ border-radius: 14px;
861
+ background: var(--raised);
862
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
863
+ transition: border-color 0.15s;
864
+ }
865
+
866
+ .composer:focus-within {
867
+ border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
868
+ }
869
+
870
+ .composer-grip {
871
+ position: absolute;
872
+ top: -5px;
873
+ left: 50%;
874
+ width: 44px;
875
+ height: 10px;
876
+ margin-left: -22px;
877
+ cursor: ns-resize;
878
+ touch-action: none;
879
+ }
880
+
881
+ .composer-grip::after {
882
+ content: '';
883
+ position: absolute;
884
+ top: 3px;
885
+ left: 8px;
886
+ right: 8px;
887
+ height: 4px;
888
+ border-radius: 2px;
889
+ background: var(--line);
890
+ opacity: 0;
891
+ transition: opacity 0.15s;
892
+ }
893
+
894
+ .composer:hover .composer-grip::after,
895
+ .composer-grip:active::after {
896
+ opacity: 1;
897
+ }
898
+
899
+ .attachments {
900
+ display: flex;
901
+ flex-wrap: wrap;
902
+ gap: 6px;
903
+ padding: 10px 10px 0;
904
+ }
905
+
906
+ .attachment {
907
+ display: inline-flex;
908
+ align-items: center;
909
+ gap: 6px;
910
+ max-width: 100%;
911
+ height: 30px;
912
+ padding: 0 4px 0 6px;
913
+ border: 1px solid var(--line);
914
+ border-radius: 8px;
915
+ background: var(--bg);
916
+ font-size: 12.5px;
917
+ }
918
+
919
+ .attachment img {
920
+ width: 22px;
921
+ height: 22px;
922
+ object-fit: cover;
923
+ border-radius: 4px;
924
+ }
925
+
926
+ .attachment .icon {
927
+ color: var(--muted);
928
+ }
929
+
930
+ .attachment-name {
931
+ overflow: hidden;
932
+ text-overflow: ellipsis;
933
+ white-space: nowrap;
934
+ max-width: 220px;
935
+ font-family: var(--mono);
936
+ font-size: 12px;
937
+ }
938
+
939
+ .attachment-size {
940
+ color: var(--faint);
941
+ font-size: 11px;
942
+ }
943
+
944
+ .attachment .icon-button {
945
+ width: 22px;
946
+ height: 22px;
947
+ }
948
+
949
+ .attachment.blocked {
950
+ border-color: color-mix(in srgb, var(--bad) 50%, var(--line));
951
+ }
952
+
953
+ .attachment-warning {
954
+ color: var(--bad) !important;
955
+ }
956
+
957
+ .composer-field textarea {
958
+ display: block;
959
+ width: 100%;
960
+ min-height: 72px;
961
+ resize: none;
962
+ border: 0;
963
+ outline: none;
964
+ padding: 12px 14px 4px;
965
+ background: transparent;
966
+ line-height: 1.5;
967
+ overflow-y: auto;
968
+ }
969
+
970
+ .composer-bar {
971
+ display: flex;
972
+ align-items: center;
973
+ gap: 6px;
974
+ padding: 6px 8px 8px;
975
+ }
976
+
977
+ .composer-spacer {
978
+ flex: 1;
979
+ }
980
+
981
+ /* The model chip gives way first when the column is narrow: the send button always shows. Its popover opens from
982
+ the bar's right edge, so it stays inside the column. */
983
+ .composer-bar {
984
+ position: relative;
985
+ }
986
+
987
+ .model-anchor {
988
+ position: static;
989
+ flex: 0 1 auto;
990
+ min-width: 0;
991
+ }
992
+
993
+ .model-anchor .popover.above-end {
994
+ right: 4px;
995
+ }
996
+
997
+ .model-chip {
998
+ max-width: 100%;
999
+ }
1000
+
1001
+ .composer-bar .agent-switch,
1002
+ .composer-bar > .anchor:first-child {
1003
+ flex: none;
1004
+ }
1005
+
1006
+ /* A narrow chat column: tighter controls, so the model's name still reads. */
1007
+ /* The context meter: a ring that fills, beside the model. */
1008
+ .usage-anchor {
1009
+ position: static;
1010
+ flex: none;
1011
+ }
1012
+
1013
+ .usage-anchor .popover.above-end {
1014
+ right: 4px;
1015
+ }
1016
+
1017
+ .usage-chip {
1018
+ gap: 5px;
1019
+ padding: 0 8px 0 6px;
1020
+ font-family: var(--mono);
1021
+ font-size: 11.5px;
1022
+ }
1023
+
1024
+ .usage-ring circle {
1025
+ fill: none;
1026
+ stroke-width: 2.5;
1027
+ }
1028
+
1029
+ .usage-track {
1030
+ stroke: var(--line);
1031
+ }
1032
+
1033
+ .usage-fill {
1034
+ stroke: var(--muted);
1035
+ stroke-linecap: round;
1036
+ }
1037
+
1038
+ .usage-chip.full {
1039
+ color: var(--accent);
1040
+ border-color: color-mix(in srgb, var(--accent) 45%, transparent);
1041
+ }
1042
+
1043
+ .usage-chip.full .usage-fill {
1044
+ stroke: var(--accent);
1045
+ }
1046
+
1047
+ .usage-popover {
1048
+ width: min(340px, calc(100% - 8px));
1049
+ }
1050
+
1051
+ .usage-body {
1052
+ display: flex;
1053
+ flex-direction: column;
1054
+ gap: 10px;
1055
+ padding: 14px;
1056
+ }
1057
+
1058
+ .usage-head {
1059
+ display: flex;
1060
+ justify-content: space-between;
1061
+ align-items: baseline;
1062
+ gap: 12px;
1063
+ }
1064
+
1065
+ .usage-head span {
1066
+ font-family: var(--mono);
1067
+ font-size: 12.5px;
1068
+ color: var(--muted);
1069
+ }
1070
+
1071
+ .usage-bar {
1072
+ height: 6px;
1073
+ border-radius: 999px;
1074
+ background: var(--code);
1075
+ overflow: hidden;
1076
+ }
1077
+
1078
+ .usage-bar span {
1079
+ display: block;
1080
+ height: 100%;
1081
+ border-radius: inherit;
1082
+ background: var(--muted);
1083
+ }
1084
+
1085
+ .usage-bar.full span {
1086
+ background: var(--accent);
1087
+ }
1088
+
1089
+ .usage-rows {
1090
+ display: grid;
1091
+ grid-template-columns: auto 1fr;
1092
+ gap: 4px 12px;
1093
+ margin: 0;
1094
+ font-size: 12.5px;
1095
+ }
1096
+
1097
+ .usage-rows dt {
1098
+ color: var(--muted);
1099
+ }
1100
+
1101
+ .usage-rows dd {
1102
+ margin: 0;
1103
+ font-family: var(--mono);
1104
+ font-size: 12px;
1105
+ }
1106
+
1107
+ .usage-body .hint {
1108
+ font-size: 12.5px;
1109
+ }
1110
+
1111
+ .usage-body > button {
1112
+ display: inline-flex;
1113
+ align-items: center;
1114
+ justify-content: center;
1115
+ gap: 6px;
1116
+ }
1117
+
1118
+ /* Undo: under the last turn, and the note while a turn is undone. */
1119
+ .turn-actions {
1120
+ display: flex;
1121
+ justify-content: flex-start;
1122
+ margin-top: -6px;
1123
+ }
1124
+
1125
+ .turn-actions .ghost {
1126
+ display: inline-flex;
1127
+ align-items: center;
1128
+ gap: 6px;
1129
+ font-size: 12.5px;
1130
+ }
1131
+
1132
+ .undone {
1133
+ display: flex;
1134
+ align-items: flex-start;
1135
+ gap: 10px;
1136
+ padding: 10px 12px;
1137
+ border: 1px dashed var(--line);
1138
+ border-radius: 10px;
1139
+ background: var(--panel);
1140
+ }
1141
+
1142
+ .undone > .icon {
1143
+ flex: none;
1144
+ margin-top: 2px;
1145
+ color: var(--accent);
1146
+ }
1147
+
1148
+ .undone-text {
1149
+ flex: 1;
1150
+ display: flex;
1151
+ flex-direction: column;
1152
+ gap: 2px;
1153
+ font-size: 13px;
1154
+ }
1155
+
1156
+ .undone-text span {
1157
+ color: var(--muted);
1158
+ }
1159
+
1160
+ .undone > button {
1161
+ flex: none;
1162
+ display: inline-flex;
1163
+ align-items: center;
1164
+ gap: 6px;
1165
+ }
1166
+
1167
+ /* The bell, when notifications are on. */
1168
+ .icon-button.on {
1169
+ color: var(--accent);
1170
+ }
1171
+
1172
+ @container (max-width: 420px) {
1173
+ .composer-bar {
1174
+ gap: 4px;
1175
+ }
1176
+
1177
+ /* The bar is full here: the meter is its ring alone, the model's chevron goes (the chip still opens). */
1178
+ .usage-chip .chip-text,
1179
+ .model-chip > .icon:last-child {
1180
+ display: none;
1181
+ }
1182
+
1183
+ .usage-chip:not(.full):not(:hover):not(.open) {
1184
+ border-color: transparent;
1185
+ background: transparent;
1186
+ }
1187
+
1188
+ .usage-chip {
1189
+ padding: 0 4px;
1190
+ }
1191
+
1192
+ .agent-switch button {
1193
+ padding: 4px 9px;
1194
+ }
1195
+
1196
+ .model-chip > .icon:first-child {
1197
+ display: none;
1198
+ }
1199
+
1200
+ .model-chip {
1201
+ padding: 0 8px;
1202
+ }
1203
+ }
1204
+
1205
+ /* Popovers in the chat take its width at most (a narrow window). */
1206
+ .chat .popover {
1207
+ max-width: calc(100cqw - 24px);
1208
+ }
1209
+
1210
+ .send-button {
1211
+ display: grid;
1212
+ place-items: center;
1213
+ width: 32px;
1214
+ height: 32px;
1215
+ flex: none;
1216
+ padding: 0;
1217
+ border: 0;
1218
+ border-radius: 50%;
1219
+ background: var(--accent);
1220
+ color: var(--accent-ink);
1221
+ }
1222
+
1223
+ .send-button:disabled {
1224
+ background: var(--line);
1225
+ color: var(--faint);
1226
+ opacity: 1;
1227
+ }
1228
+
1229
+ .send-button.stop {
1230
+ background: var(--ink);
1231
+ color: var(--bg);
1232
+ }
1233
+
1234
+ .segmented {
1235
+ display: inline-flex;
1236
+ padding: 2px;
1237
+ gap: 2px;
1238
+ border: 1px solid var(--line);
1239
+ border-radius: 999px;
1240
+ background: var(--bg);
1241
+ }
1242
+
1243
+ .segmented button {
1244
+ border: 0;
1245
+ border-radius: 999px;
1246
+ padding: 4px 12px;
1247
+ color: var(--muted);
1248
+ background: transparent;
1249
+ font-size: 13px;
1250
+ font-weight: 600;
1251
+ }
1252
+
1253
+ .segmented button:hover:not(.on) {
1254
+ color: var(--ink);
1255
+ }
1256
+
1257
+ .segmented button.on {
1258
+ background: var(--ink);
1259
+ color: var(--bg);
1260
+ }
1261
+
1262
+ .segmented.small button {
1263
+ padding: 3px 9px;
1264
+ font-size: 12px;
1265
+ }
1266
+
1267
+ /* Build changes the code (the accent), Plan only talks (blue). */
1268
+ .agent-switch button.on.agent-build {
1269
+ background: var(--accent);
1270
+ color: var(--accent-ink);
1271
+ }
1272
+
1273
+ .agent-switch button.on.agent-plan {
1274
+ background: var(--plan);
1275
+ color: #fff;
1276
+ }
1277
+
1278
+ .attach-menu {
1279
+ width: 320px;
1280
+ }
1281
+
1282
+ .mention-popover {
1283
+ width: min(420px, calc(100% - 8px));
1284
+ max-height: 280px;
1285
+ }
1286
+
1287
+ .mention-popover .row-main {
1288
+ font-family: var(--mono);
1289
+ font-size: 12.5px;
1290
+ }
1291
+
1292
+ /* The `/` picker: commands and skills, each skill with where it comes from. */
1293
+ .slash-popover {
1294
+ width: min(460px, calc(100% - 8px));
1295
+ max-height: 360px;
1296
+ }
1297
+
1298
+ .slash-popover .row-main {
1299
+ font-family: var(--sans);
1300
+ font-size: 13px;
1301
+ }
1302
+
1303
+ .slash-token {
1304
+ font-family: var(--mono);
1305
+ font-size: 12.5px;
1306
+ font-weight: 600;
1307
+ }
1308
+
1309
+ .slash-origin {
1310
+ flex: none;
1311
+ font-size: 11px;
1312
+ padding: 1px 7px;
1313
+ border-radius: 999px;
1314
+ border: 1px solid var(--line);
1315
+ color: var(--muted);
1316
+ }
1317
+
1318
+ .slash-origin.origin-project,
1319
+ .slash-origin.origin-repo {
1320
+ border-color: color-mix(in srgb, var(--accent) 40%, transparent);
1321
+ color: var(--accent);
1322
+ }
1323
+
1324
+ .slash-foot {
1325
+ padding: 8px 12px;
1326
+ border-top: 1px solid var(--line);
1327
+ font-size: 11.5px;
1328
+ color: var(--faint);
1329
+ line-height: 1.4;
1330
+ }
1331
+
1332
+ /* Files dropped on the chat. */
1333
+ .drop-overlay {
1334
+ position: absolute;
1335
+ inset: 8px;
1336
+ z-index: 30;
1337
+ display: flex;
1338
+ flex-direction: column;
1339
+ align-items: center;
1340
+ justify-content: center;
1341
+ gap: 10px;
1342
+ border: 2px dashed var(--accent);
1343
+ border-radius: 14px;
1344
+ background: color-mix(in srgb, var(--panel) 88%, transparent);
1345
+ color: var(--accent);
1346
+ font-weight: 600;
1347
+ pointer-events: none;
1348
+ }
1349
+
1350
+ .sent-file {
1351
+ display: inline-flex;
1352
+ align-items: center;
1353
+ gap: 5px;
1354
+ height: 26px;
1355
+ padding: 0 8px;
1356
+ border-radius: 6px;
1357
+ background: color-mix(in srgb, var(--bg) 16%, transparent);
1358
+ font-family: var(--mono);
1359
+ font-size: 12px;
1360
+ }
1361
+
1362
+ /* The stage: the preview of the app and the changes. */
1363
+ .stage {
1364
+ position: relative;
1365
+ display: flex;
1366
+ flex-direction: column;
1367
+ min-width: 0;
1368
+ min-height: 0;
1369
+ overflow: hidden;
1370
+ }
1371
+
1372
+ .tabs {
1373
+ display: flex;
1374
+ align-items: center;
1375
+ gap: 4px;
1376
+ overflow-x: auto;
1377
+ padding: 10px 14px;
1378
+ border-bottom: 1px solid var(--line);
1379
+ }
1380
+
1381
+ .tabs > button {
1382
+ border: 0;
1383
+ background: transparent;
1384
+ color: var(--muted);
1385
+ font-weight: 600;
1386
+ display: inline-flex;
1387
+ align-items: center;
1388
+ gap: 6px;
1389
+ }
1390
+
1391
+ .tabs > button.on {
1392
+ color: var(--ink);
1393
+ background: var(--raised);
1394
+ box-shadow: 0 0 0 1px var(--line);
1395
+ }
1396
+
1397
+ .count {
1398
+ font-size: 11px;
1399
+ background: var(--accent);
1400
+ color: var(--accent-ink);
1401
+ border-radius: 999px;
1402
+ padding: 0 6px;
1403
+ }
1404
+
1405
+ .address {
1406
+ margin-left: auto;
1407
+ display: flex;
1408
+ align-items: center;
1409
+ gap: 2px;
1410
+ flex: 1;
1411
+ min-width: 110px;
1412
+ max-width: 420px;
1413
+ }
1414
+
1415
+ .address input {
1416
+ flex: 1;
1417
+ min-width: 0;
1418
+ padding: 5px 10px;
1419
+ border-radius: 8px;
1420
+ border: 1px solid var(--line);
1421
+ background: var(--raised);
1422
+ font-family: var(--mono);
1423
+ font-size: 12.5px;
1424
+ }
1425
+
1426
+ .preview {
1427
+ flex: 1;
1428
+ border: 0;
1429
+ width: 100%;
1430
+ background: #fff;
1431
+ }
1432
+
1433
+ .hint {
1434
+ color: var(--muted);
1435
+ margin: 0;
1436
+ }
1437
+
1438
+ /* Changes: the files on the left, the diff of the one picked on the right. */
1439
+ .changes {
1440
+ flex: 1;
1441
+ min-height: 0;
1442
+ display: flex;
1443
+ flex-direction: column;
1444
+ }
1445
+
1446
+ .changes-head {
1447
+ display: flex;
1448
+ align-items: center;
1449
+ gap: 12px;
1450
+ padding: 10px 14px;
1451
+ border-bottom: 1px solid var(--line);
1452
+ }
1453
+
1454
+ .changes-total {
1455
+ margin-left: auto;
1456
+ font-size: 12.5px;
1457
+ color: var(--muted);
1458
+ font-family: var(--mono);
1459
+ }
1460
+
1461
+ .changes-empty {
1462
+ padding: 24px 16px;
1463
+ }
1464
+
1465
+ .changes .note {
1466
+ margin: 12px 14px 0;
1467
+ }
1468
+
1469
+ .changes .note.good {
1470
+ display: flex;
1471
+ align-items: center;
1472
+ gap: 6px;
1473
+ padding: 8px 12px;
1474
+ border-radius: 8px;
1475
+ background: var(--good-soft);
1476
+ color: var(--good);
1477
+ font-family: var(--mono);
1478
+ font-size: 12.5px;
1479
+ cursor: pointer;
1480
+ }
1481
+
1482
+ .changes-title {
1483
+ font-weight: 600;
1484
+ }
1485
+
1486
+ .commit-start {
1487
+ display: inline-flex;
1488
+ align-items: center;
1489
+ gap: 6px;
1490
+ }
1491
+
1492
+ /* A commit: its review running, then the review, the message and what to do. */
1493
+ .commit {
1494
+ display: flex;
1495
+ flex-direction: column;
1496
+ gap: 10px;
1497
+ max-height: 60%;
1498
+ padding: 12px 14px;
1499
+ border-bottom: 1px solid var(--line);
1500
+ background: var(--panel);
1501
+ }
1502
+
1503
+ .commit .note {
1504
+ margin: 0;
1505
+ }
1506
+
1507
+ .commit-row {
1508
+ display: flex;
1509
+ align-items: center;
1510
+ gap: 10px;
1511
+ flex-wrap: wrap;
1512
+ }
1513
+
1514
+ .commit-row > .icon {
1515
+ color: var(--accent);
1516
+ flex: none;
1517
+ }
1518
+
1519
+ .commit-text {
1520
+ flex: 1;
1521
+ min-width: 200px;
1522
+ display: flex;
1523
+ align-items: baseline;
1524
+ gap: 8px;
1525
+ flex-wrap: wrap;
1526
+ }
1527
+
1528
+ .muted {
1529
+ color: var(--muted);
1530
+ font-size: 13px;
1531
+ }
1532
+
1533
+ .commit-badge {
1534
+ font-size: 12px;
1535
+ padding: 2px 8px;
1536
+ border-radius: 999px;
1537
+ background: var(--accent-soft);
1538
+ color: var(--accent);
1539
+ }
1540
+
1541
+ .spinner {
1542
+ width: 16px;
1543
+ height: 16px;
1544
+ flex: none;
1545
+ border: 2px solid var(--line);
1546
+ border-top-color: var(--accent);
1547
+ border-radius: 50%;
1548
+ animation: spin 0.8s linear infinite;
1549
+ }
1550
+
1551
+ @keyframes spin {
1552
+ to {
1553
+ transform: rotate(360deg);
1554
+ }
1555
+ }
1556
+
1557
+ .review-summary {
1558
+ min-height: 60px;
1559
+ overflow-y: auto;
1560
+ padding: 2px 12px;
1561
+ border-left: 3px solid var(--accent);
1562
+ background: var(--raised);
1563
+ border-radius: 0 8px 8px 0;
1564
+ font-size: 13.5px;
1565
+ }
1566
+
1567
+ .commit-label {
1568
+ display: flex;
1569
+ align-items: center;
1570
+ justify-content: space-between;
1571
+ font-size: 13px;
1572
+ font-weight: 600;
1573
+ }
1574
+
1575
+ .commit-label .ghost,
1576
+ .commit-actions button {
1577
+ display: inline-flex;
1578
+ align-items: center;
1579
+ gap: 6px;
1580
+ }
1581
+
1582
+ .commit-message {
1583
+ width: 100%;
1584
+ resize: vertical;
1585
+ min-height: 44px;
1586
+ padding: 8px 10px;
1587
+ border: 1px solid var(--line);
1588
+ border-radius: 8px;
1589
+ background: var(--raised);
1590
+ font-family: var(--mono);
1591
+ font-size: 13px;
1592
+ }
1593
+
1594
+ .commit-message:focus {
1595
+ outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
1596
+ border-color: var(--accent);
1597
+ }
1598
+
1599
+ .commit-actions {
1600
+ display: flex;
1601
+ justify-content: flex-end;
1602
+ gap: 8px;
1603
+ flex-wrap: wrap;
1604
+ }
1605
+
1606
+ .changes-body {
1607
+ flex: 1;
1608
+ min-height: 0;
1609
+ display: grid;
1610
+ grid-template-columns: var(--list-width, minmax(220px, 30%)) 1fr;
1611
+ }
1612
+
1613
+ .changes-list {
1614
+ position: relative;
1615
+ min-height: 0;
1616
+ display: flex;
1617
+ flex-direction: column;
1618
+ border-right: 1px solid var(--line);
1619
+ }
1620
+
1621
+ .changed-files {
1622
+ flex: 1;
1623
+ list-style: none;
1624
+ margin: 0;
1625
+ padding: 6px;
1626
+ overflow-y: auto;
1627
+ }
1628
+
1629
+ .changed-file {
1630
+ display: flex;
1631
+ align-items: center;
1632
+ gap: 8px;
1633
+ width: 100%;
1634
+ padding: 6px 8px;
1635
+ border: 0;
1636
+ border-radius: 6px;
1637
+ background: transparent;
1638
+ text-align: left;
1639
+ }
1640
+
1641
+ .changed-file:hover {
1642
+ background: var(--code);
1643
+ }
1644
+
1645
+ .changed-file.on {
1646
+ background: var(--accent-soft);
1647
+ }
1648
+
1649
+ .status-letter {
1650
+ width: 16px;
1651
+ flex: none;
1652
+ font-family: var(--mono);
1653
+ font-size: 12px;
1654
+ font-weight: 700;
1655
+ text-align: center;
1656
+ color: #b7791f;
1657
+ }
1658
+
1659
+ .status-letter.added {
1660
+ color: var(--good);
1661
+ }
1662
+
1663
+ .status-letter.deleted {
1664
+ color: var(--bad);
1665
+ }
1666
+
1667
+ .changed-name {
1668
+ flex: 1;
1669
+ min-width: 0;
1670
+ overflow: hidden;
1671
+ text-overflow: ellipsis;
1672
+ white-space: nowrap;
1673
+ direction: rtl;
1674
+ text-align: left;
1675
+ font-family: var(--mono);
1676
+ font-size: 12.5px;
1677
+ }
1678
+
1679
+ .changed-count {
1680
+ flex: none;
1681
+ font-family: var(--mono);
1682
+ font-size: 11.5px;
1683
+ }
1684
+
1685
+ .diff-pane {
1686
+ min-width: 0;
1687
+ min-height: 0;
1688
+ display: flex;
1689
+ flex-direction: column;
1690
+ background: var(--raised);
1691
+ }
1692
+
1693
+ .diff-pane-head {
1694
+ padding: 8px 14px;
1695
+ border-bottom: 1px solid var(--line);
1696
+ font-family: var(--mono);
1697
+ font-size: 12.5px;
1698
+ color: var(--muted);
1699
+ }
1700
+
1701
+ .git-chip {
1702
+ margin-left: 8px;
1703
+ flex: none;
1704
+ }
1705
+
1706
+ /* The forge: a chip beside the branch. Its popover hangs from the stage, under the tabs (which scroll, and would cut
1707
+ it). */
1708
+ .forge-anchor {
1709
+ position: static;
1710
+ flex: none;
1711
+ }
1712
+
1713
+ .forge-anchor .popover.below-end {
1714
+ top: 52px;
1715
+ right: 12px;
1716
+ }
1717
+
1718
+ .forge-chip {
1719
+ gap: 6px;
1720
+ }
1721
+
1722
+ /* A narrower stage: the chips say less (their tooltips say it all), the tabs stay in view. */
1723
+ @media (max-width: 1280px) {
1724
+ .forge-chip .forge-action,
1725
+ .git-chip .chip-count {
1726
+ display: none;
1727
+ }
1728
+
1729
+ .forge-chip.attention {
1730
+ border-color: color-mix(in srgb, var(--accent) 55%, transparent);
1731
+ }
1732
+
1733
+ .tabs {
1734
+ gap: 2px;
1735
+ padding: 10px 10px;
1736
+ }
1737
+
1738
+ .tabs > button {
1739
+ padding: 6px 8px;
1740
+ }
1741
+
1742
+ .address {
1743
+ min-width: 90px;
1744
+ }
1745
+
1746
+ .git-chip {
1747
+ margin-left: 4px;
1748
+ }
1749
+ }
1750
+
1751
+ .forge-chip .forge-action {
1752
+ background: var(--accent-soft);
1753
+ color: var(--accent);
1754
+ }
1755
+
1756
+ .forge-dot {
1757
+ display: inline-block;
1758
+ width: 8px;
1759
+ height: 8px;
1760
+ flex: none;
1761
+ border-radius: 50%;
1762
+ background: var(--faint);
1763
+ }
1764
+
1765
+ .forge-dot.good {
1766
+ background: var(--good);
1767
+ }
1768
+
1769
+ .forge-dot.bad {
1770
+ background: var(--bad);
1771
+ }
1772
+
1773
+ .forge-dot.busy {
1774
+ background: var(--accent);
1775
+ animation: pulse 1.2s ease-in-out infinite;
1776
+ }
1777
+
1778
+ .forge-popover {
1779
+ width: min(380px, calc(100% - 24px));
1780
+ }
1781
+
1782
+ .forge-body {
1783
+ display: flex;
1784
+ flex-direction: column;
1785
+ gap: 10px;
1786
+ padding: 14px;
1787
+ }
1788
+
1789
+ .forge-head {
1790
+ display: flex;
1791
+ align-items: baseline;
1792
+ justify-content: space-between;
1793
+ gap: 12px;
1794
+ }
1795
+
1796
+ .forge-link {
1797
+ display: inline-flex;
1798
+ align-items: center;
1799
+ gap: 4px;
1800
+ min-width: 0;
1801
+ overflow: hidden;
1802
+ text-overflow: ellipsis;
1803
+ white-space: nowrap;
1804
+ font-size: 12.5px;
1805
+ color: var(--muted);
1806
+ text-decoration: none;
1807
+ }
1808
+
1809
+ .forge-link:hover {
1810
+ color: var(--ink);
1811
+ }
1812
+
1813
+ .forge-origin {
1814
+ font-size: 11.5px;
1815
+ color: var(--faint);
1816
+ overflow-wrap: anywhere;
1817
+ }
1818
+
1819
+ .forge-status {
1820
+ display: flex;
1821
+ align-items: center;
1822
+ gap: 8px;
1823
+ margin: 0;
1824
+ font-weight: 600;
1825
+ }
1826
+
1827
+ .forge-status.good {
1828
+ color: var(--good);
1829
+ }
1830
+
1831
+ .forge-status.bad {
1832
+ color: var(--bad);
1833
+ }
1834
+
1835
+ .forge-body .hint {
1836
+ font-size: 13px;
1837
+ }
1838
+
1839
+ .forge-body .hint.small {
1840
+ font-size: 12px;
1841
+ color: var(--faint);
1842
+ }
1843
+
1844
+ .forge-steps {
1845
+ margin: 0;
1846
+ padding-left: 20px;
1847
+ font-size: 13px;
1848
+ color: var(--muted);
1849
+ }
1850
+
1851
+ .forge-steps li {
1852
+ margin-bottom: 4px;
1853
+ }
1854
+
1855
+ .forge-steps .text-button {
1856
+ padding: 0;
1857
+ color: var(--accent);
1858
+ text-decoration: underline;
1859
+ }
1860
+
1861
+ .forge-actions {
1862
+ display: flex;
1863
+ justify-content: flex-end;
1864
+ gap: 8px;
1865
+ }
1866
+
1867
+ .forge-actions button {
1868
+ display: inline-flex;
1869
+ align-items: center;
1870
+ gap: 6px;
1871
+ }
1872
+
1873
+ .diff-body {
1874
+ flex: 1;
1875
+ margin: 0;
1876
+ padding: 8px 0;
1877
+ overflow: auto;
1878
+ font-size: 12.5px;
1879
+ }
1880
+
1881
+ .diff-body span {
1882
+ display: block;
1883
+ padding: 0 12px;
1884
+ white-space: pre;
1885
+ }
1886
+
1887
+ .add {
1888
+ color: var(--good);
1889
+ }
1890
+
1891
+ .del {
1892
+ color: var(--bad);
1893
+ }
1894
+
1895
+ .diff-body .add {
1896
+ background: var(--good-soft);
1897
+ }
1898
+
1899
+ .diff-body .del {
1900
+ background: var(--bad-soft);
1901
+ }
1902
+
1903
+ .diff-body .hunk {
1904
+ color: var(--faint);
1905
+ }
1906
+
1907
+ /* Dividers dragged to resize the pane on their left. */
1908
+ .splitter {
1909
+ position: absolute;
1910
+ top: 0;
1911
+ bottom: 0;
1912
+ right: -4px;
1913
+ z-index: 15;
1914
+ width: 8px;
1915
+ cursor: col-resize;
1916
+ touch-action: none;
1917
+ }
1918
+
1919
+ .splitter::after {
1920
+ content: "";
1921
+ position: absolute;
1922
+ top: 0;
1923
+ bottom: 0;
1924
+ left: 3px;
1925
+ width: 2px;
1926
+ background: var(--accent);
1927
+ opacity: 0;
1928
+ transition: opacity 0.12s;
1929
+ }
1930
+
1931
+ .splitter:hover::after,
1932
+ body.resizing .splitter::after {
1933
+ opacity: 0.7;
1934
+ }
1935
+
1936
+ body.resizing {
1937
+ cursor: col-resize;
1938
+ user-select: none;
1939
+ }
1940
+
1941
+ /* The preview would take the pointer while it crosses it. */
1942
+ body.resizing iframe {
1943
+ pointer-events: none;
1944
+ }
1945
+
1946
+ /* Panels kept while hidden: a file being edited, a running shell. */
1947
+ .panel {
1948
+ flex: 1;
1949
+ min-height: 0;
1950
+ display: flex;
1951
+ }
1952
+
1953
+ .panel > * {
1954
+ flex: 1;
1955
+ min-width: 0;
1956
+ }
1957
+
1958
+ .hidden {
1959
+ display: none;
1960
+ }
1961
+
1962
+ /* Code: the tree and the editor. */
1963
+ .code {
1964
+ display: grid;
1965
+ grid-template-columns: var(--tree-width, minmax(200px, 26%)) 1fr;
1966
+ min-height: 0;
1967
+ }
1968
+
1969
+ .files {
1970
+ position: relative;
1971
+ display: flex;
1972
+ flex-direction: column;
1973
+ min-height: 0;
1974
+ border-right: 1px solid var(--line);
1975
+ }
1976
+
1977
+ .file-search {
1978
+ margin: 10px;
1979
+ padding: 6px 10px;
1980
+ border-radius: 8px;
1981
+ border: 1px solid var(--line);
1982
+ background: var(--raised);
1983
+ }
1984
+
1985
+ .tree {
1986
+ flex: 1;
1987
+ overflow: auto;
1988
+ padding: 0 4px 12px;
1989
+ }
1990
+
1991
+ .tree .hint {
1992
+ padding: 4px 10px;
1993
+ }
1994
+
1995
+ .tree-item {
1996
+ display: flex;
1997
+ align-items: center;
1998
+ gap: 4px;
1999
+ width: 100%;
2000
+ border: 0;
2001
+ border-radius: 6px;
2002
+ background: transparent;
2003
+ padding: 3px 8px;
2004
+ text-align: left;
2005
+ font-family: var(--mono);
2006
+ font-size: 12.5px;
2007
+ white-space: nowrap;
2008
+ overflow: hidden;
2009
+ text-overflow: ellipsis;
2010
+ }
2011
+
2012
+ .tree-item:hover {
2013
+ background: var(--code);
2014
+ }
2015
+
2016
+ .tree-item.on {
2017
+ background: var(--accent-soft);
2018
+ color: var(--ink);
2019
+ }
2020
+
2021
+ .tree-item.folder {
2022
+ color: var(--muted);
2023
+ }
2024
+
2025
+ .caret {
2026
+ color: var(--faint);
2027
+ }
2028
+
2029
+ .editor {
2030
+ display: flex;
2031
+ flex-direction: column;
2032
+ min-width: 0;
2033
+ min-height: 0;
2034
+ }
2035
+
2036
+ .editor-head {
2037
+ display: flex;
2038
+ align-items: center;
2039
+ gap: 8px;
2040
+ padding: 8px 12px;
2041
+ border-bottom: 1px solid var(--line);
2042
+ }
2043
+
2044
+ .editor-path {
2045
+ flex: 1;
2046
+ font-family: var(--mono);
2047
+ font-size: 12.5px;
2048
+ overflow: hidden;
2049
+ text-overflow: ellipsis;
2050
+ white-space: nowrap;
2051
+ }
2052
+
2053
+ .dirty {
2054
+ display: inline-block;
2055
+ width: 7px;
2056
+ height: 7px;
2057
+ margin-left: 8px;
2058
+ border-radius: 50%;
2059
+ background: var(--accent);
2060
+ vertical-align: middle;
2061
+ }
2062
+
2063
+ .editor .note {
2064
+ margin: 8px 12px 0;
2065
+ }
2066
+
2067
+ .editor-host {
2068
+ flex: 1;
2069
+ min-height: 0;
2070
+ overflow: hidden;
2071
+ }
2072
+
2073
+ .editor-empty {
2074
+ padding: 16px;
2075
+ }
2076
+
2077
+ /* Terminal. */
2078
+ .terminal {
2079
+ position: relative;
2080
+ background: #14181f;
2081
+ padding: 8px 0 0 10px;
2082
+ min-height: 0;
2083
+ }
2084
+
2085
+ .terminal-host {
2086
+ position: absolute;
2087
+ inset: 8px 4px 4px 10px;
2088
+ }
2089
+
2090
+ /* xterm paints black where the theme does not reach (its viewport, the space below the last row). */
2091
+ .terminal-host .xterm,
2092
+ .terminal-host .xterm-viewport,
2093
+ .terminal-host .xterm-screen {
2094
+ background-color: #14181f;
2095
+ }
2096
+
2097
+ .terminal-note {
2098
+ position: absolute;
2099
+ inset: 0;
2100
+ display: flex;
2101
+ align-items: center;
2102
+ justify-content: center;
2103
+ gap: 12px;
2104
+ color: #9ba0a8;
2105
+ background: color-mix(in srgb, #14181f 85%, transparent);
2106
+ }
2107
+
2108
+ /* Logs. */
2109
+ .logs {
2110
+ flex: 1;
2111
+ display: flex;
2112
+ flex-direction: column;
2113
+ min-height: 0;
2114
+ }
2115
+
2116
+ .logs-head {
2117
+ display: flex;
2118
+ align-items: center;
2119
+ gap: 8px;
2120
+ padding: 8px 12px;
2121
+ border-bottom: 1px solid var(--line);
2122
+ }
2123
+
2124
+ .logs-file {
2125
+ flex: 1;
2126
+ font-family: var(--mono);
2127
+ font-size: 12.5px;
2128
+ color: var(--muted);
2129
+ }
2130
+
2131
+ .logs-filter {
2132
+ width: 200px;
2133
+ padding: 5px 10px;
2134
+ border-radius: 8px;
2135
+ border: 1px solid var(--line);
2136
+ background: var(--raised);
2137
+ }
2138
+
2139
+ .logs-empty {
2140
+ padding: 16px;
2141
+ }
2142
+
2143
+ .logs-view {
2144
+ flex: 1;
2145
+ margin: 0;
2146
+ overflow: auto;
2147
+ padding: 10px 0;
2148
+ background: var(--raised);
2149
+ }
2150
+
2151
+ .log-line {
2152
+ display: block;
2153
+ padding: 0 14px;
2154
+ white-space: pre-wrap;
2155
+ overflow-wrap: anywhere;
2156
+ border-left: 3px solid transparent;
2157
+ }
2158
+
2159
+ .log-line.error {
2160
+ color: var(--bad);
2161
+ border-left-color: var(--bad);
2162
+ }
2163
+
2164
+ .log-line.warning {
2165
+ color: #b7791f;
2166
+ border-left-color: #d69e2e;
2167
+ }
2168
+
2169
+ .log-line.debug {
2170
+ color: var(--faint);
2171
+ }
2172
+
2173
+ .log-line.more {
2174
+ opacity: 0.8;
2175
+ }
2176
+
2177
+ /* Queue. */
2178
+ .queue {
2179
+ flex: 1;
2180
+ overflow: auto;
2181
+ padding: 16px;
2182
+ display: flex;
2183
+ flex-direction: column;
2184
+ gap: 12px;
2185
+ }
2186
+
2187
+ .queue-summary {
2188
+ display: flex;
2189
+ gap: 12px;
2190
+ }
2191
+
2192
+ .queue-summary > div {
2193
+ flex: 1;
2194
+ display: flex;
2195
+ align-items: baseline;
2196
+ gap: 8px;
2197
+ padding: 14px 16px;
2198
+ border: 1px solid var(--line);
2199
+ border-radius: 10px;
2200
+ background: var(--raised);
2201
+ color: var(--muted);
2202
+ }
2203
+
2204
+ .queue-number {
2205
+ font-size: 26px;
2206
+ font-weight: 700;
2207
+ color: var(--ink);
2208
+ letter-spacing: -0.02em;
2209
+ }
2210
+
2211
+ .failed-job {
2212
+ border: 1px solid var(--line);
2213
+ border-radius: 10px;
2214
+ background: var(--raised);
2215
+ }
2216
+
2217
+ .failed-job > summary {
2218
+ cursor: pointer;
2219
+ padding: 10px 12px;
2220
+ display: grid;
2221
+ grid-template-columns: auto 1fr;
2222
+ gap: 2px 10px;
2223
+ list-style: none;
2224
+ }
2225
+
2226
+ .failed-job > summary::-webkit-details-marker {
2227
+ display: none;
2228
+ }
2229
+
2230
+ .job-name {
2231
+ font-weight: 600;
2232
+ }
2233
+
2234
+ .job-where {
2235
+ color: var(--muted);
2236
+ font-size: 12.5px;
2237
+ justify-self: end;
2238
+ }
2239
+
2240
+ .job-error {
2241
+ grid-column: 1 / -1;
2242
+ color: var(--bad);
2243
+ font-family: var(--mono);
2244
+ font-size: 12.5px;
2245
+ overflow: hidden;
2246
+ text-overflow: ellipsis;
2247
+ white-space: nowrap;
2248
+ }
2249
+
2250
+ .failed-job > pre {
2251
+ margin: 0 12px;
2252
+ max-height: 280px;
2253
+ overflow: auto;
2254
+ }
2255
+
2256
+ .job-actions {
2257
+ display: flex;
2258
+ gap: 6px;
2259
+ padding: 10px 12px 12px;
2260
+ }
2261
+
2262
+ /* The providers dialog: connected ones, popular tiles, a search; one provider at a time. */
2263
+ .overlay {
2264
+ position: fixed;
2265
+ inset: 0;
2266
+ background: rgba(15, 17, 20, 0.45);
2267
+ display: flex;
2268
+ align-items: center;
2269
+ justify-content: center;
2270
+ padding: 16px;
2271
+ z-index: 40;
2272
+ }
2273
+
2274
+ .dialog {
2275
+ width: min(600px, 100%);
2276
+ max-height: min(760px, calc(100vh - 32px));
2277
+ min-height: 0;
2278
+ overflow-y: auto;
2279
+ display: flex;
2280
+ flex-direction: column;
2281
+ gap: 14px;
2282
+ background: var(--panel);
2283
+ border-radius: 16px;
2284
+ box-shadow: var(--shadow);
2285
+ padding: 18px 20px 20px;
2286
+ }
2287
+
2288
+ .dialog-head {
2289
+ display: flex;
2290
+ align-items: center;
2291
+ gap: 6px;
2292
+ }
2293
+
2294
+ .dialog-head h2 {
2295
+ margin: 0;
2296
+ flex: 1;
2297
+ font-size: 18px;
2298
+ letter-spacing: -0.01em;
2299
+ }
2300
+
2301
+ .dialog input[type='text'],
2302
+ .dialog input[type='password'],
2303
+ .dialog input[type='number'],
2304
+ .dialog input:not([type]) {
2305
+ padding: 8px 10px;
2306
+ border-radius: 8px;
2307
+ border: 1px solid var(--line);
2308
+ background: var(--raised);
2309
+ min-width: 0;
2310
+ }
2311
+
2312
+ .dialog .search-field {
2313
+ border: 1px solid var(--line);
2314
+ border-radius: 10px;
2315
+ background: var(--raised);
2316
+ margin-top: 10px;
2317
+ }
2318
+
2319
+ .dialog .search-field input {
2320
+ border: 0;
2321
+ padding: 9px 0;
2322
+ }
2323
+
2324
+ .dialog-foot {
2325
+ font-size: 12.5px;
2326
+ }
2327
+
2328
+ .section-title {
2329
+ margin: 0 0 8px;
2330
+ font-size: 11px;
2331
+ font-weight: 700;
2332
+ text-transform: uppercase;
2333
+ letter-spacing: 0.06em;
2334
+ color: var(--faint);
2335
+ }
2336
+
2337
+ .provider-rows {
2338
+ list-style: none;
2339
+ margin: 0;
2340
+ padding: 0;
2341
+ display: flex;
2342
+ flex-direction: column;
2343
+ gap: 4px;
2344
+ }
2345
+
2346
+ .provider-rows.found {
2347
+ margin-top: 8px;
2348
+ max-height: 260px;
2349
+ overflow-y: auto;
2350
+ }
2351
+
2352
+ .provider-rows .hint {
2353
+ padding: 6px 10px;
2354
+ }
2355
+
2356
+ .provider-row {
2357
+ display: flex;
2358
+ align-items: center;
2359
+ gap: 10px;
2360
+ width: 100%;
2361
+ padding: 10px 12px;
2362
+ border: 1px solid var(--line);
2363
+ border-radius: 10px;
2364
+ background: var(--raised);
2365
+ text-align: left;
2366
+ }
2367
+
2368
+ .provider-row:hover {
2369
+ border-color: var(--faint);
2370
+ }
2371
+
2372
+ .provider-row-name {
2373
+ font-weight: 600;
2374
+ }
2375
+
2376
+ .provider-row-how {
2377
+ flex: 1;
2378
+ font-size: 12.5px;
2379
+ color: var(--muted);
2380
+ }
2381
+
2382
+ .provider-row .icon {
2383
+ margin-left: auto;
2384
+ color: var(--faint);
2385
+ }
2386
+
2387
+ .provider-tiles {
2388
+ display: grid;
2389
+ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
2390
+ gap: 8px;
2391
+ }
2392
+
2393
+ .provider-tile {
2394
+ display: flex;
2395
+ flex-direction: column;
2396
+ align-items: flex-start;
2397
+ gap: 4px;
2398
+ padding: 12px;
2399
+ border: 1px solid var(--line);
2400
+ border-radius: 12px;
2401
+ background: var(--raised);
2402
+ text-align: left;
2403
+ min-height: 78px;
2404
+ }
2405
+
2406
+ .provider-tile:hover {
2407
+ border-color: var(--accent);
2408
+ }
2409
+
2410
+ .provider-tile-name {
2411
+ display: flex;
2412
+ align-items: center;
2413
+ gap: 6px;
2414
+ font-weight: 600;
2415
+ }
2416
+
2417
+ .tile-check {
2418
+ color: var(--good);
2419
+ }
2420
+
2421
+ .provider-tile-note {
2422
+ font-size: 12.5px;
2423
+ color: var(--muted);
2424
+ line-height: 1.4;
2425
+ }
2426
+
2427
+ .provider-detail {
2428
+ display: flex;
2429
+ flex-direction: column;
2430
+ gap: 14px;
2431
+ }
2432
+
2433
+ .methods {
2434
+ display: flex;
2435
+ flex-direction: column;
2436
+ gap: 10px;
2437
+ }
2438
+
2439
+ .method {
2440
+ display: flex;
2441
+ flex-direction: column;
2442
+ align-items: flex-start;
2443
+ gap: 10px;
2444
+ padding: 14px;
2445
+ border: 1px solid var(--line);
2446
+ border-radius: 12px;
2447
+ background: var(--raised);
2448
+ }
2449
+
2450
+ .method h4 {
2451
+ display: flex;
2452
+ align-items: center;
2453
+ gap: 8px;
2454
+ margin: 0;
2455
+ font-size: 14px;
2456
+ }
2457
+
2458
+ .method h4 .icon {
2459
+ color: var(--muted);
2460
+ }
2461
+
2462
+ .method .row {
2463
+ width: 100%;
2464
+ }
2465
+
2466
+ .method .hint {
2467
+ display: flex;
2468
+ align-items: center;
2469
+ gap: 6px;
2470
+ font-size: 12.5px;
2471
+ }
2472
+
2473
+ .field-choice {
2474
+ display: flex;
2475
+ flex-direction: column;
2476
+ gap: 6px;
2477
+ width: 100%;
2478
+ margin: 0;
2479
+ padding: 0;
2480
+ border: 0;
2481
+ }
2482
+
2483
+ .field-choice legend {
2484
+ margin-bottom: 4px;
2485
+ font-size: 13px;
2486
+ color: var(--muted);
2487
+ }
2488
+
2489
+ .field-choice label {
2490
+ display: grid;
2491
+ grid-template-columns: auto 1fr;
2492
+ gap: 0 8px;
2493
+ align-items: center;
2494
+ padding: 8px 10px;
2495
+ border: 1px solid var(--line);
2496
+ border-radius: 8px;
2497
+ cursor: pointer;
2498
+ }
2499
+
2500
+ .field-choice label.on {
2501
+ border-color: var(--accent);
2502
+ background: var(--accent-soft);
2503
+ }
2504
+
2505
+ .field-choice small {
2506
+ grid-column: 2;
2507
+ color: var(--muted);
2508
+ }
2509
+
2510
+ .field-text {
2511
+ display: flex;
2512
+ flex-direction: column;
2513
+ gap: 4px;
2514
+ width: 100%;
2515
+ font-size: 13px;
2516
+ color: var(--muted);
2517
+ }
2518
+
2519
+ .field-check {
2520
+ display: flex;
2521
+ align-items: center;
2522
+ gap: 8px;
2523
+ }
2524
+
2525
+ .other-methods summary {
2526
+ cursor: pointer;
2527
+ color: var(--muted);
2528
+ font-size: 13px;
2529
+ }
2530
+
2531
+ .other-methods .method {
2532
+ margin-top: 8px;
2533
+ }
2534
+
2535
+ .env-hint {
2536
+ font-size: 12.5px;
2537
+ }
2538
+
2539
+ .connections {
2540
+ list-style: none;
2541
+ margin: 0;
2542
+ padding: 0;
2543
+ display: flex;
2544
+ flex-direction: column;
2545
+ gap: 6px;
2546
+ }
2547
+
2548
+ .connections li {
2549
+ display: flex;
2550
+ align-items: center;
2551
+ gap: 8px;
2552
+ padding: 8px 10px;
2553
+ border: 1px solid var(--line);
2554
+ border-radius: 10px;
2555
+ background: var(--raised);
2556
+ font-size: 13px;
2557
+ }
2558
+
2559
+ .connection-kind {
2560
+ font-size: 10.5px;
2561
+ font-weight: 700;
2562
+ text-transform: uppercase;
2563
+ letter-spacing: 0.04em;
2564
+ color: var(--muted);
2565
+ background: var(--code);
2566
+ border-radius: 4px;
2567
+ padding: 2px 6px;
2568
+ white-space: nowrap;
2569
+ }
2570
+
2571
+ .connection-label {
2572
+ flex: 1;
2573
+ min-width: 0;
2574
+ overflow: hidden;
2575
+ text-overflow: ellipsis;
2576
+ }
2577
+
2578
+ .connection-active {
2579
+ font-size: 11px;
2580
+ font-weight: 700;
2581
+ color: var(--accent);
2582
+ }
2583
+
2584
+ .connection-warning {
2585
+ font-size: 12px;
2586
+ color: var(--bad);
2587
+ }
2588
+
2589
+ .row {
2590
+ display: flex;
2591
+ gap: 6px;
2592
+ }
2593
+
2594
+ .row input {
2595
+ flex: 1;
2596
+ }
2597
+
2598
+ .attempt {
2599
+ background: var(--accent-soft);
2600
+ border-radius: 10px;
2601
+ padding: 10px 12px;
2602
+ display: flex;
2603
+ flex-direction: column;
2604
+ gap: 6px;
2605
+ }
2606
+
2607
+ .attempt p {
2608
+ margin: 0;
2609
+ }
2610
+
2611
+ .attempt a {
2612
+ display: inline-flex;
2613
+ align-items: center;
2614
+ gap: 4px;
2615
+ }
2616
+
2617
+
2618
+ @media (max-width: 820px) {
2619
+ .studio {
2620
+ grid-template-columns: 1fr;
2621
+ grid-template-rows: 1fr 45vh;
2622
+ }
2623
+
2624
+ .chat {
2625
+ border-right: 0;
2626
+ border-bottom: 1px solid var(--line);
2627
+ }
2628
+
2629
+ .chat > .splitter {
2630
+ display: none;
2631
+ }
2632
+ }