.l5-sheet-block{margin-top:3mm;break-inside:avoid;page-break-inside:avoid}
.l5-sheet-title{display:grid;grid-template-columns:2fr .72fr .72fr .82fr 1.25fr .68fr;align-items:center;border:1px solid #000;border-bottom:0;font-size:8.5pt}
.l5-sheet-title>*{min-height:9mm;padding:2mm;border-right:1px solid #000}
.l5-sheet-title>*:last-child{border-right:0}
.l5-sheet-title b{font-size:10.5pt}
.l5-sheet-title span{font-weight:700}
.l5-cutting-plan{width:100%;max-width:100%;margin-top:5mm;break-before:page;page-break-before:always;font-family:inherit;color:#000}
.l5-cutting-summary{display:grid;grid-template-columns:2fr repeat(3,1fr);border:1px solid #000;border-bottom:0}
.l5-cutting-summary>*{padding:2mm;border-right:1px solid #000;text-align:center;font-size:10.5pt;font-weight:900;color:#000}
.l5-cutting-summary>*:last-child{border-right:0}.l5-cutting-summary b{font-size:12pt;text-align:left}
.l5-cutting-plan table{width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed;font-size:10.5pt;color:#000}
.l5-cutting-plan th,.l5-cutting-plan td{padding:1.2mm .7mm;border:1px solid #000;text-align:center;font-size:10.5pt;font-weight:900;color:#000;line-height:1.2;white-space:normal;overflow-wrap:anywhere;word-break:break-all}
.l5-cutting-plan th:nth-child(1),.l5-cutting-plan td:nth-child(1){width:20%}
.l5-cutting-plan th:nth-child(2),.l5-cutting-plan td:nth-child(2){width:9%}
.l5-cutting-plan th:nth-child(3),.l5-cutting-plan td:nth-child(3){width:19%}
.l5-cutting-plan th:nth-child(4),.l5-cutting-plan td:nth-child(4){width:26%}
.l5-cutting-plan th:nth-child(5),.l5-cutting-plan td:nth-child(5){width:8%}
.l5-cutting-plan th:nth-child(6),.l5-cutting-plan td:nth-child(6){width:12%}
.l5-cutting-plan th:nth-child(7),.l5-cutting-plan td:nth-child(7){width:6%}
.l5-cutting-plan td:nth-child(4){text-align:left;font-weight:900}.l5-cutting-plan p{margin:2mm 0 0;font-size:9pt;color:#000}
.l5-cutting-plan .cutting-warning td{color:#000;font-weight:900}
.l5-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:7.6pt}
.l5-table th,.l5-table td{height:11mm;padding:1.5mm .8mm;border:1px solid #000;text-align:center;word-break:break-all}
.l5-table thead th{font-size:9pt;font-weight:800;line-height:1.25;background:#ececec}
.l5-table thead small{display:block;margin-top:.8mm;font-size:8pt;font-weight:800}
.l5-table tbody td{font-size:8.2pt;font-weight:650}
@media print{
  /* 系统弹窗与独立制作单统一使用同一套车间打印尺寸。明细多时向下排版，不整体缩小。 */
  body.printing-production-sheet #production-sheet{padding:7mm!important}
  body.printing-production-sheet .sheet-header{padding-bottom:5mm}
  body.printing-production-sheet .sheet-meta span{padding:2.2mm 3mm;font-size:10pt}
  body.printing-production-sheet .l5-sheet-block{margin-top:3mm;break-inside:auto;page-break-inside:auto}
  body.printing-production-sheet .l5-sheet-title{font-size:8.5pt}
  body.printing-production-sheet .l5-sheet-title>*{min-height:9mm;padding:2mm}
  body.printing-production-sheet .l5-sheet-title b{font-size:10.5pt}
  body.printing-production-sheet .l5-table th,
  body.printing-production-sheet .l5-table td{height:11mm;padding:1.5mm .8mm;font-size:10.5pt}
  body.printing-production-sheet .l5-table thead th{font-size:10.5pt;background:#ececec!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.printing-production-sheet .l5-table thead small{margin-top:.8mm;font-size:9pt}
  body.printing-production-sheet .l5-table tbody tr:not(:has(td:not(:empty))){display:none}
  body.printing-production-sheet .sheet-note{min-height:18mm;margin-top:3mm;padding:2mm;font-size:9pt}

  /* 算料紧跟制作尺寸；空间不足时由浏览器自然续到下一张，表头不会被截断。 */
  body.printing-production-sheet .l5-cutting-plan{margin-top:2mm;break-before:auto;page-break-before:auto}
  body.printing-production-sheet .l5-cutting-summary{break-inside:avoid;page-break-inside:avoid}
  body.printing-production-sheet .l5-cutting-summary>*{padding:1.5mm .8mm;font-size:10.5pt;font-weight:900;color:#000}
  body.printing-production-sheet .l5-cutting-summary b{font-size:12pt}
  body.printing-production-sheet .l5-cutting-plan table{width:100%;font-size:10.5pt;break-inside:auto;page-break-inside:auto;color:#000}
  body.printing-production-sheet .l5-cutting-plan thead{display:table-header-group}
  body.printing-production-sheet .l5-cutting-plan tr{break-inside:avoid;page-break-inside:avoid}
  body.printing-production-sheet .l5-cutting-plan th,
  body.printing-production-sheet .l5-cutting-plan td{padding:1.2mm .7mm;font-size:10.5pt;font-weight:900;line-height:1.2;color:#000}
  body.printing-production-sheet .l5-cutting-plan p{margin:2mm 0 0;font-size:9pt;color:#000}
}

/* 制作单车间阅读版：产品、尺寸、下料数据统一放大加粗。 */
.l5-sheet-title{font-size:10.5pt!important;font-weight:700!important}
.l5-sheet-title b{font-size:12pt!important;font-weight:900!important}
.l5-table{font-size:10pt!important}
.l5-table thead th{font-size:10.5pt!important;font-weight:900!important}
.l5-table thead small{font-size:9pt!important;font-weight:900!important}
.l5-table tbody td{font-size:10.5pt!important;font-weight:900!important}
@media print{
  body.printing-production-sheet .sheet-meta span{font-size:11pt!important;font-weight:700!important}
  body.printing-production-sheet .l5-sheet-title{font-size:10.5pt!important;font-weight:700!important}
  body.printing-production-sheet .l5-sheet-title b{font-size:12pt!important;font-weight:900!important}
  body.printing-production-sheet .l5-table td{font-size:10.5pt!important;font-weight:900!important}
  body.printing-production-sheet .l5-table thead th{font-size:10.5pt!important;font-weight:900!important}
  body.printing-production-sheet .l5-table thead small{font-size:9pt!important;font-weight:900!important}
}
