/* Printing matters here: the crucible pre-heat and furnace guides get taped
   up next to the furnace. Strip the chrome, keep the content readable. */

@page { margin: 1.6cm; }

.topbar,
.site-header,
.drawer,
.action-bar,
.to-top,
.site-footer,
.cta-band,
.carousel__nav,
.filter-bar,
.breadcrumbs,
.skip-link,
.search-dialog,
.product__buy,
.aside-card,
.article-nav,
.pagination,
.marquee,
.video-card__play,
.section-head__action { display: none !important; }

body {
  background: #fff !important;
  color: #000 !important;
  font-size: 11pt;
  line-height: 1.7;
}

.section { padding-block: 0 !important; }
.container { max-width: none !important; padding: 0 !important; }

.doc,
.product,
.split,
.contact-grid { display: block !important; }

a { color: #000 !important; text-decoration: underline; }
/* Expand real links, but never the fragment-only ones */
.article__body a[href^="http"]::after,
.guide a[href^="http"]::after {
  content: " (" attr(href) ")";
  font-size: 9pt;
  color: #444;
}

h1, h2, h3, h4 { break-after: avoid; page-break-after: avoid; }
img, figure, table, .callout, .steps__item { break-inside: avoid; page-break-inside: avoid; }

img { max-width: 100% !important; }

.table thead th { background: #eee !important; color: #000 !important; }
.table th, .table td { border: 1px solid #999 !important; }

.toc {
  border: 1px solid #999 !important;
  background: #fff !important;
  break-inside: avoid;
}

.callout { border: 1px solid #999 !important; background: #f6f6f6 !important; }

.accordion__panel { display: block !important; }
.accordion__item { border: 1px solid #999 !important; }

/* Seasonal decoration is screen dressing; on paper it is wasted toner. */
.season-note { display: none !important; }
.hero::after,
.page-hero::after { display: none !important; }
.site-footer::before { display: none !important; }

/* The contents list is capped to the viewport on screen — on paper it must
   print in full rather than one screenful. */
.toc-pin > .toc {
  position: static !important;
  max-block-size: none !important;
}
.toc-pin > .toc > .toc__list { overflow: visible !important; }
