::selection { background: #b7e7f7; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
  color: #14202b; background: #f6f9fb; line-height: 1.55; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: #0e6ba8; text-decoration: none; }
a:hover { color: #094a77; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #f7b500; outline-offset: 2px; border-radius: 4px;
}
.skip { position: absolute; left: -9999px; top: 0; background: #094a77; color: #fff; padding: 8px 14px; z-index: 99; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.mono { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* topbar */
.topbar { background: #fff; border-bottom: 1px solid #e3e9ee; position: sticky; top: 0; z-index: 50; }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 62px; }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -.5px; color: #0b2f49; text-decoration: none !important; white-space: nowrap; }
.logo span { color: #0e7490; font-weight: 500; }
.logo.small { font-size: 19px; margin-bottom: 6px; }
.mainnav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.mainnav a { color: #2c4257; font-weight: 600; font-size: 14.5px; padding: 8px 10px; border-radius: 8px; }
.mainnav a:hover { background: #eef6fa; text-decoration: none; }
.navmore { color: #0e7490 !important; }

/* hero */
.hero { padding: 38px 0 10px; }
.hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; letter-spacing: -.6px; max-width: 760px; }
.hero-sub { margin-top: 12px; font-size: 17.5px; color: #48606f; max-width: 720px; }
.h1 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.4px; margin-bottom: 14px; }
.h2 { font-size: 21px; margin: 34px 0 14px; letter-spacing: -.2px; }
.lede { color: #41586a; max-width: 800px; margin-bottom: 18px; }
.muted { color: #526779; }

/* cards */
.card { background: #fff; border: 1px solid #e3e9ee; border-radius: 14px; box-shadow: 0 1px 2px rgba(16,42,67,.05); }

/* converter */
.converter { margin: 22px 0 8px; padding: 18px 20px; }
.convert-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.field { flex: 1 1 160px; min-width: 140px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: #557086; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .3px; }
input[type=number], input[type=date], select {
  width: 100%; padding: 13px 12px; font-size: 17px; border: 1.5px solid #cdd9e2; border-radius: 10px;
  background: #fff; color: #14202b; font-family: inherit; font-variant-numeric: tabular-nums;
}
input[type=number]:focus, input[type=date]:focus, select:focus { border-color: #0e7490; }
.swap {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #cdd9e2; background: #f4fafc;
  font-size: 20px; cursor: pointer; color: #0e7490; flex: 0 0 auto; align-self: center; margin-bottom: 1px;
}
.swap:hover { background: #e5f3f8; }
.swap.wide { width: auto; border-radius: 10px; padding: 0 16px; font-size: 15px; font-weight: 700; }
.cta {
  background: #0e7490; border: 0; color: #fff; font-weight: 700; font-size: 16.5px;
  padding: 13px 22px; border-radius: 10px; cursor: pointer; font-family: inherit;
}
.cta:hover { background: #0b5f77; }
.source-line { margin-top: 12px; font-size: 13px; color: #526779; }

/* grids */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.pair, .cur {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff;
  border: 1px solid #e3e9ee; border-radius: 13px; color: inherit; text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.pair:hover, .cur:hover { border-color: #8fc6da; box-shadow: 0 4px 14px rgba(14,116,144,.10); }
.pair-name, .cur-name { font-weight: 700; font-size: 15.5px; }
.pair-rate, .cur-rate { font-size: 19px; font-weight: 800; color: #0b2f49; font-variant-numeric: tabular-nums; }
.cur .cur-rate { color: #0e7490; }
.ch { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ch.up { color: #15803d; }
.ch.down { color: #dc2626; }
.up { color: #15803d; }
.down { color: #dc2626; }
.more-link { margin-top: 16px; }
.plain-link { font-weight: 700; }

/* result */
.convert-box { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; padding: 16px 18px; margin-bottom: 14px; }
.result-card { padding: 22px; margin-bottom: 8px; }
.result-amount { font-size: clamp(30px, 5vw, 44px); font-weight: 800; color: #0b2f49; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.result-sub { margin-top: 6px; color: #48606f; font-size: 16px; font-variant-numeric: tabular-nums; }
.rate-line { margin-top: 12px; font-size: 15.5px; color: #33506a; font-variant-numeric: tabular-nums; }
.rate-date { margin-top: 8px; font-size: 13px; color: #526779; }

/* stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.stat { padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.stat-l { font-size: 12.5px; font-weight: 700; color: #557086; text-transform: uppercase; letter-spacing: .3px; }
.stat-v { font-size: 21px; font-weight: 800; color: #0b2f49; font-variant-numeric: tabular-nums; }
.stat-note { font-size: 11.5px; color: #526779; font-weight: 500; }

/* table */
.table-scroll { overflow-x: auto; border-radius: 14px; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.rate-table th, .rate-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #edf2f6; white-space: nowrap; }
.rate-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .3px; color: #557086; background: #fbfdfe; }
.rate-table tbody th { font-weight: 600; color: #22405a; }
.rate-table tbody tr:hover { background: #f6fafc; }
.rate-table a { font-weight: 600; }
.tbl-note { font-size: 13px; color: #526779; margin-top: 8px; }
.amount-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; }
.amount-form label { font-size: 13.5px; font-weight: 700; color: #557086; width: 100%; }
.amount-form input { max-width: 220px; }

/* chart */
.chart-card { padding: 16px 18px 12px; margin: 18px 0; }
.chart-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.chart-title { font-weight: 700; font-size: 15.5px; color: #33506a; }
.fx-chart { width: 100%; height: auto; display: block; margin-top: 8px; }
.chart-foot { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: #41586a; margin-top: 6px; font-variant-numeric: tabular-nums; }
.chart-foot strong { color: #0b2f49; }
.points { color: #526779; font-size: 12.5px; }

/* period tabs */
.period-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px; margin: 14px 0; border-radius: 14px; }
.tab { padding: 9px 16px; border-radius: 9px; font-weight: 700; font-size: 14.5px; color: #33506a; }
.tab:hover { background: #eef6fa; text-decoration: none; }
.tab.active { background: #0e7490; color: #fff; }

/* currency page layout */
.currency-page { padding: 30px 0 20px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; margin-top: 24px; }
.links-card, .quick-facts, .cross-short { padding: 18px; margin-bottom: 14px; }
.links-card h3, .quick-facts h3, .cross-short h3 { font-size: 15px; margin-bottom: 10px; color: #33506a; }
.links-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.links-card a, .quick-facts a { font-weight: 600; font-size: 14.5px; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 14.5px; }
dt { color: #557086; font-weight: 600; }
dd { color: #14202b; }
.peg-note { padding: 13px 16px; margin: 14px 0; font-size: 14.5px; color: #6a5412; background: #fff9e8; border-color: #f0e2ac; border-radius: 10px; }
.table-legend { margin-top: 12px; font-size: 14px; color: #41586a; }
.chunk { margin-top: 30px; }
.chunk p { max-width: 860px; margin-bottom: 10px; color: #33485c; }

/* trust */
.trust { margin-top: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.trust-grid > div { padding: 4px 2px; }
.trust-grid h3 { font-size: 16.5px; margin-bottom: 6px; color: #0b2f49; }
.trust-grid p { font-size: 14.5px; color: #41586a; }

/* static pages */
.prose { max-width: 780px; padding: 30px 0 40px; }
.prose p, .prose li { margin-bottom: 12px; color: #33485c; }
.prose ul { padding-left: 22px; margin-bottom: 12px; }
.prose h2 { margin: 26px 0 10px; font-size: 20px; }

/* footer */
.footer { background: #0c2f45; color: #c8dbe8; margin-top: 54px; padding: 38px 0 26px; }
.footer a { color: #c8dbe8; }
.footer a:hover { color: #fff; }
.footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: #8fb3c9; margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; }
.fineprint { margin-top: 28px; font-size: 13px; color: #8fb3c9; border-top: 1px solid #1d465f; padding-top: 16px; }
.logo:link { text-decoration: none !important; }

@media (max-width: 860px) {
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .rate-table { min-width: 520px; }
}
@media (max-width: 600px) {
  .topbar-in { flex-wrap: wrap; height: auto; padding: 10px 20px; gap: 6px 12px; }
  .mainnav { margin-left: 0; }
  .mainnav a { padding: 6px 8px; font-size: 13.5px; }
  .hero { padding-top: 26px; }
  .convert-form { gap: 8px; }
  .field { min-width: 100%; }
  .swap { width: 52px; height: 44px; }
  .cta { width: 100%; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* Calm, compact currency workspace; no external fonts or image downloads. */
body { background: #f4f7f8; }
.topbar { position: relative; }
.topbar-in { height: 76px; }
.logo { font-size: 28px; letter-spacing: -1px; }
.mainnav a { min-height: 44px; display: inline-flex; align-items: center; }
.freshness { border-bottom: 1px solid #dbe5e8; padding: 12px 0; margin: 0; color: #4c6170; }
.hero { padding: 36px 0 12px; }
.eyebrow { color: #0b667c; text-transform: uppercase; letter-spacing: 1.4px; font-size: 11px; font-weight: 800; margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -1.8px; line-height: 1.08; }
.hero h1 span { color: #0b7188; }
.hero-sub { max-width: 650px; font-size: 17px; line-height: 1.6; }
.converter { border-top: 4px solid #0e7490; padding: 24px; box-shadow: 0 12px 32px #123b4a0a; margin-top: 20px; }
.converter-heading { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 20px; }
.converter-heading h2 { font-size: 18px; letter-spacing: -.3px; }
.converter-heading > span { font-size: 12px; color: #526779; }
.convert-form { display: grid; grid-template-columns: .8fr 1fr 44px 1fr auto; gap: 12px; }
.convert-form .field { min-width: 0; }
.convert-form .swap { width: 44px; height: 48px; align-self: end; }
.cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
a.cta { color: #fff; }
a.cta:hover { text-decoration: none; color: #fff; }
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pair, .cur { position: relative; padding: 18px; gap: 7px; }
.pair-rate, .cur-rate { font-size: 23px; font-weight: 750; letter-spacing: -.5px; }
.pair-name, .cur-name { font-size: 14px; }
.pair:hover, .cur:hover { border-color: #0e7490; }
.section-intro { margin: -6px 0 18px; font-size: 14px; color: #526779; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; padding-top: 18px; color: #526779; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.learn-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; margin-top: 38px; border-radius: 16px; background: #e7f1f2; border: 1px solid #cbdfe3; }
.learn-banner h2 { font-size: 24px; letter-spacing: -.6px; line-height: 1.3; }
.learn-banner p:not(.eyebrow) { margin-top: 10px; max-width: 580px; color: #41586a; }
.learn-banner .cta { white-space: nowrap; }
.faq details { border-bottom: 1px solid #d6e1e6; }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 650; }
.faq details p { max-width: 780px; color: #41586a; padding: 0 0 20px; }
summary:focus-visible { outline: 3px solid #0e7490; outline-offset: 4px; }
.prose a, .chunk p a, .faq p a { text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 800px; }
.prose h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
.prose h2 { font-size: 23px; margin-top: 34px; }
.prose .guide-nav { list-style: none; padding: 20px; border: 1px solid #d5e3e8; border-radius: 12px; background: white; }
.example { padding: 22px; margin: 18px 0; border-left: 4px solid #0e7490; background: #eaf3f5; border-radius: 0 10px 10px 0; }
.example p:last-child { margin-bottom: 0; }
.footer .logo { color: #fff; }
.footer .logo span { color: #a1dbe5; }
.stat-v.up { color: #15803d; }
.stat-v.down { color: #c52222; }
@media (max-width: 900px) {
 .convert-form { grid-template-columns: 1fr 44px 1fr; }
 .convert-form .field:first-child { grid-column: 1 / -1; }
 .convert-form .cta { grid-column: 1 / -1; }
 .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
 .wrap { padding-left: 18px; padding-right: 18px; }
 .topbar-in { height: auto; padding-top: 14px; padding-bottom: 7px; gap: 4px; }
 .logo { font-size: 25px; }
 .mainnav { width: 100%; gap: 0; justify-content: space-between; flex-wrap: nowrap; }
 .mainnav a { font-size: 12px; padding: 6px 4px; }
 .freshness { font-size: 11px; padding: 9px 0; }
 .hero { padding-top: 24px; }
 .hero h1 { font-size: clamp(29px, 8.5vw, 38px); letter-spacing: -1.2px; }
 .hero-sub { font-size: 15px; margin-top: 12px; }
 .eyebrow { font-size: 10px; letter-spacing: 1px; }
 .converter { padding: 16px; margin-top: 12px; }
 .converter-heading { margin-bottom: 14px; flex-wrap: wrap; gap: 3px; }
 .converter-heading h2 { font-size: 17px; }
 .convert-form { grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr); gap: 10px 6px; }
 .convert-form .field { min-width: 0; }
 .convert-form .swap { width: 38px; }
 .convert-form select { padding-left: 7px; padding-right: 0; font-size: 16px; }
 .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 .pair, .cur { padding: 14px 12px; }
 .pair-name, .cur-name { font-size: 13px; }
 .pair-rate, .cur-rate { font-size: 20px; }
 .learn-banner { flex-direction: column; align-items: stretch; padding: 22px; }
 .learn-banner h2 { font-size: 22px; }
 .h2 { font-size: 20px; }
 .breadcrumbs { font-size: 12px; }
 .currency-page { padding-top: 20px; }
 .result-amount { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
}
.logo { display: inline-flex; align-items: center; gap: 0; }
.logo img { display: inline-block; width: 36px; height: 36px; margin-right: 10px; }
.region-panel { margin-top: 16px; padding: 14px 0; border-bottom: 1px solid #dbe5e8; }
.region-prompt { min-height: 74px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; font-size: 13px; font-weight: 600; gap: 4px; }
.region-actions { display: flex; gap: 12px; align-items: center; }
.region-actions[hidden] { display: none; }
.region-actions a, .region-actions button { font: inherit; min-height: 36px; border: 0; border-radius: 6px; cursor: pointer; padding: 7px 12px; }
.region-actions a { background: #0e7490; color: #fff; }
.region-actions button { background: #e2eaed; color: #243f50; }
.region-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; }
.region-links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
.region-links a[aria-current] { font-weight: 800; color: #163b4d; }
.market-result { font-size: clamp(19px, 3vw, 26px); margin-top: 22px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.market-result span { color: #526779; padding: 0 7px; }
.market-result strong { color: #0b7188; }

.source-line a { text-decoration: underline; text-underline-offset: 3px; }

.hero { padding-top: 24px; }
.hero h1 { font-size: clamp(29px, 3.5vw, 40px); letter-spacing: -1.2px; }
.hero-sub { max-width: 850px; font-size: 16px; }
.region-prompt { min-height: 42px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) {
 .region-prompt { min-height: 74px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
 .hero-sub { font-size: 15px; }
}

/* Footer reaches the viewport bottom without overlaying page content. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main.wrap { flex: 1 0 auto; width: 100%; }
body > .topbar, body > .footer { flex-shrink: 0; }

/* Accessible, lightweight contact form — no third-party scripts. */
.contact-intro { max-width: 730px; margin: 24px 0; }
.contact-intro h1 { font-size: clamp(30px, 5vw, 42px); margin: 10px 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; margin: 24px 0 40px; align-items: start; }
.contact-form { padding: 28px; }
.contact-form label { display: block; font-weight: 700; margin: 18px 0 7px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #8ba0ae; border-radius: 8px; background: #fff; color: #172c3a; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form :is(input,select,textarea):focus-visible { outline: 3px solid #0e7490; outline-offset: 2px; }
.contact-form [aria-invalid=true] { border-color: #a52626; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-hint { font-size: 14px; color: #475e6c; margin: 12px 0; }
.contact-hint a, .contact-aside a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form .btn { min-height: 48px; margin-top: 12px; padding: 12px 22px; border: 0; border-radius: 8px; background: #0e7490; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.contact-form .btn:hover { background: #095c73; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-success, .contact-error { padding: 16px; border-radius: 8px; margin-bottom: 20px; }
.contact-success { background: #e1f3e9; color: #14532d; border: 1px solid #76ad8d; }
.contact-error { background: #fff0f0; color: #922323; border: 1px solid #d98e8e; }
.contact-error ul { margin: 8px 0 0; padding-left: 22px; }
.contact-aside h2 { font-size: 22px; margin: 16px 0; }
.contact-aside h3 { font-size: 17px; margin: 26px 0 8px; }
.contact-aside p { margin: 12px 0; }
@media(max-width: 700px) { .contact-layout, .contact-fields { grid-template-columns: 1fr; gap: 8px; } .contact-form { padding: 20px; } .contact-aside { padding: 8px 4px; } }

/* A little colour, a clear view of the numbers. */
:root { --vx-paper: #fcfbf7; --vx-teal: #0b7180; --vx-line: #dce7e2; }
body { background: radial-gradient(ellipse 650px 400px at 95% 180px, #e9f4ee 0%, transparent 100%), var(--vx-paper); }
.topbar { background: #fffefb; border-bottom-color: var(--vx-line); }
.mainnav a:hover { background: #e5f2ec; color: #154e4e; }
.logo img { border-radius: 11px; box-shadow: 3px 3px 0 #d5e9df; }
.hero, .contact-intro { position: relative; }
.currency-art { display: none; pointer-events: none; }
.hero h1 span { color: var(--vx-teal); text-decoration: underline; text-decoration-color: #e5c56e; text-decoration-thickness: 4px; text-underline-offset: 7px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: #34836c; border-radius: 50%; flex-shrink: 0; }
.converter, .contact-form { border-radius: 20px; border-color: #c5dcd4; box-shadow: 0 10px 30px #194c3e08, 5px 5px 0 #e5eee7; }
.converter { border-top: 4px solid #24867c; background: linear-gradient(115deg, #f0f8f3, #fff 60%); }
.converter-heading > span { background: #e0f0e7; border-radius: 20px; padding: 4px 10px; color: #295b4e; }
.swap { background: #f2edfb; border-color: #d4c7e7; color: #62508c; }
.swap:hover { background: #e7ddf7; }
.cta, .contact-form .btn { background: #086c78; box-shadow: 0 3px 0 #064f59; border-radius: 12px; }
.cta:hover, .contact-form .btn:hover { background: #075c66; }
.h2 { display: flex; align-items: center; gap: 10px; }
.h2::before { content: ''; width: 6px; height: 22px; flex-shrink: 0; border-radius: 8px; background: #d2ac60; }
.pair, .cur { border-color: var(--vx-line); border-radius: 16px; }
.pair:nth-child(4n+1) { background: #edf7f1; border-color: #cfe3d7; }
.pair:nth-child(4n+2) { background: #fdf1e8; border-color: #efddcd; }
.pair:nth-child(4n+3) { background: #f2eefb; border-color: #e1d9ee; }
.pair:nth-child(4n) { background: #f9f4e3; border-color: #e8dfc4; }
.cur { border-top: 3px solid #d2e8de; }
.pair:hover, .cur:hover { border-color: #438f85; box-shadow: 0 5px 16px #1f5b4a12; }
/* Green/red remain reserved for directional rate changes, never decorative badges. */
.trust-grid > div { padding: 22px; border-radius: 18px; border: 1px solid #dce8e0; background: #edf6f0; }
.trust-grid > div:nth-child(2) { background: #f2eef9; border-color: #e4dcef; }
.trust-grid > div:nth-child(3) { background: #fff1e6; border-color: #eedfce; }
.trust-grid > div:nth-child(4) { background: #faf5e4; border-color: #ece2c6; }
.learn-banner { border-radius: 22px; border-color: #e4d5bb; background: radial-gradient(circle at 90% 120%, #f3d7bd 0 85px, transparent 86px), #faf0dc; }
.faq details { background: #fffefb; border: 1px solid var(--vx-line); border-radius: 12px; margin-bottom: 8px; padding: 0 18px; }
.faq details[open] { border-color: #95bbb0; background: #f4f9f5; }
.stat { border-top: 3px solid #c5ded5; }
.result-card { background: linear-gradient(120deg, #edf7f1, #fff 75%); border-color: #c5dcd4; }
.table-scroll { border-color: var(--vx-line); }
.rate-table thead th { background: #edf5ef; color: #385d52; }
.contact-aside { background: #eaf4ed; border: 1px solid #cfe1d5; border-radius: 22px 22px 48px 22px; padding: 22px; }
.contact-aside h2 { margin-top: 0; }
.contact-intro h1 { color: #173e42; }
.prose > h1 { border-left: 5px solid #ddbe76; padding-left: 16px; }
.footer { background: radial-gradient(ellipse at 100% 0, #1d5353, transparent 65%), #10353f; border-top: 4px solid #8bb9a7; }
.footer h3, .fineprint { color: #a9c8ce; }
.footer .logo::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #e7bc78; margin-left: 7px; align-self: center; }
@media(min-width: 1000px) {
 .hero { padding-right: 240px; min-height: 150px; }
 .currency-art { display: block; position: absolute; right: 0; top: 6px; width: 220px; height: 143px; }
 .contact-intro { max-width: none; padding-right: 260px; min-height: 160px; }
 .contact-intro .currency-art { top: 0; }
}
@media(max-width: 700px) {
 .contact-aside { padding: 22px; margin-top: 18px; }
 .converter-heading > span { font-size: 11px; }
 .trust-grid > div { padding: 18px; }
 .hero h1 span { text-decoration-thickness: 3px; text-underline-offset: 5px; }
}
/* Preserve readable directional changes on every pastel pair card. */
.ch.up { color: #116530; }
.ch.down { color: #b42323; }

/* Optional analytics; controls remain equally accessible. */
.analytics-settings-wrap{padding-block:0 20px}.privacy-settings{border:0;background:none;padding:8px 0;text-decoration:underline;font:inherit;color:var(--muted);min-height:44px;cursor:pointer}.consent-panel{position:fixed;z-index:50;bottom:16px;right:16px;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:20px;background:#fff;border:1px solid #b4d4cd;border-radius:16px;box-shadow:0 8px 35px #183b3526;color:#183b35}.consent-panel[hidden]{display:none}.consent-panel p{font-size:14px;line-height:1.55;margin:10px 0}.consent-panel a{text-decoration:underline}.consent-panel>div{display:flex;gap:10px;flex-wrap:wrap}.consent-panel button{padding:10px 14px;border:1px solid #789c93;border-radius:8px;min-height:44px;font:inherit;font-size:14px;background:#eff8f4;color:#183b35;cursor:pointer;flex:1}.consent-panel #consent-close{flex-basis:100%}.consent-panel button[hidden]{display:none}

.history-comparison { padding: 18px; }
.history-comparison .h2 { margin-top: 0; }

/* Search inside the currency menu, without a framework or remote lookup. */
.currency-picker{position:relative;min-width:0}
.currency-trigger{display:block;width:100%;min-height:50px;padding:12px 30px 12px 12px;border:1px solid #cbdbe3;border-radius:10px;background:#fff;color:#14202b;font:inherit;font-size:15px;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.currency-picker::after{content:'⌄';position:absolute;right:12px;top:12px;pointer-events:none;color:#325b59}
.currency-panel{position:absolute;z-index:60;top:calc(100% + 6px);left:0;width:max(100%,280px);max-width:calc(100vw - 48px);padding:8px;background:#fff;border:1px solid #96beb5;border-radius:12px;box-shadow:0 12px 30px #173f3529}
.currency-panel[hidden],.currency-empty[hidden]{display:none}
.currency-search{display:block;width:100%;min-height:44px;border:1px solid #93b7ad;border-radius:7px;padding:10px;font:inherit;font-size:16px;color:#14202b;background:#fff}
.currency-options{max-height:min(260px,35dvh);overflow-y:auto;overscroll-behavior:contain;margin-top:8px}
.currency-option{padding:11px 10px;min-height:44px;border-radius:6px;font-size:15px;line-height:1.4;cursor:pointer;overflow-wrap:anywhere}
.currency-option[aria-selected=true]{font-weight:700;background:#e4f3ed}
.currency-option:hover,.currency-option.is-active{background:#cfece5;color:#123c34}
.currency-empty{padding:14px 10px;color:#48606f;font-size:14px}
.field:has(select[name=to]) .currency-panel{left:auto;right:0}
@media(max-width:600px){.currency-trigger{font-size:16px;padding-left:8px}.currency-panel{width:max(100%,260px)}}
