/* Páginas de cada simulacro (grado-superior/<ficha>/). Complementa a estilo.css, que no se toca. */
.menu a[aria-current="true"]{background:var(--rojo);color:#fff}
.hero .ficha-h1{max-width:30ch;font-size:clamp(1.5rem,1.05rem + 2vw,2.3rem)}
.ficha-datos,.intro .ficha-datos{list-style:none;padding:0;margin:0 0 1em;display:flex;flex-wrap:wrap;gap:.4rem}
.ficha-datos li{font-size:.85rem;font-weight:700;background:var(--blanco);border:1px solid var(--borde);border-radius:999px;padding:.2rem .7rem;color:var(--carbon)}
.acciones{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1rem}
.aviso-top{margin:.2rem 0 1rem;font-size:.88rem;padding:.45rem .8rem}
.ficha-ancho{max-width:78ch}
.ficha-info h2,.examen h2,#resultados h2,#nota-tit{font-size:clamp(1.25rem,1rem + 1vw,1.6rem);margin-top:.4rem}
.practica,.instr-lista,.notas{padding-left:1.2rem;margin:0 0 1.4rem}
.practica li,.instr-lista li,.notas li{margin-bottom:.35rem}
.tenue{color:var(--tenue)}
.examen{overflow-wrap:break-word}
.examen p,.examen li{max-width:72ch}
.instr{font-style:italic;color:var(--tenue)}
.lectura{background:var(--gris-claro);border-left:4px solid var(--rojo);border-radius:0 12px 12px 0;padding:1rem 1.2rem;margin:0 0 1.6rem}
.lectura-tit{font-size:1.15rem;margin:0 0 .6rem}
.lectura p{margin:0 0 .8em;text-align:left}
.lectura-fuente{font-size:.85rem;color:var(--tenue);margin:0}
.ejercicio{border-top:2px solid var(--gris);padding-top:1rem;margin-top:1.4rem}
.ej-seccion{font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--rojo-osc);margin:0 0 .3rem}
.ej-tit{font-size:1.12rem;margin:0 0 .5rem}
.ej-pts,.ap-pts{font-weight:600;font-size:.9em;color:var(--tenue);white-space:nowrap}
.apartados{list-style:none;padding:0;margin:.6rem 0 0}
.apartados>li{position:relative;padding-left:1.8rem;margin-bottom:.6rem}
.ap-letra{position:absolute;left:0;font-weight:800;color:var(--oscuro)}
.items,.temas{padding-left:1.4rem;margin:.6rem 0}
.items>li,.temas>li{margin-bottom:.55rem}
.vf{font-weight:700;white-space:nowrap}
.opciones{list-style:none;counter-reset:op;padding-left:1.6rem;margin:.3rem 0 .2rem}
.opciones li{counter-increment:op;position:relative;margin-bottom:.2rem}
.opciones li::before{content:counter(op,lower-alpha) ")";position:absolute;left:-1.5rem;font-weight:700}
.test{padding-left:1.9rem}
.test>li{margin-bottom:1rem}
.test>li>p{margin:0 0 .2rem}
.test>li::marker{font-weight:800}
sup,sub{line-height:0;font-size:.75em}
.fig{margin:1rem 0;text-align:center}
.fig img{display:inline-block;max-width:min(100%,640px);height:auto;background:#fff}
.fig-alta img{max-width:min(100%,520px)}
.fig-marco{overflow-x:auto;-webkit-overflow-scrolling:touch}
.fig-enlace{display:inline-block;cursor:zoom-in}
.solo-movil{display:none}
@media (max-width:600px){.fig-ancha img{max-width:none;width:calc(var(--w) * .8)}.fig-ancha .solo-movil{display:block;font-weight:600}}
.fig figcaption{font-size:.84rem;color:var(--tenue);margin-top:.4rem;max-width:none}
.nuclidos{display:flex;flex-wrap:wrap;justify-content:center;gap:1.4rem 3rem;margin:.4rem 0;font-size:1.9rem}
math.nuclido{font-size:1em}
.tabla-env{overflow-x:auto;margin:.8rem 0 1rem;-webkit-overflow-scrolling:touch}
.tabla-env:focus-visible{outline:3px solid var(--oscuro)}
table.datos{border-collapse:collapse;min-width:100%;font-size:.92rem}
table.datos th,table.datos td{border:1px solid var(--borde);padding:.45rem .6rem;text-align:left;vertical-align:top}
table.datos thead th{background:var(--gris)}
table.datos tbody th{background:var(--gris-claro);font-weight:600}
table.datos td:empty{min-width:4rem}
.nota-tabla{max-width:560px}
.nota-tabla tr.mia th,.nota-tabla tr.mia td{background:var(--rojo-suave);font-weight:700}
.resultados th{white-space:nowrap}
.res-det{border:1px solid var(--borde);border-radius:14px;padding:.2rem 1rem;margin:0 0 1rem;background:var(--blanco)}
.res-det summary{cursor:pointer;font-weight:700;padding:.7rem 0;min-height:44px}
.res-det[open] summary{border-bottom:1px solid var(--borde);margin-bottom:.4rem}
.clave{columns:2 16rem;column-gap:2rem;padding-left:0;list-style:none;margin:.6rem 0}
.clave li{break-inside:avoid;margin-bottom:.35rem}
.aviso-fin{margin-top:1.6rem}
.charla{background:var(--blanco);border-left:4px solid var(--rojo)}
.cta-botones{display:flex;flex-wrap:wrap;gap:.6rem;position:relative;z-index:1}
.cta .cta-wa{margin-top:.6rem;color:#cfcfcf}
.btn-wa{background:#fff;color:var(--oscuro);border-color:#fff}
.btn-wa:hover{background:var(--gris);border-color:var(--gris);color:var(--oscuro)}
.mas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem 2rem;margin-bottom:1rem}
.mas-grid h3{font-size:1rem;margin:0 0 .4rem}
.mas-grid ul{padding-left:1.1rem;margin:0}
.mas-grid li{margin-bottom:.25rem}
@media (max-width:480px){.acciones .btn,.cta-botones .btn{width:100%}.lectura{padding:.9rem}}
@media print{.cab,.pie,.charla,.cta,.acciones{display:none}.res-det{display:none}}
