.email-preview h1 {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.email-preview p {
  margin-bottom: 1rem;
}

.email-preview ul {
  list-style-position: inside;
  list-style-type: disc;
}

.email-preview ol {
  list-style-position: inside;
  list-style-type: decimal;
}

.email-preview a {
  text-decoration: underline;
  color: blue;
}

button,
a {
  touch-action: manipulation;
}

.numbered-blocks {
  counter-reset: numbered-block;
}

.numbered-block {
  counter-increment: numbered-block;
}

.numbered-block-number::after {
  content: counter(numbered-block);
}

.numbered-subitems {
  counter-reset: numbered-subitem;
}

.numbered-subitem {
  counter-increment: numbered-subitem;
}

.numbered-subitem-number::after {
  content: var(--numbered-block-position, counter(numbered-block)) "." counter(numbered-subitem);
}

.time-machine-active {
  position: relative;
  overflow: hidden;
}

.time-machine-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 200%;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #d97706 0 18px,
    #f59e0b 18px 36px,
    #fde68a 36px 54px
  );
  animation: time-machine-working 1.1s linear infinite;
}

@keyframes time-machine-working {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-54px);
  }
}
