.mm-password-field {
  position: relative;
  display: inline-grid;
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
}
.mm-password-field > input {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  min-height: 44px;
  padding-right: 50px !important;
}
.mm-password-field > .mm-password-toggle {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  background: transparent;
  color: #858590;
  cursor: pointer;
}
.mm-password-field > .mm-password-toggle:hover { background: rgba(128,128,128,.16); color: #e34b55; }
.mm-password-field > .mm-password-toggle:focus-visible { outline: 2px solid #e34b55; outline-offset: 1px; }
.mm-password-field > .mm-password-toggle:disabled { opacity: .4; cursor: default; }
.mm-password-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.mm-password-toggle .mm-password-slash { display: none; }
.mm-password-toggle.is-visible .mm-password-slash { display: block; }
/* Edge's built-in eye would duplicate the shared control. */
.mm-password-field input::-ms-reveal { display: none; }
