:root, :root[data-theme="light"] {
  --pico-font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pico-font-size: 106.25%;
  --pico-line-height: 1.75;
  --pico-primary: #176750;
  --pico-primary-hover: #104c3c;
  --pico-primary-underline: rgba(23, 103, 80, .4);
  --pico-background-color: #fcfcf8;
  --pico-color: #263a35;
  --pico-muted-color: #5d7069;
  --pico-border-radius: .25rem;
}
body { margin: 0; }
site-navigation { display: block; }
.container { max-width: 1180px; padding-inline: clamp(1rem, 4vw, 3rem); }
a { text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pico-primary); outline-offset: 4px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .5rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }
.site-header { padding-top: 60px; background: #eef3ed; border-bottom: 1px solid #d8e2d9; }
#topbar { position: fixed; inset: 0 0 auto; height: 60px; z-index: 20; background: #005566; color: white; box-shadow: 0 5px 5px #8884; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; }
.idoneos-brand { position: relative; display: block; flex: 0 0 96px; width: 96px; height: 60px; padding: 0; margin: 0; }
.idoneos-brand img { position: absolute; top: -4px; left: 0; width: 96px; height: 96px; max-width: none; }
#topbar .site-name { flex: 1; min-width: 0; margin: 0; padding: 0; font-family: Georgia, serif; font-weight: 700; color: white; font-size: clamp(1.1rem, 3vw, 1.55rem); line-height: 1.2; text-decoration: none; }
.subdomain-home { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; margin: 0; padding: 6px; color: white; background: #ffffff26; border-radius: 50%; }
.subdomain-home:hover { color: white; background: #ffffff40; }
.section-nav { display: flex; justify-content: flex-start; gap: 1.6rem; padding-block: 2.25rem .75rem; overflow-x: auto; }
.section-nav a { flex-shrink: 0; font-size: .85rem; padding: .2rem 0; margin: 0; }
.section-nav a[aria-current] { font-weight: 700; text-decoration-thickness: 2px; }
main.container { padding-block: 1.2rem 4rem; scroll-margin-top: 110px; }
.breadcrumbs { display: block; font-size: .76rem; margin-bottom: 2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: .2rem .65rem; }
.breadcrumbs li { display: inline; padding: 0; }
.breadcrumbs li + li::before { content: "/"; padding-right: .65rem; color: #798b80; }
.breadcrumbs [aria-current] { color: var(--pico-muted-color); }
.article-header { max-width: 840px; margin-bottom: 2.5rem; }
.eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--pico-primary); margin-bottom: .8rem; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.25rem, 5vw, 3.8rem); line-height: 1.13; letter-spacing: -.025em; color: #163f36; margin-top: 0; margin-bottom: 1.2rem; }
h1:focus { outline: none; }
.article-description { font-size: 1.07rem; color: var(--pico-muted-color); max-width: 740px; line-height: 1.6; }
.language-link { font-size: .78rem; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(150px, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.reading-main { min-width: 0; }
.article-content { background: none; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.06rem; overflow-wrap: break-word; }
.article-body h2, .article-body h3, .article-body h4 { font-family: var(--pico-font-family); line-height: 1.3; color: #17483f; clear: both; }
.article-body h2 { font-size: 1.5rem; margin-top: 2.8rem; }
.article-body h3 { font-size: 1.2rem; margin-top: 2rem; }
.article-body > :first-child { margin-top: 0; }
.article-body figure { max-width: 100%; margin: 1.5rem auto; text-align: center; }
.article-body figure img { width: auto; height: auto; max-height: 420px; max-width: 100%; object-fit: contain; }
.article-body figcaption { font-family: var(--pico-font-family); color: var(--pico-muted-color); font-size: .78rem; padding-top: .5rem; }
.article-body img { max-width: 100%; height: auto; }
.article-body figure[data-align="right"] { float: right; max-width: 45%; margin: .3rem 0 1rem 1.5rem; }
.article-body figure[data-align="left"] { float: left; max-width: 45%; margin: .3rem 1.5rem 1rem 0; }
.article-body table { font-family: var(--pico-font-family); font-size: .9rem; display: block; overflow-x: auto; }
.article-body [id], .article-body a[name] { scroll-margin-top: 110px; }
.byline { clear: both; padding-top: 1.5rem; margin-bottom: 2.5rem; font-size: .83rem; color: var(--pico-muted-color); }
.page-toc { position: sticky; top: 110px; border-left: 1px solid #d8e2d9; padding-left: 1.25rem; font-size: .78rem; }
.page-toc summary { font-weight: 600; }
.page-toc ol { padding: 0; margin: .5rem 0 0; list-style: none; }
.page-toc li { list-style: none; margin-bottom: .5rem; padding: 0; }
.page-toc .toc-level-3 { margin-left: .75rem; }
.page-toc nav { display: block; }
.page-toc a { display: inline; padding: 0; margin: 0; line-height: 1.5; }
.directory, .related-navigation { clear: both; margin-top: 2.5rem; }
.directory > h2, .related-navigation > h2 { font-size: 1.15rem; }
.directory-list { list-style: none; padding: 0; }
.directory-list > li { display: flex; gap: 1rem; align-items: start; padding: 1.1rem 0; border-top: 1px solid #d8e2d9; }
.directory-list > li > div { min-width: 0; overflow-wrap: anywhere; }
.directory-list img { width: 80px; height: 65px; object-fit: cover; flex-shrink: 0; }
.directory-list h3 { font-size: 1rem; line-height: 1.4; margin: 0 0 .4rem; }
.directory-list p { font-size: .88rem; margin: 0; color: var(--pico-muted-color); line-height: 1.6; }
.related-navigation { display: block; padding-top: 1.25rem; border-top: 1px solid #d8e2d9; }
.related-navigation ul { display: flex; flex-wrap: wrap; padding: 0; gap: .5rem 1.2rem; }
.related-navigation li { font-size: .85rem; list-style: none; padding: 0; }
.related-navigation a { margin: 0; padding: 0; }
.site-footer { --footer-fg: #263a35; --footer-muted: #5d7069; --footer-icon-bg: #d8e2d9; background: #eef3ed; color: var(--footer-fg); padding: 10px; text-align: center; font-size: small; width: 100%; margin: 1em 0 0; font-family: Arial, Helvetica, sans-serif; clear: both; }
.site-footer #footer1, .site-footer #footer2 { display: flex; flex-wrap: wrap; margin: auto; position: relative; justify-content: space-between; align-items: center; gap: 1em; }
.site-footer #footer1 { flex-direction: row; padding-inline: 0; }
.site-footer #footer2 { flex-direction: row-reverse; margin-top: 2em; }
.site-footer #footer1 > *, .site-footer #footer2 > div { margin: auto; }
.site-footer #footer1 > idoneos-ad-300x250 { flex: 1 1 360px; width: 100%; max-width: 480px; min-width: 0; min-height: 340px; }
.site-footer #footer1 > div { min-width: 0; max-width: 100%; }
.site-footer #archive-note { color: var(--footer-muted); font-size: small; font-weight: 600; text-align: center; max-width: 300px; margin: 0 auto 1rem; }
.site-footer #archive-note img { display: block; margin: auto; width: 192px; height: 192px; }
.site-footer #footer2 a { color: var(--footer-muted); }
.site-footer #social-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.site-footer #social-buttons a { display: block; text-decoration: none; border: 0; flex: 0 0 50px; width: 50px; height: 50px; padding: 2px; margin: 5px; color: var(--footer-fg); border-radius: 50%; background: var(--footer-icon-bg); }
.site-footer #social-buttons a:hover { background: #c6d6cc; }
.site-footer #social-buttons svg { display: block; fill: currentColor; width: 100%; height: 100%; }
.site-footer a:focus-visible { outline-color: var(--pico-primary); }
#topbar a:focus-visible { outline-color: #ffda67; }
@media (max-width: 800px) {
  .reading-layout { display: flex; flex-direction: column; gap: 1.5rem; }
  .page-toc { order: -1; position: static; width: 100%; border-left: 0; border-block: 1px solid #d8e2d9; padding: 1rem 0; }
  .reading-main { width: 100%; }
  .masthead { gap: .75rem; }
  .section-nav { gap: 1.2rem; }
  .article-header { margin-bottom: 1.5rem; }
  .article-body figure[data-align] { float: none; max-width: 100%; margin: 1.5rem auto; }
}
@media (max-width: 600px) {
  .site-footer #social-buttons { max-width: 200px; margin-inline: auto; }
}
@media print {
  .site-header, .site-footer, .page-toc, .related-navigation, .language-link { display: none; }
  .reading-layout { display: block; }
  a { color: inherit; }
}

/* Historical diagrams, office tables and fixed-width blocks scroll within the article. */
.legacy-content {
  display: flow-root;
  max-width: 100%;
  overflow-x: auto;
}
.legacy-content iframe,
.legacy-content embed,
.legacy-content object,
.legacy-content svg {
  max-width: 100%;
}
