:root {
  --navy: #16233a;
  --navy-2: #1f3554;
  --gold: #b8923f;
  --gold-light: #d9b876;
  --paper: #f6f4ef;
  --ink: #1c1f26;
  --steel: #5c6472;
  --line: #e1dccd;
  --green: #2f6f4e;
  --red: #a3403c;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); margin: 0 0 8px; }

a { color: var(--navy-2); }

.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

header.site-header { background: var(--navy); color: #f0ede4; padding: 20px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.seal {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: 700; color: var(--navy); font-size: 18px;
}
.brand-name { font-family: Georgia, serif; font-size: 20px; letter-spacing: 0.02em; }
nav.main-nav a { color: #e7e2d3; text-decoration: none; margin-left: 24px; font-size: 15px; }
nav.main-nav a:hover { color: var(--gold-light); }

.map {
  margin: 48px auto;
  padding: 60px 24px;
  background:
    radial-gradient(circle at center, rgba(184, 146, 63, 0.10), transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--line) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--line) 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.plot { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.plot-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(184, 146, 63, 0.08);
}
.plot-icon svg { width: 38px; height: 38px; }
.plot-label { font-family: Georgia, serif; font-size: 19px; color: var(--navy); }
.plot-caption { font-size: 14px; color: var(--steel); max-width: 360px; margin: 0 auto; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; }
.panel h2 { font-size: 20px; }
.panel .sub { color: var(--steel); font-size: 14px; margin: -4px 0 18px; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
}
.badge-proposal { background: #e6ecf5; color: #2a4a7a; }
.badge-document { background: #eee6f5; color: #5a3a8a; }
.badge-form { background: #e6f5ee; color: #2a7a55; }
.badge-vote { background: #f5ece6; color: #8a4a2a; }
.badge-other { background: #f0f0ee; color: #5c6472; }

.card { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-bottom: 14px; background: #fffdf9; }
.card-title { font-family: Georgia, serif; font-size: 17px; margin: 8px 0 6px; color: var(--ink); }
.card-body { font-size: 14.5px; color: #3a3f47; white-space: pre-wrap; }
.card-meta { font-size: 12.5px; color: var(--steel); margin-top: 10px; }

.btn { display: inline-block; padding: 10px 18px; border-radius: 6px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-gold { background: var(--gold); color: #241a06; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.btn-green { background: var(--green); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn:disabled { opacity: 0.5; cursor: default; }

form.inline { display: inline; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input[type="text"], .field textarea, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 14.5px; font-family: inherit; background: #fdfcf9;
}
.field textarea { min-height: 110px; resize: vertical; }

.notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.notice-good { background: #e7f3ec; color: #2a5a3f; border: 1px solid #bfe0cd; }
.notice-warn { background: #faf0e2; color: #7a5220; border: 1px solid #edd2a0; }

.vote-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.tally { font-size: 13px; color: var(--steel); }

.empty { color: var(--steel); font-style: italic; font-size: 14px; }

footer.site-footer { text-align: center; padding: 40px 0; color: var(--steel); font-size: 13px; }

@media (max-width: 640px) {
  .panel { padding: 20px; }
  .map { padding: 40px 16px; }
  nav.main-nav a { margin-left: 16px; font-size: 14px; }
}
