:root {
    --navy-950: #071426;
    --navy-900: #0b1f3a;
    --navy-800: #12345a;
    --blue-600: #246bfd;
    --blue-700: #1557d6;
    --cyan-100: #e8f5ff;
    --green-600: #16845b;
    --green-100: #e9f8f1;
    --amber-600: #a85d00;
    --amber-100: #fff5db;
    --red-600: #c93434;
    --red-100: #ffeded;
    --slate-900: #182230;
    --slate-700: #3d4b5f;
    --slate-500: #6c7889;
    --slate-300: #cdd5df;
    --slate-200: #e2e7ed;
    --slate-100: #f1f4f7;
    --surface: #ffffff;
    --background: #f5f7fa;
    --shadow: 0 14px 40px rgba(8, 28, 55, .08);
    --radius: 16px;
    --sidebar: 264px;
}

* { box-sizing: border-box; }
html { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--background); }
body { margin: 0; color: var(--slate-900); background: var(--background); font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--slate-900); background: #fff; border: 1px solid var(--slate-300); border-radius: 10px; outline: none; transition: border-color .18s, box-shadow .18s; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(36, 107, 253, .14); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: var(--red-600); }
label { display: grid; gap: 7px; color: var(--slate-700); font-size: 13px; font-weight: 650; }
small { color: var(--slate-500); }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; color: var(--slate-700); font-size: 13px; font-weight: 700; }
.field-error { display: block; margin-top: 2px; color: var(--red-600); font-size: 12px; }
.field-help { margin: -4px 0 10px; color: var(--slate-500); font-size: 13px; }
.uppercase { text-transform: uppercase; }
.block { display: block; margin-top: 3px; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .86em; }
.numeric { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eyebrow { margin: 0 0 3px; color: var(--blue-600); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow.light { color: #9ec6ff; }

.app-shell { display: grid; min-height: 100vh; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; z-index: 30; display: flex; flex-direction: column; height: 100vh; padding: 22px 16px 16px; color: #d8e6f7; background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 7px 9px 20px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.brand span:last-child { display: grid; }
.brand strong { color: #fff; font-size: 16px; }
.brand small { color: #93a9c2; font-size: 11px; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; color: #fff; background: linear-gradient(145deg, #3b86ff, #185dd9); border: 1px solid rgba(255, 255, 255, .2); border-radius: 11px; box-shadow: 0 8px 24px rgba(22, 92, 218, .32); font-size: 13px; font-weight: 900; letter-spacing: -.03em; }
.brand-mark-large { width: 52px; height: 52px; border-radius: 15px; font-size: 17px; }
.brand-logo { width: 38px; height: 38px; flex: 0 0 auto; padding: 3px; object-fit: contain; background: #fff; border-radius: 10px; }
.brand > span:last-child { min-width: 0; }
.brand > span:last-child strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-list { display: grid; gap: 5px; margin-top: 20px; }
.nav-link { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 44px; padding: 10px 12px; color: #b8cae0; background: transparent; border: 0; border-radius: 10px; text-align: left; transition: color .18s, background .18s; }
.nav-link:hover, .nav-link:focus-visible { color: #fff; background: rgba(255, 255, 255, .08); outline: none; }
.nav-link span { width: 18px; color: #7eaae2; text-align: center; }
.nav-button { font-size: inherit; }
.sidebar-footer { display: grid; gap: 4px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .09); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 10px 14px; min-width: 0; }
.user-chip > span:last-child { display: grid; min-width: 0; }
.user-chip strong, .user-chip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip strong { color: #fff; font-size: 13px; }
.user-chip small { color: #8ea5bf; font-size: 11px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: #dcebff; background: #173d6b; border-radius: 50%; font-weight: 800; }
.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 13px clamp(20px, 3vw, 44px); background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--slate-200); backdrop-filter: blur(14px); }
.topbar h1 { margin: 0; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.025em; }
.secure-badge { padding: 7px 10px; color: var(--green-600); background: var(--green-100); border-radius: 999px; font-size: 12px; font-weight: 750; }
.content { width: min(1500px, 100%); margin: 0 auto; padding: 28px clamp(18px, 3vw, 44px) 50px; }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.page-intro p { margin: 0; color: var(--slate-500); }
.welcome-title { margin: 0 0 4px; font-size: clamp(20px, 2vw, 27px); letter-spacing: -.025em; }
.card { margin-bottom: 20px; padding: 22px; background: var(--surface); border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: 0 2px 9px rgba(8, 28, 55, .025); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.018em; }
.section-heading p { margin: 4px 0 0; color: var(--slate-500); font-size: 13px; }
.narrow-card { width: min(650px, 100%); margin: 30px auto; }
.stack-form { display: grid; gap: 16px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions, .modal-footer, .button-row { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 750; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .6; transform: none; }
.button-primary { color: #fff; background: var(--blue-600); box-shadow: 0 7px 18px rgba(36, 107, 253, .2); }
.button-primary:hover { background: var(--blue-700); }
.button-secondary { color: var(--navy-800); background: #fff; border-color: var(--slate-300); }
.button-secondary:hover { border-color: #98a8bb; background: var(--slate-100); }
.button-ghost { color: var(--slate-700); background: transparent; }
.button-danger { color: #fff; background: var(--red-600); }
.button-block { width: 100%; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; color: var(--slate-700); background: transparent; border: 0; border-radius: 9px; font-size: 22px; }
.icon-button:hover { background: var(--slate-100); }
.mobile-only { display: none; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi-card { display: flex; align-items: center; gap: 15px; min-height: 112px; padding: 20px; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: 0 2px 9px rgba(8, 28, 55, .025); }
.kpi-card > div { display: grid; gap: 3px; min-width: 0; }
.kpi-card small { font-size: 12px; font-weight: 650; }
.kpi-card strong { overflow: hidden; font-size: clamp(22px, 2.6vw, 31px); letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.kpi-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; color: var(--blue-600); background: var(--cyan-100); border-radius: 13px; font-size: 21px; font-weight: 800; }
.kpi-icon.success { color: var(--green-600); background: var(--green-100); }
.kpi-icon.info { color: #236ca9; background: #e8f5ff; }
.kpi-icon.warning { color: var(--amber-600); background: var(--amber-100); }

.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--slate-200); text-align: left; vertical-align: middle; }
th { color: var(--slate-500); background: #f8fafc; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
td { font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfe; }
.table-link { color: var(--blue-600); font-weight: 750; white-space: nowrap; }
.table-actions { display: flex; flex-wrap: nowrap; gap: 6px; }
.table-action { padding: 6px 8px; color: var(--slate-700); background: #fff; border: 1px solid var(--slate-300); border-radius: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.table-action.danger { color: var(--red-600); border-color: #f1c3c3; }
.badge { display: inline-flex; padding: 4px 8px; color: var(--slate-700); background: var(--slate-100); border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .04em; white-space: nowrap; }
.badge-success { color: var(--green-600); background: var(--green-100); }
.badge-info { color: #236ca9; background: var(--cyan-100); }
.badge-warning { color: var(--amber-600); background: var(--amber-100); }
.badge-danger { color: var(--red-600); background: var(--red-100); }
.loading-state, .empty-state { display: grid; place-items: center; gap: 4px; min-height: 130px; color: var(--slate-500); text-align: center; }
.empty-state strong { color: var(--slate-700); }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding-top: 16px; }
.pagination button { min-width: 36px; height: 36px; padding: 0 9px; color: var(--slate-700); background: #fff; border: 1px solid var(--slate-300); border-radius: 8px; }
.pagination button.active { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.pagination button:disabled { opacity: .45; }

.filter-card { padding: 16px 18px; }
.filter-grid { display: grid; grid-template-columns: minmax(190px, 1.3fr) repeat(4, minmax(130px, .7fr)) minmax(220px, 1.3fr) auto; gap: 12px; align-items: end; }
.filter-grid.compact { grid-template-columns: minmax(260px, 1fr) minmax(150px, 220px) auto; }
.filter-search { min-width: 210px; }
.align-end { align-self: end; }

.modal { width: min(680px, calc(100vw - 30px)); max-height: calc(100vh - 36px); padding: 0; color: var(--slate-900); background: #fff; border: 0; border-radius: 18px; box-shadow: 0 28px 90px rgba(5, 20, 40, .28); overflow: hidden; }
.modal::backdrop { background: rgba(6, 18, 35, .62); backdrop-filter: blur(3px); }
.modal-small { width: min(500px, calc(100vw - 30px)); }
.modal-wide { width: min(940px, calc(100vw - 30px)); }
.modal form { display: contents; }
.modal-header, .modal-footer { padding: 18px 22px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--slate-200); }
.modal-header h2 { margin: 0; font-size: 20px; }
.modal-body { max-height: calc(100vh - 205px); padding: 20px 22px; overflow: auto; }
.modal-footer { border-top: 1px solid var(--slate-200); background: #fbfcfd; }
.drop-zone { place-items: center; min-height: 180px; padding: 22px; color: var(--slate-700); background: #f8fbff; border: 1.5px dashed #9bb9df; border-radius: 14px; text-align: center; cursor: pointer; }
.drop-zone.dragging { color: var(--blue-600); background: #edf5ff; border-color: var(--blue-600); }
.drop-zone input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.drop-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--blue-600); background: #e6f0ff; border-radius: 13px; font-size: 26px; }
.selected-files, .result-list { display: grid; gap: 7px; }
.file-pill, .result-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; background: var(--slate-100); border-radius: 9px; font-size: 12px; }
.result-item.success { color: var(--green-600); background: var(--green-100); }
.result-item.warning { color: var(--amber-600); background: var(--amber-100); }
.result-item.error { color: var(--red-600); background: var(--red-100); }
.helper-panel { margin: 0; padding: 13px 14px; color: #285c91; background: var(--cyan-100); border-radius: 10px; font-size: 13px; }
.helper-panel.helper-success { color: var(--green-600); background: var(--green-100); }
.helper-panel.helper-warning { color: #7b5200; background: var(--amber-100); }
.helper-panel h3, .helper-panel h4 { margin: 0 0 8px; }
.helper-panel h4 { margin-top: 14px; font-size: 13px; }
.helper-panel ul { margin: 6px 0 0; padding-left: 20px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.scroll-choices { max-height: 220px; padding: 2px; overflow: auto; }
.choice { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 9px; padding: 10px; background: #fff; border: 1px solid var(--slate-200); border-radius: 10px; cursor: pointer; }
.choice:has(input:checked) { background: #f0f6ff; border-color: #8eb6ef; }
.choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.choice input { width: 17px; height: 17px; min-height: 0; }
.choice span { display: grid; min-width: 0; }
.choice strong { font-size: 12px; }
.choice small { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.secret-box { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--navy-950); border-radius: 11px; }
.secret-box code { flex: 1; overflow-wrap: anywhere; color: #d9eaff; font-size: 15px; }

.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.settings-logo-card { position: sticky; top: 104px; display: grid; gap: 16px; }
.logo-preview { display: grid; place-items: center; min-height: 170px; padding: 20px; background: var(--slate-100); border: 1px dashed var(--slate-300); border-radius: 14px; }
.logo-preview img { max-width: 100%; max-height: 130px; object-fit: contain; }
.settings-number-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-list { display: grid; gap: 0; margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 145px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--slate-200); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--slate-500); font-size: 12px; font-weight: 700; }
.detail-list dd { margin: 0; font-weight: 600; }
.subsection + .subsection { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--slate-200); }
.subsection h3 { margin: 0 0 12px; font-size: 14px; }

.toast-region { position: fixed; z-index: 100; top: 18px; right: 18px; display: grid; gap: 10px; width: min(390px, calc(100vw - 36px)); pointer-events: none; }
.toast { display: grid; grid-template-columns: 5px 1fr auto; gap: 11px; align-items: start; padding: 13px 14px 13px 0; overflow: hidden; color: var(--slate-700); background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; box-shadow: var(--shadow); pointer-events: auto; animation: toastIn .22s ease-out; }
.toast::before { align-self: stretch; content: ""; background: var(--blue-600); }
.toast.success::before { background: var(--green-600); }
.toast.warning::before { background: var(--amber-600); }
.toast.error::before { background: var(--red-600); }
.toast strong { display: block; color: var(--slate-900); font-size: 13px; }
.toast p { margin: 2px 0 0; font-size: 12px; }
.toast button { color: var(--slate-500); background: none; border: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }
.alert { margin-bottom: 16px; padding: 11px 13px; border-radius: 9px; font-size: 13px; }
.alert-success { color: var(--green-600); background: var(--green-100); }
.alert-error { color: var(--red-600); background: var(--red-100); }

.login-page { min-height: 100vh; background: linear-gradient(135deg, #08172b 0%, #0e2a4a 46%, #eaf1f9 46%, #f7f9fb 100%); }
.login-shell { display: grid; grid-template-columns: 1.1fr minmax(380px, .7fr); align-items: center; gap: clamp(50px, 8vw, 120px); width: min(1180px, calc(100% - 40px)); min-height: 100vh; margin: auto; padding: 40px 0; }
.login-intro { max-width: 570px; color: #c4d3e6; }
.login-intro h1 { margin: 18px 0 16px; color: #fff; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.055em; }
.login-intro > p:not(.eyebrow) { max-width: 510px; color: #a9bdd4; font-size: 17px; }
.feature-list { display: grid; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li::before { margin-right: 9px; color: #65e4ad; content: "✓"; font-weight: 900; }
.login-card { width: 100%; padding: clamp(28px, 4vw, 42px); background: rgba(255, 255, 255, .98); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; box-shadow: 0 30px 90px rgba(1, 15, 33, .25); }
.login-heading { margin-bottom: 24px; }
.login-heading h2 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.login-heading p:last-child { margin: 6px 0 0; color: var(--slate-500); }
.privacy-note { margin: 18px 0 0; color: var(--slate-500); font-size: 11px; text-align: center; }
.auth-centered-shell { display: grid; place-items: center; width: min(520px, calc(100% - 30px)); min-height: 100vh; margin: auto; padding: 30px 0; }
.auth-card { padding: clamp(28px, 5vw, 42px); }
.auth-card h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.04em; }
.auth-back-link { display: inline-flex; margin-bottom: 22px; color: var(--blue-600); font-size: 13px; font-weight: 750; }
.auth-link-row { display: flex; justify-content: flex-end; margin-top: -7px; }
.auth-link-row a { color: var(--blue-600); font-size: 12px; font-weight: 700; }
.password-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 14px; margin: -7px 0 0; padding: 0; color: var(--slate-500); font-size: 12px; list-style: none; }
.password-rules li::before { margin-right: 6px; content: "○"; }
.password-rules li.valid { color: var(--green-600); }
.password-rules li.valid::before { content: "✓"; font-weight: 900; }
.error-card { display: grid; place-items: center; max-width: 600px; min-height: 360px; margin: 30px auto; padding: 36px; background: #fff; border: 1px solid var(--slate-200); border-radius: 20px; text-align: center; }
.error-card.standalone { margin-top: 10vh; }
.error-card > span { color: #b8c7d8; font-size: 72px; font-weight: 900; letter-spacing: -.07em; }
.error-card h1, .error-card h2 { margin: 0; }
.error-card p { color: var(--slate-500); }
.sidebar-scrim { position: fixed; z-index: 25; inset: 0; background: rgba(5, 16, 31, .55); }

@media (max-width: 1180px) {
    .filter-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
    .align-end { min-height: 44px; }
    .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .settings-number-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
    .app-shell { display: block; }
    .sidebar { position: fixed; left: 0; transform: translateX(-105%); width: min(300px, 86vw); transition: transform .22s ease; }
    .sidebar.open { transform: translateX(0); }
    .mobile-only { display: inline-grid; }
    .topbar { justify-content: flex-start; gap: 13px; }
    .secure-badge { margin-left: auto; }
    .detail-grid { grid-template-columns: 1fr; gap: 0; }
    .settings-layout { grid-template-columns: 1fr; }
    .settings-logo-card { position: static; }
    .login-page { background: var(--navy-950); }
    .login-shell { grid-template-columns: 1fr; gap: 28px; width: min(560px, calc(100% - 30px)); }
    .login-intro { padding-top: 10px; }
    .login-intro h1 { font-size: 40px; }
}

@media (max-width: 620px) {
    .content { padding: 20px 13px 40px; }
    .topbar { min-height: 72px; padding: 11px 13px; }
    .topbar h1 { font-size: 18px; }
    .secure-badge { display: none; }
    .page-intro { align-items: stretch; flex-direction: column; }
    .button-row .button { flex: 1; }
    .card { padding: 16px; border-radius: 13px; }
    .kpi-grid, .kpi-grid-three { grid-template-columns: 1fr; gap: 10px; }
    .kpi-card { min-height: 88px; padding: 15px; }
    .filter-grid, .filter-grid.compact, .two-columns, .choice-grid, .settings-number-grid { grid-template-columns: 1fr; }
    .filter-search { min-width: 0; }
    .modal { max-height: calc(100vh - 14px); }
    .modal-body { max-height: calc(100vh - 180px); padding: 17px; }
    .modal-header, .modal-footer { padding: 15px 17px; }
    .detail-list > div { grid-template-columns: 1fr; gap: 3px; }
    .login-shell { padding: 24px 0; }
    .login-intro h1 { font-size: 34px; }
    .login-intro > p:not(.eyebrow), .feature-list { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.batch-history-card { margin-bottom: 1rem; }
.batch-history { display: grid; gap: .7rem; }
.batch-row { border: 1px solid var(--border, #dbe3ef); border-radius: 12px; padding: .8rem 1rem; background: #fff; }
.batch-row-head, .batch-summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.batch-row strong { display: block; }
.batch-row small { color: #64748b; }
.batch-progress { height: 8px; margin: .65rem 0; overflow: hidden; border-radius: 999px; background: #e8eef7; }
.batch-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #286cff; transition: width .35s ease; }
.batch-summary { justify-content: flex-start; font-size: .8rem; color: #475569; }
.batch-summary span { white-space: nowrap; }
.batch-detail { display: grid; gap: .5rem; width: 100%; }
.batch-status-error .batch-progress > span { background: #dc2626; }
.batch-status-warning .batch-progress > span { background: #d97706; }
.text-danger { color: var(--red-600); }
.selection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border, #dce4ef);
    background: #f8fbff;
}

.selection-toolbar input[type="checkbox"],
table input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #2563eb;
}
