
.picture-batch-controls,.picture-batch{--ze-section-ink:#173f73;--ze-section-number:#b27636;--batch-panel-soft:#fff0dd;--batch-panel-line:#e6c5a3;--batch-upload-line:#ce843c;--batch-upload-fill:#fff7eb;--batch-button-line:#dcb995;--batch-button-fill:#fffaf3;--batch-accent:#ca772e;--batch-selected:#fff0dd}
#batch-canvas.mold-batch-workspace{height:100%;box-sizing:border-box;padding:24px;overflow:auto;margin:0;min-width:0}.picture-batch-controls .batch-section{background:transparent;border:0;border-radius:0;padding:0}.picture-batch-controls fieldset,#batch-canvas fieldset{border:0;padding:0;margin:0;min-width:0}.picture-batch-controls .ze-section-disclosure{border-top:0}.picture-batch-controls .ze-section-disclosure+.ze-section-disclosure{border-top:1px solid #e9dfce}.picture-batch-controls .picture-apply{display:flex;justify-content:flex-end;margin-top:12px}.picture-batch-controls #apply-selected{font-size:12px;padding:8px 14px;background:#fff0dd}.picture-batch-controls button,.picture-batch-controls select{font:inherit}.picture-batch-controls #picture-batch-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 18px}.picture-batch-controls #picture-batch-specs button{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:52px;background:#fffaf3}.picture-batch-controls #picture-batch-specs [aria-pressed=true]{background:#ffdfbb;border-color:#cb752f}.picture-batch-controls #picture-batch-specs small{font-size:11px}.picture-batch-controls input[type=range]{width:100%;accent-color:#c47c3d}.picture-batch-controls output{float:right;color:#7e715e;font-size:12px}.picture-batch-controls .lamp-check{display:flex!important;align-items:center;gap:8px}.picture-batch-controls .lamp-check input{width:18px;height:18px;accent-color:#173f73}.picture-batch-controls .hint{font-size:12px;line-height:1.6;color:#71859d}.picture-batch-controls .personal-filament-options{grid-template-columns:1fr 1fr}.picture-batch-controls [id=upload-status]:empty{display:none}
#batch-canvas .result-section{margin:0;border:0;padding:0;border-radius:0;background:transparent}#batch-results.mold-batch-grid{grid-template-columns:repeat(auto-fill,minmax(166px,1fr));gap:14px;margin:16px 0}#batch-results .mold-batch-card{overflow:hidden}#batch-results .mold-batch-card button{min-height:36px;font-size:12px;color:#173f73;background:#fff0dd;border:1px solid #dcb995;border-radius:8px;padding:7px}#batch-canvas .mold-batch-select button{min-height:38px;padding:9px 12px;font-size:12px;border:1px solid #dcb995;background:#fffaf3;border-radius:12px}#batch-canvas .mold-batch-card-top input{margin:0;accent-color:#173f73}#batch-canvas .mold-batch-card small{min-height:16px}.picture-batch-controls #batch-hanger-options input[type=number]{max-width:140px}#batch-canvas .mold-batch-empty{grid-column:1/-1}.picture-batch-controls .mold-batch-upload{width:100%;font-size:16px}.picture-batch-controls #upload-group>.hint:last-child{display:none}
@media(max-width:760px){#batch-canvas.mold-batch-workspace{padding:12px}#batch-results.mold-batch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.picture-batch-controls{padding:14px}}

#batch-editor{width:min(1180px,calc(100vw - 48px));max-width:none;height:min(780px,calc(100dvh - 64px));max-height:calc(100dvh - 32px);padding:0;border-radius:18px;overflow:hidden}#batch-editor[open]{display:flex;flex-direction:column}#batch-editor header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid #e6dcca;background:#fffaf3;flex:none}#batch-frame{border:0;width:100%;flex:1;min-height:0}#editor-error{margin:0;padding:8px 16px}#batch-works-list button{display:block;width:100%;text-align:left;margin:10px 0}

body:not(.ready) .zl-editor{visibility:hidden}#batch-error,#editor-error{color:#b84432;font-size:13px;line-height:1.6}#batch-error:empty,#editor-error:empty,#batch-progress:empty,#download-result:empty{display:none}#batch-progress,#download-result{font-size:13px;color:#6d7860}.picture-batch-controls label{display:block;margin:12px 0 8px;font-size:13px}.picture-batch-controls input[type=number]{box-sizing:border-box}#batch-canvas{max-width:none;width:100%}.zl-editor[data-editor=lamp-batch]>.zl-stage{padding:0;overflow:hidden}.zl-editor[data-editor=lamp-batch]{--zl-accent:#ca772e}#batch-download{background:#ffdfbb!important;color:#8e4a20!important;border-color:#ecc7a1!important}
@media(max-width:760px){#batch-editor{width:100vw;height:100dvh;max-height:none;margin:0;border-radius:0}}

.picture-batch-controls button.mold-batch-upload{border:2px dashed #ce843c;background:#fff7eb;padding:18px 12px}.picture-batch-controls #picture-batch-specs small{display:grid;gap:3px;white-space:nowrap}.picture-batch-controls input[type=range]{appearance:none;height:6px;min-height:6px;padding:0;border:0;border-radius:999px;background:#ead1b4}.picture-batch-controls input[type=range]::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border:3px solid #fff;border-radius:50%;background:#ca772e;box-shadow:0 1px 4px #173f7340}

/* Bookmark batch rhythm: bounded previews, consistent cards, separate selection. */
#batch-results .mold-batch-card{border-color:#e6d5c1;box-shadow:none;padding:12px;gap:9px}
#batch-results .mold-batch-card.selected{background:#fff0dd;border-color:#ca772e}
#batch-results .mold-batch-card-top{min-height:28px;gap:8px}
#batch-results .mold-batch-card-top input{width:20px;height:20px;flex:none;padding:0}
#batch-results button.mold-batch-preview{display:flex;width:100%;height:150px;min-height:150px;padding:8px;margin:0;border:1px solid #eee3d3;background:#fffdf8;border-radius:10px;overflow:hidden;align-items:center;justify-content:center;cursor:pointer}
#batch-results button.mold-batch-preview:hover{border-color:#ca772e;background:#fff9f0}
#batch-results button.mold-batch-preview svg{display:block;width:100%;height:100%;max-width:100%;max-height:100%;pointer-events:none}
#batch-results .batch-card-name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5;min-height:36px;overflow:hidden;overflow-wrap:anywhere;margin:0 4px;font-weight:600}
#batch-results .batch-card-actions{align-items:center}
#batch-results .batch-card-actions button{min-height:44px}
#batch-results .batch-card-actions [data-remove]{width:44px;min-width:44px}
#batch-canvas .mold-batch-workspace-head{align-items:center;flex-wrap:wrap}
#batch-canvas .mold-batch-workspace-head h2{color:#a85824}
#batch-canvas .mold-batch-select button{min-height:44px}
#batch-editor header{min-height:62px}
#batch-editor-title{font:400 24px/1.4 ZaobaLayout,'Yuanti SC',sans-serif;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#batch-editor-close{flex:none;min-height:44px}
#batch-frame{display:block;height:0;flex:1 1 0;min-height:0;background:#fffaf3}
@media(max-width:760px){#batch-results button.mold-batch-preview{height:120px;min-height:120px}#batch-editor-title{font-size:20px}}
