:root{--editor-blue:#1749a3;--editor-blue-dark:#0e3478;--editor-ink:#111827;--editor-muted:#667085;--editor-line:#d8dee9;--editor-soft:#f3f5f8;--editor-paper:#fff}*{box-sizing:border-box}.primary-button{font-weight:700;border:1px solid var(--editor-blue)!important;background:var(--editor-blue)!important;color:#fff!important}.editor-welcome{min-height:100vh;color:var(--editor-ink);background:#f8f9fb;font-family:Arial,Helvetica,sans-serif}.editor-welcome>header{border-bottom:1px solid var(--editor-line);background:#fff;justify-content:space-between;align-items:center;height:72px;padding:0 5vw;display:flex}.editor-brand{color:var(--editor-ink);font-size:21px;font-weight:800;text-decoration:none}.editor-welcome select,.editor-topbar select{border:1px solid var(--editor-line);color:var(--editor-ink);background:#fff;padding:9px 10px}.editor-welcome>section{border:1px solid var(--editor-line);text-align:center;background:#fff;width:min(820px,100% - 32px);margin:10vh auto;padding:clamp(30px,6vw,72px);box-shadow:0 24px 70px #182a4914}.editor-welcome .eyebrow{color:var(--editor-blue);letter-spacing:.17em;font-size:12px;font-weight:800}.editor-welcome h1{letter-spacing:-.055em;margin:16px 0;font-size:clamp(42px,8vw,82px);font-weight:500}.editor-welcome section>p:not(.eyebrow):not(.editor-status){max-width:610px;color:var(--editor-muted);margin:0 auto 30px;font-size:18px;line-height:1.65}.editor-welcome .primary-button{min-width:190px;padding:17px 24px;font-size:16px}.editor-status{color:var(--editor-blue);margin:18px 0 0}.editor-alert,.editor-notices{color:#6d4f09;background:#fff9e7;border:1px solid #edc773;padding:12px 16px;line-height:1.45}.editor-alert{margin-top:18px}.editor-alert a{color:var(--editor-blue);font-weight:700}.pdf-editor-app{height:100vh;color:var(--editor-ink);background:#e8ecf2;flex-direction:column;font-family:Arial,Helvetica,sans-serif;display:flex;overflow:hidden}.editor-topbar{border-bottom:1px solid var(--editor-line);z-index:20;background:#fff;flex:0 0 60px;grid-template-columns:minmax(210px,1fr) auto minmax(310px,1fr);align-items:center;gap:12px;padding:0 14px;display:grid}.editor-topbar-brand{align-items:center;gap:10px;min-width:0;display:flex}.editor-topbar-brand>a{background:var(--editor-blue);color:#fff;place-items:center;width:34px;height:34px;font-weight:900;text-decoration:none;display:grid}.editor-topbar-brand div{flex-direction:column;min-width:0;display:flex}.editor-topbar-brand strong{font-size:15px}.editor-topbar-brand span{color:var(--editor-muted);white-space:nowrap;text-overflow:ellipsis;max-width:32vw;font-size:12px;overflow:hidden}.editor-history-actions,.editor-document-actions{align-items:center;gap:7px;display:flex}.editor-document-actions{justify-content:flex-end}.editor-topbar button,.editor-toolbar button,.editor-commandbar button,.properties-panel button,.panel-heading button,.editor-modal button{border:1px solid var(--editor-line);color:var(--editor-ink);cursor:pointer;background:#fff;min-height:36px;padding:7px 11px}.editor-topbar button:disabled,.editor-toolbar button:disabled,.editor-commandbar button:disabled{opacity:.38;cursor:not-allowed}.editor-toolbar{border-bottom:1px solid var(--editor-line);scrollbar-width:thin;z-index:15;background:#fff;flex:0 0 72px;align-items:stretch;gap:2px;padding:7px 10px;display:flex;overflow-x:auto}.editor-toolbar button{white-space:nowrap;border-color:#0000;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:61px;padding:5px 8px;display:flex}.editor-toolbar button b{font-family:Georgia,serif;font-size:20px;line-height:1}.editor-toolbar button span{font-size:11px}.editor-toolbar button:hover{background:var(--editor-soft)}.editor-toolbar button.active{color:var(--editor-blue);background:#e9f0ff;border-color:#aac0ec}.toolbar-divider{background:var(--editor-line);width:1px;min-width:1px;margin:5px 7px}.editor-toolbar .mobile-panel-button{display:none}.editor-commandbar{border-bottom:1px solid var(--editor-line);z-index:13;background:#f9fafb;flex:0 0 48px;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:5px 14px;display:grid}.editor-commandbar>div,.editor-commandbar form{align-items:center;gap:6px;display:flex}.editor-commandbar>div:nth-child(2){justify-content:center}.editor-commandbar form{justify-content:flex-end}.editor-commandbar label,.editor-commandbar span{color:var(--editor-muted);font-size:13px}.editor-commandbar input{border:1px solid var(--editor-line);background:#fff;min-height:34px;padding:6px 8px}.editor-commandbar label input{text-align:center;width:48px}.editor-commandbar form input{width:min(240px,20vw)}.editor-commandbar button{min-height:34px;padding:5px 9px}.editor-notices{white-space:nowrap;border-width:0 0 1px;gap:18px;padding:5px 14px;font-size:12px;display:flex;overflow-x:auto}.editor-notices p{margin:0}.editor-shell{flex:1;grid-template-columns:176px minmax(0,1fr) 286px;min-height:0;display:grid;position:relative}.thumbnail-panel,.properties-panel{z-index:9;background:#fff;min-height:0}.thumbnail-panel{border-right:1px solid var(--editor-line)}.properties-panel{border-left:1px solid var(--editor-line);overflow-y:auto}.panel-heading{border-bottom:1px solid var(--editor-line);justify-content:space-between;align-items:center;height:43px;padding:0 12px;display:flex}.panel-heading strong{text-transform:uppercase;letter-spacing:.08em;font-size:13px}.panel-heading button{border:0;font-size:22px;display:none}.thumbnail-list{height:calc(100% - 43px);padding:12px;overflow-y:auto}.editor-thumbnail{content-visibility:auto;contain-intrinsic-size:140px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;min-height:136px;margin-bottom:12px;display:flex;background:#f8fafc!important;border:2px solid #0000!important;padding:8px!important}.editor-thumbnail.active{border-color:var(--editor-blue)!important;background:#eef4ff!important}.editor-thumbnail span{color:var(--editor-muted);font-size:12px}.editor-thumbnail canvas{background:#fff;max-width:112px;max-height:112px;box-shadow:0 2px 6px #141e3226}.editor-thumbnail i{background:#eef1f5;width:90px;height:108px;display:block}.editor-viewport{overscroll-behavior:contain;padding:34px;position:relative;overflow:auto}.editor-page-stage{transform-origin:top;background:#fff;margin:0 auto;position:relative;box-shadow:0 5px 24px #121f3533}.editor-page-stage>canvas{display:block;position:absolute;inset:0}.pdf-text-layer,.editor-object-layer,.editor-draw-layer{position:absolute;inset:0}.pdf-text-layer{text-align:initial;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;transform-origin:0 0;line-height:1;overflow:clip}.pdf-text-layer :is(span,br){color:#0000;white-space:pre;transform-origin:0 0;cursor:text;-webkit-user-select:text;user-select:text;position:absolute}.pdf-text-layer span.markedContent{height:0;top:0}.pdf-text-layer ::selection{color:#0000;background:#2c72ff59}.pdf-text-layer .search-hit{background:#ffcd3277}.mobile-editor-controls,.mobile-editor-settings{display:none}.editor-object-layer{pointer-events:none}.editor-draw-layer{pointer-events:auto;touch-action:none}.editor-draw-layer.inactive{pointer-events:none}.editor-object{pointer-events:auto;touch-action:none;transform-origin:50%;cursor:move;outline:1px solid #0000;position:absolute}.editor-object.selected{outline-offset:2px;outline:2px solid #2d6cdf}.editor-object img,.editor-object>div,.editor-object svg{width:100%;height:100%;display:block}.object-text{overflow:hidden}.object-highlight{mix-blend-mode:multiply}.object-shape{border-style:solid}.object-shape.ellipse{border-radius:50%}.object-note{color:#735d00;background:#ffed74;border:1px solid #d4bd3d;place-items:center;font-size:22px;display:grid!important}.object-stamp{display:block}.stamp-rejected{color:#bc2f38}.stamp-draft{color:#4a5d86}.stamp-confidential{color:#922b70}.object-redact{color:#fff;letter-spacing:.11em;background:#050505;place-items:center;font-size:9px;overflow:hidden;display:grid!important}.object-ink{overflow:visible}.resize-handle{border-radius:50%;width:15px;height:15px;position:absolute;bottom:-8px;right:-8px;box-shadow:0 0 0 1px #2d6cdf;cursor:nwse-resize!important;background:#2d6cdf!important;border:2px solid #fff!important;min-height:0!important;padding:0!important}.draw-preview{border:2px dashed var(--editor-blue);background:#2d6cdf1f;position:absolute}.preview-redact{background:#000000c7;border-color:#000}.preview-highlight{background:#ffeb3b80;border-color:#d4ae00}.properties-form{border-bottom:1px solid var(--editor-line);padding:14px}.property-help{color:var(--editor-muted);margin-bottom:14px;font-size:12px;line-height:1.5}.pdf-editor-app button:focus-visible,.editor-welcome button:focus-visible{outline-offset:2px;outline:3px solid #4b83e9}.selected-kind{border-bottom:1px solid var(--editor-line);white-space:nowrap;text-overflow:ellipsis;margin:0 0 13px;padding-bottom:9px;font-weight:700;overflow:hidden}.properties-form label{color:var(--editor-muted);gap:6px;margin:0 0 12px;font-size:12px;display:grid}.properties-form input,.properties-form select,.properties-form textarea{border:1px solid var(--editor-line);width:100%;color:var(--editor-ink);background:#fff;padding:8px}.properties-form input[type=color]{height:38px;padding:3px}.properties-form input[type=range]{padding:0}.properties-form textarea{resize:vertical;min-height:78px}.property-row{grid-template-columns:1fr 1fr;gap:9px;display:grid}.text-style-buttons{gap:5px;margin-bottom:12px;display:flex}.text-style-buttons button{width:38px;padding:5px}.text-style-buttons button.active{color:var(--editor-blue);border-color:var(--editor-blue);background:#e9f0ff}.fill-opacity-control{margin-bottom:12px}.fill-opacity-control label{margin-bottom:6px}.fill-opacity-control button{width:100%;min-height:32px;color:var(--editor-muted);padding:5px 8px}.fill-opacity-control button.active{border-color:var(--editor-blue);color:var(--editor-blue);background:#eef4ff;font-weight:700}.property-actions{gap:7px;display:flex}.property-actions button{flex:1}.property-actions .danger{color:#b42318;border-color:#f0a8a2}.panel-empty{color:var(--editor-muted);padding:18px 14px;font-size:13px}.object-list{padding:14px}.object-list h3{text-transform:uppercase;letter-spacing:.07em;margin:0 0 9px;font-size:12px}.object-list>button{text-align:left;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:8px;width:100%;min-width:0;display:flex;overflow:hidden}.object-list>button.active{color:var(--editor-blue);background:#e9f0ff;border-color:#aac0ec}.object-list>button span{min-width:18px}.object-list p{color:var(--editor-muted);font-size:12px;line-height:1.5}.local-data-actions{border-top:1px solid var(--editor-line);gap:6px;margin:14px;padding-top:13px;display:grid}.local-data-actions span{color:#1d7650;font-size:11px;line-height:1.4}.local-data-actions button{font-size:12px}.custom-stamp-fab{z-index:21;border:1px solid var(--editor-blue);color:var(--editor-blue);background:#fff;padding:10px 13px;position:fixed;bottom:18px;right:305px;box-shadow:0 8px 24px #14285026}.drawer-scrim{display:none}.editor-modal-backdrop{z-index:100;background:#0e192c94;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.editor-modal{background:#fff;width:min(520px,100%);max-height:calc(100vh - 40px);padding:27px;overflow-y:auto;box-shadow:0 24px 80px #00000047}.editor-modal h2{margin:0 0 10px;font-size:26px}.editor-modal>p{color:var(--editor-muted);line-height:1.55}.modal-actions{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.export-modal>label{border:1px solid var(--editor-line);cursor:pointer;gap:12px;margin-top:10px;padding:15px;display:flex}.export-modal>label.selected{border-color:var(--editor-blue);background:#f1f6ff}.export-modal>label input{margin-top:3px}.export-modal>label span{gap:5px;display:grid}.export-modal>label small{color:var(--editor-muted);line-height:1.4}.export-progress{margin-top:18px}.export-progress>div{background:#e4e8ef;height:8px;overflow:hidden}.export-progress>div span{background:var(--editor-blue);height:100%;transition:width .2s;display:block}.export-progress p{color:var(--editor-muted);font-size:12px}@media (width<=1050px){.pdf-editor-app{grid-template-rows:60px 62px 48px auto 1fr}.editor-shell{grid-template-columns:minmax(0,1fr)}.thumbnail-panel,.properties-panel{z-index:45;visibility:hidden;width:min(340px,88vw);transition:transform .2s;position:fixed;top:60px;bottom:0;transform:translate(-105%);box-shadow:10px 0 35px #0f192d33}.thumbnail-panel.drawer-open{visibility:visible;transform:translate(0)}.properties-panel{right:0;transform:translate(105%);box-shadow:-10px 0 35px #0f192d33}.properties-panel.drawer-open{visibility:visible;transform:translate(0)}.panel-heading button{display:block}.editor-toolbar .mobile-panel-button{display:none}.mobile-editor-controls{border-bottom:1px solid var(--editor-line);background:#fff;justify-content:space-between;gap:8px;padding:4px 10px;display:flex}.mobile-editor-controls button{border:1px solid var(--editor-line);color:var(--editor-blue);background:#fff;padding:6px 10px;font-size:12px}.mobile-editor-settings{gap:8px;display:grid}.mobile-editor-settings select{border:1px solid var(--editor-line);width:100%;padding:8px}.drawer-scrim{z-index:40;background:#0e192c6b;border:0;display:block;position:fixed;inset:0}.custom-stamp-fab{right:18px}.editor-toolbar button{min-width:58px}.editor-toolbar button span{font-size:10px;display:block}}@media (width<=740px){.pdf-editor-app{grid-template-rows:58px 57px 45px auto 1fr}.editor-topbar{grid-template-columns:minmax(80px,1fr) auto auto;gap:5px;min-height:58px;padding:0 8px}.editor-history-actions{display:flex}.editor-history-actions span,.editor-document-actions>button:first-child,.editor-document-actions select{display:none}.editor-document-actions .primary-button{min-width:78px;padding:6px 8px;font-size:12px}.editor-topbar-brand span{max-width:26vw}.editor-commandbar{grid-template-columns:1fr auto;padding:4px 7px}.editor-commandbar form{grid-column:1/-1;justify-content:stretch}.editor-commandbar form input{width:100%;min-width:0}.editor-commandbar>div:nth-child(2) button:last-child{display:none}.editor-commandbar{flex-basis:84px;gap:4px}.editor-toolbar{padding:4px 5px}.editor-toolbar button{min-width:46px;padding:4px 6px}.editor-toolbar button b{font-size:18px}.toolbar-divider{margin:4px 3px}.editor-notices{padding-inline:8px}.editor-viewport{padding:18px}.editor-modal{padding:21px}.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%}}
