:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --line: #dbe3ec;
  --brand: #0f6b5d;
  --brand-dark: #0a4d43;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    sans-serif;
  line-height: 1.8;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px 48px;
}

.document-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.35;
}

h2 {
  margin: 34px 0 12px;
  font-size: 20px;
  line-height: 1.45;
}

h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

p,
ul,
ol,
table {
  margin: 10px 0;
}

li {
  margin: 6px 0;
}

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

.notice {
  background: #eef7f4;
  border-left: 4px solid var(--brand);
  padding: 14px 18px;
  margin: 18px 0;
}

.placeholder-note {
  background: #fff8e6;
  border: 1px solid #f0d48a;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8fafc;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.index-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--text);
}

.index-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 18px;
}

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

@media (max-width: 720px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding: 20px 14px 44px;
  }

  .document {
    padding: 28px 20px;
  }

  h1 {
    font-size: 25px;
  }

  .index-grid {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
