/* Regional Currency 2: a compact, theme-aware country/currency selector. */
.tf-currency.tfr-switcher{position:relative;display:inline-block;font:600 14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:inherit;max-width:100%}
.tfr-switcher>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 11px;border:1px solid var(--line,#dce2ea);border-radius:8px;list-style:none;cursor:pointer;background:var(--surface,#fff);color:var(--ink,#152037);box-sizing:border-box}
.tfr-switcher>summary::-webkit-details-marker{display:none}.tfr-switcher>summary::after{display:none}.tfr-chevron{width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-left:2px;margin-top:-3px}.tfr-switcher[open] .tfr-chevron{transform:rotate(225deg);margin-top:3px}
.tfr-switcher .tfr-flag{width:26px;height:18px;border-radius:3px;flex:0 0 26px;box-shadow:0 0 0 1px #8883;overflow:hidden}
.tfr-switcher>nav{position:absolute;right:0;top:calc(100% + 6px);z-index:1000;width:252px;max-width:calc(100vw - 24px);max-height:min(65vh,460px);overflow:auto;overscroll-behavior:contain;padding:6px;border:1px solid var(--line,#dce2ea);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#152037);box-shadow:0 16px 40px #12203024;box-sizing:border-box}
.tfr-switcher>nav form{margin:0;padding:0}.tfr-switcher>nav :is(a,button){display:flex;align-items:center;gap:9px;width:100%;min-height:44px;margin:0;padding:10px 9px;background:transparent;border:0;border-radius:6px;color:inherit;font:500 14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none;text-align:left;cursor:pointer;box-sizing:border-box;white-space:normal}
.tfr-switcher .tfr-code{font-weight:650;min-width:32px}.tfr-switcher .tfr-label{font-weight:400;flex:1;min-width:0;overflow-wrap:anywhere}.tfr-switcher .tfr-check{font-size:16px;color:var(--accent,#ce360b)}
.tfr-switcher>nav :is(a,button):hover,.tfr-switcher>nav [aria-current]{background:var(--pale,#f3f5f8)}.tfr-switcher>nav [aria-current] .tfr-label{font-weight:600}
.tfr-switcher :is(summary,a,button):focus-visible{outline:3px solid var(--accent,#ce360b);outline-offset:2px}
html[data-theme=dark] .tfr-switcher>summary,html[data-theme=dark] .tfr-switcher>nav{background:var(--surface,#172130);color:var(--ink,#f2f4f7);border-color:var(--line,#344051);box-shadow:0 16px 40px #0005}
html[data-theme=dark] .tfr-switcher>nav :is(a,button):hover,html[data-theme=dark] .tfr-switcher>nav [aria-current]{background:var(--soft,#202b3c)}
@media(max-width:480px){.tfr-switcher>summary{gap:5px;padding:9px 7px}.tfr-switcher>summary>.tfr-flag{display:none}.tfr-switcher>nav{width:244px;max-height:60vh}}
@media(prefers-reduced-motion:no-preference){.tfr-switcher .tfr-chevron{transition:transform .15s ease}}

.tfr-switcher>nav .tfr-unavailable{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:10px 9px;box-sizing:border-box;border-radius:6px;opacity:.6;cursor:not-allowed;font-weight:500;text-align:left}.tfr-switcher>nav .tfr-unavailable .tfr-label{font-weight:400}
