/* Coach account controls: compact actions at the top-right of the workspace, never a footer card. */
@media (min-width:761px){
  .shell:has(.sidebar [data-nav="Clientes"]) .side-footer{
    position:fixed!important;
    top:11px!important;
    bottom:auto!important;
    left:auto!important;
    right:32px!important;
    transform:none!important;
    z-index:39000!important;
    width:max-content!important;
    max-width:calc(100vw - 300px)!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    width:max-content!important;
    max-width:100%!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  /* The coach identity is already present in the dashboard/brand. Do not repeat it here. */
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini>strong,
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini>small{
    display:none!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .btn,
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .stable-language,
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .lm-lang{
    min-height:34px!important;
    margin:0!important;
    border:1px solid #30313a!important;
    border-radius:10px!important;
    background:#141419!important;
    box-shadow:0 7px 20px rgba(0,0,0,.16)!important;
    transition:border-color .16s ease,background .16s ease,transform .16s ease,color .16s ease!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .btn{
    width:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:7px 11px!important;
    color:#d8d8df!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .btn:hover{
    color:#fff!important;
    border-color:var(--accent,#ff6b35)!important;
    background:#1b1715!important;
    transform:translateY(-1px)!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini #bpOpen{
    color:#ffb08d!important;
    border-color:#4d3328!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini #logout{
    grid-column:auto!important;
    width:auto!important;
    color:#d9a9ad!important;
    border-color:#493036!important;
    background:#171216!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini #logout:hover{
    color:#ffd4d8!important;
    border-color:#80424d!important;
    background:#211418!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .stable-language,
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .lm-lang{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:6px 9px!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .stable-language:hover,
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .lm-lang:hover{
    border-color:#4a4b55!important;
    background:#18181e!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .stable-language span,
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .lm-lang label{
    font-size:10px!important;
    font-weight:800!important;
    color:#8f909a!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .stable-language select,
  .shell:has(.sidebar [data-nav="Clientes"]) .profile-mini .lm-lang select{
    min-width:42px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#ffb08d!important;
    font-size:11px!important;
    font-weight:900!important;
    box-shadow:none!important;
    outline:none!important;
  }

  .shell:has(.sidebar [data-nav="Clientes"]) .main{
    padding-top:70px!important;
  }
}

@media (min-width:761px) and (max-width:1050px){
  .shell:has(.sidebar [data-nav="Clientes"]) .side-footer{
    left:auto!important;
    right:20px!important;
    max-width:calc(100vw - 250px)!important;
  }
}
