/* Jednakowe ramki filtrow klienta i administratora. */
#panel-workspace .workspace-sidebar>nav .sidebar-tab{box-sizing:border-box;min-height:54px;border:1px solid #dce2ec;border-radius:6px;padding:12px 10px}#panel-workspace .workspace-sidebar>nav .sidebar-tab.active{border-color:#a9c9ff;background:#e8f0ff;color:#075cd9}#panel-workspace .workspace-sidebar>nav .sidebar-tab .sidebar-view-count{margin-left:auto;flex-shrink:0}

/* One loader: session restore gives way to the visible workspace. */
body:has(#panel-workspace:not([hidden])) #panel-session-loading,body:has(#portal-workspace:not([hidden])) #panel-session-loading{display:none!important}
/* Keep the HR and equipment brand inside the sidebar with room below. */
@media(min-width:761px){#portal-workspace:not(.module-workspace--home) .module-sidebar{box-sizing:border-box;padding-bottom:max(24px,env(safe-area-inset-bottom))}.module-side-watermark{flex-shrink:0;min-height:72px;padding:24px 0 24px;box-sizing:border-box}}
@media(min-width:761px) and (max-height:700px){#portal-workspace:not(.module-workspace--home) .module-sidebar{gap:12px;padding-top:16px;padding-bottom:16px}.module-side-watermark{min-height:40px;padding:8px 0;margin-top:auto}}
