/* AI4AI design tokens. Family surfaces are sampled from the supplied Figure 1.
   Control-source levels deliberately share a blue system; family colors form a separate axis. */
:root {
  --ink: #203d5b; --navy: #244f7b; --blue: #3b73a7; --sky: #9ac7e7;
  --text: #445c70; --muted: #65798a; --line: #d9e4ec; --line-strong: #bdd0df;
  --surface: #f6fafd; --blue-wash: #e9f2f9; --blue-light: #edf7fd;
  --learning: #356ba1; --learning-bg: #e9f2f9;
  --inference: #a56317; --inference-bg: #f8ede4;
  --data: #26786a; --data-bg: #e8f0ed;
  --infrastructure: #705699; --infrastructure-bg: #efedf6;
  --radius: 14px; --shadow: 0 8px 36px rgba(31,66,102,.05);
  --font: "Inter", "Aptos", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3,h4 { color: var(--ink); }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button,a,input,select,summary { outline-offset: 5px; }
:focus-visible { outline: 3px solid #629bd0; }
button:disabled { opacity: .38; cursor: not-allowed; }
button,input,select { border-radius: 0; }
img { display: block; max-width: 100%; }
button { border: 0; background: none; }
[hidden] { display: none !important; }
::selection { background: #cce7fa; color: var(--navy); }
.icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.svg-sprite { width: 0; height: 0; position: absolute; overflow: hidden; }
.flip { transform: rotate(180deg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 10px 20px; z-index: 1000; background: var(--navy); color: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.container { width: min(1160px, calc(100% - 80px)); margin: 0 auto; }
.section { padding-top: 88px; padding-bottom: 88px; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 650; line-height: 1.5; letter-spacing: 1.8px; display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.eyebrow>span { font: 12px var(--mono); border: 1px solid var(--line-strong); padding: 4px 6px; border-radius: 4px; letter-spacing: 0; }
.eyebrow.small { font-size: 12.5px; letter-spacing: 1.6px; }
h2 { font-size: clamp(29px,3.4vw,40px); line-height: 1.18; font-weight: 600; letter-spacing: -1.15px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 29px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.heading-aside { font-size: 15px; line-height: 1.8; color: var(--muted); padding-bottom: 4px; }
.section-reference,.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--navy); padding: 0; }
.section-reference { font-weight: 400; white-space: nowrap; }
.text-link .icon,.section-reference .icon { width: 15px; height: 15px; }
.text-link:hover,.section-reference:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.section-lead { font-size: 16px; line-height: 1.8; margin: -8px 0 31px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 550; line-height: 1.65; transition: background .18s,border-color .18s,transform .18s; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--navy); border-color: var(--navy); box-shadow: 0 4px 12px rgba(36,79,123,.10); }
.button-primary:hover { background: #193f66; }
.button-primary .icon:last-child:not(:first-child) { width: 14px; height: 14px; margin-left: 2px; }
.button-white { background: #fff; border-color: var(--line-strong); color: var(--navy); }
.button-white:hover { background: var(--surface); border-color: var(--blue); }
.button-plain { color: var(--navy); }
.button-plain:hover { background: #e6f1f9; }
.button-small { padding: 8px 13px; font-size: 14.5px; }
.quiet-button { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; padding: 5px 7px; border-radius: 5px; color: var(--muted); }
.quiet-button .icon { width: 15px; height: 15px; }
.quiet-button:hover { background: #edf4f9; color: var(--navy); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 7px; }
.icon-button:hover { background: var(--blue-wash); }
/* Navigation */
.site-header { height: 72px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); }
.nav-wrap { width: min(1280px,calc(100% - 80px)); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--navy); font-size: 23px; font-weight: 700; letter-spacing: -.8px; line-height: 1; white-space: nowrap; }
.brand-logo { display: block; height: 24px; width: auto; }
.brand-divider { width: 1px; height: 18px; background: var(--line-strong); margin-left: 5px; }
.brand-sub { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 1.6px; margin-left: 3px; }
#main-nav { display: flex; align-items: stretch; gap: 29px; height: 100%; margin-left: auto; }
#main-nav a { display: flex; align-items: center; font-size: 14.5px; color: #627487; position: relative; }
#main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .18s; }
#main-nav a:hover,#main-nav a.active { color: var(--navy); }
#main-nav a:hover::after,#main-nav a.active::after { transform: scaleX(1); }
.nav-paper { display: inline-flex; align-items: center; gap: 11px; padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--navy); font-size: 14.5px; }
.nav-paper .icon { width: 14px; height: 14px; }
.nav-paper:hover { background: var(--surface); }
.menu-toggle { display: none; }
.reading-progress { width: 0; height: 2px; position: absolute; bottom: -1px; left: 0; background: #76aacf; opacity: .8; }
/* Paper cover */
.hero { text-align: center; background: radial-gradient(ellipse at 50% 18%, #eaf6fe 0%,#f5faff 43%,#fff 86%); position: relative; }
.hero-inner { padding-top: 47px; padding-bottom: 33px; }
.hero-overline { display: flex; justify-content: center; align-items: center; gap: 13px; font-size: 12.5px; letter-spacing: 2.15px; color: #617f99; font-weight: 500; }
.hero-overline>span { width: 28px; height: 1px; background: #a9c4d8; }
.hero-logo { display: block; height: 92px; width: auto; margin: 26px auto 10px; }
.hero-title { display: block; font-size: clamp(36px,4vw,51px); line-height: 1.15; letter-spacing: -1.7px; font-weight: 600; color: #234764; margin-top: 10px; }
.hero-tagline { font-size: 16px; color: #72879a; margin-top: 19px; letter-spacing: .05px; }
.hero-tagline strong { font-weight: 550; color: var(--navy); }
.authors { margin: 26px auto 12px; font-size: 16px; color: #36506a; max-width: 980px; }
.author-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 22px; min-height: 32px; }
.author { white-space: nowrap; border-bottom: 1px dashed #c3d5e3; padding-bottom: 1px; transition: color .18s,border-color .18s; }
.author:hover { color: var(--navy); border-bottom-color: var(--blue); }
sup { color: #5785a9; font-size: 11.5px; padding-left: 2px; line-height: 0; }
.affiliations { max-width: 980px; margin: 0 auto; }
.affiliations summary { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; list-style: none; }
.affiliations summary .icon { width: 12px; height: 12px; }
.affiliations summary:hover { color: var(--blue); }
.affiliations[open] summary .icon { transform: rotate(180deg); }
.affiliation-list { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; padding: 14px 10px 4px; font-size: 14px; color: #4b6378; }
.affiliation-list span { white-space: nowrap; }
.affiliation-list sup { margin-right: 4px; }
.separator-dot { color: #a5b6c3; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 25px; }
.hero-facts { display: flex; align-items: center; justify-content: center; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero-facts>span { padding: 0 22px; border-right: 1px solid #d3e1eb; }
.hero-facts>span:last-child { border: none; }
.hero-facts strong { color: var(--navy); font-size: 17px; font-weight: 600; padding-right: 5px; }
.institution-bar { display: flex; justify-content: center; align-items: center; gap: 30px; border-top: 1px solid #edf2f6; border-bottom: 1px solid var(--line); padding: 21px 0; }
.institution { display: flex; align-items: center; justify-content: center; height: 32px; }
.institution img { width: auto; height: 32px; object-fit: contain; opacity: .76; mix-blend-mode: multiply; }
.institution:nth-child(n+5) img { max-width: 102px; height: auto; max-height: 32px; }
.institution:hover img { opacity: 1; }
/* Overview figure + abstract */
.section-overview { padding-top: 47px; }
.overview-figure { border: 1px solid var(--line-strong); border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s ease,box-shadow .3s ease; }
.figure-topline { display: flex; align-items: center; justify-content: space-between; padding: 11px 19px; border-bottom: 1px solid var(--line); background: #f9fcfe; }
.figure-topline>span { font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.figure-topline i { width: 6px; height: 6px; background: #79a9cc; border-radius: 50%; }
.figure-open { padding: 0; display: block; width: 100%; position: relative; cursor: zoom-in; background: white; }
.figure-open img { width: 100%; height: auto; }
.overview-figure>.figure-open { padding: 22px 20px 9px; }
figcaption { display: flex; align-items: baseline; gap: 12px; font-size: 14px; line-height: 1.75; padding: 14px 22px 18px; color: #4f667a; }
figcaption>span { font: 700 12.5px var(--mono); white-space: nowrap; color: var(--navy); }
.overview-story { display: grid; grid-template-columns: 1fr 1.23fr; gap: 65px; margin-top: 46px; padding: 6px 0 0; }
.overview-story h3 { font-size: 26px; font-weight: 550; line-height: 1.43; letter-spacing: -.6px; margin-bottom: 21px; }
.overview-story h3 em { font-family: Georgia,serif; color: var(--blue); font-weight: normal; }
.overview-story>div>p:not(.eyebrow) { font-size: 15.5px; line-height: 1.86; margin-bottom: 12px; }
.overview-story strong { color: var(--navy); font-weight: 600; }
.overview-story .text-link { margin-top: 6px; }
.abstract-block { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 40px; margin-top: 56px; padding: 36px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.abstract-label { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.abstract-label .eyebrow { margin-bottom: 6px; }
.abstract-text { font-size: 16.5px; line-height: 1.9; color: #3b5268; text-align: justify; hyphens: auto; }
/* Framework */
.section-tinted { background: #f4f9fd; border-top: 1px solid #e8f0f5; border-bottom: 1px solid #e8f0f5; }
.level-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 36px; margin-bottom: 13px; }
.level-tab { text-align: left; display: flex; align-items: center; gap: 17px; padding: 19px 19px; background: rgba(255,255,255,.65); border: 1px solid var(--line); border-radius: 9px; transition: background .18s,border-color .18s; }
.level-number { font-size: 28px; color: #7c9db6; line-height: 1; font-weight: 600; letter-spacing: -1px; }
.level-tab>span:nth-child(2) { flex: 1; }
.level-tab strong { display: block; font-size: 15.5px; font-weight: 600; color: #496783; line-height: 1.5; }
.level-tab small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.level-tab>.icon { width: 16px; color: #b3c5d2; }
.level-tab.active { background: #e2eff9; border-color: #7daacd; box-shadow: inset 0 -2px 0 #5288b5; }
.level-tab.active .level-number,.level-tab.active strong,.level-tab.active>.icon { color: var(--navy); }
.level-tab:hover { border-color: #8eb3d0; }
.level-panels { background: white; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.level-panel { padding: 31px; }
.level-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 42px; }
.overline { display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12.5px; font-weight: 600; letter-spacing: 1.3px; }
.overline>.icon { width: 16px; height: 16px; }
.level-copy h3 { font-size: 23px; font-weight: 560; line-height: 1.4; letter-spacing: -.4px; margin: 13px 0 11px; max-width: 450px; }
.level-copy p { font-size: 14.5px; line-height: 1.9; color: #5d7183; max-width: 520px; }
.level-copy .text-link { margin-top: 16px; font-size: 14px; }
.profile-card { border: 1px solid #dce7ee; background: #f7fbfe; border-radius: 8px; padding: 23px; align-self: center; }
.mini-label { font-size: 12.5px; font-weight: 600; letter-spacing: 1.15px; color: var(--muted); }
.profile-formula { display: block; font: 600 29px/1.8 var(--mono); color: var(--navy); margin: 4px 0 0; letter-spacing: 1px; }
.profile-card>p { font-size: 11.5px; color: #718497; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.profile-card>p>span { font-size: 12.5px; font-weight: 600; margin-left: 5px; }
.profile-card>p>span:first-child { margin-left: 0; }
.profile-ai { color: var(--navy); }
.profile-human { color: #748da1; }
.profile-boundary { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 10px; }
.profile-boundary span { display: block; color: #7b8c9b; font-size: 13px; }
.profile-boundary strong { font-size: 14px; font-weight: 500; color: #466580; }
.taxonomy-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; padding-top: 25px; padding-bottom: 22px; margin-top: 22px; border-top: 1px solid #e5edf3; }
.taxonomy-groups>span { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.5; color: #536b80; }
.taxonomy-groups i { font: normal 12.5px var(--mono); border: 1px solid var(--line); background: #f7fafc; padding: 5px; border-radius: 5px; }
.taxonomy-figure { border: 1px solid #e5ecf2; border-radius: 7px; overflow: hidden; transition: transform .3s ease,box-shadow .3s ease; }
.overview-figure:hover,.taxonomy-figure:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(31,66,102,.12); }
.taxonomy-figure .figure-open { padding: 14px 9px 6px; }
.taxonomy-figure figcaption { border-top: 1px solid #edf2f6; padding: 10px 12px; background: #fcfdfe; font-size: 12.5px; }
.figure-zoom { width: 28px; height: 28px; border: 1px solid var(--line); background: white; display: flex; align-items: center; justify-content: center; position: absolute; right: 8px; top: 8px; border-radius: 5px; opacity: 0; transition: opacity .2s; }
.figure-open:hover .figure-zoom,.figure-open:focus-visible .figure-zoom { opacity: 1; }
.figure-zoom .icon { width: 13px; height: 13px; }
.example-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 20px; }
.example-row>span { font-size: 13px; color: #8393a0; margin-right: 5px; }
.example-chip { display: inline-flex; align-items: center; gap: 10px; padding: 5px 10px; font-size: 13px; border: 1px solid var(--line); border-radius: 20px; color: var(--navy); }
.example-chip .icon { width: 12px; height: 12px; }
.example-chip:hover { background: var(--blue-wash); }
.baseline { display: flex; align-items: center; gap: 15px; padding: 17px 1px; color: var(--muted); font-size: 14px; }
.baseline-badge { padding: 2px 7px; border: 1px solid #c9d6e0; border-radius: 4px; font-weight: 600; color: #8093a1; }
.baseline>strong { font-weight: 500; }
.baseline-formula { font: 14px var(--mono); }
.baseline p { font-size: 14px; }
.classifier { background: white; border: 1px solid var(--line-strong); border-radius: 12px; display: grid; grid-template-columns: 1fr 1.32fr 1.1fr; gap: 20px; margin-top: 31px; padding: 26px 25px 16px; }
.classifier-heading .eyebrow { margin-bottom: 10px; }
.classifier-heading h3 { font-size: 19px; font-weight: 600; letter-spacing: -.3px; line-height: 1.35; }
.classifier-heading>p:last-child { font-size: 14px; line-height: 1.8; margin-top: 9px; max-width: 210px; color: var(--muted); }
.classifier-controls { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; align-content: center; }
.decision-control { border: 0; padding: 0; margin: 0; min-width: 0; }
.decision-control legend { padding: 0; font-size: 13px; color: #5b7286; display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.decision-control legend span { background: var(--blue-wash); color: var(--navy); font: 14px var(--mono); width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; }
.segmented { background: #f3f7fa; padding: 3px; border: 1px solid #dce6ed; border-radius: 6px; display: flex; }
.segmented button { padding: 7px 5px; font-size: 13px; line-height: 1.3; border-radius: 4px; flex: 1; }
.segmented button.selected { background: white; color: var(--navy); box-shadow: 0 1px 4px rgba(31,66,102,.13); font-weight: 650; }
.segmented button[data-source="A"].selected { background: var(--navy); color: white; }
.classifier-result { padding: 16px 18px; color: #e4eff8; background: var(--navy); border-radius: 8px; min-height: 130px; }
.classifier-result>div { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.result-level { font-size: 22px; line-height: 1; font-weight: 600; color: #fff; }
.result-profile { font: 14.5px var(--mono); color: #ccdfed; }
.classifier-result>strong { font-size: 14px; color: #fff; font-weight: 500; }
.classifier-result>p { font-size: 12.5px; line-height: 1.7; margin-top: 4px; color: #cbdde9; }
.classifier-note { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.7; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); }
.classifier-note .icon { width: 13px; height: 13px; margin-right: 5px; }
.classifier-note strong { font-weight: 550; }
.classifier-note a { color: var(--navy); margin-left: 5px; text-decoration: underline; text-underline-offset: 3px; }
/* Orthogonal families */
.family-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 28px; }
.learning { --family-color: var(--learning); --family-bg: var(--learning-bg); }
.inference { --family-color: var(--inference); --family-bg: var(--inference-bg); }
.data { --family-color: var(--data); --family-bg: var(--data-bg); }
.infrastructure { --family-color: var(--infrastructure); --family-bg: var(--infrastructure-bg); }
.family-card { border: 1px solid color-mix(in srgb,var(--family-color) 24%,white); background: var(--family-bg); padding: 20px 19px; border-radius: 10px; display: flex; flex-direction: column; }
.family-top { display: flex; gap: 9px; align-items: center; margin: -1px 0 13px; }
.family-top>img { width: 67px; height: 78px; object-fit: contain; mix-blend-mode: multiply; }
.family-top>span { color: var(--family-color); font-size: 12.5px; line-height: 1.6; }
.family-top strong { font-size: 19px; font-weight: 600; letter-spacing: -.35px; }
.family-boundary { color: var(--family-color); font-size: 14px; font-weight: 650; margin-bottom: 8px; }
.family-card>p:not(.family-boundary) { font-size: 14px; line-height: 1.8; min-height: 59px; }
.family-categories { margin-top: 17px; padding-top: 13px; border-top: 1px solid color-mix(in srgb,var(--family-color) 18%,transparent); margin-bottom: 22px; display: flex; flex-direction: column; gap: 7px; }
.family-categories>span { display: block; font-size: 12.5px; line-height: 1.65; color: #516579; padding-left: 10px; position: relative; }
.family-categories>span::before { content: ''; width: 4px; height: 4px; background: var(--family-color); border-radius: 50%; position: absolute; top: .72em; left: 0; opacity: .65; }
.family-card>.text-link { color: var(--family-color); font-size: 13px; margin-top: auto; justify-content: space-between; }
.family-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; padding: 17px 0 0; }
.family-note>.icon { width: 14px; height: 14px; }
.family-note>a { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--navy); white-space: nowrap; }
.family-note>a .icon { width: 12px; height: 12px; }
/* Bibliography explorer */
.section-library { background: #f8fafc; border-top: 1px solid #e8eef3; border-bottom: 1px solid #e8eef3; }
.library-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 6px 0 28px; margin-bottom: 4px; }
.library-stats>div { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 20px; box-shadow: 0 4px 16px rgba(31,66,102,.06); transition: transform .25s ease,box-shadow .25s ease; }
.library-stats>div:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(31,66,102,.11); }
.library-stats strong { display: block; font-size: 40px; line-height: 1.15; color: var(--navy); font-weight: 600; letter-spacing: -1.2px; margin-bottom: 4px; }
.library-stats span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }
.library-panel { border: 1px solid var(--line-strong); border-radius: 12px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.library-mode { display: flex; justify-content: space-between; align-items: center; padding: 18px 21px 8px; gap: 20px; }
.mode-tabs { display: flex; padding: 3px; background: #f0f5f9; border-radius: 6px; border: 1px solid #e2eaf0; gap: 3px; }
.mode-tabs>button { font-size: 14px; color: #6a8295; padding: 7px 12px; line-height: 1.5; border-radius: 4px; white-space: nowrap; }
.mode-tabs>button>span { font-size: 12.5px; padding-left: 6px; opacity: .6; }
.mode-tabs>button.selected { background: white; color: var(--navy); box-shadow: 0 1px 4px rgba(31,66,102,.10); font-weight: 600; }
.search-row { display: grid; grid-template-columns: 1fr 130px 170px; gap: 10px; padding: 15px 21px 19px; }
.search-field { display: flex; align-items: center; gap: 11px; border: 1px solid #cbdbe7; border-radius: 6px; padding: 0 13px; min-width: 0; height: 45px; }
.search-field:focus-within { outline: 2px solid #9ec6e1; border-color: #83afd0; }
.search-field>.icon { width: 17px; height: 17px; color: #7793a9; }
.search-field input { font-size: 14.5px; border: 0; outline: 0; width: 100%; min-width: 0; color: var(--ink); background: transparent; padding: 11px 0; }
.search-field input::placeholder { color: #8b9dad; }
kbd { background: #f8fafc; border: 1px solid var(--line); padding: 0 5px; color: #95a6b4; font-size: 13px; border-radius: 4px; }
.select-field { position: relative; border: 1px solid var(--line); border-radius: 6px; background: #fafcfe; }
.select-field select { height: 43px; appearance: none; border: 0; background: transparent; color: #526a7e; padding: 9px 34px 9px 12px; width: 100%; font-size: 14px; cursor: pointer; }
.select-field>.icon { pointer-events: none; width: 12px; height: 12px; position: absolute; right: 12px; top: 16px; color: #7a91a4; }
.filter-rows { padding: 0 21px 19px; display: flex; flex-direction: column; gap: 11px; }
.filter-row { display: flex; align-items: flex-start; gap: 14px; }
.filter-label { width: 136px; flex-shrink: 0; font-size: 11.5px; letter-spacing: 1.1px; font-weight: 600; color: #8494a2; padding-top: 8px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { border: 1px solid #dbe5ed; border-radius: 5px; padding: 5px 11px; font-size: 13px; line-height: 1.6; color: #6e8192; background: white; transition: background .15s,border-color .15s; }
.filter-chip.selected { background: var(--navy); border-color: var(--navy); color: white; }
.filter-chip:hover { border-color: #8eacc3; }
.filter-chip.learning,.filter-chip.inference,.filter-chip.data,.filter-chip.infrastructure { color: var(--family-color); background: var(--family-bg); border-color: color-mix(in srgb,var(--family-color) 22%,white); }
.filter-chip.learning.selected,.filter-chip.inference.selected,.filter-chip.data.selected,.filter-chip.infrastructure.selected { background: var(--family-color); border-color: var(--family-color); color: white; }
.results-toolbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 11px 21px; background: #fcfdfe; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.results-toolbar>p { font-size: 13px; color: #7b8d9b; }
.results-toolbar>p strong { color: var(--navy); font-weight: 600; }
.results-toolbar>div { display: flex; align-items: center; gap: 18px; }
.reset-button { font-size: 13px; color: #8494a2; padding: 0; white-space: nowrap; }
.reset-button:hover { color: var(--navy); text-decoration: underline; }
.sort-label { font-size: 13px; color: #9aa8b3; display: flex; align-items: center; gap: 5px; }
.sort-label select { border: 0; background: transparent; color: #6b8294; font-size: 13px; outline-offset: 2px; max-width: 124px; }
.paper-table-scroll { overflow-x: auto; }
.paper-table { border-collapse: collapse; width: 100%; table-layout: fixed; text-align: left; }
.paper-table thead { background: var(--navy); }
.paper-table th { font-size: 12px; color: #e4eef7; letter-spacing: 1.1px; font-weight: 600; padding: 14px 12px; }
.paper-table th:first-child { width: 47%; padding-left: 22px; }
.paper-table th:nth-child(2) { width: 7%; }
.paper-table th:nth-child(3) { width: 23%; }
.paper-table th:nth-child(4) { width: 18%; }
.paper-table th:last-child { width: 5%; }
.paper-table td { padding: 16px 12px; border-top: 1px solid #e7eef3; vertical-align: middle; }
.paper-table td:first-child { padding-left: 22px; }
.paper-table tr { transition: background .15s; }
.paper-table tbody tr:hover { background: #f3f8fc; }
.paper-name { display: block; color: #315878; font-size: 14.5px; font-weight: 600; line-height: 1.6; text-align: left; padding: 0; }
.paper-name:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.paper-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.7; color: #8a9aa6; margin-top: 3px; max-width: 96%; }
.paper-name>.ref-number { font: 12.5px var(--mono); color: #9cacb8; font-weight: normal; margin-left: 6px; white-space: nowrap; }
.paper-year { color: #72879a; font: 14px var(--mono); }
.level-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; padding: 3px 7px; border-radius: 4px; color: var(--navy); border: 1px solid #c2d7e7; background: #edf5fb; line-height: 1.5; white-space: nowrap; }
.level-badge strong { font-weight: 650; }
.level-badge.component { border-style: dashed; }
.level-badge.candidate { background: white; border-style: dashed; }
.level-badge.baseline-level,.level-badge.neutral { color: #7b8e9e; background: #f6f8fa; border-color: #dfe6ec; }
.row-detail { display: block; font-size: 11.5px; color: #98a7b3; margin-top: 5px; }
.family-badge { display: inline-block; font-size: 11.5px; line-height: 1.6; background: var(--family-bg,#f3f6f8); color: var(--family-color,#70879a); border-radius: 4px; padding: 3px 7px; margin: 1px 0; }
.row-open { width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; color: #91a8ba; border-radius: 5px; }
.row-open .icon { width: 15px; height: 15px; }
.row-open:hover { background: var(--blue-wash); color: var(--navy); }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 17px 21px; border-top: 1px solid var(--line); font-size: 13px; color: #8b9ba7; }
.pagination>div,#page-numbers { display: flex; align-items: center; gap: 5px; }
.page-button { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e0e8ee; border-radius: 5px; font-size: 13px; color: #6a8498; }
.page-button .icon { width: 13px; height: 13px; }
.page-button.selected { background: var(--navy); border-color: var(--navy); color: white; }
.page-button:not(:disabled):hover { border-color: #759dbb; }
.page-ellipsis { width: 13px; text-align: center; }
.empty-state { text-align: center; padding: 65px 20px; }
.empty-state>.icon { width: 35px; height: 35px; margin-bottom: 16px; color: #afc4d4; }
.empty-state>h3 { font-size: 19px; font-weight: 550; }
.empty-state>p { font-size: 14.5px; margin: 8px auto 20px; max-width: 440px; }
.catalogue-note { display: flex; align-items: flex-start; gap: 10px; padding: 17px 1px 0; font-size: 13px; color: #8395a3; line-height: 1.8; }
.catalogue-note>span .icon { width: 14px; height: 14px; }
.catalogue-note strong { color: #5d7488; font-weight: 550; }
.catalogue-note a { white-space: nowrap; color: var(--blue); margin-left: 3px; }
.catalogue-note a>.icon { width: 10px; height: 10px; margin-left: 3px; }
/* Questions */
.questions-layout { display: grid; grid-template-columns: .82fr 1.6fr; gap: 68px; }
.questions-heading h2 { margin-bottom: 20px; }
.questions-heading>p:not(.eyebrow) { font-size: 15px; line-height: 1.85; max-width: 250px; margin-bottom: 20px; }
.questions-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.questions-links .text-link { font-size: 14px; }
.question-deco { margin-top: 43px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 215px; }
.question-deco>span { width: 39px; height: 39px; border: 1px solid #cfdfec; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #80a5c3; font: 16px var(--mono); background: #f4f9fd; }
.question-deco>i { font-style: normal; color: #adbecb; font-size: 14.5px; }
.question-deco>small { display: block; width: 100%; font-size: 11.5px; color: #92a7b8; letter-spacing: 1.5px; padding-top: 7px; }
.question { border-top: 1px solid var(--line); }
.question:last-child { border-bottom: 1px solid var(--line); }
.question>summary { display: flex; align-items: flex-start; gap: 17px; padding: 22px 0; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.question-number { font: 13px/2 var(--mono); color: #a0b3c2; padding-top: 2px; }
.question h3 { font-size: 16px; font-weight: 550; line-height: 1.6; flex: 1; letter-spacing: -.2px; }
.question-toggle { color: #7f9bb0; padding-top: 1px; }
.question-toggle>.icon { width: 15px; height: 15px; transition: transform .2s; }
.question[open] .question-toggle>.icon { transform: rotate(45deg); }
.question[open] h3 { color: var(--blue); }
.question-body { margin: -5px 32px 25px; font-size: 14.5px; line-height: 1.85; }
.question-body>p { color: #6d8192; }
.evidence { background: #f4f9fd; border-left: 2px solid #a9c7df; padding: 14px 16px; margin: 17px 0 14px; border-radius: 0 5px 5px 0; }
.evidence>span { font-size: 11.5px; letter-spacing: 1.2px; color: #7095b2; font-weight: 600; }
.evidence>p { font-size: 14px; color: #57748b; line-height: 1.8; margin-top: 5px; }
.question-body>.text-link { font-size: 13px; }
/* Citation */
.section-citation { background: #f2f8fc; border-top: 1px solid #e2edf5; padding-top: 64px; padding-bottom: 64px; }
.citation-layout { display: grid; grid-template-columns: .72fr 1.4fr; gap: 48px; align-items: center; }
.citation-layout h2 { font-size: 28px; line-height: 1.3; }
.citation-layout>div>p:not(.eyebrow) { font-size: 14.5px; color: #71879a; margin: 17px 0 23px; }
.citation-layout .text-link { font-size: 14px; }
.citation-card { background: white; border: 1px solid #c6dce9; border-radius: 10px; overflow: hidden; }
.citation-top { display: flex; justify-content: space-between; align-items: center; padding: 11px 15px; background: #f9fcfe; border-bottom: 1px solid var(--line); gap: 10px; }
.citation-top>span { color: #7591a6; font-size: 11.5px; letter-spacing: 1.3px; }
.citation-top i { font-style: normal; color: #b5c5d0; margin: 0 5px; }
.citation-top .quiet-button { font-size: 13px; }
.citation-card pre { padding: 21px; margin: 0; font: 13px/1.9 var(--mono); color: #4b6c86; overflow-x: auto; tab-size: 2; }
.citation-bottom { border-top: 1px solid #edf2f6; padding: 8px 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.citation-bottom>span { font-size: 11.5px; color: #95a8b7; }
.citation-bottom .quiet-button { font-size: 12.5px; }
/* Footer and dialogs */
footer { padding-top: 40px; padding-bottom: 30px; background: var(--ink); color: #c4d6e5; }
.footer-main { display: flex; align-items: center; gap: 22px; }
.footer-logo { display: block; height: 26px; width: auto; }
.footer-main>p { font-size: 14.5px; color: #a9c0d3; }
.footer-main>div { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: #dce9f3; }
.footer-main>div>a { display: inline-flex; align-items: center; gap: 5px; }
.footer-main>div>a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-main>div .icon { width: 11px; height: 11px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: #93adc2; font-size: 13px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); gap: 15px; }
.footer-bottom a:hover { text-decoration: underline; }
.back-to-top { position: fixed; right: 24px; bottom: 22px; color: var(--blue); z-index: 40; box-shadow: 0 3px 12px #173d6320; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%,15px); opacity: 0; pointer-events: none; padding: 11px 19px; border-radius: 7px; background: var(--navy); color: #fff; font-size: 14.5px; transition: opacity .2s,transform .2s; z-index: 2000; box-shadow: var(--shadow); max-width: calc(100% - 40px); }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
dialog { border: 1px solid #b8cfdf; border-radius: 12px; padding: 0; color: var(--text); box-shadow: 0 20px 100px #15335330; }
dialog::backdrop { background: rgba(15,34,55,.60); backdrop-filter: blur(4px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #f8fbfe; position: sticky; top: 0; z-index: 1; }
.dialog-top h2 { font-size: 16px; font-weight: 550; letter-spacing: 0; }
.dialog-close { width: 30px; height: 30px; }
.dialog-close .icon { width: 15px; height: 15px; }
.figure-dialog { width: min(1460px,96vw); max-width: 96vw; max-height: 93vh; }
.figure-dialog-image { padding: 15px; overflow: auto; }
.figure-dialog-image>img { width: 100%; object-fit: contain; }
.figure-dialog>p { padding: 7px 23px 20px; font-size: 14.5px; }
.paper-dialog { width: min(720px,calc(100vw - 36px)); max-height: 90vh; }
#paper-detail-content { padding: 29px; }
.detail-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-meta>.paper-year { margin-right: 7px; }
#paper-dialog-title { font-size: 26px; font-weight: 600; line-height: 1.4; letter-spacing: -.4px; margin-bottom: 6px; }
.detail-title { font-size: 15px; color: #8496a5; line-height: 1.75; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 16px; }
.detail-box { background: #f4f8fb; border: 1px solid #e0eaf1; padding: 15px; border-radius: 7px; }
.detail-box>span { display: block; font-size: 12.5px; color: #7b94a8; font-weight: 600; letter-spacing: .5px; margin-bottom: 7px; }
.detail-box>p { font-size: 14.5px; line-height: 1.8; color: #4f6b80; }
.detail-note { font-size: 14px; line-height: 1.9; color: #687f92; padding: 15px 18px; border: 1px solid #cfdfeb; border-left: 3px solid #8fb4cf; border-radius: 5px; margin: 17px 0; background: #f7fbfe; }
.profile-dots { display: flex; gap: 8px; margin: 15px 0 8px; }
.profile-dot { padding: 6px 11px; background: #f1f6fa; border: 1px solid #d8e4ed; border-radius: 5px; font-size: 14px; color: var(--navy); }
.detail-citation { margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.detail-citation>span { font-size: 12.5px; color: #849aae; font-weight: 600; letter-spacing: .8px; }
.detail-citation>p { font-size: 14px; line-height: 1.9; margin-top: 7px; color: #74899b; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-actions .button { font-size: 14px; padding: 10px 14px; }
.detail-actions .icon { width: 14px; height: 14px; }
/* Responsive layouts */
@media (min-width:1500px) { .container { width: 1200px; } .hero-title { font-size: 55px; } .hero-inner { padding-top: 56px; } }
@media (max-width:1120px) {
  .container { width: calc(100% - 64px); }
  .nav-wrap { width: calc(100% - 50px); gap: 22px; }
  #main-nav { gap: 20px; }
  .family-grid { gap: 11px; }
  .family-card { padding: 16px 14px; }
  .family-top { gap: 5px; }
  .family-top>img { width: 56px; height: 70px; }
  .family-top strong { font-size: 18px; }
  .family-boundary { min-height: 35px; }
  .level-tab { gap: 10px; padding: 17px 14px; }
  .level-tab small { font-size: 12.5px; }
  .level-tab>.icon { display: none; }
  .classifier { grid-template-columns: 1fr 1.3fr; }
  .classifier-heading { grid-column: 1 / -1; }
  .classifier-heading h3 { display: inline; }
  .classifier-heading>p:last-child { display: inline; max-width: none; margin-left: 15px; }
  .classifier-controls { max-width: 440px; }
  .classifier-result { min-height: 110px; }
  .questions-layout { gap: 42px; }
}
@media (max-width:900px) {
  .container { width: calc(100% - 48px); }
  .section { padding-top: 65px; padding-bottom: 65px; }
  .hero-inner { padding-top: 40px; }
  .hero-title { font-size: 44px; }
  .hero-logo { height: 80px; }
  .author-row { gap: 3px 15px; font-size: 14px; }
  .institution-bar { gap: 23px; }
  .institution img { height: 27px; }
  .institution:nth-child(n+5) img { max-width: 84px; }
  .brand-sub,.brand-divider { display: none; }
  #main-nav { gap: 17px; }
  #main-nav a { font-size: 14px; }
  .nav-paper { font-size: 14px; }
  .section-heading { align-items: flex-end; }
  .heading-aside { max-width: 220px; font-size: 14px; }
  .heading-aside br { display: none; }
  .overview-story { gap: 30px; }
  .overview-story h3 { font-size: 23px; }
  .overview-story h3 br { display: none; }
  .level-intro { gap: 22px; }
  .level-panel { padding: 23px; }
  .level-copy h3 { font-size: 21px; }
  .profile-card { padding: 18px; }
  .profile-formula { font-size: 25px; }
  .taxonomy-groups { grid-template-columns: repeat(2,1fr); gap: 13px; }
  .family-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .family-card { padding: 23px; }
  .family-top>img { width: 70px; height: 80px; }
  .family-top strong { font-size: 22px; }
  .family-top { gap: 15px; }
  .family-boundary { min-height: auto; }
  .family-card>p:not(.family-boundary) { min-height: auto; font-size: 14.5px; }
  .family-categories>span { font-size: 13px; }
  .family-note { align-items: flex-start; font-size: 12.5px; }
  .library-stats strong { font-size: 29px; }
  .library-stats span { font-size: 12.5px; }
 .paper-table th:first-child { width: 42%; }
  .paper-table th:nth-child(3) { width: 26%; }
  .paper-table th:nth-child(4) { width: 20%; }
  .paper-table td { padding: 14px 9px; }
  .paper-name { font-size: 14px; }
  .level-badge { font-size: 11.5px; }
  .questions-layout { grid-template-columns: .7fr 1.4fr; gap: 32px; }
  .questions-heading h2 { font-size: 31px; }
  .citation-layout { grid-template-columns: 1fr; gap: 28px; }
  .citation-layout h2 { font-size: 30px; }
  .citation-card pre { font-size: 14px; }
  .footer-main>p { display: none; }
}
@media (max-width:680px) {
  html { scroll-padding-top: 85px; }
  .container { width: calc(100% - 36px); }
  .section { padding-top: 50px; padding-bottom: 50px; }
  h2 { font-size: 29px; letter-spacing: -.8px; }
  .site-header { height: 61px; }
  .nav-wrap { width: calc(100% - 36px); gap: 13px; }
  .brand-logo { height: 21px; }
  .nav-paper { margin-left: auto; font-size: 13px; padding: 7px 10px; }
  .menu-toggle { display: inline-flex; width: 30px; height: 30px; border: 0; }
  .menu-toggle>.icon { width: 20px; height: 20px; }
  #main-nav { display: none; position: absolute; left: 0; top: 60px; width: 100%; background: white; height: auto; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px #20406009; }
  #main-nav.open { display: flex; flex-direction: column; gap: 0; }
  #main-nav a { padding: 12px; font-size: 15px; }
  #main-nav a::after { display: none; }
  #main-nav a.active { background: var(--blue-wash); border-radius: 6px; }
  .hero-inner { padding-top: 35px; padding-bottom: 23px; }
  .hero-overline { font-size: 10.5px; letter-spacing: 1.35px; gap: 7px; }
  .hero-overline>span { width: 13px; }
  .hero-logo { height: 62px; margin-top: 22px; }
  .hero-title { font-size: 34px; line-height: 1.17; letter-spacing: -1.15px; margin-top: 10px; }
  .hero-tagline { font-size: 14.5px; margin-top: 17px; }
  .authors { margin-top: 23px; }
  .author-row { gap: 2px 14px; font-size: 13px; line-height: 2.05; min-height: 0; }
  .author-row+.author-row { margin-top: 2px; }
  sup { font-size: 10.5px; }
  .affiliations summary { font-size: 12.5px; margin-top: 13px; }
  .affiliation-list { display: block; text-align: left; padding: 15px; background: #f2f8fc; border: 1px solid var(--line); border-radius: 6px; margin-top: 10px; }
  .affiliation-list span { display: block; font-size: 12.5px; white-space: normal; line-height: 2; }
  .hero-actions { gap: 8px; flex-wrap: wrap; margin-top: 22px; }
  .hero-actions>.button { padding: 10px 12px; font-size: 13px; gap: 7px; }
  .hero-actions .icon { width: 14px; height: 14px; }
  .hero-actions>.button-plain { font-size: 13px; padding: 3px 20px 0; margin-top: 4px; flex-basis: 100%; }
  .hero-facts { margin-top: 23px; font-size: 11.5px; line-height: 1.6; }
  .hero-facts>span { padding: 0 10px; }
  .hero-facts strong { font-size: 15px; padding-right: 2px; }
  .institution-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 17px 15px; padding: 19px 10px; }
  .institution { height: 24px; }
  .institution img { height: 25px; }
  .institution:nth-child(n+5) img { max-width: 72px; max-height: 25px; }
  .section-overview { padding-top: 35px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 22px; }
  .section-heading .eyebrow { font-size: 12.5px; margin-bottom: 13px; }
  .eyebrow { font-size: 12.5px; letter-spacing: 1.4px; }
  .eyebrow>span { font-size: 12.5px; padding: 3px 5px; }
  .section-reference { font-size: 13px; }
  .figure-topline { padding: 8px 9px; }
  .figure-topline>span { font-size: 11px; letter-spacing: 1px; gap: 5px; }
  .figure-topline i { width: 4px; height: 4px; }
  .figure-topline .quiet-button { font-size: 11.5px; gap: 4px; padding: 4px; }
  .figure-topline .quiet-button .icon { width: 12px; height: 12px; }
  .overview-figure { border-radius: 8px; }
  .overview-figure>.figure-open { padding: 9px 7px 0; }
  figcaption { font-size: 11.5px; gap: 7px; padding: 9px 12px 12px; }
  figcaption>span { font-size: 11px; }
  .overview-story { grid-template-columns: 1fr; gap: 25px; margin-top: 33px; }
  .overview-story h3 { font-size: 24px; margin-bottom: 15px; }
  .overview-story h3 br { display: block; }
  .overview-story>div>p:not(.eyebrow) { font-size: 15px; }
  .heading-aside { max-width: none; font-size: 14.5px; line-height: 1.8; }
  .level-tabs { gap: 6px; margin-top: 23px; margin-bottom: 10px; }
  .level-tab { padding: 13px 10px; gap: 7px; flex-direction: column; align-items: flex-start; border-radius: 7px; }
  .level-number { font-size: 25px; }
  .level-tab strong { font-size: 13px; line-height: 1.5; }
  .level-tab small { display: none; }
  .level-panel { padding: 19px 15px 16px; }
  .level-intro { grid-template-columns: 1fr; gap: 18px; }
  .level-copy h3 { font-size: 21px; }
  .level-copy p { font-size: 14.5px; }
  .profile-card { padding: 15px 16px; }
  .profile-formula { font-size: 26px; }
  .profile-boundary { margin-top: 12px; }
  .taxonomy-groups { padding-top: 20px; padding-bottom: 18px; margin-top: 20px; gap: 13px 8px; }
  .taxonomy-groups>span { font-size: 12.5px; gap: 7px; }
  .taxonomy-figure .figure-open { padding: 9px 4px; }
  .taxonomy-figure figcaption { font-size: 11.5px; flex-direction: column; gap: 3px; }
  .example-row { gap: 7px; padding-top: 16px; }
  .example-row>span { flex-basis: 100%; font-size: 12.5px; margin-bottom: 4px; }
  .example-chip { font-size: 12.5px; padding: 4px 9px; }
  .baseline { gap: 9px; flex-wrap: wrap; font-size: 13px; padding: 16px 0; }
  .baseline-formula { margin-left: auto; font-size: 13px; }
  .baseline p { font-size: 13px; flex-basis: 100%; }
  .classifier { grid-template-columns: 1fr; gap: 20px; margin-top: 18px; padding: 21px 16px 16px; }
  .classifier-heading h3 { display: block; font-size: 19px; }
  .classifier-heading>p:last-child { display: block; margin: 8px 0 0; }
  .classifier-controls { max-width: none; }
  .decision-control legend { font-size: 14px; }
  .segmented button { font-size: 14px; padding: 8px 6px; }
  .classifier-result { min-height: 100px; }
  .result-level { font-size: 26px; }
  .classifier-result>strong { font-size: 14.5px; }
  .classifier-result>p { font-size: 14px; }
  .classifier-note { font-size: 12.5px; padding-top: 11px; }
  .section-lead { font-size: 15px; margin-top: -3px; margin-bottom: 23px; }
  .section-lead br { display: none; }
  .family-grid { gap: 12px; }
  .family-card { padding: 16px 13px; border-radius: 8px; }
  .family-top { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 13px; }
  .family-top>img { width: 57px; height: 66px; }
  .family-top strong { font-size: 17px; }
  .family-boundary { font-size: 13px; min-height: 32px; }
  .family-card>p:not(.family-boundary) { font-size: 13px; min-height: 67px; line-height: 1.85; }
  .family-categories { margin-top: 15px; margin-bottom: 18px; gap: 8px; }
  .family-categories>span { font-size: 11.5px; line-height: 1.65; padding-left: 8px; }
  .family-categories>span::before { width: 3px; height: 3px; }
  .family-card>.text-link { font-size: 12.5px; gap: 4px; }
  .family-card>.text-link .icon { width: 12px; height: 12px; }
  .family-note { font-size: 12.5px; flex-wrap: wrap; }
  .family-note>.icon { display: none; }
  .family-note>a { margin-left: 0; }
  .library-stats { grid-template-columns: repeat(2,1fr); gap: 10px; padding-top: 0; padding-bottom: 20px; margin-bottom: 0; }
  .library-stats>div { padding: 16px 16px 14px; }
  .library-stats strong { font-size: 30px; }
  .library-stats span { font-size: 13px; }
  .library-mode { padding: 14px 12px 7px; gap: 5px; }
  .mode-tabs { gap: 1px; width: 100%; }
  .mode-tabs>button { font-size: 13px; flex: 1; padding: 7px 8px; }
  .library-mode>.quiet-button { display: none; }
  .search-row { grid-template-columns: 1fr 1fr; padding: 10px 12px 17px; gap: 8px; }
  .search-field { grid-column: 1 / -1; height: 43px; }
  .search-field input { font-size: 14px; }
  .search-field kbd { display: none; }
  .select-field select { height: 36px; font-size: 13px; }
  .select-field>.icon { top: 12px; }
  .filter-rows { padding: 0 12px 15px; gap: 15px; }
  .filter-row { flex-direction: column; gap: 7px; }
  .filter-label { width: auto; padding-top: 0; font-size: 11.5px; }
  .filter-chips { gap: 5px; }
  .filter-chip { font-size: 12.5px; padding: 4px 8px; }
  .results-toolbar { padding: 11px 12px; flex-wrap: wrap; gap: 9px; }
  .results-toolbar>p { font-size: 13px; }
  .results-toolbar>div { gap: 12px; flex: 1; justify-content: flex-end; }
  .sort-label { font-size: 12.5px; }
  .sort-label select { max-width: 108px; font-size: 12.5px; }
  .reset-button { font-size: 12.5px; }
  .paper-table,.paper-table tbody,.paper-table tr { display: block; width: 100%; }
  .paper-table thead { display: none; }
  .paper-table tbody tr { display: grid; grid-template-columns: 1fr auto 28px; gap: 9px; padding: 16px 12px; border-top: 1px solid #e3ecf3; }
  .paper-table td,.paper-table td:first-child { padding: 0; border: 0; display: block; }
  .paper-table td:first-child { grid-column: 1 / 3; grid-row: 1; }
  .paper-table td:nth-child(2) { grid-column: 2; grid-row: 2; align-self: center; text-align: right; }
  .paper-table td:nth-child(3) { grid-column: 1; grid-row: 2; }
  .paper-table td:nth-child(4) { grid-column: 1 / 3; grid-row: 3; display: flex; align-items: center; gap: 9px; }
  .paper-table td:nth-child(4) .row-detail { margin: 0; }
  .paper-table td:last-child { grid-column: 3; grid-row: 1; }
  .paper-name { font-size: 14.5px; }
  .paper-title { font-size: 13px; margin-top: 4px; max-width: 100%; }
  .paper-year { font-size: 13px; }
  .level-badge { font-size: 12.5px; }
  .row-detail { font-size: 11.5px; }
  .family-badge { font-size: 12.5px; }
  .pagination { padding: 15px 12px; flex-wrap: wrap; gap: 14px; }
  .pagination>span { font-size: 12.5px; }
  .page-button { width: 25px; height: 25px; }
  .pagination>div,#page-numbers { gap: 4px; }
  .catalogue-note { font-size: 12.5px; line-height: 1.9; }
  .questions-layout { grid-template-columns: 1fr; gap: 30px; }
  .questions-heading h2 { font-size: 32px; }
  .questions-heading>p:not(.eyebrow) { max-width: none; font-size: 15px; margin-bottom: 16px; }
  .question-deco { display: none; }
  .question>summary { gap: 11px; padding: 19px 0; }
  .question h3 { font-size: 15.5px; }
  .question-body { margin: -2px 25px 21px; }
  .evidence { padding: 12px 13px; }
  .citation-layout { gap: 24px; }
  .citation-layout h2 { font-size: 28px; }
  .citation-top { padding: 11px 12px; }
  .citation-card pre { font-size: 12.5px; padding: 16px 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .citation-bottom { align-items: flex-start; padding: 8px 12px; }
  .citation-bottom>span { max-width: 155px; font-size: 11.5px; }
  footer { padding: 27px 0 23px; }
  .footer-main { flex-wrap: wrap; gap: 20px; }
  .footer-main>div { gap: 19px; margin-left: 0; flex-basis: 100%; font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 11.5px; gap: 8px; padding-top: 16px; margin-top: 20px; }
  .back-to-top { right: 15px; bottom: 16px; width: 31px; height: 31px; }
  .back-to-top>.icon { width: 15px; height: 15px; }
  .dialog-top { padding: 12px 16px; }
  .figure-dialog { width: calc(100vw - 20px); max-width: 100vw; }
  .figure-dialog-image { padding: 9px; overflow: auto; }
  .figure-dialog-image>img { max-width: none; width: 900px; }
  .figure-dialog>p { padding: 7px 16px 17px; font-size: 14px; }
  #paper-detail-content { padding: 22px 18px; }
  #paper-dialog-title { font-size: 22px; }
  .detail-title { font-size: 14.5px; }
  .detail-grid { grid-template-columns: 1fr; gap: 10px; }
  .detail-actions .button { font-size: 13px; }
  .detail-citation>p { font-size: 13px; }
}
@media (max-width:360px) {
  .hero-title { font-size: 30px; }
  .hero-overline { font-size: 10.5px; letter-spacing: 1.1px; }
  .hero-facts>span { padding: 0 7px; }
  .hero-facts { font-size: 11px; }
  .family-grid { grid-template-columns: 1fr; }
  .family-top { flex-direction: row; align-items: center; gap: 13px; }
  .family-boundary,.family-card>p:not(.family-boundary) { min-height: 0; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; animation: none !important; } }
@media print { .site-header,.hero-actions,.back-to-top,.toast,.classifier-controls,.filter-rows,.search-row,.pagination,.dialog { display: none; } .section { padding: 30px 0; } .container { width: 100%; } .hero { background: none; } .level-panel[hidden] { display: block !important; } .level-tab { border-color: #ccd; } .level-panels { box-shadow: none; } .library-panel { overflow: visible; } }


/* Original-asset edition: supplied Figure 1 and eight transparent illustrations.
   Only illustration placement and spacing change. The taxonomy, data, and behavior are unchanged. */
.level-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
  min-height: 154px;
  padding: 19px 19px 18px;
  overflow: hidden;
}
.level-tab > .level-number { grid-column: 1; grid-row: 1; align-self: end; font-size: 32px; }
.level-tab > span:nth-child(2) { grid-column: 1; grid-row: 2; align-self: start; min-width: 0; }
.level-tab > .icon { display: none; }
.level-tab > .level-tab-illustration {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 116px;
  height: 116px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  justify-self: end;
  pointer-events: none;
}
.level-tab small { max-width: 170px; }
.baseline { min-height: 89px; padding: 12px 2px; }
.baseline-illustration {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex: 0 0 auto;
  mix-blend-mode: normal;
}
.family-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 15px;
}
.family-top > img {
  width: 154px;
  height: 142px;
  max-width: 100%;
  align-self: center;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}
.family-top > span { font-size: 13px; line-height: 1.5; }
.family-top strong { font-size: 22px; line-height: 1.4; }

@media (max-width: 1100px) and (min-width: 601px) {
  .level-tab { grid-template-columns: minmax(0, 1fr) 88px; gap: 8px; padding: 17px 15px; min-height: 142px; }
  .level-tab > .level-tab-illustration { width: 88px; height: 100px; }
  .level-tab strong { font-size: 15px; }
  .level-tab small { font-size: 12.5px; }
  .family-top strong { font-size: 19px; }
  .baseline { flex-wrap: wrap; column-gap: 12px; }
  .baseline > p { flex: 1 1 210px; }
}
@media (max-width: 800px) and (min-width: 601px) {
  .level-tab { grid-template-columns: minmax(0, 1fr) 68px; gap: 8px; padding: 15px 12px; }
  .level-tab > .level-tab-illustration { width: 68px; height: 90px; }
  .level-tab > .level-number { font-size: 27px; }
  .level-tab strong { font-size: 14.5px; }
  .level-tab small { display: none; }
  .family-top > img { width: 160px; height: 146px; }
}
@media (max-width: 600px) {
  .level-tabs { gap: 7px; }
  .level-tab {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 88px auto 30px;
    gap: 6px;
    padding: 12px 7px 13px;
    min-height: 0;
    text-align: center;
    align-items: center;
  }
  .level-tab > .level-tab-illustration {
    grid-column: 1;
    grid-row: 1;
    width: 88px;
    height: 88px;
    max-width: 100%;
    justify-self: center;
    align-self: center;
  }
  .level-tab > .level-number { grid-column: 1; grid-row: 2; font-size: 22px; align-self: center; }
  .level-tab > span:nth-child(2) { grid-column: 1; grid-row: 3; align-self: center; }
  .level-tab strong { font-size: 13px; line-height: 1.4; }
  .level-tab small { display: none; }
  .baseline {
    display: grid;
    grid-template-columns: 52px auto minmax(0, 1fr) auto;
    column-gap: 9px;
    row-gap: 7px;
    padding: 16px 0;
  }
  .baseline-illustration { width: 52px; height: 60px; grid-row: 1 / 3; grid-column: 1; }
  .baseline-badge { grid-row: 1; grid-column: 2; justify-self: start; }
  .baseline > strong { grid-row: 1; grid-column: 3; font-size: 13px; line-height: 1.5; }
  .baseline-formula { grid-row: 1; grid-column: 4; margin: 0; font-size: 12.5px; }
  .baseline > p { grid-row: 2; grid-column: 2 / -1; font-size: 13px; line-height: 1.65; }
  .family-top { flex-direction: column; align-items: flex-start; gap: 9px; margin-bottom: 13px; }
  .family-top > img { width: 126px; height: 128px; align-self: center; }
  .family-top > span { font-size: 12.5px; }
  .family-top strong { font-size: 17px; letter-spacing: -.3px; }
}
@media (max-width: 360px) {
  .level-tab { grid-template-rows: 75px auto 30px; }
  .level-tab > .level-tab-illustration { width: 75px; height: 75px; }
  .level-tab strong { font-size: 12.5px; }
  .baseline { grid-template-columns: 44px auto minmax(0, 1fr); }
  .baseline-illustration { width: 44px; height: 60px; grid-row: 1 / 4; }
  .baseline > strong { font-size: 13px; }
  .baseline-formula { grid-row: 2; grid-column: 2 / -1; justify-self: start; }
  .baseline > p { grid-row: 3; }
  .family-top { flex-direction: row; align-items: center; gap: 15px; }
  .family-top > img { width: 100px; height: 108px; align-self: center; }
  .family-top strong { font-size: 19px; }
}

/* Visual refresh (EVLA-inspired): readable abstract on smaller screens and a one-time scroll entrance. */
@media (max-width: 900px) {
  .abstract-block { grid-template-columns: 1fr; gap: 12px; padding: 28px 28px; margin-top: 44px; }
  .abstract-label { flex-direction: row; align-items: center; justify-content: space-between; }
  .abstract-label .eyebrow { margin-bottom: 0; }
  .abstract-text { text-align: left; }
}
@media (max-width: 680px) {
  .abstract-block { padding: 22px 18px; margin-top: 36px; }
  .abstract-text { font-size: 15px; }
  .hero-overline { font-size: 10.5px; letter-spacing: 1.2px; line-height: 1.8; max-width: 300px; margin: 0 auto; text-wrap: balance; }
  .hero-overline>span { display: none; }
}
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media print { .js-reveal .reveal { opacity: 1 !important; transform: none !important; } }
/* New manuscript edition: logo pack, corresponding authors, contact, keywords, mechanism figures. */
.corresponding-icon { width: 13px; height: 13px; margin-left: 3px; color: var(--blue); vertical-align: 4px; stroke-width: 1.9; }
.corresponding-legend { display: inline-flex; align-items: center; gap: 5px; }
.affiliations summary .corresponding-legend .icon { width: 13px; height: 13px; transform: none; }
.hero-contact { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.hero-contact .icon { width: 15px; height: 15px; color: var(--blue); }
.hero-contact a { color: var(--navy); font-weight: 550; border-bottom: 1px solid var(--line-strong); }
.hero-contact a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.abstract-keywords { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--navy); text-align: left; }
.abstract-keywords>span { font-size: 12px; font-weight: 650; letter-spacing: 1.6px; color: var(--blue); }
.mechanism-figure { margin-top: 26px; }
.heading-links { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; }
.footer-main>div>a .icon { width: 14px; height: 14px; }
.footer-bottom a { color: #dce9f3; }
.footer-bottom a[href^="mailto:"],.hero-contact a { white-space: nowrap; }
.affiliations summary { flex-wrap: wrap; row-gap: 4px; }
.affiliations summary>span { white-space: nowrap; }
@media (max-width: 680px) {
  .hero-contact { flex-wrap: wrap; font-size: 13px; gap: 6px; }
  .heading-links { justify-content: flex-start; }
  .corresponding-icon { width: 11px; height: 11px; }
}

/* Rebuilt literature catalogue: linked titles, evidence badges by basis, placement list in the evidence card. */
a.paper-name { display: block; }
.paper-name .link-icon { width: 13px; height: 13px; margin-left: 6px; vertical-align: -1px; opacity: .5; transition: opacity .15s; }
.paper-name:hover .link-icon { opacity: 1; }
.paper-table td .level-badge { margin: 2px 4px 2px 0; }
.level-badge.table { background: #dcebf7; border-color: #94bbdb; }
.level-badge.chapter { background: white; color: #4f6b80; border-style: dotted; border-color: #b9cad7; }
.level-badge.chapter strong { color: var(--navy); }
.cross-family { --family-color: #4d6578; --family-bg: #edf1f4; }
.filter-chip.cross-family { color: var(--family-color); background: var(--family-bg); border-color: #d3dce3; }
.filter-chip.cross-family.selected { background: var(--family-color); border-color: var(--family-color); color: white; }
.paper-table td .family-badge { margin: 1px 4px 1px 0; }
.lead-icon .icon { width: 16px; height: 16px; color: var(--blue); vertical-align: -3px; }
.detail-authors { font-size: 13.5px; color: #6c8193; line-height: 1.7; margin-top: 6px; }
.kind-tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; }
.detail-placements { margin: 20px 0 6px; }
.detail-placements>span { display: block; font-size: 12px; color: #7b94a8; font-weight: 600; letter-spacing: .5px; margin-bottom: 8px; }
.detail-placements ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.detail-placements li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.detail-placements li>a { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); font-weight: 600; white-space: nowrap; }
.detail-placements li>a .icon { width: 12px; height: 12px; }
.detail-placements li>a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.detail-placements li>span { color: #556d81; }
@media (max-width: 680px) {
  .detail-placements li { grid-template-columns: 1fr; }
}
/* Latest manuscript: one figure frame, original aspect ratios and crisp vector taxonomies. */
.survey-figure { min-width: 0; margin-top: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 5px 22px rgba(31,66,102,.045); }
.survey-figure .figure-topline { min-height: 49px; padding: 10px 18px; gap: 14px; background: #f8fbfe; }
.survey-figure .figure-topline>span { font-size: 11.5px; letter-spacing: 1.2px; line-height: 1.5; }
.survey-figure .figure-topline .quiet-button { flex-shrink: 0; font-size: 12px; gap: 6px; padding: 4px 0; }
.survey-figure .figure-media { max-width: 100%; overflow: auto; overscroll-behavior-x: contain; background: #fff; scrollbar-width: thin; scrollbar-color: #a7c2d7 #edf4f9; }
.survey-figure .figure-open { display: block; width: 100%; padding: 18px; background: #fff; }
.survey-figure .figure-open img { width: 100%; height: auto; max-width: none; object-fit: contain; background: #fff; }
.survey-figure.is-mechanism .figure-open img { max-height: 590px; }
.survey-figure.is-taxonomy .figure-open { min-width: 1400px; }
.figure-reading-hint { padding: 9px 18px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.survey-figure figcaption { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: baseline; gap: 10px 15px; padding: 15px 18px 17px; border-top: 1px solid var(--line); background: #fbfdff; font-size: 13px; line-height: 1.75; }
.survey-figure figcaption>span { font-size: 11.5px; }
.figure-paper-link { color: var(--blue); font-size: 12px; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.application-figures { display: grid; gap: 20px; margin-top: 28px; }
.application-figures .survey-figure { margin-top: 0; }
.figure-dialog .dialog-top { gap: 12px; flex-wrap: wrap; }
.figure-dialog-tools { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.figure-dialog-tools .quiet-button { min-width: 30px; min-height: 32px; padding: 3px 8px; justify-content: center; border: 1px solid var(--line); border-radius: 5px; background: white; }
.figure-dialog-tools output { min-width: 48px; color: var(--navy); text-align: center; font: 12px var(--mono); }
.figure-dialog .figure-dialog-image { max-height: calc(90vh - 145px); padding: 12px; overflow: auto; overscroll-behavior: contain; background: #f0f5f9; }
.figure-dialog .figure-dialog-image>img { width: 100%; max-width: none; height: auto; margin-inline: auto; object-fit: contain; background: white; }
.figure-dialog>p { background: #fff; }
@media(max-width: 680px) {
  .survey-figure { margin-top: 20px; border-radius: 8px; }
  .survey-figure .figure-topline { padding: 10px 12px; gap: 8px; }
  .survey-figure .figure-topline>span { font-size: 10px; letter-spacing: .6px; gap: 6px; }
  .survey-figure .figure-topline .quiet-button { font-size: 11px; }
  .survey-figure .figure-open { padding: 12px; }
  .survey-figure.is-mechanism .figure-open { min-width: 0; }
  .survey-figure.is-taxonomy .figure-open { min-width: 1250px; }
  .figure-reading-hint { padding: 8px 12px 0; font-size: 11px; }
  .survey-figure figcaption { grid-template-columns: 1fr auto; padding: 12px; gap: 5px 10px; font-size: 12px; }
  .survey-figure figcaption>p { grid-column: 1/-1; grid-row: 2; }
  .survey-figure figcaption>.figure-paper-link { grid-row: 1; grid-column: 2; font-size: 11px; }
  .figure-dialog .dialog-top { padding: 11px 12px; gap: 6px; }
  .figure-dialog .dialog-top h2 { font-size: 14px; }
  .figure-dialog-tools { gap: 3px; }
  .figure-dialog-tools .quiet-button { padding: 3px 6px; min-width: 27px; }
  .figure-dialog .figure-dialog-image { padding: 8px; max-height: calc(90vh - 165px); }
}
