/* Lista testelor (/teste/), 26 nov. 2026. Se încarcă după hub-hernie-v3.css. Prefix propriu: tx-.
   Sursa acestui fișier: docs/design/teste-2026-11-26/surse/hub/teste.css (build.py îl copiază în mockup/pagini/). */

/* ── 00 · Atlasul ─────────────────────────────────────────────────────────── */
.tx-hero { overflow: hidden; }
.tx-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); grid-template-areas: "txt fig" "pan fig";
  column-gap: clamp(2rem, 1rem + 4vw, 5rem); row-gap: 0; align-items: start; padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) clamp(3rem, 2rem + 3vw, 5rem); }
.tx-txt { grid-area: txt; align-self: end; }
.tx-pan { grid-area: pan; }
.tx-figw { grid-area: fig; align-self: start; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tx-h1 { margin: 0; font: 500 clamp(2.5rem, 1.5rem + 2.6vw, 4rem)/1.04 var(--font-display); letter-spacing: -0.035em; color: var(--v8-white, #ede8df); text-wrap: balance; }
.tx-h1 span { color: #d4b07a; }
.tx-ans { max-width: 36rem; }
.tx-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: var(--space-5) 0 0; padding: 0; list-style: none; font: 500 .9375rem/1.3 var(--font-display); color: var(--v8-white, #ede8df); }
.tx-facts li { display: flex; align-items: center; gap: 10px; }
.tx-facts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #d4b07a; }
.tx-warn { display: flex; align-items: flex-start; gap: 12px; max-width: 36rem; margin-top: var(--space-5); color: #f2a59b; font: 500 .9375rem/1.45 var(--font-display); text-decoration: none; }
.tx-warn > span:last-child { text-decoration: underline; text-decoration-color: rgb(242 165 155 / .4); text-underline-offset: 3px; transition: text-decoration-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .tx-warn:hover > span:last-child { text-decoration-color: currentColor; } }
.tx-warn-d { flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; background: #f2897e; box-shadow: 0 0 0 5px rgb(242 137 126 / .2); }

/* figura: corpul din spate, cât înălțimea ecranului de sub antet; zonele = butoane pe coordonatele imaginii */
.tx-fig { position: relative; height: clamp(600px, calc(100svh - var(--hh-hdr) - 96px), 900px); aspect-ratio: 640 / 1526; }
.tx-fig > img { display: block; width: 100%; height: 100%; transition: filter 400ms var(--hh-ease-out); }
.tx-fig[data-z="corp"] > img { filter: drop-shadow(0 0 14px rgb(254 209 148 / .45)); }
.tx-scan { position: absolute; left: -14%; right: -14%; top: 0; height: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgb(254 209 148 / 0), #fed194 50%, rgb(254 209 148 / 0)); box-shadow: 0 0 12px rgb(254 209 148 / .8); }
.tx-pt { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tx-pt-d { width: 14px; height: 14px; border-radius: 50%; background: #d4b07a; box-shadow: 0 0 0 5px rgb(212 176 122 / .2), 0 0 16px rgb(254 209 148 / .55);
  transition: transform 220ms var(--hh-ease-out), background-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease; }
.tx-pt-l { position: absolute; left: 100%; top: 50%; z-index: 3; display: grid; gap: 2px; padding: 9px 13px; border-radius: 14px; white-space: nowrap; text-align: left;
  background: rgb(13 35 38 / .92); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .45), 0 12px 28px -14px rgb(0 0 0 / .6); backdrop-filter: blur(8px);
  font: 500 .9375rem/1.2 var(--font-display); color: #ede8df; opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity 180ms ease, transform 220ms var(--hh-ease-out); }
.tx-pt-l small { font-size: .8125rem; color: #d4b07a; }
.tx-pt-l::before { content: ""; position: absolute; right: 100%; top: 50%; width: 12px; height: 1px; background: #d4b07a; }
.tx-pt.is-l .tx-pt-l { left: auto; right: 100%; transform: translate(-6px, -50%); }
.tx-pt.is-l .tx-pt-l::before { right: auto; left: 100%; }
.tx-pt[aria-pressed="true"] .tx-pt-d, .tx-pt:focus-visible .tx-pt-d { transform: scale(1.3); background: #fed194; box-shadow: 0 0 0 6px rgb(212 176 122 / .3), 0 0 0 16px rgb(212 176 122 / .12), 0 0 26px #fed194; }
.tx-pt[aria-pressed="true"] .tx-pt-l, .tx-pt:focus-visible .tx-pt-l { opacity: 1; transform: translate(10px, -50%); }
.tx-pt.is-l[aria-pressed="true"] .tx-pt-l, .tx-pt.is-l:focus-visible .tx-pt-l { transform: translate(-10px, -50%); }
.tx-pt:focus-visible { outline: none; }
.tx-pt:focus-visible .tx-pt-d { outline: 2px solid #5ed0d8; outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .tx-pt:hover .tx-pt-d { transform: scale(1.3); background: #fed194; }
  .tx-pt:hover .tx-pt-l { opacity: 1; transform: translate(10px, -50%); }
  .tx-pt.is-l:hover .tx-pt-l { transform: translate(-10px, -50%); }
}
/* o zonă aleasă: celelalte puncte se sting; la „Tot corpul” rămân toate aprinse, figura capătă conturul auriu */
.tx-fig[data-z]:not([data-z="start"]):not([data-z="corp"]) .tx-pt:not([aria-pressed="true"]) .tx-pt-d { opacity: .45; }
/* starea implicită: cele trei puncte de plecare (S) au inelul în plus */
.tx-fig[data-z="start"] .tx-pt[data-start] .tx-pt-d { box-shadow: 0 0 0 5px rgb(212 176 122 / .2), 0 0 0 12px rgb(212 176 122 / .14), 0 0 18px rgb(254 209 148 / .7); }

/* „Tot corpul”: testele transversale (S) n-au un punct, au un buton sub picioare */
.tx-all { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); color: #ede8df; font: 500 1rem/1 var(--font-display);
  transition: background-color 200ms ease, box-shadow 200ms ease; }
.tx-all small { margin-left: 4px; font-size: .875rem; color: #d4b07a; }
.tx-all-d { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px #d4b07a; }
.tx-all[aria-pressed="true"] { background: rgb(212 176 122 / .14); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .7); }
.tx-all[aria-pressed="true"] .tx-all-d { background: #fed194; box-shadow: 0 0 10px #fed194; }
.tx-all:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .tx-all:hover { box-shadow: inset 0 0 0 1px rgb(212 176 122 / .6); } }

/* butoanele zonelor (pe telefon, sub figură; pe desktop alegerea se face pe figură) */
.tx-chips { display: none; }
.tx-chip { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16);
  color: #ede8df; font: 500 .9375rem/1.1 var(--font-display); transition: background-color 180ms ease, color 180ms ease; }
.tx-chip[aria-pressed="true"] { background: #d4b07a; color: #13201f; box-shadow: none; }
.tx-chip:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 2px; }

/* panoul: implicit punctele de plecare, apoi testele zonei alese */
.tx-pan { margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem); max-width: 36rem; }
.tx-pz[hidden] { display: none; }
.tx-pz-h { margin: 0; font: 500 clamp(1.375rem, 1.1rem + .7vw, 1.75rem)/1.15 var(--font-display); letter-spacing: -0.02em; color: #ede8df; text-wrap: balance; }
.tx-pz-p { margin: 10px 0 0; color: var(--v8-soft, #b5c2c0); line-height: 1.55; text-wrap: pretty; }
.tx-pz-k { display: flex; align-items: center; gap: .6em; margin: 0; font: 500 1rem/1.3 var(--font-display); color: #d4b07a; }
.tx-pz-k::before { content: ""; flex: none; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, currentColor); }
.tx-rows { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; gap: 14px; align-items: center; min-height: 64px; padding: 10px 12px 10px 18px; border-radius: 18px;
  background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); color: #ede8df; text-decoration: none;
  transition: transform 200ms var(--hh-ease-out), box-shadow 200ms ease, background-color 200ms ease; }
.tx-row-c { display: grid; gap: 3px; min-width: 0; }
.tx-row-t { font: 500 1.0625rem/1.25 var(--font-display); }
.tx-row-p { font-size: .9375rem; line-height: 1.4; color: var(--v8-soft, #b5c2c0); }
.tx-row-q { font: 500 .875rem/1 var(--font-display); color: #d4b07a; white-space: nowrap; }
.tx-row:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .tx-row:hover { transform: translateY(-2px); background: rgb(212 176 122 / .08); box-shadow: inset 0 0 0 1px rgb(212 176 122 / .55); } }
.tx-back { margin-top: 14px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--v8-soft, #b5c2c0);
  font: 500 .9375rem/1.2 var(--font-display); text-decoration: underline; text-decoration-color: rgb(181 194 192 / .4); text-underline-offset: 3px; }
.tx-back:focus-visible { outline: 2px solid #5ed0d8; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .tx-back:hover { color: #ede8df; text-decoration-color: currentColor; } }
.tx-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* săgeata în cerc (comună: rânduri și carduri), centrată și la hover */
.tx-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); transition: transform 200ms var(--hh-ease-out); }
.tx-go svg { display: block; transition: transform 200ms var(--hh-ease-out); }
@media (hover: hover) and (pointer: fine) { :is(.tx-row, .tx-card):hover .tx-go svg { transform: translateX(2px); } }

/* intrarea: linia aurie trece o dată de la cap la picioare, zonele se aprind când ajunge la ele */
html.mk-js:not(.mk-shot):not(.rm) .tx-scan { animation: tx-scan 2400ms linear 350ms both; }
html.mk-js:not(.mk-shot):not(.rm) .tx-pt-d { animation: tx-pt-in 520ms var(--hh-ease-out) backwards; animation-delay: calc(350ms + var(--y) * 2400ms); }
html.mk-js:not(.mk-shot):not(.rm) .tx-all { animation: tx-fade 500ms ease 2600ms backwards; }
@keyframes tx-scan { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes tx-pt-in { 0% { opacity: 0; transform: scale(.2); } 60% { opacity: 1; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }
@keyframes tx-fade { from { opacity: 0; } }
html.mk-js:not(.mk-shot):not(.rm) .tx-pz.is-in { animation: tx-pz-in 260ms var(--hh-ease-out); }
@keyframes tx-pz-in { from { opacity: 0; transform: translateY(8px); } }

@media (min-width: 1024px) {
  /* figura rămâne pe ecran cât se citește panoul (top numai împreună cu sticky) */
  .tx-figw { position: sticky; top: calc(var(--hh-hdr) + 16px); }
}
@media (max-width: 1023px) {
  .tx-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "fig" "pan"; }
  .tx-figw { margin-top: var(--space-6); width: 100%; }
  .tx-fig { height: 420px; min-height: 0; }
  .tx-all { display: none; }
  .tx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .tx-pan { max-width: none; margin-top: var(--space-6); }
  .tx-pt-l { padding: 7px 10px; font-size: .875rem; }
  .tx-row-q { display: none; }
}

/* ── 01 · Când nu completa un test ────────────────────────────────────────── */
.tx-urg .ua { max-width: 48rem; grid-template-columns: minmax(0, 1fr) !important; }
.tx-urg .ua-body { gap: var(--space-4); }
.tx-urg-l { margin: 0; font: 500 1.125rem/1.45 var(--font-display); color: var(--color-foreground); text-wrap: pretty; }

/* ── 02 · Alege zona: grupurile și cardurile cu lupa ──────────────────────── */
.tx-g + .tx-g { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.tx-g-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--hh-line); }
.tx-g-t { margin: 0; font: 500 clamp(1.375rem, 1.1rem + .8vw, 1.75rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.tx-g-n { margin: 0; font: 500 .9375rem/1.3 var(--font-display); color: var(--color-muted-foreground); }
/* grila: 3 coloane; testul-poartă al grupului (S: lombar, genunchi) ține 2, ca rândurile să fie pline; umărul (4 teste) pe 4 coloane */
.tx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tx-cards > li { display: flex; }
.tx-cards > li.is-wide { grid-column: span 2; }
@media (min-width: 1280px) { .tx-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .tx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tx-cards { grid-template-columns: minmax(0, 1fr); } .tx-cards > li.is-wide { grid-column: auto; } }
.tx-card { position: relative; display: grid; grid-template-rows: auto 1fr; width: 100%; overflow: hidden; border-radius: 22px; color: var(--color-foreground); text-decoration: none;
  background: var(--color-card); box-shadow: 0 0 0 1px var(--color-border), 0 1px 2px rgb(19 32 31 / .04), 0 10px 26px -18px rgb(19 32 31 / .25);
  transition: transform 220ms var(--hh-ease-out), box-shadow 220ms ease; }
.dark .tx-card { box-shadow: 0 0 0 1px var(--color-border), 0 12px 28px -18px rgb(0 0 0 / .6); }
@media (hover: hover) and (pointer: fine) {
  .tx-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgb(212 176 122 / .6), 0 2px 4px rgb(19 32 31 / .05), 0 18px 36px -20px rgb(19 32 31 / .35); }
  .tx-card:hover .tx-lens img { transform: scale(1.04); }
}
.tx-card:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 3px; }
/* lupa: aceeași figură, mărită pe zona testului; punctul auriu stă în centrul lupei */
.tx-lens { position: relative; display: block; height: clamp(196px, 12rem + 2vw, 232px); overflow: hidden; background: var(--hh-scene); container-type: size; }
/* mărirea se raportează la înălțimea lupei (178cqh ≈ lățimea unui card obișnuit), deci cardul lat arată aceeași mărire, doar mai larg */
.tx-lens img { position: absolute; max-width: none; height: auto; width: calc(var(--s) * 178cqh); left: calc(50cqw - var(--x) * var(--s) * 178cqh); top: calc(50cqh - var(--y) * var(--s) * 424.4cqh);
  transform-origin: calc(var(--x) * 100%) calc(var(--y) * 100%); transition: transform 600ms var(--hh-ease-out); }
.tx-lens:not(.is-all)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fed194; box-shadow: 0 0 0 6px rgb(212 176 122 / .25), 0 0 16px #fed194; }
.tx-lens.is-all img { left: 50%; top: 5%; width: auto; height: 90%; transform-origin: 50% 50%; translate: -50% 0; filter: drop-shadow(0 0 10px rgb(254 209 148 / .35)); }
.tx-badge { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: #d4b07a; color: #13201f; font: 500 .8125rem/1 var(--font-display); }
.tx-card-b { display: grid; align-content: start; gap: 8px; padding: 20px 22px 24px; }
.tx-card-t { font: 500 1.25rem/1.2 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.tx-card-a { line-height: 1.5; text-wrap: pretty; }
.tx-card-p { font-size: .9375rem; line-height: 1.45; color: var(--color-muted-foreground); text-wrap: pretty; }
.tx-card-p b { font-weight: 600; color: var(--color-foreground); }
.tx-card-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 6px 56px 0 0; font: 500 .875rem/1.3 var(--font-display); color: var(--color-muted-foreground); }
.tx-m-q { color: var(--color-eyebrow); }
.tx-m-p { display: inline-flex; align-items: center; gap: 8px; }
.tx-m-p::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.tx-saved { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 12px; border-radius: 999px;
  background: var(--color-accent); color: var(--color-accent-foreground); font: 500 .8125rem/1.2 var(--font-display); }
.tx-saved[hidden] { display: none; }
.tx-saved::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tx-card > .tx-go { position: absolute; right: 18px; bottom: 18px; }

/* ── 03 · Ce fac testele, ce nu fac ───────────────────────────────────────── */
.tx-do-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 64rem; }
.tx-do-i { padding: clamp(1.25rem, 1rem + .8vw, 1.75rem); border-radius: 20px; background: var(--color-card); box-shadow: 0 0 0 1px var(--color-border); }
.tx-do-i p { margin: 0; line-height: 1.55; text-wrap: pretty; }
.tx-do-i .tx-do-k { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font: 500 1.25rem/1.2 var(--font-display); }
.tx-do-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.tx-do-ic svg { display: block; }
.is-da .tx-do-ic { background: var(--color-accent); color: var(--color-accent-foreground); }
.is-nu .tx-do-ic { background: var(--color-secondary); color: var(--color-muted-foreground); }
.tx-do-n { max-width: 44rem; margin: var(--space-6) 0 0; line-height: 1.55; color: var(--color-muted-foreground); text-wrap: pretty; }
.tx-do-n b { color: var(--color-foreground); font-weight: 600; }
@media (max-width: 760px) { .tx-do-g { grid-template-columns: minmax(0, 1fr); } }
