/* =========================================================
   CHECKER „9 pytań: która połowa budżetu sprzedaje?” — page-checker-9-pytan.php
   Dokłada tylko to, czego nie ma w checker.css (ładowany razem z tym plikiem).
   Kolory wyłącznie z core/tokens.css. Lime tylko jako wypełnienie albo na forest.
========================================================= */

/* --- Karta z pytaniami: pasek postępu + jedno pytanie naraz (z JS) --- */
.q9Card{ gap:24px; }
.q9Intro{ margin:0; font-size:14px; line-height:1.6; color:var(--muted); }

/* Pasek postępu: 9 odcinków; odpowiedziane forest, bieżące neoblue (lime nie na jasnym tle, §1) */
.q9Bar{ display:grid; gap:10px; }
.q9Bar__top{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; }
.q9Bar__label{ font-size:15px; font-weight:600; }
.q9Back{ padding:10px 0; }
.q9Back[hidden]{ display:none; }
.q9Bar__steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); gap:6px; }
.q9Bar__steps li{ height:8px; border-radius:999px; background:var(--wm-forest-10); transition:background-color .2s; }
.q9Bar__steps li.is-done{ background:var(--wm-forest); }
.q9Bar__steps li.is-current{ background:var(--wm-neoblue); }
/* Bez JS pasek nic nie mówi — chowamy go */
.q9Form:not(.is-js) .q9Bar{ display:none; }

/* Pytanie */
.q9Deck{ display:grid; gap:32px; }
.q9Q{ margin:0; padding:0; border:0; min-width:0; display:grid; gap:12px; }
.q9Q__block{ margin:0; display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; color:var(--muted); }
.q9Q__block .checkerStep__num{ width:28px; height:28px; font-size:13px; }
.q9Q__text{ float:left; width:100%; padding:0; font-size:clamp(20px, 1vw + 16px, 26px); font-weight:700; line-height:1.3; max-width:40ch; }
.q9Q__text + *{ clear:both; }
.q9Q__hint{ font-size:14px; }
.q9Choice{ grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:8px; }
.q9Choice .checkerChoice__body{ min-height:64px; align-content:center; padding:16px 20px; }
.q9Choice .checkerChoice__body b{ font-size:17px; }

/* Z JS: widać tylko bieżącą kartę, wymiana z przesunięciem */
.q9Form.is-js .q9Q:not(.is-active){ display:none; }
.q9Form.is-js .q9Deck{ display:block; min-height:250px; }
.q9Q.is-in-next{ animation:q9In .28s ease-out; }
.q9Q.is-in-prev{ animation:q9InPrev .28s ease-out; }
@keyframes q9In{ from{ opacity:0; transform:translateX(32px); } to{ opacity:1; transform:none; } }
@keyframes q9InPrev{ from{ opacity:0; transform:translateX(-32px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .q9Q.is-in-next, .q9Q.is-in-prev{ animation:none; } .q9Bar__steps li{ transition:none; } }
.q9Actions[hidden]{ display:none; }

/* Wynik: liczby bloków — opis pod liczbą w dwóch linijkach */
.q9Form ~ .checkerResult .checkerStats > div > span:last-child b{ color:var(--text); font-weight:600; } /* v2: jasne (webmountain-ux-v2/BRANDBOOK-WWW.md) */

/* „Zacznij od pomiaru” — ramka jak .wmCase (forest-10) */
.q9First{ background:var(--wm-forest-10); border-radius:var(--radius); padding:18px 20px; display:grid; gap:6px; }
.q9First b{ font-size:16px; }
.q9First p{ margin:0; font-size:15px; line-height:1.6; }

/* Luki: lista kroków z numerem w kółku lime (jak .svcSteps) */
.q9Gaps{ display:grid; gap:12px; }
.q9Gaps h3{ margin:0; font-size:18px; }
.q9Gaps__list{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.q9Gap{ display:grid; grid-template-columns:32px minmax(0,1fr); gap:14px; align-items:start; padding:16px; border:1px solid var(--wm-forest-25); border-radius:14px; }
.q9Gap__nr{ width:32px; height:32px; border-radius:50%; background:var(--wm-lime); color:var(--wm-forest); display:grid; place-items:center; font-size:15px; font-weight:700; }
.q9Gap b{ font-size:16px; }
.q9Gap__ans{ display:inline-block; margin-left:6px; padding:1px 10px; border-radius:999px; border:1px solid var(--wm-forest-25); font-size:12px; font-weight:600; vertical-align:1px; }
.q9Gap p{ margin:6px 0 0; font-size:15px; line-height:1.6; }
.q9Gap__step{ color:var(--muted); }
.q9Gap__step b{ font-size:15px; color:var(--wm-forest); }

@media (max-width:760px){
  .q9Choice{ grid-template-columns:minmax(0,1fr); }
  .q9Form.is-js .q9Deck{ min-height:0; }
  .q9Bar__steps{ gap:4px; }
  .q9Gap{ grid-template-columns:minmax(0,1fr); gap:10px; }
}
