 .pdf-editor-welcome{text-align:center;max-width:820px;margin:50px auto}.pdf-editor-welcome h1{font-size:48px;letter-spacing:-.04em;margin:20px 0 12px}.pdf-editor-welcome>p{color:var(--ant-muted);line-height:1.75}.pdf-editor-drop{display:flex;flex-direction:column;align-items:center;gap:14px;padding:50px 24px;margin:30px 0;border:1.5px dashed #0081fb;border-radius:20px;background:var(--ant-surface);cursor:pointer}.pdf-editor-drop svg{width:36px;height:36px;color:#0081fb}.pdf-editor-drop strong{font-size:19px}.pdf-editor-drop span,.pdf-editor-note{font-size:13px;color:var(--ant-muted)}.pdf-editor-drop.dragging{background:#0081fb15}.pdf-editor-workspace[hidden]{display:none!important}.pdf-edit-mode{overflow:hidden}.pdf-edit-mode>footer,.pdf-edit-mode>#antToolGuide,.pdf-edit-mode .ant-adslot{display:none!important}.pdf-edit-mode>main.ant-wrap{max-width:none;padding:0;margin:0}.pdf-edit-mode .ah-inner{min-height:58px!important;height:58px!important}.pdf-editor-workspace{height:calc(100dvh - 80px);display:flex;flex-direction:column;color:var(--ant-ink);background:var(--ant-bg)}.pdf-editor-toolbar{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--ant-line);background:var(--ant-surface)}.pdf-editor-toolbar>strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.pdf-editor-tools{display:flex;gap:4px;flex:1;flex-wrap:wrap}.pdf-editor-workspace button{border:1px solid var(--ant-line);border-radius:8px;background:var(--ant-surface);padding:9px 11px;color:var(--ant-ink);font-size:12px;font-weight:600;cursor:pointer}.pdf-editor-workspace button:hover{border-color:#0081fb;color:#0081fb}.pdf-editor-workspace button.active,.pdf-editor-workspace button.pdf-primary{background:#0081fb;color:#fff;border-color:#0081fb}.pdf-editor-workspace button:disabled{opacity:.45;cursor:default}.pdf-editor-layout{display:grid;grid-template-columns:130px minmax(0,1fr) 280px;min-height:0;flex:1}.pdf-editor-pages,.pdf-editor-properties{background:var(--ant-surface);padding:16px;overflow:auto}.pdf-editor-pages{border-right:1px solid var(--ant-line)}.pdf-editor-properties{border-left:1px solid var(--ant-line)}.pdf-editor-layout h2{font-size:14px;margin:0 0 16px}.pdf-editor-pages button{display:block;width:100%;padding:16px 8px;margin-bottom:10px;border-radius:8px}.pdf-editor-middle{display:flex;flex-direction:column;min-width:0;min-height:0}.pdf-editor-viewbar{display:flex;align-items:center;gap:6px;padding:8px 12px;background:var(--ant-surface);border-bottom:1px solid var(--ant-line);font-size:12px}.pdf-editor-viewbar #pdfPageInfo{margin-right:auto;margin-left:8px;color:var(--ant-muted)}.pdf-editor-scroll{overflow:auto;flex:1;padding:28px;background:var(--ant-soft);touch-action:none}.pdf-editor-stage{position:relative;width:max-content;box-shadow:0 6px 24px #0002;margin:0 auto}.pdf-editor-stage canvas{display:block;background:#fff}.pdf-editor-stage #pdfTextTargets{position:absolute;inset:0;pointer-events:none}.pdf-editor-stage .pdf-text-target{position:absolute;pointer-events:auto;border:1px solid transparent;background:transparent;border-radius:2px;padding:0;min-height:6px;outline:none}.pdf-editor-stage .pdf-text-target:hover,.pdf-editor-stage .pdf-text-target:focus-visible{background:#0081fb12;border-color:#0081fb}.pdf-editor-stage .pdf-text-target.selected{background:#0081fb10;border:1px dashed #0081fb}.pdf-editor-properties label{display:block;font-size:11px;font-weight:600;color:var(--ant-muted);margin:14px 0 8px}.pdf-editor-properties input,.pdf-editor-properties textarea,.pdf-editor-properties select{width:100%;background:var(--ant-bg);border:1px solid var(--ant-line);border-radius:8px;padding:10px;color:var(--ant-ink);font:inherit;font-size:13px;margin-top:7px}.pdf-editor-properties textarea{resize:vertical;line-height:1.5}.pdf-editor-properties input:focus,.pdf-editor-properties textarea:focus{outline:2px solid #0081fb44;border-color:#0081fb}.pdf-prop-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pdf-editor-properties button{width:100%;margin-top:10px}.pdf-font-upload{padding:10px;text-align:center;border:1px dashed #0081fb;border-radius:8px;color:#0081fb!important;cursor:pointer}.pdf-editor-properties small,#pdfSelectionInfo{font-size:11px;line-height:1.65;color:var(--ant-muted)}.pdf-editor-status{padding:9px 14px;font-size:11px;background:var(--ant-surface);border-top:1px solid var(--ant-line);color:var(--ant-muted)}.pdf-editor-help{margin-top:22px;border-top:1px solid var(--ant-line);padding-top:16px;font-size:11px;line-height:1.7}.pdf-editor-help p{color:var(--ant-muted)}.pdf-editor-scroll.is-pan{cursor:grab}.pdf-editor-scroll.is-dragging{cursor:grabbing}.pdf-editor-scroll.is-pan .pdf-text-target{pointer-events:none}@media(max-width:1050px){.pdf-editor-layout{grid-template-columns:85px minmax(0,1fr) 240px}.pdf-editor-toolbar>strong{display:none}.pdf-editor-tools button{padding:8px}.pdf-editor-toolbar{gap:6px;padding:8px}}@media(max-width:700px){.pdf-editor-layout{grid-template-columns:1fr}.pdf-editor-pages{display:none}.pdf-editor-properties{position:fixed;right:0;bottom:0;width:260px;max-height:48dvh;border:1px solid var(--ant-line);border-radius:16px 0 0 0;z-index:10}.pdf-editor-middle{min-height:0}.pdf-editor-tools{max-width:100%;flex-basis:100%}.pdf-editor-toolbar{flex-wrap:wrap}.pdf-editor-scroll{padding:14px}.pdf-editor-welcome h1{font-size:36px}.pdf-editor-workspace{height:calc(100dvh - 70px)}}

.pdf-edit-mode>main.ant-wrap{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}.pdf-edit-mode .pdf-editor-workspace{width:100%}.pdf-editor-properties{scrollbar-width:thin}

.pdf-editor-workspace{height:calc(100dvh - 58px)}.pdf-editor-toolbar{padding:9px 16px;min-height:54px}.pdf-editor-toolbar>strong{max-width:50%;margin-right:auto}.pdf-editor-layout{grid-template-columns:112px minmax(0,1fr) 240px}.pdf-editor-pages{padding:10px 7px}.pdf-editor-tools{display:flex;flex-direction:column;gap:4px}.pdf-editor-tools button{width:100%;text-align:left;padding:10px 7px}.pdf-editor-pages h2{margin:18px 6px 10px}.pdf-editor-pages #pdfPageList button{padding:10px 6px}.pdf-editor-properties{padding:14px}.pdf-editor-properties details{border-bottom:1px solid var(--ant-line);padding:12px 0}.pdf-editor-properties summary{font-size:12px;font-weight:700;cursor:pointer}.pdf-editor-properties input[type=checkbox]{width:auto;margin-right:8px}.pdf-text-heading{margin-top:20px!important}.pdf-editor-scroll{padding:22px 32px}.pdf-editor-stage #pdfSelectionBox{position:absolute;pointer-events:none;border:1.5px solid #0081fb;background:transparent;border-radius:0}.pdf-editor-workspace .pdf-handle{position:absolute;pointer-events:auto;width:10px;height:10px;min-height:0;padding:0;border:1.5px solid #0081fb;border-radius:1px;background:#fff}.pdf-handle.nw{left:-6px;top:-6px;cursor:nwse-resize}.pdf-handle.ne{right:-6px;top:-6px;cursor:nesw-resize}.pdf-handle.sw{left:-6px;bottom:-6px;cursor:nesw-resize}.pdf-handle.se{right:-6px;bottom:-6px;cursor:nwse-resize}.pdf-handle.rotate{left:50%;top:-26px;border-radius:50%;cursor:grab}.pdf-editor-stage #pdfInlineText{position:absolute;pointer-events:auto;resize:both;border:2px solid #0081fb;border-radius:2px;background:#fff;color:#111;padding:2px;line-height:1.2;box-shadow:0 3px 15px #0002;outline:none}.pdf-editor-stage #pdfDrawPreview{position:absolute;pointer-events:none;border:2px dashed #0081fb;background:#0081fb10;z-index:60003}.pdf-editor-stage .pdf-text-target{cursor:move}.pdf-editor-stage .pdf-text-target:hover{border:1px dashed #0081fb}@media(max-width:1000px){.pdf-editor-layout{grid-template-columns:100px minmax(0,1fr)}.pdf-editor-properties{position:fixed;right:12px;bottom:40px;width:220px;max-height:45vh;border:1px solid var(--ant-line);border-radius:12px;z-index:20}.pdf-editor-scroll{padding:20px}}@media(max-width:700px){.pdf-editor-layout{grid-template-columns:78px minmax(0,1fr)}.pdf-editor-pages{display:block;padding:5px}.pdf-editor-tools button{font-size:10px;padding:9px 3px}.pdf-editor-properties{width:200px;max-height:35vh}.pdf-editor-viewbar{padding:6px;gap:3px}.pdf-editor-viewbar button{font-size:10px;padding:7px}.pdf-editor-toolbar>strong{display:block}.pdf-editor-workspace{height:calc(100dvh - 70px)}}

.pdf-editor-layout{grid-template-columns:60px minmax(0,1fr) 240px}.pdf-editor-pages{overflow:visible;padding:9px 7px;z-index:30}.pdf-editor-pages h2,.pdf-editor-pages #pdfPageList{display:none}.pdf-editor-tools button{width:44px;height:44px;position:relative;display:grid;place-items:center;padding:10px;border-color:transparent;background:transparent}.pdf-editor-tools button svg{width:22px;height:22px}.pdf-editor-tools button:hover{background:#0081fb14}.pdf-editor-tools button.active{background:#0081fb;color:#fff}.pdf-tool-tooltip{display:none;position:absolute;left:52px;top:9px;background:#14243b;color:#fff;padding:7px 10px;white-space:nowrap;border-radius:6px;font-size:11px;box-shadow:0 4px 12px #0003;pointer-events:none}.pdf-editor-tools button:hover .pdf-tool-tooltip,.pdf-editor-tools button:focus-visible .pdf-tool-tooltip{display:block}.pdf-editor-viewbar select{border:1px solid var(--ant-line);color:var(--ant-ink);background:var(--ant-surface);border-radius:7px;padding:7px;font-size:12px}@media(max-width:1000px){.pdf-editor-layout{grid-template-columns:60px minmax(0,1fr)}}@media(max-width:700px){.pdf-editor-layout{grid-template-columns:52px minmax(0,1fr)}.pdf-editor-pages{padding:6px 4px}.pdf-editor-tools button{width:42px;height:39px}.pdf-editor-viewbar #pdfPageInfo{display:none}}

.pdf-editor-pages{position:relative}.pdf-shape-menu{position:absolute;left:56px;top:197px;width:165px;padding:6px;background:var(--ant-surface);border:1px solid var(--ant-line);box-shadow:0 12px 32px #0003;border-radius:10px;z-index:50}.pdf-shape-menu[hidden]{display:none!important}.pdf-shape-menu button{width:100%;border:0;text-align:left;padding:10px;display:flex;align-items:center;gap:10px;font-size:13px}.pdf-shape-menu button span{font-size:20px;width:22px;text-align:center}.pdf-shape-menu button:hover,.pdf-shape-menu button.chosen{background:#0081fb12;color:#0081fb}

.pdf-editor-properties input[type=color]{height:38px!important;padding:4px!important;appearance:auto!important}.pdf-editor-properties input[type=color]::-webkit-color-swatch-wrapper{padding:0}.pdf-editor-properties input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}.pdf-editor-tools button{margin-bottom:0}

.pdf-edit-mode .pdf-editor-toolbar{display:none}.pdf-edit-mode .pdf-workspace-header .wrap.nav{max-width:none;width:100%;padding:10px 16px;gap:16px;min-height:64px}.pdf-workspace-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:25vw;margin-right:auto;color:var(--ant-muted)}.pdf-workspace-header .ant-nav-actions{margin-left:0}.pdf-workspace-header #pdfNewFile,.pdf-workspace-header #pdfExport{height:38px;padding:0 14px;border:1px solid var(--ant-line);border-radius:9px;background:var(--ant-surface);color:var(--ant-ink);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.pdf-workspace-header #pdfExport{background:#0081fb;color:#fff;border-color:#0081fb}.pdf-workspace-header #pdfExport:disabled{opacity:.5;cursor:wait}@media(max-width:1100px){.pdf-workspace-name{display:none}.pdf-edit-mode .pdf-workspace-header .wrap.nav{gap:10px}.pdf-workspace-header .ant-nav-actions{margin-left:auto;gap:7px}.pdf-workspace-header #settingsBtn{display:none}}@media(max-width:700px){.pdf-workspace-header #ant-auth-btn,.pdf-workspace-header #themeToggle,.pdf-workspace-header .ant-credit-pill{display:none}.pdf-edit-mode .pdf-workspace-header .wrap.nav{padding:8px;gap:6px}.pdf-workspace-header #pdfNewFile,.pdf-workspace-header #pdfExport{padding:0 9px;font-size:11px}.pdf-workspace-header .logo img{max-width:110px}.pdf-workspace-header .nav-links{display:none}}

#pdfPageStack{display:flex;flex-direction:column;align-items:center;gap:30px;min-width:max-content}.pdf-document-page{position:relative}.pdf-page-title{font-size:12px;color:var(--ant-muted);padding:0 0 10px;font-weight:600}.pdf-document-page.active .pdf-page-title{color:#0081fb}.pdf-page-preview{display:block;background:#fff;box-shadow:0 6px 24px #0002;cursor:pointer}.pdf-page-preview[hidden]{display:none!important}.pdf-add-page-section{width:100%;max-width:560px;text-align:center;padding:24px;border:1px dashed var(--ant-line);border-radius:12px;margin:0 auto 20px}.pdf-add-page-section p{font-size:13px;color:var(--ant-muted);margin:0 0 12px}.pdf-add-page-section button{background:#0081fb;color:white;border-color:#0081fb;padding:12px 22px}.pdf-document-page .pdf-editor-stage{margin:0}

.pdf-editor-workspace .pdf-handle.rotate{width:22px;height:22px;top:-36px;left:calc(50% - 11px);border-radius:50%;background:#0081fb;color:white;box-shadow:0 2px 6px #0002}.pdf-handle.rotate:after{content:"↻";font-size:16px;line-height:18px}.pdf-editor-scroll.is-rotate .pdf-text-target{cursor:grab}

.pdf-handle.rotate:after{content:none}.pdf-handle.rotate svg{width:16px;height:16px;display:block;margin:auto;fill:none;stroke:currentColor;stroke-width:2}.pdf-handle.rotate:before{content:"";position:absolute;left:9px;top:21px;height:13px;border-left:1px solid #0081fb;pointer-events:none}

.pdf-object-menu{position:fixed;z-index:10000;width:200px;background:var(--ant-surface);border:1px solid var(--ant-line);border-radius:11px;padding:6px;box-shadow:0 12px 36px #0004}.pdf-object-menu[hidden]{display:none!important}.pdf-object-menu button{width:100%;display:block;padding:10px 12px;text-align:left;border:0;border-radius:6px;background:transparent;color:var(--ant-ink);font-size:12px;cursor:pointer}.pdf-object-menu button:hover,.pdf-object-menu button:focus-visible{background:#0081fb15;color:#0081fb;outline:none}.pdf-object-menu button.danger{color:#e95462;border-top:1px solid var(--ant-line);border-radius:0;margin-top:3px}
