Pro Report Builder
Polished consulting reports as standalone HTML. Export to PDF via Chrome headless.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/pro-report-builder ~/.claude/skills/
Quick Reference
| Task |
Approach |
| Create report from scratch |
Read REFERENCE.md for CSS + HTML patterns |
| Add a new component type |
Compose from existing components in REFERENCE.md |
| Export to PDF |
Chrome headless --print-to-pdf (see Export section) |
| Customize brand tokens |
Edit CSS custom properties in :root block |
When to Use This Skill vs pro-deck-builder
|
pro-report-builder |
pro-deck-builder |
| Format |
8.5x11" portrait pages |
16:9 landscape slides |
| Content flow |
Multi-page, flowing text |
Single-slide compositions |
| Export |
Chrome headless --print-to-pdf |
Puppeteer |
| Use for |
Audit reports, assessments, written deliverables |
Presentation decks, pitch slides |
Before You Start
Step 1: Understand the Brief
Ask the user:
- What type of document? Audit report, assessment, technical brief, case study?
- How many pages roughly? Helps plan section flow and page distribution.
- What data do they have? Raw numbers, API exports, spreadsheets? Pull exact values -- never estimate when actuals exist.
- Where should the file be saved? Default:
./output/
Step 2: Plan the Document Structure
Every report follows this structure:
Cover Page --> Executive Summary --> Analysis Sections (3-6) --> Prioritized Recommendations --> Quick Wins --> Appendix
Each analysis section should occupy 1-2 pages. Recommendation cards are the most space-intensive component -- budget carefully.
Design System
Customizable Brand Identity
The included design system provides a professional default. All color tokens, typography, and spacing are defined as CSS custom properties in :root. Override these to match your brand.
Color Tokens
:root {
/* Accent -- change this to your brand color */
--accent: #3D7A5C;
--accent-dim: rgba(61, 122, 92, 0.08);
--accent-dark: #2E6B4A;
--accent-light: #6AB88A;
/* Severity */
--excellent: #2e8b57;
--warning: #D97706;
--critical: #c0392b;
/* Light-mode backgrounds (warm cream) */
--bg-page: #FAF7F2;
--bg-surface: #F2EDE6;
--bg-elevated: #EBE5DD;
/* Light-mode text */
--text-primary: #0f0e0e;
--text-body: #57606a;
--text-muted: #8b949e;
/* Borders */
--border: rgba(15, 14, 14, 0.1);
--border-dim: rgba(15, 14, 14, 0.06);
/* Callout tints */
--tint-blue: #eaf2ed;
--tint-green: #eaf5ef;
--tint-red: #fef2f2;
--tint-amber: #fffbeb;
/* Dark mode (cover page only) */
--dark-bg: #141414;
--dark-surface: #1E1E1E;
--dark-text: #f0f3f6;
--dark-muted: #6e7681;
--dark-secondary:#9ca3af;
--dark-border: rgba(255, 255, 255, 0.08);
}
Color rules:
- Warm cream (
#FAF7F2) backgrounds on ALL content pages -- NOT white. This is a brand differentiator.
- Dark mode (
#141414) is reserved for the cover page only.
- Accent color for accent rules, table headers, bullet markers, priority banner accents, rec-card left stripes. Used deliberately, never for decoration.
- Severity colors (green/amber/red) ONLY for performance indicators. Never decorative.
- Callout tints (blue/green/red/amber) for left-bordered callout boxes matching their severity.
Typography
| Role |
Font |
Weight |
Size |
Tracking |
Notes |
| Cover title |
Switzer |
Light (300) |
36pt |
-0.03em |
Document name on dark cover. |
| Cover subtitle |
Switzer |
Regular (400) |
16pt |
normal |
Below cover title. Color: --dark-muted. |
| Cover tag |
Cartograph CF |
Regular (400) |
8pt |
+0.15em |
ALL CAPS. Color: --accent. Above title. |
| Section title |
Switzer |
Regular (400) |
18pt |
-0.02em |
Content page h2. Followed by accent rule. |
| Subsection title |
Switzer |
SemiBold (600) |
12.5pt |
normal |
Content page h3. |
| Body text |
Switzer |
Regular (400) |
9.5pt |
normal |
Paragraphs, descriptions. Line-height: 1.6. |
| Table header |
Cartograph CF |
SemiBold (600) |
7.5pt |
+0.05em |
ALL CAPS. White text on accent bg. |
| Table body |
Switzer |
Regular (400) |
8.5pt |
normal |
Alternating row backgrounds. |
| KPI value |
Cartograph CF |
SemiBold (600) |
16pt |
-0.02em |
KPI card numbers. |
| KPI label |
Cartograph CF |
Regular (400) |
6.5pt |
+0.06em |
ALL CAPS. Below KPI values. |
| Rec-card label |
Cartograph CF |
SemiBold (600) |
7.5pt |
+0.04em |
ALL CAPS. Field labels. |
| Priority banner |
Cartograph CF |
SemiBold (600) |
9pt |
+0.08em |
ALL CAPS. Priority tier labels. |
| Page footer |
Switzer |
Regular (400) |
7pt |
+0.03em |
Centered. Color: --text-muted. |
Critical typography rules:
- Cover title uses Light (300), NOT Bold. Light at large sizes = confident, premium.
- Monospace font for ALL numeric/data content. KPI values, table headers, rec-card labels, priority banners.
- Body text at 9.5pt with 1.6 line-height. Reading-optimized document, not a slide.
- Table headers are ALL CAPS monospace on accent background. Distinctive table style.
Font defaults (swappable):
- Switzer: loaded from Fontshare CDN (free). Fallback:
system-ui, sans-serif
- Cartograph CF: commercial, loaded via
local(). Fallback: JetBrains Mono, monospace
Page Dimensions
Width: 8.5in
Height: 11in
Orientation: Portrait
Spacing
| Zone |
Value |
| Content padding |
0.6in 0.75in 0.7in |
| Cover page padding |
0 1in 1in (bottom-aligned) |
| Page footer |
Absolute positioned, bottom: 0, padding: 10px 0.75in 14px |
| Section title margin-bottom |
4px (then accent rule adds 20px below) |
| Subsection title margin |
20px top, 8px bottom |
Component Library
All components are documented with full HTML + CSS in REFERENCE.md. Here is what is available:
Page Structure
| Component |
Class |
Use |
| Page Container |
.page |
8.5x11" page with shadow. |
| Cover Page |
.cover-page |
Dark cover with bottom-aligned content. |
| Content Area |
.content |
Padded content region within a page. |
| Page Footer |
.page-footer |
Centered footer with doc name + page number. |
| Section Title |
.section-title + .accent-rule |
Section heading with accent underline. |
| Section Continued |
.section-continued |
"(continued)" tag for multi-page sections. |
Data Display
| Component |
Class |
Use |
| KPI Row |
.kpi-row / .kpi-card |
4-column grid of big-number cards. |
| KPI Card (Risk) |
.kpi-card--risk |
Red-tinted variant for risk/negative KPIs. |
| Data Table |
table with severity classes |
Striped rows, accent headers, severity colors. |
Content Blocks
| Component |
Class |
Use |
| Callout Box |
.callout + .callout-{color} |
Left-bordered insight box (blue/green/red/amber). |
| Body Text |
.body-text |
Standard paragraph text. |
| Bullet List |
.bullet-list |
Accent-colored dot bullets. |
| Numbered List |
.numbered-list |
Mono-font accent markers. |
Recommendations
| Component |
Class |
Use |
| Priority Banner |
.priority-banner + level class |
Tier label (CRITICAL/HIGH/MEDIUM/LOW). |
| Recommendation Card |
.rec-card + level class |
Multi-field card with left accent stripe. |
| Quick Wins Table |
Table with .qw-num |
Numbered action items table. |
Document Compositions
Mandatory Pages
Every report must include:
- Cover Page (
.cover-page) -- Dark background, document title, metadata (date, account, period)
- Executive Summary -- KPI row + key findings callout + brief narrative
- Recommendations -- Prioritized rec-cards grouped by priority tier
- Quick Wins -- Short action table for immediate wins
Content Page Types
| Type |
When to Use |
Key Components |
| Data Table + Narrative |
Inventory, benchmarking |
Table + .body-text + .bullet-list |
| Callout Stack |
Deep-dive on specific items |
Multiple .callout boxes (green/red/amber) |
| Table + Callout |
Performance data with insight |
Table + single callout summary |
| Rec-Card Stack |
Prioritized recommendations |
.priority-banner + .rec-card stack |
| Mixed Analysis |
Multi-part section |
Tables + callouts + bullets + subsections |
Narrative Rules
- One section per page when possible. If a section spans multiple pages, use "(continued)" on subsequent pages.
- Lead with the data. Tables and KPI cards BEFORE the narrative explanation.
- Callout after evidence. Every data table should be followed by a callout summarizing the key insight.
- Never estimate when actuals exist. If the data has exact values, compute precise totals.
- Benchmark everything. Always show industry benchmarks alongside metrics.
- Severity colors = signal. Green/amber/red ONLY for performance indicators.
- Callout colors match severity.
.callout-green for strengths, .callout-red for problems, .callout-amber for warnings, .callout-blue for neutral insights.
- Accent rules under section titles. Every
.section-title is followed by <hr class="accent-rule">.
- Consistent rec-card fields. Every recommendation card should have at minimum: title bar, ISSUE, ACTION fields.
Page Overflow Prevention
Pages are fixed at 11in tall. Content that exceeds the page container overflows visibly in the PDF. Every page must be budgeted before building.
Height Budget
| Zone |
Height |
| Content padding (top + bottom) |
~1.3in |
| Page footer |
~0.4in |
| Usable content area |
~9.3in |
Component Density Limits
| Component |
Max items per page |
Dense mode override |
| Rec-cards (full fields) |
3 cards |
For 4+: drop optional fields |
| Rec-cards (minimal) |
4-5 cards |
Reduce margin to 8px 0 12px |
| Data tables |
10-12 rows |
For 13+: reduce font to 7.5pt, padding to 3px 8px |
| Callout boxes |
3-4 per page |
Reduce padding to 10px 14px |
| Bullet lists |
6-8 items |
Shorten descriptions |
Page Break Strategy
- Test every page in the browser before exporting to PDF
- Redistribute content across pages when overflow occurs
- Each
<div class="page"> is one PDF page
- Use
.keep-together on components that should not split across pages
- Update ALL downstream page numbers when redistributing
Anti-Patterns (Never Do)
- No white backgrounds. Always
#FAF7F2 (warm cream) for content pages.
- No bold section titles. Use Regular (400) for
.section-title.
- No decorative accent bars beyond the 40px accent rule under section titles.
- No emoji in reports. Unless the user explicitly requests them.
- No dark-mode content pages. Dark is only for the cover page.
- No walls of text. Break long prose into bullet lists. Max 3 sentences per callout.
- No unformatted numbers. Always use
$X,XXX or $XXXK with tabular-nums.
- No inline styles when a class exists. Use the component library.
- No monospace fonts in page footers. Use body font for footers.
- No orphan rec-cards. Priority tier banner + first card must be on same page.
- No missing accent rules. Every
.section-title must be followed by <hr class="accent-rule">.
PDF Export
Automated Export (Preferred)
Use Chrome headless for reliable 8.5x11" portrait PDF generation:
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--headless \
--disable-gpu \
--print-to-pdf="/OUTPUT/PATH/report.pdf" \
--no-pdf-header-footer \
--print-to-pdf-no-header \
"file:///PATH/TO/report.html"
Manual Export (Fallback)
- Open the HTML file in Chrome
Cmd+P --> Save as PDF
- Set margins to "None"
- Enable "Background graphics"
- Paper size: Letter (8.5" x 11")
Required Print CSS
Every report MUST include this @page rule and @media print block:
@page { size: 8.5in 11in; margin: 0; }
@media print {
* { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
body { background: white; margin: 0; }
.page {
margin: 0;
box-shadow: none;
page-break-after: always;
page-break-inside: avoid;
width: 8.5in;
min-height: 11in;
}
.page:last-child { page-break-after: avoid; }
}
QA Checklist
Before delivering, verify:
Data Accuracy
Page Overflow (check EVERY page)
Visual Consistency
PDF Export
1---2name: pro-report-builder3description: Create polished HTML technical reports and multi-page documents for consulting deliverables. Includes a customizable design system with dark cover page, warm cream content pages (8.5x11 portrait), professional typography, and a curated component library (KPI cards, data tables with severity coloring, callout boxes, recommendation cards, priority banners). Trigger on report, audit report, technical document, written report, assessment, or multi-page document. Outputs standalone HTML files exported to PDF via Chrome headless.4license: MIT5origin: custom6author: Rebecca Rae Barton7author_url: https://github.com/thatrebeccarae8metadata:9 source: https://skillmd.com/skills/thatrebeccarae/pro-report-builder10 version: 1.0.011 category: reporting12 domain: consulting-deliverables13 updated: 2026-03-1814 tested: 2026-03-1815 tested_with: "Claude Code v2.1"16---1718# Pro Report Builder1920Polished consulting reports as standalone HTML. Export to PDF via Chrome headless.2122## Install2324```bash25git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/pro-report-builder ~/.claude/skills/26```2728## Quick Reference2930| Task | Approach |31|------|----------|32| Create report from scratch | Read [REFERENCE.md](REFERENCE.md) for CSS + HTML patterns |33| Add a new component type | Compose from existing components in REFERENCE.md |34| Export to PDF | Chrome headless `--print-to-pdf` (see Export section) |35| Customize brand tokens | Edit CSS custom properties in `:root` block |3637### When to Use This Skill vs pro-deck-builder3839| | pro-report-builder | pro-deck-builder |40|---|---|---|41| **Format** | 8.5x11" portrait pages | 16:9 landscape slides |42| **Content flow** | Multi-page, flowing text | Single-slide compositions |43| **Export** | Chrome headless `--print-to-pdf` | Puppeteer |44| **Use for** | Audit reports, assessments, written deliverables | Presentation decks, pitch slides |4546---4748## Before You Start4950### Step 1: Understand the Brief5152Ask the user:53541. **What type of document?** Audit report, assessment, technical brief, case study?552. **How many pages roughly?** Helps plan section flow and page distribution.563. **What data do they have?** Raw numbers, API exports, spreadsheets? Pull exact values -- never estimate when actuals exist.574. **Where should the file be saved?** Default: `./output/`5859### Step 2: Plan the Document Structure6061Every report follows this structure:6263```64Cover Page --> Executive Summary --> Analysis Sections (3-6) --> Prioritized Recommendations --> Quick Wins --> Appendix65```6667Each analysis section should occupy 1-2 pages. Recommendation cards are the most space-intensive component -- budget carefully.6869---7071## Design System7273### Customizable Brand Identity7475The included design system provides a professional default. All color tokens, typography, and spacing are defined as CSS custom properties in `:root`. **Override these to match your brand.**7677### Color Tokens7879```css80:root {81 /* Accent -- change this to your brand color */82 --accent: #3D7A5C;83 --accent-dim: rgba(61, 122, 92, 0.08);84 --accent-dark: #2E6B4A;85 --accent-light: #6AB88A;8687 /* Severity */88 --excellent: #2e8b57;89 --warning: #D97706;90 --critical: #c0392b;9192 /* Light-mode backgrounds (warm cream) */93 --bg-page: #FAF7F2;94 --bg-surface: #F2EDE6;95 --bg-elevated: #EBE5DD;9697 /* Light-mode text */98 --text-primary: #0f0e0e;99 --text-body: #57606a;100 --text-muted: #8b949e;101102 /* Borders */103 --border: rgba(15, 14, 14, 0.1);104 --border-dim: rgba(15, 14, 14, 0.06);105106 /* Callout tints */107 --tint-blue: #eaf2ed;108 --tint-green: #eaf5ef;109 --tint-red: #fef2f2;110 --tint-amber: #fffbeb;111112 /* Dark mode (cover page only) */113 --dark-bg: #141414;114 --dark-surface: #1E1E1E;115 --dark-text: #f0f3f6;116 --dark-muted: #6e7681;117 --dark-secondary:#9ca3af;118 --dark-border: rgba(255, 255, 255, 0.08);119}120```121122**Color rules:**123- Warm cream (`#FAF7F2`) backgrounds on ALL content pages -- NOT white. This is a brand differentiator.124- Dark mode (`#141414`) is reserved for the cover page only.125- Accent color for accent rules, table headers, bullet markers, priority banner accents, rec-card left stripes. Used deliberately, never for decoration.126- Severity colors (green/amber/red) ONLY for performance indicators. Never decorative.127- Callout tints (blue/green/red/amber) for left-bordered callout boxes matching their severity.128129### Typography130131| Role | Font | Weight | Size | Tracking | Notes |132|------|------|--------|------|----------|-------|133| Cover title | Switzer | Light (300) | 36pt | -0.03em | Document name on dark cover. |134| Cover subtitle | Switzer | Regular (400) | 16pt | normal | Below cover title. Color: `--dark-muted`. |135| Cover tag | Cartograph CF | Regular (400) | 8pt | +0.15em | ALL CAPS. Color: `--accent`. Above title. |136| Section title | Switzer | Regular (400) | 18pt | -0.02em | Content page h2. Followed by accent rule. |137| Subsection title | Switzer | SemiBold (600) | 12.5pt | normal | Content page h3. |138| Body text | Switzer | Regular (400) | 9.5pt | normal | Paragraphs, descriptions. Line-height: 1.6. |139| Table header | Cartograph CF | SemiBold (600) | 7.5pt | +0.05em | ALL CAPS. White text on accent bg. |140| Table body | Switzer | Regular (400) | 8.5pt | normal | Alternating row backgrounds. |141| KPI value | Cartograph CF | SemiBold (600) | 16pt | -0.02em | KPI card numbers. |142| KPI label | Cartograph CF | Regular (400) | 6.5pt | +0.06em | ALL CAPS. Below KPI values. |143| Rec-card label | Cartograph CF | SemiBold (600) | 7.5pt | +0.04em | ALL CAPS. Field labels. |144| Priority banner | Cartograph CF | SemiBold (600) | 9pt | +0.08em | ALL CAPS. Priority tier labels. |145| Page footer | Switzer | Regular (400) | 7pt | +0.03em | Centered. Color: `--text-muted`. |146147**Critical typography rules:**1481. **Cover title uses Light (300), NOT Bold.** Light at large sizes = confident, premium.1492. **Monospace font for ALL numeric/data content.** KPI values, table headers, rec-card labels, priority banners.1503. **Body text at 9.5pt with 1.6 line-height.** Reading-optimized document, not a slide.1514. **Table headers are ALL CAPS monospace on accent background.** Distinctive table style.152153**Font defaults (swappable):**154- Switzer: loaded from Fontshare CDN (free). Fallback: `system-ui, sans-serif`155- Cartograph CF: commercial, loaded via `local()`. Fallback: `JetBrains Mono, monospace`156157### Page Dimensions158159```160Width: 8.5in161Height: 11in162Orientation: Portrait163```164165### Spacing166167| Zone | Value |168|------|-------|169| Content padding | `0.6in 0.75in 0.7in` |170| Cover page padding | `0 1in 1in` (bottom-aligned) |171| Page footer | Absolute positioned, `bottom: 0`, `padding: 10px 0.75in 14px` |172| Section title margin-bottom | `4px` (then accent rule adds `20px` below) |173| Subsection title margin | `20px top, 8px bottom` |174175---176177## Component Library178179All components are documented with full HTML + CSS in [REFERENCE.md](REFERENCE.md). Here is what is available:180181### Page Structure182183| Component | Class | Use |184|-----------|-------|-----|185| Page Container | `.page` | 8.5x11" page with shadow. |186| Cover Page | `.cover-page` | Dark cover with bottom-aligned content. |187| Content Area | `.content` | Padded content region within a page. |188| Page Footer | `.page-footer` | Centered footer with doc name + page number. |189| Section Title | `.section-title` + `.accent-rule` | Section heading with accent underline. |190| Section Continued | `.section-continued` | "(continued)" tag for multi-page sections. |191192### Data Display193194| Component | Class | Use |195|-----------|-------|-----|196| KPI Row | `.kpi-row` / `.kpi-card` | 4-column grid of big-number cards. |197| KPI Card (Risk) | `.kpi-card--risk` | Red-tinted variant for risk/negative KPIs. |198| Data Table | `table` with severity classes | Striped rows, accent headers, severity colors. |199200### Content Blocks201202| Component | Class | Use |203|-----------|-------|-----|204| Callout Box | `.callout` + `.callout-{color}` | Left-bordered insight box (blue/green/red/amber). |205| Body Text | `.body-text` | Standard paragraph text. |206| Bullet List | `.bullet-list` | Accent-colored dot bullets. |207| Numbered List | `.numbered-list` | Mono-font accent markers. |208209### Recommendations210211| Component | Class | Use |212|-----------|-------|-----|213| Priority Banner | `.priority-banner` + level class | Tier label (CRITICAL/HIGH/MEDIUM/LOW). |214| Recommendation Card | `.rec-card` + level class | Multi-field card with left accent stripe. |215| Quick Wins Table | Table with `.qw-num` | Numbered action items table. |216217---218219## Document Compositions220221### Mandatory Pages222223Every report must include:2242251. **Cover Page** (`.cover-page`) -- Dark background, document title, metadata (date, account, period)2262. **Executive Summary** -- KPI row + key findings callout + brief narrative2273. **Recommendations** -- Prioritized rec-cards grouped by priority tier2284. **Quick Wins** -- Short action table for immediate wins229230### Content Page Types231232| Type | When to Use | Key Components |233|------|-------------|----------------|234| Data Table + Narrative | Inventory, benchmarking | Table + `.body-text` + `.bullet-list` |235| Callout Stack | Deep-dive on specific items | Multiple `.callout` boxes (green/red/amber) |236| Table + Callout | Performance data with insight | Table + single callout summary |237| Rec-Card Stack | Prioritized recommendations | `.priority-banner` + `.rec-card` stack |238| Mixed Analysis | Multi-part section | Tables + callouts + bullets + subsections |239240---241242## Narrative Rules2432441. **One section per page when possible.** If a section spans multiple pages, use "(continued)" on subsequent pages.2452. **Lead with the data.** Tables and KPI cards BEFORE the narrative explanation.2463. **Callout after evidence.** Every data table should be followed by a callout summarizing the key insight.2474. **Never estimate when actuals exist.** If the data has exact values, compute precise totals.2485. **Benchmark everything.** Always show industry benchmarks alongside metrics.2496. **Severity colors = signal.** Green/amber/red ONLY for performance indicators.2507. **Callout colors match severity.** `.callout-green` for strengths, `.callout-red` for problems, `.callout-amber` for warnings, `.callout-blue` for neutral insights.2518. **Accent rules under section titles.** Every `.section-title` is followed by `<hr class="accent-rule">`.2529. **Consistent rec-card fields.** Every recommendation card should have at minimum: title bar, ISSUE, ACTION fields.253254---255256## Page Overflow Prevention257258Pages are fixed at 11in tall. Content that exceeds the page container overflows visibly in the PDF. **Every page must be budgeted before building.**259260### Height Budget261262| Zone | Height |263|------|--------|264| Content padding (top + bottom) | ~1.3in |265| Page footer | ~0.4in |266| **Usable content area** | **~9.3in** |267268### Component Density Limits269270| Component | Max items per page | Dense mode override |271|-----------|-------------------|---------------------|272| **Rec-cards (full fields)** | 3 cards | For 4+: drop optional fields |273| **Rec-cards (minimal)** | 4-5 cards | Reduce margin to `8px 0 12px` |274| **Data tables** | 10-12 rows | For 13+: reduce font to `7.5pt`, padding to `3px 8px` |275| **Callout boxes** | 3-4 per page | Reduce padding to `10px 14px` |276| **Bullet lists** | 6-8 items | Shorten descriptions |277278### Page Break Strategy2792801. **Test every page in the browser** before exporting to PDF2812. **Redistribute content** across pages when overflow occurs2823. **Each `<div class="page">` is one PDF page**2834. **Use `.keep-together`** on components that should not split across pages2845. **Update ALL downstream page numbers** when redistributing285286---287288## Anti-Patterns (Never Do)2892901. **No white backgrounds.** Always `#FAF7F2` (warm cream) for content pages.2912. **No bold section titles.** Use Regular (400) for `.section-title`.2923. **No decorative accent bars** beyond the 40px accent rule under section titles.2934. **No emoji in reports.** Unless the user explicitly requests them.2945. **No dark-mode content pages.** Dark is only for the cover page.2956. **No walls of text.** Break long prose into bullet lists. Max 3 sentences per callout.2967. **No unformatted numbers.** Always use `$X,XXX` or `$XXXK` with tabular-nums.2978. **No inline styles when a class exists.** Use the component library.2989. **No monospace fonts in page footers.** Use body font for footers.29910. **No orphan rec-cards.** Priority tier banner + first card must be on same page.30011. **No missing accent rules.** Every `.section-title` must be followed by `<hr class="accent-rule">`.301302---303304## PDF Export305306### Automated Export (Preferred)307308Use Chrome headless for reliable 8.5x11" portrait PDF generation:309310```bash311"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \312 --headless \313 --disable-gpu \314 --print-to-pdf="/OUTPUT/PATH/report.pdf" \315 --no-pdf-header-footer \316 --print-to-pdf-no-header \317 "file:///PATH/TO/report.html"318```319320### Manual Export (Fallback)3213221. Open the HTML file in Chrome3232. `Cmd+P` --> Save as PDF3243. Set margins to "None"3254. Enable "Background graphics"3265. Paper size: Letter (8.5" x 11")327328### Required Print CSS329330Every report MUST include this `@page` rule and `@media print` block:331332```css333@page { size: 8.5in 11in; margin: 0; }334@media print {335 * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }336 body { background: white; margin: 0; }337 .page {338 margin: 0;339 box-shadow: none;340 page-break-after: always;341 page-break-inside: avoid;342 width: 8.5in;343 min-height: 11in;344 }345 .page:last-child { page-break-after: avoid; }346}347```348349---350351## QA Checklist352353Before delivering, verify:354355### Data Accuracy356- [ ] All numbers are accurate and internally consistent357- [ ] Percentages add up where they should358- [ ] Revenue figures match across exec summary KPIs, tables, and rec-card references359360### Page Overflow (check EVERY page)361- [ ] No content overflows page boundaries362- [ ] Rec-card pages have max 3 full-field cards363- [ ] Data tables with 13+ rows use dense mode364365### Visual Consistency366- [ ] Every content page has a `.page-footer` with correct page number367- [ ] Cover page has NO `.page-footer`368- [ ] Every `.section-title` is followed by `<hr class="accent-rule">`369- [ ] Multi-page sections use "(continued)"370- [ ] Callout colors match their severity371- [ ] Priority banners use correct level class372373### PDF Export374- [ ] `@page` rule present with `size: 8.5in 11in`375- [ ] `print-color-adjust: exact` applied globally376- [ ] All background colors render in PDF