/* Loaded after Bootstrap to preserve Bizgix visual identity on every page. */
html,body{font-size:14px;background:#f4f7fd;color:#14274b;overflow-x:hidden}
.shell .sidebar{width:260px;background:linear-gradient(160deg,#0c2869 0%,#0b3c8d 52%,#07255b 100%);color:#fff}
.shell .sidebar .nav{display:block;padding:15px 10px 20px;flex-wrap:nowrap}
.shell .sidebar .nav-group{display:block;margin-bottom:16px}
.shell .sidebar .nav-link{display:flex;align-items:center;gap:13px;width:100%;padding:11px 14px;margin:2px 0;border:0;border-radius:9px;background:transparent;color:#e3edff!important;text-decoration:none;font-size:13px;font-weight:550;line-height:1.45;white-space:normal;transition:background .15s,color .15s}
.shell .sidebar .nav-link .lucide{color:#a6c8ff;stroke:currentColor}
.shell .sidebar .nav-link:hover,.shell .sidebar .nav-link:focus-visible{background:rgba(255,255,255,.13);color:#fff!important}
.shell .sidebar .nav-link.active,.shell .sidebar .nav-link[aria-current="page"]{background:linear-gradient(100deg,#2786ff,#1162df);color:#fff!important;box-shadow:0 4px 12px #001c5050;font-weight:750}
.shell .sidebar .nav-link.active .lucide{color:#fff}
.shell .sidebar .nav-heading{color:#a8c8fb;font-size:10px;letter-spacing:1.25px;font-weight:800}
.shell .main{flex:1;min-width:0;max-width:100%}
.shell .topbar{background:linear-gradient(110deg,#0e3c90,#1676e6 65%,#0d397f);color:white}
.shell .content{max-width:1720px;padding:24px 26px 42px}
.shell .panel{background:#fff;border:1px solid #e5eaf3;border-radius:13px}
.shell .module-header h1{font-size:clamp(24px,2.4vw,34px);font-weight:750;color:#182b49}
.shell .primary-btn{background:#126de6;color:white}
.shell .nav-link:focus-visible{outline:2px solid #b8d5ff;outline-offset:1px}
@media(max-width:1150px){.shell .sidebar{width:220px}.shell .content{padding:18px}}
@media(max-width:760px){.shell .sidebar{width:260px;position:fixed;transform:translateX(-105%)}.shell.nav-open .sidebar{transform:translateX(0)}.shell .content{padding:16px}}

/* V14: independent, fixed-height navigation; main content owns document scrolling. */
@media (min-width:761px){html,body{height:100%}.shell{min-height:100vh;align-items:stretch}.shell .sidebar{position:sticky!important;top:0!important;height:100vh!important;max-height:100vh!important;overflow-y:auto!important;overscroll-behavior:contain;align-self:flex-start;flex-shrink:0}.shell .main{min-width:0;flex:1}}
@media (max-width:760px){.shell .sidebar{height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;top:0!important;z-index:1000}.shell .backdrop{z-index:999}}
.bgx-live-table{width:100%;border-collapse:collapse}.bgx-live-table th,.bgx-live-table td{padding:12px;text-align:left;border-bottom:1px solid #e6ebf5}.bgx-live-table th{font-weight:700;color:#41608f}.bgx-api-state{padding:14px;border-radius:10px;background:#eaf2ff;margin:14px 0;color:#224a8e}.bgx-api-state.error{background:#fff0ef;color:#9c2e2e}.bgx-live-tools{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}
