/*!/wp-content/plugins/ai-engine/themes/messages.css*/
@charset "UTF-8";
/*
  MESSAGES THEME: SPACING, INPUT, AND SAFE-AREA DOCS

  Overview
  - Messenger-like look with compact spacing and a full-width submit on mobile.
  - Desktop uses an in-field absolute submit button, vertically centered.

  Spacing Strategy
  - Bottom spacing is controlled at the input/footer level (not the shell) to avoid double padding
    when browser toolbars appear/disappear. The shell does NOT add bottom safe-area padding.
  - When a footer exists, input sits just above it; when no footer exists, we add a baseline under
    the input (theme-specific, via shared mixin) so it doesn’t feel glued to the edge.

  Submit Button Strategy
  - Desktop: absolute, vertically centered with a small optical offset to compensate for border
    rendering and subpixel rounding; hover scaling preserves the same translate to avoid drift.
  - Mobile: the submit becomes a full-width block under the input text area (stacked layout).

  Safe Areas & Viewport
  - No bottom safe-area on the shell. Respect safe-area only where necessary (e.g., no-footer mobile
    case) using env(safe-area-inset-bottom). Triggers also respect safe-area when anchored.
  - Use dvh (100dvh) in common fullscreen scenarios; avoid hard height locks that fight the keyboard.

  Important
  - Keep this documentation updated as we refine tricks and spacing rules across platforms.
*/
@keyframes mwai-cursor-blink {
  0%, 49.9% {
    background: var(--mwai-terminal-active-color);
    color: var(--mwai-backgroundPrimaryColor);
  }
  50%, 100% {
    background: transparent;
    color: var(--mwai-terminal-active-color);
  }
}
body > textarea[aria-hidden=true][tabindex="-1"] {
  transition: none !important;
}

.mwai-context-menu-portal .mwai-context-menu {
  background: var(--mwai-backgroundHeaderColor);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--mwai-borderRadius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 13px;
  color: var(--mwai-fontColor);
}
.mwai-context-menu-portal .mwai-context-menu .mwai-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.mwai-context-menu-portal .mwai-context-menu .mwai-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger {
  color: #dc3545;
}
.mwai-context-menu-portal .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
  background-color: rgba(220, 53, 69, 0.1);
}
.mwai-context-menu-portal .mwai-context-menu .mwai-menu-item svg {
  flex-shrink: 0;
}

.mwai-chunks {
  padding: 8px;
  background: rgba(0, 0, 0, 0.03);
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  font-size: 11px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mwai-chunks.mwai-chunks-collapsed .mwai-chunks-header {
  margin-bottom: 0 !important;
}
.mwai-chunks .mwai-chunks-header {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mwai-chunks .mwai-chunks-header .mwai-chunks-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mwai-chunks .mwai-chunks-header .mwai-chunks-status {
  margin-left: 4px;
  font-weight: 500;
}
.mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 2px;
  width: 30px;
  height: 20px;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-left: 4px;
}
.mwai-chunks .mwai-chunks-header .mwai-chunks-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}
.mwai-chunks .mwai-chunks-list {
  max-height: 240px;
  overflow-y: auto;
}
.mwai-chunks .mwai-chunk {
  margin-bottom: 4px;
  padding: 6px 8px;
  background: white;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}
.mwai-chunks .mwai-chunk .mwai-chunk-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-time {
  color: #9ca3af;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-type {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  color: white;
}
.mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-data {
  flex: 1;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mwai-chunks .mwai-chunk .mwai-chunk-header .mwai-chunk-expand {
  color: #9ca3af;
  transition: transform 0.2s ease;
}
.mwai-chunks .mwai-chunk .mwai-chunk-details {
  margin-top: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 3px;
  overflow-x: auto;
}
.mwai-chunks .mwai-chunk .mwai-chunk-details pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #4b5563;
}

.mwai-user-images {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 100%;
  min-width: 0;
  margin-bottom: 6px;
}
.mwai-user-images .mwai-user-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 320px);
  max-height: 220px;
  object-fit: contain;
  border-radius: calc(var(--mwai-borderRadius) / 2);
}
.mwai-user-images:has(.mwai-user-image:nth-child(2)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 160px));
  gap: 4px;
  width: fit-content;
}
.mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image {
  width: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
}

.mwai-foundation-theme .mwai-reply.mwai-user:has(.mwai-user-images) {
  flex-wrap: wrap;
}
.mwai-foundation-theme .mwai-reply.mwai-user:has(.mwai-user-images) .mwai-user-images {
  order: 3;
  margin: 8px 0 0;
}

.mwai-chat .mwai-input .mwai-input-submit.mwai-stoppable {
  cursor: pointer !important;
}
.mwai-chat .mwai-input .mwai-input-submit.mwai-stoppable:before {
  display: none !important;
}
.mwai-chat .mwai-input .mwai-input-submit.mwai-stoppable svg {
  opacity: 1;
}

.mwai-chatbot-container {
  height: 100%;
}

.mwai-chatbot-container.mwai-popup-container {
  height: auto;
}

/*
  MESSAGES THEME: SPACING, INPUT, AND SAFE-AREA DOCS

  Overview
  - Messenger-like look with compact spacing and a full-width submit on mobile.
  - Desktop uses an in-field absolute submit button, vertically centered.

  Spacing Strategy
  - Bottom spacing is controlled at the input/footer level (not the shell) to avoid double padding
    when browser toolbars appear/disappear. The shell does NOT add bottom safe-area padding.
  - When a footer exists, input sits just above it; when no footer exists, we add a baseline under
    the input (theme-specific, via shared mixin) so it doesn’t feel glued to the edge.

  Submit Button Strategy
  - Desktop: absolute, vertically centered with a small optical offset to compensate for border
    rendering and subpixel rounding; hover scaling preserves the same translate to avoid drift.
  - Mobile: the submit becomes a full-width block under the input text area (stacked layout).

  Safe Areas & Viewport
  - No bottom safe-area on the shell. Respect safe-area only where necessary (e.g., no-footer mobile
    case) using env(safe-area-inset-bottom). Triggers also respect safe-area when anchored.
  - Use dvh (100dvh) in common fullscreen scenarios; avoid hard height locks that fight the keyboard.

  Important
  - Keep this documentation updated as we refine tricks and spacing rules across platforms.
*/
@keyframes mwaiIconTextZoomIn {
  0% {
    transform: translateY(12px) scale(0.9);
    opacity: 0;
  }
  65% {
    transform: translateY(-2px) scale(1.01);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes mwaiIconTextSlideIn {
  0% {
    transform: translateY(28px);
    opacity: 0;
  }
  70% {
    transform: translateY(-3px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes mwaiIconTextSlideUp {
  0% {
    transform: translateY(24px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes mwaiIconTextFadeOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes mwaiIconTextFadeTransform {
  0% {
    transform: translateY(8px) scale(0.98);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.mwai-messages-theme {
  font-family: var(--mwai-fontFamily, inherit);
  --mwai-spacing: 12px;
  --mwai-fontSize: 14px;
  --mwai-linkColor: #0b5fc9;
  --mwai-lineHeight: 1.5;
  --mwai-borderRadius: 16px;
  --mwai-borderColor: #c5c5c5;
  --mwai-width: 460px;
  --mwai-maxHeight: 40vh;
  /* Theme size tokens (reduce hard-coded sizes) */
  --mwai-submitWidth: 70px; /* desktop in-field submit width */
  /* The in-field button keeps the same distance from the field's edge on the top, the bottom
     and the right, and its height follows from it. The field on one line is one line of text
     plus its own padding and its 1px border, all known here, so this is exact rather than
     centred by eye (it used to measure 7.5px, 5.5px and 5px on the three sides). */
  --mwai-submitInset: 6px;
  --mwai-fieldLineHeight: calc(var(--mwai-fontSize) * var(--mwai-lineHeight) + var(--mwai-spacing) * 2 + 2px);
  --mwai-submitHeight: calc(var(--mwai-fieldLineHeight) - var(--mwai-submitInset) * 2);
  --mwai-submitRight: calc(var(--mwai-spacing) + var(--mwai-submitInset));
  --mwai-iconTextColor: black;
  --mwai-iconTextBackgroundColor: white;
  --mwai-fontColor: black;
  --mwai-backgroundPrimaryColor: #ffffff;
  --mwai-backgroundHeaderColor: #0072db;
  --mwai-bubbleColor: #0072db;
  --mwai-iconSize: 60px;
  --mwai-headerColor: white;
  --mwai-conversationsBackgroundColor: white;
  --mwai-backgroundUserColor: #0072db;
  --mwai-backgroundAiColor: #ececf0;
  --mwai-backgroundAiSecondaryColor: #ddd;
  --mwai-errorBackgroundColor: #fdecea;
  --mwai-errorTextColor: #8a1c14;
}
.mwai-messages-theme * {
  box-sizing: border-box;
}
.mwai-messages-theme .mwai-body {
  display: flex;
  background: var(--mwai-backgroundPrimaryColor);
  font-size: var(--mwai-fontSize);
  color: var(--mwai-fontColor);
  border-radius: var(--mwai-borderRadius);
  flex-direction: column;
}
.mwai-messages-theme .mwai-shortcuts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut {
  margin-bottom: 5px;
  font-size: var(--mwai-fontSize);
  height: inherit;
  min-height: inherit;
  width: inherit;
  min-width: 90px;
  border-radius: var(--mwai-borderRadius);
  padding: 7px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: end;
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut, .mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-success, .mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-warning, .mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-info {
  background: var(--mwai-backgroundAiColor);
  background: color-mix(in srgb, var(--mwai-backgroundUserColor) 7%, var(--mwai-backgroundPrimaryColor));
  border: 1px solid color-mix(in srgb, var(--mwai-backgroundUserColor) 32%, transparent);
  color: var(--mwai-fontColor);
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut:hover {
  background: color-mix(in srgb, var(--mwai-backgroundUserColor) 14%, var(--mwai-backgroundPrimaryColor));
  border-color: color-mix(in srgb, var(--mwai-backgroundUserColor) 55%, transparent);
  filter: none;
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut:active {
  transform: scale(0.98);
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut.mwai-danger {
  background: #f44336;
  border-color: transparent;
  color: white;
  box-shadow: none;
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut .mwai-icon {
  margin-right: 5px;
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut .mwai-icon img {
  max-height: 16px;
  width: auto;
}
.mwai-messages-theme .mwai-shortcuts .mwai-shortcut:hover {
  filter: brightness(1.1);
}
.mwai-messages-theme .mwai-blocks {
  display: flex;
  flex-direction: column;
  padding: var(--mwai-spacing);
}
.mwai-messages-theme .mwai-blocks .mwai-block p:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-blocks button {
  cursor: pointer;
}
.mwai-messages-theme .mwai-conversation {
  display: flex;
  flex-direction: column;
  overflow: auto;
  max-height: var(--mwai-maxHeight);
  padding: var(--mwai-spacing) var(--mwai-spacing) 0;
}
.mwai-messages-theme .mwai-conversation::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
.mwai-messages-theme .mwai-conversation::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  background: color-mix(in srgb, var(--mwai-fontColor) 5%, transparent);
  border-radius: 4px;
}
.mwai-messages-theme .mwai-conversation::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  background: color-mix(in srgb, var(--mwai-fontColor) 15%, transparent);
  border-radius: 4px;
  transition: background 0.2s ease;
}
.mwai-messages-theme .mwai-conversation::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
  background: color-mix(in srgb, var(--mwai-fontColor) 25%, transparent);
}
.mwai-messages-theme .mwai-conversation::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, 0.3);
  background: color-mix(in srgb, var(--mwai-fontColor) 30%, transparent);
}
.mwai-messages-theme .mwai-conversation {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.05);
  scrollbar-color: color-mix(in srgb, var(--mwai-fontColor) 15%, transparent) color-mix(in srgb, var(--mwai-fontColor) 5%, transparent);
}
.mwai-messages-theme .mwai-conversation .mwai-reply {
  margin-bottom: var(--mwai-spacing);
  padding: 7px 12px;
  border-radius: 15px;
  font-size: var(--mwai-fontSize);
  color: var(--mwai-fontColor);
  position: relative;
  max-width: 85%;
}
.mwai-messages-theme .mwai-conversation .mwai-reply .mwai-name,
.mwai-messages-theme .mwai-conversation .mwai-reply .mwai-name-text {
  display: none;
}
.mwai-messages-theme .mwai-conversation .mwai-reply .mwai-text {
  position: relative;
  z-index: 1;
}
.mwai-messages-theme .mwai-conversation .mwai-reply * > p:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-conversation .mwai-reply * > p:last-child {
  margin-bottom: 0;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai, .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error {
  align-self: flex-start;
  background: var(--mwai-backgroundAiColor);
  border-bottom-left-radius: 5px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai:has(+ .mwai-reply.mwai-ai), .mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error:has(+ .mwai-reply.mwai-ai) {
  border-bottom-left-radius: 15px;
  margin-bottom: 4px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user {
  align-self: flex-end;
  background: var(--mwai-backgroundUserColor);
  background: linear-gradient(180deg, var(--mwai-backgroundUserColor) 0%, color-mix(in srgb, var(--mwai-backgroundUserColor) 84%, black) 100%);
  color: white;
  border-bottom-right-radius: 5px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user:has(+ .mwai-reply.mwai-user) {
  border-bottom-right-radius: 15px;
  margin-bottom: 4px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user .mwai-text a:not(.mwai-filename) {
  color: white;
  text-decoration: underline;
}
.mwai-messages-theme .mwai-conversation.mwai-terminal {
  --mwai-terminal-active-color: var(--mwai-backgroundUserColor);
}
.mwai-messages-theme .mwai-text {
  flex: auto;
}
.mwai-messages-theme .mwai-text .mwai-image {
  display: block;
  max-width: 250px;
  height: auto;
  margin: 0 0 10px 0;
  border-radius: var(--mwai-borderRadius);
}
.mwai-messages-theme .mwai-text .mwai-filename {
  display: flex;
  text-decoration: none;
  border: 1px solid var(--mwai-backgroundPrimaryColor);
  border-radius: var(--mwai-borderRadius);
  color: white;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.mwai-messages-theme .mwai-text > span > p > *:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-text a {
  color: var(--mwai-linkColor);
}
.mwai-messages-theme .mwai-text h1, .mwai-messages-theme .mwai-text h2, .mwai-messages-theme .mwai-text h3, .mwai-messages-theme .mwai-text h4, .mwai-messages-theme .mwai-text h5, .mwai-messages-theme .mwai-text h6 {
  margin: 0px;
  line-height: 1.2;
}
.mwai-messages-theme .mwai-text h1 {
  font-size: 150%;
}
.mwai-messages-theme .mwai-text h2 {
  font-size: 130%;
}
.mwai-messages-theme .mwai-text h3 {
  font-size: 115%;
}
.mwai-messages-theme .mwai-text h4 {
  font-size: 105%;
}
.mwai-messages-theme .mwai-text h5 {
  font-size: 100%;
}
.mwai-messages-theme .mwai-text h6 {
  font-size: 95%;
  font-weight: bold;
}
.mwai-messages-theme .mwai-text p {
  font-size: var(--mwai-fontSize);
  line-height: var(--mwai-lineHeight);
}
.mwai-messages-theme .mwai-text p code {
  background: var(--mwai-backgroundAiSecondaryColor);
  padding: 2px 6px;
  border-radius: 8px;
  font-size: calc(var(--mwai-fontSize) * 0.9);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.mwai-messages-theme .mwai-text pre {
  color: var(--mwai-fontColor);
  border-radius: var(--mwai-borderRadius);
  break-after: auto;
  white-space: pre-wrap;
  max-width: 100%;
  width: 100%;
  font-size: calc(var(--mwai-fontSize) * 0.9);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--mwai-backgroundAiSecondaryColor);
  padding: var(--mwai-spacing);
}
.mwai-messages-theme .mwai-text pre code {
  padding: 0 !important;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: transparent;
}
.mwai-messages-theme .mwai-text ul {
  list-style: disc;
  padding: 0;
  margin: 0 0 0 15px;
}
.mwai-messages-theme .mwai-text ol {
  list-style: decimal;
  padding: 0;
  margin: 0 0 0 15px;
}
.mwai-messages-theme .mwai-text table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--mwai-borderColor);
  border-color: color-mix(in srgb, var(--mwai-fontColor) 14%, transparent);
  border-radius: calc(var(--mwai-borderRadius) * 0.6);
  overflow: hidden;
  margin: calc(var(--mwai-spacing) / 2) 0;
  font-size: calc(var(--mwai-fontSize) * 0.94);
}
.mwai-messages-theme .mwai-text th, .mwai-messages-theme .mwai-text td {
  border: 0;
  border-bottom: 1px solid var(--mwai-borderColor);
  border-bottom-color: color-mix(in srgb, var(--mwai-fontColor) 10%, transparent);
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
}
.mwai-messages-theme .mwai-text tbody tr:last-child td {
  border-bottom: 0;
}
.mwai-messages-theme .mwai-text th {
  font-weight: 600;
}
.mwai-messages-theme .mwai-text thead {
  background: color-mix(in srgb, var(--mwai-fontColor) 8%, transparent);
}
.mwai-messages-theme .mwai-text tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--mwai-fontColor) 4%, transparent);
}
.mwai-messages-theme .mwai-text .mwai-typewriter {
  display: inline-block;
}
.mwai-messages-theme .mwai-text .mwai-typewriter > :first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-text > *:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-text > *:last-child {
  margin-bottom: 0;
}
.mwai-messages-theme .mwai-input {
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--mwai-spacing);
  position: relative;
  position: relative;
}
.mwai-messages-theme .mwai-input .mwai-input-text {
  flex: auto;
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: var(--mwai-borderRadius);
}
.mwai-messages-theme .mwai-input .mwai-input-text.mwai-locked {
  opacity: 0.5;
}
.mwai-messages-theme .mwai-input .mwai-input-text.mwai-locked input, .mwai-messages-theme .mwai-input .mwai-input-text.mwai-locked textarea {
  cursor: not-allowed;
}
.mwai-messages-theme .mwai-input .mwai-input-text {
  background: var(--mwai-backgroundPrimaryColor);
  border-radius: min(var(--mwai-borderRadius) * 2, 22px);
  border: 1px solid var(--mwai-backgroundAiSecondaryColor);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mwai-messages-theme .mwai-input .mwai-input-text:focus-within {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mwai-backgroundUserColor) 14%, transparent);
}
.mwai-messages-theme .mwai-input .mwai-input-text:focus-within {
  border-color: var(--mwai-borderColor);
  border-color: color-mix(in srgb, var(--mwai-backgroundUserColor) 45%, transparent);
}
.mwai-messages-theme .mwai-input .mwai-input-text.mwai-blocked img {
  filter: grayscale(100%);
  opacity: 0.5;
}
.mwai-messages-theme .mwai-input .mwai-input-text.mwai-dragging {
  border: 1px dashed var(--mwai-backgroundAiSecondaryColor);
}
.mwai-messages-theme .mwai-input .mwai-input-text textarea {
  background: var(--mwai-backgroundPrimaryColor);
  color: var(--mwai-fontColor);
  flex: auto;
  border: none;
  font-size: var(--mwai-fontSize);
  resize: none;
  font-family: inherit;
  margin: 0;
  padding: 2px;
  line-height: normal;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  max-height: 210px;
  overflow-y: auto;
  min-height: inherit;
}
.mwai-messages-theme .mwai-input .mwai-input-text textarea:focus {
  outline: none;
  box-shadow: none;
}
.mwai-messages-theme .mwai-input .mwai-input-text textarea {
  padding: var(--mwai-spacing);
  line-height: var(--mwai-lineHeight);
  padding-right: calc(70px + var(--mwai-spacing) + 6px);
}
.mwai-messages-theme .mwai-input .mwai-input-text textarea:focus {
  outline: none;
  box-shadow: none;
}
.mwai-messages-theme .mwai-input .mwai-input-text textarea::placeholder {
  color: var(--mwai-fontColor);
  opacity: 0.5;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone svg {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.3s ease-out;
  cursor: pointer;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg {
  opacity: 1;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg {
  opacity: 0;
  cursor: not-allowed;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-microphone {
  margin-right: 5px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) {
  background: url(/wp-content/plugins/ai-engine/themes/icons/white-icons.svg);
  background-size: 500%;
  background-position: 0px -96px;
  width: 32px;
  height: 32px;
  z-index: 100;
  margin-top: calc(var(--mwai-spacing) / 2);
  margin-left: 5px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-idle-add {
  background-position: -32px -96px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-add {
  background-position: -32px 0px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-up {
  background-position: -64px 0px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-del {
  background-position: -96px 0px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-image-ok {
  background-position: -128px 0px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-add {
  background-position: -32px -64px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-up {
  background-position: -64px -64px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-del {
  background-position: -96px -64px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide).mwai-document-ok {
  background-position: -128px -64px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) .mwai-file-upload-progress {
  position: absolute;
  font-size: 8px;
  width: 21px;
  top: 24px;
  left: 23px;
  overflow: hidden;
  text-align: center;
  font-weight: bold;
  color: white;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-lucide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  margin: 0;
  background: none;
  color: var(--mwai-fontColor);
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-lucide:hover {
  opacity: 1;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-lucide svg {
  width: 18px;
  height: 18px;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
  position: absolute;
  top: -2px;
  right: -3px;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--mwai-accentColor, var(--mwai-backgroundUserColor, #0084ff));
  color: #fff;
  font-size: 9px;
  line-height: 13px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after {
  content: attr(data-count);
}
.mwai-messages-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-lucide {
  margin-left: 4px;
}
.mwai-messages-theme .mwai-input .mwai-input-submit {
  position: absolute;
  top: auto;
  right: var(--mwai-submitRight);
  bottom: calc(var(--mwai-inputPadBottom, var(--mwai-spacing)) + var(--mwai-submitInset));
  width: var(--mwai-submitWidth);
  min-width: var(--mwai-submitWidth);
  height: var(--mwai-submitHeight);
  min-height: var(--mwai-submitHeight);
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: calc(var(--mwai-submitHeight) / 2);
}
.mwai-messages-theme button {
  margin-left: var(--mwai-spacing);
  padding: 5px 15px;
  background-color: var(--mwai-backgroundUserColor);
  color: white;
  border: none;
  border-radius: var(--mwai-borderRadius);
  cursor: pointer;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.15s ease, filter 0.15s ease;
}
.mwai-messages-theme button .mwai-timer {
  margin-left: 5px;
  margin-right: 5px;
  font-size: 11px;
}
.mwai-messages-theme button:hover {
  filter: brightness(1.2);
}
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .mwai-messages-theme button:hover {
    filter: none;
    background-color: color-mix(in srgb, var(--mwai-backgroundUserColor) 86%, black);
  }
}
.mwai-messages-theme button[disabled][disabled], .mwai-messages-theme button.mwai-busy[disabled] {
  cursor: not-allowed;
}
.mwai-messages-theme button[disabled] span, .mwai-messages-theme button.mwai-busy span {
  opacity: 0.5;
}
.mwai-messages-theme button[disabled].mwai-busy span, .mwai-messages-theme button.mwai-busy.mwai-busy span {
  display: none;
}
.mwai-messages-theme button[disabled].mwai-busy .mwai-timer, .mwai-messages-theme button.mwai-busy.mwai-busy .mwai-timer {
  display: none;
}
.mwai-messages-theme button[disabled].mwai-busy:before, .mwai-messages-theme button.mwai-busy.mwai-busy:before {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  align-self: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mwai-button-spinner 1s ease infinite;
}
.mwai-messages-theme .mwai-compliance {
  opacity: 0.5;
  margin-top: calc(-1 * var(--mwai-spacing));
  padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
  font-size: smaller;
  color: var(--mwai-fontColor);
  text-align: left;
}
.mwai-messages-theme .mwai-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
}
.mwai-messages-theme .mwai-gallery img {
  width: 100%;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window {
  filter: none;
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-window-box {
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
  opacity: 0;
  transform: scale(0.5);
  transform-origin: bottom right;
  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);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-fullscreen .mwai-window-box {
  width: 100%;
  height: 100%;
}
@media (min-width: 761px) {
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
    display: flex !important;
  }
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-body {
  display: flex !important;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-window-box {
  opacity: 1;
  transform: scale(0.92);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
  opacity: 1;
  transform: scale(1);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-window-box {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1), transform 180ms cubic-bezier(0.4, 0, 1, 1);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-closing.mwai-open .mwai-trigger .mwai-icon-container {
  transform: scale(1);
  opacity: 1;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-window-box {
  transform-origin: calc(100% - 32px) calc(100% - 32px);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-window-box {
  transform-origin: 32px calc(100% - 32px);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-window-box {
  transform-origin: calc(100% - 32px) 32px;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-window-box {
  transform-origin: 32px 32px;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-center-open .mwai-window-box {
  transform-origin: center center;
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-open .mwai-window-box {
    transform-origin: center center !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-header {
    display: none !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-trigger {
    position: fixed !important;
    z-index: 9999 !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right .mwai-trigger {
    bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-bottom-left .mwai-trigger {
    bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
    left: 20px !important;
    right: auto !important;
    top: auto !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-top-right .mwai-trigger {
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-top-left .mwai-trigger {
    top: 20px !important;
    left: 20px !important;
    right: auto !important;
    bottom: auto !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-closing) .mwai-trigger {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container {
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
  transition: transform 0.2s ease-out;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
  transform: scale(1.1);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
  transform: scale(0.9);
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
  transform: scale(0.8);
  opacity: 0.3;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
  display: none;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
  opacity: 1 !important;
  transition: none !important;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
  will-change: transform, opacity;
  transform: none;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-right .mwai-icon-text {
  transform-origin: right bottom;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-bottom-left .mwai-icon-text {
  transform-origin: left bottom;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-right .mwai-icon-text {
  transform-origin: right top;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-top-left .mwai-icon-text {
  transform-origin: left top;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger.mwai-center-open .mwai-icon-text {
  transform-origin: center center;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
  animation: mwaiIconTextZoomIn 340ms cubic-bezier(0.22, 1.2, 0.36, 1) 0ms 1 both;
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
    animation: none !important;
    transform: none !important;
  }
  .mwai-messages-theme.mwai-animation-zoom.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
    opacity: 1 !important;
    transition: none !important;
  }
}
.mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-text-container.mwai-leaving .mwai-icon-text {
  animation: mwaiIconTextZoomIn 260ms cubic-bezier(0.22, 1.2, 0.36, 1) 0ms 1 reverse both !important;
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme.mwai-animation-zoom.mwai-window .mwai-trigger .mwai-icon-text-container.mwai-leaving .mwai-icon-text {
    animation: none !important;
    opacity: 0 !important;
  }
}
.mwai-messages-theme.mwai-animation-slide.mwai-window {
  filter: none;
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-window-box {
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 -5px 20px rgba(0, 0, 0, 0.15));
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 250ms ease-out, transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-fullscreen .mwai-window-box {
  width: 100%;
  height: 100%;
}
@media (min-width: 761px) {
  .mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
    display: flex !important;
  }
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-body {
  display: flex !important;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-window-box {
  opacity: 0.5;
  transform: translateY(20px);
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-open .mwai-window-box {
  opacity: 1;
  transform: translateY(0);
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-window-box {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 200ms ease-in, transform 200ms ease-in;
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container {
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
  transition: transform 0.2s ease-out;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
  transform: scale(1.1);
}
.mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
  transform: scale(0.9);
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
  opacity: 0;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
  display: none;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
  opacity: 1 !important;
  transition: none !important;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
  will-change: transform, opacity;
  transform: none;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
  animation: mwaiIconTextSlideUp 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 both;
  backface-visibility: hidden;
}
.mwai-messages-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
    animation: none !important;
    transform: none !important;
  }
  .mwai-messages-theme.mwai-animation-slide.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
    opacity: 1 !important;
    transition: none !important;
  }
}
.mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-text-container.mwai-leaving .mwai-icon-text {
  animation: mwaiIconTextSlideUp 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms 1 reverse both !important;
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme.mwai-animation-slide.mwai-window .mwai-trigger .mwai-icon-text-container.mwai-leaving .mwai-icon-text {
    animation: none !important;
    opacity: 0 !important;
  }
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-window-box {
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.15));
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: center bottom;
  will-change: opacity, transform;
  transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.2, 0, 0, 1);
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-fullscreen .mwai-window-box {
  width: 100%;
  height: 100%;
}
@media (min-width: 761px) {
  .mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
    display: flex !important;
  }
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-body {
  display: flex !important;
  opacity: 1 !important;
  transition: none !important;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-header {
  opacity: 1 !important;
  transition: none !important;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-header, .mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-body {
  opacity: 1 !important;
  transition: none !important;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 160ms ease-in, transform 180ms cubic-bezier(0.4, 0, 1, 1);
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-window-box {
    transition: opacity 120ms linear !important;
    transform: none !important;
  }
  .mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-window-box, .mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-open .mwai-window-box {
    opacity: 1;
  }
  .mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-window-box {
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-header {
    display: none !important;
  }
}
.mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container {
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container .mwai-icon {
  transition: transform 0.2s ease-out;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:hover .mwai-icon {
  transform: scale(1.1);
}
.mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-container:active .mwai-icon {
  transform: scale(0.9);
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-opening .mwai-trigger .mwai-icon-container {
  opacity: 0;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-center-open.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-window-dragging.mwai-closing .mwai-trigger {
  display: none !important;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window.mwai-open:not(.mwai-opening) .mwai-trigger {
  display: none;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
  opacity: 1 !important;
  transition: none !important;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
  will-change: transform, opacity;
  transform: none;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
  animation: mwaiIconTextFadeOpacity 180ms ease-out 0ms 1 both, mwaiIconTextFadeTransform 220ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 both;
}
.mwai-messages-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger:hover .mwai-icon-text {
  transform: scale(1.01);
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text {
    animation: none !important;
    transform: none !important;
  }
  .mwai-messages-theme.mwai-animation-fade.mwai-window:not(.mwai-open):not(.mwai-opening):not(.mwai-closing) .mwai-trigger .mwai-icon-text-container {
    opacity: 1 !important;
    transition: none !important;
  }
}
.mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-text-container.mwai-leaving .mwai-icon-text {
  animation: mwaiIconTextFadeOpacity 160ms ease-out 0ms 1 reverse both, mwaiIconTextFadeTransform 180ms cubic-bezier(0.2, 0, 0, 1) 0ms 1 reverse both !important;
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme.mwai-animation-fade.mwai-window .mwai-trigger .mwai-icon-text-container.mwai-leaving .mwai-icon-text {
    animation: none !important;
    opacity: 0 !important;
  }
}
.mwai-messages-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-window-box {
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
}
.mwai-messages-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text-container {
  opacity: 1 !important;
  transition: none !important;
}
.mwai-messages-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window .mwai-trigger .mwai-icon-text {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.mwai-messages-theme:not(.mwai-animation-zoom):not(.mwai-animation-slide):not(.mwai-animation-fade).mwai-window.mwai-fullscreen .mwai-window-box {
  width: 100%;
  height: 100%;
}

.mwai-messages-theme .mwai-input .mwai-input-submit::before {
  content: "" !important;
  display: inline-block !important;
  z-index: 3;
  animation: mwai-button-spinner 1s linear infinite !important;
}

.mwai-messages-theme .mwai-reply-actions svg {
  width: 16px;
  height: 16px;
  display: block;
}

.mwai-messages-theme .mwai-jump-anchor {
  position: sticky;
  bottom: 8px;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  height: 0;
  pointer-events: none;
  padding-inline-end: 4px;
}
.mwai-messages-theme .mwai-jump-to-latest {
  pointer-events: auto;
  transform: translateY(-40px);
  box-sizing: border-box;
  flex: none;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--mwai-borderColor);
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
  color: var(--mwai-fontColor);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mwai-messages-theme .mwai-jump-to-latest:hover {
  transform: translateY(-42px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
.mwai-messages-theme .mwai-jump-to-latest:focus-visible {
  outline: 2px solid var(--mwai-accentColor, currentColor);
  outline-offset: 2px;
}
.mwai-messages-theme .mwai-jump-to-latest svg {
  width: 17px;
  height: 17px;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme .mwai-jump-to-latest {
    transition: none;
  }
}
.mwai-messages-theme .mwai-reply .mwai-text h1, .mwai-messages-theme .mwai-reply .mwai-text h2, .mwai-messages-theme .mwai-reply .mwai-text h3, .mwai-messages-theme .mwai-reply .mwai-text h4, .mwai-messages-theme .mwai-reply .mwai-text h5, .mwai-messages-theme .mwai-reply .mwai-text h6 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 1.15em 0 0.4em;
}
.mwai-messages-theme .mwai-reply .mwai-text h1:first-child, .mwai-messages-theme .mwai-reply .mwai-text h2:first-child, .mwai-messages-theme .mwai-reply .mwai-text h3:first-child, .mwai-messages-theme .mwai-reply .mwai-text h4:first-child, .mwai-messages-theme .mwai-reply .mwai-text h5:first-child, .mwai-messages-theme .mwai-reply .mwai-text h6:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text ul, .mwai-messages-theme .mwai-reply .mwai-text ol {
  margin-top: 0.45em;
  margin-bottom: 0.45em;
}
.mwai-messages-theme .mwai-reply .mwai-text ul:first-child, .mwai-messages-theme .mwai-reply .mwai-text ol:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text ul:last-child, .mwai-messages-theme .mwai-reply .mwai-text ol:last-child {
  margin-bottom: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text :not(pre) > code {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.mwai-messages-theme .mwai-reply .mwai-text li + li {
  margin-top: 0.25em;
}
.mwai-messages-theme .mwai-reply .mwai-text li > ul, .mwai-messages-theme .mwai-reply .mwai-text li > ol {
  margin-top: 0.25em;
}
.mwai-messages-theme .mwai-reply .mwai-text li::marker {
  color: color-mix(in srgb, currentColor 72%, transparent);
}
.mwai-messages-theme .mwai-reply .mwai-text blockquote {
  margin: 0.8em 0;
  padding: 1px 0 1px 12px;
  padding-inline: 12px 0;
  border-inline-start: 3px solid rgba(128, 128, 128, 0.5);
  border-inline-start-color: color-mix(in srgb, currentColor 28%, transparent);
  opacity: 0.85;
}
.mwai-messages-theme .mwai-reply .mwai-text blockquote > :first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text blockquote > :last-child {
  margin-bottom: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text hr {
  height: 1px;
  margin: 1.15em 0;
  border: 0;
  background: rgba(128, 128, 128, 0.35);
  background: color-mix(in srgb, currentColor 16%, transparent);
}
.mwai-messages-theme .mwai-empty-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-height: 132px;
  padding: 24px 20px;
  text-align: center;
}
.mwai-messages-theme .mwai-empty-hint .mwai-empty-hint-who {
  display: block !important;
}
.mwai-messages-theme .mwai-empty-hint .mwai-name {
  margin: 0;
  color: var(--mwai-fontColor);
}
.mwai-messages-theme .mwai-empty-hint .mwai-name .mwai-avatar {
  margin: 0;
  display: block;
  border-radius: 50%;
  overflow: hidden;
}
.mwai-messages-theme .mwai-empty-hint .mwai-name .mwai-avatar img {
  display: block;
  width: 48px;
  height: 48px;
}
.mwai-messages-theme .mwai-empty-hint .mwai-name .mwai-name-text {
  opacity: 1;
  font-weight: 600;
}
.mwai-messages-theme .mwai-empty-hint .mwai-empty-hint-text {
  color: var(--mwai-fontColor);
  opacity: 0.62;
  font-size: 0.95em;
}
.mwai-messages-theme {
  font-weight: var(--mwai-fontWeight, 400);
  line-height: var(--mwai-lineHeight);
}
.mwai-messages-theme .mwai-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--mwai-spacing);
  background: var(--mwai-backgroundSecondaryColor);
  border-top: 1px solid var(--mwai-backgroundPrimaryColor);
  max-height: 150px;
  overflow-y: auto;
  flex-shrink: 0;
}
.mwai-messages-theme .mwai-files::-webkit-scrollbar {
  width: 6px;
}
.mwai-messages-theme .mwai-files::-webkit-scrollbar-track {
  background: var(--mwai-backgroundPrimaryColor);
  border-radius: 3px;
}
.mwai-messages-theme .mwai-files::-webkit-scrollbar-thumb {
  background: var(--mwai-backgroundHeaderColor);
  border-radius: 3px;
}
.mwai-messages-theme .mwai-files::-webkit-scrollbar-thumb:hover {
  background: var(--mwai-accentColor, var(--mwai-backgroundUserColor, #0084ff));
}
.mwai-messages-theme .mwai-files .mwai-file-preview {
  position: relative;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-thumbnail {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--mwai-backgroundHeaderColor);
  display: block;
  flex-shrink: 0;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mwai-backgroundSecondaryColor);
  border-radius: 4px;
  color: var(--mwai-fontColor);
  opacity: 0.6;
  flex-shrink: 0;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-icon svg {
  width: 18px;
  height: 18px;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-name {
  font-size: calc(var(--mwai-fontSize) * 0.85);
  color: var(--mwai-fontColor);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-size {
  font-size: calc(var(--mwai-fontSize) * 0.7);
  color: var(--mwai-fontColor);
  opacity: 0.5;
  line-height: 1;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(128, 128, 128, 0.25);
  border-radius: 0 0 calc(var(--mwai-borderRadius) / 2) calc(var(--mwai-borderRadius) / 2);
  overflow: hidden;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-progress .mwai-file-progress-bar {
  height: 100%;
  background: var(--mwai-accentColor, var(--mwai-backgroundUserColor, #0084ff));
  transition: width 0.3s ease;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
  color: var(--mwai-fontColor);
  padding: 4px;
  border: none;
  line-height: 0;
  min-width: inherit;
  margin-left: auto;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-remove:hover {
  opacity: 1;
}
.mwai-messages-theme .mwai-files .mwai-file-preview .mwai-file-remove svg {
  width: 20px;
  height: 20px;
}
.mwai-messages-theme .mwai-files:empty {
  display: none;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-block {
  margin: 0.8em 0;
  border-radius: var(--mwai-borderRadius);
  overflow: hidden;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-block:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-block:last-child {
  margin-bottom: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-block pre {
  margin: 0;
  border-radius: 0;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px 4px 12px;
  background: rgba(128, 128, 128, 0.22);
  font-size: 11px;
  line-height: 1;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-lang,
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-copy,
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-copy span {
  font-size: 11px;
  line-height: 1;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-lang {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  opacity: 0.6;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 4px 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-copy:hover, .mwai-messages-theme .mwai-reply .mwai-text .mwai-code-copy:focus-visible {
  opacity: 1;
  background: rgba(128, 128, 128, 0.25);
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-copy.mwai-copied {
  opacity: 1;
}
.mwai-messages-theme .mwai-reply .mwai-text .mwai-code-copy svg {
  display: block;
}
.mwai-messages-theme .mwai-reply .mwai-text li > code,
.mwai-messages-theme .mwai-reply .mwai-text td > code,
.mwai-messages-theme .mwai-reply .mwai-text blockquote code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(128, 128, 128, 0.2);
  font-size: 90%;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.mwai-messages-theme :focus:not(:focus-visible) {
  outline: none;
}
@media (min-width: 1000px) {
  .mwai-messages-theme.mwai-fullscreen {
    --mwai-readingWidth: 780px;
  }
  .mwai-messages-theme.mwai-fullscreen .mwai-conversation {
    padding-inline: max(var(--mwai-spacing), (100% - var(--mwai-readingWidth)) / 2);
  }
  .mwai-messages-theme.mwai-fullscreen .mwai-input,
  .mwai-messages-theme.mwai-fullscreen .mwai-footer {
    width: 100%;
    box-sizing: border-box;
    max-width: var(--mwai-readingWidth);
    margin-inline: auto;
  }
}
@media (max-width: 760px) {
  .mwai-messages-theme:not(.mwai-window) .mwai-input .mwai-input-text input, .mwai-messages-theme:not(.mwai-window) .mwai-input .mwai-input-text textarea {
    font-size: 16px;
  }
}
.mwai-messages-theme .mwai-file-upload-icon {
  margin-bottom: -3px;
}
.mwai-messages-theme .mwai-spin {
  animation: mwai-spin 1s linear infinite;
}
@keyframes mwai-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.mwai-messages-theme .mwai-terminal {
  --mwai-terminal-active-color: var(--mwai-fontColor);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  background: var(--mwai-backgroundPrimaryColor);
  color: var(--mwai-fontColor);
  padding: var(--mwai-spacing);
  height: 100%;
  overflow-y: auto;
  cursor: text;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: calc(var(--mwai-spacing) * 1.25);
}
.mwai-messages-theme .mwai-terminal:focus {
  outline: none;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-line {
  display: flex;
  align-items: flex-start;
  margin: calc(var(--mwai-spacing) / 2) 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user {
  color: var(--mwai-fontColor);
  opacity: 0.35;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing {
  color: var(--mwai-terminal-active-color);
  opacity: 1;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-user-typing .mwai-terminal-prompt {
  color: var(--mwai-terminal-active-color);
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-assistant {
  color: var(--mwai-fontColor);
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-line.mwai-terminal-system {
  color: #608b4e;
  font-style: italic;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-prompt {
  color: var(--mwai-terminal-active-color);
  margin-left: -4px;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  height: 1.5em;
  line-height: 1.2;
  flex-shrink: 0;
  align-self: flex-start;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-prompt svg {
  display: block;
  width: 1.4em;
  height: 1.4em;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-text {
  color: inherit;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-input-wrapper {
  flex: 1;
  display: inline;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-typed {
  color: var(--mwai-terminal-active-color);
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-cursor {
  display: inline-block;
  min-width: 8px;
  height: 1.35em;
  color: var(--mwai-terminal-active-color);
  background: var(--mwai-terminal-active-color);
  opacity: 0.35;
  vertical-align: text-bottom;
  line-height: inherit;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-active {
  opacity: 1;
  color: var(--mwai-backgroundPrimaryColor);
  animation: mwai-cursor-blink 1s infinite;
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-typing {
  opacity: 1;
  color: var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme .mwai-terminal .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
  opacity: 0.35;
}
.mwai-messages-theme .mwai-terminal {
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 128, 128, 0.3) transparent;
}
.mwai-messages-theme .mwai-terminal::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
.mwai-messages-theme .mwai-terminal::-webkit-scrollbar-track {
  background: transparent;
}
.mwai-messages-theme .mwai-terminal::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.3);
  border-radius: 4px;
}
.mwai-messages-theme .mwai-terminal::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.5);
}
.mwai-messages-theme .mwai-terminal + .mwai-compliance {
  margin-top: 0;
}
.mwai-messages-theme.mwai-transition, .mwai-messages-theme .mwai-transition {
  opacity: 0;
  transition: opacity 350ms ease-in-out;
}
.mwai-messages-theme.mwai-transition-visible, .mwai-messages-theme .mwai-transition-visible {
  opacity: 1;
}
.mwai-messages-theme .mwai-text {
  overflow-wrap: anywhere;
}
.mwai-messages-theme .mwai-text img, .mwai-messages-theme .mwai-text svg {
  max-width: 100%;
}
.mwai-messages-theme .mwai-text div p:first-child {
  margin-top: 0;
}
.mwai-messages-theme .mwai-text div p:last-child {
  margin-bottom: 0;
}
.mwai-messages-theme .mwai-trigger {
  position: absolute;
  right: 0;
  bottom: 0;
  transition: all 0.2s ease-out;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: end;
  pointer-events: none;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container.mwai-leaving, .mwai-messages-theme .mwai-trigger .mwai-icon-text-container.mwai-leaving * {
  pointer-events: none;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
  pointer-events: auto;
  background: var(--mwai-iconTextBackgroundColor);
  color: var(--mwai-iconTextColor);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  max-width: 270px;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 15px;
  padding: 12px 16px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  min-height: 22px;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-avatar {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-avatar.mwai-emoji {
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.7;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-close {
  --mwai-icon-close-size: 24px;
  width: var(--mwai-icon-close-size);
  height: var(--mwai-icon-close-size);
  min-width: var(--mwai-icon-close-size);
  flex: none;
  margin-left: auto;
  margin-right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  color: inherit;
  border-radius: 50%;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 120ms ease;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
  opacity: 1;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close:hover {
  opacity: 1;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-container {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.14)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.16));
  transition: transform 0.2s ease-out, filter 0.2s ease-out;
}
.mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover {
  cursor: pointer;
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.14)) drop-shadow(0 10px 16px rgba(0, 0, 0, 0.22));
}
.mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:active {
  transform: scale(0.97);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.16));
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon {
    transition: none;
  }
  .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover, .mwai-messages-theme .mwai-trigger .mwai-icon-container .mwai-icon:active {
    transform: none;
  }
}
.mwai-messages-theme.mwai-window {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: var(--mwai-width);
  z-index: 9999;
}
.mwai-messages-theme.mwai-window .mwai-window-box {
  position: relative;
  z-index: 1;
}
.mwai-messages-theme.mwai-window .mwai-conversation, .mwai-messages-theme.mwai-window .mwai-input-text textarea {
  overscroll-behavior: contain;
}
.mwai-messages-theme.mwai-window .mwai-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 15px;
  border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
  background: var(--mwai-backgroundHeaderColor);
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
  justify-content: center;
  height: 32px;
  width: 32px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
  transition: all 0.2s ease-out;
  content: " ";
  cursor: pointer;
  position: absolute;
  height: 20px;
  width: 20px;
  background-color: var(--mwai-headerColor);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M3 9V3h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M21 15v6h-6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3C/svg%3E") no-repeat center/contain;
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
  width: 22px;
  height: 22px;
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button {
  justify-content: center;
  height: 32px;
  width: 32px;
  cursor: pointer;
  border-radius: var(--mwai-borderRadius);
  margin-left: -10px;
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
  transition: all 0.2s ease-out;
  transform: translate(16px, 5px) rotate(45deg);
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
  transition: all 0.2s ease-out;
  transform: translate(16px, 5px) rotate(-45deg);
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:focus-visible, .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:focus-visible {
  outline: 2px solid var(--mwai-headerColor);
  outline-offset: -7px;
  border-radius: 6px;
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
  content: " ";
  cursor: pointer;
  position: absolute;
  height: 22px;
  width: 1.2px;
  background-color: var(--mwai-headerColor);
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
  opacity: 1;
  transform: translate(16px, 5px) rotate(135deg);
}
.mwai-messages-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
  opacity: 1;
  transform: translate(16px, 5px) rotate(45deg);
}
.mwai-messages-theme.mwai-window.mwai-opening, .mwai-messages-theme.mwai-window.mwai-closing {
  cursor: default !important;
}
.mwai-messages-theme.mwai-window.mwai-opening .mwai-header, .mwai-messages-theme.mwai-window.mwai-closing .mwai-header {
  cursor: default !important;
}
.mwai-messages-theme.mwai-window .mwai-body {
  display: none;
  opacity: 0;
  max-height: var(--mwai-maxHeight);
  border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
}
.mwai-messages-theme.mwai-window.mwai-bottom-left {
  bottom: 30px;
  right: inherit;
  left: 30px;
}
.mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-trigger {
  right: inherit;
  left: 0;
}
.mwai-messages-theme.mwai-window.mwai-top-right {
  top: 30px;
  bottom: inherit;
  right: 30px;
}
.mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger {
  top: 0;
  bottom: inherit;
}
.mwai-messages-theme.mwai-window.mwai-top-left {
  top: 30px;
  bottom: inherit;
  right: inherit;
  left: 30px;
}
.mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger {
  top: 0;
  bottom: inherit;
  right: inherit;
  left: 0;
}
.mwai-messages-theme.mwai-window.mwai-center-open.mwai-open {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  right: auto;
  bottom: auto;
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-window.mwai-center-open.mwai-open {
    width: calc(100% - 40px);
    max-width: var(--mwai-width);
  }
}
.mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger, .mwai-messages-theme.mwai-window.mwai-bottom-left .mwai-trigger {
  align-items: flex-start;
}
.mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger {
  flex-direction: column-reverse;
}
.mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger .mwai-icon-text, .mwai-messages-theme.mwai-window.mwai-top-left .mwai-trigger .mwai-icon-text {
  margin-bottom: 0;
  margin-top: 15px;
}
.mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
  margin-bottom: 0px;
}
.mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
  width: 20px;
  height: 20px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'%3E%3Cpath d='M8 3V8H3'/%3E%3Cpath d='M21 8H16V3'/%3E%3Cpath d='M3 16H8V21'/%3E%3Cpath d='M16 21V16H21'/%3E%3C/svg%3E");
}
.mwai-messages-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
  width: 22px;
  height: 22px;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) {
  position: fixed;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: 0 !important;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  z-index: 999999;
  background-color: var(--mwai-backgroundSecondaryColor);
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
  border-radius: 0;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
  flex: 1;
  min-height: 0;
  max-height: inherit;
  border-radius: 0;
  display: flex !important;
  flex-direction: column !important;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-conversation {
  flex: 0 1 auto !important;
  max-height: none;
  overflow-y: auto;
  min-height: 0;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-fullscreen-spacer {
  flex: 1 1 auto !important;
  min-height: 0;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-input {
  flex: 0 0 auto;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-footer {
  flex: 0 0 auto;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body .mwai-files {
  flex: 0 0 auto;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-window-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-header {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 auto;
}
.mwai-messages-theme.mwai-fullscreen:not(.mwai-window) .mwai-body {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open {
  position: fixed;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: 0 !important;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  z-index: 999999;
  background-color: var(--mwai-backgroundSecondaryColor);
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header {
  border-radius: 0;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
  flex: 1;
  min-height: 0;
  max-height: inherit;
  border-radius: 0;
  display: flex !important;
  flex-direction: column !important;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-conversation {
  flex: 0 1 auto !important;
  max-height: none;
  overflow-y: auto;
  min-height: 0;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-fullscreen-spacer {
  flex: 1 1 auto !important;
  min-height: 0;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-input {
  flex: 0 0 auto;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-footer {
  flex: 0 0 auto;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body .mwai-files {
  flex: 0 0 auto;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open {
  transform: none !important;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-window-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-body {
  flex: 1 1 auto;
  min-height: 0;
}
.mwai-messages-theme.mwai-window.mwai-open .mwai-header {
  display: flex;
}
@media (min-width: 761px) {
  .mwai-messages-theme.mwai-window.mwai-open:not(.mwai-fullscreen) .mwai-body {
    height: var(--mwai-maxHeight);
  }
  .mwai-messages-theme.mwai-window.mwai-open:not(.mwai-fullscreen) .mwai-body .mwai-conversation {
    flex: 1 1 auto;
    min-height: 0;
  }
}
.mwai-messages-theme.mwai-window.mwai-open .mwai-body {
  display: flex;
  transition: opacity 200ms ease-in-out 0s;
  opacity: 1;
}
.mwai-messages-theme.mwai-window.mwai-open .mwai-trigger {
  display: none;
}
.mwai-messages-theme.mwai-window:not(.mwai-fullscreen) .mwai-input textarea {
  max-height: min(210px, var(--mwai-maxHeight) * 0.4);
}
.mwai-messages-theme .mwai-body {
  position: relative;
}
.mwai-messages-theme .mwai-drag-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mwai-borderRadius);
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
  background: color-mix(in srgb, var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor)) 94%, transparent);
  box-shadow: inset 0 0 0 2px var(--mwai-accentColor, var(--mwai-backgroundUserColor, #0084ff));
  pointer-events: none;
}
.mwai-messages-theme .mwai-drag-overlay .mwai-drag-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
}
.mwai-messages-theme .mwai-drag-overlay .mwai-drag-overlay-icons {
  display: flex;
  color: var(--mwai-accentColor, var(--mwai-backgroundUserColor, #0084ff));
}
.mwai-messages-theme .mwai-drag-overlay .mwai-drag-overlay-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--mwai-fontColor);
}
.mwai-messages-theme .mwai-drag-overlay.mwai-blocked {
  box-shadow: inset 0 0 0 2px #ef4444;
}
.mwai-messages-theme .mwai-drag-overlay.mwai-blocked .mwai-drag-overlay-icons, .mwai-messages-theme .mwai-drag-overlay.mwai-blocked .mwai-drag-overlay-title {
  color: #ef4444;
}
.mwai-messages-theme .mwai-gallery {
  grid-template-columns: repeat(6, 1fr);
}
.mwai-messages-theme .mwai-gallery > * {
  grid-column: span 2;
}
.mwai-messages-theme .mwai-gallery > :first-child:nth-last-child(2),
.mwai-messages-theme .mwai-gallery > :first-child:nth-last-child(2) ~ * {
  grid-column: span 3;
}
.mwai-messages-theme .mwai-gallery > :only-child {
  grid-column: 1/-1;
  max-width: 360px;
}
.mwai-messages-theme .mwai-gallery > :only-child img {
  width: auto;
  max-width: 100%;
  max-height: 320px;
}
.mwai-messages-theme .mwai-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--mwai-borderRadius) / 2);
}
.mwai-messages-theme .mwai-undo-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0 var(--mwai-spacing) 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.16);
  color: var(--mwai-fontColor);
  font-size: calc(var(--mwai-fontSize) * 0.9);
  line-height: 1.2;
  animation: mwai-undo-clear-in 180ms ease-out both;
}
.mwai-messages-theme .mwai-undo-clear span {
  opacity: 0.8;
}
.mwai-messages-theme .mwai-undo-clear button {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 2px 4px;
  border: none;
  border-radius: 4px;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.mwai-messages-theme .mwai-undo-clear button:hover {
  opacity: 0.75;
}
.mwai-messages-theme .mwai-undo-clear button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme .mwai-undo-clear {
    animation: none;
  }
}
@keyframes mwai-undo-clear-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mwai-messages-theme .mwai-input .mwai-file-upload,
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
}
.mwai-messages-theme .mwai-input-text.mwai-has-counter {
  flex-wrap: wrap;
}
.mwai-messages-theme .mwai-input-counter {
  flex: 0 0 100%;
  order: 99;
  box-sizing: border-box;
  padding: 2px 10px 6px;
  text-align: right;
  color: var(--mwai-fontColor);
  opacity: 0.65;
  font-size: 11px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.mwai-messages-theme .mwai-input-counter.mwai-at-limit {
  color: #e5484d;
  opacity: 1;
}
.mwai-messages-theme .mwai-body > .mwai-error {
  margin: var(--mwai-spacing);
  color: white;
  background: rgba(180, 55, 55, 0.55);
  padding: var(--mwai-spacing);
  border-radius: var(--mwai-borderRadius);
}
.mwai-messages-theme .mwai-body > .mwai-error:hover {
  cursor: pointer;
  background: rgba(180, 44, 44, 0.85);
}
.mwai-messages-theme .mwai-reply {
  animation: mwai-reply-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .mwai-messages-theme .mwai-reply {
    animation: none;
  }
}
@keyframes mwai-reply-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mwai-messages-theme .mwai-reply.mwai-error,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error {
  border: 0;
  background: var(--mwai-errorBackgroundColor);
  color: var(--mwai-errorTextColor);
  border-radius: var(--mwai-borderRadius);
  padding: calc(var(--mwai-spacing) * 0.75) var(--mwai-spacing);
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-text,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-text {
  color: var(--mwai-errorTextColor);
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-text a,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-text a {
  color: var(--mwai-errorTextColor);
  text-decoration: underline;
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-retry,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-retry {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 10px 0 0;
  padding: 6px 12px 6px 9px;
  border: 1px solid currentColor;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: calc(var(--mwai-fontSize) * 0.9);
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-retry svg,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-retry svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-retry:hover,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-retry:hover {
  background: color-mix(in srgb, currentColor 14%, transparent);
  border-color: color-mix(in srgb, currentColor 60%, transparent);
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-retry:focus-visible,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-retry:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-reply-actions {
  opacity: 1 !important;
  position: relative;
  top: auto;
  right: auto;
  width: fit-content;
  margin-top: 8px;
  padding: 0;
  gap: 6px;
  background: none;
  box-shadow: none;
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-copy-button,
.mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-reply-actions .mwai-copy-button,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button {
  fill: var(--mwai-errorTextColor);
  padding: 3px 5px;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.16);
  background: color-mix(in srgb, var(--mwai-errorTextColor) 14%, transparent);
  cursor: pointer;
  border-radius: 5px;
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-copy-button:hover,
.mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-reply-actions .mwai-copy-button:hover,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
  background: rgba(255, 255, 255, 0.3);
  background: color-mix(in srgb, var(--mwai-errorTextColor) 26%, transparent);
}
.mwai-messages-theme.mwai-chat:not(.mwai-window):not(.mwai-fullscreen) {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.mwai-messages-theme.mwai-chat:not(.mwai-window):not(.mwai-fullscreen) .mwai-window-box {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.mwai-messages-theme.mwai-chat:not(.mwai-window):not(.mwai-fullscreen) .mwai-body {
  flex: 1 1 auto;
  min-height: 0;
}
.mwai-messages-theme.mwai-chat:not(.mwai-window):not(.mwai-fullscreen) .mwai-conversation {
  flex: 1 1 auto;
  min-height: 0;
}
.mwai-messages-theme .mwai-reply-actions {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.mwai-messages-theme .mwai-reply:hover .mwai-reply-actions,
.mwai-messages-theme .mwai-reply .mwai-reply-actions.mwai-actions-open {
  opacity: 1 !important;
}
.mwai-messages-theme .mwai-reply .mwai-reply-actions:has(:focus-visible) {
  opacity: 1 !important;
}
.mwai-messages-theme .mwai-form-output-container:hover .mwai-reply-actions {
  opacity: 1 !important;
}
.mwai-messages-theme .mwai-form-output-container:hover .mwai-reply-actions.mwai-hidden {
  opacity: 1 !important;
}
.mwai-messages-theme.mwai-bubble .mwai-trigger .mwai-icon-container {
  background: var(--mwai-bubbleColor);
  width: var(--mwai-iconSize, 60px);
  height: var(--mwai-iconSize, 60px);
  border-radius: 100%;
  transition: all 0.2s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mwai-messages-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon {
  max-width: 50%;
  max-height: 50%;
  filter: none;
}
.mwai-messages-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon:hover {
  transform: none;
}
.mwai-messages-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-emoji {
  font-size: calc(var(--mwai-iconSize, 60px) / 2);
}
.mwai-messages-theme.mwai-bubble .mwai-trigger .mwai-icon-container:hover {
  cursor: pointer;
  filter: brightness(1.1);
}
@media (max-width: 760px) {
  .mwai-messages-theme.mwai-fullscreen.mwai-window.mwai-open, .mwai-messages-theme.mwai-fullscreen:not(.mwai-window) {
    top: var(--mwai-vv-offset-top, 0) !important;
    bottom: var(--mwai-vv-offset-bottom, 0) !important;
    height: var(--mwai-vv-height, 100dvh);
    max-height: var(--mwai-vv-height, 100dvh);
  }
  .mwai-messages-theme.mwai-window.mwai-open {
    position: fixed;
    top: var(--mwai-vv-offset-top, 0) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--mwai-vv-offset-bottom, 0) !important;
    width: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-height: var(--mwai-vv-height, 100dvh);
    height: var(--mwai-vv-height, 100dvh);
    max-height: var(--mwai-vv-height, 100dvh);
    max-width: 100%;
    margin: 0;
    z-index: 999999;
    background-color: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding-top: env(safe-area-inset-top, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    box-sizing: border-box;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-window-box {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    min-height: 0;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-header {
    display: none !important;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
    overflow: hidden;
    background: var(--mwai-backgroundPrimaryColor, var(--mwai-backgroundSecondaryColor));
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
    flex: 1;
    overflow-y: auto;
    max-height: none;
    min-height: 0;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-input {
    flex-shrink: 0;
    position: relative;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-footer {
    flex-shrink: 0;
    position: relative;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-body:last-child .mwai-input {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-mobile-header {
    display: flex;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    min-height: 50px;
    background: var(--mwai-backgroundHeaderColor);
    border-bottom: 1px solid var(--mwai-lineColor);
    padding: 0 15px;
    padding-top: env(safe-area-inset-top, 0);
    padding-left: calc(15px + env(safe-area-inset-left, 0));
    padding-right: calc(15px + env(safe-area-inset-right, 0));
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    flex-shrink: 0;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mwai-headerColor);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:hover, .mwai-messages-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close:active {
    background-color: var(--mwai-backgroundSecondaryColor);
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg {
    width: 20px;
    height: 20px;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-mobile-header .mwai-mobile-header-close svg path {
    stroke: var(--mwai-headerColor);
  }
  .mwai-messages-theme.mwai-window.mwai-open.mwai-center-open {
    top: var(--mwai-vv-offset-top, 0) !important;
    left: 0 !important;
    transform: none !important;
    right: 0 !important;
    bottom: var(--mwai-vv-offset-bottom, 0) !important;
    width: 100% !important;
    max-width: 100% !important;
    height: var(--mwai-vv-height, 100dvh) !important;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-input {
    flex-direction: column;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-input button:not(.mwai-input-submit) {
    font-size: 16px;
    margin-left: 0;
    width: 100%;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text {
    width: 100%;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text input, .mwai-messages-theme.mwai-window.mwai-open .mwai-input .mwai-input-text textarea {
    font-size: 16px;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-body {
    display: flex;
    transition: opacity 200ms ease-in-out 0s;
    opacity: 1;
    flex: 1;
    min-height: 0;
    max-height: inherit;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-body .mwai-conversation {
    flex: 1;
    max-height: none;
    min-height: 0;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-resize-button {
    display: none !important;
  }
  .mwai-messages-theme.mwai-window.mwai-open .mwai-trigger {
    display: none;
  }
}
@keyframes mwai-button-spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
.mwai-messages-theme button:not(.mwai-busy):before {
  content: none !important;
  display: none !important;
  animation: none !important;
}
.mwai-messages-theme .admin-bar .mwai-fullscreen:not(.mwai-window),
.mwai-messages-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
  top: 32px;
}
.mwai-messages-theme .mwai-input .mwai-terminal-line {
  display: flex;
  align-items: flex-start;
  color: var(--mwai-terminal-active-color, var(--mwai-fontColor));
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt {
  color: var(--mwai-terminal-active-color, currentColor);
  margin-left: -4px;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  height: 1.5em;
  line-height: 1.2;
  flex-shrink: 0;
  align-self: flex-start;
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-prompt svg {
  display: block;
  width: 1.4em;
  height: 1.4em;
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-input-wrapper {
  flex: 1;
  display: inline;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-typed {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-word;
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor {
  display: inline-block;
  min-width: 8px;
  height: 1.35em;
  color: currentColor;
  background: currentColor;
  opacity: 0.35;
  vertical-align: text-bottom;
  line-height: inherit;
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-active {
  opacity: 1;
  color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
  animation: mwai-cursor-blink 1s infinite;
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-typing {
  opacity: 1;
  color: var(--mwai-backgroundPrimaryColor, #1a1a2e);
}
.mwai-messages-theme .mwai-input .mwai-terminal-line .mwai-terminal-cursor.mwai-terminal-cursor-inactive {
  opacity: 0.35;
}
@media (min-width: 761px) {
  .mwai-messages-theme.mwai-window.mwai-open:not(.mwai-fullscreen):not(.mwai-container-osx) .mwai-window-box {
    border-radius: var(--mwai-borderRadius);
    box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.18), 0 1px 2px rgba(0, 0, 0, 0.08), 0 10px 24px -8px rgba(0, 0, 0, 0.2), 0 32px 64px -16px rgba(0, 0, 0, 0.32);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--mwai-fontColor) 10%, transparent), 0 1px 2px rgba(0, 0, 0, 0.08), 0 10px 24px -8px rgba(0, 0, 0, 0.2), 0 32px 64px -16px rgba(0, 0, 0, 0.32);
  }
}
.mwai-messages-theme .mwai-input .mwai-input-submit.mwai-clear-mode {
  background: transparent;
  background-image: none;
  color: rgba(0, 0, 0, 0.6);
  color: color-mix(in srgb, var(--mwai-fontColor) 60%, transparent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mwai-fontColor) 16%, transparent);
  transition: background 0.15s ease, color 0.15s ease;
}
.mwai-messages-theme .mwai-input .mwai-input-submit.mwai-clear-mode:hover, .mwai-messages-theme .mwai-input .mwai-input-submit.mwai-clear-mode:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  background: color-mix(in srgb, var(--mwai-fontColor) 6%, transparent);
  color: rgba(0, 0, 0, 0.88);
  color: color-mix(in srgb, var(--mwai-fontColor) 88%, transparent);
  filter: none;
}
.mwai-messages-theme pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em;
}
.mwai-messages-theme code.hljs {
  padding: 3px 5px;
}
.mwai-messages-theme .hljs {
  color: #333;
  background: #f0f0f0;
}
.mwai-messages-theme .hljs-subst {
  color: #333;
}
.mwai-messages-theme .hljs-comment {
  color: #888;
}
.mwai-messages-theme .hljs-attr, .mwai-messages-theme .hljs-doctag, .mwai-messages-theme .hljs-keyword, .mwai-messages-theme .hljs-meta .hljs-keyword, .mwai-messages-theme .hljs-section, .mwai-messages-theme .hljs-selector-tag {
  color: #0077cc;
}
.mwai-messages-theme .hljs-attribute {
  color: #aa3377;
}
.mwai-messages-theme .hljs-name, .mwai-messages-theme .hljs-number, .mwai-messages-theme .hljs-quote, .mwai-messages-theme .hljs-selector-id, .mwai-messages-theme .hljs-template-tag, .mwai-messages-theme .hljs-type {
  color: #c18401;
}
.mwai-messages-theme .hljs-selector-class {
  color: #0077cc;
}
.mwai-messages-theme .hljs-link, .mwai-messages-theme .hljs-regexp, .mwai-messages-theme .hljs-selector-attr, .mwai-messages-theme .hljs-string, .mwai-messages-theme .hljs-symbol, .mwai-messages-theme .hljs-template-variable, .mwai-messages-theme .hljs-variable {
  color: #689700;
}
.mwai-messages-theme .hljs-meta, .mwai-messages-theme .hljs-selector-pseudo {
  color: #0077cc;
}
.mwai-messages-theme .hljs-built_in, .mwai-messages-theme .hljs-literal, .mwai-messages-theme .hljs-title {
  color: #c18401;
}
.mwai-messages-theme .hljs-bullet, .mwai-messages-theme .hljs-code {
  color: #555;
}
.mwai-messages-theme .hljs-meta .hljs-string {
  color: #689700;
}
.mwai-messages-theme .hljs-deletion {
  color: #b71c1c;
}
.mwai-messages-theme .hljs-addition {
  color: #1b5e20;
}
.mwai-messages-theme .hljs-emphasis {
  font-style: italic;
}
.mwai-messages-theme .hljs-strong {
  font-weight: 700;
}
.mwai-messages-theme .mwai-reply-actions {
  position: absolute;
  border-radius: 5px;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  padding: 2px 2px;
  z-index: 100;
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mwai-fontColor) 10%, transparent), 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.18);
  z-index: 100;
}
.mwai-messages-theme .mwai-reply-actions .mwai-copy-button,
.mwai-messages-theme .mwai-reply-actions .mwai-download-button,
.mwai-messages-theme .mwai-reply-actions .mwai-pdf-button {
  fill: var(--mwai-fontColor);
  padding: 3px 5px;
  width: 24px;
  height: 24px;
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
  cursor: pointer;
  border-radius: 5px;
}
.mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover,
.mwai-messages-theme .mwai-reply-actions .mwai-download-button:hover,
.mwai-messages-theme .mwai-reply-actions .mwai-pdf-button:hover {
  filter: brightness(1.2);
}
.mwai-messages-theme .mwai-reply-actions .mwai-pdf-button {
  padding: 3px 3.5px;
}
.mwai-messages-theme .mwai-reply-actions.mwai-hidden {
  opacity: 0;
}
.mwai-messages-theme .mwai-realtime {
  padding: var(--mwai-spacing);
}
.mwai-messages-theme .mwai-realtime .mwai-visualizer {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
  width: 100px;
  margin-right: var(--mwai-spacing);
  margin-left: var(--mwai-spacing);
  border: 1px solid var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
  background: var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--mwai-spacing);
}
.mwai-messages-theme .mwai-realtime .mwai-controls > * + * {
  margin-left: 10px;
}
.mwai-messages-theme .mwai-realtime .mwai-controls button {
  border-radius: 100%;
  width: 50px;
  height: 50px;
  margin: 5px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mwai-fontColor);
  border: 2px solid var(--mwai-backgroundPrimaryColor);
  background: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  min-width: inherit;
  max-width: inherit;
}
.mwai-messages-theme .mwai-realtime .mwai-controls button:hover:not(:disabled) {
  background: var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: none;
}
.mwai-messages-theme .mwai-realtime .mwai-controls button.mwai-active {
  border: 2px solid var(--mwai-fontColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode {
  flex-direction: column;
  gap: 8px;
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
  border-radius: calc(var(--mwai-borderRadius) * 0.8);
  width: auto;
  min-width: 120px;
  padding: 12px 24px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--mwai-fontColor);
  border: 2px solid var(--mwai-backgroundPrimaryColor);
  background: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  font-family: inherit;
  font-size: var(--mwai-fontSize);
  line-height: 1.2;
  font-weight: 500;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
  background: var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: none;
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
  border: 2px solid var(--mwai-fontColor);
  background: var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk svg {
  width: 18px;
  height: 18px;
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-talk-hint {
  font-size: 12px;
  color: var(--mwai-fontColor);
  opacity: 0.6;
  text-align: center;
  margin: 0;
}
.mwai-messages-theme .mwai-realtime .mwai-last-transcript {
  margin: var(--mwai-spacing);
  margin-top: 0;
  border: 2px solid var(--mwai-backgroundPrimaryColor);
  padding: calc(var(--mwai-spacing) / 2);
  padding-right: calc(var(--mwai-spacing) / 2 + 10px);
  border-radius: var(--mwai-borderRadius);
  font-size: 80%;
  text-align: center;
  max-height: 120px;
  overflow-y: auto;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.mwai-messages-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar {
  width: 6px;
}
.mwai-messages-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}
.mwai-messages-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb {
  background: var(--mwai-backgroundHeaderColor);
  border-radius: 10px;
}
.mwai-messages-theme .mwai-realtime .mwai-last-transcript::-webkit-scrollbar-thumb:hover {
  background: var(--mwai-accentColor, var(--mwai-backgroundUserColor, #0084ff));
}
.mwai-messages-theme .mwai-realtime .mwai-last-transcript {
  scrollbar-width: thin;
  scrollbar-color: var(--mwai-backgroundHeaderColor) transparent;
}
.mwai-messages-theme .mwai-realtime .mwai-statistics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row-gap: 10px;
  font-size: 14px;
}
.mwai-messages-theme .mwai-realtime .mwai-statistics div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mwai-messages-theme .mwai-realtime .mwai-statistics label {
  font-size: 11px;
  opacity: 0.5;
  text-transform: uppercase;
}
.mwai-messages-theme .mwai-realtime .mwai-options {
  margin-top: var(--mwai-spacing);
  display: flex;
  align-items: center;
}
.mwai-messages-theme .mwai-realtime .mwai-options .mwai-option {
  cursor: pointer;
  opacity: 0.5;
  margin-right: 2px;
}
.mwai-messages-theme .mwai-realtime .mwai-options .mwai-option.mwai-active {
  opacity: 1;
}
.mwai-messages-theme.mwai-discussions {
  border-radius: var(--mwai-borderRadius);
  background: var(--mwai-backgroundHeaderColor);
  overflow: hidden;
}
.mwai-messages-theme.mwai-discussions * {
  box-sizing: border-box;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion {
  display: flex;
  position: relative;
  padding-left: calc(var(--mwai-spacing) / 2);
  padding-right: calc(var(--mwai-spacing) / 2);
  padding-bottom: calc(var(--mwai-spacing) / 2);
  color: var(--mwai-conversationsTextColor);
  opacity: 0.65;
  align-items: center;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
  flex: 1;
  padding: 5px 10px;
  overflow: hidden;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--mwai-fontSize);
  margin-bottom: 4px;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
  display: flex;
  gap: 12px;
  font-size: calc(var(--mwai-fontSize) * 0.85);
  opacity: 0.9;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info .mwai-info-item svg {
  opacity: 0.75;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
  position: absolute;
  top: 50%;
  right: calc(var(--mwai-spacing) / 2);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
  z-index: 100;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mwai-conversationsTextColor);
}
.mwai-messages-theme.mwai-discussions .mwai-discussion {
  transition: opacity 0.15s ease-out;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
  border-radius: var(--mwai-borderRadius);
  transition: background 0.15s ease-out;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion:hover {
  cursor: pointer;
  opacity: 0.9;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
  background: color-mix(in srgb, var(--mwai-conversationsTextColor) 7%, transparent);
}
.mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-actions {
  opacity: 1;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active {
  cursor: pointer;
  opacity: 1;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
}
.mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-title {
  font-weight: 500;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion:has(.mwai-context-menu) .mwai-discussion-actions {
  opacity: 1;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion:first-child {
  margin-top: calc(var(--mwai-spacing) / 2);
}
.mwai-messages-theme.mwai-discussions .mwai-header {
  color: var(--mwai-headerColor);
  padding: var(--mwai-spacing);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.mwai-messages-theme.mwai-discussions .mwai-header button {
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
  color: var(--mwai-fontColor);
  border: none;
  padding: 8px 16px;
  border-radius: var(--mwai-borderRadius);
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.mwai-messages-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
  background: var(--mwai-iconTextBackgroundColor);
}
.mwai-messages-theme.mwai-discussions .mwai-header button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mwai-messages-theme.mwai-discussions .mwai-header .mwai-refresh-btn {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mwai-messages-theme.mwai-discussions .mwai-body {
  background: var(--mwai-conversationsBackgroundColor);
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  z-index: 1;
}
.mwai-messages-theme.mwai-discussions .mwai-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--mwai-conversationsBackgroundColor);
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.mwai-messages-theme.mwai-discussions .mwai-spinner {
  animation: spin 1s linear infinite;
  color: var(--mwai-fontColor);
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.mwai-messages-theme.mwai-discussions .mwai-pagination {
  background: var(--mwai-backgroundHeaderColor);
  padding: var(--mwai-spacing);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme.mwai-discussions .mwai-pagination button {
  background: var(--mwai-surfaceColor, var(--mwai-backgroundPrimaryColor));
  color: var(--mwai-fontColor);
  border: none;
  padding: 8px 12px;
  border-radius: var(--mwai-borderRadius);
  cursor: pointer;
  transition: all 0.2s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mwai-messages-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
  background: var(--mwai-iconTextBackgroundColor);
}
.mwai-messages-theme.mwai-discussions .mwai-pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.mwai-messages-theme.mwai-discussions .mwai-pagination span {
  color: var(--mwai-headerColor);
  font-size: var(--mwai-fontSize);
  font-weight: 500;
}
.mwai-messages-theme.mwai-discussions .mwai-pagination .mwai-page-indicator {
  color: var(--mwai-headerColor);
  font-size: calc(var(--mwai-fontSize) * 0.85);
  font-weight: 400;
  opacity: 0.8;
}
.mwai-messages-theme.mwai-discussions {
  background: var(--mwai-backgroundPrimaryColor);
  border: 1px solid var(--mwai-backgroundAiSecondaryColor);
}
.mwai-messages-theme.mwai-discussions .mwai-header {
  background: var(--mwai-backgroundAiColor);
  color: var(--mwai-fontColor);
  border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme.mwai-discussions .mwai-header button {
  background: var(--mwai-backgroundUserColor);
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: var(--mwai-borderRadius);
  cursor: pointer;
  transition: transform 0.15s ease-out;
  margin-left: 0;
}
.mwai-messages-theme.mwai-discussions .mwai-header button:hover:not(:disabled) {
  background: var(--mwai-backgroundUserColor);
  transform: scale(1.03);
}
.mwai-messages-theme.mwai-discussions .mwai-header button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-header {
  background: var(--mwai-backgroundAiColor);
  color: var(--mwai-fontColor);
  padding: var(--mwai-spacing);
  border-bottom: 1px solid var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-header .mwai-discussions-title {
  font-size: calc(var(--mwai-fontSize) * 1.2);
  font-weight: 600;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-list {
  background: var(--mwai-backgroundPrimaryColor);
  max-height: 300px;
  overflow-y: auto;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  background: color-mix(in srgb, var(--mwai-fontColor) 5%, transparent);
  border-radius: 4px;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  background: color-mix(in srgb, var(--mwai-fontColor) 15%, transparent);
  border-radius: 4px;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
  background: color-mix(in srgb, var(--mwai-fontColor) 25%, transparent);
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.05);
  scrollbar-color: color-mix(in srgb, var(--mwai-fontColor) 15%, transparent) color-mix(in srgb, var(--mwai-fontColor) 5%, transparent);
}
.mwai-messages-theme.mwai-discussions .mwai-discussion {
  padding: 0;
  color: var(--mwai-fontColor);
  opacity: 1;
  border-bottom: none;
  transition: background 0.2s ease;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-content {
  background: transparent;
  padding: 8px 12px;
  margin: 4px 8px;
  transition: all 0.2s ease;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-title {
  color: var(--mwai-fontColor);
  font-weight: 500;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-info {
  opacity: 0.6;
  color: var(--mwai-fontColor);
}
.mwai-messages-theme.mwai-discussions .mwai-discussion:hover .mwai-discussion-content {
  background: var(--mwai-backgroundAiColor);
  border-radius: 15px;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content {
  background: var(--mwai-backgroundUserColor);
  color: white;
  border-radius: 15px;
  opacity: 1;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content .mwai-discussion-title {
  color: white;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-content .mwai-discussion-info {
  color: white;
  opacity: 0.8;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions {
  right: 18px;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon {
  color: var(--mwai-fontColor);
  background: var(--mwai-backgroundAiColor);
  border-radius: 50%;
  width: 24px;
  height: 24px;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion .mwai-discussion-actions .mwai-menu-icon:hover {
  background: var(--mwai-backgroundUserColor);
  color: white;
}
.mwai-messages-theme.mwai-discussions .mwai-discussion.mwai-active .mwai-discussion-actions .mwai-menu-icon:hover {
  background: var(--mwai-backgroundAiColor);
  color: var(--mwai-backgroundUserColor);
}
.mwai-messages-theme.mwai-discussions .mwai-context-menu {
  background: var(--mwai-backgroundUserColor);
  border: 1px solid var(--mwai-backgroundUserColor);
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 4px;
}
.mwai-messages-theme.mwai-discussions .mwai-context-menu .mwai-menu-item {
  padding: 8px 12px;
  color: white;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.mwai-messages-theme.mwai-discussions .mwai-context-menu .mwai-menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(2px);
}
.mwai-messages-theme.mwai-discussions .mwai-context-menu .mwai-menu-item.mwai-danger {
  color: #ffcdd2;
}
.mwai-messages-theme.mwai-discussions .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
  background: rgba(255, 100, 100, 0.2);
  color: white;
}
.mwai-messages-theme.mwai-discussions .mwai-pagination {
  background: var(--mwai-backgroundAiColor);
  border-top: 1px solid var(--mwai-backgroundPrimaryColor);
}
.mwai-messages-theme.mwai-discussions .mwai-pagination button {
  background: var(--mwai-backgroundUserColor);
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: var(--mwai-borderRadius);
  cursor: pointer;
  transition: transform 0.15s ease-out;
  margin-left: 0;
}
.mwai-messages-theme.mwai-discussions .mwai-pagination button:hover:not(:disabled) {
  background: var(--mwai-backgroundUserColor);
  transform: scale(1.03);
}
.mwai-messages-theme.mwai-discussions .mwai-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-footer,
.mwai-messages-theme.mwai-discussions .mwai-discussions-pagination {
  padding: var(--mwai-spacing);
  border-top: 1px solid var(--mwai-backgroundPrimaryColor);
  background: var(--mwai-backgroundAiColor);
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button,
.mwai-messages-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button {
  width: 100%;
  padding: 8px 16px;
  background: var(--mwai-backgroundUserColor);
  color: white;
  border: none;
  border-radius: var(--mwai-borderRadius);
  font-size: var(--mwai-fontSize);
  cursor: pointer;
  transition: transform 0.15s ease-out;
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:hover,
.mwai-messages-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:hover {
  transform: scale(1.02);
}
.mwai-messages-theme.mwai-discussions .mwai-discussions-footer .mwai-new-chat-button:disabled,
.mwai-messages-theme.mwai-discussions .mwai-discussions-pagination .mwai-new-chat-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.mwai-messages-theme .mwai-realtime .mwai-visualizer hr {
  border: 1px solid var(--mwai-backgroundAiSecondaryColor);
}
.mwai-messages-theme .mwai-realtime .mwai-visualizer .mwai-animation {
  background: var(--mwai-backgroundAiSecondaryColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls button {
  color: var(--mwai-backgroundPrimaryColor);
  background: var(--mwai-backgroundUserColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls button:hover {
  color: var(--mwai-backgroundPrimaryColor) !important;
  background: var(--mwai-backgroundUserColor) !important;
  opacity: 0.8;
}
.mwai-messages-theme .mwai-realtime .mwai-controls button[disabled] {
  color: var(--mwai-backgroundPrimaryColor) !important;
  background: var(--mwai-backgroundUserColor) !important;
  opacity: 0.5;
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk {
  color: var(--mwai-backgroundPrimaryColor);
  background: var(--mwai-backgroundUserColor);
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:hover:not(:disabled) {
  color: var(--mwai-backgroundPrimaryColor) !important;
  background: var(--mwai-backgroundUserColor) !important;
  opacity: 0.8;
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk:disabled {
  color: var(--mwai-backgroundPrimaryColor) !important;
  background: var(--mwai-backgroundUserColor) !important;
  opacity: 0.5;
}
.mwai-messages-theme .mwai-realtime .mwai-controls.mwai-hold-to-talk-mode .mwai-push-to-talk.mwai-active {
  color: var(--mwai-backgroundPrimaryColor) !important;
  background: var(--mwai-backgroundUserColor) !important;
  opacity: 0.9;
  border: 2px solid var(--mwai-fontColor);
}
.mwai-messages-theme {
  --mwai-actionsRoom: 0px;
}
.mwai-messages-theme.mwai-has-copy, .mwai-messages-theme.mwai-has-pdf {
  --mwai-actionsRoom: 36px;
}
.mwai-messages-theme.mwai-has-copy.mwai-has-pdf {
  --mwai-actionsRoom: 64px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) {
  max-width: min(85%, 100% - var(--mwai-actionsRoom));
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error).mwai-user {
  max-width: min(85%, 100% - 36px);
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error):has(.mwai-download-button) {
  max-width: min(85%, 100% - var(--mwai-actionsRoom) - 28px);
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 100%;
  flex-direction: row;
  gap: 2px;
  padding: 0 0 0 6px;
  transform: translateY(-50%);
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-copy-button, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-download-button, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-pdf-button, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-action-button {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  box-sizing: border-box;
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-copy-button svg, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-download-button svg, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-pdf-button svg, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-action-button svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-copy-button, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-download-button, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-pdf-button, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-action-button {
  border-radius: 8px;
  background: none;
  box-shadow: none;
  fill: color-mix(in srgb, var(--mwai-fontColor) 62%, transparent);
  transition: background 0.15s ease, fill 0.15s ease;
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-copy-button:hover, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-copy-button:focus-visible, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-download-button:hover, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-download-button:focus-visible, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-pdf-button:hover, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-pdf-button:focus-visible, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-action-button:hover, .mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-action-button:focus-visible {
  background: color-mix(in srgb, var(--mwai-fontColor) 10%, transparent);
  fill: var(--mwai-fontColor);
  filter: none;
}
.mwai-messages-theme .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions .mwai-pdf-button svg {
  width: 20px;
  height: 20px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user:not(.mwai-error) .mwai-reply-actions {
  left: auto;
  right: 100%;
  padding: 0 6px 0 0;
}
.mwai-messages-theme .mwai-reply.mwai-user:has(.mwai-user-images) {
  width: min(300px, 100%);
  box-sizing: border-box;
}
.mwai-messages-theme .mwai-reply.mwai-user:has(.mwai-user-images) .mwai-user-images {
  margin: -7px -12px 8px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}
.mwai-messages-theme .mwai-reply.mwai-user:has(.mwai-user-images) .mwai-user-images .mwai-user-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 0;
  border: 0;
}
.mwai-messages-theme .mwai-reply.mwai-user:has(.mwai-user-images) .mwai-user-images:has(.mwai-user-image:nth-child(2)) {
  width: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}
.mwai-messages-theme .mwai-reply.mwai-user:has(.mwai-user-images) .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image {
  max-height: none;
}
.mwai-messages-theme .mwai-reply.mwai-user:has(.mwai-user-images) .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image:last-child:nth-child(odd) {
  grid-column: 1/-1;
  aspect-ratio: 2;
}
.mwai-messages-theme .mwai-reply-actions .mwai-copy-button,
.mwai-messages-theme .mwai-reply-actions .mwai-download-button,
.mwai-messages-theme .mwai-reply-actions .mwai-pdf-button {
  padding-top: 4px;
}
.mwai-messages-theme .mwai-reply-actions .mwai-copy-button:hover,
.mwai-messages-theme .mwai-reply-actions .mwai-download-button:hover,
.mwai-messages-theme .mwai-reply-actions .mwai-pdf-button:hover {
  fill: #fff;
  background: var(--mwai-backgroundUserColor);
}
.mwai-messages-theme .mwai-reply-actions .mwai-action-button {
  padding-top: 4px;
}
.mwai-messages-theme .mwai-reply-actions .mwai-action-button:hover {
  fill: #fff;
  background: var(--mwai-backgroundUserColor);
  filter: none;
}
.mwai-messages-theme .mwai-reply.mwai-error .mwai-reply-actions .mwai-action-button:hover {
  fill: #fff;
  background: var(--mwai-backgroundUserColor);
  filter: none;
}

@media (max-width: 760px) {
  .mwai-messages-theme.mwai-window {
    width: calc(100% - 40px);
    z-index: 9999999999;
  }
  .mwai-messages-theme .mwai-input {
    flex-direction: column;
    padding: var(--mwai-spacing) var(--mwai-spacing) 0;
  }
  .mwai-messages-theme .mwai-input .mwai-input-text {
    width: 100%;
    margin-bottom: 10px;
  }
  .mwai-messages-theme .mwai-input .mwai-input-text textarea {
    padding-right: var(--mwai-spacing);
  }
  .mwai-messages-theme .mwai-input .mwai-input-submit {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
  }
}

.mwai-messages-theme .mwai-input .mwai-input-submit::before {
  content: "" !important;
  display: inline-block !important;
  z-index: 3;
}

.mwai-messages-theme .mwai-footer {
  display: flex;
  align-items: center;
  background: var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
  border-top: 1px solid var(--mwai-backgroundPrimaryColor);
  padding: 6px var(--mwai-spacing);
}
.mwai-messages-theme .mwai-footer:empty {
  display: none;
}
.mwai-messages-theme .mwai-footer:not(:has(.mwai-tools)):has(.mwai-compliance:empty) {
  display: none;
}
.mwai-messages-theme .mwai-footer .mwai-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: calc(var(--mwai-spacing) / 2);
}
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload {
  display: inline-block;
}
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 16px;
  height: 16px;
  color: var(--mwai-fontColor);
  opacity: 0.75;
  margin: 0;
}
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide:hover {
  opacity: 1;
}
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide svg {
  width: 16px;
  height: 16px;
}
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 12px;
  height: 12px;
  padding: 0 2px;
  border-radius: 999px;
  background: var(--mwai-backgroundHeaderColor);
  color: #fff;
  border: 2px solid var(--mwai-backgroundAiColor, var(--mwai-backgroundSecondaryColor));
  font-size: 8px;
  font-family: system-ui;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
}
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count::after {
  content: attr(data-count);
}
.mwai-messages-theme .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide.mwai-hover .mwai-upload-count::after {
  content: "-";
}
.mwai-messages-theme .mwai-footer .mwai-compliance {
  opacity: 0.5;
  font-size: 11px;
  line-height: 11px;
  color: var(--mwai-fontColor);
  flex: 1;
  text-align: left;
  padding: calc(var(--mwai-spacing) / 2) 0;
  margin: 0;
}
.mwai-messages-theme .mwai-footer .mwai-tools + .mwai-compliance {
  text-align: right;
}
.mwai-messages-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-messages-theme .mwai-body:last-child .mwai-input {
  padding-bottom: calc(var(--mwai-spacing) * 1.5);
}
@media (max-width: 760px) {
  .mwai-messages-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-messages-theme .mwai-body:last-child .mwai-input {
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0));
  }
}
.mwai-messages-theme .mwai-body:not(:has(~ .mwai-footer)):not(:has(+ .mwai-footer)) .mwai-input, .mwai-messages-theme .mwai-body:last-child .mwai-input {
  --mwai-inputPadBottom: calc(var(--mwai-spacing) * 1.5);
}

.mwai-context-menu-portal.mwai-messages-theme .mwai-context-menu {
  background: var(--mwai-backgroundPrimaryColor);
  border: 1px solid var(--mwai-backgroundAiSecondaryColor);
  color: var(--mwai-fontColor);
}
.mwai-context-menu-portal.mwai-messages-theme .mwai-context-menu .mwai-menu-item {
  color: var(--mwai-fontColor);
}
.mwai-context-menu-portal.mwai-messages-theme .mwai-context-menu .mwai-menu-item:hover {
  background-color: var(--mwai-backgroundAiColor);
}
.mwai-context-menu-portal.mwai-messages-theme .mwai-context-menu .mwai-menu-item.mwai-danger {
  color: #d32f2f;
}
.mwai-context-menu-portal.mwai-messages-theme .mwai-context-menu .mwai-menu-item.mwai-danger:hover {
  background-color: rgba(211, 47, 47, 0.1);
  color: #b71c1c;
}
/*!/wp-content/cache/asset-cleanup/one/css/item/mwai-gapgpt-connector__assets__persian-css-v11aafa16b5e7111d22586c83904a91845528318d.css*/
/*!/wp-content/plugins/mwai-gapgpt-connector/assets/persian.css*//*
 * Persian presentation for AI Engine screens.
 *
 * Scoped to AI Engine's own containers so wp-admin keeps WordPress's styling.
 * The font is declared with a local-first stack: if the visitor already has a
 * good Persian face installed we use it, and the bundled webfont is only the
 * fallback that guarantees identical rendering everywhere. That avoids shipping
 * a large font file to people who do not need it while keeping the layout
 * deterministic on machines that have no Persian font at all.
 *
 * `font-display: swap` keeps first paint fast: text renders in the fallback and
 * is re-rendered when the font arrives, rather than blocking the whole SPA.
 */

/*
 * Vazirmatn, SIL Open Font License 1.1 (see fonts/Vazirmatn-OFL.txt). A freely
 * redistributable face is the only kind that belongs in a distributed package.
 *
 * `local()` is tried first: an operator who already has Vazirmatn or IRANSansX
 * installed gets the installed copy and no download at all. `unicode-range`
 * limits the download to the blocks Persian actually uses, so a browser that
 * never renders Persian text never fetches the file.
 */
@font-face{font-family:"MWAI Persian";src:local("Vazirmatn Regular"),
local("Vazirmatn"),
url("/wp-content/plugins/mwai-gapgpt-connector/assets/fonts/vazirmatn-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D, U+0020-007E;}

@font-face{font-family:"MWAI Persian";src:local("Vazirmatn Medium"),
local("Vazirmatn Medium Regular"),
url("/wp-content/plugins/mwai-gapgpt-connector/assets/fonts/vazirmatn-medium.woff2") format("woff2");font-weight:500 700;font-style:normal;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D, U+0020-007E;}

:root {
  --mwai-persian-font: "MWAI Persian", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
}

/*
 * Typography.
 *
 * Persian needs more line height than Latin at the same size (the ascenders and
 * descenders are taller and the diacritics sit above them), and it needs
 * slightly larger sizes to stay legible. Neither of those is a stylistic
 * preference: text that fits in the Latin layout clips in Persian.
 */
#mwai-admin-settings,
#mwai-playground,
#mwai-dashboard,
#mwai-content-generator,
#mwai-image-generator,
#mwai-video-generator,
.mwai-chatbot,
.mwai-form-container {
  font-family: var(--mwai-persian-font);
}

#mwai-admin-settings,
#mwai-playground,
#mwai-dashboard,
#mwai-content-generator,
#mwai-image-generator,
#mwai-video-generator {
  line-height: 1.75;
}

/*
 * Persians numbers: the SPA sometimes writes Western digits inside Persian
 * sentences, which is normal in technical UI — so nothing is converted. What is
 * fixed here is the *direction* of purely numeric content, which must stay LTR
 * or "1536" renders as "6351".
 */
#mwai-admin-settings input[type="number"],
#mwai-admin-settings input[type="url"],
#mwai-admin-settings input[type="email"],
#mwai-admin-settings input[type="tel"],
#mwai-admin-settings code,
#mwai-admin-settings pre,
#mwai-admin-settings .components-text-control__input[type="url"],
#mwai-admin-settings .components-text-control__input[type="number"],
.mwai-chatbot code,
.mwai-chatbot pre {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

/*
 * Do NOT letter-space Arabic script: the letters are joined, and adding space
 * between them breaks the word shape visually. This undoes any Latin-oriented
 * `letter-spacing` a theme or the SPA may apply to headings and buttons.
 */
#mwai-admin-settings h1,
#mwai-admin-settings h2,
#mwai-admin-settings h3,
#mwai-admin-settings h4,
.mwai-chatbot h1,
.mwai-chatbot h2,
.mwai-chatbot button,
.mwai-chatbot .mwai-button {
  letter-spacing: normal;
  word-spacing: normal;
}

/*
 * Icons and chevrons are direction-sensitive: the SPA draws "next" as a
 * right-pointing chevron, which reads as "back" in Persian. Mirror only the
 * directional glyphs, never the icons that carry meaning by their own shape.
 */
[dir="rtl"] #mwai-admin-settings .components-panel__arrow,
[dir="rtl"] #mwai-admin-settings .dashicons-arrow-right-alt2,
[dir="rtl"] #mwai-admin-settings .dashicons-arrow-left-alt2,
[dir="rtl"] #mwai-admin-settings .mwai-chevron {
  transform: scaleX(-1);
}

/*
 * Scrollbars and overflow: in RTL the horizontal scrollbar starts on the right,
 * and a container that only ever had a left margin looks like it is cut off.
 * Both are corrected by using logical properties where the SPA used physical
 * ones on the containers we own.
 */
[dir="rtl"] #mwai-admin-settings,
[dir="rtl"] #mwai-dashboard,
[dir="rtl"] #mwai-playground {
  text-align: right;
}

[dir="rtl"] #mwai-admin-settings .components-panel__body,
[dir="rtl"] #mwai-dashboard .components-panel__body {
  padding-inline: 16px;
  padding-left: 16px;
  padding-right: 16px;
}

/*
 * Tables: the first column is the label and must lead on the right. Cell
 * alignment follows the text direction, but numeric columns keep their LTR
 * order so figures stay comparable at a glance.
 */
[dir="rtl"] #mwai-admin-settings table {
  text-align: right;
}

[dir="rtl"] #mwai-admin-settings table td.mwai-numeric,
[dir="rtl"] #mwai-admin-settings table th.mwai-numeric {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

/* Form controls inherit the font; browsers do not do this by default. */
#mwai-admin-settings input,
#mwai-admin-settings select,
#mwai-admin-settings textarea,
#mwai-admin-settings button,
.mwai-chatbot input,
.mwai-chatbot textarea,
.mwai-chatbot button {
  font-family: inherit;
}

/*
 * The chatbot's own message bubbles: the operator's typing area grows with the
 * content, and Persian metrics make it a little taller than the Latin default.
 */
.mwai-chatbot .mwai-input,
.mwai-chatbot textarea {
  line-height: 1.8;
  min-height: 2.75em;
}

/*
 * The SPA's outer gutter, which is hard-coded to one physical side.
 *
 * Measured on the live admin screen: AI Engine writes
 *
 *   .ljTBFJ { margin-left: -20px; margin-bottom: -26px; }
 *
 * onto the element that also carries the stable class `neko-page`. The -20px
 * is not arbitrary: wp-admin gives `#wpcontent` a 20px padding, and the SPA
 * reaches into that gutter so its content runs edge to edge. WordPress mirrors
 * that padding in RTL (`#wpcontent` keeps its 20px on the RIGHT), but AI Engine's
 * margin is physical, not logical, so it still pulls 20px to the LEFT. The
 * result is measured and concrete: the SPA box starts at x = -20 and the page
 * grows 20px wider than the viewport.
 *
 * Mirrored would be `margin-right: -20px; margin-left: 0`, which reaches into
 * the right-hand gutter that actually exists in RTL. `margin-bottom` is vertical
 * and is deliberately left alone. The selector uses `neko-page` rather than the
 * styled-components hash (`ljTBFJ`), because the hash is regenerated whenever AI
 * Engine rebuilds its bundle; the semantic class is the part that is meant to
 * stay.
 *
 * The rule is placed at the end of this file and wins on specificity
 * (`[dir=rtl] #mwai-admin-settings .neko-page` is two classes and an id against
 * the bundle's single class), not on source order, so it does not depend on
 * being enqueued after the SPA's own injected styles.
 */
[dir="rtl"] #mwai-admin-settings .neko-page,
[dir="rtl"] #mwai-dashboard .neko-page,
[dir="rtl"] #mwai-playground .neko-page {
  margin-left: 0;
  margin-right: -20px;
}

/*
 * --- The trigger bubble ("Icon Text"): a compact greeting chip -------------
 *
 * HISTORY, because this rule has been corrected once and the reason matters.
 *
 * A site-level stylesheet (an AI Engine theme "Custom CSS" override, injected by
 * the chatbot bundle as an inline <style> inside `#mwai-chatbot-default`) was
 * pinning the greeting bubble with `!important` to:
 *
 *   font-size: 8px;  line-height: 1.1;  max-width: 75px;  padding: 2px 4px;
 *   white-space: nowrap;  overflow: hidden;  text-overflow: ellipsis;
 *
 * 8px is below every legibility floor, and `nowrap` + `75px` + ellipsis clipped
 * the text instead of sizing it. The first correction re-asserted AI Engine's
 * OWN theme defaults from `themes/messages.css:1901` (`font-size: 14px;
 * line-height: 1.45; max-width: 270px; padding: 12px 16px; border-radius: 12px`),
 * which stopped the clipping - and that was reported as fixed.
 *
 * MEASURED AGAIN, 2026-10-21, at 1440x900, 834x1112 and 390x844: those defaults
 * are wrong for a two-word greeting. The bubble renders 66.2 x 73.3 px - TALLER
 * than the 64 px launcher it points at - because `max-width: 270px` is only a
 * ceiling: the bubble is a child of the 66.2 px wide `.mwai-trigger`, so its
 * available width is ~66 px, and with 32 px of horizontal padding only ~34 px
 * remained for "سلام!". The text wrapped to two lines and the 22 px header row
 * plus 5 px margin (`themes/messages.css:1918`) sat on top of that. The
 * operator's report is exactly this: the popup is far too large on desktop as
 * well as on mobile.
 *
 * The values below are therefore a deliberate compact design, not a restoration:
 *
 *   font-size: 11px / line-height: 1.3   legible, and the same floor this file
 *                                        uses elsewhere for secondary UI text
 *   padding: 5px 10px                    a chip, not a panel
 *   border-radius: 10px                  reads as a small pill
 *   max-width: none                      sizes to its own content instead of
 *                                        inheriting the 66 px trigger width,
 *                                        which is what forced the wrap
 *   white-space: nowrap                  "سلام!" is one short line; wrapping is
 *                                        what made the bubble tall
 *
 * Why `!important` and why the extra `.mwai-chatbot-container` ancestor:
 * the override we are answering carries `!important` itself and is emitted
 * AFTER this stylesheet (it is appended into the chatbot container at runtime,
 * near the end of <body>), so source order would lose the tie. The extra
 * ancestor raises specificity to (0,5,0) against the override's (0,4,0), and
 * the `!important` settles the remaining tie. It is the only way to win
 * against a third-party `!important` without editing that third party.
 *
 * Scope: the trigger bubble only. Nothing else about the chatbot is touched.
 */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-trigger .mwai-icon-text-container,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger .mwai-icon-text-container {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-trigger .mwai-icon-text-container .mwai-icon-text,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
  max-width: none !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  padding: 5px 10px !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/*
 * The bubble-to-launcher alignment is NOT here. It lives in
 * assets/persian-rtl.css (section 2), because the guard this rule used was
 * inert and the defect it was written to fix therefore came back.
 *
 * MEASURED, 2026-10-21, 1440x900 / 834x1112 / 390x844 on the local install:
 * this rule declared `:dir(rtl)`, and `:dir(rtl)` matched NOTHING.
 * `document.documentElement.matches(":dir(rtl)")` is false, and so is the same
 * test on the trigger, on `.mwai-icon-text-container` and on the chip itself.
 * `:dir()` resolves from the direction of the element or an ANCESTOR; it does
 * not match an element whose own `direction` was set by a stylesheet, which is
 * exactly how this layer establishes RTL. This install is an LTR locale
 * (`document.dir === ""`, no `dir` attribute on html or body), so the
 * pseudo-class had nothing to resolve against and `align-items` stayed at
 * upstream's `end` / `flex-end`. Result: `bubble.right - trigger.right`
 * measured -24.4 px - the chip sat 24.4 px to the LEFT of the launcher, the
 * same class of defect the rule existed to remove (17.1 px before the compact
 * sizing landed).
 *
 * This sheet is the typography layer and is loaded on every locale, so it is
 * the wrong home for a rule that is only correct once the widget is RTL. The
 * rule now lives in the RTL sheet, whose own existence is the condition.
 */

/*
 * The bubble header is collapsed, because in this install it holds nothing but
 * the close button.
 *
 * MEASURED: the header is `display: flex; min-height: 22px; margin-bottom: 5px`
 * (`themes/messages.css:1918`), and the React tree renders it with the avatar
 * and the name only when those are configured
 * (`app/chatbot.js:2:235794` - `React.createElement("div",{className:"mwai-icon-text-header"}, t, r && ...name, closeButton)`).
 * This chatbot sets `aiName: ""` and no avatar, so `t` and `r` are falsy and the
 * header is 22px of empty box plus a 5px margin above a one-line greeting. That
 * is 27 of the measured 73.3px bubble height, i.e. the popup was taller than
 * the robot it points at.
 *
 * Taking the header out of flow removes those 27px and lets the close button be
 * positioned against the chip's corner instead of inside a header row.
 *
 * CORRECTION (1.3.7): out of flow was not enough. The close control inside the
 * header is absolutely positioned at a negative offset, so collapsing the header
 * to `height: 0` still left the X painting over the chip - the operator's
 * "the X is still huge". `display: none` is the correct value: it removes the
 * header, its "AI" label and the close control from paint and from the
 * accessibility tree in one declaration.
 */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-header,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-header {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  display: none !important;
  pointer-events: none !important;
}

/*
 * The close control: a small glyph in the chip's top-right corner, with a hit
 * area that stays a full 24 x 24 px.
 *
 * Two competing requirements, both real. The operator's is that the control is
 * far too large today. The accessibility one is WCAG 2.2 SC 2.5.8 (Target Size
 * Minimum, AA), which wants a 24 x 24 CSS px target - and the bubble itself is
 * also a target (clicking it opens the chatbot), so a genuinely tiny close
 * button would be mis-tapped and would open the chat when the visitor meant to
 * dismiss the greeting.
 *
 * The two are reconciled by separating the VISUAL box from the HIT box: the
 * glyph and its background are 16 x 16 px, and an `::after` overlay expands the
 * clickable region to 24 x 24 px. Nothing about the chip grows.
 *
 * `right`/`top` are physical on purpose: the close is pinned to the physical
 * top-right corner of the chip, which is where a dismiss control is expected in
 * both directions and where it does not sit on top of the greeting text.
 */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-close,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-close {
  --mwai-icon-close-size: 16px;
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  left: auto !important;
  bottom: auto !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 0 !important;
  font-size: 9px !important;
  line-height: 1 !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  opacity: 0.9 !important;
  z-index: 3 !important;
  pointer-events: auto !important;
}

:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-close::after,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-close::after {
  content: "" !important;
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  bottom: -4px !important;
  left: -4px !important;
}

/*
 * The gap between the bubble and the chat icon is deliberately NOT set above.
 * AI Engine puts the bubble 15px ABOVE the icon for a bottom-anchored chatbot
 * and 15px BELOW it for a top-anchored one (`.mwai-window.mwai-top-right`
 * / `.mwai-top-left` in `themes/messages.css`), so a single blanket margin
 * would be correct in one anchor and wrong in the other. These two rules mirror
 * AI Engine's own split instead of guessing.
 */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-window:is(.mwai-bottom-right, .mwai-bottom-left) .mwai-trigger .mwai-icon-text,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window:is(.mwai-bottom-right, .mwai-bottom-left) .mwai-trigger .mwai-icon-text {
  margin-bottom: 15px !important;
  margin-top: 0 !important;
}

:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-window:is(.mwai-top-right, .mwai-top-left) .mwai-trigger .mwai-icon-text,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window:is(.mwai-top-right, .mwai-top-left) .mwai-trigger .mwai-icon-text {
  margin-bottom: 0 !important;
  margin-top: 15px !important;
}
/* [inline: after] */.mwai-chatbot, .mwai-form-container{direction:rtl;}.mwai-chatbot input[type=number], .mwai-chatbot input[type=url], .mwai-chatbot input[type=email], .mwai-chatbot input[type=tel], .mwai-chatbot code, .mwai-chatbot pre, .mwai-chatbot .mwai-code, .mwai-chatbot textarea.mwai-code, .mwai-form-container input[type=number], .mwai-form-container input[type=url], .mwai-form-container input[type=email], .mwai-form-container input[type=tel], .mwai-form-container code, .mwai-form-container pre, .mwai-form-container .mwai-code, .mwai-form-container textarea.mwai-code{direction:ltr;text-align:left;unicode-bidi:embed;}
/* [/inline: after] */
/*!/wp-content/plugins/mwai-gapgpt-connector/assets/persian-rtl.css*/
/*
 * Persian (fa_IR) RTL geometry for AI Engine.
 * ---------------------------------------------------------------------------
 * WHAT THIS COVERS
 *   The free AI Engine core lays out its admin SPA and chat themes with physical
 *   direction declarations. Measured directional debt (counter script, see the
 *   connector build log):
 *     app/workspace.css  40   themes/chatgpt.css  120   foundation.css 112
 *     themes/glass.css  123   messages.css       121   timeless.css   119
 *   Concretely: horizontal margins/paddings that push content the wrong way
 *   (a message list keeps its 15px gutter on the wrong edge, the sidebar keeps
 *   its rail on the wrong side), border-left/right accent bars (blockquote, the
 *   tool-approval card, Glass inline engine spans), text-align:left/right in the
 *   SPA, absolute left/right offsets on popovers, menus, badges and hover
 *   toolbars, asymmetric bubble corner radii, and two physical translateX calls.
 *
 * WHY LOGICAL PROPERTIES FIRST
 *   margin-inline-start, padding-inline, border-inline-end, inset-inline-start
 *   and the logical corner radii resolve to the SAME physical side as the
 *   originals while the container is LTR, so re-asserting them is layout-neutral
 *   in English and flips automatically once the container resolves to RTL. That
 *   is strictly better than a pile of [dir=rtl] .x{margin-left:0;margin-right:8px}
 *   pairs, which double every rule and drift out of sync.
 *
 *   IMPORTANT, AND MEASURED: a logical property does NOT cancel a physical one.
 *   Injecting only margin-inline-start:15px on a rule that already declared
 *   margin-left:15px produced 15px on BOTH sides in RTL (the logical one added
 *   the start gutter, the physical one stayed). So every rule below states BOTH
 *   logical sides -- the one that should carry the value and an explicit zero /
 *   auto for the other -- which clears the original declaration from the computed
 *   style no matter which direction wins.
 *
 * DIRECTION SOURCE
 *   This sheet never sets direction itself. Measured: the local WordPress install
 *   resolves to LTR (document.dir === "", lang="en-US", the settings root computes
 *   direction:ltr), and the sibling assets/persian.css does not set direction:rtl
 *   on the roots either. Under LTR every rule here is either a no-op or reproduces
 *   the original geometry, so the sheet cannot regress the English layout; the
 *   moment an RTL direction is established (by the Persian / i18n layer, on html
 *   or on the container) the same rules flip. The few rules with no logical
 *   equivalent match on the [dir="rtl"] attribute when the site sets one, and on
 *   the bare theme class when it does not - which is this install, where html and
 *   body carry no direction. They deliberately do NOT use :dir(rtl): measured
 *   2026-10-21, :dir() resolves from the direction of the element or an ancestor
 *   and does not see a direction a stylesheet set, so every :dir(rtl) selector in
 *   this layer matched nothing. See section 2 and section 5 for the full record.
 *
 * SCOPE
 *   Every selector is anchored to an AI Engine container: the six SPA roots named
 *   in the connector contract, #mwai-workspace (measured: the real Workspace page
 *   renders <div id="mwai-workspace">, which the six-root list omits), or one of
 *   the five measured chatbot theme classes. Measured: the chatbot root carries
 *   .mwai-chat plus the theme class; a bare .mwai-chatbot class does not exist in
 *   the shipped CSS, so the theme classes are the authoritative frontend scope.
 *   wp-admin own chrome is never touched.
 *
 * ORDERING
 *   These rules match the originals at EQUAL specificity, so enqueue this file
 *   AFTER ai-engine app/workspace.css and themes/*.css. (Verified by injecting it
 *   last in a real browser: the overrides win.)
 *
 * DELIBERATELY NOT DONE
 *   - Digits are not converted and columns are not re-ordered: the bidi algorithm
 *     already keeps a digit run LTR inside its cell, so "1,536" cannot mirror to
 *     "6351". Tables only gain tabular-nums so figures line up.
 *   - The window / trigger anchors .mwai-window{right:30px}, .mwai-trigger{right:0}
 *     and the .mwai-bottom-right / .mwai-top-left variants are NOT mirrored: they
 *     encode a PHYSICAL corner the operator picked, so mirroring them would move
 *     the widget and its launcher.
 *   - transform-origin is not mirrored for the same reason (it is paired with
 *     those physical anchor classes).
 */

/* ===========================================================================
 * 1. Workspace (admin SPA) -- #mwai-workspace
 * The [data-theme] attribute is present on the measured root, so these rules sit
 * one class above the originals and do not depend on stylesheet order.
 * =========================================================================== */

/* Rail + sidebar hairline sits on the reader start edge. Both sides stated so
 * the original border-right cannot linger in RTL. */
#mwai-workspace[data-theme] .mwai-ws-rail,
#mwai-workspace[data-theme] .mwai-ws-sidebar {
  border-inline-start: 0 none;
  border-inline-end: 1px solid var(--hairline);
}
#mwai-workspace[data-theme] .mwai-ws-sidebar.collapsed {
  border-inline-start: 0 none;
  border-inline-end: 0 none;
}

/* Auto margins pin an item to the inline end; logical start solves both. */
#mwai-workspace[data-theme] .mwai-ws-back,
#mwai-workspace[data-theme] .mwai-ws-folder-check,
#mwai-workspace[data-theme] .mwai-ws-conv-actions,
#mwai-workspace[data-theme] .mwai-ws-topbar-right,
#mwai-workspace[data-theme] .mwai-ws-model-env .mwai-ws-env-chev,
#mwai-workspace[data-theme] .mwai-ws-send,
#mwai-workspace[data-theme] .mwai-ws-stop,
#mwai-workspace[data-theme] .mwai-ws-pro-chip,
#mwai-workspace[data-theme] .mwai-ws-feature-status,
#mwai-workspace[data-theme] .mwai-ws-pin-btn {
  margin-inline-start: auto;
  margin-inline-end: 0;
}
#mwai-workspace[data-theme] .mwai-ws-folder-group .mwai-ws-conv {
  margin-inline-start: 14px;
  margin-inline-end: 0;
}
#mwai-workspace[data-theme] .mwai-ws-accent-name {
  margin-inline-start: 3px;
  margin-inline-end: 0;
}
#mwai-workspace[data-theme] .mwai-ws-feature-status + .mwai-ws-pin-btn {
  margin-inline-start: 8px;
  margin-inline-end: 0;
}
#mwai-workspace[data-theme] .mwai-ws-feature-row {
  padding-inline-start: 0;
  padding-inline-end: 8px;
}

/* Popovers, menus, badges and inline icons positioned with left/right. */
#mwai-workspace[data-theme] .mwai-ws-rail-soon {
  inset-inline-start: auto;
  inset-inline-end: -20px;
}
#mwai-workspace[data-theme] .mwai-ws-search svg {
  inset-inline-start: 10px;
  inset-inline-end: auto;
}
#mwai-workspace[data-theme] .mwai-ws-folder-menu {
  inset-inline-start: auto;
  inset-inline-end: 8px;
}
#mwai-workspace[data-theme] .mwai-ws-model-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
#mwai-workspace[data-theme] .mwai-ws-msg-menu,
#mwai-workspace[data-theme] .mwai-ws-pop {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
#mwai-workspace[data-theme] .mwai-ws-tune .mwai-ws-pop.mwai-ws-tune-pop {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
#mwai-workspace[data-theme] .mwai-ws-pop-check {
  inset-inline-start: auto;
  inset-inline-end: 10px;
}
#mwai-workspace[data-theme] .mwai-ws-tune-dot {
  inset-inline-start: auto;
  inset-inline-end: 5px;
}
#mwai-workspace[data-theme] .mwai-ws-icon-badge {
  inset-inline-start: auto;
  inset-inline-end: -3px;
}

/* Left-aligned menu rows become start-aligned. */
#mwai-workspace[data-theme] .mwai-ws-folder-menu-item,
#mwai-workspace[data-theme] .mwai-ws-model-item,
#mwai-workspace[data-theme] .mwai-ws-msg-menu button,
#mwai-workspace[data-theme] .mwai-ws-pop-item {
  text-align: start;
}

/* Lists, table cells and quotes inside a message body. */
#mwai-workspace[data-theme] .mwai-ws-body ul,
#mwai-workspace[data-theme] .mwai-ws-body ol {
  padding-inline-start: 24px;
  padding-inline-end: 0;
}
#mwai-workspace[data-theme] .mwai-ws-body th,
#mwai-workspace[data-theme] .mwai-ws-body td {
  text-align: start;
}
#mwai-workspace[data-theme] .mwai-ws-body blockquote {
  border-inline-start: 3px solid color-mix(in srgb, var(--accent) 55%, var(--hairline));
  border-inline-end: 0 none;
}

/* The tool-approval card accent bar follows the reader start edge. */
#mwai-workspace[data-theme] .mwai-ws-approval {
  border-inline-start: 3px solid var(--accent);
  border-inline-end: 0 none;
}

/* Bubbles: the 4px tail was bottom-right in the source; logical corners move it
 * to the reader bottom-end on their own. Source shorthand was 16px 16px 4px 16px. */
#mwai-workspace[data-theme] .mwai-ws-bubble,
#mwai-workspace[data-theme] .mwai-ws-edit {
  border-start-start-radius: 16px;
  border-start-end-radius: 16px;
  border-end-start-radius: 16px;
  border-end-end-radius: 4px;
}

/* ===========================================================================
 * 2. Frontend chatbot themes
 * =========================================================================== */

/*
 * The chatbot root must be told its direction explicitly, because AI Engine
 * renders it with `dir="auto"` and that resolves per-element, not per-page.
 *
 * MEASURED on the live site, 2026-10-21: the widget root `#mwai-chatbot-default`
 * carries `dir="auto"`. On desktop the first strong character of the widget's
 * content happens to be Persian, so `auto` resolves RTL and the box looks
 * correct. On mobile (390x844) the same element resolved `direction: ltr` and
 * every descendant inherited it - `mwai-window`, `mwai-body`, `mwai-input` and
 * the textarea all computed `direction: ltr`. That is the operator's "the
 * message box is still left-to-right on mobile". The page itself is RTL
 * (`<html dir="rtl" lang="fa-IR">`, `body.rtl`), so this is the widget's own
 * `auto` losing to whatever content resolves first, not a page-level problem.
 *
 * `dir` is an HTML attribute, not a CSS property, and CSS cannot set it - but
 * `direction` is a CSS property and it wins over the attribute's `auto` result
 * for every element this rule matches. Stating it on the theme class covers the
 * root and is inherited by the whole subtree, which is what makes the input,
 * the placeholder and the send row agree with the page.
 *
 * Scoped to the five measured theme classes so nothing outside the widget moves.
 */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) {
  direction: rtl;
}

/*
 * The greeting bubble must hug the physical RIGHT edge of the launcher.
 *
 * MEASURED, 2026-10-21 at 1440x900 / 834x1112 / 390x844: `align-items` on both
 * `.mwai-trigger` and `.mwai-icon-text-container` was upstream's `end` /
 * `flex-end` (`themes/messages.css:1887` and `:1893`), and both are COLUMN
 * flexboxes - so the moment this sheet sets the widget to RTL the cross-axis END
 * becomes the LEFT and the shrink-wrapped chip is placed against the left of the
 * launcher. `bubble.right - trigger.right` measured -24.4 px.
 *
 * Both levels are corrected, because `.mwai-trigger` places the inner container
 * at its own cross edge first. `.mwai-trigger` is full width inside its box and
 * the robot is a full 64 px, so flipping the cross alignment moves only the chip
 * and leaves the robot where it was.
 *
 * THE DIRECTION GUARD IS THE SHEET, NOT A SELECTOR. An earlier revision stated
 * this rule with `:dir(rtl)` in assets/persian.css and it never matched once:
 * `:dir()` resolves from the direction of the element or an ancestor, it does
 * not see a `direction` that a stylesheet set, and this install's html and body
 * carry no direction at all. This file is enqueued only when
 * MWAI_GapGPT_Persian::is_persian(), which is precisely the condition wanted, so
 * no pseudo-class has to guess.
 *
 * The `.mwai-chatbot-container` form is stated first on purpose: it raises
 * specificity to (0,3,0) against upstream's (0,2,0), so the flip holds even if
 * enqueue order ever changes.
 */
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-trigger,
.mwai-chatbot-container :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger .mwai-icon-text-container,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-chatbot-container .mwai-trigger .mwai-icon-text-container {
  align-items: flex-start;
}

/* Latin runs inside the widget (codes, URLs, numbers) stay LTR, as elsewhere. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) code,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) pre,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) input[type="number"],
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) input[type="url"],
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) input[type="email"],
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) input[type="tel"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

/* Message-body lists: source margin: 0 0 0 15px. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text ul,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text ol {
  margin-inline-start: 15px;
  margin-inline-end: 0;
}

/* Table cells inside a reply. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text th,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text td {
  text-align: start;
}

/* Shortcut chips, the compliance footnote and the input counter. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-shortcuts .mwai-shortcut,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-compliance {
  text-align: start;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-footer .mwai-tools + .mwai-compliance,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input-counter {
  text-align: end;
}

/* User vs assistant alignment. end resolves right in LTR and left in RTL, so the
 * visitor own bubbles swap sides with the reader; the text stays start-aligned. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-user {
  text-align: end;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-user .mwai-text {
  text-align: start;
}

/* Avatar / name gutters and the footer tool row. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-name,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-user .mwai-name .mwai-name-text {
  margin-inline-start: 0;
  margin-inline-end: 5px;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-name .mwai-avatar,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-user .mwai-name .mwai-name-text {
  margin-inline-end: 10px;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-footer .mwai-tools {
  margin-inline-start: 0;
  margin-inline-end: calc(var(--mwai-spacing) / 2);
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-ai .mwai-reply-actions {
  margin-inline-start: -7px;
  margin-inline-end: 0;
}

/* File preview, terminal prompt and timer gutters. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-files .mwai-file-preview .mwai-file-remove {
  margin-inline-start: auto;
  margin-inline-end: 0;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-terminal .mwai-terminal-prompt,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input .mwai-terminal-line .mwai-terminal-prompt {
  margin-inline-start: -4px;
  margin-inline-end: 4px;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) button .mwai-timer {
  margin-inline-start: 5px;
  margin-inline-end: 5px;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-form-container .mwai-form-submit.mwai-loading button .mwai-timer,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-form-container .mwai-form-reset.mwai-loading button .mwai-timer {
  margin-inline-start: 16px;
  margin-inline-end: 0;
}

/* Reply toolbar, upload badge and the per-row hover toolbar. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply-actions {
  inset-inline-start: auto;
  inset-inline-end: 10px;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-error .mwai-reply-actions,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-conversation .mwai-reply.mwai-error .mwai-reply-actions {
  inset-inline-start: auto;
  inset-inline-end: auto;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-footer .mwai-tools .mwai-file-upload-icon.mwai-lucide .mwai-upload-count,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-lucide .mwai-upload-count {
  inset-inline-start: auto;
  inset-inline-end: -6px;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input .mwai-input-text .mwai-file-upload-icon:not(.mwai-lucide) .mwai-file-upload-progress {
  inset-inline-start: 23px;
  inset-inline-end: auto;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-discussions .mwai-discussion .mwai-discussion-actions {
  inset-inline-start: auto;
  inset-inline-end: calc(var(--mwai-spacing) / 2);
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-conversation .mwai-reply:not(.mwai-error) .mwai-reply-actions {
  inset-inline-start: 100%;
  inset-inline-end: auto;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-conversation .mwai-reply.mwai-user:not(.mwai-error) .mwai-reply-actions {
  inset-inline-start: auto;
  inset-inline-end: 100%;
}

/* Window header, close button and the header name gutter. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window .mwai-header .mwai-buttons {
  margin-inline-start: auto;
  margin-inline-end: 0;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window .mwai-header .mwai-buttons .mwai-close-button {
  margin-inline-start: -10px;
  margin-inline-end: 0;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window .mwai-header .mwai-name {
  margin-inline-start: var(--mwai-spacing);
  margin-inline-end: 0;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-trigger .mwai-icon-text-container .mwai-icon-text .mwai-icon-text-close {
  margin-inline-start: auto;
  margin-inline-end: -4px;
}

/* Text-area and transcript paddings. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input .mwai-input-text textarea {
  padding-inline-start: calc(var(--mwai-spacing) / 2);
  padding-inline-end: calc(var(--mwai-spacing) / 2);
}

/*
 * the textarea must state its own direction, not only inherit it.
 *
 * MEASURED 2026-10-21 on the live site: the widget root carries `dir="auto"`
 * and on mobile (390x844) it resolved LTR, so the placeholder «متن پیام شما»
 * rendered flush left. The rule above sets `direction` on the theme class, but
 * the vendor bundle re-applies `dir="auto"` per element and some themes align
 * descendants physically - so the box must say it itself. Stating direction AND
 * text-align on the field is what makes the placeholder and the text agree with
 * the page on every theme.
 */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input .mwai-input-text textarea,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input .mwai-input-text input {
  direction: rtl !important;
  text-align: right !important;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-input .mwai-input-text textarea::placeholder {
  text-align: right !important;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-realtime .mwai-last-transcript {
  padding-inline-end: calc(var(--mwai-spacing) / 2 + 10px);
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-discussions .mwai-discussion {
  padding-inline: calc(var(--mwai-spacing) / 2);
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window.mwai-open,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window.mwai-open .mwai-mobile-header {
  padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window.mwai-open .mwai-mobile-header {
  padding-inline: calc(15px + env(safe-area-inset-left, 0)) calc(15px + env(safe-area-inset-right, 0));
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window .mwai-header {
  padding-block: 0;
  padding-inline-start: 15px;
  padding-inline-end: 0;
}

/* Code-block headers carry a 12px leading pad. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text .mwai-code-header {
  padding-block: 4px;
  padding-inline: 12px 6px;
}

/* Chunk status toggles (Knowledge-style panels rendered inside the chatbot). */
.mwai-chat .mwai-chunks .mwai-chunks-header .mwai-chunks-status,
.mwai-chat .mwai-chunks .mwai-chunks-header .mwai-chunks-toggle {
  margin-inline-start: 4px;
  margin-inline-end: 0;
}

/* --- Theme-specific values ----------------------------------------------- */

/* Bubble tails, expressed as logical corners so they flip with the reader. */
.mwai-glass-theme .mwai-conversation .mwai-reply.mwai-ai,
.mwai-glass-theme .mwai-conversation .mwai-reply.mwai-error {
  border-start-start-radius: 20px;
  border-start-end-radius: 20px;
  border-end-start-radius: 7px;
  border-end-end-radius: 20px;
}
.mwai-glass-theme .mwai-conversation .mwai-reply.mwai-user {
  border-start-start-radius: 20px;
  border-start-end-radius: 20px;
  border-end-start-radius: 20px;
  border-end-end-radius: 7px;
}
.mwai-glass-theme .mwai-reply.mwai-ai .mwai-text blockquote {
  border-inline-start: 3px solid transparent;
  border-inline-end: 0 none;
}

.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai,
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error {
  border-end-start-radius: 5px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-ai:has(+ .mwai-reply.mwai-ai),
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-error:has(+ .mwai-reply.mwai-ai) {
  border-end-start-radius: 15px;
  margin-block-end: 4px;
}
.mwai-messages-theme .mwai-conversation .mwai-reply.mwai-user:has(+ .mwai-reply.mwai-user) {
  border-end-end-radius: 15px;
  margin-block-end: 4px;
}
/*
 * The message box must NOT be mirrored. This is a correction, and it replaces an
 * earlier mirroring rule that was itself the bug.
 *
 * MEASURED on the live site, 2026-10-21, desktop 1440x900 and tablet 834x1112:
 * the send button sits at the PHYSICAL right of the input row in every direction
 * (`themes/messages.css` anchors it with `right: var(--mwai-submitRight)`), while
 * the source reserves room for it with a PHYSICAL `padding-right`. The mirrored
 * rule moved that reserve to the logical end, which in RTL is the LEFT, leaving
 * only 6px between the text and the button that is still on the right. Rendered
 * result: textarea `padL=88px padR=6px` against a button occupying 70x32px on the
 * right - a measured 70x32px overlap, so typed Persian text runs underneath the
 * send button. That is the operator's "text went under the send button".
 *
 * The correct rule is therefore the source's own geometry, stated physically, so
 * it agrees with wherever the button actually is. `padding-inline-*` is
 * deliberately NOT used here: a logical property cannot describe an element that
 * is anchored physically.
 *
 * The `min-width` guard matters. Below 760px the source turns the submit button
 * into a full-width, statically positioned block (`position: relative`,
 * `width: 100%`) and reduces this padding to `var(--mwai-spacing)`. Because this
 * sheet is enqueued after the themes it would otherwise win that tie and reserve
 * 70px for a button that is no longer beside the text.
 */
@media (min-width: 761px) {
  .mwai-messages-theme .mwai-input .mwai-input-text textarea {
    padding-left: var(--mwai-spacing);
    padding-right: calc(70px + var(--mwai-spacing) + 6px);
  }
  /*
   * glass/timeless anchor their own submit button the same physical way but with
   * a smaller token, so they need their own reserve. Without this the text runs
   * under the button on exactly those themes.
   */
  .mwai-glass-theme .mwai-input .mwai-input-text textarea,
  .mwai-timeless-theme .mwai-input .mwai-input-text textarea {
    padding-left: var(--mwai-spacing);
    padding-right: calc(var(--mwai-submitSize, 40px) + var(--mwai-spacing) + 15px);
  }
}

/*
 * chatgpt/foundation put the send button in NORMAL flow, so RTL reverses the row
 * and the vendor's own gap is not guaranteed to hold. Pin the order and give the
 * row an explicit gap, so the button never lands on top of the field's text.
 * `order` is used instead of relying on `row-reverse` because the vendor may set
 * either, and these two declarations settle it in both directions.
 */
.mwai-chatgpt-theme .mwai-input,
.mwai-foundation-theme .mwai-input {
  flex-direction: row !important;
  column-gap: 8px;
}
.mwai-chatgpt-theme .mwai-input .mwai-input-text,
.mwai-foundation-theme .mwai-input .mwai-input-text {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}
.mwai-chatgpt-theme .mwai-input .mwai-input-submit,
.mwai-foundation-theme .mwai-input .mwai-input-submit {
  order: 1;
  flex: 0 0 auto;
}

.mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-ai,
.mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-error {
  border-end-start-radius: calc(var(--mwai-borderRadius) / 3);
}
.mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-user {
  border-end-end-radius: calc(var(--mwai-borderRadius) / 3);
}
.mwai-timeless-theme.mwai-window .mwai-header .mwai-buttons {
  margin-inline-start: auto;
  margin-inline-end: var(--mwai-spacing);
}
.mwai-timeless-theme.mwai-window .mwai-header .mwai-name {
  margin-inline-start: var(--mwai-spacing);
  margin-inline-end: 0;
}

/* Two-image thumbnails: the 4px corner was on the right in the source. */
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image:nth-child(1) {
  border-start-start-radius: var(--mwai-borderRadius);
  border-start-end-radius: 4px;
  border-end-start-radius: var(--mwai-borderRadius);
  border-end-end-radius: 4px;
}
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply.mwai-user .mwai-user-images:has(.mwai-user-image:nth-child(2)) .mwai-user-image:nth-child(2) {
  border-start-start-radius: 4px;
  border-start-end-radius: var(--mwai-borderRadius);
  border-end-start-radius: 4px;
  border-end-end-radius: var(--mwai-borderRadius);
}

/* ===========================================================================
 * 3. Technical content stays LTR (code, pre, monospace text areas)
 *   persian.css already covers code/pre inside #mwai-admin-settings and
 *   .mwai-chatbot, so those are omitted; this adds the remaining roots, the
 *   theme scope and the code textarea. unicode-bidi: embed keeps the surrounding
 *   paragraph order intact while forcing the code run LTR.
 * =========================================================================== */

:is(#mwai-admin-settings, #mwai-playground, #mwai-dashboard, #mwai-content-generator, #mwai-image-generator, #mwai-video-generator) pre,
:is(#mwai-admin-settings, #mwai-playground, #mwai-dashboard, #mwai-content-generator, #mwai-image-generator, #mwai-video-generator) code,
#mwai-workspace pre,
#mwai-workspace code,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) pre,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) code,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) textarea.mwai-code,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-code,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-code-block {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

/* ===========================================================================
 * 4. Tables / numbers
 *   Digits are not converted and columns are not re-ordered; the figure column
 *   is only given tabular numerals so values stay comparable at a glance.
 * =========================================================================== */

:is(#mwai-admin-settings, #mwai-playground, #mwai-dashboard, #mwai-content-generator, #mwai-image-generator, #mwai-video-generator) table,
#mwai-workspace table,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text table {
  font-variant-numeric: tabular-nums;
}

/* ===========================================================================
 * 5. Fallbacks for properties with no logical equivalent
 *   Matched on the html [dir="rtl"] attribute AND on this sheet's own scope.
 *
 *   MEASURED, 2026-10-21: these rules used to carry a :dir(rtl) twin, and that
 *   twin never matched anything on this install - :dir() resolves from the
 *   direction of the element or an ancestor and does not see a `direction` set
 *   by a stylesheet, while html and body carry no direction here. The twin was
 *   therefore deleted rather than left to look like a second safety net. The
 *   `[dir="rtl"]` half is kept for the site that does set the attribute, and the
 *   bare theme-class half below is what carries the rule on this install - this
 *   whole file is enqueued only when the install is Persian.
 * =========================================================================== */

/* AI Engine injects inline border-left accent spans into a reply, and the Glass
 * theme re-asserts them with !important. An inline style cannot be displaced by a
 * logical property, so this needs !important for exactly the same reason the
 * theme uses it: to move the accent bar to the reader start edge. The physical
 * bar is zeroed first, then redrawn on the other edge. */
[dir="rtl"] :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text span[style*="border-left"],
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme) .mwai-reply .mwai-text span[style*="border-left"] {
  border-left: 0 !important;
  border-right: 3px solid var(--mwai-accentColor) !important;
  margin-left: 0 !important;
  margin-right: 3px !important;
}

/* Context-menu rows nudge toward the inline end on hover with a physical
 * translateX, which has no logical equivalent and must be mirrored here. */
[dir="rtl"] :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-discussions .mwai-context-menu .mwai-menu-item:hover,
:is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-discussions .mwai-context-menu .mwai-menu-item:hover {
  transform: translateX(-2px);
}


/* ===========================================================================
 * 9. Window vs the site's sticky bottom navigation, and the carousel glyph
 * =========================================================================== */

/*
 * The chat window is bottom-anchored at 30px by every shipped theme, and this
 * site's own `nav.bodyman-mobile-nav` is a fixed 70px bar with a 12px bottom
 * inset (MEASURED 2026-10-21: height 70, bottom 12, z-index 99990) that appears
 * below ~1024px. So at mobile and tablet the window and the launcher both sit
 * UNDER the nav. `--bm-bottom-nav` is the single knob: set it to the measured
 * nav height and both anchors clear it.
 *
 * Only the BOTTOM anchors are raised - the top-anchored variants
 * (`.mwai-top-right` / `.mwai-top-left`) and the vendor's fullscreen rules
 * (`bottom: 0 !important`) are deliberately left alone, which is why the
 * `:not(.mwai-fullscreen)` guard is here. The vendor's own `max-height` is not
 * touched, so the window keeps its documented height budget.
 */
/*
 * The whole correction is confined to <=1024px, because that is the only range
 * in which the nav exists. Two consequences are deliberate:
 *
 *  - Above 1024px nothing here applies, so the operator's own chatbot custom CSS
 *    (which anchors the desktop launcher at `calc(3% + safe-area)`) keeps the
 *    last word. A blanket rule would have pulled the desktop launcher from its
 *    tuned 27px down to 16px - a change nobody asked for.
 *  - The measured nav is 70px tall with a 12px bottom inset (MEASURED
 *    2026-10-21, identical at 390 and 834), so its lower edge sits 82px above the
 *    viewport bottom. `70px + 16px = 86px` clears that edge by 4px - i.e. the
 *    window is ABOVE the bar, not merely touching it. 74px was carried here
 *    before; it was never a measurement, so it is gone.
 *
 * `html body` is prefixed for a measured reason: the operator's own rule for this
 * launcher is `.mwai-messages-theme.mwai-animation-zoom.mwai-window.mwai-bottom-right
 * .mwai-trigger` - five classes, exactly the same count as the selectors below -
 * and both sides say `!important`, so the winner would be decided by which
 * stylesheet happens to print last. Two extra element selectors (worth 0,0,2)
 * settle it in our favour deterministically instead of by luck.
 */
@media (max-width: 1024px) {
  :root { --bm-bottom-nav: 70px; }
}
@media (max-width: 1024px) {
  html body :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window:is(.mwai-bottom-right, .mwai-bottom-left):not(.mwai-fullscreen) {
    bottom: calc(var(--bm-bottom-nav, 0px) + 16px) !important;
  }
  html body :is(.mwai-chatgpt-theme, .mwai-foundation-theme, .mwai-glass-theme, .mwai-messages-theme, .mwai-timeless-theme).mwai-window:is(.mwai-bottom-right, .mwai-bottom-left):not(.mwai-fullscreen) .mwai-trigger {
    bottom: calc(var(--bm-bottom-nav, 0px) + 16px) !important;
  }
}

/*
 * Woo Basics renders the carousel arrows as the literal characters "←" / "→"
 * inside a styled-components button, so the glyph does not flip with the page
 * direction and points the wrong way in RTL.
 *
 * The button itself carries only a hashed class, but the container class
 * `mwai-product-carousel-container` is stable (mwai-woo-basics/classes/tools.php:432)
 * and the two arrows are the ONLY buttons that are direct grandchildren of it -
 * the card's "View Product" button is nested deeper inside the card. So
 * `> div > button` cannot catch the wrong button.
 */
.mwai-product-carousel-container > div > button,
[dir="rtl"] .mwai-product-carousel-container > div > button {
  transform: scaleX(-1) !important;
}
/*!/wp-content/plugins/ajax-search-for-woocommerce-premium/assets/css/style.min.css*/
.dgwt-wcas-block-scroll{overflow:hidden}.dgwt-wcas-search-wrapp{position:relative;line-height:100%;display:block;color:#444;min-width:230px;width:100%;text-align:left;margin:0 auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dgwt-wcas-tpd-image img{margin:0 15px 0 0!important}.rtl .dgwt-wcas-tpd-image img{margin:0 0 0 15px!important}.dgwt-wcas-preloader-wrapp img{margin:10px auto 0;display:block;max-width:200px}.dgwt-wcas-preloader-wrapp img.dgwt-wcas-placeholder-preloader{display:block;width:100%;height:auto;max-width:300px;margin:0}.dgwt-wcas-suggestions-wrapp{background:#fff;border:1px solid #ddd;border-top:none;padding:0;margin:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow-y:auto}.dgwt-wcas-details-wrapp *,.dgwt-wcas-search-wrapp *,.dgwt-wcas-suggestions-wrapp *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dgwt-wcas-details-wrapp a:focus,.dgwt-wcas-suggestions-wrapp a:focus{outline:0}.dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp--top{border:1px solid #ddd;border-bottom:none}.dgwt-wcas-is-detail-box .dgwt-wcas-suggestions-wrapp{max-width:550px}.dgwt-wcas-full-width.dgwt-wcas-is-detail-box .dgwt-wcas-suggestion{padding:8px 15px}.dgwt-wcas-details-left .dgwt-wcas-suggestions-wrapp{border-radius:0 0 5px;border-left-color:#eee}.dgwt-wcas-details-right .dgwt-wcas-suggestions-wrapp{border-radius:0 0 0 5px;border-right-color:#eee}.dgwt-wcas-suggestion{cursor:pointer;font-size:12px;line-height:110%;text-align:left;padding:7px 10px;position:relative;border-bottom:1px solid #dfdfdf;display:flex;flex-direction:row;justify-content:space-between;align-items:center;resize:vertical;width:100%;transition:none!important}.dgwt-wcas-suggestion-nores{font-size:15px;line-height:157%;padding:15px;width:100%}.dgwt-wcas-suggestion-nores p{padding:0;margin:0 0 10px;font-size:18px}.dgwt-wcas-suggestion-nores ol,.dgwt-wcas-suggestion-nores ul{padding:0 0 0 30px;margin:0}.dgwt-wcas-suggestion-nores ul li{list-style:disc}.dgwt-wcas-open-pirx .dgwt-wcas-suggestion-nores{padding:10px 10px 10px 34px}.dgwt-wcas-suggestion.dgwt-wcas-suggestion-more{justify-content:center;color:#6d6d6d}a.dgwt-wcas-details-more-products{padding:15px 0 10px;display:block;border-top:1px solid #eee;text-align:center;font-size:12px;text-transform:uppercase;color:#6d6d6d;transition:.2s ease-in-out}a.dgwt-wcas-details-more-products:hover,a.dgwt-wcas-details-post-title:hover,a.dgwt-wcas-details-product-title:hover,a.dgwt-wcas-product-details-readmore:hover{text-decoration:underline}a.dgwt-wcas-product-details-readmore{display:block;text-align:right;margin-top:15px;color:#6d6d6d;text-transform:uppercase;letter-spacing:1px;font-weight:400;font-size:12px}.dgwt-wcas-has-headings .dgwt-wcas-suggestion,.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline,.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax,.dgwt-wcas-suggestion.dgwt-wcas-suggestion-no-border-bottom,body:not(.dgwt-wcas-is-details) .dgwt-wcas-suggestion:last-child{border-bottom:none}.dgwt-wcas-suggestion:after{clear:both;display:block;content:''}.dgwt-wcas-suggestion.dgwt-wcas-nores{cursor:default;opacity:.5}.dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product{padding-top:8px;padding-bottom:8px;min-height:60px}.dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product.dgwt-wcas-suggestion-history-product,.dgwt-wcas-is-details .dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product,.dgwt-wcas-suggestion-history-search{min-height:40px}.dgwt-wcas-is-details .dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-more,.dgwt-wcas-suggestion.dgwt-wcas-suggestion-more{min-height:30px;text-transform:uppercase}.dgwt-wcas-suggestion.dgwt-wcas-suggestion-more .dgwt-wcas-st-more{padding:0 10px;text-align:center}.dgwt-wcas-st{display:block;color:#444;font-size:15px;width:100%;line-height:110%}.dgwt-wcas-st .dgwt-wcas-score{color:#8e44ad;font-weight:700;font-size:80%}.dgwt-wcas-st>span{display:inline-block;vertical-align:middle}.dgwt-wcas-has-sku .dgwt-wcas-st-title{margin-right:6px}.dgwt-wcas-st>span.dgwt-wcas-st--direct-headline{display:block;font-style:italic;font-size:10px;text-transform:uppercase;opacity:.4;line-height:10px;margin-bottom:1px;letter-spacing:2px}.dgwt-wcas-st-breadcrumbs{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:80%;text-align:left;opacity:.6;width:100%;padding-right:10px}.rtl .dgwt-wcas-st-breadcrumbs{padding-right:0;padding-left:10px;text-align:right}.dgwt-wcas-sku{font-size:80%}.dgwt-wcas-si{width:50px;display:block;height:100%}.dgwt-wcas-si img{background:#fff;border:1px solid #e8e8e8;border-radius:3px;display:block;margin:auto;padding:2px;height:auto;width:auto;max-height:90%;max-width:100%}.dgwt-wcas-has-img-forced .dgwt-wcas-suggestion-history-product .dgwt-wcas-si,.dgwt-wcas-suggestion-history-search .dgwt-wcas-si{display:flex;align-items:center;justify-content:center}.dgwt-wcas-has-img-forced .dgwt-wcas-suggestion-history-product .dgwt-wcas-si svg,.dgwt-wcas-suggestion-history-search .dgwt-wcas-si svg,.dgwt-wcas-suggestion-searches .dgwt-wcas-si svg{max-width:18px}.dgwt-wcas-has-img:not(.dgwt-wcas-has-img-forced) .dgwt-wcas-suggestion-history-product .dgwt-wcas-si>svg{margin-left:10px}.dgwt-wcas-content-wrapp{display:flex;height:100%;width:100%;justify-content:space-between;align-items:center;resize:vertical;padding-left:10px}.rtl .dgwt-wcas-content-wrapp{padding-left:0;padding-right:10px}.dgwt-wcas-sp{color:#555;font-size:14px;line-height:120%;text-align:right;padding-left:10px}.dgwt-wcas-sp *{line-height:130%}.dgwt-wcas-search-form{margin:0;padding:0;width:100%}.dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-is-details:not(.dgwt-wcas-details-outside) .dgwt-wcas-suggestion-nores,.dgwt-wcas-sd{margin-top:5px}.dgwt-wcas-sp del{opacity:.5;font-size:12px}.dgwt-wcas-sd{color:#777;display:block;line-height:14px;width:100%;font-size:.8em}.dgwt-wcas-vendor-city{margin-left:5px;font-size:.8em}.dgwt-wcas-suggestion-selected{background-color:#eee}.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp.dgwt-wcas-search-focused input[type=search].dgwt-wcas-search-input:hover,.dgwt-wcas-tpd-image{background-color:#fff}.dgwt-wcas-suggestion-selected:first-child{border-top:none}.rtl .dgwt-wcas-suggestion{padding-left:0;padding-right:15px;text-align:right}.dgwt-wcas-details-wrapp{background:#fff;border:1px solid #ddd;border-top:none;border-left:none;padding:0;width:300px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;z-index:100;min-height:340px}.dgwt-wcas-datails-title,.dgwt-wcas-pd-title{border-bottom:1px dashed #eee;padding-bottom:5px}.rtl .dgwt-wcas-details-wrapp{border-left:1px solid #ddd;border-right:none}.dgwt-wcas-details-outside .dgwt-wcas-details-wrapp{margin-top:-1px;border-top:1px solid #ddd;max-width:300px}.dgwt-wcas-details-outside.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp{margin-top:-1px;border-top:1px solid #ddd}.dgwt-wcas-details-right .dgwt-wcas-details-wrapp{border-left:none;border-right:1px solid #ddd;border-radius:0 5px 5px 0}.dgwt-wcas-details-left .dgwt-wcas-details-wrapp{border-right:none;border-left:1px solid #ddd;border-radius:5px 0 0 5px}.dgwt-wcas-details-inner,.dgwt-wcas-details-notfit .dgwt-wcas-details-wrapp{display:none}.dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp,.dgwt-wcas-open-pirx .dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp,.rtl.dgwt-wcas-full-width .dgwt-wcas-details-wrapp{border-radius:0 0 0 5px}.dgwt-wcas-full-width .dgwt-wcas-details-wrapp,.rtl.dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp{border-radius:0 0 5px}.dgwt-wcas-details-inner.dgwt-wcas-details-inner-active,.dgwt-wcas-details-wrapp .added_to_cart,.dgwt-wcas-has-desc .dgwt-wcas-sp>*,.dgwt-wcas-has-img .dgwt-wcas-sp>*{display:block}.dgwt-wcas-details-inner-taxonomy{margin-top:11px}.woocommerce .dgwt-wcas-pd-rating .star-rating{float:left;margin-right:5px;font-size:12px;color:#ccae72}.rtl .dgwt-wcas-pd-rating .star-rating{float:right;margin-left:5px;margin-right:0}.dgwt-wcas-datails-title{font-size:14px}.dgwt-wcas-pd-title{color:#202020}.dgwt-wcas-pd-title .product-title{color:#202020;text-transform:uppercase;margin:0}.dgwt-wcas-tax-product-details{text-decoration:none;display:flex;align-items:center;justify-content:left;transition:.2s ease-in-out;padding:5px;margin:0 -5px 15px}.dgwt-wcas-pd-rating:after,.dgwt-wcas-tax-product-details:after{content:'';clear:both;display:block}.dgwt-wcas-tax-product-details:hover{box-shadow:0 0 11px 2px rgba(0,0,0,.05)}.rtl .dgwt-wcas-tax-product-details{justify-content:right}.dgwt-wcas-details-wrapp .dgwt-wcas-pd-title{margin-bottom:8px}.dgwt-wcas-overlay-mobile .dgwt-wcas-style-pirx .dgwt-wcas-preloader,.dgwt-wcas-tpd-image{margin-right:15px}.dgwt-wcas-pd-rest .product-title{display:block;line-height:100%;font-weight:500;margin-bottom:5px}.dgwt-wcas-tpd-rest{max-width:200px}.dgwt-wcas-tpd-rest-title{display:block;line-height:125%;font-size:14px;font-weight:500;letter-spacing:0;margin:0 0 8px;overflow:hidden;color:#000}.dgwt-wcas-pd-price,.dgwt-wcas-tpd-price{line-height:120%;overflow:hidden;color:#000;margin-top:15px;font-weight:700;font-size:18px}.dgwt-wcas-tpd-price{font-size:12px;color:#777}.dgwt-wcas-pd-price .woocommerce-price-suffix,.dgwt-wcas-tpd-price .woocommerce-price-suffix{font-size:12px;font-weight:lighter;color:#999;margin-left:4px;display:inline-block}.dgwt-wcas-details-title-tax,.dgwt-wcas-pd-title .product-title{font-weight:900;letter-spacing:-1px;text-transform:uppercase}.dgwt-wcas-pd-price del .amount,.dgwt-wcas-tpd-price del .amount{font-weight:lighter;background:0 0;font-size:90%;opacity:.6}.dgwt-wcas-pd-price ins,.dgwt-wcas-tpd-price ins{background:0 0;text-decoration:none}.dgwt-wcas-pd-rating{font-size:13px;line-height:13px}.dgwt-wcas-pd-review{color:#777;font-size:11px;line-height:11px}.dgwt-wcas-datails-title{display:block;margin:5px 0 15px}.dgwt-wcas-pd-title{margin-bottom:15px;display:block;text-decoration:none}.dgwt-wcas-details-title-tax{margin-right:3px}.rtl .dgwt-wcas-details-title-tax{margin:0 0 0 3px;float:right}.dgwt-wcas-tpd-image{width:70px;padding:4px;border:1px solid #e8e8e8;border-radius:4px;display:flex;flex-direction:column;justify-content:center}.dgwt-wcas-details-space{padding:0 15px 15px}.dgwt-wcas-details-main-image{border-bottom:1px solid #eee;min-height:200px;display:flex}.dgwt-wcas-details-main-image img{width:auto;height:auto;display:block;max-height:250px;max-width:100%;margin:0 auto;padding:0;border:none;align-self:center}.dgwt-wcas-details-right .dgwt-wcas-details-main-image img{border-radius:0 3px 0 0}.dgwt-wcas-details-left .dgwt-wcas-details-main-image img{border-radius:3px 0 0}a.dgwt-wcas-details-post-title,a.dgwt-wcas-details-product-title{color:#333;display:block;line-height:120%;margin:10px 0 0;font-size:21px;font-weight:400;text-decoration:none;text-transform:none}a.dgwt-wcas-details-post-title{margin-bottom:15px}.dgwt-wcas-details-product-sku{display:block;font-size:12px;line-height:110%;color:#999}.dgwt-wcas-tpd-image img{display:block;max-width:100%;width:100%;height:auto}.dgwt-wcas-details-hr{height:1px;width:100%;border-bottom:1px solid #eee;margin:15px 0}.rtl .dgwt-wcas-tpd-image{float:right;margin-right:0;margin-left:15px}.rtl .dgwt-wcas-tpd-rest{float:right;max-width:190px}.rtl input[type=search].dgwt-wcas-search-input{text-align:right}input[type=search].dgwt-wcas-search-input,input[type=text].dgwt-cas-search-input{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;-webkit-box-shadow:none;box-shadow:none;margin:0;-webkit-appearance:textfield;text-align:left}[type=search].dgwt-wcas-search-input::-ms-clear{display:none}[type=search].dgwt-wcas-search-input::-webkit-search-decoration{-webkit-appearance:none}[type=search].dgwt-wcas-search-input::-webkit-search-cancel-button{display:none}.dgwt-wcas-details-desc{font-size:13px;line-height:157%}.dgwt-wcas-details-desc b,.dgwt-wcas-details-desc strong{font-weight:400;color:#000;margin:0;padding:0}.dgwt-wcas-pd-addtc-form{margin:10px 0;display:flex;align-items:center;justify-content:flex-end}.dgwt-wcas-pd-addtc-form>.quantity{margin-right:10px}.dgwt-wcas-pd-addtc-form .add_to_cart_inline,.dgwt-wcas-pd-addtc-form .quantity input.qty{margin-bottom:0;margin-top:0}.dgwt-wcas-stock{display:block;text-align:right;font-size:14px;line-height:14px;margin-bottom:14px}.dgwt-wcas-stock.in-stock{color:#0f834d}.dgwt-wcas-stock.out-of-stock{color:#e2401c}.dgwt-wcas-pd-addtc .add_to_cart_button,.dgwt-wcas-pd-addtc .add_to_cart_inline{margin:0}.dgwt-wcas-has-headings .dgwt-wcas-st>span.dgwt-wcas-st--direct-headline,.dgwt-wcas-layout-icon .dgwt-wcas-icon-preloader,.dgwt-wcas-layout-icon-flexible-inv:not(.dgwt-wcas-layout-icon) .dgwt-wcas-search-icon,.dgwt-wcas-layout-icon-flexible-inv:not(.dgwt-wcas-layout-icon) .dgwt-wcas-search-icon-arrow,.dgwt-wcas-layout-icon-flexible:not(.dgwt-wcas-layout-icon) .dgwt-wcas-search-icon,.dgwt-wcas-layout-icon-flexible:not(.dgwt-wcas-layout-icon) .dgwt-wcas-search-icon-arrow,.dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,.dgwt-wcas-overlay-mobile .dgwt-wcas-search-icon,.dgwt-wcas-overlay-mobile .dgwt-wcas-search-icon-arrow,.dgwt-wcas-overlay-mobile-on .dgwt-wcas-enable-mobile-form,.dgwt-wcas-overlay-mobile-on .dgwt-wcas-icon-handler,.dgwt-wcas-overlay-mobile-on.dgwt-wcas-is-ios body:not(.dgwt-wcas-theme-flatsome)>:not(.dgwt-wcas-overlay-mobile),.dgwt-wcas-pd-addtc .add_to_cart_button.added,.dgwt-wcas-search-icon-arrow,.dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon.dgwt-wcas-layout-icon-open:not(.dgwt-wcas-has-submit) .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier,.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:before,.dgwt-wcas-voice-search-supported.dgwt-wcas-search-filled .dgwt-wcas-voice-search,body .dgwt-wcas-content-wrapp .rood,body .dgwt-wcas-content-wrapp .zwave{display:none}button.dgwt-wcas-search-submit,input[type=submit].dgwt-wcas-search-submit{position:relative}.dgwt-wcas-ico-magnifier{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;height:65%;display:block}.dgwt-wcas-preloader{height:100%;position:absolute;right:0;top:0;width:40px;z-index:-1;background-repeat:no-repeat;background-position:right 15px center;background-size:auto 44%}.dgwt-wcas-voice-search{position:absolute;right:0;top:0;height:100%;width:40px;z-index:1;opacity:.5;cursor:pointer;align-items:center;justify-content:center;display:none;-webkit-transition:160ms ease-in-out;-moz-transition:160ms ease-in-out;-ms-transition:160ms ease-in-out;-o-transition:160ms ease-in-out;transition:160ms ease-in-out}.dgwt-wcas-close:hover,.dgwt-wcas-style-pirx .dgwt-wcas-voice-search:hover,.dgwt-wcas-voice-search:hover{opacity:.3}.dgwt-wcas-voice-search path{fill:#444}.dgwt-wcas-voice-search-supported .dgwt-wcas-voice-search{display:flex}.dgwt-wcas-voice-search-supported .dgwt-wcas-preloader{right:40px}.rtl .dgwt-wcas-overlay-mobile .dgwt-wcas-style-pirx .dgwt-wcas-voice-search,.rtl .dgwt-wcas-preloader,.rtl .dgwt-wcas-voice-search{right:auto;left:5px}.dgwt-wcas-mobile-overlay-trigger-active .dgwt-wcas-voice-search{z-index:105}.rtl .dgwt-wcas-voice-search-supported .dgwt-wcas-preloader{right:auto;left:45px}.dgwt-wcas-inner-preloader{background-repeat:no-repeat;background-position:right 8px center;background-size:auto 22px;display:flex;align-items:center;justify-content:center;z-index:1}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.dgwt-wcas-inner-preloader{background-image:url('/wp-content/plugins/ajax-search-for-woocommerce-premium/assets/css/../img/preloader.gif')}}.dgwt-wcas-loader-circular{height:24px;width:24px;-webkit-animation:2s linear infinite rotate;-moz-animation:2s linear infinite rotate;animation:2s linear infinite rotate}.dgwt-wcas-loader-circular-path{fill:transparent;stroke-linecap:round;stroke-width:4px;stroke-dasharray:1,200;stroke-dashoffset:0;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-animation:1s ease-in-out infinite dash;-moz-animation:1s ease-in-out infinite dash;animation:1s ease-in-out infinite dash;stroke:#ddd}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes rotate{100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@-moz-keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.dgwt-wcas-close:not(.dgwt-wcas-inner-preloader){cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-transition:160ms ease-in-out;-moz-transition:160ms ease-in-out;-ms-transition:160ms ease-in-out;-o-transition:160ms ease-in-out;transition:160ms ease-in-out;z-index:1}.dgwt-wcas-close:not(.dgwt-wcas-inner-preloader):before{content:'';display:block;position:absolute;background:0 0;height:100%;width:100%;left:0;bottom:0;top:0;right:0;margin:auto}.dgwt-wcas-close path{fill:#ccc}@media screen and (max-width:992px){.dgwt-wcas-is-detail-box .dgwt-wcas-suggestions-wrapp{max-width:none}}.dgwt-wcas-suggestion strong{font-weight:700}.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}.dgwt-wcas-sf-wrapp:after,.dgwt-wcas-sf-wrapp:before{content:"";display:table}.dgwt-wcas-sf-wrapp:after{clear:both}.dgwt-wcas-sf-wrapp{zoom:1;width:100%;max-width:100vw;margin:0;position:relative;background:0 0}.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{width:100%;height:40px;font-size:14px;line-height:100%;padding:10px 15px;margin:0;background:#fff;border:1px solid #ddd;border-radius:3px;-webkit-border-radius:3px;-webkit-appearance:none;box-sizing:border-box}.dgwt-wcas-is-ios .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input,.dgwt-wcas-is-ios .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{font-size:16px}.dgwt-wcas-open .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{border-radius:3px 3px 0 0}.dgwt-wcas-layout-icon-open.dgwt-wcas-style-pirx .dgwt-wcas-search-icon-arrow,.dgwt-wcas-open.dgwt-wcas-nores .dgwt-wcas-details-wrapp .dgwt-wcas-preloader-wrapp,.dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-details-outside .dgwt-wcas-details-wrapp{display:none!important}.dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-details-outside .dgwt-wcas-suggestions-wrapp{min-height:0!important;border-radius:0 0 5px 5px;border-right-color:#ddd}.dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-full-width .dgwt-wcas-details-wrapp,.dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp{min-height:41px!important}.dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-full-width:not(.rtl):not(.dgwt-wcas-details-outside) .dgwt-wcas-suggestions-wrapp{border-right-color:transparent}.rtl.dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-full-width:not(.dgwt-wcas-details-outside) .dgwt-wcas-suggestions-wrapp{border-left-color:transparent}.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{outline:0;background:#fff;box-shadow:0 0 9px 1px rgba(0,0,0,.06);-webkit-transition:150ms ease-in;-moz-transition:150ms ease-in;-ms-transition:150ms ease-in;-o-transition:150ms ease-in;transition:150ms ease-in}.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder{color:#999;font-weight:400;font-style:italic;line-height:normal}.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::-webkit-input-placeholder{color:#999;font-weight:400;font-style:italic;line-height:normal}.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:-moz-placeholder{color:#999;font-weight:400;font-style:italic;line-height:normal}.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::-moz-placeholder{color:#999;font-weight:400;font-style:italic;line-height:normal}.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:-ms-input-placeholder{color:#999;font-weight:400;font-style:italic;line-height:normal}.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{overflow:visible;position:absolute;border:0;padding:0 15px;margin:0;cursor:pointer;height:40px;min-width:50px;width:auto;line-height:100%;min-height:100%;right:0;left:auto;top:0;bottom:auto;color:#fff;-webkit-transition:250ms ease-in-out;-moz-transition:250ms ease-in-out;-ms-transition:250ms ease-in-out;-o-transition:250ms ease-in-out;transition:250ms ease-in-out;text-transform:uppercase;background-color:#333;border-radius:0 2px 2px 0;-webkit-border-radius:0 2px 2px 0;text-shadow:0 -1px 0 rgba(0,0,0,.3);-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none}.rtl .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{left:0;right:auto}.dgwt-wcas-open .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit{border-radius:0 2px 0 0}.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover,.dgwt-wcas-sugg-hist-clear:hover{opacity:.7}.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:active,.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:focus{opacity:.7;outline:0}.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before{content:'';position:absolute;border-width:8px 8px 8px 0;border-style:solid solid solid none;border-color:transparent #333;top:12px;left:-6px;-webkit-transition:250ms ease-in-out;-moz-transition:250ms ease-in-out;-ms-transition:250ms ease-in-out;-o-transition:250ms ease-in-out;transition:250ms ease-in-out}.rtl .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before{left:auto;right:-6px;border-width:8px 0 8px 8px;border-style:solid none solid solid}.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:active:before,.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:focus:before,.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover:before{border-right-color:#333}.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::-moz-focus-inner{border:0;padding:0}.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp{min-height:340px;overflow:visible}.dgwt-wcas-is-details .dgwt-wcas-si{width:30px;max-width:100%;box-sizing:border-box}.dgwt-wcas-is-details .dgwt-wcas-sp{display:flex;top:0;flex-direction:column;height:100%;justify-content:center;resize:vertical}.dgwt-wcas-is-details .dgwt-wcas-sd{font-size:11px;line-height:100%}.dgwt-wcas-has-img .dgwt-wcas-suggestion[data-taxonomy=product_cat],.dgwt-wcas-has-img .dgwt-wcas-suggestion[data-taxonomy=product_tag]{padding-left:15px;min-height:0}.dgwt-wcas-has-img .dgwt-wcas-suggestion[data-taxonomy=product_cat] .dgwt-wcas-st,.dgwt-wcas-has-img .dgwt-wcas-suggestion[data-taxonomy=product_tag] .dgwt-wcas-st{padding-left:0}.dgwt-wcas-ico-magnifier,.dgwt-wcas-ico-magnifier-handler,html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon{max-width:20px}.dgwt-wcas-no-submit .dgwt-wcas-ico-magnifier{height:50%;margin:auto;max-height:20px;width:100%;max-width:20px;left:12px;right:auto;opacity:.5;fill:#444}.rtl .dgwt-wcas-no-submit .dgwt-wcas-ico-magnifier{left:auto;right:12px}.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding:10px 15px 10px 40px}.rtl .dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding:10px 40px 10px 15px}.dgwt-wcas-overlay-mobile-on,.dgwt-wcas-overlay-mobile-on body{overflow:hidden;min-width:100vw;min-height:100vh}html.dgwt-wcas-overlay-mobile-on{scroll-behavior:unset}.dgwt-wcas-om-bar{display:flex;height:45px;width:100%}.dgwt-wcas-om-bar button.dgwt-wcas-om-return,.dgwt-wcas-om-bar button.dgwt-wcas-om-return:active,.dgwt-wcas-om-bar button.dgwt-wcas-om-return:focus,.dgwt-wcas-om-bar button.dgwt-wcas-om-return:hover{width:45px;height:100%;display:block;background:#ccc;cursor:pointer;position:relative;margin:0;padding:0;box-shadow:none;outline:0;border:none;border-spacing:0;border-radius:0}.dgwt-wcas-om-bar .dgwt-wcas-om-return svg{width:23px;height:23px;position:absolute;left:12px;top:12px;fill:#fff}.rtl .dgwt-wcas-om-bar .dgwt-wcas-om-return svg{left:11px;top:9px;-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path{fill:#fff}.dgwt-wcas-om-bar .dgwt-wcas-has-submit-off .dgwt-wcas-preloader{right:0!important}.rtl .dgwt-wcas-om-bar .dgwt-wcas-has-submit-off .dgwt-wcas-preloader{left:4px!important;right:auto!important}.rtl .dgwt-wcas-om-bar .dgwt-wcas-style-pirx.dgwt-wcas-has-submit-off .dgwt-wcas-preloader{left:10px!important;right:auto!important}@keyframes dgwt-wcas-preloader-price-anim{0%,100%{background:rgba(128,128,128,.03)}50%{background:rgba(128,128,128,.1)}}.dgwt-wcas-preloader-price-inner div:first-child{left:0;animation-delay:-.1s}.dgwt-wcas-preloader-price-inner div:nth-child(2){left:13px;animation-delay:-.2s}.dgwt-wcas-preloader-price-inner div:nth-child(3){left:26px;animation-delay:-.3s}.dgwt-wcas-preloader-price{width:34px;height:10px;display:inline-block;overflow:hidden;background:0 0}.dgwt-wcas-preloader-price-inner{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}.dgwt-wcas-preloader-price-inner div{position:absolute;width:8px;height:8px;background:rgba(128,128,128,.05);animation:.8s cubic-bezier(0,.5,.5,1) infinite dgwt-wcas-preloader-price-anim;-webkit-transition:.2s ease-in-out;-moz-transition:.2s ease-in-out;-ms-transition:.2s ease-in-out;-o-transition:.2s ease-in-out;transition:.2s ease-in-out}.dgwt-wcas-om-bar .dgwt-wcas-search-wrapp-mobile{width:calc(100% - 45px);max-width:none;margin:0}.dgwt-wcas-overlay-mobile .dgwt-wcas-search-form,.dgwt-wcas-overlay-mobile-on .dgwt-wcas-suggestion{width:100%}.dgwt-wcas-overlay-mobile{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;background:#fff}.dgwt-wcas-overlay-mobile *{box-sizing:border-box}.dgwt-wcas-search-wrapp-mobile input[type=search].dgwt-wcas-search-input{height:45px!important;border-top:none;border-right:none;border-left:none;border-radius:0;font-size:16px!important}.dgwt-wcas-search-wrapp-mobile input[type=search].dgwt-wcas-search-input:focus{font-size:16px!important}.dgwt-wcas-overlay-mobile-on .dgwt-wcas-suggestions-wrapp{left:0!important;top:45px!important;width:100%!important;height:calc(100% - 45px)!important;position:absolute;overflow-y:auto;border:none;margin:0;display:block}.dgwt-wcas-enable-mobile-form{position:absolute;z-index:100;left:0;top:0;width:100%;height:100%;cursor:pointer;display:block}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-icon-mobile .dgwt-wcas-search-form{display:none;position:relative}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-icon-mobile{min-width:0;display:inline-block;width:28px;height:28px}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-icon-handler{height:100%;width:100%}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-icon-handler .dgwt-wcas-ico-magnifier{opacity:1;position:static;max-width:none;max-height:none}.dgwt-wcas-overlay-mobile-on.dgwt-wcas-is-ios body{overflow:auto}.dgwt-wcas-overlay-mobile-on.dgwt-wcas-is-ios{overflow:visible}.dgwt-wcas-overlay-mobile-on.dgwt-wcas-is-ios .dgwt-wcas-suggestions-wrapp{max-height:none!important;height:auto!important}.dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon{min-width:unset}.menu .dgwt-wcas-search-icon,html:not(.dgwt-wcas-overlay-mobile-on) .menu .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon{width:auto}.dgwt-wcas-layout-icon-flexible .dgwt-wcas-search-form,.dgwt-wcas-layout-icon-flexible-inv .dgwt-wcas-search-form{opacity:0}.dgwt-wcas-layout-icon-flexible-inv:not(.dgwt-wcas-layout-icon-flexible-loaded),.dgwt-wcas-layout-icon-flexible-inv:not(.dgwt-wcas-layout-icon-flexible-loaded) .dgwt-wcas-search-form,.dgwt-wcas-layout-icon-flexible:not(.dgwt-wcas-layout-icon-flexible-loaded),.dgwt-wcas-layout-icon-flexible:not(.dgwt-wcas-layout-icon-flexible-loaded) .dgwt-wcas-search-form{max-width:20px;min-width:unset}.dgwt-wcas-icon-preloader{margin:auto;position:absolute;top:0;left:0;bottom:0;right:0}.dgwt-wcas-layout-icon-flexible-loaded .dgwt-wcas-search-form{opacity:1}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon .dgwt-wcas-search-form{opacity:0;display:none;position:absolute;left:0;top:calc(100% + 8px);min-width:500px;z-index:1000}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon.dgwt-wcas-layout-icon-open .dgwt-wcas-search-form{display:block;opacity:1}.dgwt-wcas-search-icon{width:20px;height:auto;cursor:pointer;display:block}li.menu-item a.dgwt-wcas-search-icon{padding-right:0;padding-left:0}.dgwt-wcas-ico-magnifier-handler{margin-bottom:-.2em;width:100%}.dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon.dgwt-wcas-layout-icon-open .dgwt-wcas-search-icon{opacity:.6}.dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon.dgwt-wcas-layout-icon-open.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding-left:15px}.dgwt-wcas-layout-icon-open .dgwt-wcas-search-icon-arrow{display:block;position:absolute;top:calc(100% + 2px);left:0;z-index:5;width:15px;height:15px;background:#fff;border:1px solid #ddd;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.dgwt-wcas-has-headings .dgwt-wcas-suggestion-headline{pointer-events:none;display:block;font-weight:500;white-space:nowrap}.dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline-v2{display:block;font-weight:500;white-space:nowrap;cursor:default;font-size:14px;margin-top:5px;margin-bottom:15px}.dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline-v2 .dgwt-wcas-st{padding-bottom:3px;margin-top:16px}.dgwt-wcas-has-headings .dgwt-wcas-suggestion-headline .dgwt-wcas-st{border-bottom:1px solid #ddd;padding-bottom:3px;text-transform:uppercase;margin-top:16px;font-size:12px}.dgwt-wcas-has-headings .dgwt-wcas-suggestion-tax .dgwt-wcas-st{padding:0}.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax.dgwt-wcas-suggestion-selected,.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax:hover{background:0 0;text-decoration:underline}.dgwt-wcas-is-details .dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax{min-height:30px}.dgwt-wcas-sugg-hist-clear{cursor:pointer;text-decoration:underline;display:inline-block;margin-left:2px}.dgwt-wcas-darkened-overlay{display:block;position:absolute;opacity:.15;z-index:100000;left:0;top:0}.dgwt-wcas-darkened-overlay>div{background:#111;position:absolute}.dgwt-wcas-search-wrapp.dgwt-wcas-search-darkoverl-on .dgwt-wcas-search-form{background-color:rgba(17,17,17,.15);border:none;border-radius:0}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp{background:#fff;padding:10px;border-radius:10px}.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp{padding-top:0;padding-bottom:0}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding:13px 24px 13px 48px;line-height:24px;font-size:17px;border:2px solid transparent;border-radius:30px;height:auto;font-family:Roboto,sans-serif;background-color:#eee}.dgwt-wcas-open-pirx .dgwt-wcas-open .dgwt-wcas-suggestions-wrapp,.dgwt-wcas-open-pirx .dgwt-wcas-open.dgwt-wcas-nores .dgwt-wcas-suggestions-wrapp{border-radius:0 0 5px 5px}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{box-shadow:none;transition:30ms ease-in}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover{background-color:#dfdfdf}.dgwt-wcas-style-pirx.dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{border-color:#333}.dgwt-wcas-open .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{border-radius:30px}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{background:0 0;border-radius:100%;border:0;display:flex;align-items:center;justify-content:center;padding:0;margin:0;position:absolute;min-height:33px;min-width:33px;height:33px;width:33px;left:23px;top:21px;pointer-events:none;transition:none}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg{width:18px;height:18px}.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{left:auto;right:28px;pointer-events:auto;animation:.3s fadeIn}.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding-left:24px;padding-right:48px;transition:none!important}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover{opacity:1;background:#e4e4e4;box-shadow:0 0 0 2px #e4e4e4;border-radius:100%}.dgwt-wcas-style-pirx .dgwt-wcas-preloader{margin-right:35px}.rtl .dgwt-wcas-style-solaris .dgwt-wcas-preloader,.rtl .dgwt-wcas-style-solaris .dgwt-wcas-voice-search{margin-left:4px}.dgwt-wcas-style-pirx .dgwt-wcas-close:not(.dgwt-wcas-inner-preloader){transition:none;width:18px}.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-om-bar button.dgwt-wcas-om-return path,.dgwt-wcas-style-pirx .dgwt-wcas-close:not(.dgwt-wcas-inner-preloader) path,.dgwt-wcas-style-pirx .dgwt-wcas-voice-search svg path,.dgwt-wcas-style-pirx.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path{fill:#111}.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder{opacity:1;font-style:normal;font-weight:300;color:#777}.dgwt-wcas-open-pirx .dgwt-wcas-details-wrapp,.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp{border-color:#fff;padding-top:10px;padding-bottom:10px}.dgwt-wcas-open-pirx .dgwt-wcas-details-inner,.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion{padding-left:20px;padding-right:20px}.dgwt-wcas-open-pirx .dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion,.dgwt-wcas-open-pirx body.dgwt-wcas-details-left .dgwt-wcas-details-wrapp{border-right:1px solid #ddd}.dgwt-wcas-open-pirx .dgwt-wcas-details-outside .dgwt-wcas-details-wrapp,.dgwt-wcas-open-pirx .dgwt-wcas-details-outside.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp{margin-top:0;border-top:none}.dgwt-wcas-open-pirx body.dgwt-wcas-details-right .dgwt-wcas-suggestions-wrapp{border-right:none}.dgwt-wcas-open-pirx body.dgwt-wcas-details-right .dgwt-wcas-details-wrapp{border-left:1px solid #ddd}.dgwt-wcas-open-pirx body.dgwt-wcas-details-left .dgwt-wcas-suggestions-wrapp{border-left:none}.dgwt-wcas-open-pirx .dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-full-width .dgwt-wcas-details-wrapp,.dgwt-wcas-open-pirx .dgwt-wcas-open.dgwt-wcas-nores.dgwt-wcas-full-width .dgwt-wcas-suggestions-wrapp{min-height:70px!important}.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{border-radius:0;background:0 0;padding:0 10px}.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp-mobile.dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{border-color:transparent}.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp-mobile.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding-left:10px}.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp-mobile .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover{background-color:transparent}.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-suggestions-wrapp{border-top:1px solid #e0e2e5}.dgwt-wcas-open-pirx .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp,.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-om-bar button.dgwt-wcas-om-return{background:#fff}.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-om-bar button.dgwt-wcas-om-return svg{left:17px;top:16px;width:17px;height:17px}.dgwt-wcas-style-pirx .dgwt-wcas-voice-search{right:20px;top:1px;opacity:1}.rtl .dgwt-wcas-style-pirx .dgwt-wcas-voice-search{right:auto;left:50px}.dgwt-wcas-overlay-mobile .dgwt-wcas-style-pirx .dgwt-wcas-voice-search{right:5px}.dgwt-wcas-overlay-mobile .dgwt-wcas-style-solaris .dgwt-wcas-voice-search{right:5px!important}.rtl .dgwt-wcas-overlay-mobile .dgwt-wcas-style-solaris .dgwt-wcas-voice-search{left:5px!important;right:auto!important}.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp{background:0 0;padding:4px;border-radius:10px 10px 0 0}.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{padding-top:10px;padding-bottom:10px;line-height:normal;font-size:14px}.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{left:15px;top:7px}.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{left:auto;right:23px}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{background:#fff;box-shadow:0 0 0 1px #eee}html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact.dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{border-color:#333;box-shadow:none}.dgwt-wcas-open-pirx-compact .dgwt-wcas-details-wrapp,.dgwt-wcas-open-pirx-compact .dgwt-wcas-suggestions-wrapp{margin-top:1px}.dgwt-wcas-suggestions-wrapp-fixed{position:fixed!important}.elementor-widget-fibosearch-posts::after{content:""!important}.dgwt-wcas-posts-results-grid{display:flex;flex-wrap:wrap;grid-gap:20px;justify-content:flex-start}.dgwt-wcas-posts-results-grid-item{width:calc(25% - 15px);margin-bottom:30px}
/*!/wp-content/cache/asset-cleanup/one/css/item/buy-with-digikala__assets__public__css__bwdk-public-css-v65ce3fd9c09d90610d7ed528b7e878bebbcdd443.css*/
/*!/wp-content/plugins/buy-with-digikala/assets/public/css/bwdk-public.css*/@font-face{font-family:"IRANYekanWeb";src:url("/wp-content/plugins/buy-with-digikala/assets/public/css/../fonts/IRANYekanWebRegular.woff");font-display:swap;}

.digikala-box {
    background-color: #fff1f1;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.digikala-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 960px;
}

.digikala-logo {
    width: 36px;
    height: 36px;
}

.digikala-text {
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    color: #333;
    direction: rtl;
}

.digikala-text strong {
    display: block;
    font-weight: bold;
    color: #000;
    margin-bottom: 4px;
}

.bwdk-button {
    background-color: #DA1E28;
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.arrow {
    font-size: 18px;
}

.separator {
    text-align: center;
    color: #999;
    margin: 16px 0;
    position: relative;
    font-size: 18px;
}

.separator::before,
.separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ccc;
}

.separator::before {
    right: 50%;
    margin-right: 10px;
}

.separator::after {
    left: 50%;
    margin-left: 10px;
}
.digikala-box-before-header {
    background: #ED1944;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    position: relative;
    z-index: 999;
}
.dg-kala-content {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.digikala-box-after-addToCart {
    background: #FFF1F1;
    border-radius: 15px;
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
}
.dk-content-sp {
    display: flex;
    align-items: center;
    gap: 15px;
}
.title-dk-call {
    display: flex;
    color: #EF365C;
    font-size: 14px;
    font-weight: 700;
}
span.sub-dk-call {
    color: #262626;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dk-callToAction {
    display: grid;
    gap: 6px;
}
.digikala-modal-sp {
    position: fixed;
    top: 50%;
    right: 50%;
    background: #fff;
    width: 80%;
    max-width: 540px;
    z-index: 1001;
    min-height: 600px;
    transform: translate(50%, -50%);
    padding: 55px 15px 15px 15px;
    border-radius: 10px;
    max-height: 90%;
}

.dk-mask {
    background: rgba(0, 0, 0, 0.3);
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100vw;
    height:100vh;
}
.img-modal-sp {
    background: #FFF1F1;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    margin-bottom: 7%;
    border: 1px solid #FFD7D9;
}
.title-modal-sp {
    font-size: 14px;
    color: #262626;
    font-weight: 600;
    margin-bottom: 7%;
    display: block;
}
.desc-digikala-modal-sp img{
    max-width:30px
}
.desc-digikala-modal-sp span{
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.desc-digikala-modal-sp p{
    font-size: 14px;
    font-weight: 400;
    color: #262626;
    text-align: justify;
}

.desc-digikala-modal-sp {
    margin-bottom: 5%;
}
.digikala-modal-sp button{
    background: #FA4D56;
    color: #fff;
    font-size: 14px;
    border: none;
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
}
.desc-digikala-modal-sp a{
    color: #0F62FE;
    font-size: 14px;
    margin-top: 4%;
    display: block;
    text-align: left;
}

i.close-modal-sp {
    font-size: 16px;
    color: #262626;
    font-style: normal;
    font-weight: 700;
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 10px;
    cursor: pointer;
}
.dk-mask,
.digikala-modal-sp{
    display:none;
}
.digikala-box-before-ct {
    background: #FFF1F1;
    padding: 25px 15px 17px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #DA1E280A;
    position: relative;
    overflow: hidden;
}
/* .digikala-box-before-ct:after{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    content: '';
    background: #DA1E28;
    transition: transform .3s;
    right: auto;
    bottom: auto;
    width: 140%;
    height: 100%;
    transform-origin: left top;
    transform: skewX(-30deg) scale(1, 1);
}
.digikala-box-before-ct.active:after{
    right: auto;
    bottom: auto;
    width: 140%;
    height: 100%;
    transform-origin: right top;
    transform: skewX(-30deg) scale(0, 1);
} */
.logo-digi-loader {
    position: absolute;
    z-index: 1;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    min-width: 75px;
    transition: 0.5s;
}
.digikala-box-before-ct.active .logo-digi-loader {
    right: -50%;
    opacity: 0;
}
.dk-content-before-ct {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}
.sub-dk-before-ct i{
    display:flex;
}
.dk-callToAction-before-ct {
    display: flex;
    gap: 15px;
    align-items: center;
    font-family: 'IRANYekanWeb';
}

.dk-content-before-ct .logo-digi{
    min-width: 48px;
    margin-bottom: 7px;
}
span.title-before-ct {
    font-size: 14px;
    font-weight: 700;
    color: #262626;
}
span.sub-dk-before-ct {
    color: #DA1E28;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-direction: row-reverse;
    position: relative;
}
a.bwdk-button {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400;
    min-width: 258px;
    justify-content: center;
}
a.bwdk-button i{
    display:flex;
}
.woocommerce-info {
    font-family: "IRANYekanWeb";
}
.wrap-sub-dk-before-ct {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    position:relative;
    margin: 8px 0;
}

.wrap-sub-dk-before-ct > .sub-dk-before-ct:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 16px;
    opacity: 1;
    border-radius: 20px;
    background: #0000001F;
    position: absolute;
    left: 0;
    top: 5px;

}
.dg-kala-content .anim-text span{
    display: block;
    font-size: 24px;
    font-weight: 900;
}
.wrap-anim-text {
    height: 40px !important;
    overflow: hidden;
}
.anim-text{
    text-align: center;
}
.digikala-badge-cardPd {
    font-family: 'IRANYekanWeb';
    background: rgba(246, 246, 246, 1);
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 12px;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 500;
    color: rgba(82, 82, 82, 1);
    width: 120px;

}
.auth-divider {
    align-items: center;
    display: flex;
    margin: 20px 0;
}
.auth-line {
    background: #C6C6C6;
    flex-grow: 1;
    height: 1px;
}
.auth-or {
    color: #6F6F6F;
    font-size: 20px;
    padding: 0 10px;
}
.woocommerce_before_shop_loop_item.digikala-badge-cardPd{
    position: absolute;
    z-index: 100;
    margin: 10px;
    left: 0;
}
.digikala-badge-cardPd img{
    max-width:16px !important;
}
.pdp-anim-text{
    height: 20px ;
    overflow: hidden;
    z-index: 100;


}
.wrap-pdp-anim-text{
    position: absolute;
    left: 15px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    top: 15px;
    z-index: 999;
}
*:has(.wrap-pdp-anim-text) {
    position: relative;
}


.pdp-anim-text .anim-text span{
    display: block;
    font-size: 14px;
    font-weight: 900;
    color:rgba(237, 25, 68, 1);
    text-align: center;
    height:20px;
}
.anim-text img{
    max-width:30px !important;
    height:20px !important;
    text-align: center;
    margin:auto
}
.wrap-bwdk-error {
    position: fixed;
    top: 50%;
    right: 50%;
    background: rgba(255, 240, 247, 1);
    z-index: 9999;
    border: 2px solid rgba(218, 30, 40, 1);
    padding: 15px;
    border-radius: 8px;
    transform: translate(50%, -50%);
    width: 90%;
    max-width: 400px;
    display: none;
}
#bwdk-error {
    font-size: 14px;
    color: rgba(38, 38, 38, 1);
    line-height: 2;
    position:relative;
}
.wrap-bwdk-error span{
    color: rgba(0, 67, 206, 1);
    display: block;
    text-align: left;
    cursor: pointer;
}
#bwdk-error:before{
    content: "!";
    width: 16px;
    display: inline-flex;
    background: rgba(218, 30, 40, 1);
    height: 16px;
    color: #fff;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    border-radius: 50%;
    line-height: 30px;
    margin-left: 10px;
}
.anim-text{
    text-align: center;
}
.onsale-image {
    position: absolute;
    top: 15px !important;
    right: unset !important;
    z-index: 1;
    left: 15px;
}
.digikala-addToCart-pop {
    background: rgba(255, 241, 241, 1);
    border-radius: 5px;
    margin: 5px 0;
    padding: 10px;
}
.dg-kala-addToCart-pop {
    color: rgba(237, 25, 68, 1);
    font-size: 12px;
    font-weight: 900;
    display: flex;
    gap: 5px;
}
.dg-kala-addToCart-pop .anim-text span{
    display:block;
    height: 20px;
}
.wrap-anim-text-addToCart-pop {
    height: 20px !important;
    overflow: hidden;
}
.dg-kala-addToCart-pop img{
    max-width:22px;
    margin-left: 5px;
}
.pdp-anim-text,
.digikala-addToCart-pop,
.digikala-box-before-ct,
.digikala-box-after-addToCart,
.digikala-box-before-header {
    font-family: "IRANYekanWeb";
}

@media screen and (max-width: 480px) {
    .dk-content-before-ct {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }
    .dk-callToAction-before-ct {
        flex-direction: column;
        gap: 5px;
    }
    a.bwdk-button {
        margin-right: unset;
        width: 100%;
        justify-content: center;
    }
}

.order-estimate-box {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    background: #DEFBE6;
    padding: 10px;
    border-radius: 12px;
    margin: 15px 0 !important;
    font-size: 16px !important;
    font-family: "IRANYekanWeb" !important;
}

.order-estimate-box h3 {
    margin: 0 0 10px 0;
    font-size: 16px !important;
    font-weight: bold;
    color: #1e5f2c;
}

.order-estimate-box p {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.bwdk-woocommerce-order .woocommerce-thankyou-order-received{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    background: #DEFBE6;
    padding: 10px;
    border-radius: 12px;
    margin: 15px 0 !important;
    font-size: 16px !important;
    font-family: "IRANYekanWeb" !important;
}
.bwdk-woocommerce-order .woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received span {
    color: #393939;
    font-size: 13px;
    line-height: 1.8;
}
ul.bwdk-woocommerce-order-overview.bwdk-woocommerce-thankyou-order-details.order_details {
    padding: 15px;
    border: 1px solid #E0E0E0;
    margin: 15px 0;
    list-style: none;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    font-family: "IRANYekanWeb";
}
.bwdk-woocommerce-order-overview__payment-method,
.bwdk-woocommerce-order-overview__total,
.bwdk-woocommerce-order-overview__email,
.bwdk-woocommerce-order-overview__date,
.bwdk-woocommerce-order-overview__order {
    color: #525252;
    font-size: 15px;
    font-family: "IRANYekanWeb";
}
.bwdk-woocommerce-order-overview__payment-method strong,
.bwdk-woocommerce-order-overview__total strong,
.bwdk-woocommerce-order-overview__email strong,
.bwdk-woocommerce-order-overview__date strong,
.bwdk-woocommerce-order-overview__order strong {
    color: #262626;
}
.bwdk-woocommerce-column__title,
h2.bwdk-woocommerce-order-details__title {
    color: #525252;
    font-size: 15px;
    font-family: "IRANYekanWeb" !important;
}
.bwdk-woocommerce-customer-details address{
    padding: 15px;
    border: 1px solid #E0E0E0;
    margin: 15px 0;
    list-style: none;
    border-radius: 12px;
    font-family: "IRANYekanWeb";
    font-style: normal;
}
.bwdk-woocommerce-table .wc-item-meta{
    display: flex;
    list-style: none;
    padding: 0;
    gap:5px;
    margin: 8px 0 0;
}
.bwdk-woocommerce-table .wc-item-meta li{
    display: flex;
    gap: 3px;
}
.bwdk-woocommerce-table a{
    text-decoration: none;
}
table.bwdk-woocommerce-table th,
table.bwdk-woocommerce-table td {
    border: transparent
}
/*table.bwdk-woocommerce-table tbody>tr:nth-child(odd)>td, table.bwdk-woocommerce-table tbody>tr:nth-child(odd)>th {*/
/*    background-color: transparent;*/
/*}*/

table.bwdk-woocommerce-table tbody tr:hover>td, table.bwdk-woocommerce-table tbody tr:hover>th {
    background: #E0E0E0 !important;
}
table thead:first-child tr:first-child th {
    border-block-start: transparent;
}
table.bwdk-woocommerce-table thead:first-child tr:first-child th {
    border-block-start: transparent;
    border-right: transparent;
    border-left: transparent;
    background: #E0E0E0;
    border-radius: 12px;
}
table.bwdk-woocommerce-table tfoot th,
table.bwdk-woocommerce-table tfoot td,
table.bwdk-woocommerce-table tbody td {
    border-block-start: transparent;
    border-right: transparent;
    border-left: transparent;
    background: #e0e0e04d;
    border-radius: 12px;
    text-align: right;
}
table.bwdk-woocommerce-table.bwdk-woocommerce-table--order-details.shop_table.order_details {
    border-collapse: separate;
    border-spacing: 5px 5px;
}
table.bwdk-woocommerce-table a{
    color:#393939 !important
}
.related-modal-sp {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: center;
}
.related-modal-sp img{
    max-width:70px;
}
.bwdk-digikala img{
    max-width:110px;
}
.bwdk-digikala {
    width: 100%;
        padding: 20px 16px;
        border-radius: 16px;
        margin: 15px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: rgba(238, 238, 238, 1);
}
.bwdk-digikala strong{
    font-size: 14px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 12px 0px 0px;
}
.bwdk-digikala p{
    font-size: 12px;
    font-weight: 400;
    color: rgb(82, 82, 82);
    text-align: center;
    margin: 8px 0px 0px;
}
.help-pop span{
    font-size: 16px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    text-align: center;
}
.help-pop p{
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0px;
    line-height: 22px;
    color: rgb(82, 82, 82);
    text-align: center;
}

.bwd-progress {
    position: relative;
    height: 100px;
    overflow: hidden;
    border-radius: 12px;
    margin: 24px auto;
    display: block;
}
.help-pop {
    margin-top: 24px;
    text-align: center;
}
.dk-modal {
    overflow-y: auto;
    height: 80vh;
    padding-left: 15px;
}
#bwdk-single-buy-form {
    position: relative;
    margin: 5px 0;
}

#bwdk-single-buy-form .bwdk-single-buy-button {
    background: #FA4D56;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    display: flex    ;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.bwdk-single-buy-button img{
    max-width: 21px;
}


.bwdk-single-buy-button:disabled,
.bwdk-single-buy-button.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.bwdk-single-tip {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
    max-width: 420px;
    font-size: 14px;
    direction: rtl;
    font-family: "IRANYekanWeb";
    position: absolute;
    transform: translateY(calc(-100% - 60px));
}

.bwdk-single-tip-inner {
    padding: .75rem .9rem;
}

.bwdk-single-tip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .35rem;
}

.bwdk-single-tip-title {
    font-weight: 600;
    font-size: 14px;
    color: #262626;
}

.bwdk-single-tip-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
    color: #666;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bwdk-single-tip-close:hover {
    color: #000;
        background: #fff;
}

.bwdk-single-tip p {
    margin: 0;
    color: #525252;
    line-height: 1.6;
    font-size: 13px;
}

.bwdk-single-tip-footer {
    margin-top: .5rem;
    display: flex;
    justify-content: flex-end;
}

.bwdk-single-tip-ok {
    border-radius: 4px;
    background: #FA4D56;
    cursor: pointer;
    padding: .25rem .75rem;
    font-size: 13px;
    color: #fff;
    transition: all 0.2s ease;
}
.bwdk-single-tip:after{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    background: #fff;
    right: 35px;
    bottom: -5px;
    transform: rotate(45deg);
    
}
.bwdk-single-tip-ok:hover {
    background: #FA4D56;
}
.bwdk-single-tip-title img{
    max-width: 20px;
    margin-left: 10px;
}

@media screen and (max-width: 576px) {
    .digikala-modal-sp {
        width: 95%;
    }
    .digikala-modal-sp {
        padding: 35px 10px 15px 0px;
    }
}


.hint {
    margin: 5px 0;
}
#bwdk-cart-widget{
    margin: 5px 0 !important;
} 
#bwdk-checkout-widget{
    margin: 5px 0 !important;
}

/* Delivery / store-pickup summary (thank-you + view order) */
.bwdk-delivery-box {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0 !important;
    font-family: "IRANYekanWeb" !important;
    direction: rtl;
    text-align: right;
}

.bwdk-delivery-box--pickup {
    background: #FFF7E6;
    border-color: #F4D48A;
}

.bwdk-delivery-box h3 {
    margin: 0 0 10px 0;
    font-size: 16px !important;
    font-weight: bold;
    color: #1e5f2c;
}

.bwdk-delivery-box--pickup h3 {
    color: #8A5A00;
}

.bwdk-delivery-box__lead {
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.8;
    color: #616161;
}

.bwdk-delivery-box .bwdk-delivery-rows {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.bwdk-delivery-box .bwdk-delivery-rows li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.9;
}

.bwdk-delivery-rows__key {
    color: #757575;
    flex: 0 0 auto;
}

.bwdk-delivery-rows__val {
    color: #303030;
    font-weight: bold;
    text-align: left;
}

.bwdk-delivery-rows__val.ltr {
    direction: ltr;
    unicode-bidi: embed;
}

.bwdk-delivery-rows__val a {
    color: inherit;
    text-decoration: none;
}

@media screen and (max-width: 480px) {
    .bwdk-delivery-box .bwdk-delivery-rows li {
        flex-direction: column;
        gap: 2px;
    }
    .bwdk-delivery-rows__val {
        text-align: right;
    }
    .bwdk-delivery-rows__val.ltr {
        text-align: left;
    }
}
/*!/wp-content/cache/asset-cleanup/one/css/item/woodmart-load-more-ui__assets__css__woodmart-load-more-ui-css-v9841f05b5fcb058658e416a46ee2279c5a5726e8.css*/
/*!/wp-content/plugins/woodmart-load-more-ui/assets/css/woodmart-load-more-ui.css*/html body .wd-loop-footer.products-footer .wd-load-more-loader{display:none!important}html body .wd-loop-footer.products-footer .wd-products-load-more{background:rgb(255 255 255 / .8)!important;backdrop-filter:blur(20px) saturate(180%)!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important;border:1px solid rgb(0 0 0 / .08)!important;border-radius:999px!important;color:#1d1d1f!important;font-size:15px!important;font-weight:700!important;letter-spacing:-0.2px!important;padding:14px 40px!important;min-width:260px!important;min-height:54px!important;box-shadow:0 8px 24px rgb(0 0 0 / .06),0 2px 8px rgb(0 0 0 / .04)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;position:relative!important;overflow:visible!important;z-index:10!important;transition:all 0.4s cubic-bezier(.25,1,.5,1)!important;margin:30px auto!important}html body .wd-loop-footer.products-footer .wd-products-load-more .load-more-label{color:inherit!important;position:relative!important;z-index:2!important;transition:color 0.3s ease!important;display:inline-block!important;opacity:1!important}html body .wd-loop-footer.products-footer .wd-products-load-more::after{content:''!important;display:block!important;width:22px!important;height:22px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;border:none!important;position:relative!important;z-index:2!important;animation:bd-bounce-chevron 2s infinite ease-in-out!important}html body .wd-loop-footer.products-footer .wd-products-load-more::before{content:''!important;position:absolute!important;top:0;right:0;bottom:0;left:0;border-radius:999px!important;border:2px solid rgb(0 113 227 / .4)!important;background:transparent!important;z-index:-1!important;animation:bd-pill-pulse 2.5s infinite cubic-bezier(.2,.8,.2,1)!important;pointer-events:none!important}html body .wd-loop-footer.products-footer .wd-products-load-more:hover{transform:scale(.97)!important;box-shadow:0 4px 12px rgb(0 0 0 / .1)!important;background:rgb(255 255 255 / .95)!important}html body .wd-loop-footer.products-footer .wd-products-load-more:focus-visible{outline:3px solid rgb(0 113 227 / .45)!important;outline-offset:3px!important}html body .wd-loop-footer.products-footer .wd-products-load-more[style*="none"],html body .wd-loop-footer.products-footer .wd-products-load-more.loading{display:inline-flex!important;background:rgb(255 255 255 / .6)!important;color:#86868b!important;pointer-events:none!important;box-shadow:none!important}html body .wd-loop-footer.products-footer .wd-products-load-more[style*="none"]::before,html body .wd-loop-footer.products-footer .wd-products-load-more.loading::before{display:none!important}html body .wd-loop-footer.products-footer .wd-products-load-more[style*="none"]::after,html body .wd-loop-footer.products-footer .wd-products-load-more.loading::after{background-image:none!important;width:20px!important;height:20px!important;border:2px solid rgb(0 113 227 / .2)!important;border-top-color:#0071e3!important;border-radius:50%!important;animation:bd-spin 0.8s linear infinite!important}@keyframes bd-bounce-chevron{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(6px)}60%{transform:translateY(3px)}}@keyframes bd-pill-pulse{0%{transform:scale(1);opacity:1}100%{transform:scaleX(1.1) scaleY(1.3);opacity:0}}@keyframes bd-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){html body .wd-loop-footer.products-footer .wd-products-load-more,html body .wd-loop-footer.products-footer .wd-products-load-more .load-more-label,html body .wd-loop-footer.products-footer .wd-products-load-more::before,html body .wd-loop-footer.products-footer .wd-products-load-more::after{animation:none!important;transition:none!important}}