@charset "UTF-8";
/*!
 * Source for css/quiz-steps.min.css — template-quiz-steps.php's own stylesheet.
 *
 * Layout per Raman's review, 2026-10-21 (no Figma frame exists for this page):
 * 20px above the form in both languages, a 720px column (Tally's question column
 * is ~684px plus its own ~18px inset, so the progress bar now lines up with the
 * questions), 60px below, and no full-screen min-height.
 *
 * The skeleton overlays the iframe until js/quiz-steps.js adds .is-loaded. Its
 * shapes approximate Tally's first step: progress bar, three-line heading,
 * label, two-line question, two answer cards (stacked below 576px, as Tally
 * stacks them).
 */
body.page-template-template-quiz-steps {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.quiz-steps {
  box-sizing: border-box;
  flex: 1 0 auto;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 10px 60px;
}
.quiz-steps__frame {
  position: relative;
}
.quiz-steps iframe {
  display: block;
  width: 100%;
}
.quiz-steps__skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 18px;
  overflow: hidden;
  background: var(--rs-surface-page);
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.quiz-steps__skeleton span {
  display: block;
  border-radius: var(--rs-radius-xs);
  background: var(--rs-grey-light-40);
  animation: quiz-steps-pulse 1.4s ease-in-out infinite;
}
.quiz-steps__frame.is-loaded .quiz-steps__skeleton {
  visibility: hidden;
  opacity: 0;
}
.quiz-steps__sk-progress {
  height: 4px;
  margin-bottom: 18px;
}
.quiz-steps__sk-line {
  width: 70%;
  height: 14px;
}
.quiz-steps__sk-line--h {
  width: 90%;
  height: 36px;
}
.quiz-steps__sk-line--short {
  width: 45%;
}
.quiz-steps__sk-line--label {
  width: 25%;
  margin: 26px 0 22px;
}
.quiz-steps span.quiz-steps__sk-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 300px;
  margin-top: 4px;
  background: none;
  animation: none;
}
@media (max-width: 575px) {
  .quiz-steps span.quiz-steps__sk-cards {
    grid-template-columns: 1fr;
    height: 600px;
  }
}
.quiz-steps span.quiz-steps__sk-cards span {
  border: 1px solid var(--rs-grey-light-30);
  border-radius: var(--rs-radius-m);
  background: var(--rs-surface-card);
}

@keyframes quiz-steps-pulse {
  50% {
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-steps__skeleton span {
    animation: none;
  }
}