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