/* 只负责打印；屏幕预览的A4内容基础排版在mobile.css。 */
@page{size:A4 portrait;margin:10mm}
@media print{
  html,body{height:auto!important;overflow:visible!important;background:var(--paper)!important}
  body>*{display:none!important}
  body>#print-root{display:block!important}
  #print-root .print-sheet{display:block!important;width:190mm;transform:none!important;margin:0;padding:0;background:var(--paper);color:var(--ink);box-shadow:none}
  .print-sheet table{width:100%;border-collapse:collapse;table-layout:fixed}
  .print-sheet th,.print-sheet td{border:.25mm solid var(--line);padding:1mm;overflow-wrap:anywhere}
  .print-sheet th:first-child{width:42mm}
  .print-sheet tr,.print-sheet li{break-inside:avoid}
  .print-sheet thead{display:table-header-group}
  .print-sheet .print-box{min-width:12mm;min-height:12mm}
  .print-sheet .habit-box{min-width:14mm;min-height:14mm}
  .print-section{break-before:page}
  .print-section:first-child{break-before:auto}
  .two-scenes .print-section{break-before:auto}
  .two-scenes .print-section:nth-child(2n+3){break-before:page}
  .two-scenes .print-box{min-width:8mm;min-height:8mm}
  .print-watermark{position:fixed;top:45%;left:12mm;right:12mm;text-align:center;transform:rotate(-28deg);font-size:28pt;opacity:.22;pointer-events:none}
  .print-sheet{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
