/* House style: academic journal.
   One serif family, black on white, no colour fields, no badges, no boxes.
   Tables in booktabs style (top, mid and bottom rule only), numbered sections,
   abstract, captions and notes as in a printed research article. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
:root {
  --ink: #111;
  --text: #1d1d1d;
  --muted: #5c5c5c;
  --rule: #111;
  --hair: #d6d6d6;
  --link: #1f3a68;
  --ground: #fff;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --measure: 680px;
  --page: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--text); font: 400 18px/1.62 var(--serif); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; hyphens: manual; }
.footnote-backref { display: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; hyphens: auto; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 32px; }
main.wrap { flex: 1; width: 100%; }

/* masthead */
.mast { border-bottom: 1px solid var(--rule); }
.mast .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 30px; padding-bottom: 14px; }
.brand { display: flex; flex-direction: column; gap: 2px; }
.logo { color: var(--ink); font-size: 23px; font-weight: 600; letter-spacing: .005em; }
.strap { font-size: 14.5px; color: var(--muted); }
.logo:hover { text-decoration: none; }
.mast nav { display: flex; gap: 26px; font-size: 16px; }
.mast nav a { color: var(--text); }
.mast nav .sm { display: none; }
.mast nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* plate: one painting on the home page, as on a journal cover */
.plate { margin: 32px 0 0; }
.plate img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: 50% 45%; }
.plate figcaption { margin-top: 7px; font-size: 13.5px; color: var(--muted); text-align: right; }
.plate + .head { padding-top: 36px; max-width: none; }

/* page head */
.head { max-width: var(--measure); padding: 56px 0 28px; }
.head .series { font-size: 16px; color: var(--muted); margin-bottom: 10px; }
.head .series a { color: var(--muted); }
.head h1 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.16; letter-spacing: -.005em; }
.head .byline { margin-top: 16px; font-size: 16px; color: var(--muted); }
.lede { hyphens: manual; margin-top: 18px; font-size: 19px; color: var(--text); }

/* abstract */
.abstract { max-width: var(--measure); margin: 8px 0 36px; padding: 18px 0 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--hair); font-size: 16.5px; line-height: 1.6; }
.abstract h2 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }

/* journal contents list */
.contents { max-width: var(--measure); list-style: none; }
.section .contents { max-width: none; }
.contents li { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.contents li:first-child { padding-top: 10px; }
.contents .no { font-size: 15px; color: var(--muted); }
.contents h3 { font-size: 22px; line-height: 1.3; margin: 4px 0 6px; text-wrap: pretty; }
.contents h3 a { color: var(--ink); }
.contents p { font-size: 16.5px; color: var(--text); }
.contents .meta { font-size: 15px; color: var(--muted); margin-top: 6px; }

.section { padding-top: 44px; }
.section > h2 { font-size: 19px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; }
.section > h2 a { font-size: 15px; font-weight: 400; font-variant: normal; letter-spacing: 0; text-transform: none; }

/* booktabs tables */
.tbl { margin: 18px 0 8px; }
.caption { font-size: 15.5px; margin-bottom: 8px; }
.caption b { font-weight: 600; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
thead th { font-weight: 600; text-align: left; vertical-align: bottom; padding: 7px 14px 7px 0; border-top: 1.5px solid var(--rule); border-bottom: 1px solid var(--rule); }
tbody td { padding: 7px 14px 7px 0; vertical-align: top; }
tbody tr:first-child td { padding-top: 10px; }
tbody tr:last-child td { padding-bottom: 10px; border-bottom: 1.5px solid var(--rule); }
th:last-child, td:last-child { padding-right: 0; }
.r { text-align: right; }
td a[href^="http"] { white-space: nowrap; }
td .sub { display: block; color: var(--muted); font-size: 14px; }
th[data-sort] { cursor: pointer; }
th[aria-sort="ascending"]::after { content: " ↑"; font-weight: 400; } th[aria-sort="descending"]::after { content: " ↓"; font-weight: 400; }
.tnotes { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 8px; }
.tnotes i { color: var(--text); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.legend dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 7px 14px; margin: 0; }
.legend dt { color: var(--text); font-weight: 600; }
.legend dd { margin: 0; }
@media (max-width: 760px) { .legend { grid-template-columns: 1fr; gap: 7px; } .legend dl { grid-template-columns: 84px minmax(0, 1fr); } }

/* home: section index, three columns of text under a rule */
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 8px; }
.index > div { border-top: 1.5px solid var(--rule); padding-top: 12px; }
.index h2 { font-size: 19px; margin-bottom: 6px; }
.index h2 a { color: var(--ink); }
.index p { font-size: 16px; line-height: 1.55; }
.index .fig { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* home figures */
.figs th { white-space: nowrap; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.pair .contents li:last-child { border-bottom: 0; }
/* a section rule followed directly by a table: no second rule */
.section > h2 + .table-wrap thead th, .section > h2 + .tbl .table-wrap thead th { border-top: 0; }
.section > h2 + .table-wrap { margin-top: 2px; }
/* register column widths */
#tracker .c-co { width: 16%; } #tracker .c-inv { width: 15%; } #tracker .c-st { width: 7%; white-space: nowrap; }
#tracker .c-dem { width: 24%; } #tracker .c-stat { width: 11%; } #tracker .c-lat { width: 27%; }
#tracker td.c-stat { white-space: nowrap; }
.figs { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; }
tr.total td { border-top: 1px solid var(--rule); font-weight: 600; }
.teaser { max-width: var(--measure); margin-top: 14px; }

/* register filters: plain, unobtrusive */
.filters { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; font-size: 15px; color: var(--muted); margin: 6px 0 4px; }
.filters label { display: inline-flex; gap: 6px; align-items: baseline; }
.filters select, .filters input { font: inherit; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 2px; }
.filters input { width: 200px; }
.filters .count { margin-left: auto; }

/* article */
.article { max-width: var(--measure); }
.particulars { font-size: 15px; margin: 0 0 34px; }
.particulars td:first-child { width: 170px; color: var(--muted); }
.prose { counter-reset: sec; }
.prose > h2 { counter-increment: sec; font-size: 21px; margin: 40px 0 10px; scroll-margin-top: 16px; }
.prose > h2::before { content: counter(sec) ".\2002"; }
.prose > h2#notes::before { content: none; }
.prose > h2 { counter-reset: sub; }
.prose > h3 { counter-increment: sub; font-size: 17.5px; margin: 26px 0 8px; }
.prose > h3::before { content: counter(sec) "." counter(sub) "\2002"; }
.prose > h2#notes { counter-increment: none; font-size: 19px; margin-top: 52px; padding-top: 12px; border-top: 1px solid var(--rule); }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose strong { font-weight: 600; }
.prose table { margin: 14px 0 22px; }
.prose thead th { white-space: nowrap; }
.prose th.r, .prose td.r { padding-left: 14px; }
@media (min-width: 761px) { .prose td:first-child { white-space: nowrap; } }
.prose blockquote { margin: 0 0 16px 1.5em; font-size: 17px; }
sup { line-height: 0; font-size: 66%; }
.fn-sep { font-size: 66%; vertical-align: super; line-height: 0; }
.footnote { font-size: 14.5px; line-height: 1.5; }
.footnote hr { display: none; }
.footnote ol { padding-left: 1.6em; }
.footnote li { margin-bottom: 5px; word-break: break-word; }
.footnote p { margin: 0; }
.endmatter { margin-top: 30px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.endmatter p { margin-bottom: 8px; }
.endmatter b { color: var(--text); font-weight: 600; }

/* reference page */
.page.wide { max-width: var(--page); }

table.framework td:first-child { width: 22%; }
table.framework td { width: 26%; }
table.framework b { font-weight: 600; }
.refs { font-size: 14.5px; line-height: 1.5; padding-left: 1.6em; }
.refs li { margin-bottom: 5px; word-break: break-word; }
.page h2#notes { font-size: 19px; margin-top: 44px; padding-top: 12px; border-top: 1px solid var(--rule); }

/* two-column layout: text at reading width, contents on the right */
.layout { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 300px); justify-content: space-between; gap: 64px; align-items: start; }
.layout > .article, .layout > .page { max-width: none; }
.side { position: sticky; top: 28px; border-top: 1.5px solid var(--rule); padding-top: 10px; font-size: 15px; line-height: 1.5; }
.side h2, .page .side h2 { font-size: 15.5px; font-weight: 600; margin: 0 0 4px; padding: 0; border: 0; }
.article + .side { margin-top: 56px; }
.page.wide .layout .side { margin-top: 6px; }
.side ol { list-style: none; padding: 0; margin: 0; }
.side li { padding: 6px 0; border-bottom: 1px solid var(--hair); }
.side li a { color: var(--text); }
.side li a:hover { color: var(--link); }
.side p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
.side .plain li { color: var(--text); }
.side-meta { line-height: 1.7; }
.page.wide .layout { margin-bottom: 8px; }
.page.wide .intro { max-width: none; }
.defs { margin: 4px 0 16px; }
.defs dt { font-weight: 600; margin-top: 12px; }
.defs dd { margin: 2px 0 0; }

/* plain pages */
.page { max-width: var(--measure); }
.page h2 { font-size: 21px; margin: 34px 0 10px; scroll-margin-top: 16px; }
.page > h2:first-child, .page > .layout + h2 { margin-top: 0; }
.page p { margin-bottom: 14px; }

/* footer */
.foot { margin-top: 64px; border-top: 1px solid var(--rule); }
.foot .wrap { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 40px; font-size: 14.5px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }

.preview-flag { font-size: 13px; text-align: center; padding: 4px; background: #f1f1f1; color: var(--muted); }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  body { font-size: 17px; }
  .mast .wrap { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 16px; padding-bottom: 0; }
  .logo { font-size: 21px; }
  .strap { font-size: 13.5px; }
  .mast nav { justify-content: space-between; gap: 8px; font-size: 15px; white-space: nowrap; padding: 6px 0 11px; }
  .mast nav .lg { display: none; } .mast nav .sm { display: inline; }
  .head h1 { font-size: 28px; }
  .plate { margin: 16px -16px 0; }
  .plate img { height: 170px; }
  .plate figcaption { padding: 0 16px; font-size: 12.5px; text-align: left; }
  .plate + .head { padding-top: 24px; }
  .lede { font-size: 17.5px; }
  .section { padding-top: 34px; }
  .section > h2 { font-size: 17.5px; }
  .contents h3 { font-size: 19px; }
  .teaser { font-size: 16.5px; }
  .abstract { font-size: 16px; }
  .prose > h2 { font-size: 19px; margin-top: 32px; }
  .prose > h3 { font-size: 16.5px; }
  .particulars td { display: block; width: 100% !important; padding: 0 !important; }
  .particulars td:first-child { padding-top: 8px !important; font-size: 13.5px; }
  .particulars tr, .particulars thead, .particulars tbody, .particulars thead th { display: block; }
  .particulars thead th { padding: 6px 0; }
  .particulars tbody tr:last-child td { border-bottom: 0; }
  .particulars tbody tr:last-child { border-bottom: 1.5px solid var(--rule); padding-bottom: 8px; }
  .foot .wrap { flex-direction: column; gap: 8px; }
  .filters label { width: 100%; justify-content: space-between; }
  .filters select, .filters input { flex: 1; max-width: 70%; }
  .head { padding-top: 34px; }
  .filters .count { margin-left: 0; }
  .figs, .pair { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .side { display: none; }
  .index { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  #tracker td.c-stat { white-space: normal; }
  .figs table { font-size: 14px; }
  table.t1 thead { display: none; }
  table.t1, table.t1 tbody, table.t1 tr { display: block; }
  table.t1 tr { padding: 8px 0; border-bottom: 1px solid var(--hair); }
  table.t1 tr:first-child { border-top: 1.5px solid var(--rule); }
  table.t1 tbody tr:last-child { border-bottom: 1.5px solid var(--rule); }
  table.t1 td { display: inline-block; padding: 0 14px 0 0 !important; border: 0 !important; font-size: 15px; }
  table.t1 td:first-child { display: block; font-weight: 600; }
  table.t1 td[data-k]::before { content: attr(data-k) " "; color: var(--muted); }
  #tracker td { width: 100% !important; }
  table.framework td, table.framework td:first-child { width: 100%; }
  table.framework td:first-child { padding-top: 4px !important; }
  table.stack thead { display: none; }
  table.stack, .stack tbody, .stack tr, .stack td { display: block; width: 100%; }
  .stack tr { padding: 12px 0; border-bottom: 1px solid var(--hair); }
  .stack tbody tr:last-child td { border: 0; }
  .stack tbody tr:last-child { border-bottom: 1.5px solid var(--rule); }
  .stack td { padding: 1px 0 !important; text-align: left; }
  .stack td[data-k]::before { content: attr(data-k) ": "; color: var(--muted); }
  .stack td[data-k] .sub { display: inline; }
  .stack td[data-k] .sub::before { content: ", "; }
  .particulars td:first-child { width: 120px; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding-right: 7px; }
  .prose th { vertical-align: bottom; }
  .prose thead th { white-space: normal; }
  .prose th.r, .prose td.r { padding-left: 4px; }
}
@media print {
  .mast nav, .foot nav, .filters, .preview-flag { display: none !important; }
  body { font-size: 10.5pt; }
  a { color: inherit; }
}
