cladogram 0.6.0-beta.1 → 0.6.0-beta.3

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.
@@ -1,7 +1,8 @@
1
1
  /* ================= Clado vNext · Liquid Crystal Glass Dock, Settings & Handoff ================= */
2
2
 
3
3
  .clado-vnext-dock {
4
- width: 396px;
4
+ width: var(--clado-dock-w, 412px);
5
+ max-width: 880px;
5
6
  display: flex;
6
7
  flex-direction: column;
7
8
  gap: 8px;
@@ -9,6 +10,35 @@
9
10
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
10
11
  }
11
12
 
13
+ /* Custom ultra-sleek frosted scrollbars */
14
+ .clado-scroll::-webkit-scrollbar {
15
+ width: 5px;
16
+ height: 5px;
17
+ }
18
+ .clado-scroll::-webkit-scrollbar-track {
19
+ background: transparent;
20
+ }
21
+ .clado-scroll::-webkit-scrollbar-thumb {
22
+ background: rgba(100, 116, 139, 0.22);
23
+ border-radius: 999px;
24
+ }
25
+ .clado-scroll:hover::-webkit-scrollbar-thumb {
26
+ background: rgba(100, 116, 139, 0.38);
27
+ }
28
+ :root[data-theme="dark"] .clado-scroll::-webkit-scrollbar-thumb {
29
+ background: rgba(148, 163, 184, 0.22);
30
+ }
31
+ :root[data-theme="dark"] .clado-scroll:hover::-webkit-scrollbar-thumb {
32
+ background: rgba(148, 163, 184, 0.40);
33
+ }
34
+ .clado-scroll {
35
+ scrollbar-width: thin;
36
+ scrollbar-color: rgba(100, 116, 139, 0.26) transparent;
37
+ }
38
+ :root[data-theme="dark"] .clado-scroll {
39
+ scrollbar-color: rgba(148, 163, 184, 0.26) transparent;
40
+ }
41
+
12
42
  .clado-dock-drawer {
13
43
  position: relative;
14
44
  border-radius: 22px;
@@ -17,22 +47,101 @@
17
47
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.03);
18
48
  border: 1px solid var(--clado-ui-glass-outline);
19
49
  box-shadow: var(--clado-ui-glass-shadow);
20
- transition: opacity 180ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
50
+ transition: opacity 180ms ease;
21
51
  }
22
52
  .clado-dock-drawer.collapsed { display: none; }
53
+ .clado-dock-drawer.resizing { user-select: none; }
54
+ body.clado-dock-resizing {
55
+ user-select: none;
56
+ -webkit-user-select: none;
57
+ }
58
+ body.clado-dock-resizing iframe {
59
+ pointer-events: none !important;
60
+ }
61
+
62
+ /* Flush Liquid Crystal Glass Resize Handles (centered top pill + edge hover + invisible rounded corner) */
63
+ .clado-resize-nw {
64
+ position: absolute;
65
+ top: 0;
66
+ left: 0;
67
+ width: 20px;
68
+ height: 20px;
69
+ cursor: nwse-resize;
70
+ z-index: 22;
71
+ border-radius: 22px 0 0 0;
72
+ touch-action: none;
73
+ }
74
+ .clado-resize-n {
75
+ position: absolute;
76
+ top: 0;
77
+ left: 22px;
78
+ right: 22px;
79
+ height: 15px;
80
+ cursor: ns-resize;
81
+ z-index: 21;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ touch-action: none;
86
+ }
87
+ .clado-resize-grip {
88
+ width: 36px;
89
+ height: 3.5px;
90
+ border-radius: 999px;
91
+ background: var(--clado-ui-subtle);
92
+ opacity: 0.34;
93
+ transition: width 160ms ease, opacity 160ms ease, background 160ms ease;
94
+ }
95
+ .clado-resize-n:hover .clado-resize-grip,
96
+ .clado-dock-drawer.resizing .clado-resize-grip {
97
+ width: 48px;
98
+ opacity: 0.85;
99
+ background: var(--clado-ui-brand);
100
+ }
101
+ .clado-resize-w {
102
+ position: absolute;
103
+ top: 22px;
104
+ bottom: 22px;
105
+ left: 0;
106
+ width: 10px;
107
+ cursor: ew-resize;
108
+ z-index: 21;
109
+ display: flex;
110
+ align-items: center;
111
+ justify-content: flex-start;
112
+ padding-left: 2px;
113
+ touch-action: none;
114
+ }
115
+ .clado-resize-grip-v {
116
+ width: 3px;
117
+ height: 28px;
118
+ border-radius: 999px;
119
+ background: var(--clado-ui-brand);
120
+ opacity: 0;
121
+ transition: height 160ms ease, opacity 160ms ease;
122
+ }
123
+ .clado-resize-w:hover .clado-resize-grip-v,
124
+ .clado-dock-drawer.resizing .clado-resize-grip-v {
125
+ opacity: 0.72;
126
+ height: 38px;
127
+ }
128
+
129
+ /* Gently softened bottom aura */
23
130
  .clado-dock-aura {
24
131
  position: absolute;
25
- left: 14%;
26
- right: 14%;
27
- bottom: -16px;
28
- height: 36px;
132
+ left: 16%;
133
+ right: 16%;
134
+ bottom: -14px;
135
+ height: 30px;
29
136
  border-radius: 999px;
30
- background: linear-gradient(90deg, rgba(56, 189, 248, 0.50), rgba(167, 139, 250, 0.44), rgba(251, 191, 36, 0.44));
137
+ background: linear-gradient(90deg, rgba(56, 189, 248, 0.38), rgba(167, 139, 250, 0.34), rgba(251, 191, 36, 0.30));
31
138
  filter: blur(22px);
32
- opacity: 0.46;
139
+ opacity: 0.22;
33
140
  pointer-events: none;
34
141
  z-index: -1;
35
142
  }
143
+ :root[data-theme="dark"] .clado-dock-aura { opacity: 0.18; }
144
+
36
145
  .clado-dock-inner {
37
146
  border-radius: 22px;
38
147
  overflow: hidden;
@@ -43,28 +152,50 @@
43
152
  display: flex;
44
153
  align-items: center;
45
154
  justify-content: space-between;
46
- padding: 12px 15px;
155
+ padding: 15px 14px 10px 16px;
47
156
  border-bottom: 1px solid var(--clado-ui-edge);
48
157
  gap: 8px;
158
+ position: relative;
49
159
  }
50
160
  .clado-dock-head-left {
51
161
  display: flex;
52
162
  align-items: center;
53
- gap: 8px;
163
+ gap: 7px;
54
164
  min-width: 0;
165
+ flex: 1;
55
166
  }
56
- .clado-dock-title {
57
- font-size: 13.5px;
58
- font-weight: 620;
167
+ .clado-dock-session-trigger {
168
+ appearance: none;
169
+ border: 1px solid transparent;
170
+ background: transparent;
59
171
  color: var(--clado-ui-text);
60
- white-space: nowrap;
172
+ border-radius: 10px;
173
+ padding: 3px 7px;
174
+ margin-left: -4px;
175
+ font: inherit;
176
+ font-size: 13px;
177
+ font-weight: 620;
178
+ cursor: pointer;
179
+ display: inline-flex;
180
+ align-items: center;
181
+ gap: 5px;
182
+ min-width: 0;
183
+ max-width: 190px;
184
+ transition: background 140ms ease, border-color 140ms ease;
185
+ }
186
+ .clado-dock-session-trigger:hover {
187
+ background: var(--clado-ui-well);
188
+ border-color: var(--clado-ui-well-border);
189
+ }
190
+ .clado-dock-session-trigger span {
61
191
  overflow: hidden;
62
192
  text-overflow: ellipsis;
193
+ white-space: nowrap;
63
194
  }
64
195
  .clado-dock-actions {
65
196
  display: flex;
66
197
  align-items: center;
67
- gap: 3px;
198
+ gap: 2px;
68
199
  flex: none;
69
200
  }
70
201
  .clado-dock-mini-btn {
@@ -81,6 +212,7 @@
81
212
  display: inline-flex;
82
213
  align-items: center;
83
214
  gap: 4px;
215
+ white-space: nowrap;
84
216
  transition: all 140ms ease;
85
217
  }
86
218
  .clado-dock-mini-btn:hover {
@@ -89,21 +221,80 @@
89
221
  color: var(--clado-ui-text);
90
222
  }
91
223
 
224
+ /* Session Manager Popover inside Drawer */
225
+ .clado-session-pop {
226
+ position: absolute;
227
+ top: 46px;
228
+ left: 12px;
229
+ right: 12px;
230
+ z-index: 30;
231
+ border-radius: 16px;
232
+ padding: 10px;
233
+ background: rgba(255, 255, 255, 0.92);
234
+ backdrop-filter: blur(28px) saturate(200%);
235
+ -webkit-backdrop-filter: blur(28px) saturate(200%);
236
+ border: 1px solid var(--clado-ui-glass-outline);
237
+ box-shadow: var(--clado-ui-glass-shadow);
238
+ display: flex;
239
+ flex-direction: column;
240
+ gap: 8px;
241
+ }
242
+ :root[data-theme="dark"] .clado-session-pop {
243
+ background: rgba(18, 22, 30, 0.94);
244
+ }
245
+ .clado-session-pop[hidden] { display: none; }
246
+ .clado-session-list {
247
+ display: flex;
248
+ flex-direction: column;
249
+ gap: 4px;
250
+ max-height: 210px;
251
+ overflow-y: auto;
252
+ }
253
+ .clado-session-row {
254
+ display: flex;
255
+ align-items: center;
256
+ justify-content: space-between;
257
+ gap: 6px;
258
+ padding: 6px 8px;
259
+ border-radius: 10px;
260
+ border: 1px solid transparent;
261
+ cursor: pointer;
262
+ transition: background 130ms ease, border-color 130ms ease;
263
+ }
264
+ .clado-session-row:hover {
265
+ background: var(--clado-ui-well);
266
+ border-color: var(--clado-ui-well-border);
267
+ }
268
+ .clado-session-row.active {
269
+ background: var(--clado-ui-prism-bg);
270
+ border-color: var(--clado-ui-prism-border);
271
+ }
272
+ .clado-session-ops {
273
+ display: inline-flex;
274
+ align-items: center;
275
+ gap: 2px;
276
+ flex: none;
277
+ }
278
+
92
279
  .clado-dock-stream {
93
280
  padding: 13px 15px;
94
281
  display: flex;
95
282
  flex-direction: column;
96
283
  gap: 10px;
97
- max-height: 290px;
98
- min-height: 110px;
284
+ height: var(--clado-dock-stream-h, 300px);
285
+ min-height: 160px;
286
+ max-height: min(820px, calc(100dvh - 200px));
99
287
  overflow-y: auto;
100
288
  }
289
+ .clado-dock-stream > * {
290
+ flex-shrink: 0;
291
+ }
101
292
  .clado-dock-empty {
102
- padding: 18px 8px;
293
+ padding: 22px 10px;
103
294
  text-align: center;
104
295
  color: var(--clado-ui-muted);
105
296
  font-size: 12px;
106
- line-height: 1.65;
297
+ line-height: 1.68;
107
298
  }
108
299
  .clado-msg-user {
109
300
  align-self: flex-end;
@@ -113,11 +304,11 @@
113
304
  padding: 8px 13px;
114
305
  border-radius: 15px 15px 4px 15px;
115
306
  font-size: 12.5px;
116
- line-height: 1.55;
307
+ line-height: 1.56;
117
308
  max-width: 88%;
118
309
  white-space: pre-wrap;
119
310
  word-break: break-word;
120
- box-shadow: 0 4px 14px -4px rgba(99, 102, 241, 0.16), inset 0 1px 0 var(--clado-ui-highlight);
311
+ box-shadow: 0 3px 10px -4px rgba(99, 102, 241, 0.12), inset 0 1px 0 var(--clado-ui-highlight);
121
312
  }
122
313
  .clado-msg-assistant {
123
314
  align-self: flex-start;
@@ -127,24 +318,228 @@
127
318
  padding: 10px 13px;
128
319
  border-radius: 4px 15px 15px 15px;
129
320
  font-size: 12.5px;
130
- line-height: 1.6;
131
- max-width: 94%;
132
- white-space: pre-wrap;
321
+ line-height: 1.62;
322
+ max-width: 96%;
133
323
  word-break: break-word;
134
324
  box-shadow: inset 0 1px 0 var(--clado-ui-highlight);
135
325
  }
136
- .clado-tool-chip {
326
+
327
+ /* Rendered Markdown Typography inside Assistant Bubbles */
328
+ .clado-md > :first-child { margin-top: 0; }
329
+ .clado-md > :last-child { margin-bottom: 0; }
330
+ .clado-md p { margin: 0 0 8px; }
331
+ .clado-md h1, .clado-md h2, .clado-md h3, .clado-md h4 {
332
+ margin: 10px 0 5px;
333
+ font-weight: 640;
334
+ line-height: 1.35;
335
+ color: var(--clado-ui-text);
336
+ }
337
+ .clado-md h1 { font-size: 14.5px; }
338
+ .clado-md h2 { font-size: 13.5px; }
339
+ .clado-md h3, .clado-md h4 { font-size: 12.5px; }
340
+ .clado-md ul, .clado-md ol {
341
+ margin: 4px 0 8px;
342
+ padding-left: 18px;
343
+ }
344
+ .clado-md li { margin: 2px 0; }
345
+ .clado-md blockquote {
346
+ margin: 6px 0;
347
+ padding: 4px 10px;
348
+ border-left: 2.5px solid var(--clado-ui-prism-border);
349
+ color: var(--clado-ui-muted);
350
+ background: rgba(148, 163, 184, 0.06);
351
+ border-radius: 0 8px 8px 0;
352
+ }
353
+ .clado-md code {
354
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
355
+ font-size: 11.5px;
356
+ background: rgba(148, 163, 184, 0.14);
357
+ padding: 1px 5px;
358
+ border-radius: 5px;
359
+ }
360
+ .clado-md-pre {
361
+ margin: 7px 0;
137
362
  border-radius: 11px;
138
- padding: 7px 11px;
363
+ background: rgba(15, 23, 42, 0.055);
364
+ border: 1px solid var(--clado-ui-edge);
365
+ overflow: hidden;
366
+ }
367
+ :root[data-theme="dark"] .clado-md-pre {
368
+ background: rgba(0, 0, 0, 0.30);
369
+ }
370
+ .clado-md-pre-head {
371
+ display: flex;
372
+ align-items: center;
373
+ justify-content: space-between;
374
+ padding: 4px 10px;
375
+ font-size: 10.5px;
376
+ color: var(--clado-ui-subtle);
377
+ border-bottom: 1px solid var(--clado-ui-edge);
378
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
379
+ }
380
+ .clado-md-pre pre {
381
+ margin: 0;
382
+ padding: 9px 11px;
383
+ overflow-x: auto;
384
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
385
+ font-size: 11.5px;
386
+ line-height: 1.5;
387
+ }
388
+ .clado-md-pre pre code {
389
+ background: transparent;
390
+ padding: 0;
391
+ border-radius: 0;
392
+ }
393
+ .clado-md a {
394
+ color: var(--clado-ui-brand);
395
+ text-decoration: underline;
396
+ text-underline-offset: 2px;
397
+ }
398
+ .clado-md hr {
399
+ border: 0;
400
+ border-top: 1px solid var(--clado-ui-edge);
401
+ margin: 8px 0;
402
+ }
403
+ .clado-md table {
404
+ width: 100%;
405
+ border-collapse: collapse;
406
+ margin: 6px 0;
407
+ font-size: 11.5px;
408
+ }
409
+ .clado-md th, .clado-md td {
410
+ border: 1px solid var(--clado-ui-edge);
411
+ padding: 4px 7px;
412
+ text-align: left;
413
+ }
414
+ .clado-md th {
415
+ background: rgba(148, 163, 184, 0.09);
416
+ font-weight: 600;
417
+ }
418
+
419
+ .clado-tool-trace {
420
+ border-radius: 13px;
139
421
  background: var(--clado-ui-well);
140
422
  border: 1px solid var(--clado-ui-well-border);
423
+ overflow: hidden;
424
+ font-size: 11.5px;
425
+ }
426
+ .clado-tool-trace-err {
427
+ border-color: rgba(244, 63, 94, 0.34);
428
+ }
429
+ .clado-tool-trace > summary {
430
+ list-style: none;
431
+ cursor: pointer;
432
+ padding: 7px 11px;
433
+ display: flex;
434
+ align-items: center;
435
+ justify-content: space-between;
436
+ gap: 8px;
437
+ color: var(--clado-ui-muted);
438
+ font-weight: 540;
439
+ user-select: none;
440
+ }
441
+ .clado-tool-trace > summary::-webkit-details-marker { display: none; }
442
+ .clado-tool-trace > summary:hover { color: var(--clado-ui-text); }
443
+ .clado-tool-list {
444
+ display: flex;
445
+ flex-direction: column;
446
+ gap: 4px;
447
+ padding: 0 8px 8px;
448
+ border-top: 1px solid var(--clado-ui-edge);
449
+ padding-top: 7px;
450
+ }
451
+ .clado-tool-step {
452
+ border-radius: 9px;
453
+ background: rgba(148, 163, 184, 0.06);
454
+ border: 1px solid var(--clado-ui-edge);
455
+ padding: 5px 8px;
141
456
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
142
457
  font-size: 11px;
143
- color: var(--clado-ui-muted);
458
+ }
459
+ .clado-tool-step-err {
460
+ background: rgba(244, 63, 94, 0.065);
461
+ border-color: rgba(244, 63, 94, 0.28);
462
+ }
463
+ .clado-tool-step-head {
144
464
  display: flex;
145
465
  align-items: center;
146
- gap: 7px;
466
+ gap: 6px;
467
+ min-width: 0;
468
+ }
469
+ .clado-tool-name {
470
+ font-weight: 620;
471
+ color: var(--clado-ui-text-soft);
472
+ flex: none;
473
+ }
474
+ .clado-tool-args {
475
+ color: var(--clado-ui-muted);
476
+ overflow: hidden;
477
+ text-overflow: ellipsis;
478
+ white-space: nowrap;
479
+ flex: 1;
480
+ min-width: 0;
481
+ }
482
+ .clado-tool-status-muted {
483
+ font-size: 10px;
484
+ color: var(--clado-ui-subtle);
485
+ flex: none;
486
+ }
487
+ .clado-tool-status-err {
488
+ font-size: 10px;
489
+ font-weight: 620;
490
+ color: #e11d48;
491
+ flex: none;
492
+ }
493
+ :root[data-theme="dark"] .clado-tool-status-err {
494
+ color: #fb7185;
495
+ }
496
+ .clado-tool-preview {
497
+ margin-top: 4px;
498
+ padding-top: 4px;
499
+ border-top: 1px dashed var(--clado-ui-edge);
500
+ color: var(--clado-ui-subtle);
501
+ white-space: pre-wrap;
147
502
  word-break: break-all;
503
+ max-height: 92px;
504
+ overflow-y: auto;
505
+ line-height: 1.45;
506
+ }
507
+ .clado-tool-step-err .clado-tool-preview {
508
+ color: #be123c;
509
+ }
510
+ :root[data-theme="dark"] .clado-tool-step-err .clado-tool-preview {
511
+ color: #fda4af;
512
+ }
513
+ .clado-live-activity {
514
+ align-self: flex-start;
515
+ display: inline-flex;
516
+ align-items: center;
517
+ gap: 7px;
518
+ padding: 5px 11px;
519
+ border-radius: 999px;
520
+ background: var(--clado-ui-well);
521
+ border: 1px solid var(--clado-ui-well-border);
522
+ font-size: 11.5px;
523
+ color: var(--clado-ui-muted);
524
+ }
525
+ @keyframes cladoPulse {
526
+ 0%, 100% { opacity: 1; transform: scale(1); }
527
+ 50% { opacity: 0.4; transform: scale(0.82); }
528
+ }
529
+ .clado-dot-pulse {
530
+ width: 6.5px;
531
+ height: 6.5px;
532
+ border-radius: 50%;
533
+ background: #38bdf8;
534
+ animation: cladoPulse 1.2s ease-in-out infinite;
535
+ flex: none;
536
+ }
537
+ .clado-dot-err {
538
+ width: 6.5px;
539
+ height: 6.5px;
540
+ border-radius: 50%;
541
+ background: #f43f5e;
542
+ flex: none;
148
543
  }
149
544
  .clado-decision-card {
150
545
  border-radius: 16px;
@@ -166,8 +561,52 @@
166
561
  flex-wrap: wrap;
167
562
  gap: 7px;
168
563
  }
564
+ .clado-decision-custom {
565
+ display: flex;
566
+ align-items: center;
567
+ gap: 6px;
568
+ padding-top: 4px;
569
+ border-top: 1px dashed var(--clado-ui-edge);
570
+ }
571
+ .clado-decision-input {
572
+ flex: 1;
573
+ min-width: 0;
574
+ height: 30px;
575
+ padding: 0 10px;
576
+ border-radius: 10px;
577
+ border: 1px solid var(--clado-ui-well-border);
578
+ background: var(--clado-ui-well);
579
+ color: var(--clado-ui-text);
580
+ font-size: 12px;
581
+ font-family: inherit;
582
+ outline: none;
583
+ transition: border-color 140ms ease, box-shadow 140ms ease;
584
+ }
585
+ .clado-decision-input:focus {
586
+ border-color: var(--clado-ui-brand);
587
+ box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.18);
588
+ }
589
+ .clado-decision-input::placeholder {
590
+ color: var(--clado-ui-subtle);
591
+ }
592
+ .clado-decision-submit {
593
+ flex: none;
594
+ min-height: 30px;
595
+ padding: 4px 12px;
596
+ font-size: 11.5px;
597
+ }
598
+ .clado-decision-done {
599
+ align-self: flex-start;
600
+ font-size: 11.5px;
601
+ color: var(--clado-ui-muted);
602
+ background: var(--clado-ui-well);
603
+ border: 1px solid var(--clado-ui-well-border);
604
+ border-radius: 999px;
605
+ padding: 3px 10px;
606
+ }
607
+
169
608
  .clado-dock-handoff {
170
- padding: 9px 15px;
609
+ padding: 8px 14px;
171
610
  border-top: 1px solid var(--clado-ui-edge);
172
611
  display: flex;
173
612
  align-items: center;
@@ -214,9 +653,9 @@
214
653
  left: 16px;
215
654
  right: 16px;
216
655
  bottom: 0;
217
- height: 2px;
656
+ height: 1.5px;
218
657
  border-radius: 2px;
219
- opacity: 0.55;
658
+ opacity: 0.36;
220
659
  transition: all 150ms ease;
221
660
  }
222
661
  .clado-role-pill[data-tone="sky"]::after { background: linear-gradient(90deg, #38bdf8, #818cf8); }
@@ -226,10 +665,10 @@
226
665
  .clado-role-pill.active {
227
666
  color: var(--clado-ui-text);
228
667
  background: var(--clado-ui-active);
229
- border-color: rgba(147, 197, 253, 0.72);
230
- box-shadow: 0 6px 18px -6px rgba(56, 189, 248, 0.24), inset 0 1px 0 var(--clado-ui-highlight);
668
+ border-color: rgba(147, 197, 253, 0.58);
669
+ box-shadow: 0 4px 14px -6px rgba(56, 189, 248, 0.16), inset 0 1px 0 var(--clado-ui-highlight);
231
670
  }
232
- .clado-role-pill.active::after { left: 10px; right: 10px; opacity: 1; }
671
+ .clado-role-pill.active::after { left: 10px; right: 10px; opacity: 0.72; }
233
672
 
234
673
  .clado-role-add {
235
674
  width: 30px;
@@ -239,13 +678,13 @@
239
678
  }
240
679
  .clado-role-add::after { display: none; }
241
680
 
242
- /* Composer */
681
+ /* Multiline Auto-Grow Composer */
243
682
  .clado-composer {
244
683
  position: relative;
245
- border-radius: 999px;
246
- padding: 5px 6px 5px 10px;
684
+ border-radius: 20px;
685
+ padding: 8px 10px 7px 12px;
247
686
  display: flex;
248
- align-items: center;
687
+ flex-direction: column;
249
688
  gap: 6px;
250
689
  background: var(--clado-ui-surface);
251
690
  backdrop-filter: blur(22px) saturate(190%);
@@ -254,26 +693,49 @@
254
693
  box-shadow: var(--clado-ui-shadow);
255
694
  }
256
695
  .clado-composer-input {
257
- flex: 1;
258
- min-width: 0;
696
+ width: 100%;
697
+ min-height: 22px;
698
+ max-height: 132px;
259
699
  border: 0;
260
700
  outline: 0;
701
+ resize: none;
261
702
  background: transparent;
262
703
  color: var(--clado-ui-text);
263
704
  font: inherit;
264
705
  font-size: 12.5px;
706
+ line-height: 1.5;
707
+ padding: 0;
708
+ overflow-y: auto;
265
709
  }
266
710
  .clado-composer-input::placeholder { color: var(--clado-ui-subtle); }
711
+ .clado-composer-bar {
712
+ display: flex;
713
+ align-items: center;
714
+ justify-content: space-between;
715
+ gap: 6px;
716
+ }
717
+ .clado-composer-left {
718
+ display: flex;
719
+ align-items: center;
720
+ gap: 5px;
721
+ min-width: 0;
722
+ }
723
+ .clado-composer-right {
724
+ display: flex;
725
+ align-items: center;
726
+ gap: 5px;
727
+ flex: none;
728
+ }
267
729
  .clado-model-chip {
268
730
  appearance: none;
269
731
  border: 1px solid var(--clado-ui-well-border);
270
732
  background: var(--clado-ui-well);
271
733
  color: var(--clado-ui-text-soft);
272
734
  border-radius: 999px;
273
- padding: 4px 9px;
735
+ padding: 3px 9px;
274
736
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
275
737
  font-size: 11px;
276
- max-width: 118px;
738
+ max-width: 126px;
277
739
  overflow: hidden;
278
740
  text-overflow: ellipsis;
279
741
  white-space: nowrap;
@@ -283,6 +745,24 @@
283
745
  background: var(--clado-ui-hover);
284
746
  border-color: var(--clado-ui-hover-border);
285
747
  }
748
+ .clado-sendmode-btn {
749
+ appearance: none;
750
+ border: 1px solid transparent;
751
+ background: transparent;
752
+ color: var(--clado-ui-subtle);
753
+ border-radius: 999px;
754
+ padding: 3px 8px;
755
+ font: inherit;
756
+ font-size: 10.5px;
757
+ cursor: pointer;
758
+ white-space: nowrap;
759
+ transition: all 140ms ease;
760
+ }
761
+ .clado-sendmode-btn:hover {
762
+ background: var(--clado-ui-well);
763
+ border-color: var(--clado-ui-well-border);
764
+ color: var(--clado-ui-text-soft);
765
+ }
286
766
 
287
767
  /* Slash command & Model popovers */
288
768
  .clado-dock-popover {
@@ -390,7 +870,7 @@
390
870
  background: var(--clado-ui-prism-bg);
391
871
  border-color: var(--clado-ui-prism-border);
392
872
  color: var(--clado-ui-prism-text);
393
- box-shadow: 0 4px 14px -4px rgba(99, 102, 241, 0.18), inset 0 1px 0 var(--clado-ui-highlight);
873
+ box-shadow: 0 3px 10px -4px rgba(99, 102, 241, 0.14), inset 0 1px 0 var(--clado-ui-highlight);
394
874
  }
395
875
  .clado-settings-body {
396
876
  flex: 1;
@@ -454,9 +934,9 @@
454
934
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
455
935
  }
456
936
  .clado-switch.on {
457
- background: linear-gradient(135deg, rgba(56, 189, 248, 0.72), rgba(129, 140, 248, 0.76));
458
- border-color: rgba(125, 211, 252, 0.85);
459
- box-shadow: 0 0 12px rgba(56, 189, 248, 0.30);
937
+ background: linear-gradient(135deg, rgba(56, 189, 248, 0.66), rgba(129, 140, 248, 0.70));
938
+ border-color: rgba(125, 211, 252, 0.78);
939
+ box-shadow: 0 0 8px rgba(56, 189, 248, 0.22);
460
940
  }
461
941
  .clado-switch.on::after { transform: translateX(16px); }
462
942
 
@@ -472,23 +952,23 @@
472
952
  border: 1px solid transparent;
473
953
  white-space: nowrap;
474
954
  }
475
- .clado-chip-sky { background: rgba(186, 230, 253, 0.55); border-color: rgba(125, 211, 252, 0.65); color: #0369a1; }
476
- .clado-chip-mint { background: rgba(167, 243, 208, 0.52); border-color: rgba(110, 231, 183, 0.65); color: #047857; }
477
- .clado-chip-amber { background: rgba(253, 230, 138, 0.52); border-color: rgba(252, 211, 77, 0.68); color: #b45309; }
478
- .clado-chip-violet { background: rgba(221, 214, 254, 0.56); border-color: rgba(196, 181, 253, 0.70); color: #6d28d9; }
955
+ .clado-chip-sky { background: rgba(186, 230, 253, 0.50); border-color: rgba(125, 211, 252, 0.58); color: #0369a1; }
956
+ .clado-chip-mint { background: rgba(167, 243, 208, 0.48); border-color: rgba(110, 231, 183, 0.58); color: #047857; }
957
+ .clado-chip-amber { background: rgba(253, 230, 138, 0.48); border-color: rgba(252, 211, 77, 0.62); color: #b45309; }
958
+ .clado-chip-violet { background: rgba(221, 214, 254, 0.50); border-color: rgba(196, 181, 253, 0.62); color: #6d28d9; }
479
959
  .clado-chip-neutral { background: var(--clado-ui-well); border-color: var(--clado-ui-well-border); color: var(--clado-ui-muted); }
480
960
 
481
- :root[data-theme="dark"] .clado-chip-sky { background: rgba(56, 189, 248, 0.18); border-color: rgba(56, 189, 248, 0.34); color: #7dd3fc; }
482
- :root[data-theme="dark"] .clado-chip-mint { background: rgba(52, 211, 153, 0.18); border-color: rgba(52, 211, 153, 0.34); color: #6ee7b7; }
483
- :root[data-theme="dark"] .clado-chip-amber { background: rgba(251, 191, 36, 0.18); border-color: rgba(251, 191, 36, 0.34); color: #fcd34d; }
484
- :root[data-theme="dark"] .clado-chip-violet { background: rgba(167, 139, 250, 0.20); border-color: rgba(167, 139, 250, 0.36); color: #c4b5fd; }
961
+ :root[data-theme="dark"] .clado-chip-sky { background: rgba(56, 189, 248, 0.16); border-color: rgba(56, 189, 248, 0.30); color: #7dd3fc; }
962
+ :root[data-theme="dark"] .clado-chip-mint { background: rgba(52, 211, 153, 0.16); border-color: rgba(52, 211, 153, 0.30); color: #6ee7b7; }
963
+ :root[data-theme="dark"] .clado-chip-amber { background: rgba(251, 191, 36, 0.16); border-color: rgba(251, 191, 36, 0.30); color: #fcd34d; }
964
+ :root[data-theme="dark"] .clado-chip-violet { background: rgba(167, 139, 250, 0.18); border-color: rgba(167, 139, 250, 0.32); color: #c4b5fd; }
485
965
 
486
966
  .clado-dot-ok {
487
967
  width: 6.5px;
488
968
  height: 6.5px;
489
969
  border-radius: 50%;
490
970
  background: #34d399;
491
- box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
971
+ box-shadow: 0 0 6px rgba(52, 211, 153, 0.55);
492
972
  display: inline-block;
493
973
  flex: none;
494
974
  }
@@ -497,7 +977,7 @@
497
977
  height: 6.5px;
498
978
  border-radius: 50%;
499
979
  background: #38bdf8;
500
- box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
980
+ box-shadow: 0 0 6px rgba(56, 189, 248, 0.60);
501
981
  display: inline-block;
502
982
  flex: none;
503
983
  }
@@ -522,3 +1002,326 @@
522
1002
  background: var(--clado-ui-hover);
523
1003
  border-color: var(--clado-ui-hover-border);
524
1004
  }
1005
+
1006
+ /* Composer Context Chips Bar */
1007
+ .clado-ctx-bar {
1008
+ display: flex;
1009
+ flex-wrap: wrap;
1010
+ align-items: center;
1011
+ gap: 5px;
1012
+ padding: 0 2px 6px;
1013
+ }
1014
+ .clado-ctx-chip {
1015
+ display: inline-flex;
1016
+ align-items: center;
1017
+ gap: 5px;
1018
+ max-width: 100%;
1019
+ padding: 2px 8px;
1020
+ border-radius: 999px;
1021
+ font-size: 10.5px;
1022
+ font-weight: 560;
1023
+ color: var(--clado-ui-text-soft);
1024
+ background: var(--clado-ui-well);
1025
+ border: 1px solid var(--clado-ui-well-border);
1026
+ }
1027
+ .clado-ctx-chip.is-snippet {
1028
+ background: var(--clado-ui-prism-bg);
1029
+ border-color: var(--clado-ui-prism-border);
1030
+ color: var(--clado-ui-prism-text);
1031
+ }
1032
+ .clado-ctx-chip-txt {
1033
+ overflow: hidden;
1034
+ text-overflow: ellipsis;
1035
+ white-space: nowrap;
1036
+ max-width: 220px;
1037
+ }
1038
+ .clado-ctx-chip-x {
1039
+ appearance: none;
1040
+ border: 0;
1041
+ background: transparent;
1042
+ color: inherit;
1043
+ opacity: 0.68;
1044
+ cursor: pointer;
1045
+ padding: 0 1px;
1046
+ font-size: 12px;
1047
+ line-height: 1;
1048
+ }
1049
+ .clado-ctx-chip-x:hover { opacity: 1; }
1050
+
1051
+ /* Mid-turn Stop Button */
1052
+ .clado-stop-btn {
1053
+ appearance: none;
1054
+ border: 1px solid rgba(244, 63, 94, 0.38);
1055
+ background: rgba(244, 63, 94, 0.10);
1056
+ color: #be123c;
1057
+ border-radius: 999px;
1058
+ min-height: 26px;
1059
+ padding: 3px 10px;
1060
+ font: inherit;
1061
+ font-size: 11.5px;
1062
+ font-weight: 600;
1063
+ cursor: pointer;
1064
+ transition: background 140ms ease, border-color 140ms ease;
1065
+ }
1066
+ .clado-stop-btn:hover {
1067
+ background: rgba(244, 63, 94, 0.18);
1068
+ border-color: rgba(244, 63, 94, 0.56);
1069
+ }
1070
+ :root[data-theme="dark"] .clado-stop-btn {
1071
+ color: #fda4af;
1072
+ background: rgba(244, 63, 94, 0.16);
1073
+ }
1074
+
1075
+ /* Collapsible Thinking Trace */
1076
+ .clado-thinking-trace {
1077
+ align-self: stretch;
1078
+ border-radius: 11px;
1079
+ border: 1px dashed var(--clado-ui-edge);
1080
+ background: color-mix(in srgb, var(--clado-ui-well) 65%, transparent);
1081
+ font-size: 11px;
1082
+ color: var(--clado-ui-muted);
1083
+ overflow: hidden;
1084
+ }
1085
+ .clado-thinking-trace summary {
1086
+ cursor: pointer;
1087
+ padding: 5px 10px;
1088
+ list-style: none;
1089
+ display: flex;
1090
+ align-items: center;
1091
+ justify-content: space-between;
1092
+ gap: 8px;
1093
+ user-select: none;
1094
+ font-weight: 540;
1095
+ }
1096
+ .clado-thinking-trace summary::-webkit-details-marker { display: none; }
1097
+ .clado-thinking-body {
1098
+ padding: 6px 10px 8px;
1099
+ border-top: 1px dashed var(--clado-ui-edge);
1100
+ white-space: pre-wrap;
1101
+ overflow-wrap: anywhere;
1102
+ max-height: 180px;
1103
+ overflow-y: auto;
1104
+ font-size: 11px;
1105
+ line-height: 1.5;
1106
+ opacity: 0.85;
1107
+ }
1108
+
1109
+ /* Clickable Card / Tag / Tool Chips in Chat */
1110
+ .clado-tool-step.is-clickable {
1111
+ cursor: pointer;
1112
+ transition: background-color 130ms ease, border-color 130ms ease;
1113
+ }
1114
+ .clado-tool-step.is-clickable:hover {
1115
+ background: var(--clado-ui-hover);
1116
+ border-color: var(--clado-ui-hover-border);
1117
+ }
1118
+ .clado-chat-ref {
1119
+ appearance: none;
1120
+ display: inline-flex;
1121
+ align-items: center;
1122
+ gap: 3px;
1123
+ padding: 0.5px 6px;
1124
+ margin: 0 1px;
1125
+ border-radius: 6px;
1126
+ border: 1px solid var(--clado-ui-prism-border);
1127
+ background: var(--clado-ui-prism-bg);
1128
+ color: var(--clado-ui-prism-text);
1129
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1130
+ font-size: 0.9em;
1131
+ cursor: pointer;
1132
+ vertical-align: baseline;
1133
+ transition: transform 120ms ease, filter 120ms ease;
1134
+ }
1135
+ .clado-chat-ref:hover {
1136
+ filter: brightness(0.96);
1137
+ transform: translateY(-0.5px);
1138
+ }
1139
+ .clado-msg-user.is-steer {
1140
+ background: rgba(254, 243, 199, 0.55);
1141
+ border-color: rgba(245, 158, 11, 0.45);
1142
+ color: #92400e;
1143
+ }
1144
+ :root[data-theme="dark"] .clado-msg-user.is-steer {
1145
+ background: rgba(245, 158, 11, 0.18);
1146
+ border-color: rgba(245, 158, 11, 0.36);
1147
+ color: #fde68a;
1148
+ }
1149
+
1150
+ /* Live Context Window Meter Pill & Quick Runtime Popover */
1151
+ .clado-ctx-meter {
1152
+ appearance: none;
1153
+ border: 1px solid var(--clado-ui-well-border);
1154
+ background: var(--clado-ui-well);
1155
+ color: var(--clado-ui-muted);
1156
+ border-radius: 999px;
1157
+ padding: 2px 8px;
1158
+ height: 24px;
1159
+ font: inherit;
1160
+ font-size: 10.5px;
1161
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1162
+ display: inline-flex;
1163
+ align-items: center;
1164
+ gap: 5px;
1165
+ cursor: pointer;
1166
+ white-space: nowrap;
1167
+ flex-shrink: 0;
1168
+ transition: all 140ms ease;
1169
+ }
1170
+ .clado-ctx-meter:hover {
1171
+ border-color: var(--clado-ui-brand);
1172
+ color: var(--clado-ui-text);
1173
+ }
1174
+ .clado-ctx-meter-track {
1175
+ width: 24px;
1176
+ height: 4px;
1177
+ border-radius: 999px;
1178
+ background: rgba(148, 163, 184, 0.28);
1179
+ overflow: hidden;
1180
+ flex: none;
1181
+ }
1182
+ .clado-ctx-meter-fill {
1183
+ display: block;
1184
+ height: 100%;
1185
+ border-radius: 999px;
1186
+ background: #10b981;
1187
+ transition: width 220ms ease, background 220ms ease;
1188
+ }
1189
+ .clado-ctx-meter.is-warn .clado-ctx-meter-fill { background: #f59e0b; }
1190
+ .clado-ctx-meter.is-danger .clado-ctx-meter-fill { background: #ef4444; }
1191
+ .clado-ctx-meter.is-danger { color: #e11d48; border-color: rgba(244, 63, 94, 0.35); }
1192
+ :root[data-theme="dark"] .clado-ctx-meter.is-danger { color: #fb7185; }
1193
+
1194
+ .clado-ctx-pop-card {
1195
+ padding: 8px 10px;
1196
+ display: flex;
1197
+ flex-direction: column;
1198
+ gap: 9px;
1199
+ font-size: 11.5px;
1200
+ color: var(--clado-ui-text);
1201
+ }
1202
+ .clado-ctx-pop-head {
1203
+ display: flex;
1204
+ align-items: center;
1205
+ justify-content: space-between;
1206
+ gap: 8px;
1207
+ }
1208
+ .clado-ctx-pop-bar {
1209
+ width: 100%;
1210
+ height: 6px;
1211
+ border-radius: 999px;
1212
+ background: rgba(148, 163, 184, 0.22);
1213
+ overflow: hidden;
1214
+ }
1215
+ .clado-ctx-pop-bar > i {
1216
+ display: block;
1217
+ height: 100%;
1218
+ border-radius: 999px;
1219
+ background: #10b981;
1220
+ transition: width 200ms ease;
1221
+ }
1222
+ .clado-ctx-pop-stats {
1223
+ display: grid;
1224
+ grid-template-columns: repeat(3, 1fr);
1225
+ gap: 6px;
1226
+ }
1227
+ .clado-ctx-stat {
1228
+ padding: 6px 8px;
1229
+ border-radius: 9px;
1230
+ background: var(--clado-ui-well);
1231
+ border: 1px solid var(--clado-ui-well-border);
1232
+ }
1233
+ .clado-ctx-stat-k {
1234
+ font-size: 10px;
1235
+ color: var(--clado-ui-subtle);
1236
+ }
1237
+ .clado-ctx-stat-v {
1238
+ margin-top: 2px;
1239
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1240
+ font-size: 11.5px;
1241
+ font-weight: 600;
1242
+ }
1243
+ .clado-ctx-pills {
1244
+ display: flex;
1245
+ flex-wrap: wrap;
1246
+ gap: 5px;
1247
+ }
1248
+ .clado-ctx-pill-btn {
1249
+ appearance: none;
1250
+ border: 1px solid var(--clado-ui-well-border);
1251
+ background: var(--clado-ui-well);
1252
+ color: var(--clado-ui-muted);
1253
+ border-radius: 999px;
1254
+ padding: 3px 9px;
1255
+ font: inherit;
1256
+ font-size: 11px;
1257
+ cursor: pointer;
1258
+ transition: all 140ms ease;
1259
+ }
1260
+ .clado-ctx-pill-btn:hover {
1261
+ border-color: var(--clado-ui-brand);
1262
+ color: var(--clado-ui-text);
1263
+ }
1264
+ .clado-ctx-pill-btn.active {
1265
+ background: var(--clado-ui-prism-bg);
1266
+ border-color: var(--clado-ui-prism-border);
1267
+ color: var(--clado-ui-prism-text);
1268
+ font-weight: 600;
1269
+ }
1270
+
1271
+ /* Runtime Settings & Official Model Quick-Pick Chips inside Settings Modal */
1272
+ .clado-rt-grid {
1273
+ display: grid;
1274
+ grid-template-columns: 1fr 1fr;
1275
+ gap: 10px;
1276
+ }
1277
+ .clado-rt-field {
1278
+ display: flex;
1279
+ flex-direction: column;
1280
+ gap: 4px;
1281
+ }
1282
+ .clado-rt-label {
1283
+ font-size: 11.5px;
1284
+ font-weight: 560;
1285
+ color: var(--clado-ui-muted);
1286
+ display: flex;
1287
+ align-items: center;
1288
+ justify-content: space-between;
1289
+ }
1290
+ .clado-rt-checks {
1291
+ display: flex;
1292
+ flex-wrap: wrap;
1293
+ gap: 14px;
1294
+ font-size: 12px;
1295
+ color: var(--clado-ui-text);
1296
+ }
1297
+ .clado-rt-checks label {
1298
+ display: inline-flex;
1299
+ align-items: center;
1300
+ gap: 6px;
1301
+ cursor: pointer;
1302
+ }
1303
+ .clado-model-presets {
1304
+ display: flex;
1305
+ flex-wrap: wrap;
1306
+ gap: 6px;
1307
+ }
1308
+ .clado-model-preset-chip {
1309
+ appearance: none;
1310
+ border: 1px solid var(--clado-ui-well-border);
1311
+ background: var(--clado-ui-well);
1312
+ color: var(--clado-ui-text);
1313
+ border-radius: 9px;
1314
+ padding: 4px 9px;
1315
+ font-size: 11px;
1316
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1317
+ cursor: pointer;
1318
+ transition: all 140ms ease;
1319
+ }
1320
+ .clado-model-preset-chip:hover {
1321
+ border-color: var(--clado-ui-brand);
1322
+ }
1323
+ .clado-model-preset-chip.active {
1324
+ background: var(--clado-ui-prism-bg);
1325
+ border-color: var(--clado-ui-prism-border);
1326
+ color: var(--clado-ui-prism-text);
1327
+ }