:root {
  color-scheme: light;
  --page: #ffffff;
  --hero: #f8f9f9;
  --soft: #f3f6f8;
  --ink: #111111;
  --muted: #66727a;
  --copy: #455054;
  --line: #e1e6e9;
  --accent: var(--body-accent);
  --accent-contrast: #ffffff;
  --body-accent: #557a69;
  --body-accent-hover: #456252;
  --body-hero: #f6f8f5;
  --body-soft: #f0f4ef;
  --body-line: #d7e1d9;
  --header: rgba(255, 255, 255, .97);
  --contact: #e8efe8;
  --button: var(--body-accent);
  --button-text: #ffffff;
  --sans: Montserrat, Arial, sans-serif;
  --serif: Amiri, Georgia, serif;
  --max: 1300px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101416;
  --hero: #171c1f;
  --soft: #141b1f;
  --ink: #f2f1ec;
  --muted: #aeb7ba;
  --copy: #c7ced0;
  --line: #2d383d;
  --accent: var(--body-accent);
  --accent-contrast: #101416;
  --body-accent: #a8bdb0;
  --body-accent-hover: #bfd1c3;
  --body-hero: #131916;
  --body-soft: #1a231d;
  --body-line: #37473b;
  --header: rgba(16, 20, 22, .97);
  --contact: #202c24;
  --button: var(--body-accent);
  --button-text: #101416;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #101416;
    --hero: #171c1f;
    --soft: #141b1f;
    --ink: #f2f1ec;
    --muted: #aeb7ba;
    --copy: #c7ced0;
    --line: #2d383d;
    --accent: var(--body-accent);
    --accent-contrast: #101416;
    --body-accent: #a8bdb0;
    --body-accent-hover: #bfd1c3;
    --body-hero: #131916;
    --body-soft: #1a231d;
    --body-line: #37473b;
    --header: rgba(16, 20, 22, .97);
    --contact: #202c24;
    --button: var(--body-accent);
    --button-text: #101416;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  cursor: pointer;
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.wrap {
  width: min(var(--max), calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 11px 0 9px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.github-link {
  display: inline-grid;
  width: 35px;
  height: 30px;
  place-items: center;
  border-right: 1px solid var(--line);
  padding-right: 15px;
}

.github-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page);
}

.language-option {
  display: inline-flex;
  min-width: 29px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}

.language-option:hover,
.language-option.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
}

.theme-toggle,
.menu-toggle {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--page);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-toggle .icon-sun,
.theme-toggle[aria-pressed="true"] .icon-moon {
  display: none;
}

.theme-toggle[aria-pressed="true"] .icon-sun {
  display: block;
}

.menu-toggle {
  display: none;
  padding: 6px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  margin: 2px;
  background: var(--ink);
}

main {
  padding-top: 76px;
}

.hero {
  background: var(--body-hero);
}

.hero-grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 8vw;
  padding-block: 75px;
}

.eyebrow,
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 2px;
  margin: 0 10px 4px 0;
  background: var(--body-accent);
  content: "";
}

h1 {
  margin: 20px 0;
  font-size: clamp(3.25rem, 5.35vw, 5.2rem);
  letter-spacing: -.045em;
  line-height: .88;
}

.hero h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1.05;
}

.lead {
  max-width: 580px;
  color: var(--copy);
  font-size: 15px;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 0;
  background: var(--button);
  color: var(--button-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover:not(:disabled) {
  background: var(--body-accent-hover);
  color: var(--button-text);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.download-button {
  appearance: none;
  margin-top: 8px;
  box-shadow: none;
}

.facts.download-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 50px;
}

.license-link {
  color: var(--body-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-setup-link {
  color: var(--body-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plain {
  margin-left: 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.status {
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
}

.status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--body-accent);
}

.preview {
  margin: 0;
  padding-bottom: 10px;
  overflow: hidden;
  transform: rotate(.35deg) scale(1.2);
  transform-origin: right center;
  border: 1px solid var(--line);
  background: var(--page);
  box-shadow: 0 20px 60px #14232b12;
}

.preview-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1480 / 949;
  background: var(--page);
}

.preview-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .9s ease-in-out;
}

.preview-shot.is-active {
  opacity: 1;
}

.preview-caption {
  padding: 9px 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.section {
  padding-block: 110px;
  border-bottom: 1px solid var(--body-line);
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 9vw;
}

.kicker {
  margin-bottom: 20px;
  color: var(--body-accent);
}

.section h2,
.contact h2 {
  font-size: clamp(2.9rem, 4.6vw, 4.5rem);
  letter-spacing: -.035em;
  line-height: .93;
}

.rows {
  border-top: 2px solid var(--ink);
}

.rows article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--body-line);
}

.rows article > b,
.principles article > b {
  color: var(--body-accent);
  font-size: 12px;
}

.rows h3,
.principles h3 {
  margin: 0 0 6px;
  font: 700 17px/1.4 var(--sans);
}

.rows p,
.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.soft {
  background: var(--body-soft);
}

.intro {
  margin-bottom: 48px;
}

.intro > p {
  margin-top: 40px;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.principles article {
  padding: 22px 24px 0 0;
}

.principles article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.principles article > b {
  display: block;
  margin-bottom: 30px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.facts > span {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.facts b {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .1em;
}

.contact {
  padding: 65px 0;
  background: var(--contact);
}

.contact.creator {
  background: var(--body-soft);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.creator-row {
  align-items: center;
  column-gap: 52px;
}

.creator-photo {
  width: 230px;
  height: 230px;
  flex: 0 0 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.creator-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-copy {
  flex: 1;
}

.creator-copy .kicker {
  margin-bottom: 14px;
}

.creator-copy > p:not(.kicker) {
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.creator-copy .button {
  margin-top: 16px;
}

.contact h2 {
  margin-bottom: 8px;
}

.contact p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.light {
  background: var(--page);
  color: var(--ink);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-block: 22px;
  color: var(--muted);
  font-size: 10px;
}

.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.site-footer .footer-brand img {
  width: 26px;
}

.site-footer > a:last-child {
  color: var(--ink);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

main :focus-visible {
  outline-color: var(--body-accent);
}

@media (max-width: 980px) {
  .site-header {
    gap: 15px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 48px));
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 9px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 5.35vw, 3.25rem);
  }

  .preview {
    transform: rotate(.35deg) scale(1.1);
    transform-origin: right center;
  }

  .section {
    padding-block: 80px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 68px;
    padding: 9px 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions {
    gap: 8px;
    margin-left: auto;
  }

  .github-link {
    width: 30px;
    padding-right: 10px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 5px 16px 9px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--page);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  main {
    padding-top: 68px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 60px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 8vw, 3.4rem);
  }

  .preview {
    width: 100%;
    max-width: 500px;
    margin: auto;
    transform: rotate(.35deg);
    transform-origin: center center;
  }

  .section {
    padding-block: 70px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .facts.download-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro {
    gap: 18px;
  }

  .intro > p {
    margin: 0;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    padding: 18px 0;
  }

  .principles article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principles article > b {
    margin-bottom: 10px;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .creator-photo {
    width: 128px;
    height: 128px;
    flex-basis: 128px;
  }

  .site-footer {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .site-footer > span {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}


/* User manual */
.manual-hero {
  padding-block: 76px 64px;
  border-bottom: 1px solid var(--body-line);
  background: var(--body-soft);
}
.manual-hero .wrap {
  max-width: 1000px;
}
.manual-hero h1 {
  max-width: 780px;
  margin: 14px 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .96;
}
.manual-intro {
  max-width: 760px;
  color: var(--copy);
  font-size: 17px;
}
.manual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.manual-meta span {
  display: inline-flex;
  gap: 7px;
}
.manual-meta b {
  color: var(--ink);
}
.manual-meta .manual-meta-author {
  flex-basis: 100%;
}
.manual-layout {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 6vw, 84px);
  max-width: 1100px;
  padding-block: 66px 100px;
}
.manual-toc {
  position: sticky;
  top: 100px;
  padding: 20px 0;
  border-top: 2px solid var(--ink);
}
.manual-toc h2 {
  margin: 0 0 12px;
  font: 700 11px/1.4 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.manual-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.manual-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 12px;
}
.manual-toc a:hover {
  color: var(--body-accent);
}
.manual-content > section {
  padding: 0 0 36px;
  border-bottom: 1px solid var(--body-line);
}
.manual-content > section + section {
  padding-top: 38px;
}
.manual-content h2 {
  margin: 0 0 16px;
  font: 400 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--serif);
  letter-spacing: -.025em;
}
.manual-content h3 {
  margin: 26px 0 8px;
  font: 700 16px/1.4 var(--sans);
}
.manual-content p,
.manual-content li {
  color: var(--copy);
  font-size: 14px;
  line-height: 1.8;
}
.manual-content ul,
.manual-content ol {
  padding-left: 22px;
}
.manual-content a:not(.button) {
  color: var(--body-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.manual-note {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--body-accent);
  background: var(--body-soft);
  color: var(--copy);
  font-size: 13px;
}
.manual-download {
  margin: 8px 0 18px;
}
.manual-code {
  overflow-x: auto;
  margin: 12px 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--body-line);
  background: var(--body-soft);
  color: var(--ink);
  font: 13px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.manual-shot {
  margin: 22px 0 0;
}
.manual-shot-box {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 22px;
  border: 1px dashed var(--body-accent);
  background: var(--body-soft);
  text-align: center;
}
.manual-shot-box span {
  max-width: 58ch;
  color: var(--copy);
  font-size: 13px;
  font-style: italic;
  line-height: 1.75;
}
.manual-shot figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}
.manual-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 22px 0;
  border-top: 1px solid var(--body-line);
}
.manual-facts > div {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--body-line);
}
.manual-facts dt {
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.manual-facts dd {
  margin: 0;
  color: var(--copy);
  font-size: 13px;
}
.manual-suggestion {
  padding: 20px;
  background: var(--body-soft);
  border: 1px solid var(--body-line);
}
.manual-suggestion p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .manual-hero {
    padding-block: 48px 38px;
  }
  .manual-hero h1 {
    font-size: clamp(2.7rem, 11vw, 3.6rem);
  }
  .manual-intro {
    font-size: 15px;
  }
  .manual-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 40px 70px;
  }
  .manual-toc,
  .manual-content {
    min-width: 0;
  }
  .manual-toc {
    position: static;
    padding: 15px 0;
  }
  .manual-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .manual-content h2 {
    font-size: 2rem;
  }
  .manual-facts {
    grid-template-columns: 1fr;
  }
  .manual-meta .manual-meta-author {
    display: block;
  }
  .manual-meta .manual-meta-author b {
    margin-right: 7px;
  }
  .manual-content p code,
  .manual-content li code {
    overflow-wrap: anywhere;
  }
}

/* Responsive screenshot placeholders and print layout for the user manual */
.manual-shot {
  break-inside: avoid;
  page-break-inside: avoid;
}
.manual-shot .manual-shot-placeholder {
  box-sizing: border-box;
  aspect-ratio: 16 / 10;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: clamp(18px, 3vw, 28px);
}
.manual-shot .manual-shot-placeholder > * {
  width: 100%;
  max-width: 60ch;
  font-style: normal;
}
.manual-shot .manual-shot-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.manual-shot .manual-shot-description {
  color: var(--copy);
  font-size: 13px;
  line-height: 1.65;
}
.manual-shot .manual-shot-alt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.manual-shot figcaption {
  font-size: 11px;
  line-height: 1.5;
}
.manual-citation {
  padding: 18px 20px;
  border-left: 3px solid var(--body-accent);
  background: var(--body-soft);
}
.manual-citation-text {
  margin: 0;
  overflow-wrap: anywhere;
}
.manual-print-note {
  margin-top: 28px;
  color: var(--muted) !important;
  font-size: 12px !important;
}
@media (max-width: 720px) {
  .manual-shot .manual-shot-placeholder {
    min-height: 145px;
    padding: 18px;
  }
  .manual-shot .manual-shot-label {
    font-size: 13px;
  }
  .manual-shot .manual-shot-description {
    font-size: 12px;
  }
  .manual-shot .manual-shot-alt {
    font-size: 10px;
  }
}
@media print {
  @page {
    size: A4;
    margin: 16mm 14mm;
  }
  body.manual-page {
    background: #fff !important;
    color: #111 !important;
  }
  body.manual-page .site-header,
  body.manual-page .manual-toc,
  body.manual-page .site-footer,
  body.manual-page .manual-print-note {
    display: none !important;
  }
  body.manual-page .manual-hero {
    padding: 0 0 8mm;
    border: 0;
    background: #fff !important;
  }
  body.manual-page .manual-hero .wrap,
  body.manual-page .manual-layout {
    width: 100%;
    max-width: none;
  }
  body.manual-page .manual-hero h1 {
    margin-top: 0;
    color: #111;
    font-size: 30pt;
  }
  body.manual-page .manual-intro,
  body.manual-page .manual-meta,
  body.manual-page .manual-content p,
  body.manual-page .manual-content li,
  body.manual-page .manual-facts dd {
    color: #222 !important;
  }
  body.manual-page .manual-layout {
    display: block;
    padding: 0;
  }
  body.manual-page .manual-content > section {
    padding: 0 0 8mm;
    border-color: #bbb;
  }
  body.manual-page .manual-content > section + section {
    padding-top: 8mm;
  }
  body.manual-page .manual-content h2,
  body.manual-page .manual-content h3 {
    color: #111;
    break-after: avoid;
    page-break-after: avoid;
  }
  body.manual-page .manual-facts,
  body.manual-page .manual-facts > div,
  body.manual-page .manual-suggestion,
  body.manual-page .manual-citation,
  body.manual-page .manual-note,
  body.manual-page .manual-code,
  body.manual-page .manual-shot-placeholder {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  body.manual-page .manual-shot-placeholder {
    background: #fff;
    border-color: #777;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  body.manual-page .manual-content a:not(.button) {
    color: #111;
  }
  body.manual-page .manual-code {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
  body.manual-page p,
  body.manual-page li {
    orphans: 3;
    widows: 3;
  }
}
