Files
breakpilot-core/pitch-deck/app/pitch-print/print.css
T
Sharang Parnerkar 0d5ebcd27a
Build pitch-deck / build-push-deploy (push) Successful in 2m19s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 46s
CI / test-python-voice (push) Successful in 35s
CI / test-bqas (push) Successful in 34s
feat(pitch-print): redesign PDF investor brief from scratch
Throws away the screen-deck-derived print system. Builds a new institutional-research aesthetic:
- 12-col grid on A4 landscape, hairline rules, no colored bars, no icons
- 3-color discipline: indigo (structural), emerald (positive), red (problem)
- Plus Jakarta Sans 800 for hero numerals + titles; tabular numerals everywhere
- 1-to-1 content parity with the interactive deck: full USP (8 cards), full competition matrix (45 features, 12 AppSec features, 8+6 competitor profiles), Finanzplan P&L grid + KPI dashboard, full glossary
- 2-page slides where content demands (Exec Summary, USP, Competition, Finanzplan)
- 28 base pages; +1 for Financial detail; +1 for Cap Table (suppressed on Wandeldarlehen)

Files:
- New: PrintIntroSlides, PrintProductSlides, PrintMarketSlides, PrintCompetitionSlides
- Rewritten: PrintLayout (new primitives Page/KpiRow/TwoCol/ThreeCol/DataTable/MatrixGlyph/Callout), PrintAnnexSlides, PrintFinancialSlides, PrintDeck
- Removed: PrintCoreSlides.tsx, PrintExtraSlides.tsx (obsolete)
- print.css now sets Plus Jakarta Sans as the print font family
- All files under 500 LOC cap

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-19 18:43:55 +02:00

99 lines
2.6 KiB
CSS

/* Named page — must be outside @media print */
@page slide-page {
size: A4 landscape;
margin: 0;
}
@media screen {
body { background: #d1d5db; }
}
@media print {
@page {
size: A4 landscape;
margin: 0;
}
/*
* globals.css sets html,body { height:100%; overflow:hidden; background:#0a0a1a }.
* In print mode that clips all content to one viewport height and renders a black
* background. Override everything here.
*/
html, body {
height: auto !important;
min-height: 0 !important;
overflow: visible !important;
background: #ffffff !important;
color: #0f172a !important;
margin: 0 !important;
padding: 0 !important;
font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
-webkit-print-color-adjust: exact;
-moz-print-color-adjust: exact;
print-color-adjust: exact;
font-variant-numeric: tabular-nums;
}
.no-print {
display: none !important;
}
.print-deck-wrapper {
padding: 0 !important;
margin: 0 !important;
display: block !important;
overflow: visible !important;
font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
}
/*
* Block wrapper: carries the height AND the page break.
* height:210mm on display:block is reliable in both Chrome and Firefox.
*/
.print-page-break {
page: slide-page;
display: block !important;
width: 297mm !important;
height: 210mm !important;
overflow: hidden !important;
margin: 0 !important;
padding: 0 !important;
}
/* New page before every slide except the first */
.print-page-break + .print-page-break {
break-before: page !important;
page-break-before: always !important;
}
/* Flex container fills the block wrapper */
.print-page {
display: flex !important;
flex-direction: column !important;
width: 100% !important;
height: 100% !important;
overflow: hidden !important;
margin: 0 !important;
box-shadow: none !important;
background: #ffffff !important;
font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
color: #0f172a !important;
-webkit-print-color-adjust: exact;
-moz-print-color-adjust: exact;
print-color-adjust: exact;
}
/* Tabular numerals everywhere — institutional research aesthetic */
.print-page table,
.print-page .num,
.print-page .kpi {
font-variant-numeric: tabular-nums;
}
}
/* Screen preview: apply Plus Jakarta Sans to print pages even on screen */
.print-page, .print-page-break {
font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
font-variant-numeric: tabular-nums;
}