/* Display-currency switcher + converted money amounts */
.currency-switcher { position: relative; display: inline-block; font-size: .8rem; line-height: 1; }
.currency-switcher > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .35rem .6rem; border: 1px solid var(--border, rgba(127,127,127,.35)); border-radius: 999px;
  font-weight: 600; color: inherit; background: transparent;
}
.currency-switcher > summary::-webkit-details-marker { display: none; }
.currency-switcher > summary::after { content: "▾"; font-size: .7em; opacity: .7; }
.currency-switcher[open] > summary { border-color: var(--primary, #2563eb); }
.currency-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + .35rem); z-index: 1000;
  min-width: 12rem; margin: 0; padding: .35rem; list-style: none;
  background: var(--card, #fff); color: var(--text, #111827);
  border: 1px solid var(--border, #e5e7eb); border-radius: .6rem; box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.currency-menu li { margin: 0; }
.currency-link {
  display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: .4rem;
  color: inherit; text-decoration: none; white-space: nowrap;
}
.currency-link:hover { background: rgba(127,127,127,.12); }
.currency-link.is-active { color: var(--primary, #2563eb); font-weight: 700; }
.currency-link .currency-code { min-width: 2.6rem; font-weight: 700; }
.currency-link .currency-label { opacity: .8; font-size: .9em; }
.lang-switcher + .currency-switcher, .currency-switcher-wrap { margin-inline-start: .5rem; }
.auth-card .currency-switcher { display: flex; justify-content: center; margin: 0 auto 1rem; width: max-content; }
.landing-menu-lang .currency-switcher { margin-top: .75rem; }

.money .money-value { white-space: nowrap; }
.money.is-converted { cursor: help; }
.money .money-orig { display: inline-block; font-size: .78em; font-weight: 400; opacity: .7; white-space: nowrap; }
.stat-value .money .money-orig { display: block; font-size: .55em; margin-top: .15rem; }
.table-wrap { overflow-x: auto; }
