.visual-downloads {
  position: relative;
  z-index: 5;
  width: max-content;
  max-width: 100%;
  margin: 1rem 0 0 auto;
  color: #e8efff;
  font-size: .84rem;
}
.ab > .visual-downloads { grid-column: 1 / -1; justify-self: end; margin-top: 0; }
.visual-downloads[open] { z-index: 30; }
.visual-downloads > summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  border: 1px solid #607da8;
  border-radius: 7px;
  background: #12213e;
  color: #dceeff;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.visual-downloads > summary::before { content: "↓"; font-size: 1.1rem; line-height: 1; color: #8de6ff; }
.visual-downloads > summary::after { content: "⌄"; margin-left: .4rem; }
.visual-downloads > summary::-webkit-details-marker { display: none; }
.visual-downloads > summary:hover { border-color: #8de6ff; }
.visual-downloads > summary:focus-visible,
.visual-download-menu a:focus-visible { outline: 2px solid #8de6ff; outline-offset: 3px; }
.visual-download-menu {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  width: min(20rem, calc(100vw - 3rem));
  padding: .4rem;
  border: 1px solid #577296;
  border-radius: 9px;
  background: #101c36;
  box-shadow: 0 12px 35px #030815aa;
}
.visual-download-menu p {
  margin: .25rem .5rem .4rem;
  color: #b8c9e5;
  font-size: .73rem;
  line-height: 1.5;
}
.visual-download-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem;
  padding: .6rem .5rem;
  border-radius: 5px;
  color: #f1f6ff;
  text-decoration: none;
  line-height: 1.4;
}
.visual-download-menu a:hover { background: #23395e; }
.visual-download-menu small { flex: none; color: #94ddf5; font-size: .7rem; }
.visual-download-menu .visual-download-all {
  margin-top: .25rem;
  border-top: 1px solid #415d82;
  border-radius: 0 0 5px 5px;
  font-weight: 700;
}
@media print { .visual-downloads { display: none; } }
