/* Support metrics that stay honest: chart, tables and worked example. Colours come from the design system tokens. */
figure.chart{max-width:600px;margin:1.25rem 0 0}
figure.chart figcaption{font-weight:600;max-width:72ch}
.sm-chart{display:block;width:100%;height:auto;max-width:560px;font-family:var(--viz-font-body)}
.sm-chart .grid{stroke:var(--viz-grid);stroke-width:1}
.sm-chart .track{stroke:var(--viz-rule);stroke-width:1}
.sm-chart .tick{font:12px var(--viz-font-figures);fill:var(--viz-muted)}
.sm-chart .row-label{font-size:13px;font-weight:600;fill:var(--viz-foreground)}
.mk{stroke-width:2}
.mk-tickets{fill:var(--viz-background);stroke:var(--viz-categorical-4)}
.mk-per_account{fill:var(--viz-categorical-2);stroke:var(--viz-categorical-2)}
.mk-linked{fill:var(--viz-categorical-3);stroke:var(--viz-background)}
.mk-linked_corrected{fill:var(--viz-categorical-1);stroke:var(--viz-background)}
.dot-legend{display:flex;flex-wrap:wrap;gap:.3rem 1.25rem;margin:.5rem 0 .6rem;max-width:none}
.dot-key{display:inline-flex;align-items:center;gap:.45rem}
figure.chart .chart-plot .dot-key svg{flex:none;width:18px;height:18px;max-width:none;min-width:0}
table.sm-table td.num,table.sm-table th.num-head{text-align:right}
table.sm-table .range{display:block;color:var(--viz-muted);font-size:12px;white-space:nowrap}
table.sm-table th.sub{font-weight:400}
table.sm-table th[rowspan]{vertical-align:top}
table.sm-table tr.group th{padding-top:.9rem;font-weight:600;color:var(--viz-muted)}
table.sm-table tr.truth > *{font-style:italic}
table.sm-trace th{white-space:nowrap}
.table-scroll{position:relative}
