.g-erp-logo{position:relative;display:inline-block;flex:none;width:130px;height:58px;overflow:hidden;vertical-align:middle;background:#fff}
.g-erp-logo>img{position:absolute!important;display:block!important;left:0;top:50%;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;transform:translateY(-50%);object-fit:initial!important}
body.grp-system-ui .grp-system-brand{padding:0 12px 0 0!important;gap:0!important;min-width:130px}.grp-system-brand .g-erp-logo{display:block!important;width:120px;height:54px}
.gl-brand>.g-erp-logo{width:210px;height:94px}.gl-brand{height:94px}.gl-card-brand .g-erp-logo{width:170px;height:76px}.gl-card-heading h2:empty{display:none}
.gl-preloader-content>.g-erp-logo,.grp-screen-loader-content>.g-erp-logo{width:160px;height:74px;margin:0 auto 12px;display:block}
.g-erp-loading-line{display:block;width:82px;height:2px;margin:0 auto 14px;background:linear-gradient(90deg,#e5effa,#0876cb,#e5effa);background-size:200% 100%;animation:g-erp-progress 1.4s linear infinite}
@keyframes g-erp-progress{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.g-erp-loading-line{animation:none}}
/* A single viewport-sized workspace: header, one scroll area, fixed footer. */
body.grp-system-ui{box-sizing:border-box!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;padding-top:var(--grp-top)!important;padding-bottom:24px!important}
body.grp-system-ui .main-section{height:calc(100dvh - var(--grp-top) - 24px)!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;scrollbar-gutter:stable}
body.grp-system-ui .body-sidebar-container{position:relative!important;top:0!important;bottom:auto!important;height:calc(100dvh - var(--grp-top) - 24px)!important;max-height:calc(100dvh - var(--grp-top) - 24px)!important;padding:0!important;overflow:hidden!important}
body.grp-system-ui .body-sidebar-container .body-sidebar{position:absolute!important;top:0!important;bottom:0!important;height:100%!important;max-height:100%!important;padding:0!important;overflow:hidden!important;border-right:0!important}
body.grp-system-ui .body-sidebar-placeholder{height:100%!important;padding:0!important}
body.grp-system-ui .body-sidebar>.grp-app-nav{height:100%!important;min-height:0!important;padding:8px 5px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin}
body.grp-system-ui .grp-app-nav-item{flex-shrink:0}
body.grp-system-ui .grp-system-footer{position:fixed!important;bottom:0!important;height:24px!important;z-index:1030!important;background:#fff!important}
body.grp-system-ui .grp-footer-brand{background:#fff!important;box-shadow:none!important;border:0!important;overflow:hidden!important;width:54px!important;height:24px!important;top:0!important;padding:0!important;clip-path:none!important;transform:none!important}
body.grp-system-ui .grp-footer-brand:before{display:none!important}.grp-footer-brand>img{position:absolute!important;width:54px!important;max-width:none!important;height:auto!important;left:0;top:50%;transform:translateY(-50%);object-fit:initial!important}
body.grp-system-ui .grp-guide-return{bottom:34px!important}
body.grp-on-dashboard .body-sidebar-container,body.grp-on-dashboard .grp-system-footer{display:none!important}
@media(max-width:900px){body.grp-system-ui .body-sidebar-container{position:fixed!important;top:var(--grp-top)!important;bottom:24px!important;height:calc(100dvh - var(--grp-top) - 24px)!important}.grp-system-brand .g-erp-logo{width:96px;height:44px}body.grp-system-ui .grp-system-brand{min-width:96px;padding-right:3px!important}}
/* Home owns its own header and content, with its footer outside the scroll area. */
.topbar .brand>.g-erp-logo{width:130px;height:58px}.topbar .brand{padding:0 15px 0 0;gap:0}
body:has(.topbar) main#main{padding-bottom:38px}
body:has(.topbar)>footer{position:fixed;left:0;right:0;bottom:0;height:26px;min-height:26px;padding:4px 20px;background:#fff;z-index:20;border-top:1px solid #e1e6ee}
@media(max-width:760px){.gl-brand>.g-erp-logo{width:175px;height:78px}.gl-brand{height:78px}.gl-card-brand .g-erp-logo{width:145px;height:65px}.topbar .brand>.g-erp-logo{width:100px;height:48px}}

.shell #main>footer{position:fixed!important;left:0;right:0;bottom:0;height:26px!important;min-height:26px!important;padding:4px 20px!important;margin:0!important;background:#fff;z-index:20;border-top:1px solid #e1e6ee;display:flex;align-items:center;gap:4px}
.gl-layout{min-height:calc(100svh - 160px)}
