.redact-editor{--redact-stage-height:clamp(320px, 38vw, 540px);grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:24px;display:grid}.redact-workspace{min-width:0}.redact-preview-panel{overflow:hidden}.redact-toolbar h2{font-size:14px}.redact-history-actions{align-items:center;gap:4px;display:flex}.redact-stage{height:var(--redact-stage-height);background:var(--preview-background);justify-content:center;align-items:center;padding:24px;display:flex;position:relative;overflow:hidden}.redact-empty{color:var(--text-tertiary);text-align:center;justify-items:center;gap:12px;font-size:13px;display:grid}.redact-image-wrap{width:fit-content;max-width:100%;line-height:0;position:relative}#redact-canvas{max-width:100%;max-height:calc(var(--redact-stage-height) - 48px);background-color:var(--surface-primary);width:auto;height:auto;display:block;box-shadow:0 8px 24px #1f29372b}.redact-overlay{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;position:absolute;inset:0}.redact-overlay:focus-visible{outline-offset:6px}.redact-region{pointer-events:none;position:absolute}.redact-region.selected{z-index:2}.redact-region-hit{width:100%;height:100%;box-shadow:none;pointer-events:auto;cursor:move;background:0 0;border:0;border-radius:0;padding:0;position:absolute;inset:0}.selected>.redact-region-hit{border:2px solid var(--action-primary);box-shadow:0 0 0 1px #ffffffb3}.redact-resize-handle{pointer-events:auto;touch-action:none;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.redact-resize-handle:after{content:"";background:var(--action-primary);border:2px solid #fff;border-radius:3px;width:12px;height:12px;box-shadow:0 1px 4px #00000040}.redact-resize-handle[data-resize-corner=nw]{cursor:nwse-resize;top:0;left:0}.redact-resize-handle[data-resize-corner=ne]{cursor:nesw-resize;top:0;left:100%}.redact-resize-handle[data-resize-corner=sw]{cursor:nesw-resize;top:100%;left:0}.redact-resize-handle[data-resize-corner=se]{cursor:nwse-resize;top:100%;left:100%}.redact-loading{z-index:5;background:var(--glass-surface-strong);backdrop-filter:blur(8px);color:var(--text-secondary);place-items:center;font-size:13px;display:grid;position:absolute;inset:0}.redact-preview-panel>.preview-caption{min-height:40px}#redact-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#redact-dimensions{flex-shrink:0}.redact-instructions{color:var(--text-secondary);margin-top:12px;font-size:12px;line-height:1.7}#redact-error{overflow-wrap:anywhere}.redact-list-section{border-top:0;padding-top:4px}.redact-list-section>.button{width:100%}.redact-region-list{scrollbar-width:thin;gap:6px;max-height:230px;margin-top:12px;padding:2px;display:grid;overflow-y:auto}.redact-list-item{border:1px solid var(--border-subtle);text-align:left;background:0 0;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:8px 10px;display:flex}.redact-list-item>span{white-space:nowrap;font-size:12px;font-weight:620}.redact-list-item>small{color:var(--text-secondary);text-align:right;font-size:10px}.redact-list-item[aria-pressed=true]{background:var(--surface-selected);border-color:var(--action-primary)}#redact-list-empty{margin-top:12px;margin-bottom:0}.redact-settings .control-heading{min-height:30px}#redact-selection-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#redact-deselect{min-height:30px;padding:4px 6px;font-size:11px}.redact-color-field{color:var(--text-secondary);align-items:center;gap:9px;margin-top:12px;font-size:12px;display:flex}.redact-color-field output{font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}.redact-block-field,.redact-blur-field{margin-top:14px;margin-bottom:0}.redact-effect-hint{margin:12px 0 0}.redact-coordinates{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.redact-coordinates .field{min-width:0}.redact-coordinates label{font-size:11px}.redact-delete{width:100%;color:var(--danger);margin-top:12px}.redact-settings .export-section .control-help{margin-top:10px;margin-bottom:0}@media (width<=1000px){.redact-editor{grid-template-columns:minmax(0,1fr) 290px;gap:18px}}@media (width<=820px){.redact-editor{--redact-stage-height:340px;grid-template-columns:minmax(0,1fr);gap:18px}.redact-history-actions>.button{width:44px;height:44px;min-height:44px}.redact-resize-handle{width:44px;height:44px}.redact-resize-handle:after{width:16px;height:16px}.redact-color-field input{width:44px;height:44px}.redact-list-item{min-height:44px}#redact-deselect{min-height:36px}}
