.faqa-assistant-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  font-family: inherit;
}

.faqa-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  cursor: pointer;
}

.faqa-bubble:hover {
  background: #1a1a1a;
}

.faqa-bubble:focus,
.faqa-close:focus,
.faqa-button:focus,
.faqa-option:focus {
  outline: 3px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

.faqa-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(390px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 96px));
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.faqa-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  background: #000000;
  background-image: radial-gradient(120% 160% at 50% 0%, #1a1a1a 0%, #000000 70%);
  color: #ffffff;
}

.faqa-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.faqa-subtitle {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.7;
}

.faqa-close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.faqa-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.faqa-body {
  max-height: calc(min(680px, calc(100vh - 96px)) - 68px);
  overflow-y: auto;
  padding: 18px;
}

.faqa-disclaimer,
.faqa-menu-intro,
.faqa-answer-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  color: #3f3f46;
}

.faqa-menu {
  display: grid;
  gap: 9px;
}

.faqa-option {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.faqa-option:hover {
  border-color: rgba(0, 0, 0, 0.3);
  background: #fafafa;
}

.faqa-button {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 12px 16px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: block;
  box-sizing: border-box;
}

.faqa-button:hover {
  background: #f3f3f3;
  text-decoration: none;
}

.faqa-primary,
.faqa-button-link {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.faqa-primary:hover,
.faqa-button-link:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.faqa-secondary {
  background: #fafafa;
  color: #3f3f46;
}

.faqa-answer-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #0a0a0a;
}

.faqa-actions {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.faqa-button-link[aria-disabled="true"] {
  background: #e5e5e5;
  color: #8a8a8a;
  border-color: #e5e5e5;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .faqa-assistant-root {
    right: 12px;
    bottom: 12px;
  }

  .faqa-panel {
    right: -2px;
    bottom: 62px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 88px);
  }

  .faqa-body {
    max-height: calc(100vh - 160px);
  }

  .faqa-bubble {
    min-width: 120px;
    min-height: 46px;
    padding: 11px 15px;
  }
}
