.member-auth-modal .member-auth-form-shell:has(.password-rule-popover) {
  position: relative;
  z-index: 1;
}
.member-auth-modal .member-auth-passwords { position: relative; }
.member-auth-modal .member-auth-passwords .password-rule-form-item { position: static; }

.member-auth-modal .member-auth-passwords .password-rule-popover {
  position: absolute;
  z-index: 3;
  inset: auto 0 calc(100% + 8px);
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cce4d9;
  border-radius: 11px;
  background: #f8fdfa;
  color: #25483e;
  box-shadow: 0 6px 20px #25483e26;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.member-auth-modal .password-rule-title {
  margin-bottom: 5px;
  color: #214437;
  font-weight: 600;
}
.member-auth-modal .password-rule-item { gap: 6px; }
.member-auth-modal .password-rule-item + .password-rule-item { margin-top: 3px; }
.member-auth-modal .password-rule-item.is-pass { color: #177151; }

@media (min-width: 691px) {
  .member-auth-modal .member-auth-passwords .password-rule-popover {
    inset: auto auto 0 calc(100% + 44px);
    width: min(246px, calc((100vw - 62px) / 2.8 - 12px));
  }
}
