/* ==========================================================================
   School Life — print.css  (loaded with media="print")
   Colors come from the @media print overrides in variables.css.
   ========================================================================== */

@page {
  margin: 14mm 12mm;
}

html,
body {
  background: var(--color-bg) !important;
  color: var(--color-text) !important;
  font-size: 11pt;
}

/* Hide site chrome and interactive controls */
.site-header,
#site-header,
.site-footer,
#site-footer,
.skip-link,
.drawer,
.drawer-overlay,
.search-modal,
.toast-region,
.breadcrumb,
.tool-hero__actions,
.tool-help,
.related,
.toolbar,
.no-print,
.btn,
.icon-btn,
.chips,
.tabs {
  display: none !important;
}

main {
  padding: 0 !important;
}

.container {
  max-width: none;
  padding: 0;
}

.tool-hero {
  display: block;
  margin: 0 0 8mm;
  padding: 0 0 4mm;
  border: 0;
  border-bottom: 2px solid var(--color-text);
  border-radius: 0;
  box-shadow: none;
}

.tool-hero::before,
.tool-hero::after,
.tool-hero .tool-icon {
  display: none;
}

.card,
.stat,
.table-wrap,
.tool-card {
  box-shadow: none !important;
  break-inside: avoid;
}

.table-wrap {
  overflow: visible;
  border-radius: 0;
}

.table thead th {
  position: static;
}

.table th,
.table td {
  padding: 4pt 6pt;
}

thead {
  display: table-header-group;
}

tr {
  break-inside: avoid;
}

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

[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.print-only {
  display: block !important;
}
