/* VyaparMitra V24 — separate standalone Billing workspace */
html.cps-hisabsphere-standalone-v24,html.cps-hisabsphere-standalone-v24 body{width:100%;height:100%;min-height:100%;margin:0;overflow:hidden!important;background:#f4f7fc}
html.cps-hisabsphere-standalone-v24 body>header.top{display:none!important}
html.cps-hisabsphere-standalone-v24 body>main{display:block!important;width:100%!important;max-width:none!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:hidden!important}
html.cps-hisabsphere-standalone-v24 #app:not(.hidden){display:block!important;width:100%!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:hidden!important}
html.cps-hisabsphere-standalone-v24 #app:not(.hidden)>.app-shell{display:block!important;width:100%!important;max-width:none!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:hidden!important}
html.cps-hisabsphere-standalone-v24 #app:not(.hidden) .sidebar{display:none!important}
html.cps-hisabsphere-standalone-v24 #app:not(.hidden) .app-content{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:auto!important;background:#f4f7fc!important}
html.cps-hisabsphere-standalone-v24 .app-content>.welcome,html.cps-hisabsphere-standalone-v24 .app-content>#overviewPanel,html.cps-hisabsphere-standalone-v24 .app-content>.layout{display:none!important}
html.cps-hisabsphere-standalone-v24 #moduleBilling:not(.hidden){display:block!important;width:100%!important;max-width:none!important;min-height:100vh!important;height:auto!important;margin:0!important;padding:14px clamp(12px,2vw,28px) 82px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#f4f7fc!important}
html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk{width:100%!important;max-width:none!important;min-height:calc(100vh - 28px)!important;margin:0!important;border-radius:18px!important}
html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-head h2{font-size:0!important}
html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-head h2:after{content:"VyaparMitra";font-size:clamp(21px,2.2vw,29px);letter-spacing:-.5px}
html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-kicker{font-size:0!important}
html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-kicker:after{content:"VyaparMitra · BILLING & ACCOUNTS";font-size:8px;letter-spacing:1.5px}
html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-shell{grid-template-columns:220px minmax(0,1fr)!important}
.cps-hs-offline-bar-v24{position:fixed;z-index:99999;right:18px;bottom:15px;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 30px);padding:9px 12px;border:1px solid #d6e1f2;border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 9px 28px rgba(19,39,78,.16);color:#172b52;font:600 11px/1.25 Segoe UI,Arial,sans-serif;backdrop-filter:blur(12px)}
.cps-hs-offline-bar-v24[hidden]{display:none!important}.cps-hs-offline-bar-v24 .cps-hs-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#16a36a;box-shadow:0 0 0 4px #e3f8ee}.cps-hs-offline-bar-v24[data-mode=offline] .cps-hs-dot,.cps-hs-offline-bar-v24[data-mode=setup] .cps-hs-dot{background:#d97706;box-shadow:0 0 0 4px #fff1dc}.cps-hs-offline-bar-v24[data-mode=review] .cps-hs-dot{background:#dc3e56;box-shadow:0 0 0 4px #ffebef}.cps-hs-offline-bar-v24 b{white-space:nowrap}.cps-hs-offline-bar-v24 [data-hs-detail]{color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cps-hs-offline-bar-v24 button{border:0;border-radius:8px;padding:8px 11px;background:#173f89;color:#fff;font:800 10px Segoe UI,Arial,sans-serif;white-space:nowrap;cursor:pointer}.cps-hs-offline-bar-v24 button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:850px){html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-shell{grid-template-columns:1fr!important}html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-nav{display:flex!important;flex-direction:row!important;overflow-x:auto!important;gap:5px!important;position:sticky;top:0;z-index:20}html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-nav:before{display:none!important}html.cps-hisabsphere-standalone-v24 #moduleBilling #cpsBillingAdvancedDesk .cps-af-nav button{flex:0 0 auto!important;white-space:nowrap!important}}
@media(max-width:520px){.cps-hs-offline-bar-v24{left:8px;right:8px;bottom:8px;gap:7px;padding:8px}.cps-hs-offline-bar-v24 [data-hs-detail]{flex:1;min-width:0}}
