.locale-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 25;
}
.locale-segment {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(19, 34, 53, .72);
}
.locale-segment button {
  min-width: 32px;
  min-height: 27px;
  padding: 4px 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font: 600 9px/1 var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
}
.locale-segment button[aria-pressed="true"] {
  background: rgba(142, 219, 200, .13);
  color: var(--mint);
}
.locale-segment button:hover { color: var(--text); }
.locale-segment button:focus-visible { outline: 1px solid var(--focus); outline-offset: 2px; }
.exchange-rate-note {
  position: absolute;
  top: calc(100% + 3px);
  right: 0;
  color: var(--muted);
  font: 400 8px/1.3 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}
.exchange-rate-note:hover { color: var(--mint); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 800px) {
  .locale-controls { gap: 4px; }
  .locale-segment { padding: 1px; }
  .locale-segment button { min-width: 21px; min-height: 24px; padding: 4px; font-size: 8px; letter-spacing: 0; }
  .exchange-rate-note { top: calc(100% + 1px); font-size: 7px; }
}
@media (max-width: 370px) {
  .topbar { gap: 4px; padding-right: 4vw; padding-left: 4vw; }
  .brand { gap: 6px; font-size: 10px; letter-spacing: .1em; }
  .notes-toggle { padding: 5px 4px; font-size: 7px; }
  .menu-toggle { font-size: 9px; letter-spacing: .08em; }
}
@media (max-width: 800px) {
  .topbar {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    padding-inline: 4vw;
  }
  .topbar-meta { display: none !important; }
  .topbar .brand { flex: 0 0 auto; min-width: 0; }
  .locale-controls, .notes-toggle, .menu-toggle { flex: 0 0 auto; }
  .notes-toggle { white-space: nowrap; padding: 5px 6px; font-size: 7px; letter-spacing: .06em; }
  .menu-toggle { white-space: nowrap; padding-inline: 2px; font-size: 8px; letter-spacing: .06em; }
}
@media (max-width: 370px) {
  .topbar { gap: 2px; padding-inline: 8px; }
  .topbar .brand-logo { width: 96px; height: 24px; }
  .locale-controls { gap: 2px; }
  .locale-segment { padding: 0; }
  .locale-segment button { min-width: 18px; min-height: 22px; padding: 3px 2px; font-size: 7px; }
  .notes-toggle { padding: 4px 3px; font-size: 6px; letter-spacing: .02em; }
  .notes-toggle span { margin-left: 2px; }
  .menu-toggle { font-size: 7px; letter-spacing: .02em; }
  .exchange-rate-note { font-size: 6px; }
}
