body.pdf-cropper{-webkit-user-select:none;user-select:none}.pdfcrop-container{max-width:900px;margin:0 auto;padding:20px}body.pdf-cropper .pdfcrop-header{text-align:center;margin-top:20px;margin-bottom:40px}body.pdf-cropper .pdfcrop-logo-box{justify-content:center;align-items:center;gap:15px;margin-bottom:12px;display:flex}body.pdf-cropper .pdfcrop-icon-circle{background:var(--ink);color:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:45px;height:45px;font-size:22px;display:flex}body.pdf-cropper .pdfcrop-header h1{color:var(--ink)!important;margin:0!important;font-size:2.2rem!important;font-weight:800!important}body.pdf-cropper .pdfcrop-subtitle{color:var(--muted);margin:0;font-size:1.1rem}body.pdf-cropper .pdfcrop-header.pdfcrop-header{color:var(--ink)!important;background:0 0!important;padding:0!important;overflow:visible!important}.pdfcrop-card{border:1px solid var(--border);background:#fff;border-radius:0;margin-bottom:60px;padding:25px 20px}.pdfcrop-upload-area{border:2px dashed var(--border);text-align:center;cursor:pointer;border-radius:0;padding:20px 15px;transition:all .3s;position:relative}.pdfcrop-upload-area:hover,.pdfcrop-upload-area.active{border-color:var(--ink);background:var(--panel-bg)}.pdfcrop-upload-icon{color:var(--ink);opacity:.8;margin-bottom:8px;font-size:2.5rem}.pdfcrop-upload-title{color:var(--ink);margin-bottom:5px;font-size:1.25rem;font-weight:800}.pdfcrop-upload-desc{color:var(--ink);margin-bottom:15px;font-size:.9rem}.pdfcrop-file-limits{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:20px;font-size:.85rem;display:flex}.pdfcrop-file-limits i{color:var(--success)}.pdfcrop-features-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:40px;display:grid}.pdfcrop-feature-item{border:1px solid var(--border);text-align:center;background:#fff;border-radius:0;padding:24px 20px;transition:all .3s}.pdfcrop-feature-item:hover{border-color:var(--ink);transform:translateY(-4px)}.pdfcrop-feature-icon{color:var(--ink);margin-bottom:12px;font-size:1.8rem}.pdfcrop-feature-item h3{color:var(--ink);margin-bottom:8px;font-size:1rem;font-weight:700}.pdfcrop-feature-item p{color:var(--ink);margin:0;font-size:.88rem;line-height:1.5}.pdfcrop-guide-sec{box-sizing:border-box;background:0 0;width:100%;margin-bottom:40px}.pdfcrop-guide-title{color:var(--ink);align-items:center;gap:10px;margin-bottom:25px;font-size:1.4rem;font-weight:800;display:flex}.pdfcrop-guide-cards-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;display:grid}.pdfcrop-guide-card{background:var(--panel-bg);border:1px solid var(--border);border-radius:0;padding:24px}.pdfcrop-guide-card h3{color:var(--ink);align-items:center;gap:10px;margin-bottom:12px;font-size:1.05rem;font-weight:800;display:flex}.pdfcrop-guide-card p{color:var(--ink);margin:0;font-size:.9rem;line-height:1.6}.pdfcrop-seo-content{margin-top:40px;padding-top:30px}.pdfcrop-seo-content h2{color:var(--ink);align-items:center;gap:10px;margin-bottom:20px;font-size:1.4rem;font-weight:800;display:flex}.pdfcrop-seo-image-wrapper{border:1px solid var(--border);border-radius:0;margin:30px 0;overflow:hidden}.pdfcrop-seo-image{object-fit:cover;width:100%;height:auto;display:block}.pdfcrop-seo-text p{color:var(--ink);margin-bottom:16px;font-size:.95rem;line-height:1.8}.pdfcrop-seo-text h3{color:var(--ink);margin:24px 0 12px;font-size:1.15rem;font-weight:700}.pdfcrop-seo-text ul{margin:12px 0 20px;padding-left:20px}.pdfcrop-seo-text ul li{color:var(--ink);margin-bottom:8px;font-size:.93rem;line-height:1.7}.pdfcrop-seo-text ul li strong{color:var(--ink)}.pdfcrop-seo-text a{color:#3b82f6;font-weight:600;text-decoration:none}.pdfcrop-seo-text a:hover{text-decoration:underline}.crop-overlay{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.crop-region{border:2px dashed var(--ink);pointer-events:auto;cursor:move;background:#1111111a;position:absolute}.crop-region.dragging{border-style:solid}.crop-region.grid-active .grid-lines{display:block}.grid-lines{pointer-events:none;background-image:linear-gradient(90deg,#1111114d 1px,#0000 1px),linear-gradient(#1111114d 1px,#0000 1px);background-size:33.33% 33.33%;width:100%;height:100%;display:none;position:absolute;top:0;left:0}.handle{background:var(--ink);border:1px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute}.handle.tl{cursor:nw-resize;top:-6px;left:-6px}.handle.tr{cursor:ne-resize;top:-6px;right:-6px}.handle.bl{cursor:sw-resize;bottom:-6px;left:-6px}.handle.br{cursor:se-resize;bottom:-6px;right:-6px}.handle.mt{cursor:n-resize;top:-6px;left:calc(50% - 6px)}.handle.mb{cursor:s-resize;bottom:-6px;left:calc(50% - 6px)}.handle.ml{cursor:w-resize;top:calc(50% - 6px);left:-6px}.handle.mr{cursor:e-resize;top:calc(50% - 6px);right:-6px}.edge-h{width:100%;height:8px;position:absolute;left:0}.edge-h.edge-t{cursor:n-resize;top:-4px}.edge-h.edge-b{cursor:s-resize;bottom:-4px}.edge-v{width:8px;height:100%;position:absolute;top:0}.edge-v.edge-l{cursor:w-resize;left:-4px}.edge-v.edge-r{cursor:e-resize;right:-4px}.editor-new-btn{background:var(--ink);color:#fff;border-radius:var(--radius-pill);cursor:pointer;border:none;align-items:center;gap:8px;margin-left:15px;padding:7px 16px;font-size:.85rem;font-weight:700;transition:all .2s;display:inline-flex}.editor-new-btn:hover{opacity:.8}.editor-new-btn i{color:#fff;font-size:.9rem}.hidden{display:none!important}.editor-layout{border:1px solid var(--border);background:#fff;border-radius:0;height:calc(100vh - 120px);min-height:550px;display:flex;overflow:hidden}.sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;flex-shrink:0;width:320px;padding:.5rem 1rem 1rem;display:flex;overflow:hidden}.sidebar-scroll-content{flex:1;padding-right:4px;overflow-y:auto}.sidebar-scroll-content::-webkit-scrollbar{width:4px}.sidebar-scroll-content::-webkit-scrollbar-track{background:0 0}.sidebar-scroll-content::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px}.sidebar-branding{border-bottom:1.5px solid var(--border-light);align-items:center;gap:12px;margin-bottom:.5rem;padding:.2rem .5rem .6rem;display:flex}.sidebar-logo{background:var(--ink);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;display:flex}.sidebar-title{color:var(--ink);font-size:1.15rem;font-weight:800}.sidebar-section{border-bottom:1px solid var(--border-light);padding:1rem 0}.sidebar-scroll-content .sidebar-section:last-child{border-bottom:none}.sidebar-section h3.section-title{color:var(--ink);align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.9rem;font-weight:700;display:flex}.download-section{border-top:1.5px solid var(--border-light);margin-top:auto;border-bottom:none!important;padding-top:1rem!important;padding-bottom:0!important}.control-group{margin-bottom:.75rem}.control-group label{color:var(--muted);margin-bottom:.4rem;font-size:.85rem;font-weight:600;display:block}.form-select{border:1px solid var(--border);width:100%;color:var(--ink);box-sizing:border-box;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-position:right 7.5px center;background-repeat:no-repeat;background-size:14px;border-radius:8px;outline:none;padding:.6rem 2rem .6rem .6rem;font-size:.9rem;transition:border-color .2s}.dimension-grid input{border:1px solid var(--border);width:100%;color:var(--ink);box-sizing:border-box;border-radius:8px;outline:none;padding:.6rem;font-size:.9rem;transition:border-color .2s}.form-select:focus,.dimension-grid input:focus{border-color:var(--ink)}.dimension-grid{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.action-buttons{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}.radio-item{cursor:pointer;border-radius:8px;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.5rem;transition:background .2s;display:flex}.radio-item:hover{background:var(--panel-bg)}.radio-item input{accent-color:var(--ink)}.preview-container{background:var(--panel-bg);border:1px dashed var(--border);border-radius:8px;justify-content:center;align-items:center;height:120px;display:flex;overflow:hidden}#croppedPreviewCanvas{max-width:100%;max-height:100%}.workspace{background:var(--panel-bg);flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.toolbar{border-bottom:1px solid var(--border);z-index:10;background:#fff;justify-content:space-between;align-items:center;height:50px;padding:0 1rem;display:flex}.page-nav,.zoom-controls,.view-options{align-items:center;gap:1rem;display:flex}.nav-btn,.tool-btn{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:6px;padding:.4rem .6rem;transition:all .2s;display:inline-flex}.nav-btn:hover,.tool-btn:hover{background:var(--panel-bg);color:var(--ink);border-color:var(--border)}.tool-btn.active{color:var(--ink);background:var(--panel-bg)}.canvas-container{cursor:grab;flex:1;justify-content:center;align-items:flex-start;padding:1.5rem;display:flex;position:relative;overflow:auto}.canvas-container:active{cursor:grabbing}.canvas-area{transform-origin:50%;background:#fff;transition:transform .1s ease-out;position:relative}canvas#pdfCanvas{max-width:none;display:block}.loading-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#fffc;flex-direction:column;justify-content:center;align-items:center;gap:1rem;display:flex;position:absolute;inset:0}.spinner{border:4px solid var(--border-light);border-top:4px solid var(--ink);border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width:992px){.editor-layout{flex-direction:column-reverse;height:auto}.sidebar{border-right:none;border-bottom:1px solid var(--border);flex-shrink:0;width:100%;height:auto}.workspace{height:500px}}@media (max-width:768px){.dimension-grid{grid-template-columns:repeat(4,1fr)}.workspace{height:400px}.toolbar{flex-wrap:wrap;gap:.5rem;height:auto;padding:.5rem}}@media (max-width:480px){.dimension-grid{grid-template-columns:1fr 1fr}.pdfcrop-features-grid{grid-template-columns:1fr}}
