:root {
  --paper: #F4EFE4;
  --ink: #262019;
  --cinnabar: #9A2F21;
  --gray-ink: #7A6F5C;
  --rule: #D8CDB6;

  --font-serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", STSong, SimSun, serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;

  --size-note: 12.5px;
  --size-marker: 13px;
  --size-provenance: 14px;
  --size-secondary: 15.5px;
  --size-variant: 18px;
  --size-body: 20px;
  --size-subtitle: 25px;
  --size-display-small: 32px;
  --size-display: 40px;
  --size-display-large: 46px;
  --size-masthead: 58px;
  --size-entry: 72px;

  --space-inline: 14px;
  --space-paragraph-small: 22px;
  --space-paragraph: 26px;
  --space-block: 34px;
  --space-section: 44px;
  --space-section-large: 52px;

  --measure: 830px;
  --gutter: 52px;
  --book-edge: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

a {
  color: var(--cinnabar);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 47, 33, 0.5);
}

a:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 4px;
}

button,
input {
  border-radius: 0;
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: -10000px;
  z-index: 2;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--cinnabar);
  border: 1px solid var(--cinnabar);
}

.skip-link:focus {
  left: 8px;
}

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 24px auto;
}

.page-frame-outer {
  padding: 4px;
  border: 2.5px solid var(--ink);
  background: var(--paper);
}

.page-frame-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--book-edge);
  min-height: calc(100vh - 57px);
  border: 1px solid var(--ink);
  background: var(--paper);
}

.page-body {
  min-width: 0;
  padding: 36px var(--gutter) 46px;
}

.book-edge {
  display: flex;
  width: var(--book-edge);
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--ink);
}

.book-edge span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.4em;
  writing-mode: vertical-rl;
}

.site-header,
.page-main,
.site-footer,
.double-rule {
  width: 100%;
  max-width: var(--measure);
  margin-right: auto;
  margin-left: auto;
}

.site-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
}

.site-name {
  color: var(--ink);
  border-bottom-color: var(--paper);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.site-name:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

.site-motto {
  color: var(--gray-ink);
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: right;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.12em;
}

.site-nav-link {
  color: var(--ink);
  border-bottom-color: var(--paper);
}

.site-nav-link:hover,
.site-nav-link.is-current {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

.double-rule {
  height: 6px;
  margin-top: 14px;
  border-top: 2px solid var(--ink);
}

.double-rule::after {
  display: block;
  margin-top: 3px;
  border-top: 1px solid var(--ink);
  content: "";
}

.double-rule-closing {
  margin-top: 52px;
  border-top-width: 1px;
}

.double-rule-closing::after {
  border-top-width: 2px;
}

.page-main {
  min-height: 420px;
  margin-top: 44px;
}

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
  color: var(--gray-ink);
  font-size: 12.5px;
  line-height: 2;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.aside-link,
.aside-note a {
  color: var(--gray-ink);
  border-bottom-color: var(--rule);
}

.aside-link:hover,
.aside-note a:hover {
  color: var(--gray-ink);
  border-bottom-color: var(--gray-ink);
}

.entry-title {
  margin: 0;
  font-size: var(--size-entry);
  font-weight: 900;
  line-height: 1;
}

.section-title {
  margin: 0;
  font-size: var(--size-display-large);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.body-primary {
  font-size: var(--size-body);
  line-height: 2.05;
}

.variant-text {
  font-size: var(--size-variant);
  line-height: 2;
}

.body-secondary {
  font-size: var(--size-secondary);
  line-height: 2.05;
}

.provenance {
  color: var(--cinnabar);
  font-size: var(--size-provenance);
  line-height: 2;
}

.section-marker {
  color: var(--cinnabar);
  font-size: var(--size-marker);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.3em;
}

.aside-note {
  margin: 0;
  color: var(--gray-ink);
  font-size: var(--size-note);
  line-height: 2;
}

.mono,
.identifier,
.date,
code {
  font-family: var(--font-mono);
}

.identifier {
  color: var(--cinnabar);
  letter-spacing: 0.08em;
}

.date {
  letter-spacing: 0.04em;
}

.fine-rule {
  border-top: 1px solid var(--rule);
}

.heavy-rule {
  border-top: 1px solid var(--ink);
}

.stamp {
  width: max-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 16px 26px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-size: 15.5px;
  line-height: 2;
  text-align: center;
}

.vertical {
  writing-mode: vertical-rl;
}

.law-text {
  font-size: 14px;
  line-height: 2.35;
  writing-mode: vertical-rl;
}

.emphasis-place {
  text-emphasis: filled dot var(--cinnabar);
  text-emphasis-position: under right;
  -webkit-text-emphasis: filled dot var(--cinnabar);
  -webkit-text-emphasis-position: under right;
}

.prose {
  max-width: var(--measure);
  margin: 0 auto;
}

.prose h1 {
  margin: 0;
  font-size: var(--size-display-large);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.prose h2 {
  margin: 52px 0 0;
  font-size: var(--size-subtitle);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.prose p {
  margin: 22px 0 0;
  font-size: var(--size-body);
  line-height: 2.05;
  text-wrap: pretty;
}

.prose h1 + p {
  margin-top: 34px;
}

.prose h2 + p {
  margin-top: 22px;
}

.prose strong {
  font-weight: 700;
}

.prose code {
  color: var(--cinnabar);
  font-size: 0.85em;
  letter-spacing: 0.04em;
}

.prose blockquote {
  margin: 34px auto;
  padding: 16px 26px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  text-align: center;
}

.prose blockquote p {
  margin: 0;
  color: inherit;
  font-size: 15.5px;
  line-height: 2;
}

.prose hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.page-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
}

.table-wrap {
  margin-top: 34px;
  overflow-x: auto;
}

.roster-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
}

.roster-table th {
  padding: 12px 6px;
  border-bottom: 1px solid var(--ink);
  color: var(--gray-ink);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.14em;
}

.roster-table td {
  min-height: 52px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 2;
  vertical-align: middle;
}

.roster-table th:first-child,
.roster-table td:first-child {
  width: 150px;
}

.roster-table th:nth-child(2),
.roster-table td:nth-child(2) {
  width: 190px;
}

.roster-table th:nth-child(3),
.roster-table td:nth-child(3),
.roster-table th:nth-child(4),
.roster-table td:nth-child(4) {
  width: 170px;
}

.roster-name {
  font-size: 18px !important;
  font-weight: 600;
}

.roster-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 26px;
  margin-top: 26px;
  color: var(--gray-ink);
  font-size: 12.5px;
  line-height: 2;
}

.roster-notes p {
  margin: 0;
}

.verify-page > .section-title {
  text-align: center;
}

.verify-form {
  max-width: 560px;
  margin: 40px auto 0;
}

.verify-form > label {
  display: block;
  margin-bottom: 14px;
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.3em;
}

.verify-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.verify-input {
  min-width: 0;
  padding: 16px 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.16em;
}

.verify-input::placeholder {
  color: var(--gray-ink);
  opacity: 1;
}

.verify-button {
  margin-left: -1px;
  padding: 16px 30px;
  border: 1px solid var(--cinnabar);
  background: var(--paper);
  color: var(--cinnabar);
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.3em;
  cursor: pointer;
}

.verify-button:hover {
  background: var(--cinnabar);
  color: var(--paper);
}

.verify-guidance {
  margin-top: 14px;
  text-align: center;
}

.verify-result {
  max-width: 700px;
  min-height: 220px;
  margin: 44px auto 0;
  border: 1px solid var(--rule);
}

.verify-record {
  margin: 0;
  padding: 26px 30px;
}

.verify-record > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 52px;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
}

.verify-record > div:last-child {
  border-bottom: 0;
}

.verify-record dt,
.verify-record dd {
  margin: 0;
  padding: 12px 0;
  font-size: 15.5px;
  line-height: 2.05;
}

.verify-record dt {
  color: var(--gray-ink);
  font-size: 12.5px;
  letter-spacing: 0.14em;
}

.verify-not-found {
  display: flex;
  min-height: 218px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 34px;
  font-size: 20px;
  line-height: 2.05;
  letter-spacing: 0.1em;
  text-align: center;
}

.snapshot-note {
  margin-top: 14px;
  text-align: center;
}

.pending-page {
  min-height: 440px;
  text-align: center;
}

.pending-stamp {
  margin-top: 52px;
  padding: 34px 30px;
}

.pending-mark {
  display: block;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5em;
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
  }

  .page-shell {
    width: calc(100% - 16px);
    margin: 8px auto;
  }

  .page-frame-inner {
    min-height: calc(100vh - 25px);
  }

  .page-body {
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .site-heading-row,
  .page-title-row,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-heading-row,
  .site-footer {
    gap: 8px;
  }

  .site-motto {
    text-align: left;
  }

  .site-nav {
    gap: 14px 22px;
  }

  .page-main {
    margin-top: 34px;
  }

  .section-title,
  .prose h1 {
    font-size: 40px;
  }

  .prose p {
    font-size: 18px;
    line-height: 2;
  }

  .ruhui-page > ul li {
    font-size: 18px;
  }

  .roster-notes {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-nav {
    gap: 8px 18px;
  }

  .verify-controls {
    grid-template-columns: 1fr;
  }

  .verify-button {
    margin-top: -1px;
    margin-left: 0;
  }

  .verify-record {
    padding: 22px;
  }

  .verify-record > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }
}

/* W1b：逐页映射 design lab 定稿的版面构图。 */

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

.site-header,
.page-main,
.double-rule {
  width: 100%;
  max-width: none;
}

.page-main {
  min-height: 420px;
  margin: 0;
}

.page-main-cover {
  min-height: 0;
}

.page-body-cover {
  padding-top: 64px;
  text-align: center;
}

.site-heading-row {
  gap: 22px;
}

.site-name {
  font-size: 15.5px;
  letter-spacing: 0.22em;
}

.site-nav {
  margin-top: 16px;
}

.double-rule-closing {
  border-top-width: 1px;
}

.double-rule-closing::after {
  border-top-width: 2px;
}

.section-title {
  font-size: var(--size-display);
  line-height: 1.2;
}

.cross-page-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 28px;
  color: var(--gray-ink);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.1em;
}

.cross-page-tools a,
.home-aside-navigation a {
  color: var(--gray-ink);
  border-bottom-color: var(--rule);
}

.cross-page-tools a:hover,
.home-aside-navigation a:hover {
  color: var(--gray-ink);
  border-bottom-color: var(--gray-ink);
}

.unavailable-link {
  color: var(--gray-ink);
}

/* 首页：无共享页头，封面式院名、律文与七组门牌。 */

.home-cover {
  text-align: center;
}

.home-institute {
  margin: 0;
  font-size: var(--size-masthead);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
}

.home-positioning {
  margin: 20px 0 0;
  color: var(--cinnabar);
  font-size: var(--size-secondary);
  line-height: 2.05;
  letter-spacing: 0.24em;
}

.home-opening-rule {
  max-width: 760px;
  margin: 34px auto 0;
}

.home-laws {
  display: flex;
  height: 450px;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 34px;
  margin-top: 44px;
  overflow-x: auto;
  text-align: initial;
}

.home-laws-title {
  margin: 0;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
  color: var(--cinnabar);
  font-size: 19px;
  font-weight: 700;
  line-height: 2.3;
  letter-spacing: 0.6em;
  writing-mode: vertical-rl;
}

.home-law {
  margin: 0;
  font-size: 14px;
  line-height: 2.3;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
}

.home-closing-rule {
  max-width: 760px;
  margin: 44px auto 0;
}

.home-primary-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 36px;
}

.home-navigation-tile > a {
  color: var(--ink);
  border-bottom-color: var(--paper);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.home-navigation-tile > a:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

.home-navigation-note {
  display: block;
  margin-top: 10px;
  color: var(--gray-ink);
  font-size: 11.5px;
  line-height: 2;
  letter-spacing: 0.1em;
}

.home-navigation-note.is-institutional {
  color: var(--cinnabar);
}

.home-aside-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  margin-top: 44px;
  color: var(--gray-ink);
  font-size: var(--size-note);
  line-height: 2;
}

/* 三篇正本文案：保留原文，按各自定稿组织节标、正文和牌记。 */

.prose {
  max-width: var(--measure);
}

.prose h1 {
  margin-top: 38px;
  font-size: var(--size-display);
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.prose h2 {
  color: var(--cinnabar);
  font-size: var(--size-marker);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.3em;
}

.prose p {
  font-size: var(--size-body);
  line-height: 2.05;
}

.prose blockquote {
  width: max-content;
  max-width: 100%;
  padding: 16px 26px;
}

.bian-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 26px;
}

.bian-page > * {
  grid-column: 1 / -1;
}

.bian-page > h2:first-of-type {
  margin-top: 36px;
}

.bian-page > h2:first-of-type + p {
  margin-top: 16px;
}

.bian-page > p {
  margin-top: 14px;
}

.bian-page > h2:nth-of-type(2) {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.bian-page > h2:nth-of-type(2) + p {
  margin-top: 16px;
}

.bian-page > h2:nth-of-type(2) + p + p,
.bian-page > h2:nth-of-type(2) + p + p + p,
.bian-page > h2:nth-of-type(2) + p + p + p + p {
  grid-column: auto;
  margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid var(--ink);
  font-size: 17px;
  line-height: 2;
}

.bian-page > h2:nth-of-type(2) + p + p > strong:first-child,
.bian-page > h2:nth-of-type(2) + p + p + p > strong:first-child,
.bian-page > h2:nth-of-type(2) + p + p + p + p > strong:first-child {
  display: block;
  margin-bottom: 14px;
  color: var(--cinnabar);
  font-family: var(--font-mono);
  font-size: var(--size-marker);
  line-height: 2;
  letter-spacing: 0.12em;
}

.bian-page > h2:nth-of-type(2) + p + p + p + p + p {
  width: max-content;
  max-width: 100%;
  margin: 38px auto 6px;
  padding: 16px 26px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-size: var(--size-secondary);
  line-height: 2.05;
  text-align: center;
}

.citation-page > p {
  font-size: var(--size-secondary);
  line-height: 2.05;
}

.citation-page > h1 + p {
  margin-top: 30px;
}

.citation-page > h2 {
  margin-top: 28px;
}

.citation-page > h2:not(:first-of-type) {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.citation-page > h2 + p {
  margin-top: 14px;
}

.citation-page blockquote {
  margin: 16px 0 0;
}

.citation-page blockquote p {
  font-size: var(--size-secondary);
}

.collect-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.collect-page > * {
  grid-column: 1 / -1;
}

.collect-page > h1 {
  grid-row: 1;
}

.collect-page > h1 + p {
  grid-row: 2;
  margin-top: 30px;
  font-size: 19px;
  line-height: 2.15;
}

.collect-page > h2:nth-of-type(1),
.collect-page > h2:nth-of-type(2),
.collect-page > h2:nth-of-type(3),
.collect-page > h2:nth-of-type(4) {
  margin: 34px 0 0;
  padding: 24px 28px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.1em;
}

.collect-page > h2:nth-of-type(1) {
  grid-column: 1;
  grid-row: 3;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--rule);
}

.collect-page > h2:nth-of-type(1) + p {
  grid-column: 1;
  grid-row: 4;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-left: 1px solid var(--ink);
}

.collect-page > h2:nth-of-type(2) {
  grid-column: 2;
  grid-row: 3;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}

.collect-page > h2:nth-of-type(2) + p {
  grid-column: 2;
  grid-row: 4;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.collect-page > h2:nth-of-type(3) {
  grid-column: 1;
  grid-row: 5;
  margin-top: 0;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--rule);
}

.collect-page > h2:nth-of-type(3) + p {
  grid-column: 1;
  grid-row: 6;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.collect-page > h2:nth-of-type(4) {
  grid-column: 2;
  grid-row: 5;
  margin-top: 0;
  border-right: 1px solid var(--ink);
}

.collect-page > h2:nth-of-type(4) + p {
  grid-column: 2;
  grid-row: 6;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.collect-page > h2:nth-of-type(-n + 4) + p {
  margin: 0;
  padding: 10px 28px 24px;
  color: var(--gray-ink);
  font-size: 13.5px;
  line-height: 2;
}

.collect-page > h2:nth-of-type(5) {
  grid-row: 7;
  margin-top: 26px;
}

.collect-page > h2:nth-of-type(5) + p {
  grid-row: 8;
  margin-top: 12px;
  color: var(--gray-ink);
  font-size: 14.5px;
  line-height: 2;
}

.collect-page > h2:nth-of-type(6) {
  grid-row: 9;
  margin-top: 26px;
}

.collect-page > h2:nth-of-type(6) + p {
  display: block;
  grid-row: 10;
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 20px 40px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

.collect-page > h2:nth-of-type(6) + p + p {
  grid-row: 11;
  margin: 16px 0 0;
  color: var(--gray-ink);
  font-size: var(--size-note);
  line-height: 2;
  text-align: center;
}

/* 讲席空态与书院章程：分别复刻纪要页、沿用章程类页的节奏。 */

.jiangxi-page .page-title-row {
  margin-top: 38px;
}

.jiangxi-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
  color: var(--gray-ink);
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.14em;
}

.jiangxi-category-rule {
  margin-top: 14px;
}

.jiangxi-page .jiangxi-pending-device {
  margin-top: 52px;
}

.roster-page .roster-pending-device {
  margin-top: 52px;
}

.jiangxi-record-format {
  margin: 44px 0 6px;
  color: var(--gray-ink);
  font-size: var(--size-note);
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: center;
}

.jiangxi-academy-link {
  margin-top: 14px;
  letter-spacing: 0.1em;
  text-align: center;
}

.academy-page > p {
  font-size: var(--size-secondary);
  line-height: 2.05;
}

.academy-page > h1 + p {
  margin-top: 30px;
}

.academy-page > h2 {
  margin-top: 34px;
}

.academy-page > h2:not(:first-of-type) {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.academy-page > h2 + p {
  margin-top: 12px;
}

.academy-page > h2:nth-of-type(1) + p + p,
.academy-page > h2:nth-of-type(1) + p + p + p,
.academy-page > h2:nth-of-type(2) + p + p,
.academy-page > h2:nth-of-type(2) + p + p + p {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.academy-page > h2:nth-of-type(1) + p > strong:first-child,
.academy-page > h2:nth-of-type(1) + p + p > strong:first-child,
.academy-page > h2:nth-of-type(1) + p + p + p > strong:first-child {
  display: block;
  margin-bottom: 8px;
  color: var(--cinnabar);
  font-family: var(--font-mono);
  font-size: var(--size-marker);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.12em;
}

.academy-page > h2:nth-of-type(2) + p > strong,
.academy-page > h2:nth-of-type(2) + p + p > strong,
.academy-page > h2:nth-of-type(2) + p + p + p > strong {
  color: var(--cinnabar);
}

.academy-page > h2:nth-of-type(3) + p + p {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 22px auto 6px;
  padding: 20px 40px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

/* 辞典、考据、田野空态：只立题名与正式牌记。 */

.pending-page {
  min-height: 440px;
  text-align: initial;
}

.pending-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 38px;
}

.pending-title-row .section-title {
  font-size: var(--size-display);
  letter-spacing: 0.18em;
}

.pending-tools {
  margin-top: 0;
}

.pending-device {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.pending-page-with-tools .pending-device {
  margin-top: 34px;
}

.pending-stamp {
  margin: 0;
  padding: 34px 30px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  text-align: center;
}

.pending-mark {
  display: block;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5em;
}

/* 辑刊空态终版。 */

.journal-page {
  text-align: center;
}

.journal-heading {
  margin-top: 52px;
}

.journal-heading h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.24em;
}

.journal-heading p {
  margin: 14px 0 0;
  color: var(--cinnabar);
  font-size: 13.5px;
  line-height: 2;
  letter-spacing: 0.28em;
}

.journal-pending-device {
  margin-top: 46px;
}

.journal-explanation {
  max-width: 620px;
  margin: 44px auto 0;
  color: var(--gray-ink);
  font-size: 14.5px;
  line-height: 2.3;
  text-align: center;
}

.journal-explanation span {
  color: var(--cinnabar);
}

.journal-contents {
  margin: 36px 0 0;
  color: var(--gray-ink);
  font-size: var(--size-note);
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: center;
}

/* 同人名录：只渲染真实快照行，不补 mock 空行。 */

.roster-page .page-title-row {
  margin-top: 38px;
}

.roster-page .page-title-row .aside-note {
  text-align: right;
}

.table-wrap {
  margin-top: 26px;
}

.roster-table {
  display: grid;
  width: 100%;
  min-width: 900px;
  grid-template-columns: 150px 220px 180px 220px 1fr;
  border-collapse: separate;
}

.roster-table thead,
.roster-table tbody,
.roster-table tr {
  display: contents;
}

.roster-table th,
.roster-table td {
  width: auto !important;
}

.roster-table th {
  padding: 12px 6px;
  border-bottom: 1px solid var(--ink);
  color: var(--gray-ink);
  font-size: var(--size-note);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.14em;
}

.roster-table td {
  display: flex;
  min-height: 52px;
  align-items: baseline;
  padding: 20px 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 2;
}

.roster-name {
  font-size: 19px !important;
  font-weight: 600;
}

.roster-notes {
  align-items: baseline;
  margin-top: 24px;
}

.roster-notes p:first-child {
  max-width: 660px;
}

/* 身份核验：保留本地检索，只让一个结果卡片在同一时刻出现。 */

.verify-page > .section-title {
  margin-top: 52px;
  font-size: 44px;
  letter-spacing: 0.24em;
  text-align: center;
}

.verify-form {
  margin-top: 40px;
}

.verify-controls {
  display: flex;
  align-items: stretch;
}

.verify-input {
  flex: 1;
  padding: 18px 22px;
  font-size: 18px;
  line-height: 1.2;
}

.verify-button {
  padding: 18px 30px;
  font-size: 16px;
  line-height: 1.2;
}

.verify-guidance {
  margin-top: 14px;
}

.verify-results {
  display: flex;
  max-width: var(--measure);
  justify-content: center;
  gap: 34px;
  margin: 44px auto 0;
}

.verify-card {
  width: calc((100% - 34px) / 2);
  min-height: 250px;
  padding: 26px 30px;
  border: 1px solid var(--rule);
}

.verify-found {
  text-align: initial;
}

.verify-result-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--gray-ink);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.2em;
}

.verify-result-caption .identifier {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.verify-record {
  margin: 18px 0 0;
  padding: 0;
}

.verify-record > div {
  display: grid;
  min-height: 0;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: baseline;
  border: 0;
}

.verify-record > div + div {
  margin-top: 12px;
}

.verify-record dt,
.verify-record dd {
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  line-height: 2;
}

.verify-record dt {
  color: var(--gray-ink);
  font-size: 14.5px;
  letter-spacing: 0;
}

.institutional-value {
  color: var(--cinnabar);
}

.verify-not-found {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0;
  padding: 26px 30px;
  font-size: inherit;
  letter-spacing: 0;
  text-align: initial;
}

.verify-not-found-message {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px 0;
  font-size: 19px;
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: center;
}

.verify-not-found-note {
  margin: 0;
  color: var(--gray-ink);
  font-size: 12px;
  line-height: 1.9;
}

.snapshot-note {
  margin-top: 14px;
}

/* 入会之途：碑非表单，标题层级与全站一致（# / ##），套用既有 .prose h1/h2 即可；列表与电话槽位为本页专属新增。 */

.ruhui-page > ul {
  margin: 22px 0 0;
  padding-left: 1.4em;
}

.ruhui-page > ul li {
  margin-top: 14px;
  font-size: var(--size-body);
  line-height: 2.05;
}

.ruhui-page > ul li:first-child {
  margin-top: 0;
}

.ruhui-page > ul li::marker {
  color: var(--cinnabar);
}

.ruhui-page > p:last-child {
  width: max-content;
  max-width: 100%;
  margin: 34px auto 0;
  padding: 20px 40px;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
  font-size: var(--size-subtitle);
  line-height: 2;
  text-align: center;
}

@media (max-width: 900px) {
  .home-primary-navigation {
    gap: 30px;
  }

  .bian-page > h2:nth-of-type(2) + p + p,
  .bian-page > h2:nth-of-type(2) + p + p + p,
  .bian-page > h2:nth-of-type(2) + p + p + p + p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-body-cover {
    padding-top: 44px;
  }

  .site-header,
  .site-heading-row {
    width: 100%;
  }

  .home-institute {
    font-size: var(--size-display-large);
  }

  .home-positioning {
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .home-laws {
    justify-content: flex-start;
    gap: 22px;
  }

  .home-primary-navigation {
    gap: 26px;
  }

  .collect-page {
    grid-template-columns: 1fr;
  }

  .collect-page > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .collect-page > h2:nth-of-type(-n + 4) {
    margin-top: 0;
    border-top: 1px solid var(--rule);
    border-right: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
  }

  .collect-page > h2:nth-of-type(1) {
    margin-top: 34px;
    border-top-color: var(--ink);
  }

  .collect-page > h2:nth-of-type(-n + 4) + p {
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--rule);
    border-left: 1px solid var(--ink);
  }

  .collect-page > h2:nth-of-type(4) + p {
    border-bottom-color: var(--ink);
  }

  .roster-page .page-title-row .aside-note {
    text-align: left;
  }

  .verify-card {
    width: min(100%, 398px);
  }
}

@media (max-width: 520px) {
  .home-laws {
    gap: 14px;
  }

  .home-laws-title {
    font-size: 18px;
  }

  .home-primary-navigation {
    gap: 22px;
  }

  .verify-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .verify-button {
    margin-top: -1px;
    margin-left: 0;
  }

  .verify-record {
    padding: 0;
  }

  .verify-record > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }
}
