.pw-field {
  display:grid;
  gap:.35rem;
  min-width:0;
}
.pw-field .pw-control {
  position:relative;
  display:block;
  width:100%;
  min-width:0;
}
.pw-control > input {
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
}
.pw-control > input::-ms-reveal {display:none}
.pw-control > button.pw-toggle {
  position:absolute;
  top:50%;
  inset-inline-end:3px;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  width:36px;
  height:calc(100% - 4px);
  min-height:0;
  max-height:42px;
  padding:0;
  margin:0;
  border:0;
  border-radius:6px;
  background:transparent;
  box-shadow:none;
  color:#576a73;
  cursor:pointer;
  touch-action:manipulation;
}
.pw-control > button.pw-toggle[hidden] {display:none}
.pw-control > button.pw-toggle:hover {
  transform:translateY(-50%);
  background:rgba(85,110,112,.1);
  box-shadow:none;
}
.pw-control > button.pw-toggle:focus-visible {
  outline:2px solid currentColor;
  outline-offset:-2px;
}
.pw-control > button.pw-toggle > svg {
  position:static;
  inset:auto;
  transform:none;
  pointer-events:none;
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
}
:root[dir=rtl] .pw-field .pw-control:has(>.pw-toggle:not([hidden])) > input {
  padding-left:44px;
}
:root[dir=ltr] .pw-field .pw-control:has(>.pw-toggle:not([hidden])) > input {
  padding-right:44px;
}
