.pdf-live .pdf-local-note{font-size:12px;color:#84848e;margin-top:24px;line-height:20px}.pdf-message{background:#fff0ec;color:#a52c22;border:1px solid #f5c8be;border-radius:6px;padding:14px;font-size:13px;line-height:22px;margin:12px 0;overflow-wrap:anywhere}.pdf-uploader .pdf-message{max-width:680px;margin:24px auto}.pdf-spinner{width:20px;height:20px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:pdf-spin .7s linear infinite;vertical-align:middle;flex-shrink:0}.upload-button .pdf-spinner{margin-right:12px}@keyframes pdf-spin{to{transform:rotate(360deg)}}
.pdf-live .selection-shell{grid-template-columns:minmax(0,1fr) 370px}.pdf-workspace .file-area{background:#f5f5fa;min-height:calc(100vh - 60px);padding:24px 32px 60px}.pdf-workspace .options-panel{position:sticky;top:60px;height:calc(100vh - 60px);min-height:0;padding:0 24px 20px;overflow:auto}.pdf-workspace .options-content{overflow:auto;flex:1;min-height:120px;padding-top:20px}.pdf-workspace .options-panel>h1{font-size:22px;flex-shrink:0}.pdf-toolbar{display:flex;gap:8px}.pdf-toolbar .secondary{padding:8px 12px;font-size:12px}.pdf-file-count{font-size:13px;color:#777780}.pdf-document-name{color:#7a7a85;font-size:13px;text-align:center;overflow-wrap:anywhere;margin:10px 0 26px}.pdf-files{display:flex;align-items:flex-start;justify-content:center;gap:24px;flex-wrap:wrap}.pdf-file-card{width:185px;padding:16px 14px 12px;cursor:grab;border-radius:4px;box-shadow:0 2px 5px #2525330d}.pdf-file-card:active{cursor:grabbing}.pdf-file-card .file-preview{height:210px;border:0;background:#fafafa}.pdf-thumb-rotate{height:100%;width:100%;display:grid;place-items:center;transition:transform .18s}.pdf-thumb-rotate img{object-fit:contain;width:100%;height:100%}.pdf-file-card .file-controls button{min-width:32px;font-size:16px}.pdf-file-card .remove-file{z-index:2}.pdf-files .add-file{margin:70px 10px 0;align-self:flex-start}.pdf-workspace .info-box{font-size:13px;padding:16px;line-height:22px}.pdf-signature-note{background:#fff8e6;border:1px solid #efddb4;color:#786025;border-radius:5px;padding:12px;font-size:12px;line-height:20px;margin:18px 0 0}.pdf-summary{font-size:13px;line-height:20px;margin:16px 0;color:#666672;flex-shrink:0}.pdf-summary.invalid{color:#ae3025}.pdf-workspace .process-button{flex-shrink:0}.pdf-workspace .pdf-message{flex-shrink:0;max-height:130px;overflow:auto}
.pdf-tabs{display:flex;margin:-20px -24px 22px;border-bottom:1px solid #e5e5eb}.pdf-tabs button{flex:1;padding:20px 12px;color:#777780;border-bottom:3px solid transparent;font-weight:500;font-size:16px}.pdf-tabs button[aria-selected=true]{color:var(--red);border-color:var(--red);background:#fffafa}.pdf-option-heading{font-size:14px;font-weight:500;margin:16px 0 14px}.pdf-mode-buttons{display:flex;border:1px solid #d6d6df;border-radius:5px;overflow:hidden;margin-bottom:24px}.pdf-mode-buttons button{flex:1;font-size:13px;padding:12px 8px}.pdf-mode-buttons button+button{border-left:1px solid #d6d6df}.pdf-mode-buttons button.selected{color:var(--red);background:#fff0ee}.pdf-range-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;background:#f7f7fa;border:1px solid #dddde4;border-radius:4px;margin:12px 0}.pdf-range-row>div{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:#555560}.pdf-range-row>div button{font-size:20px;line-height:20px;padding:0 2px}.pdf-range-row label{display:flex;gap:8px;align-items:center;font-size:12px;line-height:18px}.pdf-range-row input{width:60px;min-width:0;border:1px solid #d4d4de;border-radius:4px;padding:9px 6px;background:#fff;text-align:center;font-size:14px}.pdf-add-range{width:100%;border:1px solid var(--red);border-radius:5px;color:var(--red);font-size:14px;padding:12px;margin:4px 0 18px}.pdf-add-range:hover{background:#fff3f2}.pdf-checkbox,.pdf-radio{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:21px;margin:18px 0;cursor:pointer}.pdf-radio{font-size:14px}.pdf-checkbox input,.pdf-radio input{margin:4px 0 0;accent-color:var(--red);flex-shrink:0}.pdf-hint{font-size:12px;color:#82828b;line-height:20px;margin:8px 0 20px}.pdf-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:24px;max-width:1120px;margin:auto}.pdf-page-card{position:relative;display:flex;flex-direction:column;align-items:center;padding:12px 12px 8px;border:2px solid transparent;border-radius:5px;background:#fff;box-shadow:0 2px 6px #20203012;min-width:0;transition:border-color .15s}.pdf-page-card.selected{border-color:var(--red)}.pdf-page-image{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:206px;background:#fdfdfd;color:#9999a3;overflow:hidden}.pdf-page-image img{width:100%;height:100%;object-fit:contain}.pdf-page-number{font-size:12px;line-height:22px;margin-top:6px;color:#666670}.pdf-page-check{position:absolute;top:6px;right:6px;background:var(--red);color:#fff;font-size:11px;line-height:20px;width:20px;border-radius:50%;display:none}.pdf-page-card.selected .pdf-page-check{display:block}.pdf-preview-error{font-size:11px;line-height:18px;margin-top:10px}.pdf-result{padding:64px 24px;text-align:center}.pdf-success-mark{color:#69a269;margin-bottom:20px}.pdf-result h1{font-size:34px;line-height:44px;margin:0 0 18px;font-weight:600;outline:0}.pdf-result>p{color:#767681;font-size:15px;line-height:24px}.pdf-download{gap:18px;font-size:24px;min-height:82px;padding:22px 38px;margin:32px 0 14px;box-shadow:0 3px 5px #0002}.pdf-result .pdf-output-name{font-size:12px;color:#93939b;overflow-wrap:anywhere}.pdf-result .pdf-signature-note{max-width:620px;margin:24px auto;text-align:left;color:#786025;font-size:12px}.pdf-result-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:30px 0}.pdf-result-actions>a{font-size:13px;color:#777780;text-decoration:underline}.pdf-dialog-actions{display:flex;gap:12px}.pdf-dialog-actions .dialog-action{width:auto;flex:1}
@media(max-width:1100px){.pdf-live .selection-shell{grid-template-columns:minmax(0,1fr) 330px}.pdf-workspace .file-area{padding:20px 20px 50px}.pdf-workspace .options-panel{padding-left:18px;padding-right:18px}.pdf-tabs{margin-left:-18px;margin-right:-18px}.pdf-pages{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:18px}.pdf-page-image{height:188px}.pdf-file-count{display:none}}
@media(max-width:700px){.pdf-live .selection-shell{display:flex;flex-direction:column}.pdf-workspace .file-area{min-height:320px;padding:20px 16px 30px}.pdf-workspace .options-panel{position:static;height:auto;min-height:0;padding:0 20px 24px;overflow:visible}.pdf-workspace .options-content{overflow:visible;min-height:0}.pdf-tabs{margin-left:-20px;margin-right:-20px}.pdf-pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pdf-page-image{height:190px}.pdf-file-card{width:155px;padding:12px}.pdf-file-card .file-preview{height:170px}.pdf-files{gap:18px}.pdf-files .add-file{margin:50px 0 0;width:44px;height:44px}.pdf-document-name{margin-bottom:20px}.pdf-result{padding:40px 20px}.pdf-result h1{font-size:27px;line-height:38px}.pdf-download{font-size:19px;min-height:72px;padding:18px 22px;width:100%;max-width:420px}.pdf-result-actions{gap:12px}.pdf-result .pdf-local-note{font-size:12px}.pdf-range-row input{width:80px}.pdf-workspace .workspace-top a{font-size:12px}.pdf-uploader .upload-wrap{margin-right:0}}
@media(max-width:700px){.pdf-workspace .file-area{max-height:52vh;overflow:auto}.pdf-workspace .workspace-top{position:sticky;top:-20px;z-index:3;background:#f5f5fa;padding:12px 0}.pdf-workspace .options-panel{overflow:visible}}
@media(prefers-reduced-motion:reduce){.pdf-spinner{animation-duration:1.5s}.pdf-thumb-rotate,.pdf-page-card{transition:none}}
/* Shared workspace styles; per-tool parity adjustments follow below. */
.pdf-live .selection-shell{grid-template-columns:minmax(0,1fr) 440px}
.pdf-workspace .file-area{position:relative;padding:24px 70px 60px}
.pdf-workspace .workspace-top{margin-bottom:30px}.pdf-document-name:empty{display:none}
.pdf-workspace .options-panel>h1{margin:0 -24px;padding:18px 24px;font-size:22px;line-height:30px}
.pdf-workspace .options-content{margin:0 -24px;padding:24px;overflow-x:hidden}.pdf-workspace .info-box{border:1px solid #48a8d5;background:#e2f3fc;color:#33333b;border-radius:8px}
.pdf-workspace .process-button{min-height:80px;font-size:24px;box-shadow:0 2px 6px #0003}
.pdf-files{gap:8px;padding-top:55px}
.pdf-file-card{width:200px;height:246px;padding:30px 24px 10px;border:1px solid #ededf2;border-radius:8px;text-align:center}
.pdf-file-card .file-preview{height:183px;max-width:148px;margin:auto;background:transparent;overflow:visible}
.pdf-file-card .pdf-thumb-rotate{height:183px;min-height:0;min-width:0}.pdf-file-card .file-preview img{height:183px;width:100%;min-height:0;filter:drop-shadow(0 0 3px #0002)}
.pdf-file-card h3{font-size:12px;font-weight:400;margin:8px 0 0}
.pdf-card-actions{position:absolute;top:8px;right:8px;display:flex;gap:3px;opacity:0;z-index:2}
.pdf-card-actions button{width:26px;height:26px;background:#eeeef3;color:#575760;border-radius:50%;display:grid;place-items:center;font-size:21px}
.pdf-file-card:hover .pdf-card-actions,.pdf-file-card:focus-within .pdf-card-actions{opacity:1}
.pdf-keyboard-order{position:absolute;bottom:32px;left:4px;right:4px;display:flex;justify-content:space-between;opacity:0;pointer-events:none}
.pdf-keyboard-order button{background:#eeeef3;border-radius:50%;width:24px;height:24px}
.pdf-file-card:focus-within .pdf-keyboard-order{opacity:1;pointer-events:auto}
.pdf-file-card:first-of-type:last-of-type .pdf-keyboard-order{display:none}
.pdf-files .add-file{position:absolute;top:142px;right:24px;margin:0;width:42px;height:42px;font-size:32px;box-shadow:0 2px 4px #0002}
.pdf-count-badge{position:absolute;top:-8px;left:-8px;min-width:24px;line-height:21px;padding:0 3px;font-size:11px;background:#333;border:2px solid var(--red);border-radius:50%}
.pdf-toolbar [data-pdf=sort]{position:static;width:36px;height:36px;border-radius:50%;padding:0;font-size:11px;background:#fff;box-shadow:0 2px 4px #0002}
.pdf-tabs{margin-top:-24px}.pdf-tabs button{min-height:90px;border:1px solid #dedee5;border-top:0;background:#fff}.pdf-tabs button[aria-selected=true]{background:#fff;border-bottom-color:#fff;color:#333}
.pdf-mode-buttons{border:0;gap:8px;overflow:visible}.pdf-mode-buttons button{min-height:76px;border:2px solid transparent!important;border-radius:8px;background:#f5f5fa;font-size:14px;box-shadow:0 2px 3px #0002}.pdf-mode-buttons button.selected{border-color:var(--red)!important;background:#f5f5fa}
.pdf-range-row{margin:0 -24px;padding:16px 20px;border:0;border-radius:0;background:#ececf4;gap:12px 16px}.pdf-range-row+.pdf-range-row{border-top:1px solid #fff}.pdf-range-row label{background:#fff;border:1px solid #aaa;border-radius:4px;padding-left:8px;gap:8px}.pdf-range-row input{border:0;border-left:1px solid #aaa;border-radius:0;width:100%;font-size:14px;padding:12px 6px}.pdf-range-row>div{font-size:14px;font-weight:400}.pdf-add-range{display:block;width:auto;padding:6px 10px;margin:16px auto 28px;font-weight:500}.pdf-checkbox{font-size:14px}.pdf-checkbox input{width:22px;height:22px;margin:0}
.pdf-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:30px;padding-top:40px;max-width:none}
.pdf-page-card{width:200px;height:246px;padding:28px 24px 10px;border:1px solid #ededf2;border-radius:8px}
.pdf-page-image{height:184px;background:transparent}.pdf-page-image img{filter:drop-shadow(0 0 3px #0002)}
.pdf-page-card.selected{border-color:#ededf2}.pdf-page-check{top:-4px;left:-4px;right:auto;background:#4bc690;border:1px solid #23a976;font-size:14px;line-height:22px;width:24px}
.pdf-range-preview{gap:32px}.pdf-range-group h2{font-weight:400;font-size:15px;text-align:center;margin:0 0 12px}.pdf-range-covers{display:flex;align-items:center;justify-content:center;border:1px dashed #aaa;padding:16px;gap:6px}.pdf-range-dots{font-size:24px;width:18px;text-align:center}
.pdf-zoom-dialog{padding:0;border:0;border-radius:0;max-width:90vw;max-height:90vh;width:auto;overflow:auto;background:#fff;box-shadow:0 5px 40px #0003}.pdf-zoom-dialog::backdrop{background:#0009}.pdf-zoom-close{position:sticky;float:right;top:8px;margin:8px 8px -40px 0;width:32px;height:32px;border-radius:50%;font-size:24px;z-index:2;background:#fffe;color:#444}.pdf-zoom-content{min-width:200px;min-height:200px;display:grid;place-items:center}.pdf-zoom-content>img{display:block;max-height:84vh;max-width:84vw;object-fit:contain}
.pdf-range-row label{min-width:0;white-space:nowrap}.pdf-range-row input{flex:1;min-width:0;width:50px}.pdf-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;position:relative}.pdf-tabs button[aria-selected=true]{border-color:#dedee5;border-bottom-color:#fff}.pdf-tabs button[aria-selected=true]::before{content:'✓';position:absolute;top:8px;left:8px;color:white;background:#4bc690;border:1px solid #23a976;border-radius:50%;width:18px;line-height:17px;font-size:12px}
@media(max-width:700px){.pdf-file-card .pdf-thumb-rotate,.pdf-file-card .file-preview img{height:163px}}
@media(max-width:1100px){.pdf-live .selection-shell{grid-template-columns:minmax(0,1fr) 360px}.pdf-workspace .file-area{padding-left:20px;padding-right:64px}.pdf-workspace .options-panel>h1{margin-left:-18px;margin-right:-18px}.pdf-range-row{margin-left:-18px;margin-right:-18px}.pdf-range-covers{padding:8px}.pdf-range-covers .pdf-page-card{width:145px;height:216px;padding:20px 12px 8px}.pdf-range-covers .pdf-page-image{height:163px}}
@media(max-width:700px){.pdf-workspace .file-area{padding:12px 16px 30px}.pdf-workspace .workspace-top{top:-12px;padding:8px 0;margin-bottom:12px}.pdf-files,.pdf-pages{padding-top:20px;gap:14px}.pdf-file-card,.pdf-page-card{width:155px;height:214px;padding:24px 14px 8px}.pdf-file-card .file-preview,.pdf-page-image{height:163px}.pdf-card-actions{opacity:1;top:3px;right:3px}.pdf-files .add-file{position:relative;top:auto;right:auto;margin:50px 0}.pdf-toolbar [data-pdf=sort]{position:static}.pdf-workspace .options-panel>h1{margin:0 -20px}.pdf-range-row{margin-left:-20px;margin-right:-20px}.pdf-range-covers{padding:6px;gap:3px}.pdf-range-covers .pdf-page-card{width:135px;height:200px;padding:20px 10px 8px}.pdf-range-covers .pdf-page-image{height:147px}.pdf-range-dots{width:12px;font-size:20px}.pdf-workspace .process-button{min-height:70px;font-size:22px}.pdf-zoom-content>img{max-width:90vw}.pdf-workspace .pdf-range-row input{width:100%}}
@media(max-width:1100px){.pdf-workspace .options-content{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}}
@media(max-width:700px){.pdf-workspace .options-content{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}}
.pdf-password-screen{padding:100px 24px;min-height:calc(100vh - 60px);background:#f5f5fa}.pdf-password-form{width:100%;max-width:444px;margin:auto}.pdf-password-form h2{font-size:28px;line-height:36px;font-weight:600;margin:0 0 28px}.pdf-password-row{margin-bottom:20px}.pdf-password-row label{display:block;font-size:15px;margin-bottom:6px;overflow-wrap:anywhere}.pdf-password-input{display:flex;border:1px solid #85858d;border-radius:4px;overflow:hidden}.pdf-password-input input{width:100%;min-width:0;border:0;outline:0;background:transparent;padding:12px;font-size:16px}.pdf-password-input:focus-within{outline:2px solid #387cc4;outline-offset:2px}.pdf-password-eye{display:grid;place-items:center;width:48px;flex-shrink:0;background:var(--red);color:#fff}.pdf-password-actions{display:flex;justify-content:flex-end;align-items:center;gap:24px;margin-top:24px}.pdf-password-actions .primary{padding:12px 20px;font-size:15px;border-radius:8px}.pdf-password-back{font-size:14px;color:#777}.pdf-password-skip{display:block;color:var(--red);text-decoration:underline;margin:38px 0 0 auto;font-size:14px}.pdf-password-error{font-size:13px;color:#c32620;margin-top:8px}.pdf-password-dialog{width:500px;max-width:calc(100vw - 32px);padding:30px 24px 24px;border:0;border-radius:8px;margin:24px auto auto;box-shadow:none}.pdf-password-dialog::backdrop{background:#0007}.pdf-password-dialog h2{text-align:center;font-size:28px;margin:0 0 76px}.pdf-password-dialog .pdf-password-row{max-width:300px;margin:0 auto 40px}.pdf-password-dialog label{text-align:center;margin-bottom:22px}.pdf-password-dialog .pdf-password-actions{border-top:1px solid #ddd;margin:0 -24px;padding:24px 24px 0}.pdf-locked-card{justify-content:center;gap:25px}.pdf-locked-card>span{font-size:12px;overflow-wrap:anywhere}.pdf-password-form button:disabled{opacity:.5}.pdf-password-form input:disabled{opacity:.5}
@media(max-width:700px){.pdf-password-screen{padding:48px 20px}.pdf-password-form h2,.pdf-password-dialog h2{font-size:23px;line-height:32px}.pdf-password-dialog h2{margin-bottom:45px}}
.pdf-forgot-password{text-align:right;font-size:14px;margin-top:36px;color:#555}.pdf-forgot-password a{color:var(--red);text-decoration:underline}.pdf-password-dialog .pdf-forgot-password{margin-top:20px;font-size:13px}.pdf-size-source{font-size:12px;line-height:20px;margin:0 0 32px}.pdf-size-controls{display:flex;gap:14px;margin-bottom:32px}.pdf-size-controls input{width:125px;min-width:0;padding:12px;border:1px solid #888;border-radius:4px}.pdf-size-controls select{border:0;border-radius:20px;background:#eeeef4;padding:8px 14px}.pdf-file-card[data-tooltip]:hover::before,.pdf-file-card[data-tooltip]:focus-within::before{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 16px);left:50%;transform:translateX(-50%);padding:7px 9px;border-radius:3px;background:#484850;color:#fff;white-space:nowrap;font-size:12px;font-weight:600;z-index:5}.pdf-file-card[data-tooltip]:hover::after,.pdf-file-card[data-tooltip]:focus-within::after{content:'';position:absolute;top:-16px;left:calc(50% - 7px);border:7px solid transparent;border-top-color:#484850}
.pdf-range-row>div{justify-content:flex-start;gap:8px}.pdf-range-row>div>button{margin-left:auto}.pdf-range-drag{cursor:grab;display:grid;place-items:center;touch-action:none}

.pdf-radio-options{display:grid;gap:16px}.pdf-radio-option{display:flex;gap:12px;padding:16px;border:1px solid #d5d5d9;border-radius:8px;cursor:pointer;align-items:flex-start}.pdf-radio-option:has(input:checked){border-color:#777;background:#ededf3}.pdf-radio-option input{margin:1px 0 0;accent-color:#33333b;width:21px;height:21px;flex-shrink:0}.pdf-radio-option strong{display:block;font-weight:400;font-size:16px;line-height:22px}.pdf-radio-option small{display:block;margin-top:4px;font-size:14px;line-height:19px}.pdf-hide-covers .pdf-thumb-rotate{visibility:hidden}.pdf-compression-result{margin:24px auto;text-align:center}.pdf-compression-result>strong{display:block;font-size:36px;color:#5ca36b}.pdf-compression-result>span{font-size:12px}.pdf-compression-result p{font-size:16px!important;margin:12px 0!important}
.pdf-rename{width:100%;padding:4px;border:1px solid #bbb;background:#fff;font:inherit;text-align:center}.pdf-card-actions button:focus-visible{outline:2px solid #245ac3;outline-offset:2px}

.pdf-empty-overlay{position:absolute;inset:0;background:rgba(66,63,63,.8);color:#fff;z-index:8;text-align:center;display:flex;justify-content:center;padding:0 20px}.pdf-empty-overlay>div{width:100%;align-self:center;transform:translateY(-94px)}.pdf-empty-overlay p{font-size:16px;font-weight:600;line-height:24px;margin:22px 0}.pdf-empty-overlay svg{display:block;margin:16px auto}.pdf-card-actions button{position:relative}.pdf-card-actions button:hover{background:#e5322d;color:#fff}.pdf-card-actions button[data-tooltip]:hover::before,.pdf-card-actions button[data-tooltip]:focus-visible::before{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 15px);left:50%;transform:translateX(-50%);background:#484850;color:#fff;border-radius:3px;padding:7px 9px;white-space:nowrap;font-size:12px;font-weight:600;line-height:16px;pointer-events:none}.pdf-card-actions button[data-tooltip]:hover::after{content:'';position:absolute;bottom:calc(100% + 1px);left:calc(50% - 7px);border:7px solid transparent;border-top-color:#484850}.pdf-file-card:has(.pdf-card-actions button:hover)::before,.pdf-file-card:has(.pdf-card-actions button:hover)::after{display:none}
@media(max-width:700px){.pdf-empty-overlay>div{align-self:flex-start;margin-top:30px;transform:none}.pdf-empty-overlay{min-height:280px}.pdf-workspace .options-panel:has(.pdf-empty-overlay){position:relative;top:0;min-height:320px}}

.pdf-uploader .upload-wrap{display:inline-flex;align-items:center;gap:12px;position:relative}.pdf-cloud-start{display:flex;flex-direction:column;gap:8px;position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%)}.pdf-source{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e5322d;color:#fff;box-shadow:0 2px 4px #0003;flex-shrink:0}.pdf-source:hover{background:#b92420}.pdf-uploader-actions{position:absolute;top:142px;right:24px;z-index:6;display:flex;align-items:center;flex-direction:column;gap:8px}.pdf-files .pdf-uploader-actions .add-file{position:relative;top:auto;right:auto;margin:0}.pdf-source-menu{display:none;flex-direction:column;align-items:center;gap:8px;opacity:0;transition:opacity .15s}.pdf-uploader-actions:hover .pdf-source-menu,.pdf-uploader-actions:focus-within .pdf-source-menu{display:flex;opacity:1}.pdf-count-badge{border:2px solid #e5322d}.pdf-uploader-actions .pdf-count-badge{left:-8px;right:auto;top:-8px}.pdf-source:focus-visible{outline:2px solid #245ac3;outline-offset:3px}@media(max-width:700px){.pdf-uploader .upload-button{padding-left:22px;padding-right:22px;font-size:22px}.pdf-cloud-start{left:calc(100% + 8px)}.pdf-uploader-actions{top:100px;right:16px}.pdf-source-menu{display:flex;opacity:1}}
/* Processing and result screens follow the observed upload > process > download flow. */
body:has(.pdf-processing)>.header,body:has(.pdf-processing)>.skip-link{display:none}
.pdf-processing{min-height:100vh;text-align:center;padding:264px 24px 80px;background:#f5f5fa;position:relative}
.pdf-processing-logo{position:absolute;width:120px;height:auto;top:48px;left:50%;transform:translateX(-50%)}
.pdf-processing h1{font-size:30px;line-height:40px;font-weight:600;margin:0 0 26px;outline:0}
.pdf-processing-spinner{width:120px;height:120px;fill:none;animation:pdf-spin 1.1s linear infinite}
.pdf-processing-spinner circle{stroke-width:12}.pdf-ring-track{stroke:#dededf;fill:none}.pdf-processing-arc{stroke:#ef2d2d;stroke-linecap:round;fill:none;transform:rotate(-58deg);transform-origin:center}
.pdf-result{max-width:920px;margin:0 auto;padding:30px 36px 64px}.pdf-result h1{font-size:30px;line-height:40px;margin:0 0 26px}
.pdf-result-download-row{display:flex;align-items:center;justify-content:center;gap:12px}.pdf-result .pdf-download{margin:0;min-width:0;min-height:80px;padding:20px 32px;font-size:24px;line-height:30px;border-radius:12px;display:inline-flex;justify-content:center;align-items:center}
.pdf-result-back,.pdf-result-utilities button{width:36px;height:36px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#ef2d2d;color:white;box-shadow:0 2px 4px #0003}.pdf-result-back{background:#4c4c56}.pdf-result-back svg,.pdf-result-utilities svg{width:22px;height:22px}.pdf-result-utilities{display:grid;grid-template-columns:36px 36px;gap:8px}.pdf-result-utilities button:hover{background:#c62420}.pdf-result-back:hover{background:#303039}.pdf-result-download-row button:focus-visible{outline:2px solid #245ac3;outline-offset:3px}
.pdf-compression-result{display:flex;justify-content:center;align-items:center;gap:32px;margin:32px auto;text-align:left}.pdf-compression-result p{font-size:16px;line-height:24px;margin:0!important}.pdf-compression-result p strong{font-size:16px;font-weight:700}.pdf-savings-ring{position:relative;width:84px;height:84px;flex-shrink:0}.pdf-savings-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.pdf-savings-ring circle{fill:none;stroke-width:8}.pdf-ring-value{stroke:#ef2d2d}.pdf-savings-ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#080810}.pdf-savings-ring strong{font-size:21px;font-weight:500;line-height:25px}.pdf-savings-ring small{font-size:8px;line-height:12px}.pdf-result-info{margin:24px 0}
.pdf-continue{margin:32px auto 0;padding:24px;text-align:left;background:white;border-radius:9px}.pdf-continue h2{font-size:16px;font-weight:600;margin:0 0 14px}.pdf-continue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px}.pdf-continue-grid button{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;font-size:13px;min-height:40px;padding:4px;border-radius:6px}.pdf-continue-grid button:not(:disabled):hover{background:#f5f5fa}.pdf-continue-grid button:disabled{opacity:.48;cursor:not-allowed}.pdf-continue-grid img{width:34px;height:34px;padding:7px;border-radius:6px;box-shadow:0 1px 8px #0001}.pdf-continue-grid button>span:last-child{margin-left:auto;font-size:21px}.pdf-more-tools{display:block;margin:18px 0 0 auto;font-size:13px;text-decoration:underline}.pdf-result-actions{margin:24px 0;gap:18px}.pdf-result-dialog{width:min(550px,calc(100vw - 32px));padding:36px;text-align:center;border:0;border-radius:8px}.pdf-result-dialog::backdrop{background:#0008}.pdf-result-dialog h2{font-size:23px;line-height:30px;margin:0 0 24px}.pdf-result-dialog p{font-size:15px;line-height:24px}.pdf-dialog-close{position:absolute;top:8px;right:12px;font-size:28px;color:#777}.pdf-share-row{display:flex;gap:8px}.pdf-share-row input{width:100%;min-width:0;border:1px solid #ccc;border-radius:4px;padding:10px;font-size:13px}.pdf-share-row .primary{padding:10px 16px;white-space:nowrap}.pdf-share-scope{color:#555}.pdf-share-qr{width:200px;margin:20px auto}.pdf-share-qr svg{width:100%;height:auto}.pdf-result-countdown{display:flex;justify-content:center;gap:28px;margin:20px 0 30px}.pdf-result-countdown span{display:flex;flex-direction:column;gap:6px}.pdf-result-countdown strong{font-size:32px}.pdf-result-countdown small{font-size:13px}.pdf-delete-confirm,.pdf-delete-done{padding:14px 24px;margin-top:12px}
@media(max-width:700px){.pdf-processing{padding-top:210px}.pdf-processing h1{font-size:25px;line-height:34px}.pdf-processing-logo{top:40px}.pdf-result{padding:28px 16px}.pdf-result h1{font-size:26px;line-height:35px}.pdf-result-download-row{flex-wrap:wrap;gap:12px}.pdf-result .pdf-download{font-size:19px;padding:18px 14px;flex:1;width:auto}.pdf-result-utilities{display:flex;justify-content:center;flex-basis:100%}.pdf-compression-result{gap:18px;align-items:center}.pdf-compression-result p{font-size:14px!important}.pdf-continue{padding:18px}.pdf-continue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pdf-continue-grid button{font-size:12px;gap:8px}.pdf-result-dialog{padding:32px 20px}.pdf-share-row{flex-wrap:wrap}.pdf-share-row input{flex-basis:100%}.pdf-share-row .primary{margin:auto}}
@media(prefers-reduced-motion:reduce){.pdf-processing-spinner{animation-duration:2.5s}}
.pdf-layout-help{display:inline-grid;place-items:center;width:16px;height:16px;margin-left:4px;border:1px solid #777;border-radius:50%;font-size:11px;cursor:help}.pdf-scan-choices{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px}.pdf-scan-choices button{padding:12px 18px}
.pdf-file-card .pdf-thumb-rotate img.pdf-source-glyph{width:99px;height:140px;max-width:80%;object-fit:contain}
.jpg-choices{border:0;margin:0 0 20px;padding:0;min-width:0}.jpg-choices legend,.jpg-paper{font-weight:500;font-size:16px;margin:0 0 10px;color:#33333b}.jpg-choices>div{display:flex;gap:6px}.jpg-choices label{flex:1;min-width:0;cursor:pointer;position:relative}.jpg-choices input{position:absolute;opacity:0}.jpg-choices label>span{height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px solid transparent;border-radius:7px;background:#f5f5fa;box-shadow:0 2px 3px #0002;color:#666670;text-align:center}.jpg-choices b{font-size:14px;font-weight:500}.jpg-choices small{font-size:11px}.jpg-choices input:checked+span{color:#da332f;border-color:#ef3730}.jpg-choices input:focus-visible+span{outline:3px solid #417cb6;outline-offset:2px}.jpg-paper{display:grid;gap:8px;margin-bottom:20px}.jpg-paper select{width:100%;padding:10px;border:1px solid #aaaab5;border-radius:5px;background:white;color:#33333b;font:inherit}.jpg-merge{display:flex;gap:10px;align-items:center;cursor:pointer}.jpg-merge input{accent-color:#d92e29;width:19px;height:19px}.jpg-paper-thumb{max-height:100%;max-width:100%;box-shadow:0 1px 5px #0002}.pdf-radio-option+.jpg-choices{margin-top:22px}.jpg-no-images{padding:65px 20px;text-align:center}.jpg-no-images p{margin:16px auto 24px;max-width:560px}.jpg-no-images button{padding:14px 24px}
.protect-tabs{display:flex;margin:0 0 20px;border-bottom:1px solid #ddd}.protect-tabs button{flex:1;padding:10px 4px;background:white;border:0;border-bottom:2px solid transparent;color:#545462;font:inherit;cursor:pointer}.protect-tabs button[aria-selected=true]{border-color:#e5322d;color:#c52924}
.protect-options p{margin:6px 0 14px}.protect-options h3{font-size:17px;margin:18px 0 8px}.protect-options label{display:flex;align-items:center;gap:8px;margin:10px 0}.protect-options label input{accent-color:#e5322d}
.protect-row{display:flex;align-items:stretch;margin:8px 0;border:1px solid #aaaab4;border-radius:4px;background:white;overflow:hidden}.protect-row:focus-within{outline:2px solid #6e83bc;outline-offset:1px}.protect-row input{min-width:0;width:100%;padding:12px;border:0;outline:0;font:inherit}.protect-row button{width:44px;border:0;border-left:1px solid #ddd;background:white;color:#474750;cursor:pointer}
.protect-strength{position:relative;width:max-content;max-width:100%}.protect-strength progress{height:8px;width:135px;accent-color:#509c62}.protect-strength ul{display:none;background:#41414c;color:white;padding:12px 16px;list-style:none;margin:0;border-radius:5px;font-size:13px}.protect-strength:is(:focus,:hover) ul{display:block}.protect-strength li::before{content:'−';margin-right:6px}.protect-strength li.met::before{content:'✓';color:#b9ebb7}
.protect-options .protect-error{font-size:13px;color:#a52c22;margin:4px 0}.protect-footnote{font-size:13px;color:#676771}
.protect-tabs button{display:grid;justify-items:center;gap:4px;border:1px solid #d8d8e0;border-radius:0}.protect-tabs button+button{border-left:0}.protect-tabs button[aria-selected=true]{border-bottom:2px solid #e5322d}.protect-tabs svg{width:32px;height:32px}.protect-tabs button[aria-selected=false] svg{opacity:.5}
.protect-strength progress{accent-color:var(--meter-color,#509c62)}
.org-area{position:relative;min-width:0}.org-grid{display:flex;align-content:flex-start;justify-content:center;gap:12px;flex-wrap:wrap;padding:45px 62px 30px 8px}.org-tools{position:sticky;top:80px;z-index:3;float:right;display:grid;justify-items:center;gap:8px}.org-tools .pdf-uploader-actions{position:relative;inset:auto}.org-tools .org-icon,.org-page-actions .org-icon{border:0;border-radius:50%;background:#fff;color:#41414a;box-shadow:0 1px 4px #0002;width:36px;height:36px;font:inherit;cursor:pointer}
.org-page{position:relative;display:flex;align-items:center;justify-content:center;width:190px;height:242px;border:1px solid #dadbe1;border-bottom:4px solid var(--source);background:#fff;border-radius:6px;cursor:grab}.org-page:hover,.org-page:focus-within{border-color:#9999a4;border-bottom-color:var(--source)}.org-sheet{width:134px;height:182px;display:flex;align-items:center;justify-content:center;transition:transform .12s}.org-sheet img{max-width:100%;max-height:100%;box-shadow:0 0 5px #0002}.org-sheet:empty{background:white;box-shadow:0 0 5px #0002}.org-number{position:absolute;bottom:5px;font-size:12px}.org-page-actions{position:absolute;right:6px;top:6px;display:flex;gap:3px;z-index:1}.org-page-actions .org-icon{width:24px;height:24px;background:#eeeef3}.org-page-actions button:last-child:hover{background:#e5322d;color:white}.org-add{position:absolute;top:46%;width:24px;height:24px;border:0;border-radius:50%;background:#e5322d;color:white;font-size:19px;z-index:1;cursor:pointer}.org-add.before{left:-8px}.org-add.after{right:-8px}
@media(hover:hover){.org-page:not(:hover):not(:focus-within) :is(.org-page-actions,.org-add){opacity:0}}
.org-files{display:grid;gap:5px}.org-source{display:flex;align-items:center;gap:10px;background:var(--source);padding:8px 12px;border-radius:3px;cursor:grab;overflow-wrap:anywhere}.org-source span:nth-child(2){flex:1;min-width:0}.org-source button{background:transparent;border:0;cursor:pointer;font-size:20px}.org-area~aside h3{font:inherit;margin:14px 0 8px}.archive-options label,.archive-options select{display:block}.archive-options select{font:inherit;color:inherit;padding:8px;border:1px solid #b8b8c3;border-radius:4px;width:100%;margin:6px 0}.archive-options p,.archive-options ul{font-size:14px;line-height:1.5;margin:10px 0}.archive-options ul{padding-left:22px}.archive-options hr{border:0;border-top:1px solid #ddd}.archive-options .archive-check{display:flex;gap:8px;align-items:center;font-weight:500}.archive-check input{accent-color:#e5322d}
@media(max-width:700px){.org-grid{gap:10px;padding:18px 0}.org-page{width:128px;height:163px}.org-sheet{width:88px;height:121px}.org-tools{position:relative;top:0;float:none;display:flex;justify-content:flex-end}}
.pdf-workspace .file-area.org-area{padding:24px 24px 60px}.org-area .org-tools{width:44px}.org-tools .pdf-uploader-actions{width:44px;height:auto;display:flex;flex-direction:column;align-items:center}.org-tools .add-file{position:relative;margin:0;width:44px;height:44px}.org-tools .pdf-source-menu{display:none}.org-tools .pdf-uploader-actions:is(:hover,:focus-within) .pdf-source-menu{display:flex;visibility:visible;opacity:1}.org-tools>.org-icon{padding:0;white-space:nowrap;font-size:14px}.org-grid{padding:38px 12px 24px}.org-area .org-page{width:198px;height:248px}
@media(max-width:700px){.pdf-workspace .file-area.org-area{padding:12px}.org-area .org-tools{width:auto}.org-area .org-page{width:126px;height:164px}}
.org-sheet img:not([src]){visibility:hidden}
.org-page.org-active{border-color:var(--source)}.org-source.org-active{box-shadow:inset 3px 0 #595965}.org-blank img{filter:brightness(0) invert(1);outline:1px solid #ddd}.org-tools button[aria-pressed=true]{background:#45454f;color:white}
.scan-landing{padding:30px 18px}.scan-steps{display:flex;gap:16px;max-width:810px;margin:22px auto 10px;text-align:center}.scan-steps>section{background:white;border:1px solid #dddde6;border-radius:9px;flex:1;padding:18px 24px;font-size:15px;line-height:1.5}.scan-steps strong{font-size:20px}.scan-steps p{margin:10px 0}.scan-code{display:grid;justify-items:center;align-content:center;min-height:140px}.scan-code .primary,.scan-local .primary{padding:12px 20px}.scan-qr{width:170px}.scan-qr svg{width:100%;height:auto}.scan-code p{font-size:13px}.scan-steps img{display:block;max-height:140px;max-width:85%;margin:10px auto 0}.scan-local{display:flex;gap:8px;justify-content:center;margin-top:16px}.scan-status{font-weight:600}.scan-video{width:100%;max-height:60vh;background:#efeff5}.ocr-panel>label{display:flex;justify-content:space-between;margin:18px 0 8px}.ocr-picker{position:relative}.ocr-picker>button{width:100%;text-align:left}.ocr-list{border:1px solid #d7d7e1;border-radius:5px;background:white;padding:8px;margin-top:5px}.ocr-list input[type=search]{font:inherit;width:100%;padding:8px;border:1px solid #aaaaba;border-radius:4px}.ocr-list [data-list]{overflow:auto;max-height:220px}.ocr-list label{display:flex;gap:8px;align-items:center;padding:5px}.ocr-list input[type=checkbox]{accent-color:#e5322d}.ocr-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.ocr-chips span{background:#f4f4fa;padding:4px 7px;border-radius:4px}.ocr-chips button{background:transparent;border:0;cursor:pointer}.ocr-notice{font-size:14px;line-height:1.5}
@media(max-width:700px){.scan-steps{flex-direction:column;gap:8px}.scan-steps>section{padding:12px}.scan-code{min-height:50px}.scan-steps img{max-height:90px}.scan-landing{padding:16px 12px}}

/* Merge workspace measured against the reference at 1024–1920 px. */
@media(min-width:701px){
  .pdf-live .pdf-workspace[data-tool=merge]{grid-template-columns:minmax(0,1fr) 440px}
  .pdf-workspace[data-tool=merge] .file-area{padding:24px}
  .pdf-workspace[data-tool=merge] .workspace-top{display:contents}
  .pdf-workspace[data-tool=merge] .workspace-top>a,
  .pdf-workspace[data-tool=merge] .pdf-file-count,
  .pdf-workspace[data-tool=merge] .pdf-toolbar [data-pdf=covers],
  .pdf-workspace[data-tool=merge] .pdf-toolbar [data-pdf=reset]{display:none}
  .pdf-workspace[data-tool=merge] .pdf-toolbar{display:contents}
  .pdf-workspace[data-tool=merge] .pdf-toolbar [data-pdf=sort]{position:absolute;top:114px;right:27px;z-index:5}
  .pdf-workspace[data-tool=merge] .pdf-uploader-actions{top:60px;right:24px}
  .pdf-workspace[data-tool=merge] .pdf-uploader-actions:has(:focus-within),
  .pdf-workspace[data-tool=merge] .pdf-uploader-actions:hover{z-index:7}
  .pdf-workspace[data-tool=merge] .pdf-files{padding-top:48px;gap:8px}
  .pdf-workspace[data-tool=merge] .pdf-file-card{width:198px;height:244px;padding:31px 0 0}
  .pdf-workspace[data-tool=merge] .pdf-file-card .file-preview,
  .pdf-workspace[data-tool=merge] .pdf-file-card .pdf-thumb-rotate{height:180px;max-width:180px}
  .pdf-workspace[data-tool=merge] .pdf-file-card .file-preview img{height:auto;width:auto;max-height:180px;max-width:180px}
  .pdf-workspace[data-tool=merge] .pdf-file-card h3{position:absolute;bottom:2px;left:1px;right:1px;height:26px;padding:4px;margin:0;line-height:18px}
  .pdf-workspace[data-tool=merge] .options-panel{padding:0 24px 24px}
  .pdf-workspace[data-tool=merge] .options-panel>h1{padding:14px 24px;line-height:26px}
  .pdf-workspace[data-tool=merge] .options-content{padding:20px 16px}
  .pdf-workspace[data-tool=merge] .info-box{position:relative;padding:10px 12px 10px 40px;font-size:14px;line-height:22px}
  .pdf-workspace[data-tool=merge] .info-box::before{content:'i';position:absolute;left:13px;top:14px;width:14px;height:14px;line-height:12px;border:1.5px solid #009fe3;border-radius:50%;font-size:11px;font-weight:600;text-align:center;color:#009fe3}
  .pdf-workspace[data-tool=merge] .pdf-summary:not(.invalid){display:none}
}
@media(min-width:701px) and (max-width:1599px){
  .pdf-live .pdf-workspace[data-tool=merge]{grid-template-columns:minmax(0,1fr) 300px}
  .pdf-workspace[data-tool=merge] .options-panel>h1{margin-left:-24px;margin-right:-24px}
  .pdf-workspace[data-tool=merge] .process-button{min-height:64px;font-size:22px;padding:8px 12px}
}
/* Compression and PDF-to-Office workspaces measured against the reference. */
@media(min-width:701px){
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .workspace-top{display:none}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .file-area{padding:24px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .pdf-uploader-actions{top:60px;right:24px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .pdf-files{padding-top:48px;gap:8px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .pdf-file-card{width:198px;height:244px;padding:31px 0 0}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .file-preview,.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .pdf-thumb-rotate{height:180px;max-width:180px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .file-preview img{height:auto;width:auto;max-height:180px;max-width:180px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .pdf-file-card h3{position:absolute;bottom:2px;left:1px;right:1px;height:26px;padding:4px;margin:0;line-height:18px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .options-panel{padding:0 24px 24px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .options-panel>h1{padding:14px 24px;line-height:26px;margin-left:-24px;margin-right:-24px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .options-content{padding:20px 16px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .pdf-radio-option:has(input:checked){background:white}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .pdf-summary:not(.invalid){display:none}
}
@media(min-width:701px) and (max-width:1599px){
.pdf-live .pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]){grid-template-columns:minmax(0,1fr) 380px}
.pdf-workspace:is([data-tool=compress],[data-tool=word],[data-tool=powerpoint],[data-tool=excel],[data-tool=ocr]) .process-button{min-height:64px;font-size:22px;padding:8px 12px}
}
/* Remove pages: page selection and sidebar observed in the reference tool. */
.pdf-workspace[data-tool=remove] .workspace-top{display:none}
.pdf-workspace[data-tool=remove] .file-area{padding:72px 30px 40px}
.pdf-workspace[data-tool=remove] .pdf-pages{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:8px;padding:0}
.pdf-workspace[data-tool=remove] .remove-page{position:relative;width:128px;padding:8px;border:1px dashed #a0a0a5}
.pdf-workspace[data-tool=remove] .pdf-page-card{width:110px;min-height:160px;padding:7px 7px 5px;border:1px solid #dedee4;border-radius:5px;background:#fff;box-shadow:0 1px 5px #0002;position:relative}
.pdf-workspace[data-tool=remove] .pdf-page-image{height:140px;min-height:0;width:96px;background:white}
.pdf-workspace[data-tool=remove] .pdf-page-image img{max-height:140px;max-width:96px;object-fit:contain}
.pdf-workspace[data-tool=remove] .pdf-page-number{font-size:12px;padding:7px 0 0;display:block}
.remove-cross{display:none;position:absolute;inset:0;align-items:center;justify-content:center;font:80px/1 Inter,sans-serif;color:#e5322d;background:#fff8;pointer-events:none}
.pdf-workspace[data-tool=remove] .pdf-page-card.selected .remove-cross{display:flex}
.remove-zoom{position:absolute;right:14px;top:14px;width:26px;height:26px;padding:5px;border:0;border-radius:50%;background:#ebebf3;color:#47474f;opacity:0;cursor:pointer}
.remove-zoom svg{width:16px;height:16px}
.remove-page:hover .remove-zoom,.remove-page:focus-within .remove-zoom{opacity:1}
.pdf-workspace[data-tool=remove] .options-content{padding:20px 16px}
.remove-total{margin:20px 0 34px}
.pdf-workspace[data-tool=remove] .pdf-summary:not(.invalid){display:none}
@media(min-width:701px){.pdf-workspace[data-tool=remove]{grid-template-columns:minmax(0,1fr) 440px}.pdf-workspace[data-tool=remove] .options-panel>h1{height:54px;min-height:54px;padding:14px}.pdf-workspace[data-tool=remove] .process-button{height:64px;min-height:64px;margin:24px 0 0;width:100%}}
@media(min-width:701px) and (max-width:1599px){.pdf-workspace[data-tool=remove]{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:700px){.pdf-workspace[data-tool=remove] .file-area{padding:30px 16px}.remove-zoom{opacity:1}}

.pdf-workspace[data-tool=remove] .pdf-document-name{display:none}
.pdf-workspace[data-tool=remove] .pdf-page-card{height:160px;min-height:160px}
.pdf-workspace[data-tool=remove] .pdf-page-image{height:132px}
.pdf-workspace[data-tool=remove] .pdf-page-image img{max-height:132px}
.pdf-workspace[data-tool=remove] .pdf-page-number{border:0;padding:3px 0 0;margin:0;line-height:16px}
.pdf-workspace[data-tool=remove] .info-box{font-size:14px;line-height:22px;padding:10px 12px 10px 40px;position:relative;border-color:#008bcb}
.pdf-workspace[data-tool=remove] .info-box:before{content:'i';position:absolute;left:14px;top:13px;width:13px;height:13px;line-height:12px;border:1.5px solid #008bcb;border-radius:50%;font-size:10px;text-align:center;color:#008bcb;font-weight:600}

.ocr-selected{display:flex;align-items:center;border:1px solid #85858b;border-radius:2px;background:white;min-height:52px;padding:8px 12px;gap:8px}
.ocr-selected .ocr-chips{margin:0;flex:1;min-height:30px}
.ocr-selected .ocr-chips>span{background:#ededed;border:1px solid #c8c8cc;border-radius:7px;font-size:12px;padding:6px 8px;color:#45454d;display:flex;align-items:center;gap:4px}
.ocr-selected>button{border:0;background:transparent;padding:4px;cursor:pointer;flex:none}
.ocr-picker .ocr-list{position:absolute;left:0;right:0;z-index:8;box-shadow:0 3px 8px #0002}
.ocr-picker .ocr-list[hidden]{display:none}

/* Đối chiếu iLovePDF 09/11/2026: thẻ tệp, thông báo, nút xử lý */
.pdf-file-card{background:#fdfdfd;border:1px solid transparent;box-shadow:0 0 8px #00000014;padding:31px 0 0}
.pdf-file-card:hover{border-color:#9999a2;transition:.2s ease-out}
.pdf-file-card .file-preview,.pdf-file-card .pdf-thumb-rotate{height:180px;max-width:180px}
.pdf-file-card .file-preview img{height:auto;width:auto;max-height:180px;max-width:180px;filter:none;box-shadow:0 0 5px 2px #0000000a;transition:box-shadow .3s ease-in-out}
.pdf-file-card:hover .file-preview img{box-shadow:0 0 5px 2px #0000000f}
.pdf-file-card .pdf-thumb-rotate img.pdf-source-glyph{width:127px;height:180px;box-shadow:none}
.pdf-file-card h3{line-height:16px;color:#47474f}
.pdf-card-actions{gap:4px}
.pdf-card-actions button{width:24px;height:24px;padding:3px;background:#ebebf4;color:#47474f;box-shadow:0 1px 2px #0009;font-size:18px}
.info-box{border:1px solid #008ee9;background:#def2ff;color:#161616;padding:10px 14px 12px 40px;letter-spacing:.3px}
.info-box::before,.pdf-workspace[data-tool=remove] .info-box:before{border-color:#008ee9;color:#008ee9}
.process-button{border-radius:12px;line-height:26px;box-shadow:0 2px 8px #3232324d}
.add-file{box-shadow:0 3px 6px #00000024}
.add-file:hover{background:#bd060a;box-shadow:0 1px 26px #00000024}
/* Màn kết quả theo iLovePDF 09/11/2026 */
.pdf-result h1{font-size:28px;line-height:30px;margin:0 0 30px}
.pdf-result-download-row{gap:12px;align-items:flex-start}
.pdf-result .pdf-download{padding:24px 48px;line-height:28px;box-shadow:0 3px 6px #00000024}
.pdf-result .pdf-download:hover{background:#bd060a}
.pdf-result-back{margin-top:24px;background:#47474f}
.pdf-result-back,.pdf-result-utilities button{box-shadow:0 3px 6px #00000024;transition:.1s linear}
.pdf-result-utilities{gap:6px 8px;margin-top:2px}
.pdf-result-utilities button{background:#e5322d}
.pdf-result-utilities button:hover{background:#bd060a}
.pdf-result-back:hover{background:#161616;box-shadow:0 1px 26px #00000024}
.pdf-result-back svg,.pdf-result-utilities svg{width:18px;height:18px}
.pdf-continue{max-width:784px;margin:48px auto 12px;border-radius:8px}
.pdf-continue h2{line-height:20px;margin:0}
.pdf-continue-grid{gap:0 8px;margin:12px 0 4px}
.pdf-continue-grid button{gap:12px;padding:8px;border-radius:4px;min-height:52px;color:#161616;font-size:12px;line-height:18px;letter-spacing:.3px;font-weight:500}
.pdf-continue-grid img{width:36px;height:36px;padding:8px;border-radius:8px;background:#fff;box-shadow:0 0 8px #0000000d}
.pdf-radio-option strong{font-weight:500}
.add-file[data-tooltip]{overflow:visible}
.add-file[data-tooltip]:hover::before{content:attr(data-tooltip);position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);padding:6px 10px;border-radius:4px;background:#47474f;color:#fff;white-space:nowrap;font-size:14px;font-weight:600;line-height:18px;pointer-events:none}
.add-file[data-tooltip]:hover::after{content:'';position:absolute;right:calc(100% + 4px);top:50%;transform:translateY(-50%);border:4px solid transparent;border-left-color:#47474f;pointer-events:none}
/* Tách PDF theo iLovePDF 09/11/2026 (đo ở 1440×900) */
@media(min-width:701px){
.pdf-workspace[data-tool=split] .workspace-top,.pdf-workspace[data-tool=split] .pdf-document-name{display:none}
.pdf-workspace[data-tool=split] .file-area{padding:24px}
.pdf-live .pdf-workspace[data-tool=split]{grid-template-columns:minmax(0,1fr) 440px}
.pdf-workspace[data-tool=split] .options-panel>h1{padding:14px 24px;line-height:26px;margin-left:-24px;margin-right:-24px}
.pdf-workspace[data-tool=split] .pdf-tabs{margin:-20px -24px 24px;border-bottom:0}
.pdf-workspace[data-tool=split] .pdf-tabs button{min-height:97px;padding:16px 8px;font-size:16px;font-weight:400;color:#85858e;border:1px solid #e3e3ea;border-top:0;border-left:0;background:#fff}
.pdf-workspace[data-tool=split] .pdf-tabs button:last-child{border-right:0}
.pdf-workspace[data-tool=split] .pdf-tabs button[aria-selected=true]{color:#161616;border-bottom-color:transparent}
.pdf-workspace[data-tool=split] .pdf-tabs button:not([aria-selected=true]):hover{background:#f5f5fa}
.pdf-workspace[data-tool=split] .pdf-option-heading{font-size:15px;font-weight:500;line-height:20px;color:#33333b;margin:0 0 16px}
.pdf-workspace[data-tool=split] .pdf-mode-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}
.pdf-workspace[data-tool=split] .pdf-mode-buttons button{min-height:42px;padding:8px 12px;font-size:16px;color:#85858e;background:#f5f5fa;border:2px solid transparent!important;border-radius:8px;box-shadow:none;transition:.2s ease-out}
.pdf-workspace[data-tool=split] .pdf-mode-buttons button:hover{background:#ebebf4}
.pdf-workspace[data-tool=split] .pdf-mode-buttons button.selected{color:#e5322d;border-color:#e5322d!important;background:#f5f5fa}
.pdf-workspace[data-tool=split] .pdf-range-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0 -16px;padding:8px 20px 16px;background:transparent;border:0}
.pdf-workspace[data-tool=split] .pdf-range-row+.pdf-range-row{border-top:1px solid #e3e3ea}
.pdf-workspace[data-tool=split] .pdf-range-row>div{align-self:stretch;font-size:16px;font-weight:400;color:#33333b;margin-bottom:10px}
.pdf-workspace[data-tool=split] .pdf-range-row label{display:inline-flex;align-items:center;padding:0;gap:0;border:1px solid #c2c2cc;border-radius:2px;background:#fff;font-size:12px;font-weight:500;color:#47474f;width:auto}
.pdf-workspace[data-tool=split] .pdf-range-row label>span,.pdf-workspace[data-tool=split] .pdf-range-row label{line-height:22px}
.pdf-workspace[data-tool=split] .pdf-range-row label{padding-left:8px}
.pdf-workspace[data-tool=split] .pdf-range-row input{width:124px;height:44px;border:0;border-left:1px solid #c2c2cc;margin-left:8px;padding:0 10px;text-align:right;font-size:16px;color:#47474f}
.pdf-workspace[data-tool=split] .pdf-add-range{display:flex;align-items:center;gap:6px;margin:16px auto 16px;height:32px;padding:0 12px;border:0;border-radius:8px;box-shadow:inset 0 0 0 2px #e5322d;font-size:14px;font-weight:600;color:#e5322d;background:#fff}
.pdf-workspace[data-tool=split] .pdf-add-range:hover{background:#fff3f2}
.pdf-workspace[data-tool=split] .pdf-checkbox{font-size:16px;color:#47474f}
.pdf-workspace[data-tool=split] .pdf-summary:not(.invalid){display:none}
}
@media(min-width:701px) and (max-width:1440px){.pdf-live .pdf-workspace[data-tool=split]{grid-template-columns:minmax(0,1fr) 380px}}
/* Hộp thông tin thống nhất + chế độ OCR (đối chiếu iLovePDF 09/11/2026) */
.pdf-workspace .info-box{position:relative;padding:10px 14px 12px 40px;font-size:14px;line-height:22px;border:1px solid #008ee9;background:#def2ff;color:#161616;border-radius:8px;letter-spacing:.3px}
.pdf-workspace .info-box::before{content:'i';position:absolute;left:13px;top:14px;width:14px;height:14px;line-height:12px;border:1.5px solid #008ee9;border-radius:50%;font-size:11px;font-weight:600;text-align:center;color:#008ee9;box-sizing:border-box;font-style:normal}
.ocr-heading{font-size:16px;font-weight:500;line-height:22px;color:#33333b;margin:24px 0 12px}
.ocr-modes{gap:16px}.ocr-modes .pdf-radio-option{border-color:#47474f;transition:border-color .15s,background .15s}
.ocr-modes .pdf-radio-option:not(:has(input:checked)){border-color:#dcdce4}
.ocr-modes .pdf-radio-option:hover{border-color:#47474f}
.ocr-modes strong{font-size:17px;font-weight:500!important;color:#33333b}.ocr-modes small{color:#47474f}
.ocr-enhance{display:grid;gap:16px}
.ocr-check{display:flex;gap:16px;align-items:flex-start;padding:16px;border:1px solid #dcdce4;border-radius:8px;cursor:pointer;transition:opacity .2s,border-color .15s}
.ocr-check input{width:22px;height:22px;margin:0;accent-color:#e5322d;flex:none}
.ocr-check strong{display:block;font-size:16px;font-weight:500;line-height:22px;color:#33333b}.ocr-check small{display:block;font-size:14px;line-height:20px;color:#707078;margin-top:2px}
.ocr-check:has(input:checked){border-color:#47474f}
.ocr-panel:not(.ocr-advanced) .ocr-enhance-title,.ocr-panel:not(.ocr-advanced) .ocr-check{opacity:.38;cursor:default}
.ocr-panel .options-label,.ocr-panel>label{font-size:16px;font-weight:500}
.pdf-result-stats{display:none}
/* Chân trang cố định không che nút cuối trang khi màn hình thấp */
.tool-page{padding-bottom:64px}
