/* 延续原ERP配色，批次金额固定可读，错误逐行显示且不遮挡操作。 */
/* 批量入库只让弹窗外层滚动。表单自然撑开，避免90dvh弹窗套92vh表单出现双滚动条。
   不隐藏滚动条、不裁掉表单，底部确认按钮仍可通过鼠标、触摸或键盘到达。 */
#batch-dialog{overflow-y:auto;overscroll-behavior:contain}
#batch-dialog > #batch-form{max-height:none;overflow:visible}
[data-batch-device],[data-batch-all],.batch-check input{width:20px;height:20px;accent-color:#0b956d;cursor:pointer}
#batch-outbound-dialog{width:min(980px,96vw);max-height:92dvh;overflow:auto}
#batch-outbound-form label,.batch-price-tools label{font-size:14px;display:grid;gap:6px}
#batch-outbound-dialog .modal-head p{font-size:14px;color:#586c69}
#batch-outbound-dialog td,#batch-outbound-dialog th{font-size:14px}
#batch-outbound-dialog td>div{font-size:14px;margin-top:7px;color:#586c69}
#batch-outbound-dialog [data-batch-price]{width:150px;max-width:100%;font-size:16px}
.batch-price-tools{display:flex;align-items:end;gap:12px;margin:18px 0}
.batch-price-tools input{width:180px}
.batch-inbound-date{display:flex;gap:12px;align-items:center;margin:14px 0;font-size:14px}
.batch-price-tools button,[data-batch-close]{border:1px solid #d7e5e0;border-radius:8px;background:white;padding:10px 14px}
.batch-totals{display:flex;flex-wrap:wrap;gap:14px 24px;background:#edf8f4;padding:16px;margin:16px 0;border-radius:10px;font-size:16px}
#batch-outbound-form .batch-check{display:flex;align-items:center;gap:9px;line-height:1.6}
.batch-error{margin-top:14px;padding:14px;background:#fff5f4;border:1px solid #f2b9b3;border-radius:9px;color:#a3231b;font-size:14px;line-height:1.7}
.batch-error p{margin:6px 0}.batch-error ol{max-height:200px;overflow:auto;padding-left:24px;margin:8px 0}.batch-error li{margin:5px 0}
#batch-outbound-btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.batch-price-tools{align-items:stretch;flex-direction:column}.batch-price-tools input{width:100%}#batch-outbound-dialog form{padding:16px}.batch-totals{display:grid;grid-template-columns:1fr;gap:8px}#batch-outbound-dialog{width:96vw}#batch-outbound-lines .table-wrap{max-width:100%;overflow:auto}}
/* 成本只是浅色提示，用户输入的售价仍沿用正常深色文本。 */
[data-batch-price]::placeholder { color: #8c9b97; opacity: 1; }
#reentry-dialog { width: min(820px, 94vw); max-height: 92dvh; overflow-y: auto; box-sizing: border-box; }
#reentry-dialog .reentry-item { padding: 16px 0; border-bottom: 1px solid #e3ebe8; }
#reentry-dialog select { font-size: 16px; width: 100%; }
#reentry-dialog h2 { font-size: 22px; }
