/* Local presentation for the reviewed market-participants articles. */
.ur-article, .article-editorial { min-width: 0; }
.ur-article h2[id], .ur-article h3[id], .ur-article h4[id], .ur-article li[id] { scroll-margin-top: 6rem; }
.ur-article .ur-ref { font-size: .74em; vertical-align: super; margin-left: .2em; white-space: nowrap; }
.ur-article .ur-table-scroll { max-width: 100%; overflow-x: auto; margin: 1.6rem 0; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border: 1px solid #dce5e9; border-radius: 6px; }
.ur-article .ur-table-scroll:focus-visible { outline: 3px solid #0f7b89; outline-offset: 3px; }
.ur-article .ur-table-scroll table { width: 100%; min-width: 650px; margin: 0; border-collapse: collapse; table-layout: auto; }
.ur-article .ur-table-scroll caption { text-align: left; padding: .85rem; font-weight: 600; line-height: 1.5; color: #173444; }
.ur-article .ur-table-scroll th, .ur-article .ur-table-scroll td { min-width: 115px; padding: .8rem; font-size: .94rem; line-height: 1.55; white-space: normal; overflow-wrap: break-word; text-align: left; vertical-align: top; }
.ur-article .ur-table-scroll th { background: #edf4f6; color: #173444; font-weight: 650; }
.ur-article .ur-table-scroll tbody tr + tr td { border-top: 1px solid #dce5e9; }
.ur-article .ur-case, .ur-article .ur-model, .ur-article .ur-diagram, .ur-article .ur-checklist { margin: 1.8rem 0; padding: 1.25rem; border: 1px solid #91b6bd; border-left: 4px solid #0f7b89; border-radius: 6px; background: #fff; min-width: 0; }
.ur-article .ur-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.ur-article .ur-flow { display: grid; gap: 1rem; }
.ur-article .ur-flow-step { padding: 1rem; background: #f0f6f8; color: #173444; border-radius: 5px; min-width: 0; }
.ur-article .ur-flow-step h4 { margin: 0 0 .45rem; }
.ur-article .ur-diagram p, .ur-article .ur-model p { line-height: 1.65; }
.ur-article .chart-inline svg { display: block; width: 100%; max-width: 100%; height: auto; }
.ur-article .svg-desktop { display: block; }
.ur-article .svg-mobile { display: none; }
.ur-article .ur-form fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ur-article .ur-form label, .ur-article .ur-form input, .ur-article .ur-form select { min-width: 0; }
.ur-article .ur-form input, .ur-article .ur-form select { min-height: 44px; width: 100%; box-sizing: border-box; font: inherit; padding: .55rem; border: 1px solid #91b6bd; border-radius: 4px; background: #fff; color: #173444; }
.ur-article .ur-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.ur-article .ur-cards > div { padding: 1rem; border: 1px solid #91b6bd; border-radius: 6px; min-width: 0; }
.ur-article .ur-process { padding-left: 1.5rem; }
.ur-article .ur-cards p, .ur-article .ur-process li { line-height: 1.65; }
.ur-article .ur-flow-steps { padding-left: 1.5rem; line-height: 1.65; }
.ur-article .ur-flow-steps li { margin: .8rem 0; }
.ur-article .ur-source-note { color: #365763; font-size: .94rem; line-height: 1.6; }
.ur-article .sources li { margin: .8rem 0; line-height: 1.6; overflow-wrap: anywhere; }
.ur-article #cc_download { min-height: 44px; padding: .65rem 1rem; }

/* Higher specificity overrides the earlier 600px cap without touching inline models. */
.ur-article figure.mp-media.mp-media--raster[data-full],
.ur-article figure.mp-media.mp-media--svg[data-full],
.article-editorial figure.mp-media[data-full] { width: 100%; max-width: 100%; box-sizing: border-box; margin: 1.8rem 0 .3rem; padding: 0; overflow: hidden; border-radius: 8px; border: 1px solid #dce5e9; background: #fff; cursor: zoom-in; }
figure.mp-media picture { display: block; width: 100%; }
figure.mp-media img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
figure.mp-media figcaption { padding: .75rem .9rem; font-size: .88rem; line-height: 1.55; text-align: left; color: #365763; background: #f7fafb; margin: 0; }
figure.mp-media:focus-visible { outline: 3px solid #0f7b89; outline-offset: 4px; }
.mp-media-links { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1.1rem; margin: 0 0 1.8rem; }
.mp-media-full-link, .mp-media-detail-link { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 0; font-size: .86rem; line-height: 1.45; color: #096d7c; text-decoration: underline; text-underline-offset: 3px; }
.mp-media-full-link:focus-visible, .mp-media-detail-link:focus-visible { outline: 3px solid #0f7b89; outline-offset: 4px; border-radius: 2px; }

@media (max-width: 600px) {
  .ur-article .ur-table-scroll::before { display: block; padding: .65rem .8rem; background: #f0f6f8; color: #365763; font-size: .8rem; line-height: 1.45; content: attr(data-scroll-hint); }
  :lang(en) .ur-article .ur-table-scroll::before { content: attr(data-scroll-hint); }
  .ur-article .ur-table-scroll table { display: table; }
  .ur-article .ur-table-scroll thead { display: table-header-group; }
  .ur-article .ur-table-scroll tbody { display: table-row-group; }
  .ur-article .ur-table-scroll tr { display: table-row; }
  .ur-article .ur-table-scroll th, .ur-article .ur-table-scroll td { display: table-cell; width: auto; }
  .ur-article .ur-table-scroll td::before { display: none; content: none; }
  .ur-article .ur-form fieldset { grid-template-columns: 1fr; }
  .ur-article .svg-desktop { display: none; }
  .ur-article .svg-mobile { display: block; }
  .ur-article .ur-case, .ur-article .ur-model, .ur-article .ur-diagram, .ur-article .ur-checklist { padding: 1rem; }
  figure.mp-media figcaption { padding: .7rem .8rem; }
}

/* Current central-bank editorial structures, shared with its full translation. */
.bc-article { min-width: 0; }
.bc-article .bc-ref { font-size: .72em; margin-left: .16em; white-space: nowrap; }
.bc-article .bc-ref a { text-decoration: none; }
.bc-article .bc-table-scroll { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; overscroll-behavior-inline: contain; }
.bc-article .bc-table-scroll:focus-visible { outline: 2px solid #267b88; outline-offset: 3px; }
.bc-article .bc-table-scroll .comp-table { min-width: 620px; width: 100%; margin: 0; table-layout: auto; }
.bc-article .bc-table-scroll .comp-table th,
.bc-article .bc-table-scroll .comp-table td { white-space: normal; overflow-wrap: break-word; font-size: .94rem; line-height: 1.55; min-width: 115px; padding: .8rem; }
.bc-article .bc-table-scroll .comp-table.bc-case-matrix { min-width: 940px; }
.bc-article .bc-table-scroll .comp-table caption { padding: .5rem 0 .8rem; text-align: left; font-weight: 600; line-height: 1.5; }
.bc-article .bc-model { margin: 1.6rem 0; padding: 1.2rem; border: 1px solid #88aeb5; border-left: 4px solid #267b88; border-radius: 6px; }
.bc-article .bc-model h4 { margin: 0 0 .8rem; font-size: 1.08rem; line-height: 1.4; }
.bc-article .bc-model .bc-formula { font-size: 1.06rem; }
.bc-article .bc-model-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border: 0; margin: 1rem 0; padding: 0; }
.bc-article .bc-model-form legend { margin-bottom: .8rem; font-weight: 600; }
.bc-article .bc-model-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .92rem; }
.bc-article .bc-model-form label:last-child { grid-column: 1 / -1; }
.bc-article .bc-model-form input,
.bc-article .bc-model-form select { width: 100%; box-sizing: border-box; min-height: 44px; border: 1px solid #829ca1; border-radius: 4px; padding: .55rem; font: inherit; color: #172d3a; background: #fff; }
.bc-article .bc-model-form input:focus-visible,
.bc-article .bc-model-form select:focus-visible { outline: 2px solid #267b88; outline-offset: 2px; }
.bc-article #bc-model-status { min-height: 3em; }
.bc-article .sources ol { padding-left: 1.5rem; }
.bc-article .sources li { margin: .7rem 0; overflow-wrap: anywhere; scroll-margin-top: 1.5rem; }
.bc-article .chart-inline svg { width: 100%; height: auto; }
.bc-article :is(h2, h3, h4) { scroll-margin-top: 1.5rem; }
@media (max-width: 600px) {
 .bc-article { box-sizing: border-box; padding: 0 1rem; }
 .bc-article .bc-table-scroll::before { content: attr(data-scroll-hint); display: block; width: calc(100vw - 2rem); max-width: 100%; margin: 0 0 .5rem; font-size: .78rem; color: #526b7a; }
 .bc-article .bc-model { padding: .9rem; }
 .bc-article .bc-model-form fieldset { grid-template-columns: 1fr; }
 .bc-article .bc-model-form label:last-child { grid-column: auto; }
 .bc-article .bc-table-scroll .comp-table :is(th, td) { display: table-cell; }
 .bc-article .bc-table-scroll .comp-table thead { display: table-header-group; }
 .bc-article .bc-table-scroll .comp-table tr { display: table-row; }
 .bc-article .bc-table-scroll .comp-table td::before { display: none; }
}

/* The narrow layout keeps labels readable without JavaScript or horizontal scrolling. */
.bc-article .bc-diagram { container-type: inline-size; }
.bc-article .bc-diagram-heading { margin: 0 0 1rem; font-size: 1.12rem; font-weight: 700; line-height: 1.5; text-align: center; }
.bc-article .bc-diagram .bc-diagram--desktop { display: block; }
.bc-article .bc-diagram .bc-diagram--mobile { display: none; max-width: 380px; margin: 0 auto; }
.bc-article .bc-diagram figcaption { margin-top: 1rem; font-size: 1rem; line-height: 1.6; text-align: left; color: #294d5b; }
@container (max-width: 639px) {
 .bc-article .bc-diagram .bc-diagram--desktop { display: none; }
 .bc-article .bc-diagram .bc-diagram--mobile { display: block; }
}
@media (max-width: 600px) {
 .bc-article .bc-diagram .bc-diagram--desktop { display: none; }
 .bc-article .bc-diagram .bc-diagram--mobile { display: block; }
}

.bc-article figure.mp-media.mp-media--raster[data-full],
.bc-article figure.mp-media.mp-media--svg[data-full] { width: 100%; max-width: 100%; box-sizing: border-box; margin: 1.8rem 0 .3rem; padding: 0; overflow: hidden; border-radius: 8px; border: 1px solid #dce5e9; background: #fff; cursor: zoom-in; }
@media (max-width: 600px) {
 :lang(en) .bc-article .bc-table-scroll::before { content: attr(data-scroll-hint); }
}

/* Native section 2 media and readable editorial layout. */
article .mp-media { max-width:760px; margin:2rem auto; border-radius:10px; }
article .mp-media picture, article .mp-media img { display:block; width:100%; height:auto; }
article .mp-media figcaption { text-align:start; padding:.8rem 0; line-height:1.6; overflow-wrap:anywhere; }
article .mp-media-full-row { margin:-1.4rem 0 1.7rem; text-align:end; font-size:.86rem; }
article .mp-media-full-row a { display:inline-flex; align-items:center; min-height:44px; line-height:1.5; }
article :is(.tocBox,.tocList,.tocSub) { max-width:100%; overflow-wrap:anywhere; }
article .tocList,article .tocSub { list-style:none; margin:0; padding:0; }
article .tocList>li { margin:.45rem 0; }
article .tocSub { padding-inline-start:1rem; }
article .tocBox a { display:block; padding:.2rem 0; line-height:1.55; }
article .mp-media:focus-visible, .mp-lightbox button:focus-visible { outline:3px solid #d29d30; outline-offset:3px; }
.mp-lightbox { position:fixed; inset:0; z-index:10000; display:flex; flex-direction:column; align-items:center; background:rgba(10,18,33,.97); color:#fff; padding:64px 18px 24px; overflow:auto; overscroll-behavior:contain; }
.mp-lightbox[hidden] { display:none; }
.mp-lightbox__close { position:fixed; inset-block-start:12px; inset-inline-end:14px; width:44px; height:44px; border:1px solid #9aa8bc; border-radius:6px; background:#15263c; color:#fff; font-size:28px; cursor:pointer; }
.mp-lightbox img { display:block; width:auto; max-width:100%; height:auto; max-height:none; background:#fff; }
.mp-lightbox__caption { width:100%; max-width:1000px; margin-block-start:14px; font-size:.9rem; line-height:1.6; text-align:start; overflow-wrap:anywhere; }
html[lang="ar"] article :is(.tocBox,.mp-media figcaption) { direction:rtl; }
html[lang="ar"] .article-editorial .faq-question { padding-left:3rem; padding-right:1rem; }
html[lang="ja"] article, html[lang="th"] article { overflow-wrap:anywhere; }
@media(max-width:600px) { article .mp-media { margin-block:1.5rem; } .mp-lightbox { padding-inline:8px; } }


/* Match the browser's effective writing direction and keep long native terms readable. */
article :is(.tocBox,.tocList,.tocSub,.splitnav,.mp-media-links) { min-width:0; overflow-wrap:anywhere; }
article h1 { text-wrap:balance; }
article figure.mp-media figcaption, article :is(.ur-table-scroll,.bc-table-scroll) :is(th,td,caption) { text-align:start; }
article .mp-media-links { gap:.2rem 1rem; }
html[lang="ar"] article :is(.bc-model-form,.ur-form) { direction:rtl; }
html[lang="ar"] article :is(input[type="number"],.bc-formula,code) { direction:ltr; unicode-bidi:isolate; }
html[lang="vi"] article :is(h1,h2,h3,h4,.tocBox) { font-family:"Segoe UI",Arial,sans-serif; }
.mp-lightbox, .mp-lightbox * { box-sizing:border-box; }
@media(max-width:600px) { article .bc-table-scroll::before, article .ur-table-scroll::before { text-align:start; } }
