/* ───────────────────────────────────────────────────────────
   Senthia Core · Hoja de impresión de las páginas legales.
   Alimenta los PDF generados en legal/build/build-pdf.mjs y
   también la impresión directa desde el navegador.
   Sin header ni footer del sitio, sin índice de contenidos.
   El pie paginado lo inyecta Playwright (footerTemplate).
   ─────────────────────────────────────────────────────────── */

@page{
  size:A4;
  margin:22mm 28mm 20mm;
}

/* fuera todo el marco del sitio */
.skip,
.sc-nav,
.sc-footer,
.toc-mob,
.toc-desk,
.lg-pdf,
.lg-archive,
.no-print{
  display:none !important;
}

html,body{
  background:#fff !important;
  color:#000 !important;
}

body{
  font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:11pt;
  line-height:1.58;
}

.lg-shell{padding:0 !important}
.lg-grid{display:block !important;max-width:none}
.lg{max-width:none;margin:0;padding:0}

/* cabecera del documento */
.eyebrow{
  font-family:'DM Mono',ui-monospace,monospace;
  font-size:7.5pt;letter-spacing:.16em;text-transform:uppercase;color:#4a4540;
}
.lg h1{
  font-size:19pt;font-weight:500;line-height:1.15;letter-spacing:-.02em;
  margin:.4rem 0 0;color:#000;
}
.lg-meta{
  display:block;margin-top:.85rem;
  font-family:'DM Mono',ui-monospace,monospace;
  font-size:7.5pt;letter-spacing:.14em;text-transform:uppercase;color:#4a4540;
}


/* cuerpo */
.lg-body{margin-top:2.4rem}
.lg-body p,
.lg-abc li,.lg-num li,.lg-list li{
  font-size:11pt;line-height:1.58;
}
.lg-body p{margin-bottom:.62rem;orphans:3;widows:3}
.lg-body strong{font-weight:600}
.lg-body a{color:#000;border:0;text-decoration:none}
.lg-body code{font-family:'DM Mono',ui-monospace,monospace;font-size:.94em;color:#3a3530}

.lg-body h2{
  font-size:13pt;font-weight:600;line-height:1.25;letter-spacing:-.01em;
  margin:1.6rem 0 .7rem;color:#000;
  break-after:avoid;page-break-after:avoid;break-inside:avoid;
}
.lg-body h2:first-child{margin-top:0}
.lg-body h3{
  font-size:11pt;font-weight:600;line-height:1.3;
  margin:1.1rem 0 .5rem;color:#000;
  break-after:avoid;page-break-after:avoid;break-inside:avoid;
}

.lg-list,.lg-abc,.lg-num{margin:0 0 .75rem}
.lg-abc li,.lg-num li{padding-left:1.5rem;text-indent:-1.5rem;margin-bottom:.34rem}
.lg-list li{padding-left:1.1rem;margin-bottom:.34rem}
.lg-list li::before{color:#4a4540}

/* aviso destacado: sigue destacando por tamaño y aire, sin caja */
.lg-highlight{margin:0 0 1.9rem;break-inside:avoid}
.lg-highlight p{font-size:12.5pt;line-height:1.45;letter-spacing:-.01em;margin-bottom:.6rem}

.lg-preamble{margin:0 0 1.4rem}
.lg-preamble p{font-size:11pt;line-height:1.58;margin-bottom:.5rem}

.lg-note{margin:0 0 1.6rem}
.lg-note p{font-family:'DM Mono',ui-monospace,monospace;font-size:8.5pt;line-height:1.6;color:#3a3530}

/* tablas: siempre tabla en papel, nunca tarjetas */
.lg-tw{margin:.9rem 0 1.2rem !important;overflow:visible}
.lg-table{width:100%;border-collapse:collapse;display:table}
.lg-table thead{display:table-header-group;position:static;width:auto;height:auto;clip:auto;overflow:visible}
.lg-table tbody{display:table-row-group}
.lg-table tr{display:table-row;break-inside:avoid;page-break-inside:avoid;padding:0}
.lg-table th{
  display:table-cell;
  font-family:'DM Mono',ui-monospace,monospace;
  font-size:7pt;font-weight:400;letter-spacing:.14em;text-transform:uppercase;
  color:#4a4540;text-align:left;vertical-align:bottom;
  padding:0 .7rem .45rem 0;border-bottom:.5pt solid #b9b4ae;
}
.lg-table td{
  display:table-cell;
  font-size:9.5pt;line-height:1.45;vertical-align:top;
  padding:.5rem .7rem .5rem 0;border-bottom:.5pt solid #ddd9d4;
}
.lg-table th:last-child,.lg-table td:last-child{padding-right:0}
.lg-table td::before{content:none !important;display:none !important}
