/* The research journal uses one deliberately light, paper-like reading theme. */
:root {
  color-scheme: light;
  --background: #f6f5ef; --foreground: #173f35;
  --card: #fffef9; --card-foreground: #173f35;
  --popover: #fffef9; --popover-foreground: #173f35;
  --primary: #173f35; --primary-foreground: #fffef9;
  --secondary: #eceee6; --secondary-foreground: #173f35;
  --muted: #efeee6; --muted-foreground: #646c62;
  --accent: #a4492e; --accent-foreground: #fffef9;
  --destructive: #a83228; --border: #d6dace; --input: #c9cebf; --ring: #a4492e;
  --radius: .3rem; --paper: #fffef9; --ink: #173f35; --ink-soft: #3e554b; --rust: #a4492e; --rule: #d6dace;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: #dce4d4; color: #153d30; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--rust); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.6rem,4.6vw,4.25rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem,3vw,2.6rem); letter-spacing: -.025em; }
h3 { font-size: 1.5rem; letter-spacing: -.015em; }
h4 { font-size: 1.25rem; }
ul, ol { padding-left: 1.35rem; }
code { font-family: var(--mono); font-size: .86em; overflow-wrap: anywhere; }
pre { overflow: auto; background: #efeee6; border: 1px solid var(--rule); padding: 1.25rem; font-size: .86rem; line-height: 1.7; }
pre code { overflow-wrap: normal; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.skip-link { position: absolute; top: -90px; left: 20px; z-index: 100; background: var(--ink); color: white; padding: .6rem 1rem; }
.skip-link:focus { top: 10px; }
.site-shell { width: min(1256px,calc(100% - 96px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--rule); background: rgba(246,245,239,.96); }
.masthead { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-brand { display: flex; align-items: center; gap: 17px; text-decoration: none; flex-shrink: 0; }
.site-brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #9aa99b; font-family: var(--serif); font-size: 29px; line-height: 1; letter-spacing: -7px; padding-right: 6px; color: var(--ink); }
.brand-title { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; letter-spacing: -.025em; }
.brand-caption { display: block; margin-top: 7px; color: #6b7367; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 25px; font-size: .79rem; }
.primary-nav a { position: relative; padding: 11px 0; text-decoration: none; color: #4c5d50; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--rust); }
.eyebrow { font-family: var(--mono); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); line-height: 1.6; }
.hero { padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,1fr); gap: 80px; align-items: center; }
.hero-title { max-width: 760px; margin: 20px 0 25px; font-size: clamp(3.5rem,5.6vw,5.3rem); line-height: 1.02; letter-spacing: -.045em; }
.hero-title em { font-weight: 400; color: var(--rust); }
.hero p:not(.eyebrow) { color: var(--ink-soft); max-width: 680px; font-size: 1.05rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 45px; padding: 11px 19px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 2px; text-decoration: none; font-size: .8rem; font-weight: 500; line-height: 1.4; transition: background .16s,border-color .16s; }
.button:hover { color: var(--paper); background: #2c5545; border-color: #2c5545; }
.button-secondary { background: transparent; border-color: #9ba998; color: var(--ink); }
.button-secondary:hover { color: var(--ink); background: #e9ece1; border-color: var(--ink); }
.text-link { font-size: .82rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid #a6b09c; padding-bottom: 3px; }
.hero-aside { position: relative; padding: 38px 30px; background: #e9eddf; border: 1px solid #c9d3c0; min-height: 310px; display: flex; flex-direction: column; justify-content: center; }
.hero-aside::before { content: ""; position: absolute; top: -10px; right: -10px; width: 70px; height: 70px; border-right: 1px solid #a9b99f; border-top: 1px solid #a9b99f; pointer-events: none; }
.hero-aside p { font-size: .85rem !important; }
.hero-aside .eyebrow { color: #5d7058; }
.hero-equation { margin: 27px 0; font-size: 1.05rem; overflow-x: auto; text-align: center; }
.hero-aside .katex-display { margin: .8em 0; }
.hero-aside-label { font-family: var(--mono); font-size: .65rem; letter-spacing: .05em; color: #5b6b52; text-transform: uppercase; }
.section { padding: 51px 0; border-top: 1px solid var(--rule); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-description { max-width: 700px; color: var(--ink-soft); margin-top: 15px; font-size: .97rem; }
.three-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.track-card { display: block; padding: 27px 28px 25px; border: 1px solid var(--rule); background: var(--paper); text-decoration: none; transition: border-color .15s,background .15s; }
.track-card:hover { color: var(--ink); border-color: #91a18d; background: #fffefb; }
.track-number { display: block; font-family: var(--mono); font-size: .68rem; color: var(--rust); letter-spacing: .1em; margin-bottom: 23px; }
.track-card h3 { margin: 10px 0 15px; }
.track-card p { color: #586658; font-size: .88rem; line-height: 1.8; }
.track-card .text-link { display: inline-block; margin-top: 23px; }
.page-header { padding: 58px 0 38px; border-bottom: 1px solid var(--rule); margin-bottom: 34px; }
.page-header h1 { margin-top: 17px; max-width: 1000px; }
.page-header p:not(.eyebrow) { max-width: 800px; margin-top: 22px; color: var(--ink-soft); font-size: 1.03rem; line-height: 1.8; }
.page-header .record-meta { margin-top: 24px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 66px; align-items: start; padding-bottom: 64px; }
.article { min-width: 0; }
.article > section { margin: 0 0 41px; }
.article h2 { margin: 32px 0 18px; font-size: 2rem; }
.article h3 { margin: 26px 0 14px; }
.article h4 { margin: 24px 0 12px; }
.article p { margin: 0 0 16px; }
.article li { margin: 8px 0; }
.prose { max-width: 850px; color: #344a3d; font-family: var(--serif); font-size: 1.13rem; line-height: 1.9; overflow-wrap: break-word; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); }
.prose p + p { margin-top: 17px; }
.prose a { color: #245e4c; }
.prose ul, .prose ol { margin-top: 16px; margin-bottom: 20px; }
.prose li { padding-left: 4px; }
.prose blockquote { border-left: 2px solid #9fb091; padding: 2px 0 2px 24px; margin: 24px 0; color: #4b5d49; }
.prose strong { font-weight: 600; }
.prose table { font-family: var(--sans); font-size: .88rem; }
.prose code { background: #eceee4; padding: 2px 4px; }
.math-block { overflow-x: auto; padding: 14px 0; margin: 17px 0; }
.katex-display { overflow-x: auto; overflow-y: hidden; padding: 4px 0; }
.katex { font-size: 1.06em; }
.callout { border-left: 3px solid #9eae90; background: #edf0e4; padding: 22px 26px; margin: 24px 0; color: #3f5540; }
.callout p:last-child { margin-bottom: 0; }
.proof { margin-top: 23px; border-top: 1px solid var(--rule); padding-top: 23px; }
.proof > summary { list-style: none; font-family: var(--sans); font-size: .85rem; font-weight: 600; cursor: pointer; padding: 4px 0 14px; }
.proof > summary::before { content: "+"; margin-right: 12px; color: var(--rust); }
.proof[open] > summary::before { content: "−"; }
.proof > summary::-webkit-details-marker { display: none; }
.sidebar { font-size: .82rem; }
.sidebar h2, .sidebar h3 { font-family: var(--sans); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 13px; color: #69725e; font-weight: 600; }
.sidebar > section, .sidebar > div { border-bottom: 1px solid var(--rule); padding-bottom: 24px; margin-bottom: 25px; }
.sidebar p { color: #5b6958; }
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.sidebar li + li { margin-top: 13px; }
.sidebar a { text-decoration: none; }
.sidebar a:hover { text-decoration: underline; }
.record-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; font-family: var(--mono); font-size: .67rem; color: #68725f; }
.record-id { font-family: var(--mono); font-size: .7rem; letter-spacing: .02em; color: #69775f; }
.status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; border: 1px solid #cbd2c3; background: #ecefe5; padding: 4px 8px; font-family: var(--sans); font-size: .64rem; letter-spacing: .035em; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-open { background: #f7eee4; color: #875325; border-color: #dfcdb4; }
.status-draft { background: #efeee9; color: #69695d; border-color: #d4d3c8; }
.status-conditional { background: #eef0e5; color: #5a6c3d; border-color: #cbd3b7; }
.status-proved, .status-reviewed { background: #e4eee5; color: #305b42; border-color: #b9cdbb; }
.status-withdrawn { background: #f7eae6; color: #984e3b; border-color: #e0c1b8; }
.entry-explorer { padding: 0 0 42px; }
.explorer-toolbar { display: grid; grid-template-columns: minmax(230px,1fr) auto; gap: 18px; padding: 0 0 22px; align-items: end; }
.search-label, .filter-label { display: flex; flex-direction: column; gap: 8px; color: #52614e; font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; }
.search-field { display: flex; align-items: center; background: var(--paper); border: 1px solid #c8d0c0; padding: 0 14px; min-height: 47px; }
.search-field svg { width: 17px; height: 17px; flex-shrink: 0; color: #718069; }
.search-field input { min-width: 0; flex: 1; width: 100%; border: 0; outline: 0; padding: 11px 12px; background: transparent; color: var(--ink); font-family: var(--sans); font-size: .88rem; text-transform: none; letter-spacing: normal; }
.search-field:focus-within { outline: 2px solid var(--rust); outline-offset: 2px; }
.filter-label select { border: 1px solid #c8d0c0; background: var(--paper); padding: 11px 35px 11px 13px; min-height: 47px; font-family: var(--sans); font-size: .82rem; color: var(--ink); text-transform: none; letter-spacing: normal; border-radius: 0; }
.explorer-subbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.kind-filters { display: flex; gap: 5px; flex-wrap: wrap; }
.kind-filters button { border: 1px solid transparent; background: transparent; padding: 8px 13px; border-radius: 2px; font-size: .78rem; color: #65715c; }
.kind-filters button[aria-pressed="true"] { border-color: #b8c4ac; background: #e7ecdf; color: var(--ink); }
.kind-filters button:hover { color: var(--ink); background: #eceee5; }
.results-count { font-family: var(--mono); font-size: .68rem; white-space: nowrap; color: #6a7562; }
.entry-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.entry-card { min-width: 0; padding: 27px 0 28px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; align-items: flex-start; }
.entry-card .record-meta { width: 100%; justify-content: space-between; gap: 9px; margin-bottom: 15px; }
.entry-card h2, .entry-card h3 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.27; }
.entry-card h2 a, .entry-card h3 a { text-decoration: none; }
.entry-card > p { font-size: .87rem; color: #5b6957; line-height: 1.85; }
.entry-card-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 19px; font-size: .69rem; color: #738068; width: 100%; }
.entry-card-footer .entry-topic { color: #56714d; }
.entry-card-footer a { text-decoration: none; font-size: .78rem; margin-left: auto; color: var(--ink); }
.empty-state { padding: 55px 24px; text-align: center; background: #efefe6; margin-top: 25px; }
.empty-state h3 { margin-bottom: 12px; }
.empty-state p { color: #66715d; margin-bottom: 20px; font-size: .9rem; }
.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .88rem; text-align: left; }
.data-table th { font-weight: 500; color: #5e6b56; font-family: var(--mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; background: #ebeee3; }
.data-table td, .data-table th { padding: 15px 17px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data-table td:first-child { font-weight: 500; }
.source-list { list-style: none; padding: 0; margin: 0; }
.source-list > li { padding: 23px 0; border-bottom: 1px solid var(--rule); }
.source-list h3 { margin-bottom: 8px; font-size: 1.4rem; }
.source-list p { font-size: .88rem; color: #5a6754; margin-top: 8px; }
.source-list .record-meta { margin-top: 12px; }
.timeline { list-style: none; padding: 0; margin: 28px 0; }
.timeline > li { position: relative; padding: 0 0 31px 30px; border-left: 1px solid #b6c2aa; }
.timeline > li::before { content: ""; position: absolute; left: -4px; top: 8px; width: 7px; height: 7px; border: 1px solid #7e916e; background: var(--background); border-radius: 50%; }
.timeline h3 { margin: 5px 0 11px; font-size: 1.4rem; }
.timeline p { font-size: .9rem; color: #5d6b55; }
.timeline .record-meta { margin-bottom: 8px; }
.feedback-form { border-top: 1px solid var(--rule); margin-top: 42px; padding-top: 27px; font-family: var(--sans); }
.feedback-form h3 { margin: 0 0 11px; font-size: 1.6rem; }
.feedback-form .feedback-intro { font-size: .85rem; color: #64705b; line-height: 1.8; margin-bottom: 23px; }
.feedback-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feedback-field { display: flex; flex-direction: column; gap: 7px; font-size: .77rem; color: #4f6049; margin-bottom: 17px; }
.feedback-field input, .feedback-field select, .feedback-field textarea { border: 1px solid #c8d0c0; border-radius: 2px; background: var(--paper); color: var(--ink); padding: 11px 12px; font-size: .87rem; width: 100%; }
.feedback-field textarea { min-height: 150px; line-height: 1.75; resize: vertical; }
.feedback-field small { color: #737e69; font-size: .7rem; }
.feedback-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feedback-actions small { font-size: .7rem; color: #6a7560; }
.feedback-message { padding: 13px 16px; margin: 18px 0; font-size: .83rem; line-height: 1.65; border: 1px solid #bdcdb7; background: #eaf0e3; color: #355139; }
.feedback-error { border-color: #d8bba7; background: #f5eae0; color: #8b4631; }
.site-footer { margin-top: 28px; border-top: 1px solid #bfc8b5; background: #e9ede2; }
.footer-inner { padding-top: 36px; padding-bottom: 34px; display: flex; justify-content: space-between; gap: 48px; }
.footer-title { font-family: var(--serif); font-size: 1.32rem; }
.footer-note { color: #68745c; font-size: .74rem; max-width: 520px; margin-top: 8px; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; justify-content: flex-end; gap: 13px 25px; font-size: .75rem; padding-top: 5px; }
.footer-links a { text-decoration: none; }
.footer-bottom { border-top: 1px solid #cbd3c0; padding-top: 17px; padding-bottom: 19px; display: flex; justify-content: space-between; gap: 20px; font-family: var(--mono); font-size: .63rem; color: #74806a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
@media (min-width:1100px) { .sidebar { position: sticky; top: 35px; } }
@media (max-width:1180px) {
  .site-shell { width: min(1120px,calc(100% - 64px)); }
  .masthead { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 23px; padding-bottom: 12px; }
  .primary-nav { gap: 30px; }
  .hero-grid { gap: 42px; }
  .hero { padding-top: 51px; }
  .hero-title { font-size: clamp(3.3rem,6vw,4.9rem); }
  .content-grid { gap: 36px; grid-template-columns: minmax(0,1fr) 225px; }
}
@media (max-width:800px) {
  .site-shell { width: calc(100% - 44px); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { max-width: 680px; font-size: clamp(3.15rem,8.5vw,4.8rem); }
  .hero-aside { min-height: 230px; padding: 25px 30px; }
  .hero-aside::before { display: none; }
  .hero-equation { margin: 19px 0; }
  .hero { padding-bottom: 38px; }
  .three-columns { grid-template-columns: 1fr; gap: 14px; }
  .track-card { padding: 23px 24px; }
  .track-number { margin-bottom: 10px; }
  .track-card h3 { margin-top: 2px; }
  .content-grid { grid-template-columns: 1fr; gap: 25px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; border-top: 1px solid var(--rule); padding-top: 25px; }
  .entry-list { grid-template-columns: 1fr; }
  .entry-card { padding: 25px 0; }
  .section { padding: 35px 0; }
  .section-heading { margin-bottom: 22px; }
  .page-header { padding-top: 38px; }
  .footer-inner { flex-direction: column; gap: 22px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width:540px) {
  .site-shell { width: calc(100% - 36px); }
  .masthead { padding-top: 19px; gap: 10px; }
  .site-brand { gap: 12px; }
  .brand-mark { width: 36px; height: 36px; font-size: 24px; }
  .brand-title { font-size: 1.3rem; }
  .brand-caption { font-size: .58rem; letter-spacing: .08em; }
  .primary-nav { width: 100%; overflow: auto; gap: 24px; font-size: .73rem; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .hero { padding-top: 34px; }
  .hero-title { font-size: 3.1rem; margin-top: 18px; }
  .hero p:not(.eyebrow) { font-size: .96rem; line-height: 1.8; }
  .hero-actions { gap: 10px; }
  .button { padding: 10px 15px; font-size: .77rem; }
  .hero-aside { padding: 24px 20px; }
  .hero-equation { font-size: .91rem; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-header h1 { font-size: 2.45rem; }
  .page-header p:not(.eyebrow) { font-size: .94rem; }
  .explorer-toolbar { grid-template-columns: 1fr; gap: 13px; }
  .filter-label { flex-direction: row; align-items: center; justify-content: space-between; }
  .filter-label select { min-height: 41px; }
  .explorer-subbar { align-items: flex-start; flex-direction: column; gap: 14px; }
  .kind-filters button { padding: 7px 10px; }
  .entry-card h2, .entry-card h3 { font-size: 1.4rem; }
  .entry-card .record-meta { font-size: .61rem; }
  .prose { font-size: 1.06rem; line-height: 1.85; }
  .article h2 { font-size: 1.75rem; }
  .callout { padding: 19px 18px; }
  .sidebar { grid-template-columns: 1fr; gap: 0; }
  .feedback-fields { grid-template-columns: 1fr; gap: 0; }
  .data-table td, .data-table th { padding: 10px 9px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition-duration: 0s !important; animation-duration: 0s !important; } }
@media print {
  body { background: #fff; color: #111; font-size: 11pt; }
  .site-shell { width: 100%; }
  .site-header,.site-footer,.sidebar,.feedback-form,.hero-actions,.explorer-toolbar,.explorer-subbar { display: none; }
  .content-grid,.hero-grid { display: block; }
  .page-header { padding-top: 0; }
  .katex-display { overflow: visible; }
  a { color: #111; }
}

.feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 36px; }
.hero-edition { margin-top:26px; font-family:var(--mono); font-size:.69rem!important; letter-spacing:.015em; }
.hero-aside-rule { border-top:1px solid #c6cfbc; margin:23px 0 16px; }
.hero-aside-small { font-size:.79rem!important; line-height:1.7!important; }
.revision-line { font-family:var(--mono); font-size:.7rem!important; }
.record-header h1 { max-width:1050px; }
.sidebar > a { display:block; margin:10px 0; }
.sidebar > h3:not(:first-child) { margin-top:30px; }
.sidebar .record-id { display:block; font-size:.63rem; margin-bottom:4px; overflow-wrap:anywhere; }
.sidebar li a span:not(.record-id) { display:block; line-height:1.55; }
.dependency-note { margin:7px 0 0!important; font-size:.73rem; line-height:1.7; }
.source-filename,.hash { font-family:var(--mono); overflow-wrap:anywhere; word-break:break-word; font-size:.7rem; }
.hash { display:block; line-height:1.8; padding:10px 12px; background:#edf0e5; color:#53694e; }
.source-record { padding:22px; border:1px solid var(--rule); background:#fffef9; }
.source-record details { margin-top:18px; }
details summary { cursor:pointer; padding:12px 0; font-size:.8rem; color:var(--ink-soft); }
details[open] summary { margin-bottom:10px; }
.source-private-note { display:block; margin-top:5px; color:#6b7267; font-size:.73rem; }
.proof-source-note { margin-top:20px!important; font-family:var(--sans); font-size:.8rem; color:var(--ink-soft); }
.programme-links { display:flex; gap:10px 24px; flex-wrap:wrap; margin-top:20px; font-size:.83rem; }
.programme-links a { border-bottom:1px solid #a6b09c; text-decoration:none; padding-bottom:3px; }
.table-scroll { width:100%; overflow-x:auto; }
.data-table thead th { white-space:nowrap; }
.data-table tbody th { background:transparent; font-family:var(--sans); font-size:.86rem; text-transform:none; letter-spacing:0; color:var(--ink); font-weight:400; min-width:230px; }
.data-table tbody th .record-id { display:block; margin-bottom:6px; }
.dependency-chip { display:inline-block; padding:3px 6px; font-family:var(--mono); font-size:.64rem; border:1px solid #c9d1c0; margin:0 4px 6px 0; text-decoration:none; }
.dependency-route { list-style:decimal; padding-left:20px; font-size:.84rem; }
.dependency-route li { margin:20px 0; line-height:1.6; }
.dependency-route .record-id { display:block; }
.dependency-route a { text-decoration:none; }
.muted { color:var(--ink-soft); }
.bibliography { max-width:950px; }
.reference-locator { font-family:var(--mono); font-size:.73rem!important; }
.article > ul,.article > ol { padding-left:24px; }
.article > ul { list-style:disc; }
.article > ol { list-style:decimal; }
.prose ul { list-style:disc; padding-left:25px; }
.prose ol { list-style:decimal; padding-left:25px; }
.article:not(.timeline) > p { max-width:850px; }
.article > .data-table { max-width:950px; }
.source-list .record-id { display:block; margin-bottom:5px; }
@media(min-width:801px) { .entry-card .text-link { margin-top:12px; } }
@media(max-width:800px) { .feature-grid { grid-template-columns:1fr; gap:0; } .sidebar { display:block; } .sidebar > h3 { margin-top:24px; } }
@media(max-width:540px) { .source-record { padding:17px; } .record-header .record-meta { align-items:flex-start; } .record-header h1 { overflow-wrap:break-word; } .hash { font-size:.62rem; } }

/* Paper-oriented research navigation. Overview pages are deliberately distinct
   from formal statement and proof pages. */
.masthead { min-height:98px; gap:30px; flex-direction:row; }
.site-brand { min-width:0; flex:1 1 460px; gap:15px; }
.brand-mark { flex:0 0 43px; width:43px; height:43px; font-size:17px; letter-spacing:-1px; padding:0; }
.brand-title { font-size:1.35rem; line-height:1.25; }
.brand-caption { font-size:.6rem; letter-spacing:.10em; }
.primary-nav { flex:0 1 auto; flex-wrap:wrap; gap:9px 25px; overflow:visible; }
.primary-nav a { font-size:.79rem; }
.resource-nav-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px 24px; padding:11px 0 13px; border-top:1px solid #e0e3d9; font-size:.68rem; color:#687368; }
.resource-nav-row > span { font-family:var(--serif); font-style:italic; font-size:.85rem; }
.resource-nav-row nav { display:flex; flex-wrap:wrap; gap:8px 22px; }
.resource-nav-row a { text-decoration:none; }
.resource-nav-row a[aria-current="page"] { color:var(--rust); }
.overview-hero { padding:66px 0 64px; }
.overview-hero-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr); gap:60px; align-items:center; margin-top:21px; }
.overview-hero h1 { font-size:clamp(3.1rem,4.6vw,4.6rem); line-height:1.06; letter-spacing:-.043em; }
.overview-hero h1 span { color:#52664f; font-style:italic; }
.overview-lead { max-width:660px; margin-top:25px; color:var(--ink-soft); font-size:1.05rem; line-height:1.85; }
.overview-byline { margin-top:22px; font-family:var(--mono); font-size:.67rem; color:#677263; line-height:1.8; }
.overview-byline span { margin:0 5px; }
.overview-equation { min-width:0; border-top:1px solid #9bab91; border-bottom:1px solid #9bab91; padding:27px 6px 25px; }
.overview-equation .eyebrow { font-size:.63rem; color:#6c785f; }
.overview-equation-math { margin:22px 0 20px; font-size:1rem; overflow-x:auto; }
.overview-equation p:not(.eyebrow) { color:#586a58; font-family:var(--serif); font-size:1.02rem; line-height:1.75; }
.overview-equation > a { display:inline-block; margin-top:20px; font-size:.76rem; text-decoration:none; border-bottom:1px solid #a6b09c; }
.overview-introduction { padding:48px 0; display:grid; grid-template-columns:minmax(180px,.8fr) minmax(0,2fr); gap:60px; border-top:1px solid var(--rule); }
.overview-introduction > .eyebrow { margin-top:9px; }
.overview-introduction h2 { font-size:2.15rem; }
.overview-introduction p:not(.eyebrow) { margin-top:18px; max-width:790px; color:var(--ink-soft); font-family:var(--serif); font-size:1.12rem; line-height:1.85; }
.overview-families { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 58px; }
.overview-family { display:flex; align-items:flex-start; gap:23px; border-top:1px solid var(--rule); padding:29px 0; }
.family-number { flex:0 0 28px; display:inline-block; font-family:var(--mono); color:var(--rust); font-size:.73rem; letter-spacing:.03em; padding-top:4px; }
.overview-family h3 { font-size:1.55rem; }
.overview-family h3 a,.result-overview-list h3 a { text-decoration:none; }
.overview-family p { margin-top:12px; color:var(--ink-soft); font-size:.88rem; line-height:1.85; }
.result-overview-list > article { display:grid; grid-template-columns:35px minmax(0,1fr) 125px; gap:24px; padding:28px 0; border-top:1px solid var(--rule); align-items:start; }
.result-overview-list > article > .eyebrow { padding-top:4px; }
.result-overview-list h3 { font-size:1.6rem; }
.result-overview-list p:not(.eyebrow) { margin-top:12px; max-width:790px; color:var(--ink-soft); font-size:.9rem; line-height:1.85; }
.result-overview-list > article > a { justify-self:end; margin-top:5px; }
.reading-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; }
.reading-paths > article { border-left:1px solid #bdc7b5; padding:4px 8px 3px 23px; }
.reading-paths h3 { margin:12px 0 13px; font-size:1.45rem; }
.reading-paths p:not(.eyebrow) { color:var(--ink-soft); font-size:.88rem; line-height:1.8; }
.reading-paths a { display:inline-block; margin-top:24px; }
.edition-note { display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:70px; border-top:1px solid var(--rule); padding:35px 0 52px; color:var(--ink-soft); }
.edition-note h2 { font-size:1.6rem; margin-bottom:13px; }
.edition-note p { max-width:820px; font-size:.85rem; line-height:1.85; }
.edition-note p.eyebrow { margin-bottom:11px; font-size:.66rem; }
.edition-note nav { display:flex; flex-direction:column; align-items:flex-start; gap:9px; font-size:.78rem; }
.edition-note a { text-decoration:none; }
.summary-header { margin-bottom:0; padding-bottom:35px; }
.summary-header > p:not(.eyebrow) { max-width:850px; }
.summary-paper-links { display:flex; flex-wrap:wrap; gap:12px 28px; margin-top:26px; }
.summary-paper-links .text-link { display:inline-flex; align-items:center; min-height:44px; padding:6px 0; color:#1f4e79; border-bottom:2px solid #7d9bb6; font-size:1.05rem; font-weight:600; line-height:1.55; }
.summary-paper-links .text-link:hover { color:#133753; border-color:#1f4e79; }
.button.formal-paper-link { min-height:48px; padding:12px 21px; background:#1f4e79; border-color:#1f4e79; color:#fff; font-size:1.05rem; font-weight:600; letter-spacing:0; line-height:1.5; }
.button.formal-paper-link:hover { background:#133753; border-color:#133753; color:#fff; }
.summary-paper-links .text-link:focus-visible,.formal-paper-link:focus-visible { outline:3px solid #1f4e79; outline-offset:5px; }
.simple-home-links > a.home-routes-link { color:#1f4e79; border-left:3px solid #1f4e79; padding-left:18px; background:#edf3f6; }
.simple-home-links > a.home-routes-link > span { color:#1f4e79; font-weight:600; }
.simple-home-links > a.home-routes-link:focus-visible { outline:3px solid #1f4e79; outline-offset:5px; }
.programme-routes-entry { display:flex; align-items:center; flex-wrap:wrap; gap:6px 18px; margin-top:20px; }
.programme-routes-entry > a { display:inline-flex; align-items:center; min-height:44px; color:#1f4e79; font-size:1.05rem; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
.programme-routes-entry > span { font-size:.85rem; color:var(--ink-soft); }
.family-jump-nav { display:flex; flex-wrap:wrap; gap:14px 30px; padding:24px 0; font-size:.75rem; }
.family-jump-nav a { display:flex; align-items:baseline; gap:10px; text-decoration:none; }
.family-jump-nav a span { font-family:var(--mono); color:var(--rust); font-size:.66rem; }
.research-family { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(0,1.65fr); gap:64px; padding:52px 0 58px; border-top:1px solid var(--rule); scroll-margin-top:25px; }
.family-heading { display:flex; gap:21px; align-items:baseline; }
.family-heading h2 { margin-top:11px; font-size:2.05rem; line-height:1.2; }
.family-heading > div > p:not(.eyebrow) { margin-top:20px; font-family:var(--serif); font-size:1.06rem; color:var(--ink-soft); line-height:1.8; }
.family-body { min-width:0; }
.principal-record { padding:25px 28px 26px; background:#eef0e7; border-top:2px solid #859879; border-bottom:1px solid #d2d9c9; }
.principal-record .record-meta { gap:8px 13px; margin-bottom:15px; flex-wrap:wrap; }
.principal-record h3 { font-size:1.6rem; line-height:1.25; }
.principal-record h3 a { text-decoration:none; }
.principal-record > p { margin-top:14px; color:var(--ink-soft); font-size:.84rem; line-height:1.85; }
.principal-logic { margin-top:21px; }
.principal-logic > div + div { margin-top:15px; }
.principal-logic dt,.programme-method dt { font-family:var(--mono); font-size:.62rem; letter-spacing:.06em; text-transform:uppercase; color:#64755b; margin-bottom:6px; }
.principal-logic dd { margin:0; font-size:.87rem; line-height:1.85; color:var(--ink-soft); }
.family-branches { list-style:none; margin:28px 0 29px 18px; padding:0 0 0 26px; border-left:1px solid #bdc9b2; }
.family-branches > li { position:relative; margin:0; padding:0 0 27px; }
.family-branches > li:last-child { padding-bottom:0; }
.family-branches > li::before { content:""; position:absolute; left:-30px; top:5px; width:7px; height:7px; border:1px solid #95a489; border-radius:50%; background:var(--background); }
.relationship-label { color:var(--rust); font-family:var(--mono); font-size:.61rem; letter-spacing:.025em; line-height:1.65; margin-bottom:8px; }
.family-branches h3 { font-size:1.32rem; line-height:1.3; }
.family-branches > li > p:not(.relationship-label) { margin-top:10px; font-size:.86rem; line-height:1.85; color:var(--ink-soft); }
.family-record-links { display:flex; flex-wrap:wrap; gap:9px 22px; margin-top:12px; }
.family-record-links > a { display:block; text-decoration:none; font-size:.73rem; }
.family-record-links > a > span { border-bottom:1px solid #bdc6b3; padding-bottom:2px; }
.family-record-links small { display:block; color:#72816a; font-size:.62rem; margin-top:6px; }
.family-conclusion { padding-top:23px; border-top:1px solid var(--rule); }
.family-conclusion h3,.family-obstacle h3 { font-family:var(--sans); font-size:.76rem; line-height:1.6; font-weight:600; }
.family-conclusion p,.family-obstacle p { margin-top:9px; color:var(--ink-soft); font-size:.85rem; line-height:1.85; }
.family-obstacle { padding:17px 0 0; margin-top:17px; border-top:1px solid #e0dfd3; }
.family-obstacle h3 { color:var(--rust); }
.family-body > .button { margin-top:26px; }
.family-support { border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); padding:3px 0; margin:26px 0; }
.family-support > summary { font-family:var(--sans); font-size:.77rem; line-height:1.7; }
.support-records { display:grid; gap:13px; padding:0 2px 19px; }
.support-records > a { display:grid; grid-template-columns:125px minmax(0,1fr); gap:3px 14px; text-decoration:none; font-size:.77rem; }
.support-records small { grid-column:2; font-size:.62rem; color:#72816a; }
.support-records .record-id { overflow-wrap:anywhere; font-size:.6rem; }
.programme-layout { display:grid; grid-template-columns:minmax(0,1fr) 275px; gap:80px; padding:6px 0 45px; }
.programme-step { padding:36px 0 38px; border-bottom:1px solid var(--rule); scroll-margin-top:25px; }
.programme-step-heading { display:flex; gap:19px; align-items:baseline; }
.programme-step h2 { font-size:1.95rem; }
.programme-goal { margin:17px 0 22px; font-family:var(--serif); font-size:1.12rem; line-height:1.8; color:var(--ink-soft); }
.programme-method > div + div { margin-top:20px; }
.programme-method dd { margin:0; font-size:.89rem; line-height:1.85; color:var(--ink-soft); }
.programme-records { display:flex; flex-wrap:wrap; gap:9px 21px; margin:23px 0; font-size:.73rem; }
.programme-records a { text-decoration:none; border-bottom:1px solid #bec7b5; }
.programme-margin { padding-top:40px; font-size:.82rem; line-height:1.85; color:var(--ink-soft); }
.programme-margin h2 { font-size:1.65rem; margin-top:12px; }
.programme-margin ol { list-style:decimal; padding-left:20px; margin:23px 0; }
.programme-margin li + li { margin-top:20px; }
.programme-margin p:not(.eyebrow) { margin-top:22px; }
.programme-margin > a { display:inline-block; margin-top:23px; font-size:.75rem; }
.programme-foundations { display:grid; grid-template-columns:1fr 1.7fr; gap:70px; padding:27px 0 48px; }
.programme-foundations h2 { font-size:1.9rem; margin-top:12px; }
.programme-foundations p:not(.eyebrow) { font-family:var(--serif); font-size:1.08rem; color:var(--ink-soft); line-height:1.85; }
.programme-foundations p + p { margin-top:15px; }
.programme-foundations a { display:inline-block; margin-top:23px; }
.footer-title { font-size:1.18rem; line-height:1.4; }
.footer-inner { gap:35px; }
.footer-links { max-width:490px; }
@media(min-width:1101px) {
  .family-heading { position:sticky; top:28px; align-self:start; }
  .programme-margin { position:sticky; top:0; align-self:start; }
}
@media(max-width:1100px) {
  .masthead { flex-direction:column; align-items:flex-start; padding:24px 0 13px; gap:12px; }
  .site-brand { flex:0 1 auto; }
  .primary-nav { width:100%; gap:8px 28px; }
  .overview-hero-grid { gap:37px; grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr); }
  .overview-hero h1 { font-size:3.7rem; }
  .overview-introduction { gap:35px; grid-template-columns:180px minmax(0,1fr); }
  .research-family { gap:35px; grid-template-columns:minmax(200px,.75fr) minmax(0,1.5fr); }
  .family-heading { gap:13px; }
  .family-heading h2 { font-size:1.8rem; }
  .programme-layout { gap:40px; grid-template-columns:minmax(0,1fr) 230px; }
}
@media(max-width:800px) {
  .brand-title { font-size:1.34rem; }
  .overview-hero { padding:43px 0 40px; }
  .overview-hero-grid { grid-template-columns:1fr; gap:35px; }
  .overview-hero h1 { font-size:clamp(3rem,6.8vw,4.2rem); }
  .overview-equation { max-width:590px; padding:23px 0; }
  .overview-equation-math { text-align:left; }
  .overview-equation-math .katex-display > .katex { text-align:left; }
  .overview-introduction { grid-template-columns:1fr; gap:13px; padding:32px 0 35px; }
  .overview-families { grid-template-columns:1fr; gap:0; }
  .overview-family { gap:20px; }
  .reading-paths { gap:24px; grid-template-columns:1fr; }
  .reading-paths > article { padding-bottom:3px; }
  .reading-paths a { margin-top:15px; }
  .edition-note { grid-template-columns:1fr; gap:24px; padding-bottom:35px; }
  .edition-note nav { flex-direction:row; flex-wrap:wrap; gap:12px 25px; }
  .research-family { grid-template-columns:1fr; gap:26px; padding:35px 0 40px; }
  .family-heading { gap:19px; }
  .family-heading h2 { font-size:2rem; margin-top:7px; }
  .family-heading > div > p:not(.eyebrow) { margin-top:13px; }
  .family-body { margin-left:47px; }
  .family-jump-nav { gap:12px 24px; }
  .programme-layout { grid-template-columns:1fr; gap:0; padding-bottom:28px; }
  .programme-margin { padding:30px 0; border-bottom:1px solid var(--rule); }
  .programme-margin ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
  .programme-margin li + li { margin-top:0; }
  .programme-foundations { grid-template-columns:1fr; gap:23px; padding-top:15px; }
  .footer-links { max-width:none; }
}
@media(max-width:540px) {
  .masthead { padding-top:20px; }
  .site-brand { gap:11px; align-items:center; }
  .brand-mark { flex-basis:34px; width:34px; height:38px; font-size:15px; }
  .brand-title { font-size:1.13rem; line-height:1.25; }
  .brand-caption { font-size:.55rem; letter-spacing:.025em; line-height:1.5; }
  .primary-nav { flex-wrap:wrap; overflow:visible; gap:4px 22px; }
  .primary-nav a { font-size:.74rem; padding:8px 0; }
  .resource-nav-row { font-size:.62rem; gap:5px; padding:10px 0 12px; }
  .resource-nav-row > span { display:none; }
  .resource-nav-row nav { gap:8px 17px; }
  .overview-hero { padding-top:31px; }
  .overview-hero > .eyebrow { font-size:.62rem; }
  .overview-hero-grid { margin-top:17px; }
  .overview-hero h1 { font-size:2.85rem; line-height:1.08; }
  .overview-lead { font-size:.96rem; line-height:1.8; margin-top:21px; }
  .overview-byline { font-size:.6rem; }
  .overview-equation-math { font-size:.9rem; }
  .overview-equation p:not(.eyebrow) { font-size:.98rem; }
  .overview-introduction h2 { font-size:1.85rem; }
  .overview-introduction p:not(.eyebrow) { font-size:1.05rem; }
  .overview-family h3 { font-size:1.4rem; }
  .overview-family { gap:14px; padding:24px 0; }
  .family-number { flex-basis:24px; }
  .result-overview-list > article { grid-template-columns:25px minmax(0,1fr); gap:12px 14px; }
  .result-overview-list h3 { font-size:1.45rem; }
  .result-overview-list > article > a { grid-column:2; justify-self:start; }
  .summary-paper-links { gap:13px 25px; }
  .summary-header h1 { font-size:2.35rem; }
  .family-jump-nav { display:grid; grid-template-columns:1fr; gap:13px; padding:21px 0; }
  .family-jump-nav a { font-size:.73rem; }
  .family-heading { gap:13px; }
  .family-heading h2 { font-size:1.83rem; }
  .family-body { margin-left:0; }
  .principal-record { padding:22px 19px; }
  .principal-record h3 { font-size:1.4rem; }
  .family-branches { margin-left:9px; padding-left:22px; }
  .family-branches > li::before { left:-26px; }
  .family-branches h3 { font-size:1.25rem; }
  .support-records > a { grid-template-columns:1fr; gap:4px; }
  .support-records small { grid-column:1; }
  .programme-step h2 { font-size:1.7rem; }
  .programme-step-heading { gap:13px; }
  .programme-goal { font-size:1.06rem; }
  .programme-margin ol { display:block; }
  .programme-margin li + li { margin-top:18px; }
}
@media print {
  .resource-nav-row,.family-jump-nav,.summary-paper-links,.family-body > .button { display:none; }
  .overview-hero-grid,.research-family,.programme-layout { display:block; }
  .family-heading,.programme-margin { position:static; }
  .family-body { margin-left:0; }
  .principal-record { break-inside:avoid; background:none; }
  .research-family { break-before:auto; }
}

/* Concise overview: the detailed mathematics lives on the linked paper pages. */
.source-group { margin:1.3rem 0; padding:1rem 0; border-top:1px solid var(--rule); }
.source-group > summary { cursor:pointer; color:#2c503d; font-size:1.05rem; font-weight:550; }
.source-group > summary small { margin-left:.4rem; color:var(--ink-soft); font-weight:normal; }
.source-group .table-scroll { margin-top:1.2rem; }
.source-group .data-table td:first-child { overflow-wrap:anywhere; }
.source-group .hash { font-size:.65rem; }
.pairing-coverage-item { margin:1.5rem 0; }
.pairing-coverage-item h3 { font-size:1.12rem; }
.pairing-coverage-item a { color:#20523e; text-underline-offset:.2em; }
.legacy-anchor { display:block; scroll-margin-top:2rem; }
.simple-site-header .masthead { min-height:94px; gap:28px; }
.simple-site-header .site-brand { flex:1 1 480px; max-width:600px; }
.simple-site-header .brand-title { font-size:1.18rem; line-height:1.4; letter-spacing:-.015em; }
.simple-site-header .primary-nav { flex:0 0 auto; gap:10px 24px; }
.simple-home { max-width:940px; padding-top:52px; padding-bottom:28px; }
.simple-home-heading h1 { margin:17px 0 24px; font-size:clamp(2.3rem,4vw,3.3rem); line-height:1.14; letter-spacing:-.027em; }
.simple-home-heading > p:not(.eyebrow),.simple-home-question p { max-width:850px; font-family:var(--serif); font-size:1.09rem; line-height:1.85; color:var(--ink-soft); }
.simple-home-question { margin-top:34px; }
.simple-home-question h2 { font-size:1.65rem; margin-bottom:12px; }
.simple-home-question a { color:#2c503d; text-underline-offset:3px; }
.simple-home-equation { margin:18px 0; overflow-x:auto; padding-bottom:2px; }
.simple-home-equation .katex-display { margin:.7em 0; }
.simple-home-links { display:grid; gap:0; margin-top:35px; border-top:1px solid var(--rule); }
.simple-home-links > a { display:grid; grid-template-columns:1fr 1fr; gap:12px 28px; padding:17px 0; border-bottom:1px solid var(--rule); text-decoration:none; color:#2c503d; align-items:baseline; }
.simple-home-links > a > span { font-family:var(--serif); font-size:1.18rem; }
.simple-home-links > a:hover > span { text-decoration:underline; text-underline-offset:4px; }
.simple-home-links small { font-size:.8rem; line-height:1.7; color:var(--ink-soft); }
.simple-home-edition { margin-top:25px; color:#64705f; font-size:.73rem; line-height:1.9; }
.simple-home-edition a { color:#2c503d; text-underline-offset:3px; }
.simple-site-footer { background:transparent; margin-top:22px; }
.simple-site-footer .footer-inner { padding-top:22px; padding-bottom:25px; }
.simple-site-footer .footer-links { max-width:none; justify-content:flex-start; gap:12px 27px; padding:0; }
.simple-site-footer a { color:#2c503d; }
@media(max-width:1100px) {
  .simple-site-header .masthead { gap:10px; padding-top:20px; padding-bottom:12px; }
  .simple-site-header .site-brand { flex:0 1 auto; max-width:740px; }
  .simple-site-header .primary-nav { flex:0 1 auto; }
}
@media(max-width:600px) {
  .simple-site-header .brand-title { font-size:1.07rem; }
  .simple-site-header .primary-nav { gap:8px 21px; }
  .simple-home { padding-top:31px; }
  .simple-home-heading h1 { font-size:2.25rem; margin-top:14px; }
  .simple-home-heading > p:not(.eyebrow),.simple-home-question p { font-size:1.02rem; }
  .simple-home-question { margin-top:28px; }
  .simple-home-question h2 { font-size:1.5rem; }
  .simple-home-equation { font-size:.9rem; }
  .simple-home-links > a { grid-template-columns:1fr; gap:5px; }
  .simple-home-links > a > span { font-size:1.12rem; }
  .simple-home-edition { font-size:.68rem; }
}

.paper-index-section{padding:36px 0 48px;border-top:1px solid var(--rule)}
.paper-index-section>h2{font-size:1.9rem;margin-bottom:8px}
.paper-index-item{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:45px;padding:32px 0;border-bottom:1px solid var(--rule)}
.paper-index-item:last-child{border-bottom:0}.paper-index-item h3{font-size:1.65rem;line-height:1.35}.paper-index-item h3 a{text-decoration:none}
.paper-index-item .eyebrow{font-size:.63rem;margin-bottom:9px}.paper-index-item p{font-size:.94rem;line-height:1.8;color:var(--ink-soft);max-width:760px;margin:12px 0}
.paper-index-item .paper-index-subtitle{font-family:var(--serif);font-style:italic;font-size:1.08rem;margin:5px 0 12px}.paper-index-item .paper-file-meta{font-family:var(--mono);font-size:.65rem;margin-top:18px}
.paper-index-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;justify-content:center}.paper-index-actions .button{text-align:center;justify-content:center;padding:13px 15px;font-size:.74rem}
.paper-index-note{margin:0 0 65px;padding:25px 30px;border-left:2px solid #9eac91;max-width:870px;background:#f0f2e9}.paper-index-note h2{font-size:1.2rem}.paper-index-note p{font-size:.88rem;line-height:1.8;margin:13px 0}.paper-index-note a{font-size:.8rem}
.paper-navigation{display:flex;gap:12px 26px;flex-wrap:wrap;align-items:center;margin-top:32px;font-size:.75rem;color:var(--ink-soft)}.paper-navigation span{margin-left:auto;font-family:var(--mono);font-size:.65rem}
.paper-edition-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0 23px;border-bottom:1px solid var(--rule)}.paper-edition-strip .eyebrow{font-size:.61rem}.paper-edition-strip p{font-size:.73rem;margin-top:8px;color:var(--ink-soft)}.paper-edition-strip .button{font-size:.75rem}
.paper-reading-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:50px;align-items:start;padding:44px 0 65px}.paper-toc{position:sticky;top:22px;max-height:calc(100vh - 45px);overflow:auto;padding-right:12px}.paper-toc h2{font-family:var(--sans);font-size:.68rem;letter-spacing:.11em;text-transform:uppercase;margin:0 0 17px;color:var(--ink-soft)}.paper-toc nav{display:flex;flex-direction:column;gap:11px}.paper-toc a{font-size:.71rem;line-height:1.55;text-decoration:none;color:var(--ink-soft);display:flex;gap:6px}.paper-toc a:hover{color:var(--green)}.paper-toc .paper-toc-subsection{font-size:.67rem;margin-left:13px;color:#7b8277}.paper-toc a span{flex:0 0 auto;font-family:var(--mono);font-size:.62rem}
.formal-paper{min-width:0;max-width:830px;margin:0 auto;padding:0 12px;font-family:var(--serif);font-size:1.07rem;line-height:1.85;color:#283429}.paper-title{text-align:center;margin:1px auto 35px}.paper-title h1{font-size:2.6rem;line-height:1.18;letter-spacing:-.03em;margin:18px 0 12px}.paper-title .eyebrow{font-family:var(--sans);font-size:.62rem}.paper-subtitle{font-size:1.2rem;line-height:1.5;font-style:italic;color:var(--ink-soft);max-width:660px;margin:0 auto 23px}.paper-author{font-size:1.04rem;margin:8px 0}.paper-date{font-family:var(--sans);font-size:.72rem;color:var(--ink-soft);margin-top:7px}
.paper-abstract{max-width:710px;margin:0 auto 43px;padding:20px 25px;border-top:1px solid #c4cdbb;border-bottom:1px solid #c4cdbb;font-size:.99rem;line-height:1.75}.paper-abstract h2{font-size:1.1rem;text-align:center;margin:0 0 14px}.paper-abstract p{margin:0 0 10px}
.paper-body h2{font-size:1.75rem;line-height:1.3;letter-spacing:-.018em;margin:48px 0 22px;scroll-margin-top:25px}.paper-body h3{font-size:1.3rem;line-height:1.4;margin:32px 0 15px;scroll-margin-top:25px}.paper-body h4{font-size:1.1rem;margin:26px 0 15px}.paper-body p{margin:15px 0}.paper-body ul{list-style:disc;margin:18px 0;padding-left:27px}.paper-body ol{list-style:decimal;margin:18px 0;padding-left:27px}.paper-body li{margin:10px 0;padding-left:4px}.paper-body dl{margin:18px 0}.paper-body dt{font-weight:600;margin-top:15px}.paper-body dd{margin-left:22px}.paper-body blockquote{font-size:.85rem;line-height:1.75;color:#6d766b;border-left:2px solid #c6cebd;padding:3px 20px;margin:25px 0}.paper-body .proof{border:0;background:none;padding:0;margin:22px 0 32px}.paper-body .proof p:first-child>em:first-child{font-style:italic;font-weight:600}.paper-body .theorem,.paper-body .lemma,.paper-body .proposition,.paper-body .corollary,.paper-body .definition,.paper-body .conjecture,.paper-body .hypothesis,.paper-body .problem{padding:14px 19px;margin:24px 0;background:#f1f3eb;border-left:2px solid #a5b397}.paper-body .definition,.paper-body .hypothesis{background:transparent;border-left-color:#ccd3c6}.paper-body .theorem>p:first-child,.paper-body .lemma>p:first-child,.paper-body .proposition>p:first-child,.paper-body .corollary>p:first-child,.paper-body .conjecture>p:first-child,.paper-body .definition>p:first-child,.paper-body .hypothesis>p:first-child,.paper-body .problem>p:first-child{margin-top:0}.paper-body .theorem>p:last-child,.paper-body .lemma>p:last-child,.paper-body .proposition>p:last-child,.paper-body .corollary>p:last-child,.paper-body .conjecture>p:last-child,.paper-body .definition>p:last-child,.paper-body .hypothesis>p:last-child,.paper-body .problem>p:last-child{margin-bottom:0}
.paper-anchor,.equation-anchor{scroll-margin-top:25px}.paper-crossref{color:#315e50}.paper-citation{color:#8b513c}.paper-body a[href^="https:"]{color:#365a83}.formal-paper .katex{font-size:1.04em}.formal-paper .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;margin:.75em 0;padding:.25em 0}.paper-equation{display:block;position:relative;max-width:100%;margin:18px 0;padding-right:42px}.equation-number{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:.86rem;font-family:var(--serif);line-height:1.7}.paper-body table{display:block;overflow:auto;max-width:100%;font-size:.88rem;margin:20px 0}.paper-body th,.paper-body td{padding:8px 12px;text-align:left;border-bottom:1px solid var(--rule)}
.paper-download{display:grid;grid-template-columns:1.45fr 1fr;gap:55px;border-top:1px solid #aeba9f;padding:42px 0;scroll-margin-top:20px}.paper-download h2{font-size:2rem;margin:12px 0 18px}.paper-download p{font-size:.88rem;line-height:1.8;color:var(--ink-soft);max-width:680px}.paper-download .hero-actions{flex-wrap:wrap}.paper-download .button{font-size:.73rem}.paper-provenance h3{font-family:var(--sans);font-size:.81rem;margin-bottom:15px}.paper-provenance p{font-size:.77rem;margin:10px 0}.paper-provenance details{margin-top:18px}.paper-record-register{padding:30px 0 70px;border-top:1px solid var(--rule)}.paper-record-register>h2{font-size:1.5rem;margin-bottom:14px}.paper-record-register>p{font-size:.84rem;line-height:1.75;max-width:800px;color:var(--ink-soft);margin-bottom:24px}.paper-record-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 40px}.paper-record-links a{display:flex;flex-direction:column;gap:5px;font-size:.8rem;line-height:1.55;text-decoration:none;padding:13px 0;border-bottom:1px solid var(--rule)}.paper-record-links .record-id{font-size:.59rem;color:#7a8273}.paper-record-links small{font-size:.65rem;color:#64765a}
.record-paper-link{padding:20px 24px;background:#edf1e6;border-left:2px solid #a5b397;margin:0 0 35px}.record-paper-link p{font-size:.8rem;line-height:1.7;margin:6px 0}.record-paper-link a{display:inline-block;margin:8px 17px 0 0;font-size:.85rem}
@media(max-width:1000px){.paper-reading-layout{grid-template-columns:175px minmax(0,1fr);gap:25px}.formal-paper{padding:0;font-size:1.04rem}.paper-title h1{font-size:2.2rem}}
@media(max-width:800px){.paper-reading-layout{display:block;padding-top:24px}.paper-toc{position:static;max-height:240px;margin-bottom:35px;padding:18px;border:1px solid var(--rule)}.paper-toc nav{gap:8px}.paper-toc a{font-size:.73rem}.paper-download{grid-template-columns:1fr;gap:28px}.paper-index-item{grid-template-columns:1fr;gap:14px}.paper-index-actions{flex-direction:row;align-items:flex-start;justify-content:flex-start}.paper-record-links{grid-template-columns:1fr}.paper-edition-strip .button{padding:11px 14px;font-size:.7rem}.paper-title h1{font-size:2.15rem}}
@media(max-width:540px){.paper-edition-strip{align-items:flex-start;flex-direction:column;gap:15px}.paper-navigation{font-size:.69rem;gap:10px 18px}.paper-navigation span{margin-left:0}.paper-abstract{padding:18px 10px}.formal-paper{font-size:1.02rem;line-height:1.8}.paper-body .theorem,.paper-body .lemma,.paper-body .proposition,.paper-body .corollary,.paper-body .definition,.paper-body .conjecture,.paper-body .hypothesis,.paper-body .problem{padding:12px}.paper-equation{padding-right:31px}.equation-number{font-size:.7rem}.paper-body h2{font-size:1.55rem}.paper-index-actions{flex-wrap:wrap}}
@media print{.site-header,.site-footer,.paper-navigation,.paper-edition-strip,.paper-toc,.paper-download,.paper-record-register{display:none!important}.paper-reading-layout{display:block;padding:0}.formal-paper{max-width:none;color:black;font-size:10pt}.paper-title h1{font-size:22pt}.paper-body .theorem,.paper-body .lemma,.paper-body .proposition,.paper-body .corollary{break-inside:avoid}.site-shell{width:auto!important;max-width:none!important;margin:0!important}}

.pairing-progress { max-width: 1100px; }
.pairing-progress .summary-header h1 { max-width:950px; font-size:clamp(2rem,4vw,3.25rem); line-height:1.17; }
.pairing-result { font-size:1.08rem; line-height:1.75; color:var(--ink); margin:12px 0; }
.pairing-foundations { margin:1rem 0 0; color:var(--ink-soft); font-size:.93rem; }
.pairing-foundations summary { cursor:pointer; color:#1f4e79; font-weight:600; padding:.5rem 0; }
.pairing-foundations a { color:#1f4e79; text-underline-offset:3px; }
.pairing-foundations summary:focus-visible { outline:3px solid #1f4e79; outline-offset:3px; }
.pairing-convention { max-width: 900px; margin: 1.5rem 0 2.5rem; line-height: 1.8; }
.pairing-convention p + p { margin-top: 1rem; color: var(--ink-soft, #59665e); }
.pairing-jumps { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; padding: 1.25rem 0; border-block: 1px solid #d8e0d9; }
.pairing-jumps a, .pairing-records a { color: #20523e; text-underline-offset: .2em; }
.pairing-group { margin: 4rem 0; scroll-margin-top: 2rem; }
.pairing-group > header { max-width: 850px; margin-bottom: 2rem; }
.pairing-group > header h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.25; }
.pairing-group > header p { line-height: 1.75; color: var(--ink-soft, #59665e); }
.pairing-case { max-width: 930px; border-top: 1px solid #d8e0d9; padding: 1.7rem 0 2rem; scroll-margin-top: 2rem; }
.pairing-case h3 { margin: 0 0 .55rem; font-size: 1.35rem; line-height: 1.4; }
.pairing-evidence { font-size: .85rem; color: #53675b; margin: .8rem 0 .1rem; }
.pairing-domain { font-size: 1.02rem; line-height: 1.8; }
.pairing-proof-links { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 1rem; font-size: 1.08rem; font-weight: 600; }
.pairing-proof-links a { display:inline-flex; align-items:center; min-height:44px; padding:.35rem 0; color:#1f4e79; text-decoration:underline; text-decoration-thickness:1.5px; text-underline-offset:.25em; line-height:1.5; }
.pairing-proof-links a:hover { color:#133753; text-decoration-thickness:2px; }
.pairing-detail { margin-top: 1.25rem; line-height: 1.8; }
.pairing-detail > summary { color:#1f4e79; background:#eaf0f5; border-left:3px solid #1f4e79; padding:.8rem 1rem; cursor:pointer; font-size:1.05rem; line-height:1.6; font-weight:600; }
.pairing-detail > summary:hover { background:#e0e9f1; color:#133753; }
.pairing-detail > summary::marker { color:#1f4e79; }
.pairing-detail > summary:focus-visible,.pairing-proof-links a:focus-visible { outline:3px solid #1f4e79; outline-offset:4px; }
.pairing-detail > div { padding: 1.1rem 0 0 .2rem; }
.pairing-detail h4 { margin: 1.1rem 0 .45rem; font-size: .98rem; }
.pairing-detail ul { padding-left: 1.2rem; }
.pairing-detail li { margin: .4rem 0; }
.pairing-consequences { margin: 1.5rem 0; border-left: 2px solid #d8e0d9; padding-left: 1.3rem; }
.pairing-consequences ol { padding-left: 1.15rem; }
.pairing-consequences li { padding: .3rem 0 .5rem; }
.pairing-consequences h5 { margin: .3rem 0; font-size: 1rem; font-weight: 600; }
.pairing-gap { border-left: 2px solid #b99561; padding-left: 1.1rem; margin: 1.5rem 0 1rem; }
.pairing-gap h4 { margin-top: 0; }
.pairing-records { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .75rem; margin-top: 1.25rem; }
.pairing-source-note { border-top: 1px solid #d8e0d9; padding: 2.5rem 0 4rem; line-height: 1.8; max-width: 930px; }
.pairing-source-note p { margin: 1rem 0; }
@media (max-width: 640px) {
  .pairing-group { margin: 2.6rem 0; }
  .pairing-proof-links, .pairing-jumps { flex-direction: column; align-items: flex-start; }
  .pairing-case { padding: 1.4rem 0; }
  .pairing-consequences { padding-left: .9rem; }
}

.programme-overview { max-width:1050px; }
.programme-overview .summary-header h1 { max-width:850px; font-size:clamp(2.45rem,4.3vw,3.7rem); }
.programme-paper-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.8rem; margin-top:1.65rem; }
.programme-pdf-link,.programme-section-paper { display:inline-flex; align-items:center; min-height:44px; color:#1f4e79; font-size:1.05rem; font-weight:600; line-height:1.55; text-decoration:underline; text-underline-offset:.25em; }
.programme-pdf-link:hover,.programme-section-paper:hover { color:#133753; }
.programme-target,.programme-logic,.programme-reading { padding:2rem 0 2.4rem; border-top:1px solid var(--rule); }
.programme-target h2,.programme-logic h2,.programme-objectives > header h2,.programme-reading h2 { font-size:1.9rem; margin-bottom:1rem; }
.programme-target p,.programme-logic > p,.programme-objectives > header p,.programme-reading p { max-width:900px; line-height:1.85; color:var(--ink-soft); }
.programme-target > p { margin-top:1rem; }
.programme-target .math-text { margin-top:1rem; }
.programme-implications { width:100%; margin-top:1.5rem; border-collapse:collapse; table-layout:fixed; font-size:.95rem; }
.programme-implications th { padding:.9rem 1rem .9rem 0; border-bottom:2px solid #c3cfcc; text-align:left; font-weight:600; }
.programme-implications th:nth-child(1) { width:37%; }
.programme-implications th:nth-child(2) { width:41%; }
.programme-implications th:nth-child(3) { width:22%; }
.programme-implications td { padding:1.15rem 1.4rem 1.15rem 0; vertical-align:top; border-bottom:1px solid var(--rule); line-height:1.8; }
.programme-implications td:last-child { padding-right:0; }
.programme-implications a { display:inline-block; color:#1f4e79; font-weight:600; text-decoration:underline; text-underline-offset:.2em; }
.programme-objectives { border-top:1px solid var(--rule); padding-top:2rem; }
.programme-section-links { display:flex; flex-wrap:wrap; gap:.6rem 1.5rem; margin:1.5rem 0 .5rem; font-size:.92rem; }
.programme-section-links a { color:#1f4e79; padding:.25rem 0; }
.programme-problem { padding:2rem 0; border-bottom:1px solid var(--rule); scroll-margin-top:2rem; }
.programme-problem:last-child { border-bottom:0; }
.programme-problem h3 { font-size:1.65rem; line-height:1.35; }
.programme-problem h3 > span { color:#64746d; margin-right:.3rem; }
.programme-problem-goal { margin:1rem 0; font-family:var(--serif); font-size:1.15rem; line-height:1.8; }
.programme-problem-formula { max-width:100%; overflow-x:auto; padding:.25rem 0 .75rem; }
.programme-problem dl { margin:1rem 0; }
.programme-problem dl > div { display:grid; grid-template-columns:155px minmax(0,1fr); gap:1rem; margin:.9rem 0; }
.programme-problem dt { font-size:.9rem; font-weight:600; line-height:1.85; }
.programme-problem dd { margin:0; color:var(--ink-soft); line-height:1.85; font-size:.97rem; }
.programme-reading { padding-bottom:3.5rem; }
@media(max-width:680px) {
  .programme-implications,.programme-implications tbody,.programme-implications tr,.programme-implications td { display:block; width:100%; }
  .programme-implications thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .programme-implications tr { border-top:1px solid var(--rule); padding:.6rem 0; }
  .programme-implications tr:last-child { border-bottom:1px solid var(--rule); }
  .programme-implications td { border:0; padding:.5rem 0; }
  .programme-implications td::before { content:attr(data-label); display:block; margin-bottom:.15rem; font-size:.85rem; font-weight:600; color:var(--ink); }
  .programme-problem dl > div { grid-template-columns:1fr; gap:.15rem; }
  .programme-problem h3 { font-size:1.5rem; }
  .programme-paper-actions { align-items:flex-start; flex-direction:column; }
}
@media print {
  .programme-paper-actions,.programme-section-links,.programme-section-paper,.programme-reading nav { display:none; }
  .programme-implications { break-inside:avoid; }
}

.research-routes { max-width:1040px; padding-bottom:60px; }
.routes-heading { padding-bottom:30px; margin-bottom:0; }
.routes-heading h1 { font-size:clamp(2rem,4vw,3.2rem); line-height:1.15; max-width:930px; }
.routes-heading > p:not(.eyebrow) { max-width:850px; font-size:1.02rem; line-height:1.8; }
.research-routes a { color:#1f4e79; text-underline-offset:4px; }
.research-routes a:focus-visible { outline:3px solid #1f4e79; outline-offset:4px; }
.routes-common-target { padding:24px 0 26px; border-block:1px solid var(--rule); line-height:1.8; }
.routes-common-target h2 { font-size:1.55rem; margin-bottom:12px; }
.routes-common-target > p { font-size:.93rem; max-width:870px; color:var(--ink-soft); }
.routes-common-target .katex-display { text-align:left; padding:0; margin:.85em 0; }
.routes-common-target .math-block { margin:1rem 0; padding:0; }
.route-index-list { margin:16px 0 12px; }
.route-index-item { display:grid; grid-template-columns:90px minmax(0,1fr); gap:18px; padding:29px 0 24px; scroll-margin-top:24px; }
.route-index-item + .route-index-item { border-top:1px solid var(--rule); }
.route-number { color:#506678; font-family:var(--sans); font-size:.82rem; padding-top:6px; }
.route-index-item h2 { font-size:1.6rem; line-height:1.3; margin-bottom:12px; }
.route-index-item h2 a { text-decoration:none; color:var(--ink); }
.route-index-item h2 a:hover { color:#1f4e79; text-decoration:underline; }
.route-index-item p { font-size:.97rem; line-height:1.75; max-width:820px; }
.route-index-item .route-index-difficulty { margin-top:12px; color:var(--ink-soft); font-size:.9rem; }
.route-index-difficulty strong { color:#805522; font-weight:600; }
.route-actions { display:flex; flex-wrap:wrap; gap:6px 27px; align-items:center; margin-top:13px; }
.route-source-link { display:inline-flex; align-items:center; gap:5px; min-height:44px; padding:7px 0; color:#1f4e79; font-weight:600; font-size:1rem; line-height:1.5; text-decoration:underline; text-decoration-color:#9aafc0; text-underline-offset:4px; }
.route-source-link:hover { color:#133753; text-decoration-color:#133753; }
.routes-related { border-top:1px solid var(--rule); padding-top:24px; margin-top:15px; }
.routes-related h2 { font-size:1.4rem; margin-bottom:9px; }
.routes-related p { font-size:.9rem; color:var(--ink-soft); line-height:1.75; }
.routes-related nav { display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:12px; }
.routes-related nav a { display:inline-flex; min-height:44px; align-items:center; font-size:.92rem; line-height:1.6; }
.route-breadcrumb { display:flex; flex-wrap:wrap; gap:10px 26px; padding-top:25px; font-size:.88rem; }
.route-breadcrumb a { min-height:40px; display:flex; align-items:center; }
.route-detail-page { max-width:960px; }
.route-detail-page .routes-heading { padding-top:25px; }
.primary-route-actions { margin-top:24px; gap:13px 18px; }
.research-routes .formal-paper-link { color:#fff; }
.route-conclusion { padding:23px 25px; background:#edf3f6; border-left:3px solid #64829a; line-height:1.85; margin:2px 0 35px; }
.route-conclusion h2 { font-size:1.5rem; margin-bottom:12px; }
.route-conclusion .math-text { font-size:1.02rem; }
.route-notation { font-size:.91rem; color:var(--ink-soft); margin-bottom:15px; }
.route-status { margin-top:14px; font-size:.82rem; color:#73501f; line-height:1.6; }
.route-logical-steps > h2,.route-progress h2,.route-mathematical-section h2 { font-size:1.65rem; line-height:1.3; margin-bottom:12px; }
.route-logical-steps > p { color:var(--ink-soft); font-size:.9rem; line-height:1.7; }
.route-logical-steps ol { counter-reset:route-step; padding:0; list-style:none; margin:24px 0 32px; }
.route-logical-steps li { position:relative; counter-increment:route-step; padding:0 0 25px 57px; margin-bottom:23px; border-bottom:1px solid var(--rule); }
.route-logical-steps li::before { content:counter(route-step); position:absolute; top:1px; left:0; color:#1f4e79; font-size:1.4rem; line-height:1.5; width:32px; text-align:center; border-bottom:2px solid #8aa2b5; }
.route-step-kind { color:#73501f; font-size:.78rem; font-weight:600; line-height:1.6; margin:0 0 7px; }
.route-logical-steps h3 { font-size:1.32rem; line-height:1.4; margin:0 0 11px; }
.route-logical-steps .math-text { line-height:1.8; font-size:.98rem; }
.route-progress { padding-bottom:27px; }
.route-progress p,.route-mathematical-section .math-text { font-size:1rem; line-height:1.85; }
.route-mathematical-section { padding:28px 0; border-top:1px solid var(--rule); scroll-margin-top:25px; }
.route-footer-links { display:flex; flex-wrap:wrap; gap:12px 30px; padding-top:25px; border-top:1px solid var(--rule); }
.route-footer-links a { line-height:1.6; min-height:44px; display:flex; align-items:center; font-weight:600; }
@media(max-width:680px) {
  .routes-heading h1 { font-size:2.15rem; }
  .route-index-item { grid-template-columns:1fr; gap:8px; padding:25px 0; }
  .route-number { padding:0; }
  .route-index-item h2 { font-size:1.5rem; }
  .route-actions { gap:7px 19px; }
  .routes-related nav { flex-direction:column; gap:3px; align-items:flex-start; }
  .route-conclusion { padding:19px 18px; }
  .route-logical-steps li { padding-left:43px; }
  .route-logical-steps li::before { width:26px; }
  .route-footer-links { flex-direction:column; gap:7px; }
  .primary-route-actions { align-items:stretch; }
}

.atlas-project-bar{border-bottom:1px solid var(--rule);background:#eeeee6;font-family:var(--sans);font-size:.83rem;}
.atlas-project-bar .site-shell{display:flex;gap:12px 24px;align-items:center;justify-content:space-between;padding:10px 0;}
.atlas-project-bar nav{display:flex;gap:10px 20px;flex-wrap:wrap;}
.atlas-project-bar a{font-weight:600;}
.edition-banner{padding:13px 0;border-bottom:1px solid var(--rule);background:#fff3d9;font-size:.88rem;}
.edition-banner a{font-weight:650;}
.feedback-section{margin:48px 0;padding-top:30px;border-top:1px solid var(--rule);}
.feedback-section p{margin:14px 0;}
.source-private-note{display:block;font-size:.75rem;color:var(--ink-soft);}
[hidden]{display:none!important;}
.version-summary{padding:28px 0;border-top:1px solid var(--rule);}
.version-summary p{margin:12px 0;}
.version-summary h2{font-size:1.8rem;}
.source-group{margin:18px 0;}
.source-group summary{min-height:44px;padding:8px 0;cursor:pointer;font-weight:600;}
@media(max-width:680px){.atlas-project-bar .site-shell{align-items:flex-start;flex-direction:column;gap:6px;}.atlas-project-bar nav{gap:8px 16px;}.atlas-project-bar{font-size:.79rem;}.edition-banner{font-size:.79rem;}}
@media print{.atlas-project-bar,.edition-banner,.feedback-section{display:none!important;}}
