.instruction {
  max-width: 920px;
  margin: 0 auto;
}
.instruction .toc-page {
  margin-left: auto;
  padding-left: 12px;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: .82rem;
}
.instruction > .instruction-intro {
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--panel);
}
.instruction h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 48px;
  padding-top: 4px;
}
.instruction h3 {
  margin: 30px 0 12px;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -.015em;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.instruction ol,
.instruction ul {
  margin: 12px 0 20px;
}
.instruction ol {
  padding-left: 0;
  list-style: none;
  counter-reset: instruction-step;
}
.instruction ol > li {
  position: relative;
  min-height: 34px;
  padding-left: 46px;
  margin: 12px 0;
  counter-increment: instruction-step;
}
.instruction ol > li::before {
  content: counter(instruction-step);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 .85rem/1 var(--f-mono);
}
.instruction ol[start="3"] { counter-reset: instruction-step 2; }
.instruction ol[start="5"] { counter-reset: instruction-step 4; }
.instruction ol[start="6"] { counter-reset: instruction-step 5; }
.instruction .instruction-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
.instruction-checks > div {
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--panel);
}
.instruction-checks h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.instruction-checks > div:first-child h3 { color: #66c79a; }
.instruction-checks > div:last-child h3 { color: #ff956b; }
.instruction-checks ul { margin-bottom: 0; }
.instruction .instruction-warnings {
  padding: 4px 20px;
  list-style: none;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--hair));
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--accent) 6%, var(--panel));
}
.instruction-warnings li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--hair);
}
.instruction-warnings li:last-child { border-bottom: 0; }
.instruction-warnings li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--accent);
  font: 800 1rem/1 var(--f-mono);
}
.instruction .tip {
  padding: 16px 20px;
}
.instruction .tip p {
  margin: 6px 0 0;
}
.instruction .tip p:last-child { margin-bottom: 0; }
.instruction-figure {
  margin: 22px 0 26px;
  text-align: center;
}
.instruction-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: #fff;
}
.instruction-figure--medium img {
  max-width: 560px;
  margin: 0 auto;
}
.instruction-figure figcaption {
  margin-top: 9px;
  color: var(--dim);
  font: 500 .78rem/1.5 var(--f-mono);
}
.instruction table {
  min-width: 560px;
}
.instruction td:first-child { width: 39%; }
.instruction th:last-child,
.instruction td:last-child { white-space: normal; }
.instruction .faq { margin-top: 16px; }
.instruction-warranty {
  padding: 20px;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--panel);
}
.instruction-warranty b {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 1.35rem;
}
@media (min-width: 900px) {
  .instruction .legal-upd { margin-bottom: 30px; }
  .instruction-figure:not(.instruction-figure--medium) img { max-height: 720px; object-fit: contain; }
}
@media (max-width: 680px) {
  .instruction h2 { margin-top: 38px; }
  .instruction h3 { margin-top: 26px; }
  .instruction .instruction-checks { grid-template-columns: 1fr; gap: 12px; }
  .instruction-checks > div { padding: 14px 16px; }
  .instruction .instruction-warnings { padding: 3px 14px; }
  .instruction-warnings li { padding-left: 23px; }
  .instruction ol > li { padding-left: 40px; }
  .instruction .tbl-wrap {
    margin-left: -16px;
    margin-right: -16px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .instruction table { min-width: 540px; }
  .instruction-figure { margin: 18px 0 22px; }
  .instruction-figure figcaption { font-size: .72rem; }
}
@media print {
  .nav, .mobile-menu, .footer, .toc { display: none !important; }
  .section { padding: 0; }
  .instruction { max-width: none; }
  .instruction h2, .instruction h3, .instruction-figure, .instruction table { break-inside: avoid; }
  .instruction a { text-decoration: none; }
}
