@aheart-ui/ai 0.0.0-stage → 1.1.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 (205) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -2
  3. package/es/actions/index.d.ts +2 -0
  4. package/es/actions/index.js +5 -0
  5. package/es/actions/style.css +36 -0
  6. package/es/actions.vue.d.ts +34 -0
  7. package/es/actions.vue.js +27 -0
  8. package/es/actions.vue2.js +4 -0
  9. package/es/agent/index.d.ts +5 -0
  10. package/es/agent/index.js +12 -0
  11. package/es/agent/style.css +308 -0
  12. package/es/agent-execution.vue.d.ts +106 -0
  13. package/es/agent-execution.vue.js +441 -0
  14. package/es/agent-execution.vue2.js +4 -0
  15. package/es/agent-workbench/index.d.ts +2 -0
  16. package/es/agent-workbench/index.js +5 -0
  17. package/es/agent-workbench/style.css +1332 -0
  18. package/es/agent-workbench.vue.d.ts +186 -0
  19. package/es/agent-workbench.vue.js +537 -0
  20. package/es/agent-workbench.vue2.js +4 -0
  21. package/es/attachments/index.d.ts +2 -0
  22. package/es/attachments/index.js +5 -0
  23. package/es/attachments/style.css +62 -0
  24. package/es/attachments.vue.d.ts +39 -0
  25. package/es/attachments.vue.js +39 -0
  26. package/es/attachments.vue2.js +4 -0
  27. package/es/bubble/index.d.ts +2 -0
  28. package/es/bubble/index.js +5 -0
  29. package/es/bubble/style.css +241 -0
  30. package/es/bubble.vue.d.ts +27 -0
  31. package/es/bubble.vue.js +82 -0
  32. package/es/bubble.vue2.js +4 -0
  33. package/es/chat/index.d.ts +11 -0
  34. package/es/chat/index.js +23 -0
  35. package/es/chat/style.css +595 -0
  36. package/es/chat-panel/index.d.ts +3 -0
  37. package/es/chat-panel/index.js +8 -0
  38. package/es/chat-panel/style.css +595 -0
  39. package/es/chat-panel.vue.d.ts +108 -0
  40. package/es/chat-panel.vue.js +330 -0
  41. package/es/chat-panel.vue2.js +4 -0
  42. package/es/conversations/index.d.ts +2 -0
  43. package/es/conversations/index.js +5 -0
  44. package/es/conversations/style.css +48 -0
  45. package/es/conversations.vue.d.ts +39 -0
  46. package/es/conversations.vue.js +29 -0
  47. package/es/conversations.vue2.js +4 -0
  48. package/es/form/index.d.ts +3 -0
  49. package/es/form/index.js +9 -0
  50. package/es/form/style.css +242 -0
  51. package/es/form-field.vue.d.ts +28 -0
  52. package/es/form-field.vue.js +176 -0
  53. package/es/form-field.vue2.js +4 -0
  54. package/es/form-schema.d.ts +73 -0
  55. package/es/form-schema.js +105 -0
  56. package/es/form.vue.d.ts +81 -0
  57. package/es/form.vue.js +376 -0
  58. package/es/form.vue2.js +4 -0
  59. package/es/index.d.ts +20 -0
  60. package/es/index.js +42 -0
  61. package/es/package.json +3 -0
  62. package/es/process/index.d.ts +2 -0
  63. package/es/process/index.js +5 -0
  64. package/es/process/style.css +77 -0
  65. package/es/process.vue.d.ts +30 -0
  66. package/es/process.vue.js +29 -0
  67. package/es/process.vue2.js +4 -0
  68. package/es/prompts/index.d.ts +2 -0
  69. package/es/prompts/index.js +5 -0
  70. package/es/prompts/style.css +76 -0
  71. package/es/prompts.vue.d.ts +39 -0
  72. package/es/prompts.vue.js +33 -0
  73. package/es/prompts.vue2.js +4 -0
  74. package/es/safe-markdown.d.ts +3 -0
  75. package/es/safe-markdown.js +23 -0
  76. package/es/sender/index.d.ts +2 -0
  77. package/es/sender/index.js +5 -0
  78. package/es/sender/style.css +88 -0
  79. package/es/sender.vue.d.ts +52 -0
  80. package/es/sender.vue.js +46 -0
  81. package/es/sender.vue2.js +4 -0
  82. package/es/sources/index.d.ts +2 -0
  83. package/es/sources/index.js +5 -0
  84. package/es/sources/style.css +54 -0
  85. package/es/sources.vue.d.ts +30 -0
  86. package/es/sources.vue.js +34 -0
  87. package/es/sources.vue2.js +4 -0
  88. package/es/stream-reducer.d.ts +35 -0
  89. package/es/stream-reducer.js +85 -0
  90. package/es/style.css +1586 -0
  91. package/es/thought-chain/index.d.ts +2 -0
  92. package/es/thought-chain/index.js +5 -0
  93. package/es/thought-chain/style.css +77 -0
  94. package/es/thought-chain.vue.d.ts +30 -0
  95. package/es/thought-chain.vue.js +15 -0
  96. package/es/thought-chain.vue2.js +4 -0
  97. package/es/types.d.ts +203 -0
  98. package/es/welcome/index.d.ts +2 -0
  99. package/es/welcome/index.js +5 -0
  100. package/es/welcome/style.css +33 -0
  101. package/es/welcome.vue.d.ts +41 -0
  102. package/es/welcome.vue.js +27 -0
  103. package/es/welcome.vue2.js +4 -0
  104. package/lib/actions/index.d.ts +2 -0
  105. package/lib/actions/index.js +1 -0
  106. package/lib/actions/style.css +36 -0
  107. package/lib/actions.vue.d.ts +34 -0
  108. package/lib/actions.vue.js +1 -0
  109. package/lib/actions.vue2.js +1 -0
  110. package/lib/agent/index.d.ts +5 -0
  111. package/lib/agent/index.js +1 -0
  112. package/lib/agent/style.css +308 -0
  113. package/lib/agent-execution.vue.d.ts +106 -0
  114. package/lib/agent-execution.vue.js +1 -0
  115. package/lib/agent-execution.vue2.js +1 -0
  116. package/lib/agent-workbench/index.d.ts +2 -0
  117. package/lib/agent-workbench/index.js +1 -0
  118. package/lib/agent-workbench/style.css +1332 -0
  119. package/lib/agent-workbench.vue.d.ts +186 -0
  120. package/lib/agent-workbench.vue.js +1 -0
  121. package/lib/agent-workbench.vue2.js +1 -0
  122. package/lib/attachments/index.d.ts +2 -0
  123. package/lib/attachments/index.js +1 -0
  124. package/lib/attachments/style.css +62 -0
  125. package/lib/attachments.vue.d.ts +39 -0
  126. package/lib/attachments.vue.js +1 -0
  127. package/lib/attachments.vue2.js +1 -0
  128. package/lib/bubble/index.d.ts +2 -0
  129. package/lib/bubble/index.js +1 -0
  130. package/lib/bubble/style.css +241 -0
  131. package/lib/bubble.vue.d.ts +27 -0
  132. package/lib/bubble.vue.js +1 -0
  133. package/lib/bubble.vue2.js +1 -0
  134. package/lib/chat/index.d.ts +11 -0
  135. package/lib/chat/index.js +1 -0
  136. package/lib/chat/style.css +595 -0
  137. package/lib/chat-panel/index.d.ts +3 -0
  138. package/lib/chat-panel/index.js +1 -0
  139. package/lib/chat-panel/style.css +595 -0
  140. package/lib/chat-panel.vue.d.ts +108 -0
  141. package/lib/chat-panel.vue.js +1 -0
  142. package/lib/chat-panel.vue2.js +1 -0
  143. package/lib/conversations/index.d.ts +2 -0
  144. package/lib/conversations/index.js +1 -0
  145. package/lib/conversations/style.css +48 -0
  146. package/lib/conversations.vue.d.ts +39 -0
  147. package/lib/conversations.vue.js +1 -0
  148. package/lib/conversations.vue2.js +1 -0
  149. package/lib/form/index.d.ts +3 -0
  150. package/lib/form/index.js +1 -0
  151. package/lib/form/style.css +242 -0
  152. package/lib/form-field.vue.d.ts +28 -0
  153. package/lib/form-field.vue.js +1 -0
  154. package/lib/form-field.vue2.js +1 -0
  155. package/lib/form-schema.d.ts +73 -0
  156. package/lib/form-schema.js +1 -0
  157. package/lib/form.vue.d.ts +81 -0
  158. package/lib/form.vue.js +1 -0
  159. package/lib/form.vue2.js +1 -0
  160. package/lib/index.d.ts +20 -0
  161. package/lib/index.js +1 -0
  162. package/lib/package.json +3 -0
  163. package/lib/process/index.d.ts +2 -0
  164. package/lib/process/index.js +1 -0
  165. package/lib/process/style.css +77 -0
  166. package/lib/process.vue.d.ts +30 -0
  167. package/lib/process.vue.js +1 -0
  168. package/lib/process.vue2.js +1 -0
  169. package/lib/prompts/index.d.ts +2 -0
  170. package/lib/prompts/index.js +1 -0
  171. package/lib/prompts/style.css +76 -0
  172. package/lib/prompts.vue.d.ts +39 -0
  173. package/lib/prompts.vue.js +1 -0
  174. package/lib/prompts.vue2.js +1 -0
  175. package/lib/safe-markdown.d.ts +3 -0
  176. package/lib/safe-markdown.js +2 -0
  177. package/lib/sender/index.d.ts +2 -0
  178. package/lib/sender/index.js +1 -0
  179. package/lib/sender/style.css +88 -0
  180. package/lib/sender.vue.d.ts +52 -0
  181. package/lib/sender.vue.js +1 -0
  182. package/lib/sender.vue2.js +1 -0
  183. package/lib/sources/index.d.ts +2 -0
  184. package/lib/sources/index.js +1 -0
  185. package/lib/sources/style.css +54 -0
  186. package/lib/sources.vue.d.ts +30 -0
  187. package/lib/sources.vue.js +1 -0
  188. package/lib/sources.vue2.js +1 -0
  189. package/lib/stream-reducer.d.ts +35 -0
  190. package/lib/stream-reducer.js +1 -0
  191. package/lib/style.css +1586 -0
  192. package/lib/thought-chain/index.d.ts +2 -0
  193. package/lib/thought-chain/index.js +1 -0
  194. package/lib/thought-chain/style.css +77 -0
  195. package/lib/thought-chain.vue.d.ts +30 -0
  196. package/lib/thought-chain.vue.js +1 -0
  197. package/lib/thought-chain.vue2.js +1 -0
  198. package/lib/types.d.ts +203 -0
  199. package/lib/welcome/index.d.ts +2 -0
  200. package/lib/welcome/index.js +1 -0
  201. package/lib/welcome/style.css +33 -0
  202. package/lib/welcome.vue.d.ts +41 -0
  203. package/lib/welcome.vue.js +1 -0
  204. package/lib/welcome.vue2.js +1 -0
  205. package/package.json +172 -3
@@ -0,0 +1,1332 @@
1
+ :root {
2
+ --aheart-ai-cyan: #0e7490;
3
+ --aheart-ai-cyan-strong: #0e7490;
4
+ --aheart-ai-brand-strong: #0958d9;
5
+ --aheart-ai-cyan-soft: #ecfeff;
6
+ --aheart-ai-line: #e4e7ec;
7
+ --aheart-ai-surface: #ffffff;
8
+ --aheart-ai-surface-subtle: #f8fafc;
9
+ --aheart-ai-text: #182230;
10
+ --aheart-ai-text-secondary: #667085;
11
+ }
12
+
13
+ .aheart-ai-visually-hidden {
14
+ position: absolute;
15
+ width: 1px;
16
+ height: 1px;
17
+ padding: 0;
18
+ margin: -1px;
19
+ overflow: hidden;
20
+ clip: rect(0, 0, 0, 0);
21
+ white-space: nowrap;
22
+ border: 0;
23
+ }
24
+
25
+ .aheart-ai-chat-panel,
26
+ .aheart-ai-workbench {
27
+ box-sizing: border-box;
28
+ color: var(--aheart-color-text, var(--aheart-ai-text));
29
+ letter-spacing: 0;
30
+ }
31
+
32
+ .aheart-ai-chat-panel *,
33
+ .aheart-ai-workbench * {
34
+ box-sizing: border-box;
35
+ }
36
+
37
+ .aheart-ai-chat-panel {
38
+ display: grid;
39
+ grid-template-columns: minmax(0, 1fr);
40
+ min-block-size: 520px;
41
+ overflow: hidden;
42
+ border: 1px solid var(--aheart-ai-line);
43
+ border-radius: 8px;
44
+ background: var(--aheart-ai-surface);
45
+ }
46
+
47
+ .aheart-ai-chat-panel > .aheart-ai-conversations {
48
+ display: flex;
49
+ gap: 2px;
50
+ overflow-x: auto;
51
+ padding: 8px 12px;
52
+ border-block-end: 1px solid var(--aheart-ai-line);
53
+ background: var(--aheart-ai-surface-subtle);
54
+ }
55
+
56
+ .aheart-ai-chat-panel > .aheart-ai-conversations button {
57
+ min-block-size: 32px;
58
+ padding: 5px 10px;
59
+ border: 1px solid transparent;
60
+ border-radius: 5px;
61
+ background: transparent;
62
+ color: var(--aheart-ai-text-secondary);
63
+ font: inherit;
64
+ white-space: nowrap;
65
+ cursor: pointer;
66
+ transition: border-color 120ms ease-out, background-color 120ms ease-out, color 120ms ease-out;
67
+ }
68
+
69
+ .aheart-ai-chat-panel > .aheart-ai-conversations button:hover,
70
+ .aheart-ai-chat-panel > .aheart-ai-conversations button:focus-visible {
71
+ border-color: #b9c2cf;
72
+ background: #fff;
73
+ color: var(--aheart-ai-text);
74
+ outline: none;
75
+ }
76
+
77
+ .aheart-ai-chat-panel > .aheart-ai-conversations button.is-active {
78
+ border-color: #91caff;
79
+ background: #e6f4ff;
80
+ color: var(--aheart-color-primary, #1677ff);
81
+ }
82
+
83
+ .aheart-ai-chat-panel > .aheart-ai-conversations button.is-active:focus-visible {
84
+ outline: 2px solid #0958d9;
85
+ outline-offset: 2px;
86
+ }
87
+
88
+ .aheart-ai-chat-panel__surface {
89
+ display: grid;
90
+ grid-template-rows: minmax(0, 1fr) auto;
91
+ min-block-size: 0;
92
+ }
93
+
94
+ .aheart-ai-chat-panel__messages {
95
+ display: flex;
96
+ flex-direction: column;
97
+ gap: 18px;
98
+ min-block-size: 300px;
99
+ max-block-size: 560px;
100
+ overflow-y: auto;
101
+ padding: 24px clamp(16px, 4vw, 40px);
102
+ scroll-behavior: smooth;
103
+ }
104
+
105
+ .aheart-ai-chat-panel__empty {
106
+ display: grid;
107
+ align-content: center;
108
+ gap: 20px;
109
+ min-block-size: 340px;
110
+ padding: 32px clamp(20px, 6vw, 64px);
111
+ background-image:
112
+ linear-gradient(var(--aheart-ai-line) 1px, transparent 1px),
113
+ linear-gradient(90deg, var(--aheart-ai-line) 1px, transparent 1px);
114
+ background-size: 32px 32px;
115
+ background-position: -1px -1px;
116
+ }
117
+
118
+ .aheart-ai-chat-panel__empty::before {
119
+ content: "AI";
120
+ display: grid;
121
+ place-items: center;
122
+ inline-size: 40px;
123
+ block-size: 40px;
124
+ border: 1px solid #67e8f9;
125
+ border-radius: 7px;
126
+ background: var(--aheart-ai-cyan-soft);
127
+ color: #0e7490;
128
+ font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
129
+ }
130
+
131
+ .aheart-ai-welcome {
132
+ display: grid;
133
+ gap: 6px;
134
+ max-inline-size: 620px;
135
+ }
136
+
137
+ .aheart-ai-welcome__title,
138
+ .aheart-ai-welcome__description,
139
+ .aheart-ai-sources h3,
140
+ .aheart-ai-sources p,
141
+ .aheart-ai-process h3 {
142
+ margin: 0;
143
+ }
144
+
145
+ .aheart-ai-welcome__title {
146
+ color: var(--aheart-ai-text);
147
+ font-size: 24px;
148
+ line-height: 1.35;
149
+ }
150
+
151
+ .aheart-ai-welcome__description {
152
+ color: var(--aheart-ai-text-secondary);
153
+ line-height: 1.65;
154
+ }
155
+
156
+ .aheart-ai-prompts {
157
+ display: grid;
158
+ grid-template-columns: repeat(2, minmax(0, 1fr));
159
+ gap: 8px;
160
+ margin: 0;
161
+ padding: 0;
162
+ list-style: none;
163
+ }
164
+
165
+ .aheart-ai-prompts li {
166
+ margin: 0;
167
+ padding: 0;
168
+ min-inline-size: 0;
169
+ list-style: none !important;
170
+ }
171
+
172
+ .aheart-ai-prompts li::marker {
173
+ content: "";
174
+ }
175
+
176
+ .aheart-ai-prompts button {
177
+ display: grid;
178
+ gap: 4px;
179
+ min-block-size: 64px;
180
+ inline-size: 100%;
181
+ padding: 11px 12px;
182
+ border: 1px solid #d0d5dd;
183
+ border-radius: 6px;
184
+ background: rgba(255, 255, 255, 0.96);
185
+ color: var(--aheart-ai-text);
186
+ font: inherit;
187
+ text-align: left;
188
+ cursor: pointer;
189
+ transition: transform 120ms ease-out, border-color 120ms ease-out, background-color 120ms ease-out;
190
+ }
191
+
192
+ .aheart-ai-prompts button:hover,
193
+ .aheart-ai-prompts button:focus-visible {
194
+ transform: translateY(-2px);
195
+ border-color: #69b1ff;
196
+ background: #f0f7ff;
197
+ outline: none;
198
+ }
199
+
200
+ .aheart-ai-prompts span,
201
+ .aheart-ai-process small {
202
+ display: block;
203
+ color: var(--aheart-ai-text-secondary);
204
+ font-size: 12px;
205
+ }
206
+
207
+ .aheart-ai-bubble {
208
+ position: relative;
209
+ display: grid;
210
+ gap: 8px;
211
+ max-inline-size: min(760px, 92%);
212
+ margin: 0;
213
+ padding: 12px 14px;
214
+ border: 1px solid var(--aheart-ai-line);
215
+ border-radius: 7px;
216
+ background: #fff;
217
+ box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
218
+ }
219
+
220
+ .aheart-ai-bubble.is-user {
221
+ align-self: end;
222
+ border-color: #91caff;
223
+ background: #f0f7ff;
224
+ }
225
+
226
+ .aheart-ai-bubble.is-assistant {
227
+ align-self: start;
228
+ border-inline-start: 3px solid var(--aheart-ai-cyan);
229
+ }
230
+
231
+ .aheart-ai-bubble__header {
232
+ color: var(--aheart-ai-text-secondary);
233
+ font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
234
+ text-transform: uppercase;
235
+ }
236
+
237
+ .aheart-ai-bubble__content,
238
+ .aheart-ai-bubble__error {
239
+ margin: 0;
240
+ line-height: 1.72;
241
+ white-space: pre-wrap;
242
+ overflow-wrap: anywhere;
243
+ }
244
+
245
+ .aheart-ai-bubble__content a {
246
+ color: var(--aheart-color-primary, #1677ff);
247
+ }
248
+
249
+ .aheart-ai-bubble__tool-call {
250
+ display: grid;
251
+ min-inline-size: 0;
252
+ gap: 10px;
253
+ margin-block: 10px;
254
+ padding: 12px;
255
+ overflow-wrap: anywhere;
256
+ border: 1px solid var(--aheart-ai-line, #d0d5dd);
257
+ border-radius: 8px;
258
+ background: var(--aheart-ai-surface-subtle, #f8fafc);
259
+ }
260
+ .aheart-ai-bubble__tool-heading {
261
+ display: grid;
262
+ gap: 3px;
263
+ }
264
+ .aheart-ai-bubble__tool-heading strong {
265
+ color: var(--aheart-ai-text, #101828);
266
+ font-size: 13px;
267
+ }
268
+ .aheart-ai-bubble__tool-heading span {
269
+ color: var(--aheart-ai-text-secondary, #475467);
270
+ font-size: 13px;
271
+ line-height: 1.45;
272
+ }
273
+ .aheart-ai-bubble__tool-details {
274
+ display: grid;
275
+ grid-template-columns: max-content minmax(0, 1fr);
276
+ gap: 6px 10px;
277
+ margin: 0;
278
+ font-size: 12px;
279
+ line-height: 1.45;
280
+ }
281
+ .aheart-ai-bubble__tool-details dt {
282
+ color: var(--aheart-ai-text-secondary, #667085);
283
+ font-weight: 600;
284
+ }
285
+ .aheart-ai-bubble__tool-details dd {
286
+ display: flex;
287
+ min-inline-size: 0;
288
+ flex-wrap: wrap;
289
+ gap: 6px;
290
+ margin: 0;
291
+ color: var(--aheart-ai-text, #344054);
292
+ }
293
+ .aheart-ai-bubble__tool-details small {
294
+ padding: 1px 5px;
295
+ border-radius: 4px;
296
+ background: color-mix(in srgb, currentColor 10%, transparent);
297
+ font-size: 11px;
298
+ }
299
+
300
+ .aheart-ai-chat-panel__stream-reconnecting {
301
+ margin: 0 0 8px;
302
+ padding: 7px 10px;
303
+ border: 1px solid var(--aheart-ai-brand, #84caff);
304
+ border-radius: 6px;
305
+ background: color-mix(in srgb, var(--aheart-ai-brand, #84caff) 12%, transparent);
306
+ color: var(--aheart-ai-text, #344054);
307
+ font-size: 12px;
308
+ line-height: 1.4;
309
+ }
310
+
311
+ .aheart-ai-bubble__error {
312
+ padding: 8px 10px;
313
+ border-inline-start: 3px solid var(--aheart-color-danger, #d92d20);
314
+ background: #fff1f0;
315
+ color: #b42318;
316
+ }
317
+
318
+ .aheart-ai-chat-panel__message-actions {
319
+ display: flex;
320
+ flex-wrap: wrap;
321
+ gap: 2px;
322
+ min-block-size: 26px;
323
+ }
324
+
325
+ .aheart-ai-chat-panel__message-actions button,
326
+ .aheart-ai-chat-panel__editing button,
327
+ .aheart-ai-actions button,
328
+ .aheart-ai-attachments button {
329
+ min-block-size: 28px;
330
+ padding: 3px 8px;
331
+ border: 1px solid transparent;
332
+ border-radius: 4px;
333
+ background: transparent;
334
+ color: var(--aheart-ai-text-secondary);
335
+ font: 12px/1.4 inherit;
336
+ cursor: pointer;
337
+ transition: border-color 120ms ease-out, background-color 120ms ease-out, color 120ms ease-out;
338
+ }
339
+
340
+ .aheart-ai-chat-panel__message-actions button:hover,
341
+ .aheart-ai-chat-panel__message-actions button:focus-visible,
342
+ .aheart-ai-chat-panel__editing button:hover,
343
+ .aheart-ai-chat-panel__editing button:focus-visible,
344
+ .aheart-ai-actions button:hover,
345
+ .aheart-ai-actions button:focus-visible,
346
+ .aheart-ai-attachments button:hover,
347
+ .aheart-ai-attachments button:focus-visible {
348
+ border-color: #b9c2cf;
349
+ background: var(--aheart-ai-surface-subtle);
350
+ color: var(--aheart-ai-text);
351
+ outline: none;
352
+ }
353
+
354
+ .aheart-ai-chat-panel__composer {
355
+ display: grid;
356
+ gap: 8px;
357
+ padding: 12px 16px 16px;
358
+ border-block-start: 1px solid var(--aheart-ai-line);
359
+ background: #fff;
360
+ }
361
+
362
+ .aheart-ai-chat-panel__editing {
363
+ display: flex;
364
+ align-items: center;
365
+ justify-content: space-between;
366
+ gap: 12px;
367
+ padding: 6px 10px;
368
+ border-inline-start: 3px solid var(--aheart-color-primary, #1677ff);
369
+ background: #f0f7ff;
370
+ color: #175cd3;
371
+ font-size: 12px;
372
+ }
373
+
374
+ .aheart-ai-sender {
375
+ display: grid;
376
+ grid-template-columns: minmax(0, 1fr) auto;
377
+ align-items: end;
378
+ gap: 8px;
379
+ padding: 6px;
380
+ border: 1px solid #b9c2cf;
381
+ border-radius: 7px;
382
+ background: #fff;
383
+ box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
384
+ transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
385
+ }
386
+
387
+ .aheart-ai-sender:focus-within {
388
+ border-color: var(--aheart-color-primary, #1677ff);
389
+ box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
390
+ }
391
+
392
+ .aheart-ai-sender textarea {
393
+ inline-size: 100%;
394
+ min-block-size: 56px;
395
+ max-block-size: 160px;
396
+ resize: vertical;
397
+ padding: 8px;
398
+ border: 0;
399
+ background: transparent;
400
+ color: var(--aheart-ai-text);
401
+ font: inherit;
402
+ line-height: 1.55;
403
+ outline: none;
404
+ }
405
+
406
+ .aheart-ai-sender button {
407
+ min-inline-size: 72px;
408
+ min-block-size: 36px;
409
+ padding: 7px 14px;
410
+ border: 1px solid var(--aheart-color-primary, #1677ff);
411
+ border-radius: 5px;
412
+ background: var(--aheart-color-primary, #1677ff);
413
+ color: #fff;
414
+ font: 500 14px/1 inherit;
415
+ cursor: pointer;
416
+ transition: background-color 120ms ease-out, border-color 120ms ease-out;
417
+ }
418
+
419
+ .aheart-ai-sender button:hover:not(:disabled),
420
+ .aheart-ai-sender button:focus-visible {
421
+ border-color: #0958d9;
422
+ background: #0958d9;
423
+ outline: none;
424
+ }
425
+
426
+ .aheart-ai-sender button:disabled {
427
+ border-color: #d0d5dd;
428
+ background: #eaecf0;
429
+ color: #98a2b3;
430
+ cursor: not-allowed;
431
+ }
432
+
433
+ .aheart-ai-conversations,
434
+ .aheart-ai-actions,
435
+ .aheart-ai-sources,
436
+ .aheart-ai-process,
437
+ .aheart-ai-attachments {
438
+ display: grid;
439
+ gap: 8px;
440
+ }
441
+
442
+ .aheart-ai-conversations button {
443
+ min-block-size: 36px;
444
+ padding: 7px 9px;
445
+ border: 1px solid transparent;
446
+ border-radius: 5px;
447
+ background: transparent;
448
+ color: var(--aheart-ai-text-secondary);
449
+ font: inherit;
450
+ text-align: left;
451
+ cursor: pointer;
452
+ }
453
+
454
+ .aheart-ai-conversations button:hover,
455
+ .aheart-ai-conversations button:focus-visible {
456
+ background: #f2f4f7;
457
+ color: var(--aheart-ai-text);
458
+ outline: none;
459
+ }
460
+
461
+ .aheart-ai-conversations button.is-active {
462
+ border-color: #b2ddff;
463
+ background: #eff8ff;
464
+ color: #175cd3;
465
+ }
466
+
467
+ .aheart-ai-attachments,
468
+ .aheart-ai-sources ul,
469
+ .aheart-ai-process ol {
470
+ margin: 0;
471
+ padding: 0;
472
+ list-style: none;
473
+ }
474
+
475
+ .aheart-ai-attachments li,
476
+ .aheart-ai-sources li {
477
+ display: flex;
478
+ align-items: center;
479
+ justify-content: space-between;
480
+ gap: 8px;
481
+ min-block-size: 34px;
482
+ padding: 6px 8px;
483
+ border: 1px solid var(--aheart-ai-line);
484
+ border-radius: 5px;
485
+ background: var(--aheart-ai-surface-subtle);
486
+ font-size: 12px;
487
+ }
488
+
489
+ .aheart-ai-sources {
490
+ padding-block-start: 8px;
491
+ border-block-start: 1px solid var(--aheart-ai-line);
492
+ }
493
+
494
+ .aheart-ai-sources a {
495
+ color: var(--aheart-ai-brand-strong);
496
+ }
497
+
498
+ .aheart-ai-sources h3,
499
+ .aheart-ai-process h3 {
500
+ font-size: 12px;
501
+ color: var(--aheart-ai-text-secondary);
502
+ }
503
+
504
+ .aheart-ai-process ol {
505
+ display: grid;
506
+ gap: 6px;
507
+ }
508
+
509
+ .aheart-ai-process li {
510
+ position: relative;
511
+ display: grid;
512
+ gap: 2px;
513
+ padding-inline-start: 16px;
514
+ }
515
+
516
+ .aheart-ai-process li::before {
517
+ content: "";
518
+ position: absolute;
519
+ inset-block-start: 7px;
520
+ inset-inline-start: 2px;
521
+ inline-size: 6px;
522
+ block-size: 6px;
523
+ border-radius: 50%;
524
+ background: #98a2b3;
525
+ }
526
+
527
+ .aheart-ai-process li.is-running::before {
528
+ background: var(--aheart-ai-cyan);
529
+ box-shadow: 0 0 0 3px #cffafe;
530
+ }
531
+
532
+ .aheart-ai-process li.is-complete::before {
533
+ background: #12b76a;
534
+ }
535
+
536
+ .aheart-ai-process li.is-stopped::before {
537
+ background: #98a2b3;
538
+ }
539
+
540
+ .aheart-ai-process li.is-error {
541
+ color: var(--aheart-color-danger, #d92d20);
542
+ }
543
+
544
+ .aheart-ai-workbench {
545
+ overflow: hidden;
546
+ border: 1px solid var(--aheart-ai-line);
547
+ border-radius: 8px;
548
+ background: var(--aheart-ai-surface);
549
+ scroll-margin-block-start: 112px;
550
+ }
551
+
552
+ .aheart-ai-workbench__header {
553
+ display: flex;
554
+ align-items: center;
555
+ justify-content: space-between;
556
+ gap: 20px;
557
+ min-block-size: 88px;
558
+ padding: 16px 20px;
559
+ border-block-end: 1px solid var(--aheart-ai-line);
560
+ background: #fbfcfd;
561
+ }
562
+
563
+ .aheart-ai-workbench__header > div:first-child {
564
+ display: grid;
565
+ gap: 3px;
566
+ min-inline-size: 0;
567
+ }
568
+
569
+ .aheart-ai-workbench__header h2,
570
+ .aheart-ai-workbench__header p,
571
+ .aheart-ai-workbench__sidebar h2,
572
+ .aheart-ai-workbench__sidebar h3,
573
+ .aheart-ai-workbench__execution h2,
574
+ .aheart-ai-workbench__execution h3,
575
+ .aheart-ai-workbench__execution p,
576
+ .aheart-ai-workbench__execution ol,
577
+ .aheart-ai-workbench__execution ul {
578
+ margin: 0;
579
+ }
580
+
581
+ .aheart-ai-workbench__header h2 {
582
+ font-size: 18px;
583
+ line-height: 1.4;
584
+ }
585
+
586
+ .aheart-ai-workbench__header p {
587
+ color: var(--aheart-ai-text-secondary);
588
+ font-size: 13px;
589
+ }
590
+
591
+ .aheart-ai-workbench__eyebrow {
592
+ color: var(--aheart-ai-cyan);
593
+ font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
594
+ }
595
+
596
+ .aheart-ai-workbench__header-status {
597
+ display: grid;
598
+ justify-items: end;
599
+ gap: 5px;
600
+ flex: none;
601
+ }
602
+
603
+ .aheart-ai-workbench__header-status > span {
604
+ display: inline-flex;
605
+ align-items: center;
606
+ min-block-size: 26px;
607
+ padding: 3px 9px;
608
+ border: 1px solid #d0d5dd;
609
+ border-radius: 999px;
610
+ background: #fff;
611
+ color: #475467;
612
+ font-size: 12px;
613
+ font-weight: 600;
614
+ white-space: nowrap;
615
+ max-inline-size: 100%;
616
+ overflow: hidden;
617
+ text-overflow: ellipsis;
618
+ }
619
+
620
+ .aheart-ai-workbench__header-status > span.is-running {
621
+ border-color: #67e8f9;
622
+ background: var(--aheart-ai-cyan-soft);
623
+ color: #0e7490;
624
+ }
625
+
626
+ .aheart-ai-workbench__header-status > span.is-waiting {
627
+ border-color: #fedf89;
628
+ background: #fffaeb;
629
+ color: #b54708;
630
+ }
631
+
632
+ .aheart-ai-workbench__header-status > span.is-error {
633
+ border-color: #fecdca;
634
+ background: #fef3f2;
635
+ color: #b42318;
636
+ }
637
+
638
+ .aheart-ai-workbench__header-status > span.is-complete {
639
+ border-color: #abefc6;
640
+ background: #ecfdf3;
641
+ color: #067647;
642
+ }
643
+
644
+ .aheart-ai-workbench__progress {
645
+ color: var(--aheart-ai-text-secondary);
646
+ font-size: 11px;
647
+ }
648
+
649
+ .aheart-ai-workbench__pending-summary {
650
+ display: none;
651
+ border: 0;
652
+ background: transparent;
653
+ font-family: inherit;
654
+ }
655
+
656
+ .aheart-ai-workbench__desktop {
657
+ min-block-size: 680px;
658
+ }
659
+
660
+ .aheart-ai-workbench__desktop > .aheart-splitter {
661
+ min-block-size: 680px;
662
+ }
663
+
664
+ .aheart-ai-workbench__sidebar,
665
+ .aheart-ai-workbench__chat,
666
+ .aheart-ai-workbench__execution {
667
+ box-sizing: border-box;
668
+ block-size: 100%;
669
+ min-block-size: 680px;
670
+ overflow-y: auto;
671
+ padding: 16px;
672
+ }
673
+
674
+ .aheart-ai-workbench__sidebar {
675
+ display: grid;
676
+ align-content: start;
677
+ gap: 18px;
678
+ background: #fbfcfd;
679
+ }
680
+
681
+ .aheart-ai-workbench__sidebar > h2,
682
+ .aheart-ai-workbench__context > h3 {
683
+ font-size: 13px;
684
+ }
685
+
686
+ .aheart-ai-workbench__context {
687
+ display: grid;
688
+ gap: 8px;
689
+ padding-block-start: 14px;
690
+ border-block-start: 1px solid var(--aheart-ai-line);
691
+ }
692
+
693
+ .aheart-ai-workbench .aheart-dnd-sortable-list,
694
+ .aheart-ai-workbench__artifact-list {
695
+ margin: 0;
696
+ padding: 0;
697
+ list-style: none !important;
698
+ }
699
+
700
+ .aheart-ai-workbench .aheart-dnd-sortable-list > li,
701
+ .aheart-ai-workbench__artifact-list > li {
702
+ margin: 0;
703
+ padding: 0;
704
+ list-style: none !important;
705
+ }
706
+
707
+ .aheart-ai-workbench .aheart-dnd-sortable-list > li::marker,
708
+ .aheart-ai-workbench__artifact-list > li::marker {
709
+ content: "";
710
+ }
711
+
712
+ .aheart-ai-workbench__context-item {
713
+ display: grid;
714
+ gap: 4px;
715
+ padding: 8px;
716
+ border: 1px solid var(--aheart-ai-line);
717
+ border-radius: 5px;
718
+ background: #fff;
719
+ }
720
+
721
+ .aheart-ai-workbench__context-item small,
722
+ .aheart-ai-workbench__task-detail,
723
+ .aheart-ai-workbench__task-time,
724
+ .aheart-ai-workbench__artifact-list small,
725
+ .aheart-ai-workbench__artifact-preview small {
726
+ color: var(--aheart-ai-text-secondary);
727
+ font-size: 11px;
728
+ }
729
+
730
+ .aheart-ai-workbench__move-actions,
731
+ .aheart-ai-workbench__task-actions {
732
+ display: flex;
733
+ flex-wrap: wrap;
734
+ gap: 2px;
735
+ }
736
+
737
+ .aheart-ai-workbench__move-actions .aheart-button,
738
+ .aheart-ai-workbench__task-actions .aheart-button {
739
+ min-block-size: 26px;
740
+ padding-inline: 6px;
741
+ font-size: 12px;
742
+ }
743
+
744
+ .aheart-ai-workbench__chat {
745
+ display: grid;
746
+ align-content: start;
747
+ gap: 18px;
748
+ min-inline-size: 0;
749
+ background: #fff;
750
+ }
751
+
752
+ .aheart-ai-workbench__chat > .aheart-ai-chat-panel {
753
+ min-block-size: 560px;
754
+ border: 0;
755
+ border-radius: 0;
756
+ }
757
+
758
+ .aheart-ai-workbench__execution {
759
+ padding: 0;
760
+ background: #fbfcfd;
761
+ }
762
+
763
+ .aheart-ai-workbench__execution-content,
764
+ .aheart-ai-workbench__tasks,
765
+ .aheart-ai-workbench__artifacts {
766
+ display: grid;
767
+ align-content: start;
768
+ gap: 12px;
769
+ }
770
+
771
+ .aheart-ai-workbench__execution-content {
772
+ min-inline-size: 0;
773
+ overflow-x: hidden;
774
+ padding: 16px;
775
+ }
776
+
777
+ .aheart-ai-workbench__mobile-priority {
778
+ display: none;
779
+ }
780
+
781
+ .aheart-ai-workbench__mobile-tab-label {
782
+ display: inline-flex;
783
+ align-items: center;
784
+ gap: 4px;
785
+ }
786
+
787
+ .aheart-ai-workbench__pending-badge {
788
+ display: inline-flex;
789
+ align-items: center;
790
+ justify-content: center;
791
+ min-inline-size: 18px;
792
+ block-size: 18px;
793
+ padding-inline: 4px;
794
+ border-radius: 999px;
795
+ background: #fff1f0;
796
+ color: #b42318;
797
+ font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
798
+ }
799
+
800
+ .aheart-ai-workbench__section-heading {
801
+ display: flex;
802
+ align-items: end;
803
+ justify-content: space-between;
804
+ gap: 12px;
805
+ padding-block-end: 9px;
806
+ border-block-end: 1px solid var(--aheart-ai-line);
807
+ }
808
+
809
+ .aheart-ai-workbench__section-heading > div {
810
+ display: grid;
811
+ gap: 2px;
812
+ }
813
+
814
+ .aheart-ai-workbench__section-heading h2 {
815
+ font-size: 14px;
816
+ }
817
+
818
+ .aheart-ai-workbench__section-heading > span {
819
+ color: var(--aheart-ai-text-secondary);
820
+ font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
821
+ }
822
+
823
+ .aheart-ai-workbench__timeline .aheart-dnd-sortable-list {
824
+ display: grid;
825
+ gap: 0;
826
+ margin: 0;
827
+ padding: 0;
828
+ list-style: none;
829
+ }
830
+
831
+ .aheart-ai-workbench__timeline .aheart-dnd-sortable-item {
832
+ padding: 0;
833
+ }
834
+
835
+ .aheart-ai-workbench__timeline-item {
836
+ position: relative;
837
+ display: grid;
838
+ grid-template-columns: 14px minmax(0, 1fr);
839
+ gap: 8px;
840
+ padding: 10px 0;
841
+ }
842
+
843
+ .aheart-ai-workbench__timeline-item::before {
844
+ content: "";
845
+ position: absolute;
846
+ inset-block: 21px -11px;
847
+ inset-inline-start: 6px;
848
+ inline-size: 1px;
849
+ background: #d0d5dd;
850
+ }
851
+
852
+ .aheart-ai-workbench__timeline-marker {
853
+ position: relative;
854
+ z-index: 1;
855
+ inline-size: 11px;
856
+ block-size: 11px;
857
+ margin-block-start: 4px;
858
+ border: 2px solid #98a2b3;
859
+ border-radius: 50%;
860
+ background: #fff;
861
+ }
862
+
863
+ .aheart-ai-workbench__timeline-item.is-running .aheart-ai-workbench__timeline-marker {
864
+ border-color: var(--aheart-ai-cyan);
865
+ box-shadow: 0 0 0 3px #cffafe;
866
+ }
867
+
868
+ .aheart-ai-workbench__timeline-item.is-complete .aheart-ai-workbench__timeline-marker {
869
+ border-color: #12b76a;
870
+ background: #12b76a;
871
+ }
872
+
873
+ .aheart-ai-workbench__timeline-item.is-waiting-approval .aheart-ai-workbench__timeline-marker {
874
+ border-color: #f79009;
875
+ background: #fffaeb;
876
+ }
877
+
878
+ .aheart-ai-workbench__timeline-item.is-error .aheart-ai-workbench__timeline-marker {
879
+ border-color: #f04438;
880
+ background: #fef3f2;
881
+ }
882
+
883
+ .aheart-ai-workbench__task-body,
884
+ .aheart-ai-workbench__task-summary > div {
885
+ display: grid;
886
+ gap: 5px;
887
+ min-inline-size: 0;
888
+ }
889
+
890
+ .aheart-ai-workbench__task-summary {
891
+ display: flex;
892
+ align-items: start;
893
+ justify-content: space-between;
894
+ gap: 8px;
895
+ }
896
+
897
+ .aheart-ai-workbench__task-summary strong {
898
+ overflow-wrap: anywhere;
899
+ font-size: 13px;
900
+ }
901
+
902
+ .aheart-ai-workbench__tool-name {
903
+ inline-size: fit-content;
904
+ padding: 2px 5px;
905
+ border: 1px solid #b2ddff;
906
+ border-radius: 3px;
907
+ background: #eff8ff;
908
+ color: #175cd3;
909
+ font: 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
910
+ }
911
+
912
+ .aheart-ai-workbench__task-status {
913
+ flex: none;
914
+ color: var(--aheart-ai-text-secondary);
915
+ font-size: 11px;
916
+ }
917
+
918
+ .aheart-ai-workbench__task-detail {
919
+ margin: 0;
920
+ line-height: 1.5;
921
+ }
922
+
923
+ .aheart-ai-workbench__task-progress {
924
+ display: grid;
925
+ grid-template-columns: minmax(0, 1fr) auto;
926
+ align-items: center;
927
+ gap: 8px;
928
+ }
929
+
930
+ .aheart-ai-workbench__task-progress [role="progressbar"] {
931
+ block-size: 5px;
932
+ overflow: hidden;
933
+ border-radius: 3px;
934
+ background: #eaecf0;
935
+ }
936
+
937
+ .aheart-ai-workbench__task-progress [role="progressbar"] span {
938
+ display: block;
939
+ block-size: 100%;
940
+ background: var(--aheart-ai-cyan);
941
+ transition: inline-size 180ms ease-out;
942
+ }
943
+
944
+ .aheart-ai-workbench__task-time {
945
+ display: flex;
946
+ flex-wrap: wrap;
947
+ gap: 8px;
948
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
949
+ }
950
+
951
+ .aheart-ai-workbench__task-error {
952
+ border: 1px solid #fecdca;
953
+ border-radius: 4px;
954
+ background: #fff7f6;
955
+ color: #b42318;
956
+ font-size: 12px;
957
+ }
958
+
959
+ .aheart-ai-workbench__task-error summary {
960
+ padding: 6px 8px;
961
+ cursor: pointer;
962
+ }
963
+
964
+ .aheart-ai-workbench__task-error p {
965
+ padding: 0 8px 8px;
966
+ line-height: 1.5;
967
+ }
968
+
969
+ .aheart-ai-workbench__approval {
970
+ display: grid;
971
+ gap: 8px;
972
+ margin-block-start: 4px;
973
+ padding: 10px;
974
+ border: 1px solid #fedf89;
975
+ border-inline-start: 3px solid #f79009;
976
+ background: #fffaeb;
977
+ }
978
+
979
+ .aheart-ai-workbench__approval > div {
980
+ display: grid;
981
+ gap: 3px;
982
+ }
983
+
984
+ .aheart-ai-workbench__approval strong {
985
+ font-size: 12px;
986
+ }
987
+
988
+ .aheart-ai-workbench__approval p {
989
+ color: #93370d;
990
+ font-size: 11px;
991
+ line-height: 1.45;
992
+ }
993
+
994
+ .aheart-ai-workbench__approval.is-approved {
995
+ border-color: #abefc6;
996
+ border-inline-start-color: #12b76a;
997
+ background: #ecfdf3;
998
+ }
999
+
1000
+ .aheart-ai-workbench__approval.is-rejected {
1001
+ border-color: #fecdca;
1002
+ border-inline-start-color: #f04438;
1003
+ background: #fef3f2;
1004
+ }
1005
+
1006
+ .aheart-ai-workbench__approval-result {
1007
+ font-size: 12px;
1008
+ font-weight: 600;
1009
+ }
1010
+
1011
+ .aheart-ai-workbench__artifacts {
1012
+ padding-block-start: 12px;
1013
+ border-block-start: 1px solid var(--aheart-ai-line);
1014
+ }
1015
+
1016
+ .aheart-ai-workbench__artifact-list {
1017
+ display: grid;
1018
+ gap: 5px;
1019
+ }
1020
+
1021
+ .aheart-ai-workbench__artifact-list li {
1022
+ border: 1px solid var(--aheart-ai-line);
1023
+ border-radius: 5px;
1024
+ background: #fff;
1025
+ }
1026
+
1027
+ .aheart-ai-workbench__artifact-list li.is-active {
1028
+ border-color: #69b1ff;
1029
+ box-shadow: inset 3px 0 0 var(--aheart-color-primary, #1677ff);
1030
+ }
1031
+
1032
+ .aheart-ai-workbench__artifact-list button {
1033
+ display: grid;
1034
+ gap: 3px;
1035
+ inline-size: 100%;
1036
+ min-block-size: 48px;
1037
+ padding: 8px 10px;
1038
+ border: 0;
1039
+ background: transparent;
1040
+ color: var(--aheart-ai-text);
1041
+ font: inherit;
1042
+ text-align: left;
1043
+ cursor: pointer;
1044
+ }
1045
+
1046
+ .aheart-ai-workbench__artifact-list button:focus-visible {
1047
+ outline: 2px solid var(--aheart-color-primary, #1677ff);
1048
+ outline-offset: 2px;
1049
+ }
1050
+
1051
+ .aheart-ai-workbench__artifact-preview {
1052
+ display: grid;
1053
+ gap: 10px;
1054
+ min-block-size: 120px;
1055
+ padding: 12px;
1056
+ border: 1px solid #b2ddff;
1057
+ border-radius: 5px;
1058
+ background: #f8fbff;
1059
+ }
1060
+
1061
+ .aheart-ai-workbench__artifact-preview-header {
1062
+ display: flex;
1063
+ align-items: start;
1064
+ justify-content: space-between;
1065
+ gap: 8px;
1066
+ }
1067
+
1068
+ .aheart-ai-workbench__artifact-preview-header > div {
1069
+ display: grid;
1070
+ gap: 3px;
1071
+ }
1072
+
1073
+ .aheart-ai-workbench__artifact-preview-header span {
1074
+ color: var(--aheart-ai-cyan-strong);
1075
+ font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
1076
+ text-transform: uppercase;
1077
+ }
1078
+
1079
+ .aheart-ai-workbench__artifact-preview-header h3 {
1080
+ font-size: 13px;
1081
+ overflow-wrap: anywhere;
1082
+ }
1083
+
1084
+ .aheart-ai-workbench__artifact-preview-header a {
1085
+ flex: none;
1086
+ color: var(--aheart-color-primary, #1677ff);
1087
+ font-size: 11px;
1088
+ }
1089
+
1090
+ .aheart-ai-workbench__artifact-preview > p {
1091
+ color: var(--aheart-ai-text-secondary);
1092
+ font-size: 12px;
1093
+ line-height: 1.55;
1094
+ }
1095
+
1096
+ .aheart-ai-workbench__empty {
1097
+ margin: 0;
1098
+ padding: 12px;
1099
+ border: 1px dashed #d0d5dd;
1100
+ border-radius: 5px;
1101
+ color: var(--aheart-ai-text-secondary);
1102
+ font-size: 12px;
1103
+ text-align: center;
1104
+ }
1105
+
1106
+ .aheart-ai-workbench__mobile {
1107
+ display: none;
1108
+ }
1109
+
1110
+ @media (prefers-color-scheme: dark) {
1111
+ .aheart-ai-workbench__execution {
1112
+ --aheart-ai-line: #344054;
1113
+ --aheart-ai-surface: #101828;
1114
+ --aheart-ai-surface-subtle: #1d2939;
1115
+ --aheart-ai-text: #f2f4f7;
1116
+ --aheart-ai-text-secondary: #b8c3d1;
1117
+ background: var(--aheart-ai-surface);
1118
+ color: var(--aheart-ai-text);
1119
+ }
1120
+
1121
+ .aheart-ai-workbench__execution .aheart-ai-workbench__timeline-marker,
1122
+ .aheart-ai-workbench__execution .aheart-ai-workbench__artifact-list li,
1123
+ .aheart-ai-workbench__execution .aheart-ai-workbench__empty {
1124
+ background: var(--aheart-ai-surface-subtle);
1125
+ }
1126
+
1127
+ .aheart-ai-workbench__execution .aheart-ai-workbench__task-progress [role="progressbar"] {
1128
+ background: #475467;
1129
+ }
1130
+
1131
+ .aheart-ai-workbench__execution .aheart-ai-workbench__artifact-preview {
1132
+ border-color: #3b82f6;
1133
+ background: #172554;
1134
+ }
1135
+ }
1136
+
1137
+ @media (max-width: 760px) {
1138
+ .aheart-ai-chat-panel {
1139
+ min-block-size: 480px;
1140
+ }
1141
+
1142
+ .aheart-ai-chat-panel__messages {
1143
+ max-block-size: 500px;
1144
+ padding: 18px 12px;
1145
+ }
1146
+
1147
+ .aheart-ai-chat-panel__empty {
1148
+ min-block-size: 300px;
1149
+ padding: 24px 16px;
1150
+ }
1151
+
1152
+ .aheart-ai-prompts {
1153
+ grid-template-columns: minmax(0, 1fr);
1154
+ }
1155
+
1156
+ .aheart-ai-bubble {
1157
+ max-inline-size: 96%;
1158
+ }
1159
+
1160
+ .aheart-ai-sender {
1161
+ grid-template-columns: minmax(0, 1fr);
1162
+ }
1163
+
1164
+ .aheart-ai-sender button {
1165
+ inline-size: 100%;
1166
+ }
1167
+
1168
+ .aheart-ai-workbench__header {
1169
+ align-items: start;
1170
+ min-block-size: 0;
1171
+ padding: 14px;
1172
+ }
1173
+
1174
+ .aheart-ai-workbench__header p {
1175
+ display: none;
1176
+ }
1177
+
1178
+ .aheart-ai-workbench__desktop {
1179
+ display: none;
1180
+ }
1181
+
1182
+ .aheart-ai-workbench__mobile {
1183
+ display: grid;
1184
+ gap: 12px;
1185
+ padding: 12px;
1186
+ }
1187
+
1188
+ .aheart-ai-workbench__mobile .aheart-tabs__tab {
1189
+ min-block-size: 44px;
1190
+ padding-inline: 12px;
1191
+ }
1192
+
1193
+ .aheart-ai-workbench__mobile .aheart-tabs__tab.is-active {
1194
+ color: var(--aheart-ai-brand-strong);
1195
+ }
1196
+
1197
+ .aheart-ai-workbench__mobile-panel {
1198
+ min-block-size: 400px;
1199
+ }
1200
+
1201
+ .aheart-ai-workbench__pending-summary {
1202
+ display: block;
1203
+ padding: 2px 0;
1204
+ color: #b42318;
1205
+ font-size: 12px;
1206
+ font-weight: 600;
1207
+ line-height: 18px;
1208
+ text-align: end;
1209
+ white-space: nowrap;
1210
+ cursor: pointer;
1211
+ }
1212
+
1213
+ .aheart-ai-workbench__pending-summary:hover {
1214
+ color: #912018;
1215
+ }
1216
+
1217
+ .aheart-ai-workbench__pending-summary:focus-visible {
1218
+ outline: 2px solid var(--aheart-ai-brand);
1219
+ outline-offset: 2px;
1220
+ }
1221
+
1222
+ .aheart-ai-workbench__mobile-panel .aheart-ai-chat-panel {
1223
+ border: 0;
1224
+ border-radius: 0;
1225
+ }
1226
+
1227
+ .aheart-ai-workbench__mobile-priority {
1228
+ display: grid;
1229
+ gap: 8px;
1230
+ padding: 10px;
1231
+ border: 1px solid #fedf89;
1232
+ border-inline-start: 3px solid #f79009;
1233
+ border-radius: 5px;
1234
+ background: #fffaeb;
1235
+ }
1236
+
1237
+ .aheart-ai-workbench__priority-heading,
1238
+ .aheart-ai-workbench__priority-approval,
1239
+ .aheart-ai-workbench__priority-actions {
1240
+ display: grid;
1241
+ gap: 4px;
1242
+ }
1243
+
1244
+ .aheart-ai-workbench__priority-heading strong {
1245
+ overflow-wrap: anywhere;
1246
+ font-size: 13px;
1247
+ }
1248
+
1249
+ .aheart-ai-workbench__priority-approval p {
1250
+ margin: 0;
1251
+ color: #93370d;
1252
+ font-size: 11px;
1253
+ line-height: 1.45;
1254
+ }
1255
+
1256
+ .aheart-ai-workbench__priority-actions {
1257
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1258
+ }
1259
+
1260
+ .aheart-ai-workbench__priority-actions .aheart-button {
1261
+ min-block-size: 40px;
1262
+ }
1263
+
1264
+ .aheart-ai-workbench__priority-artifact {
1265
+ display: grid;
1266
+ gap: 2px;
1267
+ inline-size: 100%;
1268
+ min-block-size: 52px;
1269
+ padding: 8px 10px;
1270
+ border: 1px solid #b2ddff;
1271
+ border-radius: 5px;
1272
+ background: #f8fbff;
1273
+ color: var(--aheart-ai-text);
1274
+ font: inherit;
1275
+ text-align: left;
1276
+ cursor: pointer;
1277
+ }
1278
+
1279
+ .aheart-ai-workbench__priority-artifact:hover,
1280
+ .aheart-ai-workbench__priority-artifact:focus-visible {
1281
+ border-color: var(--aheart-ai-brand-strong);
1282
+ outline: 2px solid rgba(9, 88, 217, 0.2);
1283
+ outline-offset: 1px;
1284
+ }
1285
+
1286
+ .aheart-ai-workbench__priority-artifact span,
1287
+ .aheart-ai-workbench__priority-artifact small {
1288
+ color: #475467;
1289
+ font-size: 11px;
1290
+ }
1291
+
1292
+ .aheart-ai-workbench__execution-content .aheart-ai-workbench__section-heading > span,
1293
+ .aheart-ai-workbench__execution-content .aheart-ai-workbench__task-detail,
1294
+ .aheart-ai-workbench__execution-content .aheart-ai-workbench__task-time {
1295
+ color: #475467;
1296
+ }
1297
+
1298
+ .aheart-ai-workbench__timeline-item {
1299
+ padding-block: 7px;
1300
+ }
1301
+
1302
+ .aheart-ai-workbench__timeline-item.has-approval-summary .aheart-ai-workbench__approval {
1303
+ display: none;
1304
+ }
1305
+ }
1306
+
1307
+ @media (pointer: coarse) {
1308
+ .aheart-ai-chat-panel > .aheart-ai-conversations button,
1309
+ .aheart-ai-conversations button,
1310
+ .aheart-ai-attachments button,
1311
+ .aheart-ai-sender button,
1312
+ .aheart-ai-workbench .aheart-button,
1313
+ .aheart-ai-workbench .aheart-drawer__close,
1314
+ .aheart-ai-workbench__artifact-list button {
1315
+ min-block-size: 44px;
1316
+ min-inline-size: 44px;
1317
+ }
1318
+ }
1319
+
1320
+ @media (prefers-reduced-motion: reduce) {
1321
+ .aheart-ai-chat-panel *,
1322
+ .aheart-ai-workbench * {
1323
+ scroll-behavior: auto !important;
1324
+ transition-duration: 0.01ms !important;
1325
+ animation-duration: 0.01ms !important;
1326
+ }
1327
+
1328
+ .aheart-ai-prompts button:hover,
1329
+ .aheart-ai-prompts button:focus-visible {
1330
+ transform: none;
1331
+ }
1332
+ }