body.pdf-editor-active{overflow:hidden}.pdf-editor-active .tool-main{width:calc(100% - 24px);max-width:none;padding-bottom:0}.pdf-editor-active .tool-hero,.pdf-editor-active .workspace>.options-card,.pdf-editor-active .work-card>.drop-zone,.pdf-editor-active .work-card>.file-list,.pdf-editor-active .workspace>div>.notice-card,.pdf-editor-active .seo-content,.pdf-editor-active footer{display:none}.pdf-editor-active .workspace{display:block}.pdf-editor-active .work-card{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.pdf-editor-active .visual-host{margin-top:0}.edit-workspace{height:calc(100vh - 70px);min-height:620px;display:grid;grid-template-columns:220px minmax(0,1fr) 290px;grid-template-rows:64px 82px minmax(0,1fr);grid-template-areas:"top top top" "tools tools tools" "pages document properties";border:1px solid #d8dde3;border-radius:14px 14px 0 0;background:#eef0f3;overflow:hidden}.pdf-editor-topbar{grid-area:top;display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:center;gap:18px;padding:9px 14px;border-bottom:1px solid #dfe3e8;background:#fff}.pdf-editor-file{min-width:0;display:flex;align-items:center;gap:10px}.pdf-editor-file>div{min-width:0}.pdf-editor-file strong,.pdf-editor-file small{display:block}.pdf-editor-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:var(--ink)}.pdf-editor-file small{margin-top:2px;color:var(--muted);font-size:11px}.pdf-editor-mark{flex:0 0 auto;padding:7px 6px;border-radius:7px;background:var(--orange);color:#fff;font-size:10px;font-weight:900;letter-spacing:.04em}.pdf-editor-page-status{color:#66717d;font-size:13px}.pdf-editor-page-status strong{color:var(--ink)}.pdf-editor-actions{display:flex;justify-content:flex-end;gap:8px}.pdf-editor-actions .btn{min-height:42px;padding:10px 15px}.edit-workspace>.visual-toolbar{grid-area:tools;position:relative;top:auto;z-index:20;min-height:0;align-self:stretch;display:flex;flex-direction:row;align-items:stretch;justify-content:space-between;gap:12px;padding:0 12px;border-right:0;border-bottom:1px solid #d8dde3;background:#fff;overflow:hidden}.visual-tool-group{min-width:0;display:flex;align-items:stretch;overflow-x:auto}.edit-workspace .visual-toolbar button{min-width:76px;min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:7px 8px;border:0;border-bottom:3px solid transparent;border-radius:0;background:#fff;color:#3e4751;font-size:22px}.edit-workspace .visual-toolbar button small{max-width:82px;font-size:11px;line-height:1.15}.edit-workspace .visual-toolbar button:hover,.edit-workspace .visual-toolbar button.active{border-color:var(--orange);background:var(--orange-soft);color:var(--orange-dark)}.visual-zoom{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding-left:14px;border-left:1px solid #e1e4e8}.edit-workspace .visual-zoom button{min-width:34px;width:34px;min-height:34px;height:34px;padding:0;border:1px solid #d6dbe1;border-radius:8px;font-size:20px}.visual-zoom input{width:112px;accent-color:var(--orange)}.visual-zoom output{width:44px;color:#4f5964;font-size:12px;font-weight:800;text-align:right}.visual-page-sidebar{grid-area:pages;min-height:0;padding:16px 14px;border-right:1px solid #d8dde3;background:#fff;overflow:auto}.visual-sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:var(--ink);font-size:14px}.visual-sidebar-heading span{display:grid;place-items:center;min-width:26px;height:24px;padding:0 7px;border-radius:999px;background:var(--orange-soft);color:var(--orange-dark);font-size:11px;font-weight:800}.visual-thumbnails{display:grid;gap:14px}.visual-thumbnail{width:100%;display:grid;gap:7px;padding:7px;border:2px solid transparent;border-radius:10px;background:#f7f8fa;color:#59636e;cursor:pointer;font:inherit}.visual-thumbnail:hover,.visual-thumbnail.active{border-color:var(--orange);background:#fff7f2;color:var(--orange-dark)}.visual-thumbnail canvas{display:block;width:100%;height:auto;border:1px solid #dfe3e7;background:#fff;box-shadow:0 3px 10px rgba(20,26,34,.08)}.visual-thumbnail span{font-size:11px;font-weight:800;text-align:left}.edit-workspace>.visual-document{grid-area:document;min-width:0;min-height:0;padding:18px 24px 42px;overflow:auto;scroll-behavior:smooth}.edit-workspace .visual-hint{top:0;max-width:760px;margin-bottom:18px}.edit-workspace .visual-pages{gap:28px}.edit-workspace .visual-page-card{scroll-margin-top:62px}.edit-workspace .visual-page-stage{transition:width .16s ease,height .16s ease}.visual-properties{grid-area:properties;min-height:0;padding:18px;border-left:1px solid #d8dde3;background:#fff;overflow:auto}.visual-properties-heading{padding-bottom:12px;border-bottom:1px solid #e2e5e9}.visual-properties-heading strong,.visual-properties-heading small{display:block}.visual-properties-heading strong{font-size:16px;color:var(--ink)}.visual-properties-heading small{margin-top:3px;color:var(--muted);font-size:11px}.visual-properties #toolOptions{margin-top:10px}.visual-properties .field label{font-size:12px}.visual-properties .field input,.visual-properties .field select{padding:9px 10px}.pdf-editor-active .result-card{position:fixed;right:22px;bottom:20px;z-index:90;width:min(560px,calc(100vw - 44px));margin:0;box-shadow:0 18px 48px rgba(17,24,39,.22)}
@media(max-width:1050px){.edit-workspace{grid-template-columns:180px minmax(0,1fr);grid-template-rows:64px 82px minmax(420px,1fr) auto;grid-template-areas:"top top" "tools tools" "pages document" "properties properties";height:calc(100vh - 70px);overflow:auto}.visual-properties{min-height:auto;border-top:1px solid #d8dde3;border-left:0}.visual-properties #toolOptions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}.visual-properties .inline-fields{display:contents}.edit-workspace>.visual-document{min-height:520px}.visual-zoom input{width:80px}}
@media(max-width:720px){body.pdf-editor-active{overflow:auto}.pdf-editor-active .tool-main{width:100%}.edit-workspace{height:auto;min-height:100vh;grid-template-columns:1fr;grid-template-rows:auto auto auto minmax(500px,auto) auto;grid-template-areas:"top" "tools" "pages" "document" "properties";border-radius:0}.pdf-editor-topbar{grid-template-columns:1fr auto;padding:10px}.pdf-editor-page-status{display:none}.pdf-editor-actions .btn-secondary{display:none}.pdf-editor-actions .btn{min-height:40px;padding:9px 11px;font-size:12px}.edit-workspace>.visual-toolbar{padding:0}.edit-workspace .visual-toolbar button{min-width:68px}.visual-zoom{position:absolute;right:8px;bottom:-50px;z-index:30;padding:7px;border:1px solid #d8dde3;border-radius:10px;background:#fff;box-shadow:0 7px 20px rgba(20,26,34,.12)}.visual-zoom input{width:70px}.visual-page-sidebar{padding:12px;border-right:0;border-bottom:1px solid #d8dde3;overflow-x:auto}.visual-sidebar-heading{margin-bottom:9px}.visual-thumbnails{display:flex;gap:10px}.visual-thumbnail{flex:0 0 116px}.edit-workspace>.visual-document{padding:64px 12px 28px;overflow:auto}.edit-workspace .visual-hint{position:static}.visual-properties #toolOptions{grid-template-columns:1fr}.pdf-editor-active .result-card{right:10px;bottom:10px;width:calc(100vw - 20px)}}
.edit-workspace .visual-toolbar button:disabled{opacity:.38;cursor:not-allowed}.edit-workspace .visual-toolbar button:disabled:hover{border-color:transparent;background:#fff;color:#3e4751}
