/* FAQ ask: one input row, same ink as the list; answer reuses the slot. */
.faq-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 320px;
  margin: 20px 0 0;
}

.faq-ask-slot {
  border-bottom: 1px solid var(--line);
}

.faq-live[hidden] {
  display: none !important;
}

.faq-live .faq-turn-q {
  margin: 0;
  padding: 22px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.faq-live .faq-turn-a {
  margin: 0;
  padding: 12px 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.faq-live .faq-turn-a[data-pending="true"] {
  opacity: .72;
}

.faq-ask {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 12px;
  align-items: center;
  margin: 0;
  padding: 8px 0 10px;
}

.faq-ask[hidden] {
  display: none !important;
}

.faq-ask input {
  border: 0;
  border-radius: 0;
  background: transparent;
  height: 48px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
}

.faq-ask input:focus,
.faq-ask input:focus-visible {
  outline: none;
  box-shadow: none;
}

.faq-ask input::placeholder {
  color: var(--muted);
  opacity: .9;
}

.faq-ask button[type="submit"] {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1.5;
}

.faq-ask button[type="submit"]:hover:not(:disabled) {
  opacity: .7;
}

.faq-ask button[type="submit"]:disabled {
  opacity: .45;
  cursor: wait;
}

.faq-ask-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.faq-ask-status.is-error {
  color: var(--error);
}

.faq-ask-status:empty {
  display: none;
}

.faq-cta {
  color: var(--blue);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-ask-again {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: inherit;
  cursor: pointer;
}

.faq-ask-again span {
  color: var(--blue);
}

.faq-ask-again:hover {
  opacity: .75;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .faq-lead {
    max-width: none;
    font-size: 14px;
    margin-top: 12px;
  }

  .faq-ask {
    padding: 4px 0 8px;
  }

  .faq-ask input {
    font-size: 16px;
    height: 52px;
  }
}
