/* Light-first theme shared by blog, article and error pages.
   Preference is shared with the Chinese and English homepages. */
:root{color-scheme:light;--site-bg:#fff;--site-ink:#1a293d;--site-muted:#45576d;--site-faint:#61738a;--site-border:#dbe4ee;--site-surface:#fff;--site-soft:#f7faff;--site-panel:#f1f6fd;--site-link:#165ca8;--site-hover:#10477e;--site-code:#f3f6fa;--site-quote:#f1f6fd}
html[data-theme="dark"]{color-scheme:dark;--site-bg:#0b1220;--site-ink:#e5edf8;--site-muted:#b4c1d2;--site-faint:#96a8be;--site-border:#2a3a53;--site-surface:#111d30;--site-soft:#14243a;--site-panel:#162a43;--site-link:#79c0ff;--site-hover:#a2daff;--site-code:#1a2a3f;--site-quote:#16263b}
html body{background:var(--site-bg);color:var(--site-ink)}
html body a{color:var(--site-link)}
html body a:hover{color:var(--site-hover)}
html body .brand,html body .blog-header .brand{color:var(--site-ink)}
html body .hero,html body .blog-header{background:linear-gradient(135deg,var(--site-panel),var(--site-surface));border-color:var(--site-border)}
html body .hero h1,html body .article h1,html body .article h2,html body .article h3,html body .article h4,html body .group h2,html body .card h2,html body .cluster h2,html body .related-articles-title,html body .article strong{color:var(--site-ink)}
html body .hero p,html body .card p,html body .cluster p,html body .desc,html body .blog-header .topics,html body .article-byline,html body .foot,html body .footer,html body .related-articles li,html body .adapt-note{color:var(--site-muted)}
html body .blog-header .kicker,html body .card .eyebrow{color:var(--site-link)}
html body .nav a,html body .blog-nav a,html body .manitoba-layout-nav a{background:var(--site-surface);border-color:var(--site-border);color:var(--site-link);box-shadow:none}
html body .nav a:hover,html body .blog-nav a:hover,html body .manitoba-layout-nav a:hover{background:var(--site-panel)}
html body .group,html body .card,html body .cluster,html body .related-articles,html body .article-byline{background:var(--site-surface);border-color:var(--site-border);color:var(--site-ink)}
html body .related-articles,html body .cluster{background:var(--site-soft)}
html body .item,html body .article{color:var(--site-ink)}
html body .item{background:var(--site-soft);border-color:var(--site-border)}
html body .item:hover,html body .card:hover{background:var(--site-panel)}
html body .group h2,html body .card h2{border-color:var(--site-border)}
html body .item small,html body .related-articles li span,html body .foot,html body .footer{color:var(--site-faint)}
html body .article-byline a,html body .related-articles a,html body .article a,html body .footer a{color:var(--site-link)}
html body .article-byline-label,html body .article-byline-sep{color:var(--site-muted)}
html body .article h2{border-color:var(--site-border)}
html body .article blockquote,html body blockquote{border-left-color:var(--site-link);background:var(--site-quote);color:var(--site-ink)}
html body .article th,html body .article td,html body th,html body td{border-color:var(--site-border)}
html body .article thead,html body th{background:var(--site-soft)}
html body .article pre{background:var(--site-code);border-color:var(--site-border);color:var(--site-ink)}
html body .article code,html body code{background:var(--site-code);color:var(--site-ink)}
html body .article pre code{background:transparent}
html body .article hr,html body hr{border-color:var(--site-border)}
html body .article-nav{border-color:var(--site-border)}
html body .site-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;border-radius:999px;min-height:36px;border:1px solid var(--site-border);background:var(--site-panel);color:var(--site-link);font:600 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;white-space:nowrap}
html body .site-theme-toggle:hover{background:var(--site-soft);color:var(--site-hover)}
html body .site-theme-toggle:focus-visible{outline:3px solid var(--site-link);outline-offset:2px}
html body .site-theme-toggle .theme-toggle-icon{font-size:18px;line-height:1;width:20px;text-align:center}
html body .site-theme-toggle .theme-toggle-text{font-size:12px}
html body .manitoba-layout-nav .site-theme-toggle,html body .top .site-theme-toggle{margin-left:auto}
html[data-theme="dark"] body h1,html[data-theme="dark"] body h2,html[data-theme="dark"] body h3,html[data-theme="dark"] body h4{color:var(--site-ink)}
html[data-theme="dark"] body .article-note{background:var(--site-panel)!important;color:var(--site-muted)!important;border-left-color:var(--site-link)!important}
html[data-theme="dark"] body .article-subtitle{color:var(--site-muted)!important}
html[data-theme="dark"] body .adapt-note{color:var(--site-muted)}
html[data-theme="dark"] body .zdh-blog-topic{border-color:var(--site-border)!important}
html[data-theme="dark"] body .related-articles-title{color:var(--site-ink)}
html[data-theme="dark"] body .footer,html[data-theme="dark"] body .foot{border-color:var(--site-border)}
@media(max-width:700px){html body .site-theme-toggle .theme-toggle-text{display:none}html body .site-theme-toggle{width:37px;height:37px;padding:6px}html body .top,html body .blog-header,html body .manitoba-layout-nav{row-gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{html[data-theme="dark"] body{background:#fff!important;color:#111!important}html[data-theme="dark"] .article,html[data-theme="dark"] .article h1,html[data-theme="dark"] .article h2,html[data-theme="dark"] .article h3,html[data-theme="dark"] .article p{color:#111!important}html body .site-theme-toggle{display:none!important}}
