/* Narrow-screen login usability fix — do not hide or replace WorkDo inputs. */
@media (max-width:768px) {
  body:has(#app #email):has(#app #password) #app > div[dir] {
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
  }

  body:has(#app #email):has(#app #password) #app > div[dir] > div:nth-of-type(1) {
    height:auto!important;
    min-height:100dvh!important;
    justify-content:flex-start!important;
    overflow:visible!important;
    padding:18px 16px 24px!important;
  }

  body:has(#app #email):has(#app #password) #app > div[dir] > div:nth-of-type(1) > div.flex-1 {
    flex:0 0 auto!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:520px!important;
    margin:0 auto!important;
    padding:0 0 8px!important;
  }

  body:has(#app #email):has(#app #password) #app input#email,
  body:has(#app #email):has(#app #password) #app input#password {
    min-height:42px;
  }
}