
/*--------------------Estilo Documento Insertado--------------------------------*/

:root {
    --hoja-ancho: 794px;
    --hoja-alto: 1123px;
    --margen-superior: 94px;   
    --margen-inferior: 94px;   
    --margen-izquierdo: 113px; 
    --margen-derecho: 76px;    
}

.cssPag{
	width: var(--hoja-ancho);
    height: var(--hoja-alto);
    padding-top: var(--margen-superior);
    padding-bottom: var(--margen-inferior);
    padding-left: var(--margen-izquierdo);
    padding-right: var(--margen-derecho);
    box-sizing: border-box; 
	flex-shrink: 0;
	background-color: white;
	border: 1px solid lightgray;
	box-shadow: 4px 4px 6px -2px rgba(100, 100, 100, 0.9);

}

/* Nuevo estilo para informes extensos o memorias de cálculo continuas */
.cssPagContinua {
    width: var(--hoja-ancho);
    height: auto; /* Permite que la hoja crezca dinámicamente con el contenido */
    min-height: var(--hoja-alto); /* Asegura que al menos tenga el tamaño de una hoja A4 si hay poco texto */
    padding-top: var(--margen-superior);
    padding-bottom: var(--margen-inferior);
    padding-left: var(--margen-izquierdo);
    padding-right: var(--margen-derecho);
    box-sizing: border-box; 
    flex-shrink: 0;
    background-color: white;
    border: 1px solid lightgray;
    box-shadow: 4px 4px 6px -2px rgba(100, 100, 100, 0.9);
}

/* Regla indispensable para controlar la estética en la exportación a PDF */
.cssPagContinua .bloque-reporte {
    break-inside: avoid;
    page-break-inside: avoid; /* Compatibilidad con motores de renderizado antiguos */
}


.cssTit {
	font-family: osifont;
	font-size: 24px;
    width: 605px;
    margin-bottom: 24px;
    text-shadow: 1px 0 0 currentColor;
}

.cssSubTit {
    font-family: osifont;
    font-size: 20px;
    width: 605px;
    margin-top: 20px;
    margin-bottom: 6px;
    text-shadow: 0.75px 0 0 currentColor;
}

.cssPar {
	font-family: osifont;
	font-size: 16px;
    width: 605px;
    margin-bottom: 16px;
    text-align: justify;
    line-height: 1.4;
}

.cssConFor {
    /*width: auto;
    height: auto;*/
    width: 605px;
    margin-top: 8px;
    margin-bottom: 8px;
    /*border: 1px solid blue;*/
}

.cssTab {
    width: 605px;
    border-bottom: 1px solid gray;
    font-family: osifont;
    font-size: 16px;
    text-align: justify;
    line-height: 1.4;
}

.cssTab th {
    text-shadow: 0.75px 0 0 currentColor;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
}

.cssImgTit, .cssTabTit, .cssProTit {
    font-family: osifont;
    font-size: 16px;
    width: 605px;
    margin-top: 16px;
    margin-bottom: 4px;
    text-align: justify;
    line-height: 1.4;
    text-shadow: 0.75px 0 0 currentColor;
}

