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