@aheart-ui/ai 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/README.md +10 -1
  2. package/es/actions/index.d.ts +2 -0
  3. package/es/actions/index.js +5 -0
  4. package/es/actions/style.css +36 -0
  5. package/es/actions.vue.d.ts +4 -4
  6. package/es/agent/index.d.ts +5 -0
  7. package/es/agent/index.js +12 -0
  8. package/es/agent/style.css +3241 -0
  9. package/es/agent-execution.vue.d.ts +4 -4
  10. package/es/agent-execution.vue.js +2 -2
  11. package/es/agent-workbench/index.d.ts +2 -0
  12. package/es/agent-workbench/index.js +5 -0
  13. package/es/agent-workbench/style.css +2423 -0
  14. package/es/agent-workbench.vue.d.ts +4 -4
  15. package/es/agent-workbench.vue.js +10 -7
  16. package/es/attachments/index.d.ts +2 -0
  17. package/es/attachments/index.js +5 -0
  18. package/es/attachments/style.css +62 -0
  19. package/es/attachments.vue.d.ts +4 -4
  20. package/es/bubble/index.d.ts +2 -0
  21. package/es/bubble/index.js +5 -0
  22. package/es/bubble/style.css +241 -0
  23. package/es/bubble.vue.d.ts +3 -3
  24. package/es/chat/index.d.ts +11 -0
  25. package/es/chat/index.js +23 -0
  26. package/es/chat/style.css +595 -0
  27. package/es/chat-panel/index.d.ts +3 -0
  28. package/es/chat-panel/index.js +8 -0
  29. package/es/chat-panel/style.css +591 -0
  30. package/es/chat-panel.vue.d.ts +4 -4
  31. package/es/conversations/index.d.ts +2 -0
  32. package/es/conversations/index.js +5 -0
  33. package/es/conversations/style.css +48 -0
  34. package/es/conversations.vue.d.ts +4 -4
  35. package/es/form/index.d.ts +3 -0
  36. package/es/form/index.js +9 -0
  37. package/es/form/style.css +3175 -0
  38. package/es/form-field.vue.d.ts +4 -4
  39. package/es/form-field.vue.js +53 -43
  40. package/es/form.vue.d.ts +4 -4
  41. package/es/form.vue.js +7 -6
  42. package/es/process/index.d.ts +2 -0
  43. package/es/process/index.js +5 -0
  44. package/es/process/style.css +77 -0
  45. package/es/process.vue.d.ts +3 -3
  46. package/es/prompts/index.d.ts +2 -0
  47. package/es/prompts/index.js +5 -0
  48. package/es/prompts/style.css +76 -0
  49. package/es/prompts.vue.d.ts +4 -4
  50. package/es/sender/index.d.ts +2 -0
  51. package/es/sender/index.js +5 -0
  52. package/es/sender/style.css +88 -0
  53. package/es/sender.vue.d.ts +4 -4
  54. package/es/sources/index.d.ts +2 -0
  55. package/es/sources/index.js +5 -0
  56. package/es/sources/style.css +54 -0
  57. package/es/sources.vue.d.ts +3 -3
  58. package/es/thought-chain/index.d.ts +2 -0
  59. package/es/thought-chain/index.js +5 -0
  60. package/es/thought-chain/style.css +77 -0
  61. package/es/thought-chain.vue.d.ts +3 -3
  62. package/es/welcome/index.d.ts +2 -0
  63. package/es/welcome/index.js +5 -0
  64. package/es/welcome/style.css +33 -0
  65. package/es/welcome.vue.d.ts +3 -3
  66. package/lib/actions/index.d.ts +2 -0
  67. package/lib/actions/index.js +1 -0
  68. package/lib/actions/style.css +36 -0
  69. package/lib/actions.vue.d.ts +4 -4
  70. package/lib/agent/index.d.ts +5 -0
  71. package/lib/agent/index.js +1 -0
  72. package/lib/agent/style.css +3241 -0
  73. package/lib/agent-execution.vue.d.ts +4 -4
  74. package/lib/agent-execution.vue.js +1 -1
  75. package/lib/agent-workbench/index.d.ts +2 -0
  76. package/lib/agent-workbench/index.js +1 -0
  77. package/lib/agent-workbench/style.css +2423 -0
  78. package/lib/agent-workbench.vue.d.ts +4 -4
  79. package/lib/agent-workbench.vue.js +1 -1
  80. package/lib/attachments/index.d.ts +2 -0
  81. package/lib/attachments/index.js +1 -0
  82. package/lib/attachments/style.css +62 -0
  83. package/lib/attachments.vue.d.ts +4 -4
  84. package/lib/bubble/index.d.ts +2 -0
  85. package/lib/bubble/index.js +1 -0
  86. package/lib/bubble/style.css +241 -0
  87. package/lib/bubble.vue.d.ts +3 -3
  88. package/lib/chat/index.d.ts +11 -0
  89. package/lib/chat/index.js +1 -0
  90. package/lib/chat/style.css +595 -0
  91. package/lib/chat-panel/index.d.ts +3 -0
  92. package/lib/chat-panel/index.js +1 -0
  93. package/lib/chat-panel/style.css +591 -0
  94. package/lib/chat-panel.vue.d.ts +4 -4
  95. package/lib/conversations/index.d.ts +2 -0
  96. package/lib/conversations/index.js +1 -0
  97. package/lib/conversations/style.css +48 -0
  98. package/lib/conversations.vue.d.ts +4 -4
  99. package/lib/form/index.d.ts +3 -0
  100. package/lib/form/index.js +1 -0
  101. package/lib/form/style.css +3175 -0
  102. package/lib/form-field.vue.d.ts +4 -4
  103. package/lib/form-field.vue.js +1 -1
  104. package/lib/form.vue.d.ts +4 -4
  105. package/lib/form.vue.js +1 -1
  106. package/lib/process/index.d.ts +2 -0
  107. package/lib/process/index.js +1 -0
  108. package/lib/process/style.css +77 -0
  109. package/lib/process.vue.d.ts +3 -3
  110. package/lib/prompts/index.d.ts +2 -0
  111. package/lib/prompts/index.js +1 -0
  112. package/lib/prompts/style.css +76 -0
  113. package/lib/prompts.vue.d.ts +4 -4
  114. package/lib/sender/index.d.ts +2 -0
  115. package/lib/sender/index.js +1 -0
  116. package/lib/sender/style.css +88 -0
  117. package/lib/sender.vue.d.ts +4 -4
  118. package/lib/sources/index.d.ts +2 -0
  119. package/lib/sources/index.js +1 -0
  120. package/lib/sources/style.css +54 -0
  121. package/lib/sources.vue.d.ts +3 -3
  122. package/lib/thought-chain/index.d.ts +2 -0
  123. package/lib/thought-chain/index.js +1 -0
  124. package/lib/thought-chain/style.css +77 -0
  125. package/lib/thought-chain.vue.d.ts +3 -3
  126. package/lib/welcome/index.d.ts +2 -0
  127. package/lib/welcome/index.js +1 -0
  128. package/lib/welcome/style.css +33 -0
  129. package/lib/welcome.vue.d.ts +3 -3
  130. package/package.json +106 -4
@@ -0,0 +1,2423 @@
1
+ .aheart-button {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ gap: 6px;
6
+ border: 1px solid var(--aheart-color-border);
7
+ border-radius: var(--aheart-radius);
8
+ background: var(--aheart-color-bg);
9
+ color: var(--aheart-color-text);
10
+ font-size: var(--aheart-font-size);
11
+ line-height: 1;
12
+ white-space: nowrap;
13
+ cursor: pointer;
14
+ transition:
15
+ color var(--aheart-motion-duration),
16
+ border-color var(--aheart-motion-duration),
17
+ background-color var(--aheart-motion-duration),
18
+ opacity var(--aheart-motion-duration);
19
+ }
20
+
21
+ .aheart-button:hover:not(:disabled) {
22
+ border-color: var(--aheart-color-primary-hover);
23
+ color: var(--aheart-color-primary-hover);
24
+ }
25
+
26
+ .aheart-button--primary:hover:not(:disabled),
27
+ .aheart-button--success:hover:not(:disabled),
28
+ .aheart-button--warning:hover:not(:disabled),
29
+ .aheart-button--danger:hover:not(:disabled) {
30
+ border-color: transparent;
31
+ color: #fff;
32
+ opacity: 0.88;
33
+ }
34
+
35
+ .aheart-button:disabled,
36
+ .aheart-button[aria-disabled='true'] {
37
+ background: var(--aheart-color-bg-disabled);
38
+ color: var(--aheart-color-text-secondary);
39
+ cursor: not-allowed;
40
+ opacity: 0.72;
41
+ pointer-events: none;
42
+ }
43
+
44
+ .aheart-button--large {
45
+ height: var(--aheart-control-height-lg);
46
+ padding: 0 18px;
47
+ }
48
+
49
+ .aheart-button--middle,
50
+ .aheart-button--normal {
51
+ height: var(--aheart-control-height);
52
+ padding: 0 14px;
53
+ }
54
+
55
+ .aheart-button--small {
56
+ height: 28px;
57
+ padding: 0 10px;
58
+ font-size: 13px;
59
+ }
60
+
61
+ .aheart-button--mini {
62
+ height: var(--aheart-control-height-sm);
63
+ padding: 0 8px;
64
+ font-size: var(--aheart-font-size-sm);
65
+ }
66
+
67
+ .aheart-button--primary,
68
+ .aheart-button--success,
69
+ .aheart-button--warning,
70
+ .aheart-button--danger {
71
+ border-color: transparent;
72
+ color: #fff;
73
+ }
74
+
75
+ .aheart-button--primary {
76
+ background: var(--aheart-color-primary);
77
+ }
78
+
79
+ .aheart-button--success {
80
+ background: var(--aheart-color-success);
81
+ }
82
+
83
+ .aheart-button--warning {
84
+ background: var(--aheart-color-warning);
85
+ }
86
+
87
+ .aheart-button--danger {
88
+ background: var(--aheart-color-danger);
89
+ }
90
+
91
+ .aheart-button--dashed {
92
+ border-style: dashed;
93
+ }
94
+
95
+ .aheart-button--link,
96
+ .aheart-button--text {
97
+ border-color: transparent;
98
+ background: transparent;
99
+ box-shadow: none;
100
+ }
101
+
102
+ .aheart-button--link {
103
+ color: var(--aheart-color-primary);
104
+ }
105
+
106
+ .aheart-button--text {
107
+ color: var(--aheart-color-text);
108
+ }
109
+
110
+ .aheart-button--link:hover:not(:disabled),
111
+ .aheart-button--text:hover:not(:disabled) {
112
+ border-color: transparent;
113
+ background: var(--aheart-color-fill);
114
+ }
115
+
116
+ .aheart-button.is-danger:not(.aheart-button--primary):not(.aheart-button--success):not(.aheart-button--warning):not(.aheart-button--danger) {
117
+ border-color: #cf1322;
118
+ color: #cf1322;
119
+ }
120
+
121
+ .aheart-button.is-danger.aheart-button--primary,
122
+ .aheart-button.is-danger.aheart-button--danger {
123
+ border-color: transparent;
124
+ background: var(--aheart-color-danger);
125
+ color: #fff;
126
+ }
127
+
128
+ .aheart-button--variant-solid {
129
+ border-color: transparent;
130
+ background: var(--aheart-button-solid-background, var(--aheart-button-color));
131
+ color: #fff;
132
+ }
133
+
134
+ .aheart-button--variant-outlined,
135
+ .aheart-button--variant-dashed {
136
+ border-color: var(--aheart-button-color);
137
+ color: var(--aheart-button-color);
138
+ }
139
+
140
+ .aheart-button--variant-dashed {
141
+ border-style: dashed;
142
+ }
143
+
144
+ .aheart-button--variant-filled {
145
+ border-color: transparent;
146
+ background: color-mix(in srgb, var(--aheart-button-color) 12%, white);
147
+ color: var(--aheart-button-color);
148
+ }
149
+
150
+ .aheart-button--variant-text,
151
+ .aheart-button--variant-link {
152
+ border-color: transparent;
153
+ background: transparent;
154
+ box-shadow: none;
155
+ color: var(--aheart-button-color);
156
+ }
157
+
158
+ .aheart-button--variant-outlined:hover:not(:disabled),
159
+ .aheart-button--variant-dashed:hover:not(:disabled) {
160
+ border-color: var(--aheart-button-color-hover);
161
+ color: var(--aheart-button-color-hover);
162
+ }
163
+
164
+ .aheart-button--variant-solid:hover:not(:disabled) {
165
+ border-color: transparent;
166
+ color: #fff;
167
+ opacity: 0.88;
168
+ }
169
+
170
+ .aheart-button--color-primary.aheart-button--variant-solid:hover:not(:disabled):not([aria-disabled='true']) {
171
+ background: var(--aheart-button-solid-background-hover);
172
+ opacity: 1;
173
+ }
174
+
175
+ .aheart-button--color-warning.aheart-button--variant-solid,
176
+ .aheart-button--color-yellow.aheart-button--variant-solid,
177
+ .aheart-button--color-gold.aheart-button--variant-solid,
178
+ .aheart-button--color-warning.aheart-button--variant-solid:hover:not(:disabled),
179
+ .aheart-button--color-yellow.aheart-button--variant-solid:hover:not(:disabled),
180
+ .aheart-button--color-gold.aheart-button--variant-solid:hover:not(:disabled) {
181
+ color: #1f1f1f;
182
+ }
183
+
184
+ .aheart-button--color-danger.aheart-button--variant-solid,
185
+ .aheart-button.is-danger.aheart-button--primary,
186
+ .aheart-button.is-danger.aheart-button--danger {
187
+ background: #cf1322;
188
+ color: #fff;
189
+ }
190
+
191
+ .aheart-button--color-danger.aheart-button--variant-solid:hover:not(:disabled),
192
+ .aheart-button.is-danger.aheart-button--primary:hover:not(:disabled),
193
+ .aheart-button.is-danger.aheart-button--danger:hover:not(:disabled) {
194
+ background: #a8071a;
195
+ color: #fff;
196
+ opacity: 1;
197
+ }
198
+
199
+ .aheart-button--variant-filled:hover:not(:disabled) {
200
+ background: color-mix(in srgb, var(--aheart-button-color) 18%, white);
201
+ color: var(--aheart-button-color-hover);
202
+ }
203
+
204
+ .aheart-button--variant-text:hover:not(:disabled),
205
+ .aheart-button--variant-link:hover:not(:disabled) {
206
+ border-color: transparent;
207
+ background: color-mix(in srgb, var(--aheart-button-color) 8%, transparent);
208
+ color: var(--aheart-button-color-hover);
209
+ }
210
+
211
+ .aheart-button--color-default.aheart-button--variant-outlined,
212
+ .aheart-button--color-default.aheart-button--variant-dashed {
213
+ border-color: var(--aheart-color-border);
214
+ color: var(--aheart-color-text);
215
+ }
216
+
217
+ .aheart-button--color-default:not(.aheart-button--variant-solid):hover:not(:disabled):not([aria-disabled='true']) {
218
+ color: var(--aheart-color-primary-text-hover, #003eb3);
219
+ }
220
+
221
+ .aheart-button.is-ghost {
222
+ background: transparent;
223
+ }
224
+
225
+ .aheart-button.is-ghost.aheart-button--primary {
226
+ border-color: var(--aheart-color-primary);
227
+ color: var(--aheart-color-primary);
228
+ }
229
+
230
+ .aheart-button.is-ghost.aheart-button--success {
231
+ border-color: var(--aheart-color-success);
232
+ color: var(--aheart-color-success);
233
+ }
234
+
235
+ .aheart-button.is-ghost.aheart-button--warning {
236
+ border-color: var(--aheart-color-warning);
237
+ color: var(--aheart-color-warning);
238
+ }
239
+
240
+ .aheart-button.is-ghost.aheart-button--danger,
241
+ .aheart-button.is-ghost.is-danger {
242
+ border-color: var(--aheart-color-danger);
243
+ color: var(--aheart-color-danger);
244
+ }
245
+
246
+ .aheart-button.is-block {
247
+ display: flex;
248
+ width: 100%;
249
+ }
250
+
251
+ .aheart-button.is-round {
252
+ border-radius: 999px;
253
+ }
254
+
255
+ .aheart-button.is-circle {
256
+ width: var(--aheart-control-height);
257
+ padding: 0;
258
+ border-radius: 50%;
259
+ }
260
+
261
+ .aheart-button--large.is-circle {
262
+ width: var(--aheart-control-height-lg);
263
+ }
264
+
265
+ .aheart-button--small.is-circle {
266
+ width: 28px;
267
+ }
268
+
269
+ .aheart-button--mini.is-circle {
270
+ width: var(--aheart-control-height-sm);
271
+ }
272
+
273
+ .aheart-button.is-anchor {
274
+ text-decoration: none;
275
+ }
276
+
277
+ .aheart-button__loading,
278
+ .aheart-button__icon,
279
+ .aheart-button__content {
280
+ display: inline-flex;
281
+ align-items: center;
282
+ justify-content: center;
283
+ }
284
+
285
+ .aheart-button__loading-spinner {
286
+ width: 1em;
287
+ height: 1em;
288
+ border: 2px solid currentColor;
289
+ border-right-color: transparent;
290
+ border-radius: 50%;
291
+ animation: aheart-button-spin 0.8s linear infinite;
292
+ }
293
+
294
+ @keyframes aheart-button-spin {
295
+ to {
296
+ transform: rotate(360deg);
297
+ }
298
+ }
299
+ .aheart-icon {
300
+ display: inline-flex;
301
+ align-items: center;
302
+ justify-content: center;
303
+ width: var(--aheart-icon-size, 1em);
304
+ height: var(--aheart-icon-size, 1em);
305
+ color: var(--aheart-icon-color, currentColor);
306
+ font-size: var(--aheart-icon-size, 1em);
307
+ line-height: 1;
308
+ vertical-align: -0.125em;
309
+ }
310
+
311
+ .aheart-icon svg {
312
+ width: 1em;
313
+ height: 1em;
314
+ fill: currentColor;
315
+ }
316
+
317
+ .aheart-icon svg.lucide {
318
+ fill: none;
319
+ stroke: currentColor;
320
+ }
321
+
322
+ .aheart-icon--spin {
323
+ animation: aheart-icon-spin 1s linear infinite;
324
+ }
325
+
326
+ @keyframes aheart-icon-spin {
327
+ to {
328
+ transform: rotate(360deg);
329
+ }
330
+ }
331
+ .aheart-drawer {
332
+ position: fixed;
333
+ inset: 0;
334
+ z-index: 1100;
335
+ color: var(--aheart-color-text);
336
+ font-size: var(--aheart-font-size);
337
+ line-height: var(--aheart-line-height);
338
+ }
339
+
340
+ .aheart-drawer.is-enter {
341
+ pointer-events: none;
342
+ }
343
+
344
+ .aheart-drawer.is-leave .aheart-drawer__panel {
345
+ pointer-events: none;
346
+ }
347
+
348
+ .aheart-drawer__mask {
349
+ position: absolute;
350
+ inset: 0;
351
+ background: rgba(0, 0, 0, 0.45);
352
+ opacity: 0;
353
+ transition: opacity var(--aheart-motion-duration-base) var(--aheart-motion-ease-out);
354
+ }
355
+
356
+ .aheart-drawer.is-entered .aheart-drawer__mask {
357
+ opacity: 1;
358
+ }
359
+
360
+ .aheart-drawer__mask.is-blur {
361
+ backdrop-filter: blur(6px);
362
+ }
363
+
364
+ .aheart-drawer__panel {
365
+ position: absolute;
366
+ display: flex;
367
+ box-sizing: border-box;
368
+ min-width: 0;
369
+ flex-direction: column;
370
+ background: var(--aheart-color-bg-elevated);
371
+ box-shadow: var(--aheart-shadow);
372
+ opacity: 0;
373
+ transition:
374
+ opacity var(--aheart-motion-duration-slow) var(--aheart-motion-ease-out),
375
+ translate var(--aheart-motion-duration-slow) var(--aheart-motion-ease-out);
376
+ }
377
+
378
+ .aheart-drawer.is-entered .aheart-drawer__panel {
379
+ opacity: 1;
380
+ translate: 0 0;
381
+ }
382
+
383
+ .aheart-drawer__panel--right {
384
+ top: 0;
385
+ right: 0;
386
+ bottom: 0;
387
+ max-width: 100vw;
388
+ translate: 24px 0;
389
+ }
390
+
391
+ .aheart-drawer__panel--left {
392
+ top: 0;
393
+ bottom: 0;
394
+ left: 0;
395
+ max-width: 100vw;
396
+ translate: -24px 0;
397
+ }
398
+
399
+ .aheart-drawer__panel--top {
400
+ top: 0;
401
+ right: 0;
402
+ left: 0;
403
+ max-height: 100vh;
404
+ translate: 0 -24px;
405
+ }
406
+
407
+ .aheart-drawer__panel--bottom {
408
+ right: 0;
409
+ bottom: 0;
410
+ left: 0;
411
+ max-height: 100vh;
412
+ translate: 0 24px;
413
+ }
414
+
415
+ .aheart-drawer__dragger {
416
+ --aheart-drawer-dragger-size: 4px;
417
+ position: absolute;
418
+ z-index: 1;
419
+ border: 0;
420
+ padding: 0;
421
+ appearance: none;
422
+ background: transparent;
423
+ touch-action: none;
424
+ transition: background-color 0.2s ease;
425
+ }
426
+
427
+ .aheart-drawer__dragger:hover,
428
+ .aheart-drawer__dragger.is-resizing {
429
+ background: var(--aheart-color-primary, rgba(22, 119, 255, 0.35));
430
+ }
431
+
432
+ .aheart-drawer__dragger--right {
433
+ top: 0;
434
+ bottom: 0;
435
+ left: calc(var(--aheart-drawer-dragger-size) / -2);
436
+ width: var(--aheart-drawer-dragger-size);
437
+ cursor: ew-resize;
438
+ }
439
+
440
+ .aheart-drawer__dragger--left {
441
+ top: 0;
442
+ right: calc(var(--aheart-drawer-dragger-size) / -2);
443
+ bottom: 0;
444
+ width: var(--aheart-drawer-dragger-size);
445
+ cursor: ew-resize;
446
+ }
447
+
448
+ .aheart-drawer__dragger--top {
449
+ right: 0;
450
+ bottom: calc(var(--aheart-drawer-dragger-size) / -2);
451
+ left: 0;
452
+ height: var(--aheart-drawer-dragger-size);
453
+ cursor: ns-resize;
454
+ }
455
+
456
+ .aheart-drawer__dragger--bottom {
457
+ top: calc(var(--aheart-drawer-dragger-size) / -2);
458
+ right: 0;
459
+ left: 0;
460
+ height: var(--aheart-drawer-dragger-size);
461
+ cursor: ns-resize;
462
+ }
463
+
464
+ .aheart-drawer__header {
465
+ display: flex;
466
+ gap: var(--aheart-spacing-md);
467
+ align-items: center;
468
+ min-height: 56px;
469
+ padding: var(--aheart-spacing-md) var(--aheart-spacing-lg);
470
+ border-bottom: 1px solid var(--aheart-color-border);
471
+ }
472
+
473
+ .aheart-drawer__close {
474
+ display: inline-flex;
475
+ align-items: center;
476
+ justify-content: center;
477
+ width: 28px;
478
+ height: 28px;
479
+ border: 0;
480
+ border-radius: var(--aheart-radius-sm);
481
+ background: transparent;
482
+ color: var(--aheart-color-text-secondary);
483
+ cursor: pointer;
484
+ font: inherit;
485
+ }
486
+
487
+ .aheart-drawer__close:hover {
488
+ background: var(--aheart-color-fill);
489
+ color: var(--aheart-color-text);
490
+ }
491
+
492
+ .aheart-drawer__close:disabled {
493
+ cursor: not-allowed;
494
+ opacity: 0.45;
495
+ }
496
+
497
+ .aheart-drawer__close:disabled:hover {
498
+ background: transparent;
499
+ color: var(--aheart-color-text-secondary);
500
+ }
501
+
502
+ .aheart-drawer__close.is-end {
503
+ flex: none;
504
+ }
505
+
506
+ .aheart-drawer__title {
507
+ flex: 1;
508
+ min-width: 0;
509
+ color: var(--aheart-color-text);
510
+ font-size: var(--aheart-font-size-lg);
511
+ font-weight: 600;
512
+ }
513
+
514
+ .aheart-drawer__extra {
515
+ display: inline-flex;
516
+ flex: none;
517
+ align-items: center;
518
+ gap: var(--aheart-spacing-sm);
519
+ }
520
+
521
+ .aheart-drawer__body {
522
+ flex: 1;
523
+ min-height: 0;
524
+ padding: var(--aheart-spacing-lg);
525
+ overflow: auto;
526
+ }
527
+
528
+ .aheart-drawer__footer {
529
+ display: flex;
530
+ gap: var(--aheart-spacing-sm);
531
+ justify-content: flex-end;
532
+ padding: 10px var(--aheart-spacing-lg);
533
+ border-top: 1px solid var(--aheart-color-border);
534
+ }
535
+
536
+ @media (max-width: 575px) {
537
+ .aheart-drawer__panel--right,
538
+ .aheart-drawer__panel--left {
539
+ width: min(100%, 378px) !important;
540
+ }
541
+ }
542
+ .aheart-skeleton {
543
+ display: flex;
544
+ flex-wrap: wrap;
545
+ align-items: flex-start;
546
+ gap: var(--aheart-spacing-md);
547
+ width: 100%;
548
+ color: var(--aheart-color-text);
549
+ }
550
+
551
+ .aheart-skeleton__avatar {
552
+ flex: 0 0 auto;
553
+ width: 32px;
554
+ height: 32px;
555
+ background: var(--aheart-color-fill);
556
+ border-radius: var(--aheart-radius-sm);
557
+ }
558
+
559
+ .aheart-skeleton__avatar--circle {
560
+ border-radius: 50%;
561
+ }
562
+
563
+ .aheart-skeleton__content {
564
+ flex: 1;
565
+ min-width: 0;
566
+ }
567
+
568
+ .aheart-skeleton__button,
569
+ .aheart-skeleton__input,
570
+ .aheart-skeleton__image,
571
+ .aheart-skeleton__node,
572
+ .aheart-skeleton__title,
573
+ .aheart-skeleton__paragraph-row {
574
+ display: block;
575
+ background: var(--aheart-color-fill);
576
+ border-radius: var(--aheart-radius-sm);
577
+ }
578
+
579
+ .aheart-skeleton__button,
580
+ .aheart-skeleton__input,
581
+ .aheart-skeleton__image,
582
+ .aheart-skeleton__node {
583
+ flex: 0 0 auto;
584
+ }
585
+
586
+ .aheart-skeleton__button {
587
+ width: 64px;
588
+ height: var(--aheart-control-height);
589
+ }
590
+
591
+ .aheart-skeleton__button--small {
592
+ height: var(--aheart-control-height-sm);
593
+ }
594
+
595
+ .aheart-skeleton__button--large {
596
+ height: var(--aheart-control-height-lg);
597
+ }
598
+
599
+ .aheart-skeleton__button--round {
600
+ border-radius: 999px;
601
+ }
602
+
603
+ .aheart-skeleton__button--circle {
604
+ width: var(--aheart-control-height);
605
+ border-radius: 50%;
606
+ }
607
+
608
+ .aheart-skeleton__button--small.aheart-skeleton__button--circle {
609
+ width: var(--aheart-control-height-sm);
610
+ }
611
+
612
+ .aheart-skeleton__button--large.aheart-skeleton__button--circle {
613
+ width: var(--aheart-control-height-lg);
614
+ }
615
+
616
+ .aheart-skeleton__input {
617
+ width: 160px;
618
+ height: var(--aheart-control-height);
619
+ }
620
+
621
+ .aheart-skeleton__input--small {
622
+ height: var(--aheart-control-height-sm);
623
+ }
624
+
625
+ .aheart-skeleton__input--large {
626
+ height: var(--aheart-control-height-lg);
627
+ }
628
+
629
+ .aheart-skeleton__button.is-block,
630
+ .aheart-skeleton__input.is-block {
631
+ width: 100%;
632
+ }
633
+
634
+ .aheart-skeleton__image {
635
+ width: 96px;
636
+ height: 96px;
637
+ }
638
+
639
+ .aheart-skeleton__node {
640
+ display: inline-flex;
641
+ align-items: center;
642
+ justify-content: center;
643
+ width: 48px;
644
+ height: 48px;
645
+ color: var(--aheart-color-text-secondary);
646
+ }
647
+
648
+ .aheart-skeleton__title,
649
+ .aheart-skeleton__paragraph-row {
650
+ height: 16px;
651
+ }
652
+
653
+ .aheart-skeleton__title {
654
+ width: 38%;
655
+ margin-bottom: var(--aheart-spacing-md);
656
+ }
657
+
658
+ .aheart-skeleton__paragraph {
659
+ display: flex;
660
+ flex-direction: column;
661
+ gap: var(--aheart-spacing-sm);
662
+ }
663
+
664
+ .aheart-skeleton__paragraph-row {
665
+ width: 100%;
666
+ }
667
+
668
+ .aheart-skeleton__paragraph-row:last-child {
669
+ width: 61%;
670
+ }
671
+
672
+ .aheart-skeleton.is-round .aheart-skeleton__title,
673
+ .aheart-skeleton.is-round .aheart-skeleton__button,
674
+ .aheart-skeleton.is-round .aheart-skeleton__input,
675
+ .aheart-skeleton.is-round .aheart-skeleton__image,
676
+ .aheart-skeleton.is-round .aheart-skeleton__node,
677
+ .aheart-skeleton.is-round .aheart-skeleton__paragraph-row {
678
+ border-radius: 999px;
679
+ }
680
+
681
+ .aheart-skeleton.is-active .aheart-skeleton__avatar,
682
+ .aheart-skeleton.is-active .aheart-skeleton__button,
683
+ .aheart-skeleton.is-active .aheart-skeleton__input,
684
+ .aheart-skeleton.is-active .aheart-skeleton__image,
685
+ .aheart-skeleton.is-active .aheart-skeleton__node,
686
+ .aheart-skeleton.is-active .aheart-skeleton__title,
687
+ .aheart-skeleton.is-active .aheart-skeleton__paragraph-row,
688
+ .aheart-skeleton__button.is-active,
689
+ .aheart-skeleton__input.is-active,
690
+ .aheart-skeleton__image.is-active,
691
+ .aheart-skeleton__node.is-active {
692
+ background: linear-gradient(
693
+ 90deg,
694
+ var(--aheart-color-fill) 25%,
695
+ #f0f0f0 37%,
696
+ var(--aheart-color-fill) 63%
697
+ );
698
+ background-size: 400% 100%;
699
+ animation: aheart-skeleton-loading 1.4s ease infinite;
700
+ }
701
+
702
+ @keyframes aheart-skeleton-loading {
703
+ 0% {
704
+ background-position: 100% 50%;
705
+ }
706
+
707
+ 100% {
708
+ background-position: 0 50%;
709
+ }
710
+ }
711
+ .aheart-tabs {
712
+ display: flex;
713
+ flex-direction: column;
714
+ color: var(--aheart-color-text);
715
+ font-size: var(--aheart-font-size);
716
+ line-height: var(--aheart-line-height);
717
+ }
718
+
719
+ .aheart-tabs__nav {
720
+ position: relative;
721
+ display: flex;
722
+ align-items: center;
723
+ gap: var(--aheart-spacing-sm);
724
+ border-bottom: 1px solid var(--aheart-color-border);
725
+ }
726
+
727
+ .aheart-tabs__nav-list {
728
+ position: relative;
729
+ display: flex;
730
+ align-items: center;
731
+ flex: 1 1 auto;
732
+ gap: var(--aheart-tabs-gutter, var(--aheart-spacing-md));
733
+ }
734
+
735
+ .aheart-tabs.is-centered .aheart-tabs__nav-list {
736
+ justify-content: center;
737
+ }
738
+
739
+ .aheart-tabs--placement-bottom .aheart-tabs__nav {
740
+ order: 2;
741
+ border-top: 1px solid var(--aheart-color-border);
742
+ border-bottom: 0;
743
+ }
744
+
745
+ .aheart-tabs--placement-start,
746
+ .aheart-tabs--placement-end {
747
+ flex-direction: row;
748
+ align-items: stretch;
749
+ gap: var(--aheart-spacing-md);
750
+ }
751
+
752
+ .aheart-tabs--placement-start .aheart-tabs__nav,
753
+ .aheart-tabs--placement-end .aheart-tabs__nav {
754
+ align-items: stretch;
755
+ border-bottom: 0;
756
+ }
757
+
758
+ .aheart-tabs--placement-start .aheart-tabs__nav {
759
+ border-right: 1px solid var(--aheart-color-border);
760
+ }
761
+
762
+ .aheart-tabs--placement-end .aheart-tabs__nav {
763
+ order: 2;
764
+ border-left: 1px solid var(--aheart-color-border);
765
+ }
766
+
767
+ .aheart-tabs--placement-start .aheart-tabs__nav-list,
768
+ .aheart-tabs--placement-end .aheart-tabs__nav-list {
769
+ flex-direction: column;
770
+ align-items: stretch;
771
+ }
772
+
773
+ .aheart-tabs__extra {
774
+ display: inline-flex;
775
+ align-items: center;
776
+ color: var(--aheart-color-text-secondary);
777
+ }
778
+
779
+ .aheart-tabs__extra--left {
780
+ margin-right: var(--aheart-spacing-sm);
781
+ }
782
+
783
+ .aheart-tabs__extra--right {
784
+ margin-left: var(--aheart-spacing-sm);
785
+ }
786
+
787
+ .aheart-tabs__tab {
788
+ position: relative;
789
+ display: inline-flex;
790
+ align-items: center;
791
+ justify-content: center;
792
+ gap: var(--aheart-spacing-xs);
793
+ min-height: var(--aheart-control-height);
794
+ padding: 0;
795
+ border: 0;
796
+ background: transparent;
797
+ color: var(--aheart-color-text-secondary);
798
+ font: inherit;
799
+ cursor: pointer;
800
+ transition:
801
+ color var(--aheart-motion-duration) var(--aheart-motion-ease),
802
+ background-color var(--aheart-motion-duration) var(--aheart-motion-ease);
803
+ }
804
+
805
+ .aheart-tabs__tab:hover:not(:disabled),
806
+ .aheart-tabs__tab.is-active {
807
+ color: var(--aheart-color-primary);
808
+ }
809
+
810
+ .aheart-tabs__tab.is-active::after {
811
+ position: absolute;
812
+ right: 0;
813
+ bottom: -1px;
814
+ left: 0;
815
+ width: var(--aheart-tabs-indicator-size, auto);
816
+ height: 2px;
817
+ background: var(--aheart-color-primary);
818
+ content: '';
819
+ }
820
+
821
+ .aheart-tabs__tab--indicator-start::after {
822
+ right: auto;
823
+ }
824
+
825
+ .aheart-tabs__tab--indicator-center::after {
826
+ right: auto;
827
+ left: 50%;
828
+ transform: translateX(-50%);
829
+ }
830
+
831
+ .aheart-tabs__tab--indicator-end::after {
832
+ left: auto;
833
+ }
834
+
835
+ .aheart-tabs--placement-start .aheart-tabs__tab.is-active::after,
836
+ .aheart-tabs--placement-end .aheart-tabs__tab.is-active::after {
837
+ top: 0;
838
+ bottom: 0;
839
+ left: auto;
840
+ width: 2px;
841
+ height: var(--aheart-tabs-indicator-size, auto);
842
+ }
843
+
844
+ .aheart-tabs--placement-start .aheart-tabs__tab.is-active::after {
845
+ right: -1px;
846
+ }
847
+
848
+ .aheart-tabs--placement-end .aheart-tabs__tab.is-active::after {
849
+ left: -1px;
850
+ }
851
+
852
+ .aheart-tabs--placement-start .aheart-tabs__tab--indicator-center::after,
853
+ .aheart-tabs--placement-end .aheart-tabs__tab--indicator-center::after {
854
+ top: 50%;
855
+ transform: translateY(-50%);
856
+ }
857
+
858
+ .aheart-tabs--placement-start .aheart-tabs__tab--indicator-end::after,
859
+ .aheart-tabs--placement-end .aheart-tabs__tab--indicator-end::after {
860
+ top: auto;
861
+ bottom: 0;
862
+ }
863
+
864
+ .aheart-tabs.is-ink-bar-animated .aheart-tabs__tab::after {
865
+ transition:
866
+ width var(--aheart-motion-duration) var(--aheart-motion-ease),
867
+ height var(--aheart-motion-duration) var(--aheart-motion-ease),
868
+ transform var(--aheart-motion-duration) var(--aheart-motion-ease);
869
+ }
870
+
871
+ .aheart-tabs__tab:disabled {
872
+ color: var(--aheart-color-text-secondary);
873
+ cursor: not-allowed;
874
+ opacity: 0.45;
875
+ }
876
+
877
+ .aheart-tabs__tab:focus-visible {
878
+ border-radius: var(--aheart-radius-sm);
879
+ outline: 2px solid var(--aheart-color-primary-hover);
880
+ outline-offset: 2px;
881
+ }
882
+
883
+ .aheart-tabs__tab-icon {
884
+ display: inline-flex;
885
+ align-items: center;
886
+ }
887
+
888
+ .aheart-tabs--small .aheart-tabs__tab {
889
+ min-height: var(--aheart-control-height-sm);
890
+ font-size: var(--aheart-font-size-sm);
891
+ }
892
+
893
+ .aheart-tabs--large .aheart-tabs__tab {
894
+ min-height: var(--aheart-control-height-lg);
895
+ font-size: var(--aheart-font-size-lg);
896
+ }
897
+
898
+ .aheart-tabs--card .aheart-tabs__nav {
899
+ gap: var(--aheart-spacing-xs);
900
+ }
901
+
902
+ .aheart-tabs--card .aheart-tabs__tab {
903
+ margin-bottom: -1px;
904
+ padding: 0 var(--aheart-spacing-md);
905
+ border: 1px solid var(--aheart-color-border);
906
+ border-radius: var(--aheart-radius-sm) var(--aheart-radius-sm) 0 0;
907
+ background: var(--aheart-color-fill);
908
+ }
909
+
910
+ .aheart-tabs--card .aheart-tabs__tab.is-active {
911
+ border-bottom-color: var(--aheart-color-bg);
912
+ background: var(--aheart-color-bg);
913
+ }
914
+
915
+ .aheart-tabs--card .aheart-tabs__tab.is-active::after {
916
+ display: none;
917
+ }
918
+
919
+ .aheart-tabs__panel {
920
+ padding: var(--aheart-spacing-md) 0 0;
921
+ }
922
+
923
+ .aheart-tabs--placement-bottom .aheart-tabs__panel {
924
+ padding: 0 0 var(--aheart-spacing-md);
925
+ }
926
+
927
+ .aheart-tabs--placement-start .aheart-tabs__panel,
928
+ .aheart-tabs--placement-end .aheart-tabs__panel {
929
+ flex: 1 1 auto;
930
+ padding: 0;
931
+ }
932
+
933
+ .aheart-tabs.is-tab-pane-animated .aheart-tabs__panel {
934
+ animation: aheart-tabs-panel-in var(--aheart-motion-duration) var(--aheart-motion-ease);
935
+ }
936
+
937
+ @keyframes aheart-tabs-panel-in {
938
+ from {
939
+ opacity: 0;
940
+ }
941
+
942
+ to {
943
+ opacity: 1;
944
+ }
945
+ }
946
+ .aheart-splitter {
947
+ display: flex;
948
+ inline-size: 100%;
949
+ block-size: 100%;
950
+ min-inline-size: 0;
951
+ min-block-size: 0;
952
+ }
953
+
954
+ .aheart-splitter--vertical {
955
+ flex-direction: column;
956
+ }
957
+
958
+ .aheart-splitter__panel {
959
+ min-inline-size: 0;
960
+ min-block-size: 0;
961
+ overflow: auto;
962
+ }
963
+
964
+ .aheart-splitter__handle {
965
+ position: relative;
966
+ z-index: 1;
967
+ flex: 0 0 6px;
968
+ border: 0;
969
+ background: transparent;
970
+ cursor: col-resize;
971
+ touch-action: none;
972
+ }
973
+
974
+ .aheart-splitter__handle::after {
975
+ position: absolute;
976
+ inset: 0 2px;
977
+ background: var(--aheart-splitter-line-color, var(--aheart-color-border, #d9d9d9));
978
+ content: '';
979
+ }
980
+
981
+ .aheart-splitter__handle::before {
982
+ position: absolute;
983
+ z-index: 1;
984
+ inset-block-start: 50%;
985
+ inset-inline-start: 50%;
986
+ inline-size: 4px;
987
+ block-size: 28px;
988
+ border-radius: 2px;
989
+ background: var(--aheart-color-text-secondary, #646a73);
990
+ box-shadow: 0 0 0 3px var(--aheart-color-bg, #fff);
991
+ content: '';
992
+ pointer-events: none;
993
+ transform: translate(-50%, -50%);
994
+ }
995
+
996
+ .aheart-splitter__handle:hover::after,
997
+ .aheart-splitter__handle:focus-visible::after {
998
+ --aheart-splitter-line-color: var(--aheart-color-primary, #1677ff);
999
+ }
1000
+
1001
+ .aheart-splitter__handle:hover::before,
1002
+ .aheart-splitter__handle:focus-visible::before {
1003
+ background: var(--aheart-color-primary, #1677ff);
1004
+ }
1005
+
1006
+ .aheart-splitter__handle--vertical {
1007
+ flex-basis: 6px;
1008
+ cursor: row-resize;
1009
+ }
1010
+
1011
+ .aheart-splitter__handle--vertical::after {
1012
+ inset: 2px 0;
1013
+ }
1014
+
1015
+ .aheart-splitter__handle--vertical::before {
1016
+ inline-size: 28px;
1017
+ block-size: 4px;
1018
+ }
1019
+
1020
+ @media (max-width: 640px) {
1021
+ .aheart-splitter__handle {
1022
+ min-inline-size: 0;
1023
+ }
1024
+
1025
+ .aheart-splitter__handle::after {
1026
+ inset-inline: -19px;
1027
+ background: linear-gradient(
1028
+ to right,
1029
+ transparent 19px,
1030
+ var(--aheart-splitter-line-color, var(--aheart-color-border, #d9d9d9)) 19px 25px,
1031
+ transparent 25px
1032
+ );
1033
+ }
1034
+
1035
+ .aheart-splitter__handle--vertical {
1036
+ min-block-size: 0;
1037
+ }
1038
+
1039
+ .aheart-splitter__handle--vertical::after {
1040
+ inset-block: -19px;
1041
+ background: linear-gradient(
1042
+ to bottom,
1043
+ transparent 19px,
1044
+ var(--aheart-splitter-line-color, var(--aheart-color-border, #d9d9d9)) 19px 25px,
1045
+ transparent 25px
1046
+ );
1047
+ }
1048
+ }
1049
+
1050
+ .aheart-splitter__collapse {
1051
+ position: absolute;
1052
+ z-index: 1;
1053
+ inset: 50% auto auto 50%;
1054
+ inline-size: 14px;
1055
+ block-size: 14px;
1056
+ padding: 0;
1057
+ border: 1px solid var(--aheart-color-border, #d9d9d9);
1058
+ border-radius: 50%;
1059
+ background: var(--aheart-color-bg-container, #fff);
1060
+ color: var(--aheart-color-text, #1f1f1f);
1061
+ cursor: pointer;
1062
+ transform: translate(-50%, -50%);
1063
+ }
1064
+
1065
+ .aheart-splitter__collapse::before,
1066
+ .aheart-splitter__collapse::after {
1067
+ position: absolute;
1068
+ inset: 50% auto auto 50%;
1069
+ inline-size: 6px;
1070
+ block-size: 1px;
1071
+ background: currentColor;
1072
+ content: '';
1073
+ transform: translate(-50%, -50%);
1074
+ }
1075
+
1076
+ .aheart-splitter__collapse[aria-pressed='false']::after {
1077
+ transform: translate(-50%, -50%) rotate(90deg);
1078
+ }
1079
+
1080
+ .aheart-splitter__collapse:focus-visible {
1081
+ outline: 2px solid var(--aheart-color-primary, #1677ff);
1082
+ outline-offset: 1px;
1083
+ }
1084
+ .aheart-dnd-dragging { cursor: grabbing; user-select: none; }
1085
+ .aheart-dnd-keyboard-grabbed { outline: 2px solid currentColor; outline-offset: 2px; cursor: grabbing; }
1086
+ .aheart-dnd-keyboard-compatible { outline: 2px dashed currentColor; outline-offset: 2px; }
1087
+ .aheart-dnd-sortable-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
1088
+ .aheart-dnd-sortable-item { cursor: grab; outline: none; }
1089
+ .aheart-dnd-sortable-handle { cursor: grab; touch-action: none; }
1090
+ .aheart-dnd-sortable-item:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
1091
+ .aheart-dnd-live-region { position: fixed; overflow: hidden; inline-size: 1px; block-size: 1px; clip: rect(0 0 0 0); white-space: nowrap; }
1092
+ :root {
1093
+ --aheart-ai-cyan: #0e7490;
1094
+ --aheart-ai-cyan-strong: #0e7490;
1095
+ --aheart-ai-brand-strong: #0958d9;
1096
+ --aheart-ai-cyan-soft: #ecfeff;
1097
+ --aheart-ai-line: #e4e7ec;
1098
+ --aheart-ai-surface: #ffffff;
1099
+ --aheart-ai-surface-subtle: #f8fafc;
1100
+ --aheart-ai-text: #182230;
1101
+ --aheart-ai-text-secondary: #667085;
1102
+ }
1103
+
1104
+ .aheart-ai-visually-hidden {
1105
+ position: absolute;
1106
+ width: 1px;
1107
+ height: 1px;
1108
+ padding: 0;
1109
+ margin: -1px;
1110
+ overflow: hidden;
1111
+ clip: rect(0, 0, 0, 0);
1112
+ white-space: nowrap;
1113
+ border: 0;
1114
+ }
1115
+
1116
+ .aheart-ai-chat-panel,
1117
+ .aheart-ai-workbench {
1118
+ box-sizing: border-box;
1119
+ color: var(--aheart-color-text, var(--aheart-ai-text));
1120
+ letter-spacing: 0;
1121
+ }
1122
+
1123
+ .aheart-ai-chat-panel *,
1124
+ .aheart-ai-workbench * {
1125
+ box-sizing: border-box;
1126
+ }
1127
+
1128
+ .aheart-ai-chat-panel {
1129
+ display: grid;
1130
+ grid-template-columns: minmax(0, 1fr);
1131
+ min-block-size: 520px;
1132
+ overflow: hidden;
1133
+ border: 1px solid var(--aheart-ai-line);
1134
+ border-radius: 8px;
1135
+ background: var(--aheart-ai-surface);
1136
+ }
1137
+
1138
+ .aheart-ai-chat-panel > .aheart-ai-conversations {
1139
+ display: flex;
1140
+ gap: 2px;
1141
+ overflow-x: auto;
1142
+ padding: 8px 12px;
1143
+ border-block-end: 1px solid var(--aheart-ai-line);
1144
+ background: var(--aheart-ai-surface-subtle);
1145
+ }
1146
+
1147
+ .aheart-ai-chat-panel > .aheart-ai-conversations button {
1148
+ min-block-size: 32px;
1149
+ padding: 5px 10px;
1150
+ border: 1px solid transparent;
1151
+ border-radius: 5px;
1152
+ background: transparent;
1153
+ color: var(--aheart-ai-text-secondary);
1154
+ font: inherit;
1155
+ white-space: nowrap;
1156
+ cursor: pointer;
1157
+ transition: border-color 120ms ease-out, background-color 120ms ease-out, color 120ms ease-out;
1158
+ }
1159
+
1160
+ .aheart-ai-chat-panel > .aheart-ai-conversations button:hover,
1161
+ .aheart-ai-chat-panel > .aheart-ai-conversations button:focus-visible {
1162
+ border-color: #b9c2cf;
1163
+ background: #fff;
1164
+ color: var(--aheart-ai-text);
1165
+ outline: none;
1166
+ }
1167
+
1168
+ .aheart-ai-chat-panel > .aheart-ai-conversations button.is-active {
1169
+ border-color: #91caff;
1170
+ background: #e6f4ff;
1171
+ color: var(--aheart-color-primary, #1677ff);
1172
+ }
1173
+
1174
+ .aheart-ai-chat-panel > .aheart-ai-conversations button.is-active:focus-visible {
1175
+ outline: 2px solid #0958d9;
1176
+ outline-offset: 2px;
1177
+ }
1178
+
1179
+ .aheart-ai-chat-panel__surface {
1180
+ display: grid;
1181
+ grid-template-rows: minmax(0, 1fr) auto;
1182
+ min-block-size: 0;
1183
+ }
1184
+
1185
+ .aheart-ai-chat-panel__messages {
1186
+ display: flex;
1187
+ flex-direction: column;
1188
+ gap: 18px;
1189
+ min-block-size: 300px;
1190
+ max-block-size: 560px;
1191
+ overflow-y: auto;
1192
+ padding: 24px clamp(16px, 4vw, 40px);
1193
+ scroll-behavior: smooth;
1194
+ }
1195
+
1196
+ .aheart-ai-chat-panel__empty {
1197
+ display: grid;
1198
+ align-content: center;
1199
+ gap: 20px;
1200
+ min-block-size: 340px;
1201
+ padding: 32px clamp(20px, 6vw, 64px);
1202
+ background-image:
1203
+ linear-gradient(var(--aheart-ai-line) 1px, transparent 1px),
1204
+ linear-gradient(90deg, var(--aheart-ai-line) 1px, transparent 1px);
1205
+ background-size: 32px 32px;
1206
+ background-position: -1px -1px;
1207
+ }
1208
+
1209
+ .aheart-ai-chat-panel__empty::before {
1210
+ content: "AI";
1211
+ display: grid;
1212
+ place-items: center;
1213
+ inline-size: 40px;
1214
+ block-size: 40px;
1215
+ border: 1px solid #67e8f9;
1216
+ border-radius: 7px;
1217
+ background: var(--aheart-ai-cyan-soft);
1218
+ color: #0e7490;
1219
+ font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
1220
+ }
1221
+
1222
+ .aheart-ai-welcome {
1223
+ display: grid;
1224
+ gap: 6px;
1225
+ max-inline-size: 620px;
1226
+ }
1227
+
1228
+ .aheart-ai-welcome__title,
1229
+ .aheart-ai-welcome__description,
1230
+ .aheart-ai-sources h3,
1231
+ .aheart-ai-sources p,
1232
+ .aheart-ai-process h3 {
1233
+ margin: 0;
1234
+ }
1235
+
1236
+ .aheart-ai-welcome__title {
1237
+ color: var(--aheart-ai-text);
1238
+ font-size: 24px;
1239
+ line-height: 1.35;
1240
+ }
1241
+
1242
+ .aheart-ai-welcome__description {
1243
+ color: var(--aheart-ai-text-secondary);
1244
+ line-height: 1.65;
1245
+ }
1246
+
1247
+ .aheart-ai-prompts {
1248
+ display: grid;
1249
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1250
+ gap: 8px;
1251
+ margin: 0;
1252
+ padding: 0;
1253
+ list-style: none;
1254
+ }
1255
+
1256
+ .aheart-ai-prompts li {
1257
+ margin: 0;
1258
+ padding: 0;
1259
+ min-inline-size: 0;
1260
+ list-style: none !important;
1261
+ }
1262
+
1263
+ .aheart-ai-prompts li::marker {
1264
+ content: "";
1265
+ }
1266
+
1267
+ .aheart-ai-prompts button {
1268
+ display: grid;
1269
+ gap: 4px;
1270
+ min-block-size: 64px;
1271
+ inline-size: 100%;
1272
+ padding: 11px 12px;
1273
+ border: 1px solid #d0d5dd;
1274
+ border-radius: 6px;
1275
+ background: rgba(255, 255, 255, 0.96);
1276
+ color: var(--aheart-ai-text);
1277
+ font: inherit;
1278
+ text-align: left;
1279
+ cursor: pointer;
1280
+ transition: transform 120ms ease-out, border-color 120ms ease-out, background-color 120ms ease-out;
1281
+ }
1282
+
1283
+ .aheart-ai-prompts button:hover,
1284
+ .aheart-ai-prompts button:focus-visible {
1285
+ transform: translateY(-2px);
1286
+ border-color: #69b1ff;
1287
+ background: #f0f7ff;
1288
+ outline: none;
1289
+ }
1290
+
1291
+ .aheart-ai-prompts span,
1292
+ .aheart-ai-process small {
1293
+ display: block;
1294
+ color: var(--aheart-ai-text-secondary);
1295
+ font-size: 12px;
1296
+ }
1297
+
1298
+ .aheart-ai-bubble {
1299
+ position: relative;
1300
+ display: grid;
1301
+ gap: 8px;
1302
+ max-inline-size: min(760px, 92%);
1303
+ margin: 0;
1304
+ padding: 12px 14px;
1305
+ border: 1px solid var(--aheart-ai-line);
1306
+ border-radius: 7px;
1307
+ background: #fff;
1308
+ box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
1309
+ }
1310
+
1311
+ .aheart-ai-bubble.is-user {
1312
+ align-self: end;
1313
+ border-color: #91caff;
1314
+ background: #f0f7ff;
1315
+ }
1316
+
1317
+ .aheart-ai-bubble.is-assistant {
1318
+ align-self: start;
1319
+ border-inline-start: 3px solid var(--aheart-ai-cyan);
1320
+ }
1321
+
1322
+ .aheart-ai-bubble__header {
1323
+ color: var(--aheart-ai-text-secondary);
1324
+ font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
1325
+ text-transform: uppercase;
1326
+ }
1327
+
1328
+ .aheart-ai-bubble__content,
1329
+ .aheart-ai-bubble__error {
1330
+ margin: 0;
1331
+ line-height: 1.72;
1332
+ white-space: pre-wrap;
1333
+ overflow-wrap: anywhere;
1334
+ }
1335
+
1336
+ .aheart-ai-bubble__content a {
1337
+ color: var(--aheart-color-primary, #1677ff);
1338
+ }
1339
+
1340
+ .aheart-ai-bubble__tool-call {
1341
+ display: grid;
1342
+ min-inline-size: 0;
1343
+ gap: 10px;
1344
+ margin-block: 10px;
1345
+ padding: 12px;
1346
+ overflow-wrap: anywhere;
1347
+ border: 1px solid var(--aheart-ai-line, #d0d5dd);
1348
+ border-radius: 8px;
1349
+ background: var(--aheart-ai-surface-subtle, #f8fafc);
1350
+ }
1351
+ .aheart-ai-bubble__tool-heading {
1352
+ display: grid;
1353
+ gap: 3px;
1354
+ }
1355
+ .aheart-ai-bubble__tool-heading strong {
1356
+ color: var(--aheart-ai-text, #101828);
1357
+ font-size: 13px;
1358
+ }
1359
+ .aheart-ai-bubble__tool-heading span {
1360
+ color: var(--aheart-ai-text-secondary, #475467);
1361
+ font-size: 13px;
1362
+ line-height: 1.45;
1363
+ }
1364
+ .aheart-ai-bubble__tool-details {
1365
+ display: grid;
1366
+ grid-template-columns: max-content minmax(0, 1fr);
1367
+ gap: 6px 10px;
1368
+ margin: 0;
1369
+ font-size: 12px;
1370
+ line-height: 1.45;
1371
+ }
1372
+ .aheart-ai-bubble__tool-details dt {
1373
+ color: var(--aheart-ai-text-secondary, #667085);
1374
+ font-weight: 600;
1375
+ }
1376
+ .aheart-ai-bubble__tool-details dd {
1377
+ display: flex;
1378
+ min-inline-size: 0;
1379
+ flex-wrap: wrap;
1380
+ gap: 6px;
1381
+ margin: 0;
1382
+ color: var(--aheart-ai-text, #344054);
1383
+ }
1384
+ .aheart-ai-bubble__tool-details small {
1385
+ padding: 1px 5px;
1386
+ border-radius: 4px;
1387
+ background: color-mix(in srgb, currentColor 10%, transparent);
1388
+ font-size: 11px;
1389
+ }
1390
+
1391
+ .aheart-ai-chat-panel__stream-reconnecting {
1392
+ margin: 0 0 8px;
1393
+ padding: 7px 10px;
1394
+ border: 1px solid var(--aheart-ai-brand, #84caff);
1395
+ border-radius: 6px;
1396
+ background: color-mix(in srgb, var(--aheart-ai-brand, #84caff) 12%, transparent);
1397
+ color: var(--aheart-ai-text, #344054);
1398
+ font-size: 12px;
1399
+ line-height: 1.4;
1400
+ }
1401
+
1402
+ .aheart-ai-bubble__error {
1403
+ padding: 8px 10px;
1404
+ border-inline-start: 3px solid var(--aheart-color-danger, #d92d20);
1405
+ background: #fff1f0;
1406
+ color: #b42318;
1407
+ }
1408
+
1409
+ .aheart-ai-chat-panel__message-actions {
1410
+ display: flex;
1411
+ flex-wrap: wrap;
1412
+ gap: 2px;
1413
+ min-block-size: 26px;
1414
+ }
1415
+
1416
+ .aheart-ai-chat-panel__message-actions button,
1417
+ .aheart-ai-chat-panel__editing button,
1418
+ .aheart-ai-attachments button {
1419
+ min-block-size: 28px;
1420
+ padding: 3px 8px;
1421
+ border: 1px solid transparent;
1422
+ border-radius: 4px;
1423
+ background: transparent;
1424
+ color: var(--aheart-ai-text-secondary);
1425
+ font: 12px/1.4 inherit;
1426
+ cursor: pointer;
1427
+ transition: border-color 120ms ease-out, background-color 120ms ease-out, color 120ms ease-out;
1428
+ }
1429
+
1430
+ .aheart-ai-chat-panel__message-actions button:hover,
1431
+ .aheart-ai-chat-panel__message-actions button:focus-visible,
1432
+ .aheart-ai-chat-panel__editing button:hover,
1433
+ .aheart-ai-chat-panel__editing button:focus-visible,
1434
+ .aheart-ai-attachments button:hover,
1435
+ .aheart-ai-attachments button:focus-visible {
1436
+ border-color: #b9c2cf;
1437
+ background: var(--aheart-ai-surface-subtle);
1438
+ color: var(--aheart-ai-text);
1439
+ outline: none;
1440
+ }
1441
+
1442
+ .aheart-ai-chat-panel__composer {
1443
+ display: grid;
1444
+ gap: 8px;
1445
+ padding: 12px 16px 16px;
1446
+ border-block-start: 1px solid var(--aheart-ai-line);
1447
+ background: #fff;
1448
+ }
1449
+
1450
+ .aheart-ai-chat-panel__editing {
1451
+ display: flex;
1452
+ align-items: center;
1453
+ justify-content: space-between;
1454
+ gap: 12px;
1455
+ padding: 6px 10px;
1456
+ border-inline-start: 3px solid var(--aheart-color-primary, #1677ff);
1457
+ background: #f0f7ff;
1458
+ color: #175cd3;
1459
+ font-size: 12px;
1460
+ }
1461
+
1462
+ .aheart-ai-sender {
1463
+ display: grid;
1464
+ grid-template-columns: minmax(0, 1fr) auto;
1465
+ align-items: end;
1466
+ gap: 8px;
1467
+ padding: 6px;
1468
+ border: 1px solid #b9c2cf;
1469
+ border-radius: 7px;
1470
+ background: #fff;
1471
+ box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
1472
+ transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
1473
+ }
1474
+
1475
+ .aheart-ai-sender:focus-within {
1476
+ border-color: var(--aheart-color-primary, #1677ff);
1477
+ box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
1478
+ }
1479
+
1480
+ .aheart-ai-sender textarea {
1481
+ inline-size: 100%;
1482
+ min-block-size: 56px;
1483
+ max-block-size: 160px;
1484
+ resize: vertical;
1485
+ padding: 8px;
1486
+ border: 0;
1487
+ background: transparent;
1488
+ color: var(--aheart-ai-text);
1489
+ font: inherit;
1490
+ line-height: 1.55;
1491
+ outline: none;
1492
+ }
1493
+
1494
+ .aheart-ai-sender button {
1495
+ min-inline-size: 72px;
1496
+ min-block-size: 36px;
1497
+ padding: 7px 14px;
1498
+ border: 1px solid var(--aheart-color-primary, #1677ff);
1499
+ border-radius: 5px;
1500
+ background: var(--aheart-color-primary, #1677ff);
1501
+ color: #fff;
1502
+ font: 500 14px/1 inherit;
1503
+ cursor: pointer;
1504
+ transition: background-color 120ms ease-out, border-color 120ms ease-out;
1505
+ }
1506
+
1507
+ .aheart-ai-sender button:hover:not(:disabled),
1508
+ .aheart-ai-sender button:focus-visible {
1509
+ border-color: #0958d9;
1510
+ background: #0958d9;
1511
+ outline: none;
1512
+ }
1513
+
1514
+ .aheart-ai-sender button:disabled {
1515
+ border-color: #d0d5dd;
1516
+ background: #eaecf0;
1517
+ color: #98a2b3;
1518
+ cursor: not-allowed;
1519
+ }
1520
+
1521
+ .aheart-ai-conversations,
1522
+ .aheart-ai-sources,
1523
+ .aheart-ai-process,
1524
+ .aheart-ai-attachments {
1525
+ display: grid;
1526
+ gap: 8px;
1527
+ }
1528
+
1529
+ .aheart-ai-conversations button {
1530
+ min-block-size: 36px;
1531
+ padding: 7px 9px;
1532
+ border: 1px solid transparent;
1533
+ border-radius: 5px;
1534
+ background: transparent;
1535
+ color: var(--aheart-ai-text-secondary);
1536
+ font: inherit;
1537
+ text-align: left;
1538
+ cursor: pointer;
1539
+ }
1540
+
1541
+ .aheart-ai-conversations button:hover,
1542
+ .aheart-ai-conversations button:focus-visible {
1543
+ background: #f2f4f7;
1544
+ color: var(--aheart-ai-text);
1545
+ outline: none;
1546
+ }
1547
+
1548
+ .aheart-ai-conversations button.is-active {
1549
+ border-color: #b2ddff;
1550
+ background: #eff8ff;
1551
+ color: #175cd3;
1552
+ }
1553
+
1554
+ .aheart-ai-attachments,
1555
+ .aheart-ai-sources ul,
1556
+ .aheart-ai-process ol {
1557
+ margin: 0;
1558
+ padding: 0;
1559
+ list-style: none;
1560
+ }
1561
+
1562
+ .aheart-ai-attachments li,
1563
+ .aheart-ai-sources li {
1564
+ display: flex;
1565
+ align-items: center;
1566
+ justify-content: space-between;
1567
+ gap: 8px;
1568
+ min-block-size: 34px;
1569
+ padding: 6px 8px;
1570
+ border: 1px solid var(--aheart-ai-line);
1571
+ border-radius: 5px;
1572
+ background: var(--aheart-ai-surface-subtle);
1573
+ font-size: 12px;
1574
+ }
1575
+
1576
+ .aheart-ai-sources {
1577
+ padding-block-start: 8px;
1578
+ border-block-start: 1px solid var(--aheart-ai-line);
1579
+ }
1580
+
1581
+ .aheart-ai-sources a {
1582
+ color: var(--aheart-ai-brand-strong);
1583
+ }
1584
+
1585
+ .aheart-ai-sources h3,
1586
+ .aheart-ai-process h3 {
1587
+ font-size: 12px;
1588
+ color: var(--aheart-ai-text-secondary);
1589
+ }
1590
+
1591
+ .aheart-ai-process ol {
1592
+ display: grid;
1593
+ gap: 6px;
1594
+ }
1595
+
1596
+ .aheart-ai-process li {
1597
+ position: relative;
1598
+ display: grid;
1599
+ gap: 2px;
1600
+ padding-inline-start: 16px;
1601
+ }
1602
+
1603
+ .aheart-ai-process li::before {
1604
+ content: "";
1605
+ position: absolute;
1606
+ inset-block-start: 7px;
1607
+ inset-inline-start: 2px;
1608
+ inline-size: 6px;
1609
+ block-size: 6px;
1610
+ border-radius: 50%;
1611
+ background: #98a2b3;
1612
+ }
1613
+
1614
+ .aheart-ai-process li.is-running::before {
1615
+ background: var(--aheart-ai-cyan);
1616
+ box-shadow: 0 0 0 3px #cffafe;
1617
+ }
1618
+
1619
+ .aheart-ai-process li.is-complete::before {
1620
+ background: #12b76a;
1621
+ }
1622
+
1623
+ .aheart-ai-process li.is-stopped::before {
1624
+ background: #98a2b3;
1625
+ }
1626
+
1627
+ .aheart-ai-process li.is-error {
1628
+ color: var(--aheart-color-danger, #d92d20);
1629
+ }
1630
+
1631
+ .aheart-ai-workbench {
1632
+ overflow: hidden;
1633
+ border: 1px solid var(--aheart-ai-line);
1634
+ border-radius: 8px;
1635
+ background: var(--aheart-ai-surface);
1636
+ scroll-margin-block-start: 112px;
1637
+ }
1638
+
1639
+ .aheart-ai-workbench__header {
1640
+ display: flex;
1641
+ align-items: center;
1642
+ justify-content: space-between;
1643
+ gap: 20px;
1644
+ min-block-size: 88px;
1645
+ padding: 16px 20px;
1646
+ border-block-end: 1px solid var(--aheart-ai-line);
1647
+ background: #fbfcfd;
1648
+ }
1649
+
1650
+ .aheart-ai-workbench__header > div:first-child {
1651
+ display: grid;
1652
+ gap: 3px;
1653
+ min-inline-size: 0;
1654
+ }
1655
+
1656
+ .aheart-ai-workbench__header h2,
1657
+ .aheart-ai-workbench__header p,
1658
+ .aheart-ai-workbench__sidebar h2,
1659
+ .aheart-ai-workbench__sidebar h3,
1660
+ .aheart-ai-workbench__execution h2,
1661
+ .aheart-ai-workbench__execution h3,
1662
+ .aheart-ai-workbench__execution p,
1663
+ .aheart-ai-workbench__execution ol,
1664
+ .aheart-ai-workbench__execution ul {
1665
+ margin: 0;
1666
+ }
1667
+
1668
+ .aheart-ai-workbench__header h2 {
1669
+ font-size: 18px;
1670
+ line-height: 1.4;
1671
+ }
1672
+
1673
+ .aheart-ai-workbench__header p {
1674
+ color: var(--aheart-ai-text-secondary);
1675
+ font-size: 13px;
1676
+ }
1677
+
1678
+ .aheart-ai-workbench__eyebrow {
1679
+ color: var(--aheart-ai-cyan);
1680
+ font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
1681
+ }
1682
+
1683
+ .aheart-ai-workbench__header-status {
1684
+ display: grid;
1685
+ justify-items: end;
1686
+ gap: 5px;
1687
+ flex: none;
1688
+ }
1689
+
1690
+ .aheart-ai-workbench__header-status > span {
1691
+ display: inline-flex;
1692
+ align-items: center;
1693
+ min-block-size: 26px;
1694
+ padding: 3px 9px;
1695
+ border: 1px solid #d0d5dd;
1696
+ border-radius: 999px;
1697
+ background: #fff;
1698
+ color: #475467;
1699
+ font-size: 12px;
1700
+ font-weight: 600;
1701
+ white-space: nowrap;
1702
+ max-inline-size: 100%;
1703
+ overflow: hidden;
1704
+ text-overflow: ellipsis;
1705
+ }
1706
+
1707
+ .aheart-ai-workbench__header-status > span.is-running {
1708
+ border-color: #67e8f9;
1709
+ background: var(--aheart-ai-cyan-soft);
1710
+ color: #0e7490;
1711
+ }
1712
+
1713
+ .aheart-ai-workbench__header-status > span.is-waiting {
1714
+ border-color: #fedf89;
1715
+ background: #fffaeb;
1716
+ color: #b54708;
1717
+ }
1718
+
1719
+ .aheart-ai-workbench__header-status > span.is-error {
1720
+ border-color: #fecdca;
1721
+ background: #fef3f2;
1722
+ color: #b42318;
1723
+ }
1724
+
1725
+ .aheart-ai-workbench__header-status > span.is-complete {
1726
+ border-color: #abefc6;
1727
+ background: #ecfdf3;
1728
+ color: #067647;
1729
+ }
1730
+
1731
+ .aheart-ai-workbench__progress {
1732
+ color: var(--aheart-ai-text-secondary);
1733
+ font-size: 11px;
1734
+ }
1735
+
1736
+ .aheart-ai-workbench__pending-summary {
1737
+ display: none;
1738
+ border: 0;
1739
+ background: transparent;
1740
+ font-family: inherit;
1741
+ }
1742
+
1743
+ .aheart-ai-workbench__desktop {
1744
+ min-block-size: 680px;
1745
+ }
1746
+
1747
+ .aheart-ai-workbench__desktop > .aheart-splitter {
1748
+ min-block-size: 680px;
1749
+ }
1750
+
1751
+ .aheart-ai-workbench__sidebar,
1752
+ .aheart-ai-workbench__chat,
1753
+ .aheart-ai-workbench__execution {
1754
+ box-sizing: border-box;
1755
+ block-size: 100%;
1756
+ min-block-size: 680px;
1757
+ overflow-y: auto;
1758
+ padding: 16px;
1759
+ }
1760
+
1761
+ .aheart-ai-workbench__sidebar {
1762
+ display: grid;
1763
+ align-content: start;
1764
+ gap: 18px;
1765
+ background: #fbfcfd;
1766
+ }
1767
+
1768
+ .aheart-ai-workbench__sidebar > h2,
1769
+ .aheart-ai-workbench__context > h3 {
1770
+ font-size: 13px;
1771
+ }
1772
+
1773
+ .aheart-ai-workbench__context {
1774
+ display: grid;
1775
+ gap: 8px;
1776
+ padding-block-start: 14px;
1777
+ border-block-start: 1px solid var(--aheart-ai-line);
1778
+ }
1779
+
1780
+ .aheart-ai-workbench .aheart-dnd-sortable-list,
1781
+ .aheart-ai-workbench__artifact-list {
1782
+ margin: 0;
1783
+ padding: 0;
1784
+ list-style: none !important;
1785
+ }
1786
+
1787
+ .aheart-ai-workbench .aheart-dnd-sortable-list > li,
1788
+ .aheart-ai-workbench__artifact-list > li {
1789
+ margin: 0;
1790
+ padding: 0;
1791
+ list-style: none !important;
1792
+ }
1793
+
1794
+ .aheart-ai-workbench .aheart-dnd-sortable-list > li::marker,
1795
+ .aheart-ai-workbench__artifact-list > li::marker {
1796
+ content: "";
1797
+ }
1798
+
1799
+ .aheart-ai-workbench__context-item {
1800
+ display: grid;
1801
+ gap: 4px;
1802
+ padding: 8px;
1803
+ border: 1px solid var(--aheart-ai-line);
1804
+ border-radius: 5px;
1805
+ background: #fff;
1806
+ }
1807
+
1808
+ .aheart-ai-workbench__context-item small,
1809
+ .aheart-ai-workbench__task-detail,
1810
+ .aheart-ai-workbench__task-time,
1811
+ .aheart-ai-workbench__artifact-list small,
1812
+ .aheart-ai-workbench__artifact-preview small {
1813
+ color: var(--aheart-ai-text-secondary);
1814
+ font-size: 11px;
1815
+ }
1816
+
1817
+ .aheart-ai-workbench__move-actions,
1818
+ .aheart-ai-workbench__task-actions {
1819
+ display: flex;
1820
+ flex-wrap: wrap;
1821
+ gap: 2px;
1822
+ }
1823
+
1824
+ .aheart-ai-workbench__move-actions .aheart-button,
1825
+ .aheart-ai-workbench__task-actions .aheart-button {
1826
+ min-block-size: 26px;
1827
+ padding-inline: 6px;
1828
+ font-size: 12px;
1829
+ }
1830
+
1831
+ .aheart-ai-workbench__chat {
1832
+ display: grid;
1833
+ align-content: start;
1834
+ gap: 18px;
1835
+ min-inline-size: 0;
1836
+ background: #fff;
1837
+ }
1838
+
1839
+ .aheart-ai-workbench__chat > .aheart-ai-chat-panel {
1840
+ min-block-size: 560px;
1841
+ border: 0;
1842
+ border-radius: 0;
1843
+ }
1844
+
1845
+ .aheart-ai-workbench__execution {
1846
+ padding: 0;
1847
+ background: #fbfcfd;
1848
+ }
1849
+
1850
+ .aheart-ai-workbench__execution-content,
1851
+ .aheart-ai-workbench__tasks,
1852
+ .aheart-ai-workbench__artifacts {
1853
+ display: grid;
1854
+ align-content: start;
1855
+ gap: 12px;
1856
+ }
1857
+
1858
+ .aheart-ai-workbench__execution-content {
1859
+ min-inline-size: 0;
1860
+ overflow-x: hidden;
1861
+ padding: 16px;
1862
+ }
1863
+
1864
+ .aheart-ai-workbench__mobile-priority {
1865
+ display: none;
1866
+ }
1867
+
1868
+ .aheart-ai-workbench__mobile-tab-label {
1869
+ display: inline-flex;
1870
+ align-items: center;
1871
+ gap: 4px;
1872
+ }
1873
+
1874
+ .aheart-ai-workbench__pending-badge {
1875
+ display: inline-flex;
1876
+ align-items: center;
1877
+ justify-content: center;
1878
+ min-inline-size: 18px;
1879
+ block-size: 18px;
1880
+ padding-inline: 4px;
1881
+ border-radius: 999px;
1882
+ background: #fff1f0;
1883
+ color: #b42318;
1884
+ font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
1885
+ }
1886
+
1887
+ .aheart-ai-workbench__section-heading {
1888
+ display: flex;
1889
+ align-items: end;
1890
+ justify-content: space-between;
1891
+ gap: 12px;
1892
+ padding-block-end: 9px;
1893
+ border-block-end: 1px solid var(--aheart-ai-line);
1894
+ }
1895
+
1896
+ .aheart-ai-workbench__section-heading > div {
1897
+ display: grid;
1898
+ gap: 2px;
1899
+ }
1900
+
1901
+ .aheart-ai-workbench__section-heading h2 {
1902
+ font-size: 14px;
1903
+ }
1904
+
1905
+ .aheart-ai-workbench__section-heading > span {
1906
+ color: var(--aheart-ai-text-secondary);
1907
+ font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
1908
+ }
1909
+
1910
+ .aheart-ai-workbench__timeline .aheart-dnd-sortable-list {
1911
+ display: grid;
1912
+ gap: 0;
1913
+ margin: 0;
1914
+ padding: 0;
1915
+ list-style: none;
1916
+ }
1917
+
1918
+ .aheart-ai-workbench__timeline .aheart-dnd-sortable-item {
1919
+ padding: 0;
1920
+ }
1921
+
1922
+ .aheart-ai-workbench__timeline-item {
1923
+ position: relative;
1924
+ display: grid;
1925
+ grid-template-columns: 14px minmax(0, 1fr);
1926
+ gap: 8px;
1927
+ padding: 10px 0;
1928
+ }
1929
+
1930
+ .aheart-ai-workbench__timeline-item::before {
1931
+ content: "";
1932
+ position: absolute;
1933
+ inset-block: 21px -11px;
1934
+ inset-inline-start: 6px;
1935
+ inline-size: 1px;
1936
+ background: #d0d5dd;
1937
+ }
1938
+
1939
+ .aheart-dnd-sortable-item:last-child .aheart-ai-workbench__timeline-item::before {
1940
+ display: none;
1941
+ }
1942
+
1943
+ .aheart-ai-workbench__timeline-marker {
1944
+ position: relative;
1945
+ z-index: 1;
1946
+ inline-size: 11px;
1947
+ block-size: 11px;
1948
+ margin-block-start: 4px;
1949
+ border: 2px solid #98a2b3;
1950
+ border-radius: 50%;
1951
+ background: #fff;
1952
+ }
1953
+
1954
+ .aheart-ai-workbench__timeline-item.is-running .aheart-ai-workbench__timeline-marker {
1955
+ border-color: var(--aheart-ai-cyan);
1956
+ box-shadow: 0 0 0 3px #cffafe;
1957
+ }
1958
+
1959
+ .aheart-ai-workbench__timeline-item.is-complete .aheart-ai-workbench__timeline-marker {
1960
+ border-color: #12b76a;
1961
+ background: #12b76a;
1962
+ }
1963
+
1964
+ .aheart-ai-workbench__timeline-item.is-waiting-approval .aheart-ai-workbench__timeline-marker {
1965
+ border-color: #f79009;
1966
+ background: #fffaeb;
1967
+ }
1968
+
1969
+ .aheart-ai-workbench__timeline-item.is-error .aheart-ai-workbench__timeline-marker {
1970
+ border-color: #f04438;
1971
+ background: #fef3f2;
1972
+ }
1973
+
1974
+ .aheart-ai-workbench__task-body,
1975
+ .aheart-ai-workbench__task-summary > div {
1976
+ display: grid;
1977
+ gap: 5px;
1978
+ min-inline-size: 0;
1979
+ }
1980
+
1981
+ .aheart-ai-workbench__task-summary {
1982
+ display: flex;
1983
+ align-items: start;
1984
+ justify-content: space-between;
1985
+ gap: 8px;
1986
+ }
1987
+
1988
+ .aheart-ai-workbench__task-summary strong {
1989
+ overflow-wrap: anywhere;
1990
+ font-size: 13px;
1991
+ }
1992
+
1993
+ .aheart-ai-workbench__tool-name {
1994
+ inline-size: fit-content;
1995
+ padding: 2px 5px;
1996
+ border: 1px solid #b2ddff;
1997
+ border-radius: 3px;
1998
+ background: #eff8ff;
1999
+ color: #175cd3;
2000
+ font: 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
2001
+ }
2002
+
2003
+ .aheart-ai-workbench__task-status {
2004
+ flex: none;
2005
+ color: var(--aheart-ai-text-secondary);
2006
+ font-size: 11px;
2007
+ }
2008
+
2009
+ .aheart-ai-workbench__task-detail {
2010
+ margin: 0;
2011
+ line-height: 1.5;
2012
+ }
2013
+
2014
+ .aheart-ai-workbench__task-progress {
2015
+ display: grid;
2016
+ grid-template-columns: minmax(0, 1fr) auto;
2017
+ align-items: center;
2018
+ gap: 8px;
2019
+ }
2020
+
2021
+ .aheart-ai-workbench__task-progress [role="progressbar"] {
2022
+ block-size: 5px;
2023
+ overflow: hidden;
2024
+ border-radius: 3px;
2025
+ background: #eaecf0;
2026
+ }
2027
+
2028
+ .aheart-ai-workbench__task-progress [role="progressbar"] span {
2029
+ display: block;
2030
+ block-size: 100%;
2031
+ background: var(--aheart-ai-cyan);
2032
+ transition: inline-size 180ms ease-out;
2033
+ }
2034
+
2035
+ .aheart-ai-workbench__task-time {
2036
+ display: flex;
2037
+ flex-wrap: wrap;
2038
+ gap: 8px;
2039
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
2040
+ }
2041
+
2042
+ .aheart-ai-workbench__task-error {
2043
+ border: 1px solid #fecdca;
2044
+ border-radius: 4px;
2045
+ background: #fff7f6;
2046
+ color: #b42318;
2047
+ font-size: 12px;
2048
+ }
2049
+
2050
+ .aheart-ai-workbench__task-error summary {
2051
+ padding: 6px 8px;
2052
+ cursor: pointer;
2053
+ }
2054
+
2055
+ .aheart-ai-workbench__task-error p {
2056
+ padding: 0 8px 8px;
2057
+ line-height: 1.5;
2058
+ }
2059
+
2060
+ .aheart-ai-workbench__approval {
2061
+ display: grid;
2062
+ gap: 8px;
2063
+ margin-block-start: 4px;
2064
+ padding: 10px;
2065
+ border: 1px solid #fedf89;
2066
+ border-inline-start: 3px solid #f79009;
2067
+ background: #fffaeb;
2068
+ }
2069
+
2070
+ .aheart-ai-workbench__approval > div {
2071
+ display: grid;
2072
+ gap: 3px;
2073
+ }
2074
+
2075
+ .aheart-ai-workbench__approval strong {
2076
+ font-size: 12px;
2077
+ }
2078
+
2079
+ .aheart-ai-workbench__approval p {
2080
+ color: #93370d;
2081
+ font-size: 11px;
2082
+ line-height: 1.45;
2083
+ }
2084
+
2085
+ .aheart-ai-workbench__approval.is-approved {
2086
+ border-color: #abefc6;
2087
+ border-inline-start-color: #12b76a;
2088
+ background: #ecfdf3;
2089
+ }
2090
+
2091
+ .aheart-ai-workbench__approval.is-rejected {
2092
+ border-color: #fecdca;
2093
+ border-inline-start-color: #f04438;
2094
+ background: #fef3f2;
2095
+ }
2096
+
2097
+ .aheart-ai-workbench__approval-result {
2098
+ font-size: 12px;
2099
+ font-weight: 600;
2100
+ }
2101
+
2102
+ .aheart-ai-workbench__artifacts {
2103
+ padding-block-start: 12px;
2104
+ border-block-start: 1px solid var(--aheart-ai-line);
2105
+ }
2106
+
2107
+ .aheart-ai-workbench__artifact-list {
2108
+ display: grid;
2109
+ gap: 5px;
2110
+ }
2111
+
2112
+ .aheart-ai-workbench__artifact-list li {
2113
+ border: 1px solid var(--aheart-ai-line);
2114
+ border-radius: 5px;
2115
+ background: #fff;
2116
+ }
2117
+
2118
+ .aheart-ai-workbench__artifact-list li.is-active {
2119
+ border-color: #69b1ff;
2120
+ box-shadow: inset 3px 0 0 var(--aheart-color-primary, #1677ff);
2121
+ }
2122
+
2123
+ .aheart-ai-workbench__artifact-list button {
2124
+ display: grid;
2125
+ gap: 3px;
2126
+ inline-size: 100%;
2127
+ min-block-size: 48px;
2128
+ padding: 8px 10px;
2129
+ border: 0;
2130
+ background: transparent;
2131
+ color: var(--aheart-ai-text);
2132
+ font: inherit;
2133
+ text-align: left;
2134
+ cursor: pointer;
2135
+ }
2136
+
2137
+ .aheart-ai-workbench__artifact-list button:focus-visible {
2138
+ outline: 2px solid var(--aheart-color-primary, #1677ff);
2139
+ outline-offset: 2px;
2140
+ }
2141
+
2142
+ .aheart-ai-workbench__artifact-preview {
2143
+ display: grid;
2144
+ gap: 10px;
2145
+ min-block-size: 120px;
2146
+ padding: 12px;
2147
+ border: 1px solid #b2ddff;
2148
+ border-radius: 5px;
2149
+ background: #f8fbff;
2150
+ }
2151
+
2152
+ .aheart-ai-workbench__artifact-preview-header {
2153
+ display: flex;
2154
+ align-items: start;
2155
+ justify-content: space-between;
2156
+ gap: 8px;
2157
+ }
2158
+
2159
+ .aheart-ai-workbench__artifact-preview-header > div {
2160
+ display: grid;
2161
+ gap: 3px;
2162
+ }
2163
+
2164
+ .aheart-ai-workbench__artifact-preview-header span {
2165
+ color: var(--aheart-ai-cyan-strong);
2166
+ font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
2167
+ text-transform: uppercase;
2168
+ }
2169
+
2170
+ .aheart-ai-workbench__artifact-preview-header h3 {
2171
+ font-size: 13px;
2172
+ overflow-wrap: anywhere;
2173
+ }
2174
+
2175
+ .aheart-ai-workbench__artifact-preview-header a {
2176
+ flex: none;
2177
+ color: var(--aheart-color-primary, #1677ff);
2178
+ font-size: 11px;
2179
+ }
2180
+
2181
+ .aheart-ai-workbench__artifact-preview > p {
2182
+ color: var(--aheart-ai-text-secondary);
2183
+ font-size: 12px;
2184
+ line-height: 1.55;
2185
+ }
2186
+
2187
+ .aheart-ai-workbench__empty {
2188
+ margin: 0;
2189
+ padding: 12px;
2190
+ border: 1px dashed #d0d5dd;
2191
+ border-radius: 5px;
2192
+ color: var(--aheart-ai-text-secondary);
2193
+ font-size: 12px;
2194
+ text-align: center;
2195
+ }
2196
+
2197
+ .aheart-ai-workbench__mobile {
2198
+ display: none;
2199
+ }
2200
+
2201
+ @media (prefers-color-scheme: dark) {
2202
+ .aheart-ai-workbench__execution {
2203
+ --aheart-ai-line: #344054;
2204
+ --aheart-ai-surface: #101828;
2205
+ --aheart-ai-surface-subtle: #1d2939;
2206
+ --aheart-ai-text: #f2f4f7;
2207
+ --aheart-ai-text-secondary: #b8c3d1;
2208
+ background: var(--aheart-ai-surface);
2209
+ color: var(--aheart-ai-text);
2210
+ }
2211
+
2212
+ .aheart-ai-workbench__execution .aheart-ai-workbench__timeline-marker,
2213
+ .aheart-ai-workbench__execution .aheart-ai-workbench__artifact-list li,
2214
+ .aheart-ai-workbench__execution .aheart-ai-workbench__empty {
2215
+ background: var(--aheart-ai-surface-subtle);
2216
+ }
2217
+
2218
+ .aheart-ai-workbench__execution .aheart-ai-workbench__task-progress [role="progressbar"] {
2219
+ background: #475467;
2220
+ }
2221
+
2222
+ .aheart-ai-workbench__execution .aheart-ai-workbench__artifact-preview {
2223
+ border-color: #3b82f6;
2224
+ background: #172554;
2225
+ }
2226
+ }
2227
+
2228
+ @media (max-width: 760px) {
2229
+ .aheart-ai-chat-panel {
2230
+ min-block-size: 480px;
2231
+ }
2232
+
2233
+ .aheart-ai-chat-panel__messages {
2234
+ max-block-size: 500px;
2235
+ padding: 18px 12px;
2236
+ }
2237
+
2238
+ .aheart-ai-chat-panel__empty {
2239
+ min-block-size: 300px;
2240
+ padding: 24px 16px;
2241
+ }
2242
+
2243
+ .aheart-ai-prompts {
2244
+ grid-template-columns: minmax(0, 1fr);
2245
+ }
2246
+
2247
+ .aheart-ai-bubble {
2248
+ max-inline-size: 96%;
2249
+ }
2250
+
2251
+ .aheart-ai-sender {
2252
+ grid-template-columns: minmax(0, 1fr);
2253
+ }
2254
+
2255
+ .aheart-ai-sender button {
2256
+ inline-size: 100%;
2257
+ }
2258
+
2259
+ .aheart-ai-workbench__header {
2260
+ align-items: start;
2261
+ min-block-size: 0;
2262
+ padding: 14px;
2263
+ }
2264
+
2265
+ .aheart-ai-workbench__header p {
2266
+ display: none;
2267
+ }
2268
+
2269
+ .aheart-ai-workbench__desktop {
2270
+ display: none;
2271
+ }
2272
+
2273
+ .aheart-ai-workbench__mobile {
2274
+ display: grid;
2275
+ gap: 12px;
2276
+ padding: 12px;
2277
+ }
2278
+
2279
+ .aheart-ai-workbench__mobile .aheart-tabs__tab {
2280
+ min-block-size: 44px;
2281
+ padding-inline: 12px;
2282
+ }
2283
+
2284
+ .aheart-ai-workbench__mobile .aheart-tabs__tab.is-active {
2285
+ color: var(--aheart-ai-brand-strong);
2286
+ }
2287
+
2288
+ .aheart-ai-workbench__mobile-panel {
2289
+ min-block-size: 400px;
2290
+ }
2291
+
2292
+ .aheart-ai-workbench__pending-summary {
2293
+ display: block;
2294
+ padding: 2px 0;
2295
+ color: #b42318;
2296
+ font-size: 12px;
2297
+ font-weight: 600;
2298
+ line-height: 18px;
2299
+ text-align: end;
2300
+ white-space: nowrap;
2301
+ cursor: pointer;
2302
+ }
2303
+
2304
+ .aheart-ai-workbench__pending-summary:hover {
2305
+ color: #912018;
2306
+ }
2307
+
2308
+ .aheart-ai-workbench__pending-summary:focus-visible {
2309
+ outline: 2px solid var(--aheart-ai-brand);
2310
+ outline-offset: 2px;
2311
+ }
2312
+
2313
+ .aheart-ai-workbench__mobile-panel .aheart-ai-chat-panel {
2314
+ border: 0;
2315
+ border-radius: 0;
2316
+ }
2317
+
2318
+ .aheart-ai-workbench__mobile-priority {
2319
+ display: grid;
2320
+ gap: 8px;
2321
+ padding: 10px;
2322
+ border: 1px solid #fedf89;
2323
+ border-inline-start: 3px solid #f79009;
2324
+ border-radius: 5px;
2325
+ background: #fffaeb;
2326
+ }
2327
+
2328
+ .aheart-ai-workbench__priority-heading,
2329
+ .aheart-ai-workbench__priority-approval,
2330
+ .aheart-ai-workbench__priority-actions {
2331
+ display: grid;
2332
+ gap: 4px;
2333
+ }
2334
+
2335
+ .aheart-ai-workbench__priority-heading strong {
2336
+ overflow-wrap: anywhere;
2337
+ font-size: 13px;
2338
+ }
2339
+
2340
+ .aheart-ai-workbench__priority-approval p {
2341
+ margin: 0;
2342
+ color: #93370d;
2343
+ font-size: 11px;
2344
+ line-height: 1.45;
2345
+ }
2346
+
2347
+ .aheart-ai-workbench__priority-actions {
2348
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2349
+ }
2350
+
2351
+ .aheart-ai-workbench__priority-actions .aheart-button {
2352
+ min-block-size: 40px;
2353
+ }
2354
+
2355
+ .aheart-ai-workbench__priority-artifact {
2356
+ display: grid;
2357
+ gap: 2px;
2358
+ inline-size: 100%;
2359
+ min-block-size: 52px;
2360
+ padding: 8px 10px;
2361
+ border: 1px solid #b2ddff;
2362
+ border-radius: 5px;
2363
+ background: #f8fbff;
2364
+ color: var(--aheart-ai-text);
2365
+ font: inherit;
2366
+ text-align: left;
2367
+ cursor: pointer;
2368
+ }
2369
+
2370
+ .aheart-ai-workbench__priority-artifact:hover,
2371
+ .aheart-ai-workbench__priority-artifact:focus-visible {
2372
+ border-color: var(--aheart-ai-brand-strong);
2373
+ outline: 2px solid rgba(9, 88, 217, 0.2);
2374
+ outline-offset: 1px;
2375
+ }
2376
+
2377
+ .aheart-ai-workbench__priority-artifact span,
2378
+ .aheart-ai-workbench__priority-artifact small {
2379
+ color: #475467;
2380
+ font-size: 11px;
2381
+ }
2382
+
2383
+ .aheart-ai-workbench__execution-content .aheart-ai-workbench__section-heading > span,
2384
+ .aheart-ai-workbench__execution-content .aheart-ai-workbench__task-detail,
2385
+ .aheart-ai-workbench__execution-content .aheart-ai-workbench__task-time {
2386
+ color: #475467;
2387
+ }
2388
+
2389
+ .aheart-ai-workbench__timeline-item {
2390
+ padding-block: 7px;
2391
+ }
2392
+
2393
+ .aheart-ai-workbench__timeline-item.has-approval-summary .aheart-ai-workbench__approval {
2394
+ display: none;
2395
+ }
2396
+ }
2397
+
2398
+ @media (pointer: coarse) {
2399
+ .aheart-ai-chat-panel > .aheart-ai-conversations button,
2400
+ .aheart-ai-conversations button,
2401
+ .aheart-ai-attachments button,
2402
+ .aheart-ai-sender button,
2403
+ .aheart-ai-workbench .aheart-button,
2404
+ .aheart-ai-workbench .aheart-drawer__close,
2405
+ .aheart-ai-workbench__artifact-list button {
2406
+ min-block-size: 44px;
2407
+ min-inline-size: 44px;
2408
+ }
2409
+ }
2410
+
2411
+ @media (prefers-reduced-motion: reduce) {
2412
+ .aheart-ai-chat-panel *,
2413
+ .aheart-ai-workbench * {
2414
+ scroll-behavior: auto !important;
2415
+ transition-duration: 0.01ms !important;
2416
+ animation-duration: 0.01ms !important;
2417
+ }
2418
+
2419
+ .aheart-ai-prompts button:hover,
2420
+ .aheart-ai-prompts button:focus-visible {
2421
+ transform: none;
2422
+ }
2423
+ }