.fbtl-ask,
.fbtl-ask * {
  box-sizing: border-box;
}
.fbtl-ask {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 8000;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: #092242;
}
.fbtl-ask.is-open {
  z-index: 12000;
}
.fbtl-ask-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fbtl-ball {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #f7f9c4 0%, #e4ef3a 34%, #c6d400 68%, #9aab00 100%);
  box-shadow:
    inset -2px -3px 0 rgba(70, 82, 0, .22),
    inset 1px 1px 0 rgba(255, 255, 255, .45);
  overflow: hidden;
}
.fbtl-ball::before,
.fbtl-ball::after {
  content: "";
  position: absolute;
  top: -8%;
  width: 64%;
  height: 118%;
  border-radius: 50%;
  border: 1.5px solid #fff;
}
.fbtl-ball::before {
  left: -34%;
  border-color: transparent #fff transparent transparent;
}
.fbtl-ball::after {
  right: -34%;
  border-color: transparent transparent transparent #fff;
}
button.fbtl-ask-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  background: #c9db00;
  color: #092242;
  font: 800 14px/1 "Plus Jakarta Sans", "Segoe UI", sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 10px 24px rgba(9, 34, 66, .28);
}
body.fbtl-dash-v4-page .fbtl-ask {
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}
body.fbtl-dash-v4-page .fbtl-ask-toggle {
  display: none;
}
body.fbtl-dash-v4-page .fbtl-ask-panel {
  bottom: 0;
}
.fbtl-dash-v4 .resets button.rally,
.fbtl-v4-float .resets button.rally {
  grid-column: 1 / -1;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}
button.fbtl-ask-toggle:hover,
button.fbtl-ask-toggle:focus-visible {
  background: #d7e63a;
  outline: 3px solid #092242;
  outline-offset: 2px;
}
.fbtl-ask-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d5e4c8;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(9, 34, 66, .28);
  overflow: hidden;
}
.fbtl-ask-panel[hidden] {
  display: none;
}
.fbtl-ask-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 13px 16px;
  background:
    linear-gradient(#fff, #fff) left 16px bottom 0 / 72px 2px no-repeat,
    linear-gradient(#c9db00, #c9db00) left 0 bottom 0 / 100% 3px no-repeat,
    #092242;
  color: #fff;
}
.fbtl-ask-head .fbtl-ball {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  box-shadow:
    inset -3px -4px 0 rgba(70, 82, 0, .22),
    inset 2px 2px 0 rgba(255, 255, 255, .4),
    0 0 0 3px rgba(201, 219, 0, .28);
}
.fbtl-ask-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c9db00;
}
.fbtl-ask-head h2 {
  margin: 1px 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 30px;
  line-height: .9;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
button.fbtl-ask-close {
  appearance: none;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
button.fbtl-ask-close:hover,
button.fbtl-ask-close:focus-visible {
  background: rgba(255, 255, 255, .2);
  outline: 2px solid #c9db00;
}
.fbtl-ask-log {
  flex: 1;
  overflow: auto;
  padding: 16px 14px 12px;
  background-color: #e7f4ea;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .75) calc(50% - 1px), rgba(255, 255, 255, .75) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(transparent 22%, rgba(255, 255, 255, .7) 22%, rgba(255, 255, 255, .7) calc(22% + 2px), transparent calc(22% + 2px)),
    linear-gradient(transparent 78%, rgba(255, 255, 255, .7) 78%, rgba(255, 255, 255, .7) calc(78% + 2px), transparent calc(78% + 2px)),
    radial-gradient(circle at 50% 120%, rgba(0, 120, 40, .08), transparent 46%);
}
.fbtl-ask-hello,
.fbtl-ask-note,
.fbtl-ask-bubble {
  margin: 0;
}
.fbtl-ask-hello {
  color: #1d4d32;
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .72);
  border-left: 3px solid #00ab3b;
  border-radius: 0 12px 12px 0;
}
.fbtl-ask-bubble {
  max-width: 92%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.fbtl-ask-bubble a {
  color: inherit;
  font-weight: 700;
}
.fbtl-ask-bubble.user {
  margin-left: auto;
  background: #092242;
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: inset 3px 0 0 #c9db00;
}
.fbtl-ask-bubble.assistant {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .8);
  border-left: 3px solid #00ab3b;
  border-bottom-left-radius: 4px;
  box-shadow: 0 6px 16px rgba(9, 50, 24, .08);
}
.fbtl-ask-bubble.pending {
  color: #64748b;
  font-style: italic;
}
.fbtl-ask-bubble.error {
  background: #fff5f2;
  border: 1px solid #ffd0c4;
  color: #7a2e1e;
}
.fbtl-ask-chips[hidden] {
  display: none;
}
.fbtl-ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 12px;
  background: #e7f4ea;
}
.fbtl-ask-chips button {
  appearance: none;
  border: 1px solid rgba(9, 34, 66, .12);
  background: rgba(255, 255, 255, .9);
  color: #092242;
  border-radius: 999px;
  padding: 6px 10px;
  font: 600 12px/1.2 "Plus Jakarta Sans", "Segoe UI", sans-serif;
  cursor: pointer;
}
.fbtl-ask-chips button:hover,
.fbtl-ask-chips button:focus-visible {
  border-color: #00ab3b;
  outline: none;
}
.fbtl-ask-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.fbtl-ask-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d5deea;
  border-radius: 999px;
  padding: 11px 14px;
  font: 500 14px/1.2 "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: #092242;
}
.fbtl-ask-form input:focus {
  outline: 2px solid #00ab3b;
  border-color: #00ab3b;
}
.fbtl-ask-form button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #00ab3b;
  color: #fff;
  font: 800 13px/1 "Plus Jakarta Sans", "Segoe UI", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 14px;
  cursor: pointer;
}
.fbtl-ask-form button:disabled,
.fbtl-ask-form input:disabled {
  opacity: .6;
  cursor: wait;
}
.fbtl-ask-note {
  margin: 0;
  padding: 0 14px 12px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}
@media (max-width: 640px) {
  .fbtl-ask {
    right: 12px;
    left: 12px;
  }
  button.fbtl-ask-toggle {
    margin-left: auto;
    display: inline-flex;
  }
  .fbtl-ask-panel {
    left: 0;
    right: 0;
    width: auto;
    height: min(70vh, 560px);
  }
}
@media print {
  .fbtl-ask {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fbtl-ask * {
    transition: none !important;
  }
}
