@layer component{.thkphW_ImageRedactor{gap:var(--space-4);display:grid}.thkphW_ImageRedactor .thkphW_toolbar{align-items:end;gap:var(--space-3);flex-wrap:wrap;display:flex}.thkphW_ImageRedactor .thkphW_toolbar>*{min-inline-size:min(100%,10rem)}.thkphW_ImageRedactor .thkphW_actions{align-items:center;gap:var(--space-2) var(--space-3);flex-wrap:wrap;display:flex}.thkphW_ImageRedactor .thkphW_note{color:var(--color-text-secondary);font-size:var(--font-size-sm)}.thkphW_ImageRedactor .thkphW_note[data-warning=true]{color:var(--color-text-primary)}.thkphW_ImageRedactor .thkphW_stageWrap{gap:var(--space-2);justify-items:start;display:grid}.thkphW_ImageRedactor .thkphW_stage{aspect-ratio:var(--aspect);inline-size:min(100%, calc(32rem * var(--aspect)));border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);background:repeating-conic-gradient(var(--color-bg-hover) 0 25%, var(--color-bg-raised) 0 50%) 0 0 / 1rem 1rem;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;max-inline-size:100%;position:relative;overflow:hidden}.thkphW_ImageRedactor .thkphW_stage canvas{block-size:100%;inline-size:100%;display:block}.thkphW_ImageRedactor .thkphW_region{inline-size:var(--w);block-size:var(--h);cursor:move;touch-action:none;background:0 0;border:1px dashed #ffffffb3;padding:0;position:absolute;inset-block-start:var(--y);inset-inline-start:var(--x);box-shadow:0 0 0 1px #0009}.thkphW_ImageRedactor .thkphW_region[data-selected=true]{border-style:solid;border-color:var(--color-text-primary)}.thkphW_ImageRedactor .thkphW_region:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.thkphW_ImageRedactor .thkphW_handle{border:1px solid var(--color-bg-base);background:var(--color-text-primary);block-size:.75rem;inline-size:.75rem;position:absolute;translate:-50% -50%}.thkphW_ImageRedactor .thkphW_handle[data-handle=nw]{cursor:nwse-resize;inset-block-start:0;inset-inline-start:0}.thkphW_ImageRedactor .thkphW_handle[data-handle=n]{cursor:ns-resize;inset-block-start:0;inset-inline-start:50%}.thkphW_ImageRedactor .thkphW_handle[data-handle=ne]{cursor:nesw-resize;inset-block-start:0;inset-inline-start:100%}.thkphW_ImageRedactor .thkphW_handle[data-handle=e]{cursor:ew-resize;inset-block-start:50%;inset-inline-start:100%}.thkphW_ImageRedactor .thkphW_handle[data-handle=se]{cursor:nwse-resize;inset-block-start:100%;inset-inline-start:100%}.thkphW_ImageRedactor .thkphW_handle[data-handle=s]{cursor:ns-resize;inset-block-start:100%;inset-inline-start:50%}.thkphW_ImageRedactor .thkphW_handle[data-handle=sw]{cursor:nesw-resize;inset-block-start:100%;inset-inline-start:0}.thkphW_ImageRedactor .thkphW_handle[data-handle=w]{cursor:ew-resize;inset-block-start:50%;inset-inline-start:0}.thkphW_ImageRedactor .thkphW_regions{gap:var(--space-2);display:grid}.thkphW_ImageRedactor .thkphW_regions ol{margin:0;padding:0;list-style:none;display:grid}.thkphW_ImageRedactor .thkphW_regions li{justify-content:space-between;align-items:center;gap:var(--space-2);padding-block:var(--space-1);padding-inline:var(--space-2);border-radius:var(--radius-md);font-size:var(--font-size-sm);display:flex}.thkphW_ImageRedactor .thkphW_regions li[data-selected=true]{background:var(--color-bg-hover)}}
