/* ════════════════════════════════════════════════════════════════
   Eden Openly — page shell (November 2026)
   Ordinary pages (page.php), search results, the header search box and
   the site footer. Scoped to .eo-shell / .es-* / .eo-foot / .eo-search.
   The few !important flags below override container rules in style.css
   that are themselves !important (the old white card), and are marked.
   ════════════════════════════════════════════════════════════════ */

:root {
  --es-navy: #0B1B2A;
  --es-paper: #FBF7F2;
  --es-cream: #F6F1EC;
  --es-rule: #E7DED4;
  --es-ink: #171512;
  --es-ink-2: #3A332D;
  --es-muted: #5F5650;
  --es-accent: #7A5F48;
  --es-pill: #EFE4D6;
  --es-pill-ink: #5E4632;
  --es-on-navy: #D8CFC6;
  --es-on-navy-2: #C9B39C;
  --es-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --es-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --es-navh: 93px;   /* height of the sticky site header (style.css .site-nav) */
}
@media (max-width: 1023px) { :root { --es-navh: 71px; } }

/* ─── Shell layout ─────────────────────────────────────────── */
.eo-shell { background: var(--es-paper); color: var(--es-ink); }
.es-wrap { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; box-sizing: border-box; }

.es-head { background: var(--es-paper); padding-top: 40px; }
.es-head .es-wrap > * { max-width: 920px; }
.es-crumb { margin: 0 0 26px; font-family: var(--es-sans); font-size: 13px; }
.es-crumb a { color: var(--es-muted); text-decoration: underline; text-decoration-color: var(--es-rule); text-underline-offset: 3px; }
.es-crumb a:hover { color: var(--es-accent); }
.es-label { margin: 0 0 14px; font-family: var(--es-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--es-accent); }
.eo-shell h1.es-title {
  margin: 0 0 18px; font-family: var(--es-serif) !important; font-style: normal !important; font-weight: 400 !important;
  font-size: clamp(38px, 5.2vw, 60px) !important; line-height: 1.05 !important; letter-spacing: -0.015em; color: var(--es-ink) !important;
}
.es-deck { margin: 0 0 18px; font-family: var(--es-serif); font-size: 22px; line-height: 1.45; color: var(--es-ink-2); max-width: 760px; }
.es-meta { margin: 0; padding-bottom: 32px; font-family: var(--es-sans); font-size: 13.5px; line-height: 1.6; color: var(--es-muted); }
.es-meta a { color: var(--es-ink); text-decoration: underline; text-decoration-color: var(--es-on-navy-2); text-underline-offset: 3px; }
.eo-shell:not(:has(.es-cite)) .es-head .es-wrap { border-bottom: 1px solid var(--es-rule); }

/* ─── Citation box ─────────────────────────────────────────── */
.es-cite {
  display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: flex-start;
  background: var(--es-cream); border: 1px solid var(--es-rule); border-radius: 4px; padding: 22px 26px;
  font-family: var(--es-sans); color: var(--es-ink);
}
.es-cite__grid { flex: 999 1 560px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; margin: 0; }
.es-cite__grid > div { min-width: 0; }
.es-cite__grid dt { margin: 0 0 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-muted); }
.es-cite__grid dd { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.es-cite__doi { grid-column: 1 / -1; }
.es-doi { margin-right: 10px; }
.es-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--es-pill); color: var(--es-pill-ink); font-size: 12px; font-weight: 500; }
.es-pill a, .es-pill--link { color: var(--es-pill-ink); }
.es-cite__actions { flex: 1 1 210px; display: flex; flex-direction: column; gap: 10px; }
.es-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid var(--es-ink); border-radius: 3px; background: transparent; color: var(--es-ink);
  font-family: var(--es-sans); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; list-style: none;
}
.es-btn::-webkit-details-marker { display: none; }
.es-btn:hover { background: var(--es-paper); }
.es-btn--primary { background: var(--es-navy); border-color: var(--es-navy); color: #F6F1EC; }
.es-btn--primary:hover { background: #16304A; color: #FFFFFF; }
.es-citebox__panel { margin-top: 10px; padding: 14px; background: #FFFFFF; border: 1px solid var(--es-rule); border-radius: 3px; }
.es-citebox__text { margin: 0 0 10px; font-family: var(--es-serif); font-size: 16px; line-height: 1.5; }
.es-copy { min-height: 36px; padding: 0 12px; border: 1px solid var(--es-rule); border-radius: 3px; background: var(--es-cream); font: 500 13px var(--es-sans); cursor: pointer; }
.es-full { flex-basis: 100%; border-top: 1px solid var(--es-rule); padding-top: 12px; font-size: 13.5px; }
.es-full summary { cursor: pointer; color: var(--es-muted); }
.es-full__body { margin-top: 10px; font-family: var(--es-serif); font-size: 16px; line-height: 1.6; }
.es-full__body p { margin: 0; }

/* ─── Body: list of sections + reading column ──────────────── */
.es-body { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-top: 44px; padding-bottom: 96px; }
.es-toc { flex: 1 1 240px; max-width: 280px; position: sticky; top: calc(var(--es-navh) + 24px); max-height: calc(100vh - var(--es-navh) - 48px); overflow-y: auto;
  font-family: var(--es-sans); font-size: 13.5px; line-height: 1.4; border-top: 1px solid var(--es-rule); padding-top: 16px; }
.es-toc summary { list-style: none; cursor: default; pointer-events: none; }
.es-toc summary::-webkit-details-marker { display: none; }
.es-toc__label { display: block; margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--es-muted); }
.es-toc__current { display: none; }
.es-toc ol { list-style: none; margin: 0; padding: 0; }
.es-toc li { margin: 0; }
.es-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid transparent; color: var(--es-muted); text-decoration: none; }
.es-toc a:hover { color: var(--es-ink); }
.es-toc a.is-current { color: var(--es-ink); font-weight: 600; border-left-color: var(--es-accent); }
.es-top { display: inline-block; margin-top: 18px; color: var(--es-muted); font-size: 13px; text-decoration: none; }
.es-top:hover { color: var(--es-ink); }

/* The article keeps class post-body so every content style still applies;
   only the old white-card container is undone here. */
.eo-shell .post-body.es-prose {
  flex: 999 1 560px; min-width: 0;
  max-width: 700px !important;             /* style.css: .post-body max-width !important */
  margin: 0 !important;                    /* style.css: centred card margins */
  padding: 0 !important;                   /* style.css: card padding */
  background: transparent !important;      /* style.css: card background */
  box-shadow: none !important;             /* style.css: card shadow */
  border-radius: 0 !important;
}
.eo-shell:not(.eo-shell--toc) .post-body.es-prose { margin: 0 auto !important; max-width: 760px !important; }
.eo-shell .post-body.es-prose h2 {
  font-family: var(--es-serif) !important; font-style: normal !important; font-weight: 500 !important;  /* style.css: the global italic h2 */
  font-size: 31px !important; line-height: 1.22 !important; color: var(--es-ink) !important;
  scroll-margin-top: calc(var(--es-navh) + 24px);
}
.eo-shell .post-body.es-prose h3 { scroll-margin-top: calc(var(--es-navh) + 24px); }
.eo-shell .post-body.es-prose .eo-toc { display: none; }  /* the page's own hand-made list: the shell builds one */

.es-progress { position: fixed; left: 0; right: 0; top: var(--es-navh); height: 3px; z-index: 99; pointer-events: none; }
.es-progress span { display: block; height: 3px; width: 0; background: var(--es-accent); }

/* ─── Phone and tablet ─────────────────────────────────────── */
@media (max-width: 1023px) {
  .es-wrap { padding-left: 20px; padding-right: 20px; }
  .es-head { padding-top: 24px; }
  .es-crumb { margin-bottom: 16px; }
  .es-deck { font-size: 19px; }
  .es-meta { padding-bottom: 22px; }
  .es-cite { padding: 16px; gap: 14px; }
  .es-cite__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .es-cite__actions { flex-direction: row; flex-wrap: wrap; flex-basis: 100%; }
  .es-cite__actions > * { flex: 1 1 140px; }
  .es-body { display: block; padding-top: 0; padding-bottom: 72px; }
  .es-toc {
    position: sticky; top: var(--es-navh); z-index: 20; max-width: none; max-height: none; overflow: visible;
    margin: 0 -20px 28px; padding: 0; border-top: 0; border-bottom: 1px solid var(--es-rule); background: var(--es-paper);
  }
  .es-toc summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; }
  .es-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--es-ink); border-bottom: 2px solid var(--es-ink); transform: rotate(45deg) translateY(-3px); margin-left: auto; }
  .es-toc details[open] summary::after { transform: rotate(-135deg); }
  .es-toc__label { margin: 0; }
  .es-toc__current { display: block; font-weight: 500; color: var(--es-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .es-toc ol { padding: 6px 0 12px; background: var(--es-cream); border-top: 1px solid var(--es-rule); max-height: 60vh; overflow-y: auto; }
  .es-toc a { padding: 11px 20px; border-left: 0; font-size: 15px; }
  .eo-shell .es-toc .es-top { display: none !important; }  /* style.css styles every nav link */
  .es-toc__label { white-space: nowrap; flex: 0 0 auto; }
  .eo-shell .post-body.es-prose { max-width: none !important; }
  .eo-shell .post-body.es-prose h2 { font-size: 27px !important; scroll-margin-top: calc(var(--es-navh) + 64px); }
  .eo-shell .post-body.es-prose h3 { scroll-margin-top: calc(var(--es-navh) + 64px); }
}

.es-totop {
  position: fixed; right: 16px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: var(--es-navy); color: #F6F1EC; display: none; align-items: center; justify-content: center; cursor: pointer;
}
.es-totop.is-shown { display: flex; }
@media (min-width: 1024px) { .es-totop { display: none !important; } }

/* ─── Header search box (all pages) ────────────────────────── */
.eo-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; margin-left: 28px; margin-right: 20px; flex: 0 0 auto;
  border: 1px solid rgba(246,241,236,0.25); border-radius: 3px; color: var(--es-on-navy); font-family: var(--es-sans); font-size: 13px; }
.eo-search input { width: 120px; background: transparent; border: 0; outline: none; color: #F6F1EC; font: inherit; }
.eo-search input::placeholder { color: rgba(216,207,198,0.8); }
.eo-search:focus-within { border-color: var(--es-on-navy-2); }
.eo-search button { display: flex; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.eo-search .eo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1240px) { .eo-search input { width: 0; padding: 0; } .eo-search:focus-within input { width: 120px; } }
@media (max-width: 900px) { .eo-search { display: none; } }
.eo-search-link { display: none; }
@media (max-width: 900px) {
  .eo-search-link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; color: #F6F1EC; }
}

/* ─── Search results page ──────────────────────────────────── */
.eo-results .es-searchform { display: flex; gap: 10px; max-width: 680px; margin: 0 0 8px; }
.eo-results .es-searchform input { flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid var(--es-ink); border-radius: 3px; background: #FFFFFF; font: 17px var(--es-sans); }
.eo-results .es-searchform button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 3px; background: var(--es-navy); color: #F6F1EC; font: 500 15px var(--es-sans); cursor: pointer; }
.eo-results .es-list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.eo-results .es-list li { border-bottom: 1px solid var(--es-rule); padding: 22px 0; }
.eo-results .es-list .es-kind { margin: 0 0 6px; font-family: var(--es-sans); font-size: 12px; letter-spacing: 0.06em; color: var(--es-muted); }
.eo-results .es-list h2 { margin: 0 0 6px; font-family: var(--es-serif) !important; font-style: normal !important; font-weight: 400 !important; font-size: 24px !important; line-height: 1.25 !important; }
.eo-results .es-list h2 a { color: var(--es-ink); text-decoration: none; }
.eo-results .es-list h2 a:hover { color: var(--es-accent); }
.eo-results .es-list p { margin: 0; font-family: var(--es-serif); font-size: 17px; line-height: 1.55; color: var(--es-ink-2); }
.eo-results .es-pages { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--es-sans); font-size: 14px; }
.eo-results .es-pages a, .eo-results .es-pages span { padding: 6px 14px; border: 1px solid var(--es-rule); border-radius: 3px; color: var(--es-muted); text-decoration: none; }
.eo-results .es-pages .current { background: var(--es-ink); border-color: var(--es-ink); color: var(--es-paper); }

/* ─── Footer ───────────────────────────────────────────────── */
.eo-foot { background: var(--es-navy); color: var(--es-on-navy); font-family: var(--es-sans); font-size: 14px; }
.eo-foot__inner { max-width: 1280px; margin: 0 auto; padding: 56px 40px 28px; display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.eo-foot__brand img { height: 40px; width: auto; display: block; margin-bottom: 14px; }
.eo-foot__brand p { margin: 0; line-height: 1.55; max-width: 260px; }
.eo-foot h2 { margin: 0 0 12px !important; font-family: var(--es-sans) !important; font-style: normal !important; font-weight: 500 !important;
  font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--es-on-navy-2) !important; line-height: 1.4 !important; }
.eo-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.eo-foot a { color: var(--es-on-navy); text-decoration: none; }
.eo-foot a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.eo-foot__legal { max-width: 1280px; margin: 0 auto; padding: 20px 40px 32px; border-top: 1px solid rgba(246,241,236,0.14);
  display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; color: var(--es-on-navy-2); box-sizing: border-box; }
.eo-foot__legal a { color: var(--es-on-navy-2); text-decoration: underline; text-decoration-color: rgba(201,179,156,0.4); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .eo-foot__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 44px 20px 24px; gap: 28px 20px; }
  .eo-foot__brand { grid-column: 1 / -1; }
  .eo-foot__legal { padding: 18px 20px 28px; }
}

/* Header spacing once the search box is in the bar */
.site-nav__inner > .site-nav__logo { flex-shrink: 0; margin-right: 40px; }
@media (max-width: 900px) { .site-nav__inner > .site-nav__logo { margin-right: 0; } }

/* Wide content inside the reading column: tables scroll inside their own box,
   long code (URLs, hashes) wraps, so the page never scrolls sideways. */
.eo-shell .es-prose .es-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5em; }
.eo-shell .es-prose .es-table-scroll > table { margin-bottom: 0 !important; }
.eo-shell .es-prose code { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.eo-shell .es-prose pre { max-width: 100%; overflow-x: auto; }
.eo-shell .es-prose img, .eo-shell .es-prose svg, .eo-shell .es-prose iframe { max-width: 100%; height: auto; }
.eo-shell .es-prose p, .eo-shell .es-prose li, .eo-shell .es-prose dd, .eo-shell .es-prose a { overflow-wrap: anywhere; }
/* Table cells must keep whole words, or columns collapse to one letter wide */
.eo-shell .es-prose table, .eo-shell .es-prose table * { overflow-wrap: normal !important; word-break: normal !important; }
.eo-shell .es-prose table code { overflow-wrap: anywhere !important; }
.eo-shell .es-prose .gloss { white-space: normal; }
/* Hidden menus and off-screen helpers made phones scroll sideways on long pages.
   clip (not hidden) keeps the sticky header and "On this page" working. */
html, body { overflow-x: clip; }

/* ─── Content boxes in the new palette ─────────────────────── */
/* Summary boxes (eo-tldr): were pale blue with a blue bar */
.eo-shell .es-prose .eo-tldr {
  background: var(--es-cream); border: 1px solid var(--es-rule); border-left: 1px solid var(--es-rule);
  border-radius: 4px; padding: 22px 26px; margin: 0 0 36px;
}
.eo-shell .es-prose .eo-tldr p strong:first-child { color: var(--es-accent); }
.eo-shell .es-prose .eo-tldr > :last-child { margin-bottom: 0; }
.eo-shell .es-prose .eo-tldr h2:first-child { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }

/* Inline editorial notes: "[Netherlands-specific; …]" (span.eo-flag) were drawn as
   block banners and broke across lines; now a quiet inline aside */
.eo-shell .es-prose span.eo-flag {
  display: inline; margin: 0; padding: 0.1em 0.3em; border: 0; border-radius: 2px;
  background: rgba(122, 95, 72, 0.08); color: var(--es-ink-2);
  font-family: var(--es-sans); font-size: 0.74em; line-height: 1.7; letter-spacing: 0.005em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Block banners (div.eo-flag: draft and status notices) */
.eo-shell .es-prose div.eo-flag { background: var(--es-pill); border: 0; border-radius: 4px; padding: 16px 20px; }

/* Evidence Notes' summary panel: was pale teal with Arial */
.eo-shell .es-prose .eo-evidence-summary {
  background: var(--es-cream); border: 1px solid var(--es-rule); border-radius: 4px; padding: 20px 24px;
  font-family: var(--es-sans); font-size: 14.5px;
}
.eo-shell .es-prose .eo-evidence-summary .es-title { color: var(--es-accent); font-weight: 600; letter-spacing: 0.14em; font-size: 11px; }
.eo-shell .es-prose .eo-evidence-summary dt { color: var(--es-muted); }

/* ─── Sub-headings: regular serif, not small capitals ──────── */
.eo-shell .post-body.es-prose h3 {
  font-family: var(--es-serif) !important; font-style: normal !important; font-weight: 500 !important;
  text-transform: none !important; letter-spacing: 0 !important;           /* style.css: small brown capitals */
  font-size: 23px !important; line-height: 1.3 !important; color: var(--es-ink) !important;
  margin-top: 40px !important; margin-bottom: 12px !important;
}
.eo-shell .post-body.es-prose h4 {
  font-family: var(--es-sans) !important; font-style: normal !important; font-weight: 600 !important;
  text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; color: var(--es-ink) !important;
}
@media (max-width: 1023px) { .eo-shell .post-body.es-prose h3 { font-size: 21px !important; } }

/* ─── Single articles ──────────────────────────────────────── */
.es-hero { padding-top: 8px; }
.es-hero__img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 4px; }
.eo-shell--article .es-head .es-wrap { border-bottom: 1px solid var(--es-rule); }
.es-ig { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--es-rule); font-family: var(--es-sans); font-size: 13px; color: var(--es-muted); }
.es-more { background: var(--es-cream); border-top: 1px solid var(--es-rule); padding: 48px 0 64px; }
.es-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: 760px; margin-bottom: 8px; }
.es-more__head h2 { margin: 0 !important; font-family: var(--es-sans) !important; font-style: normal !important; font-weight: 600 !important;
  font-size: 12px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--es-accent) !important; }
.es-more__head a { font-family: var(--es-sans); font-size: 14px; color: var(--es-ink); }
.es-more .es-list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.es-more .es-list li { border-bottom: 1px solid var(--es-rule); padding: 20px 0; }
.es-more .es-kind { margin: 0 0 6px; font-family: var(--es-sans); font-size: 12.5px; color: var(--es-muted); }
.es-more h3 { margin: 0 0 6px !important; font-family: var(--es-serif) !important; font-style: normal !important; font-weight: 400 !important;
  font-size: 23px !important; line-height: 1.25 !important; text-transform: none !important; letter-spacing: 0 !important; }
.es-more h3 a { color: var(--es-ink); text-decoration: none; }
.es-more h3 a:hover { color: var(--es-accent); }
.es-more .es-list p { margin: 0; font-family: var(--es-serif); font-size: 17px; line-height: 1.55; color: var(--es-ink-2); }
.eo-foot__brand img { height: 40px !important; width: auto !important; max-width: none !important; }
.es-more .es-kind { font-family: var(--es-sans) !important; font-size: 12.5px !important; color: var(--es-muted) !important; }

/* ─── Updates feed (ul.feed) ───────────────────────────────── */
.es-feedbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 28px; padding: 16px 0; border-top: 1px solid var(--es-rule); border-bottom: 1px solid var(--es-rule); font-family: var(--es-sans); }
.es-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.es-chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--es-rule); border-radius: 999px; background: transparent; color: var(--es-ink); font: 500 13.5px var(--es-sans); cursor: pointer; }
.es-chip span { color: var(--es-muted); font-weight: 400; margin-left: 4px; }
.es-chip[aria-pressed="true"] { background: var(--es-navy); border-color: var(--es-navy); color: #F6F1EC; }
.es-chip[aria-pressed="true"] span { color: var(--es-on-navy-2); }
.es-feedsearch { flex: 1 1 200px; max-width: 320px; }
.es-feedsearch input { width: 100%; min-height: 38px; padding: 0 12px; border: 1px solid var(--es-rule); border-radius: 3px; background: #FFFFFF; font: 14px var(--es-sans); box-sizing: border-box; }
.es-feedcount { flex-basis: 100%; margin: 0 !important; font-size: 13px !important; color: var(--es-muted); }
.eo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eo-shell .es-prose ul.feed { list-style: none !important; margin: 0 0 32px !important; padding: 0 !important; }
.eo-shell .es-prose ul.feed > li { margin: 0 !important; padding: 18px 0 !important; border-bottom: 1px solid var(--es-rule); list-style: none !important; }
.eo-shell .es-prose ul.feed > li::before { display: none !important; content: none !important; }
.eo-shell .es-prose ul.feed > li br { display: none; }
.eo-shell .es-prose ul.feed .kicker { display: block; margin: 0 0 6px; font-family: var(--es-sans) !important; font-size: 12.5px !important; letter-spacing: 0.02em !important; text-transform: none !important; color: var(--es-muted) !important; font-weight: 400 !important; }
.eo-shell .es-prose ul.feed > li > a { display: block; margin: 0 0 6px; text-decoration: none !important; color: var(--es-ink) !important; border: 0 !important; }
.eo-shell .es-prose ul.feed > li > a strong { font-family: var(--es-serif) !important; font-weight: 400 !important; font-size: 21px !important; line-height: 1.3 !important; text-decoration: none !important; }
.eo-shell .es-prose ul.feed > li > a:hover strong { color: var(--es-accent); }
.eo-shell .es-prose ul.feed .gloss { display: block; font-size: 17px; line-height: 1.55; color: var(--es-ink-2); }
.es-type { font-weight: 600; color: var(--es-ink); }
.es-type--new { color: #2F5D3A; }
.es-type--correction { color: #8A2E1D; }
.es-type--deposit { color: var(--es-accent); }
.es-fold { display: block; min-height: 44px; margin: 0 0 32px; padding: 0 18px; border: 1px solid var(--es-ink); border-radius: 3px; background: transparent; font: 500 14px var(--es-sans); cursor: pointer; }
.es-fold:hover { background: var(--es-cream); }
.eo-shell .es-prose h3.group { font-size: 19px !important; margin-top: 28px !important; color: var(--es-muted) !important; }

/* ─── 404 ─────────────────────────────────────────────────── */
.eo-shell--404 .es-head .es-wrap { border-bottom: 1px solid var(--es-rule); }
.es-404 { padding-top: 32px; padding-bottom: 96px; }
.es-404__search { display: flex; gap: 8px; max-width: 520px; margin: 0 0 32px; }
.es-404__search input { flex: 1; min-height: 44px; padding: 0 14px; border: 1px solid var(--es-rule); border-radius: 3px; background: #FFFFFF; font: 16px var(--es-sans); }
.es-404__search button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 3px; background: var(--es-navy); color: #F6F1EC; font: 500 14px var(--es-sans); cursor: pointer; }
.es-404__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--es-sans); font-size: 15px; }
.es-404__links a { color: var(--es-ink); text-decoration: underline; text-decoration-color: var(--es-rule); text-underline-offset: 4px; }
.es-404__links a:hover { color: var(--es-accent); }

/* ─── Older content boxes written with inline styles (GA-001, About, ER-002) ───
   !important is needed only because the page content carries inline styles. */
.eo-shell .es-prose div.eo-notice {
  margin: 28px 0 !important; padding: 20px 24px !important; border: 1px solid var(--es-rule) !important;
  border-left: 3px solid var(--es-accent) !important; border-radius: 0 !important; background: var(--es-cream) !important;
  color: var(--es-ink) !important; font-size: 17px; line-height: 1.6;
}
.eo-shell .es-prose div.eo-notice.eo-resource-updates { border-left-color: var(--es-navy) !important; background: #FFFFFF !important; }
.eo-shell .es-prose div.eo-notice > :first-child { margin-top: 0 !important; }
.eo-shell .es-prose div.eo-notice > :last-child { margin-bottom: 0 !important; }
.eo-shell .es-prose div.eo-notice h2, .eo-shell .es-prose div.eo-notice h3, .eo-shell .es-prose div.eo-notice h4 {
  margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; font-family: var(--es-sans) !important;
  font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; color: var(--es-accent) !important;
}
.eo-shell .es-prose div.eo-notice h2::after { display: none !important; }
.eo-shell .es-prose a.eo-resource-download {
  display: inline-flex !important; align-items: center; min-height: 40px; padding: 0 16px !important; margin: 4px 8px 4px 0 !important;
  border: 1px solid var(--es-ink) !important; border-radius: 3px !important; background: transparent !important;
  color: var(--es-ink) !important; font: 500 14px var(--es-sans) !important; text-decoration: none !important;
}
.eo-shell .es-prose a.eo-resource-download:hover { background: var(--es-navy) !important; border-color: var(--es-navy) !important; color: #F6F1EC !important; }
.eo-shell .es-prose input[style] {
  min-height: 44px; padding: 0 12px !important; border: 1px solid var(--es-rule) !important; border-radius: 3px !important;
  background: #FFFFFF !important; font: 16px var(--es-sans) !important; box-sizing: border-box;
}
.eo-shell .es-prose button[style] {
  min-height: 44px; padding: 0 20px !important; border: 0 !important; border-radius: 3px !important;
  background: var(--es-navy) !important; color: #F6F1EC !important; font: 500 14px var(--es-sans) !important; cursor: pointer;
}
.eo-shell .es-prose blockquote[style] {
  margin: 32px 0 !important; padding: 4px 0 4px 24px !important; border-left: 3px solid var(--es-accent) !important;
  font-family: var(--es-serif) !important; font-size: 22px !important; line-height: 1.45 !important; color: var(--es-ink) !important;
}
.eo-shell .es-prose p.eo-disclaimer[style] {
  margin-top: 40px !important; padding-top: 16px !important; border-top: 1px solid var(--es-rule) !important;
  font-family: var(--es-sans) !important; font-size: 14px !important; color: var(--es-muted) !important;
}
.eo-shell .es-prose div.eo-references[style] { border-top: 1px solid var(--es-rule) !important; padding-top: 24px !important; }
/* The primary download link carries an inline white text colour, so it is drawn filled */
.eo-shell .es-prose a.eo-resource-download[style*="background"] { background: var(--es-navy) !important; border-color: var(--es-navy) !important; }
.eo-shell .es-prose a.eo-resource-download[style*="background"]:hover { background: var(--es-accent) !important; border-color: var(--es-accent) !important; }

/* ─── Research catalogue [eo_catalogue] ─────────────────────── */
.eo-shell .es-prose h3.es-cat__topic { margin: 36px 0 0 !important; padding: 0 0 10px !important; font-family: var(--es-sans) !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; color: var(--es-accent) !important; border-bottom: 1px solid var(--es-rule); }
.eo-shell .es-prose ul.es-cat__list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.eo-shell .es-prose li.es-cat__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 20px; margin: 0 !important; padding: 20px 0 !important; border-bottom: 1px solid var(--es-rule); list-style: none !important; }
.eo-shell .es-prose li.es-cat__row::before { content: none !important; display: none !important; }
.es-cat__id { padding-top: 5px; font-family: var(--es-sans); }
.es-cat__code { display: block; font-size: 13px; font-weight: 600; color: var(--es-accent); }
.es-cat__kind { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.3; color: var(--es-muted); }
.eo-shell .es-prose a.es-cat__title { font-family: var(--es-serif); font-size: 23px; line-height: 1.25; color: var(--es-ink) !important; text-decoration: none !important; border: 0 !important; }
.eo-shell .es-prose a.es-cat__title:hover { color: var(--es-accent) !important; }
.es-cat__badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--es-pill); color: var(--es-pill-ink); font: 500 11.5px var(--es-sans); vertical-align: 3px; }
.eo-shell .es-prose p.es-cat__sum { margin: 6px 0 8px !important; font-size: 17px !important; line-height: 1.5 !important; color: var(--es-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eo-shell .es-prose p.es-cat__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 !important; font-family: var(--es-sans) !important; font-size: 13px !important; line-height: 1.5 !important; color: var(--es-muted); }
.eo-shell .es-prose p.es-cat__meta a { color: var(--es-ink); }
.es-cat__doi { font-size: 12.5px; }
@media (max-width: 600px) {
  .eo-shell .es-prose li.es-cat__row { grid-template-columns: 1fr; gap: 2px; }
  .es-cat__id { display: flex; gap: 8px; align-items: baseline; padding-top: 0; }
  .es-cat__kind { margin-top: 0; }
}

/* Findings collapsed by shell.js; projects shown as stage dots */
.eo-shell .es-prose .eo-card[hidden] { display: none !important; }
.es-stage { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 4px 0 10px; font-family: var(--es-sans); font-size: 13px; color: var(--es-muted); }
.es-stage__dots { display: inline-flex; gap: 5px; align-items: center; }
.es-stage__dots i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid #B9A895; box-sizing: border-box; }
.es-stage__dots i.is-done { background: var(--es-accent); border-color: var(--es-accent); }
.es-stage__dots i.is-now { width: 12px; height: 12px; border: 3px solid var(--es-accent); background: var(--es-paper); }
.es-stage__now strong { color: var(--es-ink); font-weight: 600; }
.eo-shell .es-prose .eo-proj.es-proj > p:not(.kicker):not(:last-child) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eo-shell .es-prose .eo-proj ol.eo-track[hidden] { display: none !important; }
.es-feedcount { font-family: var(--es-sans) !important; }
.eo-shell .es-prose .eo-proj p.kicker { margin: 2px 0 6px !important; font-family: var(--es-sans) !important; font-size: 12.5px !important; font-weight: 400 !important; letter-spacing: 0.02em !important; text-transform: none !important; line-height: 1.5 !important; color: var(--es-muted) !important; }
.eo-shell .es-prose .eo-proj h3 { margin-bottom: 2px !important; }

/* Plan rows (eo-plan / eo-row) on /research/ and /research-kr/ */
.eo-shell .es-prose p.eo-plan__legend { margin: 8px 0 0 !important; font-family: var(--es-sans) !important; font-size: 13px !important; line-height: 1.5 !important; color: var(--es-muted) !important; }
.eo-shell .es-prose p.eo-plan__group { margin: 28px 0 0 !important; padding-bottom: 8px !important; font-family: var(--es-sans) !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; line-height: 1.4 !important; color: var(--es-accent) !important; }
.eo-shell .es-prose .eo-row__title { font-family: var(--es-serif) !important; font-weight: 400 !important; font-size: 20px !important; line-height: 1.3 !important; }
.eo-shell .es-prose .eo-row__title a { color: var(--es-ink) !important; }
.eo-shell .es-prose .eo-row__syn { font-family: var(--es-serif); font-size: 16.5px !important; line-height: 1.5 !important; color: var(--es-ink-2) !important; }
.eo-shell .es-prose .eo-row__id { padding-top: 4px; }
.eo-shell .es-prose details.eo-plan__more > summary { color: var(--es-accent) !important; }

/* ─── Research records (/research/<code>/) ──────────────────── */
.es-rec { max-width: 820px; padding-top: 28px; padding-bottom: 96px; font-family: var(--es-serif); color: var(--es-ink); }
.es-rec h2 { margin: 48px 0 14px !important; font-family: var(--es-serif) !important; font-weight: 400 !important; font-size: 30px !important; font-style: normal !important; color: var(--es-ink) !important; }
.es-rec h2::after { display: none !important; }
.es-rec a { color: var(--es-ink); text-decoration: underline; text-decoration-color: var(--es-on-navy-2); text-underline-offset: 3px; }
.es-rec a:hover { color: var(--es-accent); }
.es-rec__note { margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: var(--es-ink-2); }
.es-rec__glance dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--es-rule); border-left: 1px solid var(--es-rule); background: #FFFFFF; }
.es-rec__glance dl > div { padding: 14px 16px; border-right: 1px solid var(--es-rule); border-bottom: 1px solid var(--es-rule); }
.es-rec__glance dt { margin: 0 0 4px; font: 600 11px var(--es-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-accent); }
.es-rec__glance dd { margin: 0; font: 15px/1.45 var(--es-sans); color: var(--es-ink); overflow-wrap: anywhere; }
.es-rec__outs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.es-rec__outs li { margin: 0; }
.es-rec__outs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--es-ink); border-radius: 3px; font: 500 14px var(--es-sans); text-decoration: none; }
.es-rec__outs a:hover { background: var(--es-navy); border-color: var(--es-navy); color: #F6F1EC; }
.es-rec__stages { list-style: none; margin: 0; padding: 0; }
.es-rec__stages li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; margin: 0; padding: 0 0 18px; }
.es-rec__stages li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--es-rule); }
.es-rec__stages li.is-done:not(:last-child)::before { background: var(--es-accent); }
.es-rec__dot { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 2px solid #B9A895; background: var(--es-paper); box-sizing: border-box; position: relative; z-index: 1; }
.is-done .es-rec__dot { background: var(--es-accent); border-color: var(--es-accent); }
.is-now .es-rec__dot { border: 4px solid var(--es-accent); }
.es-rec__stage { margin: 0; font-size: 19px; line-height: 1.4; }
.es-rec__stage strong { font-weight: 500; }
.es-rec__stage span { font: 13px var(--es-sans); color: var(--es-muted); margin-left: 6px; }
.es-rec__stage em { margin-left: 8px; font: normal 600 11px var(--es-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-accent); }
.es-rec__stagenote { margin: 2px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--es-ink-2); }
.es-rec__table { width: 100%; border-collapse: collapse; font-family: var(--es-sans); font-size: 15px; }
.es-rec__table th, .es-rec__table td { padding: 12px 0; border-bottom: 1px solid var(--es-rule); vertical-align: top; text-align: left; }
.es-rec__table th { width: 38%; padding-right: 20px; font-weight: 600; color: var(--es-ink); }
.es-rec__table td span { color: var(--es-muted); font-size: 13.5px; }
.es-rec__team { list-style: none; margin: 0; padding: 0; font-family: var(--es-sans); font-size: 15px; }
.es-rec__team li { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 20px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--es-rule); }
.es-rec__role { font-weight: 600; }
.es-rec__who { color: var(--es-ink-2); }
.es-rec__small { margin: 12px 0 0; font: 14px/1.6 var(--es-sans); color: var(--es-muted); }
.es-rec__cite { margin: 0; padding: 16px 18px; background: #FFFFFF; border: 1px solid var(--es-rule); font: 14.5px/1.6 var(--es-sans); }
@media (max-width: 600px) {
  .es-rec__table th { width: 42%; }
  .es-rec__team li { grid-template-columns: 1fr; gap: 2px; }
}
.es-rec__more { margin-top: 8px; }
.es-rec .es-rec__more h3 { margin: 30px 0 8px !important; padding: 0 !important; font-family: var(--es-serif) !important; font-weight: 500 !important; font-size: 22px !important; line-height: 1.3 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--es-ink) !important; border: 0 !important; }
.es-rec .es-rec__more p, .es-rec .es-rec__more li { font-size: 17px !important; line-height: 1.6 !important; color: var(--es-ink-2); }
.es-rec .es-rec__more ol, .es-rec .es-rec__more ul { margin: 0 0 8px !important; padding-left: 1.3em !important; }
.es-rec .es-rec__more li { margin: 0 0 6px !important; }
.eo-row__id a { color: inherit !important; text-decoration: underline; text-decoration-color: var(--es-rule); text-underline-offset: 3px; }
.eo-row__id a:hover { text-decoration-color: currentColor; }

/* Records A–Z index (/research/records/) */
.es-idx { font-family: var(--es-sans); }
.es-idx__count { margin: 0 0 16px; font-size: 15px; color: var(--es-muted); }
.es-idx__jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.es-idx__jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--es-rule); border-radius: 999px; font: 600 13px var(--es-sans); color: var(--es-ink); text-decoration: none; background: #FFFFFF; }
.es-idx__jump a span { font-weight: 400; color: var(--es-muted); }
.es-idx__jump a:hover { border-color: var(--es-accent); color: var(--es-accent); }
.es-idx h2 { scroll-margin-top: 90px; }
.es-idx__series { font: 600 13px var(--es-sans); letter-spacing: 0.08em; color: var(--es-accent); vertical-align: 4px; margin-left: 6px; }
.es-idx__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--es-rule); }
.es-idx__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--es-rule); }
.es-idx__code { font: 600 14px var(--es-sans); color: var(--es-accent) !important; text-decoration: none !important; }
.es-idx__title { font: 17px/1.4 var(--es-serif); color: var(--es-ink) !important; text-decoration: none !important; }
.es-idx__title:hover { text-decoration: underline !important; }
.es-idx__status { padding: 1px 9px; border-radius: 999px; background: var(--es-pill); color: var(--es-pill-ink); font-size: 12px; white-space: nowrap; }
.es-idx__status--published { background: var(--es-navy); color: #F6F1EC; }
@media (max-width: 600px) {
  .es-idx__row { grid-template-columns: 72px minmax(0, 1fr); }
  .es-idx__status { grid-column: 2; justify-self: start; }
}

/* Records index inside the prose column: undo list dashes, link underlines and serif pills */
.eo-shell .es-prose ul.es-idx__list { list-style: none !important; margin: 0 0 8px !important; padding: 0 !important; }
.eo-shell .es-prose li.es-idx__row { margin: 0 !important; padding: 14px 0 !important; list-style: none !important; }
.eo-shell .es-prose li.es-idx__row::before { content: none !important; display: none !important; }
.eo-shell .es-prose a.es-idx__code, .eo-shell .es-prose a.es-idx__title { text-decoration: none !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.eo-shell .es-prose a.es-idx__code { font-family: var(--es-sans) !important; font-size: 14px !important; font-weight: 600 !important; color: var(--es-accent) !important; }
.eo-shell .es-prose a.es-idx__title { font-family: var(--es-serif) !important; font-size: 19px !important; line-height: 1.35 !important; color: var(--es-ink) !important; }
.eo-shell .es-prose a.es-idx__title:hover { color: var(--es-accent) !important; }
.eo-shell .es-prose .es-idx__status { font-family: var(--es-sans) !important; font-size: 12px !important; line-height: 1.6 !important; }
.eo-shell .es-prose .es-idx__jump a { text-decoration: none !important; border: 1px solid var(--es-rule) !important; }
.eo-shell .es-prose .es-idx__n { font-family: var(--es-sans); font-size: 14px; font-weight: 400; color: var(--es-muted); margin-left: 8px; vertical-align: 6px; }

/* "Cite this": the citation opens as a panel over the page, so the record box keeps its size */
details.es-citebox { position: relative; }
details.es-citebox > .es-citebox__panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: min(440px, calc(100vw - 32px)); margin: 0; box-shadow: 0 8px 28px rgba(16, 28, 40, 0.16); text-align: left; }
details.es-citebox .es-citebox__text { font-size: 15.5px; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .es-cite__actions { align-items: flex-start; }
  details.es-citebox[open] { flex-basis: 100%; }
  details.es-citebox > .es-citebox__panel { position: static; width: auto; margin-top: 10px; box-shadow: none; }
}

/* Record pages: reading column plus a side column of facts and actions (Nov 2026). */
.es-rec { max-width: 1280px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 64px; align-items: start; }
.es-rec__main { grid-column: 1; grid-row: 1; min-width: 0; max-width: 780px; }
.es-rec__main > h2:first-of-type { margin-top: 40px !important; }
.es-rec__side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--es-navh) + 24px); }
.es-rec__card { background: #FFFFFF; border: 1px solid var(--es-rule); border-radius: 4px; padding: 6px 22px 22px; font-family: var(--es-sans); }
.es-rec__facts { margin: 0; }
.es-rec__facts > div { padding: 14px 0; border-bottom: 1px solid var(--es-rule); }
.es-rec__facts dt { margin: 0 0 4px; font: 600 11px var(--es-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-accent); }
.es-rec__facts dd { margin: 0; font: 15px/1.45 var(--es-sans); color: var(--es-ink); overflow-wrap: break-word; }
.es-rec__facts .es-rec__small, .es-rec__facts small { font-size: 12px; color: var(--es-muted); }
.es-rec__acts { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.es-rec__acts-label { margin: 0 0 2px; font: 600 11px var(--es-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-accent); }
.es-rec .es-rec__acts a.es-btn { text-decoration: none; color: var(--es-ink); }
.es-rec .es-rec__acts a.es-btn--primary { color: #F6F1EC; }
.es-rec .es-rec__acts .eo-follow { margin-top: 4px; }
@media (max-width: 960px) {
  .es-rec { display: block; }
  .es-rec__side { position: static; margin: 0 0 8px; }
  .es-rec__main { max-width: none; }
}
.es-rec__card { padding: 22px; }
.es-rec__acts { padding-top: 0; padding-bottom: 8px; }
.es-rec__facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.es-rec__acts + .es-rec__facts { margin-top: 14px; border-top: 1px solid var(--es-rule); }
@media (max-width: 960px) { .es-rec__side { margin-bottom: 28px; } }
