#peUploadStep{max-width:1080px;margin:0 auto;padding:0 16px}.sg-page>canvas{display:block;width:100%;height:auto}#pePreview .sg-box{z-index:4}#pePreview .sg-box.selected{z-index:6}.sg-box .sg-handle.w{right:-7px;top:50%;width:14px;height:14px;margin-top:-7px;cursor:ew-resize}.sg-box .sg-handle.h{left:50%;bottom:-7px;width:14px;height:14px;margin-left:-7px;cursor:ns-resize}#pePreview .sg-box.sg-has-img .sg-body{border:1px dashed rgba(37,99,235,.55)}#pePreview .sg-box.sg-has-img.selected .sg-body{border:1px dashed #2563eb;box-shadow:0 0 0 1px #2563eb4d}#pePreview .sg-box.sg-kind-text .sg-body{pointer-events:auto}#pePreview .sg-box.sg-kind-text .sg-text{cursor:text;outline:none}#pePreview .sg-handle.move{left:-7px;top:-7px;width:16px;height:16px;color:#2563eb;font-size:10px;line-height:12px;text-align:center;cursor:move;user-select:none;touch-action:none}.pe-line-bg{position:absolute;z-index:2;pointer-events:none;background:#fff}.pe-block{position:absolute;z-index:3;box-sizing:border-box;overflow:visible;border:1px dashed transparent;border-radius:2px;cursor:text;tab-size:4}.pe-block>.pe-text{display:block;width:100%;min-height:1em;outline:none;white-space:pre;line-height:inherit;text-align:inherit;overflow:visible;word-break:normal}.pe-block.idle>.pe-text{color:transparent;caret-color:#2563eb}.pe-block:hover{border-color:#2563eb59}.pe-block.selected{z-index:4;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb4d}.pe-block.changed:not(.selected){border-color:#e5484d73}.pe-resize{position:absolute;display:none;box-sizing:border-box;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid #2563eb;touch-action:none}.pe-block.selected .pe-resize{display:block}.pe-resize.width{right:-7px;top:50%;margin-top:-6px;cursor:ew-resize}.pe-resize.height{right:-7px;bottom:-7px;cursor:nwse-resize}.pe-move{position:absolute;display:none;box-sizing:border-box;left:-7px;top:-7px;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #2563eb;color:#2563eb;font-size:10px;line-height:12px;text-align:center;cursor:move;user-select:none;touch-action:none}.pe-block.selected .pe-move{display:block}#peReselect.file-reselect{padding:3px 12px;background:var(--bg-item-hover);border:0;color:var(--color-primary);gap:4px}#peReselect.file-reselect svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}#peReselect.file-reselect:hover{background:#2563eb2e}#pePreviewHead{flex-direction:column;align-items:stretch;gap:6px}#pePreviewHead .sg-file-line{width:100%}.pe-hist-row{display:flex;align-items:center;gap:4px}.pe-hist-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--color-text-sub);cursor:pointer;transition:background .15s,color .15s}.pe-hist-btn svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pe-hist-btn:hover:not(:disabled){background:var(--bg-item);color:var(--color-text-main)}.pe-hist-btn:active:not(:disabled){background:var(--bg-item-hover)}.pe-hist-btn:disabled{opacity:.35;cursor:default}.pe-hist-reset{width:auto;gap:4px;padding:0 9px 0 7px;font-size:12px}.pe-hist-reset svg{width:15px;height:15px}@media(max-width:720px){.pe-resize{width:16px;height:16px}.pe-resize.width{right:-9px;margin-top:-8px}.pe-resize.height{right:-9px;bottom:-9px}.pe-move{left:-9px;top:-9px;width:18px;height:18px;line-height:14px}.pe-hist-btn{width:32px;height:32px}.pe-hist-reset{width:auto;padding:0 11px 0 9px}.pe-hist-btn svg{width:20px;height:20px}.pe-hist-reset svg{width:17px;height:17px}.sg-box .sg-handle.w,.sg-box .sg-handle.h,.pe-orig-handle.w,.pe-orig-handle.h{width:18px;height:18px}.sg-box .sg-handle.w,.pe-orig-handle.w{right:-9px;margin-top:-9px}.sg-box .sg-handle.h,.pe-orig-handle.h{bottom:-9px;margin-left:-9px}}.pe-orig{position:absolute;z-index:2;box-sizing:border-box;border:1px dashed transparent;border-radius:2px;cursor:move;touch-action:none}.pe-orig:hover{border-color:#2563eb59}.pe-orig:hover,.pe-orig.dragging{z-index:4}.pe-orig.selected{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb4d}.pe-orig.dragging{cursor:grabbing}.pe-orig-bg{z-index:1;cursor:default;touch-action:auto}.pe-orig>img{display:block;width:100%;height:100%;opacity:0;pointer-events:none;-webkit-user-drag:none;transition:opacity .12s ease}.pe-orig:hover>img,.pe-orig.selected>img,.pe-orig.dragging>img,.pe-orig.changed>img{opacity:1}.pe-orig-under{position:absolute;z-index:1;opacity:0;pointer-events:none;-webkit-user-drag:none;transition:opacity .12s ease}.pe-orig:hover+.pe-orig-under,.pe-orig.selected+.pe-orig-under,.pe-orig.dragging+.pe-orig-under,.pe-orig.changed+.pe-orig-under{opacity:1}.pe-orig.changed+.pe-orig-under,.pe-orig.dragging+.pe-orig-under{mix-blend-mode:multiply}.pe-orig-under.live{opacity:1;mix-blend-mode:multiply}.pe-orig-replaced.pe-under-live{mix-blend-mode:multiply}.pe-orig-hole{position:absolute;z-index:1;pointer-events:none;background:#fff}.pe-orig-replaced-bg,.pe-orig-replaced{position:absolute;z-index:1;pointer-events:none}.pe-orig-replaced{display:block;-webkit-user-drag:none;user-select:none}.pe-orig-handle{position:absolute;right:-7px;bottom:-7px;width:14px;height:14px;box-sizing:border-box;border:2px solid #2563eb;border-radius:50%;background:#fff;cursor:nwse-resize;display:none}.pe-orig.selected .pe-orig-handle{display:block}.pe-orig-handle.w{top:50%;bottom:auto;margin-top:-7px;cursor:ew-resize}.pe-orig-handle.h{left:50%;right:auto;margin-left:-7px;cursor:ns-resize}.pe-orig-del{position:absolute;right:-11px;top:-11px;width:20px;height:20px;padding:0;line-height:18px;text-align:center;font-size:13px;border:1px solid #fff;border-radius:50%;cursor:pointer;background:#e5484d;color:#fff;display:none}.pe-orig.selected .pe-orig-del{display:block}.pe-img-edit{position:absolute;left:2px;top:2px;z-index:3;width:auto;height:22px;min-width:0;min-height:0;padding:0 7px 0 5px;box-sizing:border-box;display:none;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(201,45,50,.55);border-radius:6px;background:#e5484df2;color:#fff;font-size:11px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:0 1px 4px #7814184d}.pe-img-edit svg{display:block;width:13px;height:13px;pointer-events:none}.pe-img-edit-text{pointer-events:none}.pe-img-edit:hover{background:#d13a3f;border-color:#d13a3f;color:#fff}.pe-orig:hover>.pe-img-edit,.pe-orig.selected>.pe-img-edit,.sg-box:hover>.pe-img-edit,.sg-box.selected>.pe-img-edit{display:flex}#pePreview{padding-right:50px}.pe-page-num{position:absolute;right:-42px;top:50%;z-index:7;transform:translateY(-50%);padding:2px 8px;border-radius:999px;background:#facc1573;color:#6b4700bf;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.3px;font-variant-numeric:tabular-nums;white-space:nowrap;box-shadow:0 1px 3px #714e001a;pointer-events:none;user-select:none}.pe-recognizing{position:fixed;left:50%;top:50%;z-index:10040;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;padding:12px 22px;border-radius:999px;border:1px solid rgba(124,58,237,.12);background:#fffffff0;box-shadow:0 10px 32px #1118272e;color:#374151e6;font-size:16px;line-height:1.2;letter-spacing:.3px;white-space:nowrap;pointer-events:none;user-select:none;animation:pe-recognizing-in .18s ease-out}.pe-recognizing-mask{position:absolute;inset:0;z-index:7;border-radius:inherit;background:#0f172a38;pointer-events:none;animation:pe-recognizing-in .18s ease-out}.pe-recognizing-spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(124,58,237,.18);border-top-color:#7c3aede6;animation:pe-recognizing-spin 1s linear infinite}@keyframes pe-recognizing-in{0%{opacity:0}to{opacity:1}}@keyframes pe-recognizing-spin{to{transform:rotate(360deg)}}.pe-edit-tip{position:fixed;z-index:10040;display:block;padding:2px 5px;border:1px solid #767676;border-radius:2px;background:#ffffe1;box-shadow:1px 1px 2px #0000002e;color:#000;font-family:Segoe UI,Microsoft YaHei,Tahoma,sans-serif;font-size:12px;line-height:1.35;letter-spacing:0;white-space:nowrap;pointer-events:none;user-select:none}.pe-edit-tip[hidden]{display:none}.pe-ctx{position:fixed;z-index:10050;min-width:110px;padding:4px;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:8px;box-shadow:var(--shadow-md)}.pe-ctx[hidden],.pe-ctx button[hidden]{display:none}.pe-ctx button{display:block;width:100%;padding:7px 12px;border:0;border-radius:5px;background:none;text-align:left;font-size:13px;color:var(--color-text);cursor:pointer}.pe-ctx button:hover{background:#2563eb14}.pe-ie{z-index:10070}body.pe-ie-open #peWorkspace .sg-main:after{content:"";position:absolute;inset:0;z-index:60;border-radius:14px;background:#0f172a2e;pointer-events:none}.pe-ie-box{position:relative;display:flex;flex-direction:column;gap:8px;width:min(1760px,85vw);height:85vh;max-height:94vh;padding:14px 16px 12px;border-radius:12px;background:#fff;box-shadow:0 22px 60px -12px #0b122073}.pe-ie-embed .pe-ie-box{width:min(1800px,92vw);height:92vh;max-height:96vh;padding:10px 12px;gap:6px}.pe-ie-embed .pe-ie-hint{display:none}.pe-ie-head{display:flex;align-items:baseline;gap:12px;min-height:22px;cursor:move;user-select:none;touch-action:none}.pe-ie-head h3{margin:0;font-size:15px;color:var(--color-text-main)}.pe-ie-hint{font-size:12px;color:var(--color-text-sub)}.pe-ie-hint.error{color:#e5484d}.pe-ie-main{display:flex;flex:1 1 auto;gap:10px;min-height:0}.pe-ie-toolbar{flex:0 0 208px;width:208px;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:10px;padding:10px 12px;border-radius:8px;background:#eef5ff;overflow-y:auto}.pe-ie-hist{display:flex;align-items:center;gap:4px;min-height:28px}.pe-ie-field{display:flex;flex-direction:column;align-items:stretch;gap:4px;font-size:12px;color:var(--color-text-sub)}.pe-ie-toolbar .pe-ie-field select,.pe-ie-toolbar .pe-ie-field input[type=number]{width:100%}.pe-ie-pair{display:flex;gap:8px;align-items:flex-end}.pe-ie-pair>.pe-ie-field{flex:1 1 0;min-width:0}.pe-ie-field select,.pe-ie-field input[type=number]{height:26px;padding:0 6px;font-size:12px;color:var(--color-text-main);border:1px solid var(--color-border-light);border-radius:6px;background:#fff}.pe-ie-field input[type=number]{width:62px}.pe-ie-field input[type=color]{width:30px;height:24px;padding:0;border:1px solid var(--color-border-light);border-radius:6px;background:#fff;cursor:pointer}.pe-ie-toolbar .pe-ie-field input[type=color]{width:100%;height:26px}.pe-ie-bold{flex:0 0 40px;width:40px;height:26px;padding:0;font-size:13px;font-weight:700;color:var(--color-text-main);border:1px solid var(--color-border-light);border-radius:6px;background:#fff;cursor:pointer}.pe-ie-bold.active{color:#fff;border-color:#2563eb;background:#2563eb}.pe-ie-btn{height:26px;padding:0 12px;font-size:12px;color:var(--color-text-sub);border:1px solid var(--color-border-light);border-radius:6px;background:#fff;cursor:pointer}.pe-ie-btn:hover{color:var(--color-primary);border-color:var(--color-primary)}.pe-ie-toolbar button:disabled,.pe-ie-toolbar select:disabled,.pe-ie-toolbar input:disabled{opacity:.5;cursor:not-allowed}.pe-ie-stage{flex:1 1 auto;min-width:0;min-height:120px;overflow:auto;padding:10px;border-radius:8px;background:#f3f4f6;display:flex;justify-content:flex-start;align-items:flex-start}.pe-ie-canvas{position:relative;flex:0 0 auto;max-width:100%;margin:0 auto;line-height:0}.pe-ie-stage.pannable{cursor:grab}.pe-ie-stage.pannable.panning{cursor:grabbing;user-select:none}.pe-ie-canvas>img{display:block;max-width:100%;max-height:calc(85vh - 140px);-webkit-user-drag:none;user-select:none}.pe-ie-layer{position:absolute;inset:0;overflow:hidden}.pe-ie-region{position:absolute;z-index:1;box-sizing:border-box;border:1px dashed rgba(39,101,220,.85);background:#2765dc0f;cursor:text;touch-action:none}.pe-ie-move{position:absolute;z-index:4;display:none;box-sizing:border-box;left:-8px;top:-8px;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #2563eb;color:#2563eb;font-size:10px;line-height:12px;text-align:center;cursor:move;user-select:none;touch-action:none}.pe-ie-region.selected .pe-ie-move{display:block}.pe-ie-text{position:absolute;left:0;top:0;white-space:pre;pointer-events:none}.pe-ie-text[hidden]{display:none}.pe-ie-region:active{cursor:text}.pe-ie-hole{position:absolute;z-index:0;pointer-events:none}.pe-ie-hole[hidden]{display:none}.pe-ie-region:hover{background:#2765dc29}.pe-ie-region.changed{border-color:#16a34ae6;background:#16a34a1a}.pe-ie-region.selected{border-style:solid;border-color:#f59e0b;background:#f59e0b2e;box-shadow:0 0 0 2px #f59e0b4d}.pe-ie-region.editing,.pe-ie-region.editing:hover{background:transparent}.pe-ie-inline{position:absolute;z-index:3;box-sizing:border-box;margin:0;padding:0;border:1px solid #2563eb;outline:none;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:break-word;line-height:1.25}.pe-ie-inline[hidden]{display:none}.pe-ie-actions{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.pe-ie-zoom{grid-column:2;grid-row:1;justify-self:center;display:flex;align-items:center;gap:4px}.pe-ie-foot{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:10px}.pe-ie-zoom .pe-ie-btn{min-width:28px;padding:0 6px;font-size:13px}.pe-ie-zoom .pe-zoom-step{min-width:40px;padding:0 10px;font-size:15px;font-weight:600;color:var(--color-text-main)}.pe-ie-zoom .pe-ie-zoom-val{display:inline-flex;align-items:flex-end;justify-content:center;height:26px;min-width:52px;padding:0 4px 2px;font-size:12px;color:var(--color-text-main);font-variant-numeric:tabular-nums;border:0;background:transparent;cursor:default}.pe-ie-zoom .pe-ie-zoom-val:hover{color:var(--color-text-main);border-color:transparent}.pe-ie-zoom .pe-ie-btn:disabled{opacity:.45;cursor:not-allowed}.pe-ie-zoom .pe-ie-btn:disabled:hover{color:var(--color-text-sub);border-color:var(--color-border-light)}.pe-ie-actions .sg-btn.primary{width:auto;min-width:96px;padding:8px 22px}.pe-ie-status{grid-column:1;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--color-text-sub)}.pe-zoom{justify-content:center;padding-top:8px}#pePreview{--pe-zoom: 1}#pePreview .sg-page{width:calc(100% * var(--pe-zoom));max-width:calc(900px * var(--pe-zoom))}.pe-ie-busy{position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;background:#ffffffd1;font-size:13px;color:#374151}.pe-ie-busy[hidden]{display:none}.pe-ie-spinner{width:20px;height:20px;border:3px solid rgba(37,99,235,.2);border-top-color:#2563eb;border-radius:50%;animation:pe-ie-spin .8s linear infinite}@keyframes pe-ie-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.pe-recognizing-spin{animation:pe-recognizing-spin 1s linear infinite!important}.pe-ie-spinner{animation:pe-ie-spin .8s linear infinite!important}}@media(max-width:720px){.pe-ie-box{width:96vw;height:92vh}.pe-ie-canvas>img{max-height:calc(92vh - 260px)}.pe-ie-main{flex-direction:column}.pe-ie-toolbar{flex:0 0 auto;width:auto;flex-direction:row;flex-wrap:wrap;align-items:center;padding:8px 10px;overflow-y:visible}.pe-ie-hist{flex:1 1 100%}.pe-ie-toolbar .pe-ie-field{flex-direction:row;align-items:center;gap:5px}.pe-ie-toolbar .pe-ie-field select{width:auto}.pe-ie-toolbar .pe-ie-field input[type=number]{width:62px}.pe-ie-toolbar .pe-ie-field input[type=color]{width:30px;height:24px}.pe-ie-bold{flex:0 0 26px;width:26px}.pe-ie-btn{width:auto}.pe-ie-pair{flex:0 0 auto;align-items:center}}@media(max-width:720px){.pe-img-edit{height:26px;padding:0 8px 0 6px;border-radius:7px;font-size:12px}.pe-img-edit svg{width:15px;height:15px}.pe-ie-move{left:-10px;top:-10px;width:20px;height:20px;line-height:15px;font-size:12px}}
