/* AVYORA Connect R6.17 PUX5-R3 — Desktop Finishing Pass
   Removes redundant floating staff controls and protects sidebar/footer hierarchy.
   Presentation only. */
body.pux5r3-staff #dtl6TasksBtn,
body.pux5r3-staff #dtl7CommandBtn{
  display:none!important;
}

/* Staff quick actions are the canonical desktop/tablet entry points. */
.uxr617-shell.staff-workspace .staff-workspace-tools{
  position:relative;
}
.uxr617-shell.staff-workspace #staffTasksQuick{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.uxr617-shell.staff-workspace .staff-task-count{
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  background:#e9f3f4;
  color:#38636e;
  font-size:9px;
  font-weight:900;
  line-height:1;
}
.uxr617-shell.staff-workspace .staff-task-count.is-zero{
  opacity:.55;
}

/* Keep the developer footer readable and separated from operational navigation. */
.uxr617-shell.staff-workspace .sidebar{
  padding-bottom:14px!important;
}
.uxr617-shell.staff-workspace .sidebar-credit{
  position:relative;
  z-index:2;
  margin-top:auto!important;
  padding-top:13px!important;
  background:linear-gradient(180deg,transparent,rgba(8,39,54,.92) 24%,rgba(8,39,54,.98));
}
.uxr617-shell.staff-workspace .developer-credit{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Recent-work row should feel like navigation, not debug metadata. */
.uxr617-shell .flow-continue{
  gap:6px!important;
  color:#c4dce2!important;
}
.uxr617-shell .flow-continue>span{
  font-size:10px;
  font-weight:800;
  opacity:.86;
}
.uxr617-shell .flow-continue button{
  min-height:28px!important;
  padding:5px 9px!important;
  font-size:10px!important;
  border-radius:9px!important;
}

/* Desktop footer spacing and KPI rhythm. */
@media(min-width:1181px){
  .uxr617-shell.staff-workspace .sidebar{
    min-height:100dvh;
    display:flex!important;
    flex-direction:column!important;
  }
  .uxr617-shell.staff-workspace .nav{
    flex:0 1 auto;
  }
  .uxr617-shell.staff-workspace .sidebar-credit{
    margin-top:auto!important;
  }
  .uxr617-shell.staff-workspace .content{
    padding-bottom:48px!important;
  }
}

/* Tablet/mobile: floating staff FABs remain suppressed because topbar tools are preserved. */
@media(max-width:1180px){
  body.pux5r3-staff #dtl6TasksBtn,
  body.pux5r3-staff #dtl7CommandBtn{
    display:none!important;
  }
}

/* Non-staff task FAB remains available but visually quieter. */
body:not(.pux5r3-staff) .dtl6-task-fab{
  box-shadow:0 8px 24px rgba(6,37,52,.14)!important;
  border:1px solid rgba(255,255,255,.12)!important;
}
