@hanzo/browser-extension 1.9.49 → 1.9.53

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,1752 @@
1
+ /* Hanzo AI Browser Extension Sidebar — Hanzo brand: strictly monochrome.
2
+ See ~/work/hanzo/brand/brand.json — primaryColor #FFFFFF, no chromatic
3
+ accents. Status states are conveyed by intensity, not hue. */
4
+
5
+ :root {
6
+ --bg-primary: #0a0a0a;
7
+ --bg-secondary: #0f0f0f;
8
+ --bg-tertiary: #171717;
9
+ --bg-hover: #262626;
10
+
11
+ --text-primary: #fafafa;
12
+ --text-secondary: #a3a3a3;
13
+ --text-tertiary: #666666;
14
+
15
+ --accent: #fafafa;
16
+ --accent-hover: #d4d4d4;
17
+ --accent-dim: rgba(255,255,255,0.06);
18
+ --accent-glow: rgba(255,255,255,0.03);
19
+
20
+ /* Status: monochrome by hue, distinguished by opacity / weight.
21
+ Brand is strict monochrome, so success/warn/error use luminance. */
22
+ --success: #fafafa;
23
+ --warning: #d4d4d4;
24
+ --error: rgba(255,255,255,0.55);
25
+
26
+ --border: rgba(255,255,255,0.10);
27
+ --border-strong: rgba(255,255,255,0.16);
28
+ --input-border: rgba(255,255,255,0.15);
29
+ --glass: rgba(255,255,255,0.04);
30
+ --glass-strong: rgba(255,255,255,0.07);
31
+ --shadow: 0 4px 12px rgba(0,0,0,0.6);
32
+ --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
33
+ --radius: 10px;
34
+ --radius-md: 8px;
35
+ --radius-sm: 6px;
36
+ }
37
+
38
+ * {
39
+ margin: 0;
40
+ padding: 0;
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ body {
45
+ font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
46
+ background: var(--bg-primary);
47
+ color: var(--text-primary);
48
+ font-size: 13px;
49
+ line-height: 1.6;
50
+ overflow: hidden;
51
+ width: 100%;
52
+ height: 100vh;
53
+ -webkit-font-smoothing: antialiased;
54
+ -moz-osx-font-smoothing: grayscale;
55
+ }
56
+
57
+ html {
58
+ overflow: hidden;
59
+ height: 100vh;
60
+ }
61
+
62
+ .hidden { display: none !important; }
63
+
64
+ /* ==================== Shimmer Keyframes ==================== */
65
+
66
+ @keyframes shimmer {
67
+ 0% { background-position: -200% 0; }
68
+ 100% { background-position: 200% 0; }
69
+ }
70
+
71
+ @keyframes breathe {
72
+ 0%, 100% { opacity: 0.5; }
73
+ 50% { opacity: 1; }
74
+ }
75
+
76
+ @keyframes fadeIn {
77
+ from { opacity: 0; transform: translateY(4px); }
78
+ to { opacity: 1; transform: translateY(0); }
79
+ }
80
+
81
+ @keyframes slideUp {
82
+ from { transform: translateY(20px); opacity: 0; }
83
+ to { transform: translateY(0); opacity: 1; }
84
+ }
85
+
86
+ @keyframes typingBounce {
87
+ 0%, 60%, 100% { transform: translateY(0); }
88
+ 30% { transform: translateY(-4px); }
89
+ }
90
+
91
+ @keyframes glowPulse {
92
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
93
+ 50% { box-shadow: 0 0 12px 2px rgba(255,255,255,0.06); }
94
+ }
95
+
96
+ @keyframes pulse {
97
+ 0%, 100% { opacity: 1; }
98
+ 50% { opacity: 0.5; }
99
+ }
100
+
101
+ /* ==================== Layout ==================== */
102
+
103
+ .sidebar-container {
104
+ width: 100%;
105
+ min-width: 0;
106
+ height: 100vh;
107
+ display: flex;
108
+ flex-direction: column;
109
+ background: var(--bg-secondary);
110
+ border-left: 1px solid var(--border);
111
+ position: relative;
112
+ overflow: hidden;
113
+ }
114
+
115
+ /* Ambient glow behind sidebar */
116
+ .sidebar-container::before {
117
+ content: '';
118
+ position: absolute;
119
+ top: 0;
120
+ left: 0;
121
+ right: 0;
122
+ height: 200px;
123
+ background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 70%);
124
+ pointer-events: none;
125
+ z-index: 0;
126
+ }
127
+
128
+ /* ==================== Header ==================== */
129
+
130
+ .sidebar-header {
131
+ display: flex;
132
+ align-items: center;
133
+ justify-content: space-between;
134
+ padding: 12px 16px;
135
+ border-bottom: 1px solid var(--border);
136
+ background: rgba(0,0,0,0.6);
137
+ backdrop-filter: blur(20px) saturate(180%);
138
+ -webkit-backdrop-filter: blur(20px) saturate(180%);
139
+ flex-shrink: 0;
140
+ position: relative;
141
+ z-index: 10;
142
+ }
143
+
144
+ .brand {
145
+ display: flex;
146
+ align-items: center;
147
+ gap: 10px;
148
+ font-weight: 600;
149
+ font-size: 15px;
150
+ letter-spacing: -0.01em;
151
+ }
152
+
153
+ .logo {
154
+ width: 22px;
155
+ height: 22px;
156
+ color: var(--accent);
157
+ filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
158
+ transition: filter 0.3s ease;
159
+ }
160
+
161
+ .logo:hover {
162
+ filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
163
+ }
164
+
165
+ .header-right {
166
+ display: flex;
167
+ align-items: center;
168
+ gap: 8px;
169
+ }
170
+
171
+ .user-badge {
172
+ width: 28px;
173
+ height: 28px;
174
+ border-radius: 50%;
175
+ overflow: hidden;
176
+ cursor: pointer;
177
+ border: 1px solid var(--border);
178
+ transition: border-color 0.2s, box-shadow 0.2s;
179
+ }
180
+
181
+ .user-badge:hover {
182
+ border-color: var(--border-strong);
183
+ box-shadow: 0 0 8px rgba(255,255,255,0.08);
184
+ }
185
+
186
+ .header-avatar {
187
+ width: 100%;
188
+ height: 100%;
189
+ object-fit: cover;
190
+ }
191
+
192
+ /* ==================== Auth ==================== */
193
+
194
+ .auth-section {
195
+ flex: 1;
196
+ display: flex;
197
+ align-items: center;
198
+ justify-content: center;
199
+ padding: 32px 20px;
200
+ }
201
+
202
+ .auth-card {
203
+ text-align: center;
204
+ }
205
+
206
+ .auth-logo {
207
+ width: 56px;
208
+ height: 56px;
209
+ color: var(--text-primary);
210
+ margin-bottom: 20px;
211
+ }
212
+
213
+ .auth-card h2 {
214
+ font-size: 18px;
215
+ font-weight: 600;
216
+ margin-bottom: 8px;
217
+ }
218
+
219
+ .auth-card p {
220
+ color: var(--text-secondary);
221
+ font-size: 13px;
222
+ margin-bottom: 24px;
223
+ line-height: 1.5;
224
+ }
225
+
226
+ /* In-chat login prompt */
227
+ .chat-login-prompt {
228
+ display: flex;
229
+ align-items: center;
230
+ justify-content: center;
231
+ padding: 40px 24px;
232
+ flex: 1;
233
+ animation: fadeIn 0.4s ease;
234
+ }
235
+
236
+ .auth-card.compact {
237
+ text-align: center;
238
+ max-width: 280px;
239
+ width: 100%;
240
+ }
241
+
242
+ .auth-card.compact .auth-logo {
243
+ width: 56px;
244
+ height: 56px;
245
+ color: var(--text-primary);
246
+ margin: 0 auto 24px;
247
+ display: block;
248
+ filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.15));
249
+ }
250
+
251
+ .auth-card.compact .auth-headline {
252
+ font-size: 22px;
253
+ font-weight: 700;
254
+ color: var(--text-primary);
255
+ margin-bottom: 10px;
256
+ letter-spacing: -0.02em;
257
+ }
258
+
259
+ .auth-card.compact .auth-sub {
260
+ font-size: 13px;
261
+ color: var(--text-secondary);
262
+ margin-bottom: 24px;
263
+ line-height: 1.5;
264
+ }
265
+
266
+ /* Sign-in button — matches @hanzo/gui primary button on dark (monochrome) */
267
+ .auth-signin-btn {
268
+ width: 100%;
269
+ padding: 10px 16px;
270
+ height: 40px;
271
+ background: var(--accent);
272
+ color: #0a0a0a;
273
+ border: none;
274
+ border-radius: var(--radius-md);
275
+ font-size: 14px;
276
+ font-weight: 600;
277
+ cursor: pointer;
278
+ transition: background 0.15s, box-shadow 0.15s;
279
+ margin-bottom: 10px;
280
+ letter-spacing: -0.01em;
281
+ }
282
+
283
+ .auth-signin-btn:hover {
284
+ background: var(--accent-hover);
285
+ box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
286
+ }
287
+
288
+ .auth-signin-btn:active {
289
+ transform: scale(0.98);
290
+ }
291
+
292
+ .auth-signin-btn:disabled {
293
+ opacity: 0.5;
294
+ cursor: not-allowed;
295
+ }
296
+
297
+ /* Ghost create account button */
298
+ .auth-create-btn {
299
+ width: 100%;
300
+ padding: 10px 16px;
301
+ height: 36px;
302
+ background: transparent;
303
+ color: var(--text-secondary);
304
+ border: 1px solid var(--border);
305
+ border-radius: var(--radius-md);
306
+ font-size: 13px;
307
+ font-weight: 500;
308
+ cursor: pointer;
309
+ transition: all 0.15s;
310
+ margin-bottom: 16px;
311
+ }
312
+
313
+ .auth-create-btn:hover {
314
+ color: var(--text-primary);
315
+ background: var(--glass);
316
+ border-color: var(--border-strong);
317
+ }
318
+
319
+ .auth-card.compact .auth-note {
320
+ font-size: 11px;
321
+ color: var(--text-tertiary);
322
+ margin-bottom: 0;
323
+ line-height: 1.5;
324
+ }
325
+
326
+ .auth-card.compact .auth-note a {
327
+ color: var(--text-secondary);
328
+ text-decoration: underline;
329
+ text-underline-offset: 2px;
330
+ }
331
+
332
+ .auth-card.compact .auth-note a:hover {
333
+ color: var(--text-primary);
334
+ }
335
+
336
+ /* ==================== Tab Bar ==================== */
337
+
338
+ .tab-bar {
339
+ display: flex;
340
+ border-bottom: 1px solid var(--border);
341
+ background: rgba(0,0,0,0.5);
342
+ backdrop-filter: blur(16px) saturate(180%);
343
+ -webkit-backdrop-filter: blur(16px) saturate(180%);
344
+ flex-shrink: 0;
345
+ position: relative;
346
+ z-index: 10;
347
+ }
348
+
349
+ .tab {
350
+ flex: 1;
351
+ padding: 10px 8px;
352
+ background: none;
353
+ border: none;
354
+ border-bottom: 2px solid transparent;
355
+ color: var(--text-secondary);
356
+ font-size: 13px;
357
+ font-weight: 500;
358
+ cursor: pointer;
359
+ display: flex;
360
+ align-items: center;
361
+ justify-content: center;
362
+ gap: 4px;
363
+ transition: all 0.25s ease;
364
+ position: relative;
365
+ }
366
+
367
+ .tab:hover {
368
+ color: var(--text-primary);
369
+ background: var(--glass);
370
+ }
371
+
372
+ .tab.active {
373
+ color: var(--accent);
374
+ border-bottom-color: var(--accent);
375
+ }
376
+
377
+ /* Shimmer on active tab */
378
+ .tab.active::after {
379
+ content: '';
380
+ position: absolute;
381
+ bottom: -1px;
382
+ left: 20%;
383
+ right: 20%;
384
+ height: 1px;
385
+ background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
386
+ animation: shimmer 3s infinite linear;
387
+ background-size: 200% 100%;
388
+ }
389
+
390
+ /* ==================== Tab Content ==================== */
391
+
392
+ .tab-content {
393
+ flex: 1;
394
+ min-height: 0;
395
+ display: flex;
396
+ flex-direction: column;
397
+ overflow: hidden;
398
+ animation: fadeIn 0.2s ease;
399
+ }
400
+
401
+ .tools-scroll,
402
+ .settings-scroll {
403
+ flex: 1;
404
+ min-height: 0;
405
+ overflow-y: auto;
406
+ padding-bottom: 8px;
407
+ overflow-x: hidden;
408
+ padding: 16px;
409
+ display: flex;
410
+ flex-direction: column;
411
+ gap: 16px;
412
+ scrollbar-width: thin;
413
+ scrollbar-color: rgba(255,255,255,0.08) transparent;
414
+ }
415
+
416
+ /* ==================== Chat ==================== */
417
+
418
+ .chat-messages {
419
+ flex: 1;
420
+ min-height: 0;
421
+ overflow-y: auto;
422
+ overflow-x: hidden;
423
+ padding: 16px;
424
+ display: flex;
425
+ flex-direction: column;
426
+ gap: 12px;
427
+ scrollbar-width: thin;
428
+ scrollbar-color: rgba(255,255,255,0.08) transparent;
429
+ }
430
+
431
+ .chat-welcome {
432
+ display: flex;
433
+ flex-direction: column;
434
+ align-items: center;
435
+ justify-content: center;
436
+ flex: 1;
437
+ text-align: center;
438
+ color: var(--text-tertiary);
439
+ padding: 40px 20px;
440
+ font-size: 12px;
441
+ letter-spacing: 0.01em;
442
+ gap: 8px;
443
+ }
444
+
445
+ .chat-welcome p {
446
+ animation: breathe 4s infinite ease-in-out;
447
+ }
448
+
449
+ .msg {
450
+ max-width: 90%;
451
+ padding: 10px 14px;
452
+ border-radius: var(--radius);
453
+ font-size: 13px;
454
+ line-height: 1.5;
455
+ word-wrap: break-word;
456
+ animation: fadeIn 0.3s ease;
457
+ }
458
+
459
+ .msg-user {
460
+ align-self: flex-end;
461
+ background: var(--glass-strong);
462
+ backdrop-filter: blur(12px);
463
+ -webkit-backdrop-filter: blur(12px);
464
+ color: var(--text-primary);
465
+ border: 1px solid var(--border);
466
+ border-bottom-right-radius: 4px;
467
+ }
468
+
469
+ .msg-assistant {
470
+ align-self: flex-start;
471
+ background: var(--bg-tertiary);
472
+ color: var(--text-primary);
473
+ border-bottom-left-radius: 4px;
474
+ border: 1px solid var(--border);
475
+ }
476
+
477
+ .msg-assistant pre {
478
+ background: var(--bg-primary);
479
+ border: 1px solid var(--border);
480
+ border-radius: var(--radius-sm);
481
+ padding: 10px 12px;
482
+ margin: 8px 0;
483
+ overflow-x: auto;
484
+ font-family: 'Geist Mono', 'Monaco', 'Consolas', monospace;
485
+ font-size: 12px;
486
+ line-height: 1.4;
487
+ }
488
+
489
+ .msg-assistant code {
490
+ font-family: 'Geist Mono', 'Monaco', 'Consolas', monospace;
491
+ font-size: 12px;
492
+ background: rgba(255,255,255,0.06);
493
+ padding: 2px 5px;
494
+ border-radius: 3px;
495
+ }
496
+
497
+ .msg-assistant pre code {
498
+ background: none;
499
+ padding: 0;
500
+ }
501
+
502
+ .msg-error {
503
+ align-self: center;
504
+ background: var(--error);
505
+ color: white;
506
+ font-size: 12px;
507
+ padding: 6px 12px;
508
+ border-radius: var(--radius-sm);
509
+ }
510
+
511
+ .typing-indicator {
512
+ align-self: flex-start;
513
+ color: var(--text-tertiary);
514
+ font-size: 12px;
515
+ padding: 6px 0;
516
+ display: flex;
517
+ align-items: center;
518
+ gap: 4px;
519
+ }
520
+
521
+ .typing-indicator span {
522
+ display: inline-block;
523
+ width: 6px;
524
+ height: 6px;
525
+ background: var(--text-tertiary);
526
+ border-radius: 50%;
527
+ animation: typingBounce 1.4s infinite;
528
+ }
529
+
530
+ .typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
531
+ .typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
532
+
533
+ /* ==================== Composer (Modern Chat Input) ==================== */
534
+
535
+ .composer {
536
+ padding: 10px;
537
+ flex-shrink: 0;
538
+ position: relative;
539
+ z-index: 10;
540
+ border-top: 1px solid rgba(255,255,255,0.10);
541
+ background: #0f0f0f;
542
+ }
543
+
544
+ .composer-box {
545
+ background: #171717;
546
+ border: 1px solid rgba(255,255,255,0.15);
547
+ border-radius: 10px;
548
+ overflow: hidden;
549
+ transition: border-color 0.2s, box-shadow 0.2s;
550
+ }
551
+
552
+ .composer-box:focus-within {
553
+ border-color: rgba(255,255,255,0.22);
554
+ box-shadow: 0 0 0 2px rgba(255,255,255,0.06);
555
+ }
556
+
557
+ .composer-box textarea {
558
+ display: block;
559
+ width: 100%;
560
+ padding: 10px 12px 4px;
561
+ background: transparent;
562
+ border: none;
563
+ color: #fafafa;
564
+ font-size: 13px;
565
+ font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
566
+ line-height: 1.5;
567
+ resize: none;
568
+ outline: none;
569
+ min-height: 36px;
570
+ max-height: 120px;
571
+ box-sizing: border-box;
572
+ }
573
+
574
+ .composer-box textarea::placeholder {
575
+ color: #666;
576
+ }
577
+
578
+ .composer-bar {
579
+ display: flex;
580
+ align-items: center;
581
+ justify-content: space-between;
582
+ padding: 4px 8px 8px;
583
+ gap: 4px;
584
+ }
585
+
586
+ .composer-controls {
587
+ display: flex;
588
+ align-items: center;
589
+ gap: 4px;
590
+ flex: 1;
591
+ min-width: 0;
592
+ overflow: hidden;
593
+ }
594
+
595
+ .composer-model {
596
+ padding: 3px 18px 3px 6px;
597
+ background: rgba(255,255,255,0.07);
598
+ border: 1px solid rgba(255,255,255,0.10);
599
+ border-radius: 6px;
600
+ color: #a3a3a3;
601
+ font-size: 10px;
602
+ font-family: inherit;
603
+ cursor: pointer;
604
+ -webkit-appearance: none;
605
+ -moz-appearance: none;
606
+ appearance: none;
607
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2.5 4l2.5 2.5 2.5-2.5' stroke='%236B6B6B' stroke-width='1.2'/%3E%3C/svg%3E");
608
+ background-repeat: no-repeat;
609
+ background-position: right 4px center;
610
+ white-space: nowrap;
611
+ max-width: 110px;
612
+ text-overflow: ellipsis;
613
+ overflow: hidden;
614
+ transition: border-color 0.2s;
615
+ height: 22px;
616
+ flex-shrink: 0;
617
+ line-height: 16px;
618
+ }
619
+
620
+ .composer-model:hover {
621
+ border-color: rgba(255,255,255,0.16);
622
+ }
623
+
624
+ .composer-model:focus {
625
+ border-color: rgba(255,255,255,0.16);
626
+ outline: none;
627
+ }
628
+
629
+ .composer-toggle {
630
+ display: inline-flex;
631
+ align-items: center;
632
+ gap: 2px;
633
+ font-size: 10px;
634
+ color: #666;
635
+ user-select: none;
636
+ cursor: pointer;
637
+ white-space: nowrap;
638
+ padding: 2px 4px;
639
+ border-radius: 4px;
640
+ transition: background 0.15s;
641
+ flex-shrink: 0;
642
+ }
643
+
644
+ .composer-toggle:hover {
645
+ background: rgba(255,255,255,0.04);
646
+ }
647
+
648
+ .composer-toggle input[type="checkbox"] {
649
+ width: 11px;
650
+ height: 11px;
651
+ accent-color: #fafafa;
652
+ cursor: pointer;
653
+ margin: 0;
654
+ }
655
+
656
+ .composer-toggle:has(input:checked) {
657
+ color: #a3a3a3;
658
+ }
659
+
660
+ .composer-status {
661
+ font-size: 9px;
662
+ color: var(--text-tertiary);
663
+ white-space: nowrap;
664
+ padding: 1px 5px;
665
+ border-radius: 3px;
666
+ background: var(--glass);
667
+ }
668
+
669
+ .composer-send {
670
+ width: 30px;
671
+ height: 30px;
672
+ display: flex;
673
+ align-items: center;
674
+ justify-content: center;
675
+ background: var(--accent);
676
+ border: none;
677
+ border-radius: 50%;
678
+ color: #000;
679
+ cursor: pointer;
680
+ flex-shrink: 0;
681
+ transition: all 0.2s;
682
+ }
683
+
684
+ .composer-send:hover {
685
+ background: var(--accent-hover);
686
+ box-shadow: 0 0 12px rgba(255,255,255,0.15);
687
+ transform: scale(1.05);
688
+ }
689
+
690
+ .composer-send:active {
691
+ transform: scale(0.95);
692
+ }
693
+
694
+ .composer-send:disabled {
695
+ opacity: 0.15;
696
+ cursor: not-allowed;
697
+ box-shadow: none;
698
+ transform: none;
699
+ }
700
+
701
+ .composer-send svg {
702
+ width: 13px;
703
+ height: 13px;
704
+ }
705
+
706
+ /* ==================== Buttons ==================== */
707
+
708
+ .icon-btn {
709
+ width: 32px;
710
+ height: 32px;
711
+ display: flex;
712
+ align-items: center;
713
+ justify-content: center;
714
+ background: transparent;
715
+ border: none;
716
+ border-radius: var(--radius-sm);
717
+ color: var(--text-secondary);
718
+ cursor: pointer;
719
+ transition: all 0.2s;
720
+ }
721
+
722
+ .icon-btn:hover {
723
+ background: var(--glass-strong);
724
+ color: var(--text-primary);
725
+ }
726
+
727
+ .icon-btn.small {
728
+ width: 24px;
729
+ height: 24px;
730
+ }
731
+
732
+ .icon-btn svg {
733
+ width: 18px;
734
+ height: 18px;
735
+ }
736
+
737
+ .settings-scroll > .primary-btn {
738
+ margin-top: 4px;
739
+ margin-bottom: 12px;
740
+ flex-shrink: 0;
741
+ }
742
+
743
+ .primary-btn {
744
+ width: 100%;
745
+ padding: 10px 16px;
746
+ background: var(--accent);
747
+ color: #000000;
748
+ border: none;
749
+ border-radius: var(--radius-md);
750
+ font-weight: 600;
751
+ font-size: 13px;
752
+ cursor: pointer;
753
+ transition: all 0.25s ease;
754
+ position: relative;
755
+ overflow: hidden;
756
+ }
757
+
758
+ /* Shimmer sweep on primary buttons */
759
+ .primary-btn::after {
760
+ content: '';
761
+ position: absolute;
762
+ top: 0;
763
+ left: -100%;
764
+ width: 100%;
765
+ height: 100%;
766
+ background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
767
+ transition: left 0.5s ease;
768
+ }
769
+
770
+ .primary-btn:hover {
771
+ background: var(--accent-hover);
772
+ box-shadow: 0 0 16px rgba(255,255,255,0.12);
773
+ }
774
+
775
+ .primary-btn:hover::after {
776
+ left: 100%;
777
+ }
778
+
779
+ .primary-btn:disabled {
780
+ opacity: 0.4;
781
+ cursor: not-allowed;
782
+ }
783
+
784
+ .secondary-btn {
785
+ width: 100%;
786
+ padding: 8px 16px;
787
+ background: var(--bg-tertiary);
788
+ color: var(--text-primary);
789
+ border: 1px solid var(--border);
790
+ border-radius: var(--radius-md);
791
+ font-size: 12px;
792
+ font-family: inherit;
793
+ cursor: pointer;
794
+ transition: all 0.2s;
795
+ }
796
+
797
+ .secondary-btn:hover {
798
+ background: var(--bg-hover);
799
+ border-color: var(--border-strong);
800
+ }
801
+
802
+ .action-btn {
803
+ flex: 1;
804
+ display: flex;
805
+ align-items: center;
806
+ justify-content: center;
807
+ gap: 8px;
808
+ padding: 10px;
809
+ background: var(--bg-tertiary);
810
+ border: 1px solid var(--border);
811
+ border-radius: var(--radius-md);
812
+ color: var(--text-primary);
813
+ font-size: 12px;
814
+ font-weight: 500;
815
+ font-family: inherit;
816
+ cursor: pointer;
817
+ transition: all 0.25s ease;
818
+ }
819
+
820
+ .action-btn:hover {
821
+ background: var(--bg-hover);
822
+ border-color: var(--border-strong);
823
+ }
824
+
825
+ .action-btn svg {
826
+ width: 16px;
827
+ height: 16px;
828
+ }
829
+
830
+ /* ==================== Glass Panels ==================== */
831
+
832
+ .panel {
833
+ background: var(--bg-tertiary);
834
+ border: 1px solid var(--border);
835
+ border-radius: var(--radius);
836
+ padding: 16px;
837
+ transition: border-color 0.3s;
838
+ position: relative;
839
+ overflow: visible;
840
+ }
841
+
842
+ /* Subtle top highlight on glass panels */
843
+ .panel::before {
844
+ content: '';
845
+ position: absolute;
846
+ top: 0;
847
+ left: 0;
848
+ right: 0;
849
+ height: 1px;
850
+ background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.08) 50%, transparent 90%);
851
+ }
852
+
853
+ .panel:hover {
854
+ border-color: var(--border-strong);
855
+ }
856
+
857
+ .panel h3 {
858
+ font-size: 11px;
859
+ font-weight: 600;
860
+ color: var(--text-secondary);
861
+ margin-bottom: 12px;
862
+ text-transform: uppercase;
863
+ letter-spacing: 0.5px;
864
+ }
865
+
866
+ .panel-header {
867
+ display: flex;
868
+ align-items: center;
869
+ justify-content: space-between;
870
+ margin-bottom: 12px;
871
+ }
872
+
873
+ .badge {
874
+ background: var(--accent-dim);
875
+ color: var(--accent);
876
+ padding: 2px 8px;
877
+ border-radius: var(--radius);
878
+ font-size: 11px;
879
+ font-weight: 600;
880
+ }
881
+
882
+ /* Status Rows */
883
+ .status-row {
884
+ display: flex;
885
+ justify-content: space-between;
886
+ align-items: center;
887
+ padding: 8px 0;
888
+ border-bottom: 1px solid var(--border);
889
+ }
890
+
891
+ .status-row:last-child { border-bottom: none; }
892
+
893
+ .status-row span:first-child {
894
+ color: var(--text-secondary);
895
+ font-size: 12px;
896
+ }
897
+
898
+ .status-value {
899
+ display: flex;
900
+ align-items: center;
901
+ gap: 6px;
902
+ font-size: 12px;
903
+ font-weight: 500;
904
+ }
905
+
906
+ .status-indicator {
907
+ width: 8px;
908
+ height: 8px;
909
+ border-radius: 50%;
910
+ background: var(--text-tertiary);
911
+ transition: all 0.3s;
912
+ }
913
+
914
+ .status-indicator.connected {
915
+ background: var(--success);
916
+ box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
917
+ animation: glowPulse 3s infinite;
918
+ }
919
+
920
+ .status-indicator.warning {
921
+ background: var(--warning);
922
+ box-shadow: 0 0 8px rgba(255, 193, 7, 0.2);
923
+ }
924
+
925
+ .status-indicator.disconnected {
926
+ background: var(--error);
927
+ box-shadow: 0 0 8px rgba(244, 67, 54, 0.2);
928
+ }
929
+
930
+ .mono {
931
+ font-family: 'Geist Mono', 'Monaco', 'Consolas', monospace;
932
+ font-size: 11px;
933
+ }
934
+
935
+ .service-actions {
936
+ display: flex;
937
+ gap: 8px;
938
+ margin-top: 12px;
939
+ }
940
+
941
+ .action-btn.small {
942
+ padding: 6px 10px;
943
+ font-size: 11px;
944
+ gap: 4px;
945
+ }
946
+
947
+ .action-btn.small svg {
948
+ width: 10px;
949
+ height: 10px;
950
+ }
951
+
952
+ /* Element Inspector Panel */
953
+ .inspector-panel {
954
+ background: var(--bg-secondary);
955
+ border-color: var(--border-strong);
956
+ }
957
+
958
+ .inspector-actions {
959
+ display: flex;
960
+ gap: 6px;
961
+ }
962
+
963
+ .inspector-btn {
964
+ flex: 1;
965
+ padding: 8px 6px;
966
+ font-size: 11px;
967
+ gap: 4px;
968
+ justify-content: center;
969
+ border-radius: var(--radius-sm);
970
+ background: var(--glass-strong);
971
+ border: 1px solid var(--border);
972
+ color: var(--text-primary);
973
+ cursor: pointer;
974
+ display: flex;
975
+ align-items: center;
976
+ transition: all 0.2s;
977
+ }
978
+
979
+ .inspector-btn:hover {
980
+ background: var(--bg-hover);
981
+ border-color: var(--border-strong);
982
+ }
983
+
984
+ .inspector-btn.active {
985
+ background: rgba(255,255,255,0.12);
986
+ border-color: var(--accent);
987
+ box-shadow: 0 0 8px rgba(255,255,255,0.1);
988
+ }
989
+
990
+ .inspector-btn svg {
991
+ width: 14px;
992
+ height: 14px;
993
+ flex-shrink: 0;
994
+ }
995
+
996
+ .inspector-result {
997
+ margin-top: 8px;
998
+ padding: 8px;
999
+ background: var(--bg-primary);
1000
+ border: 1px solid var(--border);
1001
+ border-radius: var(--radius-sm);
1002
+ font-size: 11px;
1003
+ font-family: 'Geist Mono', 'Monaco', 'Consolas', monospace;
1004
+ color: var(--text-secondary);
1005
+ max-height: 200px;
1006
+ overflow-y: auto;
1007
+ scrollbar-width: thin;
1008
+ scrollbar-color: rgba(255,255,255,0.08) transparent;
1009
+ white-space: pre-wrap;
1010
+ word-break: break-all;
1011
+ }
1012
+
1013
+ /* Element-syntax tinting — kept monochrome via opacity, not hue. */
1014
+ .inspector-result .element-tag {
1015
+ color: #fafafa;
1016
+ font-weight: 600;
1017
+ }
1018
+
1019
+ .inspector-result .element-id {
1020
+ color: rgba(255,255,255,0.78);
1021
+ }
1022
+
1023
+ .inspector-result .element-class {
1024
+ color: rgba(255,255,255,0.62);
1025
+ }
1026
+
1027
+ .inspector-result .element-size {
1028
+ color: var(--text-tertiary);
1029
+ }
1030
+
1031
+ .inspector-result .copy-line {
1032
+ display: block;
1033
+ cursor: pointer;
1034
+ padding: 1px 4px;
1035
+ border-radius: 3px;
1036
+ transition: background 0.15s;
1037
+ }
1038
+
1039
+ .inspector-result .copy-line:hover {
1040
+ background: rgba(255, 255, 255, 0.08);
1041
+ }
1042
+
1043
+ .inspector-result .copy-line.copied {
1044
+ background: rgba(76, 175, 80, 0.15);
1045
+ }
1046
+
1047
+ .inspector-result .info-label {
1048
+ color: var(--text-tertiary);
1049
+ user-select: none;
1050
+ }
1051
+
1052
+ .inspector-result img {
1053
+ max-width: 100%;
1054
+ border-radius: 4px;
1055
+ margin-top: 4px;
1056
+ }
1057
+
1058
+ /* Build Info */
1059
+ .build-info-panel .status-value.mono {
1060
+ font-size: 11px;
1061
+ }
1062
+
1063
+ .tool-list {
1064
+ max-height: 200px;
1065
+ overflow-y: auto;
1066
+ font-size: 11px;
1067
+ line-height: 1.4;
1068
+ color: var(--text-tertiary);
1069
+ font-family: 'Geist Mono', 'Monaco', 'Consolas', monospace;
1070
+ white-space: pre-wrap;
1071
+ word-break: break-all;
1072
+ scrollbar-width: thin;
1073
+ scrollbar-color: rgba(255,255,255,0.08) transparent;
1074
+ }
1075
+
1076
+ .tool-category {
1077
+ padding: 4px 0;
1078
+ border-bottom: 1px solid var(--border);
1079
+ }
1080
+
1081
+ .tool-category:last-child {
1082
+ border-bottom: none;
1083
+ }
1084
+
1085
+ .tool-category-name {
1086
+ color: var(--text-secondary);
1087
+ font-weight: 600;
1088
+ font-family: inherit;
1089
+ font-size: 10px;
1090
+ text-transform: uppercase;
1091
+ letter-spacing: 0.3px;
1092
+ }
1093
+
1094
+ .tool-category-tools {
1095
+ color: var(--text-tertiary);
1096
+ font-size: 10px;
1097
+ }
1098
+
1099
+ /* MCP Server List */
1100
+ .mcp-server-list {
1101
+ display: flex;
1102
+ flex-direction: column;
1103
+ gap: 6px;
1104
+ }
1105
+
1106
+ .mcp-server-item {
1107
+ display: flex;
1108
+ align-items: center;
1109
+ justify-content: space-between;
1110
+ padding: 8px 10px;
1111
+ background: var(--glass);
1112
+ border: 1px solid var(--border);
1113
+ border-radius: var(--radius-sm);
1114
+ font-size: 12px;
1115
+ transition: border-color 0.2s;
1116
+ }
1117
+
1118
+ .mcp-server-item:hover {
1119
+ border-color: var(--border-strong);
1120
+ }
1121
+
1122
+ .mcp-server-info {
1123
+ display: flex;
1124
+ align-items: center;
1125
+ gap: 8px;
1126
+ min-width: 0;
1127
+ }
1128
+
1129
+ .mcp-server-name {
1130
+ font-weight: 500;
1131
+ color: var(--text-primary);
1132
+ white-space: nowrap;
1133
+ overflow: hidden;
1134
+ text-overflow: ellipsis;
1135
+ }
1136
+
1137
+ .mcp-server-tools {
1138
+ color: var(--text-tertiary);
1139
+ font-size: 11px;
1140
+ white-space: nowrap;
1141
+ flex-shrink: 0;
1142
+ }
1143
+
1144
+ /* ==================== User Profile ==================== */
1145
+
1146
+ .user-profile {
1147
+ display: flex;
1148
+ align-items: center;
1149
+ gap: 12px;
1150
+ }
1151
+
1152
+ .user-avatar {
1153
+ width: 36px;
1154
+ height: 36px;
1155
+ border-radius: 50%;
1156
+ background: var(--accent-dim);
1157
+ border: 1px solid var(--border);
1158
+ }
1159
+
1160
+ .user-details { flex: 1; }
1161
+
1162
+ .user-name {
1163
+ font-weight: 600;
1164
+ font-size: 13px;
1165
+ }
1166
+
1167
+ .user-email {
1168
+ color: var(--text-secondary);
1169
+ font-size: 11px;
1170
+ }
1171
+
1172
+ /* ==================== Agent List ==================== */
1173
+
1174
+ .agent-list {
1175
+ display: flex;
1176
+ flex-direction: column;
1177
+ gap: 8px;
1178
+ }
1179
+
1180
+ .agent-item {
1181
+ display: flex;
1182
+ align-items: center;
1183
+ gap: 10px;
1184
+ padding: 10px;
1185
+ background: var(--glass);
1186
+ border: 1px solid var(--border);
1187
+ border-radius: var(--radius-sm);
1188
+ transition: all 0.2s;
1189
+ }
1190
+
1191
+ .agent-item:hover {
1192
+ background: var(--glass-strong);
1193
+ border-color: var(--border-strong);
1194
+ }
1195
+
1196
+ .agent-icon {
1197
+ width: 32px;
1198
+ height: 32px;
1199
+ background: var(--accent-dim);
1200
+ border-radius: var(--radius-sm);
1201
+ display: flex;
1202
+ align-items: center;
1203
+ justify-content: center;
1204
+ color: var(--accent);
1205
+ }
1206
+
1207
+ .agent-info { flex: 1; }
1208
+ .agent-name { font-weight: 500; font-size: 13px; }
1209
+ .agent-status { color: var(--text-secondary); font-size: 11px; }
1210
+ .agent-actions { display: flex; gap: 4px; }
1211
+
1212
+ /* ==================== Tab Filesystem ==================== */
1213
+
1214
+ .tab-filesystem {
1215
+ max-height: 240px;
1216
+ overflow-y: auto;
1217
+ font-family: 'Geist Mono', 'Monaco', 'Consolas', monospace;
1218
+ font-size: 12px;
1219
+ scrollbar-width: thin;
1220
+ scrollbar-color: rgba(255,255,255,0.08) transparent;
1221
+ }
1222
+
1223
+ .tab-item {
1224
+ display: flex;
1225
+ align-items: center;
1226
+ gap: 6px;
1227
+ padding: 6px 8px;
1228
+ border-radius: 4px;
1229
+ cursor: pointer;
1230
+ transition: all 0.2s;
1231
+ }
1232
+
1233
+ .tab-item:hover { background: var(--glass-strong); }
1234
+
1235
+ .tab-item.active {
1236
+ background: var(--accent-dim);
1237
+ color: var(--accent);
1238
+ }
1239
+
1240
+ /* ==================== Settings ==================== */
1241
+
1242
+ .setting-item {
1243
+ display: flex;
1244
+ align-items: center;
1245
+ justify-content: space-between;
1246
+ gap: 8px;
1247
+ padding: 8px 0;
1248
+ }
1249
+
1250
+ .setting-item > span {
1251
+ font-size: 12px;
1252
+ color: var(--text-secondary);
1253
+ white-space: nowrap;
1254
+ flex-shrink: 0;
1255
+ }
1256
+
1257
+ .setting-item input[type="text"],
1258
+ .setting-item input[type="password"],
1259
+ .setting-item select {
1260
+ width: 140px;
1261
+ padding: 6px 10px;
1262
+ background: var(--bg-tertiary);
1263
+ border: 1px solid var(--border);
1264
+ border-radius: var(--radius-sm);
1265
+ color: var(--text-primary);
1266
+ font-size: 12px;
1267
+ font-family: inherit;
1268
+ transition: border-color 0.2s;
1269
+ }
1270
+
1271
+ .setting-item select {
1272
+ -webkit-appearance: none;
1273
+ -moz-appearance: none;
1274
+ appearance: none;
1275
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23A0A0A0' stroke-width='1.5'/%3E%3C/svg%3E");
1276
+ background-repeat: no-repeat;
1277
+ background-position: right 8px center;
1278
+ padding-right: 28px;
1279
+ cursor: pointer;
1280
+ }
1281
+
1282
+ .setting-item input:focus,
1283
+ .setting-item select:focus {
1284
+ border-color: var(--border-strong);
1285
+ outline: none;
1286
+ }
1287
+
1288
+ .setting-item-column {
1289
+ flex-direction: column;
1290
+ align-items: flex-start;
1291
+ gap: 6px;
1292
+ }
1293
+
1294
+ .setting-item-column input[type="text"],
1295
+ .setting-item-column input[type="password"] {
1296
+ width: 100%;
1297
+ }
1298
+
1299
+ .setting-item input[type="number"] {
1300
+ width: 70px;
1301
+ padding: 6px 10px;
1302
+ background: var(--bg-tertiary);
1303
+ border: 1px solid var(--border);
1304
+ border-radius: var(--radius-sm);
1305
+ color: var(--text-primary);
1306
+ font-size: 12px;
1307
+ font-family: inherit;
1308
+ -moz-appearance: textfield;
1309
+ transition: border-color 0.2s;
1310
+ }
1311
+
1312
+ .setting-item input[type="number"]::-webkit-inner-spin-button,
1313
+ .setting-item input[type="number"]::-webkit-outer-spin-button {
1314
+ opacity: 0.5;
1315
+ }
1316
+
1317
+ .setting-item input[type="number"]:focus {
1318
+ border-color: var(--border-strong);
1319
+ outline: none;
1320
+ }
1321
+
1322
+ .setting-item input[type="checkbox"] {
1323
+ width: 16px;
1324
+ height: 16px;
1325
+ min-width: 16px;
1326
+ cursor: pointer;
1327
+ accent-color: var(--accent);
1328
+ flex-shrink: 0;
1329
+ }
1330
+
1331
+ /* Firefox: style option elements in dropdowns */
1332
+ select option {
1333
+ background: var(--bg-tertiary);
1334
+ color: var(--text-primary);
1335
+ padding: 4px 8px;
1336
+ }
1337
+
1338
+ /* Color scheme hint for native widgets */
1339
+ :root { color-scheme: dark; }
1340
+
1341
+ .settings-links {
1342
+ display: flex;
1343
+ justify-content: center;
1344
+ gap: 16px;
1345
+ padding: 8px 0;
1346
+ }
1347
+
1348
+ .settings-links a {
1349
+ color: var(--text-secondary);
1350
+ font-size: 12px;
1351
+ text-decoration: none;
1352
+ transition: color 0.2s;
1353
+ }
1354
+
1355
+ .settings-links a:hover {
1356
+ color: var(--accent);
1357
+ }
1358
+
1359
+ /* ==================== Actions ==================== */
1360
+
1361
+ .actions {
1362
+ display: flex;
1363
+ gap: 8px;
1364
+ }
1365
+
1366
+ /* ==================== Empty State ==================== */
1367
+
1368
+ .empty-state {
1369
+ text-align: center;
1370
+ padding: 20px;
1371
+ color: var(--text-tertiary);
1372
+ font-size: 12px;
1373
+ }
1374
+
1375
+ /* ==================== Notification ==================== */
1376
+
1377
+ .notification {
1378
+ position: fixed;
1379
+ bottom: 16px;
1380
+ left: 16px;
1381
+ right: 16px;
1382
+ padding: 10px 16px;
1383
+ background: var(--glass-strong);
1384
+ backdrop-filter: blur(20px);
1385
+ -webkit-backdrop-filter: blur(20px);
1386
+ border: 1px solid var(--border);
1387
+ border-radius: var(--radius-md);
1388
+ color: var(--text-primary);
1389
+ font-size: 12px;
1390
+ text-align: center;
1391
+ z-index: 200;
1392
+ animation: slideUp 0.3s ease;
1393
+ }
1394
+
1395
+ .notification.error {
1396
+ background: var(--error);
1397
+ border-color: var(--error);
1398
+ }
1399
+
1400
+ /* ==================== Scrollbar ==================== */
1401
+
1402
+ /* Firefox */
1403
+ * {
1404
+ scrollbar-width: thin;
1405
+ scrollbar-color: rgba(255,255,255,0.08) transparent;
1406
+ }
1407
+
1408
+ /* Chrome / Safari */
1409
+ ::-webkit-scrollbar { width: 5px; height: 5px; }
1410
+ ::-webkit-scrollbar-track { background: transparent; }
1411
+ ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
1412
+ ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }
1413
+
1414
+ /* ==================== Loading ==================== */
1415
+
1416
+ .loading { animation: pulse 1.5s infinite; }
1417
+
1418
+ /* ==================== Footer ==================== */
1419
+
1420
+ .sidebar-footer {
1421
+ display: flex;
1422
+ align-items: center;
1423
+ justify-content: center;
1424
+ padding: 8px 16px;
1425
+ border-top: 1px solid var(--border);
1426
+ background: rgba(0,0,0,0.4);
1427
+ flex-shrink: 0;
1428
+ position: relative;
1429
+ z-index: 10;
1430
+ }
1431
+
1432
+ .footer-brand {
1433
+ display: flex;
1434
+ align-items: center;
1435
+ gap: 6px;
1436
+ color: var(--text-tertiary);
1437
+ text-decoration: none;
1438
+ font-size: 11px;
1439
+ transition: color 0.2s;
1440
+ }
1441
+
1442
+ .footer-brand:hover {
1443
+ color: var(--text-secondary);
1444
+ }
1445
+
1446
+ .footer-brand svg {
1447
+ opacity: 0.5;
1448
+ transition: opacity 0.2s;
1449
+ }
1450
+
1451
+ .footer-brand:hover svg {
1452
+ opacity: 0.8;
1453
+ }
1454
+
1455
+ /* ==================== Agent Launcher Modal ==================== */
1456
+
1457
+ .modal-overlay {
1458
+ position: fixed;
1459
+ top: 0;
1460
+ left: 0;
1461
+ right: 0;
1462
+ bottom: 0;
1463
+ background: rgba(0, 0, 0, 0.7);
1464
+ backdrop-filter: blur(8px);
1465
+ -webkit-backdrop-filter: blur(8px);
1466
+ display: flex;
1467
+ align-items: center;
1468
+ justify-content: center;
1469
+ z-index: 1000;
1470
+ animation: fadeIn 0.15s ease;
1471
+ }
1472
+
1473
+ .modal-content {
1474
+ background: var(--bg-secondary);
1475
+ border: 1px solid var(--border-strong);
1476
+ border-radius: var(--radius);
1477
+ width: calc(100% - 32px);
1478
+ max-width: 320px;
1479
+ overflow: hidden;
1480
+ box-shadow: var(--shadow-lg);
1481
+ backdrop-filter: blur(24px);
1482
+ -webkit-backdrop-filter: blur(24px);
1483
+ }
1484
+
1485
+ .modal-header {
1486
+ display: flex;
1487
+ align-items: center;
1488
+ justify-content: space-between;
1489
+ padding: 12px 16px;
1490
+ border-bottom: 1px solid var(--border);
1491
+ }
1492
+
1493
+ .modal-header h3 {
1494
+ margin: 0;
1495
+ font-size: 14px;
1496
+ font-weight: 600;
1497
+ color: var(--text-primary);
1498
+ }
1499
+
1500
+ .close-modal {
1501
+ background: none;
1502
+ border: none;
1503
+ color: var(--text-secondary);
1504
+ font-size: 20px;
1505
+ cursor: pointer;
1506
+ padding: 0 4px;
1507
+ line-height: 1;
1508
+ }
1509
+
1510
+ .close-modal:hover {
1511
+ color: var(--text-primary);
1512
+ }
1513
+
1514
+ .modal-body {
1515
+ padding: 16px;
1516
+ }
1517
+
1518
+ .modal-body textarea {
1519
+ width: 100%;
1520
+ background: var(--bg-tertiary);
1521
+ border: 1px solid var(--border);
1522
+ border-radius: var(--radius-sm);
1523
+ color: var(--text-primary);
1524
+ padding: 8px;
1525
+ font-family: inherit;
1526
+ font-size: 12px;
1527
+ resize: vertical;
1528
+ outline: none;
1529
+ }
1530
+
1531
+ .modal-body textarea:focus {
1532
+ border-color: var(--border-strong);
1533
+ }
1534
+
1535
+ .modal-footer {
1536
+ display: flex;
1537
+ gap: 8px;
1538
+ padding: 12px 16px;
1539
+ border-top: 1px solid var(--border);
1540
+ justify-content: flex-end;
1541
+ }
1542
+
1543
+ .cancel-modal {
1544
+ padding: 6px 16px;
1545
+ font-size: 12px;
1546
+ }
1547
+
1548
+ .launch-modal {
1549
+ padding: 6px 16px;
1550
+ font-size: 12px;
1551
+ }
1552
+
1553
+ /* ================================================================
1554
+ Usage & Billing
1555
+ ================================================================ */
1556
+
1557
+ .balance-card {
1558
+ background: var(--glass-strong);
1559
+ border: 1px solid var(--border);
1560
+ border-radius: var(--radius);
1561
+ padding: 10px 12px;
1562
+ margin-bottom: 10px;
1563
+ }
1564
+
1565
+ .balance-row {
1566
+ display: flex;
1567
+ justify-content: space-between;
1568
+ align-items: center;
1569
+ }
1570
+
1571
+ .balance-label {
1572
+ font-size: 10px;
1573
+ font-weight: 600;
1574
+ text-transform: uppercase;
1575
+ letter-spacing: 0.12em;
1576
+ color: var(--text-secondary);
1577
+ }
1578
+
1579
+ .balance-amount {
1580
+ font-size: 20px;
1581
+ font-weight: 700;
1582
+ color: var(--text-primary);
1583
+ font-variant-numeric: tabular-nums;
1584
+ }
1585
+
1586
+ .balance-tier {
1587
+ margin-top: 4px;
1588
+ }
1589
+
1590
+ .tier-badge {
1591
+ display: inline-flex;
1592
+ align-items: center;
1593
+ padding: 2px 8px;
1594
+ border-radius: 999px;
1595
+ font-size: 10px;
1596
+ font-weight: 700;
1597
+ text-transform: uppercase;
1598
+ letter-spacing: 0.08em;
1599
+ background: rgba(255,255,255,0.06);
1600
+ color: var(--text-secondary);
1601
+ border: 1px solid var(--border);
1602
+ }
1603
+
1604
+ .badge-link {
1605
+ text-decoration: none;
1606
+ cursor: pointer;
1607
+ transition: background 0.15s;
1608
+ }
1609
+ .badge-link:hover {
1610
+ background: var(--glass-strong);
1611
+ }
1612
+
1613
+ /* Usage bar system */
1614
+ .usage-meters {
1615
+ display: flex;
1616
+ flex-direction: column;
1617
+ gap: 8px;
1618
+ }
1619
+
1620
+ .usage-meter-header {
1621
+ display: flex;
1622
+ justify-content: space-between;
1623
+ align-items: center;
1624
+ font-size: 11px;
1625
+ color: var(--text-secondary);
1626
+ margin-bottom: 3px;
1627
+ }
1628
+
1629
+ .usage-meter-header .mono {
1630
+ font-family: 'Geist Mono', monospace;
1631
+ font-size: 11px;
1632
+ color: var(--text-primary);
1633
+ }
1634
+
1635
+ .usage-bar-track {
1636
+ width: 100%;
1637
+ height: 6px;
1638
+ border-radius: 3px;
1639
+ background: rgba(255,255,255,0.06);
1640
+ overflow: hidden;
1641
+ }
1642
+
1643
+ .usage-bar-fill {
1644
+ height: 100%;
1645
+ border-radius: 3px;
1646
+ transition: width 0.5s ease-out;
1647
+ min-width: 0;
1648
+ }
1649
+
1650
+ /* Usage bars: monochrome scale (brightest → dimmest) per @hanzo/brand.
1651
+ Class names kept for compatibility with existing markup. */
1652
+ .bar-blue { background: rgba(255,255,255,0.95); }
1653
+ .bar-violet { background: rgba(255,255,255,0.75); }
1654
+ .bar-emerald { background: rgba(255,255,255,0.55); }
1655
+ .bar-amber { background: rgba(255,255,255,0.40); }
1656
+ .bar-red { background: rgba(255,255,255,0.25); }
1657
+
1658
+ .usage-bar-group {
1659
+ margin-top: 8px;
1660
+ }
1661
+
1662
+ .usage-bar-labels {
1663
+ display: flex;
1664
+ justify-content: space-between;
1665
+ font-size: 10px;
1666
+ color: var(--text-tertiary);
1667
+ margin-top: 2px;
1668
+ }
1669
+
1670
+ .usage-meta {
1671
+ display: flex;
1672
+ gap: 6px;
1673
+ align-items: center;
1674
+ font-size: 10px;
1675
+ color: var(--text-tertiary);
1676
+ margin-top: 8px;
1677
+ padding-top: 6px;
1678
+ border-top: 1px solid var(--border);
1679
+ }
1680
+
1681
+ /* Model Hub */
1682
+ .model-hub-list {
1683
+ max-height: 200px;
1684
+ overflow-y: auto;
1685
+ margin-bottom: 8px;
1686
+ }
1687
+
1688
+ .model-hub-item {
1689
+ display: flex;
1690
+ justify-content: space-between;
1691
+ align-items: center;
1692
+ padding: 6px 8px;
1693
+ border-radius: var(--radius-sm);
1694
+ cursor: pointer;
1695
+ transition: background 0.15s;
1696
+ gap: 8px;
1697
+ }
1698
+ .model-hub-item:hover {
1699
+ background: var(--glass-strong);
1700
+ }
1701
+
1702
+ .model-hub-item-info {
1703
+ flex: 1;
1704
+ min-width: 0;
1705
+ }
1706
+
1707
+ .model-hub-item-name {
1708
+ font-size: 12px;
1709
+ font-weight: 500;
1710
+ color: var(--text-primary);
1711
+ white-space: nowrap;
1712
+ overflow: hidden;
1713
+ text-overflow: ellipsis;
1714
+ }
1715
+
1716
+ .model-hub-item-meta {
1717
+ font-size: 10px;
1718
+ color: var(--text-tertiary);
1719
+ display: flex;
1720
+ gap: 6px;
1721
+ }
1722
+
1723
+ .model-hub-item-badge {
1724
+ font-size: 9px;
1725
+ padding: 1px 5px;
1726
+ border-radius: 4px;
1727
+ font-weight: 600;
1728
+ text-transform: uppercase;
1729
+ letter-spacing: 0.05em;
1730
+ white-space: nowrap;
1731
+ }
1732
+ .badge-cloud { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.92); }
1733
+ .badge-local { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.78); }
1734
+ .badge-hub { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.65); }
1735
+
1736
+ .model-hub-actions {
1737
+ display: flex;
1738
+ gap: 6px;
1739
+ }
1740
+
1741
+ .model-search {
1742
+ flex: 1;
1743
+ background: var(--bg-tertiary);
1744
+ border: 1px solid var(--border);
1745
+ border-radius: var(--radius-sm);
1746
+ padding: 5px 8px;
1747
+ font-size: 11px;
1748
+ color: var(--text-primary);
1749
+ outline: none;
1750
+ }
1751
+ .model-search::placeholder { color: var(--text-tertiary); }
1752
+ .model-search:focus { border-color: var(--border-strong); }