.batch-toolbar{grid-template-columns:auto 32px minmax(90px,1fr) 112px}
.batch-toolbar .batch-search{width:100%!important;min-width:0!important}
.batch-toolbar .batch-search input{width:calc(100% - 38px)!important;min-width:0!important}
.batch-toolbar .batch-search button{width:38px!important;flex:0 0 38px}
.batch-settings-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0!important}
.batch-settings-button img{display:block;width:16px;height:16px;object-fit:contain;opacity:.68}
.batch-settings-tools{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.batch-settings-search{width:240px;height:32px}
.batch-settings-search input{width:calc(100% - 38px);height:32px}
.batch-settings-search button{width:38px;height:32px}
.batch-settings-tools>.shared-select{width:150px}
.batch-settings-table-wrap{width:100%;max-height:430px;overflow-x:hidden;overflow-y:auto;border:1px solid #e3e6e9}
.batch-settings-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}
.batch-settings-table col.check{width:52px}.batch-settings-table col.account{width:27%}.batch-settings-table col.delay{width:24%}.batch-settings-table col.sleep{width:29%}.batch-settings-table col.action{width:88px}
.batch-settings-table th{height:42px;min-width:0;padding:0 10px;overflow:visible;background:#f5f7f8;text-align:left;text-overflow:ellipsis;font-weight:500;white-space:nowrap}
.batch-settings-table td{height:62px;min-width:0;padding:7px 10px;overflow:hidden;border-bottom:1px solid #eceff1;text-overflow:ellipsis;white-space:nowrap}
.batch-settings-table th:first-child,.batch-settings-table td:first-child,.batch-settings-table th:last-child,.batch-settings-table td:last-child{text-align:center}
.batch-settings-table td:last-child button{border:0;color:#2aa119;background:transparent}
.batch-settings-table .shared-field-tip-popover{top:29px;bottom:auto;z-index:20}
.batch-settings-table .shared-field-tip-popover::before{top:-6px;bottom:auto;border-top:0;border-right:6px solid transparent;border-bottom:6px solid rgba(45,45,45,.94);border-left:6px solid transparent}
.batch-settings-account{display:flex;align-items:center;gap:9px;min-width:0}
.batch-settings-account>.wx-avatar{flex:0 0 34px;width:34px;height:34px;border-radius:50%}
.batch-settings-account strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}
.batch-settings-account small{display:block;color:#ef8612}
.batch-settings-bottom{display:flex;align-items:center;gap:12px;height:46px;color:#737b82;font-size:13px}
.batch-settings-select-all{height:32px;padding:0;border:0;color:#2aa119;background:transparent}
.batch-settings-close{margin-left:auto}
.batch-modal:has(.batch-settings-table){grid-template-rows:50px minmax(0,1fr)}
.batch-modal:has(.batch-settings-table)>footer{display:none}
.batch-setting-form{padding:0 4px}
.batch-setting-row{display:grid;grid-template-columns:124px minmax(0,1fr);gap:12px;padding:18px 0;border-bottom:1px solid #edf0f2}
.batch-setting-row>label{display:flex;align-items:center;height:32px;color:#444}
.batch-setting-enable{display:flex;align-items:center;gap:8px;height:32px;width:max-content}
.batch-setting-time,.batch-setting-delay{display:flex;align-items:center;gap:10px;margin-top:8px}
.batch-setting-time input{width:112px;height:32px;padding:0 8px;border:1px solid #d8dde2;border-radius:3px}
.batch-setting-delay{margin-top:0}
.batch-setting-delay input{width:88px;height:32px;padding:0 9px;border:1px solid #d8dde2;border-radius:3px}
.batch-setting-delay button{height:32px;padding:0;border:0;color:#2aa119;background:transparent}
.batch-setting-tip{margin:14px 0 0;color:#9299a0;font-size:12px}
.batch-page-shell{min-width:0}
.batch-progress table{min-width:0;table-layout:fixed}
.batch-progress th:nth-child(1){width:50%}
.batch-progress th:nth-child(2){width:34%}
.batch-progress th:nth-child(3){width:16%}
.batch-progress th:nth-child(3),.batch-progress td:nth-child(3){text-align:center}
.batch-stats{height:100%;display:grid;grid-template-rows:40px minmax(0,1fr);overflow:hidden;background:#f3f5f7;color:#3f454b}
.batch-stats>header{display:flex;align-items:center;gap:10px;height:40px;padding:0 18px;border-bottom:1px solid #dfe3e6;background:#fff}
.batch-stats-page{min-height:0;padding:16px;overflow:auto}
.batch-stats-card{min-height:100%;border:1px solid #e2e5e8;background:#fff}
.batch-stats-card>nav{display:flex;height:54px;padding:0 24px;border-bottom:1px solid #e3e6e9}
.batch-stats-card>nav button{position:relative;padding:0 18px;border:0;background:#fff;color:#555;font-size:14px}
.batch-stats-card>nav button.active{color:#2aa119}
.batch-stats-card>nav button.active:after{content:"";position:absolute;right:12px;bottom:0;left:12px;height:2px;background:#2aad16}
.batch-stats-toolbar{position:relative;z-index:5;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:74px;padding:18px 24px}
.batch-stat-account-filter{position:relative;width:220px;height:34px;flex:0 0 220px}
.batch-stat-account-trigger,.batch-stat-account-search{width:220px!important;height:34px!important;box-sizing:border-box}
.batch-stat-account-trigger{display:flex;align-items:center;justify-content:space-between;padding:0 11px;border:1px solid #d7dce0;border-radius:3px;color:#aaa;background:#fff;text-align:left}
.batch-stat-account-trigger>i{width:7px;height:7px;margin:0 3px 4px 8px;border-right:1px solid #aaa;border-bottom:1px solid #aaa;transform:rotate(45deg)}
.batch-stat-account-filter.open .batch-stat-account-search{border-color:#2aad16;box-shadow:0 0 0 1px rgba(42,173,22,.12)}
.batch-stat-account-search input{width:calc(100% - 36px)!important;height:32px!important;min-height:32px!important;padding:0 10px!important}
.batch-stat-account-search .search-button{width:36px!important;height:32px!important;flex:0 0 36px!important}
.batch-stat-account-menu{position:absolute;top:36px;right:0;left:0;max-height:266px;overflow-y:auto;border-radius:0 0 3px 3px;background:#fff;box-shadow:0 3px 9px rgba(0,0,0,.16)}
.batch-stat-account-menu>button{display:flex;align-items:center;width:100%;height:36px;padding:0 12px;border:0;color:#555;background:#fff;text-align:left}
.batch-stat-account-menu>button:hover{background:#f5f7f8}
.batch-stat-account-menu>button[hidden]{display:none}
.batch-stat-account-menu>button.all{font-weight:500}
.batch-stat-account-menu>button>i{width:6px;height:6px;margin-right:10px;border-radius:50%;background:#d8dadd}
.batch-stat-account-menu>button>i.online{background:#18c879}
.batch-stat-account-menu em{color:#ff7900;font-style:normal}
.batch-stat-export{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;white-space:nowrap}
.batch-stat-export>i{position:relative;width:12px;height:12px;border:1px solid #7b8187;box-sizing:border-box}
.batch-stat-export>i:before{content:"";position:absolute;top:-3px;right:-3px;width:7px;height:7px;border-top:1px solid #7b8187;border-right:1px solid #7b8187;background:#fff}
.batch-stat-export>i:after{content:"";position:absolute;top:-1px;right:-1px;width:7px;border-top:1px solid #7b8187;transform:rotate(-45deg);transform-origin:right center}
.batch-stat-period{display:flex;height:34px;margin-left:4px}
.batch-stat-period button{min-width:54px;height:34px;margin-left:-1px;padding:0 12px;border:1px solid #d9dde0;color:#666;background:#fff}
.batch-stat-period button:first-child{margin-left:0;border-radius:3px 0 0 3px}
.batch-stat-period button:last-child{border-radius:0 3px 3px 0}
.batch-stat-period button.active{position:relative;z-index:1;border-color:#2aad16;color:#fff;background:#2aad16}
.batch-stat-date-range{width:254px;height:34px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 28px}
.batch-stat-date-range input{height:32px;min-height:32px;font-size:13px}
.batch-stat-date-range input::-webkit-calendar-picker-indicator{display:none}
.batch-stats table{width:calc(100% - 48px);margin:0 24px;border-collapse:collapse;table-layout:fixed}
.batch-stats th{height:54px;padding:0 20px;background:#f5f6f7;text-align:left;font-weight:600}
.batch-stats td{height:46px;padding:0 20px;border-bottom:1px solid #eceff1}
.batch-stats-empty-row td{height:190px;border-bottom:0;text-align:center}
.batch-stats-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#c4c7ca}
.batch-stats-empty>i{position:relative;width:42px;height:28px;border:1px solid #d9dcdf;border-radius:2px;background:#fff;box-shadow:0 5px 0 -2px #f2f3f4}
.batch-stats-empty>i:before{content:"";position:absolute;top:-7px;left:8px;width:24px;height:10px;border:1px solid #d9dcdf;border-bottom-color:#fff;border-radius:3px 3px 0 0;background:#fff;transform:skew(-12deg)}
.batch-status.creating{background:#eaf3ff;color:#2783d8}
.batch-detail-action-button{min-width:64px;height:32px;padding:0 16px;border-color:#d9d9d9;border-radius:3px;color:#555;background:#fff}
.batch-detail-action-button:hover{border-color:#2aad16;color:#2aad16;background:#fff}
.batch-summary{padding:6px 18px}
.batch-summary dl{grid-template-columns:100px minmax(100px,1fr) 100px minmax(100px,1fr) 100px minmax(100px,1fr);align-items:center;gap:4px 10px;padding:8px 12px;line-height:20px}
.batch-summary dt{white-space:nowrap}
.batch-summary dd{display:flex;align-items:center;min-height:20px}
.batch-snapshot-view{color:#555}
.batch-snapshot-block{margin-bottom:10px}
.batch-snapshot-block>h4{height:36px;margin:0;padding:8px 12px;border:1px solid #e5e5e5;border-bottom:0;background:#fafafa;font-size:14px}
.batch-snapshot-block>.bc-setting-snapshot{margin:0}
.batch-snapshot-muted{margin:0;padding:12px;border:1px solid #e5e5e5;color:#92999f}
.batch-snapshot-meta{display:grid;grid-template-columns:156px minmax(0,1fr);align-items:center;margin:0;padding:0;border:1px solid #e5e5e5}
.batch-snapshot-meta dt,.batch-snapshot-meta dd{min-height:40px;margin:0;padding:10px 12px;border-bottom:1px solid #eee}
.batch-snapshot-meta dt{color:#888;background:#fafafa;white-space:nowrap}
.batch-snapshot-meta dt:last-of-type,.batch-snapshot-meta dd:last-of-type{border-bottom:0}

/* V1.19: align the batch-invite creator with the online baseline. */
.batch-create-scroll{padding:10px max(18px,calc(50% - 488px)) 66px}
.batch-create-scroll>section{width:100%;max-width:976px;margin-right:auto;margin-bottom:8px;margin-left:auto;border-color:#e1e4e7}
.batch-create-scroll h3{height:44px;padding:13px 20px;font-size:14px;font-weight:600;color:#3f454b}
.batch-form-row{grid-template-columns:110px minmax(0,1fr);min-height:40px;padding:4px 20px 4px 68px}
.batch-form-row>label{display:flex;align-items:center;gap:4px;height:32px;padding-top:0;color:#4b5157;line-height:20px}
.batch-form-row>div{font-size:14px}
.batch-title-row{height:40px;min-height:40px}
.batch-title-row>label{height:32px;padding-top:0}
.batch-count-input{position:relative;width:min(600px,100%);height:32px;overflow:hidden;border:0;border-radius:3px;background:#fff}
.batch-count-input::after{content:"";position:absolute;z-index:2;inset:0;border:1px solid #d7dce0;border-radius:3px;pointer-events:none}
.batch-title-row .batch-count-input input{height:32px;background:transparent}
.batch-title-row .batch-count-input em{position:relative;z-index:1;display:flex;align-items:center;height:32px;padding:0 10px;border-left:1px solid #e3e6e9;background:#fff}
.batch-company-line{align-items:center}
.batch-company-line>.shared-company-filter{width:272px}
.batch-account-picker-trigger{height:32px;min-height:32px;display:inline-flex;align-items:center;padding:0 14px;border-color:#d9d9d9;border-radius:3px;line-height:30px;white-space:nowrap}
.batch-choice{height:32px;min-height:32px;margin-right:28px}
.batch-top-choices{display:flex;align-items:center;min-height:32px}
.batch-condition-box{width:min(776px,100%);margin-top:4px;border:1px solid #dfe3e6;background:#fff}
.batch-condition-tabs{display:flex;align-items:center;width:100%;height:44px;padding:0 16px;background:#f5f6f7}
.batch-condition-options{display:grid;grid-template-columns:1fr 1fr;align-items:center;width:300px;height:32px;padding:0 16px;border:1px solid #e2e5e8;border-radius:16px;background:#fff}
.batch-condition-tabs .batch-choice{display:flex;align-items:center;width:100%;min-width:0;height:30px;min-height:30px;margin:0;line-height:20px}
.batch-condition-tabs .batch-choice>input{align-self:center!important}
.batch-condition-tabs .batch-choice>span{display:flex;align-items:center;height:30px;line-height:20px}
.batch-condition-box>.shared-customer-filter,.batch-condition-box>.shared-customer-group-filter{margin:0;border-top:1px solid #e2e5e8;background:#fff}
.batch-help-line{display:flex;align-items:center;gap:8px;min-height:42px;margin:0;padding:0 16px;color:#90979d;font-size:12px}
.batch-help-line b{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border:1px solid #9ba2a8;border-radius:50%;font-size:10px;font-weight:500}
.batch-switch-row>label{height:32px;align-self:start;padding-top:0}
.batch-switch-line{height:32px;display:flex;align-items:center}
.batch-switch-line>.batch-switch{flex:0 0 38px;margin:0}
.batch-switch-line>.batch-explain{display:inline-flex;align-items:center;height:32px;line-height:20px}
.batch-explain{margin-left:10px;color:#92999f}
.batch-nested{width:min(776px,100%);margin-top:4px;padding:0;background:transparent}
.batch-nested>.batch-top-choices{margin-bottom:4px}
.batch-alert.batch-alert-info{margin:10px 20px 2px;border-color:#dbe7fb;background:#eef4ff;color:#555f6d}
.batch-alert.batch-alert-info b{background:#2aad16}
.batch-alert.batch-alert-info.compact{width:min(776px,100%);margin:8px 0 0}
.batch-number{height:32px}
.batch-number+span{display:inline-flex;align-items:center;height:32px;vertical-align:top}
.batch-form-row>label .shared-field-tip{vertical-align:middle}
.batch-field-tip{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid #9aa2a9;border-radius:50%;color:#7e878f;font-size:11px}
.batch-schedule-box{width:min(776px,100%);margin-top:4px;border:1px solid #dfe3e6;background:#fff}
.batch-schedule-control{display:flex;align-items:center;height:44px;padding:0 16px;background:#f5f6f7}
.batch-date-row{display:grid;grid-template-columns:92px 220px;align-items:center;min-height:32px}
.batch-date-row>label{display:flex;align-items:center;height:32px;color:#555}
.batch-date-wrap{width:220px;height:32px;margin:0}
.batch-date-wrap>.bc-date-input,.batch-date-wrap>.shared-time-picker{display:none!important}
.batch-date-wrap>.bc-single-datetime-picker{width:220px;height:32px}
.batch-schedule-tip{display:flex;align-items:center;gap:8px;height:54px;padding:0 16px;border-top:1px solid #e2e5e8;color:#90979d;font-size:12px}
.batch-schedule-tip b{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border:1px solid #9ba2a8;border-radius:50%;font-size:10px;font-weight:500}
.batch-guide{width:min(776px,100%);max-width:none;margin-top:4px}
.batch-text-link{margin-left:0}
.batch-lost-line{min-height:32px;display:flex;align-items:center;gap:28px}
.batch-lost-line>.batch-choice{margin:0}
.batch-lost-option{display:inline-flex;align-items:center;gap:4px}
.batch-lost-option>.batch-choice{margin:0}
.batch-lost-line .batch-text-link{height:32px;margin-left:-8px;padding:0;border:0;line-height:32px}
.batch-lost-line .shared-field-tip{height:32px}
.batch-lost-line .shared-field-tip-popover{left:0;transform:translateX(-34px)}
.batch-lost-line .shared-field-tip-popover::before{left:42px}
@media(max-width:1280px){.batch-create-scroll{padding-right:18px;padding-left:18px}.batch-form-row{padding-right:20px;padding-left:32px}}
