/* CROSS site: trajectory replays page (replays/index.html), Swiss style. Tokens, top bar and footer in chrome.css;
   components (.sx-*, .seg, .table) and the quiet greys of tabs, chips and toggles in site.css. The canvas and the timeline
   strips are drawn by assets/js/replays.js with the same tokens, re-read on the cross:theme event.
   Layout: a title row under the bar and a statement; text tabs; then a 12-column grid. From 1200 px the replay (title,
   view, controls, key) takes 8 columns and the picker, the sensor and inputs and the systems the other 4; the view takes
   the height that column leaves, so neither column ends in a blank; the timeline strips run across the page under both.
   761-1199 px: picker beside the inputs, then the replay, the strips and the systems, each across the page. Phones (760
   px and less): one column (picker, replay, strips, inputs, systems), so the replay comes right after the picker. */

/* ------------------------------------------------------------------ masthead: a statement under the title row (site.css
   .sx-title, as on the benchmark and docs pages) */
.rp-lead { max-width: 32em; padding: clamp(20px, 2.6vw, 36px) var(--m) 0; }  /* as the benchmark and docs intros */

/* ------------------------------------------------------------------ tabs on a black rule; the way to "How to read" on the right */
.rp-app { padding-top: clamp(28px, 3.6vw, 52px); }
.rp-top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: baseline;
  margin-inline: var(--m); padding-top: .3em; border-top: 1px solid var(--rule);
}
.rp-tabs { grid-column: 1 / 9; border-top: 0; padding-top: 0; }
.rp-tabs [role="tab"]:focus-visible { outline-offset: 3px; }
.rp-top-link { grid-column: 9 / 13; font-size: 15px; }
html:not(.js) .rp-top { display: none; }
@media (max-width: 1199px) {
  .rp-tabs { grid-column: 1 / 10; }
  .rp-top-link { grid-column: 10 / 13; justify-self: end; }
}
@media (max-width: 760px) {
  .rp-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
  .rp-top-link { font-size: 14px; }
}
@media (max-width: 600px) { .rp-tabs [role="tab"] { padding-block: 6px; text-align: left; } }

/* ------------------------------------------------------------------ the grid */
.rp-panel { padding: clamp(18px, 2vw, 28px) var(--m) clamp(56px, 7vw, 104px); }
.rp-noscript { margin-bottom: 20px; }
.rp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: clamp(24px, 2.4vw, 34px); }
.rp-grid > * { grid-column: 1 / -1; min-width: 0; }
html:not(.js) .rp-grid { display: block; }           /* without JS only the lists are shown */
html:not(.js) .rp-app-ui { display: none; }
@media (min-width: 1200px) {
  .rp-grid { grid-template-rows: auto auto 1fr auto auto; }
  .rp-picker, .rp-filters, .rp-side { grid-column: 9 / 13; }
  .rp-picker { grid-row: 1; }
  .rp-filters { grid-row: 2; }
  .rp-side { grid-row: 3; align-self: start; }
  .rp-viewer { grid-column: 1 / 9; grid-row: 1 / 4; }
  .rp-tl { grid-row: 4; }
  .rp-table { grid-row: 5; }
}
@media (min-width: 761px) and (max-width: 1199px) {
  .rp-picker { grid-column: 1 / 7; grid-row: 1; }
  .rp-filters { grid-column: 7 / 13; grid-row: 1; }
  .rp-viewer { grid-row: 2; }
  .rp-tl { grid-row: 3; }
  .rp-side { grid-row: 4; }
  .rp-table { grid-row: 5; }
}

/* group heads: a word left, a note right, a black rule under them (site.css .sx-list-head) */
.rp-pick-label, .rp-route-head, .rp-filters > .sx-list-head, .rp-side-head {
  font-size: clamp(15px, 1.1vw, 18px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25;
}
.rp-pl-note, .rp-route-map { text-align: right; }
.rp-route-map strong { font-weight: 400; }

/* ------------------------------------------------------------------ picker: what to replay */
.rp-list { margin: 0; padding: 0; list-style: none; }
.rp-pick + .rp-pick { margin-top: 28px; }
.js .rp-pick:not(.is-active) { display: none; }
.js .rp-pick + .rp-pick { margin-top: 0; }

/* without JS: numbered rows, the title and what it is */
html:not(.js) .rp-list li {
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr); column-gap: .6em; padding: .5em 0;
  border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.3;
}
html:not(.js) .rp-item-n { grid-row: span 2; font-variant-numeric: tabular-nums; color: var(--ink-3); }
html:not(.js) .rp-item-s { font-size: 13px; color: var(--ink-3); }

/* with JS: run-in chips that wrap; the items look the same before the script turns them into buttons (no layout shift);
   the grey of the other items is the shared one of .sx-chip */
.js .rp-list, .rp-chips {
  display: flex; flex-wrap: wrap; gap: 0 1.05em; padding-top: .3em;
  font-size: clamp(15px, 1.1vw, 18px); line-height: 1.25; letter-spacing: -0.015em;
}
.js .rp-list:not([role]) li {
  display: inline-flex; align-items: baseline; gap: .4em; padding: .22em 0; white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
.js .rp-list:not([role]) li:first-child { color: var(--ink); }
.js .rp-list:not([role]) li:first-child::before { content: ""; align-self: center; width: .5em; height: .5em; background: var(--accent); }
.js .rp-list:not([role]) .rp-item-s {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rp-item-n, .rp-chip .sx-chip-n { font-variant-numeric: tabular-nums; }
/* a chip (scenes, query sessions, sequences): the chosen one in ink with the accent square */
.rp-chip { padding: .22em 0; white-space: nowrap; transition: color .15s; }
.rp-chip[aria-checked="true"] { color: var(--ink); }
.rp-chip[aria-checked="true"]::before { content: ""; align-self: center; width: .5em; height: .5em; background: var(--accent); }

/* localization: the query sessions of the scene, under their own head */
.rp-route { display: none; margin-top: 22px; }
.js .rp-route { display: block; }

/* phones: the rows wrap as on the hub, each chip one finger high */
@media (max-width: 600px) {
  .js .rp-list, .rp-chips { gap: 0 1.1em; padding-top: 2px; }
  .js .rp-list:not([role]) li, .rp-chip { min-height: 40px; align-items: center; padding-block: 0; }
}

/* ------------------------------------------------------------------ sensor and inputs: label and toggles on hairline rows */
.rp-filter {
  display: grid; grid-template-columns: 7.2em minmax(0, 1fr); align-items: baseline; column-gap: 8px;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.rp-filter[hidden] { display: none; }
.rp-filter .filter-label { font-size: 13px; color: var(--ink-3); }
.rp-filter .seg { gap: 2px 16px; }
.rp-app .seg button:disabled { color: color-mix(in srgb, var(--ink) 30%, transparent); cursor: not-allowed; }
/* what the inputs mean on this dataset (odometry source, RGB-D on KITTI, monocular alignment); nothing when it is plain */
.rp-context { margin-top: 10px; max-width: 46em; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.rp-context:empty { display: none; }
@media (max-width: 560px) {
  .rp-filter { grid-template-columns: 6.2em minmax(0, 1fr); padding: 0; }
  .rp-filter .seg { gap: 0 14px; }
  .rp-filter .seg button { min-height: 40px; padding-inline: 3px; align-items: center; }
}

/* ------------------------------------------------------------------ the replay */
.rp-panel.is-loading .rp-stage canvas, .rp-panel.is-loading .rp-tl { opacity: .45; }
.rp-titlebar { padding-bottom: 12px; }
.rp-scn-title { font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -0.035em; line-height: 1.05; }
.rp-scn-sub { margin-top: 5px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }

/* the top-down view: a plain panel, square, no frame. Beside the side column (1200 px and up) it takes the height that
   column leaves, from 2.3:1 to about 1.1:1 of its width; the script refits the map to any shape */
.rp-stage { position: relative; aspect-ratio: 16 / 10; max-height: calc(100svh - 140px); overflow: hidden; background: var(--surface-2); touch-action: pan-y; }
.rp-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rp-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s; }
.rp-stage-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: 15px; color: var(--ink-2); }
.rp-stage-msg[hidden] { display: none; }
@media (min-width: 1200px) {
  .rp-viewer { display: flex; flex-direction: column; container-type: inline-size; }
  .rp-stage { flex: 1 1 auto; aspect-ratio: auto; min-height: 44cqw; max-height: 88cqw; }
}
@media (max-width: 560px) { .rp-stage { aspect-ratio: 1 / 1; max-height: none; } }

/* controls under the view: square buttons, a thin track filled in ink up to the playhead (red stays CROSS's colour) */
.rp-controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.rp-play, .rp-restart {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; padding: 0; border: 1px solid var(--ink);
  border-radius: 0; transition: background .15s, border-color .15s, color .15s;
}
.rp-play { background: var(--ink); color: var(--bg); }
.rp-play:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.rp-play svg { width: 13px; height: 13px; fill: currentColor; }
.rp-play .i-pause, .rp-play.is-playing .i-play { display: none; }
.rp-play.is-playing .i-pause { display: block; }
.rp-restart { background: transparent; color: var(--ink); }
.rp-restart:hover { background: var(--ink); color: var(--bg); }
.rp-restart svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.rp-pos { width: 3.2em; flex: none; text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
.rp-speed { flex: none; }
.rp-app .rp-speed button { font-size: 13px; }

.rp-scrub {
  --p: 0; flex: 1 1 auto; min-width: 0; height: 28px; margin: 0; padding: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.rp-scrub::-webkit-slider-runnable-track {
  height: 2px; border: 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 0 / calc(var(--p) * 100%) 100% no-repeat,
    color-mix(in srgb, var(--ink) 18%, transparent);
}
.rp-scrub::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 4px; height: 16px; margin-top: -7px; border: 0; border-radius: 0; background: var(--ink); }
.rp-scrub::-moz-range-track { height: 2px; border: 0; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.rp-scrub::-moz-range-progress { height: 2px; background: var(--ink); }
.rp-scrub::-moz-range-thumb { width: 4px; height: 16px; border: 0; border-radius: 0; background: var(--ink); }
.rp-scrub:hover::-webkit-slider-runnable-track { height: 4px; }
.rp-scrub:hover::-webkit-slider-thumb { margin-top: -6px; }
.rp-scrub:hover::-moz-range-track, .rp-scrub:hover::-moz-range-progress { height: 4px; }
.rp-scrub:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .rp-controls {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "play scrub pos" "speed speed restart";
    gap: 4px 12px;
  }
  .rp-play { grid-area: play; } .rp-scrub { grid-area: scrub; } .rp-pos { grid-area: pos; }
  .rp-speed { grid-area: speed; justify-self: start; } .rp-restart { grid-area: restart; justify-self: end; }
  .rp-play, .rp-restart { width: 40px; height: 40px; }
  .rp-scrub { height: 40px; }
  .rp-scrub::-webkit-slider-thumb, .rp-scrub:hover::-webkit-slider-thumb { width: 6px; height: 24px; margin-top: -11px; }
  .rp-scrub:hover::-webkit-slider-runnable-track { height: 2px; }
  .rp-scrub::-moz-range-thumb { width: 6px; height: 24px; }
  .rp-app .rp-speed button { min-height: 40px; padding-inline: 4px; align-items: center; }
}

/* the key to the view, under the controls */
.rp-key { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.rp-key li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; }
.rp-key li[hidden] { display: none; }
.rp-key svg { width: 22px; height: 12px; flex: none; }
.rp-key strong { font-weight: 600; color: var(--ink); }
.rp-key-bit { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; }
.rp-key-bit svg { width: 18px; }

/* timeline strips: one per shown system, under a black rule across the page, sharing the playhead */
.rp-tl { padding-top: 8px; border-top: 1px solid var(--rule); transition: opacity .2s; }
.rp-tl-key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.rp-tl-key span { display: inline-flex; align-items: center; gap: 7px; }
.rp-tl-key svg { width: 16px; height: 12px; flex: none; }
.rp-tl-rows { --lw: 170px; --vw: 52px; position: relative; display: grid; gap: 2px; cursor: pointer; touch-action: pan-y; }
.rp-tl-row { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr) var(--vw); align-items: center; height: 26px; transition: opacity .15s; }
.rp-tl-rows.is-dim .rp-tl-row:not(.is-hot) { opacity: .3; }
.rp-tl-label { display: flex; align-items: center; gap: 8px; min-width: 0; padding-right: 10px; font-size: 13px; color: var(--ink); white-space: nowrap; }
.rp-tl-label span { overflow: hidden; text-overflow: ellipsis; }
.rp-tl-label .rp-sw { width: 12px; height: 12px; }
.rp-tl-row[data-fam="cross"] .rp-tl-label, .rp-tl-row[data-fam="cross"] .rp-tl-val { font-weight: 600; }
.rp-tl-strip { display: block; width: 100%; height: 22px; }
.rp-tl-val { text-align: right; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-tl-head {
  position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; pointer-events: none;
  left: calc(var(--lw) + (100% - var(--lw) - var(--vw)) * var(--x, 0)); background: var(--ink);
}
.rp-tl-empty { font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) {
  .rp-tl-rows { --lw: 120px; --vw: 40px; }
  .rp-tl-label { gap: 6px; font-size: 12.5px; }
}

/* ------------------------------------------------------------------ systems: a ruled list, one hairline row each */
.rp-side-head { align-items: baseline; }
.rp-side-title { font: inherit; letter-spacing: inherit; }
.rp-side-metric { font-size: 13px; color: var(--ink-3); text-align: right; }
.rp-sys-list { margin: 0; padding: 0; list-style: none; }
@media (min-width: 761px) and (max-width: 1199px) {   /* across the page: two systems a row */
  .rp-sys-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
.rp-sys { border-bottom: 1px solid var(--line); transition: background .15s; }
.rp-sys.is-hot { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.rp-sys-btn {
  display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
  width: 100%; padding: 10px 0 2px; border: 0; background: transparent; color: var(--ink); text-align: left;
  font-size: clamp(15px, 1.1vw, 18px); letter-spacing: -0.015em; line-height: 1.2;
}
.rp-sys-btn:focus-visible { outline-offset: -2px; }
.rp-sys-val { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-sys[data-fam="cross"]:not(.is-off) :is(.rp-sys-name, .rp-sys-val) { font-weight: 600; }
.rp-sys.is-off :is(.rp-sys-name, .rp-sys-val) { color: color-mix(in srgb, var(--ink) 62%, transparent); }
.rp-sys-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 3px 0 10px 24px;
  font-size: 13px; line-height: 1.4; color: var(--ink-3);
}
/* the swatch: the system's marker shape in its colour, hollow while the system is hidden */
.rp-sw { width: 14px; height: 14px; flex: none; overflow: visible; }
.rp-sw path { fill: var(--c); stroke: var(--c); stroke-width: 1.5; stroke-linejoin: miter; }
.rp-sys.is-off .rp-sw path { fill: transparent; }
.rp-cfg {
  flex: 0 1 auto; min-width: 0; max-width: 100%; height: 28px; padding: 0 4px; border: 1px solid var(--line-2); border-radius: 0;
  background: var(--bg); color: var(--ink); font-size: 13px; text-overflow: ellipsis;
}
.rp-cfg:hover { border-color: var(--ink); }
/* tags: square, hairline; failures in the bad colour; the CROSS mode in mono, linking to the docs; the best result of the
   view in ink (not the accent: in the light theme it is CROSS's red, and the best run is not always CROSS's) */
.rp-tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 0;
  font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); white-space: nowrap;
}
.rp-tag-bad { color: var(--bad); border-color: currentColor; }
.rp-tag-mode { font-family: var(--mono); font-size: 11.5px; color: var(--ink); text-decoration: none; }
a.rp-tag-mode:hover { border-color: var(--ink); }
.rp-tag-best { color: var(--ink); border-color: var(--ink); }
.rp-side-foot { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.rp-sys-list:empty + .rp-side-foot { visibility: hidden; }
.rp-notes { display: grid; gap: 6px; margin-top: 8px; }
.rp-notes:empty, .rp-notrun:empty { display: none; }
.rp-note .rp-tag { margin-right: 4px; vertical-align: 1px; }
.rp-notrun { margin-top: 8px; }
@media (max-width: 560px) {
  .rp-sys-btn { min-height: 44px; padding-top: 8px; }
  .rp-cfg { height: 36px; font-size: 16px; }
  .rp-tag-mode { height: 28px; margin-block: 2px; }
}

/* tooltip rows (the box is .chart-tooltip from site.css: ink ground, page-coloured text) */
.rp-tip-h, .rp-tip-sub { font-size: 12px; color: color-mix(in srgb, var(--bg) 72%, transparent); }
.rp-tip-sub { margin-top: 3px; }
.rp-tip-row { display: grid; grid-template-columns: 14px auto minmax(0, 1fr); align-items: center; column-gap: 8px; margin-top: 3px; }
.rp-tip-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rp-tip-row span { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.rp-tip-k { width: 14px; height: 3px; background: var(--c); }

/* ------------------------------------------------------------------ every run as a table */
.rp-table summary {
  display: block; width: fit-content; padding: 6px 0; cursor: pointer; list-style: none;
  font-size: 16px; letter-spacing: -0.01em;
}
.rp-table summary::-webkit-details-marker { display: none; }
.rp-table summary::before { content: "+"; display: inline-block; width: 1.1em; font-variant-numeric: tabular-nums; }
.rp-table[open] summary::before { content: "\2212"; }
.rp-table summary:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.rp-table-note { margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.rp-table .table-wrap { margin-top: 12px; }
.rp-table .table { min-width: 460px; }
.rp-table .table :is(th, td):first-child { padding-left: 10px; }
.rp-table td.n { white-space: nowrap; }
.rp-table .rp-td-sys { min-width: 200px; font-weight: 400; }
.rp-td-name { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rp-td-name .rp-sw { width: 12px; height: 12px; }
.rp-td-cfg { display: block; margin: 2px 0 0 20px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.rp-td-cfg .rp-tag-mode { vertical-align: 1px; }
.rp-tr-group th { padding-top: 20px; padding-bottom: 6px; font-size: 13px; font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--rule); }
.rp-table tbody:first-of-type .rp-tr-group th { padding-top: 10px; }
.rp-table tr.is-shown > :first-child { box-shadow: inset 3px 0 0 var(--c); }
.rp-table tr.is-shown[data-fam="cross"] > * { background: color-mix(in srgb, var(--c-cross) 7%, transparent); }
@media (max-width: 600px) {
  .rp-table summary { padding-block: 10px; }
  .rp-table .table :is(th, td) { padding-right: 10px; }
  /* the system column stays while the numbers scroll (opaque, so the numbers pass under it) */
  .rp-table .rp-td-sys, .rp-table thead th:first-child { position: sticky; left: 0; z-index: 1; background-color: var(--bg); }
  .rp-table thead th:first-child { z-index: 2; }
  .rp-tr-group-k { position: sticky; left: 10px; display: inline-block; }
  .rp-table .rp-td-sys { min-width: 170px; box-shadow: inset -1px 0 0 var(--line); }
  .rp-table tr.is-shown > .rp-td-sys { box-shadow: inset 3px 0 0 var(--c), inset -1px 0 0 var(--line); }
  .rp-table tr.is-shown[data-fam="cross"] > .rp-td-sys {
    background: linear-gradient(color-mix(in srgb, var(--c-cross) 7%, transparent), color-mix(in srgb, var(--c-cross) 7%, transparent)), var(--bg);
  }
}

/* ------------------------------------------------------------------ how to read: numbered subsections */
.rp-how { padding-bottom: clamp(56px, 7vw, 104px); }
.rp-how-body { padding: clamp(14px, 1.8vw, 24px) var(--m) 0; row-gap: 20px; align-items: start; }
.rp-how-body + .sx-sub { margin-top: clamp(36px, 4.4vw, 64px); border-top: 1px solid var(--rule); }
/* the lead of each subsection: site.css's mid-size statement (.sx-statement--md) */
.rp-how-lead { grid-column: 1 / -1; max-width: 34em; }
.rp-how-text { grid-column: 1 / 7; font-size: 16px; font-weight: 300; line-height: 1.45; letter-spacing: -0.008em; }
.rp-how-notes { grid-column: 8 / 13; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.rp-how-notes li { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
.rp-how-notes li > :first-child { color: var(--ink-3); }
@media (max-width: 900px) { .rp-how-text, .rp-how-notes { grid-column: 1 / -1; } }
@media (max-width: 460px) { .rp-how-notes li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.rp-foot { display: grid; gap: 16px; padding: clamp(32px, 4vw, 56px) var(--m) 0; }
.rp-source { max-width: 64em; }
.rp-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }
