@media (max-width: 900px) {
  body { display: block; min-height: 100vh; padding: 0; background: #f5f8ff; }
  .login-shell { display: flex; flex-direction: column; width: 100%; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .hero { display: block; order: -1; flex: 0 0 clamp(148px, 20vw, 178px); height: clamp(148px, 20vw, 178px); overflow: hidden; background: linear-gradient(135deg, #061d55, #0766e9); }
  .hero > picture, .hero > picture > img { display: block; width: 100%; height: 100%; }
  .hero > picture > img { object-fit: cover; object-position: center 52%; }
  .hero::after { background: linear-gradient(180deg, transparent 58%, #062b7066); }
  .hero-copy { display: none; }
  .login-panel { flex: 1; min-height: calc(100vh - 178px); padding: 22px 24px 28px; }
  .login-panel .brand { margin-bottom: 24px; }
  .welcome { margin-top: 0; }
  .welcome h1 { margin-top: 12px; font-size: 34px; }
  form { gap: 16px; margin: 24px 0 18px; }
  select, input { height: 50px; font-size: 16px; }
  .login-button { height: 52px; }
  .login-note { margin-top: auto; padding-top: 10px; }
}

@media (max-width: 420px) {
  .hero { flex-basis: 128px; height: 128px; }
  .login-panel { min-height: calc(100vh - 128px); padding: 18px 20px 24px; }
  .login-panel .brand { margin-bottom: 20px; }
  .brand strong { font-size: 15px; }
  .welcome h1 { font-size: 31px; }
}
.password-wrap{position:relative;min-width:0;width:100%}
.password-wrap input{display:block;min-width:0;width:100%;padding-right:72px}
.password-wrap button{position:absolute;top:50%;right:8px;transform:translateY(-50%);display:grid;place-items:center;width:48px;min-width:48px;height:36px;margin:0;padding:0;white-space:nowrap;box-sizing:border-box}
