/* ลายน้ำตอนสั่งพิมพ์ (Ctrl+P / Save as PDF) — มีผลเฉพาะตอนพิมพ์ หน้าจอปกติไม่เปลี่ยน
   ภาพลายน้ำ (.cj-pwm) ใส่โดย print-watermark.js · position:fixed ทำให้ Chrome/Edge พิมพ์ซ้ำทุกหน้า */
.cj-pwm { display: none; }
@media print {
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  img.cj-pwm {
    display: block !important; position: fixed !important; left: 0 !important; top: 0 !important;
    width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
    object-fit: cover; opacity: 1; z-index: 2147483646; pointer-events: none;
  }
  /* บรรทัดท้ายกระดาษ (อยู่ในขอบกระดาษ ไม่ทับเนื้อหา) — JS จะเติม URL ของหน้าให้ */
  @page {
    @bottom-center {
      content: "ฉันจะเก่ง · chanjakeng.com";
      font: 8pt "Sarabun", Tahoma, "Leelawadee UI", sans-serif; color: #3A2315;
    }
  }
}
