.pdf-editor{background:#fff;border-radius:20px;width:80%;min-width:320px;max-width:860px;overflow:hidden;box-shadow:0 8px 32px #0000001f,0 4px 8px #0000000f}@media (width<=768px){.pdf-editor{width:95%}}@media (width<=480px){.pdf-editor{border-radius:16px;width:100%;min-width:0}}.pdf-editor__header{background:#eef2ff;border-bottom:1px solid #c7d2fe;align-items:center;gap:16px;padding:20px 32px;display:flex}@media (width<=480px){.pdf-editor__header{padding:16px}}.pdf-editor__header-icon{background:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000f}.pdf-editor__header-icon svg{font-size:26px!important}.pdf-editor__body{padding:32px}@media (width<=768px){.pdf-editor__body{padding:24px}}@media (width<=480px){.pdf-editor__body{padding:16px}}.pdf-editor__dropzone{cursor:pointer;text-align:center;border:2px dashed #272829;border-radius:12px;outline:none;flex-direction:column;justify-content:center;align-items:center;padding:56px 32px;transition:border-color .2s,background .2s;display:flex}@media (width<=768px){.pdf-editor__dropzone{padding:40px 24px}}@media (width<=480px){.pdf-editor__dropzone{padding:32px 16px}}.pdf-editor__dropzone:hover,.pdf-editor__dropzone:focus,.pdf-editor__dropzone--active{background:#4f46e50a;border-color:#4f46e5}.pdf-editor__upload-circle{background:#eef2ff;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;display:flex}@media (width<=480px){.pdf-editor__upload-circle{width:64px;height:64px}}.pdf-editor__pdf-tag{color:#4f46e5;letter-spacing:.4px;background:#eef2ff;border:1.5px solid #4f46e5;border-radius:20px;align-items:center;gap:6px;padding:5px 14px;font-size:.78rem;font-weight:600;display:inline-flex}.pdf-editor__editing{flex-direction:column;gap:20px;display:flex}.pdf-editor__grid-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.pdf-editor__grid-header-actions{gap:8px;display:flex}.pdf-editor__hint{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:8px 12px;display:block}.pdf-editor__grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px;display:grid}@media (width<=768px){.pdf-editor__grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:12px}}@media (width<=480px){.pdf-editor__grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}}.pdf-editor__thumb{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#f1f5f9;border:2px solid #e2e8f0;border-radius:8px;transition:border-color .15s,box-shadow .15s,transform .15s;overflow:hidden}.pdf-editor__thumb:hover{border-color:#4f46e5;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000f}.pdf-editor__thumb:active{cursor:grabbing}.pdf-editor__thumb--dragging{z-index:3;border-color:#4f46e5;position:relative;transform:scale(1.04);box-shadow:0 6px 18px #4f46e559}.pdf-editor__thumb-img{aspect-ratio:3/4;cursor:zoom-in;background:#fff;outline:none;justify-content:center;align-items:center;width:100%;display:flex;position:relative;overflow:hidden}.pdf-editor__thumb-img img{object-fit:contain;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;max-width:92%;max-height:92%;transition:transform .2s;display:block;box-shadow:0 1px 4px #00000026}.pdf-editor__blank-tile{background:#fff;border:1px dashed #272829;border-radius:2px;justify-content:center;align-items:center;width:78%;height:88%;display:flex}.pdf-editor__badge{color:#fff;z-index:2;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:700;display:flex;position:absolute;top:6px;left:6px;box-shadow:0 1px 4px #0000004d}.pdf-editor__drag-handle{color:#64748b;pointer-events:none;z-index:2;align-items:center;display:flex;position:absolute;bottom:5px;left:5px}@media (hover:none){.pdf-editor__drag-handle{color:#000;background:#ffffffeb;border:1px solid #e2e8f0;border-radius:6px;padding:5px;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000f}}.pdf-editor__rotation-tag{color:#4f46e5;z-index:2;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;padding:1px 6px;font-size:.62rem;font-weight:700;position:absolute;bottom:5px;right:6px}.pdf-editor__thumb-controls{opacity:0;z-index:2;gap:4px;transition:opacity .15s;display:flex;position:absolute;top:4px;right:4px}.pdf-editor__thumb:hover .pdf-editor__thumb-controls{opacity:1}@media (hover:none){.pdf-editor__thumb-controls{opacity:1}}.pdf-editor__thumb-btn{color:#fff!important;background:#0000008c!important;width:24px!important;height:24px!important}.pdf-editor__thumb-btn:hover{background:#4f46e5!important}.pdf-editor__thumb-btn--delete:hover{background:#dc2626!important}.pdf-editor__add-page{aspect-ratio:3/4;cursor:pointer;border:2px dashed #272829;border-radius:8px;outline:none;flex-direction:column;justify-content:center;align-items:center;transition:border-color .2s,background .2s;display:flex}.pdf-editor__add-page:hover,.pdf-editor__add-page:focus{background:#eef2ff;border-color:#4f46e5}.pdf-editor__page-preview{align-items:center;gap:8px;display:flex}@media (width<=480px){.pdf-editor__page-preview{gap:0;position:relative}}.pdf-editor__page-preview-nav{flex-shrink:0}@media (width<=480px){.pdf-editor__page-preview-nav{z-index:2;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 1px 3px #00000014,0 1px 2px #0000000f;background:#ffffffd9!important}.pdf-editor__page-preview-nav:first-child{left:4px}.pdf-editor__page-preview-nav:last-child{right:4px}}.pdf-editor__page-preview-stage{background:#f1f5f9;border-radius:12px;flex:1;justify-content:center;align-items:center;min-width:0;min-height:80vh;padding:16px;display:flex;overflow:hidden}@media (width<=480px){.pdf-editor__page-preview-stage{border-radius:0;width:100%;height:100%;min-height:0;padding:8px}}.pdf-editor__page-preview-img{object-fit:contain;background:#fff;max-width:100%;max-height:85vh;box-shadow:0 2px 12px #0000002e}@media (width<=480px){.pdf-editor__page-preview-img{max-width:100%;max-height:100%}}.pdf-editor__page-preview-blank{aspect-ratio:3/4;background:#fff;border:1px dashed #272829;border-radius:2px;justify-content:center;align-items:center;width:min(420px,70%);display:flex;box-shadow:0 2px 12px #0000001f}.pdf-editor__options{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:16px;padding:6px 16px;display:flex}.pdf-editor__apply-btn{letter-spacing:.2px;box-shadow:none!important;border-radius:12px!important;padding:14px 0!important;font-size:1rem!important}@media (width<=480px){.pdf-editor__apply-btn{font-size:.88rem!important}}.pdf-editor__apply-btn:hover{opacity:.92;box-shadow:0 4px 14px #4f46e54d!important}.pdf-editor__apply-btn:disabled{opacity:.5;box-shadow:none!important}.pdf-editor__center{text-align:center;flex-direction:column;align-items:center;padding:40px 16px;display:flex}@media (width<=480px){.pdf-editor__center{padding:24px 8px}}.pdf-editor__success-ring{border-radius:50%;justify-content:center;align-items:center;width:96px;height:96px;display:flex}@media (width<=480px){.pdf-editor__success-ring{width:72px;height:72px}}.pdf-editor__action-row{flex-wrap:wrap;gap:16px;width:100%;display:flex}@media (width<=480px){.pdf-editor__action-row{flex-direction:column;gap:8px}}
