.batch-workbench>[hidden],[hidden]{display:none!important}
.batch-workbench>header{padding:18px max(24px,4vw) 20px}.batch-workbench>header h1{margin:10px 0 5px;font-size:26px}
.batch-workbench main{padding-bottom:140px}.batch-workbench .setup{grid-template-columns:1fr 1.5fr;margin-bottom:10px}.setup select,.setup input[type=file]{width:100%}
.flow-steps{display:flex;align-items:center;gap:18px;padding:12px max(24px,4vw);background:#fff;border-bottom:1px solid #d7e5df;font-size:13px}.flow-steps span{display:flex;gap:7px;align-items:center;color:#7a8e88;white-space:nowrap}.flow-steps b{display:grid;place-items:center;background:#e8efec;width:25px;height:25px;border-radius:50%;font-size:12px}.flow-steps .current{font-weight:700;color:#126b56}.flow-steps .current b{background:#14715e;color:white}.flow-steps .done{color:#3b7d68}.flow-steps i{font-style:normal;color:#a3b7ae}.flow-steps small{margin-left:auto;color:#73857d}.flow-steps .connected{color:#14715e}
.flow-dock{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fffffff5;backdrop-filter:blur(10px);border-top:1px solid #bad2c7;box-shadow:0 -4px 24px #153c3610;padding:16px max(24px,4vw);display:flex;gap:22px;align-items:center;justify-content:space-between}.flow-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.flow-copy strong{font-size:16px}.flow-copy span{font-size:12px;color:#637a72;max-width:620px}.flow-actions{display:flex;gap:8px;flex-shrink:0;align-items:center}.flow-actions button{font-size:13px}.flow-actions .primary{min-width:200px;padding:13px 20px;font-weight:700;font-size:15px;box-shadow:0 3px 8px #14715e22}.flow-actions .primary:hover{background:#0f604f}
.batch-workbench .output .new-preview{height:135px}.batch-workbench .output canvas.large{max-height:130px}.batch-workbench .output{padding:10px}.batch-workbench .output.selected{padding:9px}.batch-workbench #outputs .output h3{font-size:13px}
#workflow-tools>.replace-toolbar{margin:12px 0 0}#batch-replacement .replace-count-link{display:none}#batch-replacement .replace-toolbar{border:0;padding:12px 0 0;margin:0}#batch-replacement .replace-toolbar>h2,#batch-replacement .replace-toolbar>.replace-muted{display:none}#batch-replacement #replace-open,#batch-replacement #replace-history{display:none}.export-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.batch-workbench .replace-dialog{max-height:88vh}.batch-workbench .replace-dialog header{background:#fff;padding:0;color:#203c3f}.batch-workbench .replace-pair img{max-width:100px;max-height:150px}.batch-workbench .replace-row{grid-template-columns:220px 1fr auto}.batch-workbench .replace-row .replace-pair{position:relative;padding-top:24px}.batch-workbench .replace-pair:before{content:'当前工程原图　　　　新图';position:absolute;top:0;font-size:12px;color:#657e73}.batch-workbench .replace-footer button{padding:11px 16px}.batch-workbench .replace-footer .replace-primary{font-weight:700}
.saved-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.saved-grid a{display:flex;flex-direction:column;align-items:center;gap:10px;border:1px solid #d5e4dd;border-radius:8px;padding:12px;min-width:0;text-decoration:none;color:#25574d;font-size:11px}.saved-grid img{width:100%;height:155px;object-fit:contain;background:repeating-conic-gradient(#e3e9e5 0% 25%,#fafcfb 0% 50%) 50%/16px 16px}.saved-grid span{overflow-wrap:anywhere}
@media(max-width:1050px){.flow-dock{padding:12px 24px;gap:14px}.flow-copy span{max-width:370px}.flow-actions .primary{min-width:165px;font-size:14px}.flow-steps{gap:10px}.flow-steps small{font-size:11px}}
@media(max-width:720px){.batch-workbench main{padding-bottom:170px}.flow-dock{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.flow-copy span{max-width:none}.flow-actions{display:grid;grid-template-columns:1fr 1fr 1.8fr;gap:6px}.flow-actions .primary{min-width:0;padding:10px 6px;font-size:12px}.flow-actions button{font-size:12px;padding:8px 4px}.flow-steps{gap:6px;padding:10px 12px;flex-wrap:wrap;font-size:11px}.flow-steps b{height:20px;width:20px}.flow-steps small{width:100%;margin-left:0}.batch-workbench .setup{grid-template-columns:1fr}.saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-workbench .replace-row{grid-template-columns:150px 1fr}.batch-workbench .replace-pair img{max-width:68px}.batch-workbench .replace-pair:before{font-size:10px;content:'当前原图　　　新图'}.batch-workbench .workspace aside{display:block}.batch-workbench .workspace aside canvas{max-height:240px;width:auto;margin:10px auto}}
