cladogram 0.5.5-beta.4 → 0.5.5-beta.6

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.
@@ -3,39 +3,93 @@
3
3
  align-self: end;
4
4
  }
5
5
  .clado-agent-launch {
6
- min-height: 34px;
6
+ height: 42px;
7
7
  display: inline-flex;
8
8
  align-items: center;
9
- gap: 6px;
10
- padding-inline: 10px;
9
+ gap: 7px;
10
+ padding-inline: 14px;
11
+ border-radius: 15px;
11
12
  color: var(--clado-ui-text);
13
+ font-weight: 560;
12
14
  }
13
15
  .clado-agent-launch svg {
14
16
  width: 15px;
15
17
  height: 15px;
16
18
  fill: none;
17
19
  stroke: currentColor;
18
- stroke-width: 1.5;
20
+ stroke-width: 1.65;
19
21
  stroke-linejoin: round;
20
22
  }
21
23
  .clado-agent-panel {
22
24
  position: absolute;
23
25
  right: 0;
24
- bottom: calc(100% + 8px);
25
- width: min(410px, calc(100vw - 32px));
26
- height: min(580px, calc(100dvh - 168px));
27
- min-height: 240px;
26
+ bottom: calc(100% + 10px);
27
+ width: min(416px, calc(100vw - 32px));
28
+ height: min(600px, calc(100dvh - 156px));
29
+ min-height: 260px;
30
+ border-radius: 22px;
31
+ display: flex;
32
+ flex-direction: column;
33
+ overflow: visible;
34
+ }
35
+ .clado-agent-panel-body {
28
36
  display: flex;
29
37
  flex-direction: column;
38
+ flex: 1;
39
+ min-height: 0;
30
40
  overflow: hidden;
41
+ border-radius: inherit;
42
+ }
43
+ @keyframes clado-agent-aura-breathe {
44
+ 0%, 100% { opacity: .68; transform: translateX(-50%) scaleX(.96) scaleY(.88); }
45
+ 50% { opacity: 1; transform: translateX(-50%) scaleX(1.03) scaleY(1.16); }
46
+ }
47
+ @keyframes clado-agent-aura-drift {
48
+ 0%, 100% { filter: blur(11px) hue-rotate(-8deg); }
49
+ 50% { filter: blur(13px) hue-rotate(12deg); }
50
+ }
51
+ .clado-ai-aura {
52
+ display: none;
53
+ position: absolute;
54
+ inset: 0;
55
+ pointer-events: none;
56
+ z-index: -1;
57
+ }
58
+ .clado-agent-panel.clado-ai-working > .clado-ai-aura { display: block; }
59
+ .clado-agent-panel.clado-ai-working > .clado-ai-aura::before {
60
+ content: "";
61
+ position: absolute;
62
+ left: 50%;
63
+ bottom: -.5px;
64
+ width: 86%;
65
+ height: 2px;
66
+ border-radius: 99px;
67
+ transform: translateX(-50%);
68
+ background: linear-gradient(90deg, transparent 0%, rgba(56,189,248,.28) 12%, rgba(56,189,248,.68) 28%, rgba(129,140,248,.92) 50%, rgba(232,121,249,.62) 72%, rgba(244,114,182,.24) 88%, transparent 100%);
69
+ }
70
+ .clado-agent-panel.clado-ai-working > .clado-ai-aura::after {
71
+ content: "";
72
+ position: absolute;
73
+ left: 50%;
74
+ top: calc(100% - 3px);
75
+ width: 94%;
76
+ height: 36px;
77
+ transform-origin: 50% 0%;
78
+ transform: translateX(-50%);
79
+ background:
80
+ radial-gradient(ellipse 36% 48% at 30% 10%, rgba(56,189,248,.34) 0%, rgba(56,189,248,.10) 48%, transparent 76%),
81
+ radial-gradient(ellipse 34% 56% at 50% 8%, rgba(139,92,246,.36) 0%, rgba(139,92,246,.10) 46%, transparent 74%),
82
+ radial-gradient(ellipse 34% 46% at 70% 10%, rgba(244,114,182,.26) 0%, rgba(244,114,182,.08) 44%, transparent 72%);
83
+ mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.44) 12%, #000 32%, #000 68%, rgba(0,0,0,.44) 88%, transparent 100%);
84
+ -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.44) 12%, #000 32%, #000 68%, rgba(0,0,0,.44) 88%, transparent 100%);
85
+ animation: clado-agent-aura-breathe 2.9s ease-in-out infinite, clado-agent-aura-drift 5.5s ease-in-out infinite;
31
86
  }
32
87
  .clado-agent-panel header {
33
88
  display: flex;
34
89
  align-items: center;
35
90
  justify-content: space-between;
36
91
  gap: 8px;
37
- border-bottom: 1px solid var(--clado-ui-edge);
38
- padding: 9px 10px 9px 14px;
92
+ padding: 12px 12px 9px 15px;
39
93
  }
40
94
  .clado-agent-heading {
41
95
  min-width: 0;
@@ -49,32 +103,49 @@
49
103
  flex: none;
50
104
  }
51
105
  .clado-agent-header-actions .clado-ui-button {
52
- min-height: 26px;
53
- padding: 2px 7px;
54
- font-size: 11.5px;
106
+ min-height: 28px;
107
+ padding: 2px 9px;
108
+ font-size: 12px;
109
+ border-radius: 9px;
110
+ }
111
+ .clado-agent-follow {
112
+ display: inline-flex;
113
+ align-items: center;
114
+ gap: 5px;
115
+ }
116
+ .clado-agent-follow[aria-pressed="true"]::before {
117
+ content: "";
118
+ width: 6px;
119
+ height: 6px;
120
+ border-radius: 50%;
121
+ background: var(--clado-ui-brand);
122
+ flex: none;
55
123
  }
56
124
  .clado-agent-follow[aria-pressed="true"] {
57
- color: var(--clado-ui-accent);
58
- background: var(--clado-ui-active);
125
+ color: var(--clado-ui-text);
126
+ font-weight: 600;
59
127
  }
60
128
  .clado-agent-panel h2 { margin: 0; font-size: 14px; font-weight: 650; }
61
129
  .clado-agent-provider {
62
- color: var(--clado-ui-muted);
130
+ color: var(--clado-ui-subtle);
63
131
  font-size: 11px;
132
+ margin-top: 1px;
64
133
  white-space: nowrap;
65
134
  overflow: hidden;
66
135
  text-overflow: ellipsis;
67
136
  }
68
- .clado-agent-close { font-size: 18px !important; padding-inline: 6px !important; }
137
+ .clado-agent-close { font-size: 17px !important; width: 28px; padding-inline: 0 !important; }
69
138
  .clado-agent-sessions {
70
139
  max-height: 170px;
71
140
  overflow: auto;
72
- padding: 6px 10px;
73
- border-bottom: 1px solid var(--clado-ui-edge);
74
- background: color-mix(in srgb, var(--clado-ui-well) 70%, transparent);
141
+ margin: 0 12px 6px;
142
+ padding: 6px;
143
+ border: 1px solid var(--clado-ui-well-border);
144
+ border-radius: 13px;
145
+ background: var(--clado-ui-well);
75
146
  display: flex;
76
147
  flex-direction: column;
77
- gap: 4px;
148
+ gap: 3px;
78
149
  }
79
150
  .clado-agent-sessions[hidden] { display: none; }
80
151
  .clado-agent-sessions-empty {
@@ -87,11 +158,15 @@
87
158
  display: flex;
88
159
  align-items: center;
89
160
  gap: 4px;
90
- border-radius: 8px;
161
+ border-radius: 9px;
91
162
  transition: background 140ms ease;
92
163
  }
93
- .clado-agent-session-row:hover, .clado-agent-session-row.active {
164
+ .clado-agent-session-row:hover {
165
+ background: var(--clado-ui-hover);
166
+ }
167
+ .clado-agent-session-row.active {
94
168
  background: var(--clado-ui-active);
169
+ box-shadow: var(--clado-ui-active-shadow);
95
170
  }
96
171
  .clado-agent-session-open {
97
172
  flex: 1;
@@ -100,7 +175,7 @@
100
175
  background: transparent;
101
176
  color: var(--clado-ui-text);
102
177
  text-align: left;
103
- padding: 5px 7px;
178
+ padding: 6px 8px;
104
179
  cursor: pointer;
105
180
  display: flex;
106
181
  flex-direction: column;
@@ -109,69 +184,214 @@
109
184
  }
110
185
  .clado-agent-session-title {
111
186
  font-size: 12px;
112
- font-weight: 550;
187
+ font-weight: 560;
113
188
  white-space: nowrap;
114
189
  overflow: hidden;
115
190
  text-overflow: ellipsis;
116
191
  }
117
192
  .clado-agent-session-open small {
118
193
  font-size: 10.5px;
119
- color: var(--clado-ui-muted);
194
+ color: var(--clado-ui-subtle);
120
195
  }
121
196
  .clado-agent-session-open small.waiting {
122
- color: #d97706;
197
+ color: #b45309;
123
198
  font-weight: 600;
124
199
  }
200
+ [data-theme="dark"] .clado-agent-session-open small.waiting {
201
+ color: #fbbf24;
202
+ }
125
203
  .clado-agent-session-del {
126
204
  border: 0;
127
205
  background: transparent;
128
206
  color: var(--clado-ui-muted);
129
207
  width: 24px;
130
208
  height: 24px;
131
- border-radius: 6px;
209
+ border-radius: 7px;
132
210
  cursor: pointer;
133
211
  font-size: 14px;
134
212
  flex: none;
135
213
  }
136
214
  .clado-agent-session-del:hover {
137
215
  color: var(--clado-ui-text);
138
- background: color-mix(in srgb, var(--clado-ui-edge) 50%, transparent);
216
+ background: var(--clado-ui-hover);
139
217
  }
218
+
219
+ /* 灵动四格分段轨道:只有当前选中项浮起晶透胶囊,未选中彻底去灰块 */
140
220
  .clado-agent-modes {
141
- display: flex;
142
- flex-wrap: wrap;
143
- gap: 5px;
144
- padding: 8px 12px 6px;
145
- border-bottom: 1px solid color-mix(in srgb, var(--clado-ui-edge) 70%, transparent);
221
+ display: grid;
222
+ grid-template-columns: repeat(4, minmax(0, 1fr));
223
+ gap: 3px;
224
+ margin: 0 12px 8px;
225
+ padding: 3px;
226
+ border-radius: 12px;
227
+ background: var(--clado-ui-track);
228
+ border: 1px solid var(--clado-ui-edge);
146
229
  }
147
230
  .clado-agent-chip {
148
- min-height: 26px;
149
- padding: 3px 9px;
150
- font-size: 11.5px;
151
- border-radius: 999px;
231
+ min-height: 29px;
232
+ padding: 2px 6px;
233
+ font-size: 12px;
234
+ font-weight: 500;
235
+ border-radius: 9px;
236
+ text-align: center;
152
237
  }
238
+ .clado-agent-chip[aria-pressed="true"] {
239
+ font-weight: 620;
240
+ }
241
+
242
+ /* 人设 / 执行器 自研毛玻璃选择器(彻底取代原生系统 select 弹窗) */
153
243
  .clado-agent-persona-bar,
154
244
  .clado-agent-executor-bar {
245
+ position: relative;
246
+ z-index: 20;
155
247
  display: flex;
156
248
  align-items: center;
157
249
  gap: 8px;
158
- padding: 6px 12px;
159
- border-bottom: 1px solid color-mix(in srgb, var(--clado-ui-edge) 70%, transparent);
250
+ padding: 0 12px 10px;
251
+ border-bottom: 1px solid var(--clado-ui-edge);
160
252
  font-size: 11.5px;
161
- color: var(--clado-ui-muted);
253
+ color: var(--clado-ui-subtle);
162
254
  }
163
255
  .clado-agent-persona-bar[hidden],
164
256
  .clado-agent-executor-bar[hidden] { display: none; }
165
- .clado-agent-select {
257
+ .clado-agent-select-native {
258
+ position: absolute !important;
259
+ width: 1px !important;
260
+ height: 1px !important;
261
+ opacity: 0 !important;
262
+ pointer-events: none !important;
263
+ overflow: hidden !important;
264
+ }
265
+ .clado-glass-dropdown {
266
+ position: relative;
166
267
  flex: 1;
167
268
  min-width: 0;
168
- padding: 4px 8px;
169
- border: 1px solid var(--clado-ui-edge);
170
- border-radius: 8px;
269
+ }
270
+ .clado-glass-dropdown-trigger {
271
+ appearance: none;
272
+ width: 100%;
273
+ display: flex;
274
+ align-items: center;
275
+ justify-content: space-between;
276
+ gap: 8px;
277
+ min-height: 33px;
278
+ padding: 6px 10px;
279
+ border-radius: 11px;
280
+ border: 1px solid var(--clado-ui-well-border);
171
281
  background: var(--clado-ui-well);
172
282
  color: var(--clado-ui-text);
173
283
  font: inherit;
284
+ font-size: 12.5px;
285
+ font-weight: 550;
286
+ text-align: left;
287
+ cursor: pointer;
288
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / .42);
289
+ transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
290
+ }
291
+ [data-theme="dark"] .clado-glass-dropdown-trigger {
292
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
293
+ }
294
+ .clado-glass-dropdown-trigger:hover:not(:disabled) {
295
+ background: var(--clado-ui-hover);
296
+ border-color: var(--clado-ui-glass-outline);
297
+ }
298
+ .clado-glass-dropdown-trigger:disabled {
299
+ opacity: .5;
300
+ cursor: default;
301
+ }
302
+ .clado-glass-dropdown-value {
303
+ display: flex;
304
+ align-items: center;
305
+ gap: 7px;
306
+ min-width: 0;
307
+ flex: 1;
308
+ }
309
+ .clado-glass-dropdown-label {
310
+ overflow: hidden;
311
+ text-overflow: ellipsis;
312
+ white-space: nowrap;
174
313
  }
314
+ .clado-glass-dropdown-dot {
315
+ width: 7px;
316
+ height: 7px;
317
+ border-radius: 50%;
318
+ flex: none;
319
+ }
320
+ .clado-glass-dropdown-chevron {
321
+ width: 14px;
322
+ height: 14px;
323
+ fill: none;
324
+ stroke: var(--clado-ui-subtle);
325
+ stroke-width: 2;
326
+ stroke-linecap: round;
327
+ stroke-linejoin: round;
328
+ flex: none;
329
+ transition: transform 180ms ease;
330
+ }
331
+ .clado-glass-dropdown.open .clado-glass-dropdown-chevron {
332
+ transform: rotate(180deg);
333
+ }
334
+ /* 展开浮层使用清晰高可读磨砂底色(84%/88%),绝不与下方对话文字打架 */
335
+ .clado-glass-dropdown-menu {
336
+ position: absolute;
337
+ left: 0;
338
+ right: 0;
339
+ top: calc(100% + 6px);
340
+ padding: 6px;
341
+ border-radius: 16px;
342
+ background: var(--clado-ui-popover);
343
+ backdrop-filter: blur(24px) saturate(185%);
344
+ -webkit-backdrop-filter: blur(24px) saturate(185%);
345
+ border: 1px solid var(--clado-ui-glass-outline);
346
+ box-shadow: 0 16px 40px rgb(15 23 42 / .16), 0 0 0 .5px var(--clado-ui-glass-outer), inset 0 1px 0 var(--clado-ui-highlight);
347
+ display: flex;
348
+ flex-direction: column;
349
+ gap: 3px;
350
+ z-index: 60;
351
+ }
352
+ .clado-glass-dropdown-menu[hidden] { display: none; }
353
+ .clado-glass-dropdown-option {
354
+ width: 100%;
355
+ display: flex;
356
+ align-items: center;
357
+ gap: 9px;
358
+ padding: 8px 10px;
359
+ border-radius: 11px;
360
+ text-align: left;
361
+ white-space: normal;
362
+ color: var(--clado-ui-text);
363
+ }
364
+ .clado-glass-dropdown-copy {
365
+ flex: 1;
366
+ min-width: 0;
367
+ display: flex;
368
+ flex-direction: column;
369
+ gap: 2px;
370
+ }
371
+ .clado-glass-dropdown-copy strong {
372
+ font-size: 12.5px;
373
+ font-weight: 560;
374
+ color: var(--clado-ui-text);
375
+ }
376
+ .clado-glass-dropdown-option[aria-selected="true"] .clado-glass-dropdown-copy strong {
377
+ font-weight: 640;
378
+ }
379
+ .clado-glass-dropdown-copy small {
380
+ font-size: 10.5px;
381
+ color: var(--clado-ui-subtle);
382
+ line-height: 1.35;
383
+ }
384
+ .clado-glass-dropdown-check {
385
+ color: var(--clado-ui-brand);
386
+ font-size: 12px;
387
+ font-weight: 700;
388
+ visibility: hidden;
389
+ flex: none;
390
+ }
391
+ .clado-glass-dropdown-option[aria-selected="true"] .clado-glass-dropdown-check {
392
+ visibility: visible;
393
+ }
394
+
175
395
  .clado-agent-log {
176
396
  flex: 1;
177
397
  min-height: 0;
@@ -180,18 +400,24 @@
180
400
  padding: 13px;
181
401
  display: flex;
182
402
  flex-direction: column;
183
- gap: 12px;
403
+ gap: 11px;
184
404
  }
405
+ .clado-agent-log::-webkit-scrollbar { width: 4px; }
406
+ .clado-agent-log::-webkit-scrollbar-thumb { background: rgb(120 130 150 / .24); border-radius: 99px; }
185
407
  .clado-agent-message {
186
408
  width: fit-content;
187
409
  max-width: 100%;
188
- border-radius: 12px;
189
- padding: 8px 11px;
410
+ border-radius: 15px;
411
+ padding: 8px 12px;
190
412
  overflow-wrap: anywhere;
191
413
  }
192
414
  .clado-agent-message.human {
193
415
  align-self: end;
416
+ max-width: 88%;
417
+ border-radius: 15px 15px 5px 15px;
194
418
  background: var(--clado-ui-active);
419
+ border: 1px solid var(--clado-ui-glass-outline);
420
+ box-shadow: 0 2px 10px rgb(15 23 42 / .05);
195
421
  }
196
422
  .clado-agent-message.assistant {
197
423
  width: 100%;
@@ -204,14 +430,14 @@
204
430
  .clado-agent-message p {
205
431
  margin: 3px 0 0;
206
432
  white-space: pre-wrap;
207
- line-height: 1.55;
433
+ line-height: 1.58;
208
434
  }
209
435
  .clado-agent-thinking {
210
436
  margin: 5px 0 6px;
211
- padding: 5px 9px;
212
- border-radius: 9px;
213
- border: 1px solid color-mix(in srgb, var(--clado-ui-edge) 75%, transparent);
214
- background: color-mix(in srgb, var(--clado-ui-well) 70%, transparent);
437
+ padding: 6px 10px;
438
+ border-radius: 11px;
439
+ border: 1px solid var(--clado-ui-well-border);
440
+ background: var(--clado-ui-well);
215
441
  font-size: 11.5px;
216
442
  }
217
443
  .clado-agent-thinking summary {
@@ -232,14 +458,14 @@
232
458
  .clado-agent-changes {
233
459
  margin-top: 8px;
234
460
  padding: 8px 10px;
235
- border-radius: 10px;
236
- border: 1px solid color-mix(in srgb, var(--clado-ui-accent) 26%, var(--clado-ui-edge));
237
- background: color-mix(in srgb, var(--clado-ui-accent) 6%, var(--clado-ui-well));
461
+ border-radius: 12px;
462
+ border: 1px solid var(--clado-ui-well-border);
463
+ background: var(--clado-ui-well);
238
464
  }
239
465
  .clado-agent-changes-title {
240
466
  font-size: 11px;
241
467
  font-weight: 600;
242
- color: var(--clado-ui-accent);
468
+ color: var(--clado-ui-muted);
243
469
  margin-bottom: 5px;
244
470
  }
245
471
  .clado-agent-changes-list {
@@ -248,55 +474,68 @@
248
474
  gap: 3px;
249
475
  }
250
476
  .clado-agent-change-item {
251
- border: 0;
477
+ border: 1px solid transparent;
252
478
  background: transparent;
253
479
  color: var(--clado-ui-text);
254
480
  font: inherit;
255
481
  font-size: 11.5px;
256
482
  text-align: left;
257
- padding: 4px 6px;
258
- border-radius: 7px;
483
+ padding: 5px 7px;
484
+ border-radius: 8px;
259
485
  cursor: pointer;
260
486
  display: flex;
261
487
  align-items: center;
262
488
  gap: 7px;
263
- transition: background 140ms ease;
489
+ transition: background 140ms ease, border-color 140ms ease;
264
490
  }
265
491
  .clado-agent-change-item:hover {
266
- background: var(--clado-ui-active);
492
+ background: var(--clado-ui-hover);
493
+ border-color: var(--clado-ui-hover-border);
267
494
  }
268
495
  .clado-agent-change-item .dot {
269
496
  width: 6px;
270
497
  height: 6px;
271
498
  border-radius: 50%;
272
- background: var(--clado-ui-accent);
499
+ background: #10b981;
273
500
  flex: none;
274
501
  }
275
502
  .clado-agent-question {
276
503
  margin-top: 8px;
277
504
  padding: 10px 11px;
278
- border-radius: 11px;
279
- border: 1px solid rgb(217 119 6 / .42);
280
- background: rgb(217 119 6 / .06);
505
+ border-radius: 14px;
506
+ border: 1px solid var(--clado-ui-glass-outline);
507
+ background: var(--clado-ui-well);
508
+ box-shadow: inset 0 1px 0 var(--clado-ui-highlight);
281
509
  display: flex;
282
510
  flex-direction: column;
283
511
  gap: 8px;
284
512
  }
285
513
  .clado-agent-question.answered {
286
514
  border-color: var(--clado-ui-edge);
287
- background: color-mix(in srgb, var(--clado-ui-well) 70%, transparent);
515
+ background: var(--clado-ui-track);
288
516
  }
289
517
  .clado-agent-question-badge {
518
+ display: inline-flex;
519
+ align-items: center;
520
+ gap: 6px;
290
521
  font-size: 11px;
291
- font-weight: 650;
292
- color: #b45309;
522
+ font-weight: 620;
523
+ color: var(--clado-ui-text);
293
524
  }
294
- [data-theme="dark"] .clado-agent-question-badge {
295
- color: #fbbf24;
525
+ .clado-agent-question-badge::before {
526
+ content: "";
527
+ width: 6px;
528
+ height: 6px;
529
+ border-radius: 50%;
530
+ background: #f59e0b;
531
+ flex: none;
296
532
  }
297
533
  .clado-agent-question.answered .clado-agent-question-badge {
298
534
  color: var(--clado-ui-muted);
299
535
  }
536
+ .clado-agent-question.answered .clado-agent-question-badge::before {
537
+ background: var(--clado-ui-muted);
538
+ }
300
539
  .clado-agent-question-text {
301
540
  font-size: 12.5px;
302
541
  line-height: 1.5;
@@ -306,25 +545,26 @@
306
545
  .clado-agent-question-options {
307
546
  display: flex;
308
547
  flex-direction: column;
309
- gap: 5px;
548
+ gap: 4px;
310
549
  }
311
550
  .clado-agent-option-btn {
312
- border: 1px solid var(--clado-ui-edge);
313
- border-radius: 9px;
314
- background: var(--clado-ui-well);
551
+ border: 1px solid transparent;
552
+ border-radius: 11px;
553
+ background: transparent;
315
554
  color: var(--clado-ui-text);
316
- padding: 7px 10px;
555
+ padding: 8px 10px;
317
556
  text-align: left;
318
557
  cursor: pointer;
319
558
  font: inherit;
320
559
  display: flex;
321
560
  flex-direction: column;
322
561
  gap: 2px;
323
- transition: border-color 140ms ease, background 140ms ease;
562
+ transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
324
563
  }
325
564
  .clado-agent-option-btn:hover:not(:disabled) {
326
- border-color: #d97706;
327
- background: rgb(217 119 6 / .08);
565
+ background: var(--clado-ui-active);
566
+ border-color: var(--clado-ui-glass-outline);
567
+ box-shadow: var(--clado-ui-active-shadow);
328
568
  }
329
569
  .clado-agent-option-btn:disabled {
330
570
  opacity: .55;
@@ -345,23 +585,28 @@
345
585
  .clado-agent-question-custom input {
346
586
  flex: 1;
347
587
  min-width: 0;
348
- padding: 5px 8px;
349
- border: 1px solid var(--clado-ui-edge);
350
- border-radius: 8px;
588
+ padding: 6px 9px;
589
+ border: 1px solid var(--clado-ui-well-border);
590
+ border-radius: 9px;
351
591
  background: var(--clado-ui-well);
352
592
  color: var(--clado-ui-text);
353
593
  font: inherit;
354
- font-size: 11.5px;
594
+ font-size: 12px;
595
+ outline: none;
596
+ }
597
+ .clado-agent-question-custom input:focus {
598
+ background: var(--clado-ui-well-focus);
599
+ border-color: color-mix(in srgb, var(--clado-ui-brand) 48%, transparent);
355
600
  }
356
601
  .clado-agent-option-submit {
357
- min-height: 28px;
358
- padding: 2px 10px;
602
+ min-height: 30px;
603
+ padding: 2px 11px;
359
604
  font-size: 11.5px;
360
605
  }
361
606
  .clado-agent-question-answered {
362
607
  font-size: 11.5px;
363
- color: var(--clado-ui-accent);
364
- font-weight: 550;
608
+ color: var(--clado-ui-brand);
609
+ font-weight: 560;
365
610
  }
366
611
  .clado-agent-status {
367
612
  margin: 0 14px;
@@ -376,21 +621,66 @@
376
621
  display: flex;
377
622
  align-items: end;
378
623
  gap: 7px;
379
- padding: 9px 12px 12px;
624
+ padding: 8px 12px 12px;
380
625
  }
381
626
  .clado-agent-panel textarea {
382
627
  flex: 1;
383
628
  min-width: 0;
384
629
  max-height: 100px;
385
630
  resize: vertical;
386
- padding: 8px;
387
- border: 1px solid var(--clado-ui-edge);
388
- border-radius: 10px;
631
+ padding: 8px 11px;
632
+ border: 1px solid var(--clado-ui-well-border);
633
+ border-radius: 13px;
389
634
  background: var(--clado-ui-well);
390
635
  color: var(--clado-ui-text);
391
636
  font: inherit;
637
+ outline: none;
638
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / .42);
639
+ transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
640
+ }
641
+ [data-theme="dark"] .clado-agent-panel textarea {
642
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
643
+ }
644
+ .clado-agent-panel textarea:focus {
645
+ background: var(--clado-ui-well-focus);
646
+ border-color: color-mix(in srgb, var(--clado-ui-brand) 48%, transparent);
647
+ box-shadow: 0 0 0 3px var(--clado-ui-brand-soft);
648
+ }
649
+ .clado-agent-send {
650
+ min-height: 34px;
651
+ padding-inline: 14px;
652
+ border-radius: 11px;
392
653
  }
393
- .clado-agent-panel textarea:focus-visible { outline: 2px solid var(--clado-ui-accent); outline-offset: 1px; }
394
- @media (max-width: 460px) {
395
- .clado-agent-panel { width: min(410px, calc(100vw - 20px)); }
654
+ @media (max-width: 680px) {
655
+ .clado-agent-launch { height: 42px; padding-inline: 13px; border-radius: 15px; }
656
+ .clado-agent-panel {
657
+ position: fixed;
658
+ left: 10px;
659
+ right: 10px;
660
+ bottom: max(10px, env(safe-area-inset-bottom));
661
+ width: auto;
662
+ max-width: 440px;
663
+ margin: 0 auto;
664
+ height: min(72dvh, 590px);
665
+ max-height: 74dvh;
666
+ border-radius: 26px;
667
+ z-index: 30;
668
+ }
669
+ .clado-agent-panel-body::before {
670
+ content: "";
671
+ display: block;
672
+ width: 36px;
673
+ height: 4px;
674
+ border-radius: 99px;
675
+ background: var(--clado-ui-edge);
676
+ margin: 8px auto 2px;
677
+ flex: none;
678
+ }
679
+ .clado-agent-chip { min-height: 32px; padding: 3px 4px; }
680
+ .clado-glass-dropdown-trigger { min-height: 38px; font-size: 13px; }
681
+ .clado-glass-dropdown-option { min-height: 44px; }
682
+ .clado-agent-panel textarea { font-size: 16px; min-height: 42px; }
683
+ .clado-agent-question-custom input { font-size: 16px; min-height: 40px; }
684
+ .clado-agent-send, .clado-agent-stop { min-height: 42px; padding-inline: 16px; }
685
+ .clado-agent-option-btn { min-height: 44px; padding: 10px 12px; }
396
686
  }