/* RC276. Purely scoped password visibility button. Uses existing LessonSky theme classes. */
:where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-field {
  --sk276-eye-ink: #344054;
  --sk276-eye-bg: #f1f5f9;
  --sk276-eye-border: #cbd5e1;
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
}
:where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-field > input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-inline-end: 3.5rem !important;
}
:where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-field > button.sk276-password-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  inset-inline-end: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  box-sizing: border-box;
  width: 40px !important;
  min-width: 40px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--sk276-eye-border) !important;
  border-radius: 9px !important;
  background: var(--sk276-eye-bg) !important;
  color: var(--sk276-eye-ink) !important;
  box-shadow: none !important;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
}
:where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-toggle svg {
  width: 19px;
  height: 19px;
  pointer-events: none;
  flex-shrink: 0;
}
:where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-toggle:hover {
  filter: brightness(.96);
}
:where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-toggle:focus-visible {
  outline: 3px solid #818cf8 !important;
  outline-offset: 2px;
}
:where(html.lessonsky-dark,body.lessonsky-dark,html[data-lessonsky-effective-mode="dark"],body[data-lessonsky-effective-mode="dark"]) :where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-field {
  --sk276-eye-ink: #eff6ff;
  --sk276-eye-bg: #243244;
  --sk276-eye-border: #56677f;
}
:where(html.lessonsky-dim,body.lessonsky-dim,html[data-lessonsky-effective-mode="dim"],body[data-lessonsky-effective-mode="dim"]) :where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-field {
  --sk276-eye-ink: #344054;
  --sk276-eye-bg: #e8edf7;
  --sk276-eye-border: #adb8c9;
}
@media (max-width: 480px) {
  :where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-field > button.sk276-password-toggle {
    width: 44px !important;
    min-width: 44px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
  :where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-field > input {
    padding-inline-end: 3.75rem !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.sk-auth-shell,.sk-profile-center,.sk-family-form) .sk276-password-toggle { transition: none !important; }
}
