.topbar > .experience-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  font: 600 12px/1 var(--sans, system-ui);
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
}
.experience-switch :is(a, span, summary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  color: inherit;
  text-decoration: none;
  border-radius: 5px;
}
.experience-switch a[aria-current="page"] {
  background: var(--b-action);
  color: var(--b-action-fg);
  font-weight: 700;
}
.experience-switch a:not([aria-current]):hover {
  color: var(--b-ink);
  background: var(--b-accent-hover);
}
.experience-switch :is(a, summary):focus-visible {
  outline: 2px solid var(--b-ink);
  outline-offset: 2px;
}
.experience-switch details {
  display: none;
  position: relative;
}
.experience-switch summary {
  cursor: pointer;
  gap: 5px;
  list-style: none;
}
.experience-switch summary::-webkit-details-marker {
  display: none;
}
.experience-switch i {
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-1px) rotate(45deg);
}
.experience-switch details[open] i {
  transform: translateY(1px) rotate(225deg);
}
.experience-switch details > div {
  position: absolute;
  z-index: 80;
  inset-inline-start: 0;
  top: calc(100% + 4px);
  min-width: 92px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.experience-switch details > div > * {
  min-height: 44px;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1250px) {
  .topbar > .experience-switch {
    padding: 0;
  }
  .experience-switch > :is(a, span) {
    display: none;
  }
  .experience-switch details {
    display: block;
  }
  .experience-switch summary {
    min-height: 34px;
    padding: 0 7px;
  }
}
@media (max-width: 900px) {
  .topbar > .experience-switch {
    display: none;
  }
  .header-version-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 6px;
  }
  .header-version-row .experience-switch {
    display: flex;
    gap: 2px;
    padding: 2px;
    border-radius: 9px;
    background: var(--b-soft);
  }
  .header-version-row .experience-switch > :where(a) {
    display: inline-flex;
    min-width: 48px;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 7px;
    font: 500 13px/1.3 var(--sans);
    color: var(--b-muted);
  }
  .header-version-row .experience-switch details {
    display: none;
  }
}
.experience-switch details a[aria-current="page"]::after {
  content: '✓';
  font-size: .9em;
}
@media (forced-colors: active) {
  .experience-switch a[aria-current="page"] {
    outline: 1px solid Highlight;
    outline-offset: -2px;
  }
}

.lite-mobile-nav { display: none; }
@media (max-width: 900px) {
  html body:has(> .lite-mobile-nav:not([hidden])) > .biz-mobile-nav { display: none !important; }
  .lite-mobile-nav:not([hidden]) {
    position: fixed;
    z-index: 70;
    inset-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    max-width: 460px;
    margin-inline: auto;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--b-line);
    border-radius: 26px;
    color: var(--b-ink);
    background: var(--b-panel);
    background-image: var(--optical-sheen);
    box-shadow: 0 8px 24px #0002;
  }
  .lite-mobile-nav a {
    display: inline-flex;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 5px;
    border-radius: 22px;
    color: var(--b-muted);
    font: 550 13px/1.2 var(--sans);
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .lite-mobile-nav svg {
    flex: none;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }
  .lite-mobile-nav [aria-current="location"] {
    color: var(--b-ink);
    background: var(--optical-selection, var(--b-soft));
    box-shadow: inset 0 0 0 1px var(--b-line);
  }
  .lite-mobile-nav [data-open-full] {
    flex: 1.15 1 auto;
    color: var(--b-ink);
    position: relative;
  }
  .lite-mobile-nav [data-open-full]::before {
    content: '';
    position: absolute;
    inset-inline-start: -2px;
    height: 18px;
    border-inline-start: 1px solid var(--b-line);
  }
  .lite-mobile-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
}
