.pdf-editor{margin:1.25rem 0;--editor-border:#dce2ee;--editor-accent:#464bff;--editor-ink:#17213a}.pdf-editor [hidden],form[data-browser-tool] .drop-zone[hidden],form[data-browser-tool] .browser-drop[hidden]{display:none!important}.pdf-editor-controls,.pdf-editor-main{min-width:0}.pdf-editor-icon{width:21px;height:21px;flex:none;vertical-align:middle}.pdf-editor-symbol{font-size:23px;line-height:1}.pdf-editor-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.pdf-editor-source{display:flex;align-items:center;gap:.75rem;margin:.8rem 0;padding:.6rem .8rem;border:1px solid var(--editor-border);border-radius:10px;background:#f9faff;min-width:0}.pdf-editor-source-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.pdf-editor-local{font-size:.75rem;color:#567366;white-space:nowrap}.pdf-editor-source .button{margin-left:auto;white-space:nowrap;min-height:36px;padding:.4rem .75rem;font-size:.8rem}.pdf-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:1rem;align-items:start}.pdf-editor-workbench{border:1px solid var(--editor-border);border-radius:12px 12px 0 0;background:#fff;position:relative;z-index:2}.pdf-editor-toolbar{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.75rem 0}.pdf-editor-primary{gap:.25rem;margin:0;padding:.4rem;min-height:52px}.pdf-editor-tool,.pdf-editor-more>summary{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;border:1px solid transparent;border-radius:6px;background:transparent;color:#43516a;padding:.45rem .5rem;min-height:40px;cursor:pointer;font:inherit;font-size:.8rem;font-weight:550;line-height:1.2;white-space:nowrap;box-shadow:none}.pdf-editor-tool:hover:not(:disabled),.pdf-editor-more>summary:hover{background:#f1f3fc;color:var(--editor-accent)}.pdf-editor-tool:disabled{opacity:.4;cursor:not-allowed}.pdf-editor-tool[aria-pressed=true],.pdf-editor-tool[aria-expanded=true]{color:var(--editor-accent);background:#eef0ff;border-color:#dadeff}.pdf-editor-icon-only{width:38px;min-width:38px;padding:.45rem;font-size:1.4rem}.pdf-editor-toolbar-spacer{flex:1}.pdf-editor-image-label{position:relative;overflow:hidden;cursor:pointer;margin:0!important}.pdf-editor-image-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.pdf-editor-image-label:focus-within{outline:2px solid var(--editor-accent);outline-offset:2px}.pdf-editor-palette{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;padding:.45rem .7rem;border-top:1px solid var(--editor-border);background:#f9faff}.pdf-editor-palette-title{font-size:.75rem;font-weight:600;color:#66758e;margin-right:.5rem}.pdf-editor-properties{border-top:1px solid var(--editor-border);padding:.55rem .8rem;background:#fbfcff}.pdf-editor-context-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.76rem;font-weight:650;color:#53637d;margin-bottom:.4rem}.pdf-editor-context-heading small{font-size:.7rem;font-weight:400;color:#70809a}.pdf-editor-context-row{display:flex;align-items:flex-end;gap:.45rem;flex-wrap:wrap}.pdf-editor-context-row>label{display:flex;flex-direction:column;gap:.2rem;margin:0;font-size:.68rem;color:#53637d;font-weight:550}.pdf-editor-context-row input:not([type=checkbox]),.pdf-editor-context-row select{height:33px;min-height:33px;padding:.25rem .4rem;border-radius:5px;font-size:.82rem;background:#fff}.pdf-editor-context-row input[type=number]{width:71px}.pdf-editor-context-row input[type=color]{width:40px;padding:4px}.pdf-editor-context-row select{width:auto;min-width:84px;max-width:150px}.pdf-editor-context-row .pdf-editor-tool{min-height:33px;height:33px;margin-bottom:0}.pdf-editor-context-row .pdf-editor-toggle{position:relative;display:inline-flex;justify-content:center;align-items:center;height:33px;min-width:31px;margin:0;overflow:hidden;cursor:pointer}.pdf-editor-toggle input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}.pdf-editor-toggle span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:1px solid var(--editor-border);border-radius:5px;padding:.3rem .5rem;font-size:.85rem;color:var(--editor-ink);background:white}.pdf-editor-toggle input:checked+span{background:#e9ecff;border-color:#8e99f8;color:#323ed3}.pdf-editor-toggle input:focus-visible+span{outline:2px solid var(--editor-accent);outline-offset:-2px}.pdf-editor-toggle-labelled span{font-size:.74rem}.pdf-editor-content-input{display:block;margin:.55rem 0 0;font-size:.74rem;color:#53637d}.pdf-editor-content-input textarea{display:block;margin-top:.25rem;min-height:54px;max-height:145px;resize:vertical;font-size:.9rem;line-height:1.35;padding:.55rem .7rem;background:white}.pdf-editor-form-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.pdf-editor-form-properties label{font-size:.75rem;margin-top:.5rem}.pdf-editor-properties :disabled{opacity:.55;cursor:not-allowed}.pdf-editor-properties [aria-invalid=true]{border-color:#b42332;outline-color:#b42332}.pdf-editor-properties input[type=checkbox]{accent-color:var(--editor-accent)}.pdf-editor-delete{color:#b84454}.pdf-editor-sidebar{min-width:0;position:sticky;top:1rem;border:1px solid var(--editor-border);border-radius:12px;background:#fff}.pdf-editor-more>summary{justify-content:flex-start;width:100%;min-height:50px;padding:.75rem;font-size:.87rem;list-style:none}.pdf-editor-more>summary::-webkit-details-marker{display:none}.pdf-editor-more>summary::after{content:'⌄';margin-left:auto;font-size:1rem}.pdf-editor-more[open]>summary::after{content:'⌃'}.pdf-editor-more [data-editor-layer-count]{font-size:.7rem;padding:.15rem .4rem;border-radius:4px;background:#eef0ff;color:#454bad}.pdf-editor-more-panel{padding:0 .75rem .75rem}.pdf-editor-more-panel>label{display:block;font-size:.72rem;margin:.7rem 0}.pdf-editor-more-panel select{font-size:.8rem;padding:.45rem}.pdf-editor-more-panel .pdf-editor-toolbar{gap:.4rem;margin:.7rem 0 0}.pdf-editor-more-panel .button{font-size:.72rem;padding:.4rem .5rem;min-height:34px;flex:1 1 auto}.pdf-editor-layers{display:flex;flex-direction:column;gap:.4rem;max-height:400px;overflow-y:auto}.pdf-editor-layers>.form-help{font-size:.78rem;line-height:1.5;margin:.35rem 0 .75rem}.pdf-editor-layer{display:flex;flex-direction:column;gap:.25rem;text-align:left;width:100%;border:1px solid var(--editor-border);border-radius:7px;background:#fff;padding:.6rem .7rem;font:inherit;font-size:.72rem;color:#687792;cursor:pointer;overflow-wrap:anywhere;line-height:1.4}.pdf-editor-layer-type{font-size:.8rem;font-weight:650;color:var(--editor-ink)}.pdf-editor-layer[aria-pressed=true]{background:#eff1ff;border-color:#818cf8}.pdf-editor-preview-shell{position:relative;padding-bottom:72px;background:#eef1f7;border:1px solid var(--editor-border);border-top:0;border-radius:0 0 12px 12px}.pdf-editor-grid{display:grid;grid-template-columns:86px minmax(0,1fr);gap:.8rem;padding:.9rem;min-width:0}.pdf-editor-thumbnails{display:flex;flex-direction:column;gap:.75rem;max-height:700px;overflow:auto}.pdf-editor-thumbnails button{border:2px solid transparent;background:#fff;border-radius:6px;padding:4px;cursor:pointer;color:var(--editor-ink)}.pdf-editor-thumbnails button[aria-current=true]{border-color:var(--editor-accent)}.pdf-editor-thumbnails canvas{display:block;width:66px;height:auto;margin:auto}.pdf-editor-thumbnails span{display:block;font-size:.72rem;margin-top:.25rem}.pdf-editor-stage-scroll{overflow:auto;height:min(70vh,760px);min-height:300px;min-width:0;overscroll-behavior:contain;scrollbar-gutter:stable}.pdf-editor-stage{position:relative;background:white;box-shadow:0 3px 14px #17213a22;margin:0 auto;flex-shrink:0}.pdf-editor-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.pdf-editor-stage canvas[data-editor-canvas]{touch-action:none;cursor:default;user-select:none;-webkit-user-select:none}.pdf-editor-stage canvas:focus-visible{outline:3px solid var(--editor-accent);outline-offset:2px}.pdf-editor-viewbar{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:.25rem;background:#fff;border:1px solid #d2d9e8;border-radius:10px;padding:.35rem;box-shadow:0 4px 18px #17213a14;max-width:calc(100% - 18px);white-space:nowrap;z-index:1}.pdf-editor-viewbar label{margin:0!important;display:block}.pdf-editor-viewbar select{width:auto;min-width:65px;padding:.35rem .4rem;font-size:.8rem;border:0;background:#f8f9fd;min-height:34px;height:34px}.pdf-editor-viewbar .pdf-editor-tool{min-height:34px;height:34px}.pdf-editor-viewbar-divider{height:24px;width:1px;background:var(--editor-border);margin:0 .2rem}.pdf-editor-page-total{font-size:.8rem;color:#6a7791;margin-right:.1rem}.pdf-editor-tips{margin:.7rem 0;font-size:.8rem;color:#53637d}.pdf-editor-tips summary{cursor:pointer;font-weight:550}.pdf-editor-existing{border:1px solid var(--editor-border);padding:1rem;border-radius:12px;margin-top:1rem}.pdf-editor-existing label{display:block;margin:.75rem 0}.pdf-editor-existing input[type=checkbox]{width:auto;margin-right:.5rem}.pdf-editor-notice{padding:.9rem 1rem;background:#f6f7ff;border-left:3px solid #4b50ed;border-radius:5px}.pdf-editor-existing [data-editor-existing]{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.75rem}.pdf-editor-field-name{font-weight:600;overflow-wrap:anywhere}.pdf-editor button:focus-visible,.pdf-editor summary:focus-visible,.pdf-editor input:focus-visible,.pdf-editor textarea:focus-visible,.pdf-editor select:focus-visible{outline:2px solid var(--editor-accent);outline-offset:2px}.pdf-editor-toolbar label{display:flex;align-items:center;gap:.45rem;margin:0}.pdf-editor-toolbar select{width:auto;min-width:5rem}.pdf-editor-toolbar input[type=checkbox]{width:auto}
@media(max-width:1100px){.pdf-editor-layout{grid-template-columns:minmax(0,1fr) 205px;gap:.65rem}.pdf-editor-primary{gap:.1rem}.pdf-editor-primary .pdf-editor-tool{font-size:.72rem;padding:.4rem}.pdf-editor-context-row{gap:.4rem}.pdf-editor-grid{grid-template-columns:75px minmax(0,1fr);gap:.6rem;padding:.65rem}.pdf-editor-thumbnails canvas{width:57px}}
@media(max-width:900px){.pdf-editor-layout{grid-template-columns:minmax(0,1fr)}.pdf-editor-sidebar{position:static;grid-row:1}.pdf-editor-more-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,1fr);column-gap:.8rem}.pdf-editor-more-panel .pdf-editor-layers{grid-row:span 2;max-height:190px}.pdf-editor-more-panel .pdf-editor-toolbar{align-self:start}.pdf-editor-more-panel>label{margin:0}.pdf-editor-primary .pdf-editor-tool{font-size:.8rem}.pdf-editor-source .pdf-editor-local{display:none}.pdf-editor-more>summary{min-height:42px;padding:.55rem .75rem}}
@media(max-width:600px){.pdf-editor-primary{gap:.15rem}.pdf-editor-primary .pdf-editor-tool{flex-direction:column;gap:.2rem;font-size:.65rem;min-height:49px;min-width:37px;padding:.35rem}.pdf-editor-primary .pdf-editor-icon-only{min-width:32px;width:32px}.pdf-editor-toolbar-spacer{flex:0}.pdf-editor-grid{grid-template-columns:minmax(0,1fr);padding:.6rem}.pdf-editor-thumbnails{flex-direction:row;max-height:120px}.pdf-editor-thumbnails button{flex:0 0 62px}.pdf-editor-thumbnails canvas{width:45px;max-height:74px;object-fit:contain}.pdf-editor-stage-scroll{height:60vh;min-height:280px}.pdf-editor-viewbar{gap:.05rem;padding:.25rem;bottom:12px}.pdf-editor-viewbar .pdf-editor-icon-only{min-width:29px;width:29px}.pdf-editor-viewbar select{min-width:58px;font-size:.72rem}.pdf-editor-viewbar [data-editor-fit-label]{display:none}.pdf-editor-page-total{font-size:.72rem}.pdf-editor-context-heading small{display:none}.pdf-editor-context-row input[type=number]{width:63px}.pdf-editor-properties{padding:.5rem}.pdf-editor-context-row>label{font-size:.65rem}.pdf-editor-content-input textarea{font-size:16px}.pdf-editor-form-properties{grid-template-columns:minmax(0,1fr)}.pdf-editor-more-panel{display:block}.pdf-editor-more-panel>label{margin:.65rem 0}.pdf-editor-source{padding:.45rem .6rem;gap:.4rem;font-size:.8rem}.pdf-editor-source .button{font-size:.72rem}.pdf-editor-palette{gap:.1rem}.pdf-editor-palette-title{width:100%}.pdf-editor-existing{padding:.75rem}}
@media(prefers-reduced-motion:reduce){.pdf-editor *{scroll-behavior:auto!important}}
.pdf-editor{min-width:0;max-width:100%}
/* Loaded Edit PDF keeps related tools centered without squeezing document actions. */
.pdf-editor-source-edit{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.pdf-editor-source-document{display:flex;align-items:center;gap:.65rem;min-width:0}
.pdf-editor-source-edit .pdf-editor-source-name{flex:0 1 auto}
.pdf-editor-source-links,.pdf-editor-source-actions{display:flex;align-items:center;gap:.5rem;min-width:0}
.pdf-editor-source-links{justify-content:center}
.pdf-editor-source-actions{justify-content:flex-end;flex-wrap:wrap}
.pdf-editor-source-edit .button{margin-left:0;min-height:40px}
.pdf-editor-source-links a:focus-visible{outline:2px solid var(--editor-accent);outline-offset:2px}
@media(max-width:1100px){.pdf-editor-source-edit{grid-template-columns:minmax(0,1fr) auto}.pdf-editor-source-document{grid-column:1;grid-row:1}.pdf-editor-source-actions{grid-column:2;grid-row:1}.pdf-editor-source-links{grid-column:1/-1;grid-row:2}}
@media(max-width:600px){.pdf-editor-source-edit{grid-template-columns:minmax(0,1fr);gap:.65rem}.pdf-editor-source-actions{grid-column:1;grid-row:2;justify-content:flex-start}.pdf-editor-source-links{grid-row:3;justify-content:flex-start;align-items:stretch}.pdf-editor-source-edit .button{min-height:44px}.pdf-editor-source-links .button{white-space:normal;text-align:center;line-height:1.45}.pdf-editor-source-links .button:first-child{flex:1;min-width:0}.pdf-editor-source-links .button:last-child{flex:none}.pdf-editor-source-edit .pdf-editor-source-name{flex:1 1 auto}.pdf-editor-source-edit .pdf-editor-source-info{flex:0 1 auto}}
.pdf-editor-document{padding:0;background:#fff;overflow:hidden}.pdf-editor-document summary{cursor:pointer;list-style:none}.pdf-editor-document summary::-webkit-details-marker{display:none}.pdf-document-heading{display:flex;align-items:center;gap:.7rem;padding:.9rem 1rem;font-size:.95rem;font-weight:650;color:var(--editor-ink)}.pdf-document-heading>svg{color:#5965dc}.pdf-document-heading>span:not(.pdf-document-badge){flex:1}.pdf-document-heading small{display:block;font-size:.74rem;font-weight:400;color:#71809a;margin-top:.2rem}.pdf-document-heading::after,.pdf-document-card>summary::after{content:'+';font-size:1.25rem;font-weight:400;color:#72809c}.pdf-editor-document[open]>.pdf-document-heading::after,.pdf-document-card[open]>summary::after{content:'−'}.pdf-document-badge{font-size:.65rem;font-weight:550;padding:.25rem .45rem;border:1px solid #e0e5f0;border-radius:20px;color:#72809c}.pdf-document-body{border-top:1px solid var(--editor-border);padding:0 1rem 1rem}.pdf-document-intro{margin:.8rem 0!important;font-size:.8rem!important}.pdf-document-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:start}.pdf-document-card{border:1px solid var(--editor-border);border-radius:10px;background:#fcfdff;min-width:0}.pdf-document-card[open]{background:#fff;border-color:#cbd3f7}.pdf-document-card>summary{display:flex;align-items:center;gap:.65rem;padding:.85rem .75rem;font-size:.88rem;font-weight:650;color:var(--editor-ink)}.pdf-document-card>summary>span:not(.pdf-document-card-icon){flex:1;min-width:0}.pdf-document-card>summary small{display:block;font-size:.68rem;line-height:1.4;font-weight:400;color:#75829a;margin-top:.25rem}.pdf-document-card-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border-radius:8px;background:#edf0ff;color:#5562d9}.pdf-document-card-body{padding:.2rem .8rem .8rem;border-top:1px solid #e7eaf4}.pdf-editor-document label{display:block;margin:.7rem 0;font-size:.75rem;font-weight:550;color:#52617d}.pdf-editor-document input:not([type=file]),.pdf-editor-document select{font-size:.82rem;padding:.5rem .6rem;margin-top:.3rem;min-height:38px;border-radius:6px}.pdf-editor-document input[type=number]{max-width:120px}.pdf-document-step{display:flex;align-items:center;gap:.45rem;margin:.8rem 0 .5rem;color:#5d6b86;font-size:.72rem}.pdf-document-step>span{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;background:#edf0ff;color:#5867cb;border-radius:50%;font-weight:600}.pdf-document-step>strong{font-weight:600}.pdf-document-area-actions{display:flex;flex-wrap:wrap;gap:.4rem}.pdf-document-area-actions .button{font-size:.7rem;padding:.45rem .5rem;min-height:34px;box-shadow:none}.pdf-document-area-status{font-size:.72rem!important;line-height:1.5!important;margin:.65rem 0!important;padding:.55rem .65rem;background:#f4f6fd;border-radius:6px}.pdf-editor-document .pdf-document-add{width:100%;min-height:38px;font-size:.78rem;padding:.5rem .8rem;margin:.35rem 0}.pdf-document-guidance{margin-top:.75rem;border-top:1px solid #e9ecf4;padding-top:.65rem}.pdf-document-guidance>summary{font-size:.72rem;color:#66749a;line-height:1.5}.pdf-document-guidance>summary::before{content:'▸';display:inline-block;width:1em;color:#7e89a6}.pdf-document-guidance[open]>summary::before{content:'▾'}.pdf-document-guidance .form-help{font-size:.72rem!important;line-height:1.55!important;margin:.45rem 0 0!important}.pdf-editor-document .pdf-document-file-picker{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.6rem;border:1px dashed #b9c5ee;border-radius:8px;padding:1.4rem .65rem;text-align:center;background:#f8faff;overflow:hidden;cursor:pointer}.pdf-document-file-picker>svg{color:#626fdb}.pdf-document-file-picker strong{font-size:.8rem;color:#4354b4}.pdf-document-file-picker>span{font-size:.7rem;color:#7583a0}.pdf-document-file-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.pdf-document-file-picker:focus-within{outline:2px solid var(--editor-accent);outline-offset:2px}.pdf-document-attachment-limits{font-size:.69rem;text-align:center;color:#66768f;margin:.5rem 0 .8rem;line-height:1.6}.pdf-document-list:empty{display:none}.pdf-document-list{border-top:1px solid #e5eaf4;margin-top:.65rem;padding-top:.25rem}.pdf-document-list>.pdf-editor-toolbar{gap:.3rem;margin:.5rem 0;padding:.5rem;border:1px solid #e3e8f3;border-radius:7px;background:#f9fbff}.pdf-document-list>.pdf-editor-toolbar>span{flex:1 0 100%;min-width:0;overflow-wrap:anywhere;font-size:.72rem;line-height:1.5}.pdf-document-list .button{font-size:.67rem;min-height:28px;padding:.3rem .5rem;box-shadow:none}.pdf-document-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1rem;padding-top:.8rem;border-top:1px solid #e5e9f2}.pdf-document-footer>.form-help{font-size:.75rem;margin:0}.pdf-document-footer .button{font-size:.72rem;min-height:34px;padding:.4rem .65rem;box-shadow:none;color:#976274}.pdf-document-card-body>.form-help{font-size:.75rem;line-height:1.5}
@media(max-width:900px){.pdf-document-cards{grid-template-columns:minmax(0,1fr)}.pdf-document-card-body{padding:.3rem .8rem .8rem}.pdf-document-card>summary small{font-size:.73rem}.pdf-document-file-picker{max-width:420px}.pdf-document-attachment-limits{text-align:left}.pdf-editor-document .pdf-document-add{width:auto;min-width:130px}.pdf-document-list>.pdf-editor-toolbar>span{flex:1 1 170px}.pdf-document-heading{padding:.8rem}.pdf-document-body{padding:0 .8rem .8rem}}
.pdf-editor-initial-actions{justify-content:flex-end;margin-top:1rem;margin-bottom:0;padding-top:0;padding-bottom:0;border:0;background:none}.pdf-editor-source-info{display:flex;align-items:center}.pdf-editor-source [data-editor-info-actions]{display:flex;align-items:center;gap:.5rem;width:auto;max-width:none;margin:0;padding:0}.pdf-editor-source [data-editor-info-actions] .button{margin-left:0}.pdf-editor-source-info:empty{display:none}
@media(max-width:600px){.pdf-editor-source{flex-wrap:wrap}.pdf-editor-source-name{flex:1 0 100%}.pdf-editor-source>[data-editor-change-source]{margin-left:0}.pdf-editor-source [data-editor-info-actions]{gap:.4rem}}
@media(max-width:360px){.pdf-editor-source-info{flex:1;min-width:0;align-items:flex-start}.pdf-editor-source>[data-editor-change-source]{align-self:flex-start}.pdf-editor-source [data-editor-info-actions]{width:100%;min-width:0;flex-wrap:wrap;justify-content:flex-start}.pdf-editor-source [data-editor-info-actions] .button{flex:none}}
.pdf-editor-loaded [data-editor-initial-notice]{display:none}.pdf-editor-preview-shell{padding-bottom:12px}.pdf-editor-viewbar{position:sticky;bottom:14px;left:auto;transform:none;width:max-content;margin:0 auto;z-index:3}
@media(max-width:600px){.pdf-editor-viewbar{flex-wrap:wrap;justify-content:center;bottom:8px}}
/* Edit PDF expands only after a source has loaded. Initial SEO/help layout stays intact. */
body.pdf-edit-workspace-open .browser-tool-page{width:calc(100% - 32px);max-width:none;padding-top:12px}
body.pdf-edit-workspace-open .browser-tool-page>.tool-header{display:none}
body.pdf-edit-workspace-open .browser-tool-page .browser-workspace{padding:16px;border-radius:14px;box-shadow:0 8px 28px #17213a0b}
body.pdf-edit-workspace-open .browser-tool-page .pdf-editor{margin:0}
body.pdf-edit-workspace-open .browser-tool-page .pdf-editor-source{margin-top:0}
@media(max-width:600px){body.pdf-edit-workspace-open .browser-tool-page{width:calc(100% - 16px)}body.pdf-edit-workspace-open .browser-tool-page .browser-workspace{padding:8px;border-radius:10px}}
.pdf-editor-stage .pdf-editor-inline-text{position:absolute;z-index:4;display:block;box-sizing:border-box;min-width:0;min-height:0;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;outline:1px dashed #464bff;outline-offset:2px;box-shadow:none;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;line-height:1.25;letter-spacing:normal;text-indent:0;transform-origin:0 0;touch-action:auto;-webkit-text-size-adjust:none;text-size-adjust:none}
.pdf-editor-stage .pdf-editor-inline-text:focus-visible{outline:1px dashed #464bff;outline-offset:2px}
/* Edit PDF's sortable layer list retains a separate selection button and drag handle. */
.pdf-editor-layer-help{font-size:.72rem;line-height:1.5;margin:.1rem 0 .65rem;grid-column:1/-1}.pdf-editor-sortable{padding:3px;gap:.5rem}.pdf-editor-layer-row{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:stretch;min-width:0;border:1px solid var(--editor-border);border-radius:7px;background:#fff}.pdf-editor-layer-row>.pdf-editor-layer{border:0;border-radius:0 6px 6px 0;min-width:0}.pdf-editor-layer-row:has(.pdf-editor-layer[aria-pressed=true]){border-color:#818cf8;background:#eff1ff}.pdf-editor-layer-handle{display:flex;align-items:center;justify-content:center;min-width:32px;min-height:42px;padding:.3rem;border:0;border-right:1px solid #e7eaf3;border-radius:6px 0 0 6px;background:transparent;color:#8c98af;font:inherit;font-size:1.35rem;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;box-shadow:none}.pdf-editor-layer-handle:hover,.pdf-editor-layer-handle[aria-pressed=true]{background:#e7ebff;color:var(--editor-accent)}.pdf-editor-layer-handle:active,.pdf-editor-layer-handle[aria-pressed=true]{cursor:grabbing}.pdf-editor-layer-handle:focus-visible{outline:2px solid var(--editor-accent);outline-offset:-3px}.pdf-editor-layer-row[data-layer-dragging=true]{opacity:.55;border-style:dashed;background:#f2f4ff}.pdf-editor-layer-row[data-layer-drop]::after{content:'';position:absolute;left:0;right:0;height:3px;background:var(--editor-accent);border-radius:3px;pointer-events:none;z-index:1}.pdf-editor-layer-row[data-layer-drop=before]::after{top:-5px}.pdf-editor-layer-row[data-layer-drop=after]::after{bottom:-5px}
@media(pointer:coarse){.pdf-editor-layer-row{grid-template-columns:42px minmax(0,1fr)}.pdf-editor-layer-handle{min-width:42px;min-height:44px}}
/* Original vector symbols remain recognizable at small toolbar sizes. */
.pdf-editor-symbols{align-items:stretch}.pdf-editor-symbols>.pdf-editor-palette-title{align-self:center}.pdf-editor-symbol-choice{flex-direction:column;justify-content:center;min-width:65px;min-height:62px;gap:.3rem;font-size:.65rem;padding:.5rem}.pdf-editor-symbol-choice .pdf-editor-icon{width:26px;height:26px}.pdf-editor-symbol-choice[data-editor-add=symbol-heart],.pdf-editor-symbol-choice[data-editor-add=symbol-cross]{color:#d6334d}.pdf-editor-symbol-choice[data-editor-add=symbol-check]{color:#168b58}.pdf-editor-symbol-choice[data-editor-add=symbol-heart] .pdf-editor-icon{fill:currentColor}.pdf-editor-symbol-choice[aria-pressed=true]{border-color:#9ba5f9;background:#e9ecff}.pdf-editor-symbol-choice span{color:var(--editor-ink)}
@media(max-width:600px){.pdf-editor-symbols{gap:.2rem}.pdf-editor-symbol-choice{flex:1 1 65px;min-width:65px;max-width:100px;min-height:61px}}
