.public-document {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
  color: #0f172a;
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.55;
}

.public-document a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.public-document__header,
.public-document__footer {
  margin-bottom: 1.5rem;
}

.public-document__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0;
  list-style: none;
}

.public-document__main h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.public-document__main h2 {
  font-size: 1.35rem;
  margin: 1.5rem 0 0.5rem;
}

.public-document__main h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.35rem;
}

.public-document__operator {
  font-weight: 600;
}

:root[data-theme='dark'] .public-document {
  color: #e8edf5;
}

:root[data-theme='dark'] .public-document a {
  color: #7dd3fc;
}

:root[data-theme='dark'] .public-document a:hover,
:root[data-theme='dark'] .public-document a:focus-visible {
  color: #bae6fd;
}

:root[data-theme='light'] .public-document a {
  color: #1d4ed8;
}

:root[data-theme='light'] .public-document a:hover,
:root[data-theme='light'] .public-document a:focus-visible {
  color: #1e3a8a;
}

html.js #public-document {
  display: none !important;
}

html.js #app-loader[hidden] {
  display: flex !important;
}

html.no-js #app-loader {
  display: none !important;
}
