/* Only public samples carry this notice; client pages keep their own layout. */
.demo-page-notice {
  box-sizing: border-box;
  max-width: 528px;
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  font-size: .75rem;
}

.demo-page-notice a {
  color: inherit;
  text-underline-offset: .25em;
}

.demo-page-notice span {
  color: #526071;
}

.stand-page[data-layout="classic"] .demo-page-notice {
  padding: 1rem;
}

/* Image shortcuts belong only to the editor's embedded sample. */
.demo-image-edit {
  position: absolute;
  z-index: 1;
  border: 1px solid #d8e1ed;
  border-radius: 2rem;
  padding: .5rem .75rem;
  background: #fff;
  color: #175cd3;
  font: 600 .75rem system-ui, sans-serif;
  cursor: pointer;
}

.demo-image-edit[hidden],
.stand-page [data-demo-section][hidden] {
  display: none;
}

.demo-image-edit:focus-visible {
  outline: 3px solid #175cd3;
  outline-offset: 3px;
}

.demo-cover-edit {
  top: .75rem;
  right: .75rem;
}

.demo-logo-edit {
  top: 0;
  right: 0;
}

.stand-page .page-sheet {
  position: relative;
}

.information-content p {
  white-space: pre-line;
}

/* The scene's sample documents fit inside the same visitor window. */
.demo-document {
  margin: 0;
  padding: 32px 24px;
  font: 1rem/1.6 system-ui, sans-serif;
  color: #111827;
  background: #f8fafc;
}

.demo-document main {
  max-width: 480px;
  margin: auto;
}

.demo-document .eyebrow {
  font-size: .8rem;
  color: #526071;
}

.demo-document a,
.demo-scene-back {
  color: #175cd3;
  text-underline-offset: .25em;
}

.demo-document-items {
  margin-top: 2rem;
}

.demo-document-items>div {
  padding: 1rem 0;
  border-bottom: 1px solid #d8e1ed;
}

.demo-document-items dt {
  font-weight: 700;
}

.demo-document-items dd {
  margin: .4rem 0 0;
}
