/* The language menu in the nav of each page (scripts/site/i18n.mjs writes it). No script: <details>. */
.lang-menu { position: relative; font-size: 12.5px; }
.lang-menu > summary { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid var(--line-2, #d9d6d0); border-radius: 999px;
  color: var(--text-2, #555); white-space: nowrap; cursor: pointer; list-style: none; user-select: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover, .lang-menu[open] > summary { border-color: var(--accent, #c2410c); color: var(--accent, #c2410c); }
.lang-menu > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  background: var(--card, #fff); border: 1px solid var(--line, #e6e3dd); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.lang-menu li a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text, #1a1a1a); text-decoration: none; white-space: nowrap; }
.lang-menu li a:hover { background: var(--bg-alt, #f4f2ee); }
.lang-menu li a[aria-current] { font-weight: 600; }
/* The menu adds width to the nav: the name of the site stays on one line. */
.nav .brand span { white-space: nowrap; }
