/* Dashboard summary: prevent clipped rows and keep the department hierarchy usable. */
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show{
  height:calc(100vh - 88px)!important;
  min-height:560px!important;
  overflow:hidden!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>.page-head,
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>.tab-strip,
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>#sum-global-filter-card{
  flex:0 0 auto!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>:is(#sum-view-proj,#sum-view-dept){
  flex:1 1 0!important;
  flex-direction:column!important;
  height:auto!important;
  min-height:280px!important;
  max-height:none!important;
  overflow:hidden!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>:is(#sum-view-proj,#sum-view-dept)>.dash-table-tools{
  flex:0 0 auto!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>:is(#sum-view-proj,#sum-view-dept)>.tbl-scroll{
  display:block!important;
  position:relative!important;
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>:is(#sum-view-proj,#sum-view-dept)>.tbl-scroll>:is(#sum-proj-table,#sum-dept-table){
  width:calc(100% - 32px)!important;
  margin-left:16px!important;
  margin-right:16px!important;
  box-sizing:border-box!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>:is(#sum-proj-table,#sum-dept-table) thead{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show>:is(#sum-proj-table,#sum-dept-table) thead th{
  position:sticky!important;
  top:0!important;
  z-index:21!important;
  height:40px!important;
  min-height:40px!important;
  box-sizing:border-box!important;
  background:#F5F6F8!important;
  background-clip:padding-box!important;
  box-shadow:inset 0 -1px 0 var(--border)!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show .dashboard-fixed-head{
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  height:40px!important;
  min-height:40px!important;
  margin-bottom:-40px!important;
  overflow:visible!important;
  background:#F5F6F8!important;
  pointer-events:none;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show .dashboard-fixed-head-table{
  width:100%;
  height:40px!important;
  margin:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:fixed!important;
  background:#F5F6F8!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show .dashboard-fixed-head-table th{
  position:static!important;
  height:40px!important;
  min-height:40px!important;
  box-sizing:border-box!important;
  background:#F5F6F8!important;
  background-clip:padding-box!important;
  box-shadow:inset 0 -1px 0 var(--border)!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show .dashboard-fixed-head-table th:first-child{
  position:sticky!important;
  left:16px!important;
  z-index:2!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show .dashboard-fixed-head .sum-dept-header{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  width:100%!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show .dashboard-fixed-head .sum-dept-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 16px!important;
  width:16px!important;
  min-width:16px!important;
  height:16px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:4px!important;
  background:transparent!important;
  color:#667085!important;
  cursor:pointer!important;
  pointer-events:auto;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show :is(#sum-proj-table,#sum-dept-table).dashboard-fixed-head-source>thead{
  visibility:hidden!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show :is(#sum-proj-table,#sum-dept-table).dashboard-fixed-head-source>thead th{
  position:static!important;
  top:auto!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table.dashboard-fixed-head-source>thead th:first-child{
  position:static!important;
  left:auto!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table :is(th,td):first-child{
  position:sticky!important;
  left:16px!important;
  z-index:6!important;
  min-width:220px!important;
  background:#fff!important;
  box-shadow:inset -1px 0 0 var(--border)!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table thead th:first-child{
  z-index:24!important;
  background:#F5F6F8!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table tbody tr[data-dept-level="0"]>td:first-child{
  background:#FAFBFC!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table .sum-dept-header{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  width:100%!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table .sum-dept-header>.sum-dept-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 16px!important;
  width:16px!important;
  min-width:16px!important;
  height:16px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:4px!important;
  background:transparent!important;
  color:#667085!important;
  cursor:pointer!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table .sum-dept-header>.sum-dept-toggle:hover{
  background:#EAECF0!important;
  color:#344054!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table .sum-dept-toggle-caret{
  display:block!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1!important;
  transform-origin:center!important;
  transition:transform .16s ease!important;
}
html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show #sum-dept-table .sum-dept-toggle.is-collapsed .sum-dept-toggle-caret{
  transform:rotate(-90deg)!important;
}
@media(max-height:720px){
  html body[data-current-page="dashboard"] #page-dashboard.dashboard-flow.show{
    min-height:0!important;
  }
}
