.auto-stylesheet-class-1 {
  padding: 1em;
}
.auto-stylesheet-class-2 {
  padding: 2em;
}
.auto-stylesheet-class-3 {
  padding: 3em;
}

.auto-stylesheet-class-1,
div.auto-stylesheet-class-2,
p:first-of-type.auto-stylesheet-class-3,
.auto-stylesheet-class-4 {
  background-color: blue;
}

:root .auto-bold .auto-stylesheet-class-5 {
  font-size: 1em;

  & .auto-stylesheet-nested-class-1,
  &:is(.auto-stylesheet-nested-class-2),
  &:has(.auto-stylesheet-nested-class-3) {
    font-weight: bold;
  }
}

@media (min-width: 1000px) {
  .auto-stylesheet-nested-class-4 {
    color: black;
  }

  @media (prefers-color-scheme: dark) {
    .auto-stylesheet-nested-class-5 {
      color: white;

      &.auto-stylesheet-nested-class-6 {
        outline: 1px solid;
      }
    }
  }
}
