/* 11/11/2026: la ley leída como un libro (libro-ley.html). Lo mismo que trae /libros/leer.html en su <style>,
   más el botón «Descargar PDF» de la cabecera. */
:root{--lc-color:#2b8fbd;--lc-color-oscuro:#1f6d93;--lc-pastel:#e3f3fa;--lc-titulos:system-ui,'Segoe UI',Roboto,Arial,sans-serif;--lc-sans:system-ui,'Segoe UI',Roboto,Arial,sans-serif}
body.lc-libro-cuerpo-lectura{font-family:system-ui,'Segoe UI',Roboto,Arial,sans-serif}
.lc-libro-cabecera-lectura .lc-libro-volver{color:#32373c;min-width:0;flex:1 1 auto}
.lc-libro-cabecera-lectura .lc-libro-volver img{height:28px;width:auto;flex:none}
.lc-libro-cabecera-lectura .lc-libro-volver svg{flex:none}
.lc-libro-cabecera-lectura .lc-libro-volver span{display:flex;flex-direction:column;line-height:1.2;font-weight:700;letter-spacing:.2px;min-width:0}
.lc-libro-cabecera-lectura .lc-libro-volver small{font-weight:500;font-size:12px;color:#65676b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-libro-cabecera-lectura .lc-libro-volver small:empty{display:none}
.tl-error{margin:auto;background:#fff;border-radius:12px;padding:24px 28px;max-width:460px;text-align:center;color:#32373c;font-size:16px}
.tl-error a{color:#1f6d93;font-weight:700}
/* 06/10/2026: el celeste #2b8fbd sobre blanco daba 3,6:1 (titulo, paneles, resultados) */
.lc-libro-titulo,.lc-libro-panel-cab h3,.lc-libro-resultados b,.lc-libro-mini.lc-libro-actual span,
.lc-libro-zoom-nivel.lc-libro-zoom-activo{color:#1f6d93}
.lc-libro-fallo a{color:#bfe3f3}
/* el botón de la cabecera */
.ll-acciones{display:flex;gap:8px;flex:none;margin-left:auto}
.ll-boton{font:700 13.5px/1 system-ui,'Segoe UI',Roboto,Arial,sans-serif;color:#fff;background:#0f6b96;border:0;border-radius:999px;padding:10px 16px;cursor:pointer;white-space:nowrap}
.ll-boton:hover{background:#0b587c}
.ll-boton:focus-visible{outline:3px solid #9ad3ee;outline-offset:2px}
.ll-boton[disabled]{opacity:.75;cursor:default}
@media (max-width:600px){
  /* en el celular el lector esconde el texto de la cabecera: acá se deja el nombre corto de la ley */
  .lc-libro-cabecera-lectura{gap:10px;padding:8px 10px}
  .lc-libro-cabecera-lectura .lc-libro-volver span{display:flex;font-size:13.5px}
  .lc-libro-cabecera-lectura .lc-libro-volver small{display:none}
  .lc-libro-cabecera-lectura .lc-libro-volver img{display:none}
  .ll-boton{padding:9px 12px;font-size:13px}
}
