/* FAQ bot — built in, no outside service. */
.fb-launch {
  position: fixed; left: 24px; bottom: 30px; z-index: 9950; display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 18px 0 14px; border: 0; border-radius: 26px; cursor: pointer;
  background: #002b49; color: #fff; font: 600 .95rem/1 var(--font-body, Inter, sans-serif);
  box-shadow: 0 6px 20px rgba(0,26,46,.35); border: 2px solid #d4af37;
}
.fb-launch svg { width: 22px; height: 22px; color: #d4af37; }
.fb-launch:hover { background: #0a3d63; }
.fb-panel {
  position: fixed; left: 24px; bottom: 96px; z-index: 10030; width: 370px; max-width: calc(100vw - 32px); height: min(560px, calc(100vh - 130px));
  display: none; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,16,29,.35); border: 1px solid #d4dde7; font-family: var(--font-body, Inter, sans-serif);
}
.fb-panel.is-open { display: flex; }
.fb-head { background: linear-gradient(160deg,#001a2e,#0a3d63); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex: none; }
.fb-head b { display: block; font-size: 1rem; }
.fb-head span { display: block; font-size: .78rem; color: #c7d2dd; }
.fb-head button { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.fb-log { flex: 1; overflow-y: auto; padding: 14px; background: #f4f7fa; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.fb-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .94rem; line-height: 1.5; color: #1e2733; overflow-wrap: anywhere; }
.fb-msg.bot { background: #fff; border: 1px solid #e0e7ef; border-bottom-left-radius: 5px; align-self: flex-start; }
.fb-msg.me { background: #002b49; color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.fb-msg a { color: #0a3d63; font-weight: 700; text-decoration: underline; }
.fb-msg ul { margin: 6px 0 0 18px; }
.fb-msg p + p { margin-top: 6px; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fb-actions a { text-decoration: none; padding: 9px 13px; border-radius: 12px; background: #25d366; color: #052e16; font-weight: 700; font-size: .88rem; }
.fb-actions a.alt { background: #e9eff5; color: #002b49; }
.fb-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; }
.fb-chip { border: 1px solid #c9d5e1; background: #fff; color: #002b49; border-radius: 999px; padding: 9px 13px; font-size: .88rem; font-weight: 600; cursor: pointer; min-height: 40px; text-align: left; font-family: inherit; }
.fb-chip:hover { background: #e9eff5; }
.fb-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e0e7ef; background: #fff; flex: none; }
.fb-form input { flex: 1; min-width: 0; height: 46px; border: 1px solid #c9d5e1; border-radius: 14px; padding: 0 14px; font-size: 16px; font-family: inherit; }
.fb-form button { flex: none; height: 46px; padding: 0 16px; border: 0; border-radius: 14px; background: #002b49; color: #d4af37; font-weight: 700; cursor: pointer; font-family: inherit; }
.fb-note { font-size: .72rem; color: #6b7a86; text-align: center; padding: 0 12px 8px; background: #fff; flex: none; }
@media (max-width: 768px) {
  .fb-launch { display: none !important; } /* the tab bar's Ask button opens the bot on phones */
  .fb-panel { left: 0; right: 0; bottom: 0; width: auto; max-width: none; height: 86vh; height: 86dvh; border-radius: 22px 22px 0 0; }
  html.fb-open .whatsapp-float, html.fb-open .as-tabbar { display: none !important; }
}
