/* Import workflow refinements */
.import-step-icon svg, .import-dropzone-icon svg, .import-empty-row svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.import-dropzone-icon { display: grid; place-items: center; }
.import-dropzone-icon svg { width: 2.5rem; height: 2.5rem; }
.import-source-cell { display: flex; min-width: 13rem; align-items: center; gap: .7rem; }
.import-source-cell > div { min-width: 0; }
.import-source-cell strong, .import-source-cell small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-source-icon { display: grid; width: 2.35rem; height: 2.35rem; flex: 0 0 2.35rem; place-items: center; border-radius: .65rem; color: #15803D; background: #E8F6ED; }
.import-source-icon svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.import-row-actions { display: flex; justify-content: flex-end; gap: .4rem; }
.import-icon-action { display: inline-grid; width: 2.35rem; height: 2.35rem; padding: 0; place-items: center; color: #15803D; border: 1px solid #BFE3CC; border-radius: .58rem; background: #fff; cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.import-icon-action:hover { color: #111111; border-color: #16A34A; background: #F5F6F7; }
.import-icon-action svg { width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.import-icon-action.import-delete-trigger { color: #DC2626; }
.import-icon-action.import-delete-trigger:hover { border-color: #F3B8B8; background: #FCEAEA; }
.import-icon-action.is-disabled { color: #6F6F6F; cursor: not-allowed; background: #F5F6F7; opacity: .72; }
.import-delete-dialog { width: min(31rem, calc(100vw - 2rem)); padding: 0; color: #111111; border: 0; border-radius: 1rem; box-shadow: 0 24px 80px rgb(17 17 17 / 28%); }
.import-delete-dialog::backdrop { background: rgb(17 17 17 / 52%); backdrop-filter: blur(2px); }
.import-delete-dialog form { display: grid; justify-items: center; gap: .8rem; padding: 1.6rem; text-align: center; }
.import-dialog-icon { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; color: #DC2626; border-radius: 50%; background: #FCEAEA; }
.import-dialog-icon svg { width: 1.65rem; height: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.import-delete-dialog h2 { margin: 0; font-size: 1.2rem; }
.import-delete-dialog p { margin: 0; color: #6F6F6F; line-height: 1.55; }
.import-dialog-actions { display: flex; width: 100%; justify-content: flex-end; gap: .6rem; margin-top: .35rem; }
.button-danger { color: #fff; border-color: #DC2626; background: #DC2626; }
.button-danger:hover { color: #fff; border-color: #B91C1C; background: #B91C1C; }

.batch-review-page { display: grid; gap: 1.05rem; max-width: 100%; padding-bottom: 2.5rem; color: #111111; }
.batch-review-header { display: grid; gap: .65rem; }
.batch-back-link { width: fit-content; color: #15803D; font-size: .78rem; font-weight: 750; text-decoration: none; }
.batch-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.batch-title-row h1 { max-width: 68rem; margin: 0; color: #111111; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.12; overflow-wrap: anywhere; }
.batch-title-row p { margin: .35rem 0 0; color: #6F6F6F; font-size: .76rem; }
.batch-status-badge, .batch-pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 750; white-space: nowrap; }
.batch-status-badge { flex: 0 0 auto; padding: .42rem .7rem; font-size: .7rem; }
.batch-status-badge.is-error, .batch-pill.is-error { color: #DC2626; background: #FCEAEA; }
.batch-status-badge.is-ready, .batch-pill.is-ready { color: #15803D; background: #E8F6ED; }
.batch-pill.is-warning { color: #92400E; background: #FEF5E7; }
.batch-pill.is-done { color: #355C8A; background: #EEF3F8; }
.batch-pill { padding: .28rem .52rem; font-size: .65rem; }
.batch-summary-card, .batch-workflow, .batch-panel { border: 1px solid #D4D4D4; border-radius: 1rem; background: #fff; box-shadow: 0 8px 26px rgb(17 17 17 / 5%); }
.batch-summary-card { display: grid; overflow: hidden; align-items: center; grid-template-columns: minmax(15rem, 1.45fr) repeat(5, minmax(6.2rem, .8fr)); }
.batch-source-summary { display: flex; min-width: 0; align-items: center; gap: .75rem; padding: 1rem; }
.batch-source-icon, .batch-panel-icon { display: grid; flex: 0 0 auto; place-items: center; color: #15803D; background: #E8F6ED; }
.batch-source-icon { width: 3rem; height: 3rem; border-radius: .75rem; }
.batch-source-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.batch-source-summary > div { display: grid; min-width: 0; gap: .08rem; }
.batch-source-summary small, .batch-metric dt { color: #6F6F6F; font-size: .64rem; font-weight: 700; }
.batch-source-summary strong { overflow: hidden; color: #111111; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.batch-source-summary span { overflow: hidden; color: #6F6F6F; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.batch-metric { display: block; min-width: 0; margin: 0; padding: .9rem 1rem; border-left: 1px solid #D4D4D4; }
.batch-metric dt, .batch-metric dd { margin: 0; }
.batch-metric dd { margin-top: .28rem; overflow: hidden; color: #111111; font-size: 1rem; font-weight: 780; text-overflow: ellipsis; white-space: nowrap; }
.batch-metric.is-error dd { color: #DC2626; }
.batch-summary-footer { display: flex; min-height: 3.45rem; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; border-top: 1px solid #D4D4D4; color: #6F6F6F; font-size: .7rem; grid-column: 1 / -1; }
.batch-summary-footer svg, .batch-review-link svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-quiet { color: #15803D; background: #fff; }
.batch-workflow { display: grid; padding: .65rem .85rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.batch-workflow-step { position: relative; display: flex; min-width: 0; align-items: center; gap: .65rem; padding: .5rem .75rem; color: #6F6F6F; text-decoration: none; }
.batch-workflow-step:not(:last-child)::after { position: absolute; top: 50%; right: -1rem; width: 2rem; border-top: 1px solid #BFE3CC; content: ""; }
.batch-workflow-step > span { display: grid; width: 1.8rem; height: 1.8rem; flex: 0 0 1.8rem; place-items: center; border-radius: 50%; color: #6F6F6F; background: #F5F6F7; font-size: .72rem; font-weight: 800; }
.batch-workflow-step div { display: grid; min-width: 0; gap: .12rem; }
.batch-workflow-step strong { overflow: hidden; color: #4B4B4B; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.batch-workflow-step small { overflow: hidden; color: #6F6F6F; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.batch-workflow-step.is-current > span, .batch-workflow-step.is-complete > span { color: #fff; background: #15803D; }
.batch-workflow-step.is-current strong, .batch-workflow-step.is-complete strong { color: #111111; }
.batch-workflow-step.is-disabled { cursor: not-allowed; opacity: .62; }
.batch-stage-layout { display: grid; align-items: start; gap: 1rem; grid-template-columns: minmax(0, 2.15fr) minmax(18rem, .85fr); }
.batch-stage-layout.batch-stage-mapping { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.batch-panel { min-width: 0; padding: 1rem; }
.batch-panel-heading { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem; }
.batch-panel-icon { width: 2.35rem; height: 2.35rem; border-radius: .65rem; font-size: 1rem; font-weight: 800; }
.batch-panel-heading h2, .batch-insights h2 { margin: 0; color: #111111; font-size: 1rem; }
.batch-panel-heading p { margin: .24rem 0 0; color: #6F6F6F; font-size: .7rem; line-height: 1.45; }
.batch-callout { display: grid; gap: .18rem; margin: .8rem 0; padding: .8rem; border: 1px solid; border-radius: .7rem; font-size: .7rem; }
.batch-callout strong { font-size: .75rem; }
.batch-callout span { color: #6F6F6F; line-height: 1.45; }
.batch-callout.is-success { color: #15803D; border-color: #BFE3CC; background: #F5F6F7; }
.batch-callout.is-warning { color: #92400E; border-color: #F6D79A; background: #FEF5E7; }
.batch-callout.is-error { color: #B91C1C; border-color: #F3B8B8; background: #FCEAEA; }
.batch-help { color: #6F6F6F; font-size: .68rem; line-height: 1.45; }
.batch-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .85rem; }
.batch-panel-actions form { margin: 0; }
.batch-panel-actions.is-end { justify-content: flex-end; }
.batch-table-wrap { width: 100%; overflow: auto; margin-top: .8rem; border: 1px solid #D4D4D4; border-radius: .65rem; }
.batch-mapping-preview { max-height: 27rem; }
.batch-preview-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .75rem; color: #6F6F6F; font-size: .78rem; }
.batch-preview-footer .button { min-height: 2.2rem; padding: .45rem .7rem; }
.batch-table { width: 100%; min-width: 42rem; border-collapse: collapse; font-size: .69rem; }
.batch-table th { padding: .65rem .7rem; color: #4B4B4B; background: #F5F6F7; font-size: .6rem; font-weight: 800; text-align: left; text-transform: uppercase; white-space: nowrap; }
.batch-table td { padding: .68rem .7rem; color: #4B4B4B; border-top: 1px solid #D4D4D4; vertical-align: middle; }
.batch-table td strong { color: #111111; }
.batch-table td small { display: block; margin-top: .2rem; color: #6F6F6F; font-size: .6rem; }
.batch-description-cell { max-width: 15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.batch-row-errors { color: #DC2626 !important; }
.batch-empty { padding: 1.25rem !important; color: #6F6F6F !important; text-align: center; }
.batch-table input, .batch-table select, .batch-inline-form input, .batch-create-form input { min-height: 2.25rem; }
.batch-stat-grid { display: grid; gap: .65rem; margin: 1rem 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.batch-stat-grid > div { display: grid; padding: .75rem; border: 1px solid #D4D4D4; border-radius: .65rem; text-align: center; }
.batch-stat-grid strong { color: #111111; font-size: 1rem; }
.batch-stat-grid span { margin-top: .12rem; color: #6F6F6F; font-size: .62rem; }
.batch-subheading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid #D4D4D4; }
.batch-subheading h3, .batch-table-toolbar h3, .batch-insights h3 { margin: 0; color: #111111; font-size: .78rem; }
.batch-subheading span, .batch-table-toolbar span { color: #6F6F6F; font-size: .62rem; }
.batch-issue-grid { display: grid; gap: .55rem; margin: .75rem 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.batch-issue-grid > a { display: grid; min-width: 0; align-items: center; gap: .45rem; padding: .55rem .65rem; color: #111111; border: 1px solid #D4D4D4; border-radius: .6rem; text-decoration: none; grid-template-columns: auto minmax(0, 1fr) auto; }
.batch-issue-grid > a span { color: #DC2626; }
.batch-issue-grid > a strong { overflow: hidden; font-size: .61rem; text-overflow: ellipsis; white-space: nowrap; }
.batch-issue-grid > a b { color: #DC2626; font-size: .7rem; }
.batch-review-link { display: inline-flex; align-items: center; gap: .3rem; color: #15803D; font-weight: 750; text-decoration: none; }
.batch-insights { position: sticky; top: calc(var(--topbar-height, 4.5rem) + 1rem); }
.batch-progress-ring { display: grid; width: 6.1rem; height: 6.1rem; margin: 1rem auto; place-content: center; border-radius: 50%; background: radial-gradient(circle at center, #fff 56%, transparent 57%), conic-gradient(#15803D calc(var(--progress) * 1%), #F5F6F7 0); text-align: center; }
.batch-progress-ring strong { color: #111111; font-size: 1.15rem; }
.batch-progress-ring span { color: #6F6F6F; font-size: .62rem; }
.batch-insights dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.batch-insights dl > div { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .55rem 0; border-bottom: 1px solid #D4D4D4; font-size: .68rem; }
.batch-insights dt { display: flex; align-items: center; gap: .4rem; color: #6F6F6F; }
.batch-insights dd { margin: 0; color: #111111; font-weight: 750; }
.batch-insights .is-total { margin-bottom: .8rem; border-bottom: 0; font-weight: 800; }
.dot { width: .45rem; height: .45rem; border-radius: 50%; background: #6F6F6F; }
.dot.is-ready { background: #15803D; }.dot.is-warning { background: #F59E0B; }.dot.is-error { background: #DC2626; }.dot.is-muted { background: #6F6F6F; }
.batch-issue-bars { display: grid; gap: .55rem; margin: .7rem 0 1rem; padding: 0; list-style: none; }
.batch-issue-bars li { display: grid; min-width: 0; align-items: center; gap: .45rem; color: #6F6F6F; font-size: .6rem; grid-template-columns: minmax(0, 1fr) 4rem auto; }
.batch-issue-bars li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.batch-issue-bars li > i { overflow: hidden; height: .2rem; border-radius: 999px; background: #F5F6F7; }
.batch-issue-bars li > i b { display: block; height: 100%; border-radius: inherit; background: #DC2626; }
.batch-issue-bars li > strong { color: #111111; }
.batch-create-form { display: flex; align-items: end; gap: .65rem; padding: .9rem; border: 1px solid #D4D4D4; border-radius: .7rem; background: #F5F6F7; }
.batch-create-form label { display: grid; flex: 1; gap: .3rem; color: #4B4B4B; font-size: .67rem; }
.batch-create-form button:disabled { cursor: not-allowed; opacity: .45; }
.batch-table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.batch-table-toolbar > div { display: grid; gap: .12rem; }
.batch-next-list { display: grid; gap: .75rem; padding-left: 1.35rem; color: #6F6F6F; font-size: .68rem; line-height: 1.45; }
.batch-next-list li::marker { color: #15803D; font-weight: 800; }
.batch-inline-form { display: flex; align-items: end; gap: .6rem; }
.batch-inline-form label { display: grid; flex: 1; gap: .3rem; font-size: .67rem; }
.batch-row-form { display: grid; gap: .35rem; min-width: 14rem; }
.batch-row-form button:disabled { cursor: not-allowed; opacity: .55; }
.provider-account-apply { display: grid; align-items: end; gap: .65rem; margin: .85rem 0; padding: .8rem; border: 1px solid #D4D4D4; border-radius: .7rem; background: #F5F6F7; grid-template-columns: minmax(16rem, 1fr) auto minmax(14rem, 1fr); }
.provider-account-apply label { display: grid; gap: .3rem; color: #4B4B4B; font-size: .68rem; font-weight: 750; }
.provider-account-apply select { min-height: 2.45rem; }
.provider-account-apply small { align-self: center; color: #6F6F6F; font-size: .65rem; line-height: 1.45; }
.statement-guide { scroll-margin-top: calc(var(--topbar-height, 4.5rem) + 1rem); }
.statement-workflow .batch-workflow-step.is-current > span, .statement-workflow .batch-workflow-step.is-complete > span { background: var(--product, #355C8A); }
.statement-guide .batch-panel-icon { color: var(--product, #355C8A); background: #EEF3F8; }
.statement-guide .batch-panel-icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.statement-account-form { display: flex; align-items: end; flex-wrap: wrap; gap: .65rem; }
.statement-account-form label, .statement-draft-form label { display: grid; flex: 1 1 18rem; gap: .35rem; color: #4B4B4B; font-size: .7rem; font-weight: 750; }
.statement-account-form label { max-width: 42rem; }
.statement-account-form select, .statement-draft-form input { min-height: 2.45rem; width: 100%; }
.statement-account-form .button, .statement-draft-form .button { min-height: 2.45rem; }
.statement-guide > .batch-help { margin: .75rem 0; }
.statement-progress { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0; }
.statement-progress span { padding: .4rem .65rem; border: 1px solid var(--border, #D4D4D4); border-radius: .55rem; color: var(--product, #355C8A); background: #F5F6F7; font-size: .68rem; font-weight: 750; }
.statement-draft-form { display: flex; align-items: end; flex-wrap: wrap; gap: .65rem; margin: .75rem 0; }
.statement-review-cell { min-width: 9rem; }
.statement-review-cell.has-separate-refund-review { min-width: 19rem; }
.statement-review-cell .button { margin-top: .3rem; }
.statement-review-cell .batch-row-note { display: block; margin-top: .25rem; color: var(--muted, #6F6F6F); }
.separate-refund-review { margin-top: .4rem; max-width: 17rem; }
.separate-refund-review summary { cursor: pointer; color: var(--product, #355C8A); font-size: .7rem; font-weight: 750; }
.separate-refund-review summary:focus-visible { outline: 2px solid var(--product, #355C8A); outline-offset: 2px; }
.separate-refund-review form { display: grid; gap: .5rem; padding: .6rem 0; }
.separate-refund-review label { display: grid; gap: .25rem; color: var(--ink, #111111); font-size: .68rem; line-height: 1.4; }
.separate-refund-review textarea { box-sizing: border-box; width: 100%; min-height: 4.5rem; padding: .45rem; border: 1px solid var(--border, #D4D4D4); border-radius: .4rem; font: inherit; resize: vertical; }
.separate-refund-review .separate-refund-confirm { display: flex; align-items: start; gap: .35rem; }
.separate-refund-confirm input { margin: .2rem 0 0; }
.statement-review-dialog { width: min(31rem, calc(100vw - 2rem)); max-height: min(85vh, 48rem); padding: 0; border: 1px solid var(--border, #D4D4D4); border-radius: .9rem; box-shadow: 0 1rem 3rem rgb(17 17 17 / 20%); color: #111111; }
.statement-review-dialog::backdrop { background: rgb(17 17 17 / 45%); }
.statement-review-dialog form { display: grid; gap: .8rem; padding: 1.15rem; }
.statement-dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.statement-dialog-header small { color: #6F6F6F; font-size: .68rem; }
.statement-dialog-header h2 { margin: .2rem 0 0; font-size: 1.15rem; overflow-wrap: anywhere; }
.statement-dialog-amount { margin: 0; color: var(--product, #355C8A); font-size: 1.05rem; font-weight: 800; }
.statement-review-dialog .batch-help { margin: 0; }
.statement-review-dialog label { display: grid; gap: .35rem; color: #4B4B4B; font-size: .72rem; font-weight: 700; }
.statement-review-dialog select { min-height: 2.5rem; width: 100%; }
.statement-review-dialog .statement-remember { display: flex; align-items: center; gap: .4rem; font-weight: 500; line-height: 1.4; }
.statement-review-dialog .statement-remember[hidden] { display: none; }
.statement-dialog-actions { display: flex; justify-content: flex-end; gap: .6rem; }
.button-small { min-height: 2rem; padding: .35rem .55rem; font-size: .65rem; }
.provider-review-card { overflow: hidden; border: 1px solid #BFE3CC; border-radius: 1rem; background: #fff; box-shadow: 0 8px 26px rgb(17 17 17 / 5%); }
.provider-review-card > header { display: grid; align-items: center; gap: .75rem; padding: 1rem; border-bottom: 1px solid #D4D4D4; grid-template-columns: auto minmax(0, 1fr) auto; }
.provider-review-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; color: #15803D; border-radius: .75rem; background: #E8F6ED; }
.provider-review-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.provider-review-card header > div { min-width: 0; }
.provider-review-card .eyebrow { margin: 0 0 .12rem; color: #15803D; font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.provider-review-card h2 { margin: 0; color: #111111; font-size: 1rem; }
.provider-review-card header p:last-child { margin: .18rem 0 0; color: #6F6F6F; font-size: .65rem; }
.provider-reconciliation-badge { padding: .35rem .58rem; border-radius: 999px; font-size: .65rem; font-weight: 800; }
.provider-review-metrics { display: grid; margin: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.provider-review-metrics > div { min-width: 0; padding: .75rem 1rem; border-right: 1px solid #D4D4D4; }
.provider-review-metrics dt { color: #6F6F6F; font-size: .6rem; font-weight: 700; }
.provider-review-metrics dd { margin: .25rem 0 0; overflow: hidden; color: #111111; font-size: .75rem; font-weight: 780; text-overflow: ellipsis; white-space: nowrap; }
.provider-reconciliation-note { display: flex; align-items: center; gap: .65rem; padding: .7rem 1rem; border-top: 1px solid #D4D4D4; font-size: .68rem; }
.provider-reconciliation-note span { color: #6F6F6F; }
.provider-review-card.is-mismatch .provider-reconciliation-note { color: #DC2626; background: #FCEAEA; }
.provider-review-card.is-mismatch .provider-reconciliation-badge { color: #DC2626; background: #FCEAEA; }
.provider-review-card.is-reconciled .provider-reconciliation-note { color: #15803D; background: #F5F6F7; }
.provider-review-card.is-reconciled .provider-reconciliation-badge { color: #15803D; background: #E8F6ED; }
.provider-review-card.is-partial .provider-reconciliation-badge { color: #92400E; background: #FEF5E7; }
.provider-warning-list { display: grid; gap: .3rem; margin: 0; padding: .7rem 1rem .8rem 2rem; color: #92400E; background: #FEF5E7; font-size: .65rem; }
@media (max-width: 78rem) {
  .batch-summary-card { grid-template-columns: minmax(14rem, 1.5fr) repeat(3, minmax(6.2rem, 1fr)); }
  .batch-metric:nth-of-type(n+4) { border-top: 1px solid #D4D4D4; }
  .batch-stage-layout, .batch-stage-layout.batch-stage-mapping { grid-template-columns: 1fr; }
  .batch-insights { position: static; }
  .provider-review-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .provider-review-metrics > div:nth-child(n+4) { border-top: 1px solid #D4D4D4; }
}
@media (max-width: 58rem) {
  .batch-title-row { align-items: flex-start; flex-direction: column; }
  .batch-summary-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .batch-source-summary { grid-column: 1 / -1; }
  .batch-metric { border-top: 1px solid #D4D4D4; }
  .batch-workflow { grid-template-columns: 1fr; }
  .batch-workflow-step:not(:last-child)::after { display: none; }
  .batch-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .batch-issue-grid { grid-template-columns: 1fr; }
  .provider-review-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-review-metrics > div:nth-child(n+3) { border-top: 1px solid #D4D4D4; }
  .provider-account-apply { align-items: stretch; grid-template-columns: 1fr; }
  .provider-account-apply .button { justify-content: center; width: 100%; }
  .statement-account-form, .statement-draft-form { align-items: stretch; flex-direction: column; }
  .statement-account-form label, .statement-draft-form label { flex-basis: auto; }
  .statement-account-form .button, .statement-draft-form .button { justify-content: center; width: 100%; }
  .statement-review-dialog { width: 100%; max-height: 88dvh; margin: auto 0 0; border-radius: .95rem .95rem 0 0; }
  .statement-dialog-actions .button { flex: 1; justify-content: center; }
}
@media (max-width: 42rem) {
  .batch-summary-card { grid-template-columns: 1fr 1fr; }
  .batch-summary-footer, .batch-create-form, .batch-inline-form { align-items: stretch; flex-direction: column; }
  .batch-summary-footer .button, .batch-create-form .button, .batch-inline-form .button { justify-content: center; width: 100%; }
  .batch-panel { padding: .8rem; }
  .import-dialog-actions { flex-direction: column-reverse; }
  .import-dialog-actions .button { justify-content: center; width: 100%; }
  .provider-review-card > header { align-items: start; grid-template-columns: auto minmax(0, 1fr); }
  .provider-reconciliation-badge { grid-column: 1 / -1; }
  .provider-review-metrics { grid-template-columns: 1fr; }
  .provider-review-metrics > div { border-top: 1px solid #D4D4D4; border-right: 0; }
  .provider-reconciliation-note { align-items: flex-start; flex-direction: column; }
}
