:root {
  --accent: #8bce6d;
  --bg: #000;
  --fg: #fff;
  --muted: #b9c1b6;
  --panel: #0c110b;
  --panel2: #121a10;
  --line: #2c4425;
  --warn: #ffd166;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    17px/1.65 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}
a {
  color: var(--accent);
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 22px;
}
.hero {
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 85% 10%, #193016 0, transparent 34%);
}
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  margin: 0.25em 0;
}
.hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}
.layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 34px;
  padding-top: 28px;
}
.toc {
  position: sticky;
  top: 86px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 16px;
}
.toc strong {
  color: var(--accent);
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid #1d2a19;
}
.toc a:hover {
  color: #fff;
}
.manual-section {
  scroll-margin-top: 88px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, var(--panel), #080b07);
  padding: clamp(20px, 4vw, 40px);
}
.manual-section h2 {
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  color: var(--accent);
  line-height: 1.15;
  margin: 1.1em 0 0.45em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35em;
}
.manual-section h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin: 1.35em 0 0.45em;
}
.manual-title {
  font-size: 2.4rem !important;
}
.manual-list-item {
  position: relative;
  margin: 0.35em 0;
  padding-left: 1em;
  color: #fff;
}
.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
  margin: 23px 0;
}
.figure {
  margin: 0;
  background: #fff;
  border: 1px solid #4a6741;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.figure img {
  display: block;
  max-width: 100%;
  height: auto;
}
.note {
  background: #171d14;
  border-left: 4px solid var(--accent);
  padding: 12px 15px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 30px 0;
  color: var(--muted);
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: relative;
    top: auto;
  }
  .manual-section {
    padding: 20px;
  }
}
@media print {
  .hero,
  .toc,
  footer {
    display: none;
  }
  .layout {
    display: block;
  }
  .manual-section {
    border: 0;
    break-inside: auto;
  }
}

/* Continuous website presentation for the manual. */
.hero {
  padding: 72px 0 42px;
}
.hero h1 {
  letter-spacing: -0.04em;
}
.layout {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 42px;
}
.toc {
  top: 88px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(160deg, #101a0d, #0a0f09);
  box-shadow: 0 12px 35px #0008;
}
.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc li {
  margin: 0;
}
.toc li.toc-sub {
  padding-left: 16px;
}
.toc li.toc-detail {
  padding-left: 32px;
}
.toc li.toc-sub > a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #dbe8d4;
}
.toc li.toc-detail > a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #aebca8;
}
.toc li.toc-sub > details > summary a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #dbe8d4;
}
.toc li.toc-detail > a {
  padding-top: 5px;
  padding-bottom: 5px;
}
.toc li.toc-detail > a {
  display: flex;
  align-items: flex-start;
}
.toc li.toc-detail > a::before {
  display: block;
  flex: 0 0 2.6em;
  margin-right: 0.25em;
}
.toc li.toc-sub > details > summary::before {
  color: #d9efc9;
}
.toc li.toc-detail > a {
  border-left-color: #58744e;
}
.toc a.toc-leaf {
  display: flex;
  align-items: flex-start;
}
.toc a.toc-leaf::before {
  content: "";
  display: block;
  flex: 0 0 1.1rem;
  margin-right: 0.25em;
}
.toc > ul > li > a.toc-leaf {
  padding-top: 11px;
  font-weight: 800;
  color: #fff;
}
.toc li.toc-sub > a.toc-leaf {
  font-size: 0.9rem;
  font-weight: 700;
  color: #dbe8d4;
  padding-left: calc(1.1rem + 10px - 0.25em);
}
.toc li.toc-detail > a.toc-leaf {
  font-size: 0.8rem;
  font-weight: 500;
  color: #aebca8;
}
.toc ul ul {
  margin: 0;
  padding: 0;
}
.toc details > summary {
  list-style: none;
  cursor: pointer;
}
.toc details > summary::-webkit-details-marker {
  display: none;
}
.toc details > summary {
  display: flex;
  align-items: center;
}
.toc details > summary::before {
  content: "▸";
  display: block;
  flex: 0 0 1.1rem;
  color: var(--accent);
  transition: transform 0.15s ease;
}
.toc details[open] > summary::before {
  transform: rotate(90deg);
}
.toc details > summary a {
  display: block;
  flex: 1;
  min-width: 0;
}
.toc li.toc-sub > details > summary > a {
  display: flex;
  align-items: flex-start;
}
.toc li.toc-sub > details > summary > a::before {
  display: block;
  flex: 0 0 auto;
  margin-right: 0.25em;
}
.toc a {
  border: 0;
  border-left: 2px solid transparent;
  padding: 7px 10px;
  color: var(--muted);
  line-height: 1.35;
}
.toc li.toc-major a {
  font-weight: 800;
  color: #fff;
  padding-top: 11px;
}
.toc a:hover,
.toc a:focus {
  color: #fff;
  background: #1a2815;
  border-left-color: var(--accent);
}
.toc li a {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}
.manual-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 0 42px;
  margin: 0;
}
.manual-section:first-of-type {
  padding-top: 0;
}
.manual-section:last-child {
  border-bottom: 0;
}
.manual-section h2,
.manual-section-heading {
  margin-top: 0.4em;
}
.manual-section h2:not(.manual-section-heading) {
  border-bottom: 0;
}
.manual-section-heading {
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  color: var(--accent);
  line-height: 1.15;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35em;
}
.manual-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
}
.figure-caption {
  display: block;
  margin: 10px 0 28px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: #111a0e;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
}
.figure-grid + .figure-caption {
  margin-top: 10px;
}
.figure {
  box-shadow: 0 10px 28px #0005;
}
.content .manual-list-item {
  margin-top: 0.35em;
  padding-left: 0.2em;
}
.content {
  counter-reset: major-section;
}
.manual-section-heading {
  counter-increment: major-section;
  counter-reset: subsection;
}
.manual-section-heading::before {
  content: counter(major-section) ". ";
}
.manual-section h3.subsection {
  counter-increment: subsection;
  counter-reset: subsubsection;
}
.manual-section h3.subsection::before {
  content: counter(major-section) "." counter(subsection) " ";
}
.manual-section h3.subsubsection {
  counter-increment: subsubsection;
}
.manual-section h3.subsubsection::before {
  content:
    counter(major-section) "." counter(subsection) "." counter(subsubsection) " ";
}
.manual-section h3.subsubsection {
  margin-left: 1.25rem;
  color: #b8dca4;
  font-size: 1.08rem;
  border-left: 2px solid var(--line);
  padding-left: 0.8rem;
}
.toc > ul {
  counter-reset: toc-major;
}
.toc > ul > li.toc-major {
  counter-increment: toc-major;
  counter-reset: toc-sub;
}
.toc > ul > li.toc-major > details > summary > a::before,
.toc > ul > li.toc-major > a::before {
  content: counter(toc-major) ". ";
}
.toc > ul > li.toc-major > details > ul > li.toc-sub {
  counter-increment: toc-sub;
  counter-reset: toc-detail;
}
.toc > ul > li.toc-major > details > ul > li.toc-sub > a::before,
.toc > ul > li.toc-major > details > ul > li.toc-sub > details > summary > a::before {
  content: counter(toc-major) "." counter(toc-sub) " ";
}
.toc > ul > li.toc-major > details > ul > li.toc-sub > details > ul > li.toc-detail {
  counter-increment: toc-detail;
}
.toc > ul > li.toc-major > details > ul > li.toc-sub > details > ul > li.toc-detail > a::before {
  content:
    counter(toc-major) "." counter(toc-sub) "." counter(toc-detail) " ";
}
.manual-list {
  margin: 0.7em 0 1.1em;
  padding-left: 2em;
}
.manual-list .manual-list-item {
  padding-left: 0.35em;
}
.equipment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.equipment-card {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid #d7e0dc;
  border-radius: 12px;
  background: #f8fbf9;
  color: #1d2a24;
  box-shadow: 0 6px 18px #16352a14;
}
.equipment-card h4 {
  margin: 0 0 0.85rem;
  color: #23634d;
  font-size: 1.15rem;
}
.equipment-card label {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.45rem;
  align-items: start;
  cursor: pointer;
}
.equipment-card input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0.25rem 0 0;
  accent-color: #23634d;
}
.checklist {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: block;
}
.checklist li::before {
  content: none;
}
.equipment-notes {
  font-size: 0.9rem;
}
#troubleshooting .faq-intro {
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}
.faq-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 9px;
  margin: 1rem 0 0.5rem;
}
.faq-button {
  border: 0;
  border-radius: 8px;
  padding: 10px 15px;
  background: var(--accent);
  color: #081005;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.faq-button-secondary {
  border: 1px solid var(--line);
  background: #151b13;
  color: #fff;
}
.faq-search {
  width: 100%;
  border: 1px solid #4a6741;
  border-radius: 8px;
  padding: 10px 15px;
  background: #0a0d09;
  color: #fff;
  font: inherit;
}
.faq-status {
  color: var(--muted);
  margin: 0.5rem 0 1.5rem;
}
#troubleshooting .group {
  margin: 2.25rem 0;
}
#troubleshooting .group > h2 {
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 1.5rem;
  padding-bottom: 8px;
}
#troubleshooting details.faq {
  overflow: hidden;
  margin: 11px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--panel), #080b07);
}
#troubleshooting details.faq[open] {
  border-color: #557b48;
}
#troubleshooting details.faq > summary {
  position: relative;
  padding: 18px 54px 18px 19px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
#troubleshooting details.faq > summary::-webkit-details-marker {
  display: none;
}
#troubleshooting details.faq > summary::after {
  position: absolute;
  top: 9px;
  right: 20px;
  color: var(--accent);
  content: "+";
  font-size: 1.8rem;
}
#troubleshooting details.faq[open] > summary::after {
  content: "−";
}
#troubleshooting details.faq > summary:hover,
#troubleshooting details.faq > summary:focus {
  outline: none;
  background: var(--panel2);
}
#troubleshooting .faq-content {
  border-top: 1px solid var(--line);
  padding: 6px 22px 24px;
}
#troubleshooting .faq-content h3 {
  margin-top: 1.25em;
  color: var(--accent);
  font-size: 1.05rem;
}
#troubleshooting .faq-content li {
  margin: 0.36em 0;
}
#troubleshooting .materials,
#troubleshooting .cmd {
  border: 1px solid #31442b;
  border-radius: 6px;
  background: #11170f;
  padding: 10px 12px;
}
#troubleshooting .materials {
  border-left: 3px solid var(--accent);
}
#troubleshooting .stop {
  border-left: 3px solid #ff7b7b;
  border-radius: 5px;
  background: #211010;
  padding: 10px 16px;
}
#troubleshooting .review {
  display: inline-block;
  border: 1px solid #685714;
  border-radius: 999px;
  padding: 2px 8px;
  background: #2a2208;
  color: var(--warn);
  font-size: 0.76rem;
  font-weight: 800;
}
#troubleshooting .cmd {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0;
}
#troubleshooting .cmd code {
  overflow-wrap: anywhere;
}
#troubleshooting .copy {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}
.faq-hidden {
  display: none !important;
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .toc {
    position: relative;
    top: auto;
    max-height: 360px;
    margin-top: 0;
  }
  .toc ul {
    columns: 2;
    column-gap: 16px;
  }
  .toc li {
    break-inside: avoid;
  }
  .faq-controls {
    grid-template-columns: 1fr 1fr;
  }
  .faq-search {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}
@media (max-width: 560px) {
  .toc ul {
    columns: 1;
  }
}
@media print {
  .manual-section {
    padding: 10px 0;
    border: 0;
  }
}

.figure-set {
  width: 100%;
  margin: 23px 0;
  padding: 0;
  border: 0;
}
.figure-set .figure-grid {
  margin: 0;
}
.figure-set .figure-caption {
  margin: 10px 0 0;
}
