/* Testul de amorțeală în mână (25 nov. 2026). Peste test-cervical.css (șablonul tc-*); aici doar tm-*.
   Direcțiile A (verificarea bazei policelui, palmele alăturate) + B (figura întreagă: încheietura și gâtul). */

/* verificarea */
.tm-steps { list-style: none; margin: var(--space-5, 1.25rem) 0 0; padding: 0; display: grid; gap: 10px; }
.tm-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; color: var(--v8-soft, rgb(237 232 223 / .78)); font-size: 1.0625rem; line-height: 1.45; }
.tm-steps .hh-loop-n { margin: 0; width: 32px; height: 32px; font-size: 14px; }
.tm-steps b { font-weight: 500; color: #ede8df; }
.tm-vo { margin-top: var(--space-6, 1.5rem); }
.tm-note { margin-top: 12px; padding: 14px 18px; border-radius: 16px; background: rgb(212 176 122 / .1); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .38); }
.tm-note[hidden] { display: none; }
.tm-note p { margin: 0 !important; font-size: 1rem !important; }
.tm-why { margin: var(--space-6, 1.5rem) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tm-why div { padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.tm-why dt { font: 500 .9375rem/1.3 var(--font-display); color: #ede8df; }
.tm-why dd { margin: 4px 0 0; font-size: .9375rem; line-height: 1.45; color: #b5c2c0; }
.tm-q9 { margin: 12px 0 0 !important; font-size: .9375rem !important; color: #d4b07a !important; }
.tm-q9[hidden] { display: none; }

/* figura: palmele (verificarea) sau corpul (întrebările, rezultatul) */
.tm-pv[hidden], .tm-fig .tc-body[hidden] { display: none; }
.tm-pv { display: grid; place-items: center; min-height: calc(100svh - 170px); }
.tm-palme { position: relative; width: 100%; aspect-ratio: 1064 / 974; }
.tm-palme img, .tm-palme svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tm-then { fill: none; stroke: #ede8df; stroke-width: 4; stroke-dasharray: 6 8; transition: stroke 300ms ease; }
.tm-then.is-on { stroke: #d4b07a; stroke-dasharray: none; stroke-width: 6; filter: url(#tc-g); }
.tm-then-f { fill: #d4b07a; opacity: 0; filter: url(#tc-bl); transition: opacity 300ms ease; } .tm-then-f.is-on { opacity: .45; }
.tm-site { opacity: 0; filter: url(#tc-bl); transition: opacity 400ms ease; }
.tm-wr { fill: #5ed0d8; } .tm-nk { fill: #ff8a4c; }
.tm-dot { fill: #5ed0d8; }

/* rezultatul */
.tm-alert { display: grid; grid-template-columns: minmax(0, 1fr); }
.tm-alert-p { width: 220px; margin: -6px 0 12px; }
.tm-alert2 { margin: 12px 0 0; }
.tm-alert2 p { margin: 0 !important; }
.tm-meters { display: grid; gap: 10px; margin: var(--space-6, 1.5rem) 0; }
.tm-m { display: grid; grid-template-columns: 96px 1fr 64px; gap: 14px; align-items: center; font: 500 .875rem/1.2 var(--font-display); color: #b5c2c0; }
.tm-m-k { color: #ede8df; }
.tm-m-t { height: 8px; border-radius: 6px; background: rgb(255 255 255 / .1); overflow: hidden; }
.tm-m-t i { display: block; height: 100%; width: 0; border-radius: 6px; background: #5ed0d8; transition: width 500ms cubic-bezier(.23, 1, .32, 1); }
.tm-m:nth-child(2) .tm-m-t i { background: #ff8a4c; }
.tm-m-t.is-s i { background: #d4b07a; }
.tm-m-v { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.tm-m-v b { font-weight: 500; color: #ede8df; }
.tm-sev { margin-top: var(--space-6, 1.5rem); }
.tm-sev p, .tm-main [data-tipar] p { margin: .75rem 0 0; }
.tm-book { margin-top: var(--space-8, 2rem) !important; }

/* secțiunea „Ce face testul” */
.tm-two { margin: 0; display: grid; gap: 12px; }
.tm-two div { padding: 18px 22px; border-radius: 20px; background: var(--color-card, #fff); box-shadow: inset 0 0 0 1px var(--hh-line); }
.tm-two dt { font: 500 1.125rem/1.3 var(--font-display); color: var(--color-foreground); }
.tm-two dd { margin: 6px 0 0; font-size: 1rem; line-height: 1.55; color: var(--color-muted-foreground); }
.tm-two b { font-weight: 500; color: var(--color-foreground); }
.tm-main .tc-rmn { margin-top: 12px; }
.tm-main .tc-rmn .cg-quote { margin: 0; }

@media (max-width: 1023px) {
  .tm-pv { min-height: 0; }
  .tm-pv .tm-palme { width: min(100%, 360px); margin-inline: auto; }
  .tm-why { grid-template-columns: 1fr; }
  .tm-m { grid-template-columns: 84px 1fr 66px; gap: 10px; }
  .tm-alert-p { width: 180px; }
}
:is(.rm, .mk-shot) :is(.tm-site, .tm-then, .tm-then-f, .tm-m-t i) { transition: none !important; }

/* ── rezultatul, 25 nov. (Victor: „îmbunătățește zona de mai sus, plus zona de programare”) ── */
.tm-alert { grid-template-columns: 150px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.tm-alert-p { grid-row: span 2; width: 150px; margin: 0; }
.tm-alert > :not(.tm-alert-p):not(.tc-h) { grid-column: 1 / -1; }
.tm-alert .tc-h { align-self: center; margin: 0; }
.tm-alert .tc-tel-n { margin-top: 12px !important; line-height: 1.45; }
.tm-sc-k { margin: 0 0 4px; font: 500 .875rem/1.3 var(--font-display); color: #d4b07a; }
.tm-meters { padding: 18px 20px; border-radius: 18px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.tm-book { margin-top: var(--space-8, 2rem) !important; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 24px; background: linear-gradient(160deg, rgb(94 208 216 / .12), rgb(94 208 216 / .03)); box-shadow: inset 0 0 0 1px rgb(94 208 216 / .3); }
.tm-book .tc-h3 { margin: 0; }
.tm-book p { margin: .5rem 0 0; color: #b5c2c0; font-size: 1rem; line-height: 1.55; }
.tm-book-a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: var(--space-6, 1.5rem); }
.tm-book-t { display: inline-flex; gap: 6px; align-items: baseline; color: #b5c2c0; text-decoration: none; font: 500 1rem/1.2 var(--font-display); }
.tm-book-t b { color: #ede8df; font-weight: 500; font-variant-numeric: tabular-nums; border-bottom: 1px solid rgb(237 232 223 / .35); }
.tm-book-c { font-size: .875rem !important; color: #8fa09d !important; }
@media (max-width: 1023px) {
  .tm-alert { grid-template-columns: 110px minmax(0, 1fr); column-gap: 14px; }
  .tm-alert-p { width: 110px; grid-row: auto; }
}
