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