:root {
  color: #1c1b19;
  background: #f6f4ef;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  line-height: 1.45;
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 1.25rem 1.25rem 4rem;
}

a { color: #1a3f72; }

h1 { font-size: 1.7rem; line-height: 1.25; font-weight: 600; }

h2 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2rem; }

.top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 2rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.brand { font-weight: 650; text-decoration: none; color: inherit; }

nav { display: flex; gap: 0.9rem; align-items: baseline; }

nav form { margin: 0; }

button.link {
  background: none;
  border: 0;
  padding: 0;
  color: #1a3f72;
  font: inherit;
  cursor: pointer;
}

.lead { font-size: 1.15rem; }

.banner {
  background: #efe4c4;
  padding: 0.7rem 0.9rem;
}

.counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.num {
  font-size: 3rem;
  line-height: 1;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.lbl { margin: 0.2rem 0 0; font-family: "Avenir Next", "Segoe UI", sans-serif; }

.total { color: #4e4a43; }

.vote { display: flex; gap: 0.75rem; }

button, .quiet {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.35rem;
  border: 1px solid #1c1b19;
  background: #1c1b19;
  color: #f6f4ef;
  cursor: pointer;
}

button[aria-pressed="true"] { outline: 3px solid #1f6b3a; }

button.quiet, .vote button[value="disagree"] { background: #f6f4ef; color: #1c1b19; }

form label, fieldset {
  display: block;
  margin: 0.9rem 0;
}

input[type="email"], input[type="password"], input[type="text"], textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  font: inherit;
  padding: 0.45rem 0.5rem;
  border: 1px solid #c8c2b6;
  background: white;
}

.check { font-size: 0.95rem; }

.index { padding-left: 1.1rem; }

.index li { margin: 0.7rem 0; }

.flashes { background: #efe4c4; padding: 0.6rem 1rem; }

.admin-actions { font-family: "Avenir Next", "Segoe UI", sans-serif; }
