/* KOPEGMAR mobile drawer v0.2.2: scoped to phones; desktop layout unchanged. */
#simpin-menu-backdrop,.simpin-mobile-close{display:none}
@media(max-width:700px){
 body #sidebar,body.navsmall #sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(300px,86vw)!important;height:100vh!important;height:100dvh!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;z-index:101!important;transition:transform .2s ease!important;box-shadow:8px 0 30px #001c3d44;transform:translateX(0)!important}
 body.navsmall #sidebar{transform:translateX(-105%)!important;box-shadow:none;visibility:hidden;pointer-events:none}
 body #shell,body.navsmall #shell{margin-left:0!important;width:100%!important;min-width:0!important;min-height:100vh;transform:none!important}
 body:not(.navsmall){overflow:hidden}
 body #sidebar .brand{display:flex!important;height:90px!important;min-height:90px!important;flex:0 0 90px!important;padding:16px 50px 16px 18px!important;justify-content:flex-start!important;gap:10px!important}
 body #sidebar .brand img{width:54px!important;height:50px!important}
 body #sidebar .wordmark{display:block!important}body #sidebar .wordmark b{font-size:17px!important}body #sidebar .wordmark span{font-size:12px!important}
 body #sidebar nav{display:block!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;padding:6px 10px 18px!important}
 body #sidebar .navtitle{display:flex!important;width:100%;min-height:48px;justify-content:flex-start!important;padding:12px!important;gap:12px!important;flex:none!important;text-align:left}
 body #sidebar .navtitle .navlabel,body #sidebar .navtitle .chev{display:block!important}
 body #sidebar .navtitle .count{display:inline!important}
 body #sidebar .subnav{display:block!important;margin-bottom:10px!important;padding-left:12px!important}
 body #sidebar .subnav button{display:flex!important;min-height:43px!important;white-space:normal!important;line-height:1.45!important;font-size:14px!important;align-items:center;text-align:left;color:#f4f8ff!important}
 body #sidebar .staff{display:flex!important;flex:0 0 auto!important;height:64px!important;min-height:64px!important;padding:10px 16px!important;border-top:1px solid #ffffff24}
 body #sidebar .staff>div{display:block!important}body #sidebar .staff .avatar{display:flex!important}body #sidebar .staff .minimize{display:none!important}
 body #sidebar .simpin-mobile-close{display:flex!important;position:absolute;top:18px;right:12px;width:34px;height:34px;align-items:center;justify-content:center;z-index:2;color:white!important;background:#ffffff18!important;border:1px solid #ffffff40!important;border-radius:8px;font-size:24px;line-height:1}
 #simpin-menu-backdrop{position:fixed;inset:0;z-index:100;background:#00152d80;backdrop-filter:blur(2px);border:0;padding:0;margin:0;width:100%;height:100%;border-radius:0}
 body:not(.navsmall) #simpin-menu-backdrop{display:block}
 body.navsmall #simpin-menu-backdrop{display:none}
 body #shell header{position:sticky;top:0;z-index:35;height:56px!important;padding:0 9px!important;gap:7px!important;flex-shrink:0}
 body #shell header .header-toggle{display:block!important;width:36px;min-width:36px;padding:6px!important}
 body #shell header .globalsearch{flex:1;min-width:0!important;width:auto!important;margin:0!important}
 body #shell header .globalsearch input{width:100%;font-size:13px!important}
 body #shell header .user,body #shell header>.avatar{display:none!important}
 body #shell .worktabs{padding:3px 8px 0!important;min-height:40px;gap:5px;overflow:auto;flex-wrap:nowrap}
 body #shell .worktab{flex:0 0 auto;padding:7px 9px!important;max-width:240px}
 body #shell .worktab button.plain{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body #shell main{padding:14px 10px 20px!important}
 body #shell h1{font-size:23px!important;line-height:1.25!important}
 body #shell .title{gap:10px!important;flex-wrap:wrap}
 body #shell .title p{font-size:13px!important;line-height:1.5}
 body #shell .datepick{min-width:170px!important;height:36px!important}
 body #shell .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body #shell .kpi{padding:12px 9px!important;min-height:82px;gap:9px!important;min-width:0}
 body #shell .kpi .ki{padding:6px!important}body #shell .kpi .ki svg{width:24px;height:24px}
 body #shell .kpi strong{font-size:20px!important;white-space:normal!important;overflow-wrap:anywhere}
 body #shell .kpi small{font-size:12px!important;line-height:1.4}
 body #shell .tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
 body #shell .tablewrap table{min-width:620px}
 body #shell .tablewrap th,body #shell .tablewrap td{font-size:12px!important}
 body #demo-sync{max-width:calc(100vw - 24px);font-size:10px;right:8px;bottom:5px}
}
@media(prefers-reduced-motion:reduce){body #sidebar{transition:none!important}}
