/* ProkBox5g docs: version picker and version banners (site/versions/picker.js).
   Uses the page's own colours where its stylesheet defines them, so old
   releases' layouts and the current one both look right. */
.pbv-picker { position: relative; font-family: var(--font, -apple-system, Helvetica, Arial, sans-serif); font-size: 14px; flex: none; }
.pbv-picker > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--line, #e2e6ec); border-radius: 999px;
  color: var(--fg, #16181d); background: var(--bg, #fff); white-space: nowrap;
}
.pbv-picker > summary::-webkit-details-marker { display: none; }
.pbv-picker > summary::after { content: ""; align-self: center; width: 6px; height: 6px; margin-left: 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.pbv-picker > summary:focus-visible { outline: 2px solid var(--accent, #2563c9); outline-offset: 2px; }
.pbv-k { color: var(--muted, #5a6272); font-weight: 600; }
.pbv-v { font-weight: 700; }
.pbv-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 220px;
  background: var(--bg, #fff); color: var(--fg, #16181d); border: 1px solid var(--line, #e2e6ec);
  border-radius: var(--radius, 10px); box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 6px;
}
.pbv-menu ul { list-style: none; margin: 0; padding: 0; }
.pbv-menu li { margin: 0; }
.pbv-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 6px;
  color: inherit; text-decoration: none; font-weight: 600; }
.pbv-menu a:hover, .pbv-menu a:focus-visible { background: var(--accent-soft, #e8f0fc); }
.pbv-menu a[aria-current] { color: var(--accent, #2563c9); }
.pbv-menu a[aria-current] .pbv-name::before { content: "\2713\00a0"; }
.pbv-note { white-space: nowrap; color: var(--muted, #5a6272); font-weight: 400; font-size: 13px; }
.pbv-living { border-top: 1px solid var(--line, #e2e6ec); margin-top: 6px !important; padding-top: 6px !important; }
.pbv-living a { font-weight: 400; }
.pbv-floating { position: fixed; top: 10px; right: 12px; z-index: 60; }

.pbv-banner { font-family: var(--font, -apple-system, Helvetica, Arial, sans-serif); font-size: 15px; line-height: 1.45;
  padding: 10px 20px; text-align: center; border-bottom: 1px solid var(--line, #e2e6ec); }
.pbv-banner a { font-weight: 700; color: inherit; text-decoration: underline; }
.pbv-old { background: var(--accent-soft, #e8f0fc); color: var(--fg, #16181d); }
.pbv-dev { background: #8a4b00; color: #fff; font-weight: 600; }
.pbv-fallback { display: block; text-align: right; padding: 4px 20px; font-size: 13px; }

.pbv-list { max-width: 640px; margin: 48px auto; padding: 0 20px; font-family: var(--font, -apple-system, Helvetica, Arial, sans-serif); }
.pbv-list li { margin: 8px 0; }

@media (max-width: 720px) {
  .pbv-k { display: none; }
  .pbv-picker > summary { padding: 5px 8px; }
}
@media print {
  .pbv-picker, .pbv-banner, .pbv-fallback { display: none !important; }
}
