.pdf-page{--pdf-blue:#3438dc;--pdf-green:#c6f25b}.pdf-main{padding:0 5.4vw}.pdf-hero{min-height:495px;display:grid;grid-template-columns:1fr .85fr;align-items:center;border-bottom:1px solid #dcded5;position:relative;overflow:hidden}.pdf-hero-copy{padding:36px 0 48px 4px;position:relative;z-index:2}.pdf-eyebrow,.pdf-overline{font:10px 'DM Mono',monospace;letter-spacing:1.4px;color:#7c8279}.pdf-eyebrow{display:flex;gap:20px;margin-bottom:22px}.pdf-eyebrow b{font-weight:400;color:#a6aaa0}.pdf-hero h1{font:800 clamp(52px,6.3vw,82px)/.94 'Manrope',sans-serif;letter-spacing:-.085em;margin:0;color:#1b211d}.pdf-hero h1 em{font:400 italic 1.04em Georgia,serif;color:#3438dc;letter-spacing:-.07em}.pdf-hero-copy>p{font-size:15px;line-height:1.7;color:#737970;max-width:390px;margin:20px 0 23px}.pdf-search{height:48px;width:min(420px,100%);background:#fbfaf6;border:1px solid #d9dbd1;box-shadow:4px 4px 0 #c6f25b;display:flex;align-items:center;padding:0 12px;gap:8px;position:relative}.pdf-search>span{font-size:21px;color:#3438dc}.pdf-search input{flex:1;border:0;background:transparent;outline:0;font:13px 'DM Sans',sans-serif;min-width:0}.pdf-search kbd{font:10px 'DM Mono',monospace;background:#e7e9de;padding:4px 7px}.pdf-hero-foot{display:flex;justify-content:space-between;width:min(420px,100%);margin-top:25px;font:8px 'DM Mono',monospace;letter-spacing:.7px;color:#8a8f86}.pdf-hero-foot b{color:#3438dc}.pdf-hero-foot i{font-style:normal;color:#ff7252;margin-left:5px}.pdf-hero-art{height:410px;position:relative;display:grid;place-items:center}.paper-orbit{position:absolute;width:116%;height:42%;border:1px solid #cfd1c8;border-radius:50%;transform:rotate(-25deg)}.po-b{width:98%;height:74%;transform:rotate(40deg);border-color:#dedfd7}.paper-stack{width:220px;height:290px;position:relative;transform:rotate(9deg);filter:drop-shadow(20px 27px 17px #2222);animation:paperFloat 6s ease-in-out infinite}.paper-back{position:absolute;inset:15px -13px -12px 14px;background:#c6f25b;border:1px solid #1b211d;transform:rotate(7deg)}.paper-front{position:absolute;inset:0;background:#fbfaf5;border:1px solid #1b211d;padding:22px}.paper-logo{font:800 23px 'Manrope',sans-serif;color:#3438dc;letter-spacing:-2px}.paper-logo span{color:#ff7252}.paper-lines{display:flex;flex-direction:column;gap:10px;margin-top:30px}.paper-lines i{display:block;height:4px;background:#e4e5dc;width:100%}.paper-lines i:nth-child(2){width:79%}.paper-lines i:nth-child(3){width:90%}.paper-lines b{height:74px;border:1px solid #dcded5;background:linear-gradient(135deg,#e5e6df 25%,transparent 25%) 0 0/14px 14px;margin:6px 0}.paper-stamp{position:absolute;bottom:28px;right:18px;border:1px solid #ff7252;padding:5px 7px;color:#ff7252;font:7px/1.25 'DM Mono',monospace;transform:rotate(-8deg)}.paper-page{position:absolute;bottom:17px;left:21px;font:7px 'DM Mono',monospace;color:#989d93}.pdf-art-spark{position:absolute;color:#ff7252;font-size:19px}.spark-1{top:14%;right:18%}.spark-2{left:8%;bottom:19%;color:#3438dc}.pdf-art-note{position:absolute;right:0;bottom:7%;font:8px/1.45 'DM Mono',monospace;letter-spacing:.8px;color:#81877d;text-align:right}.pdf-catalog{padding:61px 0 76px}.pdf-section-head{display:flex;align-items:end;justify-content:space-between}.pdf-overline{margin-bottom:10px}.pdf-overline span{color:#ff7252;margin-right:8px}.pdf-section-head h2{font:700 34px 'Manrope',sans-serif;letter-spacing:-1.8px;margin:0}.pdf-section-head h2 span{color:#ff7252}.pdf-section-head p{font-size:14px;color:#848980;margin:9px 0 0}.catalog-total{display:flex;align-items:center;gap:10px;border:1px solid #1b211d;border-radius:50%;width:76px;height:76px;justify-content:center;color:#3438dc;transform:rotate(10deg)}.catalog-total strong{font:800 21px 'Manrope',sans-serif;letter-spacing:-2px}.catalog-total span{font:6px/1.2 'DM Mono',monospace;color:#747a71}.pdf-filters{display:flex;gap:6px;overflow:auto;margin-top:29px;padding:12px 0;border-block:1px solid #dcded5}.pdf-filter{white-space:nowrap;padding:9px 12px;border:1px solid transparent;background:transparent;color:#777e74;font:11px 'DM Sans',sans-serif;cursor:pointer}.pdf-filter span{font:9px 'DM Mono',monospace;color:#a2a79d;margin-left:6px}.pdf-filter.active{background:#1b211d;color:white}.pdf-filter.active span{color:#c6f25b}.pdf-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:17px}.pdf-tool-card{min-height:150px;background:#fbfaf5;border:1px solid #dfe0d8;padding:15px;position:relative;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}.pdf-tool-card:hover{transform:translateY(-4px);border-color:#1b211d;box-shadow:5px 5px 0 #c6f25b}.pdf-tool-icon{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#dce2fb;color:#3438dc;font-size:15px}.pdf-tool-card[data-cat="Organize"] .pdf-tool-icon{background:#e4e1fb}.pdf-tool-card[data-cat="Optimize"] .pdf-tool-icon{background:#e5efc9;color:#657a38}.pdf-tool-card[data-cat="Convert"] .pdf-tool-icon{background:#ffdfd5;color:#bb5b46}.pdf-tool-card[data-cat="Edit"] .pdf-tool-icon{background:#f2e9c3;color:#806d28}.pdf-tool-card[data-cat="Security"] .pdf-tool-icon{background:#dcebd8;color:#4e7950}.pdf-tool-card[data-cat="Intelligence"] .pdf-tool-icon{background:#e9ddf5;color:#745092}.pdf-tool-card h3{font:700 13px 'Manrope',sans-serif;margin:15px 0 5px;letter-spacing:-.2px}.pdf-tool-card p{font-size:11px;line-height:1.5;color:#858a82;margin:0;max-width:94%}.pdf-card-arrow{position:absolute;right:14px;top:15px;color:#adb1a8}.tool-badge{position:absolute;right:11px;top:51px;padding:3px 5px;background:#e4efcd;color:#657d3c;font:7px 'DM Mono',monospace}.pdf-empty{padding:50px;text-align:center;color:#848980;font-size:14px}.pdf-trust{position:relative;margin:0 -5.4vw;padding:49px 5.4vw;background:#3438dc;color:#f7f6ef;display:flex;align-items:center;gap:19px}.trust-mark{width:57px;height:57px;border:1px solid #ffffff75;border-radius:50%;display:grid;place-items:center;color:#c6f25b;font-size:29px;flex:none}.pdf-trust .pdf-overline{color:#d0d1f6}.pdf-trust h2{font:700 25px 'Manrope',sans-serif;letter-spacing:-1px;margin:5px 0}.pdf-trust h2 em{font:italic 400 28px Georgia,serif;color:#c6f25b}.pdf-trust p{max-width:650px;font-size:12px;line-height:1.7;color:#d9daf7;margin:0}.pdf-trust>a{color:#fff;text-decoration:none;font:9px 'DM Mono',monospace;margin-left:auto;white-space:nowrap}.pdf-footer>a:last-child{color:#656c62;text-decoration:none}.pdf-modal-backdrop{position:fixed;inset:0;z-index:60;background:#171c1bcc;backdrop-filter:blur(4px);display:grid;place-items:center;padding:16px}.pdf-modal-backdrop[hidden]{display:none}.pdf-modal{width:min(520px,100%);max-height:90vh;overflow:auto;background:#f3f2ec;padding:28px;position:relative;box-shadow:7px 7px 0 #c6f25b}.pdf-close{position:absolute;right:14px;top:14px;width:31px;height:31px;background:transparent;border:1px solid #d8dad1;font-size:20px;cursor:pointer}.pdf-modal-kicker{font:9px 'DM Mono',monospace;letter-spacing:1px;color:#81877e}.pdf-modal-icon{width:39px;height:39px;border-radius:50%;background:#c6f25b;color:#1b211d;display:grid;place-items:center;margin-top:15px}.pdf-modal h2{font:700 25px 'Manrope',sans-serif;letter-spacing:-1px;margin:12px 0 5px}.pdf-modal>p{font-size:12px;color:#777e74;margin:0 0 19px}.pdf-modal label{display:block;font:11px 'DM Sans',sans-serif;color:#50574e;margin:12px 0 6px}.pdf-modal input,.pdf-modal select{width:100%;border:1px solid #d7d9d0;background:#fbfaf6;padding:10px;font:12px 'DM Sans',sans-serif}.pdf-modal input[type=file]{padding:8px}.pdf-modal .pdf-run{margin-top:14px;padding:11px 15px;border:1px solid #1b211d;background:#1b211d;color:white;font:11px 'DM Sans',sans-serif;cursor:pointer}.pdf-modal .pdf-run:disabled{opacity:.55;cursor:wait}.pdf-modal .pdf-link{display:inline-block;margin:14px 10px 2px 0;color:#3438dc;font:11px 'DM Sans',sans-serif}.pdf-modal .pdf-help{font-size:10px;line-height:1.6;color:#878d83;margin-top:10px}.pdf-toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,15px);opacity:0;background:#1b211d;color:white;padding:11px 15px;font:10px 'DM Mono',monospace;z-index:90;transition:.2s}.pdf-toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes paperFloat{0%,100%{transform:rotate(9deg) translateY(0)}50%{transform:rotate(6deg) translateY(-8px)}}
@media(max-width:1050px){.pdf-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pdf-hero{min-height:450px}.pdf-hero-art{height:370px}}
@media(max-width:720px){.pdf-main{padding:0 20px}.pdf-hero{display:block;min-height:780px}.pdf-hero-copy{padding-top:57px}.pdf-hero h1{font-size:62px}.pdf-hero-copy>p{font-size:14px;max-width:340px}.pdf-hero-art{position:absolute;left:50%;transform:translateX(-50%);top:374px;width:min(100%,500px);height:360px}.paper-stack{scale:.85}.pdf-hero-foot{margin-top:19px}.pdf-section-head h2{font-size:28px}.pdf-section-head p{font-size:12px;max-width:430px}.catalog-total{width:62px;height:62px;flex:none}.catalog-total strong{font-size:17px}.catalog-total span{font-size:5px}.pdf-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pdf-tool-card{min-height:150px;padding:13px}.pdf-tool-card h3{font-size:13px}.pdf-tool-card p{font-size:11px}.pdf-trust{margin:0 -20px;padding:50px 20px 35px;align-items:flex-start;flex-wrap:wrap}.trust-mark{width:45px;height:45px;font-size:22px}.pdf-trust h2{font-size:22px}.pdf-trust p{font-size:11px}.pdf-trust>a{margin:4px 0 0 64px}}
@media(max-width:440px){.pdf-hero h1{font-size:55px}.pdf-hero{min-height:735px}.pdf-hero-art{top:360px;height:340px}.paper-stack{scale:.75}.pdf-section-head h2{font-size:24px}.pdf-section-head p{font-size:11px}.catalog-total{width:50px;height:50px}.pdf-filter{padding:8px 9px;font-size:10px}.pdf-tool-card{min-height:145px;padding:11px}.pdf-tool-card h3{font-size:12px}.pdf-tool-card p{font-size:10px}}

/* Readability pass: larger catalog type and a more generous tool workspace. */



.pdf-eyebrow,.pdf-overline{font-size:11px}
.pdf-hero-copy>p{font-size:17px;line-height:1.75;max-width:430px}
.pdf-search input{font-size:15px}
.pdf-hero-foot{font-size:9px}
.pdf-section-head h2{font-size:38px}
.pdf-section-head p{font-size:15px;line-height:1.65}
.pdf-filter{font-size:13px;padding:10px 14px}
.pdf-filter span{font-size:10px}
.pdf-tool-grid{gap:12px}
.pdf-tool-card{min-height:174px;padding:18px}
.pdf-tool-card h3{font-size:16px;margin-top:18px}
.pdf-tool-card p{font-size:14px;line-height:1.6}
.tool-badge{font-size:8px}
.pdf-trust h2{font-size:29px}
.pdf-trust p{font-size:14px;line-height:1.75}
.pdf-trust>a{font-size:10px}

.pdf-modal-backdrop{background:#101522bd;padding:24px}
.pdf-modal{width:min(650px,100%);max-height:min(88vh,850px);padding:39px;background:#fbfaf6;border:1px solid #e0e1d8;box-shadow:10px 10px 0 #c6f25b}
.pdf-close{width:40px;height:40px;border-radius:50%;font-size:25px;background:#f0f1e8}
.pdf-modal-kicker{font-size:11px;letter-spacing:1.3px}
.pdf-modal-icon{width:52px;height:52px;font-size:20px;margin-top:19px}
.pdf-modal h2{font-size:32px;letter-spacing:-1.5px;margin:15px 0 7px}
.pdf-modal>p{font-size:16px;line-height:1.65;color:#697166;margin-bottom:23px}
.pdf-modal label{font-size:14px;font-weight:600;margin:18px 0 8px}
.pdf-modal input,.pdf-modal select{min-height:50px;padding:13px 14px;font-size:15px;border-radius:6px}
.pdf-modal input[type=file]{padding:11px}
.pdf-modal input:focus,.pdf-modal select:focus{outline:2px solid #3438dc;outline-offset:2px}
.pdf-selected{padding:12px 14px;background:#eef0e7;color:#60685d;font:12px/1.6 'DM Sans',sans-serif;white-space:pre-wrap;margin-top:9px;border-radius:5px}
.pdf-modal .pdf-run{width:100%;min-height:52px;margin-top:20px;border-radius:5px;font-size:15px;font-weight:700}
.pdf-modal .pdf-help{font-size:13px;line-height:1.65;color:#697166;margin-top:13px}
.pdf-service-note{padding:20px;background:#f0f1e8;border:1px solid #e0e1d8;border-radius:7px}
.pdf-service-note>b{font:700 16px 'Manrope',sans-serif}
.pdf-service-note>p{font-size:14px;line-height:1.7;color:#697166}
.pdf-modal .pdf-link{display:inline-flex;align-items:center;justify-content:center;background:#3438dc;color:white;text-decoration:none;padding:13px 17px;border-radius:5px;font-size:14px}

/* A roomier, keyboard-friendly work surface for direct page interactions. */
.pdf-modal:has(.pdf-preview-workspace){width:min(1160px,100%)}
.pdf-tool-card{width:100%;font:inherit;color:inherit;text-align:left}
.pdf-tool-card:focus-visible{outline:3px solid #3438dc;outline-offset:3px;z-index:2}
.pdf-page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.pdf-page-actions button{min-height:38px;padding:7px 12px;border:1px solid #d7d9d0;border-radius:5px;background:#fbfaf6;color:#273029;font:600 12px 'DM Sans',sans-serif;cursor:pointer}
.pdf-page-actions button:hover{border-color:#3438dc;color:#3438dc}
.pdf-zoom-tools{display:flex;gap:6px;margin-left:auto}
.pdf-zoom-tools button{width:40px;padding:6px;font-size:20px}
.pdf-image-settings{margin:16px 0;padding:16px;background:#f0f1e8;border:1px solid #dfe2d6;border-radius:8px}
.pdf-image-settings>strong{font:700 15px 'Manrope',sans-serif;color:#273029}
.pdf-image-setting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pdf-image-settings label{margin:12px 0 0!important}
.pdf-image-settings p{font-size:12px;color:#697166;margin:9px 0 0}
@media(max-width:760px){.pdf-image-setting-grid{grid-template-columns:1fr}.pdf-modal:has(.pdf-preview-workspace){width:100%}.pdf-page-actions button{font-size:11px;padding-inline:9px}}
@media(max-width:760px){
 
 .pdf-hero-copy>p{font-size:16px}
 .pdf-section-head h2{font-size:32px}
 .pdf-section-head p{font-size:14px}
 .pdf-filter{font-size:12px;padding:9px 11px}
 .pdf-tool-card{min-height:166px;padding:15px}
 .pdf-tool-card h3{font-size:15px}
 .pdf-tool-card p{font-size:13px;line-height:1.55}
 .pdf-trust h2{font-size:24px}
 .pdf-trust p{font-size:13px}
 .pdf-modal-backdrop{align-items:end;padding:8px}
 .pdf-modal{max-height:92vh;padding:29px 22px 25px;border-radius:16px 16px 8px 8px;box-shadow:0 -5px 0 #c6f25b}
 .pdf-modal h2{font-size:27px}
 .pdf-modal>p{font-size:15px}
 .pdf-modal label{font-size:13px}
 .pdf-modal input,.pdf-modal select{font-size:14px}
 .pdf-modal .pdf-run{font-size:14px}
 .pdf-modal .pdf-help,.pdf-service-note>p{font-size:12px}
}
@media(max-width:440px){
 
 .pdf-hero-copy>p{font-size:15px}
 .pdf-section-head h2{font-size:27px}
 .pdf-section-head p{font-size:13px}
 .pdf-filter{font-size:11px}
 .pdf-tool-card{min-height:158px;padding:12px}
 .pdf-tool-card h3{font-size:14px}
 .pdf-tool-card p{font-size:12px}
 .pdf-modal{padding:25px 18px 22px}
}

/* Task-focused upload flow for PDF tools. */
.merge-steps{display:flex;align-items:center;gap:9px;padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #e0e1d8;color:#92988f;font:10px 'DM Mono',monospace}
.merge-steps span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.merge-steps span.current{color:#202820}
.merge-steps b{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#e7e9df;font-size:10px;font-weight:500}
.merge-steps .current b{background:#c6f25b;color:#1b211d}
.merge-steps i{height:1px;flex:1;min-width:10px;background:#d9dbd2}
.pdf-uploadzone{min-height:158px;margin:0!important;padding:20px!important;display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1.5px dashed #9ea593;background:#f5f6ef;border-radius:9px;color:#1b211d!important;text-align:center;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.pdf-uploadzone:hover,.pdf-uploadzone.drag-over{background:#edf4db;border-color:#3438dc;transform:translateY(-1px)}
.upload-symbol{width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:#e1edc2;color:#394538;font-size:21px}
.pdf-uploadzone strong{font:700 16px 'Manrope',sans-serif}
.pdf-uploadzone>span:not(.upload-symbol){font:14px 'DM Sans',sans-serif;color:#62695f}
.pdf-uploadzone u{color:#3438dc;text-underline-offset:3px;font-weight:600}
.pdf-uploadzone small{font:11px 'DM Sans',sans-serif;color:#8a9086}
.pdf-file-input{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-file-input:focus-visible+.pdf-file-list{outline:2px solid #3438dc;outline-offset:3px}
.pdf-file-list{display:grid;gap:7px;margin:12px 0 3px;max-height:225px;overflow:auto}
.pdf-file-empty{min-height:44px;display:grid;place-items:center;padding:10px;color:#858c81;font-size:12px;background:#f4f5ee;border-radius:6px}
.pdf-file-row{display:flex;align-items:center;gap:11px;min-height:62px;padding:8px 10px;background:#fff;border:1px solid #e0e2d9;border-radius:7px;transition:border-color .2s,background .2s}
.pdf-file-row[draggable=true]{cursor:grab}.pdf-file-row.dragging{opacity:.5;background:#eef1e7}.pdf-file-number{width:30px;height:30px;flex:none;display:grid;place-items:center;background:#eaf0d9;color:#48553d;border-radius:5px;font:10px 'DM Mono',monospace}
.pdf-file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.pdf-file-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 13px 'DM Sans',sans-serif;color:#30372f}.pdf-file-info small{font:11px 'DM Sans',sans-serif;color:#91978c}
.pdf-file-actions{display:flex;gap:4px}.pdf-file-actions button{width:32px;height:32px;border:1px solid #e1e3da;border-radius:5px;background:#fafaf6;color:#474f45;font-size:17px;cursor:pointer}.pdf-file-actions button:hover:not(:disabled){background:#e8edda;border-color:#c4ceaf}.pdf-file-actions button:disabled{opacity:.35;cursor:default}
.pdf-modal .pdf-run:disabled{background:#aeb4a8;border-color:#aeb4a8;color:#f7f7f3;opacity:1;cursor:not-allowed}
.pdf-modal .pdf-help{padding:10px 12px;background:#f2f3ec;border-radius:6px}
.ready-badge{background:#e4efcd;color:#526c2c}
.engine-badge{background:#eee9d8;color:#776530}
.pdf-engine-note,.pdf-caveat{padding:12px 14px;border:1px solid #e2e2d7;background:#f0f1e8;border-radius:7px;color:#62695f;font:13px/1.6 'DM Sans',sans-serif;margin-top:12px}
.pdf-caveat{padding:0;border:0;background:transparent;margin:6px 0 0;font-size:12px}
.pdf-modal textarea{width:100%;min-height:96px;resize:vertical;border:1px solid #d7d9d0;background:#fbfaf6;padding:13px 14px;font:14px/1.5 'DM Sans',sans-serif;border-radius:6px}
.pdf-preview-workspace{margin-top:18px;padding:14px;border:1px solid #dfe1d7;border-radius:9px;background:#f6f7f1}
.pdf-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#3438dc;font:10px 'DM Mono',monospace;letter-spacing:.7px}
.pdf-preview-heading span{color:#959b90;font-size:8px}
.pdf-preview-workspace>p{margin:7px 0 12px;color:#737a70;font:12px/1.5 'DM Sans',sans-serif}
.pdf-page-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:350px;overflow:auto;padding:2px}
.pdf-preview-empty,.pdf-preview-loading{grid-column:1/-1;min-height:100px;display:grid;place-items:center;border:1px dashed #c9cec0;border-radius:6px;color:#858c81;font:12px 'DM Sans',sans-serif}
.pdf-page-card{position:relative;min-width:0;padding:8px 8px 27px;background:#fff;border:1px solid #dfe1d8;border-radius:6px;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s;user-select:none}
.pdf-page-card:hover{transform:translateY(-2px);border-color:#3438dc;box-shadow:0 4px 12px #1b211d16}
.pdf-page-card.is-selected{border:2px solid #3438dc;background:#eef0ff;box-shadow:0 0 0 2px #3438dc22}
.pdf-page-card.placement-page{outline:2px solid #c6f25b;outline-offset:2px}
.pdf-page-card.is-dragging{opacity:.45}
.pdf-crop-mark{position:absolute;z-index:1;border:2px solid #3438dc;background:#3438dc24;pointer-events:none}
.pdf-redact-mark{position:absolute;z-index:1;border:1px solid #000;background:#000;pointer-events:none}
.pdf-page-card canvas{display:block;width:100%!important;height:auto!important;box-shadow:0 2px 7px #1b211d18}
.pdf-page-number{position:absolute;left:8px;right:8px;bottom:8px;text-align:center;color:#626a5e;font:9px 'DM Mono',monospace}
@media(max-width:520px){.pdf-preview-workspace{padding:10px}.pdf-page-preview{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:7px;max-height:300px}.pdf-preview-heading{font-size:9px}.pdf-preview-heading span{font-size:7px}}
@media(max-width:760px){.merge-steps{gap:5px;font-size:9px}.merge-steps span{gap:4px}.merge-steps b{width:19px;height:19px;font-size:9px}.pdf-uploadzone{min-height:145px}.pdf-uploadzone strong{font-size:15px}.pdf-uploadzone>span:not(.upload-symbol){font-size:13px}.pdf-file-info strong{font-size:12px}}

/* Give the page workspace room and keep drag sorting from rebuilding its scroll area. */
.pdf-modal-backdrop{padding:12px}
.pdf-modal{width:min(960px,calc(100vw - 32px));max-height:94vh;max-height:94dvh}
.pdf-page-preview{max-height:min(48vh,520px);max-height:min(48dvh,520px)}
@media(max-width:760px){.pdf-modal-backdrop{align-items:center;padding:8px}.pdf-modal{width:calc(100vw - 16px);max-height:96vh;max-height:96dvh;padding:24px 18px}.pdf-page-preview{max-height:48vh;max-height:48dvh}}
.pdf-unavailable{padding:24px 22px;border:1px solid #dfe1d8;background:#f3f4ed;border-radius:10px;text-align:center}
.pdf-unavailable-symbol{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 12px;border-radius:50%;background:#e7e9df;color:#62695f;font-size:22px}
.pdf-unavailable h3{margin:0 0 7px;color:#1b211d;font:700 20px 'Manrope',sans-serif}
.pdf-unavailable>p{margin:0 auto;max-width:480px;color:#697166;font:14px/1.6 'DM Sans',sans-serif}
.pdf-unavailable .pdf-engine-note{max-width:500px;margin:14px auto 0}
.pdf-modal .pdf-signature-pad{display:block;width:100%;height:130px;border:1px dashed #aab09f;border-radius:7px;background:repeating-linear-gradient(#fbfaf6 0 31px,#e6e8dd 32px 33px);touch-action:none;cursor:crosshair}
.pdf-modal .pdf-secondary{margin-top:8px;padding:8px 12px;border:1px solid #d7d9d0;border-radius:5px;background:#f4f5ef;color:#4d554b;font:12px 'DM Sans',sans-serif;cursor:pointer}
.pdf-dynamic-field{display:block;margin:10px 0;color:#50574e;font:13px 'DM Sans',sans-serif}
.pdf-dynamic-field input:not([type=checkbox]),.pdf-dynamic-field select{display:block;width:100%;margin-top:6px}
.pdf-dynamic-field input[type=checkbox]{width:20px;height:20px;display:block;margin-top:8px;accent-color:#3438dc}
@media(max-width:760px){.pdf-unavailable{padding:20px 14px}.pdf-unavailable h3{font-size:18px}.pdf-unavailable>p{font-size:13px}.pdf-modal .pdf-signature-pad{height:118px}}
@media(max-width:720px){.pdf-main{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}

.pdf-file-actions button{width:44px;height:44px;min-width:44px;min-height:44px}
.pdf-page-actions button{min-height:44px}
.pdf-foot-mark{width:12px;height:12px;margin-left:5px;color:var(--orange)}
.pdf-art-spark.gt-mark{width:19px;height:19px;color:var(--orange);--mark-core:var(--green)}
.pdf-art-spark.gt-mark.spark-2{color:var(--blue);--mark-core:var(--orange)}
.trust-mark .gt-mark{width:29px;height:29px;color:var(--paper);--mark-core:var(--green)}

/* Compact the PDF studio intro on narrow screens; keep its artwork in flow. */
@media(max-width:760px){.pdf-hero{display:grid;grid-template-columns:1fr;min-height:0;padding:18px 0 22px}.pdf-hero-copy{padding:14px 0 8px}.pdf-hero h1{font-size:clamp(42px,10vw,62px)}.pdf-hero-art{position:relative;inset:auto;left:auto;top:auto;right:auto;bottom:auto;transform:none;width:100%;height:clamp(210px,56vw,320px)}}
@media(max-width:390px){.pdf-main{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.pdf-hero h1{font-size:clamp(38px,11vw,50px)}}