@clagentic/console 1.5.0 → 1.6.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +23 -4
  2. package/bin/cli.js +15 -82
  3. package/lib/agents-favorites.js +21 -6
  4. package/lib/config.js +1 -1
  5. package/lib/daemon.js +153 -22
  6. package/lib/drain.js +213 -0
  7. package/lib/lite-detect.js +6 -5
  8. package/lib/loop-handoff.js +282 -0
  9. package/lib/mcp-local.js +18 -2
  10. package/lib/memory-limits.js +436 -0
  11. package/lib/model-context-windows.js +65 -0
  12. package/lib/project-loop.js +31 -3
  13. package/lib/project-sessions.js +26 -0
  14. package/lib/project-team.js +4 -1
  15. package/lib/project.js +8 -0
  16. package/lib/public/app.js +4 -0
  17. package/lib/public/css/base.css +18 -0
  18. package/lib/public/css/diagnostics.css +279 -0
  19. package/lib/public/css/icon-strip.css +201 -0
  20. package/lib/public/css/menus.css +2 -2
  21. package/lib/public/css/mobile-nav.css +24 -0
  22. package/lib/public/css/server-settings.css +100 -0
  23. package/lib/public/index.html +26 -0
  24. package/lib/public/modules/app-header.js +4 -7
  25. package/lib/public/modules/app-home-hub.js +31 -7
  26. package/lib/public/modules/app-messages.js +13 -0
  27. package/lib/public/modules/app-notifications.js +5 -1
  28. package/lib/public/modules/app-panels.js +11 -21
  29. package/lib/public/modules/app-projects.js +10 -5
  30. package/lib/public/modules/command-palette.js +16 -5
  31. package/lib/public/modules/custom-icons-settings.js +399 -0
  32. package/lib/public/modules/custom-icons.js +114 -0
  33. package/lib/public/modules/diagnostic-format.js +34 -0
  34. package/lib/public/modules/diagnostics.js +297 -0
  35. package/lib/public/modules/emoji-picker.js +253 -6
  36. package/lib/public/modules/model-context-windows.js +62 -0
  37. package/lib/public/modules/popover-position.js +192 -0
  38. package/lib/public/modules/project-icon.js +113 -0
  39. package/lib/public/modules/project-settings.js +2 -2
  40. package/lib/public/modules/project-switcher.js +2 -1
  41. package/lib/public/modules/scheduler-config.js +5 -8
  42. package/lib/public/modules/scheduler.js +5 -6
  43. package/lib/public/modules/server-settings.js +6 -0
  44. package/lib/public/modules/sidebar-mobile.js +4 -6
  45. package/lib/public/modules/sidebar-projects.js +35 -90
  46. package/lib/public/modules/sidebar-sessions.js +6 -20
  47. package/lib/public/modules/sticky-notes.js +4 -4
  48. package/lib/public/modules/terminal.js +5 -12
  49. package/lib/public/style.css +1 -0
  50. package/lib/sdk-bridge.js +75 -10
  51. package/lib/sdk-message-processor.js +12 -0
  52. package/lib/sdk-worker.js +4 -1
  53. package/lib/server-settings.js +221 -1
  54. package/lib/server.js +30 -1
  55. package/lib/sessions.js +27 -11
  56. package/lib/settings-preflight.js +212 -0
  57. package/lib/ws-schema.js +2 -0
  58. package/lib/yoke/adapters/claude-worker.js +14 -2
  59. package/lib/yoke/adapters/claude.js +16 -0
  60. package/lib/yoke/adapters/diagnostic-patterns.js +120 -0
  61. package/lib/yoke/index.js +4 -0
  62. package/lib/yoke/interface.js +99 -0
  63. package/package.json +2 -1
  64. package/scripts/postinstall.js +41 -0
  65. package/lib/certs/fullchain.pem +0 -47
  66. package/lib/certs/privkey.pem +0 -5
@@ -285,3 +285,21 @@ html, body {
285
285
  color: var(--text);
286
286
  }
287
287
 
288
+ /* Mobile (lr-2fdd): bottom:80px occludes the bottom-nav / input box / content
289
+ on narrow viewports (iOS screenshot showed the toast covering content just
290
+ above the Projects/Chat/Team/More nav). Top-anchor instead — per Andy's
291
+ steer ("should top align more than bottom align") — clearing the notch /
292
+ status bar via the safe-area inset. Desktop placement is unchanged. */
293
+ @media (max-width: 768px) {
294
+ .toast,
295
+ .sw-update-banner {
296
+ top: calc(var(--safe-top) + 12px);
297
+ bottom: auto;
298
+ transform: translateX(-50%) translateY(-8px);
299
+ }
300
+ .toast.visible,
301
+ .sw-update-banner.visible {
302
+ transform: translateX(-50%) translateY(0);
303
+ }
304
+ }
305
+
@@ -0,0 +1,279 @@
1
+ /* ==========================================================================
2
+ Diagnostics — Toast + Panel (lr-8294, epic lr-1a52)
3
+ Visually distinct from runtime errors: uses info/warning/error severity
4
+ colors but NOT the red error style of addSystemMessage.
5
+ ========================================================================== */
6
+
7
+ /* --------------------------------------------------------
8
+ Diagnostics panel button (topbar)
9
+ -------------------------------------------------------- */
10
+ #diagnostics-panel-btn {
11
+ position: relative;
12
+ }
13
+ #diagnostics-panel-btn.active {
14
+ color: var(--accent);
15
+ }
16
+
17
+ /* Badge on the panel toggle button */
18
+ .diagnostics-panel-badge {
19
+ position: absolute;
20
+ top: -3px;
21
+ right: -3px;
22
+ min-width: 15px;
23
+ height: 15px;
24
+ line-height: 15px;
25
+ border-radius: 8px;
26
+ font-size: 9px;
27
+ font-weight: 700;
28
+ text-align: center;
29
+ padding: 0 3px;
30
+ pointer-events: none;
31
+ font-family: inherit;
32
+ color: #fff;
33
+ background: var(--text-muted);
34
+ }
35
+ .diagnostics-panel-badge.hidden { display: none; }
36
+ .diagnostics-badge-info { background: var(--text-muted); }
37
+ .diagnostics-badge-warning { background: var(--accent2, #4A7FE8); }
38
+ .diagnostics-badge-error { background: var(--error, #FF4D6A); }
39
+
40
+ /* --------------------------------------------------------
41
+ Diagnostics panel (inside #info-panels)
42
+ Follows the usage-panel / team-panel pattern.
43
+ -------------------------------------------------------- */
44
+ #diagnostics-panel {
45
+ display: flex;
46
+ flex-direction: column;
47
+ min-height: 0;
48
+ }
49
+ #diagnostics-panel.hidden { display: none; }
50
+ #diagnostics-panel:focus { outline: none; }
51
+
52
+ .diagnostics-panel-body {
53
+ flex: 1;
54
+ overflow-y: auto;
55
+ padding: 0;
56
+ min-height: 0;
57
+ }
58
+
59
+ /* --------------------------------------------------------
60
+ Diagnostic items
61
+ -------------------------------------------------------- */
62
+ .diagnostics-item {
63
+ padding: 10px 14px;
64
+ border-bottom: 1px solid var(--border-subtle, var(--border));
65
+ display: flex;
66
+ flex-direction: column;
67
+ gap: 4px;
68
+ }
69
+ .diagnostics-item:last-child { border-bottom: none; }
70
+ .diagnostics-item:hover { background: rgba(var(--overlay-rgb), 0.02); }
71
+
72
+ /* Left-border severity indicator */
73
+ .diagnostics-item-info { border-left: 2px solid var(--text-muted); }
74
+ .diagnostics-item-warning { border-left: 2px solid var(--accent2, #4A7FE8); }
75
+ .diagnostics-item-error { border-left: 2px solid var(--error, #FF4D6A); }
76
+
77
+ .diagnostics-item-meta {
78
+ display: flex;
79
+ align-items: center;
80
+ gap: 6px;
81
+ }
82
+
83
+ /* Severity badge pill */
84
+ .diagnostics-sev-badge {
85
+ font-family: var(--font-mono, monospace);
86
+ font-size: 9px;
87
+ font-weight: 700;
88
+ letter-spacing: 0.06em;
89
+ text-transform: uppercase;
90
+ border-radius: 4px;
91
+ padding: 1px 5px;
92
+ line-height: 1.4;
93
+ flex-shrink: 0;
94
+ }
95
+ .diagnostics-sev-info {
96
+ background: rgba(var(--overlay-rgb), 0.06);
97
+ color: var(--text-muted);
98
+ }
99
+ .diagnostics-sev-warning {
100
+ background: var(--accent2-12, rgba(74, 127, 232, 0.12));
101
+ color: var(--accent2, #4A7FE8);
102
+ }
103
+ .diagnostics-sev-error {
104
+ background: var(--error-12, rgba(255, 77, 106, 0.12));
105
+ color: var(--error, #FF4D6A);
106
+ }
107
+
108
+ /* Source label */
109
+ .diagnostics-source {
110
+ font-family: var(--font-mono, monospace);
111
+ font-size: 9.5px;
112
+ color: var(--text-dimmer);
113
+ text-transform: uppercase;
114
+ letter-spacing: 0.08em;
115
+ }
116
+
117
+ /* Message text */
118
+ .diagnostics-message {
119
+ font-size: 12px;
120
+ color: var(--text-secondary);
121
+ line-height: 1.5;
122
+ word-break: break-word;
123
+ }
124
+
125
+ /* Actionable hint */
126
+ .diagnostics-actionable {
127
+ display: flex;
128
+ align-items: flex-start;
129
+ gap: 5px;
130
+ margin-top: 2px;
131
+ padding: 4px 6px;
132
+ background: var(--accent2-8, rgba(74, 127, 232, 0.08));
133
+ border-radius: 4px;
134
+ }
135
+ .diagnostics-actionable-icon {
136
+ flex-shrink: 0;
137
+ color: var(--accent2, #4A7FE8);
138
+ display: flex;
139
+ align-items: center;
140
+ }
141
+ .diagnostics-actionable-icon .lucide { width: 11px; height: 11px; }
142
+ .diagnostics-actionable-text {
143
+ font-size: 11px;
144
+ color: var(--text-secondary);
145
+ line-height: 1.4;
146
+ }
147
+
148
+ /* Empty state */
149
+ .diagnostics-empty {
150
+ padding: 20px 14px;
151
+ font-size: 12px;
152
+ color: var(--text-muted);
153
+ text-align: center;
154
+ }
155
+
156
+ /* --------------------------------------------------------
157
+ Diagnostic Toast
158
+ Extends the base .toast with richer layout.
159
+ Sits above the regular toast z-index.
160
+ -------------------------------------------------------- */
161
+ .toast-diagnostic {
162
+ position: fixed;
163
+ bottom: 80px;
164
+ left: 50%;
165
+ transform: translateX(-50%) translateY(8px);
166
+ z-index: 450;
167
+ opacity: 0;
168
+ pointer-events: auto;
169
+ transition: opacity 0.2s, transform 0.2s;
170
+
171
+ background: var(--bg-alt);
172
+ border: 1px solid var(--border);
173
+ border-radius: 10px;
174
+ box-shadow: 0 4px 20px rgba(var(--shadow-rgb), 0.3);
175
+ min-width: 280px;
176
+ max-width: 400px;
177
+ padding: 10px 14px;
178
+ display: flex;
179
+ flex-direction: column;
180
+ gap: 4px;
181
+ }
182
+ .toast-diagnostic.visible {
183
+ opacity: 1;
184
+ transform: translateX(-50%) translateY(0);
185
+ }
186
+
187
+ /* Severity border accent */
188
+ .toast-diagnostic-info { border-left: 3px solid var(--text-muted); }
189
+ .toast-diagnostic-warning { border-left: 3px solid var(--accent2, #4A7FE8); }
190
+ .toast-diagnostic-error { border-left: 3px solid var(--error, #FF4D6A); }
191
+
192
+ .toast-diagnostic-header {
193
+ display: flex;
194
+ align-items: center;
195
+ gap: 6px;
196
+ }
197
+
198
+ .toast-diagnostic-severity {
199
+ font-family: var(--font-mono, monospace);
200
+ font-size: 9px;
201
+ font-weight: 700;
202
+ letter-spacing: 0.06em;
203
+ text-transform: uppercase;
204
+ border-radius: 4px;
205
+ padding: 1px 5px;
206
+ line-height: 1.4;
207
+ flex-shrink: 0;
208
+ }
209
+ .toast-diag-sev-info { background: rgba(var(--overlay-rgb), 0.06); color: var(--text-muted); }
210
+ .toast-diag-sev-warning { background: var(--accent2-12, rgba(74, 127, 232, 0.12)); color: var(--accent2, #4A7FE8); }
211
+ .toast-diag-sev-error { background: var(--error-12, rgba(255, 77, 106, 0.12)); color: var(--error, #FF4D6A); }
212
+
213
+ .toast-diagnostic-source {
214
+ font-family: var(--font-mono, monospace);
215
+ font-size: 9.5px;
216
+ color: var(--text-dimmer);
217
+ text-transform: uppercase;
218
+ letter-spacing: 0.08em;
219
+ flex: 1;
220
+ }
221
+
222
+ .toast-diagnostic-dismiss {
223
+ margin-left: auto;
224
+ background: none;
225
+ border: none;
226
+ color: var(--text-muted);
227
+ cursor: pointer;
228
+ padding: 2px;
229
+ display: flex;
230
+ align-items: center;
231
+ justify-content: center;
232
+ border-radius: 4px;
233
+ transition: color 0.15s, background 0.15s;
234
+ }
235
+ .toast-diagnostic-dismiss:hover {
236
+ color: var(--text);
237
+ background: rgba(var(--overlay-rgb), 0.06);
238
+ }
239
+ .toast-diagnostic-dismiss:focus-visible {
240
+ outline: 2px solid var(--accent);
241
+ outline-offset: 1px;
242
+ }
243
+ .toast-diagnostic-dismiss .lucide { width: 12px; height: 12px; }
244
+
245
+ .toast-diagnostic-msg {
246
+ font-size: 12.5px;
247
+ color: var(--text-secondary);
248
+ line-height: 1.5;
249
+ word-break: break-word;
250
+ }
251
+
252
+ .toast-diagnostic-hint {
253
+ font-size: 10.5px;
254
+ color: var(--text-dimmer);
255
+ margin-top: 2px;
256
+ }
257
+
258
+ /* --------------------------------------------------------
259
+ Mobile
260
+ -------------------------------------------------------- */
261
+ @media (max-width: 768px) {
262
+ .toast-diagnostic {
263
+ left: 16px;
264
+ right: 16px;
265
+ transform: translateY(8px);
266
+ max-width: none;
267
+ /* lr-2fdd: bottom:80px (inherited from base .toast) occludes the
268
+ bottom-nav / input box / content on mobile (iOS screenshot showed
269
+ the PREFLIGHT WARNING toast covering the UPCOMING card just above
270
+ the Projects/Chat/Team/More nav). Top-anchor instead, matching the
271
+ base .toast / .sw-update-banner mobile fix so the whole toast
272
+ family lands the same way. */
273
+ top: calc(var(--safe-top) + 12px);
274
+ bottom: auto;
275
+ }
276
+ .toast-diagnostic.visible {
277
+ transform: translateY(0);
278
+ }
279
+ }
@@ -499,6 +499,207 @@
499
499
  drop-shadow(0 0 4px rgba(255,255,255,0.35));
500
500
  }
501
501
 
502
+ /* Custom-image icon rendered as <img> (project-icon.js) */
503
+ .project-emoji-img {
504
+ display: block;
505
+ width: 22px;
506
+ height: 22px;
507
+ object-fit: contain;
508
+ pointer-events: none;
509
+ }
510
+
511
+ /* Hub project icon rendered via renderProjectIcon */
512
+ .hub-project-icon .project-emoji-img {
513
+ width: 18px;
514
+ height: 18px;
515
+ }
516
+
517
+ /* --- Custom emoji picker panel --- */
518
+ .emoji-picker-custom-panel {
519
+ width: 100%;
520
+ }
521
+
522
+ .emoji-picker-slug-confirm {
523
+ padding: 6px 0 8px;
524
+ display: flex;
525
+ flex-direction: column;
526
+ gap: 6px;
527
+ }
528
+
529
+ .emoji-picker-slug-confirm.hidden {
530
+ display: none;
531
+ }
532
+
533
+ .emoji-picker-slug-label {
534
+ font-size: 11px;
535
+ font-weight: 600;
536
+ color: var(--text-secondary);
537
+ text-transform: uppercase;
538
+ letter-spacing: 0.04em;
539
+ }
540
+
541
+ .emoji-picker-slug-input {
542
+ width: 100%;
543
+ box-sizing: border-box;
544
+ background: var(--input-bg, var(--bg-secondary));
545
+ border: 1px solid var(--border);
546
+ border-radius: 6px;
547
+ color: var(--text);
548
+ font-family: inherit;
549
+ font-size: 13px;
550
+ padding: 5px 8px;
551
+ outline: none;
552
+ transition: border-color 0.15s;
553
+ }
554
+
555
+ .emoji-picker-slug-input:focus {
556
+ border-color: var(--accent, #7c6cf8);
557
+ }
558
+
559
+ .emoji-picker-slug-actions {
560
+ display: flex;
561
+ gap: 6px;
562
+ justify-content: flex-end;
563
+ }
564
+
565
+ .emoji-picker-slug-actions button {
566
+ padding: 4px 12px;
567
+ border-radius: 5px;
568
+ font-size: 12px;
569
+ font-weight: 500;
570
+ font-family: inherit;
571
+ cursor: pointer;
572
+ border: 1px solid var(--border);
573
+ background: var(--bg-alt);
574
+ color: var(--text-secondary);
575
+ transition: background 0.15s;
576
+ }
577
+
578
+ .emoji-picker-slug-actions button:hover {
579
+ background: var(--bg-hover, var(--bg-alt));
580
+ color: var(--text);
581
+ }
582
+
583
+ .emoji-picker-slug-actions button.primary {
584
+ background: var(--accent);
585
+ color: #fff;
586
+ border-color: var(--accent);
587
+ }
588
+
589
+ .emoji-picker-slug-actions button.primary:hover {
590
+ opacity: 0.9;
591
+ }
592
+
593
+ /* Upload tile in the custom emoji grid */
594
+ .emoji-picker-upload-tile {
595
+ font-size: 22px;
596
+ font-weight: 300;
597
+ color: var(--text-dimmer);
598
+ border: 1.5px dashed var(--border);
599
+ border-radius: 6px;
600
+ background: transparent;
601
+ transition: border-color 0.15s, color 0.15s, background 0.15s;
602
+ }
603
+
604
+ .emoji-picker-upload-tile:hover {
605
+ border-color: var(--accent);
606
+ color: var(--accent);
607
+ background: rgba(var(--accent-rgb, 124, 58, 237), 0.06);
608
+ transform: none;
609
+ }
610
+
611
+ /* Individual custom-emoji tile (image + delete button) */
612
+ .emoji-picker-custom-tile {
613
+ position: relative;
614
+ width: 32px;
615
+ height: 32px;
616
+ border-radius: 6px;
617
+ cursor: pointer;
618
+ }
619
+
620
+ .emoji-picker-custom-tile:hover {
621
+ background: rgba(var(--overlay-rgb), 0.08);
622
+ }
623
+
624
+ .emoji-picker-custom-img {
625
+ width: 32px;
626
+ height: 32px;
627
+ object-fit: contain;
628
+ border-radius: 4px;
629
+ display: block;
630
+ }
631
+
632
+ .emoji-picker-custom-delete {
633
+ position: absolute;
634
+ top: -6px;
635
+ right: -6px;
636
+ width: 16px;
637
+ height: 16px;
638
+ border-radius: 50%;
639
+ background: var(--error, #ef4444);
640
+ color: #fff;
641
+ font-size: 12px;
642
+ line-height: 1;
643
+ border: none;
644
+ cursor: pointer;
645
+ display: none;
646
+ align-items: center;
647
+ justify-content: center;
648
+ padding: 0;
649
+ z-index: 2;
650
+ }
651
+
652
+ .emoji-picker-custom-tile:hover .emoji-picker-custom-delete {
653
+ display: flex;
654
+ }
655
+
656
+ .emoji-picker-custom-empty {
657
+ font-size: 12px;
658
+ color: var(--text-tertiary, var(--text-dimmer));
659
+ padding: 8px 4px;
660
+ text-align: center;
661
+ }
662
+
663
+ /* --- Mobile-responsive emoji picker --- */
664
+ @media (max-width: 768px) {
665
+ .emoji-picker {
666
+ /* On mobile, stretch to fill most of the viewport width, but never
667
+ past it — clamp against 100vw/100vh so the picker can't overflow
668
+ regardless of where the anchor that triggered it was positioned. */
669
+ width: calc(100vw - 24px);
670
+ max-width: min(340px, calc(100vw - 24px));
671
+ /* Limit height so it doesn't cover the entire screen, and clamp the
672
+ same way vertically. sidebar-projects.js (positionEmojiPicker)
673
+ centers the picker in the viewport on mobile and sets inline
674
+ top/left in px — it intentionally does not use left/right, so
675
+ nothing here should set them (a prior !important left/right pair
676
+ fought the JS top clamp and pushed the picker off-screen; lr-149e). */
677
+ max-height: min(70vh, calc(100vh - 24px));
678
+ overflow: hidden;
679
+ }
680
+
681
+ .emoji-picker-scroll {
682
+ max-height: calc(min(70vh, 100vh - 24px) - 120px);
683
+ }
684
+
685
+ .emoji-picker-grid {
686
+ /* Reduce from 8 to 6 columns on narrow screens */
687
+ grid-template-columns: repeat(6, 1fr);
688
+ }
689
+
690
+ /* Custom panel on mobile: upload tile + grid both need to fit the narrower layout */
691
+ .emoji-picker-custom-tile,
692
+ .emoji-picker-upload-tile {
693
+ width: 40px;
694
+ height: 40px;
695
+ }
696
+
697
+ .emoji-picker-custom-img {
698
+ width: 40px;
699
+ height: 40px;
700
+ }
701
+ }
702
+
502
703
  /* --- Project context menu --- */
503
704
  .project-ctx-menu {
504
705
  position: fixed;
@@ -669,7 +669,7 @@
669
669
  #info-panels:empty { display: none; }
670
670
 
671
671
  /* --- Usage panel --- */
672
- #usage-panel, #status-panel, #context-panel, #team-panel {
672
+ #usage-panel, #status-panel, #context-panel, #team-panel, #diagnostics-panel {
673
673
  background: var(--bg-alt);
674
674
  border: 1px solid var(--border);
675
675
  border-radius: 12px;
@@ -678,7 +678,7 @@
678
678
  pointer-events: auto;
679
679
  }
680
680
 
681
- #usage-panel.hidden, #status-panel.hidden, #context-panel.hidden, #team-panel.hidden { display: none; }
681
+ #usage-panel.hidden, #status-panel.hidden, #context-panel.hidden, #team-panel.hidden, #diagnostics-panel.hidden { display: none; }
682
682
 
683
683
  .usage-panel-header {
684
684
  display: flex;
@@ -171,6 +171,15 @@
171
171
  font-weight: 600;
172
172
  color: var(--text-secondary);
173
173
  flex-shrink: 0;
174
+ overflow: hidden;
175
+ }
176
+
177
+ /* Custom-image icons rendered via renderProjectIcon inside mobile abbrev box */
178
+ .mobile-project-abbrev .project-emoji-img {
179
+ width: 26px;
180
+ height: 26px;
181
+ object-fit: contain;
182
+ border-radius: 4px;
174
183
  }
175
184
 
176
185
  .mobile-project-item.active .mobile-project-abbrev {
@@ -178,6 +187,21 @@
178
187
  color: #fff;
179
188
  }
180
189
 
190
+ /* mobile-chat-project-icon: icon in the chat header title area */
191
+ .mobile-chat-project-icon .project-emoji-img {
192
+ width: 28px;
193
+ height: 28px;
194
+ object-fit: contain;
195
+ border-radius: 4px;
196
+ }
197
+
198
+ /* mobile-folder-emoji-overlay: icon overlaid on folder icon */
199
+ .mobile-folder-emoji-overlay .project-emoji-img {
200
+ width: 18px;
201
+ height: 18px;
202
+ object-fit: contain;
203
+ }
204
+
181
205
  .mobile-project-name {
182
206
  flex: 1;
183
207
  overflow: hidden;
@@ -1072,3 +1072,103 @@
1072
1072
  margin-top: 2px;
1073
1073
  }
1074
1074
 
1075
+ /* ===== Custom Icons settings section (lr-d1d9) ===== */
1076
+ .custom-icons-header {
1077
+ display: flex;
1078
+ align-items: center;
1079
+ gap: 8px;
1080
+ margin-bottom: 14px;
1081
+ }
1082
+ /* lr-0847: slug filter box — grows to fill the row, Upload stays fixed width */
1083
+ .custom-icons-filter-input {
1084
+ flex: 1;
1085
+ min-width: 0;
1086
+ cursor: text;
1087
+ background: var(--bg);
1088
+ color: var(--text);
1089
+ font-family: inherit;
1090
+ }
1091
+ .custom-icons-filter-input::placeholder {
1092
+ color: var(--text-dimmer);
1093
+ }
1094
+ .custom-icons-list {
1095
+ display: flex;
1096
+ flex-direction: column;
1097
+ gap: 6px;
1098
+ }
1099
+ .custom-icons-row {
1100
+ display: flex;
1101
+ align-items: center;
1102
+ gap: 12px;
1103
+ padding: 10px 12px;
1104
+ border: 1px solid var(--border);
1105
+ border-radius: 8px;
1106
+ background: var(--bg-alt);
1107
+ }
1108
+ .custom-icons-thumb {
1109
+ flex-shrink: 0;
1110
+ display: flex;
1111
+ align-items: center;
1112
+ justify-content: center;
1113
+ width: 36px;
1114
+ height: 36px;
1115
+ }
1116
+ .custom-icons-thumb .project-emoji-img {
1117
+ width: 36px;
1118
+ height: 36px;
1119
+ border-radius: 8px;
1120
+ border: 1px solid rgba(var(--overlay-rgb), 0.1);
1121
+ object-fit: cover;
1122
+ background: var(--bg);
1123
+ }
1124
+ .custom-icons-meta {
1125
+ flex: 1;
1126
+ min-width: 0;
1127
+ }
1128
+ .custom-icons-slug {
1129
+ font-family: "Roboto Mono", monospace;
1130
+ font-size: 13px;
1131
+ color: var(--text);
1132
+ overflow: hidden;
1133
+ text-overflow: ellipsis;
1134
+ white-space: nowrap;
1135
+ }
1136
+ .custom-icons-detail {
1137
+ margin-top: 2px;
1138
+ }
1139
+ .custom-icons-actions {
1140
+ flex-shrink: 0;
1141
+ display: flex;
1142
+ gap: 6px;
1143
+ }
1144
+ .custom-icons-actions .settings-btn-sm .lucide {
1145
+ width: 14px;
1146
+ height: 14px;
1147
+ }
1148
+ .custom-icons-rename-form {
1149
+ display: flex;
1150
+ align-items: center;
1151
+ gap: 6px;
1152
+ flex: 1;
1153
+ min-width: 0;
1154
+ }
1155
+ .custom-icons-rename-input {
1156
+ flex: 1;
1157
+ min-width: 0;
1158
+ padding: 6px 10px;
1159
+ border: 1px solid var(--border);
1160
+ border-radius: 6px;
1161
+ background: var(--bg);
1162
+ color: var(--text);
1163
+ font-family: "Roboto Mono", monospace;
1164
+ font-size: 13px;
1165
+ outline: none;
1166
+ }
1167
+ .custom-icons-rename-input:focus {
1168
+ border-color: var(--accent);
1169
+ }
1170
+ .custom-icons-rename-error {
1171
+ color: var(--error);
1172
+ margin-top: 4px;
1173
+ }
1174
+