:root {
  --paper: #ffffff;
  --paper-cool: #f3f6f8;
  --ink: #17202b;
  --ink-soft: #53606d;
  --ink-faint: #77838e;
  --line: #d9e0e6;
  --line-strong: #b9c4ce;
  --federal-blue: #164b7a;
  --policy-red: #b64045;
  --teal: #23766f;
  --amber: #9a6a16;
  --plum: #72566f;
  --font-display: "Iowan Old Style", "Songti SC", STSong, Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --shell: 1240px;
  --header-height: 72px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
summary {
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 9px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #e29b31;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 32px;
  border-bottom: 1px solid rgba(185, 196, 206, 0.78);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.site-mark__seal {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--federal-blue);
  border-radius: 50%;
  color: var(--federal-blue);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.site-mark__text {
  font-size: 14px;
  font-weight: 700;
}

.site-mark__text span {
  margin-left: 7px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: stretch;
  min-height: var(--header-height);
}

.site-nav a {
  position: relative;
  display: grid;
  min-width: 72px;
  padding: 0 12px;
  place-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  background: var(--federal-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--federal-blue);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.overview {
  overflow: hidden;
  padding: 28px 0 0;
  background: var(--paper);
}

.overview__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 60px;
  align-items: end;
  margin-bottom: 20px;
}

.overview__copy h1 {
  max-width: 980px;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 650;
  line-height: 1.08;
}

.overview__copy p {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.overview__date {
  padding: 18px 0 5px;
  border-top: 2px solid var(--policy-red);
  text-align: right;
}

.overview__date span,
.overview__date strong {
  display: block;
}

.overview__date span {
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 12px;
}

.overview__date strong {
  color: var(--ink);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.leadership-map {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.group-lane {
  --group-color: var(--federal-blue);
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 56px;
  border-bottom: 1px solid var(--line);
}

.group-lane:last-child {
  border-bottom: 0;
}

.group-lane__label {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 2px 22px 2px 0;
  border-right: 1px solid var(--line);
}

.group-lane__number {
  color: var(--group-color);
  font-family: var(--font-display);
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}

.group-lane__label strong,
.group-lane__label span {
  display: block;
}

.group-lane__label strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.group-lane__label span {
  color: var(--ink-faint);
  font-size: 11px;
}

.group-lane__members {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-left: 24px;
}

.group-lane__members::before {
  position: absolute;
  top: 50%;
  right: 18px;
  left: 18px;
  z-index: 0;
  height: 1px;
  background: color-mix(in srgb, var(--group-color) 55%, white);
  content: "";
}

.map-member {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 2px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.map-member:hover {
  background: color-mix(in srgb, var(--group-color) 8%, white);
}

.map-member__portrait {
  width: 40px;
  height: 46px;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 3px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--group-color) 58%, white);
}

.map-member__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  transition: filter 180ms ease, transform 220ms ease;
}

.map-member:hover .map-member__portrait img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.035);
}

.map-member__copy {
  min-width: 0;
  background: var(--paper);
  box-shadow: -8px 0 0 var(--paper), 8px 0 0 var(--paper);
}

.map-member__name,
.map-member__role {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-member__name {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.map-member__role {
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.45;
  white-space: nowrap;
}

.summary-rail {
  display: grid;
  grid-template-columns: 120px 150px 170px minmax(0, 1fr);
  min-height: 70px;
  align-items: stretch;
  border-bottom: 1px solid var(--line-strong);
}

.summary-rail__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.summary-rail__item strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.summary-rail__item span {
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: 11px;
}

.summary-rail__statement {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-left: 36px;
}

.summary-rail__rule {
  width: 54px;
  height: 2px;
  background: var(--policy-red);
}

.summary-rail__statement p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.6;
}

.mandates {
  padding: 48px 0 88px;
  background: var(--paper-cool);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 650;
  line-height: 1.15;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.mandate-list {
  border-top: 1px solid var(--line-strong);
}

.mandate-row {
  --group-color: var(--federal-blue);
  display: grid;
  grid-template-columns: 72px 290px minmax(0, 1fr) 190px;
  gap: 26px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.mandate-row__number {
  color: var(--group-color);
  font-family: var(--font-display);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.mandate-row__name strong,
.mandate-row__name span {
  display: block;
}

.mandate-row__name strong {
  margin-bottom: 2px;
  font-size: 16px;
}

.mandate-row__name span {
  color: var(--ink-faint);
  font-size: 12px;
}

.mandate-row__text {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.mandate-row__signal {
  padding-left: 18px;
  border-left: 2px solid var(--group-color);
  color: var(--group-color);
  font-size: 12px;
  font-weight: 700;
}

.directory {
  padding: 96px 0 112px;
  background: var(--paper);
}

.directory__heading {
  margin-bottom: 34px;
}

.text-command {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--federal-blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.text-command:hover {
  border-bottom-color: var(--federal-blue);
}

.text-command svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.search-field {
  position: relative;
  display: block;
}

.search-field > svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ink-faint);
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font-size: 14px;
}

.search-field input::placeholder {
  color: #8a949d;
}

.search-field input:focus {
  border-color: var(--federal-blue);
  outline: 3px solid rgba(36, 89, 166, 0.16);
}

.group-filters {
  display: flex;
  min-width: 0;
  justify-content: flex-end;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-button {
  --group-color: var(--federal-blue);
  position: relative;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.filter-button:hover {
  background: var(--paper-cool);
  color: var(--ink);
}

.filter-button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--group-color) 48%, white);
  background: color-mix(in srgb, var(--group-color) 8%, white);
  color: var(--group-color);
}

.result-status {
  min-height: 26px;
  margin-bottom: 6px;
  color: var(--ink-faint);
  font-size: 12px;
}

.member-list {
  border-top: 1px solid var(--line-strong);
}

.member-profile {
  --group-color: var(--federal-blue);
  scroll-margin-top: calc(var(--header-height) + 24px);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
}

.member-profile[hidden] {
  display: none;
}

.member-profile summary {
  position: relative;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) 64px;
  gap: 32px;
  align-items: center;
  min-height: 218px;
  padding: 28px 8px 28px 0;
  cursor: pointer;
  list-style: none;
}

.member-profile summary::-webkit-details-marker {
  display: none;
}

.member-profile summary::after {
  position: absolute;
  right: 6px;
  bottom: 24px;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--group-color);
  border-bottom: 1.8px solid var(--group-color);
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.member-profile[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}

.member-profile summary:hover {
  background: color-mix(in srgb, var(--group-color) 4%, white);
}

.profile-portrait {
  position: relative;
  width: 156px;
  height: 190px;
  overflow: hidden;
  border-radius: 3px;
  background: #e7ebee;
}

.profile-portrait.is-fallback::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--group-color) 12%, white);
  color: var(--group-color);
  content: attr(data-initials);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
}

.map-member__portrait.is-fallback {
  background: color-mix(in srgb, var(--group-color) 12%, white);
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
  transition: filter 180ms ease;
}

.member-profile[open] .profile-portrait img,
.member-profile summary:hover .profile-portrait img {
  filter: saturate(1) contrast(1.02);
}

.profile-summary {
  min-width: 0;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 12px;
  color: var(--group-color);
  font-size: 11px;
  font-weight: 700;
}

.profile-meta span + span {
  position: relative;
}

.profile-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -11px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--line-strong);
  content: "";
}

.profile-name {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.profile-cn-name {
  margin-left: 8px;
  color: var(--ink-faint);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.profile-title {
  display: block;
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.profile-core {
  display: block;
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.65;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  color: var(--ink-faint);
  font-size: 11px;
  list-style: none;
}

.profile-tags > span:not(:last-child)::after {
  margin: 0 9px;
  color: var(--group-color);
  content: "·";
}

.profile-index {
  align-self: start;
  padding-top: 2px;
  color: color-mix(in srgb, var(--group-color) 55%, white);
  font-family: var(--font-display);
  font-size: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.profile-details {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.5fr);
  gap: 64px;
  padding: 12px 72px 48px 188px;
}

.profile-details h4 {
  margin-bottom: 20px;
  color: var(--group-color);
  font-size: 12px;
  font-weight: 750;
}

.profile-bio {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.career-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  position: relative;
  padding: 0 0 18px 20px;
  color: var(--ink-soft);
  font-size: 13px;
}

.career-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--group-color);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.career-list li:not(:last-child)::after {
  position: absolute;
  top: 18px;
  bottom: 0;
  left: 4px;
  width: 1px;
  background: color-mix(in srgb, var(--group-color) 32%, white);
  content: "";
}

.contribution {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.contribution:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contribution strong {
  color: var(--ink);
  font-size: 13px;
}

.contribution p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.photo-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--ink-faint);
  font-size: 11px;
  text-decoration: none;
}

.photo-source:hover {
  color: var(--group-color);
}

.photo-source svg,
.source-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.empty-state {
  padding: 70px 0;
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 28px;
}

.empty-state p {
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: 14px;
}

.activity {
  padding: 96px 0 112px;
  background: var(--paper-cool);
}

.timeline {
  border-top: 1px solid var(--line-strong);
}

.timeline-day {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-day__date {
  padding-top: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.timeline-day__items {
  display: grid;
  gap: 30px;
}

.timeline-item {
  --group-color: var(--federal-blue);
  position: relative;
  padding-left: 28px;
}

.timeline-item::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper-cool);
  border-radius: 50%;
  background: var(--group-color);
  box-shadow: 0 0 0 1.5px var(--group-color);
  content: "";
}

.timeline-item::after {
  position: absolute;
  top: 26px;
  bottom: -32px;
  left: 5px;
  width: 1.5px;
  background: var(--line-strong);
  content: "";
  opacity: 0.55;
}

.timeline-day__items .timeline-item:last-child::after {
  display: none;
}

.timeline-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.timeline-item__member {
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.timeline-item__member:hover {
  border-bottom-color: var(--group-color);
  color: var(--group-color);
}

.timeline-item__group {
  color: var(--ink-faint);
  font-size: 12px;
}

.timeline-item__type {
  padding: 2px 9px;
  border: 1px solid var(--group-color);
  border-radius: 999px;
  color: var(--group-color);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.timeline-item__title {
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.timeline-item__summary {
  max-width: 720px;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.timeline-item__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--federal-blue);
  font-size: 12px;
  text-decoration: none;
}

.timeline-item__source:hover {
  text-decoration: underline;
}

.timeline-item__source svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.activity-note {
  margin: 30px 0 0;
  color: var(--ink-faint);
  font-size: 13px;
}

.sources {
  padding: 82px 0;
  background: #19232d;
  color: white;
}

.sources__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 90px;
}

.sources h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 650;
}

.sources p {
  max-width: 680px;
  margin-bottom: 26px;
  color: #bdc7d0;
  font-size: 14px;
}

.source-links {
  display: grid;
  gap: 12px;
}

.source-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  color: #e6b862;
  font-size: 13px;
  text-decoration: none;
}

.source-link:hover {
  color: white;
}

.photo-credits {
  align-self: start;
  border-top: 1px solid #52606b;
  border-bottom: 1px solid #52606b;
}

.photo-credits summary {
  position: relative;
  padding: 18px 30px 18px 0;
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.photo-credits summary::-webkit-details-marker {
  display: none;
}

.photo-credits summary::after {
  position: absolute;
  top: 22px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-right: 1px solid #e6b862;
  border-bottom: 1px solid #e6b862;
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.photo-credits[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}

.photo-credits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  padding: 4px 0 22px;
}

.photo-credits__list a {
  overflow: hidden;
  color: #aeb9c2;
  font-size: 11px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-credits__list a:hover {
  color: white;
}

.site-footer {
  padding: 24px 0;
  background: #111920;
  color: #8f9ba5;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 11px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--federal-blue);
  box-shadow: 0 8px 24px rgba(18, 34, 49, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

noscript {
  display: block;
  padding: 20px;
  background: #fff2d8;
  color: #6e4a0b;
  text-align: center;
}

@media (max-width: 1080px) {
  .overview__copy h1 {
    font-size: 52px;
  }

  .group-lane {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .map-member {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 2px 9px;
  }

  .map-member__portrait {
    width: 40px;
    height: 46px;
  }

  .map-member__name {
    font-size: 15px;
  }

  .mandate-row {
    grid-template-columns: 58px 235px minmax(0, 1fr) 160px;
    gap: 20px;
  }

  .timeline-day {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 24px;
  }

  .timeline-day__date {
    font-size: 19px;
  }

  .profile-details {
    padding-left: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .site-header {
    min-height: var(--header-height);
    padding-inline: 20px;
  }

  .site-nav a {
    min-width: 62px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .overview {
    padding-top: 54px;
  }

  .overview__heading {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 28px;
    margin-bottom: 38px;
  }

  .overview__copy h1 {
    font-size: 44px;
  }

  .overview__copy p {
    font-size: 16px;
  }

  .leadership-map {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .group-lane {
    flex: 0 0 320px;
    grid-template-columns: 1fr;
    grid-template-rows: 40px 92px;
    min-height: 132px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .group-lane__label {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 5px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .group-lane__number {
    font-size: 17px;
  }

  .group-lane__label strong {
    font-size: 12px;
  }

  .group-lane__label span {
    display: none;
  }

  .group-lane__members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
  }

  .group-lane__members::before {
    display: none;
  }

  .map-member {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
    padding: 9px 8px;
  }

  .map-member__portrait {
    width: 48px;
    height: 64px;
  }

  .map-member__name {
    font-family: var(--font-sans);
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }

  .map-member__role {
    display: none;
  }

  .summary-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .summary-rail__statement {
    grid-column: 1 / -1;
    min-height: 76px;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .mandate-row {
    grid-template-columns: 46px 220px minmax(0, 1fr);
  }

  .mandate-row__signal {
    display: none;
  }

  .directory-tools {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .group-filters {
    justify-content: flex-start;
  }

  .member-profile summary {
    grid-template-columns: 130px minmax(0, 1fr) 42px;
    gap: 24px;
    min-height: 190px;
  }

  .profile-portrait {
    width: 130px;
    height: 164px;
  }

  .profile-name {
    font-size: 27px;
  }

  .profile-core {
    font-size: 16px;
  }

  .profile-details {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 8px 0 42px 154px;
  }

  .sources__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .timeline-day {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .timeline-day__date {
    padding-top: 0;
    font-size: 18px;
  }

  .site-mark__text {
    font-size: 13px;
  }

  .site-mark__text span,
  .site-nav {
    display: none;
  }

  .overview {
    padding-top: 36px;
  }

  .overview__heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 26px;
  }

  .overview__copy h1 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.14;
  }

  .overview__copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .overview__date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0 0;
    text-align: left;
  }

  .overview__date span {
    margin-bottom: 0;
  }

  .group-lane {
    flex-basis: 292px;
  }

  .summary-rail {
    min-height: 0;
  }

  .summary-rail__item {
    min-height: 74px;
  }

  .summary-rail__item strong {
    font-size: 25px;
  }

  .summary-rail__item span {
    max-width: 80px;
    font-size: 10px;
    line-height: 1.3;
  }

  .summary-rail__statement {
    display: none;
  }

  .summary-rail__rule {
    width: 32px;
  }

  .summary-rail__statement p {
    font-size: 14px;
  }

  .mandates {
    padding: 48px 0 76px;
  }

  .directory {
    padding: 68px 0 76px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .mandate-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 20px 0;
  }

  .mandate-row__number {
    grid-row: 1 / 3;
    font-size: 23px;
  }

  .mandate-row__name strong {
    font-size: 14px;
  }

  .mandate-row__text {
    grid-column: 2;
    font-size: 13px;
  }

  .directory__heading {
    align-items: flex-end;
    gap: 14px;
  }

  .text-command {
    flex: 0 0 auto;
  }

  .text-command span {
    display: none;
  }

  .directory-tools {
    padding: 14px 0;
  }

  .member-profile summary {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    min-height: 164px;
    padding: 22px 30px 22px 0;
  }

  .member-profile summary::after {
    right: 8px;
    bottom: 24px;
  }

  .profile-portrait {
    width: 104px;
    height: 132px;
  }

  .profile-meta {
    gap: 5px 16px;
    margin-bottom: 8px;
    font-size: 9px;
  }

  .profile-name {
    font-size: 23px;
  }

  .profile-cn-name {
    display: block;
    margin: 4px 0 0;
    font-size: 11px;
  }

  .profile-title {
    margin-bottom: 9px;
    font-size: 11px;
    line-height: 1.5;
  }

  .profile-core {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-family: var(--font-sans);
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .profile-tags,
  .profile-index {
    display: none;
  }

  .profile-details {
    gap: 30px;
    padding: 4px 0 36px;
  }

  .profile-details h4 {
    margin-bottom: 15px;
  }

  .contribution {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sources {
    padding: 64px 0;
  }

  .sources h2 {
    font-size: 32px;
  }

  .photo-credits__list {
    grid-template-columns: 1fr;
  }

  .site-footer .shell {
    display: grid;
    gap: 6px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .directory-tools,
  .text-command,
  .back-to-top,
  .photo-source {
    display: none !important;
  }

  .overview,
  .mandates,
  .directory,
  .activity,
  .sources {
    padding-block: 28px;
  }

  .activity {
    background: white;
  }

  .timeline-item::after {
    display: none;
  }

  .member-profile summary {
    break-inside: avoid;
  }

  .sources {
    background: white;
    color: var(--ink);
  }

  .sources p,
  .source-link {
    color: var(--ink-soft);
  }
}


/* ---- 栏目切换：跨页链接与页内锚点共用 site-nav 样式 ---- */
.site-nav a.is-current {
  color: var(--federal-blue);
}

.site-nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav__divider {
  align-self: center;
  width: 1px;
  height: 20px;
  margin: 0 6px;
  background: var(--line-strong);
}

/* ---- 理事页：四人泳道 ---- */
.group-lane--four .group-lane__members {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---- 投票权徽标 ---- */
.profile-meta .voting-badge {
  padding: 2px 9px;
  border: 1px solid var(--group-color);
  border-radius: 999px;
  line-height: 1.5;
}

.profile-meta .voting-badge::before {
  display: none;
}

/* ---- 动态时间线里的静态主体（非人物按钮） ---- */
.timeline-item__member--static {
  cursor: default;
}

.timeline-item__member--static:hover {
  border-bottom-color: transparent;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .group-lane--four .group-lane__members::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .group-lane--four {
    grid-template-rows: 40px 184px;
    min-height: 224px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: flex;
    margin-left: auto;
  }

  .site-nav a[href^="#"],
  .site-nav__divider {
    display: none;
  }

  .site-nav a {
    min-width: 0;
    padding-inline: 8px;
  }
}
