/* language switcher (layouts/_lang.html.ep), moved out of the pages 2026-11-30 */
  .tb-lang { position: relative; display: inline-block; float: right; z-index: 50; font-family: Seravek, "Helvetica Neue", Helvetica, Arial, sans-serif; }
  .tb-lang summary { list-style: none; cursor: pointer; user-select: none; white-space: nowrap; }
  .tb-lang summary::-webkit-details-marker { display: none; }
  .tb-lang summary::after { content: ""; display: inline-block; width: .32em; height: .32em; margin: 0 0 .18em .4em;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
  .tb-lang[open] summary::after { transform: rotate(-135deg); margin-bottom: -.05em; }
  .tb-lang ul { position: absolute; right: 0; top: 100%; margin: 0; padding: 6px 0; list-style: none; min-width: 190px; max-height: 75vh; overflow: auto; }
  .tb-lang li { float: none !important; display: block !important; margin: 0 !important; }
  .tb-lang li a { display: block; padding: 0 18px; text-decoration: none; white-space: nowrap; }
  /* flags (owner, 2026-11-30): only the flag when closed, flag + name in the list */
  .tb-lang .tb-flag { display: inline-block; width: 1.15em; height: auto; aspect-ratio: 3 / 2; vertical-align: -.12em; border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.22); }
  .tb-lang summary .tb-flag { width: 1.3em; }
  .tb-lang li a .tb-flag { margin-right: .55em; }

  /* dealer cabinet: the #languages bar above the dark menu — black text on cream, the list like the menu */
  .tb-lang-cab { font-size: 26px; line-height: 34px; }
  .tb-lang-cab summary { color: #000; }
  .tb-lang-cab summary:hover, .tb-lang-cab[open] summary { color: #777; }
  .tb-lang-cab ul { background: #333; }
  .tb-lang-cab li a { color: #fff !important; font-size: 22px; line-height: 40px; padding: 0 24px; }
  .tb-lang-cab li a:hover { color: #ccc !important; }
  .tb-lang-cab li a[aria-current] { color: #dcb288 !important; }

  /* front page: gold on black like the headings, the list like the parchment login card */
  .tb-lang-front { position: absolute; top: 18px; right: 28px; float: none; font-size: 24px; line-height: 1.4; }
  .tb-lang-front summary { color: #dcb288; }
  .tb-lang-front summary:hover, .tb-lang-front[open] summary { color: #f5e5cd; }
  .tb-lang-front ul { top: calc(100% + 8px); background: rgba(220,178,136,.93); border-radius: 10px; padding: 10px 0; }
  .tb-lang-front li a { color: #7e542a !important; font-size: 21px; line-height: 36px; }
  .tb-lang-front li a:hover { background: #7e542a; color: #dcb288 !important; }
  .tb-lang-front li a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

  /* admin panel: a quiet Bootstrap-like link */
  .tb-lang-admin { margin: 8px 15px 0 0; font-size: 14px; }
  .tb-lang-admin summary { color: #337ab7; }
  .tb-lang-admin ul { background: #fff; border: 1px solid rgba(0,0,0,.15); border-radius: 4px; box-shadow: 0 6px 12px rgba(0,0,0,.175); min-width: 160px; }
  .tb-lang-admin li a { color: #333 !important; line-height: 26px; }
  .tb-lang-admin li a:hover { background: #f5f5f5; }
  .tb-lang-admin li a[aria-current] { font-weight: bold; }
