.pop{gap:.5rem;min-width:0;display:grid}.pop-stage{aspect-ratio:1/1.414;background:#fff;width:calc(100% - 16px);margin:8px auto;position:relative;box-shadow:0 1px 4px #1d1a2a47}.pop[data-tone=crop] .pop-stage{overflow:hidden}.pop[data-pop-state=empty] .pop-stage{display:none}.pop-page{-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.pop[data-pop-state=loading] .pop-page{opacity:.4}.pop-box{box-sizing:border-box;border:2px dashed var(--ink);cursor:move;touch-action:none;background:#ffc5302e;position:absolute}.pop:not([data-pop-state=ready]) .pop-box{display:none}.pop-box:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.pop[data-dragging] .pop-box{border-style:solid}.pop[data-tone=crop] .pop-box{background:0 0;box-shadow:0 0 0 100vmax #1d1a2a73}.pop[data-tone=redact] .pop-box{background:#1d1a2ad9;border-style:solid}.pop-content{pointer-events:none;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.pop-content>img{object-fit:contain;width:100%;height:100%}.pop-handle{border:var(--rule);background:var(--sun);touch-action:none;border-radius:3px;width:14px;height:14px;position:absolute}.pop-handle:before{content:"";position:absolute;inset:-16px}.pop-handle[data-handle=nw]{cursor:nwse-resize;top:-8px;left:-8px}.pop-handle[data-handle=ne]{cursor:nesw-resize;top:-8px;right:-8px}.pop-handle[data-handle=sw]{cursor:nesw-resize;bottom:-8px;left:-8px}.pop-handle[data-handle=se]{cursor:nwse-resize;bottom:-8px;right:-8px}.pop-readout{color:var(--ink-2);font-variant-numeric:tabular-nums;font-size:.9375rem}.pop[data-pop-state=empty] .pop-readout,.pop[data-pop-state=empty] .pop-hint{display:none}.pop-hint{color:var(--ink-2);font-size:.9375rem}
