.resize-editor{width:100%;min-height:0;display:flex;flex-direction:column;background:#1a1a1a;color:#ffffff;box-sizing:border-box}.resize-editor.is-editor-workspace{height:100%;min-height:0;overflow:hidden;font-size:17px}.crop-toolbar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:10px 20px;border-bottom:1px solid #333;background:#1f1f1f;flex-shrink:0}.crop-toolbar .download-button{margin:0}.resize-editor .editor-content{display:flex;flex:1;min-height:0;overflow:hidden}@media (max-width:768px){.resize-editor .editor-content{flex-direction:column}.resize-editor.is-editor-workspace{height:auto;min-height:calc(100dvh - var(--header-height));overflow:auto}.resize-editor .editor-left--tabbed,.resize-editor.is-editor-workspace .editor-left{order:2;width:100%;min-width:0;max-width:none;max-height:none;flex-shrink:0;border-right:none;border-bottom:none}.resize-editor.is-editor-workspace .editor-tab-panel{max-height:none;overflow-y:visible}.resize-editor .editor-tabs,.resize-editor.is-editor-workspace .editor-tabs{width:100%}.resize-editor.is-editor-workspace .editor-content{overflow:visible}.resize-editor .editor-right,.resize-editor .editor-right--workspace{order:1;width:100%;max-width:none;flex:0 0 auto;min-height:0;padding:12px 16px 16px;align-items:center;overflow:visible;border-bottom:1px solid #333;box-sizing:border-box}.crop-preview-wrapper--workspace{width:100%;max-width:100%;min-height:55vh;padding:0;align-items:center;justify-content:center;touch-action:pan-y;overflow:visible;box-sizing:border-box}.crop-preview-wrapper--workspace .crop-preview-scaler{max-width:100%;overflow:visible;margin:0 auto}.crop-preview-wrapper--workspace .crop-export-size-hint{padding:0 0 8px;margin-bottom:0}.crop-preview-wrapper--workspace:has(.is-upload-target){min-height:60vh}.crop-preview-wrapper--workspace .crop-preview{touch-action:pan-y;cursor:default}.crop-preview-wrapper--workspace .crop-preview.is-upload-target{border-radius:8px}.crop-toolbar{padding:8px 12px;gap:8px}.crop-toolbar .video-controls{flex-wrap:wrap;justify-content:center}.crop-toolbar .change-image-button,.crop-toolbar .download-button,.crop-toolbar .video-controls button{min-height:44px;padding:10px 14px;font-size:14px}.resize-editor.is-editor-workspace .preview-placeholder,.resize-editor.is-editor-workspace .preview-placeholder p{font-size:16px;padding:16px}.resize-editor.is-editor-workspace .preview-placeholder-hint{font-size:14px}.preset-group-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.preset-group-tab{width:100%;text-align:center;padding:10px 8px}}.resize-editor .editor-left{width:400px;min-width:400px;max-width:400px;padding:20px;border-right:1px solid #333;display:flex;flex-direction:column;gap:20px;background:#1a1a1a;min-height:0}.resize-editor .editor-left--tabbed{padding:0;gap:0;overflow:hidden;display:flex;flex-direction:column}.editor-tabs{display:flex;flex-shrink:0;border-bottom:1px solid #333;background:#252525}.editor-tab{flex:1;padding:14px 10px;border:none;border-bottom:2px solid transparent;background:transparent;color:#999;font-size:15px;font-weight:600;cursor:pointer;transition:color .15s,border-color .15s,background .15s}.editor-tab:hover{color:#ddd;background:rgba(255,255,255,.03)}.editor-tab.is-active{color:#f59e0b;border-bottom-color:#f59e0b;background:#1a1a1a}.editor-tab-panel{flex:1;min-height:0;overflow:hidden;padding:16px 16px 20px;display:flex;flex-direction:column;box-sizing:border-box}.editor-left--tabbed .crop-size-section--tabbed,.editor-left--tabbed .settings-section,.editor-left--tabbed .upload-section{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;margin:0;overflow:hidden}.editor-left--tabbed .settings-section--tabbed{gap:10px}.size-tab-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding-right:4px}.dimension-inputs--footer{flex-shrink:0;padding-top:12px;margin-top:auto;border-top:1px solid #333;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.dimension-inputs--footer label{min-width:0}.dimension-inputs--footer input{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:8px 6px}.editor-left--tabbed .preset-section-hint{flex-shrink:0;margin-bottom:0}.editor-left--tabbed .error-message{flex-shrink:0;margin:0 16px 16px}.preset-group-tabs{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0}.preset-group-tab{padding:7px 11px;border-radius:999px;border:1px solid #444;background:#1f1f1f;color:#aaa;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.preset-group-tab:hover{border-color:#666;color:#ddd}.preset-group-tab.is-active{border-color:#f59e0b;background:rgba(245,158,11,.12);color:#f59e0b}.preset-grid--tabbed{flex-shrink:0}.upload-section--compact{flex:1;min-height:0}.drop-zone--compact{flex:1;min-height:120px;max-height:220px}.crop-size-section--tabbed{justify-content:center}.crop-size-section--tabbed .center-button{margin-top:4px}.adjust-hint{margin:8px 0 0;font-size:14px;color:#888;line-height:1.4}.resize-editor .editor-right{flex:1;padding:20px;display:flex;flex-direction:column;align-items:center;gap:16px;background:#0f0f0f;min-height:0;overflow:hidden}.resize-editor .editor-right--workspace{padding:12px 16px 16px;gap:0}.dimension-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dimension-inputs label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#ccc}.dimension-inputs input{padding:8px;border-radius:4px;border:1px solid #555;background:#1f1f1f;color:#fff}.center-button{margin-top:12px;padding:10px 12px;border-radius:6px;border:none;background:#f59e0b;color:#fff;cursor:pointer}.crop-size-section{margin-top:10px}.crop-size-section h2{font-size:18px;margin-bottom:10px;color:#ffffff}.crop-size-label{display:flex;flex-direction:column;gap:8px;color:#ccc;font-size:14px}.crop-size-label input[type=range]{width:100%;accent-color:#f59e0b}.preset-section-hint{margin:0 0 12px;font-size:13px;color:#f59e0b}.preset-groups{display:flex;flex-direction:column;gap:14px;margin-bottom:16px;max-height:320px;overflow-y:auto;padding-right:4px}.preset-group-label{margin:0 0 8px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#888}.preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.preset-button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;border-radius:6px;border:1px solid #444;background:#1f1f1f;color:#eee;cursor:pointer;text-align:left;transition:border-color .15s,background .15s}.preset-button:hover{border-color:#777;background:#262626}.preset-button.is-active{border-color:#f59e0b;background:rgba(245,158,11,.12)}.preset-button-label{font-size:13px;font-weight:600;line-height:1.2}.preset-button-size{font-size:11px;color:#999}.preset-button.is-active .preset-button-size{color:#d4a056}.crop-preview-scaler{position:relative;flex-shrink:0;overflow:hidden}.crop-preview-scaler .crop-preview{position:absolute;top:0;left:0;transform-origin:top left;box-sizing:border-box}.crop-preview{position:relative;box-sizing:border-box;background:#000;border-radius:8px;overflow:hidden;border:2px solid #f59e0b;cursor:grab;touch-action:none;transform-origin:center center;flex-shrink:0}.crop-preview video{position:absolute;top:0;left:0;user-select:none;pointer-events:none;z-index:1}.crop-preview-wrapper{width:100%;height:80vh;max-height:80vh;display:flex;align-items:center;justify-content:center;min-height:0}.crop-preview-wrapper--workspace{flex:1;width:100%;height:auto;max-height:none;flex-direction:column;align-items:center;justify-content:center;padding:8px;box-sizing:border-box}.crop-export-size-hint{flex-shrink:0;margin:0 0 10px;font-size:14px;color:#9aa0a6;text-align:center}.crop-preview-wrapper--workspace .crop-preview-scaler{flex-shrink:0}.crop-preview-wrapper.is-drag-over .crop-preview.is-upload-target{border-color:#fbbf24;box-shadow:0 0 0 2px rgba(245,158,11,.25)}.crop-preview.is-upload-target{cursor:pointer}.preview-header{width:100%;max-width:720px;display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-header h2{margin:0}.change-image-button{padding:10px 14px;border-radius:6px;border:1px solid #555;background:#1f1f1f;color:#ddd;cursor:pointer;font-size:15px}.change-image-button:hover{border-color:#f59e0b;color:#fff}.preview-placeholder.is-drop-zone{flex-direction:column;gap:8px;cursor:pointer}.preview-placeholder-hint{margin:0;font-size:15px;color:#888}.crop-stage{position:absolute;top:0;left:0;pointer-events:none;width:100%;height:100%}.crop-preview:active{cursor:grabbing}.crop-border{position:absolute;inset:0;border:2px dashed rgba(255,255,255,.35);pointer-events:none}.preview-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#aaa;padding:20px;text-align:center;font-size:17px;line-height:1.45}.preview-hint{color:#aaa;font-size:14px;text-align:center}.video-controls{display:flex;gap:10px}.video-controls button{padding:10px 16px;border-radius:6px;border:none;background:#f59e0b;color:#fff;cursor:pointer;font-weight:600}.video-controls button:hover{background:#d97706}.download-button{padding:11px 20px;border-radius:6px;border:none;background:#2196F3;color:#fff;cursor:pointer;font-weight:600;font-size:15px}.download-button:disabled{background:#555;cursor:not-allowed}.crop-toolbar .video-controls{display:flex;gap:10px}.crop-toolbar .video-controls button{padding:10px 16px;border-radius:6px;border:none;background:#f59e0b;color:#fff;cursor:pointer;font-weight:600;font-size:15px}.crop-toolbar .video-controls button:hover{background:#d97706}.resize-editor .drop-zone{border:2px dashed #555;border-radius:8px;padding:20px;text-align:center;cursor:pointer;transition:all .3s;background:#1f1f1f;min-height:150px;display:flex;align-items:center;justify-content:center}.resize-editor .drop-zone:hover{border-color:#f59e0b;background:#252525}.resize-editor .preview-image,.resize-editor .preview-video{max-width:100%;max-height:200px;border-radius:4px}.checkbox-row{margin-top:10px;display:flex;align-items:center;gap:10px;color:#9aa0a6;font-size:.9rem}.crop-background{position:absolute;top:0;left:0;z-index:0}.crop-background.is-blurred{filter:blur(12px);transform:scale(1.05)}.resize-editor.is-editor-workspace .editor-tab{font-size:16px;padding:15px 10px}.resize-editor.is-editor-workspace .editor-tab-panel{padding:18px 18px 24px}.resize-editor.is-editor-workspace .preset-section-hint{font-size:15px}.resize-editor.is-editor-workspace .preset-group-tab{font-size:13px;padding:8px 12px}.resize-editor.is-editor-workspace .preset-button-label{font-size:15px}.resize-editor.is-editor-workspace .preset-button-size{font-size:13px}.resize-editor.is-editor-workspace .preset-button{padding:10px 12px}.resize-editor.is-editor-workspace .dimension-inputs label{font-size:15px}.resize-editor.is-editor-workspace .dimension-inputs input{padding:8px 6px;font-size:15px}.resize-editor.is-editor-workspace .dimension-inputs--footer input{max-width:118px}.resize-editor.is-editor-workspace .crop-size-label{font-size:16px}.resize-editor.is-editor-workspace .center-button{padding:12px 14px;font-size:16px}.resize-editor.is-editor-workspace .checkbox-row{font-size:15px}.resize-editor.is-editor-workspace .drop-zone-content p{font-size:16px}.resize-editor.is-editor-workspace .adjust-hint{font-size:15px}.resize-editor.is-editor-workspace .preview-placeholder,.resize-editor.is-editor-workspace .preview-placeholder p{font-size:18px}.resize-editor.is-editor-workspace .change-image-button,.resize-editor.is-editor-workspace .download-button,.resize-editor.is-editor-workspace .preview-placeholder-hint{font-size:16px}.resize-editor.is-editor-workspace .crop-export-size-hint{font-size:15px}