.download-picker {
  position: relative;
}

.download-picker > summary {
  width: 100%;
  cursor: pointer;
  list-style: none;
}

.download-picker > summary::-webkit-details-marker {
  display: none;
}

.download-picker > summary::after {
  content: "⌄";
  margin-left: auto;
  font-size: 17px;
}

.download-picker[open] > summary::after {
  content: "⌃";
}

.download-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  left: 0;
  width: min(440px, calc(100vw - 48px));
  overflow: hidden;
  border: 1px solid #dbe1eb;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 20px 55px rgba(4, 12, 28, .28);
  text-align: left;
}

.download-menu > a,
.download-menu > .download-unavailable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 17px;
  border-bottom: 1px solid #edf0f5;
}

.download-menu > :last-child {
  border-bottom: 0;
}

.download-menu > a:hover {
  background: #f1ffdc;
}

.download-menu strong,
.download-menu small {
  display: block;
}

.download-menu strong {
  font-size: 14px;
}

.download-menu small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.download-menu b {
  white-space: nowrap;
  color: #579400;
  font-size: 11px;
}

.download-menu .download-unavailable {
  background: #f7f8fa;
  color: #67738a;
}

.download-menu .download-unavailable b {
  color: #8994a7;
}

.download-menu .download-unavailable strong {
  color: #536078;
}

.platform-waitlist {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(130px, .8fr) auto;
  gap: 9px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
}

.platform-waitlist > span {
  display: grid;
}

.platform-waitlist input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd3df;
  border-radius: 7px;
  font: inherit;
}

.platform-waitlist button {
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.platform-waitlist button:disabled {
  opacity: .6;
}

.platform-waitlist .waitlist-status {
  grid-column: 1 / -1;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .download-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .platform-waitlist {
    grid-template-columns: 1fr;
  }

  .platform-waitlist .waitlist-status {
    grid-column: auto;
  }
}
