/* Concept 25: one currency. The control (beside the listings and in the footer) and its menu. */

.fx-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; margin-left: 4px;
  font: inherit; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: hsl(var(--muted-foreground)); background: transparent; border: 1px solid hsl(var(--border)); cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.fx-btn b { font-weight: 500; letter-spacing: 0.08em; color: hsl(var(--foreground)); }
.fx-btn svg { width: 8px; height: 5px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fx-btn:hover { color: hsl(var(--foreground)); border-color: hsl(var(--foreground) / 0.5); }
.fx-btn.is-on { border-color: var(--mf-brass, #a88f5c); }
/* In the ledger head, beside the Ledger / Cards switch. */
.lg-head .fx-lg { margin: 0 12px 0 auto; padding: 6px 10px; }
/* In the navy footer. */
.ft .fx-ft { padding: 13px 14px; color: hsl(var(--primary-foreground) / 0.6); border-color: hsl(var(--primary-foreground) / 0.2); }
.ft .fx-ft b { color: hsl(var(--primary-foreground)); }
.ft .fx-ft:hover { color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary-foreground) / 0.6); }

.fx-menu {
  position: fixed; z-index: 95; width: 300px; padding: 18px 18px 16px;
  color: hsl(var(--foreground)); background: hsl(var(--background));
  border: 1px solid hsl(var(--border)); box-shadow: 0 24px 60px -28px hsl(222 47% 8% / 0.45);
  animation: fx-in 0.18s ease;
}
.fx-menu[hidden] { display: none; }
@keyframes fx-in { from { opacity: 0; transform: translateY(-4px); } }
.fx-k { margin: 0 0 10px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mf-brass, #a88f5c); }
.fx-opts { display: flex; flex-direction: column; border-top: 1px solid hsl(var(--foreground)); }
.fx-opts button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 2px;
  font: inherit; text-align: left; color: hsl(var(--foreground)); background: none; border: 0;
  border-bottom: 1px solid hsl(var(--border)); cursor: pointer;
}
.fx-opts button span { font-size: 14px; letter-spacing: 0.04em; }
.fx-opts button i { font-style: normal; font-size: 12px; color: hsl(var(--muted-foreground)); }
.fx-opts button:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fx-opts button[aria-checked="true"] span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--mf-brass, #a88f5c); }
.fx-fine { margin: 12px 0 0; font-size: 11.5px; line-height: 1.55; color: hsl(var(--muted-foreground)); }
.fx-btn:focus-visible, .fx-opts button:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fx-menu { animation: none; } }
@media print { .fx-btn, .fx-menu { display: none !important; } }
