@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap";
:root{--ink:#22231f;--muted:#6b7280;--line:#edefea;--paper:#fff;--canvas:#f9fafb;--green:#6d755d;--green-dark:#fff;--green-soft:#f5f6e4;--lime:#cbe031;--lime-deep:#b4cc04;--orange:#9c6650;--red:#bd4d40;--red-soft:#fff0ed}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;font-family:DM Sans,sans-serif;font-size:14px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}::selection{color:#fff;background:var(--green)}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{height:100vh;color:var(--ink);background:var(--green-dark);border-right:1px solid var(--line);flex-direction:column;padding:28px 18px 18px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;padding:2px 6px 36px;display:flex}.brand-mark{border:1px solid var(--green);width:35px;height:35px;color:var(--ink);background:var(--lime);border-radius:9px;place-items:center;font-family:DM Sans,sans-serif;font-size:16px;font-weight:700;display:grid}.brand-copy{flex-direction:column;gap:2px;display:flex}.brand-copy strong{font-family:DM Sans,sans-serif;font-size:16px;font-weight:700}.brand-copy small{color:var(--green);font-family:IBM Plex Mono,monospace;font-size:9px}.sidebar-section-label{color:var(--green);padding:0 8px 13px;font-family:IBM Plex Mono,monospace;font-size:10px}.step-nav{flex-direction:column;gap:4px;display:flex}.step-item{color:#6b7280;border-radius:7px;align-items:center;gap:11px;min-height:55px;padding:8px;display:flex;position:relative}.step-item:not(:last-child):after{content:"";background:#d7d9cd;width:1px;height:21px;position:absolute;top:41px;left:18px}.step-item span:last-child{flex-direction:column;gap:3px;display:flex}.step-item strong{color:inherit;font-size:12px;font-weight:600}.step-item small{color:#7d8277;font-size:11px}.step-dot{width:22px;height:22px;color:var(--green);background:#fff;border:1px solid #b9bead;border-radius:50%;flex:0 0 22px;place-items:center;font-family:IBM Plex Mono,monospace;font-size:10px;display:grid}.step-current{background:var(--green-soft);color:var(--ink)}.step-current .step-dot{border-color:var(--green);background:var(--lime);color:var(--ink)}.step-complete .step-dot{border-color:var(--green);background:var(--green);color:#fff}.sidebar-spacer{flex:1}.connection-card{background:var(--green-soft);border:1px solid #dfe4c5;border-radius:7px;padding:13px}.connection-top{align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.connection-pip{background:var(--orange);border-radius:50%;width:7px;height:7px}.pip-live{background:#43953c;box-shadow:0 0 0 3px #dce8d6}.connection-card p{color:#62685a;margin:8px 0 9px;font-size:11px}.text-button{color:var(--green);background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:11px;font-weight:600;display:inline-flex}.sidebar-foot{color:#7d8277;align-items:center;gap:7px;padding:17px 4px 0;font-size:10px;display:flex}.workspace{min-width:0}.topbar{border-bottom:1px solid var(--line);background:#ffffffeb;justify-content:space-between;align-items:center;height:59px;padding:0 40px;display:flex}.breadcrumb,.topbar-right{align-items:center;gap:11px;display:flex}.breadcrumb{color:#89928e;font-size:12px}.breadcrumb strong{color:#38453e;font-weight:600}.topbar-right{gap:17px}.environment-pill{border:1px solid var(--line);color:#65746b;border-radius:4px;align-items:center;gap:7px;padding:5px 8px;font-family:IBM Plex Mono,monospace;font-size:9px;display:flex}.environment-pill span{background:var(--lime-deep);border-radius:50%;width:6px;height:6px}.icon-button{color:#77827c;background:0 0;border:0;border-radius:5px;place-items:center;width:30px;height:30px;display:grid}.icon-button:hover{background:#f0f3f0}.content-wrap{width:min(100%,1200px);margin:0 auto;padding:37px 40px 22px}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px;display:flex}.eyebrow{color:#8b9690;margin-bottom:9px;font-family:IBM Plex Mono,monospace;font-size:10px}h1,h2,p{margin-top:0}h1{margin-bottom:7px;font-family:DM Sans,sans-serif;font-size:29px;font-weight:600;line-height:1.15}.page-heading p{color:var(--muted);margin:0;font-size:13px}.primary-button,.secondary-button,.subtle-button{border-radius:5px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 14px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s,transform .15s;display:inline-flex}.primary-button{border:1px solid var(--lime-deep);color:#1f211a;background:var(--lime)}.primary-button:hover:not(:disabled){border-color:var(--lime-deep);background:var(--lime-deep)}.primary-button:disabled{background:#aab9af;border-color:#aab9af}.secondary-button{color:#34443b;background:#fff;border:1px solid #d5ddd7}.secondary-button:hover{background:#fafcfb;border-color:#a8b7ac}.subtle-button{border:1px solid var(--line);color:#6a766f;background:#fff;min-height:31px;font-size:11px}.subtle-button:hover{border-color:#bbc8be}.upload-layout{grid-template-columns:minmax(0,1.55fr) minmax(275px,.75fr);gap:18px;display:grid}.drop-zone{text-align:center;background:linear-gradient(135deg,#fff 0%,#fbfcfb 65%,#f5f8f5 100%);border:1px dashed #b7c5bb;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:345px;padding:30px;transition:border-color .16s,background .16s,transform .16s;display:flex}.drop-zone-active{border-color:var(--green);background:#eff7f0;transform:translateY(-2px)}.upload-symbol{width:49px;height:49px;color:var(--green);background:var(--green-soft);border:1px solid #dfe4c5;border-radius:13px;place-items:center;margin-bottom:17px;display:grid}.drop-zone h2{margin:0 0 7px;font-family:DM Sans,sans-serif;font-size:19px;font-weight:600}.drop-zone p{color:#89938e;margin-bottom:19px;font-size:12px}.drop-zone .primary-button{min-width:154px}.drop-note{color:#849188;align-items:center;gap:6px;margin-top:20px;font-size:10px;display:flex}.side-notes{border:1px solid var(--line);background:#fff;border-radius:7px;padding:20px 19px}.note-heading{color:#35453c;align-items:center;gap:9px;margin-bottom:17px;font-size:13px;display:flex}.note-heading svg{color:var(--green)}.rule-row{color:#626f67;border-top:1px solid #eef1ee;grid-template-columns:26px 1fr;gap:9px;padding:12px 0;font-size:11px;line-height:1.55;display:grid}.rule-number{color:#a3aea6;font-family:IBM Plex Mono,monospace;font-size:10px}.rule-row b{color:#35453c;font-family:IBM Plex Mono,monospace;font-weight:500}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.file-strip{border:1px solid var(--line);background:#fff;border-radius:6px;align-items:center;gap:11px;min-height:57px;padding:9px 13px;display:flex}.file-icon{width:34px;height:34px;color:var(--green);background:var(--green-soft);border-radius:5px;place-items:center;display:grid}.file-meta{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.file-meta strong{color:#344239;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.file-meta span{color:#8a948e;font-size:10px}.file-status{color:#387753;align-items:center;gap:5px;font-size:10px;font-weight:600;display:flex}.statement-tabs{border-left:1px solid var(--line);gap:4px;margin-left:9px;padding-left:10px;display:flex}.statement-tabs button{color:#6b7770;background:0 0;border:1px solid #0000;border-radius:4px;padding:6px 8px;font-family:IBM Plex Mono,monospace;font-size:10px}.statement-tabs button:hover{background:#f5f7f5}.statement-tabs .tab-active{color:var(--green);background:#eef6ef;border-color:#d6e5d9}.summary-grid{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));margin:15px 0 25px;display:grid}.summary-cell{border-right:1px solid var(--line);flex-direction:column;justify-content:center;min-height:95px;padding:16px 18px;display:flex}.summary-cell:last-child{border-right:0}.summary-cell>span{color:#8b958f;margin-bottom:8px;font-family:IBM Plex Mono,monospace;font-size:9px}.summary-cell>strong{color:#29382f;align-items:center;gap:6px;font-family:IBM Plex Mono,monospace;font-size:17px;font-weight:500;display:flex}.summary-cell small{color:#929b95;margin-top:5px;font-size:10px}.discount-value{color:var(--orange)!important}.balance-good>strong{color:#39794f;font-family:DM Sans,sans-serif;font-size:13px;font-weight:600}.balance-error>strong{color:var(--red);font-family:DM Sans,sans-serif;font-size:13px;font-weight:600}.table-section,.posting-section{border-top:1px solid #dfe5e0;padding-top:20px}.section-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:13px;display:flex}.section-heading h2{color:#2c3028;margin:0 0 4px;font-family:DM Sans,sans-serif;font-size:18px;font-weight:600}.section-heading p{color:#87918b;margin:0;font-size:11px}.table-count{border:1px solid var(--line);color:#6d7971;border-radius:4px;padding:5px 8px;font-family:IBM Plex Mono,monospace;font-size:10px}.table-scroll{border:1px solid var(--line);background:#fff;border-radius:6px;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}thead{background:#f8faf8}th{color:#8b958e;white-space:nowrap;padding:11px 12px;font-family:IBM Plex Mono,monospace;font-size:9px;font-weight:500}td{color:#56635b;white-space:nowrap;border-top:1px solid #edf0ed;padding:9px 12px;font-size:11px}.numeric{text-align:right}.invoice-number{color:#3a5043;font-family:IBM Plex Mono,monospace;font-weight:500}.supplier-number{color:#a0aaa3;margin-left:7px;font-family:IBM Plex Mono,monospace;font-size:9px}.amount-edit{color:#87928b;border:1px solid #0000;border-radius:4px;justify-content:flex-end;align-items:center;gap:4px;padding:5px 6px;display:inline-flex}.amount-edit:focus-within{background:#fbfdfb;border-color:#b9d1bf}.amount-edit input{color:#344239;text-align:right;background:0 0;border:0;outline:0;width:82px;padding:0;font-family:IBM Plex Mono,monospace;font-size:11px}.discount-input input{color:#b96832}tfoot th{color:#526057;background:#f8faf8;border-top:1px solid #dfe6e0;font-size:10px}tfoot th.numeric{font-family:IBM Plex Mono,monospace;font-weight:600}.posting-section{margin-top:24px}.mutation-list{border:1px solid var(--line);background:#fff;border-radius:6px;overflow:hidden}.mutation-row{border-bottom:1px solid #edf0ed;align-items:center;gap:12px;min-height:51px;padding:8px 13px;display:flex}.mutation-row:last-child{border-bottom:0}.mutation-index{color:#a1aba4;font-family:IBM Plex Mono,monospace;font-size:10px}.mutation-description{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.mutation-description strong{color:#45534a;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.mutation-description span{color:#909a93;font-size:10px}.mutation-amount{color:#344239;font-family:IBM Plex Mono,monospace;font-size:11px}.mutation-amount.negative{color:#ad5144}.posting-total{color:#7f8983;justify-content:space-between;padding:11px 14px 0;font-size:10px;display:flex}.posting-total strong{color:#39794f;font-family:IBM Plex Mono,monospace;font-weight:500}.config-warning{color:#63726a;background:#edf2ee;border-radius:5px;align-items:flex-start;gap:9px;margin-top:14px;padding:11px 12px;font-size:10px;line-height:1.5;display:flex}.config-warning svg{flex:none;margin-top:1px}.config-warning code{color:#385041;background:#e1e9e2;border-radius:3px;padding:1px 3px;font-family:IBM Plex Mono,monospace;font-size:9px}.confirm-row{color:#5e6b62;align-items:flex-start;gap:9px;margin:15px 0 12px;font-size:11px;display:flex}.confirm-row input{width:15px;height:15px;accent-color:var(--green);flex:0 0 15px;margin:0}.confirm-row input:disabled{opacity:.55}.action-row{align-items:center;gap:13px;display:flex}.post-button{min-width:221px}.action-row>span{color:#8a948d;align-items:center;gap:5px;font-size:10px;display:flex}.result-banner,.error-banner{border-radius:5px;align-items:flex-start;gap:10px;margin-top:14px;padding:13px;display:flex}.result-banner>div:first-child{margin-top:1px}.result-banner>div:nth-child(2){flex:1}.result-banner strong{font-size:12px}.result-banner p{margin:4px 0 0;font-size:10px;line-height:1.5}.result-banner .afas-error-detail{color:#842f26;margin-top:7px;font-weight:600}.result-banner .afas-trace{color:#765d58;font-family:IBM Plex Mono,monospace;font-size:9px}.tracking-list{gap:5px;margin:10px 0 0;padding:0;list-style:none;display:grid}.tracking-list li{color:#64736a;flex-wrap:wrap;justify-content:space-between;gap:5px 12px;font-size:9px;display:flex}.tracking-list code{overflow-wrap:anywhere;color:#4c6154;font-family:IBM Plex Mono,monospace;font-size:9px}.tracking-list .tracking-failed,.tracking-list .tracking-failed code{color:#9c4a3f}.result-banner>button,.error-banner button{color:inherit;background:0 0;border:0;place-items:center;padding:2px;display:grid}.result-success{color:#346d48;background:#eaf5ec}.result-error,.error-banner{color:#a1463b;background:var(--red-soft)}.error-banner{align-items:center;font-size:11px}.error-banner button{margin-left:auto}.upload-error{margin-top:15px}.upload-error-copy{flex:1;min-width:0}.parse-debug{color:#77453f;margin-top:7px;font-size:10px}.parse-debug summary{cursor:pointer;font-weight:600}.parse-debug pre{color:#604641;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff8f7;border:1px solid #f0d8d4;border-radius:4px;max-height:180px;margin:7px 0 0;padding:9px;font-family:IBM Plex Mono,monospace;font-size:9px;line-height:1.5;overflow:auto}.page-footer{border-top:1px solid var(--line);color:#a0a9a2;justify-content:space-between;margin-top:31px;padding-top:13px;font-family:IBM Plex Mono,monospace;font-size:9px;display:flex}.dialog-backdrop{z-index:20;background:#0f241b7a;place-items:center;padding:20px;animation:.14s ease-out fade-in;display:grid;position:fixed;inset:0}.config-dialog{background:#fff;border:1px solid #dfe7e0;border-radius:8px;width:min(100%,510px);max-height:min(90vh,760px);padding:25px;animation:.18s ease-out dialog-in;overflow-y:auto;box-shadow:0 22px 70px #0d231938}.config-dialog>header{position:relative}.dialog-heading-icon{width:36px;height:36px;color:var(--green);background:#eff6f0;border:1px solid #d8e6db;border-radius:7px;place-items:center;margin-bottom:15px;display:grid}.dialog-close{position:absolute;top:0;right:0}.config-dialog .eyebrow{margin-bottom:6px}.config-dialog h2{margin:0 0 6px;font-family:Georgia,serif;font-size:24px;font-weight:500}.config-dialog header p{color:#7d8981;margin:0;font-size:12px;line-height:1.55}.config-steps{gap:12px;margin:22px 0 17px;display:grid}.config-steps>div:not(.copy-command):not(.config-variable-list){align-items:flex-start;gap:10px;display:flex}.config-steps>div:not(.copy-command):not(.config-variable-list)>span{color:#54705d;border:1px solid #dce5de;border-radius:50%;flex:0 0 20px;place-items:center;width:20px;height:20px;font-family:IBM Plex Mono,monospace;font-size:9px;display:grid}.config-steps p{color:#59665e;margin:2px 0 0;font-size:11px;line-height:1.55}.config-steps p strong{color:#334a3a}.copy-command{background:#f7f9f7;border:1px solid #e6ebe7;border-radius:5px;justify-content:space-between;align-items:center;gap:10px;margin:-4px 0 0 30px;padding:8px 9px;display:flex}.copy-command code,.config-variable-list code{color:#395644;font-family:IBM Plex Mono,monospace;font-size:10px}.copy-command .subtle-button{flex:none}.config-variable-list{flex-wrap:wrap;gap:6px;margin:-5px 0 0 30px;display:flex}.config-variable-list code{background:#f5f8f5;border:1px solid #e1e9e2;border-radius:4px;padding:5px 6px;font-size:9px}.dialog-warning{color:#755334;background:#fbf2e8;border-radius:5px;align-items:flex-start;gap:8px;padding:10px;font-size:10px;line-height:1.5;display:flex}.dialog-warning svg{flex:none;margin-top:1px}.config-dialog>footer{justify-content:flex-end;margin-top:18px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1020px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-inline:14px}.topbar{padding-inline:26px}.content-wrap{padding:31px 26px 20px}.summary-cell{padding-inline:12px}.summary-cell>strong{font-size:15px}}@media (max-width:760px){.app-shell{display:block}.sidebar{width:100%;height:auto;padding:12px 16px;position:static}.brand{padding:0}.brand-mark{width:31px;height:31px}.sidebar-section-label,.step-nav,.sidebar-spacer,.connection-card,.sidebar-foot{display:none}.topbar{height:49px;padding-inline:16px}.breadcrumb{gap:7px;font-size:10px}.topbar-right{gap:8px}.content-wrap{padding:25px 16px 18px}.page-heading{align-items:flex-start;margin-bottom:21px}.page-heading h1{max-width:410px;font-size:25px}.page-heading p{max-width:440px;font-size:12px;line-height:1.5}.page-heading>.secondary-button{min-width:38px;padding:0 10px;font-size:0}.page-heading>.secondary-button svg{width:17px;height:17px}.upload-layout{grid-template-columns:1fr}.drop-zone{min-height:300px;padding:20px}.side-notes{padding:16px}.file-strip{flex-wrap:wrap}.file-status{margin-left:auto}.statement-tabs{border-top:1px solid var(--line);border-left:0;width:100%;margin:2px 0 0 44px;padding:7px 0 0}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-cell{border-bottom:1px solid var(--line);min-height:84px}.summary-cell:nth-child(2){border-right:0}.summary-cell:nth-child(3),.summary-cell:nth-child(4){border-bottom:0}.summary-cell>span{font-size:8px}.summary-cell>strong{font-size:14px}.section-heading{align-items:flex-end}.table-scroll{margin-right:-1px}table{min-width:730px}.action-row{flex-direction:column;align-items:flex-start;gap:9px}.post-button{width:100%}.page-footer{gap:12px;font-size:8px}}@media (max-width:480px){.config-dialog{padding:20px 17px}.copy-command{flex-direction:column;align-items:flex-start;margin-left:30px}.copy-command .subtle-button{align-self:flex-end}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
