.other-tools {
  position: fixed;
  z-index: 4;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: .5rem;
  max-width: calc(100vw - 2rem);
  color: #173c30;
}
.other-tools summary, .other-tools nav {
  border: 1px solid #173c30;
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 .15rem .65rem #173c3020;
}
.other-tools summary {
  display: grid;
  place-items: center;
  cursor: pointer;
  font: 600 .875rem/1.35 system-ui, sans-serif;
  min-height: 44px;
  padding: .5rem .8rem;
}
.other-tools summary::-webkit-details-marker { display: none; }
.other-tools nav {
  padding: .3rem;
  min-width: 10rem;
  max-width: 100%;
}
.other-tools:not([open]) nav { display: none; }
.other-tools nav a {
  display: grid;
  align-items: center;
  padding: .4rem .65rem;
  min-height: 44px;
  color: #173c30;
  border-radius: .4rem;
  white-space: nowrap;
}
.other-tools nav a:hover { background: #ecf3ee; }
.other-tools :focus-visible { outline: .17rem solid #173c30; outline-offset: .14rem; }
@media (max-width: 1300px), (max-height: 475px) {
  .other-tools {
    position: static;
    width: fit-content;
    margin: 1rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
    flex-direction: column;
  }
}
