/*
  SignCourt print styles. Loaded with media="print" on every page.
  Main job: the per-module cheat sheet prints as one clean page of black
  text on white paper. Site chrome (nav, toolbar, buttons, footer) is
  stripped everywhere when printing.
*/

@page {
  margin: 12mm;
}

body {
  background: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  font-size: 10.5pt;
  line-height: 1.35;
  /* Screen styles animate background/color changes; on paper that would
     mean capturing a mid-transition frame. Never animate in print. */
  transition: none !important;
}

/* Strip interactive chrome on paper */
.skip-link,
.site-header .main-nav,
.a11y-bar,
.theme-toggle,
.hero-actions,
.btn,
.sheet-tools,
.data-tools,
.filter-bar,
.submit-form,
.learned-toggle,
.site-footer nav {
  display: none !important;
}

a { color: #000000; text-decoration: none; }

.site-header {
  border-bottom: 2pt solid #000000;
  background: #ffffff !important;
  padding: 0 0 4pt;
}
.header-inner { padding: 0; }
.brand-mark {
  background: #000000 !important;
  color: #ffffff !important;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}
.brand-name { font-size: 1.1rem; color: #000000 !important; }

main { padding: 8pt 0 0; max-width: none; }
h1 { font-size: 16pt; margin-bottom: 6pt; color: #000000 !important; }
h2 { font-size: 13pt; color: #000000 !important; }

.site-footer {
  border-top: 1pt solid #000000;
  background: #ffffff !important;
  margin-top: 10pt;
}
.footer-inner { padding: 6pt 0; color: #000000 !important; font-size: 8pt; }

/* Cheat sheet: compact two-column, one page */
.sheet {
  border: none;
  padding: 0;
  background: #ffffff !important;
  box-shadow: none;
}
.sheet-head {
  border-bottom: 1.5pt solid #000000;
  padding-bottom: 4pt;
  margin-bottom: 8pt;
}
.sheet-head p { color: #000000 !important; font-size: 9pt; }
.sheet-lede { display: none; }
.sheet-grid {
  display: block;
  column-count: 2;
  column-gap: 18pt;
}
.sheet-item {
  border: none;
  border-bottom: 0.5pt solid #999999;
  border-radius: 0;
  padding: 4pt 0;
  background: #ffffff !important;
  break-inside: avoid;
}
.sheet-item .sign-word {
  font-size: 10pt;
  color: #000000 !important;
  margin-bottom: 1pt;
}
.sheet-item .sign-desc {
  color: #1a1a1a !important;
  font-size: 8.5pt;
  line-height: 1.3;
}
.sheet-foot {
  border-top: 1pt solid #000000;
  margin-top: 8pt;
  padding-top: 4pt;
  color: #000000 !important;
  font-size: 7.5pt;
}

/* Anything else that prints: flatten cards and plates to outlines */
.card, .listing-card, .quiz-card, .module, .stub-list li, .banner {
  border: 0.75pt solid #000000 !important;
  box-shadow: none !important;
  background: #ffffff !important;
}
.plate, .tag, .stub-tag {
  background: #ffffff !important;
  color: #000000 !important;
  border: 0.75pt solid #000000 !important;
}
.meter { display: none !important; }
