.pdf-page{padding-bottom:60px}.pdf-shell{overflow:hidden;border:1px solid #e1e9f2;border-radius:15px;background:#fff;box-shadow:0 16px 44px #29466410;margin-bottom:18px}.pdf-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-bottom:1px solid #eaf0f6}.pdf-file-actions{display:flex;align-items:center;gap:12px;min-width:0}.pdf-file-actions label{cursor:pointer}.pdf-filename{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8796a9;font-size:11px}.pdf-empty{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.pdf-empty h2{margin:2px 0 7px;font:700 18px Manrope,system-ui,sans-serif}.pdf-empty p{max-width:440px;margin:0 0 17px;color:#8493a6;font-size:12px;line-height:1.7}.pdf-empty>span{margin-top:10px;color:#a1adbb;font-size:10px}.pdf-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:660px}.pdf-pages-panel{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e8eef5;background:#fbfcfe}.pages-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 14px;border-bottom:1px solid #e8eef5;font-size:12px}.pages-heading span{color:#91a0b2}.page-list{flex:1;min-height:360px;max-height:calc(100vh - 400px);overflow:auto;padding:10px;display:flex;flex-direction:column;gap:9px}.page-item{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;padding:8px;border:1px solid #e5ebf2;border-radius:9px;background:white;text-align:left;color:#667b94;cursor:pointer}.page-item:hover{border-color:#b8d1f3}.page-item.active{border-color:#75a7ed;background:#f0f6ff;box-shadow:0 0 0 2px #e8f1fe}.page-thumb{width:58px;height:72px;display:grid;place-items:center;overflow:hidden;border:1px solid #e9edf2;background:#f6f8fb}.page-thumb canvas{display:block;max-width:100%;max-height:100%}.page-label{font-size:10px;font-weight:700}.page-rotated{display:block;margin-top:3px;color:#9aabc0;font-size:9px}.page-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;border-top:1px solid #e8eef5}.page-actions button,.pdf-view-toolbar button,.pdf-tool-row>button:not(.pdf-tool){padding:8px 9px;border:1px solid #dfe8f1;border-radius:7px;background:white;color:#637993;font-size:10px;font-weight:700;cursor:pointer}.page-actions button:disabled,.pdf-view-toolbar button:disabled,.pdf-tool-row button:disabled{opacity:.42;cursor:not-allowed}.page-actions .danger-button{grid-column:1/-1;color:#c05b5b}.pdf-main-editor{min-width:0;display:flex;flex-direction:column}.pdf-tool-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:9px 10px;border-bottom:1px solid #e9eff5}.pdf-tool-row .pdf-tool{padding:8px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#71839a;font-size:10px;font-weight:700;cursor:pointer}.pdf-tool-row .pdf-tool.active,.pdf-tool-row .pdf-tool:hover{border-color:#d6e5fb;background:#eef5ff;color:#3278e4}.pdf-tool-row>button:not(.pdf-tool){font-size:10px}.pdf-color-label input{width:28px;height:28px;padding:1px;border:1px solid #e3eaf2;border-radius:6px;background:#fff}.pdf-size-label{display:flex;align-items:center;gap:5px;color:#8090a5;font-size:9px}.pdf-size-label input{width:65px;accent-color:#3479e8}.pdf-size-label span{min-width:13px}.pdf-text-input{width:120px;padding:7px 8px;border:1px solid #dfe8f1;border-radius:7px;color:#3b536e;font-size:10px}.pdf-view-toolbar{height:43px;display:flex;align-items:center;justify-content:center;gap:9px;border-bottom:1px solid #e9eff5;color:#7c8da3;font-size:10px}.pdf-view-toolbar button{padding:6px 8px}.pdf-view-toolbar>span{min-width:90px;text-align:center}.pdf-zoom{display:flex;align-items:center;gap:6px;margin-left:12px}.pdf-zoom button{min-width:26px;padding:5px}.pdf-zoom span{min-width:35px;text-align:center}.pdf-stage{flex:1;min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:auto;padding:22px;background:#f1f4f8}.pdf-canvas-wrap{position:relative;width:max-content;max-width:100%;margin:auto;box-shadow:0 10px 28px #263e5b26;background:white}.pdf-canvas-wrap[hidden]{display:none}.pdf-canvas-wrap canvas{display:block;max-width:100%;height:auto}.pdf-canvas-wrap #pdfOverlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:default}.pdf-canvas-wrap.annotating #pdfOverlay{cursor:crosshair}.pdf-status{margin:12px 0 0;color:#8091a6;font-size:10px;text-align:center}.pdf-error{margin:14px;padding:12px 14px;border:1px solid #f1d1d1;border-radius:8px;background:#fff8f8;color:#a34c4c;font-size:11px}.pdf-privacy{margin:15px 0;text-align:center;color:#8c9aac;font-size:10px}@media(max-width:850px){.pdf-workspace{grid-template-columns:185px minmax(0,1fr)}.pdf-tool-row{gap:3px}.pdf-tool-row .pdf-tool{padding:7px}.pdf-stage{padding:14px}}@media(max-width:620px){.pdf-topbar{height:auto;align-items:flex-start;flex-direction:column}.pdf-file-actions{width:100%;flex-wrap:wrap}.pdf-filename{max-width:100%}.pdf-workspace{grid-template-columns:1fr}.pdf-pages-panel{border-right:0;border-bottom:1px solid #e8eef5}.page-list{min-height:0;max-height:175px;flex-direction:row}.page-item{flex:0 0 125px;grid-template-columns:45px minmax(0,1fr);gap:7px;padding:6px}.page-thumb{width:45px;height:58px}.page-actions{grid-template-columns:repeat(4,1fr)}.page-actions .danger-button{grid-column:auto}.pdf-stage{min-height:420px;padding:8px}.pdf-view-toolbar{gap:4px}.pdf-view-toolbar button{font-size:8px}.pdf-zoom{margin-left:3px}.pdf-tool-row{justify-content:flex-start}.pdf-tool-row .pdf-tool{font-size:9px}.pdf-text-input{width:100px}}
.pdf-page{padding-top:16px}.pdf-main-editor{display:grid;grid-template-columns:minmax(0,1fr) 220px;min-width:0}.pdf-view-column{display:flex;flex-direction:column;min-width:0}.pdf-tools-panel{padding:14px 12px;border-left:1px solid #e8eef5;background:#fcfdff}.pdf-tools-panel .panel-label{margin:0 0 10px}.pdf-tool-row{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:0;border:0}.pdf-tool-row .pdf-tool{width:100%;padding:9px 10px!important;text-align:left}.pdf-tool-settings{display:grid;gap:15px;margin-top:16px;padding-top:14px;border-top:1px solid #e8eef5}.pdf-color-label{display:grid;gap:7px;color:#8090a5;font-size:10px}.pdf-color-label input{width:100%;height:33px;padding:2px;border:1px solid #e3eaf2;border-radius:6px;background:white}.pdf-size-label{display:grid;grid-template-columns:1fr auto;gap:5px;color:#8090a5;font-size:10px}.pdf-size-label input{grid-column:1/-1;width:100%;accent-color:#3479e8}.pdf-size-label span{color:#8c9aae}.pdf-size-label b{font-weight:600}.pdf-text-input{width:100%;padding:8px;border:1px solid #dfe8f1;border-radius:7px;color:#3b536e;font-size:10px}.pdf-undo{padding:8px;border:1px solid #dfe8f1;border-radius:7px;background:white;color:#637993;font-size:10px;font-weight:700;cursor:pointer}.pdf-undo:disabled{opacity:.45;cursor:not-allowed}.pdf-tool-hint{margin:16px 0 0;color:#93a1b2;font-size:9px;line-height:1.5}.pdf-view-column .pdf-view-toolbar{flex:0 0 43px}.pdf-view-column .pdf-stage{min-width:0}@media(max-width:850px){.pdf-main-editor{grid-template-columns:minmax(0,1fr) 185px}.pdf-tools-panel{padding:12px 9px}}@media(max-width:620px){.pdf-main-editor{grid-template-columns:1fr}.pdf-tools-panel{border-left:0;border-top:1px solid #e8eef5}.pdf-tool-row{display:grid;grid-template-columns:1fr 1fr}.pdf-tool-row .pdf-tool{font-size:9px}.pdf-tool-settings{grid-template-columns:1fr 1fr}.pdf-size-label,.pdf-color-label{min-width:0}.pdf-text-input,.pdf-undo{grid-column:1/-1}}
.pdf-main-editor{grid-template-columns:minmax(0,1fr) 170px}.pdf-tools-panel{padding-inline:9px}.pdf-stage{min-height:calc(100vh - 240px)}#pdfEmpty[hidden],#pdfEditor[hidden],#pdfCanvasWrap[hidden]{display:none!important}@media(max-width:850px){.pdf-main-editor{grid-template-columns:minmax(0,1fr) 155px}}@media(max-width:620px){.pdf-main-editor{grid-template-columns:1fr}.pdf-stage{min-height:65vh}}
