.fx-history{margin-top:20px;padding:18px;border:1px solid #d6bd86;border-radius:12px;background:#fffcf5;color:#102438;min-width:0;box-sizing:border-box;scroll-margin-top:115px}.fx-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.fx-history-head h3{margin:0}.fx-history .fx-reverse{background:transparent;color:#102438;border:1px solid #d6bd86;padding:7px 10px;font-size:.8rem;white-space:normal}.fx-history-pair{font:700 1.6rem Georgia,serif;color:#102438;margin:10px 0}.fx-periods,.fx-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.fx-periods button{min-width:0;padding:8px 3px;background:#fff;color:#102438;border:1px solid #d6bd86;white-space:normal;font-size:.85rem}.fx-periods button[aria-pressed=true]{background:#102438;color:#fff4dc;border-color:#102438}.fx-history-stats{margin-top:12px}.fx-history-stats>div{background:#f4efe4;border-radius:6px;padding:9px;min-width:0}.fx-history-stats small,.fx-history-stats strong{display:block;overflow-wrap:anywhere}.fx-history-stats small{font-size:.77rem;color:#586373}.fx-history-stats strong{font:700 1.15rem Georgia,serif;margin-top:3px}.fx-history-chart svg{display:block;width:100%;height:auto}.fx-history-status:empty{display:none}.fx-history-scrub{width:100%;accent-color:#9d7730;margin:6px 0}.fx-history-detail,.fx-history-span{display:block;text-align:center;overflow-wrap:anywhere}.fx-history-detail{font-weight:600;margin:6px 0}.fx-history-span{color:#586373}.fx-history-link,.fx-history-freight,.fx-history-commodity{display:inline-block;margin:7px 6px 0 0;font-size:.83rem;color:#866326;text-decoration:underline}@media(max-width:780px){.fx-history{padding:12px}.fx-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-history-stats strong{font-size:1.04rem}.fx-history-chart svg text{font-size:17px}.fx-history-chart{margin-inline:-6px}.fx-history-detail{font-size:.83rem}}

/* Corporate theme overrides: distinguish the selected period and keep the reverse button legible. */
body.premium-global .fx-history .fx-reverse{background:#fffcf5!important;color:#102438!important;border:1px solid #b58a3d!important;box-shadow:none!important}
body.premium-global .fx-history .fx-periods button{background:#fff!important;color:#102438!important;border:1px solid #d6bd86!important;box-shadow:none!important}
body.premium-global .fx-history .fx-periods button[aria-pressed=true]{background:#102438!important;color:#fff4dc!important;border-color:#102438!important}
body.premium-global .fx-history .fx-periods button:focus-visible,body.premium-global .fx-history .fx-reverse:focus-visible{outline:2px solid #b58a3d;outline-offset:2px}
