:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f6fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{color:#172033;background:#f4f6fa;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.boot-screen{color:#667085;place-items:center;min-height:100vh;display:grid}.login-shell{background:linear-gradient(145deg,#eef2f8,#f8fafc 48%,#e9eef5);grid-template-rows:minmax(0,1fr) auto;place-items:center;min-height:100vh;padding:24px 24px 0;display:grid;position:relative}.login-card{background:#fff;border:1px solid #dfe5ee;width:min(100%,410px);padding:38px;box-shadow:0 24px 70px #0f172a17}.login-card h1{text-align:center;letter-spacing:-.5px;margin:0;font-size:28px}.login-subtitle{text-align:center;color:#667085;margin:7px 0 30px}.login-form{gap:18px;display:grid}.login-form label>span{color:#344054;margin-bottom:7px;font-size:13px;font-weight:700;display:block}.input-with-icon{background:#fff;border:1px solid #d0d5dd;align-items:center;gap:10px;height:46px;padding:0 13px;display:flex}.input-with-icon:focus-within{border-color:#64748b;box-shadow:0 0 0 3px #64748b1f}.input-with-icon svg{color:#98a2b3;flex:none}.input-with-icon input{color:#172033;background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%}.login-button{justify-content:center;height:46px;margin-top:3px}.btn{border:1px solid #0000;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:8px 13px;font-size:13px;font-weight:700;display:inline-flex}.btn.primary{color:#fff;background:#0f172a;border-color:#0f172a}.btn.primary:hover:not(:disabled){background:#1e293b}.btn.secondary{color:#344054;background:#fff;border-color:#d0d5dd}.icon-button{color:#475467;background:#fff;border:1px solid #d0d5dd;flex:none;place-items:center;width:38px;height:38px;display:inline-grid}.alert{border:1px solid;padding:11px 13px;font-size:13px}.alert.error{color:#9f1d1d;background:#fef3f2;border-color:#fecaca}.alert.dismissible{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.alert.dismissible button{color:inherit;background:0 0;border:0;font-weight:700}.app-shell{flex-direction:column;min-height:100vh;display:flex}.topbar{z-index:20;background:#fff;border-bottom:1px solid #e3e8ef;justify-content:space-between;align-items:center;height:68px;padding:0 28px;display:flex;position:sticky;top:0}.brand-inline,.user-area,.file-cell,.row-actions,.modal-actions{align-items:center;display:flex}.brand-inline{min-width:0}.user-copy{display:grid}.user-copy small{color:#667085;font-size:11px}.user-area{gap:13px}.user-copy{text-align:right}.user-copy strong{font-size:13px}.secure-label{color:#475467;background:#f2f4f7;align-items:center;gap:6px;padding:7px 9px;font-size:12px;display:inline-flex}.content{flex:1 0 auto;width:100%;max-width:1660px;margin:0 auto;padding:28px}.page-heading{justify-content:space-between;gap:20px;margin-bottom:22px;display:flex}.page-heading h1{letter-spacing:-.5px;margin:0 0 5px;font-size:26px}.page-heading p,.panel-header p{color:#667085;margin:0;font-size:13px}.workspace-grid{grid-template-columns:minmax(260px,330px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.panel{background:#fff;border:1px solid #e0e5ec;min-width:0}.panel-header{border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:flex-start;gap:15px;min-height:78px;padding:18px 19px;display:flex}.panel-header h2{margin:0 0 4px;font-size:16px}.batch-list{gap:4px;max-height:610px;padding:7px;display:grid;overflow:auto}.batch-item{width:100%;color:inherit;text-align:left;background:0 0;border:1px solid #0000;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px 10px;display:grid}.batch-item:hover,.batch-item.active{background:#f7f8fa;border-color:#e5e7eb}.batch-icon{color:#475467;background:#eef2f6;place-items:center;width:32px;height:32px;display:grid}.batch-main{gap:2px;min-width:0;display:grid}.batch-main strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.batch-main small{color:#667085;font-size:11px}.batch-meta{color:#475467;margin-top:3px;font-size:11px}.status-chip{color:#475467;white-space:nowrap;background:#eef2f6;align-items:center;width:max-content;min-height:23px;padding:3px 7px;font-size:10px;font-weight:800;display:inline-flex}.status-chip.completed,.status-chip.received,.status-chip.processed{color:#166534;background:#ecfdf3}.status-chip.completed_with_errors,.status-chip.rejected{color:#9a3412;background:#fff7ed}.status-chip.open{color:#1d4ed8;background:#eff6ff}.toolbar{border-bottom:1px solid #eaecf0;padding:13px 18px}.search-box{color:#98a2b3;background:#fff;border:1px solid #d0d5dd;align-items:center;gap:9px;width:min(100%,430px);height:40px;padding:0 11px;display:flex}.search-box:focus-within{border-color:#64748b;box-shadow:0 0 0 3px #64748b1a}.search-box input{color:#172033;border:0;outline:0;width:100%;min-width:0}.table-wrap{min-height:390px;position:relative;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#667085;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:11px 13px;font-size:10px}td{color:#475467;vertical-align:middle;border-bottom:1px solid #f0f2f5;padding:11px 13px}tbody tr:hover{background:#fafbfc}.actions-col{text-align:right}.file-cell{gap:10px;min-width:220px}.file-cell>div{gap:2px;min-width:0;display:grid}.file-cell strong{color:#263247;white-space:nowrap;text-overflow:ellipsis;max-width:360px;font-size:12px;overflow:hidden}.file-cell small{color:#98a2b3;font-size:10px}.file-icon{color:#667085;background:#eef2f6;flex:none;place-items:center;width:32px;height:32px;display:grid}.file-icon.pdf{color:#b42318;background:#fef2f2}.mono-text{color:#344054;white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.row-actions{justify-content:flex-end;gap:6px}.row-actions .icon-button{width:34px;height:34px}.pagination-row{color:#667085;border-top:1px solid #eaecf0;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:11px 15px;font-size:11px;display:flex}.pagination-controls{align-items:center;gap:9px;display:flex}.pagination-controls .icon-button{width:32px;height:32px}.empty-state{color:#98a2b3;place-items:center;min-height:300px;font-size:13px;display:grid}.empty-small{text-align:center;color:#98a2b3;padding:20px 12px;font-size:12px}.loading-bar{background:#0f172a;width:35%;height:2px;animation:1s ease-in-out infinite loading-slide;position:absolute;top:0;left:0}.spin{animation:.8s linear infinite spin}.modal-backdrop{z-index:100;background:#0f172ab8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.pdf-modal{background:#fff;border:1px solid #d0d5dd;grid-template-rows:auto minmax(0,1fr);width:min(1200px,100%);height:min(88vh,900px);display:grid;box-shadow:0 26px 80px #00000040}.modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:15px;padding:12px 14px 12px 18px;display:flex}.modal-title-wrap{gap:2px;min-width:0;display:grid}.modal-title-wrap strong{white-space:nowrap;text-overflow:ellipsis;max-width:700px;font-size:13px;overflow:hidden}.modal-title-wrap span{color:#667085;font-size:11px}.modal-actions{gap:7px}.pdf-stage{background:#e5e7eb;min-height:0;position:relative}.pdf-stage iframe{background:#fff;border:0;width:100%;height:100%}.center-state{color:#475467;place-items:center;font-size:13px;display:grid;position:absolute;inset:0}.error-text{color:#9f1d1d}.brand-logo{justify-content:center;align-items:center;min-width:0;display:inline-flex}.brand-logo-image{object-fit:contain;width:auto;max-width:100%;display:block}.brand-logo-dark,html[data-theme=dark] .brand-logo-light{display:none}html[data-theme=dark] .brand-logo-dark{display:block}.login-brand-logo{width:min(100%,330px);min-height:86px;margin:0 auto 18px}.login-brand-logo .brand-logo-image{max-height:112px}.brand-logo-compact{width:230px;min-width:150px;max-width:26vw}.brand-logo-compact .brand-logo-image{max-height:48px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes loading-slide{0%{left:-35%}to{left:100%}}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=980px){.workspace-grid{grid-template-columns:1fr}.batch-list{max-height:340px}.secure-label{display:none}}@media (width<=700px){.topbar{gap:10px;height:auto;min-height:64px;padding:10px 14px}.brand-logo-compact{width:170px;min-width:125px;max-width:38vw}.brand-logo-compact .brand-logo-image{max-height:40px}.content{padding:18px 12px}.user-copy{display:none}.page-heading h1{font-size:22px}.panel-header{min-height:70px;padding:15px}.pagination-row{flex-direction:column;align-items:flex-start}.pdf-modal{height:86vh}.modal-backdrop{padding:8px}.modal-header{align-items:flex-start}.modal-actions .btn{width:38px;padding:0;font-size:0}.modal-actions .btn svg{width:17px;height:17px}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--theme-bg:#f4f6fa;--theme-surface:#fff;--theme-surface-soft:#f8fafc;--theme-surface-hover:#f2f4f7;--theme-text:#172033;--theme-text-strong:#263247;--theme-muted:#667085;--theme-faint:#98a2b3;--theme-border:#dfe5ee;--theme-border-soft:#eaecf0;--theme-primary:#0f172a;--theme-primary-hover:#1e293b;--theme-primary-text:#fff;--theme-backdrop:#0f172ab8;--theme-stage:#e5e7eb}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--theme-bg:#0b1120;--theme-surface:#111827;--theme-surface-soft:#162033;--theme-surface-hover:#1b2638;--theme-text:#e5e7eb;--theme-text-strong:#f3f4f6;--theme-muted:#a7b0c0;--theme-faint:#7f8a9b;--theme-border:#2d3748;--theme-border-soft:#253044;--theme-primary:#e5e7eb;--theme-primary-hover:#fff;--theme-primary-text:#0f172a;--theme-backdrop:#000000c7;--theme-stage:#0f172a}body,.app-shell,.boot-screen{background:var(--theme-bg);color:var(--theme-text)}.login-shell{background:linear-gradient(145deg, var(--theme-bg), var(--theme-surface-soft) 48%, var(--theme-bg));position:relative}.login-card,.topbar,.panel,.input-with-icon,.search-box,.icon-button,.btn.secondary,.pdf-modal,.pdf-stage iframe{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}.login-subtitle,.brand-inline small,.user-copy small,.page-heading p,.panel-header p,.batch-main small,.pagination-row,.modal-title-wrap span{color:var(--theme-muted)}.login-form label>span,.btn.secondary,.mono-text,.file-cell strong,.brand-inline strong,.user-copy strong,.batch-item,.batch-main strong{color:var(--theme-text-strong)}.input-with-icon input,.search-box input{color:var(--theme-text);background:0 0}.topbar,.panel-header,.toolbar,.pagination-row,th,td,.modal-header{border-color:var(--theme-border-soft)}th,.batch-item:hover,.batch-item.active,tbody tr:hover,.secure-label{background:var(--theme-surface-soft)}.btn.secondary:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--theme-surface-hover)}.btn.primary{background:var(--theme-primary);border-color:var(--theme-primary);color:var(--theme-primary-text)}.btn.primary:hover:not(:disabled){background:var(--theme-primary-hover);border-color:var(--theme-primary-hover)}.batch-item.active{box-shadow:inset 3px 0 0 var(--theme-primary)}.batch-icon,.file-icon{background:var(--theme-surface-hover);color:var(--theme-muted)}.file-cell small,.search-box,.input-with-icon svg,.empty-state,.empty-small{color:var(--theme-faint)}.modal-backdrop{background:var(--theme-backdrop)}.pdf-stage{background:var(--theme-stage)}.loading-bar{background:var(--theme-primary)}.theme-selector{border:1px solid var(--theme-border);background:var(--theme-surface-soft);align-items:center;gap:3px;padding:3px;display:inline-flex}.theme-selector button{min-height:32px;color:var(--theme-muted);background:0 0;border:0;align-items:center;gap:6px;padding:6px 9px;font-size:11px;font-weight:700;display:inline-flex}.theme-selector button:hover,.theme-selector button.active{background:var(--theme-surface);color:var(--theme-text-strong)}.theme-selector button.active{box-shadow:0 0 0 1px var(--theme-border)}.theme-selector.compact button span{display:none}.theme-selector.compact button{justify-content:center;width:32px;padding:0}.login-theme-control{position:absolute;top:18px;right:18px}html[data-theme=dark] .alert.error{color:#fecaca;background:#3a1717;border-color:#7f1d1d}html[data-theme=dark] .status-chip{color:#cbd5e1;background:#253044}html[data-theme=dark] .status-chip.completed,html[data-theme=dark] .status-chip.received,html[data-theme=dark] .status-chip.processed{color:#bbf7d0;background:#123524}html[data-theme=dark] .status-chip.completed_with_errors,html[data-theme=dark] .status-chip.rejected{color:#fed7aa;background:#3b2413}html[data-theme=dark] .status-chip.open{color:#bfdbfe;background:#162b4a}html[data-theme=dark] .file-icon.pdf{color:#fca5a5;background:#3b1717}@media (width<=700px){.login-theme-control{top:10px;right:10px}.theme-selector:not(.compact) button span{display:none}.theme-selector:not(.compact) button{justify-content:center;width:34px;padding:0}}.section-nav{background:var(--theme-surface);border-bottom:1px solid var(--theme-border-soft);z-index:19;align-items:stretch;gap:4px;min-height:48px;padding:0 28px;display:flex;position:sticky;top:68px}.section-nav button{min-height:47px;color:var(--theme-muted);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:0 14px;font-size:12px;font-weight:700;display:inline-flex}.section-nav button:hover{color:var(--theme-text-strong);background:var(--theme-surface-soft)}.section-nav button.active{color:var(--theme-text-strong);border-bottom-color:var(--theme-primary)}.users-panel{width:100%}.users-header{align-items:center}.users-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.users-alert{margin:12px 18px 0}.users-table-wrap{min-height:360px}.user-table-cell{align-items:center;gap:10px;min-width:220px;display:flex}.user-table-cell>div{gap:2px;min-width:0;display:grid}.user-table-cell strong{color:var(--theme-text-strong);font-size:12px}.user-table-cell small{color:var(--theme-muted);font-size:10px}.user-avatar{background:var(--theme-surface-hover);width:34px;height:34px;color:var(--theme-text-strong);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid}.role-chip{background:var(--theme-surface-hover);min-height:25px;color:var(--theme-muted);white-space:nowrap;align-items:center;gap:5px;padding:3px 8px;font-size:10px;font-weight:800;display:inline-flex}.role-chip.admin{color:#7c2d12;background:#fff7ed}.role-chip.web{color:#1d4ed8;background:#eff6ff}.role-chip.desktop{color:#475569;background:#f1f5f9}html[data-theme=dark] .role-chip.admin{color:#fed7aa;background:#3b2413}html[data-theme=dark] .role-chip.web{color:#bfdbfe;background:#162b4a}html[data-theme=dark] .role-chip.desktop{color:#cbd5e1;background:#253044}.user-modal{background:var(--theme-surface);width:min(520px,100%);color:var(--theme-text);border:1px solid var(--theme-border);box-shadow:0 26px 80px #00000040}.user-form{gap:15px;padding:20px;display:grid}.user-form label:not(.switch-row){gap:6px;display:grid}.user-form label>span{color:var(--theme-text-strong);font-size:11px;font-weight:800}.user-form input[type=text],.user-form input[type=password],.user-form select{border:1px solid var(--theme-border);background:var(--theme-surface);width:100%;min-height:41px;color:var(--theme-text);font:inherit;outline:0;padding:8px 11px;font-size:13px}.user-form input:focus,.user-form select:focus{border-color:var(--theme-muted);box-shadow:0 0 0 3px #64748b1f}.switch-row{align-items:center;gap:9px;min-height:38px;display:flex}.switch-row input{width:18px;height:18px;accent-color:var(--theme-primary)}.form-actions{justify-content:flex-end;gap:9px;padding-top:4px;display:flex}@media (width<=700px){.section-nav{padding:0 12px;top:64px}.section-nav button{flex:1;justify-content:center}.users-header,.users-toolbar{flex-direction:column;align-items:stretch}.users-header .btn,.users-toolbar .btn,.users-toolbar .search-box,.user-modal{width:100%}}.app-footer{border-top:1px solid var(--theme-border-soft);background:var(--theme-surface);width:100%;color:var(--theme-muted);text-align:center;padding:16px 24px;font-size:11px;line-height:1.5}.app-shell>.app-footer{margin-top:auto}.login-shell>.app-footer{background:0 0;border-top:0;align-self:end}@media (width<=700px){.app-footer{padding:14px 16px;font-size:10px}}
