:root {
  --ink: #172625;
  --muted: #687a75;
  --line: #d7e1dc;
  --paper: #eef3ef;
  --surface: #fff;
  --teal: #0b756f;
  --teal-deep: #075651;
  --teal-soft: #dff1ed;
  --amber: #a8732d;
  --shadow: 0 18px 50px rgba(20,54,47,.08);
}
* { box-sizing: border-box; }
.reader-glossary { padding: 20px 24px; background: #eff7f5; border: 1px solid #d5e6df; border-radius: 14px; }
.reader-glossary dt { font-weight: 750; color: #075651; margin-top: 14px; }
.reader-glossary dt:first-child { margin-top: 0; }
.reader-glossary dd { margin: 4px 0 0; line-height: 1.85; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 80% -10%, #dceee9 0, transparent 34rem), var(--paper); font: 15px/1.75 "Segoe UI", "Microsoft YaHei", sans-serif; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(11,117,111,.22); outline-offset: 3px; }
.site-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(175,193,186,.45); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-deep); text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: white; background: linear-gradient(135deg, var(--teal-deep), #45a99d); box-shadow: 0 7px 15px rgba(11,117,111,.2); letter-spacing: 0; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.site-nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.site-nav a:hover { color: var(--teal); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--teal-deep); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.article { padding: 45px 0 56px; }
.article-kicker { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.article h1 { max-width: 760px; margin: 9px 0 14px; font-size: clamp(30px, 5vw, 52px); line-height: 1.1; letter-spacing: -.05em; }
.article-lede { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; margin-top: 36px; align-items: start; }
.article-body { min-width: 0; padding: 30px 34px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.article-body h2 { margin: 28px 0 8px; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 22px 0 5px; font-size: 16px; }
.article-body p { margin: 0 0 15px; }
.article-body ul, .article-body ol { margin: 8px 0 18px; padding-left: 24px; }
.article-body li + li { margin-top: 6px; }
.article-body code { padding: 2px 5px; border-radius: 5px; background: #edf4f1; color: var(--teal-deep); font-size: .9em; }
.article-body blockquote { margin: 20px 0; padding: 13px 17px; border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; background: #eef8f5; color: #46635d; }
.article-body table { width: 100%; border-collapse: collapse; margin: 17px 0 20px; font-size: 13px; }
.article-body th, .article-body td { padding: 10px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { color: var(--muted); background: #f2f7f4; font-weight: 700; }
.article-aside { display: grid; gap: 13px; position: sticky; top: 16px; }
.aside-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); }
.aside-card strong { display: block; margin-bottom: 5px; font-size: 13px; }
.aside-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.aside-card a { font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 19px 0 28px; border-top: 1px solid rgba(175,193,186,.7); color: var(--muted); }
.site-footer-main { display: grid; gap: 3px; }
.site-footer p { margin: 0; font-size: 11px; }
.site-footer a { color: var(--muted); font-size: 11px; text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 15px; justify-content: flex-end; }
.last-updated { margin-top: 17px; color: #87958f; font-size: 11px; }
.author-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; margin: 18px 0 20px; padding: 17px 18px; border: 1px solid #cfe2dc; border-radius: 14px; background: linear-gradient(135deg, #f5fbf8, #edf7f3); }
.author-card strong { display: block; color: var(--teal-deep); margin-bottom: 5px; }
.author-card p { margin: 0; }
.author-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--teal-deep), #48a99c); font-size: 13px; font-weight: 800; letter-spacing: .08em; box-shadow: 0 7px 15px rgba(11,117,111,.18); }
.contact-card { display: grid; gap: 6px; margin: 17px 0 22px; padding: 19px 20px; border: 1px solid #cfe2dc; border-radius: 14px; background: linear-gradient(135deg, #f5fbf8, #edf7f3); }
.contact-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-email { color: var(--teal-deep); font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; word-break: break-word; }
.contact-email:hover { text-decoration: underline; }
.contact-card p { margin: 5px 0 0; color: #46635d; }
@media (max-width: 760px) {
  .site-shell { width: min(100% - 24px, 620px); }
  .site-header { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .site-nav { justify-content: flex-start; gap: 7px 14px; }
  .article { padding: 28px 0 40px; }
  .article h1 { font-size: 34px; }
  .article-lede { font-size: 15px; }
  .article-layout { grid-template-columns: 1fr; margin-top: 24px; }
  .article-body { padding: 23px 20px; border-radius: 15px; }
  .article-aside { position: static; }
  .site-footer { display: grid; }
  .site-footer nav { justify-content: flex-start; }
}

/* Editorial companion pages share the dashboard's visual language while
   keeping a comfortable reading width for long-form research notes. */
:root {
  --ink: #132b35;
  --muted: #647b84;
  --line: #d9e5e8;
  --paper: #f2f7f8;
  --surface: #ffffff;
  --teal: #087c78;
  --teal-deep: #0b3d4a;
  --teal-soft: #e2f4f1;
  --shadow: 0 20px 55px rgba(12, 48, 58, .075);
}

body {
  background:
    radial-gradient(900px 430px at 84% -8%, rgba(193,232,228,.72), transparent 68%),
    radial-gradient(760px 430px at -14% 18%, rgba(221,235,241,.72), transparent 68%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.site-shell { width: min(1180px, calc(100% - 42px)); }
.site-header { position: sticky; top: 0; z-index: 10; padding: 17px 18px; margin: 0 -18px; border: 1px solid rgba(214,228,231,.82); border-top: 0; border-radius: 0 0 18px 18px; background: rgba(249,253,253,.86); box-shadow: 0 9px 24px rgba(12,48,58,.045); backdrop-filter: blur(14px); }
.brand { color: var(--teal-deep); }
.brand-mark { width: 31px; height: 31px; border-radius: 10px; background: linear-gradient(145deg, #0b3d4a, #0a8c83); box-shadow: 0 9px 20px rgba(8,124,120,.2); }
.site-nav { gap: 3px; padding: 4px; border: 1px solid #d9e5e8; border-radius: 999px; background: rgba(255,255,255,.72); }
.site-nav a { padding: 6px 9px; border-radius: 8px; }
.site-nav a:hover { text-decoration: none; background: var(--teal-soft); }
.site-nav a[aria-current="page"] { text-decoration: none; background: var(--teal-soft); }
.article { padding: 67px 0 70px; }
.article-kicker { color: var(--teal); letter-spacing: .2em; }
.article h1 { max-width: 860px; color: var(--teal-deep); font-weight: 780; letter-spacing: -.055em; }
.article-lede { max-width: 790px; color: #607981; font-size: 18px; }
.article-layout { grid-template-columns: minmax(0, 1fr) 286px; gap: 27px; margin-top: 43px; }
.article-body { padding: 38px 42px; border: 1px solid #d6e3e6; border-radius: 22px; background: rgba(255,255,255,.91); box-shadow: var(--shadow); }
.article-body h2 { color: var(--teal-deep); margin-top: 34px; font-size: 21px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: #3e5962; }
.article-body a { font-weight: 650; }
.article-body blockquote { border-left-width: 4px; border-radius: 0 12px 12px 0; background: #eef9f7; color: #41646a; box-shadow: inset 0 0 0 1px rgba(212,235,232,.65); }
.article-body table { overflow: hidden; border: 1px solid #dce8eb; border-radius: 12px; }
.article-body th { color: var(--teal-deep); background: #f0f8f8; }
.article-body tr:last-child td { border-bottom: 0; }
.article-aside { gap: 15px; top: 86px; }
.aside-card { padding: 20px 19px; border-color: #d6e3e6; border-radius: 17px; background: rgba(255,255,255,.82); box-shadow: 0 12px 30px rgba(12,48,58,.06); }
.aside-card strong { color: var(--teal-deep); font-size: 13px; }
.aside-card a { display: inline-block; margin-top: 6px; }
.author-card, .contact-card { border-color: #c8e0de; border-radius: 16px; background: linear-gradient(135deg, #f3fbfa, #eaf7f4); box-shadow: 0 8px 20px rgba(8,124,120,.06); }
.author-avatar { background: linear-gradient(145deg, #0b3d4a, #0a8c83); }
.contact-email { color: var(--teal-deep); }
.site-footer { align-items: flex-start; padding: 24px 0 32px; border-top-color: #cfdee2; }
.site-footer nav { gap: 5px; padding: 4px; border: 1px solid #d9e5e8; border-radius: 999px; background: rgba(255,255,255,.66); }
.site-footer nav a { padding: 5px 8px; border-radius: 7px; }
.site-footer nav a:hover { background: var(--teal-soft); text-decoration: none; }
.site-footer nav a[aria-current="page"] { color: var(--teal-deep); background: var(--teal-soft); }

@media (max-width: 760px) {
  .site-shell { width: min(100% - 24px, 620px); }
  .site-header { position: static; margin: 0 -4px; padding: 14px 4px; border: 0; border-bottom: 1px solid rgba(175,193,186,.55); border-radius: 0; background: transparent; box-shadow: none; }
  .site-nav { width: 100%; justify-content: flex-start; overflow-x: auto; border-radius: 12px; }
  .site-nav a { flex: 0 0 auto; }
  .article { padding: 42px 0 46px; }
  .article h1 { font-size: 35px; }
  .article-lede { font-size: 16px; }
  .article-layout { margin-top: 28px; }
  .article-body { padding: 26px 21px; border-radius: 17px; }
  .site-footer nav { justify-content: flex-start; border-radius: 12px; }
}

/* Final mobile layout pass. The editorial companion styles are declared
   after the first mobile block, so this explicit final block prevents the
   desktop two-column article grid from being restored on narrow screens. */
@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .site-shell { width: 100%; max-width: 100%; padding: 0 12px; }
  .site-header { width: 100%; max-width: 100%; margin: 0; padding: 14px 0; }
  .brand, .site-nav, .article, .article-layout, .article-body, .article-aside, .site-footer { min-width: 0; max-width: 100%; }
  .site-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; overflow: visible; white-space: normal; }
  .site-nav a { flex: 0 0 auto; }
  .article { width: 100%; padding: 38px 0 46px; }
  .article h1, .article-lede { max-width: 100%; overflow-wrap: anywhere; }
  .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) !important; gap: 20px; margin-top: 28px; }
  .article-body { width: 100%; padding: 28px 21px; overflow: hidden; }
  .article-body p, .article-body li { overflow-wrap: anywhere; }
  .article-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .article-aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .aside-card { min-width: 0; }
  .site-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; width: 100%; }
  .site-footer nav { width: 100%; max-width: 100%; flex-wrap: wrap; overflow: visible; }
}

/* Companion-page type scale: long-form research and policy pages use the
   same readable rhythm as the dashboard rather than tiny utility text. */
body { font-size: 17px; line-height: 1.82; }
.brand { font-size: 13px; }
.site-nav a { font-size: 13px; }
.article-kicker { font-size: 12px; }
.article h1 { font-size: clamp(34px, 5vw, 56px); }
.article-lede { font-size: 20px; line-height: 1.78; }
.article-body { padding: 42px 46px; }
.article-body h2 { font-size: 25px; }
.article-body h3 { font-size: 19px; }
.article-body p, .article-body li { font-size: 17px; }
.article-body table { font-size: 15px; }
.article-body th, .article-body td { padding: 12px 13px; }
.aside-card strong { font-size: 15px; }
.aside-card p, .aside-card a { font-size: 14px; }
.site-footer p, .site-footer a { font-size: 12px; }
.author-card strong { font-size: 16px; }
.contact-label { font-size: 12px; }

@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.78; }
  .brand { font-size: 12px; }
  .site-nav a { font-size: 12px; }
  .article h1 { font-size: 38px; }
  .article-lede { font-size: 17px; }
  .article-body { padding: 29px 23px; }
  .article-body h2 { font-size: 23px; }
  .article-body h3 { font-size: 18px; }
  .article-body p, .article-body li { font-size: 16px; }
  .article-body table { font-size: 14px; }
  .article-body th, .article-body td { padding: 10px 9px; }
  .aside-card strong { font-size: 14px; }
  .aside-card p, .aside-card a { font-size: 13px; }
}
