#notebookPrint { display: none; }
.transfer-task label { display: block; margin: 1.1rem 0; font-weight: 650; }
.transfer-task textarea { display: block; width: 100%; box-sizing: border-box; min-height: 7rem; margin-top: .4rem; padding: .8rem; border: 1px solid #647c75; border-radius: 4px; background: #fff; color: #173b4f; font: inherit; line-height: 1.5; resize: vertical; }
.transfer-task textarea:focus-visible { outline: 3px solid #17655d; outline-offset: 3px; }
#saveNotebook, #printNotebook, #checkTransfer { min-height: 44px; margin: .5rem .6rem .5rem 0; padding: .75rem 1rem; border: 1px solid #17655d; border-radius: 6px; background: #fffefa; color: #174b47; font: inherit; font-weight: 650; cursor: pointer; }
#checkTransfer { background: #17655d; color: #fff; }
#checkTransfer:disabled { background: #e2e9e5; border-color: #a5b4ac; color: #4a5c54; cursor: not-allowed; }
#saveNotebook:hover, #printNotebook:hover { background: #e6f1e9; }
#saveNotebook:focus-visible, #printNotebook:focus-visible, #checkTransfer:focus-visible { outline: 3px solid #b75a47; outline-offset: 3px; }
.transfer-feedback:not(:empty) { padding: 1rem 1.2rem; border-left: 4px solid #17655d; background: #e6f1e9; line-height: 1.55; font-weight: 450; }
.notebook-output-note { max-width: 70ch; font-size: .9rem; line-height: 1.5; }
@media print {
  @page { size: auto; margin: 18mm; }
  body:has(#notebookPrint) > :not(#notebookPrint) { display: none !important; }
  body:not(:has(#notebookPrint)) > :not(main),
  body:not(:has(#notebookPrint)) main > :not(.evidence-notebook),
  body:not(:has(#notebookPrint)) .evidence-notebook > :not(.static-fallback) { display: none !important; }
  body:not(:has(#notebookPrint)) .static-fallback { display: block !important; color: black; background: white; font: 12pt/1.6 Arial, sans-serif; }
  body:not(:has(#notebookPrint)) .static-fallback p { margin: 8mm 0; }
  html, body, #notebookPrint { background: white !important; color: black !important; }
  #notebookPrint { display: block !important; font: 11pt/1.5 Arial, sans-serif; }
  #notebookPrint h1 { font: bold 21pt/1.15 Arial, sans-serif; margin: 0 0 6mm; }
  #notebookPrint h2 { font: bold 13pt/1.3 Arial, sans-serif; margin: 6mm 0 2mm; break-after: avoid; }
  #notebookPrint p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 4mm; orphans: 3; widows: 3; }
}
