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