/* Bloco original: tdsg-account-right-safe-space-v38 */


.topbar,
.top-bar,
header .top,
header .topbar,
.app-topbar{
  padding-right:10px!important;
  box-sizing:border-box!important;
}


.user-area,
.account-area,
.top-user,
.header-user,
.topbar-user,
.user-box,
.account-box{
  margin-right:4px!important;
}


/* Bloco original: tdsg-clean-layout-from-stable-v42 */


@media (min-width:1000px){
  body{overflow-x:hidden!important}

  
  .app > .top{
    display:none!important;
  }

  
  #systemShell{
    grid-template-columns:282px minmax(0,1fr)!important;
    min-height:100vh!important;
    width:100%!important;
    margin:0!important;
  }
  #systemSidebar{
    position:sticky!important;
    top:0!important;
    height:100vh!important;
    width:auto!important;
    grid-column:1!important;
    margin:0!important;
    padding-top:8px!important;
  }
  #systemMain{
    grid-column:2!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:18px 24px 30px!important;
  }

  
  #tdsgStableSideBrand{
    margin:0 9px 8px!important;
    height:70px!important;
    border-radius:9px!important;
    background:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
  }
  #tdsgStableSideBrand img{
    display:block!important;
    max-width:170px!important;
    max-height:58px!important;
    width:auto!important;
    height:auto!important;
    object-fit:contain!important;
  }

  
  #tdsgStableSideSearch{
    margin:0 9px 10px!important;
  }
  #tdsgStableSideSearch input{
    display:block!important;
    width:100%!important;
    height:35px!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0 10px!important;
    border:1px solid #d7e0e9!important;
    border-radius:8px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    font-size:10.5px!important;
  }

  
  #dashboardstats.active #tdsgModernDashboard .tdsg-dash-welcome{
    display:block!important;
    position:relative!important;
    margin-bottom:14px!important;
    padding-right:470px!important;
  }
  #dashboardstats.active #tdsgModernDashboard .tdsg-dash-date{
    display:block!important;
    width:auto!important;
    border:0!important;
    background:transparent!important;
    border-radius:0!important;
    padding:0!important;
    margin-top:7px!important;
    font-size:11px!important;
    font-weight:600!important;
    color:#40516a!important;
  }

  
  #tdsgStableDashActions{
    position:absolute!important;
    top:17px!important;
    right:24px!important;
    z-index:8!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    padding:7px!important;
    border:1px solid #dbe4ee!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 3px 10px rgba(15,23,42,.06)!important;
  }
  #tdsgStableDashActions button{
    height:35px!important;
    min-height:35px!important;
    margin:0!important;
    padding:0 11px!important;
    border-radius:7px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }
  #tdsgStableDashActions .kbd-hint{display:none!important}
  #dashboardstats.active{position:relative!important}
}


@media (min-width:1000px) and (max-width:1400px){
  #systemShell{grid-template-columns:282px minmax(0,1fr)!important}
  #systemMain{padding:16px 20px 28px!important}
  #dashboardstats.active #tdsgModernDashboard .tdsg-dash-welcome{
    padding-right:430px!important;
  }
  #tdsgStableDashActions{
    top:15px!important;
    right:20px!important;
    gap:5px!important;
  }
  #tdsgStableDashActions button{
    padding:0 9px!important;
    font-size:9.5px!important;
  }
}
