@import"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;font-size:16px;color:#20283a;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:16px;line-height:1.45}button,input,select{font:inherit}.shell{min-height:100vh}.sidebar{width:268px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid #e8ebf2;padding:27px 16px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 36px}.brandIcon{width:42px;height:42px;border-radius:13px;background:#e9f2ff;color:#2f6be6;display:grid;place-items:center}.brand b{display:block;font-family:Manrope,sans-serif;font-size:18px;letter-spacing:-.3px}.brand small,.sideBottom small{display:block;font-size:13px;color:#8a93a5;margin-top:3px}.navLabel{font-size:12px;font-weight:700;letter-spacing:1.4px;color:#a1a8b7;padding:0 12px 12px}.navItem{display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#788297;border-radius:10px;width:100%;text-align:left;padding:12px;margin:3px 0;cursor:pointer;font-size:15px;font-weight:600;text-decoration:none}.navItem.active{background:#edf3ff;color:#2c64dc}.navItem span:nth-child(2){flex:1}.navCount{font-size:12px;background:#fff;padding:3px 7px;border-radius:6px}.sideBottom{margin-top:auto;border-top:1px solid #edf0f5;padding:19px 7px 0;display:flex;align-items:center;gap:10px;font-size:14px}.avatar{height:38px;width:38px;display:grid;place-items:center;border-radius:50%;background:#dfeaff;color:#315fc5;font-weight:700;font-size:14px}.sideBottom>div:nth-child(2){flex:1}.statusDot{width:7px;height:7px;border-radius:50%;background:#31bd84}.main{margin-left:268px;padding:0 35px 22px;max-width:1800px}.topbar{height:110px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:12px;letter-spacing:1.4px;color:#a1a8b7;font-weight:700;margin-bottom:8px}.topbar h1{font:800 32px Manrope,sans-serif;letter-spacing:-1px;margin:0}.topActions{display:flex;gap:12px;align-items:center}.datePill,.badge{background:#fff;border:1px solid #e8ebf2;border-radius:8px;padding:9px 12px;color:#7e8798;font-size:13px}.refresh{background:#2f68df;color:#fff;border:0;padding:11px 16px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer}.welcome{min-height:194px;background:#152746;border-radius:17px;color:#fff;padding:26px 32px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.welcomeTag{font-size:12px;letter-spacing:1.5px;font-weight:700;color:#9fb9e7}.welcome h2{font:800 32px/1.25 Manrope,sans-serif;letter-spacing:-.8px;margin:11px 0 8px}.welcome h2 em{font-style:normal;color:#8db4ff}.welcome p{font-size:16px;color:#c0ccdf;margin:0}.welcomeGraphic{position:relative;width:245px;height:140px;display:grid;place-items:center;margin-right:30px}.ring{position:absolute;border:1px solid #35517c;border-radius:50%;transform:rotate(-25deg)}.ring1{width:210px;height:112px}.ring2{width:170px;height:140px;transform:rotate(36deg)}.graphIcon{width:69px;height:69px;background:#264878;border:1px solid #496ca0;border-radius:22px;display:grid;place-items:center;color:#a7c6ff;z-index:1}.floatTag{position:absolute;right:-5px;bottom:2px;background:#fff;color:#315b9f;border-radius:8px;padding:8px 11px;font-size:13px;font-weight:700;box-shadow:0 5px 25px #09152d55}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:19px 0}.metricCard,.panel{background:#fff;border:1px solid #e9edf4;border-radius:13px}.metricCard{padding:18px 18px 15px;min-width:0}.metricTop{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#798397;font-size:14px;font-weight:600}.metricIcon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center}.metricIcon svg{width:18px}.metricIcon.blue{background:#eaf1ff;color:#3774ed}.metricIcon.violet{background:#f0eaff;color:#8b64db}.metricIcon.green{background:#e6f8f0;color:#26a875}.metricIcon.amber{background:#fff4df;color:#d8992e}.metricValue{font:800 clamp(22px,1.8vw,28px) Manrope,sans-serif;letter-spacing:-.7px;margin:13px 0 8px;white-space:nowrap}.metricNote{font-size:13px;color:#9ba3b2;line-height:1.4}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:17px}.panel{padding:21px;min-width:0}.panelHead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.panelHead h3{font:800 18px Manrope,sans-serif;margin:0;letter-spacing:-.3px}.panelHead p{font-size:14px;color:#9aa3b3;margin:6px 0 0}.panelHead>svg{color:#8b96aa}.profitRows>div{font-size:14px;color:#7b8598;margin:16px 0 18px;display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px}.profitRows strong{color:#293349;font-size:15px}.legendDot{width:7px;height:7px;border-radius:50%}.salesDot{background:#4078ed}.costDot{background:#9a7de4}.profitDot{background:#2dbb8b}.bar{height:5px;background:#f0f2f7;border-radius:10px;grid-column:1/4;margin-top:1px;overflow:hidden}.bar i{height:100%;display:block;background:#4078ed;border-radius:10px}.profitRows>div:nth-child(2) .bar i{background:#9a7de4}.profitRows>div:nth-child(3) .bar i{background:#2dbb8b}.noteBox{font-size:14px;line-height:1.55;color:#788398;background:#f7f9fc;border:1px solid #edf0f6;border-radius:8px;padding:12px 14px;margin-top:20px}.productRow{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2f6}.productRow:last-child{border-bottom:0}.productNo{width:34px;height:34px;background:#f1f5fd;border-radius:8px;display:grid;place-items:center;font-size:13px;color:#5978b8;font-weight:700}.productInfo{flex:1;min-width:0}.productInfo b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.productInfo small{display:block;color:#9ba3b2;font-size:13px;margin-top:4px}.productRow>strong{font-size:15px}.tablePanel{margin-bottom:17px}.textButton{background:none;border:0;color:#346bdf;font-weight:700;font-size:14px;cursor:pointer}.tableWrap{width:100%;overflow-x:auto}table{width:100%;min-width:1040px;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;letter-spacing:.4px;text-transform:uppercase;color:#9aa3b2;background:#fafbfe;padding:13px 14px;font-weight:700}td{font-size:15px;color:#657087;padding:15px 14px;border-bottom:1px solid #f0f2f6}td b{color:#283349;font-weight:700}.invoiceNum{color:#3a6fd7}.positive{color:#20a572}.negative{color:#db5960}.tableFoot{padding:14px;color:#7d8696;font-size:13px}.searchBox{display:flex;align-items:center;gap:10px;border:1px solid #e7ebf2;border-radius:9px;padding:11px 13px;margin-bottom:16px;color:#98a2b4;max-width:450px}.searchBox input{border:0;outline:0;width:100%;font-size:15px;color:#283349}.empty{padding:28px;text-align:center;color:#9aa3b2;font-size:15px}.loading{padding:50px;text-align:center;color:#8d97a9;font-size:16px}.errorBox{display:flex;flex-direction:column;gap:5px;padding:13px 16px;margin-bottom:16px;background:#fff5f4;border:1px solid #f3d8d5;border-radius:9px;color:#9e4540;font-size:14px}.placeholder{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.placeholder h2{font:800 24px Manrope;margin:12px 0 5px}.placeholder p{max-width:520px;color:#7c879a;font-size:15px;line-height:1.7;margin-bottom:20px}.placeholderIcon{width:58px;height:58px;border-radius:18px;background:#edf3ff;color:#376fe0;display:grid;place-items:center}footer{padding:16px 4px;color:#8a93a3;font-size:13px}footer span{padding:0 7px;color:#c4c9d2}@media(max-width:1150px){.sidebar{width:236px}.main{margin-left:236px;padding:0 22px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.grid2{grid-template-columns:1fr}.welcomeGraphic{margin-right:0}}@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:12px;display:block;border-right:0;border-bottom:1px solid #e8ebf2}.brand{padding:3px 7px 14px}.navLabel,.sideBottom{display:none}.sidebar .navItem{display:inline-flex;width:auto;margin:2px;padding:9px;font-size:14px;gap:7px}.navItem svg{width:16px}.main{margin:0;padding:0 13px}.topbar{height:85px}.topbar h1{font-size:24px}.topActions .datePill{display:none}.welcome{padding:22px;min-height:175px}.welcome h2{font-size:24px}.welcomeGraphic{width:100px;transform:scale(.7);margin-left:-15px}.floatTag{display:none}.metrics{gap:9px}.metricCard{padding:13px}.metricValue{font-size:20px}.metricTop{font-size:13px}.metricNote{font-size:12px}.panel{padding:15px}.panelHead{align-items:flex-start}.grid2{gap:10px}.tablePanel{padding:12px}.tableWrap table{min-width:720px}.topbar .eyebrow{font-size:11px}}.formPanel{padding:18px;margin:12px 0 20px;background:#f8fafc;border:1px solid #e4eaf2;border-radius:14px}.formPanel h4{margin:0 0 14px;color:#1d2b44;font-size:16px}.formGrid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin-bottom:14px}.formGrid label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:650;color:#526078}.formGrid input,.formGrid select,.lineEditor input,.lineEditor select,.autoBox input{min-width:0;width:100%;border:1px solid #d9e1ec;border-radius:8px;padding:10px 12px;background:#fff;color:#1b2940;font:inherit;font-size:15px;box-sizing:border-box}.lineEditor{display:flex;align-items:flex-start;gap:8px;padding:12px 0;border-top:1px solid #e4eaf2;overflow:visible}.lineEditor>label{display:grid;grid-template-rows:2.6em auto auto;align-content:start;gap:6px;min-width:0;font-size:13px;font-weight:650;color:#526078;line-height:1.2}.lineEditor>label:nth-child(1){flex:1.5 1 0}.lineEditor>label:nth-child(2){flex:1.05 1 0}.lineEditor>label:nth-child(3){flex:1.2 1 0}.lineEditor>label.lineType{flex:.75 1 96px}.lineEditor>label.lineBill{flex:.95 1 120px}.lineEditor>.lineQty{flex:0 0 72px;width:72px}.lineEditor>.lineQty input{padding:10px 6px;text-align:right}.lineEditor>.lineRemove{flex:0 0 36px;width:36px;height:36px;margin-top:calc(2.6em + 6px);border:1px solid #f0c9c6;background:#fff4f3;color:#d13b3b;border-radius:8px;display:grid;place-items:center;cursor:pointer;padding:0}.lineEditor>.lineRemove:hover:not(:disabled){background:#fde4e2;color:#b42318}.lineEditor>.lineRemove:disabled{opacity:.38;cursor:not-allowed}.lineEditor small{grid-row:3;font-size:12px;line-height:1.35;margin:0}.formActions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}.formActions .refresh,.formGrid .refresh{align-self:end}.helpText{font-size:14px;color:#69768b;margin:12px 0 0}.reportCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:8px 0}.reportCard{border:1px solid #e4eaf2;border-radius:12px;padding:18px}.reportCard h4{margin:0 0 8px;font-size:17px}.reportCard p{min-height:40px;color:#68768c;font-size:15px}.reportCard a{text-decoration:none;display:inline-flex;align-items:center;gap:6px}.refresh{display:inline-flex;align-items:center;gap:7px}.positive{color:#15803d}.negative{color:#b91c1c}@media(max-width:1100px){.formGrid{grid-template-columns:repeat(2,minmax(130px,1fr))}.reportCards{grid-template-columns:1fr}}@media(max-width:650px){.formGrid{grid-template-columns:1fr}.lineEditor{flex-wrap:wrap}.lineEditor>label,.lineEditor>.lineQty{flex:1 1 calc(50% - 8px);width:auto}.formActions{align-items:stretch;flex-direction:column}.reportCards{grid-template-columns:1fr}}.panelHeadActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.autoBox{position:relative;min-width:0}.autoMenu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;background:#fff;border:1px solid #d9e1ec;border-radius:8px;max-height:240px;overflow:auto;box-shadow:0 12px 28px #15233a1f}.autoOpt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;border:0;background:#fff;padding:9px 12px;cursor:pointer;font-size:14px;color:#1b2940}.autoOpt.active,.autoOpt:hover{background:#edf3ff}.autoOpt small{font-size:12px;color:#7b8598;font-weight:500}.autoCreate{color:#2c64dc;font-weight:700}.actionsCol{position:sticky;right:0;background:#fff;box-shadow:-10px 0 12px #20283a0d;z-index:1}thead .actionsCol{background:#fafbfe;z-index:2}tr.rowOpen .actionsCol{background:#f8fbff}.rowActions{display:flex;align-items:center;gap:6px}.iconBtn{width:32px;height:32px;display:grid;place-items:center;border:1px solid #e4eaf3;background:#fff;color:#5d6b82;border-radius:8px;cursor:pointer;padding:0}.iconBtn:hover{background:#f3f7ff;color:#2f6be6;border-color:#d5e3fb}.iconBtn.open{background:#e9f2ff;color:#2f6be6;border-color:#c9dbfb}.iconBtn svg{transition:transform .18s ease}.iconBtn.open svg{transform:rotate(180deg)}.nameBtn{border:0;background:transparent;padding:0;margin:0;cursor:pointer;text-align:left;font:inherit;color:inherit}.invoiceLink{border:0;background:transparent;padding:0;margin:0;cursor:pointer;font:inherit;font-weight:700;color:#3a6fd7}.invoiceLink:hover{color:#2f6be6;text-decoration:underline}.nameBtn:hover b,.nameBtn:hover .invoiceNum{color:#2f6be6}tr.rowOpen td{background:#f8fbff;border-bottom-color:transparent}.expandRow td{background:#f7f9fc;padding:4px 14px 16px;white-space:normal}.expandCard{background:#fff;border:1px solid #e6ebf3;border-radius:12px;padding:12px 12px 6px}.expandHead{font-size:13px;font-weight:700;color:#526078;margin:2px 4px 10px}.expandNote{margin:0 4px 12px;color:#6d788c;font-size:14px}.nestedWrap{width:100%;overflow-x:auto}table.nestedTable{min-width:760px}.nestedTable th{background:transparent;padding:8px 10px}.nestedTable td{padding:10px;font-size:14px}.modalBack{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#121c2e7a;display:grid;place-items:center;padding:28px}.modalCard{position:relative;width:min(1100px,100%);max-height:min(860px,calc(100vh - 56px));overflow:auto;background:#fff;border-radius:16px;padding:22px 22px 16px;box-shadow:0 24px 70px #101c3047}.modalClose{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:10px;border:1px solid #e4eaf3;background:#fff;color:#526078;display:grid;place-items:center;cursor:pointer}.modalClose:hover{background:#f4f7fb;color:#1d2b44}.modalKicker{font-size:12px;font-weight:700;letter-spacing:1.2px;color:#8a93a5}.modalCard h2{margin:4px 48px 14px 0;font-family:Manrope,sans-serif;font-size:28px;letter-spacing:-.4px;color:#1d2b44}.modalMeta{display:flex;flex-wrap:wrap;gap:8px 22px;margin-bottom:14px;color:#526078;font-size:14px}.modalMeta b{color:#1d2b44;font-weight:700}.backLink{display:inline-flex;margin-bottom:8px}.detailGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:4px 0 18px}.detailGrid div{background:#f8fafc;border:1px solid #e6ebf3;border-radius:12px;padding:12px 14px}.detailGrid span{display:block;font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:#9aa3b2;margin-bottom:4px}.detailGrid b{color:#1d2b44;font-size:15px;font-weight:700}.detailHeading{margin:0 0 10px;font-size:16px;color:#1d2b44}.dashActions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 19px}.dashAction{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 14px;border:1px solid #e4eaf3;background:#fff;border-radius:13px;cursor:pointer;font-weight:700;font-size:15px;color:#1d2b44}.dashAction:hover{border-color:#c9dbfb;background:#f5f9ff;color:#2f6be6}.dashActionIcon{width:30px;height:30px;border-radius:9px;background:#e9f2ff;color:#2f6be6;display:grid;place-items:center}.searchRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.searchRow .searchBox{margin-bottom:0;flex:1;max-width:450px}@media(max-width:1150px){.dashActions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.dashActions{grid-template-columns:1fr}}.loginShell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,#f5f7fb,#e9eef7)}.loginCard{width:min(420px,100%);background:#fff;border:1px solid #e8ebf2;border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:14px;box-shadow:0 18px 50px #15233a14}.loginBrand{padding:0 0 8px}.loginCard label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:650;color:#526078}.loginCard input{border:1px solid #d9e1ec;border-radius:8px;padding:12px 14px;background:#fff;color:#1b2940}.loginCard .refresh{justify-content:center;width:100%;padding:12px}.iconBtn.danger,.dangerBtn{color:#b42318}.iconBtn.danger:hover{background:#fff4f3;border-color:#f0c9c6;color:#b42318}.dangerBtn{background:#fff;border:1px solid #f0c9c6;color:#b42318;padding:11px 16px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:7px}.dangerBtn:hover{background:#fff4f3}.formActionBtns{display:flex;align-items:center;gap:10px}.permHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.permGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:12px}.permCard{border:1px solid #e6ebf3;border-radius:12px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:6px}.permCard b{font-size:14px;color:#1d2b44}.permCheck{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#526078;text-transform:capitalize}.wrapCell{white-space:normal;max-width:420px;line-height:1.4}.metricBlock{margin:19px 0}.metricBlock .metrics{margin:12px 0 0}.rangeBar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.tablePanel .rangeBar{margin:4px 0 14px}.rangeLabel,.rangeHint{font-size:13px;font-weight:650;color:#7a8496}.rangeHint{margin-left:auto}.rangeChip{border:1px solid #e4eaf3;background:#fff;color:#4f5d74;border-radius:999px;padding:7px 12px;cursor:pointer;font-size:13px;font-weight:650}.rangeChip:hover{border-color:#c9dbfb;color:#2f6be6;background:#f5f9ff}.rangeChip.on{background:#e9f2ff;border-color:#c9dbfb;color:#2f6be6}.rangeSelect{border:1px solid #d9e1ec;border-radius:8px;padding:7px 10px;background:#fff;color:#1b2940;min-width:160px}.rangeDates{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rangeDates label{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:650;color:#526078}.rangeDates input{border:1px solid #d9e1ec;border-radius:8px;padding:6px 10px;background:#fff;color:#1b2940}
