@font-face {
  font-family: Cairo;
  src: url("Cairo-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Cairo;
  src: url("Cairo-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --heading-h1: #d81f25;
  --heading-h2: #a7181d;
  --heading-h3: #821317;
  --heading-h4: #600e11;
  --heading-h5: #420a0c;
  --heading-h6: #2b0607;
  --manual-ink: #000000;
  --manual-border: #e6dede;
  font-family: Cairo, sans-serif;
  color: var(--manual-ink);
  background: #f6f4f4;
  font-synthesis: none;
}

body, input, button, select, textarea, h1, h2, h3, h4, h5, h6,
code, pre, kbd, samp, .pre, .sig {
  font-family: Cairo, sans-serif;
}

body {
  margin: 0 auto;
  padding: 48px 24px 24px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.7;
}

.document {
  background: #fff;
  box-shadow: 0 2px 24px #3a171709;
}

.cover, .body {
  padding: 64px 80px;
}

.cover {
  box-sizing: border-box;
  min-height: 620px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--manual-border);
}

.cover h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1.3;
  font-weight: 700;
}

.cover h1 span {
  display: block;
  margin-top: 20px;
  font-size: 36px;
  font-weight: 400;
  color: var(--heading-h2);
}

.cover h1::after {
  content: "";
  display: block;
  width: 106px;
  height: 2px;
  margin-top: 42px;
  background: var(--heading-h2);
}

.cover-with-image {
  align-items: flex-start;
  flex-direction: column;
}

.cover-with-image h1 { font-size: clamp(32px, 6.5vw, 56px); }
.cover-with-image img { display: block; width: min(100%, 540px); height: auto; }
.cover-with-revision {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.cover-revision { margin: 0; font-size: 16px; }

.body {
  min-height: 280px;
}

h1 { margin: 0 0 30px; font-size: 32px; line-height: 1.4; }
h2 { font-size: 26px; }
h1 { color: var(--heading-h1); }
h2 { color: var(--heading-h2); }
h3 { color: var(--heading-h3); }
h4 { color: var(--heading-h4); }
h5 { color: var(--heading-h5); }
h6 { color: var(--heading-h6); }
p { color: var(--manual-ink); }
a, a:visited { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--heading-h2); }
a:focus-visible { outline: 2px solid var(--heading-h2); outline-offset: 5px; }

.toctree-wrapper ul { padding: 0; list-style: none; }
.toctree-wrapper li { border-bottom: 1px solid var(--manual-border); padding: 12px 0; }
.toctree-wrapper a { display: block; text-decoration: none; }
.toctree-wrapper a:hover { text-decoration: underline; }

.manual-installation .toctree-wrapper ul ul { padding-inline-start: 1em; margin: 0; }
.manual-installation .toctree-wrapper li { border: 0; padding: 0; }
.manual-installation .toctree-wrapper a { border-bottom: 1px solid var(--manual-border); padding: 6px 0; }

.manual-installation table.docutils { border-collapse: collapse; }
.manual-installation table.docutils th { background: #f6f4f4; }
.manual-installation table.docutils th,
.manual-installation table.docutils td {
  border: 1px solid var(--manual-border);
  padding: 4px 12px;
  vertical-align: top;
}
.pin-mark { position: relative; }
.pin-mark::before {
  position: absolute;
  inset-block: 0.25em;
  inset-inline-start: -7px;
  width: 3px;
  background: var(--pin-color);
  content: "";
}
.pinyellow { --pin-color: #ffff00; }
.pingreen { --pin-color: #00ff00; }
.pingray { --pin-color: #b7b7b7; }
.pinblack { --pin-color: #000000; }
.pinred { --pin-color: #ff0000; }
.pindarkred { --pin-color: #cc0000; }
.pingold { --pin-color: #f1c232; }
.pinblue { --pin-color: #0000ff; }

.page-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 16px;
}

.footer { display: none; }

#commissioning-record table { width: 100%; }
#commissioning-record td { height: 1.5em; }

@media (max-width: 600px) {
  body { padding: 16px; }
  .cover, .body { padding: 40px 28px; }
  .cover { min-height: 480px; }
  .cover h1 { font-size: 54px; }
  .cover h1 span { font-size: 28px; }
  .page-navigation { flex-wrap: wrap; }
}

@media print {
  :root { background: #fff; }
  body { max-width: none; padding: 0; }
  .document { box-shadow: none; }
  .cover { min-height: 90vh; border: 0; break-after: page; }
  .page-navigation { display: none; }
}
