PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.6.6
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.6.6
3.7.0 3.6.9 3.6.8 3.6.7 3.6.6 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 1 week ago foundation.css 1 week ago messages.css 1 week ago timeless.css 1 week ago
foundation.css
2956 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 flex-wrap: wrap;
269 justify-content: center;
270 gap: calc(var(--mwai-spacing) / 2);
271 margin: var(--mwai-spacing);
272 }
273 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut {
274 display: inline-flex;
275 align-items: center;
276 gap: 7px;
277 padding: 8px 14px;
278 border-radius: 999px;
279 border: 1px solid var(--mwai-borderColor);
280 background: var(--mwai-backgroundPrimaryColor);
281 color: var(--mwai-fontColor);
282 font-family: inherit;
283 font-size: var(--mwai-fontSize);
284 line-height: 1.2;
285 text-align: left;
286 cursor: pointer;
287 transition: filter 0.15s ease, border-color 0.15s ease;
288 }
289 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut:hover {
290 filter: brightness(1.15);
291 }
292 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut.mwai-danger {
293 border-color: rgba(244, 67, 54, 0.5);
294 color: #ef5350;
295 }
296 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut .mwai-icon {
297 margin-right: 0;
298 display: inline-flex;
299 align-items: center;
300 }
301 .mwai-foundation-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img {
302 max-height: 16px;
303 width: auto;
304 }
305 .mwai-foundation-theme .mwai-blocks {
306 display: flex;
307 flex-direction: column;
308 padding: var(--mwai-spacing);
309 }
310 .mwai-foundation-theme .mwai-blocks .mwai-block p:first-child {
311 margin-top: 0;
312 }
313 .mwai-foundation-theme .mwai-blocks button {
314 cursor: pointer;
315 }
316 .mwai-foundation-theme .mwai-conversation {
317 overflow: auto;
318 flex: 1 1 auto;
319 max-height: var(--mwai-maxHeight);
320 min-height: 0;
321 }
322 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar {
323 width: 8px;
324 background: transparent;
325 }
326 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-track {
327 background: rgba(255, 255, 255, 0.05);
328 border-radius: 4px;
329 }
330 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-thumb {
331 background: rgba(255, 255, 255, 0.15);
332 border-radius: 4px;
333 transition: background 0.2s ease;
334 }
335 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-thumb:hover {
336 background: rgba(255, 255, 255, 0.25);
337 }
338 .mwai-foundation-theme .mwai-conversation::-webkit-scrollbar-thumb:active {
339 background: rgba(255, 255, 255, 0.3);
340 }
341 .mwai-foundation-theme .mwai-conversation {
342 scrollbar-width: thin;
343 scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.05);
344 }
345 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line {
346 line-height: 1.5;
347 }
348 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-prompt {
349 opacity: 0.95;
350 }
351 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-user .mwai-terminal-text {
352 opacity: 0.98;
353 }
354 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line.mwai-terminal-system {
355 opacity: 0.75;
356 }
357 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-prompt {
358 color: var(--mwai-headerColor);
359 }
360 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text {
361 flex: 1;
362 opacity: 0.92;
363 }
364 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text .mwai-image {
365 max-width: 100%;
366 height: auto;
367 }
368 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text pre {
369 background: transparent;
370 border: 1px solid rgba(255, 255, 255, 0.08);
371 padding: 8px;
372 border-radius: 4px;
373 }
374 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-text code {
375 font-family: inherit;
376 }
377 .mwai-foundation-theme .mwai-conversation.mwai-terminal .mwai-terminal-line .mwai-terminal-typed {
378 white-space: pre-wrap;
379 }
380 .mwai-foundation-theme .mwai-reply {
381 display: flex;
382 padding: var(--mwai-spacing);
383 position: relative;
384 line-height: var(--mwai-lineHeight);
385 transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
386 }
387 .mwai-foundation-theme .mwai-reply.mwai-fade-out {
388 opacity: 0;
389 }
390 .mwai-foundation-theme .mwai-reply.mwai-user {
391 background: var(--mwai-backgroundSecondaryColor);
392 }
393 .mwai-foundation-theme .mwai-reply.mwai-ai, .mwai-foundation-theme .mwai-reply.mwai-error {
394 background: var(--mwai-backgroundPrimaryColor);
395 }
396 .mwai-foundation-theme .mwai-reply .mwai-name {
397 color: var(--mwai-fontColor);
398 margin-right: 5px;
399 }
400 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-name-text {
401 opacity: 0.5;
402 white-space: nowrap;
403 }
404 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-avatar {
405 margin-right: 10px;
406 display: flex;
407 align-items: center;
408 justify-content: center;
409 border-radius: 5px;
410 overflow: hidden;
411 }
412 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-avatar img {
413 width: 32px;
414 height: 32px;
415 min-width: 32px;
416 min-height: 32px;
417 }
418 .mwai-foundation-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img {
419 width: 28px;
420 height: 28px;
421 min-width: 28px;
422 min-height: 28px;
423 filter: brightness(0) invert(1);
424 }
425 .mwai-foundation-theme .mwai-reply .mwai-text {
426 flex: auto;
427 font-size: var(--mwai-fontSize);
428 line-height: var(--mwai-lineHeight);
429 color: var(--mwai-fontColor);
430 }
431 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-image {
432 display: block;
433 max-width: 250px;
434 height: auto;
435 margin: 0 0 10px 0;
436 border-radius: var(--mwai-borderRadius);
437 }
438 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-filename {
439 display: flex;
440 text-decoration: none;
441 border: 1px solid var(--mwai-backgroundPrimaryColor);
442 border-radius: var(--mwai-borderRadius);
443 padding: 5px 10px;
444 margin-bottom: 10px;
445 }
446 .mwai-foundation-theme .mwai-reply .mwai-text * {
447 font-size: var(--mwai-fontSize);
448 }
449 .mwai-foundation-theme .mwai-reply .mwai-text > span > *:first-child {
450 margin-top: 0;
451 }
452 .mwai-foundation-theme .mwai-reply .mwai-text > span > *:last-child {
453 margin-bottom: 0;
454 }
455 .mwai-foundation-theme .mwai-reply .mwai-text a {
456 color: #2196f3;
457 }
458 .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 {
459 color: var(--mwai-fontColor);
460 margin: 0px;
461 line-height: 1.2;
462 }
463 .mwai-foundation-theme .mwai-reply .mwai-text h1 {
464 font-size: 150%;
465 }
466 .mwai-foundation-theme .mwai-reply .mwai-text h2 {
467 font-size: 130%;
468 }
469 .mwai-foundation-theme .mwai-reply .mwai-text h3 {
470 font-size: 115%;
471 }
472 .mwai-foundation-theme .mwai-reply .mwai-text h4 {
473 font-size: 105%;
474 }
475 .mwai-foundation-theme .mwai-reply .mwai-text h5 {
476 font-size: 100%;
477 }
478 .mwai-foundation-theme .mwai-reply .mwai-text h6 {
479 font-size: 95%;
480 font-weight: bold;
481 }
482 .mwai-foundation-theme .mwai-reply .mwai-text p code {
483 background: var(--mwai-backgroundSecondaryColor);
484 padding: 2px 6px;
485 border-radius: 8px;
486 font-size: 90%;
487 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
488 }
489 .mwai-foundation-theme .mwai-reply .mwai-text pre {
490 color: var(--mwai-fontColor);
491 border-radius: var(--mwai-borderRadius);
492 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
493 break-after: auto;
494 white-space: pre-wrap;
495 font-size: 90%;
496 max-width: 100%;
497 width: 100%;
498 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
499 background: hsl(0 0% 0% / 30%);
500 }
501 .mwai-foundation-theme .mwai-reply .mwai-text pre code {
502 padding: 0 !important;
503 background: transparent;
504 font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
505 }
506 .mwai-foundation-theme .mwai-reply .mwai-text ul, .mwai-foundation-theme .mwai-reply .mwai-text ol {
507 padding: 0;
508 }
509 .mwai-foundation-theme .mwai-reply .mwai-text ul {
510 list-style: disc;
511 margin: 0 0 0 15px;
512 }
513 .mwai-foundation-theme .mwai-reply .mwai-text ol {
514 list-style: decimal;
515 margin: 0 0 0 15px;
516 }
517 .mwai-foundation-theme .mwai-reply .mwai-text table {
518 width: 100%;
519 border: 2px solid var(--mwai-backgroundSecondaryColor);
520 border-collapse: collapse;
521 }
522 .mwai-foundation-theme .mwai-reply .mwai-text thead {
523 background: var(--mwai-backgroundSecondaryColor);
524 }
525 .mwai-foundation-theme .mwai-reply .mwai-text tr, .mwai-foundation-theme .mwai-reply .mwai-text td {
526 padding: 2px 5px;
527 }
528 .mwai-foundation-theme .mwai-reply .mwai-text td {
529 border: 2px solid var(--mwai-backgroundSecondaryColor);
530 }
531 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-typewriter {
532 display: inline-block;
533 }
534 .mwai-foundation-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child {
535 margin-top: 0;
536 }
537 .mwai-foundation-theme .mwai-reply .mwai-text > *:first-child {
538 margin-top: 0;
539 }
540 .mwai-foundation-theme .mwai-reply .mwai-text > *:last-child {
541 margin-bottom: 0;
542 }
543 .mwai-foundation-theme .mwai-reply.mwai-system {
544 background: var(--mwai-errorBackgroundColor);
545 color: var(--mwai-errorFontColor);
546 }
547 .mwai-foundation-theme .mwai-reply.mwai-system .mwai-name {
548 display: none;
549 }
550 .mwai-foundation-theme .mwai-reply.mwai-error {
551 border-top: 1px dashed #ff5656;
552 border-bottom: 1px dashed #ff5656;
553 }
554 .mwai-foundation-theme .mwai-input {
555 display: flex;
556 position: relative;
557 padding: var(--mwai-spacing);
558 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
559 }
560 .mwai-foundation-theme .mwai-input .mwai-input-text {
561 flex: auto;
562 position: relative;
563 display: flex;
564 overflow: hidden;
565 border-radius: var(--mwai-borderRadius);
566 }
567 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-locked {
568 opacity: 0.5;
569 }
570 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-locked input, .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-locked textarea {
571 cursor: not-allowed;
572 }
573 .mwai-foundation-theme .mwai-input .mwai-input-text {
574 background: var(--mwai-backgroundPrimaryColor);
575 padding: calc(var(--mwai-spacing) / 2);
576 }
577 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-blocked {
578 background: var(--mwai-errorBackgroundColor);
579 }
580 .mwai-foundation-theme .mwai-input .mwai-input-text.mwai-dragging {
581 filter: brightness(1.2);
582 }
583 .mwai-foundation-theme .mwai-input .mwai-input-text textarea {
584 background: inherit;
585 color: var(--mwai-fontColor);
586 flex: auto;
587 border: none;
588 font-size: var(--mwai-fontSize);
589 resize: none;
590 font-family: inherit;
591 margin: 0;
592 overflow: hidden;
593 min-height: inherit;
594 }
595 .mwai-foundation-theme .mwai-input .mwai-input-text textarea:focus {
596 outline: none;
597 box-shadow: none;
598 }
599 .mwai-foundation-theme .mwai-input .mwai-input-text textarea {
600 padding-left: calc(var(--mwai-spacing) / 2);
601 line-height: var(--mwai-lineHeight);
602 }
603 .mwai-foundation-theme .mwai-input .mwai-input-text textarea:focus {
604 outline: none;
605 box-shadow: none;
606 }
607 .mwai-foundation-theme .mwai-input .mwai-input-text textarea::placeholder {
608 color: var(--mwai-fontColor);
609 opacity: 0.5;
610 }
611 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone {
612 display: flex;
613 justify-content: center;
614 align-items: center;
615 }
616 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone svg {
617 opacity: 0.5;
618 filter: grayscale(100%);
619 transition: opacity 0.3s ease-out;
620 cursor: pointer;
621 }
622 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
623 opacity: 1;
624 }
625 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
626 opacity: 0;
627 cursor: not-allowed;
628 }
629 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon {
630 background: url(icons/dark-icons.svg);
631 background-size: 500%;
632 background-position: 0px -96px;
633 width: 32px;
634 height: 32px;
635 z-index: 100;
636 }
637 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add {
638 background-position: -32px -96px;
639 }
640 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add {
641 background-position: -32px 0px;
642 }
643 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up {
644 background-position: -64px 0px;
645 }
646 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del {
647 background-position: -96px 0px;
648 }
649 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok {
650 background-position: -128px 0px;
651 }
652 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add {
653 background-position: -32px -64px;
654 }
655 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up {
656 background-position: -64px -64px;
657 }
658 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del {
659 background-position: -96px -64px;
660 }
661 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok {
662 background-position: -128px -64px;
663 }
664 .mwai-foundation-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress {
665 position: absolute;
666 font-size: 8px;
667 width: 21px;
668 top: 24px;
669 left: 23px;
670 overflow: hidden;
671 text-align: center;
672 font-weight: bold;
673 color: white;
674 }
675 .mwai-foundation-theme .mwai-input button {
676 margin-left: var(--mwai-spacing);
677 }
678 .mwai-foundation-theme .mwai-compliance {
679 opacity: 0.5;
680 margin-top: 0;
681 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
682 font-size: smaller;
683 color: var(--mwai-fontColor);
684 text-align: left;
685 }
686 .mwai-foundation-theme .mwai-gallery {
687 display: grid;
688 grid-template-columns: repeat(3, 1fr);
689 grid-gap: 5px;
690 }
691 .mwai-foundation-theme .mwai-gallery img {
692 width: 100%;
693 }
694 .mwai-foundation-theme button {
695 color: var(--mwai-fontColor);
696 background: var(--mwai-backgroundSecondaryColor);
697 border: 1px solid var(--mwai-borderColor);
698 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
699 min-width: 70px;
700 border-radius: 5px;
701 cursor: pointer;
702 transition: all 0.2s ease-out;
703 display: flex;
704 align-items: center;
705 justify-content: center;
706 font-size: calc(var(--mwai-fontSize) * 0.9);
707 position: relative;
708 }
709 .mwai-foundation-theme button .mwai-timer {
710 margin-left: 5px;
711 margin-right: 5px;
712 font-size: 11px;
713 }
714 .mwai-foundation-theme button:hover {
715 background: var(--mwai-backgroundPrimaryColor);
716 }
717 .mwai-foundation-theme button[disabled] {
718 cursor: not-allowed;
719 }
720 .mwai-foundation-theme button[disabled] span {
721 opacity: 0.5;
722 }
723 .mwai-foundation-theme button[disabled].mwai-busy span {
724 display: none;
725 }
726 .mwai-foundation-theme button[disabled].mwai-busy:before {
727 content: "";
728 width: 18px;
729 height: 18px;
730 margin: auto;
731 border: 3px solid transparent;
732 border-top-color: var(--mwai-fontColor);
733 border-radius: 50%;
734 animation: mwai-button-spinner 1s ease infinite;
735 }
736 .mwai-foundation-theme.mwai-form-container {
737 padding: var(--mwai-spacing);
738 font-size: var(--mwai-fontSize);
739 color: var(--mwai-fontColor);
740 background: var(--mwai-backgroundSecondaryColor);
741 border-radius: var(--mwai-borderRadius);
742 }
743 .mwai-foundation-theme.mwai-form-container fieldset {
744 border: 0;
745 margin: 0;
746 padding: 0;
747 display: flex;
748 flex-direction: column;
749 margin-bottom: 10px;
750 }
751 .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 {
752 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
753 border: 0;
754 width: 100%;
755 border-radius: var(--mwai-borderRadius);
756 font-size: var(--mwai-fontSize);
757 background: var(--mwai-backgroundPrimaryColor);
758 color: var(--mwai-fontColor);
759 }
760 .mwai-foundation-theme.mwai-form-container fieldset select {
761 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
762 border: 0;
763 width: 100%;
764 border-radius: var(--mwai-borderRadius);
765 font-size: var(--mwai-fontSize);
766 background: var(--mwai-backgroundPrimaryColor);
767 color: var(--mwai-fontColor);
768 }
769 .mwai-foundation-theme.mwai-form-container fieldset textarea {
770 padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing);
771 border: 0;
772 width: 100%;
773 border-radius: var(--mwai-borderRadius);
774 font-family: inherit;
775 font-size: var(--mwai-fontSize);
776 background: var(--mwai-backgroundPrimaryColor);
777 color: var(--mwai-fontColor);
778 }
779 .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] {
780 opacity: 0.25;
781 }
782 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button {
783 height: 45px;
784 background: none;
785 width: 100%;
786 color: var(--mwai-fontColor);
787 font-size: var(--mwai-fontSize);
788 background-color: var(--mwai-backgroundSecondaryColor);
789 border: 1px solid var(--mwai-backgroundPrimaryColor);
790 border-radius: var(--mwai-borderRadius);
791 cursor: pointer;
792 transition: all 0.2s ease-out;
793 position: relative;
794 }
795 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button:hover, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button:hover {
796 background: var(--mwai-backgroundPrimaryColor);
797 }
798 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button[disabled] span, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button[disabled] span {
799 opacity: 0.25;
800 }
801 .mwai-foundation-theme.mwai-form-container .mwai-form-submit button[disabled]:hover, .mwai-foundation-theme.mwai-form-container .mwai-form-reset button[disabled]:hover {
802 background: none;
803 cursor: not-allowed;
804 }
805 .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 {
806 opacity: 0;
807 }
808 .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 {
809 content: "";
810 position: absolute;
811 width: 18px;
812 height: 18px;
813 top: 0;
814 left: 0;
815 right: 0;
816 bottom: 0;
817 margin: auto;
818 border: 3px solid transparent;
819 border-top-color: var(--mwai-fontColor);
820 border-radius: 50%;
821 animation: mwai-button-spinner 1s ease infinite;
822 }
823 .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 {
824 position: absolute;
825 top: 50%;
826 left: 50%;
827 margin-left: 16px;
828 transform: translateY(-50%);
829 font-size: 11px;
830 opacity: 0.8;
831 }
832 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output {
833 font-size: var(--mwai-fontSize);
834 position: relative;
835 margin-top: var(--mwai-spacing);
836 padding: var(--mwai-spacing);
837 border: 1px solid var(--mwai-backgroundPrimaryColor);
838 }
839 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output.mwai-error {
840 background: var(--mwai-errorBackgroundColor);
841 color: var(--mwai-errorFontColor);
842 }
843 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:first-child {
844 margin-top: 0;
845 }
846 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output > *:last-child {
847 margin-bottom: 0;
848 }
849 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output img {
850 max-width: 33%;
851 }
852 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:first-child {
853 margin-top: 0;
854 }
855 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container .mwai-form-output div > *:last-child {
856 margin-bottom: 0;
857 }
858 .mwai-foundation-theme.mwai-form-container .mwai-form-output-container.mwai-has-content {
859 display: block;
860 }
861 .mwai-foundation-theme.mwai-form-container .wp-block-columns {
862 margin: 0;
863 }
864 .mwai-foundation-theme .mwai-chunks {
865 background: rgba(255, 255, 255, 0.05);
866 border-top: 1px solid rgba(255, 255, 255, 0.1);
867 }
868 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header {
869 color: #9ca3af;
870 }
871 .mwai-foundation-theme .mwai-chunks .mwai-chunk {
872 background: rgba(255, 255, 255, 0.08);
873 border: 1px solid rgba(255, 255, 255, 0.1);
874 }
875 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
876 color: #6b7280;
877 }
878 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
879 color: #e5e7eb;
880 }
881 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
882 color: #6b7280;
883 }
884 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
885 background: rgba(0, 0, 0, 0.2);
886 }
887 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
888 color: #d1d5db;
889 }
890 .mwai-foundation-theme.mwai-animation-zoom.mwai-window {
891 filter: none;
892 }
893 @media (max-width: 760px) {
894 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-header {
895 display: none !important;
896 }
897 }
898 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-window-box {
899 display: flex;
900 flex-direction: column;
901 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
902 opacity: 0;
903 transform: scale(0.5);
904 transform-origin: bottom right;
905 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);
906 }
907 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box {
908 width: 100%;
909 height: 100%;
910 }
911 @media (min-width: 761px) {
912 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
913 display: flex !important;
914 }
915 }
916 @media (max-width: 760px) {
917 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
918 display: none !important;
919 }
920 }
921 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body {
922 display: flex !important;
923 }
924 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box {
925 opacity: 1;
926 transform: scale(0.92);
927 }
928 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
929 opacity: 1;
930 transform: scale(1);
931 }
932 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box {
933 opacity: 0;
934 transform: scale(0.85);
935 transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1);
936 }
937 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger {
938 display: none !important;
939 }
940 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container {
941 transform: scale(1);
942 opacity: 1;
943 }
944 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box {
945 transform-origin: calc(100% - 32px) calc(100% - 32px);
946 }
947 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box {
948 transform-origin: 32px calc(100% - 32px);
949 }
950 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box {
951 transform-origin: calc(100% - 32px) 32px;
952 }
953 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box {
954 transform-origin: 32px 32px;
955 }
956 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box {
957 transform-origin: center center;
958 }
959 @media (max-width: 760px) {
960 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
961 transform-origin: center center !important;
962 }
963 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-header {
964 display: none !important;
965 }
966 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger {
967 position: fixed !important;
968 z-index: 9999 !important;
969 }
970 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger {
971 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
972 right: 20px !important;
973 left: auto !important;
974 top: auto !important;
975 }
976 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger {
977 bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
978 left: 20px !important;
979 right: auto !important;
980 top: auto !important;
981 }
982 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger {
983 top: 20px !important;
984 right: 20px !important;
985 left: auto !important;
986 bottom: auto !important;
987 }
988 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger {
989 top: 20px !important;
990 left: 20px !important;
991 right: auto !important;
992 bottom: auto !important;
993 }
994 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger {
995 display: none !important;
996 }
997 }
998 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container {
999 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1000 }
1001 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1002 transition: transform 0.2s ease-out;
1003 }
1004 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1005 transform: scale(1.1);
1006 }
1007 .mwai-foundation-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1008 transform: scale(0.9);
1009 }
1010 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1011 transform: scale(0.8);
1012 opacity: 0.3;
1013 }
1014 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1015 display: none;
1016 }
1017 .mwai-foundation-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1018 display: none !important;
1019 }
1020 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1021 opacity: 1 !important;
1022 transition: none !important;
1023 }
1024 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1025 will-change: transform, opacity;
1026 transform: none;
1027 }
1028 .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 {
1029 transform-origin: right bottom;
1030 }
1031 .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 {
1032 transform-origin: left bottom;
1033 }
1034 .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 {
1035 transform-origin: right top;
1036 }
1037 .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 {
1038 transform-origin: left top;
1039 }
1040 .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 {
1041 transform-origin: center center;
1042 }
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: mwaiIconTextZoomIn 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1045 }
1046 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1047 transform: scale(1.02);
1048 }
1049 @media (prefers-reduced-motion: reduce) {
1050 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1051 animation: none !important;
1052 transform: none !important;
1053 }
1054 .mwai-foundation-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1055 opacity: 1 !important;
1056 transition: none !important;
1057 }
1058 }
1059 .mwai-foundation-theme.mwai-animation-slide.mwai-window {
1060 filter: none;
1061 }
1062 @media (max-width: 760px) {
1063 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-header {
1064 display: none !important;
1065 }
1066 }
1067 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-window-box {
1068 display: flex;
1069 flex-direction: column;
1070 filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15));
1071 opacity: 0;
1072 transform: translateY(100%);
1073 transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
1074 }
1075 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box {
1076 width: 100%;
1077 height: 100%;
1078 }
1079 @media (min-width: 761px) {
1080 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1081 display: flex !important;
1082 }
1083 }
1084 @media (max-width: 760px) {
1085 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
1086 display: none !important;
1087 }
1088 }
1089 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body {
1090 display: flex !important;
1091 }
1092 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box {
1093 opacity: 0.5;
1094 transform: translateY(20px);
1095 }
1096 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box {
1097 opacity: 1;
1098 transform: translateY(0);
1099 }
1100 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box {
1101 opacity: 0;
1102 transform: translateY(100%);
1103 transition: opacity 200ms ease-in, transform 200ms ease-in;
1104 }
1105 @media (max-width: 760px) {
1106 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-header {
1107 display: none !important;
1108 }
1109 }
1110 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container {
1111 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1112 }
1113 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1114 transition: transform 0.2s ease-out;
1115 }
1116 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1117 transform: scale(1.1);
1118 }
1119 .mwai-foundation-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1120 transform: scale(0.9);
1121 }
1122 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1123 opacity: 0;
1124 }
1125 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger {
1126 display: none !important;
1127 }
1128 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1129 display: none !important;
1130 }
1131 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1132 display: none !important;
1133 }
1134 .mwai-foundation-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1135 display: none;
1136 }
1137 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1138 opacity: 1 !important;
1139 transition: none !important;
1140 }
1141 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1142 will-change: transform, opacity;
1143 transform: none;
1144 }
1145 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1146 animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
1147 backface-visibility: hidden;
1148 }
1149 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1150 transform: translateY(-2px);
1151 }
1152 @media (prefers-reduced-motion: reduce) {
1153 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1154 animation: none !important;
1155 transform: none !important;
1156 }
1157 .mwai-foundation-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1158 opacity: 1 !important;
1159 transition: none !important;
1160 }
1161 }
1162 @media (max-width: 760px) {
1163 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-header {
1164 display: none !important;
1165 }
1166 }
1167 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1168 display: flex;
1169 flex-direction: column;
1170 filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
1171 opacity: 0;
1172 transform: translateY(8px) scale(0.98);
1173 transform-origin: center bottom;
1174 will-change: opacity, transform;
1175 transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1);
1176 }
1177 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box {
1178 width: 100%;
1179 height: 100%;
1180 }
1181 @media (min-width: 761px) {
1182 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1183 display: flex !important;
1184 }
1185 }
1186 @media (max-width: 760px) {
1187 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1188 display: none !important;
1189 }
1190 }
1191 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body {
1192 display: flex !important;
1193 opacity: 1 !important;
1194 transition: none !important;
1195 }
1196 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
1197 opacity: 1 !important;
1198 transition: none !important;
1199 }
1200 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box {
1201 opacity: 1;
1202 transform: translateY(0) scale(1);
1203 }
1204 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body {
1205 opacity: 1 !important;
1206 transition: none !important;
1207 }
1208 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
1209 opacity: 1;
1210 transform: translateY(0) scale(1);
1211 }
1212 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1213 opacity: 0;
1214 transform: translateY(8px) scale(0.98);
1215 transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1);
1216 }
1217 @media (prefers-reduced-motion: reduce) {
1218 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-window-box {
1219 transition: opacity 120ms linear !important;
1220 transform: none !important;
1221 }
1222 .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 {
1223 opacity: 1;
1224 }
1225 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
1226 opacity: 0;
1227 }
1228 }
1229 @media (max-width: 760px) {
1230 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-header {
1231 display: none !important;
1232 }
1233 }
1234 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container {
1235 transition: transform 0.2s ease-out, opacity 0.2s ease-out;
1236 }
1237 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
1238 transition: transform 0.2s ease-out;
1239 }
1240 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
1241 transform: scale(1.1);
1242 }
1243 .mwai-foundation-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
1244 transform: scale(0.9);
1245 }
1246 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
1247 opacity: 0;
1248 }
1249 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger {
1250 display: none !important;
1251 }
1252 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
1253 display: none !important;
1254 }
1255 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
1256 display: none !important;
1257 }
1258 .mwai-foundation-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
1259 display: none;
1260 }
1261 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1262 opacity: 1 !important;
1263 transition: none !important;
1264 }
1265 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1266 will-change: transform, opacity;
1267 transform: none;
1268 }
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: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both;
1271 }
1272 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
1273 transform: scale(1.01);
1274 }
1275 @media (prefers-reduced-motion: reduce) {
1276 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
1277 animation: none !important;
1278 transform: none !important;
1279 }
1280 .mwai-foundation-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
1281 opacity: 1 !important;
1282 transition: none !important;
1283 }
1284 }
1285 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box {
1286 display: flex;
1287 flex-direction: column;
1288 filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
1289 }
1290 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container {
1291 opacity: 1 !important;
1292 transition: none !important;
1293 }
1294 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text {
1295 animation: none !important;
1296 transition: none !important;
1297 opacity: 1 !important;
1298 transform: none !important;
1299 }
1300 .mwai-foundation-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box {
1301 width: 100%;
1302 height: 100%;
1303 }
1304
1305 .mwai-foundation-theme .mwai-footer {
1306 display: flex;
1307 align-items: center;
1308 background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1309 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1310 padding: 6px var(--mwai-spacing);
1311 }
1312 .mwai-foundation-theme .mwai-footer:empty {
1313 display: none;
1314 }
1315 .mwai-foundation-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) {
1316 display: none;
1317 }
1318 .mwai-foundation-theme .mwai-footer .mwai-tools {
1319 display: flex;
1320 align-items: center;
1321 gap: 8px;
1322 margin-right: calc(var(--mwai-spacing) / 2);
1323 }
1324 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload {
1325 display: inline-block;
1326 }
1327 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide {
1328 display: inline-flex;
1329 align-items: center;
1330 justify-content: center;
1331 position: relative;
1332 min-width: 16px;
1333 height: 16px;
1334 color: var(--mwai-fontColor);
1335 opacity: 0.75;
1336 margin: 0;
1337 }
1338 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover {
1339 opacity: 1;
1340 }
1341 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg {
1342 width: 16px;
1343 height: 16px;
1344 }
1345 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
1346 position: absolute;
1347 top: -5px;
1348 right: -6px;
1349 min-width: 12px;
1350 height: 12px;
1351 padding: 0 2px;
1352 border-radius: 999px;
1353 background: var(--mwai-backgroundHeaderColor);
1354 color: #fff;
1355 border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
1356 font-size: 8px;
1357 font-family: system-ui;
1358 font-weight: 700;
1359 line-height: 1;
1360 display: inline-flex;
1361 align-items: center;
1362 justify-content: center;
1363 user-select: none;
1364 cursor: pointer;
1365 }
1366 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after {
1367 content: attr(data-count);
1368 }
1369 .mwai-foundation-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after {
1370 content: "-";
1371 }
1372 .mwai-foundation-theme .mwai-footer .mwai-compliance {
1373 opacity: 0.5;
1374 font-size: 11px;
1375 line-height: 11px;
1376 color: var(--mwai-fontColor);
1377 flex: 1;
1378 text-align: left;
1379 padding: calc(var(--mwai-spacing) / 2) 0;
1380 margin: 0;
1381 }
1382 .mwai-foundation-theme .mwai-footer .mwai-tools + .mwai-compliance {
1383 text-align: right;
1384 }
1385 .mwai-foundation-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-foundation-theme .mwai-body:last-child .mwai-input {
1386 padding-bottom: var(--mwai-spacing);
1387 }
1388 @media (max-width: 760px) {
1389 .mwai-foundation-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-foundation-theme .mwai-body:last-child .mwai-input {
1390 padding-bottom: var(--mwai-spacing);
1391 }
1392 }
1393
1394 .mwai-foundation-theme .mwai-files {
1395 display: flex;
1396 flex-direction: column;
1397 gap: 8px;
1398 padding: var(--mwai-spacing);
1399 background: var(--mwai-backgroundSecondaryColor);
1400 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
1401 }
1402 .mwai-foundation-theme .mwai-files::-webkit-scrollbar {
1403 width: 6px;
1404 }
1405 .mwai-foundation-theme .mwai-files::-webkit-scrollbar-track {
1406 background: var(--mwai-backgroundPrimaryColor);
1407 border-radius: 3px;
1408 }
1409 .mwai-foundation-theme .mwai-files::-webkit-scrollbar-thumb {
1410 background: var(--mwai-backgroundHeaderColor);
1411 border-radius: 3px;
1412 }
1413 .mwai-foundation-theme .mwai-files::-webkit-scrollbar-thumb:hover {
1414 background: var(--mwai-primaryColor);
1415 }
1416 .mwai-foundation-theme .mwai-files .mwai-file-preview {
1417 position: relative;
1418 }
1419 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-content {
1420 display: flex;
1421 align-items: center;
1422 gap: 8px;
1423 }
1424 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
1425 width: 32px;
1426 height: 32px;
1427 object-fit: cover;
1428 border-radius: 4px;
1429 border: 1px solid var(--mwai-backgroundHeaderColor);
1430 display: block;
1431 flex-shrink: 0;
1432 }
1433 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-icon {
1434 width: 32px;
1435 height: 32px;
1436 display: flex;
1437 align-items: center;
1438 justify-content: center;
1439 background: var(--mwai-backgroundSecondaryColor);
1440 border-radius: 4px;
1441 color: var(--mwai-fontColor);
1442 opacity: 0.6;
1443 flex-shrink: 0;
1444 }
1445 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-icon svg {
1446 width: 18px;
1447 height: 18px;
1448 }
1449 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-info {
1450 flex: 1;
1451 min-width: 0;
1452 display: flex;
1453 flex-direction: column;
1454 gap: 2px;
1455 }
1456 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-name {
1457 font-size: calc(var(--mwai-fontSize) * 0.85);
1458 color: var(--mwai-fontColor);
1459 white-space: nowrap;
1460 overflow: hidden;
1461 text-overflow: ellipsis;
1462 line-height: 1.2;
1463 }
1464 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-size {
1465 font-size: calc(var(--mwai-fontSize) * 0.7);
1466 color: var(--mwai-fontColor);
1467 opacity: 0.5;
1468 line-height: 1;
1469 }
1470 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-progress {
1471 position: absolute;
1472 bottom: 0;
1473 left: 0;
1474 right: 0;
1475 height: 2px;
1476 background: var(--mwai-backgroundHeaderColor);
1477 border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2);
1478 overflow: hidden;
1479 }
1480 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
1481 height: 100%;
1482 background: var(--mwai-primaryColor);
1483 transition: width 0.3s ease;
1484 }
1485 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-remove {
1486 display: flex;
1487 align-items: center;
1488 justify-content: center;
1489 background: none;
1490 cursor: pointer;
1491 color: var(--mwai-fontColor);
1492 padding: 4px;
1493 border: none;
1494 line-height: 0;
1495 min-width: inherit;
1496 margin-left: auto;
1497 opacity: 0.6;
1498 transition: opacity 0.2s ease;
1499 }
1500 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
1501 opacity: 1;
1502 }
1503 .mwai-foundation-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
1504 width: 20px;
1505 height: 20px;
1506 }
1507 .mwai-foundation-theme .mwai-files:empty {
1508 display: none;
1509 }
1510 .mwai-foundation-theme .mwai-file-upload-icon {
1511 margin-bottom: -3px;
1512 }
1513 .mwai-foundation-theme .mwai-spin {
1514 animation: mwai-spin 1s linear infinite;
1515 }
1516 @keyframes mwai-spin {
1517 from {
1518 transform: rotate(0deg);
1519 }
1520 to {
1521 transform: rotate(360deg);
1522 }
1523 }
1524 .mwai-foundation-theme .mwai-terminal {
1525 --mwai-terminal-active-color: var(--mwai-fontColor);
1526 font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
1527 font-size: 12px;
1528 background: var(--mwai-backgroundPrimaryColor);
1529 color: var(--mwai-fontColor);
1530 padding: var(--mwai-spacing);
1531 height: 100%;
1532 overflow-y: auto;
1533 cursor: text;
1534 display: flex;
1535 flex-direction: column;
1536 flex: 1 1 auto;
1537 min-height: 0;
1538 padding-bottom: calc(var(--mwai-spacing) * 1.25);
1539 }
1540 .mwai-foundation-theme .mwai-terminal:focus {
1541 outline: none;
1542 }
1543 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line {
1544 display: flex;
1545 align-items: flex-start;
1546 margin: calc(var(--mwai-spacing) / 2) 0;
1547 white-space: pre-wrap;
1548 word-wrap: break-word;
1549 word-break: break-word;
1550 }
1551 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user {
1552 color: var(--mwai-fontColor);
1553 opacity: 0.35;
1554 }
1555 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing {
1556 color: var(--mwai-terminal-active-color);
1557 opacity: 1;
1558 }
1559 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt {
1560 color: var(--mwai-terminal-active-color);
1561 }
1562 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant {
1563 color: var(--mwai-fontColor);
1564 }
1565 .mwai-foundation-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system {
1566 color: #608b4e;
1567 font-style: italic;
1568 }
1569 .mwai-foundation-theme .mwai-terminal .mwai-terminal-prompt {
1570 color: var(--mwai-terminal-active-color);
1571 margin-left: -4px;
1572 margin-right: 4px;
1573 display: inline-flex;
1574 align-items: center;
1575 height: 1.5em;
1576 line-height: 1.2;
1577 flex-shrink: 0;
1578 align-self: flex-start;
1579 }
1580 .mwai-foundation-theme .mwai-terminal .mwai-terminal-prompt svg {
1581 display: block;
1582 width: 1.4em;
1583 height: 1.4em;
1584 }
1585 .mwai-foundation-theme .mwai-terminal .mwai-terminal-text {
1586 color: inherit;
1587 }
1588 .mwai-foundation-theme .mwai-terminal .mwai-terminal-input-wrapper {
1589 flex: 1;
1590 display: inline;
1591 white-space: pre-wrap;
1592 word-wrap: break-word;
1593 word-break: break-word;
1594 }
1595 .mwai-foundation-theme .mwai-terminal .mwai-terminal-typed {
1596 color: var(--mwai-terminal-active-color);
1597 white-space: pre-wrap;
1598 word-wrap: break-word;
1599 word-break: break-word;
1600 }
1601 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor {
1602 display: inline-block;
1603 min-width: 8px;
1604 height: 1.35em;
1605 color: var(--mwai-terminal-active-color);
1606 background: var(--mwai-terminal-active-color);
1607 opacity: 0.35;
1608 vertical-align: text-bottom;
1609 line-height: inherit;
1610 }
1611 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active {
1612 opacity: 1;
1613 color: var(--mwai-backgroundPrimaryColor);
1614 animation: mwai-cursor-blink 1s infinite;
1615 }
1616 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing {
1617 opacity: 1;
1618 color: var(--mwai-backgroundPrimaryColor);
1619 }
1620 .mwai-foundation-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
1621 opacity: 0.35;
1622 }
1623 .mwai-foundation-theme .mwai-terminal {
1624 scrollbar-width: thin;
1625 scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
1626 }
1627 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar {
1628 width: 8px;
1629 background: transparent;
1630 }
1631 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar-track {
1632 background: transparent;
1633 }
1634 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar-thumb {
1635 background: rgba(128, 128, 128, 0.3);
1636 border-radius: 4px;
1637 }
1638 .mwai-foundation-theme .mwai-terminal::-webkit-scrollbar-thumb:hover {
1639 background: rgba(128, 128, 128, 0.5);
1640 }
1641 .mwai-foundation-theme .mwai-terminal + .mwai-compliance {
1642 margin-top: 0;
1643 }
1644 .mwai-foundation-theme.mwai-transition, .mwai-foundation-theme .mwai-transition {
1645 opacity: 0;
1646 transition: opacity 350ms ease-in-out;
1647 }
1648 .mwai-foundation-theme.mwai-transition-visible, .mwai-foundation-theme .mwai-transition-visible {
1649 opacity: 1;
1650 }
1651 .mwai-foundation-theme .mwai-text {
1652 overflow-wrap: anywhere;
1653 }
1654 .mwai-foundation-theme .mwai-text img, .mwai-foundation-theme .mwai-text svg {
1655 max-width: 100%;
1656 }
1657 .mwai-foundation-theme .mwai-text div p:first-child {
1658 margin-top: 0;
1659 }
1660 .mwai-foundation-theme .mwai-text div p:last-child {
1661 margin-bottom: 0;
1662 }
1663 .mwai-foundation-theme .mwai-trigger {
1664 position: absolute;
1665 right: 0;
1666 bottom: 0;
1667 transition: all 0.2s ease-out;
1668 z-index: 9999;
1669 display: flex;
1670 flex-direction: column;
1671 align-items: end;
1672 }
1673 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container {
1674 display: flex;
1675 flex-direction: column;
1676 align-items: flex-end;
1677 position: relative;
1678 z-index: 2;
1679 }
1680 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
1681 background: var(--mwai-iconTextBackgroundColor);
1682 color: var(--mwai-iconTextColor);
1683 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
1684 max-width: 200px;
1685 font-size: 13px;
1686 margin-bottom: 15px;
1687 padding: 10px 15px;
1688 border-radius: 8px;
1689 position: relative;
1690 user-select: none;
1691 -webkit-user-select: none;
1692 -ms-user-select: none;
1693 }
1694 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
1695 --mwai-icon-close-size: 28px;
1696 color: var(--mwai-iconTextColor);
1697 background: var(--mwai-iconTextBackgroundColor);
1698 font-size: 13px;
1699 line-height: 1;
1700 width: var(--mwai-icon-close-size);
1701 height: var(--mwai-icon-close-size);
1702 min-width: var(--mwai-icon-close-size);
1703 min-height: var(--mwai-icon-close-size);
1704 border-radius: 50%;
1705 display: flex;
1706 opacity: 0;
1707 visibility: hidden;
1708 pointer-events: none;
1709 transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms;
1710 justify-content: center;
1711 align-items: center;
1712 position: absolute;
1713 right: 0;
1714 top: 0;
1715 transform: translate(40%, -40%);
1716 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
1717 z-index: 2;
1718 cursor: pointer;
1719 pointer-events: auto;
1720 -webkit-tap-highlight-color: transparent;
1721 user-select: none;
1722 -webkit-user-select: none;
1723 -ms-user-select: none;
1724 }
1725 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container:hover {
1726 cursor: pointer;
1727 }
1728 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close {
1729 opacity: 1;
1730 visibility: visible;
1731 pointer-events: auto;
1732 transform: translate(40%, -40%) scale(1);
1733 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
1734 }
1735 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover {
1736 filter: brightness(1.1);
1737 transform: translate(40%, -40%) scale(1.06);
1738 }
1739 @media (max-width: 760px) {
1740 .mwai-foundation-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close {
1741 opacity: 1;
1742 visibility: visible;
1743 pointer-events: auto;
1744 transform: translate(40%, -40%) scale(1);
1745 transition: opacity 120ms ease, transform 120ms ease, visibility 0s;
1746 }
1747 }
1748 .mwai-foundation-theme .mwai-trigger .mwai-icon-container {
1749 position: relative;
1750 z-index: 1;
1751 }
1752 .mwai-foundation-theme .mwai-trigger .mwai-icon-container .mwai-icon {
1753 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
1754 transition: all 0.2s ease-out;
1755 }
1756 .mwai-foundation-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
1757 cursor: pointer;
1758 transform: scale(1.05);
1759 }
1760 .mwai-foundation-theme.mwai-window {
1761 position: fixed;
1762 right: 30px;
1763 bottom: 30px;
1764 width: var(--mwai-width);
1765 z-index: 9999;
1766 }
1767 .mwai-foundation-theme.mwai-window .mwai-window-box {
1768 position: relative;
1769 z-index: 1;
1770 }
1771 .mwai-foundation-theme.mwai-window .mwai-header {
1772 display: none;
1773 justify-content: space-between;
1774 align-items: center;
1775 padding: 0 0 0 15px;
1776 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
1777 background: var(--mwai-backgroundHeaderColor);
1778 }
1779 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons {
1780 display: flex;
1781 align-items: center;
1782 margin-left: auto;
1783 }
1784 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
1785 justify-content: center;
1786 height: 32px;
1787 width: 32px;
1788 cursor: pointer;
1789 display: flex;
1790 justify-content: center;
1791 align-items: center;
1792 }
1793 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
1794 transition: all 0.2s ease-out;
1795 content: " ";
1796 cursor: pointer;
1797 position: absolute;
1798 height: 20px;
1799 width: 20px;
1800 background-color: var(--mwai-headerColor);
1801 -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;
1802 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;
1803 }
1804 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
1805 width: 22px;
1806 height: 22px;
1807 }
1808 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
1809 justify-content: center;
1810 height: 32px;
1811 width: 32px;
1812 cursor: pointer;
1813 border-radius: var(--mwai-borderRadius);
1814 margin-left: -10px;
1815 }
1816 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
1817 transition: all 0.2s ease-out;
1818 transform: translate(16px, 5px) rotate(45deg);
1819 }
1820 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
1821 transition: all 0.2s ease-out;
1822 transform: translate(16px, 5px) rotate(-45deg);
1823 }
1824 .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 {
1825 content: " ";
1826 cursor: pointer;
1827 position: absolute;
1828 height: 22px;
1829 width: 1.2px;
1830 background-color: var(--mwai-headerColor);
1831 }
1832 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
1833 opacity: 1;
1834 transform: translate(16px, 5px) rotate(135deg);
1835 }
1836 .mwai-foundation-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
1837 opacity: 1;
1838 transform: translate(16px, 5px) rotate(45deg);
1839 }
1840 .mwai-foundation-theme.mwai-window.mwai-opening, .mwai-foundation-theme.mwai-window.mwai-closing {
1841 cursor: default !important;
1842 }
1843 .mwai-foundation-theme.mwai-window.mwai-opening .mwai-header, .mwai-foundation-theme.mwai-window.mwai-closing .mwai-header {
1844 cursor: default !important;
1845 }
1846 .mwai-foundation-theme.mwai-window .mwai-body {
1847 display: none;
1848 opacity: 0;
1849 max-height: var(--mwai-maxHeight);
1850 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
1851 }
1852 .mwai-foundation-theme.mwai-window.mwai-bottom-left {
1853 bottom: 30px;
1854 right: inherit;
1855 left: 30px;
1856 }
1857 .mwai-foundation-theme.mwai-window.mwai-bottom-left .mwai-trigger {
1858 right: inherit;
1859 left: 0;
1860 }
1861 .mwai-foundation-theme.mwai-window.mwai-top-right {
1862 top: 30px;
1863 bottom: inherit;
1864 right: 30px;
1865 }
1866 .mwai-foundation-theme.mwai-window.mwai-top-right .mwai-trigger {
1867 top: 0;
1868 bottom: inherit;
1869 }
1870 .mwai-foundation-theme.mwai-window.mwai-top-left {
1871 top: 30px;
1872 bottom: inherit;
1873 right: inherit;
1874 left: 30px;
1875 }
1876 .mwai-foundation-theme.mwai-window.mwai-top-left .mwai-trigger {
1877 top: 0;
1878 bottom: inherit;
1879 right: inherit;
1880 left: 0;
1881 }
1882 .mwai-foundation-theme.mwai-window.mwai-center-open.mwai-open {
1883 top: 50%;
1884 left: 50%;
1885 transform: translate(-50%, -50%);
1886 right: auto;
1887 bottom: auto;
1888 }
1889 @media (max-width: 760px) {
1890 .mwai-foundation-theme.mwai-window.mwai-center-open.mwai-open {
1891 width: calc(100% - 40px);
1892 max-width: var(--mwai-width);
1893 }
1894 }
1895 .mwai-foundation-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-foundation-theme.mwai-window.mwai-bottom-left .mwai-trigger {
1896 align-items: flex-start;
1897 }
1898 .mwai-foundation-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-foundation-theme.mwai-window.mwai-top-left .mwai-trigger {
1899 flex-direction: column-reverse;
1900 }
1901 .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 {
1902 margin-bottom: 0;
1903 margin-top: 15px;
1904 }
1905 .mwai-foundation-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
1906 margin-bottom: 0px;
1907 }
1908 .mwai-foundation-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
1909 width: 20px;
1910 height: 20px;
1911 -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");
1912 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");
1913 }
1914 .mwai-foundation-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
1915 width: 22px;
1916 height: 22px;
1917 }
1918 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) {
1919 position: fixed;
1920 left: 0 !important;
1921 right: 0 !important;
1922 bottom: 0 !important;
1923 top: 0 !important;
1924 width: 100%;
1925 height: 100%;
1926 height: 100vh;
1927 height: 100dvh;
1928 max-height: 100dvh;
1929 max-width: 100%;
1930 display: flex;
1931 flex-direction: column;
1932 margin: 0;
1933 z-index: 999999;
1934 background-color: var(--mwai-backgroundSecondaryColor);
1935 }
1936 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
1937 border-radius: 0;
1938 }
1939 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
1940 flex: 1;
1941 min-height: 0;
1942 max-height: inherit;
1943 border-radius: 0;
1944 display: flex !important;
1945 flex-direction: column !important;
1946 }
1947 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation {
1948 flex: 0 1 auto !important;
1949 max-height: none;
1950 overflow-y: auto;
1951 min-height: 0;
1952 }
1953 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer {
1954 flex: 1 1 auto !important;
1955 min-height: 0;
1956 }
1957 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input {
1958 flex: 0 0 auto;
1959 }
1960 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer {
1961 flex: 0 0 auto;
1962 }
1963 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files {
1964 flex: 0 0 auto;
1965 }
1966 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) {
1967 display: flex !important;
1968 visibility: visible !important;
1969 opacity: 1 !important;
1970 }
1971 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box {
1972 width: 100%;
1973 height: 100%;
1974 display: flex;
1975 flex-direction: column;
1976 }
1977 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
1978 display: flex !important;
1979 visibility: visible !important;
1980 opacity: 1 !important;
1981 flex: 0 0 auto;
1982 }
1983 .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
1984 display: flex !important;
1985 visibility: visible !important;
1986 opacity: 1 !important;
1987 flex: 1 1 auto;
1988 flex-direction: column;
1989 min-height: 0;
1990 height: 100%;
1991 }
1992 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open {
1993 position: fixed;
1994 left: 0 !important;
1995 right: 0 !important;
1996 bottom: 0 !important;
1997 top: 0 !important;
1998 width: 100%;
1999 height: 100%;
2000 height: 100vh;
2001 height: 100dvh;
2002 max-height: 100dvh;
2003 max-width: 100%;
2004 display: flex;
2005 flex-direction: column;
2006 margin: 0;
2007 z-index: 999999;
2008 background-color: var(--mwai-backgroundSecondaryColor);
2009 }
2010 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
2011 border-radius: 0;
2012 }
2013 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2014 flex: 1;
2015 min-height: 0;
2016 max-height: inherit;
2017 border-radius: 0;
2018 display: flex !important;
2019 flex-direction: column !important;
2020 }
2021 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation {
2022 flex: 0 1 auto !important;
2023 max-height: none;
2024 overflow-y: auto;
2025 min-height: 0;
2026 }
2027 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer {
2028 flex: 1 1 auto !important;
2029 min-height: 0;
2030 }
2031 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input {
2032 flex: 0 0 auto;
2033 }
2034 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer {
2035 flex: 0 0 auto;
2036 }
2037 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files {
2038 flex: 0 0 auto;
2039 }
2040 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open {
2041 transform: none !important;
2042 }
2043 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box {
2044 width: 100%;
2045 height: 100%;
2046 display: flex;
2047 flex-direction: column;
2048 }
2049 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
2050 flex: 1 1 auto;
2051 min-height: 0;
2052 }
2053 .mwai-foundation-theme.mwai-window.mwai-open .mwai-header {
2054 display: flex;
2055 }
2056 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body {
2057 display: flex;
2058 transition: opacity 200ms ease-in-out 0s;
2059 opacity: 1;
2060 }
2061 .mwai-foundation-theme.mwai-window.mwai-open .mwai-trigger {
2062 display: none;
2063 }
2064 .mwai-foundation-theme .mwai-body > .mwai-error {
2065 margin: var(--mwai-spacing);
2066 color: white;
2067 background: rgba(180, 55, 55, 0.55);
2068 padding: var(--mwai-spacing);
2069 border-radius: var(--mwai-borderRadius);
2070 }
2071 .mwai-foundation-theme .mwai-body > .mwai-error:hover {
2072 cursor: pointer;
2073 background: rgba(180, 44, 44, 0.85);
2074 }
2075 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-text {
2076 color: #ff5656;
2077 }
2078 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-text a {
2079 color: #ff5656;
2080 text-decoration: underline;
2081 }
2082 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button {
2083 fill: var(--mwai-fontColor);
2084 padding: 3px 5px;
2085 width: 24px;
2086 height: 24px;
2087 background: var(--mwai-backgroundPrimaryColor);
2088 cursor: pointer;
2089 border-radius: 5px;
2090 }
2091 .mwai-foundation-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
2092 filter: brightness(1.2);
2093 }
2094 .mwai-foundation-theme .mwai-reply-actions {
2095 opacity: 0;
2096 transition: opacity 0.2s ease-in-out;
2097 }
2098 .mwai-foundation-theme .mwai-reply:hover .mwai-reply-actions {
2099 opacity: 1 !important;
2100 }
2101 .mwai-foundation-theme .mwai-form-output-container:hover .mwai-reply-actions {
2102 opacity: 1 !important;
2103 }
2104 .mwai-foundation-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden {
2105 opacity: 1 !important;
2106 }
2107 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container {
2108 background: var(--mwai-bubbleColor);
2109 width: var(--mwai-iconSize, 60px);
2110 height: var(--mwai-iconSize, 60px);
2111 border-radius: 100%;
2112 transition: all 0.2s ease-out;
2113 display: flex;
2114 justify-content: center;
2115 align-items: center;
2116 }
2117 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon {
2118 max-width: 50%;
2119 max-height: 50%;
2120 filter: none;
2121 }
2122 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover {
2123 transform: none;
2124 }
2125 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji {
2126 font-size: calc(var(--mwai-iconSize, 60px) / 2);
2127 }
2128 .mwai-foundation-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover {
2129 cursor: pointer;
2130 filter: brightness(1.1);
2131 }
2132 @media (max-width: 760px) {
2133 .mwai-foundation-theme.mwai-fullscreen.mwai-window.mwai-open, .mwai-foundation-theme.mwai-fullscreen:not(.mwai-window) {
2134 top: var(--mwai-vv-offset-top, 0) !important;
2135 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2136 height: var(--mwai-vv-height, 100dvh);
2137 max-height: var(--mwai-vv-height, 100dvh);
2138 }
2139 .mwai-foundation-theme.mwai-window.mwai-open {
2140 position: fixed;
2141 top: var(--mwai-vv-offset-top, 0) !important;
2142 left: 0 !important;
2143 right: 0 !important;
2144 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2145 width: 100%;
2146 min-height: 100%;
2147 min-height: 100vh;
2148 min-height: var(--mwai-vv-height, 100dvh);
2149 height: var(--mwai-vv-height, 100dvh);
2150 max-height: var(--mwai-vv-height, 100dvh);
2151 max-width: 100%;
2152 margin: 0;
2153 z-index: 999999;
2154 background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2155 border-radius: 0 !important;
2156 box-shadow: none !important;
2157 border: none !important;
2158 padding-top: env(safe-area-inset-top, 0);
2159 padding-left: env(safe-area-inset-left, 0);
2160 padding-right: env(safe-area-inset-right, 0);
2161 box-sizing: border-box;
2162 }
2163 .mwai-foundation-theme.mwai-window.mwai-open .mwai-window-box {
2164 width: 100%;
2165 height: 100%;
2166 flex: 1;
2167 display: flex;
2168 flex-direction: column;
2169 border-radius: 0 !important;
2170 box-shadow: none !important;
2171 border: none !important;
2172 background: transparent !important;
2173 min-height: 0;
2174 }
2175 .mwai-foundation-theme.mwai-window.mwai-open .mwai-header {
2176 display: none !important;
2177 }
2178 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body {
2179 flex: 1;
2180 min-height: 0;
2181 display: flex;
2182 flex-direction: column;
2183 border-radius: 0 !important;
2184 overflow: hidden;
2185 background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
2186 }
2187 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2188 flex: 1;
2189 overflow-y: auto;
2190 max-height: none;
2191 min-height: 0;
2192 }
2193 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-input {
2194 flex-shrink: 0;
2195 position: relative;
2196 }
2197 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-footer {
2198 flex-shrink: 0;
2199 position: relative;
2200 }
2201 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input {
2202 padding-bottom: env(safe-area-inset-bottom, 0);
2203 }
2204 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header {
2205 display: flex;
2206 position: sticky;
2207 top: 0;
2208 left: 0;
2209 right: 0;
2210 min-height: 50px;
2211 background: var(--mwai-backgroundHeaderColor);
2212 border-bottom: 1px solid var(--mwai-lineColor);
2213 padding: 0 15px;
2214 padding-top: env(safe-area-inset-top, 0);
2215 padding-left: calc(15px + env(safe-area-inset-left, 0));
2216 padding-right: calc(15px + env(safe-area-inset-right, 0));
2217 align-items: center;
2218 justify-content: space-between;
2219 z-index: 10;
2220 flex-shrink: 0;
2221 }
2222 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
2223 font-size: 16px;
2224 font-weight: 600;
2225 color: var(--mwai-headerColor);
2226 flex: 1;
2227 overflow: hidden;
2228 text-overflow: ellipsis;
2229 white-space: nowrap;
2230 }
2231 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close {
2232 all: unset;
2233 display: flex;
2234 align-items: center;
2235 justify-content: center;
2236 width: 32px;
2237 height: 32px;
2238 min-width: 32px;
2239 cursor: pointer;
2240 border-radius: 6px;
2241 transition: background-color 0.2s ease;
2242 -webkit-tap-highlight-color: transparent;
2243 }
2244 .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 {
2245 background-color: var(--mwai-backgroundSecondaryColor);
2246 }
2247 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg {
2248 width: 20px;
2249 height: 20px;
2250 }
2251 .mwai-foundation-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path {
2252 stroke: var(--mwai-headerColor);
2253 }
2254 .mwai-foundation-theme.mwai-window.mwai-open.mwai-center-open {
2255 top: var(--mwai-vv-offset-top, 0) !important;
2256 left: 0 !important;
2257 transform: none !important;
2258 right: 0 !important;
2259 bottom: var(--mwai-vv-offset-bottom, 0) !important;
2260 width: 100% !important;
2261 max-width: 100% !important;
2262 height: var(--mwai-vv-height, 100dvh) !important;
2263 }
2264 .mwai-foundation-theme.mwai-window.mwai-open .mwai-input {
2265 flex-direction: column;
2266 }
2267 .mwai-foundation-theme.mwai-window.mwai-open .mwai-input button:not(.mwai-input-submit) {
2268 font-size: 16px;
2269 margin-left: 0;
2270 width: 100%;
2271 }
2272 .mwai-foundation-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
2273 width: 100%;
2274 }
2275 .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 {
2276 font-size: 16px;
2277 }
2278 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body {
2279 display: flex;
2280 transition: opacity 200ms ease-in-out 0s;
2281 opacity: 1;
2282 flex: 1;
2283 min-height: 0;
2284 max-height: inherit;
2285 }
2286 .mwai-foundation-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
2287 flex: 1;
2288 max-height: none;
2289 min-height: 0;
2290 }
2291 .mwai-foundation-theme.mwai-window.mwai-open .mwai-resize-button {
2292 display: none !important;
2293 }
2294 .mwai-foundation-theme.mwai-window.mwai-open .mwai-trigger {
2295 display: none;
2296 }
2297 }
2298 @keyframes mwai-button-spinner {
2299 from {
2300 transform: rotate(0turn);
2301 }
2302 to {
2303 transform: rotate(1turn);
2304 }
2305 }
2306 .mwai-foundation-theme button:not(.mwai-busy):before {
2307 content: none !important;
2308 display: none !important;
2309 animation: none !important;
2310 }
2311 .mwai-foundation-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
2312 .mwai-foundation-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
2313 top: 32px;
2314 }
2315 .mwai-foundation-theme .mwai-input .mwai-terminal-line {
2316 display: flex;
2317 align-items: flex-start;
2318 color: var(--mwai-terminal-active-color, var(--mwai-fontColor));
2319 }
2320 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt {
2321 color: var(--mwai-terminal-active-color, currentColor);
2322 margin-left: -4px;
2323 margin-right: 4px;
2324 display: inline-flex;
2325 align-items: center;
2326 height: 1.5em;
2327 line-height: 1.2;
2328 flex-shrink: 0;
2329 align-self: flex-start;
2330 }
2331 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg {
2332 display: block;
2333 width: 1.4em;
2334 height: 1.4em;
2335 }
2336 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper {
2337 flex: 1;
2338 display: inline;
2339 white-space: pre-wrap;
2340 word-wrap: break-word;
2341 word-break: break-word;
2342 }
2343 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed {
2344 white-space: pre-wrap;
2345 word-wrap: break-word;
2346 word-break: break-word;
2347 }
2348 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor {
2349 display: inline-block;
2350 min-width: 8px;
2351 height: 1.35em;
2352 color: currentColor;
2353 background: currentColor;
2354 opacity: 0.35;
2355 vertical-align: text-bottom;
2356 line-height: inherit;
2357 }
2358 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active {
2359 opacity: 1;
2360 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2361 animation: mwai-cursor-blink 1s infinite;
2362 }
2363 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing {
2364 opacity: 1;
2365 color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
2366 }
2367 .mwai-foundation-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
2368 opacity: 0.35;
2369 }
2370 .mwai-foundation-theme pre code.hljs {
2371 display: block;
2372 overflow-x: auto;
2373 padding: 1em;
2374 }
2375 .mwai-foundation-theme code.hljs {
2376 padding: 3px 5px;
2377 }
2378 .mwai-foundation-theme .hljs {
2379 color: #fff;
2380 }
2381 .mwai-foundation-theme .hljs-subst {
2382 color: #fff;
2383 }
2384 .mwai-foundation-theme .hljs-comment {
2385 color: #999;
2386 }
2387 .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 {
2388 color: #88aece;
2389 }
2390 .mwai-foundation-theme .hljs-attribute {
2391 color: #c59bc1;
2392 }
2393 .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 {
2394 color: #f08d49;
2395 }
2396 .mwai-foundation-theme .hljs-selector-class {
2397 color: #88aece;
2398 }
2399 .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 {
2400 color: #b5bd68;
2401 }
2402 .mwai-foundation-theme .hljs-meta, .mwai-foundation-theme .hljs-selector-pseudo {
2403 color: #88aece;
2404 }
2405 .mwai-foundation-theme .hljs-built_in, .mwai-foundation-theme .hljs-literal, .mwai-foundation-theme .hljs-title {
2406 color: #f08d49;
2407 }
2408 .mwai-foundation-theme .hljs-bullet, .mwai-foundation-theme .hljs-code {
2409 color: #ccc;
2410 }
2411 .mwai-foundation-theme .hljs-meta .hljs-string {
2412 color: #b5bd68;
2413 }
2414 .mwai-foundation-theme .hljs-deletion {
2415 color: #de7176;
2416 }
2417 .mwai-foundation-theme .hljs-addition {
2418 color: #76c490;
2419 }
2420 .mwai-foundation-theme .hljs-emphasis {
2421 font-style: italic;
2422 }
2423 .mwai-foundation-theme .hljs-strong {
2424 font-weight: 700;
2425 }
2426 .mwai-foundation-theme .mwai-reply-actions {
2427 position: absolute;
2428 border-radius: 5px;
2429 top: 10px;
2430 right: 10px;
2431 display: flex;
2432 align-items: center;
2433 padding: 2px 2px;
2434 z-index: 100;
2435 background: var(--mwai-backgroundPrimaryColor);
2436 box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
2437 z-index: 100;
2438 }
2439 .mwai-foundation-theme .mwai-reply-actions .mwai-copy-button,
2440 .mwai-foundation-theme .mwai-reply-actions .mwai-download-button,
2441 .mwai-foundation-theme .mwai-reply-actions .mwai-pdf-button {
2442 fill: var(--mwai-fontColor);
2443 padding: 3px 5px;
2444 width: 24px;
2445 height: 24px;
2446 background: var(--mwai-backgroundPrimaryColor);
2447 cursor: pointer;
2448 border-radius: 5px;
2449 }
2450 .mwai-foundation-theme .mwai-reply-actions .mwai-copy-button:hover,
2451 .mwai-foundation-theme .mwai-reply-actions .mwai-download-button:hover,
2452 .mwai-foundation-theme .mwai-reply-actions .mwai-pdf-button:hover {
2453 filter: brightness(1.2);
2454 }
2455 .mwai-foundation-theme .mwai-reply-actions.mwai-hidden {
2456 opacity: 0;
2457 }
2458 .mwai-foundation-theme .mwai-realtime {
2459 padding: var(--mwai-spacing);
2460 }
2461 .mwai-foundation-theme .mwai-realtime .mwai-visualizer {
2462 display: flex;
2463 justify-content: center;
2464 align-items: center;
2465 }
2466 .mwai-foundation-theme .mwai-realtime .mwai-visualizer hr {
2467 width: 100px;
2468 margin-right: var(--mwai-spacing);
2469 margin-left: var(--mwai-spacing);
2470 border: 1px solid var(--mwai-backgroundPrimaryColor);
2471 }
2472 .mwai-foundation-theme .mwai-realtime .mwai-visualizer .mwai-animation {
2473 background: var(--mwai-backgroundPrimaryColor);
2474 }
2475 .mwai-foundation-theme .mwai-realtime .mwai-controls {
2476 display: flex;
2477 justify-content: center;
2478 align-items: center;
2479 margin-bottom: var(--mwai-spacing);
2480 }
2481 .mwai-foundation-theme .mwai-realtime .mwai-controls > * + * {
2482 margin-left: 10px;
2483 }
2484 .mwai-foundation-theme .mwai-realtime .mwai-controls button {
2485 border-radius: 100%;
2486 width: 50px;
2487 height: 50px;
2488 margin: 5px;
2489 padding: 5px;
2490 display: flex;
2491 align-items: center;
2492 justify-content: center;
2493 color: var(--mwai-fontColor);
2494 border: 2px solid var(--mwai-backgroundPrimaryColor);
2495 background: none;
2496 cursor: pointer;
2497 transition: all 0.2s ease-out;
2498 min-width: inherit;
2499 max-width: inherit;
2500 }
2501 .mwai-foundation-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
2502 background: var(--mwai-backgroundPrimaryColor);
2503 }
2504 .mwai-foundation-theme .mwai-realtime .mwai-controls button:disabled {
2505 opacity: 0.5;
2506 cursor: not-allowed;
2507 background: none;
2508 }
2509 .mwai-foundation-theme .mwai-realtime .mwai-controls button.mwai-active {
2510 border: 2px solid var(--mwai-fontColor);
2511 }
2512 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode {
2513 flex-direction: column;
2514 gap: 8px;
2515 }
2516 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
2517 border-radius: calc(var(--mwai-borderRadius) * 0.8);
2518 width: auto;
2519 min-width: 120px;
2520 padding: 12px 24px;
2521 margin: 5px;
2522 display: flex;
2523 align-items: center;
2524 justify-content: center;
2525 gap: 8px;
2526 color: var(--mwai-fontColor);
2527 border: 2px solid var(--mwai-backgroundPrimaryColor);
2528 background: none;
2529 cursor: pointer;
2530 transition: all 0.2s ease-out;
2531 font-family: inherit;
2532 font-size: var(--mwai-fontSize);
2533 line-height: 1.2;
2534 font-weight: 500;
2535 height: auto;
2536 user-select: none;
2537 -webkit-user-select: none;
2538 -webkit-touch-callout: none;
2539 touch-action: manipulation;
2540 }
2541 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
2542 background: var(--mwai-backgroundPrimaryColor);
2543 }
2544 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
2545 opacity: 0.5;
2546 cursor: not-allowed;
2547 background: none;
2548 }
2549 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
2550 border: 2px solid var(--mwai-fontColor);
2551 background: var(--mwai-backgroundPrimaryColor);
2552 }
2553 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg {
2554 width: 18px;
2555 height: 18px;
2556 }
2557 .mwai-foundation-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint {
2558 font-size: 12px;
2559 color: var(--mwai-fontColor);
2560 opacity: 0.6;
2561 text-align: center;
2562 margin: 0;
2563 }
2564 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript {
2565 margin: var(--mwai-spacing);
2566 margin-top: 0;
2567 border: 2px solid var(--mwai-backgroundPrimaryColor);
2568 padding: calc(var(--mwai-spacing) / 2);
2569 padding-right: calc(var(--mwai-spacing) / 2 + 10px);
2570 border-radius: var(--mwai-borderRadius);
2571 font-size: 80%;
2572 text-align: center;
2573 max-height: 120px;
2574 overflow-y: auto;
2575 overflow-x: hidden;
2576 word-wrap: break-word;
2577 overflow-wrap: break-word;
2578 }
2579 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar {
2580 width: 6px;
2581 }
2582 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track {
2583 background: transparent;
2584 margin: 4px 0;
2585 }
2586 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb {
2587 background: var(--mwai-backgroundHeaderColor);
2588 border-radius: 10px;
2589 }
2590 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover {
2591 background: var(--mwai-primaryColor);
2592 }
2593 .mwai-foundation-theme .mwai-realtime .mwai-last-transcript {
2594 scrollbar-width: thin;
2595 scrollbar-color: var(--mwai-backgroundHeaderColor) transparent;
2596 }
2597 .mwai-foundation-theme .mwai-realtime .mwai-statistics {
2598 display: grid;
2599 grid-template-columns: 1fr 1fr 1fr;
2600 grid-row-gap: 10px;
2601 font-size: 14px;
2602 }
2603 .mwai-foundation-theme .mwai-realtime .mwai-statistics div {
2604 display: flex;
2605 flex-direction: column;
2606 align-items: center;
2607 }
2608 .mwai-foundation-theme .mwai-realtime .mwai-statistics label {
2609 font-size: 11px;
2610 opacity: 0.5;
2611 text-transform: uppercase;
2612 }
2613 .mwai-foundation-theme .mwai-realtime .mwai-options {
2614 margin-top: var(--mwai-spacing);
2615 display: flex;
2616 align-items: center;
2617 }
2618 .mwai-foundation-theme .mwai-realtime .mwai-options .mwai-option {
2619 cursor: pointer;
2620 opacity: 0.5;
2621 margin-right: 2px;
2622 }
2623 .mwai-foundation-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
2624 opacity: 1;
2625 }
2626 .mwai-foundation-theme.mwai-discussions {
2627 border-radius: var(--mwai-borderRadius);
2628 background: var(--mwai-backgroundHeaderColor);
2629 overflow: hidden;
2630 }
2631 .mwai-foundation-theme.mwai-discussions * {
2632 box-sizing: border-box;
2633 }
2634 .mwai-foundation-theme.mwai-discussions .mwai-discussion {
2635 display: flex;
2636 position: relative;
2637 padding-left: calc(var(--mwai-spacing) / 2);
2638 padding-right: calc(var(--mwai-spacing) / 2);
2639 padding-bottom: calc(var(--mwai-spacing) / 2);
2640 color: var(--mwai-conversationsTextColor);
2641 opacity: 0.65;
2642 align-items: center;
2643 }
2644 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
2645 flex: 1;
2646 padding: 5px 10px;
2647 overflow: hidden;
2648 }
2649 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
2650 display: block;
2651 overflow: hidden;
2652 text-overflow: ellipsis;
2653 white-space: nowrap;
2654 font-size: var(--mwai-fontSize);
2655 margin-bottom: 4px;
2656 }
2657 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
2658 display: flex;
2659 gap: 12px;
2660 font-size: calc(var(--mwai-fontSize) * 0.85);
2661 opacity: 0.7;
2662 }
2663 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
2664 display: flex;
2665 align-items: center;
2666 gap: 4px;
2667 }
2668 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
2669 opacity: 0.6;
2670 }
2671 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
2672 position: absolute;
2673 top: 50%;
2674 right: calc(var(--mwai-spacing) / 2);
2675 transform: translateY(-50%);
2676 opacity: 0;
2677 transition: opacity 0.2s ease-out;
2678 z-index: 100;
2679 }
2680 .mwai-foundation-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
2681 width: 28px;
2682 height: 28px;
2683 display: flex;
2684 align-items: center;
2685 justify-content: center;
2686 cursor: pointer;
2687 color: var(--mwai-conversationsTextColor);
2688 }
2689 .mwai-foundation-theme.mwai-discussions .mwai-discussion.mwai-active {
2690 cursor: pointer;
2691 }
2692 .mwai-foundation-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
2693 background: var(--mwai-backgroundPrimaryColor);
2694 border-radius: var(--mwai-borderRadius);
2695 opacity: 1;
2696 }
2697 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover {
2698 cursor: pointer;
2699 }
2700 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
2701 background: var(--mwai-backgroundPrimaryColor);
2702 border-radius: var(--mwai-borderRadius);
2703 opacity: 1;
2704 }
2705 .mwai-foundation-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
2706 opacity: 1;
2707 }
2708 .mwai-foundation-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
2709 opacity: 1;
2710 }
2711 .mwai-foundation-theme.mwai-discussions .mwai-discussion:first-child {
2712 margin-top: calc(var(--mwai-spacing) / 2);
2713 }
2714 .mwai-foundation-theme.mwai-discussions .mwai-header {
2715 color: var(--mwai-headerColor);
2716 padding: var(--mwai-spacing);
2717 display: flex;
2718 justify-content: space-between;
2719 align-items: center;
2720 gap: 10px;
2721 }
2722 .mwai-foundation-theme.mwai-discussions .mwai-header button {
2723 background: var(--mwai-backgroundPrimaryColor);
2724 color: var(--mwai-fontColor);
2725 border: none;
2726 padding: 8px 16px;
2727 border-radius: var(--mwai-borderRadius);
2728 cursor: pointer;
2729 transition: all 0.2s ease-out;
2730 }
2731 .mwai-foundation-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2732 background: var(--mwai-iconTextBackgroundColor);
2733 }
2734 .mwai-foundation-theme.mwai-discussions .mwai-header button:disabled {
2735 opacity: 0.5;
2736 cursor: not-allowed;
2737 }
2738 .mwai-foundation-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
2739 padding: 8px;
2740 display: flex;
2741 align-items: center;
2742 justify-content: center;
2743 }
2744 .mwai-foundation-theme.mwai-discussions .mwai-body {
2745 background: var(--mwai-conversationsBackgroundColor);
2746 list-style: none;
2747 padding: 0;
2748 margin: 0;
2749 position: relative;
2750 min-height: 200px;
2751 display: flex;
2752 flex-direction: column;
2753 border-radius: 0;
2754 z-index: 1;
2755 }
2756 .mwai-foundation-theme.mwai-discussions .mwai-loading-overlay {
2757 position: absolute;
2758 top: 0;
2759 left: 0;
2760 right: 0;
2761 bottom: 0;
2762 background: var(--mwai-conversationsBackgroundColor);
2763 opacity: 0.9;
2764 display: flex;
2765 align-items: center;
2766 justify-content: center;
2767 z-index: 10;
2768 }
2769 .mwai-foundation-theme.mwai-discussions .mwai-spinner {
2770 animation: spin 1s linear infinite;
2771 color: var(--mwai-fontColor);
2772 }
2773 @keyframes spin {
2774 from {
2775 transform: rotate(0deg);
2776 }
2777 to {
2778 transform: rotate(360deg);
2779 }
2780 }
2781 .mwai-foundation-theme.mwai-discussions .mwai-pagination {
2782 background: var(--mwai-backgroundHeaderColor);
2783 padding: var(--mwai-spacing);
2784 display: flex;
2785 justify-content: space-between;
2786 align-items: center;
2787 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2788 }
2789 .mwai-foundation-theme.mwai-discussions .mwai-pagination button {
2790 background: var(--mwai-backgroundPrimaryColor);
2791 color: var(--mwai-fontColor);
2792 border: none;
2793 padding: 8px 12px;
2794 border-radius: var(--mwai-borderRadius);
2795 cursor: pointer;
2796 transition: all 0.2s ease-out;
2797 display: flex;
2798 align-items: center;
2799 justify-content: center;
2800 }
2801 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2802 background: var(--mwai-iconTextBackgroundColor);
2803 }
2804 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:disabled {
2805 opacity: 0.3;
2806 cursor: not-allowed;
2807 }
2808 .mwai-foundation-theme.mwai-discussions .mwai-pagination span {
2809 color: var(--mwai-headerColor);
2810 font-size: var(--mwai-fontSize);
2811 font-weight: 500;
2812 }
2813 .mwai-foundation-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
2814 color: var(--mwai-headerColor);
2815 font-size: calc(var(--mwai-fontSize) * 0.85);
2816 font-weight: 400;
2817 opacity: 0.8;
2818 }
2819 .mwai-foundation-theme .mwai-chunks {
2820 background: rgba(255, 255, 255, 0.05);
2821 }
2822 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header {
2823 color: #9ca3af;
2824 }
2825 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
2826 border-color: rgba(255, 255, 255, 0.1);
2827 color: #9ca3af;
2828 }
2829 .mwai-foundation-theme .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
2830 background: rgba(255, 255, 255, 0.05);
2831 color: #e5e7eb;
2832 }
2833 .mwai-foundation-theme .mwai-chunks .mwai-chunk {
2834 background: rgba(255, 255, 255, 0.08);
2835 }
2836 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
2837 color: #e5e7eb;
2838 }
2839 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
2840 color: #e5e7eb;
2841 }
2842 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
2843 color: #e5e7eb;
2844 }
2845 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details {
2846 background: rgba(0, 0, 0, 0.2);
2847 }
2848 .mwai-foundation-theme .mwai-chunks .mwai-chunk .mwai-chunk-details pre {
2849 color: #d1d5db;
2850 }
2851
2852 @media (max-width: 760px) {
2853 .mwai-foundation-theme .mwai-input {
2854 flex-direction: column;
2855 padding: var(--mwai-spacing);
2856 background: var(--mwai-backgroundSecondaryColor);
2857 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2858 }
2859 .mwai-foundation-theme .mwai-input .mwai-input-submit {
2860 margin: 15px 0 0 0;
2861 height: 40px;
2862 width: 100%;
2863 }
2864 .mwai-foundation-theme .mwai-name {
2865 margin-right: 0;
2866 max-width: inherit;
2867 }
2868 }
2869
2870 .mwai-foundation-theme.mwai-discussions .mwai-header {
2871 background: var(--mwai-backgroundSecondaryColor);
2872 color: var(--mwai-fontColor);
2873 border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
2874 }
2875 .mwai-foundation-theme.mwai-discussions .mwai-header button {
2876 background: var(--mwai-backgroundSecondaryColor);
2877 color: var(--mwai-fontColor);
2878 border: 1px solid var(--mwai-borderColor);
2879 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2880 border-radius: 5px;
2881 cursor: pointer;
2882 transition: all 0.2s ease-out;
2883 font-size: calc(var(--mwai-fontSize) * 0.9);
2884 margin-left: 0;
2885 }
2886 .mwai-foundation-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
2887 background: var(--mwai-backgroundPrimaryColor);
2888 }
2889 .mwai-foundation-theme.mwai-discussions .mwai-header button:disabled {
2890 opacity: 0.5;
2891 cursor: not-allowed;
2892 }
2893 .mwai-foundation-theme.mwai-discussions .mwai-pagination {
2894 background: var(--mwai-backgroundSecondaryColor);
2895 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2896 }
2897 .mwai-foundation-theme.mwai-discussions .mwai-pagination button {
2898 background: var(--mwai-backgroundSecondaryColor);
2899 color: var(--mwai-fontColor);
2900 border: 1px solid var(--mwai-borderColor);
2901 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2902 border-radius: 5px;
2903 cursor: pointer;
2904 transition: all 0.2s ease-out;
2905 font-size: calc(var(--mwai-fontSize) * 0.9);
2906 margin-left: 0;
2907 }
2908 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
2909 background: var(--mwai-backgroundPrimaryColor);
2910 }
2911 .mwai-foundation-theme.mwai-discussions .mwai-pagination button:disabled {
2912 opacity: 0.5;
2913 cursor: not-allowed;
2914 }
2915 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer,
2916 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination {
2917 background: var(--mwai-backgroundSecondaryColor);
2918 border-top: 1px solid var(--mwai-backgroundPrimaryColor);
2919 }
2920 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
2921 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
2922 width: 100%;
2923 background: var(--mwai-backgroundSecondaryColor);
2924 color: var(--mwai-fontColor);
2925 border: 1px solid var(--mwai-borderColor);
2926 padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing);
2927 border-radius: 5px;
2928 cursor: pointer;
2929 transition: all 0.2s ease-out;
2930 font-size: calc(var(--mwai-fontSize) * 0.9);
2931 }
2932 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
2933 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
2934 background: var(--mwai-backgroundPrimaryColor);
2935 }
2936 .mwai-foundation-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
2937 .mwai-foundation-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
2938 opacity: 0.5;
2939 cursor: not-allowed;
2940 }
2941
2942 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu {
2943 background: var(--mwai-backgroundSecondaryColor);
2944 border: 1px solid var(--mwai-backgroundPrimaryColor);
2945 color: var(--mwai-fontColor);
2946 }
2947 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item:hover {
2948 background-color: var(--mwai-backgroundPrimaryColor);
2949 }
2950 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
2951 color: var(--mwai-errorTextColor);
2952 }
2953 .mwai-context-menu-portal.mwai-foundation-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
2954 background-color: var(--mwai-errorBackgroundColor);
2955 }
2956