PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.6.5
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.6.5
3.6.4 3.6.5 3.6.3 3.6.2 3.6.1 3.6.0 3.5.9 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 3.4.9 3.4.8 3.4.7 0.2.1 1.6.91 0.2.2 1.6.92 0.2.3 1.6.93 0.2.4 1.6.94 0.2.5 1.6.95 0.2.6 1.6.96 0.2.7 1.6.97 0.2.8 1.6.98 0.2.9 1.6.99 0.3.0 1.7.0 0.3.1 1.7.1 0.3.2 1.7.2 0.3.3 1.7.3 0.3.4 1.7.4 0.3.5 1.7.5 0.3.6 1.7.6 0.4.0 1.7.7 0.4.1 1.7.8 0.4.2 1.7.9 0.4.3 1.8.0 0.4.4 1.8.1 0.4.5 1.8.2 0.4.6 1.8.3 0.4.7 1.8.4 0.4.8 1.8.5 0.4.9 1.8.6 0.5.0 1.8.7 0.5.1 1.8.8 0.5.2 1.8.9 0.5.3 1.9.0 0.5.4 1.9.1 0.5.5 1.9.2 0.5.6 1.9.3 0.5.7 1.9.4 0.5.8 1.9.5 0.5.9 1.9.6 0.6.0 1.9.7 0.6.1 1.9.8 0.6.2 1.9.81 0.6.3 1.9.82 0.6.4 1.9.83 0.6.5 1.9.84 0.6.6 1.9.85 0.6.7 1.9.86 0.6.8 1.9.87 0.6.9 1.9.88 0.7.0 1.9.89 0.7.1 1.9.90 0.7.2 1.9.91 0.7.3 1.9.92 0.7.4 1.9.93 0.7.5 1.9.94 0.7.6 1.9.95 0.7.7 1.9.96 0.7.8 1.9.97 0.7.9 1.9.98 0.8.0 1.9.99 0.8.1 2.0.0 0.8.2 2.0.1 0.8.3 2.0.2 0.8.4 2.0.3 0.8.5 2.0.4 0.8.6 2.0.5 0.8.7 2.0.6 0.8.8 2.0.7 0.8.9 2.0.8 0.9.0 2.0.9 0.9.2 2.1.0 0.9.3 2.1.1 0.9.4 2.1.2 0.9.5 2.1.3 0.9.6 2.1.4 0.9.7 2.1.5 0.9.8 2.1.6 0.9.81 2.1.7 0.9.82 2.1.8 0.9.83 2.1.9 0.9.84 2.2.0 0.9.85 2.2.1 0.9.86 2.2.2 0.9.87 2.2.3 0.9.88 2.2.4 0.9.89 2.2.5 0.9.9 2.2.51 0.9.91 2.2.52 0.9.92 2.2.53 0.9.93 2.2.54 0.9.94 2.2.56 0.9.95 2.2.57 0.9.96 2.2.6 0.9.97 2.2.60 0.9.98 2.2.61 0.9.99 2.2.62 1.0.0 2.2.63 1.0.01 2.2.70 1.0.1 2.2.80 1.0.2 2.2.81 1.0.3 2.2.90 1.0.4 2.2.91 1.0.5 2.2.92 1.0.6 2.2.93 1.0.7 2.2.94 1.0.8 2.2.95 1.0.9 2.3.0 1.1.0 2.3.1 1.1.1 2.3.2 1.1.2 2.3.3 1.1.3 2.3.4 1.1.4 2.3.5 1.1.5 2.3.6 1.1.6 2.3.7 1.1.7 2.3.8 1.1.8 2.3.9 1.1.9 2.4.0 1.2.0 2.4.1 1.2.1 2.4.2 1.2.2 2.4.3 1.2.21 2.4.4 1.2.3 2.4.5 1.2.30 2.4.6 1.3.0 2.4.7 1.3.1 2.4.8 1.3.2 2.4.9 1.3.3 2.5.0 1.3.31 2.5.1 1.3.32 2.5.2 1.3.33 2.5.3 1.3.34 2.5.4 1.3.35 2.5.5 1.3.36 2.5.6 1.3.37 2.5.7 1.3.38 2.5.8 1.3.39 2.5.9 1.3.40 2.6.0 1.3.41 2.6.1 1.3.42 2.6.2 1.3.43 2.6.3 1.3.44 2.6.5 1.3.45 2.6.6 1.3.46 2.6.7 1.3.47 2.6.8 1.3.48 2.6.9 1.3.49 2.7.0 1.3.50 2.7.1 1.3.51 2.7.2 1.3.52 2.7.3 1.3.53 2.7.4 1.3.54 2.7.5 1.3.56 2.7.6 1.3.57 2.7.7 1.3.58 2.7.8 1.3.59 2.7.9 1.3.60 2.8.0 1.3.61 2.8.1 1.3.62 2.8.2 1.3.63 2.8.3 1.3.64 2.8.4 1.3.65 2.8.5 1.3.66 2.8.6 1.3.67 2.8.7 1.3.68 2.8.8 1.3.69 2.8.9 1.3.70 2.9.0 1.3.71 2.9.1 1.3.72 2.9.2 1.3.73 2.9.3 1.3.74 2.9.4 1.3.75 2.9.5 1.3.76 2.9.6 1.3.77 2.9.7 1.3.78 2.9.8 1.3.79 2.9.9 1.3.80 3.0.0 1.3.81 3.0.1 1.3.82 3.0.2 1.3.83 3.0.3 1.3.84 3.0.4 1.3.85 3.0.5 1.3.86 3.0.6 1.3.87 3.0.7 1.3.88 3.0.8 1.3.89 3.0.9 1.3.90 3.1.0 1.3.91 3.1.1 1.3.92 3.1.2 1.3.93 3.1.3 1.3.94 3.1.4 1.3.95 3.1.5 1.3.96 3.1.6 1.3.97 3.1.7 1.3.98 3.1.8 1.3.99 3.1.9 1.4.0 3.2.0 1.4.1 3.2.1 1.4.2 3.2.2 1.4.3 3.2.3 1.4.4 3.2.4 1.4.5 3.2.5 1.4.6 3.2.6 1.4.7 3.2.7 1.4.8 3.2.8 1.4.9 3.2.9 1.5.0 3.3.0 1.5.1 3.3.1 1.5.2 3.3.2 1.5.3 3.3.3 1.5.4 3.3.4 1.5.5 3.3.5 1.5.6 3.3.6 1.5.7 3.3.7 1.5.8 3.3.8 1.5.9 3.3.9 1.6.0 3.4.0 1.6.1 3.4.1 1.6.2 3.4.2 1.6.3 3.4.3 1.6.5 3.4.4 1.6.51 3.4.5 1.6.52 3.4.6 1.6.53 1.6.54 1.6.55 1.6.56 1.6.57 1.6.58 1.6.59 1.6.60 1.6.61 1.6.62 1.6.63 1.6.64 1.6.65 1.6.66 1.6.67 1.6.68 trunk 1.6.69 0.0.1 1.6.70 0.0.2 1.6.71 0.0.3 1.6.72 0.0.4 1.6.73 0.0.5 1.6.74 0.0.6 1.6.75 0.0.7 1.6.76 0.0.8 1.6.77 0.0.9 1.6.78 0.1.0 1.6.79 0.1.1 1.6.81 0.1.2 1.6.82 0.1.3 1.6.83 0.1.4 1.6.84 0.1.5 1.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / themes / foundation.css
ai-engine / themes Last commit date
icons 2 years ago chatgpt.css 23 hours ago foundation.css 23 hours ago messages.css 2 days ago timeless.css 23 hours ago
foundation.css
2943 lines
1 /*
2 FOUNDATION THEME
3
4 This theme is identical to the original ChatGPT theme, preserved for users who have
5 customized their CSS or want the classic AI Engine look. The ChatGPT theme may evolve
6 over time to match the actual ChatGPT interface, while Foundation remains stable.
7 */
8 @keyframes mwai-cursor-blink {
9 0%, 49.9% {
10 background: var(--mwai-terminal-active-color);
11 color: var(--mwai-backgroundPrimaryColor);
12 }
13 50%, 100% {
14 background: transparent;
15 color: var(--mwai-terminal-active-color);
16 }
17 }
18 .mwai-context-menu-portal .mwai-context-menu {
19 background: var(--mwai-backgroundHeaderColor);
20 border: 1px solid rgba(0, 0, 0, 0.1);
21 border-radius: var(--mwai-borderRadius);
22 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
23 font-size: 13px;
24 color: var(--mwai-fontColor);
25 }
26 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item {
27 display: flex;
28 align-items: center;
29 gap: 8px;
30 padding: 8px 12px;
31 cursor: pointer;
32 transition: background-color 0.2s;
33 }
34 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item:hover {
35 background-color: rgba(0, 0, 0, 0.05);
36 }
37 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger {
38 color: #dc3545;
39 }
40 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
41 background-color: rgba(220, 53, 69, 0.1);
42 }
43 .mwai-context-menu-portal .mwai-context-menu .mwai-menu-item svg {
44 flex-shrink: 0;
45 }
46
47 .mwai-chunks {
48 padding: 8px;
49 background: rgba(0, 0, 0, 0.03);
50 font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
51 font-size: 11px;
52 border-top: 1px solid rgba(0, 0, 0, 0.06);
53 }
54 .mwai-chunks.mwai-chunks-collapsed .mwai-chunks-header {
55 margin-bottom: 0 !important;
56 }
57 .mwai-chunks .mwai-chunks-header {
58 display: flex;
59 align-items: center;
60 gap: 2px;
61 margin-bottom: 8px;
62 color: #6b7280;
63 font-size: 10px;
64 text-transform: uppercase;
65 letter-spacing: 0.05em;
66 }
67 .mwai-chunks .mwai-chunks-header .mwai-chunks-title {
68 flex: 1;
69 overflow: hidden;
70 text-overflow: ellipsis;
71 white-space: nowrap;
72 }
73 .mwai-chunks .mwai-chunks-header .mwai-chunks-status {
74 margin-left: 4px;
75 font-weight: 500;
76 }
77 .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
78 background: none;
79 border: 1px solid rgba(0, 0, 0, 0.1);
80 border-radius: 3px;
81 padding: 2px;
82 width: 30px;
83 height: 20px;
84 cursor: pointer;
85 color: #6b7280;
86 display: flex;
87 align-items: center;
88 justify-content: center;
89 transition: all 0.2s ease;
90 margin-left: 4px;
91 }
92 .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
93 background: rgba(0, 0, 0, 0.05);
94 color: #374151;
95 }
96 .mwai-chunks .mwai-chunks-list {
97 max-height: 240px;
98 overflow-y: auto;
99 }
100 .mwai-chunks .mwai-chunk {
101 margin-bottom: 4px;
102 padding: 6px 8px;
103 background: white;
104 border-radius: 4px;
105 border: 1px solid rgba(0, 0, 0, 0.06);
106 transition: all 0.2s ease;
107 }
108 .mwai-chunks .mwai-chunk .mwai-chunk-header {
109 display: flex;
110 align-items: center;
111 gap: 8px;
112 cursor: pointer;
113 user-select: none;
114 }
115 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
116 color: #9ca3af;
117 font-size: 10px;
118 font-variant-numeric: tabular-nums;
119 }
120 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-type {
121 display: flex;
122 align-items: center;
123 gap: 4px;
124 padding: 2px 6px;
125 border-radius: 3px;
126 font-size: 10px;
127 font-weight: 500;
128 color: white;
129 }
130 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
131 flex: 1;
132 color: #374151;
133 overflow: hidden;
134 text-overflow: ellipsis;
135 white-space: nowrap;
136 }
137 .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
138 color: #9ca3af;
139 transition: transform 0.2s ease;
140 }
141 .mwai-chunks .mwai-chunk .mwai-chunk-details {
142 margin-top: 8px;
143 padding: 8px;
144 background: rgba(0, 0, 0, 0.02);
145 border-radius: 3px;
146 overflow-x: auto;
147 }
148 .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
149 margin: 0;
150 white-space: pre-wrap;
151 word-break: break-word;
152 color: #4b5563;
153 }
154
155 .mwai-user-images {
156 display: flex;
157 flex-direction: column;
158 gap: 4px;
159 flex: 1 1 100%;
160 min-width: 0;
161 }
162 .mwai-user-images .mwai-user-image {
163 display: block;
164 width: 100%;
165 height: auto;
166 border-radius: var(--mwai-borderRadius);
167 }
168
169 /*
170 FOUNDATION THEME
171
172 This theme is identical to the original ChatGPT theme, preserved for users who have
173 customized their CSS or want the classic AI Engine look. The ChatGPT theme may evolve
174 over time to match the actual ChatGPT interface, while Foundation remains stable.
175 */
176 @keyframes mwaiIconTextZoomIn {
177 0% {
178 transform: scale(0.92);
179 opacity: 0;
180 }
181 100% {
182 transform: scale(1);
183 opacity: 1;
184 }
185 }
186 @keyframes mwaiIconTextSlideIn {
187 0% {
188 transform: translateY(28px);
189 opacity: 0;
190 }
191 70% {
192 transform: translateY(-3px);
193 opacity: 1;
194 }
195 100% {
196 transform: translateY(0);
197 opacity: 1;
198 }
199 }
200 @keyframes mwaiIconTextSlideUp {
201 0% {
202 transform: translateY(24px);
203 opacity: 0;
204 }
205 100% {
206 transform: translateY(0);
207 opacity: 1;
208 }
209 }
210 @keyframes mwaiIconTextFadeOpacity {
211 0% {
212 opacity: 0;
213 }
214 100% {
215 opacity: 1;
216 }
217 }
218 @keyframes mwaiIconTextFadeTransform {
219 0% {
220 transform: translateY(8px) scale(0.98);
221 }
222 100% {
223 transform: translateY(0) scale(1);
224 }
225 }
226 .mwai-foundation-theme {
227 font-family: var(--mwai-fontFamily, inherit);
228 --mwai-spacing: 15px;
229 --mwai-fontSize: 15px;
230 --mwai-lineHeight: 1.5;
231 --mwai-borderRadius: 10px;
232 --mwai-borderColor: #4f4f4f;
233 --mwai-width: 460px;
234 --mwai-maxHeight: 40vh;
235 --mwai-iconTextColor: white;
236 --mwai-iconTextBackgroundColor: #343541;
237 --mwai-fontColor: #FFFFFF;
238 --mwai-backgroundPrimaryColor: #454654;
239 --mwai-backgroundHeaderColor: #343541;
240 --mwai-bubbleColor: #343541;
241 --mwai-iconSize: 60px;
242 --mwai-accentColor: #10a37f;
243 --mwai-headerColor: #FFFFFF;
244 --mwai-conversationsBackgroundColor: #202123;
245 --mwai-conversationsTextColor: #FFFFFF;
246 --mwai-backgroundSecondaryColor: #343541;
247 --mwai-errorBackgroundColor: #6d2f2a;
248 --mwai-errorTextColor: #FFFFFF;
249 }
250 .mwai-foundation-theme * {
251 box-sizing: border-box;
252 }
253 .mwai-foundation-theme .mwai-body {
254 background: var(--mwai-backgroundSecondaryColor);
255 color: var(--mwai-fontColor);
256 font-size: var(--mwai-fontSize);
257 overflow: hidden;
258 display: flex;
259 flex-direction: column;
260 border-radius: var(--mwai-borderRadius);
261 }
262 .mwai-foundation-theme.mwai-window .mwai-header .mwai-name {
263 color: var(--mwai-headerColor);
264 font-size: var(--mwai-fontSize);
265 }
266 .mwai-foundation-theme .mwai-shortcuts {
267 display: flex;
268 justify-content: center;
269 margin: var(--mwai-spacing);
270 }
271 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut {
272 margin-right: calc(var(--mwai-spacing) / 2);
273 display: flex;
274 }
275 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut.mwai-success {
276 color: #4caf50;
277 border: 1px solid #4caf50;
278 }
279 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut.mwai-danger {
280 color: #f44336;
281 border: 1px solid #f44336;
282 }
283 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut.mwai-warning {
284 color: #ff9800;
285 border: 1px solid #ff9800;
286 }
287 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut.mwai-info {
288 color: #2196f3;
289 border: 1px solid #2196f3;
290 }
291 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut .mwai-icon {
292 margin-right: 5px;
293 }
294 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img {
295 max-height: 16px;
296 width: auto;
297 }
298 .mwai-foundation-theme .mwai-blocks {
299 display: flex;
300 flex-direction: column;
301 padding: var(--mwai-spacing);
302 }
303 .mwai-foundation-theme .mwai-blocks .mwai-block p:first-child {
304 margin-top: 0;
305 }
306 .mwai-foundation-theme .mwai-blocks button {
307 cursor: pointer;
308 }
309 .mwai-foundation-theme .mwai-conversation {
310 overflow: auto;
311 flex: 1 1 auto;
312 max-height: var(--mwai-maxHeight);
313 min-height: 0;
314 }
315 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar {
316 width: 8px;
317 background: transparent;
318 }
319 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-track {
320 background: rgba(255, 255, 255, 0.05);
321 border-radius: 4px;
322 }
323 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-thumb {
324 background: rgba(255, 255, 255, 0.15);
325 border-radius: 4px;
326 transition: background 0.2s ease;
327 }
328 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-thumb:hover {
329 background: rgba(255, 255, 255, 0.25);
330 }
331 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-thumb:active {
332 background: rgba(255, 255, 255, 0.3);
333 }
334 .mwai-foundation-theme .mwai-conversation {
335 scrollbar-width: thin;
336 scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.05);
337 }
338 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line {
339 line-height: 1.5;
340 }
341 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-prompt {
342 opacity: 0.95;
343 }
344 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-text {
345 opacity: 0.98;
346 }
347 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-system {
348 opacity: 0.75;
349 }
350 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-prompt {
351 color: var(--mwai-headerColor);
352 }
353 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text {
354 flex: 1;
355 opacity: 0.92;
356 }
357 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text .mwai-image {
358 max-width: 100%;
359 height: auto;
360 }
361 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text pre {
362 background: transparent;
363 border: 1px solid rgba(255, 255, 255, 0.08);
364 padding: 8px;
365 border-radius: 4px;
366 }
367 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text code {
368 font-family: inherit;
369 }
370 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-typed {
371 white-space: pre-wrap;
372 }
373 .mwai-foundation-theme .mwai-reply {
374 display: flex;
375 padding: var(--mwai-spacing);
376 position: relative;
377 line-height: var(--mwai-lineHeight);
378 transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
379 }
380 .mwai-foundation-theme .mwai-reply.mwai-fade-out {
381 opacity: 0;
382 }
383 .mwai-foundation-theme .mwai-reply.mwai-user {
384 background: var(--mwai-backgroundSecondaryColor);
385 }
386 .mwai-foundation-theme .mwai-reply.mwai-ai, .mwai-foundation-theme .mwai-reply.mwai-error {
387 background: var(--mwai-backgroundPrimaryColor);
388 }
389 .mwai-foundation-theme .mwai-reply .mwai-name {
390 color: var(--mwai-fontColor);
391 margin-right: 5px;
392 }
393 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-name-text {
394 opacity: 0.5;
395 white-space: nowrap;
396 }
397 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-avatar {
398 margin-right: 10px;
399 display: flex;
400 align-items: center;
401 justify-content: center;
402 border-radius: 5px;
403 overflow: hidden;
404 }
405 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-avatar img {
406 width: 32px;
407 height: 32px;
408 min-width: 32px;
409 min-height: 32px;
410 }
411 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img {
412 width: 28px;
413 height: 28px;
414 min-width: 28px;
415 min-height: 28px;
416 filter: brightness(0) invert(1);
417 }
418 .mwai-foundation-theme .mwai-reply .mwai-text {
419 flex: auto;
420 font-size: var(--mwai-fontSize);
421 line-height: var(--mwai-lineHeight);
422 color: var(--mwai-fontColor);
423 }
424 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-image {
425 display: block;
426 max-width: 250px;
427 height: auto;
428 margin: 0 0 10px 0;
429 border-radius: var(--mwai-borderRadius);
430 }
431 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-filename {
432 display: flex;
433 text-decoration: none;
434 border: 1px solid var(--mwai-backgroundPrimaryColor);
435 border-radius: var(--mwai-borderRadius);
436 padding: 5px 10px;
437 margin-bottom: 10px;
438 }
439 .mwai-foundation-theme .mwai-reply .mwai-text * {
440 font-size: var(--mwai-fontSize);
441 }
442 .mwai-foundation-theme .mwai-reply .mwai-text > span > *:first-child {
443 margin-top: 0;
444 }
445 .mwai-foundation-theme .mwai-reply .mwai-text > span > *:last-child {
446 margin-bottom: 0;
447 }
448 .mwai-foundation-theme .mwai-reply .mwai-text a {
449 color: #2196f3;
450 }
451 .mwai-foundation-theme .mwai-reply .mwai-text h1, .mwai-foundation-theme .mwai-reply .mwai-text h2, .mwai-foundation-theme .mwai-reply .mwai-text h3, .mwai-foundation-theme .mwai-reply .mwai-text h4, .mwai-foundation-theme .mwai-reply .mwai-text h5, .mwai-foundation-theme .mwai-reply .mwai-text h6 {
452 color: var(--mwai-fontColor);
453 margin: 0px;
454 line-height: 1.2;
455 }
456 .mwai-foundation-theme .mwai-reply .mwai-text h1 {
457 font-size: 150%;
458 }
459 .mwai-foundation-theme .mwai-reply .mwai-text h2 {
460 font-size: 130%;
461 }
462 .mwai-foundation-theme .mwai-reply .mwai-text h3 {
463 font-size: 115%;
464 }
465 .mwai-foundation-theme .mwai-reply .mwai-text h4 {
466 font-size: 105%;
467 }
468 .mwai-foundation-theme .mwai-reply .mwai-text h5 {
469 font-size: 100%;
470 }
471 .mwai-foundation-theme .mwai-reply .mwai-text h6 {
472 font-size: 95%;
473 font-weight: bold;
474 }
475 .mwai-foundation-theme .mwai-reply .mwai-text p code {
476 background: var(--mwai-backgroundSecondaryColor);
477 padding: 2px 6px;
478 border-radius: 8px;
479 font-size: 90%;
480 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
481 }
482 .mwai-foundation-theme .mwai-reply .mwai-text pre {
483 color: var(--mwai-fontColor);
484 border-radius: var(--mwai-borderRadius);
485 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
486 break-after: auto;
487 white-space: pre-wrap;
488 font-size: 90%;
489 max-width: 100%;
490 width: 100%;
491 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
492 background: hsl(0 0% 0% / 30%);
493 }
494 .mwai-foundation-theme .mwai-reply .mwai-text pre code {
495 padding: 0 !important;
496 background: transparent;
497 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
498 }
499 .mwai-foundation-theme .mwai-reply .mwai-text ul, .mwai-foundation-theme .mwai-reply .mwai-text ol {
500 padding: 0;
501 }
502 .mwai-foundation-theme .mwai-reply .mwai-text ul {
503 list-style: disc;
504 margin: 0 0 0 15px;
505 }
506 .mwai-foundation-theme .mwai-reply .mwai-text ol {
507 list-style: decimal;
508 margin: 0 0 0 15px;
509 }
510 .mwai-foundation-theme .mwai-reply .mwai-text table {
511 width: 100%;
512 border: 2px solid var(--mwai-backgroundSecondaryColor);
513 border-collapse: collapse;
514 }
515 .mwai-foundation-theme .mwai-reply .mwai-text thead {
516 background: var(--mwai-backgroundSecondaryColor);
517 }
518 .mwai-foundation-theme .mwai-reply .mwai-text tr, .mwai-foundation-theme .mwai-reply .mwai-text td {
519 padding: 2px 5px;
520 }
521 .mwai-foundation-theme .mwai-reply .mwai-text td {
522 border: 2px solid var(--mwai-backgroundSecondaryColor);
523 }
524 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-typewriter {
525 display: inline-block;
526 }
527 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child {
528 margin-top: 0;
529 }
530 .mwai-foundation-theme .mwai-reply .mwai-text > *:first-child {
531 margin-top: 0;
532 }
533 .mwai-foundation-theme .mwai-reply .mwai-text > *:last-child {
534 margin-bottom: 0;
535 }
536 .mwai-foundation-theme .mwai-reply.mwai-system {
537 background: var(--mwai-errorBackgroundColor);
538 color: var(--mwai-errorFontColor);
539 }
540 .mwai-foundation-theme .mwai-reply.mwai-system .mwai-name {
541 display: none;
542 }
543 .mwai-foundation-theme .mwai-reply.mwai-error {
544 border-top: 1px dashed #ff5656;
545 border-bottom: 1px dashed #ff5656;
546 }
547 .mwai-foundation-theme .mwai-input {
548 display: flex;
549 position: relative;
550 padding: var(--mwai-spacing);
551 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
552 }
553 .mwai-foundation-theme .mwai-input .mwai-input-text {
554 flex: auto;
555 position: relative;
556 display: flex;
557 overflow: hidden;
558 border-radius: var(--mwai-borderRadius);
559 }
560 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-locked {
561 opacity: 0.5;
562 }
563 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-locked input, .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-locked textarea {
564 cursor: not-allowed;
565 }
566 .mwai-foundation-theme .mwai-input .mwai-input-text {
567 background: var(--mwai-backgroundPrimaryColor);
568 padding: calc(var(--mwai-spacing) / 2);
569 }
570 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-blocked {
571 background: var(--mwai-errorBackgroundColor);
572 }
573 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-dragging {
574 filter: brightness(1.2);
575 }
576 .mwai-foundation-theme .mwai-input .mwai-input-text textarea {
577 background: inherit;
578 color: var(--mwai-fontColor);
579 flex: auto;
580 border: none;
581 font-size: var(--mwai-fontSize);
582 resize: none;
583 font-family: inherit;
584 margin: 0;
585 overflow: hidden;
586 min-height: inherit;
587 }
588 .mwai-foundation-theme .mwai-input .mwai-input-text textarea:focus {
589 outline: none;
590 box-shadow: none;
591 }
592 .mwai-foundation-theme .mwai-input .mwai-input-text textarea {
593 padding-left: calc(var(--mwai-spacing) / 2);
594 line-height: var(--mwai-lineHeight);
595 }
596 .mwai-foundation-theme .mwai-input .mwai-input-text textarea:focus {
597 outline: none;
598 box-shadow: none;
599 }
600 .mwai-foundation-theme .mwai-input .mwai-input-text textarea::placeholder {
601 color: var(--mwai-fontColor);
602 opacity: 0.5;
603 }
604 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone {
605 display: flex;
606 justify-content: center;
607 align-items: center;
608 }
609 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone svg {
610 opacity: 0.5;
611 filter: grayscale(100%);
612 transition: opacity 0.3s ease-out;
613 cursor: pointer;
614 }
615 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
616 opacity: 1;
617 }
618 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
619 opacity: 0;
620 cursor: not-allowed;
621 }
622 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon {
623 background: url(icons/dark-icons.svg);
624 background-size: 500%;
625 background-position: 0px -96px;
626 width: 32px;
627 height: 32px;
628 z-index: 100;
629 }
630 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add {
631 background-position: -32px -96px;
632 }
633 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add {
634 background-position: -32px 0px;
635 }
636 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up {
637 background-position: -64px 0px;
638 }
639 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del {
640 background-position: -96px 0px;
641 }
642 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok {
643 background-position: -128px 0px;
644 }
645 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add {
646 background-position: -32px -64px;
647 }
648 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up {
649 background-position: -64px -64px;
650 }
651 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del {
652 background-position: -96px -64px;
653 }
654 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok {
655 background-position: -128px -64px;
656 }
657 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress {
658 position: absolute;
659 font-size: 8px;
660 width: 21px;
661 top: 24px;
662 left: 23px;
663 overflow: hidden;
664 text-align: center;
665 font-weight: bold;
666 color: white;
667 }
668 .mwai-foundation-theme .mwai-input button {
669 margin-left: var(--mwai-spacing);
670 }
671 .mwai-foundation-theme .mwai-compliance {
672 opacity: 0.5;
673 margin-top: 0;
674 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
675 font-size: smaller;
676 color: var(--mwai-fontColor);
677 text-align: left;
678 }
679 .mwai-foundation-theme .mwai-gallery {
680 display: grid;
681 grid-template-columns: repeat(3, 1fr);
682 grid-gap: 5px;
683 }
684 .mwai-foundation-theme .mwai-gallery img {
685 width: 100%;
686 }
687 .mwai-foundation-theme button {
688 color: var(--mwai-fontColor);
689 background: var(--mwai-backgroundSecondaryColor);
690 border: 1px solid var(--mwai-borderColor);
691 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
692 min-width: 70px;
693 border-radius: 5px;
694 cursor: pointer;
695 transition: all 0.2s ease-out;
696 display: flex;
697 align-items: center;
698 justify-content: center;
699 font-size: calc(var(--mwai-fontSize) * 0.9);
700 position: relative;
701 }
702 .mwai-foundation-theme button .mwai-timer {
703 margin-left: 5px;
704 margin-right: 5px;
705 font-size: 11px;
706 }
707 .mwai-foundation-theme button:hover {
708 background: var(--mwai-backgroundPrimaryColor);
709 }
710 .mwai-foundation-theme button[disabled] {
711 cursor: not-allowed;
712 }
713 .mwai-foundation-theme button[disabled] span {
714 opacity: 0.5;
715 }
716 .mwai-foundation-theme button[disabled].mwai-busy span {
717 display: none;
718 }
719 .mwai-foundation-theme button[disabled].mwai-busy:before {
720 content: "";
721 width: 18px;
722 height: 18px;
723 margin: auto;
724 border: 3px solid transparent;
725 border-top-color: var(--mwai-fontColor);
726 border-radius: 50%;
727 animation: mwai-button-spinner 1s ease infinite;
728 }
729 .mwai-foundation-theme.mwai-form-container {
730 padding: var(--mwai-spacing);
731 font-size: var(--mwai-fontSize);
732 color: var(--mwai-fontColor);
733 background: var(--mwai-backgroundSecondaryColor);
734 border-radius: var(--mwai-borderRadius);
735 }
736 .mwai-foundation-theme.mwai-form-container fieldset {
737 border: 0;
738 margin: 0;
739 padding: 0;
740 display: flex;
741 flex-direction: column;
742 margin-bottom: 10px;
743 }
744 .mwai-foundation-theme.mwai-form-container fieldset input[type=text], .mwai-foundation-theme.mwai-form-container fieldset input[type=email], .mwai-foundation-theme.mwai-form-container fieldset input[type=tel], .mwai-foundation-theme.mwai-form-container fieldset input[type=url], .mwai-foundation-theme.mwai-form-container fieldset input[type=password], .mwai-foundation-theme.mwai-form-container fieldset input[type=number], .mwai-foundation-theme.mwai-form-container fieldset input[type=date], .mwai-foundation-theme.mwai-form-container fieldset input[type=datetime], .mwai-foundation-theme.mwai-form-container fieldset input[type=datetime-local], .mwai-foundation-theme.mwai-form-container fieldset input[type=month], .mwai-foundation-theme.mwai-form-container fieldset input[type=search], .mwai-foundation-theme.mwai-form-container fieldset input[type=time], .mwai-foundation-theme.mwai-form-container fieldset input[type=week], .mwai-foundation-theme.mwai-form-container fieldset select, .mwai-foundation-theme.mwai-form-container fieldset textarea {
745 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
746 border: 0;
747 width: 100%;
748 border-radius: var(--mwai-borderRadius);
749 font-size: var(--mwai-fontSize);
750 background: var(--mwai-backgroundPrimaryColor);
751 color: var(--mwai-fontColor);
752 }
753 .mwai-foundation-theme.mwai-form-container fieldset select {
754 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
755 border: 0;
756 width: 100%;
757 border-radius: var(--mwai-borderRadius);
758 font-size: var(--mwai-fontSize);
759 background: var(--mwai-backgroundPrimaryColor);
760 color: var(--mwai-fontColor);
761 }
762 .mwai-foundation-theme.mwai-form-container fieldset textarea {
763 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
764 border: 0;
765 width: 100%;
766 border-radius: var(--mwai-borderRadius);
767 font-family: inherit;
768 font-size: var(--mwai-fontSize);
769 background: var(--mwai-backgroundPrimaryColor);
770 color: var(--mwai-fontColor);
771 }
772 .mwai-foundation-theme.mwai-form-container fieldset input[disabled], .mwai-foundation-theme.mwai-form-container fieldset select[disabled], .mwai-foundation-theme.mwai-form-container fieldset textarea[disabled] {
773 opacity: 0.25;
774 }
775 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button {
776 height: 45px;
777 background: none;
778 width: 100%;
779 color: var(--mwai-fontColor);
780 font-size: var(--mwai-fontSize);
781 background-color: var(--mwai-backgroundSecondaryColor);
782 border: 1px solid var(--mwai-backgroundPrimaryColor);
783 border-radius: var(--mwai-borderRadius);
784 cursor: pointer;
785 transition: all 0.2s ease-out;
786 position: relative;
787 }
788 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button:hover {
789 background: var(--mwai-backgroundPrimaryColor);
790 }
791 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button[disabled] span {
792 opacity: 0.25;
793 }
794 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button[disabled]:hover {
795 background: none;
796 cursor: not-allowed;
797 }
798 .mwai-foundation-theme.mwai-form-container .mwai-form-submit.mwai-loading button span, .mwai-foundation-theme.mwai-form-container .mwai-form-reset.mwai-loading button span {
799 opacity: 0;
800 }
801 .mwai-foundation-theme.mwai-form-container .mwai-form-submit.mwai-loading button::after, .mwai-foundation-theme.mwai-form-container .mwai-form-reset.mwai-loading button::after {
802 content: "";
803 position: absolute;
804 width: 18px;
805 height: 18px;
806 top: 0;
807 left: 0;
808 right: 0;
809 bottom: 0;
810 margin: auto;
811 border: 3px solid transparent;
812 border-top-color: var(--mwai-fontColor);
813 border-radius: 50%;
814 animation: mwai-button-spinner 1s ease infinite;
815 }
816 .mwai-foundation-theme.mwai-form-container .mwai-form-submit.mwai-loading button .mwai-timer, .mwai-foundation-theme.mwai-form-container .mwai-form-reset.mwai-loading button .mwai-timer {
817 position: absolute;
818 top: 50%;
819 left: 50%;
820 margin-left: 16px;
821 transform: translateY(-50%);
822 font-size: 11px;
823 opacity: 0.8;
824 }
825 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output {
826 font-size: var(--mwai-fontSize);
827 position: relative;
828 margin-top: var(--mwai-spacing);
829 padding: var(--mwai-spacing);
830 border: 1px solid var(--mwai-backgroundPrimaryColor);
831 }
832 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error {
833 background: var(--mwai-errorBackgroundColor);
834 color: var(--mwai-errorFontColor);
835 }
836 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child {
837 margin-top: 0;
838 }
839 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child {
840 margin-bottom: 0;
841 }
842 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img {
843 max-width: 33%;
844 }
845 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child {
846 margin-top: 0;
847 }
848 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child {
849 margin-bottom: 0;
850 }
851 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container.mwai-has-content {
852 display: block;
853 }
854 .mwai-foundation-theme.mwai-form-container .wp-block-columns {
855 margin: 0;
856 }
857 .mwai-foundation-theme .mwai-chunks {
858 background: rgba(255, 255, 255, 0.05);
859 border-top: 1px solid rgba(255, 255, 255, 0.1);
860 }
861 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header {
862 color: #9ca3af;
863 }
864 .mwai-foundation-theme .mwai-chunks .mwai-chunk {
865 background: rgba(255, 255, 255, 0.08);
866 border: 1px solid rgba(255, 255, 255, 0.1);
867 }
868 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
869 color: #6b7280;
870 }
871 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
872 color: #e5e7eb;
873 }
874 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
875 color: #6b7280;
876 }
877 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
878 background: rgba(0, 0, 0, 0.2);
879 }
880 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
881 color: #d1d5db;
882 }
883 .mwai-foundation-theme.mwai-animation-zoom.mwai-window {
884 filter: none;
885 }
886 @media (max-width: 760px) {
887 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-header {
888 display: none !important;
889 }
890 }
891 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-window-box {
892 display: flex;
893 flex-direction: column;
894 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
895 opacity: 0;
896 transform: scale(0.5);
897 transform-origin: bottom right;
898 transition: opacity 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
899 }
900 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box {
901 width: 100%;
902 height: 100%;
903 }
904 @media (min-width: 761px) {
905 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
906 display: flex !important;
907 }
908 }
909 @media (max-width: 760px) {
910 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
911 display: none !important;
912 }
913 }
914 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body {
915 display: flex !important;
916 }
917 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box {
918 opacity: 1;
919 transform: scale(0.92);
920 }
921 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
922 opacity: 1;
923 transform: scale(1);
924 }
925 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box {
926 opacity: 0;
927 transform: scale(0.85);
928 transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1);
929 }
930 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger {
931 display: none !important;
932 }
933 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container {
934 transform: scale(1);
935 opacity: 1;
936 }
937 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box {
938 transform-origin: calc(100% - 32px) calc(100% - 32px);
939 }
940 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box {
941 transform-origin: 32px calc(100% - 32px);
942 }
943 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box {
944 transform-origin: calc(100% - 32px) 32px;
945 }
946 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box {
947 transform-origin: 32px 32px;
948 }
949 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box {
950 transform-origin: center center;
951 }
952 @media (max-width: 760px) {
953 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
954 transform-origin: center center !important;
955 }
956 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-header {
957 display: none !important;
958 }
959 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger {
960 position: fixed !important;
961 z-index: 9999 !important;
962 }
963 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger {
964 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
965 right: 20px !important;
966 left: auto !important;
967 top: auto !important;
968 }
969 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger {
970 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
971 left: 20px !important;
972 right: auto !important;
973 top: auto !important;
974 }
975 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger {
976 top: 20px !important;
977 right: 20px !important;
978 left: auto !important;
979 bottom: auto !important;
980 }
981 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger {
982 top: 20px !important;
983 left: 20px !important;
984 right: auto !important;
985 bottom: auto !important;
986 }
987 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger {
988 display: none !important;
989 }
990 }
991 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container {
992 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
993 }
994 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
995 transition: transform 0.2s ease-out;
996 }
997 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
998 transform: scale(1.1);
999 }
1000 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1001 transform: scale(0.9);
1002 }
1003 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1004 transform: scale(0.8);
1005 opacity: 0.3;
1006 }
1007 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1008 display: none;
1009 }
1010 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1011 display: none !important;
1012 }
1013 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1014 opacity: 1 !important;
1015 transition: none !important;
1016 }
1017 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1018 will-change: transform, opacity;
1019 transform: none;
1020 }
1021 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-right .mwai-icon-text {
1022 transform-origin: right bottom;
1023 }
1024 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-left .mwai-icon-text {
1025 transform-origin: left bottom;
1026 }
1027 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-right .mwai-icon-text {
1028 transform-origin: right top;
1029 }
1030 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-left .mwai-icon-text {
1031 transform-origin: left top;
1032 }
1033 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-center-open .mwai-icon-text {
1034 transform-origin: center center;
1035 }
1036 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1037 animation: mwaiIconTextZoomIn 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1038 }
1039 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1040 transform: scale(1.02);
1041 }
1042 @media (prefers-reduced-motion: reduce) {
1043 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1044 animation: none !important;
1045 transform: none !important;
1046 }
1047 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1048 opacity: 1 !important;
1049 transition: none !important;
1050 }
1051 }
1052 .mwai-foundation-theme.mwai-animation-slide.mwai-window {
1053 filter: none;
1054 }
1055 @media (max-width: 760px) {
1056 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-header {
1057 display: none !important;
1058 }
1059 }
1060 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-window-box {
1061 display: flex;
1062 flex-direction: column;
1063 filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15));
1064 opacity: 0;
1065 transform: translateY(100%);
1066 transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
1067 }
1068 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box {
1069 width: 100%;
1070 height: 100%;
1071 }
1072 @media (min-width: 761px) {
1073 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1074 display: flex !important;
1075 }
1076 }
1077 @media (max-width: 760px) {
1078 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1079 display: none !important;
1080 }
1081 }
1082 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body {
1083 display: flex !important;
1084 }
1085 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box {
1086 opacity: 0.5;
1087 transform: translateY(20px);
1088 }
1089 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box {
1090 opacity: 1;
1091 transform: translateY(0);
1092 }
1093 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box {
1094 opacity: 0;
1095 transform: translateY(100%);
1096 transition: opacity 200ms ease-in, transform 200ms ease-in;
1097 }
1098 @media (max-width: 760px) {
1099 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-header {
1100 display: none !important;
1101 }
1102 }
1103 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container {
1104 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1105 }
1106 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1107 transition: transform 0.2s ease-out;
1108 }
1109 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1110 transform: scale(1.1);
1111 }
1112 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1113 transform: scale(0.9);
1114 }
1115 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1116 opacity: 0;
1117 }
1118 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger {
1119 display: none !important;
1120 }
1121 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1122 display: none !important;
1123 }
1124 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1125 display: none !important;
1126 }
1127 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1128 display: none;
1129 }
1130 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1131 opacity: 1 !important;
1132 transition: none !important;
1133 }
1134 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1135 will-change: transform, opacity;
1136 transform: none;
1137 }
1138 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1139 animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1140 backface-visibility: hidden;
1141 }
1142 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1143 transform: translateY(-2px);
1144 }
1145 @media (prefers-reduced-motion: reduce) {
1146 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1147 animation: none !important;
1148 transform: none !important;
1149 }
1150 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1151 opacity: 1 !important;
1152 transition: none !important;
1153 }
1154 }
1155 @media (max-width: 760px) {
1156 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-header {
1157 display: none !important;
1158 }
1159 }
1160 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1161 display: flex;
1162 flex-direction: column;
1163 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
1164 opacity: 0;
1165 transform: translateY(8px) scale(0.98);
1166 transform-origin: center bottom;
1167 will-change: opacity, transform;
1168 transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1);
1169 }
1170 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box {
1171 width: 100%;
1172 height: 100%;
1173 }
1174 @media (min-width: 761px) {
1175 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1176 display: flex !important;
1177 }
1178 }
1179 @media (max-width: 760px) {
1180 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1181 display: none !important;
1182 }
1183 }
1184 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body {
1185 display: flex !important;
1186 opacity: 1 !important;
1187 transition: none !important;
1188 }
1189 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1190 opacity: 1 !important;
1191 transition: none !important;
1192 }
1193 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box {
1194 opacity: 1;
1195 transform: translateY(0) scale(1);
1196 }
1197 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body {
1198 opacity: 1 !important;
1199 transition: none !important;
1200 }
1201 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
1202 opacity: 1;
1203 transform: translateY(0) scale(1);
1204 }
1205 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1206 opacity: 0;
1207 transform: translateY(8px) scale(0.98);
1208 transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1);
1209 }
1210 @media (prefers-reduced-motion: reduce) {
1211 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1212 transition: opacity 120ms linear !important;
1213 transform: none !important;
1214 }
1215 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box, .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
1216 opacity: 1;
1217 }
1218 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1219 opacity: 0;
1220 }
1221 }
1222 @media (max-width: 760px) {
1223 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-header {
1224 display: none !important;
1225 }
1226 }
1227 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container {
1228 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1229 }
1230 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1231 transition: transform 0.2s ease-out;
1232 }
1233 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1234 transform: scale(1.1);
1235 }
1236 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1237 transform: scale(0.9);
1238 }
1239 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1240 opacity: 0;
1241 }
1242 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger {
1243 display: none !important;
1244 }
1245 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1246 display: none !important;
1247 }
1248 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1249 display: none !important;
1250 }
1251 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1252 display: none;
1253 }
1254 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1255 opacity: 1 !important;
1256 transition: none !important;
1257 }
1258 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1259 will-change: transform, opacity;
1260 transform: none;
1261 }
1262 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1263 animation: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both;
1264 }
1265 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1266 transform: scale(1.01);
1267 }
1268 @media (prefers-reduced-motion: reduce) {
1269 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1270 animation: none !important;
1271 transform: none !important;
1272 }
1273 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1274 opacity: 1 !important;
1275 transition: none !important;
1276 }
1277 }
1278 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box {
1279 display: flex;
1280 flex-direction: column;
1281 filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
1282 }
1283 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container {
1284 opacity: 1 !important;
1285 transition: none !important;
1286 }
1287 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text {
1288 animation: none !important;
1289 transition: none !important;
1290 opacity: 1 !important;
1291 transform: none !important;
1292 }
1293 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box {
1294 width: 100%;
1295 height: 100%;
1296 }
1297
1298 .mwai-foundation-theme .mwai-footer {
1299 display: flex;
1300 align-items: center;
1301 background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1302 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1303 padding: 6px var(--mwai-spacing);
1304 }
1305 .mwai-foundation-theme .mwai-footer:empty {
1306 display: none;
1307 }
1308 .mwai-foundation-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) {
1309 display: none;
1310 }
1311 .mwai-foundation-theme .mwai-footer .mwai-tools {
1312 display: flex;
1313 align-items: center;
1314 gap: 8px;
1315 margin-right: calc(var(--mwai-spacing) / 2);
1316 }
1317 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload {
1318 display: inline-block;
1319 }
1320 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide {
1321 display: inline-flex;
1322 align-items: center;
1323 justify-content: center;
1324 position: relative;
1325 min-width: 16px;
1326 height: 16px;
1327 color: var(--mwai-fontColor);
1328 opacity: 0.75;
1329 margin: 0;
1330 }
1331 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover {
1332 opacity: 1;
1333 }
1334 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg {
1335 width: 16px;
1336 height: 16px;
1337 }
1338 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
1339 position: absolute;
1340 top: -5px;
1341 right: -6px;
1342 min-width: 12px;
1343 height: 12px;
1344 padding: 0 2px;
1345 border-radius: 999px;
1346 background: var(--mwai-backgroundHeaderColor);
1347 color: #fff;
1348 border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1349 font-size: 8px;
1350 font-family: system-ui;
1351 font-weight: 700;
1352 line-height: 1;
1353 display: inline-flex;
1354 align-items: center;
1355 justify-content: center;
1356 user-select: none;
1357 cursor: pointer;
1358 }
1359 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after {
1360 content: attr(data-count);
1361 }
1362 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after {
1363 content: "-";
1364 }
1365 .mwai-foundation-theme .mwai-footer .mwai-compliance {
1366 opacity: 0.5;
1367 font-size: 11px;
1368 line-height: 11px;
1369 color: var(--mwai-fontColor);
1370 flex: 1;
1371 text-align: left;
1372 padding: calc(var(--mwai-spacing) / 2) 0;
1373 margin: 0;
1374 }
1375 .mwai-foundation-theme .mwai-footer .mwai-tools + .mwai-compliance {
1376 text-align: right;
1377 }
1378 .mwai-foundation-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-foundation-theme .mwai-body:last-child .mwai-input {
1379 padding-bottom: var(--mwai-spacing);
1380 }
1381 @media (max-width: 760px) {
1382 .mwai-foundation-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-foundation-theme .mwai-body:last-child .mwai-input {
1383 padding-bottom: var(--mwai-spacing);
1384 }
1385 }
1386
1387 .mwai-foundation-theme .mwai-files {
1388 display: flex;
1389 flex-direction: column;
1390 gap: 8px;
1391 padding: var(--mwai-spacing);
1392 background: var(--mwai-backgroundSecondaryColor);
1393 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1394 }
1395 .mwai-foundation-theme .mwai-files::-webkit-scrollbar {
1396 width: 6px;
1397 }
1398 .mwai-foundation-theme .mwai-files::-webkit-scrollbar-track {
1399 background: var(--mwai-backgroundPrimaryColor);
1400 border-radius: 3px;
1401 }
1402 .mwai-foundation-theme .mwai-files::-webkit-scrollbar-thumb {
1403 background: var(--mwai-backgroundHeaderColor);
1404 border-radius: 3px;
1405 }
1406 .mwai-foundation-theme .mwai-files::-webkit-scrollbar-thumb:hover {
1407 background: var(--mwai-primaryColor);
1408 }
1409 .mwai-foundation-theme .mwai-files .mwai-file-preview {
1410 position: relative;
1411 }
1412 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-content {
1413 display: flex;
1414 align-items: center;
1415 gap: 8px;
1416 }
1417 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
1418 width: 32px;
1419 height: 32px;
1420 object-fit: cover;
1421 border-radius: 4px;
1422 border: 1px solid var(--mwai-backgroundHeaderColor);
1423 display: block;
1424 flex-shrink: 0;
1425 }
1426 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-icon {
1427 width: 32px;
1428 height: 32px;
1429 display: flex;
1430 align-items: center;
1431 justify-content: center;
1432 background: var(--mwai-backgroundSecondaryColor);
1433 border-radius: 4px;
1434 color: var(--mwai-fontColor);
1435 opacity: 0.6;
1436 flex-shrink: 0;
1437 }
1438 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-icon svg {
1439 width: 18px;
1440 height: 18px;
1441 }
1442 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-info {
1443 flex: 1;
1444 min-width: 0;
1445 display: flex;
1446 flex-direction: column;
1447 gap: 2px;
1448 }
1449 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-name {
1450 font-size: calc(var(--mwai-fontSize) * 0.85);
1451 color: var(--mwai-fontColor);
1452 white-space: nowrap;
1453 overflow: hidden;
1454 text-overflow: ellipsis;
1455 line-height: 1.2;
1456 }
1457 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-size {
1458 font-size: calc(var(--mwai-fontSize) * 0.7);
1459 color: var(--mwai-fontColor);
1460 opacity: 0.5;
1461 line-height: 1;
1462 }
1463 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-progress {
1464 position: absolute;
1465 bottom: 0;
1466 left: 0;
1467 right: 0;
1468 height: 2px;
1469 background: var(--mwai-backgroundHeaderColor);
1470 border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2);
1471 overflow: hidden;
1472 }
1473 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
1474 height: 100%;
1475 background: var(--mwai-primaryColor);
1476 transition: width 0.3s ease;
1477 }
1478 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-remove {
1479 display: flex;
1480 align-items: center;
1481 justify-content: center;
1482 background: none;
1483 cursor: pointer;
1484 color: var(--mwai-fontColor);
1485 padding: 4px;
1486 border: none;
1487 line-height: 0;
1488 min-width: inherit;
1489 margin-left: auto;
1490 opacity: 0.6;
1491 transition: opacity 0.2s ease;
1492 }
1493 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
1494 opacity: 1;
1495 }
1496 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
1497 width: 20px;
1498 height: 20px;
1499 }
1500 .mwai-foundation-theme .mwai-files:empty {
1501 display: none;
1502 }
1503 .mwai-foundation-theme .mwai-file-upload-icon {
1504 margin-bottom: -3px;
1505 }
1506 .mwai-foundation-theme .mwai-spin {
1507 animation: mwai-spin 1s linear infinite;
1508 }
1509 @keyframes mwai-spin {
1510 from {
1511 transform: rotate(0deg);
1512 }
1513 to {
1514 transform: rotate(360deg);
1515 }
1516 }
1517 .mwai-foundation-theme .mwai-terminal {
1518 --mwai-terminal-active-color: var(--mwai-fontColor);
1519 font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
1520 font-size: 12px;
1521 background: var(--mwai-backgroundPrimaryColor);
1522 color: var(--mwai-fontColor);
1523 padding: var(--mwai-spacing);
1524 height: 100%;
1525 overflow-y: auto;
1526 cursor: text;
1527 display: flex;
1528 flex-direction: column;
1529 flex: 1 1 auto;
1530 min-height: 0;
1531 padding-bottom: calc(var(--mwai-spacing) * 1.25);
1532 }
1533 .mwai-foundation-theme .mwai-terminal:focus {
1534 outline: none;
1535 }
1536 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line {
1537 display: flex;
1538 align-items: flex-start;
1539 margin: calc(var(--mwai-spacing) / 2) 0;
1540 white-space: pre-wrap;
1541 word-wrap: break-word;
1542 word-break: break-word;
1543 }
1544 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user {
1545 color: var(--mwai-fontColor);
1546 opacity: 0.35;
1547 }
1548 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing {
1549 color: var(--mwai-terminal-active-color);
1550 opacity: 1;
1551 }
1552 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt {
1553 color: var(--mwai-terminal-active-color);
1554 }
1555 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant {
1556 color: var(--mwai-fontColor);
1557 }
1558 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system {
1559 color: #608b4e;
1560 font-style: italic;
1561 }
1562 .mwai-foundation-theme .mwai-terminal .mwai-terminal-prompt {
1563 color: var(--mwai-terminal-active-color);
1564 margin-left: -4px;
1565 margin-right: 4px;
1566 display: inline-flex;
1567 align-items: center;
1568 height: 1.5em;
1569 line-height: 1.2;
1570 flex-shrink: 0;
1571 align-self: flex-start;
1572 }
1573 .mwai-foundation-theme .mwai-terminal .mwai-terminal-prompt svg {
1574 display: block;
1575 width: 1.4em;
1576 height: 1.4em;
1577 }
1578 .mwai-foundation-theme .mwai-terminal .mwai-terminal-text {
1579 color: inherit;
1580 }
1581 .mwai-foundation-theme .mwai-terminal .mwai-terminal-input-wrapper {
1582 flex: 1;
1583 display: inline;
1584 white-space: pre-wrap;
1585 word-wrap: break-word;
1586 word-break: break-word;
1587 }
1588 .mwai-foundation-theme .mwai-terminal .mwai-terminal-typed {
1589 color: var(--mwai-terminal-active-color);
1590 white-space: pre-wrap;
1591 word-wrap: break-word;
1592 word-break: break-word;
1593 }
1594 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor {
1595 display: inline-block;
1596 min-width: 8px;
1597 height: 1.35em;
1598 color: var(--mwai-terminal-active-color);
1599 background: var(--mwai-terminal-active-color);
1600 opacity: 0.35;
1601 vertical-align: text-bottom;
1602 line-height: inherit;
1603 }
1604 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active {
1605 opacity: 1;
1606 color: var(--mwai-backgroundPrimaryColor);
1607 animation: mwai-cursor-blink 1s infinite;
1608 }
1609 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing {
1610 opacity: 1;
1611 color: var(--mwai-backgroundPrimaryColor);
1612 }
1613 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
1614 opacity: 0.35;
1615 }
1616 .mwai-foundation-theme .mwai-terminal {
1617 scrollbar-width: thin;
1618 scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
1619 }
1620 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar {
1621 width: 8px;
1622 background: transparent;
1623 }
1624 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar-track {
1625 background: transparent;
1626 }
1627 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar-thumb {
1628 background: rgba(128, 128, 128, 0.3);
1629 border-radius: 4px;
1630 }
1631 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar-thumb:hover {
1632 background: rgba(128, 128, 128, 0.5);
1633 }
1634 .mwai-foundation-theme .mwai-terminal + .mwai-compliance {
1635 margin-top: 0;
1636 }
1637 .mwai-foundation-theme.mwai-transition, .mwai-foundation-theme .mwai-transition {
1638 opacity: 0;
1639 transition: opacity 350ms ease-in-out;
1640 }
1641 .mwai-foundation-theme.mwai-transition-visible, .mwai-foundation-theme .mwai-transition-visible {
1642 opacity: 1;
1643 }
1644 .mwai-foundation-theme .mwai-text {
1645 overflow-wrap: anywhere;
1646 }
1647 .mwai-foundation-theme .mwai-text img, .mwai-foundation-theme .mwai-text svg {
1648 max-width: 100%;
1649 }
1650 .mwai-foundation-theme .mwai-text div p:first-child {
1651 margin-top: 0;
1652 }
1653 .mwai-foundation-theme .mwai-text div p:last-child {
1654 margin-bottom: 0;
1655 }
1656 .mwai-foundation-theme .mwai-trigger {
1657 position: absolute;
1658 right: 0;
1659 bottom: 0;
1660 transition: all 0.2s ease-out;
1661 z-index: 9999;
1662 display: flex;
1663 flex-direction: column;
1664 align-items: end;
1665 }
1666 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container {
1667 display: flex;
1668 flex-direction: column;
1669 align-items: flex-end;
1670 position: relative;
1671 z-index: 2;
1672 }
1673 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
1674 background: var(--mwai-iconTextBackgroundColor);
1675 color: var(--mwai-iconTextColor);
1676 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
1677 max-width: 200px;
1678 font-size: 13px;
1679 margin-bottom: 15px;
1680 padding: 10px 15px;
1681 border-radius: 8px;
1682 position: relative;
1683 user-select: none;
1684 -webkit-user-select: none;
1685 -ms-user-select: none;
1686 }
1687 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
1688 --mwai-icon-close-size: 28px;
1689 color: var(--mwai-iconTextColor);
1690 background: var(--mwai-iconTextBackgroundColor);
1691 font-size: 13px;
1692 line-height: 1;
1693 width: var(--mwai-icon-close-size);
1694 height: var(--mwai-icon-close-size);
1695 min-width: var(--mwai-icon-close-size);
1696 min-height: var(--mwai-icon-close-size);
1697 border-radius: 50%;
1698 display: flex;
1699 opacity: 0;
1700 visibility: hidden;
1701 pointer-events: none;
1702 transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms;
1703 justify-content: center;
1704 align-items: center;
1705 position: absolute;
1706 right: 0;
1707 top: 0;
1708 transform: translate(40%, -40%);
1709 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
1710 z-index: 2;
1711 cursor: pointer;
1712 pointer-events: auto;
1713 -webkit-tap-highlight-color: transparent;
1714 user-select: none;
1715 -webkit-user-select: none;
1716 -ms-user-select: none;
1717 }
1718 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container:hover {
1719 cursor: pointer;
1720 }
1721 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
1722 opacity: 1;
1723 visibility: visible;
1724 pointer-events: auto;
1725 transform: translate(40%, -40%) scale(1);
1726 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
1727 }
1728 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
1729 filter: brightness(1.1);
1730 transform: translate(40%, -40%) scale(1.06);
1731 }
1732 @media (max-width: 760px) {
1733 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
1734 opacity: 1;
1735 visibility: visible;
1736 pointer-events: auto;
1737 transform: translate(40%, -40%) scale(1);
1738 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
1739 }
1740 }
1741 .mwai-foundation-theme .mwai-trigger .mwai-icon-container {
1742 position: relative;
1743 z-index: 1;
1744 }
1745 .mwai-foundation-theme .mwai-trigger .mwai-icon-container .mwai-icon {
1746 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
1747 transition: all 0.2s ease-out;
1748 }
1749 .mwai-foundation-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
1750 cursor: pointer;
1751 transform: scale(1.05);
1752 }
1753 .mwai-foundation-theme.mwai-window {
1754 position: fixed;
1755 right: 30px;
1756 bottom: 30px;
1757 width: var(--mwai-width);
1758 z-index: 9999;
1759 }
1760 .mwai-foundation-theme.mwai-window .mwai-window-box {
1761 position: relative;
1762 z-index: 1;
1763 }
1764 .mwai-foundation-theme.mwai-window .mwai-header {
1765 display: none;
1766 justify-content: space-between;
1767 align-items: center;
1768 padding: 0 0 0 15px;
1769 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
1770 background: var(--mwai-backgroundHeaderColor);
1771 }
1772 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons {
1773 display: flex;
1774 align-items: center;
1775 margin-left: auto;
1776 }
1777 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
1778 justify-content: center;
1779 height: 32px;
1780 width: 32px;
1781 cursor: pointer;
1782 display: flex;
1783 justify-content: center;
1784 align-items: center;
1785 }
1786 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
1787 transition: all 0.2s ease-out;
1788 content: " ";
1789 cursor: pointer;
1790 position: absolute;
1791 height: 20px;
1792 width: 20px;
1793 background-color: var(--mwai-headerColor);
1794 -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain;
1795 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain;
1796 }
1797 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
1798 width: 22px;
1799 height: 22px;
1800 }
1801 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
1802 justify-content: center;
1803 height: 32px;
1804 width: 32px;
1805 cursor: pointer;
1806 border-radius: var(--mwai-borderRadius);
1807 margin-left: -10px;
1808 }
1809 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
1810 transition: all 0.2s ease-out;
1811 transform: translate(16px, 5px) rotate(45deg);
1812 }
1813 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
1814 transition: all 0.2s ease-out;
1815 transform: translate(16px, 5px) rotate(-45deg);
1816 }
1817 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
1818 content: " ";
1819 cursor: pointer;
1820 position: absolute;
1821 height: 22px;
1822 width: 1.2px;
1823 background-color: var(--mwai-headerColor);
1824 }
1825 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
1826 opacity: 1;
1827 transform: translate(16px, 5px) rotate(135deg);
1828 }
1829 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
1830 opacity: 1;
1831 transform: translate(16px, 5px) rotate(45deg);
1832 }
1833 .mwai-foundation-theme.mwai-window.mwai-opening, .mwai-foundation-theme.mwai-window.mwai-closing {
1834 cursor: default !important;
1835 }
1836 .mwai-foundation-theme.mwai-window.mwai-opening .mwai-header, .mwai-foundation-theme.mwai-window.mwai-closing .mwai-header {
1837 cursor: default !important;
1838 }
1839 .mwai-foundation-theme.mwai-window .mwai-body {
1840 display: none;
1841 opacity: 0;
1842 max-height: var(--mwai-maxHeight);
1843 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
1844 }
1845 .mwai-foundation-theme.mwai-window.mwai-bottom-left {
1846 bottom: 30px;
1847 right: inherit;
1848 left: 30px;
1849 }
1850 .mwai-foundation-theme.mwai-window.mwai-bottom-left .mwai-trigger {
1851 right: inherit;
1852 left: 0;
1853 }
1854 .mwai-foundation-theme.mwai-window.mwai-top-right {
1855 top: 30px;
1856 bottom: inherit;
1857 right: 30px;
1858 }
1859 .mwai-foundation-theme.mwai-window.mwai-top-right .mwai-trigger {
1860 top: 0;
1861 bottom: inherit;
1862 }
1863 .mwai-foundation-theme.mwai-window.mwai-top-left {
1864 top: 30px;
1865 bottom: inherit;
1866 right: inherit;
1867 left: 30px;
1868 }
1869 .mwai-foundation-theme.mwai-window.mwai-top-left .mwai-trigger {
1870 top: 0;
1871 bottom: inherit;
1872 right: inherit;
1873 left: 0;
1874 }
1875 .mwai-foundation-theme.mwai-window.mwai-center-open.mwai-open {
1876 top: 50%;
1877 left: 50%;
1878 transform: translate(-50%, -50%);
1879 right: auto;
1880 bottom: auto;
1881 }
1882 @media (max-width: 760px) {
1883 .mwai-foundation-theme.mwai-window.mwai-center-open.mwai-open {
1884 width: calc(100% - 40px);
1885 max-width: var(--mwai-width);
1886 }
1887 }
1888 .mwai-foundation-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-foundation-theme.mwai-window.mwai-bottom-left .mwai-trigger {
1889 align-items: flex-start;
1890 }
1891 .mwai-foundation-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-foundation-theme.mwai-window.mwai-top-left .mwai-trigger {
1892 flex-direction: column-reverse;
1893 }
1894 .mwai-foundation-theme.mwai-window.mwai-top-right .mwai-trigger .mwai-icon-text, .mwai-foundation-theme.mwai-window.mwai-top-left .mwai-trigger .mwai-icon-text {
1895 margin-bottom: 0;
1896 margin-top: 15px;
1897 }
1898 .mwai-foundation-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
1899 margin-bottom: 0px;
1900 }
1901 .mwai-foundation-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
1902 width: 20px;
1903 height: 20px;
1904 -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E");
1905 mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E");
1906 }
1907 .mwai-foundation-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
1908 width: 22px;
1909 height: 22px;
1910 }
1911 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) {
1912 position: fixed;
1913 left: 0 !important;
1914 right: 0 !important;
1915 bottom: 0 !important;
1916 top: 0 !important;
1917 width: 100%;
1918 height: 100%;
1919 height: 100vh;
1920 height: 100dvh;
1921 max-height: 100dvh;
1922 max-width: 100%;
1923 display: flex;
1924 flex-direction: column;
1925 margin: 0;
1926 z-index: 999999;
1927 background-color: var(--mwai-backgroundSecondaryColor);
1928 }
1929 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
1930 border-radius: 0;
1931 }
1932 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
1933 flex: 1;
1934 min-height: 0;
1935 max-height: inherit;
1936 border-radius: 0;
1937 display: flex !important;
1938 flex-direction: column !important;
1939 }
1940 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation {
1941 flex: 0 1 auto !important;
1942 max-height: none;
1943 overflow-y: auto;
1944 min-height: 0;
1945 }
1946 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer {
1947 flex: 1 1 auto !important;
1948 min-height: 0;
1949 }
1950 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input {
1951 flex: 0 0 auto;
1952 }
1953 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer {
1954 flex: 0 0 auto;
1955 }
1956 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files {
1957 flex: 0 0 auto;
1958 }
1959 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) {
1960 display: flex !important;
1961 visibility: visible !important;
1962 opacity: 1 !important;
1963 }
1964 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box {
1965 width: 100%;
1966 height: 100%;
1967 display: flex;
1968 flex-direction: column;
1969 }
1970 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
1971 display: flex !important;
1972 visibility: visible !important;
1973 opacity: 1 !important;
1974 flex: 0 0 auto;
1975 }
1976 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
1977 display: flex !important;
1978 visibility: visible !important;
1979 opacity: 1 !important;
1980 flex: 1 1 auto;
1981 flex-direction: column;
1982 min-height: 0;
1983 height: 100%;
1984 }
1985 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open {
1986 position: fixed;
1987 left: 0 !important;
1988 right: 0 !important;
1989 bottom: 0 !important;
1990 top: 0 !important;
1991 width: 100%;
1992 height: 100%;
1993 height: 100vh;
1994 height: 100dvh;
1995 max-height: 100dvh;
1996 max-width: 100%;
1997 display: flex;
1998 flex-direction: column;
1999 margin: 0;
2000 z-index: 999999;
2001 background-color: var(--mwai-backgroundSecondaryColor);
2002 }
2003 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
2004 border-radius: 0;
2005 }
2006 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2007 flex: 1;
2008 min-height: 0;
2009 max-height: inherit;
2010 border-radius: 0;
2011 display: flex !important;
2012 flex-direction: column !important;
2013 }
2014 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation {
2015 flex: 0 1 auto !important;
2016 max-height: none;
2017 overflow-y: auto;
2018 min-height: 0;
2019 }
2020 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer {
2021 flex: 1 1 auto !important;
2022 min-height: 0;
2023 }
2024 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input {
2025 flex: 0 0 auto;
2026 }
2027 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer {
2028 flex: 0 0 auto;
2029 }
2030 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files {
2031 flex: 0 0 auto;
2032 }
2033 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open {
2034 transform: none !important;
2035 }
2036 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box {
2037 width: 100%;
2038 height: 100%;
2039 display: flex;
2040 flex-direction: column;
2041 }
2042 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2043 flex: 1 1 auto;
2044 min-height: 0;
2045 }
2046 .mwai-foundation-theme.mwai-window.mwai-open .mwai-header {
2047 display: flex;
2048 }
2049 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body {
2050 display: flex;
2051 transition: opacity 200ms ease-in-out 0s;
2052 opacity: 1;
2053 }
2054 .mwai-foundation-theme.mwai-window.mwai-open .mwai-trigger {
2055 display: none;
2056 }
2057 .mwai-foundation-theme .mwai-body > .mwai-error {
2058 margin: var(--mwai-spacing);
2059 color: white;
2060 background: rgba(180, 55, 55, 0.55);
2061 padding: var(--mwai-spacing);
2062 border-radius: var(--mwai-borderRadius);
2063 }
2064 .mwai-foundation-theme .mwai-body > .mwai-error:hover {
2065 cursor: pointer;
2066 background: rgba(180, 44, 44, 0.85);
2067 }
2068 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-text {
2069 color: #ff5656;
2070 }
2071 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-text a {
2072 color: #ff5656;
2073 text-decoration: underline;
2074 }
2075 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button {
2076 fill: var(--mwai-fontColor);
2077 padding: 3px 5px;
2078 width: 24px;
2079 height: 24px;
2080 background: var(--mwai-backgroundPrimaryColor);
2081 cursor: pointer;
2082 border-radius: 5px;
2083 }
2084 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
2085 filter: brightness(1.2);
2086 }
2087 .mwai-foundation-theme .mwai-reply-actions {
2088 opacity: 0;
2089 transition: opacity 0.2s ease-in-out;
2090 }
2091 .mwai-foundation-theme .mwai-reply:hover .mwai-reply-actions {
2092 opacity: 1 !important;
2093 }
2094 .mwai-foundation-theme .mwai-form-output-container:hover .mwai-reply-actions {
2095 opacity: 1 !important;
2096 }
2097 .mwai-foundation-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden {
2098 opacity: 1 !important;
2099 }
2100 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container {
2101 background: var(--mwai-bubbleColor);
2102 width: var(--mwai-iconSize, 60px);
2103 height: var(--mwai-iconSize, 60px);
2104 border-radius: 100%;
2105 transition: all 0.2s ease-out;
2106 display: flex;
2107 justify-content: center;
2108 align-items: center;
2109 }
2110 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon {
2111 max-width: 50%;
2112 max-height: 50%;
2113 filter: none;
2114 }
2115 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2116 transform: none;
2117 }
2118 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji {
2119 font-size: calc(var(--mwai-iconSize, 60px) / 2);
2120 }
2121 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover {
2122 cursor: pointer;
2123 filter: brightness(1.1);
2124 }
2125 @media (max-width: 760px) {
2126 .mwai-foundation-theme.mwai-window.mwai-open {
2127 position: fixed;
2128 top: var(--mwai-vv-offset-top, 0) !important;
2129 left: 0 !important;
2130 right: 0 !important;
2131 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2132 width: 100%;
2133 min-height: 100%;
2134 min-height: 100vh;
2135 min-height: var(--mwai-vv-height, 100dvh);
2136 height: var(--mwai-vv-height, 100dvh);
2137 max-height: var(--mwai-vv-height, 100dvh);
2138 max-width: 100%;
2139 margin: 0;
2140 z-index: 999999;
2141 background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2142 border-radius: 0 !important;
2143 box-shadow: none !important;
2144 border: none !important;
2145 padding-top: env(safe-area-inset-top, 0);
2146 padding-left: env(safe-area-inset-left, 0);
2147 padding-right: env(safe-area-inset-right, 0);
2148 box-sizing: border-box;
2149 }
2150 .mwai-foundation-theme.mwai-window.mwai-open .mwai-window-box {
2151 width: 100%;
2152 height: 100%;
2153 flex: 1;
2154 display: flex;
2155 flex-direction: column;
2156 border-radius: 0 !important;
2157 box-shadow: none !important;
2158 border: none !important;
2159 background: transparent !important;
2160 min-height: 0;
2161 }
2162 .mwai-foundation-theme.mwai-window.mwai-open .mwai-header {
2163 display: none !important;
2164 }
2165 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body {
2166 flex: 1;
2167 min-height: 0;
2168 display: flex;
2169 flex-direction: column;
2170 border-radius: 0 !important;
2171 overflow: hidden;
2172 background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2173 }
2174 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2175 flex: 1;
2176 overflow-y: auto;
2177 max-height: none;
2178 min-height: 0;
2179 }
2180 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-input {
2181 flex-shrink: 0;
2182 position: relative;
2183 }
2184 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-footer {
2185 flex-shrink: 0;
2186 position: relative;
2187 }
2188 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input {
2189 padding-bottom: env(safe-area-inset-bottom, 0);
2190 }
2191 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header {
2192 display: flex;
2193 position: sticky;
2194 top: 0;
2195 left: 0;
2196 right: 0;
2197 min-height: 50px;
2198 background: var(--mwai-backgroundHeaderColor);
2199 border-bottom: 1px solid var(--mwai-lineColor);
2200 padding: 0 15px;
2201 padding-top: env(safe-area-inset-top, 0);
2202 padding-left: calc(15px + env(safe-area-inset-left, 0));
2203 padding-right: calc(15px + env(safe-area-inset-right, 0));
2204 align-items: center;
2205 justify-content: space-between;
2206 z-index: 10;
2207 flex-shrink: 0;
2208 }
2209 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
2210 font-size: 16px;
2211 font-weight: 600;
2212 color: var(--mwai-headerColor);
2213 flex: 1;
2214 overflow: hidden;
2215 text-overflow: ellipsis;
2216 white-space: nowrap;
2217 }
2218 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close {
2219 all: unset;
2220 display: flex;
2221 align-items: center;
2222 justify-content: center;
2223 width: 32px;
2224 height: 32px;
2225 min-width: 32px;
2226 cursor: pointer;
2227 border-radius: 6px;
2228 transition: background-color 0.2s ease;
2229 -webkit-tap-highlight-color: transparent;
2230 }
2231 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:hover, .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:active {
2232 background-color: var(--mwai-backgroundSecondaryColor);
2233 }
2234 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg {
2235 width: 20px;
2236 height: 20px;
2237 }
2238 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path {
2239 stroke: var(--mwai-headerColor);
2240 }
2241 .mwai-foundation-theme.mwai-window.mwai-open.mwai-center-open {
2242 top: var(--mwai-vv-offset-top, 0) !important;
2243 left: 0 !important;
2244 transform: none !important;
2245 right: 0 !important;
2246 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2247 width: 100% !important;
2248 max-width: 100% !important;
2249 height: var(--mwai-vv-height, 100dvh) !important;
2250 }
2251 .mwai-foundation-theme.mwai-window.mwai-open .mwai-input {
2252 flex-direction: column;
2253 }
2254 .mwai-foundation-theme.mwai-window.mwai-open .mwai-input button:not(.mwai-input-submit) {
2255 font-size: 16px;
2256 margin-left: 0;
2257 width: 100%;
2258 }
2259 .mwai-foundation-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
2260 width: 100%;
2261 }
2262 .mwai-foundation-theme.mwai-window.mwai-open .mwai-input .mwai-input-text input, .mwai-foundation-theme.mwai-window.mwai-open .mwai-input .mwai-input-text textarea {
2263 font-size: 16px;
2264 }
2265 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body {
2266 display: flex;
2267 transition: opacity 200ms ease-in-out 0s;
2268 opacity: 1;
2269 flex: 1;
2270 min-height: 0;
2271 max-height: inherit;
2272 }
2273 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2274 flex: 1;
2275 max-height: none;
2276 min-height: 0;
2277 }
2278 .mwai-foundation-theme.mwai-window.mwai-open .mwai-resize-button {
2279 display: none !important;
2280 }
2281 .mwai-foundation-theme.mwai-window.mwai-open .mwai-trigger {
2282 display: none;
2283 }
2284 }
2285 @keyframes mwai-button-spinner {
2286 from {
2287 transform: rotate(0turn);
2288 }
2289 to {
2290 transform: rotate(1turn);
2291 }
2292 }
2293 .mwai-foundation-theme button:not(.mwai-busy):before {
2294 content: none !important;
2295 display: none !important;
2296 animation: none !important;
2297 }
2298 .mwai-foundation-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
2299 .mwai-foundation-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
2300 top: 32px;
2301 }
2302 .mwai-foundation-theme .mwai-input .mwai-terminal-line {
2303 display: flex;
2304 align-items: flex-start;
2305 color: var(--mwai-terminal-active-color, var(--mwai-fontColor));
2306 }
2307 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt {
2308 color: var(--mwai-terminal-active-color, currentColor);
2309 margin-left: -4px;
2310 margin-right: 4px;
2311 display: inline-flex;
2312 align-items: center;
2313 height: 1.5em;
2314 line-height: 1.2;
2315 flex-shrink: 0;
2316 align-self: flex-start;
2317 }
2318 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg {
2319 display: block;
2320 width: 1.4em;
2321 height: 1.4em;
2322 }
2323 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper {
2324 flex: 1;
2325 display: inline;
2326 white-space: pre-wrap;
2327 word-wrap: break-word;
2328 word-break: break-word;
2329 }
2330 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed {
2331 white-space: pre-wrap;
2332 word-wrap: break-word;
2333 word-break: break-word;
2334 }
2335 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor {
2336 display: inline-block;
2337 min-width: 8px;
2338 height: 1.35em;
2339 color: currentColor;
2340 background: currentColor;
2341 opacity: 0.35;
2342 vertical-align: text-bottom;
2343 line-height: inherit;
2344 }
2345 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active {
2346 opacity: 1;
2347 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2348 animation: mwai-cursor-blink 1s infinite;
2349 }
2350 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing {
2351 opacity: 1;
2352 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2353 }
2354 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
2355 opacity: 0.35;
2356 }
2357 .mwai-foundation-theme pre code.hljs {
2358 display: block;
2359 overflow-x: auto;
2360 padding: 1em;
2361 }
2362 .mwai-foundation-theme code.hljs {
2363 padding: 3px 5px;
2364 }
2365 .mwai-foundation-theme .hljs {
2366 color: #fff;
2367 }
2368 .mwai-foundation-theme .hljs-subst {
2369 color: #fff;
2370 }
2371 .mwai-foundation-theme .hljs-comment {
2372 color: #999;
2373 }
2374 .mwai-foundation-theme .hljs-attr, .mwai-foundation-theme .hljs-doctag, .mwai-foundation-theme .hljs-keyword, .mwai-foundation-theme .hljs-meta .hljs-keyword, .mwai-foundation-theme .hljs-section, .mwai-foundation-theme .hljs-selector-tag {
2375 color: #88aece;
2376 }
2377 .mwai-foundation-theme .hljs-attribute {
2378 color: #c59bc1;
2379 }
2380 .mwai-foundation-theme .hljs-name, .mwai-foundation-theme .hljs-number, .mwai-foundation-theme .hljs-quote, .mwai-foundation-theme .hljs-selector-id, .mwai-foundation-theme .hljs-template-tag, .mwai-foundation-theme .hljs-type {
2381 color: #f08d49;
2382 }
2383 .mwai-foundation-theme .hljs-selector-class {
2384 color: #88aece;
2385 }
2386 .mwai-foundation-theme .hljs-link, .mwai-foundation-theme .hljs-regexp, .mwai-foundation-theme .hljs-selector-attr, .mwai-foundation-theme .hljs-string, .mwai-foundation-theme .hljs-symbol, .mwai-foundation-theme .hljs-template-variable, .mwai-foundation-theme .hljs-variable {
2387 color: #b5bd68;
2388 }
2389 .mwai-foundation-theme .hljs-meta, .mwai-foundation-theme .hljs-selector-pseudo {
2390 color: #88aece;
2391 }
2392 .mwai-foundation-theme .hljs-built_in, .mwai-foundation-theme .hljs-literal, .mwai-foundation-theme .hljs-title {
2393 color: #f08d49;
2394 }
2395 .mwai-foundation-theme .hljs-bullet, .mwai-foundation-theme .hljs-code {
2396 color: #ccc;
2397 }
2398 .mwai-foundation-theme .hljs-meta .hljs-string {
2399 color: #b5bd68;
2400 }
2401 .mwai-foundation-theme .hljs-deletion {
2402 color: #de7176;
2403 }
2404 .mwai-foundation-theme .hljs-addition {
2405 color: #76c490;
2406 }
2407 .mwai-foundation-theme .hljs-emphasis {
2408 font-style: italic;
2409 }
2410 .mwai-foundation-theme .hljs-strong {
2411 font-weight: 700;
2412 }
2413 .mwai-foundation-theme .mwai-reply-actions {
2414 position: absolute;
2415 border-radius: 5px;
2416 top: 10px;
2417 right: 10px;
2418 display: flex;
2419 align-items: center;
2420 padding: 2px 2px;
2421 z-index: 100;
2422 background: var(--mwai-backgroundPrimaryColor);
2423 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
2424 z-index: 100;
2425 }
2426 .mwai-foundation-theme .mwai-reply-actions .mwai-copy-button,
2427 .mwai-foundation-theme .mwai-reply-actions .mwai-download-button,
2428 .mwai-foundation-theme .mwai-reply-actions .mwai-pdf-button {
2429 fill: var(--mwai-fontColor);
2430 padding: 3px 5px;
2431 width: 24px;
2432 height: 24px;
2433 background: var(--mwai-backgroundPrimaryColor);
2434 cursor: pointer;
2435 border-radius: 5px;
2436 }
2437 .mwai-foundation-theme .mwai-reply-actions .mwai-copy-button:hover,
2438 .mwai-foundation-theme .mwai-reply-actions .mwai-download-button:hover,
2439 .mwai-foundation-theme .mwai-reply-actions .mwai-pdf-button:hover {
2440 filter: brightness(1.2);
2441 }
2442 .mwai-foundation-theme .mwai-reply-actions.mwai-hidden {
2443 opacity: 0;
2444 }
2445 .mwai-foundation-theme .mwai-realtime {
2446 padding: var(--mwai-spacing);
2447 }
2448 .mwai-foundation-theme .mwai-realtime .mwai-visualizer {
2449 display: flex;
2450 justify-content: center;
2451 align-items: center;
2452 }
2453 .mwai-foundation-theme .mwai-realtime .mwai-visualizer hr {
2454 width: 100px;
2455 margin-right: var(--mwai-spacing);
2456 margin-left: var(--mwai-spacing);
2457 border: 1px solid var(--mwai-backgroundPrimaryColor);
2458 }
2459 .mwai-foundation-theme .mwai-realtime .mwai-visualizer .mwai-animation {
2460 background: var(--mwai-backgroundPrimaryColor);
2461 }
2462 .mwai-foundation-theme .mwai-realtime .mwai-controls {
2463 display: flex;
2464 justify-content: center;
2465 align-items: center;
2466 margin-bottom: var(--mwai-spacing);
2467 }
2468 .mwai-foundation-theme .mwai-realtime .mwai-controls > * + * {
2469 margin-left: 10px;
2470 }
2471 .mwai-foundation-theme .mwai-realtime .mwai-controls button {
2472 border-radius: 100%;
2473 width: 50px;
2474 height: 50px;
2475 margin: 5px;
2476 padding: 5px;
2477 display: flex;
2478 align-items: center;
2479 justify-content: center;
2480 color: var(--mwai-fontColor);
2481 border: 2px solid var(--mwai-backgroundPrimaryColor);
2482 background: none;
2483 cursor: pointer;
2484 transition: all 0.2s ease-out;
2485 min-width: inherit;
2486 max-width: inherit;
2487 }
2488 .mwai-foundation-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
2489 background: var(--mwai-backgroundPrimaryColor);
2490 }
2491 .mwai-foundation-theme .mwai-realtime .mwai-controls button:disabled {
2492 opacity: 0.5;
2493 cursor: not-allowed;
2494 background: none;
2495 }
2496 .mwai-foundation-theme .mwai-realtime .mwai-controls button.mwai-active {
2497 border: 2px solid var(--mwai-fontColor);
2498 }
2499 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode {
2500 flex-direction: column;
2501 gap: 8px;
2502 }
2503 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
2504 border-radius: calc(var(--mwai-borderRadius) * 0.8);
2505 width: auto;
2506 min-width: 120px;
2507 padding: 12px 24px;
2508 margin: 5px;
2509 display: flex;
2510 align-items: center;
2511 justify-content: center;
2512 gap: 8px;
2513 color: var(--mwai-fontColor);
2514 border: 2px solid var(--mwai-backgroundPrimaryColor);
2515 background: none;
2516 cursor: pointer;
2517 transition: all 0.2s ease-out;
2518 font-family: inherit;
2519 font-size: var(--mwai-fontSize);
2520 line-height: 1.2;
2521 font-weight: 500;
2522 height: auto;
2523 user-select: none;
2524 -webkit-user-select: none;
2525 -webkit-touch-callout: none;
2526 touch-action: manipulation;
2527 }
2528 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
2529 background: var(--mwai-backgroundPrimaryColor);
2530 }
2531 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
2532 opacity: 0.5;
2533 cursor: not-allowed;
2534 background: none;
2535 }
2536 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
2537 border: 2px solid var(--mwai-fontColor);
2538 background: var(--mwai-backgroundPrimaryColor);
2539 }
2540 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg {
2541 width: 18px;
2542 height: 18px;
2543 }
2544 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint {
2545 font-size: 12px;
2546 color: var(--mwai-fontColor);
2547 opacity: 0.6;
2548 text-align: center;
2549 margin: 0;
2550 }
2551 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript {
2552 margin: var(--mwai-spacing);
2553 margin-top: 0;
2554 border: 2px solid var(--mwai-backgroundPrimaryColor);
2555 padding: calc(var(--mwai-spacing) / 2);
2556 padding-right: calc(var(--mwai-spacing) / 2 + 10px);
2557 border-radius: var(--mwai-borderRadius);
2558 font-size: 80%;
2559 text-align: center;
2560 max-height: 120px;
2561 overflow-y: auto;
2562 overflow-x: hidden;
2563 word-wrap: break-word;
2564 overflow-wrap: break-word;
2565 }
2566 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar {
2567 width: 6px;
2568 }
2569 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track {
2570 background: transparent;
2571 margin: 4px 0;
2572 }
2573 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb {
2574 background: var(--mwai-backgroundHeaderColor);
2575 border-radius: 10px;
2576 }
2577 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover {
2578 background: var(--mwai-primaryColor);
2579 }
2580 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript {
2581 scrollbar-width: thin;
2582 scrollbar-color: var(--mwai-backgroundHeaderColor) transparent;
2583 }
2584 .mwai-foundation-theme .mwai-realtime .mwai-statistics {
2585 display: grid;
2586 grid-template-columns: 1fr 1fr 1fr;
2587 grid-row-gap: 10px;
2588 font-size: 14px;
2589 }
2590 .mwai-foundation-theme .mwai-realtime .mwai-statistics div {
2591 display: flex;
2592 flex-direction: column;
2593 align-items: center;
2594 }
2595 .mwai-foundation-theme .mwai-realtime .mwai-statistics label {
2596 font-size: 11px;
2597 opacity: 0.5;
2598 text-transform: uppercase;
2599 }
2600 .mwai-foundation-theme .mwai-realtime .mwai-options {
2601 margin-top: var(--mwai-spacing);
2602 display: flex;
2603 align-items: center;
2604 }
2605 .mwai-foundation-theme .mwai-realtime .mwai-options .mwai-option {
2606 cursor: pointer;
2607 opacity: 0.5;
2608 margin-right: 2px;
2609 }
2610 .mwai-foundation-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
2611 opacity: 1;
2612 }
2613 .mwai-foundation-theme.mwai-discussions {
2614 border-radius: var(--mwai-borderRadius);
2615 background: var(--mwai-backgroundHeaderColor);
2616 overflow: hidden;
2617 }
2618 .mwai-foundation-theme.mwai-discussions * {
2619 box-sizing: border-box;
2620 }
2621 .mwai-foundation-theme.mwai-discussions .mwai-discussion {
2622 display: flex;
2623 position: relative;
2624 padding-left: calc(var(--mwai-spacing) / 2);
2625 padding-right: calc(var(--mwai-spacing) / 2);
2626 padding-bottom: calc(var(--mwai-spacing) / 2);
2627 color: var(--mwai-conversationsTextColor);
2628 opacity: 0.65;
2629 align-items: center;
2630 }
2631 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
2632 flex: 1;
2633 padding: 5px 10px;
2634 overflow: hidden;
2635 }
2636 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
2637 display: block;
2638 overflow: hidden;
2639 text-overflow: ellipsis;
2640 white-space: nowrap;
2641 font-size: var(--mwai-fontSize);
2642 margin-bottom: 4px;
2643 }
2644 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
2645 display: flex;
2646 gap: 12px;
2647 font-size: calc(var(--mwai-fontSize) * 0.85);
2648 opacity: 0.7;
2649 }
2650 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
2651 display: flex;
2652 align-items: center;
2653 gap: 4px;
2654 }
2655 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
2656 opacity: 0.6;
2657 }
2658 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
2659 position: absolute;
2660 top: 50%;
2661 right: calc(var(--mwai-spacing) / 2);
2662 transform: translateY(-50%);
2663 opacity: 0;
2664 transition: opacity 0.2s ease-out;
2665 z-index: 100;
2666 }
2667 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
2668 width: 28px;
2669 height: 28px;
2670 display: flex;
2671 align-items: center;
2672 justify-content: center;
2673 cursor: pointer;
2674 color: var(--mwai-conversationsTextColor);
2675 }
2676 .mwai-foundation-theme.mwai-discussions .mwai-discussion.mwai-active {
2677 cursor: pointer;
2678 }
2679 .mwai-foundation-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
2680 background: var(--mwai-backgroundPrimaryColor);
2681 border-radius: var(--mwai-borderRadius);
2682 opacity: 1;
2683 }
2684 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover {
2685 cursor: pointer;
2686 }
2687 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
2688 background: var(--mwai-backgroundPrimaryColor);
2689 border-radius: var(--mwai-borderRadius);
2690 opacity: 1;
2691 }
2692 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
2693 opacity: 1;
2694 }
2695 .mwai-foundation-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
2696 opacity: 1;
2697 }
2698 .mwai-foundation-theme.mwai-discussions .mwai-discussion:first-child {
2699 margin-top: calc(var(--mwai-spacing) / 2);
2700 }
2701 .mwai-foundation-theme.mwai-discussions .mwai-header {
2702 color: var(--mwai-headerColor);
2703 padding: var(--mwai-spacing);
2704 display: flex;
2705 justify-content: space-between;
2706 align-items: center;
2707 gap: 10px;
2708 }
2709 .mwai-foundation-theme.mwai-discussions .mwai-header button {
2710 background: var(--mwai-backgroundPrimaryColor);
2711 color: var(--mwai-fontColor);
2712 border: none;
2713 padding: 8px 16px;
2714 border-radius: var(--mwai-borderRadius);
2715 cursor: pointer;
2716 transition: all 0.2s ease-out;
2717 }
2718 .mwai-foundation-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2719 background: var(--mwai-iconTextBackgroundColor);
2720 }
2721 .mwai-foundation-theme.mwai-discussions .mwai-header button:disabled {
2722 opacity: 0.5;
2723 cursor: not-allowed;
2724 }
2725 .mwai-foundation-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
2726 padding: 8px;
2727 display: flex;
2728 align-items: center;
2729 justify-content: center;
2730 }
2731 .mwai-foundation-theme.mwai-discussions .mwai-body {
2732 background: var(--mwai-conversationsBackgroundColor);
2733 list-style: none;
2734 padding: 0;
2735 margin: 0;
2736 position: relative;
2737 min-height: 200px;
2738 display: flex;
2739 flex-direction: column;
2740 border-radius: 0;
2741 z-index: 1;
2742 }
2743 .mwai-foundation-theme.mwai-discussions .mwai-loading-overlay {
2744 position: absolute;
2745 top: 0;
2746 left: 0;
2747 right: 0;
2748 bottom: 0;
2749 background: var(--mwai-conversationsBackgroundColor);
2750 opacity: 0.9;
2751 display: flex;
2752 align-items: center;
2753 justify-content: center;
2754 z-index: 10;
2755 }
2756 .mwai-foundation-theme.mwai-discussions .mwai-spinner {
2757 animation: spin 1s linear infinite;
2758 color: var(--mwai-fontColor);
2759 }
2760 @keyframes spin {
2761 from {
2762 transform: rotate(0deg);
2763 }
2764 to {
2765 transform: rotate(360deg);
2766 }
2767 }
2768 .mwai-foundation-theme.mwai-discussions .mwai-pagination {
2769 background: var(--mwai-backgroundHeaderColor);
2770 padding: var(--mwai-spacing);
2771 display: flex;
2772 justify-content: space-between;
2773 align-items: center;
2774 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2775 }
2776 .mwai-foundation-theme.mwai-discussions .mwai-pagination button {
2777 background: var(--mwai-backgroundPrimaryColor);
2778 color: var(--mwai-fontColor);
2779 border: none;
2780 padding: 8px 12px;
2781 border-radius: var(--mwai-borderRadius);
2782 cursor: pointer;
2783 transition: all 0.2s ease-out;
2784 display: flex;
2785 align-items: center;
2786 justify-content: center;
2787 }
2788 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2789 background: var(--mwai-iconTextBackgroundColor);
2790 }
2791 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:disabled {
2792 opacity: 0.3;
2793 cursor: not-allowed;
2794 }
2795 .mwai-foundation-theme.mwai-discussions .mwai-pagination span {
2796 color: var(--mwai-headerColor);
2797 font-size: var(--mwai-fontSize);
2798 font-weight: 500;
2799 }
2800 .mwai-foundation-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
2801 color: var(--mwai-headerColor);
2802 font-size: calc(var(--mwai-fontSize) * 0.85);
2803 font-weight: 400;
2804 opacity: 0.8;
2805 }
2806 .mwai-foundation-theme .mwai-chunks {
2807 background: rgba(255, 255, 255, 0.05);
2808 }
2809 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header {
2810 color: #9ca3af;
2811 }
2812 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
2813 border-color: rgba(255, 255, 255, 0.1);
2814 color: #9ca3af;
2815 }
2816 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
2817 background: rgba(255, 255, 255, 0.05);
2818 color: #e5e7eb;
2819 }
2820 .mwai-foundation-theme .mwai-chunks .mwai-chunk {
2821 background: rgba(255, 255, 255, 0.08);
2822 }
2823 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
2824 color: #e5e7eb;
2825 }
2826 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
2827 color: #e5e7eb;
2828 }
2829 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
2830 color: #e5e7eb;
2831 }
2832 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
2833 background: rgba(0, 0, 0, 0.2);
2834 }
2835 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
2836 color: #d1d5db;
2837 }
2838
2839 @media (max-width: 760px) {
2840 .mwai-foundation-theme .mwai-input {
2841 flex-direction: column;
2842 padding: var(--mwai-spacing);
2843 background: var(--mwai-backgroundSecondaryColor);
2844 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2845 }
2846 .mwai-foundation-theme .mwai-input .mwai-input-submit {
2847 margin: 15px 0 0 0;
2848 height: 40px;
2849 width: 100%;
2850 }
2851 .mwai-foundation-theme .mwai-name {
2852 margin-right: 0;
2853 max-width: inherit;
2854 }
2855 }
2856
2857 .mwai-foundation-theme.mwai-discussions .mwai-header {
2858 background: var(--mwai-backgroundSecondaryColor);
2859 color: var(--mwai-fontColor);
2860 border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
2861 }
2862 .mwai-foundation-theme.mwai-discussions .mwai-header button {
2863 background: var(--mwai-backgroundSecondaryColor);
2864 color: var(--mwai-fontColor);
2865 border: 1px solid var(--mwai-borderColor);
2866 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2867 border-radius: 5px;
2868 cursor: pointer;
2869 transition: all 0.2s ease-out;
2870 font-size: calc(var(--mwai-fontSize) * 0.9);
2871 margin-left: 0;
2872 }
2873 .mwai-foundation-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2874 background: var(--mwai-backgroundPrimaryColor);
2875 }
2876 .mwai-foundation-theme.mwai-discussions .mwai-header button:disabled {
2877 opacity: 0.5;
2878 cursor: not-allowed;
2879 }
2880 .mwai-foundation-theme.mwai-discussions .mwai-pagination {
2881 background: var(--mwai-backgroundSecondaryColor);
2882 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2883 }
2884 .mwai-foundation-theme.mwai-discussions .mwai-pagination button {
2885 background: var(--mwai-backgroundSecondaryColor);
2886 color: var(--mwai-fontColor);
2887 border: 1px solid var(--mwai-borderColor);
2888 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2889 border-radius: 5px;
2890 cursor: pointer;
2891 transition: all 0.2s ease-out;
2892 font-size: calc(var(--mwai-fontSize) * 0.9);
2893 margin-left: 0;
2894 }
2895 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2896 background: var(--mwai-backgroundPrimaryColor);
2897 }
2898 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:disabled {
2899 opacity: 0.5;
2900 cursor: not-allowed;
2901 }
2902 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer,
2903 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination {
2904 background: var(--mwai-backgroundSecondaryColor);
2905 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2906 }
2907 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
2908 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
2909 width: 100%;
2910 background: var(--mwai-backgroundSecondaryColor);
2911 color: var(--mwai-fontColor);
2912 border: 1px solid var(--mwai-borderColor);
2913 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2914 border-radius: 5px;
2915 cursor: pointer;
2916 transition: all 0.2s ease-out;
2917 font-size: calc(var(--mwai-fontSize) * 0.9);
2918 }
2919 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
2920 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
2921 background: var(--mwai-backgroundPrimaryColor);
2922 }
2923 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
2924 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
2925 opacity: 0.5;
2926 cursor: not-allowed;
2927 }
2928
2929 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu {
2930 background: var(--mwai-backgroundSecondaryColor);
2931 border: 1px solid var(--mwai-backgroundPrimaryColor);
2932 color: var(--mwai-fontColor);
2933 }
2934 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item:hover {
2935 background-color: var(--mwai-backgroundPrimaryColor);
2936 }
2937 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
2938 color: var(--mwai-errorTextColor);
2939 }
2940 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
2941 background-color: var(--mwai-errorBackgroundColor);
2942 }
2943