/* Prediction Market Fees article-specific visuals and tables; static & accessible */
/* Correct the source template's sidebar/content column ordering. */
.pmf .reading-layout{grid-template-columns:minmax(0,1fr) 258px;gap:52px}
.pmf .article-body{grid-column:1;grid-row:1}
.pmf .sidebar-wrap{grid-column:2;grid-row:1}
@media(max-width:900px){.pmf .reading-layout{display:block}.pmf .sidebar-wrap{display:none}.pmf .mobile-toc{display:block}}
.article-body .table-wrap{overflow-x:auto;max-width:100%;width:100%;border:1px solid #dfe5ec;border-radius:13px;margin:16px 0 27px;background:#fff;overscroll-behavior-x:contain}
.article-body .table-wrap:focus-visible{outline:3px solid #ff5713;outline-offset:3px}
.article-body .table-wrap table{width:100%;min-width:570px;border-collapse:collapse;font-size:14px;line-height:1.55}
.article-body .table-wrap th,.article-body .table-wrap td{padding:13px 14px;border-bottom:1px solid #e9edf1;text-align:start;vertical-align:top}
.article-body .table-wrap thead th{background:#f3f6f9;color:#102537;font-size:13px;line-height:1.4;font-weight:750}
.article-body .table-wrap tr:last-child td{border-bottom:0}
.article-body .table-wrap tbody tr:nth-child(even){background:#fbfcfd}
.article-body .table-wrap td:not(:first-child){font-variant-numeric:tabular-nums}
.article-body .table-wrap code{white-space:nowrap}
.article-body figure.pmf-flow-figure,.article-body figure.pmf-chart-figure{margin:23px 0 12px;border:1px solid #e2e7ec;border-radius:15px;overflow:hidden;background:#f9fbfc}
.article-body figure img{display:block;max-width:100%;width:100%;height:auto;object-fit:contain}
.article-body figure figcaption{color:#495767;padding:12px 16px 15px;font-size:13px;line-height:1.55;border-top:1px solid #e7edf1}
.article-body .pmf-flow-labels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;list-style:none;counter-reset:journey;margin:14px 0 32px;padding:0}
.article-body .pmf-flow-labels li{counter-increment:journey;padding:15px;background:#f6f8fa;border:1px solid #e4e9ed;border-radius:13px;font-size:14px;line-height:1.58}
.article-body .pmf-flow-labels li::before{content:counter(journey);display:inline-flex;align-items:center;justify-content:center;color:white;background:#172d41;border-radius:50%;height:22px;width:22px;margin-inline-end:8px;font-weight:750;font-size:12px}
.article-body h2[id],.article-body h3[id]{scroll-margin-top:100px}
.article-body ul:not(.toc-list) li,.article-body ol:not(.toc-list) li{margin-block:5px}
.article-body code{font-size:.91em;overflow-wrap:anywhere;white-space:normal}
.article-body .table-wrap th{min-width:96px}
.article-body .table-wrap th:first-child{min-width:160px}
.article-body figure.pmf-chart-figure{background:#fff}
@media(max-width:750px){.article-body .pmf-flow-labels{grid-template-columns:1fr}.article-body .table-wrap{margin-inline:0}.article-body .table-wrap table{font-size:12.5px;min-width:540px}.article-body .table-wrap th,.article-body .table-wrap td{padding:11px 10px}.article-body figure figcaption{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* QA proposal only: not installed in the input snapshot or production. */
@media (max-width: 760px) {
  .pmf .mobile-toc {
    position: static;
    inset-block-start: auto;
  }
  .pmf .article-body h2[id],
  .pmf .article-body h3[id] {
    scroll-margin-top: 135px;
  }
}
