.notes-shell .topbar-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: start;
  gap: 12px;
}
.notes-shell .language-switcher { grid-column: 2; grid-row: 1; }
.notes-shell .site-nav {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  overflow: visible;
  max-width: 100%;
}
.notes-shell .site-nav a,
.notes-shell .site-nav a:nth-child(n) {
  flex: 0 1 auto;
  min-width: 0;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-align: center;
  justify-content: center;
  border: 1px solid #cfdfdf;
}
.notes-shell .language-link { min-height: 36px; }
.notes-shell .site-nav a:focus-visible,
.notes-shell .language-link:focus-visible { outline: 2px solid #2468ce; outline-offset: 2px; }
@media (max-width: 700px) {
  .notes-shell .topbar-meta { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .notes-shell .language-switcher { grid-column: 1; grid-row: 1; justify-self: end; }
  .notes-shell .site-nav { grid-column: 1; grid-row: 2; }
  .notes-shell .site-nav a,
  .notes-shell .site-nav a:nth-child(n) { min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .notes-shell .language-link { min-width: 42px; min-height: 40px; }
}
