.image-editor{gap:12px;display:grid}.image-editor__hint{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.image-editor__stage{background:#14171c;border-radius:10px;place-items:center;min-height:100px;padding:12px;display:grid}.image-editor__surface{touch-action:none;-webkit-user-select:none;user-select:none;max-width:100%;line-height:0;position:relative;overflow:hidden}.image-editor__surface>img{object-fit:contain;width:100%;max-width:100%;height:auto;display:block}.image-editor__selection{position:absolute;box-shadow:0 0 0 9999px #0009}.image-editor__move{cursor:move;touch-action:none;background:0 0;border:2px solid #fff;border-radius:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.image-editor__move:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000 calc(33.333% - .5px),#fff6 33.333%,#0000 calc(33.333% + .5px) calc(66.666% - .5px),#fff6 66.666%,#0000 calc(66.666% + .5px)),linear-gradient(#0000 calc(33.333% - .5px),#fff6 33.333%,#0000 calc(33.333% + .5px) calc(66.666% - .5px),#fff6 66.666%,#0000 calc(66.666% + .5px));position:absolute;inset:0}.image-editor__handle{touch-action:none;background:0 0;border:0;border-radius:0;width:28px;height:28px;padding:0;position:absolute}.image-editor__handle:after{content:"";background:#fff;border:1px solid #283241;position:absolute;inset:9px;box-shadow:0 1px 4px #0008}.image-editor__handle--nw{cursor:nwse-resize;top:0;left:0}.image-editor__handle--n{cursor:ns-resize;top:0;left:calc(50% - 14px)}.image-editor__handle--ne{cursor:nesw-resize;top:0;right:0}.image-editor__handle--e{cursor:ew-resize;top:calc(50% - 14px);right:0}.image-editor__handle--se{cursor:nwse-resize;bottom:0;right:0}.image-editor__handle--s{cursor:ns-resize;bottom:0;left:calc(50% - 14px)}.image-editor__handle--sw{cursor:nesw-resize;bottom:0;left:0}.image-editor__handle--w{cursor:ew-resize;top:calc(50% - 14px);left:0}.image-editor__move:focus-visible,.image-editor__handle:focus-visible{outline-offset:-3px;outline:2px solid #69caff}.image-editor__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.image-editor__toolbar output{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.file-drop{gap:10px;min-width:0;display:grid}.file-drop-tools{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.file-drop-tools>.btn{flex-shrink:0}.file-drop-tools>small{flex:240px;min-width:0}
