
/* Compact batch management with direct, confirmable actions. */
.xw-batch-history { width:min(1180px,100%); padding:28px 30px 0; }
.xw-batch-history-heading { margin-bottom:22px; }
.xw-batch-history-heading h2 { font-size:24px; letter-spacing:-.3px; }
.xw-batch-history-toolbar { margin-bottom:22px; gap:20px; }
.xw-batch-status-filters { gap:6px; }
.xw-batch-status-filters button { height:36px; padding:0 14px; gap:7px; font-size:14px; border-radius:8px; }
.xw-batch-search { height:36px; flex-basis:280px; font-size:13px; }
.xw-batch-history-search-filters { gap:10px; }
.xw-batch-history .ledger-date-trigger { height:36px; min-width:106px; }
.xw-batch-history .ledger-date-trigger-main { height:34px; min-width:102px; font-size:13px; }
.xw-batch-history-scroll { scrollbar-gutter:auto; border:1px solid #e6ebf2; border-radius:10px; }
.xw-batch-history-table th { padding:11px 16px; font-size:13px; font-weight:500; color:#64748b; }
.xw-batch-history-table td { height:auto; padding:18px 16px; }
.xw-batch-history-table tbody tr:last-child td { border-bottom:0; }
.xw-batch-history-table th:last-child { text-align:right; }
.xw-batch-col-id { width:23%; }
.xw-batch-col-accounts { width:25%; }
.xw-batch-col-progress { width:22%; }
.xw-batch-col-actions { width:30%; }
.xw-batch-progress { max-width:180px; }
.xw-batch-progress-track { margin:8px 0 6px; height:4px; }
.xw-batch-pending strong { font-size:18px; color:#344054; }
.xw-batch-row-actions { flex-direction:row; align-items:center; justify-content:flex-end; gap:14px; }
.xw-batch-row-actions > * { flex:0 0 auto; }
.xw-batch-action { min-width:0; height:32px; padding:0 12px; font-size:13px!important; }
.xw-batch-view { font-size:13px!important; }
.xw-reversal-direct { display:inline-flex; align-items:center; justify-content:center; padding:6px 0; border:0; background:transparent; color:#9a5552; font-size:13px;line-height:1.5;font-family:inherit; white-space:nowrap; cursor:pointer; }
.xw-reversal-direct:hover { color:#b42318; text-decoration:underline; }
.xw-reversal-direct:focus-visible { outline:2px solid #1765ff; outline-offset:4px; border-radius:3px; }
.xw-batch-history .xw-reversal-direct { font-size:13px; }
.accounts-batch-primary-action > .xw-reversal-direct { border:0; padding:8px 4px; color:#9a5552; background:transparent; box-shadow:none; font-size:13px; }
.xw-batch-history-footer { min-height:58px; padding:14px 0; font-size:13px; }
.xw-batch-history-footer nav { gap:6px; }
.xw-batch-history-footer nav button,.xw-batch-page { min-width:30px; height:30px; font-size:13px; }
@media(min-width:701px) and (max-width:1050px) {
 .xw-batch-history { padding:24px 22px 0; }
 .xw-batch-history-table td,.xw-batch-history-table th { padding-left:10px; padding-right:10px; }
 .xw-batch-col-id { width:23%; }.xw-batch-col-accounts { width:21%; }.xw-batch-col-progress { width:22%; }.xw-batch-col-actions { width:34%; }
 .xw-batch-row-actions { gap:9px; }.xw-batch-action { padding:0 8px; }
}
@media(max-width:700px) {
 .xw-batch-history { padding:20px 16px 0; }
 .xw-batch-history-heading { margin-bottom:18px; }
 .xw-batch-history-heading h2 { font-size:22px; }
 .xw-batch-history-toolbar { margin-bottom:16px; }
 .xw-batch-history-table tr { padding:16px 10px; grid-template-columns:1fr 1fr; }
 .xw-batch-history-table td { padding:0 4px; }
 .xw-batch-history-table td:last-child { grid-column:1 / -1; }
 .xw-batch-row-actions { justify-content:flex-end; gap:18px; }
 .xw-batch-progress { max-width:none; }
}

.accounts-page .accounts-batch-detail-pane .accounts-batch-primary-action { display:flex; width:max-content; max-width:100%; gap:14px; }
.accounts-page .accounts-batch-detail-pane .accounts-batch-primary-action > button { flex:0 0 auto; width:auto; white-space:nowrap; }
.accounts-page .accounts-batch-detail-pane .accounts-batch-primary-action > .xw-reversal-direct { border:0; padding:6px 0; background:transparent; color:#9a5552; box-shadow:none; font-weight:400; }
.accounts-page .accounts-batch-detail-pane .accounts-batch-primary-action > .xw-reversal-direct:hover { color:#b42318; background:transparent; box-shadow:none; }
@media(max-width:700px) { .accounts-page .accounts-batch-detail-pane .accounts-batch-primary-action { flex-wrap:wrap; justify-content:flex-start; } }
