.pdf-merge-root{height:100%;min-height:0;display:flex;flex-direction:column;background:var(--ds-color-canvas,#f7f9ff);color:var(--ds-color-ink,#172033);font:inherit}.pdf-merge-root *{box-sizing:border-box}.pdf-merge-root button,.pdf-merge-root input{font:inherit}.pdf-merge-root button{cursor:pointer}.pdf-merge-root button:disabled{cursor:not-allowed;opacity:.46}.pdf-merge-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0;padding:15px 25px;border-bottom:1px solid var(--ds-color-border,#d9e0ec);background:#fff;min-height:70px}.pdf-merge-heading{display:flex;flex-direction:column;gap:4px}.pdf-merge-heading strong{font-size:17px;font-weight:750}.pdf-merge-heading small{color:var(--ds-color-muted,#64748b);font-size:12px}.pdf-merge-head-actions{display:flex;align-items:center;gap:8px}.pdf-merge-head-actions button,.pdf-merge-file-actions button,.pdf-merge-unlock button,.pdf-merge-again,.pdf-merge-mobile-settings,.pdf-merge-preview-dialog header button{border:1px solid #d9e0ec;border-radius:9px;background:#fff;color:#354467;padding:9px 13px;min-height:40px;font-size:13px}.pdf-merge-head-actions button:first-child{background:#eff0ff;color:#4f46e5;border-color:#c9c8ff;font-weight:700}.pdf-merge-head-actions button:focus-visible,.pdf-merge-root input:focus-visible,.pdf-merge-root button:focus-visible{outline:3px solid #818cf8;outline-offset:2px}.pdf-merge-body{display:grid;grid-template-columns:minmax(230px,290px) minmax(0,1fr);flex:1;min-height:0;overflow:hidden}.pdf-merge-settings-desktop{border-right:1px solid #d9e0ec;background:#fff;overflow-y:auto}.pdf-merge-settings{display:flex;flex-direction:column;gap:13px;padding:18px 20px}.pdf-merge-settings h2{font-size:17px;font-weight:750;margin:0 0 2px}.pdf-merge-option{display:flex;flex-direction:column;gap:10px}.pdf-merge-label{font-size:13px;font-weight:650;color:#334155}.pdf-merge-segments{display:flex;flex-wrap:wrap;gap:5px;padding:3px;background:#f3f5fa;border:1px solid #e2e8f0;border-radius:10px}.pdf-merge-segments button{border:0;border-radius:8px;padding:9px 10px;min-height:38px;flex:1;background:transparent;color:#66758f;font-size:12px;white-space:nowrap}.pdf-merge-segments button[aria-pressed=true]{background:#fff;color:#4f46e5;font-weight:700;box-shadow:0 1px 5px #17203315}.pdf-merge-hint{color:#6b778c;font-size:12px;line-height:1.55;margin:0}.pdf-merge-page-compare{display:grid;gap:10px;padding:12px 10px;border:1px solid #dce2f1;border-radius:12px;background:#f7f9fe}.pdf-merge-page-compare-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px;min-width:0}.pdf-merge-page-compare-heading strong{font-size:13px;font-weight:700}.pdf-merge-page-compare-heading span{font-size:11px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-merge-page-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pdf-merge-paper-card{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:9px 5px;border:1px solid #dfe5f0;border-radius:10px;background:#fff;text-align:center}.pdf-merge-paper-card[data-selected=true]{border-color:#6366f1;box-shadow:inset 0 0 0 1px #6366f1;background:#fcfbff}.pdf-merge-paper-title{font-size:11px;line-height:1.2;font-weight:650;color:#3d4970}.pdf-merge-paper-card[data-selected=true] .pdf-merge-paper-title{color:#4f46e5}.pdf-merge-paper-stage{height:110px;width:100%;min-width:0;display:flex;align-items:center;justify-content:center;padding:4px 0;background:repeating-linear-gradient(135deg,#f1f4f9,#f1f4f9 5px,#f7f9fc 5px 10px);border-radius:5px}.pdf-merge-paper-sheet{position:relative;display:block;flex:none;max-width:95%;height:auto;overflow:hidden;background:#fff;box-shadow:0 1px 3px #1e293b40,0 0 0 1px #cdd6e7}.pdf-merge-paper-image{position:absolute;overflow:hidden}.pdf-merge-paper-image img,.pdf-merge-paper-sample{display:block;width:100%;height:100%;object-fit:fill}.pdf-merge-paper-sample{background:linear-gradient(135deg,#b7d9fa,#d4e5ff 35%,#5676ba 36%,#293f7b 70%,#8dafe2)}.pdf-merge-paper-card strong{font-size:11px;font-weight:750;white-space:nowrap}.pdf-merge-paper-card small{font-size:10px;color:#687892;line-height:1.3}.pdf-merge-page-current{display:flex;flex-wrap:wrap;gap:3px 5px;font-size:11px;line-height:1.5}.pdf-merge-page-current strong{font-weight:750;color:#4f46e5}.pdf-merge-page-current span{color:#334155}.pdf-merge-page-compare .pdf-merge-hint{font-size:11px;line-height:1.5}.pdf-merge-settings>.pdf-merge-hint strong{color:#334155}.pdf-merge-page-hint{font-size:11px;line-height:1.4}.pdf-merge-page-help{min-width:0;padding-top:2px}.pdf-merge-page-help summary{cursor:pointer;font-size:12px;color:#4f46e5;font-weight:650;line-height:1.5;list-style-position:inside}.pdf-merge-page-help summary:focus-visible{outline:3px solid #818cf8;outline-offset:3px;border-radius:4px}.pdf-merge-page-help[open] summary{margin-bottom:10px}.pdf-merge-separator{height:1px;background:#e2e8f0}.pdf-merge-watermark-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;font-weight:700}.pdf-merge-watermark-toggle input{height:20px;width:20px;accent-color:#4f46e5}.pdf-merge-watermark-fields{display:grid;gap:15px}.pdf-merge-watermark-fields input{width:100%;min-width:0;border:1px solid #d9e0ec;border-radius:9px;background:#fff;padding:10px 11px;font-size:14px}.pdf-merge-main{padding:20px 26px 26px;overflow-y:auto;min-width:0;outline:none}.pdf-merge-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px 16px;min-height:130px;text-align:center;border:2px dashed #c7ceec;border-radius:16px;background:#fff;cursor:pointer}.pdf-merge-drop:hover,.pdf-merge-drop:focus-visible{border-color:#4f46e5;background:#f6f5ff}.pdf-merge-drop-icon{font-size:26px;color:#4f46e5}.pdf-merge-drop strong{font-size:14px}.pdf-merge-drop small{font-size:12px;color:#64748b}.pdf-merge-notice,.pdf-merge-block,.pdf-merge-progress{margin:12px 0;padding:12px 14px;border-radius:10px;font-size:13px;line-height:1.5;background:#eef2ff;color:#4338ca}.pdf-merge-block{background:#fff7ed;color:#9a3412}.pdf-merge-error{color:#dc2626!important}.pdf-merge-progress.pdf-merge-error{background:#fef2f2;color:#dc2626}.pdf-merge-empty{margin:25px 0;text-align:center;font-size:13px;color:#64748b}.pdf-merge-file-list{display:grid;gap:10px;margin-top:18px}.pdf-merge-file{display:flex;align-items:center;gap:12px;padding:11px 13px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:0}.pdf-merge-locked{border-color:#f6d39c;background:#fffcf5}.pdf-merge-position{display:grid;place-items:center;min-width:25px;height:25px;border-radius:9px;background:#f2f2ff;color:#4f46e5;font-size:12px;font-weight:700}.pdf-merge-thumb{display:grid;place-items:center;flex-shrink:0;width:44px;height:52px;border-radius:7px;background:#f2f5fd;color:#4f46e5;font-size:12px;font-weight:800;overflow:hidden}.pdf-merge-thumb img{max-width:100%;max-height:100%;object-fit:contain}.pdf-merge-file-desc{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.pdf-merge-file-desc strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdf-merge-file-desc small{font-size:12px;color:#64748b;overflow-wrap:anywhere}.pdf-merge-file-actions{display:flex;flex-wrap:wrap;justify-content:end;gap:5px}.pdf-merge-file-actions button{min-width:30px;height:34px;min-height:34px;padding:0 5px}.pdf-merge-file-actions button:last-child{color:#dc2626}.pdf-merge-unlock{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.pdf-merge-unlock input{min-width:125px;width:170px;max-width:100%;border:1px solid #d9e0ec;border-radius:7px;padding:8px;font-size:13px}.pdf-merge-unlock button{padding:8px 10px;background:#fef3c7;border-color:#f5df94;font-weight:650}.pdf-merge-summary{display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:78px;padding:13px 24px;background:#fff;border-top:1px solid #d9e0ec}.pdf-merge-summary-copy{margin-right:auto;display:flex;flex-direction:column;gap:5px}.pdf-merge-summary-copy strong{font-size:15px;font-weight:760}.pdf-merge-summary-copy small{font-size:12px;color:#64748b}.pdf-merge-primary{background:#4f46e5;color:#fff;border:1px solid #4f46e5;border-radius:10px;padding:12px 22px;font-size:14px;font-weight:750;min-height:46px}.pdf-merge-primary:hover:not(:disabled){background:#4338ca}.pdf-merge-again{color:#4f46e5}.pdf-merge-mobile-settings{display:none}.pdf-merge-modal-overlay{position:fixed;inset:0;background:#0f172a91;z-index:1000;display:flex;justify-content:center;align-items:center;padding:20px}.pdf-merge-sheet,.pdf-merge-preview-dialog{background:#fff;border-radius:18px;box-shadow:0 20px 70px #0003;max-width:100%;max-height:90dvh;overflow-y:auto}.pdf-merge-sheet{width:450px}.pdf-merge-sheet-close{float:right;margin:14px 15px 0;border:0;border-radius:9px;padding:9px;background:#eef2ff;color:#4f46e5}.pdf-merge-preview-dialog{width:min(620px,100%);padding:16px;display:flex;flex-direction:column;gap:13px;align-items:center}.pdf-merge-preview-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.pdf-merge-preview-dialog header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-merge-preview-dialog img{max-height:67dvh;max-width:100%;object-fit:contain;border:1px solid #e2e8f0}.pdf-merge-preview-dialog p{font-size:12px;color:#64748b;text-align:center}@media(max-width:899px){.pdf-merge-toolbar{min-height:54px;padding:8px 12px}.pdf-merge-heading strong{font-size:14px}.pdf-merge-heading small{font-size:11px}.pdf-merge-head-actions button{min-height:44px;padding:7px 9px;font-size:12px}.pdf-merge-body{grid-template-columns:minmax(0,1fr)}.pdf-merge-settings-desktop{display:none}.pdf-merge-main{padding:13px 12px 18px}.pdf-merge-drop{min-height:106px;padding:15px 10px}.pdf-merge-drop-icon{font-size:19px}.pdf-merge-file{padding:9px 8px;gap:7px;flex-wrap:wrap}.pdf-merge-position{min-width:23px}.pdf-merge-thumb{width:37px;height:45px}.pdf-merge-file-actions{width:100%;justify-content:flex-end}.pdf-merge-file-actions button{min-width:44px;min-height:44px;height:44px;font-size:18px}.pdf-merge-summary{padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px));min-height:68px}.pdf-merge-summary-copy strong{font-size:12px}.pdf-merge-summary-copy small{font-size:10px}.pdf-merge-primary{padding:11px 13px;min-height:44px;font-size:12px;white-space:nowrap}.pdf-merge-mobile-settings{display:block;padding:10px 8px;min-height:44px;font-size:12px;white-space:nowrap}.pdf-merge-sheet{align-self:end;width:100%;border-radius:18px 18px 0 0;max-height:86dvh;padding-bottom:env(safe-area-inset-bottom,0px)}.pdf-merge-modal-overlay:has(.pdf-merge-sheet){padding:0;align-items:end}}@media(max-width:365px){.pdf-merge-heading small,.pdf-merge-summary-copy small{display:none}}@media(prefers-reduced-motion:reduce){.pdf-merge-root *{transition:none!important;animation:none!important}}
