:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --ink: #202321;
  --muted: #545b58;
  --blue: #174bc4;
  --selection: #e8edf9;
  --rule: #757d77;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3.5rem;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); border-top: 6px solid var(--blue); }
body { margin: 0; font-family: "Segoe UI", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 1.125rem; line-height: 1.7; }
.frame { max-width: 1160px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
a { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; -webkit-tap-highlight-color: var(--selection); }
a:hover { text-decoration-thickness: 2px; }
a:active { background: var(--selection); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--selection); color: var(--ink); }
.skip-link { position: fixed; z-index: 10; left: 16px; top: 16px; transform: translateY(-200%); background: var(--surface); color: var(--blue); padding: 12px 16px; }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 24px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.brand { margin-right: auto; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-header a { display: inline-flex; align-items: center; min-height: 44px; }
a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid currentColor; }
.document-heading { padding-block: var(--space-5) var(--space-4); }
h1 { font-size: 2.5rem; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 24px; max-width: 24ch; text-wrap: balance; overflow-wrap: anywhere; }
.publication-meta { background: var(--selection); color: var(--ink); border-left: 4px solid var(--blue); font-size: 1rem; padding: 12px 16px; margin: 0; max-width: 68ch; }
.reading-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: var(--space-5); }
.document-tools { font-size: 1rem; min-width: 0; }
details { border-block: 1px solid var(--rule); }
summary { cursor: pointer; min-height: 48px; padding-block: 12px; font-weight: 600; }
summary:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.document-tools ul { list-style: none; margin: 0; padding: 0 0 12px; }
.document-tools li { margin: 0; }
.document-tools nav a { display: block; min-height: 44px; padding: 10px 4px; line-height: 1.5; }
.contact-label { font-weight: 600; margin: 24px 0 0; }
.email-link { display: block; min-height: 44px; padding-block: 8px; line-height: 1.5; }
article { min-width: 0; max-width: 68ch; }
article p { margin: 0 0 1.4em; }
h2 { font-size: 1.5rem; line-height: 1.3; margin: 2.5rem 0 1rem; font-weight: 650; text-wrap: balance; }
h2, #main-content { scroll-margin-top: 24px; }
article ol { padding-inline-start: 1.5em; margin: 0 0 1.4em; }
article li { margin-block: .6em; padding-inline-start: .25em; }
.site-footer { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 1rem; color: var(--muted); border-top: 1px solid var(--rule); padding-block: 24px 40px; }
.site-footer span { margin-right: auto; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 799px) {
  .site-header { gap: 8px 24px; padding-block: 16px; }
  .brand { flex-basis: 100%; }
  .document-heading { padding-block: 32px 24px; }
  h1 { font-size: 1.875rem; letter-spacing: -.025em; }
  .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-label { margin-top: 16px; }
  h2 { font-size: 1.375rem; }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--ink); --rule: var(--ink); }
  a { text-decoration-thickness: 2px; }
  :focus-visible { outline-width: 4px; }
}
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight; }
  .publication-meta { border: 2px solid CanvasText; }
  a[aria-current="page"] { border-bottom: 2px solid CanvasText; }
}
@media print {
  @page { margin: 2cm; }
  html { border: 0; }
  body { background: white; color: black; font-family: Georgia, "Times New Roman", serif; font-size: 12pt; line-height: 1.5; }
  .frame { max-width: none; padding: 0; }
  .site-header, .document-tools, .site-footer, .skip-link { display: none; }
  .document-heading { padding-block: 0 16pt; }
  .reading-layout { display: block; }
  article { max-width: none; }
  h1 { font-size: 22pt; }
  h2 { font-size: 16pt; break-after: avoid; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  .publication-meta { background: white; color: black; border: 1pt solid black; }
  a { color: black; }
  article a[href]::after { content: " (" attr(href) ")"; overflow-wrap: anywhere; }
}
