/* Standalone findings use the same printed face as the other card previews. */
html body.faithful-target[data-board-background] dialog#modal[open]:has(.generator-card-only) {
  width: fit-content !important;
  max-width: calc(100vw - 16px) !important;
  max-height: calc(100dvh - 16px) !important;
  padding: 48px 10px 10px !important;
  border: 0 !important;
  border-image: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: auto !important;
}
html body.faithful-target[data-board-background] #modal:has(.generator-card-only) > .close {
  display: grid !important;
  place-items: center;
  inset: 0 10px auto auto !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid #ab8d62 !important;
  border-radius: 50% !important;
  background: #192432 !important;
  color: #f8efd9 !important;
  box-shadow: none !important;
}
html body.faithful-target[data-board-background] #modal .generator-card-only {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}
html body.faithful-target[data-board-background] #modal .generator-card-only .generator-owned-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 16px !important;
  max-width: 100%;
}
html body.faithful-target[data-board-background] #modal .generator-card-only .generator-owned-finding {
  width: min(400px, calc((100dvh - 84px) * 44 / 68), calc(100vw - 40px)) !important;
  max-width: none !important;
  flex: none;
  margin: 0 !important;
}
html body #modal .generator-card-only .generator-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  height: auto !important;
}
html body.faithful-target[data-board-background] dialog#modal[open] #modalbody .printed-research .printed-generator-mode {
  width: 6% !important;
  height: auto !important;
  aspect-ratio: 1;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 1px solid #80558f !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
html body.faithful-target[data-board-background] dialog#modal[open] #modalbody .printed-research .printed-generator-mode:disabled {
  background: transparent !important;
  border-color: #9676a0 !important;
}
html body.faithful-target[data-board-background] dialog#modal[open] #modalbody .printed-research .printed-generator-mode:is(:enabled:hover,:focus-visible) {
  background: #bd9fce38 !important;
  outline: 2px solid #e1c5f0;
  outline-offset: 3px;
}
html body.faithful-target[data-board-background] dialog#modal[open] #modalbody .printed-research .printed-generator-mode:is(.is-draft,.is-selected)::after {
  width: 62%;
  background: var(--printed-owner);
  border: 1px solid #5d396b;
}
html body.faithful-target[data-board-background] dialog#modal[open] #modalbody .printed-research .printed-generator-submit {
  position: absolute !important;
  left: 13%;
  top: 89.5%;
  width: 74%;
  height: 6%;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 5px;
  background: transparent !important;
  box-shadow: none !important;
}
html body.faithful-target[data-board-background] dialog#modal[open] #modalbody .printed-research .printed-generator-submit:is(:enabled:hover,:focus-visible) {
  outline: 2px solid #80558f;
  outline-offset: 2px;
}
html body #modal .generator-empty {
  padding: 18px;
  background: #192432;
  color: #f8efd9;
  border-radius: 10px;
}
