.batch-hidden{display:none!important}.batch-mode .controls,.batch-mode .detection-mode-switch,.batch-mode .control-buttons,.batch-mode .result-section,.batch-mode #streaming-progress{display:none!important}
.tab-buttons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}.batch-section{color:#172033}.batch-access-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:22px;border:1px solid #e6eaf1;border-radius:16px;background:linear-gradient(135deg,#f8fafc,#fff7ed)}.batch-kicker{color:#f0642c;font-size:11px;font-weight:800;letter-spacing:.15em}.batch-access-card h2{margin:5px 0 7px;font-size:25px}.batch-access-card p{margin:0;color:#64748b;line-height:1.65}.batch-apply-btn,.batch-select-btn,.batch-start-btn,.batch-submit-btn{border:0;border-radius:10px;background:linear-gradient(135deg,#ff7043,#ffb52e);color:#fff;font-weight:750;cursor:pointer}.batch-apply-btn{min-width:150px;padding:12px 18px;background:#172033}.batch-application-status{display:inline-flex;margin-top:10px;padding:5px 10px;border-radius:999px;background:#fff0cf;color:#8a5900;font-size:12px;font-weight:700}.batch-application-status.rejected{background:#fff0ee;color:#b42318}.batch-upload-area{min-height:330px;padding:38px 24px;border:2px dashed #dbe1ea;border-radius:16px;background:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.2s}.batch-upload-area.is-dragging{border-color:#ff7043;background:#fff7f1}.batch-upload-mark{width:64px;height:64px;display:grid;place-items:center;border-radius:16px;background:#fff0e8;color:#e25b27;font-weight:850;font-size:15px}.batch-upload-area h3{margin:16px 0 8px;font-size:22px}.batch-upload-area p{margin:3px 0;color:#7a8494}.batch-select-btn{margin-top:18px;padding:12px 28px}.batch-job{margin-top:18px;border:1px solid #e4e9f0;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 12px 35px rgba(24,39,75,.07)}.batch-job-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #edf0f4;background:#fbfcfe}.batch-job-head>div:first-child{display:flex;align-items:baseline;gap:12px}.batch-job-head span{color:#8b96a8;font-size:10px;font-weight:800;letter-spacing:.14em}.batch-job-head strong{font-size:18px}.batch-job-head b{color:#f0642c;font-size:22px}.batch-job-actions{display:flex;gap:8px}.batch-job-actions button{padding:9px 13px;border:1px solid #dde3eb;border-radius:8px;background:#fff;color:#5d697c;font-weight:700;cursor:pointer}.batch-job-actions button:first-child{border-color:#f3a47c;color:#d95922;background:#fff8f3}.batch-job-actions button.is-apply{border-color:#ff7043;color:#fff;background:linear-gradient(135deg,#ff7043,#ff9b35)}.batch-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:16px 20px}.batch-stats>div{padding:13px;border:1px solid #e9edf3;border-radius:10px}.batch-stats span{display:block;color:#7b8798;font-size:11px}.batch-stats strong{display:block;margin-top:5px;font-size:22px}.batch-progress-copy{display:flex;justify-content:space-between;padding:0 20px 8px;color:#657185;font-size:12px}.batch-progress-track{height:7px;margin:0 20px 16px;border-radius:999px;background:#edf1f5;overflow:hidden}.batch-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff7043,#ffb52e);transition:width .25s}.batch-filters{display:flex;gap:6px;padding:11px 20px;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}.batch-filters button{border:1px solid transparent;border-radius:8px;padding:7px 11px;background:transparent;color:#687386;font-weight:700;cursor:pointer}.batch-filters button.active{border-color:#ffd8c2;background:#fff5ee;color:#d95720}.batch-table-head,.batch-file-row{display:grid;grid-template-columns:minmax(250px,2fr) 90px 140px 80px 110px;gap:12px;align-items:center}.batch-table-head{padding:10px 20px;background:#f8fafc;color:#8c96a5;font-size:11px;font-weight:700}.batch-file-row{min-height:70px;padding:11px 20px;border-top:1px solid #eff2f5}.batch-file-main{min-width:0;display:flex;align-items:center;gap:10px}.batch-file-index{width:27px;color:#9099a8;font-size:11px;text-align:center}.batch-file-type{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#fff1e8;color:#d95720;font-size:10px;font-weight:850}.batch-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750}.batch-file-meta{margin-top:3px;color:#99a2b1;font-size:10px}.batch-unit-count{color:#5f6b7d;font-size:11px}.batch-status-pill,.batch-ai-rate{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f1f3f6;color:#697386;font-size:10px;font-weight:750}.batch-status-pill.ready,.batch-ai-rate.low{background:#e8f8f1;color:#147a52}.batch-status-pill.running,.batch-ai-rate.medium{background:#fff4cf;color:#955c00}.batch-status-pill.completed{background:#ebf2ff;color:#2557a7}.batch-status-pill.error,.batch-ai-rate.high{background:#ffeded;color:#bf3030}.batch-row-progress{height:4px;margin-top:6px;border-radius:999px;background:#edf0f4;overflow:hidden}.batch-row-progress span{display:block;height:100%;background:#ff7a45}.batch-row-actions{display:flex;justify-content:flex-end;gap:5px}.batch-row-actions button{min-height:29px;padding:0 9px;border:1px solid #dfe4eb;border-radius:7px;background:#fff;color:#526073;font-size:10px;font-weight:720;cursor:pointer}.batch-row-actions .primary{border-color:#172033;background:#172033;color:#fff}.batch-row-actions .danger{width:29px;padding:0;color:#a13932;background:#fff8f7}.batch-empty{padding:40px;text-align:center;color:#929baa}.batch-start-row{padding:16px 20px;border-top:1px solid #edf0f4;text-align:center}.batch-start-btn{min-width:220px;padding:13px 24px;font-size:15px}.batch-start-btn:disabled,.batch-apply-btn:disabled{opacity:.55;cursor:not-allowed}.batch-downloads{padding:17px 20px;border-top:1px solid #edf0f4;background:#fbfcfe}.batch-downloads h3{margin:0 0 12px}.batch-downloads button{margin:0 8px 8px 0;padding:10px 14px;border:1px solid #172033;border-radius:8px;background:#172033;color:#fff;font-weight:700;cursor:pointer}.batch-modal{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:22px}.batch-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(4px)}.batch-modal-panel{position:relative;width:min(860px,100%);max-height:92vh;overflow:auto;padding:27px;border-radius:17px;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.3)}.batch-modal-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px}.batch-modal-head h2{margin:5px 0 7px}.batch-modal-head p{margin:0;color:#64748b}.batch-modal-head>button{width:36px;height:36px;border:0;border-radius:9px;background:#f1f5f9;color:#475569;font-size:23px;cursor:pointer}.batch-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.batch-form-grid label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:700}.batch-form-grid label>span{color:#ef4444}.batch-form-grid input,.batch-form-grid select,.batch-form-grid textarea{width:100%;border:1px solid #d9e0ea;border-radius:9px;padding:10px 11px;font:inherit}.batch-form-grid textarea{min-height:95px;resize:vertical}.batch-form-wide{grid-column:1/-1}.batch-consent{display:flex;gap:9px;margin-top:16px;color:#64748b;font-size:12px}.batch-consent input{width:auto}.batch-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.batch-modal-actions button{padding:10px 17px;border:1px solid #d9e0ea;border-radius:9px;background:#fff;font-weight:700;cursor:pointer}.batch-modal-actions .batch-submit-btn{border:0;background:#172033;color:#fff}.batch-toast{position:fixed;right:22px;top:22px;z-index:22000;max-width:420px;padding:13px 17px;border-radius:10px;background:#172033;color:#fff;box-shadow:0 15px 40px rgba(0,0,0,.2)}.batch-toast.error{background:#b42318}.batch-toast.success{background:#087f5b}
@media(max-width:900px){.batch-access-card{align-items:stretch;flex-direction:column}.batch-apply-btn{width:100%}.batch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-table-head{display:none}.batch-file-row{grid-template-columns:minmax(0,1fr) auto}.batch-file-main{grid-column:1/-1}.batch-unit-count,.batch-status-cell{padding-left:75px}.batch-ai-cell{grid-column:2;grid-row:2}.batch-row-actions{grid-column:1/-1;padding-left:75px;justify-content:flex-start}.batch-form-grid{grid-template-columns:1fr}.batch-form-wide{grid-column:auto}}@media(max-width:600px){.batch-job-head{align-items:flex-start;flex-direction:column}.batch-stats{grid-template-columns:1fr 1fr}.batch-modal{padding:8px}.batch-modal-panel{padding:18px}.batch-upload-area{min-height:280px}.tab-button{font-size:14px!important;padding:10px 5px!important}}
