@symerian/symi 3.5.0 → 3.5.1

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 (62) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/bundled/boot-md/handler.js +4 -4
  3. package/dist/bundled/session-memory/handler.js +4 -4
  4. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  5. package/dist/{chrome-C_I81hbq.js → chrome-B7-rO4i9.js} +4 -4
  6. package/dist/{chrome-BKUACyeO.js → chrome-DPjznJQ-.js} +4 -4
  7. package/dist/control-ui/css/revert-red-theme.md +141 -0
  8. package/dist/control-ui/css/style.css +5843 -0
  9. package/dist/control-ui/css/style.css.backup-2026-03-03-162525 +3546 -0
  10. package/dist/control-ui/css/style.css.backup-before-red-2026-03-03-162525 +3546 -0
  11. package/dist/control-ui/css/style.css.backup-before-red-theme-2026-03-03-162530 +3546 -0
  12. package/dist/control-ui/css/style.css.pre-2row +2165 -0
  13. package/dist/control-ui/css/style.css.pre-brand +1776 -0
  14. package/dist/control-ui/css/style.css.pre-history +1974 -0
  15. package/dist/control-ui/css/style.css.pre-nav +2264 -0
  16. package/dist/control-ui/css/style.css.pre-newsession +1898 -0
  17. package/dist/control-ui/css/style.css.pre-queue +2195 -0
  18. package/dist/control-ui/css/style.css.pre-red-prompt +2524 -0
  19. package/dist/control-ui/css/style.css.pre-stop +2239 -0
  20. package/dist/control-ui/css/style.css.pre-textarea +2184 -0
  21. package/dist/control-ui/css/style.css.pre-watchdog +1848 -0
  22. package/dist/control-ui/css/style.css.red-theme +2999 -0
  23. package/dist/control-ui/index.html +1049 -0
  24. package/dist/control-ui/js/app.js +1304 -0
  25. package/dist/control-ui/js/app.js.pre-2row +463 -0
  26. package/dist/control-ui/js/app.js.pre-heartbeat-filter +595 -0
  27. package/dist/control-ui/js/app.js.pre-newsession +408 -0
  28. package/dist/control-ui/js/app.js.pre-queue +476 -0
  29. package/dist/control-ui/js/app.js.pre-stop +564 -0
  30. package/dist/control-ui/js/app.js.pre-textarea +467 -0
  31. package/dist/control-ui/js/app.js.pre-watchdog +293 -0
  32. package/dist/control-ui/js/connections.js +438 -0
  33. package/dist/control-ui/js/gateway.js +233 -0
  34. package/dist/control-ui/js/gateway.js.pre-stop +110 -0
  35. package/dist/control-ui/js/history.js +732 -0
  36. package/dist/control-ui/js/logs.js +238 -0
  37. package/dist/control-ui/js/menu.js +232 -0
  38. package/dist/control-ui/js/menu.js.pre-nav +66 -0
  39. package/dist/control-ui/js/metrics.js +53 -0
  40. package/dist/control-ui/js/models.js +138 -0
  41. package/dist/control-ui/js/render.js +882 -0
  42. package/dist/control-ui/js/render.test.js +112 -0
  43. package/dist/control-ui/js/scheduling.js +461 -0
  44. package/dist/control-ui/js/settings.js +910 -0
  45. package/dist/control-ui/js/slash-autocomplete.js +168 -0
  46. package/dist/control-ui/js/subagents.js +560 -0
  47. package/dist/control-ui/js/utils.js +29 -0
  48. package/dist/control-ui/vendor/highlight.min.js +2518 -0
  49. package/dist/control-ui/vendor/marked.min.js +69 -0
  50. package/dist/{deliver-DyO3QD8O.js → deliver-DTRkeYm3.js} +4 -4
  51. package/dist/{deliver-Cjyb6h4g.js → deliver-oWGJwzFf.js} +4 -4
  52. package/dist/extensionAPI.js +4 -4
  53. package/dist/llm-slug-generator.js +4 -4
  54. package/dist/{manager-rvtFoeFT.js → manager-CFenq_aO.js} +1 -1
  55. package/dist/{manager-PTSjHNVq.js → manager-CsxTf96V.js} +1 -1
  56. package/dist/{pi-embedded-BPuUM-gD.js → pi-embedded-Cdub5Vs9.js} +10 -10
  57. package/dist/{pw-ai-BFS9ezWe.js → pw-ai-BOOB8qoi.js} +1 -1
  58. package/dist/{pw-ai-Cx-Ko_FL.js → pw-ai-D2pEVS5n.js} +1 -1
  59. package/dist/{synthesis-7UL3pCpj.js → synthesis-Be9nYyDd.js} +4 -4
  60. package/dist/{synthesis-fD8J2vag.js → synthesis-CBIT6Vnk.js} +4 -4
  61. package/dist/{unified-runner-BIiKFnNF.js → unified-runner-BVvvnjXW.js} +10 -10
  62. package/package.json +1 -1
@@ -0,0 +1,1776 @@
1
+ /* ── Reset & Base ─────────────────────────────────────────────────── */
2
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
3
+
4
+ :root {
5
+ --bg: #07070f;
6
+ --glass-bg: rgba(255,255,255,0.04);
7
+ --glass-bg-hover: rgba(255,255,255,0.07);
8
+ --glass-border: rgba(255,255,255,0.08);
9
+ --glass-border-strong: rgba(255,255,255,0.14);
10
+ --text: rgba(255,255,255,0.92);
11
+ --text-muted: rgba(255,255,255,0.45);
12
+ --text-dim: rgba(255,255,255,0.25);
13
+ --accent-cyan: #00d4ff;
14
+ --accent-purple: #8b5cf6;
15
+ --accent-pink: #f472b6;
16
+ --accent-green: #34d399;
17
+ --accent-blue: #60a5fa;
18
+ --shadow: 0 8px 32px rgba(0,0,0,0.5);
19
+ --blur: blur(24px) saturate(160%);
20
+ --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
21
+ --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
22
+ }
23
+
24
+ html, body {
25
+ height: 100%;
26
+ width: 100%;
27
+ overflow: hidden;
28
+ background: var(--bg);
29
+ color: var(--text);
30
+ font-family: var(--font);
31
+ font-size: 13px;
32
+ line-height: 1.5;
33
+ -webkit-font-smoothing: antialiased;
34
+ }
35
+
36
+ /* ── Background ───────────────────────────────────────────────────── */
37
+ .bg-orbs {
38
+ position: fixed;
39
+ inset: 0;
40
+ pointer-events: none;
41
+ z-index: 0;
42
+ overflow: hidden;
43
+ }
44
+
45
+ .orb {
46
+ position: absolute;
47
+ border-radius: 50%;
48
+ filter: blur(120px);
49
+ opacity: 0.18;
50
+ animation: drift 20s ease-in-out infinite alternate;
51
+ }
52
+
53
+ .orb-1 {
54
+ width: 700px; height: 700px;
55
+ background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
56
+ top: -200px; left: -150px;
57
+ animation-duration: 25s;
58
+ }
59
+
60
+ .orb-2 {
61
+ width: 600px; height: 600px;
62
+ background: radial-gradient(circle, var(--accent-purple), transparent 70%);
63
+ bottom: -100px; right: -100px;
64
+ animation-duration: 30s;
65
+ animation-delay: -8s;
66
+ }
67
+
68
+ .orb-3 {
69
+ width: 500px; height: 500px;
70
+ background: radial-gradient(circle, var(--accent-pink), transparent 70%);
71
+ top: 40%; left: 45%;
72
+ animation-duration: 22s;
73
+ animation-delay: -4s;
74
+ opacity: 0.1;
75
+ }
76
+
77
+ @keyframes drift {
78
+ 0% { transform: translate(0, 0) scale(1); }
79
+ 33% { transform: translate(60px, -40px) scale(1.05); }
80
+ 66% { transform: translate(-40px, 60px) scale(0.95); }
81
+ 100% { transform: translate(30px, 20px) scale(1.02); }
82
+ }
83
+
84
+ .bg-grid {
85
+ position: fixed;
86
+ inset: 0;
87
+ z-index: 0;
88
+ pointer-events: none;
89
+ background-image:
90
+ linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
91
+ linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
92
+ background-size: 48px 48px;
93
+ mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
94
+ }
95
+
96
+ /* ── Glass Panel ──────────────────────────────────────────────────── */
97
+ .glass-panel {
98
+ position: relative;
99
+ background: var(--glass-bg);
100
+ backdrop-filter: var(--blur);
101
+ -webkit-backdrop-filter: var(--blur);
102
+ border: 1px solid var(--glass-border);
103
+ border-radius: 14px;
104
+ padding: 14px;
105
+ box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
106
+ transition: border-color 0.3s, box-shadow 0.3s;
107
+ }
108
+
109
+ .glass-panel:hover {
110
+ border-color: var(--glass-border-strong);
111
+ box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 1px rgba(0,212,255,0.05);
112
+ }
113
+
114
+ .glass-panel::before {
115
+ content: '';
116
+ position: absolute;
117
+ inset: 0;
118
+ border-radius: 16px;
119
+ background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
120
+ pointer-events: none;
121
+ }
122
+
123
+ .panel-sm { padding: 10px 12px; }
124
+
125
+ .panel-label {
126
+ font-size: 10px;
127
+ font-family: var(--font-mono);
128
+ font-weight: 600;
129
+ letter-spacing: 0.18em;
130
+ color: var(--accent-cyan);
131
+ margin-bottom: 12px;
132
+ opacity: 0.9;
133
+ }
134
+
135
+ /* ── Metric Rows ──────────────────────────────────────────────────── */
136
+ .metric-row {
137
+ display: flex;
138
+ align-items: center;
139
+ gap: 8px;
140
+ margin-bottom: 7px;
141
+ }
142
+
143
+ .metric-row:last-child { margin-bottom: 0; }
144
+
145
+ .metric-name {
146
+ font-family: var(--font-mono);
147
+ font-size: 10px;
148
+ color: var(--text-muted);
149
+ width: 38px;
150
+ flex-shrink: 0;
151
+ }
152
+
153
+ .metric-bar {
154
+ flex: 1;
155
+ height: 3px;
156
+ background: rgba(255,255,255,0.08);
157
+ border-radius: 99px;
158
+ overflow: hidden;
159
+ }
160
+
161
+ .metric-fill {
162
+ --accent: var(--accent-cyan);
163
+ height: 100%;
164
+ width: 0%;
165
+ border-radius: 99px;
166
+ background: var(--accent);
167
+ box-shadow: 0 0 6px var(--accent);
168
+ transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
169
+ }
170
+
171
+ .metric-val {
172
+ font-family: var(--font-mono);
173
+ font-size: 10px;
174
+ color: var(--text-muted);
175
+ width: 40px;
176
+ text-align: right;
177
+ flex-shrink: 0;
178
+ }
179
+
180
+ /* ── Network / Status Rows ────────────────────────────────────────── */
181
+ .net-row {
182
+ display: flex;
183
+ align-items: center;
184
+ gap: 7px;
185
+ margin-bottom: 8px;
186
+ min-height: 20px;
187
+ }
188
+ .net-row:last-child { margin-bottom: 0; }
189
+
190
+ .net-name {
191
+ font-size: 12px;
192
+ color: var(--text);
193
+ flex: 1;
194
+ }
195
+ .net-name.muted { color: var(--text-muted); }
196
+
197
+ .net-ip {
198
+ font-family: var(--font-mono);
199
+ font-size: 11px;
200
+ color: var(--text-muted);
201
+ }
202
+
203
+ .status-dot {
204
+ width: 7px; height: 7px;
205
+ border-radius: 50%;
206
+ flex-shrink: 0;
207
+ }
208
+ .dot-green { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
209
+ .dot-blue { background: var(--accent-blue); box-shadow: 0 0 6px var(--accent-blue); }
210
+ .dot-yellow { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
211
+
212
+ .pulse {
213
+ animation: pulse-glow 2s ease-in-out infinite;
214
+ }
215
+ @keyframes pulse-glow {
216
+ 0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-green); }
217
+ 50% { opacity: 0.5; box-shadow: 0 0 12px var(--accent-green), 0 0 24px var(--accent-green); }
218
+ }
219
+
220
+ .divider {
221
+ height: 1px;
222
+ background: var(--glass-border);
223
+ margin: 8px 0;
224
+ }
225
+
226
+ .badge {
227
+ font-family: var(--font-mono);
228
+ font-size: 9px;
229
+ font-weight: 700;
230
+ letter-spacing: 0.08em;
231
+ padding: 2px 7px;
232
+ border-radius: 99px;
233
+ }
234
+ .badge-green { background: rgba(52,211,153,0.12); color: var(--accent-green); border: 1px solid rgba(52,211,153,0.2); }
235
+ .badge-blue { background: rgba(96,165,250,0.12); color: var(--accent-blue); border: 1px solid rgba(96,165,250,0.2); }
236
+ .badge-cyan { background: rgba(0,212,255,0.10); color: var(--accent-cyan); border: 1px solid rgba(0,212,255,0.2); }
237
+
238
+ /* ── Big Stats ────────────────────────────────────────────────────── */
239
+ .big-stat {
240
+ font-family: var(--font-mono);
241
+ font-size: 15px;
242
+ font-weight: 600;
243
+ color: var(--text);
244
+ letter-spacing: 0.02em;
245
+ margin: 2px 0 2px;
246
+ }
247
+ .stat-sub {
248
+ font-size: 10px;
249
+ color: var(--text-dim);
250
+ letter-spacing: 0.05em;
251
+ }
252
+
253
+ /* ── Model rows ───────────────────────────────────────────────────── */
254
+ .model-row {
255
+ display: flex;
256
+ align-items: center;
257
+ gap: 8px;
258
+ margin-bottom: 8px;
259
+ }
260
+ .model-row:last-child { margin-bottom: 0; }
261
+
262
+ .model-icon {
263
+ font-size: 15px;
264
+ color: var(--accent-cyan);
265
+ flex-shrink: 0;
266
+ text-shadow: 0 0 8px var(--accent-cyan);
267
+ }
268
+ .model-icon.dim { color: var(--text-dim); text-shadow: none; }
269
+
270
+ .model-name {
271
+ font-family: var(--font-mono);
272
+ font-size: 12px;
273
+ color: var(--text);
274
+ }
275
+ .model-name.dim { color: var(--text-dim); }
276
+
277
+ .model-sub {
278
+ font-size: 10px;
279
+ color: var(--text-dim);
280
+ letter-spacing: 0.06em;
281
+ margin-top: 2px;
282
+ }
283
+
284
+ .active-model .model-name { color: var(--accent-cyan); }
285
+
286
+ /* ── Agent Status Orb ─────────────────────────────────────────────── */
287
+ .agent-status-panel { text-align: center; }
288
+
289
+ .aso-orb-wrap {
290
+ width: 120px;
291
+ height: 120px;
292
+ margin: 10px auto 14px;
293
+ }
294
+
295
+ .aso-svg {
296
+ width: 100%;
297
+ height: 100%;
298
+ overflow: visible;
299
+ }
300
+
301
+ /* Orbit guide tracks — faint rings */
302
+ .aso-track {
303
+ fill: none;
304
+ stroke: rgba(255,255,255,0.07);
305
+ stroke-width: 1;
306
+ }
307
+
308
+ /* Arc segments */
309
+ .aso-arc {
310
+ fill: none;
311
+ stroke: var(--aso-color);
312
+ stroke-width: 1.8;
313
+ stroke-linecap: round;
314
+ filter: drop-shadow(0 0 3px var(--aso-color));
315
+ }
316
+ .aso-arc-dim { opacity: 0.5; }
317
+
318
+ /* Core halo */
319
+ .aso-core-halo {
320
+ fill: var(--aso-color);
321
+ opacity: 0.12;
322
+ filter: blur(6px);
323
+ }
324
+
325
+ /* Core dot */
326
+ .aso-core {
327
+ fill: var(--aso-color);
328
+ filter: drop-shadow(0 0 5px var(--aso-color));
329
+ }
330
+
331
+ /* Rotation groups — transform-origin at SVG center (50,50) */
332
+ .aso-rot {
333
+ transform-box: fill-box;
334
+ transform-origin: center;
335
+ }
336
+
337
+ /* ── State: idle — slow cyan ── */
338
+ #agent-status-panel[data-state="idle"] { --aso-color: rgba(0,212,255,0.75); }
339
+ #agent-status-panel[data-state="idle"] .aso-rot1 { animation: aso-spin 8s linear infinite; }
340
+ #agent-status-panel[data-state="idle"] .aso-rot2 { animation: aso-spin 13s linear infinite reverse; }
341
+ #agent-status-panel[data-state="idle"] .aso-rot3 { animation: aso-spin 10s linear infinite; }
342
+ #agent-status-panel[data-state="idle"] .aso-rot4 { animation: aso-spin 17s linear infinite reverse; }
343
+ #agent-status-panel[data-state="idle"] .aso-rot5 { animation: aso-spin 12s linear infinite; }
344
+ #agent-status-panel[data-state="idle"] .aso-core { animation: aso-breathe 3.5s ease-in-out infinite; }
345
+
346
+ /* ── State: waiting — amber, a bit faster ── */
347
+ #agent-status-panel[data-state="waiting"] { --aso-color: #f59e0b; }
348
+ #agent-status-panel[data-state="waiting"] .aso-rot1 { animation: aso-spin 4s linear infinite; }
349
+ #agent-status-panel[data-state="waiting"] .aso-rot2 { animation: aso-spin 6s linear infinite reverse; }
350
+ #agent-status-panel[data-state="waiting"] .aso-rot3 { animation: aso-spin 5s linear infinite; }
351
+ #agent-status-panel[data-state="waiting"] .aso-rot4 { animation: aso-spin 9s linear infinite reverse; }
352
+ #agent-status-panel[data-state="waiting"] .aso-rot5 { animation: aso-spin 6s linear infinite; }
353
+ #agent-status-panel[data-state="waiting"] .aso-core { animation: aso-pulse 1s ease-in-out infinite; }
354
+
355
+ /* ── State: thinking — violet, fast spin ── */
356
+ #agent-status-panel[data-state="thinking"] { --aso-color: #a78bfa; }
357
+ #agent-status-panel[data-state="thinking"] .aso-rot1 { animation: aso-spin 1.1s linear infinite; }
358
+ #agent-status-panel[data-state="thinking"] .aso-rot2 { animation: aso-spin 0.7s linear infinite reverse; }
359
+ #agent-status-panel[data-state="thinking"] .aso-rot3 { animation: aso-spin 1.4s linear infinite; }
360
+ #agent-status-panel[data-state="thinking"] .aso-rot4 { animation: aso-spin 0.5s linear infinite reverse; }
361
+ #agent-status-panel[data-state="thinking"] .aso-rot5 { animation: aso-spin 1.8s linear infinite; }
362
+ #agent-status-panel[data-state="thinking"] .aso-core { animation: aso-pulse 0.45s ease-in-out infinite; }
363
+
364
+ /* ── State: streaming — green, medium flow ── */
365
+ #agent-status-panel[data-state="streaming"] { --aso-color: #34d399; }
366
+ #agent-status-panel[data-state="streaming"] .aso-rot1 { animation: aso-spin 2.2s linear infinite; }
367
+ #agent-status-panel[data-state="streaming"] .aso-rot2 { animation: aso-spin 3.5s linear infinite reverse; }
368
+ #agent-status-panel[data-state="streaming"] .aso-rot3 { animation: aso-spin 2.8s linear infinite; }
369
+ #agent-status-panel[data-state="streaming"] .aso-rot4 { animation: aso-spin 4.5s linear infinite reverse; }
370
+ #agent-status-panel[data-state="streaming"] .aso-rot5 { animation: aso-spin 3.2s linear infinite; }
371
+ #agent-status-panel[data-state="streaming"] .aso-core { animation: aso-pulse 0.7s ease-in-out infinite; }
372
+
373
+ /* ── State: done — brief flash, stays green ── */
374
+ #agent-status-panel[data-state="done"] { --aso-color: #34d399; }
375
+ #agent-status-panel[data-state="done"] .aso-rot1 { animation: aso-spin 0.4s linear infinite; }
376
+ #agent-status-panel[data-state="done"] .aso-rot2 { animation: aso-spin 0.3s linear infinite reverse; }
377
+ #agent-status-panel[data-state="done"] .aso-rot3 { animation: aso-spin 0.5s linear infinite; }
378
+ #agent-status-panel[data-state="done"] .aso-rot4 { animation: aso-spin 0.25s linear infinite reverse; }
379
+ #agent-status-panel[data-state="done"] .aso-rot5 { animation: aso-spin 0.6s linear infinite; }
380
+ #agent-status-panel[data-state="done"] .aso-core { animation: aso-flash 0.4s ease-out forwards; }
381
+
382
+ /* ── Keyframes ── */
383
+ @keyframes aso-spin {
384
+ from { transform: rotate(0deg); }
385
+ to { transform: rotate(360deg); }
386
+ }
387
+ @keyframes aso-breathe {
388
+ 0%, 100% { transform: scale(1); opacity: 0.75; }
389
+ 50% { transform: scale(1.45); opacity: 1; }
390
+ }
391
+ @keyframes aso-pulse {
392
+ 0%, 100% { transform: scale(1); }
393
+ 50% { transform: scale(1.6); }
394
+ }
395
+ @keyframes aso-flash {
396
+ 0% { transform: scale(2.5); opacity: 1; }
397
+ 60% { transform: scale(1.2); opacity: 1; }
398
+ 100% { transform: scale(1); opacity: 1; }
399
+ }
400
+
401
+ /* ── Status label & sub-text ── */
402
+ .aso-label {
403
+ font-family: var(--font-mono);
404
+ font-size: 11px;
405
+ font-weight: 700;
406
+ letter-spacing: 0.22em;
407
+ color: var(--aso-color);
408
+ margin-bottom: 5px;
409
+ text-shadow: 0 0 8px var(--aso-color);
410
+ transition: color 0.4s ease, text-shadow 0.4s ease;
411
+ }
412
+ .aso-sub {
413
+ font-size: 10px;
414
+ color: var(--text-dim);
415
+ letter-spacing: 0.04em;
416
+ }
417
+
418
+ /* ── Layout columns ───────────────────────────────────────────────── */
419
+ .metrics-col {
420
+ position: fixed;
421
+ top: 24px;
422
+ bottom: 120px;
423
+ width: 360px;
424
+ display: flex;
425
+ flex-direction: column;
426
+ gap: 12px;
427
+ z-index: 10;
428
+ overflow-y: auto;
429
+ scrollbar-width: none;
430
+ padding-bottom: 8px;
431
+ }
432
+ .metrics-col::-webkit-scrollbar { display: none; }
433
+
434
+ /* Anchor panels adjacent to the centered 740px chat column, 16px gap */
435
+ .metrics-left { left: calc(50% - 370px - 16px - 360px); }
436
+ .metrics-right { right: calc(50% - 370px - 16px - 360px); }
437
+
438
+ /* ── Response Area ────────────────────────────────────────────────── */
439
+ .response-area {
440
+ position: fixed;
441
+ top: 0;
442
+ left: calc(50% - 370px);
443
+ right: calc(50% - 370px);
444
+ bottom: 110px;
445
+ z-index: 5;
446
+ display: flex;
447
+ flex-direction: column;
448
+ justify-content: flex-start;
449
+ padding: 32px 0 16px;
450
+ overflow-y: auto;
451
+ overflow-x: hidden;
452
+ pointer-events: none;
453
+ }
454
+
455
+ /* Constrain all response content to a readable column, centered */
456
+ .response-area > * {
457
+ width: 100%;
458
+ max-width: 740px;
459
+ margin-left: auto;
460
+ margin-right: auto;
461
+ flex-shrink: 0;
462
+ pointer-events: auto;
463
+ }
464
+
465
+ /* ── Message Bubbles ──────────────────────────────────────────────── */
466
+ .message {
467
+ pointer-events: auto;
468
+ width: 100%;
469
+ max-width: 740px;
470
+ margin-bottom: 16px;
471
+ animation: waterfall 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
472
+ opacity: 0;
473
+ transform: translateY(-20px);
474
+ /* Allow bubble to fit content — don't impose a forced width on the child */
475
+ display: block;
476
+ }
477
+
478
+ @keyframes waterfall {
479
+ to { opacity: 1; transform: translateY(0); }
480
+ }
481
+
482
+ .message.user-msg .bubble {
483
+ background: rgba(0,212,255,0.07);
484
+ border: 1px solid rgba(0,212,255,0.18);
485
+ border-radius: 12px 12px 4px 12px;
486
+ padding: 10px 14px;
487
+ display: inline-block;
488
+ float: right;
489
+ max-width: 75%;
490
+ backdrop-filter: blur(12px);
491
+ color: var(--text);
492
+ font-size: 14.5px;
493
+ clear: both;
494
+ }
495
+
496
+ .message.symi-msg .bubble {
497
+ background: var(--glass-bg);
498
+ border: 1px solid var(--glass-border);
499
+ border-radius: 4px 12px 12px 12px;
500
+ padding: 12px 16px;
501
+ backdrop-filter: var(--blur);
502
+ -webkit-backdrop-filter: var(--blur);
503
+ box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.04);
504
+ font-size: 14.5px;
505
+ line-height: 1.75;
506
+ color: var(--text);
507
+ position: relative;
508
+ clear: both;
509
+ display: inline-block;
510
+ width: fit-content;
511
+ max-width: 100%;
512
+ box-sizing: border-box;
513
+ overflow: visible;
514
+ }
515
+
516
+ .message.symi-msg .bubble::before {
517
+ content: '';
518
+ position: absolute;
519
+ top: 0; left: 0; right: 0;
520
+ height: 1px;
521
+ background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
522
+ }
523
+
524
+ .message-clearfix { clear: both; }
525
+
526
+ .typing-cursor {
527
+ display: inline-block;
528
+ width: 2px;
529
+ height: 1em;
530
+ background: var(--accent-cyan);
531
+ margin-left: 2px;
532
+ vertical-align: text-bottom;
533
+ animation: blink 1s step-end infinite;
534
+ box-shadow: 0 0 4px var(--accent-cyan);
535
+ }
536
+ @keyframes blink {
537
+ 0%, 100% { opacity: 1; }
538
+ 50% { opacity: 0; }
539
+ }
540
+
541
+ /* ── Floating Prompt Bar ──────────────────────────────────────────── */
542
+ .prompt-wrap {
543
+ position: fixed;
544
+ bottom: 28px;
545
+ left: calc(50% - 370px);
546
+ right: calc(50% - 370px);
547
+ z-index: 20;
548
+ display: flex;
549
+ justify-content: center;
550
+ }
551
+
552
+ .prompt-bar {
553
+ width: 100%;
554
+ max-width: 720px;
555
+ display: flex;
556
+ align-items: center;
557
+ gap: 12px;
558
+ background: rgba(255,255,255,0.05);
559
+ backdrop-filter: blur(32px) saturate(200%);
560
+ -webkit-backdrop-filter: blur(32px) saturate(200%);
561
+ border: 1px solid rgba(255,255,255,0.12);
562
+ border-radius: 99px;
563
+ padding: 12px 16px;
564
+ box-shadow:
565
+ 0 0 0 1px rgba(0,212,255,0.08),
566
+ 0 8px 40px rgba(0,0,0,0.6),
567
+ 0 0 60px rgba(0,212,255,0.04),
568
+ inset 0 1px 0 rgba(255,255,255,0.08);
569
+ transition: border-color 0.3s, box-shadow 0.3s;
570
+ cursor: text;
571
+ }
572
+
573
+ .prompt-bar:focus-within {
574
+ border-color: rgba(0,212,255,0.3);
575
+ box-shadow:
576
+ 0 0 0 1px rgba(0,212,255,0.15),
577
+ 0 8px 40px rgba(0,0,0,0.6),
578
+ 0 0 80px rgba(0,212,255,0.08),
579
+ inset 0 1px 0 rgba(255,255,255,0.1);
580
+ }
581
+
582
+ .prompt-icon {
583
+ color: var(--accent-cyan);
584
+ opacity: 0.7;
585
+ flex-shrink: 0;
586
+ display: flex;
587
+ align-items: center;
588
+ filter: drop-shadow(0 0 4px var(--accent-cyan));
589
+ }
590
+
591
+ .prompt-bar input {
592
+ flex: 1;
593
+ background: transparent;
594
+ border: none;
595
+ outline: none;
596
+ color: var(--text);
597
+ font-family: var(--font);
598
+ font-size: 14px;
599
+ letter-spacing: 0.01em;
600
+ caret-color: var(--accent-cyan);
601
+ }
602
+
603
+ .prompt-bar input::placeholder {
604
+ color: var(--text-dim);
605
+ }
606
+
607
+ .send-btn {
608
+ background: rgba(0,212,255,0.12);
609
+ border: 1px solid rgba(0,212,255,0.2);
610
+ border-radius: 50%;
611
+ width: 32px;
612
+ height: 32px;
613
+ display: flex;
614
+ align-items: center;
615
+ justify-content: center;
616
+ color: var(--accent-cyan);
617
+ cursor: pointer;
618
+ flex-shrink: 0;
619
+ transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
620
+ }
621
+
622
+ .send-btn:hover {
623
+ background: rgba(0,212,255,0.22);
624
+ box-shadow: 0 0 16px rgba(0,212,255,0.25);
625
+ transform: scale(1.05);
626
+ }
627
+
628
+ .send-btn:active {
629
+ transform: scale(0.95);
630
+ }
631
+
632
+ /* ── Thinking Bubble ──────────────────────────────────────────────── */
633
+ .thinking-bubble {
634
+ background: rgba(0,212,255,0.04) !important;
635
+ border-color: rgba(0,212,255,0.15) !important;
636
+ padding: 10px 16px !important;
637
+ }
638
+
639
+ .think-header {
640
+ display: flex;
641
+ align-items: center;
642
+ gap: 10px;
643
+ margin-bottom: 8px;
644
+ }
645
+
646
+ .think-badge {
647
+ font-family: var(--font-mono);
648
+ font-size: 9px;
649
+ font-weight: 700;
650
+ letter-spacing: 0.15em;
651
+ color: var(--accent-cyan);
652
+ text-shadow: 0 0 8px var(--accent-cyan);
653
+ }
654
+
655
+ .think-dots span {
656
+ display: inline-block;
657
+ color: var(--accent-cyan);
658
+ animation: dot-pulse 1.2s ease-in-out infinite;
659
+ font-size: 14px;
660
+ opacity: 0;
661
+ }
662
+ .think-dots span:nth-child(1) { animation-delay: 0s; }
663
+ .think-dots span:nth-child(2) { animation-delay: 0.2s; }
664
+ .think-dots span:nth-child(3) { animation-delay: 0.4s; }
665
+
666
+ @keyframes dot-pulse {
667
+ 0%, 100% { opacity: 0; transform: translateY(0); }
668
+ 50% { opacity: 1; transform: translateY(-3px); }
669
+ }
670
+
671
+ .think-bar-wrap {
672
+ height: 2px;
673
+ background: rgba(255,255,255,0.06);
674
+ border-radius: 99px;
675
+ overflow: hidden;
676
+ }
677
+
678
+ .think-bar {
679
+ height: 100%;
680
+ width: 0%;
681
+ background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
682
+ border-radius: 99px;
683
+ animation: think-scan 1s ease-in-out infinite;
684
+ }
685
+
686
+ @keyframes think-scan {
687
+ 0% { width: 0%; margin-left: 0%; opacity: 1; }
688
+ 50% { width: 60%; margin-left: 20%; opacity: 1; }
689
+ 100% { width: 0%; margin-left: 100%; opacity: 0; }
690
+ }
691
+
692
+ /* ── Streaming Bubble ─────────────────────────────────────────────── */
693
+ .stream-bubble {
694
+ position: relative;
695
+ }
696
+
697
+ .stream-bubble.streaming {
698
+ width: 100% !important;
699
+ border-color: rgba(0,212,255,0.25) !important;
700
+ box-shadow:
701
+ 0 8px 32px rgba(0,0,0,0.5),
702
+ 0 0 20px rgba(0,212,255,0.06),
703
+ inset 0 1px 0 rgba(255,255,255,0.06) !important;
704
+ animation: stream-pulse 1.8s ease-in-out infinite;
705
+ }
706
+
707
+ @keyframes stream-pulse {
708
+ 0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0,212,255,0.06), inset 0 1px 0 rgba(255,255,255,0.06); }
709
+ 50% { box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.12), inset 0 1px 0 rgba(255,255,255,0.06); }
710
+ }
711
+
712
+ .stream-bubble.streaming::after {
713
+ content: '';
714
+ position: absolute;
715
+ top: 0; left: 0; right: 0;
716
+ height: 1px;
717
+ background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
718
+ opacity: 0.6;
719
+ animation: top-scan 2s linear infinite;
720
+ }
721
+
722
+ @keyframes top-scan {
723
+ 0% { transform: scaleX(0); transform-origin: left; opacity: 0.8; }
724
+ 50% { transform: scaleX(1); transform-origin: left; opacity: 0.6; }
725
+ 100% { transform: scaleX(0); transform-origin: right; opacity: 0; }
726
+ }
727
+
728
+ .stream-bubble.done {
729
+ width: fit-content;
730
+ max-width: 100%;
731
+ border-color: rgba(255,255,255,0.1) !important;
732
+ transition: border-color 0.8s, box-shadow 0.8s, width 0.3s ease;
733
+ }
734
+
735
+ /* ── Character spawn animation ────────────────────────────────────── */
736
+ .char-spawn {
737
+ display: inline;
738
+ color: transparent;
739
+ text-shadow: none;
740
+ transition: color 0.12s ease, text-shadow 0.2s ease;
741
+ }
742
+
743
+ .char-spawn.char-visible {
744
+ color: var(--text);
745
+ text-shadow: 0 0 8px rgba(0,212,255,0.4);
746
+ animation: char-settle 0.4s ease forwards;
747
+ }
748
+
749
+ @keyframes char-settle {
750
+ 0% { color: var(--accent-cyan); text-shadow: 0 0 12px var(--accent-cyan), 0 0 24px rgba(0,212,255,0.3); }
751
+ 40% { color: rgba(200,240,255,0.95); text-shadow: 0 0 6px rgba(0,212,255,0.2); }
752
+ 100% { color: var(--text); text-shadow: none; }
753
+ }
754
+
755
+ /* ── Telemetry footer ─────────────────────────────────────────────── */
756
+ .telemetry {
757
+ display: flex;
758
+ align-items: center;
759
+ gap: 6px;
760
+ margin-top: 10px;
761
+ padding-top: 8px;
762
+ border-top: 1px solid rgba(255,255,255,0.05);
763
+ opacity: 0;
764
+ transform: translateY(4px);
765
+ transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
766
+ }
767
+
768
+ .telemetry.tele-visible {
769
+ opacity: 1;
770
+ transform: translateY(0);
771
+ }
772
+
773
+ .tele-item {
774
+ font-family: var(--font-mono);
775
+ font-size: 9px;
776
+ color: var(--text-dim);
777
+ letter-spacing: 0.06em;
778
+ }
779
+
780
+ .tele-sep {
781
+ color: rgba(255,255,255,0.12);
782
+ font-size: 9px;
783
+ }
784
+
785
+ /* ── Send button loading state ────────────────────────────────────── */
786
+ .send-btn.btn-loading {
787
+ animation: btn-spin 1s linear infinite;
788
+ }
789
+ @keyframes btn-spin {
790
+ to { transform: rotate(360deg); }
791
+ }
792
+
793
+ /* ── Connection status ────────────────────────────────────────────── */
794
+ .conn-status {
795
+ position: fixed;
796
+ top: 16px;
797
+ left: 50%;
798
+ transform: translateX(-50%);
799
+ z-index: 30;
800
+ display: flex;
801
+ align-items: center;
802
+ gap: 7px;
803
+ background: var(--glass-bg);
804
+ backdrop-filter: var(--blur);
805
+ -webkit-backdrop-filter: var(--blur);
806
+ border: 1px solid var(--glass-border);
807
+ border-radius: 99px;
808
+ padding: 5px 12px;
809
+ pointer-events: none;
810
+ }
811
+
812
+ .conn-label {
813
+ font-family: var(--font-mono);
814
+ font-size: 9px;
815
+ letter-spacing: 0.1em;
816
+ color: var(--text-dim);
817
+ }
818
+
819
+ .dot-red { background: #f87171; box-shadow: 0 0 6px #f87171; }
820
+
821
+ /* ── UI Toggle button ─────────────────────────────────────────────── */
822
+ .ui-toggle {
823
+ position: fixed;
824
+ top: 16px;
825
+ right: 24px;
826
+ z-index: 30;
827
+ display: flex;
828
+ align-items: center;
829
+ gap: 7px;
830
+ background: var(--glass-bg);
831
+ backdrop-filter: var(--blur);
832
+ -webkit-backdrop-filter: var(--blur);
833
+ border: 1px solid var(--glass-border);
834
+ border-radius: 99px;
835
+ padding: 6px 14px;
836
+ color: var(--text-muted);
837
+ font-size: 11px;
838
+ font-family: var(--font-mono);
839
+ letter-spacing: 0.05em;
840
+ text-decoration: none;
841
+ transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
842
+ }
843
+
844
+ .ui-toggle:hover {
845
+ border-color: var(--glass-border-strong);
846
+ color: var(--text);
847
+ box-shadow: 0 0 16px rgba(0,212,255,0.08);
848
+ }
849
+
850
+ /* ── Scrollbar ────────────────────────────────────────────────────── */
851
+ .response-area::-webkit-scrollbar { display: none; }
852
+ .response-area { scrollbar-width: none; }
853
+
854
+ /* ═══════════════════════════════════════════════════════════════════
855
+ CONTENT TYPES — Markdown, Thinking, Tool Cards, Code
856
+ ═══════════════════════════════════════════════════════════════════ */
857
+
858
+ /* ── Markdown prose ────────────────────────────────────────────────── */
859
+ .msg-text {
860
+ font-size: 14.5px;
861
+ line-height: 1.75;
862
+ color: var(--text);
863
+ word-wrap: break-word;
864
+ overflow-wrap: anywhere;
865
+ word-break: break-word;
866
+ }
867
+
868
+ /* Paragraph spacing */
869
+ .msg-text :where(p, ul, ol, pre, blockquote, table) { margin: 0; }
870
+ .msg-text :where(p + p,
871
+ p + ul, p + ol, p + pre, p + blockquote, p + table,
872
+ ul + p, ol + p, pre + p, blockquote + p, table + p) { margin-top: 0.75em; }
873
+ .msg-text :where(li + li) { margin-top: 0.25em; }
874
+
875
+ /* Headings */
876
+ .msg-text :where(h1, h2, h3, h4, h5, h6) {
877
+ font-weight: 600;
878
+ line-height: 1.3;
879
+ color: rgba(255,255,255,0.96);
880
+ margin: 1.1em 0 0.4em;
881
+ }
882
+ .msg-text :where(h1) { font-size: 1.35em; border-bottom: 1px solid var(--glass-border); padding-bottom: 0.3em; }
883
+ .msg-text :where(h2) { font-size: 1.18em; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.2em; }
884
+ .msg-text :where(h3) { font-size: 1.06em; }
885
+ .msg-text :where(h4, h5, h6) { font-size: 1em; color: rgba(255,255,255,0.8); }
886
+ .msg-text :where(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0.3em; }
887
+
888
+ /* Lists */
889
+ .msg-text :where(ul, ol) { padding-left: 1.4em; }
890
+ .msg-text :where(ul) { list-style-type: disc; }
891
+ .msg-text :where(ol) { list-style-type: decimal; }
892
+ .msg-text :where(ul ul) { list-style-type: circle; margin-top: 0.25em; }
893
+
894
+ /* Text formatting */
895
+ .msg-text :where(strong) { font-weight: 600; color: rgba(255,255,255,0.97); }
896
+ .msg-text :where(em) { font-style: italic; color: rgba(255,255,255,0.82); }
897
+ .msg-text :where(del) { text-decoration: line-through; opacity: 0.6; }
898
+ .msg-text :where(mark) { background: rgba(251,191,36,0.2); color: #fbbf24; border-radius: 2px; padding: 0 3px; }
899
+ .msg-text :where(sup) { font-size: 0.75em; vertical-align: super; }
900
+ .msg-text :where(sub) { font-size: 0.75em; vertical-align: sub; }
901
+
902
+ /* Links */
903
+ .msg-text :where(a) { color: var(--accent-cyan); text-decoration: none; border-bottom: 1px solid rgba(0,212,255,0.3); }
904
+ .msg-text :where(a:hover) { border-bottom-color: var(--accent-cyan); }
905
+
906
+ /* Horizontal rule */
907
+ .msg-text :where(hr) {
908
+ border: none;
909
+ border-top: 1px solid var(--glass-border);
910
+ margin: 1em 0;
911
+ }
912
+
913
+ /* Blockquote */
914
+ .msg-text :where(blockquote) {
915
+ border-left: 2px solid rgba(0,212,255,0.3);
916
+ margin: 0.6em 0;
917
+ padding: 6px 14px;
918
+ background: rgba(0,212,255,0.03);
919
+ color: var(--text-muted);
920
+ border-radius: 0 6px 6px 0;
921
+ }
922
+ .msg-text :where(blockquote blockquote) {
923
+ border-left-color: rgba(139,92,246,0.4);
924
+ background: rgba(139,92,246,0.03);
925
+ margin-top: 6px;
926
+ }
927
+
928
+ /* ── Tables ─────────────────────────────────────────────────────────── */
929
+ .msg-text :where(table) {
930
+ width: 100%;
931
+ border-collapse: collapse;
932
+ font-size: 13px;
933
+ margin-top: 0.75em;
934
+ border: 1px solid var(--glass-border);
935
+ border-radius: 8px;
936
+ overflow: hidden;
937
+ }
938
+
939
+ .msg-text :where(thead) {
940
+ background: rgba(0,212,255,0.06);
941
+ }
942
+
943
+ .msg-text :where(th) {
944
+ font-family: var(--font-mono);
945
+ font-size: 10.5px;
946
+ font-weight: 600;
947
+ letter-spacing: 0.08em;
948
+ text-transform: uppercase;
949
+ color: var(--accent-cyan);
950
+ border: 1px solid var(--glass-border);
951
+ padding: 8px 12px;
952
+ text-align: left;
953
+ background: rgba(0,0,0,0.15);
954
+ }
955
+
956
+ .msg-text :where(td) {
957
+ border: 1px solid var(--glass-border);
958
+ padding: 7px 12px;
959
+ vertical-align: top;
960
+ color: var(--text);
961
+ line-height: 1.5;
962
+ }
963
+
964
+ .msg-text :where(tr:nth-child(even) td) {
965
+ background: rgba(255,255,255,0.015);
966
+ }
967
+
968
+ .msg-text :where(tr:hover td) {
969
+ background: rgba(0,212,255,0.03);
970
+ }
971
+
972
+ /* ── Inline code ────────────────────────────────────────────────────── */
973
+ .inline-code,
974
+ .msg-text :where(:not(pre) > code) {
975
+ font-family: var(--font-mono);
976
+ font-size: 0.875em;
977
+ background: rgba(255,255,255,0.08);
978
+ border: 1px solid rgba(255,255,255,0.1);
979
+ border-radius: 4px;
980
+ padding: 0.1em 0.4em;
981
+ color: var(--accent-cyan);
982
+ }
983
+
984
+ /* ── Code blocks — full-featured ────────────────────────────────────── */
985
+ .code-block {
986
+ margin: 0.75em 0;
987
+ border: 1px solid var(--glass-border);
988
+ border-radius: 10px;
989
+ overflow: hidden;
990
+ background: rgba(0,0,0,0.45);
991
+ font-family: var(--font-mono);
992
+ }
993
+
994
+ /* Full-width breakout — code gets the whole column regardless of bubble */
995
+ .code-block-full {
996
+ width: 100%;
997
+ max-width: 100%;
998
+ }
999
+
1000
+ /* ── Header ── */
1001
+ .code-header {
1002
+ display: flex;
1003
+ align-items: center;
1004
+ justify-content: space-between;
1005
+ padding: 7px 12px;
1006
+ background: rgba(255,255,255,0.04);
1007
+ border-bottom: 1px solid var(--glass-border);
1008
+ gap: 10px;
1009
+ }
1010
+
1011
+ .code-header-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
1012
+ .code-header-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
1013
+
1014
+ /* Language badge with per-language color */
1015
+ .code-lang-badge {
1016
+ font-family: var(--font-mono);
1017
+ font-size: 10px;
1018
+ font-weight: 700;
1019
+ letter-spacing: 0.06em;
1020
+ text-transform: uppercase;
1021
+ color: var(--lang-color, var(--accent-cyan));
1022
+ display: flex;
1023
+ align-items: center;
1024
+ gap: 2px;
1025
+ flex-shrink: 0;
1026
+ text-shadow: 0 0 8px var(--lang-color, var(--accent-cyan));
1027
+ }
1028
+
1029
+ /* Filename */
1030
+ .code-filename {
1031
+ font-family: var(--font-mono);
1032
+ font-size: 11px;
1033
+ color: var(--text-muted);
1034
+ background: rgba(255,255,255,0.05);
1035
+ border: 1px solid var(--glass-border);
1036
+ border-radius: 4px;
1037
+ padding: 1px 7px;
1038
+ white-space: nowrap;
1039
+ overflow: hidden;
1040
+ text-overflow: ellipsis;
1041
+ max-width: 200px;
1042
+ }
1043
+
1044
+ /* Line count */
1045
+ .code-lines-count {
1046
+ font-family: var(--font-mono);
1047
+ font-size: 9.5px;
1048
+ color: var(--text-dim);
1049
+ white-space: nowrap;
1050
+ }
1051
+
1052
+ /* Expand button */
1053
+ .code-expand-btn {
1054
+ font-size: 14px;
1055
+ background: transparent;
1056
+ border: none;
1057
+ color: var(--text-dim);
1058
+ cursor: pointer;
1059
+ padding: 0 4px;
1060
+ line-height: 1;
1061
+ transition: color 0.2s;
1062
+ }
1063
+ .code-expand-btn:hover { color: var(--text); }
1064
+
1065
+ /* Copy button */
1066
+ .code-copy {
1067
+ display: flex;
1068
+ align-items: center;
1069
+ gap: 5px;
1070
+ font-family: var(--font-mono);
1071
+ font-size: 10px;
1072
+ color: var(--text-dim);
1073
+ background: transparent;
1074
+ border: none;
1075
+ cursor: pointer;
1076
+ padding: 3px 8px;
1077
+ border-radius: 4px;
1078
+ transition: color 0.2s, background 0.2s;
1079
+ white-space: nowrap;
1080
+ }
1081
+ .code-copy:hover { color: var(--text); background: rgba(255,255,255,0.06); }
1082
+ .code-copy.copied { color: var(--accent-green); }
1083
+
1084
+ /* ── Code body ── */
1085
+ .code-body { overflow: hidden; }
1086
+ .code-body-collapsed { max-height: 400px; overflow: hidden; position: relative; }
1087
+ .code-body-collapsed::after {
1088
+ content: '';
1089
+ position: absolute;
1090
+ bottom: 0; left: 0; right: 0;
1091
+ height: 80px;
1092
+ background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
1093
+ pointer-events: none;
1094
+ }
1095
+ .code-expanded .code-body-collapsed { max-height: none; overflow: auto; }
1096
+ .code-expanded .code-body-collapsed::after { display: none; }
1097
+
1098
+ /* Show more button */
1099
+ .code-show-more {
1100
+ display: block;
1101
+ width: 100%;
1102
+ padding: 8px;
1103
+ background: rgba(255,255,255,0.03);
1104
+ border: none;
1105
+ border-top: 1px solid var(--glass-border);
1106
+ color: var(--text-dim);
1107
+ font-family: var(--font-mono);
1108
+ font-size: 10px;
1109
+ cursor: pointer;
1110
+ letter-spacing: 0.06em;
1111
+ transition: background 0.2s, color 0.2s;
1112
+ text-align: center;
1113
+ }
1114
+ .code-show-more:hover { background: rgba(255,255,255,0.06); color: var(--text); }
1115
+
1116
+ /* ── Line numbers ── */
1117
+ .code-pre {
1118
+ margin: 0;
1119
+ padding: 12px 0;
1120
+ overflow-x: auto;
1121
+ font-size: 12.5px;
1122
+ line-height: 1.65;
1123
+ }
1124
+
1125
+ .code-numbered { display: block; }
1126
+
1127
+ .code-line {
1128
+ display: flex;
1129
+ min-height: 1.65em;
1130
+ }
1131
+
1132
+ .code-line:hover { background: rgba(255,255,255,0.03); }
1133
+
1134
+ .line-num {
1135
+ display: inline-block;
1136
+ min-width: 44px;
1137
+ padding: 0 12px 0 14px;
1138
+ color: rgba(255,255,255,0.2);
1139
+ text-align: right;
1140
+ user-select: none;
1141
+ border-right: 1px solid rgba(255,255,255,0.06);
1142
+ flex-shrink: 0;
1143
+ font-size: 11px;
1144
+ line-height: inherit;
1145
+ }
1146
+
1147
+ .line-content {
1148
+ display: inline-block;
1149
+ padding: 0 16px;
1150
+ white-space: pre;
1151
+ flex: 1;
1152
+ }
1153
+
1154
+ .hljs { background: transparent !important; padding: 0 !important; }
1155
+
1156
+ /* ── Thinking block ─────────────────────────────────────────────────── */
1157
+ .msg-thinking { margin: 4px 0 8px; }
1158
+
1159
+ .thinking-toggle {
1160
+ display: flex;
1161
+ align-items: center;
1162
+ gap: 7px;
1163
+ background: transparent;
1164
+ border: none;
1165
+ cursor: pointer;
1166
+ padding: 4px 0;
1167
+ color: var(--text-dim);
1168
+ font-size: 11px;
1169
+ font-family: var(--font-mono);
1170
+ letter-spacing: 0.05em;
1171
+ transition: color 0.2s;
1172
+ }
1173
+ .thinking-toggle:hover { color: var(--text-muted); }
1174
+ .thinking-icon { color: var(--accent-purple); }
1175
+ .thinking-chevron { font-size: 9px; transition: transform 0.2s; }
1176
+
1177
+ .thinking-body {
1178
+ max-height: 0;
1179
+ overflow: hidden;
1180
+ transition: max-height 0.35s ease;
1181
+ }
1182
+ .thinking-body.thinking-open { max-height: 600px; overflow-y: auto; }
1183
+
1184
+ .thinking-text {
1185
+ margin-top: 6px;
1186
+ padding: 10px 14px;
1187
+ border: 1px dashed rgba(139,92,246,0.25);
1188
+ border-radius: 8px;
1189
+ background: rgba(139,92,246,0.04);
1190
+ font-size: 12px;
1191
+ line-height: 1.65;
1192
+ color: var(--text-muted);
1193
+ white-space: pre-wrap;
1194
+ font-family: var(--font-mono);
1195
+ }
1196
+
1197
+ /* ── Tool call card ─────────────────────────────────────────────────── */
1198
+ .msg-tool-card {
1199
+ margin: 4px 0;
1200
+ border: 1px solid var(--glass-border);
1201
+ border-radius: 8px;
1202
+ overflow: hidden;
1203
+ background: rgba(255,255,255,0.02);
1204
+ }
1205
+
1206
+ .tool-header {
1207
+ display: flex;
1208
+ align-items: center;
1209
+ gap: 8px;
1210
+ width: 100%;
1211
+ padding: 8px 12px;
1212
+ background: transparent;
1213
+ border: none;
1214
+ cursor: pointer;
1215
+ text-align: left;
1216
+ color: var(--text-muted);
1217
+ font-size: 12px;
1218
+ transition: background 0.2s;
1219
+ }
1220
+ .tool-header:hover { background: rgba(255,255,255,0.03); }
1221
+ .tool-icon { font-size: 13px; flex-shrink: 0; }
1222
+ .tool-name { flex: 1; font-family: var(--font-mono); font-size: 11px; color: var(--text); }
1223
+ .tool-chevron { font-size: 9px; color: var(--text-dim); }
1224
+
1225
+ .tool-body {
1226
+ max-height: 0;
1227
+ overflow: hidden;
1228
+ transition: max-height 0.3s ease;
1229
+ border-top: 0 solid var(--glass-border);
1230
+ }
1231
+ .tool-body.tool-open { max-height: 320px; overflow-y: auto; border-top-width: 1px; }
1232
+
1233
+ .tool-input {
1234
+ margin: 0;
1235
+ padding: 10px 14px;
1236
+ font-family: var(--font-mono);
1237
+ font-size: 11.5px;
1238
+ line-height: 1.5;
1239
+ color: var(--text-muted);
1240
+ white-space: pre-wrap;
1241
+ word-break: break-all;
1242
+ background: rgba(0,0,0,0.25);
1243
+ }
1244
+
1245
+ /* ── Tool result ────────────────────────────────────────────────────── */
1246
+ .msg-tool-result {
1247
+ margin: 2px 0 6px;
1248
+ border: 1px solid rgba(52,211,153,0.14);
1249
+ border-radius: 8px;
1250
+ overflow: hidden;
1251
+ background: rgba(52,211,153,0.02);
1252
+ }
1253
+
1254
+ .result-header {
1255
+ display: flex;
1256
+ align-items: center;
1257
+ gap: 8px;
1258
+ padding: 6px 12px;
1259
+ font-size: 11px;
1260
+ color: var(--text-dim);
1261
+ }
1262
+ .result-icon { color: var(--accent-green); font-size: 12px; }
1263
+ .result-label { font-family: var(--font-mono); letter-spacing: 0.06em; flex: 1; }
1264
+
1265
+ .result-expand {
1266
+ font-family: var(--font-mono);
1267
+ font-size: 9px;
1268
+ background: transparent;
1269
+ border: 1px solid var(--glass-border);
1270
+ border-radius: 4px;
1271
+ color: var(--text-dim);
1272
+ cursor: pointer;
1273
+ padding: 2px 8px;
1274
+ transition: color 0.2s;
1275
+ }
1276
+ .result-expand:hover { color: var(--text); }
1277
+
1278
+ .result-preview { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; border-top: 0 solid rgba(52,211,153,0.14); }
1279
+ .result-open { max-height: 260px; overflow-y: auto; border-top-width: 1px; }
1280
+
1281
+ .result-text {
1282
+ margin: 0;
1283
+ padding: 8px 14px;
1284
+ font-family: var(--font-mono);
1285
+ font-size: 11.5px;
1286
+ line-height: 1.5;
1287
+ color: var(--text-muted);
1288
+ white-space: pre-wrap;
1289
+ word-break: break-all;
1290
+ background: rgba(0,0,0,0.2);
1291
+ }
1292
+
1293
+ /* ── Message image ──────────────────────────────────────────────────── */
1294
+ .msg-image img {
1295
+ max-width: 100%;
1296
+ border-radius: 8px;
1297
+ border: 1px solid var(--glass-border);
1298
+ margin: 4px 0;
1299
+ }
1300
+
1301
+ /* ── Copy button ────────────────────────────────────────────────────── */
1302
+ .msg-copy-btn {
1303
+ position: absolute;
1304
+ top: 8px;
1305
+ right: 8px;
1306
+ background: rgba(255,255,255,0.06);
1307
+ border: 1px solid var(--glass-border);
1308
+ border-radius: 6px;
1309
+ color: var(--text-dim);
1310
+ cursor: pointer;
1311
+ padding: 5px 6px;
1312
+ opacity: 0;
1313
+ transition: opacity 0.2s, color 0.2s, background 0.2s;
1314
+ display: flex;
1315
+ align-items: center;
1316
+ line-height: 1;
1317
+ }
1318
+ .stream-bubble:hover .msg-copy-btn,
1319
+ .msg-copy-visible { opacity: 1; }
1320
+ .msg-copy-btn:hover { color: var(--text); background: rgba(255,255,255,0.1); }
1321
+ .msg-copy-btn.copied { color: var(--accent-green); }
1322
+
1323
+ /* ── Timestamp ──────────────────────────────────────────────────────── */
1324
+ .msg-timestamp {
1325
+ font-family: var(--font-mono);
1326
+ font-size: 9.5px;
1327
+ color: var(--text-dim);
1328
+ margin-top: 10px;
1329
+ letter-spacing: 0.05em;
1330
+ }
1331
+
1332
+
1333
+ /* ── Task lists ─────────────────────────────────────────────────────── */
1334
+ .msg-text :where(li.task-item) {
1335
+ list-style: none;
1336
+ margin-left: -1.4em;
1337
+ padding-left: 0.2em;
1338
+ display: flex;
1339
+ align-items: baseline;
1340
+ gap: 7px;
1341
+ }
1342
+
1343
+ .task-cb {
1344
+ appearance: none;
1345
+ -webkit-appearance: none;
1346
+ width: 14px;
1347
+ height: 14px;
1348
+ border: 1.5px solid var(--glass-border-strong);
1349
+ border-radius: 3px;
1350
+ background: transparent;
1351
+ flex-shrink: 0;
1352
+ position: relative;
1353
+ top: 2px;
1354
+ cursor: default;
1355
+ }
1356
+
1357
+ .task-cb:checked {
1358
+ background: var(--accent-cyan);
1359
+ border-color: var(--accent-cyan);
1360
+ }
1361
+
1362
+ .task-cb:checked::after {
1363
+ content: '';
1364
+ position: absolute;
1365
+ top: 1px; left: 3px;
1366
+ width: 5px; height: 8px;
1367
+ border: 2px solid #000;
1368
+ border-top: none;
1369
+ border-left: none;
1370
+ transform: rotate(45deg);
1371
+ }
1372
+
1373
+ .task-done > * { opacity: 0.55; }
1374
+ .task-done .task-cb + span,
1375
+ .task-done .task-cb ~ * { text-decoration: line-through; }
1376
+
1377
+ /* ── Table overflow wrapper ──────────────────────────────────────────── */
1378
+ .msg-text :where(table) {
1379
+ display: block;
1380
+ overflow-x: auto;
1381
+ white-space: nowrap;
1382
+ }
1383
+ /* Allow cells to wrap when content isn't too wide */
1384
+ .msg-text :where(th, td) {
1385
+ white-space: normal;
1386
+ min-width: 80px;
1387
+ }
1388
+
1389
+ /* ── Details / Summary (collapsible sections) ─────────────────────────── */
1390
+ .msg-text :where(details) {
1391
+ border: 1px solid var(--glass-border);
1392
+ border-radius: 8px;
1393
+ padding: 0;
1394
+ margin: 0.6em 0;
1395
+ overflow: hidden;
1396
+ background: rgba(255,255,255,0.02);
1397
+ }
1398
+
1399
+ .msg-text :where(summary) {
1400
+ padding: 8px 14px;
1401
+ cursor: pointer;
1402
+ font-weight: 600;
1403
+ font-size: 13px;
1404
+ color: var(--text-muted);
1405
+ list-style: none;
1406
+ display: flex;
1407
+ align-items: center;
1408
+ gap: 8px;
1409
+ user-select: none;
1410
+ transition: background 0.2s;
1411
+ }
1412
+ .msg-text :where(summary):hover { background: rgba(255,255,255,0.03); }
1413
+ .msg-text :where(summary)::before {
1414
+ content: '▸';
1415
+ font-size: 9px;
1416
+ color: var(--accent-cyan);
1417
+ transition: transform 0.2s;
1418
+ }
1419
+ .msg-text :where(details[open] summary)::before {
1420
+ transform: rotate(90deg);
1421
+ }
1422
+ .msg-text :where(details) > *:not(summary) {
1423
+ padding: 0 14px 10px;
1424
+ }
1425
+
1426
+ /* ── Spacing improvements ────────────────────────────────────────────── */
1427
+ .bubble-content + .bubble-content { margin-top: 0.5em; }
1428
+
1429
+ .msg-text :where(h1 + p, h2 + p, h3 + p) { margin-top: 0.4em; }
1430
+ .msg-text :where(p:last-child, ul:last-child, ol:last-child) { margin-bottom: 0; }
1431
+
1432
+ /* Separator after heading when followed by block content */
1433
+ .msg-text :where(h2, h3) {
1434
+ padding-top: 0.3em;
1435
+ }
1436
+
1437
+ /* Better nested list indent */
1438
+ .msg-text :where(ul ul, ol ol, ul ol, ol ul) {
1439
+ margin-top: 0.25em;
1440
+ margin-bottom: 0.25em;
1441
+ padding-left: 1.2em;
1442
+ }
1443
+
1444
+ /* ── Keyboard shortcut styling ───────────────────────────────────────── */
1445
+ .msg-text :where(kbd) {
1446
+ font-family: var(--font-mono);
1447
+ font-size: 0.8em;
1448
+ background: rgba(255,255,255,0.1);
1449
+ border: 1px solid rgba(255,255,255,0.2);
1450
+ border-bottom: 2px solid rgba(255,255,255,0.15);
1451
+ border-radius: 4px;
1452
+ padding: 1px 5px;
1453
+ color: var(--text);
1454
+ }
1455
+
1456
+ /* ── Abbr tooltip ────────────────────────────────────────────────────── */
1457
+ .msg-text :where(abbr[title]) {
1458
+ border-bottom: 1px dotted var(--text-muted);
1459
+ cursor: help;
1460
+ text-decoration: none;
1461
+ }
1462
+
1463
+ /* ── Scrollbar ────────────────────────────────────────────────────── */
1464
+ .response-area::-webkit-scrollbar { display: none; }
1465
+ .response-area { scrollbar-width: none; }
1466
+
1467
+ /* ══════════════════════════════════════════════════════════════════════
1468
+ COMMAND MENU SYSTEM
1469
+ ══════════════════════════════════════════════════════════════════════ */
1470
+
1471
+ /* ── Group accent colours ─────────────────────────────────────────── */
1472
+ :root {
1473
+ --cmd-chat: #00d4ff;
1474
+ --cmd-control: #60a5fa;
1475
+ --cmd-agent: #a78bfa;
1476
+ --cmd-settings: #f59e0b;
1477
+ --cmd-resources: #34d399;
1478
+ }
1479
+
1480
+ /* ── Menu Trigger Button ──────────────────────────────────────────── */
1481
+ .menu-trigger {
1482
+ position: fixed;
1483
+ top: 20px;
1484
+ left: 20px;
1485
+ z-index: 50;
1486
+ width: 38px;
1487
+ height: 38px;
1488
+ display: flex;
1489
+ align-items: center;
1490
+ justify-content: center;
1491
+ background: var(--glass-bg);
1492
+ backdrop-filter: var(--blur);
1493
+ -webkit-backdrop-filter: var(--blur);
1494
+ border: 1px solid var(--glass-border);
1495
+ border-radius: 10px;
1496
+ color: var(--text-muted);
1497
+ cursor: pointer;
1498
+ transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
1499
+ }
1500
+ .menu-trigger:hover {
1501
+ color: var(--accent-cyan);
1502
+ border-color: rgba(0,212,255,0.35);
1503
+ box-shadow: 0 0 12px rgba(0,212,255,0.15);
1504
+ }
1505
+ .menu-trigger:active { transform: scale(0.93); }
1506
+
1507
+ /* Icon swap: grid → close */
1508
+ .menu-icon-close { display: none; }
1509
+ .menu-trigger.menu-open .menu-icon-grid { display: none; }
1510
+ .menu-trigger.menu-open .menu-icon-close { display: block; color: var(--accent-cyan); }
1511
+ .menu-trigger.menu-open {
1512
+ color: var(--accent-cyan);
1513
+ border-color: rgba(0,212,255,0.4);
1514
+ box-shadow: 0 0 16px rgba(0,212,255,0.2);
1515
+ }
1516
+
1517
+ /* ── Full-Screen Overlay ──────────────────────────────────────────── */
1518
+ .cmd-overlay {
1519
+ position: fixed;
1520
+ inset: 0;
1521
+ z-index: 40;
1522
+ display: flex;
1523
+ align-items: center;
1524
+ justify-content: center;
1525
+ /* Hidden state */
1526
+ opacity: 0;
1527
+ pointer-events: none;
1528
+ transform: scale(0.97);
1529
+ transition: opacity 0.28s ease, transform 0.28s ease;
1530
+ }
1531
+ .cmd-overlay.open {
1532
+ opacity: 1;
1533
+ pointer-events: auto;
1534
+ transform: scale(1);
1535
+ }
1536
+
1537
+ /* Dark glass backdrop */
1538
+ .cmd-backdrop {
1539
+ position: absolute;
1540
+ inset: 0;
1541
+ background: rgba(6, 8, 14, 0.9);
1542
+ backdrop-filter: blur(24px);
1543
+ -webkit-backdrop-filter: blur(24px);
1544
+ }
1545
+
1546
+ /* Shell (content on top of backdrop) */
1547
+ .cmd-shell {
1548
+ position: relative;
1549
+ z-index: 1;
1550
+ width: 100%;
1551
+ max-width: 1080px;
1552
+ padding: 0 32px;
1553
+ display: flex;
1554
+ flex-direction: column;
1555
+ gap: 24px;
1556
+ }
1557
+
1558
+ /* ── Header Bar ───────────────────────────────────────────────────── */
1559
+ .cmd-header {
1560
+ display: flex;
1561
+ align-items: center;
1562
+ justify-content: space-between;
1563
+ padding-bottom: 16px;
1564
+ border-bottom: 1px solid var(--glass-border);
1565
+ }
1566
+ .cmd-brand {
1567
+ display: flex;
1568
+ align-items: center;
1569
+ gap: 10px;
1570
+ }
1571
+ .cmd-brand-glyph {
1572
+ font-size: 22px;
1573
+ color: var(--accent-cyan);
1574
+ text-shadow: 0 0 12px var(--accent-cyan);
1575
+ animation: aso-breathe 3s ease-in-out infinite;
1576
+ }
1577
+ .cmd-brand-name {
1578
+ font-family: var(--font-mono);
1579
+ font-size: 18px;
1580
+ font-weight: 700;
1581
+ color: var(--text);
1582
+ letter-spacing: 0.15em;
1583
+ }
1584
+ .cmd-brand-sep {
1585
+ font-size: 16px;
1586
+ color: var(--text-dim);
1587
+ margin: 0 2px;
1588
+ }
1589
+ .cmd-brand-sub {
1590
+ font-family: var(--font-mono);
1591
+ font-size: 11px;
1592
+ color: var(--text-dim);
1593
+ letter-spacing: 0.22em;
1594
+ padding-top: 2px;
1595
+ }
1596
+ .cmd-esc-hint {
1597
+ font-size: 11px;
1598
+ color: var(--text-dim);
1599
+ display: flex;
1600
+ align-items: center;
1601
+ gap: 5px;
1602
+ }
1603
+ .cmd-kbd {
1604
+ font-family: var(--font-mono);
1605
+ font-size: 10px;
1606
+ padding: 2px 6px;
1607
+ background: rgba(255,255,255,0.07);
1608
+ border: 1px solid rgba(255,255,255,0.12);
1609
+ border-radius: 4px;
1610
+ color: var(--text-muted);
1611
+ }
1612
+
1613
+ /* ── Command Grid ─────────────────────────────────────────────────── */
1614
+ .cmd-grid {
1615
+ display: grid;
1616
+ grid-template-columns: 200px 1fr 200px;
1617
+ grid-template-rows: auto auto;
1618
+ gap: 14px;
1619
+ width: 100%;
1620
+ }
1621
+
1622
+ .cmd-group--chat { grid-column: 1; grid-row: 1 / 3; }
1623
+ .cmd-group--control { grid-column: 2; grid-row: 1; }
1624
+ .cmd-group--agent { grid-column: 3; grid-row: 1; }
1625
+ .cmd-group--settings { grid-column: 2; grid-row: 2; }
1626
+ .cmd-group--resources { grid-column: 3; grid-row: 2; }
1627
+
1628
+ /* ── Group Card ───────────────────────────────────────────────────── */
1629
+ .cmd-group {
1630
+ background: var(--glass-bg);
1631
+ border: 1px solid var(--glass-border);
1632
+ border-radius: 16px;
1633
+ padding: 18px;
1634
+ display: flex;
1635
+ flex-direction: column;
1636
+ gap: 14px;
1637
+ /* Stagger-reveal when overlay opens */
1638
+ opacity: 0;
1639
+ transform: translateY(14px);
1640
+ transition: border-color 0.25s, box-shadow 0.25s;
1641
+ }
1642
+ .cmd-overlay.open .cmd-group {
1643
+ animation: cmd-card-in 0.32s ease forwards;
1644
+ }
1645
+ .cmd-overlay.open .cmd-group:nth-child(1) { animation-delay: 30ms; }
1646
+ .cmd-overlay.open .cmd-group:nth-child(2) { animation-delay: 80ms; }
1647
+ .cmd-overlay.open .cmd-group:nth-child(3) { animation-delay: 130ms; }
1648
+ .cmd-overlay.open .cmd-group:nth-child(4) { animation-delay: 180ms; }
1649
+ .cmd-overlay.open .cmd-group:nth-child(5) { animation-delay: 230ms; }
1650
+
1651
+ @keyframes cmd-card-in {
1652
+ from { opacity: 0; transform: translateY(14px); }
1653
+ to { opacity: 1; transform: translateY(0); }
1654
+ }
1655
+
1656
+ /* Per-group accent borders & hover glow */
1657
+ .cmd-group--chat:hover { border-color: rgba(0,212,255,0.35); box-shadow: 0 0 20px rgba(0,212,255,0.06); }
1658
+ .cmd-group--control:hover { border-color: rgba(96,165,250,0.35); box-shadow: 0 0 20px rgba(96,165,250,0.06); }
1659
+ .cmd-group--agent:hover { border-color: rgba(167,139,250,0.35); box-shadow: 0 0 20px rgba(167,139,250,0.06); }
1660
+ .cmd-group--settings:hover { border-color: rgba(245,158,11,0.35); box-shadow: 0 0 20px rgba(245,158,11,0.06); }
1661
+ .cmd-group--resources:hover { border-color: rgba(52,211,153,0.35); box-shadow: 0 0 20px rgba(52,211,153,0.06); }
1662
+
1663
+ /* ── Group Header ─────────────────────────────────────────────────── */
1664
+ .cmd-group-hd {
1665
+ display: flex;
1666
+ align-items: center;
1667
+ gap: 9px;
1668
+ padding-bottom: 10px;
1669
+ border-bottom: 1px solid var(--glass-border);
1670
+ }
1671
+ .cmd-group-svg {
1672
+ width: 16px;
1673
+ height: 16px;
1674
+ flex-shrink: 0;
1675
+ }
1676
+ .cmd-group-label {
1677
+ font-family: var(--font-mono);
1678
+ font-size: 10px;
1679
+ font-weight: 700;
1680
+ letter-spacing: 0.2em;
1681
+ }
1682
+
1683
+ /* Accent colours on group labels and icons */
1684
+ .cmd-group--chat .cmd-group-hd { color: var(--cmd-chat); }
1685
+ .cmd-group--control .cmd-group-hd { color: var(--cmd-control); }
1686
+ .cmd-group--agent .cmd-group-hd { color: var(--cmd-agent); }
1687
+ .cmd-group--settings .cmd-group-hd { color: var(--cmd-settings); }
1688
+ .cmd-group--resources .cmd-group-hd { color: var(--cmd-resources); }
1689
+
1690
+ /* ── Items List ───────────────────────────────────────────────────── */
1691
+ .cmd-items {
1692
+ display: flex;
1693
+ flex-direction: column;
1694
+ gap: 6px;
1695
+ flex: 1;
1696
+ }
1697
+
1698
+ /* 3-column sub-grid for CONTROL (6 items) */
1699
+ .cmd-items--grid {
1700
+ display: grid;
1701
+ grid-template-columns: 1fr 1fr 1fr;
1702
+ gap: 8px;
1703
+ }
1704
+
1705
+ /* ── Individual Item ──────────────────────────────────────────────── */
1706
+ .cmd-item {
1707
+ display: flex;
1708
+ align-items: center;
1709
+ gap: 10px;
1710
+ padding: 10px 12px;
1711
+ border-radius: 10px;
1712
+ border: 1px solid transparent;
1713
+ background: rgba(255,255,255,0.025);
1714
+ text-decoration: none;
1715
+ cursor: pointer;
1716
+ transition: background 0.18s, border-color 0.18s, transform 0.15s;
1717
+ }
1718
+ .cmd-item:hover {
1719
+ background: rgba(255,255,255,0.06);
1720
+ transform: translateY(-1px);
1721
+ }
1722
+ /* Per-group item hover accent */
1723
+ .cmd-group--chat .cmd-item:hover { border-color: rgba(0,212,255,0.3); }
1724
+ .cmd-group--control .cmd-item:hover { border-color: rgba(96,165,250,0.3); }
1725
+ .cmd-group--agent .cmd-item:hover { border-color: rgba(167,139,250,0.3); }
1726
+ .cmd-group--settings .cmd-item:hover { border-color: rgba(245,158,11,0.3); }
1727
+ .cmd-group--resources .cmd-item:hover { border-color: rgba(52,211,153,0.3); }
1728
+
1729
+ .cmd-item-icon {
1730
+ font-size: 16px;
1731
+ flex-shrink: 0;
1732
+ width: 20px;
1733
+ text-align: center;
1734
+ opacity: 0.7;
1735
+ }
1736
+ .cmd-group--chat .cmd-item-icon { color: var(--cmd-chat); }
1737
+ .cmd-group--control .cmd-item-icon { color: var(--cmd-control); }
1738
+ .cmd-group--agent .cmd-item-icon { color: var(--cmd-agent); }
1739
+ .cmd-group--settings .cmd-item-icon { color: var(--cmd-settings); }
1740
+ .cmd-group--resources .cmd-item-icon { color: var(--cmd-resources); }
1741
+
1742
+ .cmd-item-body {
1743
+ display: flex;
1744
+ flex-direction: column;
1745
+ gap: 2px;
1746
+ min-width: 0;
1747
+ flex: 1;
1748
+ }
1749
+ .cmd-item-name {
1750
+ font-family: var(--font-mono);
1751
+ font-size: 12px;
1752
+ font-weight: 600;
1753
+ color: var(--text);
1754
+ white-space: nowrap;
1755
+ overflow: hidden;
1756
+ text-overflow: ellipsis;
1757
+ }
1758
+ .cmd-item-desc {
1759
+ font-size: 10px;
1760
+ color: var(--text-dim);
1761
+ white-space: nowrap;
1762
+ overflow: hidden;
1763
+ text-overflow: ellipsis;
1764
+ }
1765
+ .cmd-item-badge {
1766
+ font-family: var(--font-mono);
1767
+ font-size: 8px;
1768
+ font-weight: 700;
1769
+ letter-spacing: 0.1em;
1770
+ padding: 2px 6px;
1771
+ border-radius: 99px;
1772
+ background: rgba(0,212,255,0.12);
1773
+ color: var(--accent-cyan);
1774
+ border: 1px solid rgba(0,212,255,0.25);
1775
+ flex-shrink: 0;
1776
+ }