claudity 1.0.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.
@@ -0,0 +1,1672 @@
1
+ @font-face {
2
+ font-family: 'berkeley';
3
+ src: url('../font/berkeley.woff2') format('woff2');
4
+ font-weight: normal;
5
+ font-style: normal;
6
+ font-display: swap;
7
+ }
8
+
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ }
14
+
15
+ :focus-visible {
16
+ outline: 2px solid var(--accent);
17
+ outline-offset: 2px;
18
+ }
19
+
20
+ :focus:not(:focus-visible) {
21
+ outline: none;
22
+ }
23
+
24
+ @media (prefers-reduced-motion: reduce) {
25
+ *, *::before, *::after {
26
+ animation-duration: 0.01ms !important;
27
+ animation-iteration-count: 1 !important;
28
+ transition-duration: 0.01ms !important;
29
+ }
30
+ }
31
+
32
+ :root {
33
+ --black: #000;
34
+ --bg: #0a0a0a;
35
+ --bg-raised: #141414;
36
+ --bg-hover: #1a1a1a;
37
+ --white: #b0b0b0;
38
+ --bright: #d4d4d4;
39
+ --muted: #505050;
40
+ --accent: #00FF88;
41
+ --glow: 0, 255, 136;
42
+ --danger: #ef4444;
43
+ --amber: #f59e0b;
44
+ --border: rgba(80, 80, 80, 0.3);
45
+ --radius: 8px;
46
+ --radius-lg: 12px;
47
+ --icon: 13px;
48
+ --header-h: 4.5rem;
49
+ }
50
+
51
+ [data-theme="light"] {
52
+ --black: #ffffff;
53
+ --bg: #f5f5f5;
54
+ --bg-raised: #e5e5e5;
55
+ --bg-hover: #ebebeb;
56
+ --white: #404040;
57
+ --bright: #1a1a1a;
58
+ --muted: #909090;
59
+ --accent: #059669;
60
+ --glow: 5, 150, 105;
61
+ }
62
+
63
+ html, body {
64
+ height: 100%;
65
+ overflow: hidden;
66
+ }
67
+
68
+ body {
69
+ font-family: 'berkeley', monospace;
70
+ -webkit-text-stroke: 0px;
71
+ background: var(--black);
72
+ color: var(--white);
73
+ display: grid;
74
+ grid-template-columns: 15rem 1fr;
75
+ font-size: 13px;
76
+ line-height: 1.5;
77
+ }
78
+
79
+ button[data-action="toggle-nav"] {
80
+ display: none;
81
+ }
82
+
83
+ [data-overlay] {
84
+ display: none;
85
+ }
86
+
87
+ body[data-screen="setup"] {
88
+ grid-template-columns: 1fr;
89
+ }
90
+
91
+ body[data-screen="setup"] button[data-action="toggle-nav"],
92
+ body[data-screen="setup"] nav[aria-label="agents"],
93
+ body[data-screen="setup"] [data-overlay] {
94
+ display: none;
95
+ }
96
+
97
+ nav[aria-label="agents"] {
98
+ background: var(--bg);
99
+ border-right: 1px solid var(--bg-raised);
100
+ display: flex;
101
+ flex-direction: column;
102
+ height: 100vh;
103
+ height: 100dvh;
104
+ overflow: hidden;
105
+ }
106
+
107
+ nav[aria-label="agents"] header {
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: space-between;
111
+ padding: 1rem;
112
+ min-height: var(--header-h);
113
+ }
114
+
115
+ nav[aria-label="agents"] header h1 {
116
+ font-size: 14px;
117
+ -webkit-text-stroke: 0.5px currentColor;
118
+ color: var(--accent);
119
+ letter-spacing: 0.05em;
120
+ display: flex;
121
+ align-items: baseline;
122
+ gap: 0.4rem;
123
+ }
124
+
125
+ nav[aria-label="agents"] header h1 span {
126
+ font-size: 9px;
127
+ -webkit-text-stroke: 0;
128
+ color: var(--accent);
129
+ letter-spacing: 0.06em;
130
+ background: rgba(var(--glow), 0.1);
131
+ border: 1px solid rgba(var(--glow), 0.25);
132
+ border-radius: 4px;
133
+ padding: 1px 5px;
134
+ }
135
+
136
+ nav[aria-label="agents"] header button {
137
+ background: none;
138
+ border: 1px solid var(--border);
139
+ color: var(--muted);
140
+ cursor: pointer;
141
+ padding: 0.5rem;
142
+ display: flex;
143
+ align-items: center;
144
+ justify-content: center;
145
+ border-radius: var(--radius);
146
+ transition: color 0.2s, background 0.2s, border-color 0.2s;
147
+ }
148
+
149
+ nav[aria-label="agents"] header button:hover {
150
+ color: var(--accent);
151
+ background: rgba(var(--glow), 0.08);
152
+ border-color: rgba(var(--glow), 0.2);
153
+ }
154
+
155
+ nav[aria-label="agents"] header button svg {
156
+ width: var(--icon);
157
+ height: var(--icon);
158
+ }
159
+
160
+ nav[aria-label="agents"] ul {
161
+ list-style: none;
162
+ flex: 1;
163
+ overflow-y: auto;
164
+ padding: 0;
165
+ }
166
+
167
+ nav[aria-label="agents"] li {
168
+ padding: 0.5rem 1rem;
169
+ cursor: pointer;
170
+ transition: background 0.2s, color 0.2s;
171
+ display: flex;
172
+ align-items: center;
173
+ gap: 0.5rem;
174
+ color: var(--muted);
175
+ border-left: 2px solid transparent;
176
+ }
177
+
178
+ nav[aria-label="agents"] li:hover,
179
+ nav[aria-label="agents"] li:focus-visible {
180
+ background: var(--bg-raised);
181
+ color: var(--white);
182
+ outline-offset: -2px;
183
+ }
184
+
185
+ nav[aria-label="agents"] li[aria-selected="true"] {
186
+ background: var(--bg-raised);
187
+ color: var(--accent);
188
+ border-left-color: var(--accent);
189
+ }
190
+
191
+ nav[aria-label="agents"] li svg {
192
+ width: var(--icon);
193
+ height: var(--icon);
194
+ flex-shrink: 0;
195
+ }
196
+
197
+ nav[aria-label="agents"] li span {
198
+ overflow: hidden;
199
+ text-overflow: ellipsis;
200
+ white-space: nowrap;
201
+ }
202
+
203
+ nav[aria-label="agents"] li [data-default] {
204
+ width: 6px;
205
+ height: 6px;
206
+ border-radius: 50%;
207
+ background: var(--accent);
208
+ box-shadow: 0 0 6px rgba(var(--glow), 0.5);
209
+ flex-shrink: 0;
210
+ margin-left: auto;
211
+ }
212
+
213
+ nav[aria-label="agents"] > footer {
214
+ border-top: 1px solid var(--bg-raised);
215
+ padding: 0.75rem;
216
+ display: flex;
217
+ flex-direction: column;
218
+ gap: 0.5rem;
219
+ }
220
+
221
+ nav[aria-label="agents"] > footer > button {
222
+ width: 100%;
223
+ background: none;
224
+ border: 1px solid var(--border);
225
+ color: var(--muted);
226
+ cursor: pointer;
227
+ padding: 0.5rem 0.75rem;
228
+ border-radius: var(--radius);
229
+ display: flex;
230
+ align-items: center;
231
+ justify-content: center;
232
+ gap: 0.5rem;
233
+ font-family: inherit;
234
+ font-size: 12px;
235
+ transition: color 0.2s, background 0.2s, border-color 0.2s;
236
+ }
237
+
238
+ nav[aria-label="agents"] > footer > button:hover {
239
+ color: var(--white);
240
+ background: var(--bg-raised);
241
+ border-color: var(--muted);
242
+ }
243
+
244
+ nav[aria-label="agents"] > footer > button[aria-selected="true"] {
245
+ color: var(--accent);
246
+ background: var(--bg-raised);
247
+ border-color: rgba(var(--glow), 0.2);
248
+ }
249
+
250
+ nav[aria-label="agents"] > footer > button svg {
251
+ width: var(--icon);
252
+ height: var(--icon);
253
+ flex-shrink: 0;
254
+ }
255
+
256
+ [data-toggles] {
257
+ display: grid;
258
+ grid-template-columns: 1fr 1fr;
259
+ gap: 0.5rem;
260
+ }
261
+
262
+ [data-toggles] button {
263
+ background: none;
264
+ border: 1px solid var(--border);
265
+ color: var(--muted);
266
+ cursor: pointer;
267
+ padding: 0.5rem;
268
+ border-radius: var(--radius);
269
+ display: flex;
270
+ align-items: center;
271
+ justify-content: center;
272
+ gap: 0.5rem;
273
+ font-family: inherit;
274
+ font-size: 11px;
275
+ transition: color 0.2s, background 0.2s, border-color 0.2s;
276
+ }
277
+
278
+ [data-toggles] button:hover {
279
+ color: var(--white);
280
+ background: var(--bg-raised);
281
+ border-color: var(--muted);
282
+ }
283
+
284
+ [data-toggles] button svg {
285
+ width: var(--icon);
286
+ height: var(--icon);
287
+ flex-shrink: 0;
288
+ }
289
+
290
+ [data-action="toggle-theme"] [data-icon="sun"] {
291
+ display: none;
292
+ }
293
+
294
+ [data-theme="light"] [data-action="toggle-theme"] [data-icon="moon"] {
295
+ display: none;
296
+ }
297
+
298
+ [data-theme="light"] [data-action="toggle-theme"] [data-icon="sun"] {
299
+ display: block;
300
+ }
301
+
302
+ [data-action="toggle-sound"] [data-icon="sound-off"] {
303
+ display: none;
304
+ }
305
+
306
+ [data-sound="off"] [data-action="toggle-sound"] [data-icon="sound-on"] {
307
+ display: none;
308
+ }
309
+
310
+ [data-sound="off"] [data-action="toggle-sound"] [data-icon="sound-off"] {
311
+ display: block;
312
+ }
313
+
314
+ main {
315
+ height: 100vh;
316
+ height: 100dvh;
317
+ overflow: hidden;
318
+ display: flex;
319
+ flex-direction: column;
320
+ }
321
+
322
+ main > section[hidden] {
323
+ display: none;
324
+ }
325
+
326
+ section[aria-label="setup"],
327
+ section[aria-label="empty"] {
328
+ flex: 1;
329
+ display: flex;
330
+ align-items: center;
331
+ justify-content: center;
332
+ padding: 1.5rem;
333
+ }
334
+
335
+ section[aria-label="setup"] > div,
336
+ section[aria-label="empty"] > div {
337
+ text-align: center;
338
+ max-width: 24rem;
339
+ width: 100%;
340
+ }
341
+
342
+ section[aria-label="setup"] svg,
343
+ section[aria-label="empty"] svg {
344
+ width: 28px;
345
+ height: 28px;
346
+ color: var(--muted);
347
+ margin-bottom: 1rem;
348
+ }
349
+
350
+ section[aria-label="setup"] h2,
351
+ section[aria-label="empty"] h2 {
352
+ font-size: 14px;
353
+ font-weight: normal;
354
+ color: var(--bright);
355
+ margin-bottom: 0.75rem;
356
+ }
357
+
358
+ section[aria-label="setup"] p {
359
+ color: var(--muted);
360
+ margin-bottom: 1rem;
361
+ font-size: 12px;
362
+ }
363
+
364
+ section[aria-label="empty"] p {
365
+ color: var(--muted);
366
+ font-size: 12px;
367
+ }
368
+
369
+ section[aria-label="setup"] pre {
370
+ background: var(--bg-raised);
371
+ border: 1px solid var(--muted);
372
+ border-radius: var(--radius);
373
+ padding: 0.75rem 1rem;
374
+ color: var(--accent);
375
+ font-family: inherit;
376
+ font-size: 13px;
377
+ margin-bottom: 1.5rem;
378
+ user-select: all;
379
+ }
380
+
381
+ section[aria-label="setup"] [data-setup-alt] {
382
+ color: var(--muted);
383
+ font-size: 11px;
384
+ margin-top: 1.5rem;
385
+ margin-bottom: 0.5rem;
386
+ }
387
+
388
+ section[aria-label="setup"] [data-setup-buttons] {
389
+ display: flex;
390
+ gap: 0.5rem;
391
+ justify-content: center;
392
+ }
393
+
394
+ section[aria-label="setup"] [data-setup-buttons] button {
395
+ background: none;
396
+ border: 1px solid var(--border);
397
+ border-radius: var(--radius);
398
+ color: var(--muted);
399
+ font-family: inherit;
400
+ font-size: 12px;
401
+ padding: 0.5rem 0.75rem;
402
+ cursor: pointer;
403
+ transition: color 0.2s, background 0.2s, border-color 0.2s;
404
+ }
405
+
406
+ section[aria-label="setup"] [data-setup-buttons] button:hover {
407
+ color: var(--white);
408
+ background: var(--bg-raised);
409
+ border-color: var(--muted);
410
+ }
411
+
412
+ dialog[aria-label="setup token"] p,
413
+ dialog[aria-label="api key"] p {
414
+ color: var(--muted);
415
+ font-size: 12px;
416
+ }
417
+
418
+ dialog[aria-label="setup token"] code,
419
+ dialog[aria-label="api key"] code {
420
+ background: var(--bg-raised);
421
+ padding: 1px 5px;
422
+ border-radius: 4px;
423
+ color: var(--accent);
424
+ font-family: inherit;
425
+ }
426
+
427
+ dialog[aria-label="setup token"] form,
428
+ dialog[aria-label="api key"] form {
429
+ display: flex;
430
+ gap: 0.5rem;
431
+ margin-top: 1rem;
432
+ }
433
+
434
+ dialog[aria-label="setup token"] input,
435
+ dialog[aria-label="api key"] input {
436
+ flex: 1;
437
+ background: var(--bg-raised);
438
+ border: 1px solid var(--muted);
439
+ border-radius: var(--radius);
440
+ color: var(--white);
441
+ font-family: inherit;
442
+ font-size: 13px;
443
+ padding: 0.5rem 0.75rem;
444
+ outline: none;
445
+ transition: border-color 0.2s;
446
+ }
447
+
448
+ dialog[aria-label="setup token"] input:focus,
449
+ dialog[aria-label="api key"] input:focus {
450
+ border-color: rgba(var(--glow), 0.4);
451
+ }
452
+
453
+ dialog[aria-label="setup token"] input::placeholder,
454
+ dialog[aria-label="api key"] input::placeholder {
455
+ color: var(--muted);
456
+ }
457
+
458
+ dialog [data-error] {
459
+ color: var(--danger);
460
+ font-size: 11px;
461
+ margin-top: 0.5rem;
462
+ }
463
+
464
+ dialog[aria-label="setup token"] button[type="submit"],
465
+ dialog[aria-label="api key"] button[type="submit"] {
466
+ background: var(--accent);
467
+ border: none;
468
+ border-radius: var(--radius);
469
+ color: var(--black);
470
+ font-family: inherit;
471
+ font-size: 12px;
472
+ padding: 0.5rem 1rem;
473
+ cursor: pointer;
474
+ transition: opacity 0.2s;
475
+ white-space: nowrap;
476
+ }
477
+
478
+ dialog[aria-label="setup token"] button[type="submit"]:hover,
479
+ dialog[aria-label="api key"] button[type="submit"]:hover {
480
+ opacity: 0.85;
481
+ }
482
+
483
+ section[aria-label="setup"] button[data-action="check-auth"] {
484
+ background: rgba(var(--glow), 0.08);
485
+ border: 1px solid rgba(var(--glow), 0.2);
486
+ color: var(--accent);
487
+ font-family: inherit;
488
+ font-size: 12px;
489
+ padding: 0.5rem 1.25rem;
490
+ border-radius: var(--radius);
491
+ cursor: pointer;
492
+ transition: background 0.2s, border-color 0.2s;
493
+ }
494
+
495
+ section[aria-label="setup"] button:hover {
496
+ background: rgba(var(--glow), 0.12);
497
+ border-color: rgba(var(--glow), 0.4);
498
+ }
499
+
500
+ section[aria-label="chat"] {
501
+ flex: 1;
502
+ display: flex;
503
+ flex-direction: column;
504
+ height: 100vh;
505
+ height: 100dvh;
506
+ overflow: hidden;
507
+ }
508
+
509
+ section[aria-label="chat"] > header {
510
+ display: flex;
511
+ align-items: center;
512
+ justify-content: space-between;
513
+ gap: 1rem;
514
+ padding: 1rem 1.5rem;
515
+ min-height: var(--header-h);
516
+ border-bottom: 1px solid var(--bg-raised);
517
+ flex-shrink: 0;
518
+ }
519
+
520
+ section[aria-label="chat"] > header > div {
521
+ min-width: 0;
522
+ }
523
+
524
+ section[aria-label="chat"] > header h2 {
525
+ font-size: 14px;
526
+ font-weight: normal;
527
+ color: var(--accent);
528
+ overflow: hidden;
529
+ text-overflow: ellipsis;
530
+ white-space: nowrap;
531
+ }
532
+
533
+ section[aria-label="chat"] > header aside {
534
+ display: flex;
535
+ gap: 0.5rem;
536
+ flex-shrink: 0;
537
+ }
538
+
539
+ section[aria-label="chat"] > header aside button {
540
+ background: none;
541
+ border: 1px solid var(--border);
542
+ color: var(--muted);
543
+ cursor: pointer;
544
+ padding: 0.5rem;
545
+ border-radius: var(--radius);
546
+ display: flex;
547
+ align-items: center;
548
+ justify-content: center;
549
+ transition: color 0.2s, background 0.2s, border-color 0.2s;
550
+ }
551
+
552
+ section[aria-label="chat"] > header aside button:hover {
553
+ color: var(--white);
554
+ background: var(--bg-raised);
555
+ border-color: var(--muted);
556
+ }
557
+
558
+ section[aria-label="chat"] > header aside button[data-action="delete-agent"]:hover {
559
+ color: var(--danger);
560
+ border-color: rgba(239, 68, 68, 0.3);
561
+ }
562
+
563
+ section[aria-label="chat"] > header aside button svg {
564
+ width: var(--icon);
565
+ height: var(--icon);
566
+ }
567
+
568
+ div[aria-label="messages"] {
569
+ flex: 1;
570
+ overflow-y: auto;
571
+ padding: 1rem 1.5rem;
572
+ display: flex;
573
+ flex-direction: column;
574
+ gap: 0.75rem;
575
+ }
576
+
577
+ div[aria-label="messages"] > div[data-role="user"] {
578
+ align-self: flex-end;
579
+ max-width: 75%;
580
+ }
581
+
582
+ div[aria-label="messages"] > div[data-role="user"] > p {
583
+ background: rgba(var(--glow), 0.08);
584
+ border: 1px solid rgba(var(--glow), 0.12);
585
+ color: var(--accent);
586
+ padding: 0.6rem 0.85rem;
587
+ border-radius: var(--radius-lg) var(--radius-lg) 3px var(--radius-lg);
588
+ font-size: 13px;
589
+ white-space: pre-wrap;
590
+ word-wrap: break-word;
591
+ }
592
+
593
+ div[aria-label="messages"] > div[data-role="assistant"] {
594
+ align-self: flex-start;
595
+ max-width: 85%;
596
+ }
597
+
598
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body {
599
+ color: var(--white);
600
+ font-size: 13px;
601
+ word-wrap: break-word;
602
+ line-height: 1.6;
603
+ }
604
+
605
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body p {
606
+ margin-bottom: 0.5em;
607
+ }
608
+
609
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body p:last-child {
610
+ margin-bottom: 0;
611
+ }
612
+
613
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body strong {
614
+ -webkit-text-stroke: 0.4px currentColor;
615
+ }
616
+
617
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body strong a {
618
+ color: var(--accent);
619
+ }
620
+
621
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body code {
622
+ background: var(--bg-raised);
623
+ padding: 2px 5px;
624
+ border-radius: 4px;
625
+ font-size: 12px;
626
+ }
627
+
628
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body pre {
629
+ background: var(--bg-raised);
630
+ border-radius: var(--radius);
631
+ padding: 0.6rem 0.85rem;
632
+ margin: 0.5em 0;
633
+ font-size: 12px;
634
+ overflow-x: auto;
635
+ }
636
+
637
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body pre code {
638
+ background: none;
639
+ padding: 0;
640
+ }
641
+
642
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body a {
643
+ color: var(--accent);
644
+ text-decoration: none;
645
+ }
646
+
647
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body a:hover {
648
+ text-decoration: underline;
649
+ }
650
+
651
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body ul {
652
+ list-style: none;
653
+ padding-left: 1em;
654
+ }
655
+
656
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body li {
657
+ position: relative;
658
+ padding-left: 0.5em;
659
+ }
660
+
661
+ div[aria-label="messages"] > div[data-role="assistant"] > .msg-body li::before {
662
+ content: '·';
663
+ position: absolute;
664
+ left: -0.5em;
665
+ color: var(--muted);
666
+ }
667
+
668
+ div[aria-label="messages"] > div[data-role="assistant"] > p {
669
+ color: var(--white);
670
+ font-size: 13px;
671
+ white-space: pre-wrap;
672
+ word-wrap: break-word;
673
+ line-height: 1.6;
674
+ }
675
+
676
+ div[aria-label="messages"] > div[data-role="assistant"] details {
677
+ margin-top: 0.4rem;
678
+ }
679
+
680
+ div[aria-label="messages"] > div[data-role="assistant"] details summary {
681
+ font-size: 10px;
682
+ color: var(--muted);
683
+ cursor: pointer;
684
+ user-select: none;
685
+ }
686
+
687
+ div[aria-label="messages"] > div[data-role="assistant"] details pre {
688
+ background: var(--bg-raised);
689
+ border-radius: var(--radius);
690
+ padding: 0.5rem;
691
+ margin-top: 0.25rem;
692
+ font-family: inherit;
693
+ font-size: 10px;
694
+ white-space: pre-wrap;
695
+ word-wrap: break-word;
696
+ max-height: 10rem;
697
+ overflow-y: auto;
698
+ color: var(--muted);
699
+ }
700
+
701
+ div[aria-label="messages"] > div[data-role="error"] > p {
702
+ color: var(--danger);
703
+ font-size: 12px;
704
+ }
705
+
706
+ div[aria-label="messages"] > div[data-activity] {
707
+ align-self: flex-start;
708
+ max-width: 85%;
709
+ }
710
+
711
+ div[aria-label="messages"] > div[data-activity] [data-dots] {
712
+ display: flex;
713
+ gap: 5px;
714
+ padding: 0.5rem 0;
715
+ }
716
+
717
+ div[aria-label="messages"] > div[data-activity] [data-dots] span {
718
+ width: 5px;
719
+ height: 5px;
720
+ background: var(--muted);
721
+ border-radius: 50%;
722
+ animation: bounce 1.2s infinite;
723
+ }
724
+
725
+ div[aria-label="messages"] > div[data-activity] [data-dots] span:nth-child(2) {
726
+ animation-delay: 0.15s;
727
+ }
728
+
729
+ div[aria-label="messages"] > div[data-activity] [data-dots] span:nth-child(3) {
730
+ animation-delay: 0.3s;
731
+ }
732
+
733
+ @keyframes bounce {
734
+ 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
735
+ 30% { opacity: 1; transform: translateY(-3px); }
736
+ }
737
+
738
+ div[aria-label="messages"] > div[data-activity] [data-thinking] {
739
+ color: var(--accent);
740
+ font-size: 13px;
741
+ white-space: pre-wrap;
742
+ word-wrap: break-word;
743
+ line-height: 1.5;
744
+ opacity: 0.85;
745
+ }
746
+
747
+ div[aria-label="messages"] > div[data-activity] [data-status] {
748
+ color: var(--muted);
749
+ font-size: 11px;
750
+ margin-top: 4px;
751
+ }
752
+
753
+ form[aria-label="input"] {
754
+ display: flex;
755
+ gap: 0.5rem;
756
+ align-items: flex-end;
757
+ padding: 0.75rem 1.5rem;
758
+ border-top: 1px solid var(--bg-raised);
759
+ flex-shrink: 0;
760
+ }
761
+
762
+ form[aria-label="input"] textarea {
763
+ flex: 1;
764
+ background: var(--bg);
765
+ border: 1px solid var(--bg-raised);
766
+ border-radius: var(--radius-lg);
767
+ color: var(--white);
768
+ font-family: inherit;
769
+ font-size: 13px;
770
+ padding: 0.6rem 0.85rem;
771
+ resize: none;
772
+ outline: none;
773
+ transition: border-color 0.2s;
774
+ line-height: 1.5;
775
+ max-height: 150px;
776
+ overflow-y: auto;
777
+ }
778
+
779
+ form[aria-label="input"] textarea:focus {
780
+ border-color: rgba(var(--glow), 0.3);
781
+ }
782
+
783
+ form[aria-label="input"] textarea::placeholder {
784
+ color: var(--muted);
785
+ }
786
+
787
+ form[aria-label="input"] button {
788
+ background: var(--accent);
789
+ border: none;
790
+ border-radius: var(--radius-lg);
791
+ color: var(--black);
792
+ cursor: pointer;
793
+ padding: 0.6rem;
794
+ display: flex;
795
+ align-items: center;
796
+ justify-content: center;
797
+ transition: opacity 0.2s, transform 0.1s;
798
+ flex-shrink: 0;
799
+ }
800
+
801
+ form[aria-label="input"] button:hover {
802
+ opacity: 0.85;
803
+ }
804
+
805
+ form[aria-label="input"] button:active {
806
+ transform: scale(0.95);
807
+ }
808
+
809
+ form[aria-label="input"] button:disabled {
810
+ opacity: 0.3;
811
+ cursor: not-allowed;
812
+ transform: none;
813
+ }
814
+
815
+ form[aria-label="input"] button svg {
816
+ width: 16px;
817
+ height: 16px;
818
+ }
819
+
820
+ section[aria-label="connections"] {
821
+ flex: 1;
822
+ display: flex;
823
+ flex-direction: column;
824
+ height: 100vh;
825
+ height: 100dvh;
826
+ overflow: hidden;
827
+ }
828
+
829
+ section[aria-label="connections"] > header {
830
+ display: flex;
831
+ align-items: center;
832
+ padding: 1rem 1.5rem;
833
+ min-height: var(--header-h);
834
+ border-bottom: 1px solid var(--bg-raised);
835
+ flex-shrink: 0;
836
+ }
837
+
838
+ section[aria-label="connections"] > header h2 {
839
+ font-size: 14px;
840
+ font-weight: normal;
841
+ color: var(--accent);
842
+ }
843
+
844
+ section[aria-label="connections"] [data-platforms] {
845
+ flex: 1;
846
+ overflow-y: auto;
847
+ padding: 1.5rem;
848
+ display: grid;
849
+ grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
850
+ gap: 0.75rem;
851
+ align-content: start;
852
+ }
853
+
854
+ [data-platforms] article {
855
+ background: var(--bg);
856
+ border: 1px solid var(--bg-raised);
857
+ border-radius: var(--radius-lg);
858
+ padding: 1rem 1.25rem;
859
+ display: flex;
860
+ align-items: center;
861
+ gap: 0.75rem;
862
+ cursor: pointer;
863
+ transition: border-color 0.2s, background 0.2s;
864
+ }
865
+
866
+ [data-platforms] article:hover,
867
+ [data-platforms] article:focus-visible {
868
+ background: var(--bg-hover);
869
+ border-color: var(--muted);
870
+ }
871
+
872
+ [data-platforms] article[data-status="connected"] {
873
+ border-color: rgba(var(--glow), 0.2);
874
+ }
875
+
876
+ [data-platforms] article[data-status="connected"]:hover {
877
+ border-color: rgba(var(--glow), 0.4);
878
+ }
879
+
880
+ [data-platforms] article[data-status="connecting"] {
881
+ border-color: rgba(245, 158, 11, 0.3);
882
+ }
883
+
884
+ [data-platforms] article[data-status="error"] {
885
+ border-color: rgba(239, 68, 68, 0.3);
886
+ }
887
+
888
+ [data-platforms] article svg {
889
+ width: 20px;
890
+ height: 20px;
891
+ flex-shrink: 0;
892
+ color: var(--white);
893
+ transition: color 0.2s;
894
+ }
895
+
896
+ [data-platforms] article:hover svg {
897
+ color: var(--bright);
898
+ }
899
+
900
+ [data-platforms] article > div {
901
+ flex: 1;
902
+ min-width: 0;
903
+ }
904
+
905
+ [data-platforms] article h3 {
906
+ font-size: 13px;
907
+ font-weight: normal;
908
+ color: var(--white);
909
+ }
910
+
911
+ [data-platforms] article p {
912
+ font-size: 11px;
913
+ color: var(--muted);
914
+ overflow: hidden;
915
+ text-overflow: ellipsis;
916
+ white-space: nowrap;
917
+ }
918
+
919
+ [data-platforms] [data-indicator] {
920
+ width: 8px;
921
+ height: 8px;
922
+ border-radius: 50%;
923
+ flex-shrink: 0;
924
+ background: var(--muted);
925
+ transition: background 0.3s;
926
+ }
927
+
928
+ [data-platforms] [data-indicator="connected"] {
929
+ background: var(--accent);
930
+ box-shadow: 0 0 8px rgba(var(--glow), 0.5);
931
+ }
932
+
933
+ [data-platforms] [data-indicator="connecting"] {
934
+ background: var(--amber);
935
+ animation: pulse 1.5s ease-in-out infinite;
936
+ }
937
+
938
+ [data-platforms] [data-indicator="error"] {
939
+ background: var(--danger);
940
+ }
941
+
942
+ @keyframes pulse {
943
+ 0%, 100% { opacity: 1; }
944
+ 50% { opacity: 0.3; }
945
+ }
946
+
947
+ [data-platforms] article[data-coming-soon] {
948
+ opacity: 0.3;
949
+ cursor: default;
950
+ }
951
+
952
+ [data-platforms] article[data-coming-soon]:hover {
953
+ background: var(--bg);
954
+ border-color: var(--bg-raised);
955
+ }
956
+
957
+ dialog {
958
+ background: var(--bg);
959
+ border: 1px solid var(--bg-raised);
960
+ border-radius: var(--radius-lg);
961
+ color: var(--white);
962
+ font-family: inherit;
963
+ font-size: 13px;
964
+ padding: 1.5rem;
965
+ max-width: 28rem;
966
+ width: calc(100vw - 2rem);
967
+ margin: auto;
968
+ box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
969
+ }
970
+
971
+ dialog::backdrop {
972
+ background: rgba(0, 0, 0, 0.5);
973
+ backdrop-filter: blur(6px);
974
+ -webkit-backdrop-filter: blur(6px);
975
+ }
976
+
977
+ [data-theme="light"] dialog {
978
+ box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
979
+ border-color: var(--bg-raised);
980
+ }
981
+
982
+ dialog h2 {
983
+ font-size: 14px;
984
+ font-weight: normal;
985
+ color: var(--accent);
986
+ margin-bottom: 1.25rem;
987
+ }
988
+
989
+ dialog label {
990
+ display: block;
991
+ margin-bottom: 0.75rem;
992
+ }
993
+
994
+ dialog label span {
995
+ display: block;
996
+ font-size: 11px;
997
+ color: var(--muted);
998
+ margin-bottom: 4px;
999
+ }
1000
+
1001
+ dialog input[type="text"],
1002
+ dialog input[type="password"],
1003
+ dialog textarea {
1004
+ width: 100%;
1005
+ background: var(--black);
1006
+ border: 1px solid var(--bg-raised);
1007
+ border-radius: var(--radius);
1008
+ color: var(--white);
1009
+ font-family: inherit;
1010
+ font-size: 13px;
1011
+ padding: 0.55rem 0.75rem;
1012
+ outline: none;
1013
+ transition: border-color 0.2s;
1014
+ }
1015
+
1016
+ dialog input[type="text"]:focus,
1017
+ dialog input[type="password"]:focus,
1018
+ dialog textarea:focus {
1019
+ border-color: rgba(var(--glow), 0.35);
1020
+ }
1021
+
1022
+ dialog input::placeholder,
1023
+ dialog textarea::placeholder {
1024
+ color: var(--muted);
1025
+ }
1026
+
1027
+ dialog label[data-toggle] {
1028
+ display: flex;
1029
+ align-items: center;
1030
+ justify-content: space-between;
1031
+ cursor: pointer;
1032
+ margin-bottom: 0.75rem;
1033
+ padding: 0.55rem 0.75rem;
1034
+ border: 1px solid var(--bg-raised);
1035
+ border-radius: var(--radius);
1036
+ transition: border-color 0.2s;
1037
+ }
1038
+
1039
+ dialog label[data-toggle]:has(+ [data-hint]) {
1040
+ margin-bottom: 0;
1041
+ }
1042
+
1043
+ dialog label[data-toggle]:hover {
1044
+ border-color: var(--muted);
1045
+ }
1046
+
1047
+ dialog label[data-toggle]:has(input:checked) {
1048
+ border-color: rgba(var(--glow), 0.25);
1049
+ background: rgba(var(--glow), 0.03);
1050
+ }
1051
+
1052
+ dialog label[data-toggle] span {
1053
+ font-size: 12px;
1054
+ color: var(--muted);
1055
+ margin-bottom: 0;
1056
+ transition: color 0.2s;
1057
+ }
1058
+
1059
+ dialog label[data-toggle]:has(input:checked) span {
1060
+ color: var(--accent);
1061
+ }
1062
+
1063
+ dialog label[data-toggle] input {
1064
+ position: absolute;
1065
+ opacity: 0;
1066
+ pointer-events: none;
1067
+ }
1068
+
1069
+ dialog label[data-toggle] i {
1070
+ position: relative;
1071
+ width: 32px;
1072
+ height: 18px;
1073
+ background: var(--bg-raised);
1074
+ border: 1px solid var(--muted);
1075
+ border-radius: 9px;
1076
+ flex-shrink: 0;
1077
+ transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
1078
+ }
1079
+
1080
+ dialog label[data-toggle] i::after {
1081
+ content: '';
1082
+ position: absolute;
1083
+ top: 2px;
1084
+ left: 2px;
1085
+ width: 12px;
1086
+ height: 12px;
1087
+ background: var(--muted);
1088
+ border-radius: 50%;
1089
+ transition: transform 0.2s, background 0.2s;
1090
+ }
1091
+
1092
+ dialog label[data-toggle]:has(input:checked) i {
1093
+ background: rgba(var(--glow), 0.15);
1094
+ border-color: rgba(var(--glow), 0.4);
1095
+ box-shadow: 0 0 8px rgba(var(--glow), 0.15);
1096
+ }
1097
+
1098
+ dialog label[data-toggle]:has(input:checked) i::after {
1099
+ transform: translateX(14px);
1100
+ background: var(--accent);
1101
+ box-shadow: 0 0 6px rgba(var(--glow), 0.5);
1102
+ }
1103
+
1104
+ dialog [data-hint] {
1105
+ font-size: 10px;
1106
+ color: var(--muted);
1107
+ margin-top: 0.35rem;
1108
+ margin-bottom: 0.75rem;
1109
+ opacity: 0.7;
1110
+ }
1111
+
1112
+ dialog footer {
1113
+ display: flex;
1114
+ justify-content: flex-end;
1115
+ gap: 0.5rem;
1116
+ margin-top: 1.25rem;
1117
+ }
1118
+
1119
+ dialog footer[hidden] {
1120
+ display: none;
1121
+ }
1122
+
1123
+ dialog footer button {
1124
+ font-family: inherit;
1125
+ font-size: 12px;
1126
+ padding: 0.45rem 1rem;
1127
+ border-radius: var(--radius);
1128
+ cursor: pointer;
1129
+ border: none;
1130
+ transition: opacity 0.2s, transform 0.1s;
1131
+ }
1132
+
1133
+ dialog footer button:active {
1134
+ transform: scale(0.97);
1135
+ }
1136
+
1137
+ dialog footer button[type="submit"] {
1138
+ background: var(--accent);
1139
+ color: var(--black);
1140
+ }
1141
+
1142
+ dialog footer button[data-action="confirm-delete"] {
1143
+ background: var(--danger);
1144
+ color: var(--black);
1145
+ }
1146
+
1147
+ dialog[aria-label="confirm delete"] p {
1148
+ color: var(--muted);
1149
+ font-size: 12px;
1150
+ margin-bottom: 0.25rem;
1151
+ }
1152
+
1153
+ dialog footer button[data-action="cancel-dialog"] {
1154
+ background: var(--bg-raised);
1155
+ color: var(--muted);
1156
+ border: 1px solid rgba(80, 80, 80, 0.4);
1157
+ }
1158
+
1159
+ dialog footer button:hover {
1160
+ opacity: 0.85;
1161
+ }
1162
+
1163
+ dialog[aria-label="connection"] > header {
1164
+ display: flex;
1165
+ align-items: center;
1166
+ gap: 0.75rem;
1167
+ margin-bottom: 1.25rem;
1168
+ }
1169
+
1170
+ dialog[aria-label="connection"] > header svg {
1171
+ width: 22px;
1172
+ height: 22px;
1173
+ color: var(--accent);
1174
+ }
1175
+
1176
+ dialog[aria-label="connection"] > header h2 {
1177
+ margin-bottom: 0;
1178
+ }
1179
+
1180
+ dialog[aria-label="connection"] > header p {
1181
+ font-size: 11px;
1182
+ color: var(--muted);
1183
+ margin-top: 1px;
1184
+ }
1185
+
1186
+ dialog[aria-label="connection"] > header [data-indicator] {
1187
+ width: 8px;
1188
+ height: 8px;
1189
+ border-radius: 50%;
1190
+ flex-shrink: 0;
1191
+ margin-left: auto;
1192
+ background: var(--muted);
1193
+ }
1194
+
1195
+ dialog[aria-label="connection"] > header [data-indicator="connected"] {
1196
+ background: var(--accent);
1197
+ box-shadow: 0 0 8px rgba(var(--glow), 0.5);
1198
+ }
1199
+
1200
+ dialog[aria-label="connection"] > header [data-indicator="connecting"] {
1201
+ background: var(--amber);
1202
+ animation: pulse 1.5s ease-in-out infinite;
1203
+ }
1204
+
1205
+ dialog[aria-label="connection"] > header [data-indicator="error"] {
1206
+ background: var(--danger);
1207
+ }
1208
+
1209
+ dialog[aria-label="connection"] [data-qr] {
1210
+ display: block;
1211
+ margin: 1rem auto;
1212
+ border-radius: var(--radius);
1213
+ }
1214
+
1215
+ dialog[aria-label="connection"] [data-detail] {
1216
+ font-size: 12px;
1217
+ color: var(--bright);
1218
+ margin-bottom: 1rem;
1219
+ padding: 0.5rem 0.75rem;
1220
+ background: rgba(var(--glow), 0.05);
1221
+ border-radius: var(--radius);
1222
+ border: 1px solid rgba(var(--glow), 0.08);
1223
+ }
1224
+
1225
+ dialog[aria-label="connection"] [data-detail="error"] {
1226
+ color: var(--danger);
1227
+ background: rgba(239, 68, 68, 0.06);
1228
+ border-color: rgba(239, 68, 68, 0.15);
1229
+ word-break: break-word;
1230
+ }
1231
+
1232
+ dialog[aria-label="connection"] [data-setup] {
1233
+ list-style: none;
1234
+ counter-reset: step;
1235
+ display: flex;
1236
+ flex-direction: column;
1237
+ gap: 0.6rem;
1238
+ margin-bottom: 1.25rem;
1239
+ }
1240
+
1241
+ dialog[aria-label="connection"] [data-setup] li {
1242
+ counter-increment: step;
1243
+ font-size: 12px;
1244
+ color: var(--muted);
1245
+ padding-left: 2em;
1246
+ position: relative;
1247
+ line-height: 1.5;
1248
+ }
1249
+
1250
+ dialog[aria-label="connection"] [data-setup] li::before {
1251
+ content: counter(step);
1252
+ position: absolute;
1253
+ left: 0;
1254
+ color: var(--accent);
1255
+ font-size: 10px;
1256
+ width: 1.4em;
1257
+ height: 1.4em;
1258
+ display: flex;
1259
+ align-items: center;
1260
+ justify-content: center;
1261
+ border: 1px solid rgba(var(--glow), 0.25);
1262
+ border-radius: 50%;
1263
+ top: 1px;
1264
+ }
1265
+
1266
+ dialog[aria-label="connection"] [data-setup] a {
1267
+ color: var(--accent);
1268
+ text-decoration: none;
1269
+ }
1270
+
1271
+ dialog[aria-label="connection"] [data-setup] a:hover {
1272
+ text-decoration: underline;
1273
+ }
1274
+
1275
+ dialog[aria-label="connection"] [data-setup] code {
1276
+ background: var(--bg-raised);
1277
+ padding: 1px 5px;
1278
+ border-radius: 4px;
1279
+ color: var(--accent);
1280
+ font-family: inherit;
1281
+ font-size: 11px;
1282
+ }
1283
+
1284
+ dialog[aria-label="connection"] form {
1285
+ display: flex;
1286
+ flex-direction: column;
1287
+ gap: 0.75rem;
1288
+ margin-bottom: 1.25rem;
1289
+ }
1290
+
1291
+ dialog[aria-label="connection"] [data-usage] {
1292
+ font-size: 12px;
1293
+ color: var(--muted);
1294
+ margin-bottom: 1rem;
1295
+ }
1296
+
1297
+ dialog[aria-label="connection"] [data-usage] code {
1298
+ background: var(--bg-raised);
1299
+ padding: 1px 5px;
1300
+ border-radius: 4px;
1301
+ color: var(--accent);
1302
+ font-family: inherit;
1303
+ font-size: 11px;
1304
+ }
1305
+
1306
+ dialog[aria-label="connection"] [data-invite] {
1307
+ background: var(--bg-raised);
1308
+ border-radius: var(--radius);
1309
+ padding: 0.5rem 0.75rem;
1310
+ font-family: inherit;
1311
+ font-size: 11px;
1312
+ color: var(--accent);
1313
+ user-select: all;
1314
+ word-break: break-all;
1315
+ white-space: pre-wrap;
1316
+ margin-bottom: 1rem;
1317
+ }
1318
+
1319
+ dialog[aria-label="connection"] [data-invite-label] {
1320
+ font-size: 10px;
1321
+ color: var(--muted);
1322
+ margin-bottom: 4px;
1323
+ }
1324
+
1325
+ dialog[aria-label="connection"] footer button[data-connect] {
1326
+ background: var(--accent);
1327
+ color: var(--black);
1328
+ }
1329
+
1330
+ dialog[aria-label="connection"] footer button[data-disconnect] {
1331
+ background: transparent;
1332
+ color: var(--danger);
1333
+ border: 1px solid rgba(239, 68, 68, 0.25);
1334
+ }
1335
+
1336
+ dialog[aria-label="connection"] footer button[data-disconnect]:hover {
1337
+ border-color: var(--danger);
1338
+ }
1339
+
1340
+ ::-webkit-scrollbar {
1341
+ width: 6px;
1342
+ }
1343
+
1344
+ ::-webkit-scrollbar-track {
1345
+ background: transparent;
1346
+ }
1347
+
1348
+ ::-webkit-scrollbar-thumb {
1349
+ background: var(--bg-raised);
1350
+ border-radius: 3px;
1351
+ }
1352
+
1353
+ ::-webkit-scrollbar-thumb:hover {
1354
+ background: var(--muted);
1355
+ }
1356
+
1357
+ @media (max-width: 600px) {
1358
+ body {
1359
+ grid-template-columns: 1fr;
1360
+ }
1361
+
1362
+ button[data-action="toggle-nav"] {
1363
+ display: flex;
1364
+ position: fixed;
1365
+ top: 0;
1366
+ left: 0;
1367
+ z-index: 200;
1368
+ height: var(--header-h);
1369
+ width: 3.5rem;
1370
+ background: none;
1371
+ border: none;
1372
+ color: var(--white);
1373
+ cursor: pointer;
1374
+ align-items: center;
1375
+ justify-content: center;
1376
+ }
1377
+
1378
+ button[data-action="toggle-nav"] svg {
1379
+ width: 16px;
1380
+ height: 16px;
1381
+ }
1382
+
1383
+ [data-overlay] {
1384
+ position: fixed;
1385
+ inset: 0;
1386
+ background: rgba(0, 0, 0, 0.6);
1387
+ z-index: 299;
1388
+ backdrop-filter: blur(4px);
1389
+ -webkit-backdrop-filter: blur(4px);
1390
+ }
1391
+
1392
+ [data-overlay]:not([hidden]) {
1393
+ display: block;
1394
+ }
1395
+
1396
+ nav[aria-label="agents"] {
1397
+ position: fixed;
1398
+ left: 0;
1399
+ top: 0;
1400
+ bottom: 0;
1401
+ width: 16rem;
1402
+ z-index: 300;
1403
+ transform: translateX(-100%);
1404
+ transition: transform 0.25s ease;
1405
+ border-right: 1px solid var(--bg-raised);
1406
+ }
1407
+
1408
+ nav[aria-label="agents"][data-open] {
1409
+ transform: translateX(0);
1410
+ }
1411
+
1412
+ section[aria-label="chat"] > header {
1413
+ padding-left: 3.5rem;
1414
+ padding-right: 0.75rem;
1415
+ min-height: var(--header-h);
1416
+ }
1417
+
1418
+ section[aria-label="chat"] > header > div {
1419
+ text-align: center;
1420
+ flex: 1;
1421
+ }
1422
+
1423
+ section[aria-label="connections"] > header {
1424
+ padding-left: 3.5rem;
1425
+ text-align: center;
1426
+ display: flex;
1427
+ align-items: center;
1428
+ justify-content: center;
1429
+ min-height: var(--header-h);
1430
+ }
1431
+
1432
+ section[aria-label="setup"],
1433
+ section[aria-label="empty"] {
1434
+ padding: 1rem;
1435
+ }
1436
+
1437
+ div[aria-label="messages"] {
1438
+ padding: 1rem;
1439
+ }
1440
+
1441
+ div[aria-label="messages"] > div[data-role="user"] {
1442
+ max-width: 88%;
1443
+ }
1444
+
1445
+ div[aria-label="messages"] > div[data-role="assistant"] {
1446
+ max-width: 95%;
1447
+ }
1448
+
1449
+ form[aria-label="input"] {
1450
+ padding: 0.5rem 0.75rem 0.75rem;
1451
+ }
1452
+
1453
+ section[aria-label="connections"] [data-platforms] {
1454
+ padding: 1rem;
1455
+ grid-template-columns: 1fr;
1456
+ }
1457
+ }
1458
+
1459
+ div[aria-label="messages"] > div[data-role="heartbeat"] {
1460
+ align-self: flex-start;
1461
+ max-width: 85%;
1462
+ }
1463
+
1464
+ div[aria-label="messages"] > div[data-role="heartbeat"] > .msg-body {
1465
+ color: var(--white);
1466
+ font-size: 12px;
1467
+ word-wrap: break-word;
1468
+ line-height: 1.5;
1469
+ opacity: 0.7;
1470
+ padding: 0.4rem 0.7rem;
1471
+ background: rgba(var(--glow), 0.04);
1472
+ border: 1px solid rgba(var(--glow), 0.08);
1473
+ border-radius: var(--radius);
1474
+ }
1475
+
1476
+ div[aria-label="messages"] > div[data-role="heartbeat"] > .msg-body::before {
1477
+ content: 'heartbeat: ';
1478
+ color: var(--accent);
1479
+ font-size: 10px;
1480
+ }
1481
+
1482
+ div[aria-label="messages"] > div[data-role="heartbeat"] > .msg-body ul {
1483
+ list-style: none;
1484
+ padding-left: 1em;
1485
+ }
1486
+
1487
+ div[aria-label="messages"] > div[data-role="heartbeat"] > .msg-body li {
1488
+ position: relative;
1489
+ padding-left: 0.5em;
1490
+ }
1491
+
1492
+ div[aria-label="messages"] > div[data-role="heartbeat"] > .msg-body li::before {
1493
+ content: '·';
1494
+ position: absolute;
1495
+ left: -0.5em;
1496
+ color: var(--muted);
1497
+ }
1498
+
1499
+ div[aria-label="messages"] > div[data-role="heartbeat"] > .msg-body p {
1500
+ margin-bottom: 0.3em;
1501
+ }
1502
+
1503
+ div[aria-label="messages"] > div[data-role="heartbeat"] > .msg-body p:last-child {
1504
+ margin-bottom: 0;
1505
+ }
1506
+
1507
+ dialog label[data-select] {
1508
+ display: flex;
1509
+ align-items: center;
1510
+ justify-content: space-between;
1511
+ margin-bottom: 0.75rem;
1512
+ padding: 0.55rem 0.75rem;
1513
+ border: 1px solid var(--bg-raised);
1514
+ border-radius: var(--radius);
1515
+ }
1516
+
1517
+ dialog label[data-select] span {
1518
+ font-size: 12px;
1519
+ color: var(--muted);
1520
+ margin-bottom: 0;
1521
+ }
1522
+
1523
+ dialog label[data-select] select {
1524
+ background: var(--black);
1525
+ border: 1px solid var(--bg-raised);
1526
+ border-radius: 4px;
1527
+ color: var(--white);
1528
+ font-family: inherit;
1529
+ font-size: 12px;
1530
+ padding: 3px 6px;
1531
+ outline: none;
1532
+ }
1533
+
1534
+ dialog[aria-label="agent records"] {
1535
+ max-width: 32rem;
1536
+ }
1537
+
1538
+ dialog[aria-label="agent records"] [data-file-list] {
1539
+ display: grid;
1540
+ grid-template-columns: repeat(3, 1fr);
1541
+ gap: 0.5rem;
1542
+ }
1543
+
1544
+ dialog[aria-label="agent records"] [data-file-list][hidden] {
1545
+ display: none;
1546
+ }
1547
+
1548
+ dialog[aria-label="agent records"] [data-file-list] button {
1549
+ display: flex;
1550
+ flex-direction: column;
1551
+ align-items: center;
1552
+ justify-content: center;
1553
+ gap: 0.5rem;
1554
+ background: none;
1555
+ border: 1px solid var(--bg-raised);
1556
+ border-radius: var(--radius);
1557
+ color: var(--muted);
1558
+ font-family: inherit;
1559
+ font-size: 11px;
1560
+ padding: 1rem 0.5rem;
1561
+ cursor: pointer;
1562
+ transition: background 0.2s, border-color 0.2s, color 0.2s;
1563
+ }
1564
+
1565
+ dialog[aria-label="agent records"] [data-file-list] button:hover {
1566
+ background: var(--bg-raised);
1567
+ border-color: var(--muted);
1568
+ color: var(--white);
1569
+ }
1570
+
1571
+ dialog[aria-label="agent records"] [data-file-list] button:hover svg {
1572
+ color: var(--accent);
1573
+ }
1574
+
1575
+ dialog[aria-label="agent records"] [data-file-list] button svg {
1576
+ width: 18px;
1577
+ height: 18px;
1578
+ color: var(--muted);
1579
+ transition: color 0.2s;
1580
+ }
1581
+
1582
+ dialog[aria-label="agent records"] [data-file-editor] header {
1583
+ display: flex;
1584
+ align-items: center;
1585
+ gap: 0.5rem;
1586
+ margin-bottom: 0.75rem;
1587
+ }
1588
+
1589
+ dialog[aria-label="agent records"] [data-file-editor] header button {
1590
+ background: none;
1591
+ border: 1px solid var(--border);
1592
+ color: var(--muted);
1593
+ cursor: pointer;
1594
+ padding: 2px 8px;
1595
+ border-radius: 4px;
1596
+ font-family: inherit;
1597
+ font-size: 12px;
1598
+ transition: color 0.2s, border-color 0.2s;
1599
+ }
1600
+
1601
+ dialog[aria-label="agent records"] [data-file-editor] header button:hover {
1602
+ color: var(--white);
1603
+ border-color: var(--muted);
1604
+ }
1605
+
1606
+ dialog[aria-label="agent records"] [data-file-editor] [data-file-name] {
1607
+ font-size: 12px;
1608
+ color: var(--accent);
1609
+ }
1610
+
1611
+ dialog[aria-label="agent records"] [data-file-editor] textarea {
1612
+ width: 100%;
1613
+ background: var(--black);
1614
+ border: 1px solid var(--bg-raised);
1615
+ border-radius: var(--radius);
1616
+ color: var(--white);
1617
+ font-family: inherit;
1618
+ font-size: 12px;
1619
+ padding: 0.6rem 0.75rem;
1620
+ outline: none;
1621
+ resize: vertical;
1622
+ line-height: 1.5;
1623
+ transition: border-color 0.2s;
1624
+ }
1625
+
1626
+ dialog[aria-label="agent records"] [data-file-editor] textarea:focus {
1627
+ border-color: rgba(var(--glow), 0.35);
1628
+ }
1629
+
1630
+ dialog[aria-label="agent records"] [data-file-list]:empty::after {
1631
+ content: 'no records yet';
1632
+ color: var(--muted);
1633
+ font-size: 12px;
1634
+ padding: 0.5rem 0;
1635
+ }
1636
+
1637
+ dialog[aria-label="agent records"] [data-log-list] {
1638
+ display: flex;
1639
+ flex-direction: column;
1640
+ gap: 2px;
1641
+ max-height: 20rem;
1642
+ overflow-y: auto;
1643
+ }
1644
+
1645
+ dialog[aria-label="agent records"] [data-log-list] button {
1646
+ display: flex;
1647
+ align-items: center;
1648
+ gap: 0.5rem;
1649
+ width: 100%;
1650
+ background: none;
1651
+ border: 1px solid var(--bg-raised);
1652
+ border-radius: var(--radius);
1653
+ color: var(--white);
1654
+ font-family: inherit;
1655
+ font-size: 12px;
1656
+ padding: 0.5rem 0.75rem;
1657
+ cursor: pointer;
1658
+ text-align: left;
1659
+ transition: background 0.2s, border-color 0.2s;
1660
+ }
1661
+
1662
+ dialog[aria-label="agent records"] [data-log-list] button:hover {
1663
+ background: var(--bg-raised);
1664
+ border-color: var(--muted);
1665
+ }
1666
+
1667
+ dialog[aria-label="agent records"] [data-log-list] button svg {
1668
+ width: 12px;
1669
+ height: 12px;
1670
+ color: var(--muted);
1671
+ flex-shrink: 0;
1672
+ }