/* 2026vote — load after tokens.css and before utilities.css. */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-background);
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--leading-tight);
}
h1 {
  font-size: var(--text-2xl);
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
}
h4,
h5,
h6 {
  font-size: inherit;
}
ul,
ol {
  margin-block: 0;
  padding-inline-start: 1.5em;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
img {
  object-fit: contain;
}
iframe {
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
input,
select,
textarea {
  max-width: 100%;
}
button,
input,
select {
  line-height: normal;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}
textarea {
  display: block;
  resize: vertical;
}
fieldset {
  min-inline-size: 0;
  margin: 0;
}
legend {
  padding: 0;
}
::placeholder {
  color: var(--color-muted);
  opacity: 1;
}
/* Preserve native controls, disabled appearance, and default focus fallback. */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}
[hidden]:not([hidden="until-found"]) {
  display: none !important;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td {
  text-align: start;
}
pre,
code,
kbd,
samp {
  font-family: var(--font-mono);
}
pre {
  max-width: 100%;
  overflow-x: auto;
}
hr {
  margin-block: var(--spacing-6);
  border: 0;
  border-block-start: 1px solid currentColor;
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
