:root {
  --sample-paper: #ffffff;
  --sample-ink: #202631;
  --sample-border: #dbe5ee;
  --sample-muted: #566779;
}

main {
  padding: clamp(18px, 3vw, 42px);
}

.sample-workspace {
  width: min(100%, 980px);
  margin: 0 auto;
}

.sample-hint {
  width: min(100%, 794px);
  margin: 0 auto 14px;
  color: var(--sample-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sample-document {
  width: min(100%, 794px);
  min-height: 1123px;
  margin: 0 auto;
  padding: 76px 84px;
  color: var(--sample-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12pt;
  line-height: 1.55;
  background: var(--sample-paper);
  border: 1px solid var(--sample-border);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(31, 50, 68, 0.12);
  cursor: text;
  user-select: text;
}

.sample-document:focus-visible {
  outline: 3px solid rgba(0, 111, 192, 0.24);
  outline-offset: 4px;
}

.sample-document p {
  margin: 0 0 9pt;
  text-align: justify;
  text-wrap: pretty;
}

.sample-document p:last-child {
  margin-bottom: 0;
}

.sample-source {
  display: none;
}

.sample-copy-status {
  min-height: 22px;
  width: min(100%, 794px);
  margin: 12px auto 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

#copy.is-copied {
  color: #ffffff;
  background: #147a4b;
  border-color: #147a4b;
}

@media (max-width: 760px) {
  .sample-document {
    min-height: 0;
    padding: 34px 26px;
    border-radius: 8px;
  }
}

@media print {
  header,
  .sample-hint,
  .sample-copy-status {
    display: none !important;
  }

  main {
    padding: 0;
  }

  .sample-document {
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
