.processing-editor-overlay:has(.processing-editor-card[data-erp-redesign="1"]){z-index:10020;padding:10px;background:rgba(23,30,28,.52);backdrop-filter:blur(6px)}
.processing-editor-card[data-erp-redesign="1"]{width:min(1880px,calc(100vw - 28px))!important;max-height:calc(100dvh - 20px);border:1px solid rgba(255,255,255,.66);border-radius:13px;background:#fff;box-shadow:0 28px 80px rgba(20,31,27,.28);color:#252c29;overflow:hidden}
.processing-editor-card[data-erp-redesign="1"] .processing-editor-head{position:relative;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:14px;padding:20px 30px 18px;border-bottom:1px solid #e1e6e3;background:#fff}
.processing-editor-card[data-erp-redesign="1"] .per-title-icon{display:grid;grid-row:1/3;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--store-theme-faint);color:var(--store-theme)}.processing-editor-card[data-erp-redesign="1"] .per-title-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.processing-editor-card[data-erp-redesign="1"] .processing-editor-head small{display:inline-flex!important;grid-column:2;grid-row:1;width:max-content;margin-left:108px;padding:4px 9px;border-radius:6px;background:var(--store-theme-faint);color:var(--store-theme);font-size:12px;font-weight:750;letter-spacing:0}
.processing-editor-card[data-erp-redesign="1"] .processing-editor-head h2{grid-column:2;grid-row:1;margin:0;font-size:22px;line-height:30px}
.processing-editor-card[data-erp-redesign="1"] .processing-editor-head p{grid-column:2;grid-row:2;margin:5px 0 0;color:#222a27;font-size:24px;font-weight:800}
.processing-editor-card[data-erp-redesign="1"] .per-head-description{grid-column:2;grid-row:3;margin-top:5px;color:#77817d;font-size:12px}
.processing-editor-card[data-erp-redesign="1"] .processing-editor-close{position:absolute;right:25px;top:20px;width:38px;height:38px;border:0;border-radius:8px;background:#f2f4f3;color:#4d5652;font-size:25px}
.processing-editor-card[data-erp-redesign="1"] .per-smart-processing{position:absolute;right:78px;top:20px;height:38px;padding:0 18px;border:1px solid var(--store-theme,#155c49);border-radius:8px;background:var(--store-theme,#155c49);color:#fff;font-weight:750;box-shadow:0 5px 14px color-mix(in srgb,var(--store-theme,#155c49) 20%,transparent)}
.processing-editor-card[data-erp-redesign="1"] .processing-rate-context{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:18px;width:min(820px,calc(100% - 20px));margin:14px 0 0;padding:13px 15px;border:1px solid var(--store-theme-border);border-radius:9px;background:linear-gradient(90deg,var(--store-theme-faint),#fff);color:#4d5954;box-sizing:border-box}
.processing-editor-card[data-erp-redesign="1"] .processing-rate-context>div{display:flex;align-items:center;gap:18px}.processing-editor-card[data-erp-redesign="1"] .processing-rate-context b{color:var(--store-theme);font-size:14px}.processing-editor-card[data-erp-redesign="1"] .processing-rate-context em{color:#c7780d}.processing-editor-card[data-erp-redesign="1"] .processing-rate-context label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px}.processing-editor-card[data-erp-redesign="1"] .processing-rate-context input{height:42px;border-color:var(--store-theme-border);border-radius:7px}
.processing-editor-card[data-erp-redesign="1"] .per-quantity-card{display:grid;grid-template-columns:210px minmax(420px,1fr) 340px;align-items:center;gap:22px;margin:18px 30px;padding:16px 18px;border:1px solid #dfe5e2;border-radius:10px;background:#fff}
.processing-editor-card[data-erp-redesign="1"] .processing-order-total{display:grid;grid-template-columns:1fr auto;align-items:end;gap:5px;margin:0;padding:0 28px 0 0;border:0;border-right:1px solid #e2e7e4;border-radius:0;background:#fff;text-align:center}.processing-editor-card[data-erp-redesign="1"] .processing-order-total span{grid-column:1/-1;color:#5e6864;font-size:12px}.processing-editor-card[data-erp-redesign="1"] .processing-order-total strong{justify-self:end;color:var(--store-theme);font-size:30px}.processing-editor-card[data-erp-redesign="1"] .processing-order-total em{justify-self:start;padding-bottom:5px;color:#5f6965;font-style:normal}
.processing-editor-card[data-erp-redesign="1"] .processing-qty-pair{display:grid;grid-template-columns:1fr 22px 1fr 80px;align-items:end;gap:12px;padding:0;border:0;background:#fff}.processing-editor-card[data-erp-redesign="1"] .processing-qty-pair label span{margin-bottom:7px;font-size:12px}.processing-editor-card[data-erp-redesign="1"] .processing-qty-pair input{height:46px;border-radius:8px;font-size:18px}.processing-editor-card[data-erp-redesign="1"] .processing-qty-pair>div{padding-bottom:13px;color:#343c39;text-align:center}
.processing-editor-card[data-erp-redesign="1"] .per-quantity-hint{position:static;display:grid;width:auto;height:auto;gap:5px;padding:13px 15px;border-radius:8px;background:var(--store-theme-faint);color:var(--store-theme);font-size:12px;transform:none;box-shadow:none}.processing-editor-card[data-erp-redesign="1"] .per-quantity-hint span{color:#7b8581}
.processing-editor-card[data-erp-redesign="1"] .per-operations-card{margin:0 24px;border:1px solid #dfe5e2;border-radius:10px;background:#fff;overflow:hidden}.processing-editor-card[data-erp-redesign="1"] .processing-operations-head{padding:16px 16px 13px}.processing-editor-card[data-erp-redesign="1"] .processing-operations-head h3{font-size:18px}.processing-editor-card[data-erp-redesign="1"] .processing-operations-head p{font-size:12px}.processing-editor-card[data-erp-redesign="1"] .add-processing-operation{height:42px;border-color:var(--store-theme-border)!important;color:var(--store-theme)!important}
.processing-editor-card[data-erp-redesign="1"] .per-table-head,.processing-editor-card[data-erp-redesign="1"] .processing-operation-row{display:grid;grid-template-columns:44px minmax(130px,1fr) minmax(180px,1.45fr) 125px 76px 145px 120px 105px 112px 94px;gap:10px;width:100%;min-width:1244px;box-sizing:border-box}
.processing-editor-card[data-erp-redesign="1"] .per-table-head{align-items:center;margin:0;padding:12px 14px;border-top:1px solid #e0e6e3;border-bottom:1px solid #e0e6e3;background:#f7f9f8;color:#58635e;font-size:11px;font-weight:700}.processing-editor-card[data-erp-redesign="1"] .per-table-head span{text-align:left}.processing-editor-card[data-erp-redesign="1"] .per-table-head span:first-child,.processing-editor-card[data-erp-redesign="1"] .per-table-head span:nth-last-child(-n+3){text-align:center}
.processing-editor-card[data-erp-redesign="1"] .processing-operations{min-height:116px;margin:0;padding:0;border:0;overflow:auto}.processing-editor-card[data-erp-redesign="1"] .processing-operation-row{position:relative;align-items:start;margin:0;padding:15px 14px;border:0;border-bottom:1px solid #e5e9e7;border-radius:0;background:#fff}.processing-editor-card[data-erp-redesign="1"] .processing-operation-row:last-child{border-bottom:0}.processing-editor-card[data-erp-redesign="1"] .processing-operation-row.invalid{background:#fff8f0}
.processing-editor-card[data-erp-redesign="1"] .op-index{grid-column:1;grid-row:1;align-self:center;background:var(--store-theme-faint);color:var(--store-theme)}.processing-editor-card[data-erp-redesign="1"] .per-field-method{grid-column:2;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-field-spec{grid-column:3;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-field-edge{grid-column:4;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-field-qty{grid-column:5;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-field-length{grid-column:6;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-field-price{grid-column:7;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-operation-measure{grid-column:8;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-operation-fee{grid-column:9;grid-row:1}.processing-editor-card[data-erp-redesign="1"] .per-operation-actions{grid-column:10;grid-row:1}
.processing-editor-card[data-erp-redesign="1"] .per-operation-field{display:block;min-width:0}.processing-editor-card[data-erp-redesign="1"] .per-operation-field>span{display:none}.processing-editor-card[data-erp-redesign="1"] .per-operation-field input,.processing-editor-card[data-erp-redesign="1"] .per-operation-field select{width:100%;height:42px;padding:0 9px;border:1px solid #d8e0dc;border-radius:7px;background:#fff;color:#29312e;font-size:12px;box-sizing:border-box}.processing-editor-card[data-erp-redesign="1"] .per-operation-field input:focus,.processing-editor-card[data-erp-redesign="1"] .per-operation-field select:focus{border-color:var(--store-theme);outline:0;box-shadow:0 0 0 3px var(--store-theme-soft)}
.processing-editor-card[data-erp-redesign="1"] .per-operation-field small{display:block;min-height:16px;margin-top:5px;overflow:hidden;color:#c7780d;font-size:10px;line-height:1.35}.processing-editor-card[data-erp-redesign="1"] .per-field-price .op-rate-status{color:var(--store-theme)}.processing-editor-card[data-erp-redesign="1"] .per-field-price .op-rate-status.missing{color:#c7780d}.processing-editor-card[data-erp-redesign="1"] .per-operation-result{align-self:center;text-align:center}.processing-editor-card[data-erp-redesign="1"] .per-operation-result b{color:var(--store-theme);font-size:15px}.processing-editor-card[data-erp-redesign="1"] .per-operation-result span{margin-left:4px;color:#626c68;font-size:11px}.processing-editor-card[data-erp-redesign="1"] .op-total{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.processing-editor-card[data-erp-redesign="1"] .per-operation-actions{display:flex;align-self:center;gap:8px}.processing-editor-card[data-erp-redesign="1"] .op-remove,.processing-editor-card[data-erp-redesign="1"] .per-operation-drag{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:8px;background:#fff}.processing-editor-card[data-erp-redesign="1"] .op-remove{border:1px solid #efb9b4;color:#c93630;font-size:0}.processing-editor-card[data-erp-redesign="1"] .op-remove:after{content:'删除';font-size:12px;font-weight:750}.processing-editor-card[data-erp-redesign="1"] .per-operation-drag{border:1px solid #d5deda;color:#59645f;font-size:19px;cursor:grab}.processing-editor-card[data-erp-redesign="1"] .processing-operation-row.is-dragging{opacity:.62;box-shadow:0 0 0 2px var(--store-theme-border)}
.processing-editor-card[data-erp-redesign="1"] .op-cutting-preview{grid-column:2/10;grid-row:2;margin-top:2px}.processing-editor-card[data-erp-redesign="1"] .op-cutting-preview:empty{display:none}.processing-editor-card[data-erp-redesign="1"] .cutting-preview{margin:0;padding:8px 10px;border-color:var(--store-theme-border);background:var(--store-theme-faint)}
.processing-editor-card[data-erp-redesign="1"] .per-auto-hint{margin:9px 14px 14px;padding:10px 13px;border:1px solid var(--store-theme-border);border-radius:7px;background:var(--store-theme-faint);color:var(--store-theme);font-size:11px}
.processing-editor-card[data-erp-redesign="1"] .per-check-source{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%)}.processing-editor-card[data-erp-redesign="1"] .per-summary{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:16px;margin:16px 30px;padding:16px 18px;border-radius:9px;background:linear-gradient(90deg,#f8faf9,var(--store-theme-faint))}.processing-editor-card[data-erp-redesign="1"] .per-summary h3{margin:0;font-size:16px}.processing-editor-card[data-erp-redesign="1"] .per-summary>div{display:grid;grid-template-columns:repeat(5,1fr) 1.25fr}.processing-editor-card[data-erp-redesign="1"] .per-summary span{position:relative;padding:0 20px;border-left:1px solid #dfe5e2;color:#68726e;font-size:11px}.processing-editor-card[data-erp-redesign="1"] .per-summary b{display:inline-block;margin:6px 5px 0 0;color:var(--store-theme);font-size:19px}.processing-editor-card[data-erp-redesign="1"] .per-summary em{color:#6a746f;font-size:11px;font-style:normal}.processing-editor-card[data-erp-redesign="1"] .per-summary .total b{display:block;color:#d87808;font-size:25px}.processing-editor-card[data-erp-redesign="1"] .per-summary.is-invalid{box-shadow:inset 0 0 0 1px #e5a13d}
.processing-editor-card[data-erp-redesign="1"] .processing-editor-actions{min-height:68px;padding:12px 30px;border-top:1px solid #e1e6e3;background:#fff;box-shadow:none}.processing-editor-card[data-erp-redesign="1"] .processing-editor-actions button{height:44px;min-width:110px;border-radius:7px}.processing-editor-card[data-erp-redesign="1"] .processing-editor-actions .primary{min-width:150px;background:linear-gradient(135deg,var(--store-theme),var(--store-theme-light))!important}
@media(max-width:1600px){.processing-editor-card[data-erp-redesign="1"]{width:calc(100vw - 24px)!important}.processing-editor-card[data-erp-redesign="1"] .per-quantity-card{grid-template-columns:180px 1fr 300px}.processing-editor-card[data-erp-redesign="1"] .processing-operations{max-height:330px}}
@media(max-width:1366px){.processing-editor-card[data-erp-redesign="1"] .processing-editor-head{padding:14px 22px 12px}.processing-editor-card[data-erp-redesign="1"] .processing-editor-head p{font-size:20px}.processing-editor-card[data-erp-redesign="1"] .processing-rate-context{margin-top:10px}.processing-editor-card[data-erp-redesign="1"] .per-quantity-card{grid-template-columns:150px minmax(390px,1fr) 260px;margin:12px 22px;padding:12px 14px}.processing-editor-card[data-erp-redesign="1"] .per-operations-card{margin-inline:22px}.processing-editor-card[data-erp-redesign="1"] .processing-operations{max-height:275px}.processing-editor-card[data-erp-redesign="1"] .per-summary{margin:12px 22px;padding:12px 14px}.processing-editor-card[data-erp-redesign="1"] .processing-editor-actions{padding:10px 22px}}
