@hanzo/browser-extension 1.9.71 → 1.9.73

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.
package/firefox/popup.css CHANGED
@@ -1,28 +1,33 @@
1
- /* Hanzo AI Browser Extension Popup — Modernized hanzo.ai Theme */
1
+ /* Hanzo AI Browser Extension Popup — hanzo.dev pitch-black monochrome minimalism */
2
2
 
3
3
  :root {
4
+ color-scheme: dark;
5
+
4
6
  --bg-app: #000000;
7
+ --bg-ground: #050505;
5
8
  --bg-surface: #09090b;
6
- --bg-surface-elevated: #121215;
7
- --bg-surface-hover: #18181b;
8
- --bg-input: #0c0c0e;
9
+ --bg-composer: #0d0d10;
10
+ --bg-card: #0f0f12;
11
+ --bg-surface-elevated: #0f0f12;
12
+ --bg-surface-hover: #16161a;
13
+ --bg-input: #0d0d10;
9
14
 
10
15
  --border-subtle: rgba(255, 255, 255, 0.08);
11
- --border-hover: rgba(255, 255, 255, 0.16);
12
- --border-focus: rgba(255, 255, 255, 0.32);
16
+ --border-hover: rgba(255, 255, 255, 0.14);
17
+ --border-focus: rgba(255, 255, 255, 0.24);
13
18
 
14
- --text-primary: #f4f4f5;
19
+ --text-primary: #fafafa;
15
20
  --text-secondary: #a1a1aa;
16
21
  --text-muted: #71717a;
17
22
  --text-dim: #52525b;
18
23
 
19
24
  --accent-white: #ffffff;
20
- --accent-glow: rgba(255, 255, 255, 0.06);
21
- --accent-green: #22c55e;
22
- --accent-emerald: #10b981;
23
- --accent-blue: #3b82f6;
25
+ --accent-glow: rgba(255, 255, 255, 0.05);
26
+ --accent-green: #4ade80;
27
+ --accent-emerald: #a1a1aa;
28
+ --accent-blue: #fafafa;
24
29
 
25
- --radius-xl: 14px;
30
+ --radius-xl: 16px;
26
31
  --radius-lg: 10px;
27
32
  --radius-md: 8px;
28
33
  --radius-sm: 6px;
@@ -40,7 +45,8 @@
40
45
 
41
46
  body {
42
47
  width: 380px;
43
- min-height: 520px;
48
+ max-width: 100vw;
49
+ height: 560px;
44
50
  background-color: var(--bg-app);
45
51
  color: var(--text-primary);
46
52
  font-family: var(--font-family);
@@ -54,34 +60,21 @@ body {
54
60
  .container {
55
61
  display: flex;
56
62
  flex-direction: column;
57
- min-height: 520px;
63
+ height: 100%;
58
64
  background: var(--bg-app);
59
65
  position: relative;
60
66
  }
61
67
 
62
- /* Ambient Subtle Radial Glow */
63
- .container::before {
64
- content: '';
65
- position: absolute;
66
- top: 0;
67
- left: 0;
68
- right: 0;
69
- height: 120px;
70
- background: radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
71
- pointer-events: none;
72
- z-index: 1;
73
- }
74
-
75
- /* Header */
68
+ /* Quiet Top Header */
76
69
  .header {
77
70
  display: flex;
78
71
  align-items: center;
79
72
  justify-content: space-between;
80
- padding: 10px 16px;
73
+ gap: 8px;
74
+ height: 44px;
75
+ padding: 0 12px;
81
76
  border-bottom: 1px solid var(--border-subtle);
82
- background: rgba(0, 0, 0, 0.75);
83
- backdrop-filter: blur(16px);
84
- -webkit-backdrop-filter: blur(16px);
77
+ background: var(--bg-surface);
85
78
  position: sticky;
86
79
  top: 0;
87
80
  z-index: 30;
@@ -90,27 +83,109 @@ body {
90
83
  .brand-group {
91
84
  display: flex;
92
85
  align-items: center;
93
- gap: 10px;
86
+ gap: 8px;
87
+ min-width: 0;
94
88
  }
95
89
 
96
90
  .logo {
97
- width: 20px;
98
- height: 20px;
91
+ width: 16px;
92
+ height: 16px;
99
93
  color: var(--text-primary);
100
94
  flex-shrink: 0;
101
95
  }
102
96
 
103
- .brand-meta {
104
- display: flex;
105
- align-items: center;
106
- gap: 8px;
97
+ .header-zap-dot {
98
+ width: 6px;
99
+ height: 6px;
100
+ border-radius: 50%;
101
+ background: rgba(255, 255, 255, 0.22);
102
+ flex-shrink: 0;
103
+ transition: background 0.2s ease;
104
+ }
105
+
106
+ .header-zap-dot.connected {
107
+ background: var(--accent-green);
108
+ }
109
+
110
+ .org-picker-wrapper {
107
111
  position: relative;
112
+ min-width: 0;
108
113
  }
109
114
 
110
- .brand-title {
111
- font-size: 14px;
115
+ .org-pill-btn {
116
+ display: inline-flex;
117
+ align-items: center;
118
+ gap: 5px;
119
+ max-width: 170px;
120
+ height: 26px;
121
+ padding: 0 8px;
122
+ border-radius: var(--radius-full);
123
+ background: transparent;
124
+ border: 1px solid var(--border-subtle);
125
+ color: var(--text-secondary);
126
+ font-family: var(--font-mono);
127
+ font-size: 10.5px;
128
+ cursor: pointer;
129
+ transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
130
+ }
131
+
132
+ .org-pill-btn span {
133
+ overflow: hidden;
134
+ text-overflow: ellipsis;
135
+ white-space: nowrap;
136
+ }
137
+
138
+ .org-pill-btn:hover {
139
+ color: var(--text-primary);
140
+ border-color: var(--border-hover);
141
+ background: rgba(255, 255, 255, 0.04);
142
+ }
143
+
144
+ .org-dropdown {
145
+ position: absolute;
146
+ top: calc(100% + 6px);
147
+ left: 0;
148
+ min-width: 196px;
149
+ max-width: 250px;
150
+ padding: 4px;
151
+ background: var(--bg-composer);
152
+ border: 1px solid var(--border-hover);
153
+ border-radius: var(--radius-lg);
154
+ box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
155
+ z-index: 60;
156
+ display: flex;
157
+ flex-direction: column;
158
+ gap: 2px;
159
+ }
160
+
161
+ .org-dropdown-title {
162
+ font-size: 9.5px;
112
163
  font-weight: 600;
113
- letter-spacing: -0.02em;
164
+ text-transform: uppercase;
165
+ letter-spacing: 0.05em;
166
+ color: var(--text-dim);
167
+ padding: 4px 8px 2px;
168
+ }
169
+
170
+ .org-dropdown-item {
171
+ display: flex;
172
+ align-items: center;
173
+ justify-content: space-between;
174
+ width: 100%;
175
+ padding: 6px 8px;
176
+ border-radius: 6px;
177
+ background: transparent;
178
+ border: none;
179
+ color: var(--text-secondary);
180
+ font-size: 11.5px;
181
+ font-family: inherit;
182
+ text-align: left;
183
+ cursor: pointer;
184
+ }
185
+
186
+ .org-dropdown-item:hover,
187
+ .org-dropdown-item.active {
188
+ background: rgba(255, 255, 255, 0.07);
114
189
  color: var(--text-primary);
115
190
  }
116
191
 
@@ -152,21 +227,21 @@ body {
152
227
 
153
228
  .model-dropdown {
154
229
  position: absolute;
155
- top: calc(100% + 6px);
230
+ bottom: calc(100% + 8px);
156
231
  left: 0;
157
- width: 260px;
158
- max-height: 380px;
232
+ width: 256px;
233
+ max-height: 320px;
159
234
  overflow-y: auto;
160
- background: #0d0d10;
161
- border: 1px solid rgba(255, 255, 255, 0.12);
235
+ background: var(--bg-composer);
236
+ border: 1px solid var(--border-hover);
162
237
  border-radius: var(--radius-lg);
163
- box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
238
+ box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
164
239
  padding: 6px;
165
240
  display: flex;
166
241
  flex-direction: column;
167
242
  gap: 8px;
168
243
  z-index: 50;
169
- animation: fadeIn 0.15s ease-out;
244
+ animation: fadeIn 0.12s ease-out;
170
245
  }
171
246
 
172
247
  .model-dropdown-group {
@@ -221,16 +296,13 @@ body {
221
296
 
222
297
  .model-tag {
223
298
  font-size: 9px;
224
- font-weight: 600;
299
+ font-weight: 500;
225
300
  padding: 1px 5px;
226
301
  border-radius: 4px;
227
302
  text-transform: uppercase;
228
- }
229
-
230
- .model-tag.plus {
231
- background: rgba(34, 197, 94, 0.15);
232
- color: #4ade80;
233
- border: 1px solid rgba(34, 197, 94, 0.3);
303
+ background: rgba(255, 255, 255, 0.06);
304
+ color: var(--text-secondary);
305
+ border: 1px solid var(--border-subtle);
234
306
  }
235
307
 
236
308
  .header-actions {
@@ -259,52 +331,10 @@ body {
259
331
  border-color: var(--border-subtle);
260
332
  }
261
333
 
262
- /* Nav Tabs */
263
- .popup-nav-tabs {
264
- display: flex;
265
- border-bottom: 1px solid var(--border-subtle);
266
- background: rgba(0, 0, 0, 0.5);
267
- padding: 0 16px;
268
- gap: 16px;
269
- }
270
-
271
- .nav-tab-btn {
272
- background: transparent;
273
- border: none;
274
- border-bottom: 2px solid transparent;
275
- padding: 8px 2px;
276
- font-size: 11.5px;
277
- font-weight: 500;
278
- color: var(--text-secondary);
279
- cursor: pointer;
280
- transition: all 0.15s ease;
281
- }
282
-
283
- .nav-tab-btn:hover {
284
- color: var(--text-primary);
285
- }
286
-
287
- .nav-tab-btn.active {
288
- color: var(--text-primary);
289
- border-bottom-color: var(--accent-white);
290
- font-weight: 600;
291
- }
292
-
293
- /* Tab Panes */
294
- .tab-pane {
295
- display: flex;
296
- flex-direction: column;
297
- gap: 12px;
298
- width: 100%;
299
- }
300
-
301
- .tab-pane.hidden {
302
- display: none !important;
303
- }
304
-
305
334
  /* Main Section */
306
335
  .section {
307
336
  flex: 1;
337
+ min-height: 0;
308
338
  padding: 14px 16px;
309
339
  display: flex;
310
340
  flex-direction: column;
@@ -362,68 +392,274 @@ body {
362
392
  color: var(--text-secondary);
363
393
  }
364
394
 
365
- .context-toggle {
366
- font-size: 10px;
367
- font-family: var(--font-mono);
368
- background: transparent;
395
+ /* Signed out: one line above the thread */
396
+ .login-banner {
397
+ display: flex;
398
+ align-items: center;
399
+ gap: 8px;
400
+ padding: 7px 10px;
401
+ background: var(--bg-surface);
369
402
  border: 1px solid var(--border-subtle);
370
- border-radius: var(--radius-full);
403
+ border-radius: var(--radius-lg);
404
+ font-size: 11.5px;
405
+ color: var(--text-secondary);
406
+ }
407
+
408
+ .login-banner-text {
409
+ flex: 1;
410
+ }
411
+
412
+ .login-banner-btn {
413
+ padding: 4px 12px;
414
+ border-radius: var(--radius-md);
415
+ background: var(--accent-white);
416
+ color: #000;
417
+ font-size: 11.5px;
418
+ font-weight: 600;
419
+ border: none;
420
+ cursor: pointer;
421
+ }
422
+
423
+ .login-banner-link {
424
+ background: none;
425
+ border: none;
371
426
  color: var(--text-muted);
372
- padding: 1px 6px;
427
+ font-size: 11px;
373
428
  cursor: pointer;
374
- transition: all 0.15s ease;
375
429
  }
376
430
 
377
- .context-toggle:hover {
431
+ .login-banner-link:hover {
378
432
  color: var(--text-primary);
379
- border-color: var(--border-hover);
433
+ text-decoration: underline;
434
+ }
435
+
436
+ /* The thread: the chat, and the steps the agent takes on the page */
437
+ .thread {
438
+ flex: 1;
439
+ min-height: 0;
440
+ display: flex;
441
+ flex-direction: column;
442
+ gap: 10px;
443
+ overflow-y: auto;
444
+ }
445
+
446
+ .thread-empty {
447
+ margin: auto 0;
448
+ display: flex;
449
+ flex-direction: column;
450
+ gap: 12px;
451
+ }
452
+
453
+ .thread-empty-title {
454
+ font-size: 14px;
455
+ font-weight: 500;
456
+ letter-spacing: -0.01em;
457
+ }
458
+
459
+ .msg {
460
+ font-size: 12.5px;
461
+ line-height: 1.55;
462
+ word-break: break-word;
463
+ animation: fadeIn 0.15s ease-out;
464
+ }
465
+
466
+ .msg-user {
467
+ align-self: flex-end;
468
+ max-width: 88%;
469
+ padding: 7px 11px;
470
+ background: var(--bg-surface-hover);
471
+ border: 1px solid var(--border-subtle);
472
+ border-radius: var(--radius-lg);
473
+ white-space: pre-wrap;
474
+ }
475
+
476
+ .msg-assistant {
477
+ color: var(--text-primary);
478
+ }
479
+
480
+ .msg-assistant p + p,
481
+ .msg-assistant ul,
482
+ .msg-assistant ol {
483
+ margin-top: 6px;
484
+ }
485
+
486
+ .msg-assistant ul,
487
+ .msg-assistant ol {
488
+ padding-left: 18px;
489
+ }
490
+
491
+ .msg-assistant code {
492
+ font-family: var(--font-mono);
493
+ font-size: 11.5px;
494
+ background: rgba(255, 255, 255, 0.07);
495
+ padding: 0 4px;
496
+ border-radius: 4px;
497
+ }
498
+
499
+ .msg-assistant a {
500
+ color: var(--text-primary);
501
+ text-decoration: underline;
502
+ }
503
+
504
+ .msg-step {
505
+ display: flex;
506
+ align-items: center;
507
+ gap: 8px;
508
+ font-family: var(--font-mono);
509
+ font-size: 11px;
510
+ color: var(--text-muted);
380
511
  }
381
512
 
382
- /* Omnibox / Composer Box */
513
+ .step-dot {
514
+ width: 5px;
515
+ height: 5px;
516
+ flex-shrink: 0;
517
+ border-radius: 50%;
518
+ background: var(--text-dim);
519
+ }
520
+
521
+ .msg-step.working .step-dot {
522
+ background: var(--accent-green);
523
+ animation: pulse 1.4s infinite;
524
+ }
525
+
526
+ .msg-error {
527
+ padding: 7px 11px;
528
+ border: 1px solid rgba(239, 68, 68, 0.35);
529
+ border-radius: var(--radius-lg);
530
+ color: #fca5a5;
531
+ }
532
+
533
+ .msg-retry {
534
+ margin-left: 8px;
535
+ background: none;
536
+ border: none;
537
+ color: var(--text-primary);
538
+ font-size: 11px;
539
+ text-decoration: underline;
540
+ cursor: pointer;
541
+ }
542
+
543
+ /* Floating hanzo.dev Composer Box */
383
544
  .composer-box {
545
+ flex-shrink: 0;
384
546
  display: flex;
385
547
  flex-direction: column;
386
- background: var(--bg-input);
548
+ background: var(--bg-composer);
387
549
  border: 1px solid var(--border-subtle);
388
550
  border-radius: var(--radius-xl);
389
- padding: 12px;
551
+ padding: 12px 12px 8px;
390
552
  gap: 8px;
391
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
553
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
554
+ transition: border-color 0.15s ease;
392
555
  }
393
556
 
394
557
  .composer-box:focus-within {
395
558
  border-color: var(--border-focus);
396
- box-shadow: 0 0 0 1px var(--border-focus);
397
559
  }
398
560
 
399
561
  .composer-input {
400
562
  width: 100%;
563
+ min-height: 44px;
564
+ max-height: 140px;
401
565
  background: transparent;
402
566
  border: none;
403
567
  outline: none;
404
568
  color: var(--text-primary);
405
569
  font-family: inherit;
406
- font-size: 13px;
570
+ font-size: 13.5px;
407
571
  line-height: 1.5;
408
572
  resize: none;
573
+ overflow-y: auto;
409
574
  }
410
575
 
411
576
  .composer-input::placeholder {
412
- color: var(--text-dim);
577
+ color: var(--text-muted);
413
578
  }
414
579
 
415
580
  .composer-bottom {
416
581
  display: flex;
417
582
  align-items: center;
418
583
  justify-content: space-between;
584
+ gap: 8px;
419
585
  padding-top: 6px;
420
- border-top: 1px solid rgba(255, 255, 255, 0.04);
586
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
587
+ }
588
+
589
+ .composer-controls-left {
590
+ display: flex;
591
+ align-items: center;
592
+ gap: 5px;
593
+ min-width: 0;
594
+ }
595
+
596
+ .composer-round-btn {
597
+ display: inline-flex;
598
+ align-items: center;
599
+ justify-content: center;
600
+ width: 28px;
601
+ height: 28px;
602
+ border-radius: var(--radius-full);
603
+ border: 1px solid var(--border-subtle);
604
+ background: transparent;
605
+ color: var(--text-secondary);
606
+ cursor: pointer;
607
+ flex-shrink: 0;
608
+ transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
609
+ }
610
+
611
+ .composer-round-btn:hover {
612
+ color: var(--text-primary);
613
+ border-color: var(--border-hover);
614
+ background: rgba(255, 255, 255, 0.05);
615
+ }
616
+
617
+ .composer-round-btn[data-active="true"] {
618
+ color: var(--text-primary);
619
+ border-color: var(--border-hover);
620
+ background: rgba(255, 255, 255, 0.07);
621
+ }
622
+
623
+ .composer-round-btn[data-listening="true"] {
624
+ background: var(--accent-white);
625
+ color: #000000;
626
+ border-color: var(--accent-white);
421
627
  }
422
628
 
423
629
  .composer-actions {
424
630
  display: flex;
425
631
  align-items: center;
426
632
  gap: 6px;
633
+ flex-shrink: 0;
634
+ }
635
+
636
+ .composer-send-pill {
637
+ display: inline-flex;
638
+ align-items: center;
639
+ justify-content: center;
640
+ width: 28px;
641
+ height: 28px;
642
+ border-radius: var(--radius-full);
643
+ background: var(--accent-white);
644
+ color: #000000;
645
+ border: 1px solid var(--accent-white);
646
+ cursor: pointer;
647
+ transition: background 0.15s ease, opacity 0.15s ease;
648
+ }
649
+
650
+ .composer-send-pill:hover:not(:disabled) {
651
+ background: #e4e4e7;
652
+ }
653
+
654
+ .composer-send-pill:disabled {
655
+ opacity: 0.3;
656
+ cursor: default;
657
+ }
658
+
659
+ .composer-meta-row {
660
+ display: flex;
661
+ justify-content: flex-end;
662
+ padding-top: 2px;
427
663
  }
428
664
 
429
665
  .action-submit {
@@ -439,29 +675,107 @@ body {
439
675
  border: 1px solid transparent;
440
676
  }
441
677
 
442
- .action-submit.primary {
443
- background: var(--accent-white);
444
- color: #000000;
445
- border-color: var(--accent-white);
678
+ .action-submit.primary {
679
+ background: var(--accent-white);
680
+ color: #000000;
681
+ border-color: var(--accent-white);
682
+ }
683
+
684
+ .action-submit.primary:hover {
685
+ background: #e4e4e7;
686
+ }
687
+
688
+ .action-submit.secondary {
689
+ background: var(--bg-surface-elevated);
690
+ color: var(--text-secondary);
691
+ border-color: var(--border-subtle);
692
+ }
693
+
694
+ .action-submit.secondary:hover {
695
+ color: var(--text-primary);
696
+ border-color: var(--border-hover);
697
+ background: var(--bg-surface-hover);
698
+ }
699
+
700
+ .composer-shortcut {
701
+ font-size: 10px;
702
+ color: var(--text-dim);
703
+ }
704
+
705
+ /* Command Palette (⌘K) */
706
+ .cmd-palette {
707
+ position: fixed;
708
+ inset: 0;
709
+ background: rgba(0, 0, 0, 0.72);
710
+ backdrop-filter: blur(8px);
711
+ -webkit-backdrop-filter: blur(8px);
712
+ display: flex;
713
+ align-items: flex-start;
714
+ justify-content: center;
715
+ padding: 56px 14px 14px;
716
+ z-index: 100;
717
+ }
718
+
719
+ .cmd-palette-card {
720
+ width: 100%;
721
+ max-width: 348px;
722
+ background: var(--bg-composer);
723
+ border: 1px solid var(--border-hover);
724
+ border-radius: 14px;
725
+ box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85);
726
+ overflow: hidden;
727
+ display: flex;
728
+ flex-direction: column;
729
+ }
730
+
731
+ .cmd-palette-input {
732
+ width: 100%;
733
+ padding: 12px 14px;
734
+ background: transparent;
735
+ border: none;
736
+ border-bottom: 1px solid var(--border-subtle);
737
+ color: var(--text-primary);
738
+ font-family: inherit;
739
+ font-size: 13px;
740
+ outline: none;
446
741
  }
447
742
 
448
- .action-submit.primary:hover {
449
- background: #e4e4e7;
743
+ .cmd-palette-input::placeholder {
744
+ color: var(--text-muted);
450
745
  }
451
746
 
452
- .action-submit.secondary {
453
- background: var(--bg-surface-elevated);
747
+ .cmd-palette-list {
748
+ display: flex;
749
+ flex-direction: column;
750
+ padding: 6px;
751
+ max-height: 240px;
752
+ overflow-y: auto;
753
+ gap: 2px;
754
+ }
755
+
756
+ .cmd-palette-item {
757
+ display: flex;
758
+ align-items: center;
759
+ justify-content: space-between;
760
+ padding: 8px 10px;
761
+ background: transparent;
762
+ border: none;
763
+ border-radius: 8px;
454
764
  color: var(--text-secondary);
455
- border-color: var(--border-subtle);
765
+ font-family: inherit;
766
+ font-size: 12px;
767
+ text-align: left;
768
+ cursor: pointer;
456
769
  }
457
770
 
458
- .action-submit.secondary:hover {
771
+ .cmd-palette-item:hover,
772
+ .cmd-palette-item.active {
773
+ background: rgba(255, 255, 255, 0.08);
459
774
  color: var(--text-primary);
460
- border-color: var(--border-hover);
461
- background: var(--bg-surface-hover);
462
775
  }
463
776
 
464
- .composer-shortcut {
777
+ .cmd-palette-hint {
778
+ font-family: var(--font-mono);
465
779
  font-size: 10px;
466
780
  color: var(--text-dim);
467
781
  }
@@ -477,6 +791,19 @@ body {
477
791
  color: var(--text-muted);
478
792
  }
479
793
 
794
+ /* Send turns into Stop while a turn runs */
795
+ .composer-send-pill .icon-stop {
796
+ display: none;
797
+ }
798
+
799
+ .composer-send-pill[data-busy="true"] .icon-send {
800
+ display: none;
801
+ }
802
+
803
+ .composer-send-pill[data-busy="true"] .icon-stop {
804
+ display: block;
805
+ }
806
+
480
807
  /* Quick Action Pills */
481
808
  .quick-pills {
482
809
  display: flex;
@@ -501,49 +828,6 @@ body {
501
828
  border-color: var(--border-hover);
502
829
  }
503
830
 
504
- /* Inline Answer Card */
505
- .inline-answer {
506
- background: var(--bg-surface);
507
- border: 1px solid var(--border-subtle);
508
- border-radius: var(--radius-xl);
509
- overflow: hidden;
510
- display: flex;
511
- flex-direction: column;
512
- animation: fadeIn 0.2s ease-out;
513
- }
514
-
515
- .answer-card-header {
516
- display: flex;
517
- align-items: center;
518
- justify-content: space-between;
519
- padding: 8px 12px;
520
- background: rgba(255, 255, 255, 0.02);
521
- border-bottom: 1px solid var(--border-subtle);
522
- }
523
-
524
- .answer-model {
525
- display: flex;
526
- align-items: center;
527
- gap: 6px;
528
- font-size: 11px;
529
- font-weight: 500;
530
- color: var(--text-secondary);
531
- }
532
-
533
- .live-dot-pulse {
534
- width: 6px;
535
- height: 6px;
536
- border-radius: 50%;
537
- background: var(--accent-green);
538
- animation: pulse 1.8s infinite;
539
- }
540
-
541
- .answer-btn-group {
542
- display: flex;
543
- align-items: center;
544
- gap: 6px;
545
- }
546
-
547
831
  .pill-btn {
548
832
  display: inline-flex;
549
833
  align-items: center;
@@ -569,17 +853,6 @@ body {
569
853
  background: rgba(255, 255, 255, 0.06);
570
854
  }
571
855
 
572
- .answer-card-body {
573
- padding: 12px;
574
- font-size: 12.5px;
575
- line-height: 1.6;
576
- color: var(--text-primary);
577
- max-height: 220px;
578
- overflow-y: auto;
579
- white-space: pre-wrap;
580
- word-break: break-word;
581
- }
582
-
583
856
  /* User Strip */
584
857
  .user-strip {
585
858
  display: flex;
@@ -687,14 +960,10 @@ body {
687
960
  flex-shrink: 0;
688
961
  }
689
962
 
690
- .chatgpt-icon {
691
- background: rgba(34, 197, 94, 0.12);
692
- color: #22c55e;
693
- }
694
-
963
+ .chatgpt-icon,
695
964
  .local-icon {
696
- background: rgba(59, 130, 246, 0.12);
697
- color: #3b82f6;
965
+ background: rgba(255, 255, 255, 0.06);
966
+ color: var(--text-primary);
698
967
  }
699
968
 
700
969
  .account-info {
@@ -725,9 +994,9 @@ body {
725
994
  }
726
995
 
727
996
  .badge-pill.plus {
728
- background: rgba(34, 197, 94, 0.15);
729
- color: #4ade80;
730
- border: 1px solid rgba(34, 197, 94, 0.3);
997
+ background: rgba(255, 255, 255, 0.08);
998
+ color: var(--text-primary);
999
+ border: 1px solid var(--border-subtle);
731
1000
  }
732
1001
 
733
1002
  .badge-pill.bridge {
@@ -767,7 +1036,7 @@ body {
767
1036
  }
768
1037
 
769
1038
  .detail-val.live {
770
- color: #4ade80;
1039
+ color: var(--text-primary);
771
1040
  }
772
1041
 
773
1042
  /* Usage Container */
@@ -867,7 +1136,7 @@ body {
867
1136
  }
868
1137
 
869
1138
  .status-dot.disconnected {
870
- background: #ef4444;
1139
+ background: rgba(255, 255, 255, 0.28);
871
1140
  }
872
1141
 
873
1142
  .bridge-title {
@@ -927,31 +1196,32 @@ body {
927
1196
  color: #ef4444;
928
1197
  }
929
1198
 
930
- /* Tools Section */
931
- .tools-section {
1199
+ /* Tools */
1200
+ .feature-list {
932
1201
  display: flex;
933
1202
  flex-direction: column;
934
- gap: 6px;
1203
+ gap: 4px;
935
1204
  }
936
1205
 
937
- .tools-btn-grid {
938
- display: grid;
939
- grid-template-columns: 1fr 1fr 1fr;
1206
+ .feature-row {
1207
+ display: flex;
1208
+ align-items: center;
940
1209
  gap: 6px;
941
1210
  }
942
1211
 
943
1212
  .tool-btn {
1213
+ position: relative;
1214
+ flex: 1;
944
1215
  display: flex;
945
- flex-direction: column;
946
1216
  align-items: center;
947
- justify-content: center;
948
- gap: 4px;
949
- padding: 8px 4px;
1217
+ gap: 8px;
1218
+ padding: 7px 10px;
950
1219
  background: var(--bg-surface);
951
1220
  border: 1px solid var(--border-subtle);
952
1221
  border-radius: var(--radius-md);
953
1222
  color: var(--text-secondary);
954
- font-size: 10px;
1223
+ font-size: 11.5px;
1224
+ text-align: left;
955
1225
  cursor: pointer;
956
1226
  transition: all 0.15s ease;
957
1227
  }
@@ -975,6 +1245,126 @@ body {
975
1245
  animation: fadeIn 0.1s ease;
976
1246
  }
977
1247
 
1248
+ /* A pin: outline when free, filled when the feature sits on the chat view */
1249
+ .pin-btn {
1250
+ flex-shrink: 0;
1251
+ width: 26px;
1252
+ height: 26px;
1253
+ border-radius: var(--radius-md);
1254
+ border: 1px solid var(--border-subtle);
1255
+ background: transparent;
1256
+ color: var(--text-muted);
1257
+ cursor: pointer;
1258
+ position: relative;
1259
+ transition: all 0.15s ease;
1260
+ }
1261
+
1262
+ .pin-btn::before {
1263
+ content: "";
1264
+ position: absolute;
1265
+ inset: 0;
1266
+ margin: auto;
1267
+ width: 12px;
1268
+ height: 12px;
1269
+ background: currentColor;
1270
+ -webkit-mask: var(--pin) center / contain no-repeat;
1271
+ mask: var(--pin) center / contain no-repeat;
1272
+ --pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2.5l4 4-2 .5-2.5 2.5.5 3-1 1-2.5-2.5L3 13.5l-.5-.5 2.5-3L2.5 7.5l1-1 3 .5L9 4.5z'/%3E%3C/svg%3E");
1273
+ }
1274
+
1275
+ .pin-btn:hover {
1276
+ color: var(--text-primary);
1277
+ border-color: var(--border-hover);
1278
+ }
1279
+
1280
+ .pin-btn[aria-pressed="true"] {
1281
+ color: #000;
1282
+ background: var(--accent-white);
1283
+ border-color: var(--accent-white);
1284
+ }
1285
+
1286
+ /* Settings sections */
1287
+ .sec {
1288
+ border: 1px solid var(--border-subtle);
1289
+ border-radius: var(--radius-lg);
1290
+ background: var(--bg-surface);
1291
+ }
1292
+
1293
+ .sec > summary {
1294
+ display: flex;
1295
+ align-items: center;
1296
+ justify-content: space-between;
1297
+ gap: 8px;
1298
+ position: relative;
1299
+ padding: 9px 30px 9px 12px;
1300
+ font-size: 12px;
1301
+ font-weight: 500;
1302
+ color: var(--text-primary);
1303
+ cursor: pointer;
1304
+ list-style: none;
1305
+ }
1306
+
1307
+ .sec > summary::-webkit-details-marker {
1308
+ display: none;
1309
+ }
1310
+
1311
+ .sec > summary::after {
1312
+ content: "";
1313
+ position: absolute;
1314
+ right: 13px;
1315
+ top: 50%;
1316
+ width: 6px;
1317
+ height: 6px;
1318
+ margin-top: -5px;
1319
+ border-right: 1.5px solid var(--text-muted);
1320
+ border-bottom: 1.5px solid var(--text-muted);
1321
+ transform: rotate(-45deg);
1322
+ transition: transform 0.15s ease;
1323
+ }
1324
+
1325
+ .sec[open] > summary::after {
1326
+ margin-top: -7px;
1327
+ transform: rotate(45deg);
1328
+ }
1329
+
1330
+ .sec > summary .pin-btn {
1331
+ margin-left: auto;
1332
+ }
1333
+
1334
+ .sec > :not(summary) {
1335
+ margin: 0 12px 12px;
1336
+ }
1337
+
1338
+ .sec-note {
1339
+ font-size: 11px;
1340
+ color: var(--text-muted);
1341
+ }
1342
+
1343
+ /* Pinned chips on the chat view */
1344
+ .pins {
1345
+ display: flex;
1346
+ flex-wrap: wrap;
1347
+ gap: 6px;
1348
+ }
1349
+
1350
+ .pin-chip {
1351
+ position: relative;
1352
+ background: var(--bg-surface);
1353
+ border: 1px solid var(--border-subtle);
1354
+ border-radius: var(--radius-full);
1355
+ color: var(--text-secondary);
1356
+ font-size: 11px;
1357
+ padding: 4px 10px;
1358
+ cursor: pointer;
1359
+ transition: all 0.15s ease;
1360
+ }
1361
+
1362
+ .pin-chip:hover {
1363
+ background: var(--bg-surface-hover);
1364
+ color: var(--text-primary);
1365
+ border-color: var(--border-hover);
1366
+ }
1367
+
978
1368
  /* Features Section */
979
1369
  .features-section {
980
1370
  display: flex;
@@ -1040,85 +1430,6 @@ body {
1040
1430
  text-align: right;
1041
1431
  }
1042
1432
 
1043
- /* Login View */
1044
- .login-view {
1045
- display: flex;
1046
- align-items: center;
1047
- justify-content: center;
1048
- min-height: 380px;
1049
- }
1050
-
1051
- .login-card {
1052
- display: flex;
1053
- flex-direction: column;
1054
- align-items: center;
1055
- text-align: center;
1056
- gap: 12px;
1057
- max-width: 280px;
1058
- }
1059
-
1060
- .login-icon-box {
1061
- width: 44px;
1062
- height: 44px;
1063
- border-radius: 50%;
1064
- background: var(--bg-surface-elevated);
1065
- border: 1px solid var(--border-subtle);
1066
- display: flex;
1067
- align-items: center;
1068
- justify-content: center;
1069
- }
1070
-
1071
- .logo-lg {
1072
- width: 24px;
1073
- height: 24px;
1074
- color: var(--text-primary);
1075
- }
1076
-
1077
- .login-heading {
1078
- font-size: 16px;
1079
- font-weight: 600;
1080
- letter-spacing: -0.02em;
1081
- }
1082
-
1083
- .login-subtext {
1084
- font-size: 12px;
1085
- color: var(--text-secondary);
1086
- line-height: 1.5;
1087
- }
1088
-
1089
- .btn-solid-full {
1090
- width: 100%;
1091
- padding: 8px 16px;
1092
- border-radius: var(--radius-md);
1093
- background: var(--accent-white);
1094
- color: #000000;
1095
- font-size: 12px;
1096
- font-weight: 600;
1097
- border: none;
1098
- cursor: pointer;
1099
- }
1100
-
1101
- .btn-solid-full:hover {
1102
- background: #e4e4e7;
1103
- }
1104
-
1105
- .btn-ghost-full {
1106
- width: 100%;
1107
- padding: 8px 16px;
1108
- border-radius: var(--radius-md);
1109
- background: transparent;
1110
- color: var(--text-secondary);
1111
- font-size: 12px;
1112
- border: 1px solid var(--border-subtle);
1113
- cursor: pointer;
1114
- }
1115
-
1116
- .btn-ghost-full:hover {
1117
- color: var(--text-primary);
1118
- border-color: var(--border-hover);
1119
- background: var(--bg-surface-elevated);
1120
- }
1121
-
1122
1433
  /* Settings View */
1123
1434
  .settings-top {
1124
1435
  display: flex;
@@ -1136,8 +1447,10 @@ body {
1136
1447
  .settings-body {
1137
1448
  display: flex;
1138
1449
  flex-direction: column;
1139
- gap: 12px;
1450
+ gap: 8px;
1140
1451
  padding-top: 4px;
1452
+ min-height: 0;
1453
+ overflow-y: auto;
1141
1454
  }
1142
1455
 
1143
1456
  .setting-group {
@@ -1199,13 +1512,28 @@ body {
1199
1512
  display: flex;
1200
1513
  align-items: center;
1201
1514
  justify-content: space-between;
1202
- padding: 10px 16px;
1515
+ padding: 9px 14px;
1203
1516
  border-top: 1px solid var(--border-subtle);
1204
- background: var(--bg-app);
1517
+ background: var(--bg-surface);
1205
1518
  font-size: 10.5px;
1206
1519
  color: var(--text-muted);
1207
1520
  }
1208
1521
 
1522
+ @media (max-width: 420px) {
1523
+ body {
1524
+ width: 100vw;
1525
+ }
1526
+ }
1527
+
1528
+ @media (pointer: coarse) {
1529
+ .icon-btn,
1530
+ .composer-round-btn,
1531
+ .composer-send-pill {
1532
+ min-width: 36px;
1533
+ min-height: 36px;
1534
+ }
1535
+ }
1536
+
1209
1537
  .footer-status {
1210
1538
  display: flex;
1211
1539
  align-items: center;