@hanzo/browser-extension 1.9.72 → 1.9.74

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/chrome/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,37 +227,24 @@ 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
- .model-dropdown-group {
173
- display: flex;
174
- flex-direction: column;
175
- gap: 2px;
176
- }
177
247
 
178
- .model-group-title {
179
- font-size: 9.5px;
180
- font-weight: 600;
181
- text-transform: uppercase;
182
- letter-spacing: 0.05em;
183
- color: var(--text-dim);
184
- padding: 4px 8px 2px 8px;
185
- }
186
248
 
187
249
  .model-item {
188
250
  display: flex;
@@ -214,24 +276,7 @@ body {
214
276
  color: var(--text-primary);
215
277
  }
216
278
 
217
- .model-desc {
218
- font-size: 10px;
219
- color: var(--text-muted);
220
- }
221
-
222
- .model-tag {
223
- font-size: 9px;
224
- font-weight: 600;
225
- padding: 1px 5px;
226
- border-radius: 4px;
227
- text-transform: uppercase;
228
- }
229
279
 
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);
234
- }
235
280
 
236
281
  .header-actions {
237
282
  display: flex;
@@ -259,52 +304,10 @@ body {
259
304
  border-color: var(--border-subtle);
260
305
  }
261
306
 
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
307
  /* Main Section */
306
308
  .section {
307
309
  flex: 1;
310
+ min-height: 0;
308
311
  padding: 14px 16px;
309
312
  display: flex;
310
313
  flex-direction: column;
@@ -362,68 +365,265 @@ body {
362
365
  color: var(--text-secondary);
363
366
  }
364
367
 
365
- .context-toggle {
366
- font-size: 10px;
367
- font-family: var(--font-mono);
368
- background: transparent;
368
+ /* Signed out: one line above the thread */
369
+ .login-banner {
370
+ display: flex;
371
+ align-items: center;
372
+ gap: 8px;
373
+ padding: 7px 10px;
374
+ background: var(--bg-surface);
369
375
  border: 1px solid var(--border-subtle);
370
- border-radius: var(--radius-full);
376
+ border-radius: var(--radius-lg);
377
+ font-size: 11.5px;
378
+ color: var(--text-secondary);
379
+ }
380
+
381
+ .login-banner-text {
382
+ flex: 1;
383
+ }
384
+
385
+ .login-banner-btn {
386
+ padding: 4px 12px;
387
+ border-radius: var(--radius-md);
388
+ background: var(--accent-white);
389
+ color: #000;
390
+ font-size: 11.5px;
391
+ font-weight: 600;
392
+ border: none;
393
+ cursor: pointer;
394
+ }
395
+
396
+ .login-banner-link {
397
+ background: none;
398
+ border: none;
371
399
  color: var(--text-muted);
372
- padding: 1px 6px;
400
+ font-size: 11px;
373
401
  cursor: pointer;
374
- transition: all 0.15s ease;
375
402
  }
376
403
 
377
- .context-toggle:hover {
404
+ .login-banner-link:hover {
378
405
  color: var(--text-primary);
379
- border-color: var(--border-hover);
406
+ text-decoration: underline;
380
407
  }
381
408
 
382
- /* Omnibox / Composer Box */
409
+ /* The thread: the chat, and the steps the agent takes on the page */
410
+ .thread {
411
+ flex: 1;
412
+ min-height: 0;
413
+ display: flex;
414
+ flex-direction: column;
415
+ gap: 10px;
416
+ overflow-y: auto;
417
+ }
418
+
419
+ .thread-empty {
420
+ margin: auto 0;
421
+ display: flex;
422
+ flex-direction: column;
423
+ gap: 12px;
424
+ }
425
+
426
+ .thread-empty-title {
427
+ font-size: 14px;
428
+ font-weight: 500;
429
+ letter-spacing: -0.01em;
430
+ }
431
+
432
+ .msg {
433
+ font-size: 12.5px;
434
+ line-height: 1.55;
435
+ word-break: break-word;
436
+ animation: fadeIn 0.15s ease-out;
437
+ }
438
+
439
+ .msg-user {
440
+ align-self: flex-end;
441
+ max-width: 88%;
442
+ padding: 7px 11px;
443
+ background: var(--bg-surface-hover);
444
+ border: 1px solid var(--border-subtle);
445
+ border-radius: var(--radius-lg);
446
+ white-space: pre-wrap;
447
+ }
448
+
449
+ .msg-assistant {
450
+ color: var(--text-primary);
451
+ }
452
+
453
+ .msg-assistant p + p,
454
+ .msg-assistant ul,
455
+ .msg-assistant ol {
456
+ margin-top: 6px;
457
+ }
458
+
459
+ .msg-assistant ul,
460
+ .msg-assistant ol {
461
+ padding-left: 18px;
462
+ }
463
+
464
+ .msg-assistant code {
465
+ font-family: var(--font-mono);
466
+ font-size: 11.5px;
467
+ background: rgba(255, 255, 255, 0.07);
468
+ padding: 0 4px;
469
+ border-radius: 4px;
470
+ }
471
+
472
+ .msg-assistant a {
473
+ color: var(--text-primary);
474
+ text-decoration: underline;
475
+ }
476
+
477
+ .msg-step {
478
+ display: flex;
479
+ align-items: center;
480
+ gap: 8px;
481
+ font-family: var(--font-mono);
482
+ font-size: 11px;
483
+ color: var(--text-muted);
484
+ }
485
+
486
+ .step-dot {
487
+ width: 5px;
488
+ height: 5px;
489
+ flex-shrink: 0;
490
+ border-radius: 50%;
491
+ background: var(--text-dim);
492
+ }
493
+
494
+ .msg-step.working .step-dot {
495
+ background: var(--accent-green);
496
+ animation: pulse 1.4s infinite;
497
+ }
498
+
499
+ .msg-error {
500
+ padding: 7px 11px;
501
+ border: 1px solid rgba(239, 68, 68, 0.35);
502
+ border-radius: var(--radius-lg);
503
+ color: #fca5a5;
504
+ }
505
+
506
+
507
+ /* Floating hanzo.dev Composer Box */
383
508
  .composer-box {
509
+ flex-shrink: 0;
384
510
  display: flex;
385
511
  flex-direction: column;
386
- background: var(--bg-input);
512
+ background: var(--bg-composer);
387
513
  border: 1px solid var(--border-subtle);
388
514
  border-radius: var(--radius-xl);
389
- padding: 12px;
515
+ padding: 12px 12px 8px;
390
516
  gap: 8px;
391
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
517
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
518
+ transition: border-color 0.15s ease;
392
519
  }
393
520
 
394
521
  .composer-box:focus-within {
395
522
  border-color: var(--border-focus);
396
- box-shadow: 0 0 0 1px var(--border-focus);
397
523
  }
398
524
 
399
525
  .composer-input {
400
526
  width: 100%;
527
+ min-height: 44px;
528
+ max-height: 140px;
401
529
  background: transparent;
402
530
  border: none;
403
531
  outline: none;
404
532
  color: var(--text-primary);
405
533
  font-family: inherit;
406
- font-size: 13px;
534
+ font-size: 13.5px;
407
535
  line-height: 1.5;
408
536
  resize: none;
537
+ overflow-y: auto;
409
538
  }
410
539
 
411
540
  .composer-input::placeholder {
412
- color: var(--text-dim);
541
+ color: var(--text-muted);
413
542
  }
414
543
 
415
544
  .composer-bottom {
416
545
  display: flex;
417
546
  align-items: center;
418
547
  justify-content: space-between;
548
+ gap: 8px;
419
549
  padding-top: 6px;
420
- border-top: 1px solid rgba(255, 255, 255, 0.04);
550
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
551
+ }
552
+
553
+ .composer-controls-left {
554
+ display: flex;
555
+ align-items: center;
556
+ gap: 5px;
557
+ min-width: 0;
558
+ }
559
+
560
+ .composer-round-btn {
561
+ display: inline-flex;
562
+ align-items: center;
563
+ justify-content: center;
564
+ width: 28px;
565
+ height: 28px;
566
+ border-radius: var(--radius-full);
567
+ border: 1px solid var(--border-subtle);
568
+ background: transparent;
569
+ color: var(--text-secondary);
570
+ cursor: pointer;
571
+ flex-shrink: 0;
572
+ transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
573
+ }
574
+
575
+ .composer-round-btn:hover {
576
+ color: var(--text-primary);
577
+ border-color: var(--border-hover);
578
+ background: rgba(255, 255, 255, 0.05);
579
+ }
580
+
581
+ .composer-round-btn[data-active="true"] {
582
+ color: var(--text-primary);
583
+ border-color: var(--border-hover);
584
+ background: rgba(255, 255, 255, 0.07);
585
+ }
586
+
587
+ .composer-round-btn[data-listening="true"] {
588
+ background: var(--accent-white);
589
+ color: #000000;
590
+ border-color: var(--accent-white);
421
591
  }
422
592
 
423
593
  .composer-actions {
424
594
  display: flex;
425
595
  align-items: center;
426
596
  gap: 6px;
597
+ flex-shrink: 0;
598
+ }
599
+
600
+ .composer-send-pill {
601
+ display: inline-flex;
602
+ align-items: center;
603
+ justify-content: center;
604
+ width: 28px;
605
+ height: 28px;
606
+ border-radius: var(--radius-full);
607
+ background: var(--accent-white);
608
+ color: #000000;
609
+ border: 1px solid var(--accent-white);
610
+ cursor: pointer;
611
+ transition: background 0.15s ease, opacity 0.15s ease;
612
+ }
613
+
614
+ .composer-send-pill:hover:not(:disabled) {
615
+ background: #e4e4e7;
616
+ }
617
+
618
+ .composer-send-pill:disabled {
619
+ opacity: 0.3;
620
+ cursor: default;
621
+ }
622
+
623
+ .composer-meta-row {
624
+ display: flex;
625
+ justify-content: flex-end;
626
+ padding-top: 2px;
427
627
  }
428
628
 
429
629
  .action-submit {
@@ -439,29 +639,107 @@ body {
439
639
  border: 1px solid transparent;
440
640
  }
441
641
 
442
- .action-submit.primary {
443
- background: var(--accent-white);
444
- color: #000000;
445
- border-color: var(--accent-white);
642
+ .action-submit.primary {
643
+ background: var(--accent-white);
644
+ color: #000000;
645
+ border-color: var(--accent-white);
646
+ }
647
+
648
+ .action-submit.primary:hover {
649
+ background: #e4e4e7;
650
+ }
651
+
652
+ .action-submit.secondary {
653
+ background: var(--bg-surface-elevated);
654
+ color: var(--text-secondary);
655
+ border-color: var(--border-subtle);
656
+ }
657
+
658
+ .action-submit.secondary:hover {
659
+ color: var(--text-primary);
660
+ border-color: var(--border-hover);
661
+ background: var(--bg-surface-hover);
662
+ }
663
+
664
+ .composer-shortcut {
665
+ font-size: 10px;
666
+ color: var(--text-dim);
667
+ }
668
+
669
+ /* Command Palette (⌘K) */
670
+ .cmd-palette {
671
+ position: fixed;
672
+ inset: 0;
673
+ background: rgba(0, 0, 0, 0.72);
674
+ backdrop-filter: blur(8px);
675
+ -webkit-backdrop-filter: blur(8px);
676
+ display: flex;
677
+ align-items: flex-start;
678
+ justify-content: center;
679
+ padding: 56px 14px 14px;
680
+ z-index: 100;
681
+ }
682
+
683
+ .cmd-palette-card {
684
+ width: 100%;
685
+ max-width: 348px;
686
+ background: var(--bg-composer);
687
+ border: 1px solid var(--border-hover);
688
+ border-radius: 14px;
689
+ box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85);
690
+ overflow: hidden;
691
+ display: flex;
692
+ flex-direction: column;
693
+ }
694
+
695
+ .cmd-palette-input {
696
+ width: 100%;
697
+ padding: 12px 14px;
698
+ background: transparent;
699
+ border: none;
700
+ border-bottom: 1px solid var(--border-subtle);
701
+ color: var(--text-primary);
702
+ font-family: inherit;
703
+ font-size: 13px;
704
+ outline: none;
446
705
  }
447
706
 
448
- .action-submit.primary:hover {
449
- background: #e4e4e7;
707
+ .cmd-palette-input::placeholder {
708
+ color: var(--text-muted);
450
709
  }
451
710
 
452
- .action-submit.secondary {
453
- background: var(--bg-surface-elevated);
711
+ .cmd-palette-list {
712
+ display: flex;
713
+ flex-direction: column;
714
+ padding: 6px;
715
+ max-height: 240px;
716
+ overflow-y: auto;
717
+ gap: 2px;
718
+ }
719
+
720
+ .cmd-palette-item {
721
+ display: flex;
722
+ align-items: center;
723
+ justify-content: space-between;
724
+ padding: 8px 10px;
725
+ background: transparent;
726
+ border: none;
727
+ border-radius: 8px;
454
728
  color: var(--text-secondary);
455
- border-color: var(--border-subtle);
729
+ font-family: inherit;
730
+ font-size: 12px;
731
+ text-align: left;
732
+ cursor: pointer;
456
733
  }
457
734
 
458
- .action-submit.secondary:hover {
735
+ .cmd-palette-item:hover,
736
+ .cmd-palette-item.active {
737
+ background: rgba(255, 255, 255, 0.08);
459
738
  color: var(--text-primary);
460
- border-color: var(--border-hover);
461
- background: var(--bg-surface-hover);
462
739
  }
463
740
 
464
- .composer-shortcut {
741
+ .cmd-palette-hint {
742
+ font-family: var(--font-mono);
465
743
  font-size: 10px;
466
744
  color: var(--text-dim);
467
745
  }
@@ -477,6 +755,19 @@ body {
477
755
  color: var(--text-muted);
478
756
  }
479
757
 
758
+ /* Send turns into Stop while a turn runs */
759
+ .composer-send-pill .icon-stop {
760
+ display: none;
761
+ }
762
+
763
+ .composer-send-pill[data-busy="true"] .icon-send {
764
+ display: none;
765
+ }
766
+
767
+ .composer-send-pill[data-busy="true"] .icon-stop {
768
+ display: block;
769
+ }
770
+
480
771
  /* Quick Action Pills */
481
772
  .quick-pills {
482
773
  display: flex;
@@ -501,49 +792,6 @@ body {
501
792
  border-color: var(--border-hover);
502
793
  }
503
794
 
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
795
  .pill-btn {
548
796
  display: inline-flex;
549
797
  align-items: center;
@@ -569,17 +817,6 @@ body {
569
817
  background: rgba(255, 255, 255, 0.06);
570
818
  }
571
819
 
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
820
  /* User Strip */
584
821
  .user-strip {
585
822
  display: flex;
@@ -687,14 +924,10 @@ body {
687
924
  flex-shrink: 0;
688
925
  }
689
926
 
690
- .chatgpt-icon {
691
- background: rgba(34, 197, 94, 0.12);
692
- color: #22c55e;
693
- }
694
-
927
+ .chatgpt-icon,
695
928
  .local-icon {
696
- background: rgba(59, 130, 246, 0.12);
697
- color: #3b82f6;
929
+ background: rgba(255, 255, 255, 0.06);
930
+ color: var(--text-primary);
698
931
  }
699
932
 
700
933
  .account-info {
@@ -725,9 +958,9 @@ body {
725
958
  }
726
959
 
727
960
  .badge-pill.plus {
728
- background: rgba(34, 197, 94, 0.15);
729
- color: #4ade80;
730
- border: 1px solid rgba(34, 197, 94, 0.3);
961
+ background: rgba(255, 255, 255, 0.08);
962
+ color: var(--text-primary);
963
+ border: 1px solid var(--border-subtle);
731
964
  }
732
965
 
733
966
  .badge-pill.bridge {
@@ -767,7 +1000,7 @@ body {
767
1000
  }
768
1001
 
769
1002
  .detail-val.live {
770
- color: #4ade80;
1003
+ color: var(--text-primary);
771
1004
  }
772
1005
 
773
1006
  /* Usage Container */
@@ -867,7 +1100,7 @@ body {
867
1100
  }
868
1101
 
869
1102
  .status-dot.disconnected {
870
- background: #ef4444;
1103
+ background: rgba(255, 255, 255, 0.28);
871
1104
  }
872
1105
 
873
1106
  .bridge-title {
@@ -927,31 +1160,32 @@ body {
927
1160
  color: #ef4444;
928
1161
  }
929
1162
 
930
- /* Tools Section */
931
- .tools-section {
1163
+ /* Tools */
1164
+ .feature-list {
932
1165
  display: flex;
933
1166
  flex-direction: column;
934
- gap: 6px;
1167
+ gap: 4px;
935
1168
  }
936
1169
 
937
- .tools-btn-grid {
938
- display: grid;
939
- grid-template-columns: 1fr 1fr 1fr;
1170
+ .feature-row {
1171
+ display: flex;
1172
+ align-items: center;
940
1173
  gap: 6px;
941
1174
  }
942
1175
 
943
1176
  .tool-btn {
1177
+ position: relative;
1178
+ flex: 1;
944
1179
  display: flex;
945
- flex-direction: column;
946
1180
  align-items: center;
947
- justify-content: center;
948
- gap: 4px;
949
- padding: 8px 4px;
1181
+ gap: 8px;
1182
+ padding: 7px 10px;
950
1183
  background: var(--bg-surface);
951
1184
  border: 1px solid var(--border-subtle);
952
1185
  border-radius: var(--radius-md);
953
1186
  color: var(--text-secondary);
954
- font-size: 10px;
1187
+ font-size: 11.5px;
1188
+ text-align: left;
955
1189
  cursor: pointer;
956
1190
  transition: all 0.15s ease;
957
1191
  }
@@ -975,6 +1209,126 @@ body {
975
1209
  animation: fadeIn 0.1s ease;
976
1210
  }
977
1211
 
1212
+ /* A pin: outline when free, filled when the feature sits on the chat view */
1213
+ .pin-btn {
1214
+ flex-shrink: 0;
1215
+ width: 26px;
1216
+ height: 26px;
1217
+ border-radius: var(--radius-md);
1218
+ border: 1px solid var(--border-subtle);
1219
+ background: transparent;
1220
+ color: var(--text-muted);
1221
+ cursor: pointer;
1222
+ position: relative;
1223
+ transition: all 0.15s ease;
1224
+ }
1225
+
1226
+ .pin-btn::before {
1227
+ content: "";
1228
+ position: absolute;
1229
+ inset: 0;
1230
+ margin: auto;
1231
+ width: 12px;
1232
+ height: 12px;
1233
+ background: currentColor;
1234
+ -webkit-mask: var(--pin) center / contain no-repeat;
1235
+ mask: var(--pin) center / contain no-repeat;
1236
+ --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");
1237
+ }
1238
+
1239
+ .pin-btn:hover {
1240
+ color: var(--text-primary);
1241
+ border-color: var(--border-hover);
1242
+ }
1243
+
1244
+ .pin-btn[aria-pressed="true"] {
1245
+ color: #000;
1246
+ background: var(--accent-white);
1247
+ border-color: var(--accent-white);
1248
+ }
1249
+
1250
+ /* Settings sections */
1251
+ .sec {
1252
+ border: 1px solid var(--border-subtle);
1253
+ border-radius: var(--radius-lg);
1254
+ background: var(--bg-surface);
1255
+ }
1256
+
1257
+ .sec > summary {
1258
+ display: flex;
1259
+ align-items: center;
1260
+ justify-content: space-between;
1261
+ gap: 8px;
1262
+ position: relative;
1263
+ padding: 9px 30px 9px 12px;
1264
+ font-size: 12px;
1265
+ font-weight: 500;
1266
+ color: var(--text-primary);
1267
+ cursor: pointer;
1268
+ list-style: none;
1269
+ }
1270
+
1271
+ .sec > summary::-webkit-details-marker {
1272
+ display: none;
1273
+ }
1274
+
1275
+ .sec > summary::after {
1276
+ content: "";
1277
+ position: absolute;
1278
+ right: 13px;
1279
+ top: 50%;
1280
+ width: 6px;
1281
+ height: 6px;
1282
+ margin-top: -5px;
1283
+ border-right: 1.5px solid var(--text-muted);
1284
+ border-bottom: 1.5px solid var(--text-muted);
1285
+ transform: rotate(-45deg);
1286
+ transition: transform 0.15s ease;
1287
+ }
1288
+
1289
+ .sec[open] > summary::after {
1290
+ margin-top: -7px;
1291
+ transform: rotate(45deg);
1292
+ }
1293
+
1294
+ .sec > summary .pin-btn {
1295
+ margin-left: auto;
1296
+ }
1297
+
1298
+ .sec > :not(summary) {
1299
+ margin: 0 12px 12px;
1300
+ }
1301
+
1302
+ .sec-note {
1303
+ font-size: 11px;
1304
+ color: var(--text-muted);
1305
+ }
1306
+
1307
+ /* Pinned chips on the chat view */
1308
+ .pins {
1309
+ display: flex;
1310
+ flex-wrap: wrap;
1311
+ gap: 6px;
1312
+ }
1313
+
1314
+ .pin-chip {
1315
+ position: relative;
1316
+ background: var(--bg-surface);
1317
+ border: 1px solid var(--border-subtle);
1318
+ border-radius: var(--radius-full);
1319
+ color: var(--text-secondary);
1320
+ font-size: 11px;
1321
+ padding: 4px 10px;
1322
+ cursor: pointer;
1323
+ transition: all 0.15s ease;
1324
+ }
1325
+
1326
+ .pin-chip:hover {
1327
+ background: var(--bg-surface-hover);
1328
+ color: var(--text-primary);
1329
+ border-color: var(--border-hover);
1330
+ }
1331
+
978
1332
  /* Features Section */
979
1333
  .features-section {
980
1334
  display: flex;
@@ -1040,85 +1394,6 @@ body {
1040
1394
  text-align: right;
1041
1395
  }
1042
1396
 
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
1397
  /* Settings View */
1123
1398
  .settings-top {
1124
1399
  display: flex;
@@ -1136,8 +1411,10 @@ body {
1136
1411
  .settings-body {
1137
1412
  display: flex;
1138
1413
  flex-direction: column;
1139
- gap: 12px;
1414
+ gap: 8px;
1140
1415
  padding-top: 4px;
1416
+ min-height: 0;
1417
+ overflow-y: auto;
1141
1418
  }
1142
1419
 
1143
1420
  .setting-group {
@@ -1199,13 +1476,28 @@ body {
1199
1476
  display: flex;
1200
1477
  align-items: center;
1201
1478
  justify-content: space-between;
1202
- padding: 10px 16px;
1479
+ padding: 9px 14px;
1203
1480
  border-top: 1px solid var(--border-subtle);
1204
- background: var(--bg-app);
1481
+ background: var(--bg-surface);
1205
1482
  font-size: 10.5px;
1206
1483
  color: var(--text-muted);
1207
1484
  }
1208
1485
 
1486
+ @media (max-width: 420px) {
1487
+ body {
1488
+ width: 100vw;
1489
+ }
1490
+ }
1491
+
1492
+ @media (pointer: coarse) {
1493
+ .icon-btn,
1494
+ .composer-round-btn,
1495
+ .composer-send-pill {
1496
+ min-width: 36px;
1497
+ min-height: 36px;
1498
+ }
1499
+ }
1500
+
1209
1501
  .footer-status {
1210
1502
  display: flex;
1211
1503
  align-items: center;