/* /moex/ pages: Moscow Exchange companies (shares the stk-* look from stocks.css) */
.mx-docs { columns: 2; column-gap: 32px; padding-left: 18px; margin: 8px 0 0; }
.mx-docs li { break-inside: avoid; margin: 2px 0; }
.mx-table td:first-child, .mx-list td:first-child { white-space: nowrap; }
.mx-list td:nth-child(2) { color: var(--muted); }

/* the unit words of a big number ("трлн ₽") in the text font, smaller, right after the digits
   (pages/moex.py unit_html): in the monospaced number font their spaces read as gaps */
.mx-u { font: 600 0.6em var(--font); letter-spacing: 0; color: var(--muted); margin-left: 0.3em; }
.mx-u-pre { margin: 0 0.2em 0 0; }

/* the tiles under the key figure in an even grid (pages/moex.py _stats) */
.stats.mx-c1 { grid-template-columns: minmax(0, 1fr); }
.stats.mx-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats.mx-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats.mx-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats.mx-c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mx-stats .stat-value { white-space: nowrap; }
@media (max-width: 900px) {
  .stats.mx-c4, .stats.mx-c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mx-docs { columns: 1; }
  .stats.mx-c3, .stats.mx-c4, .stats.mx-c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-stats .stat-value { font-size: 21px; }
}
