/* The language picker (app/langpick.js): its list, and the flag in the button that opens it. A stylesheet each page
   links in its head, not one the script adds, so the button is drawn at its final width before any script runs. */
.lp { position: fixed; z-index: 60; width: min(280px, calc(100vw - 20px)); max-height: min(440px, calc(100vh - 90px)); display: flex;
  flex-direction: column; background: #fff; color: #1d1a17; border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.24); overflow: hidden;
  font-family: inherit; font-size: 14px; line-height: 1.3; }
.lp input { margin: 10px; padding: 10px 12px; border: 1px solid rgba(0,0,0,.16); border-radius: 10px; font: inherit; }
.lp input:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.lp ul { list-style: none; margin: 0; padding: 0 6px 8px; overflow-y: auto; overscroll-behavior: contain; }
.lp li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.lp li span { flex: 1; }
.lp-flag { flex: none; display: inline-block; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
button > .lp-flag { vertical-align: -2px; margin-inline-end: 6px; }
.lp li small { color: rgba(0,0,0,.5); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.lp li[aria-selected="true"], .lp li:hover { background: rgba(0,0,0,.06); }
.lp li[data-current] { font-weight: 700; }
.lp .none { padding: 12px 16px; color: rgba(0,0,0,.55); }
