.pp-editor{width:100%}.pp-editor-main{display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start}.pp-crop-area{min-width:0}.pp-section-title{font-size:15px;font-weight:700;color:#111827;margin:0 0 12px}.pp-change-photo-btn{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:8px 20px;font-size:13px;font-weight:600;color:#fff;background:linear-gradient(135deg,#10b981,#14b8a6);border:none;border-radius:10px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.pp-change-photo-btn:hover{background:linear-gradient(135deg,#059669,#0d9488);box-shadow:0 2px 10px #10b9814d;transform:translateY(-1px)}.pp-change-photo-btn:active{transform:translateY(0)}.pp-change-photo-btn .material-symbols-outlined{font-size:17px}.pp-crop-wrapper{background:repeating-conic-gradient(#e5e7eb 0% 25%,transparent 0% 50%) 50% / 16px 16px;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;margin:0 auto}.pp-crop-wrapper .ReactCrop__child-wrapper{max-height:400px!important}.pp-crop-wrapper .ReactCrop__child-wrapper img{max-height:400px!important;width:auto!important;height:auto!important}.pp-controls-panel{display:flex;flex-direction:column;gap:20px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;padding:20px}.pp-control-group{display:flex;flex-direction:column;gap:8px}.pp-label{font-size:13px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:center;justify-content:space-between;gap:8px}.pp-swatches{display:flex;gap:8px;flex-wrap:wrap}.pp-swatch{width:36px;height:36px;border-radius:50%;border:2px solid #6B7280;cursor:pointer;transition:all .2s;padding:0;position:relative}.pp-swatch:hover{transform:scale(1.12);border-color:#6b7280}.pp-swatch.active{border-color:#10b981;box-shadow:0 0 0 3px #10b98140;transform:scale(1.1)}.pp-swatch-custom{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f87171,#fbbf24,#34d399,#60a5fa,#a78bfa);border-color:#6b7280;cursor:pointer;overflow:hidden}.pp-swatch-custom input[type=color]{position:absolute;width:100%;height:100%;opacity:0;cursor:pointer}.pp-swatch-custom .material-symbols-outlined{font-size:18px;color:#fff;pointer-events:none}.pp-toggle{position:relative;display:inline-block;width:40px;height:22px;cursor:pointer}.pp-toggle input{opacity:0;width:0;height:0}.pp-toggle-slider{position:absolute;inset:0;background:#6b7280;border-radius:22px;transition:.25s}.pp-toggle-slider:before{content:"";position:absolute;width:16px;height:16px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.25s}.pp-toggle input:checked+.pp-toggle-slider{background:#10b981}.pp-toggle input:checked+.pp-toggle-slider:before{transform:translate(18px)}.pp-border-controls{display:flex;flex-direction:column;gap:10px}.pp-slider-group{display:flex;flex-direction:column;gap:4px}.pp-slider-label{font-size:12px;color:#34aadc;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.pp-range-slider{position:relative;padding-top:32px}.pp-range-tooltip{position:absolute;top:0;transform:translate(-50%);background:#34aadc;color:#fff;font-size:13px;font-weight:700;min-width:30px;text-align:center;padding:3px 8px;border-radius:6px;pointer-events:none;transition:left .15s ease}.pp-range-tooltip:after{content:"";position:absolute;bottom:-5px;left:50%;transform:translate(-50%);border-width:5px 5px 0;border-style:solid;border-color:#34AADC transparent transparent}.pp-range-row{display:flex;align-items:center;gap:10px}.pp-range-min,.pp-range-max{font-size:13px;font-weight:600;color:#9ca3af;user-select:none;flex-shrink:0}.pp-slider{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:3px;outline:none;background:linear-gradient(to right,#34AADC 0%,#34AADC var(--progress),#e0e0e0 var(--progress),#e0e0e0 100%);cursor:pointer}.pp-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:32px;height:32px;border-radius:50%;background:#fff;cursor:pointer;border:3px solid #34AADC;box-shadow:0 1px 4px #0000001a;transition:box-shadow .15s ease}.pp-slider::-webkit-slider-thumb:hover{box-shadow:0 0 0 8px #34aadc1f,0 1px 4px #0000001a}.pp-slider::-moz-range-thumb{width:32px;height:32px;border-radius:50%;background:#fff;cursor:pointer;border:3px solid #34AADC;box-shadow:0 1px 4px #0000001a}.pp-slider::-moz-range-track{height:6px;border-radius:3px;background:linear-gradient(to right,#34AADC 0%,#34AADC var(--progress),#e0e0e0 var(--progress),#e0e0e0 100%)}.pp-preview-container{background:repeating-conic-gradient(#e5e7eb 0% 25%,transparent 0% 50%) 50% / 12px 12px;border:1px solid #e5e7eb;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:140px}.pp-preview-canvas{display:block;max-width:100%;max-height:200px}.pp-result{display:flex;flex-direction:column;align-items:center;gap:20px}.pp-result .tsr-preview{border-radius:0}.pp-download-options{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;width:100%}.pp-sheet-section{width:100%;background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:14px}.pp-sheet-title{font-size:15px;font-weight:700;color:#111827;margin:0;display:flex;align-items:center;gap:8px}.pp-sheet-title .material-symbols-outlined{font-size:20px;color:#10b981}.pp-sheet-controls{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.pp-sheet-count-label{font-size:13px;font-weight:600;color:#374151;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.pp-sheet-count-input{display:inline-flex;align-items:center;width:fit-content;gap:0;border:2px solid #6B7280;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 1px 4px #0000000f;transition:border-color .2s}.pp-sheet-count-input:hover,.pp-sheet-count-input:focus-within{border-color:#10b981}.pp-count-btn{width:52px;height:52px;border:none;background:transparent;color:#10b981;font-size:24px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}.pp-count-btn:hover:not(:disabled){background:#10b98114}.pp-count-btn:active:not(:disabled){background:#10b98129}.pp-count-btn:disabled{color:#6b7280;cursor:not-allowed}.pp-count-field{width:56px;height:52px;border:none;border-left:1px solid #e5e7eb;border-right:1px solid #e5e7eb;text-align:center;font-size:20px;font-weight:700;color:#111827;outline:none;background:transparent;-moz-appearance:textfield}.pp-count-field::-webkit-outer-spin-button,.pp-count-field::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.pp-sheet-preview-wrap{background:#e5e7eb;padding:6px;display:flex;align-items:center;justify-content:center}.pp-sheet-preview-canvas{display:block;width:100%;max-height:280px;object-fit:contain;border:1px solid #6B7280}.pp-sheet-download-btn{width:100%}.pp-camera-btn-inline{background:#374151!important}.pp-camera-btn-inline:hover{background:#1f2937!important}.pp-camera-modal{display:flex;flex-direction:column;width:100%;max-width:600px;margin:0 auto;background:#000;border-radius:16px;overflow:hidden;box-shadow:0 8px 40px #00000040}.pp-camera-topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#000000d9;color:#fff}.pp-camera-title{font-size:15px;font-weight:600;color:#fff}.pp-camera-close,.pp-camera-switch{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:50%;background:#ffffff1f;color:#fff;cursor:pointer;transition:background .15s}.pp-camera-close:hover,.pp-camera-switch:hover{background:#ffffff3d}.pp-camera-close .material-symbols-outlined,.pp-camera-switch .material-symbols-outlined{font-size:22px}.pp-camera-viewfinder{position:relative;width:100%;aspect-ratio:3 / 4;background:#111;display:flex;align-items:center;justify-content:center;overflow:hidden}.pp-camera-video{width:100%;height:100%;object-fit:cover}.pp-camera-guide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.pp-camera-guide-oval{width:55%;aspect-ratio:35 / 45;border:2px dashed rgba(255,255,255,.5);border-radius:50%}.pp-camera-error{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px 20px;text-align:center;color:#fff}.pp-camera-error .material-symbols-outlined{font-size:48px;color:#f87171}.pp-camera-error p{font-size:14px;color:#d1d5db;margin:0;max-width:280px}.pp-camera-error-btn{padding:10px 24px;font-size:14px;font-weight:600;color:#fff;background:#ffffff26;border:1px solid rgba(255,255,255,.25);border-radius:10px;cursor:pointer;transition:background .15s}.pp-camera-error-btn:hover{background:#ffffff40}.pp-camera-controls{display:flex;align-items:center;justify-content:center;padding:20px;background:#000000d9}.pp-capture-btn{width:72px;height:72px;border-radius:50%;border:4px solid #fff;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;padding:0}.pp-capture-btn:hover{border-color:#10b981}.pp-capture-btn:active{transform:scale(.92)}.pp-capture-ring{width:56px;height:56px;border-radius:50%;background:#fff;transition:background .15s}.pp-capture-btn:hover .pp-capture-ring{background:#10b981}@media(max-width:840px){.pp-editor-main{grid-template-columns:1fr;gap:20px}.pp-controls-panel{order:2}.pp-crop-area{order:1}.pp-crop-wrapper .ReactCrop__child-wrapper,.pp-crop-wrapper .ReactCrop__child-wrapper img{max-height:340px!important}}@media(max-width:480px){.pp-controls-panel{padding:14px}.pp-crop-wrapper .ReactCrop__child-wrapper,.pp-crop-wrapper .ReactCrop__child-wrapper img{max-height:280px!important}.pp-swatch{width:32px;height:32px}.pp-sheet-controls{flex-direction:column;align-items:stretch}.pp-sheet-section{padding:14px}.pp-sheet-preview-canvas{max-height:200px}}
