cladogram 0.5.5-beta.9 → 0.6.0-beta.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.
@@ -1,1631 +1,524 @@
1
- /* CSS Houdini 自定义属性(inherits: true 确保 ::after 实时继承每帧插值角度与色彩) */
2
- @property --ring-half {
3
- syntax: '<angle>';
4
- inherits: true;
5
- initial-value: 54deg;
6
- }
7
- @property --ring-feather {
8
- syntax: '<angle>';
9
- inherits: true;
10
- initial-value: 14deg;
11
- }
12
- @property --ring-color {
13
- syntax: '<color>';
14
- inherits: true;
15
- initial-value: #85c3ff;
16
- }
17
-
18
- :root {
19
- --clado-agent-surface: rgba(255, 255, 255, 0.36);
20
- --clado-agent-filter: blur(20px) saturate(185%) brightness(1.06);
21
- --clado-agent-well: rgba(255, 255, 255, 0.34);
22
- --clado-agent-well-border: rgba(255, 255, 255, 0.72);
23
- --clado-agent-track: rgba(255, 255, 255, 0.24);
24
- --clado-agent-hover: rgba(255, 255, 255, 0.38);
25
- --clado-agent-active: rgba(255, 255, 255, 0.56);
26
- --clado-agent-active-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.96);
27
- --clado-agent-popover: rgba(255, 255, 255, 0.86);
28
- --clado-agent-edge: rgba(15, 23, 42, 0.065);
29
- --clado-agent-highlight: rgba(255, 255, 255, 0.96);
30
- --clado-agent-outline: rgba(255, 255, 255, 0.84);
31
- --clado-agent-danger: #e11d48;
32
- --clado-agent-shadow:
33
- 0 8px 22px rgba(15, 23, 42, 0.045),
34
- 0 0 0 0.5px rgba(15, 23, 42, 0.06),
35
- inset 0 1px 0 var(--clado-agent-highlight),
36
- inset 0 0 22px rgba(255, 255, 255, 0.28);
37
- --clado-agent-pill-shadow:
38
- 0 3px 10px rgba(15, 23, 42, 0.035),
39
- 0 0 0 0.5px rgba(15, 23, 42, 0.055),
40
- inset 0 1px 0 var(--clado-agent-highlight),
41
- inset 0 0 14px rgba(255, 255, 255, 0.24);
42
- --clado-agent-send-bg: #3f4654;
43
- --clado-agent-send-fg: #ffffff;
44
- --clado-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
45
- }
46
-
47
- :root[data-theme="dark"] {
48
- --clado-agent-surface: rgba(20, 25, 36, 0.38);
49
- --clado-agent-filter: blur(20px) saturate(195%);
50
- --clado-agent-well: rgba(255, 255, 255, 0.065);
51
- --clado-agent-well-border: rgba(255, 255, 255, 0.14);
52
- --clado-agent-track: rgba(255, 255, 255, 0.055);
53
- --clado-agent-hover: rgba(255, 255, 255, 0.09);
54
- --clado-agent-active: rgba(255, 255, 255, 0.15);
55
- --clado-agent-active-shadow: 0 2px 10px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
56
- --clado-agent-popover: rgba(22, 27, 40, 0.88);
57
- --clado-agent-edge: rgba(255, 255, 255, 0.09);
58
- --clado-agent-highlight: rgba(255, 255, 255, 0.22);
59
- --clado-agent-outline: rgba(255, 255, 255, 0.18);
60
- --clado-agent-danger: #fb7185;
61
- --clado-agent-shadow:
62
- 0 14px 34px rgba(0, 0, 0, 0.42),
63
- 0 0 0 0.5px rgba(0, 0, 0, 0.45),
64
- inset 0 1px 0 var(--clado-agent-highlight),
65
- inset 0 0 18px rgba(255, 255, 255, 0.04);
66
- --clado-agent-pill-shadow:
67
- 0 6px 16px rgba(0, 0, 0, 0.32),
68
- 0 0 0 0.5px rgba(0, 0, 0, 0.45),
69
- inset 0 1px 0 var(--clado-agent-highlight);
70
- --clado-agent-send-bg: #e2e8f0;
71
- --clado-agent-send-fg: #111318;
72
- }
73
-
74
- /* 直接附着式真冰晶毛玻璃:
75
- backdrop-filter 直接挂在玻璃元素自身上,外层包装器绝不使用 opacity < 1、filter 或 overflow:auto,
76
- 彻底消除浏览器 Backdrop Root 导致的展开延迟模糊与灰底色带问题。 */
77
- .clado-agent-glass {
78
- position: relative;
79
- background: var(--clado-agent-surface);
80
- backdrop-filter: var(--clado-agent-filter);
81
- -webkit-backdrop-filter: var(--clado-agent-filter);
82
- border: 1px solid var(--clado-agent-outline);
83
- box-shadow: var(--clado-agent-shadow);
84
- color: var(--clado-ui-text);
85
- }
86
-
87
- /* ============ 右下角冰晶灵感坞(桌面右下悬浮,小屏自适应防溢出) ============ */
88
- .clado-agent-dock {
89
- width: min(468px, calc(100vw - 24px));
90
- max-width: 100%;
91
- display: flex;
92
- flex-direction: column;
93
- gap: 7px;
94
- min-width: 0;
95
- pointer-events: none;
96
- box-sizing: border-box;
97
- transform-origin: bottom right;
98
- }
99
- .clado-agent-dock *,
100
- .clado-agent-overlay *,
101
- .clado-agent-ctx-menu *,
102
- .clado-model-menu * {
103
- box-sizing: border-box;
104
- }
105
- .clado-agent-dock > * {
106
- pointer-events: auto;
107
- min-width: 0;
108
- max-width: 100%;
109
- }
110
- .clado-agent-dock[hidden] {
111
- display: none !important;
112
- }
113
-
114
- .clado-agent-dock .clado-cmd-approve-bar,
115
- .clado-agent-dock .clado-single-panel,
116
- .clado-agent-dock .clado-peer-pill,
117
- .clado-agent-dock .clado-peer-add-btn,
118
- .clado-agent-dock .clado-agent-shell {
119
- transition:
120
- opacity 260ms var(--clado-ease-spring),
121
- transform 300ms var(--clado-ease-spring),
122
- box-shadow 300ms var(--clado-ease-spring),
123
- --ring-half 380ms var(--clado-ease-spring),
124
- --ring-feather 380ms var(--clado-ease-spring),
125
- --ring-color 300ms ease;
126
- }
127
-
128
- .clado-agent-dock.minimized {
129
- pointer-events: none;
130
- }
131
- .clado-agent-dock.minimized * {
132
- pointer-events: none !important;
133
- }
134
- .clado-agent-dock.minimized .clado-single-wrap {
135
- grid-template-rows: 0fr !important;
136
- pointer-events: none !important;
137
- }
138
- .clado-agent-dock.minimized .clado-cmd-approve-bar,
139
- .clado-agent-dock.minimized .clado-single-panel,
140
- .clado-agent-dock.minimized .clado-single-wrap.open .clado-single-panel,
141
- .clado-agent-dock.minimized .clado-peer-pill,
142
- .clado-agent-dock.minimized .clado-peer-add-btn,
143
- .clado-agent-dock.minimized .clado-agent-shell {
144
- opacity: 0 !important;
145
- transform: translate3d(24px, 16px, 0) scale(0.86) !important;
146
- }
147
-
148
- /* 右下角收起态灵感悬浮球(绝对定位于右下角同槽位,展开态零高度占位) */
149
- .clado-agent-orb-wrap {
150
- position: absolute;
151
- right: 0;
152
- bottom: 0;
153
- z-index: 4;
154
- pointer-events: none;
155
- }
156
- .clado-agent-orb {
157
- appearance: none;
158
- display: inline-flex;
159
- align-items: center;
160
- gap: 7px;
161
- height: 42px;
162
- padding: 0 14px;
163
- border-radius: 15px;
164
- color: var(--clado-ui-text);
165
- font: inherit;
166
- font-size: 13px;
167
- font-weight: 580;
168
- cursor: pointer;
169
- white-space: nowrap;
170
- opacity: 0;
171
- pointer-events: none;
172
- transform: scale(0.75) translateY(6px);
173
- transition: opacity 260ms var(--clado-ease-spring), transform 300ms var(--clado-ease-spring);
174
- }
175
- .clado-agent-orb.show {
176
- opacity: 1;
177
- pointer-events: auto;
178
- transform: scale(1) translateY(0);
179
- }
180
- .clado-agent-orb-star {
181
- color: var(--clado-ui-brand);
182
- font-size: 13px;
183
- line-height: 1;
184
- }
185
-
186
- /* ============ 折叠包装器与命令审批条(minmax(0, 1fr) 严防长命令撑出移动端视口) ============ */
187
- .clado-collapse-wrap {
188
- display: grid;
189
- grid-template-columns: minmax(0, 1fr);
190
- grid-template-rows: 1fr;
191
- width: 100%;
192
- min-width: 0;
193
- transition: grid-template-rows 280ms var(--clado-ease-spring);
194
- }
195
- .clado-collapse-wrap.closed {
196
- grid-template-rows: 0fr;
197
- pointer-events: none;
198
- }
199
- .clado-collapse-inner {
200
- overflow: visible;
201
- min-height: 0;
202
- min-width: 0;
203
- width: 100%;
204
- }
205
- .clado-collapse-wrap.closed .clado-collapse-inner {
206
- overflow: hidden;
207
- }
208
- .clado-collapse-wrap.closed .clado-cmd-approve-bar {
209
- opacity: 0;
210
- transform: translateY(6px) scale(0.98);
211
- }
212
-
213
- .clado-cmd-approve-bar {
214
- width: 100%;
215
- min-width: 0;
216
- max-width: 100%;
217
- border-radius: 15px;
218
- padding: 6px 8px 6px 11px;
219
- display: flex;
220
- align-items: center;
221
- justify-content: space-between;
222
- gap: 6px;
223
- font-size: 11.5px;
224
- }
225
- .clado-cmd-approve-copy {
226
- flex: 1 1 0%;
227
- min-width: 0;
228
- overflow: hidden;
229
- text-overflow: ellipsis;
230
- white-space: nowrap;
231
- }
232
- .clado-cmd-approve-copy code {
233
- padding: 1px 5px;
234
- border-radius: 6px;
235
- background: var(--clado-agent-well);
236
- border: 0.5px solid var(--clado-agent-well-border);
237
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
238
- font-size: 11px;
239
- }
240
- .clado-cmd-approve-actions {
241
- display: flex;
242
- align-items: center;
243
- gap: 4px;
244
- flex: 0 0 auto;
245
- }
246
- .clado-cmd-btn {
247
- appearance: none;
248
- font: inherit;
249
- font-size: 11px;
250
- padding: 3.5px 8px;
251
- border-radius: 8px;
252
- white-space: nowrap;
253
- cursor: pointer;
254
- transition: opacity 140ms ease, transform 120ms ease;
255
- }
256
- .clado-cmd-btn:active { transform: scale(0.96); }
257
- .clado-cmd-btn.allow {
258
- border: 0;
259
- background: var(--clado-ui-brand);
260
- color: #fff;
261
- font-weight: 600;
262
- }
263
- .clado-cmd-btn.session {
264
- border: 1px solid var(--clado-agent-well-border);
265
- background: var(--clado-agent-well);
266
- color: var(--clado-ui-text);
267
- font-weight: 550;
268
- padding-inline: 7px;
269
- }
270
- .clado-cmd-btn.deny {
271
- border: 0;
272
- background: transparent;
273
- color: var(--clado-agent-danger);
274
- font-weight: 550;
275
- padding-inline: 5px;
276
- }
1
+ /* ================= Clado vNext · Liquid Crystal Glass Dock, Settings & Handoff ================= */
277
2
 
278
- /* ============ 单人视角详情抽屉 ============ */
279
- .clado-single-wrap {
280
- display: grid;
281
- grid-template-columns: minmax(0, 1fr);
282
- grid-template-rows: 0fr;
283
- pointer-events: none;
284
- width: 100%;
285
- min-width: 0;
286
- transition: grid-template-rows 300ms var(--clado-ease-spring);
287
- }
288
- .clado-single-wrap.open {
289
- grid-template-rows: 1fr;
290
- pointer-events: auto;
291
- }
292
- .clado-single-clip {
293
- overflow: hidden;
294
- min-height: 0;
295
- min-width: 0;
296
- width: 100%;
297
- padding: 12px 0;
298
- margin: -12px 0;
299
- }
300
- .clado-single-panel {
301
- width: 100%;
302
- min-width: 0;
3
+ .clado-vnext-dock {
4
+ width: 396px;
303
5
  display: flex;
304
6
  flex-direction: column;
305
7
  gap: 8px;
306
- border-radius: 22px;
307
- padding: 11px 12px;
308
- opacity: 0;
309
- transform: translateY(8px);
310
- transform-origin: bottom center;
311
- }
312
- .clado-single-wrap.open .clado-single-panel {
313
- opacity: 1;
314
- transform: translateY(0);
315
- }
316
- .clado-sp-body-fade {
317
- display: flex;
318
- flex-direction: column;
319
- gap: 8px;
320
- min-width: 0;
321
- transition: opacity 150ms ease, transform 170ms var(--clado-ease-spring);
322
- }
323
- .clado-sp-body-fade.switching {
324
- opacity: 0.25;
325
- transform: translateY(3px);
8
+ position: relative;
9
+ font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
326
10
  }
327
11
 
328
- /* 保留兼容钩子与底部柔光选择符 */
329
- .clado-ai-aura {
330
- display: none;
12
+ .clado-dock-drawer {
13
+ position: relative;
14
+ border-radius: 22px;
15
+ background: var(--clado-ui-panel-surface);
16
+ backdrop-filter: blur(24px) saturate(190%) brightness(1.03);
17
+ -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(1.03);
18
+ border: 1px solid var(--clado-ui-glass-outline);
19
+ box-shadow: var(--clado-ui-glass-shadow);
20
+ transition: opacity 180ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
21
+ }
22
+ .clado-dock-drawer.collapsed { display: none; }
23
+ .clado-dock-aura {
331
24
  position: absolute;
332
- inset: 0;
25
+ left: 14%;
26
+ right: 14%;
27
+ bottom: -16px;
28
+ height: 36px;
29
+ 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));
31
+ filter: blur(22px);
32
+ opacity: 0.46;
333
33
  pointer-events: none;
334
34
  z-index: -1;
335
35
  }
336
- .clado-agent-panel.clado-ai-working > .clado-ai-aura { display: block; }
337
-
338
- .clado-sp-header {
339
- display: flex;
340
- align-items: center;
341
- justify-content: space-between;
342
- gap: 6px;
343
- flex-wrap: wrap;
344
- }
345
- .clado-sp-title-group {
346
- display: flex;
347
- align-items: center;
348
- gap: 6px;
349
- min-width: 0;
350
- flex: 1 1 auto;
351
- }
352
- .clado-sp-name {
353
- font-size: 13.5px;
354
- font-weight: 650;
355
- white-space: nowrap;
356
- overflow: hidden;
357
- text-overflow: ellipsis;
358
- max-width: 150px;
359
- }
360
- .clado-tag-pill {
361
- display: inline-flex;
362
- align-items: center;
363
- padding: 1px 6.5px;
364
- border-radius: 6px;
365
- font-size: 10.5px;
366
- font-weight: 600;
367
- line-height: 1.5;
368
- white-space: nowrap;
369
- flex: none;
370
- }
371
- .clado-tag-blue { background: rgba(59, 130, 246, 0.13); color: #2563eb; }
372
- .clado-tag-teal { background: rgba(16, 185, 129, 0.13); color: #059669; }
373
- .clado-tag-violet { background: rgba(139, 92, 246, 0.13); color: #7c3aed; }
374
- .clado-tag-amber { background: rgba(245, 158, 11, 0.15); color: #d97706; }
375
- :root[data-theme="dark"] .clado-tag-blue { color: #60a5fa; }
376
- :root[data-theme="dark"] .clado-tag-teal { color: #34d399; }
377
- :root[data-theme="dark"] .clado-tag-violet { color: #c4b5fd; }
378
- :root[data-theme="dark"] .clado-tag-amber { color: #fbbf24; }
379
-
380
- .clado-sp-actions {
381
- display: flex;
382
- align-items: center;
383
- gap: 3px;
384
- flex-wrap: wrap;
385
- }
386
-
387
- .clado-tab-group {
388
- display: inline-flex;
389
- gap: 2px;
390
- padding: 2px;
391
- border-radius: 10px;
392
- background: var(--clado-agent-track);
393
- border: 0.5px solid var(--clado-agent-well-border);
394
- }
395
- .clado-tab-btn {
396
- appearance: none;
397
- border: 1px solid transparent;
398
- background: transparent;
399
- color: var(--clado-ui-muted);
400
- font: inherit;
401
- font-size: 11px;
402
- font-weight: 520;
403
- padding: 3px 8px;
404
- border-radius: 8px;
405
- cursor: pointer;
406
- white-space: nowrap;
407
- transition: background-color 180ms var(--clado-ease-spring), border-color 180ms ease, color 160ms ease, box-shadow 180ms var(--clado-ease-spring), transform 120ms ease;
408
- }
409
- .clado-tab-btn:active { transform: scale(0.96); }
410
- .clado-tab-btn.active {
411
- color: var(--clado-ui-text);
412
- font-weight: 620;
413
- background: var(--clado-agent-active);
414
- border-color: var(--clado-agent-outline);
415
- box-shadow: var(--clado-agent-active-shadow);
416
- }
417
-
418
- .clado-icon-act {
419
- appearance: none;
420
- border: 1px solid transparent;
421
- background: transparent;
422
- color: var(--clado-ui-muted);
423
- font: inherit;
424
- font-size: 11.5px;
425
- font-weight: 540;
426
- padding: 3.5px 7px;
427
- border-radius: 8px;
428
- cursor: pointer;
429
- white-space: nowrap;
430
- transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
431
- }
432
- .clado-icon-act:hover,
433
- .clado-icon-act:active,
434
- .clado-icon-act[aria-pressed="true"] {
435
- background: var(--clado-agent-active);
436
- border-color: var(--clado-agent-outline);
437
- color: var(--clado-ui-text);
438
- }
439
- .clado-icon-act.del:hover {
440
- color: var(--clado-agent-danger);
441
- }
442
-
443
- /* 二级模式与 ACP 执行器紧凑栏 */
444
- .clado-sp-subbar {
445
- display: flex;
446
- align-items: center;
447
- justify-content: space-between;
448
- gap: 6px;
449
- flex-wrap: wrap;
450
- }
451
- .clado-sp-workflows {
452
- display: inline-flex;
453
- gap: 2px;
454
- padding: 2px;
455
- border-radius: 10px;
456
- background: var(--clado-agent-track);
457
- border: 0.5px solid var(--clado-agent-well-border);
458
- max-width: 100%;
459
- overflow-x: auto;
460
- }
461
- .clado-sp-executor-wrap {
462
- position: relative;
463
- flex: 1 1 140px;
464
- min-width: 120px;
465
- z-index: 30;
466
- }
467
- .clado-sp-executor-wrap[hidden] { display: none !important; }
468
-
469
- /* 毛玻璃下拉组件 */
470
- .clado-agent-select-native {
471
- position: absolute !important;
472
- width: 1px !important;
473
- height: 1px !important;
474
- opacity: 0 !important;
475
- pointer-events: none !important;
476
- overflow: hidden !important;
477
- }
478
- .clado-glass-dropdown {
479
- position: relative;
480
- width: 100%;
481
- min-width: 0;
482
- }
483
- .clado-glass-dropdown-trigger {
484
- appearance: none;
485
- width: 100%;
486
- display: flex;
487
- align-items: center;
488
- justify-content: space-between;
489
- gap: 6px;
490
- min-height: 28px;
491
- padding: 4px 9px;
492
- border-radius: 9px;
493
- border: 1px solid var(--clado-agent-well-border);
494
- background: var(--clado-agent-well);
495
- color: var(--clado-ui-text);
496
- font: inherit;
497
- font-size: 11.5px;
498
- font-weight: 550;
499
- text-align: left;
500
- cursor: pointer;
501
- }
502
- .clado-glass-dropdown-value {
503
- display: flex;
504
- align-items: center;
505
- gap: 6px;
506
- min-width: 0;
507
- flex: 1;
508
- }
509
- .clado-glass-dropdown-label {
36
+ .clado-dock-inner {
37
+ border-radius: 22px;
510
38
  overflow: hidden;
511
- text-overflow: ellipsis;
512
- white-space: nowrap;
513
- }
514
- .clado-glass-dropdown-dot {
515
- width: 6px;
516
- height: 6px;
517
- border-radius: 50%;
518
- flex: none;
519
- }
520
- .clado-glass-dropdown-chevron {
521
- width: 13px;
522
- height: 13px;
523
- fill: none;
524
- stroke: var(--clado-ui-subtle);
525
- stroke-width: 2;
526
- stroke-linecap: round;
527
- stroke-linejoin: round;
528
- flex: none;
529
- transition: transform 180ms ease;
530
- }
531
- .clado-glass-dropdown.open .clado-glass-dropdown-chevron { transform: rotate(180deg); }
532
- .clado-glass-dropdown-menu {
533
- position: absolute;
534
- left: 0;
535
- right: 0;
536
- top: calc(100% + 5px);
537
- padding: 5px;
538
- border-radius: 14px;
539
- background: var(--clado-agent-popover);
540
- backdrop-filter: blur(24px) saturate(185%);
541
- -webkit-backdrop-filter: blur(24px) saturate(185%);
542
- border: 1px solid var(--clado-agent-outline);
543
- box-shadow: var(--clado-agent-shadow);
544
39
  display: flex;
545
40
  flex-direction: column;
546
- gap: 2px;
547
- z-index: 60;
548
- }
549
- .clado-glass-dropdown-menu[hidden] { display: none !important; }
550
- .clado-glass-dropdown-option {
551
- width: 100%;
552
- display: flex;
553
- align-items: center;
554
- gap: 8px;
555
- padding: 6px 9px;
556
- border-radius: 9px;
557
- text-align: left;
558
- white-space: normal;
559
- color: var(--clado-ui-text);
560
- font-size: 12px;
561
- }
562
- .clado-glass-dropdown-copy {
563
- flex: 1;
564
- min-width: 0;
565
- display: flex;
566
- flex-direction: column;
567
- }
568
- .clado-glass-dropdown-copy strong { font-size: 12px; font-weight: 560; }
569
- .clado-glass-dropdown-copy small { font-size: 10.5px; color: var(--clado-ui-subtle); }
570
- .clado-glass-dropdown-check {
571
- color: var(--clado-ui-brand);
572
- font-size: 11.5px;
573
- font-weight: 700;
574
- visibility: hidden;
575
- }
576
- .clado-glass-dropdown-option[aria-selected="true"] .clado-glass-dropdown-check { visibility: visible; }
577
-
578
- .clado-plan-banner {
579
- padding: 5px 9px;
580
- border-radius: 10px;
581
- background: rgba(245, 158, 11, 0.13);
582
- color: #d97706;
583
- font-size: 11px;
584
- line-height: 1.45;
585
- }
586
- :root[data-theme="dark"] .clado-plan-banner { color: #fbbf24; }
587
-
588
- .clado-todo-box {
589
- padding: 6px 10px;
590
- border-radius: 11px;
591
- background: var(--clado-agent-well);
592
- border: 1px solid var(--clado-agent-well-border);
593
- cursor: pointer;
594
- font-size: 11.5px;
595
41
  }
596
- .clado-todo-box[hidden] { display: none !important; }
597
- .clado-todo-head {
42
+ .clado-dock-head {
598
43
  display: flex;
599
44
  align-items: center;
600
45
  justify-content: space-between;
46
+ padding: 12px 15px;
47
+ border-bottom: 1px solid var(--clado-ui-edge);
601
48
  gap: 8px;
602
49
  }
603
- .clado-todo-summary {
604
- font-weight: 560;
605
- overflow: hidden;
606
- text-overflow: ellipsis;
607
- white-space: nowrap;
608
- }
609
- .clado-todo-arrow {
610
- font-size: 10px;
611
- color: var(--clado-ui-subtle);
612
- flex: none;
613
- }
614
- .clado-todo-list {
615
- margin-top: 6px;
616
- padding-top: 6px;
617
- border-top: 1px solid var(--clado-agent-edge);
618
- font-size: 11px;
619
- color: var(--clado-ui-muted);
620
- line-height: 1.6;
621
- }
622
-
623
- /* 消息流 */
624
- .clado-agent-log {
625
- max-height: min(230px, 34dvh);
626
- overflow-y: auto;
627
- overscroll-behavior: contain;
628
- display: flex;
629
- flex-direction: column;
630
- gap: 8px;
631
- padding: 2px 2px;
632
- touch-action: pan-y;
633
- user-select: text;
634
- -webkit-user-select: text;
635
- }
636
- .clado-agent-log::-webkit-scrollbar { width: 4px; }
637
- .clado-agent-log::-webkit-scrollbar-thumb { background: rgba(120, 130, 150, 0.24); border-radius: 99px; }
638
- .clado-agent-log-empty {
639
- padding: 10px 4px;
640
- font-size: 12px;
641
- color: var(--clado-ui-muted);
642
- }
643
-
644
- .clado-agent-message {
645
- width: fit-content;
646
- max-width: 100%;
647
- border-radius: 14px;
648
- padding: 6px 11px;
649
- overflow-wrap: anywhere;
650
- font-size: 12px;
651
- }
652
- .clado-agent-message.human {
653
- align-self: flex-end;
654
- max-width: 88%;
655
- border-radius: 13px 13px 4px 13px;
656
- background: var(--clado-agent-active);
657
- border: 1px solid var(--clado-agent-outline);
658
- box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
659
- }
660
- .clado-agent-message.assistant {
661
- width: 100%;
662
- padding: 2px 2px;
663
- }
664
- .clado-agent-message strong,
665
- .clado-agent-message small {
666
- color: var(--clado-ui-muted);
667
- font-size: 10.5px;
668
- display: block;
669
- }
670
- .clado-agent-message p {
671
- margin: 2px 0 0;
672
- white-space: pre-wrap;
673
- line-height: 1.55;
674
- color: var(--clado-ui-text);
675
- }
676
-
677
- .clado-peer-call-card {
678
- padding: 7px 10px;
679
- border-radius: 12px;
680
- background: var(--clado-agent-well);
681
- border: 1px solid var(--clado-agent-well-border);
682
- font-size: 11.5px;
683
- line-height: 1.45;
684
- }
685
- .clado-peer-call-head {
686
- font-size: 10.5px;
687
- font-weight: 650;
688
- color: var(--clado-ui-brand);
689
- margin-bottom: 2px;
690
- }
691
-
692
- .clado-agent-thinking {
693
- margin: 4px 0 5px;
694
- padding: 5px 9px;
695
- border-radius: 10px;
696
- border: 1px solid var(--clado-agent-well-border);
697
- background: var(--clado-agent-well);
698
- font-size: 11px;
699
- }
700
- .clado-agent-thinking summary {
701
- cursor: pointer;
702
- color: var(--clado-ui-muted);
703
- font-weight: 550;
704
- user-select: none;
705
- }
706
- .clado-agent-thinking pre {
707
- margin: 5px 0 2px;
708
- white-space: pre-wrap;
709
- overflow-wrap: anywhere;
710
- font-family: inherit;
711
- font-size: 11px;
712
- line-height: 1.5;
713
- color: var(--clado-ui-muted);
714
- }
715
-
716
- .clado-changes-row {
717
- margin-top: 6px;
718
- display: flex;
719
- align-items: center;
720
- justify-content: space-between;
721
- gap: 6px;
722
- flex-wrap: wrap;
723
- }
724
- .clado-changes-chips {
725
- display: flex;
726
- gap: 5px;
727
- flex-wrap: wrap;
728
- }
729
- .clado-tool-chip {
730
- appearance: none;
731
- display: inline-flex;
732
- align-items: center;
733
- gap: 5px;
734
- padding: 3.5px 9px;
735
- border-radius: 999px;
736
- background: var(--clado-agent-well);
737
- border: 1px solid var(--clado-agent-well-border);
738
- font: inherit;
739
- font-size: 11px;
740
- color: var(--clado-ui-muted);
741
- cursor: pointer;
742
- transition: background-color 150ms ease, color 150ms ease, transform 130ms ease;
743
- }
744
- .clado-tool-chip:hover,
745
- .clado-tool-chip:active {
746
- background: var(--clado-agent-active);
747
- color: var(--clado-ui-text);
748
- transform: scale(0.97);
749
- }
750
- .clado-tool-chip.rollback {
751
- color: var(--clado-ui-brand);
752
- font-weight: 560;
753
- }
754
- .clado-tool-chip.rollback.done {
755
- color: #059669;
756
- }
757
-
758
- /* ask_user 决策卡片 */
759
- .clado-agent-question {
760
- margin-top: 6px;
761
- padding: 9px 10px;
762
- border-radius: 13px;
763
- border: 1px solid var(--clado-agent-outline);
764
- background: var(--clado-agent-well);
765
- box-shadow: inset 0 1px 0 var(--clado-agent-highlight);
50
+ .clado-dock-head-left {
766
51
  display: flex;
767
- flex-direction: column;
768
- gap: 7px;
769
- }
770
- .clado-agent-question.answered {
771
- border-color: var(--clado-agent-edge);
772
- background: var(--clado-agent-track);
773
- }
774
- .clado-agent-question-badge {
775
- display: inline-flex;
776
52
  align-items: center;
777
- gap: 6px;
778
- font-size: 10.5px;
779
- font-weight: 620;
780
- color: var(--clado-ui-text);
781
- }
782
- .clado-agent-question-badge::before {
783
- content: "";
784
- width: 6px;
785
- height: 6px;
786
- border-radius: 50%;
787
- background: #f59e0b;
788
- }
789
- .clado-agent-question-text {
790
- font-size: 12px;
791
- line-height: 1.5;
792
- font-weight: 500;
793
- }
794
- .clado-agent-question-options {
795
- display: flex;
796
- flex-direction: column;
797
- gap: 4px;
798
- }
799
- .clado-agent-option-btn {
800
- appearance: none;
801
- border: 1px solid transparent;
802
- border-radius: 10px;
803
- background: transparent;
804
- color: var(--clado-ui-text);
805
- padding: 7px 9px;
806
- text-align: left;
807
- cursor: pointer;
808
- font: inherit;
809
- display: flex;
810
- flex-direction: column;
811
- gap: 2px;
812
- transition: background 140ms ease, border-color 140ms ease;
813
- }
814
- .clado-agent-option-btn:hover:not(:disabled) {
815
- background: var(--clado-agent-active);
816
- border-color: var(--clado-agent-outline);
817
- }
818
- .clado-agent-option-label { font-size: 11.5px; font-weight: 600; }
819
- .clado-agent-option-btn small { font-size: 10.5px; color: var(--clado-ui-muted); }
820
- .clado-agent-question-custom {
821
- display: flex;
822
- gap: 5px;
823
- }
824
- .clado-agent-question-custom input {
825
- flex: 1;
826
- min-width: 0;
827
- padding: 5px 8px;
828
- border: 1px solid var(--clado-agent-well-border);
829
- border-radius: 8px;
830
- background: var(--clado-agent-well);
831
- color: var(--clado-ui-text);
832
- font: inherit;
833
- font-size: 11.5px;
834
- outline: none;
835
- }
836
- .clado-agent-question-answered {
837
- font-size: 11px;
838
- color: var(--clado-ui-brand);
839
- font-weight: 560;
840
- }
841
-
842
- .clado-agent-status {
843
- margin: 0;
844
- font-size: 11px;
845
- color: var(--clado-ui-muted);
846
- overflow: hidden;
847
- text-overflow: ellipsis;
848
- white-space: nowrap;
849
- }
850
- .clado-agent-status[hidden] { display: none !important; }
851
-
852
- /* ============ 多会话单行左对齐胶囊条(overflow-x: clip 保住 100% 真毛玻璃 + 左右淡入淡出) ============ */
853
- .clado-peer-cluster {
854
- width: 100%;
53
+ gap: 8px;
855
54
  min-width: 0;
856
- max-width: 100%;
857
- background: transparent;
858
- display: flex;
859
- align-items: center;
860
- justify-content: flex-start;
861
- flex-wrap: nowrap;
862
- gap: 6px;
863
- overflow-x: clip;
864
- overflow-y: visible;
865
- padding: 2px 0;
866
- touch-action: pan-y;
867
- cursor: grab;
868
- user-select: none;
869
- -webkit-user-select: none;
870
55
  }
871
- .clado-peer-cluster:active { cursor: grabbing; }
872
-
873
- .clado-peer-pill {
874
- appearance: none;
875
- -webkit-appearance: none;
876
- position: relative;
877
- flex: 0 0 auto;
878
- display: inline-flex;
879
- align-items: center;
880
- gap: 0;
881
- height: 31px;
882
- padding: 0 12px;
883
- border-radius: 999px;
884
- cursor: pointer;
885
- border: 0;
886
- background: var(--clado-agent-surface);
887
- backdrop-filter: var(--clado-agent-filter);
888
- -webkit-backdrop-filter: var(--clado-agent-filter);
56
+ .clado-dock-title {
57
+ font-size: 13.5px;
58
+ font-weight: 620;
889
59
  color: var(--clado-ui-text);
890
- font: inherit;
891
- font-size: 12px;
892
- box-shadow: var(--clado-agent-pill-shadow);
893
60
  white-space: nowrap;
894
- --ring-half: 54deg;
895
- --ring-feather: 15deg;
896
- --ring-color: var(--c-muted);
897
- }
898
- .clado-peer-pill.is-active {
899
- --ring-half: 64deg;
900
- --ring-feather: 14deg;
901
- }
902
- .clado-peer-pill:active { transform: scale(0.96); }
903
-
904
- /* 极纤薄边缘环:
905
- - 静息态:0.85px 发丝高度底色条(明亮清透柔和色、底下绝无白边)
906
- - 激活态(.is-focused):沿左右边缘合拢为 1.25px 高饱和全边框,胶囊内部保持纯净 36% 透明玻璃 */
907
- .clado-peer-pill::after {
908
- content: "";
909
- position: absolute;
910
- inset: 0;
911
- border-radius: inherit;
912
- pointer-events: none;
913
- z-index: 2;
914
- padding: 0.85px;
915
- transition: padding 260ms var(--clado-ease-spring);
916
- background: conic-gradient(
917
- from 0deg at 50% 50%,
918
- var(--clado-agent-outline) 0deg,
919
- var(--clado-agent-outline) calc(180deg - var(--ring-half) - var(--ring-feather)),
920
- var(--ring-color) calc(180deg - var(--ring-half)),
921
- var(--ring-color) calc(180deg + var(--ring-half)),
922
- var(--clado-agent-outline) calc(180deg + var(--ring-half) + var(--ring-feather)),
923
- var(--clado-agent-outline) 360deg
924
- );
925
- -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
926
- -webkit-mask-composite: xor;
927
- mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
928
- mask-composite: exclude;
929
- }
930
-
931
- .clado-peer-pill.is-focused {
932
- --ring-half: 180deg;
933
- --ring-feather: 0deg;
934
- --ring-color: var(--c-vivid);
935
- box-shadow: 0 6px 18px var(--c-glow), var(--clado-agent-pill-shadow);
936
- }
937
- .clado-peer-pill.is-focused::after {
938
- padding: 1.25px;
939
- }
940
-
941
- .clado-peer-pill.called-flash {
942
- --ring-half: 64deg;
943
- --ring-feather: 14deg;
944
- --ring-color: var(--caller-color);
945
- box-shadow: 0 5px 14px -2px var(--caller-glow), var(--clado-agent-pill-shadow);
946
- }
947
- .clado-peer-pill.called-flash::after {
948
- padding: 1.1px;
949
- }
950
-
951
- .clado-peer-pill .p-name {
952
- position: relative;
953
- z-index: 1;
954
- font-weight: 600;
955
- font-size: 12px;
956
- pointer-events: none;
957
- }
958
- .clado-peer-pill .p-live {
959
- position: relative;
960
- z-index: 1;
961
- font-size: 11px;
962
- color: var(--clado-ui-muted);
963
- max-width: 96px;
964
- margin-left: 5px;
965
- opacity: 1;
966
61
  overflow: hidden;
967
62
  text-overflow: ellipsis;
968
- pointer-events: none;
969
- transition: max-width 340ms var(--clado-ease-spring), opacity 240ms ease, margin-left 300ms var(--clado-ease-spring);
970
- }
971
- @media (min-width: 520px) {
972
- .clado-peer-pill .p-live { max-width: 140px; }
973
- }
974
- .clado-peer-pill.is-dormant .p-live {
975
- max-width: 0;
976
- opacity: 0;
977
- margin-left: 0;
978
- }
979
- @media (hover: hover) {
980
- .clado-peer-pill.is-dormant:hover .p-live {
981
- max-width: 120px;
982
- opacity: 1;
983
- margin-left: 5px;
984
- }
985
- }
986
-
987
- /* ============ 底部打字框与下方窄幅清淡滚动流光条 ============ */
988
- .clado-agent-shell {
989
- position: relative;
990
- border-radius: 18px;
991
- padding: 6px 8px;
992
- display: flex;
993
- align-items: center;
994
- gap: 6px;
995
- width: 100%;
996
- min-width: 0;
997
- }
998
- .clado-agent-min-btn {
999
- appearance: none;
1000
- width: 29px;
1001
- height: 29px;
1002
- border-radius: 9px;
1003
- border: 1px solid var(--clado-agent-well-border);
1004
- background: var(--clado-agent-well);
1005
- color: var(--clado-ui-brand);
1006
- font-size: 13px;
1007
- line-height: 1;
1008
- cursor: pointer;
1009
- flex: none;
1010
- display: inline-flex;
1011
- align-items: center;
1012
- justify-content: center;
1013
- transition: background-color 150ms ease, transform 120ms ease;
1014
- }
1015
- .clado-agent-min-btn:hover { background: var(--clado-agent-active); }
1016
- .clado-agent-min-btn:active { transform: scale(0.95); }
1017
-
1018
- .clado-agent-input {
1019
- flex: 1;
1020
- min-width: 0;
1021
- border: 0;
1022
- background: transparent;
1023
- color: var(--clado-ui-text);
1024
- font: inherit;
1025
- font-size: 13.5px;
1026
- outline: none;
1027
- padding: 4px 2px;
1028
- user-select: text;
1029
- -webkit-user-select: text;
1030
- }
1031
- .clado-agent-input::placeholder {
1032
- color: var(--clado-ui-subtle);
1033
- }
1034
-
1035
- .clado-agent-stop-btn {
1036
- appearance: none;
1037
- height: 29px;
1038
- padding: 0 9px;
1039
- border-radius: 9px;
1040
- border: 0;
1041
- background: rgba(244, 63, 94, 0.12);
1042
- color: var(--clado-agent-danger);
1043
- font: inherit;
1044
- font-size: 11.5px;
1045
- font-weight: 600;
1046
- cursor: pointer;
1047
- flex: none;
1048
- white-space: nowrap;
1049
- }
1050
- .clado-agent-stop-btn[hidden] { display: none !important; }
1051
-
1052
- .clado-agent-send-btn {
1053
- appearance: none;
1054
- height: 29px;
1055
- padding: 0 13px;
1056
- border-radius: 9px;
1057
- border: 0;
1058
- background: var(--clado-agent-send-bg);
1059
- color: var(--clado-agent-send-fg);
1060
- font: inherit;
1061
- font-size: 12px;
1062
- font-weight: 600;
1063
- cursor: pointer;
1064
- flex: none;
1065
- white-space: nowrap;
1066
- transition: opacity 150ms ease, transform 120ms ease;
1067
- }
1068
- .clado-agent-send-btn:disabled {
1069
- opacity: 0.42;
1070
- cursor: default;
1071
- }
1072
- .clado-agent-send-btn:not(:disabled):active { transform: scale(0.96); }
1073
-
1074
- /* 打字框底部 70% 宽、1px 极细柔和滚动流光条 */
1075
- .clado-edge-aura {
1076
- position: absolute;
1077
- left: 50%;
1078
- top: calc(100% - 0.5px);
1079
- width: 70%;
1080
- height: 16px;
1081
- transform: translateX(-50%);
1082
- pointer-events: none;
1083
- opacity: 0;
1084
- z-index: 4;
1085
- transition: opacity 280ms ease;
1086
- }
1087
- .clado-agent-shell.working > .clado-edge-aura {
1088
- opacity: 1;
1089
- }
1090
- .clado-edge-aura-line {
1091
- position: absolute;
1092
- left: 0;
1093
- right: 0;
1094
- top: 0;
1095
- height: 1px;
1096
- border-radius: 999px;
1097
- overflow: hidden;
1098
- -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
1099
- mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
1100
- }
1101
- .clado-edge-aura-runner {
1102
- width: 200%;
1103
- height: 100%;
1104
- background: linear-gradient(
1105
- 90deg,
1106
- rgba(98, 217, 255, 0.65) 0%,
1107
- rgba(181, 154, 255, 0.68) 25%,
1108
- rgba(255, 144, 203, 0.58) 50%,
1109
- rgba(98, 217, 255, 0.65) 75%,
1110
- rgba(181, 154, 255, 0.68) 100%
1111
- );
1112
- animation: cladoEdgeFlow 2.6s linear infinite;
1113
63
  }
1114
- .clado-edge-aura-bloom {
1115
- position: absolute;
1116
- left: 10%;
1117
- right: 10%;
1118
- top: 1px;
1119
- height: 14px;
1120
- background: radial-gradient(ellipse 52% 85% at 50% 0%, rgba(125, 180, 255, 0.22), transparent 76%);
1121
- filter: blur(5px);
1122
- }
1123
- @keyframes cladoEdgeFlow {
1124
- 0% { transform: translate3d(0, 0, 0); }
1125
- 100% { transform: translate3d(-50%, 0, 0); }
1126
- }
1127
-
1128
- /* ============ 会话长按 / 右键上下文浮层 ============ */
1129
- .clado-agent-ctx-menu {
1130
- position: fixed;
1131
- z-index: 92;
64
+ .clado-dock-actions {
1132
65
  display: flex;
1133
- flex-direction: column;
1134
- gap: 3px;
1135
- padding: 6px;
1136
- border-radius: 16px;
1137
- min-width: 188px;
1138
- max-width: calc(100vw - 20px);
1139
- background: var(--clado-agent-popover);
1140
- backdrop-filter: blur(24px) saturate(190%);
1141
- -webkit-backdrop-filter: blur(24px) saturate(190%);
1142
- border: 1px solid var(--clado-agent-outline);
1143
- box-shadow: var(--clado-agent-shadow);
1144
- font: 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
1145
- opacity: 0;
1146
- pointer-events: none;
1147
- transform: scale(0.93) translateY(6px);
1148
- transform-origin: bottom center;
1149
- transition: opacity 180ms var(--clado-ease-spring), transform 200ms var(--clado-ease-spring);
1150
- }
1151
- .clado-agent-ctx-menu.open {
1152
- opacity: 1;
1153
- pointer-events: auto;
1154
- transform: scale(1) translateY(0);
1155
- }
1156
- .clado-ctx-badge {
1157
- padding: 3px 9px 5px;
1158
- font-size: 10.5px;
1159
- font-weight: 600;
1160
- color: var(--clado-ui-subtle);
1161
- display: flex;
1162
- align-items: center;
1163
- justify-content: space-between;
1164
- gap: 8px;
1165
- border-bottom: 1px solid var(--clado-agent-edge);
1166
- margin-bottom: 2px;
66
+ align-items: center;
67
+ gap: 3px;
68
+ flex: none;
1167
69
  }
1168
- .clado-ctx-btn {
70
+ .clado-dock-mini-btn {
1169
71
  appearance: none;
1170
72
  border: 1px solid transparent;
1171
73
  background: transparent;
1172
- color: var(--clado-ui-text);
74
+ color: var(--clado-ui-muted);
75
+ border-radius: 9px;
76
+ padding: 4px 8px;
1173
77
  font: inherit;
1174
- font-size: 12.5px;
1175
- font-weight: 520;
1176
- padding: 7.5px 10px;
1177
- border-radius: 10px;
1178
- text-align: left;
78
+ font-size: 11.5px;
79
+ font-weight: 530;
1179
80
  cursor: pointer;
1180
- display: flex;
81
+ display: inline-flex;
1181
82
  align-items: center;
1182
- justify-content: space-between;
1183
- gap: 10px;
1184
- transition: background-color 140ms ease, border-color 140ms ease;
1185
- }
1186
- .clado-ctx-btn:hover,
1187
- .clado-ctx-btn:active {
1188
- background: var(--clado-agent-active);
1189
- border-color: var(--clado-agent-outline);
83
+ gap: 4px;
84
+ transition: all 140ms ease;
1190
85
  }
1191
- .clado-ctx-btn.danger {
1192
- color: var(--clado-agent-danger);
86
+ .clado-dock-mini-btn:hover {
87
+ background: var(--clado-ui-hover);
88
+ border-color: var(--clado-ui-hover-border);
89
+ color: var(--clado-ui-text);
1193
90
  }
1194
91
 
1195
- /* ============ 极简 Agent 设置与记忆浮层(外层不用 overflow:auto,保住 100% 真毛玻璃) ============ */
1196
- .clado-agent-overlay {
1197
- position: fixed;
1198
- inset: 0;
1199
- z-index: 84;
1200
- padding: calc(max(12px, env(safe-area-inset-top)) + 48px) 10px max(16px, env(safe-area-inset-bottom));
1201
- overflow: visible;
1202
- pointer-events: none;
1203
- visibility: hidden;
1204
- font: 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
1205
- transition: visibility 0s linear 280ms;
1206
- }
1207
- .clado-agent-overlay.show {
1208
- pointer-events: auto;
1209
- visibility: visible;
1210
- transition-delay: 0s;
1211
- }
1212
- .clado-panel-container {
1213
- max-width: 480px;
1214
- max-height: calc(100dvh - 76px);
1215
- overflow-y: auto;
1216
- scrollbar-width: none;
1217
- -webkit-overflow-scrolling: touch;
1218
- touch-action: pan-y;
1219
- margin: 0 auto;
1220
- padding: 14px;
1221
- border-radius: 22px;
92
+ .clado-dock-stream {
93
+ padding: 13px 15px;
1222
94
  display: flex;
1223
95
  flex-direction: column;
1224
- gap: 11px;
1225
- opacity: 0;
1226
- transform: translateY(10px) scale(0.985);
1227
- transition: opacity 250ms var(--clado-ease-spring), transform 280ms var(--clado-ease-spring);
1228
- }
1229
- .clado-panel-container::-webkit-scrollbar { display: none; }
1230
- .clado-agent-overlay.show .clado-panel-container {
1231
- opacity: 1;
1232
- transform: translateY(0) scale(1);
96
+ gap: 10px;
97
+ max-height: 290px;
98
+ min-height: 110px;
99
+ overflow-y: auto;
1233
100
  }
1234
-
1235
- .clado-group-title {
1236
- font-size: 11.5px;
1237
- font-weight: 600;
101
+ .clado-dock-empty {
102
+ padding: 18px 8px;
103
+ text-align: center;
1238
104
  color: var(--clado-ui-muted);
1239
- padding: 0 4px 4px;
1240
- }
1241
- .clado-settings-group {
1242
- background: var(--clado-agent-well);
1243
- border: 1px solid var(--clado-agent-well-border);
1244
- box-shadow: inset 0 1px 0 var(--clado-agent-highlight);
1245
- border-radius: 15px;
1246
- overflow: hidden;
105
+ font-size: 12px;
106
+ line-height: 1.65;
1247
107
  }
1248
- .clado-s-row {
1249
- display: flex;
1250
- align-items: center;
1251
- justify-content: space-between;
1252
- gap: 12px;
1253
- min-height: 44px;
108
+ .clado-msg-user {
109
+ align-self: flex-end;
110
+ background: var(--clado-ui-prism-bg);
111
+ border: 1px solid var(--clado-ui-prism-border);
112
+ color: var(--clado-ui-prism-text);
1254
113
  padding: 8px 13px;
1255
- position: relative;
1256
- transition: background-color 150ms ease;
1257
- }
1258
- .clado-s-row + .clado-s-row {
1259
- border-top: 1px solid var(--clado-agent-edge);
114
+ border-radius: 15px 15px 4px 15px;
115
+ font-size: 12.5px;
116
+ line-height: 1.55;
117
+ max-width: 88%;
118
+ white-space: pre-wrap;
119
+ 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);
1260
121
  }
1261
- .clado-s-row.clickable { cursor: pointer; }
1262
- .clado-s-row.clickable:hover,
1263
- .clado-s-row.clickable:active { background: var(--clado-agent-hover); }
1264
- .clado-s-title {
1265
- font-size: 13px;
1266
- font-weight: 530;
122
+ .clado-msg-assistant {
123
+ align-self: flex-start;
124
+ background: var(--clado-ui-well);
125
+ border: 1px solid var(--clado-ui-well-border);
1267
126
  color: var(--clado-ui-text);
1268
- }
1269
- .clado-s-val {
127
+ padding: 10px 13px;
128
+ border-radius: 4px 15px 15px 15px;
1270
129
  font-size: 12.5px;
130
+ line-height: 1.6;
131
+ max-width: 94%;
132
+ white-space: pre-wrap;
133
+ word-break: break-word;
134
+ box-shadow: inset 0 1px 0 var(--clado-ui-highlight);
135
+ }
136
+ .clado-tool-chip {
137
+ border-radius: 11px;
138
+ padding: 7px 11px;
139
+ background: var(--clado-ui-well);
140
+ border: 1px solid var(--clado-ui-well-border);
141
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
142
+ font-size: 11px;
1271
143
  color: var(--clado-ui-muted);
1272
- display: inline-flex;
144
+ display: flex;
1273
145
  align-items: center;
1274
- gap: 5px;
1275
- padding: 4px 6px;
1276
- border-radius: 8px;
146
+ gap: 7px;
147
+ word-break: break-all;
1277
148
  }
1278
-
1279
- .clado-cfg-stage { overflow-x: hidden; }
1280
- .clado-cfg-page {
1281
- transition: opacity 240ms var(--clado-ease-spring), transform 280ms var(--clado-ease-spring);
149
+ .clado-decision-card {
150
+ border-radius: 16px;
151
+ padding: 12px 13px;
152
+ background: var(--clado-ui-decision-bg);
153
+ border: 1px solid var(--clado-ui-decision-border);
154
+ box-shadow: var(--clado-ui-decision-shadow);
155
+ display: flex;
156
+ flex-direction: column;
157
+ gap: 9px;
1282
158
  }
1283
- .clado-cfg-page.pushed-out {
1284
- opacity: 0;
1285
- pointer-events: none;
1286
- transform: translateX(-22px);
1287
- position: absolute;
1288
- left: 14px;
1289
- right: 14px;
1290
- top: 14px;
1291
- max-height: 0;
1292
- overflow: hidden;
159
+ .clado-decision-q {
160
+ font-size: 12.5px;
161
+ line-height: 1.58;
162
+ color: var(--clado-ui-text);
1293
163
  }
1294
- .clado-cfg-sub-page {
164
+ .clado-decision-opts {
1295
165
  display: flex;
1296
- flex-direction: column;
1297
- gap: 10px;
1298
- opacity: 0;
1299
- pointer-events: none;
1300
- transform: translateX(24px);
1301
- position: absolute;
1302
- left: 14px;
1303
- right: 14px;
1304
- top: 14px;
1305
- max-height: 0;
1306
- overflow: hidden;
1307
- transition: opacity 240ms var(--clado-ease-spring), transform 280ms var(--clado-ease-spring);
166
+ flex-wrap: wrap;
167
+ gap: 7px;
1308
168
  }
1309
- .clado-cfg-sub-page.active {
1310
- opacity: 1;
1311
- pointer-events: auto;
1312
- transform: translateX(0);
1313
- position: relative;
1314
- left: auto;
1315
- right: auto;
1316
- top: auto;
1317
- max-height: none;
1318
- overflow: visible;
169
+ .clado-dock-handoff {
170
+ padding: 9px 15px;
171
+ border-top: 1px solid var(--clado-ui-edge);
172
+ display: flex;
173
+ align-items: center;
174
+ justify-content: space-between;
175
+ gap: 8px;
176
+ font-size: 11.5px;
1319
177
  }
1320
178
 
1321
- .clado-switch-btn {
179
+ /* Role Strip */
180
+ .clado-role-strip {
181
+ display: flex;
182
+ align-items: center;
183
+ gap: 6px;
184
+ overflow-x: auto;
185
+ scrollbar-width: none;
186
+ padding: 2px 1px;
187
+ }
188
+ .clado-role-strip::-webkit-scrollbar { display: none; }
189
+ .clado-role-pill {
190
+ position: relative;
191
+ overflow: hidden;
192
+ flex: none;
1322
193
  appearance: none;
1323
- width: 40px;
1324
- height: 23px;
1325
194
  border-radius: 999px;
1326
- border: 1px solid var(--clado-agent-well-border);
1327
- padding: 1.5px;
195
+ padding: 6px 12px;
196
+ font: inherit;
197
+ font-size: 12px;
198
+ font-weight: 540;
199
+ color: var(--clado-ui-muted);
200
+ background: var(--clado-ui-surface);
201
+ backdrop-filter: blur(22px) saturate(190%);
202
+ -webkit-backdrop-filter: blur(22px) saturate(190%);
203
+ border: 1px solid var(--clado-ui-glass-outline);
204
+ box-shadow: var(--clado-ui-shadow);
1328
205
  cursor: pointer;
1329
- background: var(--clado-agent-track);
1330
- position: relative;
1331
- transition: background-color 200ms var(--clado-ease-spring);
1332
- flex: none;
1333
- }
1334
- .clado-switch-btn.on {
1335
- background: var(--clado-ui-brand);
1336
- border-color: transparent;
206
+ display: inline-flex;
207
+ align-items: center;
208
+ gap: 6px;
209
+ transition: all 150ms ease;
1337
210
  }
1338
- .clado-switch-btn i {
1339
- display: block;
1340
- width: 18px;
1341
- height: 18px;
1342
- border-radius: 999px;
1343
- background: #fff;
1344
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
1345
- transition: transform 220ms var(--clado-ease-spring);
1346
- pointer-events: none;
211
+ .clado-role-pill::after {
212
+ content: "";
213
+ position: absolute;
214
+ left: 16px;
215
+ right: 16px;
216
+ bottom: 0;
217
+ height: 2px;
218
+ border-radius: 2px;
219
+ opacity: 0.55;
220
+ transition: all 150ms ease;
221
+ }
222
+ .clado-role-pill[data-tone="sky"]::after { background: linear-gradient(90deg, #38bdf8, #818cf8); }
223
+ .clado-role-pill[data-tone="emerald"]::after { background: linear-gradient(90deg, #34d399, #2dd4bf); }
224
+ .clado-role-pill[data-tone="violet"]::after { background: linear-gradient(90deg, #a78bfa, #f472b6); }
225
+ .clado-role-pill[data-tone="amber"]::after { background: linear-gradient(90deg, #fbbf24, #fb923c); }
226
+ .clado-role-pill.active {
227
+ color: var(--clado-ui-text);
228
+ 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);
1347
231
  }
1348
- .clado-switch-btn.on i { transform: translateX(17px); }
232
+ .clado-role-pill.active::after { left: 10px; right: 10px; opacity: 1; }
1349
233
 
1350
- .clado-clean-textarea {
1351
- width: 100%;
1352
- border-radius: 12px;
1353
- padding: 10px 12px;
1354
- font-size: 12px;
1355
- line-height: 1.55;
1356
- border: 1px solid var(--clado-agent-well-border);
1357
- background: var(--clado-agent-well);
1358
- color: var(--clado-ui-text);
1359
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1360
- outline: none;
1361
- resize: vertical;
1362
- user-select: text;
1363
- -webkit-user-select: text;
234
+ .clado-role-add {
235
+ width: 30px;
236
+ height: 30px;
237
+ padding: 0;
238
+ justify-content: center;
1364
239
  }
240
+ .clado-role-add::after { display: none; }
1365
241
 
1366
- /* 轻提示气泡 */
1367
- .clado-agent-toast {
1368
- position: fixed;
1369
- top: calc(max(10px, env(safe-area-inset-top)) + 52px);
1370
- left: 12px;
1371
- right: 12px;
1372
- width: fit-content;
1373
- max-width: calc(100vw - 24px);
1374
- margin: 0 auto;
1375
- transform: translateY(-8px) scale(0.95);
1376
- z-index: 98;
1377
- padding: 7px 14px;
242
+ /* Composer */
243
+ .clado-composer {
244
+ position: relative;
1378
245
  border-radius: 999px;
1379
- font: 550 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
1380
- color: var(--clado-ui-text);
1381
- background: var(--clado-agent-popover);
246
+ padding: 5px 6px 5px 10px;
247
+ display: flex;
248
+ align-items: center;
249
+ gap: 6px;
250
+ background: var(--clado-ui-surface);
1382
251
  backdrop-filter: blur(22px) saturate(190%);
1383
252
  -webkit-backdrop-filter: blur(22px) saturate(190%);
1384
- border: 1px solid var(--clado-agent-outline);
1385
- box-shadow: var(--clado-agent-pill-shadow);
1386
- opacity: 0;
1387
- pointer-events: none;
1388
- transition: opacity 200ms var(--clado-ease-spring), transform 240ms var(--clado-ease-spring);
1389
- overflow: hidden;
1390
- text-overflow: ellipsis;
1391
- white-space: nowrap;
1392
- }
1393
- .clado-agent-toast.show {
1394
- opacity: 1;
1395
- transform: translateY(0) scale(1);
253
+ border: 1px solid var(--clado-ui-glass-outline);
254
+ box-shadow: var(--clado-ui-shadow);
1396
255
  }
1397
-
1398
- @media (max-width: 760px) {
1399
- .clado-agent-dock {
1400
- width: 100%;
1401
- max-width: calc(100vw - 20px);
1402
- }
1403
- .clado-single-panel {
1404
- border-radius: 26px;
1405
- }
1406
- .clado-agent-input {
1407
- font-size: 16px;
1408
- }
1409
- .clado-agent-question-custom input {
1410
- font-size: 16px;
1411
- }
256
+ .clado-composer-input {
257
+ flex: 1;
258
+ min-width: 0;
259
+ border: 0;
260
+ outline: 0;
261
+ background: transparent;
262
+ color: var(--clado-ui-text);
263
+ font: inherit;
264
+ font-size: 12.5px;
1412
265
  }
1413
-
1414
- /* 输入栏模型快切胶囊与弹窗 + 会话条尾端新建按钮 */
266
+ .clado-composer-input::placeholder { color: var(--clado-ui-subtle); }
1415
267
  .clado-model-chip {
1416
268
  appearance: none;
1417
- flex: 0 0 auto;
1418
- height: 28px;
1419
- max-width: 126px;
1420
- padding: 0 9px;
269
+ border: 1px solid var(--clado-ui-well-border);
270
+ background: var(--clado-ui-well);
271
+ color: var(--clado-ui-text-soft);
1421
272
  border-radius: 999px;
1422
- border: 1px solid var(--clado-agent-well-border);
1423
- background: var(--clado-agent-well);
1424
- color: var(--clado-ui-text);
1425
- font: inherit;
1426
- font-size: 11.5px;
1427
- font-weight: 580;
1428
- cursor: pointer;
1429
- display: inline-flex;
1430
- align-items: center;
1431
- gap: 4px;
1432
- white-space: nowrap;
1433
- transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
1434
- }
1435
- .clado-model-chip:hover {
1436
- background: var(--clado-agent-hover);
1437
- border-color: var(--clado-agent-outline);
1438
- }
1439
- .clado-model-chip:active { transform: scale(0.97); }
1440
- .clado-model-chip.unconfigured {
1441
- background: rgba(37, 99, 235, 0.12);
1442
- border-color: rgba(37, 99, 235, 0.34);
1443
- color: var(--clado-ui-brand);
1444
- font-weight: 640;
1445
- }
1446
- .clado-model-chip-label {
273
+ padding: 4px 9px;
274
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
275
+ font-size: 11px;
276
+ max-width: 118px;
1447
277
  overflow: hidden;
1448
278
  text-overflow: ellipsis;
1449
279
  white-space: nowrap;
280
+ cursor: pointer;
1450
281
  }
1451
- .clado-model-chip-caret {
1452
- font-size: 10px;
1453
- opacity: 0.65;
1454
- flex: none;
282
+ .clado-model-chip:hover {
283
+ background: var(--clado-ui-hover);
284
+ border-color: var(--clado-ui-hover-border);
1455
285
  }
1456
286
 
1457
- .clado-model-menu {
1458
- position: fixed;
1459
- z-index: 95;
1460
- min-width: 210px;
1461
- max-width: min(290px, calc(100vw - 20px));
1462
- max-height: 320px;
1463
- overflow-y: auto;
1464
- padding: 6px;
1465
- border-radius: 16px;
287
+ /* Slash command & Model popovers */
288
+ .clado-dock-popover {
289
+ position: absolute;
290
+ left: 0;
291
+ right: 0;
292
+ bottom: calc(100% + 8px);
293
+ border-radius: 18px;
294
+ padding: 8px;
295
+ background: var(--clado-ui-popover);
296
+ backdrop-filter: blur(26px) saturate(195%);
297
+ -webkit-backdrop-filter: blur(26px) saturate(195%);
298
+ border: 1px solid var(--clado-ui-glass-outline);
299
+ box-shadow: var(--clado-ui-glass-shadow);
1466
300
  display: flex;
1467
301
  flex-direction: column;
1468
- gap: 2px;
1469
- background: var(--clado-agent-popover);
1470
- backdrop-filter: blur(24px) saturate(190%);
1471
- -webkit-backdrop-filter: blur(24px) saturate(190%);
1472
- border: 1px solid var(--clado-agent-outline);
1473
- box-shadow: var(--clado-agent-shadow);
1474
- font: 12.5px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
1475
- color: var(--clado-ui-text);
1476
- opacity: 0;
1477
- pointer-events: none;
1478
- transform: translateY(6px) scale(0.95);
1479
- transform-origin: bottom left;
1480
- transition: opacity 160ms var(--clado-ease-spring), transform 180ms var(--clado-ease-spring);
1481
- }
1482
- .clado-model-menu.open {
1483
- opacity: 1;
1484
- pointer-events: auto;
1485
- transform: translateY(0) scale(1);
302
+ gap: 3px;
303
+ max-height: 220px;
304
+ overflow-y: auto;
305
+ z-index: 45;
1486
306
  }
1487
-
1488
- .clado-peer-add-btn {
307
+ .clado-dock-popover[hidden] { display: none; }
308
+ .clado-pop-item {
1489
309
  appearance: none;
1490
- flex: 0 0 auto;
1491
- width: 29px;
1492
- height: 29px;
1493
- border-radius: 999px;
1494
- border: 1px solid var(--clado-agent-outline);
1495
- background: var(--clado-agent-surface);
1496
- backdrop-filter: var(--clado-agent-filter);
1497
- -webkit-backdrop-filter: var(--clado-agent-filter);
1498
- box-shadow: var(--clado-agent-pill-shadow);
1499
- color: var(--clado-ui-muted);
310
+ border: 1px solid transparent;
311
+ background: transparent;
312
+ color: var(--clado-ui-text-soft);
313
+ border-radius: 11px;
314
+ padding: 7px 10px;
1500
315
  font: inherit;
1501
- font-size: 14px;
1502
- font-weight: 600;
316
+ font-size: 12px;
317
+ text-align: left;
1503
318
  cursor: pointer;
1504
- display: inline-flex;
319
+ display: flex;
1505
320
  align-items: center;
1506
- justify-content: center;
1507
- padding: 0;
1508
- line-height: 1;
321
+ justify-content: space-between;
322
+ gap: 8px;
1509
323
  }
1510
- .clado-peer-add-btn:hover {
324
+ .clado-pop-item:hover {
325
+ background: var(--clado-ui-hover);
326
+ border-color: var(--clado-ui-hover-border);
1511
327
  color: var(--clado-ui-text);
1512
- background: var(--clado-agent-hover);
1513
328
  }
1514
- .clado-peer-add-btn:active { transform: scale(0.93); }
1515
329
 
1516
- .clado-clean-input {
1517
- width: 100%;
1518
- height: 35px;
1519
- padding: 0 11px;
1520
- border-radius: 10px;
1521
- border: 1px solid var(--clado-agent-well-border);
1522
- background: var(--clado-agent-well);
1523
- color: var(--clado-ui-text);
1524
- font: inherit;
1525
- font-size: 12.5px;
1526
- outline: none;
1527
- }
1528
- .clado-clean-input:focus {
1529
- border-color: var(--clado-ui-brand);
330
+ /* ================= Unified 5-Tab Settings Center & Handoff Modal ================= */
331
+ .clado-vnext-mask {
332
+ position: absolute;
333
+ inset: 0;
334
+ z-index: 80;
335
+ background: rgba(15, 23, 42, 0.14);
336
+ backdrop-filter: blur(8px);
337
+ -webkit-backdrop-filter: blur(8px);
338
+ display: flex;
339
+ align-items: center;
340
+ justify-content: center;
341
+ padding: 24px;
1530
342
  }
343
+ .clado-vnext-mask[hidden] { display: none; }
1531
344
 
1532
- /* `/` 斜杠命令自动补全浮层 + MCP/Skills/Commands 生态卡片 */
1533
- .clado-slash-menu {
1534
- position: fixed;
1535
- z-index: 96;
1536
- min-width: 240px;
1537
- max-width: min(360px, calc(100vw - 20px));
1538
- max-height: 260px;
1539
- overflow-y: auto;
1540
- padding: 6px;
1541
- border-radius: 16px;
345
+ .clado-settings-shell {
346
+ width: min(920px, calc(100% - 32px));
347
+ height: min(630px, calc(100% - 32px));
348
+ border-radius: 26px;
349
+ background: var(--clado-ui-popover);
350
+ backdrop-filter: blur(28px) saturate(200%);
351
+ -webkit-backdrop-filter: blur(28px) saturate(200%);
352
+ border: 1px solid var(--clado-ui-glass-outline);
353
+ box-shadow: var(--clado-ui-glass-shadow);
1542
354
  display: flex;
1543
- flex-direction: column;
1544
- gap: 2px;
1545
- background: var(--clado-agent-popover);
1546
- backdrop-filter: blur(24px) saturate(190%);
1547
- -webkit-backdrop-filter: blur(24px) saturate(190%);
1548
- border: 1px solid var(--clado-agent-outline);
1549
- box-shadow: var(--clado-agent-shadow);
1550
- font: 12.5px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
355
+ overflow: hidden;
1551
356
  color: var(--clado-ui-text);
1552
- opacity: 0;
1553
- pointer-events: none;
1554
- transform: translateY(6px) scale(0.96);
1555
- transform-origin: bottom left;
1556
- transition: opacity 150ms var(--clado-ease-spring), transform 170ms var(--clado-ease-spring);
1557
357
  }
1558
- .clado-slash-menu.open {
1559
- opacity: 1;
1560
- pointer-events: auto;
1561
- transform: translateY(0) scale(1);
358
+ .clado-settings-nav {
359
+ width: 224px;
360
+ flex: none;
361
+ padding: 20px 14px;
362
+ border-right: 1px solid var(--clado-ui-edge);
363
+ display: flex;
364
+ flex-direction: column;
365
+ justify-content: space-between;
366
+ background: rgba(255, 255, 255, 0.14);
1562
367
  }
1563
- .clado-slash-item {
368
+ :root[data-theme="dark"] .clado-settings-nav { background: rgba(255, 255, 255, 0.02); }
369
+ .clado-snav-list { display: flex; flex-direction: column; gap: 4px; }
370
+ .clado-snav-btn {
371
+ width: 100%;
1564
372
  appearance: none;
1565
373
  border: 1px solid transparent;
1566
374
  background: transparent;
1567
- color: var(--clado-ui-text);
375
+ color: var(--clado-ui-muted);
376
+ padding: 9px 12px;
377
+ border-radius: 13px;
1568
378
  font: inherit;
1569
- padding: 7px 9px;
1570
- border-radius: 10px;
1571
- text-align: left;
379
+ font-size: 12.5px;
380
+ font-weight: 540;
1572
381
  cursor: pointer;
1573
382
  display: flex;
383
+ align-items: center;
384
+ gap: 9px;
385
+ text-align: left;
386
+ transition: all 140ms ease;
387
+ }
388
+ .clado-snav-btn:hover { background: var(--clado-ui-well); color: var(--clado-ui-text); }
389
+ .clado-snav-btn.active {
390
+ background: var(--clado-ui-prism-bg);
391
+ border-color: var(--clado-ui-prism-border);
392
+ 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);
394
+ }
395
+ .clado-settings-body {
396
+ flex: 1;
397
+ padding: 24px 28px;
398
+ overflow-y: auto;
399
+ display: flex;
1574
400
  flex-direction: column;
1575
- gap: 2px;
401
+ gap: 14px;
1576
402
  }
1577
- .clado-slash-item:hover,
1578
- .clado-slash-item.active {
1579
- background: var(--clado-agent-active);
1580
- border-color: var(--clado-agent-outline);
403
+ .clado-well-box {
404
+ background: var(--clado-ui-well);
405
+ border: 1px solid var(--clado-ui-well-border);
406
+ box-shadow: inset 0 1px 0 var(--clado-ui-highlight);
407
+ border-radius: 16px;
408
+ padding: 13px 16px;
1581
409
  }
1582
- .clado-slash-item-head {
410
+ .clado-setting-row {
1583
411
  display: flex;
1584
412
  align-items: center;
1585
413
  justify-content: space-between;
1586
- gap: 8px;
414
+ gap: 14px;
1587
415
  }
1588
- .clado-slash-item-name {
1589
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1590
- font-weight: 650;
1591
- color: var(--clado-ui-brand);
1592
- }
1593
- .clado-slash-item-scope {
1594
- font-size: 10.5px;
1595
- color: var(--clado-ui-subtle);
416
+ .clado-field {
417
+ width: 100%;
418
+ border-radius: 11px;
419
+ padding: 8px 11px;
420
+ border: 1px solid var(--clado-ui-well-border);
421
+ background: var(--clado-ui-well);
422
+ color: var(--clado-ui-text);
423
+ font: inherit;
424
+ font-size: 12.5px;
425
+ outline: none;
1596
426
  }
1597
- .clado-slash-item-desc {
1598
- font-size: 11.5px;
1599
- color: var(--clado-ui-muted);
1600
- overflow: hidden;
1601
- text-overflow: ellipsis;
1602
- white-space: nowrap;
427
+ .clado-field:focus {
428
+ border-color: var(--clado-ui-prism-border);
429
+ background: var(--clado-ui-well-focus);
1603
430
  }
1604
431
 
1605
- .clado-eco-card {
1606
- padding: 10px 11px;
1607
- border-radius: 13px;
1608
- border: 1px solid var(--clado-agent-well-border);
1609
- background: var(--clado-agent-well);
1610
- display: flex;
1611
- flex-direction: column;
1612
- gap: 6px;
432
+ /* Glass Switch */
433
+ .clado-switch {
434
+ width: 36px;
435
+ height: 20px;
436
+ border-radius: 999px;
437
+ background: var(--clado-ui-well);
438
+ border: 1px solid var(--clado-ui-well-border);
439
+ position: relative;
440
+ cursor: pointer;
441
+ flex: none;
442
+ transition: all 160ms ease;
1613
443
  }
1614
- .clado-eco-row {
1615
- display: flex;
1616
- align-items: center;
1617
- justify-content: space-between;
1618
- gap: 8px;
444
+ .clado-switch::after {
445
+ content: "";
446
+ position: absolute;
447
+ top: 2px;
448
+ left: 2px;
449
+ width: 14px;
450
+ height: 14px;
451
+ border-radius: 50%;
452
+ background: #ffffff;
453
+ box-shadow: 0 1px 4px rgba(15, 23, 42, 0.22);
454
+ transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
1619
455
  }
1620
- .clado-eco-badge {
456
+ .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);
460
+ }
461
+ .clado-switch.on::after { transform: translateX(16px); }
462
+
463
+ /* Semantic Pastel Glass Chips */
464
+ .clado-chip {
1621
465
  display: inline-flex;
1622
466
  align-items: center;
1623
- padding: 1px 7px;
467
+ gap: 5px;
468
+ padding: 2px 8px;
1624
469
  border-radius: 999px;
1625
- font-size: 10.5px;
1626
- font-weight: 600;
1627
- background: rgba(37, 99, 235, 0.1);
1628
- color: var(--clado-ui-brand);
470
+ font-size: 11px;
471
+ font-weight: 560;
472
+ border: 1px solid transparent;
473
+ white-space: nowrap;
1629
474
  }
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; }
479
+ .clado-chip-neutral { background: var(--clado-ui-well); border-color: var(--clado-ui-well-border); color: var(--clado-ui-muted); }
480
+
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; }
1630
485
 
486
+ .clado-dot-ok {
487
+ width: 6.5px;
488
+ height: 6.5px;
489
+ border-radius: 50%;
490
+ background: #34d399;
491
+ box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
492
+ display: inline-block;
493
+ flex: none;
494
+ }
495
+ .clado-dot-sky {
496
+ width: 6.5px;
497
+ height: 6.5px;
498
+ border-radius: 50%;
499
+ background: #38bdf8;
500
+ box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
501
+ display: inline-block;
502
+ flex: none;
503
+ }
1631
504
 
505
+ .clado-handoff-card {
506
+ width: min(468px, calc(100% - 32px));
507
+ border-radius: 24px;
508
+ padding: 24px;
509
+ background: var(--clado-ui-popover);
510
+ backdrop-filter: blur(28px) saturate(200%);
511
+ -webkit-backdrop-filter: blur(28px) saturate(200%);
512
+ border: 1px solid var(--clado-ui-glass-outline);
513
+ box-shadow: var(--clado-ui-glass-shadow);
514
+ position: relative;
515
+ color: var(--clado-ui-text);
516
+ }
517
+ .clado-handoff-opt {
518
+ cursor: pointer;
519
+ transition: all 150ms ease;
520
+ }
521
+ .clado-handoff-opt:hover {
522
+ background: var(--clado-ui-hover);
523
+ border-color: var(--clado-ui-hover-border);
524
+ }