.canvasWrapper{position:relative;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.15);border-radius:4px;overflow:hidden}.pdfCanvas{display:block}.editLayer{z-index:10}.edit-textbox{z-index:20}.edit-text:hover{background:rgba(99,102,241,.1)}.edit-stamp:hover{border-color:#6366f1!important}.textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.25;line-height:1;pointer-events:auto}.textLayer span{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}.textLayer ::-moz-selection{background:rgba(99,102,241,.3)}.textLayer ::selection{background:rgba(99,102,241,.3)}.annotationEditorLayer{position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:auto}.annotationEditorLayer.disabled,.drawLayer{pointer-events:none}.drawLayer{position:absolute;left:0;top:0;right:0;bottom:0}.annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border:2px solid transparent;border-radius:4px;padding:4px 8px;min-width:50px;min-height:1.5em;cursor:move;transition:border-color .15s ease,box-shadow .15s ease}.annotationEditorLayer .freeTextEditor:hover{border-color:rgba(99,102,241,.5)}.annotationEditorLayer .freeTextEditor.selectedEditor{border-color:#6366f1;box-shadow:0 2px 8px rgba(99,102,241,.25)}.annotationEditorLayer .freeTextEditor .internal{outline:none;white-space:pre-wrap;word-break:break-word}.annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(data-l10n-args);color:#9ca3af;font-style:italic}.annotationEditorLayer .freeTextEditor .overlay{position:absolute;inset:0;cursor:move}.annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}.annotationEditorLayer .freeTextEditor .overlay:not(.enabled){display:none}.annotationEditorLayer .inkEditor{position:absolute;cursor:crosshair}.annotationEditorLayer .inkEditor.selectedEditor{outline:2px dashed #6366f1;outline-offset:2px}.annotationEditorLayer .inkEditor canvas{position:absolute;pointer-events:none}.annotationEditorLayer .stampEditor{position:absolute;cursor:move;border:2px solid transparent;border-radius:4px;transition:border-color .15s ease,box-shadow .15s ease}.annotationEditorLayer .stampEditor:hover{border-color:rgba(99,102,241,.5)}.annotationEditorLayer .stampEditor.selectedEditor{border-color:#6366f1;box-shadow:0 2px 8px rgba(99,102,241,.25)}.annotationEditorLayer .stampEditor img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.annotationEditorLayer .highlightEditor{position:absolute;cursor:pointer}.annotationEditorLayer .highlightEditor.selectedEditor{outline:2px dashed #6366f1;outline-offset:1px}.annotationEditorLayer .resizers{position:absolute;inset:-5px;pointer-events:none}.annotationEditorLayer .resizers.hidden{display:none}.annotationEditorLayer .resizers .resizer{position:absolute;width:10px;height:10px;background:#fff;border:2px solid #6366f1;border-radius:2px;pointer-events:auto}.annotationEditorLayer .resizers .resizer.topLeft{top:0;left:0;cursor:nwse-resize}.annotationEditorLayer .resizers .resizer.topMiddle{top:0;left:50%;transform:translateX(-50%);cursor:ns-resize}.annotationEditorLayer .resizers .resizer.topRight{top:0;right:0;cursor:nesw-resize}.annotationEditorLayer .resizers .resizer.middleRight{top:50%;right:0;transform:translateY(-50%);cursor:ew-resize}.annotationEditorLayer .resizers .resizer.bottomRight{bottom:0;right:0;cursor:nwse-resize}.annotationEditorLayer .resizers .resizer.bottomMiddle{bottom:0;left:50%;transform:translateX(-50%);cursor:ns-resize}.annotationEditorLayer .resizers .resizer.bottomLeft{bottom:0;left:0;cursor:nesw-resize}.annotationEditorLayer .resizers .resizer.middleLeft{top:50%;left:0;transform:translateY(-50%);cursor:ew-resize}.annotationEditorLayer .editToolbar{position:absolute;top:-40px;left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:4px 8px;background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,.15);z-index:100}.annotationEditorLayer .editToolbar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;border-radius:4px;cursor:pointer;transition:background .15s ease}.annotationEditorLayer .editToolbar button:hover{background:#f3f4f6}.annotationEditorLayer .editToolbar button.deleteButton:hover{background:#fee2e2;color:#ef4444}.annotationEditorLayer .colorPicker{position:relative}.annotationEditorLayer .colorPicker .dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:4px;padding:8px;background:#fff;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.15);display:flex;flex-wrap:wrap;gap:4px;width:140px}.annotationEditorLayer .colorPicker .dropdown button{width:24px;height:24px;border:2px solid transparent;border-radius:4px;cursor:pointer}.annotationEditorLayer .colorPicker .dropdown button.selected{border-color:#1f2937}.drawLayer svg.highlight{position:absolute;mix-blend-mode:multiply;pointer-events:none}.drawLayer svg.highlightOutline{position:absolute;pointer-events:none;stroke:#6366f1;stroke-width:2;fill:none;stroke-dasharray:5 3}.drawLayer svg.highlightOutline.selected{stroke-dasharray:none}.drawLayer svg.highlightOutline.hovered{stroke-dasharray:none;stroke-opacity:.5}.annotationEditorLayer.loading:after{content:"";position:absolute;inset:0;background:hsla(0,0%,100%,.7);display:flex;align-items:center;justify-content:center}.annotationEditorLayer .draggable{cursor:move}.annotationEditorLayer .draggable:active{cursor:grabbing}.annotationEditorLayer :focus-visible{outline:2px solid #6366f1;outline-offset:2px}.annotationEditorLayer [data-l10n-id]{position:relative}