.install-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: min(90dvh, 640px);
  padding: 0;
  overflow: auto;
  border: 1px solid #dfe5ec;
  border-radius: 20px;
  background: #fff;
  color: #1d2925;
  box-shadow: 0 24px 80px rgb(6 15 28 / 30%);
  font-family: system-ui, sans-serif;
}

.install-dialog::backdrop {
  background: rgb(5 12 23 / 62%);
  backdrop-filter: blur(3px);
}

.install-dialog-content {
  position: relative;
  padding: 26px;
}

.install-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f0f3f6;
  color: #506070;
  cursor: pointer;
  font-size: 23px;
}

.install-dialog-eyebrow {
  margin: 0 0 8px;
  color: #596c7a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.install-dialog h2 {
  margin: 0;
  padding-right: 22px;
  font-size: 21px;
  letter-spacing: -0.5px;
}

.install-dialog-description {
  margin: 9px 0 20px;
  color: #647282;
  font-size: 13px;
  line-height: 1.55;
}

.install-device-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.install-device-option {
  display: grid;
  min-height: 94px;
  justify-items: center;
  align-content: center;
  gap: 9px;
  border: 1px solid #dfe5ec;
  border-radius: 13px;
  background: #f8fafc;
  color: #263648;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.install-device-option:hover {
  transform: translateY(-1px);
  border-color: #9cabc0;
  background: #f0f4f8;
}

.install-device-option:focus-visible,
.install-dialog-close:focus-visible {
  outline: 3px solid #6c63dc;
  outline-offset: 3px;
}

.install-device-option svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.install-guidance {
  margin: 16px 0 0;
  padding: 12px 13px;
  border-radius: 10px;
  background: #f0f4f8;
  color: #405267;
  font-size: 12px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .install-device-option {
    transition: none;
  }
}
