Export PDF

Export PDF

Build a clean document PDF from the data already in context. The full analysis results are visible earlier in this conversation — use those numbers directly. Do not call any Noibu tools. Do not re-query. The only tool calls should be those needed to write and render the PDF itself.

Build the HTML as a clean document, not a styled widget. No card chrome, no CSS variables, no widget layout. Use plain HTML elements with minimal inline styles.

Structure (in order):

  1. <h1> — domain and date range (e.g. "Segment Analysis — atari.com · May 17–Jun 16 2026")
  2. Overview section<h2>Overview</h2>, the key stats as a sentence, then the four dimension tables as plain <table> elements (Devices, Countries, Best Converting Channels, Most Visited Channels)
  3. For each priority signal — <h2>[Signal type] — [Segment name]</h2> (e.g. "Campaign Drag — Facebook CPC"), then a short paragraph with the key number and why it matters

CSS — minimal, no variables:

<style>
  body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; color: #111; padding: 32px; max-width: 800px; margin: 0 auto; }
  h1 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
  h2 { font-size: 15px; font-weight: 600; margin: 32px 0 8px; border-top: 1px solid #e0e0e0; padding-top: 20px; }
  p { line-height: 1.6; margin: 0 0 12px; color: #444; }
  table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
  th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #666; border-bottom: 1px solid #e0e0e0; padding: 0 12px 6px 0; }
  td { padding: 7px 12px 7px 0; border-bottom: 0.5px solid #f0f0f0; }
  h2 + p { margin-top: 0; }
</style>

page-break-inside: avoid on each <h2> section.

Write to a temp file, then pass to the pdf skill.