.faq-bot-launcher,
.faq-bot-panel {
  position: fixed;
  z-index: 120;
  font-family: var(--font-body, 'Segoe UI', system-ui, sans-serif);
}

.faq-bot-launcher {
  left: 22px;
  bottom: 22px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 9px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: #063650;
  color: #fff;
  box-shadow: 0 4px 14px rgba(6,54,80,.14);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.faq-bot-launcher:hover {
  background: #0B4B67;
  transform: translateY(-2px);
}

.faq-bot-launcher-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #EAF2F5;
  color: #063650;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
}

.faq-bot-panel {
  left: 22px;
  bottom: 84px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  overflow: auto;
  border: 1px solid #DFE7EB;
  border-radius: 20px;
  background: #fff;
  color: #183747;
  box-shadow: 0 18px 54px rgba(18,50,71,.18);
}

.faq-bot-panel[hidden] {
  display: none;
}

.faq-bot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 20px 17px;
  background: #123247;
  color: #fff;
}

.faq-bot-eyebrow {
  color: #B9DCE2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.faq-bot-header h2 {
  margin: 7px 0 0;
  color: #fff;
  font: 400 22px/1.2 Georgia, 'Times New Roman', serif;
}

.faq-bot-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 400 26px/1 'Aptos', 'Segoe UI', sans-serif;
  cursor: pointer;
}

.faq-bot-body {
  padding: 16px 18px 18px;
}

.faq-bot-intro {
  margin: 0 0 12px;
  color: #526A78;
  font-size: 12px;
  line-height: 1.55;
}

.faq-bot-questions {
  display: grid;
  gap: 7px;
}

.faq-bot-question {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #DFE7EB;
  border-radius: 11px;
  background: #F8FAFB;
  color: #142B3A;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.faq-bot-question:hover {
  border-color: #AFCBD4;
  background: #EDF3F6;
}

.faq-bot-answer:empty {
  display: none;
}

.faq-bot-answer {
  margin-top: 13px;
  padding: 13px;
  border-left: 3px solid #087875;
  border-radius: 0 11px 11px 0;
  background: #F0F5F7;
}

.faq-bot-response {
  margin: 0;
  color: #334F5D;
  font-size: 12px;
  line-height: 1.65;
}

.faq-bot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.faq-bot-links a,
.faq-bot-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #063650;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.faq-bot-contact {
  margin-top: 11px;
  background: #EAF2F5;
  color: #063650;
}

.faq-bot-safety {
  margin: 13px 0 0;
  color: #687D87;
  font-size: 10px;
  line-height: 1.5;
}

.faq-bot-launcher:focus-visible,
.faq-bot-panel button:focus-visible,
.faq-bot-panel a:focus-visible {
  outline: 3px solid #087875;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .faq-bot-launcher {
    left: 12px;
    bottom: 14px;
    width: 48px;
    min-height: 48px;
    justify-content: center;
    padding: 7px;
  }

  .faq-bot-launcher>span:last-child {
    display: none;
  }

  .faq-bot-panel {
    left: 12px;
    bottom: 72px;
    width: calc(100vw - 24px);
    max-height: min(590px, calc(100vh - 94px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-bot-launcher,
  .faq-bot-question {
    transition: none;
  }

  .faq-bot-launcher:hover {
    transform: none;
  }
}
@media (max-width: 800px) {
  .faq-bot-launcher {
    position: static;
    width: max-content;
    max-width: calc(100% - 36px);
    margin: 12px 18px 18px;
  }
}
