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