/* Printable teacher materials for The Leiden Archive Mystery.
   Deliberately plain: a 1.5cm page margin and no absolute positioning
   works cleanly on both A4 and US Letter without a paper-size toggle. */

@page { margin: 1.5cm; }

.mystery-print-page { background: var(--white); }
.mystery-print-main { max-width: 42rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 1.25rem; }

.mystery-print-toolbar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.mystery-print-toolbar p { margin: 0; font-size: .85rem; color: #4e6057; }

.mystery-print-sheet { border: 1px solid var(--rule); border-radius: 2px; padding: 1.4rem 1.6rem; margin-bottom: 1.5rem; break-inside: avoid; page-break-inside: avoid; }
.mystery-print-sheet header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.mystery-print-num { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.mystery-print-sheet time { font-size: .82rem; color: #607067; }
.mystery-print-sheet h2 { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.3rem; }
.mystery-print-abstract { line-height: 1.6; margin: 0 0 .8rem; }
.mystery-print-source { margin: 0; font-size: .78rem; color: #607067; }
.mystery-print-source a { color: var(--green); }

.mystery-print-footer { margin-top: 2rem; }

.mystery-worksheet-header { text-align: center; margin-bottom: 1.5rem; }
.mystery-worksheet-field { margin-bottom: 1.2rem; }
.mystery-worksheet-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: .3rem; }
.mystery-worksheet-field .fill-line { display: block; border-bottom: 1px solid var(--ink); height: 1.6rem; }
.mystery-worksheet-section { margin-bottom: 1.6rem; break-inside: avoid; page-break-inside: avoid; }
.mystery-worksheet-section h2 { font-family: var(--serif); font-size: 1.1rem; border-bottom: 2px solid var(--ink); padding-bottom: .3rem; }
.mystery-worksheet-section ol { padding-left: 1.3rem; }
.mystery-worksheet-section li { margin-bottom: .9rem; }

@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  a { color: inherit; text-decoration: none; }
  .mystery-print-sheet, .mystery-worksheet-section { break-inside: avoid; }
}
