/* ==========================================================================
   REVIEW NOTES
   Prototype only. A sheet of the open decisions, and dashed gold marks around
   everything on the screen that is waiting on one, each labelled with its
   key.
   ========================================================================== */

.review-notes__body h2 {
  font-size: 34px;
}

.review-notes__body > p {
  margin-top: 0.5rem;
  font-size: 16px;
  color: var(--slate);
}

.review-notes__switch {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 48px;
  margin-top: 1rem;
  font-weight: 650;
  cursor: pointer;
}

.review-notes__switch input {
  width: 22px;
  height: 22px;
  accent-color: var(--ink);
}

.review-notes__body ol {
  margin-top: 1rem;
}

.review-notes__body li {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.review-notes__body h3 {
  font-family: var(--body-font-family);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.review-notes__body li p {
  margin-top: 0.375rem;
  font-size: 15px;
  line-height: 1.45;
}

.review-notes__body li p span {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--slate);
}

/* MARKS */

.is-marking [data-open-item] {
  outline: 2px dashed var(--secondary-color);
  outline-offset: 4px;
  position: relative;
}

.is-marking [data-open-item]::after {
  content: attr(data-open-item);
  position: absolute;
  top: -12px;
  right: -6px;
  z-index: 30;
  padding-top: 2px;
  padding-right: 8px;
  padding-bottom: 2px;
  padding-left: 8px;
  border-radius: 999px;
  background-color: var(--secondary-color);
  color: var(--ink);
  font-family: var(--body-font-family);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  pointer-events: none;
}

/* Without scripts the notes cannot open, so they are not laid out on the
   page like the other sheets. */
.no-js .review-notes.sheet {
  display: none;
}
