/* ETRIXTECH E-TEKNISI V83 — APK technician chat composer position fix only.
   Root cause V82: the hidden technician contact panel left the two-row mobile grid intact,
   so the conversation was auto-placed in the short first row and the second row stayed empty. */

@media(max-width:900px){
  /* Technician APK has no contact list. Use one full-height row for the conversation. */
  body.apk-mode.logged-in.user-tech #chat .chat-app-v81{
    grid-template-rows:minmax(0,1fr)!important;
  }

  body.apk-mode.logged-in.user-tech #chat .chat-contact-panel-v81[hidden]{
    display:none!important;
  }

  body.apk-mode.logged-in.user-tech #chat .chat-contact-panel-v81[hidden] + .chat-conversation-v81{
    grid-row:1 / -1!important;
    min-height:0!important;
    height:100%!important;
  }

  /* Explicit child order for Android WebView. */
  body.apk-mode.logged-in.user-tech #chat .chat-thread-head-v81{
    order:1!important;
  }
  body.apk-mode.logged-in.user-tech #chat #chatCards.chat-thread-v81{
    order:2!important;
    flex:1 1 auto!important;
    min-height:0!important;
    height:0!important;
    overflow-y:auto!important;
  }
  body.apk-mode.logged-in.user-tech #chat #chatForm.chat-form-v81{
    order:3!important;
    flex:0 0 auto!important;
    margin-top:auto!important;
  }
}
