/* Ask SAYA Bot - Premium iSMART AI Style */
:root {
  --saya-red: #fd0503;
  --saya-red-dark: #9f0302;
  --saya-bg: #070d1b;
  --saya-bg-2: #101827;
  --saya-text: #ffffff;
  --saya-muted: rgba(255,255,255,.72);
  --saya-line: rgba(255,255,255,.10);
  --saya-card: rgba(255,255,255,.075);
}

.ask-saya-root,
.ask-saya-root *,
.ask-saya-shortcode-trigger,
.ask-saya-shortcode-trigger * {
  box-sizing: border-box;
}

.ask-saya-root {
  position: fixed;
  z-index: 999999;
  right: 22px;
  bottom: 22px;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  color: var(--saya-text);
}

.ask-saya-root.ask-saya-left {
  right: auto;
  left: 22px;
}

.ask-saya-root.ask-saya-hide-mobile {
  display: none;
}

.ask-saya-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(253,5,3,.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(12,18,33,.92), rgba(5,7,13,.96));
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.34), 0 0 34px rgba(253,5,3,.20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ask-saya-launcher::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(253,5,3,.26), transparent 35%);
  pointer-events: none;
}

.ask-saya-launcher:hover {
  transform: translateY(-4px);
  border-color: rgba(253,5,3,.75);
  box-shadow: 0 24px 66px rgba(0,0,0,.44), 0 0 44px rgba(253,5,3,.30);
}

.ask-saya-icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--saya-red), var(--saya-red-dark));
  box-shadow: 0 12px 26px rgba(253,5,3,.34), inset 0 0 15px rgba(255,255,255,.18);
}

.ask-saya-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.ask-saya-ai-badge {
  position: absolute;
  right: -7px;
  bottom: -5px;
  min-width: 22px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--saya-red);
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .04em;
}

.ask-saya-launcher-text {
  position: relative;
  display: block;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.ask-saya-launcher-sub {
  position: relative;
  display: block;
  margin-top: 2px;
  color: var(--saya-muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ask-saya-window {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: min(410px, calc(100vw - 30px));
  max-height: min(710px, calc(100vh - 110px));
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(253,5,3,.22), transparent 34%),
    radial-gradient(circle at 90% 92%, rgba(253,5,3,.15), transparent 34%),
    linear-gradient(135deg, #070d1b 0%, #101827 55%, #05070d 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 44px rgba(253,5,3,.16);
  opacity: 0;
  transform: translateY(16px) scale(.96);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.ask-saya-left .ask-saya-window {
  right: auto;
  left: 0;
}

.ask-saya-root.is-open .ask-saya-window,
.ask-saya-shortcode-trigger.is-open .ask-saya-window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ask-saya-window::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.ask-saya-window::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.04), rgba(253,5,3,.13), transparent);
  transform: skewX(-18deg);
  animation: askSayaShine 6.5s ease-in-out infinite;
  pointer-events: none;
}

.ask-saya-header,
.ask-saya-body,
.ask-saya-footer {
  position: relative;
  z-index: 2;
}

.ask-saya-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--saya-line);
}

.ask-saya-avatar {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--saya-red), var(--saya-red-dark));
  box-shadow: 0 14px 34px rgba(253,5,3,.32);
  flex: 0 0 50px;
}

.ask-saya-avatar svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.ask-saya-head-text {
  min-width: 0;
  flex: 1;
}

.ask-saya-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -.02em;
}

.ask-saya-subtitle {
  margin-top: 3px;
  color: var(--saya-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.ask-saya-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: all .24s ease;
}

.ask-saya-close:hover {
  background: rgba(253,5,3,.18);
  border-color: rgba(253,5,3,.42);
}

.ask-saya-body {
  padding: 18px;
  max-height: min(560px, calc(100vh - 235px));
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(253,5,3,.65) rgba(255,255,255,.06);
}

.ask-saya-message {
  margin-bottom: 14px;
  padding: 15px 16px;
  border-radius: 18px 18px 18px 8px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.75;
  box-shadow: inset 0 0 18px rgba(255,255,255,.03);
}

.ask-saya-grid {
  display: grid;
  gap: 10px;
}

.ask-saya-choice {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 800;
  text-align: start;
  cursor: pointer;
  transition: all .25s ease;
}

.ask-saya-choice:hover,
.ask-saya-choice.is-selected {
  transform: translateY(-2px);
  background: rgba(253,5,3,.18);
  border-color: rgba(253,5,3,.48);
  box-shadow: 0 14px 30px rgba(253,5,3,.14);
}

.ask-saya-choice.is-selected::after {
  content: "✓";
  float: inline-end;
  color: #fff;
  font-weight: 900;
}

.ask-saya-section-title {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.ask-saya-scene-card {
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 10%, rgba(253,5,3,.18), transparent 32%),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.ask-saya-scene-visual {
  position: relative;
  min-height: 130px;
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(253,5,3,.30), transparent 27%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    rgba(7,13,27,.6);
  background-size: auto, 42px 42px, 42px 42px, auto;
  border: 1px solid rgba(255,255,255,.10);
}

.ask-saya-scene-visual span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
}

.ask-saya-scene-visual span:nth-child(1) { top: 24px; left: 48px; }
.ask-saya-scene-visual span:nth-child(2) { top: 70px; left: 84px; }
.ask-saya-scene-visual span:nth-child(3) { top: 27px; right: 54px; }
.ask-saya-scene-visual span:nth-child(4) { top: 72px; right: 88px; }

.ask-saya-ai-core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--saya-red), var(--saya-red-dark));
  color: #fff;
  font-weight: 950;
  font-size: 20px;
  box-shadow: 0 0 36px rgba(253,5,3,.42);
}

.ask-saya-scene-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.ask-saya-scene-desc {
  margin: 0 0 14px;
  color: var(--saya-muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.ask-saya-meter {
  margin-top: 10px;
}

.ask-saya-meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 800;
}

.ask-saya-meter-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.11);
}

.ask-saya-meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--saya-red), #ff6b6a);
  width: 65%;
}

.ask-saya-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ask-saya-input,
.ask-saya-textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.065);
  color: #fff;
  border-radius: 15px;
  outline: none;
  padding: 13px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: inset 0 0 16px rgba(255,255,255,.025);
}

.ask-saya-input:focus,
.ask-saya-textarea:focus {
  border-color: rgba(253,5,3,.48);
  box-shadow: 0 0 0 4px rgba(253,5,3,.08), inset 0 0 16px rgba(255,255,255,.025);
}

.ask-saya-input::placeholder,
.ask-saya-textarea::placeholder {
  color: rgba(255,255,255,.46);
}

.ask-saya-textarea {
  min-height: 88px;
  resize: vertical;
}

.ask-saya-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ask-saya-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
}

.ask-saya-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.11);
}

.ask-saya-btn-primary {
  background: linear-gradient(135deg, var(--saya-red), var(--saya-red-dark));
  border-color: rgba(253,5,3,.75);
  box-shadow: 0 16px 34px rgba(253,5,3,.22);
}

.ask-saya-btn-primary:hover {
  box-shadow: 0 22px 46px rgba(253,5,3,.32);
}

.ask-saya-error {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(253,5,3,.13);
  border: 1px solid rgba(253,5,3,.30);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
}

.ask-saya-error.is-visible {
  display: block;
}

.ask-saya-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--saya-line);
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: 750;
}

.ask-saya-footer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saya-red);
  box-shadow: 0 0 13px rgba(253,5,3,.62);
}

.ask-saya-shortcode-trigger {
  position: relative;
  display: inline-block;
  font-family: "Manrope", "Inter", Arial, sans-serif;
}

.ask-saya-shortcode-trigger .ask-saya-window {
  position: fixed;
  right: 22px;
  bottom: 92px;
}

[dir="rtl"] .ask-saya-window,
.ask-saya-rtl .ask-saya-window {
  direction: rtl;
  text-align: right;
}

.ask-saya-rtl .ask-saya-message {
  border-radius: 18px 18px 8px 18px;
}

.ask-saya-rtl .ask-saya-launcher {
  padding: 10px 10px 10px 18px;
}

@keyframes askSayaShine {
  0% { left: -50%; opacity: 0; }
  15% { opacity: 1; }
  48% { left: 115%; opacity: .85; }
  100% { left: 115%; opacity: 0; }
}

@media (max-width: 767px) {
  .ask-saya-root {
    right: 14px;
    bottom: 14px;
  }
  .ask-saya-root.ask-saya-left {
    left: 14px;
  }
  .ask-saya-window {
    right: 0;
    bottom: 76px;
    width: calc(100vw - 28px);
    border-radius: 24px;
  }
  .ask-saya-left .ask-saya-window {
    left: 0;
  }
  .ask-saya-launcher-text-wrap {
    display: none;
  }
  .ask-saya-launcher {
    min-height: 58px;
    padding: 8px;
  }
  .ask-saya-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .ask-saya-body {
    max-height: calc(100vh - 230px);
  }
}

/* v1.1 refinements */
.ask-saya-root {
  left: 22px;
  right: auto;
}

.ask-saya-root .ask-saya-window,
.ask-saya-shortcode-trigger .ask-saya-window {
  left: 0;
  right: auto;
}

.ask-saya-shortcode-trigger.ask-saya-left .ask-saya-window,
.ask-saya-shortcode-trigger .ask-saya-window {
  left: 22px;
  right: auto;
}

.ask-saya-icon.ask-saya-icon-image,
.ask-saya-avatar.ask-saya-avatar-image {
  background: linear-gradient(135deg, rgba(253,5,3,.16), rgba(253,5,3,.06));
  border: 1px solid rgba(253,5,3,.32);
  overflow: visible;
}

.ask-saya-icon.ask-saya-icon-image img,
.ask-saya-avatar.ask-saya-avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}

.ask-saya-avatar.ask-saya-avatar-image {
  padding: 4px;
}

.ask-saya-icon.ask-saya-icon-image {
  padding: 4px;
}

.ask-saya-close {
  display: inline-grid;
  place-items: center;
  padding: 0;
  flex: 0 0 40px;
  box-shadow: none;
}

.ask-saya-close svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  display: block;
}

.ask-saya-close:hover {
  transform: rotate(90deg);
}

.ask-saya-message-assistant {
  border-radius: 18px 18px 18px 8px;
  background: linear-gradient(135deg, rgba(253,5,3,.12), rgba(255,255,255,.06));
}

.ask-saya-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(253,5,3,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(253,5,3,.28);
  box-shadow: 0 12px 30px rgba(253,5,3,.08), inset 0 0 18px rgba(255,255,255,.03);
}

.ask-saya-question-badge {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--saya-red), var(--saya-red-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(253,5,3,.28);
}

.ask-saya-question-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
}

.ask-saya-preline {
  white-space: pre-line;
}

.ask-saya-choice {
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.035));
}

.ask-saya-choice:hover,
.ask-saya-choice.is-selected {
  background: linear-gradient(135deg, rgba(253,5,3,.24), rgba(255,255,255,.08));
}

.ask-saya-rtl .ask-saya-question {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {
  .ask-saya-root {
    left: 14px;
    right: auto;
  }
  .ask-saya-shortcode-trigger .ask-saya-window {
    left: 14px;
    right: auto;
    width: calc(100vw - 28px);
  }
}

/* =====================================================
   Ask SAYA v1.2 - Premium Interaction Upgrade
===================================================== */

.ask-saya-root {
  left: 22px !important;
  right: auto !important;
}

.ask-saya-root .ask-saya-window,
.ask-saya-shortcode-trigger .ask-saya-window {
  left: 0 !important;
  right: auto !important;
}

.ask-saya-teaser {
  position: absolute;
  left: 0;
  bottom: 78px;
  width: min(310px, calc(100vw - 36px));
  padding: 15px 42px 15px 16px;
  border-radius: 20px 20px 20px 8px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(253,5,3,.28), transparent 32%),
    linear-gradient(135deg, rgba(16,24,39,.94), rgba(5,7,13,.96));
  border: 1px solid rgba(253,5,3,.28);
  box-shadow: 0 22px 60px rgba(0,0,0,.42), 0 0 32px rgba(253,5,3,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: all .32s ease;
  cursor: pointer;
}

.ask-saya-root.teaser-visible:not(.teaser-hidden):not(.is-open) .ask-saya-teaser {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ask-saya-teaser strong {
  display: block;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
  margin-bottom: 4px;
}

.ask-saya-teaser span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}

.ask-saya-teaser::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: rgba(5,7,13,.96);
  border-right: 1px solid rgba(253,5,3,.20);
  border-bottom: 1px solid rgba(253,5,3,.20);
}

.ask-saya-teaser-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  cursor: pointer;
}

.ask-saya-teaser-close svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}

.ask-saya-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(253,5,3,.34);
  animation: askSayaLauncherPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.ask-saya-launcher {
  animation: askSayaFloat 4.2s ease-in-out infinite;
}

.ask-saya-root.is-open .ask-saya-launcher {
  animation: none;
}

.ask-saya-icon.ask-saya-icon-image,
.ask-saya-avatar.ask-saya-avatar-image {
  background: linear-gradient(135deg, rgba(253,5,3,.16), rgba(253,5,3,.06)) !important;
  border: 1px solid rgba(253,5,3,.32);
  overflow: visible;
}

.ask-saya-icon.ask-saya-icon-image img,
.ask-saya-avatar.ask-saya-avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}

.ask-saya-avatar.ask-saya-avatar-image,
.ask-saya-icon.ask-saya-icon-image {
  padding: 4px;
}

.ask-saya-close {
  display: inline-grid !important;
  place-items: center;
  padding: 0 !important;
  flex: 0 0 40px;
  position: relative;
  z-index: 7;
}

.ask-saya-close svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  display: block;
  pointer-events: none;
}

.ask-saya-close:hover {
  transform: rotate(90deg);
}

.ask-saya-welcome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(253,5,3,.14), rgba(255,255,255,.055));
  border: 1px solid rgba(253,5,3,.22);
}

.ask-saya-welcome-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 4px;
  border-radius: 17px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.ask-saya-welcome-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ask-saya-welcome strong,
.ask-saya-welcome span {
  display: block;
}

.ask-saya-welcome strong {
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.ask-saya-welcome span {
  margin-top: 3px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.ask-saya-main-grid .ask-saya-choice {
  min-height: 58px;
}

.ask-saya-message-assistant {
  border-radius: 18px 18px 18px 8px;
  background: linear-gradient(135deg, rgba(253,5,3,.12), rgba(255,255,255,.06));
}

.ask-saya-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(253,5,3,.20), rgba(255,255,255,.055));
  border: 1px solid rgba(253,5,3,.30);
  box-shadow: 0 12px 30px rgba(253,5,3,.08), inset 0 0 18px rgba(255,255,255,.03);
}

.ask-saya-question-badge {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--saya-red), var(--saya-red-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(253,5,3,.28);
}

.ask-saya-question-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
}

.ask-saya-question-text small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.55);
  font-size: 11.5px;
  font-weight: 700;
}

.ask-saya-answer-row {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 17px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.ask-saya-answer-row strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ask-saya-answer-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ask-saya-answer-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(253,5,3,.16);
  border: 1px solid rgba(253,5,3,.26);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
}

.ask-saya-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.ask-saya-progress span {
  height: 6px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
}

.ask-saya-progress span.is-active {
  background: linear-gradient(90deg, var(--saya-red), #ff6664);
  box-shadow: 0 0 14px rgba(253,5,3,.30);
}

.ask-saya-progress em {
  flex: 0 0 auto;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  margin-inline-start: 6px;
}

.ask-saya-choice {
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.035));
}

.ask-saya-choice:hover,
.ask-saya-choice.is-selected {
  background: linear-gradient(135deg, rgba(253,5,3,.24), rgba(255,255,255,.08));
}

.ask-saya-btn.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ask-saya-btn-soft {
  background: rgba(255,255,255,.04);
}

.ask-saya-recommendation {
  margin: 12px 0;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(253,5,3,.13);
  border: 1px solid rgba(253,5,3,.28);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.ask-saya-typing {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.ask-saya-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saya-red);
  animation: askSayaTyping 1s ease-in-out infinite;
}

.ask-saya-typing span:nth-child(2) {
  animation-delay: .12s;
}

.ask-saya-typing span:nth-child(3) {
  animation-delay: .24s;
}

.ask-saya-typing em {
  margin-inline-start: 6px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.ask-saya-preline {
  white-space: pre-line;
}

.ask-saya-rtl .ask-saya-question {
  flex-direction: row-reverse;
}

.ask-saya-rtl .ask-saya-teaser {
  padding: 15px 16px 15px 42px;
}

.ask-saya-rtl .ask-saya-teaser-close {
  right: auto;
  left: 10px;
}

@keyframes askSayaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes askSayaLauncherPulse {
  0% { transform: scale(.96); opacity: .75; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

@keyframes askSayaTyping {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 767px) {
  .ask-saya-root {
    left: 14px !important;
    right: auto !important;
  }

  .ask-saya-teaser {
    left: 0;
    bottom: 73px;
    width: calc(100vw - 28px);
  }

  .ask-saya-shortcode-trigger .ask-saya-window,
  .ask-saya-root .ask-saya-window {
    left: 0 !important;
    right: auto !important;
    width: calc(100vw - 28px);
  }

  .ask-saya-progress em {
    display: none;
  }
}
