/* Shared site frame and approved report typography. */
html:has(body.layout-editorial) { font-size:16px; scrollbar-gutter:stable; }
body.layout-editorial {
  --theme-bg:#f5f4ed; --theme-text:#282822; --theme-heading:#24241f;
  --theme-copy-btn-text:#6b6a64; --theme-table-border:#d8d5c8;
  --theme-pre-bg:#eeece3; --theme-pre-border:#ddd9cd;
  --highlight-weak:#e4e7e8;
  background:var(--theme-bg); color:var(--theme-text);
  font-family:'Songti SC','Source Han Serif SC','Noto Serif CJK SC', 'STSong', Georgia,serif;
  box-sizing:border-box; width:100%; max-width:1184px; padding:30px 52px 80px;
  margin:0 auto;
}
body.layout-editorial .site-header { margin:0; }
body.layout-editorial .site-nav {display:grid;grid-template-columns:max-content max-content max-content minmax(0,1fr) 38.4px;column-gap:20px;align-items:center;min-height:38.4px;}
body.layout-editorial .site-nav > a {grid-row:1;white-space:nowrap;}
body.layout-editorial .site-nav > a:nth-of-type(1) {grid-column:1;}
body.layout-editorial .site-nav > a:nth-of-type(2) {grid-column:2;}
body.layout-editorial .site-nav > a:nth-of-type(3) {grid-column:3;}
body.layout-editorial .site-nav > .notes-toggle {grid-column:4;grid-row:1;justify-self:start;white-space:nowrap;line-height:25.6px;}
body.layout-editorial .site-nav > .theme-toggle-btn {grid-column:5;grid-row:1;}
body.layout-editorial .site-nav > a:any-link {line-height:25.6px;}
body.layout-editorial .site-nav :is(a:any-link,.notes-toggle) {font-size:16px; padding:6px 0; margin:0; font-family:inherit;}
body.layout-editorial .site-nav .theme-toggle-btn {margin:0 0 0 auto;}
body.layout-editorial .site-nav .notes-toggle[aria-pressed='true'] {background:transparent; color:#1b365d;}
body.layout-editorial > article.report-article {padding:44px 0 0;}
body.layout-editorial .report-article > section {padding:0; --sidenote-column-pixels:264; --sidenote-content-width:0.7037037; --sidenote-column-start:0.7555556; --sidenote-column-width:0.2444444;}
body.layout-editorial .report-article > section > h2 {font-size:34px;line-height:1.4;font-weight:600; margin:0 0 18px; max-width:760px; width:100%;letter-spacing:0;}
body.layout-editorial .report-article > section > :is(p,ul,ol,dl,h3,h4,h5,h6,blockquote,pre,.table-scroll) {
 width:calc(100% - 320px); max-width:none;box-sizing:border-box;
}
body.layout-editorial .report-article :is(p,li) {font-size:20px;line-height:1.8;letter-spacing:0;}
body.layout-editorial .report-article > section > p {margin-block:18px;}
body.layout-editorial .report-article > section > :is(ul,ol) {padding-inline-start:1.5em;margin-block:18px;}
body.layout-editorial .report-article > section > h3 {font-size:26px;line-height:1.45;font-weight:600;margin:52px 0 18px;}
body.layout-editorial .report-article > section > h4 {font-size:21px;line-height:1.5;font-weight:600;margin:30px 0 12px;}
body.layout-editorial .report-article > section > :is(h5,h6) {font-size:20px;line-height:1.5;font-weight:600;margin:24px 0 10px;}
body.layout-editorial .report-article > section > h3.report-overview {margin-top:0;}
body.layout-editorial .report-calendar-slot {--calendar-inline:0;float:right;inline-size:264px;margin:0 0 28px 56px;clear:right;}
body.layout-editorial .report-calendar-root {font-size:14px;}
body.layout-editorial .report-calendar-root p,body.layout-editorial .report-calendar-root li {font-size:14px;line-height:1.6;}
body.layout-editorial .report-calendar-root .vc-header .vc-title {font-size:18px;}
body.layout-editorial .report-calendar-root .vc-day-content {font-size:14px;}
body.layout-editorial .report-calendar-root .calendar-report-period {font-size:13px;}
body.layout-editorial .report-article > section > .table-scroll {margin:24px 0;}
body.layout-editorial .table-scroll > table {font-size:17px;line-height:1.65;border-top:1px solid var(--report-table-edge);border-bottom:1px solid var(--report-table-edge);}
body.layout-editorial .table-scroll :is(th,td) {padding:12px 14px;border-bottom-color:var(--report-table-rule);}
body.layout-editorial .table-scroll :is(th,td):first-child {padding-left:0;}
body.layout-editorial .table-scroll :is(th,td):last-child {padding-right:0;}
body.layout-editorial .table-scroll :is(p,li) {font-size:inherit;line-height:inherit;}
body.layout-editorial .report-article .marginnote {font-size:15px;line-height:1.7;letter-spacing:0;color:#504e49;}
body.layout-editorial .report-article .marginnote :is(p,li) {font-size:15px;line-height:1.7;}
body.layout-editorial .report-article .source-meta {font-size:13px;line-height:1.65;color:#6b6a64;margin-top:7px;}
body.layout-editorial .report-article .source-note-layout {grid-template-columns:2.5ch minmax(0,1fr);gap:8px;}
body.layout-editorial .report-article .source-title a {color:#3d3d3a;}
body.layout-editorial .report-article .footnote-ref-link {color:#1b365d;}
body.layout-editorial .report-article .source-image img {border-radius:0;}
@media(min-width:1120px){
 body.layout-editorial .report-article .marginnote:not(.report-overview-note) {--report-inline-note:0;float:right;display:block;position:relative;inline-size:264px;width:264px;clear:right;margin-inline-end:-320px;margin-top:5px;padding:0;border:0;background:transparent;}
 body.layout-editorial .report-article .marginnote.is-citation-active {background:var(--highlight-weak);}
 html[data-notes-visible='false'] body.layout-editorial .report-article > section > :is(p,ul,ol,dl,h3,h4,h5,h6,blockquote,pre,.table-scroll) {width:100%;max-width:100%;}
 html[data-notes-visible='false'] body.layout-editorial .report-calendar-slot {float:none;inline-size:100%;margin:0 0 28px;--calendar-inline:1;}
 html[data-notes-visible='false'] body.layout-editorial .report-calendar-root details > summary {display:list-item;}
 html[data-notes-visible='false'] body.layout-editorial .report-article .marginnote:not(.report-overview-note) {display:none;}
}
@media(max-width:1119px){
 body.layout-editorial {max-width:824px;}
 body.layout-editorial .report-article > section > :is(p,ul,ol,dl,h3,h4,h5,h6,blockquote,pre,.table-scroll) {width:100%;}
 body.layout-editorial .report-calendar-slot {float:none;inline-size:100%;margin:0 0 28px;--calendar-inline:1;}
 body.layout-editorial .report-calendar-root details > summary {display:list-item;}
 body.layout-editorial .report-article .marginnote {--report-inline-note:1;float:none;clear:both;position:static;inline-size:100%;width:100%;margin:12px 0;padding:14px;border:0;border-radius:0;background:var(--theme-pre-bg);display:none;translate:none !important;}
 body.layout-editorial .report-article .marginnote.is-expanded {display:block;}
}
@media(max-width:600px){
 body.layout-editorial {padding:20px 24px 52px;}
 body.layout-editorial .site-nav {grid-template-columns:max-content max-content max-content minmax(0,1fr);grid-template-rows:38.4px 30px;column-gap:12px;row-gap:6px;}
 body.layout-editorial .site-nav > .theme-toggle-btn {grid-column:4;justify-self:end;}
 body.layout-editorial .site-nav > button.notes-toggle {grid-column:1 / -1;grid-row:2;padding:2px 0;}
 body.layout-editorial .site-nav :is(a:any-link,.notes-toggle) {font-size:14px;}
 body.layout-editorial > article.report-article {padding-top:30px;}
 body.layout-editorial .report-article > section > h2 {font-size:28px;line-height:1.45;margin-bottom:16px;}
 body.layout-editorial .report-article :is(p,li) {font-size:18px;line-height:1.85;}
 body.layout-editorial .report-article > section > h3 {font-size:24px;margin-top:40px;}
 body.layout-editorial .report-article > section > h4 {font-size:20px;margin-top:28px;}
 body.layout-editorial .table-scroll > table {font-size:16px;min-width:540px;}
 body.layout-editorial .report-calendar-root p, body.layout-editorial .report-calendar-root li {font-size:14px;line-height:1.6;}
}
html[data-theme='dark'] body.layout-editorial {
 --theme-bg:#20211f;--theme-text:#deddd4;--theme-heading:#ecebe2;--theme-copy-btn-text:#b4b2a7;--theme-pre-bg:#2b2d29;--highlight-weak:#343d43;background:var(--theme-bg);color:var(--theme-text);
}
html[data-theme='dark'] body.layout-editorial :is(.report-title,h3,h4,h5,h6){color:var(--theme-heading);}
html[data-theme='dark'] body.layout-editorial .marginnote,html[data-theme='dark'] body.layout-editorial .source-title a {color:#cccac0;}
html[data-theme='dark'] body.layout-editorial .source-meta {color:#b4b2a7;}
html[data-theme='dark'] body.layout-editorial .footnote-ref-link,html[data-theme='dark'] body.layout-editorial .notes-toggle[aria-pressed='true'] {color:#a7c3df;}
/* Balance only short report titles; body paragraphs retain natural wrapping. */
body.layout-editorial .report-title {text-wrap:balance;}
html:has(body.layout-editorial) {background:#f5f4ed;}
html[data-theme='dark']:has(body.layout-editorial) {background:#20211f;}

body.layout-editorial .table-scroll :is(th,td):first-child {min-width:6em;}
body.layout-editorial .report-title-subject {display:inline-block;}
body.layout-editorial .report-title-school {display:inline-block;}
/* Keep the overview tight after the title at every breakpoint. */
body.layout-editorial .report-article > section > h3.report-overview {margin-top:0;}
body.layout-editorial .report-article .report-overview .marginnote {--report-inline-note:1;float:none;position:static;inline-size:100%;width:100%;margin:12px 0;translate:none !important;display:none;}
body.layout-editorial .report-article .report-overview .marginnote.is-expanded {display:block;}
@media(min-width:1120px) {html[data-notes-visible='false'] body.layout-editorial .report-article .sidenote-only {display:none;}}


/* Non-reading pages use the same frame and title baseline as Home. */
body.layout-editorial .report-article:not([data-report-reading]) > section > :is(p,ul,ol,dl,h3,h4,h5,h6,blockquote,pre,.table-scroll) {width:100%;}
body.layout-editorial .report-article:not([data-report-reading]) .blog-entry {width:100%;box-sizing:border-box;gap:28px;padding:20px 0;}
body.layout-editorial .blog-entry-content a:any-link {font-size:20px;line-height:1.6;}
body.layout-editorial .blog-entry-date {font-size:15px;line-height:1.6;}
@media(max-width:600px) {
 body.layout-editorial .report-article:not([data-report-reading]) .blog-entry {gap:8px;flex-direction:column;align-items:flex-start;}
 body.layout-editorial .blog-entry-content a:any-link {font-size:18px;}
}
