/* „Jak to działa”: przycisk i przewodnik z dymkami (includes/jak-to-dziala.php). Kolory jak karty pracy Strefy lektora.
   Selektory są mocniejsze niż style przycisków z motywu (Elementor daje przyciskom padding 20px 36px, 24px i niebieskie tło). */
[data-qs-tool] .qs-jtd-btn, .qs-jtd .qs-jtd__btn, .qs-jtd .qs-jtd__x { min-height: 0; box-shadow: none; text-transform: none; letter-spacing: normal; text-decoration: none; }
[data-qs-tool] .qs-jtd-btn {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 14px;
  font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1.2; color: #18464C; background: #fff;
  border: 1.5px solid #4845B6; border-radius: 999px; cursor: pointer;
}
[data-qs-tool] .qs-jtd-btn:hover, [data-qs-tool] .qs-jtd-btn:focus { background: #EEEDFB; color: #18464C; border-color: #4845B6; }
[data-qs-tool] .qs-jtd-btn:focus-visible { outline: 2px solid #4845B6; outline-offset: 2px; }

.qs-jtd { position: fixed; inset: 0; z-index: 100000; pointer-events: none; }
.qs-jtd__zaslona {
  position: fixed; pointer-events: auto;
  background: rgba(16, 24, 32, .5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.qs-jtd__ramka {
  position: fixed; box-sizing: border-box; border: 3px solid #DEFD36; border-radius: 12px;
  box-shadow: 0 0 0 2px #4845B6; transition: all .18s ease;
}
.qs-jtd__dymek {
  position: fixed; box-sizing: border-box; pointer-events: auto;
  padding: 16px 18px 14px; background: #fff; color: #18464C;
  border: 1.5px solid #4845B6; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16, 24, 32, .25);
  transition: top .18s ease, left .18s ease;
}
.qs-jtd__tytul { margin: 0 28px 6px 0; font: 400 24px/1.1 'Englebert', sans-serif; color: #18464C; }
.qs-jtd__tresc { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: #23303a; }
.qs-jtd__dol { display: flex; align-items: center; gap: 8px; }
.qs-jtd__licznik { margin-right: auto; font-size: 13px; color: #5B6472; }
.qs-jtd .qs-jtd__btn {
  padding: 8px 14px; font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1.2; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #4845B6; background: #fff; color: #4845B6;
}
.qs-jtd .qs-jtd__btn--dalej { background: #4845B6; color: #fff; }
.qs-jtd .qs-jtd__btn:hover, .qs-jtd .qs-jtd__btn:focus { background: #EEEDFB; color: #4845B6; border-color: #4845B6; }
.qs-jtd .qs-jtd__btn--dalej:hover, .qs-jtd .qs-jtd__btn--dalej:focus { background: #3a37a0; color: #fff; }
.qs-jtd .qs-jtd__btn:disabled { opacity: .35; cursor: default; background: #fff; color: #4845B6; }
.qs-jtd__btn:focus-visible, .qs-jtd__x:focus-visible { outline: 2px solid #18464C; outline-offset: 2px; }
.qs-jtd .qs-jtd__x {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0;
  font-size: 16px; line-height: 32px; color: #5B6472; background: none; border: 0; border-radius: 50%; cursor: pointer;
}
.qs-jtd .qs-jtd__x:hover, .qs-jtd .qs-jtd__x:focus { background: #EEEDFB; color: #18464C; }
@media (prefers-reduced-motion: reduce) { .qs-jtd__ramka, .qs-jtd__dymek { transition: none; } }
@media print { .qs-jtd, [data-qs-tool] .qs-jtd-btn { display: none !important; } }
