/* Generated from products/design-system/shared/payout-index by Navorina/scripts/sync-ds-invoice-document.mjs. Do not edit. */
/* Payout cost index (shared/payout-index.js) on the public pages, Editorial (2026-10-22). Sits inside .nv-pub-page
   and uses its surfaces: the matrix and the comparisons are one island each with a quiet table, the per-currency
   tables reuse the calculator's table (payout-fees.css). No rules or outlines; hover is a soft rounded well. */

:where(.nv-pi-matrix, .nv-pi-compare, .nv-pi-currency, .nv-pi-data, .nv-pi-sources, .nv-pi-archive) :where(p, dl, dt, dd, ol) { margin: 0; }
:where(.nv-pi-matrix, .nv-pi-compare, .nv-pi-currency, .nv-pi-data, .nv-pi-sources, .nv-pi-archive) a { color: inherit; }
.nv-pi-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Matrix and comparison: one island, the table scrolls inside it on a phone with the first column held. */
.nv-pi-matrix, .nv-pi-compare { display: grid; gap: 12px; min-width: 0; padding: 24px 20px; border-radius: var(--nv-pub-radius, 2rem); background: var(--nv-pub-island); }
.nv-pi-matrix__scroll { min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.nv-pi-matrix__scroll:focus-visible { outline: 2px solid var(--nv-pub-text-3); outline-offset: 2px; border-radius: 14px; }
.nv-pi-table { width: 100%; border-collapse: separate; border-spacing: 0 2px; font-size: 14px; line-height: 20px; }
.nv-pi-table th, .nv-pi-table td { padding: 10px 12px; text-align: start; vertical-align: middle; }
.nv-pi-table thead th { padding-block: 0 6px; color: var(--nv-pub-text-3); font-size: 12px; font-weight: 500; vertical-align: bottom; }
.nv-pi-table tbody th { font-weight: 600; white-space: nowrap; }
.nv-pi-table .is-amount { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nv-pi-table tbody tr > * { transition: background-color .16s ease; }
.nv-pi-table tbody tr:hover > * { background: var(--nv-pub-well); }
.nv-pi-table tbody tr > :first-child { border-radius: 14px 0 0 14px; }
.nv-pi-table tbody tr > :last-child { border-radius: 0 14px 14px 0; }
.nv-pi-table tr > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--nv-pub-island); }
.nv-pi-table tbody tr:hover > :first-child { background: var(--nv-pub-well); }
.nv-pi-cur { display: inline-grid; justify-items: end; gap: 2px; }
.nv-pi-cur strong { color: var(--nv-pub-text-2); font-weight: 600; }
.nv-pi-cur small { color: var(--nv-pub-text-3); font-weight: 400; }
.nv-pi-cell { display: inline-grid; justify-items: end; gap: 2px; }
.nv-pi-cell small { color: var(--nv-pub-text-3); font-size: 12px; line-height: 16px; }
.nv-pi-table td.is-best .nv-pi-cell > span, .nv-pi-table .is-best .nv-pi-val--lead { font-weight: 600; }
.nv-pi-table td:not(.is-best) .nv-pi-cell > span { color: var(--nv-pub-text-2); }
.nv-pi-table td.is-off .nv-pi-cell > span, .nv-pi-dim { color: var(--nv-pub-text-3); font-size: 13px; }
.nv-pi-note { color: var(--nv-pub-text-3); font-size: 12px; line-height: 16px; padding-inline: 12px; }

/* Comparison cells: the amount, the published rule under it. */
.nv-pi-table--compare { table-layout: fixed; min-width: 560px; }
.nv-pi-table--compare thead th:first-child { width: 9rem; }
.nv-pi-table--compare thead th { color: var(--nv-pub-text); font-size: 15px; font-weight: 600; }
.nv-pi-table--compare td { vertical-align: top; }
.nv-pi-table--compare tbody th { vertical-align: top; color: var(--nv-pub-text-2); font-weight: 500; white-space: normal; }
.nv-pi-table--compare td > small, .nv-pi-table--compare td small { display: block; margin-block-start: 2px; color: var(--nv-pub-text-3); font-size: 12px; line-height: 16px; }
.nv-pi-val { font-weight: 500; font-variant-numeric: tabular-nums; }
.nv-pi-val--plain { font-weight: 400; }
.nv-pi-val--lead { font-size: 16px; }
.nv-pi-table--compare small a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }

/* One currency: the answer, the rate line, the calculator's table. */
.nv-pi-currency { display: grid; gap: 12px; min-width: 0; scroll-margin-top: 96px; }
.nv-pi-answer { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
.nv-pi-more { font-size: 13px; color: var(--nv-pub-text-2); }
.nv-pi-more a, .nv-pi-sources a, .nv-pi-foot a, .nv-pi-archive__files a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }

/* Sources: route, the pages read, the day. */
.nv-pi-sources { display: grid; gap: 2px; margin-inline: -12px; }
.nv-pi-sources__row { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 2px 16px; padding: 10px 12px; border-radius: 14px; transition: background-color .16s ease; }
.nv-pi-sources__row:hover { background: var(--nv-pub-well); }
.nv-pi-sources dt { font-size: 14px; font-weight: 600; }
.nv-pi-sources dd { display: grid; gap: 2px; color: var(--nv-pub-text-2); font-size: 13px; line-height: 18px; }
.nv-pi-sources dd small { color: var(--nv-pub-text-3); font-size: 12px; line-height: 16px; }

/* Cite and reuse. */
.nv-pi-data { display: grid; gap: 16px; min-width: 0; }
.nv-pi-cite { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--nv-pub-well); }
.nv-pi-cite__label { color: var(--nv-pub-text-3); font-size: 12px; font-weight: 500; line-height: 16px; }
.nv-pi-cite p:last-child { font-size: 14px; line-height: 22px; overflow-wrap: anywhere; user-select: all; }
.nv-pi-files { display: grid; gap: 2px; margin-inline: -12px; }
.nv-pi-file { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 2px 16px; padding: 10px 12px; border-radius: 14px; text-decoration: none; transition: background-color .16s ease; }
.nv-pi-file:hover { background: var(--nv-pub-well); }
.nv-pi-file code { font-size: 13px; overflow-wrap: anywhere; }
.nv-pi-file span { color: var(--nv-pub-text-2); font-size: 13px; }
.nv-pi-foot { color: var(--nv-pub-text-3); font-size: 12px; line-height: 16px; }

/* Archive: one row per edition, the files on the right. */
.nv-pi-archive { display: grid; gap: 2px; margin-inline: -12px; padding: 0; list-style: none; }
.nv-pi-archive__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 14px; transition: background-color .16s ease; }
.nv-pi-archive__row:hover, .nv-pi-archive__row[aria-current] { background: var(--nv-pub-well); }
.nv-pi-archive__row > a { display: grid; gap: 2px; text-decoration: none; }
.nv-pi-archive__row strong { font-size: 14px; font-weight: 600; }
.nv-pi-archive__row > a span { color: var(--nv-pub-text-3); font-size: 12px; }
.nv-pi-archive__files { display: flex; gap: 12px; color: var(--nv-pub-text-2); font-size: 13px; }

@container nv-pub (max-width: 900px) {
  .nv-pi-table th, .nv-pi-table td { padding-inline: 8px; }
}
@container nv-pub (max-width: 640px) {
  .nv-pi-matrix, .nv-pi-compare { margin-inline: -8px; padding: 16px 8px; border-radius: 24px; }
  .nv-pi-table { font-size: 13px; }
  .nv-pi-table th, .nv-pi-table td { padding-inline: 8px; }
  .nv-pi-answer { font-size: 17px; }
  .nv-pi-sources__row, .nv-pi-file { grid-template-columns: minmax(0, 1fr); }
}
