#batchPanel{padding:0;background:transparent;border:0}
.batch-workspace{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:24px}
.batch-platforms{display:flex;gap:6px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:22px;flex-wrap:wrap}
.batch-platforms button{min-width:92px}
.batch-platforms button[aria-selected=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
.batch-platforms button:disabled{opacity:1;color:#65736d;background:var(--subtle);cursor:not-allowed}
.batch-platforms .badge{margin-left:auto}
.batch-settings{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(160px,.8fr) minmax(250px,1.4fr);gap:18px}
.batch-settings label{min-width:0}
.batch-settings select{width:100%;min-width:0;text-overflow:ellipsis}
.batch-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-top:24px}
.batch-columns h3{margin:0 0 12px;font-size:15px}
.batch-columns textarea{resize:vertical;width:100%;line-height:1.7;min-height:310px;background:var(--surface);color:var(--ink);font:inherit;padding:14px;border:1px solid var(--line);border-radius:6px}
.batch-columns textarea:focus-visible,#batchOutput:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.batch-columns textarea::placeholder{color:#65736d;opacity:1}
.batch-options{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.batch-options .check-label{align-items:start;margin:0;font-size:12px;line-height:1.6}
.batch-options input{margin-top:3px;flex-shrink:0}
#batchResults{min-height:310px;max-height:610px;overflow:auto;scrollbar-color:#8daba0 var(--subtle);padding-right:4px}
.batch-empty{padding:64px 24px;text-align:center;background:var(--subtle);border-radius:6px;color:var(--muted);line-height:1.8}
.batch-empty strong{display:block;color:var(--ink);margin-bottom:7px;font-size:14px}
.batch-result{padding:18px 0;border-bottom:1px solid var(--line)}
.batch-result:first-child{padding-top:0}
.batch-result-head{display:flex;align-items:start;justify-content:space-between;gap:12px;font-size:13px}
.batch-result-head strong{font-weight:600;overflow-wrap:anywhere}
.batch-state{white-space:nowrap;color:var(--accent);font-size:12px;line-height:1.8}
.batch-state.failure,.batch-error{color:#a83232}
.batch-source{font-size:11px;color:var(--muted);overflow-wrap:anywhere;line-height:1.6}
.batch-result textarea{min-height:0;font-size:12px;padding:9px}
.batch-result .actions{margin:10px 0 0;gap:8px}
.batch-result .actions button{font-size:12px;padding:6px 10px}
.batch-error{font-size:12px;line-height:1.6}
.batch-result-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;min-height:34px}
.batch-result-actions p{margin:0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
#batchOutputBox{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
#batchOutputBox summary{font-weight:600;font-size:13px}
#batchOutput{width:100%;margin-top:14px;min-height:140px;resize:vertical;font:inherit;font-size:13px;line-height:1.7;padding:12px;border:1px solid var(--line);border-radius:6px}
.batch-history{margin-top:26px}
.batch-public-settings{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.batch-public-settings summary{font-size:13px;font-weight:600;cursor:pointer}
.batch-public-settings select{max-width:100%}
.batch-history .section-title{margin-bottom:14px}
#batchPanel ::selection{background:var(--accent-soft);color:var(--ink)}
#batchPanel textarea{caret-color:var(--accent)}
@media(max-width:1100px){.batch-settings{grid-template-columns:1fr 1fr}.batch-settings label:last-child{grid-column:1/-1}.batch-columns{gap:20px}}
@media(max-width:760px){.batch-workspace{padding:16px}.batch-columns,.batch-settings{grid-template-columns:1fr}.batch-settings label:last-child{grid-column:auto}.batch-columns{gap:26px}.batch-columns textarea{min-height:230px}.batch-result textarea{min-height:0}#batchResults{min-height:190px}.batch-platforms{gap:5px}.batch-platforms button{min-width:0;font-size:12px;padding:7px 10px}.batch-platforms .badge{margin-left:0}.batch-result-actions{flex-wrap:wrap}.batch-empty{padding:40px 16px}}
