/* ARISTA IA mobile inbox fix — 2026-10-01
   Loaded after v25 so it is the final authority for mobile inbox layout. */
@media (max-width:760px){
  body.v25in .content-shell{
    height:calc(100dvh - 106px)!important;
    min-height:0!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
  }

  body.v25in #content{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    min-width:0!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  body.v25in .topbar{
    flex:0 0 auto!important;
    margin-bottom:12px!important;
  }

  body.v25in .inbox{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    height:auto!important;
    flex:1 1 auto!important;
    min-height:0!important;
    min-width:0!important;
    gap:0!important;
    overflow:hidden!important;
  }

  body.v25in .inbox:not(.show-chat) .conv-list{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:100%!important;
    flex:1 1 auto!important;
    min-height:0!important;
    min-width:0!important;
    overflow-y:scroll!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    overscroll-behavior-y:contain!important;
    pointer-events:auto!important;
    position:relative!important;
    z-index:2!important;
  }

  body.v25in .inbox:not(.show-chat) #inboxConversationRows,
  body.v25in .inbox:not(.show-chat) .conv-item{
    pointer-events:auto!important;
  }

  body.v25in .inbox:not(.show-chat) .conv-item{
    touch-action:manipulation!important;
    position:relative!important;
    z-index:3!important;
  }

  body.v25in .inbox.show-chat .conv-list{
    display:none!important;
  }

  body.v25in .inbox.show-chat .chat{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  body.v25in .inbox.show-chat .messages{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
  }
}