/* TentoniNumérik — R44.3.27.6
   Source officielle : Preview VPS 1.41.0-preview.32 / R44.3.27.3.
   Portée stricte : téléphone connecté uniquement.
   Cette couche est ajoutée EN DERNIER dans index.html réel du VPS.
*/

@media(max-width:720px){

  /* TABLEAU DE BORD */
  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #tn141-manager-launch{
    grid-column:10 / 13!important;
    grid-row:1!important;
    position:static!important;
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    place-items:center!important;
    align-content:center!important;
    grid-template-rows:19px auto!important;
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
    height:46px!important;
    min-height:46px!important;
    padding:3px 5px!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:15px!important;
    font-size:0!important;
    line-height:1!important;
  }

  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #tn141-manager-launch span{
    display:none!important;
  }

  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #tn141-manager-launch::after{
    content:"Tableau de bord"!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    color:#174b86!important;
    font-size:6.8px!important;
    font-weight:900!important;
    line-height:8px!important;
    letter-spacing:-.08px!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    transform:none!important;
  }

  /* DÉCONNEXION */
  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #header-logout{
    grid-column:2 / 5!important;
    grid-row:2!important;
    position:static!important;
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    place-items:center!important;
    align-content:center!important;
    grid-template-rows:20px auto!important;
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
    height:42px!important;
    min-height:42px!important;
    padding:2px 4px!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:14px!important;
    gap:0!important;
    font-size:0!important;
    line-height:1!important;
  }

  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #header-logout span{
    display:none!important;
  }

  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #header-logout img{
    display:block!important;
    width:20px!important;
    height:20px!important;
    margin:0!important;
    object-fit:contain!important;
  }

  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #header-logout::after{
    content:"Déconnexion"!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    color:#174b86!important;
    font-size:6.8px!important;
    font-weight:900!important;
    line-height:8px!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    transform:none!important;
  }

  /* Les autres contrôles restent dans la disposition R44.3.27.3. */
  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #tn141-manager-launch,
  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #tn141-manager-launch *,
  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #header-logout,
  html.tn-r42-phone body.tn-authenticated
  .topbar .topbar-inner .top-actions #header-logout *{
    transition-property:none!important;
    animation-duration:0s!important;
    animation-delay:0s!important;
  }
}
