:root {
  color-scheme: light;
  --ink: #171c22;
  --muted: #5d6671;
  --soft: #77818b;
  --line: #d9dee2;
  --accent: #0b5d93;
  --navy: #18344b;
  --serif: Georgia, "Songti SC", "Noto Serif CJK SC", "STSong", serif;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #3978a5; outline-offset: 3px; }
.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: absolute; left: 12px; top: -50px; z-index: 50; color: #fff; background: #111; padding: 8px 14px; }
.skip-link:focus { top: 12px; }
.site-width { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.utility-bar { color: #e2e8ed; background: #1b2833; font-size: 12px; }
.utility-bar .site-width { display: flex; justify-content: space-between; padding-block: 8px; }
.masthead { display: flex; align-items: center; gap: 28px; min-height: 104px; }
.brand { color: #172d41; font-family: var(--serif); font-size: 37px; font-weight: 900; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.brand span { color: #a7282d; }
.brand:hover { color: #172d41; }
.masthead p { margin: 8px 0 0; padding-left: 24px; border-left: 1px solid var(--line); color: #66717b; font-size: 14px; letter-spacing: .08em; }
.masthead-source { margin-left: auto; color: #2d536f; font-size: 13px; font-weight: 700; }
.primary-nav { border-top: 1px solid #cdd3d8; border-bottom: 3px solid var(--navy); }
.nav-inner { display: flex; gap: 34px; align-items: center; overflow-x: auto; scrollbar-width: thin; }
.primary-nav a { display: inline-block; padding: 14px 0 12px; border-bottom: 3px solid transparent; margin-bottom: -3px; white-space: nowrap; font-size: 15px; font-weight: 700; }
.primary-nav a[aria-current="page"] { border-color: #a7282d; color: #173a53; }
#main { padding-top: 30px; padding-bottom: 50px; min-height: 70vh; }
.app-loading { color: var(--muted); padding: 30px 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(265px, .86fr); gap: 42px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.lead-story figure { margin: 0 0 19px; }
.lead-story img { width: 100%; height: 332px; object-fit: cover; display: block; background: #e6ebee; }
.lead-story figcaption { margin-top: 6px; color: var(--soft); font-size: 11px; }
.lead-story figcaption a { text-decoration: underline; }
.hero-label, .page-kicker { color: #9f2930; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.lead-story h1 { font: 700 clamp(29px, 3vw, 39px)/1.33 var(--serif); letter-spacing: -.025em; margin: 9px 0 12px; }
.hero-summary { color: #48545f; font-size: 15px; line-height: 1.8; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.hero-byline { color: var(--soft); font-size: 12px; margin: 14px 0 0; }
.hero-aside { border-top: 4px solid var(--navy); }
.rail-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 13px 0 10px; border-bottom: 1px solid var(--line); }
.rail-heading h2 { font-family: var(--serif); font-size: 22px; line-height: 1.3; margin: 0; }
.rail-heading span { color: var(--soft); font-size: 12px; }
.hero-aside ol { padding: 0; margin: 0; list-style: none; }
.hero-aside li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.hero-aside h3 { font: 700 19px/1.42 var(--serif); margin: 5px 0; }
.hero-aside li p { color: var(--soft); font-size: 12px; margin: 0; }
.rail-note { color: var(--soft); font-size: 12px; line-height: 1.75; margin: 18px 0 0; }
.summary-strip { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); color: #66717a; font-size: 12px; }
.summary-strip strong { color: var(--ink); font-weight: 800; }
.summary-strip a { margin-left: auto; color: var(--accent); font-weight: 700; }
.page-top { padding: 5px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.page-kicker { margin: 0 0 8px; }
.page-top h1 { font: 700 clamp(32px, 3vw, 42px)/1.25 var(--serif); margin: 0; }
.page-description { color: var(--muted); font-size: 15px; margin: 9px 0 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 52px; margin-top: 28px; }
.content-main { min-width: 0; }
.toolbar { display: flex; justify-content: flex-end; margin-bottom: 22px; }
.search-wrap { display: flex; align-items: center; gap: 8px; width: min(100%, 310px); height: 39px; padding: 0 10px; border: 1px solid #bec8d0; color: #64717c; }
.search-icon { font-size: 23px; line-height: 1; }
.search-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-wrap input::placeholder { color: #87929b; }
.search-shortcut { color: #9aa4ab; font-size: 12px; }
.tabs { display: none; }
.collection-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-bottom: 10px; border-bottom: 3px solid var(--navy); }
.collection-head h2 { font: 700 25px/1.3 var(--serif); margin: 0 0 3px; }
.collection-count { color: var(--soft); font-size: 12px; }
.filters { display: flex; gap: 6px; }
.filters select { max-width: 154px; min-height: 36px; padding: 5px 9px; border: 1px solid #cbd2d8; background: #fff; color: #445460; font-size: 12px; }
.record-list { list-style: none; padding: 0; margin: 0; }
.record-card { border-bottom: 1px solid var(--line); padding: 22px 0 24px; }
.record-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--soft); font-size: 12px; }
.badge { color: #9f2930; font-weight: 800; }
.meta-dot { color: #a9b2b9; }
.record-card h3 { font: 700 22px/1.45 var(--serif); margin: 7px 0; }
.record-card p { color: #59646e; font-size: 14px; line-height: 1.75; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.record-bottom { display: flex; gap: 6px 20px; flex-wrap: wrap; color: var(--soft); font-size: 12px; margin-top: 8px; }
.section-rail { align-self: start; border-top: 4px solid var(--navy); margin-top: 60px; }
.section-rail nav a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.section-rail nav span { color: #88939c; font-weight: 400; }
.rail-source-link { display: inline-block; margin-top: 18px; color: var(--accent); font-size: 13px; font-weight: 700; }
.load-more { display: block; margin: 24px auto; padding: 9px 27px; border: 1px solid #9aaab6; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; }
.load-more:hover { background: #edf2f5; }
.empty-state { border-bottom: 1px solid var(--line); padding: 30px 0; }
.empty-state h2 { margin: 0 0 5px; font-size: 18px; }
.empty-state p { color: var(--muted); margin: 0; }
.breadcrumb { color: var(--soft); font-size: 13px; margin: 0 0 28px; }
.breadcrumb a { color: var(--accent); }
.detail-panel { max-width: 820px; margin: 12px auto 0; }
.detail-panel .record-meta { margin-bottom: 14px; }
.detail-panel h1 { font: 700 clamp(32px, 4vw, 47px)/1.3 var(--serif); margin: 0 0 16px; }
.detail-lead { color: #48545e; font-size: 18px; line-height: 1.8; margin: 0 0 22px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 16px; padding: 17px 0 28px; border-top: 1px solid var(--line); }
.primary-action { background: var(--navy); color: white; padding: 9px 17px; font-size: 14px; font-weight: 700; }
.primary-action:hover { color: white; background: #0c5b8b; }
.secondary-action { align-self: center; color: var(--accent); font-size: 13px; font-weight: 700; }
.detail-box { border-top: 3px solid var(--navy); margin: 20px 0 36px; }
.detail-box h2 { font: 700 22px var(--serif); margin: 14px 0 15px; }
.fact-list { display: grid; grid-template-columns: 160px minmax(0, 1fr); margin: 0; }
.fact-list dt, .fact-list dd { padding: 12px 0; border-top: 1px solid var(--line); margin: 0; line-height: 1.7; font-size: 14px; }
.fact-list dt { color: var(--soft); }
.fact-list dd { color: #344450; overflow-wrap: anywhere; }
.source-links { margin: 0; padding-left: 20px; }
.source-links li { padding: 5px 0; overflow-wrap: anywhere; font-size: 14px; }
.source-links a { color: var(--accent); text-decoration: underline; }
.method-note { color: var(--soft); font-size: 12px; line-height: 1.75; }
.source-list { border-top: 3px solid var(--navy); }
.source-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-card-head { display: flex; justify-content: space-between; gap: 20px; }
.source-card h3 { font: 700 20px/1.35 var(--serif); margin: 0; }
.source-card p { color: var(--muted); font-size: 14px; margin: 6px 0; }
.source-card .record-meta { margin-top: 5px; }
.level { display: inline-block; align-self: start; padding: 1px 7px; border: 1px solid #799887; color: #2d6945; font-size: 12px; font-weight: 800; }
.level.pending { border-color: #a99775; color: #806d47; }
.about-grid { max-width: 850px; }
.about-grid section { padding: 19px 0 23px; border-bottom: 1px solid var(--line); }
.about-grid h2 { font: 700 23px var(--serif); margin: 0 0 8px; }
.about-grid p { margin: 0; color: #4b5862; line-height: 1.85; }
.about-grid p + p { margin-top: 10px; }
.about-grid a { color: var(--accent); text-decoration: underline; }
.site-footer { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--soft); font-size: 12px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.4fr) minmax(240px, .9fr); gap: 26px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 220px; gap: 30px; }
  .nav-inner { gap: 22px; }
}
@media (max-width: 700px) {
  .site-width { width: min(100% - 32px, 560px); }
  .utility-bar { font-size: 11px; }
  .masthead { min-height: 77px; gap: 0; }
  .brand { font-size: 29px; }
  .masthead p { display: none; }
  .masthead-source { font-size: 12px; }
  .nav-inner { gap: 20px; }
  .primary-nav a { font-size: 13px; padding-block: 12px 10px; }
  #main { padding-top: 19px; }
  .hero, .content-grid { display: block; }
  .lead-story img { height: 215px; }
  .lead-story h1 { font-size: 29px; }
  .hero-aside { margin-top: 28px; }
  .hero-aside li { padding: 14px 0; }
  .hero-aside h3 { font-size: 18px; }
  .summary-strip { gap: 6px 15px; }
  .summary-strip a { margin-left: 0; }
  .content-grid { margin-top: 20px; }
  .toolbar { margin-bottom: 18px; }
  .search-wrap { width: 100%; }
  .collection-head { align-items: start; }
  .collection-head h2 { font-size: 23px; }
  .filters select { max-width: 125px; }
  .record-card h3 { font-size: 20px; }
  .section-rail { margin-top: 35px; }
  .detail-panel { margin-top: 0; }
  .detail-panel h1 { font-size: 32px; }
  .fact-list { grid-template-columns: 1fr; }
  .fact-list dt { padding-bottom: 0; }
  .fact-list dd { border-top: 0; padding-top: 2px; }
}
