:root {
  --ink: #143142;
  --muted: #58717c;
  --line: #d7e4e7;
  --paper: #ffffff;
  --wash: #f5f9fa;
  --blue: #1d5f7a;
  --teal: #208f8d;
  --red: #b6403c;
  --gold: #b78120;
  --dark: #123247;
  --shadow: 0 18px 50px rgba(20, 49, 66, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.65;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  background: var(--dark);
  color: #eaf4f6;
  font-size: 13px;
}

.topbar-inner,
.nav-inner,
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(22, 55, 74, .08);
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 15px;
}

.main-nav a {
  padding: 10px 9px;
  border-radius: 8px;
  color: #294b5a;
}

.main-nav a:hover,
.main-nav a.active {
  background: #eaf4f6;
  color: var(--blue);
}

.hero {
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: stretch;
  background: var(--wash);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  min-height: calc(100vh - 112px);
}

.hero-copy {
  align-self: center;
  padding: 72px 0 72px max(40px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: none;
  white-space: nowrap;
  font-size: 58px;
}

.hero-lede {
  max-width: 620px;
  color: #385b6a;
  font-size: 19px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 32px;
}

.action-tile {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(20, 49, 66, .08);
}

.action-tile strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 18px;
}

.action-tile strong::after {
  content: ">";
  color: var(--red);
}

.action-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  min-height: 100%;
  background: #dcebed;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(20, 49, 66, .08);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.news-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.news-card p {
  color: var(--muted);
}

.news-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.news-article-hero {
  padding-bottom: 34px;
}

.news-article-hero figure {
  margin: 28px 0 0;
}

.news-article-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
}

.news-article {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-article p {
  margin-bottom: 18px;
  color: #294b5a;
  font-size: 17px;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.news-gallery figure {
  margin: 0;
}

.news-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.news-gallery figcaption,
.news-article-hero figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.news-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.meta-list div {
  display: grid;
  gap: 3px;
}

.meta-list dt {
  color: var(--muted);
  font-size: 13px;
}

.meta-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.notice-band {
  background: #fff7e6;
  border-top: 1px solid #ecd39d;
  border-bottom: 1px solid #ecd39d;
}

.notice-band .container {
  padding: 14px 0;
  color: #68450b;
  font-size: 15px;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--wash);
}

.section.dark {
  color: #eaf4f6;
  background: var(--dark);
}

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

.section-head h2,
.page-title h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.section-head p,
.page-title p {
  max-width: 760px;
  color: var(--muted);
}

.dark .section-head p,
.dark p {
  color: #c8dce1;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel {
  padding: 26px;
}

.card {
  min-height: 190px;
  padding: 22px;
}

.card h3,
.panel h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.card p,
.panel p,
.card li,
.panel li {
  color: var(--muted);
}

.metric {
  font-size: 34px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.mini-meta {
  color: var(--muted);
  font-size: 13px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding-left: 18px;
  border-left: 3px solid var(--teal);
}

.directory {
  display: grid;
  gap: 10px;
}

.directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.directory a::after {
  content: ">";
  color: var(--red);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mt {
  margin-top: 18px;
}

.path-list {
  display: grid;
  gap: 12px;
  counter-reset: path;
}

.path-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.path-step::before {
  counter-increment: path;
  content: counter(path);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: var(--blue);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #b9dadd;
  border-radius: 99px;
  color: #1f6670;
  background: #eef8f8;
  font-size: 13px;
}

.founding-photo-card {
  overflow: hidden;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.founding-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.founding-photo-card figcaption {
  padding: 12px 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.center-video {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.center-video-copy {
  display: grid;
  gap: 12px;
}

.center-video-copy h2 {
  font-size: 30px;
  line-height: 1.25;
}

.center-video-copy p {
  color: var(--muted);
}

.center-video-lede {
  font-size: 18px;
  line-height: 1.85;
}

.center-video-player {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0e2736;
}

.center-video-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.metric-card {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
}

.about-story {
  display: grid;
  gap: 14px;
}

.feature-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
}

.notice-card {
  padding: 20px;
  border: 1px solid #e8d5b8;
  border-radius: 8px;
  background: #fff9ef;
}

.notice-card strong {
  color: var(--red);
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-list a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 700;
  background: #fff;
}

.btn.primary {
  color: #fff;
  background: var(--blue);
}

.btn.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.btn.warning {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.button-row.stacked {
  display: grid;
  gap: 10px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.page-hero {
  padding: 64px 0 44px;
  background: linear-gradient(135deg, #eef6f8, #fff7e6);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(340px, .42fr);
  gap: 28px;
  align-items: start;
}

.aside {
  position: sticky;
  top: 118px;
}

.checklist {
  padding-left: 20px;
}

.checklist li {
  margin-bottom: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 99px;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.status.paused {
  background: var(--gold);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 18px;
}

.control-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, .4fr) minmax(160px, .4fr) auto;
  gap: 12px;
  margin-bottom: 18px;
}

.search-row input,
.control-row input,
.control-row select {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.result-count {
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.filter-btn {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.filter-btn.active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.disease-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.disease-table,
.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.disease-table th,
.disease-table td,
.data-table th,
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.disease-table th,
.data-table th {
  color: #294b5a;
  font-size: 14px;
  background: #eef6f8;
}

.disease-table tr:last-child td,
.data-table tr:last-child td {
  border-bottom: 0;
}

.disease-detail-hero {
  padding-bottom: 54px;
}

.disease-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 30px;
  align-items: end;
}

.detail-fact-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(21, 50, 63, .08);
}

.detail-fact-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-fact-panel div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-fact-panel div:last-child {
  border-bottom: 0;
}

.detail-fact-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-fact-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.disease-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.detail-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-section h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.detail-section p {
  color: var(--muted);
}

.section-head.compact {
  margin-bottom: 16px;
}

.section-head.compact h2 {
  margin: 0;
  font-size: 26px;
}

.intro-media {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
  gap: 24px;
  align-items: start;
}

.intro-media figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfc;
}

.intro-media img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #fff;
}

.intro-media figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-card-grid.one {
  grid-template-columns: 1fr;
}

.detail-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fcfd;
}

.detail-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.detail-card ul,
.detail-alert ul,
.mdt-highlight ul,
.faq-list ul {
  padding-left: 20px;
}

.detail-card li,
.mdt-highlight li,
.faq-list li {
  margin-bottom: 6px;
  color: var(--muted);
}

.detail-note {
  margin-top: 10px;
  color: var(--red);
  font-weight: 700;
}

.detail-alert {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d9ecf1;
  border-radius: 8px;
  background: #eef8fa;
}

.detail-alert strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mdt-highlight {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
  gap: 22px;
  background: linear-gradient(135deg, #f8fcfd, #fff9ef);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fcfd;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin-top: 10px;
}

.detail-sidebar {
  position: sticky;
  top: 118px;
}

.sticky-panel {
  display: grid;
  gap: 12px;
}

.team-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.team-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.team-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.status.off {
  background: #7b8790;
}

.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.floorplan-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.floorplan-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.floorplan-card div {
  padding: 14px;
}

.empty-state {
  padding: 26px;
  color: var(--muted);
  text-align: center;
}

.publication-list {
  display: grid;
  gap: 16px;
}

.publication-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.publication-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.publication-head .btn {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
}

.publication-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.publication-card p {
  margin-top: 8px;
  color: var(--muted);
}

.publication-card details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.publication-card summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  color: #cfe0e5;
  background: #0e2736;
}

.footer-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  color: #e8f2f5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom .container {
  padding: 16px 0;
  color: #abc4cb;
  font-size: 13px;
}

.compliance-footer {
  display: grid;
  gap: 18px;
}

.record-row,
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.record-row {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #dbe8ec;
  font-size: 17px;
}

.record-row a,
.site-footer .record-row a,
.record-row span {
  display: inline-flex;
  width: auto;
  margin: 0;
  align-items: center;
  color: #dbe8ec;
  text-decoration: none;
}

.record-row a:hover,
.record-row a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.record-emblem {
  display: inline-block;
  width: 30px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .18));
}

.share-row {
  gap: 10px;
}

.share-label {
  margin-right: 4px;
  color: #dbe8ec;
  font-size: 17px;
  font-weight: 900;
}

.share-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #e8f2f5;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.share-button:hover,
.share-button:focus-visible {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

.record-note {
  max-width: 860px;
  margin: 0;
  color: #8fb0ba;
  font-size: 13px;
}

.wechat-share-modal[hidden] {
  display: none;
}

.wechat-share-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14, 39, 54, .56);
}

.wechat-share-dialog {
  position: relative;
  width: min(360px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(14, 39, 54, .24);
  text-align: center;
}

.wechat-share-dialog h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.wechat-share-dialog p {
  margin: 0 0 18px;
  color: var(--muted);
}

.wechat-share-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.wechat-share-close:hover,
.wechat-share-close:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.wechat-share-qr {
  width: 260px;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 112px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner,
  .split,
  .disease-detail-hero-grid,
  .disease-detail-layout,
  .news-article-layout,
  .intro-media,
  .two-column,
  .mdt-highlight {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 56px 20px 42px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-media {
    min-height: 340px;
  }

  .grid.four,
  .grid.three,
  .grid.two,
  .floorplan-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aside {
    position: static;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .brand {
    min-width: auto;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions,
  .search-row,
  .grid.four,
  .grid.three,
  .grid.two,
  .news-card,
  .floorplan-grid,
  .footer-grid,
  .main-nav.open {
    grid-template-columns: 1fr;
  }

  .team-row {
    grid-template-columns: 40px 1fr;
  }

  .team-row .status {
    grid-column: 2;
    justify-self: start;
  }

  .section {
    padding: 52px 0;
  }

  .path-step {
    grid-template-columns: 1fr;
  }

  .detail-card-grid {
    grid-template-columns: 1fr;
  }

  .disease-table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  .disease-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .disease-table thead {
    display: none;
  }

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

  .disease-table tr {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 49, 66, .06);
  }

  .disease-table td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 7px 0;
    border-bottom: 0;
  }

  .disease-table td::before {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
  }

  .disease-table td:nth-child(1)::before { content: "批次"; }
  .disease-table td:nth-child(2)::before { content: "序号"; }
  .disease-table td:nth-child(3)::before { content: "中文名"; }
  .disease-table td:nth-child(4)::before { content: "英文名"; }
  .disease-table td:nth-child(5)::before { content: "方向"; }
  .disease-table td:nth-child(6)::before { content: "审核"; }

  .disease-table td:nth-child(7) {
    display: block;
    order: -1;
    padding: 0 0 10px;
    margin-bottom: 6px;
    text-align: right;
    border-bottom: 1px solid var(--line);
  }

  .disease-table td:nth-child(7)::before {
    content: "";
  }

  .disease-table td:nth-child(7) .text-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    background: #eef6f8;
    color: var(--blue);
    font-weight: 800;
  }

  .detail-section {
    padding: 18px;
  }

  .detail-section h2,
  .section-head.compact h2 {
    font-size: 22px;
  }

  .intro-media img {
    max-height: 520px;
  }

  .news-article,
  .news-card {
    padding: 16px;
  }

  .news-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 30px;
  }
}

.query-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.query-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.query-card h3 {
  margin-bottom: 8px;
}

.query-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.query-meta span {
  min-height: 56px;
  padding: 9px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--muted);
  font-size: 13px;
}

.query-meta strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

@media (max-width: 980px) {
  .center-video {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .control-row,
  .query-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .center-video {
    padding: 16px;
  }

  .center-video-copy h2 {
    font-size: 24px;
  }

  .metric-card strong {
    font-size: 24px;
  }

  .control-row,
  .query-card-grid,
  .query-meta {
    grid-template-columns: 1fr;
  }
}
