.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.guide-actions .open-mobile {
  min-height: 44px;
}
.guide-actions .guide-install {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #14233a;
  background: #14233a;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}
.guide-install:hover:not(:disabled) {
  background: #263b5a;
}
.guide-install:disabled {
  cursor: default;
  opacity: .7;
}
.guide-installation {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 48px clamp(40px, 6vw, 84px);
  scroll-margin-top: 24px;
}
.guide-install-card {
  padding: clamp(18px, 2.6vw, 32px);
  border: 1px solid #d3deec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 34px rgb(19 36 60 / 5%);
}
.guide-install-header {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 16px 30px;
}
.guide-install-header h2,
.guide-install-panel h3 {
  margin: 0;
  color: #16243b;
  letter-spacing: -.035em;
}
.guide-install-header h2 {
  font-size: clamp(19px, 2vw, 24px);
}
.guide-install-panel h3 {
  font-size: 18px;
}
.guide-install-heading {
  border-inline-start: 2px solid #dbb54e;
  padding-inline-start: 12px;
}
.guide-install-heading p {
  margin: 6px 0 0;
  color: #51657f;
  font-size: 13px;
  line-height: 1.5;
  word-break: keep-all;
}
.guide-install-devices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.guide-install-devices button {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 68px;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d5e0ef;
  border-radius: 12px;
  background: #f6f9fd;
  color: #16243b;
  text-align: left;
}
.guide-install-devices button:hover {
  border-color: #a9bdda;
  background: #edf4fc;
}
.guide-install-devices button[aria-expanded="true"] {
  border-color: #3763a2;
  background: #eaf2fd;
}
.guide-device-label {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.guide-device-label strong,
.guide-device-label small {
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.guide-device-label strong {
  font-size: 15px;
}
.guide-device-label small {
  color: #51657f;
  font-size: 12px;
}
.guide-device-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 9px;
  background: #e6eef9;
  color: #214979;
}
.guide-device-icon::before {
  content: "";
  width: 10px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}
.guide-device-icon::after {
  content: "";
  position: absolute;
  inset-block-end: 11px;
  width: 4px;
  border-block-end: 1px solid currentColor;
}
[data-install-device="ipad"] .guide-device-icon::before {
  width: 15px;
}
[data-install-device="android"] .guide-device-icon {
  color: #286355;
  background: #e3f1eb;
}
.guide-device-chevron {
  flex: 0 0 6px;
  height: 6px;
  margin-inline-start: auto;
  border: solid #526e94;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
[aria-expanded="true"] > .guide-device-chevron {
  transform: rotate(225deg);
}
#mobile-install-status {
  margin: 10px 0 0;
  color: #51657f;
  font-size: 13px;
  line-height: 1.55;
}
#mobile-install-status:empty {
  display: none;
}
.guide-install-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 20px 36px;
  align-items: start;
  padding-top: 20px;
  margin-top: 16px;
  border-top: 1px solid #e1e8f0;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.guide-install-intro {
  margin: 8px 0 0;
  color: #405470;
}
.guide-install-panel ol {
  display: grid;
  gap: 9px;
  margin: 12px 0 10px;
  padding-inline-start: 22px;
}
.guide-install-panel li {
  padding-inline-start: 3px;
  color: #405470;
}
.guide-install-panel li::marker {
  color: #254f87;
  font-weight: 750;
}
.guide-install-panel strong {
  color: #14233a;
}
.guide-install-device-note {
  margin: 0 0 10px;
  color: #526783;
  font-size: 12px;
}
.guide-install-source {
  display: inline-flex;
  gap: 5px;
  padding: 4px 0;
  color: #285891;
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-install-panel figure {
  margin: 0;
}
.guide-install-panel img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d5dfeb;
  border-radius: 10px;
  background: #f3f6fc;
}
.guide-install-panel figcaption {
  margin-top: 6px;
  color: #526783;
  font-size: 12px;
}
@media (max-width: 900px) {
  .guide-installation {
    padding-inline: 27px;
  }
}
@media (max-width: 767px) {
  .gallery-header {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
  }
  .guide-actions {
    flex: 1 1 100%;
  }
  .guide-installation {
    padding-inline: 16px;
  }
  .guide-install-card {
    border-radius: 15px;
    padding: 15px;
  }
  .guide-install-header,
  .guide-install-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .guide-install-devices {
    gap: 6px;
  }
  .guide-install-devices button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6px;
    align-content: center;
    gap: 5px;
    min-height: 92px;
    padding: 7px;
  }
  .guide-device-icon {
    width: 30px;
    height: 30px;
    grid-column: 1 / -1;
  }
  .guide-device-icon::after {
    inset-block-end: 9px;
  }
  .guide-device-label strong,
  .guide-device-label small {
    white-space: nowrap;
    font-size: 11px;
  }
  .guide-install-panel figure {
    max-width: 360px;
  }
  .showcase {
    padding-inline: 16px;
  }
  .device-frame {
    width: min(calc(var(--phone-width) + 18px), calc(100vw - 32px));
    margin-inline: auto;
  }
  .device-frame iframe, .keyboard-preview {
    width: 100%;
  }
}
