/* Dorax Finance — the exchange rate, the owner's v6 (features/ahead/rates.js: ratesDrawer; owner, 2026-11-06: "puedes reducir su tamaño y hazlo un
   pop-up, no es necesario que ocupe la pantalla completa"). A small card over the dimmed screen, in its upper part so the keyboard never covers it:
   its name and the round close, one line on what the rate does, a field per currency with its symbol in front, and Save under them. Same on a
   computer, in the middle. */
@keyframes fxp-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fxp-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px) scale(.98); } }
:root #overlay > aside.drawer.fxpop {
  position: fixed !important; inset: auto !important; top: calc(var(--safe-t, 0px) + max(56px, 11vh)) !important; left: 50% !important; right: auto !important; bottom: auto !important;
  width: min(400px, calc(100vw - 32px)) !important; height: auto !important; max-height: calc(100dvh - var(--safe-t, 0px) - 80px) !important; margin: 0 !important; padding: 0 !important;
  transform: translateX(-50%); box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden;
  border: 0; border-radius: 28px; background: #121414; box-shadow: 0 0 0 1px rgba(239, 241, 246, .1), 0 30px 80px -20px rgba(0, 0, 0, .85); color: #EFF1F6; }
:root #overlay.in > aside.drawer.fxpop { animation: fxp-in .26s cubic-bezier(.2, .9, .3, 1.1) both; translate: -50% 0; transform: none; }
:root #overlay.out > aside.drawer.fxpop { animation: fxp-out .16s cubic-bezier(.4, 0, .8, .4) both; translate: -50% 0; transform: none; }
:root #overlay:not(.in):not(.out) > aside.drawer.fxpop { translate: -50% 0; transform: none; }
@media (prefers-reduced-motion: reduce) { :root #overlay.in > aside.drawer.fxpop, :root #overlay.out > aside.drawer.fxpop { animation: none; } }
:root #overlay:has(> aside.drawer.fxpop) > .scrim { background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
:root #overlay > aside.drawer.fxpop > .grab { display: none; }
:root #overlay > aside.drawer.fxpop > header { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 16px 14px 0 22px; border: 0; background: none; }
:root #overlay > aside.drawer.fxpop > header .dr-back-slot:empty { display: none; }
:root #overlay > aside.drawer.fxpop > header h2 { flex: 1 1 auto; min-width: 0; margin: 0; color: #EFF1F6; font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
:root #overlay > aside.drawer.fxpop > header [data-a="close"] { all: unset; box-sizing: border-box; flex: none; cursor: pointer; -webkit-tap-highlight-color: transparent; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(239, 241, 246, .08); box-shadow: inset 0 0 0 1px rgba(239, 241, 246, .14); color: #EFF1F6; }
:root #overlay > aside.drawer.fxpop > header [data-a="close"] svg { width: 16px; height: 16px; }
:root #overlay > aside.drawer.fxpop > header [data-a="close"]:focus-visible { outline: 2px solid #9FD182; outline-offset: 3px; }
:root #overlay > aside.drawer.fxpop > .body.fxp { flex: 0 1 auto; display: flex; flex-direction: column; gap: 14px; overflow: auto; padding: 6px 22px 22px; background: none; color: #EFF1F6; }
:root #overlay .fxp .fxp-lead { margin: 0; color: rgba(239, 241, 246, .6); font-size: 14px; line-height: 1.45; }
:root #overlay .fxp .fxp-f { display: flex; flex-direction: column; gap: 8px; margin: 0; }
:root #overlay .fxp .fxp-l { color: rgba(239, 241, 246, .6); font-size: 13px; font-weight: 500; }
:root #overlay .fxp .fxp-in { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 16px; border-radius: 18px; background: rgba(239, 241, 246, .06); box-sizing: border-box; }
:root #overlay .fxp .fxp-in:focus-within { box-shadow: inset 0 0 0 2px #9FD182; }
:root #overlay .fxp .fxp-in b { flex: none; color: rgba(239, 241, 246, .6); font-size: 20px; font-weight: 500; }
:root #overlay .fxp .fxp-in input { all: unset; flex: 1 1 auto; min-width: 0; height: 54px; color: #EFF1F6; font-size: 24px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
:root #overlay .fxp .fxp-in input::placeholder { color: rgba(239, 241, 246, .3); }
:root #overlay .fxp .fxp-go { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; display: grid; place-items: center; min-height: 52px; margin-top: 4px; border-radius: 999px; background: #9FD182; color: #101212; font-size: 16px; font-weight: 500; text-align: center; transition: transform .2s; }
:root #overlay .fxp .fxp-go:active { transform: scale(.98); }
:root #overlay .fxp .fxp-go:focus-visible { outline: 2px solid #9FD182; outline-offset: 3px; }
