/* Generated from products/design-system/shared/rate-page by Navorina/scripts/sync-ds-invoice-document.mjs. Do not edit. */
/* Rate page (shared/rate-page.js): the public exchange-rate page and the rates index, Editorial (2026-10-22).
   The head, sections, questions and call are the public parts (shared/public-site.css). Surfaces come from the page it sits on: the public tools canvas (css/tools.css) in the product,
   the catalog island tokens in the DS. The page draws its own field, pills, period switch and table rows,
   so the catalog and navorina.ai look the same without the product's form and table runtimes. */

.nv-rate {
  --nv-rate-island: var(--nv-tools-island, var(--nv-table-island, #141416));
  --nv-rate-well: var(--nv-tools-well, var(--nv-table-well, #1f1f22));
  --nv-rate-well-hover: var(--nv-tools-well-hover, var(--nv-table-well-hover, #29292c));
  --nv-rate-radius: var(--nv-island-radius, 2rem);
  --nv-rate-pad: var(--nv-island-padding, 24px);
  --nv-rate-line: var(--nv-text-primary, #f5f5f7);
  display: grid;
  gap: var(--nv-pub-gap, 120px);
  min-width: 0;
  color: var(--nv-text-primary);
}

:where(.nv-rate) :where(h1, h2, p, dl, dd) { margin: 0; }

/* Head: the public head; today's rate is the serif figure on the right, the source line under the names. */
.nv-rate-head__source { display: inline-flex; flex-wrap: wrap; justify-content: center; column-gap: 12px; color: var(--nv-text-tertiary); font-size: 12px; line-height: 16px; }
.nv-rate-head__source a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }
.nv-rate-head__source a:hover { color: var(--nv-text-secondary); }
/* The same page in the other language (/rates and /ru/rates): one quiet link under the source line. */
.nv-rate-head__lang { margin: 0; font-size: 13px; line-height: 18px; }
.nv-rate-head__lang a { color: var(--nv-text-secondary); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }
.nv-rate-head__lang a:hover { color: var(--nv-text-primary); }
.nv-rate-figure { display: grid; justify-items: center; gap: 8px; text-align: center; }
.nv-rate-head__value { display: grid; justify-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.nv-rate-head__value span { color: var(--nv-text-secondary); font-size: 15px; }
.nv-rate-head__value strong { font-family: var(--nv-pub-serif, "Instrument Serif", Georgia, serif); font-size: 112px; font-weight: 400; line-height: .9; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.nv-rate-figure__change { color: var(--nv-text-tertiary); font-size: 13px; font-variant-numeric: tabular-nums; }
.nv-rate-tool { gap: 16px; }

.nv-rate-island {
  min-width: 0;
  padding: var(--nv-rate-pad);
  border-radius: var(--nv-rate-radius);
  background: var(--nv-rate-island);
}

.nv-rate-island__head {
  display: flex;
  min-height: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.nv-rate-island__title {
  font-size: var(--nv-type-headline-size, 15px);
  font-weight: var(--nv-type-headline-weight, 600);
  line-height: var(--nv-type-headline-line, 20px);
  letter-spacing: var(--nv-type-headline-tracking, -.009em);
}

/* Converter: the page's one focus. Amount, swap, result in one row; the reverse rate under it. */
.nv-rate-convert { display: grid; gap: 12px; }
.nv-rate-convert__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 12px; }
.nv-rate-field { display: grid; gap: 8px; min-width: 0; }
.nv-rate-field > span:first-child { color: var(--nv-text-secondary); font-size: var(--nv-type-callout-size, 13px); line-height: 18px; }
.nv-rate-amount {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 20px;
  background: var(--nv-rate-well);
}
.nv-rate-amount:hover { background: var(--nv-rate-well-hover); }
.nv-rate-amount:focus-within { box-shadow: 0 0 0 2px var(--nv-text-tertiary); }
.nv-rate-amount :is(input, output) {
  width: 0;
  min-width: 0;
  flex: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  color: var(--nv-text-primary);
  font: inherit;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  outline: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nv-rate-amount em { flex: none; color: var(--nv-text-secondary); font-size: var(--nv-type-body-size, 14px); font-style: normal; font-weight: 600; }

.nv-rate-tab:focus-visible { outline: 2px solid var(--nv-text-tertiary); outline-offset: 2px; }

/* Swap: a round icon button between the two fields. */
.nv-rate-swap {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  justify-self: center;
  margin-block-end: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--nv-rate-well);
  color: var(--nv-text-secondary);
  cursor: pointer;
}
.nv-rate-swap:hover { background: var(--nv-rate-well-hover); color: var(--nv-text-primary); }
.nv-rate-swap:focus-visible { outline: 2px solid var(--nv-text-tertiary); outline-offset: 2px; }
.nv-rate-swap svg { width: 16px; height: 16px; }

.nv-rate-convert__inverse { color: var(--nv-text-tertiary); font-size: var(--nv-type-footnote-size, 12px); font-variant-numeric: tabular-nums; line-height: 16px; }

/* Chart island. */
.nv-rate-chart { display: grid; align-content: start; gap: 16px; }
.nv-rate-tabs { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: var(--nv-rate-well); }

.nv-rate-tab {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--nv-text-secondary);
  cursor: pointer;
  font: inherit;
  font-size: var(--nv-type-footnote-size, 12px);
  font-weight: 500;
}

.nv-rate-tab:hover { color: var(--nv-text-primary); }
.nv-rate-tab.is-active { background: var(--nv-rate-island); color: var(--nv-text-primary); }
.nv-rate-chart__range { display: grid; gap: 12px; }

.nv-rate-chart__plot {
  position: relative;
  height: 200px;
  touch-action: pan-y;
  cursor: crosshair;
}

.nv-rate-chart__plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nv-rate-chart__line { fill: none; stroke: var(--nv-rate-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nv-rate-chart__area { fill: color-mix(in srgb, var(--nv-rate-line) 7%, transparent); stroke: none; }

.nv-rate-chart__cursor {
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: color-mix(in srgb, var(--nv-text-primary) 18%, transparent);
  pointer-events: none;
}

.nv-rate-chart__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--nv-rate-line);
  box-shadow: 0 0 0 3px var(--nv-rate-island);
  pointer-events: none;
}

.nv-rate-chart__tip {
  position: absolute;
  top: -6px;
  transform: translate(-50%, -100%);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--nv-rate-well);
  color: var(--nv-text-primary);
  font-size: var(--nv-type-footnote-size, 12px);
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  column-gap: 12px;
}
.nv-rate-chart__tip[hidden] { display: none; }

.nv-rate-chart__axis {
  display: flex;
  justify-content: space-between;
  color: var(--nv-text-tertiary);
  font-size: var(--nv-type-footnote-size, 12px);
  line-height: 16px;
}

.nv-rate-chart__empty {
  display: grid;
  height: 200px;
  place-items: center;
  border-radius: 20px;
  background: var(--nv-rate-well);
  color: var(--nv-text-secondary);
  font-size: var(--nv-type-callout-size, 13px);
}

.nv-rate-chart__since { color: var(--nv-text-tertiary); font-size: var(--nv-type-footnote-size, 12px); line-height: 16px; }

.nv-rate-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nv-rate-stats dt { color: var(--nv-text-tertiary); font-size: var(--nv-type-footnote-size, 12px); line-height: 16px; }
.nv-rate-stats dd { font-size: var(--nv-type-body-size, 14px); font-variant-numeric: tabular-nums; font-weight: 600; line-height: 20px; }

/* What lands. */
.nv-rate-delivered { display: grid; gap: 12px; }
.nv-rate-delivered__lead { color: var(--nv-text-secondary); font-size: var(--nv-type-body-size, 14px); line-height: 20px; }
.nv-rate-delivered__lead span { color: var(--nv-text-primary); font-variant-numeric: tabular-nums; }

.nv-rate-badge {
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--nv-rate-well);
  color: var(--nv-text-secondary);
  font-size: var(--nv-type-footnote-size, 12px);
  font-weight: 500;
}

.nv-rate-routes { display: grid; gap: 4px; }

.nv-rate-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  margin-inline: calc(-1 * var(--nv-row-bleed, 12px));
  padding: 8px var(--nv-row-bleed, 12px);
  border-radius: 16px;
}

.nv-rate-route:hover { background: var(--nv-rate-well); }
.nv-rate-route__label { font-size: var(--nv-type-body-size, 14px); font-weight: 500; line-height: 20px; }
.nv-rate-route__note { color: var(--nv-text-tertiary); font-size: var(--nv-type-footnote-size, 12px); line-height: 16px; }
.nv-rate-route__value { flex: none; font-size: var(--nv-type-body-size, 14px); font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }

.nv-rate-footnote { color: var(--nv-text-tertiary); font-size: var(--nv-type-footnote-size, 12px); line-height: 16px; }

/* Popular amounts: one island, the switch shows one direction. */
.nv-rate-table { display: grid; gap: 8px; padding-block-end: 12px; }
.nv-rate-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nv-rate-grid-table {
  width: calc(100% + 24px);
  margin-inline: -12px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--nv-type-body-size, 14px);
  font-variant-numeric: tabular-nums;
  line-height: 20px;
}

.nv-rate-grid-table th {
  padding: 8px 12px;
  color: var(--nv-text-tertiary);
  font-size: var(--nv-type-footnote-size, 12px);
  font-weight: 500;
  line-height: 16px;
  text-align: start;
}

.nv-rate-grid-table td { height: 40px; padding: 0 12px; }
.nv-rate-grid-table td:first-child { border-radius: 14px 0 0 14px; color: var(--nv-text-secondary); }
.nv-rate-grid-table td:last-child { border-radius: 0 14px 14px 0; }
.nv-rate-grid-table .is-amount { text-align: end; }
.nv-rate-grid-table td.is-amount { font-weight: 500; }

/* About and FAQ. */
.nv-rate-about { display: grid; gap: 16px; }
.nv-rate-block__title { font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.nv-rate-about__intro { color: var(--nv-text-secondary); font-size: var(--nv-type-body-size, 14px); line-height: 22px; max-width: 72ch; }
/* Cite and reuse (pair page) and Use the data (index): the cite line in a quiet well, plain links, the
   licence as a footnote. The index lists its files as rows: the path in mono, one line on what it holds. */
.nv-rate-data { display: grid; gap: 16px; }
.nv-rate-data__cite { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--nv-rate-well); }
.nv-rate-data__cite p:last-child { color: var(--nv-text-primary); font-size: var(--nv-type-body-size, 14px); line-height: 22px; overflow-wrap: anywhere; user-select: all; }
.nv-rate-data__label { color: var(--nv-text-tertiary); font-size: 12px; font-weight: 500; line-height: 16px; }
.nv-rate-data__links { color: var(--nv-text-secondary); font-size: var(--nv-type-body-size, 14px); line-height: 22px; }
.nv-rate-data a, .nv-rate-footnote a { color: var(--nv-text-primary); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }
.nv-rate-api { display: grid; gap: 2px; margin-block-end: 16px; margin-inline: calc(-1 * var(--nv-row-bleed, 12px)); }
.nv-rate-api__row { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: center; gap: 4px 24px; min-height: 44px; padding: 8px var(--nv-row-bleed, 12px); border-radius: 12px; color: var(--nv-text-primary); text-decoration: none; transition: background-color .16s ease; }
.nv-rate-api__row:hover { background: var(--nv-rate-well); }
.nv-rate-api__row code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.nv-rate-api__row span { color: var(--nv-text-secondary); font-size: 14px; line-height: 20px; }
.nv-rate--index .nv-rate-data__cite { margin-block-end: 12px; }
@container nv-pub (max-width: 640px) {
  .nv-rate-api__row { grid-template-columns: minmax(0, 1fr); }
}

.nv-rate-empty p { display: grid; gap: 4px; color: var(--nv-text-secondary); font-size: var(--nv-type-callout-size, 13px); line-height: 18px; }
.nv-rate-empty strong { color: var(--nv-text-primary); font-size: var(--nv-type-body-size, 14px); font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────────────────────
   Converter and chart on the full width; then what lands, amounts and questions on eight columns and the other
   pairs and the guide on the last three, sticky. One column under 1100 px. */

.nv-rate-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--nv-pub-gutter, 24px); align-items: start; }
.nv-rate-main { grid-column: 1 / span 8; display: grid; gap: 16px; min-width: 0; }
.nv-rate-main > .nv-rate-about, .nv-rate-main > .nv-rate-data { margin-block-start: 48px; }
.nv-rate-aside { grid-column: 10 / span 3; position: sticky; top: 96px; display: grid; gap: 32px; min-width: 0; }
.nv-rate-aside__title { padding: 0 12px 8px; color: var(--nv-text-tertiary); font-size: 12px; font-weight: 500; line-height: 16px; }

.nv-rate-related { display: grid; gap: 2px; margin-inline: calc(-1 * var(--nv-row-bleed, 12px)); }
.nv-rate-link { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 var(--nv-row-bleed, 12px); border-radius: 12px; color: var(--nv-text-primary); font-size: 14px; text-decoration: none; transition: background-color .16s ease; }
.nv-rate-link svg { color: var(--nv-text-tertiary); opacity: 0; }
.nv-rate-link:hover { background: var(--nv-rate-well); }
.nv-rate-link:hover svg { opacity: 1; }
.nv-rate-link--all { color: var(--nv-text-secondary); }
.nv-rate-guide { display: grid; gap: 4px; margin-inline: calc(-1 * var(--nv-row-bleed, 12px)); padding: 12px var(--nv-row-bleed, 12px); border-radius: 16px; color: inherit; text-decoration: none; transition: background-color .16s ease; }
.nv-rate-guide .nv-rate-aside__title { padding: 0 0 4px; }
.nv-rate-guide strong { font-size: 14px; font-weight: 600; }
.nv-rate-guide span:last-child { color: var(--nv-text-secondary); font-size: 13px; line-height: 18px; }
.nv-rate-guide:hover { background: var(--nv-rate-well); }

/* The route that keeps the most: a quiet chip next to its name, follows the amount. */
.nv-rate-route__best { display: none; height: 20px; align-items: center; margin-inline-start: 8px; padding: 0 8px; border-radius: 999px; background: var(--nv-rate-well); color: var(--nv-text-secondary); font-size: 11px; font-weight: 500; }
.nv-rate-route.is-best .nv-rate-route__best { display: inline-flex; }
.nv-rate-route:hover .nv-rate-route__best { background: var(--nv-rate-island); }

/* ── Index: one ledger per group ─────────────────────────────────────── */

.nv-rate-board { display: grid; gap: 2px; }
.nv-rate-board__head,
.nv-rate-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 160px 88px; align-items: center; gap: 24px; margin-inline: calc(-1 * var(--nv-row-bleed, 12px)); padding: 0 var(--nv-row-bleed, 12px); }
.nv-rate-board__head { min-height: 32px; color: var(--nv-text-tertiary); font-size: 12px; font-weight: 500; }
.nv-rate-board__head span:nth-child(n+3) { text-align: end; }
.nv-rate-row { min-height: 64px; border-radius: 16px; color: var(--nv-text-primary); text-decoration: none; transition: background-color .16s ease; }
.nv-rate-row:hover { background: var(--nv-rate-well); }
.nv-rate-row:focus-visible { outline: 2px solid var(--nv-text-tertiary); outline-offset: -2px; }
.nv-rate-row__pair { display: grid; gap: 2px; min-width: 0; }
.nv-rate-row__pair strong { font-size: 16px; font-weight: 600; line-height: 20px; }
.nv-rate-row__pair strong i { margin-inline: 3px; color: var(--nv-text-tertiary); font-style: normal; }
.nv-rate-row__pair small { color: var(--nv-text-tertiary); font-size: 12px; }
.nv-rate-row svg.nv-rate-spark { display: block; width: 100%; max-width: none; height: 28px; overflow: visible; }
.nv-rate-row .nv-rate-spark--empty { height: 2px; border-radius: 2px; background: var(--nv-rate-well); }
.nv-rate-row .nv-rate-chart__line { stroke: var(--nv-text-secondary); stroke-width: 1.25; }
.nv-rate-row .nv-rate-chart__area { display: none; }
.nv-rate-row__value { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: end; }
.nv-rate-row__value small,
.nv-rate-row__change { color: var(--nv-text-tertiary); font-size: 12px; font-weight: 500; }
.nv-rate-row__change { font-variant-numeric: tabular-nums; text-align: end; }

@container nv-pub (max-width: 1100px) {
  .nv-rate-main, .nv-rate-aside { grid-column: 1 / -1; }
  .nv-rate-aside { position: static; margin-block-start: 48px; }
  .nv-rate-head__value strong { font-size: 88px; }
  .nv-rate-board__head, .nv-rate-row { grid-template-columns: minmax(0, 1fr) 120px 128px 72px; gap: 16px; }
}

@container nv-pub (max-width: 640px) {
  .nv-rate-head__value strong { font-size: 64px; }
  .nv-rate-convert__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .nv-rate-swap { margin: 0; transform: rotate(90deg); }
  .nv-rate-amount { min-height: 56px; }
  .nv-rate-amount :is(input, output) { font-size: 20px; }
  .nv-rate-board__head, .nv-rate-row .nv-rate-spark, .nv-rate-row svg.nv-rate-spark { display: none; }
  .nv-rate-row { grid-template-columns: minmax(0, 1fr) auto 64px; gap: 12px; }
  .nv-rate-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-rate-chart__plot { height: 160px; }
  .nv-rate-chart__empty { height: 160px; }
  .nv-rate-block__title { font-size: 20px; }
}
