#note-print { display: none; }
.editor-pane:not(.has-note) #export-note-pdf { display: none; }
@media print {
  @page { size: auto; margin: 18mm 18mm 20mm; }
  html, body { height: auto !important; overflow: visible !important; background: #fff !important; color: #17212b !important; color-scheme: light; }
  body.printing-note > :not(#note-print) { display: none !important; }
  body.printing-note #note-print { display: block; }
  .pdf-note { margin: 0; padding: 0; font: 11pt/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #17212b; overflow-wrap: anywhere; }
  .pdf-note .pdf-title { margin: 0 0 9pt; padding: 0 0 12pt; border-bottom: 2pt solid #dae2eb; font-size: 25pt; line-height: 1.2; letter-spacing: -.5pt; break-after: avoid; }
  .pdf-collections { margin: 0 0 18pt; color: #526170; font-size: 9pt; }
  .pdf-body h1, .pdf-body h2, .pdf-body h3, .pdf-body h4, .pdf-body h5, .pdf-body h6 { line-height: 1.3; margin: 17pt 0 6pt; break-after: avoid; }
  .pdf-body h1 { font-size: 19pt; } .pdf-body h2 { font-size: 16pt; } .pdf-body h3 { font-size: 13pt; }
  .pdf-body p { margin: 0 0 8pt; orphans: 3; widows: 3; }
  .pdf-body ul, .pdf-body ol { padding-left: 20pt; margin: 5pt 0 12pt; }
  .pdf-body li { padding-left: 2pt; margin: 3pt 0; orphans: 2; widows: 2; }
  .pdf-body blockquote { margin: 12pt 0; border-left: 3pt solid #8a9eb5; padding-left: 12pt; color: #435367; }
  .pdf-body a { color: #205a91; text-decoration: underline; }
  .pdf-body pre { white-space: pre-wrap; background: #f2f5f8; padding: 10pt; }
  .pdf-body code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 9pt; }
  .pdf-body table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 12pt 0; font-size: 10pt; }
  .pdf-body thead { display: table-header-group; }
  .pdf-body tr { break-inside: avoid; }
  .pdf-body td, .pdf-body th { border: .75pt solid #b8c5d3; padding: 6pt 8pt; overflow-wrap: anywhere; vertical-align: top; }
  .pdf-body th { background: #eef2f6; text-align: left; font-weight: 600; }
  .pdf-checklist { list-style: none; }
  .pdf-checklist li { position: relative; }
  .pdf-check { position: absolute; left: -16pt; top: 3pt; width: 9pt; height: 9pt; border: 1pt solid #718298; border-radius: 2pt; }
  .pdf-check.done::after { content: ""; position: absolute; left: 2pt; top: 0; width: 3pt; height: 6pt; border: solid #205a91; border-width: 0 1.5pt 1.5pt 0; transform: rotate(45deg); }
  .pdf-indent-1 { margin-left: 14pt !important; } .pdf-indent-2 { margin-left: 28pt !important; }
  .pdf-indent-3 { margin-left: 42pt !important; } .pdf-indent-4 { margin-left: 56pt !important; }
  .pdf-indent-5, .pdf-indent-6, .pdf-indent-7, .pdf-indent-8 { margin-left: 70pt !important; }
  .pdf-center { text-align: center; } .pdf-right { text-align: right; }
  .pdf-attachment-notice { margin-top: 18pt; padding-top: 10pt; border-top: .5pt solid #dae2eb; color: #526170; font-size: 9pt; }
  .pdf-note footer { margin-top: 22pt; padding-top: 8pt; border-top: .5pt solid #dae2eb; font-size: 8pt; color: #64748b; }
}
@media print {
  .pdf-image { margin: 1em 0; break-inside: avoid; }
  .pdf-image img { max-width: 100%; max-height: 220mm; object-fit: contain; display: block; }
  .pdf-image figcaption { color: #555; font-size: 9pt; margin-top: 4mm; overflow-wrap: anywhere; }
}
