.editor-workspace{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);padding:22px}.editor-topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;display:flex}.editor-workspace .primary-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.editor-layout{grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:24px;display:grid}.editor-view{min-width:0;position:sticky;top:20px}.editor-empty{text-align:center;background:var(--soft);border:1px dashed var(--line);min-height:360px;color:var(--muted);border-radius:10px;place-content:center;gap:14px;display:grid}.editor-empty>span{font-size:3rem}.editor-stage{isolation:isolate;background:repeating-conic-gradient(#d3d3d3 0% 25%,#f1f1f1 0% 50%) 50%/16px 16px;border-radius:6px;max-width:100%;margin:auto;line-height:0;position:relative;overflow:hidden}.editor-stage img{object-fit:contain;width:100%;height:auto;max-height:65vh;display:block}.editor-stage[hidden],.editor-empty[hidden]{display:none}.editor-overlay{touch-action:pan-y;position:absolute;inset:0}.editor-overlay[data-mode=crop],.editor-overlay[data-mode=blur],.editor-overlay[data-mode=cover]{touch-action:none;cursor:crosshair}.editor-crop-box{cursor:move;touch-action:none;border:2px solid #fff;outline:1px solid #111;position:absolute;box-shadow:0 0 0 2000px #0007}.crop-grid{pointer-events:none;background:linear-gradient(90deg,#0000 33%,#fff7 33% 33.3%,#0000 33.3% 66.6%,#fff7 66.6% 67%,#0000 67%),linear-gradient(#0000 33%,#fff7 33% 33.3%,#0000 33.3% 66.6%,#fff7 66.6% 67%,#0000 67%);position:absolute;inset:0}.editor-handle{touch-action:none;background:#fff;border:0;border-radius:50%;width:30px;height:30px;padding:0;position:absolute;box-shadow:0 0 0 1px #111}.editor-handle.nw{top:-12px;left:-12px}.editor-handle.ne{top:-12px;right:-12px}.editor-handle.sw{bottom:-12px;left:-12px}.editor-handle.se{bottom:-12px;right:-12px}.editor-status{min-height:1.6em;color:var(--muted);margin:14px 0;font-size:.9rem}.editor-status[data-error=true]{color:var(--error,#a12828)}.editor-preview-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.editor-settings{gap:10px;display:grid}.editor-settings>details{border:1px solid var(--line);background:var(--paper);border-radius:9px}.editor-settings summary{cursor:pointer;padding:15px;font-weight:650}.editor-panel{gap:12px;padding:0 15px 16px;display:grid}.editor-panel label{font-size:.88rem;font-weight:550}.editor-panel input:not([type=range],[type=checkbox]),.editor-panel select,.editor-panel textarea{border:1px solid var(--control-border,#b9c2d6);background:var(--paper);width:100%;min-height:42px;color:var(--ink);font:inherit;border-radius:6px;padding:8px;display:block}.editor-panel input[type=color]{padding:4px}.editor-panel textarea{resize:vertical}.editor-range{gap:8px;display:grid}.editor-range>span{justify-content:space-between;gap:10px;display:flex}.editor-range output{color:var(--muted);font-variant-numeric:tabular-nums}.editor-range input{width:100%;min-height:28px;accent-color:var(--blue)}.editor-looks{grid-template-columns:1fr 1fr;gap:8px;display:grid}.editor-looks button{padding:10px 5px;font-size:.8rem}.editor-two,.editor-exact{grid-template-columns:1fr 1fr;gap:10px;display:grid}.editor-check{align-items:center;gap:8px;min-height:36px;display:flex}.editor-export{width:100%;margin-top:6px}.editor-text-list{gap:6px;padding:0;list-style:none;display:grid}.editor-text-list li{justify-content:space-between;align-items:center;gap:8px;display:flex}.editor-text-list li button:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:175px;overflow:hidden}.editor-text-target{color:#0000;touch-action:none;cursor:move;background:#0002;border:1px dashed #fff;outline:1px solid #222;min-width:44px;min-height:44px;position:absolute;transform:translate(-50%)}.editor-text-target:focus-visible{outline:3px solid var(--blue)}.editor-mask-draft{pointer-events:none;background:#0006;border:2px dashed #fff;outline:1px solid #111;position:absolute}.editor-dialog{border:1px solid var(--line);background:var(--paper);width:calc(100% - 32px);max-width:900px;max-height:90vh;color:var(--ink);border-radius:14px;padding:24px;overflow:auto}.editor-dialog::backdrop{background:#0009}.editor-dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.editor-dialog h2{font-size:1.3rem}.editor-dialog form.primary-actions{margin-top:20px}.editor-dialog .comparison-stage{max-height:65vh}.editor-view[aria-busy=true] .editor-stage{opacity:.8}@media (width<=950px){.editor-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.editor-workspace{padding:16px}}@media (width<=700px){.editor-layout{grid-template-columns:1fr}.editor-view{z-index:3;background:var(--paper);border-bottom:1px solid var(--line);padding:8px 0;position:sticky;top:0}.editor-stage img{max-height:30vh}.editor-view:has(.editor-stage[hidden]){position:relative}.editor-status{margin:6px 0;font-size:.8rem}.editor-preview-actions{gap:8px}.editor-preview-actions .button{min-height:44px;padding:9px 12px}.editor-empty{min-height:170px}.editor-topbar .primary-actions{gap:8px}.editor-topbar button{padding:9px 11px;font-size:.85rem}.editor-dialog{padding:16px}.editor-settings{gap:8px}.editor-export{min-height:48px}.editor-settings>p{margin-bottom:12px}}
