/**
 * Design tokens shared by every internally-generated PDF surface. Edit here
 * to re-skin every report/export/expense PDF.
 *
 * Coordinates are in PDF points (1/72 inch). 36pt = 0.5in = standard margin.
 */
export const PDF_TOKENS = {
  colors: {
    text: '#111111',
    textMuted: '#666666',
    border: '#e5e7eb',
    headerBand: '#0f172a',
    headerText: '#ffffff',
    accentBlue: '#1d4ed8',
    accentSlate: '#334155',
    zebra: '#f9fafb',
    success: '#16a34a',
    warning: '#d97706',
    danger: '#dc2626',
    surface: '#ffffff',
  },
  fonts: {
    sans: 'Helvetica',
    sansBold: 'Helvetica-Bold',
    mono: 'Courier',
  },
  sizes: {
    docTitle: 18,
    sectionH: 13,
    body: 10,
    small: 8,
    caption: 7,
  },
  spacing: {
    pagePadding: 36,
    pagePaddingTop: 72,
    pagePaddingBottom: 54,
    sectionGap: 18,
    rowGap: 6,
    headerHeight: 72,
    footerHeight: 36,
    logoMaxWidth: 200,
    logoMaxHeight: 60,
  },
  page: {
    width: 595,
    height: 842,
  },
} as const;

export type PdfTokens = typeof PDF_TOKENS;
