/* Responsive embedded help video (matches the 1280x800 = 16:10 recordings) */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 1.2rem 0 1.8rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .16);
  background: #0b1220;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Illustrative screenshots inside articles */
.md-typeset figure img,
.md-typeset p > img {
  border-radius: 10px;
  border: 1px solid var(--md-default-fg-color--lightest);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .10);
  display: block;
  margin-inline: auto;
}
.md-typeset figcaption {
  font-size: .8rem;
  color: var(--md-default-fg-color--light);
  margin-top: .45rem;
}

/* Numbered legend under an annotated screenshot — numbers match the badges in the image */
.md-typeset .shot-legend {
  list-style: none;
  counter-reset: shot;
  padding: 0;
  margin: .55rem auto 1.6rem;
  max-width: 760px;
}
.md-typeset .shot-legend li {
  counter-increment: shot;
  position: relative;
  padding-inline-start: 40px;
  margin: .5rem 0;
  line-height: 1.75;
  font-size: .92rem;
}
.md-typeset .shot-legend li::before {
  content: counter(shot);
  position: absolute;
  inset-inline-start: 0;
  top: .1em;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  line-height: 27px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(37, 99, 235, .35);
}
.md-typeset figure.shot { margin-bottom: .4rem; }
