.imported-sheet-stage {
  background: white;
}

.pdf-text,
.pdf-mark,
.pdf-track {
  position: absolute;
  box-sizing: border-box;
}

.pdf-text {
  margin: 0;
  padding: 0 1px;
  min-width: 0;
  border: 1px solid rgba(150, 115, 62, 0.48);
  border-radius: 2px;
  background: rgba(255, 253, 244, 0.8);
  color: #151515;
  -webkit-text-fill-color: #151515;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65cqw;
  line-height: 1.1;
  letter-spacing: 0;
  resize: none;
}

.pdf-text.saved {
  display: flex;
  align-items: center;
  border-color: transparent;
  background: transparent;
  white-space: pre-wrap;
  overflow: hidden;
}

.pdf-text:focus-visible,
.pdf-mark:focus-visible {
  outline: 2px solid #a67936;
  outline-offset: 1px;
}

.pdf-mark {
  display: block;
  padding: 0;
  margin: 0;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  cursor: pointer;
  color: #111;
}

.pdf-mark.circle { border-radius: 50%; }
.pdf-mark.square { border-radius: 0; }
.pdf-mark:disabled { cursor: default; opacity: 1; }
.pdf-mark.mark-aggravated { background: #111; }
.pdf-mark:not(:disabled):hover { box-shadow: 0 0 0 1px #a67936; }

.pdf-mark.mark-bashing::before,
.pdf-mark.mark-lethal::before,
.pdf-mark.mark-lethal::after {
  content: "";
  position: absolute;
  width: 115%;
  height: 16%;
  top: 42%;
  left: -7.5%;
  background: #111;
  transform: rotate(-45deg);
}

.pdf-mark.mark-lethal::after { transform: rotate(45deg); }

.sheet-page-navigation {
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 14px;
  color: #ddc69b;
}

.sheet-page-navigation button {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 22px;
}

.sheet-page-navigation select,
.sheet-phase-select {
  max-width: 100%;
  min-width: 0;
  border: 1px solid #695039;
  border-radius: 4px;
  background: #211c20;
  color: #ddc69b;
  color-scheme: dark;
  padding: 8px;
  font: inherit;
}

.sheet-phase-select { max-width: 220px; }
