/* Testul „Hernie de disc” (26 nov. 2026): peste test-cervical.css (tc-*), piesele testului lombar (tl-body, tl-numb, tl-stand, tl-esc, tl-stop-p, tl-q15),
   ale celui „RMN normal” (rn-scale, rn-zones, rn-next, rn-key, rn-nodx), ale celui de amorțeală (tm-book) și „Durere persistentă” (dp-good).
   Direcțiile alese: C = „trei din zece, fără nicio durere” pe primul ecran, A = firul dintre imagine și picior, B = mersul pe călcâie / vârfuri la 8 și 9. */

/* ── primul ecran (C): discurile ───────────────────────────────────── */
.hd-disks { margin: var(--space-6, 1.5rem) 0 0; padding: 18px 20px 16px; border-radius: 20px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.hd-disks-k { margin: 0 0 6px; font: 500 .9375rem/1.35 var(--font-display); color: #ede8df; }
.hd-row { display: grid; grid-template-columns: 104px repeat(10, minmax(0, 1fr)) 44px; gap: 6px; align-items: center; margin-top: 8px; }
.hd-row b { font: 500 .875rem/1.2 var(--font-display); color: #b5c2c0; white-space: nowrap; }
.hd-row em { font: 500 .9375rem/1 var(--font-display); font-style: normal; font-variant-numeric: tabular-nums; text-align: right; color: #f3dcb4; }
.hd-row i { aspect-ratio: 1.7; border-radius: 50%; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .18); }
.hd-row i.is-on { background: radial-gradient(circle at 72% 50%, #ff8a4c 0 17%, rgb(212 176 122 / .2) 19%); box-shadow: inset 0 0 0 1.5px #d4b07a; }
.hd-src { margin: 10px 0 0; font-size: .8125rem; line-height: 1.45; color: #8fa09d; }
.hd-five { margin-top: var(--space-6, 1.5rem); }
.hd-zones { margin-top: 0; }
.hd-zones span { padding-top: 12px; border-top: 6px solid; font: 500 .8125rem/1.3 var(--font-display); color: #b5c2c0; }
.hd-zones span b { display: block; font-size: .9375rem; color: #ede8df; }
.hd-zones span:nth-child(1) { border-color: rgb(94 208 216 / .6); } .hd-zones span:nth-child(2) { border-color: #d4b07a; } .hd-zones span:nth-child(3) { border-color: #ff8a4c; }
.hd-stops { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.hd-stops li { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgb(224 116 90 / .1); box-shadow: inset 0 0 0 1px rgb(224 116 90 / .4); font: 500 .8125rem/1.25 var(--font-display); color: #f2c6b8; }
.hd-stops i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e0745a; color: #1b0f0c; font: 600 11px/1 var(--font-display); font-style: normal; }
/* rezultatul: zonele cu numele acestui test */
.rn-zones [data-z="mic"].is-on { border-color: #5ed0d8; } .rn-zones [data-z="compresie"].is-on { border-color: #ff8a4c; }

/* ── întrebările 8 și 9: instrucțiunea din S în trei pași ───────────── */
.hd-do { display: grid; gap: 10px; margin: var(--space-4, 1rem) 0 0; padding: 0; list-style: none; counter-reset: hd; }
.hd-do li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 1rem; line-height: 1.45; color: #d7dedc; counter-increment: hd; }
.hd-do li::before { content: counter(hd); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #d4b07a; color: #13201f; font: 500 14px/28px var(--font-display); text-align: center; font-variant-numeric: tabular-nums; }
.hd-note { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: .9375rem; line-height: 1.45; color: #bfeef1; }

/* ── figura (A): discul și firul ──────────────────────────────────── */
.hd-thr { fill: none; stroke: #d4b07a; stroke-width: 8; stroke-linecap: round; filter: url(#tc-g); transition: stroke-dashoffset 800ms cubic-bezier(.23, 1, .32, 1), opacity 300ms ease, stroke 300ms ease; }
.hd-thr.is-unsure { stroke-dasharray: 2 16 !important; stroke-dashoffset: 0 !important; opacity: .85; }
.hd-thr.is-dim { opacity: .3; }
.hd-thr.is-hot { stroke: #ffa070; stroke-width: 10; }
/* 10 = C: tusea trimite un puls pe fir, din disc până unde coboară durerea */
.hd-pulse { fill: none; stroke: #fff3e0; stroke-width: 6; stroke-linecap: round; filter: url(#tc-g); opacity: 0; stroke-dasharray: 60 calc(var(--L, 900) * 1px); stroke-dashoffset: 60; }
.hd-pulse.is-on { opacity: .95; animation: hd-pulse 1.8s cubic-bezier(.55, 0, .45, 1) infinite; }
@keyframes hd-pulse { 0% { stroke-dashoffset: 60; opacity: 0; } 12% { opacity: .95; } 80% { opacity: .95; } 100% { stroke-dashoffset: calc((var(--E, 0) - var(--L, 900)) * 1px); opacity: 0; } }
.hd-disc { fill: rgb(11 42 48 / .8); stroke: #d4b07a; stroke-width: 3; }
.hd-hern { fill: #ff8a4c; filter: url(#tc-g); transition: r 400ms cubic-bezier(.23, 1, .32, 1), opacity 300ms ease; }
.hd-hern-h { fill: #ff8a4c; filter: url(#tc-bl); transition: opacity 300ms ease; }
.hd-fig .hd-rmn { opacity: 1; fill: #d4b07a; }
.tl-numb.is-edge { filter: none; stroke-linecap: butt; }
/* ce se potrivește până acum */
.hd-body { position: relative; }
.hd-match { position: absolute; top: 2%; right: calc(100% + 16px); width: 196px; padding: 14px 16px 12px; border-radius: 18px; background: rgb(11 42 48 / .86); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hd-match-k { margin: 0 0 6px; font: 500 .8125rem/1.3 var(--font-display); color: #d4b07a; }
.hd-m { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 0; font: 500 .875rem/1.3 var(--font-display); color: #ede8df; }
.hd-m em { font-style: normal; text-align: right; color: #8fa09d; }
.hd-m em.is-y { color: #8fe3e9; } .hd-m em.is-u { color: #e6c999; } .hd-m em.is-w { color: #ffb48a; }
[data-ecran="siguranta"] .hd-match, [data-ecran="stop"] .hd-match, [data-ecran="intro"] .hd-match { display: none; }
/* la 8 și 9 (B): figura care merge */
.hd-walk { position: relative; height: min(calc(100svh - 230px), 680px); aspect-ratio: 2 / 3; margin-inline: auto; border-radius: 28px; overflow: hidden; background: #022229; }
.hd-walk[hidden] { display: none; }
.hd-walk img, .hd-walk svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hd-walk img { object-fit: cover; }
.hd-walk img[hidden] { display: none; }
.hd-foot { fill: none; stroke: #d4b07a; stroke-width: 3.5; stroke-dasharray: 4 8; stroke-linecap: round; }
.hd-fig .hd-wl { opacity: 1; fill: #f3dcb4; stroke: #022229; font-size: 56px; }

/* cifra numărului de surse („2”) stătea cu 0,66 px prea sus (cifre-cerc.mjs) */
.hd-page .hh-src-h span { padding-top: 1px; box-sizing: border-box; }

/* ── rezultatul ────────────────────────────────────────────────────── */
.hd-main [data-tipar] p { margin: .75rem 0 0; }
.hd-next-l { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.hd-alert [data-al] > p { margin: .75rem 0 0; }

/* ── „De ce contează întrebarea asta” ─────────────────────────────── */
.hd-why-s > p + p, .hd-why-s > ul + p { margin-top: 14px; }
.hd-cite { font-size: .875rem; color: var(--ink-muted, #5c6b69); }
.hd-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.hd-three li { padding: 18px 20px; border-radius: 18px; background: var(--card, #fff); box-shadow: inset 0 0 0 1px rgb(19 32 31 / .08); }
.hd-three b { display: block; font: 500 1.0625rem/1.3 var(--font-display); }
.hd-three span { display: block; margin-top: 6px; font-size: .9375rem; line-height: 1.45; color: var(--ink-muted, #5c6b69); }
.hd-why-s .tc-link { color: #006f7a; } .dark .hd-why-s .tc-link { color: #5ed0d8; }
.dark .hd-three li { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }

@media (max-width: 1023px) {
  .hd-row { grid-template-columns: 86px repeat(10, minmax(0, 1fr)) 38px; gap: 4px; }
  .hd-row b { font-size: .8125rem; }
  .hd-match { display: none; }
  .hd-walk { height: 260px; border-radius: 20px; }
  .hd-three { grid-template-columns: minmax(0, 1fr); }
}
/* fără mișcare: pulsul devine o urmă stinsă, fixă, pe porțiunea pe care coboară durerea */
:is(.rm, .mk-shot) .hd-pulse.is-on { animation: none; opacity: .55; stroke-width: 3; stroke-dasharray: calc((var(--L, 900) - var(--E, 0)) * 1px) calc(var(--L, 900) * 1px); stroke-dashoffset: 0; }
:is(.rm, .mk-shot) :is(.hd-thr, .hd-hern, .hd-hern-h) { transition: none !important; }
@media print {
  .site-hdr, .site-ftr, .mk-bar, .tc-fig, .tm-book, .tc-res-nav, .hh-crumbs, main > section:not(#test) { display: none !important; }
  .tc-hero, .tc-hero * { background: none !important; color: #000 !important; box-shadow: none !important; }
}
