:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #64717c;
  --line: #dfe6e8;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --accent: #167c73;
  --accent-soft: #eaf4f2;
  --gold: #b48a3b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { width: min(900px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(246 248 247 / 94%);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { color: var(--ink); font-weight: 800; letter-spacing: .06em; text-decoration: none; }
.brand span { color: var(--accent); }
.header-links { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.header-links a { color: var(--muted); text-decoration: none; }
.header-links a[aria-current="page"], .header-links a:hover { color: var(--accent); }
.document { margin: 42px auto 60px; padding: 46px 54px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 18px 60px rgb(23 33 43 / 7%); }
.document[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 8px 0 4px; font-size: clamp(34px, 6vw, 50px); line-height: 1.18; letter-spacing: -.04em; }
.updated { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.notice { margin: 24px 0 30px; padding: 18px 20px; border: 1px solid #cde3df; border-radius: 14px; background: var(--accent-soft); }
h2 { margin: 38px 0 12px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 23px; line-height: 1.35; }
h3 { margin: 24px 0 8px; font-size: 17px; }
p { margin: 10px 0; }
ul, ol { margin: 10px 0; padding-inline-start: 24px; }
li { margin: 7px 0; }
table { width: 100%; margin: 16px 0 24px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
th { background: #f0f4f3; }
.language-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto 42px; justify-content: center; }
.language-switcher a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); text-decoration: none; font-size: 14px; }
.language-switcher a[aria-current="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 700; }
footer { padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 680px) {
  .wrap { width: min(100% - 22px, 900px); }
  .header-inner { min-height: 58px; }
  .header-links a:first-child { display: none; }
  .document { margin-top: 18px; padding: 28px 20px; border-radius: 17px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { margin-bottom: 12px; border: 1px solid var(--line); }
  td { border: 0; border-bottom: 1px solid var(--line); }
  td:last-child { border-bottom: 0; }
}
@media print {
  .site-header, .language-switcher, footer { display: none; }
  body { background: #fff; }
  .document { width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; }
}
