:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #666;
  --bg: #ffffff;
  --card: #f7f7f5;
  --border: #e2e2df;
  --accent: #1f6b3a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
h1 {
  font-size: 26px;
  margin: 0 0 4px;
}
.title {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
}
.tagline {
  font-size: 17px;
  margin: 0 0 20px;
}
ul.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
ul.facts li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 15px;
}
.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 12px;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}
.section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.section h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 12px;
}
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 10px;
  font-family: inherit;
}
label {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
small.consent {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 12px;
}
.status {
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}
.status.ok { color: var(--accent); }
.status.err { color: #b3261e; }
footer {
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}
.admin-wrap {
  max-width: 1100px;
}
audio { width: 100%; margin-top: 4px; }

/* Org links: a centred vertical stack of logo + link, one per org. Driven by
   `org_links` in identities.json, so an identity without it renders nothing. */
.org-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.org-links h2 {
  align-self: stretch;
}
.org-links .org {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 18px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  text-align: center;
}
.org-links .org img {
  height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
}
.org-links .org-blurb {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
}
.org-links .org-url {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.org-links .org:active { background: #eeeeec; }
