body{background-color:#f4f7f6;font-size:13px;margin:0;padding:0;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.sidebar{width:260px;min-width:260px;height:100vh;border-right:1px solid #343a40;transition:transform .3s ease-in-out}.nav-pills .nav-link{font-weight:600;border-radius:8px;padding:9px 14px;transition:all .2s;opacity:.88}.nav-pills .nav-link:hover{background-color:rgba(255,255,255,.1);opacity:1}.nav-pills .nav-link.active,.nav-pills .nav-link.parent-active{background-color:#0d6efd!important;color:white!important;opacity:1;box-shadow:0 4px 10px rgba(0,0,0,.2)}.sub-menu-box{background-color:rgba(0,0,0,.22);border-radius:8px;padding:4px 6px 6px 12px;margin-top:4px}.sub-nav-btn{font-size:12px;padding:6px 10px;border-radius:6px;opacity:.78;background:transparent;border:none;color:#fff;text-align:left;width:100%;display:flex;justify-content:space-between;align-items:center}.sub-nav-btn:hover{opacity:1;background-color:rgba(255,255,255,.08)}.sub-nav-btn.sub-active-order{border-left:3px solid #0d6efd}.sub-nav-btn.sub-active-order,.sub-nav-btn.sub-active-purchase{opacity:1;background-color:rgba(255,255,255,.16)!important;font-weight:700}.sub-nav-btn.sub-active-purchase{border-left:3px solid #20c997}.kpi-card{background:white;border-radius:8px;padding:14px;box-shadow:0 2px 4px rgba(0,0,0,.05);border-left:4px solid #0056b3;height:100%;display:flex;flex-direction:column;justify-content:center;transition:transform .15s ease,box-shadow .15s ease}.kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(0,0,0,.1)}.kpi-title{font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:#6c757d;font-weight:700;margin-bottom:4px}.kpi-val{font-size:22px;font-weight:800;color:#212529;margin:0}.table-container{background:white;padding:0 12px 12px;border-radius:8px;box-shadow:0 4px 6px rgba(0,0,0,.05);overflow-x:auto;overflow-y:auto;max-height:calc(100vh - 115px);margin-bottom:16px}.ops-grid{border-collapse:separate;border-spacing:0;margin-top:0;font-size:12.5px}.ops-grid td,.ops-grid th{border:1px solid #aab7c4;vertical-align:middle;padding:6px 8px}.ops-grid thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2;color:#212529!important;background-color:#f8f9fa;border-bottom:2px solid #555!important;min-width:140px}.ops-grid td:first-child,.ops-grid th:first-child{position:-webkit-sticky!important;position:sticky!important;left:0!important;z-index:3;background-color:white;min-width:170px;max-width:170px}.ops-grid td:nth-child(2),.ops-grid th:nth-child(2){position:-webkit-sticky!important;position:sticky!important;left:170px!important;z-index:3;background-color:white;min-width:105px;max-width:105px}.ops-grid td:nth-child(3),.ops-grid th:nth-child(3){position:-webkit-sticky!important;position:sticky!important;left:275px!important;z-index:3;background-color:white;min-width:165px;max-width:165px}.ops-grid td:nth-child(4),.ops-grid th:nth-child(4){position:-webkit-sticky!important;position:sticky!important;left:440px!important;z-index:3;background-color:white;min-width:135px;max-width:135px;border-right:3px solid #6c757d!important}.ops-grid thead th:first-child,.ops-grid thead th:nth-child(2),.ops-grid thead th:nth-child(3),.ops-grid thead th:nth-child(4){z-index:4;background-color:#eef2f6}.modal-backdrop-custom{position:fixed;inset:0;background:rgba(15,23,42,.65);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1050;display:flex;align-items:center;justify-content:center;padding:20px}.dropzone-area{border:2px dashed #94a3b8;border-radius:12px;padding:32px 20px;text-align:center;background-color:#f8fafc;cursor:pointer;transition:all .2s ease}.dropzone-area.dragover,.dropzone-area:hover{border-color:#0284c7;background-color:#f0f9ff;transform:scale(1.005)}.column-filter-popover{position:absolute;top:100%;left:0;width:240px;background:white;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 25px -5px rgba(0,0,0,.2),0 8px 10px -6px rgba(0,0,0,.1);z-index:100;padding:10px;font-size:12px;color:#1e293b;text-align:left}.column-filter-popover .sort-actions{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #e2e8f0;padding-bottom:8px;margin-bottom:8px}.column-filter-popover .sort-btn{display:flex;align-items:center;gap:6px;background:none;border:none;padding:4px 8px;border-radius:4px;font-size:11.5px;cursor:pointer;color:#334155}.column-filter-popover .sort-btn:hover{background-color:#f1f5f9;color:#0284c7}.column-filter-popover .filter-list{max-height:180px;overflow-y:auto;margin:6px 0;padding:0;list-style:none}.column-filter-popover .filter-item{display:flex;align-items:center;gap:6px;padding:3px 4px;border-radius:4px;cursor:pointer}.column-filter-popover .filter-item:hover{background-color:#f8fafc}.editable-cell{cursor:pointer;position:relative;transition:background-color .15s ease}.editable-cell:hover{background-color:#f8fafc!important;outline:1px dashed #0284c7}.inline-cell-input,.inline-cell-select{width:100%;padding:4px 6px;font-size:12px;border:2px solid #0284c7;border-radius:4px;outline:none;background:white;box-shadow:0 0 0 2px rgba(2,132,199,.2)}.cell-color-green{background-color:#d9ead3!important}.cell-color-red{background-color:#f4cccc!important}.cell-color-yellow{background-color:#fff2cc!important}.cell-color-blue{background-color:#c9daf8!important}.cell-color-orange{background-color:#fce5cd!important}.sum-header-row th{background-color:#e2e8f0!important;color:#0f172a!important;font-weight:800;font-size:11.5px;border-bottom:2px solid #64748b!important;padding:4px 6px}