/* Scoped to PDF tool pages: existing finance, image and global styles are unchanged. */
.pdf-catalog .category-hero>p{max-width:720px}.pdf-catalog .pdf-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.pdf-catalog .tool-card{min-height:265px;padding:30px 25px;border-radius:17px}.pdf-catalog .tool-card h3{font-size:20px;margin-top:24px}.pdf-catalog .tool-card p{font-size:13px;line-height:1.8;max-width:290px}.pdf-catalog .card-label{font-size:10px}.pdf-catalog .pdf-merge-icon{background:#fff0eb;color:#df7258}.pdf-catalog .pdf-split-icon{background:#edf1ff;color:#577bd5}.pdf-workspace .tool-intro{max-width:730px}.pdf-workspace .tool-intro h1:focus,.pdf-workspace #pdf-result-title:focus{outline:none}.pdf-mode-tabs{display:flex;justify-content:center;gap:8px;margin:-8px 0 27px}.pdf-mode-tabs a{font-size:12px;font-weight:650;padding:8px 18px;border-radius:8px;color:#7d8ba6;border:1px solid #e2e8f3}.pdf-mode-tabs a[aria-current="page"]{background:#edf3ff;color:#3366ee;border-color:#cfddfa}.pdf-workspace .local-trust{padding-top:0}.pdf-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:25px}.pdf-workspace .drop-zone{padding-block:40px}.pdf-workspace .drop-zone .button{position:relative;overflow:hidden}.pdf-workspace .drop-zone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.pdf-workspace .drop-zone .button:focus-within{outline:3px solid #93b0f7;outline-offset:3px}.pdf-workspace .drop-zone svg{color:#7998d9}.pdf-workspace .pdf-settings h2{font-size:18px}.pdf-workspace .pdf-settings-note{color:#66758a;font-size:11px;line-height:1.8;margin:0 0 20px}.pdf-workspace .pdf-input-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 13px}.pdf-workspace .pdf-input-heading h2{font-size:17px;letter-spacing:-.4px;margin:0}.pdf-workspace .pdf-input-heading p{font-size:10px;color:#66758a;margin:5px 0 0}.pdf-workspace .pdf-file-row{display:flex;align-items:center;gap:13px;border:1px solid #e3e8f2;border-radius:11px;padding:14px 13px;margin-bottom:10px;background:#fff}.pdf-workspace .pdf-file-badge{display:inline-grid;place-items:center;width:43px;height:49px;background:#fff0eb;color:#dc755e;border-radius:8px;font-size:11px;font-weight:750;letter-spacing:.5px;flex-shrink:0}.pdf-workspace .pdf-file-info{flex:1;min-width:0}.pdf-workspace .pdf-file-info strong{display:block;font-size:12px;font-weight:650;overflow-wrap:anywhere}.pdf-workspace .pdf-file-info span{display:block;font-size:10px;color:#66758a;margin-top:5px}.pdf-workspace .pdf-file-actions{display:flex;gap:5px}.pdf-workspace .pdf-file-actions .icon-button{width:31px;height:32px}.pdf-workspace .pdf-tool-note{font-size:10px;line-height:1.8;color:#66758a;border-top:1px solid #e6ebf5;margin:22px 0 0;padding-top:17px}.pdf-workspace .pdf-result-section{border-top:1px solid #e4eaf5;margin-top:33px;padding-top:25px}.pdf-workspace .pdf-result-section .section-heading{margin-bottom:19px}.pdf-workspace .pdf-result-section h2{font-size:25px;margin:4px 0 7px}.pdf-workspace .pdf-result-section .section-heading p{font-size:11px;color:#66758a;margin:0}.pdf-workspace .pdf-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.pdf-workspace .pdf-result-card{border:1px solid #e0e7f3;border-radius:13px;padding:20px;min-width:0}.pdf-workspace .pdf-result-select{display:flex;align-items:center;gap:6px;font-size:10px;color:#66758a;margin-bottom:18px;cursor:pointer}.pdf-workspace .pdf-result-select input{accent-color:#3366ee;width:14px;height:14px}.pdf-workspace .pdf-result-card h3{font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin:15px 0 5px}.pdf-workspace .pdf-result-card p,.pdf-workspace .pdf-result-card small{font-size:10px;line-height:1.8;color:#66758a;margin:5px 0;display:block;overflow-wrap:anywhere}.pdf-workspace .pdf-result-links{display:flex;gap:7px;margin-top:17px}.pdf-workspace .pdf-result-links .button{font-size:10px;min-height:36px;padding:8px 11px}.pdf-workspace .pdf-next-step{margin-top:23px;border:1px solid #dfe8fb;border-radius:13px;background:#f5f8ff;padding:22px 24px;display:flex;gap:20px;align-items:center;justify-content:space-between}.pdf-workspace .pdf-next-step h3{font-size:15px;margin:0 0 5px}.pdf-workspace .pdf-next-step p{font-size:10px;color:#8295b8;margin:0;line-height:1.8}.pdf-workspace .pdf-next-actions{display:flex;gap:9px;flex-shrink:0}.pdf-workspace .pdf-received{color:#397d69;background:#eef8f3;border:1px solid #d8eee3;border-radius:10px;padding:13px 17px;font-size:12px;margin:0 0 20px}.pdf-workspace .error-message{overflow-wrap:anywhere}.pdf-workspace .pdf-session-note{text-align:center;font-size:10px;line-height:1.8;color:#66758a;margin:16px auto 0;max-width:680px}.pdf-workspace .pdf-status{font-size:12px;color:#6d86b4;margin:15px 0 0;min-height:23px}.pdf-images-handoff{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f5f8ff;border:1px solid #dfe8fb;border-radius:13px;padding:20px 24px;margin-top:16px}.pdf-images-handoff h3{font-size:15px;margin:0 0 5px}.pdf-images-handoff p{font-size:11px;color:#8394af;margin:0}.pdf-images-handoff>div:last-child{display:flex;gap:9px}.pdf-workspace .pdf-mode-note{font-size:11px;line-height:1.8;color:#66758a}
@media(max-width:850px){.pdf-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.pdf-workspace .pdf-next-step{align-items:start;flex-direction:column}.pdf-workspace .pdf-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-catalog .pdf-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-images-handoff{flex-wrap:wrap}}
@media(max-width:650px){.pdf-layout{grid-template-columns:1fr;gap:21px}.pdf-catalog .pdf-category-grid{grid-template-columns:1fr}.pdf-catalog .tool-card{min-height:225px;padding:25px}.pdf-catalog .tool-card h3{font-size:19px}.pdf-workspace .pdf-results-grid{grid-template-columns:1fr}.pdf-workspace .pdf-file-row{padding:12px 10px;gap:10px}.pdf-workspace .pdf-file-info strong{font-size:11px}.pdf-workspace .pdf-file-info span{font-size:9px}.pdf-workspace .pdf-file-actions{gap:3px}.pdf-workspace .pdf-file-actions .icon-button{width:27px;height:30px}.pdf-workspace .pdf-file-badge{width:33px;height:42px;font-size:9px}.pdf-workspace .pdf-input-heading p{font-size:9px}.pdf-workspace .pdf-next-step{padding:20px}.pdf-workspace .pdf-next-actions{width:100%;flex-wrap:wrap}.pdf-workspace .pdf-next-actions .button{flex:1;font-size:11px}.pdf-images-handoff{padding:20px}.pdf-images-handoff>div:last-child{width:100%;flex-wrap:wrap}.pdf-images-handoff .button{flex:1;font-size:11px}.pdf-workspace .pdf-mode-tabs a{font-size:11px}.pdf-workspace .pdf-result-section h2{font-size:22px}}

.pdf-workspace .field-hint,.pdf-workspace .drop-zone p,.pdf-workspace .drop-zone small{color:#66758a}.pdf-workspace .field-hint{font-size:11px}

.jpg-preview{width:100%;height:180px;object-fit:contain;background:#f4f6fb;border-radius:10px} [data-pdf-jpg] .settings-panel .button{margin-top:10px}
