.pdf-editor{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#eef1f6;color:var(--navy)}.editor-header{min-height:80px;justify-content:space-between;gap:20px;padding:12px 32px;background:white;border-bottom:1px solid var(--border)}.editor-brand,.editor-header{display:flex;align-items:center}.editor-brand{gap:15px}.editor-back{display:flex;color:var(--muted)}.editor-document-title{text-align:center;display:flex;flex-direction:column;gap:2px;min-width:0;max-width:40%}.editor-document-title strong{font-size:17px;font-weight:600;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-document-title span{color:var(--muted);font-size:12px}.editor-header-actions{display:flex;gap:15px;align-items:center}.open-document{background:white;border:0;padding:10px;color:var(--muted);display:flex}.editor-header .button{min-height:43px;padding:10px 20px;font-size:14px}.editor-toolbar{background:white;border-bottom:1px solid var(--border);gap:20px;min-height:70px;padding:10px 26px;overflow-x:auto}.editor-tool-group,.editor-toolbar{display:flex;align-items:center;flex-shrink:0}.editor-tool-group{gap:6px}.editor-tool-group button{border:1px solid transparent;border-radius:7px;background:transparent;display:flex;align-items:center;gap:9px;min-height:40px;padding:8px 11px;white-space:nowrap;font-size:13px;color:var(--navy)}.editor-tool-group button[aria-pressed=true]{border-color:#c6d6ff;background:#edf3ff;color:var(--blue)}.editor-tool-group button:hover:not(:disabled){background:var(--pale);color:var(--blue)}.history-tools{border-left:1px solid var(--border);border-right:1px solid var(--border);padding-inline:17px}.editor-zoom{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}.editor-zoom button{display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;border:1px solid var(--border);border-radius:5px;background:white;font-size:12px}.editor-zoom .zoom-value{border:0;min-width:45px}.mobile-panel-tools{display:none}.editor-body{display:grid;grid-template-columns:200px minmax(0,1fr) 300px;flex:1 1;min-height:0;position:relative}.editor-pages{background:white;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;padding:19px 18px}.editor-inspector h2,.editor-pages h2{font-size:17px;font-weight:650;letter-spacing:-.4px}.inspector-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.thumbnail-list{min-height:0;overflow:auto;padding:0 3px 15px}.page-thumbnail{flex-direction:column;gap:7px;padding:0;border:0;background:white;margin-bottom:22px;color:var(--navy);font-size:13px}.page-thumbnail,.thumbnail-sheet{display:flex;align-items:center;width:100%}.thumbnail-sheet{justify-content:center;padding:9px;border:1px solid var(--border);border-radius:6px;background:#f8fafc;min-height:170px}.thumbnail-sheet img{display:block;width:100%;height:auto;box-shadow:0 1px 4px #1623400c}.page-thumbnail.active .thumbnail-sheet{border:2px solid var(--blue);padding:8px;background:#f4f7ff}.thumbnail-placeholder{font-size:13px;color:var(--muted);height:150px;display:flex;align-items:center}.editor-viewport{overflow:auto;padding:28px 30px 40px;min-width:0;min-height:0;display:flex;align-items:flex-start;justify-content:flex-start}.editor-paper{background:white;position:relative;flex-shrink:0;box-shadow:0 3px 15px #1623400c;margin-inline:auto;touch-action:none;outline-offset:5px}.page-render{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none}.page-rendering{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#fffffff0;color:var(--muted);font-size:13px;z-index:3}.edit-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.edit-overlay>g{outline:none}.edit-overlay>g:focus-visible{filter:drop-shadow(0 0 2px #2855e8)}.annotation-selection{stroke:var(--blue);stroke-dasharray:4 3;fill:transparent;pointer-events:none}.resize-handle{fill:white;stroke:var(--blue);cursor:nwse-resize;pointer-events:all}.mode-draw,.mode-highlight,.mode-rectangle,.mode-text{cursor:crosshair}.mode-select{cursor:default}.editor-inspector{background:white;border-left:1px solid var(--border);padding:19px 20px;overflow:auto;min-height:0}.inspector-field{display:flex;flex-direction:column;gap:6px;margin-bottom:19px;font-size:13px}.inspector-field input,.inspector-field textarea{width:100%;border:1px solid #d3dcec;border-radius:7px;min-height:41px;padding:9px 11px;background:white;color:var(--navy);font:inherit;resize:vertical}.inspector-field textarea{line-height:1.6;min-height:86px}.inspector-field input:disabled{background:#f7f9fc;color:var(--muted)}.color-field{padding:0;border:0;margin:24px 0}.color-field legend{font-size:13px;margin-bottom:12px}.color-swatches{display:flex;gap:12px;flex-wrap:wrap}.color-swatches button{border:0;width:27px;height:27px;border-radius:50%;outline-offset:3px}.color-swatches button[aria-pressed=true]{box-shadow:0 0 0 3px white,0 0 0 5px #a9c2ff}.inspector-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.inspector-grid .inspector-field{margin-bottom:12px}.inspector-action{width:100%;min-height:39px;display:flex;justify-content:center;align-items:center;gap:9px;border:1px solid var(--border);border-radius:7px;background:white;font-size:13px;margin-top:10px}.inspector-action.danger{color:#cc3445;border-color:#efacb4;background:#fff8f9}.inspector-help{border-top:1px solid var(--border);margin-top:24px;padding-top:19px;font-size:12px;color:var(--muted);line-height:1.8}.inspector-help span{display:block;margin-top:16px;font-size:11px}.inspector-note{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 20px}.panel-close{display:none}.editor-footer{height:37px;min-height:37px;background:white;border-top:1px solid var(--border);padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}.editor-footer,.editor-footer>a{color:var(--muted)}.editor-privacy{display:flex;gap:7px;align-items:center}.page-navigation{display:flex;gap:9px;align-items:center}.page-navigation button{border:0;background:white;display:flex;padding:2px;color:var(--muted)}.editor-empty{flex:1 1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;overflow:auto;background:#f4f7fc}.editor-empty>svg{color:var(--blue);margin-bottom:24px}.editor-empty h1{font-size:40px;line-height:1.2;letter-spacing:-1.5px}.editor-empty p{font-size:17px;line-height:1.7;color:var(--muted);margin:16px 0 26px}.editor-empty .text-button{margin-top:12px;font-size:14px}.editor-empty small{margin-top:25px;font-size:12px;color:var(--muted)}.editor-message{padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;line-height:1.5;flex-shrink:0}.editor-message button{border:0;background:transparent;display:flex;color:inherit}.editor-message.error{background:#fff0f2;color:#a82d3b;border-bottom:1px solid #f3cfd5}.editor-message.success{background:#effaf4;color:#23774f;border-bottom:1px solid #c9e9d7}.original-text-targets{position:absolute;inset:0;pointer-events:none}.original-text-targets button{position:absolute;border:1px dashed #85a5ff;background:#2855e808;border-radius:2px;pointer-events:auto;cursor:text;padding:0}.original-text-targets button:focus-visible,.original-text-targets button:hover{border-color:var(--blue);background:#2855e817}.no-original-text{position:absolute;top:15px;left:15px;right:15px;padding:12px;background:#f2f6ff;font-size:13px;color:var(--navy)}.editor-dialog-backdrop{position:fixed;inset:0;z-index:10;background:#16234066;display:flex;align-items:center;justify-content:center;padding:24px}.editor-dialog{background:white;border-radius:14px;padding:30px;max-width:480px;box-shadow:0 20px 60px #16234033}.editor-dialog h2{font-size:24px;letter-spacing:-.6px}.editor-dialog p{font-size:15px;color:var(--muted);margin:15px 0 22px;line-height:1.7}.editor-dialog>div{display:flex;justify-content:flex-end;gap:10px}.editor-dialog .button{font-size:14px;padding:10px 16px}.editor-dialog .button:not(.primary){border:1px solid var(--border);background:white}@media(max-width:1200px){.editor-toolbar{gap:8px;padding-inline:15px}.editor-tool-group{gap:1px}.editor-tool-group button{gap:6px;padding-inline:8px;font-size:12px}.history-tools{padding-inline:10px}.history-tools span{display:none}.editor-body{grid-template-columns:150px minmax(0,1fr) 240px}.editor-pages{padding-inline:15px}.thumbnail-sheet{min-height:140px}.editor-header{padding-inline:20px}.editor-document-title strong{font-size:15px}}@media(max-width:1000px){.editor-body{display:block}.editor-inspector,.editor-pages{display:none;position:absolute;top:0;bottom:0;z-index:5;box-shadow:0 5px 20px #16234022}.editor-pages{left:0;width:175px}.editor-inspector{right:0;width:280px}.show-pages .editor-pages,.show-properties .editor-inspector{display:flex}.show-properties .editor-inspector{display:block}.editor-viewport{width:100%;height:100%;padding:25px 24px}.mobile-panel-tools{display:flex;gap:4px;border-left:1px solid var(--border);padding-left:10px}.mobile-panel-tools button{display:flex;align-items:center;justify-content:center;border:0;background:white;padding:8px;color:var(--navy)}.panel-close{display:flex;width:27px;height:27px;border:0}.editor-tool-group button span{display:none}.editor-tool-group button{padding-inline:11px}.editor-zoom{margin-left:auto}.editor-header .brand{font-size:23px}.editor-header .brand svg{width:23px}.editor-header{gap:12px}.editor-document-title{max-width:35%}}@media(max-width:600px){.editor-header{min-height:70px;padding:10px 14px}.editor-back{display:none}.editor-header .brand{font-size:20px;gap:7px}.editor-header .brand svg{width:19px;height:25px}.editor-document-title{display:none}.editor-header-actions{gap:4px}.editor-header .button{font-size:12px;padding:9px 12px;min-height:38px}.open-document{padding:8px}.editor-toolbar{padding:8px 10px;gap:8px;min-height:57px}.editor-tool-group button{padding:8px 9px;min-height:36px}.editor-tool-group button svg{width:19px}.history-tools{padding-inline:6px}.editor-zoom{gap:3px}.editor-zoom button{min-width:27px;height:29px}.editor-zoom .zoom-value{min-width:38px;font-size:11px}.mobile-panel-tools{padding-left:5px}.mobile-panel-tools button{padding:6px}.editor-empty h1{font-size:32px;letter-spacing:-1px}.editor-empty p{font-size:15px}.editor-footer{padding-inline:10px;gap:10px;font-size:10px}.editor-privacy{display:none}.editor-message{font-size:12px;padding:9px 13px}.editor-viewport{padding:20px 12px}.editor-inspector{width:265px}.editor-dialog{padding:24px}.editor-toolbar{flex-wrap:wrap;overflow:visible;gap:5px}.editor-toolbar>.editor-tool-group:first-child{width:100%;justify-content:space-between}.history-tools{border:0;padding-left:0}.editor-zoom{margin-left:auto}.editor-tool-group button{padding-inline:10px}}