/* 四份协议共用。正文直接维护对应 HTML，无构建步骤或外部依赖。 */
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #222;
  background: #fff;
  font-size: 16px;
  line-height: 1.8;
}

* { box-sizing: border-box; }
body { margin: 0; }
.page { max-width: 960px; margin: 0 auto; padding: 28px 24px 64px; }
a { color: #245b9e; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:focus-visible, .table-scroll:focus-visible { outline: 2px solid #245b9e; outline-offset: 4px; }
h1 { margin: 32px 0 16px; font-size: 30px; line-height: 1.4; }
h2 { margin: 32px 0 12px; font-size: 22px; line-height: 1.5; }
h3 { margin: 24px 0 12px; font-size: 18px; line-height: 1.5; }
p { margin: 12px 0; overflow-wrap: anywhere; }
.document-meta { margin: 4px 0; color: #666; font-size: 14px; }
strong { font-weight: 700; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 16px 0; }
table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; border: 1px solid #d8d8d8; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { background: #f5f5f5; font-weight: 600; }

@media (max-width: 600px) {
  .page { padding: 20px 16px 40px; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
}

@media print {
  .page { max-width: none; padding: 0; }
  a { color: inherit; }
  .table-scroll { overflow: visible; }
  table { min-width: 0; }
  tr { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}
