:root {
  --ink: #18201d;
  --muted: #5c6863;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --line: #d7ddd8;
  --action: #075d49;
  --action-hover: #034638;
  --accent: #c94c32;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", "Aptos", sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }
header {
  min-height: 64px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brand { color: var(--ink); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
nav { display: flex; flex: 1; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; }
main { width: min(1060px, 92vw); margin: 48px auto 80px; }
h1, h2 { font-family: Georgia, serif; line-height: 1.15; }
h1 { margin: 0 0 24px; font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { margin-top: 36px; font-size: 1.25rem; }
.eyebrow { margin-bottom: 8px; color: var(--accent); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.summary { font-size: 1.2rem; }
.count { margin-left: 6px; color: var(--muted); font-family: "IBM Plex Sans", sans-serif; font-size: .85rem; }
a { color: var(--action); }
button, .button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--action);
  border-radius: 4px;
  color: white;
  background: var(--action);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: var(--action-hover); }
button:disabled { cursor: not-allowed; opacity: .45; }
button.secondary { color: var(--action); background: transparent; }
form { margin: 28px 0; }
label { display: block; margin: 14px 0; }
input[type="text"], input:not([type]) { width: min(100%, 460px); padding: 10px; border: 1px solid var(--line); border-radius: 3px; font: inherit; }
fieldset { margin-bottom: 24px; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.status-form label, .confirmation { padding: 12px 0; }
.people { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.people li { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1.4fr; gap: 16px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.people .empty { display: block; color: var(--muted); }
table { width: 100%; margin-top: 30px; border-collapse: collapse; background: var(--surface); }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.metrics div { padding: 18px; background: var(--surface); }
.metrics dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.metrics dd { margin: 4px 0 0; font-family: Georgia, serif; font-size: 2rem; }
.flash, .notice { padding: 12px 16px; border-left: 4px solid var(--action); background: #e8f2ee; }
code { overflow-wrap: anywhere; }

@media (max-width: 700px) {
  header { padding: 14px 4vw; align-items: flex-start; flex-wrap: wrap; }
  nav { order: 3; width: 100%; overflow-x: auto; }
  main { margin-top: 32px; }
  .people li { grid-template-columns: 1fr; gap: 3px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  table { display: block; overflow-x: auto; }
}
