.legacy .research-main {
  max-width: 1120px;
  padding-top: 40px;
  padding-bottom: 72px;
  color: var(--navy-deep);
}
.legacy .research-main h1 {
  font-size: clamp(var(--fs-h1), 4vw, var(--fs-h1));
  line-height: 1.5;
  margin: 20px 0 28px;
}
.legacy .research-main h2 {
  font-size: var(--fs-h2);
  border-bottom: 2px solid var(--navy-deep);
  padding-bottom: 12px;
  margin: 40px 0 20px;
}
.legacy .research-main h3 {
  font-size: var(--fs-h3);
  margin: 24px 0 12px;
}
.legacy .research-main p,.legacy
.research-main li {
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.legacy .research-main section {
  margin: 32px 0;
}
.legacy .research-main a {
  color: var(--navy-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legacy .research-intro {
  font-size: var(--fs-h3);
}
.legacy .research-notice {
  border-left: 4px solid var(--navy-deep);
  padding: 16px 24px;
  background: var(--paper-alt);
}
.legacy .research-breadcrumb {
  font-size: var(--fs-body);
}
.legacy #research-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.legacy #research-filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--fs-body);
  font-weight: 700;
}
.legacy #research-filters label:first-child {
  grid-column: 1/-1;
}
.legacy #research-filters input,.legacy
#research-filters select,.legacy
#research-filters button {
  font: inherit;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  max-width: 100%;
  width: 100%;
}
.legacy #research-filters button {
  align-self: end;
  cursor: pointer;
  color: var(--navy-deep);
}
.legacy .research-map {
  height: 460px;
  border: 1px solid var(--line-strong);
  background: var(--paper-alt);
  z-index: 0;
}
.legacy .research-region {
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--line-strong);
}
.legacy .research-region details {
  margin-top: 16px;
}
.legacy .research-region summary {
  cursor: pointer;
  padding: 12px 0;
}
.legacy .research-main :focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.legacy [hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  .legacy #research-filters {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .legacy .research-map {
    height: 360px;
  }
  .legacy .research-main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .legacy .research-notice {
    padding: 12px 16px;
  }
}


/* 2026 national primary survey: supplementary to the existing research map. */
.legacy .research-survey-filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.legacy .research-survey-filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}
.legacy .research-survey-filters input,.legacy  .research-survey-filters select {
  width: 100%;
  min-height: 44px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 8px;
  font: inherit;
}
.legacy .research-survey-result { font-weight: 700; }
.legacy .research-survey .research-region { padding: 12px 0 20px; }
.legacy .research-survey .research-region details { padding: 0 12px; background: var(--paper); }
.legacy .research-survey .research-region summary { font-weight: 700; }
@media (max-width: 650px) {
  .legacy .research-survey-filters { grid-template-columns: 1fr; }
}
