:root {
  --ink: #20211f;
  --link: #125ca0;
  --muted: #6d716f;
  --border: #e5e7e6;
  --reader-offset: 64px;
  --type-title: 1.375rem;
  --type-body: 1.0625rem;
  --type-meta: .875rem;
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--reader-offset); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }
a { color: var(--link); text-decoration-color: #a6c1db; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.width { width: min(760px, calc(100% - 48px)); margin-inline: auto; min-width: 0; }
.masthead { position: relative; z-index: 20; background: #fff; }
.brand-row { min-height: 68px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.brand { --brand-height: 22.4px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; text-decoration: none; }
.brand img { display: block; width: auto; max-width: none; flex: none; }
.brand-wordmark { height: var(--brand-height); }
.publication-wordmark { height: calc(var(--brand-height) * .7); transform: translateY(calc(var(--brand-height) * .175)); }
.brand-divider { flex: none; width: 1px; height: calc(var(--brand-height) * .67); background: #ced2d0; }
.reader-utilities { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.history-link, .more-menu > summary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--muted); font-size: var(--type-meta); line-height: 1.5; text-decoration: none; }
.history-link:hover, .more-menu > summary:hover { color: var(--ink); }
.more-menu { position: relative; }
.more-menu > summary { cursor: pointer; list-style: none; }
.more-menu > summary::-webkit-details-marker { display: none; }
.more-panel { position: absolute; right: 0; top: calc(100% + 4px); min-width: 136px; max-width: calc(100vw - 32px); padding: 4px; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgb(32 33 31 / .08); }
.more-panel a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; color: var(--ink); font-size: var(--type-meta); line-height: 1.5; text-decoration: none; white-space: nowrap; border-radius: 4px; }
.more-panel a:hover { background: #f3f5f4; }
.more-panel .menu-history-link { display: none; }
.reader-nav { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--border); }
.reader-toolbar { display: flex; align-items: center; height: 48px; }
.compact-brand { display: flex; align-items: center; flex: 0 0 auto; width: 0; height: 44px; margin-right: 0; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(3px); transition: width 180ms ease, margin-right 180ms ease, opacity 180ms ease, transform 180ms ease; }
.compact-brand img { display: block; max-width: none; flex: none; }
.compact-wordmark { width: auto; height: 18px; }
.compact-mark { display: none !important; width: 26px; height: 26px; object-fit: contain; }
.reader-nav.is-compact .compact-brand { width: var(--compact-brand-width, 166px); margin-right: 24px; opacity: 1; pointer-events: auto; transform: none; }
.tabs { display: flex; align-items: stretch; flex: 1 1 0; min-width: 0; height: 48px; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { position: relative; display: flex; align-items: center; justify-content: center; flex: 1 0 44px; height: 48px; padding: 0 2px; border: 0; background: none; color: var(--muted); font-size: var(--type-meta); line-height: 1.4; white-space: nowrap; cursor: pointer; }
.tabs [aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tabs [aria-selected="true"]::after { content: ""; position: absolute; bottom: 0; width: 24px; height: 2px; background: var(--link); }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"]:focus-visible { outline-offset: -4px; }
main { padding-top: 20px; padding-bottom: 40px; overflow-anchor: none; }
[role="tabpanel"][hidden] { display: none !important; }
[role="tabpanel"] { min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.reader-metadata { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin-bottom: 18px; color: var(--muted); font-size: var(--type-meta); line-height: 1.6; }
.reader-metadata time { white-space: nowrap; }
.metadata { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }
h1, h2, h3 { font-size: var(--type-title); line-height: 1.5; font-weight: 600; }
h1 { margin: 0 0 20px; }
h2, h3 { margin: 32px 0 16px; }
h4 { margin: 24px 0 12px; font-size: var(--type-body); line-height: 1.7; font-weight: 600; }
.article-body > :first-child { margin-top: 0; }
.section-label { margin: 24px 0 16px; color: var(--muted); font-size: var(--type-meta); line-height: 1.6; font-weight: 400; }
.article-body > .section-label:not(:first-child) { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); }
.section-label + h3 { margin-top: 16px; }
p, li { font-size: var(--type-body); line-height: 1.8; overflow-wrap: anywhere; }
p { margin: 0 0 18px; }
strong { font-weight: 600; }
ul, ol { margin: 0 0 18px; padding-left: 25px; }
li + li { margin-top: 6px; }
.brief { margin-bottom: 24px; }
.brief p { margin: 0; }
.number { display: none; }
.article-body p a, .article-body li a { font-size: var(--type-meta); }
.source-logo, .source-icon { display: inline-block; width: 13px; height: 13px; margin-right: 4px; border-radius: 2px; object-fit: contain; vertical-align: -1px; }
code { padding: 2px 4px; background: #f3f5f4; font: .85em ui-monospace, SFMono-Regular, monospace; }
pre { max-width: 100%; overflow-x: auto; margin: 0 0 18px; padding: 12px; background: #f3f5f4; line-height: 1.6; }
pre code { padding: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; font-size: var(--type-meta); line-height: 1.7; }
td, th { padding: 8px; border: 1px solid var(--border); text-align: left; overflow-wrap: anywhere; }
blockquote { margin: 0 0 18px; padding-left: 16px; border-left: 2px solid var(--border); }
hr { margin: 26px 0; border: 0; border-top: 1px solid var(--border); }
.notice, .placeholder p, .status-line { color: var(--muted); font-size: var(--type-meta); line-height: 1.8; }
.notice { margin: 0 0 16px; }
.placeholder { padding: 14px 0 36px; }
noscript p { color: var(--muted); font-size: var(--type-meta); }
::selection { background: #e0ecf7; }
[data-page="history"] main { padding-top: 22px; }
.archive-list { margin: 20px 0; padding: 0; list-style: none; }
.archive-list a { display: block; min-height: 56px; padding: 18px 0; border-bottom: 1px solid var(--border); color: var(--ink); font-size: var(--type-body); text-decoration: none; }
.archive-date { display: flex; gap: 16px; align-items: center; }
.archive-summary { margin-top: 12px; }
.archive-summary p { margin: 0 0 8px; line-height: 1.7; }
.archive-summary p:last-child { margin-bottom: 0; }
.archive-list a:hover time { color: var(--link); }
.archive-list .archive-weekday { margin-left: auto; }
.archive-list span { color: var(--muted); font-size: var(--type-meta); }

@media (max-width: 720px) {
  :root { --type-title: 1.25rem; --type-body: 1rem; --type-meta: .8125rem; }
  .width { width: calc(100% - 32px); }
  .brand-row { min-height: 64px; column-gap: 12px; }
  .brand { --brand-height: clamp(15.5px, 4.6vw, 22.4px); gap: 6px; }
  .reader-nav.is-compact .compact-brand { width: 26px; margin-right: 12px; }
  .compact-wordmark { display: none !important; }
  .compact-mark { display: block !important; }
  main { padding-top: 16px; padding-bottom: 30px; }
  .reader-metadata { column-gap: 12px; margin-bottom: 16px; }
  .tabs [role="tab"] { font-size: var(--type-meta); }
}

@media (max-width: 480px) {
  .reader-utilities > .history-link { display: none; }
  .more-panel .menu-history-link { display: flex; }
}

@media (prefers-reduced-motion: reduce) { .compact-brand { transition: none; } }

@media print {
  @page { margin: 18mm 16mm; }
  .masthead, .reader-nav, .reader-metadata, noscript { display: none !important; }
  .width { width: 100%; max-width: none; }
  main { padding: 0; }
  body { font-size: 11pt; }
  p, li { font-size: 11pt; line-height: 1.65; }
  h2, h3 { break-after: avoid; font-size: 14pt; }
  .sr-only { position: static; width: auto; height: auto; margin: 0 0 18px; overflow: visible; clip: auto; white-space: normal; }
  pre, .table-wrap { overflow: visible; }
  a { color: inherit; }
  .brief, blockquote { break-inside: avoid; }
}

.fact-check-mark { position: relative; margin-left: auto; color: var(--muted); font-size: inherit; line-height: 1.6; font-weight: 400; white-space: nowrap; }
.fact-check-inline { display: none; }
.fact-check-mark > summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; }
.fact-check-mark > summary::-webkit-details-marker { display: none; }
.fact-check-mark > summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.fact-check-mark > p { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; width: 220px; max-width: calc(100vw - 32px); margin: 0; padding: 8px 10px; background: #fff; border: 1px solid var(--border); border-radius: 6px; font-size: inherit; line-height: 1.65; white-space: normal; box-shadow: 0 2px 8px #20211f08; }
.article-body .fact-withheld { color: var(--muted); font-size: var(--type-meta); line-height: 1.8; }

@media (max-width: 720px) {
 .fact-check-mark { margin-left: 0; }
 .fact-check-mark > p { display: none; }
 .fact-check-mark[open] + .fact-check-inline { display: block; flex-basis: 100%; margin: 6px 0 0; color: var(--muted); font-size: inherit; line-height: 1.7; }
}
