/* Print styles, loaded with media="print": strip the app chrome so pages print as clean documents.
   Mark anything else that shouldn't print with .no-print. */
@page {
  margin: 12mm 14mm;
}

:root {
  /* print in the light palette whatever the screen theme: light-dark() tokens follow it */
  color-scheme: light !important;
}

body {
  background: var(--print-paper) !important;
  font-size: 10.5pt;
  line-height: 1.45;
}

.appbar,
.shell-side,
.skip-link,
.site-footer,
#toast-region,
#request-bar,
#modal-region,
.doc-toc,
.no-print {
  display: none !important;
}

.desk-window,
.window,
.split-side,
.split-main,
.card {
  box-shadow: none !important;
}

.desk-window {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  border: none;
  overflow: visible;
}

.shell,
.split,
.doc-layout {
  display: block;
  min-height: 0;
  overflow: visible;
}

.shell-main,
.page-main {
  padding: 0;
  max-width: none;
}

.card,
.callout,
pre,
tr {
  break-inside: avoid;
}

h1,
h2,
h3 {
  break-after: avoid;
}

a {
  color: var(--text-primary);
  text-decoration: none;
}
