[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading);
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 var(--space-4); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); }

code { font-family: var(--font-mono); font-size: 0.9em; }

/* Numbers (amounts, counts, rates, percentages) are set in IBM Plex Mono, so digits line up in columns.
   Plex Mono runs large next to General Sans, hence the smaller size. */
.num, .amount, td.table__number, .stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.num, .amount, td.table__number { font-size: 0.92em; }
:is(td.table__number, .stat__value) .amount { font-size: 1em; }

/* A stat that shows words or a symbol rather than a number ("1. razred", ✓) stays in the text face. */
.stat__value--text { font-family: var(--font-sans); }

img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.muted { color: var(--color-text-muted); }
