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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

.measure {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: var(--font-base);
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1400px) {
  .page {
    padding-top: var(--topbar-height, 72px);
  }
}

/* Els estils interactius de controls (box-shadow, :active, :hover, transició) són a
   css/controls.css, carregat després de tots els components per coincidir amb l'ordre
   de cascada del monòlit v3. */
