/* NS POS PRO Windows ERP v4.9 · Modern desktop workspace */
body.nsdesk-v49{--ns-blue:#2563eb;--ns-border:#e8ecf4;--ns-text:#162441;--ns-muted:#77849a;background:#f5f7fc!important;color:var(--ns-text);font-family:Inter,'Segoe UI',Arial,sans-serif;padding:78px 0 0 256px!important;min-width:1050px!important}
body.nsdesk-v49 > header:not(.nsdesk-top),body.nsdesk-v49 > nav.tabs,body.nsdesk-v49 #ns34BottomNav{display:none!important}
body.nsdesk-v49 main{width:100%!important;max-width:none!important;padding:26px clamp(24px,2.8vw,52px) 70px!important;box-sizing:border-box}
body.nsdesk-v49 main>.page{max-width:1700px;margin:0 auto}
body.nsdesk-v49 .panel{background:#fff;border:1px solid var(--ns-border)!important;border-radius:20px!important;box-shadow:0 8px 30px #21345d08!important;padding:24px!important}
body.nsdesk-v49 button{cursor:pointer}
body.nsdesk-v49 .nsdesk-sidebar{position:fixed;inset:0 auto 0 0;width:256px;display:flex;flex-direction:column;background:linear-gradient(179deg,#091b37,#122749 58%,#0a1b36);color:white;z-index:9000;box-shadow:5px 0 26px #0b1b3420}
.nsdesk-brand{height:99px;display:flex;align-items:center;gap:13px;padding:23px 20px 18px;border-bottom:1px solid #fff1}
.nsdesk-logo{width:48px;height:48px;border-radius:16px;overflow:hidden;box-shadow:0 7px 25px #041a4973;background:#1b5eff}.nsdesk-logo img{width:100%;height:100%;object-fit:cover}
.nsdesk-brand strong{display:block;font-size:18px;line-height:1.15;letter-spacing:-.4px}.nsdesk-brand small{display:block;color:#92b9ec;font-size:10px;font-weight:850;letter-spacing:1.7px;margin-top:8px}
.nsdesk-nav-scroll{overflow:auto;flex:1;padding:11px 10px 14px;scrollbar-width:thin;scrollbar-color:#395071 transparent}
.nsdesk-group-label{padding:19px 12px 8px;color:#819bb9;font-size:10px;font-weight:850;letter-spacing:1.5px}
.nsdesk-nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:43px;padding:11px 12px;color:#bad0e9;background:transparent;border:0;border-radius:11px;font-size:13px;font-weight:620;text-align:left;transition:background .15s,color .15s}
.nsdesk-nav-item:hover{background:#ffffff12;color:white}.nsdesk-nav-item.active{color:#fff;background:linear-gradient(110deg,#2061f5,#168af2);box-shadow:0 5px 14px #0b4ea952}.nsdesk-nav-emoji{font-size:18px;width:23px;text-align:center;flex-shrink:0}.nsdesk-nav-name{flex:1}.nsdesk-nav-end{font-size:12px;opacity:.58}
.nsdesk-side-bottom{padding:17px 20px 23px;border-top:1px solid #ffffff17;display:flex;flex-direction:column;gap:10px}.nsdesk-side-bottom small{font-size:10px;color:#819cb9}.nsdesk-side-status{font-size:11px;color:#c4d8f3;display:flex;gap:8px;align-items:center;max-width:216px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nsdesk-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#27c98e;box-shadow:0 0 0 3px #21c68c22;flex-shrink:0}
body.nsdesk-v49 .nsdesk-top{position:fixed;inset:0 0 auto 256px;height:78px;z-index:8800;display:flex;gap:21px;align-items:center;padding:0 clamp(24px,2.8vw,52px);background:#fffdfd;border-bottom:1px solid #e5eaf3;box-shadow:0 3px 18px #172d5007}
.nsdesk-crumb{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:13px;color:#93a0b4}.nsdesk-crumb strong{color:#243a59;font-weight:800}
.nsdesk-search-wrap{position:relative;max-width:475px;min-width:170px;flex:1;margin-left:auto}.nsdesk-search-wrap input{height:43px;width:100%;box-sizing:border-box;border:1px solid #e1e7f0;background:#f5f7fb;border-radius:12px;padding:0 60px 0 40px;font:13px Inter,'Segoe UI',sans-serif;color:#223452;outline:none}.nsdesk-search-wrap input:focus{border-color:#8fb5ff;box-shadow:0 0 0 3px #dbeafe}.nsdesk-search-icon{position:absolute;top:8px;left:14px;font-size:24px;color:#8496af;line-height:1}.nsdesk-search-wrap kbd{position:absolute;right:13px;top:12px;font-family:inherit;font-size:10px;color:#8b9aae;background:#fff;border:1px solid #dfe7f1;border-radius:5px;padding:3px 5px}
.nsdesk-results{position:absolute;left:0;right:0;top:50px;background:white;box-shadow:0 16px 36px #102e5340;border:1px solid #dbe5f0;border-radius:14px;overflow:hidden;z-index:9100}.nsdesk-results[hidden]{display:none}.nsdesk-result{width:100%;display:flex;gap:11px;align-items:center;text-align:left;border:0;border-bottom:1px solid #eff2f6;background:#fff;padding:13px;color:#1d3555;font-weight:650}.nsdesk-result:hover{background:#eff5ff}.nsdesk-result-none{padding:17px;color:#73809a;font-size:13px}
.nsdesk-head-actions{display:flex;gap:12px;align-items:center}.nsdesk-status{display:flex;gap:8px;align-items:center;background:#ecfaf5;color:#117f59;font-weight:750;font-size:11px;border:1px solid #d5f1e4;padding:10px 12px;border-radius:11px;white-space:nowrap}.nsdesk-top-bill{white-space:nowrap!important;color:white!important;border:0!important;border-radius:11px!important;background:#2563eb!important;font-weight:780!important;padding:13px 17px!important;box-shadow:0 7px 16px #295ad62e}.nsdesk-top-bill[hidden]{display:none}.nsdesk-logout{border:1px solid #e1e7f0!important;border-radius:10px!important;background:#f6f8fc!important;color:#344965!important;padding:12px!important;font-size:16px!important;line-height:1!important}
body.nsdesk-v49 #cloudTopMenu{top:24px!important;right:43px!important}body.nsdesk-v49 #cloudGate{padding-left:256px!important}body.nsdesk-v49 #bluetoothPanel{display:none!important}
body.nsdesk-v49 #dashboard>.ns31-hero,body.nsdesk-v49 #dashboard>.ns31-section-heading,body.nsdesk-v49 #dashboard>.ns31-shortcuts,body.nsdesk-v49 #dashboard>.ns31-live-cards,body.nsdesk-v49 #dashboard>.ns31-metrics,body.nsdesk-v49 #dashboard>.ns31-bottom-grid,body.nsdesk-v49 #dashboard>.ns-device-report,body.nsdesk-v49 #dashboard>footer{display:none!important}
.nsdesk-home{display:block;color:#14243f}.nsdesk-home *{box-sizing:border-box}
.nsdesk-welcome{position:relative;display:flex;justify-content:space-between;align-items:center;overflow:hidden;min-height:187px;padding:26px 36px;background:linear-gradient(115deg,#0c2862,#1459bd 64%,#1784ed);border-radius:22px;color:#fff;box-shadow:0 14px 28px #0f4fb522}.nsdesk-welcome-left{position:relative;z-index:2}.nsdesk-kicker{font-size:10px;font-weight:850;letter-spacing:2px;color:#bfe1ff}.nsdesk-kicker-dot{display:inline-block;background:#41f3c6;width:8px;height:8px;border-radius:50%;margin-right:8px;box-shadow:0 0 0 5px #44f3c629}.nsdesk-welcome h1{margin:13px 0 9px;font-size:clamp(23px,2.4vw,32px);font-weight:850;letter-spacing:-.8px;color:white}.nsdesk-welcome h1 span{color:#82eaff}.nsdesk-welcome p{color:#c7dcff;font-size:13px;margin:0 0 20px}.nsdesk-hero-actions{display:flex;gap:9px}.nsdesk-hero-actions button{padding:11px 17px;border-radius:10px;border:1px solid #ffffff41;font-weight:780}.nsdesk-hero-actions .primary{background:#fff;color:#1652ba}.nsdesk-hero-actions .light{background:#ffffff21;color:white}.nsdesk-welcome-art{flex:0 0 190px;position:relative;height:150px;margin-right:35px}.nsdesk-art-ring{position:absolute;inset:-37px -48px -48px -36px;border:31px solid #ffffff0f;border-radius:50%;transform:rotate(-20deg)}.nsdesk-art-core{position:absolute;top:20px;left:31px;display:grid;place-items:center;width:116px;height:116px;border:1px solid #ffffff52;background:linear-gradient(140deg,#48b6ff,#1662db);box-shadow:0 9px 31px #001d5066;border-radius:28px;font-size:50px;font-weight:900;color:#fff}.nsdesk-art-chip{position:absolute;right:5px;bottom:8px;padding:6px 14px;font-weight:950;border-radius:9px;color:#102f69;background:#ffcb5c;transform:rotate(-12deg)}
.nsdesk-intro{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:27px 0 16px}.nsdesk-intro small{color:#2673cf;font-size:10px;letter-spacing:1.8px;font-weight:900}.nsdesk-intro h2{color:#152943;font-size:20px;font-weight:850;margin:5px 0 0;letter-spacing:-.35px}.nsdesk-intro>span{font-size:11px;color:#98a3b5;margin-bottom:4px}
.nsdesk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.nsdesk-kpi{min-width:0;border:1px solid #e7edf7;border-radius:17px;background:#fff;padding:19px 19px 17px;box-shadow:0 8px 22px #172f5508}.nsdesk-kpi-head{display:flex;align-items:center;gap:11px;margin-bottom:13px}.nsdesk-kpi-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;font-size:21px}.nsdesk-kpi-icon.blue{background:#e7efff}.nsdesk-kpi-icon.violet{background:#f0e9ff}.nsdesk-kpi-icon.teal{background:#d9f8f3}.nsdesk-kpi-icon.amber{background:#fff2d7}.nsdesk-kpi-caption{font-size:12px;color:#71829e;font-weight:750}.nsdesk-kpi strong{display:block;color:#1c304f;font-size:25px;letter-spacing:-.8px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nsdesk-kpi>small{font-size:10px;color:#a0abc0}.nsdesk-kpi-alert button{border:0;background:transparent;color:#d38a1e;font-size:11px;font-weight:850;padding:0}
.nsdesk-workspace{margin-top:16px}.nsdesk-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.nsdesk-filters button{border:1px solid #e6ebf4;border-radius:11px;background:#fff;color:#667991;font-weight:760;font-size:12px;padding:10px 14px}.nsdesk-filters button.active{background:#1c60dc;border-color:#1c60dc;color:white;box-shadow:0 6px 15px #245dd527}.nsdesk-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}.nsdesk-tile{min-width:0;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:1px solid #e5ebf4;border-radius:18px;background:white;min-height:126px;padding:18px 18px 17px;text-align:left;box-shadow:0 6px 18px #172d4e08;transition:transform .16s,box-shadow .16s,border-color .16s}.nsdesk-tile:hover{transform:translateY(-3px);box-shadow:0 13px 26px #1534571b;border-color:#bcd3f9}.nsdesk-tile:focus-visible{outline:3px solid #78a9ff}.nsdesk-tile-emoji{display:grid;place-items:center;font-size:21px;width:45px;height:45px;border-radius:13px;margin-bottom:4px}.nsdesk-tile.blue .nsdesk-tile-emoji{background:linear-gradient(145deg,#d8e8ff,#eff5ff)}.nsdesk-tile.mint .nsdesk-tile-emoji{background:linear-gradient(145deg,#cef9ea,#eafcf7)}.nsdesk-tile.amber .nsdesk-tile-emoji{background:linear-gradient(145deg,#ffebc5,#fff9e8)}.nsdesk-tile.violet .nsdesk-tile-emoji{background:linear-gradient(145deg,#ebddff,#f5efff)}.nsdesk-tile.pink .nsdesk-tile-emoji{background:linear-gradient(145deg,#ffdaed,#fff0f7)}.nsdesk-tile.slate .nsdesk-tile-emoji{background:#e9eef7}.nsdesk-tile strong{font-size:14px;color:#152943;line-height:1.3}.nsdesk-tile small{font-size:11px;color:#8795a9;line-height:1.4}.nsdesk-tile-arrow{position:absolute;right:18px;bottom:18px;color:#94a6bd;font-size:18px;font-weight:750}
.nsdesk-lower{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-top:23px}.nsdesk-module-panel{background:#fff;border-radius:18px;border:1px solid #e6eaf1;min-height:184px;box-shadow:0 6px 17px #172d4e07;padding:18px 21px}.nsdesk-module-panel>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f2f6;padding-bottom:11px;margin-bottom:4px}.nsdesk-module-panel>header small{font-size:9px;font-weight:850;color:#7398cc;letter-spacing:1.3px}.nsdesk-module-panel>header h3{font-size:16px;margin:4px 0 0;color:#233450}.nsdesk-module-panel>header button{border:0;background:transparent;color:#2f72ce;font-weight:800;font-size:11px}.nsdesk-list-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #f0f3f7}.nsdesk-list-row:last-child{border:0}.nsdesk-row-symbol{display:grid;place-items:center;background:#eef5ff;width:34px;height:34px;border-radius:9px;font-size:17px}.nsdesk-row-symbol.orange{background:#fff3e5}.nsdesk-list-label{display:flex;flex-direction:column;flex:1;gap:3px;min-width:0}.nsdesk-list-label strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#253653}.nsdesk-list-label small{font-size:10px;color:#9eabc0}.nsdesk-row-amount{font-size:12px;color:#203451}.nsdesk-stock-amount{font-size:11px;color:#e08d16}.nsdesk-empty{margin:15px 0;font-size:12px;color:#9aa7b6}.nsdesk-disclaimer{color:#a2aab8;font-size:11px;text-align:center;margin:18px 0}
@media(max-width:1330px){body.nsdesk-v49{padding-left:224px!important}body.nsdesk-v49 .nsdesk-sidebar{width:224px}body.nsdesk-v49 .nsdesk-top{left:224px}.nsdesk-top .nsdesk-status{display:none}.nsdesk-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.nsdesk-welcome-art{margin-right:0}}
@media(max-width:1120px){body.nsdesk-v49 .nsdesk-search-wrap{max-width:280px}.nsdesk-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.nsdesk-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.nsdesk-welcome-art{display:none}}
@media print{.nsdesk-sidebar,.nsdesk-top,.nsdesk-home{display:none!important}body.nsdesk-v49{padding:0!important}body.nsdesk-v49 #cloudGate{display:none!important}}
/* Override the legacy mobile-header hiding rule for our desktop title/search bar. */
body.ns-win-desktop.nsdesk-v49>header.nsdesk-top{display:flex!important}
/* Keep the desktop header uncluttered on accounts without billing access. */
body.nsdesk-v49 .nsdesk-hero-actions button[hidden]{display:none!important}
