/* Reading layout for article pages (/Articles/). Load after landing.min.css.
   Fixes found in the 7 Oct 2026 reader audit; every rule is limited to the article body (.clean-block),
   except 7, which shows the hero headline without the fade-in. */

/* 1. Left-aligned text. Justified text leaves uneven gaps between words, worst on phones. */
.clean-block .p-justify,
.clean-block .ol-main,
.clean-block .ol-main li { text-align: left; }

/* 2. About 70 characters per line (64ch) (desktop lines ran to 100-125). Section 9 replaces this with one rem-based column. */
.clean-block .block-heading > p:not(.p-center),
.clean-block .block-heading > ul,
.clean-block .block-heading > h2,
.clean-block .block-heading > h3,
.clean-block .block-heading > h4,
.clean-block .block-heading > blockquote { max-width: 64ch; margin-left: auto; margin-right: auto; }
.clean-block .block-heading > ol,
.clean-block .block-heading > ol.ol-main { max-width: 64ch; margin-left: auto !important; margin-right: auto; padding-left: 2rem; }
.clean-block .block-heading > h2,
.clean-block .block-heading > h3 { text-wrap: balance; }

/* 3. Inline code stays inside its sentence. style.min.css turns every <code> into a grey block,
   which split sentences ("draw each input with [RAND()] and ...") and clipped the text. */
.clean-block p code,
.clean-block li code,
.clean-block td code { display: inline; margin: 0; padding: 0 .25em; border-radius: 3px; font-size: .92em;
  font-family: SFMono-Regular, Menlo, Consolas, monospace; color: #0C3E51; background: #EEF3F5; overflow-wrap: anywhere; }

/* 4. Tables never run off the screen. A table wider than the screen scrolls sideways inside its own box,
   with a visible scrollbar (the site hid it), and tall tables no longer scroll inside the page. */
.clean-block .table-responsive { max-height: none; overflow-x: auto; }
.clean-block .table-responsive::-webkit-scrollbar { height: 6px; }
.clean-block .table-responsive::-webkit-scrollbar-thumb { background: #C5CCD3; border-radius: 3px; }
@media (max-width: 767.98px) {
  .clean-block .block-heading table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .clean-block .table-responsive table { display: table; }
  /* Tables with five or more columns say that they scroll. */
  .clean-block .block-heading table:not(.stack-sm):has(tr > :nth-child(5))::before,
  .clean-block .table-responsive:has(table:not(.stack-sm) tr > :nth-child(5))::before {
    content: "Swipe the table sideways to see every column \2192"; display: block; position: sticky; left: 0;
    padding: .2rem 0 .4rem; font-size: .8rem; color: #5A6573; text-align: left; }
}

/* 5. Figures keep their shape while loading. */
.clean-block .block-heading img { height: auto; }

/* 6. Long formulas in their own line scroll sideways instead of widening the page on phones. */
.clean-block .block-heading > p.p-center { max-width: 100%; overflow-x: auto; }

/* 7. The headline shows at once. The shared appearingBox animation (landing.min.css) fades the hero title in from
   invisible over 3 seconds; on article pages it starts in its finished state. This file only loads on /Articles/. */
.main-hero .appearingBox { animation: none; opacity: 1; bottom: 20px; }

/* 8. Reusable pieces for article pages. */
/* "On this page" list under the opening answer. */
.clean-block .article-toc { max-width: 64ch; margin: 1.5rem auto 0; padding: 1rem 1.25rem; text-align: left; background: #F3F6F8; border-radius: 10px; }
.clean-block .article-toc strong { display: block; font-size: .95rem; margin-bottom: .4rem; color: #0C3E51; }
.clean-block .article-toc ol { margin: 0; padding-left: 1.25rem; columns: 2 16rem; column-gap: 2rem; font-size: .95rem; }
.clean-block .article-toc li { padding: 0; margin: 0 0 .3rem; float: none; width: auto; height: auto; text-align: left; break-inside: avoid; }
.clean-block .article-toc a { color: #0C3E51; }
/* A long formula on its own line: one line that scrolls sideways if it has to. */
.clean-block .article-formula { max-width: 64ch; margin: 0 auto 1rem; padding: .6rem .8rem; overflow-x: auto; white-space: nowrap; text-align: left;
  font: .9rem/1.5 SFMono-Regular, Menlo, Consolas, monospace; color: #0C3E51; background: #EEF3F5; border-radius: 6px; }
/* Comparison tables that turn into one card per row on phones (cells need data-label). */
@media (max-width: 767.98px) {
  .clean-block table.stack-sm, .clean-block .table-responsive table.stack-sm { display: block; }
  .clean-block table.stack-sm thead { display: none; }
  .clean-block table.stack-sm tbody, .clean-block table.stack-sm tr, .clean-block table.stack-sm td { display: block; width: 100%; }
  .clean-block table.stack-sm tr { margin-bottom: .75rem; border: 1px solid #DCE2E9; border-radius: 8px; overflow: hidden; }
  .clean-block table.stack-sm td { border: 0; padding: .35rem .75rem; }
  .clean-block table.stack-sm td:first-child { font-weight: 600; color: #0C3E51; background: #F3F6F8; padding-top: .55rem; padding-bottom: .55rem; }
  .clean-block table.stack-sm td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .8rem; color: #5A6573; }
}

/* 9. One reading column (7 Oct re-audit). 64ch is measured in each element's own font, so headings
   (much larger type) were never capped and stayed centred across 1,100-1,300 px above a 627 px text column,
   while tables ran to the full container. Use rem so text, headings, lists, contents and formulas share one
   width and one left edge, and give tables, figures and the widget one shared wider width on the same axis. */
.clean-block { --kb-measure: 36rem; --kb-wide: 50rem; }
.clean-block .block-heading > p:not(.p-center),
.clean-block .block-heading > ul,
.clean-block .block-heading > ol,
.clean-block .block-heading > ol.ol-main,
.clean-block .block-heading > h2,
.clean-block .block-heading > h3,
.clean-block .block-heading > h4,
.clean-block .block-heading > blockquote,
.clean-block .article-toc,
.clean-block .article-formula { max-width: var(--kb-measure); margin-left: auto; margin-right: auto; }
.clean-block .block-heading > h2,
.clean-block .block-heading > h3,
.clean-block .block-heading > h4 { text-align: left; }
/* Body text one step larger: about 74 characters per line at 36rem. */
.clean-block .block-heading > p:not(.p-center),
.clean-block .block-heading > ul > li,
.clean-block .block-heading > ol > li { font-size: 1.0625rem; line-height: 1.7; }
/* Tables, figures and the interactive widget: one wider width, centred on the same axis as the text. */
.clean-block .block-heading > .table-responsive,
.clean-block .block-heading > table,
.clean-block .block-heading > p.p-center { max-width: var(--kb-wide); margin-left: auto; margin-right: auto; }
/* The interactive widget needs room for its slider column and chart side by side. */
.clean-block .block-heading > #sxw { max-width: 60rem; margin-left: auto; margin-right: auto; }
/* Pages built from nested boxes (IDW PS 340) get the same column. */
.clean-block .feature-box > p,
.clean-block .feature-box > ul,
.clean-block .feature-box > ol,
.clean-block .feature-box > h2,
.clean-block .feature-box > h3,
.clean-block .feature-box > h4,
.clean-block .feature-box > hr { max-width: var(--kb-measure); margin-left: auto; margin-right: auto; text-align: left; }
.clean-block .feature-box > p,
.clean-block .feature-box > ul > li,
.clean-block .feature-box > ol > li { font-size: 1.0625rem; line-height: 1.7; }
/* Breathing room between a table and the text that follows it. */
.clean-block .block-heading > .table-responsive,
.clean-block .block-heading > table { margin-bottom: 1.25rem !important; }  /* !important: some tables set margin:0 inline */
/* Multi-line cells read from the top of the row, not the middle (some tables set vertical-align:middle inline). */
.clean-block .block-heading table { vertical-align: top !important; }

/* 10. Tables. Every article table gets one designed look: a white card with rounded corners, a dark-teal header,
   hairline rows instead of grey stripes, and numbers in aligned columns. assets/js/article-tables.js adds the
   classes used below (t-num, t-vose, t-kv, t-grid, t-text, stack-sm); without it, tables keep the base look. */
.clean-block .block-heading table.table {
  --bs-table-bg: #fff; --bs-table-striped-bg: transparent; --bs-table-accent-bg: transparent;
  border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #D5DEE5; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(12, 62, 81, .05), 0 12px 28px -18px rgba(12, 62, 81, .35);
  font-size: .95rem; line-height: 1.5; color: #1E2532; font-variant-numeric: tabular-nums; text-align: left;
}
.clean-block .block-heading table.table > :not(caption) > * > * {
  padding: .7rem 1rem; border-width: 0 0 1px 0; border-style: solid; border-color: #E6ECF0; box-shadow: none; background-color: transparent; }
.clean-block .block-heading table.table > thead > tr > th {
  background-color: #0C3E51; color: #fff; font-weight: 600; font-size: .86rem; line-height: 1.35; vertical-align: bottom; border-bottom: 0; }
.clean-block .block-heading table.table > thead > tr:first-child > :first-child { border-top-left-radius: 11px; }
.clean-block .block-heading table.table > thead > tr:first-child > :last-child { border-top-right-radius: 11px; }
.clean-block .block-heading table.table > tbody > tr:last-child > * { border-bottom: 0; }
.clean-block .block-heading table.table > tbody > tr:last-child > :first-child { border-bottom-left-radius: 11px; }
.clean-block .block-heading table.table > tbody > tr:last-child > :last-child { border-bottom-right-radius: 11px; }
.clean-block .block-heading table.table > tbody > tr > :first-child { font-weight: 600; color: #0C3E51; }
@media (hover: hover) { .clean-block .block-heading table.table:not(.t-grid) > tbody > tr:hover > * { background-color: #F4F8FA; } }
/* Numbers line up on the right; a dash for "nothing" is greyed. */
.clean-block .block-heading table .t-num { text-align: right; white-space: nowrap; }
.clean-block .block-heading table .t-nil { color: #9AA6B2; }
/* Comparisons: the Vose product's column is tinted, with a blue header. */
.clean-block .block-heading table.table > thead > tr > th.t-vose { background-color: #1D64C0; }
.clean-block .block-heading table.table > tbody > tr > td.t-vose { background-color: #EEF5FC; color: #0C3E51; }
/* Result lists (a label and one number): the number is the point, so it is set in bold. */
.clean-block .block-heading table.t-kv > tbody > tr > :first-child { font-weight: 400; color: #1E2532; }
.clean-block .block-heading table.t-kv td.t-num { font-weight: 700; color: #0C3E51; font-size: 1.02rem; }
/* Text tables: the first column reads as a label. */
.clean-block .block-heading table.t-text > tbody > tr > :first-child { background-color: #F4F8FA; }
/* Two-way data tables: each cell is shaded by its value (red below zero, green above), set by the script. */
.clean-block .block-heading table.t-grid td.t-num { text-align: center; font-weight: 500; }
.clean-block .block-heading table.t-grid td.t-strong { color: #fff; }
.clean-block .block-heading table.t-grid > tbody > tr > :first-child { background-color: #F4F8FA; text-align: center; }
.clean-block .block-heading table.t-grid > tbody > tr > * { border-color: #fff; }
@media (max-width: 767.98px) {
  /* Wide number tables scroll with the first column pinned. */
  .clean-block .block-heading table.table:not(.stack-sm) > * > tr > :first-child { position: sticky; left: 0; z-index: 1; }
  .clean-block .block-heading table.table:not(.stack-sm) > tbody > tr > :first-child:not([style]) { background-color: #fff; box-shadow: 1px 0 0 #E6ECF0; }
  .clean-block .block-heading table.t-text:not(.stack-sm) > tbody > tr > :first-child { background-color: #F4F8FA; }
  /* Text tables become one card per row: the card replaces the table frame. */
  .clean-block .block-heading table.table.stack-sm { border: 0; box-shadow: none; background: transparent; border-radius: 0; }
  .clean-block .block-heading table.table.stack-sm > tbody > tr { background: #fff; border: 1px solid #D5DEE5; border-radius: 10px;
    box-shadow: 0 8px 20px -16px rgba(12, 62, 81, .35); }
  .clean-block .block-heading table.table.stack-sm > tbody > tr > * { border: 0; border-radius: 0; padding: .45rem .9rem; text-align: left; white-space: normal; }
  .clean-block .block-heading table.table.stack-sm > tbody > tr > :first-child { background-color: #0C3E51; color: #fff; padding: .6rem .9rem; }
}

/* 11. Article visuals (vz-). Charts, cards, steps and big numbers that replace tables where a table was the
   wrong shape for the data. Plain HTML and CSS, no script: bar lengths and positions are inline percentages
   written into the page, and every chart keeps its source table under "See the numbers", so the figures stay
   in the HTML for readers, Google and AI assistants. */
.vz { --vz-teal:#0C3E51; --vz-blue:#1D64C0; --vz-sky:#4E8BC4; --vz-ink:#1E2532; --vz-ink2:#5A6573; --vz-ink3:#8A95A2;
  --vz-line:#DCE3E8; --vz-tint:#F4F8FA; --vz-red:#C02A2A; --vz-green:#23704A; --vz-amber:#C77700;
  margin: 1.5rem auto 1.75rem; max-width: 50rem; color: var(--vz-ink); font-variant-numeric: tabular-nums; text-align: left; }
.vz-card { background:#fff; border:1px solid #D5DEE5; border-radius:12px; padding: 1.25rem 1.4rem 1.1rem;
  box-shadow: 0 1px 2px rgba(12,62,81,.05), 0 12px 28px -18px rgba(12,62,81,.35); }
.vz-title { font-size: 1.05rem; font-weight: 700; color: var(--vz-teal); margin: 0 0 .2rem; line-height: 1.35; }
.vz-sub { font-size: .9rem; color: var(--vz-ink2); margin: 0 0 1rem; line-height: 1.45; }
.vz-note { font-size: .82rem; color: var(--vz-ink2); margin: .9rem 0 0; line-height: 1.45; }
.vz details { margin-top: .9rem; font-size: .88rem; }
.vz summary { cursor: pointer; color: var(--vz-blue); font-weight: 600; }
.vz details table { margin-top: .6rem; }
.vz .vz-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vz details.vz-numbers > .table-responsive, .vz details.vz-numbers > table { margin-top: .6rem; }
.vz details.vz-numbers .table { margin-bottom: 0 !important; }
/* Horizontal bars */
.vz-bars { display: grid; gap: .55rem; }
.vz-bar { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: .9rem; align-items: center; }
.vz-bar-l { font-size: .9rem; font-weight: 600; color: var(--vz-teal); line-height: 1.25; }
.vz-bar-l small { display:block; font-weight: 400; color: var(--vz-ink2); font-size: .78rem; }
.vz-track { position: relative; height: 1.9rem; background: var(--vz-tint); border-radius: 6px; }
.vz-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--vz-sky); }
.vz-fill.is-key { background: var(--vz-teal); }
.vz-fill.is-good { background: var(--vz-green); }
.vz-fill.is-bad { background: var(--vz-red); }
.vz-val { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .86rem; font-weight: 700; color: var(--vz-ink); padding-left: .5rem; }
.vz-val small { font-weight: 400; color: var(--vz-ink2); }
.vz-ref { position: absolute; top: -.35rem; bottom: -.35rem; border-left: 2px dashed var(--vz-ink3); }
.vz-ref-l { position: absolute; top: -1.35rem; transform: translateX(-50%); font-size: .72rem; color: var(--vz-ink2); white-space: nowrap; }
/* Range rows (P50 to P95 with markers) */
.vz-ranges { display: grid; gap: .7rem; }
.vz-range { display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr minmax(4.5rem, 7.5rem); gap: .9rem; align-items: center; }
.vz-rtrack { position: relative; height: 1.6rem; }
.vz-rtrack::before { content:""; position:absolute; left:0; right:0; top:50%; border-top:1px solid var(--vz-line); }
.vz-rbar { position: absolute; top: .45rem; bottom: .45rem; background: var(--vz-sky); border-radius: 4px; opacity: .85; }
.vz-rbar.is-key { background: var(--vz-green); }
.vz-dot { position: absolute; top: 50%; width: .8rem; height: .8rem; margin: -.4rem 0 0 -.4rem; border-radius: 50%; background: #fff; border: 2px solid var(--vz-teal); }
.vz-tick { position: absolute; top: .2rem; bottom: .2rem; width: 2px; margin-left: -1px; background: var(--vz-teal); }
.vz-side { font-size: .86rem; text-align: right; }
.vz-side b { display:block; font-size: 1rem; }
.vz-axisrow { margin-top: .3rem; }
.vz-axis { position: relative; height: 1.3rem; font-size: .74rem; color: var(--vz-ink2); }
.vz-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.vz-legend { display:flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .8rem; color: var(--vz-ink2); margin-top: .7rem; }
.vz-legend i { display:inline-block; vertical-align: middle; margin-right: .35rem; }
.vz-legend .vz-sw { width: .9rem; height: .6rem; border-radius: 2px; }
.vz-legend .vz-sw-tick { width: 2px; height: .9rem; background: var(--vz-teal); }
.vz-legend .vz-sw-dot { position: static; margin: 0 .35rem 0 0; }
/* Reference line: one line across all rows in the track column; per-track pieces on phones */
.vz-plot { position: relative; }
.vz-overlay { position: absolute; inset: -.4rem 0; pointer-events: none; }
.vz-olay { position: relative; align-self: stretch; }
.vz-ref-row { display: none; }
.vz-rtrack > * { z-index: 1; } .vz-rtrack > .vz-ref-row { z-index: 0; }
/* Dumbbells (before -> after on one scale) */
.vz-dumb .vz-rtrack .vz-link { position:absolute; top:50%; height:3px; margin-top:-1.5px; background: var(--vz-amber); }
.vz-dot.is-open { border-color: var(--vz-ink3); }
.vz-dot.is-fill { background: var(--vz-amber); border-color: var(--vz-amber); }
/* Steps */
.vz-steps { list-style: none; margin: 0; padding: 0; counter-reset: vzs; }
.vz-steps > li { position: relative; padding: 0 0 1.1rem 3.1rem; counter-increment: vzs; }
.vz-steps > li::before { content: counter(vzs); position:absolute; left:0; top:0; width:2.1rem; height:2.1rem; border-radius:50%;
  background: var(--vz-teal); color:#fff; font-weight:700; display:flex; align-items:center; justify-content:center; font-size:.95rem; }
.vz-steps > li::after { content:""; position:absolute; left:1.02rem; top:2.3rem; bottom:.2rem; border-left:2px solid var(--vz-line); }
.vz-steps > li:last-child { padding-bottom: 0; } .vz-steps > li:last-child::after { display:none; }
.vz-steps h3 { margin: .25rem 0 .2rem; font-size: 1rem; color: var(--vz-teal); font-weight: 700; text-align: left; }
.vz-steps p { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--vz-ink); }
/* Cards */
.vz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .9rem; }
.vz-cards > div { background:#fff; border:1px solid #D5DEE5; border-radius:12px; padding: 1rem 1.1rem; display:flex; flex-direction:column; gap:.45rem;
  box-shadow: 0 10px 24px -20px rgba(12,62,81,.45); border-top: 4px solid var(--vz-teal); }
.vz-cards h3 { margin:0; font-size:1.05rem; color: var(--vz-teal); font-weight:700; text-align:left; }
.vz-chip { align-self:flex-start; font-size:.74rem; font-weight:600; color: var(--vz-blue); background:#EAF2FB; border-radius:999px; padding:.15rem .6rem; }
.vz-cards p { margin:0; font-size:.9rem; line-height:1.5; color: var(--vz-ink); }
.vz-cards a { margin-top:auto; font-size:.88rem; font-weight:600; color: var(--vz-blue); text-decoration:none; }
/* Big numbers */
.vz-stats { display:grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .9rem; }
.vz-stat { background: var(--vz-tint); border-radius: 10px; padding: .9rem 1rem; }
.vz-stat b { display:block; font-size: 1.75rem; line-height:1.1; color: var(--vz-teal); font-weight: 700; }
.vz-stat.is-alert b { color: var(--vz-red); }
.vz-stat span { display:block; font-size: .84rem; color: var(--vz-ink2); margin-top: .3rem; line-height: 1.4; }
@media (max-width: 600px) {
  .vz-card { padding: 1rem; }
  .vz-bar { grid-template-columns: 1fr; gap: .25rem; }
  .vz-track { height: auto; background: none; }
  .vz-track::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .9rem; background: var(--vz-tint); border-radius: 5px; }
  .vz-fill { position: relative; height: .9rem; border-radius: 5px; }
  .vz-val { position: static; transform: none; display: block; white-space: normal; padding: .3rem 0 0; }
  .vz-range { grid-template-columns: 1fr auto; } .vz-range .vz-rtrack { grid-column: 1 / -1; grid-row: 2; }
  .vz-overlay { display: none; } .vz-ref-row { display: block; top: -.2rem; bottom: -.2rem; }
  .vz-axisrow > span { display: none; } .vz-axisrow .vz-axis { grid-column: 1 / -1; }
}
/* Decision cards: a short label over each part */
.vz-cards .vz-k { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vz-ink2); margin: 0; }
.vz-cards .vz-k + p { margin-top: -.25rem; }
.vz-cards > div.is-key { border-top-color: var(--vz-blue); }
/* Likelihood x impact matrix (5 x 5) */
.vz-matrix { display: grid; grid-template-columns: 1.6rem 2.2rem repeat(5, minmax(0, 1fr)); gap: 3px; font-size: .78rem; }
.vz-matrix .vz-c { min-height: 3.6rem; border-radius: 4px; padding: .3rem; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: .2rem; text-align: center; }
.vz-matrix .vz-c.g { background: #DCEFE3; } .vz-matrix .vz-c.a { background: #FBE7C2; } .vz-matrix .vz-c.r { background: #F6D3D0; }
.vz-matrix .vz-c b { display: block; background: #fff; color: var(--vz-teal); border-radius: 999px; padding: .1rem .45rem; font-size: .74rem;
  line-height: 1.3; box-shadow: 0 1px 2px rgba(12,62,81,.2); }
.vz-matrix .vz-n { display: flex; align-items: center; justify-content: center; color: var(--vz-ink2); font-weight: 600; }
.vz-matrix .vz-ylab { grid-row: 1 / span 5; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; color: var(--vz-ink2);
  font-size: .76rem; display: flex; align-items: center; justify-content: center; }
.vz-matrix .vz-xlab { grid-column: 3 / -1; text-align: center; color: var(--vz-ink2); font-size: .76rem; }
.vz.vz-plain { background: none; border: 0; box-shadow: none; padding: 0; }
.vz-side b.vz-good { color: var(--vz-green); } .vz-side b.vz-bad { color: var(--vz-red); }
/* Card grids sized to their count, so no card sits alone in a row */
.vz-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vz-cards.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.vz-cards.n5 > div { grid-column: span 2; } .vz-cards.n5 > div:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 600px) { .vz-axis .vz-minor { display: none; } .vz-cards.n4, .vz-cards.n5 { grid-template-columns: minmax(0, 1fr); } .vz-cards.n5 > div { grid-column: auto !important; } }

/* 12. Lists, figure text and spreadsheet formulas (8 Oct 2026). A plain <ul> in the article body inherited the
   centred text of .block-heading, so its bullet points were centred (Monte Carlo simulation in Excel). Text inside
   figures uses proportional figures: tabular-nums also widens the hyphen in this font ("three - point"). */
.clean-block .block-heading > ul,
.clean-block .block-heading > ul > li,
.clean-block .block-heading > ol > li { text-align: left; }
.vz-title, .vz-sub, .vz-note, .vz-steps, .vz-cards, .vz-bar-l { font-variant-numeric: normal; }
/* Spreadsheet formulas, one per row: what the cell holds, then the formula. Stacks on phones. */
.clean-block .xl-rows { max-width: var(--kb-measure); margin: 0 auto 1.25rem; padding: .3rem 1rem; text-align: left; background: #EEF3F5; border-radius: 8px; }
.clean-block .xl-rows > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: .1rem 1rem; padding: .5rem 0; border-top: 1px solid #D5DEE5; align-items: baseline; }
.clean-block .xl-rows > div:first-child { border-top: 0; }
.clean-block .xl-rows span { font-size: .9rem; line-height: 1.4; color: #5A6573; }
.clean-block .xl-rows code { display: block; margin: 0; padding: 0; border: 0; background: none; white-space: normal; overflow-wrap: anywhere;
  font: .92rem/1.5 SFMono-Regular, Menlo, Consolas, monospace; color: #0C3E51; }
@media (max-width: 575.98px) { .clean-block .xl-rows > div { grid-template-columns: minmax(0, 1fr); } }

/* 13. Wide screens (12 Oct 2026). From 1,200 px the reading column sat at 576 px whatever the screen, 30% of a
   1,920 px monitor, with the headings wrapping onto three lines. Here the page gets a contents rail on the left
   (built by assets/js/article-contents.js from the h2s; data-toc gives a short label, data-toc="skip" leaves one out),
   one size larger type, a wider text column that still keeps to about 70-80 characters a line, and charts and
   tables that use the full width to the right of the rail. Text, headings, charts and tables share one left edge.
   Phones and tablets keep sections 1-12 unchanged. Pages built from nested boxes (IDW PS 340) are left as they are. */
.kb-rail { display: none; }
@media (min-width: 1200px) {
  main#main-content { position: relative; }
  main#main-content:not(:has(.feature-box)) .clean-block { --kb-measure: 42rem; --kb-rail: 15rem; --kb-gap: 3rem; }
  main#main-content:not(:has(.feature-box)) .clean-block > .container { padding-left: calc(.75rem + var(--kb-rail) + var(--kb-gap)); }
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading { text-align: left; }
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > * { margin-left: 0 !important; margin-right: auto !important; }
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > h2,
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > h3 { max-width: 52rem; scroll-margin-top: 110px; }
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > p:not(.p-center),
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > ul > li,
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > ol > li,
  main#main-content:not(:has(.feature-box)) .clean-block .xl-rows { font-size: 1.125rem; line-height: 1.75; }
  /* Charts, tables and the widget fill the width to the right of the rail. Pictures, their captions and formulas
     (p.p-center) keep 50rem and the 5 x 5 matrix 46rem, because wider would only make them taller. */
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > figure.vz,
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > details,
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > #sxw { max-width: 100%; }
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > p.p-center { max-width: var(--kb-wide); }
  /* Tables stop at 54rem so no cell line runs past about 85 characters. */
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > .table-responsive,
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > table { max-width: 54rem; }
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > figure.vz:has(.vz-matrix) { max-width: 46rem; }
  /* A call-to-action banner in the middle of an article passes over the rail. */
  main#main-content .clean-block ~ section:not(.clean-block) { position: relative; z-index: 6; }

  .kb-rail { display: block; position: absolute; z-index: 5; }
  .kb-rail-in { position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; padding: 0 .25rem 1rem 0; text-align: left; }
  .kb-rail-h { margin: 0 0 .6rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5A6573; }
  .kb-rail ol { list-style: none; margin: 0 0 1.5rem; padding: 0; border-left: 1px solid #DCE2E9; }
  .kb-rail li { margin: 0; padding: 0; float: none; width: auto; height: auto; }
  .kb-rail li a { display: block; margin-left: -1px; padding: .3rem 0 .3rem .9rem; border-left: 2px solid transparent;
    font-size: .875rem; line-height: 1.35; color: #3B4654; text-decoration: none; }
  .kb-rail li a:hover { color: #0C3E51; border-left-color: #8A95A2; }
  .kb-rail a:focus-visible { outline: 2px solid #1D64C0; outline-offset: 2px; }
  .kb-rail li a.is-on { color: #0C3E51; font-weight: 600; border-left-color: #1D64C0; }
  .kb-rail-cta { padding: 1rem; border-radius: 10px; background: #F3F6F8; }
  .kb-rail-cta p { margin: 0 0 .5rem; font-size: .9rem; font-weight: 600; color: #0C3E51; }
  .kb-rail-cta .kb-dl { display: block; margin-bottom: .75rem; font-size: .85rem; line-height: 1.4; color: #1D64C0; }
  .kb-rail-cta .btn { width: 100%; font-size: .9rem; }
}
/* Short laptop screens: a tighter list, so a long contents list still fits beside the text. */
@media (min-width: 1200px) and (max-height: 780px) {
  .kb-rail li a { padding-top: .2rem; padding-bottom: .2rem; }
  .kb-rail ol { margin-bottom: 1rem; }
  .kb-rail-cta { padding: .75rem 1rem; }
}
@media (min-width: 1400px) {
  main#main-content:not(:has(.feature-box)) .clean-block { --kb-measure: 46rem; --kb-rail: 16rem; --kb-gap: 4rem; }
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > p:not(.p-center),
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > ul > li,
  main#main-content:not(:has(.feature-box)) .clean-block .block-heading > ol > li,
  main#main-content:not(:has(.feature-box)) .clean-block .xl-rows { font-size: 1.1875rem; }
}
/* In-page links (the contents list, footnotes and their back links, "jump to" links, widget links) land below the site
   menu, which is fixed from 992 px and 79 px tall (16 Oct 2026). Before this only h2/h3 had an offset, and only from
   1,200 px, so footnotes, sections and widgets scrolled to the very top of the window, behind the menu. */
@media (min-width: 992px) {
  main#main-content [id] { scroll-margin-top: 110px; }
}

/* 14. Design D (19 Oct 2026). The article pages in the look of the redesigned site (product and comparison pages):
   a teal opening with the type of article, the headline, the date, the reading time, jump links, the trial button and a
   "short answer" card (includes/article-hero.php); one white reading page with thin dividers between sections, Raleway
   headings and IBM Plex Sans text; calculation cards, framed pictures with an Enlarge button, numbered step cards,
   collapsible questions in a grey band, a "Keep reading" row (includes/article-more.php) and the product banner as the
   closing band. Under 1,200 px a sticky "On this page" bar replaces the contents rail (assets/js/article-contents.js).
   Every rule is limited to pages that open with includes/article-hero.php (main > .ah); other pages in /Articles/
   (ModelRisk vs Crystal Ball) keep sections 1-13 only. The words on the pages are unchanged. */
main#main-content:has(> .ah) { --d-teal: #0C3E51; --d-ink: #10232B; --d-ink2: #2B3D44; --d-muted: #5E6E75; --d-line: #DCE3E6; --d-line2: #E3E9EC;
  --d-soft: #F5F7F8; --d-blue: #1F6FB2; --d-sky: #7CC0F0; --d-hmuted: #A9C6D1; --d-purple: #970477; --d-purple-d: #7C0362;
  --d-hl: #EEF6FB; --d-mint: #E3F4EA; --d-mint-fg: #0B5D3B;
  --d-display: 'Raleway', 'Segoe UI', Arial, sans-serif; --d-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --d-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace; }

/* 14a. Opening (includes/article-hero.php). The inner box is a Bootstrap .container, so its left edge is the text's. */
.ah { background: #0C3E51; color: #FFFFFF; padding: 28px 8px 40px; text-align: left; font-family: var(--d-body); -webkit-font-smoothing: antialiased; }
.ah-in { display: grid; gap: 28px; }
.ah p { margin: 0; line-height: 1.5 !important; }  /* style.min.css sets every p to line-height 1.8em !important */
.ah-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 20px; font-size: 13px; line-height: 1.4; color: var(--d-hmuted); }
.ah-crumbs a { color: var(--d-hmuted); text-decoration: underline; text-underline-offset: 2px; }
.ah-crumbs a:hover { color: #FFFFFF; }
.ah-eyebrow { font: 600 12.5px/1.5 var(--d-body); letter-spacing: .09em; text-transform: uppercase; color: var(--d-sky); margin-bottom: 10px !important; }
.ah h1.ah-h1 { font: 800 34px/1.08 var(--d-display); letter-spacing: -.01em; margin: 0; color: #FFFFFF; text-wrap: balance; text-align: left; font-feature-settings: 'lnum' 1; }
.ah p.ah-sub { line-height: 1.25 !important; }
.ah-sub { font: 800 20px/1.25 var(--d-display); color: var(--d-sky); margin-top: 12px !important; max-width: 26em; text-wrap: balance; font-feature-settings: 'lnum' 1; }
.ah-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 18px !important; font-size: 14px; line-height: 1.5; color: var(--d-hmuted); }
.ah-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px 3px; border-radius: 50%; background: var(--d-hmuted); }
.ah-extra { margin-top: 12px !important; font-size: 14px; }
.ah-extra a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.ah-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ah-chips a { font: 600 13.5px/1 var(--d-body); color: var(--d-mint-fg); background: var(--d-mint); border-radius: 999px; padding: 8px 12px; text-decoration: none; }
.ah-chips a:hover { background: #CDEBD9; color: var(--d-mint-fg); }
.ah-chips a::after { content: " \2193"; }
.ah-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.ah-btn, main#main-content:has(> .ah) .ah-btn { display: inline-block; font: 700 16px/1.5 var(--d-display); color: #FFFFFF; background: var(--d-purple); border: 2px solid var(--d-purple);
  border-radius: 32px; padding: 9px 26px; text-decoration: none; white-space: nowrap; }
.ah-btn:hover, .ah-btn:focus-visible { background: var(--d-purple-d); border-color: var(--d-purple-d); color: #FFFFFF; }
.ah-tx { font: 600 15px/1.4 var(--d-body); color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.ah-tx:hover { color: var(--d-sky); }
.ah a:focus-visible { outline: 2px solid var(--d-sky); outline-offset: 3px; }
/* The short answer card */
.ah-card { align-self: start; background: #FFFFFF; color: var(--d-ink); border-radius: 16px; padding: 22px 20px 18px; box-shadow: 0 20px 44px rgba(3, 20, 28, .28); }
.ah-card .ah-k { font: 600 12px/1.5 var(--d-body); letter-spacing: .09em; text-transform: uppercase; color: var(--d-blue); margin-bottom: 8px !important; }
.ah-card p.ah-q { line-height: 1.28 !important; }
.ah-card .ah-q { font: 800 19px/1.28 var(--d-display); color: var(--d-teal); margin-bottom: 16px !important; text-wrap: balance; font-feature-settings: 'lnum' 1; }
.ah-bars { display: grid; gap: 12px; }
.ah-brow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 14px; line-height: 1.35; }
.ah-brow .l { color: var(--d-muted); }
.ah-brow .v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.ah-brow i { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: linear-gradient(var(--c, #0C3E51), var(--c, #0C3E51)) 0 0 / var(--w, 0%) 100% no-repeat, #EDF1F3; }
.ah-facts { display: grid; margin: 0; }
.ah-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--d-line2); }
.ah-facts > div:first-child { border-top: 0; padding-top: 0; }
.ah-facts dt { font-weight: 400; font-size: 14px; line-height: 1.4; color: var(--d-muted); margin: 0; }
.ah-facts dd { font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--d-ink); margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.ah-facts > div.is-text { grid-template-columns: minmax(0, 1fr); }
.ah-facts > div.is-text dd { text-align: left; font-weight: 500; }
.ah-res { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 10px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--d-line2); }
.ah-res .l { display: block; font-size: 12.5px; line-height: 1.3; color: var(--d-muted); }
.ah-res b { display: block; font: 700 18px/1.3 var(--d-body); color: var(--d-teal); font-variant-numeric: tabular-nums; }
.ah-card .ah-note { margin-top: 14px !important; font-size: 12.5px; line-height: 1.4 !important; color: var(--d-muted); }
@media (min-width: 768px) {
  .ah { padding: 36px 0 56px; }
  .ah h1.ah-h1 { font-size: 46px; }
  .ah h1.ah-h1.is-long { font-size: 38px; }
  .ah-sub { font-size: 25px; }
  .ah-card { max-width: 560px; padding: 26px 26px 20px; }
}
@media (min-width: 1200px) {
  .ah { padding: 44px 0 72px; }
  .ah-in.has-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .ah-in:not(.has-card) .ah-main { max-width: 52rem; }
  .ah h1.ah-h1 { font-size: 54px; }
  .ah h1.ah-h1.is-long { font-size: 42px; }
  .ah-sub { font-size: 28px; }
  .ah-card { max-width: none; padding: 28px 28px 22px; }
  .ah-card .ah-q { font-size: 21px; }
}

/* 14b. The reading page: white sections, a hairline between them, Raleway headings, IBM Plex Sans text. */
main#main-content:has(> .ah) .clean-block { background: #FFFFFF !important; padding-bottom: 24px; font-family: var(--d-body); color: var(--d-ink); }
main#main-content:has(> .ah) .clean-block.clean-info { padding-left: 8px; padding-right: 8px; }
main#main-content:has(> .ah) .clean-block .block-heading { padding-top: 36px; margin-bottom: 0; }
main#main-content:has(> .ah) .clean-block + .clean-block .block-heading { border-top: 1px solid var(--d-line); }
main#main-content:has(> .ah) .clean-block .back-button { display: none !important; }
main#main-content:has(> .ah) .clean-block .block-heading p, main#main-content:has(> .ah) .clean-block .block-heading li, main#main-content:has(> .ah) .clean-block .block-heading td, main#main-content:has(> .ah) .clean-block .block-heading th,
main#main-content:has(> .ah) .clean-block .block-heading dd, main#main-content:has(> .ah) .clean-block .block-heading dt, main#main-content:has(> .ah) .clean-block .block-heading blockquote,
main#main-content:has(> .ah) .clean-block .block-heading figcaption, main#main-content:has(> .ah) .clean-block .block-heading summary { font-family: var(--d-body); }
main#main-content:has(> .ah) .clean-block .block-heading > h2, main#main-content:has(> .ah) .clean-block .block-heading > h2.text-info {
  font: 800 26px/1.15 var(--d-display); color: var(--d-teal) !important; letter-spacing: -.005em; margin: 0 0 16px; text-wrap: balance; font-feature-settings: 'lnum' 1; }
main#main-content:has(> .ah) .clean-block .block-heading > h3, main#main-content:has(> .ah) .clean-block .block-heading > h4, main#main-content:has(> .ah) .clean-block .block-heading > h3.text-info, main#main-content:has(> .ah) .clean-block .block-heading > h4.text-info {
  font: 800 20px/1.25 var(--d-display); color: var(--d-teal) !important; margin: 32px auto 10px; text-wrap: balance; font-feature-settings: 'lnum' 1; }
main#main-content:has(> .ah) .clean-block .block-heading > p:not(.p-center), main#main-content:has(> .ah) .clean-block .block-heading > ul > li, main#main-content:has(> .ah) .clean-block .block-heading > ol > li {
  font-size: 17px; line-height: 1.68; color: var(--d-ink); }
main#main-content:has(> .ah) .clean-block .block-heading > p:not(.p-center) { margin-bottom: 18px; line-height: 1.68 !important; }
main#main-content:has(> .ah) .clean-block .block-heading strong, main#main-content:has(> .ah) .clean-block .block-heading b { font-weight: 600; }
main#main-content:has(> .ah) .clean-block .block-heading p a:not(.btn), main#main-content:has(> .ah) .clean-block .block-heading li a:not(.btn), main#main-content:has(> .ah) .clean-block .block-heading td a:not(.btn) {
  color: var(--d-blue) !important; text-decoration: underline; text-underline-offset: 2px; }
main#main-content:has(> .ah) .clean-block .block-heading p a:not(.btn):hover, main#main-content:has(> .ah) .clean-block .block-heading li a:not(.btn):hover { color: var(--d-teal) !important; }
main#main-content:has(> .ah) .clean-block .block-heading > ul > li::marker { color: var(--d-muted); }
main#main-content:has(> .ah) .clean-block .block-heading .btn-danger { background: var(--d-purple); border-color: var(--d-purple); border-radius: 32px; font-family: var(--d-display); font-weight: 700; opacity: 1; }
main#main-content:has(> .ah) .clean-block .block-heading .btn-danger:hover { background: var(--d-purple-d); border-color: var(--d-purple-d); opacity: 1; }
@media (min-width: 768px) {
  main#main-content:has(> .ah) .clean-block { --kb-measure: 42rem; padding-bottom: 32px; }
  main#main-content:has(> .ah) .clean-block.clean-info { padding-left: 0; padding-right: 0; }
  main#main-content:has(> .ah) .clean-block .block-heading { padding-top: 48px; }
  main#main-content:has(> .ah) .clean-block .block-heading > h2, main#main-content:has(> .ah) .clean-block .block-heading > h2.text-info { font-size: 30px; }
  main#main-content:has(> .ah) .clean-block .block-heading > p:not(.p-center), main#main-content:has(> .ah) .clean-block .block-heading > ul > li, main#main-content:has(> .ah) .clean-block .block-heading > ol > li { font-size: 18px; }
}
@media (min-width: 1200px) {
  main#main-content:has(> .ah) .clean-block .block-heading { padding-top: 56px; }
  main#main-content:has(> .ah) .clean-block .block-heading > h2, main#main-content:has(> .ah) .clean-block .block-heading > h2.text-info { font-size: 34px; }
  main#main-content:has(> .ah) .clean-block .block-heading > p:not(.p-center), main#main-content:has(> .ah) .clean-block .block-heading > ul > li, main#main-content:has(> .ah) .clean-block .block-heading > ol > li,
  main#main-content:has(> .ah) .clean-block .xl-rows { font-size: 18px; line-height: 1.68; }
}
@media (min-width: 1400px) {
  main#main-content:has(> .ah) .clean-block .block-heading > p:not(.p-center), main#main-content:has(> .ah) .clean-block .block-heading > ul > li, main#main-content:has(> .ah) .clean-block .block-heading > ol > li,
  main#main-content:has(> .ah) .clean-block .xl-rows { font-size: 18px; }
}
/* Headings land below the site menu and the "On this page" bar. */
main#main-content:has(> .ah) .clean-block .block-heading > h2 { scroll-margin-top: 64px; }
@media (min-width: 992px) { main#main-content:has(> .ah) .clean-block .block-heading > h2, main#main-content:has(> .ah) [id] { scroll-margin-top: 140px; } }
@media (min-width: 1200px) { main#main-content:has(> .ah) .clean-block .block-heading > h2, main#main-content:has(> .ah) [id] { scroll-margin-top: 110px; } }

/* 14c. Calculations: one card in the mono face; consecutive lines join into one card; the result is highlighted.
   assets/js/article-contents.js marks them (ah-calc) and, where a line is a plain chain of "=" steps, puts one step per line on phones. */
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc { max-width: var(--kb-measure); margin: 0 auto 18px; padding: 14px 16px; text-align: left; overflow-x: auto;
  background: var(--d-soft); border: 1px solid var(--d-line); border-radius: 12px; font: 500 14.5px/1.6 var(--d-mono); line-height: 1.6 !important; color: var(--d-ink); font-variant-numeric: tabular-nums; }
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc strong { font-weight: 500; }
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc .text-info { color: var(--d-teal) !important; font-weight: 600; margin: 0; }
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc.g-first, main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc.g-mid { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 6px; }
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc.g-mid, main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc.g-last { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 6px; }
main#main-content:has(> .ah) .ah-calc-row { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; align-items: baseline; }
main#main-content:has(> .ah) .ah-calc .lhs { color: var(--d-teal); font-weight: 600; }
main#main-content:has(> .ah) .ah-calc .st { white-space: nowrap; }
main#main-content:has(> .ah) .ah-calc .res { color: #FFFFFF; background: var(--d-teal); border-radius: 6px; padding: 0 8px; }
/* On wide screens a long chain of steps may run wider than the text, up to the width of the tables, so it stays on one line. */
@media (min-width: 1200px) {
  main#main-content:has(> .ah) .clean-block .block-heading > p.ah-calc { width: fit-content; min-width: min(100%, var(--kb-measure)); max-width: 100%; }
}
@media (max-width: 767.98px) {
  main#main-content:has(> .ah) .ah-calc-row { flex-direction: column; align-items: flex-start; }
  main#main-content:has(> .ah) .ah-calc .st { padding-left: 14px; white-space: normal; }
}

/* 14d. Pictures: a white frame, an Enlarge button, and on phones wide screenshots scroll sideways inside the frame. */
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-fig { max-width: var(--kb-wide); margin: 8px auto 24px; padding: 12px; text-align: center; overflow: visible; line-height: 1.4 !important;
  background: #FFFFFF; border: 1px solid var(--d-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(12, 62, 81, .05), 0 10px 28px rgba(12, 62, 81, .07); }
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-fig img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; box-shadow: none; cursor: zoom-in; }
main#main-content:has(> .ah) .clean-block .block-heading > p.ah-fig img:hover { opacity: 1; }
main#main-content:has(> .ah) .ah-fig-scroll { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
main#main-content:has(> .ah) .ah-fig-scroll img { max-width: none !important; }
main#main-content:has(> .ah) .ah-fig-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 10px; }
main#main-content:has(> .ah) .ah-swipe { display: none; margin-right: auto; font: 13px/1.4 var(--d-body); color: var(--d-muted); text-align: left; }
main#main-content:has(> .ah) .ah-fig.is-scroll .ah-swipe { display: block; }
main#main-content:has(> .ah) .ah-zoom { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1 var(--d-body); color: var(--d-teal); background: var(--d-soft);
  border: 1px solid var(--d-line); border-radius: 999px; padding: 7px 11px; cursor: zoom-in; }
main#main-content:has(> .ah) .ah-zoom:hover { background: var(--d-hl); }
main#main-content:has(> .ah) .ah-zoom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ah-lb { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; padding: 16px; background: rgba(8, 29, 38, .88); }
.ah-lb[hidden] { display: none; }
.ah-lb-bar { display: flex; justify-content: flex-end; padding-bottom: 10px; }
.ah-lb-bar button { font: 600 14px var(--d-body, sans-serif); background: #FFFFFF; color: #0C3E51; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.ah-lb-body { flex: 1; overflow: auto; background: #FFFFFF; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.ah-lb-body img { display: block; max-width: none; height: auto; margin: 0 auto; }

/* 14e. Tables in the design D look: light header row, hairlines, rounded white card; the product column tinted. */
main#main-content:has(> .ah) .clean-block .block-heading table.table { border: 1px solid var(--d-line); border-radius: 14px; box-shadow: none; font: 14px/1.45 var(--d-body); color: var(--d-ink); }
main#main-content:has(> .ah) .clean-block .block-heading table.table > :not(caption) > * > * { border-color: #EDF1F3; padding: 10px 12px; }
main#main-content:has(> .ah) .clean-block .block-heading table.table > thead > tr > th { background-color: #F7F9FA; color: var(--d-muted); font-size: 12.5px; font-weight: 600; line-height: 1.35;
  box-shadow: inset 0 -1px 0 var(--d-line2); }
main#main-content:has(> .ah) .clean-block .block-heading table.table > thead > tr:first-child > :first-child { border-top-left-radius: 13px; }
main#main-content:has(> .ah) .clean-block .block-heading table.table > thead > tr:first-child > :last-child { border-top-right-radius: 13px; }
main#main-content:has(> .ah) .clean-block .block-heading table.table > tbody > tr:last-child > :first-child { border-bottom-left-radius: 13px; }
main#main-content:has(> .ah) .clean-block .block-heading table.table > tbody > tr:last-child > :last-child { border-bottom-right-radius: 13px; }
main#main-content:has(> .ah) .clean-block .block-heading table.table > tbody > tr > :first-child { color: var(--d-teal); font-weight: 600; }
main#main-content:has(> .ah) .clean-block .block-heading table.table > thead > tr > th.t-vose { background-color: var(--d-hl); color: var(--d-teal); }
main#main-content:has(> .ah) .clean-block .block-heading table.table > tbody > tr > td.t-vose { background-color: #F2F8FC; color: var(--d-ink); }
main#main-content:has(> .ah) .clean-block .block-heading table.t-kv td.t-num { color: var(--d-teal); }
main#main-content:has(> .ah) .clean-block .block-heading table.t-text > tbody > tr > :first-child { background-color: #FAFBFC; }
@media (hover: hover) { main#main-content:has(> .ah) .clean-block .block-heading table.table:not(.t-grid) > tbody > tr:hover > * { background-color: #F7FAFB; } }
@media (min-width: 768px) {
  main#main-content:has(> .ah) .clean-block .block-heading table.table { font-size: 15px; }
  main#main-content:has(> .ah) .clean-block .block-heading table.table > :not(caption) > * > * { padding: 11px 16px; }
}
@media (max-width: 767.98px) {
  main#main-content:has(> .ah) .clean-block .block-heading table.table { font-size: 13.5px; }
  main#main-content:has(> .ah) .clean-block .block-heading table.table > :not(caption) > * > * { padding: 9px 8px; }
  main#main-content:has(> .ah) .clean-block .block-heading table.table.stack-sm > tbody > tr { border-color: var(--d-line); border-radius: 14px; box-shadow: none; }
  main#main-content:has(> .ah) .clean-block .block-heading table.table.stack-sm > tbody > tr > * { padding: 4px 14px; }
  main#main-content:has(> .ah) .clean-block .block-heading table.table.stack-sm > tbody > tr > :first-child { background-color: #FFFFFF; color: var(--d-teal); font-size: 16px;
    padding: 12px 14px 6px; border-bottom: 1px solid var(--d-line2); margin-bottom: 4px; }
  main#main-content:has(> .ah) .clean-block .block-heading table.table.stack-sm > tbody > tr > :last-child { padding-bottom: 12px; }
  main#main-content:has(> .ah) .clean-block .block-heading table.stack-sm td:not(:first-child)::before { color: var(--d-muted); font-size: 12px; }
}
/* Article charts (section 11) take the same card edge and type. */
main#main-content:has(> .ah) .vz { --vz-teal: #0C3E51; --vz-ink: #10232B; --vz-ink2: #5E6E75; --vz-line: #DCE3E6; font-family: var(--d-body); }
main#main-content:has(> .ah) .vz-card { border-color: var(--d-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(12, 62, 81, .05), 0 10px 28px rgba(12, 62, 81, .07); }
main#main-content:has(> .ah) .vz-title { font-family: var(--d-display); font-weight: 800; font-size: 1.1rem; }

/* 14f. Numbered lists: a mono number beside each item; lists whose items start with a bold lead-in become cards. */
main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main { list-style: none; counter-reset: ahn; padding-left: 0 !important; display: grid; gap: 10px; margin-bottom: 20px; }
main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main > li { counter-increment: ahn; position: relative; float: none; width: auto; height: auto; padding: 0 0 0 44px; margin: 0; }
main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main > li::before { content: counter(ahn, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font: 600 14px/1.95 var(--d-mono); color: var(--d-blue); }
main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main.ah-steps { gap: 12px; }
main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main.ah-steps > li { padding: 16px 18px 16px 58px; background: #FFFFFF; border: 1px solid var(--d-line); border-radius: 14px; }
main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main.ah-steps > li::before { left: 18px; top: 16px; }
main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main.ah-steps > li > strong.ah-st { display: block; margin-bottom: 4px; font: 800 18px/1.35 var(--d-display); color: var(--d-teal); font-feature-settings: 'lnum' 1; }
@media (max-width: 575.98px) {
  main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main.ah-steps > li { padding: 14px 14px 14px 48px; }
  main#main-content:has(> .ah) .clean-block .block-heading > ol.ol-main.ah-steps > li::before { left: 14px; top: 14px; }
}

/* 14g. Questions: a grey band; each question opens and closes (details), the answer stays in the page for search. */
main#main-content:has(> .ah) .clean-block.ah-faq { background: var(--d-soft) !important; border-top: 1px solid var(--d-line); padding-bottom: 48px; }
main#main-content:has(> .ah) .clean-block.ah-faq .block-heading { border-top: 0 !important; }
main#main-content:has(> .ah) .clean-block.ah-faq + .clean-block .block-heading { border-top: 0; }
main#main-content:has(> .ah) .clean-block .block-heading > details.ah-q { max-width: var(--kb-measure); margin: 0 auto 10px; text-align: left; background: #FFFFFF; border: 1px solid var(--d-line); border-radius: 12px; }
main#main-content:has(> .ah) details.ah-q > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 15px 18px; cursor: pointer; }
main#main-content:has(> .ah) details.ah-q > summary::-webkit-details-marker { display: none; }
main#main-content:has(> .ah) details.ah-q > summary:focus-visible { outline: 2px solid var(--d-blue); outline-offset: 2px; border-radius: 12px; }
main#main-content:has(> .ah) details.ah-q > summary > .ah-q-h { flex: 1; margin: 0; font: 600 16.5px/1.4 var(--d-body); color: var(--d-teal) !important; text-align: left; letter-spacing: 0; }
main#main-content:has(> .ah) details.ah-q > summary > .pm { position: relative; flex: none; width: 14px; height: 14px; }
main#main-content:has(> .ah) details.ah-q > summary > .pm::before, main#main-content:has(> .ah) details.ah-q > summary > .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--d-teal); transition: transform .2s; }
main#main-content:has(> .ah) details.ah-q > summary > .pm::after { transform: rotate(90deg); }
main#main-content:has(> .ah) details.ah-q[open] > summary > .pm::after { transform: rotate(0); }
main#main-content:has(> .ah) details.ah-q > :not(summary) { margin: 0; padding: 0 18px 16px; font-size: 16px; line-height: 1.65 !important; color: var(--d-ink2); text-align: left; }
main#main-content:has(> .ah) details.ah-q > :not(summary) + :not(summary) { margin-top: -4px; }
@media (min-width: 1200px) { main#main-content:has(> .ah) .clean-block.ah-faq { padding-bottom: 72px; } }

/* 14k. A sentence the article sets as its key point, and a trial card inside the text (the EVPI article). */
main#main-content:has(> .ah) .clean-block .block-heading > .ah-key { max-width: var(--kb-measure); margin: 6px auto 24px; padding: 18px 20px; text-align: left; background: var(--d-hl); border-radius: 14px; }
main#main-content:has(> .ah) .ah-key .ah-k { margin: 0 0 6px; font: 600 12px/1.5 var(--d-body); line-height: 1.5 !important; letter-spacing: .09em; text-transform: uppercase; color: var(--d-blue); }
main#main-content:has(> .ah) .ah-key p.p-justify { margin: 0; font-size: 17px; line-height: 1.68 !important; color: var(--d-ink); text-align: left; }
main#main-content:has(> .ah) .clean-block .block-heading > .ah-try { max-width: var(--kb-measure); margin: 32px auto 8px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px 16px;
  align-items: center; padding: 20px; text-align: left; background: #FFFFFF; border: 1px solid var(--d-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(12, 62, 81, .05), 0 12px 30px rgba(12, 62, 81, .08); }
main#main-content:has(> .ah) .ah-try img { width: 44px; height: 44px; }
main#main-content:has(> .ah) .ah-try p { margin: 0; font-size: 15.5px; line-height: 1.55 !important; color: var(--d-ink2); text-align: left; }
main#main-content:has(> .ah) .ah-try p.ah-try-h { margin-bottom: 4px; font: 800 19px/1.25 var(--d-display); line-height: 1.25 !important; color: var(--d-teal); }
main#main-content:has(> .ah) .ah-try .ah-btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 768px) {
  main#main-content:has(> .ah) .ah-key p.p-justify { font-size: 18px; }
  main#main-content:has(> .ah) .clean-block .block-heading > .ah-try { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 22px 26px; }
  main#main-content:has(> .ah) .ah-try .ah-btn { grid-column: auto; }
}

/* 14h. Keep reading (includes/article-more.php). */
.ah-more { padding: 48px 8px; border-top: 1px solid #DCE3E6; background: #FFFFFF; font-family: var(--d-body); text-align: left; }
.ah-more p { margin: 0 0 6px; line-height: 1.5 !important; }
.ah-more .ah-eyebrow { color: #1F6FB2; }
.ah-more h2 { font: 800 28px/1.15 var(--d-display); color: #0C3E51; margin: 0 0 20px; text-align: left; }
.ah-cards { display: grid; gap: 14px; }
a.ah-cardlink { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid #DCE3E6; border-radius: 14px; background: #FFFFFF; color: #10232B; text-decoration: none; }
a.ah-cardlink:hover { border-color: #B9CBD2; box-shadow: 0 10px 26px rgba(12, 62, 81, .08); color: #10232B; }
a.ah-cardlink:focus-visible { outline: 2px solid #1F6FB2; outline-offset: 2px; }
.ah-tag { align-self: flex-start; font: 600 11.5px/1 var(--d-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: #E3F1F1; color: #17716D; }
.ah-tag.modelchoice { background: #E9F5EA; color: #2F7A35; }
.ah-tag.tamara { background: #FCEBEC; color: #BF2F39; }
.ah-tag.pelican { background: #FDF0E3; color: #A9560C; }
a.ah-cardlink b { font: 800 18px/1.3 var(--d-display); color: #0C3E51; font-feature-settings: 'lnum' 1; }
a.ah-cardlink .d { flex: 1; font-size: 15px; line-height: 1.55; color: #2B3D44; }
a.ah-cardlink .r { font: 600 14.5px var(--d-body); color: #1F6FB2; }
@media (min-width: 768px) { .ah-more { padding: 56px 0; } .ah-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ah-more { padding: 80px 0; } .ah-more h2 { font-size: 36px; } }

/* 14i. The product banner at the end becomes the closing band (teal, left-aligned, the logo as a small label). */
main#main-content:has(> .ah) > section.container-main.my-4 { background: #0C3E51 !important; background-image: none !important; margin: 0 !important; padding: 48px 8px !important;
  text-align: left; font-family: var(--d-body); }
main#main-content:has(> .ah) > section.container-main.my-4 .testimonials.type-2.inner { max-width: none; margin: 0; padding: 0 !important; }
main#main-content:has(> .ah) > section.container-main.my-4 .row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start;
  gap: 12px 10px; margin: 0; text-align: left !important; --bs-gutter-x: 0; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > * { width: auto; max-width: 100%; margin: 0 !important; padding: 0 !important; text-align: left; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > a.p-center { grid-column: 1; display: flex; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > a.p-center img { width: 24px !important; max-width: 24px !important; height: auto; padding: 0 !important; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > h2 { grid-column: 2; font: 600 13px/1.4 var(--d-body) !important; letter-spacing: .09em; text-transform: uppercase; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > h2 a { color: var(--d-sky) !important; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > h3 { grid-column: 1 / -1; font: 800 28px/1.15 var(--d-display) !important; color: #FFFFFF !important;
  max-width: 22em; text-wrap: balance; font-feature-settings: 'lnum' 1; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > p { grid-column: 1 / -1; max-width: 44em; font-size: 17px; line-height: 1.6 !important; color: #D5E5EB !important; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > button, main#main-content:has(> .ah) > section.container-main.my-4 .row > p > .btn, main#main-content:has(> .ah) > section.container-main.my-4 .row > .btn {
  grid-column: 1 / -1; margin-top: 8px !important; font: 700 16px/1.5 var(--d-display); color: #FFFFFF; background: var(--d-purple); border: 2px solid var(--d-purple);
  border-radius: 32px; padding: 9px 26px !important; opacity: 1; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > button:hover, main#main-content:has(> .ah) > section.container-main.my-4 .row > p > .btn:hover { background: var(--d-purple-d); border-color: var(--d-purple-d); opacity: 1; }
main#main-content:has(> .ah) > section.container-main.my-4 .row > p:has(> .btn) { margin-top: 8px !important; }
@media (min-width: 768px) { main#main-content:has(> .ah) > section.container-main.my-4 { padding: 56px 0 !important; } }
@media (min-width: 1200px) {
  main#main-content:has(> .ah) > section.container-main.my-4 { padding: 72px 0 !important; }
  main#main-content:has(> .ah) > section.container-main.my-4 .row > h3 { font-size: 40px !important; }
}

/* A product banner in the middle of an article (Monte Carlo simulation explained) is a card in the text column instead. */
main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) { background: #FFFFFF !important; padding: 8px 8px 24px !important; }
main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row { max-width: 42rem; margin: 0 auto; padding: 22px 24px; background: #FFFFFF;
  border: 1px solid var(--d-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(12, 62, 81, .05), 0 12px 30px rgba(12, 62, 81, .08); }
main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row > a.p-center { padding: 6px !important; background: var(--d-teal); border-radius: 8px; }
main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row > h2 a { color: var(--d-blue) !important; }
main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row > h3 { font-size: 22px !important; color: var(--d-teal) !important; }
main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row > p { font-size: 16px; color: var(--d-ink2) !important; }
@media (min-width: 1200px) {
  main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) { padding: 8px 0 32px !important; z-index: auto; }
  main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row > h3 { font-size: 24px !important; }
  main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .container { padding-left: calc(.75rem + 15rem + 3rem); }
  main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row { max-width: 42rem; margin-left: 0; }
}
@media (min-width: 1400px) {
  main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .container { padding-left: calc(.75rem + 16rem + 4rem); }
  main#main-content:has(> .ah) > section.container-main.my-4:has(~ section.clean-block) .row { max-width: 46rem; }
}

/* 14j. Contents: the rail (1,200 px and wider) in the design D look, and the sticky bar below that width. */
@media (min-width: 1200px) {
  main#main-content:has(> .ah) > .kb-rail .kb-rail-h { line-height: 1.5 !important; font: 600 12px/1.5 var(--d-body); letter-spacing: .09em; color: var(--d-muted); margin-bottom: 12px; }
  main#main-content:has(> .ah) > .kb-rail ol { border-left-color: var(--d-line); }
  main#main-content:has(> .ah) > .kb-rail li a { font: 14.5px/1.35 var(--d-body); color: var(--d-muted); padding: 6px 0 6px 16px; }
  main#main-content:has(> .ah) > .kb-rail li a:hover { color: var(--d-teal); border-left-color: var(--d-line); }
  main#main-content:has(> .ah) > .kb-rail li a.is-on { color: var(--d-teal); font-weight: 600; border-left-color: var(--d-teal); }
  main#main-content:has(> .ah) > .kb-rail .kb-rail-cta { padding: 16px; border: 1px solid var(--d-line); border-radius: 14px; background: var(--d-soft); }
  main#main-content:has(> .ah) > .kb-rail .kb-rail-cta p { font: 700 15px/1.3 var(--d-body); line-height: 1.3 !important; color: var(--d-teal); }
  main#main-content:has(> .ah) > .kb-rail .kb-rail-cta .kb-dl { color: var(--d-blue); font-family: var(--d-body); }
  main#main-content:has(> .ah) > .kb-rail .kb-rail-cta .btn { border-radius: 32px; font: 700 15px/1.5 var(--d-display); background: var(--d-purple); border-color: var(--d-purple); opacity: 1; }
  main#main-content:has(> .ah) > .kb-rail .kb-rail-cta .btn:hover { background: var(--d-purple-d); border-color: var(--d-purple-d); }
  /* The closing band and a banner in the middle of an article pass over the rail. */
  main#main-content:has(> .ah) > section.container-main:not(:has(~ section.clean-block)) { position: relative; z-index: 6; }
}
.ah-bar { position: sticky; top: 0; z-index: 20; background: #FFFFFF; border-bottom: 1px solid #DCE3E6; font-family: var(--d-body); text-align: left; }
.ah-bar-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 20px; background: none; border: 0; font: 15px/1.3 var(--d-body); color: #10232B; cursor: pointer; text-align: left; }
.ah-bar-btn .k { font: 600 12px var(--d-body); letter-spacing: .08em; text-transform: uppercase; color: #5E6E75; white-space: nowrap; }
.ah-bar-btn .cur { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-bar-btn svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #0C3E51; stroke-width: 2; transition: transform .2s; }
.ah-bar-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ah-bar-btn:focus-visible { outline: 2px solid #1F6FB2; outline-offset: -2px; }
.ah-bar-prog { display: block; height: 2px; background: #1F6FB2; transform-origin: 0 50%; transform: scaleX(0); }
.ah-bar-list { list-style: none; margin: 0; padding: 6px 0 10px; border-top: 1px solid #E3E9EC; max-height: 60vh; overflow: auto; }
.ah-bar-list li { margin: 0; padding: 0; float: none; width: auto; height: auto; }
.ah-bar-list a { display: block; padding: 9px 20px; font: 15.5px/1.35 var(--d-body); color: #10232B; text-decoration: none; }
.ah-bar-list a.is-on { color: #0C3E51; font-weight: 700; }
@media (min-width: 768px) { .ah-bar-btn, .ah-bar-list a { padding-left: calc((100% - 720px) / 2 + 12px); padding-right: calc((100% - 720px) / 2 + 12px); } }
@media (min-width: 992px) { .ah-bar { top: 79px; } .ah-bar-btn, .ah-bar-list a { padding-left: calc((100% - 960px) / 2 + 12px); padding-right: calc((100% - 960px) / 2 + 12px); } }
@media (min-width: 1200px) { .ah-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .ah-bar-btn svg, main#main-content:has(> .ah) details.ah-q > summary > .pm::after { transition: none; } }
