.images-pdf-prep{margin:0 0 22px;padding:18px;border:1px solid var(--line,#dce4dd);border-radius:12px;background:#f7faf6;min-width:0;overflow-wrap:anywhere}
.images-pdf-prep .ipdf-prep-toggle{display:flex;align-items:flex-start;gap:10px;font-weight:700;font-size:15px;cursor:pointer}
.images-pdf-prep .ipdf-prep-toggle input{width:19px;height:19px;flex:0 0 19px;margin:3px 0}
.images-pdf-prep .ipdf-prep-note{font-size:12px;color:var(--muted,#52645f);margin:9px 0;line-height:1.6}
.images-pdf-prep .ipdf-prep-pages{display:flex;gap:10px;overflow-x:auto;padding:4px 4px 14px;margin:12px 0 0;list-style:none;max-width:100%}
.images-pdf-prep .ipdf-prep-page{flex:0 0 148px;width:148px;min-width:0}
.images-pdf-prep .ipdf-prep-page-select{display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px;width:100%;height:100%;min-height:160px;text-align:left;font-size:12px;background:#fff}
.images-pdf-prep .ipdf-prep-page-select[aria-pressed=true]{border:2px solid var(--green,#126956);padding:8px;background:#edf6ed}
.images-pdf-prep .ipdf-prep-page-select img{width:80px;height:80px;object-fit:contain;background:#edf1ec;border-radius:3px}
.images-pdf-prep .ipdf-prep-thumb-placeholder{display:grid;place-items:center;width:100%;height:80px;font-size:11px;color:var(--muted,#52645f);font-weight:400}
.images-pdf-prep .ipdf-prep-page-name{width:100%;font-weight:650;overflow-wrap:anywhere}
.images-pdf-prep .ipdf-prep-page-state{width:100%;font-weight:400;font-size:11px;color:var(--green,#126956)}
.images-pdf-prep .ipdf-prep-active{font-size:17px;margin:14px 0 9px;line-height:1.4;overflow-wrap:anywhere}
.images-pdf-prep .ipdf-prep-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.images-pdf-prep .ipdf-prep-actions button,.images-pdf-prep .ipdf-prep-options button{min-height:44px;font-size:13px;padding:9px 12px;max-width:100%;white-space:normal}
.images-pdf-prep .ipdf-prep-current{font-size:13px;margin:12px 0;padding:10px 12px;background:#edf3ec;border-radius:7px}
.images-pdf-prep .ipdf-prep-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;margin-top:12px}
.images-pdf-prep .ipdf-prep-figure{margin:0;min-width:0;border:1px solid var(--line,#dce4dd);border-radius:9px;background:#fff;overflow:hidden}
.images-pdf-prep .ipdf-prep-figure figcaption{font-size:12px;font-weight:650;line-height:1.5;padding:10px 12px;border-bottom:1px solid var(--line,#dce4dd)}
.images-pdf-prep .ipdf-prep-image-frame{padding:25px;background:#eef1ec}
.images-pdf-prep .ipdf-prep-canvas-wrap{position:relative;min-height:1px}
.images-pdf-prep canvas{display:block;width:100%;height:auto;background:#e7ece6;max-width:100%}
.images-pdf-prep canvas[width="0"]{display:none}
.images-pdf-prep .ipdf-prep-quad{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.images-pdf-prep .ipdf-prep-quad polygon{fill:#12695614;stroke:#126956;stroke-width:2;vector-effect:non-scaling-stroke}
.images-pdf-prep .ipdf-prep-corner{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:2px solid var(--green,#126956);border-radius:50%;background:#fff;color:#123d32;font-size:11px;font-weight:800;z-index:1;touch-action:none;user-select:none;box-shadow:0 1px 4px #0002}
.images-pdf-prep .ipdf-prep-corner:focus-visible{outline-offset:1px;z-index:2}
.images-pdf-prep #images-pdf-prep-result-image{display:block;max-width:100%;width:100%;height:auto;object-fit:contain;background:#edf1ec}
.images-pdf-prep .ipdf-prep-coordinates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.images-pdf-prep .ipdf-prep-coordinate-row{display:grid;grid-template-columns:minmax(65px,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;padding:9px;border:1px solid var(--line,#dce4dd);border-radius:7px;background:#fff;min-width:0}
.images-pdf-prep .ipdf-prep-coordinate-row strong{font-size:12px}
.images-pdf-prep .ipdf-prep-coordinate-row label{display:flex;flex-direction:column;font-size:11px;gap:3px;min-width:0}
.images-pdf-prep .ipdf-prep-coordinate-row input,.images-pdf-prep .ipdf-prep-options select{border:1px solid #bacbc1;border-radius:6px;padding:8px;background:#fff;color:#182f2d;width:100%;min-width:0;font-size:13px;min-height:40px}
.images-pdf-prep input[aria-invalid=true]{border-color:#b0242b}
.images-pdf-prep .ipdf-prep-options{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0}
.images-pdf-prep .ipdf-prep-options label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:650;min-width:160px;max-width:100%}
.images-pdf-prep .ipdf-prep-status{font-size:13px;color:var(--green,#126956);min-height:24px;margin:12px 0 0}
.images-pdf-prep .ipdf-prep-status.error{color:#b0242b}
@media(max-width:650px){.images-pdf-prep{padding:12px}.images-pdf-prep .ipdf-prep-comparison{grid-template-columns:1fr}.images-pdf-prep .ipdf-prep-coordinates{grid-template-columns:1fr}.images-pdf-prep .ipdf-prep-page{flex-basis:136px;width:136px}.images-pdf-prep .ipdf-prep-options{align-items:stretch}.images-pdf-prep .ipdf-prep-options label{flex:1 1 160px}}
#images-pdf-demo{margin:24px 0;padding:18px;border:1px solid var(--line,#dce4dd);border-radius:12px;min-width:0;overflow-wrap:anywhere}
#images-pdf-demo>h2{margin-top:0;font-size:21px}#images-pdf-demo p,#images-pdf-demo li{font-size:13px;line-height:1.6}#images-pdf-demo ol{padding-left:22px}#images-pdf-demo li+li{margin-top:7px}
#images-pdf-demo a{text-decoration:underline;text-underline-offset:3px}#images-pdf-demo .ipdf-demo-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:412px;margin:14px 0}
#images-pdf-demo figure{margin:0;min-width:0}#images-pdf-demo figure img{display:block;width:100%;max-width:200px;height:auto;border:1px solid var(--line,#dce4dd);border-radius:6px}#images-pdf-demo figcaption{font-size:12px;line-height:1.6;margin-top:7px}#images-pdf-demo figcaption span{display:block;color:var(--muted,#52645f);font-size:11px}
#images-pdf-demo details{padding:11px 12px;border:1px solid var(--line,#dce4dd);border-radius:8px}#images-pdf-demo summary{cursor:pointer;font-weight:650;font-size:13px}#images-pdf-demo .ipdf-demo-coordinates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#images-pdf-demo .ipdf-demo-coordinates section{padding:10px;min-width:0;background:#f7faf6;border-radius:6px}#images-pdf-demo h3{font-size:15px;margin:0 0 9px}#images-pdf-demo dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;margin:0;font-size:12px}#images-pdf-demo dt,#images-pdf-demo dd{margin:0}#images-pdf-demo .ipdf-demo-note{color:var(--muted,#52645f);font-size:12px}
@media(max-width:650px){#images-pdf-demo{padding:12px}#images-pdf-demo .ipdf-demo-coordinates{grid-template-columns:1fr}}

.ipdf-batch{border:1px solid var(--line,#dce3ef);border-radius:12px;padding:16px;margin:16px 0}.ipdf-batch .ipdf-prep-actions label{display:flex;flex-direction:column;gap:4px;max-width:100%}.ipdf-batch select{max-width:100%}.ipdf-batch-viewer{max-width:100%;overflow-wrap:anywhere}.ipdf-batch-viewer img{display:block;width:auto;height:auto;max-width:100%;margin:12px auto;background:#fff}.ipdf-batch-viewer .ipdf-prep-actions{flex-wrap:wrap}
