/* System Overview pop-out: six pages drawn by overview.js from overview/dashboard-spec.json.
 *
 * One type scale on all six pages, set in px with !important on a class because css/type-scale.css forces
 * font-size: inherit !important on every element (a class outweighs its :where() selectors):
 *   13 meta, caption and reading   14 label, link and button   15 body   17 gist under a title
 *   20 card title (serif)   28 figure (serif)   30 page headline (serif)   24 window title (serif)
 * One surface per idea: the diagram sits on the canvas with no box, a card holds one topic, a strip holds the figures.
 * Each page is a twelve-column grid whose rows share the height the window gives them, so the cards of a row are
 * the same height and every edge lines up; when the window is too short the page body scrolls, nothing shrinks.
 * css/mobile.css gives every [role="dialog"] an inset of 12px and a tab strip its own overflow; the rules that
 * differ from that carry html body in front so they outweigh it. */

.ov-root {
  --ov-ink: var(--ink, #0C1F1C);
  --ov-ink-2: #243B36;
  --ov-muted: #4A615B;
  --ov-jade: var(--jade, #0D8568);
  --ov-jade-dark: var(--jade-dark, #0a6b55);
  --ov-jade-soft: #EAF4EF;
  --ov-jade-soft-2: #D9EBE3;
  --ov-jade-pale: #AFCFC6;
  --ov-line: #D3DFDA;
  --ov-line-strong: #B4C8C0;
  --ov-bg: #EDF2EF;
  --ov-dark: #164034;
  --ov-amber: #A66B14;
  --ov-amber-soft: #F6E7C8;
  --ov-slate: #7C8F89;
  --ov-serif: Newsreader, Georgia, "Times New Roman", serif;
  --ov-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.ov-scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 28, .56);
  animation: ov-fade .18s ease-out both;
}

/* ---------------------------------------------------------------- the dialog */

html body .ov-dialog {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  width: min(1332px, calc(100vw - 48px)) !important;
  height: min(893px, calc((100vh - 32px) * .95)) !important;
  height: min(893px, calc((100dvh - 32px) * .95)) !important;
  max-width: none !important;
  max-height: none !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ov-ink-2);
  border: 1px solid var(--ov-line);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(12, 31, 28, .34);
  overflow: hidden;
  outline: none;
  font-family: var(--ov-sans);
  font-size: 13.5px !important;
  font-weight: 400;
  line-height: 1.5;
  overscroll-behavior: contain;
  animation: ov-in .2s ease-out both;
}

/* Opacity only: diagram edges are measured from element rects, so the dialog never moves or scales while it opens. */
@keyframes ov-fade { from { opacity: 0; } }
@keyframes ov-in { from { opacity: 0; } }

.ov-dialog button { font-family: inherit; }
.ov-dialog [hidden] { display: none !important; }

html body .ov-root :focus-visible { outline: 2px solid var(--ov-jade); outline-offset: 2px; }
html body .ov-head :focus-visible { outline-color: #fff; }
/* The dialog and the pop-out of a node only hold the focus: no ring around the whole box when the overview opens by itself. */
html body .ov-dialog:focus-visible, html body .ov-pop:focus-visible { outline: none; }

/* ---- title bar: the window's name, then the six pages as one row of tabs, then close */

.ov-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px 8px 24px;
  background: var(--ov-dark);
  color: #fff;
}
html body .ov-title {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--ov-serif);
  font-size: 23px !important;
  font-weight: 500;
  line-height: 1.2 !important;
  letter-spacing: 0;
  color: #fff;
}
html body .ov-x {
  flex: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}
html body .ov-x:hover { background: rgba(255, 255, 255, .26); }
html body .ov-x:focus-visible { border-radius: 50%; }

/* The strip never scrolls (the page body is the only thing in the pop-out that scrolls). The tabs take the room their
   labels need, so no label wraps; below 1200 px they move to their own row and share it equally. */
html body .ov-tabs {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 3.6px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  overflow: visible;
}
html body .ov-tabs > .ov-tab {
  flex: 0 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8.1px;
  padding: 0 14.4px 0 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--banner-text-2, #C9DAD4);
  text-align: left;
  cursor: pointer;
  transition: background .12s, color .12s;
}
html body .ov-tabs > .ov-tab:hover { background: rgba(255, 255, 255, .12); color: #fff; }
html body .ov-tabs > .ov-tab[aria-selected="true"] { background: #fff; color: var(--ov-ink); }
html body .ov-tabs > .ov-tab:focus-visible { border-radius: 10px; }
.ov-n {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 11.7px !important;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ov-tab[aria-selected="true"] .ov-n { background: var(--ov-jade); color: #fff; }
.ov-tab-label {
  font-size: 13.1px !important;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

/* ---- scrolling body: the canvas the page sits on */

html body .ov-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--ov-line-strong) transparent;
  padding: 16px 24px;
  background: var(--ov-bg);
}
html body .ov-page { outline: none; }
html body .ov-page:not([hidden]) { display: flex; flex-direction: column; flex: 1 0 auto; min-height: 0; }
html body .ov-page:focus-visible { outline: 2px solid var(--ov-jade); outline-offset: 4px; border-radius: 8px; }
/* The page opens on its headline; its own heading shows on a phone only, where the tabs are numbers. */
html body .ov-page-title {
  display: none;
  margin: 0 0 7.2px;
  font-family: var(--ov-serif);
  font-size: 18px !important;
  font-weight: 500;
  line-height: 1.2 !important;
  letter-spacing: 0;
  color: var(--ov-ink);
}

/* the headline of a page: the one sentence it argues */
html body .ov-lead {
  margin: 0;
  align-self: center;
  font-family: var(--ov-serif);
  font-size: 26.1px !important;
  font-weight: 500;
  line-height: 1.17 !important;
  letter-spacing: -.012em;
  color: var(--ov-ink);
  text-wrap: balance;
}
html body .ov-summary {
  margin: 0 0 9px;
  padding: 0 0 0 16.2px;
  font-size: 13.5px !important;
  color: var(--ov-ink-2);
}

/* ---------------------------------------------------------------- the page grid and its cards */

/* Twelve columns. The grid takes the height the page has; each page names its rows below, and the rows written auto share
   the spare height, so cards in a row are one height. */
.ov-grid {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 14px;
  align-content: stretch;
}
.ov-grid > * { grid-column: span 4; min-width: 0; }
.ov-grid > .ov-lead { grid-column: 1 / -1; }
.ov-grid > .ov-flow,
.ov-grid > .ov-linkbar { grid-column: 1 / -1; }

html body .ov-card,
html body .ov-sec {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ov-line);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(12, 31, 28, .04);
  overflow: hidden;
}

/* a figure's title: a small plain label above the diagram, sentence case */
html body .ov-ct {
  margin: 0 0 5.4px;
  font-size: 12.6px !important;
  font-weight: 600;
  line-height: 1.3 !important;
  color: var(--ov-muted);
}

/* the diagram's title row: its title at the left, the tab's first bar of links at the right */
.ov-fig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5.4px 12.6px;
  margin: 0 0 5.4px;
}
html body .ov-fig-head .ov-embed { min-height: 30px; padding: 2px 13px; }
html body .ov-fig-head .ov-ct { margin: 0; }

/* ---- a card: title and (i), a gist, then the evidence */

.ov-sec-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px 14px 0 18px;
  background: none;
  border: 0;
}
html body .ov-sec-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--ov-serif);
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.22 !important;
  letter-spacing: 0;
  color: var(--ov-ink);
}
html body .ov-info {
  flex: none;
  width: 26px;
  height: 26px;
  min-height: 26px;
  margin: -1px 0 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--ov-line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ov-jade-dark);
  cursor: pointer;
}
html body .ov-info:hover { background: var(--ov-jade-soft-2); border-color: var(--ov-jade); }
html body .ov-info:focus-visible { border-radius: 50%; }

/* the labelled parts of a description (shown in the pop-out) */
.ov-desc-grid {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10.8px;
}
.ov-part { min-width: 0; }
html body .ov-part dt {
  margin: 0 0 1.8px;
  font-size: 12.6px !important;
  font-weight: 600;
  color: var(--ov-jade-dark);
}
html body .ov-part dd {
  margin: 0;
  font-size: 13.5px !important;
  line-height: 1.5;
  color: var(--ov-ink-2);
}

html body .ov-snippet {
  margin: 0;
  padding: 6px 18px 0;
  font-size: 13.5px !important;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ov-ink);
  text-wrap: pretty;
}
.ov-blocks {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px 18px 14px;
}
.ov-block { min-width: 0; margin: 0; }
/* the link buttons of a card sit at its foot, so the cards of a row line up */
.ov-sec .ov-blocks > .ov-actions:last-child { margin-top: auto; }

/* ---- a bar of links (a section that holds only link buttons) */

html body .ov-linkbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7.2px 7.2px;
  margin: 0;
  padding: 0;
}
html body .ov-linkbar-title {
  margin-right: 3.6px;
  font-size: 12.6px !important;
  font-weight: 600;
  color: var(--ov-muted);
}

/* ---- figures: one flat row, one style on every page. Serif figure, a plain label, a quiet reading. */

html body .ov-kpis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--ov-line-strong);
  border-bottom: 1px solid var(--ov-line);
}
html body .ov-kpi {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 4.5px 12.6px 4.5px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
html body .ov-kpi + .ov-kpi { padding-left: 14px; border-left: 1px solid var(--ov-line); }
html body .ov-kpi-v {
  order: 1;
  font-family: var(--ov-serif);
  font-size: 20.7px !important;
  font-weight: 500;
  line-height: 1.15 !important;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  color: var(--ov-ink);
}
html body .ov-kpi-l {
  order: 2;
  margin-top: 2.7px;
  font-size: 12.6px !important;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ov-ink);
}
html body .ov-kpi-r {
  order: 3;
  font-size: 11.7px !important;
  line-height: 1.35;
  color: var(--ov-muted);
}

/* the strip of a page: a section that holds only figures, drawn beside the headline, with its gist under it */
html body .ov-stats {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3.6px;
  align-self: center;
}
html body .ov-stats .ov-kpis { border-top: 2px solid var(--ov-ink); }
html body .ov-stats-note {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  font-size: 11.7px !important;
  line-height: 1.4;
  color: var(--ov-muted);
}

/* ---- lists */

html body .ov-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5.4px;
}
html body .ov-list li {
  position: relative;
  margin: 0;
  padding-left: 13.5px;
  font-size: 13.5px !important;
  line-height: 1.45;
  color: var(--ov-ink-2);
  text-wrap: pretty;
}
.ov-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ov-jade);
}
html body .ov-list li b { font-weight: 600; color: var(--ov-ink); }
/* A list whose lines each open with a short lead (Picture:, Match:) is read by its leads: no dots, the lead is the mark. */
html body .ov-list.ov-led li { padding-left: 0; }
.ov-list.ov-led li::before { display: none; }

/* A line that begins with a fact tag (F1: ...) wears the site's own green fact chip, in place of the dot. It is the chip
   css/work.css and css/simple-chat.css draw (.factchip.fact-inline), written out in full here because most pages that open
   the overview do not link those sheets. Here it only labels, so it neither points nor reacts. */
html body .ov-list li.ov-fact { padding-left: 0; }
.ov-list li.ov-fact::before { display: none; }
html body .ov-list li.ov-fact .factchip.fact-inline,
html body .ov-list li.ov-fact .factchip.fact-inline:hover {
  display: inline-block;
  margin: 0 6.3px 0 0;
  padding: 0 5.4px;
  border: 1px solid var(--ov-jade-pale);
  border-radius: 4px;
  background: var(--ov-jade-soft);
  color: var(--ov-jade-dark);
  font: 600 13px/1.55 "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.7px !important;
  letter-spacing: .02em;
  white-space: nowrap;
  vertical-align: baseline;
  text-decoration: none;
  cursor: default;
}

/* ---- a comparison: one row per question, the column the page argues for in green */

html body .ov-compare {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ov-line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13.5px !important;
  line-height: 1.4;
}
html body .ov-compare th,
html body .ov-compare td {
  padding: 4.5px 12.6px;
  border-bottom: 1px solid var(--ov-line);
  text-align: left;
  vertical-align: middle;
  font-size: 13.5px !important;
  color: var(--ov-ink-2);
}
html body .ov-compare tr:last-child > * { border-bottom: 0; }
html body .ov-compare thead th {
  padding-top: 7.2px;
  padding-bottom: 7.2px;
  background: #F4F7F5;
  font-size: 12.6px !important;
  font-weight: 600;
  color: var(--ov-muted);
}
/* The first column is as wide as its longest label and no wider; the two answer columns share the rest by their text. */
html body .ov-compare tbody th { width: 1%; font-weight: 600; color: var(--ov-ink); white-space: nowrap; }
html body .ov-compare td { width: auto; white-space: normal; }
html body .ov-compare .ov-compare-win { background: var(--ov-jade-soft); color: var(--ov-ink); }
html body .ov-compare thead .ov-compare-win { background: var(--ov-jade); color: #fff; }

/* ---- insight and prose, when the spec carries them */

html body .ov-insight {
  margin: 5.4px 0 0;
  padding: 5.4px 10.8px;
  background: var(--ov-jade-soft);
  border-left: 3px solid var(--ov-jade);
  border-radius: 0 8px 8px 0;
  font-size: 12.6px !important;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ov-ink);
}
html body .ov-prose {
  margin: 0;
  font-size: 13.5px !important;
  line-height: 1.5;
  color: var(--ov-ink-2);
  text-wrap: pretty;
}

/* ---- link buttons: a real link opens its page in a new tab; a "more" button opens a pop-out */

.ov-actions { display: flex; flex-wrap: wrap; gap: 8px; }
html body .ov-embed {
  min-height: 34px;
  padding: 3.6px 12.6px;
  display: inline-flex;
  align-items: center;
  gap: 6.3px;
  border: 1px solid var(--ov-jade-pale);
  border-radius: 999px;
  background: #fff;
  color: var(--ov-jade-dark);
  font-size: 12.6px !important;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
html body a.ov-embed::after {
  content: "\2197";
  content: "\2197" / "";
  font-size: 12.6px !important;
  line-height: 1;
}
html body .ov-embed:hover { border-color: var(--ov-jade); background: var(--ov-jade-soft); }
html body .ov-embed:focus-visible { border-radius: 999px; }
html body .ov-embed.ov-more { border-color: var(--ov-jade); background: var(--ov-jade-soft); }
html body .ov-embed.ov-more:hover { background: var(--ov-jade-soft-2); border-color: var(--ov-jade-dark); }
.ov-embed.ov-more svg { flex: none; }

/* ---- small charts: rows of bars, or one bar cut into parts with its key */

html body .ov-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4.5px;
}
html body .ov-bars li {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10.8px;
  font-size: 12.6px !important;
  line-height: 1.35;
  color: var(--ov-ink-2);
}
.ov-bar-l { min-width: 0; overflow-wrap: anywhere; }
.ov-bar-t { display: block; height: 10px; border-radius: 5px; background: #E6EEEA; }
.ov-bar-f { display: block; height: 10px; border-radius: 5px; background: var(--ov-jade); }
html body .ov-bar-v { font-size: 12.6px !important; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ov-ink); }

.ov-seg-bar { display: flex; gap: 3px; height: 14px; border-radius: 7px; overflow: hidden; }
.ov-seg { display: block; min-width: 3px; }
.ov-seg-1 { background: var(--ov-jade); }
.ov-seg-2 { background: var(--ov-amber); }
.ov-seg-3 { background: var(--ov-slate); }
.ov-seg-4 { background: var(--ov-jade-pale); }
html body .ov-seg-key {
  list-style: none;
  margin: 7.2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.8px 14.4px;
}
html body .ov-seg-key li { margin: 0; font-size: 12.6px !important; line-height: 1.4; color: var(--ov-ink-2); }
html body .ov-seg-key b { font-weight: 600; color: var(--ov-ink); }
.ov-seg-dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 2px; vertical-align: 0; }

/* ---------------------------------------------------------------- diagrams */

/* A diagram sits on the canvas as it is, with no box of its own: no scroll bar, no limited size, no clipping, no caption
   (the spec's "shows" text is its accessible label). overview.js fits it to the page width and always keeps it left to
   right on a screen of 480 px or more: the columns as they stand, the columns squeezed down to their longest word, the
   gaps between them tightened, then the whole diagram scaled down until its text reads 11 px; it runs top to bottom
   only on a phone. The page body (.ov-body) is the only thing in the pop-out that scrolls, bar the pop-out of a node
   (.ov-pop-body) when its text outgrows the screen. */
html body .ov-card.ov-flow {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  padding: 0;
}
.ov-dgframe {
  position: relative;
  padding: 0;
  overflow: visible;
}
.ov-dg {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
}
/* No fixed minimum width: a column squeezes down to its longest word (the automatic minimum), never through a word. */
.ov-dg-layer {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.ov-dg-node {
  padding: 7px 13px;
  background: #fff;
  border: 1.5px solid var(--ov-line-strong);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(12, 31, 28, .06);
  font-size: 13.5px !important;
  line-height: 1.25;
  text-align: center;
  color: var(--ov-ink-2);
  overflow-wrap: break-word;
}
/* a box's name, and the caption the spec writes after " | " */
html body .ov-dg-name { font-weight: 600; color: var(--ov-ink); }
html body .ov-dg-note {
  display: block;
  margin-top: 2px;
  font-size: 11.7px !important;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ov-muted);
}
/* what goes in: a tinted box; what comes out: the dark box the page ends on; a gate between two boxes: the jade box */
.ov-dg-node.ov-start { background: var(--ov-jade-soft); border-color: var(--ov-jade-pale); }
.ov-dg-node.ov-end { background: var(--ov-dark); border-color: var(--ov-dark); }
.ov-dg-node.ov-end .ov-dg-name { color: #fff; }
.ov-dg-node.ov-end .ov-dg-note { color: rgba(255, 255, 255, .8); }
.ov-dg-node.ov-gate { background: var(--ov-jade); border-color: var(--ov-jade); box-shadow: 0 2px 8px rgba(13, 133, 104, .35); }
.ov-dg-node.ov-gate .ov-dg-name { color: #fff; }
.ov-dg-node.ov-gate .ov-dg-note { color: rgba(255, 255, 255, .88); }

/* The squeeze steps. overview.js sets data-fit on a diagram whose columns do not fit the frame at their natural size, and
   tries 1 (tighter gaps), 2 and 3 in turn before it scales the whole diagram: the boxes, the labels on the arrows and the
   room between boxes get smaller, the text stays at 13 px. */
.ov-dg[data-fit="2"] .ov-dg-layer { gap: 8px; }
.ov-dg[data-fit="2"] .ov-dg-node { padding: 6px 7px; line-height: 1.22; }
.ov-dg[data-fit="2"] .ov-dg-label { max-width: 150px; padding: 1px 5px; line-height: 1.25; }
.ov-dg[data-fit="3"] .ov-dg-layer { gap: 6px; }
.ov-dg[data-fit="3"] .ov-dg-node { padding: 4px 4px; line-height: 1.2; }
.ov-dg[data-fit="3"] .ov-dg-label { max-width: 120px; padding: 1px 4px; line-height: 1.22; }
/* the blank slot an arrow that skips a column runs through */
.ov-dg-node.ov-via { height: 8px; padding: 0; border: 0; background: none; box-shadow: none; visibility: hidden; }

/* A node that opens a pop-out (its id is a section id of the page, hyphens written as underscores): a box that reads as
   a button, with the (i) mark; the section opens over the page and is not drawn as a card. */
html body .ov-dg-node.ov-dg-pop {
  display: block;
  align-self: center;
  max-width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 8px 14px;
  border: 1.5px solid var(--ov-jade);
  border-radius: 10px;
  background: var(--ov-jade-soft);
  color: var(--ov-jade-dark);
  font-family: inherit;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(12, 31, 28, .1);
  transition: background .12s, border-color .12s;
}
html body .ov-dg-node.ov-dg-pop:hover { background: var(--ov-jade-soft-2); border-color: var(--ov-jade-dark); }
html body .ov-dg-node.ov-dg-pop:focus-visible { border-radius: 10px; }
html body .ov-dg-node.ov-dg-pop .ov-dg-name { color: var(--ov-jade-dark); }
html body .ov-dg-node.ov-dg-pop .ov-dg-note { color: var(--ov-ink-2); }
/* the (i) mark follows the last word of the label, on the same line when the label fits on one */
.ov-dg-node.ov-dg-pop svg { display: inline-block; vertical-align: -3px; margin-left: 5px; }
.ov-dg-edges {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
.ov-dg-edges path { fill: none; stroke: var(--ov-jade-dark); stroke-width: 1.75; }
.ov-dg-edges marker path { fill: var(--ov-jade-dark); stroke: none; }
/* a tie: the short line between two boxes of one column (the extraction checks between the two readers) */
.ov-dg-edges path.ov-tie { stroke: var(--ov-jade); stroke-width: 3; }
.ov-dg-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  max-width: 200px;
  padding: 1px 6px;
  background: var(--ov-bg);
  border: 1px solid var(--ov-line);
  border-radius: 6px;
  font-size: 11.7px !important;
  line-height: 1.3;
  text-align: center;
  color: var(--ov-muted);
  pointer-events: none;
}

/* the same diagram read top to bottom, on a phone only */
.ov-dg[data-dir="TB"] { flex-direction: column; align-items: stretch; justify-content: flex-start; }
.ov-dg[data-dir="TB"] .ov-dg-layer {
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
}
.ov-dg[data-dir="TB"] .ov-dg-node { flex: 1 1 0; min-width: 0; max-width: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ov-dg[data-dir="TB"] .ov-dg-node.ov-dg-pop { flex: 0 0 auto; align-self: center; }

/* ---------------------------------------------------------------- the pop-out of a node, a card's (i) or a "more" button */

/* Inside the dialog, over the page: the section's title and description (and any lists, tiles and links it holds).
   Escape and the close button shut it, and the overview behind it stays where it was. */
.ov-pop-root {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 14.4px;
}
.ov-pop-scrim { position: absolute; inset: 0; background: rgba(12, 31, 28, .46); }
html body .ov-pop {
  position: relative !important;
  inset: auto !important;
  width: min(680px, 100%) !important;
  max-width: none !important;
  max-height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ov-line);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(12, 31, 28, .34);
  overflow: hidden;
  outline: none;
}
.ov-pop-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10.8px 0 19.8px;
  background: none;
  border: 0;
}
html body .ov-pop-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--ov-serif);
  font-size: 19.8px !important;
  font-weight: 600;
  line-height: 1.25 !important;
  letter-spacing: 0;
  color: var(--ov-ink);
}
html body .ov-pop-x {
  flex: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ov-ink-2);
  cursor: pointer;
}
html body .ov-pop-x:hover { background: var(--ov-jade-soft-2); }
html body .ov-pop-x:focus-visible { border-radius: 50%; }
.ov-pop-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10.8px;
  padding: 7.2px 19.8px 19.8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
html body .ov-pop .ov-snippet { padding: 0; font-size: 14.4px !important; font-weight: 500; }
html body .ov-pop .ov-list li { font-size: 15px !important; line-height: 1.5; }
html body .ov-pop .ov-list { gap: 8px; }

/* ---------------------------------------------------------------- footer */

.ov-foot {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5.4px 9px;
  padding: 10px 20px;
  background: #fff;
  border-top: 1px solid var(--ov-line);
}
html body .ov-handoff-line {
  flex: 1 0 100%;
  margin: 0;
  font-size: 12.6px !important;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ov-muted);
  text-align: right;
}
html body .ov-handoff-line[hidden] { display: none; }
html body .ov-next-line {
  margin-right: auto;
  min-width: 0;
  font-size: 12.6px !important;
  font-weight: 600;
  color: var(--ov-muted);
}
html body .ov-btn {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--ov-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ov-ink-2);
  font-size: 12.6px !important;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
html body .ov-btn:hover { border-color: var(--ov-jade); background: var(--ov-jade-soft); color: var(--ov-jade-dark); }
html body .ov-btn.primary { background: var(--ov-jade); border-color: var(--ov-jade); color: #fff; }
html body .ov-btn.primary:hover { background: var(--ov-jade-dark); border-color: var(--ov-jade-dark); color: #fff; }
html body .ov-btn:disabled { opacity: .45; cursor: not-allowed; }
html body .ov-btn:focus-visible { border-radius: 999px; }

.ov-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- what each page puts where
   Twelve columns from 1200 px of window. A card with no rule here takes four. Rows written auto share the spare height; rows written max-content keep their own. */

@media (min-width: 1200px) {
  /* Data: the headline beside the figures, the diagram, three stage cards, three more */
  #ov-panel-data .ov-grid { grid-template-rows: max-content max-content auto auto; }
  #ov-panel-data .ov-lead { grid-column: span 6; }
  #ov-panel-data .ov-stats { grid-column: span 6; }
  /* Cortex: the headline, the diagram, proof beside the comparison, then weights beside the Brain */
  #ov-panel-cortex .ov-grid { grid-template-rows: max-content max-content auto auto; }
  #ov-sec-cortex-proof { grid-column: span 5; }
  #ov-sec-cortex-rag { grid-column: span 7; }
  #ov-sec-cortex-weights { grid-column: span 7; }
  #ov-sec-cortex-brain { grid-column: span 5; }
  /* Managers and funds: the headline, three cards, the reports across the foot */
  #ov-panel-managers .ov-grid { grid-template-rows: max-content auto max-content; }
  #ov-sec-managers-skills { grid-column: span 3; }
  #ov-sec-managers-benchmarks { grid-column: span 6; }
  #ov-sec-managers-research { grid-column: span 3; }
  #ov-sec-managers-reports { grid-column: 1 / -1; }
  /* Secondaries: the headline, the diagram, two cards to a row */
  #ov-panel-secondaries .ov-grid { grid-template-rows: max-content max-content auto auto; }
  #ov-sec-secondaries-discovery,
  #ov-sec-secondaries-pricing,
  #ov-sec-secondaries-portfolio,
  #ov-sec-secondaries-reports { grid-column: span 6; }
  /* Due diligence reports */
  #ov-panel-diligence .ov-grid { grid-template-rows: max-content auto; }
  /* Cortex Consult chat */
  #ov-panel-chat .ov-grid { grid-template-rows: max-content max-content auto; }
  #ov-sec-chat-what { grid-column: span 4; }
  #ov-sec-chat-controls { grid-column: span 5; }
  #ov-sec-chat-checks { grid-column: span 3; }
}

/* The Data stage cards sit under a diagram whose captions already say what each card's gist says. */
html body #ov-sec-data-prepared .ov-snippet,
html body #ov-sec-data-gates .ov-snippet,
html body #ov-flow-cortex .ov-ct,
html body #ov-sec-data-economics .ov-snippet,
html body #ov-sec-cortex-brain .ov-kpis,
html body #ov-sec-secondaries-portfolio .ov-snippet,
html body #ov-sec-secondaries-reports .ov-snippet,
html body #ov-sec-data-checks .ov-snippet,
html body #ov-sec-data-integrity .ov-snippet,
html body #ov-sec-secondaries-discovery .ov-snippet { display: none; }

/* The two pages with the fewest words (Due diligence reports, Cortex Consult chat) give their lines equal rows: the card's
   spare height becomes even room between ruled lines, and the text steps up a size, so no card has a blank foot. */
#ov-panel-diligence .ov-blocks > .ov-block:has(> .ov-list),
#ov-panel-chat .ov-blocks > .ov-block:has(> .ov-list) { flex: 1 1 auto; display: flex; flex-direction: column; }
#ov-panel-diligence .ov-list,
#ov-panel-chat .ov-list { flex: 1 1 auto; grid-auto-rows: minmax(min-content, 1fr); gap: 0; }
html body #ov-panel-diligence .ov-list li,
html body #ov-panel-chat .ov-list li { display: flex; align-items: center; padding: 7.2px 0; border-top: 1px solid var(--ov-line); font-size: 14.4px !important; line-height: 1.45; }
html body #ov-panel-diligence .ov-list li:last-child,
html body #ov-panel-chat .ov-list li:last-child { border-bottom: 1px solid var(--ov-line); }
#ov-panel-diligence .ov-snippet,
#ov-panel-chat .ov-snippet { font-size: 14.4px !important; }

/* a list of products reads as columns when its card is wide */
@media (min-width: 1200px) {
  #ov-sec-managers-reports .ov-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 28px; }
  #ov-sec-managers-reports .ov-list li { padding-left: 0; }
  #ov-sec-managers-reports .ov-list li::before { display: none; }
}

/* ---------------------------------------------------------------- narrower and shorter windows */

/* Short screens: the same type, less air around it; the page body scrolls for what still does not fit. */
@media (max-height: 820px) {
  html body .ov-body { padding: 12px 20px 14px; }
  .ov-grid { gap: 12px; }
  html body .ov-lead { font-size: 23.4px !important; }
  .ov-sec-head { padding: 12px 14px 0 18px; }
  html body .ov-snippet { padding: 4px 18px 0; }
  .ov-blocks { padding: 8px 18px 12px; gap: 9px; }
  html body .ov-list { gap: 6px; }
  html body .ov-kpi { padding-top: 6px; padding-bottom: 6px; }
  html body .ov-kpi-v { font-size: 19.8px !important; }
  html body .ov-dg-node { padding-top: 6px; padding-bottom: 6px; }
}

@media (max-width: 1199px) {
  .ov-head { flex-wrap: wrap; gap: 8px 16px; padding: 8px 12px 8px 20px; }
  html body .ov-head .ov-title { flex: 1 1 auto; order: 1; }
  html body .ov-head .ov-x { order: 2; }
  html body .ov-head .ov-tabs { flex: 1 0 100%; order: 3; padding: 0 0 2px; }
  html body .ov-head .ov-tabs > .ov-tab { flex: 1 1 0; min-width: 0; justify-content: center; gap: 6px; padding: 4px 8px 4px 6px; }
  html body .ov-head .ov-tab-label { white-space: normal; font-size: 12.6px !important; line-height: 1.15; }
  .ov-grid > * { grid-column: span 6; }
  .ov-grid > .ov-lead,
  .ov-grid > .ov-stats,
  .ov-grid > .ov-flow,
  .ov-grid > .ov-linkbar { grid-column: 1 / -1; }
  #ov-sec-cortex-proof,
  #ov-sec-cortex-rag,
  #ov-sec-managers-reports { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  html body .ov-embed { min-height: 40px; padding: 6px 14px; }
  html body .ov-info { width: 40px; height: 40px; min-height: 40px; }
  html body .ov-btn { min-height: 44px; }
  html body .ov-tabs > .ov-tab { min-height: 44px; }
  html body .ov-x { width: 44px; height: 44px; min-height: 44px; }
}

/* The page cards as a grid of three. The display and the wrapping carry !important and html body because css/mobile.css
   forces every [role="tablist"] to a single nowrap row with its own scroll bar below 1025 px. */
@media (max-width: 999px) {
  html body .ov-tabs {
    display: grid !important;
    flex-wrap: wrap !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible !important;
  }
  html body .ov-tabs > .ov-tab { flex: none; min-width: 0; }
  html body .ov-tab-label { white-space: normal; }
}

@media (max-width: 760px) {
  .ov-grid > * { grid-column: 1 / -1; }
  html body .ov-lead { font-size: 22.5px !important; }
}

/* A phone: six numbered buttons in one row, each a 44 px target or more, and the page's own heading back above its cards. */
@media (max-width: 479px) {
  html body .ov-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  html body .ov-tabs > .ov-tab { justify-content: center; gap: 0; padding: 6px 0; }
  html body .ov-tab-label { display: none; }
  html body .ov-page-title { display: block; }
}

@media (max-width: 719px) {
  html body .ov-dialog {
    inset: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 0;
  }
  .ov-head { padding: 6px 12px 6px 16px; }
  html body .ov-body { padding: 12px 12px 16px; }
  .ov-foot { padding: 8px 12px; gap: 8px; }
  html body .ov-next-line { flex: 1 0 100%; order: -1; }
  html body .ov-dg-node.ov-dg-pop { min-height: 40px; }
  .ov-pop-root { padding: 8px; }
  html body .ov-kpi-v { font-size: 18.9px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ov-scrim, html body .ov-dialog { animation: none !important; }
  html body .ov-tabs > .ov-tab, html body .ov-btn, html body .ov-embed { transition: none !important; }
}

/* High-contrast mode drops box shadows and fills: the selected page card keeps a heavier edge, the arrows take the text colour. */
@media (forced-colors: active) {
  html body .ov-tabs > .ov-tab[aria-selected="true"] { border: 3px solid CanvasText; }
  .ov-dg-edges path { stroke: CanvasText; }
  .ov-dg-edges marker path { fill: CanvasText; }
}

@media print {
  .ov-root { display: none !important; }
}

/* Final touches (Moses, 2026-10-05): the six tab buttons are one size, the page headline has room above and below,
   and a tile's number sits closer to the size of the text round it (set above, 23px). */
@media (min-width: 1200px) {
  html body .ov-head { gap: 16px; }
  html body .ov-tabs { gap: 6px; }
  html body .ov-tabs > .ov-tab { flex: 1 1 0; min-width: 0; min-height: 44px; justify-content: flex-start; padding: 4px 12px 4px 10px; }
  html body .ov-tab-label { white-space: normal; font-size: 12.6px !important; line-height: 1.18; }
}
html body .ov-lead { padding-top: 10px; padding-bottom: 6px; }

/* Scaled to 90 percent (Moses, 2026-10-05): fonts, card spacing and the dialog; the flow diagram's box spacing is unchanged. */

/* ---------------------------------------------------------------- the cover
   The page the overview opens on (Moses, 2026-10-05: "the cover of our pitch"). It is the one dark page: the title bar's
   green runs down through it, the three claims are set large in the serif, and the six pages stand beside them as a
   list. Nothing here is a card. The inner pages stay light. */
html body .ov-dialog.ov-on-cover .ov-body { padding: 0; background: var(--ov-dark); }
html body .ov-cover:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  column-gap: 40px;
  align-items: center;
  flex: 1 0 auto;
  padding: 32px 40px;
  /* the claims take their size from the cover's own width (cqw below), so each claim holds one line at every width */
  container-type: inline-size;
  background: var(--ov-dark);
  color: #fff;
}
html body .ov-cover:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 0; }
html body .ov-cover-kicker {
  margin: 0 0 20px;
  font-family: var(--ov-sans);
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .005em;
  color: #9FDCC8;
}
html body .ov-cover-claim {
  margin: 0;
  font-family: var(--ov-serif);
  font-size: clamp(30px, 3.3cqw, 42px) !important;
  font-weight: 500;
  line-height: 1.12 !important;
  letter-spacing: -.016em;
  color: #fff;
}
html body .ov-cover-claim span { display: block; }
html body .ov-cover-sub {
  margin: 22px 0 0;
  max-width: 55ch;
  font-size: 18px !important;
  line-height: 1.5;
  color: #DDF0E9;
}
html body .ov-cover-proof { margin: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
html body .ov-cover-proof > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
html body .ov-cover-proof dt { margin: 0; font-size: 15.5px !important; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none; color: #fff; }
html body .ov-cover-proof dd { margin: 0; font-size: 15px !important; line-height: 1.45; color: #CDE8DE; }

html body .ov-cover-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
html body .ov-cover-index li { margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
html body .ov-cover-jump {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 17px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
html body .ov-cover-jump:hover { background: rgba(255, 255, 255, .09); }
html body .ov-cover-jump:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html body .ov-cover-n { font-family: var(--ov-serif); font-size: 29px !important; font-weight: 500; line-height: 1; color: #6FDDB9; font-variant-numeric: lining-nums; }
html body .ov-cover-t b { display: block; font-size: 16.5px !important; font-weight: 600; line-height: 1.3; color: #fff; }
html body .ov-cover-t span { display: block; margin-top: 3px; font-size: 14.5px !important; line-height: 1.4; color: #BFE3D5; }

/* One moment of motion, when the cover first shows: the three claims come up in turn. */
@keyframes ov-rise { from { opacity: 0; transform: translateY(10px); } }
html body .ov-cover-claim span { animation: ov-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
html body .ov-cover-claim span:nth-child(2) { animation-delay: .12s; }
html body .ov-cover-claim span:nth-child(3) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html body .ov-cover-claim span { animation: none !important; }
}

@media (max-height: 760px) {
  html body .ov-cover:not([hidden]) { padding-top: 22px; padding-bottom: 22px; }
  html body .ov-cover-kicker { margin-bottom: 12px; font-size: 16px !important; }
  html body .ov-cover-sub { margin-top: 14px; font-size: 16px !important; }
  html body .ov-cover-proof { margin-top: 18px; }
  html body .ov-cover-proof > div { padding: 8px 0; }
  html body .ov-cover-proof dt { font-size: 15px !important; }
  html body .ov-cover-proof dd { font-size: 14.5px !important; }
  html body .ov-cover-jump { padding: 9px 10px; }
  html body .ov-cover-t b { font-size: 16px !important; }
  html body .ov-cover-t span { font-size: 14px !important; }
}
@media (max-width: 1199px) {
  html body .ov-cover:not([hidden]) { grid-template-columns: minmax(0, 1fr); row-gap: 26px; padding: 26px 28px; }
  html body .ov-cover-claim { font-size: clamp(26px, 5.4cqw, 42px) !important; }
}
@media (max-width: 620px) {
  html body .ov-cover:not([hidden]) { padding: 20px 18px; }
  html body .ov-cover-claim { font-size: 28px !important; }
  html body .ov-cover-sub { font-size: 16px !important; }
  html body .ov-cover-proof > div { display: block; }
  html body .ov-cover-proof dd { margin-top: 2px; }
}
@media (forced-colors: active) {
  html body .ov-cover-jump { border: 1px solid CanvasText; }
}

/* Onboarding polish: existing copy and all six pages stay unchanged. */
html body .ov-dialog { isolation: isolate; }
html body .ov-head { border-bottom: 1px solid rgba(255, 255, 255, .14); }
html body .ov-tabs > .ov-tab { min-height: 44px; }
html body .ov-tab[aria-selected="true"] { box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
html body .ov-n { font-variant-numeric: tabular-nums; }
html body .ov-x, html body .ov-pop-x { border-radius: 8px; }
html body .ov-x:focus-visible, html body .ov-pop-x:focus-visible { border-radius: 8px; }
html body .ov-body { scroll-padding-block: 16px; }
html body .ov-lead { text-wrap: pretty; }
html body .ov-sec-head { align-items: center; }
html body .ov-sec-title { text-wrap: pretty; }
html body .ov-info { width: 30px; height: 30px; min-height: 30px; margin: -3px 0 0; }
html body .ov-kpi-v { font-size: 24px !important; }
html body .ov-kpi-r, html body .ov-stats-note { font-size: 12px !important; }
html body .ov-kpi { padding-top: 8px; padding-bottom: 8px; }
html body .ov-stats-note .ov-info { margin-top: 0; }
html body .ov-btn { font-size: 13px !important; border-radius: 8px; }
html body .ov-btn:focus-visible { border-radius: 8px; }
html body .ov-foot { gap: 8px; }
html body .ov-btn.primary { min-width: 86px; }
html body .ov-cover-kicker { max-width: 56ch; }
html body .ov-cover-claim span { animation: none; }
html body .ov-cover-claim { text-wrap: pretty; }
html body .ov-cover-sub { font-size: 17px !important; line-height: 1.55; }
html body .ov-cover-proof dt { font-size: 14.5px !important; }
html body .ov-cover-proof dd { font-size: 14px !important; line-height: 1.5; }
html body .ov-cover-jump { grid-template-columns: 32px minmax(0, 1fr) 10px; column-gap: 12px; min-height: 74px; padding: 14px 10px; }
html body .ov-cover-jump::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); color: #9FDCC8; }
html body .ov-cover-t b { font-size: 16px !important; }
html body .ov-cover-t span { font-size: 14px !important; }
html body .ov-pop-head { padding: 12px 12px 0 22px; }
html body .ov-pop-body { padding: 10px 22px 22px; }
@media (min-width: 1200px) and (max-height: 820px) {
  html body .ov-body { padding: 12px 20px; }
  .ov-grid { gap: 10px; }
  html body .ov-kpi-v { font-size: 22px !important; }
  html body .ov-sec-head { padding-top: 10px; }
  html body .ov-cover:not([hidden]) { padding: 24px 36px; column-gap: 32px; }
  html body .ov-cover-proof { margin-top: 22px; }
  html body .ov-cover-proof > div { padding: 10px 0; }
  html body .ov-cover-jump { min-height: 68px; padding-block: 10px; }
}
@media (max-width: 1199px) {
  html body .ov-head { padding: 8px 14px 10px 20px; gap: 8px 16px; }
  html body .ov-tabs > .ov-tab { align-items: center; }
  html body .ov-cover:not([hidden]) { padding: 28px; }
}
@media (max-width: 1024px), (pointer: coarse) {
  html body .ov-info { width: 44px; height: 44px; min-height: 44px; margin: -8px -6px -4px 0; }
  html body .ov-stats-note .ov-info { margin-top: 0; }
  html body .ov-embed { min-height: 44px; }
}
@media (max-width: 719px) {
  html body .ov-title { font-size: 22px !important; }
  html body .ov-head { padding: 8px 12px; }
  html body .ov-cover:not([hidden]) { padding: 24px 20px; row-gap: 28px; }
  html body .ov-cover-claim { font-size: clamp(27px, 5.4vw, 36px) !important; }
  html body .ov-cover-sub { font-size: 16px !important; }
  html body .ov-cover-proof > div { grid-template-columns: 126px minmax(0, 1fr); gap: 12px; }
  html body .ov-cover-jump { min-height: 72px; padding-inline: 8px; }
  html body .ov-next-line { font-size: 12px !important; }
  html body .ov-btn { padding-inline: 14px; }
  html body .ov-compare tbody th { white-space: normal; width: 25%; }
  html body .ov-compare th, html body .ov-compare td { padding: 8px; overflow-wrap: break-word; }
  html body .ov-pop-root { padding: 12px; }
  html body .ov-pop-body { padding: 10px 18px 20px; }
}


/* ---------------------------------------------------------------- the welcome
 * A small dialog in the System Overview's colours: the dark green title bar, the white body, the jade accents. It offers
 * two choices of equal weight, so both are drawn with one rule and neither is the filled button. Side by side from 521 px,
 * stacked below that. The rules carry html body so they outweigh css/mobile.css, which pins every role="dialog" box. */

html body .ov-wdialog {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  width: min(640px, calc(100vw - 24px)) !important;
  height: fit-content !important;
  max-width: none !important;
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ov-ink-2);
  border: 1px solid var(--ov-line);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(12, 31, 28, .34);
  overflow: hidden;
  outline: none;
  font-family: var(--ov-sans);
  font-size: 14px !important;
  line-height: 1.5;
  animation: ov-in .2s ease-out both;
}
html body .ov-wdialog:focus-visible { outline: none; }

.ov-whead {
  flex: none;
  padding: 14px 24px;
  background: var(--ov-dark);
  color: #fff;
}
html body .ov-wtitle {
  margin: 0;
  font-family: var(--ov-serif);
  font-size: 23px !important;
  font-weight: 500;
  line-height: 1.2 !important;
  letter-spacing: 0;
  color: #fff;
}

.ov-wbody {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px 8px;
}
html body .ov-wabout {
  margin: 0 0 16px;
  max-width: 46ch;
  font-size: 15.5px !important;
  line-height: 1.5;
  color: var(--ov-ink-2);
}

.ov-wchoices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
html body .ov-wchoice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 112px;
  padding: 16px 18px;
  border: 1px solid var(--ov-line-strong);
  border-radius: 12px;
  background: var(--ov-jade-soft);
  color: var(--ov-ink-2);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
html body .ov-wchoice:hover { border-color: var(--ov-jade); background: var(--ov-jade-soft-2); }
html body .ov-wchoice:focus-visible { border-radius: 12px; }
html body .ov-wc-t {
  font-family: var(--ov-serif);
  font-size: 21px !important;
  font-weight: 500;
  line-height: 1.2 !important;
  color: var(--ov-dark);
}
html body .ov-wc-d {
  font-size: 14px !important;
  line-height: 1.45;
  color: var(--ov-muted);
}

html body .ov-wc-a {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ov-jade-dark);
}
html body .ov-wchoice:hover .ov-wc-a { text-decoration: underline; text-underline-offset: 3px; }

.ov-wfoot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 24px 16px;
}
html body .ov-woff {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px !important;
  color: var(--ov-ink-2);
  cursor: pointer;
}
html body .ov-woff input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ov-jade);
  cursor: pointer;
}

@media (max-width: 520px) {
  .ov-wchoices { grid-template-columns: 1fr; }
  html body .ov-wchoice { min-height: 0; }
  .ov-whead { padding: 12px 18px; }
  .ov-wbody { padding: 16px 18px 4px; }
  .ov-wfoot { padding: 4px 18px 14px; }
}

/* A phone (Moses, 2026-10-13): the welcome fills the window's width minus a 12 px margin on each side. Its body, the option
 * grid and each option take the full width of that box with min-width 0 (the body measured 36 px wide, all padding, with
 * 141 px of text); the Close button and the tick box reach 44 px. */
@media (max-width: 600px) {
  html body .ov-wdialog {
    width: calc(100vw - 24px) !important; max-width: calc(100vw - 24px) !important; min-width: 0 !important;
    box-sizing: border-box;
  }
  html body .ov-wdialog > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
  html body .ov-wbody { width: 100%; padding: 16px 18px 8px; }
  html body .ov-wabout { max-width: none; font-size: 16px !important; }
  html body .ov-wchoices { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  html body .ov-wchoice { width: 100%; min-width: 0; box-sizing: border-box; }
  html body .ov-wfoot { flex-wrap: wrap; row-gap: 4px; }
  html body .ov-wfoot .ov-btn { min-width: 96px; min-height: 44px; }
  html body .ov-woff input[type="checkbox"] { width: 44px; height: 44px; margin: -11px; }
}

@media (prefers-reduced-motion: reduce) {
  html body .ov-wdialog, .ov-welcome .ov-scrim { animation: none !important; }
  html body .ov-wchoice { transition: none !important; }
}
