:root {
  --ink: #1c2431;
  --muted: #5c6672;
  --line: #dfe3e8;
  --accent: #2f5d8a;
  --ok: #2e7d5b;
  --warn: #a1442b;
  --bg: #f6f7f9;
  --card: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Palatino Linotype", Palatino, Georgia, serif;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
header h1 { font-size: 1.5rem; margin: 0; }
header .sub { color: var(--muted); margin: .15rem 0 1.5rem; letter-spacing: .02em; }
h2 { font-size: 1.15rem; }
a { color: var(--accent); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  margin: 1.25rem 0;
}
.card.ok { border-color: var(--ok); }
.card.warn { border-color: var(--warn); }

form.card label { display: block; margin: 0 0 .9rem; font-size: .92rem; color: var(--muted); }
form.card label.check { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink); }
form.card input[type=text], form.card input[type=email] {
  display: block; width: 100%; margin-top: .3rem;
  padding: .55rem .65rem; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
form.card input[type=checkbox] { margin-top: .25rem; }
.opt { color: var(--muted); font-weight: normal; }
button {
  margin-top: .4rem; padding: .6rem 1.1rem; font-size: 1rem;
  color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer;
}
button:hover { background: #274d73; }

/* Same affordance as the submit button, for a link that acts like one. */
a.btn {
  display: inline-block; margin-top: .4rem; padding: .6rem 1.1rem;
  font-size: 1rem; color: #fff; background: var(--accent);
  border-radius: 6px; text-decoration: none;
}
a.btn:hover { background: #274d73; }

.fine { color: var(--muted); font-size: .85rem; }

.figures { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }
.figures > div {
  flex: 1 1 8rem; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem .5rem;
}
.figures .n { display: block; font-size: 2rem; font-weight: 600; color: var(--accent); }
.figures .l { display: block; color: var(--muted); font-size: .85rem; }

table.adopters { width: 100%; border-collapse: collapse; margin: 1rem 0; }
table.adopters th, table.adopters td {
  text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); font-size: .92rem;
}
table.adopters th { color: var(--muted); font-weight: 600; }

footer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* --- admin page ------------------------------------------------------- */
/* Wider than the public pages: this one is tables, not prose. */
.wrap.wide { max-width: 1040px; }

table.grid { width: 100%; border-collapse: collapse; margin: .5rem 0 0; }
table.grid th, table.grid td {
  text-align: left; padding: .4rem .55rem; border-bottom: 1px solid var(--line);
  font-size: .86rem; vertical-align: top;
}
table.grid th { color: var(--muted); font-weight: 600; white-space: nowrap; }
table.grid td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.grid tr:hover td { background: #fafbfc; }

/* Status and count chips. Colour carries no meaning on its own -- the word is
   always there too, for anyone who cannot see the difference. */
.tag {
  display: inline-block; padding: .05rem .45rem; border-radius: 999px;
  font-size: .78rem; border: 1px solid var(--line); color: var(--muted);
}
.tag.approved { color: var(--ok); border-color: var(--ok); }
.tag.pending { color: var(--warn); border-color: var(--warn); }

.kv { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: .4rem 0 0; }
.kv div { font-size: .86rem; color: var(--muted); }
.kv b { color: var(--ink); font-weight: 600; }

.log { margin: .5rem 0 0; padding: 0; list-style: none; }
.log li {
  font-size: .84rem; padding: .3rem 0; border-bottom: 1px solid var(--line);
  display: flex; gap: .6rem; align-items: baseline;
}
.log time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.log .kind {
  flex: 0 0 6.5rem; color: var(--muted); text-transform: uppercase;
  font-size: .72rem; letter-spacing: .04em;
}
