.language-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 62px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 24px;
}
.language-bar form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}
.language-bar label {
  white-space: nowrap;
  font-size: 14px;
}
.language-bar select {
  width: auto;
  min-width: 110px;
  font-size: 15px;
}
.language-bar .btn {
  padding: 7px 12px;
}
.sidebar {
  top: 62px;
}
.impersonation-banner {
  top: 62px;
}
.has-impersonation .sidebar {
  top: 132px;
  height: calc(100vh - 132px);
}
.pages,
.tree {
  direction: inherit;
}
.chart-viewport {
  direction: inherit;
}
/* Keep positive slider values on the physical right in both languages. */
.pair-endpoints {
  direction: rtl;
}
.pair-endpoints span,
.survey-heading h1,
.field-options label {
  unicode-bidi: plaintext;
}
html[dir="ltr"] .brand strong {
  letter-spacing: -0.5px;
}
html[dir="ltr"] .project-links a {
  font-size: 14px;
}
html[dir="ltr"] .hero-art {
  transform-origin: right center;
}
html[dir="ltr"] .step:not(:last-child)::after {
  transform: rotate(180deg);
}
html[dir="ltr"] .side-link,
html[dir="ltr"] .step {
  line-height: 1.5;
}
html[dir="ltr"] .tree li:first-child::before,
html[dir="ltr"] .tree li:last-child::after {
  border-radius: 0;
}
@media (max-width: 760px) {
  .language-bar {
    padding: 8px 12px;
  }
  .language-bar form {
    gap: 8px;
  }
  html[dir="ltr"] .sidebar {
    transform: translateX(-100%);
  }
  html[dir="ltr"] .sidebar.open {
    transform: translateX(0);
  }
  .has-impersonation .sidebar {
    top: 62px;
    height: calc(100vh - 62px);
  }
  .top-actions .date {
    display: none;
  }
}
