/* El papel del estudio (papel-pdf-c, 25-oct-2026; SISTEMA-INTERFAZ-24oct § 8: «la hoja de papel y los PDF hoy no comparten nada con el
   sistema»). La ÚNICA hoja de lo que el estudio imprime o manda en PDF a su cliente: las tres hojas que se imprimen desde el navegador
   (el informe del cliente, «Sus marcas» y la lista para el cliente) y los PDF que arma el servidor (la carta de la custodia, el informe de
   búsqueda y el de naming), que la llevan embebida por plataforma/papel.py junto con los tokens de color.css, tipografia.css, marco.css y
   superficie.css. Todo cuelga de .hoja-inf: la hoja vive dentro de una pantalla de la app y nada de acá la toca.

   Las reglas del sistema, bajadas a A4: la escalera en puntos (--papel-* de tipografia.css), las cifras tabulares en toda la hoja, la
   paleta de color.css y, en el lugar del teal de Watchdog, el color del estudio (--membrete-color, que pone la hoja). Las letras NO son las
   de la app: son las del estudio (tema 13, aprobado por Sebas el 7-oct y vigente; coordinación 25-oct): Libre Baskerville para los títulos
   y los nombres de marca, Source Sans 3 para el texto, los datos y los rótulos (en mayúscula chica con tracking: en el papel no hay mono).
   «El estudio ve Watchdog; su cliente ve al estudio». El color del estudio va en el membrete, en los rótulos y en las rayas; los títulos,
   en tinta. Las caras de abajo (OFL, fuentes-estudio/) son los subconjuntos para la pantalla; el PDF lleva los .ttf enteros (papel.py). */

/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/libre-baskerville-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/libre-baskerville-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/libre-baskerville-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/libre-baskerville-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/libre-baskerville-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/libre-baskerville-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/sistema/fuentes-estudio/source-sans-3-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* La impresión (@media print y @page) es de sistema/impresion.css; tests/test_papel_unico.py mide esta hoja y las piezas. */

/* ── la hoja ── */
.hoja-inf {
  --membrete-color: var(--tinta); --membrete-oscuro: var(--tinta);
  color: var(--tinta); background: var(--placa); text-align: left; hyphens: manual; -webkit-hyphens: manual;
  font: var(--peso-normal) var(--papel-cuerpo)/var(--lh-texto) var(--letra-estudio); font-variant-numeric: tabular-nums;
}
/* en la pantalla, la hoja es una tarjeta del ancho de un A4 con sus márgenes de papel; al imprimir, impresion.css la deja sin tarjeta */
.hoja-inf.tema-claro { box-sizing: border-box; width: min(210mm, 100%); margin: var(--esp-2) 0 0; padding: 16mm 18mm 18mm;
                       border: 1px solid var(--linea); border-radius: var(--radio-sup); box-shadow: var(--sombra-1); }
/* en el teléfono la hoja angosta su margen y una tabla ancha se desliza adentro, sin correr la página. Sólo en pantalla: el A4 impreso
   mide unos 650 px y tiene que quedar como papel */
@media screen and (max-width: 760px) {
  .hoja-inf.tema-claro { padding: var(--esp-6) var(--esp-4); }
  .hoja-inf table { display: block; overflow-x: auto; }
}
/* el PDF del servidor (<body class="hoja-pdf">): la hoja es la página, sin tarjeta; los márgenes son los de la página (papel.MARGENES) */
.hoja-pdf .hoja-inf { width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.hoja-inf :where(p, ul, ol, table, figure) { margin: 0 0 var(--esp-3); }
.hoja-inf :where(p, li) { orphans: 3; widows: 3; }
.hoja-inf :where(b, strong) { font-weight: var(--peso-fuerte); }

/* ── el membrete: el estudio arriba, una sola pieza (papel.membrete_html) ── */
.hoja-inf .membrete { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--esp-3); align-items: center;
                      margin: 0 0 var(--esp-6); padding: 0 0 var(--esp-3); border-bottom: 2px solid var(--membrete-color); }
.hoja-inf .membrete-ini { display: inline-grid; place-items: center; inline-size: 12mm; block-size: 12mm; overflow: hidden; border-radius: var(--radio-ctl);
                          background: var(--membrete-color); color: var(--placa); font: var(--peso-normal) var(--papel-h2)/var(--lh-uno) var(--letra-estudio-titulo); }
.hoja-inf .membrete-ini:has(img) { inline-size: auto; max-inline-size: 42mm; background: none; border-radius: 0; }
.hoja-inf .membrete-ini img { display: block; block-size: 12mm; inline-size: auto; max-inline-size: 42mm; object-fit: contain; }
.hoja-inf .membrete-txt { display: flex; flex-direction: column; gap: var(--esp-fino); min-width: 0; }
.hoja-inf .membrete-nombre { font: var(--peso-normal) var(--papel-membrete)/var(--lh-junto) var(--letra-estudio-titulo); color: var(--membrete-oscuro); }
.hoja-inf .membrete-linea { font-size: var(--papel-chico); line-height: var(--lh-junto); color: var(--gris); }
.hoja-inf .membrete-der { justify-self: end; max-inline-size: 70mm; text-align: end; font-size: var(--papel-chico); line-height: var(--lh-junto); color: var(--gris); }
.hoja-inf .membrete-der b { display: block; font-size: var(--papel-cuerpo); color: var(--tinta); }

/* ── la escalera ── */
.hoja-inf .rotulo-papel, .hoja-inf .eyebrow, .hoja-inf .sec-k {
  display: block; margin: 0 0 var(--esp-1); font: var(--peso-fuerte) var(--papel-rotulo)/var(--lh-junto) var(--letra-estudio);
  text-transform: uppercase; letter-spacing: .08em; color: var(--membrete-color);
}
.hoja-inf :is(h1, .para, .titulo-lista) { margin: 0 0 var(--esp-2); font: var(--peso-normal) var(--papel-h1)/var(--lh-titulo) var(--letra-estudio-titulo); color: var(--tinta);
                                          break-after: avoid; }
.hoja-inf :is(h2, h4) { margin: var(--esp-6) 0 var(--esp-2); font: var(--peso-normal) var(--papel-h2)/var(--lh-junto) var(--letra-estudio-titulo); color: var(--tinta);
                        break-after: avoid; }
.hoja-inf :is(h3:not(.para, .titulo-lista), h5) { margin: var(--esp-4) 0 var(--esp-1); font: var(--peso-fuerte) var(--papel-h3)/var(--lh-junto) var(--letra-estudio);
                                                 color: var(--tinta); break-after: avoid; }
.hoja-inf :is(.fecha, .emitida) { margin: 0 0 var(--esp-5); font-size: var(--papel-chico); color: var(--gris); }
.hoja-inf .para + p { margin-top: var(--esp-2); }
.hoja-inf .sec { margin: var(--esp-6) 0 var(--esp-2); break-inside: avoid; break-after: avoid; }
.hoja-inf .bloque { break-inside: avoid; }      /* el rótulo, el título y su cuadro juntos: «Límites» quedaba solo al pie de la portada */
.hoja-inf .sec h2 { margin: 0; }
.hoja-inf .masthead { margin: 0 0 var(--esp-5); }

/* ── las tablas: el rótulo de columna en mono, el encabezado en cada hoja, una fila no se parte ── */
.hoja-inf table { inline-size: 100%; border-collapse: collapse; table-layout: auto; font-size: var(--papel-dato); line-height: var(--lh-junto); }
.hoja-inf thead { display: table-header-group; }
.hoja-inf tr { break-inside: avoid; }
.hoja-inf th { padding: var(--esp-1h) var(--esp-2h) var(--esp-1h) 0; text-align: left; vertical-align: bottom; border-bottom: 1px solid var(--membrete-color);
               font: var(--peso-fuerte) var(--papel-rotulo)/var(--lh-junto) var(--letra-estudio); text-transform: uppercase; letter-spacing: .08em; color: var(--membrete-color); }
.hoja-inf td { padding: var(--esp-1h) var(--esp-2h) var(--esp-1h) 0; vertical-align: top; border-bottom: 1px solid var(--linea); overflow-wrap: break-word;
               hyphens: manual; }
.hoja-inf :is(th, td):last-child { padding-inline-end: 0; }
.hoja-inf :is(td.m, td.den, .marca-nombre) { font: var(--peso-normal) var(--papel-cuerpo)/var(--lh-junto) var(--letra-estudio-titulo); }
.hoja-inf :is(th.f, td.f) { text-align: right; white-space: nowrap; }
.hoja-inf td.c { white-space: nowrap; }
.hoja-inf .tipo { display: block; font: var(--peso-normal) var(--papel-chico)/var(--lh-junto) var(--letra-estudio); color: var(--gris); }      /* secundario: en la letra del texto, no en la de la marca */
.hoja-inf :is(.nota-tabla, .pie-inf, .revisado) { font-size: var(--papel-chico); color: var(--gris); }
/* las tres hojas: la marca con su logo a la izquierda (el hueco en todas las filas si alguna lo tiene) */
.hoja-inf .marca-celda { display: flex; align-items: flex-start; gap: var(--esp-2); }
.hoja-inf .marca-logo { flex: none; inline-size: var(--logo-papel); }
.hoja-inf .marca-nombre { display: block; }
.hoja-inf .tabla-inf.marcas th:first-child { inline-size: 38%; }
.hoja-inf .tabla-inf.marcas :is(td, th):is(:nth-child(3), :nth-child(5)) { white-space: nowrap; }
.hoja-inf .tabla-inf.lista th:first-child { inline-size: 36%; }
/* las dos tablas del informe del cliente (renovaciones y declaraciones juradas) con las mismas columnas, una debajo de la otra */
.hoja-inf .tabla-inf:not(.marcas, .lista) { table-layout: fixed; }
.hoja-inf .tabla-inf:not(.marcas, .lista) th:first-child { inline-size: 50%; }
.hoja-inf .tabla-inf.lista td:nth-child(2) { white-space: nowrap; }

/* ── el rótulo de un dato al lado de su valor (en la letra del texto, fuerte): los datos de la consulta, la marca buscada ── */
.hoja-inf :is(.datos, .datos-lista) { margin: 0 0 var(--esp-4); border-top: 1px solid var(--linea); break-inside: avoid; }
.hoja-inf .datos .row { display: grid; grid-template-columns: 34% minmax(0, 1fr); column-gap: var(--esp-4);
                                                      padding: var(--esp-1h) 0; border-bottom: 1px solid var(--linea); }
.hoja-inf .datos .lbl { font-weight: var(--peso-fuerte); font-size: var(--papel-dato); line-height: var(--lh-junto); color: var(--membrete-oscuro); }
.hoja-inf .datos .row > .val:only-child { grid-column: 1 / -1; }
/* la marca buscada de la lista es una ficha (componentes.css): su forma es la de la ficha, con la escala del papel (tipografia.css) */
.hoja-inf .datos-lista { padding-top: var(--esp-2); }
.hoja-inf .datos .val.big { font-family: var(--letra-estudio-titulo); }      /* la denominación consultada: un nombre de marca */
.hoja-inf .datos .val small, .hoja-inf :is(.denom-tipo, .tipo-linea) { font: var(--peso-normal) var(--papel-chico)/var(--lh-junto) var(--letra-estudio); color: var(--gris); }

/* ── el dictamen del informe: el semáforo y el veredicto (sin rojo: alto en naranja, medio en amarillo, bajo en teal) ── */
.hoja-inf .dictamen { display: flex; align-items: center; gap: var(--esp-5); margin: 0 0 var(--esp-4); padding: var(--esp-4) var(--esp-5);
                      border-radius: var(--radio-ctl); background: var(--amarillo-suave); break-inside: avoid; }
.hoja-inf .dictamen.verde { background: var(--teal-suave); }
.hoja-inf .dictamen.rojo { background: var(--naranja-suave); }
.hoja-inf .semaforo { display: flex; flex-direction: column; gap: var(--esp-1h); padding: var(--esp-2) var(--esp-1h); border-radius: var(--radio-pildora); background: var(--placa); }
.hoja-inf .semaforo .luz { inline-size: 4mm; block-size: 4mm; border-radius: 50%; background: var(--linea); }
.hoja-inf .luz.verde.on { background: var(--teal); }
.hoja-inf .luz.ambar.on { background: var(--amarillo); }
.hoja-inf .luz.rojo.on { background: var(--naranja); }
.hoja-inf .dictamen .d-k { font: var(--peso-fuerte) var(--papel-rotulo)/var(--lh-junto) var(--letra-estudio); text-transform: uppercase; letter-spacing: .08em; color: var(--amarillo-tinta); }
.hoja-inf .dictamen .d-v { margin: var(--esp-1) 0; font: var(--peso-normal) var(--papel-h2)/var(--lh-titulo) var(--letra-estudio-titulo); color: var(--amarillo-tinta); }
.hoja-inf .dictamen.verde :is(.d-k, .d-v) { color: var(--teal-osc); }
.hoja-inf .dictamen.rojo :is(.d-k, .d-v) { color: var(--naranja-tinta); }
.hoja-inf .dictamen .d-t { font-size: var(--papel-dato); line-height: var(--lh-texto); }
.hoja-inf .riesgo-papel { display: inline-block; padding: var(--esp-fino) var(--esp-2); border-radius: var(--radio-ctl);
                  font: var(--peso-fuerte) var(--papel-chico)/var(--lh-junto) var(--letra-estudio); color: var(--tinta); background: var(--linea-suave); }
.hoja-inf td:last-child > .riesgo-papel { white-space: nowrap; }      /* el riesgo del informe, en la última columna: «riesgo alto» entero */
.hoja-inf .riesgo-papel.alta { color: var(--naranja-tinta); background: var(--naranja-suave); }
.hoja-inf .riesgo-papel.media { color: var(--amarillo-tinta); background: var(--amarillo-suave); }
.hoja-inf .riesgo-papel.baja { color: var(--teal-osc); background: var(--teal-suave); }

/* ── el análisis del estudio (lo escribe el dictamen en markdown): sus títulos son partes de la sección, un paso abajo ── */
.hoja-inf .analisis :is(h2, h3, h4) { margin: var(--esp-4) 0 var(--esp-1); font: var(--peso-fuerte) var(--papel-h3)/var(--lh-junto) var(--letra-estudio); color: var(--tinta); }
.hoja-inf .analisis h2 { padding-bottom: var(--esp-1); border-bottom: 1px solid var(--linea); }
.hoja-inf .analisis :is(h3, h4) { font-size: var(--papel-cuerpo); }
.hoja-inf .analisis em { color: var(--gris); }
.hoja-inf .analisis ul { padding-left: var(--esp-5); }

/* ── el naming: cada finalista con su boceto al costado ── */
.hoja-inf .finalista { display: flex; gap: var(--esp-5); align-items: flex-start; }
.hoja-inf .finalista > .datos { flex: 1; }
.hoja-inf .boceto { inline-size: 38mm; block-size: 38mm; object-fit: contain; border: 1px solid var(--linea); border-radius: var(--radio-ctl); }
.hoja-inf .boceto-vacio { display: flex; align-items: center; justify-content: center; inline-size: 38mm; block-size: 38mm; padding: var(--esp-2); text-align: center;
                          border: 1px dashed var(--gris-claro); border-radius: var(--radio-ctl); font-size: var(--papel-chico); color: var(--gris); }
.hoja-inf .logo-leido { margin-top: var(--esp-1); max-inline-size: 38mm; font-size: var(--papel-chico); color: var(--gris); }
.hoja-inf .familia { font: var(--peso-normal) var(--papel-chico)/var(--lh-junto) var(--letra-estudio); color: var(--gris); }

/* ── el cierre: lo que pide el estudio, la firma, el descargo, la marca de agua del borrador ── */
.hoja-inf .pide { padding-left: var(--esp-5); }
.hoja-inf .pide li { margin-bottom: var(--esp-2); }
.hoja-inf .cierre { break-inside: avoid; }
.hoja-inf .firma { margin: var(--esp-6) 0 var(--esp-2); break-inside: avoid; }
.hoja-inf .firma .name { font-weight: var(--peso-fuerte); color: var(--membrete-oscuro); }
.hoja-inf .firma .firm { font-size: var(--papel-chico); color: var(--gris); }
.hoja-inf :is(.descargo, .pie-inf) { margin: var(--esp-5) 0 0; padding-top: var(--esp-2); border-top: 1px solid var(--linea);
                                     font-size: var(--papel-chico); line-height: var(--lh-texto); color: var(--gris); break-inside: avoid; }
.hoja-inf .descargo b { color: var(--tinta); }
.hoja-inf .borrador { position: fixed; top: 42%; left: 0; right: 0; z-index: 0; text-align: center; transform: rotate(-24deg); pointer-events: none;
                      font: var(--peso-normal) var(--papel-marca-agua)/var(--lh-uno) var(--letra-estudio-titulo); letter-spacing: .08em; color: var(--naranja-tinta); opacity: .12; }
