#pfPrintPDF{width:min(1240px,96vw);max-width:96vw;height:min(850px,94dvh);max-height:94dvh;padding:0;border:1px solid #719899;border-radius:14px;background:#f5f8f8;color:#163c45;font:14px/1.45 system-ui;box-sizing:border-box}
#pfPrintPDF::backdrop{background:#071c28b8}
#pfPrintPDF *{box-sizing:border-box}
#pfPrintPDF .pdf-shell{display:flex;flex-direction:column;height:100%;min-height:0}
#pfPrintPDF header,#pfPrintPDF footer{padding:14px 20px;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#e7f0ef;flex-shrink:0}
#pfPrintPDF h2{margin:0;font-size:21px}#pfPrintPDF h3{margin:0 0 8px;font-size:15px}
#pfPrintPDF p{margin:5px 0 12px}#pfPrintPDF button,#pfPrintPDF input,#pfPrintPDF select{font:inherit;color:#163c45;background:white;border:1px solid #9cb7ba;border-radius:6px;padding:8px;min-width:0;max-width:100%}
#pfPrintPDF button{cursor:pointer}#pfPrintPDF button:disabled{opacity:.45;cursor:default}#pfPrintPDF button:focus-visible,#pfPrintPDF input:focus-visible,#pfPrintPDF select:focus-visible{outline:3px solid #009bac;outline-offset:1px}
#pfPrintPDF button.primary{background:#087d86;color:white;border-color:#087d86}#pfPrintPDF label{display:block;margin:6px 0}#pfPrintPDF label>input:not([type=checkbox]),#pfPrintPDF label>select{display:block;width:100%}
#pfPrintPDF .pdf-body{display:grid;grid-template-columns:270px 1fr 300px;min-height:0;flex:1;overflow:hidden}#pfPrintPDF .pdf-column{padding:16px;overflow:auto;min-width:0;border-right:1px solid #d2dfdf}
#pfPrintPDF .pdf-target{display:grid;grid-template-columns:1fr 65px;gap:5px;margin:8px 0;padding:7px;border:2px solid transparent;border-radius:8px;background:#e9efef}#pfPrintPDF .pdf-target.active{border-color:#008895}#pfPrintPDF .pdf-target button{text-align:left;font-weight:600}#pfPrintPDF .pdf-target label{margin:0;font-size:11px}#pfPrintPDF .pdf-target input{width:100%;padding:7px}
#pfPrintPDF .pdf-pages{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}#pfPrintPDF .pdf-pages button{padding:4px;font-size:11px}#pfPrintPDF .pdf-pages canvas{width:100%;height:80px;object-fit:contain;display:block;background:#e6ebeb}#pfPrintPDF .pdf-pages button[aria-pressed=true]{border:2px solid #008895}
#pfPrintPDF .pdf-preview{height:260px;display:flex;align-items:center;justify-content:center;background:#dce5e5;border-radius:8px;margin:10px 0}#pfPrintPDF .pdf-preview canvas{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 2px 6px #0003}#pfPrintPDF .pdf-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}#pfPrintPDF .pdf-pager{display:flex;justify-content:space-between;align-items:center;margin:8px 0}#pfPrintPDF #pfPDFStatus{min-height:24px;flex:1}#pfPrintPDF .pdf-warning{color:#79520a}#pfPrintPDF .pdf-error{color:#a12525}
@media(max-width:950px){#pfPrintPDF .pdf-body{grid-template-columns:220px 1fr}#pfPrintPDF .pdf-settings{grid-column:1/-1;border-top:1px solid #bacdcd}#pfPrintPDF .pdf-body{overflow:auto}#pfPrintPDF .pdf-column{overflow:visible}#pfPrintPDF .pdf-preview{height:220px}}
@media(max-width:600px){#pfPrintPDF .pdf-body{display:block}#pfPrintPDF header,#pfPrintPDF footer{padding:10px;flex-wrap:wrap}#pfPrintPDF .pdf-pages{grid-template-columns:repeat(4,1fr)}}
html[data-theme] #pfPrintPDF{background:var(--app-panel)!important;color:var(--app-text)!important}
html[data-theme] #pfPrintPDF header,html[data-theme] #pfPrintPDF footer,html[data-theme] #pfPrintPDF .pdf-target{background:var(--app-card)!important;color:var(--app-text)!important}
html[data-theme] #pfPrintPDF :is(h2,h3,label,p,small,span){color:var(--app-text)!important}
html[data-theme] #pfPrintPDF .pdf-column{border-color:var(--app-border)}
html[data-theme] #pfPrintPDF .pdf-preview{background:var(--app-bg)}
html[data-theme] #pfPrintPDF button.primary{background:#087d86!important;color:white!important}
html[data-theme] #pfPrintPDF .pdf-warning{color:var(--app-accent)!important}
html[data-theme=dark] #pfPrintPDF .pdf-error{color:#ffafb4!important}
html[data-theme=light] #pfPrintPDF .pdf-error{color:#a12525!important}
