.px-help{margin:0;font-size:14px}.px-stage{-webkit-user-select:none;user-select:none;width:100%;margin:0 auto;position:relative}.px-stage>canvas{outline:1px solid var(--line-2);width:100%;height:auto;box-shadow:var(--shadow);background:#fff;border-radius:4px;display:block}.px-layer{touch-action:none;position:absolute;inset:0;overflow:hidden;container-type:inline-size}.px-pager{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 10px;display:flex}.px-pager-n{font-variant-numeric:tabular-nums;font-weight:600}.px-crop-wrap{padding:22px}.px-crop-layer{cursor:crosshair;overflow:visible}.px-clip{pointer-events:none;position:absolute;inset:0;overflow:hidden}.px-shade{position:absolute;box-shadow:0 0 0 4000px #0a0c1080}.px-crop{outline:2px solid var(--brand);cursor:move;touch-action:none;position:absolute}.px-crop:before,.px-crop:after{content:"";pointer-events:none;border:0 dashed #ffffffb3;position:absolute}.px-crop:before{border-left-width:1px;border-right-width:1px;inset:0 33.33%}.px-crop:after{border-top-width:1px;border-bottom-width:1px;inset:33.33% 0}.px-h{touch-action:none;z-index:2;width:44px;height:44px;margin:-22px 0 0 -22px;position:absolute}.px-h:after{content:"";background:var(--brand);box-sizing:border-box;border:3px solid #fff;border-radius:50%;width:20px;height:20px;position:absolute;top:12px;left:12px;box-shadow:0 1px 4px #0006}.px-h-nw{cursor:nwse-resize;top:0;left:0}.px-h-n{cursor:ns-resize;top:0;left:50%}.px-h-ne{cursor:nesw-resize;top:0;left:100%}.px-h-e{cursor:ew-resize;top:50%;left:100%}.px-h-se{cursor:nwse-resize;top:100%;left:100%}.px-h-s{cursor:ns-resize;top:100%;left:50%}.px-h-sw{cursor:nesw-resize;top:100%;left:0}.px-h-w{cursor:ew-resize;top:50%;left:0}.px-exact{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 12px}.px-exact summary{cursor:pointer;align-items:center;min-height:40px;font-weight:600;display:flex}.px-exact[open] summary{margin-bottom:8px}.px-margins{grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr));gap:10px;margin-top:10px;display:grid}.px-tools{flex-wrap:wrap;gap:6px;display:flex}.px-tool{border:2px solid var(--line);background:var(--surface);min-width:44px;min-height:44px;color:var(--ink);font:inherit;cursor:pointer;border-radius:12px;align-items:center;gap:6px;padding:6px 12px;font-size:14px;font-weight:600;display:inline-flex}.px-tool[aria-pressed=true]{border-color:var(--brand);background:var(--brand-soft)}.px-edit-layer.mode-select{cursor:default}.px-edit-layer.mode-text{cursor:text}.px-edit-layer.mode-rect,.px-edit-layer.mode-ink,.px-redact-layer{cursor:crosshair}.px-svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.px-obj{touch-action:none;position:absolute}.px-edit-layer.mode-select .px-obj{cursor:move}.px-edit-layer.mode-rect .px-obj,.px-edit-layer.mode-ink .px-obj{pointer-events:none}.px-edit-layer.mode-rect .px-del,.px-edit-layer.mode-ink .px-del{pointer-events:auto}.px-obj-text{margin:0;padding:0}.px-obj.is-sel{outline:2px dashed var(--focus);outline-offset:2px}.px-obj img{pointer-events:none;width:100%;height:100%;display:block}.px-del{background:var(--bad);color:#fff;cursor:pointer;z-index:3;border:3px solid #fff;border-radius:50%;width:40px;height:40px;padding:0;font-size:15px;position:absolute;top:-20px;right:-20px;box-shadow:0 1px 4px #00000059}.px-size{touch-action:none;cursor:nwse-resize;z-index:3;width:44px;height:44px;position:absolute;bottom:-22px;right:-22px}.px-size:after{content:"";background:var(--focus);box-sizing:border-box;border:3px solid #fff;border-radius:50%;width:22px;height:22px;position:absolute;top:11px;left:11px;box-shadow:0 1px 4px #00000059}.px-props{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:12px;padding:12px;display:grid}.px-color{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.px-swatch{border:3px solid var(--surface);width:40px;height:40px;box-shadow:0 0 0 1px var(--line-2);cursor:pointer;border-radius:50%;padding:0}.px-swatch[aria-checked=true]{box-shadow:0 0 0 3px var(--focus)}.px-color input[type=color]{border:1px solid var(--line-2);background:var(--surface);cursor:pointer;border-radius:10px;width:44px;height:40px;padding:0}.px-redact{touch-action:none;background:#000000d1;outline:2px solid #000;position:absolute}.px-redact.is-sel{outline:2px dashed var(--focus);outline-offset:2px}.px-redact.is-found{background:#000000b3}.px-draft{border:2px dashed var(--focus);pointer-events:none;background:#3e63dd1f;position:absolute}.px-view-layer{touch-action:auto;pointer-events:none}.px-two{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:14px;display:grid}.px-slot{flex-direction:column;gap:8px;min-width:0;display:flex}.px-slot h3{margin:0;font-size:15px}.px-hl{pointer-events:none;mix-blend-mode:multiply;border-radius:2px;position:absolute}.px-hl.del{background:#e5393561;outline:1px solid #e53935e6}.px-hl.ins{background:#2ea04361;outline:1px solid #2ea043e6}.px-changes{gap:6px;margin:0;padding:0;list-style:none;display:grid}.px-changes li{border:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere;border-radius:10px;padding:8px 10px;font-size:14px}.px-changes button{all:unset;cursor:pointer;min-height:24px;display:block}.px-changes .pg{color:var(--ink-3);margin-right:6px;font-weight:600}del.px-d{color:inherit;background:#e5393538;border-radius:3px;padding:0 2px;text-decoration:line-through}ins.px-i{color:inherit;background:#2ea0433d;border-radius:3px;padding:0 2px;text-decoration:none}.px-textdiff{white-space:pre-wrap;border:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere;border-radius:12px;max-height:360px;padding:12px;font-size:14px;line-height:1.6;overflow:auto}.px-legend{flex-wrap:wrap;gap:8px 16px;font-size:14px;display:flex}.px-legend span:before{content:"";vertical-align:-2px;border-radius:3px;width:14px;height:14px;margin-right:6px;display:inline-block}.px-legend .l-del:before{background:#e5393580}.px-legend .l-ins:before{background:#2ea04380}.px-cam{background:#000;border-radius:12px;width:100%;max-width:720px;margin:0 auto;position:relative;overflow:hidden}.px-cam video{object-fit:contain;width:100%;height:auto;max-height:70vh;display:block}.px-cam-bar{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.px-shutter{min-width:160px}.px-scan-grid{grid-template-columns:repeat(auto-fill,minmax(min(140px,44%),1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.px-scan-grid li{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:6px;display:flex}.px-scan-img{aspect-ratio:3/4;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.px-scan-img img{object-fit:contain;background:#fff;max-width:100%;max-height:100%;box-shadow:0 1px 3px #00000040}.px-scan-acts{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.px-scan-acts .icon-btn{width:40px;height:40px;font-size:16px}
