Not sure if this is the right section of the code, but best I can read it, mantels are not mentioned a whole lot in the book, the one section dealing with them states,
Accordng to NFPA211
11.2.5.3 Woodwork, such as wood trim, mantels, and other
combustible material, shall not be placed within 6 in. (152 mm)
of a fireplace opening.
11.2.5.4 Combustible material above and projecting more
than 11⁄2 in. (38 mm) from a fireplace opening shall not be
placed less than 12 in. (305 mm)
But that's in the masonry fireplace section which I don't think applies here? I'm not sure.
So according to that, it's 12" . WHich seems way to little (especially given for a masonry open fireplace where a flame can roll up and out of the open fireplace). But, your listed appliances stated clearance in the manual supersedes this.
In a more general section dealing with all kinds of solid fuel appliances,
You have to start with the listed appliances stated clearance in the manual, then
12.6.2.1 Clearances from listed and unlisted solid fuel–
burning appliances to combustible material shall be permitted
to be reduced if the combustible material is protected as
described in Table 12.6.2.1 and in Figure 12.6.2.1(a) through
Figure 12.6.2.1(f).
So, best I can read from the code, if you consider your mantel a ceiling, it can be protected with 24gauge sheet metal with an air clearance (1" best I can read from another section of the manual) and when you do that you can reduce by 50% the minimum clearance in the manual to not less than 18", which is where your mantel is at. It doesn't say where between the appliance and the combustible the shield has to be, so I think your free to place it anywhere in between, but not closer than 1" to the combustible or stove.