/* 1.76.485: PDF bewerken en ondertekenen (templates/pdf.php, assets/js/pdf-editor.js) */
.nsl-pdfh__price { margin: 0 0 18px; color: var(--muted); }
.nsl-pdfh__price b { color: #fff; font-size: 1.5rem; margin-right: 4px; }
.nsl-pdfh__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: .95rem; }
.nsl-pdfh__facts b { color: #fff; margin-right: 4px; }
.nsl-pdfh__shot { margin: 0; border: 1px solid var(--line-2); background: var(--bg-2); }
.nsl-pdfh__shot img { display: block; width: 100%; height: auto; }
.nsl-pdfh__shot figcaption { padding: 8px 12px; font-size: .8rem; color: var(--dim); border-top: 1px solid var(--line); }

.nsl-pdfsec { scroll-margin-top: calc(var(--header-h) + 8px); }
.nsl-pdfed { position: relative; border: 1px solid var(--line-2); background: var(--bg-2); }
.nsl-pdfed.is-drag { border-color: var(--pink); }
.nsl-pdfed.is-drag::after { content: "Laat los om te openen"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 15, 16, .86); color: #fff; font: 600 1.3rem var(--f-display); z-index: 20; }
.nsl-pdfed.is-busy { cursor: progress; }
.nsl-pdfdrop { padding: clamp(36px, 7vw, 84px) 20px; text-align: center; border: 2px dashed var(--line-2); margin: 14px; }
.nsl-pdfdrop__in { max-width: 560px; margin: 0 auto; }
.nsl-pdfdrop__ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line-2); color: var(--pink); margin-bottom: 14px; }
.nsl-pdfdrop__ico svg { width: 30px; height: 30px; }
.nsl-pdfdrop .nsl-actions { margin: 22px 0 14px; }
.nsl-pdfback { padding: clamp(36px, 7vw, 72px) 20px; text-align: center; }
.nsl-pdfback .nsl-actions { margin-top: 18px; }

.nsl-pdfbar { position: sticky; top: var(--header-h); z-index: 15; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 10px; background: #141415; border-bottom: 1px solid var(--line-2); }
.nsl-pdfbar__tools, .nsl-pdfbar__style, .nsl-pdfbar__end { display: flex; align-items: center; gap: 2px; }
.nsl-pdfbar__end { margin-left: auto; gap: 6px; }
.nsl-pdfbar__t { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 54px; padding: 6px 4px 5px; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--muted); font: 500 .72rem var(--f-body); cursor: pointer; }
.nsl-pdfbar__t:hover { color: #fff; background: var(--bg-3); }
.nsl-pdfbar__t.is-on { color: #fff; background: var(--bg-3); border-color: var(--pink); }
.nsl-pdfbar__t svg { width: 20px; height: 20px; }
.nsl-pdfbar__t--sm { min-width: 0; padding: 6px 8px 5px; }
.nsl-pdfbar__colors { display: inline-flex; gap: 6px; padding: 0 8px; }
.nsl-pdfbar__c { width: 22px; height: 22px; padding: 0; border: 2px solid var(--bg-2); outline: 1px solid var(--line-2); border-radius: 50%; background: var(--c); cursor: pointer; }
.nsl-pdfbar__c.is-on { outline: 2px solid #fff; }
.nsl-pdfbar__size select { height: 34px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg-3); color: #fff; font: 500 .85rem var(--f-body); }
.nsl-pdfbar__dl { --h: 42px; gap: 8px; }
.nsl-pdfstatus { min-height: 1.5em; margin: 0; padding: 6px 14px; font-size: .88rem; color: var(--muted); }
.nsl-pdfstatus.is-err { color: var(--red); }
.nsl-pdfpages { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 6px 16px 26px; background: #0b0b0c; min-height: 300px; }
.nsl-pdfwork__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.nsl-pdfwork__foot p { margin: 0; }
.nsl-pdfwork__foot .nsl-btn { gap: 6px; }

.nsl-pdfpg { width: max-content; max-width: 100%; }
.nsl-pdfpg__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0 6px; color: var(--dim); font-size: .78rem; }
.nsl-pdfpg__acts { display: inline-flex; gap: 2px; }
.nsl-pdfpg__acts button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--dim); cursor: pointer; }
.nsl-pdfpg__acts button:hover { color: #fff; background: var(--bg-3); }
.nsl-pdfpg__sheet { position: relative; background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
.nsl-pdfpg__cv { position: absolute; inset: 0; display: block; }
.nsl-pdfpg__layer { position: absolute; inset: 0; touch-action: pan-y; }
.nsl-pdfpg__ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nsl-pdfed[data-mode="text"] .nsl-pdfpg__layer, .nsl-pdfed[data-mode="date"] .nsl-pdfpg__layer { cursor: text; }
.nsl-pdfed[data-mode="check"] .nsl-pdfpg__layer, .nsl-pdfed[data-mode="cross"] .nsl-pdfpg__layer, .nsl-pdfed[data-mode="white"] .nsl-pdfpg__layer, .nsl-pdfed[data-mode="place"] .nsl-pdfpg__layer { cursor: crosshair; }
.nsl-pdfed[data-mode="draw"] .nsl-pdfpg__layer { cursor: crosshair; touch-action: none; }
.nsl-pdfed[data-mode="white"] .nsl-pdfpg__layer, .nsl-pdfed[data-mode="place"] .nsl-pdfpg__layer { touch-action: none; }

.nsl-pi { position: absolute; box-sizing: border-box; outline: 1px dashed transparent; cursor: move; user-select: none; }
.nsl-pi:hover { outline-color: rgba(118, 67, 200, .55); }
.nsl-pi.is-sel { outline: 1px dashed #7643c8; }
.nsl-pi img, .nsl-pi svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.nsl-pi--white { background: #fff; }
.nsl-pi--white.is-sel, .nsl-pi--white:hover { outline: 1px dashed #7643c8; }
.nsl-pi--white.is-ghost { outline: 1px dashed #7643c8; background: rgba(255, 255, 255, .85); }
.nsl-pi--text { cursor: text; }
.nsl-pi__txt { min-width: 1ch; padding: 2px; font-family: Arial, Helvetica, "Liberation Sans", sans-serif; line-height: 1.2; white-space: pre; outline: 0; user-select: text; caret-color: #7643c8; }
.nsl-pi__txt:empty::before { content: "Typ hier"; color: rgba(0, 0, 0, .35); }
.nsl-pi__x { position: absolute; top: -11px; right: -11px; display: none; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: #7643c8; color: #fff; font: 700 15px/22px var(--f-body); cursor: pointer; z-index: 2; }
.nsl-pi__rs { position: absolute; right: -6px; bottom: -6px; display: none; width: 12px; height: 12px; background: #fff; border: 2px solid #7643c8; cursor: nwse-resize; }
.nsl-pi__grip { position: absolute; left: -12px; top: 50%; display: none; width: 10px; height: 18px; margin-top: -9px; background: repeating-linear-gradient(0deg, #7643c8 0 2px, transparent 2px 4px); cursor: move; }
.nsl-pi.is-sel .nsl-pi__x, .nsl-pi.is-sel .nsl-pi__rs, .nsl-pi.is-sel .nsl-pi__grip { display: block; }
@media (hover: hover) { .nsl-pi--text:hover .nsl-pi__grip { display: block; } }

.nsl-pdfdlg { width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); overflow: auto; }
.nsl-pdfdlg::backdrop { background: rgba(0, 0, 0, .7); }
.nsl-pdfdlg > *:not(.nsl-pdfdlg__head):not(.nsl-pdfdlg__foot):not(.nsl-pdfdlg__tabs) { margin-left: 20px; margin-right: 20px; }
.nsl-pdfdlg__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.nsl-pdfdlg__head h2 { margin: 0; font-size: 1.15rem; }
.nsl-pdfdlg__x { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.nsl-pdfdlg__x:hover { background: var(--bg-3); color: #fff; }
.nsl-pdfdlg__tabs { display: flex; gap: 0; margin: 14px 20px 12px; border-bottom: 1px solid var(--line); }
.nsl-pdfdlg__tabs button { padding: 8px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 500 .92rem var(--f-body); cursor: pointer; }
.nsl-pdfdlg__tabs button.is-on { color: #fff; border-bottom-color: var(--pink); }
.nsl-pdfdlg__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.nsl-pdfsig__cv { display: block; width: 100%; height: 200px; background: #fff; touch-action: none; cursor: crosshair; }
.nsl-pdfsig__cv--typed { height: auto; aspect-ratio: 1280 / 300; margin-top: 10px; cursor: default; }
.nsl-pdfsig__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.nsl-pdfsig__colors { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.nsl-pdfsig__file { display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.nsl-pdfsig__file input { color: var(--text); }
.nsl-pdfsig__pv { display: block; max-width: 100%; max-height: 140px; margin-top: 10px; background: #fff; padding: 6px; }
.nsl-pdfsig__saved { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px; border: 1px solid var(--line); }
.nsl-pdfsig__saved img { height: 48px; width: auto; background: #fff; padding: 4px; }
.nsl-pdfdlg .nsl-check { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; color: var(--muted); }
.nsl-pdfdlg .nsl-check input { margin-top: 3px; accent-color: #7643c8; }
.nsl-pdfpay__doc { margin-top: 14px; }
.nsl-pdfpay__plans { display: grid; gap: 10px; margin-top: 10px; margin-bottom: 14px; }
.nsl-pdfpay__plan { position: relative; display: block; cursor: pointer; }
.nsl-pdfpay__plan input { position: absolute; opacity: 0; }
.nsl-pdfpay__plan > span { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 6px; }
.nsl-pdfpay__plan input:checked + span { border-color: var(--pink); background: rgba(118, 67, 200, .08); }
.nsl-pdfpay__plan input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.nsl-pdfpay__plan b { color: #fff; }
.nsl-pdfpay__plan em { font-style: normal; color: #fff; text-align: right; }
.nsl-pdfpay__plan em small { color: var(--muted); font-family: var(--f-body); }
.nsl-pdfpay__plan > span > small { grid-column: 1 / -1; color: var(--muted); }
.nsl-pdfpay__msg { min-height: 1.4em; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.nsl-pdfpay__msg.is-err { color: var(--red); }
.nsl-pdfdlg .nsl-field { margin-top: 6px; }

.nsl-pdfsteps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.nsl-pdfsteps li { padding: 22px; border: 1px solid var(--line); background: var(--bg-2); }
.nsl-pdfsteps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--pink); color: #fff; }
.nsl-pdfsteps h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.nsl-pdfsteps p { margin: 0; color: var(--muted); }
.nsl-pdfshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nsl-pdfshots figure { margin: 0; border: 1px solid var(--line); background: var(--bg-2); }
.nsl-pdfshots img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.nsl-pdfshots figcaption { padding: 12px 14px; color: var(--muted); font-size: .93rem; }
.nsl-pdfshots figcaption b { color: #fff; }
.nsl-pdffeat { margin-top: 26px; }
.nsl-pdfplans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 18px; }
.nsl-pdftrust { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.nsl-pdftrust li { padding: 20px 22px; border-left: 2px solid var(--pink); background: var(--bg-2); }
.nsl-pdftrust h3 { margin: 0 0 6px; font-size: 1.1rem; }
.nsl-pdftrust p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
	.nsl-pdfsteps, .nsl-pdfshots, .nsl-pdftrust, .nsl-pdfplans { grid-template-columns: minmax(0, 1fr); }
	.nsl-pdfbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.nsl-pdfbar__end { margin-left: 0; }
	.nsl-pdfbar__t { min-width: 54px; }
	.nsl-pdfpages { padding: 6px 8px 20px; }
}
@media (max-width: 900px) { .nsl-pdfbar__end { position: sticky; right: -10px; padding: 0 10px 0 8px; background: #141415; box-shadow: -12px 0 12px -6px #141415; } .nsl-pdfbar__end .nsl-pdfbar__t--sm span { display: none; } }
