.pdf-extra-controls{margin-block:18px 22px;padding-block-start:18px;border-block-start:1px solid var(--line,#b8b0bd)}
.pdf-extra-controls .field{margin-block:0 15px;min-width:0}
.pdf-extra-controls input:not([type=file]),.pdf-extra-controls textarea,.pdf-extra-controls select{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid #ada4b4;border-radius:0;background:#fcf9f0;color:#25283a;font:inherit;box-shadow:inset 1px 1px 0 #fff}
.pdf-extra-controls textarea{resize:vertical;line-height:1.45}
.pdf-extra-controls textarea:focus-visible{outline:3px solid #386b5c;outline-offset:3px}
.pdf-extra-controls input[type=color]{padding:5px;cursor:pointer}
.pdf-extra-controls .field-label{display:block;margin-block-end:7px;font-size:13px;font-weight:600}
.pdf-extra-controls select,.pdf-extra-controls input[type=number]{text-align:start}
.extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.pdf-extra-controls .choose-button{min-height:44px}
.signature-canvas{display:block;width:100%;height:auto;max-width:600px;margin-block:8px 12px;background:#fff;border:1px dashed #a69cac;touch-action:none;cursor:crosshair}
.signature-canvas.signature-disabled{opacity:.5;cursor:wait}
.pdf-extra-controls .selection-actions{flex-wrap:wrap;margin-block-end:16px;gap:12px}
.pdf-extra-preview{border:2px solid #665e72;background:#fcf9f0;box-shadow:3px 3px 0 #b5aeba;margin-block:0 22px;min-width:0}
.pdf-extra-preview>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-block-end:2px solid #665e72;background:#d4cfc5}
.pdf-extra-preview h3{margin:0;font-size:16px;line-height:1.4}
.pdf-extra-preview{scroll-margin-block-start:16px}
#pdf-dropzone:has(.pdf-extra-preview:not([hidden])) #pdf-pages.single-image .image-preview{display:none}
.pdf-extra-preview-body{padding:16px;min-width:0}
.extra-result-image{display:block;max-width:100%;max-height:650px;width:auto;height:auto;margin-inline:auto;border:1px solid #d5cfd6;object-fit:contain;background:white}
.compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.compare-grid figure{min-width:0;margin:0}
.compare-grid figcaption{font-size:12px;font-weight:600;overflow-wrap:anywhere;margin-block-end:8px}
.compare-grid img{display:block;width:100%;height:auto;border:1px solid #d5cfd6;background:white}
.compare-navigation{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-block:16px}
.compare-navigation span{font-variant-numeric:tabular-nums}
.compression-summary{margin-block:16px;padding:14px;border:1px solid #b8b0bd;background:#f3efe5;min-width:0}
.compression-summary h3{font-size:13px;font-weight:650;margin:0 0 12px}
.compression-sizes{margin:0;display:grid;gap:8px}
.compression-sizes>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.compression-sizes dt{font-size:12px;color:#716a7e;overflow-wrap:anywhere}
.compression-sizes dd{margin:0;font-size:15px;color:#25283a;font-weight:650;flex-shrink:0}
.compression-change{font-size:13px;font-weight:650;margin:12px 0 0;line-height:1.55;overflow-wrap:anywhere}
.compression-change.is-smaller{color:#32634f}.compression-change.is-larger{color:#80582f}
.compression-caption{font-size:12px;line-height:1.65;color:#716a7e;margin:10px 0 0;overflow-wrap:anywhere}
.compression-summary .text-button{padding-inline:0;margin-block-start:8px}
@media(max-width:600px){.compare-grid{grid-template-columns:1fr}.pdf-extra-preview-body{padding:12px}.pdf-extra-preview>header{padding:10px 12px}.pdf-extra-preview>header .text-button{font-size:12px}}
.pdf-crop-editor{border:2px solid #665e72;background:var(--panel);margin-bottom:18px;padding:14px;min-width:0}
.crop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.crop-toolbar select{max-width:65%;min-height:40px}.pdf-crop-editor .field-note{margin:10px 0 14px;font-size:12px;line-height:1.6}
.crop-stage{position:relative;max-width:100%;margin:0 auto;overflow:hidden;touch-action:none;cursor:crosshair;background:#fff;direction:ltr;user-select:none}
.crop-stage canvas{display:block;width:100%;height:100%;pointer-events:none}.crop-selection{position:absolute;border:2px solid #386b5c;box-shadow:0 0 0 1500px #24223866;cursor:move;touch-action:none;box-sizing:border-box}.crop-selection:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.crop-handle{position:absolute;width:16px;height:16px;background:#faf8f0;border:2px solid #386b5c;transform:translate(-50%,-50%);z-index:1}
.crop-nw{left:0;top:0;cursor:nwse-resize}.crop-n{left:50%;top:0;cursor:ns-resize}.crop-ne{left:100%;top:0;cursor:nesw-resize}.crop-e{left:100%;top:50%;cursor:ew-resize}.crop-se{left:100%;top:100%;cursor:nwse-resize}.crop-s{left:50%;top:100%;cursor:ns-resize}.crop-sw{left:0;top:100%;cursor:nesw-resize}.crop-w{left:0;top:50%;cursor:ew-resize}
.crop-stage[inert]{opacity:.6}.pdf-crop-editor[hidden],.crop-stage[hidden]{display:none}
@media(pointer:coarse){.crop-handle{width:22px;height:22px}}
.crop-toolbar{flex-wrap:wrap}.crop-toolbar select{flex:1;min-width:85px}.crop-toolbar button{min-height:40px}.crop-toolbar [aria-pressed=true]{background:var(--mint)}
.business-options{border-top:1px solid #c9c1ce;border-bottom:1px solid #c9c1ce;padding:14px 0;margin:16px 0}.business-options[hidden]{display:none}.business-options summary{cursor:pointer;font-size:14px;color:#386b5c}.business-batch{display:flex;align-items:flex-start;gap:9px;margin:16px 0 8px;font-size:13px;line-height:1.5}.business-batch input{width:17px!important;height:17px;flex:none;accent-color:#386b5c}.business-options .selection-actions{flex-wrap:wrap;gap:8px}.business-options .choose-button{font-size:13px;padding:8px 10px}.business-options .field-note{font-size:12px;line-height:1.6}
