@media print {
  @page { margin: 16mm 14mm; }
  :root, html, body { background: #fff !important; padding: 0 !important; }
  body > *:not(.print-root) { display: none !important; }
  .print-root { display: block !important; color: #16353A; font-family: var(--font-sans); font-size: 11pt; line-height: 1.5; }
  .print-root h1 { font-size: 22pt; margin: 0 0 4pt; }
  .print-root h2 { font-size: 14pt; margin: 16pt 0 6pt; padding-bottom: 3pt; border-bottom: 2pt solid #2FA36B; break-after: avoid; }
  .print-root h3 { font-size: 12pt; margin: 10pt 0 4pt; }
  .print-root p { margin: 0 0 6pt; }
  .print-root ul { padding-left: 16pt; margin: 0 0 6pt; }
  .print-root table { width: 100%; border-collapse: collapse; margin-bottom: 8pt; break-inside: auto; }
  .print-root th, .print-root td { text-align: left; border-bottom: 0.5pt solid #ccc; padding: 4pt 5pt; vertical-align: top; }
  .print-root th { font-size: 9pt; color: #4E6A6E; }
  .print-root td.num, .print-root th.num { text-align: right; }
  .print-root tr { break-inside: avoid; }
  .print-root .doc-cover { border-bottom: 3pt solid #16353A; padding-bottom: 10pt; margin-bottom: 14pt; }
  .print-root .doc-meta { color: #4E6A6E; }
  .print-root .doc-price { font-size: 16pt; font-weight: 700; }
  .print-root .doc-sign { margin-top: 24pt; display: grid; grid-template-columns: 1fr 1fr; gap: 24pt; }
  .print-root .doc-sign div { border-top: 1pt solid #16353A; padding-top: 4pt; font-size: 9pt; }
  .print-root section { break-inside: auto; }
}
