:root {
  color-scheme: light;
  --paper: #fafaf8;
  --white: #ffffff;
  --ink: #232925;
  --muted: #67716a;
  --green: #355c49;
  --green-dark: #234332;
  --wash: #edf2ed;
  --line: #dce1da;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; vertical-align: middle; }
::selection { background: #d9e6da; }
[hidden] { display: none !important; }
.skip-link { position: absolute; z-index: 20; left: 20px; top: -100px; padding: 8px 18px; background: var(--green); color: white; }
.skip-link:focus { top: 12px; }

.site-header { max-width: 1400px; min-height: 112px; margin: auto; padding: 25px 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 15px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--ink); }
.monogram { width: 48px; height: 48px; border: 1px solid #b4c1b4; display: inline-flex; align-items: center; justify-content: center; flex: none; font-family: var(--serif); font-size: 23px; line-height: 1; letter-spacing: -2px; color: var(--green); }
.brand-title { display: block; font-family: var(--serif); font-size: 25px; line-height: 1.2; letter-spacing: -.5px; }
.brand-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: 1.75px; text-transform: uppercase; line-height: 1.5; }
.search-trigger { display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; width: 244px; min-height: 42px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); background: var(--white); font-size: 13px; line-height: 1.4; text-align: left; }
.search-trigger:hover { border-color: #a9b9ac; }
.search-trigger svg { width: 16px; height: 16px; }
.search-trigger kbd { margin-left: auto; padding: 0 6px; border: 1px solid var(--line); border-radius: 2px; color: #8a948c; font: 12px var(--sans); line-height: 20px; }
.top-nav { display: flex; gap: 29px; max-width: 1316px; margin: 0 auto; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.top-nav a { display: inline-flex; align-items: center; min-height: 46px; padding: 9px 0 8px; color: var(--muted); font-size: 13px; line-height: 1.5; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.top-nav a:hover { color: var(--green); }
.top-nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }

.page-shell { display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 38px; max-width: 1400px; margin: 0 auto; padding: 34px 42px 74px; align-items: start; }
.contents { position: sticky; top: 30px; align-self: start; margin-top: 4px; font-size: 13px; }
.contents details { padding-right: 18px; }
.contents summary { padding: 0 0 12px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); list-style: none; }
.contents summary::-webkit-details-marker { display: none; }
.contents summary::after { content: "−"; float: right; color: var(--muted); }
.contents details:not([open]) summary::after { content: "+"; }
.contents nav { display: grid; padding-top: 12px; gap: 2px; }
.contents a { padding: 5px 0 5px 11px; border-left: 2px solid transparent; text-decoration: none; line-height: 1.55; color: var(--muted); }
.contents a:hover { color: var(--green); }
.contents a[aria-current="location"] { border-left-color: var(--green); color: var(--green); font-weight: 600; background: linear-gradient(90deg, #eaf0e9 0%, transparent 100%); }
.contents p { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
#main-content { min-width: 0; }
.article-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 24px; margin-bottom: 26px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs a { text-decoration: none; }
.article-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.article-actions button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 11px; }
.article-actions button:hover { color: var(--green); }
.article-actions svg { width: 14px; height: 14px; }
.article-heading { margin-bottom: 27px; padding-bottom: 23px; border-bottom: 1px solid #bec9bf; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 10px; font-weight: 650; line-height: 1.6; letter-spacing: 1.8px; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--serif); font-size: 48px; line-height: 1.15; font-weight: 400; letter-spacing: -1.35px; text-wrap: balance; }
.subtitle { margin: 11px 0 0; color: var(--muted); font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 31px; align-items: start; }
.article-body { min-width: 0; }
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 20px; }
.article-body .lead { margin-bottom: 25px; font-size: 17px; line-height: 1.85; }
.article-body h2 { margin: 37px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.3; letter-spacing: -.45px; }
.article-body h3 { margin: 26px 0 9px; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.4; }
.article-body ul, .article-body ol { padding-left: 23px; margin: 10px 0 24px; }
.article-body li { padding-left: 3px; margin-bottom: 7px; }
.article-body sup { white-space: nowrap; font-size: 10px; line-height: 0; padding-left: 2px; }
.article-body sup a { text-decoration: none; }
.article-body blockquote { margin: 24px 0; padding: 3px 0 3px 20px; border-left: 2px solid #a4b69f; font-family: var(--serif); font-size: 19px; }
.article-body blockquote p { margin: 0; }
.note { padding: 15px 18px; margin: 22px 0; border-left: 3px solid #9caf97; background: #eff3ed; color: #4f6052; font-size: 13px; line-height: 1.75; }
.note p:last-child { margin-bottom: 0; }
.note strong { color: #354d3c; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; text-align: left; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.article-body th { background: var(--wash); font-weight: 600; }

.infobox { border: 1px solid #cbd5c9; background: #f5f7f2; font-size: 12px; line-height: 1.6; overflow: hidden; }
.infobox-title { padding: 15px 14px; background: #e8eee4; border-bottom: 1px solid #cbd5c9; font-family: var(--serif); font-size: 21px; line-height: 1.3; text-align: center; font-weight: 400; }
.infobox figure { margin: 13px; }
.infobox figure img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: center 24%; background: #e4e6df; }
.infobox figcaption { margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: center; }
.infobox dl { padding: 0 13px; margin: 13px 0; }
.infobox dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 9px; padding: 9px 0; border-top: 1px solid #dfe5da; }
.infobox dl > div:first-child { border-top: 0; }
.infobox dt { font-weight: 600; color: #4d5c4d; }
.infobox dd { margin: 0; overflow-wrap: anywhere; }
.infobox-section { padding: 8px 13px; background: #e8eee4; border-top: 1px solid #cbd5c9; border-bottom: 1px solid #cbd5c9; color: #435c43; font-size: 11px; font-weight: 600; text-align: center; }
.infobox > p, .infobox > ul { margin: 13px; }
.infobox > ul { padding-left: 18px; }
.infobox a { text-decoration: none; }
.infobox a:hover { text-decoration: underline; }

.article-body .timeline { list-style: none; padding: 0; margin: 23px 0 29px; }
.timeline li { position: relative; display: grid; grid-template-columns: 69px minmax(0, 1fr); gap: 17px; margin: 0; padding: 0 0 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .year { color: var(--green); font-weight: 600; font-size: 13px; padding-top: 2px; }
.timeline .event { position: relative; padding-left: 17px; border-left: 1px solid #c7d3c4; font-size: 14px; line-height: 1.8; }
.timeline .event::before { content: ""; position: absolute; top: 8px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #7f9878; }
.timeline .event p { margin-bottom: 0; }
.reference-list { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.reference-list li { padding-left: 4px; margin-bottom: 12px; }
.reference-list li:target { background: #edf2e7; outline: 6px solid #edf2e7; }
.source-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-card:first-child { padding-top: 0; }
.source-card h3 { margin: 6px 0 7px; font-size: 22px; }
.source-card p { margin-bottom: 8px; font-size: 14px; }
.source-type { display: inline-block; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.article-meta { margin-top: 35px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.article-meta p { margin: 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 25px 0 0; }
.related-grid > a { display: block; padding: 15px 17px; border: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 20px; line-height: 1.5; transition: border-color .15s, background .15s; }
.related-grid > a:hover { border-color: #9daf9a; background: #f0f4ed; }
.related-label { display: block; margin-bottom: 5px; font-family: var(--sans); color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.6; letter-spacing: 1.2px; text-transform: uppercase; }
#action-status:not(:empty) { margin: 10px 0 18px; padding: 10px 14px; color: var(--green); background: var(--wash); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.site-footer { max-width: 1316px; margin: 0 auto; padding: 24px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.site-footer p { margin: 0 0 5px; }
.site-footer a { text-decoration: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 11px; }

/* Shared page elements and the compact article masthead. */
.nav-bar { display: flex; align-items: center; max-width: 1316px; margin: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 20px; }
.nav-bar .top-nav { flex: 1; margin: 0; border: 0; }
.nav-note { color: var(--muted); font-size: 11px; white-space: nowrap; }
.brand-domain { color: var(--muted); }
.toc-number { display: inline-block; min-width: 23px; color: #879389; font-size: 10px; font-variant-numeric: tabular-nums; }
.contents summary > span { display: none; }
.sidebar-note { border-top: 1px solid var(--line); margin: 27px 18px 0 0; padding-top: 18px; }
.sidebar-label { color: var(--muted); font-size: 9px; letter-spacing: 1.7px; }
.sidebar-note p { margin: 8px 0 12px; }
.sidebar-note a { padding: 0; border: 0; font-size: 11px; }
.article-heading { margin-bottom: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 20px; padding: 12px 0; border: 0; }
#action-status:empty { display: none; }
.article-layout-wide { grid-template-columns: minmax(0, 1fr); }
.article-layout-wide .article-body { max-width: 820px; }
.infobox-title { margin: 0; }
.infobox dd span { color: var(--muted); }
.company-mark { padding: 32px 15px; text-align: center; font-family: var(--serif); font-size: 35px; letter-spacing: -1px; }
.company-mark span { display: block; margin-top: 8px; font-family: var(--sans); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.editorial-note { display: flex; align-items: flex-start; gap: 10px; margin: 25px 0 32px; padding: 13px 14px; border: 1px solid var(--line); background: #f1f4ee; color: #546252; font-size: 12px; line-height: 1.65; }
.editorial-note p { margin: 0; }
.section-anchor { margin-left: 10px; color: #788d7b; font-family: var(--sans); font-size: 14px; text-decoration: none; opacity: 0; }
h2:hover .section-anchor, .section-anchor:focus-visible { opacity: 1; }
.section-link { font-size: 13px; }
.record-list li { margin-bottom: 12px; }
.timeline .event h3 { margin-top: 0; }
.timeline li { grid-template-columns: 90px minmax(0, 1fr); }
.source-number { color: #879389; font-family: var(--sans); font-size: 12px; margin-right: 5px; }
.source-byline { color: var(--muted); font-size: 12px !important; }
.source-card:target { background: var(--wash); outline: 12px solid var(--wash); }
.reference-type { color: var(--muted); }
.reference-intro { font-size: 12px; }
.related { margin-top: 45px; }
.related-grid > a { position: relative; padding-right: 30px; }
.related-grid > a > span:last-child { position: absolute; right: 14px; top: 13px; font-size: 17px; }
.related-grid strong { font-weight: 400; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; font: 19px var(--serif); }
.footer-brand span { font-size: 16px; color: var(--ink); }

#search-dialog { width: min(640px, calc(100% - 32px)); max-height: min(76vh, 700px); padding: 27px; border: 1px solid #cbd5c9; border-radius: 3px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 90px #1b2a2230; }
#search-dialog::backdrop { background: #1f2d2466; }
#search-dialog > form { display: flex; justify-content: flex-end; margin: -10px -8px 8px; }
.close-search { padding: 4px 8px; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
#search-dialog > label { display: block; margin-bottom: 15px; font: 28px/1.3 var(--serif); }
#wiki-search { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b8c7b8; border-radius: 0; background: var(--white); color: var(--ink); font-size: 16px; }
#search-status { margin: 12px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
#search-results { list-style: none; margin: 0; padding: 0; }
#search-results li { border-top: 1px solid var(--line); }
#search-results a { display: block; padding: 13px 3px; text-decoration: none; }
#search-results a:hover { background: var(--wash); }
.search-result-title { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.search-result-section { display: block; margin-top: 3px; color: var(--green); font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.search-result-excerpt { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.65; }

@media (min-width: 1500px) { .site-header { padding-top: 33px; padding-bottom: 33px; } .page-shell { padding-top: 40px; } }
@media (max-width: 1399px) { .nav-bar, .site-footer { margin-left: 42px; margin-right: 42px; } }
@media (max-width: 1180px) {
  .page-shell { grid-template-columns: 160px minmax(0, 1fr); column-gap: 26px; padding-left: 30px; padding-right: 30px; }
  .site-header { padding-left: 30px; padding-right: 30px; }
  .nav-bar, .site-footer { margin-left: 30px; margin-right: 30px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 24px; }
  .infobox dl > div { grid-template-columns: 74px minmax(0, 1fr); gap: 7px; }
}
@media (max-width: 1020px) {
  .page-shell { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
  .contents { position: static; margin: 0 0 25px; }
  .contents details { padding: 0; }
  .contents summary { cursor: pointer; padding: 10px 0; }
  .contents nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 15px; padding-top: 10px; }
  .contents p { display: none; }
  .sidebar-note { display: none; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .article-toolbar { margin-bottom: 22px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 91px; gap: 14px; padding: 20px; }
  .brand { gap: 11px; }
  .monogram { width: 39px; height: 43px; font-size: 21px; }
  .brand-title { font-size: 22px; }
  .brand-subtitle { font-size: 8px; letter-spacing: 1.3px; }
  .search-trigger { width: 40px; min-height: 40px; flex: none; padding: 10px; justify-content: center; font-size: 0; gap: 0; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger svg { display: block; width: 17px; height: 17px; }
  .nav-bar { margin: 0 20px; }
  .nav-note { display: none; }
  .top-nav { gap: 22px; overflow-x: auto; scrollbar-width: thin; }
  .top-nav a { font-size: 12px; min-height: 44px; }
  .page-shell { padding: 18px 20px 43px; }
  .contents { margin-bottom: 22px; }
  .contents nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-toolbar { flex-wrap: wrap; row-gap: 11px; margin-bottom: 22px; }
  .article-actions { gap: 16px; }
  h1 { font-size: 40px; letter-spacing: -.9px; }
  .subtitle { font-size: 17px; }
  .article-heading { padding-bottom: 20px; margin-bottom: 0; }
  .article-layout { display: flex; flex-direction: column; gap: 28px; }
  .article-body { width: 100%; }
  .article-body .lead { font-size: 17px; }
  .article-body h2 { font-size: 27px; margin-top: 32px; }
  .article-body h3 { font-size: 21px; }
  .infobox { order: -1; width: 100%; max-width: 410px; margin: 0 auto; display: grid; grid-template-columns: 110px minmax(0, 1fr); }
  .infobox-title, .infobox-section { grid-column: 1 / -1; }
  .infobox-title { font-size: 19px; padding: 10px; }
  .infobox figure { grid-row: 2; align-self: start; }
  .infobox figcaption { font-size: 9px; }
  .infobox dl { grid-column: 2; font-size: 11px; }
  .infobox dl > div { display: block; padding: 5px 0; }
  .company-mark { grid-column: 1 / -1; }
  .company-mark + dl { grid-column: 1 / -1; }
  .infobox figure { max-width: 270px; margin: 15px auto; padding: 0 10px; }
  .infobox dl { padding: 0 18px; }
  .infobox dl > div { grid-template-columns: 105px minmax(0, 1fr); }
  .related-grid { gap: 10px; }
  .related-grid > a { padding: 12px; font-size: 18px; }
  .timeline li { grid-template-columns: 75px minmax(0, 1fr); gap: 10px; }
  .site-footer { margin: 0 20px; padding: 21px 0 30px; }
  #search-dialog { padding: 22px 19px; }
}
@media (max-width: 380px) {
  .site-header { padding: 18px 16px; gap: 10px; }
  .brand-title { font-size: 20px; }
  .brand-subtitle { font-size: 7px; letter-spacing: 1.05px; }
  .page-shell { padding-left: 16px; padding-right: 16px; }
  .nav-bar, .site-footer { margin-left: 16px; margin-right: 16px; }
  h1 { font-size: 37px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  @page { margin: 18mm; }
  html { scroll-behavior: auto; }
  body { background: white; color: black; font-size: 10.5pt; line-height: 1.6; }
  .site-header { min-height: 0; padding: 0 0 18px; }
  .brand-title { font-size: 22pt; }
  .search-trigger, .nav-bar, .contents, .article-actions, .related-grid, #action-status, #search-dialog, .skip-link { display: none !important; }
  .page-shell { display: block; max-width: none; padding: 0; }
  .article-toolbar { margin: 6px 0 14px; }
  .article-heading { margin-bottom: 20px; }
  h1 { font-size: 32pt; }
  .article-layout { display: block; }
  .article-body .lead { font-size: 11pt; }
  .article-body h2 { font-size: 19pt; break-after: avoid; }
  .article-body h3 { font-size: 14pt; break-after: avoid; }
  .infobox { width: 260px; margin: 25px 0; break-inside: avoid; }
  .infobox figure { max-width: 180px; margin: 12px auto; }
  .note, .source-card, .timeline li { break-inside: avoid; }
  a { color: black; }
  .site-footer { margin: 25px 0 0; padding: 15px 0 0; }
}
