/* Print: documents only — hide portal chrome (#2163).
   Selectors match templates/base.html's real chrome: header.topbar (not
   header.site-header), .sidebar/.sidebar-overlay, footer.footer (not
   footer.site-footer), and the toast container.

   body's background/text colour need no override here: base.css already
   paints body from var(--paper)/var(--ink), and tokens.css carries an
   `@media print { [data-theme="dark"] { ... } }` block that resets those
   (and --surface/--margin/--rule/--mid/--ink-2/--ink-3/--grid) back to
   their light-palette values for print — dark-mode selectors can only
   live in tokens.css (see static/css/CLAUDE.md "Dark Mode"), so that
   part of this fix isn't here. */
@media print {
  header.topbar, .sidebar, .sidebar-overlay, footer.footer, .toast-container, .no-print {
    display: none !important; /* brand-ok: must beat Alpine's x-show inline style on the sidebar/overlay */
  }
  .billing-document { border: none; }
}
