/* Version switcher for the design previews. Same place, size and look in every version and language (physical
   bottom-left; on phones above the bottom order bar), so switching versions never moves it. */
.vsw {
  position: fixed; left: 12px; bottom: 16px; z-index: 2147483000;
  display: flex; align-items: center; gap: 2px; padding: 4px;
  background: rgba(17, 17, 17, 0.9); color: #fff; border-radius: 999px;
  font: 500 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; letter-spacing: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
:where(.vsw) :is(a, button) { all: unset; box-sizing: border-box; cursor: pointer; color: inherit; }
.vsw-step { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; transition: background-color .15s; }
.vsw-step:hover, .vsw-hide:hover, .vsw-label:hover { background: rgba(255, 255, 255, 0.14); }
.vsw-label { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 16px; max-width: 180px; transition: background-color .15s; }
.vsw-label b { font-weight: 700; }
.vsw-label span { opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsw-hide { display: grid; place-items: center; width: 24px; height: 32px; border-radius: 12px; opacity: .7; }
.vsw :focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.vsw-list {
  position: absolute; left: 0; bottom: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 220px;
  background: rgba(17, 17, 17, 0.94); border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.vsw-list a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; width: 100%; }
.vsw-list a:hover, .vsw-list a[aria-current] { background: rgba(255, 255, 255, 0.14); }
.vsw-list b { width: 18px; text-align: right; font-variant-numeric: tabular-nums; }
/* hidden: a small tab on the edge that shows the version number */
.vsw.min { padding: 0; }
.vsw.min > :not(.vsw-label), .vsw.min .vsw-label span { display: none; }
.vsw.min .vsw-label { padding: 0 12px; }
@media (max-width: 900px) { .vsw { bottom: 88px; } }
@media print { .vsw { display: none; } }
