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