@import url("./syllabusA4PrintLayout.css");
/* Gate 8-B Step 4-G5: official standalone preview print stylesheet.
 * Uses the same Step 7 DOM, stylesheet and readable 9pt typography as the screen.
 * No print-only text resizing; 125% screen zoom is removed for physical A4.
 */
.step7-official-print-button { white-space: nowrap; }
.step7-official-print-button:disabled { opacity: .52; cursor: not-allowed; }
.step7-official-print-status { font-size: 11px; font-weight: 800; color: #174f7f; }

@media print {
  /* Ctrl+P is also fail-closed: never print an unchecked A4 sheet. */
  .syllabus-preview-page:not([data-syllabus-print-status="ready"])
    .step7-a4-pages { visibility: hidden !important; }
}

/* BEGIN Gate8B G6B: fail-closed guard for Ctrl+P / browser menu printing.
 * beforeprint is non-cancellable: unauthorized print may open a BLANK dialog,
 * but it must never include unoptimized official syllabus pages.
 */
@media print {
  [data-syllabus-print-status]:not([data-syllabus-print-authorized="true"]) .step7-a4-pages {
    visibility: hidden !important;
  }
}
/* END Gate8B G6B */
