.pdf-workspace{display:block}.pdf-working .pdf-main{padding-bottom:150px}.pdf-workbar{margin-bottom:16px}.pdf-workbar p{font-size:12px}.pdf-workbar .clear-btn{min-height:40px}.pdf-edit-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.pdf-view-switch,.pdf-history{display:flex;gap:4px}.pdf-history{margin-left:auto}.pdf-view-switch{border:1px solid var(--line);border-radius:10px;padding:3px}.pdf-view-switch button{min-height:36px;padding:8px 12px;font-size:12px}.pdf-view-switch button[aria-pressed=true]{background:var(--surface);color:var(--text)}.pdf-history button{font-size:12px;min-height:40px}.clear-btn:disabled{opacity:.4;cursor:default}.pdf-group-note{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;background:var(--surface);border-radius:10px;font-size:12px;line-height:1.8}.pdf-group-note p{flex:1;margin:0;min-width:200px}.pdf-selection-tools{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;margin:16px 0 20px}.pdf-selection-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.pdf-selection-top>p{font-size:12px;font-weight:600;margin:0;color:var(--accent)}.pdf-quick-selection{display:flex;flex-wrap:wrap;gap:2px}.pdf-quick-selection .clear-btn{font-size:12px;min-height:38px;padding:8px 10px}.pdf-selection-tools details summary,.pdf-options details summary{font-size:12px;font-weight:600;cursor:pointer;min-height:40px;padding:11px 0;line-height:1.6}.pdf-range-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 10px}.pdf-range-row label{font-size:12px}.pdf-range-row>.pdf-hint{flex-basis:100%;margin:0}.pdf-selection-tools input:not([type=checkbox]),.pdf-selection-tools select{font:inherit;font-size:13px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);padding:10px;min-height:42px;max-width:100%}.pdf-selection-tools input{width:180px}.pdf-selected-actions{display:flex;gap:4px;flex-wrap:wrap;padding-top:8px}.pdf-selected-actions .clear-btn{font-size:12px;min-height:42px}.pdf-selection-export{color:var(--accent)!important}.pdf-move-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0}.pdf-move-options label{font-size:12px}.pdf-move-options input{width:85px}.pdf-move-options .clear-btn{font-size:12px;min-height:40px}.pdf-field-error{font-size:12px;line-height:1.8;color:var(--danger);margin:10px 0;flex-basis:100%}.pdf-item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px;margin:22px 0;position:relative}.pdf-item-card{position:relative;border:1px solid var(--line);border-radius:14px;padding:10px;background:color-mix(in srgb,var(--surface) 18%,transparent);min-width:0;transition:border-color .15s,background .15s}.pdf-item-card.is-selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--bg));box-shadow:0 0 0 1px var(--accent)}.pdf-card-top{display:flex;justify-content:space-between;align-items:center;margin:-6px -4px 6px}.pdf-card-check{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 7px;font-size:12px;color:var(--muted);cursor:pointer}.pdf-card-check input{width:18px;height:18px;accent-color:var(--accent);cursor:pointer;margin:0}.pdf-drag-handle{touch-action:none;cursor:grab;width:40px}.pdf-drag-handle .tilo-icon{font-size:20px}.pdf-item-card[draggable=true]{cursor:grab}.pdf-thumbnail{position:relative;height:178px;display:flex;align-items:center;justify-content:center;overflow:hidden}.pdf-preview-open{position:absolute;right:0;bottom:0;background:color-mix(in srgb,var(--bg) 85%,transparent);width:40px;height:40px}.pdf-preview-open .tilo-icon{font-size:20px}.pdf-item-card .pdf-file-name{font-size:12px;line-height:1.7;min-height:40px;margin:12px 0 4px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pdf-item-card .pdf-file-meta{font-size:11px;line-height:1.65;min-height:36px;margin:0;overflow-wrap:anywhere}.pdf-card-controls{display:flex;justify-content:center;margin:4px -3px -5px}.pdf-card-controls .icon-btn{width:44px;height:44px;flex-shrink:1}.pdf-card-controls .tilo-icon{font-size:18px}.pdf-add-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:220px;border:1.5px dashed color-mix(in srgb,var(--accent) 45%,var(--line));font:inherit;font-size:13px;color:var(--accent);cursor:pointer;background:transparent}.pdf-add-card>.tilo-icon{font-size:32px}.pdf-add-card:hover{background:color-mix(in srgb,var(--accent) 5%,transparent)}.pdf-item-card.drop-before:before,.pdf-item-card.drop-after:after{content:"";position:absolute;top:0;bottom:0;width:3px;background:var(--accent);border-radius:2px;pointer-events:none;z-index:3}.pdf-item-card.drop-before:before{left:-9px}.pdf-item-card.drop-after:after{right:-9px}.pdf-item-grid.drop-append .pdf-add-card{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}.pdf-drag-bubble{position:fixed;z-index:100;pointer-events:none;max-width:145px;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:600;background:var(--accent);color:var(--buttontext);box-shadow:0 4px 20px #0002}.pdf-options{position:static;padding:20px;border:1px solid var(--line);border-radius:14px;max-width:720px;margin:18px 0}.pdf-options>label{margin-top:0}.pdf-option-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pdf-option-fields label{margin:10px 0 8px}.pdf-option-fields:has(#new-password){grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-option-fields:has(#image-format){grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-compression-presets{border:0;margin:0;padding:0;display:flex;gap:10px;flex-wrap:wrap}.pdf-compression-presets legend{font-size:12px;font-weight:600;margin-bottom:12px}.pdf-compression-presets label{display:flex;gap:8px;align-items:center;flex:1;min-width:145px;min-height:50px;padding:12px;border:1px solid var(--line);border-radius:10px;margin:0;font-size:13px;cursor:pointer}.pdf-compression-presets label:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,transparent)}.pdf-compression-presets input[type=radio]{width:16px;height:16px;min-height:0;padding:0;accent-color:var(--accent);margin:0}.pdf-password-field{display:flex;align-items:center;gap:4px;max-width:460px}.pdf-password-field input{flex:1;min-width:0}.pdf-password-field .icon-btn{flex-shrink:0}.pdf-action-bar{display:none;position:fixed;left:232px;right:0;bottom:0;z-index:25;background:var(--bg);border-top:1px solid var(--line);padding:12px clamp(18px,4vw,56px);box-shadow:0 -5px 24px #00000008}.pdf-working .pdf-action-bar{display:block}html[data-sidebar-collapsed=true] .pdf-action-bar{left:72px}.pdf-action-inner{max-width:1248px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.pdf-action-inner>.pdf-status{margin:0;max-width:50%}.pdf-action-inner>div{display:flex;align-items:center;gap:14px}.pdf-run{display:inline-flex;align-items:center;justify-content:center;min-height:50px;min-width:210px;padding:14px 24px;font-size:14px}.pdf-result #result-links a{background:transparent;color:var(--accent);border:1px solid var(--line)}.pdf-page-dialog{width:min(900px,calc(100% - 32px));max-height:90dvh;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--text);padding:20px}.pdf-page-dialog::backdrop{background:#0007}.pdf-page-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.pdf-page-dialog h2{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.pdf-page-dialog #large-page-preview{display:flex;align-items:center;justify-content:center;padding:12px 0}.pdf-page-dialog canvas{max-width:100%;height:auto}@media(max-width:920px){.pdf-action-bar,html[data-sidebar-collapsed=true] .pdf-action-bar{left:0}.pdf-action-inner{max-width:100%}}@media(max-width:640px){.pdf-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pdf-thumbnail{height:148px}.pdf-add-card{min-height:180px}.pdf-options{padding:16px}.pdf-option-fields,.pdf-option-fields:has(#new-password){grid-template-columns:1fr}.pdf-action-bar{padding:10px 16px max(12px,env(safe-area-inset-bottom))}.pdf-action-inner{display:block}.pdf-action-inner>.pdf-status{max-width:100%;font-size:11px;margin:0 0 8px}.pdf-action-inner>div{gap:10px}.pdf-action-inner .pdf-run{min-width:0;width:100%;font-size:13px;min-height:48px}.pdf-working .pdf-main{padding-bottom:150px}.pdf-quick-selection{gap:0}.pdf-quick-selection .clear-btn,.pdf-selected-actions .clear-btn{padding:8px;font-size:11px}.pdf-card-controls .icon-btn{width:44px;min-width:0}.pdf-item-card.drop-before:before{left:-8px}.pdf-item-card.drop-after:after{right:-8px}}@media(max-width:360px){.pdf-item-grid{grid-template-columns:1fr}.pdf-thumbnail{height:178px}.pdf-item-card .pdf-file-name,.pdf-item-card .pdf-file-meta{min-height:0}.pdf-selection-top{align-items:flex-start}.pdf-compression-presets label{min-width:100%}}@media(prefers-reduced-motion:reduce){.pdf-item-card{transition:none}}.pdf-current-tool,.pdf-header-privacy{display:none}.pdf-working .pdf-header-title>.topbar-title{display:none}.pdf-working .pdf-current-tool{display:block;font-size:14px;font-weight:600}.pdf-working .pdf-header-privacy{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--accent)}.pdf-header-privacy>.tilo-icon{font-size:18px}.pdf-working .pdf-tool-heading{display:none}.pdf-working .pdf-main{padding-top:20px}.pdf-workspace-toolbar{display:flex;align-items:center;gap:8px;height:56px;border-bottom:1px solid var(--line);margin:0 0 20px}.pdf-toolbar-spacer,.pdf-selection-inline{flex:1;min-width:0}.pdf-selection-inline{display:flex;align-items:center;gap:8px}.pdf-selection-inline input{width:18px;height:18px;accent-color:var(--accent);margin:0;flex-shrink:0}.pdf-selection-inline p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;color:var(--muted)}.pdf-workspace-toolbar>.icon-btn{flex-shrink:0;width:40px;height:40px}.pdf-workspace-toolbar .pdf-selected-actions{padding:0;flex-shrink:0;gap:0}.pdf-selected-actions .icon-btn{width:40px;height:40px}.pdf-settings-toggle{display:flex;align-items:center;gap:5px;padding:6px 8px;min-height:40px;max-width:180px;font-size:12px;white-space:nowrap}.pdf-settings-toggle>span:last-child{overflow:hidden;text-overflow:ellipsis}.pdf-settings-toggle .tilo-icon{font-size:20px;flex-shrink:0}.pdf-workspace-toolbar .pdf-view-switch{flex-shrink:0}.pdf-workspace-toolbar .pdf-view-switch button{padding:6px 9px}.pdf-workspace-dialog{width:min(460px,calc(100% - 28px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--text);padding:18px;box-shadow:0 15px 55px #0003}.pdf-workspace-dialog::backdrop{background:#0005}.pdf-workspace-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pdf-workspace-dialog h2{font-size:15px;margin:0}.pdf-workspace-dialog .clear-btn{font-size:13px;min-height:42px}.pdf-workspace-dialog .pdf-history{margin:14px 0;padding-top:12px;border-top:1px solid var(--line)}.pdf-workspace-dialog .pdf-options{padding:0;border:0;margin:0 0 16px}.pdf-workspace-dialog details summary{font-size:13px;padding:12px 0;cursor:pointer}.pdf-workspace-dialog .pdf-range-row{display:block}.pdf-workspace-dialog .pdf-range-row input{width:100%;margin:8px 0}.pdf-workspace-dialog input:not([type=checkbox]),.pdf-workspace-dialog select{font:inherit;font-size:13px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);max-width:100%}.pdf-workspace-dialog .pdf-hint{line-height:1.8}.pdf-workspace-dialog .pdf-option-fields{grid-template-columns:1fr}.pdf-action-summary{min-width:0}.pdf-action-summary>#file-summary{font-size:12px;margin:0 0 3px;color:var(--text)}.pdf-action-summary>.pdf-status{font-size:11px;margin:0;color:var(--muted)}.pdf-item-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:16px;margin:0 0 24px}.pdf-item-card{padding:12px;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:pointer}.pdf-item-card[draggable=true]{cursor:pointer}.pdf-card-top{position:relative;margin:-6px -6px 4px;height:36px}.pdf-card-check{min-height:36px;font-size:11px}.pdf-drag-handle{position:absolute;right:30px;top:0;opacity:0;pointer-events:none;width:32px;height:36px}.pdf-thumbnail{height:190px;overflow:visible}.pdf-item-card .pdf-file-name{min-height:0;margin:12px 0 4px}.pdf-item-card .pdf-file-meta{min-height:0;margin:0}.pdf-card-controls{margin:0}.pdf-card-controls [data-order-control]{display:none}.pdf-card-controls .icon-btn:not([data-order-control]){position:absolute;top:6px;right:6px;width:36px;height:36px;opacity:0}.pdf-item-card:hover .pdf-card-controls .icon-btn,.pdf-item-card:focus-within .pdf-card-controls .icon-btn{opacity:1}.pdf-item-card .pdf-preview-open{width:32px;height:32px;opacity:0}.pdf-item-card:hover .pdf-preview-open,.pdf-item-card:focus-within .pdf-preview-open{opacity:1}.pdf-item-card.is-dragging{opacity:.5}.pdf-add-card{min-height:275px;user-select:none}.pdf-item-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.pdf-item-card.drop-before:before{left:-10px}.pdf-item-card.drop-after:after{right:-10px}.pdf-working .pdf-seo{margin-top:50px}.pdf-page-dialog #large-page-preview{min-height:180px}.pdf-page-dialog canvas{max-height:none}.pdf-action-inner>.pdf-action-summary{display:block}.pdf-workspace-dialog .pdf-seo{margin:0;font-size:13px}.pdf-workspace-dialog .pdf-seo h2{margin:22px 0 10px;font-size:14px}.pdf-workspace-dialog .pdf-seo p{font-size:13px;line-height:1.85}.pdf-workspace-toolbar .pdf-file-row{border:0;background:none;padding:0;margin:0;gap:8px;min-width:0}.pdf-workspace-toolbar .pdf-file-description{min-width:0}.pdf-workspace-toolbar .pdf-file-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.pdf-workspace-toolbar .pdf-file-meta{font-size:10px;margin:2px 0 0}.pdf-workspace-toolbar .pdf-file-list{margin:0}.pdf-workspace-toolbar .pdf-file-row>.tilo-icon{font-size:20px;flex-shrink:0}@media(max-width:640px){.pdf-working .pdf-main{padding-top:8px}.pdf-workspace-toolbar{gap:4px;margin-bottom:16px;height:56px}.pdf-workspace-toolbar .pdf-view-switch button{font-size:11px;padding:6px}.pdf-selection-inline{gap:5px}.pdf-selection-inline p{font-size:11px}.pdf-workspace-toolbar>.icon-btn,.pdf-selected-actions .icon-btn{width:36px;height:40px}.pdf-settings-toggle{max-width:115px;font-size:11px;padding:6px 4px}.pdf-settings-toggle .tilo-icon{font-size:18px}.pdf-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pdf-item-card{padding:10px}.pdf-thumbnail{height:158px}.pdf-add-card{min-height:238px}.pdf-item-card .pdf-preview-open,.pdf-card-controls .icon-btn:not([data-order-control]){opacity:1}.pdf-working .pdf-header-privacy>span:last-child{display:none}.pdf-working .pdf-current-tool{font-size:13px}.pdf-action-summary{margin-bottom:8px}.pdf-action-summary>#file-summary{font-size:11px}.pdf-action-summary>.pdf-status{font-size:10px;line-height:1.5}.pdf-item-card.drop-before:before{left:-8px}.pdf-item-card.drop-after:after{right:-8px}}@media(max-width:360px){.pdf-selection-inline p{font-size:10px}.pdf-workspace-toolbar .pdf-view-switch button{padding:5px;font-size:10px}.pdf-workspace-toolbar .pdf-selected-actions .icon-btn{width:32px}.pdf-thumbnail{height:140px}.pdf-add-card{min-height:220px}.pdf-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.pdf-selection-short{display:none}@media(max-width:640px){.pdf-selection-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pdf-selection-short{display:inline}.pdf-selection-inline p{min-width:12px}}
