#pdf-open{font-size:14px;font-weight:700;border-color:var(--pink-dark);color:var(--pink-dark);white-space:nowrap;padding:9px 13px}
#pdf-dialog{border:0;border-radius:12px;box-shadow:0 16px 90px #0004;padding:0;width:min(820px,calc(100vw - 32px));max-height:90svh;color:#252525;background:white}
#pdf-dialog::backdrop{background:#0008;backdrop-filter:blur(3px)}.pdf-heading{display:flex;justify-content:space-between;align-items:start;padding:24px 28px 18px;border-bottom:1px solid #e6e6e6;gap:20px}.pdf-heading h2{font-size:27px;margin:0 0 8px;line-height:1.2}.pdf-heading p{font-size:14px;color:#666;margin:0}.pdf-close{border:0;background:none;font-size:26px;line-height:1;padding:3px 6px}.pdf-body{padding:20px 28px;overflow-y:auto;max-height:56svh}.pdf-language{display:flex;align-items:center;gap:14px;font-size:14px}.pdf-language select{font:inherit;border:1px solid #ddd;padding:8px 12px;border-radius:5px}.pdf-actions{display:flex;gap:14px;margin:18px 0}.pdf-actions button{border:0;background:none;padding:0;text-decoration:underline;font-size:13px;color:var(--pink-dark)}.pdf-body fieldset{border:0;padding:0;margin:0 0 24px}.pdf-body legend{font-size:17px;font-weight:700;margin-bottom:12px}.pdf-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pdf-choice{display:flex;align-items:center;gap:12px;border:1px solid #ddd;border-radius:6px;padding:12px 14px;font-size:14px;line-height:1.3;cursor:pointer}.pdf-choice:has(input:checked){border-color:var(--pink-dark);background:#fff7fb}.pdf-choice input{width:18px;height:18px;accent-color:var(--pink-dark);flex:none;margin:0}.pdf-choice small{font-size:11px;color:#777;margin-left:auto}.pdf-note{font-size:12px;color:#666;line-height:1.5;margin:12px 0 0}.pdf-bottom{padding:18px 28px 22px;border-top:1px solid #ddd;display:flex;justify-content:space-between;align-items:center;gap:20px}.pdf-bottom p{font-size:13px;margin:0;line-height:1.4;color:#555}.pdf-bottom button{font-weight:700;white-space:nowrap}.pdf-bottom button:disabled{opacity:.5;cursor:wait}#pdf-status[data-error=true]{color:#a51c42}
@media(max-width:600px){#pdf-open{font-size:12px;padding:8px 10px}.pdf-heading{padding:20px}.pdf-heading h2{font-size:23px}.pdf-body{padding:18px 20px;max-height:52svh}.pdf-options{grid-template-columns:1fr}.pdf-bottom{padding:16px 20px;flex-wrap:wrap;gap:12px}.pdf-bottom button{width:100%}.pdf-language{justify-content:space-between}.pdf-language select{max-width:160px}}
@media print{#pdf-open,#pdf-dialog{display:none!important}}

#pdf-dialog .pdf-private-label-length{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 8px;font-size:15px;font-weight:600}#pdf-dialog .pdf-private-label-length select{max-width:100%;font:inherit;font-weight:400;padding:9px 12px;border:1px solid #e5dfe2;border-radius:6px;background:#fff;color:#252525}
