
/* Shared library chrome; retain each page's colour palette. */
.archive-header{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px!important;padding:24px 4vw!important;border-bottom:1px solid var(--border,var(--line,#42392b));position:relative!important;top:auto!important;max-width:none!important;width:100%;font-family:system-ui,sans-serif!important;box-sizing:border-box}.archive-header .brand{font-size:12px!important;letter-spacing:.1em;text-decoration:none;color:inherit;white-space:nowrap}.archive-header nav{display:flex!important;flex-wrap:wrap;gap:12px 23px!important;align-items:center;flex:1 1 760px;min-width:0}.archive-header nav a{font:13px/1.6 system-ui,sans-serif!important;color:#c58b35!important;text-decoration:none;white-space:normal}.archive-header [aria-current=page]{text-decoration:underline;text-underline-offset:5px}.archive-header .badge-private{font:10px/1.5 system-ui,sans-serif;letter-spacing:.1em;color:inherit;white-space:nowrap}.archive-footer{display:block!important;max-width:1200px;margin:55px auto 0!important;padding:30px 4vw!important;border-top:1px solid var(--border,var(--line,#42392b));font:12px/1.9 system-ui,sans-serif!important;color:var(--fg2,var(--muted,inherit));text-align:left!important;box-sizing:border-box;width:100%}.archive-footer p{font:inherit!important;margin:0 0 14px!important;max-width:none!important}.archive-footer a{color:inherit}.archive-header a:focus-visible,.archive-footer a:focus-visible{outline:2px solid currentColor;outline-offset:4px}@media(max-width:650px){.archive-header{padding:20px!important}.archive-header nav{gap:10px 18px!important;flex-basis:100%;order:3}.archive-footer{padding:25px 20px!important}}

.archive-menu-toggle{display:none;padding:9px 15px;color:inherit;background:transparent;border:1px solid currentColor;border-radius:4px;font:inherit;cursor:pointer}@media(max-width:760px){.archive-menu-toggle{display:block;margin-left:auto}.archive-header nav{display:none!important}.archive-header[data-menu-open="true"] nav{display:flex!important;flex-direction:column;align-items:flex-start;width:100%;gap:12px}.archive-header nav a{padding:4px 0;width:100%}}

/* Original homepage footer treatment, shared across archive pages. */
.archive-footer{display:flex!important;flex-direction:column;gap:.5rem;max-width:1240px;margin:2rem auto 0!important;padding:2rem 0!important;border-top:1px solid var(--border,var(--line,#42392b));font-family:var(--font-mono,'IBM Plex Mono','Courier New',monospace)!important;text-align:left!important;width:100%;box-sizing:border-box}
.archive-footer p{font-family:var(--font-mono,'IBM Plex Mono','Courier New',monospace)!important;font-size:.7rem!important;letter-spacing:.06em;color:var(--fg3,var(--muted,#9e9b93));line-height:1.8!important;margin:0!important;max-width:none!important}
.archive-footer strong{color:var(--gold,#c9a84c)}
.archive-footer a{color:var(--fg2,var(--muted,#9e9b93));text-decoration:none}
.archive-footer a:hover{color:var(--gold,#c9a84c)}
@media(max-width:1280px){.archive-footer{width:calc(100% - 48px);padding:2rem 0!important}}
@media(max-width:650px){.archive-footer{width:calc(100% - 40px);padding:2rem 0!important}}

/* User-selected theme; artwork, video and original embedded sources keep their colors. */
:root[data-theme="dark"]{color-scheme:dark;--bg:#0d1119;--bg2:#131b28;--bg3:#1a2433;--panel:#141e2b;--ink:#e7e6e0;--fg:#e7e6e0;--fg2:#b5b7ba;--fg3:#9c9d9f;--muted:#a7b5c3;--border:rgba(255,255,255,.14);--border2:rgba(255,255,255,.22);--line:#344456;--gold:#c9a84c;--gold2:#e8c96a}
:root[data-theme="light"]{color-scheme:light;--bg:#f5f3ee;--bg2:#ede9e1;--bg3:#e4dfd6;--panel:#f0ece4;--ink:#211e19;--fg:#211e19;--fg2:#544f47;--fg3:#686258;--muted:#5b635f;--border:rgba(44,37,25,.17);--border2:rgba(44,37,25,.25);--line:#c7beae;--gold:#8b6914;--gold2:#76530a;--cyan:#126b70;--warm:#86551b;--violet:#67418c}
html[data-theme] body{background-color:var(--bg)!important;color:var(--ink)!important}
html[data-theme="light"] main strong{color:var(--fg)}
.archive-theme-toggle{padding:8px 12px;color:var(--gold,#c9a84c);background:transparent;border:1px solid currentColor;border-radius:4px;white-space:nowrap;font:12px/1.5 system-ui,sans-serif;cursor:pointer}
.archive-theme-toggle:hover{background:var(--bg2)}.archive-theme-toggle:focus-visible{outline:2px solid var(--gold,#c9a84c);outline-offset:4px}
html[data-theme="light"] .archive-header nav a{color:#956115!important}
html[data-theme="light"] :is(.panel,.letter-choice,.source-block,.preprint-card,.research-document,.study-text,.song){color:var(--ink);background-color:var(--panel)}
html[data-theme="light"] .archive-footer p{color:var(--fg3)}
@media(max-width:760px){.archive-theme-toggle{order:2}.archive-menu-toggle{order:1}.archive-header nav{order:3!important}.archive-header .brand{flex:1 1 auto}.archive-header{gap:12px!important}}

html[data-theme="light"] .lede{color:var(--fg2)!important}
html[data-theme] :is(#ai-coin-foundation,#los-nombres){--fg:#eee9df;--fg2:#c6c6c4;--fg3:#a7aaa9;--ink:#eee9df;color:#eee9df}
html[data-theme] #los-nombres :is(h2,p,strong){color:#eee9df}
html[data-theme] #los-nombres .section-label{color:#d8ad74}
html[data-theme] #ai-coin-foundation :is(h2,p,strong){color:#eee9df}
html[data-theme] :is(.archival-text,.source-block,.locator){overflow-wrap:anywhere;min-width:0}
html[data-theme] code{overflow-wrap:anywhere;word-break:break-word}
html[data-theme] pre{max-width:100%;overflow-x:auto;white-space:pre-wrap}

/* One viewport-wide header, independent of each document's content container. */
.archive-header{width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;margin-top:0!important;padding:24px 4vw!important;min-width:0;float:none!important;transform:none!important;line-height:1.6!important}
.archive-header .brand{font:12px/1.6 system-ui,sans-serif!important;letter-spacing:.1em!important}
.archive-header nav{margin:0!important;padding:0!important;max-width:none!important}
.archive-header nav a{letter-spacing:normal!important}
@media(max-width:650px){.archive-header{padding:20px!important}}

body:has(>.archive-header){margin-top:0!important;padding-top:0!important}
.archive-header{font:13px/1.6 system-ui,sans-serif!important}
.archive-header .archive-menu-toggle{font:12px/1.5 system-ui,sans-serif!important;padding:9px 15px!important;margin-top:0!important;margin-bottom:0!important}
.archive-header .archive-theme-toggle{font:12px/1.5 system-ui,sans-serif!important;padding:8px 12px!important;margin:0!important}

.archive-header .archive-theme-toggle,.archive-header .archive-menu-toggle{width:max-content!important;flex:0 0 auto!important}
@media(max-width:760px){.archive-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center!important}.archive-header .brand{grid-column:1;grid-row:1;min-width:0}.archive-header .archive-menu-toggle{grid-column:2;grid-row:1;margin:0!important}.archive-header .archive-theme-toggle{grid-column:3;grid-row:1}.archive-header nav{grid-column:1/-1;grid-row:2}}
/* Letters: appended correspondence must share the centered page measure,
   including older editions whose inline margin:40px 0 overrides defaults. */
body:has(#original-letter) main>section{margin-inline:auto!important}

/* Center the MVP artwork container; its hero margin otherwise overrides the page measure. */
main>.mvp-hero{margin-inline:auto!important}
