.note[data-type=pdf-editor] .note-body{padding:0;overflow:hidden;display:flex;flex-direction:column}.pdf-editor-container{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;color:inherit;font-family:inherit}.pdf-editor-toolbar{display:flex;align-items:center;gap:2px;padding:4px 6px;border-bottom:1px solid var(--nt-border,rgba(0,0,0,.1));background:var(--surface-1);flex-shrink:0;flex-wrap:wrap;min-height:32px}.pdf-tool-btn{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 4px;border:1px solid transparent;border-radius:var(--radius-xs,4px);background:0 0;color:inherit;cursor:pointer;font-size:.72rem;transition:background .15s ease,border-color .15s ease}.pdf-tool-btn:hover{background:var(--hover-bg,rgba(0,0,0,.06))}.pdf-tool-btn.active{background:rgba(var(--accent-rgb,99,102,241),.12);color:var(--accent-color,#6366f1);border-color:rgba(var(--accent-rgb,99,102,241),.25)}.pdf-tool-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.pdf-tool-btn .pdf-tool-icon{width:18px;height:18px;display:block;opacity:.8}body.amoled-mode .pdf-page-ops .pdf-tool-icon,body.amoled-mode .pdf-tool-btn .pdf-tool-icon,body.dark-mode .pdf-page-ops .pdf-tool-icon,body.dark-mode .pdf-tool-btn .pdf-tool-icon,body.high-contrast-mode .pdf-page-ops .pdf-tool-icon,body.high-contrast-mode .pdf-tool-btn .pdf-tool-icon,body.midnight-mode .pdf-page-ops .pdf-tool-icon,body.midnight-mode .pdf-tool-btn .pdf-tool-icon,body.neon-mode .pdf-page-ops .pdf-tool-icon,body.neon-mode .pdf-tool-btn .pdf-tool-icon{filter:brightness(0) invert(1)}.pdf-toolbar-sep{width:1px;height:18px;background:var(--nt-border,rgba(0,0,0,.1));margin:0 3px;flex-shrink:0}.pdf-toolbar-spacer{flex:1}.pdf-toolbar-color{width:20px;height:20px;border:2px solid var(--nt-border,rgba(0,0,0,.15));border-radius:var(--radius-xs,4px);cursor:pointer;padding:0;-webkit-appearance:none;appearance:none}.pdf-toolbar-color::-webkit-color-swatch-wrapper{padding:0}.pdf-toolbar-color::-webkit-color-swatch{border:none;border-radius:2px}.pdf-editor-viewport{position:relative;overflow:auto;flex:1;min-height:0;background:var(--surface-2,#e4e4e7);display:flex;align-items:flex-start;justify-content:center;padding:8px}.pdf-editor-page-wrap{position:relative;display:inline-block;flex-shrink:0}.pdf-editor-canvas{display:block;width:100%;height:100%;box-shadow:0 1px 6px rgba(0,0,0,.12);border-radius:2px}.pdf-editor-ann-layer{position:absolute;top:0;left:0;pointer-events:none;z-index:1}.pdf-editor-container.tool-active .pdf-editor-ann-layer{pointer-events:auto;cursor:crosshair}.pdf-editor-container[data-tool=sticky] .pdf-editor-ann-layer{cursor:copy}.pdf-editor-container[data-tool=textbox] .pdf-editor-ann-layer{cursor:text}.pdf-editor-container[data-tool=eraser] .pdf-editor-ann-layer{cursor:pointer}.pdf-editor-container[data-tool=signature] .pdf-editor-ann-layer{cursor:copy}.pdf-ann{position:absolute;pointer-events:none}.pdf-ann-highlight{mix-blend-mode:multiply;border-radius:1px}.pdf-ann-whiteout{background:#fff;border-radius:0}.pdf-ann-underline{border-bottom:2px solid var(--ann-color,#ef4444)}.pdf-ann-strikethrough{display:flex;align-items:center}.pdf-ann-strikethrough::after{content:'';position:absolute;top:50%;left:0;right:0;border-top:2px solid var(--ann-color,#ef4444)}.pdf-ann-freehand{position:absolute;overflow:visible}.pdf-ann-sticky,.pdf-ann-textbox{pointer-events:auto;z-index:2}.pdf-ann-sticky{min-width:28px;min-height:28px;border-radius:var(--radius-xs,4px);box-shadow:0 1px 4px rgba(0,0,0,.18);cursor:move;font-size:.75rem}.pdf-sticky-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;user-select:none}.pdf-sticky-body{position:absolute;top:100%;left:0;min-width:140px;max-width:220px;padding:6px 8px;background:inherit;border-radius:var(--radius-xs,4px);box-shadow:0 2px 8px rgba(0,0,0,.2);font-size:.72rem;line-height:1.4;outline:0;margin-top:4px;z-index:3}.pdf-ann-textbox-wrap{position:absolute;border:1px dashed rgba(var(--accent-rgb,99,102,241),.4);background:rgba(255,255,255,.85);min-width:40px;min-height:18px;z-index:2;pointer-events:auto;cursor:move}.pdf-ann-textbox-wrap:hover{border-color:var(--accent-color,#6366f1)}.pdf-textbox-content{padding:2px 4px;outline:0;color:#000;cursor:text;min-height:16px;word-wrap:break-word}.pdf-textbox-content:focus{background:rgba(255,255,255,.95)}.pdf-textbox-resize{position:absolute;right:-4px;bottom:-4px;width:10px;height:10px;background:var(--accent-color,#6366f1);border-radius:2px;cursor:ew-resize;opacity:0;transition:opacity .15s ease}.pdf-ann-textbox-wrap:hover .pdf-textbox-resize{opacity:1}.pdf-ann-signature{border:1px dashed rgba(0,0,0,.15);overflow:visible}.pdf-ann-signature svg{width:100%;height:100%}.pdf-editor-container[data-tool=eraser] .pdf-editor-ann-layer{cursor:crosshair}.pdf-editor-container[data-tool=select] .pdf-ann-signature,.pdf-editor-container[data-tool=select] .pdf-ann-textbox-wrap{pointer-events:auto;cursor:grab}.pdf-editor-footer{display:flex;align-items:center;justify-content:space-between;padding:3px 8px;border-top:1px solid var(--nt-border,rgba(0,0,0,.1));background:var(--surface-1);font-size:.78rem;flex-shrink:0;gap:6px;color:var(--text-primary,inherit)}.pdf-page-nav{display:flex;align-items:center;gap:6px}.pdf-page-nav button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid var(--nt-border,rgba(0,0,0,.1));border-radius:var(--radius-xs,4px);background:0 0;color:inherit;cursor:pointer;font-size:.7rem;transition:background .15s ease}.pdf-page-nav button:hover:not(:disabled){background:var(--hover-bg,rgba(0,0,0,.06))}.pdf-page-nav button:disabled{opacity:.35;cursor:default}.pdf-page-nav .pdf-page-info{font-variant-numeric:tabular-nums;color:inherit}.pdf-page-ops{display:flex;align-items:center;gap:4px}.pdf-page-ops button .pdf-tool-icon{width:14px;height:14px;display:block;opacity:.8}.pdf-page-ops button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid transparent;border-radius:var(--radius-xs,4px);background:0 0;color:var(--text-primary,inherit);cursor:pointer;font-size:.8rem;transition:background .15s ease,color .15s ease}.pdf-page-ops button:hover{background:var(--hover-bg,rgba(0,0,0,.06))}.pdf-page-ops .pdf-delete-page-btn:hover{color:var(--color-danger,#ef4444)}.pdf-form-field{position:absolute;z-index:3}.pdf-form-input{width:100%;height:100%;border:1px solid rgba(59,130,246,.35);background:rgba(255,255,255,.85);font-size:inherit;font-family:inherit;padding:1px 3px;outline:0;color:#000;box-sizing:border-box}.pdf-form-input:focus{border-color:var(--accent-color,#6366f1);background:rgba(255,255,255,.95)}.pdf-form-checkbox{width:16px;height:16px;cursor:pointer}.pdf-sig-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:99999;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}.pdf-sig-card{background:var(--header-bg,#fff);border-radius:var(--radius-lg,12px);padding:20px;box-shadow:0 8px 40px rgba(0,0,0,.25);width:min(400px,90vw);display:flex;flex-direction:column;gap:12px}.pdf-sig-card h4{margin:0;font-size:1rem;font-weight:700;color:var(--text-primary,#18181b)}.pdf-sig-canvas{width:100%;height:150px;border:1px solid var(--border-color,#e4e4e7);border-radius:var(--radius-md,8px);background:#fff;cursor:crosshair;touch-action:none}.pdf-sig-actions{display:flex;justify-content:flex-end;gap:8px}.pdf-editor-error,.pdf-editor-loading{display:flex;align-items:center;justify-content:center;flex:1;color:var(--nt-muted,rgba(0,0,0,.45));font-size:.82rem;padding:20px;text-align:center}.pdf-draw-preview{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:5;overflow:visible}