.guide-devices {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  background: var(--tint);
  border-radius: 10px;
}
.guide-devices a {
  display: grid;
  place-items: center;
  min-width: 100px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 7px;
  font-weight: 800;
}
.guide-devices a[aria-current] { background: var(--accent); color: white; }
.guide-devices a:not([aria-current]):hover { background: var(--white); }
.installation-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}
.installation-steps li {
  display: grid;
  grid-template-columns: minmax(120px, .52fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  padding: clamp(12px, 2vw, 25px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.guide-step-number {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--link);
  font-weight: 850;
  font-size: .78rem;
}
.installation-steps h2 {
  margin: 9px 0 6px;
  font-size: clamp(1rem, 1.65vw, 1.33rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}
.installation-steps p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.installation-steps p strong { color: var(--ink); font-weight: 760; }
.installation-steps p a,.guide-sources a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.guide-screen {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  width: min(100%, 158px);
  margin-inline: auto;
  padding-bottom: 4px;
  border-radius: 10px;
  color: var(--link);
  cursor: zoom-in;
  font-size: .77rem;
  font-weight: 750;
}
.guide-screen:hover span { text-decoration: underline; text-underline-offset: 3px; }
.guide-screen img { display: block; width: 100%; height: auto; }
.guide-device-note { margin: 0 0 14px; color: var(--muted); font-size: .86rem; }
.guide-image-dialog {
  width: min(460px, calc(100% - 20px));
  max-height: calc(100dvh - 20px);
  padding: 52px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.guide-image-dialog::backdrop { background: #13162880; }
.guide-image-dialog .dialog-close { position: absolute; inset: 5px 7px auto auto; }
.guide-image-dialog img { display: block; height: auto; width: auto; max-width: 100%; max-height: calc(100dvh - 88px); margin-inline: auto; }
.guide-sources { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 13px; font-size: .83rem; }
.guide-help { justify-content: flex-start; margin-top: 28px; }
.guide-help p { margin-right: auto; }
@media(max-width: 800px) {
  .installation-steps { grid-template-columns: 1fr; }
  .installation-steps li { grid-template-columns: minmax(106px, .48fr) minmax(0, 1fr); }
}
@media(max-width: 420px) {
  .installation-steps li { grid-template-columns: 104px minmax(0, 1fr); }
  .installation-steps p { font-size: .85rem; }
  .guide-help .button { justify-content: center; }
}
