@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202720;background:#f7f8f6;font-synthesis:none;text-rendering:optimizeLegibility;--green:#26734d;--ink:#202720;--muted:#858b84;--line:#e9ece8;--surface:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:14px;-webkit-font-smoothing:antialiased}.app-shell{min-height:100vh}.sidebar{width:242px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:27px 16px 16px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:10px;padding:0 12px;color:#18221b;text-decoration:none;font:800 19px Manrope,sans-serif;letter-spacing:-.8px}.brand-light{font-weight:500;color:#747d75}.brand-mark{width:23px;height:23px;display:grid;grid-template-columns:repeat(2,1fr);gap:3px;transform:rotate(-9deg)}.brand-mark span{background:#318359;border-radius:3px}.brand-mark span:nth-child(2){opacity:.72}.brand-mark span:nth-child(3){opacity:.56}.workspace-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.15px;color:#939991}.workspace-label{margin:48px 12px 12px}.primary-nav{display:grid;gap:5px}.nav-link{height:42px;padding:0 12px;display:flex;align-items:center;gap:12px;border-radius:7px;color:#737b73;text-decoration:none;font-size:13px;font-weight:500}.nav-link:hover{background:#f7f8f6;color:var(--ink)}.nav-link.active{background:#edf5ef;color:#266c47;font-weight:600}.nav-icon{width:17px;font-size:16px;text-align:center}.nav-count{margin-left:auto;background:#dcece0;color:#286a47;padding:2px 7px;border-radius:10px;font-size:10px}.sidebar-bottom{margin-top:auto}.help-card{padding:16px 14px;background:#f8f9f7;border:1px solid #edf0ec;border-radius:9px;margin:0 1px 14px}.help-icon{width:28px;height:28px;border-radius:7px;background:#e8f1e9;color:#43845b;display:grid;place-items:center;margin-bottom:12px}.help-card strong{font-size:12px}.help-card p{color:#7b837b;font-size:11px;line-height:1.55;margin:6px 0 11px}.help-card a{font-size:11px;text-decoration:none;color:#39734e;font-weight:600}.help-card a span{float:right}.profile-button{width:100%;display:flex;align-items:center;gap:10px;border:0;border-top:1px solid var(--line);background:#fff;text-align:left;padding:15px 7px 3px;color:var(--ink);cursor:pointer}.avatar,.top-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e9e2d8;color:#65594d;font-size:10px;font-weight:700}.profile-copy{display:grid;gap:3px}.profile-copy strong{font-size:11px}.profile-copy small{color:#92988f;font-size:10px}.more{margin-left:auto;font-size:21px;color:#818981}.main-content{margin-left:242px;padding:0 46px;max-width:1600px}.topbar{height:65px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);color:#90968e;font-size:11px}.breadcrumbs span{padding:0 9px;color:#c1c5bf}.breadcrumbs strong{color:#454d46;font-weight:600}.top-actions{display:flex;align-items:center;gap:19px}.sync-status{font-size:10px;color:#7e877e}.sync-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#63a477;margin-right:6px}.icon-button{border:0;background:transparent;font-size:17px;color:#737c74;position:relative;cursor:pointer}.icon-button b{position:absolute;right:1px;top:3px;width:5px;height:5px;border-radius:50%;background:#d7775e}.top-avatar{border:0;cursor:pointer}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;padding:34px 0 25px}.eyebrow{margin-bottom:8px;color:#718276}.page-heading h1{font:700 27px Manrope,sans-serif;letter-spacing:-1.1px;margin:0;color:#202720}.subtitle{color:#838b83;margin:8px 0 0;font-size:12px}.button{height:38px;padding:0 15px;border-radius:6px;font:600 11px 'DM Sans',sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.button-primary{background:#28734c;color:#fff;border:1px solid #28734c;box-shadow:0 2px 3px #153d211c}.button-primary:hover{background:#205f3e}.button-secondary{background:#fff;border:1px solid #dfe4df;color:#505950}.upload-button{margin-bottom:1px}.upload-button>span{font-size:17px;font-weight:400}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px 17px 14px;min-height:119px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#777f77;font-size:11px}.stat-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;font-size:13px}.amber{background:#fbf2df;color:#b07d24}.green{background:#e8f4eb;color:#44845a}.blue{background:#e9f1fb;color:#5a82b0}.violet{background:#f1edfa;color:#8269b4}.stat-value{margin-top:8px;font:700 23px Manrope,sans-serif;letter-spacing:-.7px;color:#252c26}.stat-foot{font-size:10px;color:#939990;margin-top:5px}.stat-foot span:not(.tiny-dot){color:#9ba19a}.positive{color:#388259;font-weight:600}.positive span{font-weight:400}.tiny-dot{display:inline-block;width:5px;height:5px;border-radius:50%;vertical-align:middle;margin-right:4px}.amber-dot{background:#d5a143}.invoice-panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 21px 17px}.panel-heading h2{display:flex;align-items:center;gap:8px;margin:0;font:700 15px Manrope,sans-serif;letter-spacing:-.3px}.heading-count{font:500 10px 'DM Sans',sans-serif;color:#808980;background:#f1f3f0;padding:3px 7px;border-radius:10px}.panel-heading p{margin:5px 0 0;color:#969c95;font-size:10px}.text-button{height:31px;padding:0 10px;background:white;border:1px solid #e6e9e5;border-radius:5px;color:#5d675e;font:500 10px 'DM Sans',sans-serif;cursor:pointer}.text-button span{font-size:15px;margin-right:3px}.table-toolbar{padding:11px 20px;display:flex;justify-content:space-between;align-items:center;background:#fcfcfb;border-top:1px solid #f0f1ef;border-bottom:1px solid #eef0ed}.search-wrap{height:31px;width:265px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e7eae6;border-radius:5px;padding:0 9px;color:#8f968f}.search-wrap>span{font-size:18px;line-height:1}.search-wrap input{min-width:0;flex:1;border:0;outline:0;font:11px 'DM Sans',sans-serif;color:#303830}.search-wrap input::placeholder{color:#a1a69f}.search-wrap kbd{font:9px 'DM Sans',sans-serif;border:1px solid #e9ebe8;border-radius:3px;padding:2px 4px;color:#9da29b}.filter-wrap{display:flex;gap:8px}select,.filter-button{height:31px;border:1px solid #e7eae6;background:#fff;border-radius:5px;color:#707970;padding:0 9px;font:10px 'DM Sans',sans-serif;cursor:pointer}.filter-button span{font-size:14px;margin-right:3px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}thead{background:#fff}th{height:38px;text-align:left;color:#969c95;font-size:8px;letter-spacing:.65px;font-weight:600;border-bottom:1px solid #eff1ee}th:first-child,td:first-child{padding-left:20px;width:40px}th:last-child,td:last-child{padding-right:17px;width:36px}td{height:59px;border-bottom:1px solid #f0f1ef;color:#4f584f;font-size:10px}tbody tr{cursor:pointer;transition:background .12s}tbody tr:hover{background:#fbfcfa}tbody tr:focus{outline:2px solid #7eb38c;outline-offset:-2px}.check-cell input,th input{width:13px;height:13px;accent-color:#28734c;vertical-align:middle;cursor:pointer}.invoice-id{display:block;color:#343d35;font-weight:600;font-size:10px}.invoice-category{display:block;margin-top:4px;color:#a0a59f;font-size:9px}.supplier-cell{display:flex;align-items:center;gap:8px}.supplier-avatar{width:27px;height:27px;flex-shrink:0;border-radius:7px;display:inline-grid;place-items:center;font-size:8px;font-weight:700}.lavender{background:#f0eafa;color:#7966a8}.mint{background:#e7f2e9;color:#538163}.peach{background:#f9eee6;color:#ae7655}.blue{background:#e8eff8;color:#6480a6}.po-link{color:#5d8167;text-decoration:none;font-weight:500}.po-link:hover{text-decoration:underline}.amount-cell{font-weight:600;color:#394239}.date-cell{color:#858c84}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:12px;font-size:9px;font-weight:500}.status-pill i{height:5px;width:5px;border-radius:50%;background:currentColor}.status-pill.matched{background:#edf6ef;color:#48815a}.status-pill.review{background:#fbf4e7;color:#a97b2f}.status-pill.mismatch{background:#fbebea;color:#b75f55}.row-more{border:0;background:none;color:#8d948c;font-size:17px;cursor:pointer;letter-spacing:1px}.table-footer{height:51px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;color:#969c95;font-size:10px}.pagination{display:flex;gap:5px}.pagination button{width:25px;height:25px;border:1px solid #e8ebe7;border-radius:5px;background:#fff;color:#8a928a;font-size:11px}.pagination button:disabled{opacity:.5}.pagination .page-current{background:#edf5ef;border-color:#e4eee6;color:#34764e}.page-footer{display:flex;justify-content:space-between;color:#a1a69f;font-size:9px;padding:19px 2px}.page-footer i{font-style:normal;padding:0 5px}.empty-state{text-align:center;padding:56px 20px;color:#858d85}.empty-state>span{font-size:25px}.empty-state strong{display:block;color:#394239;margin:9px 0 5px}.empty-state p{font-size:11px}.empty-state button{border:0;background:none;color:#32754c;font:600 11px 'DM Sans',sans-serif;cursor:pointer}.modal-backdrop{position:fixed;inset:0;background:#17231b66;z-index:5;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.detail-modal{width:min(100%,500px);background:#fff;border-radius:11px;padding:25px;box-shadow:0 18px 60px #10201533;animation:modal-in .16s ease-out}@keyframes modal-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.modal-heading h2{font:700 20px Manrope,sans-serif;letter-spacing:-.5px;margin:0}.close-button{width:29px;height:29px;border:1px solid #e9ece8;border-radius:6px;background:#fff;color:#788078;font-size:21px;line-height:1;cursor:pointer}.detail-supplier{display:flex;align-items:center;gap:10px;padding-bottom:17px;border-bottom:1px solid var(--line)}.detail-supplier .supplier-avatar{width:35px;height:35px}.detail-supplier>div{display:grid;gap:4px}.detail-supplier>div strong{font-size:12px}.detail-supplier>div small{font-size:10px;color:#929990}.detail-supplier .status-pill{margin-left:auto}.detail-amount{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);font-size:11px;color:#818981}.detail-amount strong{font:700 21px Manrope,sans-serif;color:#283129}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 14px;padding:18px 0}.detail-grid div{display:grid;gap:6px}.detail-grid span{font-size:9px;color:#969c95}.detail-grid strong{font-size:11px;color:#424a42}.match-note{display:flex;gap:10px;padding:13px;background:#fbf4e8;border-radius:7px;color:#9d722c}.match-note>span{width:18px;height:18px;display:grid;place-items:center;background:#f3e6cb;border-radius:50%;font-weight:700;font-size:11px;flex-shrink:0}.match-note strong{font-size:10px}.match-note p{font-size:10px;line-height:1.5;color:#777369;margin:4px 0 0}.match-note.note-success{background:#edf6ef;color:#4d805b}.match-note.note-success>span{background:#deeee1}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,12px);background:#25352a;color:#fff;border-radius:7px;padding:11px 16px;font-size:11px;box-shadow:0 4px 16px #13241a2b;opacity:0;pointer-events:none;transition:all .2s;z-index:8}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.main-content{padding:0 28px}.sidebar{width:215px}.main-content{margin-left:215px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}td{height:56px}}
@media(max-width:740px){.sidebar{width:58px;padding:20px 8px}.brand{padding:0 9px;font-size:0}.brand-mark{flex-shrink:0}.workspace-label{font-size:0;margin:40px 10px 10px}.primary-nav{gap:7px}.nav-link{justify-content:center;padding:0;font-size:0;position:relative}.nav-icon{font-size:17px}.nav-count{position:absolute;right:1px;top:1px;padding:1px 4px;font-size:8px}.sidebar-bottom{display:none}.main-content{margin-left:58px;padding:0 18px}.topbar{height:55px}.sync-status{display:none}.page-heading{padding:27px 0 20px;align-items:flex-start;gap:12px}.page-heading h1{font-size:23px}.subtitle{max-width:300px;line-height:1.5}.upload-button{white-space:nowrap;padding:0 10px;font-size:10px}.stat-grid{gap:9px;margin-bottom:17px}.stat-card{padding:13px;min-height:107px}.stat-value{font-size:20px}.stat-top{font-size:10px}.panel-heading{padding:16px}.table-toolbar{align-items:stretch;gap:9px;flex-direction:column}.search-wrap{width:100%}.filter-wrap{justify-content:space-between}.filter-wrap select,.filter-button{flex:1}.table-scroll table{min-width:800px}.page-footer{gap:8px;line-height:1.5}.page-footer span:last-child{text-align:right}}
@media(max-width:420px){.main-content{padding:0 12px}.page-heading h1{font-size:20px}.page-heading .eyebrow{font-size:8px}.subtitle{font-size:10px}.upload-button{height:34px;padding:0 8px;font-size:9px}.stat-grid{grid-template-columns:1fr 1fr}.stat-card{padding:11px;min-height:100px}.stat-value{font-size:18px}.stat-foot{font-size:9px}.detail-modal{padding:19px}.detail-supplier .status-pill{font-size:8px;padding:4px 6px}}
