/* FAHE Currency — hardened against theme button/input styles */
:root{--fcc-main:#0B2545;--fcc-main2:#13315c;--fcc-acc:#F9A825;--fcc-soft:#EEF3FA;--fcc-line:#dde5ef;--fcc-txt:#1b2430;--fcc-mute:#6b7787}
.fahe-usd{white-space:nowrap}.fahe-usd-hint{opacity:.6;font-size:.8em}
html.fahe-cc-lock{overflow:hidden}
html body button.fahe-cc-float,html body button.fahe-cc-inline{all:unset!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;gap:8px!important;background:var(--fcc-main)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:600 14px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;padding:11px 16px!important;border-radius:999px!important;cursor:pointer!important;border:2px solid rgba(255,255,255,.18)!important;box-shadow:0 8px 24px rgba(11,37,69,.32)!important;text-align:left!important;letter-spacing:.02em!important;text-transform:none!important}
html body button.fahe-cc-float{position:fixed!important;bottom:18px!important;z-index:99990!important}
html body button.fahe-cc-float--left{left:16px!important}html body button.fahe-cc-float--right{right:16px!important}
html body button.fahe-cc-float:hover,html body button.fahe-cc-inline:hover,html body button.fahe-cc-float:focus-visible,html body button.fahe-cc-inline:focus-visible{background:var(--fcc-main2)!important;outline:3px solid var(--fcc-acc)!important;outline-offset:2px!important}
button.fahe-cc-float *,button.fahe-cc-inline *{color:#fff!important;-webkit-text-fill-color:#fff!important;font:inherit!important}
button.fahe-cc-float b,button.fahe-cc-inline b{font-weight:700!important;font-size:14px!important}
button.fahe-cc-float .fahe-cc-glyph,button.fahe-cc-inline .fahe-cc-glyph{font-size:16px!important}
button.fahe-cc-float .fahe-cc-caret,button.fahe-cc-inline .fahe-cc-caret{font-size:11px!important;opacity:.75}

.fahe-cc-pop{position:fixed;inset:0;z-index:100000;background:rgba(8,20,38,.6);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:16px;text-align:left}
.fahe-cc-pop[hidden]{display:none!important}
.fahe-cc-box{background:#fff;color:var(--fcc-txt);border-radius:18px;width:100%;max-width:440px;max-height:82vh;display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.35);font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:left}
.fahe-cc-head{background:linear-gradient(135deg,#0B2545,#1c4a85);color:#fff;padding:18px 54px 16px 20px}
.fahe-cc-box h3.fahe-cc-title{margin:0!important;padding:0!important;font:700 19px/1.2 system-ui,sans-serif!important;color:#fff!important;text-align:left!important;letter-spacing:0!important;text-transform:none!important}
.fahe-cc-head p{margin:4px 0 0;color:#c9d7ea;font-size:12.5px}
html body button.fahe-cc-x{all:unset!important;position:absolute!important;top:12px!important;right:12px!important;width:32px!important;height:32px!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:400 22px/32px system-ui!important;text-align:center!important;cursor:pointer!important;box-sizing:border-box!important}
html body button.fahe-cc-x:hover{background:rgba(255,255,255,.3)!important}
.fahe-cc-searchwrap{padding:14px 16px 6px;background:#fff}
html body input.fahe-cc-q{all:unset!important;display:block!important;box-sizing:border-box!important;width:100%!important;background:var(--fcc-soft)!important;color:var(--fcc-txt)!important;-webkit-text-fill-color:var(--fcc-txt)!important;border:1.5px solid transparent!important;border-radius:12px!important;padding:12px 14px!important;font:400 16px/1.2 system-ui,sans-serif!important}
html body input.fahe-cc-q:focus{background:#fff!important;border-color:var(--fcc-main)!important;box-shadow:0 0 0 3px rgba(11,37,69,.12)!important}
.fahe-cc-list{overflow-y:auto;flex:1;min-height:140px;padding:4px 10px 10px;-webkit-overflow-scrolling:touch}
.fahe-cc-sec{font:700 11px/1 system-ui!important;letter-spacing:.08em;text-transform:uppercase;color:var(--fcc-mute);padding:12px 8px 6px}
html body button.fahe-cc-item{all:unset!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:52px 1fr auto!important;align-items:center!important;gap:10px!important;width:100%!important;padding:10px 10px!important;border-radius:10px!important;cursor:pointer!important;color:var(--fcc-txt)!important;-webkit-text-fill-color:var(--fcc-txt)!important;font:400 14px/1.3 system-ui,sans-serif!important;text-align:left!important}
html body button.fahe-cc-item:hover,html body button.fahe-cc-item:focus-visible{background:var(--fcc-soft)!important}
html body button.fahe-cc-item.is-on{background:#FFF4D6!important;box-shadow:inset 3px 0 0 var(--fcc-acc)!important}
button.fahe-cc-item b{font-weight:700!important;color:var(--fcc-main)!important;-webkit-text-fill-color:var(--fcc-main)!important;font-size:14px!important}
button.fahe-cc-item span{color:var(--fcc-txt)!important;-webkit-text-fill-color:var(--fcc-txt)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.fahe-cc-item i{font-style:normal!important;color:var(--fcc-mute)!important;-webkit-text-fill-color:var(--fcc-mute)!important;font-size:13px!important;min-width:30px;text-align:right}
.fahe-cc-note{margin:0!important;padding:11px 18px!important;background:var(--fcc-soft);border-top:1px solid var(--fcc-line);font-size:12px!important;color:var(--fcc-mute)!important;text-align:left!important}
@media(max-width:600px){.fahe-cc-pop{align-items:flex-end;padding:0}.fahe-cc-box{max-width:none;border-radius:20px 20px 0 0;max-height:88vh}}

.fahe-cc-calc{background:#fff;border:1px solid var(--fcc-line);border-radius:16px;padding:18px;text-align:left;max-width:540px;box-shadow:0 6px 20px rgba(11,37,69,.08)}
.fahe-cc-calc h4{margin:0 0 12px!important;color:var(--fcc-main)!important;font:700 17px/1.2 system-ui!important;text-align:left!important}
.fahe-cc-row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.fahe-cc-row label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--fcc-mute);flex:1 1 130px}
.fahe-cc-row input,.fahe-cc-row select{padding:11px!important;border:1.5px solid var(--fcc-line)!important;border-radius:10px!important;font-size:16px!important;width:100%!important;box-sizing:border-box!important;background:#fff!important;color:var(--fcc-txt)!important;height:auto!important}
html body button.fahe-cc-swap{all:unset!important;background:var(--fcc-main)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:10px!important;padding:11px 14px!important;cursor:pointer!important;font:600 16px/1 system-ui!important}
.fahe-cc-out{font-size:28px;font-weight:800;color:var(--fcc-main);margin-top:14px}
.fahe-cc-sub{color:var(--fcc-mute)}
