/* A focused review surface for real output images, separate from recipe swatches. */
#batchModal{width:min(1160px,94vw);max-width:1160px;max-height:92vh;background:#f7f8f2;padding:28px;overflow:auto}
#batchModal .modal-heading{align-items:flex-start;gap:20px;margin-bottom:22px}#batchModal .eyebrow{display:block;margin-bottom:8px}#batchModal .modal-heading h2{font-size:26px;margin:0 0 8px}#batchModal .modal-heading p{max-width:720px;margin:0;color:#657161}
.batch-settings{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) auto;gap:14px;align-items:end;padding:18px;background:#e9eee1;border-radius:10px;border:1px solid #dce3d1}.batch-settings label{display:flex;flex-direction:column;gap:8px;color:#53644a;font-size:12px}.batch-settings select{width:100%;margin:0;min-height:42px;background:#fff}.batch-settings button{min-height:42px;white-space:nowrap}
.batch-progress{background:white;border:1px solid #dbe3d2;border-radius:10px;padding:16px 18px;margin:18px 0}.batch-progress>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.batch-progress strong{font-size:14px;color:#344a2e;line-height:1.6}.batch-progress progress{width:100%;height:8px;appearance:none;border:0;border-radius:10px;display:block;background:#e7ece1;accent-color:#567348}.batch-progress progress::-webkit-progress-bar{background:#e7ece1;border-radius:10px}.batch-progress progress::-webkit-progress-value{background:#567348;border-radius:10px}.batch-progress progress::-moz-progress-bar{background:#567348;border-radius:10px}.batch-progress small{display:block;margin-top:12px;font-size:12px;line-height:1.6;color:#78836f}
.batch-result-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:19px 0}.batch-result-actions>span{font:12px ui-monospace,SFMono-Regular,Consolas,monospace;color:#68795d;margin-right:auto}.batch-result-actions button{background:#fff}.batch-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.batch-gallery>.empty-state{grid-column:1/-1;margin:0}.batch-card{min-width:0;border-radius:10px;overflow:hidden;background:#fff;border:1px solid #d9e1d0}.batch-card>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#101923}.batch-card>div{padding:13px}.batch-card small{font:10px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.1px;color:#839078;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-card h3{font-size:14px;color:#354a2d;margin:7px 0 12px}.batch-card button{font-size:12px;min-height:32px;padding:6px 9px;margin:0 4px 0 0}.batch-card button:first-of-type{background:#e9efdf;color:#456037}.batch-ready{padding:14px 16px;background:#dfead6;border-radius:8px;display:flex;align-items:center;gap:16px;margin:16px 0}.batch-ready a{display:inline-block;text-decoration:none;border-radius:6px;padding:9px 12px;font-size:12px;overflow-wrap:anywhere}.batch-ready span{font-size:13px;white-space:nowrap}.batch-ready[hidden],#batchCancel[hidden],#batchPhotoOption[hidden],.material-preview[hidden]{display:none!important}#inspector #openBatchLibrary{flex:1 1 100%;background:#345346;color:#fff}
@media(max-width:900px){.batch-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}#batchModal{padding:22px}.batch-settings{grid-template-columns:1fr 1fr}.batch-settings>button{grid-column:1/-1}}
@media(max-width:600px){#batchModal{width:96vw;max-height:94vh;padding:17px}#batchModal .modal-heading h2{font-size:20px}.batch-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.batch-card>div{padding:10px}.batch-card h3{font-size:13px}.batch-card button{padding:6px;font-size:12px;margin:0}.batch-settings{padding:13px;gap:10px;grid-template-columns:1fr}.batch-settings>button{grid-column:auto}.batch-progress{padding:13px}.batch-progress>div{align-items:flex-start;flex-direction:column}.batch-result-actions button{flex:1}.batch-result-actions>span{width:100%;margin-bottom:4px}.batch-ready{flex-wrap:wrap;gap:8px}}
/* Result review keeps the rendered batch separate from the next render settings. */
.batch-local-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:17px 18px;border:1px solid #d9e2ce;border-radius:10px;background:#f0f4e8;margin:18px 0}.batch-local-actions>div{flex:1 1 290px}.batch-local-actions strong{font-size:13px;color:#40583a}.batch-local-actions p{font-size:11px;line-height:1.7;color:#78876b;margin:6px 0 0;max-width:610px}.batch-local-actions button{font-size:12px;min-height:40px;background:#fff}.batch-local-actions>span{flex:1 1 100%;font-size:12px;line-height:1.7;color:#566e49;overflow-wrap:anywhere}.batch-local-actions>span:empty{display:none}
.batch-review-tools{display:flex;align-items:end;flex-wrap:wrap;gap:14px;background:#f7f8f2;padding:14px 0 18px;border-bottom:1px solid #dce3d2;margin:0 0 18px}.batch-search{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#6e8062;flex:1 1 230px}.batch-search input{width:100%;min-height:42px;margin:0;background:#fff}.batch-only{display:flex;align-items:center;gap:8px;min-height:42px;font-size:12px;color:#536a47;white-space:nowrap}.batch-only input{width:16px;height:16px;margin:0;accent-color:#3e5a36}.batch-review-tools button{min-height:42px;font-size:12px;background:#e8efdf}.batch-review-tools>span{flex:1 1 100%;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;color:#819074}.batch-filter-empty{padding:28px;background:#edf2e5;border-radius:9px;font-size:13px;color:#657d56;line-height:1.8;text-align:center}.batch-card[hidden],.batch-review-tools[hidden],.batch-comparison[hidden],.batch-filter-empty[hidden]{display:none!important}.batch-card [data-compare-batch][aria-pressed=true]{background:#dce8cf;border-color:#a4bb90;color:#3b592f}
.batch-comparison{padding:20px;border:1px solid #cbdabb;border-radius:12px;background:#fff;margin-bottom:24px}.batch-comparison-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.batch-comparison-heading h3{font-size:21px;color:#344d2c;margin:7px 0 9px}.batch-comparison-heading p{font-size:12px;line-height:1.7;color:#7a8b6e;margin:0;max-width:710px}.batch-comparison-heading>button{white-space:nowrap;font-size:12px;background:#f0f4e8}.batch-compare-scroll{overflow-x:auto;border:1px solid #dfe6d6;border-radius:8px;overscroll-behavior-x:contain;scrollbar-color:#bbcca9 #f0f4e8;scrollbar-width:thin}.batch-compare-scroll:focus-visible{outline:2px solid #658850;outline-offset:4px}.batch-compare-scroll table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;color:#536d45;font-size:12px}.batch-compare-scroll caption{text-align:left;padding:12px;background:#edf3e5;color:#6c805d;font-size:11px;caption-side:top}.batch-compare-scroll th,.batch-compare-scroll td{min-width:220px;width:220px;vertical-align:top;border-bottom:1px solid #e4eadc;border-right:1px solid #e4eadc;padding:12px;overflow-wrap:anywhere;line-height:1.7}.batch-compare-scroll th:first-child{min-width:98px;width:98px;background:#f4f7ee;font-size:11px;font-weight:500}.batch-compare-scroll thead th{font-size:13px;background:#f8faf5}.batch-compare-scroll th>span{display:block;margin-bottom:10px}.batch-compare-scroll th>button{font-size:10px;padding:5px 8px;min-height:27px;background:white;font-weight:400}.batch-compare-scroll td img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:5px;background:#111923}.batch-compare-scroll td p{font-size:11px;line-height:1.8;margin:0 0 7px}.batch-compare-scroll td p:last-child{margin-bottom:0}.batch-compare-scroll tr:last-child>*{border-bottom:0}.batch-compare-scroll tr>*:last-child{border-right:0}.batch-compare-color{display:flex;align-items:center;gap:7px;font:10px ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.8;margin-bottom:5px;white-space:nowrap}.batch-compare-color i{width:14px;height:14px;border:1px solid #0002;border-radius:50%;flex:none}
@media(max-width:600px){.batch-local-actions{padding:13px;gap:10px}.batch-local-actions button{flex:1 1 45%;min-height:44px}.batch-review-tools{gap:10px}.batch-search{flex-basis:100%}.batch-review-tools>button{margin-left:auto;min-height:44px}.batch-only{min-height:44px}.batch-comparison{padding:12px}.batch-comparison-heading{gap:10px;flex-wrap:wrap}.batch-comparison-heading h3{font-size:18px}.batch-compare-scroll th,.batch-compare-scroll td{padding:10px;min-width:190px;width:190px}.batch-compare-scroll th:first-child{min-width:78px;width:78px}}
