/* /convocatoria · rediseño 2026-09-24. Se apoya en /home-assets/conv/conv.css (tokens, botones, FAQ, cierre, pie)
   y solo añade las piezas propias: panel de estado, recorrido, verificador, calculadora, examen y físicas. */

.cv-page .section { padding-block: clamp(56px, 7vw, 96px); }
.cv-page .section-head { margin-bottom: 32px; }

/* Etiquetas de certeza y de estado */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 750; letter-spacing: 0.01em; white-space: nowrap; }
.badge-oficial { background: #e3f6ee; color: var(--dom); }
.badge-orientativo { background: #fff4dc; color: #9a6400; }
.badge-prevision { background: var(--none); color: var(--muted); }
.cv-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.cv-chip.is-now { background: var(--blue); color: #fff; }
.cv-chip.is-next { background: var(--blue-3); color: var(--blue-2); }

/* 1 · Hero con el panel de estado */
.cv-hero { padding: 48px 0 72px; }
.cv-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.cv-hero h1 { margin: 20px 0 18px; font-size: clamp(36px, 3.9vw, 54px); }
.cv-hero h1 span { display: block; color: var(--blue); }

.cv-board { position: relative; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.cv-board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.cv-board-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.cv-board-title .i { color: var(--red); }
.cv-board-today { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cv-line { display: block; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: var(--soft); transition: border-color 0.15s ease, transform 0.15s ease; }
.cv-line:first-of-type { background: #fff; border-color: rgba(8, 103, 255, 0.35); box-shadow: 0 0 0 4px rgba(8, 103, 255, 0.06); }
.cv-line:hover { border-color: var(--blue); transform: translateY(-1px); }
.cv-line-top { display: flex; align-items: baseline; justify-content: space-between; }
.cv-line-top b { font-size: 16px; }
.cv-line-top span { font-size: 13px; font-weight: 750; color: var(--muted); font-variant-numeric: tabular-nums; }
.cv-line-now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 12px; }
.cv-line-now b { font-size: 15px; }
.cv-line-now small { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.cv-line-meta { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* Ruta de puntos: una estación por parada */
.cv-dots { position: relative; display: flex; justify-content: space-between; margin-top: 14px; }
.cv-dots::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--line-2); border-radius: 2px; }
.cv-dots::after { content: ""; position: absolute; left: 6px; top: 50%; height: 3px; margin-top: -1.5px; width: calc((100% - 12px) * (var(--done) - 0.0001) / (var(--n) - 1)); max-width: calc(100% - 12px); background: var(--blue); border-radius: 2px; transform-origin: left; animation: cv-grow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.25s; }
.cv-dots li { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.cv-dots li[data-state="done"] { background: var(--blue); border-color: var(--blue); }
.cv-dots li[data-state="now"] { background: #fff; border: 3px solid var(--blue); animation: cv-ring 1.8s infinite; }
.cv-dots li[data-state="next"] { border-color: var(--blue); }
@keyframes cv-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cv-ring { 0% { box-shadow: 0 0 0 0 rgba(8, 103, 255, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(8, 103, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(8, 103, 255, 0); } }

.cv-count { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--navy); color: #c9d7f2; }
.cv-count b { font-size: 40px; font-weight: 880; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cv-count span { font-size: 14px; line-height: 1.35; }

/* 2 · El recorrido */
.cv-route { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.cv-route-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.cv-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cv-tabs button { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; line-height: 22px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-weight: 750; cursor: pointer; }
.cv-tabs button small { font-weight: 650; color: var(--muted); }
.cv-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.cv-tabs button[aria-selected="true"] small { color: #cfe0ff; }
.cv-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 8px; font-size: 13px; color: var(--muted); }
.cv-legend li { display: inline-flex; align-items: center; gap: 8px; }

.cv-stops { position: relative; margin-top: 18px; }
.cv-stop { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; padding-bottom: 14px; }
.cv-stop::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: -2px; width: 2px; background: var(--line-2); }
.cv-stop:last-child::before { display: none; }
.cv-stop[data-state="done"]::before { background: var(--blue); }
.cv-stop-node { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); color: #fff; }
.cv-stop-node .i { width: 18px; height: 18px; opacity: 0; }
.cv-stop[data-state="done"] .cv-stop-node { background: var(--blue); border-color: var(--blue); }
.cv-stop[data-state="done"] .cv-stop-node .i { opacity: 1; }
.cv-stop[data-state="now"] .cv-stop-node { border: 3px solid var(--blue); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 20px var(--blue); animation: cv-ring 1.8s infinite; }
.cv-stop[data-state="next"] .cv-stop-node { border-color: var(--blue); border-style: dashed; }
.cv-stop-card { padding: 16px 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.cv-stop[data-state="done"] .cv-stop-card { background: rgba(255, 255, 255, 0.6); }
.cv-stop[data-state="done"] .cv-stop-what { color: var(--muted); }
.cv-stop[data-state="now"] .cv-stop-card { border-color: var(--blue); box-shadow: var(--shadow-soft), 0 0 0 4px rgba(8, 103, 255, 0.08); }
.cv-stop-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.cv-stop-when .i { color: var(--blue); }
.cv-stop-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 6px; font-size: 19px; font-weight: 820; letter-spacing: -0.015em; }
.cv-stop-what { margin-top: 6px; color: var(--ink-2); }
.cv-stop-you { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--soft-2); font-size: 14.5px; }
.cv-stop-you b { color: var(--blue-2); }
.cv-stop-alert { display: flex; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fff4dc; color: #6b4700; font-size: 14.5px; font-weight: 600; }
.cv-stop-alert .i { flex: 0 0 auto; margin-top: 3px; color: #c17d00; }
.cv-stop-card .text-link { margin-top: 10px; font-size: 14.5px; }
.cv-stop[data-state="done"] .text-link { display: none; }
/* Lo que aún no toca pesa menos: mandan la parada de ahora y la siguiente. */
.cv-stop[data-state="later"] .cv-stop-card { padding-block: 12px 14px; background: rgba(255, 255, 255, 0.55); border-style: dashed; }
.cv-stop[data-state="later"] .cv-stop-card h3 { font-size: 17px; }
.cv-stop[data-state="later"] .cv-stop-what { font-size: 15px; color: var(--muted); }
.cv-stop[data-state="later"] .cv-stop-node { width: 22px; height: 22px; margin: 16px 7px 0; }

.cv-here { position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.cv-here img { width: 100%; height: 230px; object-fit: cover; object-position: 50% 40%; background: radial-gradient(circle at 50% 70%, #dce9ff 0 55%, #eef5ff 56%); }
.cv-here-body { padding: 20px 22px 22px; }
.cv-here .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.cv-here h3 { margin-top: 8px; font-size: 22px; font-weight: 850; letter-spacing: -0.02em; }
.cv-here p:not(.eyebrow) { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.cv-here .btn { margin-top: 18px; }
.cv-here .text-link { margin-top: 14px; font-size: 14.5px; }

/* 3 · Requisitos */
.cv-req-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.cv-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: 14px; font-weight: 650; color: var(--ink-2); }
.cv-note .i { color: var(--blue); }
.cv-checker { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.cv-checks { padding: 8px 20px; }
.cv-check { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cv-check:last-child { border-bottom: 0; }
.cv-check-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft-2); font-size: 13px; font-weight: 800; color: var(--blue-2); }
.cv-check-text b { display: block; font-size: 15.5px; }
.cv-check-text small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.4; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.3s ease; }
.cv-check:hover .cv-check-text small, .cv-check.is-answered .cv-check-text small, .cv-check:focus-within .cv-check-text small { max-height: 80px; opacity: 1; }
.cv-yn { display: inline-flex; gap: 6px; }
.cv-yn button { min-width: 52px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink-2); font-weight: 750; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.cv-yn button:hover { border-color: var(--ink-2); }
.cv-yn button[data-answer="yes"][aria-pressed="true"] { background: var(--dom); border-color: var(--dom); color: #fff; }
.cv-yn button[data-answer="no"][aria-pressed="true"] { background: var(--weak); border-color: var(--weak); color: #fff; }
.cv-check.is-yes .cv-check-n { background: #e3f6ee; color: var(--dom); }
.cv-check.is-no .cv-check-n { background: #fde8ec; color: var(--weak); }
.cv-verdict { padding: 18px 20px 20px; background: var(--soft); border-top: 1px solid var(--line); }
.cv-verdict-state { font-weight: 750; }
.cv-verdict[data-verdict="ok"] { background: #e8f7f0; }
.cv-verdict[data-verdict="ok"] .cv-verdict-state { color: var(--dom); }
.cv-verdict[data-verdict="fix"] { background: #fff8e8; }
.cv-verdict[data-verdict="hard"] { background: #fdeef1; }
.cv-verdict[data-verdict="hard"] .cv-verdict-state { color: #a3203a; }
.cv-verdict-list { margin-top: 8px; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.cv-verdict-list li { display: flex; gap: 8px; }
.cv-verdict-list li::before { content: "→"; color: var(--blue); font-weight: 800; }
.cv-verdict .btn { margin-top: 14px; }

/* 4 · Calculadora de la nota */
.cv-score { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.cv-calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.cv-calc-inputs { display: grid; gap: 22px; padding: 28px; border-right: 1px solid var(--line); }
.cv-field label, .cv-field-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 750; }
.cv-field output { color: var(--blue); font-variant-numeric: tabular-nums; }
.cv-field small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.cv-field input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--blue); height: 24px; }
.cv-seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.cv-seg button { display: grid; gap: 1px; padding: 8px 4px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-weight: 800; color: var(--ink); cursor: pointer; }
.cv-seg button small { font-size: 11.5px; font-weight: 650; color: var(--muted); }
.cv-seg button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cv-seg button[aria-pressed="true"] small { color: #cfe0ff; }
.cv-calc-result { display: flex; flex-direction: column; justify-content: center; padding: 32px; background: radial-gradient(520px 260px at 100% 0%, #e8f1ff 0%, rgba(232, 241, 255, 0) 70%), #fff; }
.cv-sum { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.cv-sum > div { display: grid; }
.cv-sum small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cv-sum b { font-size: 30px; font-weight: 850; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cv-sum i { font-style: normal; font-size: 24px; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.cv-sum-total b { font-size: 44px; color: var(--blue); }
.cv-calc[data-in-line="yes"] .cv-sum-total b { color: var(--dom); }
.cv-bar { position: relative; height: 16px; margin: 44px 0 14px; border-radius: 999px; background: var(--none); }
.cv-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #7fb0ff, var(--blue)); transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease; }
.cv-calc[data-in-line="yes"] .cv-bar-fill { background: linear-gradient(90deg, #8fd3b4, var(--dom)); }
.cv-bar-cut { position: absolute; top: -10px; bottom: -10px; width: 2px; background: var(--red); }
.cv-bar-cut em { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 800; color: var(--red); white-space: nowrap; }
.cv-verdict-line { font-size: 20px; font-weight: 820; letter-spacing: -0.01em; }
.cv-calc[data-in-line="yes"] .cv-verdict-line { color: var(--dom); }
.cv-calc[data-in-line="no"] .cv-verdict-line { color: #a3203a; }
.cv-calc-hint { margin-top: 8px; color: var(--ink-2); }
.cv-calc-hint:empty { display: none; }
.cv-footnote { max-width: 60em; margin: 18px auto 0; font-size: 13.5px; color: var(--muted); text-align: center; }

/* 5 · El examen */
.cv-exam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.cv-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); }
.cv-card h3 { font-size: 20px; font-weight: 830; letter-spacing: -0.015em; }
.cv-squares { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; }
.sq { aspect-ratio: 1; border-radius: 4px; }
.sq-jur { background: var(--jur); } .sq-soc { background: var(--soc); } .sq-tec { background: var(--tec); }
.js .cv-squares .sq { transform: scale(0.3); opacity: 0; }
.cv-squares.is-in .sq { animation: cv-pop 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) both; animation-delay: calc(var(--i, 0) * 8ms); }
@keyframes cv-pop { from { transform: scale(0.3); opacity: 0; } to { transform: none; opacity: 1; } }
.cv-blocks { display: grid; gap: 10px; margin-top: 20px; }
.cv-blocks li { display: grid; grid-template-columns: 12px 1fr auto; column-gap: 10px; align-items: baseline; }
.cv-blocks .sw { width: 12px; height: 12px; border-radius: 3px; align-self: center; grid-row: span 2; }
.cv-blocks b { font-size: 15px; }
.cv-blocks small { grid-column: 2; font-size: 12.5px; color: var(--muted); }
.cv-blocks em { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.cv-rules li { padding: 10px; border-radius: 12px; background: var(--soft); text-align: center; }
.cv-rules b { display: block; font-size: 20px; font-weight: 850; font-variant-numeric: tabular-nums; }
.cv-rules li:nth-child(1) b { color: var(--dom); }
.cv-rules li:nth-child(2) b { color: var(--weak); }
.cv-rules span { font-size: 12.5px; color: var(--muted); }
.cv-top { display: grid; gap: 10px; margin-top: 16px; }
.cv-top li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 90px 34px; gap: 10px; align-items: center; font-size: 14.5px; }
.cv-top-n { display: grid; place-items: center; height: 26px; border-radius: 8px; background: var(--blue-3); color: var(--blue-2); font-size: 12.5px; font-weight: 800; }
.cv-top-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-top-bar { height: 8px; border-radius: 999px; background: var(--none); overflow: hidden; }
.cv-top-bar i { display: block; height: 100%; border-radius: 999px; background: var(--blue); transform-origin: left; }
.js .cv-card:not(.is-in) .cv-top-bar i { transform: scaleX(0); }
.cv-card.is-in .cv-top-bar i { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; }
.cv-top b { text-align: right; font-variant-numeric: tabular-nums; }
.cv-same-day { display: flex; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--ink-2); }
.cv-same-day .i { flex: 0 0 auto; margin-top: 3px; color: var(--blue); }

/* 6 · Físicas */
.cv-phys { background: var(--soft); }
.cv-sex { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cv-sex button { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font-weight: 750; color: var(--ink-2); cursor: pointer; }
.cv-sex button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cv-phys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cv-phys-grid[data-sex-current="male"] .for-female, .cv-phys-grid[data-sex-current="female"] .for-male { display: none; }
.cv-phys-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
.cv-phys-card dl > div { padding: 12px; border-radius: 12px; background: var(--soft); }
.cv-phys-card dl > div.is-top { background: #e3f6ee; }
.cv-phys-card dt { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cv-phys-card dd { margin: 2px 0 0; font-size: 22px; font-weight: 850; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cv-phys-card .is-top dd { color: var(--dom); }

/* 7 · Fuentes */
.cv-sources { margin-top: 28px; }
.cv-sources ul { display: grid; gap: 8px; margin-top: 10px; }
.cv-sources a { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: #fff; }
.cv-sources a:hover { border-color: var(--blue); }
.cv-sources b { font-size: 14px; }
.cv-sources small { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.cv-sources .i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--blue); }

/* 8 · Cierre con la Escuela */
.cv-final .final-mascot img { width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.3)); }

@media (max-width: 1100px) {
  .cv-route-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .cv-req-grid { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 980px) {
  .cv-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cv-route-grid { grid-template-columns: 1fr; }
  .cv-here { position: static; display: grid; grid-template-columns: 200px 1fr; align-items: center; }
  .cv-here img { height: 100%; min-height: 200px; }
  .cv-calc { grid-template-columns: 1fr; }
  .cv-calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .cv-exam-grid { grid-template-columns: 1fr; }
  .cv-phys-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cv-hero { padding-top: 28px; }
  .cv-board { padding: 16px; border-radius: 18px; }
  .cv-board-title { font-size: 12px; letter-spacing: 0.04em; }
  .cv-board-today { font-size: 12px; white-space: nowrap; }
  .cv-tabs { display: flex; }
  .cv-tabs button { flex: 1; justify-content: center; padding: 10px 8px; font-size: 14px; }
  .cv-stop { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .cv-stop::before { left: 13px; top: 32px; }
  .cv-stop-node { width: 28px; height: 28px; margin-top: 16px; }
  .cv-stop[data-state="now"] .cv-stop-node { box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px var(--blue); }
  .cv-stop-card { padding: 14px 16px; }
  .cv-stop[data-state="later"] .cv-stop-node { width: 20px; height: 20px; margin: 16px 4px 0; }
  .cv-stop-card h3 { font-size: 17px; }
  .cv-here { grid-template-columns: 1fr; }
  .cv-here img { height: 200px; }
  .cv-check { grid-template-columns: 24px minmax(0, 1fr); }
  .cv-check-n { width: 24px; height: 24px; }
  .cv-yn { grid-column: 2; }
  .cv-checks { padding: 4px 16px; }
  .cv-calc-inputs, .cv-calc-result { padding: 20px; }
  .cv-sum b { font-size: 24px; }
  .cv-sum-total b { font-size: 34px; }
  .cv-squares { grid-template-columns: repeat(10, 1fr); }
  .cv-rules { grid-template-columns: repeat(2, 1fr); }
  .cv-top li { grid-template-columns: 38px minmax(0, 1fr) 30px; }
  .cv-top-bar { display: none; }
  .cv-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-dots::after, .cv-dots li, .cv-stop-node { animation: none !important; }
  .js .cv-squares .sq { transform: none; opacity: 1; animation: none !important; }
  .js .cv-card:not(.is-in) .cv-top-bar i { transform: none; }
}

/* 1b · Maqueta 3D del recorrido (hero). Con ?panel=tablero, sin JS o sin WebGL se ve el tablero de texto. */
.cv-hero-visual { position: relative; }
.cv-hero-visual.is-scene > .cv-board { display: none; }
html:not(.js) .cv-hero-visual.is-scene > .cv-board,
.cv-hero-visual.is-scene:has(.cv-scene.is-fallback) > .cv-board { display: block; }
html:not(.js) .cv-scene, .cv-scene.is-fallback { display: none; }

.cv-scene { position: relative; aspect-ratio: 1 / 0.96; min-height: 460px; margin-right: -24px; }
.cv-scene-canvas { position: absolute; inset: 0; }
.cv-scene-canvas canvas { display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 0.9s ease; }
.cv-scene.is-ready .cv-scene-canvas canvas { opacity: 1; }
.cv-scene:not(.is-ready) .cv-scene-canvas::before { content: ""; position: absolute; left: 12%; right: 12%; top: 26%; bottom: 18%; border-radius: 50%; background: radial-gradient(closest-side, #e3eeff, rgba(227, 238, 255, 0)); animation: cv-breathe 1.6s ease-in-out infinite alternate; }
@keyframes cv-breathe { from { opacity: 0.5; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.cv-scene-label, .cv-scene-avila, .cv-scene-tip { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: transform; }
.cv-scene-label { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; padding: 8px 12px 9px 9px; margin-top: -10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); white-space: nowrap; }
.cv-scene-label::after { content: ""; position: absolute; left: var(--tail, 50%); bottom: -7px; width: 12px; height: 12px; margin-left: -6px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.cv-scene-label .cv-chip { grid-row: span 2; }
.cv-scene-label b { font-size: 14px; line-height: 1.2; }
.cv-scene-label small { grid-column: 2; font-size: 12px; color: var(--muted); line-height: 1.2; }
.cv-scene-avila span { display: inline-flex; align-items: center; height: 26px; margin-top: -6px; padding: 0 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(7, 27, 67, 0.25); }
.cv-scene-tip { display: grid; padding: 7px 10px; background: var(--ink); color: #fff; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow-soft); }
.cv-scene-tip small { color: #b9c8e6; font-size: 12px; }

.cv-scene-count { position: absolute; left: 0; bottom: 18px; z-index: 3; max-width: 330px; margin-top: 0; box-shadow: 0 16px 36px rgba(7, 27, 67, 0.28); }
.cv-scene-count b { font-size: 34px; }
.cv-scene-hint { position: absolute; right: 24px; bottom: 26px; z-index: 1; font-size: 12.5px; color: var(--muted); }
@media (hover: none) { .cv-scene-hint { display: none; } }

@media (max-width: 980px) {
  .cv-scene { margin-right: 0; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .cv-scene { aspect-ratio: 1 / 1.08; min-height: 0; margin-inline: -8px; }
  .cv-scene-label { padding: 6px 10px 7px 7px; }
  .cv-scene-label b { font-size: 13px; }
  .cv-scene-count { left: 8px; right: 8px; bottom: 6px; max-width: none; padding: 10px 14px; }
  .cv-scene-count b { font-size: 28px; }
}

/* Idioma: se suma después de entrar (base 6.11), fuera de la cuenta del corte */
.cv-field-label small { font-weight: 600; color: var(--muted); margin-left: 6px; font-size: 12px; }
.cv-calc-final { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cv-calc-final b { color: var(--ink, #092452); font-variant-numeric: tabular-nums; }
