[data-article-slug="reset-remote"].vm-article-theme {
  --reset-remote-accent: #16843f;
  --reset-remote-accent-soft: color-mix(in srgb, var(--reset-remote-accent) 10%, transparent);
  --reset-remote-warning: #b42318;
  --reset-remote-warning-soft: color-mix(in srgb, var(--reset-remote-warning) 10%, transparent);
}

[data-article-slug="reset-remote"] .reset-remote-note,
[data-article-slug="reset-remote"] .reset-remote-warning {
  margin: 22px 0 28px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--reset-remote-accent) 44%, var(--vm-border));
  border-left: 4px solid var(--reset-remote-accent);
  border-radius: 0 14px 14px 0;
  background: var(--reset-remote-accent-soft);
}

[data-article-slug="reset-remote"] .reset-remote-warning {
  border-color: color-mix(in srgb, var(--reset-remote-warning) 48%, var(--vm-border));
  border-left-color: var(--reset-remote-warning);
  background: var(--reset-remote-warning-soft);
}

[data-article-slug="reset-remote"] .reset-remote-note strong,
[data-article-slug="reset-remote"] .reset-remote-warning strong {
  display: block;
  margin-bottom: 6px;
  color: var(--vm-text-strong);
}

[data-article-slug="reset-remote"] .reset-remote-note p,
[data-article-slug="reset-remote"] .reset-remote-warning p {
  margin: 0;
}

[data-article-slug="reset-remote"] .reset-remote-media--wide {
  width: 100%;
}

[data-article-slug="reset-remote"] .reset-remote-media--portrait {
  width: min(72vw, 300px);
  margin-inline: auto;
}

[data-article-slug="reset-remote"] .reset-remote-media--portrait picture,
[data-article-slug="reset-remote"] .reset-remote-media--portrait img {
  display: block;
  width: 100%;
  height: auto;
}

[data-article-slug="reset-remote"] .reset-remote-arrow-sequence {
  display: grid;
  gap: 0;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: reset-remote-step;
}

[data-article-slug="reset-remote"] .reset-remote-arrow-sequence > li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 2px 0 30px 46px;
  counter-increment: reset-remote-step;
  line-height: 1.65;
}

[data-article-slug="reset-remote"] .reset-remote-arrow-sequence > li:last-child {
  padding-bottom: 2px;
}

[data-article-slug="reset-remote"] .reset-remote-arrow-sequence > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--reset-remote-accent) 48%, var(--vm-border));
  border-radius: 50%;
  background: var(--reset-remote-accent-soft);
  color: var(--reset-remote-accent);
  content: counter(reset-remote-step);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

[data-article-slug="reset-remote"] .reset-remote-arrow-sequence > li:not(:last-child)::after {
  position: absolute;
  bottom: 5px;
  left: 7px;
  width: 16px;
  color: var(--reset-remote-accent);
  content: "↓";
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

[data-article-slug="reset-remote"] .reset-remote-sequence-media {
  width: calc(100% + 46px);
  margin: 18px 0 2px -46px;
}

[data-article-slug="reset-remote"] figure.guide-step-media.reset-remote-media--wide,
[data-article-slug="reset-remote"] figure.guide-step-media.reset-remote-media--portrait {
  display: grid;
  grid-template-rows: auto auto;
  height: auto;
  min-height: 0;
  gap: 8px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

[data-article-slug="reset-remote"] figure.guide-step-media .guide-responsive-image,
[data-article-slug="reset-remote"] figure.guide-step-media img {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-article-slug="reset-remote"] figure.guide-step-media figcaption {
  min-height: 0;
  margin: 0;
}

[data-article-slug="reset-remote"] .reset-remote-round-list {
  display: grid;
  gap: 14px;
  margin: 14px 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: reset-remote-round-step;
}

[data-article-slug="reset-remote"] .reset-remote-round-list > li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 3px 0 3px 46px;
  counter-increment: reset-remote-round-step;
  line-height: 1.65;
}

[data-article-slug="reset-remote"] .reset-remote-round-list > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  content: counter(reset-remote-round-step);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

[data-article-slug="reset-remote"] .reset-remote-round-list--orange > li::before {
  border: 1px solid #c7550b;
  background: #df650f;
}

[data-article-slug="reset-remote"] .reset-remote-round-list--red > li::before {
  border: 1px solid #a71914;
  background: #c52a24;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps {
  display: grid;
  gap: 0;
  margin: 12px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: reset-remote-registration-step;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li {
  position: relative;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 2px 0 24px 48px;
  counter-increment: reset-remote-registration-step;
  line-height: 1.65;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li:last-child {
  min-height: 34px;
  padding-bottom: 2px;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--reset-remote-accent) 70%, var(--vm-border));
  border-radius: 50%;
  background: var(--vm-page-bg);
  color: var(--reset-remote-accent);
  content: counter(reset-remote-registration-step);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  animation: reset-remote-step-pulse 3s ease-in-out infinite;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li:not(:last-child)::after {
  position: absolute;
  top: 32px;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: color-mix(in srgb, var(--reset-remote-accent) 48%, var(--vm-border));
  content: "";
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li:nth-child(2)::before {
  animation-delay: 0.6s;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li:nth-child(3)::before {
  animation-delay: 1.2s;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li:nth-child(4)::before {
  animation-delay: 1.8s;
}

[data-article-slug="reset-remote"] .reset-remote-registration-steps > li:nth-child(5)::before {
  animation-delay: 2.4s;
}

@keyframes reset-remote-step-pulse {
  0%, 18%, 100% {
    background: var(--vm-page-bg);
    box-shadow: 0 0 0 0 transparent;
    color: var(--reset-remote-accent);
  }
  8% {
    background: var(--reset-remote-accent);
    box-shadow: 0 0 0 6px var(--reset-remote-accent-soft);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-article-slug="reset-remote"] .reset-remote-registration-steps > li::before {
    animation: none;
  }
}

@media (max-width: 640px) {
  [data-article-slug="reset-remote"] .reset-remote-note,
  [data-article-slug="reset-remote"] .reset-remote-warning {
    padding: 16px;
  }

  [data-article-slug="reset-remote"] .reset-remote-sequence-media {
    width: calc(100% + 42px);
    margin-left: -42px;
  }
}
