.edit-module{--edit-blue:#145ee8;--edit-violet:#6d2ce8;--edit-cyan:#18c8ea;--edit-border:#ccd7ee;--edit-ink:#171d30;--edit-muted:#727d96}.edit-module svg path,.edit-module svg circle,.edit-module svg rect{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.edit-upload-hero{min-height:calc(100dvh - var(--topbar-height) - var(--merge-strip-height))}.local-processing-note{margin-top:18px;color:#67738e;font-size:12px}.edit-workspace-stage,.edit-result-stage{min-height:calc(100dvh - var(--topbar-height) - var(--merge-strip-height));padding:16px 20px;overflow:auto;background:linear-gradient(135deg,#f7f9ff,#f5f1ff)}.edit-layout,.edit-result-layout{width:100%;min-height:calc(100dvh - var(--topbar-height) - var(--merge-strip-height) - 32px);display:grid;grid-template-columns:minmax(185px,14%) minmax(620px,1fr) minmax(330px,25%);gap:16px}.edit-left-rail{min-width:0;display:flex;flex-direction:column;gap:14px}.edit-ad-card{min-height:0;flex:1 1 auto}.edit-ad-card .vertical-ad-box{min-height:230px;flex:1 1 auto}.edit-ad-card .vertical-ad-box>span{color:#929db4;font-size:26px;font-weight:900}.edit-preview-column,.edit-actions-panel,.edited-result-preview,.edited-result-panel{min-width:0;border:1px solid var(--edit-border);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 14px 32px rgba(46,59,112,.07)}.edit-preview-column{min-height:690px;display:flex;flex-direction:column;overflow:hidden;background:#eaf0fc}.edit-file-bar{min-height:58px;padding:8px 12px 8px 17px;border-bottom:1px solid var(--edit-border);display:flex;align-items:center;justify-content:space-between;gap:14px;background:rgba(255,255,255,.96)}.edit-file-meta{min-width:0}.edit-file-meta strong,.edit-file-meta span{display:block}.edit-file-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-file-meta span{margin-top:2px;color:var(--edit-muted);font-size:11px}.edit-history-actions,.object-actions,.zoom-controls,.page-navigation{display:flex;align-items:center;gap:6px}.edit-history-actions button,.editor-command-bar button,.object-actions button{min-height:32px;padding:6px 9px;border:1px solid #cbd5eb;border-radius:8px;color:#2b344b;background:#fff;font-size:11px;cursor:pointer}.edit-history-actions button:hover,.editor-command-bar button:hover{border-color:var(--edit-blue);color:var(--edit-blue)}.edit-history-actions button:disabled{opacity:.45;cursor:not-allowed}.object-actions .danger-action{color:#c5324d}.editor-command-bar{min-height:48px;padding:7px 11px;border-bottom:1px solid var(--edit-border);display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfcff}.page-navigation label{display:flex;align-items:center;gap:5px;color:#566077;font-size:11px}.page-navigation input{width:45px;min-height:30px;border:1px solid #cbd5eb;border-radius:7px;color:var(--edit-ink);text-align:center}.zoom-controls strong{min-width:45px;color:#4b5570;text-align:center;font-size:11px}.editor-scroll-area{position:relative;min-height:540px;padding:24px;flex:1 1 auto;overflow:auto;background-color:#e7edf9;background-image:radial-gradient(#cdd7ec .7px,transparent .7px);background-size:16px 16px}.editor-loading{position:absolute;inset:0;z-index:20;display:grid;place-content:center;justify-items:center;gap:12px;color:#5b6680;background:rgba(237,242,252,.92)}.editor-loading[hidden]{display:none}.editor-loading span{width:36px;height:36px;border:4px solid #cfdaef;border-top-color:var(--edit-blue);border-radius:50%;animation:editor-spin .8s linear infinite}@keyframes editor-spin{to{transform:rotate(360deg)}}.editor-page-zoom{position:relative;margin:0 auto}.editor-page-stack{position:relative;transform-origin:top left;background:#fff;box-shadow:0 12px 32px rgba(37,49,91,.2)}.editor-page-stack>[data-pdf-page-canvas]{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%}.pdf-text-hit-layer{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}.pdf-text-hit-layer span{position:absolute;padding:1px;border:1px solid transparent;color:transparent;white-space:pre;cursor:text;transform-origin:0 0;user-select:none}.editor-page-stack.is-text-selecting .pdf-text-hit-layer{pointer-events:auto}.editor-page-stack.is-text-selecting .canvas-container{pointer-events:none}.editor-page-stack.is-text-selecting .pdf-text-hit-layer span:hover,.pdf-text-hit-layer span.is-selected-source{border-color:rgba(20,94,232,.65);background:rgba(43,131,255,.2)}.editor-page-stack>.canvas-container{position:absolute!important;inset:0;z-index:3}.editor-page-stack .lower-canvas,.editor-page-stack .upper-canvas{width:100%!important;height:100%!important}.editor-status-bar{min-height:36px;padding:7px 12px;border-top:1px solid var(--edit-border);display:flex;justify-content:space-between;gap:10px;color:#68738d;background:#fff;font-size:10px}.editor-status-bar kbd{padding:1px 4px;border:1px solid #d1d9ea;border-radius:4px;color:#424d65;background:#f6f8fc;font:inherit}.edit-actions-panel{max-height:calc(100dvh - var(--topbar-height) - var(--merge-strip-height) - 32px);padding:16px;display:flex;flex-direction:column;overflow:auto}.edit-panel-heading{display:flex;align-items:center;gap:11px}.edit-panel-heading h1,.edit-panel-heading p{margin:0}.edit-panel-heading h1{color:var(--edit-ink);font-size:22px}.edit-panel-heading p{margin-top:3px;color:var(--edit-muted);font-size:11px}.editor-tool-tabs{margin-top:16px;padding:3px;border-radius:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:#edf1fa}.editor-tool-tabs button{padding:8px 3px;border:0;border-radius:7px;color:#69738b;background:transparent;font-size:10px;font-weight:700;cursor:pointer}.editor-tool-tabs button.is-active{color:var(--edit-blue);background:#fff;box-shadow:0 3px 9px rgba(61,75,121,.1)}.tool-tab-panel{margin-top:14px}.tool-tab-panel[hidden]{display:none}.tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.editor-tool{min-height:57px;padding:8px;border:1px solid #cad5ea;border-radius:10px;display:flex;align-items:center;gap:9px;color:#38435d;background:#fff;cursor:pointer}.editor-tool>span{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;color:var(--edit-blue);background:#eaf1ff;font-size:15px;font-weight:800}.editor-tool strong{font-size:11px}.editor-tool:hover,.editor-tool.is-active{border-color:var(--edit-blue);box-shadow:0 0 0 1px var(--edit-blue);background:#f2f6ff}.selected-text-card{margin-top:12px;padding:11px;border:1px solid #aebfe8;border-radius:10px;background:#f4f7ff}.selected-text-card label{display:grid;gap:5px;color:#48536d;font-size:10px;font-weight:700}.selected-text-card textarea{width:100%;resize:vertical;border:1px solid #cbd6eb;border-radius:7px;padding:7px;color:#1d253a;font:inherit;background:#fff}.selected-text-actions{margin-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.selected-text-actions button{padding:8px;border:0;border-radius:7px;color:#fff;background:var(--edit-blue);font-size:10px;font-weight:700;cursor:pointer}.selected-text-actions button:last-child{color:#84273a;background:#ffe1e7}.selected-text-actions button:nth-child(3){color:#735e00;background:#fff1a8}.selected-text-actions button:nth-child(4){color:#8c2638;background:#ffe0e5}.selected-text-card small{display:block;margin-top:8px;color:#7b6680;font-size:9px;line-height:1.35}.text-properties{margin-top:12px;padding-top:12px;border-top:1px solid #e1e6f2}.text-properties>label,.document-option{display:grid;gap:5px;color:#566078;font-size:10px}.text-properties select,.text-properties input[type="number"],.document-option input{width:100%;min-height:34px;padding:6px 8px;border:1px solid #cbd5e9;border-radius:7px;color:#242d43;background:#fff}.property-row{margin-top:9px;display:grid;grid-template-columns:1fr .8fr .8fr;gap:7px}.property-row label{display:grid;gap:4px;color:#68738b;font-size:9px}.property-row input[type="color"]{width:100%;height:34px;padding:3px;border:1px solid #cbd5e9;border-radius:7px;background:#fff}.format-buttons{margin-top:9px;display:grid;grid-template-columns:38px 38px 38px 1fr;gap:6px}.format-buttons button,.clear-page-button,.page-management button{min-height:34px;border:1px solid #cbd5e9;border-radius:7px;color:#3b465f;background:#fff;cursor:pointer}.format-buttons button.is-active{border-color:var(--edit-blue);color:var(--edit-blue);background:#edf3ff}.upload-font-button{width:100%;min-height:34px;margin-top:8px;border:1px dashed #aebee1;border-radius:7px;color:#4260a3;background:#f7f9ff;font-size:10px;cursor:pointer}.markup-properties{grid-template-columns:90px 1fr}.markup-properties input[type="range"]{width:100%;accent-color:var(--edit-blue)}.clear-page-button{width:100%;margin-top:12px;color:#bd2944}.signature-choice-grid{display:grid;gap:9px}.signature-choice-grid>button{min-height:64px;padding:10px;border:1px solid #cbd5e9;border-radius:10px;display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;column-gap:10px;color:#2d3750;text-align:left;background:#fff;cursor:pointer}.signature-choice-grid>button>span{grid-row:1/3;width:35px;height:35px;border-radius:9px;display:grid;place-items:center;color:var(--edit-blue);background:#eaf1ff;font-size:18px}.signature-choice-grid strong{font-size:12px}.signature-choice-grid small{color:var(--edit-muted);font-size:10px}.signature-choice-grid>button:hover{border-color:var(--edit-blue)}.tool-help{color:#737e96;font-size:10px;line-height:1.45}.check-option{margin-top:12px;display:flex;align-items:center;gap:8px;color:#3d4861;font-size:11px}.check-option input{width:17px;height:17px;accent-color:var(--edit-blue)}.secure-option{margin-top:16px;font-weight:700}.secure-explanation{margin:6px 0 0 25px;color:#7a6470;font-size:9px;line-height:1.4}.page-management{margin-top:16px;padding-top:13px;border-top:1px solid #e0e6f2;display:grid;gap:8px;color:#4f5a72;font-size:10px}.page-management>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.save-edited-pdf-button{min-height:54px;margin-top:auto;padding:12px 16px;border:0;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:9px;color:#fff;background:linear-gradient(135deg,#145be2,#6a2ce8);box-shadow:0 12px 24px rgba(52,72,201,.22);font-size:16px;font-weight:800;cursor:pointer}.save-edited-pdf-button svg{width:19px;height:19px}.save-edited-pdf-button:disabled{opacity:.6;cursor:wait}.signature-dialog{width:min(680px,calc(100vw - 30px));padding:0;border:0;border-radius:16px;color:var(--edit-ink);box-shadow:0 24px 70px rgba(24,34,73,.3)}.signature-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.signature-dialog form{padding:18px}.signature-dialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.signature-dialog header div{display:grid;gap:3px}.signature-dialog header strong{font-size:20px}.signature-dialog header span{color:var(--edit-muted);font-size:11px}.signature-dialog header button{width:34px;height:34px;border:0;border-radius:8px;color:#58627a;background:#eef2fa;font-size:24px;cursor:pointer}.signature-tabs{margin-top:15px;padding:3px;border-radius:9px;display:grid;grid-template-columns:1fr 1fr;background:#edf1fa}.signature-tabs button{padding:8px;border:0;border-radius:7px;color:#657089;background:transparent;cursor:pointer}.signature-tabs button.is-active{color:var(--edit-blue);background:#fff}.signature-panel{margin-top:14px}.signature-panel[hidden]{display:none}.signature-panel canvas{width:100%;height:210px;border:1px dashed #aebde0;border-radius:10px;background:#fff;touch-action:none}.signature-panel small{display:block;margin-top:5px;color:var(--edit-muted);font-size:10px}.signature-panel input{width:100%;padding:10px;border:1px solid #cbd5e9;border-radius:8px}.signature-panel [data-signature-type-preview]{min-height:120px;display:grid;place-items:center;color:#16203a;font-family:"Segoe Script","Brush Script MT",cursive;font-size:44px}.signature-dialog footer{margin-top:14px;display:flex;justify-content:flex-end;gap:8px}.signature-dialog footer button{padding:9px 15px;border:1px solid #cbd5e9;border-radius:8px;color:#39445d;background:#fff;cursor:pointer}.signature-dialog footer .primary{border-color:var(--edit-blue);color:#fff;background:var(--edit-blue)}.edit-result-layout{grid-template-columns:minmax(185px,14%) minmax(650px,1fr) minmax(300px,23%)}.edited-result-preview{min-height:680px;padding:12px;overflow:hidden;background:#e8eefb}.edited-result-preview iframe{width:100%;height:100%;min-height:654px;border:0;border-radius:8px;background:#fff}.edited-result-panel{padding:19px;display:flex;flex-direction:column}.edited-result-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}.edited-result-heading h1{margin:0;display:flex;align-items:center;gap:8px;font-size:22px}.edited-result-heading h1 span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#087638;background:#39df7a}.edited-result-heading button{padding:8px 10px;border:1px solid #cbd5e9;border-radius:8px;color:#38435d;background:#fff;cursor:pointer}.edited-result-panel>strong{margin-top:22px;overflow-wrap:anywhere}.edited-result-panel>span{margin-top:5px;color:var(--edit-muted)}.viewer-download-note{margin-top:18px;padding:13px;border:1px solid #c7d5f4;border-radius:11px;color:#34415e;background:#eef4ff}.viewer-download-note p{margin:5px 0 0;color:#64708a;font-size:10px;line-height:1.45}@media(max-width:1360px){.edit-workspace-stage,.edit-result-stage{padding:12px}.edit-layout,.edit-result-layout{grid-template-columns:175px minmax(580px,1fr) 315px;gap:11px}.edit-actions-panel{padding:13px}.edit-history-actions button{padding:6px 7px;font-size:10px}}@media(max-width:1120px){.edit-layout,.edit-result-layout{min-width:1080px}.edit-workspace-stage,.edit-result-stage{overflow:auto}}.page-number-preview{position:absolute;left:50%;bottom:12px;z-index:6;min-width:28px;padding:4px 9px;border-radius:999px;color:#fff;background:rgba(23,29,48,.86);box-shadow:0 5px 14px rgba(23,29,48,.2);transform:translateX(-50%);text-align:center;font-size:11px;font-weight:800;pointer-events:none}.page-number-preview[hidden]{display:none}.document-toggle-card{position:relative;margin-top:11px;padding:11px;border:1px solid #cbd5e9;border-radius:11px;display:grid;grid-template-columns:38px 1fr;align-items:center;gap:9px;color:#35405a;background:#fff;cursor:pointer;transition:.18s ease}.document-toggle-card:has(.document-toggle-input:checked){border-color:var(--edit-blue);background:#f1f6ff;box-shadow:0 0 0 1px var(--edit-blue)}.document-toggle-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.document-toggle-switch{position:relative;width:38px;height:22px;border-radius:999px;background:#cbd4e6;transition:.18s ease}.document-toggle-switch::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(20,32,68,.22);transition:.18s ease}.document-toggle-input:checked+.document-toggle-switch{background:linear-gradient(135deg,var(--edit-blue),var(--edit-violet))}.document-toggle-input:checked+.document-toggle-switch::after{transform:translateX(16px)}.document-toggle-input:focus-visible+.document-toggle-switch{outline:3px solid rgba(20,94,232,.22);outline-offset:2px}.document-toggle-copy{display:grid;gap:2px}.document-toggle-copy strong{font-size:11px}.document-toggle-copy small{color:#748099;font-size:9px;line-height:1.35}.secure-toggle-card:has(.document-toggle-input:checked){border-color:#6d2ce8;background:#f7f2ff;box-shadow:0 0 0 1px #6d2ce8}.secure-explanation{margin:7px 5px 0;padding:9px 10px;border-radius:8px;color:#685b75;background:#f7f4fb}.page-management-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.page-management-heading span{padding:4px 8px;border-radius:999px;color:var(--edit-blue);background:#eaf1ff;font-weight:800}.page-management>.page-move-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.page-move-buttons button{display:flex;align-items:center;justify-content:center;gap:5px;font-weight:700}.page-management button:hover:not(:disabled){border-color:var(--edit-blue);color:var(--edit-blue);background:#f2f6ff}.page-management button:disabled{opacity:.42;cursor:not-allowed;background:#f3f5f9}.page-move-feedback{min-height:14px;color:#6d7891;line-height:1.35}.editor-page-stack.is-page-moved{animation:page-move-flash .45s ease}@keyframes page-move-flash{50%{box-shadow:0 0 0 4px rgba(20,94,232,.22),0 12px 32px rgba(37,49,91,.2)}}.editor-tool.is-applied{animation:tool-applied .45s ease}@keyframes tool-applied{50%{border-color:#20a564;background:#ecfbf3;box-shadow:0 0 0 3px rgba(32,165,100,.14)}}.editor-toast{position:fixed;left:50%;bottom:24px;z-index:1200;max-width:min(420px,calc(100vw - 30px));padding:11px 16px;border:1px solid #b9caed;border-radius:999px;display:flex;align-items:center;gap:9px;color:#26324c;background:rgba(255,255,255,.96);box-shadow:0 16px 42px rgba(26,40,85,.22);transform:translateX(-50%);backdrop-filter:blur(10px);animation:editor-toast-in .22s ease-out}.editor-toast[hidden]{display:none}.editor-toast>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex:0 0 24px;color:#fff;background:#20a564;font-weight:900}.editor-toast strong{font-size:11px}@keyframes editor-toast-in{from{opacity:0;transform:translate(-50%,12px)}}.clear-edits-dialog{width:min(440px,calc(100vw - 30px));padding:0;border:0;border-radius:22px;color:var(--edit-ink);background:linear-gradient(160deg,#fff,#fbf8ff);box-shadow:0 30px 90px rgba(20,27,58,.36)}.clear-edits-dialog[open]{animation:clear-dialog-in .22s cubic-bezier(.2,.8,.2,1)}.clear-edits-dialog::backdrop{background:rgba(15,23,42,.62);backdrop-filter:blur(5px)}.clear-edits-dialog form{padding:25px;text-align:center}.clear-edits-icon{width:58px;height:58px;margin:0 auto 15px;border-radius:18px;display:grid;place-items:center;color:#d93658;background:linear-gradient(145deg,#ffe8ed,#fff1f4);box-shadow:0 9px 22px rgba(217,54,88,.13)}.clear-edits-icon svg{width:28px;height:28px}.clear-edits-dialog h2{margin:0;color:#182039;font-size:21px}.clear-edits-dialog p{margin:9px auto 0;max-width:350px;color:#66718a;font-size:12px;line-height:1.55}.clear-edits-dialog p strong{color:#303a52}.clear-edits-warning{margin-top:17px;padding:10px 12px;border:1px solid #f2cad3;border-radius:10px;display:flex;align-items:center;gap:8px;color:#8f3043;text-align:left;background:#fff3f5;font-size:10px}.clear-edits-warning>span:first-child{width:20px;height:20px;flex:0 0 20px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#d93658;font-weight:900}.clear-edits-dialog footer{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.clear-edits-dialog footer button{min-height:42px;border:1px solid #cad4e9;border-radius:10px;color:#3b465f;background:#fff;font-weight:800;cursor:pointer}.clear-edits-dialog footer .danger{border-color:transparent;color:#fff;background:linear-gradient(135deg,#d93658,#b91f42);box-shadow:0 9px 20px rgba(185,31,66,.2)}.clear-edits-dialog footer button:hover{transform:translateY(-1px)}@keyframes clear-dialog-in{from{opacity:0;transform:translateY(12px) scale(.96)}}@media(max-width:520px){.clear-edits-dialog form{padding:20px 16px}.clear-edits-dialog footer{grid-template-columns:1fr}.editor-toast{border-radius:14px}}.edit-workspace-stage,.edit-result-stage{height:calc(100dvh - var(--topbar-height) - var(--merge-strip-height));min-height:0;padding:clamp(10px,1.5vh,16px) clamp(12px,1.5vw,22px);overflow:hidden}.edit-layout,.edit-result-layout{width:100%;height:100%;min-height:0;grid-template-columns:clamp(200px,14vw,260px) minmax(0,1fr) clamp(315px,24vw,380px);gap:clamp(12px,1.5vw,20px);align-items:stretch}.edit-left-rail,.edit-preview-column,.edit-actions-panel,.edited-result-preview,.edited-result-panel{height:100%;min-height:0;max-height:none}.edit-preview-column{min-height:0}.editor-scroll-area{min-height:0}.edit-actions-panel{padding:clamp(10px,1.1vw,14px);overflow:hidden}.edit-panel-heading{position:relative;flex:0 0 auto;gap:9px}.edit-panel-heading h1{font-size:19px}.edit-panel-heading p{font-size:9px}.edit-panel-heading .save-edited-pdf-button{position:relative;width:38px;height:38px;min-height:38px;margin:0 0 0 auto;padding:0;border-radius:10px;flex:0 0 38px;overflow:visible;box-shadow:0 8px 18px rgba(52,72,201,.2)}.edit-panel-heading .save-edited-pdf-button svg{width:18px;height:18px}.edit-panel-heading .save-button-text{color:#fff;font-size:10px;font-weight:800}.edit-panel-heading .save-edited-pdf-button>.save-button-tooltip{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:max-content;max-width:180px;padding:7px 10px;border-radius:7px;color:#fff;background:#172038;box-shadow:0 8px 20px rgba(20,30,60,.22);font-size:10px;font-weight:700;line-height:1.2;pointer-events:none;opacity:0;transform:translateY(-3px);transition:opacity .16s ease,transform .16s ease}.edit-panel-heading .save-edited-pdf-button>.save-button-tooltip::before{content:"";position:absolute;right:13px;bottom:100%;border:5px solid transparent;border-bottom-color:#172038}.edit-panel-heading .save-edited-pdf-button:hover>.save-button-tooltip,.edit-panel-heading .save-edited-pdf-button:focus-visible>.save-button-tooltip{opacity:1;transform:translateY(0)}.editor-tool-tabs{margin-top:10px;padding:2px}.editor-tool-tabs button{padding:6px 2px;font-size:9px}.tool-tab-panel{margin-top:9px}.tool-grid{gap:6px}.editor-tool{min-height:44px;padding:6px;border-radius:8px;gap:7px}.editor-tool>span{width:24px;height:24px;border-radius:7px;font-size:13px}.editor-tool strong{font-size:10px}.selected-text-card{margin-top:8px;padding:8px}.selected-text-card textarea{padding:5px 6px}.selected-text-actions{margin-top:6px;gap:5px}.selected-text-actions button{padding:6px;font-size:9px}.selected-text-card small{margin-top:5px;font-size:8px}.text-properties{margin-top:8px;padding-top:8px}.text-properties select,.text-properties input[type="number"],.document-option input{min-height:29px;padding:4px 6px}.property-row{margin-top:6px;gap:5px}.property-row input[type="color"]{height:29px}.format-buttons{margin-top:6px;grid-template-columns:32px 32px 32px 1fr;gap:5px}.format-buttons button,.clear-page-button,.page-management button{min-height:29px}.upload-font-button{min-height:29px;margin-top:6px}.clear-page-button{margin-top:8px}.signature-choice-grid{gap:6px}.signature-choice-grid>button{min-height:50px;padding:7px;grid-template-columns:30px 1fr;column-gap:8px}.signature-choice-grid>button>span{width:30px;height:30px;font-size:15px}.signature-choice-grid strong{font-size:10px}.signature-choice-grid small,.tool-help{font-size:9px}.document-toggle-card{margin-top:7px;padding:7px 8px;grid-template-columns:34px 1fr;gap:7px}.document-toggle-switch{width:34px;height:20px}.document-toggle-switch::after{width:14px;height:14px}.document-toggle-input:checked+.document-toggle-switch::after{transform:translateX(14px)}.secure-explanation{margin-top:5px;padding:6px 8px;font-size:8px}.page-management{margin-top:9px;padding-top:8px;gap:5px}.edit-ad-card.toolsphere-ad-host{display:flex;padding:0;align-items:stretch}.edit-ad-card.toolsphere-ad-host .house-ad{width:100%;height:100%;min-height:100%;flex:1 1 auto}.edited-result-preview{min-height:0}.edited-result-preview iframe{min-height:0}.edited-result-panel{overflow:hidden}@media(max-width:1440px){.edit-left-rail{display:none}.edit-layout,.edit-result-layout{grid-template-columns:minmax(0,1fr) clamp(310px,29vw,370px)}}@media(max-width:1100px){.edit-layout,.edit-result-layout{min-width:0;grid-template-columns:minmax(0,1fr) 310px;gap:10px}.edit-panel-heading p,.editor-status-bar>span:last-child{display:none}.edit-history-actions button{padding-right:6px;padding-left:6px}}@media(max-height:760px){.edit-workspace-stage,.edit-result-stage{padding-top:8px;padding-bottom:8px}.edit-actions-panel{padding:8px 10px}.editor-tool-tabs{margin-top:7px}.tool-tab-panel{margin-top:7px}}.edit-panel-heading .save-edited-pdf-button{width:auto;min-width:72px;padding:0 10px;flex:0 0 auto;gap:6px}.edit-panel-heading .edit-change-file-button{position:relative;width:38px;height:38px;min-height:38px;margin-left:auto;padding:0;border:1px solid #cbd5eb;border-radius:10px;display:grid;place-items:center;flex:0 0 38px;color:#344057;background:#fff;cursor:pointer;overflow:visible}.edit-panel-heading .edit-change-file-button:hover,.edit-panel-heading .edit-change-file-button:focus-visible{border-color:#8eacf1;color:var(--edit-blue);background:#f5f8ff}.edit-panel-heading .edit-change-file-button svg{width:18px;height:18px}.edit-panel-heading .edit-change-file-button>span{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:max-content;padding:7px 10px;border-radius:7px;color:#fff;background:#172038;box-shadow:0 8px 20px rgba(20,30,60,.22);font-size:10px;font-weight:700;line-height:1.2;pointer-events:none;opacity:0;transform:translateY(-3px);transition:opacity .16s ease,transform .16s ease}.edit-panel-heading .edit-change-file-button>span::before{content:"";position:absolute;right:13px;bottom:100%;border:5px solid transparent;border-bottom-color:#172038}.edit-panel-heading .edit-change-file-button:hover>span,.edit-panel-heading .edit-change-file-button:focus-visible>span{opacity:1;transform:translateY(0)}.edit-panel-heading .save-edited-pdf-button{margin-left:0}.editor-tool{justify-content:flex-start;gap:7px}.signature-choice-grid>button{grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:8px;row-gap:0}.signature-choice-grid>button>span{grid-row:1/3;width:30px;height:30px}.signature-dialog header button{width:32px;min-width:32px;padding:0;font-size:15px}.edit-panel-heading .edit-change-file-button>.fa-solid{font-size:16px}.edit-panel-heading .save-edited-pdf-button .fa-solid{margin-right:4px}.editor-tool>span>.fa-solid,.signature-choice-grid>button>span>.fa-solid{line-height:1}.editor-command-bar button>.fa-solid{margin-right:4px}.page-navigation button>.fa-solid,.zoom-controls button>.fa-solid{margin-right:0}.clear-edits-warning>.fa-solid{width:20px;height:20px;flex:0 0 20px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#d93658;font-size:10px}.edited-result-heading h1>.fa-solid{color:#2bd576}@media(max-width:767px){.edit-workspace-stage{padding:8px;overflow:hidden}.edit-workspace-stage .edit-layout{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}.edit-workspace-stage .edit-left-rail{display:none}.edit-workspace-stage .edit-actions-panel{order:1;width:100%;height:auto;min-height:150px;max-height:225px;flex:0 0 clamp(170px,31dvh,225px);padding:8px 10px;border-radius:12px;overflow:auto}.edit-workspace-stage .edit-panel-heading{position:sticky;top:-8px;z-index:8;min-height:38px;padding:4px 0;background:#fff}.edit-workspace-stage .edit-panel-heading h1{font-size:15px}.edit-workspace-stage .edit-panel-heading p{display:none}.edit-workspace-stage .edit-panel-heading .edit-change-file-button{width:32px;height:32px;min-height:32px;flex-basis:32px;border-radius:8px}.edit-workspace-stage .edit-panel-heading .save-edited-pdf-button{min-width:62px;height:32px;min-height:32px;padding:0 8px;border-radius:8px}.edit-workspace-stage .edit-panel-heading .save-button-text{font-size:9px}.edit-workspace-stage .editor-tool-tabs{position:sticky;top:34px;z-index:7;margin-top:4px;background:#edf1fa}.edit-workspace-stage .editor-tool-tabs button{padding:5px 2px;font-size:8px}.edit-workspace-stage .tool-tab-panel{margin-top:6px}.edit-workspace-stage .tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.edit-workspace-stage .editor-tool{min-width:0;min-height:42px;padding:4px 2px;flex-direction:column;justify-content:center;gap:2px;text-align:center}.edit-workspace-stage .editor-tool>span{width:20px;height:20px;font-size:11px}.edit-workspace-stage .editor-tool strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.edit-workspace-stage .edit-preview-column{order:2;width:100%;min-width:0;height:auto;min-height:0;flex:1 1 auto;border-radius:12px}.edit-workspace-stage .editor-command-bar{min-height:0;padding:5px 6px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:5px}.edit-workspace-stage .page-navigation{grid-column:1/-1;grid-row:1;min-width:0;justify-self:center;gap:3px}.edit-workspace-stage .page-navigation label,.edit-workspace-stage .page-navigation label span{white-space:nowrap}.edit-workspace-stage .page-navigation label span{display:inline-flex;align-items:center;gap:3px}.edit-workspace-stage .zoom-controls{grid-column:1;grid-row:2;justify-self:start;gap:3px}.edit-workspace-stage .object-actions{grid-column:2;grid-row:2;justify-self:end;gap:4px}.edit-workspace-stage .editor-command-bar button{min-width:28px;min-height:28px;padding:4px 6px}.edit-workspace-stage .page-navigation input{width:38px;min-height:28px}.edit-workspace-stage .zoom-controls strong{min-width:36px;font-size:9px}.edit-workspace-stage .object-actions button{width:30px;padding:0;font-size:0}.edit-workspace-stage .object-actions button>.fa-solid{margin:0;font-size:11px}.edit-workspace-stage .editor-scroll-area{min-height:0;padding:8px}.edit-workspace-stage .editor-status-bar{display:none}}@media(min-width:768px) and (max-width:900px){.edit-workspace-stage{padding:8px}.edit-workspace-stage .edit-layout{grid-template-columns:minmax(0,1fr) minmax(270px,36vw,285px);gap:8px}.edit-workspace-stage .edit-actions-panel{padding:8px}.edit-workspace-stage .edit-panel-heading{gap:6px}.edit-workspace-stage .edit-panel-heading h1{font-size:16px}.edit-workspace-stage .edit-panel-heading .edit-change-file-button{width:32px;height:32px;min-height:32px;flex-basis:32px}.edit-workspace-stage .edit-panel-heading .save-edited-pdf-button{min-width:60px;height:32px;min-height:32px;padding:0 7px}.edit-workspace-stage .editor-tool-tabs{margin-top:6px}.edit-workspace-stage .editor-tool-tabs button{padding:5px 2px;font-size:8px}.edit-workspace-stage .tool-tab-panel{margin-top:6px}.edit-workspace-stage .tool-grid{gap:4px}.edit-workspace-stage .editor-tool{min-height:38px;padding:4px;gap:5px}.edit-workspace-stage .editor-tool>span{width:20px;height:20px;font-size:11px}.edit-workspace-stage .editor-tool strong{font-size:8px}.edit-workspace-stage .text-properties,.edit-workspace-stage .selected-text-card{margin-top:6px;padding-top:6px}}@media(max-width:900px){.edit-workspace-stage .page-navigation label,.edit-workspace-stage .page-navigation label span{white-space:nowrap}.edit-workspace-stage .page-navigation label span{display:inline-flex;align-items:center;gap:3px}.edit-workspace-stage [data-zoom-fit]{display:none}.edit-workspace-stage .object-actions button{width:32px;min-width:32px;padding:0;font-size:0}.edit-workspace-stage .object-actions button>.fa-solid{margin:0;font-size:12px}}@media(min-width:768px) and (max-width:900px){.edit-workspace-stage .editor-command-bar{padding:5px 7px;gap:5px}.edit-workspace-stage .page-navigation,.edit-workspace-stage .zoom-controls,.edit-workspace-stage .object-actions{gap:3px}.edit-workspace-stage .editor-command-bar button{min-width:30px;min-height:30px;padding:4px 6px}.edit-workspace-stage .page-navigation input{width:38px;min-height:30px}.edit-workspace-stage .zoom-controls strong{min-width:34px;font-size:9px}}