/* Shared v8 controls and protection against iOS automatic link recolouring. */
a[x-apple-data-detectors], a[x-apple-data-detectors]:hover,
a[x-apple-data-detectors]:visited, a[data-detector-link],
a[data-apple-data-detectors], a[data-apple-data-detectors]:hover,
a[data-apple-data-detectors]:visited,
.light-theme-page .section-dark a[x-apple-data-detectors]:not(.pill-amber):not(.pill-ghost-dark),
.light-theme-page .section-dark a[data-apple-data-detectors]:not(.pill-amber):not(.pill-ghost-dark),
.light-theme-page .section-dark a[data-detector-link]:not(.pill-amber):not(.pill-ghost-dark) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  font: inherit !important;
  text-decoration: inherit !important;
}
.utilbar .era-phone, .utilbar .era-phone:hover, .utilbar .era-phone:visited {
  color: #C9D8E2;
  -webkit-text-fill-color: currentColor;
  white-space: nowrap;
}
.page > .utilbar { z-index: 1101; }
.era-language-menu { position: relative; color: #C9D8E2; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .05em; flex-shrink: 0; }
.era-language-menu > summary { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 0 6px 6px; color: inherit; cursor: pointer; list-style: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.era-language-menu > summary::-webkit-details-marker { display: none; }
.era-language-menu > summary::marker { content: ''; }
.era-language-menu img { display: block; width: 16px; height: 16px; flex-shrink: 0; }
.era-language-menu .era-language-chevron { width: 14px; height: 14px; transition: transform .15s; }
.era-language-menu[open] .era-language-chevron { transform: rotate(180deg); }
.era-language-menu > summary:focus-visible { outline: 2px solid #F8A504; outline-offset: 4px; }
.era-language-panel { position: absolute; z-index: 1200; top: calc(100% + 6px); right: 0; min-width: 136px; max-width: calc(100vw - 44px); background: #FFFFFF; border: 1px solid #E3EBF0; border-radius: 4px; box-shadow: 2px 3px 12px rgba(10,27,40,.2); overflow: hidden; }
.era-language-panel > a, .era-language-panel > span { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 14px; color: #16293A; -webkit-text-fill-color: currentColor; font-size: 12px; text-decoration: none; white-space: nowrap; }
.era-language-panel > :not(:last-child) { border-bottom: 1px solid #E3EBF0; }
.era-language-panel > a:hover, .era-language-panel > a:focus-visible { background: #EDF0F2; color: #16293A; }
.era-language-panel > [aria-current] { background: #FFF3D6; color: #0A1B28; font-weight: 600; }
.era-language-panel > [aria-current]::after { content: ''; margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: #F8A504; }
.footer .era-language-panel > a, .footer .era-language-panel > a:hover { color: #16293A; }
.footer .era-language-panel { top: auto; bottom: calc(100% + 6px); }
@media (max-width: 640px) { .footer .era-language-panel { left: 0; right: auto; } }
@media (prefers-reduced-motion: reduce) { .era-language-chevron { transition: none; } }
