/* VARIBOX complete-guide PDF export. Identical screen/print typography. */
:root{--ink:#12354b;--blue:#0075b9;--muted:#526e80;--line:#dce7ed;--wash:#f2f7fa}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:#e8eef2;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:10.5pt;line-height:1.36}
.pdf-toolbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border-bottom:1px solid #cad7e1;padding:14px 24px;box-shadow:0 2px 10px #173a5010}
.pdf-toolbar strong{font-size:19px;color:var(--blue)}.pdf-toolbar strong span{font-size:15px;color:var(--ink);font-weight:400;margin-left:12px}.pdf-toolbar p{margin:4px 0 0;color:var(--muted);font-size:13px}
.pdf-toolbar button{border:0;border-radius:5px;background:var(--blue);color:#fff;font:700 15px Arial,sans-serif;padding:13px 21px;min-height:44px;cursor:pointer;white-space:nowrap}.pdf-toolbar button:disabled{background:#7e939f;cursor:wait}.pdf-toolbar button:focus-visible{outline:3px solid #f8ad31;outline-offset:3px}
.pdf-help{max-width:1000px;padding:15px 24px;margin:0 auto;color:#385568;font-size:13px}#pdf-error,.pdf-error{background:#fff3e7;border:2px solid #b55b12;color:#6d3300;margin:20px;padding:20px;white-space:pre-wrap}
#pdf-pages{padding:16px 0 32px;overflow:auto}.pdf-page{--paper-width:210mm;--paper-height:297mm;position:relative;width:var(--paper-width);height:var(--paper-height);background:white;margin:0 auto 18px;box-shadow:0 4px 20px #15354b20;break-after:page;page:portrait}
.pdf-page.landscape{--paper-width:297mm;--paper-height:210mm;page:landscape}
.pdf-page:before{content:"";position:absolute;top:0;left:0;right:0;height:1.5mm;background:var(--blue)}
.pdf-page-header{position:absolute;left:18mm;right:18mm;top:12mm;height:13mm;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:.25mm solid var(--line);gap:16px;padding-bottom:3mm}
.pdf-wordmark{font-size:25px;letter-spacing:-1px;color:var(--blue);font-weight:400;line-height:1.1;white-space:nowrap}.pdf-wordmark b{font-weight:700}.pdf-wordmark sup{font-size:8px;vertical-align:top;position:relative;top:3px;letter-spacing:0}.pdf-logo{max-height:9mm;max-width:43mm;object-fit:contain;object-position:left top}
.pdf-running-title{font-size:7.6pt;letter-spacing:.02em;color:var(--muted);max-width:65%;text-align:right;line-height:1.25;padding-top:1mm}
.pdf-page-body{position:absolute;left:18mm;right:18mm;top:30mm;bottom:19mm;display:flow-root;overflow:visible}
.pdf-page-footer{position:absolute;left:18mm;right:18mm;bottom:7mm;height:7mm;border-top:.25mm solid var(--line);padding-top:3mm;display:flex;justify-content:space-between;gap:4mm;color:var(--muted);font-size:7pt;line-height:1.15}.pdf-page-number{font-weight:700;color:var(--blue);white-space:nowrap}.pdf-footer-meta{max-width:85%}
.pdf-page h1,.pdf-page h2,.pdf-page h3,.pdf-page h4{color:var(--ink);line-height:1.16;letter-spacing:-.02em;break-after:avoid}
.pdf-page h1{font-size:28pt;margin:2mm 0 7mm}.pdf-page h2{font-size:20pt;margin:0 0 7mm}.pdf-page h3{font-size:13pt;margin:6mm 0 3mm}.pdf-page h4{font-size:11.5pt;margin:4mm 0 2.5mm}.pdf-kicker{font-size:8pt;font-weight:700;color:var(--blue);letter-spacing:.1em;text-transform:uppercase;margin:0 0 3mm}
.pdf-page p{margin:0 0 3mm}.pdf-page ul,.pdf-page ol{margin:0 0 3.2mm;padding-left:5mm}.pdf-page li{padding-left:1mm;margin:0 0 1.6mm}.pdf-page li:last-child{margin-bottom:0}.pdf-page li p{margin-bottom:2mm}.pdf-page a{color:#006697;text-decoration:none;overflow-wrap:anywhere}.pdf-page strong{font-weight:700}.pdf-page .pdf-paragraph-continuation{margin-top:0}
.pdf-page figure{margin:4mm 0 5mm;text-align:center;break-inside:avoid}.pdf-page figure img{display:block;max-width:100%;max-height:145mm;object-fit:contain;margin:0 auto;height:auto;width:auto}.pdf-page figcaption{font-size:8pt;color:var(--muted);text-align:left;margin-top:2.3mm;line-height:1.35}
.pdf-page .vbg-linked-block{display:flex;gap:6mm;align-items:flex-start;margin:0 0 5mm}.pdf-page .vbg-linked-text{flex:1;min-width:0}.pdf-page .vbg-linked-art{width:36%;flex:0 0 36%}.pdf-page .vbg-linked-art figure{margin:0 0 3mm}.pdf-page .vbg-linked-art img{max-height:58mm;width:100%;object-fit:contain}.pdf-page .vbg-linked-art figcaption{font-size:7.5pt}
.pdf-page .vbg-warning,.pdf-page .vbg-note{background:#fff4e6;border-left:1mm solid #e29b29;padding:3.5mm 4.5mm;margin:3.5mm 0 4mm;color:#4c3b22}.pdf-page .vbg-warning p:last-child,.pdf-page .vbg-note p:last-child{margin-bottom:0}.pdf-page .vbg-note{background:#eef5f9;border-color:var(--blue);color:var(--ink)}
.pdf-page .vbg-tool-grid,.pdf-page .vbg-tools-grid{display:flex;flex-wrap:wrap;gap:5mm}.pdf-page .vbg-tool-item{flex:1;min-width:30%;}.pdf-page img{max-width:100%}.pdf-page pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:9pt}.pdf-page blockquote{border-left:.6mm solid var(--line);margin:4mm 0;padding-left:5mm}
.pdf-page table{width:100%;border-collapse:collapse;table-layout:fixed;margin:3mm 0 4mm;font-size:9pt;line-height:1.3;overflow-wrap:anywhere}.pdf-page th,.pdf-page td{padding:2mm 2.7mm;text-align:left;vertical-align:middle;border-bottom:.25mm solid #dce7ed;font-weight:400}.pdf-page thead th,.pdf-page thead td{background:var(--ink);color:white;font-weight:700;font-size:8.5pt;border-bottom:0;padding-top:3mm;padding-bottom:3mm}.pdf-page tbody tr:nth-child(even){background:var(--wash)}.pdf-page tr{break-inside:avoid}.pdf-page table col:nth-child(1){width:35%}.pdf-page .pdf-chemical-table col:nth-child(1){width:26%}.pdf-page .pdf-chemical-table col:nth-child(2){width:18%}.pdf-page .pdf-chemical-table col:nth-child(3){width:21%}.pdf-page .pdf-chemical-table col:nth-child(4){width:15%}.pdf-page .pdf-chemical-table col:nth-child(5){width:10%}.pdf-page .pdf-chemical-table col:nth-child(6){width:10%}.pdf-page .pdf-chemical-table td:nth-child(n+5){text-align:center}.pdf-page .pdf-chemical-table th:nth-child(n+5){text-align:center}.pdf-page .pdf-chemical-table td strong{font-weight:400}
.pdf-page .vbg-page-repeat{display:none}.pdf-cover .pdf-page-body{display:flex;flex-direction:column}.pdf-cover-label{font-size:9pt;letter-spacing:.12em;color:var(--blue);font-weight:700;margin:3mm 0 6mm}.pdf-cover-art{height:128mm;min-height:100mm;background:#f4f8fa;border-radius:4mm;border-left:1.2mm solid var(--blue);display:flex;align-items:center;justify-content:center;padding:8mm 12mm;margin-bottom:7mm}.pdf-cover-art img{height:100%;max-width:100%;object-fit:contain}.pdf-cover h1{font-size:34pt;letter-spacing:-.04em;margin:0 0 1.5mm}.pdf-cover-subtitle{font-size:14pt;color:var(--blue);margin:0 0 7mm}.pdf-cover-meta{display:grid;grid-template-columns:1fr 1fr;gap:5mm;border-top:.25mm solid var(--line);padding-top:5mm;margin-top:auto;font-size:9pt}.pdf-cover-meta small{display:block;text-transform:uppercase;letter-spacing:.05em;font-size:7pt;color:var(--muted);margin-bottom:1mm}.pdf-cover-note{font-size:8pt;color:var(--muted);margin-top:5mm}
.pdf-toc-row{display:grid;grid-template-columns:9mm 1fr 12mm;gap:3mm;align-items:center;min-height:7.1mm;padding:1.8mm 0;border-bottom:.2mm solid var(--line);font-size:10pt}.pdf-toc-row .pdf-toc-section{color:var(--blue);font-size:8pt;font-weight:700}.pdf-toc-row .pdf-toc-number{text-align:right;color:var(--ink);font-weight:700}.pdf-toc-note{font-size:9pt;line-height:1.5;color:var(--muted);padding:4mm 0 0}.pdf-chapter-continuation{font-size:8pt;color:var(--muted);margin-bottom:4mm}
#pdf-source{position:absolute;left:-100000px;top:0;width:174mm;visibility:hidden;pointer-events:none}.pdf-measure{position:absolute;left:-100000px;top:0;visibility:hidden;pointer-events:none}
@page portrait{size:A4 portrait;margin:0}@page landscape{size:A4 landscape;margin:0}
@media print{html,body{background:white!important;margin:0!important;padding:0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.pdf-toolbar,.pdf-help,#pdf-error,#pdf-source,.pdf-measure,noscript{display:none!important}#pdf-pages{padding:0!important;margin:0!important;overflow:visible}.pdf-page{margin:0!important;box-shadow:none!important;break-after:page;break-inside:avoid}.pdf-page:last-child{break-after:auto}body:not(.pdf-ready) #pdf-pages{display:none}body:not(.pdf-ready):after{content:'The complete guide has not finished preparing. Close this dialog and try again when the export is ready.';display:block;padding:25mm;font-size:14pt}}
@media screen and (max-width:650px){.pdf-toolbar{padding:12px;gap:8px}.pdf-toolbar strong{font-size:16px}.pdf-toolbar strong span{display:block;margin-left:0;font-size:12px}.pdf-toolbar button{font-size:13px;padding:12px}.pdf-help{padding:10px 12px}.pdf-page{margin-left:12px;margin-right:12px}}

/* Compact procedures preserve native list numbering; technical drawings stay readable. */
.pdf-page .pdf-step-grid{display:flex;gap:6mm;align-items:flex-start}
.pdf-page .vbg-procedure>li{margin-bottom:5mm;padding-left:1mm}
.pdf-page .vbg-procedure>li::marker{font-weight:700;color:var(--blue)}
.pdf-page .pdf-step-grid .vbg-linked-art{width:34%;flex-basis:34%}
.pdf-page .pdf-step-grid .vbg-linked-art img{max-height:49mm}
.pdf-page .vbg-tool-grid,.pdf-page .vbg-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5mm;margin:4mm 0 6mm}
.pdf-page .vbg-tool-item{min-width:0;font-size:9pt}
.pdf-page .vbg-tool-item figure{margin:0 0 2mm}
.pdf-page .vbg-tool-item figure img{width:100%;height:28mm;object-fit:contain}
.pdf-page .vbg-tool-item figcaption{font-size:7.5pt}
.pdf-page[data-pdf-chapter="support"] .vbg-linked-art img{max-height:36mm}
.pdf-page[data-pdf-chapter="components"] .vbg-layout-wide{display:flex;flex-direction:column;gap:4mm}
.pdf-page[data-pdf-chapter="components"] .vbg-layout-wide .vbg-linked-art{order:-1;width:100%;flex:auto}
.pdf-page[data-pdf-chapter="components"] .vbg-layout-wide .vbg-linked-art img{width:100%;max-height:116mm}
.pdf-page[data-pdf-chapter="components"] .vbg-layout-wide .vbg-linked-text{width:100%}
.pdf-page[data-pdf-chapter="components"] .vbg-layout-wide .vbg-linked-text ul{columns:2;column-gap:8mm;font-size:9.5pt}
.pdf-page[data-pdf-chapter="components"] .vbg-layout-wide .vbg-linked-text li{break-inside:avoid}

.pdf-page[data-pdf-chapter="support"] .vbg-linked-block{flex-direction:column;gap:3mm}
.pdf-page[data-pdf-chapter="support"] .vbg-linked-art{display:flex;gap:6mm;width:100%;flex:auto}
.pdf-page[data-pdf-chapter="support"] .vbg-linked-art figure{flex:1;min-width:0}
.pdf-page[data-pdf-chapter="support"] .vbg-linked-art img{height:30mm;max-height:30mm}
