/* ====== Hojas A4 imprimibles ====== */
.hoja {
  --area: #1e88e5;
  position: relative; box-sizing: border-box; width: 210mm; height: 297mm; overflow: hidden;
  padding: 11mm 13mm 14mm; background: #fff; color: #1b1b1b;
  font-family: 'Andika', 'Nunito', Arial, sans-serif; font-size: 12.5pt; line-height: 1.35;
  display: flex; flex-direction: column; gap: 3.2mm;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.hoja * { box-sizing: border-box; }
.hoja-arcoiris { position: absolute; left: 0; right: 0; top: 0; height: 3.2mm;
  background: linear-gradient(90deg, #e53935, #fb8c00, #fdd835, #43a047, #1e88e5, #3949ab, #8e24aa); }
.hoja.ahorro .hoja-arcoiris { background: #bbb; height: 1.2mm; }
.hoja-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 6mm; border-bottom: .6mm solid var(--area); padding-bottom: 2mm; margin-top: 1mm; }
.hoja.ahorro .hoja-cab { border-color: #999; }
.hoja-tit { min-width: 0; }
.hoja-area { font-size: 9pt; color: #555; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.hoja-cab h1 { font-family: 'Baloo 2', 'Andika', Arial, sans-serif; font-size: 20pt; line-height: 1.05; margin: .5mm 0 0; color: var(--area); }
.hoja.ahorro .hoja-cab h1 { color: #222; }
.hoja-datos { font-size: 10.5pt; min-width: 64mm; display: flex; flex-direction: column; gap: 2.5mm; }
.hoja-datos div { display: flex; gap: 2mm; white-space: nowrap; }
.hoja-datos i { flex: 1; border-bottom: .3mm solid #444; }
.hoja-consigna { margin: 0; font-weight: 700; font-size: 12.5pt; background: color-mix(in srgb, var(--area) 10%, white); border-left: 1.4mm solid var(--area); padding: 2mm 3mm; border-radius: 0 2mm 2mm 0; }
.hoja.ahorro .hoja-consigna { background: none; border-color: #999; }
.hoja-cuerpo { flex: 1; display: flex; flex-direction: column; gap: 3mm; min-height: 0; position: relative; }
.hoja-pie { display: flex; justify-content: space-between; font-size: 7.5pt; color: #777; border-top: .2mm solid #ddd; padding-top: 1.5mm; position: absolute; left: 13mm; right: 13mm; bottom: 6mm; }
.marca-agua { position: absolute; inset: 0; display: grid; place-items: center; font: 900 70pt 'Baloo 2', Arial; color: rgba(229, 57, 53, .13); transform: rotate(-30deg); pointer-events: none; letter-spacing: .1em; }

/* ---- piezas comunes ---- */
.hoja .grilla-2, .hoja .grilla-3, .hoja .grilla-4 { display: grid; gap: 3mm; }
.hoja .grilla-2 { grid-template-columns: 1fr 1fr; }
.hoja .grilla-3 { grid-template-columns: 1fr 1fr 1fr; }
.hoja .grilla-4 { grid-template-columns: repeat(4, 1fr); }
.hoja .caja { border: .4mm solid #9a9a9a; border-radius: 3mm; padding: 2.5mm 3mm; break-inside: avoid; }
.hoja .caja h3, .hoja h3.sub { margin: 0 0 1.5mm; font-size: 12.5pt; font-family: 'Baloo 2', Arial; }
.hoja h2.sub { font-family: 'Baloo 2', Arial; font-size: 15pt; margin: 0; color: var(--area); }
.hoja .caja.info { background: #f7f7f2; border-style: dashed; }
.hoja .caja p, .hoja .pregunta p { margin: 0 0 1.2mm; }
.hoja .ayuda { margin: 0; font-size: 10.5pt; color: #444; font-style: italic; }
.hoja .nota { font-size: 9.5pt; color: #555; margin: 0; }
.hoja .centrado { text-align: center; }
.hoja .hueco { display: inline-block; border-bottom: .35mm solid #333; min-height: 6mm; vertical-align: bottom; text-align: center; padding: 0 1mm; margin: 0 .8mm; }
.hoja .cajita { display: inline-grid; place-items: center; width: 11mm; height: 11mm; border: .45mm solid #333; border-radius: 2mm; font-size: 14pt; vertical-align: middle; background: #fff; }
.hoja .cajita.llena { border-color: #bbb; background: #f4f4f4; }
.hoja .resp { color: #d32f2f; font-weight: 700; }
.hoja .renglones { display: flex; flex-direction: column; }
.hoja .renglon { height: 9mm; border-bottom: .3mm solid #9aa; display: flex; align-items: flex-end; padding-bottom: .5mm; }
.hoja .marco { border: .45mm dashed #999; border-radius: 3mm; display: flex; align-items: flex-start; padding: 2mm; color: #aaa; font-size: 9pt; flex-shrink: 0; }
.hoja .opcion { display: inline-grid; place-items: center; min-width: 9mm; height: 9mm; border-radius: 99mm; border: .35mm solid transparent; margin: 0 .5mm; }
.hoja .opcion.marcada { border-color: #d32f2f; border-width: .7mm; }
.hoja .vf .opcion { border-color: #999; font-weight: 700; font-size: 10pt; width: 8mm; height: 8mm; min-width: 8mm; }
.hoja .vf .opcion.marcada { border-color: #d32f2f; color: #d32f2f; }
.hoja .vf { display: flex; align-items: center; gap: 1.5mm; margin: 0 0 2mm !important; }
.hoja .banco { display: flex; flex-wrap: wrap; gap: 2mm; justify-content: center; }
.hoja .banco span { border: .35mm solid #999; border-radius: 99mm; padding: .8mm 3.5mm; font-size: 11pt; background: #fafafa; }
.hoja .banco.grande span { font-size: 12.5pt; }
.hoja .emoji { font-size: 22pt; line-height: 1; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.hoja .emoji.grande { font-size: 30pt; }
.hoja .emoji.gigante { font-size: 40pt; }
.hoja .numero-grande { font: 700 26pt 'Baloo 2', Arial; color: var(--area); min-width: 14mm; text-align: center; }
.hoja.ahorro .numero-grande { color: #222; }
.hoja .numero-medio { font: 700 18pt 'Baloo 2', Arial; padding: 0 2mm; }
.hoja .iconos { display: flex; flex-wrap: wrap; gap: 1.2mm; align-items: center; }
.hoja .ico { display: block; }
.hoja .ico-caja { display: inline-grid; place-items: center; border-radius: 2mm; padding: .5mm; }
.hoja .ico-caja.vacia { width: 13mm; height: 13mm; border: .4mm dashed #888; }
.hoja .sol-pintado { background: #ffcdd2 !important; }
.hoja .flecha { color: #999; padding: 0 .5mm; }

/* matemática */
.hoja .contar { display: flex; flex-direction: column; justify-content: space-between; min-height: 40mm; }
.hoja .contar-resp { text-align: right; }
.hoja .pintar-fila { display: flex; align-items: center; gap: 3mm; border-bottom: .3mm dotted #bbb; padding: 2mm 0; }
.hoja .unir { display: flex; flex-direction: column; gap: 4mm; }
.hoja .unir-fila { display: grid; grid-template-columns: 1fr 4mm 22mm 4mm 1fr; align-items: center; gap: 2mm; }
.hoja .unir-fila.titulos b { font-size: 11pt; color: #555; }
.hoja .unir-izq, .hoja .unir-der { border: .4mm solid #9a9a9a; border-radius: 3mm; padding: 2mm 3mm; min-height: 13mm; display: flex; align-items: center; gap: 2mm; flex-wrap: wrap; }
.hoja .unir-der { justify-content: center; }
.hoja .unir-der.palabra { font-size: 15pt; }
.hoja .punto { width: 3.5mm; height: 3.5mm; border-radius: 50%; background: #333; }
.hoja .trazar-fila { display: flex; align-items: center; gap: 1.5mm; border-bottom: .3mm solid #ccc; padding: 1.5mm 0; }
.hoja .trazar-modelo { font: 700 30pt 'Andika', Arial; min-width: 16mm; text-align: center; color: var(--area); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hoja .trazar-modelo small { font-size: 13pt; }
.hoja .trazo { flex-shrink: 0; }
.hoja .trazar-libre { flex: 1; align-self: stretch; border-left: .3mm dashed #ccc; }
.hoja .vecinos, .hoja .comparar { display: flex; justify-content: center; align-items: center; gap: 2mm; font-size: 16pt; }
.hoja .serie { display: flex; align-items: center; flex-wrap: wrap; gap: 1mm; margin: 2.5mm 0; }
.hoja .serie .cajita { width: auto; min-width: 12mm; padding: 0 1.5mm; }
.hoja .cuenta-v { min-height: 40mm; display: flex; flex-direction: column; align-items: flex-end; font: 600 20pt 'Andika', monospace; padding: 3mm 5mm; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.hoja .cv-op { display: flex; gap: 3mm; border-bottom: .5mm solid #333; width: 100%; justify-content: space-between; }
.hoja .cv-res { min-height: 9mm; }
.hoja .cv-espacio { height: 14mm; }
.hoja .cuenta-h { font-size: 15pt; display: flex; align-items: center; flex-wrap: wrap; padding: 3mm; }
.hoja .cuenta-div { display: flex; flex-direction: column; gap: 3mm; padding: 3mm; }
.hoja .div-caja { display: flex; font: 600 17pt 'Andika', monospace; }
.hoja .div-a { padding: 0 3mm 14mm 0; min-width: 22mm; text-align: right; }
.hoja .div-b { border-left: .5mm solid #333; border-bottom: .5mm solid #333; padding: 0 3mm; height: 9mm; min-width: 16mm; }
.hoja .div-res { font-size: 11pt; }
.hoja .ordenar p { font-size: 13pt; }
.hoja .problema { display: flex; flex-direction: column; gap: 2mm; }
.hoja .pb-texto { font-size: 13pt; }
.hoja .pb-trabajo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3mm; }
.hoja .pb-cuenta { border: .3mm dashed #aaa; border-radius: 2mm; min-height: 22mm; padding: 1.5mm; display: flex; flex-direction: column; gap: 1mm; }
.hoja .pb-cuenta small, .hoja .pb-resp small { color: #666; font-size: 9pt; }
.hoja .pb-resp { align-self: end; }
.hoja .tabla { width: 100%; border-collapse: collapse; }
.hoja .tabla th, .hoja .tabla td { border: .35mm solid #999; padding: 1.8mm; text-align: center; vertical-align: middle; }
.hoja .tabla th { background: #f1f1f1; font-size: 10.5pt; }
.hoja .tabla td.izq { text-align: left; }
.hoja .tabla td.alto { height: 22mm; }
.hoja .frac { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; font-size: 15pt; line-height: 1.1; margin: 0 1mm; }
.hoja .frac i { font-style: normal; padding: 0 1.5mm; min-width: 7mm; text-align: center; }
.hoja .frac i:first-child { border-bottom: .45mm solid currentColor; }
.hoja .frac.vacia i { height: 8mm; border: .35mm solid #333; border-radius: 1.5mm; margin: .5mm 0; }
.hoja .frac.vacia i:first-child { border-bottom: .35mm solid #333; }
.hoja .frac-caja { display: flex; align-items: center; justify-content: space-around; gap: 3mm; min-height: 30mm; }
.hoja .frac-caja.eq { font-size: 16pt; min-height: 24mm; }
.hoja .frac-grande .frac { font-size: 19pt; }
.hoja .reloj-caja { display: flex; flex-direction: column; align-items: center; gap: 1mm; text-align: center; }
.hoja .reloj-svg { width: 46mm; height: 46mm; }
.hoja .reloj-caja small { display: block; font-size: 8.5pt; color: #666; }
.hoja .dinero { display: flex; flex-direction: column; gap: 2mm; }
.hoja .dinero-piezas { display: flex; flex-wrap: wrap; gap: 2mm; align-items: center; }
.hoja .moneda { display: inline-grid; place-items: center; width: 13mm; height: 13mm; border-radius: 50%; border: .5mm solid #8d6e63; background: #ffe0b2; font: 700 9.5pt Arial; }
.hoja .moneda.m10, .hoja .moneda.m50 { width: 15mm; height: 15mm; background: #fff3c4; border-color: #b8860b; }
.hoja .billete { display: inline-grid; place-items: center; width: 28mm; height: 13mm; border: .5mm solid #2e7d32; border-radius: 1.5mm; background: #e8f5e9; font: 700 11pt Arial; }
.hoja.ahorro .moneda, .hoja.ahorro .billete { background: #fff; }
.hoja .tabla-mult p { margin: 0 0 1.4mm; font-size: 13pt; }
.hoja .figuras-svg { width: 100%; max-height: 120mm; }
.hoja .ley-fig { display: flex; align-items: center; gap: 2mm; }
.hoja .muestra-color { width: 7mm; height: 7mm; border-radius: 1.5mm; display: inline-block; border: .3mm solid #333; }
.hoja .pictograma div { display: grid; grid-template-columns: 30mm 1fr; border-bottom: .3mm dotted #bbb; padding: 1.5mm 0; font-size: 14pt; }
.hoja .pictograma span { letter-spacing: .1em; color: #e6a100; }
.hoja .grafico-svg { width: 100%; max-height: 95mm; }
.hoja .preguntas p { margin: 0 0 2.5mm; font-size: 13pt; }
.hoja .per-area { display: flex; flex-direction: column; align-items: center; }
.hoja .per-area p { margin: .5mm 0; font-size: 11pt; }
.hoja .patron { display: flex; gap: 2mm; align-items: center; border: .4mm solid #ddd; border-radius: 3mm; padding: 2mm; }
.hoja .globos { display: flex; flex-wrap: wrap; gap: 3mm; justify-content: center; }
.hoja .globito { width: 14mm; height: 14mm; border-radius: 50%; border: .45mm solid #333; display: grid; place-items: center; font-size: 14pt; }
.hoja .sudoku { display: grid; border: .9mm solid #222; aspect-ratio: 1; width: 80mm; margin: 0 auto; }
.hoja .sudoku.s4 { grid-template-columns: repeat(4, 1fr); }
.hoja .sudoku.s6 { grid-template-columns: repeat(6, 1fr); width: 84mm; }
.hoja .sk { border: .3mm solid #999; display: grid; place-items: center; font: 700 17pt 'Andika', Arial; aspect-ratio: 1; }
.hoja .sk.bd { border-right: .8mm solid #222; }
.hoja .sk.bb { border-bottom: .8mm solid #222; }
.hoja .leyenda { display: flex; flex-wrap: wrap; gap: 2mm 4mm; justify-content: center; }
.hoja .ley { display: flex; align-items: center; gap: 1.5mm; font-weight: 700; font-size: 12pt; }
.hoja .ley i { width: 7mm; height: 7mm; border: .35mm solid #333; border-radius: 1.5mm; display: inline-block; }
.hoja .pixel { display: grid; border: .5mm solid #333; width: 172mm; margin: 0 auto; }
.hoja .pixel span { aspect-ratio: 1; border: .25mm solid #999; display: grid; place-items: center; font-size: 11pt; font-weight: 700; }
.hoja .pixel.vacio { width: 82mm; }
.hoja .pixel.vacio.grande { width: 135mm; }
.hoja .cuadriculas { align-items: start; }

/* lengua */
.hoja .letra-meta { text-align: center; font: 700 40pt 'Andika', Arial; color: var(--area); margin: 0; }
.hoja .dibujos .dibujo, .hoja .dibujo { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5mm; text-align: center; min-height: 36mm; }
.hoja .dibujos .emoji.grande { font-size: 38pt; }
.hoja .dibujo.fila-izq { flex-direction: row; justify-content: flex-start; text-align: left; gap: 4mm; }
.hoja .dibujo small { min-height: 4mm; color: #d32f2f; }
.hoja .silabas-pal { font-size: 14pt; }
.hoja .palmas { display: flex; gap: 1.5mm; }
.hoja .palmas span { width: 7mm; height: 7mm; border: .4mm solid #333; border-radius: 1.5mm; }
.hoja .letras-mezcla { display: flex; flex-wrap: wrap; gap: 1mm; margin-bottom: 2mm; }
.hoja .letras-mezcla span { border: .35mm solid #999; border-radius: 1.5mm; width: 7mm; height: 7mm; display: grid; place-items: center; font-size: 13pt; font-weight: 700; }
.hoja .ficha-palabra { display: inline-block; border: .35mm solid #aaa; border-radius: 1.5mm; padding: .3mm 2mm; margin: .8mm .5mm; background: #fafafa; }
.hoja .orto { font-size: 15pt; text-align: center; padding: 3mm 1mm; }
.hoja .opciones-orto { text-align: center; font-size: 14pt; margin: 0; }
.hoja .columna { min-height: 55mm; }
.hoja .sopa { display: grid; width: 140mm; margin: 0 auto; border: .6mm solid #333; border-radius: 2mm; overflow: hidden; }
.hoja .sopa span { aspect-ratio: 1; display: grid; place-items: center; font: 700 14pt 'Andika', monospace; border: .15mm solid #e2e2e2; }
.hoja .texto-lectura { column-gap: 8mm; }
.hoja .texto-lectura h2 { font-family: 'Baloo 2', Arial; font-size: 17pt; margin: 0 0 2mm; text-align: center; }
.hoja .texto-lectura p { margin: 0 0 2mm; text-indent: 6mm; text-align: justify; hyphens: auto; }
.hoja .texto-lectura.grande p { font-size: 15pt; line-height: 1.5; text-indent: 0; text-align: left; }
.hoja .texto-lectura .fuente { font-size: 9pt; color: #777; text-indent: 0; }
.hoja .pregunta { break-inside: avoid; }
.hoja .consigna-escritura p { font-size: 14pt; font-weight: 700; margin: 0; }
.hoja .chequeo { font-size: 10.5pt; }
.hoja .texto-completar p { font-size: 13.5pt; line-height: 2.1; }
.hoja .pasos .paso { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5mm; border: .3mm dashed #bbb; border-radius: 2mm; padding: 2mm; }
.hoja .pasos .paso p { font-size: 11pt; margin: 0; }
.hoja .abc { text-align: center; color: #666; font-size: 11pt; margin: 0; }
.hoja .adivinanza p { font-size: 13pt; }
.hoja .adiv-resp { display: flex; align-items: flex-end; justify-content: space-between; gap: 3mm; }
.hoja .adiv-dibujo { width: 24mm; height: 20mm; border: .35mm dashed #bbb; border-radius: 2mm; }

/* varios */
.hoja .trazo-fila { display: grid; grid-template-columns: 14mm 1fr 14mm; align-items: center; gap: 1mm; border-bottom: .3mm dotted #ccc; padding: 2mm 0; }
.hoja .trazo-svg { width: 100%; height: 22mm; }
.hoja .laberinto-svg { width: 178mm; max-height: 215mm; margin: 0 auto; display: block; }
.hoja .mandala-svg { width: 165mm; margin: 0 auto; display: block; }
.hoja .puntos-svg { width: 160mm; max-height: 175mm; margin: 0 auto; display: block; }
.hoja .emocion { display: flex; flex-direction: column; align-items: center; gap: 1mm; text-align: center; }
.hoja .emocion small { font-size: 9.5pt; color: #555; }
.hoja .emocion .renglones { align-self: stretch; }
.hoja .situacion p { font-size: 12.5pt; }
.hoja .termometro { display: flex; flex-direction: column; gap: 2mm; }
.hoja .termo-nivel { display: flex; align-items: center; gap: 3mm; font-size: 12pt; }
.hoja .termo-nivel span { width: 14mm; height: 12mm; border: .4mm solid #333; border-radius: 2mm; }
.hoja .respira { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1mm; }
.hoja .respira p { font-size: 11.5pt; }
.hoja .semana { display: flex; justify-content: space-around; }
.hoja .semana span { display: flex; flex-direction: column; align-items: center; gap: 1mm; font-size: 10.5pt; }
.hoja .semana i { width: 11mm; height: 11mm; border: .4mm solid #333; border-radius: 50%; }
.hoja .sentido { display: grid; grid-template-columns: 16mm 16mm 1fr; align-items: center; gap: 2mm; }
.hoja .estrella-yo { font-size: 14pt; text-align: center; padding: 4mm; }
.hoja .bandera-svg { width: 150mm; margin: 0 auto; display: block; }
.hoja .linea-tiempo { display: flex; justify-content: space-between; position: relative; padding: 6mm 2mm 0; margin-top: 3mm; }
.hoja .linea-tiempo::before { content: ''; position: absolute; left: 0; right: 0; top: 10mm; height: .8mm; background: #333; }
.hoja .lt-punto { display: flex; flex-direction: column; align-items: center; gap: 2mm; flex: 1; position: relative; }
.hoja .lt-anio { background: #fff; border: .5mm solid #333; border-radius: 99mm; padding: .5mm 2mm; font-weight: 700; z-index: 1; }
.hoja .lt-texto { border: .35mm dashed #999; border-radius: 2mm; width: 92%; min-height: 34mm; font-size: 9pt; padding: 1mm; text-align: center; }

/* guía impresa y portada */
.hoja .guia-imp p, .hoja .guia-imp li { font-size: 12pt; margin: 0 0 2mm; }
.hoja.portada { align-items: center; justify-content: center; text-align: center; gap: 8mm; }
.hoja .portada-arco { width: 150mm; height: 75mm; border-radius: 150mm 150mm 0 0;
  background: radial-gradient(circle at 50% 100%, #fff 0 28%, #8e24aa 28% 36%, #3949ab 36% 44%, #1e88e5 44% 52%, #43a047 52% 60%, #fdd835 60% 68%, #fb8c00 68% 76%, #e53935 76% 84%, transparent 84%); }
.hoja.portada.ahorro .portada-arco { filter: grayscale(1) opacity(.35); }
.hoja.portada h1 { font: 800 34pt 'Baloo 2', Arial; margin: 0; }
.hoja .portada-sub { font-size: 15pt; color: #555; margin: 0; }
.hoja .portada-nombre { font-size: 15pt; display: flex; gap: 3mm; width: 140mm; }
.hoja .portada-nombre i { flex: 1; border-bottom: .4mm solid #333; }
.hoja .portada-indice { text-align: left; font-size: 11pt; columns: 2; width: 165mm; }

@media print {
  @page { size: A4; margin: 0; }
  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body > *:not(#zona-impresion) { display: none !important; }
  #zona-impresion { display: block !important; }
  #zona-impresion .hoja { page-break-after: always; break-after: page; box-shadow: none !important; margin: 0 !important; transform: none !important; }
  #zona-impresion .hoja:last-child { page-break-after: auto; break-after: auto; }
}

/* ---- cierre que ocupa el espacio libre ---- */
.hoja .relleno { flex: 1; display: flex; flex-direction: column; gap: 3mm; min-height: 0; border-top: .35mm dashed #bbb; padding-top: 2.5mm; }
.hoja .rl-bloque { display: flex; flex-direction: column; gap: 1.5mm; flex: none; }
.hoja .rl-bloque.flex { flex: 1; min-height: 0; }
.hoja .rl-bloque p { margin: 0; font-size: 12pt; }
.hoja .relleno-zona { flex: 1; min-height: 0; border-radius: 2.5mm; border: .35mm solid #c5c5c5; position: relative; }
.hoja .relleno-zona span { position: absolute; left: 1.5mm; top: .5mm; font-weight: 700; font-size: 10pt; background: #fff; padding: 0 1mm; }
.hoja .relleno-zona.cuadros { background-color: #fff; background-image: linear-gradient(#cfd8dc .25mm, transparent .25mm), linear-gradient(90deg, #cfd8dc .25mm, transparent .25mm); background-size: 5mm 5mm; background-position: -.25mm -.25mm; }
.hoja .relleno-zona.renglones { border: 0; border-radius: 0; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 8.65mm, #9aa 8.65mm, #9aa 9mm); }
.hoja .relleno-zona.libre { border-style: dashed; }
.hoja .rl-cajas { display: grid; gap: 3mm; height: 38mm; }
.hoja .rl-bloque.flex .rl-cajas { flex: 1; height: auto; min-height: 20mm; }
.hoja .rl-bloque.flex > .relleno-zona.renglones { flex: 1; }
.hoja .rl-tabla td { height: 8mm; } .hoja .rl-tabla td:first-child { text-align: left; font-weight: 700; }
.hoja .rl-dos { display: none; }
/* ---- tipos adicionales ---- */
.hoja .letras { display: flex; flex-direction: column; gap: 1mm; }
.hoja .letras p { font-size: 12.5pt; margin: 0; }
.hoja .fila-nums { display: flex; flex-wrap: wrap; gap: 1.5mm; font-size: 14pt; }
.hoja .fila-nums .opcion { border-color: #ddd; min-width: 11mm; }
.hoja .fila-nums .opcion.marcada { border-color: #d32f2f; }
.hoja .mas-menos { display: grid; grid-template-columns: 18mm 1fr; align-items: center; gap: 3mm; }
.hoja .mas-menos > b { font: 800 16pt 'Baloo 2', Arial; text-transform: uppercase; }
.hoja .mm-grupos { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.hoja .mm-grupos .opcion { height: auto; min-height: 22mm; border-radius: 4mm; border: .4mm dashed #aaa; padding: 2mm; display: flex; }
.hoja .mm-grupos .opcion.marcada { border: .8mm solid #d32f2f; }
.hoja .dictado-fila { display: grid; grid-template-columns: 8mm 1fr; align-items: end; }
.hoja .copiar-fila { display: flex; flex-direction: column; gap: 1mm; }
.hoja .copiar-fila .modelo { font: 400 20pt 'Andika', Arial; margin: 0; }
.hoja .doble-renglon { height: 34mm; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 8mm, #ccc 8mm, #ccc 8.3mm, transparent 8.3mm, transparent 16.5mm, #666 16.5mm, #666 16.9mm); }
.hoja .tabla.doble { width: auto; margin: 0 auto 4mm; font-size: 15pt; }
.hoja .tabla.doble th, .hoja .tabla.doble td { width: 17mm; height: 15mm; }
