/* Shared login/invitation controls. Keep the target separate from its label. */
.password-field {
  position: relative;
  margin: 8px 0 20px;
  min-width: 0;
}
#access-screen label[for="password"], #password-form label {
  display: block;
  margin-bottom: 8px;
}
#access-screen .password-field input, #password-form .password-field input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding-right: 64px;
}
#access-screen .password-toggle, #password-form .password-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #24665c;
  cursor: pointer;
  touch-action: manipulation;
}
.password-toggle[hidden] { display: none !important; }
.password-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
#access-screen .password-toggle:hover, #password-form .password-toggle:hover {
  background: #e7efea;
}
#access-screen .password-toggle:focus-visible, #password-form .password-toggle:focus-visible {
  outline: 3px solid #24665c;
  outline-offset: 1px;
  background: #e7efea;
}
@media (forced-colors: active) {
  #access-screen .password-toggle, #password-form .password-toggle {
    color: ButtonText;
    border: 1px solid ButtonText;
  }
}
