.image-editor-workspace .workbench-input,.image-editor-workspace .workbench-result{min-width:0}.image-editor-workspace button{min-height:44px}.editor-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.editor-actions button{white-space:normal;justify-content:center;padding:8px;font-size:12px}.editor-icon{justify-content:center;width:44px;min-width:44px;padding:10px}.editor-upload{text-align:center;border:1px dashed var(--color-rule);background:var(--color-surface);border-radius:12px;flex-direction:column;align-items:center;gap:12px;padding:20px 12px;display:flex}.editor-upload p{margin:0;font-size:12px;line-height:18px}.editor-upload button{white-space:normal;justify-content:center;font-size:12px}.editor-file-row{border:1px solid var(--color-rule);background:var(--color-surface);border-radius:10px;grid-template-columns:minmax(0,1fr) repeat(3,44px);align-items:center;gap:6px;min-height:106px;padding:8px;display:grid}.editor-file-row>div{min-width:0}.editor-file-row strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:20px;display:block;overflow:hidden}.editor-file-row p{overflow-wrap:anywhere;height:54px;margin:4px 0 0;font-size:12px;line-height:18px;overflow:auto;min-height:54px!important}.editor-field{flex-direction:column;gap:8px;min-width:0;margin:14px 0;display:flex}.editor-field>span{justify-content:space-between;gap:8px;font-size:13px;font-weight:600;line-height:20px;display:flex}.editor-field output{direction:ltr;font-size:12px;font-weight:400}.editor-field input{width:100%;min-width:0;min-height:44px;accent-color:var(--color-accent);background:0 0;border:0;padding:8px 0;font-size:16px}.editor-details{border-top:1px solid var(--color-rule);margin-top:12px;padding-top:8px}.editor-details summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:600;list-style:none;display:flex}.editor-details summary::-webkit-details-marker{display:none}.editor-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0;display:grid}.editor-presets button{white-space:normal;justify-content:center;padding:8px;font-size:12px;line-height:18px}.editor-presets button[aria-pressed=true],.editor-transforms button[aria-pressed=true]{background:var(--color-accent-wash);border-color:var(--color-accent);color:var(--color-accent)}.editor-transforms{grid-template-columns:minmax(0,1fr) repeat(2,44px);gap:8px;margin-top:14px;display:grid}.editor-transforms button{justify-content:center;padding:10px;font-size:13px}.editor-flip-v svg{transform:rotate(90deg)}.editor-heading{grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:44px;margin-bottom:12px;display:grid}.editor-heading h2{margin:0}.editor-stage{border:1px solid var(--color-rule);background-color:var(--color-surface);background-image:linear-gradient(45deg, var(--color-paper-3) 25%, transparent 25%), linear-gradient(-45deg, var(--color-paper-3) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--color-paper-3) 75%), linear-gradient(-45deg, transparent 75%, var(--color-paper-3) 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;border-radius:12px;justify-content:center;align-items:center;height:360px;min-height:360px;display:flex;position:relative;overflow:hidden}.editor-stage canvas{object-fit:contain;max-width:100%;max-height:100%;display:none}.image-editor-workspace[data-output=ready] .editor-stage canvas{display:block}.image-editor-workspace[data-output=ready] .editor-placeholder{display:none}.editor-placeholder{text-align:center;background:var(--color-surface);justify-content:center;align-items:center;margin:0;padding:24px;font-size:13px;display:flex;position:absolute;inset:0}.editor-sizes{overflow-wrap:anywhere;height:54px;margin:10px 0;font-size:12px;line-height:18px;overflow:auto;min-height:54px!important}.editor-feedback{grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:8px;display:grid}.editor-status{overflow-wrap:anywhere;height:100px;margin:0;font-size:13px;line-height:20px;overflow:auto;min-height:100px!important}.editor-tips{padding-inline-start:18px;font-size:13px;line-height:1.8}.image-editor-workspace [hidden]{display:none!important}.image-editor-workspace[data-has-image=true] .editor-upload{display:none}.image-editor-workspace :is(input,button,summary):focus-visible{outline:2px solid var(--color-accent);outline-offset:3px}@media (width<=767px){.editor-stage{height:280px;min-height:280px}}
