#klc-faq-widget,
#klc-faq-widget * {
  box-sizing: border-box;
  letter-spacing: 0;
}

body.klc-faq-open {
  overflow: hidden;
}

.klc-faq-launcher {
  align-items: center;
  background: #171e19;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  box-shadow: 0 12px 30px rgba(23, 30, 25, 0.24);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  height: 56px;
  justify-content: center;
  left: max(24px, env(safe-area-inset-left));
  padding: 0;
  position: fixed;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 56px;
  z-index: 2147482000;
}

.klc-faq-launcher:hover {
  background: #27342b;
  box-shadow: 0 15px 34px rgba(23, 30, 25, 0.3);
  transform: translateY(-2px);
}

.klc-faq-launcher:active {
  transform: translateY(0);
}

.klc-faq-launcher:focus-visible,
.klc-faq-close:focus-visible,
.klc-faq-item summary:focus-visible {
  outline: 3px solid #7cff67;
  outline-offset: 3px;
}

.klc-faq-launcher svg {
  fill: none;
  height: 27px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 27px;
}

.klc-faq-tooltip {
  background: #171e19;
  border-radius: 4px;
  color: #ffffff;
  font: 600 13px/1 "Inter", Arial, sans-serif;
  left: calc(100% + 10px);
  opacity: 0;
  padding: 8px 9px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-4px);
  transition: opacity 150ms ease, transform 150ms ease;
  visibility: hidden;
  white-space: nowrap;
}

.klc-faq-launcher:hover .klc-faq-tooltip,
.klc-faq-launcher:focus-visible .klc-faq-tooltip {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.klc-faq-backdrop {
  align-items: flex-end;
  background: rgba(12, 18, 14, 0.5);
  display: flex;
  inset: 0;
  justify-content: flex-start;
  opacity: 0;
  padding: 24px 24px 92px;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 2147483000;
}

.klc-faq-backdrop[hidden] {
  display: none;
}

.klc-faq-backdrop.is-open {
  opacity: 1;
}

.klc-faq-dialog {
  background: #ffffff;
  border: 1px solid rgba(23, 30, 25, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(12, 18, 14, 0.32);
  color: #171e19;
  display: flex;
  flex-direction: column;
  font-family: "Inter", Arial, sans-serif;
  max-height: min(720px, calc(100dvh - 116px));
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 180ms ease;
  width: min(440px, calc(100vw - 48px));
}

.klc-faq-backdrop.is-open .klc-faq-dialog {
  transform: translateY(0);
}

.klc-faq-header {
  align-items: flex-start;
  background: #171e19;
  border-bottom: 4px solid #7cff67;
  color: #ffffff;
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  justify-content: space-between;
  padding: 20px;
}

.klc-faq-heading-group {
  min-width: 0;
}

.klc-faq-eyebrow {
  color: #7cff67;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.klc-faq-header h2 {
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.klc-faq-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  padding: 0;
  transition: background-color 150ms ease;
  width: 40px;
}

.klc-faq-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.klc-faq-close svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 20px;
}

.klc-faq-list {
  background: #f5f7f5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  scrollbar-color: #9aa59d transparent;
  scrollbar-width: thin;
}

.klc-faq-item {
  background: #ffffff;
  border: 1px solid #dce2de;
  border-radius: 6px;
  overflow: clip;
}

.klc-faq-item[open] {
  border-color: #9dac9f;
}

.klc-faq-item summary {
  align-items: center;
  color: #171e19;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 12px;
  justify-content: space-between;
  line-height: 1.4;
  list-style: none;
  min-height: 52px;
  padding: 14px 16px;
}

.klc-faq-item summary::-webkit-details-marker {
  display: none;
}

.klc-faq-item summary::after {
  align-items: center;
  background: #e9fbe7;
  border-radius: 50%;
  color: #254626;
  content: "+";
  display: flex;
  flex: 0 0 26px;
  font-size: 20px;
  font-weight: 500;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 26px;
}

.klc-faq-item[open] summary::after {
  content: "\2212";
}

.klc-faq-item p {
  border-top: 1px solid #e8ece9;
  color: #3f4b43;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  padding: 14px 16px 17px;
}

@media (max-width: 600px) {
  .klc-faq-launcher {
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
  }

  .klc-faq-tooltip {
    display: none;
  }

  .klc-faq-backdrop {
    align-items: flex-end;
    padding: 12px 12px 84px;
  }

  .klc-faq-dialog {
    max-height: calc(100dvh - 96px);
    width: 100%;
  }

  .klc-faq-header {
    padding: 17px;
  }

  .klc-faq-header h2 {
    font-size: 19px;
  }

  .klc-faq-list {
    padding: 10px;
  }

  .klc-faq-item summary {
    font-size: 14px;
    min-height: 50px;
    padding: 13px 14px;
  }

  .klc-faq-item p {
    font-size: 13px;
    padding: 13px 14px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .klc-faq-launcher,
  .klc-faq-tooltip,
  .klc-faq-backdrop,
  .klc-faq-dialog {
    transition: none;
  }
}
