/* ============================================================
   EduManual — worksheet print styles
   ============================================================ */

.print-body { background: #fff; color: #222; }
.print-toolbar { display: flex; gap: 0.8rem; padding: 1rem 2rem; border-bottom: 1px solid #eee; }

.worksheet-sheet {
  max-width: 800px; margin: 1.5rem auto; background: #fff; color: #222;
  padding: 1rem 2rem 2rem; font-family: 'Nunito', 'Comic Sans MS', 'Segoe UI', sans-serif;
}
.ws-head { border-bottom: 3px solid #222; margin-bottom: 1.4rem; padding-bottom: 0.8rem; }
.ws-head h1 { font-size: 1.7rem; margin: 0 0 0.3rem; }
.ws-meta { color: #666; margin: 0 0 0.4rem; font-size: 0.9rem; }
.ws-name { margin: 0.4rem 0 0; font-weight: 700; }
.ws-h2 { font-size: 1.15rem; margin: 1.6rem 0 0.8rem; }
.ws-tracing { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.ws-trace-item { display: flex; gap: 0.5rem; align-items: baseline; }
.ws-dashed { font-size: 2.6rem; font-weight: 300; color: #bbb; -webkit-text-stroke: 1px #999; }
.ws-blank { font-size: 2.6rem; font-weight: 300; color: transparent; -webkit-text-stroke: 1px #ccc; }
.ws-questions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.6rem; }
.ws-question { display: flex; align-items: center; gap: 0.7rem; font-size: 1.15rem; font-weight: 700; }
.ws-q { white-space: nowrap; }
.ws-answer-box { display: inline-block; width: 90px; height: 44px; border: 2px solid #999; border-radius: 8px; }
.ws-box-big { width: 130px; height: 80px; }
.ws-line { font-size: 1.05rem; }
.ws-big-letters { font-size: 1.25rem; letter-spacing: 0.35em; font-weight: 700; }
.ws-foot { margin-top: 2.2rem; border-top: 2px dashed #ccc; padding-top: 0.8rem; color: #666; font-size: 0.85rem; text-align: center; }

/* Inquiry worksheets */
.ws-inquiry-box { border: 2px dashed #999; border-radius: 10px; min-height: 88px; margin: 0.4rem 0 1.1rem; padding: 0.5rem 0.7rem; }
.ws-inquiry-label { font-weight: 800; margin: 0.9rem 0 0.2rem; }
.ws-predict-table { width: 100%; border-collapse: collapse; margin: 0.8rem 0 1.4rem; }
.ws-predict-table th, .ws-predict-table td { border: 1.5px solid #888; padding: 0.5rem 0.7rem; text-align: center; font-size: 1rem; }
.ws-predict-table th { background: #eafaf7; }
.ws-predict-table td:first-child { text-align: left; font-weight: 700; }
.ws-wonder-line { border-bottom: 2px dotted #999; height: 2.2rem; margin: 0.2rem 0 1rem; }

/* Multisensory / phonics worksheets reuse ws-predict-table, ws-inquiry-box,
   ws-dashed and ws-blank — all defined above. */

/* Report print */
.report-sheet { max-width: 800px; margin: 1.5rem auto; background: #fff; color: #222; padding: 1.5rem 2rem 2rem; border: 1px solid #ddd; }
.report-head { border-bottom: 3px solid #333; padding-bottom: 0.7rem; margin-bottom: 1.2rem; }
.report-head h2 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.report-table { width: 100%; border-collapse: collapse; margin-bottom: 1.4rem; }
.report-table th, .report-table td { border: 1px solid #ccc; padding: 0.5rem 0.8rem; text-align: left; font-size: 0.95rem; }
.report-table th { background: #f1ebff; }
.report-sheet h3 { font-size: 1.05rem; margin: 1.2rem 0 0.5rem; }
.report-list { list-style: disc; padding-left: 1.4rem; }
.report-list li { margin-bottom: 0.2rem; font-size: 0.95rem; }
.report-foot { border-top: 1px solid #ddd; margin-top: 1.6rem; padding-top: 0.9rem; color: #666; font-size: 0.8rem; }

@media print {
  .no-print, .print-toolbar, .mobile-bottom-nav, .topbar, .site-header, .site-footer, .footer-cta { display: none !important; }
  .no-print-report { display: none !important; }
  body { background: #fff; padding: 0; }
  .worksheet-sheet, .report-sheet { margin: 0; border: 0; padding: 0.5cm; max-width: none; }
  .ws-answer-box, .ws-box-big { border-color: #555; }
  .ws-dashed, .ws-blank { color: #ddd; }
  @page { margin: 1.4cm; }
}
