@page{size:A4 portrait;margin:12mm 11mm 12mm}
#quotePrintBook{display:none}
@media print{
  html,body{margin:0!important;background:#fff!important;color:#132f3d!important;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body>*:not(main),main>*:not(#quotePrintBook),body main #quote.view,body main .erp3-view,body main .ops-view{display:none!important}
  main{display:block!important;margin:0!important;width:auto!important}
  #quotePrintBook{display:block!important}
  #quotePrintBook article{position:relative;box-sizing:border-box;min-height:0;padding-bottom:0;background:#fff}
  #quotePrintBook .print-cover{break-after:page;page-break-after:always}
  #quotePrintBook .print-system{break-before:page;page-break-before:always}
  #quotePrintBook header{display:flex;align-items:flex-start;justify-content:space-between;padding-bottom:5mm;border-bottom:1.4px solid #173f50}
  #quotePrintBook header small{display:block;font-size:7pt;letter-spacing:.15em;color:#6c818b}
  #quotePrintBook header h1{font-size:24pt;margin:2mm 0 0;letter-spacing:.03em}
  #quotePrintBook header h2{font-size:18pt;margin:2mm 0 1mm}
  #quotePrintBook header p{max-width:125mm;margin:0;font-size:7.5pt;color:#607681}
  #quotePrintBook header>b{font-size:10pt;letter-spacing:.08em}
  .print-project{display:grid;grid-template-columns:2fr 1.2fr 1fr 1fr;border:1px solid #ccd8dd;margin-top:5mm}
  .print-project>div{padding:3mm;border-right:1px solid #d9e2e5}.print-project>div:last-child{border-right:0}.print-project small,.print-project strong{display:block}.print-project small{font-size:6.5pt;color:#6b808a}.print-project strong{margin-top:1.2mm;font-size:9pt}
  .print-cover-title{margin:13mm 0 9mm;padding:8mm 9mm;background:#eef4f6;border-left:4px solid #2e687c}.print-cover-title small{font-size:7pt;letter-spacing:.18em;color:#577581}.print-cover-title h2{font-size:22pt;margin:3mm 0 2mm}.print-cover-title p{font-size:8pt;color:#607681;margin:0}
  .print-summary h3,.print-fees h3{font-size:13pt;margin:0 0 3mm}.print-summary table,.print-detail-table{width:100%;border-collapse:collapse;table-layout:fixed}.print-summary th,.print-summary td{padding:3mm;border-bottom:1px solid #dbe3e6;font-size:9.5pt}.print-summary th{background:#edf2f4;text-align:left;color:#4e6874}.print-summary th:first-child{width:12mm}.print-summary th:last-child,.print-summary td:last-child{text-align:right}
  .print-total-box{width:82mm;margin:7mm 0 0 auto;border:1px solid #becdd3}.print-total-box p{display:flex;justify-content:space-between;margin:0;padding:3mm 4mm;border-bottom:1px solid #dbe3e6;font-size:8pt}.print-total-box p:last-child{align-items:center;border-bottom:0;background:#edf4f6}.print-total-box strong{font-size:16pt;color:#0c3a4c}
  #quotePrintBook footer{position:static;display:flex;justify-content:space-between;margin-top:10mm;padding-top:3mm;border-top:1px solid #d6e0e4;font-size:6.5pt;color:#71858e;break-inside:avoid}
  #quotePrintBook footer p{margin:0}
  .print-system>header>div:last-child{min-width:47mm;padding:4mm;background:#edf4f6;border-left:3px solid #2e687c}.print-system>header>div:last-child small,.print-system>header>div:last-child strong{display:block}.print-system>header>div:last-child strong{font-size:15pt;margin-top:2mm;color:#0b3b4d}
  .print-detail-table{margin-top:5mm;font-size:8.5pt}.print-detail-table thead{display:table-header-group}.print-detail-table tr{break-inside:avoid}.print-detail-table th{padding:2.4mm 1.2mm;background:#eaf0f2;border:1px solid #c8d4d9;text-align:left;color:#405e6a}.print-detail-table td{padding:2.2mm 1.2mm;border:1px solid #dbe3e6;vertical-align:middle;line-height:1.4;overflow-wrap:anywhere}.print-detail-table th:nth-child(1){width:7mm}.print-detail-table th:nth-child(2){width:15mm}.print-detail-table th:nth-child(3){width:28mm}.print-detail-table th:nth-child(4){width:42mm}.print-detail-table th:nth-child(5){width:8mm}.print-detail-table th:nth-child(6){width:10mm}.print-detail-table th:nth-child(7),.print-detail-table th:nth-child(8),.print-detail-table th:nth-child(9){width:18mm}.print-detail-table td:nth-child(n+5){text-align:right;white-space:nowrap}.print-product-image{text-align:center!important}.print-product-image img{display:block;width:13mm;height:13mm;margin:auto;object-fit:contain}
  .print-fees{margin-top:5mm;padding:4mm;border:1px solid #cbd7dc;background:#f8fafb;break-inside:avoid}.print-fees>div{display:grid;grid-template-columns:repeat(3,1fr);gap:2mm}.print-fees span{padding:2.5mm;background:#fff;border:1px solid #dce4e7;font-size:8pt;color:#657b85}.print-fees span b,.print-fees span strong{display:block;margin-top:1.3mm;font-size:10pt;color:#173c4b}.print-fees .system-total{background:#e6f0f3}.print-fees .system-total strong{font-size:12pt}.print-fees>p{margin:3mm 0 0;font-size:7.5pt;line-height:1.5;color:#71848c}
}
