/* Base: the reset, document defaults and shared utility classes.

   Unlike the RRG tool (a fixed-viewport chart with its own scroll regions), this is an
   ordinary scrolling document: the dashboard is a column of cards, so the page scrolls
   normally at every width and there is nothing to pin. */
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font: 14px / 1.5 var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
}
a {
  color: inherit;
}
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.tnum {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* Wide content (the table, any chart) scrolls inside its own box; the page body must
   never scroll sideways. */
.scroll-x {
  overflow-x: auto;
  max-width: 100%;
}
