:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1e1c29;background:#f6f5fa;font-synthesis:none}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto}.topbar{min-height:72px;background:#fff;border-bottom:1px solid #e5e2ee;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 24px}.brand{font-weight:800;font-size:21px}.poc-label{margin-top:2px;color:#706b7f;font-size:13px}.filename-wrap{display:flex;gap:10px;align-items:center}.filename-wrap input{width:min(34vw,360px)}input{border:1px solid #ccc7dc;border-radius:9px;min-height:40px;padding:8px 11px;color:inherit;background:#fff}input:focus,textarea:focus,select:focus{outline:2px solid rgba(111,75,232,.24);border-color:#6f4be8}button{min-height:38px;padding:7px 12px;border-radius:9px;border:1px solid #d9d5e5;background:#fff;color:#292536}button:hover:not(:disabled){border-color:#ada6c5;background:#faf9fd}button.primary{background:#6f4be8;color:#fff;border-color:#6f4be8;font-weight:700}button.primary:hover:not(:disabled){background:#5d35cc;border-color:#5d35cc}.upload-card{width:min(1120px,calc(100% - 40px));margin:64px auto;min-height:360px;background:#fff;border:1px solid #ded9ec;border-radius:20px;box-shadow:0 18px 55px #2c1f5b14;position:relative;overflow:hidden}.upload-card input{position:absolute;opacity:0;pointer-events:none}.upload-hitarea{min-height:360px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:40px;cursor:pointer;background:linear-gradient(180deg,#fff,#fbfaff)}.upload-hitarea strong{font-size:25px}.upload-hitarea span{margin-top:10px;font-size:16px;color:#5f596d}.upload-hitarea small{margin-top:18px;font-size:14px;color:#858094}.upload-hitarea:hover{background:#faf8ff}.editor-shell{min-height:0;display:grid;grid-template-columns:88px minmax(0,1fr) 280px;background:#ebe9f0}.sidepanel,.inspector{background:#fff;min-height:0}.sidepanel{border-right:1px solid #dad6e3;padding:14px 10px}.inspector{border-left:1px solid #dad6e3;padding:16px}.panel-title{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#777183;margin-bottom:12px}.page-list{display:grid;gap:8px}.page-chip{width:100%;min-width:0}.page-chip.active{color:#5d35cc;background:#f1edff;border-color:#a995f4;font-weight:800}.workspace{min-width:0;min-height:0;display:grid;grid-template-rows:52px minmax(0,1fr)}.toolbar{background:#fff;border-bottom:1px solid #dad6e3;display:flex;align-items:center;gap:8px;padding:7px 12px}.toolbar span{font-size:14px;color:#5e5968;white-space:nowrap}.toolbar-spacer{flex:1}.stage-scroll{position:relative;overflow:auto;min-height:0;padding:34px}.page-stage{position:relative;margin:0 auto;background:#fff;box-shadow:0 12px 32px #1c172c2e}.page-stage>img{display:block;width:100%;height:100%;-webkit-user-select:none;user-select:none}.text-hit-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.text-hit{pointer-events:auto;position:absolute;min-height:0;padding:0;border:1px solid transparent;border-radius:2px;background:transparent}.text-hit:hover,.text-hit:focus-visible{border-color:#6f4be8;background:#6f4be81c;outline:none}.busy-badge{position:sticky;left:50%;bottom:20px;width:max-content;margin:0 auto;background:#1f1b2ae6;color:#fff;padding:9px 13px;border-radius:999px;font-size:13px}.edit-form{display:grid;gap:12px}.edit-form label{display:grid;gap:6px;font-size:13px;font-weight:700}.edit-form dl{margin:0;display:grid;gap:7px}.edit-form dl div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.edit-form dt{color:#817b8d}.edit-form dd{margin:0;text-align:right;overflow-wrap:anywhere}.notice,.empty-inspector{font-size:13px;line-height:1.5;color:#777183}.notice{background:#f7f4ff;border:1px solid #e2dafd;padding:10px;border-radius:9px}.statusbar{min-height:40px;display:flex;align-items:center;gap:8px;padding:8px 18px;background:#fff;border-top:1px solid #dedbe6;font-size:13px;color:#5f596a}.status-dot{width:8px;height:8px;border-radius:50%;background:#2caa67;flex:0 0 auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.editor-shell{grid-template-columns:62px minmax(0,1fr)}.inspector{grid-column:1 / -1;border-left:0;border-top:1px solid #dad6e3;min-height:190px}.filename-wrap input{width:180px}}@media(max-width:620px){.topbar{align-items:flex-start;flex-direction:column;gap:10px;padding:12px}.filename-wrap{width:100%;flex-wrap:wrap}.filename-wrap input{flex:1;width:0;min-width:0}.editor-shell{grid-template-columns:1fr}.sidepanel{display:none}.workspace{min-height:62vh}.toolbar{overflow-x:auto}.stage-scroll{padding:16px}.inspector{grid-column:auto}}.editor-shell-inline{grid-template-columns:88px minmax(0,1fr)}.inline-text-editor{position:absolute;z-index:12;pointer-events:auto;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;line-height:1.2;min-width:24px;min-height:1em;max-width:calc(100% - 8px);resize:none;overflow:hidden;white-space:pre;box-shadow:none;-moz-appearance:none;appearance:none;-webkit-appearance:none}.inline-text-editor:focus{border:0;outline:0;background:transparent;box-shadow:none}.inline-formatbar{position:absolute;z-index:14;pointer-events:auto;min-height:38px;display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #d9d5e5;border-radius:9px;background:#fff;box-shadow:0 7px 22px #1d16342e;white-space:nowrap}.inline-formatbar button{min-height:30px;height:30px;min-width:30px;padding:3px 8px;border-radius:6px}.drag-handle{cursor:grab;touch-action:none;font-weight:800;color:#5f596a}.drag-handle:active{cursor:grabbing}.size-control{display:flex;align-items:center;gap:5px;height:30px;padding-left:5px;font-size:12px;color:#6b6578}.size-control input{width:56px;min-height:30px;height:30px;padding:3px 5px;border-radius:6px}.format-button{font-weight:800}.format-button.italic{font-style:italic}.format-button.active{color:#5d35cc;border-color:#a995f4;background:#f1edff}.color-control{width:32px;height:30px;display:grid;place-items:center;border:1px solid #d9d5e5;border-radius:6px;overflow:hidden;cursor:pointer}.color-control input[type=color]{width:38px;height:38px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}.format-done{color:#fff!important;background:#6f4be8!important;border-color:#6f4be8!important;font-weight:800}@media(max-width:620px){.editor-shell-inline{grid-template-columns:1fr}.inline-formatbar{max-width:calc(100vw - 28px);overflow-x:auto}}.toolbar-divider{width:1px;height:24px;background:#e2deea;margin:0 2px;flex:0 0 auto}.text-hit{cursor:text;touch-action:none;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.text-hit:hover,.text-hit:focus-visible{border-color:#fffffff5;background:#ffffff14;box-shadow:0 0 0 1px #372b5452,0 1px 5px #18142329}.text-hit:active{cursor:grabbing;border-color:#6f4be8;background:#6f4be814}.drag-handle{display:inline-grid;place-items:center}.move-four-way-icon{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.inline-rich-editor{white-space:pre;overflow:visible;-webkit-user-select:text;user-select:text;cursor:text}.inline-rich-editor::selection,.inline-rich-editor *::selection{background:#6f4be8;color:#fff}.inline-rich-editor::-moz-selection,.inline-rich-editor *::-moz-selection{background:#6f4be8;color:#fff}.rich-formatbar{min-width:520px;max-width:min(680px,calc(100vw - 28px))}.font-control{height:30px;display:flex;align-items:center}.font-control select{height:30px;min-width:148px;max-width:190px;border:1px solid #d9d5e5;border-radius:6px;padding:3px 26px 3px 8px;background:#fff;color:#292536;cursor:pointer}@media(max-width:620px){.rich-formatbar{min-width:0}.font-control select{min-width:132px}}.text-hit{-moz-appearance:none;appearance:none;-webkit-appearance:none;background:transparent!important;box-shadow:none!important}.text-hit:hover,.text-hit:focus-visible{border-color:#6f4be8;background:transparent!important;box-shadow:none!important;outline:none}.text-hit:active{border-color:#5d35cc;background:transparent!important;box-shadow:none!important}.rich-formatbar{min-width:600px;max-width:min(780px,calc(100vw - 28px))}.font-control select{min-width:170px;max-width:220px}.font-import-button{min-width:54px!important;padding-inline:8px!important;font-size:12px;font-weight:700;white-space:nowrap}@media(max-width:620px){.rich-formatbar{min-width:0}.font-control select{min-width:138px}}.text-hit,.text-hit:hover,.text-hit:focus-visible,.text-hit:active{background:transparent!important;box-shadow:none!important}.text-hit:hover,.text-hit:focus-visible{border-color:#6f4be8c7!important;outline:none}.text-hit:active{border-color:#5d35cc!important}.text-hit.search-hit{border-color:#6f4be8!important;box-shadow:0 0 0 2px #6f4be824!important}.v05-formatbar{min-width:max-content;max-width:min(920px,calc(100vw - 120px))}.format-divider{width:1px;height:23px;background:#e2deea;margin:0 2px}.format-button.underline{text-decoration:underline}.alignment-group{display:inline-flex;gap:2px}.align-button{width:31px;min-width:31px!important;padding:3px!important;display:grid;place-items:center}.align-button.active,.more-format.active{color:#5d35cc;border-color:#a995f4;background:#f1edff}.align-icon{width:19px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}.more-format{font-weight:800;letter-spacing:1px}.paragraph-editor{z-index:13;box-sizing:border-box;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;overflow:visible}.paragraph-editor.preserve-original-lines{white-space:pre;overflow-wrap:normal;word-break:normal}.paragraph-editor.wrap-enabled{white-space:pre-wrap;overflow-wrap:break-word;word-break:normal}.paragraph-box{position:absolute;z-index:12;pointer-events:none;box-sizing:border-box;border:1px solid rgba(111,75,232,.72);border-radius:2px;background:transparent}.paragraph-resize-handle{position:absolute;z-index:16;width:12px;min-width:12px;height:12px;min-height:12px;padding:0;border:2px solid #fff;border-radius:3px;background:#6f4be8;box-shadow:0 0 0 1px #6f4be8;cursor:nwse-resize;touch-action:none}.advanced-format-popover{position:absolute;z-index:18;width:280px;display:grid;gap:9px;padding:11px;border:1px solid #dcd7e8;border-radius:10px;background:#fff;box-shadow:0 10px 30px #1f193629;pointer-events:auto}.advanced-format-popover label{display:grid;grid-template-columns:1fr 78px auto;align-items:center;gap:7px;font-size:13px;color:#544e61}.advanced-format-popover input{min-height:32px;height:32px;padding:4px 7px}.advanced-hint{font-size:12px;line-height:1.4;color:#7a7487}.font-warning{position:absolute;z-index:17;max-width:520px;display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid #e3d9ad;border-radius:8px;background:#fffbee;color:#5d5431;font-size:12px;pointer-events:auto;box-shadow:0 6px 18px #2a220c1a}.font-warning strong{white-space:nowrap}.font-warning span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.font-warning button{min-height:28px;padding:3px 8px;margin-left:auto;white-space:nowrap}.find-panel{position:sticky;top:10px;z-index:30;width:min(720px,calc(100% - 24px));margin:0 12px -92px auto;padding:10px;border:1px solid #dcd8e7;border-radius:12px;background:#fffffffa;box-shadow:0 14px 40px #1f19362e}.find-row{display:flex;align-items:center;gap:7px}.find-row+.find-row{margin-top:7px}.find-row input[type=text],.find-row>input:not([type]){flex:1;min-width:0;min-height:34px;height:34px}.find-count{min-width:54px;text-align:center;font-size:12px;color:#726c7e}.find-row button{min-height:34px;height:34px;padding:4px 9px}.match-case{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;color:#655f71}.match-case input{min-height:0;width:15px;height:15px;padding:0}.find-preview{margin-top:6px;font-size:12px;color:#766f82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scan-notice{position:sticky;top:12px;z-index:20;width:min(620px,calc(100% - 24px));margin:0 auto -78px;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:11px 12px;border:1px solid #ddd5fa;border-radius:11px;background:#faf8fffa;box-shadow:0 10px 30px #3126581f}.scan-notice strong{font-size:14px}.scan-notice span{font-size:12px;color:#6b6578}.scan-notice button{grid-column:2;grid-row:1 / span 2}@media(max-width:900px){.v05-formatbar{max-width:calc(100vw - 90px);overflow-x:auto}.find-panel{width:calc(100% - 20px);margin-right:10px}}@media(max-width:620px){.v05-formatbar{max-width:calc(100vw - 28px)}.font-warning{max-width:calc(100vw - 32px);flex-wrap:wrap}.find-row{flex-wrap:wrap}.find-row input{flex-basis:180px}.scan-notice{grid-template-columns:1fr}.scan-notice button{grid-column:1;grid-row:auto}}.paragraph-resize-handle{pointer-events:auto!important;user-select:none;-webkit-user-select:none}.font-warning{max-width:min(680px,calc(100vw - 32px))}.rich-formatbar{min-width:720px;max-width:min(980px,calc(100vw - 28px))}.font-control select{min-width:210px;max-width:280px}.font-device-button,.font-import-button{height:30px;border:1px solid #d9d5e5;border-radius:7px;background:#fff;color:#292536;padding:0 9px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.font-device-button:hover,.font-import-button:hover{border-color:#9c86f1;background:#faf9ff}.font-device-button:disabled{opacity:.6;cursor:wait}@media(max-width:620px){.rich-formatbar{min-width:0}.font-control select{min-width:150px;max-width:190px}.font-device-button{max-width:94px;overflow:hidden;text-overflow:ellipsis}}.scan-ocr-panel{width:min(860px,calc(100% - 24px));grid-template-columns:minmax(220px,1fr) auto auto;gap:8px 12px;margin:12px auto 18px;position:relative;z-index:20}.scan-copy{display:grid;gap:3px;min-width:0}.scan-copy strong{font-size:14px}.scan-copy span{font-size:12px;color:#6b6578;line-height:1.35}.ocr-error{color:#a52828!important;font-weight:650;background:#fff3f2;border:1px solid #f0c9c5;border-radius:7px;padding:6px 8px}.scanned-page-awaiting-ocr{cursor:default}.ocr-language{display:flex;align-items:center;gap:7px;font-size:12px;color:#655f71;white-space:nowrap}.ocr-language select{min-height:34px;height:34px;max-width:235px;border:1px solid #ccc7dc;border-radius:8px;background:#fff;padding:4px 8px}.scan-notice .ocr-run-button{grid-column:auto;grid-row:auto;min-height:34px;height:34px;white-space:nowrap}.ocr-progress{grid-column:1 / -1;height:5px;border-radius:999px;background:#ebe7f8;overflow:hidden}.ocr-progress span{display:block;height:100%;min-width:2px;border-radius:inherit;background:#6f4be8;transition:width .15s ease}.ocr-text-hit{border-color:#6f4be842}.ocr-text-hit:hover,.ocr-text-hit:focus-visible{border-color:#6f4be8!important;background:transparent!important}.scan-edit-mask{position:absolute;z-index:11;pointer-events:none}@media(max-width:760px){.scan-ocr-panel{grid-template-columns:1fr;margin:10px auto 16px}.ocr-language{justify-content:space-between}.ocr-language select{flex:1;max-width:none}.scan-notice .ocr-run-button{width:100%}}.text-hit-constrained{cursor:not-allowed!important;border-style:dashed!important;border-color:transparent!important}.text-hit-constrained:hover,.text-hit-constrained:focus-visible,.text-hit-constrained:active{cursor:not-allowed!important;border-style:dashed!important;border-color:#685e7a9e!important;background:transparent!important;box-shadow:none!important}@media(max-width:620px){.inline-formatbar.v05-formatbar{left:8px!important;right:8px;max-width:calc(100vw - 16px);min-width:0;overscroll-behavior-x:contain;scrollbar-width:thin}.inline-formatbar button,.font-device-button,.font-import-button,.size-control input,.font-control select{min-height:36px}.paragraph-resize-handle{width:18px;min-width:18px;height:18px;min-height:18px;margin:-3px}.find-panel{max-height:min(48vh,360px);overflow:auto}.statusbar{flex-wrap:wrap;gap:6px;padding-inline:10px}}.text-hit-layer.inactive,.text-hit-layer.inactive .text-hit{pointer-events:none}.tool-switcher{display:inline-flex;align-items:center;gap:3px;padding:2px;border:1px solid #e0dce9;border-radius:9px;background:#faf9fc}.tool-switcher .tool-tab{min-height:32px;height:32px;padding:4px 12px;border-color:transparent;background:transparent}.tool-switcher .tool-tab.active{color:#5d35cc;border-color:#c8baf8;background:#f1edff;font-weight:750}.object-add-button.active{color:#5d35cc;border-color:#9e88ef;background:#f2eeff}.image-hit-layer,.link-hit-layer,.link-draw-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10}.image-object-hit,.link-object-hit{position:absolute;pointer-events:auto;padding:0;min-width:0;min-height:0;border-radius:2px;background:transparent;touch-action:none}.image-object-hit{border:1px solid transparent;cursor:move}.image-object-hit:hover,.image-object-hit.selected{border-color:#6f4be8;box-shadow:0 0 0 1px #6f4be826}.image-object-hit,.image-object-hit:hover:not(:disabled),.image-object-hit:focus-visible,.image-object-hit:active,.image-object-hit.selected{background:transparent!important}.image-object-hit:focus-visible{outline:2px solid rgba(111,75,232,.28);outline-offset:1px}.image-object-hit.protected{cursor:not-allowed;border-style:dashed}.image-object-hit.protected:hover{border-color:#685e7a99;box-shadow:none}.object-floating-toolbar{position:absolute;z-index:24;pointer-events:auto;display:flex;align-items:center;gap:4px;min-height:36px;padding:4px;border:1px solid #d9d5e5;border-radius:9px;background:#fff;box-shadow:0 8px 24px #1d16342e;white-space:nowrap}.object-floating-toolbar button{min-height:30px;height:30px;padding:3px 9px}.danger-lite{color:#9c2c2c!important}.image-resize-handle{position:absolute;z-index:25;pointer-events:auto;width:16px;min-width:16px;height:16px;min-height:16px;padding:0;border:2px solid #fff;border-radius:4px;background:#6f4be8;box-shadow:0 0 0 1px #6f4be8;touch-action:none}.image-resize-handle.nw,.image-resize-handle.se{cursor:nwse-resize}.image-resize-handle.ne,.image-resize-handle.sw{cursor:nesw-resize}.image-toolbar-label{display:inline-flex;align-items:center;max-width:150px;padding-inline:5px;color:#544c65;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis}.image-object-toolbar{max-width:calc(100% - 8px)}.link-object-hit{border:1px dashed rgba(111,75,232,.75);cursor:pointer}.link-object-hit:hover,.link-object-hit.selected{border-style:solid;border-color:#5d35cc;box-shadow:0 0 0 2px #6f4be81c}.link-draft-rect{position:absolute;z-index:21;pointer-events:none;box-sizing:border-box;border:2px solid #6f4be8;background:#6f4be814}.link-draw-layer{z-index:22;pointer-events:auto;cursor:crosshair;touch-action:none}.link-object-panel{position:absolute;z-index:26;pointer-events:auto;display:flex;align-items:center;gap:5px;max-width:calc(100% - 8px);min-height:42px;padding:5px;border:1px solid #d9d5e5;border-radius:10px;background:#fff;box-shadow:0 9px 28px #1d163430}.link-object-panel select{width:124px;min-height:32px;height:32px}.link-object-panel input{width:190px;min-height:32px;height:32px}.link-object-panel button{min-height:32px;height:32px;padding:4px 9px}@media(max-width:760px){.tool-switcher .tool-tab{padding-inline:9px}.link-object-panel{max-width:calc(100vw - 24px);flex-wrap:wrap}.link-object-panel input{flex:1 1 170px;width:auto}}.text-hit-layer{z-index:11}.text-hit{border-width:1.5px}.text-hit:hover,.text-hit:focus-visible{border-color:#6f4be8!important;background:transparent!important;box-shadow:0 0 0 2px #6f4be81a!important}.text-hit:active{border-color:#5d35cc!important;box-shadow:0 0 0 2px #6f4be829!important}.paragraph-box{border-width:2px;border-color:#6f4be8;box-shadow:0 0 0 2px #6f4be817}.toolbar-note{font-size:12px;color:#746d80;white-space:nowrap}.form-hit-layer,.signature-hit-layer,.fill-sign-place-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:14}.form-field-hit{position:absolute;pointer-events:auto;min-width:0;min-height:0;padding:0;border:1.5px solid rgba(111,75,232,.38);border-radius:3px;background:#6f4be806;box-shadow:none;cursor:pointer}.form-field-hit:hover,.form-field-hit.selected{border-color:#6f4be8;background:#6f4be80f;box-shadow:0 0 0 2px #6f4be81a}.form-field-hit.readonly{cursor:not-allowed;border-style:dashed;border-color:#685e7a8c}.form-field-hit.unsupported{cursor:not-allowed;border-style:dashed;background:#685e7a06}.form-field-hit.form-checkbox.checked,.form-field-hit.form-radio.checked{box-shadow:0 0 0 2px #6f4be829}.sign-toolbar{display:inline-flex;align-items:center;gap:4px;min-width:0}.sign-toolbar input{width:150px;min-height:32px;height:32px;border:1px solid #d9d5e5;border-radius:8px;padding:4px 8px}.sign-toolbar button{min-height:32px;height:32px;padding:4px 9px}.sign-toolbar button.active{color:#5d35cc;border-color:#a991f3;background:#f1edff}.sign-toolbar .mark-button{min-width:34px;padding-inline:6px;font-size:17px;line-height:1}.fill-sign-place-layer{z-index:29;pointer-events:auto;cursor:crosshair;touch-action:none}.signature-hit-layer{z-index:18;pointer-events:auto;touch-action:none}.signature-object-hit{position:absolute;pointer-events:none;min-width:0;min-height:0;padding:0;border:1px solid transparent;border-radius:2px;background:transparent;cursor:move;touch-action:none}.signature-object-hit:hover,.signature-object-hit.selected{border-color:#6f4be8;box-shadow:0 0 0 2px #6f4be81f}.signature-object-hit.fill-sign-text.selected{background:#6f4be809}.signature-object-toolbar span{padding:0 5px;font-size:12px;color:#5f586b}.signature-resize-handle{position:absolute;z-index:32;pointer-events:auto;width:16px;min-width:16px;height:16px;min-height:16px;padding:0;border:2px solid #fff;border-radius:4px;background:#6f4be8;box-shadow:0 0 0 1px #6f4be8;cursor:nwse-resize;touch-action:none}.shortcut-button{color:#5d35cc;border-color:#d4cbed;background:#fbfaff;font-weight:700}.shortcut-button:hover:not(:disabled){border-color:#a994ef;background:#f2eeff}.shortcut-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:130;display:grid;place-items:center;padding:20px;background:#1814225c}.shortcut-dialog{width:min(760px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;padding:18px;border:1px solid #ded8e8;border-radius:16px;background:#fff;box-shadow:0 24px 70px #18142247}.shortcut-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #ece8f1}.shortcut-dialog-head>div{display:grid;gap:4px}.shortcut-dialog-head strong{font-size:19px}.shortcut-dialog-head span{color:#746e7d;font-size:13px}.shortcut-dialog-head button{min-width:34px;height:34px;padding:0}.shortcut-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.shortcut-groups section{padding:14px;border:1px solid #e5e0ec;border-radius:12px;background:#fbfafe}.shortcut-groups h3{margin:0 0 10px;color:#3b3548;font-size:14px}.shortcut-groups dl{display:grid;gap:9px;margin:0}.shortcut-groups dl>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.shortcut-groups dt{color:#625b6d;font-size:13px}.shortcut-groups dd{margin:0;color:#3d3748;font-size:12px;text-align:right}.shortcut-groups kbd{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:23px;padding:2px 6px;border:1px solid #d5cee3;border-bottom-width:2px;border-radius:6px;background:#fff;color:#3f384c;font-family:inherit;font-size:11px;font-weight:700;box-shadow:0 1px #20192e0f}@media(max-width:620px){.shortcut-modal-backdrop{padding:10px}.shortcut-dialog{padding:13px;border-radius:13px}.shortcut-groups{grid-template-columns:1fr}}.signature-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:20px;background:#18142259}.signature-dialog{width:min(720px,100%);max-height:min(720px,calc(100vh - 40px));overflow:auto;border:1px solid #ded8e8;border-radius:16px;background:#fff;box-shadow:0 24px 70px #18142247;padding:16px}.signature-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.signature-dialog-head>div{display:grid;gap:4px}.signature-dialog-head strong{font-size:18px}.signature-dialog-head span{font-size:12px;color:#746e7d}.signature-dialog-head button{min-width:34px;height:34px;padding:0}.signature-tabs{display:inline-flex;gap:3px;margin:14px 0;padding:3px;border:1px solid #e1dce9;border-radius:9px;background:#faf9fc}.signature-tabs button{min-height:34px;border-color:transparent;background:transparent}.signature-tabs button.active{color:#5d35cc;border-color:#c7b9f7;background:#f1edff;font-weight:750}.signature-tab-body{display:grid;gap:12px}.signature-name-input,.signature-tab-body select{min-height:38px;border:1px solid #d7d1e0;border-radius:8px;padding:6px 9px;font:inherit}.typed-signature-preview{display:flex;align-items:center;min-height:120px;padding:18px 22px;border:1px solid #e2ddeb;border-radius:12px;background:#fcfbff;font-size:clamp(34px,7vw,64px);overflow:hidden}.signature-draw-canvas{width:100%;height:180px;border:1px solid #ddd7e7;border-radius:12px;background:#fff;touch-action:none;cursor:crosshair}.signature-dialog-actions{display:flex;justify-content:flex-end;gap:7px}.signature-upload-body{min-height:170px;place-items:center;text-align:center;align-content:center;border:1px dashed #cfc5e8;border-radius:12px;background:#fbfaff}.signature-upload-body p{margin:0;color:#716a7c;font-size:13px}@media(max-width:900px){.toolbar{flex-wrap:wrap}.sign-toolbar{flex:1 1 100%;overflow-x:auto;padding-bottom:2px}.sign-toolbar input{flex:1 0 130px}}@media(max-width:620px){.tool-switcher{max-width:calc(100vw - 28px);overflow-x:auto}.signature-dialog{padding:12px;border-radius:13px}.signature-modal-backdrop{padding:10px}}.upload-card.drag-active{border-color:#6f4be8;box-shadow:0 18px 55px #2c1f5b14,0 0 0 4px #6f4be81f}.upload-card.drag-active .upload-hitarea{background:#f5f1ff}.form-inline-editor,.form-inline-signature{position:absolute;z-index:34;pointer-events:auto;margin:0;box-sizing:border-box;border:2px solid #6f4be8;border-radius:3px;box-shadow:0 0 0 2px #6f4be824,0 4px 16px #23194024}.form-inline-editor{min-width:0;min-height:0;padding:2px 4px;background:#fffffff7;color:#17141e;font-family:Arial,Helvetica,sans-serif;line-height:1.15}textarea.form-inline-editor{resize:none;overflow:auto}.form-inline-select{cursor:pointer;font-size:13px}.form-inline-signature{min-width:0;min-height:0;padding:2px 7px;background:#f6f3fff5;color:#5d35cc;font-size:12px;font-weight:750}.form-inline-message{position:absolute;z-index:35;pointer-events:none;max-width:min(320px,calc(100% - 12px));padding:5px 8px;border:1px solid #ddd7e7;border-radius:7px;background:#fffffff7;color:#6f6878;box-shadow:0 4px 14px #221b311f;font-size:11px}.signature-object-hit{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;will-change:left,top,width,height}.signature-object-hit:active{cursor:grabbing;border-color:#5d35cc;background:#6f4be80b}:root{background:#fff}html{background:#fff}body{background:#fff;color:#24212d}body,button,input,textarea,select{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit}.app-shell{min-height:0;display:block;background:#fff;padding:0 0 76px}.tool-intro{width:min(1040px,calc(100% - 40px));margin:58px auto 30px;text-align:center}.tool-eyebrow,.section-kicker,.editor-title-kicker{color:#6f4be8;font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.tool-intro h1{margin:9px 0 12px;color:#201d29;font-size:clamp(38px,5vw,58px);line-height:1.04;letter-spacing:-.045em}.tool-intro>p{max-width:760px;margin:0 auto;color:#625d6c;font-size:18px;line-height:1.65}.tool-trust-row{margin-top:22px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px}.tool-trust-row span{padding:7px 11px;border:1px solid #e5dff7;border-radius:999px;background:#faf8ff;color:#5d566b;font-size:13px;font-weight:700}.upload-card{width:min(1200px,calc(100% - 40px));min-height:336px;margin:0 auto 42px;border:1px solid #dcd4f7;border-radius:24px;background:#fff;box-shadow:0 18px 55px #37286d14;overflow:hidden}.upload-card input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.upload-hitarea{min-height:336px;padding:42px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;outline:none;background:radial-gradient(circle at 50% 0%,rgba(129,95,240,.09),transparent 43%),linear-gradient(180deg,#fff,#fbfaff);transition:background .18s ease,box-shadow .18s ease}.upload-hitarea:hover,.upload-hitarea:focus-visible{background:#faf8ff;box-shadow:inset 0 0 0 2px #6f4be824}.upload-icon-wrap{width:72px;height:72px;display:grid;place-items:center;margin-bottom:16px;border-radius:20px;background:#f1edff;color:#6f4be8}.upload-pdf-icon{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.upload-hitarea strong{color:#24202e;font-size:25px;line-height:1.2}.upload-hitarea .upload-subcopy{margin-top:8px;color:#6f6879;font-size:16px}.upload-choice-button{margin-top:18px;min-width:134px;padding:10px 18px;border-radius:10px;background:#6f4be8;color:#fff!important;font-size:15px!important;font-weight:800;box-shadow:0 8px 20px #6f4be82e}.upload-hitarea small{margin-top:15px;color:#817a8d;font-size:13px}.upload-card.drag-active{border-color:#6f4be8;box-shadow:0 18px 55px #37286d14,0 0 0 4px #6f4be81f}.upload-card.drag-active .upload-hitarea{background:#f4f0ff}.topbar.editor-topbar{width:min(1600px,calc(100% - 24px));min-height:66px;margin:24px auto 0;padding:11px 14px 11px 18px;border:1px solid #ddd8e8;border-bottom:0;border-radius:18px 18px 0 0;background:#fff;box-shadow:0 12px 34px #241d3a12}.editor-title{display:grid;gap:3px}.editor-title strong{font-size:18px;letter-spacing:-.015em}.filename-wrap{display:flex;gap:9px;align-items:center}.filename-wrap input{width:min(34vw,390px);min-height:42px;border-color:#d5cfe1;background:#fbfafe}.filename-wrap button.primary{min-height:42px;padding-inline:17px;font-size:15px}.filename-wrap .restart-pdf-button{min-height:42px;white-space:nowrap;border-color:#cec5e5;color:#5d35cc;background:#faf8ff;font-weight:700}.filename-wrap .restart-pdf-button:hover:not(:disabled){border-color:#9f8bea;background:#f2eeff}.editor-shell.editor-shell-inline{width:min(1600px,calc(100% - 24px));height:min(78vh,920px);min-height:620px;margin:0 auto;grid-template-columns:88px minmax(0,1fr);border:1px solid #ddd8e8;border-radius:0 0 18px 18px;background:#efedf3;overflow:hidden;box-shadow:0 18px 46px #241d3a1a}.sidepanel{background:#fbfafe;border-right-color:#ddd8e8}.panel-title{color:#716b7b;font-size:11px;letter-spacing:.1em}.page-chip{min-height:38px;border-radius:9px}.page-chip.active{color:#5d35cc;background:#eee9ff;border-color:#b9a8f6}.workspace{min-height:0;grid-template-rows:auto minmax(0,1fr)}.toolbar{min-height:56px;padding:8px 12px;gap:7px;border-bottom-color:#ddd8e8;background:#fffffffa;overflow-x:auto;scrollbar-width:thin}.toolbar button{min-height:36px;border-radius:8px}.toolbar-divider{background:#e5e0eb}.tool-switcher{border-color:#dfd9e9;background:#faf9fc;border-radius:10px}.tool-switcher .tool-tab{min-height:34px;height:34px;padding-inline:12px}.tool-switcher .tool-tab.active{color:#5d35cc;border-color:#c3b4f6;background:#eee9ff}.stage-scroll{padding:34px;background:#efedf3}.stage-scroll:focus-visible{outline:2px solid rgba(111,75,232,.55);outline-offset:-2px}.page-stage{box-shadow:0 14px 38px #1c172c33}.statusbar.tool-statusbar{width:min(1600px,calc(100% - 24px));min-height:42px;margin:10px auto 52px;padding:9px 14px;border:0;border-radius:11px;background:#f8f7fb;color:#655f70;font-size:13px}.statusbar.tool-statusbar.upload-status{width:min(1200px,calc(100% - 40px));margin-top:-26px;margin-bottom:58px}.status-dot{background:#2ca56b}.status-dot.busy{background:#6f4be8}.ui-checkbox{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:34px;cursor:pointer;-webkit-user-select:none;user-select:none}.ui-checkbox-input{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}.ui-checkbox-visual{width:18px;height:18px;display:inline-grid;place-items:center;flex:0 0 18px;border:1.5px solid #aaa2bb;border-radius:5px;background:#fff;color:#fff;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease}.ui-checkbox-input:checked+.ui-checkbox-visual{border-color:#6f4be8;background:#6f4be8}.ui-checkbox-input:checked+.ui-checkbox-visual:after{content:"✓";transform:translateY(-.5px);color:#fff;font-size:13px;font-weight:900;line-height:1}.ui-checkbox-input:focus-visible+.ui-checkbox-visual{box-shadow:0 0 0 3px #6f4be830}.match-case{padding:0 3px;color:#625c6e;font-size:13px}.tool-content{width:min(1180px,calc(100% - 40px));margin:0 auto;display:grid;gap:74px}.standard-section>h2{margin:7px 0 24px;color:#24202e;font-size:clamp(28px,3.4vw,38px);line-height:1.14;letter-spacing:-.035em}.how-grid,.feature-grid,.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.how-card,.feature-card{position:relative;min-width:0;border:1px solid #e1dcef;border-radius:18px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.how-card{padding:24px;background:#fff}.step-number{display:block;margin-bottom:20px;color:#6f4be8;font-size:13px;font-weight:900;letter-spacing:.1em}.how-card h3,.feature-card h3,.related-card h3{margin:0 0 8px;color:#282431;font-size:18px;line-height:1.3}.how-card p,.feature-card p,.related-card p{margin:0;color:#6b6575;font-size:15px;line-height:1.65}.feature-card{min-height:176px;padding:25px 24px;overflow:hidden;background:linear-gradient(145deg,#f8f5ff,#f2edff)}.feature-card:after{content:"";position:absolute;top:-34px;right:-28px;width:108px;height:108px;border-radius:50%;background:#815ff01c;transition:transform .18s ease,background .18s ease}.feature-card h3,.feature-card p{position:relative;z-index:1}.guidance-card{padding:28px 30px;border:1px solid #e0daf0;border-radius:20px;background:#faf8ff}.guidance-card p{margin:0;color:#5f596a;font-size:15px;line-height:1.78}.guidance-card p+p{margin-top:14px}.guidance-card a{color:#5d35cc;font-weight:750;text-decoration-thickness:1px;text-underline-offset:3px}.faq-list{display:grid;gap:11px}.faq-list details{position:relative;overflow:hidden;border:1px solid #e1dcef;border-radius:14px;background:#fff;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}.faq-list details:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:transparent;transition:background .18s ease}.faq-list details:hover{border-color:#cfc2f7;background:#fbf9ff}.faq-list details[open]{border-color:#c9bbf5;background:#f7f3ff;box-shadow:0 7px 20px #3d2d750f}.faq-list details[open]:before{background:#6f4be8}.faq-list summary{position:relative;padding:18px 52px 18px 20px;cursor:pointer;list-style:none;color:#302b39;font-size:16px;font-weight:780}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"+";position:absolute;top:50%;right:20px;transform:translateY(-50%);color:#6f4be8;font-size:22px;font-weight:600}.faq-list details[open] summary:after{content:"−"}.faq-list details>div{padding:0 20px 19px}.faq-list p{margin:0;color:#655f6f;font-size:15px;line-height:1.7}.faq-list summary:focus-visible{outline:3px solid rgba(111,75,232,.2);outline-offset:-3px;border-radius:12px}.related-card{position:relative;min-height:132px;padding:21px 48px 21px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;overflow:hidden;border:1px solid #e1dcef;border-radius:16px;background:#fff;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.related-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#d9cffb;transition:width .18s ease,background .18s ease}.related-card>span{color:#6f4be8;font-size:22px;transition:transform .18s ease}.related-card:focus-visible{outline:3px solid rgba(111,75,232,.2);outline-offset:3px}@media(hover:hover)and (pointer:fine){.how-card:hover,.feature-card:hover{transform:translateY(-3px);border-color:#c7b8f5;box-shadow:0 13px 28px #4b378c1a}.feature-card:hover:after{transform:scale(1.08);background:#815ff026}.related-card:hover{transform:translateY(-2px);border-color:#c7b8f5;box-shadow:0 10px 24px #4b378c14}.related-card:hover:before{width:6px;background:#6f4be8}.related-card:hover>span{transform:translate(3px)}}@media(max-width:900px){.tool-intro{margin-top:44px}.editor-shell.editor-shell-inline{height:min(76vh,860px);min-height:580px;grid-template-columns:68px minmax(0,1fr)}.topbar.editor-topbar{gap:14px}.how-grid,.feature-grid,.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.app-shell{padding-bottom:54px;overflow-x:clip}.tool-intro{width:calc(100% - 28px);margin:34px auto 22px}.tool-intro h1{margin-top:7px;font-size:36px}.tool-intro>p{font-size:16px;line-height:1.6}.tool-trust-row{gap:7px}.tool-trust-row span{padding:6px 9px;font-size:12px}.upload-card{width:calc(100% - 24px);min-height:304px;margin-bottom:34px;border-radius:18px}.upload-hitarea{min-height:304px;padding:30px 18px}.upload-icon-wrap{width:62px;height:62px;border-radius:17px}.upload-pdf-icon{width:35px;height:35px}.upload-hitarea strong{font-size:22px}.upload-hitarea .upload-subcopy{font-size:15px}.topbar.editor-topbar{width:calc(100% - 12px);margin-top:10px;padding:12px;flex-direction:column;align-items:stretch;border-radius:14px 14px 0 0}.filename-wrap{width:100%}.filename-wrap input{width:0;min-width:0;flex:1}.filename-wrap button.primary{flex:0 0 auto;min-width:116px}.filename-wrap .restart-pdf-button{order:3;width:100%}.editor-shell.editor-shell-inline{width:calc(100% - 12px);height:auto;min-height:72vh;grid-template-columns:1fr;border-radius:0 0 14px 14px}.workspace{min-height:72vh}.toolbar{min-height:54px;padding:7px 9px;flex-wrap:nowrap;overflow-x:auto}.toolbar>*{flex:0 0 auto}.tool-switcher{max-width:none;overflow:visible}.stage-scroll{padding:16px 12px 24px}.statusbar.tool-statusbar{width:calc(100% - 20px);margin-top:9px;margin-bottom:42px}.statusbar.tool-statusbar.upload-status{width:calc(100% - 24px);margin-top:-20px;margin-bottom:44px}.tool-content{width:calc(100% - 28px);gap:56px}.standard-section>h2{margin-bottom:18px;font-size:28px}.how-grid,.feature-grid,.related-grid{grid-template-columns:1fr;gap:12px}.how-card,.feature-card,.related-card{transform:none!important}.how-card{padding:21px}.feature-card{min-height:0;padding:22px 21px}.guidance-card{padding:22px 20px;border-radius:16px}.related-card{min-height:0;padding:19px 46px 19px 20px}.faq-list summary{padding:17px 48px 17px 17px}.faq-list details>div{padding:0 17px 17px}}@media(prefers-reduced-motion:reduce){.how-card,.feature-card,.feature-card:after,.related-card,.related-card:before,.related-card>span,.faq-list details,.upload-hitarea{transition:none!important}.how-card:hover,.feature-card:hover,.related-card:hover{transform:none!important}}html.motricialy-pdf-editor-active [data-motricialy-site-footer]{display:none!important}.app-shell.document-open{width:100%;max-width:none;padding:0;background:#f7f6fa}.app-shell.document-open .topbar.editor-topbar,.app-shell.document-open .editor-shell.editor-shell-inline,.app-shell.document-open .statusbar.tool-statusbar.editor-status{width:calc(100% - 24px);max-width:none;margin-left:12px;margin-right:12px}.app-shell.document-open .topbar.editor-topbar{margin-top:12px;border:1px solid #d9d2e8;border-bottom:0;border-radius:14px 14px 0 0;box-shadow:none}.app-shell.document-open .editor-shell.editor-shell-inline{height:calc(100vh - 152px);min-height:680px;margin-top:0;border:1px solid #d9d2e8;border-top:1px solid #e5e0ed;border-bottom:0;border-radius:0;box-shadow:none}.app-shell.document-open .statusbar.tool-statusbar.editor-status{min-height:42px;margin-top:0;margin-bottom:12px;border:1px solid #d9d2e8;border-top:1px solid #e5e0ed;border-radius:0 0 14px 14px;background:#fff}@media(max-width:900px){.app-shell.document-open .editor-shell.editor-shell-inline{height:calc(100vh - 162px);min-height:620px}}@media(max-width:620px){.app-shell.document-open .topbar.editor-topbar,.app-shell.document-open .editor-shell.editor-shell-inline,.app-shell.document-open .statusbar.tool-statusbar.editor-status{width:calc(100% - 12px);margin-left:6px;margin-right:6px}.app-shell.document-open .topbar.editor-topbar{margin-top:6px;border-radius:12px 12px 0 0}.app-shell.document-open .editor-shell.editor-shell-inline{height:auto;min-height:76vh;border-radius:0}.app-shell.document-open .statusbar.tool-statusbar.editor-status{margin-top:0;margin-bottom:6px;border-radius:0 0 12px 12px}}.toolbar{flex-wrap:wrap;overflow-x:auto}.toolbar>*{flex-shrink:0}.toolbar button,.tool-switcher,.sign-toolbar{white-space:nowrap;flex-shrink:0}.sign-toolbar{min-width:max-content}.sign-toolbar input,.sign-toolbar button{flex-shrink:0}@media(max-width:620px){.toolbar{flex-wrap:nowrap}.sign-toolbar{flex:0 0 auto}}.inline-edit-error{position:absolute;z-index:19;max-width:min(620px,calc(100% - 16px));display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border:1px solid #e5c1c1;border-radius:8px;background:#fff7f7;color:#6f2d2d;box-shadow:0 8px 22px #5423231f;pointer-events:none;font-size:12px;line-height:1.4}.inline-edit-error strong{white-space:nowrap}.inline-edit-error span{overflow-wrap:anywhere}.editor-shell.editor-shell-inline{grid-template-columns:calc(var(--page-thumb-width, 96px) + 28px) minmax(0,1fr)}.page-thumbnail-panel{min-width:0;overflow:auto;scrollbar-width:thin;padding:12px 10px 14px}.page-panel-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:6px;margin:-2px -2px 10px;padding:2px 2px 8px;background:#fbfafe}.page-panel-head .panel-title{margin:0}.thumbnail-size-controls{display:inline-flex;align-items:center;gap:3px}.thumbnail-size-controls button{width:25px;height:25px;min-height:25px;padding:0;border-radius:7px;color:#5d35cc;background:#fff;border-color:#d8d0eb;font-size:17px;line-height:1}.thumbnail-size-controls button:hover:not(:disabled){border-color:#9f8bea;background:#f2eeff}.page-management-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 6px}.page-management-actions button{min-width:0;min-height:30px;padding:4px 3px;border-radius:7px;border-color:#d8d0eb;background:#fff;color:#5d35cc;font-size:15px;line-height:1}.page-management-actions button:hover:not(:disabled){border-color:#9f8bea;background:#f2eeff}.page-management-actions .page-delete-action{grid-column:span 2;font-size:11px;font-weight:750;color:#8b3444}.page-management-actions .page-delete-action:hover:not(:disabled){border-color:#deb9c0;background:#fff5f6}.page-management-hint{margin:0 0 8px;color:#837b90;font-size:10px;line-height:1.25;text-align:center}.page-list{display:grid;gap:10px}.page-thumbnail{width:100%;min-width:0;display:grid;gap:5px;padding:6px;border:1px solid transparent;border-radius:10px;background:transparent;color:#6c6577;text-align:center}.page-thumbnail:hover:not(:disabled){border-color:#cfc4ef;background:#f7f4ff}.page-thumbnail.active{border-color:#a995f4;background:#eee9ff;color:#5d35cc;box-shadow:0 0 0 1px #6f4be812}.page-thumbnail.dragging{opacity:.45}.page-thumbnail.drop-target{border-color:#6f4be8;background:#f0ecff;box-shadow:inset 0 0 0 1px #6f4be8}.page-thumbnail[draggable=true]{cursor:grab}.page-thumbnail[draggable=true]:active{cursor:grabbing}.page-thumbnail-preview{width:100%;min-height:58px;display:grid;place-items:center;overflow:hidden;border:1px solid #ded9e8;border-radius:5px;background:#fff;box-shadow:0 3px 9px #1f193014}.page-thumbnail.active .page-thumbnail-preview{border-color:#a995f4}.page-thumbnail-preview img{display:block;width:100%;height:auto;background:#fff;pointer-events:none}.page-thumbnail-loading{width:72%;aspect-ratio:.77;border-radius:3px;background:linear-gradient(110deg,#f2f0f6 30%,#faf9fc,#f2f0f6 60%);background-size:220% 100%;animation:page-thumb-loading 1.15s linear infinite}.page-thumbnail-label{font-size:11px;font-weight:750;line-height:1.2}@keyframes page-thumb-loading{to{background-position-x:-220%}}@media(max-width:900px){.editor-shell.editor-shell-inline{grid-template-columns:calc(var(--page-thumb-width, 96px) + 24px) minmax(0,1fr)}.page-thumbnail-panel{padding-inline:8px}}@media(max-width:620px){.editor-shell.editor-shell-inline{grid-template-columns:1fr}.page-thumbnail-panel{display:none}}@media(prefers-reduced-motion:reduce){.page-thumbnail-loading{animation:none}}.editor-commandbar{position:relative;gap:6px;min-height:58px;padding:9px 14px;border-bottom:1px solid #e4e0eb;background:#fffffffb;box-shadow:0 1px #2e254605,0 5px 18px #2e254609}.editor-commandbar>button,.editor-commandbar .tool-tab{min-height:36px;height:36px;border-radius:9px;border-color:transparent;background:transparent;color:#4f495a;font-weight:650}.editor-commandbar>button:hover:not(:disabled),.editor-commandbar .tool-tab:hover:not(:disabled){background:#f5f2fb;border-color:#e7e0f5;color:#2f2939}.editor-commandbar .history-button{color:#655f70;font-weight:600}.editor-commandbar .toolbar-divider{width:1px;height:26px;margin-inline:3px;background:#e7e3ec}.editor-commandbar .tool-switcher{gap:2px;padding:3px;border:1px solid #ded8ea;border-radius:11px;background:#f8f6fb;box-shadow:inset 0 1px #ffffffd9}.editor-commandbar .tool-switcher .tool-tab{padding-inline:14px}.editor-commandbar .tool-switcher .tool-tab.active{color:#5d35cc;border-color:#cbbff5;background:#fff;box-shadow:0 1px 3px #4431781a,0 0 0 1px #6f4be80a}.editor-commandbar .object-add-button{border-color:#ded8ea;background:#fff;color:#493f5c}.editor-commandbar .object-add-button:hover:not(:disabled){border-color:#b9aaf1;background:#f5f1ff;color:#5d35cc}.inline-formatbar.v05-formatbar{min-height:44px;gap:3px;padding:5px 6px;border:1px solid #d9d2e7;border-radius:12px;background:#fffffffc;box-shadow:0 10px 30px #1f183329,0 2px 8px #1f183314}.inline-formatbar.v05-formatbar button{min-width:32px;height:32px;min-height:32px;padding:4px 8px;border-color:transparent;border-radius:7px;background:transparent}.inline-formatbar.v05-formatbar button:hover:not(:disabled){border-color:#e4ddf2;background:#f5f2fb}.inline-formatbar.v05-formatbar .format-button.active,.inline-formatbar.v05-formatbar .align-button.active,.inline-formatbar.v05-formatbar .more-format.active{color:#5d35cc;border-color:#c9bbf5;background:#eee9ff}.inline-formatbar.v05-formatbar .format-done{color:#fff;border-color:#6f4be8;background:#6f4be8;box-shadow:0 2px 5px #5d35cc33}.inline-formatbar.v05-formatbar .format-done:hover:not(:disabled){background:#5d35cc;border-color:#5d35cc}.inline-formatbar.v05-formatbar .font-control select{min-width:210px;height:32px;min-height:32px;padding:3px 30px 3px 9px;border-color:#dcd6e7;border-radius:8px;background:#fff}.inline-formatbar.v05-formatbar .font-device-button,.inline-formatbar.v05-formatbar .font-import-button{border-color:#dfd9e9;background:#faf9fc;font-size:12px;font-weight:650}.inline-formatbar.v05-formatbar .size-control{gap:4px;height:32px;padding:0 2px 0 5px;border-left:1px solid #ebe7f0}.inline-formatbar.v05-formatbar .size-control span{color:#7b7485;font-size:11px}.inline-formatbar.v05-formatbar .size-control input{width:62px;height:32px;min-height:32px;border-color:#dcd6e7;border-radius:8px;text-align:center;font-variant-numeric:tabular-nums}.inline-formatbar.v05-formatbar .color-control{width:32px;height:32px;border-color:#ded8e8;border-radius:8px}.inline-formatbar.v05-formatbar .format-divider{height:24px;background:#e7e3ec}.inline-formatbar.v05-formatbar .drag-handle{width:28px;display:inline-grid;place-items:center;color:#756e80;border-right:1px solid #ebe7f0;border-radius:0}.inline-edit-error{border-color:#f0c7c2;border-left:3px solid #c74c43;background:snow;box-shadow:0 8px 20px #5b27211a}.font-warning{border-left:3px solid #8a6be0}.page-thumbnail-panel{background:#faf9fc;border-right-color:#e2deea}.page-thumbnail{border-radius:10px}.page-thumbnail.active{box-shadow:0 0 0 2px #6f4be82e}.stage-scroll{background:#efedf3}.page-stage{box-shadow:0 16px 42px #231d342e}@media(max-width:760px){.inline-formatbar.v05-formatbar .font-control select{min-width:178px}.editor-commandbar{padding-inline:9px}}.editor-commandbar .toolbar-status{display:inline-flex;align-items:center;justify-content:center;height:36px;min-height:36px;padding:0 4px;line-height:1;font-size:14px;font-weight:600;color:#5f5968;font-variant-numeric:tabular-nums}.editor-commandbar .page-status{min-width:74px}.editor-commandbar .zoom-status{min-width:48px}.link-object-hit{cursor:move;background:transparent!important;touch-action:none}.link-object-hit:hover,.link-object-hit:focus-visible,.link-object-hit:active,.link-object-hit.selected{background:#6f4be80b!important}.link-object-panel{gap:7px;padding:6px 7px;border-color:#d7d1e9}.link-panel-label{flex:0 0 auto;padding:0 3px;font-size:12px;font-weight:800;color:#554b68;white-space:nowrap}.link-resize-handle{position:absolute;z-index:28;width:14px;height:14px;min-width:14px;min-height:14px;padding:0;border:2px solid #fff;border-radius:4px;background:#6f4be8;box-shadow:0 0 0 1px #5d35cc,0 2px 5px #2519492e;pointer-events:auto;touch-action:none}.link-resize-handle.nw,.link-resize-handle.se{cursor:nwse-resize}.link-resize-handle.ne,.link-resize-handle.sw{cursor:nesw-resize}.markup-toolbar{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding:2px;border:1px solid #e3dfea;border-radius:10px;background:#fbfafd}.markup-toolbar>button{min-height:32px;height:32px;padding:4px 9px;border-color:transparent;background:transparent;font-size:13px}.markup-toolbar>button:hover:not(:disabled){border-color:#d0c6f6;background:#f5f1ff}.markup-toolbar>button.active{color:#5d35cc;border-color:#c2b4f4;background:#eee9ff;font-weight:750}.markup-color-control,.markup-width-control{display:inline-flex;align-items:center;gap:5px;padding-inline:6px;color:#696273;font-size:12px;font-weight:650;white-space:nowrap}.markup-color-control input[type=color]{width:28px;min-width:28px;height:28px;padding:2px;border:1px solid #d8d3e1;border-radius:7px;background:#fff}.markup-width-control select{width:54px;min-height:30px;height:30px;padding:2px 5px}.markup-hit-layer,.markup-draw-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;pointer-events:none}.markup-draw-layer{z-index:23;pointer-events:auto;cursor:crosshair;touch-action:none}.markup-tool-note{cursor:cell}.markup-object-hit{position:absolute;z-index:21;pointer-events:auto;min-width:14px;min-height:14px;padding:0;border:1px dashed transparent;border-radius:3px;background:transparent!important;cursor:move;touch-action:none}.markup-object-hit:hover,.markup-object-hit:focus-visible,.markup-object-hit.selected{border-color:#6f4be8;box-shadow:0 0 0 2px #6f4be81f;background:#6f4be809!important}.markup-object-hit.markup-note{border-style:solid}.markup-preview-box{position:absolute;z-index:24;pointer-events:none;box-sizing:border-box}.markup-preview-box.highlight{border:0}.markup-preview-box.rectangle{border-style:solid;background:transparent}.markup-preview-svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:24;pointer-events:none;overflow:visible}.markup-object-toolbar{max-width:calc(100% - 8px)}.markup-selection-outline{position:absolute;z-index:25;pointer-events:none;box-sizing:border-box;border:1px solid #6f4be8;border-radius:3px;box-shadow:0 0 0 1px #6f4be81f}.markup-resize-handle{position:absolute;z-index:27;width:14px;min-width:14px;max-width:14px;height:14px;min-height:14px;max-height:14px;padding:0;border:2px solid #6f4be8;border-radius:50%;background:#fff!important;box-shadow:0 1px 4px #281c4629;pointer-events:auto;touch-action:none;box-sizing:border-box;transition:transform .12s ease,border-color .12s ease,background-color .12s ease}.markup-resize-handle.nw,.markup-resize-handle.se{cursor:nwse-resize}.markup-resize-handle.ne,.markup-resize-handle.sw{cursor:nesw-resize}.markup-resize-handle:hover,.markup-resize-handle:focus-visible{background:#f4f0ff!important;border-color:#5d35cc;transform:scale(1.14)}.note-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:132;display:grid;place-items:center;padding:20px;background:#1814225c}.note-dialog{width:min(480px,100%);padding:16px;border:1px solid #ded8e8;border-radius:15px;background:#fff;box-shadow:0 24px 70px #18142247}.note-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.note-dialog-head>div{display:grid;gap:3px}.note-dialog-head strong{font-size:18px}.note-dialog-head span{color:#746e7d;font-size:12px}.note-dialog-head button{width:34px;min-width:34px;height:34px;padding:0}.note-dialog textarea{width:100%;min-height:132px;resize:vertical;line-height:1.5}.note-dialog-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}@media(max-width:760px){.markup-toolbar{max-width:calc(100vw - 30px);overflow-x:auto}.markup-toolbar>button{padding-inline:8px}.note-modal-backdrop{padding:10px}}.page-management-actions .page-delete-action{grid-column:span 1}.page-management-actions .page-crop-action{font-size:11px;font-weight:750}.page-management-actions .page-crop-action.active{border-color:#8e73eb;background:#eee9ff;box-shadow:inset 0 0 0 1px #6f4be81f}.crop-commandbar{display:inline-flex;align-items:center;gap:6px;padding:3px 5px;border:1px solid #ddd6eb;border-radius:10px;background:#faf9fc}.crop-commandbar-label{padding:0 3px;font-size:12px;font-weight:800;color:#5d35cc}.crop-commandbar button{min-height:30px;height:30px;padding:0 10px;border-radius:8px;font-size:12px}.crop-editor-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:80;overflow:hidden;pointer-events:auto}.crop-frame{position:absolute;box-sizing:border-box;min-width:8px;min-height:8px;border:2px solid #6f4be8;background:#6f4be806;box-shadow:0 0 0 9999px #1f1b2a7a;cursor:move;touch-action:none;pointer-events:auto}.crop-frame:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to right,transparent 33.2%,rgba(111,75,232,.22) 33.2%,rgba(111,75,232,.22) 33.55%,transparent 33.55%,transparent 66.45%,rgba(111,75,232,.22) 66.45%,rgba(111,75,232,.22) 66.8%,transparent 66.8%),linear-gradient(to bottom,transparent 33.2%,rgba(111,75,232,.22) 33.2%,rgba(111,75,232,.22) 33.55%,transparent 33.55%,transparent 66.45%,rgba(111,75,232,.22) 66.45%,rgba(111,75,232,.22) 66.8%,transparent 66.8%);pointer-events:none}.crop-size-label{position:absolute;left:50%;bottom:8px;transform:translate(-50%);padding:4px 7px;border-radius:7px;background:#201b2dc7;color:#fff;font-size:11px;font-weight:700;line-height:1;white-space:nowrap;pointer-events:none}.crop-resize-handle{position:absolute;width:14px;height:14px;min-width:14px;min-height:14px;max-width:14px;max-height:14px;padding:0;border:2px solid #6f4be8;border-radius:50%;background:#fff;box-shadow:0 2px 7px #271d4838;touch-action:none;z-index:2}.crop-resize-handle:hover,.crop-resize-handle:focus-visible{transform:scale(1.12);border-color:#5d35cc;background:#fff}.crop-resize-handle.nw{left:-1px;top:-1px;cursor:nwse-resize}.crop-resize-handle.ne{right:-1px;top:-1px;cursor:nesw-resize}.crop-resize-handle.sw{left:-1px;bottom:-1px;cursor:nesw-resize}.crop-resize-handle.se{right:-1px;bottom:-1px;cursor:nwse-resize}@media(max-width:760px){.crop-commandbar{max-width:100%;overflow-x:auto}.crop-commandbar button{white-space:nowrap}}.app-shell.document-open{--editor-purple: #6f4be8;--editor-purple-dark: #5d35cc;--editor-purple-light: #815ff0;--editor-control-height: 36px;--editor-control-radius: 8px;--editor-gap: 8px;--editor-border: #e5e1ed;--editor-muted: #70697b}.editor-shell.editor-shell-inline{grid-template-columns:max(196px,calc(var(--page-thumb-width, 96px) + 28px)) minmax(0,1fr)}.workspace{min-width:0;grid-template-rows:auto auto auto minmax(0,1fr)}.editor-commandbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;min-height:58px;box-shadow:none}.history-command-group{display:flex;gap:4px;padding-right:12px;border-right:1px solid var(--editor-border)}.editor-commandbar .tool-switcher{display:flex;flex-wrap:wrap;gap:4px;background:transparent;border:0;padding:0;min-width:0}.editor-commandbar .tool-switcher .tool-tab{padding:0 14px}.editor-commandbar .tool-switcher .tool-tab.active{background:#eee9fc;color:var(--editor-purple-dark);border-color:#d8ccf8;box-shadow:none}.editor-commandbar .shortcut-button{margin-left:auto;color:var(--editor-muted);font-size:13px;font-weight:500}.history-command-group button,.editor-contextbar button,.document-navigation button,.page-management-actions button{min-height:var(--editor-control-height);height:auto;border:1px solid var(--editor-border);border-radius:var(--editor-control-radius);padding:6px 12px;background:#fff;color:#494153;font-size:14px;line-height:1.3;font-weight:550;white-space:nowrap}.history-command-group button{border-color:transparent}.editor-contextbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 16px;min-height:56px;background:#faf9fd;border-bottom:1px solid var(--editor-border)}.context-mode-label{color:var(--editor-muted);font-size:12px;font-weight:700;padding-right:12px;border-right:1px solid #ddd7e9;white-space:nowrap}.editor-contextbar .markup-toolbar,.editor-contextbar .sign-toolbar,.editor-contextbar .crop-commandbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--editor-gap);min-width:0;max-width:100%;padding:0;border:0;background:transparent;overflow:visible}.editor-contextbar .markup-toolbar{flex:1}.editor-contextbar button.active{color:var(--editor-purple-dark);background:#eee9fc;border-color:#c7b8f2}.editor-contextbar button.primary{color:#fff;background:var(--editor-purple);border-color:var(--editor-purple)}.editor-contextbar button:hover:not(:disabled),.document-navigation button:hover:not(:disabled),.page-management-actions button:hover:not(:disabled){border-color:#b9a8e8;background:#f1ecfc;color:var(--editor-purple-dark)}.editor-contextbar button.primary:hover:not(:disabled){background:var(--editor-purple-dark);color:#fff}.editor-contextbar input:not([type=file]):not([type=color]),.editor-contextbar select{min-height:var(--editor-control-height);border-radius:var(--editor-control-radius);max-width:100%}.editor-contextbar .sign-toolbar input{width:180px;min-width:0}.editor-contextbar .markup-color-control,.editor-contextbar .markup-width-control{display:flex;align-items:center;gap:6px;padding-left:8px;color:var(--editor-muted);font-size:13px}.document-navigation{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;align-items:center;padding:6px 16px;border-bottom:1px solid var(--editor-border);background:#fff}.page-navigation-group,.zoom-navigation-group{display:flex;align-items:center;gap:8px}.document-navigation button{min-height:32px;padding:4px 10px;background:transparent;border-color:transparent}.document-navigation .toolbar-status{font-size:13px;color:var(--editor-muted);white-space:nowrap}.document-navigation .zoom-status{min-width:44px;text-align:center}.zoom-navigation-group button{min-width:32px;font-size:18px}.page-actions-caption{font-size:12px;color:var(--editor-muted);margin:2px 0 8px;font-weight:600}.page-management-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:12px}.page-management-actions button{padding:7px 4px;font-size:12px;white-space:normal;overflow-wrap:normal}.page-management-actions .page-delete-action,.page-management-actions .page-crop-action{font-size:12px;grid-column:auto}.page-management-actions .page-delete-action{color:#9a3e4e}.page-management-hint{font-size:11px;line-height:1.4;margin-bottom:12px}.page-thumbnail-panel .page-list{align-items:center}.page-thumbnail-panel .page-thumbnail{width:calc(var(--page-thumb-width,96px) + 12px);max-width:100%}.object-floating-toolbar,.inline-formatbar{border-radius:var(--editor-control-radius);gap:6px;border-color:var(--editor-border);box-shadow:0 4px 16px #281e3c1f}.object-floating-toolbar button,.inline-formatbar button{border-radius:6px}.editor-commandbar button:focus-visible,.editor-contextbar button:focus-visible,.document-navigation button:focus-visible,.page-management-actions button:focus-visible{outline:2px solid var(--editor-purple-light);outline-offset:2px}@media(max-width:1050px){.editor-commandbar{gap:8px;padding:8px 12px}.editor-commandbar .tool-switcher .tool-tab{padding-inline:10px}.editor-commandbar .shortcut-button{margin-left:0}.editor-contextbar,.document-navigation{padding-inline:12px}}@media(max-width:620px){.editor-shell.editor-shell-inline{grid-template-columns:minmax(0,1fr)}.page-thumbnail-panel{display:block;max-height:260px;width:100%;box-sizing:border-box}.page-panel-head{position:static}.page-management-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.page-thumbnail-panel .page-list{display:flex;flex-direction:row;gap:8px;overflow-x:auto;max-width:100%}.page-thumbnail-panel .page-thumbnail{flex:0 0 72px;width:72px}.page-thumbnail-panel .page-thumbnail-preview{width:60px;height:78px;min-height:0}.editor-commandbar{gap:8px}.history-command-group{border:0;padding:0}.editor-commandbar .tool-switcher{order:3;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.editor-commandbar .shortcut-button{margin-left:auto}.editor-commandbar .tool-switcher .tool-tab{min-width:0;padding:0 4px}.editor-contextbar{gap:8px}.context-mode-label{flex-basis:100%;border:0;padding:0}.editor-contextbar .markup-toolbar,.editor-contextbar .sign-toolbar{width:100%}.editor-contextbar button,.page-management-actions button{min-height:40px}.document-navigation{justify-content:center}.stage-scroll{min-width:0;max-width:100%}.object-floating-toolbar,.inline-formatbar{max-width:calc(100% - 8px);flex-wrap:wrap}}.page-stage.text-placement-active,.page-stage.text-placement-active>img{cursor:text}.text-place-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;pointer-events:auto;cursor:text;touch-action:none;background:transparent}.insert-pdf-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:136;display:grid;place-items:center;padding:20px;background:#18142261}.insert-pdf-dialog{width:min(560px,100%);max-height:min(720px,calc(100vh - 40px));overflow:auto;padding:18px;border:1px solid #ded8e8;border-radius:16px;background:#fff;box-shadow:0 24px 70px #18142247}.insert-pdf-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.insert-pdf-dialog-head>div{display:grid;gap:4px;min-width:0}.insert-pdf-dialog-head strong{font-size:18px;color:#292331}.insert-pdf-dialog-head span{color:#746e7d;font-size:12px;overflow-wrap:anywhere}.insert-pdf-dialog-head button{min-width:34px;width:34px;min-height:34px;height:34px;padding:0}.insert-pdf-dialog-body{display:grid;gap:14px}.insert-pdf-field{display:grid;gap:6px}.insert-pdf-field>span{color:#40384a;font-size:13px;font-weight:700}.insert-pdf-field input,.insert-pdf-field select{width:100%;min-height:40px;border:1px solid #d9d3e4;border-radius:9px;padding:8px 10px;background:#fff;color:#292331;font:inherit;box-sizing:border-box}.insert-pdf-field small{color:#746e7d;font-size:12px;line-height:1.45}.insert-pdf-warning{display:grid;gap:3px;padding:10px 12px;border:1px solid #ead9a6;border-radius:10px;background:#fffaf0;color:#685422;font-size:12px;line-height:1.45}.insert-pdf-warning strong{font-size:12px}.insert-pdf-error{padding:9px 11px;border:1px solid #edc1c8;border-radius:9px;background:#fff5f6;color:#9a3144;font-size:12px;line-height:1.45}.insert-pdf-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.insert-pdf-dialog-actions button{min-height:38px}@media(max-width:620px){.insert-pdf-modal-backdrop{padding:10px}.insert-pdf-dialog{padding:14px;border-radius:13px}.insert-pdf-dialog-actions{display:grid;grid-template-columns:1fr 1fr}}
