/* Digitrova SEO Audit Tool — print stylesheet (Save as PDF) */
#print-header { display: none; }
#print-footer { display: none; }

@media print {
  @page { margin: 14mm 12mm 18mm; }
  :root { --bg: #fff; --card: #fff; --text: #111; --muted: #555; --border: #ddd; }
  body { background: #fff; color: #111; font-size: 11px; }

  /* hide everything interactive / navigational */
  .no-print, .site-header, .site-footer, .actions, .tabs, #view-landing,
  #view-progress, #teaser, .ai-drawer, .overlay, .modal, #btn-ai-open { display: none !important; }
  #view-report { display: block !important; }

  /* branded header */
  #print-header { display: flex !important; align-items: center; gap: 14px;
    border-bottom: 3px solid #1B4FA0; padding-bottom: 10px; margin-bottom: 14px; }
  #print-header img { width: 46px; height: 46px; background: #fff; }
  #print-header strong { font-size: 17px; }
  #print-header .print-scores { margin-left: auto; text-align: right; font-size: 12px; }

  /* show every tab panel stacked */
  .tab-panel { display: block !important; padding: 8px 0; page-break-inside: auto; }
  .card, .issue { box-shadow: none; break-inside: avoid; }
  .tabs-shell { margin: 0; }

  /* branded footer on every page */
  #print-footer { display: block !important; position: fixed; bottom: 0; left: 0; right: 0;
    border-top: 2px solid #1B4FA0; padding-top: 6px; font-size: 9.5px; color: #444; background: #fff; }

  a { color: #1B4FA0; text-decoration: none; }
  .ring-fg { stroke: #1B4FA0 !important; }
  .ring-geo { stroke: #6A2AA8 !important; }
  table.data { font-size: 10px; }
  /* long link/image tables: keep first page readable */
  table.data tr:nth-child(n+26) { display: none; }
}
