/* Print / revision-sheet mode (build plan P6.5). Loaded globally in
   base.html but inert on screen — everything here lives under
   @media print, so it only kicks in when the browser actually prints
   (Ctrl/Cmd-P) or renders a page saved as PDF. */
@media print {
  .appbar, .icon-btn, .btn-primary, .btn-ghost, .n-rail, .n-side, .nav-tab,
  .no-print {
    display: none !important;
  }
  body, .notes-wrap, .notes-workspace, .n-main {
    background: #fff !important;
    color: #000 !important;
  }
  .n-main {
    padding: 0 !important;
  }
  .notes-wrap, .notes-workspace {
    display: block !important;
  }
  .n-col {
    max-width: none !important;
    margin-inline: 0 !important;
  }
  .revision-sheet-note {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 24px;
  }
  a {
    color: inherit !important;
    text-decoration: none !important;
  }
}
