/* Native username text stays readable above its floating label and autofill fill. */
body.cangpt-auth #username{
  color:rgb(var(--text-primary))!important;
  -webkit-text-fill-color:rgb(var(--text-primary))!important;
  caret-color:rgb(var(--text-primary))!important;
}
body.cangpt-auth #username:is(:focus,:not(:placeholder-shown),:-webkit-autofill)+label{
  top:0!important;
  translate:0 -14px!important;
  scale:.75!important;
  transform:none!important;
  transform-origin:left center!important;
}
body.cangpt-auth #username:-webkit-autofill{
  box-shadow:0 0 0 1000px rgb(var(--field-fill)) inset!important;
}
/* An active auth form may exceed the visual viewport when the keyboard opens. */
body.ember-signed-out:has(form:not([hidden])) #root{
  flex:0 0 auto!important;
  min-height:max-content!important;
}
body.ember-signed-out:has(form:not([hidden])) #root>.min-h-screen{
  min-height:max-content!important;
}
@media(max-width:767px){
  body.ember-composer-focused .ea-chat-pane:has(#prompt-textarea){
    min-height:0!important;
    height:var(--ember-visual-height,100%)!important;
    max-height:var(--ember-visual-height,100%)!important;
    overflow:hidden!important;
    justify-content:flex-end!important;
  }
  body.ember-composer-focused .ea-chat-pane:has(#prompt-textarea)>div.cangpt-welcome-shell{
    display:none!important;
  }
  body.ember-composer-focused .ea-chat-pane:has(#prompt-textarea)>div:nth-child(2){
    max-height:100%!important;
    overflow-y:auto!important;
    flex:0 1 auto!important;
  }
  body.ember-composer-focused #ember-pro-test-balance{
    display:none!important;
  }
}
@media(max-width:767px) and (max-height:600px){
  #ember-pro-test-balance{display:none!important}
}