:root{--navy:#173954;--blue:#2d66b5;--line:#b8c3cd;--pale:#eef3f7}*{box-sizing:border-box}body{margin:0;background:#dfe5ea;color:#182c3e;font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.print-toolbar{position:sticky;z-index:10;top:0;display:flex;justify-content:center;gap:8px;padding:12px;background:#173954}.print-toolbar button{height:38px;padding:0 18px;border:1px solid #ffffff60;border-radius:5px;background:#fff;color:var(--navy);font:800 13px/1 inherit;cursor:pointer}.print-toolbar button:first-child{background:#2d66b5;color:#fff;border-color:#2d66b5}
.sheet{width:210mm;min-height:297mm;margin:22px auto;padding:16mm 15mm 13mm;background:#fff;box-shadow:0 8px 28px #26374630}.document-head{display:grid;grid-template-columns:1fr 1.2fr 1fr;align-items:start;padding-bottom:10mm;border-bottom:3px solid var(--navy)}.wordmark{font:900 22px/1 Arial,sans-serif;letter-spacing:.12em}.document-title{text-align:center}.document-title h1{margin:0;font-size:31px;letter-spacing:.4em;text-indent:.4em}.document-title p{margin:5px 0 0;color:#6d7c89;font:700 9px/1 Arial;letter-spacing:.25em}.document-meta dl{margin:0}.document-meta dl div{display:grid;grid-template-columns:64px 1fr;border-bottom:1px solid #dce3e8;font-size:9px}.document-meta dt{padding:5px;color:#6a7884}.document-meta dd{margin:0;padding:5px;text-align:right;font-weight:800}
.recipient{display:grid;grid-template-columns:1fr 1.35fr;gap:10mm;padding:8mm 0}.recipient>div:first-child small{display:block;color:#6d7c89;font-size:9px;font-weight:800}.recipient>div:first-child strong{display:block;margin-top:8px;font-size:18px}.recipient>div:first-child p{margin:8px 0 0;font-size:10px}.supplier{display:grid;grid-template-columns:45px 1fr;border:1px solid var(--line)}.supplier>span{display:grid;place-items:center;background:var(--navy);color:#fff;font-size:10px;font-weight:900;writing-mode:vertical-rl;letter-spacing:.18em}.supplier dl{margin:0}.supplier dl div{display:grid;grid-template-columns:64px 1fr 48px .65fr;border-bottom:1px solid var(--line);font-size:8.5px}.supplier dl div:last-child{border-bottom:0}.supplier dt{padding:6px;background:var(--pale);font-weight:800}.supplier dd{margin:0;padding:6px}.supplier .wide{grid-column:2/5}
.total-banner{display:grid;grid-template-columns:130px 1fr 115px;align-items:center;min-height:17mm;padding:0 7mm;background:var(--navy);color:#fff}.total-banner span{font-size:11px;font-weight:900}.total-banner span small{display:block;margin-top:4px;color:#b9ccdc;font-size:7px}.total-banner strong{text-align:center;font-size:12px}.total-banner b{text-align:right;font-size:19px}
.quote-table{width:100%;margin-top:7mm;border-collapse:collapse;table-layout:fixed;font-size:9px}.quote-table th,.quote-table td{border:1px solid var(--line);padding:6px;text-align:center}.quote-table thead th{height:9mm;background:var(--pale);font-weight:900}.quote-table thead th:nth-child(1){width:8%}.quote-table thead th:nth-child(2){width:42%}.quote-table thead th:nth-child(3){width:9%}.quote-table thead th:nth-child(4){width:13%}.quote-table thead th:nth-child(5){width:16%}.quote-table thead th:nth-child(6){width:12%}.quote-table tbody td:nth-child(2){text-align:left}.quote-table tbody td:nth-child(4),.quote-table tbody td:nth-child(5){text-align:right}.quote-table td strong,.quote-table td small{display:block}.quote-table td small{margin-top:4px;color:#6c7985;font-size:7.5px}.quote-table tbody tr{height:12mm}.quote-table tbody tr.blank{height:9mm}.quote-table tfoot th{text-align:right;background:#f8fafb}.quote-table tfoot td{text-align:right;font-weight:800}.quote-table tfoot .grand th,.quote-table tfoot .grand td{background:var(--navy);color:#fff;font-size:11px}
.details{display:grid;grid-template-columns:1fr 1fr;gap:5mm;margin-top:7mm}.details>div{min-height:24mm;padding:5mm;border:1px solid var(--line)}.details h2,.notice h2{margin:0 0 9px;font-size:10px}.details p{margin:5px 0;font-size:8.5px}.notice{margin-top:5mm;padding:5mm;background:var(--pale)}.notice ol{margin:0;padding-left:16px}.notice li{margin:4px 0;font-size:8px;line-height:1.45}.sheet footer{display:flex;justify-content:space-between;align-items:flex-end;margin-top:9mm;padding-top:5mm;border-top:1px solid var(--navy)}.sheet footer div strong,.sheet footer div span{display:block}.sheet footer div strong{font:900 15px/1 Arial;letter-spacing:.13em}.sheet footer div span{margin-top:5px;color:#6d7c89;font:700 6px/1 Arial;letter-spacing:.12em}.sheet footer p{margin:0;color:#6d7c89;font-size:7px}
@page{size:A4;margin:0}@media print{body{background:#fff}.print-toolbar,.print-help{display:none!important}.sheet{width:210mm;min-height:297mm;margin:0;padding:16mm 15mm 13mm;box-shadow:none;zoom:1!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
@media(max-width:850px){
  html,body{max-width:100%;overflow-x:hidden}
  .print-toolbar{position:sticky;top:0;width:100%;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8px;padding:10px max(10px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left));box-sizing:border-box}
  .print-toolbar button{width:100%;min-width:0;height:48px;min-height:48px;padding:0 8px;font-size:14px;white-space:nowrap}
  .print-help{width:100%;margin:0;padding:10px 14px;background:#fff;color:#465b6c;font-size:13px;text-align:center;box-sizing:border-box}
  .sheet{transform-origin:top left;margin:0;box-shadow:none}
}
/* A readable document: one specification listing, quiet supplier information. */
.sheet{color:#202a32;line-height:1.55;padding:12mm;overflow-wrap:anywhere}
.document-head{padding-bottom:6mm;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 24px;border-bottom:2px solid #39444d}
.document-head .wordmark{grid-column:1;grid-row:1;font-size:16px}
.document-head .document-title{grid-column:1;grid-row:2;text-align:left;justify-self:start;width:max-content}
.document-head .document-title h1{letter-spacing:0;text-indent:0;display:flex;gap:.4em;line-height:1.2}
.document-head .document-title p{display:flex;justify-content:space-between;letter-spacing:0;text-align:left;width:100%;padding:0}
.document-head .document-meta{grid-column:2;grid-row:1/3;align-self:start}
.document-meta dl div{font-size:12px;grid-template-columns:65px 1fr}
.document-meta dt,.document-meta dd{padding:4px}
.document-title h1{font-size:30px}
.recipient{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:6mm 0;align-items:center}
.recipient>div:first-child small,.recipient>div:first-child p{font-size:12px}
.recipient>div:first-child strong{font-size:19px}
.supplier{display:block;width:100%;max-width:100%;border:0;align-self:center;justify-self:end;background:#fff}
.supplier>span{display:block;writing-mode:horizontal-tb;letter-spacing:0;background:none;color:#46535e;font-size:13px;padding:0 0 4px;font-weight:600;border:0;line-height:1.3;text-align:right}
.supplier dl{border:1px solid #c5cdd3}
.supplier dl div{font-size:12px;grid-template-columns:70px minmax(0,1fr) 44px minmax(0,1fr);min-height:28px;border-bottom:1px solid #d5dce1;align-items:stretch}
.supplier dt{display:flex;align-items:center;background:#f7f8f9;color:#46535e;padding:4px;font-weight:500;border-right:1px solid #e0e5e9}
.supplier dd{display:flex;align-items:center;margin:0;padding:4px;line-height:1.5;overflow-wrap:anywhere;color:#303d47}
.supplier dd+dt{border-left:1px solid #d5dce1}
.supplier dt,.supplier dd{padding-left:4px;padding-right:4px}
.supplier dt,.supplier dl div:nth-child(2) dd{white-space:nowrap;overflow-wrap:normal}
.total-banner{grid-template-columns:1fr auto;gap:12px;padding:12px 16px;min-height:0;background:#f0f3f5;color:#24313b;border-top:1px solid #ccd4da;border-bottom:1px solid #ccd4da}
.total-banner>span{display:none}.total-banner strong{text-align:left;font-size:15px}.total-banner .total-tax-note{font-size:12px;font-weight:400;white-space:nowrap;margin-left:4px}.total-banner b{font-size:18px}
.quote-table{font-size:15px;margin-top:6mm;line-height:1.6}
.quote-table th,.quote-table td{padding:10px 7px}
.quote-table thead th{font-size:14px;white-space:normal}
.quote-table thead th:nth-child(1){width:6%}.quote-table thead th:nth-child(2){width:43%}.quote-table thead th:nth-child(3){width:9%}.quote-table thead th:nth-child(4){width:20%}.quote-table thead th:nth-child(5){width:22%}
.quote-table td strong{font-size:16px;font-weight:700}.quote-table td small{font-size:14px;color:#52616c;white-space:pre-line;margin-top:4px}
.quote-table tbody tr{height:auto}.quote-table td:nth-child(3),.quote-table td:nth-child(4),.quote-table td:nth-child(5){font-variant-numeric:tabular-nums}
.quote-table tfoot th,.quote-table tfoot td{background:#f8fafb}
.quote-table tfoot .grand th,.quote-table tfoot .grand td{font-size:16px;background:#edf1f4;color:#24313b}
.details{display:block;margin-top:6mm}.details>div{min-height:0;padding:12px 0;border:0;border-bottom:1px solid #ccd4da}.details>div[hidden]{display:none}
.details h2,.notice h2{font-size:15px;margin-bottom:6px}.details p{font-size:15px;line-height:1.7;white-space:pre-line;margin:5px 0}
.notice{padding:12px 14px;margin-top:5mm;background:#f6f7f8}.notice li{font-size:13px;line-height:1.7}
.sheet footer{margin-top:6mm;padding-top:4mm}.sheet footer p{font-size:10px}.sheet footer div span{font-size:8px}
.standalone-document .details>div{border-bottom:0;padding:8px 0}
.standalone-document .details>div+div{padding-top:10px}
.standalone-document .notice[hidden]{display:none}
@page{size:A4;margin:12mm}
@media print{
  html,body{width:auto;min-height:0;overflow:visible}
  .sheet{width:auto;min-height:0;margin:0;padding:0;overflow:visible}
  .document-head,.recipient,.total-banner,.quote-table tr,.quote-table tfoot,.details>div,.notice,.sheet footer{break-inside:avoid;page-break-inside:avoid}
  .quote-table{margin-top:6mm}
  .quote-table thead{display:table-header-group}
  .quote-table tfoot{display:table-row-group}
}
/* One document layout for desktop, scaled mobile preview and PDF. */
html body .sheet,html body .sheet *{font-weight:400!important}
html body .sheet .document-head{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:center;gap:16px;padding-bottom:7mm;border-bottom:1px solid #59656e}
html body .sheet .document-head>.document-title{grid-column:1;grid-row:1;justify-self:start;align-self:center;text-align:left;width:max-content}
html body .sheet .document-title h1{font-size:28px;line-height:1.3;margin:0;color:#26333c;justify-content:flex-start}
html body .sheet .document-title p{font-size:9px;margin-top:7px;color:#7b858c}
html body .sheet .document-head>.document-meta{grid-column:2;grid-row:1;align-self:center;justify-self:stretch}
html body .sheet .document-meta dl{display:block}
html body .sheet .document-meta dl div{display:grid;grid-template-columns:64px minmax(0,1fr);font-size:10px;line-height:1.4}
html body .sheet .document-meta dd{text-align:right;white-space:nowrap}
html body .sheet .document-meta dt,html body .sheet .document-meta dd{padding:5px 0}
html body .sheet footer .document-footer-logo{display:block;width:120px;height:auto}
@media print{html body .sheet .document-head{grid-template-columns:minmax(0,1fr) 52mm;gap:4mm}}
