/* Statistics applets (applets/stats.js): a few rules the shared sheet does not have.
 * Needs maths-applets.css. */

.mc-applet [hidden] { display: none !important; }
.mcst-working .mcst-line { display: block; }
.mcst-working .mcst-line + .mcst-line { margin-top: 2px; }
.mcst-working .mcst-line:empty { display: none; }
.mcst-mean { fill: none; stroke: var(--teal-deep); stroke-width: 2.4; }
.mcst-meancross { fill: none; stroke: var(--teal-deep); stroke-width: 2.4; }
.mcst-resid { stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.mcst-halo { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }

.mcst-boards { display: grid; gap: 14px; }
.mcst-table.mca-table { table-layout: auto; }
.mcst-table th, .mcst-table td { padding: 4px 3px; }
.mcst-table tbody th { width: 3em; font-size: 0.8rem; }
.mcst-table td { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.mcst-table input { min-height: 36px; }
.mcst-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mcst-fig { display: grid; gap: 2px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }
.mcst-fig.is-b { border-color: var(--teal-deep); }
.mcst-fig-name { font-size: 0.86rem; font-weight: 700; color: var(--muted); }
.mcst-fig-val { font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: var(--ink); }
.mcst-fig.is-b .mcst-fig-val { color: var(--teal-deep); }
.mcst-fig-was { min-height: 1.1em; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
