#materialBatchModal .material-batch-panel { width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
#materialBatchModal .modal-header { flex: none; padding: 18px 24px; }
#materialBatchModal .modal-header button { width: 32px; height: 32px; padding: 0; flex: none; }
#materialBatchModal .modal-body { display: flex; flex-direction: column; gap: 16px; padding: 24px; overflow-y: auto; }
#materialBatchModal .field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
#materialBatchModal .field select, #materialBatchModal .field input { box-sizing: border-box; width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid #d4dce6; border-radius: 4px; font: inherit; color: #26334d; background: white; }
#materialBatchModal .field select[multiple] { min-height: 100px; }
#materialBatchModal p { margin: 0; font-size: 13px; line-height: 1.6; color: #596579; }
#materialBatchModal [role=alert] { color: #b42318; }
#materialBatchModal [role=alert]:empty { display: none; }
#materialBatchModal .modal-footer { display: flex; justify-content: flex-end; gap: 12px; flex: none; padding: 14px 24px; }
#materialBatchModal .modal-footer button { width: auto; flex: none; min-width: 80px; min-height: 36px; padding: 8px 20px; margin: 0; white-space: nowrap; border-radius: 4px; }
#materialBatchModal .modal-footer [data-batch-close] { border: 1px solid #d4dce6; background: white; color: #26334d; }
