/* kit.css: the look every motion visual shares (newsroom/visual-kit/kit.css). build.py puts it first in styles.css and the
   visual's own CSS after it.
   Palette: dark card, white text, indigo and cyan for marks, rose only for "not confirmed / not stated", amber only for a note.
   Two frames on one DOM: tall (the fixed 1060px frame below 900px wide) is the base; wide (the block's aspect ratio, 5:4 or
   16:10 on screens 900px and wider) overrides it in the media query near the end. The wide query must match WIDE_QUERY in kit.js.
   Wide sizes are in rem and the root font size scales with the frame, so the wide design is one fixed composition. */
:root {
  --bg: #0b1726; --panel: #102039; --panel2: #16294a; --line: #2f4668; --line2: #4a6590;
  --mute: #b9c7dc; --ink: #0b1726;
  --indigo: #635bff; --indigo-t: #b3afff; --cyan: #06b6d4; --cyan-t: #3fd9f0; --rose: #fb7185; --amber: #fbbf24;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; font-size: 16px; }
body { margin: 0; background: var(--bg); color: #fff; font-family: var(--font); line-height: 1.35; min-height: 100vh; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.lw { display: none; }
.lt { display: inline; }

/* ---------- the frame ---------- */
.stage { position: relative; display: flex; flex-direction: column; height: 100vh; padding: 0.6rem 0.7rem 0.5rem; gap: 0.4rem; max-width: 46rem; margin: 0 auto; }
.top { display: flex; flex-direction: column; gap: 0.4rem; }
h1 { margin: 0; font-size: 1.1rem; line-height: 1.2; font-weight: 700; }
.ctl { display: flex; gap: 0.5rem; }
.btn { min-height: 2.5rem; min-width: 5.5rem; padding: 0 1rem; border: 1px solid #5b7399; background: var(--panel2); border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.btn:hover:not(:disabled) { border-color: #fff; }
.btn:disabled { color: #a8b6cc; border-color: var(--line); background: transparent; cursor: default; }
.btn[hidden] { display: none; }

/* ---------- slider row: label, range input, readout ---------- */
.scrub { display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: center; flex: none; }
.scrub-l { font-size: 0.875rem; color: var(--mute); white-space: nowrap; }
.scrub input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 2.2rem; margin: 0; background: transparent; cursor: pointer; }
.scrub input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #3a5278; }
.scrub input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #3a5278; }
.scrub input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 5px solid var(--indigo); }
.scrub input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--indigo); }
.when { grid-column: 1 / span 2; margin: 0; font-size: 0.875rem; color: var(--mute); min-height: 1.35em; }

/* ---------- tooltip: a sheet over the free edge of the frame (tall), floating beside the target (wide) ---------- */
.dock { flex: none; }
.tip { position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; z-index: 30; max-height: 58%; overflow: auto; padding: 0.5rem 0.8rem 0.6rem; background: #09111f; border: 1px solid #5b7399; border-left-width: 5px; border-radius: 0.5rem; font-size: 0.875rem; box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.6); pointer-events: none; }
.tip.pinned { pointer-events: auto; }
.tip[hidden] { display: none; }
.tip p { margin: 0; }
.tip[data-tone="plain"], .tip[data-tone="stage"] { border-left-color: var(--indigo); }
.tip[data-tone="rose"] { border-left-color: var(--rose); }
.tip[data-tone="amber"] { border-left-color: var(--amber); }
.tip[data-tone="cyan"] { border-left-color: var(--cyan); }
.tk-kick { color: var(--mute); }
.tk-title { font-weight: 700; font-size: 1rem; margin-top: 0.1rem !important; }
.tk-plain { margin-top: 0.25rem !important; }
.vb { margin-top: 0.35rem; }
.vh { color: var(--cyan-t); font-weight: 700; }
.q { margin: 0.1rem 0 0; padding: 0 0 0 0.6rem; border-left: 2px solid #5b7399; font-style: italic; }
.vn { color: var(--mute); margin-top: 0.15rem !important; }
.tk-der { margin-top: 0.4rem !important; color: var(--cyan-t); font-weight: 600; }
.tk-mid { margin-top: 0.4rem !important; }
.tk-ns { margin-top: 0.4rem !important; color: var(--rose); font-weight: 600; }
.tk-close { display: none; position: sticky; bottom: 0; margin-top: 0.5rem; min-height: 2.6rem; padding: 0 1.2rem; background: var(--panel2); border: 1px solid #5b7399; border-radius: 0.4rem; font-weight: 600; font-size: 0.875rem; pointer-events: auto; }
.tip.pinned .tk-close { display: inline-block; }
.src { margin: 0; flex: none; font-size: 0.875rem; color: var(--mute); }
.tipping .src { display: none; }

/* ---------- wide frame ---------- */
@media (min-aspect-ratio: 21/20) {
  .lw { display: inline; }
  .lt { display: none; }
  html { font-size: min(calc(100vw / 53), calc(100vh / 42.4)); }
  body { overflow: hidden; }
  .stage { max-width: calc(100vh * 1.25); padding: 0.5rem 1rem 0.35rem; gap: 0.3rem; }
  .top { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
  h1 { font-size: 1.2rem; }
  .btn { min-height: 1.9rem; min-width: 4.6rem; padding: 0 0.8rem; font-size: 0.85rem; }
  .scrub { grid-template-columns: auto minmax(0, 20rem) 1fr; column-gap: 0.7rem; }
  .scrub-l { font-size: 0.85rem; }
  .scrub input[type="range"] { height: 1.6rem; }
  .scrub input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7px; border-width: 4px; }
  .when { grid-column: auto; font-size: 0.85rem; }
  .dock { position: static; height: 0; }
  .tip { right: auto; bottom: auto; width: 28rem; max-width: calc(100% - 1rem); max-height: calc(100% - 1rem); font-size: 0.85rem; padding: 0.5rem 0.7rem; }
  .tk-title { font-size: 0.95rem; }
  .tk-close { margin-top: 0.4rem; min-height: 1.9rem; font-size: 0.85rem; }
  .src, .tipping .src { display: block; font-size: 0.8rem; }
}

/* ---------- without script ----------
   A module script runs a moment after first paint, so the plain list waits 1.4 seconds before it appears. A reader with script
   never sees it flash, a reader without script still gets it. */
html:not(.js) .plain { opacity: 0; animation: nojs 0.01s 1.4s forwards; }
@keyframes nojs { to { opacity: 1; } }
html:not(.js) body { overflow: auto; }
html:not(.js) .stage { height: auto; min-height: 100vh; }
html:not(.js) .scrub, html:not(.js) .dock, html:not(.js) .ctl, html:not(.js) .chart { display: none; }
html.js .plain { display: none; }

/* ---------- reduced motion, and the freeze while a tooltip is open ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.frozen *, .frozen *::before, .frozen *::after { transition: none !important; animation: none !important; }

/* Timeline styles. Come after kit.css in styles.css. The tall frame is the base (the fixed 1060px frame below 900px wide): a vertical
   stack of the same events, the four interval brackets and the same panels. The wide frame overrides it in the media query near the
   end: one horizontal axis drawn to scale from 18 August to 19 October, a magnified strip for 6 to 19 October, four brackets, then the
   distributor panel, the two scores, the exploitation panel and what is not stated. Markers, bars, rows and brackets are real buttons.
   Wide sizes are in rem and the root font size scales with the frame, so the wide design is one fixed composition, 53rem wide.
   Colours: indigo marks a date, a ring marks the researcher's own account, an amber ring marks a press report or a third party post,
   cyan marks a derived number or a fix, rose marks what is not stated or a distributor with no fixed kernel. */
:root { --seg-d: #635bff; }
/* the kit sheet is placed with top or bottom only; with both set by the sheet rule it would stretch to its maximum height */
.tip { bottom: auto; }
/* a pinned tooltip that scrolls ends in an opaque Close bar, so text never runs under a floating button */
.tip.pinned .tk-close { display: block; position: sticky; bottom: -0.6rem; width: calc(100% + 1.6rem); margin: 0.5rem -0.8rem -0.6rem; padding: 0 0.8rem; border: 0; border-top: 1px solid #5b7399; border-radius: 0 0 0.4rem 0.4rem; background: #09111f; text-align: left; }
@media not all and (min-aspect-ratio: 21/20) { .tip { max-height: 80%; } }
h1 { font-size: 1rem; }
.tip p, .q { overflow-wrap: anywhere; }
.vp, .sp, .xp, .ns, .bkr { opacity: var(--r, 1); }
.chart { display: flex; flex-direction: column; gap: 0.4rem; flex: none; }
.scrub .when { height: 2.55em; min-height: 0; overflow: hidden; line-height: 1.25; }
.plot { flex: none; min-width: 0; }
.tlw { display: none; }
.mk::after, .imk::after { content: ""; position: absolute; inset: -0.3rem; }

/* ---------- the three kinds of marker ---------- */
.krec.mk, .krec.imk { background: var(--indigo); border: 2px solid #fff; }
.kacct.mk, .kacct.imk { background: var(--bg); border: 3px solid var(--indigo-t); }
.kpress.mk, .kpress.imk { background: var(--bg); border: 3px solid var(--amber); }
.kg { display: inline-block; flex: none; width: 0.85rem; height: 0.85rem; border-radius: 50%; box-sizing: border-box; }
.kg.krec { background: var(--indigo); border: 2px solid #fff; }
.kg.kacct { background: var(--bg); border: 3px solid var(--indigo-t); }
.kg.kpress { background: var(--bg); border: 3px solid var(--amber); }

/* ---------- tall frame: the stack ---------- */
.tlt { position: relative; display: block; }
.tlt::before { content: ""; position: absolute; left: 0.55rem; top: 0.7rem; bottom: 0.7rem; width: 2px; background: var(--line2); }
.tlt > li { position: relative; padding-left: 1.5rem; }
.rw { position: relative; display: flex; align-items: center; gap: 0.5rem; width: 100%; min-height: 1.5rem; margin: 0; padding: 0 0.3rem 0 0.2rem; border: 0; border-radius: 0.3rem; background: none; text-align: left; font-size: 0.875rem; line-height: 1.2; color: #fff; }
.rw .dt { flex: none; font-weight: 700; white-space: nowrap; }
.rw .nm { min-width: 0; color: var(--mute); }
.rw .dot { position: absolute; left: -1.4rem; top: 50%; width: 0.95rem; height: 0.95rem; margin-top: -0.475rem; border-radius: 50%; box-sizing: border-box; }
.rw.krec .dot { background: var(--indigo); border: 2px solid #fff; }
.rw.kacct .dot { background: var(--bg); border: 3px solid var(--indigo-t); }
.rw.kpress .dot { background: var(--bg); border: 3px solid var(--amber); }
.rw:hover, .rw.pin, .rw.cur, .bkt:hover, .bkt.pin, .vr:hover, .vr.pin, .sb:hover, .sb.pin, .xp:hover, .xp.pin { background: rgba(99, 91, 255, 0.22); }
.chip.cur { box-shadow: 0 0 0 2px #fff; }
.grp .gh { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.1rem 0 0.15rem; font-size: 0.875rem; line-height: 1.2; }
.grp .dt { font-weight: 700; white-space: nowrap; }
.grp .nm { color: var(--mute); }
.chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.2rem; }
.chip { min-width: 0; min-height: 1.5rem; margin: 0; padding: 0; border-radius: 0.3rem; font-size: 0.875rem; line-height: 1.2; font-weight: 600; color: #fff; text-align: center; }
.chip.krec { background: var(--indigo); border: 2px solid var(--indigo); }
.chip.kacct { background: transparent; border: 2px solid var(--indigo-t); }
.chip.kpress { background: transparent; border: 2px solid var(--amber); }
.chip.pin, .chip:hover { box-shadow: 0 0 0 2px #fff; }
.tbands { margin: 0.2rem 0 0; }
.bkr { margin: 0.1rem 0 0; }
.bkt { display: block; width: 100%; margin: 0; padding: 0 0.2rem 0 0.4rem; border: 0; border-left: 3px dashed var(--cyan-t); border-radius: 0.3rem; background: none; text-align: left; font-size: 0.875rem; line-height: 1.25; }
.bkt b { color: var(--cyan-t); }
.bkt span { color: var(--mute); }

/* ---------- the panels: who has it, the two scores, exploitation (both frames) ---------- */
.panels { display: block; flex: none; }
.vp { margin: 0.3rem 0 0; }
.vh { margin: 0; font-size: 0.875rem; line-height: 1.25; font-weight: 400; }
.vh b { display: block; font-weight: 700; }
.vstamp { display: block; color: var(--mute); }
.vtally { margin: 0.05rem 0 0.15rem; font-size: 0.875rem; line-height: 1.25; font-weight: 700; color: var(--rose); }
.vl { display: block; }
.vr { display: grid; grid-template-columns: 6.3rem 2.9rem minmax(0, 1fr); column-gap: 0.25rem; align-items: center; width: 100%; min-height: 1.5rem; margin: 0; padding: 0 0.3rem; border: 0; border-radius: 0.3rem; background: none; text-align: left; font-size: 0.875rem; line-height: 1.2; color: #fff; }
.vr .vn { font-weight: 700; }
.vr .vs { padding: 0 0.3rem; border-radius: 0.6rem; border: 1px solid; text-align: center; font-weight: 600; }
.vr.nf .vs { border-color: var(--rose); color: var(--rose); background: rgba(251, 113, 133, 0.12); }
.vr.fx .vs { border-color: var(--cyan); color: var(--cyan-t); background: rgba(6, 182, 212, 0.1); }
.vr .vd { color: var(--mute); }
.rt { display: block; }
.sp { margin: 0.3rem 0 0; }
.sph { margin: 0; font-size: 0.875rem; line-height: 1.25; font-weight: 400; }
.sph b { margin-right: 0.6rem; font-weight: 700; }
.sph span { color: var(--cyan-t); font-weight: 600; }
.sb { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; width: 100%; min-height: 2.3rem; margin: 0.1rem 0 0; padding: 0.1rem 0.3rem; border: 0; border-left: 4px solid var(--indigo); border-radius: 0.3rem; background: none; text-align: left; font-size: 0.875rem; line-height: 1.2; color: #fff; }
.sb + .sb { border-left-color: var(--cyan); }
.sb .sn { grid-row: 1 / span 2; font-size: 1.5rem; line-height: 1; font-weight: 700; }
.sb .sw { font-weight: 700; }
.sb .sw .lt { font-weight: 400; }
.sb .sm { color: var(--mute); }
.xp { display: block; width: 100%; margin: 0.3rem 0 0; padding: 0.2rem 0.5rem 0.25rem; border: 1px dashed var(--rose); border-radius: 0.4rem; background: rgba(251, 113, 133, 0.07); text-align: left; font-size: 0.875rem; line-height: 1.2; color: #fff; }
.xp .xh { display: block; color: var(--rose); }
.xl { display: block; }
.xl .lw { display: none; }
.xl .lt { display: block; }

/* ---------- what the record does not state ---------- */
.ns { flex: none; margin: 0.15rem 0 0; padding: 0.25rem 0.5rem 0.3rem; border: 1px dashed var(--rose); border-radius: 0.4rem; background: rgba(251, 113, 133, 0.07); }
.nsh { margin: 0; font-size: 0.95rem; line-height: 1.15; font-weight: 700; color: var(--rose); }
.nsl { margin: 0.1rem 0 0; display: grid; gap: 0.05rem; }
.nsl li { position: relative; padding-left: 0.9rem; font-size: 0.875rem; line-height: 1.2; }
.nsl li::before { content: ""; position: absolute; left: 0.15rem; top: 0.5em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--rose); }

/* ---------- the plain list, shown without script ---------- */
.plain { padding: 0.2rem 0; font-size: 0.95rem; }
.plain h2 { margin: 0.6rem 0 0.2rem; font-size: 1.05rem; }
.plain ol, .plain ul { padding-left: 1.2rem; list-style: decimal; }
.plain ul { list-style: disc; }
.plain li { margin: 0.45rem 0; }
.plain table { width: 100%; border-collapse: collapse; margin: 0.3rem 0 0.8rem; }
.plain caption { padding: 0.3rem 0; text-align: left; font-weight: 700; }
.plain th, .plain td { padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.plain th { color: var(--mute); font-weight: 600; }
.plain p { margin: 0.3rem 0; }
.plain li p { margin: 0.2rem 0; }
.plain em { font-style: italic; }
.plain .der { color: var(--cyan-t); font-weight: 600; }
.plain .nst { color: var(--rose); font-weight: 600; }

/* ---------- a tall frame that is not narrow (520px and up): the longer wording fits ---------- */
@media (min-width: 520px) and (not (min-aspect-ratio: 21/20)) {
  .src .lw, .xl .lw { display: block; }
  .src .lw { display: inline; }
  .src .lt, .xl .lt { display: none; }
  .vr { grid-template-columns: 6.5rem 7.4rem minmax(0, 1fr); column-gap: 0.4rem; }
  .sb .sw .lw { display: inline; }
  .sb .sw .lt { display: none; }
  .vr .vs .lw, .vr .vd .lw { display: inline; }
  .vr .vs .lt, .vr .vd .lt { display: none; }
  .ns .lw { display: inline; }
  .ns .lt { display: none; }
}

/* ---------- very narrow screens: the title leaves the frame (it stays for screen readers) so the stack fits ---------- */
@media (max-width: 419px) {
  .sph span { display: none; }
  h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .stage { padding: 0.45rem 0.55rem 0.4rem; gap: 0.3rem; }
  .top { gap: 0.2rem; }
}

/* ---------- wide frame: 53rem wide composition ---------- */
@media (min-aspect-ratio: 21/20) {
  .src, .tipping .src, .btn, .tk-close, .tip { font-size: 0.875rem; }
  .tip.pinned .tk-close { width: calc(100% + 1.4rem); margin: 0.4rem -0.7rem -0.6rem; padding: 0 0.7rem; }
  .scrub { grid-template-columns: auto minmax(0, 13rem) 1fr; }
  .scrub-l, .scrub .when { font-size: 0.875rem; }
  .scrub .when { line-height: 1.25; }
  .chart { gap: 0.3rem; }
  .tlt, .tbands { display: none; }
  .plot { border: 1px solid var(--line); border-radius: 0.6rem; background: #0d1a2d; }
  .tlw { --ax0: 0.9rem; --axw: 49.2rem; --ay: 14.15rem; --th: 21.7rem; display: block; position: relative; height: var(--th); overflow: visible; }

  /* the axis, the elapsed line, the month ribbon and the playhead */
  .trk { position: absolute; left: var(--ax0); width: var(--axw); top: var(--ay); height: 2px; margin-top: -1px; background: var(--line2); }
  .elp { position: absolute; left: var(--ax0); width: calc(var(--e, 0) * var(--axw)); top: var(--ay); height: 4px; margin-top: -2px; border-radius: 2px; background: var(--cyan); }
  .pha { position: absolute; left: calc(var(--ax0) + var(--pk, 0) * var(--axw)); top: var(--ay); width: 0.8rem; height: 0.8rem; margin: -0.4rem 0 0 -0.4rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.55); z-index: 4; }
  .rib { position: absolute; left: var(--ax0); width: var(--axw); top: calc(var(--ay) + 0.75rem); height: 1.2rem; }
  .ys { position: absolute; top: 0; bottom: 0; left: calc(var(--k) * 100%); width: calc(var(--kw) * 100%); border-left: 1px solid var(--line2); background: rgba(74, 101, 144, 0.22); }
  .ys:nth-child(even) { background: rgba(74, 101, 144, 0.1); }
  .yt { position: absolute; top: 50%; left: 0.4rem; transform: translateY(-50%); font-size: 0.875rem; line-height: 1; color: var(--mute); }

  /* date markers on the axis */
  .mk { position: absolute; left: calc(var(--ax0) + var(--k) * var(--axw)); top: var(--ay); z-index: 3; box-sizing: border-box; width: 1.15rem; height: 1.15rem; margin: -0.575rem 0 0 -0.575rem; padding: 0; border-radius: 50%; opacity: var(--r, 1); transform: scale(calc(0.4 + 0.6 * var(--r, 1))); }
  .mk.clmk { background: rgba(99, 91, 255, 0.28); border: 2px solid var(--indigo-t); width: calc(var(--kw) * var(--axw) + 1.15rem); margin-left: calc((var(--kw) * var(--axw) + 1.15rem) / -2); border-radius: 0.6rem; }
  .mk:hover, .mk.pin, .mk.cur, .imk:hover, .imk.pin, .imk.cur { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #fff; }

  /* labels for the early dates: a flag on a stem above the axis, one of two lanes */
  .lb { position: absolute; left: calc(var(--ax0) + var(--k) * var(--axw)); z-index: 2; padding: 0 0.4rem; border-left: 1px solid var(--line2); font-size: 0.875rem; line-height: 1.2; white-space: nowrap; opacity: var(--r, 1); pointer-events: none; }
  .lb b, .ilb b { display: block; }
  .lb span, .ilb span { display: block; color: var(--mute); }
  .lb.kacct b, .ilb.kacct b { color: var(--indigo-t); }
  .lb.kpress b, .ilb.kpress b { color: var(--amber); }
  .lb.ln1 { bottom: calc(var(--th) - var(--ay) + 0.6rem); }
  .lb.ln2 { bottom: calc(var(--th) - var(--ay) + 2.85rem); }
  .lb.ln2::after { content: ""; position: absolute; left: -1px; top: 100%; height: 2.25rem; border-left: 1px solid var(--line2); }

  /* the magnified strip: 6 to 19 October, 14 days to scale, and the lines that join it to its place on the axis */
  .ins { --ix0: 2rem; --iu: 3.52rem; --iy: 3.05rem; --ih: 8.4rem; position: absolute; left: 0.4rem; top: 0.4rem; z-index: 2; width: 50.2rem; height: var(--ih); border: 1px solid var(--line2); border-radius: 0.5rem; background: #0a1424; }
  .ih { position: absolute; left: 0.7rem; top: calc(var(--iy) + 2.85rem); margin: 0; font-size: 0.875rem; line-height: 1.2; white-space: nowrap; }
  .ih b { display: block; }
  .ih span { display: block; color: var(--mute); }
  .itrk { position: absolute; left: var(--ix0); width: calc(13 * var(--iu)); top: var(--iy); height: 3px; margin-top: -1.5px; background: var(--cyan); }
  .itrk::before { content: ""; position: absolute; left: 0; right: -1px; top: -0.3rem; height: 0.6rem; background: repeating-linear-gradient(to right, var(--cyan) 0, var(--cyan) 1px, transparent 1px, transparent var(--iu)); }
  .imk { position: absolute; left: calc(var(--ix0) + var(--d) * var(--iu) + var(--sh, 0rem)); top: var(--iy); z-index: 3; box-sizing: border-box; width: 1.05rem; height: 1.05rem; margin: -0.525rem 0 0 -0.525rem; padding: 0; border-radius: 50%; opacity: var(--r, 1); transform: scale(calc(0.4 + 0.6 * var(--r, 1))); }
  .ilb { position: absolute; left: calc(var(--ix0) + var(--d) * var(--iu) + var(--sh, 0rem)); z-index: 2; padding: 0 0.4rem; font-size: 0.875rem; line-height: 1.2; white-space: nowrap; opacity: var(--r, 1); pointer-events: none; }
  .ilb.fr { border-left: 1px solid var(--line2); }
  .ilb.fl { transform: translateX(-100%); border-right: 1px solid var(--line2); text-align: right; }
  .ilb.up.ln1 { bottom: calc(var(--ih) - var(--iy) + 0.6rem); }
  .ilb.dn.ln1 { top: calc(var(--iy) + 0.6rem); }
  .ilb.dn.ln2 { top: calc(var(--iy) + 2.85rem); }
  .ilb.dn.ln2::after { content: ""; position: absolute; top: -2.25rem; height: 2.25rem; }
  .ilb.dn.ln2.fr::after { left: -1px; border-left: 1px solid var(--line2); }
  .ilb.dn.ln2.fl::after { right: -1px; border-right: 1px solid var(--line2); }
  .zl { position: absolute; left: calc(var(--ax0) + var(--k) * var(--axw)); top: 8.8rem; height: calc(var(--ay) - 8.8rem - 0.7rem); width: 0; border-left: 1px dashed var(--indigo-t); z-index: 1; opacity: var(--r, 1); }

  /* the key, between the two lines */
  .kbox { position: absolute; left: 40.4rem; top: 9.4rem; width: 9.5rem; font-size: 0.875rem; line-height: 1.3; color: var(--mute); opacity: var(--r, 1); }
  .kr { display: flex; align-items: center; gap: 0.45rem; margin: 0; }

  /* the four interval brackets, one per row below the ribbon: from a date to the stable releases, then to the reading */
  .bk { position: absolute; left: calc(var(--ax0) + var(--k) * var(--axw)); width: calc(var(--kw) * var(--axw)); height: 1.35rem; margin: 0; padding: 0; border: 0; background: none; text-align: left; z-index: 2; }
  .bk.r1 { top: calc(var(--ay) + 2.05rem); }
  .bk.r2 { top: calc(var(--ay) + 3.4rem); }
  .bk.r3 { top: calc(var(--ay) + 4.75rem); }
  .bk.r4 { top: calc(var(--ay) + 6.1rem); }
  .bline { position: absolute; left: 0; right: 0; bottom: 0.05rem; height: 0.4rem; border: 2px solid var(--cyan); border-top: 0; opacity: 0.75; transform: scaleX(var(--r, 1)); transform-origin: left; }
  .bt { position: absolute; top: 0; font-size: 0.875rem; line-height: 1.2; white-space: nowrap; opacity: calc(var(--r, 1) * var(--r, 1)); }
  .bt b { color: var(--cyan-t); }
  .bt span { color: var(--mute); }
  .bk.inside .bt { left: 0.5rem; }
  .bk.outside .bt { right: calc(100% + 0.5rem); top: 0.1rem; text-align: right; }
  .bk:hover .bt b, .bk.pin .bt b { text-decoration: underline; }
  .bk::after { content: ""; position: absolute; inset: 0; }

  /* the panels row: distributor pages on the left, the two scores and exploitation on the right */
  .panels { display: grid; grid-template-columns: 28rem minmax(0, 1fr); gap: 0.4rem; align-items: stretch; }
  .vp { margin: 0; padding: 0.3rem 0.5rem 0.3rem; border: 1px solid var(--line); border-radius: 0.5rem; background: #0d1a2d; }
  .vh b { display: inline; margin-right: 0.6rem; }
  .vstamp { display: inline; }
  .vtally { margin: 0 0 0.2rem; }
  .vr { grid-template-columns: 6.5rem 7.3rem minmax(0, 1fr); min-height: 1.2rem; }
  .vr .vs .lw, .vr .vd .lw { display: inline; }
  .vr .vs .lt, .vr .vd .lt { display: none; }
  .rt { display: flex; flex-direction: column; gap: 0.3rem; }
  .sp { margin: 0; padding: 0.3rem 0.5rem 0.3rem; border: 1px solid var(--line); border-radius: 0.5rem; background: #0d1a2d; }
  .xp { margin: 0; flex: 1 1 auto; }
  .xl .lw { display: block; }
  .xl .lt { display: none; }

  /* the panel of what is not stated: two columns */
  .ns { margin-top: 0.3rem; padding: 0.25rem 0.6rem 0.3rem; }
  .nsh { font-size: 0.95rem; }
  .nsl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.2rem; row-gap: 0.1rem; grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
  .ns .lw { display: inline; }
  .ns .lt { display: none; }
}
