:root {
  --ink: #192b28;
  --muted: #5c6e68;
  --green: #123b35;
  --accent: #216b52;
  --pale: #edf5f1;
  --line: #dce5e0;
  --white: #fff;
  --bg: #f7f9f8;
  --amber: #825e1c;
  --amberbg: #fff4d9;
  --red: #a13c3a;
  --radius: 12px;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    1rem/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #398eaa;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2 {
  line-height: 1.12;
}
h1 {
  font:
    400 clamp(2.4rem, 5vw, 4.7rem) / 1.03 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.04em;
}
h2 {
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.12rem;
  line-height: 1.45;
}
small {
  font-size: 0.875rem;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 99;
  background: white;
  padding: 14px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1380px;
  margin: auto;
  min-height: 100px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 45px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 730;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.17em;
  margin-top: 8px;
  font-weight: 600;
}
.nav-wrap nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-wrap nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  white-space: nowrap;
}
.nav-wrap nav a.active {
  color: var(--green);
  font-weight: 650;
}
.desk-link {
  font-size: 0.875rem;
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 7px;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}
.page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 46px 40px 70px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--accent);
  margin-bottom: 17px;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  padding: 18px 0 45px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  max-width: 610px;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0;
}
.hero-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
}
.hero-aside h3 {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 13px;
}
.hero-aside p {
  font-size: 0.94rem;
  line-height: 1.7;
}
.hero-aside .line {
  margin: 18px 0;
  border-top: 1px solid var(--line);
}
.counts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 0.875rem;
}
.counts strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.45;
  background: var(--pale);
  color: var(--accent);
}
.badge.pending {
  background: var(--amberbg);
  color: var(--amber);
}
.badge.neutral {
  background: #edf0f2;
  color: #52616a;
}
.badge.failed {
  background: #fceaea;
  color: var(--red);
}
.badge.small {
  font-size: 0.75rem;
}
.notice {
  background: var(--pale);
  border: 1px solid #cce1d6;
  border-left: 3px solid var(--accent);
  padding: 15px 20px;
  border-radius: 8px;
  margin: 25px 0;
  color: #31584c;
  font-size: 0.94rem;
}
.notice.amber {
  background: #fff9ed;
  border-color: #eadab3;
  color: #755a2d;
}
.notice p:last-child {
  margin-bottom: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0 22px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 25px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 550;
}
.field.grow {
  flex: 1;
  min-width: 220px;
}
input,
select,
textarea {
  color: var(--ink);
  background: white;
  border: 1px solid #c8d5ce;
  border-radius: 7px;
  padding: 11px 13px;
  min-height: 46px;
  width: 100%;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--accent);
}
textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}
select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235c6e68' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 13px center;
  background-repeat: no-repeat;
}
.chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 13px;
  background: white;
  font-size: 0.875rem;
  color: var(--muted);
}
.chip.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.person-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 287px;
  position: relative;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.person-card:hover {
  border-color: #8ba99b;
  transform: translateY(-2px);
}
.person-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.initials {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  background: #e9eeec;
  color: #475b52;
}
.labor {
  background: #f9e7e5;
  color: #a34340;
}
.liberal {
  background: #e7edf9;
  color: #365b9e;
}
.greens {
  background: #e4f2e8;
  color: #226440;
}
.nationals {
  background: #edf0dc;
  color: #596721;
}
.animal {
  background: #f0e9f7;
  color: #795198;
}
.cannabis {
  background: #f7eddf;
  color: #8b692a;
}
.person-card h3 {
  font-size: 1.2rem;
  margin: 0 0 3px;
}
.person-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.person-card .party {
  font-size: 0.875rem;
  color: var(--muted);
}
.person-card .place {
  font-size: 0.94rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.person-card .chamber {
  font-size: 0.875rem;
  color: var(--muted);
}
.person-card .card-bottom {
  margin-top: auto;
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.card-bottom a {
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 600;
}
.card-bottom .badge {
  font-size: 0.7rem;
}
.empty {
  border: 1px dashed #b7c8be;
  border-radius: 10px;
  background: white;
  padding: 35px;
  text-align: center;
  color: var(--muted);
}
.empty h3 {
  color: var(--ink);
}
.profile-heading {
  display: flex;
  gap: 23px;
  align-items: center;
  margin: 25px 0 20px;
}
.profile-heading .initials {
  width: 82px;
  height: 82px;
  font-size: 2rem;
}
.profile-heading h1 {
  font-size: 3.3rem;
  margin-bottom: 9px;
}
.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 30px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.profile-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}
.lead {
  max-width: 960px;
  font-size: 1.07rem;
  line-height: 1.8;
  color: #485f55;
}
.tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  margin: 29px 0 30px;
  overflow-x: auto;
}
.tabs a,
.tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  padding: 12px 0;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.94rem;
}
.tabs .active {
  color: var(--green);
  border-bottom-color: var(--accent);
  font-weight: 650;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 35px;
}
.aside-box {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.aside-box h3 {
  margin-bottom: 12px;
}
.aside-box p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 9px;
}
.aside-box dl {
  margin: 0;
}
.aside-box dt {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 14px;
}
.aside-box dd {
  font-size: 0.875rem;
  margin: 3px 0 0;
}
.evidence-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 23px;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.evidence-card h3 {
  font-size: 1.05rem;
  margin: 13px 0;
}
.evidence-card p {
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 15px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.source-links {
  border-top: 1px solid #edf1ee;
  padding-top: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.source-links a {
  font-size: 0.8125rem;
  display: inline-block;
  overflow-wrap: anywhere;
}
.source-links span {
  font-size: 0.75rem;
  color: var(--muted);
}
details {
  margin-top: 13px;
  font-size: 0.875rem;
  color: var(--muted);
}
summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 550;
}
details ul {
  padding-left: 20px;
}
details li {
  margin: 8px 0;
}
.readable {
  max-width: 850px;
}
.readable p {
  line-height: 1.85;
}
.readable h2 {
  font-size: 1.35rem;
  margin-top: 30px;
}
.readable h3 {
  margin-top: 24px;
}
.readable .doc-title {
  font-family: Georgia, serif;
  font-size: 2rem;
}
.timeline {
  border-left: 2px solid #c4dace;
  margin: 15px 0 20px 8px;
  padding-left: 28px;
}
.timeline-item {
  position: relative;
  padding: 0 0 28px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  left: -34px;
  top: 7px;
  border: 2px solid var(--bg);
}
.timeline-item h3 {
  margin: 4px 0;
}
.timeline-item p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 6px 0;
}
.timeline-date {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 650;
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
}
th {
  text-align: left;
  background: #eef3f0;
  color: #4d665a;
  font-weight: 650;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tbody tr:last-child td {
  border: 0;
}
td p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 0.8125rem;
}
td strong {
  font-weight: 600;
}
.vote-aye {
  color: #226b44;
  font-weight: 650;
}
.vote-no {
  color: #9a4745;
  font-weight: 650;
}
.policy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
}
.policy-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.policy-button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  text-align: left;
  padding: 16px;
  color: var(--ink);
}
.policy-button.active {
  border-color: var(--accent);
  background: var(--pale);
}
.policy-button strong {
  display: block;
  font-size: 0.94rem;
}
.policy-button small {
  color: var(--muted);
  font-size: 0.8125rem;
  display: block;
  margin-top: 4px;
}
.criterion {
  background: var(--green);
  color: white;
  border-radius: 10px;
  padding: 27px;
  margin-bottom: 22px;
}
.criterion .eyebrow {
  color: #b6ddc8;
}
.criterion h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 1.9rem;
  margin-bottom: 15px;
}
.criterion p {
  font-size: 0.94rem;
  color: #e1ede6;
  margin: 0;
}
.policy-row-title {
  font-size: 0.94rem;
  min-width: 155px;
}
.muted {
  color: var(--muted);
}
.subtle {
  font-size: 0.8125rem;
  color: var(--muted);
}
.button,
.button-secondary,
.button-danger {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 7px;
  padding: 10px 17px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.button-secondary {
  background: white;
  color: var(--green);
  border-color: #c9d7cf;
}
.button-danger {
  background: white;
  color: var(--red);
  border-color: #e5bebc;
}
.button.small,
.button-secondary.small {
  padding: 6px 11px;
  min-height: 34px;
  font-size: 0.8125rem;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.admin-heading h1 {
  font-size: 3.2rem;
}
.admin-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 35px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-nav a {
  color: var(--muted);
  padding: 10px 13px;
  text-decoration: none;
  font-size: 0.94rem;
  border-radius: 7px;
}
.admin-nav a.active {
  background: var(--pale);
  color: var(--green);
  font-weight: 650;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.94rem;
  margin: 14px 0;
}
.check-label input {
  flex-shrink: 0;
}
.queue-card {
  border: 1px solid var(--line);
  padding: 19px;
  border-radius: 9px;
  margin-bottom: 12px;
  background: white;
}
.queue-card h3 {
  margin: 8px 0;
  font-size: 1rem;
}
.queue-card p {
  font-size: 0.875rem;
  color: var(--muted);
}
.queue-card .button-row {
  margin-top: 12px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 22px;
}
.stat-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
}
.stat-box strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 400;
}
.stat-box span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.activity {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.activity:last-child {
  border: 0;
}
.activity p {
  font-size: 0.875rem;
  margin: 5px 0;
  color: var(--muted);
}
.source-card {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.source-card a {
  font-size: 0.94rem;
}
.source-card p {
  font-size: 0.8125rem;
  margin: 4px 0;
  color: var(--muted);
}
.source-card .badge {
  align-self: start;
  white-space: nowrap;
}
.site-footer {
  max-width: 1300px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 34px 40px 40px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.footer-brand {
  color: var(--green);
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
}
.site-footer p {
  margin: 7px 0;
}
.site-footer > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: end;
}
.site-footer a {
  color: var(--muted);
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.loader {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid #dae5dd;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  padding: 13px 22px;
  border-radius: 8px;
  box-shadow: 0 5px 24px #0002;
  z-index: 50;
  max-width: 90vw;
  display: none;
}
#toast.show {
  display: block;
}
#toast.error {
  background: #833e39;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  width: min(750px, 94vw);
  max-height: 90vh;
  padding: 30px;
  color: var(--ink);
}
dialog::backdrop {
  background: #0c272a80;
}
dialog h2 {
  font-size: 1.5rem;
}
dialog .dialog-text {
  max-height: 45vh;
  overflow: auto;
  margin: 20px 0;
}
dialog p {
  font-size: 0.94rem;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.dialog-header button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.4rem;
}
.login-panel {
  max-width: 600px;
  margin: 50px auto;
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.login-panel h1 {
  font-size: 2.8rem;
}
.error-panel {
  padding: 45px;
  border: 1px solid #ecc7bf;
  background: #fff5f3;
  border-radius: 10px;
}
.screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nowrap {
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .nav-wrap {
    gap: 25px;
    padding: 20px 28px;
  }
  .nav-wrap nav {
    gap: 18px;
  }
  .hero {
    gap: 35px;
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .page {
    padding: 35px 28px 55px;
  }
}
@media (max-width: 780px) {
  .nav-wrap {
    flex-wrap: wrap;
    gap: 20px;
    min-height: auto;
    padding: 18px 20px;
  }
  .brand {
    flex: 1;
  }
  .nav-wrap nav {
    order: 3;
    flex-basis: 100%;
    overflow: auto;
    gap: 24px;
  }
  .desk-link {
    font-size: 0.8125rem;
  }
  .page {
    padding: 30px 20px 45px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 10px;
  }
  .hero-aside {
    display: none;
  }
  h1 {
    font-size: 3.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .counts {
    gap: 15px;
    font-size: 0.8125rem;
  }
  .people-grid {
    gap: 14px;
  }
  .person-card {
    padding: 20px;
    min-height: 280px;
  }
  .person-card .card-bottom {
    display: block;
  }
  .card-bottom a {
    display: block;
    margin-top: 12px;
  }
  .profile-layout,
  .policy-layout,
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .profile-heading h1 {
    font-size: 2.65rem;
  }
  .profile-heading .initials {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
  }
  .profile-heading {
    gap: 15px;
  }
  .profile-layout aside {
    order: 2;
  }
  .policy-menu,
  .admin-nav {
    flex-direction: row;
    overflow: auto;
  }
  .policy-button {
    min-width: 195px;
  }
  .admin-nav a {
    white-space: nowrap;
  }
  .policy-layout {
    gap: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .admin-heading h1 {
    font-size: 2.7rem;
  }
  .site-footer {
    padding: 28px 20px;
    display: block;
  }
  .site-footer > div:last-child {
    align-items: start;
    margin-top: 20px;
  }
  .stat-grid {
    gap: 9px;
  }
  .stat-box {
    padding: 15px;
  }
  .stat-box strong {
    font-size: 1.8rem;
  }
  .tabs {
    gap: 20px;
  }
  .filters .field {
    flex: 1;
    min-width: 140px;
  }
}
@media (max-width: 470px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
  .person-card {
    min-height: 245px;
  }
  .person-card .card-bottom {
    display: flex;
  }
  .card-bottom a {
    margin: 0;
  }
  .hero h1 {
    font-size: 2.9rem;
  }
  .profile-meta {
    gap: 8px;
  }
  .profile-heading h1 {
    font-size: 2.2rem;
  }
  .admin-heading {
    display: block;
  }
  .admin-heading .button-row {
    margin-bottom: 20px;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .panel {
    padding: 20px;
  }
}
