:root{color-scheme:light;--ink:#222222;--muted:#666666;--link:#222222;--link-hover:#000000;--line:#dddddd;--soft:#f5f5f5;--focus:#555555;--notice:#c62828;--notice-bg:#f5f5f5;--error:#c62828}*{box-sizing:border-box}html{scroll-padding-top:18px}body{margin:0;background:#fff;color:var(--ink);font-family:var(--font-chinese);font-size:var(--font-size-body);line-height:var(--line-height-body);-webkit-text-size-adjust:100%}a{color:var(--link);text-decoration:none;text-underline-offset:3px}a:hover{text-decoration:underline;color:var(--link-hover)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}button,input,select{border-radius:3px}button{transition:background-color .12s,color .12s}button:active{filter:brightness(.94)}.site-shell{max-width:1048px;margin:0 auto;padding:0 24px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:93px;border-bottom:2px solid var(--link)}.site-brand{color:var(--link);font-size:27px;font-weight:750;letter-spacing:-.8px;white-space:nowrap;line-height:1.2}.site-brand:hover{text-decoration:none}.site-brand span{font-weight:600}.site-brand small{display:block;font-size:11px;font-weight:400;letter-spacing:1.2px;margin-top:6px;color:var(--muted)}.main-nav{display:flex;align-self:stretch;align-items:center;gap:30px;font-size:15px}.main-nav a{display:flex;min-height:44px;align-items:center}.main-nav [aria-current=page]{font-weight:650;color:var(--ink)}main{padding:30px 0 18px;min-height:calc(100vh - 280px)}.breadcrumbs{display:flex;flex-wrap:wrap;gap:11px;margin:17px 0 -13px;color:var(--muted);font-size:13px}.breadcrumbs+main{padding-top:30px}.page-heading{margin:0 0 24px}.home-heading{margin-bottom:23px}h1,h2,p{margin-top:0}h1{font-size:27px;font-weight:650;letter-spacing:.25px;line-height:1.5;margin-bottom:7px}h2{font-size:18px;font-weight:650;line-height:1.6;margin-bottom:13px}p{margin-bottom:12px}.intro{font-size:14px;color:var(--muted);margin:0}.popular{display:flex;align-items:flex-start;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:25px}.nav-label{flex-shrink:0;padding:4px 0;color:var(--muted);font-size:14px}.text-links{display:flex;flex-wrap:wrap;gap:1px 25px}.text-links a{padding:4px 0}.currency-code{font-size:12px;color:var(--muted);margin-left:7px;font-weight:400;font-family:Arial,sans-serif;letter-spacing:.2px}.converter{padding:0 0 24px;margin-bottom:26px;border-bottom:1px solid var(--line)}.converter h2{margin-bottom:13px}.converter-fields{display:flex;align-items:flex-end;gap:12px;max-width:900px}.field{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.field-amount{flex:.95}.field label{color:var(--muted);font-size:13px}.field input,.field select{height:43px;border:1px solid #999999;background:#fff;color:var(--ink);padding:0 11px;width:100%;min-width:0}.field input{font-variant-numeric:tabular-nums}.field select{padding-right:23px}.calculate-button{height:43px;min-width:89px;flex-shrink:0;border:1px solid var(--link);color:white;background:var(--link);padding:0 20px}.calculate-button:hover{background:var(--link-hover)}.swap-button{height:43px;width:58px;flex-shrink:0;border:0;background:transparent;color:var(--link);padding:0;font-size:12px}.swap-button:hover{background:var(--soft)}.swap-button span{font-size:16px;margin-left:2px}.swap-button[hidden]{display:none}.form-help{font-size:12px;color:var(--muted);margin:9px 0 0}.conversion-result{margin-top:18px;font-size:20px;line-height:1.6;overflow-wrap:anywhere}.conversion-result strong{font-weight:650;color:var(--ink)}.conversion-meta{font-size:13px;color:var(--muted);margin:4px 0 0;font-variant-numeric:tabular-nums}.form-error{font-size:13px;color:var(--error);margin:10px 0 0}.form-error[hidden]{display:none}section{margin-bottom:30px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 20px;margin-bottom:12px}.section-heading h2{margin-bottom:0}.section-heading>span,.section-heading>a{font-size:12px}.muted{color:var(--muted)}.section-intro{color:var(--muted);font-size:13px;margin:-5px 0 12px}.table-scroll{width:100%;overflow-x:auto;border-top:1px solid #aaaaaa;scrollbar-width:thin}table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.6;font-variant-numeric:tabular-nums}thead{background:var(--soft);color:#555555}th,td{padding:10px 15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}thead th{font-weight:500;font-size:12px;white-space:nowrap}tbody th{font-weight:400}tbody tr:hover{background:#fafafa}.numeric{text-align:right;font-family:Arial,"Microsoft YaHei",sans-serif;white-space:nowrap}.table-time{font-size:12px;color:var(--muted);white-space:nowrap}.rates-table{min-width:590px}.rates-table th:first-child{width:29%}.rates-table .table-time{width:24%}.quotes-table{min-width:810px}.quotes-table th,.quotes-table td{padding:11px 12px}.quotes-table th:first-child{min-width:140px}.amount-table{max-width:720px}.amount-table th,.amount-table td{width:33.33%}.data-note{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0 0}.data-note span+span{margin-left:13px}.empty{padding:24px 14px;color:var(--muted);font-size:14px}.currency-directory{padding-top:2px}.currency-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px}.currency-list a{display:block;padding:6px 0;overflow-wrap:anywhere}.cross-links{display:flex;flex-wrap:wrap;gap:8px 23px;font-size:13px;border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.cross-links .muted{margin-right:2px}.site-footer{border-top:1px solid var(--line);padding:22px 0 28px;margin-top:6px;font-size:12px;color:var(--muted)}.site-footer p{margin:0 0 6px}.site-footer a{color:var(--muted)}.link-separator{margin:0 11px;color:#999999}.pair-symbol{font-family:Arial,sans-serif;color:var(--muted);font-size:12px;margin-bottom:13px;letter-spacing:.7px}.pair-rate{font-size:23px;margin-bottom:3px;line-height:1.6;overflow-wrap:anywhere}.pair-rate strong{font-size:29px;font-weight:600}.reciprocal{font-size:14px;color:var(--muted);margin-bottom:10px}.pair-rate+.data-note{margin-top:12px}.pair-rate strong,.reciprocal{font-variant-numeric:tabular-nums}.notice{padding:9px 12px;border-left:3px solid #c62828;background:var(--notice-bg);color:var(--notice);font-size:13px;margin-bottom:20px}.quality-label{display:block;color:var(--notice);font-size:11px}.quote-issue{background:#fafafa}.bank-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 24px;padding-bottom:18px;border-bottom:1px solid var(--line)}.bank-list a{padding:7px 0}.prose{max-width:820px;font-size:14px}.prose section{margin-bottom:30px}.prose p{line-height:1.95;margin-bottom:12px}.prose h2{margin-top:24px}.definition-list{margin:0 0 18px}.definition-list>div{display:grid;grid-template-columns:150px 1fr;border-bottom:1px solid var(--line);padding:9px 0;gap:16px}.definition-list dt{color:var(--ink);font-weight:550}.definition-list dd{margin:0;color:var(--muted)}.eyebrow{font-family:Arial,sans-serif;font-size:13px;color:var(--muted);margin-bottom:5px}.skip-link{position:fixed;left:12px;top:-100px;padding:8px 16px;color:#fff;background:var(--link);z-index:20}.skip-link:focus{top:10px}.prose section[id]{scroll-margin-top:20px}@media(max-width:760px){body{font-size:var(--font-size-body)}.site-shell{padding:0 19px}.site-header{min-height:83px}.site-brand{font-size:24px}.main-nav{gap:20px;font-size:14px}main{padding-top:24px}h1{font-size:24px}h2{font-size:17px}.popular{gap:17px}.text-links{gap:1px 21px}.currency-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.bank-list{grid-template-columns:repeat(3,minmax(0,1fr))}.converter-fields{flex-wrap:wrap;gap:10px}.field-amount{flex-basis:calc(50% - 5px)}.field-amount+.field{flex-basis:calc(50% - 5px)}.converter-fields>.field:nth-of-type(3){flex:1}.swap-button{width:64px;order:4}.calculate-button{order:5;min-width:95px}.converter-fields>.field:nth-of-type(3){order:3}.converter .form-help{max-width:100%}.table-scroll{margin:0}.pair-rate{font-size:20px}.pair-rate strong{font-size:26px}.section-heading{margin-bottom:10px}th,td{padding:10px 13px}}@media(max-width:470px){.site-shell{padding:0 16px}.site-header{flex-wrap:wrap;gap:9px;padding:19px 0 8px;min-height:0}.site-brand{display:flex;align-items:baseline;font-size:25px;gap:0}.site-brand small{margin:0 0 0 13px;letter-spacing:.7px;font-size:11px}.main-nav{width:100%;justify-content:flex-start;gap:24px;font-size:13px}.main-nav a{min-height:38px}main{padding-top:23px}.page-heading{margin-bottom:20px}.popular{display:block;padding:9px 0 10px;margin-bottom:22px}.nav-label{display:block;font-size:12px;padding:0 0 3px}.text-links{gap:0 19px}.text-links a{padding:5px 0}.text-links .currency-code{font-size:11px;margin-left:5px}.converter{margin-bottom:24px;padding-bottom:23px}.converter-fields{gap:12px 10px}.field-amount{flex-basis:100%}.field-amount+.field{flex-basis:calc(50% - 34px)}.converter-fields>.field:nth-of-type(3){flex-basis:calc(50% - 34px);order:3}.swap-button{order:2;width:38px;font-size:0}.swap-button span{font-size:21px;margin:0}.calculate-button{width:100%;order:4;height:42px}.field input,.field select{height:44px}.form-help{font-size:11px;line-height:1.8}.conversion-result{font-size:18px;margin-top:16px}.conversion-meta{font-size:12px}.currency-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.currency-list a{padding:7px 0}.cross-links{gap:7px 19px}.cross-links>.muted{width:100%}.bank-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}.section-heading{display:block}.section-heading h2{margin-bottom:3px}.section-heading>span{font-size:11px}.rates-table{min-width:535px}.rates-table th,.rates-table td{padding:10px 12px}.data-note{font-size:11px}.data-note span+span{margin-left:8px}.pair-rate{font-size:18px}.pair-rate strong{font-size:25px}.reciprocal{font-size:13px}.amount-table{font-size:13px}.amount-table th,.amount-table td{padding:10px 9px}.amount-table thead th{font-size:11px}.definition-list>div{grid-template-columns:1fr;gap:3px;padding:10px 0}.definition-list dd{font-size:13px}.site-footer{padding-top:19px;font-size:11px}.prose{font-size:14px}.notice{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.site-shell{max-width:none}.main-nav,.converter,.popular,.skip-link{display:none}.table-scroll{overflow:visible}.site-footer{margin-top:20px}a{color:var(--ink)}.site-header{min-height:60px}.quotes-table{min-width:0;font-size:10px}.quotes-table th,.quotes-table td{padding:6px}}

.source-type{display:block;font-size:11px;color:var(--muted);font-weight:400}

/* Shared Chinese typography for every page and native form control. */
:root{
  --font-chinese:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Source Han Sans SC","Hiragino Sans GB",Arial,sans-serif;
  --font-size-body:16px;
  --line-height-body:1.75;
  --font-size-h1:26px;
  --font-size-h2:22px;
  --font-size-h3:18px;
  --line-height-heading:1.5;
}
@media(max-width:520px){:root{--font-size-h1:24px;--font-size-h2:20px}}

/* Shared typography: clear headings and compact, readable rate sentences. */
.text-page{
  --ink:#111;
  --muted:#666;
  --link:#222222;
  --link-hover:#000000;
  --line:#ccc;
  color:var(--ink);
  font-family:var(--font-chinese);
  font-size:var(--font-size-body);
  line-height:var(--line-height-body);
}
.text-page .site-shell{max-width:900px;padding:0 25px}
.text-page a{text-decoration:none}
.text-page a:hover{text-decoration:underline}
.text-page .site-header{min-height:84px;gap:16px;border-bottom:1px solid #ddd}
.text-page .site-brand{font-size:26px;font-weight:750;letter-spacing:-.6px}
.text-page .site-brand span{font-weight:650}
.text-page .site-brand small{font-family:Arial,sans-serif;font-size:11px;letter-spacing:.2px;margin-top:5px}
.text-page .main-nav{gap:22px;font-size:15px}
.text-page .main-nav a{min-height:44px;white-space:nowrap;flex-shrink:0}
.text-page .main-nav [aria-current=page]{font-weight:650;text-decoration:underline;text-underline-offset:5px}
.text-page main{padding:28px 0 20px;min-height:calc(100vh - 260px)}
.text-page .breadcrumbs{font-size:14px;gap:9px;margin:14px 0 -10px}
.text-page .breadcrumbs+main{padding-top:23px}
.text-page h1{font-size:var(--font-size-h1);font-weight:700;line-height:var(--line-height-heading);letter-spacing:0;margin:0 0 8px}
.text-page h2{font-size:var(--font-size-h2);font-weight:650;line-height:var(--line-height-heading);margin:0 0 12px}
.text-page p{margin:0 0 12px}
.text-page strong,.text-page .rate-number{font-weight:700;color:inherit}
.text-page .page-heading,.text-page .home-heading{margin:0 0 20px}
.text-page .intro,.text-page .section-intro{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 12px}
.text-page .text-article{max-width:none}
.text-page .reading-date{margin:0;font-size:15px;line-height:1.8;color:var(--muted)}
.text-page .weekday{color:inherit}
.text-page .weekday.weekend{color:var(--notice)}
.text-page .weekend-publication-note{color:var(--notice)}
.text-page .home-rates .rate-title-note{display:inline-block;white-space:nowrap}
.text-page .reference-times .reference-source{display:inline-block;white-space:nowrap}
.text-page .rate-paragraph{margin:0 0 9px;line-height:1.75;overflow-wrap:anywhere}
.text-page .rate-number{font-variant-numeric:tabular-nums}
.text-page .rate-paragraph strong{font-weight:700}
.text-page .quote-section{padding:0;margin:19px 0 24px}
.text-page .quote-label{font-size:inherit;font-weight:400;margin:0 0 12px}
.text-page .quote-section h2{margin-bottom:12px}
.text-page .text-section{margin:22px 0 26px}
.text-page .text-section h2{margin-bottom:12px}
.text-page .currency-info>p:not(.source-note),.text-page .banks-directory>.page-heading>p{font-size:var(--font-size-body);line-height:var(--line-height-body);color:var(--muted);text-indent:2em}
.text-page .banks-directory>.page-heading>p{text-indent:0}
.text-page .currency-info .currency-info-key{color:inherit;font-weight:inherit;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:var(--notice);text-decoration-thickness:1px;text-underline-offset:4px}
.text-page hr{width:88px;max-width:100%;height:0;margin:20px 0 16px;border:0;border-top:1px dotted #bbb}
.text-page .source-note,.text-page .data-note,.text-page .conversion-meta{font-size:14px;line-height:1.75;color:var(--muted);margin:5px 0 12px;overflow-wrap:anywhere}
.text-page .source-note a,.text-page .data-note a{color:var(--link)}
.text-page .source-note time,.text-page .data-note time{white-space:normal}
.text-page .pbc-weekend-note{color:var(--notice)}
.text-page .data-note span+span{margin-left:8px}
.text-page .inline-directory{display:block;margin:0 0 12px;line-height:1.9;overflow-wrap:normal}
.text-page .inline-directory a{display:inline;padding:0;margin:0;overflow-wrap:anywhere}
.text-page .directory-item{display:inline-block;max-width:100%;vertical-align:baseline}
.text-page .inline-directory a:last-child{margin-right:0}
.text-page .currency-list,.text-page .bank-list{display:block;padding:0;border:0;margin:0 0 14px}
.text-page .currency-list a,.text-page .bank-list a{display:inline;padding:0;margin-right:16px}
.text-page .currency-code{font-family:Arial,sans-serif;font-size:.72em;color:var(--muted);margin-left:5px;letter-spacing:0}
.text-page .popular{display:block;border:0;padding:0;margin:24px 0}
.text-page .nav-label{display:inline;padding:0;margin-right:10px;font-size:inherit;color:inherit}
.text-page .text-links{display:inline;line-height:1.9}
.text-page .text-links a{display:inline;padding:0;margin-right:16px}
.text-page .cross-links{display:block;border:0;padding:0;margin:17px 0;font-size:inherit;line-height:1.9}
.text-page .cross-links a{margin-right:16px}
.text-page .cross-links .muted{margin-right:10px;color:inherit}
.text-page .text-converter{border:0;margin:24px 0 28px;padding:0;font-size:16px}
.text-page .text-converter summary{width:fit-content;max-width:100%;min-height:36px;padding:2px 0;cursor:pointer;color:var(--link);line-height:1.9}
.text-page .text-converter summary:hover{text-decoration:underline;text-underline-offset:3px}
.text-page .text-converter summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.text-page .text-converter[open] summary{margin-bottom:10px}
.text-page .converter-summary{color:var(--link);font-size:16px}
.text-page .converter{margin:0;padding:0;border:0}
.text-page .converter-fields{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;max-width:790px}
.text-page .field{gap:4px;flex:1 1 180px;min-width:0}
.text-page .field-amount{flex:0 1 130px}
.text-page .field label{color:var(--ink);font-size:15px;line-height:1.6}
.text-page .field input,.text-page .field select{font-family:inherit;height:40px;font-size:var(--font-size-body);line-height:normal;padding:4px 7px;border:1px solid #999;border-radius:1px;background:#fff;color:var(--ink);max-width:100%}
.text-page .calculate-button{flex:0 0 auto;order:initial;width:auto;min-width:60px;height:40px;padding:3px 12px;border:1px solid #999;border-radius:1px;background:#f5f5f5;color:var(--ink);font-size:var(--font-size-body);line-height:1.6}
.text-page .calculate-button:hover{background:#e9e9e9}
.text-page .swap-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;order:initial;flex:0 0 56px;width:56px;height:40px;padding:0;background:transparent;color:var(--link);font-size:14px;line-height:1;white-space:nowrap}
.text-page .swap-button[hidden]{display:none}
.text-page .swap-button span{font-size:16px;line-height:1;margin:0}
.text-page .swap-button:hover{background:#f5f5f5}
.text-page .form-help{font-size:14px;line-height:1.8;color:var(--muted);margin:9px 0}
.text-page .form-error{font-size:15px;line-height:1.8;margin:8px 0}
.text-page .conversion-result{margin:16px 0 5px;font-size:20px;line-height:1.75;overflow-wrap:anywhere}
.text-page .conversion-result strong{color:var(--notice);font-weight:700;text-decoration:underline wavy currentColor;text-decoration-thickness:1px;text-underline-offset:5px;text-decoration-skip-ink:none}
.text-page .conversion-meta{margin-top:4px}
.text-page .conversion-meta p{margin:0 0 4px}
.text-page .conversion-meta p:last-child{margin-bottom:0}
.text-page .conversion-meta a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.text-page .prose{max-width:none;font-size:inherit}
.text-page .prose p{line-height:var(--line-height-body);margin-bottom:12px}
.text-page.about-page .prose>section>p,.text-page.policy-page .prose>section>p{text-indent:2em}
.text-page .prose h2{margin-top:24px}
.text-page .definition-list dd{font-size:var(--font-size-body);line-height:var(--line-height-body)}
.text-page .empty{padding:0;font-size:inherit;color:var(--muted)}
.text-page .notice{padding:0;border:0;background:none;color:#c62828;font-size:16px;line-height:1.9;margin:0 0 17px}
.text-page .quality-label,.text-page .source-type{display:inline;font-size:14px;line-height:1.8;margin-left:7px}
.text-page .quality-label{color:#c62828}
.text-page .bank-health{display:block;font-size:12px;line-height:1.5;color:var(--muted)}
.text-page .source-status{font-size:14px;line-height:1.75;color:var(--notice);margin:0 0 12px}
.text-page .quote-issue{background:none}
.text-page .site-footer{padding:19px 0 25px;margin-top:12px;border-top:1px solid #ddd;font-size:14px;line-height:1.9}
.text-page .site-footer p{margin:0 0 6px}
.text-page .site-footer a{color:var(--link)}
.text-page .footer-links{display:flex;flex-wrap:wrap;gap:0 20px;margin:0 0 6px}
.text-page .footer-links a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.text-page .policy-article .prose a{text-decoration:underline;text-underline-offset:3px}
.text-page .link-separator{margin:0 9px}
@media(max-width:760px){
  .text-page{font-size:var(--font-size-body)}
  .text-page .site-shell{padding:0 22px}
  .text-page .site-header{min-height:84px;gap:12px}
  .text-page .main-nav{gap:16px;font-size:15px}
  .text-page h1{font-size:var(--font-size-h1)}
  .text-page h2{font-size:var(--font-size-h2)}
  .text-page .converter-fields{gap:10px}
  .text-page .converter-fields>.field:nth-of-type(3){order:initial;flex:1 1 180px}
  .text-page .field-amount+.field{flex:1 1 180px}
  .text-page .field-amount{flex:0 1 120px}
}
@media(max-width:600px){
  .text-page .site-header{display:block;min-height:0;padding:18px 0 7px}
  .text-page .main-nav{display:flex;flex-wrap:wrap;width:100%;gap:0 20px;margin-top:7px}
  .text-page .main-nav a{min-height:44px}
}
@media(max-width:520px){
  .text-page{font-size:var(--font-size-body);line-height:var(--line-height-body)}
  .text-page .site-shell{padding:0 18px}
  .text-page .site-header{display:block;min-height:0;padding:18px 0 7px}
  .text-page .site-brand{display:inline-flex;align-items:baseline;gap:0;font-size:24px}
  .text-page .site-brand small{display:inline;margin:0 0 0 12px;font-size:11px}
  .text-page .main-nav{display:flex;flex-wrap:wrap;width:100%;gap:0 20px;font-size:15px;margin-top:7px}
  .text-page .main-nav a{min-height:44px}
  .text-page main{padding-top:23px}
  .text-page h1{font-size:var(--font-size-h1);margin-bottom:8px}
  .text-page h2{font-size:var(--font-size-h2)}
  .text-page .breadcrumbs{font-size:13px;margin-top:12px}
  .text-page .breadcrumbs+main{padding-top:23px}
  .text-page .rate-paragraph{line-height:1.75;margin-bottom:9px}
  .text-page .page-heading,.text-page .home-heading{margin-bottom:18px}
  .text-page .intro,.text-page .section-intro{font-size:14px}
  .text-page .reading-date{font-size:14px;margin-bottom:0}
  .text-page .inline-directory,.text-page .text-links,.text-page .cross-links{line-height:1.9}
  .text-page .currency-list a,.text-page .bank-list a,.text-page .text-links a,.text-page .cross-links a{margin-right:13px}
  .text-page .text-converter summary{min-height:44px;padding:7px 0}
  .text-page .text-converter[open] summary{margin-bottom:8px}
  .text-page .converter-fields{gap:10px 8px;align-items:flex-end}
  .text-page .field-amount{flex:1 1 100%}
  .text-page .field-amount+.field,.text-page .converter-fields>.field:nth-of-type(3){flex:1 1 calc(50% - 30px)}
  .text-page .converter-fields>.field:nth-of-type(3){order:3}
  .text-page .swap-button{order:2;flex-basis:36px;width:36px;height:44px;gap:0;font-size:0}
  .text-page .swap-button span{font-size:20px;margin:0}
  .text-page .field input,.text-page .field select{height:44px;font-size:var(--font-size-body)}
  .text-page .calculate-button{order:4;min-width:70px;min-height:44px;height:auto;padding:5px 14px;margin-top:2px}
  .text-page .conversion-result{font-size:18px}
  .text-page .source-note,.text-page .data-note,.text-page .conversion-meta{font-size:14px}
  .text-page .site-footer{font-size:13px}
}
@media print{
  .text-page{font-size:var(--font-size-body);color:#000}
  .text-page .site-shell{max-width:none;padding:0}
  .text-page .site-header{min-height:45px}
  .text-page .text-converter{display:none}
  .text-page a{color:#000}
}

/* Monochrome throughout; red is reserved for warnings and invalid input. */
a,.text-page a{text-decoration:underline;text-decoration-color:#aaa;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover,.text-page a:hover{text-decoration-color:currentColor}
.site-header a,.text-page .site-header a{text-decoration:none}
.main-nav [aria-current=page],.text-page .main-nav [aria-current=page]{text-decoration:underline;text-decoration-color:#333}
.text-page .notice,.text-page .quality-label,.text-page .eyebrow{color:var(--notice)}
[aria-invalid=true]{border-color:var(--error)}

/* Home rates: a clear heading followed by a quiet date line. */
.text-page .home-rates>h2{font-size:var(--font-size-h2);font-weight:650;line-height:var(--line-height-heading);margin-bottom:5px}
.text-page .home-rates>.reference-times{font-size:13px;line-height:1.75;color:#666;margin:0 0 14px}
@media(max-width:520px){.text-page .home-rates>h2{font-size:var(--font-size-h2)}}

/* Directory pages share the home page's heading hierarchy. */
.text-page .directory-page>.page-heading>h1{font-size:var(--font-size-h1);font-weight:700}
.text-page .directory-page .text-section>h2{font-size:var(--font-size-h2);font-weight:650;line-height:var(--line-height-heading);margin-bottom:8px}
@media(max-width:520px){.text-page .directory-page>.page-heading>h1{font-size:var(--font-size-h1)}.text-page .directory-page .text-section>h2{font-size:var(--font-size-h2)}}

/* Bank detail: compact quotation grid, with shared time above the table. */
.text-page .bank-detail{min-width:0;max-width:100%}
.text-page .bank-detail>.page-heading{margin-bottom:14px}
.text-page .bank-detail .bank-table-meta{font-size:var(--font-size-body);line-height:var(--line-height-body);margin:0 0 12px;overflow-wrap:anywhere}
.text-page .bank-detail .bank-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;margin:0 0 12px}
.text-page .bank-detail .bank-rate-table{width:100%;min-width:var(--bank-table-min-width,650px);table-layout:fixed;border-collapse:collapse;font-size:var(--font-size-body);line-height:1.6;color:var(--ink);font-family:inherit;font-variant-numeric:tabular-nums}
.text-page .bank-detail .bank-rate-table th,.text-page .bank-detail .bank-rate-table td{padding:6px 8px;border:1px solid #999;text-align:center;vertical-align:middle;background:#fff}
.text-page .bank-detail .bank-rate-table thead{background:#fff;color:var(--ink)}
.text-page .bank-detail .bank-rate-table thead th{font-family:inherit;font-size:16px;font-weight:400;white-space:normal;overflow-wrap:normal}
.text-page .bank-detail .bank-rate-table th:first-child{width:var(--bank-name-width,22%)}
.text-page .bank-detail .bank-rate-table[data-columns="5"]{--bank-table-min-width:550px}
.text-page .bank-detail .bank-rate-table[data-columns="4"]{--bank-table-min-width:450px}
.text-page .bank-detail .bank-rate-table[data-columns="3"]{--bank-table-min-width:360px;--bank-name-width:40%}
.text-page .bank-detail .bank-rate-table[data-columns="2"]{--bank-table-min-width:300px;--bank-name-width:50%}
.text-page .bank-detail .bank-rate-table[data-columns="1"]{--bank-table-min-width:0;--bank-name-width:100%}
.text-page .bank-detail .bank-rate-table tbody th{font-weight:400;overflow-wrap:anywhere}
.text-page .bank-detail .bank-rate-table tbody th a{display:inline-block}
.text-page .bank-detail .bank-rate-table .numeric{font-family:Arial,sans-serif;font-size:var(--font-size-body);white-space:nowrap;text-align:center}
.text-page .bank-detail .bank-rate-table .currency-code{font-size:13px;white-space:nowrap}
.text-page .bank-detail .bank-rate-table tbody tr:hover{background:#fff}
.text-page .bank-detail .bank-table-exceptions{font-size:14px;line-height:1.8;color:var(--muted);margin:4px 0 14px;overflow-wrap:anywhere}
.text-page .bank-detail .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:760px){
  .text-page .bank-detail .bank-table-meta{font-size:var(--font-size-body)}
  .text-page .bank-detail .bank-rate-table{font-size:var(--font-size-body)}
  .text-page .bank-detail .bank-rate-table th,.text-page .bank-detail .bank-rate-table td{padding:6px 8px}
  .text-page .bank-detail .bank-rate-table thead th{font-size:15px}
  .text-page .bank-detail .bank-rate-table .numeric{font-size:var(--font-size-body)}
  .text-page .bank-detail .bank-rate-table tbody th{position:sticky;left:0;z-index:1;padding:0 8px;font-size:16px;background:#fff;box-shadow:1px 0 0 #999}
  .text-page .bank-detail .bank-rate-table tbody th a{display:flex;min-height:44px;align-items:center;justify-content:center;flex-wrap:wrap}
}
@media(max-width:520px){
  .text-page .bank-detail .bank-table-meta{font-size:var(--font-size-body)}
  .text-page .bank-detail .bank-table-exceptions{font-size:13px}
}
@media print{
  .text-page .bank-detail .bank-table-scroll{overflow:visible}
  .text-page .bank-detail .bank-rate-table{min-width:0;font-size:12px}
  .text-page .bank-detail .bank-rate-table th,.text-page .bank-detail .bank-rate-table td{padding:5px}
  .text-page .bank-detail .bank-rate-table thead th,.text-page .bank-detail .bank-rate-table .numeric{font-size:12px}
  .text-page .bank-detail .bank-rate-table tbody th{position:static;box-shadow:none}
}

/* Pair detail: compare bank quotes in a quiet, compact grid. */
.text-page .pair-detail{min-width:0;max-width:100%}
.text-page .pair-detail .pair-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;margin:0 0 12px}
.text-page .pair-detail .pair-quotes-table{width:100%;min-width:850px;table-layout:fixed;border-collapse:collapse;font-size:var(--font-size-body);line-height:1.6;color:var(--ink);font-family:inherit;font-variant-numeric:tabular-nums}
.text-page .pair-detail .pair-quotes-table th,.text-page .pair-detail .pair-quotes-table td{padding:6px 8px;border:1px solid #aaa;text-align:center;vertical-align:middle;background:#fff}
.text-page .pair-detail .pair-quotes-table thead{background:#fff;color:var(--ink)}
.text-page .pair-detail .pair-quotes-table thead th{font-family:inherit;font-size:16px;font-weight:400;white-space:normal;overflow-wrap:normal}
.text-page .pair-detail .pair-quotes-table th:first-child{width:15.5%}
.text-page .pair-detail .pair-quotes-table th:last-child{width:18.5%}
.text-page .pair-detail .pair-quotes-table tbody th{font-weight:400;overflow-wrap:anywhere}
.text-page .pair-detail .pair-quotes-table tbody th a{display:inline-block}
.text-page .pair-detail .pair-quotes-table .numeric{font-family:Arial,sans-serif;font-size:var(--font-size-body);white-space:nowrap;text-align:center}
.text-page .pair-detail .pair-quotes-table .pair-quote-time{font-family:Arial,sans-serif;font-size:13px;color:var(--muted);white-space:nowrap}
.text-page .pair-detail .pair-quotes-table tbody tr:hover{background:#fff}
.text-page .pair-detail .pair-reference-quotes{max-width:100%;font-size:16px}
.text-page .pair-detail .pair-reference-quotes summary{width:fit-content;max-width:100%;min-height:36px;padding:2px 0;cursor:pointer;color:var(--link);line-height:1.9}
.text-page .pair-detail .pair-reference-quotes summary:hover{text-decoration:underline;text-underline-offset:3px}
.text-page .pair-detail .pair-reference-quotes summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.text-page .pair-detail .pair-reference-quotes[open] summary{margin-bottom:10px}
.text-page .pair-detail .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:760px){
  .text-page .pair-detail .pair-quotes-table{font-size:var(--font-size-body)}
  .text-page .pair-detail .pair-quotes-table thead th{font-size:15px}
  .text-page .pair-detail .pair-quotes-table .numeric{font-size:var(--font-size-body)}
  .text-page .pair-detail .pair-quotes-table tbody th{position:sticky;left:0;z-index:1;padding:0 8px;font-size:16px;background:#fff;box-shadow:1px 0 0 #aaa}
  .text-page .pair-detail .pair-quotes-table tbody th a{display:flex;min-height:44px;align-items:center;justify-content:center;flex-wrap:wrap}
}
@media(max-width:520px){
  .text-page .pair-detail .pair-reference-quotes summary{min-height:44px;padding:7px 0}
}
@media print{
  .text-page .pair-detail .pair-table-scroll{overflow:visible}
  .text-page .pair-detail .pair-quotes-table{min-width:0;font-size:11px}
  .text-page .pair-detail .pair-quotes-table th,.text-page .pair-detail .pair-quotes-table td{padding:5px}
  .text-page .pair-detail .pair-quotes-table thead th,.text-page .pair-detail .pair-quotes-table .numeric{font-size:11px}
  .text-page .pair-detail .pair-quotes-table .pair-quote-time{font-size:9px;white-space:normal}
  .text-page .pair-detail .pair-quotes-table tbody th{position:static;box-shadow:none}
}


/* Home shortcuts are smaller than the quote text. */
.text-page.home-page .inline-directory{font-size:16px;line-height:1.9;margin-bottom:22px;overflow-wrap:normal}
.text-page.home-page .inline-directory a{white-space:nowrap}
.text-page.home-page .home-rates{margin:0 0 26px}
.text-page.home-page .home-rates .rate-paragraph:last-child{margin-bottom:0}
@media(max-width:520px){
  .text-page.home-page .inline-directory{font-size:15px;line-height:2;margin-bottom:20px}
}


/* Home institution quotes share the existing text layout. */
.text-page.home-page .home-card-rates{margin:28px 0}
.text-page.home-page .home-card-institution{margin:22px 0 26px}
.text-page.home-page .home-card-institution:last-child{margin-bottom:0}
.text-page.home-page .home-card-institution h3{margin:0 0 6px;font-size:var(--font-size-h3);line-height:var(--line-height-heading);font-weight:650}
.text-page.home-page .home-card-institution>.source-note{margin-bottom:12px}
@media(max-width:520px){.text-page.home-page .home-card-institution h3{font-size:var(--font-size-h3)}}

/* Currency directory: equal columns fit the longest current label (196px at 18px). */
.text-page .currencies-directory .currency-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,11em),1fr));column-gap:16px;row-gap:0;list-style:none;margin:0 0 16px;padding:0}
.text-page .currencies-directory .currency-grid li{min-width:0;margin:0;padding:0}
.text-page .currencies-directory .currency-grid a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px;width:100%;min-height:44px;padding:4px 0;line-height:1.75}
.text-page .currencies-directory .currency-name{min-width:0;overflow-wrap:anywhere}
.text-page .currencies-directory .currency-grid .currency-code{margin:0;font-size:13px;line-height:1.4;white-space:nowrap;text-align:right}
@media(max-width:520px){
  .text-page .currencies-directory .currency-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,9em),1fr));row-gap:4px}
  .text-page .currencies-directory .currency-grid a{grid-template-columns:minmax(0,1fr);align-content:start;gap:0;min-height:56px}
  .text-page .currencies-directory .currency-grid .currency-code{text-align:left}
}
@media(max-width:359px){
  .text-page .currencies-directory .currency-grid{grid-template-columns:minmax(0,1fr);row-gap:0}
  .text-page .currencies-directory .currency-grid a{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:44px}
  .text-page .currencies-directory .currency-grid .currency-code{text-align:right}
}

/* Both currency groups keep the same column widths and reading rhythm. */
.text-page .currencies-directory .currency-group{margin:0 0 26px}
.text-page .currencies-directory .currency-group>h2{margin:0 0 8px}
.text-page .currencies-directory .currency-group .currency-grid{margin-bottom:0}

/* Six concise navigation items fit narrow phones without a lone final link. */
@media(max-width:520px){.text-page .main-nav{column-gap:12px}}

/* Reviewed help and quality evidence follow the existing text-only layout. */
.text-page .seo-help h3{font-size:var(--font-size-h3);line-height:var(--line-height-heading);margin:18px 0 6px;font-weight:600}
.text-page .seo-help p{font-size:var(--font-size-body);line-height:var(--line-height-body);color:var(--muted);text-indent:2em}
.text-page .related-reading{font-size:15px;line-height:1.9;margin:18px 0 6px}
.text-page .related-reading a{display:inline-block;min-height:44px;padding:6px 0}
.text-page .quote-quality-note{color:var(--notice);font-size:14px;line-height:1.8;font-weight:400}
.text-page small.quote-quality-note{display:block;margin-top:4px;max-width:26em;white-space:normal}
