#chatScreen{
  height:100dvh!important;
  min-height:100dvh!important;
}

#chatScreen #rootComposer{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) 54px!important;
  grid-template-rows:auto auto!important;
  align-items:end!important;
  column-gap:10px!important;
  row-gap:8px!important;
  flex-wrap:nowrap!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding-bottom:calc(12px + env(safe-area-inset-bottom))!important;
}

#rootComposer #rootImagePreview{
  grid-column:1/-1!important;
  grid-row:1!important;
}

#rootComposer #rootAttach{
  grid-column:1!important;
  grid-row:2!important;
  margin:0!important;
}

#rootComposer #messageInput{
  grid-column:2!important;
  grid-row:2!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
}

#rootComposer #micBtn,
#rootComposer #sendBtn{
  grid-column:3!important;
  grid-row:2!important;
  position:relative!important;
  inset:auto!important;
  margin:0!important;
  align-self:center!important;
}

#rootComposer .hidden{
  display:none!important;
}

#chatScreen #messages{
  padding-bottom:140px!important;
}

#liveVoiceBtn{
  position:fixed!important;
  z-index:2147481500!important;
  pointer-events:auto!important;
  touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  isolation:isolate!important;
}
#liveVoiceBtn *{
  pointer-events:none!important;
}

/* ROOT unified mic/send button */
#rootComposer #micBtn.seRootMicIdle{
  background:#2cff73!important;
  border-color:#55ff91!important;
  color:#001a09!important;
  box-shadow:
    0 0 4px rgba(79,255,139,.95),
    0 0 18px rgba(44,255,115,.45)!important;
}

#rootComposer #micBtn,
#rootComposer #sendBtn{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  border-radius:50%!important;
}

#rootComposer #micBtn svg{
  width:25px!important;
  height:25px!important;
}

#rootComposer #sendBtn.hidden,
#rootComposer #micBtn.hidden{
  display:none!important;
}
