/* print.css — dedicated print stylesheet (SPEC §5.7): a clean one-page focus
   summary (today + last-7-days + task rollup) with no app chrome. Loaded
   only for the print media (see index.html's <link media="print">) so it
   never affects on-screen rendering or Gate-4 perf. Numbers are plain text
   on plain table borders — never color/ring-fill alone — since most
   printers render grayscale (SPEC §6 "verified on the print stylesheet
   too"). System fonts only — printing doesn't need the self-hosted
   webfonts, keeping print rendering fast and dependency-free. */

@media print {
  @page { margin: 14mm 12mm; }

  * { box-shadow: none !important; text-shadow: none !important; background: #fff !important; color: #111 !important; }

  body > *:not(#print-root) { display: none !important; }
  #print-root { display: block !important; }
  #print-root, #print-root * { visibility: visible; }

  body { font-family: Georgia, "Times New Roman", serif; font-size: 11pt; line-height: 1.4; margin: 0; padding: 0; }

  .print-title { font-family: Georgia, serif; font-size: 20pt; font-weight: 400; margin: 0 0 2pt; letter-spacing: 0.01em; }
  .print-sub { font-family: Arial, Helvetica, sans-serif; font-size: 9.5pt; color: #333 !important; margin: 0 0 14pt; }

  .print-section { page-break-inside: avoid; margin-bottom: 16pt; }
  .print-section h2 { font-family: Georgia, serif; font-size: 13pt; font-weight: 400; border-bottom: 1pt solid #333; padding-bottom: 3pt; margin: 0 0 6pt; }

  .print-stat-row { display: flex; gap: 18pt; margin-bottom: 4pt; }
  .print-stat-row div { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; }
  .print-stat-row strong { display: block; font-size: 14pt; }

  .print-table { width: 100%; border-collapse: collapse; margin-bottom: 10pt; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; }
  .print-table th, .print-table td { border: 0.75pt solid #999; padding: 5pt 7pt; text-align: left; vertical-align: top; }
  .print-table thead th { font-weight: 700; background: #eee !important; }
  .print-table tr { page-break-inside: avoid; }
  .print-table td.num, .print-table th.num { text-align: right; }
}
