import type { PositionDocument, RollupDocument } from '@trazum/core'; import type { CliMessages } from './i18n/index.js'; import type { ProfileMarkdownInput } from './markdown.js'; /** * HTML for the person who does not run CLIs. * * One self-contained file: inline CSS, no scripts, no external assets — a * mail client, a wiki upload and a double-click all render it the same. It * is a **projection of the document `--json` prints**, taking the exact same * input object as the Markdown renderer: no second computation exists to * disagree with the first, and the parity guard in the suite walks every * figure here back to that document. * * The design rule this repository applies to its terminal output is applied * here where a designer would be tempted to grey it out: **the caveats are * furniture, not footnotes.** Unpriced models, skipped lines and the absent * fields render inside a bordered block ahead of the detail tables, at the * same visual weight as the totals they qualify — a forwarded report whose * limits can be cropped out is a lie by omission wearing this tool's name. * * Escaping is not optional politeness: labels, model ids and file paths come * from somebody's log, and a label is exactly where `