/* 两份协议共用的静态样式，无外部字体和脚本依赖。 */
:root {
  color-scheme: light;
  --primary: #437dfe;
  --text: #18243b;
  --muted: #617087;
  --line: #e5eaf2;
  --surface: #f6f8fc;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
a { color: #245bd0; text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; border-radius: 3px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.inner {
  max-width: 1080px;
  min-height: 88px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 40px; height: 40px; display: block; border-radius: 10px; object-fit: contain; }
.brand-text { font-size: 23px; font-weight: 650; letter-spacing: 1px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.nav-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: 15px; }
.nav-links a[aria-current="page"] { color: #245bd0; font-weight: 600; }
.wrap {
  max-width: 960px;
  margin: 40px auto 56px;
  padding: 48px 64px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-wrap: anywhere;
}
h1 { margin: 0 0 12px; font-size: 34px; line-height: 1.4; letter-spacing: 1px; }
.sub { margin: 0 0 32px; color: var(--muted); font-size: 14px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
h2 { margin: 36px 0 14px; font-size: 22px; line-height: 1.55; }
h3 { margin: 26px 0 12px; font-size: 18px; line-height: 1.6; }
p { margin: 12px 0; }
ul { margin: 12px 0; padding-left: 24px; }
li { padding-left: 3px; margin: 10px 0; }
li::marker { color: var(--primary); }
strong { font-weight: 650; }
.site-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer a { display: inline-block; min-height: 44px; padding: 8px 0; margin-right: 24px; }
.site-footer p { margin: 8px 0 0; }
@media (max-width: 1000px) {
  .wrap { margin: 24px; padding: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.9; }
  .inner { padding: 16px 20px 8px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .brand-text { font-size: 21px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; }
  .wrap { margin: 16px 12px 24px; padding: 26px 20px 20px; border-radius: 12px; }
  h1 { font-size: 28px; }
  h2 { font-size: 20px; margin-top: 30px; }
  h3 { font-size: 17px; }
  .sub { font-size: 13px; line-height: 1.9; margin-bottom: 24px; padding-bottom: 20px; }
  ul { padding-left: 20px; }
  .site-footer a { margin-right: 16px; }
}
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer { display: none; }
  .wrap { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; }
  h2, h3 { break-after: avoid; }
  a { color: inherit; text-decoration: underline; }
}
