/* =========================================================================
   WYCEŃ ONLINE - układ okresowy usług, odpowiedzi jako atomy, cena jako masa.
   Ładowany tylko na szablonie tpl-wycena.php (inc/quote.php). Buduje na
   komponentach z parts.css: .co-box, .co-grid, .field, .day.

   Język: usługa = pierwiastek (liczba, symbol, nazwa, „masa” = cena od),
   odpowiedź = atom na wspólnym wiązaniu, wybrana odpowiedź = atom wzbudzony
   (jądro świeci, orbita się kręci). Kolor rodziny = kolor filaru usługi.
   ========================================================================= */

.qt-app { display: grid; gap: clamp(24px,3vh,40px); --gc: var(--imp) }
[data-group="seo"]    { --gc: var(--svc-seo) }
[data-group="ads"]    { --gc: var(--svc-ads) }
[data-group="web"]    { --gc: var(--svc-web) }
[data-group="social"] { --gc: var(--svc-social) }
[data-group="data"]   { --gc: var(--data) }
[data-group="none"]   { --gc: var(--ink-500) }

.qt-screen[hidden] { display: none !important }
.qt-h { margin: 0; font-family: var(--font-display); letter-spacing: -.028em; line-height: 1;
  font-variation-settings: 'wght' 660, 'wdth' 98; font-size:clamp(1.6rem,min(1.1rem + 1.8vw,4.4vh),2.6rem) }
.qt-h:focus, .qt-q:focus { outline: none }
.qt-h em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent }
.qt-eyebrow { margin: 0; font: 600 var(--fs-xs)/1.2 var(--font-mono); letter-spacing: var(--tracking-over); text-transform: uppercase; color: var(--gc) }
.qt-link { justify-self: start; padding: 8px 0; border: 0; background: none; color: var(--fg-muted); font: 500 var(--fs-sm)/1 var(--font-text);
  cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong) }
.qt-link:hover { color: var(--imp) }

/* ---------- cząsteczka usługi: sześciokąt wtopiony w pole ----------
   Kształt ma zostać częścią tła, nie kartą na tle: półprzezroczyste
   wypełnienie (pole i molekuła prześwitują), obrys ledwie zaznaczony, bez
   cienia. Bez backdrop-filter: rozmycie nad żywym polem liczyło się co
   klatkę i quiz się zacinał (tak samo karty pytań niżej). Maska SVG
   zamiast clip-path - o 1 px mniejsza warstwa daje równy obrys. */
.qt-app { --hexm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47' preserveAspectRatio='none'%3E%3Cpath d='M50%200L100%2028.87L100%2086.6L50%20115.47L0%2086.6L0%2028.87Z'/%3E%3C/svg%3E") }
.qt-el { --w: 150px; position: relative; flex: none; display: grid; place-items: center; box-sizing: border-box;
  width: var(--w); aspect-ratio: 1 / 1.1547; color: var(--fg); text-decoration: none; isolation: isolate;
  transition: transform 1.1s var(--ease-out) }
.qt-el::before, .qt-el::after { content: ""; position: absolute;
  -webkit-mask: var(--hexm) center / 100% 100% no-repeat; mask: var(--hexm) center / 100% 100% no-repeat;
  transition: opacity 1s var(--ease-out), background 1s var(--ease-out) }
.qt-el::before { inset: 0; z-index: -2; opacity: .34;
  background: linear-gradient(160deg, color-mix(in srgb, var(--gc) 60%, #fff) 0%, color-mix(in srgb, var(--glow) 35%, #fff) 100%) }
.qt-el::after { inset: 1px; z-index: -1;
  background: radial-gradient(70% 60% at 50% 42%, rgba(255,255,255,.72) 0%, rgba(255,255,255,.5) 70%, color-mix(in srgb, var(--gc) 9%, rgba(255,255,255,.36)) 100%) }
.qt-atoms { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  --a: color-mix(in srgb, var(--gc) 45%, #fff);
  background:
    radial-gradient(circle at 50% 1.6%, var(--a) 0 2px, transparent 6px),
    radial-gradient(circle at 98.4% 74.7%, var(--a) 0 2px, transparent 6px),
    radial-gradient(circle at 1.6% 74.7%, var(--a) 0 2px, transparent 6px);
  opacity: .75; transition: opacity 1s var(--ease-out) }
.qt-el-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 3px; width: 76%; text-align: center }
.qt-el-mass { min-height: 1em; font: 500 clamp(.75rem, calc(var(--w) * .07), .8125rem)/1.25 var(--font-mono); letter-spacing: .01em;
  color: color-mix(in srgb, var(--gc) 55%, var(--fg-muted)) }
.qt-el-sym { padding: .04em .1em .08em; font-family: var(--font-display); font-size: calc(var(--w) * .2); line-height: 1.05; letter-spacing: -.013em;
  font-variation-settings: 'wght' 560, 'wdth' 100; white-space: nowrap;
  background: linear-gradient(140deg, color-mix(in srgb, var(--gc) 75%, var(--fg)) 0%, color-mix(in srgb, var(--gc) 50%, var(--glow)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 1; transition: opacity 1s var(--ease-out) }
.qt-el-sub { font: 500 clamp(.75rem, calc(var(--w) * .056), .8125rem)/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint) }

/* jądro: półprzezroczysta kula „nie wiem” */
.qt-el--core { aspect-ratio: 1; border-radius: 50% }
.qt-el--core::before, .qt-el--core::after { -webkit-mask: none; mask: none; border-radius: 50% }
.qt-el--core::before { inset: 8%; opacity: 1;
  background: radial-gradient(circle at 38% 32%, rgba(255,255,255,.8) 0 7%, color-mix(in srgb, var(--imp) 18%, rgba(255,255,255,.6)) 38%, color-mix(in srgb, var(--imp) 40%, rgba(255,255,255,.3)) 78%, color-mix(in srgb, var(--imp) 18%, transparent) 100%) }
.qt-el--core::after { inset: 0; background: none;
  border: 1px solid color-mix(in srgb, var(--imp) 16%, transparent); transform: scaleY(.4) rotate(-14deg) }
.qt-el--core .qt-atoms { background: radial-gradient(circle at 10% 32%, color-mix(in srgb, var(--glow) 70%, #fff) 0 2px, transparent 6px) }
.qt-el--core .qt-el-sym { background: none; color: color-mix(in srgb, var(--imp) 70%, var(--fg)); font-size: calc(var(--w) * .26); font-variation-settings: 'wght' 500 }
.qt-el--core .qt-el-sub { color: var(--fg-muted) }
.qt-el--core .qt-el-mass { display: none }

/* ---------- ekran 1: pierścień + legenda ---------- */
.qt-pick { display: grid; gap: clamp(24px,4vw,56px); align-items: center }
@media (min-width: 1000px) { .qt-pick { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) } 
}

.qt-legend { display: grid; gap: 12px; align-content: center; max-width: 46ch }
.qt-legend .lead { margin: 0 }
/* Wspolne miejsce na dopisek o rozmowie i opis najechanego kafla. Wysokosc
   zarezerwowana z gory: kolumna jest wysrodkowana w pionie, wiec bez rezerwy
   najechanie myszka podrzucalo naglowek strony o kilkadziesiat pikseli. */
.qt-legend-slot { display: grid; align-content: start; min-height: 128px; margin-top: 4px }
.qt-legend-slot > * { grid-area: 1 / 1 }
.qt-legend-on { display: grid; gap: 4px; align-content: start }
.qt-legend-on[hidden], .qt-legend [hidden] { display: none }
/* Nazwa najechanej uslugi musi byc wyrazniejsza od pytania nad nia -
   w tym samym stopniu pisma pytanie i odpowiedz czytaly sie jak dwa
   naglowki obok siebie. */
/* Dopisek ustepuje opisowi kafla TYLKO tam, gdzie jest czym najechac.
   Bez tej bramki na dotyku znikal link do bezplatnej rozmowy: skrypt zdejmowal
   `hidden` z legendy, wiec regula chowala dopisek, a sama legenda ma na
   telefonie `display:none` - w efekcie nie bylo widac ani jednego, ani drugiego. */
@media (hover: hover) and (pointer: fine) {
  .qt-legend-slot:has(.qt-legend-on:not([hidden])) .qt-pick-talk { visibility: hidden }
}
.qt-legend-name { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); letter-spacing: -.018em; line-height: 1.1; font-variation-settings: 'wght' 640 }
.qt-legend-desc { margin: 0; color: var(--fg-muted); font-size: var(--fs-body); line-height: 1.5 }
/* Cena stoi POD nazwa i opisem: najpierw co to jest, potem ile kosztuje.
   Nad nazwa czytala sie jak etykieta sekcji i scisnela caly blok. */
.qt-legend-price { margin: 6px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--imp) }
.qt-ring { --w: clamp(96px, min(29vw, calc((100svh - var(--ui-hdr, 104px) - 90px) / 2.9)), 186px); --g: clamp(6px, 1vw, 12px); display: grid; justify-content: center }
.qt-ring-row { display: flex; justify-content: center; align-items: center; gap: var(--g) }
.qt-ring-row + .qt-ring-row { margin-top: calc(var(--w) * -.2887 + var(--g) * .87) }
.qt-ring .qt-el { --w: inherit; cursor: pointer; will-change: translate; animation: qt-float 12s cubic-bezier(.45,.05,.55,.95) infinite }
.qt-ring-row:nth-child(1) .qt-el:nth-child(2), .qt-ring-row:nth-child(3) .qt-el:nth-child(1) { animation-delay: -4s; animation-duration: 13s }
.qt-ring-row:nth-child(2) .qt-el:nth-child(1), .qt-ring-row:nth-child(3) .qt-el:nth-child(2) { animation-delay: -8s; animation-duration: 11s }
.qt-ring-row:nth-child(2) .qt-el:nth-child(3) { animation-delay: -2s; animation-duration: 14s }
.qt-ring-row:nth-child(2) .qt-el--core { animation-duration: 16s }
/* dryf po łuku, nie skok w górę i w dół */
@keyframes qt-float {
  0%, 100% { translate: 0 0 }
  25% { translate: 1.5px -3px }
  50% { translate: 0 -4.5px }
  75% { translate: -1.5px -2px }
}
@media (hover: hover) { .qt-ring .qt-el:hover { transform: scale(1.025); z-index: 3 } 
}

.qt-ring .qt-el:focus-visible { transform: scale(1.025); z-index: 3 }
.qt-ring .qt-el:hover::before, .qt-ring .qt-el:focus-visible::before { opacity: .62 }
.qt-ring .qt-el:hover::after, .qt-ring .qt-el:focus-visible::after { background: radial-gradient(70% 60% at 50% 42%, rgba(255,255,255,.72) 0%, rgba(255,255,255,.42) 70%, color-mix(in srgb, var(--gc) 12%, rgba(255,255,255,.2)) 100%) }
.qt-ring .qt-el:hover .qt-atoms, .qt-ring .qt-el:focus-visible .qt-atoms { opacity: .9 }
.qt-ring .qt-el:hover .qt-el-sym { opacity: 1 }
.qt-ring .qt-el--core:hover::after, .qt-ring .qt-el--core:focus-visible::after { background: none }
.qt-ring .qt-el:focus-visible { outline: none }
.qt-ring .qt-el--core:hover::after { animation: qt-orbit 9s linear infinite }
@keyframes qt-orbit { from { transform: scaleY(.4) rotate(-14deg) } to { transform: scaleY(.4) rotate(346deg) } }

/* przejścia między ekranami: łagodne pojawienie zamiast przeskoku */
/* ekran tylko przenika (bez translate): przesunięcie tworzyłoby blok zawierający
   dla position:fixed i pasek ceny na telefonie lądował w środku karty */
.qt-screen:not([hidden]) { animation: qt-fade .9s var(--ease-out) both }
@keyframes qt-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes qt-in { from { opacity: 0; translate: 0 12px } to { opacity: 1; translate: 0 0 } }
.qt-step { animation: qt-in .7s var(--ease-out) both }

/* ---------- ekran 2: pytania ---------- */
.qt-run { display: grid; gap: clamp(20px,3vw,40px); align-items: start }
@media (min-width: 1040px) {
  .qt-run { grid-template-columns: minmax(0,1.5fr) minmax(0,.8fr); align-items: center }
  /* miejsce na cenę trzymamy od pierwszego pytania - karta nie przeskakuje, gdy cena się pojawi */
  .qt-run .qt-live[hidden] { display: grid !important; visibility: hidden }

}

.qt-main, .qt-live, .qt-price, .qt-order, .qt-ord-sum, .qt-done { padding: clamp(22px,3vw,40px); border-radius: var(--r-xl);
  background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2) }
.qt-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.qt-goto { margin: 0; padding: 10px 16px; border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--fg);
  background: color-mix(in srgb, var(--gc) 10%, transparent); box-shadow: inset 3px 0 0 var(--gc) }
.qt-goto[hidden] { display: none }
/* postęp: łańcuch atomów */
.qt-dots { display: flex; align-items: center; margin: 0; padding: 0; list-style: none }
.qt-dots li { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-200); position: relative; transition: background .6s var(--ease-out), transform .8s var(--ease-out) }
.qt-dots li + li { margin-left: 22px }
.qt-dots li + li::before { content: ""; position: absolute; right: 100%; top: 4px; width: 22px; height: 2px; background: var(--ink-100) }
.qt-dots li.is-done { background: var(--gc) }
.qt-dots li.is-done + li::before, .qt-dots li.is-now::before { background: color-mix(in srgb, var(--gc) 45%, transparent) }
.qt-dots li.is-now { background: var(--glow); transform: scale(1.35); box-shadow: 0 0 10px var(--glow) }
.qt-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px }
.qt-q { padding: 0; font-family: var(--font-display); font-size: var(--fs-h3); letter-spacing: -.018em; line-height: 1.1; font-variation-settings: 'wght' 640, 'wdth' 100; text-wrap: balance }
.qt-hint { margin: 0; color: var(--fg-muted); font-size: var(--fs-sm); max-width: 60ch }
.qt-hint[hidden] { display: none }

/* odpowiedzi: atomy na jednym wiązaniu */
.qt-opts { position: relative; display: grid; gap: 12px; margin-top: 10px }
.qt-opts::before { content: ""; position: absolute; left: 27.5px; top: 24px; bottom: 24px; width: 1px; opacity: .7;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gc) 35%, transparent), color-mix(in srgb, var(--glow) 30%, transparent)) }
.qt-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer;
  padding: 15px 20px 15px 66px; border-radius: var(--r-full); background: rgba(255,255,255,.66); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .15s ease, background .15s ease }
.qt-opt input { position: absolute; opacity: 0; width: 0; height: 0 }
.qt-atom { position: absolute; left: 12px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.7) }
.qt-atom::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gc) 26%, var(--ink-100)) }
.qt-atom i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-300);
  transition: transform .25s var(--ease-out), background .15s ease, box-shadow .25s var(--ease-out) }
.qt-opt:hover { background: #fff; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 40%, transparent) }
.qt-opt:hover .qt-atom i { background: color-mix(in srgb, var(--gc) 60%, var(--ink-300)) }
.qt-opt:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--gc), 0 20px 40px -24px color-mix(in srgb, var(--gc) 70%, transparent) }
.qt-opt:has(input:checked) .qt-atom::before { border-color: color-mix(in srgb, var(--gc) 55%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gc) 10%, transparent) }
.qt-opt:has(input:checked) .qt-atom i { transform: scale(1.5); background: linear-gradient(135deg, var(--gc), var(--glow)); box-shadow: 0 0 14px color-mix(in srgb, var(--glow) 70%, transparent) }
.qt-opt:has(input:focus-visible) { outline: 2.5px solid var(--gc); outline-offset: 3px }
.qt-opt-l { font-weight: 500; line-height: 1.35 }
.qt-opt-p { flex: none; font: 600 var(--fs-xs)/1 var(--font-mono); letter-spacing: .04em; color: color-mix(in srgb, var(--gc) 85%, var(--fg)); white-space: nowrap }
.qt-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 6px }
.qt-nav .btn[disabled] { opacity: .45; pointer-events: none }

/* pierwiastek na bieżąco */
.qt-live { gap: 14px; position: sticky; top: calc(var(--ui-hdr-stuck, 78px) + 20px) }
.qt-live[hidden] { display: none }
.qt-el--live { --w: 170px; justify-self: center }
.qt-live-lines, .qt-lines { display: grid; gap: 0; margin: 0; padding: 0; list-style: none }
.qt-live-lines li, .qt-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm) }
.qt-live-lines li span, .qt-lines li span { color: var(--fg-muted) }
.qt-live-lines li b, .qt-lines li b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums }

/* ---------- ekran 3: cena ---------- */
.qt-res { display: grid; gap: clamp(20px,3vw,40px); align-items: start }
.qt-price { gap: 16px }
.qt-el--res { --w: 128px }
.qt-sum { display: grid; gap: 0; margin: 0 }
.qt-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line) }
.qt-sum dt { color: var(--fg-muted); font-size: var(--fs-sm) }
.qt-sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap }
.qt-sum dd small { font-weight: 400; color: var(--fg-muted) }
.qt-total { border-top: 2px solid var(--fg) !important }
.qt-total dt { color: var(--fg); font-weight: 600 }
.qt-total dd { font-family: var(--font-display); font-size: var(--fs-h2); letter-spacing: -.028em; line-height: 1; font-variation-settings: 'wght' 680, 'wdth' 96;
  background: linear-gradient(115deg, var(--gc), var(--glow)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: normal; text-align: right }
.qt-note { margin: 0; color: var(--fg-muted); font-size: var(--fs-sm); max-width: 62ch }
.qt-note:empty { display: none }
.qt-in { display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--gc) 8%, rgba(255,255,255,.5)) }
.qt-in ul { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none }
.qt-in ul::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: color-mix(in srgb, var(--gc) 30%, transparent) }
.qt-in li { position: relative; padding-left: 28px; font-size: var(--fs-sm); line-height: 1.45 }
.qt-in li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gc), var(--glow)); box-shadow: 0 0 0 3px rgba(255,255,255,.85) }

/* zamówienie */
.qt-order h3, .qt-talk h3 { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); letter-spacing: -.018em; line-height: 1.1; font-variation-settings: 'wght' 640 }
.qt-order h3:focus { outline: none }
.qt-order[hidden], [data-invoice-fields][hidden] { display: none !important }
.qt-check { margin: 0 }
.qt-check label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); line-height: 1.5; color: var(--fg-muted) }
.qt-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gc) }
.qt-check a { color: var(--imp); text-decoration: underline; text-underline-offset: 3px }

/* ---------- ekran 4: rozmowa ---------- */
.qt-talk { display: grid; gap: clamp(24px,3.4vh,44px) }
.qt-talk-head { display: grid; gap: 12px; max-width: 64ch }
.qt-talk-head .lead, .qt-talk-head .muted { margin: 0 }
.qt-talk .co-box#wiadomosc { align-content: start }

/* ---------- po zamówieniu ---------- */
.qt-done { max-width: 720px; gap: 18px }
.qt-done h2, .qt-done .lead { margin: 0 }
.qt-done .btn { justify-self: start }

@media (max-width: 899px), (hover: none) {
  .qt-live { position: static }
  .qt-legend-on { display: none !important }
  /* Bez wskaznika nie ma najezdzania, wiec nie ma czego rezerwowac -
     inaczej pod dopiskiem o rozmowie zostaje 128 px pustego ekranu. */
  .qt-legend-slot { min-height: 0; margin-top: 0 }
  .qt-opt { padding: 14px 16px 14px 60px; border-radius: var(--r-lg) }
  .qt-opts::before { left: 25px }
  .qt-atom { left: 10px }
  .qt-nav .btn { flex: 1 1 auto; justify-content: center }

}

@media (prefers-reduced-motion: reduce) {
  .qt-el, .qt-opt, .qt-dots li, .qt-atom i { transition: none }
  .qt-el--core::after, .qt-ring .qt-el, .qt-screen, .qt-step { animation: none !important }

}


/* Wycena to jedna długa scena tuż nad stopką. Kotwica progu ciemnego ogona
   (page.css, telefon) ściągała przewijanie do stopki w środku odpowiadania
   na pytania, a warstwa ogona przyciemniała quiz. Tu progu nie kotwiczymy,
   a scena ma zapas pod spodem, żeby przyciski nie stały na granicy stopki. */
@media (max-width: 899px), (hover: none) {
  html { scroll-snap-type: none }

}

.ch.qt { padding-bottom: clamp(24px, 4vh, 48px) }


/* =========================================================================
   JEDEN EKRAN NA KROK
   Po wyborze usługi nagłówek strony się zwija, pytanie i odpowiedzi są
   zwarte, a wynik i zamówienie mają układ dwukolumnowy. Scena ma stałą
   minimalną wysokość, żeby zmiana ekranu nie skracała strony (skrócona
   strona podciągała stopkę i przesuwała widok).
   ========================================================================= */
.ch.qt { padding-top: var(--ui-hdr, 104px) }
/* Każdy ekran (start, pytania, cena, zamówienie, rozmowa) wypełnia okno pod
   paskiem, a treść stoi w jego środku - tyle samo powietrza nad nią co pod nią,
   na każdej wysokości. Ekran wyższy od okna po prostu zaczyna się od góry. */
.qt-screen { box-sizing: border-box; min-height: calc(100svh - var(--ui-hdr, 104px)); padding-block: clamp(12px, 3vh, 36px); align-content: center }
.qt-done-head { margin-top: clamp(16px, 3.5vh, 40px) }
.qt h1.qt-title { margin: 0; font-family: var(--font-display); font-size:clamp(2rem,min(1.3rem + 2.6vw,6.1vh),3.6rem); letter-spacing: -.028em; line-height: 1;
  font-variation-settings: 'wght' 660, 'wdth' 98 }
.qt h1.qt-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent }
.qt .qt-legend h2.qt-ask { margin: 6px 0 0; max-width: none; text-wrap: pretty; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: -.008em; line-height: 1.2;
  font-variation-settings: 'wght' 540, 'wdth' 100; color: var(--fg) }
.qt .qt-legend h2.qt-ask em { font-style: normal; background: none; color: var(--imp) }
.qt-legend .crumbs { margin: 0 }
.qt-done-head { display: grid; gap: 10px; margin-bottom: clamp(16px, 2.4vh, 28px) }
.qt-app { align-content: start }

/* pytanie */
.qt-main { gap: 14px; padding: clamp(20px, 2.4vw, 32px) }
.qt-q-wrap { display: grid; gap: 8px; padding: 0; margin-bottom: 2px }
.qt-q { display: block }
.qt-opts { gap: 10px; margin-top: 4px }
.qt-opt { padding-block: 13px }
@media (min-width: 720px) {
  .qt-opts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .qt-opts--grid::before { display: none }

}

.qt-live-mini { display: none; margin: 0 }
.qt-el--live { --w: 132px }

/* wynik */
.qt-price { display: grid; gap: clamp(20px, 3vw, 48px); padding: clamp(22px, 2.6vw, 36px) }
@media (min-width: 960px) { .qt-price { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) } 
}

.qt-res-a, .qt-res-b { display: grid; gap: 14px; align-content: start }
.qt-res-b .qt-el--res { justify-self: center; margin-bottom: 4px }
.qt-acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0 }

/* zamówienie */
.qt-ord { display: grid; gap: clamp(18px, 2.4vw, 32px); align-items: start }
@media (min-width: 960px) { .qt-ord { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr) } 
}

.qt-ord-sum { display: grid; gap: 10px; justify-items: start; position: sticky; top: calc(var(--ui-hdr-stuck, 78px) + 20px) }
.qt-ord-sum .qt-el--res { justify-self: center; margin: 4px 0 }
.qt-ord-gross { margin: 0; font-family: var(--font-display); font-size:clamp(1.7rem,min(1.3rem + 1.4vw,4.06vh),2.4rem); letter-spacing: -.023em; line-height: 1;
  font-variation-settings: 'wght' 660, 'wdth' 98; background: linear-gradient(115deg, var(--gc), var(--glow)); -webkit-background-clip: text; background-clip: text; color: transparent }
.qt-order { gap: 14px; padding: clamp(20px, 2.4vw, 32px) }
.qt-order .form-grid { gap: 14px }
.qt-order .field textarea { min-height: 64px }
.qt-ord-send { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap }
.qt-ord-send .slots-empty { margin: 0; flex: 1 1 260px; font-size: var(--fs-xs); color: var(--fg-muted) }

@media (max-width: 899px), (hover: none) {
  .qt-ord-sum { position: static; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px }
  .qt-ord-sum .qt-link { grid-column: 1 / -1 }
  /* figura w pierwszej kolumnie przez wszystkie wiersze, reszta w drugiej - bez tego
     cena netto wpadała pod figurę i przy 360 px poszerzała kolumnę 1, a kwota
     i termin łamały się w wąskim pasku obok */
  .qt-ord-sum .qt-el--res { --w: 84px; grid-column: 1; grid-row: 2 / span 5; margin: 0 }
  .qt-ord-sum > :not(.qt-el--res):not(.qt-link) { grid-column: 2; min-width: 0 }
  .qt-ord-sum .qt-el--res .qt-el-mass, .qt-ord-sum .qt-el--res .qt-el-sub { display: none }
  /* cena na bieżąco: pasek przy dolnej krawędzi zamiast karty pod pytaniem */
  .qt-live { position: fixed; top: auto; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    display: block; padding: 12px 20px; border-radius: var(--r-full) }
  .qt-live > .qt-eyebrow, .qt-live .qt-el--live, .qt-live .qt-live-lines { display: none }
  .qt-live-mini { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--fs-sm) }
  .qt-live-mini span { color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
  .qt-live-mini b { white-space: nowrap; color: var(--gc) }
  .qt-run { padding-bottom: 64px }

}


@media (max-width: 899px), (hover: none) {
  .ch.qt { padding-top: var(--ui-hdr, 88px) }
  .qt-screen { min-height: calc(100svh - var(--ui-hdr, 88px)) }
  .qt-pick { gap: 18px }
  .qt-legend { gap: 8px }
  .qt-legend .lead { font-size: var(--fs-sm) }
  .qt h1.qt-title { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.4rem) }
  .qt-ring { --w: clamp(90px, min(29vw, calc((100svh - 410px) / 2.7)), 140px) }

}


/* ---------- wynik: obietnica, kwoty, płatność, zakres ---------- */
.qt-promise { margin: 0; font-size: var(--fs-body); line-height: 1.55; color: var(--fg); max-width: 52ch; text-wrap: pretty }
.qt-totals { display: flex; flex-wrap: wrap; gap: 14px 32px; padding: 14px 0 4px; border-top: 1px solid var(--line) }
.qt-tot { display: grid; gap: 4px }
.qt-tot-l { font: 600 var(--fs-xs)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted) }
.qt-tot-n { font-family: var(--font-display); font-weight: 400; font-size:clamp(2rem,min(1.4rem + 2vw,5.08vh),3rem); letter-spacing: -.028em; line-height: 1;
  font-variation-settings: 'wght' 660, 'wdth' 98; background: linear-gradient(115deg, var(--gc), var(--glow)); -webkit-background-clip: text; background-clip: text; color: transparent }
.qt-tot-n small { font-size: .38em; letter-spacing: 0; font-variation-settings: 'wght' 500 }
.qt-tot--pair .qt-tot-n { font-size:clamp(1.6rem,min(1.2rem + 1.4vw,3.89vh),2.3rem) }
.qt-tot-g { font-size: var(--fs-sm); color: var(--fg-muted) }
.qt-sum--meta dd { white-space: normal; text-align: right; font-weight: 500; font-size: var(--fs-sm) }
.qt-cross { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: var(--fs-sm) }
.qt-cross[hidden] { display: none }
.qt-cross > span { color: var(--fg-muted) }
.qt-cross .qt-link { padding: 0; color: var(--gc); text-decoration-color: color-mix(in srgb, var(--gc) 40%, transparent); text-align: left }
.qt-proof { font-size: var(--fs-xs); gap: 6px 16px; margin-top: 2px }
.qt-outs { display: grid; gap: 8px; padding: 0 4px }
.qt-outs[hidden] { display: none }
.qt-outs ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none }
.qt-outs li { position: relative; padding-left: 20px; font-size: var(--fs-xs); line-height: 1.45; color: var(--fg-muted) }
.qt-outs li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 8px; height: 1.5px; background: var(--ink-300) }
.qt-outs .qt-eyebrow { color: var(--fg-muted) }
.qt-portfolio[hidden] { display: none }
.qt-res-b .qt-in { padding: 14px 16px }
.qt-ord-due-l { margin: 6px 0 -6px }

/* odpowiedź z opisem i plakietką polecanej */
.qt-opt-t { display: grid; gap: 3px; min-width: 0 }
.qt-opt-d { font-size: var(--fs-xs); line-height: 1.45; color: var(--fg-muted) }
.qt-rec { display: inline-block; margin-left: 6px; padding: 3px 8px; border-radius: var(--r-full); vertical-align: 2px;
  font: 600 .625rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal;
  color: var(--gc); background: color-mix(in srgb, var(--gc) 12%, transparent) }
.qt-opt:has(.qt-opt-d) { border-radius: var(--r-lg) }

/* próbka raportu z audytu: cztery strony jak rozłożone kartki */
.qt-sample { display: grid; gap: 10px }
.qt-sample[hidden] { display: none }
.qt-sample ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none }
.qt-sample a { display: block; border-radius: var(--r-sm); overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 10px 22px -14px rgba(27,24,48,.35); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out) }
.qt-sample li:nth-child(odd) a { transform: rotate(-1.2deg) }
.qt-sample li:nth-child(even) a { transform: rotate(1deg) translateY(4px) }
.qt-sample a:hover, .qt-sample a:focus-visible { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 0 1.5px var(--gc), 0 18px 30px -16px rgba(27,24,48,.45) }
.qt-sample img { display: block; width: 100%; height: auto }

/* pytania do pracy w zamówieniu: podpowiedź pod polem, obszerne pola na całą szerokość */
.qt-ask-h { margin: 18px 0 -2px; font-size: var(--fs-sm); font-weight: 600; color: var(--fg) }
.qt-ask-h[hidden] { display: none }
.qt-order .field label em { font-style: normal; font-weight: 400; color: var(--fg-muted) }
.qt-f-h { display: block; margin-top: 5px; font-size: var(--fs-xs); line-height: 1.45; color: var(--fg-muted) }
.qt-order .qt-f-wide { grid-column: 1 / -1 }
@media (min-width: 720px) { .qt-order .qt-f-half { grid-column: span 1 } 
}


/* czego potrzebujemy do startu - lista na ekranie wyniku */
.qt-needs { margin-top: 18px }
.qt-needs[hidden] { display: none }
.qt-needs ul { margin: 8px 0 6px; padding: 0; list-style: none; display: grid; gap: 7px }
.qt-needs li { position: relative; padding-left: 18px; font-size: var(--fs-sm); line-height: 1.5; color: var(--fg-soft) }
.qt-needs li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gc); opacity: .55 }

/* wycena na e-mail: drugorzędne wyjście, nie konkuruje z zamówieniem */
.qt-mail-cta { margin: 10px 0 0 }
.qt-mail { display: grid; gap: 10px; margin: 12px 0 0; padding: 16px 18px; border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--paper) 72%, transparent); box-shadow: 0 0 0 1px var(--line) }
.qt-mail[hidden] { display: none }
.qt-mail .field { margin: 0 }
.qt-mail .btn { justify-self: start }

/* czego nie obiecujemy: stoi przy cenie, nie w drobnym druku */
.qt-honest { margin: 10px 0 0; padding: 12px 14px; border-radius: var(--r-md); font-size: var(--fs-sm); line-height: 1.55;
  color: var(--fg-soft); background: color-mix(in oklab, var(--paper) 66%, transparent); box-shadow: inset 0 0 0 1px var(--line) }
.qt-honest[hidden] { display: none }
.qt-dopl { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-md); font-size: var(--fs-sm); line-height: 1.5;
  background: color-mix(in oklab, var(--paper) 66%, transparent); box-shadow: inset 0 0 0 1px var(--line) }
.qt-dopl[hidden] { display: none }
.qt-dopl-h { margin: 0 0 6px; font-weight: 600; color: var(--fg) }
.qt-dopl ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px }
.qt-dopl li { display: flex; justify-content: space-between; gap: 12px; color: var(--fg-soft) }
.qt-dopl li b { white-space: nowrap; color: var(--fg) }
.qt-dopl-d { margin: 8px 0 0; color: var(--fg-muted) }

/* bezpłatna rozmowa na ekranie wyboru usługi: zanim zobaczysz jakąkolwiek cenę */
.qt-pick-talk { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--fg-muted) }
/* Odnosnik nie ma sie lamac w polowie: „Umow bezplatna" w jednym wierszu
   i „rozmowe" w nastepnym wygladalo jak blad skladu. */
.qt-pick-talk a { color: var(--imp); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap }

/* KREATOR WYGLĄDU: miniatury przy odpowiedziach. Rysowane w CSS, bez obrazków,
   żeby nie ładować kilograma grafik dla kroku, który klient może pominąć. */
.qt-art { flex: 0 0 auto; width: 62px; height: 44px; border-radius: var(--r-sm); overflow: hidden; position: relative;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line) }
.qt-art::before, .qt-art::after { content: ""; position: absolute; border-radius: 2px }
.qt-opt:has(.qt-art) { align-items: center }
.qt-opt:has(.qt-art) .qt-opt-t { flex: 1 1 auto }
.qt-app { --qt-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") }
.qt-app { --qt-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L12 17.3 5.9 20.6l1.4-6.8L2.2 9.1l6.9-.8z' fill='%23000'/%3E%3C/svg%3E") }

/* Telefon: cena pod treścią odpowiedzi, nie obok niej. W jednym wierszu tekst
   robił się wąską szpaltą, a kwota wisiała przy krawędzi. */
@media (max-width: 640px) {
  .qt-opt { flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; padding: 14px 16px 14px 56px }
  .qt-opt-t { flex: 1 1 100% }
  .qt-opt-p { flex: 1 1 100%; text-align: left; font-size: var(--fs-sm) }
  .qt-atom { top: 18px; margin-top: 0 }
  .qt-nav [data-act="next"][hidden] { display: none }

}

.qt-nav [data-act="next"][hidden] { display: none }
.qt-nav:has([data-act="next"][hidden]) { justify-content: flex-start }

/* „Najczęściej wybierane” ma być widać przed przeczytaniem plakietki: obwódka
   w kolorze usługi i jaśniejsze tło. Zaznaczona odpowiedź nadal wygrywa. */
.qt-opt.is-rec:not(:has(input:checked)) { background: color-mix(in srgb, var(--gc) 6%, rgba(255,255,255,.8));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc) 42%, transparent), 0 16px 34px -26px color-mix(in srgb, var(--gc) 70%, transparent) }
.qt-opt.is-rec .qt-rec { color: #fff; background: linear-gradient(115deg, var(--gc), var(--glow)); box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--gc) 80%, transparent) }

/* =========================================================================
   FORMULARZ ZAMÓWIENIA: CZYTELNE ETYKIETY I TRZY KROKI
   Etykiety były wersalikami z rozstrzeloną spacją - „Jakie podstrony mają
   się znaleźć na stronie?" zajmowało dwie linijki, a cały formularz 1700 px
   na komputerze i 2444 px na telefonie.
   ========================================================================= */
.qt-order .field label { font: 600 var(--fs-sm)/1.3 var(--font-text); letter-spacing: 0;
  text-transform: none; color: var(--fg) }
.qt-order .field label em { font-size: var(--fs-xs); color: var(--fg-muted) }
.qt-order .qt-f-h { font-size: var(--fs-xs); line-height: 1.45; color: var(--fg-muted) }

.qt-ord-step { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0 }
.qt-ord-step[hidden] { display: none }
.qt-ord-acts { display: flex; align-items: center; gap: 16px; margin: 6px 0 0 }

/* pasek kroków: gdzie jestem i ile zostało */
.qt-ord-nav { display: flex; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none;
  counter-reset: ordstep; flex-wrap: wrap }
.qt-ord-nav li { counter-increment: ordstep; display: flex; align-items: center; gap: 7px;
  font-size: var(--fs-xs); color: var(--fg-muted) }
.qt-ord-nav li::before { content: counter(ordstep); display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 999px; font: 600 11px/1 var(--font-mono);
  color: var(--fg-muted); background: color-mix(in oklab, var(--line) 70%, transparent) }
.qt-ord-nav li + li::after { content: none }
.qt-ord-nav li:not(:last-child) { padding-right: 8px }
.qt-ord-nav li.is-on { color: var(--fg); font-weight: 600 }
.qt-ord-nav li.is-on::before { color: #fff; background: var(--imp) }
.qt-ord-nav li.is-done::before { color: #fff; background: color-mix(in oklab, var(--imp) 55%, var(--line)) }

/* =========================================================================
   KROK "SZCZEGÓŁY": WIDAĆ, GDZIE KOŃCZY SIĘ PYTANIE, A GDZIE ZACZYNA POLE
   Zmierzone przed poprawką: odstęp etykieta-pole 6 px, a między dwoma
   pytaniami tylko 14 px. Bliższe sobie były rzeczy z RÓŻNYCH pytań niż te
   z jednego - stąd wrażenie, że wszystko się wtapia. Teraz pytanie trzyma
   się kupy, a sąsiednie pytania dzieli wyraźna przerwa.
   ========================================================================= */
.qt-order .qt-ask-h { margin: 8px 0 2px; font-size: var(--fs-md); font-weight: 700 }
.qt-order [data-ostep="2"] .form-grid { gap: 30px 24px }
.qt-order [data-ostep="2"] .field { gap: 6px }
.qt-order [data-ostep="2"] .field label { font-size: var(--fs-body); line-height: 1.35 }
.qt-order [data-ostep="2"] .qt-f-h { margin: -1px 0 2px; max-width: 60ch }

/* Pole do wpisania wygląda jak pole: jasna płyta z podkreśleniem, a nie sama
   kreska gubiąca się w tekście. */
.qt-order .field input, .qt-order .field textarea {
  padding: 12px 14px;
  background: color-mix(in oklab, var(--line) 30%, #fff);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  box-shadow: inset 0 -2px 0 var(--line-strong);
}
.qt-order .field input:hover, .qt-order .field textarea:hover {
  background: color-mix(in oklab, var(--line) 46%, #fff);
}
.qt-order .field input:focus, .qt-order .field textarea:focus {
  background: #fff;
  box-shadow: inset 0 -2.5px 0 var(--imp);
}
.qt-order .field textarea { min-height: 84px }

/* Krok "Szczegóły" idzie jedną kolumną. W dwóch kolumnach krótkie pytania
   raz stały parami, a raz samotnie obok pustego miejsca - zależnie od tego,
   czy sąsiad był polem na kilka zdań. Wyglądało to jak niedokończony układ. */
.qt-order [data-ostep="2"] .form-grid { grid-template-columns: minmax(0, 1fr) }
.qt-order [data-ostep="2"] .field { grid-column: 1 / -1 }
.qt-order [data-ostep="2"] .field input,
.qt-order [data-ostep="2"] .field textarea { max-width: 72ch }

/* =========================================================================
   PYTANIE ZAWSZE NA GÓRZE
   Karta z pytaniem była wyśrodkowana względem panelu z bieżącą ceną, a ten
   rośnie z każdą odpowiedzią: 276 px na starcie, 1168 px pod koniec. Przez
   to pytanie zjeżdżało z 249 px na 596 px od góry okna - na laptopie
   schodziło poniżej krawędzi ekranu i trzeba było szukać go przewijaniem.
   Pytanie trzyma górę, cena rośnie obok, bo jest sprawą drugą.
   ========================================================================= */
.qt-run { align-content: start }
@media (min-width: 960px) {
  .qt-run { align-items: start }
}

/* Przy nieparzystej liczbie krótkich odpowiedzi ostatnia zostawała sama
   w połowie rzędu, obok pustego miejsca - wyglądało to jak niedokończony
   układ. Teraz zajmuje cały rząd. */
@media (min-width: 720px) {
  .qt-opts--grid > .qt-opt:last-child:nth-child(odd) { grid-column: 1 / -1 }
}

/* =========================================================================
   POSTĘP ANKIETY: CIĄGŁY PASEK
   Kropki były policzalne, a ich liczba rosła w trakcie: po zaznaczeniu
   „mam starą stronę" dochodziły trzy pytania i z dziesięciu robiło się
   dwanaście. Meta odsuwała się klientowi w biegu. Pasek mówi, ile drogi za
   nim, i nie obiecuje liczby kroków, której nie możemy dotrzymać.
   ========================================================================= */
.qt-dots { display: block; width: min(320px, 100%); height: 4px; border-radius: 999px;
  overflow: hidden; background: var(--ink-100) }
.qt-dots i { display: block; height: 100%; border-radius: 999px; min-width: 4px;
  background: var(--grad-cta); transition: width .5s var(--ease-out) }
@media (prefers-reduced-motion: reduce) { .qt-dots i { transition: none } }

/* Akceptacja makiety: jedna decyzja, nie ustawienie. */
.qt-only-ok { display: grid; gap: 10px; justify-items: start; margin-top: 6px }
.qt-only-ok[hidden] { display: none }
.qt-only-ok.is-done { padding: 14px 18px; border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--gc) 12%, transparent) }
.qt-only-ok.is-done .qt-note { color: var(--fg); font-weight: 600 }

/* =========================================================================
   BRIEF: PYTANIA O TREŚĆ
   Makieta ustala, jak ma wyglądać. Brief zbiera to, co ma być napisane -
   i to on decyduje, kiedy naprawdę ruszamy.
   ========================================================================= */
.qt-brief { display: grid; gap: 18px; align-content: start }
.qt-brief-h { display: grid; gap: 8px; max-width: 62ch }
.qt-brief-h .qt-h { margin: 0 }
.qt-brief-box { display: grid; gap: 26px }
.qt-brief .field { gap: 6px }
.qt-brief .field label span { font: 600 var(--fs-body)/1.35 var(--font-text); color: var(--fg) }
.qt-brief .qt-f-h { font-size: var(--fs-xs); line-height: 1.45; color: var(--fg-muted); max-width: 66ch }
.qt-brief textarea { min-height: 86px; padding: 12px 14px;
  background: color-mix(in oklab, var(--line) 30%, #fff);
  border-radius: var(--r-sm) var(--r-sm) 0 0; box-shadow: inset 0 -2px 0 var(--line-strong) }
.qt-brief textarea:focus { background: #fff; box-shadow: inset 0 -2.5px 0 var(--imp) }
.qt-brief-acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 0 }
.qt-brief .qt-note.is-done { padding: 14px 18px; border-radius: var(--r-lg); font-weight: 600; color: var(--fg);
  background: color-mix(in oklab, var(--gc) 12%, transparent) }
@media (min-width: 900px) { .qt-brief-box { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* Etykiety briefu zwykłym pismem, nie wersalikami z rozstrzeloną spacją -
   pytania są długie i w wersalikach łamały się na dwie linijki. */
.qt-brief .field label { text-transform: none; letter-spacing: 0; font: inherit }

/* =========================================================================
   MAKIETA OBOK PYTAŃ
   Makieta była osobnym ekranem PO ostatnim pytaniu, a wchodziło się na nią
   deklaracją „tak, przejdźmy przez to teraz” - czyli sześcioma krokami
   więcej PRZED poznaniem ceny. Przy takim ustawieniu wybór jest oczywisty
   i najlepsza rzecz w całym narzędziu była pomijana. Teraz stoi w prawej
   kolumnie, rysuje się sama z odpowiedzi i niczego nie wstrzymuje.
   ========================================================================= */
.qt-maq { display: grid; gap: 14px; margin: 0; min-width: 0 }
.qt-maq figcaption { margin: 0 }
.qt-maq .qt-eyebrow { margin: 0 }
.qt-maq-note { margin: 0; font-size: var(--fs-sm); color: var(--fg-muted) }
.qt-maq .btn { justify-self: start }
.qt-maq-acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 }
.qt-maq--res { margin-top: clamp(18px, 2vw, 28px) }


/* Kolumna siatki ma domyślnie szerokość treści, a element grida min-width:auto
   - makieta w podglądzie jest szeroka na 1280 px i zanim `zoom` ją zmniejszy,
   rozpycha kolumnę. Na telefonie wychodziła poza ekran razem z dopiskiem.
   Kolumna to minmax(0,1fr), nie 1fr - ta sama pułapka co w `.wrap`. */
.qt-run { grid-template-columns: minmax(0, 1fr) }
@media (min-width: 1040px) {
  .qt-run { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) }
}
/* Kadr makiety musi móc zejść poniżej swojej treści - inaczej kolumna
   figury rośnie do 1280 px × zoom i wychodzi poza kartę. */
.qt-maq { grid-template-columns: minmax(0, 1fr) }
.qt-maq > * { min-width: 0 }

/* =========================================================================
   PIERŚCIEŃ ZAMIAST ROZSYPANEGO PLASTRA
   Osiem pól nie ma pojedynczego środka, więc „nie wiem” siedziało
   w środkowym RZĘDZIE, ale obok osi - i było kulą wśród sześciokątów.
   Sześć pól w rzędach 2-3-2 z pustym środkiem daje figurę symetryczną
   w obu osiach: każda komórka ma dwóch sąsiadów, a środek jest środkiem.
   ========================================================================= */
.qt-ring-hole { display: block; flex: none; width: var(--w); aspect-ratio: 1 / 1.1547 }
/* Pływanie rozdzielamy na przeciwległe pary - sąsiadujące komórki nie mogą
   iść w tę samą stronę w tej samej chwili, bo wtedy cała figura faluje
   jak jeden blok zamiast oddychać. */
.qt-ring-row:nth-child(1) .qt-el:nth-child(2),
.qt-ring-row:nth-child(3) .qt-el:nth-child(1) { animation-delay: -4s; animation-duration: 13s }
.qt-ring-row:nth-child(2) .qt-el:nth-child(1),
.qt-ring-row:nth-child(3) .qt-el:nth-child(2) { animation-delay: -8s; animation-duration: 11s }
.qt-ring-row:nth-child(2) .qt-el:nth-child(3) { animation-delay: -2s; animation-duration: 14s }

/* Jądro to koło, a koło ma węższe pole na napis niż sześciokąt. Stopień
   pisma był dobrany pod „?” - jeden znak - więc dłuższa nazwa wychodziła
   poza kulę na sąsiednie komórki. Dzielimy go przez długość napisu
   (--sym ustawia szablon), żeby jedno i drugie mieściło się bez zmian
   w treści. */
.qt-el--core .qt-el-sym { font-size: calc(var(--w) * .26 / max(1, var(--sym, 1) * .27)) }
.qt-el--core .qt-el-in { max-width: 74%; text-align: center }
.qt-el--core .qt-el-sub { text-wrap: balance }
/* Reguła autora z `display` bije atrybut `hidden` z arkusza przeglądarki,
   więc pusty podgląd wychodził na ekranach, na których makiety nie ma
   (np. pakiet). Ta sama poprawka co przy `.qt-live[hidden]`. */
.qt-maq[hidden] { display: none }
/* Podgląd ma być cichy: kadr niższy, wejście do kreatora odnośnikiem,
   nie drugim przyciskiem obok ceny. */

/* =========================================================================
   KWOTA BRUTTO PRZESTAJE BYĆ PRZYPISEM
   Duża liczba to netto - świadomy wybór, bo większość klientów VAT
   odlicza. Ale fryzjerka, budowlaniec czy gabinet zwolniony z VAT płacą
   kwotę brutto i to ona jest dla nich ceną. Brutto stało w rozmiarze
   przypisu, w kolorze wygaszonym - czyli wyglądało na zastrzeżenie,
   a nie na drugą prawdziwą kwotę. Dostaje wagę i kolor treści.
   ========================================================================= */
.qt-tot-g { font-size: var(--fs-base); font-weight: 600; color: var(--fg) }
.qt-tot-g small { font-weight: 400; color: var(--fg-muted) }

/* Dopisek pod dobrowolną zgodą - ton przypisu, nie drugiej zgody. */
.qt-check-note { display: block; margin: 4px 0 0 28px; font-size: var(--fs-xs); color: var(--muted) }
