/* Dedicated report: values are taken from the selected on-screen estimate. */
#quotePrintReport{display:none}
@page{size:A4 portrait;margin:14mm 14mm 13mm}
@media print{
 body.has-quote-print>*:not(#quotePrintReport){display:none!important}
 body.has-quote-print #quotePrintReport{display:block!important;font-family:Arial,'Noto Sans CJK KR','Noto Sans KR','Malgun Gothic',sans-serif;font-size:10pt;line-height:1.6;color:#172b3b;overflow-wrap:anywhere;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #quotePrintReport *{box-sizing:border-box}
 #quotePrintReport .qp-page{break-before:page}
 #quotePrintReport .qp-page:first-child{break-before:auto}
 #quotePrintReport .qp-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #243f54;padding-bottom:12px;font-size:8pt;line-height:1.6;text-align:right;color:#5d7181}
 #quotePrintReport .qp-logo{font-size:26pt;font-weight:800;letter-spacing:-1.5px;color:#172b3b;text-align:left;line-height:1.2}
 #quotePrintReport .qp-logo span{font-size:10pt;letter-spacing:0;margin-left:12px}
 #quotePrintReport .qp-title{margin:20px 0 16px}
 #quotePrintReport .qp-title small{font-size:8pt;letter-spacing:2px;color:#557188}
 #quotePrintReport h1{font-size:25pt;letter-spacing:-1px;margin:4px 0;font-weight:700}
 #quotePrintReport .qp-title p{margin:4px 0;color:#617380;font-size:9pt}
 #quotePrintReport h2{font-size:12pt;margin:18px 0 8px;break-after:avoid}
 #quotePrintReport table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:9pt;margin:12px 0;break-inside:auto}
 #quotePrintReport th,#quotePrintReport td{border:1px solid #cbd6df;padding:9px 8px;vertical-align:middle;line-height:1.65;text-align:left;word-break:keep-all;overflow-wrap:anywhere}
 #quotePrintReport th{background:#f0f4f7;font-weight:600}
 #quotePrintReport thead{display:table-header-group}
 #quotePrintReport tr{break-inside:avoid}
 #quotePrintReport .qp-info th{width:14%;font-size:8.5pt}
 #quotePrintReport .qp-info td{width:36%}
 #quotePrintReport .qp-brief{padding:12px 14px;background:#f5f7f9;border-left:3px solid #7294ad;margin:14px 0;font-size:9pt}
 #quotePrintReport .qp-brief p{margin:5px 0 0;line-height:1.7}
 #quotePrintReport .qp-total{background:#203b50;color:white;display:flex;justify-content:space-between;padding:16px 20px;border-radius:5px;font-size:10pt;margin:16px 0}
 #quotePrintReport .qp-total strong{display:block;font-size:23pt;line-height:1.5}
 #quotePrintReport .qp-total small{font-size:11pt;font-weight:400}
 #quotePrintReport .qp-cost th:first-child{width:7%}
 #quotePrintReport .qp-cost th:nth-child(2){width:22%}
 #quotePrintReport .qp-cost th:last-child{width:23%;text-align:right}
 #quotePrintReport .qp-cost td:last-child{font-weight:700;text-align:right;white-space:nowrap}
 #quotePrintReport .qp-cost tfoot th,#quotePrintReport .qp-cost tfoot td{background:#eaf0f5;font-weight:700}
 #quotePrintReport .qp-terms{font-size:8.5pt;color:#4e6475;line-height:1.7}
 #quotePrintReport .qp-terms p{margin:4px 0}
 #quotePrintReport .qp-footer{border-top:1px solid #bdcbd6;margin-top:20px;padding-top:9px;font-size:8pt;color:#697e8d;display:flex;justify-content:space-between;gap:16px;break-inside:avoid}
 #quotePrintReport .qp-schedule-intro{padding:12px 14px;background:#eaf0f5;border-radius:5px;margin:12px 0}
 #quotePrintReport .qp-schedule-intro p{margin:5px 0;font-size:9pt}
 #quotePrintReport .qp-schedule th:first-child{width:26%}
 #quotePrintReport .qp-schedule th:nth-child(2){width:18%}
 #quotePrintReport .qp-schedule td{height:45px}
 #quotePrintReport .qp-scale{display:flex;justify-content:space-between;font-size:8pt;white-space:nowrap}
 #quotePrintReport .qp-gantt-track{height:17px;background:repeating-linear-gradient(90deg,#f0f4f7 0,#f0f4f7 calc(10% - 1px),#cbd6df calc(10% - 1px),#cbd6df 10%);position:relative;width:100%}
 #quotePrintReport .qp-gantt-track span{position:absolute;top:0;height:100%;background:#427497;border:1px solid #2b526f}
 #quotePrintReport .qp-deliverables th:first-child{width:26%}
 #quotePrintReport .qp-deliverables th:nth-child(2){width:26%}
 #quotePrintReport .qp-deliverables small{display:block;font-size:8pt;font-weight:400;color:#617380}
 #quotePrintReport .qp-full-brief{font-size:10pt;line-height:1.9;white-space:normal}
}
/* Compact vertical rhythm keeps a complete eight-task quote on its own A4 sheet. */
@media print{
 #quotePrintReport .qp-header{padding-bottom:8px}
 #quotePrintReport .qp-logo{font-size:23pt}
 #quotePrintReport .qp-title{margin:12px 0 10px}
 #quotePrintReport h1{font-size:23pt;margin:2px 0}
 #quotePrintReport h2{margin:12px 0 6px}
 #quotePrintReport table{font-size:9.5pt;margin:8px 0}
 #quotePrintReport th,#quotePrintReport td{padding:5px 7px;line-height:1.5}
 #quotePrintReport .qp-brief{padding:9px 12px;margin:10px 0}
 #quotePrintReport .qp-total{padding:12px 16px;margin:12px 0}
 #quotePrintReport .qp-total strong{font-size:22pt;line-height:1.4}
 #quotePrintReport .qp-footer{margin-top:12px;padding-top:7px;font-size:7.5pt}
 #quotePrintReport .qp-schedule-intro{padding:9px 12px;margin:10px 0}
 #quotePrintReport .qp-schedule td{height:33px}
}
