/* Base: box model, page background and type for .rh-body. Components style themselves. */

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

.rh-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--rh-font);
  font-size: var(--rh-text-m);
  line-height: 1.35;
  color: var(--rh-color-text);
  background: var(--rh-color-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.rh-body a {
  color: var(--rh-color-link);
  text-decoration: none;
}

.rh-body h1,
.rh-body h2,
.rh-body h3 {
  line-height: 1.2;
  margin: 0;
}

.rh-body p {
  margin: 0;
}

.rh-body code {
  font-family: var(--rh-font-mono);
  font-size: 0.85em;
}

.rh-icon {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-muted {
  color: var(--rh-color-muted);
  font-size: var(--rh-text-s);
}

.rh-stack > * + * {
  margin-top: var(--rh-space-3);
}

.rh-row-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rh-space-2);
}

.rh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
