/* Eminence Scan: search page, area pages and record pages.
   Built from the theme's tokens (theme.css): navy structure, teal data, one orange accent;
   Newsreader, IBM Plex Sans and Mono. Same grammar as the CoE directory. Class prefix: egs-. */

.egs [hidden] { display: none !important; }
.egs-mini { display: inline-block; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-right: 8px; }
.egs-note { font-size: 14px; line-height: 1.5; color: var(--ink-700); }

/* ---------- Head ---------- */
.egs-head { background: #FCFBFC; border-bottom: 1px solid var(--rule-200); }
.egs-head > .eg-wrap { padding-block: 28px 40px; display: grid; gap: 14px; }
.egs-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font: 400 13px/1.4 var(--mono); color: var(--ink-500); margin-bottom: 10px; }
.egs-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-300); }
.egs-crumbs a { color: var(--ink-700); text-decoration: none; }
.egs-crumbs a:hover { color: var(--teal-text); text-decoration: underline; }
.egs-head h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1; letter-spacing: -.024em; color: var(--navy-700); max-width: 22ch; }
.egs-rec .egs-head h1 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; max-width: 30ch; }
.egs-standfirst { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-700); max-width: 52rem; }
.egs-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; font: 400 13px/1.5 var(--mono); color: var(--ink-500); }
.egs-draft-note, .egs-none-note { padding: 10px 14px; font-size: 15px; line-height: 1.45; max-width: 60rem; }
.egs-draft-note { background: var(--orange-100); color: #7A3307; border-left: 3px solid var(--orange-500); }
.egs-draft-note strong { color: #7A3307; }
.egs-none-note { background: var(--paper-100); color: var(--ink-900); border-left: 3px solid #C9A27E; margin: 10px 0; }

/* ---------- Chips ---------- */
.egs-chip { display: inline-flex; align-items: center; white-space: nowrap; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; color: var(--ink-700); background: var(--paper-100); }
.egs-chip-verified { color: var(--teal-700); background: var(--teal-100); }
.egs-chip-corrected { color: var(--teal-700); background: var(--teal-100); box-shadow: inset 0 0 0 1px rgba(14,107,112,.35); }
.egs-chip-fin { color: var(--navy-700); background: var(--navy-100); }
.egs-chip-fin-i { color: var(--navy-700); background: #fff; box-shadow: inset 0 0 0 1px var(--navy-100); }

/* ---------- Body, areas, method ---------- */
.egs-body { padding-block: 44px var(--section, 96px); display: grid; gap: 40px; }
.egs-section-h { font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); padding-bottom: 10px; border-bottom: 2px solid var(--navy-700); margin-bottom: 18px; }
.egs-area-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-left: 1px solid var(--rule-200); }
.egs-area-card a { display: grid; gap: 6px; height: 100%; padding: 18px 20px 22px; border-right: 1px solid var(--rule-200); border-bottom: 1px solid var(--rule-200); text-decoration: none; color: var(--ink-900); }
.egs-area-card a:hover { background: #FCFBFC; }
.egs-area-card a:hover .egs-area-label { color: var(--teal-text); text-decoration: underline; }
.egs-area-n { font: 500 30px/1 var(--mono); color: var(--navy-700); font-variant-numeric: tabular-nums; }
.egs-area-label { font: 600 19px/1.25 var(--serif, Newsreader, serif); color: var(--navy-700); }
.egs-area-intro { font-size: 14.5px; line-height: 1.45; color: var(--ink-700); }
.egs-area-feature a { background: linear-gradient(0deg, rgba(232,111,32,.06), rgba(232,111,32,.06)); }
.egs-area-feature .egs-area-n { color: var(--orange-700); }
.egs-method p { max-width: 52rem; font-size: 16px; line-height: 1.55; }
.egs-latest { margin-top: 12px; padding: 12px 16px; border-left: 3px solid var(--teal-700); background: #F7FAFA; }

/* ---------- Failures patterns ---------- */
.egs-pat-grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.egs-stat-n { font: 500 clamp(44px, 5vw, 64px)/1 var(--mono); color: var(--orange-700); font-variant-numeric: tabular-nums; }
.egs-stat-t { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--ink-900); }
.egs-bars h3 { font-size: 20px; color: var(--navy-700); }
.egs-bars .egs-note { margin: 4px 0 12px; }
.egs-bars ol { list-style: none; display: grid; gap: 2px; }
.egs-bars a { display: grid; grid-template-columns: minmax(0, 16rem) minmax(60px, 1fr) 4.5rem; gap: 12px; align-items: center; padding: 6px 4px; text-decoration: none; color: var(--ink-900); font-size: 14.5px; line-height: 1.3; }
.egs-bars a:hover { background: #FCFBFC; }
.egs-bars a:hover .egs-bar-label { color: var(--teal-text); text-decoration: underline; }
.egs-bar { height: 10px; background: var(--rule-100); position: relative; }
.egs-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--navy-700); }
.egs-bar-n { font: 400 12.5px/1 var(--mono); color: var(--ink-500); text-align: right; font-variant-numeric: tabular-nums; }
.egs-types { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.egs-type { font-size: 13.5px; padding: 4px 10px; border: 1px solid var(--rule-200); color: var(--navy-700); text-decoration: none; }
.egs-type span { font: 500 12px/1 var(--mono); color: var(--ink-500); margin-left: 4px; }
.egs-type:hover { border-color: var(--navy-700); }

/* ---------- Filters and list ---------- */
.egs-filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 16px 0; border-top: 2px solid var(--navy-700); border-bottom: 1px solid var(--rule-200); }
.egs-field { display: grid; gap: 5px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.egs-field input, .egs-field select { font: 400 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-900); padding: 8px 10px; border: 1px solid var(--rule-300); background: #fff; min-height: 40px; }
.egs-field-q { flex: 1 1 260px; }
.egs-field-q input { width: 100%; }
.egs-btn { font: 500 14px/1 var(--sans); padding: 12px 16px; background: var(--navy-700); color: #fff; border: 0; cursor: pointer; min-height: 40px; }
.egs-btn:hover { background: var(--teal-700); }
.egs-js .egs-btn { display: none; }
.egs-count { font: 400 13px/1.4 var(--mono); color: var(--ink-500); margin-top: -24px; }
.egs-list { list-style: none; display: grid; margin-top: -24px; }
.egs-row { padding: 16px 0 18px; border-bottom: 1px solid var(--rule-100); display: grid; gap: 6px; }
.egs-row-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font: 400 12.5px/1.45 var(--mono); color: var(--ink-500); }
.egs-row-area { color: var(--teal-text); font-weight: 500; }
.egs-row-title { font-size: 20px; line-height: 1.3; letter-spacing: -.005em; }
.egs-row-title a { color: var(--navy-700); text-decoration: none; }
.egs-row-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.egs-row-line { font-size: 15px; line-height: 1.5; color: var(--ink-700); max-width: 60rem; }
.egs-row-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.egs-empty { font-size: 16px; color: var(--ink-700); }

/* ---------- Record ---------- */
.egs-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font: 400 13.5px/1.5 var(--mono); color: var(--ink-700); }
.egs-verify a { color: var(--teal-text); }
.egs-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; margin-top: 10px; border-top: 2px solid var(--navy-700); }
.egs-fact { padding: 12px 0; border-bottom: 1px solid var(--rule-100); min-width: 0; }
.egs-fact dt { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.egs-fact dd { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.egs-rec-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: 44px var(--section, 96px); }
.egs-toc { align-self: start; position: sticky; top: 24px; }
.egs-toc .eg-label { margin-bottom: 10px; }
.egs-toc ol { list-style: none; border-left: 1px solid var(--rule-200); }
.egs-toc ol a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--ink-700); text-decoration: none; }
.egs-toc ol a:hover { color: var(--navy-700); border-left-color: var(--navy-700); }
.egs-toc-back { margin-top: 18px; font: 500 13px/1.4 var(--mono); }
.egs-toc-back a { color: var(--teal-text); }
.egs-rec-main { min-width: 0; display: grid; gap: 52px; max-width: 50rem; }
.egs-sec h2 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.01em; color: var(--navy-700); padding-top: 14px; border-top: 1px solid var(--rule-200); margin-bottom: 14px; }
.egs-sec h3 { font-size: 19px; line-height: 1.3; color: var(--navy-700); margin: 22px 0 8px; }
.egs-summary { font-size: 18px; line-height: 1.6; }
.egs-bullets { padding-left: 1.2em; display: grid; gap: 6px; font-size: 16px; line-height: 1.55; }
.egs-caught { margin-top: 18px; font-size: 16px; }
.egs-outside { display: inline-block; margin-left: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); background: var(--orange-100); padding: 4px 7px; vertical-align: 1px; }

.egs-lesson { background: #F7FAFA; border-top: 3px solid var(--teal-700); padding: 4px clamp(18px, 3vw, 32px) 28px; }
.egs-lesson h2 { border-top: 0; padding-top: 4px; }
.egs-lesson > .eg-label { margin-top: 18px; }
.egs-gaps { display: grid; gap: 14px; }
.egs-gap { padding: 14px 16px; background: #fff; border-left: 3px solid var(--orange-500); }
.egs-gap-name { font: 600 18px/1.3 var(--serif, Newsreader, serif); }
.egs-gap-name a { color: var(--navy-700); text-decoration: none; }
.egs-gap-name a:hover { text-decoration: underline; }
.egs-gap-def { font-size: 13.5px; line-height: 1.45; color: var(--ink-500); margin-top: 2px; }
.egs-gap-why { font-size: 16px; line-height: 1.55; margin-top: 8px; }
.egs-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 32px; }
.egs-related { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 15px; }
.egs-related a { color: var(--teal-text); }

.egs-timeline { list-style: none; border-left: 2px solid var(--rule-200); margin-left: 6px; display: grid; gap: 10px; }
.egs-timeline li { position: relative; padding-left: 18px; display: grid; grid-template-columns: minmax(130px, 12rem) minmax(0, 1fr); gap: 4px 16px; font-size: 15.5px; line-height: 1.45; }
.egs-timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--navy-700); border: 2px solid #fff; border-radius: 50%; }
.egs-timeline .egs-ev-check::before { background: var(--teal-700); }
.egs-ev-when { font: 500 13px/1.6 var(--mono); color: var(--ink-700); }
.egs-timeline + .egs-note { margin-top: 14px; }

.egs-sources { list-style: none; display: grid; gap: 22px; margin-top: 14px; counter-reset: src; }
.egs-sources li { counter-increment: src; padding-left: 34px; position: relative; }
.egs-sources li::before { content: counter(src); position: absolute; left: 0; top: 2px; font: 500 13px/1 var(--mono); color: var(--ink-500); }
.egs-sources blockquote { margin: 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--navy-100); font: italic 400 17px/1.55 var(--serif, Newsreader, serif); color: var(--ink-900); }
.egs-src-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 2px 14px; font: 400 12.5px/1.5 var(--mono); color: var(--ink-500); }
.egs-src-meta a { color: var(--teal-text); font-weight: 500; overflow-wrap: anywhere; }
.egs-src-sup { font-size: 13.5px; line-height: 1.45; color: var(--ink-700); margin-top: 4px; }
.egs-correct { padding: 16px 18px; border: 1px solid var(--rule-200); font-size: 15px; line-height: 1.5; }
.egs-correct a { color: var(--teal-text); }

@media (max-width: 900px) {
	.egs-rec-body { grid-template-columns: 1fr; }
	.egs-toc { position: static; }
	.egs-pat-grid { grid-template-columns: 1fr; }
	.egs-bars a { grid-template-columns: minmax(0, 1fr) 4.5rem; }
	.egs-bar { grid-column: 1 / -1; grid-row: 2; }
	.egs-timeline li { grid-template-columns: 1fr; }
}

/* Grid children may shrink below their content width (prevents clipping on phones). */
.egs-body > *, .egs-pat-grid > *, .egs-rec-body > *, .egs-two > * { min-width: 0; }
.egs-field { max-width: 100%; }
.egs-field select { max-width: 100%; }
@media (max-width: 600px) {
	.egs-field { flex: 1 1 100%; }
	.egs-field select, .egs-field input { width: 100%; }
}
.egs-sources blockquote + .egs-src-sup { margin-bottom: 12px; }
.egs-sources .egs-src-sup + blockquote { margin-top: 2px; }

/* ---------- Maps ---------- */
.egs-maps { display: grid; gap: 12px; }
.egs-maps-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; border-bottom: 2px solid var(--navy-700); }
.egs-maps-head .egs-section-h { border-bottom: 0; margin-bottom: 0; }
.egs-map-tabs { display: none; gap: 2px; margin-bottom: 8px; }
.egs-js .egs-map-tabs { display: flex; }
.egs-map-tabs button { font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; border: 1px solid var(--rule-300); background: #fff; color: var(--ink-700); cursor: pointer; min-height: 36px; }
.egs-map-tabs button[aria-selected="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.egs-map { margin: 0; }
.egs-map figcaption { margin: 8px 0 4px; }
.egs-js .egs-map figcaption { display: none; }
.egs-js .egs-map[hidden] { display: none; }
.egs-map-svg { display: block; width: 100%; height: auto; max-height: 520px; }
.egs-map-sphere { fill: #F4F7F9; stroke: var(--rule-200); stroke-width: .6; }
.egs-m { stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .12s; }
.egs-m0 { fill: #E6EAEE; }
.egs-m1 { fill: #B9CEDC; }
.egs-m2 { fill: #7FA4BE; }
.egs-m3 { fill: #3F6E92; }
.egs-m4 { fill: var(--navy-700); }
.egs-pt { stroke: #fff; stroke-width: 1.5; }
.egs-maps a:hover .egs-m, .egs-maps a:focus-visible .egs-m { fill: var(--teal-700); }
.egs-maps a:focus-visible { outline: none; }
.egs-maps a:focus-visible .egs-m { stroke: var(--orange-500); stroke-width: 2.5; }
.egs-m.egs-sel { fill: var(--orange-500) !important; }
/* Pigment remains inside the source geometry. Selection has a precise outline. */
.egs-map-svg[data-eg-painted-map] a:hover .egs-m,
.egs-map-svg[data-eg-painted-map] a:focus-visible .egs-m,
.egs-map-svg[data-eg-painted-map] .egs-m.egs-sel { stroke: var(--orange-600); stroke-width: 2.5; }
.egs-map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; }
.egs-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--ink-700); }
.egs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.egs-sw { display: inline-block; width: 14px; height: 14px; }
.egs-sw.egs-m0 { background: #E6EAEE; } .egs-sw.egs-m1 { background: #B9CEDC; } .egs-sw.egs-m2 { background: #7FA4BE; } .egs-sw.egs-m3 { background: #3F6E92; } .egs-sw.egs-m4 { background: var(--navy-700); }
.egs-sw-gap { background: repeating-linear-gradient(45deg, #fff 0 3px, #C9A27E 3px 5px); box-shadow: inset 0 0 0 1px #E2D3C2; }
.egs-map-extra { display: flex; flex-wrap: wrap; gap: 8px; }
.egs-type-sel { border-color: var(--orange-500); background: var(--orange-100); }
.egs-where-note { margin-top: -18px; font-size: 14.5px; color: var(--ink-700); }
.egs-where-note a { color: var(--teal-text); }
.egs-fact dd a { color: var(--teal-text); }

/* What the cases teach (failures page) */
.egs-teach { margin: 34px 0 8px; }
.egs-teach .egs-area-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.egs-teach .egs-area-feature { grid-column: 1 / -1; }
.egs-teach .egs-area-card a { align-content: start; }
.egs-teach .egs-area-feature .egs-area-label { font-size: 23px; }

/* ---------- Landing (the top of /tools/eminence-scan/; same grammar as the EmTrace landing, D-185) ---------- */
.egs-lp-hero { background: #FCFBFC; border-bottom: 1px solid var(--rule-200); }
.egs-lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: 28px 56px; }
.egs-lp-hero-copy { display: grid; gap: 14px; min-width: 0; }
.egs-lp-hero h1 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.03; letter-spacing: -.024em; color: var(--navy-700); text-wrap: balance; }
.egs-lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.egs-lp-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; font: 600 15px/1 var(--sans); background: var(--navy-700); color: #fff; text-decoration: none; }
.egs-lp-btn:hover { background: var(--teal-700); color: #fff; }
.egs-lp-btn-ghost { background: transparent; color: var(--navy-700); box-shadow: inset 0 0 0 1.5px var(--navy-700); }
.egs-lp-btn-ghost:hover { background: var(--navy-700); color: #fff; }
.egs-lp-btn:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; }
.egs-lp-sample { margin: 0; background: #fff; border: 1px solid var(--rule-200); box-shadow: 0 18px 40px -24px rgba(16, 55, 92, .35); min-width: 0; }
.egs-lp-sample figcaption { display: grid; gap: 6px; padding: 14px 18px; border-bottom: 2px solid var(--navy-700); }
.egs-lp-file { font: 600 19px/1.25 var(--serif, Newsreader, serif); color: var(--navy-700); text-decoration: none; }
.egs-lp-file:hover { color: var(--teal-text); text-decoration: underline; }
.egs-lp-sample dl { margin: 0; }
.egs-lp-sample dl > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 16px; padding: 12px 18px; border-bottom: 1px solid var(--rule-100); }
.egs-lp-sample dl > div:last-child { border-bottom: 0; }
.egs-lp-sample dt { font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); }
.egs-lp-sample dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-900); }
/* The hero's most recent failures: a scroll-snap row that works without script; scan.js adds the controls. */
.egs-rotor figcaption.egs-rotor-cap { padding: 12px 18px 0; border-bottom: 0; }
.egs-rotor-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.egs-rotor-track::-webkit-scrollbar { display: none; }
.egs-rotor-track:focus-visible { outline: 2px solid var(--teal-700); outline-offset: -2px; }
.egs-rotor-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.egs-rotor-head { display: grid; gap: 6px; padding: 8px 18px 14px; border-bottom: 2px solid var(--navy-700); }
.egs-rotor-nav { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--rule-100); }
.egs-rotor-nav[hidden] { display: none; }
/* Each dot is drawn 9px wide inside a 24 by 24px button, the WCAG 2.2 minimum target (live audit, 2026-10-21). */
.egs-rotor-dots { display: flex; gap: 0; margin-inline: auto; }
.egs-rotor-dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.egs-rotor-dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-sizing: border-box; border: 1.5px solid var(--navy-700); border-radius: 50%; }
.egs-rotor-dot[aria-current="true"]::before { background: var(--navy-700); }
.egs-rotor-btn { min-width: 32px; min-height: 32px; padding: 0 8px; font: 600 15px/1 var(--sans); color: var(--navy-700); background: transparent; border: 1px solid var(--rule-200); cursor: pointer; }
.egs-rotor-btn:hover { border-color: var(--navy-700); }
.egs-rotor-btn:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 2px; }
.egs-rotor-dot:focus-visible { outline: 2px solid var(--teal-700); outline-offset: -3px; }
.egs-rotor-pause { font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .egs-rotor-track { scroll-behavior: auto; } }

.egs-lp-stats { border-bottom: 1px solid var(--rule-200); }
.egs-lp-stats > .eg-wrap { padding-block: 40px 36px; }
.egs-lp-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--rule-200); }
.egs-lp-stats li { display: grid; gap: 8px; align-content: start; padding: 4px 24px 6px; border-right: 1px solid var(--rule-200); }
.egs-lp-stats b { font: 500 clamp(34px, 3.6vw, 48px)/1 var(--mono); color: var(--navy-700); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.egs-lp-stats li > span:not(.egs-lp-more) { font-size: 15.5px; line-height: 1.45; color: var(--ink-700); }
.egs-lp-more a { font: 500 13px/1.4 var(--sans); color: var(--teal-text); }
.egs-lp-stats .egs-note { margin-top: 18px; }

.egs-lp-body { padding-block: 56px 24px; display: grid; gap: 60px; }
.egs-lp-body > * { min-width: 0; }
.egs-lp-h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -.018em; color: var(--navy-700); margin-bottom: 14px; }
.egs-lp-thesis { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.egs-lp-thesis p { font-size: 17px; line-height: 1.6; color: var(--ink-900); max-width: 40rem; }
.egs-lp-thesis p + p { margin-top: 12px; }
.egs-lp-aud { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--navy-700); }
.egs-lp-aud li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule-200); }
.egs-lp-aud b { font: 600 18px/1.3 var(--serif, Newsreader, serif); color: var(--navy-700); }
.egs-lp-aud span { font-size: 15px; line-height: 1.5; color: var(--ink-700); }
.egs-lp-ins-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-left: 1px solid var(--rule-200); border-top: 1px solid var(--rule-200); }
.egs-lp-ins-grid a { display: grid; gap: 8px; align-content: start; height: 100%; padding: 20px 22px 24px; border-right: 1px solid var(--rule-200); border-bottom: 1px solid var(--rule-200); text-decoration: none; color: var(--ink-900); }
.egs-lp-ins-grid a:hover { background: #FCFBFC; }
.egs-lp-ins-grid li:first-child a { background: #FFF6F0; }
.egs-lp-ins-grid li:first-child .egs-mini { color: var(--orange-700); }
.egs-lp-ins-t { font: 600 21px/1.25 var(--serif, Newsreader, serif); color: var(--navy-700); text-wrap: balance; }
.egs-lp-ins-grid a:hover .egs-lp-ins-t { color: var(--teal-text); text-decoration: underline; }
.egs-lp-ins-s { font-size: 15px; line-height: 1.5; color: var(--ink-700); }
.egs-landing .egs-areas, .egs-landing .egs-method { margin: 0; }
.egs-landing .egs-method p a { color: var(--teal-text); }
.egs-landing .egs-body { padding-top: 48px; }
.egs-search-h { scroll-margin-top: 96px; }

@media (max-width: 900px) {
	.egs-lp-hero-grid, .egs-lp-thesis { grid-template-columns: minmax(0, 1fr); }
	.egs-lp-stats ul { grid-template-columns: minmax(0, 1fr); border-left: 0; }
	.egs-lp-stats li { border-right: 0; border-bottom: 1px solid var(--rule-200); padding: 16px 0; }
	.egs-lp-sample dl > div { grid-template-columns: minmax(0, 1fr); }
}

/* Applicability reviews (D-222) and the data licence line (D-214). The two cards share one
   row: headings, text and the shared button line up (owner: card rows aligned). */
.egs-offer { margin-top: 56px; padding: 32px clamp(18px, 3vw, 36px); background: #FCFBFC; border: 1px solid var(--rule-200); border-top: 3px solid var(--navy-700); }
.egs-offer .egs-lp-h2 { margin: 0 0 12px; }
.egs-offer-lead { max-width: 62ch; font-size: 17px; line-height: 1.55; color: var(--ink-900); margin: 0 0 22px; }
.egs-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.egs-offer-card { display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 18px 20px; background: #fff; border: 1px solid var(--rule-200); }
.egs-offer-card h3 { margin: 0; font: 600 18px/1.25 var(--serif, Newsreader, serif); color: var(--navy-700); }
.egs-offer-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-900); }
.egs-offer-how { max-width: 70ch; margin: 20px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-700); }
.egs-offer .egs-lp-actions { margin-top: 18px; }
.egs-licence, .egs-cite p { font-size: 13.5px; line-height: 1.5; color: var(--ink-700); }
.egs-licence { margin: 32px 0 0; padding-top: 14px; border-top: 1px solid var(--rule-100); }
.egs-licence a, .egs-cite a { color: var(--teal-text); }
.egs-cite { padding: 14px 18px; border: 1px solid var(--rule-100); margin-bottom: 12px; display: grid; gap: 6px; }
.egs-cite p { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .egs-offer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Discovery entry and progressive disclosure, October 22 owner feedback. */
.egs-rotor-title { font: 600 14px/1.35 var(--sans); color: var(--navy-700); }
.egs-rotor-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.egs-rotor-area { font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); }
.egs-rotor-date { font: 400 12px/1.5 var(--mono); color: var(--ink-700); }
.egs-applicability-entry .egs-offer { margin-block: 28px; }
.egs-offer .egs-lp-actions { align-items: center; }
.egs-review-details { margin-top: 18px; }
.egs-review-details > summary, .egs-records-disclosure > summary { cursor: pointer; font: 600 16px/1.5 var(--sans); color: var(--navy-700); padding: 12px 0; }
.egs-review-details[open] > summary { margin-bottom: 10px; }
.egs-records-disclosure { border-top: 2px solid var(--navy-700); border-bottom: 1px solid var(--rule-200); padding-bottom: 8px; }
.egs-records-disclosure > summary::after { content: "Show more"; float: right; font: 500 12px/1.5 var(--mono); color: var(--teal-text); padding-top: 3px; }
.egs-records-disclosure[open] > summary::after { content: "Show less"; }
