.watermark {
  pointer-events: none !important;
}

.topbar {
  position: relative;
  z-index: 5;
}

.topbar .top-actions {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.topbar .top-actions button {
  pointer-events: auto;
  cursor: pointer;
}

.language-picker {
  position: relative;
}

.language-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  background: var(--teal-soft);
  color: #17655d;
}

@media (max-width: 600px) {
  .top-actions .language {
    display: inline-flex !important;
  }

  .top-actions .icon-btn#themeButton {
    display: inline-flex !important;
  }

  .top-actions .icon-btn#fullscreenButton {
    display: none !important;
  }
}
