/* prov: 2026-10-19 claude-fable-5-1 drafted (print wiring) | fable_review: pending */
/* ludus-print.css — the school's own pages, loaded AFTER the shared layer
   (https://thewordhoard.com/print/wordhoard-print.css), which owns the paper,
   the Ctrl+P floor and the four forms. Here is only what Ludus prints and no
   other room does: the drill sheet with its write-in blanks and its key, and
   the deck list. Nothing shows on screen (#wh-print is display:none there)
   and nothing is fetched. */
@media print {
  /* the body is a flex column on screen (the footer at the foot); Chromium
     will not break a flex body across pages, so on paper it is a block */
  body { display: block !important; min-height: 0 !important; }
  .printbar, .progressbar { display: none !important; }
  .card { border: 0 !important; background: none !important; padding: 0 !important; }

  /* ── the drill sheet ── */
  #wh-print .lu-head { font-size: 10pt; color: #333; margin-bottom: .18in; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4pt; }
  #wh-print .lu-fill { font-size: 8.5pt; letter-spacing: .06em; text-transform: uppercase; color: #555; margin-left: 6pt; }
  #wh-print .lu-q { display: flex; gap: 8pt; margin-bottom: .16in; break-inside: avoid; page-break-inside: avoid; }
  #wh-print .lu-n { font-family: var(--wh-print-mono, "WH Print Mono", "Courier New", ui-monospace, monospace); font-size: 10pt; width: .3in; flex: 0 0 auto; padding-top: 2pt; }
  #wh-print .lu-body { flex: 1; }
  #wh-print .lu-kind { font-family: var(--wh-print-mono, "WH Print Mono", "Courier New", ui-monospace, monospace); font-size: 8pt; color: #555; letter-spacing: .05em; }
  #wh-print .lu-prompt { font-size: 11.5pt; line-height: 1.4; margin: 2pt 0 4pt; }
  #wh-print .lu-blank { border-bottom: 1px solid #999; height: .3in; }
  #wh-print .lu-blank.short { display: inline-block; width: 1.4in; height: .2in; vertical-align: baseline; }
  #wh-print .lu-foot { font-size: 9pt; color: #444; margin-top: .2in; }
  #wh-print ol.lu-key { padding-left: .35in; font-size: 11pt; line-height: 1.6; }
  #wh-print ol.lu-key li { break-inside: avoid; page-break-inside: avoid; }
  #wh-print ol.lu-key b { font-family: var(--wh-print-mono, "WH Print Mono", "Courier New", ui-monospace, monospace); font-weight: 700; }

  /* ── the deck list and the ledger ── */
  #wh-print table.lu-list { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
  #wh-print table.lu-list th { text-align: left; font-size: 8pt; letter-spacing: .08em; text-transform: uppercase; color: #444; border-bottom: 1px solid #000; padding: 2pt 4pt; font-weight: 400; }
  #wh-print table.lu-list td { border-bottom: 1px solid #ccc; padding: 3pt 4pt; vertical-align: top; }
  #wh-print table.lu-list tr { break-inside: avoid; page-break-inside: avoid; }
  #wh-print table.lu-list td.term, #wh-print table.lu-list td.lu-term { font-family: var(--wh-print-mono, "WH Print Mono", "Courier New", ui-monospace, monospace); white-space: nowrap; }
  #wh-print table.lu-list td.lu-mark { width: .3in; }
  #wh-print table.lu-list td.lu-box, #wh-print table.lu-list td.small { font-size: 8.5pt; color: #444; white-space: nowrap; }

  /* a card's face is a prompt, so it reads left to right, not centred */
  #wh-print .wh-cards .card.face { text-align: left; }
  #wh-print .wh-cards .card.face .ref { font-size: 8.5pt; color: #555; font-weight: 400; }
  #wh-print .wh-cards .card.face .text { font-size: 12pt; line-height: 1.4; }
  #wh-print .wh-cards .card.back .text { font-size: 15pt; font-family: var(--wh-print-mono, "WH Print Mono", "Courier New", ui-monospace, monospace); font-weight: 700; }
}
