:root {
  color-scheme: light;
  --page-width: 54rem;
  --link: #003399;
  --line: #c7c7c7;
  --text: #111111;
  --muted: #555555;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--link);
  text-decoration: underline;
}

button {
  font: inherit;
}

.page-shell {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 18px clamp(12px, 3vw, 24px) 40px;
}

.top-row,
.tab-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  align-items: baseline;
}

.utility-nav,
.lang-switch,
.section-tabs,
.vote-line,
.foot-links,
.related-line,
.record-fields p,
.person-note {
  margin: 0 0 8px;
}

.utility-nav,
.lang-switch,
.related-line,
.vote-line,
.foot-links {
  font-size: 0.95rem;
}

.lang-switch button,
.vote-widget button {
  background: #f5f5f5;
  border: 1px solid #8a8a8a;
  padding: 2px 8px;
  cursor: pointer;
}

.page-title {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 14px;
}

.record-fields {
  margin-bottom: 10px;
}

.person-note {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0 12px;
}

.state-tag {
  display: inline-block;
  border: 1px solid #7f7f7f;
  padding: 1px 8px;
  margin-right: 8px;
}

.vote-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.vote-widget {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.vote-note {
  color: var(--muted);
}

.section-block {
  margin-top: 20px;
}

.section-block h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.work-list {
  margin: 0;
  padding-left: 1.6rem;
}

.work-list li {
  margin-bottom: 4px;
}

.subnav {
  margin: 0 0 12px;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 18px;
}

.meta-table th,
.meta-table td {
  padding: 6px 8px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.meta-table th {
  width: 11rem;
  font-weight: 700;
}

.report-card {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.report-card h2 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .meta-table,
  .meta-table tbody,
  .meta-table tr,
  .meta-table th,
  .meta-table td {
    display: block;
    width: 100%;
  }

  .meta-table th {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .meta-table td {
    padding-top: 2px;
  }
}
