.xwallet-public-guide {
  box-sizing: border-box;
  max-width: 46rem;
  margin: 1.5rem auto;
  padding: clamp(1rem, 4vw, 2rem);
  line-height: 1.55;
}

.xwallet-public-guide h1,
.xwallet-public-guide h2 {
  line-height: 1.2;
}

.xwallet-public-guide h2 {
  margin-block: 1.25rem 0.25rem;
  font-size: 1.125rem;
}

.xwallet-public-guide a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.xwallet-public-guide + #root > #xwallet-boot {
  padding: 1rem;
}

/* Show the guide while the app or panel is loading, and if either fails. */
.xwallet-public-guide:has(+ #root :is(.swap-mode-tabs, .privacy-workspace)),
.xwallet-public-guide:has(+ #root > div.app-shell:not(.is-public-swap, .is-public-privacy)) {
  display: none;
}
